* skeleton.el (skeleton-pair-insert-maybe): Disable newline
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8c2e462a
LL
12013-12-20 Leo Liu <sdl.web@gmail.com>
2
3 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4 insertion using skeleton-end-newline. (Bug#16138)
5
501158bc
JL
62013-12-20 Juri Linkov <juri@jurta.org>
7
8 * replace.el (occur-engine): Use `add-face-text-property'
9 to add the face property to matches and titles. (Bug#14645)
10
11 * hi-lock.el (hi-green): Use lighter color "light green" closer to
12 the palette of other hi-lock colors.
13 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14
50ab1da6
JL
152013-12-19 Juri Linkov <juri@jurta.org>
16
17 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
18 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
19 (minibuffer-history-symbol): Move variable declaration closer to
20 its usage.
21
22 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
23 (Bug#14785)
24
3d6e95e7
JL
252013-12-19 Juri Linkov <juri@jurta.org>
26
27 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
28 New function.
29 (log-edit-hook): Add it to :options. (Bug#16170)
30
b41594fd
JL
312013-12-19 Juri Linkov <juri@jurta.org>
32
33 * simple.el (eval-expression-print-format): Don't check for
34 command names and the last command. Always display additional
35 formats of the integer result in the echo area, and insert them
36 to the current buffer only with a zero prefix arg.
37 Display character when char-displayable-p is non-nil.
38 (eval-expression): With a zero prefix arg, set `print-length' and
39 `print-level' to nil, and insert the integer values from
40 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
41
42 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
43 `eval-last-sexp-arg-internal'. Doc fix.
44 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
45 `eval-last-sexp-print-value'. Doc fix.
46 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
47 Set `print-length' and `print-level' to nil when arg is zero.
48 (eval-last-sexp): Doc fix.
49 (eval-defun-2): Print the integer values from
50 `eval-expression-print-format' at the end.
51
52 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
53 values from `eval-expression-print-format' at the end.
54
55 * ielm.el (ielm-eval-input): Print the integer
56 values from `eval-expression-print-format' at the end.
57
8f2be364
TZ
582013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
59
60 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
61 2013-12-11T19:01:44Z!tzz@lifelogs.com.
62
2230a6e3
SM
632013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
64
65 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
66 (hl-line-highlight, global-hl-line-highlight): Use it.
67 (hl-line-overlay): Use defvar-local.
68
1269a680
JD
692013-12-19 Jan Djärv <jan.h.d@swipnet.se>
70
71 * term/ns-win.el: Require dnd.
72 (global-map): Remove drag items.
73 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
74 (ns-set-background-at-mouse):
75 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
76 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
77 New functions.
1269a680 78
049638ad
GM
792013-12-19 Glenn Morris <rgm@gnu.org>
80
81 * emacs-lisp/ert.el (ert-select-tests):
82 Fix string/symbol mixup. (Bug#16121)
83
ce41edb4
DG
842013-12-19 Dmitry Gutov <dgutov@yandex.ru>
85
86 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
87 keywords to their parent.
88
7e1549c9
DG
892013-12-19 Dmitry Gutov <dgutov@yandex.ru>
90
91 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
92 first arg to be a string (fixed dead code), or an operator symbol.
93 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
94 operator symbols.
95 (ruby-smie-rules): Remove parent token check in the `.' clause, it
96 did nothing. Don't respond to `(:after ".")', it will be called
97 with :before anyway. Remove the ` @ ' rule, it didn't seem to
98 change anything. Only return indentation for binary operators
99 when they are hanging. De-dent opening paren when its parent is
100 `.', otherwise it looks bad when the dot is not at bol or eol
101 (bug#16182).
102
3ee4cd64
JL
1032013-12-19 Juri Linkov <juri@jurta.org>
104
105 * replace.el (query-replace-read-args): Split a non-negative arg
106 and a negative arg into separate elements.
107 (query-replace, query-replace-regexp, replace-string)
108 (replace-regexp): Add arg `backward'. Doc fix.
109 (replace-match-maybe-edit): When new arg `backward' is non-nil,
110 move point to the beginning of the match.
111 (replace-search, replace-highlight): Use new arg `backward'
112 to set the value of `isearch-forward'.
113 (perform-replace): Add arg `backward' and use it to perform
114 replacement backward. (Bug#14979)
115
116 * isearch.el (isearch-query-replace): Use a negative prefix arg
117 to call `perform-replace' with a non-nil arg `backward'.
118
0cda6b7b
JL
1192013-12-18 Juri Linkov <juri@jurta.org>
120
121 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
122 to the default list. Move `log-edit-show-files' to the end.
123 Add more available functions to options.
124 (log-edit): Move default specific settings to
125 `log-edit-insert-message-template'. Don't move point.
126 (log-edit-insert-message-template): New function.
127 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
128 (Bug#16170)
129
b216f0a6
JL
1302013-12-18 Juri Linkov <juri@jurta.org>
131
132 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
133 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
134
1d1c55dc
LL
1352013-12-18 Leo Liu <sdl.web@gmail.com>
136
137 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
138
64e4c76e
EZ
1392013-12-18 Eli Zaretskii <eliz@gnu.org>
140
141 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
142 formats for displaying file sizes when the -s switch is given.
143 Instead, compute a separate format for displaying the size in
144 blocks, which is displayed in addition to the "regular" size.
145 When -h is given in addition to -s, produce size in blocks in
146 human-readable form as well. (Bug#16179)
147
b2984e39
TH
1482013-12-18 Tassilo Horn <tsdh@gnu.org>
149
2230a6e3
SM
150 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
151 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 152
50ff2e06
CY
1532013-12-18 Chong Yidong <cyd@gnu.org>
154
0081bc84
CY
155 * cus-edit.el (custom-magic-alist): Fix "themed" description
156 (Bug#14348).
157
a7ee9424
CY
158 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
159 is non-nil, do not create a new entry in the symbol's theme-value
160 or theme-face property; update theme-settings only (Bug#14664).
18874304 161 (custom-available-themes): Doc fix.
a7ee9424 162
8f942537
CY
163 * cus-theme.el (custom-new-theme-mode-map): Add bindings
164 (Bug#15674).
165
50ff2e06
CY
166 * replace.el (occur-engine): Avoid infloop (Bug#7593).
167
83c60f60
KI
1682013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
169
170 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
171 (Bug#13914).
172
ba874b64
SF
1732013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
174
175 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
176
1f41ee56
GM
1772013-12-18 Glenn Morris <rgm@gnu.org>
178
179 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 180 * cus-start.el (load-prefer-newer): New option.
1f41ee56 181
e82134b1
LW
1822013-12-18 Le Wang <l26wang@gmail.com>
183
2230a6e3
SM
184 * comint.el (comint-previous-matching-input-from-input):
185 Retain point (Bug#13404).
e82134b1 186
33f5d4c1
CY
1872013-12-18 Chong Yidong <cyd@gnu.org>
188
189 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
190
ccc9f6dc
GM
1912013-12-18 Glenn Morris <rgm@gnu.org>
192
193 * mail/emacsbug.el (report-emacs-bug):
194 Only mention enable-multibyte-characters if non-standard.
195
33dd8e95
JL
1962013-12-17 Juri Linkov <juri@jurta.org>
197
198 * arc-mode.el (archive-extract-by-file): Check if directory exists
199 before deletion to not show irrelevant errors if it doesn't exist.
200
7a409b30
JL
2012013-12-17 Juri Linkov <juri@jurta.org>
202
203 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
204 (Bug#14751)
205
206 * net/eww.el (browse-web): Add alias to `eww'.
207 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
208 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
209
210 * net/browse-url.el (browse-url-browser-function): Move `eww'
211 closer to similar functions.
212
213 * startup.el (fancy-startup-screen, fancy-about-screen):
214 Set browse-url-browser-function to eww-browse-url locally.
215 (Bug#14751)
216
2d6b6005
SM
2172013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * window.el (window--pixel-to-total): Remove unused `mini' var.
220 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
221 (split-window): Remove unused `new' var.
222 (window--display-buffer): Remove unused `frame' and `delta' vars.
223 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
224 and display-width'.
225
cf2b7efc
MR
2262013-12-17 Martin Rudalics <rudalics@gmx.at>
227
228 * dired.el (dired-mark-pop-up):
229 * register.el (register-preview): Don't bind
230 split-height-threshold here since it's now done in
231 display-buffer-below-selected.
232
ed3af8a7 2332013-12-17 oblique <psyberbits@gmail.com> (tiny change)
234
235 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
236 xterm-rgb-convert-to-16bit.
237 (rxvt-register-default-colors): Standardize with
238 xterm-register-default-colors (Bug#14078).
239
76da3455
DK
2402013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
241
242 * simple.el (kill-region): Pass mark first, then point, so that
243 kill-append works right (Bug#12819).
244 (copy-region-as-kill, kill-ring-save): Likewise.
245
2b84d763
LL
2462013-12-17 Leo Liu <sdl.web@gmail.com>
247
248 * net/rcirc.el (rcirc-add-face):
249 * eshell/em-prompt.el (eshell-emit-prompt):
250 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
251 (Bug#16167)
252
e2f6a0bc
CY
2532013-12-17 Chong Yidong <cyd@gnu.org>
254
255 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
256 Suggested by Xue Fuqiao.
257
35b249a6
DG
2582013-12-17 Dmitry Gutov <dgutov@yandex.ru>
259
260 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
261
e9145444
SM
2622013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
263
264 * net/shr.el (shr-insert-document): Remove unused var
265 `shr-preliminary-table-render'.
266 (shr-rescale-image): Remove unused arg `force'.
267 (shr-put-image): Update calls accordingly.
268 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
269
5556c0ce
DG
2702013-12-17 Dmitry Gutov <dgutov@yandex.ru>
271
272 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
273 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
274 :close-all, to see which indentation method to use (Bug#16116).
275 (smie-rules-function): Document the method :close-all.
276
11bade0a
LMI
2772013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
278
1c4b1e61
LMI
279 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
280
11bade0a
LMI
281 * net/eww.el (eww-display-html): If we can't find the anchor we're
282 looking for, then go to point-min.
283
8fb8c4f3
PE
2842013-12-16 Paul Eggert <eggert@cs.ucla.edu>
285
286 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
287 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
288 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
289 Expand dir too, in case it's relative.
290
6c8e0ae6
JL
2912013-12-16 Juri Linkov <juri@jurta.org>
292
293 * desktop.el (desktop-auto-save-timeout): Change default to
294 `auto-save-timeout'. Doc fix.
295 (desktop-save): Skip the timestamp in desktop-saved-frameset
296 when checking for auto-save changes.
297 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
298 `desktop-auto-save' is called repeatedly by the idle timer.
299 (desktop-auto-save-set-timer): Replace `run-with-timer' with
300 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
301 (Bug#15331)
302
2178e858
JL
3032013-12-16 Juri Linkov <juri@jurta.org>
304
305 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
306 (Bug#16035)
307 (isearch-pre-command-hook): Check `this-command' for symbolp.
308
39cb42c6
SM
3092013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
312
5b9b750a
TZ
3132013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
314
315 * progmodes/cfengine.el (cfengine3--current-word): Remove.
316 (cfengine3--current-function): Bring in the current-function
317 functionality from `cfengine3--current-word'.
318 (cfengine3-completion-function): Bring in the
319 bounds-of-current-word functionality from
320 `cfengine3--current-word'.
321
d144ef06
MR
3222013-12-16 Martin Rudalics <rudalics@gmx.at>
323
39cb42c6
SM
324 * window.el (display-buffer-below-selected):
325 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 326
a8bbe298
LL
3272013-12-16 Leo Liu <sdl.web@gmail.com>
328
329 * progmodes/compile.el (compile-goto-error): Do not push-mark.
330 Remove NOMSG arg and all uses changed.
331
2013a2f9
SM
3322013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
335 (cua--deactivate-rectangle): Don't deactivate the mark.
336 (cua-set-rectangle-mark): Don't set mark-active since
337 cua--activate-rectangle already does it for us.
338 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
339 non-rectangular region.
340
341 * emulation/cua-base.el (cua-repeat-replace-region):
342 Use with-current-buffer.
343
344 * net/gnutls.el: Use cl-lib.
345 (gnutls-negotiate): `mapcan' -> cl-mapcan.
346
5ae811dd
TZ
3472013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
348
349 * emacs-lisp/package.el (package-built-in-p): Support both
350 built-in and the package.el converted package descriptions.
351 (package-show-package-list): Allow keywords.
352 (package-keyword-button-action): Use it instead of
353 `finder-list-matches'.
354 (package-menu-filter-interactive): Interactive filtering (by
355 keyword) function.
356 (package-menu--generate): Support keywords and change keymappings
357 and headers when they are given.
358 (package--has-keyword-p): Helper function.
359 (package-menu--refresh): Use it.
360 (package--mapc): Helper function.
361 (package-all-keywords): Use it.
362 (package-menu-mode-map): Set up menu items and keybindings to
363 provide a filtering UI.
364
31b4827e
TZ
3652013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
366
367 * net/gnutls.el (gnutls-verify-error): New defcustom to control
368 the behavior when a certificate fails validation. Defaults to
369 old behavior: never abort, just warn.
370 (gnutls-negotiate): Use it.
371
f93cc74f
MR
3722013-12-14 Martin Rudalics <rudalics@gmx.at>
373
374 * window.el (display-buffer-below-selected): Never split window
375 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
376
f77d7d17
TW
3772013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
378
379 * emacs-lisp/package.el (package--prepare-dependencies): New function.
380 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
381
382 * icomplete.el (icomplete-completions): Make sure the prefix is already
383 displayed elsewhere before hiding it.
384
276bc333
DG
3852013-12-14 Dmitry Gutov <dgutov@yandex.ru>
386
387 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
388 open-paren tokens when preceded by a open-paren, too.
389 (ruby-smie-rules): Handle virtual indentation after open-paren
390 tokens specially. If there is code between it and eol, return the
391 column where is starts (Bug#16118).
392
d43957f3
TZ
3932013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
394
a5c1ac0c 395 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 396 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
397 (cfengine3--current-word): Fix parameters.
398 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
399 (cfengine3-completion-function, cfengine3--current-function):
400 Use `assq' for symbols.
d43957f3
TZ
401 (cfengine3--current-function): Fix `cfengine3--current-word' call.
402
06a4f110
GM
4032013-12-13 Glenn Morris <rgm@gnu.org>
404
405 * loadup.el (load-path): Warn if site-load or site-init changes it.
406 No more need to reset it when bootstrapping.
407
978a5fda
TZ
4082013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
409
410 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
411 locations for cf-promises.
412 (cfengine-mode-syntax-functions-regex): New caching variable.
413 (cfengine3-fallback-syntax): Fallback syntax for cases where
414 cf-promises doesn't run.
415 (cfengine3--current-word): Reimplement using
416 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
417 (cfengine3-completion-function, cfengine3--current-function):
418 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
419 (cfengine3-clear-syntax-cache): New function.
420 (cfengine3-make-syntax-cache): Simplify and create
421 `cfengine-mode-syntax-functions-regex' on demand.
422 (cfengine3-format-function-docstring): Don't call
423 `cfengine3-make-syntax-cache' explicitly.
424
71e6691e
MR
4252013-12-13 Martin Rudalics <rudalics@gmx.at>
426
427 Fix windmove-find-other-window broken after pixelwise resizing
428 (Bug#16017).
429 * windmove.el (windmove-other-window-loc): Revert change from
430 2013-12-04.
431 (windmove-find-other-window): Call window-in-direction.
432 * window.el (window-in-direction): New arguments SIGN, WRAP and
433 MINI to emulate original windmove-find-other-window behavior.
434
84c73ba0
DG
4352013-12-13 Dmitry Gutov <dgutov@yandex.ru>
436
437 * simple.el (blink-matching--overlay): New variable.
438 (blink-matching-open): Instead of moving point, highlight the
439 matching paren with an overlay
440 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
441
442 * faces.el (paren-showing-faces, show-paren-match)
443 (show-paren-mismatch): Move from paren.el.
444
b9e20952
LL
4452013-12-13 Leo Liu <sdl.web@gmail.com>
446
447 * indent.el (indent-region): Disable progress reporter in
448 minibuffer. (Bug#16108)
449
450 * bindings.el (visual-order-cursor-movement): Fix version.
451
ce030451
FEG
4522013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
453
454 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
455 Also match after beginning of line.
456 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
457 files. Thanks to Russell Sim. (Bug#15378)
458
4a9c6865
JL
4592013-12-13 Juri Linkov <juri@jurta.org>
460
461 * simple.el <Keypad support>: Remove key bindings duplicated
462 with bindings.el. (Bug#14397)
463
2bc170c3
JL
4642013-12-13 Juri Linkov <juri@jurta.org>
465
466 * comint.el (comint-mode-map): Replace `delete-char' with
467 `delete-forward-char'. (Bug#16109)
468
bc9222c9
FEG
4692013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
470
aa2bddd7
SM
471 * progmodes/python.el (python-indent-calculate-indentation):
472 Fix de-denters cornercase. (Bug#15731)
bc9222c9 473
cb3a1380
SM
4742013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
477 (advice--make): Pay attention to `depth'.
478 (advice--make-1): Don't autoload commands eagerly.
479 * emacs-lisp/elp.el (elp-instrument-function):
480 * emacs-lisp/trace.el (trace-function-internal):
481 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
482
483 * iswitchb.el (iswitchb-mode): Don't belittle ido.
484
01633a17
EZ
4852013-12-12 Eli Zaretskii <eliz@gnu.org>
486
487 * term/w32-win.el (w32-handle-dropped-file):
488 * startup.el (normal-top-level):
489 * net/browse-url.el (browse-url-file-url):
490 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
491 decode file names using 'utf-8' rather than
492 file-name-coding-system.
493
09faee72
FEG
4942013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
495
496 * progmodes/python.el (python-indent-context)
497 (python-indent-calculate-indentation): Fix auto-identation
498 behavior for comment blocks. (Bug#15916)
499
f4f84024 5002013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 501
cb3a1380
SM
502 * progmodes/python.el (python-indent-calculate-indentation):
503 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
504 operators when they are just string constituents. (Bug#15812)
505
d5ccb7be
JL
5062013-12-12 Juri Linkov <juri@jurta.org>
507
508 * uniquify.el (uniquify-buffer-name-style): Change default to
509 `post-forward-angle-brackets'.
510
511 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
512 `uniquify'. Change default to `post-forward-angle-brackets'.
513
7b3f5679
GM
5142013-12-11 Glenn Morris <rgm@gnu.org>
515
516 * emacs-lisp/package.el (finder-list-matches):
517 Autoload rather than falsely declaring.
518
f4fe8fdd
TZ
5192013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
520
521 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
522 (eww-mode-map): Use them.
523
3c29190f
MR
5242013-12-11 Martin Rudalics <rudalics@gmx.at>
525
526 * window.el (display-buffer-in-side-window): Fix doc-string
527 (Bug#16115).
528
0cd616a2
JB
5292013-12-11 Juanma Barranquero <lekktu@gmail.com>
530
531 * vc/vc-git.el: Silence byte-compiler warnings.
532 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
533 (log-edit-set-header): Declare.
534
3ef8e0d1
EZ
5352013-12-11 Eli Zaretskii <eliz@gnu.org>
536
537 * Makefile.in (custom-deps, finder-data): Run output file names
538 through unmsys--file-name. (Bug#16099)
539
afdadaf7
SM
5402013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
541
7ae3ae39 542 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 543 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 544
5b4f37ab
SM
545 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
546 instead of deleting the selection "by hand" (bug#16098).
547 Rely on insert-for-yank to yank rectangles.
548 (cua-highlight-region-shift-only): Mark obsolete.
549 (cua-mode): Don't enable/disable transient-mark-mode,
550 shift-select-mode (cua-mode works both with and without them), and
551 pc-selection-mode (obsolete).
552 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
553 (cua--deactivate-rectangle): Deactivate it.
554
4b72c12b
SM
555 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
556 (delete-selection-helper): Make sure yank starts at the top of the
557 deleted region.
558 (minibuffer-keyboard-quit): Use region-active-p.
559
e82af72d
SM
560 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
561
afdadaf7
SM
562 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
563 to `delete' (bug#16109).
564
ed4bc201
RS
5652013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
566
567 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
568 info manual and show keybindings and set `:group' keyword.
569
bb8097b9
JL
5702013-12-11 Juri Linkov <juri@jurta.org>
571
572 * delsel.el (delete-active-region): Let-bind `this-command'
573 to prevent `kill-region' from changing its original value.
574 (delete-selection-helper): Handle `overwrite-mode' for the type
575 `kill' exactly the same way as for the type `t'.
576 (insert-char, quoted-insert, reindent-then-newline-and-indent):
577 Support more commands. (Bug#13312)
578
c1916ff5
JL
5792013-12-11 Juri Linkov <juri@jurta.org>
580
581 * bindings.el: Map kp keys to non-kp keys systematically
582 with basic modifiers control, meta and shift. (Bug#14397)
583
b68cf43c
KN
5842013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
585
586 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
587 "Close browser" menu items. Fix wrong function of "List
588 bookmarks".
589
4cc51eaf
JL
5902013-12-11 Juri Linkov <juri@jurta.org>
591
592 * misearch.el (multi-isearch-buffers): Set the value of
593 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
594 arg of isearch-forward to t.
595 (multi-isearch-buffers-regexp): Set the value of
596 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
597 arg of isearch-forward-regexp to t.
598 (multi-isearch-files): Set the value of
599 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
600 arg of isearch-forward to t.
601 (multi-isearch-files-regexp): Set the value of
602 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
603 arg of isearch-forward-regexp to t. (Bug#16035)
604
605 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
606 arg of isearch-forward to t.
607 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
608 arg of isearch-forward-regexp to t.
609 (dired-isearch-filter-filenames): Remove unnecessary check for
610 `dired-isearch-filenames'.
611
612 * comint.el (comint-history-isearch-backward):
613 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
614 (comint-history-isearch-backward-regexp):
615 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
616
ceac12b7
EZ
6172013-12-10 Eli Zaretskii <eliz@gnu.org>
618
619 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
620 unmsys--file-name. (Bug#16099)
621
5a565782
TZ
6222013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
623
cb3a1380
SM
624 * emacs-lisp/package.el (package-keyword-button-action):
625 Remove finder.el require dependency.
5a565782 626
a81fc7ba
TZ
6272013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
628
629 * emacs-lisp/package.el: Require finder.el.
630 (describe-package-1): Add keyword buttons.
631 (package-make-button): New convenience function.
632 (package-keyword-button-action): Keyword button action using
633 `finder-list-matches'
634
6aaca951
EZ
6352013-12-09 Eli Zaretskii <eliz@gnu.org>
636
637 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
638 last commit.
639
a1099a91
MA
6402013-12-09 Michael Albinus <michael.albinus@gmx.de>
641
642 * autorevert.el (auto-revert-notify-add-watch): Do not handle
643 symlinked files.
644
8212d9c0
DG
6452013-12-09 Dmitry Gutov <dgutov@yandex.ru>
646
647 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
648 after the end of a percent literal.
649
8f48d131
CD
6502013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
651
cb3a1380
SM
652 * progmodes/ruby-mode.el (ruby-forward-string): Document.
653 Handle caret-delimited strings (Bug#16079).
8f48d131 654
ff8c9764
DG
6552013-12-09 Dmitry Gutov <dgutov@yandex.ru>
656
cb3a1380
SM
657 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
658 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
659 `ruby-parse-partial' (Bug#16078).
660
d64643b4
LL
6612013-12-09 Leo Liu <sdl.web@gmail.com>
662
663 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
664
47e59c66
DG
6652013-12-08 Dmitry Gutov <dgutov@yandex.ru>
666
667 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
668 (js-switch-indent-offset): New option.
669 (js--proper-indentation): Use it. And handle the case when
670 "default" is actually a key in an object literal.
671 (js--same-line): New function.
672 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
673 (js--indent-in-array-comp, js--array-comp-indentation):
674 New functions.
47e59c66
DG
675 (js--proper-indentation): Use them, to handle array comprehension
676 continuations.
677
974ebc9c
LL
6782013-12-08 Leo Liu <sdl.web@gmail.com>
679
680 * progmodes/flymake.el (flymake-highlight-line): Re-write.
681 (flymake-make-overlay): Remove arg MOUSE-FACE.
682 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
683
27262e39
SM
6842013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
687 New function.
688 (redisplay-highlight-region-function): Use it.
689
690 * emulation/cua-base.el (cua--explicit-region-start)
691 (cua--last-region-shifted): Remove.
692 (cua--deactivate): Use deactivate-mark.
693 (cua--pre-command-handler-1): Don't handle shift-selection.
694 (cua--post-command-handler-1): Don't change transient-mark-mode.
695 (cua--select-keymaps): Use region-active-p rather than
696 cua--explicit-region-start or cua--last-region-shifted.
697 (cua-mode): Enable shift-select-mode.
698
6407822c
LL
6992013-12-08 Leo Liu <sdl.web@gmail.com>
700
27262e39
SM
701 * progmodes/flymake.el (flymake-popup-current-error-menu):
702 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
703 (flymake-posn-at-point-as-event, flymake-popup-menu)
704 (flymake-make-emacs-menu): Remove. (Bug#16077)
705
00a2b823
SM
7062013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
707
02033d49
SM
708 * rect.el (rectangle-mark-mode): Activate mark even if
709 transient-mark-mode is off (bug#16066).
710 (rectangle--highlight-for-redisplay): Fix boundary condition when point
711 is > mark and at bolp.
712
6f8dfccf
SM
713 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
714 (region-extract-function): Use it.
715 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
716 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
717 Delete functions.
718 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
719 kill-ring-save, kill-region, delete-char, delete-forward-char.
720 Ignore self-insert-iso.
721
722 * emulation/cua-gmrk.el (cua--init-global-mark):
723 Ignore `self-insert-iso'.
724
725 * emulation/cua-base.el (cua--prefix-copy-handler)
726 (cua--prefix-cut-handler): Rely on region-extract-function rather than
727 checking cua--rectangle.
728 (cua-delete-region): Use region-extract-function.
729 (cua-replace-region): Delete function.
730 (cua-copy-region, cua-cut-region): Obey region-extract-function.
731 (cua--pre-command-handler-1): Don't do the delete-selection thing.
732 (cua--self-insert-char-p): Ignore `self-insert-iso'.
733 (cua--init-keymaps): Don't remap delete-selection commands.
734 (cua-mode): Use delete-selection-mode instead of rolling our own
735 (bug#16085).
736
737 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
738 Obey region-extract-function.
739
00a2b823
SM
740 Make registers and delete-selection-mode work on rectangles.
741 * register.el (describe-register-1): Don't modify the register's value.
742 (copy-to-register): Obey region-extract-function.
743 * delsel.el (delete-active-region): Obey region-extract-function.
744
a92fa5f1
LL
7452013-12-08 Leo Liu <sdl.web@gmail.com>
746
747 * progmodes/flymake.el (flymake, flymake-error-bitmap)
748 (flymake-warning-bitmap, flymake-fringe-indicator-position)
749 (flymake-compilation-prevents-syntax-check)
750 (flymake-start-syntax-check-on-newline)
751 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
752 (flymake-start-syntax-check-on-find-file, flymake-log-level)
753 (flymake-xml-program, flymake-master-file-dirs)
754 (flymake-master-file-count-limit)
755 (flymake-allowed-file-name-masks): Relocate.
756 (flymake-makehash, flymake-float-time)
757 (flymake-replace-regexp-in-string, flymake-split-string)
758 (flymake-get-temp-dir): Remove.
759 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
760 (flymake-current-row, flymake-selected-frame)
761 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
762 related functions. (Bug#16077)
763
73c8ceea
BB
7642013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
765
766 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
767
faec28d9
TH
7682013-12-07 Tassilo Horn <tsdh@gnu.org>
769
770 * help-fns.el (describe-function-1): Use new advice-* functions
771 rather than old ad-* functions. Fix function type description and
772 source links for advised functions and subrs.
773
e330b646
LMI
7742013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
775
00a2b823 776 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 777
4803595d
MA
7782013-12-06 Michael Albinus <michael.albinus@gmx.de>
779
780 * progmodes/compile.el (compilation-start):
781 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
782
783 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
784 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
785
fa834a93
DG
7862013-12-06 Dmitry Gutov <dgutov@yandex.ru>
787
00a2b823
SM
788 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
789 Touch up the last change.
fa834a93 790
b2856a6f
LL
7912013-12-06 Leo Liu <sdl.web@gmail.com>
792
793 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
794 (inferior-octave-startup): Always use "octave> " for prompt.
795 (octave-goto-function-definition)
796 (octave-sync-function-file-names)
797 (octave-find-definition-default-filename): Remove redundant backquotes.
798
af67e79a
DG
7992013-12-06 Dmitry Gutov <dgutov@yandex.ru>
800
801 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
802 syntax for `?'.
803 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
804 where appropriate already.
805 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
806 end of method names (Bug#15874).
807
bf093209
JL
8082013-12-06 Juri Linkov <juri@jurta.org>
809
810 * isearch.el (isearch--saved-overriding-local-map):
811 New internal variable.
812 (isearch-mode): Set it to the initial value of
813 `overriding-terminal-local-map'.
814 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
815 with `isearch--saved-overriding-local-map'. (Bug#16035)
816
16588fad
DG
8172013-12-06 Dmitry Gutov <dgutov@yandex.ru>
818
00a2b823
SM
819 * progmodes/octave.el (inferior-octave-completion-table):
820 Turn back into function, use `completion-table-with-cache'
16588fad
DG
821 (Bug#11906). Update all references.
822
823 * minibuffer.el (completion-table-with-cache): New function.
824
bf4906d7
CD
8252013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
826
827 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
828
ff69c18f
TZ
8292013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
830
831 * net/eww.el (eww-current-source): New variable to store page
832 source.
833 (eww-display-html, eww-mode, eww-save-history)
834 (eww-restore-history): Use it.
835 (eww-view-source): New command to view page source.
836 Opportunistically uses `html-mode' to highlight the buffer.
837 (eww-mode-map): Install it.
838
b85eff45
MA
8392013-12-05 Michael Albinus <michael.albinus@gmx.de>
840
841 * net/dbus.el (dbus-unregister-service)
842 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
843 Fix docstring.
844 (dbus-unregister-service): Skip :serial entries in
845 `dbus-registered-objects-table'.
846 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
847
39eb0899
TZ
8482013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
849
850 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
851 around keywords with extra `split-string' argument.
852
456760a5
MR
8532013-12-04 Martin Rudalics <rudalics@gmx.at>
854
855 * windmove.el (windmove-other-window-loc): Handle navigation
856 between windows (excluding the minibuffer window - Bug#16017).
857
81961e4c
MA
8582013-12-04 Michael Albinus <michael.albinus@gmx.de>
859
860 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
861 in D-Bus type syntax.
862 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
863 preserve unibyte strings. (Bug#16048)
864
8497f938
SM
8652013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
868 Call force-mode-line-update is the proper buffer (bug#16042).
869
dda61916
DG
8702013-12-04 Dmitry Gutov <dgutov@yandex.ru>
871
872 * vc/log-edit.el (log-edit-add-new-comment): Rename to
873 `log-edit-remember-comment', make argument optional. Adjust all
874 callers.
875 (log-edit-mode): Add `log-edit-remember-comment' to
876 `kill-buffer-hook' locally.
877 (log-edit-kill-buffer): Don't remember comment explicitly since
878 the buffer is killed anyway.
879
c085e5b9
JL
8802013-12-04 Juri Linkov <juri@jurta.org>
881
882 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
883 add-hook and remove-hook for multi-buffer search. (Bug#16035)
884
d6f2380e
TR
8852013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
886
887 * notifications.el (notifications-close-notification): Call the
81961e4c 888 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 889
39fa32d6
KY
8902013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
891
892 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
893
9139632a
JL
8942013-12-03 Juri Linkov <juri@jurta.org>
895
896 * progmodes/compile.el (compilation-start): Rename window alist
897 entry `no-display-ok' to `allow-no-window'.
898
899 * simple.el (shell-command): Add window alist entry
900 `allow-no-window' to `display-buffer'.
901 (async-shell-command): Doc fix.
902
903 * window.el (display-buffer-no-window): New action function.
904 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
905
0f457a37
DG
9062013-12-02 Dmitry Gutov <dgutov@yandex.ru>
907
908 * vc/log-edit.el (log-edit-set-header): Extract from
909 `log-edit-toggle-header'.
910 (log-edit-extract-headers): Separate the summary, when extracted
911 from header, from the rest of the message with an empty line.
912
913 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
914 line, if present, to the Summary header.
915
0962f376
SM
9162013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
917
918 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
919 in current-buffer (bug#16029).
920
f345395c
HE
9212013-12-02 Helmut Eller <eller.helmut@gmail.com>
922
923 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
924 (debugger-mode-map): Bind it.
925 (debugger--backtrace-base): New function.
926 (debugger-eval-expression): Use it.
927 (debugger-frame-number): Skip local vars when present.
928 (debugger--locals-visible-p, debugger--insert-locals)
929 (debugger--show-locals, debugger--hide-locals): New functions.
930
a8a15d9d
MA
9312013-12-02 Michael Albinus <michael.albinus@gmx.de>
932
933 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
934 "LC_ALL".
935 (tramp-get-remote-locale): New defun.
936 (tramp-open-connection-setup-interactive-shell): Use it.
937
0518b057
LL
9382013-12-02 Leo Liu <sdl.web@gmail.com>
939
940 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
941
942 * progmodes/sh-script.el (sh-shell-process):
943 * progmodes/octave.el (inferior-octave-process-live-p):
944 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
945 (gdb-inferior-io-sentinel):
946 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
947
3adc9c6d
DG
9482013-12-02 Dmitry Gutov <dgutov@yandex.ru>
949
950 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
951 `save-selected-window' to `log-edit-hide-buf'. This makes
952 `log-edit-show-files' idempotent.
953 (log-edit-show-files): Mark the new window as dedicated.
954
47e8b74e
DG
9552013-12-02 Dmitry Gutov <dgutov@yandex.ru>
956
957 * vc/log-edit.el (log-edit-mode-map): Add binding for
958 `log-edit-kill-biffer'.
959 (log-edit-hide-buf): Add a FIXME comment.
960 (log-edit-add-new-comment): New function, extracted from
961 `log-edit-done'.
962 (log-edit-done, log-edit-add-to-changelog): Use it.
963 (log-edit-kill-buffer): New command.
964
1f6e1bb0
LMI
9652013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
966
967 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
968 instead of killing the buffer.
969
fb651d15
SM
9702013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
971
972 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
973
8feacce0
RS
9742013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
975
fb651d15 976 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 977 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
978 (eww-form-checkbox, eww-toggle-checkbox):
979 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
980
981 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
982 (shr--get-media-pref, shr--extract-best-source): New function.
ad9a773c
RS
983 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
984 no :src tag was specified.
985
fb651d15 986 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
987 (eww-render): Handle `eww-use-external-browser-for-content-type'.
988 Use \\` to match beginning of string instead of ^.
989 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 990 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 991
177948a5
RS
992 * net/shr.el (shr-tag-video): Display content for video if no
993 poster is available.
eb2dd24d 994 (shr-tag-audio): Add support for <audio> tag.
177948a5
RS
995
996 * net/eww.el (eww-text-input-types): : New const.
997 (eww-process-text-input): Treat input types in
998 `eww-text-input-types' as text.
999
8feacce0
RS
1000 * net/shr.el (shr-tag-table): Fix comment typo.
1001
513562a1
LMI
10022013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1003
1004 * net/eww.el (eww-follow-link): New command to avoid reloading
1005 pages when we follow #target links (bug#15243).
de8a5633 1006 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1007
9dd99753
KN
10082013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1009
1010 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1011 forms.
1012
3e9876de
LMI
10132013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1014
1015 * net/eww.el (eww-restore-history): Update the window title after
1016 moving in the history.
ab6dea82 1017 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1018
52789f7f
DG
10192013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1020
1021 * vc/log-edit.el (log-edit-mode-map): Add binding for
1022 `log-edit-beginning-of-line'.
1023 (log-edit-setup-add-author): New user option.
1024 (log-edit-beginning-of-line): New command.
1025 (log-edit): Move major mode call above the contents setup so that
1026 the local variable values are already applied.
1027 (log-edit): Only insert "Author: " when
1028 `log-edit-setup-add-author' is non-nil.
1029 (log-edit): When SETUP is non-nil, position point after ": "
1030 instead of point-min.
1031
2e6710c3
GM
10322013-12-01 Glenn Morris <rgm@gnu.org>
1033
1034 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1035
fadec31f
EZ
10362013-11-30 Eli Zaretskii <eliz@gnu.org>
1037
1038 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1039 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1040 visible. (Bug#16014)
1041
10634b40 10422013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1043
1044 Support resizing frames and windows pixelwise.
1045 * cus-start.el (frame-resize-pixelwise)
1046 (window-resize-pixelwise): New entries.
1047 * emacs-lisp/debug.el (debug): Use window-total-height instead
1048 of window-total-size.
1049 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1050 * help.el (describe-bindings-internal): Call help-buffer
1051 (temp-buffer-max-width): New option.
1052 (resize-temp-buffer-window, help-window-setup)
1053 (with-help-window): Rewrite.
1054 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1055 dragging dividers.
1056 * window.el (frame-char-size, window-min-pixel-height)
1057 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1058 (window-min-pixel-width, window-safe-min-pixel-size)
1059 (window-combination-p, window-safe-min-size)
1060 (window-resizable-p, window--size-to-pixel)
1061 (window--pixel-to-size, window--resize-apply-p): New functions.
1062 (window-safe-min-height): Fix doc-string.
1063 (window-size, window-min-size, window--min-size-1)
1064 (window-sizable, window-sizable-p, window--min-delta-1)
1065 (window-min-delta, window--max-delta-1, window-max-delta)
1066 (window--resizable, window--resizable-p, window-resizable)
1067 (window-full-height-p, window-full-width-p, window-at-side-p)
1068 (window--in-direction-2, window-in-direction)
1069 (window--resize-reset-1, window--resize-mini-window)
1070 (window-resize, window-resize-no-error)
1071 (window--resize-child-windows-normal)
1072 (window--resize-child-windows, window--resize-siblings)
1073 (window--resize-this-window, window--resize-root-window)
1074 (window--resize-root-window-vertically)
1075 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1076 (maximize-window, minimize-window, delete-window)
1077 (quit-restore-window, window-split-min-size, split-window)
1078 (balance-windows-2, balance-windows)
1079 (balance-windows-area-adjust, balance-windows-area)
1080 (window--state-get-1, window-state-get, window--state-put-1)
1081 (window--state-put-2, window-state-put)
fb651d15
SM
1082 (display-buffer-record-window, window--display-buffer):
1083 Make functions handle pixelwise sizing of windows.
880e6158 1084 (display-buffer--action-function-custom-type)
fb651d15
SM
1085 (display-buffer-fallback-action):
1086 Add display-buffer-in-previous-window.
880e6158
MR
1087 (display-buffer-use-some-window): Resize window to height it had
1088 before.
1089 (fit-window-to-buffer-horizontally): New option.
1090 (fit-frame-to-buffer): Describe new values.
1091 (fit-frame-to-buffer-bottom-margin): Replace with
1092 fit-frame-to-buffer-margins.
1093 (window--sanitize-margin): New function.
1094 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1095 using window-text-pixel-size.
1096
f9b697dd
GM
10972013-11-30 Glenn Morris <rgm@gnu.org>
1098
3e2fb4db
GM
1099 * emacs-lisp/bytecomp.el (byte-compile-form):
1100 Make the `interactive-only' warning like the `obsolete' one.
1101 * comint.el (comint-run):
1102 * files.el (insert-file-literally, insert-file):
1103 * replace.el (replace-string, replace-regexp):
1104 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1105 (goto-line, insert-buffer, next-line, previous-line):
1106 Tweak `interactive-only' spec.
1107
f9b697dd
GM
1108 Stop keeping (most) generated cedet grammar files in the repository.
1109 * Makefile.in (semantic): New.
1110 (compile-main): Depend on semantic.
1111
da048127
SM
11122013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1113
7784b779
SM
1114 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1115 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1116
4e36a6a6
SM
1117 * uniquify.el (uniquify-buffer-name-style): Change default.
1118
1119 * loadup.el: Preload "uniquify".
1120
e0ba1308
SM
1121 * time.el (display-time-update): Update all mode lines (bug#15999).
1122
da048127
SM
1123 * electric.el (electric-indent-mode): Enable by default.
1124 * loadup.el: Preload "electric".
1125
015b3b3e
BB
11262013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1127
1128 * emacs-lisp/helpers.el (string-empty-p): New function.
1129 (string-blank-p): New function.
1130
7efb806d
AP
11312013-11-29 Andreas Politz <politza@hochschule-trier.de>
1132
1133 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1134 (Bug#14029).
1135
c8f0efc2
AP
11362013-11-29 Andreas Politz <politza@fh-trier.de>
1137 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1138 allow non-lambda lists as functions.
1139 (imenu--in-alist): Don't recurse into non-subalists.
1140 (imenu): Don't pass function itself as an argument (Bug#14029).
1141
bd15d9d1
SM
11422013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1143
1144 * progmodes/python.el (python-mode-map): Remove binding for ":".
1145 (python-indent-electric-colon): Remove command.
1146 (python-indent-post-self-insert-function): Integrate the previous code
1147 of python-indent-electric-colon. Make it conditional on
1148 electric-indent-mode.
1149 (python-mode): Add ?: to electric-indent-chars.
1150 Move python-indent-post-self-insert-function to the end of
1151 post-self-insert-hook.
1152
1b10adb6
SM
11532013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1154
655ab9a3
SM
1155 * doc-view.el (doc-view-goto-page): Update mode-line.
1156
1b10adb6
SM
1157 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1158
7e3bf78c
GM
11592013-11-27 Glenn Morris <rgm@gnu.org>
1160
1161 * international/charprop.el, international/uni-bidi.el:
1162 * international/uni-category.el, international/uni-combining.el:
1163 * international/uni-comment.el, international/uni-decimal.el:
1164 * international/uni-decomposition.el, international/uni-digit.el:
1165 * international/uni-lowercase.el, international/uni-mirrored.el:
1166 * international/uni-name.el, international/uni-numeric.el:
1167 * international/uni-old-name.el, international/uni-titlecase.el:
1168 * international/uni-uppercase.el:
1169 Remove generated files from VCS repository.
1170
fb6a5d68
EZ
11712013-11-27 Eli Zaretskii <eliz@gnu.org>
1172
1173 * filenotify.el (file-notify-add-watch): Don't special-case
1174 w32notify when computing the directory to watch.
1175
cb6c95a3
GM
11762013-11-27 Glenn Morris <rgm@gnu.org>
1177
20372d0c
GM
1178 Make bootstrap without generated uni-*.el files possible again.
1179 * loadup.el: Update command-line-args checking for unidata-gen.
1180 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1181 * composite.el, international/characters.el:
1182 Handle unicode tables being undefined.
1183
52d6635f 1184 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1185 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1186 (compile-main): Depend on leim rule.
1187 (leim): New rule.
1188 * loadup.el: Move leim-list.el to leim/ subdirectory.
1189 * startup.el (normal-top-level): No more leim directory.
1190 * international/ja-dic-cnv.el (skkdic-convert):
1191 Disable version-control and autoloads in output files.
1192 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1193 Disable version-control and autoloads in output files.
1194 * leim/quail: Move here from ../leim.
1195 * leim/quail/hangul.el (hangul-input-method-activate):
1196 Add autoload cookie.
1197 (generated-autoload-load-name): Set file-local value.
1198 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1199 (generated-autoload-load-name): Set file-local value.
1200
0449d6cd 12012013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee
TZ
1202
1203 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1204 (eww-add-bookmark): ask confirmation when add to bookmarks
1205 (eww-quit): ask confirmation before quitting eww
1206
0e2c793f
EZ
12072013-11-26 Eli Zaretskii <eliz@gnu.org>
1208
1209 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1210 reading output from Diff on MS-Windows and MS-DOS.
1211
447bdcb8
BB
12122013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1213
1214 * emacs-lisp/helpers.el (string-reverse): New function.
1215
5fbf6856
MA
12162013-11-26 Michael Albinus <michael.albinus@gmx.de>
1217
1218 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1219 names on MS Windows, like "/[::1]:".
1220
1221 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1222 SWITCHES.
1223
624780f0
GM
12242013-11-26 Glenn Morris <rgm@gnu.org>
1225
0bf3f0fa
GM
1226 * progmodes/python.el (python-indent-guess-indent-offset):
1227 Avoid corner-case error. (Bug#15975)
1228
624780f0
GM
1229 Preload leim-list.el. (Bug#4789)
1230 * loadup.el: Load leim-list.el when found.
1231 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1232
4301875e 12332013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1234
1235 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1236
4301875e
BB
1237 * emacs-lisp/helpers.el (string-join): New function.
1238
1633a815 12392013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1240
1241 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1242 Mark as obsolete and replace it with a symbol property.
1243 (byte-compile-form): Use new 'interactive-only property.
1244 * comint.el, files.el, replace.el, simple.el:
1245 Apply new 'interactive-only properly.
1246
00139435
MR
12472013-11-25 Martin Rudalics <rudalics@gmx.at>
1248
1249 * window.el (display-buffer-at-bottom): Make sure that
1250 split-window-sensibly creates the new window on bottom
1251 (Bug#15961).
1252
5f5b128d
DK
12532013-11-23 David Kastrup <dak@gnu.org>
1254
1255 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1256 on the conflict markers when available.
1257 (smerge--get-marker): New function.
1258 (smerge-end-re, smerge-base-re): Add subgroup.
1259
623891e5
SM
12602013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 * frame.el (handle-focus-in, handle-focus-out): Add missing
1263 interactive spec.
1264
05ca27d8
MA
12652013-11-25 Michael Albinus <michael.albinus@gmx.de>
1266
1267 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1268 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1269
511fa0d3
SM
12702013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1271
e82ad66c
SM
1272 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1273 (gomoku--last-pos): New var.
1274 (gomoku--intangible-chars): New const.
1275 (gomoku--intangible): New function.
1276 (gomoku-mode): Use it. Derive from special-mode.
1277 (gomoku-move-up): Adjust line count.
1278 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1279 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1280 Simplify accordingly.
1281
511fa0d3
SM
1282 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1283 Remove blink-cursor code.
1284 (blink-cursor-timer-function, blink-cursor-suspend):
1285 Don't special-case GUIs.
1286 (blink-cursor-mode): Use focus-in/out-hook.
1287
6f20dd03
DG
12882013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1289
1290 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1291 work when annotation is invisible (Bug#13886).
1292
431dec31 12932013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1294
1295 * json.el (json-alist-p): Only return non-nil if the alist has
1296 simple keys (Bug#13518).
1297
431dec31 12982013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1299
1300 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1301 when control-statement is the first statement in a buffer (Bug#15956).
1302
ee4f0261
DG
13032013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1304
1305 * imenu.el (imenu-generic-skip-comments-and-strings):
1306 New option (Bug#15560).
1307 (imenu--generic-function): Use it.
1308
c484f866
JS
13092013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1310
1311 * minibuffer.el (completion--in-region-1): Scroll the correct
1312 window. (Bug#13898)
1313
41ce6f70
BB
13142013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1315
b55aea38
BB
1316 * emacs-lisp/helpers.el: Add some string helpers.
1317 (string-trim-left): Removes leading whitespace.
1318 (string-trim-right): Removes trailing whitespace.
1319 (string-trim): Removes leading and trailing whitespace.
1320
41ce6f70
BB
1321 * subr.el (string-suffix-p): New function.
1322
3cfb6af3
GM
13232013-11-23 Glenn Morris <rgm@gnu.org>
1324
1325 * progmodes/python.el (python-shell-send-file):
1326 Add option to delete file when done. (Bug#15647)
1327 (python-shell-send-string, python-shell-send-region): Use it.
1328
c27924b7
IS
13292013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1330
e1b01c7f
IS
1331 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1332 to set buffer-read-only to t, never to nil. (Bug#15938)
1333
c27924b7
IS
1334 * textmodes/tex-mode.el (latex-noindent-environments):
1335 Add safe-local-variable property. (Bug#15936)
1336
17e0445b
GM
13372013-11-23 Glenn Morris <rgm@gnu.org>
1338
92f78ea3
GM
1339 * textmodes/enriched.el (enriched-mode): Doc fix.
1340 * emacs-lisp/authors.el (authors-renamed-files-alist):
1341 Add enriched.doc -> enriched.txt.
1342
17e0445b
GM
1343 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1344
965bb23a
LL
13452013-11-22 Leo Liu <sdl.web@gmail.com>
1346
1347 * progmodes/octave.el (inferior-octave-startup): Spit out error
1348 message.
1349
d19ffd64
BB
13502013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1351
1352 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1353 Improve docstring.
15ba2182
BB
1354 Add :version.
1355 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1356
7a7567d2
LL
13572013-11-22 Leo Liu <sdl.web@gmail.com>
1358
1359 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1360 (Bug#15076)
8c09f64b
LL
1361 (octave-help-mode): Adapt to change to help-mode-finish to use
1362 derived-mode-p on 2013-09-17.
1363 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1364 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1365
724bc265
LL
13662013-11-22 Leo Liu <sdl.web@gmail.com>
1367
1368 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1369 (inferior-octave-startup, inferior-octave-check-process)
1370 (inferior-octave-track-window-width-change)
1371 (octave-completion-at-point, octave-eldoc-function): Use it.
1372 (octave-kill-process): Provide confirmation. (Bug#10564)
1373
38637cca
LL
13742013-11-21 Leo Liu <sdl.web@gmail.com>
1375
511fa0d3
SM
1376 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1377 Fix obsolete variable comment-use-global-state.
38637cca 1378
06e752b4
RS
13792013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1380
511fa0d3
SM
1381 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1382 Add `octave-source-file'.
06e752b4
RS
1383 (octave-source-file): New function. (Bug#15935)
1384
0449d6cd 13852013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1386
1387 * net/eww.el (eww-local-regex): New variable.
1388 (eww): Use it to detect localhost and similar.
1389
b6ffa04a
LL
13902013-11-21 Leo Liu <sdl.web@gmail.com>
1391
1392 Add completion for command `ag'.
2021a200
LL
1393 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1394 (pcomplete/ag): New function.
1395 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1396
d1a6bccc
SM
13972013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1400 (bug#14646).
1401 (make-obsolete): Remove interactive spec.
1402
2df10228
GM
14032013-11-21 Glenn Morris <rgm@gnu.org>
1404
1405 * startup.el (command-line-1): Use path-separator with -L.
1406
86fd16b6
TZ
14072013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1408
1409 * emacs-lisp/package.el (describe-package-1): Add package archive
1410 to shown fields.
1411
0449d6cd 14122013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1413
1414 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1415 Change default to "# encoding: %s" to differentiate it from the
1416 default Ruby encoding comment template.
1417
dc7e8c17 14182013-11-20 era eriksson <era+emacsbugs@iki.fi>
1419
1420 * ses.el (ses-mode): Doc fix. (Bug#14748)
1421
f0cfa5fe
LL
14222013-11-20 Leo Liu <sdl.web@gmail.com>
1423
1424 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1425
826dc7b6
DN
14262013-11-19 Dan Nicolaescu <dann@gnu.org>
1427
1428 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1429 when rebase or bisect are in progress.
1430
a6e3a5d5
XF
14312013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1432
1433 * filenotify.el (file-notify-add-watch): Doc fix.
1434
f130cb76
LL
14352013-11-19 Leo Liu <sdl.web@gmail.com>
1436
e0855d7d
LL
1437 * obsolete/rcompile.el: Mark obsolete.
1438
f130cb76 1439 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1440 (compilation-goto-locus, compilation-find-file):
1441 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1442 (Bug#13594)
1443
1444 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1445 new parameter no-display-ok. Return either a window or nil
1446 but never a non-window value.
f130cb76 1447
1f35d401
SM
14482013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1449
25158c76
SM
1450 * electric.el (electric-indent-mode-map): Remove.
1451 (electric-indent-mode): Change the global-map instead (bug#15915).
1452
1453 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1454 Use add-function.
1f35d401 1455
9bc67baa
SM
14562013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1457
986545b5
SM
1458 * emacs-lisp/nadvice.el (remove-function): Align with
1459 add-function's behavior.
1460
9bc67baa
SM
1461 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1462 (gdb--string-regexp): New constant.
1463 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1464 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1465 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1466 submatch 1.
1467 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1468 Adjust use accordingly.
1469 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1470
56cd894e
AS
14712013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1472
1473 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1474 interpolation curlies (Bug#15914).
1475
014690de
JB
14762013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1477
1478 * calc/calc.el (calc-context-sensitive-enter): New variable.
1479 (calc-enter): Use `calc-context-sensitive-enter'.
1480
7e26a6c3
TZ
14812013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1482
1483 * progmodes/cfengine.el: Version bump.
1484 (cfengine-cf-promises): New defcustom to locate cf-promises.
1485 (cfengine3-vartypes): Add new "data" type.
1486 (cfengine3--current-word): New function to get current name-like
1487 word or its bounds.
1488 (cfengine3--current-function): New function to look up a CFEngine
1489 function's definition.
1490 (cfengine3-format-function-docstring): New function.
1491 (cfengine3-make-syntax-cache): New function.
1492 (cfengine3-documentation-function): New function: ElDoc glue.
1493 (cfengine3-completion-function): New function: completion glue.
1494 (cfengine3-mode): Set `compile-command',
1495 `eldoc-documentation-function', and add to
1496 `completion-at-point-functions'.
1497
355204dd
MA
14982013-11-16 Michael Albinus <michael.albinus@gmx.de>
1499
1500 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1501 `tramp-current-connection'.
1502
43cebc23
DG
15032013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1504
1505 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1506 nil/self/true/false with "end of symbol".
1507
a3fed6ff
BB
15082013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1509
1510 * subr.el (version-regexp-alist): Fix a typo.
1511
e675b3e4
MA
15122013-11-15 Michael Albinus <michael.albinus@gmx.de>
1513
1514 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1515 "en_US.utf8" and "LC_CTYPE" to "".
1516 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1517 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1518
a1f03e89
LL
15192013-11-15 Leo Liu <sdl.web@gmail.com>
1520
1521 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1522
5d9d9451
SM
15232013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1524
58362662
CS
1525 * progmodes/gud.el (ctl-x-map):
1526 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1527 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1528
6c1bf086
BB
15292013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1530
0d5363c4
BB
1531 * subr.el (version-regexp-alist):
1532 Recognize hg, svn and darcs versions as snapshot versions.
1533
4e9fc48c
BB
1534 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1535 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1536 (ruby--encoding-comment-required-p): Extract from
1537 `ruby-mode-set-encoding'.
1538 (ruby-mode-set-encoding): Add the ability to always insert an
1539 utf-8 encoding comment. Fix and simplify coding comment update
1540 logic.
6c1bf086 1541
2f7e72f8
MA
15422013-11-14 Michael Albinus <michael.albinus@gmx.de>
1543
1544 * net/tramp-gvfs.el (top): Run init code only when
1545 `tramp-gvfs-enabled' is not nil.
1546 (tramp-gvfs-enabled): Check also :system bus.
1547
0f137a73
SM
15482013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 Sync with upstream verilog-mode revision 78e66ba.
1551 * progmodes/verilog-mode.el (verilog-end-of-defun)
1552 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1553 (verilog-get-end-of-defun): Remove unused argument.
1554 (verilog-comment-depth): Remove unused local `e'.
1555 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1556 Don't pass arg to verilog-get-end-of-defun.
1557
1c276bdd
GM
15582013-11-14 Glenn Morris <rgm@gnu.org>
1559
1560 * obsolete/assoc.el (aget): Prefix dynamic variable.
1561
1562 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1563
ff6ec81d
SM
15642013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1565
1566 * widget.el, hfy-cmap.el: Remove bogus package version number.
1567
75f777b6
GM
15682013-11-13 Glenn Morris <rgm@gnu.org>
1569
1d43dba1
GM
1570 * replace.el (replace-eval-replacement):
1571 Try to give more helpful error message. (Bug#15836)
1572
ff4b7bd5
GM
1573 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1574 (archive-7z-update): Avoid custom type mismatches.
1575
75f777b6
GM
1576 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1577
11151a06
MA
15782013-11-13 Michael Albinus <michael.albinus@gmx.de>
1579
e675b3e4 1580 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1581 address can be empty.
1582
1583 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1584 Accept nil SWITCHES.
1585 (tramp-gvfs-handle-write-region): Implement APPEND.
1586
7b08f97e
DG
15872013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1588
1589 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1590 binary "|" operator and closing block args delimiter.
1591 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1592 (ruby-smie--implicit-semi-p): Not after "|" operator.
1593 (ruby-smie--closing-pipe-p): New function.
1594 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1595 (ruby-smie-rules): Indent after "|".
1596
f201cf3a
GM
15972013-11-12 Glenn Morris <rgm@gnu.org>
1598
1599 * ps-print.el (ps-face-attribute-list):
1600 Handle anonymous faces. (Bug#15827)
1601
e6f759f9
MR
16022013-11-12 Martin Rudalics <rudalics@gmx.at>
1603
1604 * window.el (display-buffer-other-frame): Fix doc-string.
1605 (Bug#15868)
1606
ecda65d4
SM
16072013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1610
7ce8fcc3
MA
16112013-11-11 Michael Albinus <michael.albinus@gmx.de>
1612
1613 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1614 (tramp-sh-handle-file-local-copy): Don't write a message when
1615 saving temporary files.
1616
1617 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1618 both directories are remote.
1619 (tramp-smb-handle-directory-files): Do not return double entries.
1620 Do not expand full file names.
1621 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1622 (tramp-smb-handle-write-region): Implement APPEND.
1623 (tramp-smb-get-stat-capability): Fix a stupid bug.
1624
7818df11
SM
16252013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1628
608c2085
NT
16292013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1630
1631 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1632 throwing error over malformed let/let* (bug#15814).
1633
122a7e46
SM
16342013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1635
1636 * iswitchb.el (iswitchb-mode): Mark obsolete.
1637
766284d9
GM
16382013-11-11 Glenn Morris <rgm@gnu.org>
1639
1640 * international/uni-bidi.el, international/uni-category.el:
1641 * international/uni-name.el, international/uni-numeric.el:
1642 Regenerate for Unicode 6.3.0.
1643
7072a4e9
MA
16442013-11-10 Michael Albinus <michael.albinus@gmx.de>
1645
1646 * net/tramp.el (tramp-methods):
1647 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1648 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1649
c9df215b
AS
16502013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1651
608c2085
NT
1652 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1653 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1654
fa47d796
DG
16552013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1656
1657 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1658 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1659 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1660 (ispell-complete-word): Call `ispell-lookup-words' with the value
1661 independent of `ispell-look-p'.
1662
1629a329
DG
16632013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1664
1665 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1666 Not after "||".
1667 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1668 their parent.
1669
ad16897c
SM
16702013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1673 (ruby-font-lock-keywords): Use backquote.
1674
ffa2df72
DG
16752013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1676
1677 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1678 (ruby-smie--backward-token): Only consider full-string matches.
1679
5b97b4c0
JD
16802013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1681
1682 * faces.el (describe-face): Add distant-foreground.
1683
71731c03
BB
16842013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1685
4e9fc48c
BB
1686 * progmodes/ruby-mode.el: Improve encoding comment handling.
1687 (ruby-encoding-magic-comment-style): New option.
1688 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1689 (ruby--insert-coding-comment, ruby--detect-encoding):
1690 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1691 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1692 to control the style of the auto-inserted encoding comment.
71731c03 1693
da3b328d
DG
16942013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1695
ad16897c
SM
1696 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1697 Use `smie-backward-sexp' with token argument.
da3b328d 1698
1606c2d3
MA
16992013-11-08 Michael Albinus <michael.albinus@gmx.de>
1700
1701 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1702 Remove instrumentation code.
1703
b0f4c320
GM
17042013-11-08 Glenn Morris <rgm@gnu.org>
1705
1706 * progmodes/autoconf.el (autoconf-mode):
1707 Tweak comment-start-skip. (Bug#15822)
1708
43668fb1
SM
17092013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1712 at bobp (bug#15826).
1713 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1714
daddb3fd
DH
17152013-11-08 Darren Hoo <darren.hoo@gmail.com>
1716
1717 * man.el (Man-start-calling): New macro, extracted from
1718 Man-getpage-in-background.
1719 (Man-getpage-in-background): Use it.
1720 (Man-update-manpage): New command.
1721 (Man-mode-map): Bind it.
1722
1f923923
DG
17232013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1724
1725 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1726 of "and", "or", "&&" and "||".
1727 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1728 argument. Prohibit opening curly brace because it could only be a
1729 block opener in that position.
daddb3fd
DH
1730 (ruby-smie--forward-token, ruby-smie--backward-token):
1731 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1732 arguments.
1733 (ruby-smie--indent-to-stmt): New function, seeks the end of
1734 previous statement or beginning of buffer.
1735 (ruby-smie-rules): Use it.
1736 (ruby-smie-rules): Check if there's a ":" before a curly block
1737 opener candidate; if there is, it's a hash.
1738
3220d527
SM
17392013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1742 (cl--block-wrapper): Fix last accidental change.
1743
1eb1f9e0
MA
17442013-11-07 Michael Albinus <michael.albinus@gmx.de>
1745
1746 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1747 Instrument, in order to hunt failure on hydra.
1748
e6e4db3c
NT
17492013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1750
1751 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1752 malformed bindings form (bug#15814).
1753
b420ccfc
DG
17542013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1755
1756 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1757 "." compared to " @ ". This incidentally fixes some indentation
1758 examples with "do".
e6e4db3c 1759 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1760 (ruby-smie-grammar): New tokens: "and" and "or".
1761 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1762 Exclude "and" and "or". Remove "do" in order to work around token
1763 priorities.
1764 (ruby-smie-rules): Add all infix tokens. Handle the case of
1765 beginning-of-buffer.
b420ccfc 1766
6b4ac03e
GM
17672013-11-06 Glenn Morris <rgm@gnu.org>
1768
1769 * Makefile.in (setwins_almost, setwins_for_subdirs):
1770 Avoid accidental matches.
1771
5ca114d1
SM
17722013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1773
1774 * menu-bar.el (popup-menu): Use key-binding.
1775
f72552bd
EZ
17762013-11-06 Eli Zaretskii <eliz@gnu.org>
1777
1778 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1779 menus, support also the menus produced by minor modes.
1780 (Bug#15817)
1781
5d5c701e
LL
17822013-11-06 Leo Liu <sdl.web@gmail.com>
1783
1784 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1785 DISTANCE to bound the search. All uses changed. (Bug#15808)
1786
0a8b75e2
GM
17872013-11-06 Glenn Morris <rgm@gnu.org>
1788
1789 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1790 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1791 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1792
a35287ea
SM
17932013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1794
feca4e2d
SM
1795 * electric.el (electric-indent-just-newline): New command.
1796 (electric-indent-mode-map): New keymap.
1797 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1798 Re-add :group which weren't redundant.
1799
a35287ea
SM
1800 * electric.el (electric-indent-local-mode): New minor mode.
1801 (electric-indent-functions-without-reindent): New var.
1802 (electric-indent-post-self-insert-function): Use it.
1803 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1804
375761b2
EZ
18052013-11-05 Eli Zaretskii <eliz@gnu.org>
1806
9a6ad735
EZ
1807 * international/quail.el (quail-help): Be more explicit about the
1808 meaning of the labels shown on the keys. (Bug#15800)
1809
375761b2
EZ
1810 * startup.el (normal-top-level): Load the subdirs.el files before
1811 setting the locale environment. (Bug#15805)
1812
520a6e4a
SM
18132013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1814
0acfafef
SM
1815 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1816 via arguments so as to get the right ones (bug#15418).
1817
520a6e4a
SM
1818 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1819
15826261
MA
18202013-11-05 Michael Albinus <michael.albinus@gmx.de>
1821
1822 Fix problems found while writing a test suite.
1823
1824 * net/tramp-compat.el (tramp-compat-load): New defun.
1825 * net/tramp.el (tramp-handle-load): Use it.
1826
1827 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1828 "(numberp ok-if-already-exists)" correctly.
1829
d35f31a4
XF
18302013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1831
1832 * international/characters.el (glyphless-char-display-control):
1833 Add usage note.
1834
ae93bc74
BB
18352013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1836
520a6e4a
SM
1837 * progmodes/python.el (python-mode):
1838 * progmodes/scheme.el (scheme-mode):
1839 * progmodes/prolog.el (prolog-mode):
1840 * progmodes/ruby-mode.el (ruby-mode):
1841 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1842 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 1843
0ade65b5
SM
18442013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1845
a0d5f7a4
SM
1846 * rect.el (rectangle--highlight-for-redisplay):
1847 * emacs-lisp/smie.el (smie--next-indent-change):
1848 Use buffer-chars-modified-tick.
1849
c93f3f5c
SM
1850 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1851
0ade65b5
SM
1852 * electric.el (electric-indent-post-self-insert-function):
1853 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1854
ef9dd188
HE
18552013-11-04 Helmut Eller <eller.helmut@gmail.com>
1856
1857 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1858
306e7308
NT
18592013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1860
1861 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1862 (bug#15786).
1863
e5afbcac
SM
18642013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1d01ad41
SM
1866 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1867
e5afbcac
SM
1868 * progmodes/python.el: Fix up last change.
1869 (python-shell--save-temp-file): New function.
1870 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1871 `string' comes from the current buffer.
1872 (python-shell-send-string-no-output): Remove `msg' arg.
1873 (python--use-fake-loc): New var.
1874 (python-shell-buffer-substring): Obey it. Try to compensate for the
1875 extra coding line added by python-shell--save-temp-file.
1876 (python-shell-send-region): Use python-shell--save-temp-file and
1877 python-shell-send-file directly. Add `nomain' argument.
1878 (python-shell-send-buffer): Use python-shell-send-region.
1879 (python-electric-pair-string-delimiter): New function.
1880 (python-mode): Use it.
1881
d0065ff1
EZ
18822013-11-04 Eli Zaretskii <eliz@gnu.org>
1883
1884 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1885 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1886 environment and decoding all of the default-directory's to here
1887 from command-line.
1888 (command-line): Decode also argv[0].
1889
1890 * loadup.el: Error out if default-directory is a multibyte string
1891 when we are dumping.
1892
1893 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1894
7397c587
TZ
18952013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1896
1897 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
1898 (package-menu--print-info, package-menu--archive-predicate):
1899 Add Archive column to package list.
7397c587 1900
b27cc9fc
MA
19012013-11-04 Michael Albinus <michael.albinus@gmx.de>
1902
1903 Fix problems found while writing a test suite.
1904
1905 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1906 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1907 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1908 to nil when running original file name handler. Otherwise,
1909 there are problems with constructs like "$$FOO".
1910
1911 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1912 for `localname'.
1913
d8c4f18a
BB
19142013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1915
7b530552
BB
1916 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1917
1918 * subr.el (version<, version<=, version=):
1919 Update docstrings with information for snapshot versions.
1920
d8c4f18a
BB
1921 * helpers.el: New library for misc helper functions.
1922 (hash-table-keys): New function returning a list of hash keys.
1923 (hash-table-values): New function returning a list of hash values.
1924
dca01b09
DG
19252013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1926
1927 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1928 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1929
0a749fa0
MN
19302013-11-04 Michal Nazarewicz <mina86@mina86.com>
1931
1932 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1933 checking whether point is after a 1-letter word.
1934
19352013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
1936
1937 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1938 Don't infloop when expanding region over `multiline' syntax-type that
1939 begins a line (bug#15778).
1940
4aca7145
SM
19412013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1942
1943 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1944 Make it into a proper minor mode.
1945 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1946 (rectangle-mark-mode-map): New keymap.
1947 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1948
a0833f62
GM
19492013-11-04 Glenn Morris <rgm@gnu.org>
1950
1951 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1952
e61845c1
SM
19532013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1954
1955 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1956 (ruby-smie-rules): Use smie-rule-parent instead.
1957
1958 * emacs-lisp/smie.el (smie-rule-parent): Always call
1959 smie-indent-virtual rather than only for hanging tokens.
1960 (smie--next-indent-change): New helper command.
1961
62942f89
GM
19622013-11-03 Glenn Morris <rgm@gnu.org>
1963
1964 * Makefile.in (abs_srcdir): Remove.
1965 (emacs): Unset EMACSLOADPATH.
1966
b0b9e592
GM
19672013-11-02 Glenn Morris <rgm@gnu.org>
1968
18ba6a33 1969 * Makefile.in (EMACS): Use a relative filename.
8061810d 1970 (abs_top_builddir): Remove.
18ba6a33
GM
1971 (custom-deps, finder-data, autoloads): Use --chdir.
1972
6a8b929e
GM
1973 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1974
c617f3d0
GM
1975 Use relative filenames in TAGS files.
1976 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1977 (lisptagsfiles4, TAGS): Use relative file names.
1978 (TAGS-LISP): Remove.
1979 (maintainer-clean): No more TAGS-LISP file.
1980
b0b9e592
GM
1981 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1982 (lisptagsfiles4): Use absolute filenames again.
1983 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1984 Remove all *loaddefs files, not just the first. Remove esh-groups.
1985 (maintainer-clean): Delete TAGS, TAGS-LISP.
1986
d1c0ea6a
BB
19872013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1988
e61845c1
SM
1989 * emacs-lisp/package.el (package-version-join):
1990 Recognize snapshot versions.
d1c0ea6a 1991
684d71c6
BB
19922013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1993
1994 * subr.el (version-regexp-alist): Add support for snapshot versions.
1995
3d42b968
DG
19962013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1997
e61845c1
SM
1998 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1999 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2000 skip over our direct parent if it's an assignment token..
2001 (ruby-smie-rules): Use it.
2002
7ffd3721
DG
20032013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2004
2005 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2006 unconditionally. Remove now unnecessary forward declarations.
2007 Remove XEmacs-specific setup.
2008 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2009 (ruby-font-lock-syntactic-keywords)
2010 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2011 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2012 (ruby-here-doc-end-syntax): Remove.
2013 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2014 defined as function.
2015
a3996a2e
BB
20162013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2017
2018 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2019
6f9260e8
BB
20202013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2021
2022 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2023 table and abbrev table, `define-derived-mode' does that for us
2024 anyway.
2025
6014de84
GM
20262013-11-01 Glenn Morris <rgm@gnu.org>
2027
2028 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2029 files is atomic for some time, so no parallel compilation issues).
2030
3c334c14
JD
20312013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2032
2033 * faces.el (face-x-resources): Add :distant-foreground.
2034 (region): Use :distant-foreground for gtk and ns.
2035
9bc236c8
TH
20362013-11-01 Tassilo Horn <tsdh@gnu.org>
2037
5246583b 2038 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2039 BibTeX.
2040 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2041 (reftex-locate-bibliography-files): Us it.
2042
d14c81ee
CB
20432013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2044
0e7690de
CB
2045 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2046 allow comments in pbm files.
2047
d14c81ee
CB
2048 * term/w32-win.el (dynamic-library-alist): Support newer versions
2049 of libjpeg starting with v7: look only for the DLL from the
2050 version against which Emacs was built.
ac1bf374 2051 Support versions of libpng beyond 1.4.x.
019c8218 2052 Support libtiff v4.x.
d14c81ee 2053
983d0df5
BB
20542013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2055
2056 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2057 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2058 Add property :safe.
2059 (ruby-deep-arglist): Add property :type.
2060
47f58d85
GM
20612013-10-31 Glenn Morris <rgm@gnu.org>
2062
2063 * Makefile.in (custom-deps, finder-data): No need to setq the target
2064 variables, we are in the right directory and the defaults work fine.
2065
4f85b479
GM
20662013-10-30 Glenn Morris <rgm@gnu.org>
2067
ca7dd4cd
GM
2068 * Makefile.in (autoloads): Do not use abs_lisp.
2069
4f85b479
GM
2070 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2071 `newline' does not respect `standard-output', so use `princ'.
2072
cf59e41c
AA
20732013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2074
2075 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2076 * buff-menu.el (Buffer-menu--unmark): New function.
2077 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2078
74cf04fb
GM
20792013-10-30 Glenn Morris <rgm@gnu.org>
2080
b040b60e
GM
2081 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2082
f53d3815
GM
2083 * emacs-lisp/package.el (lm-homepage): Declare.
2084
5413d873
GM
2085 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2086 Fix doc typos.
2087
cecedb36
GM
2088 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2089
74cf04fb
GM
2090 * Makefile.in (finder-data, autoloads, update-subdirs)
2091 (compile-main, compile-clean, compile-always, bootstrap-clean):
2092 Check return value of cd.
2093 (compile-calc): Remove.
2094
195ee2f0
SM
20952013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2096
ae4002ce
SM
2097 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2098
2099 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2100 (byte-compile-and-folded): New function.
2101 (=, <, >, <=, >=): Use it.
2102
2103 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2104 (path-separator, null-device, buffer-file-coding-system)
2105 (lpr-headers-switches): Check system-type before modifying them.
2106 (find-buffer-file-type-coding-system): Mark obsolete.
2107 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2108 find-file-not-found-set-buffer-file-coding-system.
2109 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2110 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2111 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2112 (w32-direct-print-region-helper, w32-direct-print-region-function)
2113 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2114 * startup.el (normal-top-level-add-subdirs-to-load-path):
2115 * ps-print.el (ps-print-region-function):
2116 * lpr.el (print-region-function): Use new name.
2117
53b39e89
SM
2118 * subr.el (custom-declare-variable-early): Remove function.
2119 (custom-declare-variable-list): Remove var.
2120 (error, user-error): Remove `while' loop.
2121 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2122 (user-emacs-directory-warning, locate-user-emacs-file):
2123 Move to files.el.
2124 * simple.el (read-quoted-char-radix, read-quoted-char):
2125 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2126 Move from subr.el.
2127 * custom.el (custom-declare-variable-list): Don't process
2128 custom-declare-variable-list.
2129
195ee2f0
SM
2130 * progmodes/python.el (python-shell-get-buffer): New function.
2131 (python-shell-get-process): Use it.
2132 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2133 Python which encoding was used. Don't split-string since we only care
2134 about the first line. Return the temp-file, if applicable.
2135 (python-shell-send-region): Tell compile.el how to turn locations in
2136 the temp-file into locations in the source buffer.
2137
7e3561ee
SM
21382013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2139
4c9797cb
SM
2140 * subr.el (undefined): Add missing behavior from the C code for
2141 unbound keys.
2142
3472b6c6
SM
2143 * rect.el: Use lexical-binding. Add new rectangular region support.
2144 (rectangle-mark): New command.
2145 (rectangle--region): New var.
2146 (deactivate-mark-hook): Reset rectangle--region.
2147 (rectangle--extract-region, rectangle--insert-for-yank)
2148 (rectangle--highlight-for-redisplay)
2149 (rectangle--unhighlight-for-redisplay): New functions.
2150 (region-extract-function, redisplay-unhighlight-region-function)
2151 (redisplay-highlight-region-function): Use them to handle
2152 rectangular region.
2153 * simple.el (region-extract-function): New var.
2154 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2155 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2156 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2157 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2158 (redisplay-unhighlight-region-function)
2159 (redisplay-highlight-region-function): New vars.
2160 (redisplay--update-region-highlight): New function.
2161 (pre-redisplay-function): Use it.
2162 (exchange-point-and-mark): Don't deactivate the mark before
2163 reactivate-it anyway.
2164 * comint.el (comint-kill-region): Remove yank-handler argument.
2165 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2166 (delete-char): Remove property, since it's now part of their
2167 default behavior.
2168 (self-insert-iso): Remove property since this command doesn't exist.
2169
7e3561ee
SM
2170 * emacs-lisp/package.el (package--download-one-archive)
2171 (describe-package-1): Don't query the user about final newline.
2172
b9bef71f
DC
21732013-10-29 Daniel Colascione <dancol@dancol.org>
2174
2175 * net/tramp.el (tramp-methods): Document new functionality.
2176 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2177 tramp-hostname-checker if method provides one instead of scanning
2178 argument list for "%h" to decide hostname acceptability.
2179
4efc33f0
MA
21802013-10-28 Michael Albinus <michael.albinus@gmx.de>
2181
2182 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2183 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2184 Handle COPY-CONTENTS. (Bug#15737)
2185
ed42a877
DU
21862013-10-28 Daiki Ueno <ueno@gnu.org>
2187
2188 * epa-file.el
7e3561ee
SM
2189 (epa-file-cache-passphrase-for-symmetric-encryption):
2190 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2191
18c9f8a2
XF
21922013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2193
7a4bc7be
XF
2194 * image.el (defimage):
2195 (image-load-path): Doc fixes.
18c9f8a2 2196
b1e8e010
AM
21972013-10-27 Alan Mackenzie <acm@muc.de>
2198
2199 Indent statements in macros following "##" correctly.
7e3561ee
SM
2200 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2201 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2202
73d40d1e 22032013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2204
2205 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2206
c8c605ac
DG
22072013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2208
2209 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2210 after `=' is probably a new expression.
2211
ca7e59d4
RS
22122013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2213
2214 * man.el (man-imenu-title): New option.
2215 (Man-mode-map): Add menu. (Bug#15722)
2216 (Man-mode): Add imenu to menu.
2217
bae91342
DG
22182013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2219
2220 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2221 specific in what the first arg can be: a non-keyword word,
2222 string/regexp/percent literal opener, opening paren, or unary
2223 operator followed directly by word.
2224
eb89dc14
SM
22252013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2226
2227 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2228 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2229 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2230 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2231 Remove vars, they do not apply any more.
2232 (prolog-mode-abbrev-table): Remove redundant declaration.
2233 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2234 (prolog-use-smie): Remove.
2235 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2236 supported by prolog-electric-if-then-else-flag.
2237 (prolog-mode-variables, prolog-menu): Use setq-local.
2238 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2239 Remove binding to `Backspace' since this key doesn't exist anyway.
2240 Remove bindings for electric self-inserting keys.
2241 (prog-mode): Assume it's defined.
2242 (prolog-post-self-insert): New function.
2243 (prolog-mode): Use it.
2244 (prolog-indent-line, prolog-indent-level)
2245 (prolog-find-indent-of-matching-paren)
2246 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2247 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2248 (prolog-goto-next-paren, prolog-in-string-or-comment)
2249 (prolog-tokenize, prolog-inside-mline-comment)
2250 (prolog-find-start-of-mline-comment): Remove functions.
2251 (prolog-find-unmatched-paren, prolog-clause-end)
2252 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2253 (prolog-electric--if-then-else): Rename from
2254 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2255 (prolog-tokenize-searchkey): Remove const.
2256 (prolog-clause-info): Use forward-sexp.
2257 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2258 (prolog-electric-if-then-else): Remove commands.
2259 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2260 for use in post-self-insert-hook.
2261 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2262 for use in post-self-insert-hook.
2263 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2264 for use in post-self-insert-hook.
2265 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2266 adapt it for use in post-self-insert-hook.
2267
3dab0a83
MA
22682013-10-25 Michael Albinus <michael.albinus@gmx.de>
2269
2270 * emacs-lisp/ert.el (ert-run-tests-interactively):
2271 Use `completing-read'. (Bug#9756)
2272
fbfd0e1d
EZ
22732013-10-25 Eli Zaretskii <eliz@gnu.org>
2274
2275 * simple.el (line-move): Call line-move-1 instead of
2276 line-move-visual when the current window hscroll is zero, but
2277 temporary-goal-column indicates we will need to hscroll as result
2278 of the movement. (Bug#15712)
2279
963ce636
DG
22802013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2281
2282 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2283 capitalization. Use :visible instead of :active.
2284 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2285 commands that are used with SMIE.
2286 (ruby-do-end-to-brace): Insert space after `{'.
2287
a0be396a
JA
22882013-10-25 John Anthony <john@jo.hnanthony.com>
2289
f73754c9
JA
2290 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2291
2292 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2293
f5bf77df
GM
22942013-10-25 Glenn Morris <rgm@gnu.org>
2295
2296 * vc/vc.el (vc-print-log): Don't use a working revision unless
2297 one was explicitly specified. (Bug#15322)
2298
37241f62
SM
22992013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2300
2301 * subr.el (add-to-list): Preserve return value in compiler-macro
2302 (bug#15692).
2303
6408a65d
RS
23042013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2305
2306 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2307 result. Ask user to retry using '-all' flag. (Bug#15701)
2308
71e3276b
SM
23092013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * emacs-lisp/smie.el: New smie-config system.
2312 (smie-config): New defcustom.
2313 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2314 (smie-config-guess, smie-config-save): New commands.
2315 (smie-config--mode-local, smie-config--buffer-local)
2316 (smie-config--trace, smie-config--modefuns): New vars.
2317 (smie-config--advice, smie-config--mode-hook)
2318 (smie-config--setter, smie-config-local, smie-config--get-trace)
2319 (smie-config--guess-value, smie-config--guess): New functions.
2320 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2321 text properties. Treat "string fence" syntax like string syntax.
2322
2323 * progmodes/sh-script.el (sh-use-smie): Change default.
2324 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2325 (sh-var-value): Simplify by CSE.
2326 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2327 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2328 is used.
2329 (sh-guess-basic-offset): Use cl-incf.
2330 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2331
60db713e
HE
23322013-10-24 Helmut Eller <eller.helmut@gmail.com>
2333
2334 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2335 (bug#15699).
2336
8b251df6
GM
23372013-10-24 Glenn Morris <rgm@gnu.org>
2338
2339 * Makefile.in (abs_top_srcdir): Remove.
2340 (update-subdirs): Use relative path to update-subdirs.
2341
6be0e22b
EZ
23422013-10-24 Eli Zaretskii <eliz@gnu.org>
2343
2344 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2345 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2346 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2347 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2348
50b5b857
MA
23492013-10-24 Michael Albinus <michael.albinus@gmx.de>
2350
2351 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2352 (ert-test-skipped): New error.
2353 (ert-skip, ert-stats-skipped): New defuns.
2354 (ert--skip-unless): New macro.
2355 (ert-test-skipped): New struct.
2356 (ert--run-test-debugger, ert-test-result-type-p)
2357 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2358 (ert--stats-set-test-and-result, ert-char-for-test-result)
2359 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2360 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2361 Handle skipped tests. (Bug#9803)
50b5b857 2362
6f317c2f
GM
23632013-10-24 Glenn Morris <rgm@gnu.org>
2364
e43817c1
GM
2365 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2366
6f317c2f
GM
2367 * Makefile.in (abs_top_srcdir): New, set by configure.
2368 (update-subdirs): Correct build-aux location.
2369
369bbf71
DG
23702013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2371
8297b2cf
DG
2372 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2373 value, whether we could auto-deduce `backend', or not.
2374
369bbf71
DG
2375 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2376 with parameters" example. Simplify the "is it block or is it
2377 hash" check, but also make it more thorough.
2378
d5f1282f
MF
23792013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2380
2381 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2382
bc4aaa31
SM
23832013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2384
03d44565
SM
2385 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2386 { if it is hanging.
2387
bc4aaa31
SM
2388 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2389 :before ";".
2390
f493ff19
JB
23912013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2392
2393 * progmodes/compile.el (compilation-directory-matcher)
2394 (compilation-page-delimiter):
2395 Support GNU Make-4.0 directory quoting. (Bug#15678)
2396
c744a3b9
LL
23972013-10-23 Leo Liu <sdl.web@gmail.com>
2398
2399 * ido.el (ido-tidy): Handle read-only text.
2400
b8e3b0a9
GM
24012013-10-23 Glenn Morris <rgm@gnu.org>
2402
2403 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2404 (emacs, compile, compile-always):
2405 Quote entities that might contain whitespace.
2406 (custom-deps, finder-data, autoloads): Use abs_lisp.
2407 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2408 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2409 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2410
ee4282cd
DG
24112013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2412
bc4aaa31
SM
2413 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2414 Use `following-char'.
7790a270 2415
ee4282cd 24162013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2417
2418 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2419 * progmodes/ruby-mode.el (ruby-smie-rules):
2420 Remove corresponding workaround. Fix indentation rule of ";" so it
2421 also applies when ";" is the parent.
2422
d40a46d7
XF
24232013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2424
2425 * frame.el (display-screens, display-pixel-height)
2426 (display-pixel-width, display-mm-width, display-backing-store)
2427 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2428 (display-visual-class, display-monitor-attributes-list):
2429 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2430
a0f143c9
MG
24312013-10-22 Michael Gauland <mikelygee@amuri.net>
2432
2433 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2434 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2435
18cacc39
DG
24362013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2437
2438 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2439 TODO. Add "." after " @ ".
2440 (ruby-smie--at-dot-call): New function. Checks if point at method
2441 call with explicit target.
2442 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2443 to the method name tokens when it precedes them.
2444 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2445 (ruby-smie-rules): Add rule for indentation before and after "."
2446 token.
2447
df74c4be
SM
24482013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2449
c6dab55f
SM
2450 * textmodes/remember.el (remember-diary-extract-entries):
2451 Avoid add-to-list.
2452
df74c4be
SM
2453 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2454 an instruction.
2455
8c1ae481
DG
24562013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2457
cfef16c0
DG
2458 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2459 (ruby-smie--implicit-semi-p): Add new operator chars.
2460
8c1ae481
DG
2461 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2462 `smie-down-list'.
2463 (ruby-smie--args-separator-p): Check that there's no newline
2464 between method call and its arguments.
2465
87756ca9
AM
24662013-10-20 Alan Mackenzie <acm@muc.de>
2467
2468 Allow comma separated lists after Java "implements".
2469
df74c4be
SM
2470 * progmodes/cc-engine.el (c-backward-over-enum-header):
2471 Parse commas.
87756ca9
AM
2472 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2473 from a "disallowed" list in enum fontification.
2474
c25f8957
JB
24752013-10-20 Johan Bockgård <bojohan@gnu.org>
2476
df74c4be 2477 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2478
c25f8957
JB
2479 * progmodes/verilog-mode.el (verilog-mode): Don't set
2480 comment-indent-function globally.
2481
aca5fcdc
JD
24822013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2483
5f161884
JD
2484 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2485 Move Info menu item creation to ns-win.el.
2486
2487 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2488 in menu bar.
2489
aca5fcdc
JD
2490 * menu-bar.el: Move GNUStep specific menus...
2491
2492 * term/ns-win.el (ns-initialize-window-system): ... to here.
2493
914b7f98
SM
24942013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * simple.el (newline): Only run post-self-insert-hook when
2497 called interactively.
2498
846ffe77
JB
24992013-10-19 Johan Bockgård <bojohan@gnu.org>
2500
2501 * icomplete.el (icomplete-with-completion-tables): Add :version.
2502
033f22dd
AM
25032013-10-19 Alan Mackenzie <acm@muc.de>
2504
2505 Fix fontification bugs with constructors and const.
2506
2507 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2508 CASE 2) Remove the check for the absence of a suffix construct
2509 after a function declaration with only types (no identifiers) in
2510 the parentheses. Also, accept a function declaration with just a
2511 type inside the parentheses, if this type can be positively
2512 recognised as such, or if a prefix keyword like "explicit" nails
2513 down the construct as a declaration.
2514
58ce0cfc
EZ
25152013-10-19 Eli Zaretskii <eliz@gnu.org>
2516
2517 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2518 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2519 the problem whereby selecting a menu item that leads to a
2520 minibuffer prompt moves the cursor out of the minibuffer window,
2521 making it hard to type at the prompt. Suggested by Stefan Monnier
2522 <monnier@iro.umontreal.ca>.
2523
50e28e7d
JD
25242013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2525
2526 * menu-bar.el: Don't make Services menu.
2527
7deed4bf
RS
25282013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2529
2530 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2531 (ffap-alist): Use ffap-c++-mode for c++-mode.
2532 (ffap-c++-path): New variable.
2533 (ffap-c++-mode): New function.
2534
7bcb455b
JVJ
25352013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2536
2537 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2538
f0ff1cd5
MA
25392013-10-18 Michael Albinus <michael.albinus@gmx.de>
2540
2541 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2542 introduced on 2013-09-08, which results in an infinite loop
2543 requesting a password.
2544
d64da4b7
GM
25452013-10-18 Glenn Morris <rgm@gnu.org>
2546
2547 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2548
ea89ff08
WS
25492013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2550
2551 Sync with upstream verilog-mode revision 1a6ecec7.
2552 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2553 (verilog-mode-release-date): Remove.
2554 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2555 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2556 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2557 (verilog-auto-tieoff-ignore-regexp)
2558 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2559 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2560 (verilog-signals-with, verilog-dir-cache-preserving)
2561 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2562 Doc fixes.
2563 (verilog-case-fold): New option, to control case folding in
2564 regexp searches, bug597.
2565 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2566 (verilog-string-match-fold, verilog-in-paren-count)
2567 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2568 (verilog-at-close-struct-p): New functions.
2569 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2570 (verilog-forward-sexp, verilog-set-auto-endcomments):
2571 (verilog-leap-to-case-head): Handle "unique0" case.
2572 (verilog-in-constraint-re): New constant.
2573 (verilog-keywords, verilog-type-font-keywords):
2574 Add some SystemVerilog 1800-2012 keywords.
2575 (verilog-label-be): Remove unimplemented argument, bug669.
2576 (verilog-batch-execute-func): When batch expanding clear
2577 create-lockfiles to prevent spurious user locks when a file ends
2578 up not changing.
2579 (verilog-calculate-indent, verilog-calc-1)
2580 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2581 (verilog-do-indent): Fix indentation of nested constraints
2582 and structures.
2583 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2584 (verilog-auto-inst-param): Use verilog-string-match-fold.
2585 (verilog-read-inst-module-matcher):
2586 Fix AUTOINST on gate primitives with #1.
2587 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2588 Reads all user-defined typed variables.
2589 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2590 (verilog-signals-matching-regexp)
2591 (verilog-signals-not-matching-regexp, verilog-auto):
2592 Respect verilog-case-fold.
2593 (verilog-diff-report): Fix line count.
2594 (verilog-auto-assign-modport): Remove unused local `modi'.
2595 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2596 better handle multidimensional arrays.
2597 Fix packed array ports misadding bit index in AUTOINST, bug637.
2598 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2599 to not double-declare existing outputs and inputs, respectively.
2600 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2601 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2602 (verilog-sk-uvm-component): New skeleton.
2603 (verilog-submit-bug-report): Add verilog-case-fold,
2604 remove verilog-mode-release-date.
2605
ef566920
BR
26062013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2607
2608 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2609 as before.
2610
29df8a0b
RT
26112013-10-18 Reuben Thomas <rrt@sc3d.org>
2612
2613 * textmodes/remember.el (remember): set buffer-offer-save in
2614 remember buffers (bug#13566).
2615
04a19a79
DC
26162013-10-18 Daniel Colascione <dancol@dancol.org>
2617
2618 When evaluating forms in ielm, direct standard output to ielm
2619 buffer. Add new ielm-return-for-effect command. Remove trailing
2620 whitespace throughout.
2621
2622 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2623 (ielm-return-for-effect): New command.
2624 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2625 (ielm-eval-input): Accept optional `for-effect' parameter.
2626 Bind `standard-output' to stream we create using
04a19a79
DC
2627 `ielm-standard-output-impl'. Suppress printing result when
2628 `for-effect'.
2629 (ielm-standard-output-impl): New function.
2630 (inferior-emacs-lisp-mode): Explain new features in documentation.
2631
4c1f03ef
MA
26322013-10-17 Michael Albinus <michael.albinus@gmx.de>
2633
2634 Code cleanup.
2635
2636 * net/tramp.el (tramp-debug-message): Do not check for connection
2637 buffer.
2638 (tramp-message): Use "vector" connection property.
2639
2640 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2641 (tramp-equal-remote, tramp-eshell-directory-change)
2642 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2643 (tramp-adb-handle-rename-file)
2644 * net/tramp-cmds.el (tramp-list-remote-buffers)
2645 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2646 * net/tramp-compat.el (tramp-compat-process-running-p)
2647 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2648 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2649 (tramp-gvfs-handle-rename-file)
2650 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2651 (tramp-set-file-uid-gid)
2652 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2653 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2654 of `file-remote-p'.
2655
2656 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2657 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2658 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2659 (tramp-gw-open-network-stream): Suppress unrelated traces.
2660
2661 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2662 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2663 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2664 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2665 connection property.
2666
2667 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2668 persistency file.
4c1f03ef
MA
2669
2670 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2671 Refactor common code. Improve debug message.
2672 (tramp-maybe-open-connection)
2673 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2674 connection buffer too early.
2675
2676 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2677 from `tramp-smb-actions-with-acl'.
2678 (tramp-smb-actions-set-acl): New defconst.
2679 (tramp-smb-handle-copy-directory)
2680 (tramp-smb-action-get-acl): New defun, renamed from
2681 `tramp-smb-action-with-acl'.
2682 (tramp-smb-action-set-acl): New defun.
2683 (tramp-smb-handle-set-file-acl): Rewrite.
2684
642eb8b6
GM
26852013-10-17 Glenn Morris <rgm@gnu.org>
2686
2687 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2688
85527ff3
SM
26892013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2690
921c1d62
SM
2691 * skeleton.el (skeleton-newline): Remove.
2692 (skeleton-internal-1): Use (insert "\n") instead.
2693
e333fb10
SM
2694 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2695 let-bindings.
2696
85527ff3
SM
2697 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2698 forward-sexp-function while we redo its job (bug#15613).
2699
c8722a97
JB
27002013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2701
2702 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2703 represented by lists.
2704
7a550bbb
GM
27052013-10-16 Glenn Morris <rgm@gnu.org>
2706
2707 * tmm.el (tmm--history): New dynamic variable.
2708 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2709
f19da8ad
MA
27102013-10-16 Michael Albinus <michael.albinus@gmx.de>
2711
2712 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2713 (tramp-smb-errors): Add error messages.
2714 (tramp-smb-actions-with-acl): New defconst.
2715 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2716 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2717 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2718 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2719 (tramp-smb-get-stat-capability): Fix tests.
2720
a24b9961
DK
27212013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2722
2723 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2724 (bug#15580).
2725
62ad85e6
GM
27262013-10-16 Glenn Morris <rgm@gnu.org>
2727
0283d6b0
GM
2728 * ansi-color.el (ansi-color-drop-regexp):
2729 Add 1J, 1K, 2K. (Bug#15617)
2730
012e2f9f
GM
2731 * files.el (hack-local-variables--warned-lexical): New.
2732 (hack-local-variables):
2733 Warn about misplaced lexical-binding. (Bug#15616)
2734
62ad85e6
GM
2735 * net/eww.el (eww-render): Always set eww-current-url,
2736 and update header line. (Bug#15622)
2737 (eww-display-html): ... Rather than just doing it here.
2738
6456c0ea
EZ
27392013-10-15 Eli Zaretskii <eliz@gnu.org>
2740
2741 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2742 menu navigations commands.
2743
c2de5588
DK
27442013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2745
2746 * progmodes/subword.el (subword-capitalize): Be careful when
2747 the search for [[:alpha:]] fails (bug#15580).
2748
ccd4a783
EZ
27492013-10-14 Eli Zaretskii <eliz@gnu.org>
2750
2751 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2752 to commands that scroll the menu.
2753
1eda1d8d
DG
27542013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2755
c2de5588
DK
2756 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2757 Handle methods ending with `?' and `!'.
1eda1d8d 2758
e70181b8
AM
27592013-10-14 Akinori MUSHA <knu@iDaemons.org>
2760
2761 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2762 `japanese-cp932' to `cp932' to fix the problem where saving a
2763 source file written in Shift_JIS twice would end up having
2764 `coding: japanese-cp932' which Ruby could not recognize.
2765 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2766 in `ruby-encoding-map'.
2767 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2768 doesn't need to be explicitly declared in magic comment.
2769 (ruby-encoding-map): Add type declaration for better customize UI.
2770
9148ee92
GM
27712013-10-13 Glenn Morris <rgm@gnu.org>
2772
a5d38e34
GM
2773 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2774 Occur buffers are read-only. http://bugs.debian.org/720775
2775
9148ee92
GM
2776 * emacs-lisp/authors.el (authors-fixed-entries):
2777 Comment out old alpha stuff.
2778
a9ba094b
DG
27792013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2780
2781 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2782 to `after-save-hook' instead of `before-save-hook'.
2783 (ruby-mode-set-encoding): Use the value of coding system used to
2784 write the file. Call `basic-save-buffer-1' after modifying the
2785 buffer.
2786
7a068717
AM
27872013-10-13 Alan Mackenzie <acm@muc.de>
2788
2789 Fix indentation/fontification of Java enum with
2790 "implements"/generic.
2791
c2de5588
DK
2792 * progmodes/cc-engine.el (c-backward-over-enum-header):
2793 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2794 (c-inside-bracelist-p): Uses new function above.
2795 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2796 function above.
2797 (c-font-lock-enum-tail): Uses new function above.
2798
85b64f02
KH
27992013-10-13 Kenichi Handa <handa@gnu.org>
2800
2801 * international/mule-cmds.el (select-safe-coding-system): Remove a
2802 superfluous condition in chekcing whether a coding system is safe
2803 or not.
2804
fc7f501b
OK
28052013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2806
2807 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2808
fdcb2049
AP
28092013-10-13 Andreas Politz <politza@hochschule-trier.de>
2810
2811 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2812
8c106d17
GM
28132013-10-13 Glenn Morris <rgm@gnu.org>
2814
feab892d
GM
2815 * menu-bar.el (menu-bar-update-buffers):
2816 Unify Buffers menu prompt string. (Bug#15576)
2817
b22d0686
GM
2818 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2819
8c106d17
GM
2820 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2821 Add some entries.
2822 (authors-fixed-entries): Use accented form of name.
2823
1b12c797
SM
28242013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2825
650fa7bf 2826 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 2827 method calls (bug#15594).
650fa7bf
SM
2828 (ruby-smie--args-separator-p): New function.
2829 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2830 recognize paren-free method calls.
2831
1b12c797
SM
2832 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2833 internals of universal-argument.
2834
029619c8
EZ
28352013-10-11 Eli Zaretskii <eliz@gnu.org>
2836
2837 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
2838 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2839 dropped menu on second mouse click on the menu bar.
029619c8 2840
dd070019
SM
28412013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2842
2843 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2844 (explicit-shell-file-name): Declare.
2845 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2846 (sh-completion-at-point-function): New function.
2847 (sh-mode): Use it.
2848 (sh-smie--keyword-p): Remove unused argument.
2849 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2850 vars.
2851 (sh-set-shell): Always setup SMIE, even if we use the
2852 old indentation code.
2853
0922b826
DG
28542013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2855
b68e2926
DG
2856 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2857 cases of ? and =.
2858 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2859 predicate would return nil are almost non-existent.
2860 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2861
0922b826
DG
2862 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2863 cache also after commands that modify the buffer but don't move
2864 point.
2865
ee041f2d
SM
28662013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * env.el (substitute-env-in-file-name): New function.
2869 (substitute-env-vars): Extend the meaning of the optional arg.
2870
a5dab159
EZ
28712013-10-10 Eli Zaretskii <eliz@gnu.org>
2872
2873 * term/w32-win.el (dynamic-library-alist): Define separate lists
2874 of GIF DLLs for versions before and after 5.0.0 of giflib.
2875 (Bug#15531)
2876
0449d6cd 28772013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
2878
2879 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2880 not locked, use last revision and current source as
2881 defaults. (Bug#15569)
2882
2f6e161e
MY
28832013-10-10 Masatake YAMATO <yamato@redhat.com>
2884
2885 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2886 menu-bar is hidden.
2887
6c8413fc
MR
28882013-10-10 Martin Rudalics <rudalics@gmx.at>
2889
2890 * window.el (pop-to-buffer-same-window): Fix doc-string.
2891 (Bug#15492)
2892
20832de0
SM
28932013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2894
2895 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2896
c6e8ae77
AC
28972013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2898
2899 * calendar/icalendar.el (icalendar-import-file):
2900 Fix interactive spec. (Bug#15482)
2901
9db13baf
GM
29022013-10-10 Glenn Morris <rgm@gnu.org>
2903
9271e90e
GM
2904 * desktop.el (desktop-save): Default to saving in .emacs.d,
2905 since PWD is no longer in desktop-path by default. (Bug#15319)
2906
9db13baf
GM
2907 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2908 now that text mode has a menu with the same entry.
2909 (menu-bar-text-mode-auto-fill): Remove now unused func.
2910 * textmodes/text-mode.el (text-mode-map):
2911 Use auto-fill help text from menu-bar.el.
2912
a0be396a 29132013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
2914
2915 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2916
2edcd3c7
JL
29172013-10-09 Juri Linkov <juri@jurta.org>
2918
2919 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2920 instead of this-command-keys. Add universal-argument-more and
2921 universal-argument-minus to the list of prefix commands. (Bug#15568)
2922
574411d0
GM
29232013-10-09 Glenn Morris <rgm@gnu.org>
2924
14afa541
GM
2925 * vc/vc-svn.el (vc-svn-create-repo):
2926 Expand paths in file://... url. (Bug#15446)
2927
574411d0
GM
2928 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2929 Add some entries.
2930 (authors): Remove unused local variables.
2931
79804536
SM
29322013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * profiler.el: Create a more coherent calltree from partial backtraces.
2935 (profiler-format): Hide the tail with `invisible' so that C-s can still
2936 find the hidden elements.
2937 (profiler-calltree-depth): Don't recurse so enthusiastically.
2938 (profiler-function-equal): New hash-table-test.
2939 (profiler-calltree-build-unified): New function.
2940 (profiler-calltree-build): Use it.
2941 (profiler-report-make-name-part): Indent the calltree less.
2942 (profiler-report-mode): Add visibility specs for profiler-format.
2943 (profiler-report-expand-entry, profiler-report-toggle-entry):
2944 Expand the whole subtree when provided with a prefix arg.
2945
238150c8
DG
29462013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2947
2948 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2949 iuwu-mod token.
2950 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2951 hanging iuwu-mod token.
2952 (ruby-smie--forward-token): Do not include a dot after a token in
2953 that token.
2954 (ruby-smie--backward-token): Likewise.
2955
b0949cc4
JL
29562013-10-08 Juri Linkov <juri@jurta.org>
2957
2958 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2959 to isearch-other-control-char.
2960 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2961 and isearch-post-command-hook to post-command-hook.
2962 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2963 and isearch-post-command-hook from post-command-hook.
2964 (isearch-unread-key-sequence)
2965 (isearch-reread-key-sequence-naturally)
2966 (isearch-lookup-scroll-key, isearch-other-control-char)
2967 (isearch-other-meta-char): Remove functions.
2968 (isearch-pre-command-hook, isearch-post-command-hook):
2969 New functions based on isearch-other-meta-char rewritten
2970 relying on the new behavior of overriding-terminal-local-map
2971 that does not replace the local keymaps any more. (Bug#15200)
2972
4ed77415
EZ
29732013-10-08 Eli Zaretskii <eliz@gnu.org>
2974
2975 Support menus on text-mode terminals.
2976 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2977 functionality.
2978
2979 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2980
c2de5588
DK
2981 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2982 Move here from mouse.el.
4ed77415
EZ
2983 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2984 and arrow keys.
2985 (tty-menu-navigation-map): New map for TTY menu navigation.
2986
2987 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2988
2989 * frame.el (display-mouse-p): Report text-mode mouse as available
2990 on w32.
2991 (display-popup-menus-p): Report availability if mouse is
2992 available; don't condition on window-system.
2993
2994 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2995 (tty-menu-selected-face): New faces.
2996
b7d5bd82
TL
29972013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2998
06286513
SM
2999 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3000 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3001 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3002 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3003 New constants.
3004 (lisp-mode-variables): New `elisp' argument.
3005 (emacs-lisp-mode): Use it.
3006 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3007 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3008
b7d5bd82
TL
3009 * indent.el: Use lexical-binding.
3010 (indent-region): Add progress reporter.
3011 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3012 last step.
3013 (indent--next-tab-stop): New function to implement this behavior.
3014 (tab-to-tab-stop, move-to-tab-stop): Use it.
3015
30162013-10-08 Teemu Likonen <tlikonen@iki.fi>
3017
3018 * indent.el (indent-rigidly--current-indentation): New function.
3019 (indent-rigidly-map): New var.
3020 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3021
5ea75d23
BG
30222013-10-08 Bastien Guerry <bzg@gnu.org>
3023
3024 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3025
cc5da1ec
SM
30262013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3027
8ffa1a0b
SM
3028 * progmodes/perl-mode.el: Use lexical-binding.
3029 Remove redundant :group args.
3030 (perl-nochange): Change default to be closer to other major modes's
3031 standard behavior.
3032 (perl-indent-line): Don't consider text on current line as a
3033 valid beginning of function from which to indent.
3034
f2223371
SM
3035 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3036 with more than one argument (bug#15538).
3037
44256060
SM
3038 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3039
cc5da1ec
SM
3040 * vc/pcvs.el: Use lexical-binding.
3041 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3042 environment of `eval'.
3043 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3044 than a list of expressions. Adjust callers.
3045 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3046
0ea1599d
DG
30472013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3048
3049 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3050 case of the dot in a chained method call being on the following line.
0ea1599d 3051
da3e5ebb
SM
30522013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3053
2abb4e65
SM
3054 * electric.el (electric-indent-inhibit): New var.
3055 (electric-indent-post-self-insert-function): Use it.
3056 * progmodes/python.el (python-mode): Set it.
3057
d2e0e795
SM
3058 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3059 open braces.
3060
3061 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3062
bdc6b4c8
SM
3063 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3064 (css-mode): Use electric-indent-chars.
3065
da3e5ebb
SM
3066 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3067 (font-lock-beg, font-lock-end): Move before first use.
3068 (nxml-mode): Use syntax-propertize-function.
3069 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3070 (nxml-extend-after-change-region): Remove.
3071 * nxml/xmltok.el: Use lexical-binding.
3072 (xmltok-save): Use `declare'.
3073 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3074 * nxml/nxml-util.el: Use lexical-binding.
3075 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3076 Use `declare'.
3077 * nxml/nxml-ns.el: Use lexical-binding.
3078 (nxml-ns-save): Use `declare'.
3079 (nxml-ns-prefixes-for): Avoid add-to-list.
3080 * nxml/rng-match.el: Use lexical-binding.
3081 (rng--ipattern): Use cl-defstruct.
3082 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3083 (rng-cons-group-after, rng-subst-group-after)
3084 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3085 Use closures instead of `(lambda...).
3086
f8f91d5d
MA
30872013-10-07 Michael Albinus <michael.albinus@gmx.de>
3088
3089 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3090 of BEG and END.
3091
da3e5ebb
SM
3092 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3093 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3094 (tramp-gvfs-handle-insert-file-contents): Remove function.
3095
da3e5ebb
SM
3096 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3097 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3098
3099 * net/trampver.el: Update release number.
3100
7ccae3b1
SM
31012013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3102
55ca2c0d
SM
3103 * progmodes/compile.el (compilation-parse-errors):
3104 Use compilation--put-prop.
3105 (compilation--ensure-parse): Check compilation-multiline.
3106
731fc3ae
SM
3107 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3108
da3e5ebb
SM
3109 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3110 lexical-binding.
a5833280 3111
2e7ba2c2
SM
3112 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3113
7ccae3b1
SM
3114 * progmodes/ruby-mode.el: Fix recently added tests.
3115 (ruby-smie-grammar): Add - and +.
3116 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3117 (ruby-smie--backward-id): New functions.
3118 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3119 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3120 any more.
3121
85698d63
LL
31222013-10-07 Leo Liu <sdl.web@gmail.com>
3123
3124 * register.el (register-preview-delay)
3125 (register-preview-functions): New variables.
3126 (register-read-with-preview, register-preview)
3127 (register-describe-oneline): New functions.
3128 (point-to-register, window-configuration-to-register)
3129 (frame-configuration-to-register, jump-to-register)
3130 (number-to-register, view-register, insert-register)
3131 (copy-to-register, append-to-register, prepend-to-register)
3132 (copy-rectangle-to-register): Use register-read-with-preview to
3133 read register. (Bug#15525)
3134
3986af6c
DS
31352013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3136
3137 * net/network-stream.el (network-stream-open-starttls): Don't add
3138 --insecure if it's already present, because that gnutls-cli
3139 rejects getting that parameter twice.
3140
5cd9cda9
DG
31412013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3142
3143 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3144 keyword, too.
3145
da9ea6d9
DG
31462013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3147
3148 * newcomment.el (comment-use-global-state): Change default value
3149 to t, mark obsolete (Bug#15251).
3150 (comment-beginning): In addition to `comment-to-syntax', check the
3151 value of `comment-use-global-state'.
3152
34d1a133
SM
31532013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3156 (ruby-comment-column): Follow the global default, by default.
3157 (ruby-smie-grammar): Add assignment syntax.
3158 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3159 open-paren, a comma, or a \.
3160 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3161 and line continuations.
3162 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3163 followed by implicit semi-colons. Add rule for string concatenation
3164 and for indentation at BOB.
3165 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3166
3167 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3168 calling next-sexp, since next-token may have skipped chars which
3169 next-sexp doesn't know should be skipped!
3170
6f6ab820
LL
31712013-10-05 Leo Liu <sdl.web@gmail.com>
3172
34d1a133
SM
3173 * progmodes/octave.el (octave-send-region):
3174 Call compilation-forget-errors.
6f6ab820 3175
34ca0f4c
XF
31762013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3177
3178 * vc/vc-svn.el (vc-svn-find-admin-dir):
3179 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3180 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3181 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3182 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3183
a27c1b72
SM
31842013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3187
258ab3bc
SM
31882013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3189
3190 * subr.el (read-passwd): Hide chars even when called within a context
3191 where after-change-functions is disabled (bug#15501).
3192 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3193 until we removed ourself from overriding-terminal-local-map.
3194
939fb29c
LL
31952013-10-04 Leo Liu <sdl.web@gmail.com>
3196
258ab3bc
SM
3197 * progmodes/octave.el (inferior-octave-mode):
3198 Call compilation-forget-errors.
939fb29c 3199
63bd7f35
XF
32002013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3201
3202 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3203
9e6229fa
MA
32042013-10-04 Michael Albinus <michael.albinus@gmx.de>
3205
3206 * net/secrets.el (secrets-create-collection): Add optional
3207 argument ALIAS. Use proper Label keyword. Append ALIAS as
3208 dbus-call-method argument. (Bug#15516)
3209
1dab32a3
LL
32102013-10-04 Leo Liu <sdl.web@gmail.com>
3211
3212 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3213 (inferior-octave-compilation-font-lock-keywords): New variables.
3214 (compilation-error-regexp-alist)
3215 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3216 (inferior-octave-mode): Use compilation-shell-minor-mode.
3217
6cad7ba3
JS
32182013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3219
3220 * minibuffer.el (completion--replace): Be careful that `end' might be
3221 a marker.
3222
acbadd00
DU
32232013-10-03 Daiki Ueno <ueno@gnu.org>
3224
3225 Add support for package signature checking.
3226 * emacs-lisp/package.el (url-http-file-exists-p)
3227 (epg-make-context, epg-context-set-home-directory)
3228 (epg-verify-string, epg-context-result-for)
3229 (epg-signature-status, epg-signature-to-string)
3230 (epg-check-configuration, epg-configuration)
3231 (epg-import-keys-from-file): Declare.
3232 (package-check-signature): New user option.
3233 (package-unsigned-archives): New user option.
3234 (package-desc): Add `signed' field.
3235 (package-load-descriptor): Set `signed' field if .signed file exists.
3236 (package--archive-file-exists-p): New function.
3237 (package--check-signature): New function.
3238 (package-install-from-archive): Check package signature.
3239 (package--download-one-archive): Check archive signature.
3240 (package-delete): Remove .signed file.
3241 (package-import-keyring): New command.
3242 (package-refresh-contents): Import default keyring.
3243 (package-desc-status): Add "unsigned" status.
3244 (describe-package-1, package-menu--print-info)
3245 (package-menu-mark-delete, package-menu--find-upgrades)
3246 (package-menu--status-predicate): Support "unsigned" status.
3247
adf2aa61
SM
32482013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3251 the new compilation scheme using the new byte-codes.
3252
3253 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3254 (byte-pophandler): New byte codes.
3255 (byte-goto-ops): Adjust accordingly.
3256 (byte-compile--use-old-handlers): New var.
3257 (byte-compile-catch): Use new byte codes depending on
3258 byte-compile--use-old-handlers.
3259 (byte-compile-condition-case--old): Rename from
3260 byte-compile-condition-case.
3261 (byte-compile-condition-case--new): New function.
3262 (byte-compile-condition-case): New function that dispatches depending
3263 on byte-compile--use-old-handlers.
3264 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3265 when we can.
3266
3267 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3268 Optimize under `condition-case' and `catch' if
3269 byte-compile--use-old-handlers is nil.
3270 (disassemble-offset): Handle new bytecodes.
3271
328a8179
SM
32722013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3273
3274 * subr.el (error): Use `declare'.
3275 (decode-char, encode-char): Use advertised-calling-convention instead
3276 of the docstring to discourage use of the `restriction' arg.
3277
15a1e936
DU
32782013-10-03 Daiki Ueno <ueno@gnu.org>
3279
3280 * epg.el (epg-verify-file): Add a comment saying that it does not
3281 notify verification error as a return value nor a signal.
3282 (epg-verify-string): Ditto.
3283
376f862a
KR
32842013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3285
3286 * progmodes/compile.el (compilation-start): Try globbing the arg to
3287 `cd' (bug#15417).
3288
a2f93a5f
MA
32892013-10-02 Michael Albinus <michael.albinus@gmx.de>
3290
3291 Sync with Tramp 2.2.8.
3292
3293 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3294 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3295 * net/trampver.el: Update release number.
3296
0daa0804
JD
32972013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3298
3299 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3300 and default-process-coding-system for darwin only.
3301
abd1ae34
SM
33022013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3303
3304 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3305
be4e325d
MH
33062013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3307
3308 * vc/vc-git.el (vc-git-grep): Disable pager.
3309
e9155c4a
DG
33102013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3311
494e898b
DG
3312 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3313 Use :url instead of :homepage, as per
3314 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3315
e9155c4a
DG
3316 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3317 non-nil, use `syntax-ppss' (Bug#15251).
3318
481a8e0f
RS
33192013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3320
be4e325d
MH
3321 * progmodes/octave.el (inferior-octave-startup-file):
3322 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3323
056453c6
DG
33242013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3325
be4e325d
MH
3326 * emacs-lisp/package.el (package-desc-from-define):
3327 Accept additional arguments as plist, convert them to an alist and store
3328 them in the `extras' slot.
056453c6
DG
3329 (package-generate-description-file): Convert extras alist back to
3330 plist and append to the `define-package' form arguments.
3331 (package--alist-to-plist): New function.
3332 (package--ac-desc): Add `extras' slot.
3333 (package--add-to-archive-contents): Check if the archive-contents
3334 vector is long enough, and if it is, pass its `extras' slot value
3335 to `package-desc-create'.
3336 (package-buffer-info): Call `lm-homepage', pass the returned value
3337 to `package-desc-from-define'.
3338 (describe-package-1): Render the homepage button (Bug#13291).
3339
be4e325d
MH
3340 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3341 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3342
832966e5
JD
33432013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3344
3345 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3346 and default-process-coding-system to utf-8-unix (Bug#15402).
3347
6cfe977d
XF
33482013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3349
3350 * subr.el (looking-back): Do not recommend using looking-back.
3351
38de11bd
AM
33522013-09-28 Alan Mackenzie <acm@muc.de>
3353
3354 Fix indentation/fontification of Java enum with "implements".
3355
3356 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3357 regexp which matches "implements", etc., in Java.
3358 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3359 specifier clauses coming after "enum".
3360 * progmodes/cc-fonts.el (c-font-lock-declarations)
3361 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3362 after "enum".
3363
1610938f
JD
33642013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3365
3366 * faces.el (region): Change ns_selection_color to
3367 ns_selection_fg_color, add ns_selection_bg_color.
3368
e090f499
LL
33692013-09-28 Leo Liu <sdl.web@gmail.com>
3370
4d2e94d1
LL
3371 * progmodes/octave.el (inferior-octave-completion-table)
3372 (inferior-octave-completion-at-point): Minor tweaks.
3373
e090f499
LL
3374 * textmodes/ispell.el (ispell-lookup-words): Rename from
3375 lookup-words. (Bug#15460)
3376 (lookup-words): Obsolete.
3377 (ispell-complete-word, ispell-command-loop): All uses changed.
3378
7e138a62
RS
33792013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3380
3381 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3382 (octave-mode-menu): Add octave-send-buffer.
3383 (octave-send-buffer): New function.
3384
5af5ed08
RS
33852013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3386
3387 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3388 octave-lookfor.
3389 (octave-mode-menu): Add octave-lookfor.
3390 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3391 octave-lookfor.
3392 (octave-lookfor): New function.
3393
3b7b2692
SM
33942013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3395
3396 * emacs-lisp/cl-macs.el:
3397 (cl--loop-destr-temps): Remove.
3398 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3399 its convention.
3400 (cl--loop-set-iterator-function): New function.
3401 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3402 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3403 Bind `it' with `let' instead of substituting it with `cl-subst'.
3404 (cl--unused-var-p): New function.
3405 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3406 Eliminate some unused variable warnings (bug#15326).
3407
529fb53f
TH
34082013-09-27 Tassilo Horn <tsdh@gnu.org>
3409
3410 * doc-view.el (doc-view-scale-reset): Rename from
3411 `doc-view-reset-zoom-level'.
3412 (doc-view-scale-adjust): New command.
3413 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3414 `doc-view-scale-adjust'.
3415
0550c95a
TH
34162013-09-26 Tassilo Horn <tsdh@gnu.org>
3417
3418 * doc-view.el (doc-view-reset-zoom-level): New command.
3419 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3420 zoom commands (bug#15466).
3421
6950f152
KH
34222013-09-26 Kenichi Handa <handa@gnu.org>
3423
3424 * international/quail.el (quail-help): Make it not a command.
3425
39587580
LL
34262013-09-26 Leo Liu <sdl.web@gmail.com>
3427
3428 * minibuffer.el (completion-all-sorted-completions): Make args
3429 optional as they are.
3430
00578659
DC
34312013-09-25 Daniel Colascione <dancol@dancol.org>
3432
3433 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3434 specs are and that they're not evaluated.
3435
0c173878
SS
34362013-09-24 Sam Steingold <sds@gnu.org>
3437
3438 * midnight.el (clean-buffer-list-kill-regexps)
3439 (clean-buffer-list-kill-buffer-names): Update for the new Man
3440 buffer naming which includes the object name.
3441
84998447
SM
34422013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3443
3444 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3445 (eshell-parse-command, eshell-parse-pipeline): Use it since
3446 eshell-separate-commands requires a dynamic scoped var.
3447 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3448
33215353
LL
34492013-09-23 Leo Liu <sdl.web@gmail.com>
3450
3451 * autoinsert.el (auto-insert-alist): Make the value of
3452 lexical-binding match its file setting.
3453
57b16162
JB
34542013-09-23 Juanma Barranquero <lekktu@gmail.com>
3455
c8af4e67
JB
3456 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3457
57b16162
JB
3458 * autoarg.el (autoarg-kp-digit-argument):
3459 * electric.el (Electric-command-loop):
3460 * kmacro.el (kmacro-step-edit-insert):
3461 Do not set universal-argument-num-events.
3462
7186ba60
LL
34632013-09-22 Leo Liu <sdl.web@gmail.com>
3464
3465 * files.el (interpreter-mode-alist): Add octave.
3466
ece15004
AM
34672013-09-21 Alan Mackenzie <acm@muc.de>
3468
3469 C++: fontify identifier in declaration following "public:" correctly.
3470 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3471 to match "public", etc.
3472 (c-decl-prefix-re): Add ":" into the C++ value.
3473 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3474 bit. Add a check for a ":" preceded by "public", etc.
3475
75d83e22
EZ
34762013-09-21 Eli Zaretskii <eliz@gnu.org>
3477
3478 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3479 recognized by GDB 7.5 and later.
3480
d052d3bd
XF
34812013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3482
3483 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3484
31dca772
R
34852013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * subr.el (internal--call-interactively): New const.
3488 (called-interactively-p): Use it (bug#3984).
3489
98ccf24e
XF
34902013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3491
3492 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3493 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3494 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3495
c39cc7d1
SM
34962013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3499 (eshell-ls-orig-insert-directory): Remove.
3500 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3501 (eshell-ls-use-in-dired): Use advice-add/remove.
3502 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3503 Add `orig-fun' arg for use in :around advice.
3504 Make it check (redundantly) eshell-ls-use-in-dired.
3505
9a0289a2
GM
35062013-09-19 Glenn Morris <rgm@gnu.org>
3507
a2c501b8
GM
3508 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3509
c440407a
GM
3510 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3511
9a0289a2
GM
3512 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3513
85e05915
MA
35142013-09-19 Michael Albinus <michael.albinus@gmx.de>
3515
3516 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3517 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3518 (tramp-get-remote-python): New defuns.
3519 (tramp-get-remote-uid-with-perl)
3520 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3521 contributed by yary <not.com@gmail.com> (tiny change).
3522 (tramp-get-remote-uid-with-python)
3523 (tramp-get-remote-gid-with-python): New defuns. Python code
3524 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3525 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3526
ce503312
GM
35272013-09-19 Glenn Morris <rgm@gnu.org>
3528
f7544773
GM
3529 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3530
72fd2877
GM
3531 * eshell/em-unix.el (eshell-remove-entries):
3532 Rename argument to avoid name-clash with global `top-level'.
3533
336b5a56
GM
3534 * eshell/esh-proc.el (eshell-kill-process-function):
3535 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3536 (eshell-reset-after-proc): Remove unused arg `proc'.
3537
57a3a53d
GM
3538 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3539 (directory-files-and-attributes): Mark unused arg.
3540
3261d4af
GM
3541 * eshell/em-unix.el (eshell-remove-entries):
3542 Remove unused arg `path'. Update callers.
3543
8e51b5d0
GM
3544 * eshell/em-hist.el (eshell-hist-parse-arguments):
3545 Remove unused arg `silent'. Update callers.
3546
ce503312
GM
3547 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3548 Fix (f)boundp mix-up.
3549
3550 * eshell/em-smart.el (eshell-smart-scroll-window)
3551 (eshell-disable-after-change):
336b5a56 3552 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3553
ee3ce8a7
AM
35542013-09-18 Alan Mackenzie <acm@muc.de>
3555
3556 Fix fontification of type when followed by "const".
3557 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3558 "known" types from fontification.
3559
ec9177ba
GM
35602013-09-18 Glenn Morris <rgm@gnu.org>
3561
7bb3e768
GM
3562 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3563 (chart-face-list): Drop Emacsen without display-color-p.
3564
5148da15
GM
3565 * net/eww.el (libxml-parse-html-region): Declare.
3566 (eww-display-html): Explicit error if no libxml2 support.
3567
2f68e157
GM
3568 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3569
9019d095
GM
3570 * image.el (image-type-from-buffer, image-multi-frame-p):
3571 Remove --without-x warning/error.
67645389 3572
5f30349b 3573 * mouse.el (mouse-yank-primary):
45069b2e 3574 * term.el (term-mouse-paste):
5f30349b
GM
3575 Reorder to silence --without-x compilation.
3576
cd8edbbe
GM
3577 * mpc.el (doc-view-mode): Silence --without-x compilation.
3578
8a78544e
GM
3579 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3580 Silence --without-x compilation.
3581
12679bfd
GM
3582 * progmodes/gud.el (gud-find-file, gud-mode):
3583 Silence --without-x compilation.
3584 (tooltip-mode): Declare.
30810a05 3585
f0047cb9
GM
3586 * wdired.el (dired-backup-overwrite): Remove declaration.
3587 (wdired-mode-map): Add doc string.
3588
e740f9d2
GM
3589 * custom.el (x-get-resource): Declare.
3590
92d77c89
GM
3591 * eshell/em-glob.el (ange-cache):
3592 * eshell/em-unix.el (ange-cache): Declare.
3593
76e69577
GM
3594 * faces.el (x-display-list, x-open-connection, x-get-resource):
3595 Declare.
7e58af4b
GM
3596
3597 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3598 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3599 Declare.
76e69577 3600
4bd4c0af 3601 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3602
ffb82dbd
GM
3603 * net/gnutls.el (gnutls-log-level): Declare.
3604
986ed135
GM
3605 * net/shr.el (image-size, image-animate): Declare.
3606
e740f9d2
GM
3607 * simple.el (font-info): Declare.
3608
d2f3e9f8
GM
3609 * subr.el (x-popup-dialog): Declare.
3610
047a1a4c
GM
3611 * term/common-win.el (x-select-enable-primary)
3612 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3613 Declare.
3614
f4a1d572
GM
3615 * term/ns-win.el (x-handle-args): Declare.
3616
e843de77
GM
3617 * term/x-win.el (x-select-enable-clipboard): Declare.
3618
5fa89513
GM
3619 * term/w32-win.el (create-default-fontset): Declare.
3620
38702b5b
GM
3621 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3622 Declare.
3623
e740f9d2
GM
3624 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3625 (fit-frame-to-buffer): Explicit error if --without-x.
3626 (mouse-autoselect-window-select): Silence compiler.
3627
49a053fc
GM
3628 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3629
3630 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3631 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3632 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3633 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3634 Remove unused local variables.
3635
3636 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3637
ec9177ba
GM
3638 * textmodes/two-column.el: Make 2C-split work for --without-x.
3639 (scroll-bar-columns): Autoload.
3640 (top-level): Require fringe when compiling.
3641
9f25cb77
LL
36422013-09-18 Leo Liu <sdl.web@gmail.com>
3643
3644 * subr.el (add-hook): Robustify to handle closure as well.
3645
2b42da98
GM
36462013-09-17 Glenn Morris <rgm@gnu.org>
3647
3648 * simple.el (messages-buffer-mode-map): Unbind "g".
3649
e8b66a6a
SM
36502013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3651
9c0ad4f7
SM
3652 * help-mode.el (help-mode-finish): Use derived-mode-p.
3653 Remove obsolete highlighting.
3654
7a806dfb
SM
3655 * play/life.el (life-mode): Use define-derived-mode. Derive from
3656 special-mode.
3657 (life): Let-bind inhibit-read-only.
3658 (life-setup): Avoid `setq'. Use `life-mode'.
3659
96dbf5a8
SM
3660 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3661 which should not be needed any more.
3662 (package-menu-refresh, package-menu-describe-package): Use user-error.
3663
e8b66a6a
SM
3664 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3665 (eshell-post-rewrite-command-hook): Make obsolete.
3666 (eshell-parse-command): Simplify.
3667 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3668 (eshell--cmd): Declare.
3669 (eshell-parse-pipeline): Remove unused var `final-p'.
3670 Pass a dynvar to eshell-post-rewrite-command-hook.
3671 Implement the new eshell-post-rewrite-command-function.
3672 (eshell-invoke-directly): Remove unused arg `input'.
3673 * eshell/esh-io.el (eshell-io-initialize):
3674 Use eshell-post-rewrite-command-function (bug#15399).
3675 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3676 adjust to new calling convention.
3677 (eshell-create-handles): Rename args to avoid clashing with dynvar
3678 `standard-output'.
3679
90582f05
GM
36802013-09-17 Glenn Morris <rgm@gnu.org>
3681
3682 * simple.el (messages-buffer-mode): New major mode.
3683 (messages-buffer): New function.
3684 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3685 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3686 (ert-run-test): Use `messages-buffer' function.
90582f05 3687 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3688 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3689 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3690
39eb0cb5 36912013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3692
3693 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3694
1f1e06e2
SM
3695 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3696
70568a90
SM
36972013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3698
504a0381
SM
3699 * icomplete.el (icomplete-in-buffer): New var.
3700 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3701 vars and replace them with functions.
3702 (icomplete-minibuffer-setup): Adjust accordingly.
3703 (icomplete--completion-table, icomplete--completion-predicate)
3704 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3705 New functions.
3706 (icomplete-forward-completions, icomplete-backward-completions)
3707 (icomplete-simple-completing-p, icomplete-exhibit)
3708 (icomplete-completions): Use them.
3709 (icomplete--in-region-buffer): New var.
3710 (icomplete--in-region-setup): New function.
3711 (icomplete-mode): Use it.
3712
70568a90
SM
3713 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3714 (bug#15379).
3715 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3716 return args and options.
3717 (eshell-eval-using-options): Use the new return value of
3718 eshell--do-opts to set the options's vars in their scope.
3719 (eshell--set-option): Rename from eshell-set-option.
3720 Add arg `opt-vals'.
3721 (eshell--process-option): Rename from eshell-process-option.
3722 Add arg `opt-vals'.
3723 (eshell--process-args): Use an `opt-vals' alist to store the options's
3724 values during their processing and return them additionally to the
3725 remaining args.
3726
578c21bc
DG
37272013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3728
3729 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3730 continuation character an operator, as far as indentation is
3731 concerned (Bug#15369).
3732
c089653d
MR
37332013-09-15 Martin Rudalics <rudalics@gmx.at>
3734
3735 * window.el (window--state-put-2): Don't process buffer state
3736 when buffer doesn't exist any more (Bug#15382).
3737
1e53bb4b
GM
37382013-09-15 Glenn Morris <rgm@gnu.org>
3739
30753242
GM
3740 * eshell/em-unix.el (eshell/rm):
3741 Make -f ignore missing files. (Bug#15373)
3742
1e53bb4b
GM
3743 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3744 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3745 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3746
0d8863b3
GM
37472013-09-14 Glenn Morris <rgm@gnu.org>
3748
3749 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3750
d3fc6549
GM
37512013-09-13 Glenn Morris <rgm@gnu.org>
3752
3753 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3754 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3755
fcd42c11
DA
37562013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3757
3758 * frame.el (x-focus-frame): Mark as declared in frame.c.
3759
7830899f
SM
37602013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3761
3762 * ls-lisp.el: Use advice-add.
3763 (original-insert-directory): Remove.
3764 (ls-lisp--insert-directory): Rename from insert-directory; add
3765 `orig-fun' argument.
3766 (insert-directory): Advise.
3767
84387cd2
EZ
37682013-09-13 Eli Zaretskii <eliz@gnu.org>
3769
3770 * term.el (term-emulate-terminal): Decode the command string
3771 before passing it to term-command-hook. (Bug#15337)
3772
35ffc6ba
GM
37732013-09-13 Glenn Morris <rgm@gnu.org>
3774
5c3f9bcc
GM
3775 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3776
2ada368a
GM
3777 * eshell/esh-ext.el (eshell-search-path): Declare.
3778
fcef2e13
GM
3779 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3780 Otherwise an error occurs if eshell-dirs module not loaded.
3781
35ffc6ba
GM
3782 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3783
35c3d36e
MA
37842013-09-13 Michael Albinus <michael.albinus@gmx.de>
3785
3786 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3787 `tramp-check-proper-host'. Check for a valid method name.
3788
3789 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3790 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3791 * net/tramp-sh.el (tramp-maybe-open-connection):
3792 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3793
3794 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3795 also for hash values.
3796
ae5e4c48
SM
37972013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3798
379add74
SM
3799 * term/ns-win.el (parameters): Don't declare as dynamic.
3800 (before-make-frame-hook): Don't add ineffective function.
3801
ae5e4c48
SM
3802 * eshell/*.el: Use lexical-binding (bug#15231).
3803
b5623270
KH
38042013-09-12 Kenichi Handa <handa@gnu.org>
3805
ae5e4c48 3806 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3807
30213927
GM
38082013-09-12 Glenn Morris <rgm@gnu.org>
3809
be94d713 3810 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3811 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3812
44915370
GM
3813 * subr.el (do-after-load-evaluation): Also give compiler warnings
3814 when obsolete files are used (except by obsolete files).
3815
a6ae021f
GM
3816 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3817 in the status output, assume `filename' is the first. (Bug#15322)
3818
40e64f0c
GM
3819 * vc/vc.el (vc-deduce-fileset): Doc fix.
3820
16d9f896
GM
3821 * calc/calc-help.el (Info-goto-node):
3822 * progmodes/cperl-mode.el (Info-find-node):
3823 * vc/ediff.el (Info-goto-node): Update declarations.
3824
dea01c6e
GM
3825 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3826
759880bf 3827 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
3828 (vc-bzr-pull): Require vc-dispatcher.
3829 * vc/vc-git.el (vc-compilation-mode): Declare.
3830 (vc-git-pull): Require vc-dispatcher.
3831
08d66420
GM
3832 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3833
30b626e9
GM
3834 * progmodes/octave.el (help-button-action): Declare.
3835
8c05cb10
GM
3836 * shell.el (shell-directory-tracker): Output error as a message
3837 rather than just returning it as a string.
3838 (shell-process-pushd): Remove useless use of message.
3839
30213927
GM
3840 * dframe.el (dframe-timer-fn):
3841 * files.el (dir-locals-read-from-file):
3842 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3843 (mpc-format):
3844 * reveal.el (reveal-post-command):
3845 * saveplace.el (load-save-place-alist-from-file):
3846 * shell.el (shell-resync-dirs):
3847 * w32-common-fns.el (x-get-selection-value):
3848 * emacs-lisp/copyright.el (copyright-find-copyright):
3849 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3850 * emulation/tpu-edt.el (tpu-copy-keyfile):
3851 * play/bubbles.el (bubbles--mark-neighbourhood):
3852 * progmodes/executable.el
3853 (executable-make-buffer-file-executable-if-script-p):
3854 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3855
d3b049e6
SM
38562013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3857
170266d0
SM
3858 Cleanup Eshell to rely less on dynamic scoping.
3859 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3860 last-value, and ext-command here. Bind `args' closer to `body'.
3861 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3862 (eshell--args): Declare new dynamic var.
3863 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3864 last-value, and ext-command. Pass `args' to `body'.
3865 (eshell-process-args): Bind eshell--args.
3866 (eshell-set-option): Use eshell--args.
3867 * eshell/eshell.el (eshell): Use derived-mode-p.
3868 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3869 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3870 (eshell-glob-function): Declare.
3871 * eshell/esh-util.el: Require cl-lib.
3872 (eshell-read-hosts-file): Avoid add-to-list.
3873 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3874 `err'.
3875 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3876 Declare.
3877 (eshell/diff): Remove unused var `err'.
3878 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3879 `killflag'.
3880 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3881 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3882 first use.
3883 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3884 Move declaration before first use.
3885 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
3886 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3887 rely on cl-return.
3888
56834f3b
GM
38892013-09-12 Glenn Morris <rgm@gnu.org>
3890
3891 * term/ns-win.el (global-map): Remove binding for ispell-next,
3892 deleted 1999-05-29. (Bug#15357)
3893
5c91a2b8
GM
38942013-09-11 Glenn Morris <rgm@gnu.org>
3895
da712f22
GM
3896 * echistory.el (electric-command-history): Remove call to deleted func.
3897
512e4cdc
GM
3898 * play/landmark.el (landmark-mode): Fix typos.
3899
d3506ca5
GM
3900 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3901 Check cvs-sort-ignore-file is bound.
3902
5c91a2b8
GM
3903 * savehist.el: No need for cl when compiling on Emacs.
3904
feeff482
SM
39052013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3906
656bd483
SM
3907 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3908 (bug#15338).
d3b049e6
SM
3909 (eshell-self-insert-command, eshell-send-invisible):
3910 Remove unused argument.
656bd483
SM
3911 (eshell-handle-control-codes): Remove unused var `orig'.
3912 Avoid delete-backward-char.
3913
feeff482
SM
3914 * files.el (set-auto-mode): Simplify a bit further.
3915
2a08047a
GM
39162013-09-11 Glenn Morris <rgm@gnu.org>
3917
3918 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3919 (set-auto-mode): Don't regexp-quote elements.
3920 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3921 * progmodes/cc-mode.el (interpreter-mode-alist):
3922 * progmodes/ruby-mode.el (interpreter-mode-alist):
3923 Revert previous change.
3924
34675540
SM
39252013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3926
1b3b87df
SM
3927 * play/snake.el (snake-mode):
3928 * play/mpuz.el (mpuz-mode):
3929 * play/landmark.el (lm-mode):
3930 * play/blackbox.el (blackbox-mode):
3931 * play/5x5.el (5x5-mode):
3932 * obsolete/options.el (Edit-options-mode):
3933 * net/quickurl.el (quickurl-list-mode):
3934 * net/newst-treeview.el (newsticker-treeview-mode):
3935 * mail/rmailsum.el (rmail-summary-mode):
3936 * mail/mspools.el (mspools-mode):
3937 * locate.el (locate-mode):
3938 * ibuffer.el (ibuffer-mode):
3939 * emulation/ws-mode.el (wordstar-mode):
3940 * emacs-lisp/debug.el (debugger-mode):
3941 * array.el (array-mode):
3942 * net/eudc.el (eudc-mode): Use define-derived-mode.
3943 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3944 Move initialization into declaration.
3945 (mairix-searches-mode): Use define-derived-mode.
3946 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3947 (eudc-edit-hotlist): Use dolist.
3948 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3949 (Man-mode): Use define-derived-mode.
3950 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3951 (Info-edit-mode): Use define-derived-mode.
3952 (Info-cease-edit): Use Info-mode.
3953 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3954 into declaration.
3955 (eshell-mode): Use define-derived-mode.
3956 * chistory.el (command-history-mode-map): Rename from
3957 command-history-map.
3958 (command-history-mode): Use define-derived-mode.
da712f22 3959 (Command-history-setup): Remove function.
1b3b87df
SM
3960 * calc/calc.el (calc-trail-mode-map): New var.
3961 (calc-trail-mode): Use define-derived-mode.
3962 (calc-trail-buffer): Set calc-main-buffer manually.
3963 * bookmark.el (bookmark-insert-annotation): New function.
3964 (bookmark-edit-annotation): Use it.
3965 (bookmark-edit-annotation-mode): Make it a proper major mode.
3966 (bookmark-send-edited-annotation): Use derived-mode-p.
3967 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3968 closer to its ideal place. Use \' to match EOS.
3969
34675540
SM
3970 * profiler.el (profiler-calltree-find): Use function-equal.
3971
6a5c15d9
GM
39722013-09-10 Glenn Morris <rgm@gnu.org>
3973
1af4c220
GM
3974 * files.el (interpreter-mode-alist): Convert to regexps.
3975 (set-auto-mode): Adapt for this. (Bug#15306)
3976 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3977 Comment out unused variable.
3978 * progmodes/cc-mode.el (interpreter-mode-alist):
3979 * progmodes/python.el (interpreter-mode-alist):
3980 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3981 * progmodes/sh-script.el (sh-set-shell):
3982 No longer use interpreter-mode-alist to get list of shells.
3983
6a5c15d9
GM
3984 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3985
8c27f5ff
SM
39862013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3987
02ef6c1a 3988 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 3989 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
3990 Bind switch-frame explicitly. Replace universal-argument-minus with
3991 a conditional binding.
3992 (universal-argument-num-events, saved-overriding-map): Remove.
3993 (restore-overriding-map): Remove.
3994 (universal-argument--mode): Rename from save&set-overriding-map,
3995 and rewrite.
3996 (universal-argument, universal-argument-more, negative-argument)
3997 (digit-argument): Adjust accordingly.
3998 (universal-argument-minus): Remove.
3999 (universal-argument-other-key): Remove.
4000
8c27f5ff
SM
4001 * subr.el (with-demoted-errors): Add `format' argument.
4002
6480194c
MA
40032013-09-10 Michael Albinus <michael.albinus@gmx.de>
4004
4005 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4006 `tramp-cleanup-connection'.
4007
4008 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4009 parameters KEEP-DEBUG and KEEP-PASSWORD.
4010
4011 * net/tramp.el (tramp-file-name-handler):
4012 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4013 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4014 (tramp-maybe-open-connection):
8c27f5ff
SM
4015 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4016 Use `tramp-cleanup-connection'.
6480194c 4017
8c27f5ff
SM
4018 * net/tramp-sh.el (tramp-maybe-open-connection):
4019 Catch 'uname-changed inside the progress reporter.
6480194c 4020
e5e916d8
GM
40212013-09-10 Glenn Morris <rgm@gnu.org>
4022
9a2c9b47
GM
4023 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4024
e5e916d8
GM
4025 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4026 returns "alternate access method" in mode (eg "-rw-r--r--.").
4027
144e38fe
GM
40282013-09-08 Glenn Morris <rgm@gnu.org>
4029
4030 * saveplace.el (load-save-place-alist-from-file):
4031 Demote errors. (Bug#15305)
4032
af9ff9e8
MA
40332013-09-08 Michael Albinus <michael.albinus@gmx.de>
4034
4035 Improve compatibility with older Emacsen, and XEmacs.
4036
4037 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4038 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4039 (with-tramp-progress-reporter): Do not let-bind `result'.
4040 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4041 (tramp-handle-make-auto-save-file-name): New function, moved from
4042 tramp-sh.el.
4043
4044 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4045 for `make-auto-save-file-name'.
8c27f5ff
SM
4046 (tramp-adb--gnu-switches-to-ash):
4047 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4048
4049 * net/tramp-cache.el (tramp-cache-print): Call
4050 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4051
4052 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4053 bound. It isn't for XEmacs.
4054
8c27f5ff
SM
4055 * net/tramp-compat.el (tramp-compat-copy-file):
4056 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4057 (tramp-compat-replace-regexp-in-string): New defun.
4058
4059 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4060 for `make-auto-save-file-name'.
4061 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4062 `copy-file'.
4063 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4064 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4065 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4066
8c27f5ff
SM
4067 * net/tramp-gw.el (tramp-gw-open-network-stream):
4068 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4069
8c27f5ff
SM
4070 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4071 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4072 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4073 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4074 (tramp-sh-file-inotifywait-process-filter):
4075 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4076 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4077
4078 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4079 for `make-auto-save-file-name'.
8c27f5ff
SM
4080 (tramp-smb-handle-copy-directory):
4081 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4082 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4083 (tramp-smb-handle-copy-file): Improve error message.
4084 (tramp-smb-handle-rename-file): Rename directly only in case
4085 `newname' does not exist yet. This is a restriction of smbclient.
4086 (tramp-smb-maybe-open-connection): Rerun the function only when
4087 `auth-sources' is non-nil.
4088
0ca754d0
KH
40892013-09-08 Kenichi Handa <handa@gnu.org>
4090
4091 * international/characters.el: Set category "^" (Combining) for
4092 more characters.
4093
e8dd0787
AM
40942013-09-07 Alan Mackenzie <acm@muc.de>
4095
4096 Correctly fontify Java class constructors.
4097 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4098 in Java Mode.
4099 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4100 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4101 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4102 "typeless" declaration there.
4103
f2f248e7
RW
41042013-09-07 Roland Winkler <winkler@gnu.org>
4105
4106 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4107 field subtitle for entry type book.
4108
67982e2b
SM
41092013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4110
4111 * minibuffer.el: Make minibuffer-complete call completion-in-region
4112 rather than other way around.
4113 (completion--some, completion-pcm--find-all-completions):
4114 Don't delay signals when debugging.
4115 (minibuffer-completion-contents): Beware fields within the
4116 minibuffer contents.
4117 (completion-all-sorted-completions): Use defvar-local.
4118 (completion--do-completion, completion--cache-all-sorted-completions)
4119 (completion-all-sorted-completions, minibuffer-force-complete):
4120 Add args `beg' and `end'.
4121 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4122 (minibuffer-complete): Use completion-in-region.
4123 (completion-complete-and-exit): New fun, extracted from
4124 minibuffer-complete-and-exit.
4125 (minibuffer-complete-and-exit): Use it.
4126 (completion--complete-and-exit): Rename from
4127 minibuffer--complete-and-exit.
4128 (completion-in-region--single-word): New function, extracted from
4129 minibuffer-complete-word.
4130 (minibuffer-complete-word): Use it.
4131 (display-completion-list): Make `common-substring' argument obsolete.
4132 (completion--in-region): Call completion--in-region-1 instead of
4133 minibuffer-complete.
4134 (completion-help-at-point): Pass boundaries to
4135 minibuffer-completion-help as args rather than via an overlay.
4136 (completion-pcm--string->pattern): Use `any-delim'.
4137 (completion-pcm--optimize-pattern): New function.
4138 (completion-pcm--pattern->regex): Handle `any-delim'.
4139 * icomplete.el (icomplete-forward-completions)
4140 (icomplete-backward-completions, icomplete-completions):
4141 Adjust calls to completion-all-sorted-completions and
4142 completion--cache-all-sorted-completions.
4143 (icomplete-with-completion-tables): Default to t.
4144 * emacs-lisp/crm.el (crm--current-element): Rename from
4145 crm--select-current-element. Don't put an overlay but return the
4146 boundaries instead.
4147 (crm--completion-command): Take two new args to bind to the boundaries.
4148 (crm-completion-help): Adjust accordingly.
4149 (crm-complete): Use completion-in-region.
4150 (crm-complete-word): Use completion-in-region--single-word.
4151 (crm-complete-and-exit): Use completion-complete-and-exit.
4152
e17d94a5
SM
41532013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4156 than dynamically.
4157
96727100
JL
41582013-09-06 Juri Linkov <juri@jurta.org>
4159
4160 * info.el (Info-display-images-node): When image file doesn't exist
4161 display text version of the image if it's provided in the Info file.
4162 Otherwise, display the location of missing image from SRC attribute.
4163 Add help-echo text property from ALT attribute. (Bug#15279)
4164
86cf7329
SM
41652013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4166
4167 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4168 (edit-abbrevs-mode): Use define-derived-mode.
4169
4170 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4171 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4172 that it's defined.
4173 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4174 Use define-derived-mode.
4175
4176 * epg.el (epg-start-encrypt): Minor CSE simplification.
4177
816244a2
WX
41782013-09-06 William Xu <william.xwl@gmail.com>
4179
4180 * arc-mode.el: Add support for 7za (bug#15264).
4181 (archive-7z-program): New var.
4182 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4183 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4184 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4185
1486fa31
MA
41862013-09-06 Michael Albinus <michael.albinus@gmx.de>
4187
4188 Remove URL syntax.
4189
4190 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4191 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4192 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4193 (tramp-postfix-host-format, tramp-file-name-regexp)
4194 (tramp-completion-file-name-regexp)
4195 (tramp-completion-dissect-file-name)
4196 (tramp-handle-substitute-in-file-name): Remove 'url case.
4197 (tramp-file-name-regexp-url)
4198 (tramp-completion-file-name-regexp-url): Remove constants.
4199
39785324
GM
42002013-09-06 Glenn Morris <rgm@gnu.org>
4201
4202 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4203
1f896cb7
DG
42042013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4205
4206 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4207 keywords" below "here-doc beginnings" (Bug#15270).
4208
c0458e0b
SM
42092013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * subr.el (pop): Use `car-safe'.
4212 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4213 to detect unused `pop' return value.
4214
4215 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4216 var `block-regexp'.
4217 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4218 (python-fill-string): Remove unused var `marker'.
4219 (python-skeleton-add-menu-items): Remove unused var `items'.
4220
4221 * international/mule-cmds.el: Require CL.
4222 (find-coding-systems-for-charsets): Avoid add-to-list.
4223 (sanitize-coding-system-list): New function, extracted from
4224 select-safe-coding-system-interactively.
4225 (select-safe-coding-system-interactively): Use it.
4226 (read-input-method-name): Accept symbols for `default'.
4227
4228 * emacs-lisp/advice.el (defadvice): Add indent rule.
4229
6c42fc3e
DH
42302013-09-05 Daniel Hackney <dan@haxney.org>
4231
4232 * dired-x.el:
4233 * net/ange-ftp.el:
4234 * net/browse-url.el:
4235 * net/dbus.el:
4236 * net/eudc.el:
4237 * net/eudcb-ldap.el:
4238 * net/eww.el:
4239 * net/imap.el:
4240 * printing.el:
4241 * vc/ediff-diff.el:
4242 * vc/ediff-init.el:
4243 * vc/ediff-merg.el:
4244 * vc/ediff-mult.el:
4245 * vc/ediff-util.el:
4246 * vc/ediff-wind.el:
4247 * vc/ediff.el:
4248 * vc/emerge.el:
4249 * vc/pcvs.el:
4250 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4251 byte compiler. Remove some unused let-bound variables.
4252
4c528aab
SM
42532013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4254
4255 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4256 a "ref-cell", since it gets better optimized (bug#14883).
4257
bd15c390
GM
42582013-09-05 Glenn Morris <rgm@gnu.org>
4259
4260 * progmodes/cc-awk.el (c-forward-sws): Declare.
4261
1c3ac2e5
GM
42622013-09-04 Glenn Morris <rgm@gnu.org>
4263
4264 * generic-x.el [rul-generic-mode]: Require cc-mode.
4265 (c++-mode-syntax-table): Declare.
4266 (rul-generic-mode-syntax-table): Init in the defvar.
4267
52b1cc79
SM
42682013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4269
c828af56
SM
4270 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4271 (vc-do-command, vc-set-async-update):
4272 * vc/vc-mtn.el (vc-mtn-dir-status):
4273 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4274 (vc-hg-pull, vc-hg-merge-branch):
4275 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4276 (vc-git-merge-branch):
4277 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4278 (vc-cvs-dir-status-files):
4279 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4280 (vc-bzr-dir-status-files):
4281 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4282 * vc/vc-annotate.el: Use lexical-binding.
4283 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4284 (vc-sentinel-movepoint): Declare.
4285 (vc-annotate): Don't use `goto-line'.
4286 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4287 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4288 (vc-sentinel-movepoint): Declare.
4289 * vc/vc-svn.el: Use lexical-binding.
4290 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4291 * vc/vc-sccs.el:
4292 * vc/vc-rcs.el: Use lexical-binding.
4293
abae272c
SM
4294 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4295 `deleted'. Don't drop errors silently.
4296
52b1cc79
SM
4297 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4298
63191d9f
XF
42992013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4300
4301 * vc/vc.el (vc-ignore): Rewrite.
4302 (vc-default-ignore): New function.
4303 (vc-default-ignore-completion-table): Use find-ignore-file.
4304
4305 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4306 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4307 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4308 Remove. Most code moved to vc.el.
4309
9d3f707c
SM
43102013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4311
abae272c 4312 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4313 * net/tramp-smb.el (tramp-smb-get-file-entries):
4314 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4315 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4316
fde38d49
SM
4317 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4318 Update call to it.
4319 (eww-change-select): Remove unused var `properties'.
4320 (eww-make-unique-file-name): Remove unused var `base'.
4321
4322 * finder.el (finder-compile-keywords): Don't mess with windows.
4323
84032db7
SM
4324 * calculator.el (calculator-funcall): Fix typo in last change.
4325
724f5e41
SM
4326 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4327
14b511d4
SM
4328 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4329 <pkg>-autoloads.el file stop us.
4330
9d3f707c 4331 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4332 warnings, and factor out common code.
9d3f707c 4333
88527bc0
DG
43342013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4335
4336 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4337 two-character operators and whether the character preceding them
4338 changes their meaning (Bug#15208).
4339
96edb677
FEG
43402013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4341
4342 Format code sent to Python shell for robustness.
9d3f707c
SM
4343 * progmodes/python.el (python-shell-buffer-substring):
4344 New function.
96edb677
FEG
4345 (python-shell-send-region, python-shell-send-buffer): Use it.
4346
95beaef3
MA
43472013-09-02 Michael Albinus <michael.albinus@gmx.de>
4348
4349 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4350 * net/tramp.el (tramp-user-error): ... here.
4351 (tramp-find-method, tramp-check-proper-host)
4352 (tramp-dissect-file-name, tramp-debug-message)
4353 (tramp-handle-shell-command):
4354 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4355 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4356
4357 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4358
f167c27b
MR
43592013-09-02 Martin Rudalics <rudalics@gmx.at>
4360
4361 * avoid.el (mouse-avoidance-point-position)
4362 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4363 returns nil.
4364
cd16c5f1
FEG
43652013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4366
4367 * progmodes/python.el (python-shell-completion-get-completions):
4368 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4369 (python-nav-if-name-main): New command.
cd16c5f1 4370
e73c3a0d
GM
43712013-09-01 Glenn Morris <rgm@gnu.org>
4372
f8ccce03
GM
4373 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4374 Avoid leading space in $wins. Otherwise the sed command used by
4375 eg compile-main ends up containing "/*.el". (Bug#15170)
4376
e73c3a0d
GM
4377 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4378
415f808e
GM
43792013-08-30 Glenn Morris <rgm@gnu.org>
4380
4381 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4382 Fix is-this-a-directory logic. (Bug#15220)
4383
f069bba8
SM
43842013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4385
112798c1
SM
4386 * textmodes/css-mode.el: Use SMIE.
4387 (css-smie-grammar): New var.
4388 (css-smie--forward-token, css-smie--backward-token)
4389 (css-smie-rules): New functions.
4390 (css-mode): Use them.
4391 (css-navigation-syntax-table): Remove var.
4392 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4393 (css-indent-calculate, css-indent-line): Remove functions.
4394
4395 Misc changes to reduce use of `(lambda...); and other cleanups.
4396 * cus-edit.el: Use lexical-binding.
4397 (customize-push-and-save, customize-apropos)
4398 (custom-buffer-create-internal): Use closures.
4399 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4400 * progmodes/ada-xref.el: Use setq.
4401 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4402 * dframe.el: Use lexical-binding.
4403 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4404 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4405 * descr-text.el: Use lexical-binding.
4406 (describe-text-widget, describe-text-sexp, describe-property-list):
4407 Use closures.
4408 * comint.el (comint-history-isearch-push-state): Use a closure.
4409 * calculator.el: Use lexical-binding.
4410 (calculator-number-to-string): Make it work with lexical-binding.
4411 (calculator-funcall): Same and use cl-letf.
4412
2da4c3ab
SM
4413 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4414 (lisp--company-doc-string, lisp--company-location): New functions.
4415 (lisp-completion-at-point): Use them to improve Company support.
4416
f069bba8
SM
4417 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4418 params of lambda expressions.
4419 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4420 (ruby-smie--opening-pipe-p): New function.
4421 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4422 symbols and matched |...| for formal params.
4423 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4424 from being treated as hanging. Handle "rescue".
4425
6758b6a8
GM
44262013-08-29 Glenn Morris <rgm@gnu.org>
4427
4428 * progmodes/cc-engine.el (c-pull-open-brace):
4429 Move definition before use.
4430
e8dfd197
SM
44312013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4434 are immutable. Don't use `unsafe' any more.
4435 (cl--defsubst-expand): Don't substitute at the same time as keeping
4436 a residual unused let-binding. Don't use `unsafe' any more.
4437
cc585c96
GM
44382013-08-29 Glenn Morris <rgm@gnu.org>
4439
ba579ea6
GM
4440 * calendar/cal-china.el (calendar-chinese-year-cache):
4441 Recenter on 2015.
4442
8201a87e
GM
4443 * nxml/nxml-util.el (nxml-debug-clear-inside):
4444 Use cl-loop rather than loop.
4445
6ee877c7
GM
4446 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4447
cc585c96
GM
4448 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4449
27be8d39
GM
44502013-08-28 Glenn Morris <rgm@gnu.org>
4451
397440a1
GM
4452 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4453
2bb762d4
GM
4454 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4455
27be8d39
GM
4456 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4457
2d69b99e
SM
44582013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4459
f663baa7
SM
4460 * simple.el (repeat-complex-command--called-interactively-skip):
4461 New function.
4462 (repeat-complex-command): Use it (bug#14136).
4463
dd4f8b74
SM
4464 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4465 (c-define-abbrev-table): Add `doc' argument.
4466 (c-mode-abbrev-table, c++-mode-abbrev-table)
4467 (objc-mode-abbrev-table, java-mode-abbrev-table)
4468 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4469 (awk-mode-abbrev-table): Use it.
4470 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4471 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4472 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4473 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4474 Move initialization into the declaration; and remove any
4475 autoload cookie.
4476
b58969f7
SM
4477 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4478 and dynamic let binding.
4479
4021d6a6
SM
4480 * vc/smerge-mode.el: Remove redundant :group args.
4481
2d69b99e
SM
4482 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4483 to load-path.
4484
274919fd
JL
44852013-08-28 Juri Linkov <juri@jurta.org>
4486
4487 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4488 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4489 (isearch-other-meta-char): Handle an undefined shifted printing
4490 character by downshifting it. (Bug#15200)
4491
121f8c95
JL
44922013-08-28 Juri Linkov <juri@jurta.org>
4493
4494 * isearch.el (isearch-search): Change regexp error message for
4495 non-regexp searches. (Bug#15166)
4496
50b13cde
PE
44972013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4498
4499 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4500 for portability to hosts where /bin/sh has problems.
4501
95888bca
SM
45022013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4505
bbe558f1
JL
45062013-08-27 Juri Linkov <juri@jurta.org>
4507
4508 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4509 in the keyboard macro. (Bug#15126)
4510
26f98a7d
JL
45112013-08-27 Juri Linkov <juri@jurta.org>
4512
4513 * isearch.el (isearch-quote-char): Comment out converting unibyte
4514 to multibyte, thus syncing with its `quoted-insert' counterpart.
4515 (Bug#15166)
4516
7c97d35e
MR
45172013-08-27 Martin Rudalics <rudalics@gmx.at>
4518
4519 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4520 argument in call of get-largest-window (Bug#15185).
4521 Reported by Stephen Leake.
7c97d35e 4522
a0b5606e 45232013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4524
4525 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4526
9e89d835
SM
45272013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4528
4529 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4530 from a matcher-function unless there's no more matches (bug#15161).
4531
78fc2530
MA
45322013-08-26 Michael Albinus <michael.albinus@gmx.de>
4533
4534 * minibuffer.el: Revert change from 2013-08-20.
4535
4536 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4537 with text property `tramp-default', if appropriate.
4538 (tramp-check-proper-host): New defun.
4539 (tramp-dissect-file-name): Do not check hostname. Revert change
4540 of 2013-03-18.
4541 (tramp-backtrace): Make VEC-OR-PROC optional.
4542
4543 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4544 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4545 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4546 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4547 Apply `tramp-check-proper-host'.
78fc2530 4548
edca97cd
TH
45492013-08-26 Tassilo Horn <tsdh@gnu.org>
4550
4551 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4552 lambda expression in order to have `describe-variable' display it.
4553
df54bcbd
MA
45542013-08-26 Michael Albinus <michael.albinus@gmx.de>
4555
4556 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4557 BUF can be optional. (Bug#15186)
4558
eed99101
XF
45592013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4560
4561 * progmodes/flymake.el (flymake-get-real-file-name-function):
4562 Fix broken customization. (Bug#15184)
4563
b5eb9035
AM
45642013-08-25 Alan Mackenzie <acm@muc.de>
4565
8a51e842
AM
4566 Improve indentation of bracelists defined by macros (without "=").
4567
4568 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4569 expansion begins with "{", regard it as bracelist when it doesn't
4570 contain a ";".
4571
869455d4
AM
4572 Parse C++ inher-intro when there's a template split over 2 lines.
4573
4574 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4575 rigorously the search for "class" etc. followed by ":".
4576
4577 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4578 random languages a regexp which never matches rather than nil.
4579
b5eb9035
AM
4580 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4581
4582 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4583 (c-awk-regexp-one-line-possibly-open-char-list-re)
4584 (c-awk-one-line-possibly-open-regexp-re)
4585 (c-awk-one-line-non-syn-ws*-re): Remove.
4586 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4587 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4588 (c-awk-space*-unclosed-regexp-/-re): New constants.
4589 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4590 aren't regexp delimiters.
4591
4592 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4593 handling for a rare situation in AWK Mode involving unterminated
4594 strings/regexps.
4595
61611d54
GM
45962013-08-23 Glenn Morris <rgm@gnu.org>
4597
2d85dc34
GM
4598 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4599
cb8d2612
GM
4600 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4601
bb35f42f
GM
4602 * files.el (create-file-buffer): If the result would begin with
4603 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4604
b9808e77
SM
46052013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4606
e3a66363
SM
4607 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4608 text-properties (bug#15155).
4609
b9808e77
SM
4610 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4611 exist any more.
4612 (calc-keypad-redraw): Remove unused var `pad'.
4613 (calc-keypad-press): Remove unused var `menu'.
4614
7fd5f65e
MR
46152013-08-23 Martin Rudalics <rudalics@gmx.at>
4616
b9808e77
SM
4617 * window.el (display-buffer-pop-up-frame):
4618 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4619 use it as the new frame's buffer (Bug#15133).
4620
8352b530
SM
46212013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 * calendar/timeclock.el: Minor cleanups.
4624 (timeclock-ask-before-exiting, timeclock-use-display-time):
4625 Use `symbol'.
4626 (timeclock-modeline-display): Define as alias before the
4627 actual definition.
4628 (timeclock-mode-line-display): Use define-minor-mode.
4629 (timeclock-day-list-template): Make it a function, add an argument.
4630 (timeclock-day-list-required, timeclock-day-list-length)
4631 (timeclock-day-list-debt, timeclock-day-list-span)
4632 (timeclock-day-list-break): Adjust calls accordingly.
4633
9f7b1925
SM
46342013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4637 Use read--expression so that completion works again.
4638
6e50e983
SS
46392013-08-21 Sam Steingold <sds@gnu.org>
4640
4641 Add rudimentary inferior shell interaction
4642 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4643 (sh-set-shell): Reset it.
9f7b1925
SM
4644 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4645 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4646
dbb0d350
SM
46472013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * align.el: Use lexical-binding.
4650 (align-region): Simplify accordingly.
4651
c88586a9
MA
46522013-08-20 Michael Albinus <michael.albinus@gmx.de>
4653
4654 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4655
4656 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4657 `non-essential' up.
4658
f95527c8
MA
46592013-08-17 Michael Albinus <michael.albinus@gmx.de>
4660
4661 * net/tramp.el:
4662 * net/tramp-adb.el:
4663 * net/tramp-cmds.el:
4664 * net/tramp-ftp.el:
4665 * net/tramp-gvfs.el:
4666 * net/tramp-gw.el:
4667 * net/tramp-sh.el: Don't wrap external variable declarations by
4668 `eval-when-compile'.
4669
4b5fe4ee
LMI
46702013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4671
4672 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4673 now that Emacs supports ImageMagick animations.
4674
13c366c9
MA
46752013-08-16 Michael Albinus <michael.albinus@gmx.de>
4676
4677 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4678 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4679
3dfc5cd6
MR
46802013-08-16 Martin Rudalics <rudalics@gmx.at>
4681
4682 * window.el (mouse-autoselect-window-select): Do autoselect when
4683 mouse pointer is on margin.
4684
4bbb4381
WP
46852013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4686
4687 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4688
3a2ddc2d
GM
46892013-08-16 Glenn Morris <rgm@gnu.org>
4690
e8bedf5a
GM
4691 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4692 Handle "Remote Directory" response of some clients. (Bug#15058)
4693
58c4682f
GM
4694 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4695 Tweak warning. (Bug#14926)
4696
57953f49
GM
4697 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4698 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4699
3a2ddc2d
GM
4700 * image-mode.el (image-mode-map): Add menu items to reverse,
4701 increase, decrease, reset animation speed.
4702 (image--set-speed, image-increase-speed, image-decrease-speed)
4703 (image-reverse-speed, image-reset-speed): New functions.
4704 (image-mode-map): Add bindings for speed commands.
4705
4706 * image.el (image-animate-get-speed, image-animate-set-speed):
4707 New functions.
4708 (image-animate-timeout): Respect image :speed property.
4709
10fa0ed3
SM
47102013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4713 previous line (bug#15101).
4714 (debugger-eval-expression, debugger-record-expression):
4715 Use read--expression (bug#15102).
4716
5d89d9d2
MA
47172013-08-15 Michael Albinus <michael.albinus@gmx.de>
4718
4719 Remove byte compiler warnings, visible when compiling with
4720 `byte-compile-force-lexical-warnings' set to t.
4721
4722 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4723 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4724 (tramp-handle-unhandled-file-name-directory)
4725 (tramp-handle-file-notify-add-watch, tramp-action-login)
4726 (tramp-action-succeed, tramp-action-permission-denied)
4727 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4728 arguments with "_".
4729
4730 * net/tramp-adb.el (tramp-adb-parse-device-names)
4731 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4732 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4733 (tramp-adb-handle-file-truename): Remove unused arguments.
4734
4735 * net/tramp-cache.el (tramp-flush-directory-property)
4736 (tramp-flush-connection-property, tramp-list-connections)
4737 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4738
10fa0ed3
SM
4739 * net/tramp-compat.el (tramp-compat-make-temp-file):
4740 Rename FILENAME to F.
5d89d9d2
MA
4741
4742 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4743 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4744 (tramp-zeroconf-parse-workstation-device-names)
4745 (tramp-zeroconf-parse-webdav-device-names)
4746 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4747
4748 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4749 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4750
4751 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4752 arguments.
4753 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4754 (tramp-sh-handle-insert-file-contents-literally)
4755 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4756 with "_".
4757 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4758 Remove unused variables.
4759
4760 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4761 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4762 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4763
4764 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4765 Make them a defconst.
4766 (tramp-uuencode-region): Remove unused variable.
4767
62f33bae
JB
47682013-08-14 Juanma Barranquero <lekktu@gmail.com>
4769
4770 * frameset.el (frameset--prop-setter): New function.
4771 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4772 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4773 parameter was already set in FILTERED. Doc fix.
4774 (frameset--record-minibuffer-relationships): Allow saving a
4775 minibufferless frame without its corresponding minibuffer frame.
4776 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4777 frame, if the frame id matches.
4778 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4779 frames before orphaned ones.
4780 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4781
c660a885
MR
47822013-08-14 Martin Rudalics <rudalics@gmx.at>
4783
4784 * window.el (window-make-atom): Don't overwrite parameter
4785 already present.
4786 (display-buffer-in-atom-window): Handle special case where we
4787 split an already atomic window.
4788 (window--major-non-side-window, display-buffer-in-side-window)
4789 (window--side-check): Ignore minibuffer window when walking
4790 window tree.
4791 (window-deletable-p): Return 'frame only if no other frame uses
4792 our minibuffer window.
4793 (record-window-buffer): Run buffer-list-update-hook.
4794 (split-window): Make sure window--check-frame won't destroy an
4795 existing atomic window in case the new window gets nested
4796 inside.
4797 (display-buffer-at-bottom): Ignore minibuffer window when
4798 walking window tree. Don't split a side window.
4799 (pop-to-buffer): Don't set-buffer here, the select-window call
4800 should do that.
4801 (mouse-autoselect-window-select): Autoselect only if we are in the
4802 text portion of the window.
4803
8259030d
LMI
48042013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4805
21c58ae2
LMI
4806 * net/shr.el (shr-parse-image-data): New function to grab both the
4807 data itself and the Content-Type.
4808 (shr-put-image): Use it.
4809
4810 * net/eww.el (eww-display-image): Ditto.
4811
8259030d
LMI
4812 * image.el (image-content-type-suffixes): New variable.
4813
ad756449
FEG
48142013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4815
4816 * progmodes/python.el (python-imenu--build-tree)
4817 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4818
f73f4ce6
XF
48192013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4820
4821 * simple.el (backward-word): Mention the optional argument.
4822
1f585e65
SM
48232013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * frameset.el (frameset--make): Rename constructor from make-frameset.
4826 (frameset-p, frameset-valid-p): Don't autoload.
4827 (frameset-valid-p): Use normal accessors.
4828
af1c6c84
GM
48292013-08-13 Glenn Morris <rgm@gnu.org>
4830
55e47f95
GM
4831 * progmodes/compile.el (compile-command): Tweak example in doc.
4832 * obsolete/scribe.el (scribe-mode):
4833 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4834
f0024d8c
GM
4835 * mail/feedmail.el (feedmail-confirm-outgoing)
4836 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4837
4838 * cus-start.el (truncate-partial-width-windows): Fix type.
4839
4840 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4841
af1c6c84
GM
4842 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4843
5514cc4c
SM
48442013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * emacs-lisp/timer.el (timer--time-setter): New function.
4847 (timer--time): Use it as gv-setter.
4848
4849 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4850 setter is not a symbol.
4851
7997a2f1
GJ
48522013-08-12 Grégoire Jadi <daimrod@gmail.com>
4853
4854 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4855 if sending fails. This makes debugging easier.
4856
01f1a9ab
JB
48572013-08-12 Juanma Barranquero <lekktu@gmail.com>
4858
4859 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4860 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4861 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4862
594a4307
EZ
48632013-08-12 Eli Zaretskii <eliz@gnu.org>
4864
4865 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4866
7a22490f 48672013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
4868
4869 * format.el (format-annotate-function):
4870 Handle read-only text properties in the source. (Bug#14887)
4871
3e41a054
LMI
48722013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4873
5514cc4c
SM
4874 * net/eww.el (eww-display-html): Ignore coding system errors.
4875 One web site uses "utf-8lias" as the coding system.
3e41a054 4876
7ec326db
JB
48772013-08-11 Juanma Barranquero <lekktu@gmail.com>
4878
4879 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4880
5660113b
JB
48812013-08-10 Juanma Barranquero <lekktu@gmail.com>
4882
9a4ebc74
JB
4883 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4884 (tutorial--detailed-help): Remove unused local variables.
4885 (tutorial--save-tutorial-to): Use ignore-errors.
4886 (help-with-tutorial): Use looking-at-p.
4887
4888 * view.el (view-buffer-other-window, view-buffer-other-frame):
4889 Mark unused arguments.
4890
4891 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4892 (woman-select-symbol-fonts, woman, woman-find-file)
4893 (woman-insert-file-contents, woman-non-underline-faces):
4894 Use string-match-p.
4895 (woman1-unquote): Move declaration.
4896
4897 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4898 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4899 argument. Remove unused local variable.
4900 (xml-parse-elem-type): Use string-match-p.
4901 (xml-substitute-numeric-entities): Use ignore-errors.
4902
45fdb482
JB
4903 * calculator.el (calculator): Mark unused argument.
4904 (calculator-paste, calculator-quit, calculator-integer-p):
4905 Use ignore-errors.
4906 (calculator-string-to-number, calculator-decimal, calculator-exp)
4907 (calculator-op-or-exp): Use string-match-p.
4908
4909 * dired.el (dired-buffer-more-recently-used-p): Declare.
4910 (dired-insert-set-properties, dired-insert-old-subdirs):
4911 Use ignore-errors.
4912
4913 * dired-aux.el (dired-compress): Use ignore-errors.
4914 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4915 (dired-do-async-shell-command, dired-do-shell-command)
4916 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4917 (dired-insert-subdir-validate): Use string-match-p.
4918 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4919 (dired-add-entry): Use string-match-p, looking-at-p.
4920 (dired-insert-subdir-newpos): Remove unused local variable.
4921
4922 * filenotify.el (file-notify-callback): Remove unused local variable.
4923
4924 * filesets.el (filesets-error): Mark unused argument.
4925 (filesets-which-command-p, filesets-filter-dir-names)
4926 (filesets-directory-files, filesets-get-external-viewer)
4927 (filesets-ingroup-get-data): Use string-match-p.
4928
4929 * find-file.el (ff-other-file-name, ff-other-file-name)
4930 (ff-find-the-other-file, ff-cc-hh-converter):
4931 Remove unused local variables.
4932 (ff-get-file-name): Use string-match-p.
4933 (ff-all-dirs-under): Use ignore-errors.
4934
4935 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4936 (follow-select-if-visible): Remove unused local variable.
4937
4938 * forms.el (read-file-filter): Move declaration.
4939 (forms--make-format, forms--make-parser, forms-insert-record):
4940 Quote function with #'.
4941 (forms--update): Use string-match-p. Quote function with #'.
4942
4943 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4944 (help-make-xrefs): Use looking-at-p.
4945 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4946
4947 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4948 (ibuffer-confirm-operation-on): Use string-match-p.
4949
4950 * msb.el (msb-item-handler, msb-dired-item-handler):
4951 Mark unused arguments.
4952
4953 * ses.el (ses-decode-cell-symbol)
4954 (ses-kill-override): Remove unused local variable.
4955 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4956 (ses-load): Use ignore-errors, looking-at-p.
4957 (ses-jump-safe): Use ignore-errors.
4958 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4959
4960 * tabify.el (untabify, tabify): Mark unused arguments.
4961
4962 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4963 Mark unused argument.
4964 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4965 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4966
c880af52
JB
4967 * emacs-lisp/timer.el (timer--time): Define setter with
4968 gv-define-setter to avoid deprecation warning.
4969
5660113b 4970 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 4971 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
4972 (cmpl-statistics-block): Remove (body was commented out).
4973 All callers changed.
4974 (add-completions-from-buffer, load-completions-from-file):
4975 Remove unused variables.
4976
156aab80
JB
49772013-08-09 Juanma Barranquero <lekktu@gmail.com>
4978
5c5dee78
JB
4979 * filecache.el (file-cache-delete-file-list):
4980 Print message only when told so.
4981 (file-cache-files-matching): Use #' in mapconcat argument.
4982
156aab80
JB
4983 * ffap.el (ffap-url-at-point): Fix reference to variable
4984 thing-at-point-default-mail-uri-scheme.
4985
ad9dcd70
SM
49862013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4987
54bd972f
SM
4988 * subr.el (define-error): New function.
4989 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4990 error-file-not-found and define with define-error.
4991 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4992 and define with define-error.
4993 * userlock.el (file-locked, file-supersession):
4994 * simple.el (mark-inactive):
4995 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4996 * progmodes/ada-mode.el (ada-mode-errors):
4997 * play/life.el (life-extinct):
4998 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4999 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5000 * nxml/rng-util.el (rng-error):
5001 * nxml/rng-uri.el (rng-uri-error):
5002 * nxml/rng-match.el (rng-compile-error):
5003 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5004 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5005 * nxml/nxml-rap.el (nxml-scan-error):
5006 * nxml/nxml-outln.el (nxml-outline-error):
5007 * net/soap-client.el (soap-error):
5008 * net/gnutls.el (gnutls-error):
5009 * net/ange-ftp.el (ftp-error):
5010 * mpc.el (mpc-proc-error):
5011 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5012 (json-number-format, json-string-escape, json-string-format)
5013 (json-key-format, json-object-format):
5014 * jka-compr.el (compression-error):
5015 * international/quail.el (quail-error):
5016 * international/kkc.el (kkc-error):
5017 * emacs-lisp/ert.el (ert-test-failed):
5018 * calc/calc.el (calc-error, inexact-result, math-overflow)
5019 (math-underflow):
5020 * bookmark.el (bookmark-error-no-filename):
5021 * epg.el (epg-error): Define with define-error.
5022
0ea9e53a
SM
5023 * time.el (display-time-event-handler)
5024 (display-time-next-load-average): Don't call sit-for since it seems
5025 unnecessary (bug#15045).
5026
b0429158
SM
5027 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5028 Use #' instead of ' to quote functions.
5029 (checkdoc-output-mode): Use setq-local.
5030 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5031 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5032 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5033 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5034 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5035 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5036 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5037 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5038
ad9dcd70
SM
5039 * ido.el (ido-completion-help): Fix up compiler warning.
5040
77187e6f
JB
50412013-08-09 Juanma Barranquero <lekktu@gmail.com>
5042
5043 * frameset.el (frameset-p): Add autoload cookie.
5044 (frameset--jump-to-register): New function, based on code moved from
5045 register.el.
5046 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5047
5048 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5049 (frameset-restore, frameset-save, frameset-session-filter-alist):
5050 Remove declarations.
5051 (register-alist): Doc fix.
5052 (frameset-to-register): Move to frameset.el.
5053 (jump-to-register, describe-register-1): Remove frameset-specific code.
5054
9d3aa82c
JB
50552013-08-08 Juanma Barranquero <lekktu@gmail.com>
5056
5057 * allout-widgets.el (allout-widgets-pre-command-business)
5058 (allout-widgets-post-command-business)
5059 (allout-widgets-after-change-handler)
5060 (allout-decorate-item-and-context, allout-set-boundary-marker)
5061 (allout-body-modification-handler)
5062 (allout-graphics-modification-handler): Mark ignored arguments.
5063 (allout-widgets-post-command-business)
5064 (allout-widgets-exposure-change-processor)
5065 (allout-widgets-exposure-undo-processor)
5066 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5067 (allout-parse-item-at-point, allout-decorate-item-guides)
5068 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5069 * allout.el (epa-passphrase-callback-function): Declare.
5070 (allout-overlay-insert-in-front-handler)
5071 (allout-overlay-interior-modification-handler)
5072 (allout-isearch-end-handler, allout-chart-siblings)
5073 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5074 (allout-yank-processing, allout-process-exposed)
5075 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5076 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5077 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5078 (lisp-indent-defform): Mark ignored arguments.
5079 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5080 (calculate-lisp-indent): Remove unused variables.
5081 * international/characters.el (indian-2-column, arabic-2-column)
5082 (tibetan): Mark ignored arguments.
5083 (use-cjk-char-width-table): Mark ignored arguments.
5084 Remove unused variables.
5085 * international/fontset.el (build-default-fontset-data)
5086 (x-compose-font-name, create-fontset-from-fontset-spec):
5087 Mark ignored arguments.
5088 (fontset-plain-name): Remove unused variables.
5089 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5090 (keyboard-coding-system): Mark ignored arguments.
5091 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5092 * help.el (resize-temp-buffer-window):
5093 * window.el (display-buffer-in-major-side-window)
5094 (display-buffer-in-side-window, display-buffer-in-previous-window):
5095 Remove unused variables.
5096 * isearch.el (isearch-forward-symbol):
5097 * version.el (emacs-bzr-version-bzr):
5098 * international/mule-cmds.el (current-language-environment):
5099 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5100 (x-handle-display):
5101 * term/pc-win.el (x-list-fonts, x-display-planes)
5102 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5103 (x-server-version, x-display-screens, x-display-mm-height)
5104 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5105 (x-selection-owner-p, x-own-selection-internal)
5106 (x-disown-selection-internal, x-get-selection-internal)
5107 (msdos-initialize-window-system):
5108 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5109 * term/x-win.el (x-handle-no-bitmap-icon):
5110 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5111 (vc-default-find-file-hook, vc-default-extra-menu):
5112 Mark ignored arguments.
5113
0ca3f70e
SM
51142013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5117 break-condition in the context of the debugged code (bug#12685).
5118
74c5d24c
CS
51192013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5120
5121 * comint.el:
5122 Do not use an overlay to highlight the last prompt. (Bug#14744)
5123 (comint-mode): Make comint-last-prompt buffer local.
5124 (comint-last-prompt): New variable.
5125 (comint-last-prompt-overlay): Remove. Superseded by
5126 comint-last-prompt.
0ca3f70e
SM
5127 (comint-snapshot-last-prompt, comint-output-filter):
5128 Use comint-last-prompt.
74c5d24c 5129
c03c02ee
JB
51302013-08-08 Juanma Barranquero <lekktu@gmail.com>
5131
a3738d20 5132 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5133 (frameset-save): Check validity of the resulting frameset.
5134
04263d23
XF
51352013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5136
5137 * ido.el (ido-record-command): Add doc string.
5138
76c5e5ab
JB
51392013-08-08 Juanma Barranquero <lekktu@gmail.com>
5140
5141 * frameset.el (frameset): Do not disable creation of the default
5142 frameset-p predicate. Doc fix.
5143 (frameset-valid-p): New function, copied from the old predicate-p.
5144 Add additional checks.
5145 (frameset-restore): Check with frameset-valid-p.
5146 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5147 (frameset-name, frameset-description, frameset-properties)
5148 (frameset-states): Add docstring.
f9dbf1cb
JB
5149 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5150 (frameset-filter-alist): Doc fixes.
76c5e5ab 5151
bd0c3c0b
JB
51522013-08-08 Juanma Barranquero <lekktu@gmail.com>
5153
5154 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5155
c735544c
SM
51562013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5157
5158 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5159 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5160 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5161 (byte-compile-normal-call): Remove obsolescence check.
5162
2805a651
JB
51632013-08-08 Juanma Barranquero <lekktu@gmail.com>
5164
3677ffeb
JB
5165 * frameset.el (frameset-restore): Doc fix.
5166
2805a651
JB
5167 * register.el (frameset-frame-id, frameset-frame-with-id)
5168 (frameset-p, frameset-restore, frameset-save): Declare.
5169 (register-alist): Document framesets.
5170 (frameset-session-filter-alist): Declare.
5171 (frameset-to-register): New function.
5172 (jump-to-register): Implement jumping to framesets. Doc fix.
5173 (describe-register-1): Describe framesets.
5174
5175 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5176
a912c016
JB
51772013-08-07 Juanma Barranquero <lekktu@gmail.com>
5178
5179 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5180 Use lexical-binding.
5181
5182 * frameset.el (frameset): Use type vector, not list (incompatible
5183 change). Do not declare a new constructor, use the default one.
5184 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5185 `name' and `description', respectively, and add read-only slot
5186 `timestamp'. Doc fixes.
5187 (frameset-copy, frameset-persistent-filter-alist)
5188 (frameset-filter-alist, frameset-switch-to-gui-p)
5189 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5190 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5191 (frameset-filter-iconified, frameset-keep-original-display-p):
5192 Doc fixes.
5193 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5194 Rename from frameset-filter-(save|restore)-param. All callers changed.
5195 Doc fix.
5196 (frameset-p): Adapt to change to vector and be more thorough.
5197 Change arg name to OBJECT. Doc fix.
5198 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5199 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5200 All callers changed.
5201 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5202 All callers changed.
5203 (frameset--record-minibuffer-relationships): Rename from
5204 frameset--process-minibuffer-frames. All callers changed.
5205 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5206 Use new default constructor (again). Doc fix.
5207 (frameset--find-frame-if): Rename from `frameset--find-frame.
5208 All callers changed.
5209 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5210 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5211 Doc fix.
5212 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5213 PARAMETERS and WINDOW-STATE, respectively.
5214 (frameset-restore): Add new keyword argument PREDICATE.
5215 Reset frameset--target-display to nil. Doc fix.
5216
bb41480a
SM
52172013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5218
f001e98e
SM
5219 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5220 (bat-mode): Use it.
5221 (bat-mode-syntax-table): Mark \n as end-of-comment.
5222 (bat-font-lock-keywords): Remove comment rule.
5223
7679edb1
SM
5224 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5225 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5226
bb41480a
SM
5227 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5228 (byte-compile-callargs-warn): Use `push'.
5229 (byte-compile-arglist-warn): Ignore higher-order "calls".
5230 (byte-compile-file-form-autoload): Use `pcase'.
5231 (byte-compile-function-form): If quoting a symbol, check that it exists.
5232
cdc1ebb9
EZ
52332013-08-07 Eli Zaretskii <eliz@gnu.org>
5234
5235 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5236 and add a few popular commands found in batch files.
5237 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5238 (dos-mode): Doc fixes.
5239
312b1740
SM
52402013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5241
5242 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5243 (dos-mode): Use setq-local. Add space after "rem".
5244 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5245 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5246
400a3178
AM
52472013-08-07 Arni Magnusson <arnima@hafro.is>
5248
5249 * progmodes/dos.el: New file.
5250 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5251 dos-mode.
5252
3b5c03d3
GM
52532013-08-06 Glenn Morris <rgm@gnu.org>
5254
5255 * calendar/calendar.el: Add new faces, and day-header-array.
5256 (calendar-weekday-header, calendar-weekend-header)
5257 (calendar-month-header): New faces.
5258 (calendar-day-header-construct): New function.
5259 (calendar-day-header-width): Also :set calendar-day-header-array.
5260 (calendar-american-month-header, calendar-european-month-header)
5261 (calendar-iso-month-header): Use calendar- faces.
5262 (calendar-generate-month):
5263 Use calendar-day-header-array for day headers; apply faces to them.
5264 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5265 (calendar-abbrev-construct): Add optional maxlen argument.
5266 (calendar-day-name-array): Doc fix.
5267 (calendar-day-name-array, calendar-abbrev-length)
5268 (calendar-day-abbrev-array):
5269 Also :set calendar-day-header-array, and maybe redraw.
5270 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5271 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5272 (calendar-day-name): Add option to use header array.
5273
ec6a2d7a
LMI
52742013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5275
5276 * net/shr.el (shr-render-td): Remove debugging.
5277 (shr-render-td): Make width computation consistent by defaulting
5278 all zero-width columns to 10 characters. This may not be optimal,
5279 but it's at least consistent.
2122cb6d
LMI
5280 (shr-make-table-1): Redo last change to fix the real problem in
5281 colspan handling.
ec6a2d7a 5282
ed4fd9c5
DA
52832013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5284
0ca3f70e
SM
5285 * files.el (cache-long-line-scans):
5286 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5287
64e22afe
JB
52882013-08-06 Juanma Barranquero <lekktu@gmail.com>
5289
024b38fc
JB
5290 * frameset.el (frameset, frameset-filter-alist)
5291 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5292 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5293 (frameset-compute-pos): Rename from frameset--compute-pos,
5294 and add docstring.
5295 (frameset-move-onscreen): Use frameset-compute-pos.
5296 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5297
64e22afe
JB
5298 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5299 Fix typos in docstrings.
5300
c8c2aca8
DA
53012013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5302
5303 * frame.el (get-other-frame): Tiny cleanup.
5304
1d237bba
JB
53052013-08-06 Juanma Barranquero <lekktu@gmail.com>
5306
8951efef
JB
5307 * vc/vc.el (vc-default-ignore-completion-table):
5308 Silence byte-compiler warning.
5309
307764cc
JB
5310 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5311 slot , which can indeed be nil.
5312 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5313 Move entry for `left' from persistent to live filter alist.
5314 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5315 Doc fixes.
5316 (frameset-filter-params): When restoring a frame, copy items added to
5317 `filtered', to avoid unwittingly modifying the original parameters.
5318 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5319 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5320
1d237bba
JB
5321 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5322 to use looking-at-p instead of looking-at. (Bug#15028)
5323
dc6c0eda
SM
53242013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5326 Revert introduction of isearch-filter-predicates (bug#14714).
5327 Rely on add-function instead.
5328 * isearch.el (isearch-filter-predicates): Rename it back to
5329 isearch-filter-predicate.
5330 (isearch-message-prefix): Use advice-function-mapc and advice
5331 properties to get the isearch-message-prefix.
5332 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5333 instead of run-hook-with-args-until-failure.
5334 (isearch-filter-visible): Not obsolete any more.
5335 * loadup.el: Preload nadvice.
5336 * replace.el (perform-replace): Revert to funcall
5337 instead of run-hook-with-args-until-failure.
5338 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5339 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5340 dired-isearch-filenames-toggle; make it into a proper minor mode.
5341 Use add/remove-function.
5342 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5343 Call the minor-mode rather than add/remove-hook.
5344 (dired-isearch-filter-filenames):
5345 Remove isearch-message-prefix property.
5346 * info.el (Info--search-loop): New function, extracted from Info-search.
5347 Funcall isearch-filter-predicate instead of
5348 run-hook-with-args-until-failure isearch-filter-predicates.
5349 (Info-search): Use it.
5350 (Info-mode): Use isearch-filter-predicate instead of
5351 isearch-filter-predicates.
5352
290d5b58
DA
53532013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5354
5355 Do not call to `selected-window' where it is assumed by default.
5356 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5357 `window-hscroll', `window-width', `window-height', `window-buffer',
5358 `window-frame', `window-start', `window-point', `next-window'
5359 and `window-display-table'.
5360 * abbrev.el (abbrev--default-expand):
5361 * bs.el (bs--show-with-configuration):
5362 * buff-menu.el (Buffer-menu-mouse-select):
5363 * calc/calc.el (calc):
5364 * calendar/calendar.el (calendar-generate-window):
5365 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5366 (diary-make-entry):
5367 * comint.el (send-invisible, comint-dynamic-complete-filename)
5368 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5369 * completion.el (complete):
5370 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5371 * disp-table.el (describe-current-display-table):
5372 * doc-view.el (doc-view-insert-image):
5373 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5374 * ehelp.el (with-electric-help):
5375 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5376 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5377 * emacs-lisp/helper.el (Helper-help-scroller):
5378 * emulation/cua-base.el (cua--post-command-handler-1):
5379 * eshell/esh-mode.el (eshell-output-filter):
5380 * ffap.el (ffap-gnus-wrapper):
5381 * help-macro.el (make-help-screen):
5382 * hilit-chg.el (highlight-compare-buffers):
5383 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5384 * hl-line.el (global-hl-line-highlight):
5385 * icomplete.el (icomplete-simple-completing-p):
5386 * isearch.el (isearch-done):
5387 * jit-lock.el (jit-lock-stealth-fontify):
5388 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5389 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5390 * mpc.el (mpc-tagbrowser, mpc):
5391 * net/rcirc.el (rcirc-any-buffer):
5392 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5393 * play/landmark.el (landmark-max-width, landmark-max-height):
5394 * play/zone.el (zone):
5395 * progmodes/compile.el (compilation-goto-locus):
5396 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5397 * progmodes/etags.el (find-tag-other-window):
5398 * progmodes/fortran.el (fortran-column-ruler):
5399 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5400 * progmodes/verilog-mode.el (verilog-point-text):
5401 * reposition.el (reposition-window):
5402 * rot13.el (toggle-rot13-mode):
5403 * server.el (server-switch-buffer):
5404 * shell.el (shell-dynamic-complete-command)
5405 (shell-dynamic-complete-environment-variable):
5406 * simple.el (insert-buffer, set-selective-display)
5407 (delete-completion-window):
5408 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5409 (speedbar-recenter):
5410 * startup.el (fancy-splash-head):
5411 * textmodes/ispell.el (ispell-command-loop):
5412 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5413 * tutorial.el (help-with-tutorial):
5414 * vc/add-log.el (add-change-log-entry):
5415 * vc/compare-w.el (compare-windows):
5416 * vc/ediff-help.el (ediff-indent-help-message):
5417 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5418 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5419 (ediff-setup-control-frame):
5420 * vc/emerge.el (emerge-position-region):
5421 * vc/pcvs-util.el (cvs-bury-buffer):
5422 * window.el (walk-windows, mouse-autoselect-window-select):
5423 * winner.el (winner-set-conf, winner-undo): Related users changed.
5424
38276e01
JB
54252013-08-05 Juanma Barranquero <lekktu@gmail.com>
5426
5427 * frameset.el (frameset--set-id): Doc fix.
5428 (frameset-frame-id, frameset-frame-id-equal-p)
5429 (frameset-locate-frame-id): New functions.
5430 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5431 (frameset-restore): Use them.
5432
12b4c0ea
DA
54332013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5434
5435 Do not call to `selected-frame' where it is assumed by default.
5436 Affected functions are `raise-frame', `redraw-frame',
5437 `frame-first-window', `frame-terminal' and `delete-frame'.
5438 * calendar/appt.el (appt-disp-window):
5439 * epg.el (epg-wait-for-completion):
5440 * follow.el (follow-delete-other-windows-and-split)
5441 (follow-avoid-tail-recenter):
5442 * international/mule.el (set-terminal-coding-system):
5443 * mail/rmail.el (rmail-mail-return):
5444 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5445 * progmodes/f90.el (f90-add-imenu-menu):
5446 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5447 * server.el (server-switch-buffer):
5448 * simple.el (delete-completion-window):
5449 * talk.el (talk):
5450 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5451 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5452 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5453 * vc/ediff.el (ediff-documentation): Related users changed.
5454 * frame.el (selected-terminal): Remove the leftover.
5455
17f25e76
GM
54562013-08-05 Glenn Morris <rgm@gnu.org>
5457
5458 * calendar/calendar.el (calendar-generate-month):
5459 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5460 (calendar-generate-month, calendar-font-lock-keywords):
5461 Fix for calendar-day-header-width > length of any day name.
17f25e76 5462
063233c3
JB
54632013-08-05 Juanma Barranquero <lekktu@gmail.com>
5464
5465 * desktop.el (desktop-clear): Use new name of sort predicate.
5466
5467 * frameset.el (frameset): Add docstring. Move :version property to its
5468 own `version' slot.
5469 (frameset-copy): Rename from copy-frameset.
5470 (frameset-p): Check more thoroughly.
5471 (frameset-prop): Do not check for :version, which is no longer a prop.
5472 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5473 Use new :never value instead of t.
5474 (frameset-filter-alist): Expand and clarify docstring.
5475 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5476 (frameset-filter-minibuffer, frameset-filter-save-param)
5477 (frameset-filter-restore-param, frameset-filter-iconified):
5478 Add pointer to docstring of frameset-filter-alist.
5479 (frameset-filter-params): Rename filter values to be more meaningful:
5480 :never instead of t, and reverse the meanings of :save and :restore.
5481 (frameset--process-minibuffer-frames): Clarify error message.
5482 (frameset-save): Avoid unnecessary and confusing call to framep.
5483 Use new BOA constructor for framesets.
5484 (frameset--reuse-list): Doc fix.
5485 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5486 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5487 (frameset-minibufferless-first-p): Doc fix.
5488 Rename from frameset-sort-frames-for-deletion.
5489 (frameset-restore): Doc fixes. Use new function names.
5490 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5491
d5671a82
JB
54922013-08-04 Juanma Barranquero <lekktu@gmail.com>
5493
5494 * desktop.el (desktop-restore-forces-onscreen)
5495 (desktop-restore-reuses-frames): Document :keyword constant values.
5496 (desktop-filter-parameters-alist): Remove, now identical to
5497 frameset-filter-alist.
5498 (desktop--filter-tty*): Remove, moved to frameset.el.
5499 (desktop-save-frameset, desktop-restore-frameset):
5500 Do not pass :filters argument.
5501
5502 * frameset.el (frameset-live-filter-alist)
5503 (frameset-persistent-filter-alist): New variables.
5504 (frameset-filter-alist): Use them. Add autoload cookie.
5505 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5506 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5507 `frameset--id' (it's supposed to be internal to frameset.el).
5508 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5509 (frameset--initial-params): New function.
5510 (frameset--get-frame): Use it. Doc fix.
5511 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5512 Accept :all, not 'all.
5513 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5514 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5515 with fbound symbols. Fix frame id matching, and remove matching ids if
5516 the frame being restored is deleted. Obey :delete.
5517
671d5c16
SM
55182013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5519
5520 * subr.el (macrop): New function.
5521 (text-clone--maintaining): New var.
5522 (text-clone--maintain): Rename from text-clone-maintain. Use it
5523 instead of inhibit-modification-hooks.
5524
5525 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5526 a proxy, so as handle autoloads and redefinitions of the target.
5527 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5528
5529 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5530 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5531 (pcase--mutually-exclusive-p): New function.
5532 (pcase--split-consp): Use it.
5533 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5534 mutually exclusive with the current predicate.
5535
5536 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5537 (edebug-macrop): Remove. Use `macrop' instead.
5538 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5539 (ad-macro-p):
5540 * eshell/esh-cmd.el (eshell-macrop):
5541 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5542
1d44e9dc
SM
55432013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5546 (advice-mapc): New function, using it.
5547 (advice-function-member-p): New function.
5548 (advice--normalize): Store the cdr in advice--saved-rewrite since
5549 that's the part that will be changed.
5550 (advice--symbol-function): New function.
5551 (advice-remove): Handle removal before the function is defined.
5552 Adjust to new advice--saved-rewrite.
5553 (advice-member-p): Use advice-function-member-p and
5554 advice--symbol-function.
5555
5414a283
JB
55562013-08-04 Juanma Barranquero <lekktu@gmail.com>
5557
51d30f2c
JB
5558 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5559 (frameset-filter-minibuffer): Doc fix.
5560 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5561 (frameset--set-id, frameset--process-minibuffer-frames)
5562 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5563 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5564
5414a283
JB
5565 * desktop.el (desktop-clear): Only delete frames when called
5566 interactively and desktop-restore-frames is non-nil. Doc fix.
5567 (desktop-read): Set desktop-saved-frameset to nil.
5568
ab419665
XF
55692013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5570
5571 * vc/vc.el (vc-ignore): Rewrite.
5572 (vc-default-ignore-completion-table):
5573 (vc--read-lines):
5574 (vc--add-line, vc--remove-regexp): New functions.
5575
5576 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5577 (vc-svn-ignore-completion-table): New function.
5578
5579 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5580 (vc-hg-ignore-completion-table):
5581 (vc-hg-find-ignore-file): New functions.
5582
5583 * vc/vc-git.el (vc-git-ignore): Rewrite.
5584 (vc-git-ignore-completion-table):
5585 (vc-git-find-ignore-file): New functions.
5586
5587 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5588
5589 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5590 (vc-bzr-ignore-completion-table):
5591 (vc-bzr-find-ignore-file): New functions.
5592
2613dea2
JB
55932013-08-03 Juanma Barranquero <lekktu@gmail.com>
5594
5595 * frameset.el (frameset-prop): New function and setter.
5596 (frameset-save): Do not modify frame list passed by the caller.
5597
9c959872
SM
55982013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5599
5600 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5601
a104f656
SM
56022013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5603
70122acf
SM
5604 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5605 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5606
a104f656
SM
5607 * custom.el (custom-initialize-default, custom-initialize-set)
5608 (custom-initialize-reset, custom-initialize-changed): Affect the
5609 toplevel-default-value (bug#6275, bug#14586).
5610 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5611 for bug#6275.
5612
f078d570
JB
56132013-08-02 Juanma Barranquero <lekktu@gmail.com>
5614
185e3b5a
JB
5615 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5616 Add cl-def* expressions.
5617
f078d570
JB
5618 * frameset.el (frameset-filter-params): Fix order of arguments.
5619
9421876d
JB
56202013-08-02 Juanma Barranquero <lekktu@gmail.com>
5621
5622 Move code related to saving frames to frameset.el.
5623 * desktop.el: Require frameset.
5624 (desktop-restore-frames): Doc fix.
5625 (desktop-restore-reuses-frames): Rename from
5626 desktop-restoring-reuses-frames.
5627 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5628 (desktop-clear): Clear frames too.
5629 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5630 (desktop--filter-tty*, desktop-save, desktop-read):
5631 Use frameset functions.
5632 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5633 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5634 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5635 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5636 (desktop--process-minibuffer-frames, desktop-save-frames)
5637 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5638 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5639 (desktop--sort-states, desktop-restoring-frames-p)
5640 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5641 (desktop-restoring-frameset-p, desktop-restore-frameset)
5642 (desktop--check-dont-save, desktop-save-frameset): New functions.
5643 (desktop--app-id): New constant.
5644 (desktop-first-buffer, desktop-buffer-ok-count)
5645 (desktop-buffer-fail-count): Move before first use.
5646 * frameset.el: New file.
5647
76dc5996
SM
56482013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5649
5650 * files.el: Use lexical-binding.
5651 (dir-locals-read-from-file): Remove unused `err' variable.
5652 (hack-dir-local-variables--warned-coding): New var.
5653 (hack-dir-local-variables): Use it to avoid repeated warnings.
5654 (make-backup-file-name--default-function): New function.
5655 (make-backup-file-name-function): Use it as default.
5656 (buffer-stale--default-function): New function.
5657 (buffer-stale-function): Use it as default.
5658 (revert-buffer-insert-file-contents--default-function): New function.
5659 (revert-buffer-insert-file-contents-function): Use it as default.
5660 (insert-directory): Avoid add-to-list.
5661
5662 * autorevert.el (auto-revert-handler): Simplify.
5663 Use buffer-stale--default-function.
5664
06d36e2b
TH
56652013-08-01 Tassilo Horn <tsdh@gnu.org>
5666
5f648ab4
TH
5667 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5668
06d36e2b
TH
5669 * whitespace.el (whitespace-ensure-local-variables): New function.
5670 (whitespace-cleanup-region): Call it.
5671 (whitespace-turn-on): Call it.
5672
a43dc424
MA
56732013-08-01 Michael Albinus <michael.albinus@gmx.de>
5674
5675 Complete file name handlers.
5676
5677 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5678 (tramp-handle-verify-visited-file-modtime)
5679 (tramp-handle-file-notify-rm-watch): New functions.
5680 (tramp-call-process): Do not bind `default-directory'.
5681
44e18199
JB
5682 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5683 Order alphabetically.
a43dc424
MA
5684 [access-file, add-name-to-file, dired-call-process]:
5685 [dired-compress-file, file-acl, file-notify-rm-watch]:
5686 [file-ownership-preserved-p, file-selinux-context]:
5687 [make-directory-internal, make-symbolic-link, set-file-acl]:
5688 [set-file-selinux-context, set-visited-file-modtime]:
5689 [verify-visited-file-modtime]: Add handler.
5690 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5691
5692 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5693 [file-notify-add-watch, file-notify-rm-watch]:
5694 [set-file-times, set-visited-file-modtime]:
5695 [verify-visited-file-modtime]: Add handler.
5696 (with-tramp-gvfs-error-message)
5697 (tramp-gvfs-handle-set-visited-file-modtime)
5698 (tramp-gvfs-fuse-file-name): Remove.
5699 (tramp-gvfs-handle-file-notify-add-watch)
5700 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5701 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5702
44e18199
JB
5703 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5704 Order alphabetically.
a43dc424
MA
5705 [file-notify-rm-watch ]: Use default Tramp handler.
5706 [executable-find]: Remove private handler.
5707 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5708 `default-directory'.
5709 (tramp-sh-handle-executable-find)
5710 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5711 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5712 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5713 Do not use `format' in `tramp-message'.
5714
5715 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5716 [file-notify-rm-watch, set-visited-file-modtime]:
5717 [verify-visited-file-modtime]: Add handler.
5718 (tramp-smb-call-winexe): Do not bind `default-directory'.
5719
7188b515
XF
57202013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5721
5722 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5723
2412ee1a
DG
57242013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5725
5726 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5727 use it.
5728 (log-view-diff-changeset): Same.
5729 (log-view-diff-common): Call backend command `previous-revision'
5730 to find out the previous revision, in both cases. Swap the
5731 variables `to' and `fr', so that `fr' usually refers to the
5732 earlier revision (Bug#14989).
5733
5002a754
KRC
57342013-07-31 Kan-Ru Chen <kanru@kanru.info>
5735
5736 * ibuf-ext.el (ibuffer-filter-by-filename):
5737 Make it work with dired buffers too.
5738
44e18199 57392013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5740
5741 * emacs-lisp/re-builder.el (reb-color-display-p):
5742 * files.el (save-buffers-kill-terminal):
5743 * net/browse-url.el (browse-url):
5744 * server.el (server-save-buffers-kill-terminal):
5745 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5746 Prefer nil to selected-frame for the first arg of frame-parameter.
5747
aeca3fbb
XF
57482013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5749
5750 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5751
158bc55c
SB
57522013-07-30 Stephen Berman <stephen.berman@gmx.net>
5753
5754 * minibuffer.el (completion--twq-all): Try and preserve each
5755 completion's case choice (bug#14907).
5756
d50fceab
LMI
57572013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5758
ac38e731
LMI
5759 * net/network-stream.el (open-network-stream): Mention the new
5760 :nogreeting parameter.
5761 (network-stream-open-starttls): Use the :nogreeting parameter
5762 (bug#14938).
5763
1211de50
LMI
5764 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5765
997798bf
LMI
5766 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5767 more natural than popping.
5768
d50fceab 5769 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5770 (shr-urlify): Highlight under mouse.
d50fceab 5771
5c09de04
XF
57722013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5773
207d1d04
XF
5774 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5775
5776 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5777
5c09de04
XF
5778 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5779 buffer for output.
5780
3cd51eaa
XF
5781 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5782 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5783
44e18199 5784 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5785 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5786
5787 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5788
5789 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5790 buffer for output.
5791
35a89bdd
EZ
57922013-07-29 Eli Zaretskii <eliz@gnu.org>
5793
5794 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5795 initial frame is minibuffer-less. (Bug#14841)
5796
78822e94
MA
57972013-07-29 Michael Albinus <michael.albinus@gmx.de>
5798
5799 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5800 option.
5801
5802 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5803 (tramp-maybe-open-connection): Use it.
5804
9503c190
JB
58052013-07-28 Juanma Barranquero <lekktu@gmail.com>
5806
5807 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5808 minimal set of parameters passed when creating a frame, because
5809 the minibuffer status of a frame cannot be changed later.
5810
d5a845b4
SB
58112013-07-28 Stephen Berman <stephen.berman@gmx.net>
5812
5813 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5814 replace-regexp-in-string and inadvertent omissions in previous change.
5815 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5816 name of filtered items buffer.
d5a845b4 5817
ddeffb17
JB
58182013-07-28 Juanma Barranquero <lekktu@gmail.com>
5819
5820 * desktop.el: Optionally force offscreen frames back onscreen.
5821 (desktop-restoring-reuses-frames): New option.
5822 (desktop--compute-pos, desktop--move-onscreen): New functions.
5823 (desktop--make-frame): Use desktop--move-onscreen.
5824
f5950f7a
AM
58252013-07-27 Alan Mackenzie <acm@muc.de>
5826
5827 Fontify a Java generic method as a function.
5828 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5829 value to t.
5830
ae43b66a
SB
58312013-07-27 Stephen Berman <stephen.berman@gmx.net>
5832
5833 * calendar/todo-mode.el: Add command to rename todo files.
5834 (todo-rename-file): New command.
5835 (todo-key-bindings-t): Add key binding for it. Change the
5836 bindings of todo-filter-regexp-items(-multifile) to use `x'
5837 instead of `r', since the latter is better suited to the new
5838 renaming command.
5839
5ab78d3d
AM
58402013-07-27 Alan Mackenzie <acm@muc.de>
5841
5842 Make Java try-with-resources statement parse properly.
5843 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5844 (c-block-stmt-1-2-key): New language constants/variables.
5845 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5846 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5847 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 5848 with c-block-stmt-1-2-key.
5ab78d3d 5849
d85c4d50
JB
58502013-07-27 Juanma Barranquero <lekktu@gmail.com>
5851
5852 * desktop.el (desktop--make-frame): Apply most frame parameters after
5853 creating the frame to force (partially or totally) offscreen frames to
5854 be restored as such.
5855
e4c467f9
XF
58562013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5857
5858 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 5859 (Bug#14948)
e4c467f9 5860
7ced0d04
SM
58612013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5864 `base' arg of backtrace-frame.
5865
fec92060
EZ
58662013-07-26 Eli Zaretskii <eliz@gnu.org>
5867
5868 * simple.el (list-processes): Doc fix.
5869
d58d31fb
JB
58702013-07-26 Juanma Barranquero <lekktu@gmail.com>
5871
5872 * desktop.el (desktop--select-frame):
d85c4d50 5873 Try harder to reuse existing frames.
d58d31fb 5874
53ff3e77
SM
58752013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5878 (edebug-eval): Use backtrace-eval.
5879 (edebug--display, edebug--recursive-edit): Don't let-bind the
5880 edebug-outer-* vars that keep track of variables we locally let-bind.
5881 (edebug-outside-excursion): Don't restore outside values of locally
5882 let-bound vars.
5883 (edebug--display): Use user-error.
5884 (cl-lexical-debug, cl-debug-env): Remove.
5885
045f7a53
JB
58862013-07-26 Juanma Barranquero <lekktu@gmail.com>
5887
5888 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5889 are restored to be sure that they are visible before deleting any
5890 remaining ones.
5891
59070b32
MM
58922013-07-26 Matthias Meulien <orontee@gmail.com>
5893
742a3501
XF
5894 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5895 vc-print-root-log. (Bug#14948)
59070b32 5896
b1fb3596
RS
58972013-07-26 Richard Stallman <rms@gnu.org>
5898
5899 Add aliases for encrypting mail.
5900 * epa.el (epa-mail-aliases): New option.
5901 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5902 Bind inhibit-read-only so read-only text doesn't ruin everything.
5903 (epa-mail-default-recipients): New subroutine broken out.
5904 Handle epa-mail-aliases.
5905
56ea7291
SM
59062013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 Add support for lexical variables to the debugger's `e' command.
5909 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5910 vars, except for debugger-outer-match-data.
5911 (debugger-frame-number): Move check for "on a function call" from
5912 callers into it. Add `skip-base' argument.
5913 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5914 (debugger-env-macro): Only reset the state stored in non-variables,
5915 i.e. current-buffer and match-data.
5916 (debugger-eval-expression): Rewrite using backtrace-eval.
5917 * subr.el (internal--called-interactively-p--get-frame): Remove.
5918 (called-interactively-p):
5919 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5920 `base' arg of backtrace-frame instead.
5921
15ac32d5
GM
59222013-07-26 Glenn Morris <rgm@gnu.org>
5923
8358a09d
GM
5924 * align.el (align-regexp): Doc fix. (Bug#14857)
5925 (align-region): Explicit error if subexpression missing/does not match.
5926
15ac32d5
GM
5927 * simple.el (global-visual-line-mode):
5928 Do not duplicate the mode lighter. (Bug#14858)
5929
f47ad11b
MR
59302013-07-25 Martin Rudalics <rudalics@gmx.at>
5931
5932 * window.el (display-buffer): In display-buffer bind
5933 split-window-keep-point to t, bug#14829.
5934
02530987
JB
59352013-07-25 Juanma Barranquero <lekktu@gmail.com>
5936
5937 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5938 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5939 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5940 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5941 Change accordingly.
f63ebeb5
JB
5942 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5943 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 5944
6ccb9cab 59452013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 5946
6ccb9cab 5947 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 5948
cb3a56d2
JB
59492013-07-25 Juanma Barranquero <lekktu@gmail.com>
5950
5951 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5952 parameter to modify-frame-parameters if the value has not changed;
5953 this is a workaround for bug#14949.
5954 (desktop--make-frame): On cl-delete-if call, check parameter name,
5955 not full parameter.
5956
7aa7fff0
XF
59572013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5958
5959 * vc/vc.el (vc-ignore): New function.
5960
5961 * vc/vc-svn.el (vc-svn-ignore): New function.
5962
5963 * vc/vc-hg.el (vc-hg-ignore): New function.
5964
5965 * vc/vc-git.el (vc-git-ignore): New function.
5966
5967 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5968 (vc-dir-ignore): New function.
5969
5970 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 5971 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
5972
5973 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5974
5975 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5976
889acc5c
JB
59772013-07-24 Juanma Barranquero <lekktu@gmail.com>
5978
5979 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5980 (desktop-restore-frames): Warn when deleting an existing frame failed.
5981
86c40970
GM
59822013-07-24 Glenn Morris <rgm@gnu.org>
5983
5984 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5985
d5d3c58a
MA
59862013-07-24 Michael Albinus <michael.albinus@gmx.de>
5987
5988 * filenotify.el (file-notify-supported-p):
5989 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5990 Remove functions.
5991
5992 * autorevert.el (auto-revert-use-notify):
5993 (auto-revert-notify-add-watch):
5994 * net/tramp.el (tramp-file-name-for-operation):
5995 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5996 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5997 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5998 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5999 Remove `file-notify-supported-p' entry.
6000
d100084b
GM
60012013-07-24 Glenn Morris <rgm@gnu.org>
6002
6003 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6004 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6005
ac93e56b
SM
60062013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6007
249eea30
SM
6008 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6009 checked with memq (bug#14935).
6010
ac93e56b
SM
6011 * files.el (revert-buffer-function): Use a non-nil default.
6012 (revert-buffer-preserve-modes): Declare var to
6013 provide access to the `preserve-modes' argument.
6014 (revert-buffer): Let-bind it.
6015 (revert-buffer--default): New function, extracted from revert-buffer.
6016
2cdeb903
SM
60172013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6018
6019 * lpr.el: Signal print errors more prominently.
6020 (print-region-function): Don't default to nil.
6021 (lpr-print-region): New function, extracted from print-region-1.
6022 Check lpr's return value and signal an error in case of problem.
6023 (print-region-1): Use it.
6024 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6025 versions instead.
6026 (ps-printer-name): Default to nil.
6027 (ps-printer-name-option): Default to lpr-printer-switch.
6028 (ps-print-region-function): Don't default to nil.
6029 (ps-postscript-code-directory): Simplify default.
6030 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6031 (ps-string-list, ps-eval-switch, ps-flatten-list)
6032 (ps-flatten-list-1): Remove.
6033 (ps-multibyte-buffer): Avoid setq.
6034 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6035 (print-region-function, ps-print-region-function): Don't set them here.
6036
73600831
XF
60372013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6038
0e55c076
XF
6039 * ido.el (ido-fractionp):
6040 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6041 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6042 (ido-max-directory-size, ido-max-dir-file-cache)
6043 (ido-decorations): Doc fix.
6044
73600831
XF
6045 * ansi-color.el: Fix old URL.
6046
3d012865
MM
60472013-07-23 Michael R. Mauger <michael@mauger.com>
6048
e903c210 6049 * progmodes/sql.el: Version 3.3
3d012865
MM
6050 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6051 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6052 (sql-interactive-remove-continuation-prompt): Rewrite, use
6053 functions above. Fix continuation prompt and complete output line
6054 handling.
6055 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6056 redirected output buffer.
6057 (sql-mode): Restore deleted code (Bug#13591).
6058
da77a2e2
JB
60592013-07-23 Juanma Barranquero <lekktu@gmail.com>
6060
6061 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6062
80ff0c71
MA
60632013-07-23 Michael Albinus <michael.albinus@gmx.de>
6064
6065 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6066
6067 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6068 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6069 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6070
b61d71e4
JB
60712013-07-23 Juanma Barranquero <lekktu@gmail.com>
6072
6073 * desktop.el (desktop-clear): Simplify; remove useless checks
6074 against invalid buffer names.
6075 (desktop-list*): Use cl-list*.
6076 (desktop-buffer-info, desktop-create-buffer): Simplify.
6077
c3512092
LL
60782013-07-23 Leo Liu <sdl.web@gmail.com>
6079
6080 * bookmark.el (bookmark-make-record): Restore NAME as a default
6081 value. (Bug#14933)
6082
0ac26976
SM
60832013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6084
7d22ce18
SM
6085 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6086 extracted from autoload--insert-text.
6087 (autoload--insert-text): Remove.
6088 (autoload--print-cookie-text): New function, extracted from
6089 autoload--insert-cookie-text.
6090 (autoload--insert-cookie-text): Remove.
6091 (autoload-generate-file-autoloads): Adjust calls accordingly.
6092
9b2607e8
SM
6093 * winner.el (winner-hook-installed-p): Remove.
6094 (winner-mode): Simplify accordingly.
6095
c43a8618
SM
6096 * subr.el (add-to-list): Fix compiler-macro when `append' is
6097 not constant. Don't use `cl-member' for the base case.
6098
0ac26976
SM
6099 * progmodes/subword.el: Fix boundary case (bug#13758).
6100 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6101 own group.
6102 (subword-backward-regexp): Make it a constant.
6103 (subword-forward-internal): Don't treat a trailing capital as the
6104 beginning of a word.
6105
6874724a
AR
61062013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6107
6108 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6109 global value of tabulated-list-revert-hook (bug#14930).
6110
70f1b5e8
JB
61112013-07-22 Juanma Barranquero <lekktu@gmail.com>
6112
a1c80d9d
JB
6113 * desktop.el: Require 'cl-lib.
6114 (desktop-before-saving-frames-functions): New hook.
6115 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6116 for frames being saved. Rename from desktop--save-minibuffer-frames.
6117 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6118 Do not save frames with non-nil `desktop-dont-save' parameter.
6119 Filter out deleted frames.
a1c80d9d
JB
6120 (desktop--find-frame): Use cl-find-if.
6121 (desktop--select-frame): Use cl-(first|second|third) to access values
6122 of desktop-mini.
6123 (desktop--make-frame): Use cl-delete-if.
6124 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6125 (desktop-restore-frames): Use cl-(first|second|third) to access values
6126 of desktop-mini. Look for visible frame at the end, not while
6127 restoring frames.
6128
70f1b5e8
JB
6129 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6130 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6131 Use string-match-p, looking-at-p (bug#14927).
6132
728dc3cc
JB
61332013-07-21 Juanma Barranquero <lekktu@gmail.com>
6134
56bc453c
JB
6135 * desktop.el (desktop-saved-frame-states):
6136 Rename from desktop--saved-states; all users changed.
6137 (desktop-save-frames): Rename from desktop--save-frames.
6138 Do not save state to desktop file.
6139 (desktop-save): Save desktop-saved-frame-states to desktop file
6140 and reset to nil.
6141 (desktop-restoring-frames-p): New function.
6142 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6143 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6144 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6145
728dc3cc
JB
6146 * desktop.el: Correctly restore iconified frames.
6147 (desktop--filter-iconified-position): New function.
6148 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6149
862f1c9c
GM
61502013-07-20 Glenn Morris <rgm@gnu.org>
6151
c4074c9f
GM
6152 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6153 Let `message' do the formatting.
6154 (def-gdb-preempt-display-buffer): Add explicit format.
6155
d828e5f9
GM
6156 * image-dired.el (image-dired-track-original-file):
6157 Use with-current-buffer.
6158 (image-dired-track-thumbnail): Use with-current-buffer.
6159 Avoid changing point of wrong window.
6160
862f1c9c
GM
6161 * image-dired.el (image-dired-track-original-file):
6162 Avoid changing point of wrong window. (Bug#14909)
6163
f0398ec1 61642013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6165
6166 * progmodes/gdb-mi.el (gdb-done-or-error):
6167 Guard against "%" in gdb output. (Bug#14127)
6168
1451928f
AS
61692013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6170
763a086d
JB
6171 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6172 (Bug#14826)
f7a03897 6173
1451928f
AS
6174 * international/mule.el (coding-system-iso-2022-flags): Fix last
6175 change.
6176
99107004
KH
61772013-07-20 Kenichi Handa <handa@gnu.org>
6178
763a086d
JB
6179 * international/mule.el (coding-system-iso-2022-flags):
6180 Add `8-bit-level-4'. (Bug#8522)
99107004 6181
48494e06
LMI
61822013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6183
8ba8eec5
LMI
6184 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6185 (bug#14815).
6186
dfbc66e3
LMI
6187 * net/eww.el (eww-process-text-input): Allow inputting when the
6188 point is at the start of the line, as the properties aren't
6189 front-sticky.
6190
48494e06
LMI
6191 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6192 degenerate widths.
6193
77c92cb9
RS
61942013-07-19 Richard Stallman <rms@gnu.org>
6195
aec7da77
RS
6196 * epa.el (epa-popup-info-window): Doc fix.
6197
77c92cb9
RS
6198 * subr.el (split-string): New arg TRIM.
6199
945c5bb1
JB
62002013-07-18 Juanma Barranquero <lekktu@gmail.com>
6201
6202 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6203 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6204
e06ec67f
MA
62052013-07-18 Michael Albinus <michael.albinus@gmx.de>
6206
c7064f05 6207 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6208 `file-notify-support'. Do not autoload. Adapt all uses.
6209 (file-notify-supported-p): New defun.
6210
c7064f05
JB
6211 * autorevert.el (auto-revert-use-notify):
6212 Use `file-notify-supported-p' instead of `file-notify-support'.
6213 Adapt docstring.
e06ec67f
MA
6214 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6215
6216 * net/tramp.el (tramp-file-name-for-operation):
6217 Add `file-notify-supported-p'.
6218
6219 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6220 New defun.
6221 (tramp-sh-file-name-handler-alist): Add it as handler for
6222 `file-notify-supported-p '.
6223
6224 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6225 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6226 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6227 Add `ignore' as handler for `file-notify-*' functions.
6228
5dc8a629
EZ
62292013-07-17 Eli Zaretskii <eliz@gnu.org>
6230
6231 * simple.el (line-move-partial, line-move): Don't start vscroll or
6232 scroll-up if the current line is not taller than the window.
6233 (Bug#14881)
6234
77aea2fb
DG
62352013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6236
6237 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6238 highlight question marks in the method names as strings.
ac72c08d
DG
6239 (ruby-block-beg-keywords): Inline.
6240 (ruby-font-lock-keyword-beg-re): Extract from
6241 `ruby-font-lock-keywords'.
77aea2fb 6242
18c26d81
JD
62432013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6244
6245 * frame.el (blink-cursor-blinks): New defcustom.
6246 (blink-cursor-blinks-done): New defvar.
6247 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6248 (blink-cursor-timer-function): Check if number of blinks has been
6249 done on X and NS.
6250 (blink-cursor-suspend, blink-cursor-check): New defuns.
6251
da48522e
GM
62522013-07-15 Glenn Morris <rgm@gnu.org>
6253
6254 * edmacro.el (edmacro-format-keys): Fix previous change.
6255
0463c1ef
PE
62562013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6257
6258 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6259 The hack didn't work outside English locales anyway.
6260
b43f6451
JB
62612013-07-15 Juanma Barranquero <lekktu@gmail.com>
6262
6263 * simple.el (define-alternatives): Rename from alternatives-define,
6264 per RMS' suggestion.
6265
b958c0ad
JB
62662013-07-14 Juanma Barranquero <lekktu@gmail.com>
6267
6268 * desktop.el (desktop-restore-frames): Change default to t.
6269 (desktop-restore-in-current-display): Now offer more options.
6270 (desktop-restoring-reuses-frames): New customization option.
6271 (desktop--saved-states): Doc fix.
6272 (desktop-filter-parameters-alist): New variable, renamed and expanded
6273 from desktop--excluded-frame-parameters.
6274 (desktop--target-display): New variable.
6275 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6276 (desktop--filter-tty*, desktop--filter-*-color)
6277 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6278 (desktop--filter-save-desktop-parm)
6279 (desktop-restore-in-original-display-p): New functions.
6280 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6281 (desktop--save-minibuffer-frames): New function, inspired by a similar
6282 function from Martin Rudalics.
6283 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6284 (desktop--restore-in-this-display-p): Remove.
6285 (desktop--find-frame): Rename from desktop--find-frame-in-display
6286 and add predicate argument.
6287 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6288 (desktop--reuse-list): New variable.
6289 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6290 New functions.
6291 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6292
f6dd8b36
MA
62932013-07-14 Michael Albinus <michael.albinus@gmx.de>
6294
6295 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6296
2ce3c565
DG
62972013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6298
763a086d
JB
6299 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6300 Highlight conversion methods on Kernel.
2ce3c565 6301
2cdb7698
AM
63022013-07-13 Alan Mackenzie <acm@muc.de>
6303
6304 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6305 and comment it out. This out-commenting enables certain C++
6306 declarations to be parsed correctly.
6307
1a67b811
EZ
63082013-07-13 Eli Zaretskii <eliz@gnu.org>
6309
1b796d6b
EZ
6310 * international/mule.el (define-coding-system): Doc fix.
6311
1a67b811
EZ
6312 * simple.el (default-font-height): Don't call font-info if the
6313 frame's default font didn't change since the frame was created.
6314 (Bug#14838)
6315
58fbe886
LL
63162013-07-13 Leo Liu <sdl.web@gmail.com>
6317
6318 * ido.el (ido-read-file-name): Guard against non-symbol value.
6319
1f0480d4
FEG
63202013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6321
6322 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6323 in nested defuns.
6324
97ead0e5
LL
63252013-07-13 Leo Liu <sdl.web@gmail.com>
6326
6327 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6328 ido-set-matches call. (Bug#6852)
6329
0880a952
DG
63302013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6331
6332 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6333 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6334 Ruby 2.0.
6335 (ruby-font-lock-keywords): Distinguish calls to functions with
6336 module-like names from module references. Highlight character
6337 literals.
6338
a7d8babb
SDJ
63392013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6340
6341 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6342 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6343
acfcc8c5
JB
63442013-07-12 Juanma Barranquero <lekktu@gmail.com>
6345
6346 * desktop.el (desktop--v2s): Remove unused local variable.
6347 (desktop-save-buffer): Make defvar-local; adjust docstring.
6348 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6349 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6350
051f2775
AS
63512013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6352
6353 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6354
f24e7572
GM
63552013-07-12 Eli Zaretskii <eliz@gnu.org>
6356
6357 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6358 (Bug#14842)
6359
539a920c
GM
63602013-07-12 Glenn Morris <rgm@gnu.org>
6361
6362 * doc-view.el: Require cl-lib at runtime too.
6363 (doc-view-remove-if): Remove.
6364 (doc-view-search-next-match, doc-view-search-previous-match):
6365 Use cl-remove-if.
6366
6367 * edmacro.el: Require cl-lib at runtime too.
6368 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6369 (edmacro-mismatch, edmacro-subseq): Remove.
6370
6371 * shadowfile.el: Require cl-lib.
6372 (shadow-remove-if): Remove.
6373 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6374 Use cl-remove-if.
6375
6376 * wid-edit.el: Require cl-lib.
6377 (widget-choose): Use cl-remove-if.
6378 (widget-remove-if): Remove.
6379
6380 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6381 (ebrowse-delete-if-not): Remove.
6382 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6383 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6384 Use cl-delete-if-not.
6385
1048af7c
JB
63862013-07-12 Juanma Barranquero <lekktu@gmail.com>
6387
6388 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6389 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6390
6c0674ee
LL
63912013-07-12 Leo Liu <sdl.web@gmail.com>
6392
6393 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6394
a19b3c2d
GM
63952013-07-11 Glenn Morris <rgm@gnu.org>
6396
4582a01c
GM
6397 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6398 (edebug-gensym-index, edebug-gensym):
6399 Remove reimplementation of cl-gensym.
6400 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6401
6402 * thumbs.el: Require cl-lib at run-time too.
6403 (thumbs-gensym-counter, thumbs-gensym):
6404 Remove reimplementation of cl-gensym.
6405 (thumbs-temp-file): Use cl-gensym.
6406
a19b3c2d
GM
6407 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6408 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6409 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6410 (ert--union, ert--gensym-counter, ert--gensym-counter)
6411 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6412 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6413 (ert-make-test-unbound, ert--expand-should-1)
6414 (ert--expand-should, ert--should-error-handle-error)
6415 (should-error, ert--explain-equal-rec)
6416 (ert--plist-difference-explanation, ert-select-tests)
6417 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6418 Use cl-lib functions rather than reimplementations.
6419
88f6a933
MA
64202013-07-11 Michael Albinus <michael.albinus@gmx.de>
6421
6422 * net/tramp.el (tramp-methods): Extend docstring.
6423 (tramp-connection-timeout): New defcustom.
6424 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6425 (with-tramp-progress-reporter): Simplify.
6426 (tramp-process-actions): Improve messages.
6427
6428 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6429 * net/tramp-sh.el (tramp-maybe-open-connection):
6430 Use `tramp-connection-timeout'.
6431 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6432 (Bug#14808)
6433
a43d577e
LL
64342013-07-11 Leo Liu <sdl.web@gmail.com>
6435
6436 * ido.el (ido-read-file-name): Conform to the requirements of
6437 read-file-name. (Bug#11861)
6438 (ido-read-directory-name): Conform to the requirements of
6439 read-directory-name.
6440
d77974bf
JB
64412013-07-11 Juanma Barranquero <lekktu@gmail.com>
6442
6443 * subr.el (delay-warning): New function.
6444
35cb8a3e
EZ
64452013-07-10 Eli Zaretskii <eliz@gnu.org>
6446
6447 * simple.el (default-line-height): New function.
6448 (line-move-partial, line-move): Use it instead of computing the
6449 line height inline.
6450 (line-move-partial): Always compute ROWH. If the last line is
6451 partially-visible, but its text is completely visible, allow
6452 cursor to enter such a partially-visible line.
6453
525c5c77
MA
64542013-07-10 Michael Albinus <michael.albinus@gmx.de>
6455
6456 Improve error messages. (Bug#14808)
6457
6458 * net/tramp.el (tramp-current-connection): New defvar, moved from
6459 tramp-sh.el.
0ac26976 6460 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6461 needed anymore.
0ac26976
SM
6462 (tramp-error-with-buffer): Show message in minibuffer.
6463 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6464 (with-tramp-progress-reporter): Improve messages.
6465 (tramp-process-actions): Use progress reporter. Delete process in
6466 case of error. Improve messages.
6467
763a086d
JB
6468 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6469 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6470 (tramp-current-connection): Remove.
525c5c77
MA
6471 (tramp-maybe-open-connection): The car of
6472 `tramp-current-connection' are the first 3 slots of the vector.
6473
c7a4d368
TZ
64742013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6475
6476 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6477 inside continued strings.
6478
954b166e
PE
64792013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6480
6481 Timestamp fixes for undo (Bug#14824).
6482 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6483
56973319
LL
64842013-07-10 Leo Liu <sdl.web@gmail.com>
6485
6486 * files.el (require-final-newline): Allow safe local value.
6487 (Bug#14834)
6488
5550a72c
LL
64892013-07-09 Leo Liu <sdl.web@gmail.com>
6490
6491 * ido.el (ido-read-directory-name): Handle fallback.
6492 (ido-read-file-name): Update DIR to ido-current-directory.
6493 (Bug#1516)
c28b9050 6494 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6495
70c46b28
DG
64962013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6497
6498 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6499 "autoload". Remove "warn lower camel case" section, previously
6500 commented out. Highlight negation char. Do not highlight the
6501 target in singleton method definitions.
6502
0b64b838
SM
65032013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6504
7fd72e2c
SM
6505 * faces.el (tty-setup-hook): Declare the hook.
6506
0b64b838
SM
6507 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6508 and detect when a guard/pred depends on local vars (bug#14773).
6509 (pcase--u1): Adjust caller.
6510
ab49d60b
EZ
65112013-07-08 Eli Zaretskii <eliz@gnu.org>
6512
6513 * simple.el (line-move-partial, line-move): Account for
6514 line-spacing.
701d79aa
EZ
6515 (line-move-partial): Avoid setting vscroll when the last
6516 partially-visible line in window is of default height.
ab49d60b 6517
2d756ae0
LMI
65182013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6519
6520 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6521 been used a while.
6522
ed095bd7
JB
65232013-07-07 Juanma Barranquero <lekktu@gmail.com>
6524
6525 * subr.el (read-quoted-char): Remove unused local variable `char'.
6526
f1e6674b
MK
65272013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6528
584ee3fc
GM
6529 * ediff.el (ediff-version): Version update.
6530 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6531 (ediff-merge-with-ancestor-command, ediff-directories-command)
6532 (ediff-directories3-command, ediff-merge-directories-command)
6533 (ediff-merge-directories-with-ancestor-command): New functions.
6534 All are command-line interfaces to ediff: to facilitate calling
6535 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6536
6537 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6538 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6539
584ee3fc
GM
6540 * viper.el (viper-version): Version update.
6541 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6542
584ee3fc
GM
65432013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6546 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6547 (viper-intercept-ESC-key): Simplify.
6548 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6549 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6550 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6551 (viper-setup-ESC-to-escape): New functions.
6552 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6553 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6554
9aff9b38
EZ
65552013-07-07 Eli Zaretskii <eliz@gnu.org>
6556
5165d44a
JB
6557 * simple.el (default-font-height, window-screen-lines):
6558 New functions.
9aff9b38
EZ
6559 (line-move, line-move-partial): Use them instead of
6560 frame-char-height and window-text-height. This makes scrolling
6561 text smoother when the buffer's default face uses a font that is
6562 different from the frame's default font.
6563
1afb1d07
JD
65642013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6565
6566 * files.el (write-file): Do not display confirm dialog for NS,
6567 it does its own dialog, which can't be cancelled (Bug#14578).
6568
23de972a
EZ
65692013-07-06 Eli Zaretskii <eliz@gnu.org>
6570
6571 * simple.el (line-move-partial): Adjust the row returned by
6572 posn-at-point for the current window-vscroll. (Bug#14567)
6573
54a42486
MA
65742013-07-06 Michael Albinus <michael.albinus@gmx.de>
6575
6576 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6577 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6578 spaces.
6579
34ada5f4
MR
65802013-07-06 Martin Rudalics <rudalics@gmx.at>
6581
6582 * window.el (window-state-put-stale-windows): New variable.
6583 (window--state-put-2): Save list of windows without matching buffer.
6584 (window-state-put): Remove "bufferless" windows if possible.
6585
11e03d89
JB
65862013-07-06 Juanma Barranquero <lekktu@gmail.com>
6587
6588 * simple.el (alternatives-define): Remove leftover :group keyword.
6589 Tweak docstring.
6590
3504a4be
LL
65912013-07-06 Leo Liu <sdl.web@gmail.com>
6592
6593 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6594 (ido-enable-virtual-buffers): New variable.
6595 (ido-buffer-internal, ido-toggle-virtual-buffers)
6596 (ido-make-buffer-list): Use it.
6597 (ido-exhibit): Support turning on and off virtual buffers
6598 automatically.
6599
61e56e2c
JB
66002013-07-06 Juanma Barranquero <lekktu@gmail.com>
6601
6602 * simple.el (alternatives-define): New macro.
6603
321e1a9c
SM
66042013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 * subr.el (read-quoted-char): Use read-key.
6607 (sit-for): Let read-event decode tty input (bug#14782).
6608
d610f6dd
SB
66092013-07-05 Stephen Berman <stephen.berman@gmx.net>
6610
6611 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6612 mode command and externally. Fix various related bugs.
6613 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6614 (todo-delete-file): New command.
6615 (todo-check-file): New function.
6616 (todo-show): Handle external deletion of the file we're trying to
6617 show (bug#14688). Replace called-interactively-p by an optional
6618 prefix argument to avoid problematic interaction with catch form
6619 when byte compiled (bug#14702).
6620 (todo-quit): Handle external deletion of the archive's todo file.
6621 Make sure the buffer that was visiting the archive file is still
6622 live before trying to bury it.
6623 (todo-category-completions): Handle external deletion of any
6624 category completion files.
6625 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6626 of todo files, in case of external deletion.
6627 (todo-add-file): Replace unnecessary setq by let-binding.
6628 (todo-find-archive): Check whether there are any archives.
6629 Replace unnecessary setq by let-binding.
6630 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6631 archive buffer whether or not the archive already exists.
6632 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6633 check if the archive is new; if it is, update list of archives.
6634 (todo-default-todo-file): Allow nil to be a valid value for when
6635 there are no todo files.
6636 (todo-reevaluate-default-file-defcustom): Use corrected definition
6637 of todo-default-todo-file.
6638 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6639 (todo-delete-category, todo-show-categories-table)
6640 (todo-category-number): Clarify comment.
6641 (todo-filter-items): Clarify documentation string.
6642 (todo-show-current-file, todo-display-as-todo-file)
6643 (todo-reset-and-enable-done-separator): Tweak documentation string.
6644 (todo-done-separator): Make separator length window-width, since
6645 bug#2749 is now fixed.
6646
ddbdfd6f
MA
66472013-07-05 Michael Albinus <michael.albinus@gmx.de>
6648
321e1a9c
SM
6649 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6650 Support both "gvfs-monitor-dir" and "inotifywait".
6651 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6652 `tramp-sh-file-notify-process-filter'.
6653 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6654 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6655
96eb829a
LL
66562013-07-05 Leo Liu <sdl.web@gmail.com>
6657
6658 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6659
cf13177e
YM
66602013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6661
6662 * frame.el (display-pixel-height, display-pixel-width)
6663 (display-mm-height, display-mm-width): Mention behavior on
6664 multi-monitor setups in docstrings.
6665 (w32-display-monitor-attributes-list): Declare function.
6666 (display-monitor-attributes-list): Use it.
6667
864c58ca
MA
66682013-07-04 Michael Albinus <michael.albinus@gmx.de>
6669
6670 * filenotify.el: New package.
6671
6672 * autorevert.el (top): Require filenotify.el.
6673 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6674 instead.
6675 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6676 (auto-revert-notify-handler): Use `file-notify-*' functions.
6677
6678 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6679
321e1a9c
SM
6680 * net/tramp.el (tramp-file-name-for-operation):
6681 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6682
6683 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6684 for `file-notify-add-watch' and `file-notify-rm-watch'.
6685 (tramp-process-sentinel): Improve trace.
6686 (tramp-sh-handle-file-notify-add-watch)
6687 (tramp-sh-file-notify-process-filter)
6688 (tramp-sh-handle-file-notify-rm-watch)
6689 (tramp-get-remote-inotifywait): New defuns.
6690
96673afe
JL
66912013-07-03 Juri Linkov <juri@jurta.org>
6692
6693 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6694 call of `occur-read-primary-args' to interactive spec.
6695
6696 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6697 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6698
924494f4
MM
66992013-07-03 Matthias Meulien <orontee@gmail.com>
6700
6701 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6702 `Buffer-menu-multi-occur'. Add it to the menu.
6703 (Buffer-menu-mode): Document it in docstring.
6704 (Buffer-menu-multi-occur): New command. (Bug#14673)
6705
56f75efc
DG
67062013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6707
6708 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6709 keywords and built-ins.
6710
9b057d61
GM
67112013-07-03 Glenn Morris <rgm@gnu.org>
6712
208dee4d
GM
6713 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6714
9b057d61
GM
6715 Make info-xref checks case-sensitive by default
6716 * info.el (Info-find-node, Info-find-in-tag-table)
6717 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6718 Add option for exact case matching of nodes.
6719 * info-xref.el (info-xref): New custom group.
6720 (info-xref-case-fold): New option.
6721 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6722
e01aa29c
LL
67232013-07-03 Leo Liu <sdl.web@gmail.com>
6724
6725 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6726
3086ca2e
DG
67272013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6728
6729 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6730 middle of block statement initially, lower the depth. Remove
6731 FIXME comment, not longer valid. Remove middle of block statement
6732 detection, no need to do that anymore since we've been using
6733 `ruby-parse-region' here.
6734
a3b49114
JD
67352013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6736
6737 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6738
08e5c823 67392013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6740
6741 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6742
2addf922
JB
67432013-07-01 Juanma Barranquero <lekktu@gmail.com>
6744
6745 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6746 (desktop-restore-in-current-display): New customization option.
6747 (desktop--excluded-frame-parameters): Add `font'.
6748 (desktop--save-frames): Rename from desktop--save-windows.
6749 (desktop--restore-in-this-display-p): New function.
6750 (desktop--make-full-frame): Remove unwanted width/height from
6751 full(width|height) frames.
6752 (desktop--restore-frames): Rename from desktop--restore-windows.
6753 Obey desktop-restore-current-display. Do not delete old frames or
6754 select a new frame unless we were able to restore at least one frame.
6755
ef099a94
MN
67562013-06-30 Michal Nazarewicz <mina86@mina86.com>
6757
6758 * files.el (find-file-noselect): Simplify conditional expression.
6759
6760 * remember.el (remember-append-to-file):
6761 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6762
6763 Add `remember-notes' function to store random notes across Emacs
6764 restarts.
6765 * remember.el (remember-data-file): Add :set callback to affect
6766 notes buffer (if any).
6767 (remember-notes): New command.
6768 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6769 New defcustoms for the `remember-notes' function.
6770 (remember-notes-save-and-bury-buffer): New command.
6771 (remember-notes-mode-map): New variable.
6772 (remember-mode): New minor mode.
6773 (remember-notes--kill-buffer-query): New function.
6774 * startup.el (initial-buffer-choice): Add notes to custom type.
6775
0865d506
EZ
67762013-06-30 Eli Zaretskii <eliz@gnu.org>
6777
0ba54312
EZ
6778 * bindings.el (right-char, left-char): Don't call sit-for, this is
6779 no longer needed. Use arithmetic comparison only for numerical
6780 arguments.
6781
ef099a94
MN
6782 * international/mule-cmds.el (select-safe-coding-system):
6783 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6784
2fae38e5
LMI
67852013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6786
6787 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6788 progression on degenerate tables.
ef099a94 6789 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6790
a47cbd64
JB
67912013-06-30 Juanma Barranquero <lekktu@gmail.com>
6792
6793 Some fixes and improvements for desktop frame restoration.
6794 It is still experimental and disabled by default.
6795 * desktop.el (desktop--save-windows): Put the selected frame at
6796 the head of the list.
6797 (desktop--make-full-frame): New function.
6798 (desktop--restore-windows): Try to re-select the frame that was
6799 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6800 just show an error message and continue. Set up maximized frames
6801 so they have default non-maximized dimensions.
a47cbd64 6802
6dbafa30
DG
68032013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6804
ef099a94
MN
6805 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6806 Don't start heredoc inside a string or comment.
6dbafa30 6807
4c672a0f
EZ
68082013-06-29 Eli Zaretskii <eliz@gnu.org>
6809
6810 * bindings.el (visual-order-cursor-movement): New defcustom.
6811 (right-char, left-char): Provide visual-order cursor motion by
6812 calling move-point-visually. Update the doc strings.
6813
50960f36
KH
68142013-06-28 Kenichi Handa <handa@gnu.org>
6815
6816 * international/mule.el (define-coding-system): New coding system
6817 properties :inhibit-null-byte-detection,
6818 :inhibit-iso-escape-detection, and :prefer-utf-8.
6819 (set-buffer-file-coding-system): If :charset-list property of
6820 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6821 appropriate for setting.
6822
c1ea3abf
JB
6823 * international/mule-cmds.el (select-safe-coding-system):
6824 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6825 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
6826
6827 * international/mule-conf.el (prefer-utf-8): New coding system.
6828 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6829 files.
6830
75dbaf9d
IK
68312013-06-28 Ivan Kanis <ivan@kanis.fr>
6832
eadb6068
IK
6833 * net/shr.el (shr-render-region): New function.
6834
75dbaf9d
IK
6835 * net/eww.el: Autoload `eww-browse-url'.
6836
9ea5cf9f
DG
68372013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6838
c1ea3abf
JB
6839 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6840 Adapt to `package-desc-version' being a list.
6841 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
6842 archive element.
6843
39c0e36f
JB
68442013-06-27 Juanma Barranquero <lekktu@gmail.com>
6845
6846 New experimental feature to save&restore window and frame setup.
6847 * desktop.el (desktop-save-windows): New defcustom.
6848 (desktop--saved-states): New var.
6849 (desktop--excluded-frame-parameters): New defconst.
6850 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6851 (desktop--restore-windows, desktop--save-windows): New functions.
6852 (desktop-save): Call `desktop--save-windows'.
6853 (desktop-read): Call `desktop--restore-windows'.
6854
7f13406b
LMI
68552013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6856
ef099a94 6857 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 6858
1e072639
SB
68592013-06-27 Stephen Berman <stephen.berman@gmx.net>
6860
6861 * info.el (Info-try-follow-nearest-node): Move search for footnote
6862 above search for node name to prevent missing a footnote (bug#14717).
6863
f3e2cbde
SB
68642013-06-27 Stephen Berman <stephen.berman@gmx.net>
6865
6866 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6867
99906aa0
LL
68682013-06-27 Leo Liu <sdl.web@gmail.com>
6869
6870 * net/eww.el (eww-read-bookmarks): Check file size.
6871
539f75f4
SM
68722013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6873
6874 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6875 advice--pending if newdef is nil or an autoload (bug#13820).
6876 (advice-mapc): New function.
6877
843571cb
LMI
68782013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6879
6880 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6881 probably.
23a75d7f 6882 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
6883 (eww-add-bookmark): New command.
6884 (eww-bookmark-mode): New mode and commands.
a285ce99 6885 (eww-add-bookmark): Remove newlines from the title.
47fd571b 6886 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 6887
f2136e1e
GM
68882013-06-26 Glenn Morris <rgm@gnu.org>
6889
eab35f39
GM
6890 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6891 (hfy-size): Handle ttys. (Bug#14668)
6892
f2136e1e
GM
6893 * info-xref.el: Update for Texinfo 5 change in *note format.
6894 (info-xref-node-re, info-xref-note-re): New constants.
6895 (info-xref-check-buffer): Use info-xref-note-re.
6896
a49ff80c
SM
68972013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6898
a343d218
SM
6899 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6900
a49ff80c
SM
6901 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6902 nil terminate the loop (bug#14718).
6903
8308f184
LMI
69042013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6905
6906 * net/eww.el: Rework history traversal. When going forward/back,
6907 put these actions into the history, too, so that they can be
6908 replayed.
26bf2b82 6909 (eww-render): Move the history reset to the correct buffer.
8308f184 6910
ec64c273
JL
69112013-06-25 Juri Linkov <juri@jurta.org>
6912
6913 * files-x.el (modify-dir-local-variable): Change the header comment
6914 in the file with directory local variables. (Bug#14692)
6915
e080a9d7
JL
6916 * files-x.el (read-file-local-variable-value): Add `default'.
6917 (Bug#14710)
6918
bfbc93a1
IK
69192013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6920
6921 * net/eww.el (eww-make-unique-file-name): Create a unique file
6922 name before saving to entering `y' accidentally asynchronously.
6923
69242013-06-25 Ivan Kanis <ivan@kanis.fr>
6925
6926 * net/eww.el (eww-download): New command and keystroke.
6927
16f74f10
LMI
69282013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6929
a49ff80c 6930 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
6931
6932 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6933 be more consistent with Info and dired.
6934
6935 * net/eww.el (eww-mode-map): Ditto.
6936
12059709
SM
69372013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6940 packages from archives.
6941 (package-archive-contents): Change format; include obsolete packages.
6942 (package-desc): Use `dir' to mark builtin packages.
6943 (package--from-builtin): Set the `dir' field to `builtin'.
6944 (generated-autoload-file, version-control): Declare.
6945 (package-compute-transaction): Change first arg and return value to be
6946 lists of package-descs. Adjust to new package-archive-contents format.
6947 (package--add-to-archive-contents): Adjust to new
6948 package-archive-contents format.
6949 (package-download-transaction): Arg is now a list of package-descs.
6950 (package-install): If `pkg' is a package name, pass it as
6951 a requirement, so it is subject to the usual (e.g. disabled) checks.
6952 (describe-package): Accept package-desc as well.
6953 (describe-package-1): Describe a specific package-desc. Add links to
6954 other package-descs for the same package name.
6955 (package-menu-describe-package): Pass the actual package-desc.
6956 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6957 works correctly.
6958 (package-desc-status): New function.
6959 (package-menu--refresh): New function, extracted
6960 from package-menu--generate.
6961 (package-menu--generate): Use it.
6962 (package-delete): Update package-alist.
6963 (package-menu-execute): Don't call package-initialize.
6964
6965 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6966 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6967 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6968 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6969 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6970 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6971
8bbdea0f
MR
69722013-06-25 Martin Rudalics <rudalics@gmx.at>
6973
6974 * window.el (window--state-get-1): Workaround for bug#14527.
6975 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6976
e82b0991
LMI
69772013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6978
6979 * net/eww.el (eww-back-url): Implement the history by stashing all
6980 the data into a list.
d3f0f918 6981 (eww-forward-url): Allow going forward in the history, too.
e82b0991 6982
c763842b
SM
69832013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6986 for values and use read--expression for expressions (bug#14710).
6987 (read-file-local-variable): Avoid setq.
6988 (read-file-local-variable-mode): Use minor-mode-list.
6989
bceff189
RW
69902013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6991
864c58ca 6992 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
6993 for DOI URLs.
6994
45f431c6
RW
69952013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6996
864c58ca 6997 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
6998 Update imenu-support when dialect changes.
6999
f42d8237
LL
70002013-06-25 Leo Liu <sdl.web@gmail.com>
7001
7002 * ido.el (ido-read-internal): Allow forward slash on windows.
7003
be549ce6
LMI
70042013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7005
7006 * net/eww.el (eww): Start of strings is \\`, not ^.
7007
71d4c19d
IK
70082013-06-24 Ivan Kanis <ivan@kanis.fr>
7009
5196f88a
IK
7010 * net/shr.el (shr-browse-url): Fix interactive spec.
7011
71d4c19d
IK
7012 * net/eww.el (eww): Add a trailing slash to domain names.
7013
ae36ca55
JB
70142013-06-24 Juanma Barranquero <lekktu@gmail.com>
7015
7016 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7017
0ebd92a3
LMI
70182013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7019
bdaa086b
LMI
7020 * net/shr.el (shr-browse-url): Use an external browser if given a
7021 prefix.
7022
c763842b 7023 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7024
b89fc156
IK
70252013-06-24 Ivan Kanis <ivan@kanis.fr>
7026
7027 * net/eww.el (eww): Work more correctly for file: URLs.
7028 (eww-detect-charset): Allow quoted charsets.
7029 (eww-yank-page-url): New command and keystroke.
7030
18eb4bca
DU
70312013-06-24 Daiki Ueno <ueno@gnu.org>
7032
7033 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7034 file name of gpg executable.
7035 (epg-context-program): New function.
7036 (epg-context-home-directory): New function.
7037 (epg-context-set-program): New function.
7038 (epg-context-set-home-directory): New function.
7039 (epg--start): Use `epg-context-program' instead of
7040 'epg-gpg-program'.
7041 (epg--list-keys-1): Likewise.
7042
6c6268c8
LL
70432013-06-24 Leo Liu <sdl.web@gmail.com>
7044
7045 * ido.el (ido-read-internal): Fix bug#14620.
7046
5e400cb3
JB
70472013-06-23 Juanma Barranquero <lekktu@gmail.com>
7048
7049 * faces.el (face-documentation): Simplify.
7050 (read-face-attribute, tty-find-type, x-resolve-font-name):
7051 Use `string-match-p'.
7052 (list-faces-display): Use `string-match-p'. Simplify.
7053 (face-spec-recalc): Check face to avoid face alias loops.
7054 (read-color): Use `string-match-p' and non-capturing parenthesis.
7055
f3f9606c
LMI
70562013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7057
7058 * net/shr.el (shr-rescale-image): Use the new
7059 :max-width/:max-height functionality.
7060
a3ca09b9
IK
70612013-06-23 Ivan Kanis <ivan@kanis.fr>
7062
7063 * net/eww.el (eww-search-prefix): New variable.
7064 (eww): Use it.
f865b474
IK
7065 (eww-external-browser): New variable.
7066 (eww-mode-map): New keystroke.
7067 (eww-browse-with-external-browser): New command.
a3ca09b9 7068
e854cfc7
IK
7069 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7070
18bb9e21
JB
70712013-06-23 Juanma Barranquero <lekktu@gmail.com>
7072
7073 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7074 Don't skip aligning the next header field when padding is 0;
7075 otherwise, field width is not respected unless the title is as
7076 wide as the field.
7077
5b165ade
SM
70782013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * emacs-lisp/package.el (package-el-version): Remove.
7081 (package-process-define-package): Fix inf-loop.
7082 (package-install): Allow symbols as arguments again.
7083
12adebe9
DG
70842013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7085
7086 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7087 add some more keyword-like methods.
7088 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7089
388573ee
JB
70902013-06-22 Juanma Barranquero <lekktu@gmail.com>
7091
7092 * bs.el (bs-buffer-show-mark): Make defvar-local.
7093 (bs-mode): Use setq-local.
7094
7095 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7096 (emacs-lock--try-unlocking): Make defvar-local.
7097
4582a01c 70982013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7099
2663dd23
GM
7100 * play/cookie1.el (cookie-apropos): Minor simplification.
7101
3d94f3ad
GM
7102 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7103
f72e2fdb
DG
71042013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7105
7106 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7107 `regexp-opt', it breaks the build during dumping.
7108
73eab938
DG
71092013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7110
c763842b
SM
7111 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7112 Highlight keyword-like methods on Kernel and Module with
73eab938 7113 font-lock-builtin-face.
5cf8176d
DG
7114 (auto-mode-alist): Consolidate different entries into one regexp
7115 and add more *file-s.
73eab938 7116
d26255f6
SB
71172013-06-21 Stephen Berman <stephen.berman@gmx.net>
7118
7119 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7120
7121 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7122 (diary-entry): Use it in the action of this button type instead of
7123 diary-goto-entry.
7124
7125 * calendar/todo-mode.el: New version.
7126 (todo-add-category): Append new category to end of file and give
7127 it the highest number, instead of putting it at the beginning and
7128 giving it 0. Incorporate noninteractive functionality.
7129 (todo-forward-category): Adapt to 1-based category numbering.
7130 Allow skipping over archived categories.
7131 (todo-backward-category): Derive from todo-forward-category.
7132 (todo-backward-item, todo-forward-item): Make noninteractive and
7133 delegate interactive part to new commands. Make sensitive to done items.
7134 (todo-categories): Make value an alist of category names and
7135 vectors of item counts.
7136 (todo-category-beg): Make a defconst.
7137 (todo-category-number): Use 1 instead of 0 as initial value.
7138 (todo-category-select): Make sensitive to overlays, optional item
7139 highlighting and done items.
7140 (todo-delete-item): Make sensitive to overlays and marked and done items.
7141 (todo-edit-item): Make sensitive to overlays and editing of
7142 date/time header optional. Add format checks.
7143 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7144 no-op if point is not on an item. Advertise using todo-edit-quit.
7145 (todo-edit-mode): Make sensitive to new format, font-locking, and
7146 multiple todo files.
7147 (todo-insert-item, todo-insert-item-here): Derive from
7148 todo-basic-insert-item and extend functionality.
7149 (todo-item-end, todo-item-start): Make sensitive to done items.
7150 (todo-item-string): Don't return text properties. Restore point.
7151 (todo-jump-to-category): Make sensitive to multiple todo files and
7152 todo archives. Use extended category completion.
7153 (todo-lower-item, todo-raise-item): Rename to *-priority and
7154 derive from todo-set-item-priority.
7155 (todo-mode): Derive from special-mode. Make sensitive to new
7156 format, font-locking and multiple todo files. Make read-only.
7157 (todo-mode-map): Don't suppress digit keys, so they can supply
7158 prefix arguments. Add many new key bindings.
7159 (todo-prefix): Insert as an overlay instead of file text.
7160 Change semantics from diary date expression to purely visual mark.
7161 (todo-print): Rename to todo-print-buffer. Make buffer display
7162 features printable. Remove option to restrict number of items
7163 printed. Add option to print to file.
7164 (todo-print-function): Rename to todo-print-buffer-function.
7165 (todo-quit): Extend to handle exiting new todo modes.
7166 (todo-remove-item): Make sensitive to overlays.
7167 (todo-save): Extend to buffers of filtered items.
7168 (todo-show): Make sensitive to done items, multiple todo files and
7169 new todo modes. Offer to convert legacy todo file before creating
7170 first new todo file.
7171 (todo-show-priorities): Rename to todo-top-priorities.
7172 Change semantics of value 0.
7173 (todo-top-priorities): Rename to todo-filter-top-priorities,
7174 derive from todo-filter-items and extend functionality.
7175 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7176 and extend functionality to other types of filtered items.
7177 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7178 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7179 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7180 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7181 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7182 (todo-edit-mode-hook, todo-entry-prefix-function)
7183 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7184 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7185 (todo-initials, todo-insert-threshold, todo-item-string-start)
7186 (todo-line-string, todo-menu, todo-mode-hook)
7187 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7188 (todo-print-priorities, todo-remove-separator)
7189 (todo-save-top-priorities-too, todo-string-count-lines)
7190 (todo-string-multiline-p, todo-time-string-format)
7191 (todo-tmp-buffer-name): Remove.
7192 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7193 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7194 (todo-edit-category-diary-inclusion)
7195 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7196 (todo-edit-file, todo-edit-item-date-day)
7197 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7198 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7199 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7200 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7201 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7202 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7203 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7204 (todo-filter-top-priorities-multifile, todo-find-archive)
7205 (todo-find-filtered-items-file, todo-go-to-source-item)
7206 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7207 (todo-jump-to-archive-category, todo-lower-category)
7208 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7209 (todo-move-category, todo-move-item, todo-next-button)
7210 (todo-next-item, todo-padded-string, todo-powerset)
7211 (todo-previous-button, todo-previous-item)
7212 (todo-print-buffer-to-file, todo-raise-category)
7213 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7214 (todo-set-category-number, todo-set-item-priority)
7215 (todo-set-top-priorities-in-category)
7216 (todo-set-top-priorities-in-file, todo-show-categories-table)
7217 (todo-sort-categories-alphabetically-or-numerically)
7218 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7219 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7220 (todo-toggle-item-header, todo-toggle-item-highlighting)
7221 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7222 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7223 (todo-unarchive-items, todo-unmark-category): New commands.
7224 (todo-absolute-file-name, todo-add-to-buffer-list)
7225 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7226 (todo-basic-insert-item, todo-category-completions)
7227 (todo-category-number, todo-category-string-matcher-1)
7228 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7229 (todo-check-format, todo-clear-matches)
7230 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7231 (todo-current-category, todo-date-string-matcher)
7232 (todo-define-insertion-command, todo-diary-expired-matcher)
7233 (todo-diary-goto-entry, todo-diary-item-p)
7234 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7235 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7236 (todo-done-item-section-p, todo-done-separator)
7237 (todo-done-string-matcher, todo-files, todo-filter-items)
7238 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7239 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7240 (todo-insert-category-line, todo-insert-item-from-calendar)
7241 (todo-insert-sort-button, todo-insert-with-overlays)
7242 (todo-insertion-command-name, todo-insertion-key-bindings)
7243 (todo-label-to-key, todo-longest-category-name-length)
7244 (todo-make-categories-list, todo-mode-external-set)
7245 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7246 (todo-modes-set-3, todo-multiple-filter-files)
7247 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7248 (todo-read-category, todo-read-date, todo-read-dayname)
7249 (todo-read-file-name, todo-read-time)
7250 (todo-reevaluate-category-completions-files-defcustom)
7251 (todo-reevaluate-default-file-defcustom)
7252 (todo-reevaluate-filelist-defcustoms)
7253 (todo-reevaluate-filter-files-defcustom)
7254 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7255 (todo-reset-done-separator, todo-reset-done-separator-string)
7256 (todo-reset-done-string, todo-reset-global-current-todo-file)
7257 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7258 (todo-reset-prefix, todo-set-categories)
7259 (todo-set-date-from-calendar, todo-set-show-current-file)
7260 (todo-set-top-priorities, todo-short-file-name)
7261 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7262 (todo-total-item-counts, todo-update-buffer-list)
7263 (todo-update-categories-display, todo-update-categories-sexp)
7264 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7265 New functions.
7266 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7267 New major modes.
7268 (todo-categories, todo-display, todo-edit, todo-faces)
7269 (todo-filtered): New defgroups.
7270 (todo-archived-only, todo-button, todo-category-string, todo-date)
7271 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7272 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7273 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7274 (todo-add-item-if-new-category, todo-always-add-time-string)
7275 (todo-categories-align, todo-categories-archived-label)
7276 (todo-categories-category-label, todo-categories-diary-label)
7277 (todo-categories-done-label, todo-categories-number-separator)
7278 (todo-categories-todo-label, todo-categories-totals-label)
7279 (todo-category-completions-files, todo-completion-ignore-case)
7280 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7281 (todo-done-separator-string, todo-done-string)
7282 (todo-files-function, todo-filter-done-items, todo-filter-files)
7283 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7284 (todo-initial-category, todo-initial-file, todo-item-mark)
7285 (todo-legacy-date-time-regexp, todo-mode-line-function)
7286 (todo-nondiary-marker, todo-number-prefix)
7287 (todo-print-buffer-function, todo-show-current-file)
7288 (todo-show-done-only, todo-show-first, todo-show-with-done)
7289 (todo-skip-archived-categories, todo-top-priorities-overrides)
7290 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7291 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7292 New defcustoms.
7293 (todo-category-done, todo-date-pattern, todo-date-string-start)
7294 (todo-diary-items-buffer, todo-done-string-start)
7295 (todo-filtered-items-buffer, todo-item-start)
7296 (todo-month-abbrev-array, todo-month-name-array)
7297 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7298 (todo-top-priorities-buffer): New defconsts.
7299 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7300 (todo-categories-with-marks, todo-category-string-face)
7301 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7302 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7303 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7304 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7305 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7306 (todo-font-lock-keywords, todo-global-current-todo-file)
7307 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7308 (todo-insertion-commands-args)
7309 (todo-insertion-commands-args-genlist)
7310 (todo-insertion-commands-names, todo-insertion-map)
7311 (todo-key-bindings-t, todo-key-bindings-t+a)
7312 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7313 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7314 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7315 (todo-visited): New variables.
7316
cad5d1cb
GM
73172013-06-21 Glenn Morris <rgm@gnu.org>
7318
7319 * play/cookie1.el (cookie-apropos): Add optional display argument.
7320 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7321 (psychoanalyze-pinhead): Use cookie-doctor.
7322
9e277302
JB
73232013-06-21 Juanma Barranquero <lekktu@gmail.com>
7324
7325 * emacs-lisp/package.el (tar-get-file-descriptor)
7326 (tar--extract): Declare.
7327
c5b0993e
EW
73282013-06-21 Eduard Wiebe <usenet@pusto.de>
7329
7330 Extend flymake's warning predicate to be a function (bug#14217).
7331 * progmodes/flymake.el (flymake-warning-predicate): New.
7332 (flymake-parse-line): Use it.
7333 (flymake-warning-re): Make obsolete alias to
7334 `flymake-warning-predicate'.
7335
a7d2d465
SM
73362013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7337
7338 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7339 (package-obsolete-list): Remove.
7340 (package-activate): Remove min-version argument. Add `force' argument.
7341 Adjust to new package-alist format.
7342 (package-mark-obsolete): Remove.
7343 (package-unpack): Force reload of the package's autoloads.
7344 (package-installed-p): Check builtins if the installed package is not
7345 recent enough.
7346 (package-initialize): Don't reset package-obsolete-list.
7347 Don't specify which package version to activate.
7348 (package-process-define-package, describe-package-1)
7349 (package-menu--generate): Adjust to new package-alist format.
7350
cedf5c9d
JB
73512013-06-21 Juanma Barranquero <lekktu@gmail.com>
7352
7353 * allout-widgets.el (allout-widgets-mode-off)
7354 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7355 (allout-widgets-post-command-business)
7356 (allout-widgets-after-copy-or-kill-function)
7357 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7358 (allout-decorate-item-and-context)
7359 (allout-graphics-modification-handler): Fix typos in docstrings.
7360 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7361
7362 * cmuscheme.el (scheme-start-file): Doc fix.
7363 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7364 (scheme-input-filter): Use `string-match-p'.
7365
7366 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7367
7368 * dired-x.el: Use Dired consistently in docstrings.
7369
7370 * dired.el: Use Dired consistently in docstrings.
7371 (dired-readin, dired-mode): Use `setq-local'.
7372 (dired-switches-alist): Make defvar-local.
7373 (dired-buffers-for-dir): Use `zerop'.
7374 (dired-safe-switches-p, dired-switches-escape-p)
7375 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7376 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7377 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7378 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7379 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7380 (dired-toggle-marks, dired-mark-files-containing-regexp)
7381 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7382 (dired-flag-auto-save-files, dired-flag-backup-files):
7383 Use `looking-at-p'.
7384 (dired-mark-files-regexp, dired-build-subdir-alist):
7385 Use `string-match-p', `looking-at-p'.
7386
7387 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7388 (direct-print-region-helper): Use `string-match-p'.
7389
aed838b5
LL
73902013-06-21 Leo Liu <sdl.web@gmail.com>
7391
cedf5c9d
JB
7392 * comint.el (comint-redirect-results-list-from-process):
7393 Fix infinite loop.
aed838b5 7394
d80a808f
LMI
73952013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7396
7397 * net/eww.el (eww-update-header-line-format): Quote % characters.
7398
e7a526e3
GM
73992013-06-21 Glenn Morris <rgm@gnu.org>
7400
7401 * play/cookie1.el (cookie): New custom group.
7402 (cookie-file): New option.
7403 (cookie-check-file): New function.
7404 (cookie): Make it interactive. Make start and end messages optional.
7405 Interactively, display the result. Default to cookie-file.
7406 (cookie-insert): Default to cookie-file.
7407 (cookie-snarf): Make start and end messages optional.
7408 Default to cookie-file. Use with-temp-buffer.
7409 (cookie-read): Rename from read-cookie.
7410 Make start and end messages optional. Default to cookie-file.
7411 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7412 Do not autoload it.
e7a526e3
GM
7413 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7414 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7415
62efb35e
LL
74162013-06-21 Leo Liu <sdl.web@gmail.com>
7417
7418 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7419
21e3f963
GM
74202013-06-21 Glenn Morris <rgm@gnu.org>
7421
7422 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7423
fd846ab4
SM
74242013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7425 Daniel Hackney <dan@haxney.org>
7426
7427 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7428 Consolidate the single-file vs tarball code.
7429 (package-desc-suffix): New function.
7430 (package-desc-full-name): Don't bother inlining it.
7431 (package-load-descriptor): Return the new package-desc.
7432 (package-mark-obsolete): Remove unused arg `package'.
7433 (package-unpack): Make it work for single files as well.
7434 Make it update package-alist.
7435 (package--make-autoloads-and-stuff): Rename from
7436 package--make-autoloads-and-compile. Don't compile any more.
7437 (package--compile): New function.
7438 (package-generate-description-file): New function, extracted from
7439 package-unpack-single.
7440 (package-unpack-single): Remove.
7441 (package--with-work-buffer): Add indentation and debugging info.
7442 (package-download-single): Remove.
7443 (package-install-from-archive): Rename from package-download-tar, make
7444 it take a pkg-desc, and make it work for single files as well.
7445 (package-download-transaction): Simplify.
7446 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7447 external tar program.
7448 (package-install-from-buffer): Remove `pkg-desc' argument.
7449 Use package-tar-file-info for tar-mode buffers.
7450 (package-install-file): Simplify accordingly.
7451 (package-archive-base): Change to take a pkg-desc.
7452 * tar-mode.el (tar--check-descriptor): New function, extracted from
7453 tar-get-descriptor.
7454 (tar-get-descriptor): Use it.
7455 (tar-get-file-descriptor): New function.
7456 (tar--extract): New function, extracted from tar-extract.
7457 (tar--extract): Use it.
7458 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7459 case the summary uses non-ascii. Adjust to new calling convention of
7460 package-tar-file-info.
7461
b7deae5e
LL
74622013-06-21 Leo Liu <sdl.web@gmail.com>
7463
fd846ab4
SM
7464 * comint.el (comint-redirect-results-list-from-process):
7465 Fix random delay. (Bug#14681)
b7deae5e 7466
7a65a0b2
JB
74672013-06-21 Juanma Barranquero <lekktu@gmail.com>
7468
7469 * profiler.el (profiler-format-number): Use log, not log10.
7470
1493c2af
JB
74712013-06-20 Juanma Barranquero <lekktu@gmail.com>
7472
7473 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7474
aff6371e
SM
74752013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7478 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7479 yet available.
7480 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7481 (AUTOGENEL): ... here.
7482 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7483 (cl--defsubst-expand): Use it.
7484
89561f72
PE
74852013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7486
7487 * subr.el (log10): Move here from C code, and declare as obsolete.
7488 All uses of (log10 X) replaced with (log X 10).
7489
47199123
JB
74902013-06-20 Juanma Barranquero <lekktu@gmail.com>
7491
7492 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7493 Declare with `defvar-local'.
7494 (tabulated-list-use-header-line, tabulated-list-entries)
7495 (tabulated-list-padding, tabulated-list-printer)
7496 (tabulated-list-sort-key): Declare with `defvar-local'.
7497 (tabulated-list-init-header, tabulated-list-print-fake-header):
7498 Use `setq-local'.
7499
4a172eab
MA
75002013-06-20 Michael Albinus <michael.albinus@gmx.de>
7501
47199123
JB
7502 * arc-mode.el (archive-mode): Add `archive-write-file' to
7503 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7504
5fc0acc0
JB
75052013-06-20 Juanma Barranquero <lekktu@gmail.com>
7506
d5b27848
JB
7507 * cus-edit.el (custom-commands): Fix typos.
7508 (custom-display): Fix tooltip text.
7509 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7510 Fix typos in docstrings.
7511 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7512 (custom-unlispify-menu-entry, custom-magic-value-create)
7513 (custom-add-see-also, custom-group-value-create): Use ?\s.
7514 (custom-guess-type, customize-apropos, editable-field)
7515 (custom-face-value-create): Use `string-match-p'.
7516 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7517
7518 * custom.el (custom-load-symbol): Use `string-match-p'.
7519
a5c581d8
JB
7520 * ansi-color.el: Convert to lexical binding.
7521 (ansi-colors): Fix URL.
7522 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7523 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7524 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7525
970ad972
G
75262013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7527
7528 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7529
7530 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7531
75322013-06-19 Tom Tromey <tromey@redhat.com>
7533
7534 * net/eww.el (eww-top-url): Remove.
7535 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7536 (eww-render): Set new variables. Don't set eww-top-url.
7537 (eww-handle-link): Handle "prev", "home", and "contents".
7538 Downcase the rel text.
7539 (eww-top-url): Choose best top URL.
7540
75412013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7542
7543 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7544 relying in widget.el. Using widget.el leads to too many
7545 user interface inconsistencies.
7546 (eww-self-insert): Implement entering commands in text fields.
7547 (eww-process-text-input): New function to make text input field editing
7548 work.
7549 (eww-submit): Rewrite to use the new-style form methods.
7550 (eww-select-display): Display the correct selected item.
7551 (eww-change-select): Implement changing the select value.
7552 (eww-toggle-checkbox): Implement radio/checkboxes.
7553 (eww-update-field): Fix compilation error.
7554 (eww-tag-textarea): Implement <textarea>.
7555
7556 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7557 we don't shadow mode-specific bindings.
7558
7559 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7560 nothing to push.
7561
7562 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7563
4582a01c 75642013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7565
7566 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7567
15b263dc
MA
75682013-06-19 Michael Albinus <michael.albinus@gmx.de>
7569
7570 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7571 not needed.
7572
7573 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7574
8f5297f7
LMI
75752013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7576
7577 * net/browse-url.el (browse-url-browser-function):
7578 `eww-browse-url' has the right calling signature, `eww' does not.
7579
011c4552
GM
75802013-06-19 Glenn Morris <rgm@gnu.org>
7581
2285bd27
GM
7582 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7583 Only eval autoloaded macros.
7584 (byte-compile-autoload): Only give the macro warning for macros.
7585
1d653303
GM
7586 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7587 (ps-underlined-faces): Declare.
7588
bdd779ec
GM
7589 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7590 (speedbar-add-supported-extension): Declare.
7591
011c4552
GM
7592 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7593 Don't include a date stamp in the header of the generated file;
7594 it leads to needless differences between output files.
7595
e59dfb0e
MA
75962013-06-19 Michael Albinus <michael.albinus@gmx.de>
7597
c763842b
SM
7598 * net/secrets.el (secrets-struct-secret-content-type):
7599 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7600 Some servers do not offer introspection.
e59dfb0e 7601
102626e2
SM
76022013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * electric.el (electric-pair-mode): Improve interaction with
7605 electric-layout-mode.
7606 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7607 (electric-pair-syntax): Use text-mode-syntax-table in comments
7608 and strings.
7609 (electric-pair--insert): New function.
7610 (electric-pair-post-self-insert-function): Use it and
7611 electric--after-char-pos.
7612
ad528125
LL
76132013-06-19 Leo Liu <sdl.web@gmail.com>
7614
7615 * progmodes/octave.el (octave-help): Fix regexp.
7616
924d6997
G
76172013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7618
7619 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7620 (shr-table-horizontal-line): Allow nil as a value, and change the
7621 default.
7622 (shr-insert-table-ruler): Respect the nil value.
7623
76242013-06-18 Tom Tromey <tromey@barimba>
7625
7626 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7627 New defvars.
7628 (eww-open-file): New defun.
7629 (eww-render): Initialize new variables.
7630 (eww-display-html): Handle "link" and "a".
7631 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7632 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7633 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7634 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7635 New defuns.
924d6997 7636
d1bbba4f
DG
76372013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7638
7639 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7640 Distinguish ternary operator tokens from slash symbol and slash
7641 char literal.
7642
14dd22d2
JB
76432013-06-18 Juanma Barranquero <lekktu@gmail.com>
7644
7645 Convert symbol prettification into minor mode and global minor mode.
7646
7647 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7648 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7649 (prettify-symbols--keywords): Rename from
7650 `prog-prettify-symbols-alist' and make a local defvar.
7651 (prettify-symbols--compose-symbol): Rename from
7652 `prog--prettify-font-lock-compose-symbol'.
7653 (prettify-symbols--make-keywords): Rename from
7654 `prog-prettify-font-lock-symbols-keywords' and simplify.
7655 (prog-prettify-install): Remove.
7656 (prettify-symbols-mode): New minor mode, based on
7657 `prog-prettify-install'.
7658 (turn-on-prettify-symbols-mode): New function.
7659 (global-prettify-symbols-mode): New globalized minor mode.
7660
7661 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7662 * progmodes/cfengine.el (cfengine3-mode):
7663 * progmodes/perl-mode.el (perl-mode): Don't call
7664 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7665
292c880c
JL
76662013-06-18 Juri Linkov <juri@jurta.org>
7667
7668 * files-x.el (modify-file-local-variable-message): New function.
7669 (modify-file-local-variable)
7670 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7671 and call `modify-file-local-variable-message' when it's non-nil.
7672 (add-file-local-variable, delete-file-local-variable)
7673 (add-file-local-variable-prop-line)
7674 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7675 and use it. (Bug#9820)
7676
0950aa27
JL
76772013-06-18 Juri Linkov <juri@jurta.org>
7678
7679 * emulation/vi.el (vi-shell-op):
7680 * emulation/vip.el (vip-execute-com, ex-command):
7681 * emulation/viper-cmd.el (viper-exec-bang):
7682 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7683 the call of `shell-command-on-region'. (Bug#14637)
7684
7685 * simple.el (shell-command-on-region): Doc fix.
7686
8fbcca16
SM
76872013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7688
7689 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7690 (bug#14633).
7691
dd7426ea
GM
76922013-06-18 Glenn Morris <rgm@gnu.org>
7693
4ba54f7d
GM
7694 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7695
dd7426ea
GM
7696 * newcomment.el (comment-search-forward, comment-search-backward):
7697 Doc fix. (Bug#14376)
7698
58aa805b
JB
76992013-06-18 Juanma Barranquero <lekktu@gmail.com>
7700
7701 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7702 (buffer-face-mode-invoke): Doc fix.
7703
9a08a617
MM
77042013-06-18 Matthias Meulien <orontee@gmail.com>
7705
7706 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7707 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7708
f2f426ca
GM
77092013-06-18 Glenn Morris <rgm@gnu.org>
7710
9445f99b
GM
7711 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7712 Replace obsolete function generic-make-keywords with its expansion.
7713
e0df2d14
GM
7714 * progmodes/python.el (ffap-alist): Declare.
7715
f2f426ca
GM
7716 * textmodes/reftex.el (bibtex-mode-map): Declare.
7717
f7f9a720
SM
77182013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7721 (package-unpack, package-unpack-single): Return the pkg-dir.
7722 (package-download-transaction): Use it to update package-alist.
7723
57ff04e0
LMI
77242013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7725
7726 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7727 possible choice.
7728
c048c022
JL
77292013-06-17 Juri Linkov <juri@jurta.org>
7730
7731 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7732
b5bcaee5
DG
77332013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7734
a020afb9
JB
7735 * emacs-lisp/package.el (package-load-descriptor):
7736 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7737 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7738
551e07e5
JB
77392013-06-17 Juanma Barranquero <lekktu@gmail.com>
7740
7741 * startup.el (command-line): Expand package name returned by
7742 `package--description-file' (bug#14639).
7743
d363bffb
DG
77442013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7745
7746 * emacs-lisp/package.el (package-load-descriptor): Do not call
7747 `emacs-lisp-mode', just use its syntax table.
7748
f612933b
JB
77492013-06-17 Juanma Barranquero <lekktu@gmail.com>
7750
7751 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7752 `font-lock-extra-managed-props' if any prettifying keyword is added.
7753 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7754 (prog-mode): Use `setq-local'.
7755
db3b7db5
SM
77562013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7757
7758 * international/characters.el (standard-case-table): Set syntax of ?»
7759 and ?« to punctuation.
7760
f3d674df
JB
77612013-06-16 Juanma Barranquero <lekktu@gmail.com>
7762
7763 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7764 Save relevant match data before calling `syntax-ppss' (bug#14595).
7765
31489a32
JL
77662013-06-15 Juri Linkov <juri@jurta.org>
7767
7768 * files-x.el (modify-file-local-variable-prop-line): Add local
7769 variables to the end of the existing comment on the first line.
7770 Use `file-auto-mode-skip' to skip interpreter magic line,
7771 and also skip XML declaration.
7772
66bd25ab
SM
77732013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7774
7775 * startup.el (package--builtin-versions): New var.
7776 (package-subdirectory-regexp): Remove.
7777 (package--description-file): Hard code its value instead.
7778
7779 * emacs-lisp/package.el: Don't activate packages older than builtin.
7780 (package-obsolete-list): Rename from package-obsolete-alist, and make
7781 it into a simple list of package-desc.
7782 (package-strip-version): Remove.
7783 (package-built-in-p): Use package--builtin-versions.
7784 (package-mark-obsolete): Simplify.
7785 (package-process-define-package): Mark it obsolete if older than the
7786 builtin version.
7787 (package-handle-response): Use line-end-position.
7788 (package-read-archive-contents, package--download-one-archive):
7789 Simplify.
7790 (package--add-to-archive-contents): Skip if older than the builtin or
7791 installed version.
7792 (package-menu-describe-package): Fix last change.
7793 (package-list-unversioned): New var.
7794 (package-menu--generate): Use it.
7795
7796 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7797 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7798 (autoload-builtin-package-versions): New variable.
7799 (autoload-generate-file-autoloads): Use them.
7800 Remove the list of autoloaded functions/macros from the
7801 (autoload...) comments.
7802
7803 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7804
9583ec36
EZ
78052013-06-15 Eli Zaretskii <eliz@gnu.org>
7806
7807 * simple.el (line-move-partial): Don't jump to the next screen
7808 line as soon as it becomes visible. Instead, continue enlarging
7809 the vscroll until the portion of a tall screen line that's left on
7810 display is about the height of the frame's default font.
7811 (Bug#14567)
7812
f0100d8a
GM
78132013-06-15 Glenn Morris <rgm@gnu.org>
7814
b86a85ca
GM
7815 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7816 compilation-error-regexp-alist void, or local while let-bound.
7817
f0100d8a
GM
7818 * progmodes/make-mode.el (makefile-mode-syntax-table):
7819 Treat "=" as punctuation. (Bug#14614)
7820
05e7ce90
JB
78212013-06-15 Juanma Barranquero <lekktu@gmail.com>
7822
7823 * help-fns.el (describe-variable):
7824 Add extra line for permanent-local variables.
7825
12e5e86e
SH
78262013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7827
7828 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7829 Add export, import, library. (Bug#9164)
7830 (library): Set indent function.
7831
230dcbaf
GM
78322013-06-14 Glenn Morris <rgm@gnu.org>
7833
7834 * term/xterm.el (xterm--query):
7835 Stop after first matching handler. (Bug#14615)
7836
e36b2d20 78372013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
7838
7839 Add support for dired in saveplace.
7840 * dired.el (dired-initial-position-hook): New variable.
7841 (dired-initial-position): Call hook to place cursor position.
7842 * saveplace.el (save-place-to-alist): Add dired position.
7843 (save-place-dired-hook): New function.
7844
0b31660d
SM
78452013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7846
bf1e6ae8
SM
7847 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7848 through a symbol rather than letrec.
7849
1b8dff23
SM
7850 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7851 (package-desc): Add `dir' field.
7852 (package-desc-full-name): New function.
7853 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7854 (package-maybe-load-descriptor): Remove.
7855 (package-load-all-descriptors): Just call package-load-descriptor.
7856 (package--disabled-p): New function.
7857 (package-desc-vers, package-desc-doc): Remove aliases.
7858 (package--dir): Remove function.
7859 (package-activate): Check if a package is disabled.
7860 (package-process-define-package): New function, extracted from
7861 define-package.
7862 (define-package): Turn into a place holder.
7863 (package-unpack-single, package-tar-file-info):
7864 Use package--description-file.
7865 (package-compute-transaction): Use package--disabled-p.
7866 (package-download-transaction): Don't call
7867 package-maybe-load-descriptor since they're all loaded anyway.
7868 (package-install): Change argument to be a pkg-desc.
7869 (package-delete): Use a single pkg-desc argument.
7870 (describe-package-1): Use package-desc-dir instead of package--dir.
7871 Use package-desc property instead of package-symbol.
7872 (package-install-button-action): Adjust accordingly.
7873 (package--push): Rewrite.
7874 (package-menu--print-info): Adjust accordingly. Change the ID format
7875 to be a pkg-desc.
7876 (package-menu-describe-package, package-menu-get-status)
7877 (package-menu--find-upgrades, package-menu-mark-upgrades)
7878 (package-menu-execute, package-menu--name-predicate):
7879 Adjust accordingly.
7880 * startup.el (package--description-file): New function.
7881 (command-line): Use it.
7882 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7883 Use package-desc-version.
7884
0b31660d
SM
7885 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7886 (byte-compile-preprocess): Use it.
7887 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7888 can't quite recognize.
7889 (byte-compile-add-to-list): Remove.
7890 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7891 (cconv-closure-convert): Add assertion.
7892
7893 * emacs-lisp/map-ynp.el: Use lexical-binding.
7894 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7895 Factor out some repeated code.
7896
de0503df
SM
78972013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7898
7899 * subr.el (with-eval-after-load): New macro.
7900 (eval-after-load): Allow form to be a function.
7901 take advantage of lexical-binding.
7902 (do-after-load-evaluation): Use dolist and adjust to new format.
7903 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7904
bc5c8c5a
JL
79052013-06-13 Juri Linkov <juri@jurta.org>
7906
7907 * replace.el (perform-replace): Display "symbol " and other search
7908 modes from `isearch-message-prefix' in the *Help* buffer.
7909
7910 * isearch.el (isearch-query-replace): Add " symbol" and other
7911 possible search modes from `isearch-message-prefix' to the prompt.
7912 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7913 when reading a regexp to collect.
7914
a22289f7
JL
79152013-06-13 Juri Linkov <juri@jurta.org>
7916
7917 * isearch.el (word-search-regexp): Match whitespace if the search
7918 string begins or ends in whitespace. The LAX arg is applied to
7919 both ends of the search string. Use `regexp-quote' and explicit
7920 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7921 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7922 boundaries are replaced with symbol boundaries, and characters
7923 between symbols match non-word non-symbol syntax. (Bug#14602)
7924
cb89acab
JL
79252013-06-13 Juri Linkov <juri@jurta.org>
7926
7927 * isearch.el (isearch-del-char): Don't exceed the length of
7928 `isearch-string' by the prefix arg. (Bug#14563)
7929
6e8cfc81
JL
79302013-06-13 Juri Linkov <juri@jurta.org>
7931
7932 * isearch.el (isearch-yank-word, isearch-yank-line)
7933 (isearch-char-by-name, isearch-quote-char)
7934 (isearch-printing-char, isearch-process-search-char):
7935 Add optional count prefix arg. (Bug#14563)
7936
7937 * international/isearch-x.el
7938 (isearch-process-search-multibyte-characters):
7939 Add optional count prefix arg.
7940
c23d55f4
VS
79412013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7944 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7945 lexical-binding.
7946
79472013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7948
7949 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7950
ba947bc4
GM
79512013-06-13 Glenn Morris <rgm@gnu.org>
7952
8baeb37a
GM
7953 * startup.el (tty-handle-args):
7954 Don't just discard "--" and anything after. (Bug#14608)
7955
ba947bc4
GM
7956 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7957
9abefce4
MA
79582013-06-13 Michael Albinus <michael.albinus@gmx.de>
7959
7960 Implement changes in Secret Service API. Make it backward compatible.
7961 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7962 (secrets-create-item): Use it. Prefix properties with interface.
7963
5755011f
MH
79642013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7965
7966 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7967 (term-emulate-terminal): Respect term-suppress-hard-newline.
7968
1261d2da
S
79692013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7970
7971 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7972 Only remove a `thumb-file' overlay. (Bug#14548)
7973
868490bb
GJ
79742013-06-12 Grégoire Jadi <daimrod@gmail.com>
7975
7976 * mail/reporter.el (reporter-submit-bug-report):
7977 Handle missing package-name. (Bug#14600)
7978
79d7167f
TH
79792013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7980
7981 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7982 (reftex-citation-prompt, reftex-default-bibliography)
7983 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7984 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7985 (reftex-bib-sort-author, reftex-bib-sort-year)
7986 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7987 (reftex-extract-bib-entries-from-thebibliography)
7988 (reftex-get-bibkey-default, reftex-get-bib-names)
7989 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7990 (reftex-format-bib-entry, reftex-parse-bibitem)
7991 (reftex-format-bibitem, reftex-do-citation)
7992 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7993 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7994 (reftex-insert-bib-matches, reftex-format-citation)
7995 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7996 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7997 existing comments into docstrings.
7998
5f9dbd7a
XF
79992013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8000
8001 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8002
94df41ab
AS
80032013-06-12 Andreas Schwab <schwab@suse.de>
8004
8005 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8006 for auto-save files.
8007
a7f3fecc
GM
80082013-06-12 Glenn Morris <rgm@gnu.org>
8009
001809f6
GM
8010 * ido.el (ido-delete-ignored-files): Remove.
8011 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8012 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8013
834b5ded
EL
80142013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8015
08c73ed2
EL
8016 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8017
834b5ded
EL
8018 * ido.el (ido-delete-ignored-files): New function,
8019 split from ido-make-file-list-1.
8020 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8021 (ido-make-file-list-1): Use ido-delete-ignored-files.
8022
daabf15a
LL
80232013-06-12 Leo Liu <sdl.web@gmail.com>
8024
8025 * progmodes/octave.el (inferior-octave-startup)
8026 (inferior-octave-completion-table)
8027 (inferior-octave-track-window-width-change)
8028 (octave-eldoc-function-signatures, octave-help)
8029 (octave-find-definition): Use single quoted strings.
8030 (inferior-octave-startup-args): Change default value.
8031 (inferior-octave-startup): Do not hard code "-i" and
8032 "--no-line-editing".
8033 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8034 (inferior-octave-directory-tracker): Use it.
8035 (octave-goto-function-definition): Robustify.
8036 (octave-help): Support highlighting operators in 'See also'.
8037 (octave-find-definition): Find subfunctions only in Octave mode.
8038
cf4e5178
SM
80392013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * help-fns.el (help-fns--compiler-macro): If the handler function is
8042 named, then put a link to it.
8043 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8044 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8045 (cl-typep): Use it.
8046 (cl-eval-when): Simplify debug spec.
8047 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8048 compiler-macro function instead of setting `compiler-macro-file'.
8049
99c81280 80502013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8051
8052 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8053 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8054
f56be016
SM
80552013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8056 Daniel Hackney <dan@haxney.org>
8057
8058 First part of Daniel Hackney's patch to package.el.
8059 * emacs-lisp/package.el: Use defstruct.
8060 (package-desc): New, main struct.
8061 (package--bi-desc, package--ac-desc): New structs, used to describe the
8062 format in external files.
8063 (package-desc-vers): Replace with package-desc-version accessor.
8064 (package-desc-doc): Replace with package-desc-summary accessor.
8065 (package-activate-1): Remove `package' arg since the pkg-vec now
8066 includes the name.
8067 (define-package): Use package-desc-from-define.
8068 (package-unpack-single): Change file-name arg to be a symbol.
8069 (package--add-to-archive-contents): Use package-desc-create and new
8070 accessor functions to package--ac-desc.
8071 (package-buffer-info, package-tar-file-info): Return a package-desc.
8072 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8073 arg to be a package-desc.
8074 (package-install-file): Adjust accordingly. Use \' to match EOS.
8075 (package--from-builtin): New function.
8076 (describe-package-1, package-menu--generate): Use it.
8077 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8078 (package-generate-autoloads): Idem and return the name of the file.
8079 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8080 Change pkg-info arg to be a package-desc.
8081 Use package-make-ac-desc.
8082 (package-upload-file): Use \' to match EOS.
8083 * finder.el (finder-compile-keywords): Use package-make-builtin.
8084
31119d63
SM
80852013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8086
931a2762
SM
8087 * vc/vc.el (vc-deduce-fileset): Change error message.
8088 (vc-read-backend): New function.
8089 (vc-next-action): Use it.
8090
5a3eb0c6
SM
8091 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8092
e3eb1bb7
SM
8093 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8094 (prolog-font-lock-keywords): Use regexp-opt instead.
8095 Don't manually highlight strings.
8096 (prolog-mode-variables): Simplify comment-start-skip.
8097 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8098
31119d63
SM
8099 * emacs-lisp/generic.el (generic--normalise-comments)
8100 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8101 (generic-mode-set-comments): Use them.
8102 (generic-bracket-support): Use setq-local.
8103 (generic-make-keywords-list): Declare obsolete.
8104
7de135d0
GM
81052013-06-11 Glenn Morris <rgm@gnu.org>
8106
8107 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8108 Prettify after setting font-lock-defaults. (Bug#14574)
8109
fa6bc6fd
JB
81102013-06-11 Juanma Barranquero <lekktu@gmail.com>
8111
8112 * replace.el (query-replace, occur-read-regexp-defaults-function)
8113 (replace-search):
8114 * subr.el (declare-function, number-sequence, local-set-key)
8115 (substitute-key-definition, locate-user-emacs-file)
8116 (with-silent-modifications, split-string, eval-after-load):
8117 Fix typos, remove unneeded backslashes and reflow some docstrings.
8118
cf1f9b9a
SM
81192013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8120
8121 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8122 default for Elisp files.
8123
56602a4b
GM
81242013-06-11 Glenn Morris <rgm@gnu.org>
8125
8126 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8127 although define-derived-mode was doing this anyway. (Bug#14583)
8128
30ae0b2c
JB
81292013-06-10 Juanma Barranquero <lekktu@gmail.com>
8130
8131 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8132 Fix make-variable-buffer-local call to refer to the correct variable.
8133
fa472906
AG
81342013-06-10 Aidan Gauland <aidalgol@amuri.net>
8135
8136 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8137 (eshell-visual-subcommands, eshell-visual-options):
8138 Add summary line to docstrings. Add cross-references.
fa472906 8139
ff4871b9
GM
81402013-06-10 Glenn Morris <rgm@gnu.org>
8141
8142 * epa.el (epa-read-file-name): New function. (Bug#14510)
8143 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8144
04fcf1b0
AG
81452013-06-09 Aidan Gauland <aidalgol@amuri.net>
8146
8147 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8148 output redirection to be ignored with visual commands.
8149
88b00caa
AG
81502013-06-09 Aidan Gauland <aidalgol@amuri.net>
8151
8152 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8153 (eshell-term-initialize): Move long lambda to separate function
8154 eshell-visual-command-p.
e7b41c4c
JB
8155 * eshell/em-dirs.el (eshell-dirs-initialise):
8156 * eshell/em-script.el (eshell-script-initialize):
8157 Add missing #' to lambda.
88b00caa 8158
fda74125
LL
81592013-06-08 Leo Liu <sdl.web@gmail.com>
8160
8161 * progmodes/octave.el (octave-add-log-current-defun): New function.
8162 (octave-mode): Set add-log-current-defun-function.
8163 (octave-goto-function-definition): Do not move point if not found.
8164 (octave-find-definition): Enhance to try subfunctions first.
8165
467f3b33
GM
81662013-06-08 Glenn Morris <rgm@gnu.org>
8167
8168 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8169 (byte-compile-backward-char, byte-compile-backward-word):
8170 Improve previous change, to handle non-explicit nil.
8171
544badc3
SM
81722013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8175 (smie--opener/closer-at-point): New function.
8176 (smie--matching-block-data): Use it. Don't match from right after an
8177 opener or right before a closer. Obey smie-blink-matching-inners.
8178 Don't signal a mismatch for repeated inners like "switch..case..case".
8179
a175bf33
LL
81802013-06-07 Leo Liu <sdl.web@gmail.com>
8181
8182 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8183 to t. (Bug#14303)
ce8209d4
LL
8184 (octave-function-header-regexp): Fix. (Bug#14570)
8185 (octave-help-mode-finish-hook, octave-help-mode-finish):
8186 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8187
8188 * newcomment.el (comment-search-backward): Revert last change.
8189 (Bug#14434)
8190
8191 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8192
a822acff
EZ
81932013-06-07 Eli Zaretskii <eliz@gnu.org>
8194
8195 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8196 through xargs, to avoid failure due to MS-Windows limitations on
8197 command-line length.
8198
961166f5
GM
81992013-06-06 Glenn Morris <rgm@gnu.org>
8200
d0341459
GM
8201 * font-lock.el (lisp-font-lock-keywords-2):
8202 Treat user-error like error.
8203
961166f5
GM
8204 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8205 (byte-compile-backward-char, byte-compile-backward-word):
8206 Handle explicit nil arguments. (Bug#14565)
8207
80fa505f
AM
82082013-06-05 Alan Mackenzie <acm@muc.de>
8209
8210 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8211 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8212 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8213 (Bug#9706)
80fa505f 8214
fccdc796
SM
82152013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * autorevert.el (auto-revert-notify-handler): Use memq.
8218 Hide assertion failure.
8219
8220 * skeleton.el: Use cl-lib.
8221 (skeleton-further-elements): Use defvar-local.
8222 (skeleton-insert): Use cl-progv.
8223
9bfff84b
TZ
82242013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8225
8226 * progmodes/prog-mode.el (prog-prettify-symbols)
8227 (prog-prettify-install): Update docstrings.
8228
55577e7c
SM
82292013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8230
8231 * simple.el: Move all the prog-mode code to prog-mode.el.
8232 * progmodes/prog-mode.el: New file.
8233 * loadup.el: Add prog-mode.el.
8234
8fc57765
TZ
82352013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8236
8237 * simple.el (prog-prettify-symbols): Add version.
8238 (prog-prettify-install): Add convenience function to prettify symbols.
8239
8240 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8241 (perl--augmented-font-lock-keywords-1)
8242 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8243 variables and use it.
8244
8245 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8246 (cfengine3-mode): Remove unneeded variable and use it.
8247
8248 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8249 (lisp--augmented-font-lock-keywords-1)
8250 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8251 Remove unneeded variables and use it.
8252
650645d5 82532013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8254
8255 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8256 to point when opening the connection. (Bug#14380)
28f5da6d 8257
781b4af6
SM
82582013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8259
8260 * subr.el (load-history-regexp, load-history-filename-element)
8261 (eval-after-load, after-load-functions, do-after-load-evaluation)
8262 (eval-next-after-load, display-delayed-warnings)
8263 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8264 definition of save-match-data.
8265 (overriding-local-map): Remove accidental obsolescence declaration.
8266
8267 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8268
3ca0d0b4
TZ
82692013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8270
8271 Generalize symbol prettify support to prog-mode and implement it
8272 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8273 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8274 (prog--prettify-font-lock-compose-symbol)
8275 (prog-prettify-font-lock-symbols-keywords): New variables and
8276 functions to support symbol prettification.
8277 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8278 (lisp--augmented-font-lock-keywords-1)
8279 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8280 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8281 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8282 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8283 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8284 * progmodes/perl-mode.el (perl-prettify-symbols)
8285 (perl--font-lock-compose-symbol)
8286 (perl--font-lock-symbols-keywords): Move to prog-mode.
8287 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8288 (perl-font-lock-keywords-1)
8289 (perl-font-lock-keywords-2): Remove explicit prettify support.
8290 (perl--augmented-font-lock-keywords)
8291 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8292 (perl--augmented-font-lock-keywords-2, perl-mode):
8293 Implement prettify support.
3ca0d0b4 8294
976cb066
LL
82952013-06-05 Leo Liu <sdl.web@gmail.com>
8296
8297 Re-implement smie matching block highlight using
8298 show-paren-data-function. (Bug#14395)
8299 * emacs-lisp/smie.el (smie-matching-block-highlight)
8300 (smie--highlight-matching-block-overlay)
8301 (smie--highlight-matching-block-lastpos)
8302 (smie-highlight-matching-block)
8303 (smie-highlight-matching-block-mode): Remove.
8304 (smie--matching-block-data-cache): New variable.
8305 (smie--matching-block-data): New function.
8306 (smie-setup): Use smie--matching-block-data for
8307 show-paren-data-function.
8308
8309 * progmodes/octave.el (octave-mode-menu): Fix.
8310 (octave-find-definition): Skip garbage lines.
8311
208d0342
SM
83122013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8313
8314 Fix compilation error with simultaneous dynamic+lexical scoping.
8315 Add warning when a defvar appears after the first let-binding.
8316 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8317 (byte-compile-close-variables): Initialize it.
8318 (byte-compile--declare-var): New function.
8319 (byte-compile-file-form-defvar)
8320 (byte-compile-file-form-define-abbrev-table)
8321 (byte-compile-file-form-custom-declare-variable): Use it.
8322 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8323 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8324 (byte-compile-bind): Handle dynamic bindings that shadow
8325 lexical bindings.
8326 (byte-compile-unbind): Make arg non-optional.
8327 (byte-compile-let): Simplify.
8328 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8329 (cconv--analyse-function, cconv-analyse-form): Populate it.
8330 Protect byte-compile-bound-variables to limit the scope of defvars.
8331 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8332 Remove unneeded rule for `declare'.
8333
8334 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8335 so as to avoid depending on cl-adjoin at run-time.
8336 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8337
8338 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8339 (macroexp--warn-and-return): Use it.
8340
1ac2891e
GM
83412013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8343 * lisp/subr.el: Convert to lexical binding.
8344 (overriding-local-map): Make obsolete.
8345 (add-to-list): Doc fix. Add compiler macro.
8346 (read-key): Swap values of local maps.
8347
2587b005
LL
83482013-06-05 Leo Liu <sdl.web@gmail.com>
8349
8350 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8351
f1da3c88
LL
83522013-06-04 Leo Liu <sdl.web@gmail.com>
8353
8354 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8355 (compilation-auto-jump): Suppress the "Mark set" message to give
8356 way to exit message.
8357
3caa391f
AM
83582013-06-04 Alan Mackenzie <acm@muc.de>
8359
8360 Remove faulty optimisation from indentation calculation.
8361 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8362 search limit based on 2000 characters back from indent-point.
8363
068922a2
TH
83642013-06-03 Tassilo Horn <tsdh@gnu.org>
8365
8366 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8367
1f8fdd53
SM
83682013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8369
bbcc4d97
SM
8370 * emacs-lisp/lisp.el: Use lexical-binding.
8371 (lisp--local-variables-1, lisp--local-variables): New functions.
8372 (lisp--local-variables-completion-table): New var.
208d0342 8373 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8374
1f8fdd53
SM
8375 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8376 eagerly (bug#14422).
8377
c9628c79
MA
83782013-06-03 Michael Albinus <michael.albinus@gmx.de>
8379
8380 * autorevert.el (auto-revert-notify-enabled)
8381 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8382 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8383 (auto-revert-notify-handler): Handle also gfilenotify.
8384
e7b41c4c 8385 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8386 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8387 Remove.
c9628c79 8388
e5e4a942
JL
83892013-06-03 Juri Linkov <juri@jurta.org>
8390
8391 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8392 `M-s h .'. (Bug#14427)
8393
8394 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8395 command `hi-lock-face-symbol-at-point'.
8396 (hi-lock-face-symbol-at-point): New command.
8397 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8398 (hi-lock-menu): Add `highlight-symbol-at-point'.
8399 (hi-lock-mode): Doc fix.
8400
8401 * isearch.el (isearch-forward-symbol-at-point): New command.
8402 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8403 (isearch-highlight-regexp): Add a regexp which matches
8404 words/symbols for word/symbol mode.
8405
8406 * subr.el (find-tag-default-bounds): New function with the body
8407 mostly moved from `find-tag-default'.
8408 (find-tag-default): Move most code to `find-tag-default-bounds',
8409 call it and apply `buffer-substring-no-properties' afterwards.
8410
26b3353a
TH
84112013-06-03 Tassilo Horn <tsdh@gnu.org>
8412
781b4af6
SM
8413 * eshell/em-term.el (eshell-term-initialize):
8414 Use `cl-intersection' rather than `intersection'.
26b3353a 8415
51b60f53
XF
84162013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8417
fe054b63 8418 * vc/log-view.el: Doc fix.
d3ffe17c 8419 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8420
a0eb10b3 84212013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8422
8423 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8424 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8425 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8426 (eieio-unbound, eieio-default-superclass)
8427 (eieio--define-field-accessors, method-static, method-before)
8428 (method-primary, method-after, method-num-lists)
8429 (method-generic-before, method-generic-primary)
8430 (method-generic-after, method-num-slots)
8431 (eieio-specialized-key-to-generic-key)
8432 (eieio--check-type, class-v, class-p)
8433 (eieio-class-name, define-obsolete-function-alias)
8434 (eieio-class-parents-fast, eieio-class-children-fast)
8435 (same-class-fast-p, class-constructor, generic-p)
8436 (generic-primary-only-p, generic-primary-only-one-p)
8437 (class-option-assoc, class-option, eieio-object-p)
8438 (class-abstract-p, class-method-invocation-order)
8439 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8440 (eieio-class-un-autoload, eieio-defclass)
8441 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8442 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8443 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8444 (eieio-defgeneric-reset-generic-form)
8445 (eieio-defgeneric-form-primary-only)
8446 (eieio-defgeneric-reset-generic-form-primary-only)
8447 (eieio-defgeneric-form-primary-only-one)
8448 (eieio-defgeneric-reset-generic-form-primary-only-one)
8449 (eieio-unbind-method-implementations)
8450 (eieio--defmethod, eieio--typep)
8451 (eieio-perform-slot-validation, eieio-validate-slot-value)
8452 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8453 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8454 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8455 (eieio-slot-name-index, eieio-class-slot-name-index)
8456 (eieio-set-defaults, eieio-initarg-to-attribute)
8457 (eieio-attribute-to-initarg, eieio-c3-candidate)
8458 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8459 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8460 (eieio-class-precedence-list, eieio-generic-call-methodname)
8461 (eieio-generic-call-arglst, eieio-generic-call-key)
8462 (eieio-generic-call-next-method-list)
8463 (eieio-pre-method-execution-functions, eieio-generic-call)
8464 (eieio-generic-call-primary-only, eieiomt-method-list)
8465 (eieiomt-optimizing-obarray, eieiomt-install)
8466 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8467 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8468 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8469 (defclass): Remove `eval-and-compile' from macro.
8470 (call-next-method, shared-initialize): Instead of using
8471 `scoped-class' variable, use new eieio--scoped-class, and
8472 eieio--with-scoped-class.
8473 (initialize-instance): Rename local variable 'scoped-class' to
8474 'this-class' to remove ambiguitity from old global.
8475
8476 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8477 eieio.el.
4f405069
JB
8478 (eieio--scoped-class-stack): New variable.
8479 (eieio--scoped-class): New fcn.
890f7890
DE
8480 (eieio--with-scoped-class): New scoping macro.
8481 (eieio-defclass): Use pushnew instead of add-to-list.
8482 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8483 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8484 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8485 `scoped-class' variable, use new eieio--scoped-class, and
8486 eieio--with-scoped-class.
8487
8488 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8489
d105b0e2
TH
84902013-06-02 Tassilo Horn <tsdh@gnu.org>
8491
8492 * eshell/esh-ext.el (eshell-external-command): Pass args to
8493 `eshell-find-interpreter'.
8494 (eshell-find-interpreter): Add new second parameter ARGS.
8495
8496 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8497 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8498
8499 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8500 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8501
8502 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8503 (eshell-visual-options): New defcustom.
8504 (eshell-escape-control-x): Adapt docstring.
8505 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8506 `eshell-visual-options' in addition to `eshell-visual-commands'.
8507 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8508
f46305c8 85092013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8510
8511 * progmodes/python.el (python-indent-block-enders): Add break,
8512 continue and raise keywords.
8513
d870df21
GM
85142013-06-01 Glenn Morris <rgm@gnu.org>
8515
9133b82e
GM
8516 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8517
02c992ec 8518 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8519 * progmodes/cc-cmds.el (delete-forward-p):
8520 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8521 * progmodes/cc-engine.el (buffer-syntactic-context):
8522 * progmodes/cc-fonts.el (face-property-instance):
8523 * progmodes/cc-mode.el (set-keymap-parents):
8524 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8525 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8526 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8527 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8528 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8529
31e7b090
GM
8530 * progmodes/cc-vars.el (other): Emacs has this widget since
8531 at least 21.1, so don't (re)define it.
8532
d870df21
GM
8533 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8534 Replace the obsolete alias pcomplete-arg-quote-list.
8535
c75c93c7
LL
85362013-06-01 Leo Liu <sdl.web@gmail.com>
8537
8538 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8539 punctuation syntax.
8540 (inferior-octave-minimal-columns)
8541 (inferior-octave-last-column-width): New variables.
8542 (inferior-octave-track-window-width-change): New function.
8543 (inferior-octave-mode): Adjust column width so that Octave output,
8544 for example from 'ls', can fit into the window nicely.
8545
973d1e12
DG
85462013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8547
8548 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8549 Highlight expansions inside regexp literals.
8550
0888c286
GM
85512013-05-31 Glenn Morris <rgm@gnu.org>
8552
e26aac1f
GM
8553 * obsolete/sym-comp.el (symbol-complete):
8554 Replace obsolete completion-annotate-function.
8555
0888c286
GM
8556 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8557
19bb8e62
DG
85582013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8559
781b4af6
SM
8560 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8561 New function, checks if point is inside a literal that allows
19bb8e62
DG
8562 expression expansion.
8563 (ruby-syntax-propertize-expansion): Use it.
8564 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8565 around the body.
8566
01dea85f
JL
85672013-05-30 Juri Linkov <juri@jurta.org>
8568
8569 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8570 to "\M-si".
8571 (isearch-invisible): New variable.
8572 (isearch-forward): Doc fix.
8573 (isearch-mode): Set `isearch-invisible'
8574 to the value of `search-invisible'.
8575 (isearch-toggle-case-fold): Doc fix.
8576 (isearch-toggle-invisible): New command.
8577 (isearch-query-replace): Let-bind `search-invisible'
8578 to the value of `isearch-invisible'.
8579 (isearch-search): Use `isearch-invisible' instead of
8580 `search-invisible'. Let-bind `search-invisible'
8581 to the value of `isearch-invisible'. (Bug#11378)
8582
ab1bdce5
JL
85832013-05-30 Juri Linkov <juri@jurta.org>
8584
8585 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8586 call when `query-flag' is nil and `search-invisible' is non-nil.
8587 (Bug#11746)
8588
d6d236e2
GM
85892013-05-30 Glenn Morris <rgm@gnu.org>
8590
8accd027
GM
8591 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8592
2a8bed1c
GM
8593 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8594 (cc-require): Suppress spurious "noruntime" warnings.
8595 (cc-require-when-compile): Use fboundp, for sake of compiler.
8596
d6d236e2
GM
8597 * progmodes/cc-mode.el: Move load of cc-vars before that of
8598 cc-langs (which in turn loads cc-vars), to quieten compiler.
8599
9190b35b
SM
86002013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * paren.el: Simplify the code.
8603 (show-paren-mode): Always start the timer.
8604 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8605 (show-paren--overlay, show-paren--overlay-1): Rename from
8606 show-paren-overlay and show-paren-overlay-1, and initialize to an
8607 overlay rather than to nil.
8608 (show-paren-function): Misc cleanup and simplifications.
8609
4f8d1cf6
SM
86102013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8611
8612 * paren.el (show-paren-data-function): New hook.
8613 (show-paren--default): New function, extracted from show-paren-function.
8614 (show-paren-function): Use show-paren-data-function.
8615
02d844b5
GM
86162013-05-30 Glenn Morris <rgm@gnu.org>
8617
d209d4a9
GM
8618 * ielm.el (ielm-map, ielm-complete-symbol):
8619 Use completion-at-point rather than obsolete functions.
8620 (inferior-emacs-lisp-mode): Doc fix.
8621 Set completion-at-point-functions, rather than
8622 comint-dynamic-complete-functions.
8623
2082faa6
GM
8624 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8625 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8626 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8627
dd8620de
GM
8628 * image.el (image-animated-p): Tweak definition.
8629
ceca95b1
GM
8630 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8631 (rlogin-process-connection-type): Tweak default. Add set-after.
8632 (rlogin-host): Doc fix.
8633 (rlogin): Tweak prompt.
8634 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8635
ee9f1acc
GM
8636 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8637 * progmodes/tcl.el (inferior-tcl-mode-map):
8638 Use completion-at-point rather than obsolete alias.
8639
45ce222e
GM
8640 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8641
02d844b5
GM
8642 * minibuffer.el (read-file-name-completion-ignore-case):
8643 Move before completion--in-region, for eager macro expansion.
8644
ac44d6c1
JL
86452013-05-29 Juri Linkov <juri@jurta.org>
8646
8647 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8648 for total count of matching lines. Add `global-matches' for total
8649 count of matches. Rename `matches' to `lines' for count of
8650 matching lines. Add `matches' for count of matches.
8651 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8652 to `prev-line' for line number of prev match endpt.
8653 Increment `matches' for every match. Print the number of
8654 matching lines in the header.
8655 (occur-context-lines): Rename `lines' to `curr-line'.
8656 Rename `prev-lines' to `prev-line'. (Bug#14017)
8657
3c9c9d38
JL
86582013-05-29 Juri Linkov <juri@jurta.org>
8659
8660 * replace.el (perform-replace): Add `skip-read-only-count',
8661 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8662 Increment them for corresponding conditions and report the number
8663 of skipped occurrences in the final message. (Bug#11746)
8664 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8665 (replace-string, replace-regexp): Doc fix.
8666
33e249a2
SM
86672013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8e399682
SM
8669 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8670
33e249a2 8671 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8672 prog-mode-map (bug#14504).
33e249a2 8673
f236dd84
LL
86742013-05-29 Leo Liu <sdl.web@gmail.com>
8675
8676 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8677 (octave-help): Small simplification.
8678
8679 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8680 off the highlight first.
8681
3694d13f
GM
86822013-05-29 Glenn Morris <rgm@gnu.org>
8683
03983bdc
GM
8684 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8685 Handle idlwave-last-system-routine-info-cons-cell being nil.
8686
bc74a74a
GM
8687 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8688 (idlwave-write-paths): Simplify via with-temp-buffer.
8689
8b394200
GM
8690 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8691 * emulation/cua-rect.el: Also load cua-base at run time.
8692
3694d13f
GM
8693 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8694 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8695 (cperl-imenu-on-info): Require imenu.
8696
336d7284
AM
86972013-05-28 Alan Mackenzie <acm@muc.de>
8698
8699 Handle "capitalised keywords" correctly.
33e249a2 8700 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8701
cb29c582
AG
87022013-05-28 Aidan Gauland <aidalgol@amuri.net>
8703
781b4af6 8704 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8705
690e44b2
GM
87062013-05-28 Glenn Morris <rgm@gnu.org>
8707
e658d75c
GM
8708 * vc/vc-arch.el (vc-exec-after): Declare.
8709 (vc-switches): Autoload.
8710 * vc/vc-bzr.el: No need to require vc when compiling.
8711 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8712 (vc-resynch-buffer, vc-dir-refresh): Declare.
8713 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8714 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8715 (vc-resynch-buffer): Declare.
8716 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8717 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8718 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8719 (grep-read-regexp, grep-read-files, grep-expand-template)
8720 (vc-dir-refresh): Declare.
8721 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8722 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8723 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8724 * vc/vc-mtn.el (vc-exec-after): Declare.
8725 (vc-switches): Autoload.
8726 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8727 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8728 (vc-file-tree-walk): Declare.
712b9732
GM
8729 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8730 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8731 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8732 * vc/vc-svn.el (vc-exec-after): Declare.
8733 (vc-switches, vc-setup-buffer): Autoload.
8734 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8735 Autoload.
8736 (vc-resynch-buffer): Declare.
8737
98e87fb3
GM
8738 * obsolete/fast-lock.el (byte-compile-warnings):
8739 Don't warn about obsolete features in this obsolete file.
8740
f5379553
GM
8741 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8742 Move definition before use.
8743
7a20ef83
GM
8744 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8745 (dun-unix-verbs): Remove dun-zippy.
8746 (dun-zippy): Remove function.
8747
690e44b2
GM
8748 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8749
3a52ccf7
JL
87502013-05-27 Juri Linkov <juri@jurta.org>
8751
8752 * replace.el (replace-search): New function with code moved out
8753 from `perform-replace'.
8754 (replace-highlight, replace-dehighlight): Move function definitions
8755 up closer to `replace-search'. (Bug#11746)
8756
d289938a
JL
87572013-05-27 Juri Linkov <juri@jurta.org>
8758
8759 * replace.el (perform-replace): Ignore invisible matches.
8760 In addition to checking `query-replace-skip-read-only', also
8761 filter out matches by calling `run-hook-with-args-until-failure'
8762 on `isearch-filter-predicates', and also check `search-invisible'
8763 for t or call `isearch-range-invisible'.
8764 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8765
66fc57e3
JL
87662013-05-27 Juri Linkov <juri@jurta.org>
8767
8768 * isearch.el (isearch-filter-predicates): Rename from
8769 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8770 (isearch-message-prefix): Display text from the property
8771 `isearch-message-prefix' of the currently active filters.
8772 (isearch-search): Don't compare `isearch-filter-predicate' with
8773 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8774 on `isearch-filter-predicates'. Also check `search-invisible' for t
8775 or call `isearch-range-invisible'.
8776 (isearch-filter-visible): Make obsolete.
8777 (isearch-lazy-highlight-search):
8778 Call `run-hook-with-args-until-failure' on
8779 `isearch-filter-predicates' and use `isearch-range-invisible'.
8780
8781 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8782 `isearch-filter-predicates' instead of `funcall'ing
8783 `isearch-filter-predicate'.
8784 (Info-mode): Set `Info-isearch-filter' to
8785 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8786
8787 * dired-aux.el (dired-isearch-filter-predicate-orig):
8788 Remove variable.
8789 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8790 (dired-isearch-filenames-end): Add and remove
8791 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8792 instead of changing the value of `isearch-filter-predicate'.
8793 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8794 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8795 Put property `isearch-message-prefix' to "filename " on
8796 `dired-isearch-filter-filenames'.
8797
8798 * wdired.el (wdired-change-to-wdired-mode):
8799 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8800 locally instead of changing `isearch-filter-predicate'.
8801 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8802
f1a60a0f
DG
88032013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8804
8805 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8806 return the commit hash (Bug#14459). Also set the
8807 `vc-git-detached' property.
8808 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8809 (vc-git-mode-line-string): Use the same help-echo format whether
8810 in detached mode or not, because we know the actual revision now.
8811 When in detached mode, shorten the revision to 7 chars.
8812
7f17cc40
SM
88132013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * emacs-lisp/easy-mmode.el (define-minor-mode):
8816 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8817 mode hook and provide a docstring.
8818
25c8401c
AM
88192013-05-27 Alan Mackenzie <acm@muc.de>
8820
8821 Remove spurious syntax-table text properties inserted by C-y.
8822 * progmodes/cc-mode.el (c-after-change): Also clear hard
8823 syntax-table property with value nil.
8824
dde84790
MA
88252013-05-27 Michael Albinus <michael.albinus@gmx.de>
8826
8827 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8828 when reading the events; the buffer layout shall not be changed.
8829
837fd9af
LL
88302013-05-27 Leo Liu <sdl.web@gmail.com>
8831
8832 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8833 New variable.
8834 (inferior-octave-directory-tracker): Automatically re-sync
8835 default-directory.
8836 (octave-help): Improve handling of 'See also'.
8837
4fd996b3
SM
88382013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8839
416f1802
SM
8840 * doc-view.el: Minor naming convention tweaks.
8841 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8842
4fd996b3
SM
8843 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8844 even if there's no `display' property yet (bug#14435).
8845
a052ef3b
EZ
88462013-05-25 Eli Zaretskii <eliz@gnu.org>
8847
4fd996b3 8848 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
8849
8850 * Makefile.in (custom-deps, finder-data, autoloads)
8851 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8852 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8853 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8854
c9023370
SM
88552013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8856
8857 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8858 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 8859 Don't burp at EOB.
c9023370 8860
24d699fa
LL
88612013-05-25 Leo Liu <sdl.web@gmail.com>
8862
8863 * comint.el (comint-previous-matching-input): Do not flood the
8864 *Messages* buffer with trivial messages.
8865
17e5c0cc
SM
88662013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * progmodes/flymake.el (flymake-nop): Don't return a string.
8869 (flymake-set-at): Fix typo.
8870
8871 * simple.el (read--expression): New function, extracted from
8872 eval-expression. Set completion-at-point-functions (bug#14465).
8873 (eval-expression, eval-minibuffer): Use it.
8874
5d028165
XF
88752013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8876
8877 * progmodes/flymake.el (flymake-save-buffer-in-file)
8878 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8879 (flymake-selected-frame, flymake-log, flymake-ins-after)
8880 (flymake-set-at, flymake-get-buildfile-from-cache)
8881 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8882 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8883 Refine the doc string.
8884 (flymake-get-file-name-mode-and-masks): Reformat.
8885 (flymake-get-real-file-name-function): Fix a minor bug.
8886
7a1d7ba7
JL
88872013-05-24 Juri Linkov <juri@jurta.org>
8888
8889 * progmodes/grep.el (grep-mode-font-lock-keywords):
8890 Support =linenumber= format used by git-grep for lines with
8891 function names. (Bug#13549)
8892
650cff3d
SM
88932013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8896 0 after a semi-colon; it works better for smie-auto-fill.
8897 (octave--indent-new-comment-line): New function.
8898 (octave-indent-new-comment-line): Use it (indirectly).
8899 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8900 modify comment-line-break-function.
8901
8902 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8903 (smie-setup): Use add-function to set it.
8904
9631677d
SS
89052013-05-24 Sam Steingold <sds@gnu.org>
8906
8907 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8908 argument (before the `interactive' argument).
8909
50105835
SM
89102013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8911
8912 * image-mode.el (image-mode-winprops): Add winprops to
8913 image-mode-winprops-alist before running
8914 image-mode-new-window-functions.
8915 * doc-view.el (doc-view-new-window-function): Don't delay
8916 doc-view-goto-page via timers (bug#14435).
8917
57b9823e
TH
89182013-05-24 Tassilo Horn <tsdh@gnu.org>
8919
8920 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8921 (doc-view-desktop-save-buffer): New function.
8922 (doc-view-restore-desktop-buffer): New function.
50105835
SM
8923 (desktop-buffer-mode-handlers):
8924 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
8925 handler.
8926 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8927 `desktop-save-buffer' function.
8928
91aafa16
MA
89292013-05-24 Michael Albinus <michael.albinus@gmx.de>
8930
8931 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8932 (tramp-gvfs-file-name-handler): Raise a user error when
8933 `tramp-gvfs-enabled' is nil.
8934 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8935 Do not raise a user error when loading package. (Bug#14447)
8936
ec076379
MA
8937 * net/xesam.el: Move to obsolete/.
8938
db785726
GM
89392013-05-24 Glenn Morris <rgm@gnu.org>
8940
af5c7606
GM
8941 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8942
e5d1916a
GM
8943 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8944
ded62b08
GM
8945 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8946 (Info-find-node, Man-getpage-in-background): Declare.
8947
9e614a3f
GM
8948 * mail/unrmail.el (unrmail):
8949 Replace obsolete detect-coding-with-priority.
8950
892f8ca3
GM
8951 * net/socks.el (socks-split-string): Use this rather than split-string.
8952 (socks-nslookup-host): Update for above change.
8953 (dynamic-choice, s5-dynamic-choice-match)
8954 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8955 Comment out unused code.
8956
3c291973
GM
8957 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8958 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8959 (gud-tooltip-echo-area): Make obsolete.
8960 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8961
43cc956b
GM
8962 * progmodes/js.el (js--optimize-arglist): Declare.
8963
dab49a3b
GM
8964 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8965
36b9d085
GM
8966 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8967 (ediff-window-C): Declare.
8968
e354ae76
GM
8969 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8970 Tweak requires to silence compiler.
8971
b8e57bf4
GM
8972 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8973 (he-search-string, he-tried-table, he-expand-list)
8974 (he-init-string, he-string-member, he-substitute-string)
8975 (he-reset-string): Declare.
8976
db785726
GM
8977 * obsolete/options.el (list-options): Use custom-variable-p,
8978 rather than obsolete alias.
8979
b3531901
SS
89802013-05-23 Sam Steingold <sds@gnu.org>
8981
8982 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 8983 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
8984 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8985
bdda4c66
SM
89862013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * emacs-lisp/smie.el (smie-indent-forward-token)
8989 (smie-indent-backward-token): Handle string tokens (bug#14381).
8990
c43d45f9
TH
89912013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8992
fe1eb856
RS
8993 * ielm.el (ielm-menu): New menu.
8994 (inferior-emacs-lisp-mode): Set comment-start.
96172128 8995
fe1eb856
RS
89962013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8997
8998 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8999 Fix deactivate action.
9000
9001 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9002 Add cleveref macros.
074dd971 9003
c43d45f9
TH
9004 * lisp/textmodes/reftex-parse.el
9005 (reftex-locate-bibliography-files): Accept options for
9006 bibliography commands.
9007 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9008 Add addbibresource. Basic Biblatex support.
9009
7764286e
MA
90102013-05-23 Michael Albinus <michael.albinus@gmx.de>
9011
9012 * net/tramp-gvfs.el (top):
9013 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9014 when loading package. (Bug#14447)
9015
d361bc10
GM
90162013-05-23 Glenn Morris <rgm@gnu.org>
9017
8fa23984
GM
9018 * progmodes/js.el: No need to load comint when compiling.
9019 (ring-insert, comint-send-string, comint-send-input)
9020 (comint-last-input-end, ido-chop): Declare.
9021
a5c7df1a
GM
9022 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9023 * vc/ediff-mult.el: Adjust requires.
9024 (ediff-directories-internal, ediff-directory-revisions-internal)
9025 (ediff-patch-file-internal): Declare.
9026 * vc/ediff-ptch.el: Adjust requires.
9027 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9028 (ediff-find-file): Autoload.
9029 * vc/ediff-util.el: No need to load ediff when compiling.
9030 (ediff-regions-internal): Declare.
9031 * vc/ediff-wind.el: Adjust requires.
9032 (ediff-compute-toolbar-width): Define when compiling.
9033 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9034 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9035 (dired-get-filename, dired-get-marked-files)
9036 (ediff-last-dir-patch, ediff-patch-default-directory)
9037 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9038 (ediff-patch-buffer-internal): Declare.
9039
e2aec513
GM
9040 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9041 (ispell-process, ispell-buffer-local-words, lm-summary)
9042 (lm-section-start, lm-section-end): Declare.
9043 (checkdoc-ispell-init): Simplify.
9044
e68bbd7c
GM
9045 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9046 (he-string-member, he-reset-string, he-substitute-string): Declare.
9047
7efe0991
GM
9048 * eshell/em-ls.el: Adjust requires.
9049 (eshell-glob-regexp): Declare.
f87b1284
GM
9050 * eshell/em-tramp.el: Adjust requires.
9051 (eshell-parse-command): Autoload.
9052 * eshell/em-xtra.el: Adjust requires.
9053 (eshell-parse-command): Autoload.
9054 * eshell/esh-ext.el: Adjust requires.
9055 (eshell-parse-command, eshell-close-handles): Autoload.
9056 * eshell/esh-io.el: Adjust requires.
9057 (eshell-output-filter): Autoload.
9058 * eshell/esh-util.el: No need to load tramp when compiling.
9059 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9060 Declare.
9061 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9062 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9063 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9064 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9065 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9066 * eshell/esh-opt.el, eshell/esh-proc.el:
9067 * eshell/esh-var.el: Adjust requires.
9068 * eshell/eshell.el: Do not require esh-util twice.
9069 (eshell-add-input-to-history): Declare.
9070 (eshell-command): Check history module is active before using it.
9071
d361bc10
GM
9072 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9073
85d090a9
LL
90742013-05-22 Leo Liu <sdl.web@gmail.com>
9075
9076 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9077
5d0acd9d
MA
90782013-05-22 Michael Albinus <michael.albinus@gmx.de>
9079
9080 * autorevert.el (auto-revert-notify-add-watch)
9081 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9082 it indicates changes in file modification time.
9083
0cdffd7d
GM
90842013-05-22 Glenn Morris <rgm@gnu.org>
9085
ca5995ec
GM
9086 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9087 Always delete the autoloaded function from the noruntime and
9088 unresolved functions lists.
9089
6450907e
GM
9090 * allout.el: No need to load epa, epg, overlay when compiling.
9091 (epg-context-set-passphrase-callback, epg-list-keys)
9092 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9093 (epg-key-user-id-list): Declare.
9094
9c6906f6
GM
9095 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9096 (viper-set-parsing-style-toggling-macro)
9097 (viper-set-emacs-state-searchstyle-macros):
9098 Use called-interactively-p on Emacs.
9099 (viper-looking-back): Make it an obsolete alias. Update callers.
9100 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9101 Use looking-back rather than viper-looking-back.
9102 (viper-tmp-insert-at-eob, viper-enlarge-region)
9103 (viper-read-string-with-history, viper-register-to-point)
9104 (viper-append-to-register, viper-change-state-to-vi)
9105 (viper-backward-char-carefully, viper-forward-char-carefully)
9106 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9107 (viper-change-state-to-emacs): Declare.
9108 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9109 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9110 * emulation/viper-mous.el: Do not load viper-cmd.
9111 (viper-backward-char-carefully, viper-forward-char-carefully)
9112 (viper-forward-word, viper-adjust-window): Declare.
9113
5f70c169
GM
9114 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9115
b1b7f300
GM
9116 * progmodes/idlw-help.el (idlwave-help-fontify):
9117 Use called-interactively-p.
9118
f6ebbb46
GM
9119 * term/w32console.el (w32-get-console-codepage)
9120 (w32-get-console-output-codepage): Declare.
9121
0cdffd7d
GM
9122 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9123 Remove unnecessary declarations.
9124 (dframe-message): Doc fix.
9125
9126 * info.el (dframe-select-attached-frame, dframe-current-frame):
9127 Declare.
9128
9129 * speedbar.el (speedbar-message): Make it an obsolete alias.
9130 Update all callers.
9131 (speedbar-with-attached-buffer)
9132 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9133 (speedbar-with-writable): Use backquote.
9134 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9135 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9136 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9137 rather than speedbar- aliases.
9138 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9139 (speedbar-make-specialized-keymap, speedbar-insert-button)
9140 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9141 (speedbar-do-function-pointer): Declare.
9142 (rmail-speedbar-button, rmail-speedbar-find-file)
9143 (rmail-speedbar-move-message):
9144 Use dframe-with-attached-buffer rather than speedbar- alias.
9145 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9146 (dframe-message, speedbar-make-specialized-keymap)
9147 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9148 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9149 (speedbar-insert-button, dframe-select-attached-frame)
9150 (dframe-maybee-jump-to-attached-frame)
9151 (speedbar-change-initial-expansion-list)
9152 (speedbar-previously-used-expansion-list-name): Declare.
9153 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9154 Use dframe-message, dframe-with-attached-buffer rather than
9155 speedbar- aliases.
9156 (gud-sentinel): Silence compiler.
9157 * progmodes/vhdl-mode.el (speedbar-refresh)
9158 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9159 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9160 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9161 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9162 (speedbar-file-lists, speedbar-make-tag-line)
9163 (speedbar-line-directory, speedbar-goto-this-file)
9164 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9165 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9166 (speedbar-make-button, speedbar-reset-scanners)
9167 (speedbar-files-item-info, speedbar-line-text)
9168 (speedbar-find-file-in-frame, speedbar-set-timer)
9169 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9170 (speedbar-with-writable): Do not (re)define it.
9171 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9172 rather than speedbar- alias.
9173
ee44b62a
LL
91742013-05-21 Leo Liu <sdl.web@gmail.com>
9175
9176 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9177 menu items.
9178 (octave-mode): Tweak fill-nobreak-predicate.
9179 (inferior-octave-startup): Check process to avoid infinite loop.
9180 (inferior-octave): Pop to buffer first to show abornmal process
9181 exit information.
9182
640f050f
GM
91832013-05-21 Glenn Morris <rgm@gnu.org>
9184
79458038
GM
9185 * printing.el (pr-menu-bar): Define when compiling.
9186
9cc3e83f
LL
91872013-05-21 Leo Liu <sdl.web@gmail.com>
9188
9189 * progmodes/octave.el (octave-auto-fill): Remove.
9190 (octave-indent-new-comment-line): Improve.
9191 (octave-mode): Use auto fill mode through
4f405069 9192 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9193 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9194 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9195 (octave-help): Show parent directory.
9196
f440830d
GM
91972013-05-21 Glenn Morris <rgm@gnu.org>
9198
9199 * files.el (dired-unmark):
9200 * progmodes/gud.el (gdb-input): Update declarations.
9201
9202 * calculator.el (electric, ehelp): No need to load when compiling.
9203 (Electric-command-loop, electric-describe-mode): Declare.
9204
9205 * doc-view.el (doc-view-current-converter-processes): Move before use.
9206
9207 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9208 Move MODE-set-explicitly definition before use.
9209
9210 * international/mule-diag.el (mule-diag):
9211 Don't use obsolete window-system-version.
9212
9213 * mail/feedmail.el (smtpmail): No need to load when compiling.
9214 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9215
9216 * mail/mail-utils.el (rfc822): No need to load when compiling.
9217 (rfc822-addresses): Autoload it.
9218 (mail-strip-quoted-names): Trivial simplification.
9219
9220 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9221 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9222
9223 * net/snmp-mode.el (tempo): Don't duplicate requires.
9224
9225 * progmodes/prolog.el (info): No need to load when compiling.
9226 (comint): Require before shell requires it.
9227 (Info-goto-node): Autoload it.
9228 (Info-follow-nearest-node): Declare.
9229 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9230
9231 * textmodes/artist.el (picture-mode-exit): Declare.
9232
9233 * textmodes/reftex-parse.el (reftex-parse-from-file):
9234 Trivial rewrite so the compiler can parse it better.
9235
b4da2cbb
LL
92362013-05-20 Leo Liu <sdl.web@gmail.com>
9237
9238 * progmodes/octave.el (octave-help-mode-map)
9239 (octave-help-mode-finish-hook): New variables.
9240 (octave-help-mode, octave-help-mode-finish): New functions.
9241 (octave-help): Use octave-help-mode.
9242
33c0f65b
GM
92432013-05-20 Glenn Morris <rgm@gnu.org>
9244
9245 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9246
1a0a0a8a
DG
92472013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9248
9249 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9250 start at point, so that expansion starting right after opening
9251 slash in a regexp is recognized.
9252 (ruby-syntax-before-regexp-re): New defvar, extracted from
9253 ruby-syntax-propertize-function. Since the value of this regexp
9254 is looked up at runtime now, we should be able to turn
9255 `ruby-syntax-methods-before-regexp' into a defcustom later.
9256 (ruby-syntax-propertize-function): Split regexp matching into two
9257 parts, for opening and closing slashes. That allows us to skip
9258 over string interpolations and support multiline regexps.
9259 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9260 for them, which calls `ruby-syntax-propertize-expansion'.
9261 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9262 call to `ruby-syntax-propertize-function'.
9263 (ruby-syntax-propertize-expansion): Extracted from
9264 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9265 (ruby-syntax-propertize-percent-literal): Leave point right after
9266 the percent symbol, so that the expression expansion rule can
9267 propertize the contents.
462388b6
DG
9268 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9269 heredoc openers.
9270 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9271
c1a6c0a4
JL
92722013-05-18 Juri Linkov <juri@jurta.org>
9273
9274 * man.el (Man-default-man-entry): Remove `-' from the end
9275 of the default value. (Bug#14400)
9276
8051fccd
GM
92772013-05-18 Glenn Morris <rgm@gnu.org>
9278
9279 * comint.el (comint-password-prompt-regexp):
9280 Allow "password for XXX" where XXX contains colons (eg https://...).
9281
5e80b74f
LL
92822013-05-18 Leo Liu <sdl.web@gmail.com>
9283
9284 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9285 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9286 (octave-source-directories): Don't check process.
9287 (octave-source-directories, octave-find-definition): Doc fix.
9288
521a54c5
GM
92892013-05-18 Glenn Morris <rgm@gnu.org>
9290
86a94b05
GM
9291 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9292 Remove backspace/delete bindings. (Bug#14392)
9293
521a54c5
GM
9294 * cus-dep.el (custom-make-dependencies): Sort the output.
9295 (custom-versions-load-alist): Convert comment to doc.
9296
42caeb89
LL
92972013-05-17 Leo Liu <sdl.web@gmail.com>
9298
9299 * newcomment.el (comment-search-backward): Stricter in finding
9300 comment start. (Bug#14303)
9301
9302 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9303 (octave-comment-start-skip): Properly anchored.
9304
e219dd97
LL
93052013-05-17 Leo Liu <sdl.web@gmail.com>
9306
fe1eb856
RS
9307 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9308 Clean up when turned off. (Bug#14395)
e219dd97
LL
9309 (smie--highlight-matching-block-overlay): No longer buffer-local.
9310 (smie-highlight-matching-block): Adjust.
9311
dc5dcb4b
PE
93122013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9313
9314 Doc string fix for "nanoseconds" (Bug#14406).
9315 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9316 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9317
1db165f0
JB
93182013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9319
9320 * calc/calc-units.el (math-extract-units): Preserve powers
9321 of units.
9322
c7a8fcac
LL
93232013-05-17 Leo Liu <sdl.web@gmail.com>
9324
9325 * subr.el (delete-consecutive-dups): New function.
9326 * ido.el (ido-set-matches-1): Use it.
9327 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9328 * ido.el (ido-remove-consecutive-dups): Remove.
9329
f678b18a
SM
93302013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9331
9332 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9333 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9334 regexp-opt's `words'.
9335
ebfe68e8
LL
93362013-05-16 Leo Liu <sdl.web@gmail.com>
9337
9338 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9339 (smie--highlight-matching-block-overlay)
9340 (smie--highlight-matching-block-lastpos)
9341 (smie--highlight-matching-block-timer): New variables.
9342 (smie-highlight-matching-block): New function.
9343 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9344 (smie-setup): Conditionally enable smie-blink-matching-open.
9345
bc8bc17d
WS
93462013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9347
9348 Sync with upstream verilog-mode r840.
9349 * progmodes/verilog-mode.el (verilog-mode-version)
9350 (verilog-mode-release-date): Update.
9351 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9352 (verilog-sig-tieoff): Fix string error on
9353 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9354 (verilog-read-decls): Fix parameters confusing
9355 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9356
df065a0b
EZ
93572013-05-16 Eli Zaretskii <eliz@gnu.org>
9358
9359 * subr.el (reveal-filename): New function.
9360
9361 * loadup.el: Compute Emacs executable versions on MS-Windows,
9362 where executables have the .exe extension. Add a hard link
9363 emacs-XX.YY.ZZ.exe on MS-Windows.
9364
9365 * Makefile.in (XARGS_LIMIT): New variable.
9366 (custom-deps, finder-data, autoloads)
9367 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9368 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9369 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9370 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9371
2d4bf34b
LL
93722013-05-16 Leo Liu <sdl.web@gmail.com>
9373
9374 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9375 (octave-mode-menu, octave-mode-map): Remove its uses.
9376
6b9c2d85
RZ
93772013-05-16 Reto Zimmermann <reto@gnu.org>
9378
9379 Sync with upstream vhdl mode v3.34.2.
9380 * progmodes/vhdl-mode.el: Use `push' throughout.
9381 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9382 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9383 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9384 (vhdl-actual-generic-name): New option to derive actual generic name.
9385 (vhdl-port-paste-signals): Replace formal by actual generics.
9386 (vhdl-beautify): New name for old group vhdl-align. Update users.
9387 (vhdl-beautify-options): New option.
9388 (vhdl-last-input-event): New compat alias. Use throughout.
9389 (vhdl-goto-line): Replace user level function `goto-line'.
9390 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9391 vhdl-fix-statement-buffer.
9392 (vhdl-create-mode-menu): Add some entries.
9393 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9394 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9395 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9396 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9397 to force statements on one line.
9398 (vhdl-remove-trailing-spaces-region):
9399 New, split from vhdl-remove-trailing-spaces.
9400 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9401 Respect vhdl-beautify-options.
9402 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9403 (vhdl-update-sensitivity-list): Not add with index if exists without.
9404 Not include array index with signal. Ignore keywords in comments.
9405 (vhdl-get-visible-signals): Regexp tweaks.
9406 (vhdl-template-component-inst): Handle empty library.
9407 (vhdl-template-type): Add template for 'enum' type.
9408 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9409 Use vhdl-replace-string.
9410 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9411 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9412 (vhdl-speedbar-initialize): Update for above name change.
9413 (vhdl-compose-wire-components): Fix in handling of constants.
9414 (vhdl-error-regexp-emacs-alist): New variable.
9415 (vhdl-error-regexp-add-emacs): New function;
9416 adds support for new compile.el (Emacs 22+)
9417 (vhdl-generate-makefile-1): Change target order for single lib. units.
9418 Allow use of absolute file names.
9419
9df4ec5e
LL
94202013-05-16 Leo Liu <sdl.web@gmail.com>
9421
9422 * simple.el (prog-indent-sexp): Indent enclosing defun.
9423
f5ba00a6
GM
94242013-05-15 Glenn Morris <rgm@gnu.org>
9425
ed8be7ff
GM
9426 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9427 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9428 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9429 (whitespace-highlight): Move to whitespace group.
9430
9431 * comint.el (comint-source):
9432 * pcmpl-linux.el (pcmpl-linux):
9433 * shell.el (shell-faces):
9434 * eshell/esh-opt.el (eshell-opt):
9435 * international/ccl.el (ccl): Remove empty custom groups.
9436
9437 * completion.el (dynamic-completion-mode):
9438 * jit-lock.el (jit-lock-debug-mode):
9439 * minibuffer.el (completion-in-region-mode):
9440 * type-break.el (type-break-mode-line-message-mode)
9441 (type-break-query-mode):
9442 * emulation/tpu-edt.el (tpu-edt-mode):
9443 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9444 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9445 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9446
9447 * term/xterm.el (xterm): Change parent group to terminals.
9448
9449 * master.el (master): Remove empty custom group.
9450 (master-mode): Remove unused :group argument.
9451 * textmodes/refill.el (refill): Remove empty custom group.
9452 (refill-mode): Remove unused :group argument.
9453
9454 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9455
82a7c41b
GM
9456 * cus-dep.el: Provide a feature.
9457 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9458 Don't mistakenly ignore files whose basenames match a basename
9459 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9460 Add a fallback method for getting :group.
f5ba00a6 9461
6d65486d
JL
94622013-05-15 Juri Linkov <juri@jurta.org>
9463
da547b32
JL
9464 * isearch.el (isearch-char-by-name): Rename from
9465 `isearch-insert-char-by-name'. Doc fix.
9466 (isearch-forward): Mention `isearch-char-by-name' in
9467 the docstring. (Bug#13348)
9468
6d65486d
JL
9469 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9470 `exit-minibuffer' instead of
9471 `isearch-nonincremental-exit-minibuffer'.
9472 (isearch-edit-string): Remove mention of
9473 `isearch-nonincremental-exit-minibuffer' from docstring.
9474 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9475 (isearch-forward-exit-minibuffer)
9476 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9477
c9990474
SM
94782013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9479
6e911150
SM
9480 * loadup.el: Just use unversioned DOC.
9481
c9990474
SM
9482 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9483 literals as extending to EOB.
9484 (nxml-last-fontify-end): Remove unused variable.
9485 (nxml-after-change1): Use with-silent-modifications.
9486 (nxml-extend-after-change-region): Simplify.
9487 (nxml-extend-after-change-region1): Remove function.
9488 (nxml-after-change1): Don't adjust for dependent regions.
9489 (nxml-fontify-matcher): Simplify.
9490 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9491 (xmltok-add-dependent): Remove function.
9492 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9493 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9494 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9495 unclosed <[[, <?, comment, and other literals as extending to EOB.
9496 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9497 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9498 Remove functions.
9499 (rng-do-some-validation-1): Don't mark dependent regions.
9500 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9501 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9502 (nxml-clear-dependent-regions): Remove functions.
9503 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9504 (nxml-ensure-scan-up-to-date):
9505 Don't clear&mark dependent regions.
9506
e3772e98
LL
95072013-05-15 Leo Liu <sdl.web@gmail.com>
9508
c9990474
SM
9509 * progmodes/octave.el (octave-goto-function-definition):
9510 Improve and fix callers.
e3772e98 9511
5ac2eb34
SM
95122013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9513
c46c57b0
SM
9514 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9515 the setter (bug#14387).
9516
5ac2eb34
SM
9517 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9518 surrounding group (bug#14402).
9519
180ed218
JL
95202013-05-14 Juri Linkov <juri@jurta.org>
9521
9522 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9523 (Bug#14390)
9524
0ac0fecb
GM
95252013-05-14 Glenn Morris <rgm@gnu.org>
9526
9527 * progmodes/f90.el (f90-imenu-generic-expression):
9528 Fix typo in 2013-05-08 change. (Bug#14402)
9529
2e78e6a7
JPG
95302013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9531
5ac2eb34
SM
9532 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9533 Remove signals for which replies are never received.
2e78e6a7 9534
53267cca
JPG
95352013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9536
9537 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9538 (gdb-handler-alist, gdb-handler-number): Remove variables.
9539 (gdb-handler-list): New variable.
9540 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9541 (gdb-pending-handler-p, gdb-handle-reply)
9542 (gdb-remove-all-pending-triggers): New functions.
9543 (gdb-discard-unordered-replies): New defcustom.
9544 (gdb-handler): New defstruct.
9545 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9546 instead of gdb-pending-triggers. Update docstring.
9547 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9548 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9549 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9550 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9551 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9552 (gdb-frame-handler): Pending triggers are now automatically managed.
9553 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9554 Remove argument.
9555 (gdb-input): Automatically handles pending triggers. Update docstring.
9556 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9557 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9558 Update comments.
9559 (gdb-done-or-error): Now use gdb-handle-reply.
9560
d04ce803
JPG
95612013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9562
9563 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9564 gdb-debug-log.
9565
0114073a
GM
95662013-05-14 Glenn Morris <rgm@gnu.org>
9567
9568 * subr.el (user-emacs-directory-warning): New option.
9569 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9570
4d25fd7e
LL
95712013-05-14 Leo Liu <sdl.web@gmail.com>
9572
9573 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9574 during redisplay.
9575 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9576 (octave-font-lock-texinfo-comment): Fix invalid search bound
9577 error: wrong side of point.
4d25fd7e 9578
27c8b6eb
GM
95792013-05-14 Glenn Morris <rgm@gnu.org>
9580
61aaeb01
GM
9581 * progmodes/flymake.el (flymake-xml-program): New option.
9582 (flymake-xml-init): Use it.
9583
5bf90bc5
GM
9584 * term/xterm.el: Provide a feature.
9585
9586 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9587
f4c7dfd2
GM
95882013-05-13 Glenn Morris <rgm@gnu.org>
9589
9590 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9591 Add compat aliases as a hack workaround. (Bug#14384)
9592
2aeb3a1d
LL
95932013-05-13 Leo Liu <sdl.web@gmail.com>
9594
b0e069c2
LL
9595 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9596 ###, and %!.
f5a9432f
LL
9597 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9598 C-M-q.
b0e069c2
LL
9599 (octave-comment-start-skip): Include %!.
9600 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9601
30ea8374
LL
96022013-05-12 Leo Liu <sdl.web@gmail.com>
9603
9604 * progmodes/octave.el (inferior-octave-startup): Store the value
9605 of __octave_srcdir__ for octave-source-directories.
9606 (inferior-octave-check-process): New function refactored out of
9607 inferior-octave-send-list-and-digest.
9608 (octave-source-directories)
9609 (octave-find-definition-filename-function): New variables.
9610 (octave-source-directories)
9611 (octave-find-definition-default-filename): New functions.
9612 (octave-find-definition): Improve to find functions implemented in C++.
9613
472a3834
GM
96142013-05-12 Glenn Morris <rgm@gnu.org>
9615
9616 * calendar/diary-lib.el (diary-outlook-format-1):
9617 Don't include dayname in the output. (Bug#14349)
9618
3191b52f
GM
96192013-05-11 Glenn Morris <rgm@gnu.org>
9620
0060ac73
GM
9621 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9622
3191b52f
GM
9623 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9624 Treat cc-provide like provide.
9625
e065ba74
KR
96262013-05-11 Kevin Ryde <user42@zip.com.au>
9627
9628 * cus-dep.el (custom-make-dependencies):
9629 Use generated-autoload-load-name for the sake of files such
9630 such cedet/semantic/bovine/c.el, where the base file name
9631 is not in load-path. (Bug#5277)
9632
36f84c37
GM
96332013-05-11 Glenn Morris <rgm@gnu.org>
9634
9635 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9636 Provide features.
9637
c8730c3a
LL
96382013-05-11 Leo Liu <sdl.web@gmail.com>
9639
9640 * progmodes/octave.el (octave-indent-comment): Improve.
9641 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9642 (octave-eldoc-function-signatures, octave-eldoc-function):
9643 New functions.
c8730c3a
LL
9644 (octave-mode, inferior-octave-mode): Add eldoc support.
9645
212e29f2
RS
96462013-05-11 Richard Stallman <rms@gnu.org>
9647
9648 * epa.el (epa-decrypt-file): Take output file name as argument
9649 and read it using `interactive'.
9650
083fe0d7
LL
96512013-05-11 Leo Liu <sdl.web@gmail.com>
9652
9653 * progmodes/octave.el (octave-beginning-of-line)
9654 (octave-end-of-line): Check before using up-list because it jumps
9655 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9656 (octave-indent-comment): New function.
9657 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9658 (octave-begin-keywords, octave-end-keywords)
9659 (octave-reserved-words, octave-smie-bnf-table)
9660 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9661
8582e4c4
GM
96622013-05-11 Glenn Morris <rgm@gnu.org>
9663
f20def1f
GM
9664 * faces.el (internal-face-x-get-resource):
9665 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9666 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9667 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9668 Fix declarations.
f20def1f 9669
445f95e2
GM
9670 * calc/calc-menu.el: Make it loadable in isolation.
9671
9672 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9673 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9674 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9675 (eudc-bbdb-query-internal): Require 'bbdb.
9676
99fb2756
GM
9677 * lpr.el (lpr-headers-switches):
9678 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9679
9680 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9681
0da7ad96
GM
9682 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9683
8582e4c4
GM
9684 * term.el (term-set-escape-char): Make it idempotent.
9685
f71c50d0
LL
96862013-05-10 Leo Liu <sdl.web@gmail.com>
9687
5ac2eb34
SM
9688 * progmodes/octave.el (inferior-octave-completion-table):
9689 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9690 completion due to bug#11906.
9691 (octave-beginning-of-defun): Re-write to be more general.
9692
d5837773
GM
96932013-05-10 Glenn Morris <rgm@gnu.org>
9694
9695 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9696
027c0f75
SM
96972013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * comint.el (comint-redirect-send-command-to-process): Use :around
9700 rather than :override for comint-redirect-filter.
9701 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9702 Call it instead of comint-redirect-original-filter-function (which
9703 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9704
4465bfb4
JD
97052013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9706
9707 * frame.el (display-monitor-attributes-list): Add NS case.
9708 (ns-display-monitor-attributes-list): Declare.
9709
2d809ffa 97102013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9711
9712 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9713
e54eeb9b
GM
97142013-05-09 Glenn Morris <rgm@gnu.org>
9715
56cd351d
GM
9716 * international/fontset.el (vertical-centering-font-regexp):
9717 Set standard-value.
9718
d84b6108
GM
9719 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9720
a931698a
GM
9721 * bookmark.el (bookmark-search-delay):
9722 * cus-start.el (vertical-centering-font-regexp):
9723 * ps-mule.el (ps-mule-font-info-database-default):
9724 * ps-print.el (ps-default-fg, ps-default-bg):
9725 * type-break.el (type-break-good-break-interval):
9726 * whitespace.el (whitespace-indentation-regexp)
9727 (whitespace-space-after-tab-regexp):
9728 * emacs-lisp/testcover.el (testcover-1value-functions)
9729 (testcover-noreturn-functions, testcover-progn-functions)
9730 (testcover-prog1-functions):
9731 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9732 * eshell/em-glob.el (eshell-glob-translate-alist):
9733 * play/tetris.el (tetris-tty-colors):
9734 * progmodes/cpp.el (cpp-face-default-list):
9735 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9736 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9737 (idlwave-help-browser-generic-args):
9738 * progmodes/make-mode.el (makefile-special-targets-list):
9739 * progmodes/python.el (python-shell-virtualenv-path):
9740 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9741 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9742 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9743 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9744 * textmodes/reftex-vars.el (reftex-format-label-function):
9745 * textmodes/remember.el (remember-diary-file): Fix custom types.
9746
e54eeb9b
GM
9747 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9748 Add :version.
9749
455851dd
LL
97502013-05-09 Leo Liu <sdl.web@gmail.com>
9751
9752 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9753 Restore file completion. (Bug#14300)
455851dd
LL
9754 (inferior-octave-startup): Fix incorrect highlighting for the
9755 first prompt.
9756
a9e4425b
SM
97572013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 * progmodes/ruby-mode.el: First cut at SMIE support.
9760 (ruby-use-smie): New var.
9761 (ruby-smie-grammar): New constant.
9762 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9763 (ruby-smie--forward-token, ruby-smie--backward-token)
9764 (ruby-smie-rules): New functions.
9765 (ruby-mode-variables): Setup SMIE if applicable.
9766
060ca408
EZ
97672013-05-08 Eli Zaretskii <eliz@gnu.org>
9768
9769 * simple.el (line-move-visual): Signal beginning/end of buffer
9770 only if vertical-motion moved less than it was requested. Avoids
9771 silly incorrect error messages when there are display strings with
9772 multiple newlines at EOL.
9773
1d5963cc
SM
97742013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9777 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9778 (prolog-char-quote-workaround):
9779 * progmodes/cperl-mode.el (cperl-under-as-char):
9780 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9781 Mark as obsolete.
9782 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9783 their declaration.
9784 (vhdl-mode-syntax-table-init): Remove.
9785
c9990474
SM
9786 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9787 last change.
1d5963cc
SM
9788
9789 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9790 syntax for "_".
9791 (ld-script-font-lock-keywords):
9792 Change regexps to use things like \_< and \_>.
9793
9794 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9795 Change all regexps to use things like \_< and \_>.
9796
9797 * progmodes/autoconf.el (autoconf-definition-regexp)
9798 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9799 Handle a _ with symbol syntax.
9800 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9801
c9990474
SM
9802 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9803 Consolidate declaration.
1d5963cc
SM
9804 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9805 the declaration.
9806 (ada-create-syntax-table): Remove.
9807 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9808 already has the right syntax nowadays.
9809 (ada-goto-next-word): Don't change the syntax of "_".
9810
9811 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9812 with-wrapper-hook.
9813
72d3cfca
SS
98142013-05-08 Sam Steingold <sds@gnu.org>
9815
9816 * thingatpt.el (thing-at-point): Accept optional second argument
9817 NO-PROPERTIES to strip the text properties from the return value.
9818 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9819 to `thing-at-point' instead of stripping the properties ourselves.
9820 Also, when `thing-at-point' fails to find a url, prepend "http://"
9821 to the filename at point on the assumption that the user is
9822 pointing at something like gnu.org/gnu.
9823
5cb15713
JB
98242013-05-08 Juanma Barranquero <lekktu@gmail.com>
9825
9826 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9827 * faces.el (crm-separator):
9828 Silence byte-compiler.
9829
9830 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9831 (tool-bar-map): Remove unneeded defvars.
9832
ea78b95b
LL
98332013-05-08 Leo Liu <sdl.web@gmail.com>
9834
9835 Re-work a fix for bug#10994 based on Le Wang's patch.
9836 * ido.el (ido-remove-consecutive-dups): New helper.
9837 (ido-completing-read): Use it.
9838 (ido-chop): Revert fix for bug#10994.
9839
dc7466df
AS
98402013-05-08 Adam Spiers <emacs@adamspiers.org>
9841
9842 * cus-edit.el (custom-save-variables):
9843 Pretty-print long values. (Bug#14187)
9844
9ecf672a
GM
98452013-05-08 Glenn Morris <rgm@gnu.org>
9846
9847 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9848 (m4-mode-syntax-table): Init in the defvar.
9849 (m4-mode-abbrev-table): Let define-derived-mode define it.
9850
3f555be8
TT
98512013-05-08 Tom Tromey <tromey@redhat.com>
9852
9853 * progmodes/m4-mode.el (m4-mode-syntax-table):
9854 Do not treat "_" as word constituent. (Bug#14167)
9855
7cc8ae06
GM
98562013-05-07 Glenn Morris <rgm@gnu.org>
9857
4f58bc06
GM
9858 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9859 Remove explicit eshell-isearch-cancel-map.
9860
7cc8ae06
GM
9861 * progmodes/f90.el (f90-smart-end-names): New option.
9862 (f90-smart-end): Doc fix.
9863 (f90-end-block-optional-name): New constant.
9864 (f90-block-match): Respect f90-smart-end-names.
9865
ceb57e59
SM
98662013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9869 about implicit semi-colons (bug#14218).
9870
4e3f9230
YM
98712013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9872
9873 * frame.el (display-monitor-attributes-list)
9874 (frame-monitor-attributes): New functions.
9875
203a5572
LL
98762013-05-06 Leo Liu <sdl.web@gmail.com>
9877
9878 * progmodes/octave.el (octave-syntax-propertize-function): Change
9879 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9880 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 9881 (octave-completion-at-point): Rename from
203a5572
LL
9882 octave-completion-at-point-function.
9883 (inferior-octave-directory-tracker): Robustify.
9884 (octave-text-functions): Remove and fix its uses. No such things
9885 any more.
9886
ee6cff99
SM
98872013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9888
9889 * emacs-lisp/trace.el (trace--display-buffer): New function.
9890 (trace-make-advice): Use it.
9891
32985194
JL
98922013-05-06 Juri Linkov <juri@jurta.org>
9893
9894 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9895 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9896 Doc fix.
9897 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9898 in the help string. (Bug#12985)
9899
a1c700de
KD
99002013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9901
9902 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9903
c67c0839
SM
99042013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9905
323885fd
SM
9906 * progmodes/perl-mode.el: Add support for here documents.
9907 (perl-syntax-propertize-function): Match here-doc markers.
9908 (perl-syntax-propertize-special-constructs): Find their end.
9909 (perl-imenu-generic-expression): Use [:alnum:].
9910
c67c0839
SM
9911 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9912 (advice--add-function): Refresh the advice if already present
9913 (bug#14317).
9914
d491e7a8
IA
99152013-05-06 Ivan Andrus <darthandrus@gmail.com>
9916
9917 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9918
ddf9925e
GM
99192013-05-06 Glenn Morris <rgm@gnu.org>
9920
7cc3af27
GM
9921 * w32-fns.el (w32-charset-info-alist): Declare.
9922
16e343d6
GM
9923 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9924 of its defcustom properties.
9925 (eshell-cmpl-initialize): No need to load pcomplete.
9926
7d889a47
GM
9927 * generic-x.el: No need to require comint when compiling.
9928
ddf9925e
GM
9929 * net/eudc-export.el: Make it loadable without bbdb.
9930 (top-level): Use require rather than load-library.
9931 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9932 (eudc-batch-export-records-to-bbdb)
9933 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9934 Require bbdb.
9935
1e2c18df
SM
99362013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9937
9938 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9939 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9940 some tweaks, instead.
9941
02502a5f
LL
99422013-05-05 Leo Liu <sdl.web@gmail.com>
9943
9944 * progmodes/octave.el (octave-font-lock-keywords)
9945 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9946 (inferior-octave-send-list-and-digest): Improve error message.
9947 (octave-mode, inferior-octave-mode): Use setq-local.
9948 (octave-help): Set info-lookup-mode.
9949
0dc04f42
RS
99502013-05-05 Richard Stallman <rms@gnu.org>
9951
6c54491c
RS
9952 * vc/compare-w.el (compare-windows-whitespace):
9953 Treat no-break space as whitespace.
9954
0dc04f42
RS
9955 * mail/rmailsum.el (rmail-summary-rmail-update):
9956 Detect empty summary and don't change selected message.
9957 (rmail-summary-goto-msg): Likewise.
9958
df8f35df
RS
9959 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9960 Doc fixes, rename args.
9961
5356e1a3
AM
99622013-05-05 Alan Mackenzie <acm@muc.de>
9963
9964 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9965
d44014cb
JL
99662013-05-05 Juri Linkov <juri@jurta.org>
9967
9968 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9969 to not add the length of the summary segment to the return value.
9970 (Bug#14125)
9971
c129b51f
LL
99722013-05-05 Leo Liu <sdl.web@gmail.com>
9973
9974 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9975 (inferior-octave-output-filter): Remove.
9976 (octave-send-region, inferior-octave-startup): Fix callers.
9977 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9978 (octave-binary-file-extensions): New user variable.
9979 (octave-find-definition): Confirm if opening binary files.
9980 (octave-help-file): Use octave-find-definition to get the binary
9981 confirmation.
9982 (octave-help): Adjust for octave-help-file change.
9983
aa7dab97
SM
99842013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9985
9986 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9987 Merge the two entries that handle function definitions.
9988 (pascal--syntax-propertize): New const.
9989 (pascal-mode): Use it. Use setq-local.
9990
fd3a9a6b
GM
99912013-05-04 Glenn Morris <rgm@gnu.org>
9992
9993 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9994 (diary-from-outlook): Respect diary-from-outlook-function.
9995
30c7e542
SM
99962013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9997
9998 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9999 Move the declaration from C.
10000 (read-minibuffer, eval-minibuffer): Move from C.
10001 (completion-setup-function): Avoid minibuffer-completion-contents.
10002
b54f978b
LL
100032013-05-03 Leo Liu <sdl.web@gmail.com>
10004
10005 * progmodes/octave.el (octave-font-lock-keywords): Do not
10006 dehighlight 'end' in comments or strings.
30c7e542
SM
10007 (octave-completing-read, octave-goto-function-definition):
10008 New helpers.
d4d0f9b3
LL
10009 (octave-help-buffer): New user variable.
10010 (octave-help-file, octave-help-function): New button types.
10011 (octave-help): New command and bind it to C-h ;.
10012 (octave-find-definition): New command and bind it to M-.
d74a1581 10013 (user-error): Alias to error if not defined.
b54f978b 10014
27135018
LL
100152013-05-02 Leo Liu <sdl.web@gmail.com>
10016
10017 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10018 for \. (bug#14332)
10019 (octave-font-lock-keywords): Include [ and {.
10020
0d634d3a
LL
100212013-05-02 Leo Liu <sdl.web@gmail.com>
10022
10023 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10024 (inferior-octave): Remove calling comint-mode and return the buffer.
10025 (inferior-octave-startup): Cosmetic changes.
10026
b4c8295e
LL
100272013-05-02 Leo Liu <sdl.web@gmail.com>
10028
30c7e542
SM
10029 * progmodes/octave.el (octave-syntax-propertize-function):
10030 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10031
f12ad6ec
GM
100322013-05-02 Glenn Morris <rgm@gnu.org>
10033
10034 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10035 * desktop.el (vc-dir-mode): Just autoload it here.
10036
30cac1e0
AM
100372013-05-02 Alan Mackenzie <acm@muc.de>
10038
10039 Eliminate variable c-standard-font-lock-fontify-region-function.
10040 * progmodes/cc-mode.el
10041 (c-standard-font-lock-fontify-region-function): Remove.
10042 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10043
d8ef28b1
LL
100442013-05-01 Leo Liu <sdl.web@gmail.com>
10045
2640d52e 10046 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10047 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10048 variables were removed from Octave in 2007.
d8ef28b1
LL
10049 (inferior-octave-startup): Fix uses.
10050 (comint-line-beginning-position): Remove compatibility code for
10051 emacs 21.
10052
ac63ec89
JL
100532013-05-01 Juri Linkov <juri@jurta.org>
10054
10055 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10056
9e9be37c
JL
100572013-05-01 Juri Linkov <juri@jurta.org>
10058
10059 * comint.el (comint-previous-matching-input): Don't print message
10060 "History item: %d" when `isearch-mode' is active.
10061 (comint-history-isearch-message): Print message "History item: %d"
10062 when `comint-input-ring-index' is not empty and this function is
10063 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10064
9b92c13b
LL
100652013-05-01 Leo Liu <sdl.web@gmail.com>
10066
10067 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10068 definitions. Use completion-at-point to insert keywords.
10069 (octave-abbrev-start): Remove.
10070 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10071
b12d33d7
LL
100722013-04-30 Leo Liu <sdl.web@gmail.com>
10073
10074 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10075 change.
10076
3d1c39fa
AM
100772013-04-30 Alan Mackenzie <acm@muc.de>
10078
10079 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10080 * progmodes/cc-engine.el (c-back-over-member-initializers):
10081 new function.
3d1c39fa
AM
10082 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10083 (most) member init lists.
10084
5147fc17
RS
100852013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10086
10087 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10088 variable.
10089
5b78d7fc
LL
100902013-04-30 Leo Liu <sdl.web@gmail.com>
10091
10092 * progmodes/octave.el (octave-variables): Remove. No builtin
10093 variables any more. All converted to functions.
10094 (octave-font-lock-keywords, octave-completion-at-point-function):
10095 Fix uses.
10096 (octave-font-lock-texinfo-comment): New user variable.
10097 (octave-texinfo-font-lock-keywords): New variable for texinfo
10098 comment block.
10099 (octave-function-comment-block): New face.
10100 (octave-font-lock-texinfo-comment): New function.
10101 (octave-mode): Font lock texinfo comment block.
10102
38d8527b
LL
101032013-04-29 Leo Liu <sdl.web@gmail.com>
10104
10105 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10106 indexing expression.
10107 (octave-continuation-string): Do not use \.
10108 (inferior-octave-complete-impossible): Remove.
10109 (inferior-octave-completion-table)
10110 (inferior-octave-completion-at-point): Remove its uses.
10111 (inferior-octave-startup): completion_matches was introduced to
10112 Octave in 1996 so safe to assume it.
10113 (octave-function-file-comment): Improve to follow how Octave does it.
10114 (octave-update-function-file-comment): Tweak.
10115
2ec12cb0
LL
101162013-04-29 Leo Liu <sdl.web@gmail.com>
10117
10118 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10119 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10120 (octave-function-file-comment): Fix typo.
10121 (octave-sync-function-file-names): Use read-char-choice.
10122
6eaed048
JB
101232013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10124
10125 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10126 to t for the less important warnings.
10127
3ffa2d4f
DH
101282013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10129
10130 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10131
685c9501
GM
101322013-04-27 Glenn Morris <rgm@gnu.org>
10133
10134 * vc/log-view.el (log-view-current-entry):
10135 Treat "---" separator lines as part of the following rev. (Bug#14169)
10136
0208ede7
JL
101372013-04-27 Juri Linkov <juri@jurta.org>
10138
10139 * subr.el (read-number): Doc fix about using it by interactive
10140 code letter `n'. (Bug#14254)
10141
5db9dace
JL
101422013-04-27 Juri Linkov <juri@jurta.org>
10143
10144 * desktop.el (desktop-auto-save-timeout): New option.
10145 (desktop-file-checksum): New variable.
10146 (desktop-save): Add optional arg `auto-save' and don't auto-save
10147 if nothing changed.
10148 (desktop-auto-save-timer): New variable.
10149 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10150 (after-init-hook): Call `desktop-auto-save-set-timer'.
10151 Suggested by Reuben Thomas <rrt@sc3d.org> in
10152 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10153
b7260dd4
LL
101542013-04-27 Leo Liu <sdl.web@gmail.com>
10155
10156 * progmodes/octave.el (octave-function-file-p)
10157 (octave-skip-comment-forward, octave-function-file-comment)
10158 (octave-update-function-file-comment): New functions.
10159 (octave-mode-map): Bind C-c ; to
10160 octave-update-function-file-comment.
10161 (octave-mode-menu): Add octave-update-function-file-comment.
10162 (octave-mode, inferior-octave-mode): Fix doc-string.
10163 (octave-insert-defun): Conform to Octave's coding convention.
10164 (Bug#14285)
10165
10166 * files.el (basic-save-buffer): Don't let errors in
10167 before-save-hook prevent saving buffer.
10168
c46da669
RW
101692013-04-20 Roland Winkler <winkler@gnu.org>
10170
10171 * faces.el (read-face-name): Use completing-read if arg multiple
10172 is nil.
10173
a81ee1eb
IL
101742013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10175
10176 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10177 displayed, move point to after the totals line.
10178 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10179 for the details.
10180
4fac34ce
SM
101812013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10182
10183 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10184 Add current dir to the load-path.
10185 (package-generate-autoloads): Don't rely on
10186 autoload-ensure-default-file.
10187
f6bfc063
RT
101882013-04-26 Reuben Thomas <rrt@sc3d.org>
10189
d40ab5cf
BG
10190 * textmodes/remember.el (remember-store-in-files): Document that
10191 the file name format is passed to `format-time-string'.
f6bfc063 10192
e55d3b04
LL
101932013-04-26 Leo Liu <sdl.web@gmail.com>
10194
10195 * progmodes/octave.el (octave-sync-function-file-names): New function.
10196 (octave-mode): Use it in before-save-hook.
10197
e53052d3
SM
101982013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10199
140ef50c
SM
10200 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10201 (bug#14274).
10202
e53052d3
SM
10203 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10204 \n and comment, even if it's not an implicit ; (bug#14218).
10205
af80458d 102062013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10207
10208 * subr.el (read-number): Once more use `read' rather than
10209 `string-to-number', to trap non-numeric input. (Bug#14254)
10210
af80458d 102112013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10212
10213 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10214 Use `syntax-multiline' text property consistently instead of
8a621d53 10215 `font-lock-multiline'. (Bug#14237)
70203c2e 10216
e6ea1f6c
GM
102172013-04-26 Glenn Morris <rgm@gnu.org>
10218
10219 * emacs-lisp/shadow.el (list-load-path-shadows):
10220 No longer necessary to check for duplicate simple.el, since
10221 2012-07-07 change to init_lread to not include installation lisp
10222 directories in load-path when running uninstalled. (Bug#14270)
10223
070ccca4
LL
102242013-04-26 Leo Liu <sdl.web@gmail.com>
10225
10226 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10227 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10228 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10229 octave-in-string-or-comment-p.
10230 (octave-in-comment-p, octave-in-string-p)
10231 (octave-in-string-or-comment-p): Replace defsubst with defun.
10232
9d1c5fb6
PE
102332013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10234
10235 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10236
c034abda
BG
102372013-04-25 Bastien Guerry <bzg@gnu.org>
10238
10239 * textmodes/remember.el (remember-data-directory)
10240 (remember-directory-file-name-format): Fix custom types.
10241
584ea277
LL
102422013-04-25 Leo Liu <sdl.web@gmail.com>
10243
e53052d3
SM
10244 * progmodes/octave.el (octave-completion-at-point-function):
10245 Make use of inferior octave process.
584ea277
LL
10246 (octave-initialize-completions): Remove.
10247 (inferior-octave-completion-table): New function.
10248 (inferior-octave-completion-at-point): Use it.
10249 (octave-completion-alist): Remove.
10250
1693b06a
SM
102512013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10252
10253 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10254 (opascal-mode-syntax-table): New var.
10255 (opascal-literal-kind, opascal-is-literal-end)
10256 (opascal-literal-token-at): Rewrite.
10257 (opascal--literal-start-re, opascal-font-lock-keywords)
10258 (opascal--syntax-propertize): New constants.
10259 (opascal-font-lock-defaults): Adjust.
10260 (opascal-mode): Use them. Set comment-<foo> variables as well.
10261 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10262 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10263 (delphi-other-face, opascal-other-face): Remove face variables.
10264 (opascal-save-state): Remove macro.
10265 (opascal-fontifying-progress-step): Remove constant.
10266 (opascal--ignore-changes): Remove var.
10267 (opascal-set-token-property, opascal-parse-next-literal)
10268 (opascal-is-stable-literal, opascal-complete-literal)
10269 (opascal-is-literal-start, opascal-face-of)
10270 (opascal-parse-region, opascal-parse-region-until-stable)
10271 (opascal-fontify-region, opascal-after-change)
10272 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10273 (opascal-debug-parse-region, opascal-debug-parse-window)
10274 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10275 (opascal-debug-fontify-buffer): Remove.
10276 (opascal-debug-mode-map): Adjust accordingly.
10277
be64c05d
LL
102782013-04-25 Leo Liu <sdl.web@gmail.com>
10279
10280 Merge octave-mod.el and octave-inf.el into octave.el with some
10281 cleanups.
10282 * progmodes/octave.el: New file renamed from octave-mod.el.
10283 * progmodes/octave-inf.el: Merged into octave.el.
10284 * progmodes/octave-mod.el: Renamed to octave.el.
10285
d79d37bd
TH
102862013-04-25 Tassilo Horn <tsdh@gnu.org>
10287
10288 * textmodes/reftex-vars.el
10289 (reftex-label-ignored-macros-and-environments): New defcustom.
10290
10291 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10292
ced3fc5d
SM
102932013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10294
10295 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10296 (smie-indent-keyword): Improve the check to ensure that the next
10297 comment is really on the same line.
10298 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10299
10300 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10301 semi-colons if the line is not otherwise empty (bug#14218).
10302
1c141dad
GM
103032013-04-25 Glenn Morris <rgm@gnu.org>
10304
10305 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10306
5058062a
SM
103072013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * progmodes/opascal.el (opascal-set-token-property): Rename from
10310 opascal-set-text-properties and only set `token' (bug#14134).
10311 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10312 (opascal-literal-text-properties): Remove.
10313 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10314 Adjust callers.
10315
5db9dace 103162013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10317
10318 * textmodes/remember.el (remember-handler-functions): Add an
10319 option for a new handler `remember-store-in-files'.
10320 (remember-data-directory, remember-directory-file-name-format):
10321 New options.
10322 (remember-store-in-files): New function to store remember notes
10323 as separate files within a directory.
10324
4391916c
MH
103252013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10326
10327 * progmodes/compile.el (compilation-next-error-function):
10328 Pass "formats" to compilation-find-file (bug#11777).
10329
bb7cdf58
GM
103302013-04-24 Glenn Morris <rgm@gnu.org>
10331
3b8fe752 10332 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10333 * vc/vc-hg.el (vc-hg-print-log):
10334 * vc/vc-svn.el (vc-svn-print-log):
10335 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10336
bb7cdf58
GM
10337 * vc/vc-bzr.el (vc-bzr-print-log):
10338 * vc/vc-cvs.el (vc-cvs-print-log):
10339 * vc/vc-git.el (vc-git-print-log):
10340 * vc/vc-hg.el (vc-hg-print-log):
10341 * vc/vc-mtn.el (vc-mtn-print-log):
10342 * vc/vc-rcs.el (vc-rcs-print-log):
10343 * vc/vc-sccs.el (vc-sccs-print-log):
10344 * vc/vc-svn.el (vc-svn-print-log):
10345 * vc/vc.el (vc-print-log-internal): Doc fixes.
10346
b46a056e
GM
103472013-04-23 Glenn Morris <rgm@gnu.org>
10348
10349 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10350 Remove venerable code attempting to avoid substitute-command-keys.
10351
0aecf718
TH
103522013-04-23 Tassilo Horn <tsdh@gnu.org>
10353
4391916c
MH
10354 * textmodes/reftex-vars.el (reftex-label-regexps):
10355 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10356
117f94cf
SM
103572013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10358
4391916c 10359 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10360 Use lexical-binding.
10361 (jit-lock-force-redisplay): Use markers, check buffer's continued
10362 existence and beware narrowed buffers.
10363 (jit-lock-fontify-now): Adjust call accordingly.
10364
1d829c64
SM
103652013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10368 to avoid misleading the user.
10369
72d548a9
LL
103702013-04-22 Leo Liu <sdl.web@gmail.com>
10371
10372 * info-look.el: Prefer latex2e.info. (Bug#14240)
10373
d0853629
MA
103742013-04-22 Michael Albinus <michael.albinus@gmx.de>
10375
10376 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10377
10378 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10379 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10380 (tramp-set-completion-function, tramp-parse-putty):
10381 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10382 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10383 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10384 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10385 (tramp-call-local-coding-command): Use `tramp-call-process'
10386 instead of `tramp-compat-call-process'.
10387
10388 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10389 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10390 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10391 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10392 (tramp-maybe-send-script): Check for Perl binary.
10393 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10394
38cc0210
DU
103952013-04-22 Daiki Ueno <ueno@gnu.org>
10396
10397 * epg.el (epg-context-pinentry-mode): New function.
10398 (epg-context-set-pinentry-mode): New function.
10399 (epg--start): Pass --pinentry-mode option to gpg command.
10400
cc641ee1
XF
104012013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10402
02d844b5 10403 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10404 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10405 `completion-at-point'. (Bug#13774)
5d4e5c31 10406
cc641ee1
XF
10407 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10408 default key binding for `describe-distribution' has been moved to
10409 `C-h C-o'. (Bug#13970)
10410
1b42ee43
GM
104112013-04-21 Glenn Morris <rgm@gnu.org>
10412
10413 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10414 Add doc strings.
10415 (vc-print-log): Clarify interactive prompt.
10416
a6d63d97
GM
104172013-04-20 Glenn Morris <rgm@gnu.org>
10418
10419 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10420 No longer include timestamp etc information.
10421
d7f5c16f
RW
104222013-04-20 Roland Winkler <winkler@gnu.org>
10423
10424 * faces.el (read-face-name): Bug fix, return just one face if arg
10425 multiple is nil. (Bug#14209)
10426
bcd7a0a4
SM
104272013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10428
10429 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10430 (remove-function): Autoload.
10431
10432 * comint.el (comint-redirect-original-filter-function): Remove.
10433 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10434 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10435 (vc-cvs-annotate-command):
bcd7a0a4
SM
10436 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10437 * progmodes/prolog.el (prolog-consult-compile):
10438 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10439 Use add/remove-function instead.
10440 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10441 (gud-tooltip-process-output, gud-tooltip-tips):
10442 Use add/remove-function instead.
10443 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10444 (scheme-interaction-mode, exit-scheme-interaction-mode):
10445 Use add/remove-function instead.
10446
10447 * vc/vc-dispatcher.el: Use lexical-binding.
10448 (vc--process-sentinel): Rename from vc-process-sentinel.
10449 Change last arg to be the code to run. Don't use vc-previous-sentinel
10450 and vc-sentinel-commands any more.
10451 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10452 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10453
e36b2d20 104542013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10455
bcd7a0a4 10456 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10457 Handle function names with a single character. (Bug#14111)
4d3268ba 10458
781b4af6 104592013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10460
10461 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10462 for subroutines defined in an eval (bug#14182).
10463
7d688336
TV
104642013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10465
10466 * bookmark.el (bookmark-completing-read): Improve handling of empty
10467 string (bug#14176).
10468
31dcede0
SM
104692013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10470
10471 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10472
adc31213
FEG
104732013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10474
10475 New faster Imenu implementation (bug#14058).
10476 * progmodes/python.el:
10477 (python-imenu-prev-index-position):
10478 (python-imenu-format-item-label-function)
10479 (python-imenu-format-parent-item-label-function)
10480 (python-imenu-format-parent-item-jump-label-function):
10481 New vars.
10482 (python-imenu-format-item-label)
10483 (python-imenu-format-parent-item-label)
10484 (python-imenu-format-parent-item-jump-label)
10485 (python-imenu--put-parent, python-imenu--build-tree)
10486 (python-imenu-create-index, python-imenu-create-flat-index)
10487 (python-util-popn): New functions.
10488 (python-mode): Set imenu-create-index-function to
10489 python-imenu-create-index.
10490
cdca8255
SM
104912013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * winner.el (winner-active-region): Use region-active-p, activate-mark
10494 and deactivate-mark (bug#14225).
10495
10496 * simple.el (deactivate-mark): Don't inline it.
10497
beb42340
MA
104982013-04-18 Michael Albinus <michael.albinus@gmx.de>
10499
10500 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10501
fc7f4d7e
TH
105022013-04-18 Tassilo Horn <tsdh@gnu.org>
10503
10504 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10505 file extensions from the archive-mode entry in order to prefer
10506 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10507
29f47822
LL
105082013-04-18 Leo Liu <sdl.web@gmail.com>
10509
10510 * bindings.el (help-event-list): Add ?\?.
10511
d36ed1c8
SM
105122013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * subr.el (with-wrapper-hook): Declare obsolete.
10515 * simple.el (filter-buffer-substring-function): New hook.
10516 (filter-buffer-substring): Use it.
10517 (filter-buffer-substring-functions): Mark obsolete.
10518 * minibuffer.el (completion-in-region-function): New hook.
10519 (completion-in-region): Use it.
10520 (completion-in-region-functions): Mark obsolete.
10521 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10522 * abbrev.el (abbrev-expand-function): New hook.
10523 (expand-abbrev): Use it.
10524 (abbrev-expand-functions): Mark obsolete.
10525 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10526 and :filter-return.
10527
04754d36
FEG
105282013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10529
10530 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10531 and do not care about match data.
10532
dd8791e9
SM
105332013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10534
10535 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10536 completion tables when completing error conditions and
10537 `declare' arguments.
10538 (lisp-complete-symbol, field-complete): Mark as obsolete.
10539 (check-parens): Unmatched parens are user errors.
10540 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10541
ffe54a13
AM
105422013-04-17 Michal Nazarewicz <mina86@mina86.com>
10543
dd8791e9
SM
10544 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10545 command changed buffer (ie. `flyspell-pre-buffer' is not current
10546 buffer), which prevents making decisions based on invalid value of
10547 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10548 cause an error when `flyspell-pre-point' was nil after switching
10549 buffers.
10550 (flyspell-post-command-hook): No longer needs to change buffers when
10551 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10552
ec7e39f2
AM
105532013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10554
10555 * textmodes/ispell.el (ispell-add-per-file-word-list):
10556 Fix `flyspell-correct-word-before-point' error when accepting
10557 words and `coment-padding' is an integer by using
10558 `comment-normalize-vars' (Bug #14214).
10559
083850a6
FEG
105602013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10561
10562 New defun movement commands.
10563 * progmodes/python.el (python-nav--syntactically)
10564 (python-nav--forward-defun, python-nav-backward-defun)
10565 (python-nav-forward-defun): New functions.
10566
619ed6e1
FEG
105672013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10568
10569 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10570 (python-syntax-context): Use named compiler-macro for backwards
10571 compatibility with Emacs 24.x.
10572
7a1beb6c
LL
105732013-04-17 Leo Liu <sdl.web@gmail.com>
10574
10575 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10576 octave-hide-process-buffer.
10577
2d3fa3e5
SM
105782013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10581 (bug#14216).
10582
7ce5be54
JPG
105832013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10584
10585 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10586 Fix adjustment of offset when receiving incomplete responses from GDB
10587 (bug#14129).
10588
351edece
SM
105892013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10590
10591 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10592 python-mode-abbrev-table.
10593 (python-skeleton-define): Adjust accordingly.
10594 (python-mode-abbrev-table): New table that inherits from it so that
10595 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10596
10597 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10598 (abbrev-symbol): Use it.
10599 (abbrev--before-point): Use it since we already handle inheritance.
10600
613f9481
LL
106012013-04-16 Leo Liu <sdl.web@gmail.com>
10602
10603 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10604 binding to info-lookup-symbol.
10605
51646b62
JB
106062013-04-16 Juanma Barranquero <lekktu@gmail.com>
10607
10608 * minibuffer.el (completion--twq-all):
10609 * term/ns-win.el (ns-initialize-window-system):
10610 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10611
efb3f01d
SM
106122013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10613
36c0a301
SM
10614 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10615 global bindings.
10616
efb3f01d
SM
10617 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10618
fb549d64
DG
106192013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10620
10621 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10622 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10623 to nil.
10624 (ruby-end-of-defun): Remove the unused arg, change the docstring
10625 to reflect that this function is only used as the value of
10626 `end-of-defun-function'.
10627 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10628 to reflect an earlier change that beginning/end-of-defun functions
10629 jump between methods in a class definition, as well as top-level
10630 functions.
10631
21e8fe2f
SM
106322013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 * minibuffer.el (minibuffer-complete): Don't just scroll
10635 a *Completions* that's been iconified.
10636 (minibuffer-force-complete): Make sure repetitions do cycle when going
10637 through completion-in-region -> minibuffer-complete.
10638
20e527d0
AM
106392013-04-15 Alan Mackenzie <acm@muc.de>
10640
10641 Correct the placement of c-cpp-delimiters when there're #s not at
10642 col 0.
10643
10644 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10645 place a submatch around the #.
21e8fe2f
SM
10646 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10647 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10648 on the #, not BOL.
10649
dabefae5
SM
106502013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10653 (advice--member-p): New arg `name'.
10654 (advice--add-function, advice-member-p): Use it (bug#14202).
10655
85c9ab64
AM
106562013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10657
10658 Reformulate java imenu-generic-expression.
10659 The old expression contained ill formed regexps.
10660
10661 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10662 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10663 (cc-imenu-java-method-arg-regexp): New defconsts.
10664 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10665 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10666 handling of spaces in the regexp.
10667
0f821d99
AM
106682013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10669
10670 * textmodes/ispell.el (ispell-command-loop): Remove
10671 flyspell highlight of a word when ispell accepts it (bug #14178).
10672
eb922adf
MA
106732013-04-15 Michael Albinus <michael.albinus@gmx.de>
10674
10675 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10676 uses code from the previous `ange-ftp-run-real-handler'.
10677 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10678 only in case that function exist. This is needed for proper
10679 unloading of Tramp.
10680
4d9a0979
TH
106812013-04-15 Tassilo Horn <tsdh@gnu.org>
10682
10683 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10684
10685 * textmodes/reftex.el (reftex-compile-variables): Use it.
10686
a829b0dc
SM
106872013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10688
91e8293c
SM
10689 * files.el (normal-mode): Only use default major-mode if no other mode
10690 was specified.
10691
830aed4d
SM
10692 * emacs-lisp/trace.el (trace-values): New function.
10693
a829b0dc
SM
10694 * files.el: Allow : in local variables (bug#14089).
10695 (hack-local-variable-regexp): New var.
10696 (hack-local-variables-prop-line, hack-local-variables): Use it.
10697
7ae9f0fb
RW
106982013-04-13 Roland Winkler <winkler@gnu.org>
10699
10700 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10701 data before it gets modified by bibtex-beginning-of-entry.
10702
6646e848
RW
107032013-04-13 Roland Winkler <winkler@gnu.org>
10704
10705 * textmodes/bibtex.el (bibtex-url): Doc fix.
10706
107072013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10708
10709 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10710 does not visit a BibTeX file, exclude it from the list of buffers
10711 returned by bibtex-initialize.
10712
0aa3616e
SB
107132013-04-13 Stephen Berman <stephen.berman@gmx.net>
10714
10715 * window.el (split-window): Remove interactive form, since as a
10716 command this function is a special case of split-window-below.
10717 Correct doc string.
10718
011cddd6
RW
107192013-04-12 Roland Winkler <winkler@gnu.org>
10720
10721 * faces.el (read-face-name): Do not override value of arg default.
10722 Allow single faces and strings as default values. Remove those
10723 elements from return value that are not faces.
10724 (describe-face): Simplify.
10725 (face-at-point): New optional args thing and multiple so that this
10726 function can provide the same functionality previously provided by
10727 read-face-name.
10728 (make-face-bold, make-face-unbold, make-face-italic)
10729 (make-face-unitalic, make-face-bold-italic, invert-face)
10730 (modify-face, read-face-and-attribute): Use face-at-point.
10731
10732 * cus-edit.el (customize-face, customize-face-other-window)
10733 * cus-theme.el (custom-theme-add-face)
10734 * face-remap.el (buffer-face-set)
10735 * facemenu.el (facemenu-set-face): Use face-at-point.
10736
f24e0036
MA
107372013-04-12 Michael Albinus <michael.albinus@gmx.de>
10738
10739 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10740
da3cda2d
TH
107412013-04-10 Tassilo Horn <tsdh@gnu.org>
10742
10743 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10744 off leading { and trailing } from field values.
10745
15e54145
SM
107462013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10747
78ce603d
SM
10748 * emacs-lisp/timer.el (timer--check): New function.
10749 (timer--time, timer-set-function, timer-event-handler): Use it.
10750 (timer-set-idle-time): Simplify.
10751 (timer--activate): CSE.
10752 (timer-event-handler): Give more info in error message.
10753 (internal-timer-start-idle): New function, moved from C.
10754
15e54145
SM
10755 * mpc.el (mpc-proc): Add `restart' argument.
10756 (mpc-proc-cmd): Use it.
10757 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10758 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10759 less often.
10760
7144c627
MY
107612013-04-10 Masatake YAMATO <yamato@redhat.com>
10762
10763 * progmodes/sh-script.el: Implement `sh-mode' own
10764 `add-log-current-defun-function' (bug#14112).
10765 (sh-current-defun-name): New function.
10766 (sh-mode): Use the function.
10767
b39792eb
BG
107682013-04-09 Bastien Guerry <bzg@gnu.org>
10769
10770 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10771
8acdeb71
SM
107722013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10773
6fcdab68
SM
10774 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10775
8acdeb71
SM
10776 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10777 timer (bug#14156).
10778
e3e7b504
NF
107792013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10780
10781 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10782 declaration.
10783
201bb296
LL
107842013-04-07 Leo Liu <sdl.web@gmail.com>
10785
10786 * pcmpl-x.el: New file.
10787
ebb19708
DA
107882013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10789
10790 Do not set x-display-name until X connection is established.
10791 This is needed to prevent from weird situation described at
10792 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10793 * frame.el (make-frame): Set x-display-name after call to
10794 window system initialization function, not before.
10795 * term/x-win.el (x-initialize-window-system): Add optional
10796 display argument and use it.
10797 * term/w32-win.el (w32-initialize-window-system):
10798 * term/ns-win.el (ns-initialize-window-system):
10799 * term/pc-win.el (msdos-initialize-window-system):
10800 Add compatible optional display argument.
10801
33bb237a
EZ
108022013-04-06 Eli Zaretskii <eliz@gnu.org>
10803
10804 * files.el (normal-backup-enable-predicate): On MS-Windows and
10805 MS-DOS compare truenames of temporary-file-directory and of the
10806 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10807 don't fail comparison by compare-strings. Also, compare file
10808 names case-insensitively on MS-Windows and MS-DOS.
10809
134abf1f
SM
108102013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10811
10812 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10813 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10814
d695cb94
DG
108152013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10816
e3e7b504
NF
10817 * whitespace.el (whitespace-color-on, whitespace-color-off):
10818 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 10819
f4ad7ea1 108202013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
10821
10822 * ispell.el (ispell-set-spellchecker-params):
10823 Really set `ispell-args' for all equivs.
10824
632556e4
SM
108252013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * ido.el (ido-completions): Use extra elements of ido-decorations
10828 (bug#14143).
10829 (ido-decorations): Update docstring.
10830
2a417372
MA
108312013-04-05 Michael Albinus <michael.albinus@gmx.de>
10832
10833 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10834 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10835 nil during initialization, in order not to miss changes since the
10836 file was opened. (Bug#14140)
10837
fc164b0c
LL
108382013-04-05 Leo Liu <sdl.web@gmail.com>
10839
10840 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10841
0ccecc08
JB
108422013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10843
10844 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10845
51af1aa2
GM
108462013-04-04 Glenn Morris <rgm@gnu.org>
10847
10848 * electric.el (electric-pair-inhibit-predicate): Add :version.
10849
b208ebc6
SM
108502013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10853 when a package is required several times (bug#14082).
10854
f3d3eaf0
RW
108552013-04-04 Roland Winkler <winkler@gnu.org>
10856
10857 * faces.el (read-face-name): Behave as promised by the docstring.
10858 Assume that arg default is a list of faces.
10859 (describe-face): Call read-face-name with list of default faces.
10860
2575da50
TV
108612013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10862
10863 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10864 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10865 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10866 the header.
10867 (bookmark-exit-hook-internal): Save even if list is empty.
10868
397703b4
YH
108692013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10870
10871 * emacs-lisp/package.el (package-pinned-packages): New var.
10872 (package--add-to-archive-contents): Obey it (bug#14118).
10873
691e26ae
AM
108742013-04-03 Alan Mackenzie <acm@muc.de>
10875
8a621d53
JB
10876 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10877 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
10878
10879 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10880 parameter `not-in-delimiter'. Handle being inside comment opener.
10881 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10882 character in case we're typing a '*' after a '/'.
10883 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10884 instead by passing the parameter to c-state-pp-to-literal.
10885
10886 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10887 for elt. 7 of a parse state.
10888
4b725a70
PE
108892013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10890
10891 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10892 * international/latin1-disp.el, international/mule-util.el:
10893 * language/cyril-util.el, language/european.el, language/ind-util.el:
10894 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10895 * language/tibetan.el, language/viet-util.el:
10896 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10897
15c579f0
SM
108982013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10899
10900 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10901 (electric-pair-post-self-insert-function): Use it.
10902 (electric-pair-default-inhibit): New function, extracted from
10903 electric-pair-post-self-insert-function.
10904
a77e2924
RW
109052013-03-31 Roland Winkler <winkler@gnu.org>
10906
10907 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10908
2bd8a4a8
SM
109092013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10910
10911 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10912
8d3655be 109132013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
10914
10915 Un-indent after "pass" and "return" statements (Bug#13888)
10916 * progmodes/python.el (python-indent-block-enders): New var.
10917 (python-indent-calculate-indentation): Use it.
10918
8d3655be 109192013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
10920
10921 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10922 defun. Defining it as defalias could introduce too eager
10923 byte-compiler optimization. (Bug#14030)
10924
8d3655be 109252013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
10926
10927 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10928
0b1619da
LL
109292013-03-30 Leo Liu <sdl.web@gmail.com>
10930
10931 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10932 (kmacro-execute-from-register): Pass the keyboard macro to
10933 kmacro-call-macro or repeating won't work correctly.
10934
0b938190
TZ
109352013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10936
10937 * progmodes/subword.el: Back to using `forward-symbol'.
10938
10939 * subr.el (forward-whitespace, forward-symbol)
10940 (forward-same-syntax): Move from thingatpt.el.
10941
35710234
LL
109422013-03-29 Leo Liu <sdl.web@gmail.com>
10943
10944 * kmacro.el (kmacro-to-register): New command.
10945 (kmacro-execute-from-register): New function.
10946 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10947
efc0bb73
SM
109482013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10949
10950 * mpc.el: Use defvar-local and setq-local.
10951 (mpc--proc-connect): Connection failures are not bugs.
10952 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10953 (mpc-volume-map): Bind to the up-events.
10954
75a2f981
TZ
109552013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10956
10957 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10958 instead of `forward-symbol'.
10959
17c781d1
SM
109602013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10963 (edebug--recursive-edit): Use it.
10964 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10965 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10966
f67bfbcf
LL
109672013-03-28 Leo Liu <sdl.web@gmail.com>
10968
10969 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10970
b59f639d
EZ
109712013-03-27 Eli Zaretskii <eliz@gnu.org>
10972
10973 * facemenu.el (list-colors-callback): New defvar.
10974 (list-colors-redisplay): New function.
10975 (list-colors-display): Install list-colors-redisplay as the
10976 revert-buffer-function. (Bug#14063)
10977
f557c1b1
SM
109782013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10979
b1da2957
SM
10980 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10981 and suffixes don't overlap (bug#14061).
10982
f557c1b1
SM
10983 * case-table.el: Use lexical-binding.
10984 (case-table-get-table): New function.
10985 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10986
002668e1
TZ
109872013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10988
10989 * progmodes/subword.el: Add `superword-mode' to do word motion
10990 over symbol_words (parallels and leverages `subword-mode' which
10991 does word motion inside MixedCaseWords).
10992
73572c72
AG
109932013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10994
78b8f320 10995 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 10996 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 10997
69b2c07e
SM
109982013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10999
11000 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11001 Change return value to be a sexp. Delay `get-buffer' to after
11002 restoring the desktop (bug#13951).
11003
08bb5ee2
LL
110042013-03-26 Leo Liu <sdl.web@gmail.com>
11005
11006 * register.el: Move semantic tag handling back to
11007 cedet/semantic/senator.el. (Bug#14052)
11008
8d4c974e
SM
110092013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11012 into the prompt either (bug#13963).
11013
b234d92c
SM
110142013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11015
11016 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11017 part of "(error-foo)".
11018
ddfa3cb4
JL
110192013-03-24 Juri Linkov <juri@jurta.org>
11020
11021 * replace.el (list-matching-lines-prefix-face): New defcustom.
11022 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11023 `occur-engine' if `face-differs-from-default-p' returns t.
11024 (occur-engine): Add `,' inside backquote construct to evaluate
11025 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11026 Pass `prefix-face' to the functions `occur-context-lines' and
11027 `occur-engine-add-prefix'.
11028 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11029 `prefix-face' and propertize the prefix with `prefix-face'.
11030 (Bug#14017)
11031
7b0e2f85
LL
110322013-03-24 Leo Liu <sdl.web@gmail.com>
11033
11034 * nxml/rng-valid.el (rng-validate-while-idle)
11035 (rng-validate-quick-while-idle): Guard against deleted buffer.
11036 (Bug#13999)
11037
11038 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11039 is the last entry in kill-buffer-hook.
11040
11041 * files.el (kill-buffer-hook): Doc fix.
11042
b3082f49
DG
110432013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11044
b234d92c
SM
11045 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11046 Make it safe-local.
bde73d27 11047
b3082f49
DG
11048 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11049
a320a2db
LL
110502013-03-23 Leo Liu <sdl.web@gmail.com>
11051
7e74b0fb
LL
11052 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11053 Remove.
11054
11055 * nxml/rng-valid.el (rng-validate-mode)
11056 (rng-after-change-function, rng-do-some-validation):
11057 * nxml/rng-maint.el (rng-validate-buffer):
11058 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11059 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11060 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11061 (nxml-extend-after-change-region): Use with-silent-modifications.
11062
a320a2db
LL
11063 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11064 timer-idle-list.
11065
11066 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11067 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11068 timer-idle-list. (Bug#13999)
11069
e38e6780
JL
110702013-03-23 Juri Linkov <juri@jurta.org>
11071
11072 * info.el (info-index-match): New face.
11073 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11074 main pattern and add text properties with the new face to matches
11075 in index entries relative to the beginning of the index entry.
11076 (Bug#14015)
11077
e8cc7880
DE
110782013-03-21 Eric Ludlam <zappo@gnu.org>
11079
11080 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11081 Inhibit read only while inserting objects.
11082
9bb0d822
TZ
110832013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11084
11085 * progmodes/cfengine.el: Update docs to mention
11086 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11087 symbol motion. Remove "_" from the word syntax.
11088
aa703640
TZ
110892013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11090
11091 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11092 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11093
afff09d0
JL
110942013-03-20 Juri Linkov <juri@jurta.org>
11095
11096 * info.el (Info-next-reference-or-link)
11097 (Info-prev-reference-or-link): New functions.
11098 (Info-next-reference, Info-prev-reference): Use them.
11099 (Info-try-follow-nearest-node): Handle footnote navigation.
11100 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11101
9a1ff164
SM
111022013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11103
11104 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11105 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11106
2667d15d
PE
111072013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11108
11109 Suppress unnecessary non-ASCII chatter during build process.
11110 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11111 (batch-skkdic-convert): Suppress most of the chatter.
11112 It's not needed so much now that machines are faster,
11113 and its non-ASCII component was confusing; see Dmitry Gutov in
11114 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11115
438b0579
LL
111162013-03-20 Leo Liu <sdl.web@gmail.com>
11117
11118 * ido.el (ido-chop): Fix bug#10994.
11119
c128ab07
DG
111202013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11121
11122 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11123 Remove vars.
9a1ff164
SM
11124 (whitespace-color-on, whitespace-color-off):
11125 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11126
0e6008c5
SM
111272013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11130 remapping in mode-line.
11131 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11132
627b52b0
DG
111332013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11134
11135 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11136 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11137 (whitespace-font-lock-keywords): Change description.
11138 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11139 the constructed keywords instead.
11140 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11141
50c3a20b
LL
111422013-03-19 Leo Liu <sdl.web@gmail.com>
11143
11144 * progmodes/compile.el (compilation-display-error): New command.
11145 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11146 C-o. (Bug#13992)
11147
2aa2157b
PE
111482013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11149
11150 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11151
e477dbfa
JD
111522013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11153
11154 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11155
64ab82d1
MA
111562013-03-18 Michael Albinus <michael.albinus@gmx.de>
11157
11158 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11159
11160 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11161 * net/tramp-gvfs.el (top):
11162 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11163 (tramp-handle-shell-command): Use it.
11164 (tramp-dissect-file-name): Raise an error when hostname is a
11165 method name, and neither method nor user is specified.
11166
11167 * net/trampver.el: Update release number.
11168
33cef733
LL
111692013-03-18 Leo Liu <sdl.web@gmail.com>
11170
11171 Make sure eldoc can be turned off properly.
11172 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11173 eldoc-mode.
11174 (eldoc-display-message-p): Revert last change.
11175 (eldoc-display-message-no-interference-p)
11176 (eldoc-print-current-symbol-info): Tweak.
11177
2167b7b2
TH
111782013-03-18 Tassilo Horn <tsdh@gnu.org>
11179
11180 * doc-view.el (doc-view-new-window-function): Check the new window
11181 overlay's display property instead the char property of the
11182 buffer's first char. Use `with-selected-window' instead of
11183 `save-window-excursion' with `select-window'.
11184 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11185 display property instead the char property of the buffer's first char.
2167b7b2 11186
982efbcd
PE
111872013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11188
11189 Automate the build of ja-dic.el (Bug#13984).
11190 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11191 from the input, rather than assume that it's been done for us by the
11192 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11193 the current date into a ja-dic.el comment, as that complicates
11194 regression testing.
11195
2fcc7665
SM
111962013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11197
11198 * whitespace.el: Fix double evaluation.
11199 (whitespace-space, whitespace-hspace, whitespace-tab)
11200 (whitespace-newline, whitespace-trailing, whitespace-line)
11201 (whitespace-space-before-tab, whitespace-indentation)
11202 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11203 obsolete defvars.
11204 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11205 (whitespace-color-on): Use a single font-lock-add-keywords call.
11206 Fix double-evaluation of face variables.
11207
67c0a6e6
MA
112082013-03-17 Michael Albinus <michael.albinus@gmx.de>
11209
2fcc7665
SM
11210 * net/tramp-adb.el (tramp-adb-parse-device-names):
11211 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11212 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11213
69489f1d
LL
112142013-03-17 Leo Liu <sdl.web@gmail.com>
11215
11216 Extend eldoc to display info in the mode-line. (Bug#13978)
11217 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11218 (eldoc-mode-line-string): New variable.
11219 (eldoc-minibuffer-message): New function.
11220 (eldoc-message-function): New variable.
11221 (eldoc-message): Use it.
11222 (eldoc-display-message-p)
2fcc7665
SM
11223 (eldoc-display-message-no-interference-p):
11224 Support eldoc-post-insert-mode.
69489f1d
LL
11225
11226 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11227 (eval-expression): Run it.
11228
9c44569e
RW
112292013-03-17 Roland Winkler <winkler@gnu.org>
11230
11231 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11232 strings in the list of return values.
11233
327f1f6f
JB
112342013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11235
11236 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11237 radix before checking for HMS forms.
11238
67ed8fcd
LL
112392013-03-16 Leo Liu <sdl.web@gmail.com>
11240
11241 * progmodes/scheme.el: Add indentation and font-locking for λ.
11242 (Bug#13975)
11243
78be8b64 112442013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11245
11246 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11247 token before point (bug#13942).
11248
78be8b64 112492013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11250
95b43468 11251 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11252
98e775e6
EZ
112532013-03-16 Eli Zaretskii <eliz@gnu.org>
11254
11255 * startup.el (command-line-normalize-file-name): Fix handling of
11256 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11257 <xfq.free@gmail.com> in
11258 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11259
2edd6029
MA
112602013-03-15 Michael Albinus <michael.albinus@gmx.de>
11261
11262 Sync with Tramp 2.2.7.
11263
11264 * net/trampver.el: Update release number.
11265
d35f5864
TH
112662013-03-14 Tassilo Horn <tsdh@gnu.org>
11267
e903c210 11268 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11269 (doc-view-insert-image): Don't modify overlay associated to
11270 non-live windows, and implement horizontal centering of image in
11271 case it's smaller than the window.
11272 (doc-view-new-window-function): Force redisplay of new windows on
11273 doc-view buffers.
d35f5864 11274
1c4a85ed
KF
112752013-03-13 Karl Fogel <kfogel@red-bean.com>
11276
11277 * saveplace.el (save-place-alist-to-file): Don't sort
11278 `save-place-alist', just pretty-print it (bug#13882).
11279
85b66a21
MA
112802013-03-13 Michael Albinus <michael.albinus@gmx.de>
11281
a020afb9
JB
11282 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11283 Check whether `default-file-name-coding-system' is bound.
11284 It isn't in XEmacs.
85b66a21 11285
175600da
SM
112862013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11287
e7f7cb1a
SM
11288 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11289 backquotes for `obsolete' (bug#13929).
11290
175600da
SM
11291 * international/mule.el (find-auto-coding): Include file name in
11292 obsolescence warning (bug#13922).
11293
ca68a22e
TZ
112942013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11295
11296 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11297 for CFEngine 3-specific indentation.
11298 (cfengine3-indent-line): Use it. Fix up category regex.
11299 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11300
940e5099
SM
113012013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * type-break.el (type-break-file-name):
11304 * textmodes/remember.el (remember-data-file):
11305 * strokes.el (strokes-file):
11306 * shadowfile.el (shadow-initialize):
11307 * saveplace.el (save-place-file):
11308 * ps-bdf.el (bdf-cache-file):
11309 * progmodes/idlwave.el (idlwave-config-directory):
11310 * net/quickurl.el (quickurl-url-file):
11311 * international/kkc.el (kkc-init-file-name):
11312 * ido.el (ido-save-directory-list-file):
11313 * emulation/viper.el (viper-custom-file-name):
11314 * emulation/vip.el (vip-startup-file):
11315 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11316 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11317
cc725808
PE
113182013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11319
11320 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11321 * language/thai-word.el: Switch to UTF-8.
11322
a020afb9 11323See ChangeLog.16 for earlier changes.
e3d51b27
MR
11324
11325;; Local Variables:
11326;; coding: utf-8
e3d51b27
MR
11327;; End:
11328
ab422c4d 11329 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11330
11331 This file is part of GNU Emacs.
11332
11333 GNU Emacs is free software: you can redistribute it and/or modify
11334 it under the terms of the GNU General Public License as published by
11335 the Free Software Foundation, either version 3 of the License, or
11336 (at your option) any later version.
11337
11338 GNU Emacs is distributed in the hope that it will be useful,
11339 but WITHOUT ANY WARRANTY; without even the implied warranty of
11340 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11341 GNU General Public License for more details.
11342
11343 You should have received a copy of the GNU General Public License
11344 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.