* progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3282bd2e
DC
12013-12-20 Daniel Colascione <dancol@dancol.org>
2
3 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4 so that we don't reflow comments into the shebang line.
5
1d42e5b6
JL
62013-12-20 Juri Linkov <juri@jurta.org>
7
8 * saveplace.el (save-place-to-alist): Add `dired-filename' as
9 a position when `dired-directory' is non-nil. Check integer
10 positions with `integerp'.
11 (toggle-save-place, save-places-to-alist): Add check for
12 `dired-directory'.
13 (save-place-find-file-hook): Check integer positions with
14 `integerp'.
15 (save-place-dired-hook): Use `dired-goto-file' when
16 `dired-filename' is found in the assoc list. Check integer
17 positions with `integerp'.
18 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
19
20 * dired.el (dired-initial-position-hook): Rename back from
21 `dired-initial-point-hook'.
22 (dired-initial-position): Rename `dired-initial-point-hook' to
23 `dired-initial-position-hook'.
24 (dired-file-name-at-point): Doc fix. (Bug#15329)
25
24da7273
JL
262013-12-20 Juri Linkov <juri@jurta.org>
27
28 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
29 (read-regexp-suggestions): New function.
30 (read-regexp): Use `read-regexp-defaults-function' to get default values.
31 Use `read-regexp-suggestions'. Add non-empty default to history
32 for empty input.
33 (occur-read-regexp-defaults-function): Remove function.
34 (occur-read-primary-args): Use `regexp-history-last' instead of
35 `occur-read-regexp-defaults-function'.
36
37 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
38 (hi-lock-line-face-buffer, hi-lock-face-buffer)
39 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
40 `hi-lock-read-regexp-defaults-function'. Doc fix.
41 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
42 with `find-tag-default-as-symbol-regexp'. Doc fix.
43 (hi-lock-read-regexp-defaults): Remove function.
44 (hi-lock-regexp-okay): Add check for null.
45
46 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
47 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
48
49 * subr.el (find-tag-default-as-symbol-regexp): New function.
50 (find-tag-default-as-regexp): Move symbol regexp formatting to
51 `find-tag-default-as-symbol-regexp'.
52
137f57c8
S
532013-12-20 E Sabof <esabof@gmail.com> (tiny change)
54
55 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
56 (Bug#14179)
57
f3a66082
SB
582013-12-20 Stephen Berman <stephen.berman@gmx.net>
59
60 * calendar/todo-mode.el: New implementation of item insertion
61 commands and key bindings.
62 (todo-key-prompt): New face.
63 (todo-insert-item): New command.
64 (todo-insert-item--parameters): New defconst, replacing defvar
65 todo-insertion-commands-args-genlist.
66 (todo-insert-item--param-key-alist): New defconst, replacing
67 defvar todo-insertion-commands-arg-key-list.
68 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
69 (todo-insert-item--argsleft, todo-insert-item--apply-args)
70 (todo-insert-item--next-param): New functions.
71 (todo-insert-item--args, todo-insert-item--argleft)
72 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
73 New variables.
74 (todo-key-bindings-t): Change binding of "i" from
75 todo-insertion-map to todo-insert-item.
76 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
77 (todo-insertion-command-name, todo-insertion-commands-names)
78 (todo-define-insertion-command, todo-insertion-commands)
79 (todo-insertion-key-bindings, todo-insertion-map): Remove.
80
2f99433b
SB
812013-12-20 Stephen Berman <stephen.berman@gmx.net>
82
83 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
84 (todo-toggle-item-highlighting): Use eval-and-compile instead of
85 eval-when-compile.
86 (todo-move-category): Allow choosing a non-existing todo file to
87 move the category to, and create that file.
88 (todo-default-priority): New user option.
89 (todo-set-item-priority): Use it.
90 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
91 (desktop-restore-file-buffer): Declare.
92 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
93 (todo-modes-set-2): Locally set desktop-save-buffer to
94 todo-desktop-save-buffer.
95 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
96 (auto-mode-alist): Add autoload cookie.
97
131e4695
BB
982013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
99
100 * emacs-lisp/subr-x.el: Renamed from helpers.el.
101 helpers.el was a poor choice of name.
3cbfb935
BB
102 (string-remove-prefix): New function.
103 (string-remove-suffix): New function.
131e4695 104
c44de18d
MR
1052013-12-20 Martin Rudalics <rudalics@gmx.at>
106
107 Fix assignment for new window total sizes.
108 * window.el (window--pixel-to-size): Remove function.
109 (window--pixel-to-total-1, window--pixel-to-total): Fix
110 calculation of new total sizes.
111
ca65efcc
VS
1122013-12-20 Vitalie Spinu <spinuvit@gmail.com>
113
114 * comint.el (comint-output-filter): Fix rear-nonsticky property
115 placement (Bug#16010).
116
a9574eb7
CY
1172013-12-20 Chong Yidong <cyd@gnu.org>
118
119 * faces.el (read-color): Minor fix for completion function.
120
b520f210
DG
1212013-12-20 Dmitry Gutov <dgutov@yandex.ru>
122
123 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New
124 option. (Bug#16182)
125 (ruby-smie--indent-to-stmt-p): Use it.
126 (ruby-smie-rules): Revert the logic in the handling of `when'.
127 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
128 (ruby-deep-arglist, ruby-deep-indent-paren)
129 (ruby-deep-indent-paren-style): Update docstrings to note that the
130 vars don't have any effect with SMIE.
131
26b75b45
JB
1322013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
133
134 * calc/calc.el (calc-enter, calc-pop): Use the variable
135 `calc-context-sensitive-enter'.
136
cf91cee7
LMI
1372013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
138
139 * net/shr.el (shr-insert): Protect against infloops in degenerate
140 tables.
141
51d971b4
RS
1422013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
143
144 * progmodes/octave.el (octave): Add link to manual and octave
145 homepage.
146 (octave-mode-menu): Link to octave-mode manual.
147
8c2e462a
LL
1482013-12-20 Leo Liu <sdl.web@gmail.com>
149
150 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
151 insertion using skeleton-end-newline. (Bug#16138)
152
501158bc
JL
1532013-12-20 Juri Linkov <juri@jurta.org>
154
155 * replace.el (occur-engine): Use `add-face-text-property'
156 to add the face property to matches and titles. (Bug#14645)
157
158 * hi-lock.el (hi-green): Use lighter color "light green" closer to
159 the palette of other hi-lock colors.
160 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
161
50ab1da6
JL
1622013-12-19 Juri Linkov <juri@jurta.org>
163
164 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
165 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
166 (minibuffer-history-symbol): Move variable declaration closer to
167 its usage.
168
169 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
170 (Bug#14785)
171
3d6e95e7
JL
1722013-12-19 Juri Linkov <juri@jurta.org>
173
174 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
175 New function.
176 (log-edit-hook): Add it to :options. (Bug#16170)
177
b41594fd
JL
1782013-12-19 Juri Linkov <juri@jurta.org>
179
180 * simple.el (eval-expression-print-format): Don't check for
181 command names and the last command. Always display additional
182 formats of the integer result in the echo area, and insert them
183 to the current buffer only with a zero prefix arg.
184 Display character when char-displayable-p is non-nil.
185 (eval-expression): With a zero prefix arg, set `print-length' and
186 `print-level' to nil, and insert the integer values from
187 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
188
189 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
190 `eval-last-sexp-arg-internal'. Doc fix.
191 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
192 `eval-last-sexp-print-value'. Doc fix.
193 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
194 Set `print-length' and `print-level' to nil when arg is zero.
195 (eval-last-sexp): Doc fix.
196 (eval-defun-2): Print the integer values from
197 `eval-expression-print-format' at the end.
198
199 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
200 values from `eval-expression-print-format' at the end.
201
202 * ielm.el (ielm-eval-input): Print the integer
203 values from `eval-expression-print-format' at the end.
204
8f2be364
TZ
2052013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
206
207 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
208 2013-12-11T19:01:44Z!tzz@lifelogs.com.
209
2230a6e3
SM
2102013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
213 (hl-line-highlight, global-hl-line-highlight): Use it.
214 (hl-line-overlay): Use defvar-local.
215
1269a680
JD
2162013-12-19 Jan Djärv <jan.h.d@swipnet.se>
217
218 * term/ns-win.el: Require dnd.
219 (global-map): Remove drag items.
220 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
221 (ns-set-background-at-mouse):
222 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
223 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
224 New functions.
1269a680 225
049638ad
GM
2262013-12-19 Glenn Morris <rgm@gnu.org>
227
228 * emacs-lisp/ert.el (ert-select-tests):
229 Fix string/symbol mixup. (Bug#16121)
230
ce41edb4
DG
2312013-12-19 Dmitry Gutov <dgutov@yandex.ru>
232
233 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
234 keywords to their parent.
235
7e1549c9
DG
2362013-12-19 Dmitry Gutov <dgutov@yandex.ru>
237
238 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
239 first arg to be a string (fixed dead code), or an operator symbol.
240 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
241 operator symbols.
242 (ruby-smie-rules): Remove parent token check in the `.' clause, it
243 did nothing. Don't respond to `(:after ".")', it will be called
244 with :before anyway. Remove the ` @ ' rule, it didn't seem to
245 change anything. Only return indentation for binary operators
246 when they are hanging. De-dent opening paren when its parent is
247 `.', otherwise it looks bad when the dot is not at bol or eol
248 (bug#16182).
249
3ee4cd64
JL
2502013-12-19 Juri Linkov <juri@jurta.org>
251
252 * replace.el (query-replace-read-args): Split a non-negative arg
253 and a negative arg into separate elements.
254 (query-replace, query-replace-regexp, replace-string)
255 (replace-regexp): Add arg `backward'. Doc fix.
256 (replace-match-maybe-edit): When new arg `backward' is non-nil,
257 move point to the beginning of the match.
258 (replace-search, replace-highlight): Use new arg `backward'
259 to set the value of `isearch-forward'.
260 (perform-replace): Add arg `backward' and use it to perform
261 replacement backward. (Bug#14979)
262
263 * isearch.el (isearch-query-replace): Use a negative prefix arg
264 to call `perform-replace' with a non-nil arg `backward'.
265
0cda6b7b
JL
2662013-12-18 Juri Linkov <juri@jurta.org>
267
268 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
269 to the default list. Move `log-edit-show-files' to the end.
270 Add more available functions to options.
271 (log-edit): Move default specific settings to
272 `log-edit-insert-message-template'. Don't move point.
273 (log-edit-insert-message-template): New function.
274 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
275 (Bug#16170)
276
b216f0a6
JL
2772013-12-18 Juri Linkov <juri@jurta.org>
278
279 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
280 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
281
1d1c55dc
LL
2822013-12-18 Leo Liu <sdl.web@gmail.com>
283
284 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
285
64e4c76e
EZ
2862013-12-18 Eli Zaretskii <eliz@gnu.org>
287
288 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
289 formats for displaying file sizes when the -s switch is given.
290 Instead, compute a separate format for displaying the size in
291 blocks, which is displayed in addition to the "regular" size.
292 When -h is given in addition to -s, produce size in blocks in
293 human-readable form as well. (Bug#16179)
294
b2984e39
TH
2952013-12-18 Tassilo Horn <tsdh@gnu.org>
296
2230a6e3
SM
297 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
298 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 299
50ff2e06
CY
3002013-12-18 Chong Yidong <cyd@gnu.org>
301
0081bc84
CY
302 * cus-edit.el (custom-magic-alist): Fix "themed" description
303 (Bug#14348).
304
a7ee9424
CY
305 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
306 is non-nil, do not create a new entry in the symbol's theme-value
307 or theme-face property; update theme-settings only (Bug#14664).
18874304 308 (custom-available-themes): Doc fix.
a7ee9424 309
8f942537
CY
310 * cus-theme.el (custom-new-theme-mode-map): Add bindings
311 (Bug#15674).
312
50ff2e06
CY
313 * replace.el (occur-engine): Avoid infloop (Bug#7593).
314
83c60f60
KI
3152013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
316
317 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
318 (Bug#13914).
319
ba874b64
SF
3202013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
321
322 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
323
1f41ee56
GM
3242013-12-18 Glenn Morris <rgm@gnu.org>
325
326 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 327 * cus-start.el (load-prefer-newer): New option.
1f41ee56 328
e82134b1
LW
3292013-12-18 Le Wang <l26wang@gmail.com>
330
2230a6e3
SM
331 * comint.el (comint-previous-matching-input-from-input):
332 Retain point (Bug#13404).
e82134b1 333
33f5d4c1
CY
3342013-12-18 Chong Yidong <cyd@gnu.org>
335
336 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
337
ccc9f6dc
GM
3382013-12-18 Glenn Morris <rgm@gnu.org>
339
340 * mail/emacsbug.el (report-emacs-bug):
341 Only mention enable-multibyte-characters if non-standard.
342
33dd8e95
JL
3432013-12-17 Juri Linkov <juri@jurta.org>
344
345 * arc-mode.el (archive-extract-by-file): Check if directory exists
346 before deletion to not show irrelevant errors if it doesn't exist.
347
7a409b30
JL
3482013-12-17 Juri Linkov <juri@jurta.org>
349
350 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
351 (Bug#14751)
352
353 * net/eww.el (browse-web): Add alias to `eww'.
354 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
355 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
356
357 * net/browse-url.el (browse-url-browser-function): Move `eww'
358 closer to similar functions.
359
360 * startup.el (fancy-startup-screen, fancy-about-screen):
361 Set browse-url-browser-function to eww-browse-url locally.
362 (Bug#14751)
363
2d6b6005
SM
3642013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
365
366 * window.el (window--pixel-to-total): Remove unused `mini' var.
367 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
368 (split-window): Remove unused `new' var.
369 (window--display-buffer): Remove unused `frame' and `delta' vars.
370 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
371 and display-width'.
372
cf2b7efc
MR
3732013-12-17 Martin Rudalics <rudalics@gmx.at>
374
375 * dired.el (dired-mark-pop-up):
376 * register.el (register-preview): Don't bind
377 split-height-threshold here since it's now done in
378 display-buffer-below-selected.
379
ed3af8a7 3802013-12-17 oblique <psyberbits@gmail.com> (tiny change)
381
382 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
383 xterm-rgb-convert-to-16bit.
384 (rxvt-register-default-colors): Standardize with
385 xterm-register-default-colors (Bug#14078).
386
76da3455
DK
3872013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
388
389 * simple.el (kill-region): Pass mark first, then point, so that
390 kill-append works right (Bug#12819).
391 (copy-region-as-kill, kill-ring-save): Likewise.
392
2b84d763
LL
3932013-12-17 Leo Liu <sdl.web@gmail.com>
394
395 * net/rcirc.el (rcirc-add-face):
396 * eshell/em-prompt.el (eshell-emit-prompt):
397 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
398 (Bug#16167)
399
e2f6a0bc
CY
4002013-12-17 Chong Yidong <cyd@gnu.org>
401
402 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
403 Suggested by Xue Fuqiao.
404
35b249a6
DG
4052013-12-17 Dmitry Gutov <dgutov@yandex.ru>
406
407 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
408
e9145444
SM
4092013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * net/shr.el (shr-insert-document): Remove unused var
412 `shr-preliminary-table-render'.
413 (shr-rescale-image): Remove unused arg `force'.
414 (shr-put-image): Update calls accordingly.
415 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
416
5556c0ce
DG
4172013-12-17 Dmitry Gutov <dgutov@yandex.ru>
418
419 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
420 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
421 :close-all, to see which indentation method to use (Bug#16116).
422 (smie-rules-function): Document the method :close-all.
423
11bade0a
LMI
4242013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
425
1c4b1e61
LMI
426 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
427
11bade0a
LMI
428 * net/eww.el (eww-display-html): If we can't find the anchor we're
429 looking for, then go to point-min.
430
8fb8c4f3
PE
4312013-12-16 Paul Eggert <eggert@cs.ucla.edu>
432
433 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
434 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
435 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
436 Expand dir too, in case it's relative.
437
6c8e0ae6
JL
4382013-12-16 Juri Linkov <juri@jurta.org>
439
440 * desktop.el (desktop-auto-save-timeout): Change default to
441 `auto-save-timeout'. Doc fix.
442 (desktop-save): Skip the timestamp in desktop-saved-frameset
443 when checking for auto-save changes.
444 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
445 `desktop-auto-save' is called repeatedly by the idle timer.
446 (desktop-auto-save-set-timer): Replace `run-with-timer' with
447 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
448 (Bug#15331)
449
2178e858
JL
4502013-12-16 Juri Linkov <juri@jurta.org>
451
452 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
453 (Bug#16035)
454 (isearch-pre-command-hook): Check `this-command' for symbolp.
455
39cb42c6
SM
4562013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
459
5b9b750a
TZ
4602013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
461
462 * progmodes/cfengine.el (cfengine3--current-word): Remove.
463 (cfengine3--current-function): Bring in the current-function
464 functionality from `cfengine3--current-word'.
465 (cfengine3-completion-function): Bring in the
466 bounds-of-current-word functionality from
467 `cfengine3--current-word'.
468
d144ef06
MR
4692013-12-16 Martin Rudalics <rudalics@gmx.at>
470
39cb42c6
SM
471 * window.el (display-buffer-below-selected):
472 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 473
a8bbe298
LL
4742013-12-16 Leo Liu <sdl.web@gmail.com>
475
476 * progmodes/compile.el (compile-goto-error): Do not push-mark.
477 Remove NOMSG arg and all uses changed.
478
2013a2f9
SM
4792013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
480
481 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
482 (cua--deactivate-rectangle): Don't deactivate the mark.
483 (cua-set-rectangle-mark): Don't set mark-active since
484 cua--activate-rectangle already does it for us.
485 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
486 non-rectangular region.
487
488 * emulation/cua-base.el (cua-repeat-replace-region):
489 Use with-current-buffer.
490
491 * net/gnutls.el: Use cl-lib.
492 (gnutls-negotiate): `mapcan' -> cl-mapcan.
493
5ae811dd
TZ
4942013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
495
496 * emacs-lisp/package.el (package-built-in-p): Support both
497 built-in and the package.el converted package descriptions.
498 (package-show-package-list): Allow keywords.
499 (package-keyword-button-action): Use it instead of
500 `finder-list-matches'.
501 (package-menu-filter-interactive): Interactive filtering (by
502 keyword) function.
503 (package-menu--generate): Support keywords and change keymappings
504 and headers when they are given.
505 (package--has-keyword-p): Helper function.
506 (package-menu--refresh): Use it.
507 (package--mapc): Helper function.
508 (package-all-keywords): Use it.
509 (package-menu-mode-map): Set up menu items and keybindings to
510 provide a filtering UI.
511
31b4827e
TZ
5122013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
513
514 * net/gnutls.el (gnutls-verify-error): New defcustom to control
515 the behavior when a certificate fails validation. Defaults to
516 old behavior: never abort, just warn.
517 (gnutls-negotiate): Use it.
518
f93cc74f
MR
5192013-12-14 Martin Rudalics <rudalics@gmx.at>
520
521 * window.el (display-buffer-below-selected): Never split window
522 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
523
f77d7d17
TW
5242013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
525
526 * emacs-lisp/package.el (package--prepare-dependencies): New function.
527 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
528
529 * icomplete.el (icomplete-completions): Make sure the prefix is already
530 displayed elsewhere before hiding it.
531
276bc333
DG
5322013-12-14 Dmitry Gutov <dgutov@yandex.ru>
533
534 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
535 open-paren tokens when preceded by a open-paren, too.
536 (ruby-smie-rules): Handle virtual indentation after open-paren
537 tokens specially. If there is code between it and eol, return the
538 column where is starts (Bug#16118).
539
d43957f3
TZ
5402013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
541
a5c1ac0c 542 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 543 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
544 (cfengine3--current-word): Fix parameters.
545 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
546 (cfengine3-completion-function, cfengine3--current-function):
547 Use `assq' for symbols.
d43957f3
TZ
548 (cfengine3--current-function): Fix `cfengine3--current-word' call.
549
06a4f110
GM
5502013-12-13 Glenn Morris <rgm@gnu.org>
551
552 * loadup.el (load-path): Warn if site-load or site-init changes it.
553 No more need to reset it when bootstrapping.
554
978a5fda
TZ
5552013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
556
557 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
558 locations for cf-promises.
559 (cfengine-mode-syntax-functions-regex): New caching variable.
560 (cfengine3-fallback-syntax): Fallback syntax for cases where
561 cf-promises doesn't run.
562 (cfengine3--current-word): Reimplement using
563 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
564 (cfengine3-completion-function, cfengine3--current-function):
565 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
566 (cfengine3-clear-syntax-cache): New function.
567 (cfengine3-make-syntax-cache): Simplify and create
568 `cfengine-mode-syntax-functions-regex' on demand.
569 (cfengine3-format-function-docstring): Don't call
570 `cfengine3-make-syntax-cache' explicitly.
571
71e6691e
MR
5722013-12-13 Martin Rudalics <rudalics@gmx.at>
573
574 Fix windmove-find-other-window broken after pixelwise resizing
575 (Bug#16017).
576 * windmove.el (windmove-other-window-loc): Revert change from
577 2013-12-04.
578 (windmove-find-other-window): Call window-in-direction.
579 * window.el (window-in-direction): New arguments SIGN, WRAP and
580 MINI to emulate original windmove-find-other-window behavior.
581
84c73ba0
DG
5822013-12-13 Dmitry Gutov <dgutov@yandex.ru>
583
584 * simple.el (blink-matching--overlay): New variable.
585 (blink-matching-open): Instead of moving point, highlight the
586 matching paren with an overlay
587 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
588
589 * faces.el (paren-showing-faces, show-paren-match)
590 (show-paren-mismatch): Move from paren.el.
591
b9e20952
LL
5922013-12-13 Leo Liu <sdl.web@gmail.com>
593
594 * indent.el (indent-region): Disable progress reporter in
595 minibuffer. (Bug#16108)
596
597 * bindings.el (visual-order-cursor-movement): Fix version.
598
ce030451
FEG
5992013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
600
601 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
602 Also match after beginning of line.
603 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
604 files. Thanks to Russell Sim. (Bug#15378)
605
4a9c6865
JL
6062013-12-13 Juri Linkov <juri@jurta.org>
607
608 * simple.el <Keypad support>: Remove key bindings duplicated
609 with bindings.el. (Bug#14397)
610
2bc170c3
JL
6112013-12-13 Juri Linkov <juri@jurta.org>
612
613 * comint.el (comint-mode-map): Replace `delete-char' with
614 `delete-forward-char'. (Bug#16109)
615
bc9222c9
FEG
6162013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
617
aa2bddd7
SM
618 * progmodes/python.el (python-indent-calculate-indentation):
619 Fix de-denters cornercase. (Bug#15731)
bc9222c9 620
cb3a1380
SM
6212013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
622
623 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
624 (advice--make): Pay attention to `depth'.
625 (advice--make-1): Don't autoload commands eagerly.
626 * emacs-lisp/elp.el (elp-instrument-function):
627 * emacs-lisp/trace.el (trace-function-internal):
628 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
629
630 * iswitchb.el (iswitchb-mode): Don't belittle ido.
631
01633a17
EZ
6322013-12-12 Eli Zaretskii <eliz@gnu.org>
633
634 * term/w32-win.el (w32-handle-dropped-file):
635 * startup.el (normal-top-level):
636 * net/browse-url.el (browse-url-file-url):
637 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
638 decode file names using 'utf-8' rather than
639 file-name-coding-system.
640
09faee72
FEG
6412013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
642
643 * progmodes/python.el (python-indent-context)
644 (python-indent-calculate-indentation): Fix auto-identation
645 behavior for comment blocks. (Bug#15916)
646
f4f84024 6472013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 648
cb3a1380
SM
649 * progmodes/python.el (python-indent-calculate-indentation):
650 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
651 operators when they are just string constituents. (Bug#15812)
652
d5ccb7be
JL
6532013-12-12 Juri Linkov <juri@jurta.org>
654
655 * uniquify.el (uniquify-buffer-name-style): Change default to
656 `post-forward-angle-brackets'.
657
658 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
659 `uniquify'. Change default to `post-forward-angle-brackets'.
660
7b3f5679
GM
6612013-12-11 Glenn Morris <rgm@gnu.org>
662
663 * emacs-lisp/package.el (finder-list-matches):
664 Autoload rather than falsely declaring.
665
f4fe8fdd
TZ
6662013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
667
668 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
669 (eww-mode-map): Use them.
670
3c29190f
MR
6712013-12-11 Martin Rudalics <rudalics@gmx.at>
672
673 * window.el (display-buffer-in-side-window): Fix doc-string
674 (Bug#16115).
675
0cd616a2
JB
6762013-12-11 Juanma Barranquero <lekktu@gmail.com>
677
678 * vc/vc-git.el: Silence byte-compiler warnings.
679 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
680 (log-edit-set-header): Declare.
681
3ef8e0d1
EZ
6822013-12-11 Eli Zaretskii <eliz@gnu.org>
683
684 * Makefile.in (custom-deps, finder-data): Run output file names
685 through unmsys--file-name. (Bug#16099)
686
afdadaf7
SM
6872013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
688
7ae3ae39 689 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 690 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 691
5b4f37ab
SM
692 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
693 instead of deleting the selection "by hand" (bug#16098).
694 Rely on insert-for-yank to yank rectangles.
695 (cua-highlight-region-shift-only): Mark obsolete.
696 (cua-mode): Don't enable/disable transient-mark-mode,
697 shift-select-mode (cua-mode works both with and without them), and
698 pc-selection-mode (obsolete).
699 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
700 (cua--deactivate-rectangle): Deactivate it.
701
4b72c12b
SM
702 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
703 (delete-selection-helper): Make sure yank starts at the top of the
704 deleted region.
705 (minibuffer-keyboard-quit): Use region-active-p.
706
e82af72d
SM
707 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
708
afdadaf7
SM
709 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
710 to `delete' (bug#16109).
711
ed4bc201
RS
7122013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
713
714 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
715 info manual and show keybindings and set `:group' keyword.
716
bb8097b9
JL
7172013-12-11 Juri Linkov <juri@jurta.org>
718
719 * delsel.el (delete-active-region): Let-bind `this-command'
720 to prevent `kill-region' from changing its original value.
721 (delete-selection-helper): Handle `overwrite-mode' for the type
722 `kill' exactly the same way as for the type `t'.
723 (insert-char, quoted-insert, reindent-then-newline-and-indent):
724 Support more commands. (Bug#13312)
725
c1916ff5
JL
7262013-12-11 Juri Linkov <juri@jurta.org>
727
728 * bindings.el: Map kp keys to non-kp keys systematically
729 with basic modifiers control, meta and shift. (Bug#14397)
730
b68cf43c
KN
7312013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
732
733 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
734 "Close browser" menu items. Fix wrong function of "List
735 bookmarks".
736
4cc51eaf
JL
7372013-12-11 Juri Linkov <juri@jurta.org>
738
739 * misearch.el (multi-isearch-buffers): Set the value of
740 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
741 arg of isearch-forward to t.
742 (multi-isearch-buffers-regexp): Set the value of
743 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
744 arg of isearch-forward-regexp to t.
745 (multi-isearch-files): Set the value of
746 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
747 arg of isearch-forward to t.
748 (multi-isearch-files-regexp): Set the value of
749 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
750 arg of isearch-forward-regexp to t. (Bug#16035)
751
752 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
753 arg of isearch-forward to t.
754 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
755 arg of isearch-forward-regexp to t.
756 (dired-isearch-filter-filenames): Remove unnecessary check for
757 `dired-isearch-filenames'.
758
759 * comint.el (comint-history-isearch-backward):
760 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
761 (comint-history-isearch-backward-regexp):
762 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
763
ceac12b7
EZ
7642013-12-10 Eli Zaretskii <eliz@gnu.org>
765
766 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
767 unmsys--file-name. (Bug#16099)
768
5a565782
TZ
7692013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
770
cb3a1380
SM
771 * emacs-lisp/package.el (package-keyword-button-action):
772 Remove finder.el require dependency.
5a565782 773
a81fc7ba
TZ
7742013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
775
776 * emacs-lisp/package.el: Require finder.el.
777 (describe-package-1): Add keyword buttons.
778 (package-make-button): New convenience function.
779 (package-keyword-button-action): Keyword button action using
780 `finder-list-matches'
781
6aaca951
EZ
7822013-12-09 Eli Zaretskii <eliz@gnu.org>
783
784 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
785 last commit.
786
a1099a91
MA
7872013-12-09 Michael Albinus <michael.albinus@gmx.de>
788
789 * autorevert.el (auto-revert-notify-add-watch): Do not handle
790 symlinked files.
791
8212d9c0
DG
7922013-12-09 Dmitry Gutov <dgutov@yandex.ru>
793
794 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
795 after the end of a percent literal.
796
8f48d131
CD
7972013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
798
cb3a1380
SM
799 * progmodes/ruby-mode.el (ruby-forward-string): Document.
800 Handle caret-delimited strings (Bug#16079).
8f48d131 801
ff8c9764
DG
8022013-12-09 Dmitry Gutov <dgutov@yandex.ru>
803
cb3a1380
SM
804 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
805 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
806 `ruby-parse-partial' (Bug#16078).
807
d64643b4
LL
8082013-12-09 Leo Liu <sdl.web@gmail.com>
809
810 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
811
47e59c66
DG
8122013-12-08 Dmitry Gutov <dgutov@yandex.ru>
813
814 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
815 (js-switch-indent-offset): New option.
816 (js--proper-indentation): Use it. And handle the case when
817 "default" is actually a key in an object literal.
818 (js--same-line): New function.
819 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
820 (js--indent-in-array-comp, js--array-comp-indentation):
821 New functions.
47e59c66
DG
822 (js--proper-indentation): Use them, to handle array comprehension
823 continuations.
824
974ebc9c
LL
8252013-12-08 Leo Liu <sdl.web@gmail.com>
826
827 * progmodes/flymake.el (flymake-highlight-line): Re-write.
828 (flymake-make-overlay): Remove arg MOUSE-FACE.
829 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
830
27262e39
SM
8312013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
832
833 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
834 New function.
835 (redisplay-highlight-region-function): Use it.
836
837 * emulation/cua-base.el (cua--explicit-region-start)
838 (cua--last-region-shifted): Remove.
839 (cua--deactivate): Use deactivate-mark.
840 (cua--pre-command-handler-1): Don't handle shift-selection.
841 (cua--post-command-handler-1): Don't change transient-mark-mode.
842 (cua--select-keymaps): Use region-active-p rather than
843 cua--explicit-region-start or cua--last-region-shifted.
844 (cua-mode): Enable shift-select-mode.
845
6407822c
LL
8462013-12-08 Leo Liu <sdl.web@gmail.com>
847
27262e39
SM
848 * progmodes/flymake.el (flymake-popup-current-error-menu):
849 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
850 (flymake-posn-at-point-as-event, flymake-popup-menu)
851 (flymake-make-emacs-menu): Remove. (Bug#16077)
852
00a2b823
SM
8532013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
854
02033d49
SM
855 * rect.el (rectangle-mark-mode): Activate mark even if
856 transient-mark-mode is off (bug#16066).
857 (rectangle--highlight-for-redisplay): Fix boundary condition when point
858 is > mark and at bolp.
859
6f8dfccf
SM
860 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
861 (region-extract-function): Use it.
862 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
863 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
864 Delete functions.
865 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
866 kill-ring-save, kill-region, delete-char, delete-forward-char.
867 Ignore self-insert-iso.
868
869 * emulation/cua-gmrk.el (cua--init-global-mark):
870 Ignore `self-insert-iso'.
871
872 * emulation/cua-base.el (cua--prefix-copy-handler)
873 (cua--prefix-cut-handler): Rely on region-extract-function rather than
874 checking cua--rectangle.
875 (cua-delete-region): Use region-extract-function.
876 (cua-replace-region): Delete function.
877 (cua-copy-region, cua-cut-region): Obey region-extract-function.
878 (cua--pre-command-handler-1): Don't do the delete-selection thing.
879 (cua--self-insert-char-p): Ignore `self-insert-iso'.
880 (cua--init-keymaps): Don't remap delete-selection commands.
881 (cua-mode): Use delete-selection-mode instead of rolling our own
882 (bug#16085).
883
884 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
885 Obey region-extract-function.
886
00a2b823
SM
887 Make registers and delete-selection-mode work on rectangles.
888 * register.el (describe-register-1): Don't modify the register's value.
889 (copy-to-register): Obey region-extract-function.
890 * delsel.el (delete-active-region): Obey region-extract-function.
891
a92fa5f1
LL
8922013-12-08 Leo Liu <sdl.web@gmail.com>
893
894 * progmodes/flymake.el (flymake, flymake-error-bitmap)
895 (flymake-warning-bitmap, flymake-fringe-indicator-position)
896 (flymake-compilation-prevents-syntax-check)
897 (flymake-start-syntax-check-on-newline)
898 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
899 (flymake-start-syntax-check-on-find-file, flymake-log-level)
900 (flymake-xml-program, flymake-master-file-dirs)
901 (flymake-master-file-count-limit)
902 (flymake-allowed-file-name-masks): Relocate.
903 (flymake-makehash, flymake-float-time)
904 (flymake-replace-regexp-in-string, flymake-split-string)
905 (flymake-get-temp-dir): Remove.
906 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
907 (flymake-current-row, flymake-selected-frame)
908 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
909 related functions. (Bug#16077)
910
73c8ceea
BB
9112013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
912
913 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
914
faec28d9
TH
9152013-12-07 Tassilo Horn <tsdh@gnu.org>
916
917 * help-fns.el (describe-function-1): Use new advice-* functions
918 rather than old ad-* functions. Fix function type description and
919 source links for advised functions and subrs.
920
e330b646
LMI
9212013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
922
00a2b823 923 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 924
4803595d
MA
9252013-12-06 Michael Albinus <michael.albinus@gmx.de>
926
927 * progmodes/compile.el (compilation-start):
928 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
929
930 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
931 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
932
fa834a93
DG
9332013-12-06 Dmitry Gutov <dgutov@yandex.ru>
934
00a2b823
SM
935 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
936 Touch up the last change.
fa834a93 937
b2856a6f
LL
9382013-12-06 Leo Liu <sdl.web@gmail.com>
939
940 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
941 (inferior-octave-startup): Always use "octave> " for prompt.
942 (octave-goto-function-definition)
943 (octave-sync-function-file-names)
944 (octave-find-definition-default-filename): Remove redundant backquotes.
945
af67e79a
DG
9462013-12-06 Dmitry Gutov <dgutov@yandex.ru>
947
948 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
949 syntax for `?'.
950 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
951 where appropriate already.
952 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
953 end of method names (Bug#15874).
954
bf093209
JL
9552013-12-06 Juri Linkov <juri@jurta.org>
956
957 * isearch.el (isearch--saved-overriding-local-map):
958 New internal variable.
959 (isearch-mode): Set it to the initial value of
960 `overriding-terminal-local-map'.
961 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
962 with `isearch--saved-overriding-local-map'. (Bug#16035)
963
16588fad
DG
9642013-12-06 Dmitry Gutov <dgutov@yandex.ru>
965
00a2b823
SM
966 * progmodes/octave.el (inferior-octave-completion-table):
967 Turn back into function, use `completion-table-with-cache'
16588fad
DG
968 (Bug#11906). Update all references.
969
970 * minibuffer.el (completion-table-with-cache): New function.
971
bf4906d7
CD
9722013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
973
974 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
975
ff69c18f
TZ
9762013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
977
978 * net/eww.el (eww-current-source): New variable to store page
979 source.
980 (eww-display-html, eww-mode, eww-save-history)
981 (eww-restore-history): Use it.
982 (eww-view-source): New command to view page source.
983 Opportunistically uses `html-mode' to highlight the buffer.
984 (eww-mode-map): Install it.
985
b85eff45
MA
9862013-12-05 Michael Albinus <michael.albinus@gmx.de>
987
988 * net/dbus.el (dbus-unregister-service)
989 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
990 Fix docstring.
991 (dbus-unregister-service): Skip :serial entries in
992 `dbus-registered-objects-table'.
993 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
994
39eb0899
TZ
9952013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
996
997 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
998 around keywords with extra `split-string' argument.
999
456760a5
MR
10002013-12-04 Martin Rudalics <rudalics@gmx.at>
1001
1002 * windmove.el (windmove-other-window-loc): Handle navigation
1003 between windows (excluding the minibuffer window - Bug#16017).
1004
81961e4c
MA
10052013-12-04 Michael Albinus <michael.albinus@gmx.de>
1006
1007 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1008 in D-Bus type syntax.
1009 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1010 preserve unibyte strings. (Bug#16048)
1011
8497f938
SM
10122013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1015 Call force-mode-line-update is the proper buffer (bug#16042).
1016
dda61916
DG
10172013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1018
1019 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1020 `log-edit-remember-comment', make argument optional. Adjust all
1021 callers.
1022 (log-edit-mode): Add `log-edit-remember-comment' to
1023 `kill-buffer-hook' locally.
1024 (log-edit-kill-buffer): Don't remember comment explicitly since
1025 the buffer is killed anyway.
1026
c085e5b9
JL
10272013-12-04 Juri Linkov <juri@jurta.org>
1028
1029 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1030 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1031
d6f2380e
TR
10322013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1033
1034 * notifications.el (notifications-close-notification): Call the
81961e4c 1035 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1036
39fa32d6
KY
10372013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1038
1039 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1040
9139632a
JL
10412013-12-03 Juri Linkov <juri@jurta.org>
1042
1043 * progmodes/compile.el (compilation-start): Rename window alist
1044 entry `no-display-ok' to `allow-no-window'.
1045
1046 * simple.el (shell-command): Add window alist entry
1047 `allow-no-window' to `display-buffer'.
1048 (async-shell-command): Doc fix.
1049
1050 * window.el (display-buffer-no-window): New action function.
1051 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1052
0f457a37
DG
10532013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1054
1055 * vc/log-edit.el (log-edit-set-header): Extract from
1056 `log-edit-toggle-header'.
1057 (log-edit-extract-headers): Separate the summary, when extracted
1058 from header, from the rest of the message with an empty line.
1059
1060 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1061 line, if present, to the Summary header.
1062
0962f376
SM
10632013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1066 in current-buffer (bug#16029).
1067
f345395c
HE
10682013-12-02 Helmut Eller <eller.helmut@gmail.com>
1069
1070 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1071 (debugger-mode-map): Bind it.
1072 (debugger--backtrace-base): New function.
1073 (debugger-eval-expression): Use it.
1074 (debugger-frame-number): Skip local vars when present.
1075 (debugger--locals-visible-p, debugger--insert-locals)
1076 (debugger--show-locals, debugger--hide-locals): New functions.
1077
a8a15d9d
MA
10782013-12-02 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1081 "LC_ALL".
1082 (tramp-get-remote-locale): New defun.
1083 (tramp-open-connection-setup-interactive-shell): Use it.
1084
0518b057
LL
10852013-12-02 Leo Liu <sdl.web@gmail.com>
1086
1087 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1088
1089 * progmodes/sh-script.el (sh-shell-process):
1090 * progmodes/octave.el (inferior-octave-process-live-p):
1091 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1092 (gdb-inferior-io-sentinel):
1093 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1094
3adc9c6d
DG
10952013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1096
1097 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1098 `save-selected-window' to `log-edit-hide-buf'. This makes
1099 `log-edit-show-files' idempotent.
1100 (log-edit-show-files): Mark the new window as dedicated.
1101
47e8b74e
DG
11022013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1103
1104 * vc/log-edit.el (log-edit-mode-map): Add binding for
1105 `log-edit-kill-biffer'.
1106 (log-edit-hide-buf): Add a FIXME comment.
1107 (log-edit-add-new-comment): New function, extracted from
1108 `log-edit-done'.
1109 (log-edit-done, log-edit-add-to-changelog): Use it.
1110 (log-edit-kill-buffer): New command.
1111
1f6e1bb0
LMI
11122013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1113
1114 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1115 instead of killing the buffer.
1116
fb651d15
SM
11172013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1118
1119 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1120
8feacce0
RS
11212013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1122
fb651d15 1123 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1124 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1125 (eww-form-checkbox, eww-toggle-checkbox):
1126 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1127
1128 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
1129 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
1130 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1131 no :src tag was specified.
1132
fb651d15 1133 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1134 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1135 Use \\` to match beginning of string instead of ^.
1136 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1137 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1138
177948a5
RS
1139 * net/shr.el (shr-tag-video): Display content for video if no
1140 poster is available.
eb2dd24d 1141 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
1142
1143 * net/eww.el (eww-text-input-types): : New const.
1144 (eww-process-text-input): Treat input types in
1145 `eww-text-input-types' as text.
1146
8feacce0
RS
1147 * net/shr.el (shr-tag-table): Fix comment typo.
1148
513562a1
LMI
11492013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1150
1151 * net/eww.el (eww-follow-link): New command to avoid reloading
1152 pages when we follow #target links (bug#15243).
de8a5633 1153 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1154
9dd99753
KN
11552013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1156
1157 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1158 forms.
1159
3e9876de
LMI
11602013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1161
1162 * net/eww.el (eww-restore-history): Update the window title after
1163 moving in the history.
ab6dea82 1164 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1165
52789f7f
DG
11662013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1167
1168 * vc/log-edit.el (log-edit-mode-map): Add binding for
1169 `log-edit-beginning-of-line'.
1170 (log-edit-setup-add-author): New user option.
1171 (log-edit-beginning-of-line): New command.
1172 (log-edit): Move major mode call above the contents setup so that
1173 the local variable values are already applied.
1174 (log-edit): Only insert "Author: " when
1175 `log-edit-setup-add-author' is non-nil.
1176 (log-edit): When SETUP is non-nil, position point after ": "
1177 instead of point-min.
1178
2e6710c3
GM
11792013-12-01 Glenn Morris <rgm@gnu.org>
1180
1181 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1182
fadec31f
EZ
11832013-11-30 Eli Zaretskii <eliz@gnu.org>
1184
1185 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1186 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1187 visible. (Bug#16014)
1188
10634b40 11892013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1190
1191 Support resizing frames and windows pixelwise.
1192 * cus-start.el (frame-resize-pixelwise)
1193 (window-resize-pixelwise): New entries.
1194 * emacs-lisp/debug.el (debug): Use window-total-height instead
1195 of window-total-size.
1196 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1197 * help.el (describe-bindings-internal): Call help-buffer
1198 (temp-buffer-max-width): New option.
1199 (resize-temp-buffer-window, help-window-setup)
1200 (with-help-window): Rewrite.
1201 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1202 dragging dividers.
1203 * window.el (frame-char-size, window-min-pixel-height)
1204 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1205 (window-min-pixel-width, window-safe-min-pixel-size)
1206 (window-combination-p, window-safe-min-size)
1207 (window-resizable-p, window--size-to-pixel)
1208 (window--pixel-to-size, window--resize-apply-p): New functions.
1209 (window-safe-min-height): Fix doc-string.
1210 (window-size, window-min-size, window--min-size-1)
1211 (window-sizable, window-sizable-p, window--min-delta-1)
1212 (window-min-delta, window--max-delta-1, window-max-delta)
1213 (window--resizable, window--resizable-p, window-resizable)
1214 (window-full-height-p, window-full-width-p, window-at-side-p)
1215 (window--in-direction-2, window-in-direction)
1216 (window--resize-reset-1, window--resize-mini-window)
1217 (window-resize, window-resize-no-error)
1218 (window--resize-child-windows-normal)
1219 (window--resize-child-windows, window--resize-siblings)
1220 (window--resize-this-window, window--resize-root-window)
1221 (window--resize-root-window-vertically)
1222 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1223 (maximize-window, minimize-window, delete-window)
1224 (quit-restore-window, window-split-min-size, split-window)
1225 (balance-windows-2, balance-windows)
1226 (balance-windows-area-adjust, balance-windows-area)
1227 (window--state-get-1, window-state-get, window--state-put-1)
1228 (window--state-put-2, window-state-put)
fb651d15
SM
1229 (display-buffer-record-window, window--display-buffer):
1230 Make functions handle pixelwise sizing of windows.
880e6158 1231 (display-buffer--action-function-custom-type)
fb651d15
SM
1232 (display-buffer-fallback-action):
1233 Add display-buffer-in-previous-window.
880e6158
MR
1234 (display-buffer-use-some-window): Resize window to height it had
1235 before.
1236 (fit-window-to-buffer-horizontally): New option.
1237 (fit-frame-to-buffer): Describe new values.
1238 (fit-frame-to-buffer-bottom-margin): Replace with
1239 fit-frame-to-buffer-margins.
1240 (window--sanitize-margin): New function.
1241 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1242 using window-text-pixel-size.
1243
f9b697dd
GM
12442013-11-30 Glenn Morris <rgm@gnu.org>
1245
3e2fb4db
GM
1246 * emacs-lisp/bytecomp.el (byte-compile-form):
1247 Make the `interactive-only' warning like the `obsolete' one.
1248 * comint.el (comint-run):
1249 * files.el (insert-file-literally, insert-file):
1250 * replace.el (replace-string, replace-regexp):
1251 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1252 (goto-line, insert-buffer, next-line, previous-line):
1253 Tweak `interactive-only' spec.
1254
f9b697dd
GM
1255 Stop keeping (most) generated cedet grammar files in the repository.
1256 * Makefile.in (semantic): New.
1257 (compile-main): Depend on semantic.
1258
da048127
SM
12592013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1260
7784b779
SM
1261 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1262 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1263
4e36a6a6
SM
1264 * uniquify.el (uniquify-buffer-name-style): Change default.
1265
1266 * loadup.el: Preload "uniquify".
1267
e0ba1308
SM
1268 * time.el (display-time-update): Update all mode lines (bug#15999).
1269
da048127
SM
1270 * electric.el (electric-indent-mode): Enable by default.
1271 * loadup.el: Preload "electric".
1272
015b3b3e
BB
12732013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1274
1275 * emacs-lisp/helpers.el (string-empty-p): New function.
1276 (string-blank-p): New function.
1277
7efb806d
AP
12782013-11-29 Andreas Politz <politza@hochschule-trier.de>
1279
1280 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1281 (Bug#14029).
1282
c8f0efc2
AP
12832013-11-29 Andreas Politz <politza@fh-trier.de>
1284 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1285 allow non-lambda lists as functions.
1286 (imenu--in-alist): Don't recurse into non-subalists.
1287 (imenu): Don't pass function itself as an argument (Bug#14029).
1288
bd15d9d1
SM
12892013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * progmodes/python.el (python-mode-map): Remove binding for ":".
1292 (python-indent-electric-colon): Remove command.
1293 (python-indent-post-self-insert-function): Integrate the previous code
1294 of python-indent-electric-colon. Make it conditional on
1295 electric-indent-mode.
1296 (python-mode): Add ?: to electric-indent-chars.
1297 Move python-indent-post-self-insert-function to the end of
1298 post-self-insert-hook.
1299
1b10adb6
SM
13002013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1301
655ab9a3
SM
1302 * doc-view.el (doc-view-goto-page): Update mode-line.
1303
1b10adb6
SM
1304 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1305
7e3bf78c
GM
13062013-11-27 Glenn Morris <rgm@gnu.org>
1307
1308 * international/charprop.el, international/uni-bidi.el:
1309 * international/uni-category.el, international/uni-combining.el:
1310 * international/uni-comment.el, international/uni-decimal.el:
1311 * international/uni-decomposition.el, international/uni-digit.el:
1312 * international/uni-lowercase.el, international/uni-mirrored.el:
1313 * international/uni-name.el, international/uni-numeric.el:
1314 * international/uni-old-name.el, international/uni-titlecase.el:
1315 * international/uni-uppercase.el:
1316 Remove generated files from VCS repository.
1317
fb6a5d68
EZ
13182013-11-27 Eli Zaretskii <eliz@gnu.org>
1319
1320 * filenotify.el (file-notify-add-watch): Don't special-case
1321 w32notify when computing the directory to watch.
1322
cb6c95a3
GM
13232013-11-27 Glenn Morris <rgm@gnu.org>
1324
20372d0c
GM
1325 Make bootstrap without generated uni-*.el files possible again.
1326 * loadup.el: Update command-line-args checking for unidata-gen.
1327 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1328 * composite.el, international/characters.el:
1329 Handle unicode tables being undefined.
1330
52d6635f 1331 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1332 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1333 (compile-main): Depend on leim rule.
1334 (leim): New rule.
1335 * loadup.el: Move leim-list.el to leim/ subdirectory.
1336 * startup.el (normal-top-level): No more leim directory.
1337 * international/ja-dic-cnv.el (skkdic-convert):
1338 Disable version-control and autoloads in output files.
1339 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1340 Disable version-control and autoloads in output files.
1341 * leim/quail: Move here from ../leim.
1342 * leim/quail/hangul.el (hangul-input-method-activate):
1343 Add autoload cookie.
1344 (generated-autoload-load-name): Set file-local value.
1345 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1346 (generated-autoload-load-name): Set file-local value.
1347
0449d6cd 13482013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
1349
1350 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1351 (eww-add-bookmark): ask confirmation when add to bookmarks
1352 (eww-quit): ask confirmation before quitting eww
1353
0e2c793f
EZ
13542013-11-26 Eli Zaretskii <eliz@gnu.org>
1355
1356 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1357 reading output from Diff on MS-Windows and MS-DOS.
1358
447bdcb8
BB
13592013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1360
1361 * emacs-lisp/helpers.el (string-reverse): New function.
1362
5fbf6856
MA
13632013-11-26 Michael Albinus <michael.albinus@gmx.de>
1364
1365 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1366 names on MS Windows, like "/[::1]:".
1367
1368 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1369 SWITCHES.
1370
624780f0
GM
13712013-11-26 Glenn Morris <rgm@gnu.org>
1372
0bf3f0fa
GM
1373 * progmodes/python.el (python-indent-guess-indent-offset):
1374 Avoid corner-case error. (Bug#15975)
1375
624780f0
GM
1376 Preload leim-list.el. (Bug#4789)
1377 * loadup.el: Load leim-list.el when found.
1378 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1379
4301875e 13802013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1381
1382 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1383
4301875e
BB
1384 * emacs-lisp/helpers.el (string-join): New function.
1385
1633a815 13862013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1387
1388 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1389 Mark as obsolete and replace it with a symbol property.
1390 (byte-compile-form): Use new 'interactive-only property.
1391 * comint.el, files.el, replace.el, simple.el:
1392 Apply new 'interactive-only properly.
1393
00139435
MR
13942013-11-25 Martin Rudalics <rudalics@gmx.at>
1395
1396 * window.el (display-buffer-at-bottom): Make sure that
1397 split-window-sensibly creates the new window on bottom
1398 (Bug#15961).
1399
5f5b128d
DK
14002013-11-23 David Kastrup <dak@gnu.org>
1401
1402 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1403 on the conflict markers when available.
1404 (smerge--get-marker): New function.
1405 (smerge-end-re, smerge-base-re): Add subgroup.
1406
623891e5
SM
14072013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * frame.el (handle-focus-in, handle-focus-out): Add missing
1410 interactive spec.
1411
05ca27d8
MA
14122013-11-25 Michael Albinus <michael.albinus@gmx.de>
1413
1414 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1415 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1416
511fa0d3
SM
14172013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1418
e82ad66c
SM
1419 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1420 (gomoku--last-pos): New var.
1421 (gomoku--intangible-chars): New const.
1422 (gomoku--intangible): New function.
1423 (gomoku-mode): Use it. Derive from special-mode.
1424 (gomoku-move-up): Adjust line count.
1425 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1426 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1427 Simplify accordingly.
1428
511fa0d3
SM
1429 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1430 Remove blink-cursor code.
1431 (blink-cursor-timer-function, blink-cursor-suspend):
1432 Don't special-case GUIs.
1433 (blink-cursor-mode): Use focus-in/out-hook.
1434
6f20dd03
DG
14352013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1436
1437 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1438 work when annotation is invisible (Bug#13886).
1439
431dec31 14402013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1441
1442 * json.el (json-alist-p): Only return non-nil if the alist has
1443 simple keys (Bug#13518).
1444
431dec31 14452013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1446
1447 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1448 when control-statement is the first statement in a buffer (Bug#15956).
1449
ee4f0261
DG
14502013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1451
1452 * imenu.el (imenu-generic-skip-comments-and-strings):
1453 New option (Bug#15560).
1454 (imenu--generic-function): Use it.
1455
c484f866
JS
14562013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1457
1458 * minibuffer.el (completion--in-region-1): Scroll the correct
1459 window. (Bug#13898)
1460
41ce6f70
BB
14612013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1462
b55aea38
BB
1463 * emacs-lisp/helpers.el: Add some string helpers.
1464 (string-trim-left): Removes leading whitespace.
1465 (string-trim-right): Removes trailing whitespace.
1466 (string-trim): Removes leading and trailing whitespace.
1467
41ce6f70
BB
1468 * subr.el (string-suffix-p): New function.
1469
3cfb6af3
GM
14702013-11-23 Glenn Morris <rgm@gnu.org>
1471
1472 * progmodes/python.el (python-shell-send-file):
1473 Add option to delete file when done. (Bug#15647)
1474 (python-shell-send-string, python-shell-send-region): Use it.
1475
c27924b7
IS
14762013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1477
e1b01c7f
IS
1478 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1479 to set buffer-read-only to t, never to nil. (Bug#15938)
1480
c27924b7
IS
1481 * textmodes/tex-mode.el (latex-noindent-environments):
1482 Add safe-local-variable property. (Bug#15936)
1483
17e0445b
GM
14842013-11-23 Glenn Morris <rgm@gnu.org>
1485
92f78ea3
GM
1486 * textmodes/enriched.el (enriched-mode): Doc fix.
1487 * emacs-lisp/authors.el (authors-renamed-files-alist):
1488 Add enriched.doc -> enriched.txt.
1489
17e0445b
GM
1490 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1491
965bb23a
LL
14922013-11-22 Leo Liu <sdl.web@gmail.com>
1493
1494 * progmodes/octave.el (inferior-octave-startup): Spit out error
1495 message.
1496
d19ffd64
BB
14972013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1498
1499 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1500 Improve docstring.
15ba2182
BB
1501 Add :version.
1502 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1503
7a7567d2
LL
15042013-11-22 Leo Liu <sdl.web@gmail.com>
1505
1506 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1507 (Bug#15076)
8c09f64b
LL
1508 (octave-help-mode): Adapt to change to help-mode-finish to use
1509 derived-mode-p on 2013-09-17.
1510 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1511 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1512
724bc265
LL
15132013-11-22 Leo Liu <sdl.web@gmail.com>
1514
1515 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1516 (inferior-octave-startup, inferior-octave-check-process)
1517 (inferior-octave-track-window-width-change)
1518 (octave-completion-at-point, octave-eldoc-function): Use it.
1519 (octave-kill-process): Provide confirmation. (Bug#10564)
1520
38637cca
LL
15212013-11-21 Leo Liu <sdl.web@gmail.com>
1522
511fa0d3
SM
1523 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1524 Fix obsolete variable comment-use-global-state.
38637cca 1525
06e752b4
RS
15262013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1527
511fa0d3
SM
1528 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1529 Add `octave-source-file'.
06e752b4
RS
1530 (octave-source-file): New function. (Bug#15935)
1531
0449d6cd 15322013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1533
1534 * net/eww.el (eww-local-regex): New variable.
1535 (eww): Use it to detect localhost and similar.
1536
b6ffa04a
LL
15372013-11-21 Leo Liu <sdl.web@gmail.com>
1538
1539 Add completion for command `ag'.
2021a200
LL
1540 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1541 (pcomplete/ag): New function.
1542 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1543
d1a6bccc
SM
15442013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1545
1546 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1547 (bug#14646).
1548 (make-obsolete): Remove interactive spec.
1549
2df10228
GM
15502013-11-21 Glenn Morris <rgm@gnu.org>
1551
1552 * startup.el (command-line-1): Use path-separator with -L.
1553
86fd16b6
TZ
15542013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1555
1556 * emacs-lisp/package.el (describe-package-1): Add package archive
1557 to shown fields.
1558
0449d6cd 15592013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1560
1561 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1562 Change default to "# encoding: %s" to differentiate it from the
1563 default Ruby encoding comment template.
1564
dc7e8c17 15652013-11-20 era eriksson <era+emacsbugs@iki.fi>
1566
1567 * ses.el (ses-mode): Doc fix. (Bug#14748)
1568
f0cfa5fe
LL
15692013-11-20 Leo Liu <sdl.web@gmail.com>
1570
1571 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1572
826dc7b6
DN
15732013-11-19 Dan Nicolaescu <dann@gnu.org>
1574
1575 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1576 when rebase or bisect are in progress.
1577
a6e3a5d5
XF
15782013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1579
1580 * filenotify.el (file-notify-add-watch): Doc fix.
1581
f130cb76
LL
15822013-11-19 Leo Liu <sdl.web@gmail.com>
1583
e0855d7d
LL
1584 * obsolete/rcompile.el: Mark obsolete.
1585
f130cb76 1586 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1587 (compilation-goto-locus, compilation-find-file):
1588 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1589 (Bug#13594)
1590
1591 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1592 new parameter no-display-ok. Return either a window or nil
1593 but never a non-window value.
f130cb76 1594
1f35d401
SM
15952013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1596
25158c76
SM
1597 * electric.el (electric-indent-mode-map): Remove.
1598 (electric-indent-mode): Change the global-map instead (bug#15915).
1599
1600 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1601 Use add-function.
1f35d401 1602
9bc67baa
SM
16032013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1604
986545b5
SM
1605 * emacs-lisp/nadvice.el (remove-function): Align with
1606 add-function's behavior.
1607
9bc67baa
SM
1608 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1609 (gdb--string-regexp): New constant.
1610 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1611 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1612 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1613 submatch 1.
1614 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1615 Adjust use accordingly.
1616 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1617
56cd894e
AS
16182013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1619
1620 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1621 interpolation curlies (Bug#15914).
1622
014690de
JB
16232013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1624
1625 * calc/calc.el (calc-context-sensitive-enter): New variable.
1626 (calc-enter): Use `calc-context-sensitive-enter'.
1627
7e26a6c3
TZ
16282013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1629
1630 * progmodes/cfengine.el: Version bump.
1631 (cfengine-cf-promises): New defcustom to locate cf-promises.
1632 (cfengine3-vartypes): Add new "data" type.
1633 (cfengine3--current-word): New function to get current name-like
1634 word or its bounds.
1635 (cfengine3--current-function): New function to look up a CFEngine
1636 function's definition.
1637 (cfengine3-format-function-docstring): New function.
1638 (cfengine3-make-syntax-cache): New function.
1639 (cfengine3-documentation-function): New function: ElDoc glue.
1640 (cfengine3-completion-function): New function: completion glue.
1641 (cfengine3-mode): Set `compile-command',
1642 `eldoc-documentation-function', and add to
1643 `completion-at-point-functions'.
1644
355204dd
MA
16452013-11-16 Michael Albinus <michael.albinus@gmx.de>
1646
1647 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1648 `tramp-current-connection'.
1649
43cebc23
DG
16502013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1651
1652 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1653 nil/self/true/false with "end of symbol".
1654
a3fed6ff
BB
16552013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1656
1657 * subr.el (version-regexp-alist): Fix a typo.
1658
e675b3e4
MA
16592013-11-15 Michael Albinus <michael.albinus@gmx.de>
1660
1661 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1662 "en_US.utf8" and "LC_CTYPE" to "".
1663 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1664 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1665
a1f03e89
LL
16662013-11-15 Leo Liu <sdl.web@gmail.com>
1667
1668 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1669
5d9d9451
SM
16702013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1671
58362662
CS
1672 * progmodes/gud.el (ctl-x-map):
1673 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1674 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1675
6c1bf086
BB
16762013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1677
0d5363c4
BB
1678 * subr.el (version-regexp-alist):
1679 Recognize hg, svn and darcs versions as snapshot versions.
1680
4e9fc48c
BB
1681 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1682 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1683 (ruby--encoding-comment-required-p): Extract from
1684 `ruby-mode-set-encoding'.
1685 (ruby-mode-set-encoding): Add the ability to always insert an
1686 utf-8 encoding comment. Fix and simplify coding comment update
1687 logic.
6c1bf086 1688
2f7e72f8
MA
16892013-11-14 Michael Albinus <michael.albinus@gmx.de>
1690
1691 * net/tramp-gvfs.el (top): Run init code only when
1692 `tramp-gvfs-enabled' is not nil.
1693 (tramp-gvfs-enabled): Check also :system bus.
1694
0f137a73
SM
16952013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1696
1697 Sync with upstream verilog-mode revision 78e66ba.
1698 * progmodes/verilog-mode.el (verilog-end-of-defun)
1699 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1700 (verilog-get-end-of-defun): Remove unused argument.
1701 (verilog-comment-depth): Remove unused local `e'.
1702 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1703 Don't pass arg to verilog-get-end-of-defun.
1704
1c276bdd
GM
17052013-11-14 Glenn Morris <rgm@gnu.org>
1706
1707 * obsolete/assoc.el (aget): Prefix dynamic variable.
1708
1709 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1710
ff6ec81d
SM
17112013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1712
1713 * widget.el, hfy-cmap.el: Remove bogus package version number.
1714
75f777b6
GM
17152013-11-13 Glenn Morris <rgm@gnu.org>
1716
1d43dba1
GM
1717 * replace.el (replace-eval-replacement):
1718 Try to give more helpful error message. (Bug#15836)
1719
ff4b7bd5
GM
1720 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1721 (archive-7z-update): Avoid custom type mismatches.
1722
75f777b6
GM
1723 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1724
11151a06
MA
17252013-11-13 Michael Albinus <michael.albinus@gmx.de>
1726
e675b3e4 1727 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1728 address can be empty.
1729
1730 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1731 Accept nil SWITCHES.
1732 (tramp-gvfs-handle-write-region): Implement APPEND.
1733
7b08f97e
DG
17342013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1735
1736 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1737 binary "|" operator and closing block args delimiter.
1738 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1739 (ruby-smie--implicit-semi-p): Not after "|" operator.
1740 (ruby-smie--closing-pipe-p): New function.
1741 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1742 (ruby-smie-rules): Indent after "|".
1743
f201cf3a
GM
17442013-11-12 Glenn Morris <rgm@gnu.org>
1745
1746 * ps-print.el (ps-face-attribute-list):
1747 Handle anonymous faces. (Bug#15827)
1748
e6f759f9
MR
17492013-11-12 Martin Rudalics <rudalics@gmx.at>
1750
1751 * window.el (display-buffer-other-frame): Fix doc-string.
1752 (Bug#15868)
1753
ecda65d4
SM
17542013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1755
1756 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1757
7ce8fcc3
MA
17582013-11-11 Michael Albinus <michael.albinus@gmx.de>
1759
1760 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1761 (tramp-sh-handle-file-local-copy): Don't write a message when
1762 saving temporary files.
1763
1764 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1765 both directories are remote.
1766 (tramp-smb-handle-directory-files): Do not return double entries.
1767 Do not expand full file names.
1768 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1769 (tramp-smb-handle-write-region): Implement APPEND.
1770 (tramp-smb-get-stat-capability): Fix a stupid bug.
1771
7818df11
SM
17722013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1773
1774 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1775
608c2085
NT
17762013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1777
1778 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1779 throwing error over malformed let/let* (bug#15814).
1780
122a7e46
SM
17812013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * iswitchb.el (iswitchb-mode): Mark obsolete.
1784
766284d9
GM
17852013-11-11 Glenn Morris <rgm@gnu.org>
1786
1787 * international/uni-bidi.el, international/uni-category.el:
1788 * international/uni-name.el, international/uni-numeric.el:
1789 Regenerate for Unicode 6.3.0.
1790
7072a4e9
MA
17912013-11-10 Michael Albinus <michael.albinus@gmx.de>
1792
1793 * net/tramp.el (tramp-methods):
1794 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1795 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1796
c9df215b
AS
17972013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1798
608c2085
NT
1799 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1800 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1801
fa47d796
DG
18022013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1803
1804 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1805 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1806 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1807 (ispell-complete-word): Call `ispell-lookup-words' with the value
1808 independent of `ispell-look-p'.
1809
1629a329
DG
18102013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1811
1812 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1813 Not after "||".
1814 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1815 their parent.
1816
ad16897c
SM
18172013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1818
1819 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1820 (ruby-font-lock-keywords): Use backquote.
1821
ffa2df72
DG
18222013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1823
1824 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1825 (ruby-smie--backward-token): Only consider full-string matches.
1826
5b97b4c0
JD
18272013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1828
1829 * faces.el (describe-face): Add distant-foreground.
1830
71731c03
BB
18312013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1832
4e9fc48c
BB
1833 * progmodes/ruby-mode.el: Improve encoding comment handling.
1834 (ruby-encoding-magic-comment-style): New option.
1835 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1836 (ruby--insert-coding-comment, ruby--detect-encoding):
1837 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1838 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1839 to control the style of the auto-inserted encoding comment.
71731c03 1840
da3b328d
DG
18412013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1842
ad16897c
SM
1843 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1844 Use `smie-backward-sexp' with token argument.
da3b328d 1845
1606c2d3
MA
18462013-11-08 Michael Albinus <michael.albinus@gmx.de>
1847
1848 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1849 Remove instrumentation code.
1850
b0f4c320
GM
18512013-11-08 Glenn Morris <rgm@gnu.org>
1852
1853 * progmodes/autoconf.el (autoconf-mode):
1854 Tweak comment-start-skip. (Bug#15822)
1855
43668fb1
SM
18562013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1857
1858 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1859 at bobp (bug#15826).
1860 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1861
daddb3fd
DH
18622013-11-08 Darren Hoo <darren.hoo@gmail.com>
1863
1864 * man.el (Man-start-calling): New macro, extracted from
1865 Man-getpage-in-background.
1866 (Man-getpage-in-background): Use it.
1867 (Man-update-manpage): New command.
1868 (Man-mode-map): Bind it.
1869
1f923923
DG
18702013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1871
1872 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1873 of "and", "or", "&&" and "||".
1874 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1875 argument. Prohibit opening curly brace because it could only be a
1876 block opener in that position.
daddb3fd
DH
1877 (ruby-smie--forward-token, ruby-smie--backward-token):
1878 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1879 arguments.
1880 (ruby-smie--indent-to-stmt): New function, seeks the end of
1881 previous statement or beginning of buffer.
1882 (ruby-smie-rules): Use it.
1883 (ruby-smie-rules): Check if there's a ":" before a curly block
1884 opener candidate; if there is, it's a hash.
1885
3220d527
SM
18862013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1889 (cl--block-wrapper): Fix last accidental change.
1890
1eb1f9e0
MA
18912013-11-07 Michael Albinus <michael.albinus@gmx.de>
1892
1893 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1894 Instrument, in order to hunt failure on hydra.
1895
e6e4db3c
NT
18962013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1897
1898 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1899 malformed bindings form (bug#15814).
1900
b420ccfc
DG
19012013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1902
1903 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1904 "." compared to " @ ". This incidentally fixes some indentation
1905 examples with "do".
e6e4db3c 1906 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1907 (ruby-smie-grammar): New tokens: "and" and "or".
1908 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1909 Exclude "and" and "or". Remove "do" in order to work around token
1910 priorities.
1911 (ruby-smie-rules): Add all infix tokens. Handle the case of
1912 beginning-of-buffer.
b420ccfc 1913
6b4ac03e
GM
19142013-11-06 Glenn Morris <rgm@gnu.org>
1915
1916 * Makefile.in (setwins_almost, setwins_for_subdirs):
1917 Avoid accidental matches.
1918
5ca114d1
SM
19192013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * menu-bar.el (popup-menu): Use key-binding.
1922
f72552bd
EZ
19232013-11-06 Eli Zaretskii <eliz@gnu.org>
1924
1925 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1926 menus, support also the menus produced by minor modes.
1927 (Bug#15817)
1928
5d5c701e
LL
19292013-11-06 Leo Liu <sdl.web@gmail.com>
1930
1931 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1932 DISTANCE to bound the search. All uses changed. (Bug#15808)
1933
0a8b75e2
GM
19342013-11-06 Glenn Morris <rgm@gnu.org>
1935
1936 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1937 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1938 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1939
a35287ea
SM
19402013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1941
feca4e2d
SM
1942 * electric.el (electric-indent-just-newline): New command.
1943 (electric-indent-mode-map): New keymap.
1944 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1945 Re-add :group which weren't redundant.
1946
a35287ea
SM
1947 * electric.el (electric-indent-local-mode): New minor mode.
1948 (electric-indent-functions-without-reindent): New var.
1949 (electric-indent-post-self-insert-function): Use it.
1950 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1951
375761b2
EZ
19522013-11-05 Eli Zaretskii <eliz@gnu.org>
1953
9a6ad735
EZ
1954 * international/quail.el (quail-help): Be more explicit about the
1955 meaning of the labels shown on the keys. (Bug#15800)
1956
375761b2
EZ
1957 * startup.el (normal-top-level): Load the subdirs.el files before
1958 setting the locale environment. (Bug#15805)
1959
520a6e4a
SM
19602013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1961
0acfafef
SM
1962 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1963 via arguments so as to get the right ones (bug#15418).
1964
520a6e4a
SM
1965 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1966
15826261
MA
19672013-11-05 Michael Albinus <michael.albinus@gmx.de>
1968
1969 Fix problems found while writing a test suite.
1970
1971 * net/tramp-compat.el (tramp-compat-load): New defun.
1972 * net/tramp.el (tramp-handle-load): Use it.
1973
1974 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1975 "(numberp ok-if-already-exists)" correctly.
1976
d35f31a4
XF
19772013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1978
1979 * international/characters.el (glyphless-char-display-control):
1980 Add usage note.
1981
ae93bc74
BB
19822013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1983
520a6e4a
SM
1984 * progmodes/python.el (python-mode):
1985 * progmodes/scheme.el (scheme-mode):
1986 * progmodes/prolog.el (prolog-mode):
1987 * progmodes/ruby-mode.el (ruby-mode):
1988 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1989 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1990
0ade65b5
SM
19912013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1992
a0d5f7a4
SM
1993 * rect.el (rectangle--highlight-for-redisplay):
1994 * emacs-lisp/smie.el (smie--next-indent-change):
1995 Use buffer-chars-modified-tick.
1996
c93f3f5c
SM
1997 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1998
0ade65b5
SM
1999 * electric.el (electric-indent-post-self-insert-function):
2000 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2001
ef9dd188
HE
20022013-11-04 Helmut Eller <eller.helmut@gmail.com>
2003
2004 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2005
306e7308
NT
20062013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2007
2008 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2009 (bug#15786).
2010
e5afbcac
SM
20112013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2012
1d01ad41
SM
2013 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2014
e5afbcac
SM
2015 * progmodes/python.el: Fix up last change.
2016 (python-shell--save-temp-file): New function.
2017 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2018 `string' comes from the current buffer.
2019 (python-shell-send-string-no-output): Remove `msg' arg.
2020 (python--use-fake-loc): New var.
2021 (python-shell-buffer-substring): Obey it. Try to compensate for the
2022 extra coding line added by python-shell--save-temp-file.
2023 (python-shell-send-region): Use python-shell--save-temp-file and
2024 python-shell-send-file directly. Add `nomain' argument.
2025 (python-shell-send-buffer): Use python-shell-send-region.
2026 (python-electric-pair-string-delimiter): New function.
2027 (python-mode): Use it.
2028
d0065ff1
EZ
20292013-11-04 Eli Zaretskii <eliz@gnu.org>
2030
2031 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2032 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2033 environment and decoding all of the default-directory's to here
2034 from command-line.
2035 (command-line): Decode also argv[0].
2036
2037 * loadup.el: Error out if default-directory is a multibyte string
2038 when we are dumping.
2039
2040 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2041
7397c587
TZ
20422013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2043
2044 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2045 (package-menu--print-info, package-menu--archive-predicate):
2046 Add Archive column to package list.
7397c587 2047
b27cc9fc
MA
20482013-11-04 Michael Albinus <michael.albinus@gmx.de>
2049
2050 Fix problems found while writing a test suite.
2051
2052 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2053 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2054 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2055 to nil when running original file name handler. Otherwise,
2056 there are problems with constructs like "$$FOO".
2057
2058 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2059 for `localname'.
2060
d8c4f18a
BB
20612013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2062
7b530552
BB
2063 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2064
2065 * subr.el (version<, version<=, version=):
2066 Update docstrings with information for snapshot versions.
2067
d8c4f18a
BB
2068 * helpers.el: New library for misc helper functions.
2069 (hash-table-keys): New function returning a list of hash keys.
2070 (hash-table-values): New function returning a list of hash values.
2071
dca01b09
DG
20722013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2073
2074 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2075 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2076
0a749fa0
MN
20772013-11-04 Michal Nazarewicz <mina86@mina86.com>
2078
2079 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2080 checking whether point is after a 1-letter word.
2081
20822013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2083
2084 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2085 Don't infloop when expanding region over `multiline' syntax-type that
2086 begins a line (bug#15778).
2087
4aca7145
SM
20882013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2091 Make it into a proper minor mode.
2092 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2093 (rectangle-mark-mode-map): New keymap.
2094 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2095
a0833f62
GM
20962013-11-04 Glenn Morris <rgm@gnu.org>
2097
2098 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2099
e61845c1
SM
21002013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2103 (ruby-smie-rules): Use smie-rule-parent instead.
2104
2105 * emacs-lisp/smie.el (smie-rule-parent): Always call
2106 smie-indent-virtual rather than only for hanging tokens.
2107 (smie--next-indent-change): New helper command.
2108
62942f89
GM
21092013-11-03 Glenn Morris <rgm@gnu.org>
2110
2111 * Makefile.in (abs_srcdir): Remove.
2112 (emacs): Unset EMACSLOADPATH.
2113
b0b9e592
GM
21142013-11-02 Glenn Morris <rgm@gnu.org>
2115
18ba6a33 2116 * Makefile.in (EMACS): Use a relative filename.
8061810d 2117 (abs_top_builddir): Remove.
18ba6a33
GM
2118 (custom-deps, finder-data, autoloads): Use --chdir.
2119
6a8b929e
GM
2120 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2121
c617f3d0
GM
2122 Use relative filenames in TAGS files.
2123 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2124 (lisptagsfiles4, TAGS): Use relative file names.
2125 (TAGS-LISP): Remove.
2126 (maintainer-clean): No more TAGS-LISP file.
2127
b0b9e592
GM
2128 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2129 (lisptagsfiles4): Use absolute filenames again.
2130 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2131 Remove all *loaddefs files, not just the first. Remove esh-groups.
2132 (maintainer-clean): Delete TAGS, TAGS-LISP.
2133
d1c0ea6a
BB
21342013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2135
e61845c1
SM
2136 * emacs-lisp/package.el (package-version-join):
2137 Recognize snapshot versions.
d1c0ea6a 2138
684d71c6
BB
21392013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2140
2141 * subr.el (version-regexp-alist): Add support for snapshot versions.
2142
3d42b968
DG
21432013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2144
e61845c1
SM
2145 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2146 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2147 skip over our direct parent if it's an assignment token..
2148 (ruby-smie-rules): Use it.
2149
7ffd3721
DG
21502013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2151
2152 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2153 unconditionally. Remove now unnecessary forward declarations.
2154 Remove XEmacs-specific setup.
2155 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2156 (ruby-font-lock-syntactic-keywords)
2157 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2158 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2159 (ruby-here-doc-end-syntax): Remove.
2160 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2161 defined as function.
2162
a3996a2e
BB
21632013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2164
2165 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2166
6f9260e8
BB
21672013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2168
2169 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2170 table and abbrev table, `define-derived-mode' does that for us
2171 anyway.
2172
6014de84
GM
21732013-11-01 Glenn Morris <rgm@gnu.org>
2174
2175 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2176 files is atomic for some time, so no parallel compilation issues).
2177
3c334c14
JD
21782013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2179
2180 * faces.el (face-x-resources): Add :distant-foreground.
2181 (region): Use :distant-foreground for gtk and ns.
2182
9bc236c8
TH
21832013-11-01 Tassilo Horn <tsdh@gnu.org>
2184
5246583b 2185 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2186 BibTeX.
2187 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2188 (reftex-locate-bibliography-files): Us it.
2189
d14c81ee
CB
21902013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2191
0e7690de
CB
2192 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2193 allow comments in pbm files.
2194
d14c81ee
CB
2195 * term/w32-win.el (dynamic-library-alist): Support newer versions
2196 of libjpeg starting with v7: look only for the DLL from the
2197 version against which Emacs was built.
ac1bf374 2198 Support versions of libpng beyond 1.4.x.
019c8218 2199 Support libtiff v4.x.
d14c81ee 2200
983d0df5
BB
22012013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2202
2203 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2204 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2205 Add property :safe.
2206 (ruby-deep-arglist): Add property :type.
2207
47f58d85
GM
22082013-10-31 Glenn Morris <rgm@gnu.org>
2209
2210 * Makefile.in (custom-deps, finder-data): No need to setq the target
2211 variables, we are in the right directory and the defaults work fine.
2212
4f85b479
GM
22132013-10-30 Glenn Morris <rgm@gnu.org>
2214
ca7dd4cd
GM
2215 * Makefile.in (autoloads): Do not use abs_lisp.
2216
4f85b479
GM
2217 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2218 `newline' does not respect `standard-output', so use `princ'.
2219
cf59e41c
AA
22202013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2221
2222 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2223 * buff-menu.el (Buffer-menu--unmark): New function.
2224 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2225
74cf04fb
GM
22262013-10-30 Glenn Morris <rgm@gnu.org>
2227
b040b60e
GM
2228 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2229
f53d3815
GM
2230 * emacs-lisp/package.el (lm-homepage): Declare.
2231
5413d873
GM
2232 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2233 Fix doc typos.
2234
cecedb36
GM
2235 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2236
74cf04fb
GM
2237 * Makefile.in (finder-data, autoloads, update-subdirs)
2238 (compile-main, compile-clean, compile-always, bootstrap-clean):
2239 Check return value of cd.
2240 (compile-calc): Remove.
2241
195ee2f0
SM
22422013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2243
ae4002ce
SM
2244 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2245
2246 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2247 (byte-compile-and-folded): New function.
2248 (=, <, >, <=, >=): Use it.
2249
2250 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2251 (path-separator, null-device, buffer-file-coding-system)
2252 (lpr-headers-switches): Check system-type before modifying them.
2253 (find-buffer-file-type-coding-system): Mark obsolete.
2254 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2255 find-file-not-found-set-buffer-file-coding-system.
2256 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2257 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2258 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2259 (w32-direct-print-region-helper, w32-direct-print-region-function)
2260 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2261 * startup.el (normal-top-level-add-subdirs-to-load-path):
2262 * ps-print.el (ps-print-region-function):
2263 * lpr.el (print-region-function): Use new name.
2264
53b39e89
SM
2265 * subr.el (custom-declare-variable-early): Remove function.
2266 (custom-declare-variable-list): Remove var.
2267 (error, user-error): Remove `while' loop.
2268 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2269 (user-emacs-directory-warning, locate-user-emacs-file):
2270 Move to files.el.
2271 * simple.el (read-quoted-char-radix, read-quoted-char):
2272 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2273 Move from subr.el.
2274 * custom.el (custom-declare-variable-list): Don't process
2275 custom-declare-variable-list.
2276
195ee2f0
SM
2277 * progmodes/python.el (python-shell-get-buffer): New function.
2278 (python-shell-get-process): Use it.
2279 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2280 Python which encoding was used. Don't split-string since we only care
2281 about the first line. Return the temp-file, if applicable.
2282 (python-shell-send-region): Tell compile.el how to turn locations in
2283 the temp-file into locations in the source buffer.
2284
7e3561ee
SM
22852013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2286
4c9797cb
SM
2287 * subr.el (undefined): Add missing behavior from the C code for
2288 unbound keys.
2289
3472b6c6
SM
2290 * rect.el: Use lexical-binding. Add new rectangular region support.
2291 (rectangle-mark): New command.
2292 (rectangle--region): New var.
2293 (deactivate-mark-hook): Reset rectangle--region.
2294 (rectangle--extract-region, rectangle--insert-for-yank)
2295 (rectangle--highlight-for-redisplay)
2296 (rectangle--unhighlight-for-redisplay): New functions.
2297 (region-extract-function, redisplay-unhighlight-region-function)
2298 (redisplay-highlight-region-function): Use them to handle
2299 rectangular region.
2300 * simple.el (region-extract-function): New var.
2301 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2302 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2303 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2304 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2305 (redisplay-unhighlight-region-function)
2306 (redisplay-highlight-region-function): New vars.
2307 (redisplay--update-region-highlight): New function.
2308 (pre-redisplay-function): Use it.
2309 (exchange-point-and-mark): Don't deactivate the mark before
2310 reactivate-it anyway.
2311 * comint.el (comint-kill-region): Remove yank-handler argument.
2312 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2313 (delete-char): Remove property, since it's now part of their
2314 default behavior.
2315 (self-insert-iso): Remove property since this command doesn't exist.
2316
7e3561ee
SM
2317 * emacs-lisp/package.el (package--download-one-archive)
2318 (describe-package-1): Don't query the user about final newline.
2319
b9bef71f
DC
23202013-10-29 Daniel Colascione <dancol@dancol.org>
2321
2322 * net/tramp.el (tramp-methods): Document new functionality.
2323 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2324 tramp-hostname-checker if method provides one instead of scanning
2325 argument list for "%h" to decide hostname acceptability.
2326
4efc33f0
MA
23272013-10-28 Michael Albinus <michael.albinus@gmx.de>
2328
2329 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2330 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2331 Handle COPY-CONTENTS. (Bug#15737)
2332
ed42a877
DU
23332013-10-28 Daiki Ueno <ueno@gnu.org>
2334
2335 * epa-file.el
7e3561ee
SM
2336 (epa-file-cache-passphrase-for-symmetric-encryption):
2337 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2338
18c9f8a2
XF
23392013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2340
7a4bc7be
XF
2341 * image.el (defimage):
2342 (image-load-path): Doc fixes.
18c9f8a2 2343
b1e8e010
AM
23442013-10-27 Alan Mackenzie <acm@muc.de>
2345
2346 Indent statements in macros following "##" correctly.
7e3561ee
SM
2347 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2348 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2349
73d40d1e 23502013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2351
2352 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2353
c8c605ac
DG
23542013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2355
2356 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2357 after `=' is probably a new expression.
2358
ca7e59d4
RS
23592013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2360
2361 * man.el (man-imenu-title): New option.
2362 (Man-mode-map): Add menu. (Bug#15722)
2363 (Man-mode): Add imenu to menu.
2364
bae91342
DG
23652013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2366
2367 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2368 specific in what the first arg can be: a non-keyword word,
2369 string/regexp/percent literal opener, opening paren, or unary
2370 operator followed directly by word.
2371
eb89dc14
SM
23722013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2375 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2376 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2377 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2378 Remove vars, they do not apply any more.
2379 (prolog-mode-abbrev-table): Remove redundant declaration.
2380 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2381 (prolog-use-smie): Remove.
2382 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2383 supported by prolog-electric-if-then-else-flag.
2384 (prolog-mode-variables, prolog-menu): Use setq-local.
2385 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2386 Remove binding to `Backspace' since this key doesn't exist anyway.
2387 Remove bindings for electric self-inserting keys.
2388 (prog-mode): Assume it's defined.
2389 (prolog-post-self-insert): New function.
2390 (prolog-mode): Use it.
2391 (prolog-indent-line, prolog-indent-level)
2392 (prolog-find-indent-of-matching-paren)
2393 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2394 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2395 (prolog-goto-next-paren, prolog-in-string-or-comment)
2396 (prolog-tokenize, prolog-inside-mline-comment)
2397 (prolog-find-start-of-mline-comment): Remove functions.
2398 (prolog-find-unmatched-paren, prolog-clause-end)
2399 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2400 (prolog-electric--if-then-else): Rename from
2401 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2402 (prolog-tokenize-searchkey): Remove const.
2403 (prolog-clause-info): Use forward-sexp.
2404 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2405 (prolog-electric-if-then-else): Remove commands.
2406 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2407 for use in post-self-insert-hook.
2408 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2409 for use in post-self-insert-hook.
2410 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2411 for use in post-self-insert-hook.
2412 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2413 adapt it for use in post-self-insert-hook.
2414
3dab0a83
MA
24152013-10-25 Michael Albinus <michael.albinus@gmx.de>
2416
2417 * emacs-lisp/ert.el (ert-run-tests-interactively):
2418 Use `completing-read'. (Bug#9756)
2419
fbfd0e1d
EZ
24202013-10-25 Eli Zaretskii <eliz@gnu.org>
2421
2422 * simple.el (line-move): Call line-move-1 instead of
2423 line-move-visual when the current window hscroll is zero, but
2424 temporary-goal-column indicates we will need to hscroll as result
2425 of the movement. (Bug#15712)
2426
963ce636
DG
24272013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2428
2429 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2430 capitalization. Use :visible instead of :active.
2431 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2432 commands that are used with SMIE.
2433 (ruby-do-end-to-brace): Insert space after `{'.
2434
a0be396a
JA
24352013-10-25 John Anthony <john@jo.hnanthony.com>
2436
f73754c9
JA
2437 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2438
2439 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2440
f5bf77df
GM
24412013-10-25 Glenn Morris <rgm@gnu.org>
2442
2443 * vc/vc.el (vc-print-log): Don't use a working revision unless
2444 one was explicitly specified. (Bug#15322)
2445
37241f62
SM
24462013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * subr.el (add-to-list): Preserve return value in compiler-macro
2449 (bug#15692).
2450
6408a65d
RS
24512013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2452
2453 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2454 result. Ask user to retry using '-all' flag. (Bug#15701)
2455
71e3276b
SM
24562013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * emacs-lisp/smie.el: New smie-config system.
2459 (smie-config): New defcustom.
2460 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2461 (smie-config-guess, smie-config-save): New commands.
2462 (smie-config--mode-local, smie-config--buffer-local)
2463 (smie-config--trace, smie-config--modefuns): New vars.
2464 (smie-config--advice, smie-config--mode-hook)
2465 (smie-config--setter, smie-config-local, smie-config--get-trace)
2466 (smie-config--guess-value, smie-config--guess): New functions.
2467 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2468 text properties. Treat "string fence" syntax like string syntax.
2469
2470 * progmodes/sh-script.el (sh-use-smie): Change default.
2471 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2472 (sh-var-value): Simplify by CSE.
2473 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2474 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2475 is used.
2476 (sh-guess-basic-offset): Use cl-incf.
2477 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2478
60db713e
HE
24792013-10-24 Helmut Eller <eller.helmut@gmail.com>
2480
2481 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2482 (bug#15699).
2483
8b251df6
GM
24842013-10-24 Glenn Morris <rgm@gnu.org>
2485
2486 * Makefile.in (abs_top_srcdir): Remove.
2487 (update-subdirs): Use relative path to update-subdirs.
2488
6be0e22b
EZ
24892013-10-24 Eli Zaretskii <eliz@gnu.org>
2490
2491 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2492 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2493 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2494 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2495
50b5b857
MA
24962013-10-24 Michael Albinus <michael.albinus@gmx.de>
2497
2498 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2499 (ert-test-skipped): New error.
2500 (ert-skip, ert-stats-skipped): New defuns.
2501 (ert--skip-unless): New macro.
2502 (ert-test-skipped): New struct.
2503 (ert--run-test-debugger, ert-test-result-type-p)
2504 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2505 (ert--stats-set-test-and-result, ert-char-for-test-result)
2506 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2507 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2508 Handle skipped tests. (Bug#9803)
50b5b857 2509
6f317c2f
GM
25102013-10-24 Glenn Morris <rgm@gnu.org>
2511
e43817c1
GM
2512 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2513
6f317c2f
GM
2514 * Makefile.in (abs_top_srcdir): New, set by configure.
2515 (update-subdirs): Correct build-aux location.
2516
369bbf71
DG
25172013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2518
8297b2cf
DG
2519 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2520 value, whether we could auto-deduce `backend', or not.
2521
369bbf71
DG
2522 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2523 with parameters" example. Simplify the "is it block or is it
2524 hash" check, but also make it more thorough.
2525
d5f1282f
MF
25262013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2527
2528 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2529
bc4aaa31
SM
25302013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2531
03d44565
SM
2532 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2533 { if it is hanging.
2534
bc4aaa31
SM
2535 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2536 :before ";".
2537
f493ff19
JB
25382013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2539
2540 * progmodes/compile.el (compilation-directory-matcher)
2541 (compilation-page-delimiter):
2542 Support GNU Make-4.0 directory quoting. (Bug#15678)
2543
c744a3b9
LL
25442013-10-23 Leo Liu <sdl.web@gmail.com>
2545
2546 * ido.el (ido-tidy): Handle read-only text.
2547
b8e3b0a9
GM
25482013-10-23 Glenn Morris <rgm@gnu.org>
2549
2550 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2551 (emacs, compile, compile-always):
2552 Quote entities that might contain whitespace.
2553 (custom-deps, finder-data, autoloads): Use abs_lisp.
2554 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2555 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2556 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2557
ee4282cd
DG
25582013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2559
bc4aaa31
SM
2560 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2561 Use `following-char'.
7790a270 2562
ee4282cd 25632013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2564
2565 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2566 * progmodes/ruby-mode.el (ruby-smie-rules):
2567 Remove corresponding workaround. Fix indentation rule of ";" so it
2568 also applies when ";" is the parent.
2569
d40a46d7
XF
25702013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2571
2572 * frame.el (display-screens, display-pixel-height)
2573 (display-pixel-width, display-mm-width, display-backing-store)
2574 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2575 (display-visual-class, display-monitor-attributes-list):
2576 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2577
a0f143c9
MG
25782013-10-22 Michael Gauland <mikelygee@amuri.net>
2579
2580 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2581 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2582
18cacc39
DG
25832013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2584
2585 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2586 TODO. Add "." after " @ ".
2587 (ruby-smie--at-dot-call): New function. Checks if point at method
2588 call with explicit target.
2589 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2590 to the method name tokens when it precedes them.
2591 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2592 (ruby-smie-rules): Add rule for indentation before and after "."
2593 token.
2594
df74c4be
SM
25952013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2596
c6dab55f
SM
2597 * textmodes/remember.el (remember-diary-extract-entries):
2598 Avoid add-to-list.
2599
df74c4be
SM
2600 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2601 an instruction.
2602
8c1ae481
DG
26032013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2604
cfef16c0
DG
2605 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2606 (ruby-smie--implicit-semi-p): Add new operator chars.
2607
8c1ae481
DG
2608 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2609 `smie-down-list'.
2610 (ruby-smie--args-separator-p): Check that there's no newline
2611 between method call and its arguments.
2612
87756ca9
AM
26132013-10-20 Alan Mackenzie <acm@muc.de>
2614
2615 Allow comma separated lists after Java "implements".
2616
df74c4be
SM
2617 * progmodes/cc-engine.el (c-backward-over-enum-header):
2618 Parse commas.
87756ca9
AM
2619 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2620 from a "disallowed" list in enum fontification.
2621
c25f8957
JB
26222013-10-20 Johan Bockgård <bojohan@gnu.org>
2623
df74c4be 2624 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2625
c25f8957
JB
2626 * progmodes/verilog-mode.el (verilog-mode): Don't set
2627 comment-indent-function globally.
2628
aca5fcdc
JD
26292013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2630
5f161884
JD
2631 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2632 Move Info menu item creation to ns-win.el.
2633
2634 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2635 in menu bar.
2636
aca5fcdc
JD
2637 * menu-bar.el: Move GNUStep specific menus...
2638
2639 * term/ns-win.el (ns-initialize-window-system): ... to here.
2640
914b7f98
SM
26412013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2642
2643 * simple.el (newline): Only run post-self-insert-hook when
2644 called interactively.
2645
846ffe77
JB
26462013-10-19 Johan Bockgård <bojohan@gnu.org>
2647
2648 * icomplete.el (icomplete-with-completion-tables): Add :version.
2649
033f22dd
AM
26502013-10-19 Alan Mackenzie <acm@muc.de>
2651
2652 Fix fontification bugs with constructors and const.
2653
2654 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2655 CASE 2) Remove the check for the absence of a suffix construct
2656 after a function declaration with only types (no identifiers) in
2657 the parentheses. Also, accept a function declaration with just a
2658 type inside the parentheses, if this type can be positively
2659 recognised as such, or if a prefix keyword like "explicit" nails
2660 down the construct as a declaration.
2661
58ce0cfc
EZ
26622013-10-19 Eli Zaretskii <eliz@gnu.org>
2663
2664 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2665 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2666 the problem whereby selecting a menu item that leads to a
2667 minibuffer prompt moves the cursor out of the minibuffer window,
2668 making it hard to type at the prompt. Suggested by Stefan Monnier
2669 <monnier@iro.umontreal.ca>.
2670
50e28e7d
JD
26712013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2672
2673 * menu-bar.el: Don't make Services menu.
2674
7deed4bf
RS
26752013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2676
2677 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2678 (ffap-alist): Use ffap-c++-mode for c++-mode.
2679 (ffap-c++-path): New variable.
2680 (ffap-c++-mode): New function.
2681
7bcb455b
JVJ
26822013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2683
2684 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2685
f0ff1cd5
MA
26862013-10-18 Michael Albinus <michael.albinus@gmx.de>
2687
2688 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2689 introduced on 2013-09-08, which results in an infinite loop
2690 requesting a password.
2691
d64da4b7
GM
26922013-10-18 Glenn Morris <rgm@gnu.org>
2693
2694 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2695
ea89ff08
WS
26962013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2697
2698 Sync with upstream verilog-mode revision 1a6ecec7.
2699 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2700 (verilog-mode-release-date): Remove.
2701 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2702 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2703 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2704 (verilog-auto-tieoff-ignore-regexp)
2705 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2706 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2707 (verilog-signals-with, verilog-dir-cache-preserving)
2708 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2709 Doc fixes.
2710 (verilog-case-fold): New option, to control case folding in
2711 regexp searches, bug597.
2712 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2713 (verilog-string-match-fold, verilog-in-paren-count)
2714 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2715 (verilog-at-close-struct-p): New functions.
2716 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2717 (verilog-forward-sexp, verilog-set-auto-endcomments):
2718 (verilog-leap-to-case-head): Handle "unique0" case.
2719 (verilog-in-constraint-re): New constant.
2720 (verilog-keywords, verilog-type-font-keywords):
2721 Add some SystemVerilog 1800-2012 keywords.
2722 (verilog-label-be): Remove unimplemented argument, bug669.
2723 (verilog-batch-execute-func): When batch expanding clear
2724 create-lockfiles to prevent spurious user locks when a file ends
2725 up not changing.
2726 (verilog-calculate-indent, verilog-calc-1)
2727 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2728 (verilog-do-indent): Fix indentation of nested constraints
2729 and structures.
2730 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2731 (verilog-auto-inst-param): Use verilog-string-match-fold.
2732 (verilog-read-inst-module-matcher):
2733 Fix AUTOINST on gate primitives with #1.
2734 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2735 Reads all user-defined typed variables.
2736 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2737 (verilog-signals-matching-regexp)
2738 (verilog-signals-not-matching-regexp, verilog-auto):
2739 Respect verilog-case-fold.
2740 (verilog-diff-report): Fix line count.
2741 (verilog-auto-assign-modport): Remove unused local `modi'.
2742 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2743 better handle multidimensional arrays.
2744 Fix packed array ports misadding bit index in AUTOINST, bug637.
2745 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2746 to not double-declare existing outputs and inputs, respectively.
2747 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2748 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2749 (verilog-sk-uvm-component): New skeleton.
2750 (verilog-submit-bug-report): Add verilog-case-fold,
2751 remove verilog-mode-release-date.
2752
ef566920
BR
27532013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2754
2755 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2756 as before.
2757
29df8a0b
RT
27582013-10-18 Reuben Thomas <rrt@sc3d.org>
2759
2760 * textmodes/remember.el (remember): set buffer-offer-save in
2761 remember buffers (bug#13566).
2762
04a19a79
DC
27632013-10-18 Daniel Colascione <dancol@dancol.org>
2764
2765 When evaluating forms in ielm, direct standard output to ielm
2766 buffer. Add new ielm-return-for-effect command. Remove trailing
2767 whitespace throughout.
2768
2769 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2770 (ielm-return-for-effect): New command.
2771 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2772 (ielm-eval-input): Accept optional `for-effect' parameter.
2773 Bind `standard-output' to stream we create using
04a19a79
DC
2774 `ielm-standard-output-impl'. Suppress printing result when
2775 `for-effect'.
2776 (ielm-standard-output-impl): New function.
2777 (inferior-emacs-lisp-mode): Explain new features in documentation.
2778
4c1f03ef
MA
27792013-10-17 Michael Albinus <michael.albinus@gmx.de>
2780
2781 Code cleanup.
2782
2783 * net/tramp.el (tramp-debug-message): Do not check for connection
2784 buffer.
2785 (tramp-message): Use "vector" connection property.
2786
2787 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2788 (tramp-equal-remote, tramp-eshell-directory-change)
2789 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2790 (tramp-adb-handle-rename-file)
2791 * net/tramp-cmds.el (tramp-list-remote-buffers)
2792 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2793 * net/tramp-compat.el (tramp-compat-process-running-p)
2794 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2795 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2796 (tramp-gvfs-handle-rename-file)
2797 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2798 (tramp-set-file-uid-gid)
2799 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2800 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2801 of `file-remote-p'.
2802
2803 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2804 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2805 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2806 (tramp-gw-open-network-stream): Suppress unrelated traces.
2807
2808 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2809 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2810 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2811 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2812 connection property.
2813
2814 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2815 persistency file.
4c1f03ef
MA
2816
2817 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2818 Refactor common code. Improve debug message.
2819 (tramp-maybe-open-connection)
2820 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2821 connection buffer too early.
2822
2823 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2824 from `tramp-smb-actions-with-acl'.
2825 (tramp-smb-actions-set-acl): New defconst.
2826 (tramp-smb-handle-copy-directory)
2827 (tramp-smb-action-get-acl): New defun, renamed from
2828 `tramp-smb-action-with-acl'.
2829 (tramp-smb-action-set-acl): New defun.
2830 (tramp-smb-handle-set-file-acl): Rewrite.
2831
642eb8b6
GM
28322013-10-17 Glenn Morris <rgm@gnu.org>
2833
2834 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2835
85527ff3
SM
28362013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2837
921c1d62
SM
2838 * skeleton.el (skeleton-newline): Remove.
2839 (skeleton-internal-1): Use (insert "\n") instead.
2840
e333fb10
SM
2841 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2842 let-bindings.
2843
85527ff3
SM
2844 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2845 forward-sexp-function while we redo its job (bug#15613).
2846
c8722a97
JB
28472013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2848
2849 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2850 represented by lists.
2851
7a550bbb
GM
28522013-10-16 Glenn Morris <rgm@gnu.org>
2853
2854 * tmm.el (tmm--history): New dynamic variable.
2855 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2856
f19da8ad
MA
28572013-10-16 Michael Albinus <michael.albinus@gmx.de>
2858
2859 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2860 (tramp-smb-errors): Add error messages.
2861 (tramp-smb-actions-with-acl): New defconst.
2862 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2863 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2864 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2865 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2866 (tramp-smb-get-stat-capability): Fix tests.
2867
a24b9961
DK
28682013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2869
2870 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2871 (bug#15580).
2872
62ad85e6
GM
28732013-10-16 Glenn Morris <rgm@gnu.org>
2874
0283d6b0
GM
2875 * ansi-color.el (ansi-color-drop-regexp):
2876 Add 1J, 1K, 2K. (Bug#15617)
2877
012e2f9f
GM
2878 * files.el (hack-local-variables--warned-lexical): New.
2879 (hack-local-variables):
2880 Warn about misplaced lexical-binding. (Bug#15616)
2881
62ad85e6
GM
2882 * net/eww.el (eww-render): Always set eww-current-url,
2883 and update header line. (Bug#15622)
2884 (eww-display-html): ... Rather than just doing it here.
2885
6456c0ea
EZ
28862013-10-15 Eli Zaretskii <eliz@gnu.org>
2887
2888 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2889 menu navigations commands.
2890
c2de5588
DK
28912013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2892
2893 * progmodes/subword.el (subword-capitalize): Be careful when
2894 the search for [[:alpha:]] fails (bug#15580).
2895
ccd4a783
EZ
28962013-10-14 Eli Zaretskii <eliz@gnu.org>
2897
2898 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2899 to commands that scroll the menu.
2900
1eda1d8d
DG
29012013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2902
c2de5588
DK
2903 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2904 Handle methods ending with `?' and `!'.
1eda1d8d 2905
e70181b8
AM
29062013-10-14 Akinori MUSHA <knu@iDaemons.org>
2907
2908 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2909 `japanese-cp932' to `cp932' to fix the problem where saving a
2910 source file written in Shift_JIS twice would end up having
2911 `coding: japanese-cp932' which Ruby could not recognize.
2912 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2913 in `ruby-encoding-map'.
2914 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2915 doesn't need to be explicitly declared in magic comment.
2916 (ruby-encoding-map): Add type declaration for better customize UI.
2917
9148ee92
GM
29182013-10-13 Glenn Morris <rgm@gnu.org>
2919
a5d38e34
GM
2920 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2921 Occur buffers are read-only. http://bugs.debian.org/720775
2922
9148ee92
GM
2923 * emacs-lisp/authors.el (authors-fixed-entries):
2924 Comment out old alpha stuff.
2925
a9ba094b
DG
29262013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2927
2928 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2929 to `after-save-hook' instead of `before-save-hook'.
2930 (ruby-mode-set-encoding): Use the value of coding system used to
2931 write the file. Call `basic-save-buffer-1' after modifying the
2932 buffer.
2933
7a068717
AM
29342013-10-13 Alan Mackenzie <acm@muc.de>
2935
2936 Fix indentation/fontification of Java enum with
2937 "implements"/generic.
2938
c2de5588
DK
2939 * progmodes/cc-engine.el (c-backward-over-enum-header):
2940 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2941 (c-inside-bracelist-p): Uses new function above.
2942 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2943 function above.
2944 (c-font-lock-enum-tail): Uses new function above.
2945
85b64f02
KH
29462013-10-13 Kenichi Handa <handa@gnu.org>
2947
2948 * international/mule-cmds.el (select-safe-coding-system): Remove a
2949 superfluous condition in chekcing whether a coding system is safe
2950 or not.
2951
fc7f501b
OK
29522013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2953
2954 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2955
fdcb2049
AP
29562013-10-13 Andreas Politz <politza@hochschule-trier.de>
2957
2958 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2959
8c106d17
GM
29602013-10-13 Glenn Morris <rgm@gnu.org>
2961
feab892d
GM
2962 * menu-bar.el (menu-bar-update-buffers):
2963 Unify Buffers menu prompt string. (Bug#15576)
2964
b22d0686
GM
2965 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2966
8c106d17
GM
2967 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2968 Add some entries.
2969 (authors-fixed-entries): Use accented form of name.
2970
1b12c797
SM
29712013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2972
650fa7bf 2973 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2974 method calls (bug#15594).
650fa7bf
SM
2975 (ruby-smie--args-separator-p): New function.
2976 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2977 recognize paren-free method calls.
2978
1b12c797
SM
2979 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2980 internals of universal-argument.
2981
029619c8
EZ
29822013-10-11 Eli Zaretskii <eliz@gnu.org>
2983
2984 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2985 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2986 dropped menu on second mouse click on the menu bar.
029619c8 2987
dd070019
SM
29882013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2991 (explicit-shell-file-name): Declare.
2992 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2993 (sh-completion-at-point-function): New function.
2994 (sh-mode): Use it.
2995 (sh-smie--keyword-p): Remove unused argument.
2996 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2997 vars.
2998 (sh-set-shell): Always setup SMIE, even if we use the
2999 old indentation code.
3000
0922b826
DG
30012013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3002
b68e2926
DG
3003 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3004 cases of ? and =.
3005 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3006 predicate would return nil are almost non-existent.
3007 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3008
0922b826
DG
3009 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3010 cache also after commands that modify the buffer but don't move
3011 point.
3012
ee041f2d
SM
30132013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * env.el (substitute-env-in-file-name): New function.
3016 (substitute-env-vars): Extend the meaning of the optional arg.
3017
a5dab159
EZ
30182013-10-10 Eli Zaretskii <eliz@gnu.org>
3019
3020 * term/w32-win.el (dynamic-library-alist): Define separate lists
3021 of GIF DLLs for versions before and after 5.0.0 of giflib.
3022 (Bug#15531)
3023
0449d6cd 30242013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3025
3026 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3027 not locked, use last revision and current source as
3028 defaults. (Bug#15569)
3029
2f6e161e
MY
30302013-10-10 Masatake YAMATO <yamato@redhat.com>
3031
3032 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3033 menu-bar is hidden.
3034
6c8413fc
MR
30352013-10-10 Martin Rudalics <rudalics@gmx.at>
3036
3037 * window.el (pop-to-buffer-same-window): Fix doc-string.
3038 (Bug#15492)
3039
20832de0
SM
30402013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3043
c6e8ae77
AC
30442013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3045
3046 * calendar/icalendar.el (icalendar-import-file):
3047 Fix interactive spec. (Bug#15482)
3048
9db13baf
GM
30492013-10-10 Glenn Morris <rgm@gnu.org>
3050
9271e90e
GM
3051 * desktop.el (desktop-save): Default to saving in .emacs.d,
3052 since PWD is no longer in desktop-path by default. (Bug#15319)
3053
9db13baf
GM
3054 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3055 now that text mode has a menu with the same entry.
3056 (menu-bar-text-mode-auto-fill): Remove now unused func.
3057 * textmodes/text-mode.el (text-mode-map):
3058 Use auto-fill help text from menu-bar.el.
3059
a0be396a 30602013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3061
3062 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3063
2edcd3c7
JL
30642013-10-09 Juri Linkov <juri@jurta.org>
3065
3066 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3067 instead of this-command-keys. Add universal-argument-more and
3068 universal-argument-minus to the list of prefix commands. (Bug#15568)
3069
574411d0
GM
30702013-10-09 Glenn Morris <rgm@gnu.org>
3071
14afa541
GM
3072 * vc/vc-svn.el (vc-svn-create-repo):
3073 Expand paths in file://... url. (Bug#15446)
3074
574411d0
GM
3075 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3076 Add some entries.
3077 (authors): Remove unused local variables.
3078
79804536
SM
30792013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * profiler.el: Create a more coherent calltree from partial backtraces.
3082 (profiler-format): Hide the tail with `invisible' so that C-s can still
3083 find the hidden elements.
3084 (profiler-calltree-depth): Don't recurse so enthusiastically.
3085 (profiler-function-equal): New hash-table-test.
3086 (profiler-calltree-build-unified): New function.
3087 (profiler-calltree-build): Use it.
3088 (profiler-report-make-name-part): Indent the calltree less.
3089 (profiler-report-mode): Add visibility specs for profiler-format.
3090 (profiler-report-expand-entry, profiler-report-toggle-entry):
3091 Expand the whole subtree when provided with a prefix arg.
3092
238150c8
DG
30932013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3094
3095 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3096 iuwu-mod token.
3097 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3098 hanging iuwu-mod token.
3099 (ruby-smie--forward-token): Do not include a dot after a token in
3100 that token.
3101 (ruby-smie--backward-token): Likewise.
3102
b0949cc4
JL
31032013-10-08 Juri Linkov <juri@jurta.org>
3104
3105 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3106 to isearch-other-control-char.
3107 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3108 and isearch-post-command-hook to post-command-hook.
3109 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3110 and isearch-post-command-hook from post-command-hook.
3111 (isearch-unread-key-sequence)
3112 (isearch-reread-key-sequence-naturally)
3113 (isearch-lookup-scroll-key, isearch-other-control-char)
3114 (isearch-other-meta-char): Remove functions.
3115 (isearch-pre-command-hook, isearch-post-command-hook):
3116 New functions based on isearch-other-meta-char rewritten
3117 relying on the new behavior of overriding-terminal-local-map
3118 that does not replace the local keymaps any more. (Bug#15200)
3119
4ed77415
EZ
31202013-10-08 Eli Zaretskii <eliz@gnu.org>
3121
3122 Support menus on text-mode terminals.
3123 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3124 functionality.
3125
3126 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3127
c2de5588
DK
3128 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3129 Move here from mouse.el.
4ed77415
EZ
3130 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3131 and arrow keys.
3132 (tty-menu-navigation-map): New map for TTY menu navigation.
3133
3134 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3135
3136 * frame.el (display-mouse-p): Report text-mode mouse as available
3137 on w32.
3138 (display-popup-menus-p): Report availability if mouse is
3139 available; don't condition on window-system.
3140
3141 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3142 (tty-menu-selected-face): New faces.
3143
b7d5bd82
TL
31442013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3145
06286513
SM
3146 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3147 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3148 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3149 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3150 New constants.
3151 (lisp-mode-variables): New `elisp' argument.
3152 (emacs-lisp-mode): Use it.
3153 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3154 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3155
b7d5bd82
TL
3156 * indent.el: Use lexical-binding.
3157 (indent-region): Add progress reporter.
3158 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3159 last step.
3160 (indent--next-tab-stop): New function to implement this behavior.
3161 (tab-to-tab-stop, move-to-tab-stop): Use it.
3162
31632013-10-08 Teemu Likonen <tlikonen@iki.fi>
3164
3165 * indent.el (indent-rigidly--current-indentation): New function.
3166 (indent-rigidly-map): New var.
3167 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3168
5ea75d23
BG
31692013-10-08 Bastien Guerry <bzg@gnu.org>
3170
3171 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3172
cc5da1ec
SM
31732013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3174
8ffa1a0b
SM
3175 * progmodes/perl-mode.el: Use lexical-binding.
3176 Remove redundant :group args.
3177 (perl-nochange): Change default to be closer to other major modes's
3178 standard behavior.
3179 (perl-indent-line): Don't consider text on current line as a
3180 valid beginning of function from which to indent.
3181
f2223371
SM
3182 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3183 with more than one argument (bug#15538).
3184
44256060
SM
3185 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3186
cc5da1ec
SM
3187 * vc/pcvs.el: Use lexical-binding.
3188 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3189 environment of `eval'.
3190 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3191 than a list of expressions. Adjust callers.
3192 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3193
0ea1599d
DG
31942013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3195
3196 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3197 case of the dot in a chained method call being on the following line.
0ea1599d 3198
da3e5ebb
SM
31992013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3200
2abb4e65
SM
3201 * electric.el (electric-indent-inhibit): New var.
3202 (electric-indent-post-self-insert-function): Use it.
3203 * progmodes/python.el (python-mode): Set it.
3204
d2e0e795
SM
3205 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3206 open braces.
3207
3208 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3209
bdc6b4c8
SM
3210 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3211 (css-mode): Use electric-indent-chars.
3212
da3e5ebb
SM
3213 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3214 (font-lock-beg, font-lock-end): Move before first use.
3215 (nxml-mode): Use syntax-propertize-function.
3216 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3217 (nxml-extend-after-change-region): Remove.
3218 * nxml/xmltok.el: Use lexical-binding.
3219 (xmltok-save): Use `declare'.
3220 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3221 * nxml/nxml-util.el: Use lexical-binding.
3222 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3223 Use `declare'.
3224 * nxml/nxml-ns.el: Use lexical-binding.
3225 (nxml-ns-save): Use `declare'.
3226 (nxml-ns-prefixes-for): Avoid add-to-list.
3227 * nxml/rng-match.el: Use lexical-binding.
3228 (rng--ipattern): Use cl-defstruct.
3229 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3230 (rng-cons-group-after, rng-subst-group-after)
3231 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3232 Use closures instead of `(lambda...).
3233
f8f91d5d
MA
32342013-10-07 Michael Albinus <michael.albinus@gmx.de>
3235
3236 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3237 of BEG and END.
3238
da3e5ebb
SM
3239 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3240 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3241 (tramp-gvfs-handle-insert-file-contents): Remove function.
3242
da3e5ebb
SM
3243 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3244 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3245
3246 * net/trampver.el: Update release number.
3247
7ccae3b1
SM
32482013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3249
55ca2c0d
SM
3250 * progmodes/compile.el (compilation-parse-errors):
3251 Use compilation--put-prop.
3252 (compilation--ensure-parse): Check compilation-multiline.
3253
731fc3ae
SM
3254 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3255
da3e5ebb
SM
3256 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3257 lexical-binding.
a5833280 3258
2e7ba2c2
SM
3259 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3260
7ccae3b1
SM
3261 * progmodes/ruby-mode.el: Fix recently added tests.
3262 (ruby-smie-grammar): Add - and +.
3263 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3264 (ruby-smie--backward-id): New functions.
3265 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3266 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3267 any more.
3268
85698d63
LL
32692013-10-07 Leo Liu <sdl.web@gmail.com>
3270
3271 * register.el (register-preview-delay)
3272 (register-preview-functions): New variables.
3273 (register-read-with-preview, register-preview)
3274 (register-describe-oneline): New functions.
3275 (point-to-register, window-configuration-to-register)
3276 (frame-configuration-to-register, jump-to-register)
3277 (number-to-register, view-register, insert-register)
3278 (copy-to-register, append-to-register, prepend-to-register)
3279 (copy-rectangle-to-register): Use register-read-with-preview to
3280 read register. (Bug#15525)
3281
3986af6c
DS
32822013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3283
3284 * net/network-stream.el (network-stream-open-starttls): Don't add
3285 --insecure if it's already present, because that gnutls-cli
3286 rejects getting that parameter twice.
3287
5cd9cda9
DG
32882013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3289
3290 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3291 keyword, too.
3292
da9ea6d9
DG
32932013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3294
3295 * newcomment.el (comment-use-global-state): Change default value
3296 to t, mark obsolete (Bug#15251).
3297 (comment-beginning): In addition to `comment-to-syntax', check the
3298 value of `comment-use-global-state'.
3299
34d1a133
SM
33002013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3303 (ruby-comment-column): Follow the global default, by default.
3304 (ruby-smie-grammar): Add assignment syntax.
3305 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3306 open-paren, a comma, or a \.
3307 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3308 and line continuations.
3309 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3310 followed by implicit semi-colons. Add rule for string concatenation
3311 and for indentation at BOB.
3312 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3313
3314 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3315 calling next-sexp, since next-token may have skipped chars which
3316 next-sexp doesn't know should be skipped!
3317
6f6ab820
LL
33182013-10-05 Leo Liu <sdl.web@gmail.com>
3319
34d1a133
SM
3320 * progmodes/octave.el (octave-send-region):
3321 Call compilation-forget-errors.
6f6ab820 3322
34ca0f4c
XF
33232013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3324
3325 * vc/vc-svn.el (vc-svn-find-admin-dir):
3326 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3327 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3328 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3329 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3330
a27c1b72
SM
33312013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3332
3333 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3334
258ab3bc
SM
33352013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3336
3337 * subr.el (read-passwd): Hide chars even when called within a context
3338 where after-change-functions is disabled (bug#15501).
3339 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3340 until we removed ourself from overriding-terminal-local-map.
3341
939fb29c
LL
33422013-10-04 Leo Liu <sdl.web@gmail.com>
3343
258ab3bc
SM
3344 * progmodes/octave.el (inferior-octave-mode):
3345 Call compilation-forget-errors.
939fb29c 3346
63bd7f35
XF
33472013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3348
3349 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3350
9e6229fa
MA
33512013-10-04 Michael Albinus <michael.albinus@gmx.de>
3352
3353 * net/secrets.el (secrets-create-collection): Add optional
3354 argument ALIAS. Use proper Label keyword. Append ALIAS as
3355 dbus-call-method argument. (Bug#15516)
3356
1dab32a3
LL
33572013-10-04 Leo Liu <sdl.web@gmail.com>
3358
3359 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3360 (inferior-octave-compilation-font-lock-keywords): New variables.
3361 (compilation-error-regexp-alist)
3362 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3363 (inferior-octave-mode): Use compilation-shell-minor-mode.
3364
6cad7ba3
JS
33652013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3366
3367 * minibuffer.el (completion--replace): Be careful that `end' might be
3368 a marker.
3369
acbadd00
DU
33702013-10-03 Daiki Ueno <ueno@gnu.org>
3371
3372 Add support for package signature checking.
3373 * emacs-lisp/package.el (url-http-file-exists-p)
3374 (epg-make-context, epg-context-set-home-directory)
3375 (epg-verify-string, epg-context-result-for)
3376 (epg-signature-status, epg-signature-to-string)
3377 (epg-check-configuration, epg-configuration)
3378 (epg-import-keys-from-file): Declare.
3379 (package-check-signature): New user option.
3380 (package-unsigned-archives): New user option.
3381 (package-desc): Add `signed' field.
3382 (package-load-descriptor): Set `signed' field if .signed file exists.
3383 (package--archive-file-exists-p): New function.
3384 (package--check-signature): New function.
3385 (package-install-from-archive): Check package signature.
3386 (package--download-one-archive): Check archive signature.
3387 (package-delete): Remove .signed file.
3388 (package-import-keyring): New command.
3389 (package-refresh-contents): Import default keyring.
3390 (package-desc-status): Add "unsigned" status.
3391 (describe-package-1, package-menu--print-info)
3392 (package-menu-mark-delete, package-menu--find-upgrades)
3393 (package-menu--status-predicate): Support "unsigned" status.
3394
adf2aa61
SM
33952013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3398 the new compilation scheme using the new byte-codes.
3399
3400 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3401 (byte-pophandler): New byte codes.
3402 (byte-goto-ops): Adjust accordingly.
3403 (byte-compile--use-old-handlers): New var.
3404 (byte-compile-catch): Use new byte codes depending on
3405 byte-compile--use-old-handlers.
3406 (byte-compile-condition-case--old): Rename from
3407 byte-compile-condition-case.
3408 (byte-compile-condition-case--new): New function.
3409 (byte-compile-condition-case): New function that dispatches depending
3410 on byte-compile--use-old-handlers.
3411 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3412 when we can.
3413
3414 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3415 Optimize under `condition-case' and `catch' if
3416 byte-compile--use-old-handlers is nil.
3417 (disassemble-offset): Handle new bytecodes.
3418
328a8179
SM
34192013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * subr.el (error): Use `declare'.
3422 (decode-char, encode-char): Use advertised-calling-convention instead
3423 of the docstring to discourage use of the `restriction' arg.
3424
15a1e936
DU
34252013-10-03 Daiki Ueno <ueno@gnu.org>
3426
3427 * epg.el (epg-verify-file): Add a comment saying that it does not
3428 notify verification error as a return value nor a signal.
3429 (epg-verify-string): Ditto.
3430
376f862a
KR
34312013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3432
3433 * progmodes/compile.el (compilation-start): Try globbing the arg to
3434 `cd' (bug#15417).
3435
a2f93a5f
MA
34362013-10-02 Michael Albinus <michael.albinus@gmx.de>
3437
3438 Sync with Tramp 2.2.8.
3439
3440 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3441 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3442 * net/trampver.el: Update release number.
3443
0daa0804
JD
34442013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3445
3446 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3447 and default-process-coding-system for darwin only.
3448
abd1ae34
SM
34492013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3452
be4e325d
MH
34532013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3454
3455 * vc/vc-git.el (vc-git-grep): Disable pager.
3456
e9155c4a
DG
34572013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3458
494e898b
DG
3459 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3460 Use :url instead of :homepage, as per
3461 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3462
e9155c4a
DG
3463 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3464 non-nil, use `syntax-ppss' (Bug#15251).
3465
481a8e0f
RS
34662013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3467
be4e325d
MH
3468 * progmodes/octave.el (inferior-octave-startup-file):
3469 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3470
056453c6
DG
34712013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3472
be4e325d
MH
3473 * emacs-lisp/package.el (package-desc-from-define):
3474 Accept additional arguments as plist, convert them to an alist and store
3475 them in the `extras' slot.
056453c6
DG
3476 (package-generate-description-file): Convert extras alist back to
3477 plist and append to the `define-package' form arguments.
3478 (package--alist-to-plist): New function.
3479 (package--ac-desc): Add `extras' slot.
3480 (package--add-to-archive-contents): Check if the archive-contents
3481 vector is long enough, and if it is, pass its `extras' slot value
3482 to `package-desc-create'.
3483 (package-buffer-info): Call `lm-homepage', pass the returned value
3484 to `package-desc-from-define'.
3485 (describe-package-1): Render the homepage button (Bug#13291).
3486
be4e325d
MH
3487 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3488 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3489
832966e5
JD
34902013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3491
3492 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3493 and default-process-coding-system to utf-8-unix (Bug#15402).
3494
6cfe977d
XF
34952013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3496
3497 * subr.el (looking-back): Do not recommend using looking-back.
3498
38de11bd
AM
34992013-09-28 Alan Mackenzie <acm@muc.de>
3500
3501 Fix indentation/fontification of Java enum with "implements".
3502
3503 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3504 regexp which matches "implements", etc., in Java.
3505 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3506 specifier clauses coming after "enum".
3507 * progmodes/cc-fonts.el (c-font-lock-declarations)
3508 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3509 after "enum".
3510
1610938f
JD
35112013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3512
3513 * faces.el (region): Change ns_selection_color to
3514 ns_selection_fg_color, add ns_selection_bg_color.
3515
e090f499
LL
35162013-09-28 Leo Liu <sdl.web@gmail.com>
3517
4d2e94d1
LL
3518 * progmodes/octave.el (inferior-octave-completion-table)
3519 (inferior-octave-completion-at-point): Minor tweaks.
3520
e090f499
LL
3521 * textmodes/ispell.el (ispell-lookup-words): Rename from
3522 lookup-words. (Bug#15460)
3523 (lookup-words): Obsolete.
3524 (ispell-complete-word, ispell-command-loop): All uses changed.
3525
7e138a62
RS
35262013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3527
3528 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3529 (octave-mode-menu): Add octave-send-buffer.
3530 (octave-send-buffer): New function.
3531
5af5ed08
RS
35322013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3533
3534 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3535 octave-lookfor.
3536 (octave-mode-menu): Add octave-lookfor.
3537 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3538 octave-lookfor.
3539 (octave-lookfor): New function.
3540
3b7b2692
SM
35412013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3542
3543 * emacs-lisp/cl-macs.el:
3544 (cl--loop-destr-temps): Remove.
3545 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3546 its convention.
3547 (cl--loop-set-iterator-function): New function.
3548 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3549 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3550 Bind `it' with `let' instead of substituting it with `cl-subst'.
3551 (cl--unused-var-p): New function.
3552 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3553 Eliminate some unused variable warnings (bug#15326).
3554
529fb53f
TH
35552013-09-27 Tassilo Horn <tsdh@gnu.org>
3556
3557 * doc-view.el (doc-view-scale-reset): Rename from
3558 `doc-view-reset-zoom-level'.
3559 (doc-view-scale-adjust): New command.
3560 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3561 `doc-view-scale-adjust'.
3562
0550c95a
TH
35632013-09-26 Tassilo Horn <tsdh@gnu.org>
3564
3565 * doc-view.el (doc-view-reset-zoom-level): New command.
3566 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3567 zoom commands (bug#15466).
3568
6950f152
KH
35692013-09-26 Kenichi Handa <handa@gnu.org>
3570
3571 * international/quail.el (quail-help): Make it not a command.
3572
39587580
LL
35732013-09-26 Leo Liu <sdl.web@gmail.com>
3574
3575 * minibuffer.el (completion-all-sorted-completions): Make args
3576 optional as they are.
3577
00578659
DC
35782013-09-25 Daniel Colascione <dancol@dancol.org>
3579
3580 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3581 specs are and that they're not evaluated.
3582
0c173878
SS
35832013-09-24 Sam Steingold <sds@gnu.org>
3584
3585 * midnight.el (clean-buffer-list-kill-regexps)
3586 (clean-buffer-list-kill-buffer-names): Update for the new Man
3587 buffer naming which includes the object name.
3588
84998447
SM
35892013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3590
3591 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3592 (eshell-parse-command, eshell-parse-pipeline): Use it since
3593 eshell-separate-commands requires a dynamic scoped var.
3594 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3595
33215353
LL
35962013-09-23 Leo Liu <sdl.web@gmail.com>
3597
3598 * autoinsert.el (auto-insert-alist): Make the value of
3599 lexical-binding match its file setting.
3600
57b16162
JB
36012013-09-23 Juanma Barranquero <lekktu@gmail.com>
3602
c8af4e67
JB
3603 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3604
57b16162
JB
3605 * autoarg.el (autoarg-kp-digit-argument):
3606 * electric.el (Electric-command-loop):
3607 * kmacro.el (kmacro-step-edit-insert):
3608 Do not set universal-argument-num-events.
3609
7186ba60
LL
36102013-09-22 Leo Liu <sdl.web@gmail.com>
3611
3612 * files.el (interpreter-mode-alist): Add octave.
3613
ece15004
AM
36142013-09-21 Alan Mackenzie <acm@muc.de>
3615
3616 C++: fontify identifier in declaration following "public:" correctly.
3617 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3618 to match "public", etc.
3619 (c-decl-prefix-re): Add ":" into the C++ value.
3620 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3621 bit. Add a check for a ":" preceded by "public", etc.
3622
75d83e22
EZ
36232013-09-21 Eli Zaretskii <eliz@gnu.org>
3624
3625 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3626 recognized by GDB 7.5 and later.
3627
d052d3bd
XF
36282013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3629
3630 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3631
31dca772
R
36322013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * subr.el (internal--call-interactively): New const.
3635 (called-interactively-p): Use it (bug#3984).
3636
98ccf24e
XF
36372013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3638
3639 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3640 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3641 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3642
c39cc7d1
SM
36432013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3646 (eshell-ls-orig-insert-directory): Remove.
3647 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3648 (eshell-ls-use-in-dired): Use advice-add/remove.
3649 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3650 Add `orig-fun' arg for use in :around advice.
3651 Make it check (redundantly) eshell-ls-use-in-dired.
3652
9a0289a2
GM
36532013-09-19 Glenn Morris <rgm@gnu.org>
3654
a2c501b8
GM
3655 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3656
c440407a
GM
3657 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3658
9a0289a2
GM
3659 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3660
85e05915
MA
36612013-09-19 Michael Albinus <michael.albinus@gmx.de>
3662
3663 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3664 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3665 (tramp-get-remote-python): New defuns.
3666 (tramp-get-remote-uid-with-perl)
3667 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3668 contributed by yary <not.com@gmail.com> (tiny change).
3669 (tramp-get-remote-uid-with-python)
3670 (tramp-get-remote-gid-with-python): New defuns. Python code
3671 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3672 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3673
ce503312
GM
36742013-09-19 Glenn Morris <rgm@gnu.org>
3675
f7544773
GM
3676 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3677
72fd2877
GM
3678 * eshell/em-unix.el (eshell-remove-entries):
3679 Rename argument to avoid name-clash with global `top-level'.
3680
336b5a56
GM
3681 * eshell/esh-proc.el (eshell-kill-process-function):
3682 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3683 (eshell-reset-after-proc): Remove unused arg `proc'.
3684
57a3a53d
GM
3685 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3686 (directory-files-and-attributes): Mark unused arg.
3687
3261d4af
GM
3688 * eshell/em-unix.el (eshell-remove-entries):
3689 Remove unused arg `path'. Update callers.
3690
8e51b5d0
GM
3691 * eshell/em-hist.el (eshell-hist-parse-arguments):
3692 Remove unused arg `silent'. Update callers.
3693
ce503312
GM
3694 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3695 Fix (f)boundp mix-up.
3696
3697 * eshell/em-smart.el (eshell-smart-scroll-window)
3698 (eshell-disable-after-change):
336b5a56 3699 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3700
ee3ce8a7
AM
37012013-09-18 Alan Mackenzie <acm@muc.de>
3702
3703 Fix fontification of type when followed by "const".
3704 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3705 "known" types from fontification.
3706
ec9177ba
GM
37072013-09-18 Glenn Morris <rgm@gnu.org>
3708
7bb3e768
GM
3709 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3710 (chart-face-list): Drop Emacsen without display-color-p.
3711
5148da15
GM
3712 * net/eww.el (libxml-parse-html-region): Declare.
3713 (eww-display-html): Explicit error if no libxml2 support.
3714
2f68e157
GM
3715 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3716
9019d095
GM
3717 * image.el (image-type-from-buffer, image-multi-frame-p):
3718 Remove --without-x warning/error.
67645389 3719
5f30349b 3720 * mouse.el (mouse-yank-primary):
45069b2e 3721 * term.el (term-mouse-paste):
5f30349b
GM
3722 Reorder to silence --without-x compilation.
3723
cd8edbbe
GM
3724 * mpc.el (doc-view-mode): Silence --without-x compilation.
3725
8a78544e
GM
3726 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3727 Silence --without-x compilation.
3728
12679bfd
GM
3729 * progmodes/gud.el (gud-find-file, gud-mode):
3730 Silence --without-x compilation.
3731 (tooltip-mode): Declare.
30810a05 3732
f0047cb9
GM
3733 * wdired.el (dired-backup-overwrite): Remove declaration.
3734 (wdired-mode-map): Add doc string.
3735
e740f9d2
GM
3736 * custom.el (x-get-resource): Declare.
3737
92d77c89
GM
3738 * eshell/em-glob.el (ange-cache):
3739 * eshell/em-unix.el (ange-cache): Declare.
3740
76e69577
GM
3741 * faces.el (x-display-list, x-open-connection, x-get-resource):
3742 Declare.
7e58af4b
GM
3743
3744 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3745 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3746 Declare.
76e69577 3747
4bd4c0af 3748 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3749
ffb82dbd
GM
3750 * net/gnutls.el (gnutls-log-level): Declare.
3751
986ed135
GM
3752 * net/shr.el (image-size, image-animate): Declare.
3753
e740f9d2
GM
3754 * simple.el (font-info): Declare.
3755
d2f3e9f8
GM
3756 * subr.el (x-popup-dialog): Declare.
3757
047a1a4c
GM
3758 * term/common-win.el (x-select-enable-primary)
3759 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3760 Declare.
3761
f4a1d572
GM
3762 * term/ns-win.el (x-handle-args): Declare.
3763
e843de77
GM
3764 * term/x-win.el (x-select-enable-clipboard): Declare.
3765
5fa89513
GM
3766 * term/w32-win.el (create-default-fontset): Declare.
3767
38702b5b
GM
3768 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3769 Declare.
3770
e740f9d2
GM
3771 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3772 (fit-frame-to-buffer): Explicit error if --without-x.
3773 (mouse-autoselect-window-select): Silence compiler.
3774
49a053fc
GM
3775 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3776
3777 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3778 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3779 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3780 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3781 Remove unused local variables.
3782
3783 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3784
ec9177ba
GM
3785 * textmodes/two-column.el: Make 2C-split work for --without-x.
3786 (scroll-bar-columns): Autoload.
3787 (top-level): Require fringe when compiling.
3788
9f25cb77
LL
37892013-09-18 Leo Liu <sdl.web@gmail.com>
3790
3791 * subr.el (add-hook): Robustify to handle closure as well.
3792
2b42da98
GM
37932013-09-17 Glenn Morris <rgm@gnu.org>
3794
3795 * simple.el (messages-buffer-mode-map): Unbind "g".
3796
e8b66a6a
SM
37972013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3798
9c0ad4f7
SM
3799 * help-mode.el (help-mode-finish): Use derived-mode-p.
3800 Remove obsolete highlighting.
3801
7a806dfb
SM
3802 * play/life.el (life-mode): Use define-derived-mode. Derive from
3803 special-mode.
3804 (life): Let-bind inhibit-read-only.
3805 (life-setup): Avoid `setq'. Use `life-mode'.
3806
96dbf5a8
SM
3807 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3808 which should not be needed any more.
3809 (package-menu-refresh, package-menu-describe-package): Use user-error.
3810
e8b66a6a
SM
3811 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3812 (eshell-post-rewrite-command-hook): Make obsolete.
3813 (eshell-parse-command): Simplify.
3814 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3815 (eshell--cmd): Declare.
3816 (eshell-parse-pipeline): Remove unused var `final-p'.
3817 Pass a dynvar to eshell-post-rewrite-command-hook.
3818 Implement the new eshell-post-rewrite-command-function.
3819 (eshell-invoke-directly): Remove unused arg `input'.
3820 * eshell/esh-io.el (eshell-io-initialize):
3821 Use eshell-post-rewrite-command-function (bug#15399).
3822 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3823 adjust to new calling convention.
3824 (eshell-create-handles): Rename args to avoid clashing with dynvar
3825 `standard-output'.
3826
90582f05
GM
38272013-09-17 Glenn Morris <rgm@gnu.org>
3828
3829 * simple.el (messages-buffer-mode): New major mode.
3830 (messages-buffer): New function.
3831 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3832 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3833 (ert-run-test): Use `messages-buffer' function.
90582f05 3834 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3835 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3836 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3837
39eb0cb5 38382013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3839
3840 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3841
1d42e5b6 3842 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 3843
70568a90
SM
38442013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3845
504a0381
SM
3846 * icomplete.el (icomplete-in-buffer): New var.
3847 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3848 vars and replace them with functions.
3849 (icomplete-minibuffer-setup): Adjust accordingly.
3850 (icomplete--completion-table, icomplete--completion-predicate)
3851 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3852 New functions.
3853 (icomplete-forward-completions, icomplete-backward-completions)
3854 (icomplete-simple-completing-p, icomplete-exhibit)
3855 (icomplete-completions): Use them.
3856 (icomplete--in-region-buffer): New var.
3857 (icomplete--in-region-setup): New function.
3858 (icomplete-mode): Use it.
3859
70568a90
SM
3860 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3861 (bug#15379).
3862 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3863 return args and options.
3864 (eshell-eval-using-options): Use the new return value of
3865 eshell--do-opts to set the options's vars in their scope.
3866 (eshell--set-option): Rename from eshell-set-option.
3867 Add arg `opt-vals'.
3868 (eshell--process-option): Rename from eshell-process-option.
3869 Add arg `opt-vals'.
3870 (eshell--process-args): Use an `opt-vals' alist to store the options's
3871 values during their processing and return them additionally to the
3872 remaining args.
3873
578c21bc
DG
38742013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3875
3876 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3877 continuation character an operator, as far as indentation is
3878 concerned (Bug#15369).
3879
c089653d
MR
38802013-09-15 Martin Rudalics <rudalics@gmx.at>
3881
3882 * window.el (window--state-put-2): Don't process buffer state
3883 when buffer doesn't exist any more (Bug#15382).
3884
1e53bb4b
GM
38852013-09-15 Glenn Morris <rgm@gnu.org>
3886
30753242
GM
3887 * eshell/em-unix.el (eshell/rm):
3888 Make -f ignore missing files. (Bug#15373)
3889
1e53bb4b
GM
3890 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3891 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3892 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3893
0d8863b3
GM
38942013-09-14 Glenn Morris <rgm@gnu.org>
3895
3896 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3897
d3fc6549
GM
38982013-09-13 Glenn Morris <rgm@gnu.org>
3899
3900 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3901 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3902
fcd42c11
DA
39032013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3904
3905 * frame.el (x-focus-frame): Mark as declared in frame.c.
3906
7830899f
SM
39072013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3908
3909 * ls-lisp.el: Use advice-add.
3910 (original-insert-directory): Remove.
3911 (ls-lisp--insert-directory): Rename from insert-directory; add
3912 `orig-fun' argument.
3913 (insert-directory): Advise.
3914
84387cd2
EZ
39152013-09-13 Eli Zaretskii <eliz@gnu.org>
3916
3917 * term.el (term-emulate-terminal): Decode the command string
3918 before passing it to term-command-hook. (Bug#15337)
3919
35ffc6ba
GM
39202013-09-13 Glenn Morris <rgm@gnu.org>
3921
5c3f9bcc
GM
3922 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3923
2ada368a
GM
3924 * eshell/esh-ext.el (eshell-search-path): Declare.
3925
fcef2e13
GM
3926 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3927 Otherwise an error occurs if eshell-dirs module not loaded.
3928
35ffc6ba
GM
3929 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3930
35c3d36e
MA
39312013-09-13 Michael Albinus <michael.albinus@gmx.de>
3932
3933 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3934 `tramp-check-proper-host'. Check for a valid method name.
3935
3936 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3937 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3938 * net/tramp-sh.el (tramp-maybe-open-connection):
3939 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3940
3941 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3942 also for hash values.
3943
ae5e4c48
SM
39442013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3945
379add74
SM
3946 * term/ns-win.el (parameters): Don't declare as dynamic.
3947 (before-make-frame-hook): Don't add ineffective function.
3948
ae5e4c48
SM
3949 * eshell/*.el: Use lexical-binding (bug#15231).
3950
b5623270
KH
39512013-09-12 Kenichi Handa <handa@gnu.org>
3952
ae5e4c48 3953 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3954
30213927
GM
39552013-09-12 Glenn Morris <rgm@gnu.org>
3956
be94d713 3957 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3958 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3959
44915370
GM
3960 * subr.el (do-after-load-evaluation): Also give compiler warnings
3961 when obsolete files are used (except by obsolete files).
3962
a6ae021f
GM
3963 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3964 in the status output, assume `filename' is the first. (Bug#15322)
3965
40e64f0c
GM
3966 * vc/vc.el (vc-deduce-fileset): Doc fix.
3967
16d9f896
GM
3968 * calc/calc-help.el (Info-goto-node):
3969 * progmodes/cperl-mode.el (Info-find-node):
3970 * vc/ediff.el (Info-goto-node): Update declarations.
3971
dea01c6e
GM
3972 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3973
759880bf 3974 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3975 (vc-bzr-pull): Require vc-dispatcher.
3976 * vc/vc-git.el (vc-compilation-mode): Declare.
3977 (vc-git-pull): Require vc-dispatcher.
3978
08d66420
GM
3979 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3980
30b626e9
GM
3981 * progmodes/octave.el (help-button-action): Declare.
3982
8c05cb10
GM
3983 * shell.el (shell-directory-tracker): Output error as a message
3984 rather than just returning it as a string.
3985 (shell-process-pushd): Remove useless use of message.
3986
30213927
GM
3987 * dframe.el (dframe-timer-fn):
3988 * files.el (dir-locals-read-from-file):
3989 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3990 (mpc-format):
3991 * reveal.el (reveal-post-command):
3992 * saveplace.el (load-save-place-alist-from-file):
3993 * shell.el (shell-resync-dirs):
3994 * w32-common-fns.el (x-get-selection-value):
3995 * emacs-lisp/copyright.el (copyright-find-copyright):
3996 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3997 * emulation/tpu-edt.el (tpu-copy-keyfile):
3998 * play/bubbles.el (bubbles--mark-neighbourhood):
3999 * progmodes/executable.el
4000 (executable-make-buffer-file-executable-if-script-p):
4001 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4002
d3b049e6
SM
40032013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4004
170266d0
SM
4005 Cleanup Eshell to rely less on dynamic scoping.
4006 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4007 last-value, and ext-command here. Bind `args' closer to `body'.
4008 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4009 (eshell--args): Declare new dynamic var.
4010 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4011 last-value, and ext-command. Pass `args' to `body'.
4012 (eshell-process-args): Bind eshell--args.
4013 (eshell-set-option): Use eshell--args.
4014 * eshell/eshell.el (eshell): Use derived-mode-p.
4015 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4016 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4017 (eshell-glob-function): Declare.
4018 * eshell/esh-util.el: Require cl-lib.
4019 (eshell-read-hosts-file): Avoid add-to-list.
4020 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4021 `err'.
4022 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4023 Declare.
4024 (eshell/diff): Remove unused var `err'.
4025 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4026 `killflag'.
4027 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4028 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4029 first use.
4030 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4031 Move declaration before first use.
4032 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4033 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4034 rely on cl-return.
4035
56834f3b
GM
40362013-09-12 Glenn Morris <rgm@gnu.org>
4037
4038 * term/ns-win.el (global-map): Remove binding for ispell-next,
4039 deleted 1999-05-29. (Bug#15357)
4040
5c91a2b8
GM
40412013-09-11 Glenn Morris <rgm@gnu.org>
4042
da712f22
GM
4043 * echistory.el (electric-command-history): Remove call to deleted func.
4044
512e4cdc
GM
4045 * play/landmark.el (landmark-mode): Fix typos.
4046
d3506ca5
GM
4047 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4048 Check cvs-sort-ignore-file is bound.
4049
5c91a2b8
GM
4050 * savehist.el: No need for cl when compiling on Emacs.
4051
feeff482
SM
40522013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4053
656bd483
SM
4054 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4055 (bug#15338).
d3b049e6
SM
4056 (eshell-self-insert-command, eshell-send-invisible):
4057 Remove unused argument.
656bd483
SM
4058 (eshell-handle-control-codes): Remove unused var `orig'.
4059 Avoid delete-backward-char.
4060
feeff482
SM
4061 * files.el (set-auto-mode): Simplify a bit further.
4062
2a08047a
GM
40632013-09-11 Glenn Morris <rgm@gnu.org>
4064
4065 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4066 (set-auto-mode): Don't regexp-quote elements.
4067 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4068 * progmodes/cc-mode.el (interpreter-mode-alist):
4069 * progmodes/ruby-mode.el (interpreter-mode-alist):
4070 Revert previous change.
4071
34675540
SM
40722013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4073
1b3b87df
SM
4074 * play/snake.el (snake-mode):
4075 * play/mpuz.el (mpuz-mode):
4076 * play/landmark.el (lm-mode):
4077 * play/blackbox.el (blackbox-mode):
4078 * play/5x5.el (5x5-mode):
4079 * obsolete/options.el (Edit-options-mode):
4080 * net/quickurl.el (quickurl-list-mode):
4081 * net/newst-treeview.el (newsticker-treeview-mode):
4082 * mail/rmailsum.el (rmail-summary-mode):
4083 * mail/mspools.el (mspools-mode):
4084 * locate.el (locate-mode):
4085 * ibuffer.el (ibuffer-mode):
4086 * emulation/ws-mode.el (wordstar-mode):
4087 * emacs-lisp/debug.el (debugger-mode):
4088 * array.el (array-mode):
4089 * net/eudc.el (eudc-mode): Use define-derived-mode.
4090 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4091 Move initialization into declaration.
4092 (mairix-searches-mode): Use define-derived-mode.
4093 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4094 (eudc-edit-hotlist): Use dolist.
4095 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4096 (Man-mode): Use define-derived-mode.
4097 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4098 (Info-edit-mode): Use define-derived-mode.
4099 (Info-cease-edit): Use Info-mode.
4100 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4101 into declaration.
4102 (eshell-mode): Use define-derived-mode.
4103 * chistory.el (command-history-mode-map): Rename from
4104 command-history-map.
4105 (command-history-mode): Use define-derived-mode.
da712f22 4106 (Command-history-setup): Remove function.
1b3b87df
SM
4107 * calc/calc.el (calc-trail-mode-map): New var.
4108 (calc-trail-mode): Use define-derived-mode.
4109 (calc-trail-buffer): Set calc-main-buffer manually.
4110 * bookmark.el (bookmark-insert-annotation): New function.
4111 (bookmark-edit-annotation): Use it.
4112 (bookmark-edit-annotation-mode): Make it a proper major mode.
4113 (bookmark-send-edited-annotation): Use derived-mode-p.
4114 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4115 closer to its ideal place. Use \' to match EOS.
4116
34675540
SM
4117 * profiler.el (profiler-calltree-find): Use function-equal.
4118
6a5c15d9
GM
41192013-09-10 Glenn Morris <rgm@gnu.org>
4120
1af4c220
GM
4121 * files.el (interpreter-mode-alist): Convert to regexps.
4122 (set-auto-mode): Adapt for this. (Bug#15306)
4123 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4124 Comment out unused variable.
4125 * progmodes/cc-mode.el (interpreter-mode-alist):
4126 * progmodes/python.el (interpreter-mode-alist):
4127 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4128 * progmodes/sh-script.el (sh-set-shell):
4129 No longer use interpreter-mode-alist to get list of shells.
4130
6a5c15d9
GM
4131 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4132
8c27f5ff
SM
41332013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4134
02ef6c1a 4135 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4136 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4137 Bind switch-frame explicitly. Replace universal-argument-minus with
4138 a conditional binding.
4139 (universal-argument-num-events, saved-overriding-map): Remove.
4140 (restore-overriding-map): Remove.
4141 (universal-argument--mode): Rename from save&set-overriding-map,
4142 and rewrite.
4143 (universal-argument, universal-argument-more, negative-argument)
4144 (digit-argument): Adjust accordingly.
4145 (universal-argument-minus): Remove.
4146 (universal-argument-other-key): Remove.
4147
8c27f5ff
SM
4148 * subr.el (with-demoted-errors): Add `format' argument.
4149
6480194c
MA
41502013-09-10 Michael Albinus <michael.albinus@gmx.de>
4151
4152 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4153 `tramp-cleanup-connection'.
4154
4155 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4156 parameters KEEP-DEBUG and KEEP-PASSWORD.
4157
4158 * net/tramp.el (tramp-file-name-handler):
4159 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4160 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4161 (tramp-maybe-open-connection):
8c27f5ff
SM
4162 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4163 Use `tramp-cleanup-connection'.
6480194c 4164
8c27f5ff
SM
4165 * net/tramp-sh.el (tramp-maybe-open-connection):
4166 Catch 'uname-changed inside the progress reporter.
6480194c 4167
e5e916d8
GM
41682013-09-10 Glenn Morris <rgm@gnu.org>
4169
9a2c9b47
GM
4170 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4171
e5e916d8
GM
4172 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4173 returns "alternate access method" in mode (eg "-rw-r--r--.").
4174
144e38fe
GM
41752013-09-08 Glenn Morris <rgm@gnu.org>
4176
4177 * saveplace.el (load-save-place-alist-from-file):
4178 Demote errors. (Bug#15305)
4179
af9ff9e8
MA
41802013-09-08 Michael Albinus <michael.albinus@gmx.de>
4181
4182 Improve compatibility with older Emacsen, and XEmacs.
4183
4184 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4185 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4186 (with-tramp-progress-reporter): Do not let-bind `result'.
4187 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4188 (tramp-handle-make-auto-save-file-name): New function, moved from
4189 tramp-sh.el.
4190
4191 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4192 for `make-auto-save-file-name'.
8c27f5ff
SM
4193 (tramp-adb--gnu-switches-to-ash):
4194 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4195
4196 * net/tramp-cache.el (tramp-cache-print): Call
4197 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4198
4199 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4200 bound. It isn't for XEmacs.
4201
8c27f5ff
SM
4202 * net/tramp-compat.el (tramp-compat-copy-file):
4203 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4204 (tramp-compat-replace-regexp-in-string): New defun.
4205
4206 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4207 for `make-auto-save-file-name'.
4208 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4209 `copy-file'.
4210 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4211 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4212 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4213
8c27f5ff
SM
4214 * net/tramp-gw.el (tramp-gw-open-network-stream):
4215 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4216
8c27f5ff
SM
4217 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4218 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4219 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4220 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4221 (tramp-sh-file-inotifywait-process-filter):
4222 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4223 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4224
4225 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4226 for `make-auto-save-file-name'.
8c27f5ff
SM
4227 (tramp-smb-handle-copy-directory):
4228 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4229 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4230 (tramp-smb-handle-copy-file): Improve error message.
4231 (tramp-smb-handle-rename-file): Rename directly only in case
4232 `newname' does not exist yet. This is a restriction of smbclient.
4233 (tramp-smb-maybe-open-connection): Rerun the function only when
4234 `auth-sources' is non-nil.
4235
0ca754d0
KH
42362013-09-08 Kenichi Handa <handa@gnu.org>
4237
4238 * international/characters.el: Set category "^" (Combining) for
4239 more characters.
4240
e8dd0787
AM
42412013-09-07 Alan Mackenzie <acm@muc.de>
4242
4243 Correctly fontify Java class constructors.
4244 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4245 in Java Mode.
4246 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4247 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4248 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4249 "typeless" declaration there.
4250
f2f248e7
RW
42512013-09-07 Roland Winkler <winkler@gnu.org>
4252
4253 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4254 field subtitle for entry type book.
4255
67982e2b
SM
42562013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * minibuffer.el: Make minibuffer-complete call completion-in-region
4259 rather than other way around.
4260 (completion--some, completion-pcm--find-all-completions):
4261 Don't delay signals when debugging.
4262 (minibuffer-completion-contents): Beware fields within the
4263 minibuffer contents.
4264 (completion-all-sorted-completions): Use defvar-local.
4265 (completion--do-completion, completion--cache-all-sorted-completions)
4266 (completion-all-sorted-completions, minibuffer-force-complete):
4267 Add args `beg' and `end'.
4268 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4269 (minibuffer-complete): Use completion-in-region.
4270 (completion-complete-and-exit): New fun, extracted from
4271 minibuffer-complete-and-exit.
4272 (minibuffer-complete-and-exit): Use it.
4273 (completion--complete-and-exit): Rename from
4274 minibuffer--complete-and-exit.
4275 (completion-in-region--single-word): New function, extracted from
4276 minibuffer-complete-word.
4277 (minibuffer-complete-word): Use it.
4278 (display-completion-list): Make `common-substring' argument obsolete.
4279 (completion--in-region): Call completion--in-region-1 instead of
4280 minibuffer-complete.
4281 (completion-help-at-point): Pass boundaries to
4282 minibuffer-completion-help as args rather than via an overlay.
4283 (completion-pcm--string->pattern): Use `any-delim'.
4284 (completion-pcm--optimize-pattern): New function.
4285 (completion-pcm--pattern->regex): Handle `any-delim'.
4286 * icomplete.el (icomplete-forward-completions)
4287 (icomplete-backward-completions, icomplete-completions):
4288 Adjust calls to completion-all-sorted-completions and
4289 completion--cache-all-sorted-completions.
4290 (icomplete-with-completion-tables): Default to t.
4291 * emacs-lisp/crm.el (crm--current-element): Rename from
4292 crm--select-current-element. Don't put an overlay but return the
4293 boundaries instead.
4294 (crm--completion-command): Take two new args to bind to the boundaries.
4295 (crm-completion-help): Adjust accordingly.
4296 (crm-complete): Use completion-in-region.
4297 (crm-complete-word): Use completion-in-region--single-word.
4298 (crm-complete-and-exit): Use completion-complete-and-exit.
4299
e17d94a5
SM
43002013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4303 than dynamically.
4304
96727100
JL
43052013-09-06 Juri Linkov <juri@jurta.org>
4306
4307 * info.el (Info-display-images-node): When image file doesn't exist
4308 display text version of the image if it's provided in the Info file.
4309 Otherwise, display the location of missing image from SRC attribute.
4310 Add help-echo text property from ALT attribute. (Bug#15279)
4311
86cf7329
SM
43122013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4313
4314 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4315 (edit-abbrevs-mode): Use define-derived-mode.
4316
4317 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4318 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4319 that it's defined.
4320 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4321 Use define-derived-mode.
4322
4323 * epg.el (epg-start-encrypt): Minor CSE simplification.
4324
816244a2
WX
43252013-09-06 William Xu <william.xwl@gmail.com>
4326
4327 * arc-mode.el: Add support for 7za (bug#15264).
4328 (archive-7z-program): New var.
4329 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4330 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4331 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4332
1486fa31
MA
43332013-09-06 Michael Albinus <michael.albinus@gmx.de>
4334
4335 Remove URL syntax.
4336
4337 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4338 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4339 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4340 (tramp-postfix-host-format, tramp-file-name-regexp)
4341 (tramp-completion-file-name-regexp)
4342 (tramp-completion-dissect-file-name)
4343 (tramp-handle-substitute-in-file-name): Remove 'url case.
4344 (tramp-file-name-regexp-url)
4345 (tramp-completion-file-name-regexp-url): Remove constants.
4346
39785324
GM
43472013-09-06 Glenn Morris <rgm@gnu.org>
4348
4349 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4350
1f896cb7
DG
43512013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4352
4353 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4354 keywords" below "here-doc beginnings" (Bug#15270).
4355
c0458e0b
SM
43562013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4357
4358 * subr.el (pop): Use `car-safe'.
4359 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4360 to detect unused `pop' return value.
4361
4362 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4363 var `block-regexp'.
4364 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4365 (python-fill-string): Remove unused var `marker'.
4366 (python-skeleton-add-menu-items): Remove unused var `items'.
4367
4368 * international/mule-cmds.el: Require CL.
4369 (find-coding-systems-for-charsets): Avoid add-to-list.
4370 (sanitize-coding-system-list): New function, extracted from
4371 select-safe-coding-system-interactively.
4372 (select-safe-coding-system-interactively): Use it.
4373 (read-input-method-name): Accept symbols for `default'.
4374
4375 * emacs-lisp/advice.el (defadvice): Add indent rule.
4376
6c42fc3e
DH
43772013-09-05 Daniel Hackney <dan@haxney.org>
4378
4379 * dired-x.el:
4380 * net/ange-ftp.el:
4381 * net/browse-url.el:
4382 * net/dbus.el:
4383 * net/eudc.el:
4384 * net/eudcb-ldap.el:
4385 * net/eww.el:
4386 * net/imap.el:
4387 * printing.el:
4388 * vc/ediff-diff.el:
4389 * vc/ediff-init.el:
4390 * vc/ediff-merg.el:
4391 * vc/ediff-mult.el:
4392 * vc/ediff-util.el:
4393 * vc/ediff-wind.el:
4394 * vc/ediff.el:
4395 * vc/emerge.el:
4396 * vc/pcvs.el:
4397 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4398 byte compiler. Remove some unused let-bound variables.
4399
4c528aab
SM
44002013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4403 a "ref-cell", since it gets better optimized (bug#14883).
4404
bd15c390
GM
44052013-09-05 Glenn Morris <rgm@gnu.org>
4406
4407 * progmodes/cc-awk.el (c-forward-sws): Declare.
4408
1c3ac2e5
GM
44092013-09-04 Glenn Morris <rgm@gnu.org>
4410
4411 * generic-x.el [rul-generic-mode]: Require cc-mode.
4412 (c++-mode-syntax-table): Declare.
4413 (rul-generic-mode-syntax-table): Init in the defvar.
4414
52b1cc79
SM
44152013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4416
c828af56
SM
4417 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4418 (vc-do-command, vc-set-async-update):
4419 * vc/vc-mtn.el (vc-mtn-dir-status):
4420 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4421 (vc-hg-pull, vc-hg-merge-branch):
4422 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4423 (vc-git-merge-branch):
4424 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4425 (vc-cvs-dir-status-files):
4426 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4427 (vc-bzr-dir-status-files):
4428 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4429 * vc/vc-annotate.el: Use lexical-binding.
4430 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4431 (vc-sentinel-movepoint): Declare.
4432 (vc-annotate): Don't use `goto-line'.
4433 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4434 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4435 (vc-sentinel-movepoint): Declare.
4436 * vc/vc-svn.el: Use lexical-binding.
4437 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4438 * vc/vc-sccs.el:
4439 * vc/vc-rcs.el: Use lexical-binding.
4440
abae272c
SM
4441 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4442 `deleted'. Don't drop errors silently.
4443
52b1cc79
SM
4444 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4445
63191d9f
XF
44462013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4447
4448 * vc/vc.el (vc-ignore): Rewrite.
4449 (vc-default-ignore): New function.
4450 (vc-default-ignore-completion-table): Use find-ignore-file.
4451
4452 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4453 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4454 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4455 Remove. Most code moved to vc.el.
4456
9d3f707c
SM
44572013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4458
abae272c 4459 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4460 * net/tramp-smb.el (tramp-smb-get-file-entries):
4461 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4462 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4463
fde38d49
SM
4464 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4465 Update call to it.
4466 (eww-change-select): Remove unused var `properties'.
4467 (eww-make-unique-file-name): Remove unused var `base'.
4468
4469 * finder.el (finder-compile-keywords): Don't mess with windows.
4470
84032db7
SM
4471 * calculator.el (calculator-funcall): Fix typo in last change.
4472
724f5e41
SM
4473 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4474
14b511d4
SM
4475 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4476 <pkg>-autoloads.el file stop us.
4477
9d3f707c 4478 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4479 warnings, and factor out common code.
9d3f707c 4480
88527bc0
DG
44812013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4482
4483 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4484 two-character operators and whether the character preceding them
4485 changes their meaning (Bug#15208).
4486
96edb677
FEG
44872013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4488
4489 Format code sent to Python shell for robustness.
9d3f707c
SM
4490 * progmodes/python.el (python-shell-buffer-substring):
4491 New function.
96edb677
FEG
4492 (python-shell-send-region, python-shell-send-buffer): Use it.
4493
95beaef3
MA
44942013-09-02 Michael Albinus <michael.albinus@gmx.de>
4495
4496 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4497 * net/tramp.el (tramp-user-error): ... here.
4498 (tramp-find-method, tramp-check-proper-host)
4499 (tramp-dissect-file-name, tramp-debug-message)
4500 (tramp-handle-shell-command):
4501 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4502 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4503
4504 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4505
f167c27b
MR
45062013-09-02 Martin Rudalics <rudalics@gmx.at>
4507
4508 * avoid.el (mouse-avoidance-point-position)
4509 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4510 returns nil.
4511
cd16c5f1
FEG
45122013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4513
4514 * progmodes/python.el (python-shell-completion-get-completions):
4515 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4516 (python-nav-if-name-main): New command.
cd16c5f1 4517
e73c3a0d
GM
45182013-09-01 Glenn Morris <rgm@gnu.org>
4519
f8ccce03
GM
4520 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4521 Avoid leading space in $wins. Otherwise the sed command used by
4522 eg compile-main ends up containing "/*.el". (Bug#15170)
4523
e73c3a0d
GM
4524 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4525
415f808e
GM
45262013-08-30 Glenn Morris <rgm@gnu.org>
4527
4528 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4529 Fix is-this-a-directory logic. (Bug#15220)
4530
f069bba8
SM
45312013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4532
112798c1
SM
4533 * textmodes/css-mode.el: Use SMIE.
4534 (css-smie-grammar): New var.
4535 (css-smie--forward-token, css-smie--backward-token)
4536 (css-smie-rules): New functions.
4537 (css-mode): Use them.
4538 (css-navigation-syntax-table): Remove var.
4539 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4540 (css-indent-calculate, css-indent-line): Remove functions.
4541
4542 Misc changes to reduce use of `(lambda...); and other cleanups.
4543 * cus-edit.el: Use lexical-binding.
4544 (customize-push-and-save, customize-apropos)
4545 (custom-buffer-create-internal): Use closures.
4546 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4547 * progmodes/ada-xref.el: Use setq.
4548 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4549 * dframe.el: Use lexical-binding.
4550 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4551 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4552 * descr-text.el: Use lexical-binding.
4553 (describe-text-widget, describe-text-sexp, describe-property-list):
4554 Use closures.
4555 * comint.el (comint-history-isearch-push-state): Use a closure.
4556 * calculator.el: Use lexical-binding.
4557 (calculator-number-to-string): Make it work with lexical-binding.
4558 (calculator-funcall): Same and use cl-letf.
4559
2da4c3ab
SM
4560 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4561 (lisp--company-doc-string, lisp--company-location): New functions.
4562 (lisp-completion-at-point): Use them to improve Company support.
4563
f069bba8
SM
4564 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4565 params of lambda expressions.
4566 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4567 (ruby-smie--opening-pipe-p): New function.
4568 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4569 symbols and matched |...| for formal params.
4570 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4571 from being treated as hanging. Handle "rescue".
4572
6758b6a8
GM
45732013-08-29 Glenn Morris <rgm@gnu.org>
4574
4575 * progmodes/cc-engine.el (c-pull-open-brace):
4576 Move definition before use.
4577
e8dfd197
SM
45782013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4580 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4581 are immutable. Don't use `unsafe' any more.
4582 (cl--defsubst-expand): Don't substitute at the same time as keeping
4583 a residual unused let-binding. Don't use `unsafe' any more.
4584
cc585c96
GM
45852013-08-29 Glenn Morris <rgm@gnu.org>
4586
ba579ea6
GM
4587 * calendar/cal-china.el (calendar-chinese-year-cache):
4588 Recenter on 2015.
4589
8201a87e
GM
4590 * nxml/nxml-util.el (nxml-debug-clear-inside):
4591 Use cl-loop rather than loop.
4592
6ee877c7
GM
4593 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4594
cc585c96
GM
4595 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4596
27be8d39
GM
45972013-08-28 Glenn Morris <rgm@gnu.org>
4598
397440a1
GM
4599 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4600
2bb762d4
GM
4601 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4602
27be8d39
GM
4603 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4604
2d69b99e
SM
46052013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4606
f663baa7
SM
4607 * simple.el (repeat-complex-command--called-interactively-skip):
4608 New function.
4609 (repeat-complex-command): Use it (bug#14136).
4610
dd4f8b74
SM
4611 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4612 (c-define-abbrev-table): Add `doc' argument.
4613 (c-mode-abbrev-table, c++-mode-abbrev-table)
4614 (objc-mode-abbrev-table, java-mode-abbrev-table)
4615 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4616 (awk-mode-abbrev-table): Use it.
4617 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4618 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4619 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4620 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4621 Move initialization into the declaration; and remove any
4622 autoload cookie.
4623
b58969f7
SM
4624 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4625 and dynamic let binding.
4626
4021d6a6
SM
4627 * vc/smerge-mode.el: Remove redundant :group args.
4628
2d69b99e
SM
4629 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4630 to load-path.
4631
274919fd
JL
46322013-08-28 Juri Linkov <juri@jurta.org>
4633
4634 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4635 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4636 (isearch-other-meta-char): Handle an undefined shifted printing
4637 character by downshifting it. (Bug#15200)
4638
121f8c95
JL
46392013-08-28 Juri Linkov <juri@jurta.org>
4640
4641 * isearch.el (isearch-search): Change regexp error message for
4642 non-regexp searches. (Bug#15166)
4643
50b13cde
PE
46442013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4645
4646 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4647 for portability to hosts where /bin/sh has problems.
4648
95888bca
SM
46492013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4652
bbe558f1
JL
46532013-08-27 Juri Linkov <juri@jurta.org>
4654
4655 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4656 in the keyboard macro. (Bug#15126)
4657
26f98a7d
JL
46582013-08-27 Juri Linkov <juri@jurta.org>
4659
4660 * isearch.el (isearch-quote-char): Comment out converting unibyte
4661 to multibyte, thus syncing with its `quoted-insert' counterpart.
4662 (Bug#15166)
4663
7c97d35e
MR
46642013-08-27 Martin Rudalics <rudalics@gmx.at>
4665
4666 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4667 argument in call of get-largest-window (Bug#15185).
4668 Reported by Stephen Leake.
7c97d35e 4669
a0b5606e 46702013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4671
4672 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4673
9e89d835
SM
46742013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4677 from a matcher-function unless there's no more matches (bug#15161).
4678
78fc2530
MA
46792013-08-26 Michael Albinus <michael.albinus@gmx.de>
4680
4681 * minibuffer.el: Revert change from 2013-08-20.
4682
4683 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4684 with text property `tramp-default', if appropriate.
4685 (tramp-check-proper-host): New defun.
4686 (tramp-dissect-file-name): Do not check hostname. Revert change
4687 of 2013-03-18.
4688 (tramp-backtrace): Make VEC-OR-PROC optional.
4689
4690 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4691 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4692 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4693 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4694 Apply `tramp-check-proper-host'.
78fc2530 4695
edca97cd
TH
46962013-08-26 Tassilo Horn <tsdh@gnu.org>
4697
4698 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4699 lambda expression in order to have `describe-variable' display it.
4700
df54bcbd
MA
47012013-08-26 Michael Albinus <michael.albinus@gmx.de>
4702
4703 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4704 BUF can be optional. (Bug#15186)
4705
eed99101
XF
47062013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4707
4708 * progmodes/flymake.el (flymake-get-real-file-name-function):
4709 Fix broken customization. (Bug#15184)
4710
b5eb9035
AM
47112013-08-25 Alan Mackenzie <acm@muc.de>
4712
8a51e842
AM
4713 Improve indentation of bracelists defined by macros (without "=").
4714
4715 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4716 expansion begins with "{", regard it as bracelist when it doesn't
4717 contain a ";".
4718
869455d4
AM
4719 Parse C++ inher-intro when there's a template split over 2 lines.
4720
4721 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4722 rigorously the search for "class" etc. followed by ":".
4723
4724 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4725 random languages a regexp which never matches rather than nil.
4726
b5eb9035
AM
4727 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4728
4729 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4730 (c-awk-regexp-one-line-possibly-open-char-list-re)
4731 (c-awk-one-line-possibly-open-regexp-re)
4732 (c-awk-one-line-non-syn-ws*-re): Remove.
4733 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4734 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4735 (c-awk-space*-unclosed-regexp-/-re): New constants.
4736 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4737 aren't regexp delimiters.
4738
4739 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4740 handling for a rare situation in AWK Mode involving unterminated
4741 strings/regexps.
4742
61611d54
GM
47432013-08-23 Glenn Morris <rgm@gnu.org>
4744
2d85dc34
GM
4745 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4746
cb8d2612
GM
4747 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4748
bb35f42f
GM
4749 * files.el (create-file-buffer): If the result would begin with
4750 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4751
b9808e77
SM
47522013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4753
e3a66363
SM
4754 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4755 text-properties (bug#15155).
4756
b9808e77
SM
4757 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4758 exist any more.
4759 (calc-keypad-redraw): Remove unused var `pad'.
4760 (calc-keypad-press): Remove unused var `menu'.
4761
7fd5f65e
MR
47622013-08-23 Martin Rudalics <rudalics@gmx.at>
4763
b9808e77
SM
4764 * window.el (display-buffer-pop-up-frame):
4765 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4766 use it as the new frame's buffer (Bug#15133).
4767
8352b530
SM
47682013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4769
4770 * calendar/timeclock.el: Minor cleanups.
4771 (timeclock-ask-before-exiting, timeclock-use-display-time):
4772 Use `symbol'.
4773 (timeclock-modeline-display): Define as alias before the
4774 actual definition.
4775 (timeclock-mode-line-display): Use define-minor-mode.
4776 (timeclock-day-list-template): Make it a function, add an argument.
4777 (timeclock-day-list-required, timeclock-day-list-length)
4778 (timeclock-day-list-debt, timeclock-day-list-span)
4779 (timeclock-day-list-break): Adjust calls accordingly.
4780
9f7b1925
SM
47812013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4782
4783 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4784 Use read--expression so that completion works again.
4785
6e50e983
SS
47862013-08-21 Sam Steingold <sds@gnu.org>
4787
4788 Add rudimentary inferior shell interaction
4789 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4790 (sh-set-shell): Reset it.
9f7b1925
SM
4791 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4792 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4793
dbb0d350
SM
47942013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * align.el: Use lexical-binding.
4797 (align-region): Simplify accordingly.
4798
c88586a9
MA
47992013-08-20 Michael Albinus <michael.albinus@gmx.de>
4800
4801 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4802
4803 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4804 `non-essential' up.
4805
f95527c8
MA
48062013-08-17 Michael Albinus <michael.albinus@gmx.de>
4807
4808 * net/tramp.el:
4809 * net/tramp-adb.el:
4810 * net/tramp-cmds.el:
4811 * net/tramp-ftp.el:
4812 * net/tramp-gvfs.el:
4813 * net/tramp-gw.el:
4814 * net/tramp-sh.el: Don't wrap external variable declarations by
4815 `eval-when-compile'.
4816
4b5fe4ee
LMI
48172013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4818
4819 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4820 now that Emacs supports ImageMagick animations.
4821
13c366c9
MA
48222013-08-16 Michael Albinus <michael.albinus@gmx.de>
4823
4824 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4825 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4826
3dfc5cd6
MR
48272013-08-16 Martin Rudalics <rudalics@gmx.at>
4828
4829 * window.el (mouse-autoselect-window-select): Do autoselect when
4830 mouse pointer is on margin.
4831
4bbb4381
WP
48322013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4833
4834 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4835
3a2ddc2d
GM
48362013-08-16 Glenn Morris <rgm@gnu.org>
4837
e8bedf5a
GM
4838 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4839 Handle "Remote Directory" response of some clients. (Bug#15058)
4840
58c4682f
GM
4841 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4842 Tweak warning. (Bug#14926)
4843
57953f49
GM
4844 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4845 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4846
3a2ddc2d
GM
4847 * image-mode.el (image-mode-map): Add menu items to reverse,
4848 increase, decrease, reset animation speed.
4849 (image--set-speed, image-increase-speed, image-decrease-speed)
4850 (image-reverse-speed, image-reset-speed): New functions.
4851 (image-mode-map): Add bindings for speed commands.
4852
4853 * image.el (image-animate-get-speed, image-animate-set-speed):
4854 New functions.
4855 (image-animate-timeout): Respect image :speed property.
4856
10fa0ed3
SM
48572013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4860 previous line (bug#15101).
4861 (debugger-eval-expression, debugger-record-expression):
4862 Use read--expression (bug#15102).
4863
5d89d9d2
MA
48642013-08-15 Michael Albinus <michael.albinus@gmx.de>
4865
4866 Remove byte compiler warnings, visible when compiling with
4867 `byte-compile-force-lexical-warnings' set to t.
4868
4869 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4870 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4871 (tramp-handle-unhandled-file-name-directory)
4872 (tramp-handle-file-notify-add-watch, tramp-action-login)
4873 (tramp-action-succeed, tramp-action-permission-denied)
4874 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4875 arguments with "_".
4876
4877 * net/tramp-adb.el (tramp-adb-parse-device-names)
4878 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4879 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4880 (tramp-adb-handle-file-truename): Remove unused arguments.
4881
4882 * net/tramp-cache.el (tramp-flush-directory-property)
4883 (tramp-flush-connection-property, tramp-list-connections)
4884 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4885
10fa0ed3
SM
4886 * net/tramp-compat.el (tramp-compat-make-temp-file):
4887 Rename FILENAME to F.
5d89d9d2
MA
4888
4889 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4890 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4891 (tramp-zeroconf-parse-workstation-device-names)
4892 (tramp-zeroconf-parse-webdav-device-names)
4893 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4894
4895 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4896 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4897
4898 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4899 arguments.
4900 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4901 (tramp-sh-handle-insert-file-contents-literally)
4902 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4903 with "_".
4904 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4905 Remove unused variables.
4906
4907 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4908 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4909 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4910
4911 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4912 Make them a defconst.
4913 (tramp-uuencode-region): Remove unused variable.
4914
62f33bae
JB
49152013-08-14 Juanma Barranquero <lekktu@gmail.com>
4916
4917 * frameset.el (frameset--prop-setter): New function.
4918 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4919 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4920 parameter was already set in FILTERED. Doc fix.
4921 (frameset--record-minibuffer-relationships): Allow saving a
4922 minibufferless frame without its corresponding minibuffer frame.
4923 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4924 frame, if the frame id matches.
4925 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4926 frames before orphaned ones.
4927 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4928
c660a885
MR
49292013-08-14 Martin Rudalics <rudalics@gmx.at>
4930
4931 * window.el (window-make-atom): Don't overwrite parameter
4932 already present.
4933 (display-buffer-in-atom-window): Handle special case where we
4934 split an already atomic window.
4935 (window--major-non-side-window, display-buffer-in-side-window)
4936 (window--side-check): Ignore minibuffer window when walking
4937 window tree.
4938 (window-deletable-p): Return 'frame only if no other frame uses
4939 our minibuffer window.
4940 (record-window-buffer): Run buffer-list-update-hook.
4941 (split-window): Make sure window--check-frame won't destroy an
4942 existing atomic window in case the new window gets nested
4943 inside.
4944 (display-buffer-at-bottom): Ignore minibuffer window when
4945 walking window tree. Don't split a side window.
4946 (pop-to-buffer): Don't set-buffer here, the select-window call
4947 should do that.
4948 (mouse-autoselect-window-select): Autoselect only if we are in the
4949 text portion of the window.
4950
8259030d
LMI
49512013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4952
21c58ae2
LMI
4953 * net/shr.el (shr-parse-image-data): New function to grab both the
4954 data itself and the Content-Type.
4955 (shr-put-image): Use it.
4956
4957 * net/eww.el (eww-display-image): Ditto.
4958
8259030d
LMI
4959 * image.el (image-content-type-suffixes): New variable.
4960
ad756449
FEG
49612013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4962
4963 * progmodes/python.el (python-imenu--build-tree)
4964 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4965
f73f4ce6
XF
49662013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4967
4968 * simple.el (backward-word): Mention the optional argument.
4969
1f585e65
SM
49702013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * frameset.el (frameset--make): Rename constructor from make-frameset.
4973 (frameset-p, frameset-valid-p): Don't autoload.
4974 (frameset-valid-p): Use normal accessors.
4975
af1c6c84
GM
49762013-08-13 Glenn Morris <rgm@gnu.org>
4977
55e47f95
GM
4978 * progmodes/compile.el (compile-command): Tweak example in doc.
4979 * obsolete/scribe.el (scribe-mode):
4980 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4981
f0024d8c
GM
4982 * mail/feedmail.el (feedmail-confirm-outgoing)
4983 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4984
4985 * cus-start.el (truncate-partial-width-windows): Fix type.
4986
4987 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4988
af1c6c84
GM
4989 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4990
5514cc4c
SM
49912013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4992
4993 * emacs-lisp/timer.el (timer--time-setter): New function.
4994 (timer--time): Use it as gv-setter.
4995
4996 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4997 setter is not a symbol.
4998
7997a2f1
GJ
49992013-08-12 Grégoire Jadi <daimrod@gmail.com>
5000
5001 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5002 if sending fails. This makes debugging easier.
5003
01f1a9ab
JB
50042013-08-12 Juanma Barranquero <lekktu@gmail.com>
5005
5006 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5007 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5008 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5009
594a4307
EZ
50102013-08-12 Eli Zaretskii <eliz@gnu.org>
5011
5012 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5013
7a22490f 50142013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5015
5016 * format.el (format-annotate-function):
5017 Handle read-only text properties in the source. (Bug#14887)
5018
3e41a054
LMI
50192013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5020
5514cc4c
SM
5021 * net/eww.el (eww-display-html): Ignore coding system errors.
5022 One web site uses "utf-8lias" as the coding system.
3e41a054 5023
7ec326db
JB
50242013-08-11 Juanma Barranquero <lekktu@gmail.com>
5025
5026 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5027
5660113b
JB
50282013-08-10 Juanma Barranquero <lekktu@gmail.com>
5029
9a4ebc74
JB
5030 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5031 (tutorial--detailed-help): Remove unused local variables.
5032 (tutorial--save-tutorial-to): Use ignore-errors.
5033 (help-with-tutorial): Use looking-at-p.
5034
5035 * view.el (view-buffer-other-window, view-buffer-other-frame):
5036 Mark unused arguments.
5037
5038 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5039 (woman-select-symbol-fonts, woman, woman-find-file)
5040 (woman-insert-file-contents, woman-non-underline-faces):
5041 Use string-match-p.
5042 (woman1-unquote): Move declaration.
5043
5044 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5045 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5046 argument. Remove unused local variable.
5047 (xml-parse-elem-type): Use string-match-p.
5048 (xml-substitute-numeric-entities): Use ignore-errors.
5049
45fdb482
JB
5050 * calculator.el (calculator): Mark unused argument.
5051 (calculator-paste, calculator-quit, calculator-integer-p):
5052 Use ignore-errors.
5053 (calculator-string-to-number, calculator-decimal, calculator-exp)
5054 (calculator-op-or-exp): Use string-match-p.
5055
5056 * dired.el (dired-buffer-more-recently-used-p): Declare.
5057 (dired-insert-set-properties, dired-insert-old-subdirs):
5058 Use ignore-errors.
5059
5060 * dired-aux.el (dired-compress): Use ignore-errors.
5061 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5062 (dired-do-async-shell-command, dired-do-shell-command)
5063 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5064 (dired-insert-subdir-validate): Use string-match-p.
5065 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5066 (dired-add-entry): Use string-match-p, looking-at-p.
5067 (dired-insert-subdir-newpos): Remove unused local variable.
5068
5069 * filenotify.el (file-notify-callback): Remove unused local variable.
5070
5071 * filesets.el (filesets-error): Mark unused argument.
5072 (filesets-which-command-p, filesets-filter-dir-names)
5073 (filesets-directory-files, filesets-get-external-viewer)
5074 (filesets-ingroup-get-data): Use string-match-p.
5075
5076 * find-file.el (ff-other-file-name, ff-other-file-name)
5077 (ff-find-the-other-file, ff-cc-hh-converter):
5078 Remove unused local variables.
5079 (ff-get-file-name): Use string-match-p.
5080 (ff-all-dirs-under): Use ignore-errors.
5081
5082 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5083 (follow-select-if-visible): Remove unused local variable.
5084
5085 * forms.el (read-file-filter): Move declaration.
5086 (forms--make-format, forms--make-parser, forms-insert-record):
5087 Quote function with #'.
5088 (forms--update): Use string-match-p. Quote function with #'.
5089
5090 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5091 (help-make-xrefs): Use looking-at-p.
5092 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5093
5094 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5095 (ibuffer-confirm-operation-on): Use string-match-p.
5096
5097 * msb.el (msb-item-handler, msb-dired-item-handler):
5098 Mark unused arguments.
5099
5100 * ses.el (ses-decode-cell-symbol)
5101 (ses-kill-override): Remove unused local variable.
5102 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5103 (ses-load): Use ignore-errors, looking-at-p.
5104 (ses-jump-safe): Use ignore-errors.
5105 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5106
5107 * tabify.el (untabify, tabify): Mark unused arguments.
5108
5109 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5110 Mark unused argument.
5111 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5112 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5113
c880af52
JB
5114 * emacs-lisp/timer.el (timer--time): Define setter with
5115 gv-define-setter to avoid deprecation warning.
5116
5660113b 5117 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5118 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5119 (cmpl-statistics-block): Remove (body was commented out).
5120 All callers changed.
5121 (add-completions-from-buffer, load-completions-from-file):
5122 Remove unused variables.
5123
156aab80
JB
51242013-08-09 Juanma Barranquero <lekktu@gmail.com>
5125
5c5dee78
JB
5126 * filecache.el (file-cache-delete-file-list):
5127 Print message only when told so.
5128 (file-cache-files-matching): Use #' in mapconcat argument.
5129
156aab80
JB
5130 * ffap.el (ffap-url-at-point): Fix reference to variable
5131 thing-at-point-default-mail-uri-scheme.
5132
ad9dcd70
SM
51332013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5134
54bd972f
SM
5135 * subr.el (define-error): New function.
5136 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5137 error-file-not-found and define with define-error.
5138 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5139 and define with define-error.
5140 * userlock.el (file-locked, file-supersession):
5141 * simple.el (mark-inactive):
5142 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5143 * progmodes/ada-mode.el (ada-mode-errors):
5144 * play/life.el (life-extinct):
5145 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5146 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5147 * nxml/rng-util.el (rng-error):
5148 * nxml/rng-uri.el (rng-uri-error):
5149 * nxml/rng-match.el (rng-compile-error):
5150 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5151 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5152 * nxml/nxml-rap.el (nxml-scan-error):
5153 * nxml/nxml-outln.el (nxml-outline-error):
5154 * net/soap-client.el (soap-error):
5155 * net/gnutls.el (gnutls-error):
5156 * net/ange-ftp.el (ftp-error):
5157 * mpc.el (mpc-proc-error):
5158 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5159 (json-number-format, json-string-escape, json-string-format)
5160 (json-key-format, json-object-format):
5161 * jka-compr.el (compression-error):
5162 * international/quail.el (quail-error):
5163 * international/kkc.el (kkc-error):
5164 * emacs-lisp/ert.el (ert-test-failed):
5165 * calc/calc.el (calc-error, inexact-result, math-overflow)
5166 (math-underflow):
5167 * bookmark.el (bookmark-error-no-filename):
5168 * epg.el (epg-error): Define with define-error.
5169
0ea9e53a
SM
5170 * time.el (display-time-event-handler)
5171 (display-time-next-load-average): Don't call sit-for since it seems
5172 unnecessary (bug#15045).
5173
b0429158
SM
5174 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5175 Use #' instead of ' to quote functions.
5176 (checkdoc-output-mode): Use setq-local.
5177 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5178 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5179 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5180 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5181 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5182 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5183 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5184 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5185
ad9dcd70
SM
5186 * ido.el (ido-completion-help): Fix up compiler warning.
5187
77187e6f
JB
51882013-08-09 Juanma Barranquero <lekktu@gmail.com>
5189
5190 * frameset.el (frameset-p): Add autoload cookie.
5191 (frameset--jump-to-register): New function, based on code moved from
5192 register.el.
5193 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5194
5195 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5196 (frameset-restore, frameset-save, frameset-session-filter-alist):
5197 Remove declarations.
5198 (register-alist): Doc fix.
5199 (frameset-to-register): Move to frameset.el.
5200 (jump-to-register, describe-register-1): Remove frameset-specific code.
5201
9d3aa82c
JB
52022013-08-08 Juanma Barranquero <lekktu@gmail.com>
5203
5204 * allout-widgets.el (allout-widgets-pre-command-business)
5205 (allout-widgets-post-command-business)
5206 (allout-widgets-after-change-handler)
5207 (allout-decorate-item-and-context, allout-set-boundary-marker)
5208 (allout-body-modification-handler)
5209 (allout-graphics-modification-handler): Mark ignored arguments.
5210 (allout-widgets-post-command-business)
5211 (allout-widgets-exposure-change-processor)
5212 (allout-widgets-exposure-undo-processor)
5213 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5214 (allout-parse-item-at-point, allout-decorate-item-guides)
5215 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5216 * allout.el (epa-passphrase-callback-function): Declare.
5217 (allout-overlay-insert-in-front-handler)
5218 (allout-overlay-interior-modification-handler)
5219 (allout-isearch-end-handler, allout-chart-siblings)
5220 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5221 (allout-yank-processing, allout-process-exposed)
5222 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5223 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5224 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5225 (lisp-indent-defform): Mark ignored arguments.
5226 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5227 (calculate-lisp-indent): Remove unused variables.
5228 * international/characters.el (indian-2-column, arabic-2-column)
5229 (tibetan): Mark ignored arguments.
5230 (use-cjk-char-width-table): Mark ignored arguments.
5231 Remove unused variables.
5232 * international/fontset.el (build-default-fontset-data)
5233 (x-compose-font-name, create-fontset-from-fontset-spec):
5234 Mark ignored arguments.
5235 (fontset-plain-name): Remove unused variables.
5236 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5237 (keyboard-coding-system): Mark ignored arguments.
5238 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5239 * help.el (resize-temp-buffer-window):
5240 * window.el (display-buffer-in-major-side-window)
5241 (display-buffer-in-side-window, display-buffer-in-previous-window):
5242 Remove unused variables.
5243 * isearch.el (isearch-forward-symbol):
5244 * version.el (emacs-bzr-version-bzr):
5245 * international/mule-cmds.el (current-language-environment):
5246 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5247 (x-handle-display):
5248 * term/pc-win.el (x-list-fonts, x-display-planes)
5249 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5250 (x-server-version, x-display-screens, x-display-mm-height)
5251 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5252 (x-selection-owner-p, x-own-selection-internal)
5253 (x-disown-selection-internal, x-get-selection-internal)
5254 (msdos-initialize-window-system):
5255 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5256 * term/x-win.el (x-handle-no-bitmap-icon):
5257 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5258 (vc-default-find-file-hook, vc-default-extra-menu):
5259 Mark ignored arguments.
5260
0ca3f70e
SM
52612013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5264 break-condition in the context of the debugged code (bug#12685).
5265
74c5d24c
CS
52662013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5267
5268 * comint.el:
5269 Do not use an overlay to highlight the last prompt. (Bug#14744)
5270 (comint-mode): Make comint-last-prompt buffer local.
5271 (comint-last-prompt): New variable.
5272 (comint-last-prompt-overlay): Remove. Superseded by
5273 comint-last-prompt.
0ca3f70e
SM
5274 (comint-snapshot-last-prompt, comint-output-filter):
5275 Use comint-last-prompt.
74c5d24c 5276
c03c02ee
JB
52772013-08-08 Juanma Barranquero <lekktu@gmail.com>
5278
a3738d20 5279 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5280 (frameset-save): Check validity of the resulting frameset.
5281
04263d23
XF
52822013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5283
5284 * ido.el (ido-record-command): Add doc string.
5285
76c5e5ab
JB
52862013-08-08 Juanma Barranquero <lekktu@gmail.com>
5287
5288 * frameset.el (frameset): Do not disable creation of the default
5289 frameset-p predicate. Doc fix.
5290 (frameset-valid-p): New function, copied from the old predicate-p.
5291 Add additional checks.
5292 (frameset-restore): Check with frameset-valid-p.
5293 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5294 (frameset-name, frameset-description, frameset-properties)
5295 (frameset-states): Add docstring.
f9dbf1cb
JB
5296 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5297 (frameset-filter-alist): Doc fixes.
76c5e5ab 5298
bd0c3c0b
JB
52992013-08-08 Juanma Barranquero <lekktu@gmail.com>
5300
5301 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5302
c735544c
SM
53032013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5306 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5307 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5308 (byte-compile-normal-call): Remove obsolescence check.
5309
2805a651
JB
53102013-08-08 Juanma Barranquero <lekktu@gmail.com>
5311
3677ffeb
JB
5312 * frameset.el (frameset-restore): Doc fix.
5313
2805a651
JB
5314 * register.el (frameset-frame-id, frameset-frame-with-id)
5315 (frameset-p, frameset-restore, frameset-save): Declare.
5316 (register-alist): Document framesets.
5317 (frameset-session-filter-alist): Declare.
5318 (frameset-to-register): New function.
5319 (jump-to-register): Implement jumping to framesets. Doc fix.
5320 (describe-register-1): Describe framesets.
5321
5322 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5323
a912c016
JB
53242013-08-07 Juanma Barranquero <lekktu@gmail.com>
5325
5326 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5327 Use lexical-binding.
5328
5329 * frameset.el (frameset): Use type vector, not list (incompatible
5330 change). Do not declare a new constructor, use the default one.
5331 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5332 `name' and `description', respectively, and add read-only slot
5333 `timestamp'. Doc fixes.
5334 (frameset-copy, frameset-persistent-filter-alist)
5335 (frameset-filter-alist, frameset-switch-to-gui-p)
5336 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5337 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5338 (frameset-filter-iconified, frameset-keep-original-display-p):
5339 Doc fixes.
5340 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5341 Rename from frameset-filter-(save|restore)-param. All callers changed.
5342 Doc fix.
5343 (frameset-p): Adapt to change to vector and be more thorough.
5344 Change arg name to OBJECT. Doc fix.
5345 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5346 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5347 All callers changed.
5348 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5349 All callers changed.
5350 (frameset--record-minibuffer-relationships): Rename from
5351 frameset--process-minibuffer-frames. All callers changed.
5352 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5353 Use new default constructor (again). Doc fix.
5354 (frameset--find-frame-if): Rename from `frameset--find-frame.
5355 All callers changed.
5356 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5357 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5358 Doc fix.
5359 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5360 PARAMETERS and WINDOW-STATE, respectively.
5361 (frameset-restore): Add new keyword argument PREDICATE.
5362 Reset frameset--target-display to nil. Doc fix.
5363
bb41480a
SM
53642013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5365
f001e98e
SM
5366 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5367 (bat-mode): Use it.
5368 (bat-mode-syntax-table): Mark \n as end-of-comment.
5369 (bat-font-lock-keywords): Remove comment rule.
5370
7679edb1
SM
5371 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5372 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5373
bb41480a
SM
5374 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5375 (byte-compile-callargs-warn): Use `push'.
5376 (byte-compile-arglist-warn): Ignore higher-order "calls".
5377 (byte-compile-file-form-autoload): Use `pcase'.
5378 (byte-compile-function-form): If quoting a symbol, check that it exists.
5379
cdc1ebb9
EZ
53802013-08-07 Eli Zaretskii <eliz@gnu.org>
5381
5382 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5383 and add a few popular commands found in batch files.
5384 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5385 (dos-mode): Doc fixes.
5386
312b1740
SM
53872013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5390 (dos-mode): Use setq-local. Add space after "rem".
5391 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5392 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5393
400a3178
AM
53942013-08-07 Arni Magnusson <arnima@hafro.is>
5395
5396 * progmodes/dos.el: New file.
5397 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5398 dos-mode.
5399
3b5c03d3
GM
54002013-08-06 Glenn Morris <rgm@gnu.org>
5401
5402 * calendar/calendar.el: Add new faces, and day-header-array.
5403 (calendar-weekday-header, calendar-weekend-header)
5404 (calendar-month-header): New faces.
5405 (calendar-day-header-construct): New function.
5406 (calendar-day-header-width): Also :set calendar-day-header-array.
5407 (calendar-american-month-header, calendar-european-month-header)
5408 (calendar-iso-month-header): Use calendar- faces.
5409 (calendar-generate-month):
5410 Use calendar-day-header-array for day headers; apply faces to them.
5411 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5412 (calendar-abbrev-construct): Add optional maxlen argument.
5413 (calendar-day-name-array): Doc fix.
5414 (calendar-day-name-array, calendar-abbrev-length)
5415 (calendar-day-abbrev-array):
5416 Also :set calendar-day-header-array, and maybe redraw.
5417 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5418 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5419 (calendar-day-name): Add option to use header array.
5420
ec6a2d7a
LMI
54212013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5422
5423 * net/shr.el (shr-render-td): Remove debugging.
5424 (shr-render-td): Make width computation consistent by defaulting
5425 all zero-width columns to 10 characters. This may not be optimal,
5426 but it's at least consistent.
2122cb6d
LMI
5427 (shr-make-table-1): Redo last change to fix the real problem in
5428 colspan handling.
ec6a2d7a 5429
ed4fd9c5
DA
54302013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5431
0ca3f70e
SM
5432 * files.el (cache-long-line-scans):
5433 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5434
64e22afe
JB
54352013-08-06 Juanma Barranquero <lekktu@gmail.com>
5436
024b38fc
JB
5437 * frameset.el (frameset, frameset-filter-alist)
5438 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5439 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5440 (frameset-compute-pos): Rename from frameset--compute-pos,
5441 and add docstring.
5442 (frameset-move-onscreen): Use frameset-compute-pos.
5443 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5444
64e22afe
JB
5445 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5446 Fix typos in docstrings.
5447
c8c2aca8
DA
54482013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5449
5450 * frame.el (get-other-frame): Tiny cleanup.
5451
1d237bba
JB
54522013-08-06 Juanma Barranquero <lekktu@gmail.com>
5453
8951efef
JB
5454 * vc/vc.el (vc-default-ignore-completion-table):
5455 Silence byte-compiler warning.
5456
307764cc
JB
5457 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5458 slot , which can indeed be nil.
5459 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5460 Move entry for `left' from persistent to live filter alist.
5461 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5462 Doc fixes.
5463 (frameset-filter-params): When restoring a frame, copy items added to
5464 `filtered', to avoid unwittingly modifying the original parameters.
5465 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5466 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5467
1d237bba
JB
5468 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5469 to use looking-at-p instead of looking-at. (Bug#15028)
5470
dc6c0eda
SM
54712013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5472
5473 Revert introduction of isearch-filter-predicates (bug#14714).
5474 Rely on add-function instead.
5475 * isearch.el (isearch-filter-predicates): Rename it back to
5476 isearch-filter-predicate.
5477 (isearch-message-prefix): Use advice-function-mapc and advice
5478 properties to get the isearch-message-prefix.
5479 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5480 instead of run-hook-with-args-until-failure.
5481 (isearch-filter-visible): Not obsolete any more.
5482 * loadup.el: Preload nadvice.
5483 * replace.el (perform-replace): Revert to funcall
5484 instead of run-hook-with-args-until-failure.
5485 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5486 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5487 dired-isearch-filenames-toggle; make it into a proper minor mode.
5488 Use add/remove-function.
5489 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5490 Call the minor-mode rather than add/remove-hook.
5491 (dired-isearch-filter-filenames):
5492 Remove isearch-message-prefix property.
5493 * info.el (Info--search-loop): New function, extracted from Info-search.
5494 Funcall isearch-filter-predicate instead of
5495 run-hook-with-args-until-failure isearch-filter-predicates.
5496 (Info-search): Use it.
5497 (Info-mode): Use isearch-filter-predicate instead of
5498 isearch-filter-predicates.
5499
290d5b58
DA
55002013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5501
5502 Do not call to `selected-window' where it is assumed by default.
5503 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5504 `window-hscroll', `window-width', `window-height', `window-buffer',
5505 `window-frame', `window-start', `window-point', `next-window'
5506 and `window-display-table'.
5507 * abbrev.el (abbrev--default-expand):
5508 * bs.el (bs--show-with-configuration):
5509 * buff-menu.el (Buffer-menu-mouse-select):
5510 * calc/calc.el (calc):
5511 * calendar/calendar.el (calendar-generate-window):
5512 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5513 (diary-make-entry):
5514 * comint.el (send-invisible, comint-dynamic-complete-filename)
5515 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5516 * completion.el (complete):
5517 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5518 * disp-table.el (describe-current-display-table):
5519 * doc-view.el (doc-view-insert-image):
5520 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5521 * ehelp.el (with-electric-help):
5522 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5523 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5524 * emacs-lisp/helper.el (Helper-help-scroller):
5525 * emulation/cua-base.el (cua--post-command-handler-1):
5526 * eshell/esh-mode.el (eshell-output-filter):
5527 * ffap.el (ffap-gnus-wrapper):
5528 * help-macro.el (make-help-screen):
5529 * hilit-chg.el (highlight-compare-buffers):
5530 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5531 * hl-line.el (global-hl-line-highlight):
5532 * icomplete.el (icomplete-simple-completing-p):
5533 * isearch.el (isearch-done):
5534 * jit-lock.el (jit-lock-stealth-fontify):
5535 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5536 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5537 * mpc.el (mpc-tagbrowser, mpc):
5538 * net/rcirc.el (rcirc-any-buffer):
5539 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5540 * play/landmark.el (landmark-max-width, landmark-max-height):
5541 * play/zone.el (zone):
5542 * progmodes/compile.el (compilation-goto-locus):
5543 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5544 * progmodes/etags.el (find-tag-other-window):
5545 * progmodes/fortran.el (fortran-column-ruler):
5546 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5547 * progmodes/verilog-mode.el (verilog-point-text):
5548 * reposition.el (reposition-window):
5549 * rot13.el (toggle-rot13-mode):
5550 * server.el (server-switch-buffer):
5551 * shell.el (shell-dynamic-complete-command)
5552 (shell-dynamic-complete-environment-variable):
5553 * simple.el (insert-buffer, set-selective-display)
5554 (delete-completion-window):
5555 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5556 (speedbar-recenter):
5557 * startup.el (fancy-splash-head):
5558 * textmodes/ispell.el (ispell-command-loop):
5559 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5560 * tutorial.el (help-with-tutorial):
5561 * vc/add-log.el (add-change-log-entry):
5562 * vc/compare-w.el (compare-windows):
5563 * vc/ediff-help.el (ediff-indent-help-message):
5564 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5565 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5566 (ediff-setup-control-frame):
5567 * vc/emerge.el (emerge-position-region):
5568 * vc/pcvs-util.el (cvs-bury-buffer):
5569 * window.el (walk-windows, mouse-autoselect-window-select):
5570 * winner.el (winner-set-conf, winner-undo): Related users changed.
5571
38276e01
JB
55722013-08-05 Juanma Barranquero <lekktu@gmail.com>
5573
5574 * frameset.el (frameset--set-id): Doc fix.
5575 (frameset-frame-id, frameset-frame-id-equal-p)
5576 (frameset-locate-frame-id): New functions.
5577 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5578 (frameset-restore): Use them.
5579
12b4c0ea
DA
55802013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5581
5582 Do not call to `selected-frame' where it is assumed by default.
5583 Affected functions are `raise-frame', `redraw-frame',
5584 `frame-first-window', `frame-terminal' and `delete-frame'.
5585 * calendar/appt.el (appt-disp-window):
5586 * epg.el (epg-wait-for-completion):
5587 * follow.el (follow-delete-other-windows-and-split)
5588 (follow-avoid-tail-recenter):
5589 * international/mule.el (set-terminal-coding-system):
5590 * mail/rmail.el (rmail-mail-return):
5591 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5592 * progmodes/f90.el (f90-add-imenu-menu):
5593 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5594 * server.el (server-switch-buffer):
5595 * simple.el (delete-completion-window):
5596 * talk.el (talk):
5597 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5598 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5599 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5600 * vc/ediff.el (ediff-documentation): Related users changed.
5601 * frame.el (selected-terminal): Remove the leftover.
5602
17f25e76
GM
56032013-08-05 Glenn Morris <rgm@gnu.org>
5604
5605 * calendar/calendar.el (calendar-generate-month):
5606 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5607 (calendar-generate-month, calendar-font-lock-keywords):
5608 Fix for calendar-day-header-width > length of any day name.
17f25e76 5609
063233c3
JB
56102013-08-05 Juanma Barranquero <lekktu@gmail.com>
5611
5612 * desktop.el (desktop-clear): Use new name of sort predicate.
5613
5614 * frameset.el (frameset): Add docstring. Move :version property to its
5615 own `version' slot.
5616 (frameset-copy): Rename from copy-frameset.
5617 (frameset-p): Check more thoroughly.
5618 (frameset-prop): Do not check for :version, which is no longer a prop.
5619 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5620 Use new :never value instead of t.
5621 (frameset-filter-alist): Expand and clarify docstring.
5622 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5623 (frameset-filter-minibuffer, frameset-filter-save-param)
5624 (frameset-filter-restore-param, frameset-filter-iconified):
5625 Add pointer to docstring of frameset-filter-alist.
5626 (frameset-filter-params): Rename filter values to be more meaningful:
5627 :never instead of t, and reverse the meanings of :save and :restore.
5628 (frameset--process-minibuffer-frames): Clarify error message.
5629 (frameset-save): Avoid unnecessary and confusing call to framep.
5630 Use new BOA constructor for framesets.
5631 (frameset--reuse-list): Doc fix.
5632 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5633 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5634 (frameset-minibufferless-first-p): Doc fix.
5635 Rename from frameset-sort-frames-for-deletion.
5636 (frameset-restore): Doc fixes. Use new function names.
5637 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5638
d5671a82
JB
56392013-08-04 Juanma Barranquero <lekktu@gmail.com>
5640
5641 * desktop.el (desktop-restore-forces-onscreen)
5642 (desktop-restore-reuses-frames): Document :keyword constant values.
5643 (desktop-filter-parameters-alist): Remove, now identical to
5644 frameset-filter-alist.
5645 (desktop--filter-tty*): Remove, moved to frameset.el.
5646 (desktop-save-frameset, desktop-restore-frameset):
5647 Do not pass :filters argument.
5648
5649 * frameset.el (frameset-live-filter-alist)
5650 (frameset-persistent-filter-alist): New variables.
5651 (frameset-filter-alist): Use them. Add autoload cookie.
5652 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5653 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5654 `frameset--id' (it's supposed to be internal to frameset.el).
5655 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5656 (frameset--initial-params): New function.
5657 (frameset--get-frame): Use it. Doc fix.
5658 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5659 Accept :all, not 'all.
5660 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5661 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5662 with fbound symbols. Fix frame id matching, and remove matching ids if
5663 the frame being restored is deleted. Obey :delete.
5664
671d5c16
SM
56652013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * subr.el (macrop): New function.
5668 (text-clone--maintaining): New var.
5669 (text-clone--maintain): Rename from text-clone-maintain. Use it
5670 instead of inhibit-modification-hooks.
5671
5672 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5673 a proxy, so as handle autoloads and redefinitions of the target.
5674 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5675
5676 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5677 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5678 (pcase--mutually-exclusive-p): New function.
5679 (pcase--split-consp): Use it.
5680 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5681 mutually exclusive with the current predicate.
5682
5683 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5684 (edebug-macrop): Remove. Use `macrop' instead.
5685 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5686 (ad-macro-p):
5687 * eshell/esh-cmd.el (eshell-macrop):
5688 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5689
1d44e9dc
SM
56902013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5691
5692 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5693 (advice-mapc): New function, using it.
5694 (advice-function-member-p): New function.
5695 (advice--normalize): Store the cdr in advice--saved-rewrite since
5696 that's the part that will be changed.
5697 (advice--symbol-function): New function.
5698 (advice-remove): Handle removal before the function is defined.
5699 Adjust to new advice--saved-rewrite.
5700 (advice-member-p): Use advice-function-member-p and
5701 advice--symbol-function.
5702
5414a283
JB
57032013-08-04 Juanma Barranquero <lekktu@gmail.com>
5704
51d30f2c
JB
5705 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5706 (frameset-filter-minibuffer): Doc fix.
5707 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5708 (frameset--set-id, frameset--process-minibuffer-frames)
5709 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5710 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5711
5414a283
JB
5712 * desktop.el (desktop-clear): Only delete frames when called
5713 interactively and desktop-restore-frames is non-nil. Doc fix.
5714 (desktop-read): Set desktop-saved-frameset to nil.
5715
ab419665
XF
57162013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5717
5718 * vc/vc.el (vc-ignore): Rewrite.
5719 (vc-default-ignore-completion-table):
5720 (vc--read-lines):
5721 (vc--add-line, vc--remove-regexp): New functions.
5722
5723 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5724 (vc-svn-ignore-completion-table): New function.
5725
5726 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5727 (vc-hg-ignore-completion-table):
5728 (vc-hg-find-ignore-file): New functions.
5729
5730 * vc/vc-git.el (vc-git-ignore): Rewrite.
5731 (vc-git-ignore-completion-table):
5732 (vc-git-find-ignore-file): New functions.
5733
5734 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5735
5736 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5737 (vc-bzr-ignore-completion-table):
5738 (vc-bzr-find-ignore-file): New functions.
5739
2613dea2
JB
57402013-08-03 Juanma Barranquero <lekktu@gmail.com>
5741
5742 * frameset.el (frameset-prop): New function and setter.
5743 (frameset-save): Do not modify frame list passed by the caller.
5744
9c959872
SM
57452013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5746
5747 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5748
a104f656
SM
57492013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5750
70122acf
SM
5751 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5752 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5753
a104f656
SM
5754 * custom.el (custom-initialize-default, custom-initialize-set)
5755 (custom-initialize-reset, custom-initialize-changed): Affect the
5756 toplevel-default-value (bug#6275, bug#14586).
5757 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5758 for bug#6275.
5759
f078d570
JB
57602013-08-02 Juanma Barranquero <lekktu@gmail.com>
5761
185e3b5a
JB
5762 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5763 Add cl-def* expressions.
5764
f078d570
JB
5765 * frameset.el (frameset-filter-params): Fix order of arguments.
5766
9421876d
JB
57672013-08-02 Juanma Barranquero <lekktu@gmail.com>
5768
5769 Move code related to saving frames to frameset.el.
5770 * desktop.el: Require frameset.
5771 (desktop-restore-frames): Doc fix.
5772 (desktop-restore-reuses-frames): Rename from
5773 desktop-restoring-reuses-frames.
5774 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5775 (desktop-clear): Clear frames too.
5776 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5777 (desktop--filter-tty*, desktop-save, desktop-read):
5778 Use frameset functions.
5779 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5780 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5781 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5782 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5783 (desktop--process-minibuffer-frames, desktop-save-frames)
5784 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5785 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5786 (desktop--sort-states, desktop-restoring-frames-p)
5787 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5788 (desktop-restoring-frameset-p, desktop-restore-frameset)
5789 (desktop--check-dont-save, desktop-save-frameset): New functions.
5790 (desktop--app-id): New constant.
5791 (desktop-first-buffer, desktop-buffer-ok-count)
5792 (desktop-buffer-fail-count): Move before first use.
5793 * frameset.el: New file.
5794
76dc5996
SM
57952013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * files.el: Use lexical-binding.
5798 (dir-locals-read-from-file): Remove unused `err' variable.
5799 (hack-dir-local-variables--warned-coding): New var.
5800 (hack-dir-local-variables): Use it to avoid repeated warnings.
5801 (make-backup-file-name--default-function): New function.
5802 (make-backup-file-name-function): Use it as default.
5803 (buffer-stale--default-function): New function.
5804 (buffer-stale-function): Use it as default.
5805 (revert-buffer-insert-file-contents--default-function): New function.
5806 (revert-buffer-insert-file-contents-function): Use it as default.
5807 (insert-directory): Avoid add-to-list.
5808
5809 * autorevert.el (auto-revert-handler): Simplify.
5810 Use buffer-stale--default-function.
5811
06d36e2b
TH
58122013-08-01 Tassilo Horn <tsdh@gnu.org>
5813
5f648ab4
TH
5814 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5815
06d36e2b
TH
5816 * whitespace.el (whitespace-ensure-local-variables): New function.
5817 (whitespace-cleanup-region): Call it.
5818 (whitespace-turn-on): Call it.
5819
a43dc424
MA
58202013-08-01 Michael Albinus <michael.albinus@gmx.de>
5821
5822 Complete file name handlers.
5823
5824 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5825 (tramp-handle-verify-visited-file-modtime)
5826 (tramp-handle-file-notify-rm-watch): New functions.
5827 (tramp-call-process): Do not bind `default-directory'.
5828
44e18199
JB
5829 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5830 Order alphabetically.
a43dc424
MA
5831 [access-file, add-name-to-file, dired-call-process]:
5832 [dired-compress-file, file-acl, file-notify-rm-watch]:
5833 [file-ownership-preserved-p, file-selinux-context]:
5834 [make-directory-internal, make-symbolic-link, set-file-acl]:
5835 [set-file-selinux-context, set-visited-file-modtime]:
5836 [verify-visited-file-modtime]: Add handler.
5837 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5838
5839 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5840 [file-notify-add-watch, file-notify-rm-watch]:
5841 [set-file-times, set-visited-file-modtime]:
5842 [verify-visited-file-modtime]: Add handler.
5843 (with-tramp-gvfs-error-message)
5844 (tramp-gvfs-handle-set-visited-file-modtime)
5845 (tramp-gvfs-fuse-file-name): Remove.
5846 (tramp-gvfs-handle-file-notify-add-watch)
5847 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5848 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5849
44e18199
JB
5850 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5851 Order alphabetically.
a43dc424
MA
5852 [file-notify-rm-watch ]: Use default Tramp handler.
5853 [executable-find]: Remove private handler.
5854 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5855 `default-directory'.
5856 (tramp-sh-handle-executable-find)
5857 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5858 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5859 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5860 Do not use `format' in `tramp-message'.
5861
5862 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5863 [file-notify-rm-watch, set-visited-file-modtime]:
5864 [verify-visited-file-modtime]: Add handler.
5865 (tramp-smb-call-winexe): Do not bind `default-directory'.
5866
7188b515
XF
58672013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5868
5869 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5870
2412ee1a
DG
58712013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5872
5873 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5874 use it.
5875 (log-view-diff-changeset): Same.
5876 (log-view-diff-common): Call backend command `previous-revision'
5877 to find out the previous revision, in both cases. Swap the
5878 variables `to' and `fr', so that `fr' usually refers to the
5879 earlier revision (Bug#14989).
5880
5002a754
KRC
58812013-07-31 Kan-Ru Chen <kanru@kanru.info>
5882
5883 * ibuf-ext.el (ibuffer-filter-by-filename):
5884 Make it work with dired buffers too.
5885
44e18199 58862013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5887
5888 * emacs-lisp/re-builder.el (reb-color-display-p):
5889 * files.el (save-buffers-kill-terminal):
5890 * net/browse-url.el (browse-url):
5891 * server.el (server-save-buffers-kill-terminal):
5892 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5893 Prefer nil to selected-frame for the first arg of frame-parameter.
5894
aeca3fbb
XF
58952013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5896
5897 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5898
158bc55c
SB
58992013-07-30 Stephen Berman <stephen.berman@gmx.net>
5900
5901 * minibuffer.el (completion--twq-all): Try and preserve each
5902 completion's case choice (bug#14907).
5903
d50fceab
LMI
59042013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5905
ac38e731
LMI
5906 * net/network-stream.el (open-network-stream): Mention the new
5907 :nogreeting parameter.
5908 (network-stream-open-starttls): Use the :nogreeting parameter
5909 (bug#14938).
5910
1211de50
LMI
5911 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5912
997798bf
LMI
5913 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5914 more natural than popping.
5915
d50fceab 5916 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5917 (shr-urlify): Highlight under mouse.
d50fceab 5918
5c09de04
XF
59192013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5920
207d1d04
XF
5921 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5922
5923 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5924
5c09de04
XF
5925 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5926 buffer for output.
5927
3cd51eaa
XF
5928 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5929 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5930
44e18199 5931 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5932 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5933
5934 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5935
5936 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5937 buffer for output.
5938
35a89bdd
EZ
59392013-07-29 Eli Zaretskii <eliz@gnu.org>
5940
5941 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5942 initial frame is minibuffer-less. (Bug#14841)
5943
78822e94
MA
59442013-07-29 Michael Albinus <michael.albinus@gmx.de>
5945
5946 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5947 option.
5948
5949 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5950 (tramp-maybe-open-connection): Use it.
5951
9503c190
JB
59522013-07-28 Juanma Barranquero <lekktu@gmail.com>
5953
5954 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5955 minimal set of parameters passed when creating a frame, because
5956 the minibuffer status of a frame cannot be changed later.
5957
d5a845b4
SB
59582013-07-28 Stephen Berman <stephen.berman@gmx.net>
5959
5960 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5961 replace-regexp-in-string and inadvertent omissions in previous change.
5962 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5963 name of filtered items buffer.
d5a845b4 5964
ddeffb17
JB
59652013-07-28 Juanma Barranquero <lekktu@gmail.com>
5966
5967 * desktop.el: Optionally force offscreen frames back onscreen.
5968 (desktop-restoring-reuses-frames): New option.
5969 (desktop--compute-pos, desktop--move-onscreen): New functions.
5970 (desktop--make-frame): Use desktop--move-onscreen.
5971
f5950f7a
AM
59722013-07-27 Alan Mackenzie <acm@muc.de>
5973
5974 Fontify a Java generic method as a function.
5975 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5976 value to t.
5977
ae43b66a
SB
59782013-07-27 Stephen Berman <stephen.berman@gmx.net>
5979
5980 * calendar/todo-mode.el: Add command to rename todo files.
5981 (todo-rename-file): New command.
5982 (todo-key-bindings-t): Add key binding for it. Change the
5983 bindings of todo-filter-regexp-items(-multifile) to use `x'
5984 instead of `r', since the latter is better suited to the new
5985 renaming command.
5986
5ab78d3d
AM
59872013-07-27 Alan Mackenzie <acm@muc.de>
5988
5989 Make Java try-with-resources statement parse properly.
5990 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5991 (c-block-stmt-1-2-key): New language constants/variables.
5992 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5993 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5994 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5995 with c-block-stmt-1-2-key.
5ab78d3d 5996
d85c4d50
JB
59972013-07-27 Juanma Barranquero <lekktu@gmail.com>
5998
5999 * desktop.el (desktop--make-frame): Apply most frame parameters after
6000 creating the frame to force (partially or totally) offscreen frames to
6001 be restored as such.
6002
e4c467f9
XF
60032013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6004
6005 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6006 (Bug#14948)
e4c467f9 6007
7ced0d04
SM
60082013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6011 `base' arg of backtrace-frame.
6012
fec92060
EZ
60132013-07-26 Eli Zaretskii <eliz@gnu.org>
6014
6015 * simple.el (list-processes): Doc fix.
6016
d58d31fb
JB
60172013-07-26 Juanma Barranquero <lekktu@gmail.com>
6018
6019 * desktop.el (desktop--select-frame):
d85c4d50 6020 Try harder to reuse existing frames.
d58d31fb 6021
53ff3e77
SM
60222013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6023
6024 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6025 (edebug-eval): Use backtrace-eval.
6026 (edebug--display, edebug--recursive-edit): Don't let-bind the
6027 edebug-outer-* vars that keep track of variables we locally let-bind.
6028 (edebug-outside-excursion): Don't restore outside values of locally
6029 let-bound vars.
6030 (edebug--display): Use user-error.
6031 (cl-lexical-debug, cl-debug-env): Remove.
6032
045f7a53
JB
60332013-07-26 Juanma Barranquero <lekktu@gmail.com>
6034
6035 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6036 are restored to be sure that they are visible before deleting any
6037 remaining ones.
6038
59070b32
MM
60392013-07-26 Matthias Meulien <orontee@gmail.com>
6040
742a3501
XF
6041 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6042 vc-print-root-log. (Bug#14948)
59070b32 6043
b1fb3596
RS
60442013-07-26 Richard Stallman <rms@gnu.org>
6045
6046 Add aliases for encrypting mail.
6047 * epa.el (epa-mail-aliases): New option.
6048 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6049 Bind inhibit-read-only so read-only text doesn't ruin everything.
6050 (epa-mail-default-recipients): New subroutine broken out.
6051 Handle epa-mail-aliases.
6052
56ea7291
SM
60532013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 Add support for lexical variables to the debugger's `e' command.
6056 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6057 vars, except for debugger-outer-match-data.
6058 (debugger-frame-number): Move check for "on a function call" from
6059 callers into it. Add `skip-base' argument.
6060 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6061 (debugger-env-macro): Only reset the state stored in non-variables,
6062 i.e. current-buffer and match-data.
6063 (debugger-eval-expression): Rewrite using backtrace-eval.
6064 * subr.el (internal--called-interactively-p--get-frame): Remove.
6065 (called-interactively-p):
6066 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6067 `base' arg of backtrace-frame instead.
6068
15ac32d5
GM
60692013-07-26 Glenn Morris <rgm@gnu.org>
6070
8358a09d
GM
6071 * align.el (align-regexp): Doc fix. (Bug#14857)
6072 (align-region): Explicit error if subexpression missing/does not match.
6073
15ac32d5
GM
6074 * simple.el (global-visual-line-mode):
6075 Do not duplicate the mode lighter. (Bug#14858)
6076
f47ad11b
MR
60772013-07-25 Martin Rudalics <rudalics@gmx.at>
6078
6079 * window.el (display-buffer): In display-buffer bind
6080 split-window-keep-point to t, bug#14829.
6081
02530987
JB
60822013-07-25 Juanma Barranquero <lekktu@gmail.com>
6083
6084 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6085 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6086 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6087 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6088 Change accordingly.
f63ebeb5
JB
6089 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6090 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6091
6ccb9cab 60922013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6093
6ccb9cab 6094 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6095
cb3a56d2
JB
60962013-07-25 Juanma Barranquero <lekktu@gmail.com>
6097
6098 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6099 parameter to modify-frame-parameters if the value has not changed;
6100 this is a workaround for bug#14949.
6101 (desktop--make-frame): On cl-delete-if call, check parameter name,
6102 not full parameter.
6103
7aa7fff0
XF
61042013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6105
6106 * vc/vc.el (vc-ignore): New function.
6107
6108 * vc/vc-svn.el (vc-svn-ignore): New function.
6109
6110 * vc/vc-hg.el (vc-hg-ignore): New function.
6111
6112 * vc/vc-git.el (vc-git-ignore): New function.
6113
6114 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6115 (vc-dir-ignore): New function.
6116
6117 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6118 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6119
6120 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6121
6122 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6123
889acc5c
JB
61242013-07-24 Juanma Barranquero <lekktu@gmail.com>
6125
6126 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6127 (desktop-restore-frames): Warn when deleting an existing frame failed.
6128
86c40970
GM
61292013-07-24 Glenn Morris <rgm@gnu.org>
6130
6131 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6132
d5d3c58a
MA
61332013-07-24 Michael Albinus <michael.albinus@gmx.de>
6134
6135 * filenotify.el (file-notify-supported-p):
6136 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6137 Remove functions.
6138
6139 * autorevert.el (auto-revert-use-notify):
6140 (auto-revert-notify-add-watch):
6141 * net/tramp.el (tramp-file-name-for-operation):
6142 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6143 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6144 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6145 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6146 Remove `file-notify-supported-p' entry.
6147
d100084b
GM
61482013-07-24 Glenn Morris <rgm@gnu.org>
6149
6150 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6151 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6152
ac93e56b
SM
61532013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6154
249eea30
SM
6155 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6156 checked with memq (bug#14935).
6157
ac93e56b
SM
6158 * files.el (revert-buffer-function): Use a non-nil default.
6159 (revert-buffer-preserve-modes): Declare var to
6160 provide access to the `preserve-modes' argument.
6161 (revert-buffer): Let-bind it.
6162 (revert-buffer--default): New function, extracted from revert-buffer.
6163
2cdeb903
SM
61642013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6165
6166 * lpr.el: Signal print errors more prominently.
6167 (print-region-function): Don't default to nil.
6168 (lpr-print-region): New function, extracted from print-region-1.
6169 Check lpr's return value and signal an error in case of problem.
6170 (print-region-1): Use it.
6171 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6172 versions instead.
6173 (ps-printer-name): Default to nil.
6174 (ps-printer-name-option): Default to lpr-printer-switch.
6175 (ps-print-region-function): Don't default to nil.
6176 (ps-postscript-code-directory): Simplify default.
6177 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6178 (ps-string-list, ps-eval-switch, ps-flatten-list)
6179 (ps-flatten-list-1): Remove.
6180 (ps-multibyte-buffer): Avoid setq.
6181 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6182 (print-region-function, ps-print-region-function): Don't set them here.
6183
73600831
XF
61842013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6185
0e55c076
XF
6186 * ido.el (ido-fractionp):
6187 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6188 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6189 (ido-max-directory-size, ido-max-dir-file-cache)
6190 (ido-decorations): Doc fix.
6191
73600831
XF
6192 * ansi-color.el: Fix old URL.
6193
3d012865
MM
61942013-07-23 Michael R. Mauger <michael@mauger.com>
6195
e903c210 6196 * progmodes/sql.el: Version 3.3
3d012865
MM
6197 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6198 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6199 (sql-interactive-remove-continuation-prompt): Rewrite, use
6200 functions above. Fix continuation prompt and complete output line
6201 handling.
6202 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6203 redirected output buffer.
6204 (sql-mode): Restore deleted code (Bug#13591).
6205
da77a2e2
JB
62062013-07-23 Juanma Barranquero <lekktu@gmail.com>
6207
6208 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6209
80ff0c71
MA
62102013-07-23 Michael Albinus <michael.albinus@gmx.de>
6211
6212 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6213
6214 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6215 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6216 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6217
b61d71e4
JB
62182013-07-23 Juanma Barranquero <lekktu@gmail.com>
6219
6220 * desktop.el (desktop-clear): Simplify; remove useless checks
6221 against invalid buffer names.
6222 (desktop-list*): Use cl-list*.
6223 (desktop-buffer-info, desktop-create-buffer): Simplify.
6224
c3512092
LL
62252013-07-23 Leo Liu <sdl.web@gmail.com>
6226
6227 * bookmark.el (bookmark-make-record): Restore NAME as a default
6228 value. (Bug#14933)
6229
0ac26976
SM
62302013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6231
7d22ce18
SM
6232 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6233 extracted from autoload--insert-text.
6234 (autoload--insert-text): Remove.
6235 (autoload--print-cookie-text): New function, extracted from
6236 autoload--insert-cookie-text.
6237 (autoload--insert-cookie-text): Remove.
6238 (autoload-generate-file-autoloads): Adjust calls accordingly.
6239
9b2607e8
SM
6240 * winner.el (winner-hook-installed-p): Remove.
6241 (winner-mode): Simplify accordingly.
6242
c43a8618
SM
6243 * subr.el (add-to-list): Fix compiler-macro when `append' is
6244 not constant. Don't use `cl-member' for the base case.
6245
0ac26976
SM
6246 * progmodes/subword.el: Fix boundary case (bug#13758).
6247 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6248 own group.
6249 (subword-backward-regexp): Make it a constant.
6250 (subword-forward-internal): Don't treat a trailing capital as the
6251 beginning of a word.
6252
6874724a
AR
62532013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6254
6255 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6256 global value of tabulated-list-revert-hook (bug#14930).
6257
70f1b5e8
JB
62582013-07-22 Juanma Barranquero <lekktu@gmail.com>
6259
a1c80d9d
JB
6260 * desktop.el: Require 'cl-lib.
6261 (desktop-before-saving-frames-functions): New hook.
6262 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6263 for frames being saved. Rename from desktop--save-minibuffer-frames.
6264 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6265 Do not save frames with non-nil `desktop-dont-save' parameter.
6266 Filter out deleted frames.
a1c80d9d
JB
6267 (desktop--find-frame): Use cl-find-if.
6268 (desktop--select-frame): Use cl-(first|second|third) to access values
6269 of desktop-mini.
6270 (desktop--make-frame): Use cl-delete-if.
6271 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6272 (desktop-restore-frames): Use cl-(first|second|third) to access values
6273 of desktop-mini. Look for visible frame at the end, not while
6274 restoring frames.
6275
70f1b5e8
JB
6276 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6277 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6278 Use string-match-p, looking-at-p (bug#14927).
6279
728dc3cc
JB
62802013-07-21 Juanma Barranquero <lekktu@gmail.com>
6281
56bc453c
JB
6282 * desktop.el (desktop-saved-frame-states):
6283 Rename from desktop--saved-states; all users changed.
6284 (desktop-save-frames): Rename from desktop--save-frames.
6285 Do not save state to desktop file.
6286 (desktop-save): Save desktop-saved-frame-states to desktop file
6287 and reset to nil.
6288 (desktop-restoring-frames-p): New function.
6289 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6290 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6291 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6292
728dc3cc
JB
6293 * desktop.el: Correctly restore iconified frames.
6294 (desktop--filter-iconified-position): New function.
6295 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6296
862f1c9c
GM
62972013-07-20 Glenn Morris <rgm@gnu.org>
6298
c4074c9f
GM
6299 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6300 Let `message' do the formatting.
6301 (def-gdb-preempt-display-buffer): Add explicit format.
6302
d828e5f9
GM
6303 * image-dired.el (image-dired-track-original-file):
6304 Use with-current-buffer.
6305 (image-dired-track-thumbnail): Use with-current-buffer.
6306 Avoid changing point of wrong window.
6307
862f1c9c
GM
6308 * image-dired.el (image-dired-track-original-file):
6309 Avoid changing point of wrong window. (Bug#14909)
6310
f0398ec1 63112013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6312
6313 * progmodes/gdb-mi.el (gdb-done-or-error):
6314 Guard against "%" in gdb output. (Bug#14127)
6315
1451928f
AS
63162013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6317
763a086d
JB
6318 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6319 (Bug#14826)
f7a03897 6320
1451928f
AS
6321 * international/mule.el (coding-system-iso-2022-flags): Fix last
6322 change.
6323
99107004
KH
63242013-07-20 Kenichi Handa <handa@gnu.org>
6325
763a086d
JB
6326 * international/mule.el (coding-system-iso-2022-flags):
6327 Add `8-bit-level-4'. (Bug#8522)
99107004 6328
48494e06
LMI
63292013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6330
8ba8eec5
LMI
6331 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6332 (bug#14815).
6333
dfbc66e3
LMI
6334 * net/eww.el (eww-process-text-input): Allow inputting when the
6335 point is at the start of the line, as the properties aren't
6336 front-sticky.
6337
48494e06
LMI
6338 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6339 degenerate widths.
6340
77c92cb9
RS
63412013-07-19 Richard Stallman <rms@gnu.org>
6342
aec7da77
RS
6343 * epa.el (epa-popup-info-window): Doc fix.
6344
77c92cb9
RS
6345 * subr.el (split-string): New arg TRIM.
6346
945c5bb1
JB
63472013-07-18 Juanma Barranquero <lekktu@gmail.com>
6348
6349 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6350 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6351
e06ec67f
MA
63522013-07-18 Michael Albinus <michael.albinus@gmx.de>
6353
c7064f05 6354 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6355 `file-notify-support'. Do not autoload. Adapt all uses.
6356 (file-notify-supported-p): New defun.
6357
c7064f05
JB
6358 * autorevert.el (auto-revert-use-notify):
6359 Use `file-notify-supported-p' instead of `file-notify-support'.
6360 Adapt docstring.
e06ec67f
MA
6361 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6362
6363 * net/tramp.el (tramp-file-name-for-operation):
6364 Add `file-notify-supported-p'.
6365
6366 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6367 New defun.
6368 (tramp-sh-file-name-handler-alist): Add it as handler for
6369 `file-notify-supported-p '.
6370
6371 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6372 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6373 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6374 Add `ignore' as handler for `file-notify-*' functions.
6375
5dc8a629
EZ
63762013-07-17 Eli Zaretskii <eliz@gnu.org>
6377
6378 * simple.el (line-move-partial, line-move): Don't start vscroll or
6379 scroll-up if the current line is not taller than the window.
6380 (Bug#14881)
6381
77aea2fb
DG
63822013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6383
6384 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6385 highlight question marks in the method names as strings.
ac72c08d
DG
6386 (ruby-block-beg-keywords): Inline.
6387 (ruby-font-lock-keyword-beg-re): Extract from
6388 `ruby-font-lock-keywords'.
77aea2fb 6389
18c26d81
JD
63902013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6391
6392 * frame.el (blink-cursor-blinks): New defcustom.
6393 (blink-cursor-blinks-done): New defvar.
6394 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6395 (blink-cursor-timer-function): Check if number of blinks has been
6396 done on X and NS.
6397 (blink-cursor-suspend, blink-cursor-check): New defuns.
6398
da48522e
GM
63992013-07-15 Glenn Morris <rgm@gnu.org>
6400
6401 * edmacro.el (edmacro-format-keys): Fix previous change.
6402
0463c1ef
PE
64032013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6404
6405 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6406 The hack didn't work outside English locales anyway.
6407
b43f6451
JB
64082013-07-15 Juanma Barranquero <lekktu@gmail.com>
6409
6410 * simple.el (define-alternatives): Rename from alternatives-define,
6411 per RMS' suggestion.
6412
b958c0ad
JB
64132013-07-14 Juanma Barranquero <lekktu@gmail.com>
6414
6415 * desktop.el (desktop-restore-frames): Change default to t.
6416 (desktop-restore-in-current-display): Now offer more options.
6417 (desktop-restoring-reuses-frames): New customization option.
6418 (desktop--saved-states): Doc fix.
6419 (desktop-filter-parameters-alist): New variable, renamed and expanded
6420 from desktop--excluded-frame-parameters.
6421 (desktop--target-display): New variable.
6422 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6423 (desktop--filter-tty*, desktop--filter-*-color)
6424 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6425 (desktop--filter-save-desktop-parm)
6426 (desktop-restore-in-original-display-p): New functions.
6427 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6428 (desktop--save-minibuffer-frames): New function, inspired by a similar
6429 function from Martin Rudalics.
6430 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6431 (desktop--restore-in-this-display-p): Remove.
6432 (desktop--find-frame): Rename from desktop--find-frame-in-display
6433 and add predicate argument.
6434 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6435 (desktop--reuse-list): New variable.
6436 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6437 New functions.
6438 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6439
f6dd8b36
MA
64402013-07-14 Michael Albinus <michael.albinus@gmx.de>
6441
6442 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6443
2ce3c565
DG
64442013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6445
763a086d
JB
6446 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6447 Highlight conversion methods on Kernel.
2ce3c565 6448
2cdb7698
AM
64492013-07-13 Alan Mackenzie <acm@muc.de>
6450
6451 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6452 and comment it out. This out-commenting enables certain C++
6453 declarations to be parsed correctly.
6454
1a67b811
EZ
64552013-07-13 Eli Zaretskii <eliz@gnu.org>
6456
1b796d6b
EZ
6457 * international/mule.el (define-coding-system): Doc fix.
6458
1a67b811
EZ
6459 * simple.el (default-font-height): Don't call font-info if the
6460 frame's default font didn't change since the frame was created.
6461 (Bug#14838)
6462
58fbe886
LL
64632013-07-13 Leo Liu <sdl.web@gmail.com>
6464
6465 * ido.el (ido-read-file-name): Guard against non-symbol value.
6466
1f0480d4
FEG
64672013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6468
6469 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6470 in nested defuns.
6471
97ead0e5
LL
64722013-07-13 Leo Liu <sdl.web@gmail.com>
6473
6474 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6475 ido-set-matches call. (Bug#6852)
6476
0880a952
DG
64772013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6478
6479 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6480 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6481 Ruby 2.0.
6482 (ruby-font-lock-keywords): Distinguish calls to functions with
6483 module-like names from module references. Highlight character
6484 literals.
6485
a7d8babb
SDJ
64862013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6487
6488 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6489 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6490
acfcc8c5
JB
64912013-07-12 Juanma Barranquero <lekktu@gmail.com>
6492
6493 * desktop.el (desktop--v2s): Remove unused local variable.
6494 (desktop-save-buffer): Make defvar-local; adjust docstring.
6495 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6496 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6497
051f2775
AS
64982013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6499
6500 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6501
f24e7572
GM
65022013-07-12 Eli Zaretskii <eliz@gnu.org>
6503
6504 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6505 (Bug#14842)
6506
539a920c
GM
65072013-07-12 Glenn Morris <rgm@gnu.org>
6508
6509 * doc-view.el: Require cl-lib at runtime too.
6510 (doc-view-remove-if): Remove.
6511 (doc-view-search-next-match, doc-view-search-previous-match):
6512 Use cl-remove-if.
6513
6514 * edmacro.el: Require cl-lib at runtime too.
6515 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6516 (edmacro-mismatch, edmacro-subseq): Remove.
6517
6518 * shadowfile.el: Require cl-lib.
6519 (shadow-remove-if): Remove.
6520 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6521 Use cl-remove-if.
6522
6523 * wid-edit.el: Require cl-lib.
6524 (widget-choose): Use cl-remove-if.
6525 (widget-remove-if): Remove.
6526
6527 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6528 (ebrowse-delete-if-not): Remove.
6529 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6530 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6531 Use cl-delete-if-not.
6532
1048af7c
JB
65332013-07-12 Juanma Barranquero <lekktu@gmail.com>
6534
6535 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6536 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6537
6c0674ee
LL
65382013-07-12 Leo Liu <sdl.web@gmail.com>
6539
6540 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6541
a19b3c2d
GM
65422013-07-11 Glenn Morris <rgm@gnu.org>
6543
4582a01c
GM
6544 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6545 (edebug-gensym-index, edebug-gensym):
6546 Remove reimplementation of cl-gensym.
6547 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6548
6549 * thumbs.el: Require cl-lib at run-time too.
6550 (thumbs-gensym-counter, thumbs-gensym):
6551 Remove reimplementation of cl-gensym.
6552 (thumbs-temp-file): Use cl-gensym.
6553
a19b3c2d
GM
6554 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6555 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6556 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6557 (ert--union, ert--gensym-counter, ert--gensym-counter)
6558 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6559 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6560 (ert-make-test-unbound, ert--expand-should-1)
6561 (ert--expand-should, ert--should-error-handle-error)
6562 (should-error, ert--explain-equal-rec)
6563 (ert--plist-difference-explanation, ert-select-tests)
6564 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6565 Use cl-lib functions rather than reimplementations.
6566
88f6a933
MA
65672013-07-11 Michael Albinus <michael.albinus@gmx.de>
6568
6569 * net/tramp.el (tramp-methods): Extend docstring.
6570 (tramp-connection-timeout): New defcustom.
6571 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6572 (with-tramp-progress-reporter): Simplify.
6573 (tramp-process-actions): Improve messages.
6574
6575 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6576 * net/tramp-sh.el (tramp-maybe-open-connection):
6577 Use `tramp-connection-timeout'.
6578 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6579 (Bug#14808)
6580
a43d577e
LL
65812013-07-11 Leo Liu <sdl.web@gmail.com>
6582
6583 * ido.el (ido-read-file-name): Conform to the requirements of
6584 read-file-name. (Bug#11861)
6585 (ido-read-directory-name): Conform to the requirements of
6586 read-directory-name.
6587
d77974bf
JB
65882013-07-11 Juanma Barranquero <lekktu@gmail.com>
6589
6590 * subr.el (delay-warning): New function.
6591
35cb8a3e
EZ
65922013-07-10 Eli Zaretskii <eliz@gnu.org>
6593
6594 * simple.el (default-line-height): New function.
6595 (line-move-partial, line-move): Use it instead of computing the
6596 line height inline.
6597 (line-move-partial): Always compute ROWH. If the last line is
6598 partially-visible, but its text is completely visible, allow
6599 cursor to enter such a partially-visible line.
6600
525c5c77
MA
66012013-07-10 Michael Albinus <michael.albinus@gmx.de>
6602
6603 Improve error messages. (Bug#14808)
6604
6605 * net/tramp.el (tramp-current-connection): New defvar, moved from
6606 tramp-sh.el.
0ac26976 6607 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6608 needed anymore.
0ac26976
SM
6609 (tramp-error-with-buffer): Show message in minibuffer.
6610 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6611 (with-tramp-progress-reporter): Improve messages.
6612 (tramp-process-actions): Use progress reporter. Delete process in
6613 case of error. Improve messages.
6614
763a086d
JB
6615 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6616 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6617 (tramp-current-connection): Remove.
525c5c77
MA
6618 (tramp-maybe-open-connection): The car of
6619 `tramp-current-connection' are the first 3 slots of the vector.
6620
c7a4d368
TZ
66212013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6622
6623 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6624 inside continued strings.
6625
954b166e
PE
66262013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6627
6628 Timestamp fixes for undo (Bug#14824).
6629 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6630
56973319
LL
66312013-07-10 Leo Liu <sdl.web@gmail.com>
6632
6633 * files.el (require-final-newline): Allow safe local value.
6634 (Bug#14834)
6635
5550a72c
LL
66362013-07-09 Leo Liu <sdl.web@gmail.com>
6637
6638 * ido.el (ido-read-directory-name): Handle fallback.
6639 (ido-read-file-name): Update DIR to ido-current-directory.
6640 (Bug#1516)
c28b9050 6641 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6642
70c46b28
DG
66432013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6644
6645 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6646 "autoload". Remove "warn lower camel case" section, previously
6647 commented out. Highlight negation char. Do not highlight the
6648 target in singleton method definitions.
6649
0b64b838
SM
66502013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6651
7fd72e2c
SM
6652 * faces.el (tty-setup-hook): Declare the hook.
6653
0b64b838
SM
6654 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6655 and detect when a guard/pred depends on local vars (bug#14773).
6656 (pcase--u1): Adjust caller.
6657
ab49d60b
EZ
66582013-07-08 Eli Zaretskii <eliz@gnu.org>
6659
6660 * simple.el (line-move-partial, line-move): Account for
6661 line-spacing.
701d79aa
EZ
6662 (line-move-partial): Avoid setting vscroll when the last
6663 partially-visible line in window is of default height.
ab49d60b 6664
2d756ae0
LMI
66652013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6666
6667 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6668 been used a while.
6669
ed095bd7
JB
66702013-07-07 Juanma Barranquero <lekktu@gmail.com>
6671
6672 * subr.el (read-quoted-char): Remove unused local variable `char'.
6673
f1e6674b
MK
66742013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6675
584ee3fc
GM
6676 * ediff.el (ediff-version): Version update.
6677 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6678 (ediff-merge-with-ancestor-command, ediff-directories-command)
6679 (ediff-directories3-command, ediff-merge-directories-command)
6680 (ediff-merge-directories-with-ancestor-command): New functions.
6681 All are command-line interfaces to ediff: to facilitate calling
6682 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6683
6684 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6685 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6686
584ee3fc
GM
6687 * viper.el (viper-version): Version update.
6688 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6689
584ee3fc
GM
66902013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6691
6692 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6693 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6694 (viper-intercept-ESC-key): Simplify.
6695 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6696 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6697 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6698 (viper-setup-ESC-to-escape): New functions.
6699 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6700 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6701
9aff9b38
EZ
67022013-07-07 Eli Zaretskii <eliz@gnu.org>
6703
5165d44a
JB
6704 * simple.el (default-font-height, window-screen-lines):
6705 New functions.
9aff9b38
EZ
6706 (line-move, line-move-partial): Use them instead of
6707 frame-char-height and window-text-height. This makes scrolling
6708 text smoother when the buffer's default face uses a font that is
6709 different from the frame's default font.
6710
1afb1d07
JD
67112013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6712
6713 * files.el (write-file): Do not display confirm dialog for NS,
6714 it does its own dialog, which can't be cancelled (Bug#14578).
6715
23de972a
EZ
67162013-07-06 Eli Zaretskii <eliz@gnu.org>
6717
6718 * simple.el (line-move-partial): Adjust the row returned by
6719 posn-at-point for the current window-vscroll. (Bug#14567)
6720
54a42486
MA
67212013-07-06 Michael Albinus <michael.albinus@gmx.de>
6722
6723 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6724 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6725 spaces.
6726
34ada5f4
MR
67272013-07-06 Martin Rudalics <rudalics@gmx.at>
6728
6729 * window.el (window-state-put-stale-windows): New variable.
6730 (window--state-put-2): Save list of windows without matching buffer.
6731 (window-state-put): Remove "bufferless" windows if possible.
6732
11e03d89
JB
67332013-07-06 Juanma Barranquero <lekktu@gmail.com>
6734
6735 * simple.el (alternatives-define): Remove leftover :group keyword.
6736 Tweak docstring.
6737
3504a4be
LL
67382013-07-06 Leo Liu <sdl.web@gmail.com>
6739
6740 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6741 (ido-enable-virtual-buffers): New variable.
6742 (ido-buffer-internal, ido-toggle-virtual-buffers)
6743 (ido-make-buffer-list): Use it.
6744 (ido-exhibit): Support turning on and off virtual buffers
6745 automatically.
6746
61e56e2c
JB
67472013-07-06 Juanma Barranquero <lekktu@gmail.com>
6748
6749 * simple.el (alternatives-define): New macro.
6750
321e1a9c
SM
67512013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * subr.el (read-quoted-char): Use read-key.
6754 (sit-for): Let read-event decode tty input (bug#14782).
6755
d610f6dd
SB
67562013-07-05 Stephen Berman <stephen.berman@gmx.net>
6757
6758 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6759 mode command and externally. Fix various related bugs.
6760 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6761 (todo-delete-file): New command.
6762 (todo-check-file): New function.
6763 (todo-show): Handle external deletion of the file we're trying to
6764 show (bug#14688). Replace called-interactively-p by an optional
6765 prefix argument to avoid problematic interaction with catch form
6766 when byte compiled (bug#14702).
6767 (todo-quit): Handle external deletion of the archive's todo file.
6768 Make sure the buffer that was visiting the archive file is still
6769 live before trying to bury it.
6770 (todo-category-completions): Handle external deletion of any
6771 category completion files.
6772 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6773 of todo files, in case of external deletion.
6774 (todo-add-file): Replace unnecessary setq by let-binding.
6775 (todo-find-archive): Check whether there are any archives.
6776 Replace unnecessary setq by let-binding.
6777 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6778 archive buffer whether or not the archive already exists.
6779 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6780 check if the archive is new; if it is, update list of archives.
6781 (todo-default-todo-file): Allow nil to be a valid value for when
6782 there are no todo files.
6783 (todo-reevaluate-default-file-defcustom): Use corrected definition
6784 of todo-default-todo-file.
6785 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6786 (todo-delete-category, todo-show-categories-table)
6787 (todo-category-number): Clarify comment.
6788 (todo-filter-items): Clarify documentation string.
6789 (todo-show-current-file, todo-display-as-todo-file)
6790 (todo-reset-and-enable-done-separator): Tweak documentation string.
6791 (todo-done-separator): Make separator length window-width, since
6792 bug#2749 is now fixed.
6793
ddbdfd6f
MA
67942013-07-05 Michael Albinus <michael.albinus@gmx.de>
6795
321e1a9c
SM
6796 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6797 Support both "gvfs-monitor-dir" and "inotifywait".
6798 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6799 `tramp-sh-file-notify-process-filter'.
6800 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6801 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6802
96eb829a
LL
68032013-07-05 Leo Liu <sdl.web@gmail.com>
6804
6805 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6806
cf13177e
YM
68072013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6808
6809 * frame.el (display-pixel-height, display-pixel-width)
6810 (display-mm-height, display-mm-width): Mention behavior on
6811 multi-monitor setups in docstrings.
6812 (w32-display-monitor-attributes-list): Declare function.
6813 (display-monitor-attributes-list): Use it.
6814
864c58ca
MA
68152013-07-04 Michael Albinus <michael.albinus@gmx.de>
6816
6817 * filenotify.el: New package.
6818
6819 * autorevert.el (top): Require filenotify.el.
6820 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6821 instead.
6822 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6823 (auto-revert-notify-handler): Use `file-notify-*' functions.
6824
6825 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6826
321e1a9c
SM
6827 * net/tramp.el (tramp-file-name-for-operation):
6828 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6829
6830 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6831 for `file-notify-add-watch' and `file-notify-rm-watch'.
6832 (tramp-process-sentinel): Improve trace.
6833 (tramp-sh-handle-file-notify-add-watch)
6834 (tramp-sh-file-notify-process-filter)
6835 (tramp-sh-handle-file-notify-rm-watch)
6836 (tramp-get-remote-inotifywait): New defuns.
6837
96673afe
JL
68382013-07-03 Juri Linkov <juri@jurta.org>
6839
6840 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6841 call of `occur-read-primary-args' to interactive spec.
6842
6843 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6844 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6845
924494f4
MM
68462013-07-03 Matthias Meulien <orontee@gmail.com>
6847
6848 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6849 `Buffer-menu-multi-occur'. Add it to the menu.
6850 (Buffer-menu-mode): Document it in docstring.
6851 (Buffer-menu-multi-occur): New command. (Bug#14673)
6852
56f75efc
DG
68532013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6854
6855 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6856 keywords and built-ins.
6857
9b057d61
GM
68582013-07-03 Glenn Morris <rgm@gnu.org>
6859
208dee4d
GM
6860 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6861
9b057d61
GM
6862 Make info-xref checks case-sensitive by default
6863 * info.el (Info-find-node, Info-find-in-tag-table)
6864 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6865 Add option for exact case matching of nodes.
6866 * info-xref.el (info-xref): New custom group.
6867 (info-xref-case-fold): New option.
6868 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6869
e01aa29c
LL
68702013-07-03 Leo Liu <sdl.web@gmail.com>
6871
6872 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6873
3086ca2e
DG
68742013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6875
6876 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6877 middle of block statement initially, lower the depth. Remove
6878 FIXME comment, not longer valid. Remove middle of block statement
6879 detection, no need to do that anymore since we've been using
6880 `ruby-parse-region' here.
6881
a3b49114
JD
68822013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6883
6884 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6885
08e5c823 68862013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6887
6888 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6889
2addf922
JB
68902013-07-01 Juanma Barranquero <lekktu@gmail.com>
6891
6892 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6893 (desktop-restore-in-current-display): New customization option.
6894 (desktop--excluded-frame-parameters): Add `font'.
6895 (desktop--save-frames): Rename from desktop--save-windows.
6896 (desktop--restore-in-this-display-p): New function.
6897 (desktop--make-full-frame): Remove unwanted width/height from
6898 full(width|height) frames.
6899 (desktop--restore-frames): Rename from desktop--restore-windows.
6900 Obey desktop-restore-current-display. Do not delete old frames or
6901 select a new frame unless we were able to restore at least one frame.
6902
ef099a94
MN
69032013-06-30 Michal Nazarewicz <mina86@mina86.com>
6904
6905 * files.el (find-file-noselect): Simplify conditional expression.
6906
6907 * remember.el (remember-append-to-file):
6908 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6909
6910 Add `remember-notes' function to store random notes across Emacs
6911 restarts.
6912 * remember.el (remember-data-file): Add :set callback to affect
6913 notes buffer (if any).
6914 (remember-notes): New command.
6915 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6916 New defcustoms for the `remember-notes' function.
6917 (remember-notes-save-and-bury-buffer): New command.
6918 (remember-notes-mode-map): New variable.
6919 (remember-mode): New minor mode.
6920 (remember-notes--kill-buffer-query): New function.
6921 * startup.el (initial-buffer-choice): Add notes to custom type.
6922
0865d506
EZ
69232013-06-30 Eli Zaretskii <eliz@gnu.org>
6924
0ba54312
EZ
6925 * bindings.el (right-char, left-char): Don't call sit-for, this is
6926 no longer needed. Use arithmetic comparison only for numerical
6927 arguments.
6928
ef099a94
MN
6929 * international/mule-cmds.el (select-safe-coding-system):
6930 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6931
2fae38e5
LMI
69322013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6933
6934 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6935 progression on degenerate tables.
ef099a94 6936 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6937
a47cbd64
JB
69382013-06-30 Juanma Barranquero <lekktu@gmail.com>
6939
6940 Some fixes and improvements for desktop frame restoration.
6941 It is still experimental and disabled by default.
6942 * desktop.el (desktop--save-windows): Put the selected frame at
6943 the head of the list.
6944 (desktop--make-full-frame): New function.
6945 (desktop--restore-windows): Try to re-select the frame that was
6946 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6947 just show an error message and continue. Set up maximized frames
6948 so they have default non-maximized dimensions.
a47cbd64 6949
6dbafa30
DG
69502013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6951
ef099a94
MN
6952 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6953 Don't start heredoc inside a string or comment.
6dbafa30 6954
4c672a0f
EZ
69552013-06-29 Eli Zaretskii <eliz@gnu.org>
6956
6957 * bindings.el (visual-order-cursor-movement): New defcustom.
6958 (right-char, left-char): Provide visual-order cursor motion by
6959 calling move-point-visually. Update the doc strings.
6960
50960f36
KH
69612013-06-28 Kenichi Handa <handa@gnu.org>
6962
6963 * international/mule.el (define-coding-system): New coding system
6964 properties :inhibit-null-byte-detection,
6965 :inhibit-iso-escape-detection, and :prefer-utf-8.
6966 (set-buffer-file-coding-system): If :charset-list property of
6967 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6968 appropriate for setting.
6969
c1ea3abf
JB
6970 * international/mule-cmds.el (select-safe-coding-system):
6971 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6972 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6973
6974 * international/mule-conf.el (prefer-utf-8): New coding system.
6975 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6976 files.
6977
75dbaf9d
IK
69782013-06-28 Ivan Kanis <ivan@kanis.fr>
6979
eadb6068
IK
6980 * net/shr.el (shr-render-region): New function.
6981
75dbaf9d
IK
6982 * net/eww.el: Autoload `eww-browse-url'.
6983
9ea5cf9f
DG
69842013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6985
c1ea3abf
JB
6986 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6987 Adapt to `package-desc-version' being a list.
6988 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6989 archive element.
6990
39c0e36f
JB
69912013-06-27 Juanma Barranquero <lekktu@gmail.com>
6992
6993 New experimental feature to save&restore window and frame setup.
6994 * desktop.el (desktop-save-windows): New defcustom.
6995 (desktop--saved-states): New var.
6996 (desktop--excluded-frame-parameters): New defconst.
6997 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6998 (desktop--restore-windows, desktop--save-windows): New functions.
6999 (desktop-save): Call `desktop--save-windows'.
7000 (desktop-read): Call `desktop--restore-windows'.
7001
7f13406b
LMI
70022013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7003
ef099a94 7004 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7005
1e072639
SB
70062013-06-27 Stephen Berman <stephen.berman@gmx.net>
7007
7008 * info.el (Info-try-follow-nearest-node): Move search for footnote
7009 above search for node name to prevent missing a footnote (bug#14717).
7010
f3e2cbde
SB
70112013-06-27 Stephen Berman <stephen.berman@gmx.net>
7012
7013 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7014
99906aa0
LL
70152013-06-27 Leo Liu <sdl.web@gmail.com>
7016
7017 * net/eww.el (eww-read-bookmarks): Check file size.
7018
539f75f4
SM
70192013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7022 advice--pending if newdef is nil or an autoload (bug#13820).
7023 (advice-mapc): New function.
7024
843571cb
LMI
70252013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7026
7027 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7028 probably.
23a75d7f 7029 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7030 (eww-add-bookmark): New command.
7031 (eww-bookmark-mode): New mode and commands.
a285ce99 7032 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7033 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7034
f2136e1e
GM
70352013-06-26 Glenn Morris <rgm@gnu.org>
7036
eab35f39
GM
7037 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7038 (hfy-size): Handle ttys. (Bug#14668)
7039
f2136e1e
GM
7040 * info-xref.el: Update for Texinfo 5 change in *note format.
7041 (info-xref-node-re, info-xref-note-re): New constants.
7042 (info-xref-check-buffer): Use info-xref-note-re.
7043
a49ff80c
SM
70442013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7045
a343d218
SM
7046 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7047
a49ff80c
SM
7048 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7049 nil terminate the loop (bug#14718).
7050
8308f184
LMI
70512013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7052
7053 * net/eww.el: Rework history traversal. When going forward/back,
7054 put these actions into the history, too, so that they can be
7055 replayed.
26bf2b82 7056 (eww-render): Move the history reset to the correct buffer.
8308f184 7057
ec64c273
JL
70582013-06-25 Juri Linkov <juri@jurta.org>
7059
7060 * files-x.el (modify-dir-local-variable): Change the header comment
7061 in the file with directory local variables. (Bug#14692)
7062
e080a9d7
JL
7063 * files-x.el (read-file-local-variable-value): Add `default'.
7064 (Bug#14710)
7065
bfbc93a1
IK
70662013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7067
7068 * net/eww.el (eww-make-unique-file-name): Create a unique file
7069 name before saving to entering `y' accidentally asynchronously.
7070
70712013-06-25 Ivan Kanis <ivan@kanis.fr>
7072
7073 * net/eww.el (eww-download): New command and keystroke.
7074
16f74f10
LMI
70752013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7076
a49ff80c 7077 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7078
7079 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7080 be more consistent with Info and dired.
7081
7082 * net/eww.el (eww-mode-map): Ditto.
7083
12059709
SM
70842013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7085
7086 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7087 packages from archives.
7088 (package-archive-contents): Change format; include obsolete packages.
7089 (package-desc): Use `dir' to mark builtin packages.
7090 (package--from-builtin): Set the `dir' field to `builtin'.
7091 (generated-autoload-file, version-control): Declare.
7092 (package-compute-transaction): Change first arg and return value to be
7093 lists of package-descs. Adjust to new package-archive-contents format.
7094 (package--add-to-archive-contents): Adjust to new
7095 package-archive-contents format.
7096 (package-download-transaction): Arg is now a list of package-descs.
7097 (package-install): If `pkg' is a package name, pass it as
7098 a requirement, so it is subject to the usual (e.g. disabled) checks.
7099 (describe-package): Accept package-desc as well.
7100 (describe-package-1): Describe a specific package-desc. Add links to
7101 other package-descs for the same package name.
7102 (package-menu-describe-package): Pass the actual package-desc.
7103 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7104 works correctly.
7105 (package-desc-status): New function.
7106 (package-menu--refresh): New function, extracted
7107 from package-menu--generate.
7108 (package-menu--generate): Use it.
7109 (package-delete): Update package-alist.
7110 (package-menu-execute): Don't call package-initialize.
7111
7112 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7113 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7114 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7115 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7116 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7117 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7118
8bbdea0f
MR
71192013-06-25 Martin Rudalics <rudalics@gmx.at>
7120
7121 * window.el (window--state-get-1): Workaround for bug#14527.
7122 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7123
e82b0991
LMI
71242013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7125
7126 * net/eww.el (eww-back-url): Implement the history by stashing all
7127 the data into a list.
d3f0f918 7128 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7129
c763842b
SM
71302013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7131
7132 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7133 for values and use read--expression for expressions (bug#14710).
7134 (read-file-local-variable): Avoid setq.
7135 (read-file-local-variable-mode): Use minor-mode-list.
7136
bceff189
RW
71372013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7138
864c58ca 7139 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7140 for DOI URLs.
7141
45f431c6
RW
71422013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7143
864c58ca 7144 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7145 Update imenu-support when dialect changes.
7146
f42d8237
LL
71472013-06-25 Leo Liu <sdl.web@gmail.com>
7148
7149 * ido.el (ido-read-internal): Allow forward slash on windows.
7150
be549ce6
LMI
71512013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7152
7153 * net/eww.el (eww): Start of strings is \\`, not ^.
7154
71d4c19d
IK
71552013-06-24 Ivan Kanis <ivan@kanis.fr>
7156
5196f88a
IK
7157 * net/shr.el (shr-browse-url): Fix interactive spec.
7158
71d4c19d
IK
7159 * net/eww.el (eww): Add a trailing slash to domain names.
7160
ae36ca55
JB
71612013-06-24 Juanma Barranquero <lekktu@gmail.com>
7162
7163 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7164
0ebd92a3
LMI
71652013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7166
bdaa086b
LMI
7167 * net/shr.el (shr-browse-url): Use an external browser if given a
7168 prefix.
7169
c763842b 7170 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7171
b89fc156
IK
71722013-06-24 Ivan Kanis <ivan@kanis.fr>
7173
7174 * net/eww.el (eww): Work more correctly for file: URLs.
7175 (eww-detect-charset): Allow quoted charsets.
7176 (eww-yank-page-url): New command and keystroke.
7177
18eb4bca
DU
71782013-06-24 Daiki Ueno <ueno@gnu.org>
7179
7180 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7181 file name of gpg executable.
7182 (epg-context-program): New function.
7183 (epg-context-home-directory): New function.
7184 (epg-context-set-program): New function.
7185 (epg-context-set-home-directory): New function.
7186 (epg--start): Use `epg-context-program' instead of
7187 'epg-gpg-program'.
7188 (epg--list-keys-1): Likewise.
7189
6c6268c8
LL
71902013-06-24 Leo Liu <sdl.web@gmail.com>
7191
7192 * ido.el (ido-read-internal): Fix bug#14620.
7193
5e400cb3
JB
71942013-06-23 Juanma Barranquero <lekktu@gmail.com>
7195
7196 * faces.el (face-documentation): Simplify.
7197 (read-face-attribute, tty-find-type, x-resolve-font-name):
7198 Use `string-match-p'.
7199 (list-faces-display): Use `string-match-p'. Simplify.
7200 (face-spec-recalc): Check face to avoid face alias loops.
7201 (read-color): Use `string-match-p' and non-capturing parenthesis.
7202
f3f9606c
LMI
72032013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7204
7205 * net/shr.el (shr-rescale-image): Use the new
7206 :max-width/:max-height functionality.
7207
a3ca09b9
IK
72082013-06-23 Ivan Kanis <ivan@kanis.fr>
7209
7210 * net/eww.el (eww-search-prefix): New variable.
7211 (eww): Use it.
f865b474
IK
7212 (eww-external-browser): New variable.
7213 (eww-mode-map): New keystroke.
7214 (eww-browse-with-external-browser): New command.
a3ca09b9 7215
e854cfc7
IK
7216 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7217
18bb9e21
JB
72182013-06-23 Juanma Barranquero <lekktu@gmail.com>
7219
7220 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7221 Don't skip aligning the next header field when padding is 0;
7222 otherwise, field width is not respected unless the title is as
7223 wide as the field.
7224
5b165ade
SM
72252013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7226
7227 * emacs-lisp/package.el (package-el-version): Remove.
7228 (package-process-define-package): Fix inf-loop.
7229 (package-install): Allow symbols as arguments again.
7230
12adebe9
DG
72312013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7232
7233 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7234 add some more keyword-like methods.
7235 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7236
388573ee
JB
72372013-06-22 Juanma Barranquero <lekktu@gmail.com>
7238
7239 * bs.el (bs-buffer-show-mark): Make defvar-local.
7240 (bs-mode): Use setq-local.
7241
7242 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7243 (emacs-lock--try-unlocking): Make defvar-local.
7244
4582a01c 72452013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7246
2663dd23
GM
7247 * play/cookie1.el (cookie-apropos): Minor simplification.
7248
3d94f3ad
GM
7249 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7250
f72e2fdb
DG
72512013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7252
7253 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7254 `regexp-opt', it breaks the build during dumping.
7255
73eab938
DG
72562013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7257
c763842b
SM
7258 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7259 Highlight keyword-like methods on Kernel and Module with
73eab938 7260 font-lock-builtin-face.
5cf8176d
DG
7261 (auto-mode-alist): Consolidate different entries into one regexp
7262 and add more *file-s.
73eab938 7263
d26255f6
SB
72642013-06-21 Stephen Berman <stephen.berman@gmx.net>
7265
7266 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7267
7268 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7269 (diary-entry): Use it in the action of this button type instead of
7270 diary-goto-entry.
7271
7272 * calendar/todo-mode.el: New version.
7273 (todo-add-category): Append new category to end of file and give
7274 it the highest number, instead of putting it at the beginning and
7275 giving it 0. Incorporate noninteractive functionality.
7276 (todo-forward-category): Adapt to 1-based category numbering.
7277 Allow skipping over archived categories.
7278 (todo-backward-category): Derive from todo-forward-category.
7279 (todo-backward-item, todo-forward-item): Make noninteractive and
7280 delegate interactive part to new commands. Make sensitive to done items.
7281 (todo-categories): Make value an alist of category names and
7282 vectors of item counts.
7283 (todo-category-beg): Make a defconst.
7284 (todo-category-number): Use 1 instead of 0 as initial value.
7285 (todo-category-select): Make sensitive to overlays, optional item
7286 highlighting and done items.
7287 (todo-delete-item): Make sensitive to overlays and marked and done items.
7288 (todo-edit-item): Make sensitive to overlays and editing of
7289 date/time header optional. Add format checks.
7290 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7291 no-op if point is not on an item. Advertise using todo-edit-quit.
7292 (todo-edit-mode): Make sensitive to new format, font-locking, and
7293 multiple todo files.
7294 (todo-insert-item, todo-insert-item-here): Derive from
7295 todo-basic-insert-item and extend functionality.
7296 (todo-item-end, todo-item-start): Make sensitive to done items.
7297 (todo-item-string): Don't return text properties. Restore point.
7298 (todo-jump-to-category): Make sensitive to multiple todo files and
7299 todo archives. Use extended category completion.
7300 (todo-lower-item, todo-raise-item): Rename to *-priority and
7301 derive from todo-set-item-priority.
7302 (todo-mode): Derive from special-mode. Make sensitive to new
7303 format, font-locking and multiple todo files. Make read-only.
7304 (todo-mode-map): Don't suppress digit keys, so they can supply
7305 prefix arguments. Add many new key bindings.
7306 (todo-prefix): Insert as an overlay instead of file text.
7307 Change semantics from diary date expression to purely visual mark.
7308 (todo-print): Rename to todo-print-buffer. Make buffer display
7309 features printable. Remove option to restrict number of items
7310 printed. Add option to print to file.
7311 (todo-print-function): Rename to todo-print-buffer-function.
7312 (todo-quit): Extend to handle exiting new todo modes.
7313 (todo-remove-item): Make sensitive to overlays.
7314 (todo-save): Extend to buffers of filtered items.
7315 (todo-show): Make sensitive to done items, multiple todo files and
7316 new todo modes. Offer to convert legacy todo file before creating
7317 first new todo file.
7318 (todo-show-priorities): Rename to todo-top-priorities.
7319 Change semantics of value 0.
7320 (todo-top-priorities): Rename to todo-filter-top-priorities,
7321 derive from todo-filter-items and extend functionality.
7322 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7323 and extend functionality to other types of filtered items.
7324 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7325 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7326 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7327 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7328 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7329 (todo-edit-mode-hook, todo-entry-prefix-function)
7330 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7331 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7332 (todo-initials, todo-insert-threshold, todo-item-string-start)
7333 (todo-line-string, todo-menu, todo-mode-hook)
7334 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7335 (todo-print-priorities, todo-remove-separator)
7336 (todo-save-top-priorities-too, todo-string-count-lines)
7337 (todo-string-multiline-p, todo-time-string-format)
7338 (todo-tmp-buffer-name): Remove.
7339 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7340 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7341 (todo-edit-category-diary-inclusion)
7342 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7343 (todo-edit-file, todo-edit-item-date-day)
7344 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7345 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7346 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7347 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7348 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7349 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7350 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7351 (todo-filter-top-priorities-multifile, todo-find-archive)
7352 (todo-find-filtered-items-file, todo-go-to-source-item)
7353 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7354 (todo-jump-to-archive-category, todo-lower-category)
7355 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7356 (todo-move-category, todo-move-item, todo-next-button)
7357 (todo-next-item, todo-padded-string, todo-powerset)
7358 (todo-previous-button, todo-previous-item)
7359 (todo-print-buffer-to-file, todo-raise-category)
7360 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7361 (todo-set-category-number, todo-set-item-priority)
7362 (todo-set-top-priorities-in-category)
7363 (todo-set-top-priorities-in-file, todo-show-categories-table)
7364 (todo-sort-categories-alphabetically-or-numerically)
7365 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7366 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7367 (todo-toggle-item-header, todo-toggle-item-highlighting)
7368 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7369 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7370 (todo-unarchive-items, todo-unmark-category): New commands.
7371 (todo-absolute-file-name, todo-add-to-buffer-list)
7372 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7373 (todo-basic-insert-item, todo-category-completions)
7374 (todo-category-number, todo-category-string-matcher-1)
7375 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7376 (todo-check-format, todo-clear-matches)
7377 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7378 (todo-current-category, todo-date-string-matcher)
7379 (todo-define-insertion-command, todo-diary-expired-matcher)
7380 (todo-diary-goto-entry, todo-diary-item-p)
7381 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7382 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7383 (todo-done-item-section-p, todo-done-separator)
7384 (todo-done-string-matcher, todo-files, todo-filter-items)
7385 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7386 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7387 (todo-insert-category-line, todo-insert-item-from-calendar)
7388 (todo-insert-sort-button, todo-insert-with-overlays)
7389 (todo-insertion-command-name, todo-insertion-key-bindings)
7390 (todo-label-to-key, todo-longest-category-name-length)
7391 (todo-make-categories-list, todo-mode-external-set)
7392 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7393 (todo-modes-set-3, todo-multiple-filter-files)
7394 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7395 (todo-read-category, todo-read-date, todo-read-dayname)
7396 (todo-read-file-name, todo-read-time)
7397 (todo-reevaluate-category-completions-files-defcustom)
7398 (todo-reevaluate-default-file-defcustom)
7399 (todo-reevaluate-filelist-defcustoms)
7400 (todo-reevaluate-filter-files-defcustom)
7401 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7402 (todo-reset-done-separator, todo-reset-done-separator-string)
7403 (todo-reset-done-string, todo-reset-global-current-todo-file)
7404 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7405 (todo-reset-prefix, todo-set-categories)
7406 (todo-set-date-from-calendar, todo-set-show-current-file)
7407 (todo-set-top-priorities, todo-short-file-name)
7408 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7409 (todo-total-item-counts, todo-update-buffer-list)
7410 (todo-update-categories-display, todo-update-categories-sexp)
7411 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7412 New functions.
7413 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7414 New major modes.
7415 (todo-categories, todo-display, todo-edit, todo-faces)
7416 (todo-filtered): New defgroups.
7417 (todo-archived-only, todo-button, todo-category-string, todo-date)
7418 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7419 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7420 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7421 (todo-add-item-if-new-category, todo-always-add-time-string)
7422 (todo-categories-align, todo-categories-archived-label)
7423 (todo-categories-category-label, todo-categories-diary-label)
7424 (todo-categories-done-label, todo-categories-number-separator)
7425 (todo-categories-todo-label, todo-categories-totals-label)
7426 (todo-category-completions-files, todo-completion-ignore-case)
7427 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7428 (todo-done-separator-string, todo-done-string)
7429 (todo-files-function, todo-filter-done-items, todo-filter-files)
7430 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7431 (todo-initial-category, todo-initial-file, todo-item-mark)
7432 (todo-legacy-date-time-regexp, todo-mode-line-function)
7433 (todo-nondiary-marker, todo-number-prefix)
7434 (todo-print-buffer-function, todo-show-current-file)
7435 (todo-show-done-only, todo-show-first, todo-show-with-done)
7436 (todo-skip-archived-categories, todo-top-priorities-overrides)
7437 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7438 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7439 New defcustoms.
7440 (todo-category-done, todo-date-pattern, todo-date-string-start)
7441 (todo-diary-items-buffer, todo-done-string-start)
7442 (todo-filtered-items-buffer, todo-item-start)
7443 (todo-month-abbrev-array, todo-month-name-array)
7444 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7445 (todo-top-priorities-buffer): New defconsts.
7446 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7447 (todo-categories-with-marks, todo-category-string-face)
7448 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7449 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7450 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7451 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7452 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7453 (todo-font-lock-keywords, todo-global-current-todo-file)
7454 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7455 (todo-insertion-commands-args)
7456 (todo-insertion-commands-args-genlist)
7457 (todo-insertion-commands-names, todo-insertion-map)
7458 (todo-key-bindings-t, todo-key-bindings-t+a)
7459 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7460 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7461 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7462 (todo-visited): New variables.
7463
cad5d1cb
GM
74642013-06-21 Glenn Morris <rgm@gnu.org>
7465
7466 * play/cookie1.el (cookie-apropos): Add optional display argument.
7467 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7468 (psychoanalyze-pinhead): Use cookie-doctor.
7469
9e277302
JB
74702013-06-21 Juanma Barranquero <lekktu@gmail.com>
7471
7472 * emacs-lisp/package.el (tar-get-file-descriptor)
7473 (tar--extract): Declare.
7474
c5b0993e
EW
74752013-06-21 Eduard Wiebe <usenet@pusto.de>
7476
7477 Extend flymake's warning predicate to be a function (bug#14217).
7478 * progmodes/flymake.el (flymake-warning-predicate): New.
7479 (flymake-parse-line): Use it.
7480 (flymake-warning-re): Make obsolete alias to
7481 `flymake-warning-predicate'.
7482
a7d2d465
SM
74832013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7486 (package-obsolete-list): Remove.
7487 (package-activate): Remove min-version argument. Add `force' argument.
7488 Adjust to new package-alist format.
7489 (package-mark-obsolete): Remove.
7490 (package-unpack): Force reload of the package's autoloads.
7491 (package-installed-p): Check builtins if the installed package is not
7492 recent enough.
7493 (package-initialize): Don't reset package-obsolete-list.
7494 Don't specify which package version to activate.
7495 (package-process-define-package, describe-package-1)
7496 (package-menu--generate): Adjust to new package-alist format.
7497
cedf5c9d
JB
74982013-06-21 Juanma Barranquero <lekktu@gmail.com>
7499
7500 * allout-widgets.el (allout-widgets-mode-off)
7501 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7502 (allout-widgets-post-command-business)
7503 (allout-widgets-after-copy-or-kill-function)
7504 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7505 (allout-decorate-item-and-context)
7506 (allout-graphics-modification-handler): Fix typos in docstrings.
7507 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7508
7509 * cmuscheme.el (scheme-start-file): Doc fix.
7510 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7511 (scheme-input-filter): Use `string-match-p'.
7512
7513 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7514
7515 * dired-x.el: Use Dired consistently in docstrings.
7516
7517 * dired.el: Use Dired consistently in docstrings.
7518 (dired-readin, dired-mode): Use `setq-local'.
7519 (dired-switches-alist): Make defvar-local.
7520 (dired-buffers-for-dir): Use `zerop'.
7521 (dired-safe-switches-p, dired-switches-escape-p)
7522 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7523 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7524 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7525 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7526 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7527 (dired-toggle-marks, dired-mark-files-containing-regexp)
7528 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7529 (dired-flag-auto-save-files, dired-flag-backup-files):
7530 Use `looking-at-p'.
7531 (dired-mark-files-regexp, dired-build-subdir-alist):
7532 Use `string-match-p', `looking-at-p'.
7533
7534 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7535 (direct-print-region-helper): Use `string-match-p'.
7536
aed838b5
LL
75372013-06-21 Leo Liu <sdl.web@gmail.com>
7538
cedf5c9d
JB
7539 * comint.el (comint-redirect-results-list-from-process):
7540 Fix infinite loop.
aed838b5 7541
d80a808f
LMI
75422013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7543
7544 * net/eww.el (eww-update-header-line-format): Quote % characters.
7545
e7a526e3
GM
75462013-06-21 Glenn Morris <rgm@gnu.org>
7547
7548 * play/cookie1.el (cookie): New custom group.
7549 (cookie-file): New option.
7550 (cookie-check-file): New function.
7551 (cookie): Make it interactive. Make start and end messages optional.
7552 Interactively, display the result. Default to cookie-file.
7553 (cookie-insert): Default to cookie-file.
7554 (cookie-snarf): Make start and end messages optional.
7555 Default to cookie-file. Use with-temp-buffer.
7556 (cookie-read): Rename from read-cookie.
7557 Make start and end messages optional. Default to cookie-file.
7558 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7559 Do not autoload it.
e7a526e3
GM
7560 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7561 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7562
62efb35e
LL
75632013-06-21 Leo Liu <sdl.web@gmail.com>
7564
7565 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7566
21e3f963
GM
75672013-06-21 Glenn Morris <rgm@gnu.org>
7568
7569 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7570
fd846ab4
SM
75712013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7572 Daniel Hackney <dan@haxney.org>
7573
7574 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7575 Consolidate the single-file vs tarball code.
7576 (package-desc-suffix): New function.
7577 (package-desc-full-name): Don't bother inlining it.
7578 (package-load-descriptor): Return the new package-desc.
7579 (package-mark-obsolete): Remove unused arg `package'.
7580 (package-unpack): Make it work for single files as well.
7581 Make it update package-alist.
7582 (package--make-autoloads-and-stuff): Rename from
7583 package--make-autoloads-and-compile. Don't compile any more.
7584 (package--compile): New function.
7585 (package-generate-description-file): New function, extracted from
7586 package-unpack-single.
7587 (package-unpack-single): Remove.
7588 (package--with-work-buffer): Add indentation and debugging info.
7589 (package-download-single): Remove.
7590 (package-install-from-archive): Rename from package-download-tar, make
7591 it take a pkg-desc, and make it work for single files as well.
7592 (package-download-transaction): Simplify.
7593 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7594 external tar program.
7595 (package-install-from-buffer): Remove `pkg-desc' argument.
7596 Use package-tar-file-info for tar-mode buffers.
7597 (package-install-file): Simplify accordingly.
7598 (package-archive-base): Change to take a pkg-desc.
7599 * tar-mode.el (tar--check-descriptor): New function, extracted from
7600 tar-get-descriptor.
7601 (tar-get-descriptor): Use it.
7602 (tar-get-file-descriptor): New function.
7603 (tar--extract): New function, extracted from tar-extract.
7604 (tar--extract): Use it.
7605 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7606 case the summary uses non-ascii. Adjust to new calling convention of
7607 package-tar-file-info.
7608
b7deae5e
LL
76092013-06-21 Leo Liu <sdl.web@gmail.com>
7610
fd846ab4
SM
7611 * comint.el (comint-redirect-results-list-from-process):
7612 Fix random delay. (Bug#14681)
b7deae5e 7613
7a65a0b2
JB
76142013-06-21 Juanma Barranquero <lekktu@gmail.com>
7615
7616 * profiler.el (profiler-format-number): Use log, not log10.
7617
1493c2af
JB
76182013-06-20 Juanma Barranquero <lekktu@gmail.com>
7619
7620 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7621
aff6371e
SM
76222013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7623
7624 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7625 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7626 yet available.
7627 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7628 (AUTOGENEL): ... here.
7629 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7630 (cl--defsubst-expand): Use it.
7631
89561f72
PE
76322013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7633
7634 * subr.el (log10): Move here from C code, and declare as obsolete.
7635 All uses of (log10 X) replaced with (log X 10).
7636
47199123
JB
76372013-06-20 Juanma Barranquero <lekktu@gmail.com>
7638
7639 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7640 Declare with `defvar-local'.
7641 (tabulated-list-use-header-line, tabulated-list-entries)
7642 (tabulated-list-padding, tabulated-list-printer)
7643 (tabulated-list-sort-key): Declare with `defvar-local'.
7644 (tabulated-list-init-header, tabulated-list-print-fake-header):
7645 Use `setq-local'.
7646
4a172eab
MA
76472013-06-20 Michael Albinus <michael.albinus@gmx.de>
7648
47199123
JB
7649 * arc-mode.el (archive-mode): Add `archive-write-file' to
7650 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7651
5fc0acc0
JB
76522013-06-20 Juanma Barranquero <lekktu@gmail.com>
7653
d5b27848
JB
7654 * cus-edit.el (custom-commands): Fix typos.
7655 (custom-display): Fix tooltip text.
7656 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7657 Fix typos in docstrings.
7658 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7659 (custom-unlispify-menu-entry, custom-magic-value-create)
7660 (custom-add-see-also, custom-group-value-create): Use ?\s.
7661 (custom-guess-type, customize-apropos, editable-field)
7662 (custom-face-value-create): Use `string-match-p'.
7663 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7664
7665 * custom.el (custom-load-symbol): Use `string-match-p'.
7666
a5c581d8
JB
7667 * ansi-color.el: Convert to lexical binding.
7668 (ansi-colors): Fix URL.
7669 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7670 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7671 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7672
970ad972
G
76732013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7674
7675 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7676
7677 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7678
76792013-06-19 Tom Tromey <tromey@redhat.com>
7680
7681 * net/eww.el (eww-top-url): Remove.
7682 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7683 (eww-render): Set new variables. Don't set eww-top-url.
7684 (eww-handle-link): Handle "prev", "home", and "contents".
7685 Downcase the rel text.
7686 (eww-top-url): Choose best top URL.
7687
76882013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7689
7690 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7691 relying in widget.el. Using widget.el leads to too many
7692 user interface inconsistencies.
7693 (eww-self-insert): Implement entering commands in text fields.
7694 (eww-process-text-input): New function to make text input field editing
7695 work.
7696 (eww-submit): Rewrite to use the new-style form methods.
7697 (eww-select-display): Display the correct selected item.
7698 (eww-change-select): Implement changing the select value.
7699 (eww-toggle-checkbox): Implement radio/checkboxes.
7700 (eww-update-field): Fix compilation error.
7701 (eww-tag-textarea): Implement <textarea>.
7702
7703 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7704 we don't shadow mode-specific bindings.
7705
7706 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7707 nothing to push.
7708
7709 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7710
4582a01c 77112013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7712
7713 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7714
15b263dc
MA
77152013-06-19 Michael Albinus <michael.albinus@gmx.de>
7716
7717 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7718 not needed.
7719
7720 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7721
8f5297f7
LMI
77222013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7723
7724 * net/browse-url.el (browse-url-browser-function):
7725 `eww-browse-url' has the right calling signature, `eww' does not.
7726
011c4552
GM
77272013-06-19 Glenn Morris <rgm@gnu.org>
7728
2285bd27
GM
7729 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7730 Only eval autoloaded macros.
7731 (byte-compile-autoload): Only give the macro warning for macros.
7732
1d653303
GM
7733 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7734 (ps-underlined-faces): Declare.
7735
bdd779ec
GM
7736 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7737 (speedbar-add-supported-extension): Declare.
7738
011c4552
GM
7739 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7740 Don't include a date stamp in the header of the generated file;
7741 it leads to needless differences between output files.
7742
e59dfb0e
MA
77432013-06-19 Michael Albinus <michael.albinus@gmx.de>
7744
c763842b
SM
7745 * net/secrets.el (secrets-struct-secret-content-type):
7746 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7747 Some servers do not offer introspection.
e59dfb0e 7748
102626e2
SM
77492013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * electric.el (electric-pair-mode): Improve interaction with
7752 electric-layout-mode.
7753 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7754 (electric-pair-syntax): Use text-mode-syntax-table in comments
7755 and strings.
7756 (electric-pair--insert): New function.
7757 (electric-pair-post-self-insert-function): Use it and
7758 electric--after-char-pos.
7759
ad528125
LL
77602013-06-19 Leo Liu <sdl.web@gmail.com>
7761
7762 * progmodes/octave.el (octave-help): Fix regexp.
7763
924d6997
G
77642013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7765
7766 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7767 (shr-table-horizontal-line): Allow nil as a value, and change the
7768 default.
7769 (shr-insert-table-ruler): Respect the nil value.
7770
77712013-06-18 Tom Tromey <tromey@barimba>
7772
7773 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7774 New defvars.
7775 (eww-open-file): New defun.
7776 (eww-render): Initialize new variables.
7777 (eww-display-html): Handle "link" and "a".
7778 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7779 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7780 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7781 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7782 New defuns.
924d6997 7783
d1bbba4f
DG
77842013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7785
7786 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7787 Distinguish ternary operator tokens from slash symbol and slash
7788 char literal.
7789
14dd22d2
JB
77902013-06-18 Juanma Barranquero <lekktu@gmail.com>
7791
7792 Convert symbol prettification into minor mode and global minor mode.
7793
7794 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7795 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7796 (prettify-symbols--keywords): Rename from
7797 `prog-prettify-symbols-alist' and make a local defvar.
7798 (prettify-symbols--compose-symbol): Rename from
7799 `prog--prettify-font-lock-compose-symbol'.
7800 (prettify-symbols--make-keywords): Rename from
7801 `prog-prettify-font-lock-symbols-keywords' and simplify.
7802 (prog-prettify-install): Remove.
7803 (prettify-symbols-mode): New minor mode, based on
7804 `prog-prettify-install'.
7805 (turn-on-prettify-symbols-mode): New function.
7806 (global-prettify-symbols-mode): New globalized minor mode.
7807
7808 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7809 * progmodes/cfengine.el (cfengine3-mode):
7810 * progmodes/perl-mode.el (perl-mode): Don't call
7811 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7812
292c880c
JL
78132013-06-18 Juri Linkov <juri@jurta.org>
7814
7815 * files-x.el (modify-file-local-variable-message): New function.
7816 (modify-file-local-variable)
7817 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7818 and call `modify-file-local-variable-message' when it's non-nil.
7819 (add-file-local-variable, delete-file-local-variable)
7820 (add-file-local-variable-prop-line)
7821 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7822 and use it. (Bug#9820)
7823
0950aa27
JL
78242013-06-18 Juri Linkov <juri@jurta.org>
7825
7826 * emulation/vi.el (vi-shell-op):
7827 * emulation/vip.el (vip-execute-com, ex-command):
7828 * emulation/viper-cmd.el (viper-exec-bang):
7829 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7830 the call of `shell-command-on-region'. (Bug#14637)
7831
7832 * simple.el (shell-command-on-region): Doc fix.
7833
8fbcca16
SM
78342013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7835
7836 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7837 (bug#14633).
7838
dd7426ea
GM
78392013-06-18 Glenn Morris <rgm@gnu.org>
7840
4ba54f7d
GM
7841 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7842
dd7426ea
GM
7843 * newcomment.el (comment-search-forward, comment-search-backward):
7844 Doc fix. (Bug#14376)
7845
58aa805b
JB
78462013-06-18 Juanma Barranquero <lekktu@gmail.com>
7847
7848 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7849 (buffer-face-mode-invoke): Doc fix.
7850
9a08a617
MM
78512013-06-18 Matthias Meulien <orontee@gmail.com>
7852
7853 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7854 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7855
f2f426ca
GM
78562013-06-18 Glenn Morris <rgm@gnu.org>
7857
9445f99b
GM
7858 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7859 Replace obsolete function generic-make-keywords with its expansion.
7860
e0df2d14
GM
7861 * progmodes/python.el (ffap-alist): Declare.
7862
f2f426ca
GM
7863 * textmodes/reftex.el (bibtex-mode-map): Declare.
7864
f7f9a720
SM
78652013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7866
7867 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7868 (package-unpack, package-unpack-single): Return the pkg-dir.
7869 (package-download-transaction): Use it to update package-alist.
7870
57ff04e0
LMI
78712013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7872
7873 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7874 possible choice.
7875
c048c022
JL
78762013-06-17 Juri Linkov <juri@jurta.org>
7877
7878 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7879
b5bcaee5
DG
78802013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7881
a020afb9
JB
7882 * emacs-lisp/package.el (package-load-descriptor):
7883 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7884 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7885
551e07e5
JB
78862013-06-17 Juanma Barranquero <lekktu@gmail.com>
7887
7888 * startup.el (command-line): Expand package name returned by
7889 `package--description-file' (bug#14639).
7890
d363bffb
DG
78912013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7892
7893 * emacs-lisp/package.el (package-load-descriptor): Do not call
7894 `emacs-lisp-mode', just use its syntax table.
7895
f612933b
JB
78962013-06-17 Juanma Barranquero <lekktu@gmail.com>
7897
7898 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7899 `font-lock-extra-managed-props' if any prettifying keyword is added.
7900 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7901 (prog-mode): Use `setq-local'.
7902
db3b7db5
SM
79032013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * international/characters.el (standard-case-table): Set syntax of ?»
7906 and ?« to punctuation.
7907
f3d674df
JB
79082013-06-16 Juanma Barranquero <lekktu@gmail.com>
7909
7910 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7911 Save relevant match data before calling `syntax-ppss' (bug#14595).
7912
31489a32
JL
79132013-06-15 Juri Linkov <juri@jurta.org>
7914
7915 * files-x.el (modify-file-local-variable-prop-line): Add local
7916 variables to the end of the existing comment on the first line.
7917 Use `file-auto-mode-skip' to skip interpreter magic line,
7918 and also skip XML declaration.
7919
66bd25ab
SM
79202013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 * startup.el (package--builtin-versions): New var.
7923 (package-subdirectory-regexp): Remove.
7924 (package--description-file): Hard code its value instead.
7925
7926 * emacs-lisp/package.el: Don't activate packages older than builtin.
7927 (package-obsolete-list): Rename from package-obsolete-alist, and make
7928 it into a simple list of package-desc.
7929 (package-strip-version): Remove.
7930 (package-built-in-p): Use package--builtin-versions.
7931 (package-mark-obsolete): Simplify.
7932 (package-process-define-package): Mark it obsolete if older than the
7933 builtin version.
7934 (package-handle-response): Use line-end-position.
7935 (package-read-archive-contents, package--download-one-archive):
7936 Simplify.
7937 (package--add-to-archive-contents): Skip if older than the builtin or
7938 installed version.
7939 (package-menu-describe-package): Fix last change.
7940 (package-list-unversioned): New var.
7941 (package-menu--generate): Use it.
7942
7943 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7944 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7945 (autoload-builtin-package-versions): New variable.
7946 (autoload-generate-file-autoloads): Use them.
7947 Remove the list of autoloaded functions/macros from the
7948 (autoload...) comments.
7949
7950 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7951
9583ec36
EZ
79522013-06-15 Eli Zaretskii <eliz@gnu.org>
7953
7954 * simple.el (line-move-partial): Don't jump to the next screen
7955 line as soon as it becomes visible. Instead, continue enlarging
7956 the vscroll until the portion of a tall screen line that's left on
7957 display is about the height of the frame's default font.
7958 (Bug#14567)
7959
f0100d8a
GM
79602013-06-15 Glenn Morris <rgm@gnu.org>
7961
b86a85ca
GM
7962 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7963 compilation-error-regexp-alist void, or local while let-bound.
7964
f0100d8a
GM
7965 * progmodes/make-mode.el (makefile-mode-syntax-table):
7966 Treat "=" as punctuation. (Bug#14614)
7967
05e7ce90
JB
79682013-06-15 Juanma Barranquero <lekktu@gmail.com>
7969
7970 * help-fns.el (describe-variable):
7971 Add extra line for permanent-local variables.
7972
12e5e86e
SH
79732013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7974
7975 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7976 Add export, import, library. (Bug#9164)
7977 (library): Set indent function.
7978
230dcbaf
GM
79792013-06-14 Glenn Morris <rgm@gnu.org>
7980
7981 * term/xterm.el (xterm--query):
7982 Stop after first matching handler. (Bug#14615)
7983
e36b2d20 79842013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7985
7986 Add support for dired in saveplace.
7987 * dired.el (dired-initial-position-hook): New variable.
7988 (dired-initial-position): Call hook to place cursor position.
7989 * saveplace.el (save-place-to-alist): Add dired position.
7990 (save-place-dired-hook): New function.
7991
0b31660d
SM
79922013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7993
bf1e6ae8
SM
7994 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7995 through a symbol rather than letrec.
7996
1b8dff23
SM
7997 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7998 (package-desc): Add `dir' field.
7999 (package-desc-full-name): New function.
8000 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8001 (package-maybe-load-descriptor): Remove.
8002 (package-load-all-descriptors): Just call package-load-descriptor.
8003 (package--disabled-p): New function.
8004 (package-desc-vers, package-desc-doc): Remove aliases.
8005 (package--dir): Remove function.
8006 (package-activate): Check if a package is disabled.
8007 (package-process-define-package): New function, extracted from
8008 define-package.
8009 (define-package): Turn into a place holder.
8010 (package-unpack-single, package-tar-file-info):
8011 Use package--description-file.
8012 (package-compute-transaction): Use package--disabled-p.
8013 (package-download-transaction): Don't call
8014 package-maybe-load-descriptor since they're all loaded anyway.
8015 (package-install): Change argument to be a pkg-desc.
8016 (package-delete): Use a single pkg-desc argument.
8017 (describe-package-1): Use package-desc-dir instead of package--dir.
8018 Use package-desc property instead of package-symbol.
8019 (package-install-button-action): Adjust accordingly.
8020 (package--push): Rewrite.
8021 (package-menu--print-info): Adjust accordingly. Change the ID format
8022 to be a pkg-desc.
8023 (package-menu-describe-package, package-menu-get-status)
8024 (package-menu--find-upgrades, package-menu-mark-upgrades)
8025 (package-menu-execute, package-menu--name-predicate):
8026 Adjust accordingly.
8027 * startup.el (package--description-file): New function.
8028 (command-line): Use it.
8029 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8030 Use package-desc-version.
8031
0b31660d
SM
8032 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8033 (byte-compile-preprocess): Use it.
8034 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8035 can't quite recognize.
8036 (byte-compile-add-to-list): Remove.
8037 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8038 (cconv-closure-convert): Add assertion.
8039
8040 * emacs-lisp/map-ynp.el: Use lexical-binding.
8041 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8042 Factor out some repeated code.
8043
de0503df
SM
80442013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8045
8046 * subr.el (with-eval-after-load): New macro.
8047 (eval-after-load): Allow form to be a function.
8048 take advantage of lexical-binding.
8049 (do-after-load-evaluation): Use dolist and adjust to new format.
8050 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8051
bc5c8c5a
JL
80522013-06-13 Juri Linkov <juri@jurta.org>
8053
8054 * replace.el (perform-replace): Display "symbol " and other search
8055 modes from `isearch-message-prefix' in the *Help* buffer.
8056
8057 * isearch.el (isearch-query-replace): Add " symbol" and other
8058 possible search modes from `isearch-message-prefix' to the prompt.
8059 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8060 when reading a regexp to collect.
8061
a22289f7
JL
80622013-06-13 Juri Linkov <juri@jurta.org>
8063
8064 * isearch.el (word-search-regexp): Match whitespace if the search
8065 string begins or ends in whitespace. The LAX arg is applied to
8066 both ends of the search string. Use `regexp-quote' and explicit
8067 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8068 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8069 boundaries are replaced with symbol boundaries, and characters
8070 between symbols match non-word non-symbol syntax. (Bug#14602)
8071
cb89acab
JL
80722013-06-13 Juri Linkov <juri@jurta.org>
8073
8074 * isearch.el (isearch-del-char): Don't exceed the length of
8075 `isearch-string' by the prefix arg. (Bug#14563)
8076
6e8cfc81
JL
80772013-06-13 Juri Linkov <juri@jurta.org>
8078
8079 * isearch.el (isearch-yank-word, isearch-yank-line)
8080 (isearch-char-by-name, isearch-quote-char)
8081 (isearch-printing-char, isearch-process-search-char):
8082 Add optional count prefix arg. (Bug#14563)
8083
8084 * international/isearch-x.el
8085 (isearch-process-search-multibyte-characters):
8086 Add optional count prefix arg.
8087
c23d55f4
VS
80882013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8089
8090 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8091 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8092 lexical-binding.
8093
80942013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8095
8096 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8097
ba947bc4
GM
80982013-06-13 Glenn Morris <rgm@gnu.org>
8099
8baeb37a
GM
8100 * startup.el (tty-handle-args):
8101 Don't just discard "--" and anything after. (Bug#14608)
8102
ba947bc4
GM
8103 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8104
9abefce4
MA
81052013-06-13 Michael Albinus <michael.albinus@gmx.de>
8106
8107 Implement changes in Secret Service API. Make it backward compatible.
8108 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8109 (secrets-create-item): Use it. Prefix properties with interface.
8110
5755011f
MH
81112013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8112
8113 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8114 (term-emulate-terminal): Respect term-suppress-hard-newline.
8115
1261d2da
S
81162013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8117
8118 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8119 Only remove a `thumb-file' overlay. (Bug#14548)
8120
868490bb
GJ
81212013-06-12 Grégoire Jadi <daimrod@gmail.com>
8122
8123 * mail/reporter.el (reporter-submit-bug-report):
8124 Handle missing package-name. (Bug#14600)
8125
79d7167f
TH
81262013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8127
8128 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8129 (reftex-citation-prompt, reftex-default-bibliography)
8130 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8131 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8132 (reftex-bib-sort-author, reftex-bib-sort-year)
8133 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8134 (reftex-extract-bib-entries-from-thebibliography)
8135 (reftex-get-bibkey-default, reftex-get-bib-names)
8136 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8137 (reftex-format-bib-entry, reftex-parse-bibitem)
8138 (reftex-format-bibitem, reftex-do-citation)
8139 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8140 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8141 (reftex-insert-bib-matches, reftex-format-citation)
8142 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8143 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8144 existing comments into docstrings.
8145
5f9dbd7a
XF
81462013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8147
8148 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8149
94df41ab
AS
81502013-06-12 Andreas Schwab <schwab@suse.de>
8151
8152 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8153 for auto-save files.
8154
a7f3fecc
GM
81552013-06-12 Glenn Morris <rgm@gnu.org>
8156
001809f6
GM
8157 * ido.el (ido-delete-ignored-files): Remove.
8158 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8159 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8160
834b5ded
EL
81612013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8162
08c73ed2
EL
8163 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8164
834b5ded
EL
8165 * ido.el (ido-delete-ignored-files): New function,
8166 split from ido-make-file-list-1.
8167 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8168 (ido-make-file-list-1): Use ido-delete-ignored-files.
8169
daabf15a
LL
81702013-06-12 Leo Liu <sdl.web@gmail.com>
8171
8172 * progmodes/octave.el (inferior-octave-startup)
8173 (inferior-octave-completion-table)
8174 (inferior-octave-track-window-width-change)
8175 (octave-eldoc-function-signatures, octave-help)
8176 (octave-find-definition): Use single quoted strings.
8177 (inferior-octave-startup-args): Change default value.
8178 (inferior-octave-startup): Do not hard code "-i" and
8179 "--no-line-editing".
8180 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8181 (inferior-octave-directory-tracker): Use it.
8182 (octave-goto-function-definition): Robustify.
8183 (octave-help): Support highlighting operators in 'See also'.
8184 (octave-find-definition): Find subfunctions only in Octave mode.
8185
cf4e5178
SM
81862013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8187
8188 * help-fns.el (help-fns--compiler-macro): If the handler function is
8189 named, then put a link to it.
8190 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8191 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8192 (cl-typep): Use it.
8193 (cl-eval-when): Simplify debug spec.
8194 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8195 compiler-macro function instead of setting `compiler-macro-file'.
8196
99c81280 81972013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8198
8199 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8200 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8201
f56be016
SM
82022013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8203 Daniel Hackney <dan@haxney.org>
8204
8205 First part of Daniel Hackney's patch to package.el.
8206 * emacs-lisp/package.el: Use defstruct.
8207 (package-desc): New, main struct.
8208 (package--bi-desc, package--ac-desc): New structs, used to describe the
8209 format in external files.
8210 (package-desc-vers): Replace with package-desc-version accessor.
8211 (package-desc-doc): Replace with package-desc-summary accessor.
8212 (package-activate-1): Remove `package' arg since the pkg-vec now
8213 includes the name.
8214 (define-package): Use package-desc-from-define.
8215 (package-unpack-single): Change file-name arg to be a symbol.
8216 (package--add-to-archive-contents): Use package-desc-create and new
8217 accessor functions to package--ac-desc.
8218 (package-buffer-info, package-tar-file-info): Return a package-desc.
8219 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8220 arg to be a package-desc.
8221 (package-install-file): Adjust accordingly. Use \' to match EOS.
8222 (package--from-builtin): New function.
8223 (describe-package-1, package-menu--generate): Use it.
8224 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8225 (package-generate-autoloads): Idem and return the name of the file.
8226 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8227 Change pkg-info arg to be a package-desc.
8228 Use package-make-ac-desc.
8229 (package-upload-file): Use \' to match EOS.
8230 * finder.el (finder-compile-keywords): Use package-make-builtin.
8231
31119d63
SM
82322013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8233
931a2762
SM
8234 * vc/vc.el (vc-deduce-fileset): Change error message.
8235 (vc-read-backend): New function.
8236 (vc-next-action): Use it.
8237
5a3eb0c6
SM
8238 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8239
e3eb1bb7
SM
8240 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8241 (prolog-font-lock-keywords): Use regexp-opt instead.
8242 Don't manually highlight strings.
8243 (prolog-mode-variables): Simplify comment-start-skip.
8244 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8245
31119d63
SM
8246 * emacs-lisp/generic.el (generic--normalise-comments)
8247 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8248 (generic-mode-set-comments): Use them.
8249 (generic-bracket-support): Use setq-local.
8250 (generic-make-keywords-list): Declare obsolete.
8251
7de135d0
GM
82522013-06-11 Glenn Morris <rgm@gnu.org>
8253
8254 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8255 Prettify after setting font-lock-defaults. (Bug#14574)
8256
fa6bc6fd
JB
82572013-06-11 Juanma Barranquero <lekktu@gmail.com>
8258
8259 * replace.el (query-replace, occur-read-regexp-defaults-function)
8260 (replace-search):
8261 * subr.el (declare-function, number-sequence, local-set-key)
8262 (substitute-key-definition, locate-user-emacs-file)
8263 (with-silent-modifications, split-string, eval-after-load):
8264 Fix typos, remove unneeded backslashes and reflow some docstrings.
8265
cf1f9b9a
SM
82662013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8267
8268 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8269 default for Elisp files.
8270
56602a4b
GM
82712013-06-11 Glenn Morris <rgm@gnu.org>
8272
8273 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8274 although define-derived-mode was doing this anyway. (Bug#14583)
8275
30ae0b2c
JB
82762013-06-10 Juanma Barranquero <lekktu@gmail.com>
8277
8278 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8279 Fix make-variable-buffer-local call to refer to the correct variable.
8280
fa472906
AG
82812013-06-10 Aidan Gauland <aidalgol@amuri.net>
8282
8283 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8284 (eshell-visual-subcommands, eshell-visual-options):
8285 Add summary line to docstrings. Add cross-references.
fa472906 8286
ff4871b9
GM
82872013-06-10 Glenn Morris <rgm@gnu.org>
8288
8289 * epa.el (epa-read-file-name): New function. (Bug#14510)
8290 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8291
04fcf1b0
AG
82922013-06-09 Aidan Gauland <aidalgol@amuri.net>
8293
8294 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8295 output redirection to be ignored with visual commands.
8296
88b00caa
AG
82972013-06-09 Aidan Gauland <aidalgol@amuri.net>
8298
8299 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8300 (eshell-term-initialize): Move long lambda to separate function
8301 eshell-visual-command-p.
e7b41c4c
JB
8302 * eshell/em-dirs.el (eshell-dirs-initialise):
8303 * eshell/em-script.el (eshell-script-initialize):
8304 Add missing #' to lambda.
88b00caa 8305
fda74125
LL
83062013-06-08 Leo Liu <sdl.web@gmail.com>
8307
8308 * progmodes/octave.el (octave-add-log-current-defun): New function.
8309 (octave-mode): Set add-log-current-defun-function.
8310 (octave-goto-function-definition): Do not move point if not found.
8311 (octave-find-definition): Enhance to try subfunctions first.
8312
467f3b33
GM
83132013-06-08 Glenn Morris <rgm@gnu.org>
8314
8315 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8316 (byte-compile-backward-char, byte-compile-backward-word):
8317 Improve previous change, to handle non-explicit nil.
8318
544badc3
SM
83192013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8320
8321 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8322 (smie--opener/closer-at-point): New function.
8323 (smie--matching-block-data): Use it. Don't match from right after an
8324 opener or right before a closer. Obey smie-blink-matching-inners.
8325 Don't signal a mismatch for repeated inners like "switch..case..case".
8326
a175bf33
LL
83272013-06-07 Leo Liu <sdl.web@gmail.com>
8328
8329 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8330 to t. (Bug#14303)
ce8209d4
LL
8331 (octave-function-header-regexp): Fix. (Bug#14570)
8332 (octave-help-mode-finish-hook, octave-help-mode-finish):
8333 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8334
8335 * newcomment.el (comment-search-backward): Revert last change.
8336 (Bug#14434)
8337
8338 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8339
a822acff
EZ
83402013-06-07 Eli Zaretskii <eliz@gnu.org>
8341
8342 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8343 through xargs, to avoid failure due to MS-Windows limitations on
8344 command-line length.
8345
961166f5
GM
83462013-06-06 Glenn Morris <rgm@gnu.org>
8347
d0341459
GM
8348 * font-lock.el (lisp-font-lock-keywords-2):
8349 Treat user-error like error.
8350
961166f5
GM
8351 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8352 (byte-compile-backward-char, byte-compile-backward-word):
8353 Handle explicit nil arguments. (Bug#14565)
8354
80fa505f
AM
83552013-06-05 Alan Mackenzie <acm@muc.de>
8356
8357 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8358 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8359 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8360 (Bug#9706)
80fa505f 8361
fccdc796
SM
83622013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * autorevert.el (auto-revert-notify-handler): Use memq.
8365 Hide assertion failure.
8366
8367 * skeleton.el: Use cl-lib.
8368 (skeleton-further-elements): Use defvar-local.
8369 (skeleton-insert): Use cl-progv.
8370
9bfff84b
TZ
83712013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8372
8373 * progmodes/prog-mode.el (prog-prettify-symbols)
8374 (prog-prettify-install): Update docstrings.
8375
55577e7c
SM
83762013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8377
8378 * simple.el: Move all the prog-mode code to prog-mode.el.
8379 * progmodes/prog-mode.el: New file.
8380 * loadup.el: Add prog-mode.el.
8381
8fc57765
TZ
83822013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8383
8384 * simple.el (prog-prettify-symbols): Add version.
8385 (prog-prettify-install): Add convenience function to prettify symbols.
8386
8387 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8388 (perl--augmented-font-lock-keywords-1)
8389 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8390 variables and use it.
8391
8392 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8393 (cfengine3-mode): Remove unneeded variable and use it.
8394
8395 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8396 (lisp--augmented-font-lock-keywords-1)
8397 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8398 Remove unneeded variables and use it.
8399
650645d5 84002013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8401
8402 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8403 to point when opening the connection. (Bug#14380)
28f5da6d 8404
781b4af6
SM
84052013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8406
8407 * subr.el (load-history-regexp, load-history-filename-element)
8408 (eval-after-load, after-load-functions, do-after-load-evaluation)
8409 (eval-next-after-load, display-delayed-warnings)
8410 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8411 definition of save-match-data.
8412 (overriding-local-map): Remove accidental obsolescence declaration.
8413
8414 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8415
3ca0d0b4
TZ
84162013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8417
8418 Generalize symbol prettify support to prog-mode and implement it
8419 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8420 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8421 (prog--prettify-font-lock-compose-symbol)
8422 (prog-prettify-font-lock-symbols-keywords): New variables and
8423 functions to support symbol prettification.
8424 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8425 (lisp--augmented-font-lock-keywords-1)
8426 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8427 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8428 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8429 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8430 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8431 * progmodes/perl-mode.el (perl-prettify-symbols)
8432 (perl--font-lock-compose-symbol)
8433 (perl--font-lock-symbols-keywords): Move to prog-mode.
8434 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8435 (perl-font-lock-keywords-1)
8436 (perl-font-lock-keywords-2): Remove explicit prettify support.
8437 (perl--augmented-font-lock-keywords)
8438 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8439 (perl--augmented-font-lock-keywords-2, perl-mode):
8440 Implement prettify support.
3ca0d0b4 8441
976cb066
LL
84422013-06-05 Leo Liu <sdl.web@gmail.com>
8443
8444 Re-implement smie matching block highlight using
8445 show-paren-data-function. (Bug#14395)
8446 * emacs-lisp/smie.el (smie-matching-block-highlight)
8447 (smie--highlight-matching-block-overlay)
8448 (smie--highlight-matching-block-lastpos)
8449 (smie-highlight-matching-block)
8450 (smie-highlight-matching-block-mode): Remove.
8451 (smie--matching-block-data-cache): New variable.
8452 (smie--matching-block-data): New function.
8453 (smie-setup): Use smie--matching-block-data for
8454 show-paren-data-function.
8455
8456 * progmodes/octave.el (octave-mode-menu): Fix.
8457 (octave-find-definition): Skip garbage lines.
8458
208d0342
SM
84592013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 Fix compilation error with simultaneous dynamic+lexical scoping.
8462 Add warning when a defvar appears after the first let-binding.
8463 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8464 (byte-compile-close-variables): Initialize it.
8465 (byte-compile--declare-var): New function.
8466 (byte-compile-file-form-defvar)
8467 (byte-compile-file-form-define-abbrev-table)
8468 (byte-compile-file-form-custom-declare-variable): Use it.
8469 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8470 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8471 (byte-compile-bind): Handle dynamic bindings that shadow
8472 lexical bindings.
8473 (byte-compile-unbind): Make arg non-optional.
8474 (byte-compile-let): Simplify.
8475 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8476 (cconv--analyse-function, cconv-analyse-form): Populate it.
8477 Protect byte-compile-bound-variables to limit the scope of defvars.
8478 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8479 Remove unneeded rule for `declare'.
8480
8481 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8482 so as to avoid depending on cl-adjoin at run-time.
8483 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8484
8485 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8486 (macroexp--warn-and-return): Use it.
8487
1ac2891e
GM
84882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8489
8490 * lisp/subr.el: Convert to lexical binding.
8491 (overriding-local-map): Make obsolete.
8492 (add-to-list): Doc fix. Add compiler macro.
8493 (read-key): Swap values of local maps.
8494
2587b005
LL
84952013-06-05 Leo Liu <sdl.web@gmail.com>
8496
8497 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8498
f1da3c88
LL
84992013-06-04 Leo Liu <sdl.web@gmail.com>
8500
8501 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8502 (compilation-auto-jump): Suppress the "Mark set" message to give
8503 way to exit message.
8504
3caa391f
AM
85052013-06-04 Alan Mackenzie <acm@muc.de>
8506
8507 Remove faulty optimisation from indentation calculation.
8508 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8509 search limit based on 2000 characters back from indent-point.
8510
068922a2
TH
85112013-06-03 Tassilo Horn <tsdh@gnu.org>
8512
8513 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8514
1f8fdd53
SM
85152013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8516
bbcc4d97
SM
8517 * emacs-lisp/lisp.el: Use lexical-binding.
8518 (lisp--local-variables-1, lisp--local-variables): New functions.
8519 (lisp--local-variables-completion-table): New var.
208d0342 8520 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8521
1f8fdd53
SM
8522 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8523 eagerly (bug#14422).
8524
c9628c79
MA
85252013-06-03 Michael Albinus <michael.albinus@gmx.de>
8526
8527 * autorevert.el (auto-revert-notify-enabled)
8528 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8529 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8530 (auto-revert-notify-handler): Handle also gfilenotify.
8531
e7b41c4c 8532 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8533 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8534 Remove.
c9628c79 8535
e5e4a942
JL
85362013-06-03 Juri Linkov <juri@jurta.org>
8537
8538 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8539 `M-s h .'. (Bug#14427)
8540
8541 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8542 command `hi-lock-face-symbol-at-point'.
8543 (hi-lock-face-symbol-at-point): New command.
8544 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8545 (hi-lock-menu): Add `highlight-symbol-at-point'.
8546 (hi-lock-mode): Doc fix.
8547
8548 * isearch.el (isearch-forward-symbol-at-point): New command.
8549 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8550 (isearch-highlight-regexp): Add a regexp which matches
8551 words/symbols for word/symbol mode.
8552
8553 * subr.el (find-tag-default-bounds): New function with the body
8554 mostly moved from `find-tag-default'.
8555 (find-tag-default): Move most code to `find-tag-default-bounds',
8556 call it and apply `buffer-substring-no-properties' afterwards.
8557
26b3353a
TH
85582013-06-03 Tassilo Horn <tsdh@gnu.org>
8559
781b4af6
SM
8560 * eshell/em-term.el (eshell-term-initialize):
8561 Use `cl-intersection' rather than `intersection'.
26b3353a 8562
51b60f53
XF
85632013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8564
fe054b63 8565 * vc/log-view.el: Doc fix.
d3ffe17c 8566 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8567
a0eb10b3 85682013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8569
8570 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8571 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8572 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8573 (eieio-unbound, eieio-default-superclass)
8574 (eieio--define-field-accessors, method-static, method-before)
8575 (method-primary, method-after, method-num-lists)
8576 (method-generic-before, method-generic-primary)
8577 (method-generic-after, method-num-slots)
8578 (eieio-specialized-key-to-generic-key)
8579 (eieio--check-type, class-v, class-p)
8580 (eieio-class-name, define-obsolete-function-alias)
8581 (eieio-class-parents-fast, eieio-class-children-fast)
8582 (same-class-fast-p, class-constructor, generic-p)
8583 (generic-primary-only-p, generic-primary-only-one-p)
8584 (class-option-assoc, class-option, eieio-object-p)
8585 (class-abstract-p, class-method-invocation-order)
8586 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8587 (eieio-class-un-autoload, eieio-defclass)
8588 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8589 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8590 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8591 (eieio-defgeneric-reset-generic-form)
8592 (eieio-defgeneric-form-primary-only)
8593 (eieio-defgeneric-reset-generic-form-primary-only)
8594 (eieio-defgeneric-form-primary-only-one)
8595 (eieio-defgeneric-reset-generic-form-primary-only-one)
8596 (eieio-unbind-method-implementations)
8597 (eieio--defmethod, eieio--typep)
8598 (eieio-perform-slot-validation, eieio-validate-slot-value)
8599 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8600 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8601 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8602 (eieio-slot-name-index, eieio-class-slot-name-index)
8603 (eieio-set-defaults, eieio-initarg-to-attribute)
8604 (eieio-attribute-to-initarg, eieio-c3-candidate)
8605 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8606 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8607 (eieio-class-precedence-list, eieio-generic-call-methodname)
8608 (eieio-generic-call-arglst, eieio-generic-call-key)
8609 (eieio-generic-call-next-method-list)
8610 (eieio-pre-method-execution-functions, eieio-generic-call)
8611 (eieio-generic-call-primary-only, eieiomt-method-list)
8612 (eieiomt-optimizing-obarray, eieiomt-install)
8613 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8614 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8615 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8616 (defclass): Remove `eval-and-compile' from macro.
8617 (call-next-method, shared-initialize): Instead of using
8618 `scoped-class' variable, use new eieio--scoped-class, and
8619 eieio--with-scoped-class.
8620 (initialize-instance): Rename local variable 'scoped-class' to
8621 'this-class' to remove ambiguitity from old global.
8622
8623 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8624 eieio.el.
4f405069
JB
8625 (eieio--scoped-class-stack): New variable.
8626 (eieio--scoped-class): New fcn.
890f7890
DE
8627 (eieio--with-scoped-class): New scoping macro.
8628 (eieio-defclass): Use pushnew instead of add-to-list.
8629 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8630 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8631 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8632 `scoped-class' variable, use new eieio--scoped-class, and
8633 eieio--with-scoped-class.
8634
8635 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8636
d105b0e2
TH
86372013-06-02 Tassilo Horn <tsdh@gnu.org>
8638
8639 * eshell/esh-ext.el (eshell-external-command): Pass args to
8640 `eshell-find-interpreter'.
8641 (eshell-find-interpreter): Add new second parameter ARGS.
8642
8643 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8644 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8645
8646 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8647 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8648
8649 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8650 (eshell-visual-options): New defcustom.
8651 (eshell-escape-control-x): Adapt docstring.
8652 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8653 `eshell-visual-options' in addition to `eshell-visual-commands'.
8654 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8655
f46305c8 86562013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8657
8658 * progmodes/python.el (python-indent-block-enders): Add break,
8659 continue and raise keywords.
8660
d870df21
GM
86612013-06-01 Glenn Morris <rgm@gnu.org>
8662
9133b82e
GM
8663 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8664
02c992ec 8665 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8666 * progmodes/cc-cmds.el (delete-forward-p):
8667 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8668 * progmodes/cc-engine.el (buffer-syntactic-context):
8669 * progmodes/cc-fonts.el (face-property-instance):
8670 * progmodes/cc-mode.el (set-keymap-parents):
8671 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8672 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8673 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8674 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8675 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8676
31e7b090
GM
8677 * progmodes/cc-vars.el (other): Emacs has this widget since
8678 at least 21.1, so don't (re)define it.
8679
d870df21
GM
8680 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8681 Replace the obsolete alias pcomplete-arg-quote-list.
8682
c75c93c7
LL
86832013-06-01 Leo Liu <sdl.web@gmail.com>
8684
8685 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8686 punctuation syntax.
8687 (inferior-octave-minimal-columns)
8688 (inferior-octave-last-column-width): New variables.
8689 (inferior-octave-track-window-width-change): New function.
8690 (inferior-octave-mode): Adjust column width so that Octave output,
8691 for example from 'ls', can fit into the window nicely.
8692
973d1e12
DG
86932013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8694
8695 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8696 Highlight expansions inside regexp literals.
8697
0888c286
GM
86982013-05-31 Glenn Morris <rgm@gnu.org>
8699
e26aac1f
GM
8700 * obsolete/sym-comp.el (symbol-complete):
8701 Replace obsolete completion-annotate-function.
8702
0888c286
GM
8703 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8704
19bb8e62
DG
87052013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8706
781b4af6
SM
8707 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8708 New function, checks if point is inside a literal that allows
19bb8e62
DG
8709 expression expansion.
8710 (ruby-syntax-propertize-expansion): Use it.
8711 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8712 around the body.
8713
01dea85f
JL
87142013-05-30 Juri Linkov <juri@jurta.org>
8715
8716 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8717 to "\M-si".
8718 (isearch-invisible): New variable.
8719 (isearch-forward): Doc fix.
8720 (isearch-mode): Set `isearch-invisible'
8721 to the value of `search-invisible'.
8722 (isearch-toggle-case-fold): Doc fix.
8723 (isearch-toggle-invisible): New command.
8724 (isearch-query-replace): Let-bind `search-invisible'
8725 to the value of `isearch-invisible'.
8726 (isearch-search): Use `isearch-invisible' instead of
8727 `search-invisible'. Let-bind `search-invisible'
8728 to the value of `isearch-invisible'. (Bug#11378)
8729
ab1bdce5
JL
87302013-05-30 Juri Linkov <juri@jurta.org>
8731
8732 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8733 call when `query-flag' is nil and `search-invisible' is non-nil.
8734 (Bug#11746)
8735
d6d236e2
GM
87362013-05-30 Glenn Morris <rgm@gnu.org>
8737
8accd027
GM
8738 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8739
2a8bed1c
GM
8740 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8741 (cc-require): Suppress spurious "noruntime" warnings.
8742 (cc-require-when-compile): Use fboundp, for sake of compiler.
8743
d6d236e2
GM
8744 * progmodes/cc-mode.el: Move load of cc-vars before that of
8745 cc-langs (which in turn loads cc-vars), to quieten compiler.
8746
9190b35b
SM
87472013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 * paren.el: Simplify the code.
8750 (show-paren-mode): Always start the timer.
8751 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8752 (show-paren--overlay, show-paren--overlay-1): Rename from
8753 show-paren-overlay and show-paren-overlay-1, and initialize to an
8754 overlay rather than to nil.
8755 (show-paren-function): Misc cleanup and simplifications.
8756
4f8d1cf6
SM
87572013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8758
8759 * paren.el (show-paren-data-function): New hook.
8760 (show-paren--default): New function, extracted from show-paren-function.
8761 (show-paren-function): Use show-paren-data-function.
8762
02d844b5
GM
87632013-05-30 Glenn Morris <rgm@gnu.org>
8764
d209d4a9
GM
8765 * ielm.el (ielm-map, ielm-complete-symbol):
8766 Use completion-at-point rather than obsolete functions.
8767 (inferior-emacs-lisp-mode): Doc fix.
8768 Set completion-at-point-functions, rather than
8769 comint-dynamic-complete-functions.
8770
2082faa6
GM
8771 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8772 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8773 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8774
dd8620de
GM
8775 * image.el (image-animated-p): Tweak definition.
8776
ceca95b1
GM
8777 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8778 (rlogin-process-connection-type): Tweak default. Add set-after.
8779 (rlogin-host): Doc fix.
8780 (rlogin): Tweak prompt.
8781 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8782
ee9f1acc
GM
8783 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8784 * progmodes/tcl.el (inferior-tcl-mode-map):
8785 Use completion-at-point rather than obsolete alias.
8786
45ce222e
GM
8787 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8788
02d844b5
GM
8789 * minibuffer.el (read-file-name-completion-ignore-case):
8790 Move before completion--in-region, for eager macro expansion.
8791
ac44d6c1
JL
87922013-05-29 Juri Linkov <juri@jurta.org>
8793
8794 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8795 for total count of matching lines. Add `global-matches' for total
8796 count of matches. Rename `matches' to `lines' for count of
8797 matching lines. Add `matches' for count of matches.
8798 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8799 to `prev-line' for line number of prev match endpt.
8800 Increment `matches' for every match. Print the number of
8801 matching lines in the header.
8802 (occur-context-lines): Rename `lines' to `curr-line'.
8803 Rename `prev-lines' to `prev-line'. (Bug#14017)
8804
3c9c9d38
JL
88052013-05-29 Juri Linkov <juri@jurta.org>
8806
8807 * replace.el (perform-replace): Add `skip-read-only-count',
8808 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8809 Increment them for corresponding conditions and report the number
8810 of skipped occurrences in the final message. (Bug#11746)
8811 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8812 (replace-string, replace-regexp): Doc fix.
8813
33e249a2
SM
88142013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8815
8e399682
SM
8816 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8817
33e249a2 8818 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8819 prog-mode-map (bug#14504).
33e249a2 8820
f236dd84
LL
88212013-05-29 Leo Liu <sdl.web@gmail.com>
8822
8823 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8824 (octave-help): Small simplification.
8825
8826 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8827 off the highlight first.
8828
3694d13f
GM
88292013-05-29 Glenn Morris <rgm@gnu.org>
8830
03983bdc
GM
8831 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8832 Handle idlwave-last-system-routine-info-cons-cell being nil.
8833
bc74a74a
GM
8834 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8835 (idlwave-write-paths): Simplify via with-temp-buffer.
8836
8b394200
GM
8837 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8838 * emulation/cua-rect.el: Also load cua-base at run time.
8839
3694d13f
GM
8840 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8841 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8842 (cperl-imenu-on-info): Require imenu.
8843
336d7284
AM
88442013-05-28 Alan Mackenzie <acm@muc.de>
8845
8846 Handle "capitalised keywords" correctly.
33e249a2 8847 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8848
cb29c582
AG
88492013-05-28 Aidan Gauland <aidalgol@amuri.net>
8850
781b4af6 8851 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8852
690e44b2
GM
88532013-05-28 Glenn Morris <rgm@gnu.org>
8854
e658d75c
GM
8855 * vc/vc-arch.el (vc-exec-after): Declare.
8856 (vc-switches): Autoload.
8857 * vc/vc-bzr.el: No need to require vc when compiling.
8858 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8859 (vc-resynch-buffer, vc-dir-refresh): Declare.
8860 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8861 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8862 (vc-resynch-buffer): Declare.
8863 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8864 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8865 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8866 (grep-read-regexp, grep-read-files, grep-expand-template)
8867 (vc-dir-refresh): Declare.
8868 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8869 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8870 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8871 * vc/vc-mtn.el (vc-exec-after): Declare.
8872 (vc-switches): Autoload.
8873 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8874 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8875 (vc-file-tree-walk): Declare.
712b9732
GM
8876 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8877 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8878 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8879 * vc/vc-svn.el (vc-exec-after): Declare.
8880 (vc-switches, vc-setup-buffer): Autoload.
8881 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8882 Autoload.
8883 (vc-resynch-buffer): Declare.
8884
98e87fb3
GM
8885 * obsolete/fast-lock.el (byte-compile-warnings):
8886 Don't warn about obsolete features in this obsolete file.
8887
f5379553
GM
8888 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8889 Move definition before use.
8890
7a20ef83
GM
8891 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8892 (dun-unix-verbs): Remove dun-zippy.
8893 (dun-zippy): Remove function.
8894
690e44b2
GM
8895 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8896
3a52ccf7
JL
88972013-05-27 Juri Linkov <juri@jurta.org>
8898
8899 * replace.el (replace-search): New function with code moved out
8900 from `perform-replace'.
8901 (replace-highlight, replace-dehighlight): Move function definitions
8902 up closer to `replace-search'. (Bug#11746)
8903
d289938a
JL
89042013-05-27 Juri Linkov <juri@jurta.org>
8905
8906 * replace.el (perform-replace): Ignore invisible matches.
8907 In addition to checking `query-replace-skip-read-only', also
8908 filter out matches by calling `run-hook-with-args-until-failure'
8909 on `isearch-filter-predicates', and also check `search-invisible'
8910 for t or call `isearch-range-invisible'.
8911 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8912
66fc57e3
JL
89132013-05-27 Juri Linkov <juri@jurta.org>
8914
8915 * isearch.el (isearch-filter-predicates): Rename from
8916 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8917 (isearch-message-prefix): Display text from the property
8918 `isearch-message-prefix' of the currently active filters.
8919 (isearch-search): Don't compare `isearch-filter-predicate' with
8920 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8921 on `isearch-filter-predicates'. Also check `search-invisible' for t
8922 or call `isearch-range-invisible'.
8923 (isearch-filter-visible): Make obsolete.
8924 (isearch-lazy-highlight-search):
8925 Call `run-hook-with-args-until-failure' on
8926 `isearch-filter-predicates' and use `isearch-range-invisible'.
8927
8928 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8929 `isearch-filter-predicates' instead of `funcall'ing
8930 `isearch-filter-predicate'.
8931 (Info-mode): Set `Info-isearch-filter' to
8932 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8933
8934 * dired-aux.el (dired-isearch-filter-predicate-orig):
8935 Remove variable.
8936 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8937 (dired-isearch-filenames-end): Add and remove
8938 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8939 instead of changing the value of `isearch-filter-predicate'.
8940 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8941 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8942 Put property `isearch-message-prefix' to "filename " on
8943 `dired-isearch-filter-filenames'.
8944
8945 * wdired.el (wdired-change-to-wdired-mode):
8946 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8947 locally instead of changing `isearch-filter-predicate'.
8948 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8949
f1a60a0f
DG
89502013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8951
8952 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8953 return the commit hash (Bug#14459). Also set the
8954 `vc-git-detached' property.
8955 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8956 (vc-git-mode-line-string): Use the same help-echo format whether
8957 in detached mode or not, because we know the actual revision now.
8958 When in detached mode, shorten the revision to 7 chars.
8959
7f17cc40
SM
89602013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8961
8962 * emacs-lisp/easy-mmode.el (define-minor-mode):
8963 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8964 mode hook and provide a docstring.
8965
25c8401c
AM
89662013-05-27 Alan Mackenzie <acm@muc.de>
8967
8968 Remove spurious syntax-table text properties inserted by C-y.
8969 * progmodes/cc-mode.el (c-after-change): Also clear hard
8970 syntax-table property with value nil.
8971
dde84790
MA
89722013-05-27 Michael Albinus <michael.albinus@gmx.de>
8973
8974 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8975 when reading the events; the buffer layout shall not be changed.
8976
837fd9af
LL
89772013-05-27 Leo Liu <sdl.web@gmail.com>
8978
8979 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8980 New variable.
8981 (inferior-octave-directory-tracker): Automatically re-sync
8982 default-directory.
8983 (octave-help): Improve handling of 'See also'.
8984
4fd996b3
SM
89852013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8986
416f1802
SM
8987 * doc-view.el: Minor naming convention tweaks.
8988 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8989
4fd996b3
SM
8990 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8991 even if there's no `display' property yet (bug#14435).
8992
a052ef3b
EZ
89932013-05-25 Eli Zaretskii <eliz@gnu.org>
8994
4fd996b3 8995 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8996
8997 * Makefile.in (custom-deps, finder-data, autoloads)
8998 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8999 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9000 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9001
c9023370
SM
90022013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9005 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9006 Don't burp at EOB.
c9023370 9007
24d699fa
LL
90082013-05-25 Leo Liu <sdl.web@gmail.com>
9009
9010 * comint.el (comint-previous-matching-input): Do not flood the
9011 *Messages* buffer with trivial messages.
9012
17e5c0cc
SM
90132013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * progmodes/flymake.el (flymake-nop): Don't return a string.
9016 (flymake-set-at): Fix typo.
9017
9018 * simple.el (read--expression): New function, extracted from
9019 eval-expression. Set completion-at-point-functions (bug#14465).
9020 (eval-expression, eval-minibuffer): Use it.
9021
5d028165
XF
90222013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9023
9024 * progmodes/flymake.el (flymake-save-buffer-in-file)
9025 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9026 (flymake-selected-frame, flymake-log, flymake-ins-after)
9027 (flymake-set-at, flymake-get-buildfile-from-cache)
9028 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9029 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9030 Refine the doc string.
9031 (flymake-get-file-name-mode-and-masks): Reformat.
9032 (flymake-get-real-file-name-function): Fix a minor bug.
9033
7a1d7ba7
JL
90342013-05-24 Juri Linkov <juri@jurta.org>
9035
9036 * progmodes/grep.el (grep-mode-font-lock-keywords):
9037 Support =linenumber= format used by git-grep for lines with
9038 function names. (Bug#13549)
9039
650cff3d
SM
90402013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9043 0 after a semi-colon; it works better for smie-auto-fill.
9044 (octave--indent-new-comment-line): New function.
9045 (octave-indent-new-comment-line): Use it (indirectly).
9046 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9047 modify comment-line-break-function.
9048
9049 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9050 (smie-setup): Use add-function to set it.
9051
9631677d
SS
90522013-05-24 Sam Steingold <sds@gnu.org>
9053
9054 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9055 argument (before the `interactive' argument).
9056
50105835
SM
90572013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * image-mode.el (image-mode-winprops): Add winprops to
9060 image-mode-winprops-alist before running
9061 image-mode-new-window-functions.
9062 * doc-view.el (doc-view-new-window-function): Don't delay
9063 doc-view-goto-page via timers (bug#14435).
9064
57b9823e
TH
90652013-05-24 Tassilo Horn <tsdh@gnu.org>
9066
9067 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9068 (doc-view-desktop-save-buffer): New function.
9069 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9070 (desktop-buffer-mode-handlers):
9071 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9072 handler.
9073 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9074 `desktop-save-buffer' function.
9075
91aafa16
MA
90762013-05-24 Michael Albinus <michael.albinus@gmx.de>
9077
9078 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9079 (tramp-gvfs-file-name-handler): Raise a user error when
9080 `tramp-gvfs-enabled' is nil.
9081 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9082 Do not raise a user error when loading package. (Bug#14447)
9083
ec076379
MA
9084 * net/xesam.el: Move to obsolete/.
9085
db785726
GM
90862013-05-24 Glenn Morris <rgm@gnu.org>
9087
af5c7606
GM
9088 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9089
e5d1916a
GM
9090 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9091
ded62b08
GM
9092 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9093 (Info-find-node, Man-getpage-in-background): Declare.
9094
9e614a3f
GM
9095 * mail/unrmail.el (unrmail):
9096 Replace obsolete detect-coding-with-priority.
9097
892f8ca3
GM
9098 * net/socks.el (socks-split-string): Use this rather than split-string.
9099 (socks-nslookup-host): Update for above change.
9100 (dynamic-choice, s5-dynamic-choice-match)
9101 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9102 Comment out unused code.
9103
3c291973
GM
9104 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9105 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9106 (gud-tooltip-echo-area): Make obsolete.
9107 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9108
43cc956b
GM
9109 * progmodes/js.el (js--optimize-arglist): Declare.
9110
dab49a3b
GM
9111 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9112
36b9d085
GM
9113 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9114 (ediff-window-C): Declare.
9115
e354ae76
GM
9116 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9117 Tweak requires to silence compiler.
9118
b8e57bf4
GM
9119 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9120 (he-search-string, he-tried-table, he-expand-list)
9121 (he-init-string, he-string-member, he-substitute-string)
9122 (he-reset-string): Declare.
9123
db785726
GM
9124 * obsolete/options.el (list-options): Use custom-variable-p,
9125 rather than obsolete alias.
9126
b3531901
SS
91272013-05-23 Sam Steingold <sds@gnu.org>
9128
9129 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9130 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9131 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9132
bdda4c66
SM
91332013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9134
9135 * emacs-lisp/smie.el (smie-indent-forward-token)
9136 (smie-indent-backward-token): Handle string tokens (bug#14381).
9137
c43d45f9
TH
91382013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9139
fe1eb856
RS
9140 * ielm.el (ielm-menu): New menu.
9141 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9142
fe1eb856
RS
91432013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9144
9145 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9146 Fix deactivate action.
9147
9148 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9149 Add cleveref macros.
074dd971 9150
c43d45f9
TH
9151 * lisp/textmodes/reftex-parse.el
9152 (reftex-locate-bibliography-files): Accept options for
9153 bibliography commands.
9154 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9155 Add addbibresource. Basic Biblatex support.
9156
7764286e
MA
91572013-05-23 Michael Albinus <michael.albinus@gmx.de>
9158
9159 * net/tramp-gvfs.el (top):
9160 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9161 when loading package. (Bug#14447)
9162
d361bc10
GM
91632013-05-23 Glenn Morris <rgm@gnu.org>
9164
8fa23984
GM
9165 * progmodes/js.el: No need to load comint when compiling.
9166 (ring-insert, comint-send-string, comint-send-input)
9167 (comint-last-input-end, ido-chop): Declare.
9168
a5c7df1a
GM
9169 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9170 * vc/ediff-mult.el: Adjust requires.
9171 (ediff-directories-internal, ediff-directory-revisions-internal)
9172 (ediff-patch-file-internal): Declare.
9173 * vc/ediff-ptch.el: Adjust requires.
9174 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9175 (ediff-find-file): Autoload.
9176 * vc/ediff-util.el: No need to load ediff when compiling.
9177 (ediff-regions-internal): Declare.
9178 * vc/ediff-wind.el: Adjust requires.
9179 (ediff-compute-toolbar-width): Define when compiling.
9180 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9181 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9182 (dired-get-filename, dired-get-marked-files)
9183 (ediff-last-dir-patch, ediff-patch-default-directory)
9184 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9185 (ediff-patch-buffer-internal): Declare.
9186
e2aec513
GM
9187 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9188 (ispell-process, ispell-buffer-local-words, lm-summary)
9189 (lm-section-start, lm-section-end): Declare.
9190 (checkdoc-ispell-init): Simplify.
9191
e68bbd7c
GM
9192 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9193 (he-string-member, he-reset-string, he-substitute-string): Declare.
9194
7efe0991
GM
9195 * eshell/em-ls.el: Adjust requires.
9196 (eshell-glob-regexp): Declare.
f87b1284
GM
9197 * eshell/em-tramp.el: Adjust requires.
9198 (eshell-parse-command): Autoload.
9199 * eshell/em-xtra.el: Adjust requires.
9200 (eshell-parse-command): Autoload.
9201 * eshell/esh-ext.el: Adjust requires.
9202 (eshell-parse-command, eshell-close-handles): Autoload.
9203 * eshell/esh-io.el: Adjust requires.
9204 (eshell-output-filter): Autoload.
9205 * eshell/esh-util.el: No need to load tramp when compiling.
9206 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9207 Declare.
9208 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9209 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9210 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9211 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9212 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9213 * eshell/esh-opt.el, eshell/esh-proc.el:
9214 * eshell/esh-var.el: Adjust requires.
9215 * eshell/eshell.el: Do not require esh-util twice.
9216 (eshell-add-input-to-history): Declare.
9217 (eshell-command): Check history module is active before using it.
9218
d361bc10
GM
9219 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9220
85d090a9
LL
92212013-05-22 Leo Liu <sdl.web@gmail.com>
9222
9223 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9224
5d0acd9d
MA
92252013-05-22 Michael Albinus <michael.albinus@gmx.de>
9226
9227 * autorevert.el (auto-revert-notify-add-watch)
9228 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9229 it indicates changes in file modification time.
9230
0cdffd7d
GM
92312013-05-22 Glenn Morris <rgm@gnu.org>
9232
ca5995ec
GM
9233 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9234 Always delete the autoloaded function from the noruntime and
9235 unresolved functions lists.
9236
6450907e
GM
9237 * allout.el: No need to load epa, epg, overlay when compiling.
9238 (epg-context-set-passphrase-callback, epg-list-keys)
9239 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9240 (epg-key-user-id-list): Declare.
9241
9c6906f6
GM
9242 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9243 (viper-set-parsing-style-toggling-macro)
9244 (viper-set-emacs-state-searchstyle-macros):
9245 Use called-interactively-p on Emacs.
9246 (viper-looking-back): Make it an obsolete alias. Update callers.
9247 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9248 Use looking-back rather than viper-looking-back.
9249 (viper-tmp-insert-at-eob, viper-enlarge-region)
9250 (viper-read-string-with-history, viper-register-to-point)
9251 (viper-append-to-register, viper-change-state-to-vi)
9252 (viper-backward-char-carefully, viper-forward-char-carefully)
9253 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9254 (viper-change-state-to-emacs): Declare.
9255 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9256 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9257 * emulation/viper-mous.el: Do not load viper-cmd.
9258 (viper-backward-char-carefully, viper-forward-char-carefully)
9259 (viper-forward-word, viper-adjust-window): Declare.
9260
5f70c169
GM
9261 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9262
b1b7f300
GM
9263 * progmodes/idlw-help.el (idlwave-help-fontify):
9264 Use called-interactively-p.
9265
f6ebbb46
GM
9266 * term/w32console.el (w32-get-console-codepage)
9267 (w32-get-console-output-codepage): Declare.
9268
0cdffd7d
GM
9269 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9270 Remove unnecessary declarations.
9271 (dframe-message): Doc fix.
9272
9273 * info.el (dframe-select-attached-frame, dframe-current-frame):
9274 Declare.
9275
9276 * speedbar.el (speedbar-message): Make it an obsolete alias.
9277 Update all callers.
9278 (speedbar-with-attached-buffer)
9279 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9280 (speedbar-with-writable): Use backquote.
9281 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9282 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9283 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9284 rather than speedbar- aliases.
9285 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9286 (speedbar-make-specialized-keymap, speedbar-insert-button)
9287 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9288 (speedbar-do-function-pointer): Declare.
9289 (rmail-speedbar-button, rmail-speedbar-find-file)
9290 (rmail-speedbar-move-message):
9291 Use dframe-with-attached-buffer rather than speedbar- alias.
9292 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9293 (dframe-message, speedbar-make-specialized-keymap)
9294 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9295 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9296 (speedbar-insert-button, dframe-select-attached-frame)
9297 (dframe-maybee-jump-to-attached-frame)
9298 (speedbar-change-initial-expansion-list)
9299 (speedbar-previously-used-expansion-list-name): Declare.
9300 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9301 Use dframe-message, dframe-with-attached-buffer rather than
9302 speedbar- aliases.
9303 (gud-sentinel): Silence compiler.
9304 * progmodes/vhdl-mode.el (speedbar-refresh)
9305 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9306 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9307 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9308 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9309 (speedbar-file-lists, speedbar-make-tag-line)
9310 (speedbar-line-directory, speedbar-goto-this-file)
9311 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9312 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9313 (speedbar-make-button, speedbar-reset-scanners)
9314 (speedbar-files-item-info, speedbar-line-text)
9315 (speedbar-find-file-in-frame, speedbar-set-timer)
9316 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9317 (speedbar-with-writable): Do not (re)define it.
9318 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9319 rather than speedbar- alias.
9320
ee44b62a
LL
93212013-05-21 Leo Liu <sdl.web@gmail.com>
9322
9323 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9324 menu items.
9325 (octave-mode): Tweak fill-nobreak-predicate.
9326 (inferior-octave-startup): Check process to avoid infinite loop.
9327 (inferior-octave): Pop to buffer first to show abornmal process
9328 exit information.
9329
640f050f
GM
93302013-05-21 Glenn Morris <rgm@gnu.org>
9331
79458038
GM
9332 * printing.el (pr-menu-bar): Define when compiling.
9333
9cc3e83f
LL
93342013-05-21 Leo Liu <sdl.web@gmail.com>
9335
9336 * progmodes/octave.el (octave-auto-fill): Remove.
9337 (octave-indent-new-comment-line): Improve.
9338 (octave-mode): Use auto fill mode through
4f405069 9339 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9340 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9341 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9342 (octave-help): Show parent directory.
9343
f440830d
GM
93442013-05-21 Glenn Morris <rgm@gnu.org>
9345
9346 * files.el (dired-unmark):
9347 * progmodes/gud.el (gdb-input): Update declarations.
9348
9349 * calculator.el (electric, ehelp): No need to load when compiling.
9350 (Electric-command-loop, electric-describe-mode): Declare.
9351
9352 * doc-view.el (doc-view-current-converter-processes): Move before use.
9353
9354 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9355 Move MODE-set-explicitly definition before use.
9356
9357 * international/mule-diag.el (mule-diag):
9358 Don't use obsolete window-system-version.
9359
9360 * mail/feedmail.el (smtpmail): No need to load when compiling.
9361 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9362
9363 * mail/mail-utils.el (rfc822): No need to load when compiling.
9364 (rfc822-addresses): Autoload it.
9365 (mail-strip-quoted-names): Trivial simplification.
9366
9367 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9368 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9369
9370 * net/snmp-mode.el (tempo): Don't duplicate requires.
9371
9372 * progmodes/prolog.el (info): No need to load when compiling.
9373 (comint): Require before shell requires it.
9374 (Info-goto-node): Autoload it.
9375 (Info-follow-nearest-node): Declare.
9376 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9377
9378 * textmodes/artist.el (picture-mode-exit): Declare.
9379
9380 * textmodes/reftex-parse.el (reftex-parse-from-file):
9381 Trivial rewrite so the compiler can parse it better.
9382
b4da2cbb
LL
93832013-05-20 Leo Liu <sdl.web@gmail.com>
9384
9385 * progmodes/octave.el (octave-help-mode-map)
9386 (octave-help-mode-finish-hook): New variables.
9387 (octave-help-mode, octave-help-mode-finish): New functions.
9388 (octave-help): Use octave-help-mode.
9389
33c0f65b
GM
93902013-05-20 Glenn Morris <rgm@gnu.org>
9391
9392 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9393
1a0a0a8a
DG
93942013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9395
9396 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9397 start at point, so that expansion starting right after opening
9398 slash in a regexp is recognized.
9399 (ruby-syntax-before-regexp-re): New defvar, extracted from
9400 ruby-syntax-propertize-function. Since the value of this regexp
9401 is looked up at runtime now, we should be able to turn
9402 `ruby-syntax-methods-before-regexp' into a defcustom later.
9403 (ruby-syntax-propertize-function): Split regexp matching into two
9404 parts, for opening and closing slashes. That allows us to skip
9405 over string interpolations and support multiline regexps.
9406 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9407 for them, which calls `ruby-syntax-propertize-expansion'.
9408 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9409 call to `ruby-syntax-propertize-function'.
9410 (ruby-syntax-propertize-expansion): Extracted from
9411 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9412 (ruby-syntax-propertize-percent-literal): Leave point right after
9413 the percent symbol, so that the expression expansion rule can
9414 propertize the contents.
462388b6
DG
9415 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9416 heredoc openers.
9417 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9418
c1a6c0a4
JL
94192013-05-18 Juri Linkov <juri@jurta.org>
9420
9421 * man.el (Man-default-man-entry): Remove `-' from the end
9422 of the default value. (Bug#14400)
9423
8051fccd
GM
94242013-05-18 Glenn Morris <rgm@gnu.org>
9425
9426 * comint.el (comint-password-prompt-regexp):
9427 Allow "password for XXX" where XXX contains colons (eg https://...).
9428
5e80b74f
LL
94292013-05-18 Leo Liu <sdl.web@gmail.com>
9430
9431 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9432 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9433 (octave-source-directories): Don't check process.
9434 (octave-source-directories, octave-find-definition): Doc fix.
9435
521a54c5
GM
94362013-05-18 Glenn Morris <rgm@gnu.org>
9437
86a94b05
GM
9438 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9439 Remove backspace/delete bindings. (Bug#14392)
9440
521a54c5
GM
9441 * cus-dep.el (custom-make-dependencies): Sort the output.
9442 (custom-versions-load-alist): Convert comment to doc.
9443
42caeb89
LL
94442013-05-17 Leo Liu <sdl.web@gmail.com>
9445
9446 * newcomment.el (comment-search-backward): Stricter in finding
9447 comment start. (Bug#14303)
9448
9449 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9450 (octave-comment-start-skip): Properly anchored.
9451
e219dd97
LL
94522013-05-17 Leo Liu <sdl.web@gmail.com>
9453
fe1eb856
RS
9454 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9455 Clean up when turned off. (Bug#14395)
e219dd97
LL
9456 (smie--highlight-matching-block-overlay): No longer buffer-local.
9457 (smie-highlight-matching-block): Adjust.
9458
dc5dcb4b
PE
94592013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9460
9461 Doc string fix for "nanoseconds" (Bug#14406).
9462 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9463 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9464
1db165f0
JB
94652013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9466
9467 * calc/calc-units.el (math-extract-units): Preserve powers
9468 of units.
9469
c7a8fcac
LL
94702013-05-17 Leo Liu <sdl.web@gmail.com>
9471
9472 * subr.el (delete-consecutive-dups): New function.
9473 * ido.el (ido-set-matches-1): Use it.
9474 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9475 * ido.el (ido-remove-consecutive-dups): Remove.
9476
f678b18a
SM
94772013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9478
9479 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9480 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9481 regexp-opt's `words'.
9482
ebfe68e8
LL
94832013-05-16 Leo Liu <sdl.web@gmail.com>
9484
9485 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9486 (smie--highlight-matching-block-overlay)
9487 (smie--highlight-matching-block-lastpos)
9488 (smie--highlight-matching-block-timer): New variables.
9489 (smie-highlight-matching-block): New function.
9490 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9491 (smie-setup): Conditionally enable smie-blink-matching-open.
9492
bc8bc17d
WS
94932013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9494
9495 Sync with upstream verilog-mode r840.
9496 * progmodes/verilog-mode.el (verilog-mode-version)
9497 (verilog-mode-release-date): Update.
9498 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9499 (verilog-sig-tieoff): Fix string error on
9500 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9501 (verilog-read-decls): Fix parameters confusing
9502 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9503
df065a0b
EZ
95042013-05-16 Eli Zaretskii <eliz@gnu.org>
9505
9506 * subr.el (reveal-filename): New function.
9507
9508 * loadup.el: Compute Emacs executable versions on MS-Windows,
9509 where executables have the .exe extension. Add a hard link
9510 emacs-XX.YY.ZZ.exe on MS-Windows.
9511
9512 * Makefile.in (XARGS_LIMIT): New variable.
9513 (custom-deps, finder-data, autoloads)
9514 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9515 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9516 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9517 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9518
2d4bf34b
LL
95192013-05-16 Leo Liu <sdl.web@gmail.com>
9520
9521 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9522 (octave-mode-menu, octave-mode-map): Remove its uses.
9523
6b9c2d85
RZ
95242013-05-16 Reto Zimmermann <reto@gnu.org>
9525
9526 Sync with upstream vhdl mode v3.34.2.
9527 * progmodes/vhdl-mode.el: Use `push' throughout.
9528 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9529 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9530 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9531 (vhdl-actual-generic-name): New option to derive actual generic name.
9532 (vhdl-port-paste-signals): Replace formal by actual generics.
9533 (vhdl-beautify): New name for old group vhdl-align. Update users.
9534 (vhdl-beautify-options): New option.
9535 (vhdl-last-input-event): New compat alias. Use throughout.
9536 (vhdl-goto-line): Replace user level function `goto-line'.
9537 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9538 vhdl-fix-statement-buffer.
9539 (vhdl-create-mode-menu): Add some entries.
9540 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9541 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9542 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9543 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9544 to force statements on one line.
9545 (vhdl-remove-trailing-spaces-region):
9546 New, split from vhdl-remove-trailing-spaces.
9547 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9548 Respect vhdl-beautify-options.
9549 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9550 (vhdl-update-sensitivity-list): Not add with index if exists without.
9551 Not include array index with signal. Ignore keywords in comments.
9552 (vhdl-get-visible-signals): Regexp tweaks.
9553 (vhdl-template-component-inst): Handle empty library.
9554 (vhdl-template-type): Add template for 'enum' type.
9555 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9556 Use vhdl-replace-string.
9557 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9558 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9559 (vhdl-speedbar-initialize): Update for above name change.
9560 (vhdl-compose-wire-components): Fix in handling of constants.
9561 (vhdl-error-regexp-emacs-alist): New variable.
9562 (vhdl-error-regexp-add-emacs): New function;
9563 adds support for new compile.el (Emacs 22+)
9564 (vhdl-generate-makefile-1): Change target order for single lib. units.
9565 Allow use of absolute file names.
9566
9df4ec5e
LL
95672013-05-16 Leo Liu <sdl.web@gmail.com>
9568
9569 * simple.el (prog-indent-sexp): Indent enclosing defun.
9570
f5ba00a6
GM
95712013-05-15 Glenn Morris <rgm@gnu.org>
9572
ed8be7ff
GM
9573 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9574 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9575 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9576 (whitespace-highlight): Move to whitespace group.
9577
9578 * comint.el (comint-source):
9579 * pcmpl-linux.el (pcmpl-linux):
9580 * shell.el (shell-faces):
9581 * eshell/esh-opt.el (eshell-opt):
9582 * international/ccl.el (ccl): Remove empty custom groups.
9583
9584 * completion.el (dynamic-completion-mode):
9585 * jit-lock.el (jit-lock-debug-mode):
9586 * minibuffer.el (completion-in-region-mode):
9587 * type-break.el (type-break-mode-line-message-mode)
9588 (type-break-query-mode):
9589 * emulation/tpu-edt.el (tpu-edt-mode):
9590 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9591 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9592 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9593
9594 * term/xterm.el (xterm): Change parent group to terminals.
9595
9596 * master.el (master): Remove empty custom group.
9597 (master-mode): Remove unused :group argument.
9598 * textmodes/refill.el (refill): Remove empty custom group.
9599 (refill-mode): Remove unused :group argument.
9600
9601 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9602
82a7c41b
GM
9603 * cus-dep.el: Provide a feature.
9604 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9605 Don't mistakenly ignore files whose basenames match a basename
9606 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9607 Add a fallback method for getting :group.
f5ba00a6 9608
6d65486d
JL
96092013-05-15 Juri Linkov <juri@jurta.org>
9610
da547b32
JL
9611 * isearch.el (isearch-char-by-name): Rename from
9612 `isearch-insert-char-by-name'. Doc fix.
9613 (isearch-forward): Mention `isearch-char-by-name' in
9614 the docstring. (Bug#13348)
9615
6d65486d
JL
9616 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9617 `exit-minibuffer' instead of
9618 `isearch-nonincremental-exit-minibuffer'.
9619 (isearch-edit-string): Remove mention of
9620 `isearch-nonincremental-exit-minibuffer' from docstring.
9621 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9622 (isearch-forward-exit-minibuffer)
9623 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9624
c9990474
SM
96252013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9626
6e911150
SM
9627 * loadup.el: Just use unversioned DOC.
9628
c9990474
SM
9629 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9630 literals as extending to EOB.
9631 (nxml-last-fontify-end): Remove unused variable.
9632 (nxml-after-change1): Use with-silent-modifications.
9633 (nxml-extend-after-change-region): Simplify.
9634 (nxml-extend-after-change-region1): Remove function.
9635 (nxml-after-change1): Don't adjust for dependent regions.
9636 (nxml-fontify-matcher): Simplify.
9637 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9638 (xmltok-add-dependent): Remove function.
9639 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9640 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9641 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9642 unclosed <[[, <?, comment, and other literals as extending to EOB.
9643 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9644 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9645 Remove functions.
9646 (rng-do-some-validation-1): Don't mark dependent regions.
9647 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9648 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9649 (nxml-clear-dependent-regions): Remove functions.
9650 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9651 (nxml-ensure-scan-up-to-date):
9652 Don't clear&mark dependent regions.
9653
e3772e98
LL
96542013-05-15 Leo Liu <sdl.web@gmail.com>
9655
c9990474
SM
9656 * progmodes/octave.el (octave-goto-function-definition):
9657 Improve and fix callers.
e3772e98 9658
5ac2eb34
SM
96592013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9660
c46c57b0
SM
9661 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9662 the setter (bug#14387).
9663
5ac2eb34
SM
9664 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9665 surrounding group (bug#14402).
9666
180ed218
JL
96672013-05-14 Juri Linkov <juri@jurta.org>
9668
9669 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9670 (Bug#14390)
9671
0ac0fecb
GM
96722013-05-14 Glenn Morris <rgm@gnu.org>
9673
9674 * progmodes/f90.el (f90-imenu-generic-expression):
9675 Fix typo in 2013-05-08 change. (Bug#14402)
9676
2e78e6a7
JPG
96772013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9678
5ac2eb34
SM
9679 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9680 Remove signals for which replies are never received.
2e78e6a7 9681
53267cca
JPG
96822013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9683
9684 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9685 (gdb-handler-alist, gdb-handler-number): Remove variables.
9686 (gdb-handler-list): New variable.
9687 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9688 (gdb-pending-handler-p, gdb-handle-reply)
9689 (gdb-remove-all-pending-triggers): New functions.
9690 (gdb-discard-unordered-replies): New defcustom.
9691 (gdb-handler): New defstruct.
9692 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9693 instead of gdb-pending-triggers. Update docstring.
9694 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9695 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9696 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9697 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9698 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9699 (gdb-frame-handler): Pending triggers are now automatically managed.
9700 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9701 Remove argument.
9702 (gdb-input): Automatically handles pending triggers. Update docstring.
9703 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9704 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9705 Update comments.
9706 (gdb-done-or-error): Now use gdb-handle-reply.
9707
d04ce803
JPG
97082013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9709
9710 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9711 gdb-debug-log.
9712
0114073a
GM
97132013-05-14 Glenn Morris <rgm@gnu.org>
9714
9715 * subr.el (user-emacs-directory-warning): New option.
9716 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9717
4d25fd7e
LL
97182013-05-14 Leo Liu <sdl.web@gmail.com>
9719
9720 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9721 during redisplay.
9722 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9723 (octave-font-lock-texinfo-comment): Fix invalid search bound
9724 error: wrong side of point.
4d25fd7e 9725
27c8b6eb
GM
97262013-05-14 Glenn Morris <rgm@gnu.org>
9727
61aaeb01
GM
9728 * progmodes/flymake.el (flymake-xml-program): New option.
9729 (flymake-xml-init): Use it.
9730
5bf90bc5
GM
9731 * term/xterm.el: Provide a feature.
9732
9733 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9734
f4c7dfd2
GM
97352013-05-13 Glenn Morris <rgm@gnu.org>
9736
9737 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9738 Add compat aliases as a hack workaround. (Bug#14384)
9739
2aeb3a1d
LL
97402013-05-13 Leo Liu <sdl.web@gmail.com>
9741
b0e069c2
LL
9742 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9743 ###, and %!.
f5a9432f
LL
9744 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9745 C-M-q.
b0e069c2
LL
9746 (octave-comment-start-skip): Include %!.
9747 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9748
30ea8374
LL
97492013-05-12 Leo Liu <sdl.web@gmail.com>
9750
9751 * progmodes/octave.el (inferior-octave-startup): Store the value
9752 of __octave_srcdir__ for octave-source-directories.
9753 (inferior-octave-check-process): New function refactored out of
9754 inferior-octave-send-list-and-digest.
9755 (octave-source-directories)
9756 (octave-find-definition-filename-function): New variables.
9757 (octave-source-directories)
9758 (octave-find-definition-default-filename): New functions.
9759 (octave-find-definition): Improve to find functions implemented in C++.
9760
472a3834
GM
97612013-05-12 Glenn Morris <rgm@gnu.org>
9762
9763 * calendar/diary-lib.el (diary-outlook-format-1):
9764 Don't include dayname in the output. (Bug#14349)
9765
3191b52f
GM
97662013-05-11 Glenn Morris <rgm@gnu.org>
9767
0060ac73
GM
9768 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9769
3191b52f
GM
9770 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9771 Treat cc-provide like provide.
9772
e065ba74
KR
97732013-05-11 Kevin Ryde <user42@zip.com.au>
9774
9775 * cus-dep.el (custom-make-dependencies):
9776 Use generated-autoload-load-name for the sake of files such
9777 such cedet/semantic/bovine/c.el, where the base file name
9778 is not in load-path. (Bug#5277)
9779
36f84c37
GM
97802013-05-11 Glenn Morris <rgm@gnu.org>
9781
9782 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9783 Provide features.
9784
c8730c3a
LL
97852013-05-11 Leo Liu <sdl.web@gmail.com>
9786
9787 * progmodes/octave.el (octave-indent-comment): Improve.
9788 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9789 (octave-eldoc-function-signatures, octave-eldoc-function):
9790 New functions.
c8730c3a
LL
9791 (octave-mode, inferior-octave-mode): Add eldoc support.
9792
212e29f2
RS
97932013-05-11 Richard Stallman <rms@gnu.org>
9794
9795 * epa.el (epa-decrypt-file): Take output file name as argument
9796 and read it using `interactive'.
9797
083fe0d7
LL
97982013-05-11 Leo Liu <sdl.web@gmail.com>
9799
9800 * progmodes/octave.el (octave-beginning-of-line)
9801 (octave-end-of-line): Check before using up-list because it jumps
9802 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9803 (octave-indent-comment): New function.
9804 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9805 (octave-begin-keywords, octave-end-keywords)
9806 (octave-reserved-words, octave-smie-bnf-table)
9807 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9808
8582e4c4
GM
98092013-05-11 Glenn Morris <rgm@gnu.org>
9810
f20def1f
GM
9811 * faces.el (internal-face-x-get-resource):
9812 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9813 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9814 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9815 Fix declarations.
f20def1f 9816
445f95e2
GM
9817 * calc/calc-menu.el: Make it loadable in isolation.
9818
9819 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9820 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9821 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9822 (eudc-bbdb-query-internal): Require 'bbdb.
9823
99fb2756
GM
9824 * lpr.el (lpr-headers-switches):
9825 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9826
9827 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9828
0da7ad96
GM
9829 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9830
8582e4c4
GM
9831 * term.el (term-set-escape-char): Make it idempotent.
9832
f71c50d0
LL
98332013-05-10 Leo Liu <sdl.web@gmail.com>
9834
5ac2eb34
SM
9835 * progmodes/octave.el (inferior-octave-completion-table):
9836 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9837 completion due to bug#11906.
9838 (octave-beginning-of-defun): Re-write to be more general.
9839
d5837773
GM
98402013-05-10 Glenn Morris <rgm@gnu.org>
9841
9842 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9843
027c0f75
SM
98442013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9845
9846 * comint.el (comint-redirect-send-command-to-process): Use :around
9847 rather than :override for comint-redirect-filter.
9848 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9849 Call it instead of comint-redirect-original-filter-function (which
9850 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9851
4465bfb4
JD
98522013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9853
9854 * frame.el (display-monitor-attributes-list): Add NS case.
9855 (ns-display-monitor-attributes-list): Declare.
9856
2d809ffa 98572013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9858
9859 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9860
e54eeb9b
GM
98612013-05-09 Glenn Morris <rgm@gnu.org>
9862
56cd351d
GM
9863 * international/fontset.el (vertical-centering-font-regexp):
9864 Set standard-value.
9865
d84b6108
GM
9866 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9867
a931698a
GM
9868 * bookmark.el (bookmark-search-delay):
9869 * cus-start.el (vertical-centering-font-regexp):
9870 * ps-mule.el (ps-mule-font-info-database-default):
9871 * ps-print.el (ps-default-fg, ps-default-bg):
9872 * type-break.el (type-break-good-break-interval):
9873 * whitespace.el (whitespace-indentation-regexp)
9874 (whitespace-space-after-tab-regexp):
9875 * emacs-lisp/testcover.el (testcover-1value-functions)
9876 (testcover-noreturn-functions, testcover-progn-functions)
9877 (testcover-prog1-functions):
9878 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9879 * eshell/em-glob.el (eshell-glob-translate-alist):
9880 * play/tetris.el (tetris-tty-colors):
9881 * progmodes/cpp.el (cpp-face-default-list):
9882 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9883 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9884 (idlwave-help-browser-generic-args):
9885 * progmodes/make-mode.el (makefile-special-targets-list):
9886 * progmodes/python.el (python-shell-virtualenv-path):
9887 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9888 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9889 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9890 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9891 * textmodes/reftex-vars.el (reftex-format-label-function):
9892 * textmodes/remember.el (remember-diary-file): Fix custom types.
9893
e54eeb9b
GM
9894 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9895 Add :version.
9896
455851dd
LL
98972013-05-09 Leo Liu <sdl.web@gmail.com>
9898
9899 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9900 Restore file completion. (Bug#14300)
455851dd
LL
9901 (inferior-octave-startup): Fix incorrect highlighting for the
9902 first prompt.
9903
a9e4425b
SM
99042013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * progmodes/ruby-mode.el: First cut at SMIE support.
9907 (ruby-use-smie): New var.
9908 (ruby-smie-grammar): New constant.
9909 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9910 (ruby-smie--forward-token, ruby-smie--backward-token)
9911 (ruby-smie-rules): New functions.
9912 (ruby-mode-variables): Setup SMIE if applicable.
9913
060ca408
EZ
99142013-05-08 Eli Zaretskii <eliz@gnu.org>
9915
9916 * simple.el (line-move-visual): Signal beginning/end of buffer
9917 only if vertical-motion moved less than it was requested. Avoids
9918 silly incorrect error messages when there are display strings with
9919 multiple newlines at EOL.
9920
1d5963cc
SM
99212013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9922
9923 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9924 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9925 (prolog-char-quote-workaround):
9926 * progmodes/cperl-mode.el (cperl-under-as-char):
9927 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9928 Mark as obsolete.
9929 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9930 their declaration.
9931 (vhdl-mode-syntax-table-init): Remove.
9932
c9990474
SM
9933 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9934 last change.
1d5963cc
SM
9935
9936 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9937 syntax for "_".
9938 (ld-script-font-lock-keywords):
9939 Change regexps to use things like \_< and \_>.
9940
9941 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9942 Change all regexps to use things like \_< and \_>.
9943
9944 * progmodes/autoconf.el (autoconf-definition-regexp)
9945 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9946 Handle a _ with symbol syntax.
9947 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9948
c9990474
SM
9949 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9950 Consolidate declaration.
1d5963cc
SM
9951 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9952 the declaration.
9953 (ada-create-syntax-table): Remove.
9954 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9955 already has the right syntax nowadays.
9956 (ada-goto-next-word): Don't change the syntax of "_".
9957
9958 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9959 with-wrapper-hook.
9960
72d3cfca
SS
99612013-05-08 Sam Steingold <sds@gnu.org>
9962
9963 * thingatpt.el (thing-at-point): Accept optional second argument
9964 NO-PROPERTIES to strip the text properties from the return value.
9965 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9966 to `thing-at-point' instead of stripping the properties ourselves.
9967 Also, when `thing-at-point' fails to find a url, prepend "http://"
9968 to the filename at point on the assumption that the user is
9969 pointing at something like gnu.org/gnu.
9970
5cb15713
JB
99712013-05-08 Juanma Barranquero <lekktu@gmail.com>
9972
9973 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9974 * faces.el (crm-separator):
9975 Silence byte-compiler.
9976
9977 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9978 (tool-bar-map): Remove unneeded defvars.
9979
ea78b95b
LL
99802013-05-08 Leo Liu <sdl.web@gmail.com>
9981
9982 Re-work a fix for bug#10994 based on Le Wang's patch.
9983 * ido.el (ido-remove-consecutive-dups): New helper.
9984 (ido-completing-read): Use it.
9985 (ido-chop): Revert fix for bug#10994.
9986
dc7466df
AS
99872013-05-08 Adam Spiers <emacs@adamspiers.org>
9988
9989 * cus-edit.el (custom-save-variables):
9990 Pretty-print long values. (Bug#14187)
9991
9ecf672a
GM
99922013-05-08 Glenn Morris <rgm@gnu.org>
9993
9994 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9995 (m4-mode-syntax-table): Init in the defvar.
9996 (m4-mode-abbrev-table): Let define-derived-mode define it.
9997
3f555be8
TT
99982013-05-08 Tom Tromey <tromey@redhat.com>
9999
10000 * progmodes/m4-mode.el (m4-mode-syntax-table):
10001 Do not treat "_" as word constituent. (Bug#14167)
10002
7cc8ae06
GM
100032013-05-07 Glenn Morris <rgm@gnu.org>
10004
4f58bc06
GM
10005 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10006 Remove explicit eshell-isearch-cancel-map.
10007
7cc8ae06
GM
10008 * progmodes/f90.el (f90-smart-end-names): New option.
10009 (f90-smart-end): Doc fix.
10010 (f90-end-block-optional-name): New constant.
10011 (f90-block-match): Respect f90-smart-end-names.
10012
ceb57e59
SM
100132013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10014
10015 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10016 about implicit semi-colons (bug#14218).
10017
4e3f9230
YM
100182013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10019
10020 * frame.el (display-monitor-attributes-list)
10021 (frame-monitor-attributes): New functions.
10022
203a5572
LL
100232013-05-06 Leo Liu <sdl.web@gmail.com>
10024
10025 * progmodes/octave.el (octave-syntax-propertize-function): Change
10026 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10027 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10028 (octave-completion-at-point): Rename from
203a5572
LL
10029 octave-completion-at-point-function.
10030 (inferior-octave-directory-tracker): Robustify.
10031 (octave-text-functions): Remove and fix its uses. No such things
10032 any more.
10033
ee6cff99
SM
100342013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * emacs-lisp/trace.el (trace--display-buffer): New function.
10037 (trace-make-advice): Use it.
10038
32985194
JL
100392013-05-06 Juri Linkov <juri@jurta.org>
10040
10041 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10042 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10043 Doc fix.
10044 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10045 in the help string. (Bug#12985)
10046
a1c700de
KD
100472013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10048
10049 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10050
c67c0839
SM
100512013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10052
323885fd
SM
10053 * progmodes/perl-mode.el: Add support for here documents.
10054 (perl-syntax-propertize-function): Match here-doc markers.
10055 (perl-syntax-propertize-special-constructs): Find their end.
10056 (perl-imenu-generic-expression): Use [:alnum:].
10057
c67c0839
SM
10058 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10059 (advice--add-function): Refresh the advice if already present
10060 (bug#14317).
10061
d491e7a8
IA
100622013-05-06 Ivan Andrus <darthandrus@gmail.com>
10063
10064 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10065
ddf9925e
GM
100662013-05-06 Glenn Morris <rgm@gnu.org>
10067
7cc3af27
GM
10068 * w32-fns.el (w32-charset-info-alist): Declare.
10069
16e343d6
GM
10070 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10071 of its defcustom properties.
10072 (eshell-cmpl-initialize): No need to load pcomplete.
10073
7d889a47
GM
10074 * generic-x.el: No need to require comint when compiling.
10075
ddf9925e
GM
10076 * net/eudc-export.el: Make it loadable without bbdb.
10077 (top-level): Use require rather than load-library.
10078 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10079 (eudc-batch-export-records-to-bbdb)
10080 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10081 Require bbdb.
10082
1e2c18df
SM
100832013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10086 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10087 some tweaks, instead.
10088
02502a5f
LL
100892013-05-05 Leo Liu <sdl.web@gmail.com>
10090
10091 * progmodes/octave.el (octave-font-lock-keywords)
10092 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10093 (inferior-octave-send-list-and-digest): Improve error message.
10094 (octave-mode, inferior-octave-mode): Use setq-local.
10095 (octave-help): Set info-lookup-mode.
10096
0dc04f42
RS
100972013-05-05 Richard Stallman <rms@gnu.org>
10098
6c54491c
RS
10099 * vc/compare-w.el (compare-windows-whitespace):
10100 Treat no-break space as whitespace.
10101
0dc04f42
RS
10102 * mail/rmailsum.el (rmail-summary-rmail-update):
10103 Detect empty summary and don't change selected message.
10104 (rmail-summary-goto-msg): Likewise.
10105
df8f35df
RS
10106 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10107 Doc fixes, rename args.
10108
5356e1a3
AM
101092013-05-05 Alan Mackenzie <acm@muc.de>
10110
10111 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10112
d44014cb
JL
101132013-05-05 Juri Linkov <juri@jurta.org>
10114
10115 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10116 to not add the length of the summary segment to the return value.
10117 (Bug#14125)
10118
c129b51f
LL
101192013-05-05 Leo Liu <sdl.web@gmail.com>
10120
10121 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10122 (inferior-octave-output-filter): Remove.
10123 (octave-send-region, inferior-octave-startup): Fix callers.
10124 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10125 (octave-binary-file-extensions): New user variable.
10126 (octave-find-definition): Confirm if opening binary files.
10127 (octave-help-file): Use octave-find-definition to get the binary
10128 confirmation.
10129 (octave-help): Adjust for octave-help-file change.
10130
aa7dab97
SM
101312013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10132
10133 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10134 Merge the two entries that handle function definitions.
10135 (pascal--syntax-propertize): New const.
10136 (pascal-mode): Use it. Use setq-local.
10137
fd3a9a6b
GM
101382013-05-04 Glenn Morris <rgm@gnu.org>
10139
10140 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10141 (diary-from-outlook): Respect diary-from-outlook-function.
10142
30c7e542
SM
101432013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10144
10145 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10146 Move the declaration from C.
10147 (read-minibuffer, eval-minibuffer): Move from C.
10148 (completion-setup-function): Avoid minibuffer-completion-contents.
10149
b54f978b
LL
101502013-05-03 Leo Liu <sdl.web@gmail.com>
10151
10152 * progmodes/octave.el (octave-font-lock-keywords): Do not
10153 dehighlight 'end' in comments or strings.
30c7e542
SM
10154 (octave-completing-read, octave-goto-function-definition):
10155 New helpers.
d4d0f9b3
LL
10156 (octave-help-buffer): New user variable.
10157 (octave-help-file, octave-help-function): New button types.
10158 (octave-help): New command and bind it to C-h ;.
10159 (octave-find-definition): New command and bind it to M-.
d74a1581 10160 (user-error): Alias to error if not defined.
b54f978b 10161
27135018
LL
101622013-05-02 Leo Liu <sdl.web@gmail.com>
10163
10164 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10165 for \. (bug#14332)
10166 (octave-font-lock-keywords): Include [ and {.
10167
0d634d3a
LL
101682013-05-02 Leo Liu <sdl.web@gmail.com>
10169
10170 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10171 (inferior-octave): Remove calling comint-mode and return the buffer.
10172 (inferior-octave-startup): Cosmetic changes.
10173
b4c8295e
LL
101742013-05-02 Leo Liu <sdl.web@gmail.com>
10175
30c7e542
SM
10176 * progmodes/octave.el (octave-syntax-propertize-function):
10177 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10178
f12ad6ec
GM
101792013-05-02 Glenn Morris <rgm@gnu.org>
10180
10181 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10182 * desktop.el (vc-dir-mode): Just autoload it here.
10183
30cac1e0
AM
101842013-05-02 Alan Mackenzie <acm@muc.de>
10185
10186 Eliminate variable c-standard-font-lock-fontify-region-function.
10187 * progmodes/cc-mode.el
10188 (c-standard-font-lock-fontify-region-function): Remove.
10189 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10190
d8ef28b1
LL
101912013-05-01 Leo Liu <sdl.web@gmail.com>
10192
2640d52e 10193 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10194 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10195 variables were removed from Octave in 2007.
d8ef28b1
LL
10196 (inferior-octave-startup): Fix uses.
10197 (comint-line-beginning-position): Remove compatibility code for
10198 emacs 21.
10199
ac63ec89
JL
102002013-05-01 Juri Linkov <juri@jurta.org>
10201
10202 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10203
9e9be37c
JL
102042013-05-01 Juri Linkov <juri@jurta.org>
10205
10206 * comint.el (comint-previous-matching-input): Don't print message
10207 "History item: %d" when `isearch-mode' is active.
10208 (comint-history-isearch-message): Print message "History item: %d"
10209 when `comint-input-ring-index' is not empty and this function is
10210 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10211
9b92c13b
LL
102122013-05-01 Leo Liu <sdl.web@gmail.com>
10213
10214 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10215 definitions. Use completion-at-point to insert keywords.
10216 (octave-abbrev-start): Remove.
10217 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10218
b12d33d7
LL
102192013-04-30 Leo Liu <sdl.web@gmail.com>
10220
10221 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10222 change.
10223
3d1c39fa
AM
102242013-04-30 Alan Mackenzie <acm@muc.de>
10225
10226 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10227 * progmodes/cc-engine.el (c-back-over-member-initializers):
10228 new function.
3d1c39fa
AM
10229 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10230 (most) member init lists.
10231
5147fc17
RS
102322013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10233
10234 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10235 variable.
10236
5b78d7fc
LL
102372013-04-30 Leo Liu <sdl.web@gmail.com>
10238
10239 * progmodes/octave.el (octave-variables): Remove. No builtin
10240 variables any more. All converted to functions.
10241 (octave-font-lock-keywords, octave-completion-at-point-function):
10242 Fix uses.
10243 (octave-font-lock-texinfo-comment): New user variable.
10244 (octave-texinfo-font-lock-keywords): New variable for texinfo
10245 comment block.
10246 (octave-function-comment-block): New face.
10247 (octave-font-lock-texinfo-comment): New function.
10248 (octave-mode): Font lock texinfo comment block.
10249
38d8527b
LL
102502013-04-29 Leo Liu <sdl.web@gmail.com>
10251
10252 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10253 indexing expression.
10254 (octave-continuation-string): Do not use \.
10255 (inferior-octave-complete-impossible): Remove.
10256 (inferior-octave-completion-table)
10257 (inferior-octave-completion-at-point): Remove its uses.
10258 (inferior-octave-startup): completion_matches was introduced to
10259 Octave in 1996 so safe to assume it.
10260 (octave-function-file-comment): Improve to follow how Octave does it.
10261 (octave-update-function-file-comment): Tweak.
10262
2ec12cb0
LL
102632013-04-29 Leo Liu <sdl.web@gmail.com>
10264
10265 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10266 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10267 (octave-function-file-comment): Fix typo.
10268 (octave-sync-function-file-names): Use read-char-choice.
10269
6eaed048
JB
102702013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10271
10272 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10273 to t for the less important warnings.
10274
3ffa2d4f
DH
102752013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10276
10277 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10278
685c9501
GM
102792013-04-27 Glenn Morris <rgm@gnu.org>
10280
10281 * vc/log-view.el (log-view-current-entry):
10282 Treat "---" separator lines as part of the following rev. (Bug#14169)
10283
0208ede7
JL
102842013-04-27 Juri Linkov <juri@jurta.org>
10285
10286 * subr.el (read-number): Doc fix about using it by interactive
10287 code letter `n'. (Bug#14254)
10288
5db9dace
JL
102892013-04-27 Juri Linkov <juri@jurta.org>
10290
10291 * desktop.el (desktop-auto-save-timeout): New option.
10292 (desktop-file-checksum): New variable.
10293 (desktop-save): Add optional arg `auto-save' and don't auto-save
10294 if nothing changed.
10295 (desktop-auto-save-timer): New variable.
10296 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10297 (after-init-hook): Call `desktop-auto-save-set-timer'.
10298 Suggested by Reuben Thomas <rrt@sc3d.org> in
10299 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10300
b7260dd4
LL
103012013-04-27 Leo Liu <sdl.web@gmail.com>
10302
10303 * progmodes/octave.el (octave-function-file-p)
10304 (octave-skip-comment-forward, octave-function-file-comment)
10305 (octave-update-function-file-comment): New functions.
10306 (octave-mode-map): Bind C-c ; to
10307 octave-update-function-file-comment.
10308 (octave-mode-menu): Add octave-update-function-file-comment.
10309 (octave-mode, inferior-octave-mode): Fix doc-string.
10310 (octave-insert-defun): Conform to Octave's coding convention.
10311 (Bug#14285)
10312
10313 * files.el (basic-save-buffer): Don't let errors in
10314 before-save-hook prevent saving buffer.
10315
c46da669
RW
103162013-04-20 Roland Winkler <winkler@gnu.org>
10317
10318 * faces.el (read-face-name): Use completing-read if arg multiple
10319 is nil.
10320
a81ee1eb
IL
103212013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10322
10323 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10324 displayed, move point to after the totals line.
10325 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10326 for the details.
10327
4fac34ce
SM
103282013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10329
10330 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10331 Add current dir to the load-path.
10332 (package-generate-autoloads): Don't rely on
10333 autoload-ensure-default-file.
10334
f6bfc063
RT
103352013-04-26 Reuben Thomas <rrt@sc3d.org>
10336
d40ab5cf
BG
10337 * textmodes/remember.el (remember-store-in-files): Document that
10338 the file name format is passed to `format-time-string'.
f6bfc063 10339
e55d3b04
LL
103402013-04-26 Leo Liu <sdl.web@gmail.com>
10341
10342 * progmodes/octave.el (octave-sync-function-file-names): New function.
10343 (octave-mode): Use it in before-save-hook.
10344
e53052d3
SM
103452013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10346
140ef50c
SM
10347 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10348 (bug#14274).
10349
e53052d3
SM
10350 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10351 \n and comment, even if it's not an implicit ; (bug#14218).
10352
af80458d 103532013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10354
10355 * subr.el (read-number): Once more use `read' rather than
10356 `string-to-number', to trap non-numeric input. (Bug#14254)
10357
af80458d 103582013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10359
10360 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10361 Use `syntax-multiline' text property consistently instead of
8a621d53 10362 `font-lock-multiline'. (Bug#14237)
70203c2e 10363
e6ea1f6c
GM
103642013-04-26 Glenn Morris <rgm@gnu.org>
10365
10366 * emacs-lisp/shadow.el (list-load-path-shadows):
10367 No longer necessary to check for duplicate simple.el, since
10368 2012-07-07 change to init_lread to not include installation lisp
10369 directories in load-path when running uninstalled. (Bug#14270)
10370
070ccca4
LL
103712013-04-26 Leo Liu <sdl.web@gmail.com>
10372
10373 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10374 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10375 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10376 octave-in-string-or-comment-p.
10377 (octave-in-comment-p, octave-in-string-p)
10378 (octave-in-string-or-comment-p): Replace defsubst with defun.
10379
9d1c5fb6
PE
103802013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10381
10382 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10383
c034abda
BG
103842013-04-25 Bastien Guerry <bzg@gnu.org>
10385
10386 * textmodes/remember.el (remember-data-directory)
10387 (remember-directory-file-name-format): Fix custom types.
10388
584ea277
LL
103892013-04-25 Leo Liu <sdl.web@gmail.com>
10390
e53052d3
SM
10391 * progmodes/octave.el (octave-completion-at-point-function):
10392 Make use of inferior octave process.
584ea277
LL
10393 (octave-initialize-completions): Remove.
10394 (inferior-octave-completion-table): New function.
10395 (inferior-octave-completion-at-point): Use it.
10396 (octave-completion-alist): Remove.
10397
1693b06a
SM
103982013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10401 (opascal-mode-syntax-table): New var.
10402 (opascal-literal-kind, opascal-is-literal-end)
10403 (opascal-literal-token-at): Rewrite.
10404 (opascal--literal-start-re, opascal-font-lock-keywords)
10405 (opascal--syntax-propertize): New constants.
10406 (opascal-font-lock-defaults): Adjust.
10407 (opascal-mode): Use them. Set comment-<foo> variables as well.
10408 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10409 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10410 (delphi-other-face, opascal-other-face): Remove face variables.
10411 (opascal-save-state): Remove macro.
10412 (opascal-fontifying-progress-step): Remove constant.
10413 (opascal--ignore-changes): Remove var.
10414 (opascal-set-token-property, opascal-parse-next-literal)
10415 (opascal-is-stable-literal, opascal-complete-literal)
10416 (opascal-is-literal-start, opascal-face-of)
10417 (opascal-parse-region, opascal-parse-region-until-stable)
10418 (opascal-fontify-region, opascal-after-change)
10419 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10420 (opascal-debug-parse-region, opascal-debug-parse-window)
10421 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10422 (opascal-debug-fontify-buffer): Remove.
10423 (opascal-debug-mode-map): Adjust accordingly.
10424
be64c05d
LL
104252013-04-25 Leo Liu <sdl.web@gmail.com>
10426
10427 Merge octave-mod.el and octave-inf.el into octave.el with some
10428 cleanups.
10429 * progmodes/octave.el: New file renamed from octave-mod.el.
10430 * progmodes/octave-inf.el: Merged into octave.el.
10431 * progmodes/octave-mod.el: Renamed to octave.el.
10432
d79d37bd
TH
104332013-04-25 Tassilo Horn <tsdh@gnu.org>
10434
10435 * textmodes/reftex-vars.el
10436 (reftex-label-ignored-macros-and-environments): New defcustom.
10437
10438 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10439
ced3fc5d
SM
104402013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10443 (smie-indent-keyword): Improve the check to ensure that the next
10444 comment is really on the same line.
10445 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10446
10447 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10448 semi-colons if the line is not otherwise empty (bug#14218).
10449
1c141dad
GM
104502013-04-25 Glenn Morris <rgm@gnu.org>
10451
10452 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10453
5058062a
SM
104542013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 * progmodes/opascal.el (opascal-set-token-property): Rename from
10457 opascal-set-text-properties and only set `token' (bug#14134).
10458 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10459 (opascal-literal-text-properties): Remove.
10460 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10461 Adjust callers.
10462
5db9dace 104632013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10464
10465 * textmodes/remember.el (remember-handler-functions): Add an
10466 option for a new handler `remember-store-in-files'.
10467 (remember-data-directory, remember-directory-file-name-format):
10468 New options.
10469 (remember-store-in-files): New function to store remember notes
10470 as separate files within a directory.
10471
4391916c
MH
104722013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10473
10474 * progmodes/compile.el (compilation-next-error-function):
10475 Pass "formats" to compilation-find-file (bug#11777).
10476
bb7cdf58
GM
104772013-04-24 Glenn Morris <rgm@gnu.org>
10478
3b8fe752 10479 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10480 * vc/vc-hg.el (vc-hg-print-log):
10481 * vc/vc-svn.el (vc-svn-print-log):
10482 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10483
bb7cdf58
GM
10484 * vc/vc-bzr.el (vc-bzr-print-log):
10485 * vc/vc-cvs.el (vc-cvs-print-log):
10486 * vc/vc-git.el (vc-git-print-log):
10487 * vc/vc-hg.el (vc-hg-print-log):
10488 * vc/vc-mtn.el (vc-mtn-print-log):
10489 * vc/vc-rcs.el (vc-rcs-print-log):
10490 * vc/vc-sccs.el (vc-sccs-print-log):
10491 * vc/vc-svn.el (vc-svn-print-log):
10492 * vc/vc.el (vc-print-log-internal): Doc fixes.
10493
b46a056e
GM
104942013-04-23 Glenn Morris <rgm@gnu.org>
10495
10496 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10497 Remove venerable code attempting to avoid substitute-command-keys.
10498
0aecf718
TH
104992013-04-23 Tassilo Horn <tsdh@gnu.org>
10500
4391916c
MH
10501 * textmodes/reftex-vars.el (reftex-label-regexps):
10502 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10503
117f94cf
SM
105042013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10505
4391916c 10506 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10507 Use lexical-binding.
10508 (jit-lock-force-redisplay): Use markers, check buffer's continued
10509 existence and beware narrowed buffers.
10510 (jit-lock-fontify-now): Adjust call accordingly.
10511
1d829c64
SM
105122013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10515 to avoid misleading the user.
10516
72d548a9
LL
105172013-04-22 Leo Liu <sdl.web@gmail.com>
10518
10519 * info-look.el: Prefer latex2e.info. (Bug#14240)
10520
d0853629
MA
105212013-04-22 Michael Albinus <michael.albinus@gmx.de>
10522
10523 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10524
10525 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10526 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10527 (tramp-set-completion-function, tramp-parse-putty):
10528 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10529 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10530 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10531 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10532 (tramp-call-local-coding-command): Use `tramp-call-process'
10533 instead of `tramp-compat-call-process'.
10534
10535 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10536 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10537 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10538 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10539 (tramp-maybe-send-script): Check for Perl binary.
10540 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10541
38cc0210
DU
105422013-04-22 Daiki Ueno <ueno@gnu.org>
10543
10544 * epg.el (epg-context-pinentry-mode): New function.
10545 (epg-context-set-pinentry-mode): New function.
10546 (epg--start): Pass --pinentry-mode option to gpg command.
10547
cc641ee1
XF
105482013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10549
02d844b5 10550 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10551 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10552 `completion-at-point'. (Bug#13774)
5d4e5c31 10553
cc641ee1
XF
10554 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10555 default key binding for `describe-distribution' has been moved to
10556 `C-h C-o'. (Bug#13970)
10557
1b42ee43
GM
105582013-04-21 Glenn Morris <rgm@gnu.org>
10559
10560 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10561 Add doc strings.
10562 (vc-print-log): Clarify interactive prompt.
10563
a6d63d97
GM
105642013-04-20 Glenn Morris <rgm@gnu.org>
10565
10566 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10567 No longer include timestamp etc information.
10568
d7f5c16f
RW
105692013-04-20 Roland Winkler <winkler@gnu.org>
10570
10571 * faces.el (read-face-name): Bug fix, return just one face if arg
10572 multiple is nil. (Bug#14209)
10573
bcd7a0a4
SM
105742013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10575
10576 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10577 (remove-function): Autoload.
10578
10579 * comint.el (comint-redirect-original-filter-function): Remove.
10580 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10581 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10582 (vc-cvs-annotate-command):
bcd7a0a4
SM
10583 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10584 * progmodes/prolog.el (prolog-consult-compile):
10585 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10586 Use add/remove-function instead.
10587 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10588 (gud-tooltip-process-output, gud-tooltip-tips):
10589 Use add/remove-function instead.
10590 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10591 (scheme-interaction-mode, exit-scheme-interaction-mode):
10592 Use add/remove-function instead.
10593
10594 * vc/vc-dispatcher.el: Use lexical-binding.
10595 (vc--process-sentinel): Rename from vc-process-sentinel.
10596 Change last arg to be the code to run. Don't use vc-previous-sentinel
10597 and vc-sentinel-commands any more.
10598 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10599 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10600
e36b2d20 106012013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10602
bcd7a0a4 10603 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10604 Handle function names with a single character. (Bug#14111)
4d3268ba 10605
781b4af6 106062013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10607
10608 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10609 for subroutines defined in an eval (bug#14182).
10610
7d688336
TV
106112013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10612
10613 * bookmark.el (bookmark-completing-read): Improve handling of empty
10614 string (bug#14176).
10615
31dcede0
SM
106162013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10617
10618 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10619
adc31213
FEG
106202013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10621
10622 New faster Imenu implementation (bug#14058).
10623 * progmodes/python.el:
10624 (python-imenu-prev-index-position):
10625 (python-imenu-format-item-label-function)
10626 (python-imenu-format-parent-item-label-function)
10627 (python-imenu-format-parent-item-jump-label-function):
10628 New vars.
10629 (python-imenu-format-item-label)
10630 (python-imenu-format-parent-item-label)
10631 (python-imenu-format-parent-item-jump-label)
10632 (python-imenu--put-parent, python-imenu--build-tree)
10633 (python-imenu-create-index, python-imenu-create-flat-index)
10634 (python-util-popn): New functions.
10635 (python-mode): Set imenu-create-index-function to
10636 python-imenu-create-index.
10637
cdca8255
SM
106382013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10639
10640 * winner.el (winner-active-region): Use region-active-p, activate-mark
10641 and deactivate-mark (bug#14225).
10642
10643 * simple.el (deactivate-mark): Don't inline it.
10644
beb42340
MA
106452013-04-18 Michael Albinus <michael.albinus@gmx.de>
10646
10647 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10648
fc7f4d7e
TH
106492013-04-18 Tassilo Horn <tsdh@gnu.org>
10650
10651 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10652 file extensions from the archive-mode entry in order to prefer
10653 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10654
29f47822
LL
106552013-04-18 Leo Liu <sdl.web@gmail.com>
10656
10657 * bindings.el (help-event-list): Add ?\?.
10658
d36ed1c8
SM
106592013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * subr.el (with-wrapper-hook): Declare obsolete.
10662 * simple.el (filter-buffer-substring-function): New hook.
10663 (filter-buffer-substring): Use it.
10664 (filter-buffer-substring-functions): Mark obsolete.
10665 * minibuffer.el (completion-in-region-function): New hook.
10666 (completion-in-region): Use it.
10667 (completion-in-region-functions): Mark obsolete.
10668 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10669 * abbrev.el (abbrev-expand-function): New hook.
10670 (expand-abbrev): Use it.
10671 (abbrev-expand-functions): Mark obsolete.
10672 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10673 and :filter-return.
10674
04754d36
FEG
106752013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10676
10677 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10678 and do not care about match data.
10679
dd8791e9
SM
106802013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10681
10682 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10683 completion tables when completing error conditions and
10684 `declare' arguments.
10685 (lisp-complete-symbol, field-complete): Mark as obsolete.
10686 (check-parens): Unmatched parens are user errors.
10687 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10688
ffe54a13
AM
106892013-04-17 Michal Nazarewicz <mina86@mina86.com>
10690
dd8791e9
SM
10691 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10692 command changed buffer (ie. `flyspell-pre-buffer' is not current
10693 buffer), which prevents making decisions based on invalid value of
10694 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10695 cause an error when `flyspell-pre-point' was nil after switching
10696 buffers.
10697 (flyspell-post-command-hook): No longer needs to change buffers when
10698 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10699
ec7e39f2
AM
107002013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10701
10702 * textmodes/ispell.el (ispell-add-per-file-word-list):
10703 Fix `flyspell-correct-word-before-point' error when accepting
10704 words and `coment-padding' is an integer by using
10705 `comment-normalize-vars' (Bug #14214).
10706
083850a6
FEG
107072013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10708
10709 New defun movement commands.
10710 * progmodes/python.el (python-nav--syntactically)
10711 (python-nav--forward-defun, python-nav-backward-defun)
10712 (python-nav-forward-defun): New functions.
10713
619ed6e1
FEG
107142013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10715
10716 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10717 (python-syntax-context): Use named compiler-macro for backwards
10718 compatibility with Emacs 24.x.
10719
7a1beb6c
LL
107202013-04-17 Leo Liu <sdl.web@gmail.com>
10721
10722 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10723 octave-hide-process-buffer.
10724
2d3fa3e5
SM
107252013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10726
10727 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10728 (bug#14216).
10729
7ce5be54
JPG
107302013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10731
10732 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10733 Fix adjustment of offset when receiving incomplete responses from GDB
10734 (bug#14129).
10735
351edece
SM
107362013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10737
10738 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10739 python-mode-abbrev-table.
10740 (python-skeleton-define): Adjust accordingly.
10741 (python-mode-abbrev-table): New table that inherits from it so that
10742 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10743
10744 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10745 (abbrev-symbol): Use it.
10746 (abbrev--before-point): Use it since we already handle inheritance.
10747
613f9481
LL
107482013-04-16 Leo Liu <sdl.web@gmail.com>
10749
10750 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10751 binding to info-lookup-symbol.
10752
51646b62
JB
107532013-04-16 Juanma Barranquero <lekktu@gmail.com>
10754
10755 * minibuffer.el (completion--twq-all):
10756 * term/ns-win.el (ns-initialize-window-system):
10757 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10758
efb3f01d
SM
107592013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10760
36c0a301
SM
10761 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10762 global bindings.
10763
efb3f01d
SM
10764 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10765
fb549d64
DG
107662013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10767
10768 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10769 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10770 to nil.
10771 (ruby-end-of-defun): Remove the unused arg, change the docstring
10772 to reflect that this function is only used as the value of
10773 `end-of-defun-function'.
10774 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10775 to reflect an earlier change that beginning/end-of-defun functions
10776 jump between methods in a class definition, as well as top-level
10777 functions.
10778
21e8fe2f
SM
107792013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10780
10781 * minibuffer.el (minibuffer-complete): Don't just scroll
10782 a *Completions* that's been iconified.
10783 (minibuffer-force-complete): Make sure repetitions do cycle when going
10784 through completion-in-region -> minibuffer-complete.
10785
20e527d0
AM
107862013-04-15 Alan Mackenzie <acm@muc.de>
10787
10788 Correct the placement of c-cpp-delimiters when there're #s not at
10789 col 0.
10790
10791 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10792 place a submatch around the #.
21e8fe2f
SM
10793 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10794 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10795 on the #, not BOL.
10796
dabefae5
SM
107972013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10798
10799 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10800 (advice--member-p): New arg `name'.
10801 (advice--add-function, advice-member-p): Use it (bug#14202).
10802
85c9ab64
AM
108032013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10804
10805 Reformulate java imenu-generic-expression.
10806 The old expression contained ill formed regexps.
10807
10808 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10809 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10810 (cc-imenu-java-method-arg-regexp): New defconsts.
10811 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10812 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10813 handling of spaces in the regexp.
10814
0f821d99
AM
108152013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10816
10817 * textmodes/ispell.el (ispell-command-loop): Remove
10818 flyspell highlight of a word when ispell accepts it (bug #14178).
10819
eb922adf
MA
108202013-04-15 Michael Albinus <michael.albinus@gmx.de>
10821
10822 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10823 uses code from the previous `ange-ftp-run-real-handler'.
10824 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10825 only in case that function exist. This is needed for proper
10826 unloading of Tramp.
10827
4d9a0979
TH
108282013-04-15 Tassilo Horn <tsdh@gnu.org>
10829
10830 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10831
10832 * textmodes/reftex.el (reftex-compile-variables): Use it.
10833
a829b0dc
SM
108342013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10835
91e8293c
SM
10836 * files.el (normal-mode): Only use default major-mode if no other mode
10837 was specified.
10838
830aed4d
SM
10839 * emacs-lisp/trace.el (trace-values): New function.
10840
a829b0dc
SM
10841 * files.el: Allow : in local variables (bug#14089).
10842 (hack-local-variable-regexp): New var.
10843 (hack-local-variables-prop-line, hack-local-variables): Use it.
10844
7ae9f0fb
RW
108452013-04-13 Roland Winkler <winkler@gnu.org>
10846
10847 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10848 data before it gets modified by bibtex-beginning-of-entry.
10849
6646e848
RW
108502013-04-13 Roland Winkler <winkler@gnu.org>
10851
10852 * textmodes/bibtex.el (bibtex-url): Doc fix.
10853
108542013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10855
10856 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10857 does not visit a BibTeX file, exclude it from the list of buffers
10858 returned by bibtex-initialize.
10859
0aa3616e
SB
108602013-04-13 Stephen Berman <stephen.berman@gmx.net>
10861
10862 * window.el (split-window): Remove interactive form, since as a
10863 command this function is a special case of split-window-below.
10864 Correct doc string.
10865
011cddd6
RW
108662013-04-12 Roland Winkler <winkler@gnu.org>
10867
10868 * faces.el (read-face-name): Do not override value of arg default.
10869 Allow single faces and strings as default values. Remove those
10870 elements from return value that are not faces.
10871 (describe-face): Simplify.
10872 (face-at-point): New optional args thing and multiple so that this
10873 function can provide the same functionality previously provided by
10874 read-face-name.
10875 (make-face-bold, make-face-unbold, make-face-italic)
10876 (make-face-unitalic, make-face-bold-italic, invert-face)
10877 (modify-face, read-face-and-attribute): Use face-at-point.
10878
10879 * cus-edit.el (customize-face, customize-face-other-window)
10880 * cus-theme.el (custom-theme-add-face)
10881 * face-remap.el (buffer-face-set)
10882 * facemenu.el (facemenu-set-face): Use face-at-point.
10883
f24e0036
MA
108842013-04-12 Michael Albinus <michael.albinus@gmx.de>
10885
10886 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10887
da3cda2d
TH
108882013-04-10 Tassilo Horn <tsdh@gnu.org>
10889
10890 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10891 off leading { and trailing } from field values.
10892
15e54145
SM
108932013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10894
78ce603d
SM
10895 * emacs-lisp/timer.el (timer--check): New function.
10896 (timer--time, timer-set-function, timer-event-handler): Use it.
10897 (timer-set-idle-time): Simplify.
10898 (timer--activate): CSE.
10899 (timer-event-handler): Give more info in error message.
10900 (internal-timer-start-idle): New function, moved from C.
10901
15e54145
SM
10902 * mpc.el (mpc-proc): Add `restart' argument.
10903 (mpc-proc-cmd): Use it.
10904 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10905 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10906 less often.
10907
7144c627
MY
109082013-04-10 Masatake YAMATO <yamato@redhat.com>
10909
10910 * progmodes/sh-script.el: Implement `sh-mode' own
10911 `add-log-current-defun-function' (bug#14112).
10912 (sh-current-defun-name): New function.
10913 (sh-mode): Use the function.
10914
b39792eb
BG
109152013-04-09 Bastien Guerry <bzg@gnu.org>
10916
10917 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10918
8acdeb71
SM
109192013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10920
6fcdab68
SM
10921 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10922
8acdeb71
SM
10923 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10924 timer (bug#14156).
10925
e3e7b504
NF
109262013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10927
10928 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10929 declaration.
10930
201bb296
LL
109312013-04-07 Leo Liu <sdl.web@gmail.com>
10932
10933 * pcmpl-x.el: New file.
10934
ebb19708
DA
109352013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10936
10937 Do not set x-display-name until X connection is established.
10938 This is needed to prevent from weird situation described at
10939 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10940 * frame.el (make-frame): Set x-display-name after call to
10941 window system initialization function, not before.
10942 * term/x-win.el (x-initialize-window-system): Add optional
10943 display argument and use it.
10944 * term/w32-win.el (w32-initialize-window-system):
10945 * term/ns-win.el (ns-initialize-window-system):
10946 * term/pc-win.el (msdos-initialize-window-system):
10947 Add compatible optional display argument.
10948
33bb237a
EZ
109492013-04-06 Eli Zaretskii <eliz@gnu.org>
10950
10951 * files.el (normal-backup-enable-predicate): On MS-Windows and
10952 MS-DOS compare truenames of temporary-file-directory and of the
10953 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10954 don't fail comparison by compare-strings. Also, compare file
10955 names case-insensitively on MS-Windows and MS-DOS.
10956
134abf1f
SM
109572013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10958
10959 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10960 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10961
d695cb94
DG
109622013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10963
e3e7b504
NF
10964 * whitespace.el (whitespace-color-on, whitespace-color-off):
10965 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10966
f4ad7ea1 109672013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10968
10969 * ispell.el (ispell-set-spellchecker-params):
10970 Really set `ispell-args' for all equivs.
10971
632556e4
SM
109722013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10973
10974 * ido.el (ido-completions): Use extra elements of ido-decorations
10975 (bug#14143).
10976 (ido-decorations): Update docstring.
10977
2a417372
MA
109782013-04-05 Michael Albinus <michael.albinus@gmx.de>
10979
10980 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10981 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10982 nil during initialization, in order not to miss changes since the
10983 file was opened. (Bug#14140)
10984
fc164b0c
LL
109852013-04-05 Leo Liu <sdl.web@gmail.com>
10986
10987 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10988
0ccecc08
JB
109892013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10990
10991 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10992
51af1aa2
GM
109932013-04-04 Glenn Morris <rgm@gnu.org>
10994
10995 * electric.el (electric-pair-inhibit-predicate): Add :version.
10996
b208ebc6
SM
109972013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10998
10999 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11000 when a package is required several times (bug#14082).
11001
f3d3eaf0
RW
110022013-04-04 Roland Winkler <winkler@gnu.org>
11003
11004 * faces.el (read-face-name): Behave as promised by the docstring.
11005 Assume that arg default is a list of faces.
11006 (describe-face): Call read-face-name with list of default faces.
11007
2575da50
TV
110082013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11009
11010 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11011 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11012 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11013 the header.
11014 (bookmark-exit-hook-internal): Save even if list is empty.
11015
397703b4
YH
110162013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11017
11018 * emacs-lisp/package.el (package-pinned-packages): New var.
11019 (package--add-to-archive-contents): Obey it (bug#14118).
11020
691e26ae
AM
110212013-04-03 Alan Mackenzie <acm@muc.de>
11022
8a621d53
JB
11023 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11024 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11025
11026 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11027 parameter `not-in-delimiter'. Handle being inside comment opener.
11028 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11029 character in case we're typing a '*' after a '/'.
11030 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11031 instead by passing the parameter to c-state-pp-to-literal.
11032
11033 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11034 for elt. 7 of a parse state.
11035
4b725a70
PE
110362013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11037
11038 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11039 * international/latin1-disp.el, international/mule-util.el:
11040 * language/cyril-util.el, language/european.el, language/ind-util.el:
11041 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11042 * language/tibetan.el, language/viet-util.el:
11043 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11044
15c579f0
SM
110452013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11046
11047 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11048 (electric-pair-post-self-insert-function): Use it.
11049 (electric-pair-default-inhibit): New function, extracted from
11050 electric-pair-post-self-insert-function.
11051
a77e2924
RW
110522013-03-31 Roland Winkler <winkler@gnu.org>
11053
11054 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11055
2bd8a4a8
SM
110562013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11057
11058 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11059
8d3655be 110602013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11061
11062 Un-indent after "pass" and "return" statements (Bug#13888)
11063 * progmodes/python.el (python-indent-block-enders): New var.
11064 (python-indent-calculate-indentation): Use it.
11065
8d3655be 110662013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11067
11068 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11069 defun. Defining it as defalias could introduce too eager
11070 byte-compiler optimization. (Bug#14030)
11071
8d3655be 110722013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11073
11074 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11075
0b1619da
LL
110762013-03-30 Leo Liu <sdl.web@gmail.com>
11077
11078 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11079 (kmacro-execute-from-register): Pass the keyboard macro to
11080 kmacro-call-macro or repeating won't work correctly.
11081
0b938190
TZ
110822013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11083
11084 * progmodes/subword.el: Back to using `forward-symbol'.
11085
11086 * subr.el (forward-whitespace, forward-symbol)
11087 (forward-same-syntax): Move from thingatpt.el.
11088
35710234
LL
110892013-03-29 Leo Liu <sdl.web@gmail.com>
11090
11091 * kmacro.el (kmacro-to-register): New command.
11092 (kmacro-execute-from-register): New function.
11093 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11094
efc0bb73
SM
110952013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * mpc.el: Use defvar-local and setq-local.
11098 (mpc--proc-connect): Connection failures are not bugs.
11099 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11100 (mpc-volume-map): Bind to the up-events.
11101
75a2f981
TZ
111022013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11103
11104 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11105 instead of `forward-symbol'.
11106
17c781d1
SM
111072013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11108
11109 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11110 (edebug--recursive-edit): Use it.
11111 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11112 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11113
f67bfbcf
LL
111142013-03-28 Leo Liu <sdl.web@gmail.com>
11115
11116 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11117
b59f639d
EZ
111182013-03-27 Eli Zaretskii <eliz@gnu.org>
11119
11120 * facemenu.el (list-colors-callback): New defvar.
11121 (list-colors-redisplay): New function.
11122 (list-colors-display): Install list-colors-redisplay as the
11123 revert-buffer-function. (Bug#14063)
11124
f557c1b1
SM
111252013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11126
b1da2957
SM
11127 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11128 and suffixes don't overlap (bug#14061).
11129
f557c1b1
SM
11130 * case-table.el: Use lexical-binding.
11131 (case-table-get-table): New function.
11132 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11133
002668e1
TZ
111342013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11135
11136 * progmodes/subword.el: Add `superword-mode' to do word motion
11137 over symbol_words (parallels and leverages `subword-mode' which
11138 does word motion inside MixedCaseWords).
11139
73572c72
AG
111402013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11141
78b8f320 11142 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11143 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11144
69b2c07e
SM
111452013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11146
11147 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11148 Change return value to be a sexp. Delay `get-buffer' to after
11149 restoring the desktop (bug#13951).
11150
08bb5ee2
LL
111512013-03-26 Leo Liu <sdl.web@gmail.com>
11152
11153 * register.el: Move semantic tag handling back to
11154 cedet/semantic/senator.el. (Bug#14052)
11155
8d4c974e
SM
111562013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11157
11158 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11159 into the prompt either (bug#13963).
11160
b234d92c
SM
111612013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11164 part of "(error-foo)".
11165
ddfa3cb4
JL
111662013-03-24 Juri Linkov <juri@jurta.org>
11167
11168 * replace.el (list-matching-lines-prefix-face): New defcustom.
11169 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11170 `occur-engine' if `face-differs-from-default-p' returns t.
11171 (occur-engine): Add `,' inside backquote construct to evaluate
11172 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11173 Pass `prefix-face' to the functions `occur-context-lines' and
11174 `occur-engine-add-prefix'.
11175 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11176 `prefix-face' and propertize the prefix with `prefix-face'.
11177 (Bug#14017)
11178
7b0e2f85
LL
111792013-03-24 Leo Liu <sdl.web@gmail.com>
11180
11181 * nxml/rng-valid.el (rng-validate-while-idle)
11182 (rng-validate-quick-while-idle): Guard against deleted buffer.
11183 (Bug#13999)
11184
11185 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11186 is the last entry in kill-buffer-hook.
11187
11188 * files.el (kill-buffer-hook): Doc fix.
11189
b3082f49
DG
111902013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11191
b234d92c
SM
11192 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11193 Make it safe-local.
bde73d27 11194
b3082f49
DG
11195 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11196
a320a2db
LL
111972013-03-23 Leo Liu <sdl.web@gmail.com>
11198
7e74b0fb
LL
11199 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11200 Remove.
11201
11202 * nxml/rng-valid.el (rng-validate-mode)
11203 (rng-after-change-function, rng-do-some-validation):
11204 * nxml/rng-maint.el (rng-validate-buffer):
11205 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11206 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11207 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11208 (nxml-extend-after-change-region): Use with-silent-modifications.
11209
a320a2db
LL
11210 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11211 timer-idle-list.
11212
11213 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11214 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11215 timer-idle-list. (Bug#13999)
11216
e38e6780
JL
112172013-03-23 Juri Linkov <juri@jurta.org>
11218
11219 * info.el (info-index-match): New face.
11220 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11221 main pattern and add text properties with the new face to matches
11222 in index entries relative to the beginning of the index entry.
11223 (Bug#14015)
11224
e8cc7880
DE
112252013-03-21 Eric Ludlam <zappo@gnu.org>
11226
11227 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11228 Inhibit read only while inserting objects.
11229
9bb0d822
TZ
112302013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11231
11232 * progmodes/cfengine.el: Update docs to mention
11233 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11234 symbol motion. Remove "_" from the word syntax.
11235
aa703640
TZ
112362013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11237
11238 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11239 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11240
afff09d0
JL
112412013-03-20 Juri Linkov <juri@jurta.org>
11242
11243 * info.el (Info-next-reference-or-link)
11244 (Info-prev-reference-or-link): New functions.
11245 (Info-next-reference, Info-prev-reference): Use them.
11246 (Info-try-follow-nearest-node): Handle footnote navigation.
11247 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11248
9a1ff164
SM
112492013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11252 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11253
2667d15d
PE
112542013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11255
11256 Suppress unnecessary non-ASCII chatter during build process.
11257 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11258 (batch-skkdic-convert): Suppress most of the chatter.
11259 It's not needed so much now that machines are faster,
11260 and its non-ASCII component was confusing; see Dmitry Gutov in
11261 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11262
438b0579
LL
112632013-03-20 Leo Liu <sdl.web@gmail.com>
11264
11265 * ido.el (ido-chop): Fix bug#10994.
11266
c128ab07
DG
112672013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11268
11269 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11270 Remove vars.
9a1ff164
SM
11271 (whitespace-color-on, whitespace-color-off):
11272 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11273
0e6008c5
SM
112742013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11275
11276 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11277 remapping in mode-line.
11278 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11279
627b52b0
DG
112802013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11281
11282 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11283 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11284 (whitespace-font-lock-keywords): Change description.
11285 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11286 the constructed keywords instead.
11287 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11288
50c3a20b
LL
112892013-03-19 Leo Liu <sdl.web@gmail.com>
11290
11291 * progmodes/compile.el (compilation-display-error): New command.
11292 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11293 C-o. (Bug#13992)
11294
2aa2157b
PE
112952013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11296
11297 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11298
e477dbfa
JD
112992013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11300
11301 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11302
64ab82d1
MA
113032013-03-18 Michael Albinus <michael.albinus@gmx.de>
11304
11305 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11306
11307 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11308 * net/tramp-gvfs.el (top):
11309 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11310 (tramp-handle-shell-command): Use it.
11311 (tramp-dissect-file-name): Raise an error when hostname is a
11312 method name, and neither method nor user is specified.
11313
11314 * net/trampver.el: Update release number.
11315
33cef733
LL
113162013-03-18 Leo Liu <sdl.web@gmail.com>
11317
11318 Make sure eldoc can be turned off properly.
11319 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11320 eldoc-mode.
11321 (eldoc-display-message-p): Revert last change.
11322 (eldoc-display-message-no-interference-p)
11323 (eldoc-print-current-symbol-info): Tweak.
11324
2167b7b2
TH
113252013-03-18 Tassilo Horn <tsdh@gnu.org>
11326
11327 * doc-view.el (doc-view-new-window-function): Check the new window
11328 overlay's display property instead the char property of the
11329 buffer's first char. Use `with-selected-window' instead of
11330 `save-window-excursion' with `select-window'.
11331 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11332 display property instead the char property of the buffer's first char.
2167b7b2 11333
982efbcd
PE
113342013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11335
11336 Automate the build of ja-dic.el (Bug#13984).
11337 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11338 from the input, rather than assume that it's been done for us by the
11339 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11340 the current date into a ja-dic.el comment, as that complicates
11341 regression testing.
11342
2fcc7665
SM
113432013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11344
11345 * whitespace.el: Fix double evaluation.
11346 (whitespace-space, whitespace-hspace, whitespace-tab)
11347 (whitespace-newline, whitespace-trailing, whitespace-line)
11348 (whitespace-space-before-tab, whitespace-indentation)
11349 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11350 obsolete defvars.
11351 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11352 (whitespace-color-on): Use a single font-lock-add-keywords call.
11353 Fix double-evaluation of face variables.
11354
67c0a6e6
MA
113552013-03-17 Michael Albinus <michael.albinus@gmx.de>
11356
2fcc7665
SM
11357 * net/tramp-adb.el (tramp-adb-parse-device-names):
11358 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11359 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11360
69489f1d
LL
113612013-03-17 Leo Liu <sdl.web@gmail.com>
11362
11363 Extend eldoc to display info in the mode-line. (Bug#13978)
11364 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11365 (eldoc-mode-line-string): New variable.
11366 (eldoc-minibuffer-message): New function.
11367 (eldoc-message-function): New variable.
11368 (eldoc-message): Use it.
11369 (eldoc-display-message-p)
2fcc7665
SM
11370 (eldoc-display-message-no-interference-p):
11371 Support eldoc-post-insert-mode.
69489f1d
LL
11372
11373 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11374 (eval-expression): Run it.
11375
9c44569e
RW
113762013-03-17 Roland Winkler <winkler@gnu.org>
11377
11378 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11379 strings in the list of return values.
11380
327f1f6f
JB
113812013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11382
11383 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11384 radix before checking for HMS forms.
11385
67ed8fcd
LL
113862013-03-16 Leo Liu <sdl.web@gmail.com>
11387
11388 * progmodes/scheme.el: Add indentation and font-locking for λ.
11389 (Bug#13975)
11390
78be8b64 113912013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11392
11393 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11394 token before point (bug#13942).
11395
78be8b64 113962013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11397
95b43468 11398 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11399
98e775e6
EZ
114002013-03-16 Eli Zaretskii <eliz@gnu.org>
11401
11402 * startup.el (command-line-normalize-file-name): Fix handling of
11403 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11404 <xfq.free@gmail.com> in
11405 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11406
2edd6029
MA
114072013-03-15 Michael Albinus <michael.albinus@gmx.de>
11408
11409 Sync with Tramp 2.2.7.
11410
11411 * net/trampver.el: Update release number.
11412
d35f5864
TH
114132013-03-14 Tassilo Horn <tsdh@gnu.org>
11414
e903c210 11415 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11416 (doc-view-insert-image): Don't modify overlay associated to
11417 non-live windows, and implement horizontal centering of image in
11418 case it's smaller than the window.
11419 (doc-view-new-window-function): Force redisplay of new windows on
11420 doc-view buffers.
d35f5864 11421
1c4a85ed
KF
114222013-03-13 Karl Fogel <kfogel@red-bean.com>
11423
11424 * saveplace.el (save-place-alist-to-file): Don't sort
11425 `save-place-alist', just pretty-print it (bug#13882).
11426
85b66a21
MA
114272013-03-13 Michael Albinus <michael.albinus@gmx.de>
11428
a020afb9
JB
11429 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11430 Check whether `default-file-name-coding-system' is bound.
11431 It isn't in XEmacs.
85b66a21 11432
175600da
SM
114332013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11434
e7f7cb1a
SM
11435 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11436 backquotes for `obsolete' (bug#13929).
11437
175600da
SM
11438 * international/mule.el (find-auto-coding): Include file name in
11439 obsolescence warning (bug#13922).
11440
ca68a22e
TZ
114412013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11442
11443 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11444 for CFEngine 3-specific indentation.
11445 (cfengine3-indent-line): Use it. Fix up category regex.
11446 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11447
940e5099
SM
114482013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11449
11450 * type-break.el (type-break-file-name):
11451 * textmodes/remember.el (remember-data-file):
11452 * strokes.el (strokes-file):
11453 * shadowfile.el (shadow-initialize):
11454 * saveplace.el (save-place-file):
11455 * ps-bdf.el (bdf-cache-file):
11456 * progmodes/idlwave.el (idlwave-config-directory):
11457 * net/quickurl.el (quickurl-url-file):
11458 * international/kkc.el (kkc-init-file-name):
11459 * ido.el (ido-save-directory-list-file):
11460 * emulation/viper.el (viper-custom-file-name):
11461 * emulation/vip.el (vip-startup-file):
11462 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11463 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11464
cc725808
PE
114652013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11466
11467 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11468 * language/thai-word.el: Switch to UTF-8.
11469
a020afb9 11470See ChangeLog.16 for earlier changes.
e3d51b27
MR
11471
11472;; Local Variables:
11473;; coding: utf-8
e3d51b27
MR
11474;; End:
11475
ab422c4d 11476 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11477
11478 This file is part of GNU Emacs.
11479
11480 GNU Emacs is free software: you can redistribute it and/or modify
11481 it under the terms of the GNU General Public License as published by
11482 the Free Software Foundation, either version 3 of the License, or
11483 (at your option) any later version.
11484
11485 GNU Emacs is distributed in the hope that it will be useful,
11486 but WITHOUT ANY WARRANTY; without even the implied warranty of
11487 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11488 GNU General Public License for more details.
11489
11490 You should have received a copy of the GNU General Public License
11491 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.