Fix GNUStep specific menu items.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
aca5fcdc
JD
12013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2
3 * menu-bar.el: Move GNUStep specific menus...
4
5 * term/ns-win.el (ns-initialize-window-system): ... to here.
6
914b7f98
SM
72013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * simple.el (newline): Only run post-self-insert-hook when
10 called interactively.
11
846ffe77
JB
122013-10-19 Johan Bockgård <bojohan@gnu.org>
13
14 * icomplete.el (icomplete-with-completion-tables): Add :version.
15
033f22dd
AM
162013-10-19 Alan Mackenzie <acm@muc.de>
17
18 Fix fontification bugs with constructors and const.
19
20 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
21 CASE 2) Remove the check for the absence of a suffix construct
22 after a function declaration with only types (no identifiers) in
23 the parentheses. Also, accept a function declaration with just a
24 type inside the parentheses, if this type can be positively
25 recognised as such, or if a prefix keyword like "explicit" nails
26 down the construct as a declaration.
27
58ce0cfc
EZ
282013-10-19 Eli Zaretskii <eliz@gnu.org>
29
30 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
31 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
32 the problem whereby selecting a menu item that leads to a
33 minibuffer prompt moves the cursor out of the minibuffer window,
34 making it hard to type at the prompt. Suggested by Stefan Monnier
35 <monnier@iro.umontreal.ca>.
36
50e28e7d
JD
372013-10-19 Jan Djärv <jan.h.d@swipnet.se>
38
39 * menu-bar.el: Don't make Services menu.
40
7deed4bf
RS
412013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
42
43 * ffap.el: Handle "/usr/include/c++/<version>" directories.
44 (ffap-alist): Use ffap-c++-mode for c++-mode.
45 (ffap-c++-path): New variable.
46 (ffap-c++-mode): New function.
47
7bcb455b
JVJ
482013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
49
50 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
51
f0ff1cd5
MA
522013-10-18 Michael Albinus <michael.albinus@gmx.de>
53
54 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
55 introduced on 2013-09-08, which results in an infinite loop
56 requesting a password.
57
d64da4b7
GM
582013-10-18 Glenn Morris <rgm@gnu.org>
59
60 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
61
ea89ff08
WS
622013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
63
64 Sync with upstream verilog-mode revision 1a6ecec7.
65 * progmodes/verilog-mode.el (verilog-mode-version): Update.
66 (verilog-mode-release-date): Remove.
67 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
68 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
69 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
70 (verilog-auto-tieoff-ignore-regexp)
71 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
72 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
73 (verilog-signals-with, verilog-dir-cache-preserving)
74 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
75 Doc fixes.
76 (verilog-case-fold): New option, to control case folding in
77 regexp searches, bug597.
78 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
79 (verilog-string-match-fold, verilog-in-paren-count)
80 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
81 (verilog-at-close-struct-p): New functions.
82 (verilog-beg-block-re-ordered, verilog-extended-case-re)
83 (verilog-forward-sexp, verilog-set-auto-endcomments):
84 (verilog-leap-to-case-head): Handle "unique0" case.
85 (verilog-in-constraint-re): New constant.
86 (verilog-keywords, verilog-type-font-keywords):
87 Add some SystemVerilog 1800-2012 keywords.
88 (verilog-label-be): Remove unimplemented argument, bug669.
89 (verilog-batch-execute-func): When batch expanding clear
90 create-lockfiles to prevent spurious user locks when a file ends
91 up not changing.
92 (verilog-calculate-indent, verilog-calc-1)
93 (verilog-at-close-constraint-p, verilog-at-constraint-p)
94 (verilog-do-indent): Fix indentation of nested constraints
95 and structures.
96 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
97 (verilog-auto-inst-param): Use verilog-string-match-fold.
98 (verilog-read-inst-module-matcher):
99 Fix AUTOINST on gate primitives with #1.
100 (verilog-read-decls): Fix double-declaring user-defined typed signals.
101 Reads all user-defined typed variables.
102 (verilog-read-defines): Fix reading definitions inside comments, bug647.
103 (verilog-signals-matching-regexp)
104 (verilog-signals-not-matching-regexp, verilog-auto):
105 Respect verilog-case-fold.
106 (verilog-diff-report): Fix line count.
107 (verilog-auto-assign-modport): Remove unused local `modi'.
108 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
109 better handle multidimensional arrays.
110 Fix packed array ports misadding bit index in AUTOINST, bug637.
111 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
112 to not double-declare existing outputs and inputs, respectively.
113 (verilog-template-map): Bind U to verilog-sk-uvm-component.
114 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
115 (verilog-sk-uvm-component): New skeleton.
116 (verilog-submit-bug-report): Add verilog-case-fold,
117 remove verilog-mode-release-date.
118
ef566920
BR
1192013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
120
121 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
122 as before.
123
29df8a0b
RT
1242013-10-18 Reuben Thomas <rrt@sc3d.org>
125
126 * textmodes/remember.el (remember): set buffer-offer-save in
127 remember buffers (bug#13566).
128
04a19a79
DC
1292013-10-18 Daniel Colascione <dancol@dancol.org>
130
131 When evaluating forms in ielm, direct standard output to ielm
132 buffer. Add new ielm-return-for-effect command. Remove trailing
133 whitespace throughout.
134
135 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
136 (ielm-return-for-effect): New command.
137 (ielm-send-input): Accept optional `for-effect' parameter.
138 (ielm-eval-input): Accept optional `for-effect' parameter. Bind
139 `standard-output' to stream we create using
140 `ielm-standard-output-impl'. Suppress printing result when
141 `for-effect'.
142 (ielm-standard-output-impl): New function.
143 (inferior-emacs-lisp-mode): Explain new features in documentation.
144
4c1f03ef
MA
1452013-10-17 Michael Albinus <michael.albinus@gmx.de>
146
147 Code cleanup.
148
149 * net/tramp.el (tramp-debug-message): Do not check for connection
150 buffer.
151 (tramp-message): Use "vector" connection property.
152
153 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
154 (tramp-equal-remote, tramp-eshell-directory-change)
155 * net/tramp-adb.el (tramp-adb-handle-copy-file)
156 (tramp-adb-handle-rename-file)
157 * net/tramp-cmds.el (tramp-list-remote-buffers)
158 (tramp-cleanup-connection, tramp-cleanup-this-connection)
159 * net/tramp-compat.el (tramp-compat-process-running-p)
160 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
161 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
162 (tramp-gvfs-handle-rename-file)
163 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
164 (tramp-set-file-uid-gid)
165 * net/tramp-smb.el (tramp-smb-handle-copy-file)
166 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
167 of `file-remote-p'.
168
169 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
170 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
171 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
172 (tramp-gw-open-network-stream): Suppress unrelated traces.
173
174 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
175 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
176 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
177 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
178 connection property.
179
180 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 181 persistency file.
4c1f03ef
MA
182
183 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
184 Refactor common code. Improve debug message.
185 (tramp-maybe-open-connection)
186 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
187 connection buffer too early.
188
189 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
190 from `tramp-smb-actions-with-acl'.
191 (tramp-smb-actions-set-acl): New defconst.
192 (tramp-smb-handle-copy-directory)
193 (tramp-smb-action-get-acl): New defun, renamed from
194 `tramp-smb-action-with-acl'.
195 (tramp-smb-action-set-acl): New defun.
196 (tramp-smb-handle-set-file-acl): Rewrite.
197
642eb8b6
GM
1982013-10-17 Glenn Morris <rgm@gnu.org>
199
200 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
201
85527ff3
SM
2022013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
203
921c1d62
SM
204 * skeleton.el (skeleton-newline): Remove.
205 (skeleton-internal-1): Use (insert "\n") instead.
206
e333fb10
SM
207 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
208 let-bindings.
209
85527ff3
SM
210 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
211 forward-sexp-function while we redo its job (bug#15613).
212
c8722a97
JB
2132013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
214
215 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
216 represented by lists.
217
7a550bbb
GM
2182013-10-16 Glenn Morris <rgm@gnu.org>
219
220 * tmm.el (tmm--history): New dynamic variable.
221 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
222
f19da8ad
MA
2232013-10-16 Michael Albinus <michael.albinus@gmx.de>
224
225 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
226 (tramp-smb-errors): Add error messages.
227 (tramp-smb-actions-with-acl): New defconst.
228 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
229 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
230 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
231 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
232 (tramp-smb-get-stat-capability): Fix tests.
233
a24b9961
DK
2342013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
235
236 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
237 (bug#15580).
238
62ad85e6
GM
2392013-10-16 Glenn Morris <rgm@gnu.org>
240
0283d6b0
GM
241 * ansi-color.el (ansi-color-drop-regexp):
242 Add 1J, 1K, 2K. (Bug#15617)
243
012e2f9f
GM
244 * files.el (hack-local-variables--warned-lexical): New.
245 (hack-local-variables):
246 Warn about misplaced lexical-binding. (Bug#15616)
247
62ad85e6
GM
248 * net/eww.el (eww-render): Always set eww-current-url,
249 and update header line. (Bug#15622)
250 (eww-display-html): ... Rather than just doing it here.
251
6456c0ea
EZ
2522013-10-15 Eli Zaretskii <eliz@gnu.org>
253
254 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
255 menu navigations commands.
256
c2de5588
DK
2572013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
258
259 * progmodes/subword.el (subword-capitalize): Be careful when
260 the search for [[:alpha:]] fails (bug#15580).
261
ccd4a783
EZ
2622013-10-14 Eli Zaretskii <eliz@gnu.org>
263
264 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
265 to commands that scroll the menu.
266
1eda1d8d
DG
2672013-10-14 Dmitry Gutov <dgutov@yandex.ru>
268
c2de5588
DK
269 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
270 Handle methods ending with `?' and `!'.
1eda1d8d 271
e70181b8
AM
2722013-10-14 Akinori MUSHA <knu@iDaemons.org>
273
274 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
275 `japanese-cp932' to `cp932' to fix the problem where saving a
276 source file written in Shift_JIS twice would end up having
277 `coding: japanese-cp932' which Ruby could not recognize.
278 (ruby-mode-set-encoding): Add support for encodings mapped to nil
279 in `ruby-encoding-map'.
280 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
281 doesn't need to be explicitly declared in magic comment.
282 (ruby-encoding-map): Add type declaration for better customize UI.
283
9148ee92
GM
2842013-10-13 Glenn Morris <rgm@gnu.org>
285
a5d38e34
GM
286 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
287 Occur buffers are read-only. http://bugs.debian.org/720775
288
9148ee92
GM
289 * emacs-lisp/authors.el (authors-fixed-entries):
290 Comment out old alpha stuff.
291
a9ba094b
DG
2922013-10-13 Dmitry Gutov <dgutov@yandex.ru>
293
294 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
295 to `after-save-hook' instead of `before-save-hook'.
296 (ruby-mode-set-encoding): Use the value of coding system used to
297 write the file. Call `basic-save-buffer-1' after modifying the
298 buffer.
299
7a068717
AM
3002013-10-13 Alan Mackenzie <acm@muc.de>
301
302 Fix indentation/fontification of Java enum with
303 "implements"/generic.
304
c2de5588
DK
305 * progmodes/cc-engine.el (c-backward-over-enum-header):
306 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
307 (c-inside-bracelist-p): Uses new function above.
308 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
309 function above.
310 (c-font-lock-enum-tail): Uses new function above.
311
85b64f02
KH
3122013-10-13 Kenichi Handa <handa@gnu.org>
313
314 * international/mule-cmds.el (select-safe-coding-system): Remove a
315 superfluous condition in chekcing whether a coding system is safe
316 or not.
317
fc7f501b
OK
3182013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
319
320 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
321
fdcb2049
AP
3222013-10-13 Andreas Politz <politza@hochschule-trier.de>
323
324 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
325
8c106d17
GM
3262013-10-13 Glenn Morris <rgm@gnu.org>
327
feab892d
GM
328 * menu-bar.el (menu-bar-update-buffers):
329 Unify Buffers menu prompt string. (Bug#15576)
330
b22d0686
GM
331 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
332
8c106d17
GM
333 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
334 Add some entries.
335 (authors-fixed-entries): Use accented form of name.
336
1b12c797
SM
3372013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
338
650fa7bf 339 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 340 method calls (bug#15594).
650fa7bf
SM
341 (ruby-smie--args-separator-p): New function.
342 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
343 recognize paren-free method calls.
344
1b12c797
SM
345 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
346 internals of universal-argument.
347
029619c8
EZ
3482013-10-11 Eli Zaretskii <eliz@gnu.org>
349
350 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
351 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
352 dropped menu on second mouse click on the menu bar.
029619c8 353
dd070019
SM
3542013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
357 (explicit-shell-file-name): Declare.
358 (sh--vars-before-point, sh--cmd-completion-table): New functions.
359 (sh-completion-at-point-function): New function.
360 (sh-mode): Use it.
361 (sh-smie--keyword-p): Remove unused argument.
362 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
363 vars.
364 (sh-set-shell): Always setup SMIE, even if we use the
365 old indentation code.
366
0922b826
DG
3672013-10-11 Dmitry Gutov <dgutov@yandex.ru>
368
b68e2926
DG
369 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
370 cases of ? and =.
371 (ruby-smie-rules): Simplify the "do" rule. The cases when the
372 predicate would return nil are almost non-existent.
373 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
374
0922b826
DG
375 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
376 cache also after commands that modify the buffer but don't move
377 point.
378
ee041f2d
SM
3792013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * env.el (substitute-env-in-file-name): New function.
382 (substitute-env-vars): Extend the meaning of the optional arg.
383
a5dab159
EZ
3842013-10-10 Eli Zaretskii <eliz@gnu.org>
385
386 * term/w32-win.el (dynamic-library-alist): Define separate lists
387 of GIF DLLs for versions before and after 5.0.0 of giflib.
388 (Bug#15531)
389
db138698
JT
3902013-10-10 João Távora <joaotavora@gmail.com>
391
392 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
393 not locked, use last revision and current source as
394 defaults. (Bug#15569)
395
2f6e161e
MY
3962013-10-10 Masatake YAMATO <yamato@redhat.com>
397
398 * menu-bar.el (menu-bar-open): Don't use popup-menu if
399 menu-bar is hidden.
400
6c8413fc
MR
4012013-10-10 Martin Rudalics <rudalics@gmx.at>
402
403 * window.el (pop-to-buffer-same-window): Fix doc-string.
404 (Bug#15492)
405
20832de0
SM
4062013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
409
c6e8ae77
AC
4102013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
411
412 * calendar/icalendar.el (icalendar-import-file):
413 Fix interactive spec. (Bug#15482)
414
9db13baf
GM
4152013-10-10 Glenn Morris <rgm@gnu.org>
416
9271e90e
GM
417 * desktop.el (desktop-save): Default to saving in .emacs.d,
418 since PWD is no longer in desktop-path by default. (Bug#15319)
419
9db13baf
GM
420 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
421 now that text mode has a menu with the same entry.
422 (menu-bar-text-mode-auto-fill): Remove now unused func.
423 * textmodes/text-mode.el (text-mode-map):
424 Use auto-fill help text from menu-bar.el.
425
a066720c
JA
4262013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
427
428 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
429
2edcd3c7
JL
4302013-10-09 Juri Linkov <juri@jurta.org>
431
432 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
433 instead of this-command-keys. Add universal-argument-more and
434 universal-argument-minus to the list of prefix commands. (Bug#15568)
435
574411d0
GM
4362013-10-09 Glenn Morris <rgm@gnu.org>
437
14afa541
GM
438 * vc/vc-svn.el (vc-svn-create-repo):
439 Expand paths in file://... url. (Bug#15446)
440
574411d0
GM
441 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
442 Add some entries.
443 (authors): Remove unused local variables.
444
79804536
SM
4452013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 * profiler.el: Create a more coherent calltree from partial backtraces.
448 (profiler-format): Hide the tail with `invisible' so that C-s can still
449 find the hidden elements.
450 (profiler-calltree-depth): Don't recurse so enthusiastically.
451 (profiler-function-equal): New hash-table-test.
452 (profiler-calltree-build-unified): New function.
453 (profiler-calltree-build): Use it.
454 (profiler-report-make-name-part): Indent the calltree less.
455 (profiler-report-mode): Add visibility specs for profiler-format.
456 (profiler-report-expand-entry, profiler-report-toggle-entry):
457 Expand the whole subtree when provided with a prefix arg.
458
238150c8
DG
4592013-10-09 Dmitry Gutov <dgutov@yandex.ru>
460
461 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
462 iuwu-mod token.
463 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
464 hanging iuwu-mod token.
465 (ruby-smie--forward-token): Do not include a dot after a token in
466 that token.
467 (ruby-smie--backward-token): Likewise.
468
b0949cc4
JL
4692013-10-08 Juri Linkov <juri@jurta.org>
470
471 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
472 to isearch-other-control-char.
473 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
474 and isearch-post-command-hook to post-command-hook.
475 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
476 and isearch-post-command-hook from post-command-hook.
477 (isearch-unread-key-sequence)
478 (isearch-reread-key-sequence-naturally)
479 (isearch-lookup-scroll-key, isearch-other-control-char)
480 (isearch-other-meta-char): Remove functions.
481 (isearch-pre-command-hook, isearch-post-command-hook):
482 New functions based on isearch-other-meta-char rewritten
483 relying on the new behavior of overriding-terminal-local-map
484 that does not replace the local keymaps any more. (Bug#15200)
485
4ed77415
EZ
4862013-10-08 Eli Zaretskii <eliz@gnu.org>
487
488 Support menus on text-mode terminals.
489 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
490 functionality.
491
492 * tooltip.el (tooltip-mode): Don't error out on TTYs.
493
c2de5588
DK
494 * menu-bar.el (popup-menu, popup-menu-normalize-position):
495 Move here from mouse.el.
4ed77415
EZ
496 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
497 and arrow keys.
498 (tty-menu-navigation-map): New map for TTY menu navigation.
499
500 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
501
502 * frame.el (display-mouse-p): Report text-mode mouse as available
503 on w32.
504 (display-popup-menus-p): Report availability if mouse is
505 available; don't condition on window-system.
506
507 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
508 (tty-menu-selected-face): New faces.
509
b7d5bd82
TL
5102013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
511
06286513
SM
512 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
513 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
514 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
515 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
516 New constants.
517 (lisp-mode-variables): New `elisp' argument.
518 (emacs-lisp-mode): Use it.
519 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
520 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
521
b7d5bd82
TL
522 * indent.el: Use lexical-binding.
523 (indent-region): Add progress reporter.
524 (tab-stop-list): Make it implicitly extend to infinity by repeating the
525 last step.
526 (indent--next-tab-stop): New function to implement this behavior.
527 (tab-to-tab-stop, move-to-tab-stop): Use it.
528
5292013-10-08 Teemu Likonen <tlikonen@iki.fi>
530
531 * indent.el (indent-rigidly--current-indentation): New function.
532 (indent-rigidly-map): New var.
533 (indent-rigidly): Use it to provide interactive mode (bug#8196).
534
5ea75d23
BG
5352013-10-08 Bastien Guerry <bzg@gnu.org>
536
537 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
538
cc5da1ec
SM
5392013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
540
8ffa1a0b
SM
541 * progmodes/perl-mode.el: Use lexical-binding.
542 Remove redundant :group args.
543 (perl-nochange): Change default to be closer to other major modes's
544 standard behavior.
545 (perl-indent-line): Don't consider text on current line as a
546 valid beginning of function from which to indent.
547
f2223371
SM
548 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
549 with more than one argument (bug#15538).
550
44256060
SM
551 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
552
cc5da1ec
SM
553 * vc/pcvs.el: Use lexical-binding.
554 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
555 environment of `eval'.
556 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
557 than a list of expressions. Adjust callers.
558 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
559
0ea1599d
DG
5602013-10-07 Dmitry Gutov <dgutov@yandex.ru>
561
562 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 563 case of the dot in a chained method call being on the following line.
0ea1599d 564
da3e5ebb
SM
5652013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
566
2abb4e65
SM
567 * electric.el (electric-indent-inhibit): New var.
568 (electric-indent-post-self-insert-function): Use it.
569 * progmodes/python.el (python-mode): Set it.
570
d2e0e795
SM
571 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
572 open braces.
573
574 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
575
bdc6b4c8
SM
576 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
577 (css-mode): Use electric-indent-chars.
578
da3e5ebb
SM
579 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
580 (font-lock-beg, font-lock-end): Move before first use.
581 (nxml-mode): Use syntax-propertize-function.
582 (nxml-after-change, nxml-after-change1): Adjust accordingly.
583 (nxml-extend-after-change-region): Remove.
584 * nxml/xmltok.el: Use lexical-binding.
585 (xmltok-save): Use `declare'.
586 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
587 * nxml/nxml-util.el: Use lexical-binding.
588 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
589 Use `declare'.
590 * nxml/nxml-ns.el: Use lexical-binding.
591 (nxml-ns-save): Use `declare'.
592 (nxml-ns-prefixes-for): Avoid add-to-list.
593 * nxml/rng-match.el: Use lexical-binding.
594 (rng--ipattern): Use cl-defstruct.
595 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
596 (rng-cons-group-after, rng-subst-group-after)
597 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
598 Use closures instead of `(lambda...).
599
f8f91d5d
MA
6002013-10-07 Michael Albinus <michael.albinus@gmx.de>
601
602 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
603 of BEG and END.
604
da3e5ebb
SM
605 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
606 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
607 (tramp-gvfs-handle-insert-file-contents): Remove function.
608
da3e5ebb
SM
609 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
610 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
611
612 * net/trampver.el: Update release number.
613
7ccae3b1
SM
6142013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
615
55ca2c0d
SM
616 * progmodes/compile.el (compilation-parse-errors):
617 Use compilation--put-prop.
618 (compilation--ensure-parse): Check compilation-multiline.
619
731fc3ae
SM
620 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
621
da3e5ebb
SM
622 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
623 lexical-binding.
a5833280 624
2e7ba2c2
SM
625 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
626
7ccae3b1
SM
627 * progmodes/ruby-mode.el: Fix recently added tests.
628 (ruby-smie-grammar): Add - and +.
629 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
630 (ruby-smie--backward-id): New functions.
631 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
632 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
633 any more.
634
85698d63
LL
6352013-10-07 Leo Liu <sdl.web@gmail.com>
636
637 * register.el (register-preview-delay)
638 (register-preview-functions): New variables.
639 (register-read-with-preview, register-preview)
640 (register-describe-oneline): New functions.
641 (point-to-register, window-configuration-to-register)
642 (frame-configuration-to-register, jump-to-register)
643 (number-to-register, view-register, insert-register)
644 (copy-to-register, append-to-register, prepend-to-register)
645 (copy-rectangle-to-register): Use register-read-with-preview to
646 read register. (Bug#15525)
647
3986af6c
DS
6482013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
649
650 * net/network-stream.el (network-stream-open-starttls): Don't add
651 --insecure if it's already present, because that gnutls-cli
652 rejects getting that parameter twice.
653
5cd9cda9
DG
6542013-10-06 Dmitry Gutov <dgutov@yandex.ru>
655
656 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
657 keyword, too.
658
da9ea6d9
DG
6592013-10-05 Dmitry Gutov <dgutov@yandex.ru>
660
661 * newcomment.el (comment-use-global-state): Change default value
662 to t, mark obsolete (Bug#15251).
663 (comment-beginning): In addition to `comment-to-syntax', check the
664 value of `comment-use-global-state'.
665
34d1a133
SM
6662013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
667
668 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
669 (ruby-comment-column): Follow the global default, by default.
670 (ruby-smie-grammar): Add assignment syntax.
671 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
672 open-paren, a comma, or a \.
673 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
674 and line continuations.
675 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
676 followed by implicit semi-colons. Add rule for string concatenation
677 and for indentation at BOB.
678 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
679
680 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
681 calling next-sexp, since next-token may have skipped chars which
682 next-sexp doesn't know should be skipped!
683
6f6ab820
LL
6842013-10-05 Leo Liu <sdl.web@gmail.com>
685
34d1a133
SM
686 * progmodes/octave.el (octave-send-region):
687 Call compilation-forget-errors.
6f6ab820 688
34ca0f4c
XF
6892013-10-04 Xue Fuqiao <xfq.free@gmail.com>
690
691 * vc/vc-svn.el (vc-svn-find-admin-dir):
692 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
693 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
694 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
695 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
696
a27c1b72
SM
6972013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
698
699 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
700
258ab3bc
SM
7012013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * subr.el (read-passwd): Hide chars even when called within a context
704 where after-change-functions is disabled (bug#15501).
705 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
706 until we removed ourself from overriding-terminal-local-map.
707
939fb29c
LL
7082013-10-04 Leo Liu <sdl.web@gmail.com>
709
258ab3bc
SM
710 * progmodes/octave.el (inferior-octave-mode):
711 Call compilation-forget-errors.
939fb29c 712
63bd7f35
XF
7132013-10-04 Xue Fuqiao <xfq.free@gmail.com>
714
715 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
716
9e6229fa
MA
7172013-10-04 Michael Albinus <michael.albinus@gmx.de>
718
719 * net/secrets.el (secrets-create-collection): Add optional
720 argument ALIAS. Use proper Label keyword. Append ALIAS as
721 dbus-call-method argument. (Bug#15516)
722
1dab32a3
LL
7232013-10-04 Leo Liu <sdl.web@gmail.com>
724
725 * progmodes/octave.el (inferior-octave-error-regexp-alist)
726 (inferior-octave-compilation-font-lock-keywords): New variables.
727 (compilation-error-regexp-alist)
728 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
729 (inferior-octave-mode): Use compilation-shell-minor-mode.
730
6cad7ba3
JS
7312013-10-04 Jorgen Schaefer <forcer@forcix.cx>
732
733 * minibuffer.el (completion--replace): Be careful that `end' might be
734 a marker.
735
acbadd00
DU
7362013-10-03 Daiki Ueno <ueno@gnu.org>
737
738 Add support for package signature checking.
739 * emacs-lisp/package.el (url-http-file-exists-p)
740 (epg-make-context, epg-context-set-home-directory)
741 (epg-verify-string, epg-context-result-for)
742 (epg-signature-status, epg-signature-to-string)
743 (epg-check-configuration, epg-configuration)
744 (epg-import-keys-from-file): Declare.
745 (package-check-signature): New user option.
746 (package-unsigned-archives): New user option.
747 (package-desc): Add `signed' field.
748 (package-load-descriptor): Set `signed' field if .signed file exists.
749 (package--archive-file-exists-p): New function.
750 (package--check-signature): New function.
751 (package-install-from-archive): Check package signature.
752 (package--download-one-archive): Check archive signature.
753 (package-delete): Remove .signed file.
754 (package-import-keyring): New command.
755 (package-refresh-contents): Import default keyring.
756 (package-desc-status): Add "unsigned" status.
757 (describe-package-1, package-menu--print-info)
758 (package-menu-mark-delete, package-menu--find-upgrades)
759 (package-menu--status-predicate): Support "unsigned" status.
760
adf2aa61
SM
7612013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
764 the new compilation scheme using the new byte-codes.
765
766 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
767 (byte-pophandler): New byte codes.
768 (byte-goto-ops): Adjust accordingly.
769 (byte-compile--use-old-handlers): New var.
770 (byte-compile-catch): Use new byte codes depending on
771 byte-compile--use-old-handlers.
772 (byte-compile-condition-case--old): Rename from
773 byte-compile-condition-case.
774 (byte-compile-condition-case--new): New function.
775 (byte-compile-condition-case): New function that dispatches depending
776 on byte-compile--use-old-handlers.
777 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
778 when we can.
779
780 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
781 Optimize under `condition-case' and `catch' if
782 byte-compile--use-old-handlers is nil.
783 (disassemble-offset): Handle new bytecodes.
784
328a8179
SM
7852013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * subr.el (error): Use `declare'.
788 (decode-char, encode-char): Use advertised-calling-convention instead
789 of the docstring to discourage use of the `restriction' arg.
790
15a1e936
DU
7912013-10-03 Daiki Ueno <ueno@gnu.org>
792
793 * epg.el (epg-verify-file): Add a comment saying that it does not
794 notify verification error as a return value nor a signal.
795 (epg-verify-string): Ditto.
796
376f862a
KR
7972013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
798
799 * progmodes/compile.el (compilation-start): Try globbing the arg to
800 `cd' (bug#15417).
801
a2f93a5f
MA
8022013-10-02 Michael Albinus <michael.albinus@gmx.de>
803
804 Sync with Tramp 2.2.8.
805
806 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
807 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
808 * net/trampver.el: Update release number.
809
0daa0804
JD
8102013-10-01 Jan Djärv <jan.h.d@swipnet.se>
811
812 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
813 and default-process-coding-system for darwin only.
814
abd1ae34
SM
8152013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
816
817 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
818
be4e325d
MH
8192013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
820
821 * vc/vc-git.el (vc-git-grep): Disable pager.
822
e9155c4a
DG
8232013-10-01 Dmitry Gutov <dgutov@yandex.ru>
824
494e898b
DG
825 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
826 Use :url instead of :homepage, as per
827 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
828
e9155c4a
DG
829 * newcomment.el (comment-beginning): When `comment-use-syntax' is
830 non-nil, use `syntax-ppss' (Bug#15251).
831
481a8e0f
RS
8322013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
833
be4e325d
MH
834 * progmodes/octave.el (inferior-octave-startup-file):
835 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 836
056453c6
DG
8372013-09-29 Dmitry Gutov <dgutov@yandex.ru>
838
be4e325d
MH
839 * emacs-lisp/package.el (package-desc-from-define):
840 Accept additional arguments as plist, convert them to an alist and store
841 them in the `extras' slot.
056453c6
DG
842 (package-generate-description-file): Convert extras alist back to
843 plist and append to the `define-package' form arguments.
844 (package--alist-to-plist): New function.
845 (package--ac-desc): Add `extras' slot.
846 (package--add-to-archive-contents): Check if the archive-contents
847 vector is long enough, and if it is, pass its `extras' slot value
848 to `package-desc-create'.
849 (package-buffer-info): Call `lm-homepage', pass the returned value
850 to `package-desc-from-define'.
851 (describe-package-1): Render the homepage button (Bug#13291).
852
be4e325d
MH
853 * emacs-lisp/package-x.el (package-upload-buffer-internal):
854 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 855
832966e5
JD
8562013-09-29 Jan Djärv <jan.h.d@swipnet.se>
857
858 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
859 and default-process-coding-system to utf-8-unix (Bug#15402).
860
6cfe977d
XF
8612013-09-29 Xue Fuqiao <xfq.free@gmail.com>
862
863 * subr.el (looking-back): Do not recommend using looking-back.
864
38de11bd
AM
8652013-09-28 Alan Mackenzie <acm@muc.de>
866
867 Fix indentation/fontification of Java enum with "implements".
868
869 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
870 regexp which matches "implements", etc., in Java.
871 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
872 specifier clauses coming after "enum".
873 * progmodes/cc-fonts.el (c-font-lock-declarations)
874 (c-font-lock-enum-tail): Check for extra specifier clauses coming
875 after "enum".
876
1610938f
JD
8772013-09-28 Jan Djärv <jan.h.d@swipnet.se>
878
879 * faces.el (region): Change ns_selection_color to
880 ns_selection_fg_color, add ns_selection_bg_color.
881
e090f499
LL
8822013-09-28 Leo Liu <sdl.web@gmail.com>
883
4d2e94d1
LL
884 * progmodes/octave.el (inferior-octave-completion-table)
885 (inferior-octave-completion-at-point): Minor tweaks.
886
e090f499
LL
887 * textmodes/ispell.el (ispell-lookup-words): Rename from
888 lookup-words. (Bug#15460)
889 (lookup-words): Obsolete.
890 (ispell-complete-word, ispell-command-loop): All uses changed.
891
7e138a62
RS
8922013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
893
894 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
895 (octave-mode-menu): Add octave-send-buffer.
896 (octave-send-buffer): New function.
897
5af5ed08
RS
8982013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
899
900 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
901 octave-lookfor.
902 (octave-mode-menu): Add octave-lookfor.
903 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
904 octave-lookfor.
905 (octave-lookfor): New function.
906
3b7b2692
SM
9072013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * emacs-lisp/cl-macs.el:
910 (cl--loop-destr-temps): Remove.
911 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
912 its convention.
913 (cl--loop-set-iterator-function): New function.
914 (cl-loop): Adjust accordingly, so as not to use cl-subst.
915 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
916 Bind `it' with `let' instead of substituting it with `cl-subst'.
917 (cl--unused-var-p): New function.
918 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
919 Eliminate some unused variable warnings (bug#15326).
920
529fb53f
TH
9212013-09-27 Tassilo Horn <tsdh@gnu.org>
922
923 * doc-view.el (doc-view-scale-reset): Rename from
924 `doc-view-reset-zoom-level'.
925 (doc-view-scale-adjust): New command.
926 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
927 `doc-view-scale-adjust'.
928
0550c95a
TH
9292013-09-26 Tassilo Horn <tsdh@gnu.org>
930
931 * doc-view.el (doc-view-reset-zoom-level): New command.
932 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
933 zoom commands (bug#15466).
934
6950f152
KH
9352013-09-26 Kenichi Handa <handa@gnu.org>
936
937 * international/quail.el (quail-help): Make it not a command.
938
39587580
LL
9392013-09-26 Leo Liu <sdl.web@gmail.com>
940
941 * minibuffer.el (completion-all-sorted-completions): Make args
942 optional as they are.
943
00578659
DC
9442013-09-25 Daniel Colascione <dancol@dancol.org>
945
946 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
947 specs are and that they're not evaluated.
948
0c173878
SS
9492013-09-24 Sam Steingold <sds@gnu.org>
950
951 * midnight.el (clean-buffer-list-kill-regexps)
952 (clean-buffer-list-kill-buffer-names): Update for the new Man
953 buffer naming which includes the object name.
954
84998447
SM
9552013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
956
957 * eshell/esh-cmd.el (eshell--sep-terms): New var.
958 (eshell-parse-command, eshell-parse-pipeline): Use it since
959 eshell-separate-commands requires a dynamic scoped var.
960 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
961
33215353
LL
9622013-09-23 Leo Liu <sdl.web@gmail.com>
963
964 * autoinsert.el (auto-insert-alist): Make the value of
965 lexical-binding match its file setting.
966
57b16162
JB
9672013-09-23 Juanma Barranquero <lekktu@gmail.com>
968
c8af4e67
JB
969 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
970
57b16162
JB
971 * autoarg.el (autoarg-kp-digit-argument):
972 * electric.el (Electric-command-loop):
973 * kmacro.el (kmacro-step-edit-insert):
974 Do not set universal-argument-num-events.
975
7186ba60
LL
9762013-09-22 Leo Liu <sdl.web@gmail.com>
977
978 * files.el (interpreter-mode-alist): Add octave.
979
ece15004
AM
9802013-09-21 Alan Mackenzie <acm@muc.de>
981
982 C++: fontify identifier in declaration following "public:" correctly.
983 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
984 to match "public", etc.
985 (c-decl-prefix-re): Add ":" into the C++ value.
986 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
987 bit. Add a check for a ":" preceded by "public", etc.
988
75d83e22
EZ
9892013-09-21 Eli Zaretskii <eliz@gnu.org>
990
991 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
992 recognized by GDB 7.5 and later.
993
d052d3bd
XF
9942013-09-21 Xue Fuqiao <xfq.free@gmail.com>
995
996 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
997
31dca772
R
9982013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
999
1000 * subr.el (internal--call-interactively): New const.
1001 (called-interactively-p): Use it (bug#3984).
1002
98ccf24e
XF
10032013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1004
1005 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1006 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1007 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1008
c39cc7d1
SM
10092013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1012 (eshell-ls-orig-insert-directory): Remove.
1013 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1014 (eshell-ls-use-in-dired): Use advice-add/remove.
1015 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1016 Add `orig-fun' arg for use in :around advice.
1017 Make it check (redundantly) eshell-ls-use-in-dired.
1018
9a0289a2
GM
10192013-09-19 Glenn Morris <rgm@gnu.org>
1020
a2c501b8
GM
1021 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1022
c440407a
GM
1023 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1024
9a0289a2
GM
1025 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1026
85e05915
MA
10272013-09-19 Michael Albinus <michael.albinus@gmx.de>
1028
1029 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1030 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1031 (tramp-get-remote-python): New defuns.
1032 (tramp-get-remote-uid-with-perl)
1033 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1034 contributed by yary <not.com@gmail.com> (tiny change).
1035 (tramp-get-remote-uid-with-python)
1036 (tramp-get-remote-gid-with-python): New defuns. Python code
1037 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1038 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1039
ce503312
GM
10402013-09-19 Glenn Morris <rgm@gnu.org>
1041
f7544773
GM
1042 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1043
72fd2877
GM
1044 * eshell/em-unix.el (eshell-remove-entries):
1045 Rename argument to avoid name-clash with global `top-level'.
1046
336b5a56
GM
1047 * eshell/esh-proc.el (eshell-kill-process-function):
1048 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1049 (eshell-reset-after-proc): Remove unused arg `proc'.
1050
57a3a53d
GM
1051 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1052 (directory-files-and-attributes): Mark unused arg.
1053
3261d4af
GM
1054 * eshell/em-unix.el (eshell-remove-entries):
1055 Remove unused arg `path'. Update callers.
1056
8e51b5d0
GM
1057 * eshell/em-hist.el (eshell-hist-parse-arguments):
1058 Remove unused arg `silent'. Update callers.
1059
ce503312
GM
1060 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1061 Fix (f)boundp mix-up.
1062
1063 * eshell/em-smart.el (eshell-smart-scroll-window)
1064 (eshell-disable-after-change):
336b5a56 1065 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1066
ee3ce8a7
AM
10672013-09-18 Alan Mackenzie <acm@muc.de>
1068
1069 Fix fontification of type when followed by "const".
1070 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1071 "known" types from fontification.
1072
ec9177ba
GM
10732013-09-18 Glenn Morris <rgm@gnu.org>
1074
7bb3e768
GM
1075 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1076 (chart-face-list): Drop Emacsen without display-color-p.
1077
5148da15
GM
1078 * net/eww.el (libxml-parse-html-region): Declare.
1079 (eww-display-html): Explicit error if no libxml2 support.
1080
2f68e157
GM
1081 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1082
9019d095
GM
1083 * image.el (image-type-from-buffer, image-multi-frame-p):
1084 Remove --without-x warning/error.
67645389 1085
5f30349b 1086 * mouse.el (mouse-yank-primary):
45069b2e 1087 * term.el (term-mouse-paste):
5f30349b
GM
1088 Reorder to silence --without-x compilation.
1089
cd8edbbe
GM
1090 * mpc.el (doc-view-mode): Silence --without-x compilation.
1091
8a78544e
GM
1092 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1093 Silence --without-x compilation.
1094
12679bfd
GM
1095 * progmodes/gud.el (gud-find-file, gud-mode):
1096 Silence --without-x compilation.
1097 (tooltip-mode): Declare.
30810a05 1098
f0047cb9
GM
1099 * wdired.el (dired-backup-overwrite): Remove declaration.
1100 (wdired-mode-map): Add doc string.
1101
e740f9d2
GM
1102 * custom.el (x-get-resource): Declare.
1103
92d77c89
GM
1104 * eshell/em-glob.el (ange-cache):
1105 * eshell/em-unix.el (ange-cache): Declare.
1106
76e69577
GM
1107 * faces.el (x-display-list, x-open-connection, x-get-resource):
1108 Declare.
7e58af4b
GM
1109
1110 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1111 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1112 Declare.
76e69577 1113
4bd4c0af 1114 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1115
ffb82dbd
GM
1116 * net/gnutls.el (gnutls-log-level): Declare.
1117
986ed135
GM
1118 * net/shr.el (image-size, image-animate): Declare.
1119
e740f9d2
GM
1120 * simple.el (font-info): Declare.
1121
d2f3e9f8
GM
1122 * subr.el (x-popup-dialog): Declare.
1123
047a1a4c
GM
1124 * term/common-win.el (x-select-enable-primary)
1125 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1126 Declare.
1127
f4a1d572
GM
1128 * term/ns-win.el (x-handle-args): Declare.
1129
e843de77
GM
1130 * term/x-win.el (x-select-enable-clipboard): Declare.
1131
5fa89513
GM
1132 * term/w32-win.el (create-default-fontset): Declare.
1133
38702b5b
GM
1134 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1135 Declare.
1136
e740f9d2
GM
1137 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1138 (fit-frame-to-buffer): Explicit error if --without-x.
1139 (mouse-autoselect-window-select): Silence compiler.
1140
49a053fc
GM
1141 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1142
1143 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1144 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1145 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1146 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1147 Remove unused local variables.
1148
1149 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1150
ec9177ba
GM
1151 * textmodes/two-column.el: Make 2C-split work for --without-x.
1152 (scroll-bar-columns): Autoload.
1153 (top-level): Require fringe when compiling.
1154
9f25cb77
LL
11552013-09-18 Leo Liu <sdl.web@gmail.com>
1156
1157 * subr.el (add-hook): Robustify to handle closure as well.
1158
2b42da98
GM
11592013-09-17 Glenn Morris <rgm@gnu.org>
1160
1161 * simple.el (messages-buffer-mode-map): Unbind "g".
1162
e8b66a6a
SM
11632013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1164
9c0ad4f7
SM
1165 * help-mode.el (help-mode-finish): Use derived-mode-p.
1166 Remove obsolete highlighting.
1167
7a806dfb
SM
1168 * play/life.el (life-mode): Use define-derived-mode. Derive from
1169 special-mode.
1170 (life): Let-bind inhibit-read-only.
1171 (life-setup): Avoid `setq'. Use `life-mode'.
1172
96dbf5a8
SM
1173 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1174 which should not be needed any more.
1175 (package-menu-refresh, package-menu-describe-package): Use user-error.
1176
e8b66a6a
SM
1177 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1178 (eshell-post-rewrite-command-hook): Make obsolete.
1179 (eshell-parse-command): Simplify.
1180 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1181 (eshell--cmd): Declare.
1182 (eshell-parse-pipeline): Remove unused var `final-p'.
1183 Pass a dynvar to eshell-post-rewrite-command-hook.
1184 Implement the new eshell-post-rewrite-command-function.
1185 (eshell-invoke-directly): Remove unused arg `input'.
1186 * eshell/esh-io.el (eshell-io-initialize):
1187 Use eshell-post-rewrite-command-function (bug#15399).
1188 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1189 adjust to new calling convention.
1190 (eshell-create-handles): Rename args to avoid clashing with dynvar
1191 `standard-output'.
1192
90582f05
GM
11932013-09-17 Glenn Morris <rgm@gnu.org>
1194
1195 * simple.el (messages-buffer-mode): New major mode.
1196 (messages-buffer): New function.
1197 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1198 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1199 (ert-run-test): Use `messages-buffer' function.
90582f05 1200 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1201 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1202 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1203
39eb0cb5 12042013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1205
1206 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1207
1f1e06e2
SM
1208 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1209
70568a90
SM
12102013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1211
504a0381
SM
1212 * icomplete.el (icomplete-in-buffer): New var.
1213 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1214 vars and replace them with functions.
1215 (icomplete-minibuffer-setup): Adjust accordingly.
1216 (icomplete--completion-table, icomplete--completion-predicate)
1217 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1218 New functions.
1219 (icomplete-forward-completions, icomplete-backward-completions)
1220 (icomplete-simple-completing-p, icomplete-exhibit)
1221 (icomplete-completions): Use them.
1222 (icomplete--in-region-buffer): New var.
1223 (icomplete--in-region-setup): New function.
1224 (icomplete-mode): Use it.
1225
70568a90
SM
1226 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1227 (bug#15379).
1228 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1229 return args and options.
1230 (eshell-eval-using-options): Use the new return value of
1231 eshell--do-opts to set the options's vars in their scope.
1232 (eshell--set-option): Rename from eshell-set-option.
1233 Add arg `opt-vals'.
1234 (eshell--process-option): Rename from eshell-process-option.
1235 Add arg `opt-vals'.
1236 (eshell--process-args): Use an `opt-vals' alist to store the options's
1237 values during their processing and return them additionally to the
1238 remaining args.
1239
578c21bc
DG
12402013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1241
1242 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1243 continuation character an operator, as far as indentation is
1244 concerned (Bug#15369).
1245
c089653d
MR
12462013-09-15 Martin Rudalics <rudalics@gmx.at>
1247
1248 * window.el (window--state-put-2): Don't process buffer state
1249 when buffer doesn't exist any more (Bug#15382).
1250
1e53bb4b
GM
12512013-09-15 Glenn Morris <rgm@gnu.org>
1252
30753242
GM
1253 * eshell/em-unix.el (eshell/rm):
1254 Make -f ignore missing files. (Bug#15373)
1255
1e53bb4b
GM
1256 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1257 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1258 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1259
0d8863b3
GM
12602013-09-14 Glenn Morris <rgm@gnu.org>
1261
1262 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1263
d3fc6549
GM
12642013-09-13 Glenn Morris <rgm@gnu.org>
1265
1266 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1267 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1268
fcd42c11
DA
12692013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1270
1271 * frame.el (x-focus-frame): Mark as declared in frame.c.
1272
7830899f
SM
12732013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * ls-lisp.el: Use advice-add.
1276 (original-insert-directory): Remove.
1277 (ls-lisp--insert-directory): Rename from insert-directory; add
1278 `orig-fun' argument.
1279 (insert-directory): Advise.
1280
84387cd2
EZ
12812013-09-13 Eli Zaretskii <eliz@gnu.org>
1282
1283 * term.el (term-emulate-terminal): Decode the command string
1284 before passing it to term-command-hook. (Bug#15337)
1285
35ffc6ba
GM
12862013-09-13 Glenn Morris <rgm@gnu.org>
1287
5c3f9bcc
GM
1288 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1289
2ada368a
GM
1290 * eshell/esh-ext.el (eshell-search-path): Declare.
1291
fcef2e13
GM
1292 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1293 Otherwise an error occurs if eshell-dirs module not loaded.
1294
35ffc6ba
GM
1295 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1296
35c3d36e
MA
12972013-09-13 Michael Albinus <michael.albinus@gmx.de>
1298
1299 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1300 `tramp-check-proper-host'. Check for a valid method name.
1301
1302 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1303 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1304 * net/tramp-sh.el (tramp-maybe-open-connection):
1305 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1306
1307 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1308 also for hash values.
1309
ae5e4c48
SM
13102013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1311
379add74
SM
1312 * term/ns-win.el (parameters): Don't declare as dynamic.
1313 (before-make-frame-hook): Don't add ineffective function.
1314
ae5e4c48
SM
1315 * eshell/*.el: Use lexical-binding (bug#15231).
1316
b5623270
KH
13172013-09-12 Kenichi Handa <handa@gnu.org>
1318
ae5e4c48 1319 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1320
30213927
GM
13212013-09-12 Glenn Morris <rgm@gnu.org>
1322
be94d713 1323 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1324 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1325
44915370
GM
1326 * subr.el (do-after-load-evaluation): Also give compiler warnings
1327 when obsolete files are used (except by obsolete files).
1328
a6ae021f
GM
1329 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1330 in the status output, assume `filename' is the first. (Bug#15322)
1331
40e64f0c
GM
1332 * vc/vc.el (vc-deduce-fileset): Doc fix.
1333
16d9f896
GM
1334 * calc/calc-help.el (Info-goto-node):
1335 * progmodes/cperl-mode.el (Info-find-node):
1336 * vc/ediff.el (Info-goto-node): Update declarations.
1337
dea01c6e
GM
1338 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1339
759880bf 1340 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1341 (vc-bzr-pull): Require vc-dispatcher.
1342 * vc/vc-git.el (vc-compilation-mode): Declare.
1343 (vc-git-pull): Require vc-dispatcher.
1344
08d66420
GM
1345 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1346
30b626e9
GM
1347 * progmodes/octave.el (help-button-action): Declare.
1348
8c05cb10
GM
1349 * shell.el (shell-directory-tracker): Output error as a message
1350 rather than just returning it as a string.
1351 (shell-process-pushd): Remove useless use of message.
1352
30213927
GM
1353 * dframe.el (dframe-timer-fn):
1354 * files.el (dir-locals-read-from-file):
1355 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1356 (mpc-format):
1357 * reveal.el (reveal-post-command):
1358 * saveplace.el (load-save-place-alist-from-file):
1359 * shell.el (shell-resync-dirs):
1360 * w32-common-fns.el (x-get-selection-value):
1361 * emacs-lisp/copyright.el (copyright-find-copyright):
1362 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1363 * emulation/tpu-edt.el (tpu-copy-keyfile):
1364 * play/bubbles.el (bubbles--mark-neighbourhood):
1365 * progmodes/executable.el
1366 (executable-make-buffer-file-executable-if-script-p):
1367 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1368
d3b049e6
SM
13692013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1370
170266d0
SM
1371 Cleanup Eshell to rely less on dynamic scoping.
1372 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1373 last-value, and ext-command here. Bind `args' closer to `body'.
1374 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1375 (eshell--args): Declare new dynamic var.
1376 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1377 last-value, and ext-command. Pass `args' to `body'.
1378 (eshell-process-args): Bind eshell--args.
1379 (eshell-set-option): Use eshell--args.
1380 * eshell/eshell.el (eshell): Use derived-mode-p.
1381 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1382 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1383 (eshell-glob-function): Declare.
1384 * eshell/esh-util.el: Require cl-lib.
1385 (eshell-read-hosts-file): Avoid add-to-list.
1386 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1387 `err'.
1388 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1389 Declare.
1390 (eshell/diff): Remove unused var `err'.
1391 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1392 `killflag'.
1393 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1394 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1395 first use.
1396 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1397 Move declaration before first use.
1398 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1399 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1400 rely on cl-return.
1401
56834f3b
GM
14022013-09-12 Glenn Morris <rgm@gnu.org>
1403
1404 * term/ns-win.el (global-map): Remove binding for ispell-next,
1405 deleted 1999-05-29. (Bug#15357)
1406
5c91a2b8
GM
14072013-09-11 Glenn Morris <rgm@gnu.org>
1408
da712f22
GM
1409 * echistory.el (electric-command-history): Remove call to deleted func.
1410
512e4cdc
GM
1411 * play/landmark.el (landmark-mode): Fix typos.
1412
d3506ca5
GM
1413 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1414 Check cvs-sort-ignore-file is bound.
1415
5c91a2b8
GM
1416 * savehist.el: No need for cl when compiling on Emacs.
1417
feeff482
SM
14182013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1419
656bd483
SM
1420 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1421 (bug#15338).
d3b049e6
SM
1422 (eshell-self-insert-command, eshell-send-invisible):
1423 Remove unused argument.
656bd483
SM
1424 (eshell-handle-control-codes): Remove unused var `orig'.
1425 Avoid delete-backward-char.
1426
feeff482
SM
1427 * files.el (set-auto-mode): Simplify a bit further.
1428
2a08047a
GM
14292013-09-11 Glenn Morris <rgm@gnu.org>
1430
1431 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1432 (set-auto-mode): Don't regexp-quote elements.
1433 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1434 * progmodes/cc-mode.el (interpreter-mode-alist):
1435 * progmodes/ruby-mode.el (interpreter-mode-alist):
1436 Revert previous change.
1437
34675540
SM
14382013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1b3b87df
SM
1440 * play/snake.el (snake-mode):
1441 * play/mpuz.el (mpuz-mode):
1442 * play/landmark.el (lm-mode):
1443 * play/blackbox.el (blackbox-mode):
1444 * play/5x5.el (5x5-mode):
1445 * obsolete/options.el (Edit-options-mode):
1446 * net/quickurl.el (quickurl-list-mode):
1447 * net/newst-treeview.el (newsticker-treeview-mode):
1448 * mail/rmailsum.el (rmail-summary-mode):
1449 * mail/mspools.el (mspools-mode):
1450 * locate.el (locate-mode):
1451 * ibuffer.el (ibuffer-mode):
1452 * emulation/ws-mode.el (wordstar-mode):
1453 * emacs-lisp/debug.el (debugger-mode):
1454 * array.el (array-mode):
1455 * net/eudc.el (eudc-mode): Use define-derived-mode.
1456 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1457 Move initialization into declaration.
1458 (mairix-searches-mode): Use define-derived-mode.
1459 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1460 (eudc-edit-hotlist): Use dolist.
1461 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1462 (Man-mode): Use define-derived-mode.
1463 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1464 (Info-edit-mode): Use define-derived-mode.
1465 (Info-cease-edit): Use Info-mode.
1466 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1467 into declaration.
1468 (eshell-mode): Use define-derived-mode.
1469 * chistory.el (command-history-mode-map): Rename from
1470 command-history-map.
1471 (command-history-mode): Use define-derived-mode.
da712f22 1472 (Command-history-setup): Remove function.
1b3b87df
SM
1473 * calc/calc.el (calc-trail-mode-map): New var.
1474 (calc-trail-mode): Use define-derived-mode.
1475 (calc-trail-buffer): Set calc-main-buffer manually.
1476 * bookmark.el (bookmark-insert-annotation): New function.
1477 (bookmark-edit-annotation): Use it.
1478 (bookmark-edit-annotation-mode): Make it a proper major mode.
1479 (bookmark-send-edited-annotation): Use derived-mode-p.
1480 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1481 closer to its ideal place. Use \' to match EOS.
1482
34675540
SM
1483 * profiler.el (profiler-calltree-find): Use function-equal.
1484
6a5c15d9
GM
14852013-09-10 Glenn Morris <rgm@gnu.org>
1486
1af4c220
GM
1487 * files.el (interpreter-mode-alist): Convert to regexps.
1488 (set-auto-mode): Adapt for this. (Bug#15306)
1489 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1490 Comment out unused variable.
1491 * progmodes/cc-mode.el (interpreter-mode-alist):
1492 * progmodes/python.el (interpreter-mode-alist):
1493 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1494 * progmodes/sh-script.el (sh-set-shell):
1495 No longer use interpreter-mode-alist to get list of shells.
1496
6a5c15d9
GM
1497 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1498
8c27f5ff
SM
14992013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1500
02ef6c1a 1501 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1502 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1503 Bind switch-frame explicitly. Replace universal-argument-minus with
1504 a conditional binding.
1505 (universal-argument-num-events, saved-overriding-map): Remove.
1506 (restore-overriding-map): Remove.
1507 (universal-argument--mode): Rename from save&set-overriding-map,
1508 and rewrite.
1509 (universal-argument, universal-argument-more, negative-argument)
1510 (digit-argument): Adjust accordingly.
1511 (universal-argument-minus): Remove.
1512 (universal-argument-other-key): Remove.
1513
8c27f5ff
SM
1514 * subr.el (with-demoted-errors): Add `format' argument.
1515
6480194c
MA
15162013-09-10 Michael Albinus <michael.albinus@gmx.de>
1517
1518 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1519 `tramp-cleanup-connection'.
1520
1521 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1522 parameters KEEP-DEBUG and KEEP-PASSWORD.
1523
1524 * net/tramp.el (tramp-file-name-handler):
1525 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1526 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1527 (tramp-maybe-open-connection):
8c27f5ff
SM
1528 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1529 Use `tramp-cleanup-connection'.
6480194c 1530
8c27f5ff
SM
1531 * net/tramp-sh.el (tramp-maybe-open-connection):
1532 Catch 'uname-changed inside the progress reporter.
6480194c 1533
e5e916d8
GM
15342013-09-10 Glenn Morris <rgm@gnu.org>
1535
9a2c9b47
GM
1536 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1537
e5e916d8
GM
1538 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1539 returns "alternate access method" in mode (eg "-rw-r--r--.").
1540
144e38fe
GM
15412013-09-08 Glenn Morris <rgm@gnu.org>
1542
1543 * saveplace.el (load-save-place-alist-from-file):
1544 Demote errors. (Bug#15305)
1545
af9ff9e8
MA
15462013-09-08 Michael Albinus <michael.albinus@gmx.de>
1547
1548 Improve compatibility with older Emacsen, and XEmacs.
1549
1550 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1551 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
1552 (with-tramp-progress-reporter): Do not let-bind `result'.
1553 This yields to scoping errors in XEmacs.
af9ff9e8
MA
1554 (tramp-handle-make-auto-save-file-name): New function, moved from
1555 tramp-sh.el.
1556
1557 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1558 for `make-auto-save-file-name'.
8c27f5ff
SM
1559 (tramp-adb--gnu-switches-to-ash):
1560 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1561
1562 * net/tramp-cache.el (tramp-cache-print): Call
1563 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1564
1565 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1566 bound. It isn't for XEmacs.
1567
8c27f5ff
SM
1568 * net/tramp-compat.el (tramp-compat-copy-file):
1569 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
1570 (tramp-compat-replace-regexp-in-string): New defun.
1571
1572 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1573 for `make-auto-save-file-name'.
1574 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1575 `copy-file'.
1576 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1577 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1578 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1579
8c27f5ff
SM
1580 * net/tramp-gw.el (tramp-gw-open-network-stream):
1581 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 1582
8c27f5ff
SM
1583 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1584 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
1585 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1586 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
1587 (tramp-sh-file-inotifywait-process-filter):
1588 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1589 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1590
1591 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1592 for `make-auto-save-file-name'.
8c27f5ff
SM
1593 (tramp-smb-handle-copy-directory):
1594 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1595 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1596 (tramp-smb-handle-copy-file): Improve error message.
1597 (tramp-smb-handle-rename-file): Rename directly only in case
1598 `newname' does not exist yet. This is a restriction of smbclient.
1599 (tramp-smb-maybe-open-connection): Rerun the function only when
1600 `auth-sources' is non-nil.
1601
0ca754d0
KH
16022013-09-08 Kenichi Handa <handa@gnu.org>
1603
1604 * international/characters.el: Set category "^" (Combining) for
1605 more characters.
1606
e8dd0787
AM
16072013-09-07 Alan Mackenzie <acm@muc.de>
1608
1609 Correctly fontify Java class constructors.
1610 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1611 in Java Mode.
1612 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
1613 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1614 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
1615 "typeless" declaration there.
1616
f2f248e7
RW
16172013-09-07 Roland Winkler <winkler@gnu.org>
1618
1619 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1620 field subtitle for entry type book.
1621
67982e2b
SM
16222013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1623
1624 * minibuffer.el: Make minibuffer-complete call completion-in-region
1625 rather than other way around.
1626 (completion--some, completion-pcm--find-all-completions):
1627 Don't delay signals when debugging.
1628 (minibuffer-completion-contents): Beware fields within the
1629 minibuffer contents.
1630 (completion-all-sorted-completions): Use defvar-local.
1631 (completion--do-completion, completion--cache-all-sorted-completions)
1632 (completion-all-sorted-completions, minibuffer-force-complete):
1633 Add args `beg' and `end'.
1634 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1635 (minibuffer-complete): Use completion-in-region.
1636 (completion-complete-and-exit): New fun, extracted from
1637 minibuffer-complete-and-exit.
1638 (minibuffer-complete-and-exit): Use it.
1639 (completion--complete-and-exit): Rename from
1640 minibuffer--complete-and-exit.
1641 (completion-in-region--single-word): New function, extracted from
1642 minibuffer-complete-word.
1643 (minibuffer-complete-word): Use it.
1644 (display-completion-list): Make `common-substring' argument obsolete.
1645 (completion--in-region): Call completion--in-region-1 instead of
1646 minibuffer-complete.
1647 (completion-help-at-point): Pass boundaries to
1648 minibuffer-completion-help as args rather than via an overlay.
1649 (completion-pcm--string->pattern): Use `any-delim'.
1650 (completion-pcm--optimize-pattern): New function.
1651 (completion-pcm--pattern->regex): Handle `any-delim'.
1652 * icomplete.el (icomplete-forward-completions)
1653 (icomplete-backward-completions, icomplete-completions):
1654 Adjust calls to completion-all-sorted-completions and
1655 completion--cache-all-sorted-completions.
1656 (icomplete-with-completion-tables): Default to t.
1657 * emacs-lisp/crm.el (crm--current-element): Rename from
1658 crm--select-current-element. Don't put an overlay but return the
1659 boundaries instead.
1660 (crm--completion-command): Take two new args to bind to the boundaries.
1661 (crm-completion-help): Adjust accordingly.
1662 (crm-complete): Use completion-in-region.
1663 (crm-complete-word): Use completion-in-region--single-word.
1664 (crm-complete-and-exit): Use completion-complete-and-exit.
1665
e17d94a5
SM
16662013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1669 than dynamically.
1670
96727100
JL
16712013-09-06 Juri Linkov <juri@jurta.org>
1672
1673 * info.el (Info-display-images-node): When image file doesn't exist
1674 display text version of the image if it's provided in the Info file.
1675 Otherwise, display the location of missing image from SRC attribute.
1676 Add help-echo text property from ALT attribute. (Bug#15279)
1677
86cf7329
SM
16782013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1681 (edit-abbrevs-mode): Use define-derived-mode.
1682
1683 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1684 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1685 that it's defined.
1686 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1687 Use define-derived-mode.
1688
1689 * epg.el (epg-start-encrypt): Minor CSE simplification.
1690
816244a2
WX
16912013-09-06 William Xu <william.xwl@gmail.com>
1692
1693 * arc-mode.el: Add support for 7za (bug#15264).
1694 (archive-7z-program): New var.
1695 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1696 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1697 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1698
1486fa31
MA
16992013-09-06 Michael Albinus <michael.albinus@gmx.de>
1700
1701 Remove URL syntax.
1702
1703 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1704 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1705 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1706 (tramp-postfix-host-format, tramp-file-name-regexp)
1707 (tramp-completion-file-name-regexp)
1708 (tramp-completion-dissect-file-name)
1709 (tramp-handle-substitute-in-file-name): Remove 'url case.
1710 (tramp-file-name-regexp-url)
1711 (tramp-completion-file-name-regexp-url): Remove constants.
1712
39785324
GM
17132013-09-06 Glenn Morris <rgm@gnu.org>
1714
1715 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1716
1f896cb7
DG
17172013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1718
1719 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1720 keywords" below "here-doc beginnings" (Bug#15270).
1721
c0458e0b
SM
17222013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * subr.el (pop): Use `car-safe'.
1725 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1726 to detect unused `pop' return value.
1727
1728 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1729 var `block-regexp'.
1730 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1731 (python-fill-string): Remove unused var `marker'.
1732 (python-skeleton-add-menu-items): Remove unused var `items'.
1733
1734 * international/mule-cmds.el: Require CL.
1735 (find-coding-systems-for-charsets): Avoid add-to-list.
1736 (sanitize-coding-system-list): New function, extracted from
1737 select-safe-coding-system-interactively.
1738 (select-safe-coding-system-interactively): Use it.
1739 (read-input-method-name): Accept symbols for `default'.
1740
1741 * emacs-lisp/advice.el (defadvice): Add indent rule.
1742
6c42fc3e
DH
17432013-09-05 Daniel Hackney <dan@haxney.org>
1744
1745 * dired-x.el:
1746 * net/ange-ftp.el:
1747 * net/browse-url.el:
1748 * net/dbus.el:
1749 * net/eudc.el:
1750 * net/eudcb-ldap.el:
1751 * net/eww.el:
1752 * net/imap.el:
1753 * printing.el:
1754 * vc/ediff-diff.el:
1755 * vc/ediff-init.el:
1756 * vc/ediff-merg.el:
1757 * vc/ediff-mult.el:
1758 * vc/ediff-util.el:
1759 * vc/ediff-wind.el:
1760 * vc/ediff.el:
1761 * vc/emerge.el:
1762 * vc/pcvs.el:
1763 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1764 byte compiler. Remove some unused let-bound variables.
1765
4c528aab
SM
17662013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1769 a "ref-cell", since it gets better optimized (bug#14883).
1770
bd15c390
GM
17712013-09-05 Glenn Morris <rgm@gnu.org>
1772
1773 * progmodes/cc-awk.el (c-forward-sws): Declare.
1774
1c3ac2e5
GM
17752013-09-04 Glenn Morris <rgm@gnu.org>
1776
1777 * generic-x.el [rul-generic-mode]: Require cc-mode.
1778 (c++-mode-syntax-table): Declare.
1779 (rul-generic-mode-syntax-table): Init in the defvar.
1780
52b1cc79
SM
17812013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1782
c828af56
SM
1783 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1784 (vc-do-command, vc-set-async-update):
1785 * vc/vc-mtn.el (vc-mtn-dir-status):
1786 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1787 (vc-hg-pull, vc-hg-merge-branch):
1788 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1789 (vc-git-merge-branch):
1790 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1791 (vc-cvs-dir-status-files):
1792 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1793 (vc-bzr-dir-status-files):
1794 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1795 * vc/vc-annotate.el: Use lexical-binding.
1796 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1797 (vc-sentinel-movepoint): Declare.
1798 (vc-annotate): Don't use `goto-line'.
1799 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1800 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1801 (vc-sentinel-movepoint): Declare.
1802 * vc/vc-svn.el: Use lexical-binding.
1803 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1804 * vc/vc-sccs.el:
1805 * vc/vc-rcs.el: Use lexical-binding.
1806
abae272c
SM
1807 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1808 `deleted'. Don't drop errors silently.
1809
52b1cc79
SM
1810 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1811
63191d9f
XF
18122013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1813
1814 * vc/vc.el (vc-ignore): Rewrite.
1815 (vc-default-ignore): New function.
1816 (vc-default-ignore-completion-table): Use find-ignore-file.
1817
1818 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1819 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1820 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1821 Remove. Most code moved to vc.el.
1822
9d3f707c
SM
18232013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1824
abae272c 1825 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
1826 * net/tramp-smb.el (tramp-smb-get-file-entries):
1827 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1828 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1829
fde38d49
SM
1830 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1831 Update call to it.
1832 (eww-change-select): Remove unused var `properties'.
1833 (eww-make-unique-file-name): Remove unused var `base'.
1834
1835 * finder.el (finder-compile-keywords): Don't mess with windows.
1836
84032db7
SM
1837 * calculator.el (calculator-funcall): Fix typo in last change.
1838
724f5e41
SM
1839 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1840
14b511d4
SM
1841 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1842 <pkg>-autoloads.el file stop us.
1843
9d3f707c 1844 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 1845 warnings, and factor out common code.
9d3f707c 1846
88527bc0
DG
18472013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1848
1849 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1850 two-character operators and whether the character preceding them
1851 changes their meaning (Bug#15208).
1852
96edb677
FEG
18532013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1854
1855 Format code sent to Python shell for robustness.
9d3f707c
SM
1856 * progmodes/python.el (python-shell-buffer-substring):
1857 New function.
96edb677
FEG
1858 (python-shell-send-region, python-shell-send-buffer): Use it.
1859
95beaef3
MA
18602013-09-02 Michael Albinus <michael.albinus@gmx.de>
1861
1862 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1863 * net/tramp.el (tramp-user-error): ... here.
1864 (tramp-find-method, tramp-check-proper-host)
1865 (tramp-dissect-file-name, tramp-debug-message)
1866 (tramp-handle-shell-command):
1867 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1868 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1869
1870 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1871
f167c27b
MR
18722013-09-02 Martin Rudalics <rudalics@gmx.at>
1873
1874 * avoid.el (mouse-avoidance-point-position)
1875 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1876 returns nil.
1877
cd16c5f1
FEG
18782013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1879
1880 * progmodes/python.el (python-shell-completion-get-completions):
1881 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 1882 (python-nav-if-name-main): New command.
cd16c5f1 1883
e73c3a0d
GM
18842013-09-01 Glenn Morris <rgm@gnu.org>
1885
f8ccce03
GM
1886 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1887 Avoid leading space in $wins. Otherwise the sed command used by
1888 eg compile-main ends up containing "/*.el". (Bug#15170)
1889
e73c3a0d
GM
1890 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1891
415f808e
GM
18922013-08-30 Glenn Morris <rgm@gnu.org>
1893
1894 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1895 Fix is-this-a-directory logic. (Bug#15220)
1896
f069bba8
SM
18972013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1898
112798c1
SM
1899 * textmodes/css-mode.el: Use SMIE.
1900 (css-smie-grammar): New var.
1901 (css-smie--forward-token, css-smie--backward-token)
1902 (css-smie-rules): New functions.
1903 (css-mode): Use them.
1904 (css-navigation-syntax-table): Remove var.
1905 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1906 (css-indent-calculate, css-indent-line): Remove functions.
1907
1908 Misc changes to reduce use of `(lambda...); and other cleanups.
1909 * cus-edit.el: Use lexical-binding.
1910 (customize-push-and-save, customize-apropos)
1911 (custom-buffer-create-internal): Use closures.
1912 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1913 * progmodes/ada-xref.el: Use setq.
1914 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1915 * dframe.el: Use lexical-binding.
1916 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1917 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1918 * descr-text.el: Use lexical-binding.
1919 (describe-text-widget, describe-text-sexp, describe-property-list):
1920 Use closures.
1921 * comint.el (comint-history-isearch-push-state): Use a closure.
1922 * calculator.el: Use lexical-binding.
1923 (calculator-number-to-string): Make it work with lexical-binding.
1924 (calculator-funcall): Same and use cl-letf.
1925
2da4c3ab
SM
1926 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1927 (lisp--company-doc-string, lisp--company-location): New functions.
1928 (lisp-completion-at-point): Use them to improve Company support.
1929
f069bba8
SM
1930 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1931 params of lambda expressions.
1932 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1933 (ruby-smie--opening-pipe-p): New function.
1934 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1935 symbols and matched |...| for formal params.
1936 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1937 from being treated as hanging. Handle "rescue".
1938
6758b6a8
GM
19392013-08-29 Glenn Morris <rgm@gnu.org>
1940
1941 * progmodes/cc-engine.el (c-pull-open-brace):
1942 Move definition before use.
1943
e8dfd197
SM
19442013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1947 are immutable. Don't use `unsafe' any more.
1948 (cl--defsubst-expand): Don't substitute at the same time as keeping
1949 a residual unused let-binding. Don't use `unsafe' any more.
1950
cc585c96
GM
19512013-08-29 Glenn Morris <rgm@gnu.org>
1952
ba579ea6
GM
1953 * calendar/cal-china.el (calendar-chinese-year-cache):
1954 Recenter on 2015.
1955
8201a87e
GM
1956 * nxml/nxml-util.el (nxml-debug-clear-inside):
1957 Use cl-loop rather than loop.
1958
6ee877c7
GM
1959 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1960
cc585c96
GM
1961 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1962
27be8d39
GM
19632013-08-28 Glenn Morris <rgm@gnu.org>
1964
397440a1
GM
1965 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1966
2bb762d4
GM
1967 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1968
27be8d39
GM
1969 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1970
2d69b99e
SM
19712013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1972
f663baa7
SM
1973 * simple.el (repeat-complex-command--called-interactively-skip):
1974 New function.
1975 (repeat-complex-command): Use it (bug#14136).
1976
dd4f8b74
SM
1977 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1978 (c-define-abbrev-table): Add `doc' argument.
1979 (c-mode-abbrev-table, c++-mode-abbrev-table)
1980 (objc-mode-abbrev-table, java-mode-abbrev-table)
1981 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1982 (awk-mode-abbrev-table): Use it.
1983 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1984 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1985 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1986 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1987 Move initialization into the declaration; and remove any
1988 autoload cookie.
1989
b58969f7
SM
1990 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1991 and dynamic let binding.
1992
4021d6a6
SM
1993 * vc/smerge-mode.el: Remove redundant :group args.
1994
2d69b99e
SM
1995 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1996 to load-path.
1997
274919fd
JL
19982013-08-28 Juri Linkov <juri@jurta.org>
1999
2000 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2001 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2002 (isearch-other-meta-char): Handle an undefined shifted printing
2003 character by downshifting it. (Bug#15200)
2004
121f8c95
JL
20052013-08-28 Juri Linkov <juri@jurta.org>
2006
2007 * isearch.el (isearch-search): Change regexp error message for
2008 non-regexp searches. (Bug#15166)
2009
50b13cde
PE
20102013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2011
2012 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2013 for portability to hosts where /bin/sh has problems.
2014
95888bca
SM
20152013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2018
bbe558f1
JL
20192013-08-27 Juri Linkov <juri@jurta.org>
2020
2021 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2022 in the keyboard macro. (Bug#15126)
2023
26f98a7d
JL
20242013-08-27 Juri Linkov <juri@jurta.org>
2025
2026 * isearch.el (isearch-quote-char): Comment out converting unibyte
2027 to multibyte, thus syncing with its `quoted-insert' counterpart.
2028 (Bug#15166)
2029
7c97d35e
MR
20302013-08-27 Martin Rudalics <rudalics@gmx.at>
2031
2032 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2033 argument in call of get-largest-window (Bug#15185).
2034 Reported by Stephen Leake.
7c97d35e 2035
a0b5606e 20362013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2037
2038 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2039
9e89d835
SM
20402013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2041
2042 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2043 from a matcher-function unless there's no more matches (bug#15161).
2044
78fc2530
MA
20452013-08-26 Michael Albinus <michael.albinus@gmx.de>
2046
2047 * minibuffer.el: Revert change from 2013-08-20.
2048
2049 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2050 with text property `tramp-default', if appropriate.
2051 (tramp-check-proper-host): New defun.
2052 (tramp-dissect-file-name): Do not check hostname. Revert change
2053 of 2013-03-18.
2054 (tramp-backtrace): Make VEC-OR-PROC optional.
2055
2056 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2057 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2058 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2059 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2060 Apply `tramp-check-proper-host'.
78fc2530 2061
edca97cd
TH
20622013-08-26 Tassilo Horn <tsdh@gnu.org>
2063
2064 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2065 lambda expression in order to have `describe-variable' display it.
2066
df54bcbd
MA
20672013-08-26 Michael Albinus <michael.albinus@gmx.de>
2068
2069 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2070 BUF can be optional. (Bug#15186)
2071
eed99101
XF
20722013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2073
2074 * progmodes/flymake.el (flymake-get-real-file-name-function):
2075 Fix broken customization. (Bug#15184)
2076
b5eb9035
AM
20772013-08-25 Alan Mackenzie <acm@muc.de>
2078
8a51e842
AM
2079 Improve indentation of bracelists defined by macros (without "=").
2080
2081 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2082 expansion begins with "{", regard it as bracelist when it doesn't
2083 contain a ";".
2084
869455d4
AM
2085 Parse C++ inher-intro when there's a template split over 2 lines.
2086
2087 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2088 rigorously the search for "class" etc. followed by ":".
2089
2090 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2091 random languages a regexp which never matches rather than nil.
2092
b5eb9035
AM
2093 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2094
2095 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2096 (c-awk-regexp-one-line-possibly-open-char-list-re)
2097 (c-awk-one-line-possibly-open-regexp-re)
2098 (c-awk-one-line-non-syn-ws*-re): Remove.
2099 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2100 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2101 (c-awk-space*-unclosed-regexp-/-re): New constants.
2102 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2103 aren't regexp delimiters.
2104
2105 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2106 handling for a rare situation in AWK Mode involving unterminated
2107 strings/regexps.
2108
61611d54
GM
21092013-08-23 Glenn Morris <rgm@gnu.org>
2110
2d85dc34
GM
2111 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2112
cb8d2612
GM
2113 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2114
bb35f42f
GM
2115 * files.el (create-file-buffer): If the result would begin with
2116 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2117
b9808e77
SM
21182013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2119
e3a66363
SM
2120 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2121 text-properties (bug#15155).
2122
b9808e77
SM
2123 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2124 exist any more.
2125 (calc-keypad-redraw): Remove unused var `pad'.
2126 (calc-keypad-press): Remove unused var `menu'.
2127
7fd5f65e
MR
21282013-08-23 Martin Rudalics <rudalics@gmx.at>
2129
b9808e77
SM
2130 * window.el (display-buffer-pop-up-frame):
2131 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2132 use it as the new frame's buffer (Bug#15133).
2133
8352b530
SM
21342013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2135
2136 * calendar/timeclock.el: Minor cleanups.
2137 (timeclock-ask-before-exiting, timeclock-use-display-time):
2138 Use `symbol'.
2139 (timeclock-modeline-display): Define as alias before the
2140 actual definition.
2141 (timeclock-mode-line-display): Use define-minor-mode.
2142 (timeclock-day-list-template): Make it a function, add an argument.
2143 (timeclock-day-list-required, timeclock-day-list-length)
2144 (timeclock-day-list-debt, timeclock-day-list-span)
2145 (timeclock-day-list-break): Adjust calls accordingly.
2146
9f7b1925
SM
21472013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2150 Use read--expression so that completion works again.
2151
6e50e983
SS
21522013-08-21 Sam Steingold <sds@gnu.org>
2153
2154 Add rudimentary inferior shell interaction
2155 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2156 (sh-set-shell): Reset it.
9f7b1925
SM
2157 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2158 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2159
dbb0d350
SM
21602013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * align.el: Use lexical-binding.
2163 (align-region): Simplify accordingly.
2164
c88586a9
MA
21652013-08-20 Michael Albinus <michael.albinus@gmx.de>
2166
2167 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2168
2169 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2170 `non-essential' up.
2171
f95527c8
MA
21722013-08-17 Michael Albinus <michael.albinus@gmx.de>
2173
2174 * net/tramp.el:
2175 * net/tramp-adb.el:
2176 * net/tramp-cmds.el:
2177 * net/tramp-ftp.el:
2178 * net/tramp-gvfs.el:
2179 * net/tramp-gw.el:
2180 * net/tramp-sh.el: Don't wrap external variable declarations by
2181 `eval-when-compile'.
2182
4b5fe4ee
LMI
21832013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2184
2185 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2186 now that Emacs supports ImageMagick animations.
2187
13c366c9
MA
21882013-08-16 Michael Albinus <michael.albinus@gmx.de>
2189
2190 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2191 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2192
3dfc5cd6
MR
21932013-08-16 Martin Rudalics <rudalics@gmx.at>
2194
2195 * window.el (mouse-autoselect-window-select): Do autoselect when
2196 mouse pointer is on margin.
2197
4bbb4381
WP
21982013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2199
2200 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2201
3a2ddc2d
GM
22022013-08-16 Glenn Morris <rgm@gnu.org>
2203
e8bedf5a
GM
2204 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2205 Handle "Remote Directory" response of some clients. (Bug#15058)
2206
58c4682f
GM
2207 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2208 Tweak warning. (Bug#14926)
2209
57953f49
GM
2210 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2211 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2212
3a2ddc2d
GM
2213 * image-mode.el (image-mode-map): Add menu items to reverse,
2214 increase, decrease, reset animation speed.
2215 (image--set-speed, image-increase-speed, image-decrease-speed)
2216 (image-reverse-speed, image-reset-speed): New functions.
2217 (image-mode-map): Add bindings for speed commands.
2218
2219 * image.el (image-animate-get-speed, image-animate-set-speed):
2220 New functions.
2221 (image-animate-timeout): Respect image :speed property.
2222
10fa0ed3
SM
22232013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2226 previous line (bug#15101).
2227 (debugger-eval-expression, debugger-record-expression):
2228 Use read--expression (bug#15102).
2229
5d89d9d2
MA
22302013-08-15 Michael Albinus <michael.albinus@gmx.de>
2231
2232 Remove byte compiler warnings, visible when compiling with
2233 `byte-compile-force-lexical-warnings' set to t.
2234
2235 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2236 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2237 (tramp-handle-unhandled-file-name-directory)
2238 (tramp-handle-file-notify-add-watch, tramp-action-login)
2239 (tramp-action-succeed, tramp-action-permission-denied)
2240 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2241 arguments with "_".
2242
2243 * net/tramp-adb.el (tramp-adb-parse-device-names)
2244 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2245 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2246 (tramp-adb-handle-file-truename): Remove unused arguments.
2247
2248 * net/tramp-cache.el (tramp-flush-directory-property)
2249 (tramp-flush-connection-property, tramp-list-connections)
2250 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2251
10fa0ed3
SM
2252 * net/tramp-compat.el (tramp-compat-make-temp-file):
2253 Rename FILENAME to F.
5d89d9d2
MA
2254
2255 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2256 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2257 (tramp-zeroconf-parse-workstation-device-names)
2258 (tramp-zeroconf-parse-webdav-device-names)
2259 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2260
2261 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2262 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2263
2264 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2265 arguments.
2266 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2267 (tramp-sh-handle-insert-file-contents-literally)
2268 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2269 with "_".
2270 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2271 Remove unused variables.
2272
2273 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2274 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2275 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2276
2277 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2278 Make them a defconst.
2279 (tramp-uuencode-region): Remove unused variable.
2280
62f33bae
JB
22812013-08-14 Juanma Barranquero <lekktu@gmail.com>
2282
2283 * frameset.el (frameset--prop-setter): New function.
2284 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2285 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2286 parameter was already set in FILTERED. Doc fix.
2287 (frameset--record-minibuffer-relationships): Allow saving a
2288 minibufferless frame without its corresponding minibuffer frame.
2289 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2290 frame, if the frame id matches.
2291 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2292 frames before orphaned ones.
2293 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2294
c660a885
MR
22952013-08-14 Martin Rudalics <rudalics@gmx.at>
2296
2297 * window.el (window-make-atom): Don't overwrite parameter
2298 already present.
2299 (display-buffer-in-atom-window): Handle special case where we
2300 split an already atomic window.
2301 (window--major-non-side-window, display-buffer-in-side-window)
2302 (window--side-check): Ignore minibuffer window when walking
2303 window tree.
2304 (window-deletable-p): Return 'frame only if no other frame uses
2305 our minibuffer window.
2306 (record-window-buffer): Run buffer-list-update-hook.
2307 (split-window): Make sure window--check-frame won't destroy an
2308 existing atomic window in case the new window gets nested
2309 inside.
2310 (display-buffer-at-bottom): Ignore minibuffer window when
2311 walking window tree. Don't split a side window.
2312 (pop-to-buffer): Don't set-buffer here, the select-window call
2313 should do that.
2314 (mouse-autoselect-window-select): Autoselect only if we are in the
2315 text portion of the window.
2316
8259030d
LMI
23172013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2318
21c58ae2
LMI
2319 * net/shr.el (shr-parse-image-data): New function to grab both the
2320 data itself and the Content-Type.
2321 (shr-put-image): Use it.
2322
2323 * net/eww.el (eww-display-image): Ditto.
2324
8259030d
LMI
2325 * image.el (image-content-type-suffixes): New variable.
2326
ad756449
FEG
23272013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2328
2329 * progmodes/python.el (python-imenu--build-tree)
2330 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2331
f73f4ce6
XF
23322013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2333
2334 * simple.el (backward-word): Mention the optional argument.
2335
1f585e65
SM
23362013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2337
2338 * frameset.el (frameset--make): Rename constructor from make-frameset.
2339 (frameset-p, frameset-valid-p): Don't autoload.
2340 (frameset-valid-p): Use normal accessors.
2341
af1c6c84
GM
23422013-08-13 Glenn Morris <rgm@gnu.org>
2343
55e47f95
GM
2344 * progmodes/compile.el (compile-command): Tweak example in doc.
2345 * obsolete/scribe.el (scribe-mode):
2346 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2347
f0024d8c
GM
2348 * mail/feedmail.el (feedmail-confirm-outgoing)
2349 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2350
2351 * cus-start.el (truncate-partial-width-windows): Fix type.
2352
2353 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2354
af1c6c84
GM
2355 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2356
5514cc4c
SM
23572013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * emacs-lisp/timer.el (timer--time-setter): New function.
2360 (timer--time): Use it as gv-setter.
2361
2362 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2363 setter is not a symbol.
2364
7997a2f1
GJ
23652013-08-12 Grégoire Jadi <daimrod@gmail.com>
2366
2367 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2368 if sending fails. This makes debugging easier.
2369
01f1a9ab
JB
23702013-08-12 Juanma Barranquero <lekktu@gmail.com>
2371
2372 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2373 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2374 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2375
594a4307
EZ
23762013-08-12 Eli Zaretskii <eliz@gnu.org>
2377
2378 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2379
7a22490f 23802013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2381
2382 * format.el (format-annotate-function):
2383 Handle read-only text properties in the source. (Bug#14887)
2384
3e41a054
LMI
23852013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2386
5514cc4c
SM
2387 * net/eww.el (eww-display-html): Ignore coding system errors.
2388 One web site uses "utf-8lias" as the coding system.
3e41a054 2389
7ec326db
JB
23902013-08-11 Juanma Barranquero <lekktu@gmail.com>
2391
2392 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2393
5660113b
JB
23942013-08-10 Juanma Barranquero <lekktu@gmail.com>
2395
9a4ebc74
JB
2396 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2397 (tutorial--detailed-help): Remove unused local variables.
2398 (tutorial--save-tutorial-to): Use ignore-errors.
2399 (help-with-tutorial): Use looking-at-p.
2400
2401 * view.el (view-buffer-other-window, view-buffer-other-frame):
2402 Mark unused arguments.
2403
2404 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2405 (woman-select-symbol-fonts, woman, woman-find-file)
2406 (woman-insert-file-contents, woman-non-underline-faces):
2407 Use string-match-p.
2408 (woman1-unquote): Move declaration.
2409
2410 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2411 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2412 argument. Remove unused local variable.
2413 (xml-parse-elem-type): Use string-match-p.
2414 (xml-substitute-numeric-entities): Use ignore-errors.
2415
45fdb482
JB
2416 * calculator.el (calculator): Mark unused argument.
2417 (calculator-paste, calculator-quit, calculator-integer-p):
2418 Use ignore-errors.
2419 (calculator-string-to-number, calculator-decimal, calculator-exp)
2420 (calculator-op-or-exp): Use string-match-p.
2421
2422 * dired.el (dired-buffer-more-recently-used-p): Declare.
2423 (dired-insert-set-properties, dired-insert-old-subdirs):
2424 Use ignore-errors.
2425
2426 * dired-aux.el (dired-compress): Use ignore-errors.
2427 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2428 (dired-do-async-shell-command, dired-do-shell-command)
2429 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2430 (dired-insert-subdir-validate): Use string-match-p.
2431 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2432 (dired-add-entry): Use string-match-p, looking-at-p.
2433 (dired-insert-subdir-newpos): Remove unused local variable.
2434
2435 * filenotify.el (file-notify-callback): Remove unused local variable.
2436
2437 * filesets.el (filesets-error): Mark unused argument.
2438 (filesets-which-command-p, filesets-filter-dir-names)
2439 (filesets-directory-files, filesets-get-external-viewer)
2440 (filesets-ingroup-get-data): Use string-match-p.
2441
2442 * find-file.el (ff-other-file-name, ff-other-file-name)
2443 (ff-find-the-other-file, ff-cc-hh-converter):
2444 Remove unused local variables.
2445 (ff-get-file-name): Use string-match-p.
2446 (ff-all-dirs-under): Use ignore-errors.
2447
2448 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2449 (follow-select-if-visible): Remove unused local variable.
2450
2451 * forms.el (read-file-filter): Move declaration.
2452 (forms--make-format, forms--make-parser, forms-insert-record):
2453 Quote function with #'.
2454 (forms--update): Use string-match-p. Quote function with #'.
2455
2456 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2457 (help-make-xrefs): Use looking-at-p.
2458 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2459
2460 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2461 (ibuffer-confirm-operation-on): Use string-match-p.
2462
2463 * msb.el (msb-item-handler, msb-dired-item-handler):
2464 Mark unused arguments.
2465
2466 * ses.el (ses-decode-cell-symbol)
2467 (ses-kill-override): Remove unused local variable.
2468 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2469 (ses-load): Use ignore-errors, looking-at-p.
2470 (ses-jump-safe): Use ignore-errors.
2471 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2472
2473 * tabify.el (untabify, tabify): Mark unused arguments.
2474
2475 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2476 Mark unused argument.
2477 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2478 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2479
c880af52
JB
2480 * emacs-lisp/timer.el (timer--time): Define setter with
2481 gv-define-setter to avoid deprecation warning.
2482
5660113b 2483 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2484 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2485 (cmpl-statistics-block): Remove (body was commented out).
2486 All callers changed.
2487 (add-completions-from-buffer, load-completions-from-file):
2488 Remove unused variables.
2489
156aab80
JB
24902013-08-09 Juanma Barranquero <lekktu@gmail.com>
2491
5c5dee78
JB
2492 * filecache.el (file-cache-delete-file-list):
2493 Print message only when told so.
2494 (file-cache-files-matching): Use #' in mapconcat argument.
2495
156aab80
JB
2496 * ffap.el (ffap-url-at-point): Fix reference to variable
2497 thing-at-point-default-mail-uri-scheme.
2498
ad9dcd70
SM
24992013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2500
54bd972f
SM
2501 * subr.el (define-error): New function.
2502 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2503 error-file-not-found and define with define-error.
2504 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2505 and define with define-error.
2506 * userlock.el (file-locked, file-supersession):
2507 * simple.el (mark-inactive):
2508 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2509 * progmodes/ada-mode.el (ada-mode-errors):
2510 * play/life.el (life-extinct):
2511 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2512 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2513 * nxml/rng-util.el (rng-error):
2514 * nxml/rng-uri.el (rng-uri-error):
2515 * nxml/rng-match.el (rng-compile-error):
2516 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2517 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2518 * nxml/nxml-rap.el (nxml-scan-error):
2519 * nxml/nxml-outln.el (nxml-outline-error):
2520 * net/soap-client.el (soap-error):
2521 * net/gnutls.el (gnutls-error):
2522 * net/ange-ftp.el (ftp-error):
2523 * mpc.el (mpc-proc-error):
2524 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2525 (json-number-format, json-string-escape, json-string-format)
2526 (json-key-format, json-object-format):
2527 * jka-compr.el (compression-error):
2528 * international/quail.el (quail-error):
2529 * international/kkc.el (kkc-error):
2530 * emacs-lisp/ert.el (ert-test-failed):
2531 * calc/calc.el (calc-error, inexact-result, math-overflow)
2532 (math-underflow):
2533 * bookmark.el (bookmark-error-no-filename):
2534 * epg.el (epg-error): Define with define-error.
2535
0ea9e53a
SM
2536 * time.el (display-time-event-handler)
2537 (display-time-next-load-average): Don't call sit-for since it seems
2538 unnecessary (bug#15045).
2539
b0429158
SM
2540 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2541 Use #' instead of ' to quote functions.
2542 (checkdoc-output-mode): Use setq-local.
2543 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2544 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2545 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2546 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2547 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2548 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2549 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2550 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2551
ad9dcd70
SM
2552 * ido.el (ido-completion-help): Fix up compiler warning.
2553
77187e6f
JB
25542013-08-09 Juanma Barranquero <lekktu@gmail.com>
2555
2556 * frameset.el (frameset-p): Add autoload cookie.
2557 (frameset--jump-to-register): New function, based on code moved from
2558 register.el.
2559 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2560
2561 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2562 (frameset-restore, frameset-save, frameset-session-filter-alist):
2563 Remove declarations.
2564 (register-alist): Doc fix.
2565 (frameset-to-register): Move to frameset.el.
2566 (jump-to-register, describe-register-1): Remove frameset-specific code.
2567
9d3aa82c
JB
25682013-08-08 Juanma Barranquero <lekktu@gmail.com>
2569
2570 * allout-widgets.el (allout-widgets-pre-command-business)
2571 (allout-widgets-post-command-business)
2572 (allout-widgets-after-change-handler)
2573 (allout-decorate-item-and-context, allout-set-boundary-marker)
2574 (allout-body-modification-handler)
2575 (allout-graphics-modification-handler): Mark ignored arguments.
2576 (allout-widgets-post-command-business)
2577 (allout-widgets-exposure-change-processor)
2578 (allout-widgets-exposure-undo-processor)
2579 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2580 (allout-parse-item-at-point, allout-decorate-item-guides)
2581 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2582 * allout.el (epa-passphrase-callback-function): Declare.
2583 (allout-overlay-insert-in-front-handler)
2584 (allout-overlay-interior-modification-handler)
2585 (allout-isearch-end-handler, allout-chart-siblings)
2586 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2587 (allout-yank-processing, allout-process-exposed)
2588 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 2589 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
2590 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2591 (lisp-indent-defform): Mark ignored arguments.
2592 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2593 (calculate-lisp-indent): Remove unused variables.
2594 * international/characters.el (indian-2-column, arabic-2-column)
2595 (tibetan): Mark ignored arguments.
2596 (use-cjk-char-width-table): Mark ignored arguments.
2597 Remove unused variables.
2598 * international/fontset.el (build-default-fontset-data)
2599 (x-compose-font-name, create-fontset-from-fontset-spec):
2600 Mark ignored arguments.
2601 (fontset-plain-name): Remove unused variables.
2602 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2603 (keyboard-coding-system): Mark ignored arguments.
2604 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2605 * help.el (resize-temp-buffer-window):
2606 * window.el (display-buffer-in-major-side-window)
2607 (display-buffer-in-side-window, display-buffer-in-previous-window):
2608 Remove unused variables.
2609 * isearch.el (isearch-forward-symbol):
2610 * version.el (emacs-bzr-version-bzr):
2611 * international/mule-cmds.el (current-language-environment):
2612 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2613 (x-handle-display):
2614 * term/pc-win.el (x-list-fonts, x-display-planes)
2615 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2616 (x-server-version, x-display-screens, x-display-mm-height)
2617 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2618 (x-selection-owner-p, x-own-selection-internal)
2619 (x-disown-selection-internal, x-get-selection-internal)
2620 (msdos-initialize-window-system):
2621 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2622 * term/x-win.el (x-handle-no-bitmap-icon):
2623 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2624 (vc-default-find-file-hook, vc-default-extra-menu):
2625 Mark ignored arguments.
2626
0ca3f70e
SM
26272013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2628
2629 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2630 break-condition in the context of the debugged code (bug#12685).
2631
74c5d24c
CS
26322013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2633
2634 * comint.el:
2635 Do not use an overlay to highlight the last prompt. (Bug#14744)
2636 (comint-mode): Make comint-last-prompt buffer local.
2637 (comint-last-prompt): New variable.
2638 (comint-last-prompt-overlay): Remove. Superseded by
2639 comint-last-prompt.
0ca3f70e
SM
2640 (comint-snapshot-last-prompt, comint-output-filter):
2641 Use comint-last-prompt.
74c5d24c 2642
c03c02ee
JB
26432013-08-08 Juanma Barranquero <lekktu@gmail.com>
2644
a3738d20 2645 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
2646 (frameset-save): Check validity of the resulting frameset.
2647
04263d23
XF
26482013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2649
2650 * ido.el (ido-record-command): Add doc string.
2651
76c5e5ab
JB
26522013-08-08 Juanma Barranquero <lekktu@gmail.com>
2653
2654 * frameset.el (frameset): Do not disable creation of the default
2655 frameset-p predicate. Doc fix.
2656 (frameset-valid-p): New function, copied from the old predicate-p.
2657 Add additional checks.
2658 (frameset-restore): Check with frameset-valid-p.
2659 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2660 (frameset-name, frameset-description, frameset-properties)
2661 (frameset-states): Add docstring.
f9dbf1cb
JB
2662 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2663 (frameset-filter-alist): Doc fixes.
76c5e5ab 2664
bd0c3c0b
JB
26652013-08-08 Juanma Barranquero <lekktu@gmail.com>
2666
2667 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2668
c735544c
SM
26692013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2672 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2673 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2674 (byte-compile-normal-call): Remove obsolescence check.
2675
2805a651
JB
26762013-08-08 Juanma Barranquero <lekktu@gmail.com>
2677
3677ffeb
JB
2678 * frameset.el (frameset-restore): Doc fix.
2679
2805a651
JB
2680 * register.el (frameset-frame-id, frameset-frame-with-id)
2681 (frameset-p, frameset-restore, frameset-save): Declare.
2682 (register-alist): Document framesets.
2683 (frameset-session-filter-alist): Declare.
2684 (frameset-to-register): New function.
2685 (jump-to-register): Implement jumping to framesets. Doc fix.
2686 (describe-register-1): Describe framesets.
2687
2688 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2689
a912c016
JB
26902013-08-07 Juanma Barranquero <lekktu@gmail.com>
2691
2692 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2693 Use lexical-binding.
2694
2695 * frameset.el (frameset): Use type vector, not list (incompatible
2696 change). Do not declare a new constructor, use the default one.
2697 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2698 `name' and `description', respectively, and add read-only slot
2699 `timestamp'. Doc fixes.
2700 (frameset-copy, frameset-persistent-filter-alist)
2701 (frameset-filter-alist, frameset-switch-to-gui-p)
2702 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2703 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2704 (frameset-filter-iconified, frameset-keep-original-display-p):
2705 Doc fixes.
2706 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2707 Rename from frameset-filter-(save|restore)-param. All callers changed.
2708 Doc fix.
2709 (frameset-p): Adapt to change to vector and be more thorough.
2710 Change arg name to OBJECT. Doc fix.
2711 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2712 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2713 All callers changed.
2714 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2715 All callers changed.
2716 (frameset--record-minibuffer-relationships): Rename from
2717 frameset--process-minibuffer-frames. All callers changed.
2718 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2719 Use new default constructor (again). Doc fix.
2720 (frameset--find-frame-if): Rename from `frameset--find-frame.
2721 All callers changed.
2722 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2723 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2724 Doc fix.
2725 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2726 PARAMETERS and WINDOW-STATE, respectively.
2727 (frameset-restore): Add new keyword argument PREDICATE.
2728 Reset frameset--target-display to nil. Doc fix.
2729
bb41480a
SM
27302013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2731
f001e98e
SM
2732 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2733 (bat-mode): Use it.
2734 (bat-mode-syntax-table): Mark \n as end-of-comment.
2735 (bat-font-lock-keywords): Remove comment rule.
2736
7679edb1
SM
2737 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2738 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2739
bb41480a
SM
2740 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2741 (byte-compile-callargs-warn): Use `push'.
2742 (byte-compile-arglist-warn): Ignore higher-order "calls".
2743 (byte-compile-file-form-autoload): Use `pcase'.
2744 (byte-compile-function-form): If quoting a symbol, check that it exists.
2745
cdc1ebb9
EZ
27462013-08-07 Eli Zaretskii <eliz@gnu.org>
2747
2748 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2749 and add a few popular commands found in batch files.
2750 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2751 (dos-mode): Doc fixes.
2752
312b1740
SM
27532013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2754
2755 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2756 (dos-mode): Use setq-local. Add space after "rem".
2757 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2758 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2759
400a3178
AM
27602013-08-07 Arni Magnusson <arnima@hafro.is>
2761
2762 * progmodes/dos.el: New file.
2763 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2764 dos-mode.
2765
3b5c03d3
GM
27662013-08-06 Glenn Morris <rgm@gnu.org>
2767
2768 * calendar/calendar.el: Add new faces, and day-header-array.
2769 (calendar-weekday-header, calendar-weekend-header)
2770 (calendar-month-header): New faces.
2771 (calendar-day-header-construct): New function.
2772 (calendar-day-header-width): Also :set calendar-day-header-array.
2773 (calendar-american-month-header, calendar-european-month-header)
2774 (calendar-iso-month-header): Use calendar- faces.
2775 (calendar-generate-month):
2776 Use calendar-day-header-array for day headers; apply faces to them.
2777 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2778 (calendar-abbrev-construct): Add optional maxlen argument.
2779 (calendar-day-name-array): Doc fix.
2780 (calendar-day-name-array, calendar-abbrev-length)
2781 (calendar-day-abbrev-array):
2782 Also :set calendar-day-header-array, and maybe redraw.
2783 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 2784 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
2785 (calendar-day-name): Add option to use header array.
2786
ec6a2d7a
LMI
27872013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2788
2789 * net/shr.el (shr-render-td): Remove debugging.
2790 (shr-render-td): Make width computation consistent by defaulting
2791 all zero-width columns to 10 characters. This may not be optimal,
2792 but it's at least consistent.
2122cb6d
LMI
2793 (shr-make-table-1): Redo last change to fix the real problem in
2794 colspan handling.
ec6a2d7a 2795
ed4fd9c5
DA
27962013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2797
0ca3f70e
SM
2798 * files.el (cache-long-line-scans):
2799 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 2800
64e22afe
JB
28012013-08-06 Juanma Barranquero <lekktu@gmail.com>
2802
024b38fc
JB
2803 * frameset.el (frameset, frameset-filter-alist)
2804 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2805 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2806 (frameset-compute-pos): Rename from frameset--compute-pos,
2807 and add docstring.
2808 (frameset-move-onscreen): Use frameset-compute-pos.
2809 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2810
64e22afe
JB
2811 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2812 Fix typos in docstrings.
2813
c8c2aca8
DA
28142013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2815
2816 * frame.el (get-other-frame): Tiny cleanup.
2817
1d237bba
JB
28182013-08-06 Juanma Barranquero <lekktu@gmail.com>
2819
8951efef
JB
2820 * vc/vc.el (vc-default-ignore-completion-table):
2821 Silence byte-compiler warning.
2822
307764cc
JB
2823 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2824 slot , which can indeed be nil.
2825 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2826 Move entry for `left' from persistent to live filter alist.
2827 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2828 Doc fixes.
2829 (frameset-filter-params): When restoring a frame, copy items added to
2830 `filtered', to avoid unwittingly modifying the original parameters.
2831 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2832 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2833
1d237bba
JB
2834 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2835 to use looking-at-p instead of looking-at. (Bug#15028)
2836
dc6c0eda
SM
28372013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2838
2839 Revert introduction of isearch-filter-predicates (bug#14714).
2840 Rely on add-function instead.
2841 * isearch.el (isearch-filter-predicates): Rename it back to
2842 isearch-filter-predicate.
2843 (isearch-message-prefix): Use advice-function-mapc and advice
2844 properties to get the isearch-message-prefix.
2845 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2846 instead of run-hook-with-args-until-failure.
2847 (isearch-filter-visible): Not obsolete any more.
2848 * loadup.el: Preload nadvice.
2849 * replace.el (perform-replace): Revert to funcall
2850 instead of run-hook-with-args-until-failure.
2851 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2852 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2853 dired-isearch-filenames-toggle; make it into a proper minor mode.
2854 Use add/remove-function.
2855 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2856 Call the minor-mode rather than add/remove-hook.
2857 (dired-isearch-filter-filenames):
2858 Remove isearch-message-prefix property.
2859 * info.el (Info--search-loop): New function, extracted from Info-search.
2860 Funcall isearch-filter-predicate instead of
2861 run-hook-with-args-until-failure isearch-filter-predicates.
2862 (Info-search): Use it.
2863 (Info-mode): Use isearch-filter-predicate instead of
2864 isearch-filter-predicates.
2865
290d5b58
DA
28662013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2867
2868 Do not call to `selected-window' where it is assumed by default.
2869 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2870 `window-hscroll', `window-width', `window-height', `window-buffer',
2871 `window-frame', `window-start', `window-point', `next-window'
2872 and `window-display-table'.
2873 * abbrev.el (abbrev--default-expand):
2874 * bs.el (bs--show-with-configuration):
2875 * buff-menu.el (Buffer-menu-mouse-select):
2876 * calc/calc.el (calc):
2877 * calendar/calendar.el (calendar-generate-window):
2878 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2879 (diary-make-entry):
2880 * comint.el (send-invisible, comint-dynamic-complete-filename)
2881 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2882 * completion.el (complete):
2883 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2884 * disp-table.el (describe-current-display-table):
2885 * doc-view.el (doc-view-insert-image):
2886 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2887 * ehelp.el (with-electric-help):
2888 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2889 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2890 * emacs-lisp/helper.el (Helper-help-scroller):
2891 * emulation/cua-base.el (cua--post-command-handler-1):
2892 * eshell/esh-mode.el (eshell-output-filter):
2893 * ffap.el (ffap-gnus-wrapper):
2894 * help-macro.el (make-help-screen):
2895 * hilit-chg.el (highlight-compare-buffers):
2896 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2897 * hl-line.el (global-hl-line-highlight):
2898 * icomplete.el (icomplete-simple-completing-p):
2899 * isearch.el (isearch-done):
2900 * jit-lock.el (jit-lock-stealth-fontify):
2901 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2902 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2903 * mpc.el (mpc-tagbrowser, mpc):
2904 * net/rcirc.el (rcirc-any-buffer):
2905 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2906 * play/landmark.el (landmark-max-width, landmark-max-height):
2907 * play/zone.el (zone):
2908 * progmodes/compile.el (compilation-goto-locus):
2909 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2910 * progmodes/etags.el (find-tag-other-window):
2911 * progmodes/fortran.el (fortran-column-ruler):
2912 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2913 * progmodes/verilog-mode.el (verilog-point-text):
2914 * reposition.el (reposition-window):
2915 * rot13.el (toggle-rot13-mode):
2916 * server.el (server-switch-buffer):
2917 * shell.el (shell-dynamic-complete-command)
2918 (shell-dynamic-complete-environment-variable):
2919 * simple.el (insert-buffer, set-selective-display)
2920 (delete-completion-window):
2921 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2922 (speedbar-recenter):
2923 * startup.el (fancy-splash-head):
2924 * textmodes/ispell.el (ispell-command-loop):
2925 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2926 * tutorial.el (help-with-tutorial):
2927 * vc/add-log.el (add-change-log-entry):
2928 * vc/compare-w.el (compare-windows):
2929 * vc/ediff-help.el (ediff-indent-help-message):
2930 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2931 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2932 (ediff-setup-control-frame):
2933 * vc/emerge.el (emerge-position-region):
2934 * vc/pcvs-util.el (cvs-bury-buffer):
2935 * window.el (walk-windows, mouse-autoselect-window-select):
2936 * winner.el (winner-set-conf, winner-undo): Related users changed.
2937
38276e01
JB
29382013-08-05 Juanma Barranquero <lekktu@gmail.com>
2939
2940 * frameset.el (frameset--set-id): Doc fix.
2941 (frameset-frame-id, frameset-frame-id-equal-p)
2942 (frameset-locate-frame-id): New functions.
2943 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2944 (frameset-restore): Use them.
2945
12b4c0ea
DA
29462013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2947
2948 Do not call to `selected-frame' where it is assumed by default.
2949 Affected functions are `raise-frame', `redraw-frame',
2950 `frame-first-window', `frame-terminal' and `delete-frame'.
2951 * calendar/appt.el (appt-disp-window):
2952 * epg.el (epg-wait-for-completion):
2953 * follow.el (follow-delete-other-windows-and-split)
2954 (follow-avoid-tail-recenter):
2955 * international/mule.el (set-terminal-coding-system):
2956 * mail/rmail.el (rmail-mail-return):
2957 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2958 * progmodes/f90.el (f90-add-imenu-menu):
2959 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2960 * server.el (server-switch-buffer):
2961 * simple.el (delete-completion-window):
2962 * talk.el (talk):
2963 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2964 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2965 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2966 * vc/ediff.el (ediff-documentation): Related users changed.
2967 * frame.el (selected-terminal): Remove the leftover.
2968
17f25e76
GM
29692013-08-05 Glenn Morris <rgm@gnu.org>
2970
2971 * calendar/calendar.el (calendar-generate-month):
2972 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
2973 (calendar-generate-month, calendar-font-lock-keywords):
2974 Fix for calendar-day-header-width > length of any day name.
17f25e76 2975
063233c3
JB
29762013-08-05 Juanma Barranquero <lekktu@gmail.com>
2977
2978 * desktop.el (desktop-clear): Use new name of sort predicate.
2979
2980 * frameset.el (frameset): Add docstring. Move :version property to its
2981 own `version' slot.
2982 (frameset-copy): Rename from copy-frameset.
2983 (frameset-p): Check more thoroughly.
2984 (frameset-prop): Do not check for :version, which is no longer a prop.
2985 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2986 Use new :never value instead of t.
2987 (frameset-filter-alist): Expand and clarify docstring.
2988 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2989 (frameset-filter-minibuffer, frameset-filter-save-param)
2990 (frameset-filter-restore-param, frameset-filter-iconified):
2991 Add pointer to docstring of frameset-filter-alist.
2992 (frameset-filter-params): Rename filter values to be more meaningful:
2993 :never instead of t, and reverse the meanings of :save and :restore.
2994 (frameset--process-minibuffer-frames): Clarify error message.
2995 (frameset-save): Avoid unnecessary and confusing call to framep.
2996 Use new BOA constructor for framesets.
2997 (frameset--reuse-list): Doc fix.
2998 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2999 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3000 (frameset-minibufferless-first-p): Doc fix.
3001 Rename from frameset-sort-frames-for-deletion.
3002 (frameset-restore): Doc fixes. Use new function names.
3003 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3004
d5671a82
JB
30052013-08-04 Juanma Barranquero <lekktu@gmail.com>
3006
3007 * desktop.el (desktop-restore-forces-onscreen)
3008 (desktop-restore-reuses-frames): Document :keyword constant values.
3009 (desktop-filter-parameters-alist): Remove, now identical to
3010 frameset-filter-alist.
3011 (desktop--filter-tty*): Remove, moved to frameset.el.
3012 (desktop-save-frameset, desktop-restore-frameset):
3013 Do not pass :filters argument.
3014
3015 * frameset.el (frameset-live-filter-alist)
3016 (frameset-persistent-filter-alist): New variables.
3017 (frameset-filter-alist): Use them. Add autoload cookie.
3018 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3019 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3020 `frameset--id' (it's supposed to be internal to frameset.el).
3021 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3022 (frameset--initial-params): New function.
3023 (frameset--get-frame): Use it. Doc fix.
3024 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3025 Accept :all, not 'all.
3026 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3027 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3028 with fbound symbols. Fix frame id matching, and remove matching ids if
3029 the frame being restored is deleted. Obey :delete.
3030
671d5c16
SM
30312013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3032
3033 * subr.el (macrop): New function.
3034 (text-clone--maintaining): New var.
3035 (text-clone--maintain): Rename from text-clone-maintain. Use it
3036 instead of inhibit-modification-hooks.
3037
3038 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3039 a proxy, so as handle autoloads and redefinitions of the target.
3040 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3041
3042 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3043 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3044 (pcase--mutually-exclusive-p): New function.
3045 (pcase--split-consp): Use it.
3046 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3047 mutually exclusive with the current predicate.
3048
3049 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3050 (edebug-macrop): Remove. Use `macrop' instead.
3051 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3052 (ad-macro-p):
3053 * eshell/esh-cmd.el (eshell-macrop):
3054 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3055
1d44e9dc
SM
30562013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3057
3058 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3059 (advice-mapc): New function, using it.
3060 (advice-function-member-p): New function.
3061 (advice--normalize): Store the cdr in advice--saved-rewrite since
3062 that's the part that will be changed.
3063 (advice--symbol-function): New function.
3064 (advice-remove): Handle removal before the function is defined.
3065 Adjust to new advice--saved-rewrite.
3066 (advice-member-p): Use advice-function-member-p and
3067 advice--symbol-function.
3068
5414a283
JB
30692013-08-04 Juanma Barranquero <lekktu@gmail.com>
3070
51d30f2c
JB
3071 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3072 (frameset-filter-minibuffer): Doc fix.
3073 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3074 (frameset--set-id, frameset--process-minibuffer-frames)
3075 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3076 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3077
5414a283
JB
3078 * desktop.el (desktop-clear): Only delete frames when called
3079 interactively and desktop-restore-frames is non-nil. Doc fix.
3080 (desktop-read): Set desktop-saved-frameset to nil.
3081
ab419665
XF
30822013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3083
3084 * vc/vc.el (vc-ignore): Rewrite.
3085 (vc-default-ignore-completion-table):
3086 (vc--read-lines):
3087 (vc--add-line, vc--remove-regexp): New functions.
3088
3089 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3090 (vc-svn-ignore-completion-table): New function.
3091
3092 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3093 (vc-hg-ignore-completion-table):
3094 (vc-hg-find-ignore-file): New functions.
3095
3096 * vc/vc-git.el (vc-git-ignore): Rewrite.
3097 (vc-git-ignore-completion-table):
3098 (vc-git-find-ignore-file): New functions.
3099
3100 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3101
3102 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3103 (vc-bzr-ignore-completion-table):
3104 (vc-bzr-find-ignore-file): New functions.
3105
2613dea2
JB
31062013-08-03 Juanma Barranquero <lekktu@gmail.com>
3107
3108 * frameset.el (frameset-prop): New function and setter.
3109 (frameset-save): Do not modify frame list passed by the caller.
3110
9c959872
SM
31112013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3114
a104f656
SM
31152013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3116
70122acf
SM
3117 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3118 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3119
a104f656
SM
3120 * custom.el (custom-initialize-default, custom-initialize-set)
3121 (custom-initialize-reset, custom-initialize-changed): Affect the
3122 toplevel-default-value (bug#6275, bug#14586).
3123 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3124 for bug#6275.
3125
f078d570
JB
31262013-08-02 Juanma Barranquero <lekktu@gmail.com>
3127
185e3b5a
JB
3128 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3129 Add cl-def* expressions.
3130
f078d570
JB
3131 * frameset.el (frameset-filter-params): Fix order of arguments.
3132
9421876d
JB
31332013-08-02 Juanma Barranquero <lekktu@gmail.com>
3134
3135 Move code related to saving frames to frameset.el.
3136 * desktop.el: Require frameset.
3137 (desktop-restore-frames): Doc fix.
3138 (desktop-restore-reuses-frames): Rename from
3139 desktop-restoring-reuses-frames.
3140 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3141 (desktop-clear): Clear frames too.
3142 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3143 (desktop--filter-tty*, desktop-save, desktop-read):
3144 Use frameset functions.
3145 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3146 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3147 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3148 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3149 (desktop--process-minibuffer-frames, desktop-save-frames)
3150 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3151 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3152 (desktop--sort-states, desktop-restoring-frames-p)
3153 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3154 (desktop-restoring-frameset-p, desktop-restore-frameset)
3155 (desktop--check-dont-save, desktop-save-frameset): New functions.
3156 (desktop--app-id): New constant.
3157 (desktop-first-buffer, desktop-buffer-ok-count)
3158 (desktop-buffer-fail-count): Move before first use.
3159 * frameset.el: New file.
3160
76dc5996
SM
31612013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * files.el: Use lexical-binding.
3164 (dir-locals-read-from-file): Remove unused `err' variable.
3165 (hack-dir-local-variables--warned-coding): New var.
3166 (hack-dir-local-variables): Use it to avoid repeated warnings.
3167 (make-backup-file-name--default-function): New function.
3168 (make-backup-file-name-function): Use it as default.
3169 (buffer-stale--default-function): New function.
3170 (buffer-stale-function): Use it as default.
3171 (revert-buffer-insert-file-contents--default-function): New function.
3172 (revert-buffer-insert-file-contents-function): Use it as default.
3173 (insert-directory): Avoid add-to-list.
3174
3175 * autorevert.el (auto-revert-handler): Simplify.
3176 Use buffer-stale--default-function.
3177
06d36e2b
TH
31782013-08-01 Tassilo Horn <tsdh@gnu.org>
3179
5f648ab4
TH
3180 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3181
06d36e2b
TH
3182 * whitespace.el (whitespace-ensure-local-variables): New function.
3183 (whitespace-cleanup-region): Call it.
3184 (whitespace-turn-on): Call it.
3185
a43dc424
MA
31862013-08-01 Michael Albinus <michael.albinus@gmx.de>
3187
3188 Complete file name handlers.
3189
3190 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3191 (tramp-handle-verify-visited-file-modtime)
3192 (tramp-handle-file-notify-rm-watch): New functions.
3193 (tramp-call-process): Do not bind `default-directory'.
3194
44e18199
JB
3195 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3196 Order alphabetically.
a43dc424
MA
3197 [access-file, add-name-to-file, dired-call-process]:
3198 [dired-compress-file, file-acl, file-notify-rm-watch]:
3199 [file-ownership-preserved-p, file-selinux-context]:
3200 [make-directory-internal, make-symbolic-link, set-file-acl]:
3201 [set-file-selinux-context, set-visited-file-modtime]:
3202 [verify-visited-file-modtime]: Add handler.
3203 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3204
3205 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3206 [file-notify-add-watch, file-notify-rm-watch]:
3207 [set-file-times, set-visited-file-modtime]:
3208 [verify-visited-file-modtime]: Add handler.
3209 (with-tramp-gvfs-error-message)
3210 (tramp-gvfs-handle-set-visited-file-modtime)
3211 (tramp-gvfs-fuse-file-name): Remove.
3212 (tramp-gvfs-handle-file-notify-add-watch)
3213 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3214 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3215
44e18199
JB
3216 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3217 Order alphabetically.
a43dc424
MA
3218 [file-notify-rm-watch ]: Use default Tramp handler.
3219 [executable-find]: Remove private handler.
3220 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3221 `default-directory'.
3222 (tramp-sh-handle-executable-find)
3223 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3224 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3225 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3226 Do not use `format' in `tramp-message'.
3227
3228 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3229 [file-notify-rm-watch, set-visited-file-modtime]:
3230 [verify-visited-file-modtime]: Add handler.
3231 (tramp-smb-call-winexe): Do not bind `default-directory'.
3232
7188b515
XF
32332013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3234
3235 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3236
2412ee1a
DG
32372013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3238
3239 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3240 use it.
3241 (log-view-diff-changeset): Same.
3242 (log-view-diff-common): Call backend command `previous-revision'
3243 to find out the previous revision, in both cases. Swap the
3244 variables `to' and `fr', so that `fr' usually refers to the
3245 earlier revision (Bug#14989).
3246
5002a754
KRC
32472013-07-31 Kan-Ru Chen <kanru@kanru.info>
3248
3249 * ibuf-ext.el (ibuffer-filter-by-filename):
3250 Make it work with dired buffers too.
3251
44e18199 32522013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3253
3254 * emacs-lisp/re-builder.el (reb-color-display-p):
3255 * files.el (save-buffers-kill-terminal):
3256 * net/browse-url.el (browse-url):
3257 * server.el (server-save-buffers-kill-terminal):
3258 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3259 Prefer nil to selected-frame for the first arg of frame-parameter.
3260
aeca3fbb
XF
32612013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3262
3263 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3264
158bc55c
SB
32652013-07-30 Stephen Berman <stephen.berman@gmx.net>
3266
3267 * minibuffer.el (completion--twq-all): Try and preserve each
3268 completion's case choice (bug#14907).
3269
d50fceab
LMI
32702013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3271
ac38e731
LMI
3272 * net/network-stream.el (open-network-stream): Mention the new
3273 :nogreeting parameter.
3274 (network-stream-open-starttls): Use the :nogreeting parameter
3275 (bug#14938).
3276
1211de50
LMI
3277 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3278
997798bf
LMI
3279 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3280 more natural than popping.
3281
d50fceab 3282 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3283 (shr-urlify): Highlight under mouse.
d50fceab 3284
5c09de04
XF
32852013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3286
207d1d04
XF
3287 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3288
3289 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3290
5c09de04
XF
3291 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3292 buffer for output.
3293
3cd51eaa
XF
3294 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3295 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3296
44e18199 3297 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3298 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3299
3300 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3301
3302 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3303 buffer for output.
3304
35a89bdd
EZ
33052013-07-29 Eli Zaretskii <eliz@gnu.org>
3306
3307 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3308 initial frame is minibuffer-less. (Bug#14841)
3309
78822e94
MA
33102013-07-29 Michael Albinus <michael.albinus@gmx.de>
3311
3312 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3313 option.
3314
3315 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3316 (tramp-maybe-open-connection): Use it.
3317
9503c190
JB
33182013-07-28 Juanma Barranquero <lekktu@gmail.com>
3319
3320 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3321 minimal set of parameters passed when creating a frame, because
3322 the minibuffer status of a frame cannot be changed later.
3323
d5a845b4
SB
33242013-07-28 Stephen Berman <stephen.berman@gmx.net>
3325
3326 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3327 replace-regexp-in-string and inadvertent omissions in previous change.
3328 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3329 name of filtered items buffer.
d5a845b4 3330
ddeffb17
JB
33312013-07-28 Juanma Barranquero <lekktu@gmail.com>
3332
3333 * desktop.el: Optionally force offscreen frames back onscreen.
3334 (desktop-restoring-reuses-frames): New option.
3335 (desktop--compute-pos, desktop--move-onscreen): New functions.
3336 (desktop--make-frame): Use desktop--move-onscreen.
3337
f5950f7a
AM
33382013-07-27 Alan Mackenzie <acm@muc.de>
3339
3340 Fontify a Java generic method as a function.
3341 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3342 value to t.
3343
ae43b66a
SB
33442013-07-27 Stephen Berman <stephen.berman@gmx.net>
3345
3346 * calendar/todo-mode.el: Add command to rename todo files.
3347 (todo-rename-file): New command.
3348 (todo-key-bindings-t): Add key binding for it. Change the
3349 bindings of todo-filter-regexp-items(-multifile) to use `x'
3350 instead of `r', since the latter is better suited to the new
3351 renaming command.
3352
5ab78d3d
AM
33532013-07-27 Alan Mackenzie <acm@muc.de>
3354
3355 Make Java try-with-resources statement parse properly.
3356 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3357 (c-block-stmt-1-2-key): New language constants/variables.
3358 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3359 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3360 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3361 with c-block-stmt-1-2-key.
5ab78d3d 3362
d85c4d50
JB
33632013-07-27 Juanma Barranquero <lekktu@gmail.com>
3364
3365 * desktop.el (desktop--make-frame): Apply most frame parameters after
3366 creating the frame to force (partially or totally) offscreen frames to
3367 be restored as such.
3368
e4c467f9
XF
33692013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3370
3371 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3372 (Bug#14948)
e4c467f9 3373
7ced0d04
SM
33742013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3375
3376 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3377 `base' arg of backtrace-frame.
3378
fec92060
EZ
33792013-07-26 Eli Zaretskii <eliz@gnu.org>
3380
3381 * simple.el (list-processes): Doc fix.
3382
d58d31fb
JB
33832013-07-26 Juanma Barranquero <lekktu@gmail.com>
3384
3385 * desktop.el (desktop--select-frame):
d85c4d50 3386 Try harder to reuse existing frames.
d58d31fb 3387
53ff3e77
SM
33882013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3391 (edebug-eval): Use backtrace-eval.
3392 (edebug--display, edebug--recursive-edit): Don't let-bind the
3393 edebug-outer-* vars that keep track of variables we locally let-bind.
3394 (edebug-outside-excursion): Don't restore outside values of locally
3395 let-bound vars.
3396 (edebug--display): Use user-error.
3397 (cl-lexical-debug, cl-debug-env): Remove.
3398
045f7a53
JB
33992013-07-26 Juanma Barranquero <lekktu@gmail.com>
3400
3401 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3402 are restored to be sure that they are visible before deleting any
3403 remaining ones.
3404
59070b32
MM
34052013-07-26 Matthias Meulien <orontee@gmail.com>
3406
742a3501
XF
3407 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3408 vc-print-root-log. (Bug#14948)
59070b32 3409
b1fb3596
RS
34102013-07-26 Richard Stallman <rms@gnu.org>
3411
3412 Add aliases for encrypting mail.
3413 * epa.el (epa-mail-aliases): New option.
3414 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3415 Bind inhibit-read-only so read-only text doesn't ruin everything.
3416 (epa-mail-default-recipients): New subroutine broken out.
3417 Handle epa-mail-aliases.
3418
56ea7291
SM
34192013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 Add support for lexical variables to the debugger's `e' command.
3422 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3423 vars, except for debugger-outer-match-data.
3424 (debugger-frame-number): Move check for "on a function call" from
3425 callers into it. Add `skip-base' argument.
3426 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3427 (debugger-env-macro): Only reset the state stored in non-variables,
3428 i.e. current-buffer and match-data.
3429 (debugger-eval-expression): Rewrite using backtrace-eval.
3430 * subr.el (internal--called-interactively-p--get-frame): Remove.
3431 (called-interactively-p):
3432 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3433 `base' arg of backtrace-frame instead.
3434
15ac32d5
GM
34352013-07-26 Glenn Morris <rgm@gnu.org>
3436
8358a09d
GM
3437 * align.el (align-regexp): Doc fix. (Bug#14857)
3438 (align-region): Explicit error if subexpression missing/does not match.
3439
15ac32d5
GM
3440 * simple.el (global-visual-line-mode):
3441 Do not duplicate the mode lighter. (Bug#14858)
3442
f47ad11b
MR
34432013-07-25 Martin Rudalics <rudalics@gmx.at>
3444
3445 * window.el (display-buffer): In display-buffer bind
3446 split-window-keep-point to t, bug#14829.
3447
02530987
JB
34482013-07-25 Juanma Barranquero <lekktu@gmail.com>
3449
3450 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3451 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3452 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3453 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3454 Change accordingly.
f63ebeb5
JB
3455 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3456 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3457
6ccb9cab 34582013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3459
6ccb9cab 3460 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3461
cb3a56d2
JB
34622013-07-25 Juanma Barranquero <lekktu@gmail.com>
3463
3464 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3465 parameter to modify-frame-parameters if the value has not changed;
3466 this is a workaround for bug#14949.
3467 (desktop--make-frame): On cl-delete-if call, check parameter name,
3468 not full parameter.
3469
7aa7fff0
XF
34702013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3471
3472 * vc/vc.el (vc-ignore): New function.
3473
3474 * vc/vc-svn.el (vc-svn-ignore): New function.
3475
3476 * vc/vc-hg.el (vc-hg-ignore): New function.
3477
3478 * vc/vc-git.el (vc-git-ignore): New function.
3479
3480 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3481 (vc-dir-ignore): New function.
3482
3483 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3484 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3485
3486 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3487
3488 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3489
889acc5c
JB
34902013-07-24 Juanma Barranquero <lekktu@gmail.com>
3491
3492 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3493 (desktop-restore-frames): Warn when deleting an existing frame failed.
3494
86c40970
GM
34952013-07-24 Glenn Morris <rgm@gnu.org>
3496
3497 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3498
d5d3c58a
MA
34992013-07-24 Michael Albinus <michael.albinus@gmx.de>
3500
3501 * filenotify.el (file-notify-supported-p):
3502 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3503 Remove functions.
3504
3505 * autorevert.el (auto-revert-use-notify):
3506 (auto-revert-notify-add-watch):
3507 * net/tramp.el (tramp-file-name-for-operation):
3508 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3509 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3510 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3511 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3512 Remove `file-notify-supported-p' entry.
3513
d100084b
GM
35142013-07-24 Glenn Morris <rgm@gnu.org>
3515
3516 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3517 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3518
ac93e56b
SM
35192013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3520
249eea30
SM
3521 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3522 checked with memq (bug#14935).
3523
ac93e56b
SM
3524 * files.el (revert-buffer-function): Use a non-nil default.
3525 (revert-buffer-preserve-modes): Declare var to
3526 provide access to the `preserve-modes' argument.
3527 (revert-buffer): Let-bind it.
3528 (revert-buffer--default): New function, extracted from revert-buffer.
3529
2cdeb903
SM
35302013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * lpr.el: Signal print errors more prominently.
3533 (print-region-function): Don't default to nil.
3534 (lpr-print-region): New function, extracted from print-region-1.
3535 Check lpr's return value and signal an error in case of problem.
3536 (print-region-1): Use it.
3537 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3538 versions instead.
3539 (ps-printer-name): Default to nil.
3540 (ps-printer-name-option): Default to lpr-printer-switch.
3541 (ps-print-region-function): Don't default to nil.
3542 (ps-postscript-code-directory): Simplify default.
3543 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3544 (ps-string-list, ps-eval-switch, ps-flatten-list)
3545 (ps-flatten-list-1): Remove.
3546 (ps-multibyte-buffer): Avoid setq.
3547 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3548 (print-region-function, ps-print-region-function): Don't set them here.
3549
73600831
XF
35502013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3551
0e55c076
XF
3552 * ido.el (ido-fractionp):
3553 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3554 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3555 (ido-max-directory-size, ido-max-dir-file-cache)
3556 (ido-decorations): Doc fix.
3557
73600831
XF
3558 * ansi-color.el: Fix old URL.
3559
3d012865
MM
35602013-07-23 Michael R. Mauger <michael@mauger.com>
3561
e903c210 3562 * progmodes/sql.el: Version 3.3
3d012865
MM
3563 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3564 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3565 (sql-interactive-remove-continuation-prompt): Rewrite, use
3566 functions above. Fix continuation prompt and complete output line
3567 handling.
3568 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3569 redirected output buffer.
3570 (sql-mode): Restore deleted code (Bug#13591).
3571
da77a2e2
JB
35722013-07-23 Juanma Barranquero <lekktu@gmail.com>
3573
3574 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3575
80ff0c71
MA
35762013-07-23 Michael Albinus <michael.albinus@gmx.de>
3577
3578 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3579
3580 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3581 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3582 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3583
b61d71e4
JB
35842013-07-23 Juanma Barranquero <lekktu@gmail.com>
3585
3586 * desktop.el (desktop-clear): Simplify; remove useless checks
3587 against invalid buffer names.
3588 (desktop-list*): Use cl-list*.
3589 (desktop-buffer-info, desktop-create-buffer): Simplify.
3590
c3512092
LL
35912013-07-23 Leo Liu <sdl.web@gmail.com>
3592
3593 * bookmark.el (bookmark-make-record): Restore NAME as a default
3594 value. (Bug#14933)
3595
0ac26976
SM
35962013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3597
7d22ce18
SM
3598 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3599 extracted from autoload--insert-text.
3600 (autoload--insert-text): Remove.
3601 (autoload--print-cookie-text): New function, extracted from
3602 autoload--insert-cookie-text.
3603 (autoload--insert-cookie-text): Remove.
3604 (autoload-generate-file-autoloads): Adjust calls accordingly.
3605
9b2607e8
SM
3606 * winner.el (winner-hook-installed-p): Remove.
3607 (winner-mode): Simplify accordingly.
3608
c43a8618
SM
3609 * subr.el (add-to-list): Fix compiler-macro when `append' is
3610 not constant. Don't use `cl-member' for the base case.
3611
0ac26976
SM
3612 * progmodes/subword.el: Fix boundary case (bug#13758).
3613 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3614 own group.
3615 (subword-backward-regexp): Make it a constant.
3616 (subword-forward-internal): Don't treat a trailing capital as the
3617 beginning of a word.
3618
6874724a
AR
36192013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3620
3621 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3622 global value of tabulated-list-revert-hook (bug#14930).
3623
70f1b5e8
JB
36242013-07-22 Juanma Barranquero <lekktu@gmail.com>
3625
a1c80d9d
JB
3626 * desktop.el: Require 'cl-lib.
3627 (desktop-before-saving-frames-functions): New hook.
3628 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3629 for frames being saved. Rename from desktop--save-minibuffer-frames.
3630 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
3631 Do not save frames with non-nil `desktop-dont-save' parameter.
3632 Filter out deleted frames.
a1c80d9d
JB
3633 (desktop--find-frame): Use cl-find-if.
3634 (desktop--select-frame): Use cl-(first|second|third) to access values
3635 of desktop-mini.
3636 (desktop--make-frame): Use cl-delete-if.
3637 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3638 (desktop-restore-frames): Use cl-(first|second|third) to access values
3639 of desktop-mini. Look for visible frame at the end, not while
3640 restoring frames.
3641
70f1b5e8
JB
3642 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3643 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3644 Use string-match-p, looking-at-p (bug#14927).
3645
728dc3cc
JB
36462013-07-21 Juanma Barranquero <lekktu@gmail.com>
3647
56bc453c
JB
3648 * desktop.el (desktop-saved-frame-states):
3649 Rename from desktop--saved-states; all users changed.
3650 (desktop-save-frames): Rename from desktop--save-frames.
3651 Do not save state to desktop file.
3652 (desktop-save): Save desktop-saved-frame-states to desktop file
3653 and reset to nil.
3654 (desktop-restoring-frames-p): New function.
3655 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3656 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3657 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3658
728dc3cc
JB
3659 * desktop.el: Correctly restore iconified frames.
3660 (desktop--filter-iconified-position): New function.
3661 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3662
862f1c9c
GM
36632013-07-20 Glenn Morris <rgm@gnu.org>
3664
c4074c9f
GM
3665 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3666 Let `message' do the formatting.
3667 (def-gdb-preempt-display-buffer): Add explicit format.
3668
d828e5f9
GM
3669 * image-dired.el (image-dired-track-original-file):
3670 Use with-current-buffer.
3671 (image-dired-track-thumbnail): Use with-current-buffer.
3672 Avoid changing point of wrong window.
3673
862f1c9c
GM
3674 * image-dired.el (image-dired-track-original-file):
3675 Avoid changing point of wrong window. (Bug#14909)
3676
f0398ec1 36772013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
3678
3679 * progmodes/gdb-mi.el (gdb-done-or-error):
3680 Guard against "%" in gdb output. (Bug#14127)
3681
1451928f
AS
36822013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3683
763a086d
JB
3684 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3685 (Bug#14826)
f7a03897 3686
1451928f
AS
3687 * international/mule.el (coding-system-iso-2022-flags): Fix last
3688 change.
3689
99107004
KH
36902013-07-20 Kenichi Handa <handa@gnu.org>
3691
763a086d
JB
3692 * international/mule.el (coding-system-iso-2022-flags):
3693 Add `8-bit-level-4'. (Bug#8522)
99107004 3694
48494e06
LMI
36952013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3696
8ba8eec5
LMI
3697 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3698 (bug#14815).
3699
dfbc66e3
LMI
3700 * net/eww.el (eww-process-text-input): Allow inputting when the
3701 point is at the start of the line, as the properties aren't
3702 front-sticky.
3703
48494e06
LMI
3704 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3705 degenerate widths.
3706
77c92cb9
RS
37072013-07-19 Richard Stallman <rms@gnu.org>
3708
aec7da77
RS
3709 * epa.el (epa-popup-info-window): Doc fix.
3710
77c92cb9
RS
3711 * subr.el (split-string): New arg TRIM.
3712
945c5bb1
JB
37132013-07-18 Juanma Barranquero <lekktu@gmail.com>
3714
3715 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3716 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3717
e06ec67f
MA
37182013-07-18 Michael Albinus <michael.albinus@gmx.de>
3719
c7064f05 3720 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
3721 `file-notify-support'. Do not autoload. Adapt all uses.
3722 (file-notify-supported-p): New defun.
3723
c7064f05
JB
3724 * autorevert.el (auto-revert-use-notify):
3725 Use `file-notify-supported-p' instead of `file-notify-support'.
3726 Adapt docstring.
e06ec67f
MA
3727 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3728
3729 * net/tramp.el (tramp-file-name-for-operation):
3730 Add `file-notify-supported-p'.
3731
3732 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3733 New defun.
3734 (tramp-sh-file-name-handler-alist): Add it as handler for
3735 `file-notify-supported-p '.
3736
3737 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3738 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3739 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3740 Add `ignore' as handler for `file-notify-*' functions.
3741
5dc8a629
EZ
37422013-07-17 Eli Zaretskii <eliz@gnu.org>
3743
3744 * simple.el (line-move-partial, line-move): Don't start vscroll or
3745 scroll-up if the current line is not taller than the window.
3746 (Bug#14881)
3747
77aea2fb
DG
37482013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3749
3750 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3751 highlight question marks in the method names as strings.
ac72c08d
DG
3752 (ruby-block-beg-keywords): Inline.
3753 (ruby-font-lock-keyword-beg-re): Extract from
3754 `ruby-font-lock-keywords'.
77aea2fb 3755
18c26d81
JD
37562013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3757
3758 * frame.el (blink-cursor-blinks): New defcustom.
3759 (blink-cursor-blinks-done): New defvar.
3760 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3761 (blink-cursor-timer-function): Check if number of blinks has been
3762 done on X and NS.
3763 (blink-cursor-suspend, blink-cursor-check): New defuns.
3764
da48522e
GM
37652013-07-15 Glenn Morris <rgm@gnu.org>
3766
3767 * edmacro.el (edmacro-format-keys): Fix previous change.
3768
0463c1ef
PE
37692013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3770
3771 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3772 The hack didn't work outside English locales anyway.
3773
b43f6451
JB
37742013-07-15 Juanma Barranquero <lekktu@gmail.com>
3775
3776 * simple.el (define-alternatives): Rename from alternatives-define,
3777 per RMS' suggestion.
3778
b958c0ad
JB
37792013-07-14 Juanma Barranquero <lekktu@gmail.com>
3780
3781 * desktop.el (desktop-restore-frames): Change default to t.
3782 (desktop-restore-in-current-display): Now offer more options.
3783 (desktop-restoring-reuses-frames): New customization option.
3784 (desktop--saved-states): Doc fix.
3785 (desktop-filter-parameters-alist): New variable, renamed and expanded
3786 from desktop--excluded-frame-parameters.
3787 (desktop--target-display): New variable.
3788 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3789 (desktop--filter-tty*, desktop--filter-*-color)
3790 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3791 (desktop--filter-save-desktop-parm)
3792 (desktop-restore-in-original-display-p): New functions.
3793 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3794 (desktop--save-minibuffer-frames): New function, inspired by a similar
3795 function from Martin Rudalics.
3796 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3797 (desktop--restore-in-this-display-p): Remove.
3798 (desktop--find-frame): Rename from desktop--find-frame-in-display
3799 and add predicate argument.
3800 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3801 (desktop--reuse-list): New variable.
3802 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3803 New functions.
3804 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3805
f6dd8b36
MA
38062013-07-14 Michael Albinus <michael.albinus@gmx.de>
3807
3808 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3809
2ce3c565
DG
38102013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3811
763a086d
JB
3812 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3813 Highlight conversion methods on Kernel.
2ce3c565 3814
2cdb7698
AM
38152013-07-13 Alan Mackenzie <acm@muc.de>
3816
3817 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3818 and comment it out. This out-commenting enables certain C++
3819 declarations to be parsed correctly.
3820
1a67b811
EZ
38212013-07-13 Eli Zaretskii <eliz@gnu.org>
3822
1b796d6b
EZ
3823 * international/mule.el (define-coding-system): Doc fix.
3824
1a67b811
EZ
3825 * simple.el (default-font-height): Don't call font-info if the
3826 frame's default font didn't change since the frame was created.
3827 (Bug#14838)
3828
58fbe886
LL
38292013-07-13 Leo Liu <sdl.web@gmail.com>
3830
3831 * ido.el (ido-read-file-name): Guard against non-symbol value.
3832
1f0480d4
FEG
38332013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3834
3835 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3836 in nested defuns.
3837
97ead0e5
LL
38382013-07-13 Leo Liu <sdl.web@gmail.com>
3839
3840 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3841 ido-set-matches call. (Bug#6852)
3842
0880a952
DG
38432013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3844
3845 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3846 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3847 Ruby 2.0.
3848 (ruby-font-lock-keywords): Distinguish calls to functions with
3849 module-like names from module references. Highlight character
3850 literals.
3851
a7d8babb
SDJ
38522013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3853
3854 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 3855 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 3856
acfcc8c5
JB
38572013-07-12 Juanma Barranquero <lekktu@gmail.com>
3858
3859 * desktop.el (desktop--v2s): Remove unused local variable.
3860 (desktop-save-buffer): Make defvar-local; adjust docstring.
3861 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3862 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3863
051f2775
AS
38642013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3865
3866 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3867
f24e7572
GM
38682013-07-12 Eli Zaretskii <eliz@gnu.org>
3869
3870 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3871 (Bug#14842)
3872
539a920c
GM
38732013-07-12 Glenn Morris <rgm@gnu.org>
3874
3875 * doc-view.el: Require cl-lib at runtime too.
3876 (doc-view-remove-if): Remove.
3877 (doc-view-search-next-match, doc-view-search-previous-match):
3878 Use cl-remove-if.
3879
3880 * edmacro.el: Require cl-lib at runtime too.
3881 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3882 (edmacro-mismatch, edmacro-subseq): Remove.
3883
3884 * shadowfile.el: Require cl-lib.
3885 (shadow-remove-if): Remove.
3886 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3887 Use cl-remove-if.
3888
3889 * wid-edit.el: Require cl-lib.
3890 (widget-choose): Use cl-remove-if.
3891 (widget-remove-if): Remove.
3892
3893 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3894 (ebrowse-delete-if-not): Remove.
3895 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3896 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3897 Use cl-delete-if-not.
3898
1048af7c
JB
38992013-07-12 Juanma Barranquero <lekktu@gmail.com>
3900
3901 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3902 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3903
6c0674ee
LL
39042013-07-12 Leo Liu <sdl.web@gmail.com>
3905
3906 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3907
a19b3c2d
GM
39082013-07-11 Glenn Morris <rgm@gnu.org>
3909
4582a01c
GM
3910 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3911 (edebug-gensym-index, edebug-gensym):
3912 Remove reimplementation of cl-gensym.
3913 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3914
3915 * thumbs.el: Require cl-lib at run-time too.
3916 (thumbs-gensym-counter, thumbs-gensym):
3917 Remove reimplementation of cl-gensym.
3918 (thumbs-temp-file): Use cl-gensym.
3919
a19b3c2d
GM
3920 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3921 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3922 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3923 (ert--union, ert--gensym-counter, ert--gensym-counter)
3924 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3925 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3926 (ert-make-test-unbound, ert--expand-should-1)
3927 (ert--expand-should, ert--should-error-handle-error)
3928 (should-error, ert--explain-equal-rec)
3929 (ert--plist-difference-explanation, ert-select-tests)
3930 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3931 Use cl-lib functions rather than reimplementations.
3932
88f6a933
MA
39332013-07-11 Michael Albinus <michael.albinus@gmx.de>
3934
3935 * net/tramp.el (tramp-methods): Extend docstring.
3936 (tramp-connection-timeout): New defcustom.
3937 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3938 (with-tramp-progress-reporter): Simplify.
3939 (tramp-process-actions): Improve messages.
3940
3941 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3942 * net/tramp-sh.el (tramp-maybe-open-connection):
3943 Use `tramp-connection-timeout'.
3944 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3945 (Bug#14808)
3946
a43d577e
LL
39472013-07-11 Leo Liu <sdl.web@gmail.com>
3948
3949 * ido.el (ido-read-file-name): Conform to the requirements of
3950 read-file-name. (Bug#11861)
3951 (ido-read-directory-name): Conform to the requirements of
3952 read-directory-name.
3953
d77974bf
JB
39542013-07-11 Juanma Barranquero <lekktu@gmail.com>
3955
3956 * subr.el (delay-warning): New function.
3957
35cb8a3e
EZ
39582013-07-10 Eli Zaretskii <eliz@gnu.org>
3959
3960 * simple.el (default-line-height): New function.
3961 (line-move-partial, line-move): Use it instead of computing the
3962 line height inline.
3963 (line-move-partial): Always compute ROWH. If the last line is
3964 partially-visible, but its text is completely visible, allow
3965 cursor to enter such a partially-visible line.
3966
525c5c77
MA
39672013-07-10 Michael Albinus <michael.albinus@gmx.de>
3968
3969 Improve error messages. (Bug#14808)
3970
3971 * net/tramp.el (tramp-current-connection): New defvar, moved from
3972 tramp-sh.el.
0ac26976 3973 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 3974 needed anymore.
0ac26976
SM
3975 (tramp-error-with-buffer): Show message in minibuffer.
3976 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
3977 (with-tramp-progress-reporter): Improve messages.
3978 (tramp-process-actions): Use progress reporter. Delete process in
3979 case of error. Improve messages.
3980
763a086d
JB
3981 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3982 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 3983 (tramp-current-connection): Remove.
525c5c77
MA
3984 (tramp-maybe-open-connection): The car of
3985 `tramp-current-connection' are the first 3 slots of the vector.
3986
c7a4d368
TZ
39872013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3988
3989 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3990 inside continued strings.
3991
954b166e
PE
39922013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3993
3994 Timestamp fixes for undo (Bug#14824).
3995 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3996
56973319
LL
39972013-07-10 Leo Liu <sdl.web@gmail.com>
3998
3999 * files.el (require-final-newline): Allow safe local value.
4000 (Bug#14834)
4001
5550a72c
LL
40022013-07-09 Leo Liu <sdl.web@gmail.com>
4003
4004 * ido.el (ido-read-directory-name): Handle fallback.
4005 (ido-read-file-name): Update DIR to ido-current-directory.
4006 (Bug#1516)
c28b9050 4007 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4008
70c46b28
DG
40092013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4010
4011 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4012 "autoload". Remove "warn lower camel case" section, previously
4013 commented out. Highlight negation char. Do not highlight the
4014 target in singleton method definitions.
4015
0b64b838
SM
40162013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4017
7fd72e2c
SM
4018 * faces.el (tty-setup-hook): Declare the hook.
4019
0b64b838
SM
4020 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4021 and detect when a guard/pred depends on local vars (bug#14773).
4022 (pcase--u1): Adjust caller.
4023
ab49d60b
EZ
40242013-07-08 Eli Zaretskii <eliz@gnu.org>
4025
4026 * simple.el (line-move-partial, line-move): Account for
4027 line-spacing.
701d79aa
EZ
4028 (line-move-partial): Avoid setting vscroll when the last
4029 partially-visible line in window is of default height.
ab49d60b 4030
2d756ae0
LMI
40312013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4032
4033 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4034 been used a while.
4035
ed095bd7
JB
40362013-07-07 Juanma Barranquero <lekktu@gmail.com>
4037
4038 * subr.el (read-quoted-char): Remove unused local variable `char'.
4039
f1e6674b
MK
40402013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4041
584ee3fc
GM
4042 * ediff.el (ediff-version): Version update.
4043 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4044 (ediff-merge-with-ancestor-command, ediff-directories-command)
4045 (ediff-directories3-command, ediff-merge-directories-command)
4046 (ediff-merge-directories-with-ancestor-command): New functions.
4047 All are command-line interfaces to ediff: to facilitate calling
4048 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4049
4050 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4051 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4052
584ee3fc
GM
4053 * viper.el (viper-version): Version update.
4054 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4055
584ee3fc
GM
40562013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4059 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4060 (viper-intercept-ESC-key): Simplify.
4061 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4062 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4063 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4064 (viper-setup-ESC-to-escape): New functions.
4065 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4066 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4067
9aff9b38
EZ
40682013-07-07 Eli Zaretskii <eliz@gnu.org>
4069
5165d44a
JB
4070 * simple.el (default-font-height, window-screen-lines):
4071 New functions.
9aff9b38
EZ
4072 (line-move, line-move-partial): Use them instead of
4073 frame-char-height and window-text-height. This makes scrolling
4074 text smoother when the buffer's default face uses a font that is
4075 different from the frame's default font.
4076
1afb1d07
JD
40772013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4078
4079 * files.el (write-file): Do not display confirm dialog for NS,
4080 it does its own dialog, which can't be cancelled (Bug#14578).
4081
23de972a
EZ
40822013-07-06 Eli Zaretskii <eliz@gnu.org>
4083
4084 * simple.el (line-move-partial): Adjust the row returned by
4085 posn-at-point for the current window-vscroll. (Bug#14567)
4086
54a42486
MA
40872013-07-06 Michael Albinus <michael.albinus@gmx.de>
4088
4089 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4090 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4091 spaces.
4092
34ada5f4
MR
40932013-07-06 Martin Rudalics <rudalics@gmx.at>
4094
4095 * window.el (window-state-put-stale-windows): New variable.
4096 (window--state-put-2): Save list of windows without matching buffer.
4097 (window-state-put): Remove "bufferless" windows if possible.
4098
11e03d89
JB
40992013-07-06 Juanma Barranquero <lekktu@gmail.com>
4100
4101 * simple.el (alternatives-define): Remove leftover :group keyword.
4102 Tweak docstring.
4103
3504a4be
LL
41042013-07-06 Leo Liu <sdl.web@gmail.com>
4105
4106 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4107 (ido-enable-virtual-buffers): New variable.
4108 (ido-buffer-internal, ido-toggle-virtual-buffers)
4109 (ido-make-buffer-list): Use it.
4110 (ido-exhibit): Support turning on and off virtual buffers
4111 automatically.
4112
61e56e2c
JB
41132013-07-06 Juanma Barranquero <lekktu@gmail.com>
4114
4115 * simple.el (alternatives-define): New macro.
4116
321e1a9c
SM
41172013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4118
4119 * subr.el (read-quoted-char): Use read-key.
4120 (sit-for): Let read-event decode tty input (bug#14782).
4121
d610f6dd
SB
41222013-07-05 Stephen Berman <stephen.berman@gmx.net>
4123
4124 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4125 mode command and externally. Fix various related bugs.
4126 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4127 (todo-delete-file): New command.
4128 (todo-check-file): New function.
4129 (todo-show): Handle external deletion of the file we're trying to
4130 show (bug#14688). Replace called-interactively-p by an optional
4131 prefix argument to avoid problematic interaction with catch form
4132 when byte compiled (bug#14702).
4133 (todo-quit): Handle external deletion of the archive's todo file.
4134 Make sure the buffer that was visiting the archive file is still
4135 live before trying to bury it.
4136 (todo-category-completions): Handle external deletion of any
4137 category completion files.
4138 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4139 of todo files, in case of external deletion.
4140 (todo-add-file): Replace unnecessary setq by let-binding.
4141 (todo-find-archive): Check whether there are any archives.
4142 Replace unnecessary setq by let-binding.
4143 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4144 archive buffer whether or not the archive already exists.
4145 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4146 check if the archive is new; if it is, update list of archives.
4147 (todo-default-todo-file): Allow nil to be a valid value for when
4148 there are no todo files.
4149 (todo-reevaluate-default-file-defcustom): Use corrected definition
4150 of todo-default-todo-file.
4151 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4152 (todo-delete-category, todo-show-categories-table)
4153 (todo-category-number): Clarify comment.
4154 (todo-filter-items): Clarify documentation string.
4155 (todo-show-current-file, todo-display-as-todo-file)
4156 (todo-reset-and-enable-done-separator): Tweak documentation string.
4157 (todo-done-separator): Make separator length window-width, since
4158 bug#2749 is now fixed.
4159
ddbdfd6f
MA
41602013-07-05 Michael Albinus <michael.albinus@gmx.de>
4161
321e1a9c
SM
4162 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4163 Support both "gvfs-monitor-dir" and "inotifywait".
4164 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4165 `tramp-sh-file-notify-process-filter'.
4166 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4167 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4168
96eb829a
LL
41692013-07-05 Leo Liu <sdl.web@gmail.com>
4170
4171 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4172
cf13177e
YM
41732013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4174
4175 * frame.el (display-pixel-height, display-pixel-width)
4176 (display-mm-height, display-mm-width): Mention behavior on
4177 multi-monitor setups in docstrings.
4178 (w32-display-monitor-attributes-list): Declare function.
4179 (display-monitor-attributes-list): Use it.
4180
864c58ca
MA
41812013-07-04 Michael Albinus <michael.albinus@gmx.de>
4182
4183 * filenotify.el: New package.
4184
4185 * autorevert.el (top): Require filenotify.el.
4186 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4187 instead.
4188 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4189 (auto-revert-notify-handler): Use `file-notify-*' functions.
4190
4191 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4192
321e1a9c
SM
4193 * net/tramp.el (tramp-file-name-for-operation):
4194 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4195
4196 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4197 for `file-notify-add-watch' and `file-notify-rm-watch'.
4198 (tramp-process-sentinel): Improve trace.
4199 (tramp-sh-handle-file-notify-add-watch)
4200 (tramp-sh-file-notify-process-filter)
4201 (tramp-sh-handle-file-notify-rm-watch)
4202 (tramp-get-remote-inotifywait): New defuns.
4203
96673afe
JL
42042013-07-03 Juri Linkov <juri@jurta.org>
4205
4206 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4207 call of `occur-read-primary-args' to interactive spec.
4208
4209 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4210 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4211
924494f4
MM
42122013-07-03 Matthias Meulien <orontee@gmail.com>
4213
4214 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4215 `Buffer-menu-multi-occur'. Add it to the menu.
4216 (Buffer-menu-mode): Document it in docstring.
4217 (Buffer-menu-multi-occur): New command. (Bug#14673)
4218
56f75efc
DG
42192013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4220
4221 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4222 keywords and built-ins.
4223
9b057d61
GM
42242013-07-03 Glenn Morris <rgm@gnu.org>
4225
208dee4d
GM
4226 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4227
9b057d61
GM
4228 Make info-xref checks case-sensitive by default
4229 * info.el (Info-find-node, Info-find-in-tag-table)
4230 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4231 Add option for exact case matching of nodes.
4232 * info-xref.el (info-xref): New custom group.
4233 (info-xref-case-fold): New option.
4234 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4235
e01aa29c
LL
42362013-07-03 Leo Liu <sdl.web@gmail.com>
4237
4238 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4239
3086ca2e
DG
42402013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4241
4242 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4243 middle of block statement initially, lower the depth. Remove
4244 FIXME comment, not longer valid. Remove middle of block statement
4245 detection, no need to do that anymore since we've been using
4246 `ruby-parse-region' here.
4247
a3b49114
JD
42482013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4249
4250 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4251
08e5c823 42522013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4253
4254 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4255
2addf922
JB
42562013-07-01 Juanma Barranquero <lekktu@gmail.com>
4257
4258 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4259 (desktop-restore-in-current-display): New customization option.
4260 (desktop--excluded-frame-parameters): Add `font'.
4261 (desktop--save-frames): Rename from desktop--save-windows.
4262 (desktop--restore-in-this-display-p): New function.
4263 (desktop--make-full-frame): Remove unwanted width/height from
4264 full(width|height) frames.
4265 (desktop--restore-frames): Rename from desktop--restore-windows.
4266 Obey desktop-restore-current-display. Do not delete old frames or
4267 select a new frame unless we were able to restore at least one frame.
4268
ef099a94
MN
42692013-06-30 Michal Nazarewicz <mina86@mina86.com>
4270
4271 * files.el (find-file-noselect): Simplify conditional expression.
4272
4273 * remember.el (remember-append-to-file):
4274 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4275
4276 Add `remember-notes' function to store random notes across Emacs
4277 restarts.
4278 * remember.el (remember-data-file): Add :set callback to affect
4279 notes buffer (if any).
4280 (remember-notes): New command.
4281 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4282 New defcustoms for the `remember-notes' function.
4283 (remember-notes-save-and-bury-buffer): New command.
4284 (remember-notes-mode-map): New variable.
4285 (remember-mode): New minor mode.
4286 (remember-notes--kill-buffer-query): New function.
4287 * startup.el (initial-buffer-choice): Add notes to custom type.
4288
0865d506
EZ
42892013-06-30 Eli Zaretskii <eliz@gnu.org>
4290
0ba54312
EZ
4291 * bindings.el (right-char, left-char): Don't call sit-for, this is
4292 no longer needed. Use arithmetic comparison only for numerical
4293 arguments.
4294
ef099a94
MN
4295 * international/mule-cmds.el (select-safe-coding-system):
4296 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4297
2fae38e5
LMI
42982013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4299
4300 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4301 progression on degenerate tables.
ef099a94 4302 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4303
a47cbd64
JB
43042013-06-30 Juanma Barranquero <lekktu@gmail.com>
4305
4306 Some fixes and improvements for desktop frame restoration.
4307 It is still experimental and disabled by default.
4308 * desktop.el (desktop--save-windows): Put the selected frame at
4309 the head of the list.
4310 (desktop--make-full-frame): New function.
4311 (desktop--restore-windows): Try to re-select the frame that was
4312 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4313 just show an error message and continue. Set up maximized frames
4314 so they have default non-maximized dimensions.
a47cbd64 4315
6dbafa30
DG
43162013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4317
ef099a94
MN
4318 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4319 Don't start heredoc inside a string or comment.
6dbafa30 4320
4c672a0f
EZ
43212013-06-29 Eli Zaretskii <eliz@gnu.org>
4322
4323 * bindings.el (visual-order-cursor-movement): New defcustom.
4324 (right-char, left-char): Provide visual-order cursor motion by
4325 calling move-point-visually. Update the doc strings.
4326
50960f36
KH
43272013-06-28 Kenichi Handa <handa@gnu.org>
4328
4329 * international/mule.el (define-coding-system): New coding system
4330 properties :inhibit-null-byte-detection,
4331 :inhibit-iso-escape-detection, and :prefer-utf-8.
4332 (set-buffer-file-coding-system): If :charset-list property of
4333 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4334 appropriate for setting.
4335
c1ea3abf
JB
4336 * international/mule-cmds.el (select-safe-coding-system):
4337 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4338 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4339
4340 * international/mule-conf.el (prefer-utf-8): New coding system.
4341 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4342 files.
4343
75dbaf9d
IK
43442013-06-28 Ivan Kanis <ivan@kanis.fr>
4345
eadb6068
IK
4346 * net/shr.el (shr-render-region): New function.
4347
75dbaf9d
IK
4348 * net/eww.el: Autoload `eww-browse-url'.
4349
9ea5cf9f
DG
43502013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4351
c1ea3abf
JB
4352 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4353 Adapt to `package-desc-version' being a list.
4354 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4355 archive element.
4356
39c0e36f
JB
43572013-06-27 Juanma Barranquero <lekktu@gmail.com>
4358
4359 New experimental feature to save&restore window and frame setup.
4360 * desktop.el (desktop-save-windows): New defcustom.
4361 (desktop--saved-states): New var.
4362 (desktop--excluded-frame-parameters): New defconst.
4363 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4364 (desktop--restore-windows, desktop--save-windows): New functions.
4365 (desktop-save): Call `desktop--save-windows'.
4366 (desktop-read): Call `desktop--restore-windows'.
4367
7f13406b
LMI
43682013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4369
ef099a94 4370 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4371
1e072639
SB
43722013-06-27 Stephen Berman <stephen.berman@gmx.net>
4373
4374 * info.el (Info-try-follow-nearest-node): Move search for footnote
4375 above search for node name to prevent missing a footnote (bug#14717).
4376
f3e2cbde
SB
43772013-06-27 Stephen Berman <stephen.berman@gmx.net>
4378
4379 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4380
99906aa0
LL
43812013-06-27 Leo Liu <sdl.web@gmail.com>
4382
4383 * net/eww.el (eww-read-bookmarks): Check file size.
4384
539f75f4
SM
43852013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4386
4387 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4388 advice--pending if newdef is nil or an autoload (bug#13820).
4389 (advice-mapc): New function.
4390
843571cb
LMI
43912013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4392
4393 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4394 probably.
23a75d7f 4395 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4396 (eww-add-bookmark): New command.
4397 (eww-bookmark-mode): New mode and commands.
a285ce99 4398 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4399 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4400
f2136e1e
GM
44012013-06-26 Glenn Morris <rgm@gnu.org>
4402
eab35f39
GM
4403 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4404 (hfy-size): Handle ttys. (Bug#14668)
4405
f2136e1e
GM
4406 * info-xref.el: Update for Texinfo 5 change in *note format.
4407 (info-xref-node-re, info-xref-note-re): New constants.
4408 (info-xref-check-buffer): Use info-xref-note-re.
4409
a49ff80c
SM
44102013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4411
a343d218
SM
4412 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4413
a49ff80c
SM
4414 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4415 nil terminate the loop (bug#14718).
4416
8308f184
LMI
44172013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4418
4419 * net/eww.el: Rework history traversal. When going forward/back,
4420 put these actions into the history, too, so that they can be
4421 replayed.
26bf2b82 4422 (eww-render): Move the history reset to the correct buffer.
8308f184 4423
ec64c273
JL
44242013-06-25 Juri Linkov <juri@jurta.org>
4425
4426 * files-x.el (modify-dir-local-variable): Change the header comment
4427 in the file with directory local variables. (Bug#14692)
4428
e080a9d7
JL
4429 * files-x.el (read-file-local-variable-value): Add `default'.
4430 (Bug#14710)
4431
bfbc93a1
IK
44322013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4433
4434 * net/eww.el (eww-make-unique-file-name): Create a unique file
4435 name before saving to entering `y' accidentally asynchronously.
4436
44372013-06-25 Ivan Kanis <ivan@kanis.fr>
4438
4439 * net/eww.el (eww-download): New command and keystroke.
4440
16f74f10
LMI
44412013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4442
a49ff80c 4443 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4444
4445 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4446 be more consistent with Info and dired.
4447
4448 * net/eww.el (eww-mode-map): Ditto.
4449
12059709
SM
44502013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4453 packages from archives.
4454 (package-archive-contents): Change format; include obsolete packages.
4455 (package-desc): Use `dir' to mark builtin packages.
4456 (package--from-builtin): Set the `dir' field to `builtin'.
4457 (generated-autoload-file, version-control): Declare.
4458 (package-compute-transaction): Change first arg and return value to be
4459 lists of package-descs. Adjust to new package-archive-contents format.
4460 (package--add-to-archive-contents): Adjust to new
4461 package-archive-contents format.
4462 (package-download-transaction): Arg is now a list of package-descs.
4463 (package-install): If `pkg' is a package name, pass it as
4464 a requirement, so it is subject to the usual (e.g. disabled) checks.
4465 (describe-package): Accept package-desc as well.
4466 (describe-package-1): Describe a specific package-desc. Add links to
4467 other package-descs for the same package name.
4468 (package-menu-describe-package): Pass the actual package-desc.
4469 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4470 works correctly.
4471 (package-desc-status): New function.
4472 (package-menu--refresh): New function, extracted
4473 from package-menu--generate.
4474 (package-menu--generate): Use it.
4475 (package-delete): Update package-alist.
4476 (package-menu-execute): Don't call package-initialize.
4477
4478 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4479 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4480 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4481 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4482 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4483 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4484
8bbdea0f
MR
44852013-06-25 Martin Rudalics <rudalics@gmx.at>
4486
4487 * window.el (window--state-get-1): Workaround for bug#14527.
4488 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4489
e82b0991
LMI
44902013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4491
4492 * net/eww.el (eww-back-url): Implement the history by stashing all
4493 the data into a list.
d3f0f918 4494 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4495
c763842b
SM
44962013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4499 for values and use read--expression for expressions (bug#14710).
4500 (read-file-local-variable): Avoid setq.
4501 (read-file-local-variable-mode): Use minor-mode-list.
4502
bceff189
RW
45032013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4504
864c58ca 4505 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4506 for DOI URLs.
4507
45f431c6
RW
45082013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4509
864c58ca 4510 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4511 Update imenu-support when dialect changes.
4512
f42d8237
LL
45132013-06-25 Leo Liu <sdl.web@gmail.com>
4514
4515 * ido.el (ido-read-internal): Allow forward slash on windows.
4516
be549ce6
LMI
45172013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4518
4519 * net/eww.el (eww): Start of strings is \\`, not ^.
4520
71d4c19d
IK
45212013-06-24 Ivan Kanis <ivan@kanis.fr>
4522
5196f88a
IK
4523 * net/shr.el (shr-browse-url): Fix interactive spec.
4524
71d4c19d
IK
4525 * net/eww.el (eww): Add a trailing slash to domain names.
4526
ae36ca55
JB
45272013-06-24 Juanma Barranquero <lekktu@gmail.com>
4528
4529 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4530
0ebd92a3
LMI
45312013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4532
bdaa086b
LMI
4533 * net/shr.el (shr-browse-url): Use an external browser if given a
4534 prefix.
4535
c763842b 4536 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 4537
b89fc156
IK
45382013-06-24 Ivan Kanis <ivan@kanis.fr>
4539
4540 * net/eww.el (eww): Work more correctly for file: URLs.
4541 (eww-detect-charset): Allow quoted charsets.
4542 (eww-yank-page-url): New command and keystroke.
4543
18eb4bca
DU
45442013-06-24 Daiki Ueno <ueno@gnu.org>
4545
4546 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4547 file name of gpg executable.
4548 (epg-context-program): New function.
4549 (epg-context-home-directory): New function.
4550 (epg-context-set-program): New function.
4551 (epg-context-set-home-directory): New function.
4552 (epg--start): Use `epg-context-program' instead of
4553 'epg-gpg-program'.
4554 (epg--list-keys-1): Likewise.
4555
6c6268c8
LL
45562013-06-24 Leo Liu <sdl.web@gmail.com>
4557
4558 * ido.el (ido-read-internal): Fix bug#14620.
4559
5e400cb3
JB
45602013-06-23 Juanma Barranquero <lekktu@gmail.com>
4561
4562 * faces.el (face-documentation): Simplify.
4563 (read-face-attribute, tty-find-type, x-resolve-font-name):
4564 Use `string-match-p'.
4565 (list-faces-display): Use `string-match-p'. Simplify.
4566 (face-spec-recalc): Check face to avoid face alias loops.
4567 (read-color): Use `string-match-p' and non-capturing parenthesis.
4568
f3f9606c
LMI
45692013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4570
4571 * net/shr.el (shr-rescale-image): Use the new
4572 :max-width/:max-height functionality.
4573
a3ca09b9
IK
45742013-06-23 Ivan Kanis <ivan@kanis.fr>
4575
4576 * net/eww.el (eww-search-prefix): New variable.
4577 (eww): Use it.
f865b474
IK
4578 (eww-external-browser): New variable.
4579 (eww-mode-map): New keystroke.
4580 (eww-browse-with-external-browser): New command.
a3ca09b9 4581
e854cfc7
IK
4582 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4583
18bb9e21
JB
45842013-06-23 Juanma Barranquero <lekktu@gmail.com>
4585
4586 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4587 Don't skip aligning the next header field when padding is 0;
4588 otherwise, field width is not respected unless the title is as
4589 wide as the field.
4590
5b165ade
SM
45912013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * emacs-lisp/package.el (package-el-version): Remove.
4594 (package-process-define-package): Fix inf-loop.
4595 (package-install): Allow symbols as arguments again.
4596
12adebe9
DG
45972013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4598
4599 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4600 add some more keyword-like methods.
4601 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4602
388573ee
JB
46032013-06-22 Juanma Barranquero <lekktu@gmail.com>
4604
4605 * bs.el (bs-buffer-show-mark): Make defvar-local.
4606 (bs-mode): Use setq-local.
4607
4608 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4609 (emacs-lock--try-unlocking): Make defvar-local.
4610
4582a01c 46112013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 4612
2663dd23
GM
4613 * play/cookie1.el (cookie-apropos): Minor simplification.
4614
3d94f3ad
GM
4615 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4616
f72e2fdb
DG
46172013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4618
4619 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4620 `regexp-opt', it breaks the build during dumping.
4621
73eab938
DG
46222013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4623
c763842b
SM
4624 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4625 Highlight keyword-like methods on Kernel and Module with
73eab938 4626 font-lock-builtin-face.
5cf8176d
DG
4627 (auto-mode-alist): Consolidate different entries into one regexp
4628 and add more *file-s.
73eab938 4629
d26255f6
SB
46302013-06-21 Stephen Berman <stephen.berman@gmx.net>
4631
4632 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4633
4634 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4635 (diary-entry): Use it in the action of this button type instead of
4636 diary-goto-entry.
4637
4638 * calendar/todo-mode.el: New version.
4639 (todo-add-category): Append new category to end of file and give
4640 it the highest number, instead of putting it at the beginning and
4641 giving it 0. Incorporate noninteractive functionality.
4642 (todo-forward-category): Adapt to 1-based category numbering.
4643 Allow skipping over archived categories.
4644 (todo-backward-category): Derive from todo-forward-category.
4645 (todo-backward-item, todo-forward-item): Make noninteractive and
4646 delegate interactive part to new commands. Make sensitive to done items.
4647 (todo-categories): Make value an alist of category names and
4648 vectors of item counts.
4649 (todo-category-beg): Make a defconst.
4650 (todo-category-number): Use 1 instead of 0 as initial value.
4651 (todo-category-select): Make sensitive to overlays, optional item
4652 highlighting and done items.
4653 (todo-delete-item): Make sensitive to overlays and marked and done items.
4654 (todo-edit-item): Make sensitive to overlays and editing of
4655 date/time header optional. Add format checks.
4656 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4657 no-op if point is not on an item. Advertise using todo-edit-quit.
4658 (todo-edit-mode): Make sensitive to new format, font-locking, and
4659 multiple todo files.
4660 (todo-insert-item, todo-insert-item-here): Derive from
4661 todo-basic-insert-item and extend functionality.
4662 (todo-item-end, todo-item-start): Make sensitive to done items.
4663 (todo-item-string): Don't return text properties. Restore point.
4664 (todo-jump-to-category): Make sensitive to multiple todo files and
4665 todo archives. Use extended category completion.
4666 (todo-lower-item, todo-raise-item): Rename to *-priority and
4667 derive from todo-set-item-priority.
4668 (todo-mode): Derive from special-mode. Make sensitive to new
4669 format, font-locking and multiple todo files. Make read-only.
4670 (todo-mode-map): Don't suppress digit keys, so they can supply
4671 prefix arguments. Add many new key bindings.
4672 (todo-prefix): Insert as an overlay instead of file text.
4673 Change semantics from diary date expression to purely visual mark.
4674 (todo-print): Rename to todo-print-buffer. Make buffer display
4675 features printable. Remove option to restrict number of items
4676 printed. Add option to print to file.
4677 (todo-print-function): Rename to todo-print-buffer-function.
4678 (todo-quit): Extend to handle exiting new todo modes.
4679 (todo-remove-item): Make sensitive to overlays.
4680 (todo-save): Extend to buffers of filtered items.
4681 (todo-show): Make sensitive to done items, multiple todo files and
4682 new todo modes. Offer to convert legacy todo file before creating
4683 first new todo file.
4684 (todo-show-priorities): Rename to todo-top-priorities.
4685 Change semantics of value 0.
4686 (todo-top-priorities): Rename to todo-filter-top-priorities,
4687 derive from todo-filter-items and extend functionality.
4688 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4689 and extend functionality to other types of filtered items.
4690 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4691 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4692 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4693 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4694 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4695 (todo-edit-mode-hook, todo-entry-prefix-function)
4696 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4697 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4698 (todo-initials, todo-insert-threshold, todo-item-string-start)
4699 (todo-line-string, todo-menu, todo-mode-hook)
4700 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4701 (todo-print-priorities, todo-remove-separator)
4702 (todo-save-top-priorities-too, todo-string-count-lines)
4703 (todo-string-multiline-p, todo-time-string-format)
4704 (todo-tmp-buffer-name): Remove.
4705 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4706 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4707 (todo-edit-category-diary-inclusion)
4708 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4709 (todo-edit-file, todo-edit-item-date-day)
4710 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4711 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4712 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4713 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4714 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4715 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4716 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4717 (todo-filter-top-priorities-multifile, todo-find-archive)
4718 (todo-find-filtered-items-file, todo-go-to-source-item)
4719 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4720 (todo-jump-to-archive-category, todo-lower-category)
4721 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4722 (todo-move-category, todo-move-item, todo-next-button)
4723 (todo-next-item, todo-padded-string, todo-powerset)
4724 (todo-previous-button, todo-previous-item)
4725 (todo-print-buffer-to-file, todo-raise-category)
4726 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4727 (todo-set-category-number, todo-set-item-priority)
4728 (todo-set-top-priorities-in-category)
4729 (todo-set-top-priorities-in-file, todo-show-categories-table)
4730 (todo-sort-categories-alphabetically-or-numerically)
4731 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4732 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4733 (todo-toggle-item-header, todo-toggle-item-highlighting)
4734 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4735 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4736 (todo-unarchive-items, todo-unmark-category): New commands.
4737 (todo-absolute-file-name, todo-add-to-buffer-list)
4738 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4739 (todo-basic-insert-item, todo-category-completions)
4740 (todo-category-number, todo-category-string-matcher-1)
4741 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4742 (todo-check-format, todo-clear-matches)
4743 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4744 (todo-current-category, todo-date-string-matcher)
4745 (todo-define-insertion-command, todo-diary-expired-matcher)
4746 (todo-diary-goto-entry, todo-diary-item-p)
4747 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4748 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4749 (todo-done-item-section-p, todo-done-separator)
4750 (todo-done-string-matcher, todo-files, todo-filter-items)
4751 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4752 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4753 (todo-insert-category-line, todo-insert-item-from-calendar)
4754 (todo-insert-sort-button, todo-insert-with-overlays)
4755 (todo-insertion-command-name, todo-insertion-key-bindings)
4756 (todo-label-to-key, todo-longest-category-name-length)
4757 (todo-make-categories-list, todo-mode-external-set)
4758 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4759 (todo-modes-set-3, todo-multiple-filter-files)
4760 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4761 (todo-read-category, todo-read-date, todo-read-dayname)
4762 (todo-read-file-name, todo-read-time)
4763 (todo-reevaluate-category-completions-files-defcustom)
4764 (todo-reevaluate-default-file-defcustom)
4765 (todo-reevaluate-filelist-defcustoms)
4766 (todo-reevaluate-filter-files-defcustom)
4767 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4768 (todo-reset-done-separator, todo-reset-done-separator-string)
4769 (todo-reset-done-string, todo-reset-global-current-todo-file)
4770 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4771 (todo-reset-prefix, todo-set-categories)
4772 (todo-set-date-from-calendar, todo-set-show-current-file)
4773 (todo-set-top-priorities, todo-short-file-name)
4774 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4775 (todo-total-item-counts, todo-update-buffer-list)
4776 (todo-update-categories-display, todo-update-categories-sexp)
4777 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4778 New functions.
4779 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4780 New major modes.
4781 (todo-categories, todo-display, todo-edit, todo-faces)
4782 (todo-filtered): New defgroups.
4783 (todo-archived-only, todo-button, todo-category-string, todo-date)
4784 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4785 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4786 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4787 (todo-add-item-if-new-category, todo-always-add-time-string)
4788 (todo-categories-align, todo-categories-archived-label)
4789 (todo-categories-category-label, todo-categories-diary-label)
4790 (todo-categories-done-label, todo-categories-number-separator)
4791 (todo-categories-todo-label, todo-categories-totals-label)
4792 (todo-category-completions-files, todo-completion-ignore-case)
4793 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4794 (todo-done-separator-string, todo-done-string)
4795 (todo-files-function, todo-filter-done-items, todo-filter-files)
4796 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4797 (todo-initial-category, todo-initial-file, todo-item-mark)
4798 (todo-legacy-date-time-regexp, todo-mode-line-function)
4799 (todo-nondiary-marker, todo-number-prefix)
4800 (todo-print-buffer-function, todo-show-current-file)
4801 (todo-show-done-only, todo-show-first, todo-show-with-done)
4802 (todo-skip-archived-categories, todo-top-priorities-overrides)
4803 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4804 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4805 New defcustoms.
4806 (todo-category-done, todo-date-pattern, todo-date-string-start)
4807 (todo-diary-items-buffer, todo-done-string-start)
4808 (todo-filtered-items-buffer, todo-item-start)
4809 (todo-month-abbrev-array, todo-month-name-array)
4810 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4811 (todo-top-priorities-buffer): New defconsts.
4812 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4813 (todo-categories-with-marks, todo-category-string-face)
4814 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4815 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4816 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4817 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4818 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4819 (todo-font-lock-keywords, todo-global-current-todo-file)
4820 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4821 (todo-insertion-commands-args)
4822 (todo-insertion-commands-args-genlist)
4823 (todo-insertion-commands-names, todo-insertion-map)
4824 (todo-key-bindings-t, todo-key-bindings-t+a)
4825 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4826 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4827 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4828 (todo-visited): New variables.
4829
cad5d1cb
GM
48302013-06-21 Glenn Morris <rgm@gnu.org>
4831
4832 * play/cookie1.el (cookie-apropos): Add optional display argument.
4833 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4834 (psychoanalyze-pinhead): Use cookie-doctor.
4835
9e277302
JB
48362013-06-21 Juanma Barranquero <lekktu@gmail.com>
4837
4838 * emacs-lisp/package.el (tar-get-file-descriptor)
4839 (tar--extract): Declare.
4840
c5b0993e
EW
48412013-06-21 Eduard Wiebe <usenet@pusto.de>
4842
4843 Extend flymake's warning predicate to be a function (bug#14217).
4844 * progmodes/flymake.el (flymake-warning-predicate): New.
4845 (flymake-parse-line): Use it.
4846 (flymake-warning-re): Make obsolete alias to
4847 `flymake-warning-predicate'.
4848
a7d2d465
SM
48492013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4850
4851 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4852 (package-obsolete-list): Remove.
4853 (package-activate): Remove min-version argument. Add `force' argument.
4854 Adjust to new package-alist format.
4855 (package-mark-obsolete): Remove.
4856 (package-unpack): Force reload of the package's autoloads.
4857 (package-installed-p): Check builtins if the installed package is not
4858 recent enough.
4859 (package-initialize): Don't reset package-obsolete-list.
4860 Don't specify which package version to activate.
4861 (package-process-define-package, describe-package-1)
4862 (package-menu--generate): Adjust to new package-alist format.
4863
cedf5c9d
JB
48642013-06-21 Juanma Barranquero <lekktu@gmail.com>
4865
4866 * allout-widgets.el (allout-widgets-mode-off)
4867 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4868 (allout-widgets-post-command-business)
4869 (allout-widgets-after-copy-or-kill-function)
4870 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4871 (allout-decorate-item-and-context)
4872 (allout-graphics-modification-handler): Fix typos in docstrings.
4873 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4874
4875 * cmuscheme.el (scheme-start-file): Doc fix.
4876 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4877 (scheme-input-filter): Use `string-match-p'.
4878
4879 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4880
4881 * dired-x.el: Use Dired consistently in docstrings.
4882
4883 * dired.el: Use Dired consistently in docstrings.
4884 (dired-readin, dired-mode): Use `setq-local'.
4885 (dired-switches-alist): Make defvar-local.
4886 (dired-buffers-for-dir): Use `zerop'.
4887 (dired-safe-switches-p, dired-switches-escape-p)
4888 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4889 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4890 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4891 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4892 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4893 (dired-toggle-marks, dired-mark-files-containing-regexp)
4894 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4895 (dired-flag-auto-save-files, dired-flag-backup-files):
4896 Use `looking-at-p'.
4897 (dired-mark-files-regexp, dired-build-subdir-alist):
4898 Use `string-match-p', `looking-at-p'.
4899
4900 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4901 (direct-print-region-helper): Use `string-match-p'.
4902
aed838b5
LL
49032013-06-21 Leo Liu <sdl.web@gmail.com>
4904
cedf5c9d
JB
4905 * comint.el (comint-redirect-results-list-from-process):
4906 Fix infinite loop.
aed838b5 4907
d80a808f
LMI
49082013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4909
4910 * net/eww.el (eww-update-header-line-format): Quote % characters.
4911
e7a526e3
GM
49122013-06-21 Glenn Morris <rgm@gnu.org>
4913
4914 * play/cookie1.el (cookie): New custom group.
4915 (cookie-file): New option.
4916 (cookie-check-file): New function.
4917 (cookie): Make it interactive. Make start and end messages optional.
4918 Interactively, display the result. Default to cookie-file.
4919 (cookie-insert): Default to cookie-file.
4920 (cookie-snarf): Make start and end messages optional.
4921 Default to cookie-file. Use with-temp-buffer.
4922 (cookie-read): Rename from read-cookie.
4923 Make start and end messages optional. Default to cookie-file.
4924 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 4925 Do not autoload it.
e7a526e3
GM
4926 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4927 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4928
62efb35e
LL
49292013-06-21 Leo Liu <sdl.web@gmail.com>
4930
4931 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4932
21e3f963
GM
49332013-06-21 Glenn Morris <rgm@gnu.org>
4934
4935 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4936
fd846ab4
SM
49372013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4938 Daniel Hackney <dan@haxney.org>
4939
4940 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4941 Consolidate the single-file vs tarball code.
4942 (package-desc-suffix): New function.
4943 (package-desc-full-name): Don't bother inlining it.
4944 (package-load-descriptor): Return the new package-desc.
4945 (package-mark-obsolete): Remove unused arg `package'.
4946 (package-unpack): Make it work for single files as well.
4947 Make it update package-alist.
4948 (package--make-autoloads-and-stuff): Rename from
4949 package--make-autoloads-and-compile. Don't compile any more.
4950 (package--compile): New function.
4951 (package-generate-description-file): New function, extracted from
4952 package-unpack-single.
4953 (package-unpack-single): Remove.
4954 (package--with-work-buffer): Add indentation and debugging info.
4955 (package-download-single): Remove.
4956 (package-install-from-archive): Rename from package-download-tar, make
4957 it take a pkg-desc, and make it work for single files as well.
4958 (package-download-transaction): Simplify.
4959 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4960 external tar program.
4961 (package-install-from-buffer): Remove `pkg-desc' argument.
4962 Use package-tar-file-info for tar-mode buffers.
4963 (package-install-file): Simplify accordingly.
4964 (package-archive-base): Change to take a pkg-desc.
4965 * tar-mode.el (tar--check-descriptor): New function, extracted from
4966 tar-get-descriptor.
4967 (tar-get-descriptor): Use it.
4968 (tar-get-file-descriptor): New function.
4969 (tar--extract): New function, extracted from tar-extract.
4970 (tar--extract): Use it.
4971 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4972 case the summary uses non-ascii. Adjust to new calling convention of
4973 package-tar-file-info.
4974
b7deae5e
LL
49752013-06-21 Leo Liu <sdl.web@gmail.com>
4976
fd846ab4
SM
4977 * comint.el (comint-redirect-results-list-from-process):
4978 Fix random delay. (Bug#14681)
b7deae5e 4979
7a65a0b2
JB
49802013-06-21 Juanma Barranquero <lekktu@gmail.com>
4981
4982 * profiler.el (profiler-format-number): Use log, not log10.
4983
1493c2af
JB
49842013-06-20 Juanma Barranquero <lekktu@gmail.com>
4985
4986 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4987
aff6371e
SM
49882013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4989
4990 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4991 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4992 yet available.
4993 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4994 (AUTOGENEL): ... here.
4995 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4996 (cl--defsubst-expand): Use it.
4997
89561f72
PE
49982013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4999
5000 * subr.el (log10): Move here from C code, and declare as obsolete.
5001 All uses of (log10 X) replaced with (log X 10).
5002
47199123
JB
50032013-06-20 Juanma Barranquero <lekktu@gmail.com>
5004
5005 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5006 Declare with `defvar-local'.
5007 (tabulated-list-use-header-line, tabulated-list-entries)
5008 (tabulated-list-padding, tabulated-list-printer)
5009 (tabulated-list-sort-key): Declare with `defvar-local'.
5010 (tabulated-list-init-header, tabulated-list-print-fake-header):
5011 Use `setq-local'.
5012
4a172eab
MA
50132013-06-20 Michael Albinus <michael.albinus@gmx.de>
5014
47199123
JB
5015 * arc-mode.el (archive-mode): Add `archive-write-file' to
5016 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5017
5fc0acc0
JB
50182013-06-20 Juanma Barranquero <lekktu@gmail.com>
5019
d5b27848
JB
5020 * cus-edit.el (custom-commands): Fix typos.
5021 (custom-display): Fix tooltip text.
5022 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5023 Fix typos in docstrings.
5024 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5025 (custom-unlispify-menu-entry, custom-magic-value-create)
5026 (custom-add-see-also, custom-group-value-create): Use ?\s.
5027 (custom-guess-type, customize-apropos, editable-field)
5028 (custom-face-value-create): Use `string-match-p'.
5029 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5030
5031 * custom.el (custom-load-symbol): Use `string-match-p'.
5032
a5c581d8
JB
5033 * ansi-color.el: Convert to lexical binding.
5034 (ansi-colors): Fix URL.
5035 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5036 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5037 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5038
970ad972
G
50392013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5040
5041 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5042
5043 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5044
50452013-06-19 Tom Tromey <tromey@redhat.com>
5046
5047 * net/eww.el (eww-top-url): Remove.
5048 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5049 (eww-render): Set new variables. Don't set eww-top-url.
5050 (eww-handle-link): Handle "prev", "home", and "contents".
5051 Downcase the rel text.
5052 (eww-top-url): Choose best top URL.
5053
50542013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5055
5056 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5057 relying in widget.el. Using widget.el leads to too many
5058 user interface inconsistencies.
5059 (eww-self-insert): Implement entering commands in text fields.
5060 (eww-process-text-input): New function to make text input field editing
5061 work.
5062 (eww-submit): Rewrite to use the new-style form methods.
5063 (eww-select-display): Display the correct selected item.
5064 (eww-change-select): Implement changing the select value.
5065 (eww-toggle-checkbox): Implement radio/checkboxes.
5066 (eww-update-field): Fix compilation error.
5067 (eww-tag-textarea): Implement <textarea>.
5068
5069 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5070 we don't shadow mode-specific bindings.
5071
5072 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5073 nothing to push.
5074
5075 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5076
4582a01c 50772013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5078
5079 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5080
15b263dc
MA
50812013-06-19 Michael Albinus <michael.albinus@gmx.de>
5082
5083 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5084 not needed.
5085
5086 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5087
8f5297f7
LMI
50882013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5089
5090 * net/browse-url.el (browse-url-browser-function):
5091 `eww-browse-url' has the right calling signature, `eww' does not.
5092
011c4552
GM
50932013-06-19 Glenn Morris <rgm@gnu.org>
5094
2285bd27
GM
5095 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5096 Only eval autoloaded macros.
5097 (byte-compile-autoload): Only give the macro warning for macros.
5098
1d653303
GM
5099 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5100 (ps-underlined-faces): Declare.
5101
bdd779ec
GM
5102 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5103 (speedbar-add-supported-extension): Declare.
5104
011c4552
GM
5105 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5106 Don't include a date stamp in the header of the generated file;
5107 it leads to needless differences between output files.
5108
e59dfb0e
MA
51092013-06-19 Michael Albinus <michael.albinus@gmx.de>
5110
c763842b
SM
5111 * net/secrets.el (secrets-struct-secret-content-type):
5112 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5113 Some servers do not offer introspection.
e59dfb0e 5114
102626e2
SM
51152013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * electric.el (electric-pair-mode): Improve interaction with
5118 electric-layout-mode.
5119 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5120 (electric-pair-syntax): Use text-mode-syntax-table in comments
5121 and strings.
5122 (electric-pair--insert): New function.
5123 (electric-pair-post-self-insert-function): Use it and
5124 electric--after-char-pos.
5125
ad528125
LL
51262013-06-19 Leo Liu <sdl.web@gmail.com>
5127
5128 * progmodes/octave.el (octave-help): Fix regexp.
5129
924d6997
G
51302013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5131
5132 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5133 (shr-table-horizontal-line): Allow nil as a value, and change the
5134 default.
5135 (shr-insert-table-ruler): Respect the nil value.
5136
51372013-06-18 Tom Tromey <tromey@barimba>
5138
5139 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5140 New defvars.
5141 (eww-open-file): New defun.
5142 (eww-render): Initialize new variables.
5143 (eww-display-html): Handle "link" and "a".
5144 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5145 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5146 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5147 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5148 New defuns.
924d6997 5149
d1bbba4f
DG
51502013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5151
5152 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5153 Distinguish ternary operator tokens from slash symbol and slash
5154 char literal.
5155
14dd22d2
JB
51562013-06-18 Juanma Barranquero <lekktu@gmail.com>
5157
5158 Convert symbol prettification into minor mode and global minor mode.
5159
5160 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5161 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5162 (prettify-symbols--keywords): Rename from
5163 `prog-prettify-symbols-alist' and make a local defvar.
5164 (prettify-symbols--compose-symbol): Rename from
5165 `prog--prettify-font-lock-compose-symbol'.
5166 (prettify-symbols--make-keywords): Rename from
5167 `prog-prettify-font-lock-symbols-keywords' and simplify.
5168 (prog-prettify-install): Remove.
5169 (prettify-symbols-mode): New minor mode, based on
5170 `prog-prettify-install'.
5171 (turn-on-prettify-symbols-mode): New function.
5172 (global-prettify-symbols-mode): New globalized minor mode.
5173
5174 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5175 * progmodes/cfengine.el (cfengine3-mode):
5176 * progmodes/perl-mode.el (perl-mode): Don't call
5177 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5178
292c880c
JL
51792013-06-18 Juri Linkov <juri@jurta.org>
5180
5181 * files-x.el (modify-file-local-variable-message): New function.
5182 (modify-file-local-variable)
5183 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5184 and call `modify-file-local-variable-message' when it's non-nil.
5185 (add-file-local-variable, delete-file-local-variable)
5186 (add-file-local-variable-prop-line)
5187 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5188 and use it. (Bug#9820)
5189
0950aa27
JL
51902013-06-18 Juri Linkov <juri@jurta.org>
5191
5192 * emulation/vi.el (vi-shell-op):
5193 * emulation/vip.el (vip-execute-com, ex-command):
5194 * emulation/viper-cmd.el (viper-exec-bang):
5195 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5196 the call of `shell-command-on-region'. (Bug#14637)
5197
5198 * simple.el (shell-command-on-region): Doc fix.
5199
8fbcca16
SM
52002013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5201
5202 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5203 (bug#14633).
5204
dd7426ea
GM
52052013-06-18 Glenn Morris <rgm@gnu.org>
5206
4ba54f7d
GM
5207 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5208
dd7426ea
GM
5209 * newcomment.el (comment-search-forward, comment-search-backward):
5210 Doc fix. (Bug#14376)
5211
58aa805b
JB
52122013-06-18 Juanma Barranquero <lekktu@gmail.com>
5213
5214 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5215 (buffer-face-mode-invoke): Doc fix.
5216
9a08a617
MM
52172013-06-18 Matthias Meulien <orontee@gmail.com>
5218
5219 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5220 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5221
f2f426ca
GM
52222013-06-18 Glenn Morris <rgm@gnu.org>
5223
9445f99b
GM
5224 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5225 Replace obsolete function generic-make-keywords with its expansion.
5226
e0df2d14
GM
5227 * progmodes/python.el (ffap-alist): Declare.
5228
f2f426ca
GM
5229 * textmodes/reftex.el (bibtex-mode-map): Declare.
5230
f7f9a720
SM
52312013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5234 (package-unpack, package-unpack-single): Return the pkg-dir.
5235 (package-download-transaction): Use it to update package-alist.
5236
57ff04e0
LMI
52372013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5238
5239 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5240 possible choice.
5241
c048c022
JL
52422013-06-17 Juri Linkov <juri@jurta.org>
5243
5244 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5245
b5bcaee5
DG
52462013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5247
a020afb9
JB
5248 * emacs-lisp/package.el (package-load-descriptor):
5249 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5250 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5251
551e07e5
JB
52522013-06-17 Juanma Barranquero <lekktu@gmail.com>
5253
5254 * startup.el (command-line): Expand package name returned by
5255 `package--description-file' (bug#14639).
5256
d363bffb
DG
52572013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5258
5259 * emacs-lisp/package.el (package-load-descriptor): Do not call
5260 `emacs-lisp-mode', just use its syntax table.
5261
f612933b
JB
52622013-06-17 Juanma Barranquero <lekktu@gmail.com>
5263
5264 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5265 `font-lock-extra-managed-props' if any prettifying keyword is added.
5266 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5267 (prog-mode): Use `setq-local'.
5268
db3b7db5
SM
52692013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * international/characters.el (standard-case-table): Set syntax of ?»
5272 and ?« to punctuation.
5273
f3d674df
JB
52742013-06-16 Juanma Barranquero <lekktu@gmail.com>
5275
5276 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5277 Save relevant match data before calling `syntax-ppss' (bug#14595).
5278
31489a32
JL
52792013-06-15 Juri Linkov <juri@jurta.org>
5280
5281 * files-x.el (modify-file-local-variable-prop-line): Add local
5282 variables to the end of the existing comment on the first line.
5283 Use `file-auto-mode-skip' to skip interpreter magic line,
5284 and also skip XML declaration.
5285
66bd25ab
SM
52862013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * startup.el (package--builtin-versions): New var.
5289 (package-subdirectory-regexp): Remove.
5290 (package--description-file): Hard code its value instead.
5291
5292 * emacs-lisp/package.el: Don't activate packages older than builtin.
5293 (package-obsolete-list): Rename from package-obsolete-alist, and make
5294 it into a simple list of package-desc.
5295 (package-strip-version): Remove.
5296 (package-built-in-p): Use package--builtin-versions.
5297 (package-mark-obsolete): Simplify.
5298 (package-process-define-package): Mark it obsolete if older than the
5299 builtin version.
5300 (package-handle-response): Use line-end-position.
5301 (package-read-archive-contents, package--download-one-archive):
5302 Simplify.
5303 (package--add-to-archive-contents): Skip if older than the builtin or
5304 installed version.
5305 (package-menu-describe-package): Fix last change.
5306 (package-list-unversioned): New var.
5307 (package-menu--generate): Use it.
5308
5309 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5310 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5311 (autoload-builtin-package-versions): New variable.
5312 (autoload-generate-file-autoloads): Use them.
5313 Remove the list of autoloaded functions/macros from the
5314 (autoload...) comments.
5315
5316 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5317
9583ec36
EZ
53182013-06-15 Eli Zaretskii <eliz@gnu.org>
5319
5320 * simple.el (line-move-partial): Don't jump to the next screen
5321 line as soon as it becomes visible. Instead, continue enlarging
5322 the vscroll until the portion of a tall screen line that's left on
5323 display is about the height of the frame's default font.
5324 (Bug#14567)
5325
f0100d8a
GM
53262013-06-15 Glenn Morris <rgm@gnu.org>
5327
b86a85ca
GM
5328 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5329 compilation-error-regexp-alist void, or local while let-bound.
5330
f0100d8a
GM
5331 * progmodes/make-mode.el (makefile-mode-syntax-table):
5332 Treat "=" as punctuation. (Bug#14614)
5333
05e7ce90
JB
53342013-06-15 Juanma Barranquero <lekktu@gmail.com>
5335
5336 * help-fns.el (describe-variable):
5337 Add extra line for permanent-local variables.
5338
12e5e86e
SH
53392013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5340
5341 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5342 Add export, import, library. (Bug#9164)
5343 (library): Set indent function.
5344
230dcbaf
GM
53452013-06-14 Glenn Morris <rgm@gnu.org>
5346
5347 * term/xterm.el (xterm--query):
5348 Stop after first matching handler. (Bug#14615)
5349
e36b2d20 53502013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5351
5352 Add support for dired in saveplace.
5353 * dired.el (dired-initial-position-hook): New variable.
5354 (dired-initial-position): Call hook to place cursor position.
5355 * saveplace.el (save-place-to-alist): Add dired position.
5356 (save-place-dired-hook): New function.
5357
0b31660d
SM
53582013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5359
bf1e6ae8
SM
5360 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5361 through a symbol rather than letrec.
5362
1b8dff23
SM
5363 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5364 (package-desc): Add `dir' field.
5365 (package-desc-full-name): New function.
5366 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5367 (package-maybe-load-descriptor): Remove.
5368 (package-load-all-descriptors): Just call package-load-descriptor.
5369 (package--disabled-p): New function.
5370 (package-desc-vers, package-desc-doc): Remove aliases.
5371 (package--dir): Remove function.
5372 (package-activate): Check if a package is disabled.
5373 (package-process-define-package): New function, extracted from
5374 define-package.
5375 (define-package): Turn into a place holder.
5376 (package-unpack-single, package-tar-file-info):
5377 Use package--description-file.
5378 (package-compute-transaction): Use package--disabled-p.
5379 (package-download-transaction): Don't call
5380 package-maybe-load-descriptor since they're all loaded anyway.
5381 (package-install): Change argument to be a pkg-desc.
5382 (package-delete): Use a single pkg-desc argument.
5383 (describe-package-1): Use package-desc-dir instead of package--dir.
5384 Use package-desc property instead of package-symbol.
5385 (package-install-button-action): Adjust accordingly.
5386 (package--push): Rewrite.
5387 (package-menu--print-info): Adjust accordingly. Change the ID format
5388 to be a pkg-desc.
5389 (package-menu-describe-package, package-menu-get-status)
5390 (package-menu--find-upgrades, package-menu-mark-upgrades)
5391 (package-menu-execute, package-menu--name-predicate):
5392 Adjust accordingly.
5393 * startup.el (package--description-file): New function.
5394 (command-line): Use it.
5395 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5396 Use package-desc-version.
5397
0b31660d
SM
5398 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5399 (byte-compile-preprocess): Use it.
5400 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5401 can't quite recognize.
5402 (byte-compile-add-to-list): Remove.
5403 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5404 (cconv-closure-convert): Add assertion.
5405
5406 * emacs-lisp/map-ynp.el: Use lexical-binding.
5407 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5408 Factor out some repeated code.
5409
de0503df
SM
54102013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * subr.el (with-eval-after-load): New macro.
5413 (eval-after-load): Allow form to be a function.
5414 take advantage of lexical-binding.
5415 (do-after-load-evaluation): Use dolist and adjust to new format.
5416 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5417
bc5c8c5a
JL
54182013-06-13 Juri Linkov <juri@jurta.org>
5419
5420 * replace.el (perform-replace): Display "symbol " and other search
5421 modes from `isearch-message-prefix' in the *Help* buffer.
5422
5423 * isearch.el (isearch-query-replace): Add " symbol" and other
5424 possible search modes from `isearch-message-prefix' to the prompt.
5425 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5426 when reading a regexp to collect.
5427
a22289f7
JL
54282013-06-13 Juri Linkov <juri@jurta.org>
5429
5430 * isearch.el (word-search-regexp): Match whitespace if the search
5431 string begins or ends in whitespace. The LAX arg is applied to
5432 both ends of the search string. Use `regexp-quote' and explicit
5433 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5434 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5435 boundaries are replaced with symbol boundaries, and characters
5436 between symbols match non-word non-symbol syntax. (Bug#14602)
5437
cb89acab
JL
54382013-06-13 Juri Linkov <juri@jurta.org>
5439
5440 * isearch.el (isearch-del-char): Don't exceed the length of
5441 `isearch-string' by the prefix arg. (Bug#14563)
5442
6e8cfc81
JL
54432013-06-13 Juri Linkov <juri@jurta.org>
5444
5445 * isearch.el (isearch-yank-word, isearch-yank-line)
5446 (isearch-char-by-name, isearch-quote-char)
5447 (isearch-printing-char, isearch-process-search-char):
5448 Add optional count prefix arg. (Bug#14563)
5449
5450 * international/isearch-x.el
5451 (isearch-process-search-multibyte-characters):
5452 Add optional count prefix arg.
5453
c23d55f4
VS
54542013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5455
5456 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5457 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5458 lexical-binding.
5459
54602013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5461
5462 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5463
ba947bc4
GM
54642013-06-13 Glenn Morris <rgm@gnu.org>
5465
8baeb37a
GM
5466 * startup.el (tty-handle-args):
5467 Don't just discard "--" and anything after. (Bug#14608)
5468
ba947bc4
GM
5469 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5470
9abefce4
MA
54712013-06-13 Michael Albinus <michael.albinus@gmx.de>
5472
5473 Implement changes in Secret Service API. Make it backward compatible.
5474 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5475 (secrets-create-item): Use it. Prefix properties with interface.
5476
5755011f
MH
54772013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5478
5479 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5480 (term-emulate-terminal): Respect term-suppress-hard-newline.
5481
1261d2da
S
54822013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5483
5484 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5485 Only remove a `thumb-file' overlay. (Bug#14548)
5486
868490bb
GJ
54872013-06-12 Grégoire Jadi <daimrod@gmail.com>
5488
5489 * mail/reporter.el (reporter-submit-bug-report):
5490 Handle missing package-name. (Bug#14600)
5491
79d7167f
TH
54922013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5493
5494 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5495 (reftex-citation-prompt, reftex-default-bibliography)
5496 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5497 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5498 (reftex-bib-sort-author, reftex-bib-sort-year)
5499 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5500 (reftex-extract-bib-entries-from-thebibliography)
5501 (reftex-get-bibkey-default, reftex-get-bib-names)
5502 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5503 (reftex-format-bib-entry, reftex-parse-bibitem)
5504 (reftex-format-bibitem, reftex-do-citation)
5505 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5506 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5507 (reftex-insert-bib-matches, reftex-format-citation)
5508 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5509 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5510 existing comments into docstrings.
5511
5f9dbd7a
XF
55122013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5513
5514 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5515
94df41ab
AS
55162013-06-12 Andreas Schwab <schwab@suse.de>
5517
5518 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5519 for auto-save files.
5520
a7f3fecc
GM
55212013-06-12 Glenn Morris <rgm@gnu.org>
5522
001809f6
GM
5523 * ido.el (ido-delete-ignored-files): Remove.
5524 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5525 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5526
834b5ded
EL
55272013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5528
08c73ed2
EL
5529 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5530
834b5ded
EL
5531 * ido.el (ido-delete-ignored-files): New function,
5532 split from ido-make-file-list-1.
5533 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5534 (ido-make-file-list-1): Use ido-delete-ignored-files.
5535
daabf15a
LL
55362013-06-12 Leo Liu <sdl.web@gmail.com>
5537
5538 * progmodes/octave.el (inferior-octave-startup)
5539 (inferior-octave-completion-table)
5540 (inferior-octave-track-window-width-change)
5541 (octave-eldoc-function-signatures, octave-help)
5542 (octave-find-definition): Use single quoted strings.
5543 (inferior-octave-startup-args): Change default value.
5544 (inferior-octave-startup): Do not hard code "-i" and
5545 "--no-line-editing".
5546 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5547 (inferior-octave-directory-tracker): Use it.
5548 (octave-goto-function-definition): Robustify.
5549 (octave-help): Support highlighting operators in 'See also'.
5550 (octave-find-definition): Find subfunctions only in Octave mode.
5551
cf4e5178
SM
55522013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * help-fns.el (help-fns--compiler-macro): If the handler function is
5555 named, then put a link to it.
5556 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5557 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5558 (cl-typep): Use it.
5559 (cl-eval-when): Simplify debug spec.
5560 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5561 compiler-macro function instead of setting `compiler-macro-file'.
5562
99c81280 55632013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
5564
5565 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5566 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5567
f56be016
SM
55682013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5569 Daniel Hackney <dan@haxney.org>
5570
5571 First part of Daniel Hackney's patch to package.el.
5572 * emacs-lisp/package.el: Use defstruct.
5573 (package-desc): New, main struct.
5574 (package--bi-desc, package--ac-desc): New structs, used to describe the
5575 format in external files.
5576 (package-desc-vers): Replace with package-desc-version accessor.
5577 (package-desc-doc): Replace with package-desc-summary accessor.
5578 (package-activate-1): Remove `package' arg since the pkg-vec now
5579 includes the name.
5580 (define-package): Use package-desc-from-define.
5581 (package-unpack-single): Change file-name arg to be a symbol.
5582 (package--add-to-archive-contents): Use package-desc-create and new
5583 accessor functions to package--ac-desc.
5584 (package-buffer-info, package-tar-file-info): Return a package-desc.
5585 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5586 arg to be a package-desc.
5587 (package-install-file): Adjust accordingly. Use \' to match EOS.
5588 (package--from-builtin): New function.
5589 (describe-package-1, package-menu--generate): Use it.
5590 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5591 (package-generate-autoloads): Idem and return the name of the file.
5592 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5593 Change pkg-info arg to be a package-desc.
5594 Use package-make-ac-desc.
5595 (package-upload-file): Use \' to match EOS.
5596 * finder.el (finder-compile-keywords): Use package-make-builtin.
5597
31119d63
SM
55982013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5599
931a2762
SM
5600 * vc/vc.el (vc-deduce-fileset): Change error message.
5601 (vc-read-backend): New function.
5602 (vc-next-action): Use it.
5603
5a3eb0c6
SM
5604 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5605
e3eb1bb7
SM
5606 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5607 (prolog-font-lock-keywords): Use regexp-opt instead.
5608 Don't manually highlight strings.
5609 (prolog-mode-variables): Simplify comment-start-skip.
5610 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5611
31119d63
SM
5612 * emacs-lisp/generic.el (generic--normalise-comments)
5613 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5614 (generic-mode-set-comments): Use them.
5615 (generic-bracket-support): Use setq-local.
5616 (generic-make-keywords-list): Declare obsolete.
5617
7de135d0
GM
56182013-06-11 Glenn Morris <rgm@gnu.org>
5619
5620 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5621 Prettify after setting font-lock-defaults. (Bug#14574)
5622
fa6bc6fd
JB
56232013-06-11 Juanma Barranquero <lekktu@gmail.com>
5624
5625 * replace.el (query-replace, occur-read-regexp-defaults-function)
5626 (replace-search):
5627 * subr.el (declare-function, number-sequence, local-set-key)
5628 (substitute-key-definition, locate-user-emacs-file)
5629 (with-silent-modifications, split-string, eval-after-load):
5630 Fix typos, remove unneeded backslashes and reflow some docstrings.
5631
cf1f9b9a
SM
56322013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5635 default for Elisp files.
5636
56602a4b
GM
56372013-06-11 Glenn Morris <rgm@gnu.org>
5638
5639 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5640 although define-derived-mode was doing this anyway. (Bug#14583)
5641
30ae0b2c
JB
56422013-06-10 Juanma Barranquero <lekktu@gmail.com>
5643
5644 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5645 Fix make-variable-buffer-local call to refer to the correct variable.
5646
fa472906
AG
56472013-06-10 Aidan Gauland <aidalgol@amuri.net>
5648
5649 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
5650 (eshell-visual-subcommands, eshell-visual-options):
5651 Add summary line to docstrings. Add cross-references.
fa472906 5652
ff4871b9
GM
56532013-06-10 Glenn Morris <rgm@gnu.org>
5654
5655 * epa.el (epa-read-file-name): New function. (Bug#14510)
5656 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5657
04fcf1b0
AG
56582013-06-09 Aidan Gauland <aidalgol@amuri.net>
5659
5660 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5661 output redirection to be ignored with visual commands.
5662
88b00caa
AG
56632013-06-09 Aidan Gauland <aidalgol@amuri.net>
5664
5665 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
5666 (eshell-term-initialize): Move long lambda to separate function
5667 eshell-visual-command-p.
e7b41c4c
JB
5668 * eshell/em-dirs.el (eshell-dirs-initialise):
5669 * eshell/em-script.el (eshell-script-initialize):
5670 Add missing #' to lambda.
88b00caa 5671
fda74125
LL
56722013-06-08 Leo Liu <sdl.web@gmail.com>
5673
5674 * progmodes/octave.el (octave-add-log-current-defun): New function.
5675 (octave-mode): Set add-log-current-defun-function.
5676 (octave-goto-function-definition): Do not move point if not found.
5677 (octave-find-definition): Enhance to try subfunctions first.
5678
467f3b33
GM
56792013-06-08 Glenn Morris <rgm@gnu.org>
5680
5681 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5682 (byte-compile-backward-char, byte-compile-backward-word):
5683 Improve previous change, to handle non-explicit nil.
5684
544badc3
SM
56852013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5686
5687 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5688 (smie--opener/closer-at-point): New function.
5689 (smie--matching-block-data): Use it. Don't match from right after an
5690 opener or right before a closer. Obey smie-blink-matching-inners.
5691 Don't signal a mismatch for repeated inners like "switch..case..case".
5692
a175bf33
LL
56932013-06-07 Leo Liu <sdl.web@gmail.com>
5694
5695 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5696 to t. (Bug#14303)
ce8209d4
LL
5697 (octave-function-header-regexp): Fix. (Bug#14570)
5698 (octave-help-mode-finish-hook, octave-help-mode-finish):
5699 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
5700
5701 * newcomment.el (comment-search-backward): Revert last change.
5702 (Bug#14434)
5703
5704 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5705
a822acff
EZ
57062013-06-07 Eli Zaretskii <eliz@gnu.org>
5707
5708 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5709 through xargs, to avoid failure due to MS-Windows limitations on
5710 command-line length.
5711
961166f5
GM
57122013-06-06 Glenn Morris <rgm@gnu.org>
5713
d0341459
GM
5714 * font-lock.el (lisp-font-lock-keywords-2):
5715 Treat user-error like error.
5716
961166f5
GM
5717 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5718 (byte-compile-backward-char, byte-compile-backward-word):
5719 Handle explicit nil arguments. (Bug#14565)
5720
80fa505f
AM
57212013-06-05 Alan Mackenzie <acm@muc.de>
5722
5723 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 5724 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 5725 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 5726 (Bug#9706)
80fa505f 5727
fccdc796
SM
57282013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5729
5730 * autorevert.el (auto-revert-notify-handler): Use memq.
5731 Hide assertion failure.
5732
5733 * skeleton.el: Use cl-lib.
5734 (skeleton-further-elements): Use defvar-local.
5735 (skeleton-insert): Use cl-progv.
5736
9bfff84b
TZ
57372013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5738
5739 * progmodes/prog-mode.el (prog-prettify-symbols)
5740 (prog-prettify-install): Update docstrings.
5741
55577e7c
SM
57422013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * simple.el: Move all the prog-mode code to prog-mode.el.
5745 * progmodes/prog-mode.el: New file.
5746 * loadup.el: Add prog-mode.el.
5747
8fc57765
TZ
57482013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5749
5750 * simple.el (prog-prettify-symbols): Add version.
5751 (prog-prettify-install): Add convenience function to prettify symbols.
5752
5753 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5754 (perl--augmented-font-lock-keywords-1)
5755 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5756 variables and use it.
5757
5758 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5759 (cfengine3-mode): Remove unneeded variable and use it.
5760
5761 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5762 (lisp--augmented-font-lock-keywords-1)
5763 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5764 Remove unneeded variables and use it.
5765
650645d5 57662013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
5767
5768 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 5769 to point when opening the connection. (Bug#14380)
28f5da6d 5770
781b4af6
SM
57712013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5772
5773 * subr.el (load-history-regexp, load-history-filename-element)
5774 (eval-after-load, after-load-functions, do-after-load-evaluation)
5775 (eval-next-after-load, display-delayed-warnings)
5776 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5777 definition of save-match-data.
5778 (overriding-local-map): Remove accidental obsolescence declaration.
5779
5780 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5781
3ca0d0b4
TZ
57822013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5783
5784 Generalize symbol prettify support to prog-mode and implement it
5785 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5786 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5787 (prog--prettify-font-lock-compose-symbol)
5788 (prog-prettify-font-lock-symbols-keywords): New variables and
5789 functions to support symbol prettification.
5790 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5791 (lisp--augmented-font-lock-keywords-1)
5792 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5793 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5794 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
5795 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5796 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
5797 * progmodes/perl-mode.el (perl-prettify-symbols)
5798 (perl--font-lock-compose-symbol)
5799 (perl--font-lock-symbols-keywords): Move to prog-mode.
5800 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5801 (perl-font-lock-keywords-1)
5802 (perl-font-lock-keywords-2): Remove explicit prettify support.
5803 (perl--augmented-font-lock-keywords)
5804 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
5805 (perl--augmented-font-lock-keywords-2, perl-mode):
5806 Implement prettify support.
3ca0d0b4 5807
976cb066
LL
58082013-06-05 Leo Liu <sdl.web@gmail.com>
5809
5810 Re-implement smie matching block highlight using
5811 show-paren-data-function. (Bug#14395)
5812 * emacs-lisp/smie.el (smie-matching-block-highlight)
5813 (smie--highlight-matching-block-overlay)
5814 (smie--highlight-matching-block-lastpos)
5815 (smie-highlight-matching-block)
5816 (smie-highlight-matching-block-mode): Remove.
5817 (smie--matching-block-data-cache): New variable.
5818 (smie--matching-block-data): New function.
5819 (smie-setup): Use smie--matching-block-data for
5820 show-paren-data-function.
5821
5822 * progmodes/octave.el (octave-mode-menu): Fix.
5823 (octave-find-definition): Skip garbage lines.
5824
208d0342
SM
58252013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 Fix compilation error with simultaneous dynamic+lexical scoping.
5828 Add warning when a defvar appears after the first let-binding.
5829 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5830 (byte-compile-close-variables): Initialize it.
5831 (byte-compile--declare-var): New function.
5832 (byte-compile-file-form-defvar)
5833 (byte-compile-file-form-define-abbrev-table)
5834 (byte-compile-file-form-custom-declare-variable): Use it.
5835 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5836 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5837 (byte-compile-bind): Handle dynamic bindings that shadow
5838 lexical bindings.
5839 (byte-compile-unbind): Make arg non-optional.
5840 (byte-compile-let): Simplify.
5841 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5842 (cconv--analyse-function, cconv-analyse-form): Populate it.
5843 Protect byte-compile-bound-variables to limit the scope of defvars.
5844 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5845 Remove unneeded rule for `declare'.
5846
5847 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5848 so as to avoid depending on cl-adjoin at run-time.
5849 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5850
5851 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5852 (macroexp--warn-and-return): Use it.
5853
2587b005
LL
58542013-06-05 Leo Liu <sdl.web@gmail.com>
5855
5856 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5857
f1da3c88
LL
58582013-06-04 Leo Liu <sdl.web@gmail.com>
5859
5860 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5861 (compilation-auto-jump): Suppress the "Mark set" message to give
5862 way to exit message.
5863
3caa391f
AM
58642013-06-04 Alan Mackenzie <acm@muc.de>
5865
5866 Remove faulty optimisation from indentation calculation.
5867 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5868 search limit based on 2000 characters back from indent-point.
5869
068922a2
TH
58702013-06-03 Tassilo Horn <tsdh@gnu.org>
5871
5872 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5873
1f8fdd53
SM
58742013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5875
bbcc4d97
SM
5876 * emacs-lisp/lisp.el: Use lexical-binding.
5877 (lisp--local-variables-1, lisp--local-variables): New functions.
5878 (lisp--local-variables-completion-table): New var.
208d0342 5879 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 5880
1f8fdd53
SM
5881 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5882 eagerly (bug#14422).
5883
c9628c79
MA
58842013-06-03 Michael Albinus <michael.albinus@gmx.de>
5885
5886 * autorevert.el (auto-revert-notify-enabled)
5887 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5888 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5889 (auto-revert-notify-handler): Handle also gfilenotify.
5890
e7b41c4c 5891 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 5892 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 5893 Remove.
c9628c79 5894
e5e4a942
JL
58952013-06-03 Juri Linkov <juri@jurta.org>
5896
5897 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5898 `M-s h .'. (Bug#14427)
5899
5900 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5901 command `hi-lock-face-symbol-at-point'.
5902 (hi-lock-face-symbol-at-point): New command.
5903 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5904 (hi-lock-menu): Add `highlight-symbol-at-point'.
5905 (hi-lock-mode): Doc fix.
5906
5907 * isearch.el (isearch-forward-symbol-at-point): New command.
5908 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5909 (isearch-highlight-regexp): Add a regexp which matches
5910 words/symbols for word/symbol mode.
5911
5912 * subr.el (find-tag-default-bounds): New function with the body
5913 mostly moved from `find-tag-default'.
5914 (find-tag-default): Move most code to `find-tag-default-bounds',
5915 call it and apply `buffer-substring-no-properties' afterwards.
5916
26b3353a
TH
59172013-06-03 Tassilo Horn <tsdh@gnu.org>
5918
781b4af6
SM
5919 * eshell/em-term.el (eshell-term-initialize):
5920 Use `cl-intersection' rather than `intersection'.
26b3353a 5921
51b60f53
XF
59222013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5923
fe054b63 5924 * vc/log-view.el: Doc fix.
d3ffe17c 5925 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 5926
a0eb10b3 59272013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
5928
5929 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5930 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5931 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5932 (eieio-unbound, eieio-default-superclass)
5933 (eieio--define-field-accessors, method-static, method-before)
5934 (method-primary, method-after, method-num-lists)
5935 (method-generic-before, method-generic-primary)
5936 (method-generic-after, method-num-slots)
5937 (eieio-specialized-key-to-generic-key)
5938 (eieio--check-type, class-v, class-p)
5939 (eieio-class-name, define-obsolete-function-alias)
5940 (eieio-class-parents-fast, eieio-class-children-fast)
5941 (same-class-fast-p, class-constructor, generic-p)
5942 (generic-primary-only-p, generic-primary-only-one-p)
5943 (class-option-assoc, class-option, eieio-object-p)
5944 (class-abstract-p, class-method-invocation-order)
5945 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5946 (eieio-class-un-autoload, eieio-defclass)
5947 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5948 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5949 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5950 (eieio-defgeneric-reset-generic-form)
5951 (eieio-defgeneric-form-primary-only)
5952 (eieio-defgeneric-reset-generic-form-primary-only)
5953 (eieio-defgeneric-form-primary-only-one)
5954 (eieio-defgeneric-reset-generic-form-primary-only-one)
5955 (eieio-unbind-method-implementations)
5956 (eieio--defmethod, eieio--typep)
5957 (eieio-perform-slot-validation, eieio-validate-slot-value)
5958 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5959 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5960 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5961 (eieio-slot-name-index, eieio-class-slot-name-index)
5962 (eieio-set-defaults, eieio-initarg-to-attribute)
5963 (eieio-attribute-to-initarg, eieio-c3-candidate)
5964 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5965 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5966 (eieio-class-precedence-list, eieio-generic-call-methodname)
5967 (eieio-generic-call-arglst, eieio-generic-call-key)
5968 (eieio-generic-call-next-method-list)
5969 (eieio-pre-method-execution-functions, eieio-generic-call)
5970 (eieio-generic-call-primary-only, eieiomt-method-list)
5971 (eieiomt-optimizing-obarray, eieiomt-install)
5972 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5973 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 5974 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
5975 (defclass): Remove `eval-and-compile' from macro.
5976 (call-next-method, shared-initialize): Instead of using
5977 `scoped-class' variable, use new eieio--scoped-class, and
5978 eieio--with-scoped-class.
5979 (initialize-instance): Rename local variable 'scoped-class' to
5980 'this-class' to remove ambiguitity from old global.
5981
5982 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5983 eieio.el.
4f405069
JB
5984 (eieio--scoped-class-stack): New variable.
5985 (eieio--scoped-class): New fcn.
890f7890
DE
5986 (eieio--with-scoped-class): New scoping macro.
5987 (eieio-defclass): Use pushnew instead of add-to-list.
5988 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5989 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5990 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5991 `scoped-class' variable, use new eieio--scoped-class, and
5992 eieio--with-scoped-class.
5993
5994 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5995
d105b0e2
TH
59962013-06-02 Tassilo Horn <tsdh@gnu.org>
5997
5998 * eshell/esh-ext.el (eshell-external-command): Pass args to
5999 `eshell-find-interpreter'.
6000 (eshell-find-interpreter): Add new second parameter ARGS.
6001
6002 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6003 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6004
6005 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6006 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6007
6008 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6009 (eshell-visual-options): New defcustom.
6010 (eshell-escape-control-x): Adapt docstring.
6011 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6012 `eshell-visual-options' in addition to `eshell-visual-commands'.
6013 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6014
f46305c8 60152013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6016
6017 * progmodes/python.el (python-indent-block-enders): Add break,
6018 continue and raise keywords.
6019
d870df21
GM
60202013-06-01 Glenn Morris <rgm@gnu.org>
6021
9133b82e
GM
6022 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6023
02c992ec 6024 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6025 * progmodes/cc-cmds.el (delete-forward-p):
6026 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6027 * progmodes/cc-engine.el (buffer-syntactic-context):
6028 * progmodes/cc-fonts.el (face-property-instance):
6029 * progmodes/cc-mode.el (set-keymap-parents):
6030 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6031 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6032 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6033 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6034 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6035
31e7b090
GM
6036 * progmodes/cc-vars.el (other): Emacs has this widget since
6037 at least 21.1, so don't (re)define it.
6038
d870df21
GM
6039 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6040 Replace the obsolete alias pcomplete-arg-quote-list.
6041
c75c93c7
LL
60422013-06-01 Leo Liu <sdl.web@gmail.com>
6043
6044 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6045 punctuation syntax.
6046 (inferior-octave-minimal-columns)
6047 (inferior-octave-last-column-width): New variables.
6048 (inferior-octave-track-window-width-change): New function.
6049 (inferior-octave-mode): Adjust column width so that Octave output,
6050 for example from 'ls', can fit into the window nicely.
6051
973d1e12
DG
60522013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6053
6054 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6055 Highlight expansions inside regexp literals.
6056
0888c286
GM
60572013-05-31 Glenn Morris <rgm@gnu.org>
6058
e26aac1f
GM
6059 * obsolete/sym-comp.el (symbol-complete):
6060 Replace obsolete completion-annotate-function.
6061
0888c286
GM
6062 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6063
19bb8e62
DG
60642013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6065
781b4af6
SM
6066 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6067 New function, checks if point is inside a literal that allows
19bb8e62
DG
6068 expression expansion.
6069 (ruby-syntax-propertize-expansion): Use it.
6070 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6071 around the body.
6072
01dea85f
JL
60732013-05-30 Juri Linkov <juri@jurta.org>
6074
6075 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6076 to "\M-si".
6077 (isearch-invisible): New variable.
6078 (isearch-forward): Doc fix.
6079 (isearch-mode): Set `isearch-invisible'
6080 to the value of `search-invisible'.
6081 (isearch-toggle-case-fold): Doc fix.
6082 (isearch-toggle-invisible): New command.
6083 (isearch-query-replace): Let-bind `search-invisible'
6084 to the value of `isearch-invisible'.
6085 (isearch-search): Use `isearch-invisible' instead of
6086 `search-invisible'. Let-bind `search-invisible'
6087 to the value of `isearch-invisible'. (Bug#11378)
6088
ab1bdce5
JL
60892013-05-30 Juri Linkov <juri@jurta.org>
6090
6091 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6092 call when `query-flag' is nil and `search-invisible' is non-nil.
6093 (Bug#11746)
6094
d6d236e2
GM
60952013-05-30 Glenn Morris <rgm@gnu.org>
6096
8accd027
GM
6097 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6098
2a8bed1c
GM
6099 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6100 (cc-require): Suppress spurious "noruntime" warnings.
6101 (cc-require-when-compile): Use fboundp, for sake of compiler.
6102
d6d236e2
GM
6103 * progmodes/cc-mode.el: Move load of cc-vars before that of
6104 cc-langs (which in turn loads cc-vars), to quieten compiler.
6105
9190b35b
SM
61062013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * paren.el: Simplify the code.
6109 (show-paren-mode): Always start the timer.
6110 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6111 (show-paren--overlay, show-paren--overlay-1): Rename from
6112 show-paren-overlay and show-paren-overlay-1, and initialize to an
6113 overlay rather than to nil.
6114 (show-paren-function): Misc cleanup and simplifications.
6115
4f8d1cf6
SM
61162013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 * paren.el (show-paren-data-function): New hook.
6119 (show-paren--default): New function, extracted from show-paren-function.
6120 (show-paren-function): Use show-paren-data-function.
6121
02d844b5
GM
61222013-05-30 Glenn Morris <rgm@gnu.org>
6123
d209d4a9
GM
6124 * ielm.el (ielm-map, ielm-complete-symbol):
6125 Use completion-at-point rather than obsolete functions.
6126 (inferior-emacs-lisp-mode): Doc fix.
6127 Set completion-at-point-functions, rather than
6128 comint-dynamic-complete-functions.
6129
2082faa6
GM
6130 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6131 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6132 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6133
dd8620de
GM
6134 * image.el (image-animated-p): Tweak definition.
6135
ceca95b1
GM
6136 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6137 (rlogin-process-connection-type): Tweak default. Add set-after.
6138 (rlogin-host): Doc fix.
6139 (rlogin): Tweak prompt.
6140 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6141
ee9f1acc
GM
6142 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6143 * progmodes/tcl.el (inferior-tcl-mode-map):
6144 Use completion-at-point rather than obsolete alias.
6145
45ce222e
GM
6146 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6147
02d844b5
GM
6148 * minibuffer.el (read-file-name-completion-ignore-case):
6149 Move before completion--in-region, for eager macro expansion.
6150
ac44d6c1
JL
61512013-05-29 Juri Linkov <juri@jurta.org>
6152
6153 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6154 for total count of matching lines. Add `global-matches' for total
6155 count of matches. Rename `matches' to `lines' for count of
6156 matching lines. Add `matches' for count of matches.
6157 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6158 to `prev-line' for line number of prev match endpt.
6159 Increment `matches' for every match. Print the number of
6160 matching lines in the header.
6161 (occur-context-lines): Rename `lines' to `curr-line'.
6162 Rename `prev-lines' to `prev-line'. (Bug#14017)
6163
3c9c9d38
JL
61642013-05-29 Juri Linkov <juri@jurta.org>
6165
6166 * replace.el (perform-replace): Add `skip-read-only-count',
6167 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6168 Increment them for corresponding conditions and report the number
6169 of skipped occurrences in the final message. (Bug#11746)
6170 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6171 (replace-string, replace-regexp): Doc fix.
6172
33e249a2
SM
61732013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6174
8e399682
SM
6175 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6176
33e249a2 6177 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6178 prog-mode-map (bug#14504).
33e249a2 6179
f236dd84
LL
61802013-05-29 Leo Liu <sdl.web@gmail.com>
6181
6182 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6183 (octave-help): Small simplification.
6184
6185 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6186 off the highlight first.
6187
3694d13f
GM
61882013-05-29 Glenn Morris <rgm@gnu.org>
6189
03983bdc
GM
6190 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6191 Handle idlwave-last-system-routine-info-cons-cell being nil.
6192
bc74a74a
GM
6193 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6194 (idlwave-write-paths): Simplify via with-temp-buffer.
6195
8b394200
GM
6196 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6197 * emulation/cua-rect.el: Also load cua-base at run time.
6198
3694d13f
GM
6199 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6200 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6201 (cperl-imenu-on-info): Require imenu.
6202
336d7284
AM
62032013-05-28 Alan Mackenzie <acm@muc.de>
6204
6205 Handle "capitalised keywords" correctly.
33e249a2 6206 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6207
cb29c582
AG
62082013-05-28 Aidan Gauland <aidalgol@amuri.net>
6209
781b4af6 6210 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6211
690e44b2
GM
62122013-05-28 Glenn Morris <rgm@gnu.org>
6213
e658d75c
GM
6214 * vc/vc-arch.el (vc-exec-after): Declare.
6215 (vc-switches): Autoload.
6216 * vc/vc-bzr.el: No need to require vc when compiling.
6217 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6218 (vc-resynch-buffer, vc-dir-refresh): Declare.
6219 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6220 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6221 (vc-resynch-buffer): Declare.
6222 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6223 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6224 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6225 (grep-read-regexp, grep-read-files, grep-expand-template)
6226 (vc-dir-refresh): Declare.
6227 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6228 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6229 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6230 * vc/vc-mtn.el (vc-exec-after): Declare.
6231 (vc-switches): Autoload.
6232 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6233 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6234 (vc-file-tree-walk): Declare.
712b9732
GM
6235 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6236 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6237 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6238 * vc/vc-svn.el (vc-exec-after): Declare.
6239 (vc-switches, vc-setup-buffer): Autoload.
6240 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6241 Autoload.
6242 (vc-resynch-buffer): Declare.
6243
98e87fb3
GM
6244 * obsolete/fast-lock.el (byte-compile-warnings):
6245 Don't warn about obsolete features in this obsolete file.
6246
f5379553
GM
6247 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6248 Move definition before use.
6249
7a20ef83
GM
6250 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6251 (dun-unix-verbs): Remove dun-zippy.
6252 (dun-zippy): Remove function.
6253
690e44b2
GM
6254 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6255
3a52ccf7
JL
62562013-05-27 Juri Linkov <juri@jurta.org>
6257
6258 * replace.el (replace-search): New function with code moved out
6259 from `perform-replace'.
6260 (replace-highlight, replace-dehighlight): Move function definitions
6261 up closer to `replace-search'. (Bug#11746)
6262
d289938a
JL
62632013-05-27 Juri Linkov <juri@jurta.org>
6264
6265 * replace.el (perform-replace): Ignore invisible matches.
6266 In addition to checking `query-replace-skip-read-only', also
6267 filter out matches by calling `run-hook-with-args-until-failure'
6268 on `isearch-filter-predicates', and also check `search-invisible'
6269 for t or call `isearch-range-invisible'.
6270 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6271
66fc57e3
JL
62722013-05-27 Juri Linkov <juri@jurta.org>
6273
6274 * isearch.el (isearch-filter-predicates): Rename from
6275 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6276 (isearch-message-prefix): Display text from the property
6277 `isearch-message-prefix' of the currently active filters.
6278 (isearch-search): Don't compare `isearch-filter-predicate' with
6279 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6280 on `isearch-filter-predicates'. Also check `search-invisible' for t
6281 or call `isearch-range-invisible'.
6282 (isearch-filter-visible): Make obsolete.
6283 (isearch-lazy-highlight-search):
6284 Call `run-hook-with-args-until-failure' on
6285 `isearch-filter-predicates' and use `isearch-range-invisible'.
6286
6287 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6288 `isearch-filter-predicates' instead of `funcall'ing
6289 `isearch-filter-predicate'.
6290 (Info-mode): Set `Info-isearch-filter' to
6291 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6292
6293 * dired-aux.el (dired-isearch-filter-predicate-orig):
6294 Remove variable.
6295 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6296 (dired-isearch-filenames-end): Add and remove
6297 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6298 instead of changing the value of `isearch-filter-predicate'.
6299 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6300 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6301 Put property `isearch-message-prefix' to "filename " on
6302 `dired-isearch-filter-filenames'.
6303
6304 * wdired.el (wdired-change-to-wdired-mode):
6305 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6306 locally instead of changing `isearch-filter-predicate'.
6307 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6308
f1a60a0f
DG
63092013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6310
6311 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6312 return the commit hash (Bug#14459). Also set the
6313 `vc-git-detached' property.
6314 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6315 (vc-git-mode-line-string): Use the same help-echo format whether
6316 in detached mode or not, because we know the actual revision now.
6317 When in detached mode, shorten the revision to 7 chars.
6318
7f17cc40
SM
63192013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6320
6321 * emacs-lisp/easy-mmode.el (define-minor-mode):
6322 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6323 mode hook and provide a docstring.
6324
25c8401c
AM
63252013-05-27 Alan Mackenzie <acm@muc.de>
6326
6327 Remove spurious syntax-table text properties inserted by C-y.
6328 * progmodes/cc-mode.el (c-after-change): Also clear hard
6329 syntax-table property with value nil.
6330
dde84790
MA
63312013-05-27 Michael Albinus <michael.albinus@gmx.de>
6332
6333 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6334 when reading the events; the buffer layout shall not be changed.
6335
837fd9af
LL
63362013-05-27 Leo Liu <sdl.web@gmail.com>
6337
6338 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6339 New variable.
6340 (inferior-octave-directory-tracker): Automatically re-sync
6341 default-directory.
6342 (octave-help): Improve handling of 'See also'.
6343
4fd996b3
SM
63442013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6345
416f1802
SM
6346 * doc-view.el: Minor naming convention tweaks.
6347 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6348
4fd996b3
SM
6349 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6350 even if there's no `display' property yet (bug#14435).
6351
a052ef3b
EZ
63522013-05-25 Eli Zaretskii <eliz@gnu.org>
6353
4fd996b3 6354 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6355
6356 * Makefile.in (custom-deps, finder-data, autoloads)
6357 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6358 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6359 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6360
c9023370
SM
63612013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6362
6363 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6364 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6365 Don't burp at EOB.
c9023370 6366
24d699fa
LL
63672013-05-25 Leo Liu <sdl.web@gmail.com>
6368
6369 * comint.el (comint-previous-matching-input): Do not flood the
6370 *Messages* buffer with trivial messages.
6371
17e5c0cc
SM
63722013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 * progmodes/flymake.el (flymake-nop): Don't return a string.
6375 (flymake-set-at): Fix typo.
6376
6377 * simple.el (read--expression): New function, extracted from
6378 eval-expression. Set completion-at-point-functions (bug#14465).
6379 (eval-expression, eval-minibuffer): Use it.
6380
5d028165
XF
63812013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6382
6383 * progmodes/flymake.el (flymake-save-buffer-in-file)
6384 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6385 (flymake-selected-frame, flymake-log, flymake-ins-after)
6386 (flymake-set-at, flymake-get-buildfile-from-cache)
6387 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6388 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6389 Refine the doc string.
6390 (flymake-get-file-name-mode-and-masks): Reformat.
6391 (flymake-get-real-file-name-function): Fix a minor bug.
6392
7a1d7ba7
JL
63932013-05-24 Juri Linkov <juri@jurta.org>
6394
6395 * progmodes/grep.el (grep-mode-font-lock-keywords):
6396 Support =linenumber= format used by git-grep for lines with
6397 function names. (Bug#13549)
6398
650cff3d
SM
63992013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6400
6401 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6402 0 after a semi-colon; it works better for smie-auto-fill.
6403 (octave--indent-new-comment-line): New function.
6404 (octave-indent-new-comment-line): Use it (indirectly).
6405 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6406 modify comment-line-break-function.
6407
6408 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6409 (smie-setup): Use add-function to set it.
6410
9631677d
SS
64112013-05-24 Sam Steingold <sds@gnu.org>
6412
6413 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6414 argument (before the `interactive' argument).
6415
50105835
SM
64162013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * image-mode.el (image-mode-winprops): Add winprops to
6419 image-mode-winprops-alist before running
6420 image-mode-new-window-functions.
6421 * doc-view.el (doc-view-new-window-function): Don't delay
6422 doc-view-goto-page via timers (bug#14435).
6423
57b9823e
TH
64242013-05-24 Tassilo Horn <tsdh@gnu.org>
6425
6426 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6427 (doc-view-desktop-save-buffer): New function.
6428 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6429 (desktop-buffer-mode-handlers):
6430 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6431 handler.
6432 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6433 `desktop-save-buffer' function.
6434
91aafa16
MA
64352013-05-24 Michael Albinus <michael.albinus@gmx.de>
6436
6437 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6438 (tramp-gvfs-file-name-handler): Raise a user error when
6439 `tramp-gvfs-enabled' is nil.
6440 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6441 Do not raise a user error when loading package. (Bug#14447)
6442
ec076379
MA
6443 * net/xesam.el: Move to obsolete/.
6444
db785726
GM
64452013-05-24 Glenn Morris <rgm@gnu.org>
6446
af5c7606
GM
6447 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6448
e5d1916a
GM
6449 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6450
ded62b08
GM
6451 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6452 (Info-find-node, Man-getpage-in-background): Declare.
6453
9e614a3f
GM
6454 * mail/unrmail.el (unrmail):
6455 Replace obsolete detect-coding-with-priority.
6456
892f8ca3
GM
6457 * net/socks.el (socks-split-string): Use this rather than split-string.
6458 (socks-nslookup-host): Update for above change.
6459 (dynamic-choice, s5-dynamic-choice-match)
6460 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6461 Comment out unused code.
6462
3c291973
GM
6463 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6464 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6465 (gud-tooltip-echo-area): Make obsolete.
6466 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6467
43cc956b
GM
6468 * progmodes/js.el (js--optimize-arglist): Declare.
6469
dab49a3b
GM
6470 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6471
36b9d085
GM
6472 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6473 (ediff-window-C): Declare.
6474
e354ae76
GM
6475 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6476 Tweak requires to silence compiler.
6477
b8e57bf4
GM
6478 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6479 (he-search-string, he-tried-table, he-expand-list)
6480 (he-init-string, he-string-member, he-substitute-string)
6481 (he-reset-string): Declare.
6482
db785726
GM
6483 * obsolete/options.el (list-options): Use custom-variable-p,
6484 rather than obsolete alias.
6485
b3531901
SS
64862013-05-23 Sam Steingold <sds@gnu.org>
6487
6488 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6489 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6490 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6491
bdda4c66
SM
64922013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6493
6494 * emacs-lisp/smie.el (smie-indent-forward-token)
6495 (smie-indent-backward-token): Handle string tokens (bug#14381).
6496
c43d45f9
TH
64972013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6498
fe1eb856
RS
6499 * ielm.el (ielm-menu): New menu.
6500 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6501
fe1eb856
RS
65022013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6503
6504 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6505 Fix deactivate action.
6506
6507 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6508 Add cleveref macros.
074dd971 6509
c43d45f9
TH
6510 * lisp/textmodes/reftex-parse.el
6511 (reftex-locate-bibliography-files): Accept options for
6512 bibliography commands.
6513 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6514 Add addbibresource. Basic Biblatex support.
6515
7764286e
MA
65162013-05-23 Michael Albinus <michael.albinus@gmx.de>
6517
6518 * net/tramp-gvfs.el (top):
6519 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6520 when loading package. (Bug#14447)
6521
d361bc10
GM
65222013-05-23 Glenn Morris <rgm@gnu.org>
6523
8fa23984
GM
6524 * progmodes/js.el: No need to load comint when compiling.
6525 (ring-insert, comint-send-string, comint-send-input)
6526 (comint-last-input-end, ido-chop): Declare.
6527
a5c7df1a
GM
6528 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6529 * vc/ediff-mult.el: Adjust requires.
6530 (ediff-directories-internal, ediff-directory-revisions-internal)
6531 (ediff-patch-file-internal): Declare.
6532 * vc/ediff-ptch.el: Adjust requires.
6533 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6534 (ediff-find-file): Autoload.
6535 * vc/ediff-util.el: No need to load ediff when compiling.
6536 (ediff-regions-internal): Declare.
6537 * vc/ediff-wind.el: Adjust requires.
6538 (ediff-compute-toolbar-width): Define when compiling.
6539 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6540 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6541 (dired-get-filename, dired-get-marked-files)
6542 (ediff-last-dir-patch, ediff-patch-default-directory)
6543 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6544 (ediff-patch-buffer-internal): Declare.
6545
e2aec513
GM
6546 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6547 (ispell-process, ispell-buffer-local-words, lm-summary)
6548 (lm-section-start, lm-section-end): Declare.
6549 (checkdoc-ispell-init): Simplify.
6550
e68bbd7c
GM
6551 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6552 (he-string-member, he-reset-string, he-substitute-string): Declare.
6553
7efe0991
GM
6554 * eshell/em-ls.el: Adjust requires.
6555 (eshell-glob-regexp): Declare.
f87b1284
GM
6556 * eshell/em-tramp.el: Adjust requires.
6557 (eshell-parse-command): Autoload.
6558 * eshell/em-xtra.el: Adjust requires.
6559 (eshell-parse-command): Autoload.
6560 * eshell/esh-ext.el: Adjust requires.
6561 (eshell-parse-command, eshell-close-handles): Autoload.
6562 * eshell/esh-io.el: Adjust requires.
6563 (eshell-output-filter): Autoload.
6564 * eshell/esh-util.el: No need to load tramp when compiling.
6565 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6566 Declare.
6567 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6568 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6569 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6570 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6571 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6572 * eshell/esh-opt.el, eshell/esh-proc.el:
6573 * eshell/esh-var.el: Adjust requires.
6574 * eshell/eshell.el: Do not require esh-util twice.
6575 (eshell-add-input-to-history): Declare.
6576 (eshell-command): Check history module is active before using it.
6577
d361bc10
GM
6578 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6579
85d090a9
LL
65802013-05-22 Leo Liu <sdl.web@gmail.com>
6581
6582 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6583
5d0acd9d
MA
65842013-05-22 Michael Albinus <michael.albinus@gmx.de>
6585
6586 * autorevert.el (auto-revert-notify-add-watch)
6587 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6588 it indicates changes in file modification time.
6589
0cdffd7d
GM
65902013-05-22 Glenn Morris <rgm@gnu.org>
6591
ca5995ec
GM
6592 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6593 Always delete the autoloaded function from the noruntime and
6594 unresolved functions lists.
6595
6450907e
GM
6596 * allout.el: No need to load epa, epg, overlay when compiling.
6597 (epg-context-set-passphrase-callback, epg-list-keys)
6598 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6599 (epg-key-user-id-list): Declare.
6600
9c6906f6
GM
6601 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6602 (viper-set-parsing-style-toggling-macro)
6603 (viper-set-emacs-state-searchstyle-macros):
6604 Use called-interactively-p on Emacs.
6605 (viper-looking-back): Make it an obsolete alias. Update callers.
6606 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6607 Use looking-back rather than viper-looking-back.
6608 (viper-tmp-insert-at-eob, viper-enlarge-region)
6609 (viper-read-string-with-history, viper-register-to-point)
6610 (viper-append-to-register, viper-change-state-to-vi)
6611 (viper-backward-char-carefully, viper-forward-char-carefully)
6612 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6613 (viper-change-state-to-emacs): Declare.
6614 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6615 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6616 * emulation/viper-mous.el: Do not load viper-cmd.
6617 (viper-backward-char-carefully, viper-forward-char-carefully)
6618 (viper-forward-word, viper-adjust-window): Declare.
6619
5f70c169
GM
6620 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6621
b1b7f300
GM
6622 * progmodes/idlw-help.el (idlwave-help-fontify):
6623 Use called-interactively-p.
6624
f6ebbb46
GM
6625 * term/w32console.el (w32-get-console-codepage)
6626 (w32-get-console-output-codepage): Declare.
6627
0cdffd7d
GM
6628 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6629 Remove unnecessary declarations.
6630 (dframe-message): Doc fix.
6631
6632 * info.el (dframe-select-attached-frame, dframe-current-frame):
6633 Declare.
6634
6635 * speedbar.el (speedbar-message): Make it an obsolete alias.
6636 Update all callers.
6637 (speedbar-with-attached-buffer)
6638 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6639 (speedbar-with-writable): Use backquote.
6640 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6641 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6642 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6643 rather than speedbar- aliases.
6644 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6645 (speedbar-make-specialized-keymap, speedbar-insert-button)
6646 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6647 (speedbar-do-function-pointer): Declare.
6648 (rmail-speedbar-button, rmail-speedbar-find-file)
6649 (rmail-speedbar-move-message):
6650 Use dframe-with-attached-buffer rather than speedbar- alias.
6651 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6652 (dframe-message, speedbar-make-specialized-keymap)
6653 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6654 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6655 (speedbar-insert-button, dframe-select-attached-frame)
6656 (dframe-maybee-jump-to-attached-frame)
6657 (speedbar-change-initial-expansion-list)
6658 (speedbar-previously-used-expansion-list-name): Declare.
6659 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6660 Use dframe-message, dframe-with-attached-buffer rather than
6661 speedbar- aliases.
6662 (gud-sentinel): Silence compiler.
6663 * progmodes/vhdl-mode.el (speedbar-refresh)
6664 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6665 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6666 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6667 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6668 (speedbar-file-lists, speedbar-make-tag-line)
6669 (speedbar-line-directory, speedbar-goto-this-file)
6670 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6671 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6672 (speedbar-make-button, speedbar-reset-scanners)
6673 (speedbar-files-item-info, speedbar-line-text)
6674 (speedbar-find-file-in-frame, speedbar-set-timer)
6675 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6676 (speedbar-with-writable): Do not (re)define it.
6677 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6678 rather than speedbar- alias.
6679
ee44b62a
LL
66802013-05-21 Leo Liu <sdl.web@gmail.com>
6681
6682 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6683 menu items.
6684 (octave-mode): Tweak fill-nobreak-predicate.
6685 (inferior-octave-startup): Check process to avoid infinite loop.
6686 (inferior-octave): Pop to buffer first to show abornmal process
6687 exit information.
6688
640f050f
GM
66892013-05-21 Glenn Morris <rgm@gnu.org>
6690
79458038
GM
6691 * printing.el (pr-menu-bar): Define when compiling.
6692
9cc3e83f
LL
66932013-05-21 Leo Liu <sdl.web@gmail.com>
6694
6695 * progmodes/octave.el (octave-auto-fill): Remove.
6696 (octave-indent-new-comment-line): Improve.
6697 (octave-mode): Use auto fill mode through
4f405069 6698 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 6699 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 6700 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
6701 (octave-help): Show parent directory.
6702
f440830d
GM
67032013-05-21 Glenn Morris <rgm@gnu.org>
6704
6705 * files.el (dired-unmark):
6706 * progmodes/gud.el (gdb-input): Update declarations.
6707
6708 * calculator.el (electric, ehelp): No need to load when compiling.
6709 (Electric-command-loop, electric-describe-mode): Declare.
6710
6711 * doc-view.el (doc-view-current-converter-processes): Move before use.
6712
6713 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6714 Move MODE-set-explicitly definition before use.
6715
6716 * international/mule-diag.el (mule-diag):
6717 Don't use obsolete window-system-version.
6718
6719 * mail/feedmail.el (smtpmail): No need to load when compiling.
6720 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6721
6722 * mail/mail-utils.el (rfc822): No need to load when compiling.
6723 (rfc822-addresses): Autoload it.
6724 (mail-strip-quoted-names): Trivial simplification.
6725
6726 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6727 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6728
6729 * net/snmp-mode.el (tempo): Don't duplicate requires.
6730
6731 * progmodes/prolog.el (info): No need to load when compiling.
6732 (comint): Require before shell requires it.
6733 (Info-goto-node): Autoload it.
6734 (Info-follow-nearest-node): Declare.
6735 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6736
6737 * textmodes/artist.el (picture-mode-exit): Declare.
6738
6739 * textmodes/reftex-parse.el (reftex-parse-from-file):
6740 Trivial rewrite so the compiler can parse it better.
6741
b4da2cbb
LL
67422013-05-20 Leo Liu <sdl.web@gmail.com>
6743
6744 * progmodes/octave.el (octave-help-mode-map)
6745 (octave-help-mode-finish-hook): New variables.
6746 (octave-help-mode, octave-help-mode-finish): New functions.
6747 (octave-help): Use octave-help-mode.
6748
33c0f65b
GM
67492013-05-20 Glenn Morris <rgm@gnu.org>
6750
6751 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6752
1a0a0a8a
DG
67532013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6754
6755 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6756 start at point, so that expansion starting right after opening
6757 slash in a regexp is recognized.
6758 (ruby-syntax-before-regexp-re): New defvar, extracted from
6759 ruby-syntax-propertize-function. Since the value of this regexp
6760 is looked up at runtime now, we should be able to turn
6761 `ruby-syntax-methods-before-regexp' into a defcustom later.
6762 (ruby-syntax-propertize-function): Split regexp matching into two
6763 parts, for opening and closing slashes. That allows us to skip
6764 over string interpolations and support multiline regexps.
6765 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6766 for them, which calls `ruby-syntax-propertize-expansion'.
6767 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6768 call to `ruby-syntax-propertize-function'.
6769 (ruby-syntax-propertize-expansion): Extracted from
6770 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
6771 (ruby-syntax-propertize-percent-literal): Leave point right after
6772 the percent symbol, so that the expression expansion rule can
6773 propertize the contents.
462388b6
DG
6774 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6775 heredoc openers.
6776 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 6777
c1a6c0a4
JL
67782013-05-18 Juri Linkov <juri@jurta.org>
6779
6780 * man.el (Man-default-man-entry): Remove `-' from the end
6781 of the default value. (Bug#14400)
6782
8051fccd
GM
67832013-05-18 Glenn Morris <rgm@gnu.org>
6784
6785 * comint.el (comint-password-prompt-regexp):
6786 Allow "password for XXX" where XXX contains colons (eg https://...).
6787
5e80b74f
LL
67882013-05-18 Leo Liu <sdl.web@gmail.com>
6789
6790 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 6791 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
6792 (octave-source-directories): Don't check process.
6793 (octave-source-directories, octave-find-definition): Doc fix.
6794
521a54c5
GM
67952013-05-18 Glenn Morris <rgm@gnu.org>
6796
86a94b05
GM
6797 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6798 Remove backspace/delete bindings. (Bug#14392)
6799
521a54c5
GM
6800 * cus-dep.el (custom-make-dependencies): Sort the output.
6801 (custom-versions-load-alist): Convert comment to doc.
6802
42caeb89
LL
68032013-05-17 Leo Liu <sdl.web@gmail.com>
6804
6805 * newcomment.el (comment-search-backward): Stricter in finding
6806 comment start. (Bug#14303)
6807
6808 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6809 (octave-comment-start-skip): Properly anchored.
6810
e219dd97
LL
68112013-05-17 Leo Liu <sdl.web@gmail.com>
6812
fe1eb856
RS
6813 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6814 Clean up when turned off. (Bug#14395)
e219dd97
LL
6815 (smie--highlight-matching-block-overlay): No longer buffer-local.
6816 (smie-highlight-matching-block): Adjust.
6817
dc5dcb4b
PE
68182013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6819
6820 Doc string fix for "nanoseconds" (Bug#14406).
6821 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6822 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6823
1db165f0
JB
68242013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6825
6826 * calc/calc-units.el (math-extract-units): Preserve powers
6827 of units.
6828
c7a8fcac
LL
68292013-05-17 Leo Liu <sdl.web@gmail.com>
6830
6831 * subr.el (delete-consecutive-dups): New function.
6832 * ido.el (ido-set-matches-1): Use it.
6833 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6834 * ido.el (ido-remove-consecutive-dups): Remove.
6835
f678b18a
SM
68362013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6837
6838 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6839 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6840 regexp-opt's `words'.
6841
ebfe68e8
LL
68422013-05-16 Leo Liu <sdl.web@gmail.com>
6843
6844 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6845 (smie--highlight-matching-block-overlay)
6846 (smie--highlight-matching-block-lastpos)
6847 (smie--highlight-matching-block-timer): New variables.
6848 (smie-highlight-matching-block): New function.
6849 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6850 (smie-setup): Conditionally enable smie-blink-matching-open.
6851
bc8bc17d
WS
68522013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6853
6854 Sync with upstream verilog-mode r840.
6855 * progmodes/verilog-mode.el (verilog-mode-version)
6856 (verilog-mode-release-date): Update.
6857 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6858 (verilog-sig-tieoff): Fix string error on
6859 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6860 (verilog-read-decls): Fix parameters confusing
6861 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6862
df065a0b
EZ
68632013-05-16 Eli Zaretskii <eliz@gnu.org>
6864
6865 * subr.el (reveal-filename): New function.
6866
6867 * loadup.el: Compute Emacs executable versions on MS-Windows,
6868 where executables have the .exe extension. Add a hard link
6869 emacs-XX.YY.ZZ.exe on MS-Windows.
6870
6871 * Makefile.in (XARGS_LIMIT): New variable.
6872 (custom-deps, finder-data, autoloads)
6873 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6874 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6875 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6876 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6877
2d4bf34b
LL
68782013-05-16 Leo Liu <sdl.web@gmail.com>
6879
6880 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6881 (octave-mode-menu, octave-mode-map): Remove its uses.
6882
6b9c2d85
RZ
68832013-05-16 Reto Zimmermann <reto@gnu.org>
6884
6885 Sync with upstream vhdl mode v3.34.2.
6886 * progmodes/vhdl-mode.el: Use `push' throughout.
6887 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6888 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6889 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6890 (vhdl-actual-generic-name): New option to derive actual generic name.
6891 (vhdl-port-paste-signals): Replace formal by actual generics.
6892 (vhdl-beautify): New name for old group vhdl-align. Update users.
6893 (vhdl-beautify-options): New option.
6894 (vhdl-last-input-event): New compat alias. Use throughout.
6895 (vhdl-goto-line): Replace user level function `goto-line'.
6896 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6897 vhdl-fix-statement-buffer.
6898 (vhdl-create-mode-menu): Add some entries.
6899 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6900 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6901 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6902 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6903 to force statements on one line.
6904 (vhdl-remove-trailing-spaces-region):
6905 New, split from vhdl-remove-trailing-spaces.
6906 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6907 Respect vhdl-beautify-options.
6908 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6909 (vhdl-update-sensitivity-list): Not add with index if exists without.
6910 Not include array index with signal. Ignore keywords in comments.
6911 (vhdl-get-visible-signals): Regexp tweaks.
6912 (vhdl-template-component-inst): Handle empty library.
6913 (vhdl-template-type): Add template for 'enum' type.
6914 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6915 Use vhdl-replace-string.
6916 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6917 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6918 (vhdl-speedbar-initialize): Update for above name change.
6919 (vhdl-compose-wire-components): Fix in handling of constants.
6920 (vhdl-error-regexp-emacs-alist): New variable.
6921 (vhdl-error-regexp-add-emacs): New function;
6922 adds support for new compile.el (Emacs 22+)
6923 (vhdl-generate-makefile-1): Change target order for single lib. units.
6924 Allow use of absolute file names.
6925
9df4ec5e
LL
69262013-05-16 Leo Liu <sdl.web@gmail.com>
6927
6928 * simple.el (prog-indent-sexp): Indent enclosing defun.
6929
f5ba00a6
GM
69302013-05-15 Glenn Morris <rgm@gnu.org>
6931
ed8be7ff
GM
6932 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6933 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6934 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6935 (whitespace-highlight): Move to whitespace group.
6936
6937 * comint.el (comint-source):
6938 * pcmpl-linux.el (pcmpl-linux):
6939 * shell.el (shell-faces):
6940 * eshell/esh-opt.el (eshell-opt):
6941 * international/ccl.el (ccl): Remove empty custom groups.
6942
6943 * completion.el (dynamic-completion-mode):
6944 * jit-lock.el (jit-lock-debug-mode):
6945 * minibuffer.el (completion-in-region-mode):
6946 * type-break.el (type-break-mode-line-message-mode)
6947 (type-break-query-mode):
6948 * emulation/tpu-edt.el (tpu-edt-mode):
6949 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6950 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6951 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6952
6953 * term/xterm.el (xterm): Change parent group to terminals.
6954
6955 * master.el (master): Remove empty custom group.
6956 (master-mode): Remove unused :group argument.
6957 * textmodes/refill.el (refill): Remove empty custom group.
6958 (refill-mode): Remove unused :group argument.
6959
6960 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6961
82a7c41b
GM
6962 * cus-dep.el: Provide a feature.
6963 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
6964 Don't mistakenly ignore files whose basenames match a basename
6965 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 6966 Add a fallback method for getting :group.
f5ba00a6 6967
6d65486d
JL
69682013-05-15 Juri Linkov <juri@jurta.org>
6969
da547b32
JL
6970 * isearch.el (isearch-char-by-name): Rename from
6971 `isearch-insert-char-by-name'. Doc fix.
6972 (isearch-forward): Mention `isearch-char-by-name' in
6973 the docstring. (Bug#13348)
6974
6d65486d
JL
6975 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6976 `exit-minibuffer' instead of
6977 `isearch-nonincremental-exit-minibuffer'.
6978 (isearch-edit-string): Remove mention of
6979 `isearch-nonincremental-exit-minibuffer' from docstring.
6980 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6981 (isearch-forward-exit-minibuffer)
6982 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6983
c9990474
SM
69842013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6985
6e911150
SM
6986 * loadup.el: Just use unversioned DOC.
6987
c9990474
SM
6988 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6989 literals as extending to EOB.
6990 (nxml-last-fontify-end): Remove unused variable.
6991 (nxml-after-change1): Use with-silent-modifications.
6992 (nxml-extend-after-change-region): Simplify.
6993 (nxml-extend-after-change-region1): Remove function.
6994 (nxml-after-change1): Don't adjust for dependent regions.
6995 (nxml-fontify-matcher): Simplify.
6996 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6997 (xmltok-add-dependent): Remove function.
6998 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6999 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7000 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7001 unclosed <[[, <?, comment, and other literals as extending to EOB.
7002 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7003 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7004 Remove functions.
7005 (rng-do-some-validation-1): Don't mark dependent regions.
7006 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7007 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7008 (nxml-clear-dependent-regions): Remove functions.
7009 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7010 (nxml-ensure-scan-up-to-date):
7011 Don't clear&mark dependent regions.
7012
e3772e98
LL
70132013-05-15 Leo Liu <sdl.web@gmail.com>
7014
c9990474
SM
7015 * progmodes/octave.el (octave-goto-function-definition):
7016 Improve and fix callers.
e3772e98 7017
5ac2eb34
SM
70182013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7019
c46c57b0
SM
7020 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7021 the setter (bug#14387).
7022
5ac2eb34
SM
7023 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7024 surrounding group (bug#14402).
7025
180ed218
JL
70262013-05-14 Juri Linkov <juri@jurta.org>
7027
7028 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7029 (Bug#14390)
7030
0ac0fecb
GM
70312013-05-14 Glenn Morris <rgm@gnu.org>
7032
7033 * progmodes/f90.el (f90-imenu-generic-expression):
7034 Fix typo in 2013-05-08 change. (Bug#14402)
7035
2e78e6a7
JPG
70362013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7037
5ac2eb34
SM
7038 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7039 Remove signals for which replies are never received.
2e78e6a7 7040
53267cca
JPG
70412013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7042
7043 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7044 (gdb-handler-alist, gdb-handler-number): Remove variables.
7045 (gdb-handler-list): New variable.
7046 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7047 (gdb-pending-handler-p, gdb-handle-reply)
7048 (gdb-remove-all-pending-triggers): New functions.
7049 (gdb-discard-unordered-replies): New defcustom.
7050 (gdb-handler): New defstruct.
7051 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7052 instead of gdb-pending-triggers. Update docstring.
7053 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7054 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7055 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7056 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7057 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7058 (gdb-frame-handler): Pending triggers are now automatically managed.
7059 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7060 Remove argument.
7061 (gdb-input): Automatically handles pending triggers. Update docstring.
7062 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7063 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7064 Update comments.
7065 (gdb-done-or-error): Now use gdb-handle-reply.
7066
d04ce803
JPG
70672013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7068
7069 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7070 gdb-debug-log.
7071
0114073a
GM
70722013-05-14 Glenn Morris <rgm@gnu.org>
7073
7074 * subr.el (user-emacs-directory-warning): New option.
7075 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7076
4d25fd7e
LL
70772013-05-14 Leo Liu <sdl.web@gmail.com>
7078
7079 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7080 during redisplay.
7081 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7082 (octave-font-lock-texinfo-comment): Fix invalid search bound
7083 error: wrong side of point.
4d25fd7e 7084
27c8b6eb
GM
70852013-05-14 Glenn Morris <rgm@gnu.org>
7086
61aaeb01
GM
7087 * progmodes/flymake.el (flymake-xml-program): New option.
7088 (flymake-xml-init): Use it.
7089
5bf90bc5
GM
7090 * term/xterm.el: Provide a feature.
7091
7092 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7093
f4c7dfd2
GM
70942013-05-13 Glenn Morris <rgm@gnu.org>
7095
7096 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7097 Add compat aliases as a hack workaround. (Bug#14384)
7098
2aeb3a1d
LL
70992013-05-13 Leo Liu <sdl.web@gmail.com>
7100
b0e069c2
LL
7101 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7102 ###, and %!.
f5a9432f
LL
7103 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7104 C-M-q.
b0e069c2
LL
7105 (octave-comment-start-skip): Include %!.
7106 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7107
30ea8374
LL
71082013-05-12 Leo Liu <sdl.web@gmail.com>
7109
7110 * progmodes/octave.el (inferior-octave-startup): Store the value
7111 of __octave_srcdir__ for octave-source-directories.
7112 (inferior-octave-check-process): New function refactored out of
7113 inferior-octave-send-list-and-digest.
7114 (octave-source-directories)
7115 (octave-find-definition-filename-function): New variables.
7116 (octave-source-directories)
7117 (octave-find-definition-default-filename): New functions.
7118 (octave-find-definition): Improve to find functions implemented in C++.
7119
472a3834
GM
71202013-05-12 Glenn Morris <rgm@gnu.org>
7121
7122 * calendar/diary-lib.el (diary-outlook-format-1):
7123 Don't include dayname in the output. (Bug#14349)
7124
3191b52f
GM
71252013-05-11 Glenn Morris <rgm@gnu.org>
7126
0060ac73
GM
7127 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7128
3191b52f
GM
7129 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7130 Treat cc-provide like provide.
7131
e065ba74
KR
71322013-05-11 Kevin Ryde <user42@zip.com.au>
7133
7134 * cus-dep.el (custom-make-dependencies):
7135 Use generated-autoload-load-name for the sake of files such
7136 such cedet/semantic/bovine/c.el, where the base file name
7137 is not in load-path. (Bug#5277)
7138
36f84c37
GM
71392013-05-11 Glenn Morris <rgm@gnu.org>
7140
7141 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7142 Provide features.
7143
c8730c3a
LL
71442013-05-11 Leo Liu <sdl.web@gmail.com>
7145
7146 * progmodes/octave.el (octave-indent-comment): Improve.
7147 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7148 (octave-eldoc-function-signatures, octave-eldoc-function):
7149 New functions.
c8730c3a
LL
7150 (octave-mode, inferior-octave-mode): Add eldoc support.
7151
212e29f2
RS
71522013-05-11 Richard Stallman <rms@gnu.org>
7153
7154 * epa.el (epa-decrypt-file): Take output file name as argument
7155 and read it using `interactive'.
7156
083fe0d7
LL
71572013-05-11 Leo Liu <sdl.web@gmail.com>
7158
7159 * progmodes/octave.el (octave-beginning-of-line)
7160 (octave-end-of-line): Check before using up-list because it jumps
7161 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7162 (octave-indent-comment): New function.
7163 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7164 (octave-begin-keywords, octave-end-keywords)
7165 (octave-reserved-words, octave-smie-bnf-table)
7166 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7167
8582e4c4
GM
71682013-05-11 Glenn Morris <rgm@gnu.org>
7169
f20def1f
GM
7170 * faces.el (internal-face-x-get-resource):
7171 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7172 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7173 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7174 Fix declarations.
f20def1f 7175
445f95e2
GM
7176 * calc/calc-menu.el: Make it loadable in isolation.
7177
7178 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7179 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7180 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7181 (eudc-bbdb-query-internal): Require 'bbdb.
7182
99fb2756
GM
7183 * lpr.el (lpr-headers-switches):
7184 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7185
7186 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7187
0da7ad96
GM
7188 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7189
8582e4c4
GM
7190 * term.el (term-set-escape-char): Make it idempotent.
7191
f71c50d0
LL
71922013-05-10 Leo Liu <sdl.web@gmail.com>
7193
5ac2eb34
SM
7194 * progmodes/octave.el (inferior-octave-completion-table):
7195 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7196 completion due to bug#11906.
7197 (octave-beginning-of-defun): Re-write to be more general.
7198
d5837773
GM
71992013-05-10 Glenn Morris <rgm@gnu.org>
7200
7201 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7202
027c0f75
SM
72032013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * comint.el (comint-redirect-send-command-to-process): Use :around
7206 rather than :override for comint-redirect-filter.
7207 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7208 Call it instead of comint-redirect-original-filter-function (which
7209 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7210
4465bfb4
JD
72112013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7212
7213 * frame.el (display-monitor-attributes-list): Add NS case.
7214 (ns-display-monitor-attributes-list): Declare.
7215
2d809ffa 72162013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7217
7218 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7219
e54eeb9b
GM
72202013-05-09 Glenn Morris <rgm@gnu.org>
7221
56cd351d
GM
7222 * international/fontset.el (vertical-centering-font-regexp):
7223 Set standard-value.
7224
d84b6108
GM
7225 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7226
a931698a
GM
7227 * bookmark.el (bookmark-search-delay):
7228 * cus-start.el (vertical-centering-font-regexp):
7229 * ps-mule.el (ps-mule-font-info-database-default):
7230 * ps-print.el (ps-default-fg, ps-default-bg):
7231 * type-break.el (type-break-good-break-interval):
7232 * whitespace.el (whitespace-indentation-regexp)
7233 (whitespace-space-after-tab-regexp):
7234 * emacs-lisp/testcover.el (testcover-1value-functions)
7235 (testcover-noreturn-functions, testcover-progn-functions)
7236 (testcover-prog1-functions):
7237 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7238 * eshell/em-glob.el (eshell-glob-translate-alist):
7239 * play/tetris.el (tetris-tty-colors):
7240 * progmodes/cpp.el (cpp-face-default-list):
7241 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7242 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7243 (idlwave-help-browser-generic-args):
7244 * progmodes/make-mode.el (makefile-special-targets-list):
7245 * progmodes/python.el (python-shell-virtualenv-path):
7246 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7247 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7248 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7249 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7250 * textmodes/reftex-vars.el (reftex-format-label-function):
7251 * textmodes/remember.el (remember-diary-file): Fix custom types.
7252
e54eeb9b
GM
7253 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7254 Add :version.
7255
455851dd
LL
72562013-05-09 Leo Liu <sdl.web@gmail.com>
7257
7258 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7259 Restore file completion. (Bug#14300)
455851dd
LL
7260 (inferior-octave-startup): Fix incorrect highlighting for the
7261 first prompt.
7262
a9e4425b
SM
72632013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7264
7265 * progmodes/ruby-mode.el: First cut at SMIE support.
7266 (ruby-use-smie): New var.
7267 (ruby-smie-grammar): New constant.
7268 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7269 (ruby-smie--forward-token, ruby-smie--backward-token)
7270 (ruby-smie-rules): New functions.
7271 (ruby-mode-variables): Setup SMIE if applicable.
7272
060ca408
EZ
72732013-05-08 Eli Zaretskii <eliz@gnu.org>
7274
7275 * simple.el (line-move-visual): Signal beginning/end of buffer
7276 only if vertical-motion moved less than it was requested. Avoids
7277 silly incorrect error messages when there are display strings with
7278 multiple newlines at EOL.
7279
1d5963cc
SM
72802013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7283 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7284 (prolog-char-quote-workaround):
7285 * progmodes/cperl-mode.el (cperl-under-as-char):
7286 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7287 Mark as obsolete.
7288 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7289 their declaration.
7290 (vhdl-mode-syntax-table-init): Remove.
7291
c9990474
SM
7292 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7293 last change.
1d5963cc
SM
7294
7295 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7296 syntax for "_".
7297 (ld-script-font-lock-keywords):
7298 Change regexps to use things like \_< and \_>.
7299
7300 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7301 Change all regexps to use things like \_< and \_>.
7302
7303 * progmodes/autoconf.el (autoconf-definition-regexp)
7304 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7305 Handle a _ with symbol syntax.
7306 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7307
c9990474
SM
7308 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7309 Consolidate declaration.
1d5963cc
SM
7310 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7311 the declaration.
7312 (ada-create-syntax-table): Remove.
7313 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7314 already has the right syntax nowadays.
7315 (ada-goto-next-word): Don't change the syntax of "_".
7316
7317 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7318 with-wrapper-hook.
7319
72d3cfca
SS
73202013-05-08 Sam Steingold <sds@gnu.org>
7321
7322 * thingatpt.el (thing-at-point): Accept optional second argument
7323 NO-PROPERTIES to strip the text properties from the return value.
7324 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7325 to `thing-at-point' instead of stripping the properties ourselves.
7326 Also, when `thing-at-point' fails to find a url, prepend "http://"
7327 to the filename at point on the assumption that the user is
7328 pointing at something like gnu.org/gnu.
7329
5cb15713
JB
73302013-05-08 Juanma Barranquero <lekktu@gmail.com>
7331
7332 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7333 * faces.el (crm-separator):
7334 Silence byte-compiler.
7335
7336 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7337 (tool-bar-map): Remove unneeded defvars.
7338
ea78b95b
LL
73392013-05-08 Leo Liu <sdl.web@gmail.com>
7340
7341 Re-work a fix for bug#10994 based on Le Wang's patch.
7342 * ido.el (ido-remove-consecutive-dups): New helper.
7343 (ido-completing-read): Use it.
7344 (ido-chop): Revert fix for bug#10994.
7345
dc7466df
AS
73462013-05-08 Adam Spiers <emacs@adamspiers.org>
7347
7348 * cus-edit.el (custom-save-variables):
7349 Pretty-print long values. (Bug#14187)
7350
9ecf672a
GM
73512013-05-08 Glenn Morris <rgm@gnu.org>
7352
7353 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7354 (m4-mode-syntax-table): Init in the defvar.
7355 (m4-mode-abbrev-table): Let define-derived-mode define it.
7356
3f555be8
TT
73572013-05-08 Tom Tromey <tromey@redhat.com>
7358
7359 * progmodes/m4-mode.el (m4-mode-syntax-table):
7360 Do not treat "_" as word constituent. (Bug#14167)
7361
7cc8ae06
GM
73622013-05-07 Glenn Morris <rgm@gnu.org>
7363
4f58bc06
GM
7364 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7365 Remove explicit eshell-isearch-cancel-map.
7366
7cc8ae06
GM
7367 * progmodes/f90.el (f90-smart-end-names): New option.
7368 (f90-smart-end): Doc fix.
7369 (f90-end-block-optional-name): New constant.
7370 (f90-block-match): Respect f90-smart-end-names.
7371
ceb57e59
SM
73722013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7373
7374 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7375 about implicit semi-colons (bug#14218).
7376
4e3f9230
YM
73772013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7378
7379 * frame.el (display-monitor-attributes-list)
7380 (frame-monitor-attributes): New functions.
7381
203a5572
LL
73822013-05-06 Leo Liu <sdl.web@gmail.com>
7383
7384 * progmodes/octave.el (octave-syntax-propertize-function): Change
7385 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7386 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7387 (octave-completion-at-point): Rename from
203a5572
LL
7388 octave-completion-at-point-function.
7389 (inferior-octave-directory-tracker): Robustify.
7390 (octave-text-functions): Remove and fix its uses. No such things
7391 any more.
7392
ee6cff99
SM
73932013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7394
7395 * emacs-lisp/trace.el (trace--display-buffer): New function.
7396 (trace-make-advice): Use it.
7397
32985194
JL
73982013-05-06 Juri Linkov <juri@jurta.org>
7399
7400 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7401 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7402 Doc fix.
7403 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7404 in the help string. (Bug#12985)
7405
a1c700de
KD
74062013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7407
7408 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7409
c67c0839
SM
74102013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7411
323885fd
SM
7412 * progmodes/perl-mode.el: Add support for here documents.
7413 (perl-syntax-propertize-function): Match here-doc markers.
7414 (perl-syntax-propertize-special-constructs): Find their end.
7415 (perl-imenu-generic-expression): Use [:alnum:].
7416
c67c0839
SM
7417 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7418 (advice--add-function): Refresh the advice if already present
7419 (bug#14317).
7420
d491e7a8
IA
74212013-05-06 Ivan Andrus <darthandrus@gmail.com>
7422
7423 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7424
ddf9925e
GM
74252013-05-06 Glenn Morris <rgm@gnu.org>
7426
7cc3af27
GM
7427 * w32-fns.el (w32-charset-info-alist): Declare.
7428
16e343d6
GM
7429 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7430 of its defcustom properties.
7431 (eshell-cmpl-initialize): No need to load pcomplete.
7432
7d889a47
GM
7433 * generic-x.el: No need to require comint when compiling.
7434
ddf9925e
GM
7435 * net/eudc-export.el: Make it loadable without bbdb.
7436 (top-level): Use require rather than load-library.
7437 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7438 (eudc-batch-export-records-to-bbdb)
7439 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7440 Require bbdb.
7441
1e2c18df
SM
74422013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7443
7444 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7445 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7446 some tweaks, instead.
7447
02502a5f
LL
74482013-05-05 Leo Liu <sdl.web@gmail.com>
7449
7450 * progmodes/octave.el (octave-font-lock-keywords)
7451 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7452 (inferior-octave-send-list-and-digest): Improve error message.
7453 (octave-mode, inferior-octave-mode): Use setq-local.
7454 (octave-help): Set info-lookup-mode.
7455
0dc04f42
RS
74562013-05-05 Richard Stallman <rms@gnu.org>
7457
6c54491c
RS
7458 * vc/compare-w.el (compare-windows-whitespace):
7459 Treat no-break space as whitespace.
7460
0dc04f42
RS
7461 * mail/rmailsum.el (rmail-summary-rmail-update):
7462 Detect empty summary and don't change selected message.
7463 (rmail-summary-goto-msg): Likewise.
7464
df8f35df
RS
7465 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7466 Doc fixes, rename args.
7467
5356e1a3
AM
74682013-05-05 Alan Mackenzie <acm@muc.de>
7469
7470 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7471
d44014cb
JL
74722013-05-05 Juri Linkov <juri@jurta.org>
7473
7474 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7475 to not add the length of the summary segment to the return value.
7476 (Bug#14125)
7477
c129b51f
LL
74782013-05-05 Leo Liu <sdl.web@gmail.com>
7479
7480 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7481 (inferior-octave-output-filter): Remove.
7482 (octave-send-region, inferior-octave-startup): Fix callers.
7483 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7484 (octave-binary-file-extensions): New user variable.
7485 (octave-find-definition): Confirm if opening binary files.
7486 (octave-help-file): Use octave-find-definition to get the binary
7487 confirmation.
7488 (octave-help): Adjust for octave-help-file change.
7489
aa7dab97
SM
74902013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7491
7492 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7493 Merge the two entries that handle function definitions.
7494 (pascal--syntax-propertize): New const.
7495 (pascal-mode): Use it. Use setq-local.
7496
fd3a9a6b
GM
74972013-05-04 Glenn Morris <rgm@gnu.org>
7498
7499 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7500 (diary-from-outlook): Respect diary-from-outlook-function.
7501
30c7e542
SM
75022013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7505 Move the declaration from C.
7506 (read-minibuffer, eval-minibuffer): Move from C.
7507 (completion-setup-function): Avoid minibuffer-completion-contents.
7508
b54f978b
LL
75092013-05-03 Leo Liu <sdl.web@gmail.com>
7510
7511 * progmodes/octave.el (octave-font-lock-keywords): Do not
7512 dehighlight 'end' in comments or strings.
30c7e542
SM
7513 (octave-completing-read, octave-goto-function-definition):
7514 New helpers.
d4d0f9b3
LL
7515 (octave-help-buffer): New user variable.
7516 (octave-help-file, octave-help-function): New button types.
7517 (octave-help): New command and bind it to C-h ;.
7518 (octave-find-definition): New command and bind it to M-.
d74a1581 7519 (user-error): Alias to error if not defined.
b54f978b 7520
27135018
LL
75212013-05-02 Leo Liu <sdl.web@gmail.com>
7522
7523 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7524 for \. (bug#14332)
7525 (octave-font-lock-keywords): Include [ and {.
7526
0d634d3a
LL
75272013-05-02 Leo Liu <sdl.web@gmail.com>
7528
7529 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7530 (inferior-octave): Remove calling comint-mode and return the buffer.
7531 (inferior-octave-startup): Cosmetic changes.
7532
b4c8295e
LL
75332013-05-02 Leo Liu <sdl.web@gmail.com>
7534
30c7e542
SM
7535 * progmodes/octave.el (octave-syntax-propertize-function):
7536 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 7537
f12ad6ec
GM
75382013-05-02 Glenn Morris <rgm@gnu.org>
7539
7540 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7541 * desktop.el (vc-dir-mode): Just autoload it here.
7542
30cac1e0
AM
75432013-05-02 Alan Mackenzie <acm@muc.de>
7544
7545 Eliminate variable c-standard-font-lock-fontify-region-function.
7546 * progmodes/cc-mode.el
7547 (c-standard-font-lock-fontify-region-function): Remove.
7548 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7549
d8ef28b1
LL
75502013-05-01 Leo Liu <sdl.web@gmail.com>
7551
2640d52e 7552 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 7553 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 7554 variables were removed from Octave in 2007.
d8ef28b1
LL
7555 (inferior-octave-startup): Fix uses.
7556 (comint-line-beginning-position): Remove compatibility code for
7557 emacs 21.
7558
ac63ec89
JL
75592013-05-01 Juri Linkov <juri@jurta.org>
7560
7561 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7562
9e9be37c
JL
75632013-05-01 Juri Linkov <juri@jurta.org>
7564
7565 * comint.el (comint-previous-matching-input): Don't print message
7566 "History item: %d" when `isearch-mode' is active.
7567 (comint-history-isearch-message): Print message "History item: %d"
7568 when `comint-input-ring-index' is not empty and this function is
7569 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7570
9b92c13b
LL
75712013-05-01 Leo Liu <sdl.web@gmail.com>
7572
7573 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7574 definitions. Use completion-at-point to insert keywords.
7575 (octave-abbrev-start): Remove.
7576 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7577
b12d33d7
LL
75782013-04-30 Leo Liu <sdl.web@gmail.com>
7579
7580 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7581 change.
7582
3d1c39fa
AM
75832013-04-30 Alan Mackenzie <acm@muc.de>
7584
7585 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
7586 * progmodes/cc-engine.el (c-back-over-member-initializers):
7587 new function.
3d1c39fa
AM
7588 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7589 (most) member init lists.
7590
5147fc17
RS
75912013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7592
7593 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7594 variable.
7595
5b78d7fc
LL
75962013-04-30 Leo Liu <sdl.web@gmail.com>
7597
7598 * progmodes/octave.el (octave-variables): Remove. No builtin
7599 variables any more. All converted to functions.
7600 (octave-font-lock-keywords, octave-completion-at-point-function):
7601 Fix uses.
7602 (octave-font-lock-texinfo-comment): New user variable.
7603 (octave-texinfo-font-lock-keywords): New variable for texinfo
7604 comment block.
7605 (octave-function-comment-block): New face.
7606 (octave-font-lock-texinfo-comment): New function.
7607 (octave-mode): Font lock texinfo comment block.
7608
38d8527b
LL
76092013-04-29 Leo Liu <sdl.web@gmail.com>
7610
7611 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7612 indexing expression.
7613 (octave-continuation-string): Do not use \.
7614 (inferior-octave-complete-impossible): Remove.
7615 (inferior-octave-completion-table)
7616 (inferior-octave-completion-at-point): Remove its uses.
7617 (inferior-octave-startup): completion_matches was introduced to
7618 Octave in 1996 so safe to assume it.
7619 (octave-function-file-comment): Improve to follow how Octave does it.
7620 (octave-update-function-file-comment): Tweak.
7621
2ec12cb0
LL
76222013-04-29 Leo Liu <sdl.web@gmail.com>
7623
7624 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7625 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7626 (octave-function-file-comment): Fix typo.
7627 (octave-sync-function-file-names): Use read-char-choice.
7628
6eaed048
JB
76292013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7630
7631 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7632 to t for the less important warnings.
7633
3ffa2d4f
DH
76342013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7635
7636 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7637
685c9501
GM
76382013-04-27 Glenn Morris <rgm@gnu.org>
7639
7640 * vc/log-view.el (log-view-current-entry):
7641 Treat "---" separator lines as part of the following rev. (Bug#14169)
7642
0208ede7
JL
76432013-04-27 Juri Linkov <juri@jurta.org>
7644
7645 * subr.el (read-number): Doc fix about using it by interactive
7646 code letter `n'. (Bug#14254)
7647
5db9dace
JL
76482013-04-27 Juri Linkov <juri@jurta.org>
7649
7650 * desktop.el (desktop-auto-save-timeout): New option.
7651 (desktop-file-checksum): New variable.
7652 (desktop-save): Add optional arg `auto-save' and don't auto-save
7653 if nothing changed.
7654 (desktop-auto-save-timer): New variable.
7655 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7656 (after-init-hook): Call `desktop-auto-save-set-timer'.
7657 Suggested by Reuben Thomas <rrt@sc3d.org> in
7658 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7659
b7260dd4
LL
76602013-04-27 Leo Liu <sdl.web@gmail.com>
7661
7662 * progmodes/octave.el (octave-function-file-p)
7663 (octave-skip-comment-forward, octave-function-file-comment)
7664 (octave-update-function-file-comment): New functions.
7665 (octave-mode-map): Bind C-c ; to
7666 octave-update-function-file-comment.
7667 (octave-mode-menu): Add octave-update-function-file-comment.
7668 (octave-mode, inferior-octave-mode): Fix doc-string.
7669 (octave-insert-defun): Conform to Octave's coding convention.
7670 (Bug#14285)
7671
7672 * files.el (basic-save-buffer): Don't let errors in
7673 before-save-hook prevent saving buffer.
7674
c46da669
RW
76752013-04-20 Roland Winkler <winkler@gnu.org>
7676
7677 * faces.el (read-face-name): Use completing-read if arg multiple
7678 is nil.
7679
a81ee1eb
IL
76802013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7681
7682 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
7683 displayed, move point to after the totals line.
7684 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
7685 for the details.
7686
4fac34ce
SM
76872013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7688
7689 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7690 Add current dir to the load-path.
7691 (package-generate-autoloads): Don't rely on
7692 autoload-ensure-default-file.
7693
f6bfc063
RT
76942013-04-26 Reuben Thomas <rrt@sc3d.org>
7695
d40ab5cf
BG
7696 * textmodes/remember.el (remember-store-in-files): Document that
7697 the file name format is passed to `format-time-string'.
f6bfc063 7698
e55d3b04
LL
76992013-04-26 Leo Liu <sdl.web@gmail.com>
7700
7701 * progmodes/octave.el (octave-sync-function-file-names): New function.
7702 (octave-mode): Use it in before-save-hook.
7703
e53052d3
SM
77042013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7705
140ef50c
SM
7706 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7707 (bug#14274).
7708
e53052d3
SM
7709 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7710 \n and comment, even if it's not an implicit ; (bug#14218).
7711
af80458d 77122013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
7713
7714 * subr.el (read-number): Once more use `read' rather than
7715 `string-to-number', to trap non-numeric input. (Bug#14254)
7716
af80458d 77172013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
7718
7719 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7720 Use `syntax-multiline' text property consistently instead of
8a621d53 7721 `font-lock-multiline'. (Bug#14237)
70203c2e 7722
e6ea1f6c
GM
77232013-04-26 Glenn Morris <rgm@gnu.org>
7724
7725 * emacs-lisp/shadow.el (list-load-path-shadows):
7726 No longer necessary to check for duplicate simple.el, since
7727 2012-07-07 change to init_lread to not include installation lisp
7728 directories in load-path when running uninstalled. (Bug#14270)
7729
070ccca4
LL
77302013-04-26 Leo Liu <sdl.web@gmail.com>
7731
7732 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7733 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 7734 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
7735 octave-in-string-or-comment-p.
7736 (octave-in-comment-p, octave-in-string-p)
7737 (octave-in-string-or-comment-p): Replace defsubst with defun.
7738
9d1c5fb6
PE
77392013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7740
7741 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7742
c034abda
BG
77432013-04-25 Bastien Guerry <bzg@gnu.org>
7744
7745 * textmodes/remember.el (remember-data-directory)
7746 (remember-directory-file-name-format): Fix custom types.
7747
584ea277
LL
77482013-04-25 Leo Liu <sdl.web@gmail.com>
7749
e53052d3
SM
7750 * progmodes/octave.el (octave-completion-at-point-function):
7751 Make use of inferior octave process.
584ea277
LL
7752 (octave-initialize-completions): Remove.
7753 (inferior-octave-completion-table): New function.
7754 (inferior-octave-completion-at-point): Use it.
7755 (octave-completion-alist): Remove.
7756
1693b06a
SM
77572013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7758
7759 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7760 (opascal-mode-syntax-table): New var.
7761 (opascal-literal-kind, opascal-is-literal-end)
7762 (opascal-literal-token-at): Rewrite.
7763 (opascal--literal-start-re, opascal-font-lock-keywords)
7764 (opascal--syntax-propertize): New constants.
7765 (opascal-font-lock-defaults): Adjust.
7766 (opascal-mode): Use them. Set comment-<foo> variables as well.
7767 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7768 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7769 (delphi-other-face, opascal-other-face): Remove face variables.
7770 (opascal-save-state): Remove macro.
7771 (opascal-fontifying-progress-step): Remove constant.
7772 (opascal--ignore-changes): Remove var.
7773 (opascal-set-token-property, opascal-parse-next-literal)
7774 (opascal-is-stable-literal, opascal-complete-literal)
7775 (opascal-is-literal-start, opascal-face-of)
7776 (opascal-parse-region, opascal-parse-region-until-stable)
7777 (opascal-fontify-region, opascal-after-change)
7778 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7779 (opascal-debug-parse-region, opascal-debug-parse-window)
7780 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7781 (opascal-debug-fontify-buffer): Remove.
7782 (opascal-debug-mode-map): Adjust accordingly.
7783
be64c05d
LL
77842013-04-25 Leo Liu <sdl.web@gmail.com>
7785
7786 Merge octave-mod.el and octave-inf.el into octave.el with some
7787 cleanups.
7788 * progmodes/octave.el: New file renamed from octave-mod.el.
7789 * progmodes/octave-inf.el: Merged into octave.el.
7790 * progmodes/octave-mod.el: Renamed to octave.el.
7791
d79d37bd
TH
77922013-04-25 Tassilo Horn <tsdh@gnu.org>
7793
7794 * textmodes/reftex-vars.el
7795 (reftex-label-ignored-macros-and-environments): New defcustom.
7796
7797 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7798
ced3fc5d
SM
77992013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7802 (smie-indent-keyword): Improve the check to ensure that the next
7803 comment is really on the same line.
7804 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7805
7806 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7807 semi-colons if the line is not otherwise empty (bug#14218).
7808
1c141dad
GM
78092013-04-25 Glenn Morris <rgm@gnu.org>
7810
7811 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7812
5058062a
SM
78132013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * progmodes/opascal.el (opascal-set-token-property): Rename from
7816 opascal-set-text-properties and only set `token' (bug#14134).
7817 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7818 (opascal-literal-text-properties): Remove.
7819 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7820 Adjust callers.
7821
5db9dace 78222013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
7823
7824 * textmodes/remember.el (remember-handler-functions): Add an
7825 option for a new handler `remember-store-in-files'.
7826 (remember-data-directory, remember-directory-file-name-format):
7827 New options.
7828 (remember-store-in-files): New function to store remember notes
7829 as separate files within a directory.
7830
4391916c
MH
78312013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7832
7833 * progmodes/compile.el (compilation-next-error-function):
7834 Pass "formats" to compilation-find-file (bug#11777).
7835
bb7cdf58
GM
78362013-04-24 Glenn Morris <rgm@gnu.org>
7837
3b8fe752 7838 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
7839 * vc/vc-hg.el (vc-hg-print-log):
7840 * vc/vc-svn.el (vc-svn-print-log):
7841 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7842
bb7cdf58
GM
7843 * vc/vc-bzr.el (vc-bzr-print-log):
7844 * vc/vc-cvs.el (vc-cvs-print-log):
7845 * vc/vc-git.el (vc-git-print-log):
7846 * vc/vc-hg.el (vc-hg-print-log):
7847 * vc/vc-mtn.el (vc-mtn-print-log):
7848 * vc/vc-rcs.el (vc-rcs-print-log):
7849 * vc/vc-sccs.el (vc-sccs-print-log):
7850 * vc/vc-svn.el (vc-svn-print-log):
7851 * vc/vc.el (vc-print-log-internal): Doc fixes.
7852
b46a056e
GM
78532013-04-23 Glenn Morris <rgm@gnu.org>
7854
7855 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7856 Remove venerable code attempting to avoid substitute-command-keys.
7857
0aecf718
TH
78582013-04-23 Tassilo Horn <tsdh@gnu.org>
7859
4391916c
MH
7860 * textmodes/reftex-vars.el (reftex-label-regexps):
7861 Call `reftex-compile-variables' after changes to this variable.
0aecf718 7862
117f94cf
SM
78632013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7864
4391916c 7865 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
7866 Use lexical-binding.
7867 (jit-lock-force-redisplay): Use markers, check buffer's continued
7868 existence and beware narrowed buffers.
7869 (jit-lock-fontify-now): Adjust call accordingly.
7870
1d829c64
SM
78712013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7874 to avoid misleading the user.
7875
72d548a9
LL
78762013-04-22 Leo Liu <sdl.web@gmail.com>
7877
7878 * info-look.el: Prefer latex2e.info. (Bug#14240)
7879
d0853629
MA
78802013-04-22 Michael Albinus <michael.albinus@gmx.de>
7881
7882 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7883
7884 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 7885 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
7886 (tramp-set-completion-function, tramp-parse-putty):
7887 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7888 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7889 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7890 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7891 (tramp-call-local-coding-command): Use `tramp-call-process'
7892 instead of `tramp-compat-call-process'.
7893
7894 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7895 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7896 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 7897 (tramp-find-inline-compress): Improve traces.
d0853629
MA
7898 (tramp-maybe-send-script): Check for Perl binary.
7899 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7900
38cc0210
DU
79012013-04-22 Daiki Ueno <ueno@gnu.org>
7902
7903 * epg.el (epg-context-pinentry-mode): New function.
7904 (epg-context-set-pinentry-mode): New function.
7905 (epg--start): Pass --pinentry-mode option to gpg command.
7906
cc641ee1
XF
79072013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7908
02d844b5 7909 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 7910 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 7911 `completion-at-point'. (Bug#13774)
5d4e5c31 7912
cc641ee1
XF
7913 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7914 default key binding for `describe-distribution' has been moved to
7915 `C-h C-o'. (Bug#13970)
7916
1b42ee43
GM
79172013-04-21 Glenn Morris <rgm@gnu.org>
7918
7919 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7920 Add doc strings.
7921 (vc-print-log): Clarify interactive prompt.
7922
a6d63d97
GM
79232013-04-20 Glenn Morris <rgm@gnu.org>
7924
7925 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7926 No longer include timestamp etc information.
7927
d7f5c16f
RW
79282013-04-20 Roland Winkler <winkler@gnu.org>
7929
7930 * faces.el (read-face-name): Bug fix, return just one face if arg
7931 multiple is nil. (Bug#14209)
7932
bcd7a0a4
SM
79332013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7934
7935 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7936 (remove-function): Autoload.
7937
7938 * comint.el (comint-redirect-original-filter-function): Remove.
7939 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
7940 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7941 (vc-cvs-annotate-command):
bcd7a0a4
SM
7942 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7943 * progmodes/prolog.el (prolog-consult-compile):
7944 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7945 Use add/remove-function instead.
7946 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7947 (gud-tooltip-process-output, gud-tooltip-tips):
7948 Use add/remove-function instead.
7949 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7950 (scheme-interaction-mode, exit-scheme-interaction-mode):
7951 Use add/remove-function instead.
7952
7953 * vc/vc-dispatcher.el: Use lexical-binding.
7954 (vc--process-sentinel): Rename from vc-process-sentinel.
7955 Change last arg to be the code to run. Don't use vc-previous-sentinel
7956 and vc-sentinel-commands any more.
7957 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7958 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7959
e36b2d20 79602013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 7961
bcd7a0a4 7962 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 7963 Handle function names with a single character. (Bug#14111)
4d3268ba 7964
781b4af6 79652013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
7966
7967 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7968 for subroutines defined in an eval (bug#14182).
7969
7d688336
TV
79702013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7971
7972 * bookmark.el (bookmark-completing-read): Improve handling of empty
7973 string (bug#14176).
7974
31dcede0
SM
79752013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7976
7977 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7978
adc31213
FEG
79792013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7980
7981 New faster Imenu implementation (bug#14058).
7982 * progmodes/python.el:
7983 (python-imenu-prev-index-position):
7984 (python-imenu-format-item-label-function)
7985 (python-imenu-format-parent-item-label-function)
7986 (python-imenu-format-parent-item-jump-label-function):
7987 New vars.
7988 (python-imenu-format-item-label)
7989 (python-imenu-format-parent-item-label)
7990 (python-imenu-format-parent-item-jump-label)
7991 (python-imenu--put-parent, python-imenu--build-tree)
7992 (python-imenu-create-index, python-imenu-create-flat-index)
7993 (python-util-popn): New functions.
7994 (python-mode): Set imenu-create-index-function to
7995 python-imenu-create-index.
7996
cdca8255
SM
79972013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7998
7999 * winner.el (winner-active-region): Use region-active-p, activate-mark
8000 and deactivate-mark (bug#14225).
8001
8002 * simple.el (deactivate-mark): Don't inline it.
8003
beb42340
MA
80042013-04-18 Michael Albinus <michael.albinus@gmx.de>
8005
8006 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8007
fc7f4d7e
TH
80082013-04-18 Tassilo Horn <tsdh@gnu.org>
8009
8010 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8011 file extensions from the archive-mode entry in order to prefer
8012 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8013
29f47822
LL
80142013-04-18 Leo Liu <sdl.web@gmail.com>
8015
8016 * bindings.el (help-event-list): Add ?\?.
8017
d36ed1c8
SM
80182013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * subr.el (with-wrapper-hook): Declare obsolete.
8021 * simple.el (filter-buffer-substring-function): New hook.
8022 (filter-buffer-substring): Use it.
8023 (filter-buffer-substring-functions): Mark obsolete.
8024 * minibuffer.el (completion-in-region-function): New hook.
8025 (completion-in-region): Use it.
8026 (completion-in-region-functions): Mark obsolete.
8027 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8028 * abbrev.el (abbrev-expand-function): New hook.
8029 (expand-abbrev): Use it.
8030 (abbrev-expand-functions): Mark obsolete.
8031 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8032 and :filter-return.
8033
04754d36
FEG
80342013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8035
8036 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8037 and do not care about match data.
8038
dd8791e9
SM
80392013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8042 completion tables when completing error conditions and
8043 `declare' arguments.
8044 (lisp-complete-symbol, field-complete): Mark as obsolete.
8045 (check-parens): Unmatched parens are user errors.
8046 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8047
ffe54a13
AM
80482013-04-17 Michal Nazarewicz <mina86@mina86.com>
8049
dd8791e9
SM
8050 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8051 command changed buffer (ie. `flyspell-pre-buffer' is not current
8052 buffer), which prevents making decisions based on invalid value of
8053 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8054 cause an error when `flyspell-pre-point' was nil after switching
8055 buffers.
8056 (flyspell-post-command-hook): No longer needs to change buffers when
8057 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8058
ec7e39f2
AM
80592013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8060
8061 * textmodes/ispell.el (ispell-add-per-file-word-list):
8062 Fix `flyspell-correct-word-before-point' error when accepting
8063 words and `coment-padding' is an integer by using
8064 `comment-normalize-vars' (Bug #14214).
8065
083850a6
FEG
80662013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8067
8068 New defun movement commands.
8069 * progmodes/python.el (python-nav--syntactically)
8070 (python-nav--forward-defun, python-nav-backward-defun)
8071 (python-nav-forward-defun): New functions.
8072
619ed6e1
FEG
80732013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8074
8075 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8076 (python-syntax-context): Use named compiler-macro for backwards
8077 compatibility with Emacs 24.x.
8078
7a1beb6c
LL
80792013-04-17 Leo Liu <sdl.web@gmail.com>
8080
8081 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8082 octave-hide-process-buffer.
8083
2d3fa3e5
SM
80842013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8087 (bug#14216).
8088
7ce5be54
JPG
80892013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8090
8091 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8092 Fix adjustment of offset when receiving incomplete responses from GDB
8093 (bug#14129).
8094
351edece
SM
80952013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8098 python-mode-abbrev-table.
8099 (python-skeleton-define): Adjust accordingly.
8100 (python-mode-abbrev-table): New table that inherits from it so that
8101 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8102
8103 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8104 (abbrev-symbol): Use it.
8105 (abbrev--before-point): Use it since we already handle inheritance.
8106
613f9481
LL
81072013-04-16 Leo Liu <sdl.web@gmail.com>
8108
8109 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8110 binding to info-lookup-symbol.
8111
51646b62
JB
81122013-04-16 Juanma Barranquero <lekktu@gmail.com>
8113
8114 * minibuffer.el (completion--twq-all):
8115 * term/ns-win.el (ns-initialize-window-system):
8116 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8117
efb3f01d
SM
81182013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8119
36c0a301
SM
8120 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8121 global bindings.
8122
efb3f01d
SM
8123 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8124
fb549d64
DG
81252013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8126
8127 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8128 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8129 to nil.
8130 (ruby-end-of-defun): Remove the unused arg, change the docstring
8131 to reflect that this function is only used as the value of
8132 `end-of-defun-function'.
8133 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8134 to reflect an earlier change that beginning/end-of-defun functions
8135 jump between methods in a class definition, as well as top-level
8136 functions.
8137
21e8fe2f
SM
81382013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8139
8140 * minibuffer.el (minibuffer-complete): Don't just scroll
8141 a *Completions* that's been iconified.
8142 (minibuffer-force-complete): Make sure repetitions do cycle when going
8143 through completion-in-region -> minibuffer-complete.
8144
20e527d0
AM
81452013-04-15 Alan Mackenzie <acm@muc.de>
8146
8147 Correct the placement of c-cpp-delimiters when there're #s not at
8148 col 0.
8149
8150 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8151 place a submatch around the #.
21e8fe2f
SM
8152 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8153 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8154 on the #, not BOL.
8155
dabefae5
SM
81562013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8157
8158 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8159 (advice--member-p): New arg `name'.
8160 (advice--add-function, advice-member-p): Use it (bug#14202).
8161
85c9ab64
AM
81622013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8163
8164 Reformulate java imenu-generic-expression.
8165 The old expression contained ill formed regexps.
8166
8167 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8168 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8169 (cc-imenu-java-method-arg-regexp): New defconsts.
8170 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8171 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8172 handling of spaces in the regexp.
8173
0f821d99
AM
81742013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8175
8176 * textmodes/ispell.el (ispell-command-loop): Remove
8177 flyspell highlight of a word when ispell accepts it (bug #14178).
8178
eb922adf
MA
81792013-04-15 Michael Albinus <michael.albinus@gmx.de>
8180
8181 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8182 uses code from the previous `ange-ftp-run-real-handler'.
8183 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8184 only in case that function exist. This is needed for proper
8185 unloading of Tramp.
8186
4d9a0979
TH
81872013-04-15 Tassilo Horn <tsdh@gnu.org>
8188
8189 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8190
8191 * textmodes/reftex.el (reftex-compile-variables): Use it.
8192
a829b0dc
SM
81932013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8194
91e8293c
SM
8195 * files.el (normal-mode): Only use default major-mode if no other mode
8196 was specified.
8197
830aed4d
SM
8198 * emacs-lisp/trace.el (trace-values): New function.
8199
a829b0dc
SM
8200 * files.el: Allow : in local variables (bug#14089).
8201 (hack-local-variable-regexp): New var.
8202 (hack-local-variables-prop-line, hack-local-variables): Use it.
8203
7ae9f0fb
RW
82042013-04-13 Roland Winkler <winkler@gnu.org>
8205
8206 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8207 data before it gets modified by bibtex-beginning-of-entry.
8208
6646e848
RW
82092013-04-13 Roland Winkler <winkler@gnu.org>
8210
8211 * textmodes/bibtex.el (bibtex-url): Doc fix.
8212
82132013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8214
8215 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8216 does not visit a BibTeX file, exclude it from the list of buffers
8217 returned by bibtex-initialize.
8218
0aa3616e
SB
82192013-04-13 Stephen Berman <stephen.berman@gmx.net>
8220
8221 * window.el (split-window): Remove interactive form, since as a
8222 command this function is a special case of split-window-below.
8223 Correct doc string.
8224
011cddd6
RW
82252013-04-12 Roland Winkler <winkler@gnu.org>
8226
8227 * faces.el (read-face-name): Do not override value of arg default.
8228 Allow single faces and strings as default values. Remove those
8229 elements from return value that are not faces.
8230 (describe-face): Simplify.
8231 (face-at-point): New optional args thing and multiple so that this
8232 function can provide the same functionality previously provided by
8233 read-face-name.
8234 (make-face-bold, make-face-unbold, make-face-italic)
8235 (make-face-unitalic, make-face-bold-italic, invert-face)
8236 (modify-face, read-face-and-attribute): Use face-at-point.
8237
8238 * cus-edit.el (customize-face, customize-face-other-window)
8239 * cus-theme.el (custom-theme-add-face)
8240 * face-remap.el (buffer-face-set)
8241 * facemenu.el (facemenu-set-face): Use face-at-point.
8242
f24e0036
MA
82432013-04-12 Michael Albinus <michael.albinus@gmx.de>
8244
8245 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8246
da3cda2d
TH
82472013-04-10 Tassilo Horn <tsdh@gnu.org>
8248
8249 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8250 off leading { and trailing } from field values.
8251
15e54145
SM
82522013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8253
78ce603d
SM
8254 * emacs-lisp/timer.el (timer--check): New function.
8255 (timer--time, timer-set-function, timer-event-handler): Use it.
8256 (timer-set-idle-time): Simplify.
8257 (timer--activate): CSE.
8258 (timer-event-handler): Give more info in error message.
8259 (internal-timer-start-idle): New function, moved from C.
8260
15e54145
SM
8261 * mpc.el (mpc-proc): Add `restart' argument.
8262 (mpc-proc-cmd): Use it.
8263 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8264 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8265 less often.
8266
7144c627
MY
82672013-04-10 Masatake YAMATO <yamato@redhat.com>
8268
8269 * progmodes/sh-script.el: Implement `sh-mode' own
8270 `add-log-current-defun-function' (bug#14112).
8271 (sh-current-defun-name): New function.
8272 (sh-mode): Use the function.
8273
b39792eb
BG
82742013-04-09 Bastien Guerry <bzg@gnu.org>
8275
8276 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8277
8acdeb71
SM
82782013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8279
6fcdab68
SM
8280 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8281
8acdeb71
SM
8282 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8283 timer (bug#14156).
8284
e3e7b504
NF
82852013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8286
8287 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8288 declaration.
8289
201bb296
LL
82902013-04-07 Leo Liu <sdl.web@gmail.com>
8291
8292 * pcmpl-x.el: New file.
8293
ebb19708
DA
82942013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8295
8296 Do not set x-display-name until X connection is established.
8297 This is needed to prevent from weird situation described at
8298 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8299 * frame.el (make-frame): Set x-display-name after call to
8300 window system initialization function, not before.
8301 * term/x-win.el (x-initialize-window-system): Add optional
8302 display argument and use it.
8303 * term/w32-win.el (w32-initialize-window-system):
8304 * term/ns-win.el (ns-initialize-window-system):
8305 * term/pc-win.el (msdos-initialize-window-system):
8306 Add compatible optional display argument.
8307
33bb237a
EZ
83082013-04-06 Eli Zaretskii <eliz@gnu.org>
8309
8310 * files.el (normal-backup-enable-predicate): On MS-Windows and
8311 MS-DOS compare truenames of temporary-file-directory and of the
8312 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8313 don't fail comparison by compare-strings. Also, compare file
8314 names case-insensitively on MS-Windows and MS-DOS.
8315
134abf1f
SM
83162013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8319 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8320
d695cb94
DG
83212013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8322
e3e7b504
NF
8323 * whitespace.el (whitespace-color-on, whitespace-color-off):
8324 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8325
f4ad7ea1 83262013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8327
8328 * ispell.el (ispell-set-spellchecker-params):
8329 Really set `ispell-args' for all equivs.
8330
632556e4
SM
83312013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8332
8333 * ido.el (ido-completions): Use extra elements of ido-decorations
8334 (bug#14143).
8335 (ido-decorations): Update docstring.
8336
2a417372
MA
83372013-04-05 Michael Albinus <michael.albinus@gmx.de>
8338
8339 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8340 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8341 nil during initialization, in order not to miss changes since the
8342 file was opened. (Bug#14140)
8343
fc164b0c
LL
83442013-04-05 Leo Liu <sdl.web@gmail.com>
8345
8346 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8347
0ccecc08
JB
83482013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8349
8350 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8351
51af1aa2
GM
83522013-04-04 Glenn Morris <rgm@gnu.org>
8353
8354 * electric.el (electric-pair-inhibit-predicate): Add :version.
8355
b208ebc6
SM
83562013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8357
8358 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8359 when a package is required several times (bug#14082).
8360
f3d3eaf0
RW
83612013-04-04 Roland Winkler <winkler@gnu.org>
8362
8363 * faces.el (read-face-name): Behave as promised by the docstring.
8364 Assume that arg default is a list of faces.
8365 (describe-face): Call read-face-name with list of default faces.
8366
2575da50
TV
83672013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8368
8369 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8370 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8371 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8372 the header.
8373 (bookmark-exit-hook-internal): Save even if list is empty.
8374
397703b4
YH
83752013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8376
8377 * emacs-lisp/package.el (package-pinned-packages): New var.
8378 (package--add-to-archive-contents): Obey it (bug#14118).
8379
691e26ae
AM
83802013-04-03 Alan Mackenzie <acm@muc.de>
8381
8a621d53
JB
8382 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8383 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8384
8385 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8386 parameter `not-in-delimiter'. Handle being inside comment opener.
8387 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8388 character in case we're typing a '*' after a '/'.
8389 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8390 instead by passing the parameter to c-state-pp-to-literal.
8391
8392 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8393 for elt. 7 of a parse state.
8394
4b725a70
PE
83952013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8396
8397 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8398 * international/latin1-disp.el, international/mule-util.el:
8399 * language/cyril-util.el, language/european.el, language/ind-util.el:
8400 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8401 * language/tibetan.el, language/viet-util.el:
8402 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8403
15c579f0
SM
84042013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8407 (electric-pair-post-self-insert-function): Use it.
8408 (electric-pair-default-inhibit): New function, extracted from
8409 electric-pair-post-self-insert-function.
8410
a77e2924
RW
84112013-03-31 Roland Winkler <winkler@gnu.org>
8412
8413 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8414
2bd8a4a8
SM
84152013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8418
8d3655be 84192013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8420
8421 Un-indent after "pass" and "return" statements (Bug#13888)
8422 * progmodes/python.el (python-indent-block-enders): New var.
8423 (python-indent-calculate-indentation): Use it.
8424
8d3655be 84252013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8426
8427 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8428 defun. Defining it as defalias could introduce too eager
8429 byte-compiler optimization. (Bug#14030)
8430
8d3655be 84312013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8432
8433 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8434
0b1619da
LL
84352013-03-30 Leo Liu <sdl.web@gmail.com>
8436
8437 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8438 (kmacro-execute-from-register): Pass the keyboard macro to
8439 kmacro-call-macro or repeating won't work correctly.
8440
0b938190
TZ
84412013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8442
8443 * progmodes/subword.el: Back to using `forward-symbol'.
8444
8445 * subr.el (forward-whitespace, forward-symbol)
8446 (forward-same-syntax): Move from thingatpt.el.
8447
35710234
LL
84482013-03-29 Leo Liu <sdl.web@gmail.com>
8449
8450 * kmacro.el (kmacro-to-register): New command.
8451 (kmacro-execute-from-register): New function.
8452 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8453
efc0bb73
SM
84542013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8455
8456 * mpc.el: Use defvar-local and setq-local.
8457 (mpc--proc-connect): Connection failures are not bugs.
8458 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8459 (mpc-volume-map): Bind to the up-events.
8460
75a2f981
TZ
84612013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8462
8463 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8464 instead of `forward-symbol'.
8465
17c781d1
SM
84662013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8467
8468 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8469 (edebug--recursive-edit): Use it.
8470 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8471 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8472
f67bfbcf
LL
84732013-03-28 Leo Liu <sdl.web@gmail.com>
8474
8475 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8476
b59f639d
EZ
84772013-03-27 Eli Zaretskii <eliz@gnu.org>
8478
8479 * facemenu.el (list-colors-callback): New defvar.
8480 (list-colors-redisplay): New function.
8481 (list-colors-display): Install list-colors-redisplay as the
8482 revert-buffer-function. (Bug#14063)
8483
f557c1b1
SM
84842013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8485
b1da2957
SM
8486 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8487 and suffixes don't overlap (bug#14061).
8488
f557c1b1
SM
8489 * case-table.el: Use lexical-binding.
8490 (case-table-get-table): New function.
8491 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8492
002668e1
TZ
84932013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8494
8495 * progmodes/subword.el: Add `superword-mode' to do word motion
8496 over symbol_words (parallels and leverages `subword-mode' which
8497 does word motion inside MixedCaseWords).
8498
73572c72
AG
84992013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8500
78b8f320 8501 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8502 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8503
69b2c07e
SM
85042013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8505
8506 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8507 Change return value to be a sexp. Delay `get-buffer' to after
8508 restoring the desktop (bug#13951).
8509
08bb5ee2
LL
85102013-03-26 Leo Liu <sdl.web@gmail.com>
8511
8512 * register.el: Move semantic tag handling back to
8513 cedet/semantic/senator.el. (Bug#14052)
8514
8d4c974e
SM
85152013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8516
8517 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8518 into the prompt either (bug#13963).
8519
b234d92c
SM
85202013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8523 part of "(error-foo)".
8524
ddfa3cb4
JL
85252013-03-24 Juri Linkov <juri@jurta.org>
8526
8527 * replace.el (list-matching-lines-prefix-face): New defcustom.
8528 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8529 `occur-engine' if `face-differs-from-default-p' returns t.
8530 (occur-engine): Add `,' inside backquote construct to evaluate
8531 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8532 Pass `prefix-face' to the functions `occur-context-lines' and
8533 `occur-engine-add-prefix'.
8534 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8535 `prefix-face' and propertize the prefix with `prefix-face'.
8536 (Bug#14017)
8537
7b0e2f85
LL
85382013-03-24 Leo Liu <sdl.web@gmail.com>
8539
8540 * nxml/rng-valid.el (rng-validate-while-idle)
8541 (rng-validate-quick-while-idle): Guard against deleted buffer.
8542 (Bug#13999)
8543
8544 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8545 is the last entry in kill-buffer-hook.
8546
8547 * files.el (kill-buffer-hook): Doc fix.
8548
b3082f49
DG
85492013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8550
b234d92c
SM
8551 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8552 Make it safe-local.
bde73d27 8553
b3082f49
DG
8554 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8555
a320a2db
LL
85562013-03-23 Leo Liu <sdl.web@gmail.com>
8557
7e74b0fb
LL
8558 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8559 Remove.
8560
8561 * nxml/rng-valid.el (rng-validate-mode)
8562 (rng-after-change-function, rng-do-some-validation):
8563 * nxml/rng-maint.el (rng-validate-buffer):
8564 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8565 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8566 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8567 (nxml-extend-after-change-region): Use with-silent-modifications.
8568
a320a2db
LL
8569 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8570 timer-idle-list.
8571
8572 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8573 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8574 timer-idle-list. (Bug#13999)
8575
e38e6780
JL
85762013-03-23 Juri Linkov <juri@jurta.org>
8577
8578 * info.el (info-index-match): New face.
8579 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8580 main pattern and add text properties with the new face to matches
8581 in index entries relative to the beginning of the index entry.
8582 (Bug#14015)
8583
e8cc7880
DE
85842013-03-21 Eric Ludlam <zappo@gnu.org>
8585
8586 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8587 Inhibit read only while inserting objects.
8588
9bb0d822
TZ
85892013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8590
8591 * progmodes/cfengine.el: Update docs to mention
8592 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8593 symbol motion. Remove "_" from the word syntax.
8594
aa703640
TZ
85952013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8596
8597 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8598 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8599
afff09d0
JL
86002013-03-20 Juri Linkov <juri@jurta.org>
8601
8602 * info.el (Info-next-reference-or-link)
8603 (Info-prev-reference-or-link): New functions.
8604 (Info-next-reference, Info-prev-reference): Use them.
8605 (Info-try-follow-nearest-node): Handle footnote navigation.
8606 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8607
9a1ff164
SM
86082013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8609
8610 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8611 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8612
2667d15d
PE
86132013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8614
8615 Suppress unnecessary non-ASCII chatter during build process.
8616 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8617 (batch-skkdic-convert): Suppress most of the chatter.
8618 It's not needed so much now that machines are faster,
8619 and its non-ASCII component was confusing; see Dmitry Gutov in
8620 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8621
438b0579
LL
86222013-03-20 Leo Liu <sdl.web@gmail.com>
8623
8624 * ido.el (ido-chop): Fix bug#10994.
8625
c128ab07
DG
86262013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8627
8628 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8629 Remove vars.
9a1ff164
SM
8630 (whitespace-color-on, whitespace-color-off):
8631 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 8632
0e6008c5
SM
86332013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8636 remapping in mode-line.
8637 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8638
627b52b0
DG
86392013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8640
8641 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8642 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
8643 (whitespace-font-lock-keywords): Change description.
8644 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8645 the constructed keywords instead.
8646 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 8647
50c3a20b
LL
86482013-03-19 Leo Liu <sdl.web@gmail.com>
8649
8650 * progmodes/compile.el (compilation-display-error): New command.
8651 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8652 C-o. (Bug#13992)
8653
2aa2157b
PE
86542013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8655
8656 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8657
e477dbfa
JD
86582013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8659
8660 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8661
64ab82d1
MA
86622013-03-18 Michael Albinus <michael.albinus@gmx.de>
8663
8664 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8665
8666 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8667 * net/tramp-gvfs.el (top):
8668 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8669 (tramp-handle-shell-command): Use it.
8670 (tramp-dissect-file-name): Raise an error when hostname is a
8671 method name, and neither method nor user is specified.
8672
8673 * net/trampver.el: Update release number.
8674
33cef733
LL
86752013-03-18 Leo Liu <sdl.web@gmail.com>
8676
8677 Make sure eldoc can be turned off properly.
8678 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8679 eldoc-mode.
8680 (eldoc-display-message-p): Revert last change.
8681 (eldoc-display-message-no-interference-p)
8682 (eldoc-print-current-symbol-info): Tweak.
8683
2167b7b2
TH
86842013-03-18 Tassilo Horn <tsdh@gnu.org>
8685
8686 * doc-view.el (doc-view-new-window-function): Check the new window
8687 overlay's display property instead the char property of the
8688 buffer's first char. Use `with-selected-window' instead of
8689 `save-window-excursion' with `select-window'.
8690 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 8691 display property instead the char property of the buffer's first char.
2167b7b2 8692
982efbcd
PE
86932013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8694
8695 Automate the build of ja-dic.el (Bug#13984).
8696 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8697 from the input, rather than assume that it's been done for us by the
8698 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8699 the current date into a ja-dic.el comment, as that complicates
8700 regression testing.
8701
2fcc7665
SM
87022013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8703
8704 * whitespace.el: Fix double evaluation.
8705 (whitespace-space, whitespace-hspace, whitespace-tab)
8706 (whitespace-newline, whitespace-trailing, whitespace-line)
8707 (whitespace-space-before-tab, whitespace-indentation)
8708 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8709 obsolete defvars.
8710 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8711 (whitespace-color-on): Use a single font-lock-add-keywords call.
8712 Fix double-evaluation of face variables.
8713
67c0a6e6
MA
87142013-03-17 Michael Albinus <michael.albinus@gmx.de>
8715
2fcc7665
SM
8716 * net/tramp-adb.el (tramp-adb-parse-device-names):
8717 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 8718 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 8719
69489f1d
LL
87202013-03-17 Leo Liu <sdl.web@gmail.com>
8721
8722 Extend eldoc to display info in the mode-line. (Bug#13978)
8723 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8724 (eldoc-mode-line-string): New variable.
8725 (eldoc-minibuffer-message): New function.
8726 (eldoc-message-function): New variable.
8727 (eldoc-message): Use it.
8728 (eldoc-display-message-p)
2fcc7665
SM
8729 (eldoc-display-message-no-interference-p):
8730 Support eldoc-post-insert-mode.
69489f1d
LL
8731
8732 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8733 (eval-expression): Run it.
8734
9c44569e
RW
87352013-03-17 Roland Winkler <winkler@gnu.org>
8736
8737 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8738 strings in the list of return values.
8739
327f1f6f
JB
87402013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8741
8742 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8743 radix before checking for HMS forms.
8744
67ed8fcd
LL
87452013-03-16 Leo Liu <sdl.web@gmail.com>
8746
8747 * progmodes/scheme.el: Add indentation and font-locking for λ.
8748 (Bug#13975)
8749
78be8b64 87502013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
8751
8752 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8753 token before point (bug#13942).
8754
78be8b64 87552013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 8756
95b43468 8757 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 8758
98e775e6
EZ
87592013-03-16 Eli Zaretskii <eliz@gnu.org>
8760
8761 * startup.el (command-line-normalize-file-name): Fix handling of
8762 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8763 <xfq.free@gmail.com> in
8764 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8765
2edd6029
MA
87662013-03-15 Michael Albinus <michael.albinus@gmx.de>
8767
8768 Sync with Tramp 2.2.7.
8769
8770 * net/trampver.el: Update release number.
8771
d35f5864
TH
87722013-03-14 Tassilo Horn <tsdh@gnu.org>
8773
e903c210 8774 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
8775 (doc-view-insert-image): Don't modify overlay associated to
8776 non-live windows, and implement horizontal centering of image in
8777 case it's smaller than the window.
8778 (doc-view-new-window-function): Force redisplay of new windows on
8779 doc-view buffers.
d35f5864 8780
1c4a85ed
KF
87812013-03-13 Karl Fogel <kfogel@red-bean.com>
8782
8783 * saveplace.el (save-place-alist-to-file): Don't sort
8784 `save-place-alist', just pretty-print it (bug#13882).
8785
85b66a21
MA
87862013-03-13 Michael Albinus <michael.albinus@gmx.de>
8787
a020afb9
JB
8788 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8789 Check whether `default-file-name-coding-system' is bound.
8790 It isn't in XEmacs.
85b66a21 8791
175600da
SM
87922013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8793
e7f7cb1a
SM
8794 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8795 backquotes for `obsolete' (bug#13929).
8796
175600da
SM
8797 * international/mule.el (find-auto-coding): Include file name in
8798 obsolescence warning (bug#13922).
8799
ca68a22e
TZ
88002013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8801
8802 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8803 for CFEngine 3-specific indentation.
8804 (cfengine3-indent-line): Use it. Fix up category regex.
8805 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8806
940e5099
SM
88072013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8808
8809 * type-break.el (type-break-file-name):
8810 * textmodes/remember.el (remember-data-file):
8811 * strokes.el (strokes-file):
8812 * shadowfile.el (shadow-initialize):
8813 * saveplace.el (save-place-file):
8814 * ps-bdf.el (bdf-cache-file):
8815 * progmodes/idlwave.el (idlwave-config-directory):
8816 * net/quickurl.el (quickurl-url-file):
8817 * international/kkc.el (kkc-init-file-name):
8818 * ido.el (ido-save-directory-list-file):
8819 * emulation/viper.el (viper-custom-file-name):
8820 * emulation/vip.el (vip-startup-file):
8821 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8822 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8823
cc725808
PE
88242013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8825
8826 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8827 * language/thai-word.el: Switch to UTF-8.
8828
a020afb9 8829See ChangeLog.16 for earlier changes.
e3d51b27
MR
8830
8831;; Local Variables:
8832;; coding: utf-8
e3d51b27
MR
8833;; End:
8834
ab422c4d 8835 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
8836
8837 This file is part of GNU Emacs.
8838
8839 GNU Emacs is free software: you can redistribute it and/or modify
8840 it under the terms of the GNU General Public License as published by
8841 the Free Software Foundation, either version 3 of the License, or
8842 (at your option) any later version.
8843
8844 GNU Emacs is distributed in the hope that it will be useful,
8845 but WITHOUT ANY WARRANTY; without even the implied warranty of
8846 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8847 GNU General Public License for more details.
8848
8849 You should have received a copy of the GNU General Public License
8850 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.