* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b420ccfc
DG
12013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4 "." compared to "do".
5
6b4ac03e
GM
62013-11-06 Glenn Morris <rgm@gnu.org>
7
8 * Makefile.in (setwins_almost, setwins_for_subdirs):
9 Avoid accidental matches.
10
5ca114d1
SM
112013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * menu-bar.el (popup-menu): Use key-binding.
14
f72552bd
EZ
152013-11-06 Eli Zaretskii <eliz@gnu.org>
16
17 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
18 menus, support also the menus produced by minor modes.
19 (Bug#15817)
20
5d5c701e
LL
212013-11-06 Leo Liu <sdl.web@gmail.com>
22
23 * thingatpt.el (thing-at-point-looking-at): Add optional arg
24 DISTANCE to bound the search. All uses changed. (Bug#15808)
25
0a8b75e2
GM
262013-11-06 Glenn Morris <rgm@gnu.org>
27
28 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
29 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
30 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 31
a35287ea
SM
322013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
33
feca4e2d
SM
34 * electric.el (electric-indent-just-newline): New command.
35 (electric-indent-mode-map): New keymap.
36 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
37 Re-add :group which weren't redundant.
38
a35287ea
SM
39 * electric.el (electric-indent-local-mode): New minor mode.
40 (electric-indent-functions-without-reindent): New var.
41 (electric-indent-post-self-insert-function): Use it.
42 * emacs-lisp/gv.el (buffer-local-value): Add setter.
43
375761b2
EZ
442013-11-05 Eli Zaretskii <eliz@gnu.org>
45
9a6ad735
EZ
46 * international/quail.el (quail-help): Be more explicit about the
47 meaning of the labels shown on the keys. (Bug#15800)
48
375761b2
EZ
49 * startup.el (normal-top-level): Load the subdirs.el files before
50 setting the locale environment. (Bug#15805)
51
520a6e4a
SM
522013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
53
0acfafef
SM
54 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
55 via arguments so as to get the right ones (bug#15418).
56
520a6e4a
SM
57 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
58
15826261
MA
592013-11-05 Michael Albinus <michael.albinus@gmx.de>
60
61 Fix problems found while writing a test suite.
62
63 * net/tramp-compat.el (tramp-compat-load): New defun.
64 * net/tramp.el (tramp-handle-load): Use it.
65
66 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
67 "(numberp ok-if-already-exists)" correctly.
68
d35f31a4
XF
692013-11-05 Xue Fuqiao <xfq.free@gmail.com>
70
71 * international/characters.el (glyphless-char-display-control):
72 Add usage note.
73
ae93bc74
BB
742013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
75
520a6e4a
SM
76 * progmodes/python.el (python-mode):
77 * progmodes/scheme.el (scheme-mode):
78 * progmodes/prolog.el (prolog-mode):
79 * progmodes/ruby-mode.el (ruby-mode):
80 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
81 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 82
0ade65b5
SM
832013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
84
a0d5f7a4
SM
85 * rect.el (rectangle--highlight-for-redisplay):
86 * emacs-lisp/smie.el (smie--next-indent-change):
87 Use buffer-chars-modified-tick.
88
c93f3f5c
SM
89 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
90
0ade65b5
SM
91 * electric.el (electric-indent-post-self-insert-function):
92 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
93
ef9dd188
HE
942013-11-04 Helmut Eller <eller.helmut@gmail.com>
95
96 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
97
306e7308
NT
982013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
99
100 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
101 (bug#15786).
102
e5afbcac
SM
1032013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
104
1d01ad41
SM
105 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
106
e5afbcac
SM
107 * progmodes/python.el: Fix up last change.
108 (python-shell--save-temp-file): New function.
109 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
110 `string' comes from the current buffer.
111 (python-shell-send-string-no-output): Remove `msg' arg.
112 (python--use-fake-loc): New var.
113 (python-shell-buffer-substring): Obey it. Try to compensate for the
114 extra coding line added by python-shell--save-temp-file.
115 (python-shell-send-region): Use python-shell--save-temp-file and
116 python-shell-send-file directly. Add `nomain' argument.
117 (python-shell-send-buffer): Use python-shell-send-region.
118 (python-electric-pair-string-delimiter): New function.
119 (python-mode): Use it.
120
d0065ff1
EZ
1212013-11-04 Eli Zaretskii <eliz@gnu.org>
122
123 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
124 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
125 environment and decoding all of the default-directory's to here
126 from command-line.
127 (command-line): Decode also argv[0].
128
129 * loadup.el: Error out if default-directory is a multibyte string
130 when we are dumping.
131
132 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
133
7397c587
TZ
1342013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
135
136 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
137 (package-menu--print-info, package-menu--archive-predicate):
138 Add Archive column to package list.
7397c587 139
b27cc9fc
MA
1402013-11-04 Michael Albinus <michael.albinus@gmx.de>
141
142 Fix problems found while writing a test suite.
143
144 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
145 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
146 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
147 to nil when running original file name handler. Otherwise,
148 there are problems with constructs like "$$FOO".
149
150 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
151 for `localname'.
152
d8c4f18a
BB
1532013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
154
7b530552
BB
155 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
156
157 * subr.el (version<, version<=, version=):
158 Update docstrings with information for snapshot versions.
159
d8c4f18a
BB
160 * helpers.el: New library for misc helper functions.
161 (hash-table-keys): New function returning a list of hash keys.
162 (hash-table-values): New function returning a list of hash values.
163
dca01b09
DG
1642013-11-04 Dmitry Gutov <dgutov@yandex.ru>
165
166 * progmodes/ruby-mode.el (ruby-smie--forward-token)
167 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
168
0a749fa0
MN
1692013-11-04 Michal Nazarewicz <mina86@mina86.com>
170
171 * textmodes/fill.el (fill-single-char-nobreak-p): New function
172 checking whether point is after a 1-letter word.
173
1742013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
175
176 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
177 Don't infloop when expanding region over `multiline' syntax-type that
178 begins a line (bug#15778).
179
4aca7145
SM
1802013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
183 Make it into a proper minor mode.
184 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
185 (rectangle-mark-mode-map): New keymap.
186 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
187
a0833f62
GM
1882013-11-04 Glenn Morris <rgm@gnu.org>
189
190 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
191
e61845c1
SM
1922013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
195 (ruby-smie-rules): Use smie-rule-parent instead.
196
197 * emacs-lisp/smie.el (smie-rule-parent): Always call
198 smie-indent-virtual rather than only for hanging tokens.
199 (smie--next-indent-change): New helper command.
200
62942f89
GM
2012013-11-03 Glenn Morris <rgm@gnu.org>
202
203 * Makefile.in (abs_srcdir): Remove.
204 (emacs): Unset EMACSLOADPATH.
205
b0b9e592
GM
2062013-11-02 Glenn Morris <rgm@gnu.org>
207
18ba6a33 208 * Makefile.in (EMACS): Use a relative filename.
8061810d 209 (abs_top_builddir): Remove.
18ba6a33
GM
210 (custom-deps, finder-data, autoloads): Use --chdir.
211
6a8b929e
GM
212 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
213
c617f3d0
GM
214 Use relative filenames in TAGS files.
215 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
216 (lisptagsfiles4, TAGS): Use relative file names.
217 (TAGS-LISP): Remove.
218 (maintainer-clean): No more TAGS-LISP file.
219
b0b9e592
GM
220 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
221 (lisptagsfiles4): Use absolute filenames again.
222 (TAGS, TAGS-LISP): Not everything needs to run in one line.
223 Remove all *loaddefs files, not just the first. Remove esh-groups.
224 (maintainer-clean): Delete TAGS, TAGS-LISP.
225
d1c0ea6a
BB
2262013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
227
e61845c1
SM
228 * emacs-lisp/package.el (package-version-join):
229 Recognize snapshot versions.
d1c0ea6a 230
684d71c6
BB
2312013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
232
233 * subr.el (version-regexp-alist): Add support for snapshot versions.
234
3d42b968
DG
2352013-11-02 Dmitry Gutov <dgutov@yandex.ru>
236
e61845c1
SM
237 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
238 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
239 skip over our direct parent if it's an assignment token..
240 (ruby-smie-rules): Use it.
241
7ffd3721
DG
2422013-11-02 Dmitry Gutov <dgutov@yandex.ru>
243
244 * progmodes/ruby-mode.el Use `syntax-propertize-function'
245 unconditionally. Remove now unnecessary forward declarations.
246 Remove XEmacs-specific setup.
247 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
248 (ruby-font-lock-syntactic-keywords)
249 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
250 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
251 (ruby-here-doc-end-syntax): Remove.
252 (ruby-mode): Don't check whether `syntax-propertize-rules' is
253 defined as function.
254
a3996a2e
BB
2552013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
256
257 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
258
6f9260e8
BB
2592013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
260
261 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
262 table and abbrev table, `define-derived-mode' does that for us
263 anyway.
264
6014de84
GM
2652013-11-01 Glenn Morris <rgm@gnu.org>
266
267 * Makefile.in: Remove manual mh-e dependencies (writing .elc
268 files is atomic for some time, so no parallel compilation issues).
269
3c334c14
JD
2702013-11-01 Jan Djärv <jan.h.d@swipnet.se>
271
272 * faces.el (face-x-resources): Add :distant-foreground.
273 (region): Use :distant-foreground for gtk and ns.
274
9bc236c8
TH
2752013-11-01 Tassilo Horn <tsdh@gnu.org>
276
5246583b 277 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
278 BibTeX.
279 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
280 (reftex-locate-bibliography-files): Us it.
281
d14c81ee
CB
2822013-11-01 Claudio Bley <claudio.bley@googlemail.com>
283
0e7690de
CB
284 * image.el (image-type-header-regexps): Fix the 'pbm' part to
285 allow comments in pbm files.
286
d14c81ee
CB
287 * term/w32-win.el (dynamic-library-alist): Support newer versions
288 of libjpeg starting with v7: look only for the DLL from the
289 version against which Emacs was built.
ac1bf374 290 Support versions of libpng beyond 1.4.x.
019c8218 291 Support libtiff v4.x.
d14c81ee 292
983d0df5
BB
2932013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
294
295 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
296 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
297 Add property :safe.
298 (ruby-deep-arglist): Add property :type.
299
47f58d85
GM
3002013-10-31 Glenn Morris <rgm@gnu.org>
301
302 * Makefile.in (custom-deps, finder-data): No need to setq the target
303 variables, we are in the right directory and the defaults work fine.
304
4f85b479
GM
3052013-10-30 Glenn Morris <rgm@gnu.org>
306
ca7dd4cd
GM
307 * Makefile.in (autoloads): Do not use abs_lisp.
308
4f85b479
GM
309 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
310 `newline' does not respect `standard-output', so use `princ'.
311
cf59e41c
AA
3122013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
313
314 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
315 * buff-menu.el (Buffer-menu--unmark): New function.
316 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
317
74cf04fb
GM
3182013-10-30 Glenn Morris <rgm@gnu.org>
319
b040b60e
GM
320 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
321
f53d3815
GM
322 * emacs-lisp/package.el (lm-homepage): Declare.
323
5413d873
GM
324 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
325 Fix doc typos.
326
cecedb36
GM
327 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
328
74cf04fb
GM
329 * Makefile.in (finder-data, autoloads, update-subdirs)
330 (compile-main, compile-clean, compile-always, bootstrap-clean):
331 Check return value of cd.
332 (compile-calc): Remove.
333
195ee2f0
SM
3342013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
335
ae4002ce
SM
336 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
337
338 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
339 (byte-compile-and-folded): New function.
340 (=, <, >, <=, >=): Use it.
341
342 * dos-w32.el (minibuffer-history-case-insensitive-variables)
343 (path-separator, null-device, buffer-file-coding-system)
344 (lpr-headers-switches): Check system-type before modifying them.
345 (find-buffer-file-type-coding-system): Mark obsolete.
346 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
347 find-file-not-found-set-buffer-file-coding-system.
348 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
349 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
350 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
351 (w32-direct-print-region-helper, w32-direct-print-region-function)
352 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
353 * startup.el (normal-top-level-add-subdirs-to-load-path):
354 * ps-print.el (ps-print-region-function):
355 * lpr.el (print-region-function): Use new name.
356
53b39e89
SM
357 * subr.el (custom-declare-variable-early): Remove function.
358 (custom-declare-variable-list): Remove var.
359 (error, user-error): Remove `while' loop.
360 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
361 (user-emacs-directory-warning, locate-user-emacs-file):
362 Move to files.el.
363 * simple.el (read-quoted-char-radix, read-quoted-char):
364 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
365 Move from subr.el.
366 * custom.el (custom-declare-variable-list): Don't process
367 custom-declare-variable-list.
368
195ee2f0
SM
369 * progmodes/python.el (python-shell-get-buffer): New function.
370 (python-shell-get-process): Use it.
371 (python-shell-send-string): Always use utf-8 and add a cookie to tell
372 Python which encoding was used. Don't split-string since we only care
373 about the first line. Return the temp-file, if applicable.
374 (python-shell-send-region): Tell compile.el how to turn locations in
375 the temp-file into locations in the source buffer.
376
7e3561ee
SM
3772013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
378
4c9797cb
SM
379 * subr.el (undefined): Add missing behavior from the C code for
380 unbound keys.
381
3472b6c6
SM
382 * rect.el: Use lexical-binding. Add new rectangular region support.
383 (rectangle-mark): New command.
384 (rectangle--region): New var.
385 (deactivate-mark-hook): Reset rectangle--region.
386 (rectangle--extract-region, rectangle--insert-for-yank)
387 (rectangle--highlight-for-redisplay)
388 (rectangle--unhighlight-for-redisplay): New functions.
389 (region-extract-function, redisplay-unhighlight-region-function)
390 (redisplay-highlight-region-function): Use them to handle
391 rectangular region.
392 * simple.el (region-extract-function): New var.
393 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
394 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
395 (kill-region): Replace obsolete `yank-handler' arg with `region'.
396 (copy-region-as-kill, kill-ring-save): Add `region' argument.
397 (redisplay-unhighlight-region-function)
398 (redisplay-highlight-region-function): New vars.
399 (redisplay--update-region-highlight): New function.
400 (pre-redisplay-function): Use it.
401 (exchange-point-and-mark): Don't deactivate the mark before
402 reactivate-it anyway.
403 * comint.el (comint-kill-region): Remove yank-handler argument.
404 * delsel.el (delete-backward-char, backward-delete-char-untabify)
405 (delete-char): Remove property, since it's now part of their
406 default behavior.
407 (self-insert-iso): Remove property since this command doesn't exist.
408
7e3561ee
SM
409 * emacs-lisp/package.el (package--download-one-archive)
410 (describe-package-1): Don't query the user about final newline.
411
b9bef71f
DC
4122013-10-29 Daniel Colascione <dancol@dancol.org>
413
414 * net/tramp.el (tramp-methods): Document new functionality.
415 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
416 tramp-hostname-checker if method provides one instead of scanning
417 argument list for "%h" to decide hostname acceptability.
418
4efc33f0
MA
4192013-10-28 Michael Albinus <michael.albinus@gmx.de>
420
421 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
422 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
423 Handle COPY-CONTENTS. (Bug#15737)
424
ed42a877
DU
4252013-10-28 Daiki Ueno <ueno@gnu.org>
426
427 * epa-file.el
7e3561ee
SM
428 (epa-file-cache-passphrase-for-symmetric-encryption):
429 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 430
18c9f8a2
XF
4312013-10-27 Xue Fuqiao <xfq.free@gmail.com>
432
7a4bc7be
XF
433 * image.el (defimage):
434 (image-load-path): Doc fixes.
18c9f8a2 435
b1e8e010
AM
4362013-10-27 Alan Mackenzie <acm@muc.de>
437
438 Indent statements in macros following "##" correctly.
7e3561ee
SM
439 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
440 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 441
73d40d1e 4422013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
443
444 * linum.el (linum-update-window): Fix boundary test (bug#13446).
445
c8c605ac
DG
4462013-10-27 Dmitry Gutov <dgutov@yandex.ru>
447
448 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
449 after `=' is probably a new expression.
450
ca7e59d4
RS
4512013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
452
453 * man.el (man-imenu-title): New option.
454 (Man-mode-map): Add menu. (Bug#15722)
455 (Man-mode): Add imenu to menu.
456
bae91342
DG
4572013-10-26 Dmitry Gutov <dgutov@yandex.ru>
458
459 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
460 specific in what the first arg can be: a non-keyword word,
461 string/regexp/percent literal opener, opening paren, or unary
462 operator followed directly by word.
463
eb89dc14
SM
4642013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
465
466 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
467 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
468 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
469 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
470 Remove vars, they do not apply any more.
471 (prolog-mode-abbrev-table): Remove redundant declaration.
472 (prolog-upper-case-string, prolog-lower-case-string): Remove.
473 (prolog-use-smie): Remove.
474 (prolog-smie-rules): Add indentation rule for the if-then-else layout
475 supported by prolog-electric-if-then-else-flag.
476 (prolog-mode-variables, prolog-menu): Use setq-local.
477 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
478 Remove binding to `Backspace' since this key doesn't exist anyway.
479 Remove bindings for electric self-inserting keys.
480 (prog-mode): Assume it's defined.
481 (prolog-post-self-insert): New function.
482 (prolog-mode): Use it.
483 (prolog-indent-line, prolog-indent-level)
484 (prolog-find-indent-of-matching-paren)
485 (prolog-indentation-level-of-line, prolog-goto-comment-column)
486 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
487 (prolog-goto-next-paren, prolog-in-string-or-comment)
488 (prolog-tokenize, prolog-inside-mline-comment)
489 (prolog-find-start-of-mline-comment): Remove functions.
490 (prolog-find-unmatched-paren, prolog-clause-end)
491 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
492 (prolog-electric--if-then-else): Rename from
493 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
494 (prolog-tokenize-searchkey): Remove const.
495 (prolog-clause-info): Use forward-sexp.
496 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
497 (prolog-electric-if-then-else): Remove commands.
498 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
499 for use in post-self-insert-hook.
500 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
501 for use in post-self-insert-hook.
502 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
503 for use in post-self-insert-hook.
504 (prolog-electric--underscore): Rename from prolog-electric--underscore;
505 adapt it for use in post-self-insert-hook.
506
3dab0a83
MA
5072013-10-25 Michael Albinus <michael.albinus@gmx.de>
508
509 * emacs-lisp/ert.el (ert-run-tests-interactively):
510 Use `completing-read'. (Bug#9756)
511
fbfd0e1d
EZ
5122013-10-25 Eli Zaretskii <eliz@gnu.org>
513
514 * simple.el (line-move): Call line-move-1 instead of
515 line-move-visual when the current window hscroll is zero, but
516 temporary-goal-column indicates we will need to hscroll as result
517 of the movement. (Bug#15712)
518
963ce636
DG
5192013-10-25 Dmitry Gutov <dgutov@yandex.ru>
520
521 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
522 capitalization. Use :visible instead of :active.
523 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
524 commands that are used with SMIE.
525 (ruby-do-end-to-brace): Insert space after `{'.
526
a0be396a
JA
5272013-10-25 John Anthony <john@jo.hnanthony.com>
528
f73754c9
JA
529 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
530
531 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 532
f5bf77df
GM
5332013-10-25 Glenn Morris <rgm@gnu.org>
534
535 * vc/vc.el (vc-print-log): Don't use a working revision unless
536 one was explicitly specified. (Bug#15322)
537
37241f62
SM
5382013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * subr.el (add-to-list): Preserve return value in compiler-macro
541 (bug#15692).
542
6408a65d
RS
5432013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
544
545 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
546 result. Ask user to retry using '-all' flag. (Bug#15701)
547
71e3276b
SM
5482013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
549
550 * emacs-lisp/smie.el: New smie-config system.
551 (smie-config): New defcustom.
552 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
553 (smie-config-guess, smie-config-save): New commands.
554 (smie-config--mode-local, smie-config--buffer-local)
555 (smie-config--trace, smie-config--modefuns): New vars.
556 (smie-config--advice, smie-config--mode-hook)
557 (smie-config--setter, smie-config-local, smie-config--get-trace)
558 (smie-config--guess-value, smie-config--guess): New functions.
559 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
560 text properties. Treat "string fence" syntax like string syntax.
561
562 * progmodes/sh-script.el (sh-use-smie): Change default.
563 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
564 (sh-var-value): Simplify by CSE.
565 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
566 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
567 is used.
568 (sh-guess-basic-offset): Use cl-incf.
569 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
570
60db713e
HE
5712013-10-24 Helmut Eller <eller.helmut@gmail.com>
572
573 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
574 (bug#15699).
575
8b251df6
GM
5762013-10-24 Glenn Morris <rgm@gnu.org>
577
578 * Makefile.in (abs_top_srcdir): Remove.
579 (update-subdirs): Use relative path to update-subdirs.
580
6be0e22b
EZ
5812013-10-24 Eli Zaretskii <eliz@gnu.org>
582
583 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
584 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
585 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
586 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 587
50b5b857
MA
5882013-10-24 Michael Albinus <michael.albinus@gmx.de>
589
590 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
591 (ert-test-skipped): New error.
592 (ert-skip, ert-stats-skipped): New defuns.
593 (ert--skip-unless): New macro.
594 (ert-test-skipped): New struct.
595 (ert--run-test-debugger, ert-test-result-type-p)
596 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
597 (ert--stats-set-test-and-result, ert-char-for-test-result)
598 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 599 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 600 Handle skipped tests. (Bug#9803)
50b5b857 601
6f317c2f
GM
6022013-10-24 Glenn Morris <rgm@gnu.org>
603
e43817c1
GM
604 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
605
6f317c2f
GM
606 * Makefile.in (abs_top_srcdir): New, set by configure.
607 (update-subdirs): Correct build-aux location.
608
369bbf71
DG
6092013-10-24 Dmitry Gutov <dgutov@yandex.ru>
610
8297b2cf
DG
611 * vc/vc.el (vc-print-root-log): Always set `default-directory'
612 value, whether we could auto-deduce `backend', or not.
613
369bbf71
DG
614 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
615 with parameters" example. Simplify the "is it block or is it
616 hash" check, but also make it more thorough.
617
d5f1282f
MF
6182013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
619
620 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
621
bc4aaa31
SM
6222013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
623
03d44565
SM
624 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
625 { if it is hanging.
626
bc4aaa31
SM
627 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
628 :before ";".
629
f493ff19
JB
6302013-10-23 Jed Brown <jed@59A2.org> (tiny change)
631
632 * progmodes/compile.el (compilation-directory-matcher)
633 (compilation-page-delimiter):
634 Support GNU Make-4.0 directory quoting. (Bug#15678)
635
c744a3b9
LL
6362013-10-23 Leo Liu <sdl.web@gmail.com>
637
638 * ido.el (ido-tidy): Handle read-only text.
639
b8e3b0a9
GM
6402013-10-23 Glenn Morris <rgm@gnu.org>
641
642 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
643 (emacs, compile, compile-always):
644 Quote entities that might contain whitespace.
645 (custom-deps, finder-data, autoloads): Use abs_lisp.
646 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
647 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
648 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
649
ee4282cd
DG
6502013-10-23 Dmitry Gutov <dgutov@yandex.ru>
651
bc4aaa31
SM
652 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
653 Use `following-char'.
7790a270 654
ee4282cd 6552013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
656
657 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
658 * progmodes/ruby-mode.el (ruby-smie-rules):
659 Remove corresponding workaround. Fix indentation rule of ";" so it
660 also applies when ";" is the parent.
661
d40a46d7
XF
6622013-10-22 Xue Fuqiao <xfq.free@gmail.com>
663
664 * frame.el (display-screens, display-pixel-height)
665 (display-pixel-width, display-mm-width, display-backing-store)
666 (display-save-under, display-planes, display-color-cells)
7790a270
SM
667 (display-visual-class, display-monitor-attributes-list):
668 Mention the optional ‘display’ argument in doc strings.
d40a46d7 669
a0f143c9
MG
6702013-10-22 Michael Gauland <mikelygee@amuri.net>
671
672 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
673 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
674
18cacc39
DG
6752013-10-21 Dmitry Gutov <dgutov@yandex.ru>
676
677 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
678 TODO. Add "." after " @ ".
679 (ruby-smie--at-dot-call): New function. Checks if point at method
680 call with explicit target.
681 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
682 to the method name tokens when it precedes them.
683 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
684 (ruby-smie-rules): Add rule for indentation before and after "."
685 token.
686
df74c4be
SM
6872013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
688
c6dab55f
SM
689 * textmodes/remember.el (remember-diary-extract-entries):
690 Avoid add-to-list.
691
df74c4be
SM
692 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
693 an instruction.
694
8c1ae481
DG
6952013-10-21 Dmitry Gutov <dgutov@yandex.ru>
696
cfef16c0
DG
697 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
698 (ruby-smie--implicit-semi-p): Add new operator chars.
699
8c1ae481
DG
700 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
701 `smie-down-list'.
702 (ruby-smie--args-separator-p): Check that there's no newline
703 between method call and its arguments.
704
87756ca9
AM
7052013-10-20 Alan Mackenzie <acm@muc.de>
706
707 Allow comma separated lists after Java "implements".
708
df74c4be
SM
709 * progmodes/cc-engine.el (c-backward-over-enum-header):
710 Parse commas.
87756ca9
AM
711 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
712 from a "disallowed" list in enum fontification.
713
c25f8957
JB
7142013-10-20 Johan Bockgård <bojohan@gnu.org>
715
df74c4be 716 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 717
c25f8957
JB
718 * progmodes/verilog-mode.el (verilog-mode): Don't set
719 comment-indent-function globally.
720
aca5fcdc
JD
7212013-10-20 Jan Djärv <jan.h.d@swipnet.se>
722
5f161884
JD
723 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
724 Move Info menu item creation to ns-win.el.
725
726 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
727 in menu bar.
728
aca5fcdc
JD
729 * menu-bar.el: Move GNUStep specific menus...
730
731 * term/ns-win.el (ns-initialize-window-system): ... to here.
732
914b7f98
SM
7332013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * simple.el (newline): Only run post-self-insert-hook when
736 called interactively.
737
846ffe77
JB
7382013-10-19 Johan Bockgård <bojohan@gnu.org>
739
740 * icomplete.el (icomplete-with-completion-tables): Add :version.
741
033f22dd
AM
7422013-10-19 Alan Mackenzie <acm@muc.de>
743
744 Fix fontification bugs with constructors and const.
745
746 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
747 CASE 2) Remove the check for the absence of a suffix construct
748 after a function declaration with only types (no identifiers) in
749 the parentheses. Also, accept a function declaration with just a
750 type inside the parentheses, if this type can be positively
751 recognised as such, or if a prefix keyword like "explicit" nails
752 down the construct as a declaration.
753
58ce0cfc
EZ
7542013-10-19 Eli Zaretskii <eliz@gnu.org>
755
756 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
757 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
758 the problem whereby selecting a menu item that leads to a
759 minibuffer prompt moves the cursor out of the minibuffer window,
760 making it hard to type at the prompt. Suggested by Stefan Monnier
761 <monnier@iro.umontreal.ca>.
762
50e28e7d
JD
7632013-10-19 Jan Djärv <jan.h.d@swipnet.se>
764
765 * menu-bar.el: Don't make Services menu.
766
7deed4bf
RS
7672013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
768
769 * ffap.el: Handle "/usr/include/c++/<version>" directories.
770 (ffap-alist): Use ffap-c++-mode for c++-mode.
771 (ffap-c++-path): New variable.
772 (ffap-c++-mode): New function.
773
7bcb455b
JVJ
7742013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
775
776 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
777
f0ff1cd5
MA
7782013-10-18 Michael Albinus <michael.albinus@gmx.de>
779
780 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
781 introduced on 2013-09-08, which results in an infinite loop
782 requesting a password.
783
d64da4b7
GM
7842013-10-18 Glenn Morris <rgm@gnu.org>
785
786 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
787
ea89ff08
WS
7882013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
789
790 Sync with upstream verilog-mode revision 1a6ecec7.
791 * progmodes/verilog-mode.el (verilog-mode-version): Update.
792 (verilog-mode-release-date): Remove.
793 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
794 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
795 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
796 (verilog-auto-tieoff-ignore-regexp)
797 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
798 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
799 (verilog-signals-with, verilog-dir-cache-preserving)
800 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
801 Doc fixes.
802 (verilog-case-fold): New option, to control case folding in
803 regexp searches, bug597.
804 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
805 (verilog-string-match-fold, verilog-in-paren-count)
806 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
807 (verilog-at-close-struct-p): New functions.
808 (verilog-beg-block-re-ordered, verilog-extended-case-re)
809 (verilog-forward-sexp, verilog-set-auto-endcomments):
810 (verilog-leap-to-case-head): Handle "unique0" case.
811 (verilog-in-constraint-re): New constant.
812 (verilog-keywords, verilog-type-font-keywords):
813 Add some SystemVerilog 1800-2012 keywords.
814 (verilog-label-be): Remove unimplemented argument, bug669.
815 (verilog-batch-execute-func): When batch expanding clear
816 create-lockfiles to prevent spurious user locks when a file ends
817 up not changing.
818 (verilog-calculate-indent, verilog-calc-1)
819 (verilog-at-close-constraint-p, verilog-at-constraint-p)
820 (verilog-do-indent): Fix indentation of nested constraints
821 and structures.
822 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
823 (verilog-auto-inst-param): Use verilog-string-match-fold.
824 (verilog-read-inst-module-matcher):
825 Fix AUTOINST on gate primitives with #1.
826 (verilog-read-decls): Fix double-declaring user-defined typed signals.
827 Reads all user-defined typed variables.
828 (verilog-read-defines): Fix reading definitions inside comments, bug647.
829 (verilog-signals-matching-regexp)
830 (verilog-signals-not-matching-regexp, verilog-auto):
831 Respect verilog-case-fold.
832 (verilog-diff-report): Fix line count.
833 (verilog-auto-assign-modport): Remove unused local `modi'.
834 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
835 better handle multidimensional arrays.
836 Fix packed array ports misadding bit index in AUTOINST, bug637.
837 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
838 to not double-declare existing outputs and inputs, respectively.
839 (verilog-template-map): Bind U to verilog-sk-uvm-component.
840 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
841 (verilog-sk-uvm-component): New skeleton.
842 (verilog-submit-bug-report): Add verilog-case-fold,
843 remove verilog-mode-release-date.
844
ef566920
BR
8452013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
846
847 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
848 as before.
849
29df8a0b
RT
8502013-10-18 Reuben Thomas <rrt@sc3d.org>
851
852 * textmodes/remember.el (remember): set buffer-offer-save in
853 remember buffers (bug#13566).
854
04a19a79
DC
8552013-10-18 Daniel Colascione <dancol@dancol.org>
856
857 When evaluating forms in ielm, direct standard output to ielm
858 buffer. Add new ielm-return-for-effect command. Remove trailing
859 whitespace throughout.
860
861 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
862 (ielm-return-for-effect): New command.
863 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
864 (ielm-eval-input): Accept optional `for-effect' parameter.
865 Bind `standard-output' to stream we create using
04a19a79
DC
866 `ielm-standard-output-impl'. Suppress printing result when
867 `for-effect'.
868 (ielm-standard-output-impl): New function.
869 (inferior-emacs-lisp-mode): Explain new features in documentation.
870
4c1f03ef
MA
8712013-10-17 Michael Albinus <michael.albinus@gmx.de>
872
873 Code cleanup.
874
875 * net/tramp.el (tramp-debug-message): Do not check for connection
876 buffer.
877 (tramp-message): Use "vector" connection property.
878
879 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
880 (tramp-equal-remote, tramp-eshell-directory-change)
881 * net/tramp-adb.el (tramp-adb-handle-copy-file)
882 (tramp-adb-handle-rename-file)
883 * net/tramp-cmds.el (tramp-list-remote-buffers)
884 (tramp-cleanup-connection, tramp-cleanup-this-connection)
885 * net/tramp-compat.el (tramp-compat-process-running-p)
886 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
887 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
888 (tramp-gvfs-handle-rename-file)
889 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
890 (tramp-set-file-uid-gid)
891 * net/tramp-smb.el (tramp-smb-handle-copy-file)
892 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
893 of `file-remote-p'.
894
895 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
896 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
897 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
898 (tramp-gw-open-network-stream): Suppress unrelated traces.
899
900 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
901 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
902 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
903 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
904 connection property.
905
906 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 907 persistency file.
4c1f03ef
MA
908
909 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
910 Refactor common code. Improve debug message.
911 (tramp-maybe-open-connection)
912 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
913 connection buffer too early.
914
915 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
916 from `tramp-smb-actions-with-acl'.
917 (tramp-smb-actions-set-acl): New defconst.
918 (tramp-smb-handle-copy-directory)
919 (tramp-smb-action-get-acl): New defun, renamed from
920 `tramp-smb-action-with-acl'.
921 (tramp-smb-action-set-acl): New defun.
922 (tramp-smb-handle-set-file-acl): Rewrite.
923
642eb8b6
GM
9242013-10-17 Glenn Morris <rgm@gnu.org>
925
926 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
927
85527ff3
SM
9282013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
929
921c1d62
SM
930 * skeleton.el (skeleton-newline): Remove.
931 (skeleton-internal-1): Use (insert "\n") instead.
932
e333fb10
SM
933 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
934 let-bindings.
935
85527ff3
SM
936 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
937 forward-sexp-function while we redo its job (bug#15613).
938
c8722a97
JB
9392013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
940
941 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
942 represented by lists.
943
7a550bbb
GM
9442013-10-16 Glenn Morris <rgm@gnu.org>
945
946 * tmm.el (tmm--history): New dynamic variable.
947 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
948
f19da8ad
MA
9492013-10-16 Michael Albinus <michael.albinus@gmx.de>
950
951 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
952 (tramp-smb-errors): Add error messages.
953 (tramp-smb-actions-with-acl): New defconst.
954 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
955 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
956 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
957 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
958 (tramp-smb-get-stat-capability): Fix tests.
959
a24b9961
DK
9602013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
961
962 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
963 (bug#15580).
964
62ad85e6
GM
9652013-10-16 Glenn Morris <rgm@gnu.org>
966
0283d6b0
GM
967 * ansi-color.el (ansi-color-drop-regexp):
968 Add 1J, 1K, 2K. (Bug#15617)
969
012e2f9f
GM
970 * files.el (hack-local-variables--warned-lexical): New.
971 (hack-local-variables):
972 Warn about misplaced lexical-binding. (Bug#15616)
973
62ad85e6
GM
974 * net/eww.el (eww-render): Always set eww-current-url,
975 and update header line. (Bug#15622)
976 (eww-display-html): ... Rather than just doing it here.
977
6456c0ea
EZ
9782013-10-15 Eli Zaretskii <eliz@gnu.org>
979
980 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
981 menu navigations commands.
982
c2de5588
DK
9832013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
984
985 * progmodes/subword.el (subword-capitalize): Be careful when
986 the search for [[:alpha:]] fails (bug#15580).
987
ccd4a783
EZ
9882013-10-14 Eli Zaretskii <eliz@gnu.org>
989
990 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
991 to commands that scroll the menu.
992
1eda1d8d
DG
9932013-10-14 Dmitry Gutov <dgutov@yandex.ru>
994
c2de5588
DK
995 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
996 Handle methods ending with `?' and `!'.
1eda1d8d 997
e70181b8
AM
9982013-10-14 Akinori MUSHA <knu@iDaemons.org>
999
1000 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1001 `japanese-cp932' to `cp932' to fix the problem where saving a
1002 source file written in Shift_JIS twice would end up having
1003 `coding: japanese-cp932' which Ruby could not recognize.
1004 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1005 in `ruby-encoding-map'.
1006 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1007 doesn't need to be explicitly declared in magic comment.
1008 (ruby-encoding-map): Add type declaration for better customize UI.
1009
9148ee92
GM
10102013-10-13 Glenn Morris <rgm@gnu.org>
1011
a5d38e34
GM
1012 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1013 Occur buffers are read-only. http://bugs.debian.org/720775
1014
9148ee92
GM
1015 * emacs-lisp/authors.el (authors-fixed-entries):
1016 Comment out old alpha stuff.
1017
a9ba094b
DG
10182013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1019
1020 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1021 to `after-save-hook' instead of `before-save-hook'.
1022 (ruby-mode-set-encoding): Use the value of coding system used to
1023 write the file. Call `basic-save-buffer-1' after modifying the
1024 buffer.
1025
7a068717
AM
10262013-10-13 Alan Mackenzie <acm@muc.de>
1027
1028 Fix indentation/fontification of Java enum with
1029 "implements"/generic.
1030
c2de5588
DK
1031 * progmodes/cc-engine.el (c-backward-over-enum-header):
1032 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
1033 (c-inside-bracelist-p): Uses new function above.
1034 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1035 function above.
1036 (c-font-lock-enum-tail): Uses new function above.
1037
85b64f02
KH
10382013-10-13 Kenichi Handa <handa@gnu.org>
1039
1040 * international/mule-cmds.el (select-safe-coding-system): Remove a
1041 superfluous condition in chekcing whether a coding system is safe
1042 or not.
1043
fc7f501b
OK
10442013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1045
1046 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1047
fdcb2049
AP
10482013-10-13 Andreas Politz <politza@hochschule-trier.de>
1049
1050 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1051
8c106d17
GM
10522013-10-13 Glenn Morris <rgm@gnu.org>
1053
feab892d
GM
1054 * menu-bar.el (menu-bar-update-buffers):
1055 Unify Buffers menu prompt string. (Bug#15576)
1056
b22d0686
GM
1057 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1058
8c106d17
GM
1059 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1060 Add some entries.
1061 (authors-fixed-entries): Use accented form of name.
1062
1b12c797
SM
10632013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1064
650fa7bf 1065 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 1066 method calls (bug#15594).
650fa7bf
SM
1067 (ruby-smie--args-separator-p): New function.
1068 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1069 recognize paren-free method calls.
1070
1b12c797
SM
1071 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1072 internals of universal-argument.
1073
029619c8
EZ
10742013-10-11 Eli Zaretskii <eliz@gnu.org>
1075
1076 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
1077 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1078 dropped menu on second mouse click on the menu bar.
029619c8 1079
dd070019
SM
10802013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1083 (explicit-shell-file-name): Declare.
1084 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1085 (sh-completion-at-point-function): New function.
1086 (sh-mode): Use it.
1087 (sh-smie--keyword-p): Remove unused argument.
1088 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1089 vars.
1090 (sh-set-shell): Always setup SMIE, even if we use the
1091 old indentation code.
1092
0922b826
DG
10932013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1094
b68e2926
DG
1095 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1096 cases of ? and =.
1097 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1098 predicate would return nil are almost non-existent.
1099 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1100
0922b826
DG
1101 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1102 cache also after commands that modify the buffer but don't move
1103 point.
1104
ee041f2d
SM
11052013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * env.el (substitute-env-in-file-name): New function.
1108 (substitute-env-vars): Extend the meaning of the optional arg.
1109
a5dab159
EZ
11102013-10-10 Eli Zaretskii <eliz@gnu.org>
1111
1112 * term/w32-win.el (dynamic-library-alist): Define separate lists
1113 of GIF DLLs for versions before and after 5.0.0 of giflib.
1114 (Bug#15531)
1115
db138698
JT
11162013-10-10 João Távora <joaotavora@gmail.com>
1117
1118 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1119 not locked, use last revision and current source as
1120 defaults. (Bug#15569)
1121
2f6e161e
MY
11222013-10-10 Masatake YAMATO <yamato@redhat.com>
1123
1124 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1125 menu-bar is hidden.
1126
6c8413fc
MR
11272013-10-10 Martin Rudalics <rudalics@gmx.at>
1128
1129 * window.el (pop-to-buffer-same-window): Fix doc-string.
1130 (Bug#15492)
1131
20832de0
SM
11322013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1135
c6e8ae77
AC
11362013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1137
1138 * calendar/icalendar.el (icalendar-import-file):
1139 Fix interactive spec. (Bug#15482)
1140
9db13baf
GM
11412013-10-10 Glenn Morris <rgm@gnu.org>
1142
9271e90e
GM
1143 * desktop.el (desktop-save): Default to saving in .emacs.d,
1144 since PWD is no longer in desktop-path by default. (Bug#15319)
1145
9db13baf
GM
1146 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1147 now that text mode has a menu with the same entry.
1148 (menu-bar-text-mode-auto-fill): Remove now unused func.
1149 * textmodes/text-mode.el (text-mode-map):
1150 Use auto-fill help text from menu-bar.el.
1151
a0be396a 11522013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1153
1154 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1155
2edcd3c7
JL
11562013-10-09 Juri Linkov <juri@jurta.org>
1157
1158 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1159 instead of this-command-keys. Add universal-argument-more and
1160 universal-argument-minus to the list of prefix commands. (Bug#15568)
1161
574411d0
GM
11622013-10-09 Glenn Morris <rgm@gnu.org>
1163
14afa541
GM
1164 * vc/vc-svn.el (vc-svn-create-repo):
1165 Expand paths in file://... url. (Bug#15446)
1166
574411d0
GM
1167 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1168 Add some entries.
1169 (authors): Remove unused local variables.
1170
79804536
SM
11712013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * profiler.el: Create a more coherent calltree from partial backtraces.
1174 (profiler-format): Hide the tail with `invisible' so that C-s can still
1175 find the hidden elements.
1176 (profiler-calltree-depth): Don't recurse so enthusiastically.
1177 (profiler-function-equal): New hash-table-test.
1178 (profiler-calltree-build-unified): New function.
1179 (profiler-calltree-build): Use it.
1180 (profiler-report-make-name-part): Indent the calltree less.
1181 (profiler-report-mode): Add visibility specs for profiler-format.
1182 (profiler-report-expand-entry, profiler-report-toggle-entry):
1183 Expand the whole subtree when provided with a prefix arg.
1184
238150c8
DG
11852013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1186
1187 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1188 iuwu-mod token.
1189 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1190 hanging iuwu-mod token.
1191 (ruby-smie--forward-token): Do not include a dot after a token in
1192 that token.
1193 (ruby-smie--backward-token): Likewise.
1194
b0949cc4
JL
11952013-10-08 Juri Linkov <juri@jurta.org>
1196
1197 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1198 to isearch-other-control-char.
1199 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1200 and isearch-post-command-hook to post-command-hook.
1201 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1202 and isearch-post-command-hook from post-command-hook.
1203 (isearch-unread-key-sequence)
1204 (isearch-reread-key-sequence-naturally)
1205 (isearch-lookup-scroll-key, isearch-other-control-char)
1206 (isearch-other-meta-char): Remove functions.
1207 (isearch-pre-command-hook, isearch-post-command-hook):
1208 New functions based on isearch-other-meta-char rewritten
1209 relying on the new behavior of overriding-terminal-local-map
1210 that does not replace the local keymaps any more. (Bug#15200)
1211
4ed77415
EZ
12122013-10-08 Eli Zaretskii <eliz@gnu.org>
1213
1214 Support menus on text-mode terminals.
1215 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1216 functionality.
1217
1218 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1219
c2de5588
DK
1220 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1221 Move here from mouse.el.
4ed77415
EZ
1222 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1223 and arrow keys.
1224 (tty-menu-navigation-map): New map for TTY menu navigation.
1225
1226 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1227
1228 * frame.el (display-mouse-p): Report text-mode mouse as available
1229 on w32.
1230 (display-popup-menus-p): Report availability if mouse is
1231 available; don't condition on window-system.
1232
1233 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1234 (tty-menu-selected-face): New faces.
1235
b7d5bd82
TL
12362013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1237
06286513
SM
1238 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1239 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1240 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1241 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1242 New constants.
1243 (lisp-mode-variables): New `elisp' argument.
1244 (emacs-lisp-mode): Use it.
1245 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1246 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1247
b7d5bd82
TL
1248 * indent.el: Use lexical-binding.
1249 (indent-region): Add progress reporter.
1250 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1251 last step.
1252 (indent--next-tab-stop): New function to implement this behavior.
1253 (tab-to-tab-stop, move-to-tab-stop): Use it.
1254
12552013-10-08 Teemu Likonen <tlikonen@iki.fi>
1256
1257 * indent.el (indent-rigidly--current-indentation): New function.
1258 (indent-rigidly-map): New var.
1259 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1260
5ea75d23
BG
12612013-10-08 Bastien Guerry <bzg@gnu.org>
1262
1263 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1264
cc5da1ec
SM
12652013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1266
8ffa1a0b
SM
1267 * progmodes/perl-mode.el: Use lexical-binding.
1268 Remove redundant :group args.
1269 (perl-nochange): Change default to be closer to other major modes's
1270 standard behavior.
1271 (perl-indent-line): Don't consider text on current line as a
1272 valid beginning of function from which to indent.
1273
f2223371
SM
1274 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1275 with more than one argument (bug#15538).
1276
44256060
SM
1277 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1278
cc5da1ec
SM
1279 * vc/pcvs.el: Use lexical-binding.
1280 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1281 environment of `eval'.
1282 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1283 than a list of expressions. Adjust callers.
1284 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1285
0ea1599d
DG
12862013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1287
1288 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1289 case of the dot in a chained method call being on the following line.
0ea1599d 1290
da3e5ebb
SM
12912013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1292
2abb4e65
SM
1293 * electric.el (electric-indent-inhibit): New var.
1294 (electric-indent-post-self-insert-function): Use it.
1295 * progmodes/python.el (python-mode): Set it.
1296
d2e0e795
SM
1297 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1298 open braces.
1299
1300 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1301
bdc6b4c8
SM
1302 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1303 (css-mode): Use electric-indent-chars.
1304
da3e5ebb
SM
1305 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1306 (font-lock-beg, font-lock-end): Move before first use.
1307 (nxml-mode): Use syntax-propertize-function.
1308 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1309 (nxml-extend-after-change-region): Remove.
1310 * nxml/xmltok.el: Use lexical-binding.
1311 (xmltok-save): Use `declare'.
1312 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1313 * nxml/nxml-util.el: Use lexical-binding.
1314 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1315 Use `declare'.
1316 * nxml/nxml-ns.el: Use lexical-binding.
1317 (nxml-ns-save): Use `declare'.
1318 (nxml-ns-prefixes-for): Avoid add-to-list.
1319 * nxml/rng-match.el: Use lexical-binding.
1320 (rng--ipattern): Use cl-defstruct.
1321 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1322 (rng-cons-group-after, rng-subst-group-after)
1323 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1324 Use closures instead of `(lambda...).
1325
f8f91d5d
MA
13262013-10-07 Michael Albinus <michael.albinus@gmx.de>
1327
1328 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1329 of BEG and END.
1330
da3e5ebb
SM
1331 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1332 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1333 (tramp-gvfs-handle-insert-file-contents): Remove function.
1334
da3e5ebb
SM
1335 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1336 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1337
1338 * net/trampver.el: Update release number.
1339
7ccae3b1
SM
13402013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1341
55ca2c0d
SM
1342 * progmodes/compile.el (compilation-parse-errors):
1343 Use compilation--put-prop.
1344 (compilation--ensure-parse): Check compilation-multiline.
1345
731fc3ae
SM
1346 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1347
da3e5ebb
SM
1348 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1349 lexical-binding.
a5833280 1350
2e7ba2c2
SM
1351 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1352
7ccae3b1
SM
1353 * progmodes/ruby-mode.el: Fix recently added tests.
1354 (ruby-smie-grammar): Add - and +.
1355 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1356 (ruby-smie--backward-id): New functions.
1357 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1358 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1359 any more.
1360
85698d63
LL
13612013-10-07 Leo Liu <sdl.web@gmail.com>
1362
1363 * register.el (register-preview-delay)
1364 (register-preview-functions): New variables.
1365 (register-read-with-preview, register-preview)
1366 (register-describe-oneline): New functions.
1367 (point-to-register, window-configuration-to-register)
1368 (frame-configuration-to-register, jump-to-register)
1369 (number-to-register, view-register, insert-register)
1370 (copy-to-register, append-to-register, prepend-to-register)
1371 (copy-rectangle-to-register): Use register-read-with-preview to
1372 read register. (Bug#15525)
1373
3986af6c
DS
13742013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1375
1376 * net/network-stream.el (network-stream-open-starttls): Don't add
1377 --insecure if it's already present, because that gnutls-cli
1378 rejects getting that parameter twice.
1379
5cd9cda9
DG
13802013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1381
1382 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1383 keyword, too.
1384
da9ea6d9
DG
13852013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1386
1387 * newcomment.el (comment-use-global-state): Change default value
1388 to t, mark obsolete (Bug#15251).
1389 (comment-beginning): In addition to `comment-to-syntax', check the
1390 value of `comment-use-global-state'.
1391
34d1a133
SM
13922013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1393
1394 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1395 (ruby-comment-column): Follow the global default, by default.
1396 (ruby-smie-grammar): Add assignment syntax.
1397 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1398 open-paren, a comma, or a \.
1399 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1400 and line continuations.
1401 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1402 followed by implicit semi-colons. Add rule for string concatenation
1403 and for indentation at BOB.
1404 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1405
1406 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1407 calling next-sexp, since next-token may have skipped chars which
1408 next-sexp doesn't know should be skipped!
1409
6f6ab820
LL
14102013-10-05 Leo Liu <sdl.web@gmail.com>
1411
34d1a133
SM
1412 * progmodes/octave.el (octave-send-region):
1413 Call compilation-forget-errors.
6f6ab820 1414
34ca0f4c
XF
14152013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1416
1417 * vc/vc-svn.el (vc-svn-find-admin-dir):
1418 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1419 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1420 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1421 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1422
a27c1b72
SM
14232013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1426
258ab3bc
SM
14272013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * subr.el (read-passwd): Hide chars even when called within a context
1430 where after-change-functions is disabled (bug#15501).
1431 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1432 until we removed ourself from overriding-terminal-local-map.
1433
939fb29c
LL
14342013-10-04 Leo Liu <sdl.web@gmail.com>
1435
258ab3bc
SM
1436 * progmodes/octave.el (inferior-octave-mode):
1437 Call compilation-forget-errors.
939fb29c 1438
63bd7f35
XF
14392013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1440
1441 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1442
9e6229fa
MA
14432013-10-04 Michael Albinus <michael.albinus@gmx.de>
1444
1445 * net/secrets.el (secrets-create-collection): Add optional
1446 argument ALIAS. Use proper Label keyword. Append ALIAS as
1447 dbus-call-method argument. (Bug#15516)
1448
1dab32a3
LL
14492013-10-04 Leo Liu <sdl.web@gmail.com>
1450
1451 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1452 (inferior-octave-compilation-font-lock-keywords): New variables.
1453 (compilation-error-regexp-alist)
1454 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1455 (inferior-octave-mode): Use compilation-shell-minor-mode.
1456
6cad7ba3
JS
14572013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1458
1459 * minibuffer.el (completion--replace): Be careful that `end' might be
1460 a marker.
1461
acbadd00
DU
14622013-10-03 Daiki Ueno <ueno@gnu.org>
1463
1464 Add support for package signature checking.
1465 * emacs-lisp/package.el (url-http-file-exists-p)
1466 (epg-make-context, epg-context-set-home-directory)
1467 (epg-verify-string, epg-context-result-for)
1468 (epg-signature-status, epg-signature-to-string)
1469 (epg-check-configuration, epg-configuration)
1470 (epg-import-keys-from-file): Declare.
1471 (package-check-signature): New user option.
1472 (package-unsigned-archives): New user option.
1473 (package-desc): Add `signed' field.
1474 (package-load-descriptor): Set `signed' field if .signed file exists.
1475 (package--archive-file-exists-p): New function.
1476 (package--check-signature): New function.
1477 (package-install-from-archive): Check package signature.
1478 (package--download-one-archive): Check archive signature.
1479 (package-delete): Remove .signed file.
1480 (package-import-keyring): New command.
1481 (package-refresh-contents): Import default keyring.
1482 (package-desc-status): Add "unsigned" status.
1483 (describe-package-1, package-menu--print-info)
1484 (package-menu-mark-delete, package-menu--find-upgrades)
1485 (package-menu--status-predicate): Support "unsigned" status.
1486
adf2aa61
SM
14872013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1488
1489 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1490 the new compilation scheme using the new byte-codes.
1491
1492 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1493 (byte-pophandler): New byte codes.
1494 (byte-goto-ops): Adjust accordingly.
1495 (byte-compile--use-old-handlers): New var.
1496 (byte-compile-catch): Use new byte codes depending on
1497 byte-compile--use-old-handlers.
1498 (byte-compile-condition-case--old): Rename from
1499 byte-compile-condition-case.
1500 (byte-compile-condition-case--new): New function.
1501 (byte-compile-condition-case): New function that dispatches depending
1502 on byte-compile--use-old-handlers.
1503 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1504 when we can.
1505
1506 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1507 Optimize under `condition-case' and `catch' if
1508 byte-compile--use-old-handlers is nil.
1509 (disassemble-offset): Handle new bytecodes.
1510
328a8179
SM
15112013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1512
1513 * subr.el (error): Use `declare'.
1514 (decode-char, encode-char): Use advertised-calling-convention instead
1515 of the docstring to discourage use of the `restriction' arg.
1516
15a1e936
DU
15172013-10-03 Daiki Ueno <ueno@gnu.org>
1518
1519 * epg.el (epg-verify-file): Add a comment saying that it does not
1520 notify verification error as a return value nor a signal.
1521 (epg-verify-string): Ditto.
1522
376f862a
KR
15232013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1524
1525 * progmodes/compile.el (compilation-start): Try globbing the arg to
1526 `cd' (bug#15417).
1527
a2f93a5f
MA
15282013-10-02 Michael Albinus <michael.albinus@gmx.de>
1529
1530 Sync with Tramp 2.2.8.
1531
1532 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1533 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1534 * net/trampver.el: Update release number.
1535
0daa0804
JD
15362013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1537
1538 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1539 and default-process-coding-system for darwin only.
1540
abd1ae34
SM
15412013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1544
be4e325d
MH
15452013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1546
1547 * vc/vc-git.el (vc-git-grep): Disable pager.
1548
e9155c4a
DG
15492013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1550
494e898b
DG
1551 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1552 Use :url instead of :homepage, as per
1553 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1554
e9155c4a
DG
1555 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1556 non-nil, use `syntax-ppss' (Bug#15251).
1557
481a8e0f
RS
15582013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1559
be4e325d
MH
1560 * progmodes/octave.el (inferior-octave-startup-file):
1561 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1562
056453c6
DG
15632013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1564
be4e325d
MH
1565 * emacs-lisp/package.el (package-desc-from-define):
1566 Accept additional arguments as plist, convert them to an alist and store
1567 them in the `extras' slot.
056453c6
DG
1568 (package-generate-description-file): Convert extras alist back to
1569 plist and append to the `define-package' form arguments.
1570 (package--alist-to-plist): New function.
1571 (package--ac-desc): Add `extras' slot.
1572 (package--add-to-archive-contents): Check if the archive-contents
1573 vector is long enough, and if it is, pass its `extras' slot value
1574 to `package-desc-create'.
1575 (package-buffer-info): Call `lm-homepage', pass the returned value
1576 to `package-desc-from-define'.
1577 (describe-package-1): Render the homepage button (Bug#13291).
1578
be4e325d
MH
1579 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1580 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1581
832966e5
JD
15822013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1583
1584 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1585 and default-process-coding-system to utf-8-unix (Bug#15402).
1586
6cfe977d
XF
15872013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1588
1589 * subr.el (looking-back): Do not recommend using looking-back.
1590
38de11bd
AM
15912013-09-28 Alan Mackenzie <acm@muc.de>
1592
1593 Fix indentation/fontification of Java enum with "implements".
1594
1595 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1596 regexp which matches "implements", etc., in Java.
1597 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1598 specifier clauses coming after "enum".
1599 * progmodes/cc-fonts.el (c-font-lock-declarations)
1600 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1601 after "enum".
1602
1610938f
JD
16032013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1604
1605 * faces.el (region): Change ns_selection_color to
1606 ns_selection_fg_color, add ns_selection_bg_color.
1607
e090f499
LL
16082013-09-28 Leo Liu <sdl.web@gmail.com>
1609
4d2e94d1
LL
1610 * progmodes/octave.el (inferior-octave-completion-table)
1611 (inferior-octave-completion-at-point): Minor tweaks.
1612
e090f499
LL
1613 * textmodes/ispell.el (ispell-lookup-words): Rename from
1614 lookup-words. (Bug#15460)
1615 (lookup-words): Obsolete.
1616 (ispell-complete-word, ispell-command-loop): All uses changed.
1617
7e138a62
RS
16182013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1619
1620 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1621 (octave-mode-menu): Add octave-send-buffer.
1622 (octave-send-buffer): New function.
1623
5af5ed08
RS
16242013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1625
1626 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1627 octave-lookfor.
1628 (octave-mode-menu): Add octave-lookfor.
1629 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1630 octave-lookfor.
1631 (octave-lookfor): New function.
1632
3b7b2692
SM
16332013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1634
1635 * emacs-lisp/cl-macs.el:
1636 (cl--loop-destr-temps): Remove.
1637 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1638 its convention.
1639 (cl--loop-set-iterator-function): New function.
1640 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1641 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1642 Bind `it' with `let' instead of substituting it with `cl-subst'.
1643 (cl--unused-var-p): New function.
1644 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1645 Eliminate some unused variable warnings (bug#15326).
1646
529fb53f
TH
16472013-09-27 Tassilo Horn <tsdh@gnu.org>
1648
1649 * doc-view.el (doc-view-scale-reset): Rename from
1650 `doc-view-reset-zoom-level'.
1651 (doc-view-scale-adjust): New command.
1652 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1653 `doc-view-scale-adjust'.
1654
0550c95a
TH
16552013-09-26 Tassilo Horn <tsdh@gnu.org>
1656
1657 * doc-view.el (doc-view-reset-zoom-level): New command.
1658 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1659 zoom commands (bug#15466).
1660
6950f152
KH
16612013-09-26 Kenichi Handa <handa@gnu.org>
1662
1663 * international/quail.el (quail-help): Make it not a command.
1664
39587580
LL
16652013-09-26 Leo Liu <sdl.web@gmail.com>
1666
1667 * minibuffer.el (completion-all-sorted-completions): Make args
1668 optional as they are.
1669
00578659
DC
16702013-09-25 Daniel Colascione <dancol@dancol.org>
1671
1672 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1673 specs are and that they're not evaluated.
1674
0c173878
SS
16752013-09-24 Sam Steingold <sds@gnu.org>
1676
1677 * midnight.el (clean-buffer-list-kill-regexps)
1678 (clean-buffer-list-kill-buffer-names): Update for the new Man
1679 buffer naming which includes the object name.
1680
84998447
SM
16812013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1682
1683 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1684 (eshell-parse-command, eshell-parse-pipeline): Use it since
1685 eshell-separate-commands requires a dynamic scoped var.
1686 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1687
33215353
LL
16882013-09-23 Leo Liu <sdl.web@gmail.com>
1689
1690 * autoinsert.el (auto-insert-alist): Make the value of
1691 lexical-binding match its file setting.
1692
57b16162
JB
16932013-09-23 Juanma Barranquero <lekktu@gmail.com>
1694
c8af4e67
JB
1695 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1696
57b16162
JB
1697 * autoarg.el (autoarg-kp-digit-argument):
1698 * electric.el (Electric-command-loop):
1699 * kmacro.el (kmacro-step-edit-insert):
1700 Do not set universal-argument-num-events.
1701
7186ba60
LL
17022013-09-22 Leo Liu <sdl.web@gmail.com>
1703
1704 * files.el (interpreter-mode-alist): Add octave.
1705
ece15004
AM
17062013-09-21 Alan Mackenzie <acm@muc.de>
1707
1708 C++: fontify identifier in declaration following "public:" correctly.
1709 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1710 to match "public", etc.
1711 (c-decl-prefix-re): Add ":" into the C++ value.
1712 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1713 bit. Add a check for a ":" preceded by "public", etc.
1714
75d83e22
EZ
17152013-09-21 Eli Zaretskii <eliz@gnu.org>
1716
1717 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1718 recognized by GDB 7.5 and later.
1719
d052d3bd
XF
17202013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1721
1722 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1723
31dca772
R
17242013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * subr.el (internal--call-interactively): New const.
1727 (called-interactively-p): Use it (bug#3984).
1728
98ccf24e
XF
17292013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1730
1731 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1732 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1733 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1734
c39cc7d1
SM
17352013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1738 (eshell-ls-orig-insert-directory): Remove.
1739 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1740 (eshell-ls-use-in-dired): Use advice-add/remove.
1741 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1742 Add `orig-fun' arg for use in :around advice.
1743 Make it check (redundantly) eshell-ls-use-in-dired.
1744
9a0289a2
GM
17452013-09-19 Glenn Morris <rgm@gnu.org>
1746
a2c501b8
GM
1747 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1748
c440407a
GM
1749 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1750
9a0289a2
GM
1751 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1752
85e05915
MA
17532013-09-19 Michael Albinus <michael.albinus@gmx.de>
1754
1755 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1756 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1757 (tramp-get-remote-python): New defuns.
1758 (tramp-get-remote-uid-with-perl)
1759 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1760 contributed by yary <not.com@gmail.com> (tiny change).
1761 (tramp-get-remote-uid-with-python)
1762 (tramp-get-remote-gid-with-python): New defuns. Python code
1763 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1764 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1765
ce503312
GM
17662013-09-19 Glenn Morris <rgm@gnu.org>
1767
f7544773
GM
1768 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1769
72fd2877
GM
1770 * eshell/em-unix.el (eshell-remove-entries):
1771 Rename argument to avoid name-clash with global `top-level'.
1772
336b5a56
GM
1773 * eshell/esh-proc.el (eshell-kill-process-function):
1774 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1775 (eshell-reset-after-proc): Remove unused arg `proc'.
1776
57a3a53d
GM
1777 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1778 (directory-files-and-attributes): Mark unused arg.
1779
3261d4af
GM
1780 * eshell/em-unix.el (eshell-remove-entries):
1781 Remove unused arg `path'. Update callers.
1782
8e51b5d0
GM
1783 * eshell/em-hist.el (eshell-hist-parse-arguments):
1784 Remove unused arg `silent'. Update callers.
1785
ce503312
GM
1786 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1787 Fix (f)boundp mix-up.
1788
1789 * eshell/em-smart.el (eshell-smart-scroll-window)
1790 (eshell-disable-after-change):
336b5a56 1791 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1792
ee3ce8a7
AM
17932013-09-18 Alan Mackenzie <acm@muc.de>
1794
1795 Fix fontification of type when followed by "const".
1796 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1797 "known" types from fontification.
1798
ec9177ba
GM
17992013-09-18 Glenn Morris <rgm@gnu.org>
1800
7bb3e768
GM
1801 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1802 (chart-face-list): Drop Emacsen without display-color-p.
1803
5148da15
GM
1804 * net/eww.el (libxml-parse-html-region): Declare.
1805 (eww-display-html): Explicit error if no libxml2 support.
1806
2f68e157
GM
1807 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1808
9019d095
GM
1809 * image.el (image-type-from-buffer, image-multi-frame-p):
1810 Remove --without-x warning/error.
67645389 1811
5f30349b 1812 * mouse.el (mouse-yank-primary):
45069b2e 1813 * term.el (term-mouse-paste):
5f30349b
GM
1814 Reorder to silence --without-x compilation.
1815
cd8edbbe
GM
1816 * mpc.el (doc-view-mode): Silence --without-x compilation.
1817
8a78544e
GM
1818 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1819 Silence --without-x compilation.
1820
12679bfd
GM
1821 * progmodes/gud.el (gud-find-file, gud-mode):
1822 Silence --without-x compilation.
1823 (tooltip-mode): Declare.
30810a05 1824
f0047cb9
GM
1825 * wdired.el (dired-backup-overwrite): Remove declaration.
1826 (wdired-mode-map): Add doc string.
1827
e740f9d2
GM
1828 * custom.el (x-get-resource): Declare.
1829
92d77c89
GM
1830 * eshell/em-glob.el (ange-cache):
1831 * eshell/em-unix.el (ange-cache): Declare.
1832
76e69577
GM
1833 * faces.el (x-display-list, x-open-connection, x-get-resource):
1834 Declare.
7e58af4b
GM
1835
1836 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1837 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1838 Declare.
76e69577 1839
4bd4c0af 1840 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1841
ffb82dbd
GM
1842 * net/gnutls.el (gnutls-log-level): Declare.
1843
986ed135
GM
1844 * net/shr.el (image-size, image-animate): Declare.
1845
e740f9d2
GM
1846 * simple.el (font-info): Declare.
1847
d2f3e9f8
GM
1848 * subr.el (x-popup-dialog): Declare.
1849
047a1a4c
GM
1850 * term/common-win.el (x-select-enable-primary)
1851 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1852 Declare.
1853
f4a1d572
GM
1854 * term/ns-win.el (x-handle-args): Declare.
1855
e843de77
GM
1856 * term/x-win.el (x-select-enable-clipboard): Declare.
1857
5fa89513
GM
1858 * term/w32-win.el (create-default-fontset): Declare.
1859
38702b5b
GM
1860 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1861 Declare.
1862
e740f9d2
GM
1863 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1864 (fit-frame-to-buffer): Explicit error if --without-x.
1865 (mouse-autoselect-window-select): Silence compiler.
1866
49a053fc
GM
1867 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1868
1869 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1870 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1871 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1872 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1873 Remove unused local variables.
1874
1875 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1876
ec9177ba
GM
1877 * textmodes/two-column.el: Make 2C-split work for --without-x.
1878 (scroll-bar-columns): Autoload.
1879 (top-level): Require fringe when compiling.
1880
9f25cb77
LL
18812013-09-18 Leo Liu <sdl.web@gmail.com>
1882
1883 * subr.el (add-hook): Robustify to handle closure as well.
1884
2b42da98
GM
18852013-09-17 Glenn Morris <rgm@gnu.org>
1886
1887 * simple.el (messages-buffer-mode-map): Unbind "g".
1888
e8b66a6a
SM
18892013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1890
9c0ad4f7
SM
1891 * help-mode.el (help-mode-finish): Use derived-mode-p.
1892 Remove obsolete highlighting.
1893
7a806dfb
SM
1894 * play/life.el (life-mode): Use define-derived-mode. Derive from
1895 special-mode.
1896 (life): Let-bind inhibit-read-only.
1897 (life-setup): Avoid `setq'. Use `life-mode'.
1898
96dbf5a8
SM
1899 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1900 which should not be needed any more.
1901 (package-menu-refresh, package-menu-describe-package): Use user-error.
1902
e8b66a6a
SM
1903 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1904 (eshell-post-rewrite-command-hook): Make obsolete.
1905 (eshell-parse-command): Simplify.
1906 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1907 (eshell--cmd): Declare.
1908 (eshell-parse-pipeline): Remove unused var `final-p'.
1909 Pass a dynvar to eshell-post-rewrite-command-hook.
1910 Implement the new eshell-post-rewrite-command-function.
1911 (eshell-invoke-directly): Remove unused arg `input'.
1912 * eshell/esh-io.el (eshell-io-initialize):
1913 Use eshell-post-rewrite-command-function (bug#15399).
1914 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1915 adjust to new calling convention.
1916 (eshell-create-handles): Rename args to avoid clashing with dynvar
1917 `standard-output'.
1918
90582f05
GM
19192013-09-17 Glenn Morris <rgm@gnu.org>
1920
1921 * simple.el (messages-buffer-mode): New major mode.
1922 (messages-buffer): New function.
1923 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1924 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1925 (ert-run-test): Use `messages-buffer' function.
90582f05 1926 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1927 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1928 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1929
39eb0cb5 19302013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1931
1932 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1933
1f1e06e2
SM
1934 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1935
70568a90
SM
19362013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1937
504a0381
SM
1938 * icomplete.el (icomplete-in-buffer): New var.
1939 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1940 vars and replace them with functions.
1941 (icomplete-minibuffer-setup): Adjust accordingly.
1942 (icomplete--completion-table, icomplete--completion-predicate)
1943 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1944 New functions.
1945 (icomplete-forward-completions, icomplete-backward-completions)
1946 (icomplete-simple-completing-p, icomplete-exhibit)
1947 (icomplete-completions): Use them.
1948 (icomplete--in-region-buffer): New var.
1949 (icomplete--in-region-setup): New function.
1950 (icomplete-mode): Use it.
1951
70568a90
SM
1952 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1953 (bug#15379).
1954 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1955 return args and options.
1956 (eshell-eval-using-options): Use the new return value of
1957 eshell--do-opts to set the options's vars in their scope.
1958 (eshell--set-option): Rename from eshell-set-option.
1959 Add arg `opt-vals'.
1960 (eshell--process-option): Rename from eshell-process-option.
1961 Add arg `opt-vals'.
1962 (eshell--process-args): Use an `opt-vals' alist to store the options's
1963 values during their processing and return them additionally to the
1964 remaining args.
1965
578c21bc
DG
19662013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1967
1968 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1969 continuation character an operator, as far as indentation is
1970 concerned (Bug#15369).
1971
c089653d
MR
19722013-09-15 Martin Rudalics <rudalics@gmx.at>
1973
1974 * window.el (window--state-put-2): Don't process buffer state
1975 when buffer doesn't exist any more (Bug#15382).
1976
1e53bb4b
GM
19772013-09-15 Glenn Morris <rgm@gnu.org>
1978
30753242
GM
1979 * eshell/em-unix.el (eshell/rm):
1980 Make -f ignore missing files. (Bug#15373)
1981
1e53bb4b
GM
1982 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1983 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1984 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1985
0d8863b3
GM
19862013-09-14 Glenn Morris <rgm@gnu.org>
1987
1988 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1989
d3fc6549
GM
19902013-09-13 Glenn Morris <rgm@gnu.org>
1991
1992 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1993 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1994
fcd42c11
DA
19952013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1996
1997 * frame.el (x-focus-frame): Mark as declared in frame.c.
1998
7830899f
SM
19992013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2000
2001 * ls-lisp.el: Use advice-add.
2002 (original-insert-directory): Remove.
2003 (ls-lisp--insert-directory): Rename from insert-directory; add
2004 `orig-fun' argument.
2005 (insert-directory): Advise.
2006
84387cd2
EZ
20072013-09-13 Eli Zaretskii <eliz@gnu.org>
2008
2009 * term.el (term-emulate-terminal): Decode the command string
2010 before passing it to term-command-hook. (Bug#15337)
2011
35ffc6ba
GM
20122013-09-13 Glenn Morris <rgm@gnu.org>
2013
5c3f9bcc
GM
2014 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2015
2ada368a
GM
2016 * eshell/esh-ext.el (eshell-search-path): Declare.
2017
fcef2e13
GM
2018 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2019 Otherwise an error occurs if eshell-dirs module not loaded.
2020
35ffc6ba
GM
2021 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2022
35c3d36e
MA
20232013-09-13 Michael Albinus <michael.albinus@gmx.de>
2024
2025 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2026 `tramp-check-proper-host'. Check for a valid method name.
2027
2028 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2029 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2030 * net/tramp-sh.el (tramp-maybe-open-connection):
2031 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2032
2033 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2034 also for hash values.
2035
ae5e4c48
SM
20362013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2037
379add74
SM
2038 * term/ns-win.el (parameters): Don't declare as dynamic.
2039 (before-make-frame-hook): Don't add ineffective function.
2040
ae5e4c48
SM
2041 * eshell/*.el: Use lexical-binding (bug#15231).
2042
b5623270
KH
20432013-09-12 Kenichi Handa <handa@gnu.org>
2044
ae5e4c48 2045 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 2046
30213927
GM
20472013-09-12 Glenn Morris <rgm@gnu.org>
2048
be94d713 2049 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 2050 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 2051
44915370
GM
2052 * subr.el (do-after-load-evaluation): Also give compiler warnings
2053 when obsolete files are used (except by obsolete files).
2054
a6ae021f
GM
2055 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2056 in the status output, assume `filename' is the first. (Bug#15322)
2057
40e64f0c
GM
2058 * vc/vc.el (vc-deduce-fileset): Doc fix.
2059
16d9f896
GM
2060 * calc/calc-help.el (Info-goto-node):
2061 * progmodes/cperl-mode.el (Info-find-node):
2062 * vc/ediff.el (Info-goto-node): Update declarations.
2063
dea01c6e
GM
2064 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2065
759880bf 2066 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
2067 (vc-bzr-pull): Require vc-dispatcher.
2068 * vc/vc-git.el (vc-compilation-mode): Declare.
2069 (vc-git-pull): Require vc-dispatcher.
2070
08d66420
GM
2071 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2072
30b626e9
GM
2073 * progmodes/octave.el (help-button-action): Declare.
2074
8c05cb10
GM
2075 * shell.el (shell-directory-tracker): Output error as a message
2076 rather than just returning it as a string.
2077 (shell-process-pushd): Remove useless use of message.
2078
30213927
GM
2079 * dframe.el (dframe-timer-fn):
2080 * files.el (dir-locals-read-from-file):
2081 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2082 (mpc-format):
2083 * reveal.el (reveal-post-command):
2084 * saveplace.el (load-save-place-alist-from-file):
2085 * shell.el (shell-resync-dirs):
2086 * w32-common-fns.el (x-get-selection-value):
2087 * emacs-lisp/copyright.el (copyright-find-copyright):
2088 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2089 * emulation/tpu-edt.el (tpu-copy-keyfile):
2090 * play/bubbles.el (bubbles--mark-neighbourhood):
2091 * progmodes/executable.el
2092 (executable-make-buffer-file-executable-if-script-p):
2093 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2094
d3b049e6
SM
20952013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2096
170266d0
SM
2097 Cleanup Eshell to rely less on dynamic scoping.
2098 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2099 last-value, and ext-command here. Bind `args' closer to `body'.
2100 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2101 (eshell--args): Declare new dynamic var.
2102 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2103 last-value, and ext-command. Pass `args' to `body'.
2104 (eshell-process-args): Bind eshell--args.
2105 (eshell-set-option): Use eshell--args.
2106 * eshell/eshell.el (eshell): Use derived-mode-p.
2107 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2108 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2109 (eshell-glob-function): Declare.
2110 * eshell/esh-util.el: Require cl-lib.
2111 (eshell-read-hosts-file): Avoid add-to-list.
2112 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2113 `err'.
2114 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2115 Declare.
2116 (eshell/diff): Remove unused var `err'.
2117 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2118 `killflag'.
2119 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2120 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2121 first use.
2122 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2123 Move declaration before first use.
2124 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
2125 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2126 rely on cl-return.
2127
56834f3b
GM
21282013-09-12 Glenn Morris <rgm@gnu.org>
2129
2130 * term/ns-win.el (global-map): Remove binding for ispell-next,
2131 deleted 1999-05-29. (Bug#15357)
2132
5c91a2b8
GM
21332013-09-11 Glenn Morris <rgm@gnu.org>
2134
da712f22
GM
2135 * echistory.el (electric-command-history): Remove call to deleted func.
2136
512e4cdc
GM
2137 * play/landmark.el (landmark-mode): Fix typos.
2138
d3506ca5
GM
2139 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2140 Check cvs-sort-ignore-file is bound.
2141
5c91a2b8
GM
2142 * savehist.el: No need for cl when compiling on Emacs.
2143
feeff482
SM
21442013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2145
656bd483
SM
2146 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2147 (bug#15338).
d3b049e6
SM
2148 (eshell-self-insert-command, eshell-send-invisible):
2149 Remove unused argument.
656bd483
SM
2150 (eshell-handle-control-codes): Remove unused var `orig'.
2151 Avoid delete-backward-char.
2152
feeff482
SM
2153 * files.el (set-auto-mode): Simplify a bit further.
2154
2a08047a
GM
21552013-09-11 Glenn Morris <rgm@gnu.org>
2156
2157 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2158 (set-auto-mode): Don't regexp-quote elements.
2159 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2160 * progmodes/cc-mode.el (interpreter-mode-alist):
2161 * progmodes/ruby-mode.el (interpreter-mode-alist):
2162 Revert previous change.
2163
34675540
SM
21642013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2165
1b3b87df
SM
2166 * play/snake.el (snake-mode):
2167 * play/mpuz.el (mpuz-mode):
2168 * play/landmark.el (lm-mode):
2169 * play/blackbox.el (blackbox-mode):
2170 * play/5x5.el (5x5-mode):
2171 * obsolete/options.el (Edit-options-mode):
2172 * net/quickurl.el (quickurl-list-mode):
2173 * net/newst-treeview.el (newsticker-treeview-mode):
2174 * mail/rmailsum.el (rmail-summary-mode):
2175 * mail/mspools.el (mspools-mode):
2176 * locate.el (locate-mode):
2177 * ibuffer.el (ibuffer-mode):
2178 * emulation/ws-mode.el (wordstar-mode):
2179 * emacs-lisp/debug.el (debugger-mode):
2180 * array.el (array-mode):
2181 * net/eudc.el (eudc-mode): Use define-derived-mode.
2182 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2183 Move initialization into declaration.
2184 (mairix-searches-mode): Use define-derived-mode.
2185 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2186 (eudc-edit-hotlist): Use dolist.
2187 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2188 (Man-mode): Use define-derived-mode.
2189 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2190 (Info-edit-mode): Use define-derived-mode.
2191 (Info-cease-edit): Use Info-mode.
2192 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2193 into declaration.
2194 (eshell-mode): Use define-derived-mode.
2195 * chistory.el (command-history-mode-map): Rename from
2196 command-history-map.
2197 (command-history-mode): Use define-derived-mode.
da712f22 2198 (Command-history-setup): Remove function.
1b3b87df
SM
2199 * calc/calc.el (calc-trail-mode-map): New var.
2200 (calc-trail-mode): Use define-derived-mode.
2201 (calc-trail-buffer): Set calc-main-buffer manually.
2202 * bookmark.el (bookmark-insert-annotation): New function.
2203 (bookmark-edit-annotation): Use it.
2204 (bookmark-edit-annotation-mode): Make it a proper major mode.
2205 (bookmark-send-edited-annotation): Use derived-mode-p.
2206 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2207 closer to its ideal place. Use \' to match EOS.
2208
34675540
SM
2209 * profiler.el (profiler-calltree-find): Use function-equal.
2210
6a5c15d9
GM
22112013-09-10 Glenn Morris <rgm@gnu.org>
2212
1af4c220
GM
2213 * files.el (interpreter-mode-alist): Convert to regexps.
2214 (set-auto-mode): Adapt for this. (Bug#15306)
2215 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2216 Comment out unused variable.
2217 * progmodes/cc-mode.el (interpreter-mode-alist):
2218 * progmodes/python.el (interpreter-mode-alist):
2219 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2220 * progmodes/sh-script.el (sh-set-shell):
2221 No longer use interpreter-mode-alist to get list of shells.
2222
6a5c15d9
GM
2223 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2224
8c27f5ff
SM
22252013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2226
02ef6c1a 2227 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2228 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2229 Bind switch-frame explicitly. Replace universal-argument-minus with
2230 a conditional binding.
2231 (universal-argument-num-events, saved-overriding-map): Remove.
2232 (restore-overriding-map): Remove.
2233 (universal-argument--mode): Rename from save&set-overriding-map,
2234 and rewrite.
2235 (universal-argument, universal-argument-more, negative-argument)
2236 (digit-argument): Adjust accordingly.
2237 (universal-argument-minus): Remove.
2238 (universal-argument-other-key): Remove.
2239
8c27f5ff
SM
2240 * subr.el (with-demoted-errors): Add `format' argument.
2241
6480194c
MA
22422013-09-10 Michael Albinus <michael.albinus@gmx.de>
2243
2244 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2245 `tramp-cleanup-connection'.
2246
2247 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2248 parameters KEEP-DEBUG and KEEP-PASSWORD.
2249
2250 * net/tramp.el (tramp-file-name-handler):
2251 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2252 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2253 (tramp-maybe-open-connection):
8c27f5ff
SM
2254 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2255 Use `tramp-cleanup-connection'.
6480194c 2256
8c27f5ff
SM
2257 * net/tramp-sh.el (tramp-maybe-open-connection):
2258 Catch 'uname-changed inside the progress reporter.
6480194c 2259
e5e916d8
GM
22602013-09-10 Glenn Morris <rgm@gnu.org>
2261
9a2c9b47
GM
2262 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2263
e5e916d8
GM
2264 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2265 returns "alternate access method" in mode (eg "-rw-r--r--.").
2266
144e38fe
GM
22672013-09-08 Glenn Morris <rgm@gnu.org>
2268
2269 * saveplace.el (load-save-place-alist-from-file):
2270 Demote errors. (Bug#15305)
2271
af9ff9e8
MA
22722013-09-08 Michael Albinus <michael.albinus@gmx.de>
2273
2274 Improve compatibility with older Emacsen, and XEmacs.
2275
2276 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2277 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2278 (with-tramp-progress-reporter): Do not let-bind `result'.
2279 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2280 (tramp-handle-make-auto-save-file-name): New function, moved from
2281 tramp-sh.el.
2282
2283 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2284 for `make-auto-save-file-name'.
8c27f5ff
SM
2285 (tramp-adb--gnu-switches-to-ash):
2286 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2287
2288 * net/tramp-cache.el (tramp-cache-print): Call
2289 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2290
2291 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2292 bound. It isn't for XEmacs.
2293
8c27f5ff
SM
2294 * net/tramp-compat.el (tramp-compat-copy-file):
2295 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2296 (tramp-compat-replace-regexp-in-string): New defun.
2297
2298 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2299 for `make-auto-save-file-name'.
2300 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2301 `copy-file'.
2302 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2303 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2304 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2305
8c27f5ff
SM
2306 * net/tramp-gw.el (tramp-gw-open-network-stream):
2307 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2308
8c27f5ff
SM
2309 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2310 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2311 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2312 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2313 (tramp-sh-file-inotifywait-process-filter):
2314 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2315 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2316
2317 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2318 for `make-auto-save-file-name'.
8c27f5ff
SM
2319 (tramp-smb-handle-copy-directory):
2320 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2321 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2322 (tramp-smb-handle-copy-file): Improve error message.
2323 (tramp-smb-handle-rename-file): Rename directly only in case
2324 `newname' does not exist yet. This is a restriction of smbclient.
2325 (tramp-smb-maybe-open-connection): Rerun the function only when
2326 `auth-sources' is non-nil.
2327
0ca754d0
KH
23282013-09-08 Kenichi Handa <handa@gnu.org>
2329
2330 * international/characters.el: Set category "^" (Combining) for
2331 more characters.
2332
e8dd0787
AM
23332013-09-07 Alan Mackenzie <acm@muc.de>
2334
2335 Correctly fontify Java class constructors.
2336 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2337 in Java Mode.
2338 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2339 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2340 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2341 "typeless" declaration there.
2342
f2f248e7
RW
23432013-09-07 Roland Winkler <winkler@gnu.org>
2344
2345 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2346 field subtitle for entry type book.
2347
67982e2b
SM
23482013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * minibuffer.el: Make minibuffer-complete call completion-in-region
2351 rather than other way around.
2352 (completion--some, completion-pcm--find-all-completions):
2353 Don't delay signals when debugging.
2354 (minibuffer-completion-contents): Beware fields within the
2355 minibuffer contents.
2356 (completion-all-sorted-completions): Use defvar-local.
2357 (completion--do-completion, completion--cache-all-sorted-completions)
2358 (completion-all-sorted-completions, minibuffer-force-complete):
2359 Add args `beg' and `end'.
2360 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2361 (minibuffer-complete): Use completion-in-region.
2362 (completion-complete-and-exit): New fun, extracted from
2363 minibuffer-complete-and-exit.
2364 (minibuffer-complete-and-exit): Use it.
2365 (completion--complete-and-exit): Rename from
2366 minibuffer--complete-and-exit.
2367 (completion-in-region--single-word): New function, extracted from
2368 minibuffer-complete-word.
2369 (minibuffer-complete-word): Use it.
2370 (display-completion-list): Make `common-substring' argument obsolete.
2371 (completion--in-region): Call completion--in-region-1 instead of
2372 minibuffer-complete.
2373 (completion-help-at-point): Pass boundaries to
2374 minibuffer-completion-help as args rather than via an overlay.
2375 (completion-pcm--string->pattern): Use `any-delim'.
2376 (completion-pcm--optimize-pattern): New function.
2377 (completion-pcm--pattern->regex): Handle `any-delim'.
2378 * icomplete.el (icomplete-forward-completions)
2379 (icomplete-backward-completions, icomplete-completions):
2380 Adjust calls to completion-all-sorted-completions and
2381 completion--cache-all-sorted-completions.
2382 (icomplete-with-completion-tables): Default to t.
2383 * emacs-lisp/crm.el (crm--current-element): Rename from
2384 crm--select-current-element. Don't put an overlay but return the
2385 boundaries instead.
2386 (crm--completion-command): Take two new args to bind to the boundaries.
2387 (crm-completion-help): Adjust accordingly.
2388 (crm-complete): Use completion-in-region.
2389 (crm-complete-word): Use completion-in-region--single-word.
2390 (crm-complete-and-exit): Use completion-complete-and-exit.
2391
e17d94a5
SM
23922013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2395 than dynamically.
2396
96727100
JL
23972013-09-06 Juri Linkov <juri@jurta.org>
2398
2399 * info.el (Info-display-images-node): When image file doesn't exist
2400 display text version of the image if it's provided in the Info file.
2401 Otherwise, display the location of missing image from SRC attribute.
2402 Add help-echo text property from ALT attribute. (Bug#15279)
2403
86cf7329
SM
24042013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2407 (edit-abbrevs-mode): Use define-derived-mode.
2408
2409 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2410 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2411 that it's defined.
2412 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2413 Use define-derived-mode.
2414
2415 * epg.el (epg-start-encrypt): Minor CSE simplification.
2416
816244a2
WX
24172013-09-06 William Xu <william.xwl@gmail.com>
2418
2419 * arc-mode.el: Add support for 7za (bug#15264).
2420 (archive-7z-program): New var.
2421 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2422 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2423 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2424
1486fa31
MA
24252013-09-06 Michael Albinus <michael.albinus@gmx.de>
2426
2427 Remove URL syntax.
2428
2429 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2430 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2431 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2432 (tramp-postfix-host-format, tramp-file-name-regexp)
2433 (tramp-completion-file-name-regexp)
2434 (tramp-completion-dissect-file-name)
2435 (tramp-handle-substitute-in-file-name): Remove 'url case.
2436 (tramp-file-name-regexp-url)
2437 (tramp-completion-file-name-regexp-url): Remove constants.
2438
39785324
GM
24392013-09-06 Glenn Morris <rgm@gnu.org>
2440
2441 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2442
1f896cb7
DG
24432013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2444
2445 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2446 keywords" below "here-doc beginnings" (Bug#15270).
2447
c0458e0b
SM
24482013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2449
2450 * subr.el (pop): Use `car-safe'.
2451 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2452 to detect unused `pop' return value.
2453
2454 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2455 var `block-regexp'.
2456 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2457 (python-fill-string): Remove unused var `marker'.
2458 (python-skeleton-add-menu-items): Remove unused var `items'.
2459
2460 * international/mule-cmds.el: Require CL.
2461 (find-coding-systems-for-charsets): Avoid add-to-list.
2462 (sanitize-coding-system-list): New function, extracted from
2463 select-safe-coding-system-interactively.
2464 (select-safe-coding-system-interactively): Use it.
2465 (read-input-method-name): Accept symbols for `default'.
2466
2467 * emacs-lisp/advice.el (defadvice): Add indent rule.
2468
6c42fc3e
DH
24692013-09-05 Daniel Hackney <dan@haxney.org>
2470
2471 * dired-x.el:
2472 * net/ange-ftp.el:
2473 * net/browse-url.el:
2474 * net/dbus.el:
2475 * net/eudc.el:
2476 * net/eudcb-ldap.el:
2477 * net/eww.el:
2478 * net/imap.el:
2479 * printing.el:
2480 * vc/ediff-diff.el:
2481 * vc/ediff-init.el:
2482 * vc/ediff-merg.el:
2483 * vc/ediff-mult.el:
2484 * vc/ediff-util.el:
2485 * vc/ediff-wind.el:
2486 * vc/ediff.el:
2487 * vc/emerge.el:
2488 * vc/pcvs.el:
2489 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2490 byte compiler. Remove some unused let-bound variables.
2491
4c528aab
SM
24922013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2495 a "ref-cell", since it gets better optimized (bug#14883).
2496
bd15c390
GM
24972013-09-05 Glenn Morris <rgm@gnu.org>
2498
2499 * progmodes/cc-awk.el (c-forward-sws): Declare.
2500
1c3ac2e5
GM
25012013-09-04 Glenn Morris <rgm@gnu.org>
2502
2503 * generic-x.el [rul-generic-mode]: Require cc-mode.
2504 (c++-mode-syntax-table): Declare.
2505 (rul-generic-mode-syntax-table): Init in the defvar.
2506
52b1cc79
SM
25072013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2508
c828af56
SM
2509 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2510 (vc-do-command, vc-set-async-update):
2511 * vc/vc-mtn.el (vc-mtn-dir-status):
2512 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2513 (vc-hg-pull, vc-hg-merge-branch):
2514 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2515 (vc-git-merge-branch):
2516 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2517 (vc-cvs-dir-status-files):
2518 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2519 (vc-bzr-dir-status-files):
2520 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2521 * vc/vc-annotate.el: Use lexical-binding.
2522 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2523 (vc-sentinel-movepoint): Declare.
2524 (vc-annotate): Don't use `goto-line'.
2525 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2526 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2527 (vc-sentinel-movepoint): Declare.
2528 * vc/vc-svn.el: Use lexical-binding.
2529 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2530 * vc/vc-sccs.el:
2531 * vc/vc-rcs.el: Use lexical-binding.
2532
abae272c
SM
2533 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2534 `deleted'. Don't drop errors silently.
2535
52b1cc79
SM
2536 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2537
63191d9f
XF
25382013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2539
2540 * vc/vc.el (vc-ignore): Rewrite.
2541 (vc-default-ignore): New function.
2542 (vc-default-ignore-completion-table): Use find-ignore-file.
2543
2544 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2545 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2546 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2547 Remove. Most code moved to vc.el.
2548
9d3f707c
SM
25492013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2550
abae272c 2551 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2552 * net/tramp-smb.el (tramp-smb-get-file-entries):
2553 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2554 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2555
fde38d49
SM
2556 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2557 Update call to it.
2558 (eww-change-select): Remove unused var `properties'.
2559 (eww-make-unique-file-name): Remove unused var `base'.
2560
2561 * finder.el (finder-compile-keywords): Don't mess with windows.
2562
84032db7
SM
2563 * calculator.el (calculator-funcall): Fix typo in last change.
2564
724f5e41
SM
2565 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2566
14b511d4
SM
2567 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2568 <pkg>-autoloads.el file stop us.
2569
9d3f707c 2570 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2571 warnings, and factor out common code.
9d3f707c 2572
88527bc0
DG
25732013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2574
2575 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2576 two-character operators and whether the character preceding them
2577 changes their meaning (Bug#15208).
2578
96edb677
FEG
25792013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2580
2581 Format code sent to Python shell for robustness.
9d3f707c
SM
2582 * progmodes/python.el (python-shell-buffer-substring):
2583 New function.
96edb677
FEG
2584 (python-shell-send-region, python-shell-send-buffer): Use it.
2585
95beaef3
MA
25862013-09-02 Michael Albinus <michael.albinus@gmx.de>
2587
2588 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2589 * net/tramp.el (tramp-user-error): ... here.
2590 (tramp-find-method, tramp-check-proper-host)
2591 (tramp-dissect-file-name, tramp-debug-message)
2592 (tramp-handle-shell-command):
2593 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2594 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2595
2596 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2597
f167c27b
MR
25982013-09-02 Martin Rudalics <rudalics@gmx.at>
2599
2600 * avoid.el (mouse-avoidance-point-position)
2601 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2602 returns nil.
2603
cd16c5f1
FEG
26042013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2605
2606 * progmodes/python.el (python-shell-completion-get-completions):
2607 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2608 (python-nav-if-name-main): New command.
cd16c5f1 2609
e73c3a0d
GM
26102013-09-01 Glenn Morris <rgm@gnu.org>
2611
f8ccce03
GM
2612 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2613 Avoid leading space in $wins. Otherwise the sed command used by
2614 eg compile-main ends up containing "/*.el". (Bug#15170)
2615
e73c3a0d
GM
2616 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2617
415f808e
GM
26182013-08-30 Glenn Morris <rgm@gnu.org>
2619
2620 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2621 Fix is-this-a-directory logic. (Bug#15220)
2622
f069bba8
SM
26232013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2624
112798c1
SM
2625 * textmodes/css-mode.el: Use SMIE.
2626 (css-smie-grammar): New var.
2627 (css-smie--forward-token, css-smie--backward-token)
2628 (css-smie-rules): New functions.
2629 (css-mode): Use them.
2630 (css-navigation-syntax-table): Remove var.
2631 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2632 (css-indent-calculate, css-indent-line): Remove functions.
2633
2634 Misc changes to reduce use of `(lambda...); and other cleanups.
2635 * cus-edit.el: Use lexical-binding.
2636 (customize-push-and-save, customize-apropos)
2637 (custom-buffer-create-internal): Use closures.
2638 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2639 * progmodes/ada-xref.el: Use setq.
2640 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2641 * dframe.el: Use lexical-binding.
2642 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2643 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2644 * descr-text.el: Use lexical-binding.
2645 (describe-text-widget, describe-text-sexp, describe-property-list):
2646 Use closures.
2647 * comint.el (comint-history-isearch-push-state): Use a closure.
2648 * calculator.el: Use lexical-binding.
2649 (calculator-number-to-string): Make it work with lexical-binding.
2650 (calculator-funcall): Same and use cl-letf.
2651
2da4c3ab
SM
2652 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2653 (lisp--company-doc-string, lisp--company-location): New functions.
2654 (lisp-completion-at-point): Use them to improve Company support.
2655
f069bba8
SM
2656 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2657 params of lambda expressions.
2658 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2659 (ruby-smie--opening-pipe-p): New function.
2660 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2661 symbols and matched |...| for formal params.
2662 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2663 from being treated as hanging. Handle "rescue".
2664
6758b6a8
GM
26652013-08-29 Glenn Morris <rgm@gnu.org>
2666
2667 * progmodes/cc-engine.el (c-pull-open-brace):
2668 Move definition before use.
2669
e8dfd197
SM
26702013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2673 are immutable. Don't use `unsafe' any more.
2674 (cl--defsubst-expand): Don't substitute at the same time as keeping
2675 a residual unused let-binding. Don't use `unsafe' any more.
2676
cc585c96
GM
26772013-08-29 Glenn Morris <rgm@gnu.org>
2678
ba579ea6
GM
2679 * calendar/cal-china.el (calendar-chinese-year-cache):
2680 Recenter on 2015.
2681
8201a87e
GM
2682 * nxml/nxml-util.el (nxml-debug-clear-inside):
2683 Use cl-loop rather than loop.
2684
6ee877c7
GM
2685 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2686
cc585c96
GM
2687 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2688
27be8d39
GM
26892013-08-28 Glenn Morris <rgm@gnu.org>
2690
397440a1
GM
2691 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2692
2bb762d4
GM
2693 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2694
27be8d39
GM
2695 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2696
2d69b99e
SM
26972013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2698
f663baa7
SM
2699 * simple.el (repeat-complex-command--called-interactively-skip):
2700 New function.
2701 (repeat-complex-command): Use it (bug#14136).
2702
dd4f8b74
SM
2703 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2704 (c-define-abbrev-table): Add `doc' argument.
2705 (c-mode-abbrev-table, c++-mode-abbrev-table)
2706 (objc-mode-abbrev-table, java-mode-abbrev-table)
2707 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2708 (awk-mode-abbrev-table): Use it.
2709 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2710 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2711 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2712 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2713 Move initialization into the declaration; and remove any
2714 autoload cookie.
2715
b58969f7
SM
2716 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2717 and dynamic let binding.
2718
4021d6a6
SM
2719 * vc/smerge-mode.el: Remove redundant :group args.
2720
2d69b99e
SM
2721 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2722 to load-path.
2723
274919fd
JL
27242013-08-28 Juri Linkov <juri@jurta.org>
2725
2726 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2727 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2728 (isearch-other-meta-char): Handle an undefined shifted printing
2729 character by downshifting it. (Bug#15200)
2730
121f8c95
JL
27312013-08-28 Juri Linkov <juri@jurta.org>
2732
2733 * isearch.el (isearch-search): Change regexp error message for
2734 non-regexp searches. (Bug#15166)
2735
50b13cde
PE
27362013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2737
2738 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2739 for portability to hosts where /bin/sh has problems.
2740
95888bca
SM
27412013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2744
bbe558f1
JL
27452013-08-27 Juri Linkov <juri@jurta.org>
2746
2747 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2748 in the keyboard macro. (Bug#15126)
2749
26f98a7d
JL
27502013-08-27 Juri Linkov <juri@jurta.org>
2751
2752 * isearch.el (isearch-quote-char): Comment out converting unibyte
2753 to multibyte, thus syncing with its `quoted-insert' counterpart.
2754 (Bug#15166)
2755
7c97d35e
MR
27562013-08-27 Martin Rudalics <rudalics@gmx.at>
2757
2758 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2759 argument in call of get-largest-window (Bug#15185).
2760 Reported by Stephen Leake.
7c97d35e 2761
a0b5606e 27622013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2763
2764 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2765
9e89d835
SM
27662013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2769 from a matcher-function unless there's no more matches (bug#15161).
2770
78fc2530
MA
27712013-08-26 Michael Albinus <michael.albinus@gmx.de>
2772
2773 * minibuffer.el: Revert change from 2013-08-20.
2774
2775 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2776 with text property `tramp-default', if appropriate.
2777 (tramp-check-proper-host): New defun.
2778 (tramp-dissect-file-name): Do not check hostname. Revert change
2779 of 2013-03-18.
2780 (tramp-backtrace): Make VEC-OR-PROC optional.
2781
2782 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2783 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2784 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2785 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2786 Apply `tramp-check-proper-host'.
78fc2530 2787
edca97cd
TH
27882013-08-26 Tassilo Horn <tsdh@gnu.org>
2789
2790 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2791 lambda expression in order to have `describe-variable' display it.
2792
df54bcbd
MA
27932013-08-26 Michael Albinus <michael.albinus@gmx.de>
2794
2795 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2796 BUF can be optional. (Bug#15186)
2797
eed99101
XF
27982013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2799
2800 * progmodes/flymake.el (flymake-get-real-file-name-function):
2801 Fix broken customization. (Bug#15184)
2802
b5eb9035
AM
28032013-08-25 Alan Mackenzie <acm@muc.de>
2804
8a51e842
AM
2805 Improve indentation of bracelists defined by macros (without "=").
2806
2807 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2808 expansion begins with "{", regard it as bracelist when it doesn't
2809 contain a ";".
2810
869455d4
AM
2811 Parse C++ inher-intro when there's a template split over 2 lines.
2812
2813 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2814 rigorously the search for "class" etc. followed by ":".
2815
2816 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2817 random languages a regexp which never matches rather than nil.
2818
b5eb9035
AM
2819 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2820
2821 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2822 (c-awk-regexp-one-line-possibly-open-char-list-re)
2823 (c-awk-one-line-possibly-open-regexp-re)
2824 (c-awk-one-line-non-syn-ws*-re): Remove.
2825 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2826 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2827 (c-awk-space*-unclosed-regexp-/-re): New constants.
2828 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2829 aren't regexp delimiters.
2830
2831 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2832 handling for a rare situation in AWK Mode involving unterminated
2833 strings/regexps.
2834
61611d54
GM
28352013-08-23 Glenn Morris <rgm@gnu.org>
2836
2d85dc34
GM
2837 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2838
cb8d2612
GM
2839 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2840
bb35f42f
GM
2841 * files.el (create-file-buffer): If the result would begin with
2842 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2843
b9808e77
SM
28442013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2845
e3a66363
SM
2846 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2847 text-properties (bug#15155).
2848
b9808e77
SM
2849 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2850 exist any more.
2851 (calc-keypad-redraw): Remove unused var `pad'.
2852 (calc-keypad-press): Remove unused var `menu'.
2853
7fd5f65e
MR
28542013-08-23 Martin Rudalics <rudalics@gmx.at>
2855
b9808e77
SM
2856 * window.el (display-buffer-pop-up-frame):
2857 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2858 use it as the new frame's buffer (Bug#15133).
2859
8352b530
SM
28602013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * calendar/timeclock.el: Minor cleanups.
2863 (timeclock-ask-before-exiting, timeclock-use-display-time):
2864 Use `symbol'.
2865 (timeclock-modeline-display): Define as alias before the
2866 actual definition.
2867 (timeclock-mode-line-display): Use define-minor-mode.
2868 (timeclock-day-list-template): Make it a function, add an argument.
2869 (timeclock-day-list-required, timeclock-day-list-length)
2870 (timeclock-day-list-debt, timeclock-day-list-span)
2871 (timeclock-day-list-break): Adjust calls accordingly.
2872
9f7b1925
SM
28732013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2874
2875 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2876 Use read--expression so that completion works again.
2877
6e50e983
SS
28782013-08-21 Sam Steingold <sds@gnu.org>
2879
2880 Add rudimentary inferior shell interaction
2881 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2882 (sh-set-shell): Reset it.
9f7b1925
SM
2883 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2884 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2885
dbb0d350
SM
28862013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 * align.el: Use lexical-binding.
2889 (align-region): Simplify accordingly.
2890
c88586a9
MA
28912013-08-20 Michael Albinus <michael.albinus@gmx.de>
2892
2893 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2894
2895 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2896 `non-essential' up.
2897
f95527c8
MA
28982013-08-17 Michael Albinus <michael.albinus@gmx.de>
2899
2900 * net/tramp.el:
2901 * net/tramp-adb.el:
2902 * net/tramp-cmds.el:
2903 * net/tramp-ftp.el:
2904 * net/tramp-gvfs.el:
2905 * net/tramp-gw.el:
2906 * net/tramp-sh.el: Don't wrap external variable declarations by
2907 `eval-when-compile'.
2908
4b5fe4ee
LMI
29092013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2910
2911 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2912 now that Emacs supports ImageMagick animations.
2913
13c366c9
MA
29142013-08-16 Michael Albinus <michael.albinus@gmx.de>
2915
2916 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2917 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2918
3dfc5cd6
MR
29192013-08-16 Martin Rudalics <rudalics@gmx.at>
2920
2921 * window.el (mouse-autoselect-window-select): Do autoselect when
2922 mouse pointer is on margin.
2923
4bbb4381
WP
29242013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2925
2926 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2927
3a2ddc2d
GM
29282013-08-16 Glenn Morris <rgm@gnu.org>
2929
e8bedf5a
GM
2930 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2931 Handle "Remote Directory" response of some clients. (Bug#15058)
2932
58c4682f
GM
2933 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2934 Tweak warning. (Bug#14926)
2935
57953f49
GM
2936 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2937 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2938
3a2ddc2d
GM
2939 * image-mode.el (image-mode-map): Add menu items to reverse,
2940 increase, decrease, reset animation speed.
2941 (image--set-speed, image-increase-speed, image-decrease-speed)
2942 (image-reverse-speed, image-reset-speed): New functions.
2943 (image-mode-map): Add bindings for speed commands.
2944
2945 * image.el (image-animate-get-speed, image-animate-set-speed):
2946 New functions.
2947 (image-animate-timeout): Respect image :speed property.
2948
10fa0ed3
SM
29492013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2950
2951 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2952 previous line (bug#15101).
2953 (debugger-eval-expression, debugger-record-expression):
2954 Use read--expression (bug#15102).
2955
5d89d9d2
MA
29562013-08-15 Michael Albinus <michael.albinus@gmx.de>
2957
2958 Remove byte compiler warnings, visible when compiling with
2959 `byte-compile-force-lexical-warnings' set to t.
2960
2961 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2962 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2963 (tramp-handle-unhandled-file-name-directory)
2964 (tramp-handle-file-notify-add-watch, tramp-action-login)
2965 (tramp-action-succeed, tramp-action-permission-denied)
2966 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2967 arguments with "_".
2968
2969 * net/tramp-adb.el (tramp-adb-parse-device-names)
2970 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2971 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2972 (tramp-adb-handle-file-truename): Remove unused arguments.
2973
2974 * net/tramp-cache.el (tramp-flush-directory-property)
2975 (tramp-flush-connection-property, tramp-list-connections)
2976 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2977
10fa0ed3
SM
2978 * net/tramp-compat.el (tramp-compat-make-temp-file):
2979 Rename FILENAME to F.
5d89d9d2
MA
2980
2981 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2982 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2983 (tramp-zeroconf-parse-workstation-device-names)
2984 (tramp-zeroconf-parse-webdav-device-names)
2985 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2986
2987 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2988 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2989
2990 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2991 arguments.
2992 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2993 (tramp-sh-handle-insert-file-contents-literally)
2994 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2995 with "_".
2996 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2997 Remove unused variables.
2998
2999 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3000 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3001 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3002
3003 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3004 Make them a defconst.
3005 (tramp-uuencode-region): Remove unused variable.
3006
62f33bae
JB
30072013-08-14 Juanma Barranquero <lekktu@gmail.com>
3008
3009 * frameset.el (frameset--prop-setter): New function.
3010 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
3011 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3012 parameter was already set in FILTERED. Doc fix.
3013 (frameset--record-minibuffer-relationships): Allow saving a
3014 minibufferless frame without its corresponding minibuffer frame.
3015 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3016 frame, if the frame id matches.
3017 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3018 frames before orphaned ones.
3019 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 3020
c660a885
MR
30212013-08-14 Martin Rudalics <rudalics@gmx.at>
3022
3023 * window.el (window-make-atom): Don't overwrite parameter
3024 already present.
3025 (display-buffer-in-atom-window): Handle special case where we
3026 split an already atomic window.
3027 (window--major-non-side-window, display-buffer-in-side-window)
3028 (window--side-check): Ignore minibuffer window when walking
3029 window tree.
3030 (window-deletable-p): Return 'frame only if no other frame uses
3031 our minibuffer window.
3032 (record-window-buffer): Run buffer-list-update-hook.
3033 (split-window): Make sure window--check-frame won't destroy an
3034 existing atomic window in case the new window gets nested
3035 inside.
3036 (display-buffer-at-bottom): Ignore minibuffer window when
3037 walking window tree. Don't split a side window.
3038 (pop-to-buffer): Don't set-buffer here, the select-window call
3039 should do that.
3040 (mouse-autoselect-window-select): Autoselect only if we are in the
3041 text portion of the window.
3042
8259030d
LMI
30432013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3044
21c58ae2
LMI
3045 * net/shr.el (shr-parse-image-data): New function to grab both the
3046 data itself and the Content-Type.
3047 (shr-put-image): Use it.
3048
3049 * net/eww.el (eww-display-image): Ditto.
3050
8259030d
LMI
3051 * image.el (image-content-type-suffixes): New variable.
3052
ad756449
FEG
30532013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3054
3055 * progmodes/python.el (python-imenu--build-tree)
3056 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3057
f73f4ce6
XF
30582013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3059
3060 * simple.el (backward-word): Mention the optional argument.
3061
1f585e65
SM
30622013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3063
3064 * frameset.el (frameset--make): Rename constructor from make-frameset.
3065 (frameset-p, frameset-valid-p): Don't autoload.
3066 (frameset-valid-p): Use normal accessors.
3067
af1c6c84
GM
30682013-08-13 Glenn Morris <rgm@gnu.org>
3069
55e47f95
GM
3070 * progmodes/compile.el (compile-command): Tweak example in doc.
3071 * obsolete/scribe.el (scribe-mode):
3072 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3073
f0024d8c
GM
3074 * mail/feedmail.el (feedmail-confirm-outgoing)
3075 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3076
3077 * cus-start.el (truncate-partial-width-windows): Fix type.
3078
3079 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3080
af1c6c84
GM
3081 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3082
5514cc4c
SM
30832013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * emacs-lisp/timer.el (timer--time-setter): New function.
3086 (timer--time): Use it as gv-setter.
3087
3088 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3089 setter is not a symbol.
3090
7997a2f1
GJ
30912013-08-12 Grégoire Jadi <daimrod@gmail.com>
3092
3093 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3094 if sending fails. This makes debugging easier.
3095
01f1a9ab
JB
30962013-08-12 Juanma Barranquero <lekktu@gmail.com>
3097
3098 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3099 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3100 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3101
594a4307
EZ
31022013-08-12 Eli Zaretskii <eliz@gnu.org>
3103
3104 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3105
7a22490f 31062013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
3107
3108 * format.el (format-annotate-function):
3109 Handle read-only text properties in the source. (Bug#14887)
3110
3e41a054
LMI
31112013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3112
5514cc4c
SM
3113 * net/eww.el (eww-display-html): Ignore coding system errors.
3114 One web site uses "utf-8lias" as the coding system.
3e41a054 3115
7ec326db
JB
31162013-08-11 Juanma Barranquero <lekktu@gmail.com>
3117
3118 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3119
5660113b
JB
31202013-08-10 Juanma Barranquero <lekktu@gmail.com>
3121
9a4ebc74
JB
3122 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3123 (tutorial--detailed-help): Remove unused local variables.
3124 (tutorial--save-tutorial-to): Use ignore-errors.
3125 (help-with-tutorial): Use looking-at-p.
3126
3127 * view.el (view-buffer-other-window, view-buffer-other-frame):
3128 Mark unused arguments.
3129
3130 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3131 (woman-select-symbol-fonts, woman, woman-find-file)
3132 (woman-insert-file-contents, woman-non-underline-faces):
3133 Use string-match-p.
3134 (woman1-unquote): Move declaration.
3135
3136 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3137 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3138 argument. Remove unused local variable.
3139 (xml-parse-elem-type): Use string-match-p.
3140 (xml-substitute-numeric-entities): Use ignore-errors.
3141
45fdb482
JB
3142 * calculator.el (calculator): Mark unused argument.
3143 (calculator-paste, calculator-quit, calculator-integer-p):
3144 Use ignore-errors.
3145 (calculator-string-to-number, calculator-decimal, calculator-exp)
3146 (calculator-op-or-exp): Use string-match-p.
3147
3148 * dired.el (dired-buffer-more-recently-used-p): Declare.
3149 (dired-insert-set-properties, dired-insert-old-subdirs):
3150 Use ignore-errors.
3151
3152 * dired-aux.el (dired-compress): Use ignore-errors.
3153 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3154 (dired-do-async-shell-command, dired-do-shell-command)
3155 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3156 (dired-insert-subdir-validate): Use string-match-p.
3157 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3158 (dired-add-entry): Use string-match-p, looking-at-p.
3159 (dired-insert-subdir-newpos): Remove unused local variable.
3160
3161 * filenotify.el (file-notify-callback): Remove unused local variable.
3162
3163 * filesets.el (filesets-error): Mark unused argument.
3164 (filesets-which-command-p, filesets-filter-dir-names)
3165 (filesets-directory-files, filesets-get-external-viewer)
3166 (filesets-ingroup-get-data): Use string-match-p.
3167
3168 * find-file.el (ff-other-file-name, ff-other-file-name)
3169 (ff-find-the-other-file, ff-cc-hh-converter):
3170 Remove unused local variables.
3171 (ff-get-file-name): Use string-match-p.
3172 (ff-all-dirs-under): Use ignore-errors.
3173
3174 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3175 (follow-select-if-visible): Remove unused local variable.
3176
3177 * forms.el (read-file-filter): Move declaration.
3178 (forms--make-format, forms--make-parser, forms-insert-record):
3179 Quote function with #'.
3180 (forms--update): Use string-match-p. Quote function with #'.
3181
3182 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3183 (help-make-xrefs): Use looking-at-p.
3184 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3185
3186 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3187 (ibuffer-confirm-operation-on): Use string-match-p.
3188
3189 * msb.el (msb-item-handler, msb-dired-item-handler):
3190 Mark unused arguments.
3191
3192 * ses.el (ses-decode-cell-symbol)
3193 (ses-kill-override): Remove unused local variable.
3194 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3195 (ses-load): Use ignore-errors, looking-at-p.
3196 (ses-jump-safe): Use ignore-errors.
3197 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3198
3199 * tabify.el (untabify, tabify): Mark unused arguments.
3200
3201 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3202 Mark unused argument.
3203 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3204 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3205
c880af52
JB
3206 * emacs-lisp/timer.el (timer--time): Define setter with
3207 gv-define-setter to avoid deprecation warning.
3208
5660113b 3209 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3210 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3211 (cmpl-statistics-block): Remove (body was commented out).
3212 All callers changed.
3213 (add-completions-from-buffer, load-completions-from-file):
3214 Remove unused variables.
3215
156aab80
JB
32162013-08-09 Juanma Barranquero <lekktu@gmail.com>
3217
5c5dee78
JB
3218 * filecache.el (file-cache-delete-file-list):
3219 Print message only when told so.
3220 (file-cache-files-matching): Use #' in mapconcat argument.
3221
156aab80
JB
3222 * ffap.el (ffap-url-at-point): Fix reference to variable
3223 thing-at-point-default-mail-uri-scheme.
3224
ad9dcd70
SM
32252013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3226
54bd972f
SM
3227 * subr.el (define-error): New function.
3228 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3229 error-file-not-found and define with define-error.
3230 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3231 and define with define-error.
3232 * userlock.el (file-locked, file-supersession):
3233 * simple.el (mark-inactive):
3234 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3235 * progmodes/ada-mode.el (ada-mode-errors):
3236 * play/life.el (life-extinct):
3237 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3238 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3239 * nxml/rng-util.el (rng-error):
3240 * nxml/rng-uri.el (rng-uri-error):
3241 * nxml/rng-match.el (rng-compile-error):
3242 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3243 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3244 * nxml/nxml-rap.el (nxml-scan-error):
3245 * nxml/nxml-outln.el (nxml-outline-error):
3246 * net/soap-client.el (soap-error):
3247 * net/gnutls.el (gnutls-error):
3248 * net/ange-ftp.el (ftp-error):
3249 * mpc.el (mpc-proc-error):
3250 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3251 (json-number-format, json-string-escape, json-string-format)
3252 (json-key-format, json-object-format):
3253 * jka-compr.el (compression-error):
3254 * international/quail.el (quail-error):
3255 * international/kkc.el (kkc-error):
3256 * emacs-lisp/ert.el (ert-test-failed):
3257 * calc/calc.el (calc-error, inexact-result, math-overflow)
3258 (math-underflow):
3259 * bookmark.el (bookmark-error-no-filename):
3260 * epg.el (epg-error): Define with define-error.
3261
0ea9e53a
SM
3262 * time.el (display-time-event-handler)
3263 (display-time-next-load-average): Don't call sit-for since it seems
3264 unnecessary (bug#15045).
3265
b0429158
SM
3266 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3267 Use #' instead of ' to quote functions.
3268 (checkdoc-output-mode): Use setq-local.
3269 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3270 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3271 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3272 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3273 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3274 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3275 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3276 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3277
ad9dcd70
SM
3278 * ido.el (ido-completion-help): Fix up compiler warning.
3279
77187e6f
JB
32802013-08-09 Juanma Barranquero <lekktu@gmail.com>
3281
3282 * frameset.el (frameset-p): Add autoload cookie.
3283 (frameset--jump-to-register): New function, based on code moved from
3284 register.el.
3285 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3286
3287 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3288 (frameset-restore, frameset-save, frameset-session-filter-alist):
3289 Remove declarations.
3290 (register-alist): Doc fix.
3291 (frameset-to-register): Move to frameset.el.
3292 (jump-to-register, describe-register-1): Remove frameset-specific code.
3293
9d3aa82c
JB
32942013-08-08 Juanma Barranquero <lekktu@gmail.com>
3295
3296 * allout-widgets.el (allout-widgets-pre-command-business)
3297 (allout-widgets-post-command-business)
3298 (allout-widgets-after-change-handler)
3299 (allout-decorate-item-and-context, allout-set-boundary-marker)
3300 (allout-body-modification-handler)
3301 (allout-graphics-modification-handler): Mark ignored arguments.
3302 (allout-widgets-post-command-business)
3303 (allout-widgets-exposure-change-processor)
3304 (allout-widgets-exposure-undo-processor)
3305 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3306 (allout-parse-item-at-point, allout-decorate-item-guides)
3307 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3308 * allout.el (epa-passphrase-callback-function): Declare.
3309 (allout-overlay-insert-in-front-handler)
3310 (allout-overlay-interior-modification-handler)
3311 (allout-isearch-end-handler, allout-chart-siblings)
3312 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3313 (allout-yank-processing, allout-process-exposed)
3314 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3315 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3316 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3317 (lisp-indent-defform): Mark ignored arguments.
3318 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3319 (calculate-lisp-indent): Remove unused variables.
3320 * international/characters.el (indian-2-column, arabic-2-column)
3321 (tibetan): Mark ignored arguments.
3322 (use-cjk-char-width-table): Mark ignored arguments.
3323 Remove unused variables.
3324 * international/fontset.el (build-default-fontset-data)
3325 (x-compose-font-name, create-fontset-from-fontset-spec):
3326 Mark ignored arguments.
3327 (fontset-plain-name): Remove unused variables.
3328 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3329 (keyboard-coding-system): Mark ignored arguments.
3330 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3331 * help.el (resize-temp-buffer-window):
3332 * window.el (display-buffer-in-major-side-window)
3333 (display-buffer-in-side-window, display-buffer-in-previous-window):
3334 Remove unused variables.
3335 * isearch.el (isearch-forward-symbol):
3336 * version.el (emacs-bzr-version-bzr):
3337 * international/mule-cmds.el (current-language-environment):
3338 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3339 (x-handle-display):
3340 * term/pc-win.el (x-list-fonts, x-display-planes)
3341 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3342 (x-server-version, x-display-screens, x-display-mm-height)
3343 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3344 (x-selection-owner-p, x-own-selection-internal)
3345 (x-disown-selection-internal, x-get-selection-internal)
3346 (msdos-initialize-window-system):
3347 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3348 * term/x-win.el (x-handle-no-bitmap-icon):
3349 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3350 (vc-default-find-file-hook, vc-default-extra-menu):
3351 Mark ignored arguments.
3352
0ca3f70e
SM
33532013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3354
3355 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3356 break-condition in the context of the debugged code (bug#12685).
3357
74c5d24c
CS
33582013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3359
3360 * comint.el:
3361 Do not use an overlay to highlight the last prompt. (Bug#14744)
3362 (comint-mode): Make comint-last-prompt buffer local.
3363 (comint-last-prompt): New variable.
3364 (comint-last-prompt-overlay): Remove. Superseded by
3365 comint-last-prompt.
0ca3f70e
SM
3366 (comint-snapshot-last-prompt, comint-output-filter):
3367 Use comint-last-prompt.
74c5d24c 3368
c03c02ee
JB
33692013-08-08 Juanma Barranquero <lekktu@gmail.com>
3370
a3738d20 3371 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3372 (frameset-save): Check validity of the resulting frameset.
3373
04263d23
XF
33742013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3375
3376 * ido.el (ido-record-command): Add doc string.
3377
76c5e5ab
JB
33782013-08-08 Juanma Barranquero <lekktu@gmail.com>
3379
3380 * frameset.el (frameset): Do not disable creation of the default
3381 frameset-p predicate. Doc fix.
3382 (frameset-valid-p): New function, copied from the old predicate-p.
3383 Add additional checks.
3384 (frameset-restore): Check with frameset-valid-p.
3385 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3386 (frameset-name, frameset-description, frameset-properties)
3387 (frameset-states): Add docstring.
f9dbf1cb
JB
3388 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3389 (frameset-filter-alist): Doc fixes.
76c5e5ab 3390
bd0c3c0b
JB
33912013-08-08 Juanma Barranquero <lekktu@gmail.com>
3392
3393 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3394
c735544c
SM
33952013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3398 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3399 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3400 (byte-compile-normal-call): Remove obsolescence check.
3401
2805a651
JB
34022013-08-08 Juanma Barranquero <lekktu@gmail.com>
3403
3677ffeb
JB
3404 * frameset.el (frameset-restore): Doc fix.
3405
2805a651
JB
3406 * register.el (frameset-frame-id, frameset-frame-with-id)
3407 (frameset-p, frameset-restore, frameset-save): Declare.
3408 (register-alist): Document framesets.
3409 (frameset-session-filter-alist): Declare.
3410 (frameset-to-register): New function.
3411 (jump-to-register): Implement jumping to framesets. Doc fix.
3412 (describe-register-1): Describe framesets.
3413
3414 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3415
a912c016
JB
34162013-08-07 Juanma Barranquero <lekktu@gmail.com>
3417
3418 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3419 Use lexical-binding.
3420
3421 * frameset.el (frameset): Use type vector, not list (incompatible
3422 change). Do not declare a new constructor, use the default one.
3423 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3424 `name' and `description', respectively, and add read-only slot
3425 `timestamp'. Doc fixes.
3426 (frameset-copy, frameset-persistent-filter-alist)
3427 (frameset-filter-alist, frameset-switch-to-gui-p)
3428 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3429 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3430 (frameset-filter-iconified, frameset-keep-original-display-p):
3431 Doc fixes.
3432 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3433 Rename from frameset-filter-(save|restore)-param. All callers changed.
3434 Doc fix.
3435 (frameset-p): Adapt to change to vector and be more thorough.
3436 Change arg name to OBJECT. Doc fix.
3437 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3438 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3439 All callers changed.
3440 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3441 All callers changed.
3442 (frameset--record-minibuffer-relationships): Rename from
3443 frameset--process-minibuffer-frames. All callers changed.
3444 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3445 Use new default constructor (again). Doc fix.
3446 (frameset--find-frame-if): Rename from `frameset--find-frame.
3447 All callers changed.
3448 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3449 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3450 Doc fix.
3451 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3452 PARAMETERS and WINDOW-STATE, respectively.
3453 (frameset-restore): Add new keyword argument PREDICATE.
3454 Reset frameset--target-display to nil. Doc fix.
3455
bb41480a
SM
34562013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3457
f001e98e
SM
3458 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3459 (bat-mode): Use it.
3460 (bat-mode-syntax-table): Mark \n as end-of-comment.
3461 (bat-font-lock-keywords): Remove comment rule.
3462
7679edb1
SM
3463 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3464 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3465
bb41480a
SM
3466 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3467 (byte-compile-callargs-warn): Use `push'.
3468 (byte-compile-arglist-warn): Ignore higher-order "calls".
3469 (byte-compile-file-form-autoload): Use `pcase'.
3470 (byte-compile-function-form): If quoting a symbol, check that it exists.
3471
cdc1ebb9
EZ
34722013-08-07 Eli Zaretskii <eliz@gnu.org>
3473
3474 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3475 and add a few popular commands found in batch files.
3476 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3477 (dos-mode): Doc fixes.
3478
312b1740
SM
34792013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3482 (dos-mode): Use setq-local. Add space after "rem".
3483 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3484 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3485
400a3178
AM
34862013-08-07 Arni Magnusson <arnima@hafro.is>
3487
3488 * progmodes/dos.el: New file.
3489 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3490 dos-mode.
3491
3b5c03d3
GM
34922013-08-06 Glenn Morris <rgm@gnu.org>
3493
3494 * calendar/calendar.el: Add new faces, and day-header-array.
3495 (calendar-weekday-header, calendar-weekend-header)
3496 (calendar-month-header): New faces.
3497 (calendar-day-header-construct): New function.
3498 (calendar-day-header-width): Also :set calendar-day-header-array.
3499 (calendar-american-month-header, calendar-european-month-header)
3500 (calendar-iso-month-header): Use calendar- faces.
3501 (calendar-generate-month):
3502 Use calendar-day-header-array for day headers; apply faces to them.
3503 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3504 (calendar-abbrev-construct): Add optional maxlen argument.
3505 (calendar-day-name-array): Doc fix.
3506 (calendar-day-name-array, calendar-abbrev-length)
3507 (calendar-day-abbrev-array):
3508 Also :set calendar-day-header-array, and maybe redraw.
3509 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3510 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3511 (calendar-day-name): Add option to use header array.
3512
ec6a2d7a
LMI
35132013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3514
3515 * net/shr.el (shr-render-td): Remove debugging.
3516 (shr-render-td): Make width computation consistent by defaulting
3517 all zero-width columns to 10 characters. This may not be optimal,
3518 but it's at least consistent.
2122cb6d
LMI
3519 (shr-make-table-1): Redo last change to fix the real problem in
3520 colspan handling.
ec6a2d7a 3521
ed4fd9c5
DA
35222013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3523
0ca3f70e
SM
3524 * files.el (cache-long-line-scans):
3525 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3526
64e22afe
JB
35272013-08-06 Juanma Barranquero <lekktu@gmail.com>
3528
024b38fc
JB
3529 * frameset.el (frameset, frameset-filter-alist)
3530 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3531 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3532 (frameset-compute-pos): Rename from frameset--compute-pos,
3533 and add docstring.
3534 (frameset-move-onscreen): Use frameset-compute-pos.
3535 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3536
64e22afe
JB
3537 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3538 Fix typos in docstrings.
3539
c8c2aca8
DA
35402013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3541
3542 * frame.el (get-other-frame): Tiny cleanup.
3543
1d237bba
JB
35442013-08-06 Juanma Barranquero <lekktu@gmail.com>
3545
8951efef
JB
3546 * vc/vc.el (vc-default-ignore-completion-table):
3547 Silence byte-compiler warning.
3548
307764cc
JB
3549 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3550 slot , which can indeed be nil.
3551 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3552 Move entry for `left' from persistent to live filter alist.
3553 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3554 Doc fixes.
3555 (frameset-filter-params): When restoring a frame, copy items added to
3556 `filtered', to avoid unwittingly modifying the original parameters.
3557 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3558 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3559
1d237bba
JB
3560 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3561 to use looking-at-p instead of looking-at. (Bug#15028)
3562
dc6c0eda
SM
35632013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 Revert introduction of isearch-filter-predicates (bug#14714).
3566 Rely on add-function instead.
3567 * isearch.el (isearch-filter-predicates): Rename it back to
3568 isearch-filter-predicate.
3569 (isearch-message-prefix): Use advice-function-mapc and advice
3570 properties to get the isearch-message-prefix.
3571 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3572 instead of run-hook-with-args-until-failure.
3573 (isearch-filter-visible): Not obsolete any more.
3574 * loadup.el: Preload nadvice.
3575 * replace.el (perform-replace): Revert to funcall
3576 instead of run-hook-with-args-until-failure.
3577 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3578 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3579 dired-isearch-filenames-toggle; make it into a proper minor mode.
3580 Use add/remove-function.
3581 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3582 Call the minor-mode rather than add/remove-hook.
3583 (dired-isearch-filter-filenames):
3584 Remove isearch-message-prefix property.
3585 * info.el (Info--search-loop): New function, extracted from Info-search.
3586 Funcall isearch-filter-predicate instead of
3587 run-hook-with-args-until-failure isearch-filter-predicates.
3588 (Info-search): Use it.
3589 (Info-mode): Use isearch-filter-predicate instead of
3590 isearch-filter-predicates.
3591
290d5b58
DA
35922013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3593
3594 Do not call to `selected-window' where it is assumed by default.
3595 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3596 `window-hscroll', `window-width', `window-height', `window-buffer',
3597 `window-frame', `window-start', `window-point', `next-window'
3598 and `window-display-table'.
3599 * abbrev.el (abbrev--default-expand):
3600 * bs.el (bs--show-with-configuration):
3601 * buff-menu.el (Buffer-menu-mouse-select):
3602 * calc/calc.el (calc):
3603 * calendar/calendar.el (calendar-generate-window):
3604 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3605 (diary-make-entry):
3606 * comint.el (send-invisible, comint-dynamic-complete-filename)
3607 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3608 * completion.el (complete):
3609 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3610 * disp-table.el (describe-current-display-table):
3611 * doc-view.el (doc-view-insert-image):
3612 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3613 * ehelp.el (with-electric-help):
3614 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3615 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3616 * emacs-lisp/helper.el (Helper-help-scroller):
3617 * emulation/cua-base.el (cua--post-command-handler-1):
3618 * eshell/esh-mode.el (eshell-output-filter):
3619 * ffap.el (ffap-gnus-wrapper):
3620 * help-macro.el (make-help-screen):
3621 * hilit-chg.el (highlight-compare-buffers):
3622 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3623 * hl-line.el (global-hl-line-highlight):
3624 * icomplete.el (icomplete-simple-completing-p):
3625 * isearch.el (isearch-done):
3626 * jit-lock.el (jit-lock-stealth-fontify):
3627 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3628 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3629 * mpc.el (mpc-tagbrowser, mpc):
3630 * net/rcirc.el (rcirc-any-buffer):
3631 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3632 * play/landmark.el (landmark-max-width, landmark-max-height):
3633 * play/zone.el (zone):
3634 * progmodes/compile.el (compilation-goto-locus):
3635 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3636 * progmodes/etags.el (find-tag-other-window):
3637 * progmodes/fortran.el (fortran-column-ruler):
3638 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3639 * progmodes/verilog-mode.el (verilog-point-text):
3640 * reposition.el (reposition-window):
3641 * rot13.el (toggle-rot13-mode):
3642 * server.el (server-switch-buffer):
3643 * shell.el (shell-dynamic-complete-command)
3644 (shell-dynamic-complete-environment-variable):
3645 * simple.el (insert-buffer, set-selective-display)
3646 (delete-completion-window):
3647 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3648 (speedbar-recenter):
3649 * startup.el (fancy-splash-head):
3650 * textmodes/ispell.el (ispell-command-loop):
3651 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3652 * tutorial.el (help-with-tutorial):
3653 * vc/add-log.el (add-change-log-entry):
3654 * vc/compare-w.el (compare-windows):
3655 * vc/ediff-help.el (ediff-indent-help-message):
3656 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3657 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3658 (ediff-setup-control-frame):
3659 * vc/emerge.el (emerge-position-region):
3660 * vc/pcvs-util.el (cvs-bury-buffer):
3661 * window.el (walk-windows, mouse-autoselect-window-select):
3662 * winner.el (winner-set-conf, winner-undo): Related users changed.
3663
38276e01
JB
36642013-08-05 Juanma Barranquero <lekktu@gmail.com>
3665
3666 * frameset.el (frameset--set-id): Doc fix.
3667 (frameset-frame-id, frameset-frame-id-equal-p)
3668 (frameset-locate-frame-id): New functions.
3669 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3670 (frameset-restore): Use them.
3671
12b4c0ea
DA
36722013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3673
3674 Do not call to `selected-frame' where it is assumed by default.
3675 Affected functions are `raise-frame', `redraw-frame',
3676 `frame-first-window', `frame-terminal' and `delete-frame'.
3677 * calendar/appt.el (appt-disp-window):
3678 * epg.el (epg-wait-for-completion):
3679 * follow.el (follow-delete-other-windows-and-split)
3680 (follow-avoid-tail-recenter):
3681 * international/mule.el (set-terminal-coding-system):
3682 * mail/rmail.el (rmail-mail-return):
3683 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3684 * progmodes/f90.el (f90-add-imenu-menu):
3685 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3686 * server.el (server-switch-buffer):
3687 * simple.el (delete-completion-window):
3688 * talk.el (talk):
3689 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3690 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3691 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3692 * vc/ediff.el (ediff-documentation): Related users changed.
3693 * frame.el (selected-terminal): Remove the leftover.
3694
17f25e76
GM
36952013-08-05 Glenn Morris <rgm@gnu.org>
3696
3697 * calendar/calendar.el (calendar-generate-month):
3698 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3699 (calendar-generate-month, calendar-font-lock-keywords):
3700 Fix for calendar-day-header-width > length of any day name.
17f25e76 3701
063233c3
JB
37022013-08-05 Juanma Barranquero <lekktu@gmail.com>
3703
3704 * desktop.el (desktop-clear): Use new name of sort predicate.
3705
3706 * frameset.el (frameset): Add docstring. Move :version property to its
3707 own `version' slot.
3708 (frameset-copy): Rename from copy-frameset.
3709 (frameset-p): Check more thoroughly.
3710 (frameset-prop): Do not check for :version, which is no longer a prop.
3711 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3712 Use new :never value instead of t.
3713 (frameset-filter-alist): Expand and clarify docstring.
3714 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3715 (frameset-filter-minibuffer, frameset-filter-save-param)
3716 (frameset-filter-restore-param, frameset-filter-iconified):
3717 Add pointer to docstring of frameset-filter-alist.
3718 (frameset-filter-params): Rename filter values to be more meaningful:
3719 :never instead of t, and reverse the meanings of :save and :restore.
3720 (frameset--process-minibuffer-frames): Clarify error message.
3721 (frameset-save): Avoid unnecessary and confusing call to framep.
3722 Use new BOA constructor for framesets.
3723 (frameset--reuse-list): Doc fix.
3724 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3725 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3726 (frameset-minibufferless-first-p): Doc fix.
3727 Rename from frameset-sort-frames-for-deletion.
3728 (frameset-restore): Doc fixes. Use new function names.
3729 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3730
d5671a82
JB
37312013-08-04 Juanma Barranquero <lekktu@gmail.com>
3732
3733 * desktop.el (desktop-restore-forces-onscreen)
3734 (desktop-restore-reuses-frames): Document :keyword constant values.
3735 (desktop-filter-parameters-alist): Remove, now identical to
3736 frameset-filter-alist.
3737 (desktop--filter-tty*): Remove, moved to frameset.el.
3738 (desktop-save-frameset, desktop-restore-frameset):
3739 Do not pass :filters argument.
3740
3741 * frameset.el (frameset-live-filter-alist)
3742 (frameset-persistent-filter-alist): New variables.
3743 (frameset-filter-alist): Use them. Add autoload cookie.
3744 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3745 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3746 `frameset--id' (it's supposed to be internal to frameset.el).
3747 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3748 (frameset--initial-params): New function.
3749 (frameset--get-frame): Use it. Doc fix.
3750 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3751 Accept :all, not 'all.
3752 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3753 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3754 with fbound symbols. Fix frame id matching, and remove matching ids if
3755 the frame being restored is deleted. Obey :delete.
3756
671d5c16
SM
37572013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3758
3759 * subr.el (macrop): New function.
3760 (text-clone--maintaining): New var.
3761 (text-clone--maintain): Rename from text-clone-maintain. Use it
3762 instead of inhibit-modification-hooks.
3763
3764 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3765 a proxy, so as handle autoloads and redefinitions of the target.
3766 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3767
3768 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3769 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3770 (pcase--mutually-exclusive-p): New function.
3771 (pcase--split-consp): Use it.
3772 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3773 mutually exclusive with the current predicate.
3774
3775 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3776 (edebug-macrop): Remove. Use `macrop' instead.
3777 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3778 (ad-macro-p):
3779 * eshell/esh-cmd.el (eshell-macrop):
3780 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3781
1d44e9dc
SM
37822013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3783
3784 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3785 (advice-mapc): New function, using it.
3786 (advice-function-member-p): New function.
3787 (advice--normalize): Store the cdr in advice--saved-rewrite since
3788 that's the part that will be changed.
3789 (advice--symbol-function): New function.
3790 (advice-remove): Handle removal before the function is defined.
3791 Adjust to new advice--saved-rewrite.
3792 (advice-member-p): Use advice-function-member-p and
3793 advice--symbol-function.
3794
5414a283
JB
37952013-08-04 Juanma Barranquero <lekktu@gmail.com>
3796
51d30f2c
JB
3797 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3798 (frameset-filter-minibuffer): Doc fix.
3799 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3800 (frameset--set-id, frameset--process-minibuffer-frames)
3801 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3802 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3803
5414a283
JB
3804 * desktop.el (desktop-clear): Only delete frames when called
3805 interactively and desktop-restore-frames is non-nil. Doc fix.
3806 (desktop-read): Set desktop-saved-frameset to nil.
3807
ab419665
XF
38082013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3809
3810 * vc/vc.el (vc-ignore): Rewrite.
3811 (vc-default-ignore-completion-table):
3812 (vc--read-lines):
3813 (vc--add-line, vc--remove-regexp): New functions.
3814
3815 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3816 (vc-svn-ignore-completion-table): New function.
3817
3818 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3819 (vc-hg-ignore-completion-table):
3820 (vc-hg-find-ignore-file): New functions.
3821
3822 * vc/vc-git.el (vc-git-ignore): Rewrite.
3823 (vc-git-ignore-completion-table):
3824 (vc-git-find-ignore-file): New functions.
3825
3826 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3827
3828 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3829 (vc-bzr-ignore-completion-table):
3830 (vc-bzr-find-ignore-file): New functions.
3831
2613dea2
JB
38322013-08-03 Juanma Barranquero <lekktu@gmail.com>
3833
3834 * frameset.el (frameset-prop): New function and setter.
3835 (frameset-save): Do not modify frame list passed by the caller.
3836
9c959872
SM
38372013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3839 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3840
a104f656
SM
38412013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3842
70122acf
SM
3843 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3844 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3845
a104f656
SM
3846 * custom.el (custom-initialize-default, custom-initialize-set)
3847 (custom-initialize-reset, custom-initialize-changed): Affect the
3848 toplevel-default-value (bug#6275, bug#14586).
3849 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3850 for bug#6275.
3851
f078d570
JB
38522013-08-02 Juanma Barranquero <lekktu@gmail.com>
3853
185e3b5a
JB
3854 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3855 Add cl-def* expressions.
3856
f078d570
JB
3857 * frameset.el (frameset-filter-params): Fix order of arguments.
3858
9421876d
JB
38592013-08-02 Juanma Barranquero <lekktu@gmail.com>
3860
3861 Move code related to saving frames to frameset.el.
3862 * desktop.el: Require frameset.
3863 (desktop-restore-frames): Doc fix.
3864 (desktop-restore-reuses-frames): Rename from
3865 desktop-restoring-reuses-frames.
3866 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3867 (desktop-clear): Clear frames too.
3868 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3869 (desktop--filter-tty*, desktop-save, desktop-read):
3870 Use frameset functions.
3871 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3872 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3873 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3874 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3875 (desktop--process-minibuffer-frames, desktop-save-frames)
3876 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3877 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3878 (desktop--sort-states, desktop-restoring-frames-p)
3879 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3880 (desktop-restoring-frameset-p, desktop-restore-frameset)
3881 (desktop--check-dont-save, desktop-save-frameset): New functions.
3882 (desktop--app-id): New constant.
3883 (desktop-first-buffer, desktop-buffer-ok-count)
3884 (desktop-buffer-fail-count): Move before first use.
3885 * frameset.el: New file.
3886
76dc5996
SM
38872013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 * files.el: Use lexical-binding.
3890 (dir-locals-read-from-file): Remove unused `err' variable.
3891 (hack-dir-local-variables--warned-coding): New var.
3892 (hack-dir-local-variables): Use it to avoid repeated warnings.
3893 (make-backup-file-name--default-function): New function.
3894 (make-backup-file-name-function): Use it as default.
3895 (buffer-stale--default-function): New function.
3896 (buffer-stale-function): Use it as default.
3897 (revert-buffer-insert-file-contents--default-function): New function.
3898 (revert-buffer-insert-file-contents-function): Use it as default.
3899 (insert-directory): Avoid add-to-list.
3900
3901 * autorevert.el (auto-revert-handler): Simplify.
3902 Use buffer-stale--default-function.
3903
06d36e2b
TH
39042013-08-01 Tassilo Horn <tsdh@gnu.org>
3905
5f648ab4
TH
3906 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3907
06d36e2b
TH
3908 * whitespace.el (whitespace-ensure-local-variables): New function.
3909 (whitespace-cleanup-region): Call it.
3910 (whitespace-turn-on): Call it.
3911
a43dc424
MA
39122013-08-01 Michael Albinus <michael.albinus@gmx.de>
3913
3914 Complete file name handlers.
3915
3916 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3917 (tramp-handle-verify-visited-file-modtime)
3918 (tramp-handle-file-notify-rm-watch): New functions.
3919 (tramp-call-process): Do not bind `default-directory'.
3920
44e18199
JB
3921 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3922 Order alphabetically.
a43dc424
MA
3923 [access-file, add-name-to-file, dired-call-process]:
3924 [dired-compress-file, file-acl, file-notify-rm-watch]:
3925 [file-ownership-preserved-p, file-selinux-context]:
3926 [make-directory-internal, make-symbolic-link, set-file-acl]:
3927 [set-file-selinux-context, set-visited-file-modtime]:
3928 [verify-visited-file-modtime]: Add handler.
3929 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3930
3931 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3932 [file-notify-add-watch, file-notify-rm-watch]:
3933 [set-file-times, set-visited-file-modtime]:
3934 [verify-visited-file-modtime]: Add handler.
3935 (with-tramp-gvfs-error-message)
3936 (tramp-gvfs-handle-set-visited-file-modtime)
3937 (tramp-gvfs-fuse-file-name): Remove.
3938 (tramp-gvfs-handle-file-notify-add-watch)
3939 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3940 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3941
44e18199
JB
3942 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3943 Order alphabetically.
a43dc424
MA
3944 [file-notify-rm-watch ]: Use default Tramp handler.
3945 [executable-find]: Remove private handler.
3946 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3947 `default-directory'.
3948 (tramp-sh-handle-executable-find)
3949 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3950 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3951 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3952 Do not use `format' in `tramp-message'.
3953
3954 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3955 [file-notify-rm-watch, set-visited-file-modtime]:
3956 [verify-visited-file-modtime]: Add handler.
3957 (tramp-smb-call-winexe): Do not bind `default-directory'.
3958
7188b515
XF
39592013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3960
3961 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3962
2412ee1a
DG
39632013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3964
3965 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3966 use it.
3967 (log-view-diff-changeset): Same.
3968 (log-view-diff-common): Call backend command `previous-revision'
3969 to find out the previous revision, in both cases. Swap the
3970 variables `to' and `fr', so that `fr' usually refers to the
3971 earlier revision (Bug#14989).
3972
5002a754
KRC
39732013-07-31 Kan-Ru Chen <kanru@kanru.info>
3974
3975 * ibuf-ext.el (ibuffer-filter-by-filename):
3976 Make it work with dired buffers too.
3977
44e18199 39782013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3979
3980 * emacs-lisp/re-builder.el (reb-color-display-p):
3981 * files.el (save-buffers-kill-terminal):
3982 * net/browse-url.el (browse-url):
3983 * server.el (server-save-buffers-kill-terminal):
3984 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3985 Prefer nil to selected-frame for the first arg of frame-parameter.
3986
aeca3fbb
XF
39872013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3988
3989 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3990
158bc55c
SB
39912013-07-30 Stephen Berman <stephen.berman@gmx.net>
3992
3993 * minibuffer.el (completion--twq-all): Try and preserve each
3994 completion's case choice (bug#14907).
3995
d50fceab
LMI
39962013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3997
ac38e731
LMI
3998 * net/network-stream.el (open-network-stream): Mention the new
3999 :nogreeting parameter.
4000 (network-stream-open-starttls): Use the :nogreeting parameter
4001 (bug#14938).
4002
1211de50
LMI
4003 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4004
997798bf
LMI
4005 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4006 more natural than popping.
4007
d50fceab 4008 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 4009 (shr-urlify): Highlight under mouse.
d50fceab 4010
5c09de04
XF
40112013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4012
207d1d04
XF
4013 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4014
4015 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4016
5c09de04
XF
4017 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4018 buffer for output.
4019
3cd51eaa
XF
4020 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4021 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 4022
44e18199 4023 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 4024 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
4025
4026 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4027
4028 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4029 buffer for output.
4030
35a89bdd
EZ
40312013-07-29 Eli Zaretskii <eliz@gnu.org>
4032
4033 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4034 initial frame is minibuffer-less. (Bug#14841)
4035
78822e94
MA
40362013-07-29 Michael Albinus <michael.albinus@gmx.de>
4037
4038 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4039 option.
4040
4041 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4042 (tramp-maybe-open-connection): Use it.
4043
9503c190
JB
40442013-07-28 Juanma Barranquero <lekktu@gmail.com>
4045
4046 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4047 minimal set of parameters passed when creating a frame, because
4048 the minibuffer status of a frame cannot be changed later.
4049
d5a845b4
SB
40502013-07-28 Stephen Berman <stephen.berman@gmx.net>
4051
4052 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4053 replace-regexp-in-string and inadvertent omissions in previous change.
4054 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 4055 name of filtered items buffer.
d5a845b4 4056
ddeffb17
JB
40572013-07-28 Juanma Barranquero <lekktu@gmail.com>
4058
4059 * desktop.el: Optionally force offscreen frames back onscreen.
4060 (desktop-restoring-reuses-frames): New option.
4061 (desktop--compute-pos, desktop--move-onscreen): New functions.
4062 (desktop--make-frame): Use desktop--move-onscreen.
4063
f5950f7a
AM
40642013-07-27 Alan Mackenzie <acm@muc.de>
4065
4066 Fontify a Java generic method as a function.
4067 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4068 value to t.
4069
ae43b66a
SB
40702013-07-27 Stephen Berman <stephen.berman@gmx.net>
4071
4072 * calendar/todo-mode.el: Add command to rename todo files.
4073 (todo-rename-file): New command.
4074 (todo-key-bindings-t): Add key binding for it. Change the
4075 bindings of todo-filter-regexp-items(-multifile) to use `x'
4076 instead of `r', since the latter is better suited to the new
4077 renaming command.
4078
5ab78d3d
AM
40792013-07-27 Alan Mackenzie <acm@muc.de>
4080
4081 Make Java try-with-resources statement parse properly.
4082 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4083 (c-block-stmt-1-2-key): New language constants/variables.
4084 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4085 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4086 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 4087 with c-block-stmt-1-2-key.
5ab78d3d 4088
d85c4d50
JB
40892013-07-27 Juanma Barranquero <lekktu@gmail.com>
4090
4091 * desktop.el (desktop--make-frame): Apply most frame parameters after
4092 creating the frame to force (partially or totally) offscreen frames to
4093 be restored as such.
4094
e4c467f9
XF
40952013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4096
4097 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 4098 (Bug#14948)
e4c467f9 4099
7ced0d04
SM
41002013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4103 `base' arg of backtrace-frame.
4104
fec92060
EZ
41052013-07-26 Eli Zaretskii <eliz@gnu.org>
4106
4107 * simple.el (list-processes): Doc fix.
4108
d58d31fb
JB
41092013-07-26 Juanma Barranquero <lekktu@gmail.com>
4110
4111 * desktop.el (desktop--select-frame):
d85c4d50 4112 Try harder to reuse existing frames.
d58d31fb 4113
53ff3e77
SM
41142013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4115
4116 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4117 (edebug-eval): Use backtrace-eval.
4118 (edebug--display, edebug--recursive-edit): Don't let-bind the
4119 edebug-outer-* vars that keep track of variables we locally let-bind.
4120 (edebug-outside-excursion): Don't restore outside values of locally
4121 let-bound vars.
4122 (edebug--display): Use user-error.
4123 (cl-lexical-debug, cl-debug-env): Remove.
4124
045f7a53
JB
41252013-07-26 Juanma Barranquero <lekktu@gmail.com>
4126
4127 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4128 are restored to be sure that they are visible before deleting any
4129 remaining ones.
4130
59070b32
MM
41312013-07-26 Matthias Meulien <orontee@gmail.com>
4132
742a3501
XF
4133 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4134 vc-print-root-log. (Bug#14948)
59070b32 4135
b1fb3596
RS
41362013-07-26 Richard Stallman <rms@gnu.org>
4137
4138 Add aliases for encrypting mail.
4139 * epa.el (epa-mail-aliases): New option.
4140 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4141 Bind inhibit-read-only so read-only text doesn't ruin everything.
4142 (epa-mail-default-recipients): New subroutine broken out.
4143 Handle epa-mail-aliases.
4144
56ea7291
SM
41452013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4146
4147 Add support for lexical variables to the debugger's `e' command.
4148 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4149 vars, except for debugger-outer-match-data.
4150 (debugger-frame-number): Move check for "on a function call" from
4151 callers into it. Add `skip-base' argument.
4152 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4153 (debugger-env-macro): Only reset the state stored in non-variables,
4154 i.e. current-buffer and match-data.
4155 (debugger-eval-expression): Rewrite using backtrace-eval.
4156 * subr.el (internal--called-interactively-p--get-frame): Remove.
4157 (called-interactively-p):
4158 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4159 `base' arg of backtrace-frame instead.
4160
15ac32d5
GM
41612013-07-26 Glenn Morris <rgm@gnu.org>
4162
8358a09d
GM
4163 * align.el (align-regexp): Doc fix. (Bug#14857)
4164 (align-region): Explicit error if subexpression missing/does not match.
4165
15ac32d5
GM
4166 * simple.el (global-visual-line-mode):
4167 Do not duplicate the mode lighter. (Bug#14858)
4168
f47ad11b
MR
41692013-07-25 Martin Rudalics <rudalics@gmx.at>
4170
4171 * window.el (display-buffer): In display-buffer bind
4172 split-window-keep-point to t, bug#14829.
4173
02530987
JB
41742013-07-25 Juanma Barranquero <lekktu@gmail.com>
4175
4176 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4177 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4178 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4179 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4180 Change accordingly.
f63ebeb5
JB
4181 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4182 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4183
6ccb9cab 41842013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4185
6ccb9cab 4186 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4187
cb3a56d2
JB
41882013-07-25 Juanma Barranquero <lekktu@gmail.com>
4189
4190 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4191 parameter to modify-frame-parameters if the value has not changed;
4192 this is a workaround for bug#14949.
4193 (desktop--make-frame): On cl-delete-if call, check parameter name,
4194 not full parameter.
4195
7aa7fff0
XF
41962013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4197
4198 * vc/vc.el (vc-ignore): New function.
4199
4200 * vc/vc-svn.el (vc-svn-ignore): New function.
4201
4202 * vc/vc-hg.el (vc-hg-ignore): New function.
4203
4204 * vc/vc-git.el (vc-git-ignore): New function.
4205
4206 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4207 (vc-dir-ignore): New function.
4208
4209 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4210 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4211
4212 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4213
4214 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4215
889acc5c
JB
42162013-07-24 Juanma Barranquero <lekktu@gmail.com>
4217
4218 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4219 (desktop-restore-frames): Warn when deleting an existing frame failed.
4220
86c40970
GM
42212013-07-24 Glenn Morris <rgm@gnu.org>
4222
4223 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4224
d5d3c58a
MA
42252013-07-24 Michael Albinus <michael.albinus@gmx.de>
4226
4227 * filenotify.el (file-notify-supported-p):
4228 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4229 Remove functions.
4230
4231 * autorevert.el (auto-revert-use-notify):
4232 (auto-revert-notify-add-watch):
4233 * net/tramp.el (tramp-file-name-for-operation):
4234 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4235 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4236 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4237 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4238 Remove `file-notify-supported-p' entry.
4239
d100084b
GM
42402013-07-24 Glenn Morris <rgm@gnu.org>
4241
4242 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4243 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4244
ac93e56b
SM
42452013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4246
249eea30
SM
4247 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4248 checked with memq (bug#14935).
4249
ac93e56b
SM
4250 * files.el (revert-buffer-function): Use a non-nil default.
4251 (revert-buffer-preserve-modes): Declare var to
4252 provide access to the `preserve-modes' argument.
4253 (revert-buffer): Let-bind it.
4254 (revert-buffer--default): New function, extracted from revert-buffer.
4255
2cdeb903
SM
42562013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * lpr.el: Signal print errors more prominently.
4259 (print-region-function): Don't default to nil.
4260 (lpr-print-region): New function, extracted from print-region-1.
4261 Check lpr's return value and signal an error in case of problem.
4262 (print-region-1): Use it.
4263 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4264 versions instead.
4265 (ps-printer-name): Default to nil.
4266 (ps-printer-name-option): Default to lpr-printer-switch.
4267 (ps-print-region-function): Don't default to nil.
4268 (ps-postscript-code-directory): Simplify default.
4269 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4270 (ps-string-list, ps-eval-switch, ps-flatten-list)
4271 (ps-flatten-list-1): Remove.
4272 (ps-multibyte-buffer): Avoid setq.
4273 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4274 (print-region-function, ps-print-region-function): Don't set them here.
4275
73600831
XF
42762013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4277
0e55c076
XF
4278 * ido.el (ido-fractionp):
4279 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4280 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4281 (ido-max-directory-size, ido-max-dir-file-cache)
4282 (ido-decorations): Doc fix.
4283
73600831
XF
4284 * ansi-color.el: Fix old URL.
4285
3d012865
MM
42862013-07-23 Michael R. Mauger <michael@mauger.com>
4287
e903c210 4288 * progmodes/sql.el: Version 3.3
3d012865
MM
4289 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4290 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4291 (sql-interactive-remove-continuation-prompt): Rewrite, use
4292 functions above. Fix continuation prompt and complete output line
4293 handling.
4294 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4295 redirected output buffer.
4296 (sql-mode): Restore deleted code (Bug#13591).
4297
da77a2e2
JB
42982013-07-23 Juanma Barranquero <lekktu@gmail.com>
4299
4300 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4301
80ff0c71
MA
43022013-07-23 Michael Albinus <michael.albinus@gmx.de>
4303
4304 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4305
4306 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4307 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4308 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4309
b61d71e4
JB
43102013-07-23 Juanma Barranquero <lekktu@gmail.com>
4311
4312 * desktop.el (desktop-clear): Simplify; remove useless checks
4313 against invalid buffer names.
4314 (desktop-list*): Use cl-list*.
4315 (desktop-buffer-info, desktop-create-buffer): Simplify.
4316
c3512092
LL
43172013-07-23 Leo Liu <sdl.web@gmail.com>
4318
4319 * bookmark.el (bookmark-make-record): Restore NAME as a default
4320 value. (Bug#14933)
4321
0ac26976
SM
43222013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4323
7d22ce18
SM
4324 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4325 extracted from autoload--insert-text.
4326 (autoload--insert-text): Remove.
4327 (autoload--print-cookie-text): New function, extracted from
4328 autoload--insert-cookie-text.
4329 (autoload--insert-cookie-text): Remove.
4330 (autoload-generate-file-autoloads): Adjust calls accordingly.
4331
9b2607e8
SM
4332 * winner.el (winner-hook-installed-p): Remove.
4333 (winner-mode): Simplify accordingly.
4334
c43a8618
SM
4335 * subr.el (add-to-list): Fix compiler-macro when `append' is
4336 not constant. Don't use `cl-member' for the base case.
4337
0ac26976
SM
4338 * progmodes/subword.el: Fix boundary case (bug#13758).
4339 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4340 own group.
4341 (subword-backward-regexp): Make it a constant.
4342 (subword-forward-internal): Don't treat a trailing capital as the
4343 beginning of a word.
4344
6874724a
AR
43452013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4346
4347 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4348 global value of tabulated-list-revert-hook (bug#14930).
4349
70f1b5e8
JB
43502013-07-22 Juanma Barranquero <lekktu@gmail.com>
4351
a1c80d9d
JB
4352 * desktop.el: Require 'cl-lib.
4353 (desktop-before-saving-frames-functions): New hook.
4354 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4355 for frames being saved. Rename from desktop--save-minibuffer-frames.
4356 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4357 Do not save frames with non-nil `desktop-dont-save' parameter.
4358 Filter out deleted frames.
a1c80d9d
JB
4359 (desktop--find-frame): Use cl-find-if.
4360 (desktop--select-frame): Use cl-(first|second|third) to access values
4361 of desktop-mini.
4362 (desktop--make-frame): Use cl-delete-if.
4363 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4364 (desktop-restore-frames): Use cl-(first|second|third) to access values
4365 of desktop-mini. Look for visible frame at the end, not while
4366 restoring frames.
4367
70f1b5e8
JB
4368 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4369 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4370 Use string-match-p, looking-at-p (bug#14927).
4371
728dc3cc
JB
43722013-07-21 Juanma Barranquero <lekktu@gmail.com>
4373
56bc453c
JB
4374 * desktop.el (desktop-saved-frame-states):
4375 Rename from desktop--saved-states; all users changed.
4376 (desktop-save-frames): Rename from desktop--save-frames.
4377 Do not save state to desktop file.
4378 (desktop-save): Save desktop-saved-frame-states to desktop file
4379 and reset to nil.
4380 (desktop-restoring-frames-p): New function.
4381 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4382 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4383 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4384
728dc3cc
JB
4385 * desktop.el: Correctly restore iconified frames.
4386 (desktop--filter-iconified-position): New function.
4387 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4388
862f1c9c
GM
43892013-07-20 Glenn Morris <rgm@gnu.org>
4390
c4074c9f
GM
4391 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4392 Let `message' do the formatting.
4393 (def-gdb-preempt-display-buffer): Add explicit format.
4394
d828e5f9
GM
4395 * image-dired.el (image-dired-track-original-file):
4396 Use with-current-buffer.
4397 (image-dired-track-thumbnail): Use with-current-buffer.
4398 Avoid changing point of wrong window.
4399
862f1c9c
GM
4400 * image-dired.el (image-dired-track-original-file):
4401 Avoid changing point of wrong window. (Bug#14909)
4402
f0398ec1 44032013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4404
4405 * progmodes/gdb-mi.el (gdb-done-or-error):
4406 Guard against "%" in gdb output. (Bug#14127)
4407
1451928f
AS
44082013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4409
763a086d
JB
4410 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4411 (Bug#14826)
f7a03897 4412
1451928f
AS
4413 * international/mule.el (coding-system-iso-2022-flags): Fix last
4414 change.
4415
99107004
KH
44162013-07-20 Kenichi Handa <handa@gnu.org>
4417
763a086d
JB
4418 * international/mule.el (coding-system-iso-2022-flags):
4419 Add `8-bit-level-4'. (Bug#8522)
99107004 4420
48494e06
LMI
44212013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4422
8ba8eec5
LMI
4423 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4424 (bug#14815).
4425
dfbc66e3
LMI
4426 * net/eww.el (eww-process-text-input): Allow inputting when the
4427 point is at the start of the line, as the properties aren't
4428 front-sticky.
4429
48494e06
LMI
4430 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4431 degenerate widths.
4432
77c92cb9
RS
44332013-07-19 Richard Stallman <rms@gnu.org>
4434
aec7da77
RS
4435 * epa.el (epa-popup-info-window): Doc fix.
4436
77c92cb9
RS
4437 * subr.el (split-string): New arg TRIM.
4438
945c5bb1
JB
44392013-07-18 Juanma Barranquero <lekktu@gmail.com>
4440
4441 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4442 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4443
e06ec67f
MA
44442013-07-18 Michael Albinus <michael.albinus@gmx.de>
4445
c7064f05 4446 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4447 `file-notify-support'. Do not autoload. Adapt all uses.
4448 (file-notify-supported-p): New defun.
4449
c7064f05
JB
4450 * autorevert.el (auto-revert-use-notify):
4451 Use `file-notify-supported-p' instead of `file-notify-support'.
4452 Adapt docstring.
e06ec67f
MA
4453 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4454
4455 * net/tramp.el (tramp-file-name-for-operation):
4456 Add `file-notify-supported-p'.
4457
4458 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4459 New defun.
4460 (tramp-sh-file-name-handler-alist): Add it as handler for
4461 `file-notify-supported-p '.
4462
4463 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4464 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4465 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4466 Add `ignore' as handler for `file-notify-*' functions.
4467
5dc8a629
EZ
44682013-07-17 Eli Zaretskii <eliz@gnu.org>
4469
4470 * simple.el (line-move-partial, line-move): Don't start vscroll or
4471 scroll-up if the current line is not taller than the window.
4472 (Bug#14881)
4473
77aea2fb
DG
44742013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4475
4476 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4477 highlight question marks in the method names as strings.
ac72c08d
DG
4478 (ruby-block-beg-keywords): Inline.
4479 (ruby-font-lock-keyword-beg-re): Extract from
4480 `ruby-font-lock-keywords'.
77aea2fb 4481
18c26d81
JD
44822013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4483
4484 * frame.el (blink-cursor-blinks): New defcustom.
4485 (blink-cursor-blinks-done): New defvar.
4486 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4487 (blink-cursor-timer-function): Check if number of blinks has been
4488 done on X and NS.
4489 (blink-cursor-suspend, blink-cursor-check): New defuns.
4490
da48522e
GM
44912013-07-15 Glenn Morris <rgm@gnu.org>
4492
4493 * edmacro.el (edmacro-format-keys): Fix previous change.
4494
0463c1ef
PE
44952013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4496
4497 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4498 The hack didn't work outside English locales anyway.
4499
b43f6451
JB
45002013-07-15 Juanma Barranquero <lekktu@gmail.com>
4501
4502 * simple.el (define-alternatives): Rename from alternatives-define,
4503 per RMS' suggestion.
4504
b958c0ad
JB
45052013-07-14 Juanma Barranquero <lekktu@gmail.com>
4506
4507 * desktop.el (desktop-restore-frames): Change default to t.
4508 (desktop-restore-in-current-display): Now offer more options.
4509 (desktop-restoring-reuses-frames): New customization option.
4510 (desktop--saved-states): Doc fix.
4511 (desktop-filter-parameters-alist): New variable, renamed and expanded
4512 from desktop--excluded-frame-parameters.
4513 (desktop--target-display): New variable.
4514 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4515 (desktop--filter-tty*, desktop--filter-*-color)
4516 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4517 (desktop--filter-save-desktop-parm)
4518 (desktop-restore-in-original-display-p): New functions.
4519 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4520 (desktop--save-minibuffer-frames): New function, inspired by a similar
4521 function from Martin Rudalics.
4522 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4523 (desktop--restore-in-this-display-p): Remove.
4524 (desktop--find-frame): Rename from desktop--find-frame-in-display
4525 and add predicate argument.
4526 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4527 (desktop--reuse-list): New variable.
4528 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4529 New functions.
4530 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4531
f6dd8b36
MA
45322013-07-14 Michael Albinus <michael.albinus@gmx.de>
4533
4534 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4535
2ce3c565
DG
45362013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4537
763a086d
JB
4538 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4539 Highlight conversion methods on Kernel.
2ce3c565 4540
2cdb7698
AM
45412013-07-13 Alan Mackenzie <acm@muc.de>
4542
4543 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4544 and comment it out. This out-commenting enables certain C++
4545 declarations to be parsed correctly.
4546
1a67b811
EZ
45472013-07-13 Eli Zaretskii <eliz@gnu.org>
4548
1b796d6b
EZ
4549 * international/mule.el (define-coding-system): Doc fix.
4550
1a67b811
EZ
4551 * simple.el (default-font-height): Don't call font-info if the
4552 frame's default font didn't change since the frame was created.
4553 (Bug#14838)
4554
58fbe886
LL
45552013-07-13 Leo Liu <sdl.web@gmail.com>
4556
4557 * ido.el (ido-read-file-name): Guard against non-symbol value.
4558
1f0480d4
FEG
45592013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4560
4561 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4562 in nested defuns.
4563
97ead0e5
LL
45642013-07-13 Leo Liu <sdl.web@gmail.com>
4565
4566 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4567 ido-set-matches call. (Bug#6852)
4568
0880a952
DG
45692013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4570
4571 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4572 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4573 Ruby 2.0.
4574 (ruby-font-lock-keywords): Distinguish calls to functions with
4575 module-like names from module references. Highlight character
4576 literals.
4577
a7d8babb
SDJ
45782013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4579
4580 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4581 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4582
acfcc8c5
JB
45832013-07-12 Juanma Barranquero <lekktu@gmail.com>
4584
4585 * desktop.el (desktop--v2s): Remove unused local variable.
4586 (desktop-save-buffer): Make defvar-local; adjust docstring.
4587 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4588 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4589
051f2775
AS
45902013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4591
4592 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4593
f24e7572
GM
45942013-07-12 Eli Zaretskii <eliz@gnu.org>
4595
4596 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4597 (Bug#14842)
4598
539a920c
GM
45992013-07-12 Glenn Morris <rgm@gnu.org>
4600
4601 * doc-view.el: Require cl-lib at runtime too.
4602 (doc-view-remove-if): Remove.
4603 (doc-view-search-next-match, doc-view-search-previous-match):
4604 Use cl-remove-if.
4605
4606 * edmacro.el: Require cl-lib at runtime too.
4607 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4608 (edmacro-mismatch, edmacro-subseq): Remove.
4609
4610 * shadowfile.el: Require cl-lib.
4611 (shadow-remove-if): Remove.
4612 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4613 Use cl-remove-if.
4614
4615 * wid-edit.el: Require cl-lib.
4616 (widget-choose): Use cl-remove-if.
4617 (widget-remove-if): Remove.
4618
4619 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4620 (ebrowse-delete-if-not): Remove.
4621 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4622 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4623 Use cl-delete-if-not.
4624
1048af7c
JB
46252013-07-12 Juanma Barranquero <lekktu@gmail.com>
4626
4627 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4628 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4629
6c0674ee
LL
46302013-07-12 Leo Liu <sdl.web@gmail.com>
4631
4632 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4633
a19b3c2d
GM
46342013-07-11 Glenn Morris <rgm@gnu.org>
4635
4582a01c
GM
4636 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4637 (edebug-gensym-index, edebug-gensym):
4638 Remove reimplementation of cl-gensym.
4639 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4640
4641 * thumbs.el: Require cl-lib at run-time too.
4642 (thumbs-gensym-counter, thumbs-gensym):
4643 Remove reimplementation of cl-gensym.
4644 (thumbs-temp-file): Use cl-gensym.
4645
a19b3c2d
GM
4646 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4647 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4648 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4649 (ert--union, ert--gensym-counter, ert--gensym-counter)
4650 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4651 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4652 (ert-make-test-unbound, ert--expand-should-1)
4653 (ert--expand-should, ert--should-error-handle-error)
4654 (should-error, ert--explain-equal-rec)
4655 (ert--plist-difference-explanation, ert-select-tests)
4656 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4657 Use cl-lib functions rather than reimplementations.
4658
88f6a933
MA
46592013-07-11 Michael Albinus <michael.albinus@gmx.de>
4660
4661 * net/tramp.el (tramp-methods): Extend docstring.
4662 (tramp-connection-timeout): New defcustom.
4663 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4664 (with-tramp-progress-reporter): Simplify.
4665 (tramp-process-actions): Improve messages.
4666
4667 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4668 * net/tramp-sh.el (tramp-maybe-open-connection):
4669 Use `tramp-connection-timeout'.
4670 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4671 (Bug#14808)
4672
a43d577e
LL
46732013-07-11 Leo Liu <sdl.web@gmail.com>
4674
4675 * ido.el (ido-read-file-name): Conform to the requirements of
4676 read-file-name. (Bug#11861)
4677 (ido-read-directory-name): Conform to the requirements of
4678 read-directory-name.
4679
d77974bf
JB
46802013-07-11 Juanma Barranquero <lekktu@gmail.com>
4681
4682 * subr.el (delay-warning): New function.
4683
35cb8a3e
EZ
46842013-07-10 Eli Zaretskii <eliz@gnu.org>
4685
4686 * simple.el (default-line-height): New function.
4687 (line-move-partial, line-move): Use it instead of computing the
4688 line height inline.
4689 (line-move-partial): Always compute ROWH. If the last line is
4690 partially-visible, but its text is completely visible, allow
4691 cursor to enter such a partially-visible line.
4692
525c5c77
MA
46932013-07-10 Michael Albinus <michael.albinus@gmx.de>
4694
4695 Improve error messages. (Bug#14808)
4696
4697 * net/tramp.el (tramp-current-connection): New defvar, moved from
4698 tramp-sh.el.
0ac26976 4699 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4700 needed anymore.
0ac26976
SM
4701 (tramp-error-with-buffer): Show message in minibuffer.
4702 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4703 (with-tramp-progress-reporter): Improve messages.
4704 (tramp-process-actions): Use progress reporter. Delete process in
4705 case of error. Improve messages.
4706
763a086d
JB
4707 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4708 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4709 (tramp-current-connection): Remove.
525c5c77
MA
4710 (tramp-maybe-open-connection): The car of
4711 `tramp-current-connection' are the first 3 slots of the vector.
4712
c7a4d368
TZ
47132013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4714
4715 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4716 inside continued strings.
4717
954b166e
PE
47182013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4719
4720 Timestamp fixes for undo (Bug#14824).
4721 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4722
56973319
LL
47232013-07-10 Leo Liu <sdl.web@gmail.com>
4724
4725 * files.el (require-final-newline): Allow safe local value.
4726 (Bug#14834)
4727
5550a72c
LL
47282013-07-09 Leo Liu <sdl.web@gmail.com>
4729
4730 * ido.el (ido-read-directory-name): Handle fallback.
4731 (ido-read-file-name): Update DIR to ido-current-directory.
4732 (Bug#1516)
c28b9050 4733 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4734
70c46b28
DG
47352013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4736
4737 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4738 "autoload". Remove "warn lower camel case" section, previously
4739 commented out. Highlight negation char. Do not highlight the
4740 target in singleton method definitions.
4741
0b64b838
SM
47422013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4743
7fd72e2c
SM
4744 * faces.el (tty-setup-hook): Declare the hook.
4745
0b64b838
SM
4746 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4747 and detect when a guard/pred depends on local vars (bug#14773).
4748 (pcase--u1): Adjust caller.
4749
ab49d60b
EZ
47502013-07-08 Eli Zaretskii <eliz@gnu.org>
4751
4752 * simple.el (line-move-partial, line-move): Account for
4753 line-spacing.
701d79aa
EZ
4754 (line-move-partial): Avoid setting vscroll when the last
4755 partially-visible line in window is of default height.
ab49d60b 4756
2d756ae0
LMI
47572013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4758
4759 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4760 been used a while.
4761
ed095bd7
JB
47622013-07-07 Juanma Barranquero <lekktu@gmail.com>
4763
4764 * subr.el (read-quoted-char): Remove unused local variable `char'.
4765
f1e6674b
MK
47662013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4767
584ee3fc
GM
4768 * ediff.el (ediff-version): Version update.
4769 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4770 (ediff-merge-with-ancestor-command, ediff-directories-command)
4771 (ediff-directories3-command, ediff-merge-directories-command)
4772 (ediff-merge-directories-with-ancestor-command): New functions.
4773 All are command-line interfaces to ediff: to facilitate calling
4774 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4775
4776 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4777 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4778
584ee3fc
GM
4779 * viper.el (viper-version): Version update.
4780 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4781
584ee3fc
GM
47822013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4783
4784 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4785 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4786 (viper-intercept-ESC-key): Simplify.
4787 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4788 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4789 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4790 (viper-setup-ESC-to-escape): New functions.
4791 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4792 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4793
9aff9b38
EZ
47942013-07-07 Eli Zaretskii <eliz@gnu.org>
4795
5165d44a
JB
4796 * simple.el (default-font-height, window-screen-lines):
4797 New functions.
9aff9b38
EZ
4798 (line-move, line-move-partial): Use them instead of
4799 frame-char-height and window-text-height. This makes scrolling
4800 text smoother when the buffer's default face uses a font that is
4801 different from the frame's default font.
4802
1afb1d07
JD
48032013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4804
4805 * files.el (write-file): Do not display confirm dialog for NS,
4806 it does its own dialog, which can't be cancelled (Bug#14578).
4807
23de972a
EZ
48082013-07-06 Eli Zaretskii <eliz@gnu.org>
4809
4810 * simple.el (line-move-partial): Adjust the row returned by
4811 posn-at-point for the current window-vscroll. (Bug#14567)
4812
54a42486
MA
48132013-07-06 Michael Albinus <michael.albinus@gmx.de>
4814
4815 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4816 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4817 spaces.
4818
34ada5f4
MR
48192013-07-06 Martin Rudalics <rudalics@gmx.at>
4820
4821 * window.el (window-state-put-stale-windows): New variable.
4822 (window--state-put-2): Save list of windows without matching buffer.
4823 (window-state-put): Remove "bufferless" windows if possible.
4824
11e03d89
JB
48252013-07-06 Juanma Barranquero <lekktu@gmail.com>
4826
4827 * simple.el (alternatives-define): Remove leftover :group keyword.
4828 Tweak docstring.
4829
3504a4be
LL
48302013-07-06 Leo Liu <sdl.web@gmail.com>
4831
4832 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4833 (ido-enable-virtual-buffers): New variable.
4834 (ido-buffer-internal, ido-toggle-virtual-buffers)
4835 (ido-make-buffer-list): Use it.
4836 (ido-exhibit): Support turning on and off virtual buffers
4837 automatically.
4838
61e56e2c
JB
48392013-07-06 Juanma Barranquero <lekktu@gmail.com>
4840
4841 * simple.el (alternatives-define): New macro.
4842
321e1a9c
SM
48432013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * subr.el (read-quoted-char): Use read-key.
4846 (sit-for): Let read-event decode tty input (bug#14782).
4847
d610f6dd
SB
48482013-07-05 Stephen Berman <stephen.berman@gmx.net>
4849
4850 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4851 mode command and externally. Fix various related bugs.
4852 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4853 (todo-delete-file): New command.
4854 (todo-check-file): New function.
4855 (todo-show): Handle external deletion of the file we're trying to
4856 show (bug#14688). Replace called-interactively-p by an optional
4857 prefix argument to avoid problematic interaction with catch form
4858 when byte compiled (bug#14702).
4859 (todo-quit): Handle external deletion of the archive's todo file.
4860 Make sure the buffer that was visiting the archive file is still
4861 live before trying to bury it.
4862 (todo-category-completions): Handle external deletion of any
4863 category completion files.
4864 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4865 of todo files, in case of external deletion.
4866 (todo-add-file): Replace unnecessary setq by let-binding.
4867 (todo-find-archive): Check whether there are any archives.
4868 Replace unnecessary setq by let-binding.
4869 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4870 archive buffer whether or not the archive already exists.
4871 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4872 check if the archive is new; if it is, update list of archives.
4873 (todo-default-todo-file): Allow nil to be a valid value for when
4874 there are no todo files.
4875 (todo-reevaluate-default-file-defcustom): Use corrected definition
4876 of todo-default-todo-file.
4877 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4878 (todo-delete-category, todo-show-categories-table)
4879 (todo-category-number): Clarify comment.
4880 (todo-filter-items): Clarify documentation string.
4881 (todo-show-current-file, todo-display-as-todo-file)
4882 (todo-reset-and-enable-done-separator): Tweak documentation string.
4883 (todo-done-separator): Make separator length window-width, since
4884 bug#2749 is now fixed.
4885
ddbdfd6f
MA
48862013-07-05 Michael Albinus <michael.albinus@gmx.de>
4887
321e1a9c
SM
4888 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4889 Support both "gvfs-monitor-dir" and "inotifywait".
4890 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4891 `tramp-sh-file-notify-process-filter'.
4892 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4893 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4894
96eb829a
LL
48952013-07-05 Leo Liu <sdl.web@gmail.com>
4896
4897 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4898
cf13177e
YM
48992013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4900
4901 * frame.el (display-pixel-height, display-pixel-width)
4902 (display-mm-height, display-mm-width): Mention behavior on
4903 multi-monitor setups in docstrings.
4904 (w32-display-monitor-attributes-list): Declare function.
4905 (display-monitor-attributes-list): Use it.
4906
864c58ca
MA
49072013-07-04 Michael Albinus <michael.albinus@gmx.de>
4908
4909 * filenotify.el: New package.
4910
4911 * autorevert.el (top): Require filenotify.el.
4912 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4913 instead.
4914 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4915 (auto-revert-notify-handler): Use `file-notify-*' functions.
4916
4917 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4918
321e1a9c
SM
4919 * net/tramp.el (tramp-file-name-for-operation):
4920 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4921
4922 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4923 for `file-notify-add-watch' and `file-notify-rm-watch'.
4924 (tramp-process-sentinel): Improve trace.
4925 (tramp-sh-handle-file-notify-add-watch)
4926 (tramp-sh-file-notify-process-filter)
4927 (tramp-sh-handle-file-notify-rm-watch)
4928 (tramp-get-remote-inotifywait): New defuns.
4929
96673afe
JL
49302013-07-03 Juri Linkov <juri@jurta.org>
4931
4932 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4933 call of `occur-read-primary-args' to interactive spec.
4934
4935 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4936 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4937
924494f4
MM
49382013-07-03 Matthias Meulien <orontee@gmail.com>
4939
4940 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4941 `Buffer-menu-multi-occur'. Add it to the menu.
4942 (Buffer-menu-mode): Document it in docstring.
4943 (Buffer-menu-multi-occur): New command. (Bug#14673)
4944
56f75efc
DG
49452013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4946
4947 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4948 keywords and built-ins.
4949
9b057d61
GM
49502013-07-03 Glenn Morris <rgm@gnu.org>
4951
208dee4d
GM
4952 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4953
9b057d61
GM
4954 Make info-xref checks case-sensitive by default
4955 * info.el (Info-find-node, Info-find-in-tag-table)
4956 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4957 Add option for exact case matching of nodes.
4958 * info-xref.el (info-xref): New custom group.
4959 (info-xref-case-fold): New option.
4960 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4961
e01aa29c
LL
49622013-07-03 Leo Liu <sdl.web@gmail.com>
4963
4964 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4965
3086ca2e
DG
49662013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4967
4968 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4969 middle of block statement initially, lower the depth. Remove
4970 FIXME comment, not longer valid. Remove middle of block statement
4971 detection, no need to do that anymore since we've been using
4972 `ruby-parse-region' here.
4973
a3b49114
JD
49742013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4975
4976 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4977
08e5c823 49782013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4979
4980 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4981
2addf922
JB
49822013-07-01 Juanma Barranquero <lekktu@gmail.com>
4983
4984 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4985 (desktop-restore-in-current-display): New customization option.
4986 (desktop--excluded-frame-parameters): Add `font'.
4987 (desktop--save-frames): Rename from desktop--save-windows.
4988 (desktop--restore-in-this-display-p): New function.
4989 (desktop--make-full-frame): Remove unwanted width/height from
4990 full(width|height) frames.
4991 (desktop--restore-frames): Rename from desktop--restore-windows.
4992 Obey desktop-restore-current-display. Do not delete old frames or
4993 select a new frame unless we were able to restore at least one frame.
4994
ef099a94
MN
49952013-06-30 Michal Nazarewicz <mina86@mina86.com>
4996
4997 * files.el (find-file-noselect): Simplify conditional expression.
4998
4999 * remember.el (remember-append-to-file):
5000 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5001
5002 Add `remember-notes' function to store random notes across Emacs
5003 restarts.
5004 * remember.el (remember-data-file): Add :set callback to affect
5005 notes buffer (if any).
5006 (remember-notes): New command.
5007 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5008 New defcustoms for the `remember-notes' function.
5009 (remember-notes-save-and-bury-buffer): New command.
5010 (remember-notes-mode-map): New variable.
5011 (remember-mode): New minor mode.
5012 (remember-notes--kill-buffer-query): New function.
5013 * startup.el (initial-buffer-choice): Add notes to custom type.
5014
0865d506
EZ
50152013-06-30 Eli Zaretskii <eliz@gnu.org>
5016
0ba54312
EZ
5017 * bindings.el (right-char, left-char): Don't call sit-for, this is
5018 no longer needed. Use arithmetic comparison only for numerical
5019 arguments.
5020
ef099a94
MN
5021 * international/mule-cmds.el (select-safe-coding-system):
5022 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 5023
2fae38e5
LMI
50242013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5025
5026 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5027 progression on degenerate tables.
ef099a94 5028 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 5029
a47cbd64
JB
50302013-06-30 Juanma Barranquero <lekktu@gmail.com>
5031
5032 Some fixes and improvements for desktop frame restoration.
5033 It is still experimental and disabled by default.
5034 * desktop.el (desktop--save-windows): Put the selected frame at
5035 the head of the list.
5036 (desktop--make-full-frame): New function.
5037 (desktop--restore-windows): Try to re-select the frame that was
5038 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
5039 just show an error message and continue. Set up maximized frames
5040 so they have default non-maximized dimensions.
a47cbd64 5041
6dbafa30
DG
50422013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5043
ef099a94
MN
5044 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5045 Don't start heredoc inside a string or comment.
6dbafa30 5046
4c672a0f
EZ
50472013-06-29 Eli Zaretskii <eliz@gnu.org>
5048
5049 * bindings.el (visual-order-cursor-movement): New defcustom.
5050 (right-char, left-char): Provide visual-order cursor motion by
5051 calling move-point-visually. Update the doc strings.
5052
50960f36
KH
50532013-06-28 Kenichi Handa <handa@gnu.org>
5054
5055 * international/mule.el (define-coding-system): New coding system
5056 properties :inhibit-null-byte-detection,
5057 :inhibit-iso-escape-detection, and :prefer-utf-8.
5058 (set-buffer-file-coding-system): If :charset-list property of
5059 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5060 appropriate for setting.
5061
c1ea3abf
JB
5062 * international/mule-cmds.el (select-safe-coding-system):
5063 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5064 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
5065
5066 * international/mule-conf.el (prefer-utf-8): New coding system.
5067 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5068 files.
5069
75dbaf9d
IK
50702013-06-28 Ivan Kanis <ivan@kanis.fr>
5071
eadb6068
IK
5072 * net/shr.el (shr-render-region): New function.
5073
75dbaf9d
IK
5074 * net/eww.el: Autoload `eww-browse-url'.
5075
9ea5cf9f
DG
50762013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5077
c1ea3abf
JB
5078 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5079 Adapt to `package-desc-version' being a list.
5080 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
5081 archive element.
5082
39c0e36f
JB
50832013-06-27 Juanma Barranquero <lekktu@gmail.com>
5084
5085 New experimental feature to save&restore window and frame setup.
5086 * desktop.el (desktop-save-windows): New defcustom.
5087 (desktop--saved-states): New var.
5088 (desktop--excluded-frame-parameters): New defconst.
5089 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5090 (desktop--restore-windows, desktop--save-windows): New functions.
5091 (desktop-save): Call `desktop--save-windows'.
5092 (desktop-read): Call `desktop--restore-windows'.
5093
7f13406b
LMI
50942013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5095
ef099a94 5096 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 5097
1e072639
SB
50982013-06-27 Stephen Berman <stephen.berman@gmx.net>
5099
5100 * info.el (Info-try-follow-nearest-node): Move search for footnote
5101 above search for node name to prevent missing a footnote (bug#14717).
5102
f3e2cbde
SB
51032013-06-27 Stephen Berman <stephen.berman@gmx.net>
5104
5105 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5106
99906aa0
LL
51072013-06-27 Leo Liu <sdl.web@gmail.com>
5108
5109 * net/eww.el (eww-read-bookmarks): Check file size.
5110
539f75f4
SM
51112013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5112
5113 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5114 advice--pending if newdef is nil or an autoload (bug#13820).
5115 (advice-mapc): New function.
5116
843571cb
LMI
51172013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5118
5119 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5120 probably.
23a75d7f 5121 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
5122 (eww-add-bookmark): New command.
5123 (eww-bookmark-mode): New mode and commands.
a285ce99 5124 (eww-add-bookmark): Remove newlines from the title.
47fd571b 5125 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 5126
f2136e1e
GM
51272013-06-26 Glenn Morris <rgm@gnu.org>
5128
eab35f39
GM
5129 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5130 (hfy-size): Handle ttys. (Bug#14668)
5131
f2136e1e
GM
5132 * info-xref.el: Update for Texinfo 5 change in *note format.
5133 (info-xref-node-re, info-xref-note-re): New constants.
5134 (info-xref-check-buffer): Use info-xref-note-re.
5135
a49ff80c
SM
51362013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5137
a343d218
SM
5138 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5139
a49ff80c
SM
5140 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5141 nil terminate the loop (bug#14718).
5142
8308f184
LMI
51432013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5144
5145 * net/eww.el: Rework history traversal. When going forward/back,
5146 put these actions into the history, too, so that they can be
5147 replayed.
26bf2b82 5148 (eww-render): Move the history reset to the correct buffer.
8308f184 5149
ec64c273
JL
51502013-06-25 Juri Linkov <juri@jurta.org>
5151
5152 * files-x.el (modify-dir-local-variable): Change the header comment
5153 in the file with directory local variables. (Bug#14692)
5154
e080a9d7
JL
5155 * files-x.el (read-file-local-variable-value): Add `default'.
5156 (Bug#14710)
5157
bfbc93a1
IK
51582013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5159
5160 * net/eww.el (eww-make-unique-file-name): Create a unique file
5161 name before saving to entering `y' accidentally asynchronously.
5162
51632013-06-25 Ivan Kanis <ivan@kanis.fr>
5164
5165 * net/eww.el (eww-download): New command and keystroke.
5166
16f74f10
LMI
51672013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5168
a49ff80c 5169 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5170
5171 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5172 be more consistent with Info and dired.
5173
5174 * net/eww.el (eww-mode-map): Ditto.
5175
12059709
SM
51762013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5179 packages from archives.
5180 (package-archive-contents): Change format; include obsolete packages.
5181 (package-desc): Use `dir' to mark builtin packages.
5182 (package--from-builtin): Set the `dir' field to `builtin'.
5183 (generated-autoload-file, version-control): Declare.
5184 (package-compute-transaction): Change first arg and return value to be
5185 lists of package-descs. Adjust to new package-archive-contents format.
5186 (package--add-to-archive-contents): Adjust to new
5187 package-archive-contents format.
5188 (package-download-transaction): Arg is now a list of package-descs.
5189 (package-install): If `pkg' is a package name, pass it as
5190 a requirement, so it is subject to the usual (e.g. disabled) checks.
5191 (describe-package): Accept package-desc as well.
5192 (describe-package-1): Describe a specific package-desc. Add links to
5193 other package-descs for the same package name.
5194 (package-menu-describe-package): Pass the actual package-desc.
5195 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5196 works correctly.
5197 (package-desc-status): New function.
5198 (package-menu--refresh): New function, extracted
5199 from package-menu--generate.
5200 (package-menu--generate): Use it.
5201 (package-delete): Update package-alist.
5202 (package-menu-execute): Don't call package-initialize.
5203
5204 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5205 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5206 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5207 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5208 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5209 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5210
8bbdea0f
MR
52112013-06-25 Martin Rudalics <rudalics@gmx.at>
5212
5213 * window.el (window--state-get-1): Workaround for bug#14527.
5214 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5215
e82b0991
LMI
52162013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5217
5218 * net/eww.el (eww-back-url): Implement the history by stashing all
5219 the data into a list.
d3f0f918 5220 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5221
c763842b
SM
52222013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5225 for values and use read--expression for expressions (bug#14710).
5226 (read-file-local-variable): Avoid setq.
5227 (read-file-local-variable-mode): Use minor-mode-list.
5228
bceff189
RW
52292013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5230
864c58ca 5231 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5232 for DOI URLs.
5233
45f431c6
RW
52342013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5235
864c58ca 5236 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5237 Update imenu-support when dialect changes.
5238
f42d8237
LL
52392013-06-25 Leo Liu <sdl.web@gmail.com>
5240
5241 * ido.el (ido-read-internal): Allow forward slash on windows.
5242
be549ce6
LMI
52432013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5244
5245 * net/eww.el (eww): Start of strings is \\`, not ^.
5246
71d4c19d
IK
52472013-06-24 Ivan Kanis <ivan@kanis.fr>
5248
5196f88a
IK
5249 * net/shr.el (shr-browse-url): Fix interactive spec.
5250
71d4c19d
IK
5251 * net/eww.el (eww): Add a trailing slash to domain names.
5252
ae36ca55
JB
52532013-06-24 Juanma Barranquero <lekktu@gmail.com>
5254
5255 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5256
0ebd92a3
LMI
52572013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5258
bdaa086b
LMI
5259 * net/shr.el (shr-browse-url): Use an external browser if given a
5260 prefix.
5261
c763842b 5262 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5263
b89fc156
IK
52642013-06-24 Ivan Kanis <ivan@kanis.fr>
5265
5266 * net/eww.el (eww): Work more correctly for file: URLs.
5267 (eww-detect-charset): Allow quoted charsets.
5268 (eww-yank-page-url): New command and keystroke.
5269
18eb4bca
DU
52702013-06-24 Daiki Ueno <ueno@gnu.org>
5271
5272 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5273 file name of gpg executable.
5274 (epg-context-program): New function.
5275 (epg-context-home-directory): New function.
5276 (epg-context-set-program): New function.
5277 (epg-context-set-home-directory): New function.
5278 (epg--start): Use `epg-context-program' instead of
5279 'epg-gpg-program'.
5280 (epg--list-keys-1): Likewise.
5281
6c6268c8
LL
52822013-06-24 Leo Liu <sdl.web@gmail.com>
5283
5284 * ido.el (ido-read-internal): Fix bug#14620.
5285
5e400cb3
JB
52862013-06-23 Juanma Barranquero <lekktu@gmail.com>
5287
5288 * faces.el (face-documentation): Simplify.
5289 (read-face-attribute, tty-find-type, x-resolve-font-name):
5290 Use `string-match-p'.
5291 (list-faces-display): Use `string-match-p'. Simplify.
5292 (face-spec-recalc): Check face to avoid face alias loops.
5293 (read-color): Use `string-match-p' and non-capturing parenthesis.
5294
f3f9606c
LMI
52952013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5296
5297 * net/shr.el (shr-rescale-image): Use the new
5298 :max-width/:max-height functionality.
5299
a3ca09b9
IK
53002013-06-23 Ivan Kanis <ivan@kanis.fr>
5301
5302 * net/eww.el (eww-search-prefix): New variable.
5303 (eww): Use it.
f865b474
IK
5304 (eww-external-browser): New variable.
5305 (eww-mode-map): New keystroke.
5306 (eww-browse-with-external-browser): New command.
a3ca09b9 5307
e854cfc7
IK
5308 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5309
18bb9e21
JB
53102013-06-23 Juanma Barranquero <lekktu@gmail.com>
5311
5312 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5313 Don't skip aligning the next header field when padding is 0;
5314 otherwise, field width is not respected unless the title is as
5315 wide as the field.
5316
5b165ade
SM
53172013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * emacs-lisp/package.el (package-el-version): Remove.
5320 (package-process-define-package): Fix inf-loop.
5321 (package-install): Allow symbols as arguments again.
5322
12adebe9
DG
53232013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5324
5325 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5326 add some more keyword-like methods.
5327 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5328
388573ee
JB
53292013-06-22 Juanma Barranquero <lekktu@gmail.com>
5330
5331 * bs.el (bs-buffer-show-mark): Make defvar-local.
5332 (bs-mode): Use setq-local.
5333
5334 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5335 (emacs-lock--try-unlocking): Make defvar-local.
5336
4582a01c 53372013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5338
2663dd23
GM
5339 * play/cookie1.el (cookie-apropos): Minor simplification.
5340
3d94f3ad
GM
5341 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5342
f72e2fdb
DG
53432013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5344
5345 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5346 `regexp-opt', it breaks the build during dumping.
5347
73eab938
DG
53482013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5349
c763842b
SM
5350 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5351 Highlight keyword-like methods on Kernel and Module with
73eab938 5352 font-lock-builtin-face.
5cf8176d
DG
5353 (auto-mode-alist): Consolidate different entries into one regexp
5354 and add more *file-s.
73eab938 5355
d26255f6
SB
53562013-06-21 Stephen Berman <stephen.berman@gmx.net>
5357
5358 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5359
5360 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5361 (diary-entry): Use it in the action of this button type instead of
5362 diary-goto-entry.
5363
5364 * calendar/todo-mode.el: New version.
5365 (todo-add-category): Append new category to end of file and give
5366 it the highest number, instead of putting it at the beginning and
5367 giving it 0. Incorporate noninteractive functionality.
5368 (todo-forward-category): Adapt to 1-based category numbering.
5369 Allow skipping over archived categories.
5370 (todo-backward-category): Derive from todo-forward-category.
5371 (todo-backward-item, todo-forward-item): Make noninteractive and
5372 delegate interactive part to new commands. Make sensitive to done items.
5373 (todo-categories): Make value an alist of category names and
5374 vectors of item counts.
5375 (todo-category-beg): Make a defconst.
5376 (todo-category-number): Use 1 instead of 0 as initial value.
5377 (todo-category-select): Make sensitive to overlays, optional item
5378 highlighting and done items.
5379 (todo-delete-item): Make sensitive to overlays and marked and done items.
5380 (todo-edit-item): Make sensitive to overlays and editing of
5381 date/time header optional. Add format checks.
5382 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5383 no-op if point is not on an item. Advertise using todo-edit-quit.
5384 (todo-edit-mode): Make sensitive to new format, font-locking, and
5385 multiple todo files.
5386 (todo-insert-item, todo-insert-item-here): Derive from
5387 todo-basic-insert-item and extend functionality.
5388 (todo-item-end, todo-item-start): Make sensitive to done items.
5389 (todo-item-string): Don't return text properties. Restore point.
5390 (todo-jump-to-category): Make sensitive to multiple todo files and
5391 todo archives. Use extended category completion.
5392 (todo-lower-item, todo-raise-item): Rename to *-priority and
5393 derive from todo-set-item-priority.
5394 (todo-mode): Derive from special-mode. Make sensitive to new
5395 format, font-locking and multiple todo files. Make read-only.
5396 (todo-mode-map): Don't suppress digit keys, so they can supply
5397 prefix arguments. Add many new key bindings.
5398 (todo-prefix): Insert as an overlay instead of file text.
5399 Change semantics from diary date expression to purely visual mark.
5400 (todo-print): Rename to todo-print-buffer. Make buffer display
5401 features printable. Remove option to restrict number of items
5402 printed. Add option to print to file.
5403 (todo-print-function): Rename to todo-print-buffer-function.
5404 (todo-quit): Extend to handle exiting new todo modes.
5405 (todo-remove-item): Make sensitive to overlays.
5406 (todo-save): Extend to buffers of filtered items.
5407 (todo-show): Make sensitive to done items, multiple todo files and
5408 new todo modes. Offer to convert legacy todo file before creating
5409 first new todo file.
5410 (todo-show-priorities): Rename to todo-top-priorities.
5411 Change semantics of value 0.
5412 (todo-top-priorities): Rename to todo-filter-top-priorities,
5413 derive from todo-filter-items and extend functionality.
5414 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5415 and extend functionality to other types of filtered items.
5416 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5417 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5418 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5419 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5420 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5421 (todo-edit-mode-hook, todo-entry-prefix-function)
5422 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5423 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5424 (todo-initials, todo-insert-threshold, todo-item-string-start)
5425 (todo-line-string, todo-menu, todo-mode-hook)
5426 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5427 (todo-print-priorities, todo-remove-separator)
5428 (todo-save-top-priorities-too, todo-string-count-lines)
5429 (todo-string-multiline-p, todo-time-string-format)
5430 (todo-tmp-buffer-name): Remove.
5431 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5432 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5433 (todo-edit-category-diary-inclusion)
5434 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5435 (todo-edit-file, todo-edit-item-date-day)
5436 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5437 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5438 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5439 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5440 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5441 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5442 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5443 (todo-filter-top-priorities-multifile, todo-find-archive)
5444 (todo-find-filtered-items-file, todo-go-to-source-item)
5445 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5446 (todo-jump-to-archive-category, todo-lower-category)
5447 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5448 (todo-move-category, todo-move-item, todo-next-button)
5449 (todo-next-item, todo-padded-string, todo-powerset)
5450 (todo-previous-button, todo-previous-item)
5451 (todo-print-buffer-to-file, todo-raise-category)
5452 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5453 (todo-set-category-number, todo-set-item-priority)
5454 (todo-set-top-priorities-in-category)
5455 (todo-set-top-priorities-in-file, todo-show-categories-table)
5456 (todo-sort-categories-alphabetically-or-numerically)
5457 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5458 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5459 (todo-toggle-item-header, todo-toggle-item-highlighting)
5460 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5461 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5462 (todo-unarchive-items, todo-unmark-category): New commands.
5463 (todo-absolute-file-name, todo-add-to-buffer-list)
5464 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5465 (todo-basic-insert-item, todo-category-completions)
5466 (todo-category-number, todo-category-string-matcher-1)
5467 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5468 (todo-check-format, todo-clear-matches)
5469 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5470 (todo-current-category, todo-date-string-matcher)
5471 (todo-define-insertion-command, todo-diary-expired-matcher)
5472 (todo-diary-goto-entry, todo-diary-item-p)
5473 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5474 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5475 (todo-done-item-section-p, todo-done-separator)
5476 (todo-done-string-matcher, todo-files, todo-filter-items)
5477 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5478 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5479 (todo-insert-category-line, todo-insert-item-from-calendar)
5480 (todo-insert-sort-button, todo-insert-with-overlays)
5481 (todo-insertion-command-name, todo-insertion-key-bindings)
5482 (todo-label-to-key, todo-longest-category-name-length)
5483 (todo-make-categories-list, todo-mode-external-set)
5484 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5485 (todo-modes-set-3, todo-multiple-filter-files)
5486 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5487 (todo-read-category, todo-read-date, todo-read-dayname)
5488 (todo-read-file-name, todo-read-time)
5489 (todo-reevaluate-category-completions-files-defcustom)
5490 (todo-reevaluate-default-file-defcustom)
5491 (todo-reevaluate-filelist-defcustoms)
5492 (todo-reevaluate-filter-files-defcustom)
5493 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5494 (todo-reset-done-separator, todo-reset-done-separator-string)
5495 (todo-reset-done-string, todo-reset-global-current-todo-file)
5496 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5497 (todo-reset-prefix, todo-set-categories)
5498 (todo-set-date-from-calendar, todo-set-show-current-file)
5499 (todo-set-top-priorities, todo-short-file-name)
5500 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5501 (todo-total-item-counts, todo-update-buffer-list)
5502 (todo-update-categories-display, todo-update-categories-sexp)
5503 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5504 New functions.
5505 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5506 New major modes.
5507 (todo-categories, todo-display, todo-edit, todo-faces)
5508 (todo-filtered): New defgroups.
5509 (todo-archived-only, todo-button, todo-category-string, todo-date)
5510 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5511 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5512 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5513 (todo-add-item-if-new-category, todo-always-add-time-string)
5514 (todo-categories-align, todo-categories-archived-label)
5515 (todo-categories-category-label, todo-categories-diary-label)
5516 (todo-categories-done-label, todo-categories-number-separator)
5517 (todo-categories-todo-label, todo-categories-totals-label)
5518 (todo-category-completions-files, todo-completion-ignore-case)
5519 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5520 (todo-done-separator-string, todo-done-string)
5521 (todo-files-function, todo-filter-done-items, todo-filter-files)
5522 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5523 (todo-initial-category, todo-initial-file, todo-item-mark)
5524 (todo-legacy-date-time-regexp, todo-mode-line-function)
5525 (todo-nondiary-marker, todo-number-prefix)
5526 (todo-print-buffer-function, todo-show-current-file)
5527 (todo-show-done-only, todo-show-first, todo-show-with-done)
5528 (todo-skip-archived-categories, todo-top-priorities-overrides)
5529 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5530 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5531 New defcustoms.
5532 (todo-category-done, todo-date-pattern, todo-date-string-start)
5533 (todo-diary-items-buffer, todo-done-string-start)
5534 (todo-filtered-items-buffer, todo-item-start)
5535 (todo-month-abbrev-array, todo-month-name-array)
5536 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5537 (todo-top-priorities-buffer): New defconsts.
5538 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5539 (todo-categories-with-marks, todo-category-string-face)
5540 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5541 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5542 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5543 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5544 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5545 (todo-font-lock-keywords, todo-global-current-todo-file)
5546 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5547 (todo-insertion-commands-args)
5548 (todo-insertion-commands-args-genlist)
5549 (todo-insertion-commands-names, todo-insertion-map)
5550 (todo-key-bindings-t, todo-key-bindings-t+a)
5551 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5552 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5553 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5554 (todo-visited): New variables.
5555
cad5d1cb
GM
55562013-06-21 Glenn Morris <rgm@gnu.org>
5557
5558 * play/cookie1.el (cookie-apropos): Add optional display argument.
5559 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5560 (psychoanalyze-pinhead): Use cookie-doctor.
5561
9e277302
JB
55622013-06-21 Juanma Barranquero <lekktu@gmail.com>
5563
5564 * emacs-lisp/package.el (tar-get-file-descriptor)
5565 (tar--extract): Declare.
5566
c5b0993e
EW
55672013-06-21 Eduard Wiebe <usenet@pusto.de>
5568
5569 Extend flymake's warning predicate to be a function (bug#14217).
5570 * progmodes/flymake.el (flymake-warning-predicate): New.
5571 (flymake-parse-line): Use it.
5572 (flymake-warning-re): Make obsolete alias to
5573 `flymake-warning-predicate'.
5574
a7d2d465
SM
55752013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5578 (package-obsolete-list): Remove.
5579 (package-activate): Remove min-version argument. Add `force' argument.
5580 Adjust to new package-alist format.
5581 (package-mark-obsolete): Remove.
5582 (package-unpack): Force reload of the package's autoloads.
5583 (package-installed-p): Check builtins if the installed package is not
5584 recent enough.
5585 (package-initialize): Don't reset package-obsolete-list.
5586 Don't specify which package version to activate.
5587 (package-process-define-package, describe-package-1)
5588 (package-menu--generate): Adjust to new package-alist format.
5589
cedf5c9d
JB
55902013-06-21 Juanma Barranquero <lekktu@gmail.com>
5591
5592 * allout-widgets.el (allout-widgets-mode-off)
5593 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5594 (allout-widgets-post-command-business)
5595 (allout-widgets-after-copy-or-kill-function)
5596 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5597 (allout-decorate-item-and-context)
5598 (allout-graphics-modification-handler): Fix typos in docstrings.
5599 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5600
5601 * cmuscheme.el (scheme-start-file): Doc fix.
5602 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5603 (scheme-input-filter): Use `string-match-p'.
5604
5605 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5606
5607 * dired-x.el: Use Dired consistently in docstrings.
5608
5609 * dired.el: Use Dired consistently in docstrings.
5610 (dired-readin, dired-mode): Use `setq-local'.
5611 (dired-switches-alist): Make defvar-local.
5612 (dired-buffers-for-dir): Use `zerop'.
5613 (dired-safe-switches-p, dired-switches-escape-p)
5614 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5615 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5616 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5617 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5618 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5619 (dired-toggle-marks, dired-mark-files-containing-regexp)
5620 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5621 (dired-flag-auto-save-files, dired-flag-backup-files):
5622 Use `looking-at-p'.
5623 (dired-mark-files-regexp, dired-build-subdir-alist):
5624 Use `string-match-p', `looking-at-p'.
5625
5626 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5627 (direct-print-region-helper): Use `string-match-p'.
5628
aed838b5
LL
56292013-06-21 Leo Liu <sdl.web@gmail.com>
5630
cedf5c9d
JB
5631 * comint.el (comint-redirect-results-list-from-process):
5632 Fix infinite loop.
aed838b5 5633
d80a808f
LMI
56342013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5635
5636 * net/eww.el (eww-update-header-line-format): Quote % characters.
5637
e7a526e3
GM
56382013-06-21 Glenn Morris <rgm@gnu.org>
5639
5640 * play/cookie1.el (cookie): New custom group.
5641 (cookie-file): New option.
5642 (cookie-check-file): New function.
5643 (cookie): Make it interactive. Make start and end messages optional.
5644 Interactively, display the result. Default to cookie-file.
5645 (cookie-insert): Default to cookie-file.
5646 (cookie-snarf): Make start and end messages optional.
5647 Default to cookie-file. Use with-temp-buffer.
5648 (cookie-read): Rename from read-cookie.
5649 Make start and end messages optional. Default to cookie-file.
5650 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5651 Do not autoload it.
e7a526e3
GM
5652 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5653 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5654
62efb35e
LL
56552013-06-21 Leo Liu <sdl.web@gmail.com>
5656
5657 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5658
21e3f963
GM
56592013-06-21 Glenn Morris <rgm@gnu.org>
5660
5661 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5662
fd846ab4
SM
56632013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5664 Daniel Hackney <dan@haxney.org>
5665
5666 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5667 Consolidate the single-file vs tarball code.
5668 (package-desc-suffix): New function.
5669 (package-desc-full-name): Don't bother inlining it.
5670 (package-load-descriptor): Return the new package-desc.
5671 (package-mark-obsolete): Remove unused arg `package'.
5672 (package-unpack): Make it work for single files as well.
5673 Make it update package-alist.
5674 (package--make-autoloads-and-stuff): Rename from
5675 package--make-autoloads-and-compile. Don't compile any more.
5676 (package--compile): New function.
5677 (package-generate-description-file): New function, extracted from
5678 package-unpack-single.
5679 (package-unpack-single): Remove.
5680 (package--with-work-buffer): Add indentation and debugging info.
5681 (package-download-single): Remove.
5682 (package-install-from-archive): Rename from package-download-tar, make
5683 it take a pkg-desc, and make it work for single files as well.
5684 (package-download-transaction): Simplify.
5685 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5686 external tar program.
5687 (package-install-from-buffer): Remove `pkg-desc' argument.
5688 Use package-tar-file-info for tar-mode buffers.
5689 (package-install-file): Simplify accordingly.
5690 (package-archive-base): Change to take a pkg-desc.
5691 * tar-mode.el (tar--check-descriptor): New function, extracted from
5692 tar-get-descriptor.
5693 (tar-get-descriptor): Use it.
5694 (tar-get-file-descriptor): New function.
5695 (tar--extract): New function, extracted from tar-extract.
5696 (tar--extract): Use it.
5697 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5698 case the summary uses non-ascii. Adjust to new calling convention of
5699 package-tar-file-info.
5700
b7deae5e
LL
57012013-06-21 Leo Liu <sdl.web@gmail.com>
5702
fd846ab4
SM
5703 * comint.el (comint-redirect-results-list-from-process):
5704 Fix random delay. (Bug#14681)
b7deae5e 5705
7a65a0b2
JB
57062013-06-21 Juanma Barranquero <lekktu@gmail.com>
5707
5708 * profiler.el (profiler-format-number): Use log, not log10.
5709
1493c2af
JB
57102013-06-20 Juanma Barranquero <lekktu@gmail.com>
5711
5712 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5713
aff6371e
SM
57142013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5715
5716 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5717 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5718 yet available.
5719 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5720 (AUTOGENEL): ... here.
5721 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5722 (cl--defsubst-expand): Use it.
5723
89561f72
PE
57242013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5725
5726 * subr.el (log10): Move here from C code, and declare as obsolete.
5727 All uses of (log10 X) replaced with (log X 10).
5728
47199123
JB
57292013-06-20 Juanma Barranquero <lekktu@gmail.com>
5730
5731 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5732 Declare with `defvar-local'.
5733 (tabulated-list-use-header-line, tabulated-list-entries)
5734 (tabulated-list-padding, tabulated-list-printer)
5735 (tabulated-list-sort-key): Declare with `defvar-local'.
5736 (tabulated-list-init-header, tabulated-list-print-fake-header):
5737 Use `setq-local'.
5738
4a172eab
MA
57392013-06-20 Michael Albinus <michael.albinus@gmx.de>
5740
47199123
JB
5741 * arc-mode.el (archive-mode): Add `archive-write-file' to
5742 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5743
5fc0acc0
JB
57442013-06-20 Juanma Barranquero <lekktu@gmail.com>
5745
d5b27848
JB
5746 * cus-edit.el (custom-commands): Fix typos.
5747 (custom-display): Fix tooltip text.
5748 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5749 Fix typos in docstrings.
5750 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5751 (custom-unlispify-menu-entry, custom-magic-value-create)
5752 (custom-add-see-also, custom-group-value-create): Use ?\s.
5753 (custom-guess-type, customize-apropos, editable-field)
5754 (custom-face-value-create): Use `string-match-p'.
5755 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5756
5757 * custom.el (custom-load-symbol): Use `string-match-p'.
5758
a5c581d8
JB
5759 * ansi-color.el: Convert to lexical binding.
5760 (ansi-colors): Fix URL.
5761 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5762 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5763 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5764
970ad972
G
57652013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5766
5767 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5768
5769 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5770
57712013-06-19 Tom Tromey <tromey@redhat.com>
5772
5773 * net/eww.el (eww-top-url): Remove.
5774 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5775 (eww-render): Set new variables. Don't set eww-top-url.
5776 (eww-handle-link): Handle "prev", "home", and "contents".
5777 Downcase the rel text.
5778 (eww-top-url): Choose best top URL.
5779
57802013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5781
5782 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5783 relying in widget.el. Using widget.el leads to too many
5784 user interface inconsistencies.
5785 (eww-self-insert): Implement entering commands in text fields.
5786 (eww-process-text-input): New function to make text input field editing
5787 work.
5788 (eww-submit): Rewrite to use the new-style form methods.
5789 (eww-select-display): Display the correct selected item.
5790 (eww-change-select): Implement changing the select value.
5791 (eww-toggle-checkbox): Implement radio/checkboxes.
5792 (eww-update-field): Fix compilation error.
5793 (eww-tag-textarea): Implement <textarea>.
5794
5795 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5796 we don't shadow mode-specific bindings.
5797
5798 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5799 nothing to push.
5800
5801 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5802
4582a01c 58032013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5804
5805 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5806
15b263dc
MA
58072013-06-19 Michael Albinus <michael.albinus@gmx.de>
5808
5809 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5810 not needed.
5811
5812 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5813
8f5297f7
LMI
58142013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5815
5816 * net/browse-url.el (browse-url-browser-function):
5817 `eww-browse-url' has the right calling signature, `eww' does not.
5818
011c4552
GM
58192013-06-19 Glenn Morris <rgm@gnu.org>
5820
2285bd27
GM
5821 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5822 Only eval autoloaded macros.
5823 (byte-compile-autoload): Only give the macro warning for macros.
5824
1d653303
GM
5825 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5826 (ps-underlined-faces): Declare.
5827
bdd779ec
GM
5828 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5829 (speedbar-add-supported-extension): Declare.
5830
011c4552
GM
5831 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5832 Don't include a date stamp in the header of the generated file;
5833 it leads to needless differences between output files.
5834
e59dfb0e
MA
58352013-06-19 Michael Albinus <michael.albinus@gmx.de>
5836
c763842b
SM
5837 * net/secrets.el (secrets-struct-secret-content-type):
5838 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5839 Some servers do not offer introspection.
e59dfb0e 5840
102626e2
SM
58412013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * electric.el (electric-pair-mode): Improve interaction with
5844 electric-layout-mode.
5845 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5846 (electric-pair-syntax): Use text-mode-syntax-table in comments
5847 and strings.
5848 (electric-pair--insert): New function.
5849 (electric-pair-post-self-insert-function): Use it and
5850 electric--after-char-pos.
5851
ad528125
LL
58522013-06-19 Leo Liu <sdl.web@gmail.com>
5853
5854 * progmodes/octave.el (octave-help): Fix regexp.
5855
924d6997
G
58562013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5857
5858 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5859 (shr-table-horizontal-line): Allow nil as a value, and change the
5860 default.
5861 (shr-insert-table-ruler): Respect the nil value.
5862
58632013-06-18 Tom Tromey <tromey@barimba>
5864
5865 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5866 New defvars.
5867 (eww-open-file): New defun.
5868 (eww-render): Initialize new variables.
5869 (eww-display-html): Handle "link" and "a".
5870 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5871 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5872 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5873 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5874 New defuns.
924d6997 5875
d1bbba4f
DG
58762013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5877
5878 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5879 Distinguish ternary operator tokens from slash symbol and slash
5880 char literal.
5881
14dd22d2
JB
58822013-06-18 Juanma Barranquero <lekktu@gmail.com>
5883
5884 Convert symbol prettification into minor mode and global minor mode.
5885
5886 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5887 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5888 (prettify-symbols--keywords): Rename from
5889 `prog-prettify-symbols-alist' and make a local defvar.
5890 (prettify-symbols--compose-symbol): Rename from
5891 `prog--prettify-font-lock-compose-symbol'.
5892 (prettify-symbols--make-keywords): Rename from
5893 `prog-prettify-font-lock-symbols-keywords' and simplify.
5894 (prog-prettify-install): Remove.
5895 (prettify-symbols-mode): New minor mode, based on
5896 `prog-prettify-install'.
5897 (turn-on-prettify-symbols-mode): New function.
5898 (global-prettify-symbols-mode): New globalized minor mode.
5899
5900 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5901 * progmodes/cfengine.el (cfengine3-mode):
5902 * progmodes/perl-mode.el (perl-mode): Don't call
5903 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5904
292c880c
JL
59052013-06-18 Juri Linkov <juri@jurta.org>
5906
5907 * files-x.el (modify-file-local-variable-message): New function.
5908 (modify-file-local-variable)
5909 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5910 and call `modify-file-local-variable-message' when it's non-nil.
5911 (add-file-local-variable, delete-file-local-variable)
5912 (add-file-local-variable-prop-line)
5913 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5914 and use it. (Bug#9820)
5915
0950aa27
JL
59162013-06-18 Juri Linkov <juri@jurta.org>
5917
5918 * emulation/vi.el (vi-shell-op):
5919 * emulation/vip.el (vip-execute-com, ex-command):
5920 * emulation/viper-cmd.el (viper-exec-bang):
5921 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5922 the call of `shell-command-on-region'. (Bug#14637)
5923
5924 * simple.el (shell-command-on-region): Doc fix.
5925
8fbcca16
SM
59262013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5927
5928 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5929 (bug#14633).
5930
dd7426ea
GM
59312013-06-18 Glenn Morris <rgm@gnu.org>
5932
4ba54f7d
GM
5933 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5934
dd7426ea
GM
5935 * newcomment.el (comment-search-forward, comment-search-backward):
5936 Doc fix. (Bug#14376)
5937
58aa805b
JB
59382013-06-18 Juanma Barranquero <lekktu@gmail.com>
5939
5940 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5941 (buffer-face-mode-invoke): Doc fix.
5942
9a08a617
MM
59432013-06-18 Matthias Meulien <orontee@gmail.com>
5944
5945 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5946 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5947
f2f426ca
GM
59482013-06-18 Glenn Morris <rgm@gnu.org>
5949
9445f99b
GM
5950 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5951 Replace obsolete function generic-make-keywords with its expansion.
5952
e0df2d14
GM
5953 * progmodes/python.el (ffap-alist): Declare.
5954
f2f426ca
GM
5955 * textmodes/reftex.el (bibtex-mode-map): Declare.
5956
f7f9a720
SM
59572013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5960 (package-unpack, package-unpack-single): Return the pkg-dir.
5961 (package-download-transaction): Use it to update package-alist.
5962
57ff04e0
LMI
59632013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5964
5965 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5966 possible choice.
5967
c048c022
JL
59682013-06-17 Juri Linkov <juri@jurta.org>
5969
5970 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5971
b5bcaee5
DG
59722013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5973
a020afb9
JB
5974 * emacs-lisp/package.el (package-load-descriptor):
5975 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5976 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5977
551e07e5
JB
59782013-06-17 Juanma Barranquero <lekktu@gmail.com>
5979
5980 * startup.el (command-line): Expand package name returned by
5981 `package--description-file' (bug#14639).
5982
d363bffb
DG
59832013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5984
5985 * emacs-lisp/package.el (package-load-descriptor): Do not call
5986 `emacs-lisp-mode', just use its syntax table.
5987
f612933b
JB
59882013-06-17 Juanma Barranquero <lekktu@gmail.com>
5989
5990 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5991 `font-lock-extra-managed-props' if any prettifying keyword is added.
5992 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5993 (prog-mode): Use `setq-local'.
5994
db3b7db5
SM
59952013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5996
5997 * international/characters.el (standard-case-table): Set syntax of ?»
5998 and ?« to punctuation.
5999
f3d674df
JB
60002013-06-16 Juanma Barranquero <lekktu@gmail.com>
6001
6002 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6003 Save relevant match data before calling `syntax-ppss' (bug#14595).
6004
31489a32
JL
60052013-06-15 Juri Linkov <juri@jurta.org>
6006
6007 * files-x.el (modify-file-local-variable-prop-line): Add local
6008 variables to the end of the existing comment on the first line.
6009 Use `file-auto-mode-skip' to skip interpreter magic line,
6010 and also skip XML declaration.
6011
66bd25ab
SM
60122013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6013
6014 * startup.el (package--builtin-versions): New var.
6015 (package-subdirectory-regexp): Remove.
6016 (package--description-file): Hard code its value instead.
6017
6018 * emacs-lisp/package.el: Don't activate packages older than builtin.
6019 (package-obsolete-list): Rename from package-obsolete-alist, and make
6020 it into a simple list of package-desc.
6021 (package-strip-version): Remove.
6022 (package-built-in-p): Use package--builtin-versions.
6023 (package-mark-obsolete): Simplify.
6024 (package-process-define-package): Mark it obsolete if older than the
6025 builtin version.
6026 (package-handle-response): Use line-end-position.
6027 (package-read-archive-contents, package--download-one-archive):
6028 Simplify.
6029 (package--add-to-archive-contents): Skip if older than the builtin or
6030 installed version.
6031 (package-menu-describe-package): Fix last change.
6032 (package-list-unversioned): New var.
6033 (package-menu--generate): Use it.
6034
6035 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6036 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6037 (autoload-builtin-package-versions): New variable.
6038 (autoload-generate-file-autoloads): Use them.
6039 Remove the list of autoloaded functions/macros from the
6040 (autoload...) comments.
6041
6042 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6043
9583ec36
EZ
60442013-06-15 Eli Zaretskii <eliz@gnu.org>
6045
6046 * simple.el (line-move-partial): Don't jump to the next screen
6047 line as soon as it becomes visible. Instead, continue enlarging
6048 the vscroll until the portion of a tall screen line that's left on
6049 display is about the height of the frame's default font.
6050 (Bug#14567)
6051
f0100d8a
GM
60522013-06-15 Glenn Morris <rgm@gnu.org>
6053
b86a85ca
GM
6054 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6055 compilation-error-regexp-alist void, or local while let-bound.
6056
f0100d8a
GM
6057 * progmodes/make-mode.el (makefile-mode-syntax-table):
6058 Treat "=" as punctuation. (Bug#14614)
6059
05e7ce90
JB
60602013-06-15 Juanma Barranquero <lekktu@gmail.com>
6061
6062 * help-fns.el (describe-variable):
6063 Add extra line for permanent-local variables.
6064
12e5e86e
SH
60652013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6066
6067 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6068 Add export, import, library. (Bug#9164)
6069 (library): Set indent function.
6070
230dcbaf
GM
60712013-06-14 Glenn Morris <rgm@gnu.org>
6072
6073 * term/xterm.el (xterm--query):
6074 Stop after first matching handler. (Bug#14615)
6075
e36b2d20 60762013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
6077
6078 Add support for dired in saveplace.
6079 * dired.el (dired-initial-position-hook): New variable.
6080 (dired-initial-position): Call hook to place cursor position.
6081 * saveplace.el (save-place-to-alist): Add dired position.
6082 (save-place-dired-hook): New function.
6083
0b31660d
SM
60842013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6085
bf1e6ae8
SM
6086 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6087 through a symbol rather than letrec.
6088
1b8dff23
SM
6089 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6090 (package-desc): Add `dir' field.
6091 (package-desc-full-name): New function.
6092 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6093 (package-maybe-load-descriptor): Remove.
6094 (package-load-all-descriptors): Just call package-load-descriptor.
6095 (package--disabled-p): New function.
6096 (package-desc-vers, package-desc-doc): Remove aliases.
6097 (package--dir): Remove function.
6098 (package-activate): Check if a package is disabled.
6099 (package-process-define-package): New function, extracted from
6100 define-package.
6101 (define-package): Turn into a place holder.
6102 (package-unpack-single, package-tar-file-info):
6103 Use package--description-file.
6104 (package-compute-transaction): Use package--disabled-p.
6105 (package-download-transaction): Don't call
6106 package-maybe-load-descriptor since they're all loaded anyway.
6107 (package-install): Change argument to be a pkg-desc.
6108 (package-delete): Use a single pkg-desc argument.
6109 (describe-package-1): Use package-desc-dir instead of package--dir.
6110 Use package-desc property instead of package-symbol.
6111 (package-install-button-action): Adjust accordingly.
6112 (package--push): Rewrite.
6113 (package-menu--print-info): Adjust accordingly. Change the ID format
6114 to be a pkg-desc.
6115 (package-menu-describe-package, package-menu-get-status)
6116 (package-menu--find-upgrades, package-menu-mark-upgrades)
6117 (package-menu-execute, package-menu--name-predicate):
6118 Adjust accordingly.
6119 * startup.el (package--description-file): New function.
6120 (command-line): Use it.
6121 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6122 Use package-desc-version.
6123
0b31660d
SM
6124 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6125 (byte-compile-preprocess): Use it.
6126 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6127 can't quite recognize.
6128 (byte-compile-add-to-list): Remove.
6129 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6130 (cconv-closure-convert): Add assertion.
6131
6132 * emacs-lisp/map-ynp.el: Use lexical-binding.
6133 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6134 Factor out some repeated code.
6135
de0503df
SM
61362013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 * subr.el (with-eval-after-load): New macro.
6139 (eval-after-load): Allow form to be a function.
6140 take advantage of lexical-binding.
6141 (do-after-load-evaluation): Use dolist and adjust to new format.
6142 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6143
bc5c8c5a
JL
61442013-06-13 Juri Linkov <juri@jurta.org>
6145
6146 * replace.el (perform-replace): Display "symbol " and other search
6147 modes from `isearch-message-prefix' in the *Help* buffer.
6148
6149 * isearch.el (isearch-query-replace): Add " symbol" and other
6150 possible search modes from `isearch-message-prefix' to the prompt.
6151 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6152 when reading a regexp to collect.
6153
a22289f7
JL
61542013-06-13 Juri Linkov <juri@jurta.org>
6155
6156 * isearch.el (word-search-regexp): Match whitespace if the search
6157 string begins or ends in whitespace. The LAX arg is applied to
6158 both ends of the search string. Use `regexp-quote' and explicit
6159 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6160 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6161 boundaries are replaced with symbol boundaries, and characters
6162 between symbols match non-word non-symbol syntax. (Bug#14602)
6163
cb89acab
JL
61642013-06-13 Juri Linkov <juri@jurta.org>
6165
6166 * isearch.el (isearch-del-char): Don't exceed the length of
6167 `isearch-string' by the prefix arg. (Bug#14563)
6168
6e8cfc81
JL
61692013-06-13 Juri Linkov <juri@jurta.org>
6170
6171 * isearch.el (isearch-yank-word, isearch-yank-line)
6172 (isearch-char-by-name, isearch-quote-char)
6173 (isearch-printing-char, isearch-process-search-char):
6174 Add optional count prefix arg. (Bug#14563)
6175
6176 * international/isearch-x.el
6177 (isearch-process-search-multibyte-characters):
6178 Add optional count prefix arg.
6179
c23d55f4
VS
61802013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6183 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6184 lexical-binding.
6185
61862013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6187
6188 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6189
ba947bc4
GM
61902013-06-13 Glenn Morris <rgm@gnu.org>
6191
8baeb37a
GM
6192 * startup.el (tty-handle-args):
6193 Don't just discard "--" and anything after. (Bug#14608)
6194
ba947bc4
GM
6195 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6196
9abefce4
MA
61972013-06-13 Michael Albinus <michael.albinus@gmx.de>
6198
6199 Implement changes in Secret Service API. Make it backward compatible.
6200 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6201 (secrets-create-item): Use it. Prefix properties with interface.
6202
5755011f
MH
62032013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6204
6205 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6206 (term-emulate-terminal): Respect term-suppress-hard-newline.
6207
1261d2da
S
62082013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6209
6210 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6211 Only remove a `thumb-file' overlay. (Bug#14548)
6212
868490bb
GJ
62132013-06-12 Grégoire Jadi <daimrod@gmail.com>
6214
6215 * mail/reporter.el (reporter-submit-bug-report):
6216 Handle missing package-name. (Bug#14600)
6217
79d7167f
TH
62182013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6219
6220 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6221 (reftex-citation-prompt, reftex-default-bibliography)
6222 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6223 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6224 (reftex-bib-sort-author, reftex-bib-sort-year)
6225 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6226 (reftex-extract-bib-entries-from-thebibliography)
6227 (reftex-get-bibkey-default, reftex-get-bib-names)
6228 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6229 (reftex-format-bib-entry, reftex-parse-bibitem)
6230 (reftex-format-bibitem, reftex-do-citation)
6231 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6232 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6233 (reftex-insert-bib-matches, reftex-format-citation)
6234 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6235 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6236 existing comments into docstrings.
6237
5f9dbd7a
XF
62382013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6239
6240 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6241
94df41ab
AS
62422013-06-12 Andreas Schwab <schwab@suse.de>
6243
6244 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6245 for auto-save files.
6246
a7f3fecc
GM
62472013-06-12 Glenn Morris <rgm@gnu.org>
6248
001809f6
GM
6249 * ido.el (ido-delete-ignored-files): Remove.
6250 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6251 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6252
834b5ded
EL
62532013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6254
08c73ed2
EL
6255 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6256
834b5ded
EL
6257 * ido.el (ido-delete-ignored-files): New function,
6258 split from ido-make-file-list-1.
6259 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6260 (ido-make-file-list-1): Use ido-delete-ignored-files.
6261
daabf15a
LL
62622013-06-12 Leo Liu <sdl.web@gmail.com>
6263
6264 * progmodes/octave.el (inferior-octave-startup)
6265 (inferior-octave-completion-table)
6266 (inferior-octave-track-window-width-change)
6267 (octave-eldoc-function-signatures, octave-help)
6268 (octave-find-definition): Use single quoted strings.
6269 (inferior-octave-startup-args): Change default value.
6270 (inferior-octave-startup): Do not hard code "-i" and
6271 "--no-line-editing".
6272 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6273 (inferior-octave-directory-tracker): Use it.
6274 (octave-goto-function-definition): Robustify.
6275 (octave-help): Support highlighting operators in 'See also'.
6276 (octave-find-definition): Find subfunctions only in Octave mode.
6277
cf4e5178
SM
62782013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * help-fns.el (help-fns--compiler-macro): If the handler function is
6281 named, then put a link to it.
6282 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6283 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6284 (cl-typep): Use it.
6285 (cl-eval-when): Simplify debug spec.
6286 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6287 compiler-macro function instead of setting `compiler-macro-file'.
6288
99c81280 62892013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6290
6291 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6292 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6293
f56be016
SM
62942013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6295 Daniel Hackney <dan@haxney.org>
6296
6297 First part of Daniel Hackney's patch to package.el.
6298 * emacs-lisp/package.el: Use defstruct.
6299 (package-desc): New, main struct.
6300 (package--bi-desc, package--ac-desc): New structs, used to describe the
6301 format in external files.
6302 (package-desc-vers): Replace with package-desc-version accessor.
6303 (package-desc-doc): Replace with package-desc-summary accessor.
6304 (package-activate-1): Remove `package' arg since the pkg-vec now
6305 includes the name.
6306 (define-package): Use package-desc-from-define.
6307 (package-unpack-single): Change file-name arg to be a symbol.
6308 (package--add-to-archive-contents): Use package-desc-create and new
6309 accessor functions to package--ac-desc.
6310 (package-buffer-info, package-tar-file-info): Return a package-desc.
6311 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6312 arg to be a package-desc.
6313 (package-install-file): Adjust accordingly. Use \' to match EOS.
6314 (package--from-builtin): New function.
6315 (describe-package-1, package-menu--generate): Use it.
6316 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6317 (package-generate-autoloads): Idem and return the name of the file.
6318 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6319 Change pkg-info arg to be a package-desc.
6320 Use package-make-ac-desc.
6321 (package-upload-file): Use \' to match EOS.
6322 * finder.el (finder-compile-keywords): Use package-make-builtin.
6323
31119d63
SM
63242013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6325
931a2762
SM
6326 * vc/vc.el (vc-deduce-fileset): Change error message.
6327 (vc-read-backend): New function.
6328 (vc-next-action): Use it.
6329
5a3eb0c6
SM
6330 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6331
e3eb1bb7
SM
6332 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6333 (prolog-font-lock-keywords): Use regexp-opt instead.
6334 Don't manually highlight strings.
6335 (prolog-mode-variables): Simplify comment-start-skip.
6336 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6337
31119d63
SM
6338 * emacs-lisp/generic.el (generic--normalise-comments)
6339 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6340 (generic-mode-set-comments): Use them.
6341 (generic-bracket-support): Use setq-local.
6342 (generic-make-keywords-list): Declare obsolete.
6343
7de135d0
GM
63442013-06-11 Glenn Morris <rgm@gnu.org>
6345
6346 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6347 Prettify after setting font-lock-defaults. (Bug#14574)
6348
fa6bc6fd
JB
63492013-06-11 Juanma Barranquero <lekktu@gmail.com>
6350
6351 * replace.el (query-replace, occur-read-regexp-defaults-function)
6352 (replace-search):
6353 * subr.el (declare-function, number-sequence, local-set-key)
6354 (substitute-key-definition, locate-user-emacs-file)
6355 (with-silent-modifications, split-string, eval-after-load):
6356 Fix typos, remove unneeded backslashes and reflow some docstrings.
6357
cf1f9b9a
SM
63582013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6359
6360 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6361 default for Elisp files.
6362
56602a4b
GM
63632013-06-11 Glenn Morris <rgm@gnu.org>
6364
6365 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6366 although define-derived-mode was doing this anyway. (Bug#14583)
6367
30ae0b2c
JB
63682013-06-10 Juanma Barranquero <lekktu@gmail.com>
6369
6370 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6371 Fix make-variable-buffer-local call to refer to the correct variable.
6372
fa472906
AG
63732013-06-10 Aidan Gauland <aidalgol@amuri.net>
6374
6375 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6376 (eshell-visual-subcommands, eshell-visual-options):
6377 Add summary line to docstrings. Add cross-references.
fa472906 6378
ff4871b9
GM
63792013-06-10 Glenn Morris <rgm@gnu.org>
6380
6381 * epa.el (epa-read-file-name): New function. (Bug#14510)
6382 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6383
04fcf1b0
AG
63842013-06-09 Aidan Gauland <aidalgol@amuri.net>
6385
6386 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6387 output redirection to be ignored with visual commands.
6388
88b00caa
AG
63892013-06-09 Aidan Gauland <aidalgol@amuri.net>
6390
6391 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6392 (eshell-term-initialize): Move long lambda to separate function
6393 eshell-visual-command-p.
e7b41c4c
JB
6394 * eshell/em-dirs.el (eshell-dirs-initialise):
6395 * eshell/em-script.el (eshell-script-initialize):
6396 Add missing #' to lambda.
88b00caa 6397
fda74125
LL
63982013-06-08 Leo Liu <sdl.web@gmail.com>
6399
6400 * progmodes/octave.el (octave-add-log-current-defun): New function.
6401 (octave-mode): Set add-log-current-defun-function.
6402 (octave-goto-function-definition): Do not move point if not found.
6403 (octave-find-definition): Enhance to try subfunctions first.
6404
467f3b33
GM
64052013-06-08 Glenn Morris <rgm@gnu.org>
6406
6407 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6408 (byte-compile-backward-char, byte-compile-backward-word):
6409 Improve previous change, to handle non-explicit nil.
6410
544badc3
SM
64112013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6414 (smie--opener/closer-at-point): New function.
6415 (smie--matching-block-data): Use it. Don't match from right after an
6416 opener or right before a closer. Obey smie-blink-matching-inners.
6417 Don't signal a mismatch for repeated inners like "switch..case..case".
6418
a175bf33
LL
64192013-06-07 Leo Liu <sdl.web@gmail.com>
6420
6421 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6422 to t. (Bug#14303)
ce8209d4
LL
6423 (octave-function-header-regexp): Fix. (Bug#14570)
6424 (octave-help-mode-finish-hook, octave-help-mode-finish):
6425 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6426
6427 * newcomment.el (comment-search-backward): Revert last change.
6428 (Bug#14434)
6429
6430 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6431
a822acff
EZ
64322013-06-07 Eli Zaretskii <eliz@gnu.org>
6433
6434 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6435 through xargs, to avoid failure due to MS-Windows limitations on
6436 command-line length.
6437
961166f5
GM
64382013-06-06 Glenn Morris <rgm@gnu.org>
6439
d0341459
GM
6440 * font-lock.el (lisp-font-lock-keywords-2):
6441 Treat user-error like error.
6442
961166f5
GM
6443 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6444 (byte-compile-backward-char, byte-compile-backward-word):
6445 Handle explicit nil arguments. (Bug#14565)
6446
80fa505f
AM
64472013-06-05 Alan Mackenzie <acm@muc.de>
6448
6449 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6450 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6451 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6452 (Bug#9706)
80fa505f 6453
fccdc796
SM
64542013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6455
6456 * autorevert.el (auto-revert-notify-handler): Use memq.
6457 Hide assertion failure.
6458
6459 * skeleton.el: Use cl-lib.
6460 (skeleton-further-elements): Use defvar-local.
6461 (skeleton-insert): Use cl-progv.
6462
9bfff84b
TZ
64632013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6464
6465 * progmodes/prog-mode.el (prog-prettify-symbols)
6466 (prog-prettify-install): Update docstrings.
6467
55577e7c
SM
64682013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6469
6470 * simple.el: Move all the prog-mode code to prog-mode.el.
6471 * progmodes/prog-mode.el: New file.
6472 * loadup.el: Add prog-mode.el.
6473
8fc57765
TZ
64742013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6475
6476 * simple.el (prog-prettify-symbols): Add version.
6477 (prog-prettify-install): Add convenience function to prettify symbols.
6478
6479 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6480 (perl--augmented-font-lock-keywords-1)
6481 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6482 variables and use it.
6483
6484 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6485 (cfengine3-mode): Remove unneeded variable and use it.
6486
6487 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6488 (lisp--augmented-font-lock-keywords-1)
6489 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6490 Remove unneeded variables and use it.
6491
650645d5 64922013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6493
6494 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6495 to point when opening the connection. (Bug#14380)
28f5da6d 6496
781b4af6
SM
64972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6498
6499 * subr.el (load-history-regexp, load-history-filename-element)
6500 (eval-after-load, after-load-functions, do-after-load-evaluation)
6501 (eval-next-after-load, display-delayed-warnings)
6502 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6503 definition of save-match-data.
6504 (overriding-local-map): Remove accidental obsolescence declaration.
6505
6506 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6507
3ca0d0b4
TZ
65082013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6509
6510 Generalize symbol prettify support to prog-mode and implement it
6511 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6512 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6513 (prog--prettify-font-lock-compose-symbol)
6514 (prog-prettify-font-lock-symbols-keywords): New variables and
6515 functions to support symbol prettification.
6516 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6517 (lisp--augmented-font-lock-keywords-1)
6518 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6519 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6520 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6521 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6522 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6523 * progmodes/perl-mode.el (perl-prettify-symbols)
6524 (perl--font-lock-compose-symbol)
6525 (perl--font-lock-symbols-keywords): Move to prog-mode.
6526 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6527 (perl-font-lock-keywords-1)
6528 (perl-font-lock-keywords-2): Remove explicit prettify support.
6529 (perl--augmented-font-lock-keywords)
6530 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6531 (perl--augmented-font-lock-keywords-2, perl-mode):
6532 Implement prettify support.
3ca0d0b4 6533
976cb066
LL
65342013-06-05 Leo Liu <sdl.web@gmail.com>
6535
6536 Re-implement smie matching block highlight using
6537 show-paren-data-function. (Bug#14395)
6538 * emacs-lisp/smie.el (smie-matching-block-highlight)
6539 (smie--highlight-matching-block-overlay)
6540 (smie--highlight-matching-block-lastpos)
6541 (smie-highlight-matching-block)
6542 (smie-highlight-matching-block-mode): Remove.
6543 (smie--matching-block-data-cache): New variable.
6544 (smie--matching-block-data): New function.
6545 (smie-setup): Use smie--matching-block-data for
6546 show-paren-data-function.
6547
6548 * progmodes/octave.el (octave-mode-menu): Fix.
6549 (octave-find-definition): Skip garbage lines.
6550
208d0342
SM
65512013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 Fix compilation error with simultaneous dynamic+lexical scoping.
6554 Add warning when a defvar appears after the first let-binding.
6555 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6556 (byte-compile-close-variables): Initialize it.
6557 (byte-compile--declare-var): New function.
6558 (byte-compile-file-form-defvar)
6559 (byte-compile-file-form-define-abbrev-table)
6560 (byte-compile-file-form-custom-declare-variable): Use it.
6561 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6562 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6563 (byte-compile-bind): Handle dynamic bindings that shadow
6564 lexical bindings.
6565 (byte-compile-unbind): Make arg non-optional.
6566 (byte-compile-let): Simplify.
6567 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6568 (cconv--analyse-function, cconv-analyse-form): Populate it.
6569 Protect byte-compile-bound-variables to limit the scope of defvars.
6570 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6571 Remove unneeded rule for `declare'.
6572
6573 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6574 so as to avoid depending on cl-adjoin at run-time.
6575 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6576
6577 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6578 (macroexp--warn-and-return): Use it.
6579
2587b005
LL
65802013-06-05 Leo Liu <sdl.web@gmail.com>
6581
6582 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6583
f1da3c88
LL
65842013-06-04 Leo Liu <sdl.web@gmail.com>
6585
6586 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6587 (compilation-auto-jump): Suppress the "Mark set" message to give
6588 way to exit message.
6589
3caa391f
AM
65902013-06-04 Alan Mackenzie <acm@muc.de>
6591
6592 Remove faulty optimisation from indentation calculation.
6593 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6594 search limit based on 2000 characters back from indent-point.
6595
068922a2
TH
65962013-06-03 Tassilo Horn <tsdh@gnu.org>
6597
6598 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6599
1f8fdd53
SM
66002013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6601
bbcc4d97
SM
6602 * emacs-lisp/lisp.el: Use lexical-binding.
6603 (lisp--local-variables-1, lisp--local-variables): New functions.
6604 (lisp--local-variables-completion-table): New var.
208d0342 6605 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6606
1f8fdd53
SM
6607 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6608 eagerly (bug#14422).
6609
c9628c79
MA
66102013-06-03 Michael Albinus <michael.albinus@gmx.de>
6611
6612 * autorevert.el (auto-revert-notify-enabled)
6613 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6614 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6615 (auto-revert-notify-handler): Handle also gfilenotify.
6616
e7b41c4c 6617 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6618 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6619 Remove.
c9628c79 6620
e5e4a942
JL
66212013-06-03 Juri Linkov <juri@jurta.org>
6622
6623 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6624 `M-s h .'. (Bug#14427)
6625
6626 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6627 command `hi-lock-face-symbol-at-point'.
6628 (hi-lock-face-symbol-at-point): New command.
6629 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6630 (hi-lock-menu): Add `highlight-symbol-at-point'.
6631 (hi-lock-mode): Doc fix.
6632
6633 * isearch.el (isearch-forward-symbol-at-point): New command.
6634 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6635 (isearch-highlight-regexp): Add a regexp which matches
6636 words/symbols for word/symbol mode.
6637
6638 * subr.el (find-tag-default-bounds): New function with the body
6639 mostly moved from `find-tag-default'.
6640 (find-tag-default): Move most code to `find-tag-default-bounds',
6641 call it and apply `buffer-substring-no-properties' afterwards.
6642
26b3353a
TH
66432013-06-03 Tassilo Horn <tsdh@gnu.org>
6644
781b4af6
SM
6645 * eshell/em-term.el (eshell-term-initialize):
6646 Use `cl-intersection' rather than `intersection'.
26b3353a 6647
51b60f53
XF
66482013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6649
fe054b63 6650 * vc/log-view.el: Doc fix.
d3ffe17c 6651 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6652
a0eb10b3 66532013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6654
6655 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6656 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6657 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6658 (eieio-unbound, eieio-default-superclass)
6659 (eieio--define-field-accessors, method-static, method-before)
6660 (method-primary, method-after, method-num-lists)
6661 (method-generic-before, method-generic-primary)
6662 (method-generic-after, method-num-slots)
6663 (eieio-specialized-key-to-generic-key)
6664 (eieio--check-type, class-v, class-p)
6665 (eieio-class-name, define-obsolete-function-alias)
6666 (eieio-class-parents-fast, eieio-class-children-fast)
6667 (same-class-fast-p, class-constructor, generic-p)
6668 (generic-primary-only-p, generic-primary-only-one-p)
6669 (class-option-assoc, class-option, eieio-object-p)
6670 (class-abstract-p, class-method-invocation-order)
6671 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6672 (eieio-class-un-autoload, eieio-defclass)
6673 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6674 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6675 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6676 (eieio-defgeneric-reset-generic-form)
6677 (eieio-defgeneric-form-primary-only)
6678 (eieio-defgeneric-reset-generic-form-primary-only)
6679 (eieio-defgeneric-form-primary-only-one)
6680 (eieio-defgeneric-reset-generic-form-primary-only-one)
6681 (eieio-unbind-method-implementations)
6682 (eieio--defmethod, eieio--typep)
6683 (eieio-perform-slot-validation, eieio-validate-slot-value)
6684 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6685 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6686 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6687 (eieio-slot-name-index, eieio-class-slot-name-index)
6688 (eieio-set-defaults, eieio-initarg-to-attribute)
6689 (eieio-attribute-to-initarg, eieio-c3-candidate)
6690 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6691 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6692 (eieio-class-precedence-list, eieio-generic-call-methodname)
6693 (eieio-generic-call-arglst, eieio-generic-call-key)
6694 (eieio-generic-call-next-method-list)
6695 (eieio-pre-method-execution-functions, eieio-generic-call)
6696 (eieio-generic-call-primary-only, eieiomt-method-list)
6697 (eieiomt-optimizing-obarray, eieiomt-install)
6698 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6699 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6700 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6701 (defclass): Remove `eval-and-compile' from macro.
6702 (call-next-method, shared-initialize): Instead of using
6703 `scoped-class' variable, use new eieio--scoped-class, and
6704 eieio--with-scoped-class.
6705 (initialize-instance): Rename local variable 'scoped-class' to
6706 'this-class' to remove ambiguitity from old global.
6707
6708 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6709 eieio.el.
4f405069
JB
6710 (eieio--scoped-class-stack): New variable.
6711 (eieio--scoped-class): New fcn.
890f7890
DE
6712 (eieio--with-scoped-class): New scoping macro.
6713 (eieio-defclass): Use pushnew instead of add-to-list.
6714 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6715 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6716 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6717 `scoped-class' variable, use new eieio--scoped-class, and
6718 eieio--with-scoped-class.
6719
6720 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6721
d105b0e2
TH
67222013-06-02 Tassilo Horn <tsdh@gnu.org>
6723
6724 * eshell/esh-ext.el (eshell-external-command): Pass args to
6725 `eshell-find-interpreter'.
6726 (eshell-find-interpreter): Add new second parameter ARGS.
6727
6728 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6729 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6730
6731 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6732 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6733
6734 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6735 (eshell-visual-options): New defcustom.
6736 (eshell-escape-control-x): Adapt docstring.
6737 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6738 `eshell-visual-options' in addition to `eshell-visual-commands'.
6739 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6740
f46305c8 67412013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6742
6743 * progmodes/python.el (python-indent-block-enders): Add break,
6744 continue and raise keywords.
6745
d870df21
GM
67462013-06-01 Glenn Morris <rgm@gnu.org>
6747
9133b82e
GM
6748 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6749
02c992ec 6750 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6751 * progmodes/cc-cmds.el (delete-forward-p):
6752 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6753 * progmodes/cc-engine.el (buffer-syntactic-context):
6754 * progmodes/cc-fonts.el (face-property-instance):
6755 * progmodes/cc-mode.el (set-keymap-parents):
6756 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6757 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6758 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6759 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6760 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6761
31e7b090
GM
6762 * progmodes/cc-vars.el (other): Emacs has this widget since
6763 at least 21.1, so don't (re)define it.
6764
d870df21
GM
6765 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6766 Replace the obsolete alias pcomplete-arg-quote-list.
6767
c75c93c7
LL
67682013-06-01 Leo Liu <sdl.web@gmail.com>
6769
6770 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6771 punctuation syntax.
6772 (inferior-octave-minimal-columns)
6773 (inferior-octave-last-column-width): New variables.
6774 (inferior-octave-track-window-width-change): New function.
6775 (inferior-octave-mode): Adjust column width so that Octave output,
6776 for example from 'ls', can fit into the window nicely.
6777
973d1e12
DG
67782013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6779
6780 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6781 Highlight expansions inside regexp literals.
6782
0888c286
GM
67832013-05-31 Glenn Morris <rgm@gnu.org>
6784
e26aac1f
GM
6785 * obsolete/sym-comp.el (symbol-complete):
6786 Replace obsolete completion-annotate-function.
6787
0888c286
GM
6788 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6789
19bb8e62
DG
67902013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6791
781b4af6
SM
6792 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6793 New function, checks if point is inside a literal that allows
19bb8e62
DG
6794 expression expansion.
6795 (ruby-syntax-propertize-expansion): Use it.
6796 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6797 around the body.
6798
01dea85f
JL
67992013-05-30 Juri Linkov <juri@jurta.org>
6800
6801 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6802 to "\M-si".
6803 (isearch-invisible): New variable.
6804 (isearch-forward): Doc fix.
6805 (isearch-mode): Set `isearch-invisible'
6806 to the value of `search-invisible'.
6807 (isearch-toggle-case-fold): Doc fix.
6808 (isearch-toggle-invisible): New command.
6809 (isearch-query-replace): Let-bind `search-invisible'
6810 to the value of `isearch-invisible'.
6811 (isearch-search): Use `isearch-invisible' instead of
6812 `search-invisible'. Let-bind `search-invisible'
6813 to the value of `isearch-invisible'. (Bug#11378)
6814
ab1bdce5
JL
68152013-05-30 Juri Linkov <juri@jurta.org>
6816
6817 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6818 call when `query-flag' is nil and `search-invisible' is non-nil.
6819 (Bug#11746)
6820
d6d236e2
GM
68212013-05-30 Glenn Morris <rgm@gnu.org>
6822
8accd027
GM
6823 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6824
2a8bed1c
GM
6825 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6826 (cc-require): Suppress spurious "noruntime" warnings.
6827 (cc-require-when-compile): Use fboundp, for sake of compiler.
6828
d6d236e2
GM
6829 * progmodes/cc-mode.el: Move load of cc-vars before that of
6830 cc-langs (which in turn loads cc-vars), to quieten compiler.
6831
9190b35b
SM
68322013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * paren.el: Simplify the code.
6835 (show-paren-mode): Always start the timer.
6836 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6837 (show-paren--overlay, show-paren--overlay-1): Rename from
6838 show-paren-overlay and show-paren-overlay-1, and initialize to an
6839 overlay rather than to nil.
6840 (show-paren-function): Misc cleanup and simplifications.
6841
4f8d1cf6
SM
68422013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6843
6844 * paren.el (show-paren-data-function): New hook.
6845 (show-paren--default): New function, extracted from show-paren-function.
6846 (show-paren-function): Use show-paren-data-function.
6847
02d844b5
GM
68482013-05-30 Glenn Morris <rgm@gnu.org>
6849
d209d4a9
GM
6850 * ielm.el (ielm-map, ielm-complete-symbol):
6851 Use completion-at-point rather than obsolete functions.
6852 (inferior-emacs-lisp-mode): Doc fix.
6853 Set completion-at-point-functions, rather than
6854 comint-dynamic-complete-functions.
6855
2082faa6
GM
6856 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6857 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6858 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6859
dd8620de
GM
6860 * image.el (image-animated-p): Tweak definition.
6861
ceca95b1
GM
6862 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6863 (rlogin-process-connection-type): Tweak default. Add set-after.
6864 (rlogin-host): Doc fix.
6865 (rlogin): Tweak prompt.
6866 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6867
ee9f1acc
GM
6868 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6869 * progmodes/tcl.el (inferior-tcl-mode-map):
6870 Use completion-at-point rather than obsolete alias.
6871
45ce222e
GM
6872 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6873
02d844b5
GM
6874 * minibuffer.el (read-file-name-completion-ignore-case):
6875 Move before completion--in-region, for eager macro expansion.
6876
ac44d6c1
JL
68772013-05-29 Juri Linkov <juri@jurta.org>
6878
6879 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6880 for total count of matching lines. Add `global-matches' for total
6881 count of matches. Rename `matches' to `lines' for count of
6882 matching lines. Add `matches' for count of matches.
6883 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6884 to `prev-line' for line number of prev match endpt.
6885 Increment `matches' for every match. Print the number of
6886 matching lines in the header.
6887 (occur-context-lines): Rename `lines' to `curr-line'.
6888 Rename `prev-lines' to `prev-line'. (Bug#14017)
6889
3c9c9d38
JL
68902013-05-29 Juri Linkov <juri@jurta.org>
6891
6892 * replace.el (perform-replace): Add `skip-read-only-count',
6893 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6894 Increment them for corresponding conditions and report the number
6895 of skipped occurrences in the final message. (Bug#11746)
6896 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6897 (replace-string, replace-regexp): Doc fix.
6898
33e249a2
SM
68992013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6900
8e399682
SM
6901 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6902
33e249a2 6903 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6904 prog-mode-map (bug#14504).
33e249a2 6905
f236dd84
LL
69062013-05-29 Leo Liu <sdl.web@gmail.com>
6907
6908 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6909 (octave-help): Small simplification.
6910
6911 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6912 off the highlight first.
6913
3694d13f
GM
69142013-05-29 Glenn Morris <rgm@gnu.org>
6915
03983bdc
GM
6916 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6917 Handle idlwave-last-system-routine-info-cons-cell being nil.
6918
bc74a74a
GM
6919 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6920 (idlwave-write-paths): Simplify via with-temp-buffer.
6921
8b394200
GM
6922 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6923 * emulation/cua-rect.el: Also load cua-base at run time.
6924
3694d13f
GM
6925 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6926 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6927 (cperl-imenu-on-info): Require imenu.
6928
336d7284
AM
69292013-05-28 Alan Mackenzie <acm@muc.de>
6930
6931 Handle "capitalised keywords" correctly.
33e249a2 6932 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6933
cb29c582
AG
69342013-05-28 Aidan Gauland <aidalgol@amuri.net>
6935
781b4af6 6936 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6937
690e44b2
GM
69382013-05-28 Glenn Morris <rgm@gnu.org>
6939
e658d75c
GM
6940 * vc/vc-arch.el (vc-exec-after): Declare.
6941 (vc-switches): Autoload.
6942 * vc/vc-bzr.el: No need to require vc when compiling.
6943 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6944 (vc-resynch-buffer, vc-dir-refresh): Declare.
6945 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6946 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6947 (vc-resynch-buffer): Declare.
6948 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6949 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6950 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6951 (grep-read-regexp, grep-read-files, grep-expand-template)
6952 (vc-dir-refresh): Declare.
6953 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6954 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6955 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6956 * vc/vc-mtn.el (vc-exec-after): Declare.
6957 (vc-switches): Autoload.
6958 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6959 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6960 (vc-file-tree-walk): Declare.
712b9732
GM
6961 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6962 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6963 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6964 * vc/vc-svn.el (vc-exec-after): Declare.
6965 (vc-switches, vc-setup-buffer): Autoload.
6966 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6967 Autoload.
6968 (vc-resynch-buffer): Declare.
6969
98e87fb3
GM
6970 * obsolete/fast-lock.el (byte-compile-warnings):
6971 Don't warn about obsolete features in this obsolete file.
6972
f5379553
GM
6973 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6974 Move definition before use.
6975
7a20ef83
GM
6976 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6977 (dun-unix-verbs): Remove dun-zippy.
6978 (dun-zippy): Remove function.
6979
690e44b2
GM
6980 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6981
3a52ccf7
JL
69822013-05-27 Juri Linkov <juri@jurta.org>
6983
6984 * replace.el (replace-search): New function with code moved out
6985 from `perform-replace'.
6986 (replace-highlight, replace-dehighlight): Move function definitions
6987 up closer to `replace-search'. (Bug#11746)
6988
d289938a
JL
69892013-05-27 Juri Linkov <juri@jurta.org>
6990
6991 * replace.el (perform-replace): Ignore invisible matches.
6992 In addition to checking `query-replace-skip-read-only', also
6993 filter out matches by calling `run-hook-with-args-until-failure'
6994 on `isearch-filter-predicates', and also check `search-invisible'
6995 for t or call `isearch-range-invisible'.
6996 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6997
66fc57e3
JL
69982013-05-27 Juri Linkov <juri@jurta.org>
6999
7000 * isearch.el (isearch-filter-predicates): Rename from
7001 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7002 (isearch-message-prefix): Display text from the property
7003 `isearch-message-prefix' of the currently active filters.
7004 (isearch-search): Don't compare `isearch-filter-predicate' with
7005 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7006 on `isearch-filter-predicates'. Also check `search-invisible' for t
7007 or call `isearch-range-invisible'.
7008 (isearch-filter-visible): Make obsolete.
7009 (isearch-lazy-highlight-search):
7010 Call `run-hook-with-args-until-failure' on
7011 `isearch-filter-predicates' and use `isearch-range-invisible'.
7012
7013 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7014 `isearch-filter-predicates' instead of `funcall'ing
7015 `isearch-filter-predicate'.
7016 (Info-mode): Set `Info-isearch-filter' to
7017 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7018
7019 * dired-aux.el (dired-isearch-filter-predicate-orig):
7020 Remove variable.
7021 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7022 (dired-isearch-filenames-end): Add and remove
7023 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7024 instead of changing the value of `isearch-filter-predicate'.
7025 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7026 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7027 Put property `isearch-message-prefix' to "filename " on
7028 `dired-isearch-filter-filenames'.
7029
7030 * wdired.el (wdired-change-to-wdired-mode):
7031 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7032 locally instead of changing `isearch-filter-predicate'.
7033 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7034
f1a60a0f
DG
70352013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7036
7037 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7038 return the commit hash (Bug#14459). Also set the
7039 `vc-git-detached' property.
7040 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7041 (vc-git-mode-line-string): Use the same help-echo format whether
7042 in detached mode or not, because we know the actual revision now.
7043 When in detached mode, shorten the revision to 7 chars.
7044
7f17cc40
SM
70452013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7046
7047 * emacs-lisp/easy-mmode.el (define-minor-mode):
7048 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7049 mode hook and provide a docstring.
7050
25c8401c
AM
70512013-05-27 Alan Mackenzie <acm@muc.de>
7052
7053 Remove spurious syntax-table text properties inserted by C-y.
7054 * progmodes/cc-mode.el (c-after-change): Also clear hard
7055 syntax-table property with value nil.
7056
dde84790
MA
70572013-05-27 Michael Albinus <michael.albinus@gmx.de>
7058
7059 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7060 when reading the events; the buffer layout shall not be changed.
7061
837fd9af
LL
70622013-05-27 Leo Liu <sdl.web@gmail.com>
7063
7064 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7065 New variable.
7066 (inferior-octave-directory-tracker): Automatically re-sync
7067 default-directory.
7068 (octave-help): Improve handling of 'See also'.
7069
4fd996b3
SM
70702013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7071
416f1802
SM
7072 * doc-view.el: Minor naming convention tweaks.
7073 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7074
4fd996b3
SM
7075 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7076 even if there's no `display' property yet (bug#14435).
7077
a052ef3b
EZ
70782013-05-25 Eli Zaretskii <eliz@gnu.org>
7079
4fd996b3 7080 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
7081
7082 * Makefile.in (custom-deps, finder-data, autoloads)
7083 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7084 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7085 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7086
c9023370
SM
70872013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7088
7089 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7090 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 7091 Don't burp at EOB.
c9023370 7092
24d699fa
LL
70932013-05-25 Leo Liu <sdl.web@gmail.com>
7094
7095 * comint.el (comint-previous-matching-input): Do not flood the
7096 *Messages* buffer with trivial messages.
7097
17e5c0cc
SM
70982013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * progmodes/flymake.el (flymake-nop): Don't return a string.
7101 (flymake-set-at): Fix typo.
7102
7103 * simple.el (read--expression): New function, extracted from
7104 eval-expression. Set completion-at-point-functions (bug#14465).
7105 (eval-expression, eval-minibuffer): Use it.
7106
5d028165
XF
71072013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7108
7109 * progmodes/flymake.el (flymake-save-buffer-in-file)
7110 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7111 (flymake-selected-frame, flymake-log, flymake-ins-after)
7112 (flymake-set-at, flymake-get-buildfile-from-cache)
7113 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7114 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7115 Refine the doc string.
7116 (flymake-get-file-name-mode-and-masks): Reformat.
7117 (flymake-get-real-file-name-function): Fix a minor bug.
7118
7a1d7ba7
JL
71192013-05-24 Juri Linkov <juri@jurta.org>
7120
7121 * progmodes/grep.el (grep-mode-font-lock-keywords):
7122 Support =linenumber= format used by git-grep for lines with
7123 function names. (Bug#13549)
7124
650cff3d
SM
71252013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7126
7127 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7128 0 after a semi-colon; it works better for smie-auto-fill.
7129 (octave--indent-new-comment-line): New function.
7130 (octave-indent-new-comment-line): Use it (indirectly).
7131 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7132 modify comment-line-break-function.
7133
7134 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7135 (smie-setup): Use add-function to set it.
7136
9631677d
SS
71372013-05-24 Sam Steingold <sds@gnu.org>
7138
7139 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7140 argument (before the `interactive' argument).
7141
50105835
SM
71422013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * image-mode.el (image-mode-winprops): Add winprops to
7145 image-mode-winprops-alist before running
7146 image-mode-new-window-functions.
7147 * doc-view.el (doc-view-new-window-function): Don't delay
7148 doc-view-goto-page via timers (bug#14435).
7149
57b9823e
TH
71502013-05-24 Tassilo Horn <tsdh@gnu.org>
7151
7152 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7153 (doc-view-desktop-save-buffer): New function.
7154 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7155 (desktop-buffer-mode-handlers):
7156 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7157 handler.
7158 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7159 `desktop-save-buffer' function.
7160
91aafa16
MA
71612013-05-24 Michael Albinus <michael.albinus@gmx.de>
7162
7163 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7164 (tramp-gvfs-file-name-handler): Raise a user error when
7165 `tramp-gvfs-enabled' is nil.
7166 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7167 Do not raise a user error when loading package. (Bug#14447)
7168
ec076379
MA
7169 * net/xesam.el: Move to obsolete/.
7170
db785726
GM
71712013-05-24 Glenn Morris <rgm@gnu.org>
7172
af5c7606
GM
7173 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7174
e5d1916a
GM
7175 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7176
ded62b08
GM
7177 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7178 (Info-find-node, Man-getpage-in-background): Declare.
7179
9e614a3f
GM
7180 * mail/unrmail.el (unrmail):
7181 Replace obsolete detect-coding-with-priority.
7182
892f8ca3
GM
7183 * net/socks.el (socks-split-string): Use this rather than split-string.
7184 (socks-nslookup-host): Update for above change.
7185 (dynamic-choice, s5-dynamic-choice-match)
7186 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7187 Comment out unused code.
7188
3c291973
GM
7189 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7190 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7191 (gud-tooltip-echo-area): Make obsolete.
7192 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7193
43cc956b
GM
7194 * progmodes/js.el (js--optimize-arglist): Declare.
7195
dab49a3b
GM
7196 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7197
36b9d085
GM
7198 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7199 (ediff-window-C): Declare.
7200
e354ae76
GM
7201 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7202 Tweak requires to silence compiler.
7203
b8e57bf4
GM
7204 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7205 (he-search-string, he-tried-table, he-expand-list)
7206 (he-init-string, he-string-member, he-substitute-string)
7207 (he-reset-string): Declare.
7208
db785726
GM
7209 * obsolete/options.el (list-options): Use custom-variable-p,
7210 rather than obsolete alias.
7211
b3531901
SS
72122013-05-23 Sam Steingold <sds@gnu.org>
7213
7214 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7215 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7216 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7217
bdda4c66
SM
72182013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7219
7220 * emacs-lisp/smie.el (smie-indent-forward-token)
7221 (smie-indent-backward-token): Handle string tokens (bug#14381).
7222
c43d45f9
TH
72232013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7224
fe1eb856
RS
7225 * ielm.el (ielm-menu): New menu.
7226 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7227
fe1eb856
RS
72282013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7229
7230 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7231 Fix deactivate action.
7232
7233 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7234 Add cleveref macros.
074dd971 7235
c43d45f9
TH
7236 * lisp/textmodes/reftex-parse.el
7237 (reftex-locate-bibliography-files): Accept options for
7238 bibliography commands.
7239 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7240 Add addbibresource. Basic Biblatex support.
7241
7764286e
MA
72422013-05-23 Michael Albinus <michael.albinus@gmx.de>
7243
7244 * net/tramp-gvfs.el (top):
7245 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7246 when loading package. (Bug#14447)
7247
d361bc10
GM
72482013-05-23 Glenn Morris <rgm@gnu.org>
7249
8fa23984
GM
7250 * progmodes/js.el: No need to load comint when compiling.
7251 (ring-insert, comint-send-string, comint-send-input)
7252 (comint-last-input-end, ido-chop): Declare.
7253
a5c7df1a
GM
7254 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7255 * vc/ediff-mult.el: Adjust requires.
7256 (ediff-directories-internal, ediff-directory-revisions-internal)
7257 (ediff-patch-file-internal): Declare.
7258 * vc/ediff-ptch.el: Adjust requires.
7259 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7260 (ediff-find-file): Autoload.
7261 * vc/ediff-util.el: No need to load ediff when compiling.
7262 (ediff-regions-internal): Declare.
7263 * vc/ediff-wind.el: Adjust requires.
7264 (ediff-compute-toolbar-width): Define when compiling.
7265 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7266 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7267 (dired-get-filename, dired-get-marked-files)
7268 (ediff-last-dir-patch, ediff-patch-default-directory)
7269 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7270 (ediff-patch-buffer-internal): Declare.
7271
e2aec513
GM
7272 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7273 (ispell-process, ispell-buffer-local-words, lm-summary)
7274 (lm-section-start, lm-section-end): Declare.
7275 (checkdoc-ispell-init): Simplify.
7276
e68bbd7c
GM
7277 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7278 (he-string-member, he-reset-string, he-substitute-string): Declare.
7279
7efe0991
GM
7280 * eshell/em-ls.el: Adjust requires.
7281 (eshell-glob-regexp): Declare.
f87b1284
GM
7282 * eshell/em-tramp.el: Adjust requires.
7283 (eshell-parse-command): Autoload.
7284 * eshell/em-xtra.el: Adjust requires.
7285 (eshell-parse-command): Autoload.
7286 * eshell/esh-ext.el: Adjust requires.
7287 (eshell-parse-command, eshell-close-handles): Autoload.
7288 * eshell/esh-io.el: Adjust requires.
7289 (eshell-output-filter): Autoload.
7290 * eshell/esh-util.el: No need to load tramp when compiling.
7291 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7292 Declare.
7293 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7294 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7295 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7296 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7297 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7298 * eshell/esh-opt.el, eshell/esh-proc.el:
7299 * eshell/esh-var.el: Adjust requires.
7300 * eshell/eshell.el: Do not require esh-util twice.
7301 (eshell-add-input-to-history): Declare.
7302 (eshell-command): Check history module is active before using it.
7303
d361bc10
GM
7304 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7305
85d090a9
LL
73062013-05-22 Leo Liu <sdl.web@gmail.com>
7307
7308 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7309
5d0acd9d
MA
73102013-05-22 Michael Albinus <michael.albinus@gmx.de>
7311
7312 * autorevert.el (auto-revert-notify-add-watch)
7313 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7314 it indicates changes in file modification time.
7315
0cdffd7d
GM
73162013-05-22 Glenn Morris <rgm@gnu.org>
7317
ca5995ec
GM
7318 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7319 Always delete the autoloaded function from the noruntime and
7320 unresolved functions lists.
7321
6450907e
GM
7322 * allout.el: No need to load epa, epg, overlay when compiling.
7323 (epg-context-set-passphrase-callback, epg-list-keys)
7324 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7325 (epg-key-user-id-list): Declare.
7326
9c6906f6
GM
7327 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7328 (viper-set-parsing-style-toggling-macro)
7329 (viper-set-emacs-state-searchstyle-macros):
7330 Use called-interactively-p on Emacs.
7331 (viper-looking-back): Make it an obsolete alias. Update callers.
7332 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7333 Use looking-back rather than viper-looking-back.
7334 (viper-tmp-insert-at-eob, viper-enlarge-region)
7335 (viper-read-string-with-history, viper-register-to-point)
7336 (viper-append-to-register, viper-change-state-to-vi)
7337 (viper-backward-char-carefully, viper-forward-char-carefully)
7338 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7339 (viper-change-state-to-emacs): Declare.
7340 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7341 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7342 * emulation/viper-mous.el: Do not load viper-cmd.
7343 (viper-backward-char-carefully, viper-forward-char-carefully)
7344 (viper-forward-word, viper-adjust-window): Declare.
7345
5f70c169
GM
7346 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7347
b1b7f300
GM
7348 * progmodes/idlw-help.el (idlwave-help-fontify):
7349 Use called-interactively-p.
7350
f6ebbb46
GM
7351 * term/w32console.el (w32-get-console-codepage)
7352 (w32-get-console-output-codepage): Declare.
7353
0cdffd7d
GM
7354 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7355 Remove unnecessary declarations.
7356 (dframe-message): Doc fix.
7357
7358 * info.el (dframe-select-attached-frame, dframe-current-frame):
7359 Declare.
7360
7361 * speedbar.el (speedbar-message): Make it an obsolete alias.
7362 Update all callers.
7363 (speedbar-with-attached-buffer)
7364 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7365 (speedbar-with-writable): Use backquote.
7366 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7367 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7368 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7369 rather than speedbar- aliases.
7370 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7371 (speedbar-make-specialized-keymap, speedbar-insert-button)
7372 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7373 (speedbar-do-function-pointer): Declare.
7374 (rmail-speedbar-button, rmail-speedbar-find-file)
7375 (rmail-speedbar-move-message):
7376 Use dframe-with-attached-buffer rather than speedbar- alias.
7377 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7378 (dframe-message, speedbar-make-specialized-keymap)
7379 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7380 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7381 (speedbar-insert-button, dframe-select-attached-frame)
7382 (dframe-maybee-jump-to-attached-frame)
7383 (speedbar-change-initial-expansion-list)
7384 (speedbar-previously-used-expansion-list-name): Declare.
7385 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7386 Use dframe-message, dframe-with-attached-buffer rather than
7387 speedbar- aliases.
7388 (gud-sentinel): Silence compiler.
7389 * progmodes/vhdl-mode.el (speedbar-refresh)
7390 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7391 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7392 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7393 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7394 (speedbar-file-lists, speedbar-make-tag-line)
7395 (speedbar-line-directory, speedbar-goto-this-file)
7396 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7397 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7398 (speedbar-make-button, speedbar-reset-scanners)
7399 (speedbar-files-item-info, speedbar-line-text)
7400 (speedbar-find-file-in-frame, speedbar-set-timer)
7401 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7402 (speedbar-with-writable): Do not (re)define it.
7403 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7404 rather than speedbar- alias.
7405
ee44b62a
LL
74062013-05-21 Leo Liu <sdl.web@gmail.com>
7407
7408 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7409 menu items.
7410 (octave-mode): Tweak fill-nobreak-predicate.
7411 (inferior-octave-startup): Check process to avoid infinite loop.
7412 (inferior-octave): Pop to buffer first to show abornmal process
7413 exit information.
7414
640f050f
GM
74152013-05-21 Glenn Morris <rgm@gnu.org>
7416
79458038
GM
7417 * printing.el (pr-menu-bar): Define when compiling.
7418
9cc3e83f
LL
74192013-05-21 Leo Liu <sdl.web@gmail.com>
7420
7421 * progmodes/octave.el (octave-auto-fill): Remove.
7422 (octave-indent-new-comment-line): Improve.
7423 (octave-mode): Use auto fill mode through
4f405069 7424 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7425 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7426 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7427 (octave-help): Show parent directory.
7428
f440830d
GM
74292013-05-21 Glenn Morris <rgm@gnu.org>
7430
7431 * files.el (dired-unmark):
7432 * progmodes/gud.el (gdb-input): Update declarations.
7433
7434 * calculator.el (electric, ehelp): No need to load when compiling.
7435 (Electric-command-loop, electric-describe-mode): Declare.
7436
7437 * doc-view.el (doc-view-current-converter-processes): Move before use.
7438
7439 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7440 Move MODE-set-explicitly definition before use.
7441
7442 * international/mule-diag.el (mule-diag):
7443 Don't use obsolete window-system-version.
7444
7445 * mail/feedmail.el (smtpmail): No need to load when compiling.
7446 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7447
7448 * mail/mail-utils.el (rfc822): No need to load when compiling.
7449 (rfc822-addresses): Autoload it.
7450 (mail-strip-quoted-names): Trivial simplification.
7451
7452 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7453 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7454
7455 * net/snmp-mode.el (tempo): Don't duplicate requires.
7456
7457 * progmodes/prolog.el (info): No need to load when compiling.
7458 (comint): Require before shell requires it.
7459 (Info-goto-node): Autoload it.
7460 (Info-follow-nearest-node): Declare.
7461 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7462
7463 * textmodes/artist.el (picture-mode-exit): Declare.
7464
7465 * textmodes/reftex-parse.el (reftex-parse-from-file):
7466 Trivial rewrite so the compiler can parse it better.
7467
b4da2cbb
LL
74682013-05-20 Leo Liu <sdl.web@gmail.com>
7469
7470 * progmodes/octave.el (octave-help-mode-map)
7471 (octave-help-mode-finish-hook): New variables.
7472 (octave-help-mode, octave-help-mode-finish): New functions.
7473 (octave-help): Use octave-help-mode.
7474
33c0f65b
GM
74752013-05-20 Glenn Morris <rgm@gnu.org>
7476
7477 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7478
1a0a0a8a
DG
74792013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7480
7481 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7482 start at point, so that expansion starting right after opening
7483 slash in a regexp is recognized.
7484 (ruby-syntax-before-regexp-re): New defvar, extracted from
7485 ruby-syntax-propertize-function. Since the value of this regexp
7486 is looked up at runtime now, we should be able to turn
7487 `ruby-syntax-methods-before-regexp' into a defcustom later.
7488 (ruby-syntax-propertize-function): Split regexp matching into two
7489 parts, for opening and closing slashes. That allows us to skip
7490 over string interpolations and support multiline regexps.
7491 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7492 for them, which calls `ruby-syntax-propertize-expansion'.
7493 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7494 call to `ruby-syntax-propertize-function'.
7495 (ruby-syntax-propertize-expansion): Extracted from
7496 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7497 (ruby-syntax-propertize-percent-literal): Leave point right after
7498 the percent symbol, so that the expression expansion rule can
7499 propertize the contents.
462388b6
DG
7500 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7501 heredoc openers.
7502 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7503
c1a6c0a4
JL
75042013-05-18 Juri Linkov <juri@jurta.org>
7505
7506 * man.el (Man-default-man-entry): Remove `-' from the end
7507 of the default value. (Bug#14400)
7508
8051fccd
GM
75092013-05-18 Glenn Morris <rgm@gnu.org>
7510
7511 * comint.el (comint-password-prompt-regexp):
7512 Allow "password for XXX" where XXX contains colons (eg https://...).
7513
5e80b74f
LL
75142013-05-18 Leo Liu <sdl.web@gmail.com>
7515
7516 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7517 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7518 (octave-source-directories): Don't check process.
7519 (octave-source-directories, octave-find-definition): Doc fix.
7520
521a54c5
GM
75212013-05-18 Glenn Morris <rgm@gnu.org>
7522
86a94b05
GM
7523 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7524 Remove backspace/delete bindings. (Bug#14392)
7525
521a54c5
GM
7526 * cus-dep.el (custom-make-dependencies): Sort the output.
7527 (custom-versions-load-alist): Convert comment to doc.
7528
42caeb89
LL
75292013-05-17 Leo Liu <sdl.web@gmail.com>
7530
7531 * newcomment.el (comment-search-backward): Stricter in finding
7532 comment start. (Bug#14303)
7533
7534 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7535 (octave-comment-start-skip): Properly anchored.
7536
e219dd97
LL
75372013-05-17 Leo Liu <sdl.web@gmail.com>
7538
fe1eb856
RS
7539 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7540 Clean up when turned off. (Bug#14395)
e219dd97
LL
7541 (smie--highlight-matching-block-overlay): No longer buffer-local.
7542 (smie-highlight-matching-block): Adjust.
7543
dc5dcb4b
PE
75442013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7545
7546 Doc string fix for "nanoseconds" (Bug#14406).
7547 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7548 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7549
1db165f0
JB
75502013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7551
7552 * calc/calc-units.el (math-extract-units): Preserve powers
7553 of units.
7554
c7a8fcac
LL
75552013-05-17 Leo Liu <sdl.web@gmail.com>
7556
7557 * subr.el (delete-consecutive-dups): New function.
7558 * ido.el (ido-set-matches-1): Use it.
7559 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7560 * ido.el (ido-remove-consecutive-dups): Remove.
7561
f678b18a
SM
75622013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7563
7564 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7565 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7566 regexp-opt's `words'.
7567
ebfe68e8
LL
75682013-05-16 Leo Liu <sdl.web@gmail.com>
7569
7570 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7571 (smie--highlight-matching-block-overlay)
7572 (smie--highlight-matching-block-lastpos)
7573 (smie--highlight-matching-block-timer): New variables.
7574 (smie-highlight-matching-block): New function.
7575 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7576 (smie-setup): Conditionally enable smie-blink-matching-open.
7577
bc8bc17d
WS
75782013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7579
7580 Sync with upstream verilog-mode r840.
7581 * progmodes/verilog-mode.el (verilog-mode-version)
7582 (verilog-mode-release-date): Update.
7583 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7584 (verilog-sig-tieoff): Fix string error on
7585 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7586 (verilog-read-decls): Fix parameters confusing
7587 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7588
df065a0b
EZ
75892013-05-16 Eli Zaretskii <eliz@gnu.org>
7590
7591 * subr.el (reveal-filename): New function.
7592
7593 * loadup.el: Compute Emacs executable versions on MS-Windows,
7594 where executables have the .exe extension. Add a hard link
7595 emacs-XX.YY.ZZ.exe on MS-Windows.
7596
7597 * Makefile.in (XARGS_LIMIT): New variable.
7598 (custom-deps, finder-data, autoloads)
7599 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7600 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7601 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7602 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7603
2d4bf34b
LL
76042013-05-16 Leo Liu <sdl.web@gmail.com>
7605
7606 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7607 (octave-mode-menu, octave-mode-map): Remove its uses.
7608
6b9c2d85
RZ
76092013-05-16 Reto Zimmermann <reto@gnu.org>
7610
7611 Sync with upstream vhdl mode v3.34.2.
7612 * progmodes/vhdl-mode.el: Use `push' throughout.
7613 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7614 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7615 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7616 (vhdl-actual-generic-name): New option to derive actual generic name.
7617 (vhdl-port-paste-signals): Replace formal by actual generics.
7618 (vhdl-beautify): New name for old group vhdl-align. Update users.
7619 (vhdl-beautify-options): New option.
7620 (vhdl-last-input-event): New compat alias. Use throughout.
7621 (vhdl-goto-line): Replace user level function `goto-line'.
7622 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7623 vhdl-fix-statement-buffer.
7624 (vhdl-create-mode-menu): Add some entries.
7625 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7626 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7627 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7628 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7629 to force statements on one line.
7630 (vhdl-remove-trailing-spaces-region):
7631 New, split from vhdl-remove-trailing-spaces.
7632 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7633 Respect vhdl-beautify-options.
7634 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7635 (vhdl-update-sensitivity-list): Not add with index if exists without.
7636 Not include array index with signal. Ignore keywords in comments.
7637 (vhdl-get-visible-signals): Regexp tweaks.
7638 (vhdl-template-component-inst): Handle empty library.
7639 (vhdl-template-type): Add template for 'enum' type.
7640 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7641 Use vhdl-replace-string.
7642 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7643 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7644 (vhdl-speedbar-initialize): Update for above name change.
7645 (vhdl-compose-wire-components): Fix in handling of constants.
7646 (vhdl-error-regexp-emacs-alist): New variable.
7647 (vhdl-error-regexp-add-emacs): New function;
7648 adds support for new compile.el (Emacs 22+)
7649 (vhdl-generate-makefile-1): Change target order for single lib. units.
7650 Allow use of absolute file names.
7651
9df4ec5e
LL
76522013-05-16 Leo Liu <sdl.web@gmail.com>
7653
7654 * simple.el (prog-indent-sexp): Indent enclosing defun.
7655
f5ba00a6
GM
76562013-05-15 Glenn Morris <rgm@gnu.org>
7657
ed8be7ff
GM
7658 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7659 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7660 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7661 (whitespace-highlight): Move to whitespace group.
7662
7663 * comint.el (comint-source):
7664 * pcmpl-linux.el (pcmpl-linux):
7665 * shell.el (shell-faces):
7666 * eshell/esh-opt.el (eshell-opt):
7667 * international/ccl.el (ccl): Remove empty custom groups.
7668
7669 * completion.el (dynamic-completion-mode):
7670 * jit-lock.el (jit-lock-debug-mode):
7671 * minibuffer.el (completion-in-region-mode):
7672 * type-break.el (type-break-mode-line-message-mode)
7673 (type-break-query-mode):
7674 * emulation/tpu-edt.el (tpu-edt-mode):
7675 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7676 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7677 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7678
7679 * term/xterm.el (xterm): Change parent group to terminals.
7680
7681 * master.el (master): Remove empty custom group.
7682 (master-mode): Remove unused :group argument.
7683 * textmodes/refill.el (refill): Remove empty custom group.
7684 (refill-mode): Remove unused :group argument.
7685
7686 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7687
82a7c41b
GM
7688 * cus-dep.el: Provide a feature.
7689 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7690 Don't mistakenly ignore files whose basenames match a basename
7691 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7692 Add a fallback method for getting :group.
f5ba00a6 7693
6d65486d
JL
76942013-05-15 Juri Linkov <juri@jurta.org>
7695
da547b32
JL
7696 * isearch.el (isearch-char-by-name): Rename from
7697 `isearch-insert-char-by-name'. Doc fix.
7698 (isearch-forward): Mention `isearch-char-by-name' in
7699 the docstring. (Bug#13348)
7700
6d65486d
JL
7701 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7702 `exit-minibuffer' instead of
7703 `isearch-nonincremental-exit-minibuffer'.
7704 (isearch-edit-string): Remove mention of
7705 `isearch-nonincremental-exit-minibuffer' from docstring.
7706 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7707 (isearch-forward-exit-minibuffer)
7708 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7709
c9990474
SM
77102013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7711
6e911150
SM
7712 * loadup.el: Just use unversioned DOC.
7713
c9990474
SM
7714 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7715 literals as extending to EOB.
7716 (nxml-last-fontify-end): Remove unused variable.
7717 (nxml-after-change1): Use with-silent-modifications.
7718 (nxml-extend-after-change-region): Simplify.
7719 (nxml-extend-after-change-region1): Remove function.
7720 (nxml-after-change1): Don't adjust for dependent regions.
7721 (nxml-fontify-matcher): Simplify.
7722 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7723 (xmltok-add-dependent): Remove function.
7724 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7725 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7726 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7727 unclosed <[[, <?, comment, and other literals as extending to EOB.
7728 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7729 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7730 Remove functions.
7731 (rng-do-some-validation-1): Don't mark dependent regions.
7732 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7733 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7734 (nxml-clear-dependent-regions): Remove functions.
7735 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7736 (nxml-ensure-scan-up-to-date):
7737 Don't clear&mark dependent regions.
7738
e3772e98
LL
77392013-05-15 Leo Liu <sdl.web@gmail.com>
7740
c9990474
SM
7741 * progmodes/octave.el (octave-goto-function-definition):
7742 Improve and fix callers.
e3772e98 7743
5ac2eb34
SM
77442013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7745
c46c57b0
SM
7746 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7747 the setter (bug#14387).
7748
5ac2eb34
SM
7749 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7750 surrounding group (bug#14402).
7751
180ed218
JL
77522013-05-14 Juri Linkov <juri@jurta.org>
7753
7754 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7755 (Bug#14390)
7756
0ac0fecb
GM
77572013-05-14 Glenn Morris <rgm@gnu.org>
7758
7759 * progmodes/f90.el (f90-imenu-generic-expression):
7760 Fix typo in 2013-05-08 change. (Bug#14402)
7761
2e78e6a7
JPG
77622013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7763
5ac2eb34
SM
7764 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7765 Remove signals for which replies are never received.
2e78e6a7 7766
53267cca
JPG
77672013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7768
7769 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7770 (gdb-handler-alist, gdb-handler-number): Remove variables.
7771 (gdb-handler-list): New variable.
7772 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7773 (gdb-pending-handler-p, gdb-handle-reply)
7774 (gdb-remove-all-pending-triggers): New functions.
7775 (gdb-discard-unordered-replies): New defcustom.
7776 (gdb-handler): New defstruct.
7777 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7778 instead of gdb-pending-triggers. Update docstring.
7779 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7780 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7781 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7782 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7783 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7784 (gdb-frame-handler): Pending triggers are now automatically managed.
7785 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7786 Remove argument.
7787 (gdb-input): Automatically handles pending triggers. Update docstring.
7788 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7789 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7790 Update comments.
7791 (gdb-done-or-error): Now use gdb-handle-reply.
7792
d04ce803
JPG
77932013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7794
7795 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7796 gdb-debug-log.
7797
0114073a
GM
77982013-05-14 Glenn Morris <rgm@gnu.org>
7799
7800 * subr.el (user-emacs-directory-warning): New option.
7801 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7802
4d25fd7e
LL
78032013-05-14 Leo Liu <sdl.web@gmail.com>
7804
7805 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7806 during redisplay.
7807 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7808 (octave-font-lock-texinfo-comment): Fix invalid search bound
7809 error: wrong side of point.
4d25fd7e 7810
27c8b6eb
GM
78112013-05-14 Glenn Morris <rgm@gnu.org>
7812
61aaeb01
GM
7813 * progmodes/flymake.el (flymake-xml-program): New option.
7814 (flymake-xml-init): Use it.
7815
5bf90bc5
GM
7816 * term/xterm.el: Provide a feature.
7817
7818 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7819
f4c7dfd2
GM
78202013-05-13 Glenn Morris <rgm@gnu.org>
7821
7822 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7823 Add compat aliases as a hack workaround. (Bug#14384)
7824
2aeb3a1d
LL
78252013-05-13 Leo Liu <sdl.web@gmail.com>
7826
b0e069c2
LL
7827 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7828 ###, and %!.
f5a9432f
LL
7829 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7830 C-M-q.
b0e069c2
LL
7831 (octave-comment-start-skip): Include %!.
7832 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7833
30ea8374
LL
78342013-05-12 Leo Liu <sdl.web@gmail.com>
7835
7836 * progmodes/octave.el (inferior-octave-startup): Store the value
7837 of __octave_srcdir__ for octave-source-directories.
7838 (inferior-octave-check-process): New function refactored out of
7839 inferior-octave-send-list-and-digest.
7840 (octave-source-directories)
7841 (octave-find-definition-filename-function): New variables.
7842 (octave-source-directories)
7843 (octave-find-definition-default-filename): New functions.
7844 (octave-find-definition): Improve to find functions implemented in C++.
7845
472a3834
GM
78462013-05-12 Glenn Morris <rgm@gnu.org>
7847
7848 * calendar/diary-lib.el (diary-outlook-format-1):
7849 Don't include dayname in the output. (Bug#14349)
7850
3191b52f
GM
78512013-05-11 Glenn Morris <rgm@gnu.org>
7852
0060ac73
GM
7853 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7854
3191b52f
GM
7855 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7856 Treat cc-provide like provide.
7857
e065ba74
KR
78582013-05-11 Kevin Ryde <user42@zip.com.au>
7859
7860 * cus-dep.el (custom-make-dependencies):
7861 Use generated-autoload-load-name for the sake of files such
7862 such cedet/semantic/bovine/c.el, where the base file name
7863 is not in load-path. (Bug#5277)
7864
36f84c37
GM
78652013-05-11 Glenn Morris <rgm@gnu.org>
7866
7867 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7868 Provide features.
7869
c8730c3a
LL
78702013-05-11 Leo Liu <sdl.web@gmail.com>
7871
7872 * progmodes/octave.el (octave-indent-comment): Improve.
7873 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7874 (octave-eldoc-function-signatures, octave-eldoc-function):
7875 New functions.
c8730c3a
LL
7876 (octave-mode, inferior-octave-mode): Add eldoc support.
7877
212e29f2
RS
78782013-05-11 Richard Stallman <rms@gnu.org>
7879
7880 * epa.el (epa-decrypt-file): Take output file name as argument
7881 and read it using `interactive'.
7882
083fe0d7
LL
78832013-05-11 Leo Liu <sdl.web@gmail.com>
7884
7885 * progmodes/octave.el (octave-beginning-of-line)
7886 (octave-end-of-line): Check before using up-list because it jumps
7887 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7888 (octave-indent-comment): New function.
7889 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7890 (octave-begin-keywords, octave-end-keywords)
7891 (octave-reserved-words, octave-smie-bnf-table)
7892 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7893
8582e4c4
GM
78942013-05-11 Glenn Morris <rgm@gnu.org>
7895
f20def1f
GM
7896 * faces.el (internal-face-x-get-resource):
7897 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7898 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7899 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7900 Fix declarations.
f20def1f 7901
445f95e2
GM
7902 * calc/calc-menu.el: Make it loadable in isolation.
7903
7904 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7905 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7906 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7907 (eudc-bbdb-query-internal): Require 'bbdb.
7908
99fb2756
GM
7909 * lpr.el (lpr-headers-switches):
7910 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7911
7912 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7913
0da7ad96
GM
7914 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7915
8582e4c4
GM
7916 * term.el (term-set-escape-char): Make it idempotent.
7917
f71c50d0
LL
79182013-05-10 Leo Liu <sdl.web@gmail.com>
7919
5ac2eb34
SM
7920 * progmodes/octave.el (inferior-octave-completion-table):
7921 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7922 completion due to bug#11906.
7923 (octave-beginning-of-defun): Re-write to be more general.
7924
d5837773
GM
79252013-05-10 Glenn Morris <rgm@gnu.org>
7926
7927 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7928
027c0f75
SM
79292013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7930
7931 * comint.el (comint-redirect-send-command-to-process): Use :around
7932 rather than :override for comint-redirect-filter.
7933 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7934 Call it instead of comint-redirect-original-filter-function (which
7935 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7936
4465bfb4
JD
79372013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7938
7939 * frame.el (display-monitor-attributes-list): Add NS case.
7940 (ns-display-monitor-attributes-list): Declare.
7941
2d809ffa 79422013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7943
7944 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7945
e54eeb9b
GM
79462013-05-09 Glenn Morris <rgm@gnu.org>
7947
56cd351d
GM
7948 * international/fontset.el (vertical-centering-font-regexp):
7949 Set standard-value.
7950
d84b6108
GM
7951 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7952
a931698a
GM
7953 * bookmark.el (bookmark-search-delay):
7954 * cus-start.el (vertical-centering-font-regexp):
7955 * ps-mule.el (ps-mule-font-info-database-default):
7956 * ps-print.el (ps-default-fg, ps-default-bg):
7957 * type-break.el (type-break-good-break-interval):
7958 * whitespace.el (whitespace-indentation-regexp)
7959 (whitespace-space-after-tab-regexp):
7960 * emacs-lisp/testcover.el (testcover-1value-functions)
7961 (testcover-noreturn-functions, testcover-progn-functions)
7962 (testcover-prog1-functions):
7963 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7964 * eshell/em-glob.el (eshell-glob-translate-alist):
7965 * play/tetris.el (tetris-tty-colors):
7966 * progmodes/cpp.el (cpp-face-default-list):
7967 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7968 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7969 (idlwave-help-browser-generic-args):
7970 * progmodes/make-mode.el (makefile-special-targets-list):
7971 * progmodes/python.el (python-shell-virtualenv-path):
7972 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7973 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7974 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7975 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7976 * textmodes/reftex-vars.el (reftex-format-label-function):
7977 * textmodes/remember.el (remember-diary-file): Fix custom types.
7978
e54eeb9b
GM
7979 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7980 Add :version.
7981
455851dd
LL
79822013-05-09 Leo Liu <sdl.web@gmail.com>
7983
7984 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7985 Restore file completion. (Bug#14300)
455851dd
LL
7986 (inferior-octave-startup): Fix incorrect highlighting for the
7987 first prompt.
7988
a9e4425b
SM
79892013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7990
7991 * progmodes/ruby-mode.el: First cut at SMIE support.
7992 (ruby-use-smie): New var.
7993 (ruby-smie-grammar): New constant.
7994 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7995 (ruby-smie--forward-token, ruby-smie--backward-token)
7996 (ruby-smie-rules): New functions.
7997 (ruby-mode-variables): Setup SMIE if applicable.
7998
060ca408
EZ
79992013-05-08 Eli Zaretskii <eliz@gnu.org>
8000
8001 * simple.el (line-move-visual): Signal beginning/end of buffer
8002 only if vertical-motion moved less than it was requested. Avoids
8003 silly incorrect error messages when there are display strings with
8004 multiple newlines at EOL.
8005
1d5963cc
SM
80062013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8009 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8010 (prolog-char-quote-workaround):
8011 * progmodes/cperl-mode.el (cperl-under-as-char):
8012 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
8013 Mark as obsolete.
8014 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
8015 their declaration.
8016 (vhdl-mode-syntax-table-init): Remove.
8017
c9990474
SM
8018 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8019 last change.
1d5963cc
SM
8020
8021 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8022 syntax for "_".
8023 (ld-script-font-lock-keywords):
8024 Change regexps to use things like \_< and \_>.
8025
8026 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8027 Change all regexps to use things like \_< and \_>.
8028
8029 * progmodes/autoconf.el (autoconf-definition-regexp)
8030 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8031 Handle a _ with symbol syntax.
8032 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8033
c9990474
SM
8034 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8035 Consolidate declaration.
1d5963cc
SM
8036 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8037 the declaration.
8038 (ada-create-syntax-table): Remove.
8039 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8040 already has the right syntax nowadays.
8041 (ada-goto-next-word): Don't change the syntax of "_".
8042
8043 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8044 with-wrapper-hook.
8045
72d3cfca
SS
80462013-05-08 Sam Steingold <sds@gnu.org>
8047
8048 * thingatpt.el (thing-at-point): Accept optional second argument
8049 NO-PROPERTIES to strip the text properties from the return value.
8050 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8051 to `thing-at-point' instead of stripping the properties ourselves.
8052 Also, when `thing-at-point' fails to find a url, prepend "http://"
8053 to the filename at point on the assumption that the user is
8054 pointing at something like gnu.org/gnu.
8055
5cb15713
JB
80562013-05-08 Juanma Barranquero <lekktu@gmail.com>
8057
8058 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8059 * faces.el (crm-separator):
8060 Silence byte-compiler.
8061
8062 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8063 (tool-bar-map): Remove unneeded defvars.
8064
ea78b95b
LL
80652013-05-08 Leo Liu <sdl.web@gmail.com>
8066
8067 Re-work a fix for bug#10994 based on Le Wang's patch.
8068 * ido.el (ido-remove-consecutive-dups): New helper.
8069 (ido-completing-read): Use it.
8070 (ido-chop): Revert fix for bug#10994.
8071
dc7466df
AS
80722013-05-08 Adam Spiers <emacs@adamspiers.org>
8073
8074 * cus-edit.el (custom-save-variables):
8075 Pretty-print long values. (Bug#14187)
8076
9ecf672a
GM
80772013-05-08 Glenn Morris <rgm@gnu.org>
8078
8079 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8080 (m4-mode-syntax-table): Init in the defvar.
8081 (m4-mode-abbrev-table): Let define-derived-mode define it.
8082
3f555be8
TT
80832013-05-08 Tom Tromey <tromey@redhat.com>
8084
8085 * progmodes/m4-mode.el (m4-mode-syntax-table):
8086 Do not treat "_" as word constituent. (Bug#14167)
8087
7cc8ae06
GM
80882013-05-07 Glenn Morris <rgm@gnu.org>
8089
4f58bc06
GM
8090 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8091 Remove explicit eshell-isearch-cancel-map.
8092
7cc8ae06
GM
8093 * progmodes/f90.el (f90-smart-end-names): New option.
8094 (f90-smart-end): Doc fix.
8095 (f90-end-block-optional-name): New constant.
8096 (f90-block-match): Respect f90-smart-end-names.
8097
ceb57e59
SM
80982013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8099
8100 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8101 about implicit semi-colons (bug#14218).
8102
4e3f9230
YM
81032013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8104
8105 * frame.el (display-monitor-attributes-list)
8106 (frame-monitor-attributes): New functions.
8107
203a5572
LL
81082013-05-06 Leo Liu <sdl.web@gmail.com>
8109
8110 * progmodes/octave.el (octave-syntax-propertize-function): Change
8111 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8112 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 8113 (octave-completion-at-point): Rename from
203a5572
LL
8114 octave-completion-at-point-function.
8115 (inferior-octave-directory-tracker): Robustify.
8116 (octave-text-functions): Remove and fix its uses. No such things
8117 any more.
8118
ee6cff99
SM
81192013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8120
8121 * emacs-lisp/trace.el (trace--display-buffer): New function.
8122 (trace-make-advice): Use it.
8123
32985194
JL
81242013-05-06 Juri Linkov <juri@jurta.org>
8125
8126 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8127 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8128 Doc fix.
8129 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8130 in the help string. (Bug#12985)
8131
a1c700de
KD
81322013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8133
8134 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8135
c67c0839
SM
81362013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8137
323885fd
SM
8138 * progmodes/perl-mode.el: Add support for here documents.
8139 (perl-syntax-propertize-function): Match here-doc markers.
8140 (perl-syntax-propertize-special-constructs): Find their end.
8141 (perl-imenu-generic-expression): Use [:alnum:].
8142
c67c0839
SM
8143 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8144 (advice--add-function): Refresh the advice if already present
8145 (bug#14317).
8146
d491e7a8
IA
81472013-05-06 Ivan Andrus <darthandrus@gmail.com>
8148
8149 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8150
ddf9925e
GM
81512013-05-06 Glenn Morris <rgm@gnu.org>
8152
7cc3af27
GM
8153 * w32-fns.el (w32-charset-info-alist): Declare.
8154
16e343d6
GM
8155 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8156 of its defcustom properties.
8157 (eshell-cmpl-initialize): No need to load pcomplete.
8158
7d889a47
GM
8159 * generic-x.el: No need to require comint when compiling.
8160
ddf9925e
GM
8161 * net/eudc-export.el: Make it loadable without bbdb.
8162 (top-level): Use require rather than load-library.
8163 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8164 (eudc-batch-export-records-to-bbdb)
8165 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8166 Require bbdb.
8167
1e2c18df
SM
81682013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8171 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8172 some tweaks, instead.
8173
02502a5f
LL
81742013-05-05 Leo Liu <sdl.web@gmail.com>
8175
8176 * progmodes/octave.el (octave-font-lock-keywords)
8177 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8178 (inferior-octave-send-list-and-digest): Improve error message.
8179 (octave-mode, inferior-octave-mode): Use setq-local.
8180 (octave-help): Set info-lookup-mode.
8181
0dc04f42
RS
81822013-05-05 Richard Stallman <rms@gnu.org>
8183
6c54491c
RS
8184 * vc/compare-w.el (compare-windows-whitespace):
8185 Treat no-break space as whitespace.
8186
0dc04f42
RS
8187 * mail/rmailsum.el (rmail-summary-rmail-update):
8188 Detect empty summary and don't change selected message.
8189 (rmail-summary-goto-msg): Likewise.
8190
df8f35df
RS
8191 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8192 Doc fixes, rename args.
8193
5356e1a3
AM
81942013-05-05 Alan Mackenzie <acm@muc.de>
8195
8196 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8197
d44014cb
JL
81982013-05-05 Juri Linkov <juri@jurta.org>
8199
8200 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8201 to not add the length of the summary segment to the return value.
8202 (Bug#14125)
8203
c129b51f
LL
82042013-05-05 Leo Liu <sdl.web@gmail.com>
8205
8206 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8207 (inferior-octave-output-filter): Remove.
8208 (octave-send-region, inferior-octave-startup): Fix callers.
8209 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8210 (octave-binary-file-extensions): New user variable.
8211 (octave-find-definition): Confirm if opening binary files.
8212 (octave-help-file): Use octave-find-definition to get the binary
8213 confirmation.
8214 (octave-help): Adjust for octave-help-file change.
8215
aa7dab97
SM
82162013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8219 Merge the two entries that handle function definitions.
8220 (pascal--syntax-propertize): New const.
8221 (pascal-mode): Use it. Use setq-local.
8222
fd3a9a6b
GM
82232013-05-04 Glenn Morris <rgm@gnu.org>
8224
8225 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8226 (diary-from-outlook): Respect diary-from-outlook-function.
8227
30c7e542
SM
82282013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8231 Move the declaration from C.
8232 (read-minibuffer, eval-minibuffer): Move from C.
8233 (completion-setup-function): Avoid minibuffer-completion-contents.
8234
b54f978b
LL
82352013-05-03 Leo Liu <sdl.web@gmail.com>
8236
8237 * progmodes/octave.el (octave-font-lock-keywords): Do not
8238 dehighlight 'end' in comments or strings.
30c7e542
SM
8239 (octave-completing-read, octave-goto-function-definition):
8240 New helpers.
d4d0f9b3
LL
8241 (octave-help-buffer): New user variable.
8242 (octave-help-file, octave-help-function): New button types.
8243 (octave-help): New command and bind it to C-h ;.
8244 (octave-find-definition): New command and bind it to M-.
d74a1581 8245 (user-error): Alias to error if not defined.
b54f978b 8246
27135018
LL
82472013-05-02 Leo Liu <sdl.web@gmail.com>
8248
8249 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8250 for \. (bug#14332)
8251 (octave-font-lock-keywords): Include [ and {.
8252
0d634d3a
LL
82532013-05-02 Leo Liu <sdl.web@gmail.com>
8254
8255 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8256 (inferior-octave): Remove calling comint-mode and return the buffer.
8257 (inferior-octave-startup): Cosmetic changes.
8258
b4c8295e
LL
82592013-05-02 Leo Liu <sdl.web@gmail.com>
8260
30c7e542
SM
8261 * progmodes/octave.el (octave-syntax-propertize-function):
8262 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8263
f12ad6ec
GM
82642013-05-02 Glenn Morris <rgm@gnu.org>
8265
8266 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8267 * desktop.el (vc-dir-mode): Just autoload it here.
8268
30cac1e0
AM
82692013-05-02 Alan Mackenzie <acm@muc.de>
8270
8271 Eliminate variable c-standard-font-lock-fontify-region-function.
8272 * progmodes/cc-mode.el
8273 (c-standard-font-lock-fontify-region-function): Remove.
8274 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8275
d8ef28b1
LL
82762013-05-01 Leo Liu <sdl.web@gmail.com>
8277
2640d52e 8278 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8279 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8280 variables were removed from Octave in 2007.
d8ef28b1
LL
8281 (inferior-octave-startup): Fix uses.
8282 (comint-line-beginning-position): Remove compatibility code for
8283 emacs 21.
8284
ac63ec89
JL
82852013-05-01 Juri Linkov <juri@jurta.org>
8286
8287 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8288
9e9be37c
JL
82892013-05-01 Juri Linkov <juri@jurta.org>
8290
8291 * comint.el (comint-previous-matching-input): Don't print message
8292 "History item: %d" when `isearch-mode' is active.
8293 (comint-history-isearch-message): Print message "History item: %d"
8294 when `comint-input-ring-index' is not empty and this function is
8295 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8296
9b92c13b
LL
82972013-05-01 Leo Liu <sdl.web@gmail.com>
8298
8299 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8300 definitions. Use completion-at-point to insert keywords.
8301 (octave-abbrev-start): Remove.
8302 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8303
b12d33d7
LL
83042013-04-30 Leo Liu <sdl.web@gmail.com>
8305
8306 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8307 change.
8308
3d1c39fa
AM
83092013-04-30 Alan Mackenzie <acm@muc.de>
8310
8311 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8312 * progmodes/cc-engine.el (c-back-over-member-initializers):
8313 new function.
3d1c39fa
AM
8314 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8315 (most) member init lists.
8316
5147fc17
RS
83172013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8318
8319 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8320 variable.
8321
5b78d7fc
LL
83222013-04-30 Leo Liu <sdl.web@gmail.com>
8323
8324 * progmodes/octave.el (octave-variables): Remove. No builtin
8325 variables any more. All converted to functions.
8326 (octave-font-lock-keywords, octave-completion-at-point-function):
8327 Fix uses.
8328 (octave-font-lock-texinfo-comment): New user variable.
8329 (octave-texinfo-font-lock-keywords): New variable for texinfo
8330 comment block.
8331 (octave-function-comment-block): New face.
8332 (octave-font-lock-texinfo-comment): New function.
8333 (octave-mode): Font lock texinfo comment block.
8334
38d8527b
LL
83352013-04-29 Leo Liu <sdl.web@gmail.com>
8336
8337 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8338 indexing expression.
8339 (octave-continuation-string): Do not use \.
8340 (inferior-octave-complete-impossible): Remove.
8341 (inferior-octave-completion-table)
8342 (inferior-octave-completion-at-point): Remove its uses.
8343 (inferior-octave-startup): completion_matches was introduced to
8344 Octave in 1996 so safe to assume it.
8345 (octave-function-file-comment): Improve to follow how Octave does it.
8346 (octave-update-function-file-comment): Tweak.
8347
2ec12cb0
LL
83482013-04-29 Leo Liu <sdl.web@gmail.com>
8349
8350 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8351 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8352 (octave-function-file-comment): Fix typo.
8353 (octave-sync-function-file-names): Use read-char-choice.
8354
6eaed048
JB
83552013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8356
8357 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8358 to t for the less important warnings.
8359
3ffa2d4f
DH
83602013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8361
8362 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8363
685c9501
GM
83642013-04-27 Glenn Morris <rgm@gnu.org>
8365
8366 * vc/log-view.el (log-view-current-entry):
8367 Treat "---" separator lines as part of the following rev. (Bug#14169)
8368
0208ede7
JL
83692013-04-27 Juri Linkov <juri@jurta.org>
8370
8371 * subr.el (read-number): Doc fix about using it by interactive
8372 code letter `n'. (Bug#14254)
8373
5db9dace
JL
83742013-04-27 Juri Linkov <juri@jurta.org>
8375
8376 * desktop.el (desktop-auto-save-timeout): New option.
8377 (desktop-file-checksum): New variable.
8378 (desktop-save): Add optional arg `auto-save' and don't auto-save
8379 if nothing changed.
8380 (desktop-auto-save-timer): New variable.
8381 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8382 (after-init-hook): Call `desktop-auto-save-set-timer'.
8383 Suggested by Reuben Thomas <rrt@sc3d.org> in
8384 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8385
b7260dd4
LL
83862013-04-27 Leo Liu <sdl.web@gmail.com>
8387
8388 * progmodes/octave.el (octave-function-file-p)
8389 (octave-skip-comment-forward, octave-function-file-comment)
8390 (octave-update-function-file-comment): New functions.
8391 (octave-mode-map): Bind C-c ; to
8392 octave-update-function-file-comment.
8393 (octave-mode-menu): Add octave-update-function-file-comment.
8394 (octave-mode, inferior-octave-mode): Fix doc-string.
8395 (octave-insert-defun): Conform to Octave's coding convention.
8396 (Bug#14285)
8397
8398 * files.el (basic-save-buffer): Don't let errors in
8399 before-save-hook prevent saving buffer.
8400
c46da669
RW
84012013-04-20 Roland Winkler <winkler@gnu.org>
8402
8403 * faces.el (read-face-name): Use completing-read if arg multiple
8404 is nil.
8405
a81ee1eb
IL
84062013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8407
8408 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8409 displayed, move point to after the totals line.
8410 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8411 for the details.
8412
4fac34ce
SM
84132013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8414
8415 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8416 Add current dir to the load-path.
8417 (package-generate-autoloads): Don't rely on
8418 autoload-ensure-default-file.
8419
f6bfc063
RT
84202013-04-26 Reuben Thomas <rrt@sc3d.org>
8421
d40ab5cf
BG
8422 * textmodes/remember.el (remember-store-in-files): Document that
8423 the file name format is passed to `format-time-string'.
f6bfc063 8424
e55d3b04
LL
84252013-04-26 Leo Liu <sdl.web@gmail.com>
8426
8427 * progmodes/octave.el (octave-sync-function-file-names): New function.
8428 (octave-mode): Use it in before-save-hook.
8429
e53052d3
SM
84302013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8431
140ef50c
SM
8432 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8433 (bug#14274).
8434
e53052d3
SM
8435 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8436 \n and comment, even if it's not an implicit ; (bug#14218).
8437
af80458d 84382013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8439
8440 * subr.el (read-number): Once more use `read' rather than
8441 `string-to-number', to trap non-numeric input. (Bug#14254)
8442
af80458d 84432013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8444
8445 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8446 Use `syntax-multiline' text property consistently instead of
8a621d53 8447 `font-lock-multiline'. (Bug#14237)
70203c2e 8448
e6ea1f6c
GM
84492013-04-26 Glenn Morris <rgm@gnu.org>
8450
8451 * emacs-lisp/shadow.el (list-load-path-shadows):
8452 No longer necessary to check for duplicate simple.el, since
8453 2012-07-07 change to init_lread to not include installation lisp
8454 directories in load-path when running uninstalled. (Bug#14270)
8455
070ccca4
LL
84562013-04-26 Leo Liu <sdl.web@gmail.com>
8457
8458 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8459 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8460 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8461 octave-in-string-or-comment-p.
8462 (octave-in-comment-p, octave-in-string-p)
8463 (octave-in-string-or-comment-p): Replace defsubst with defun.
8464
9d1c5fb6
PE
84652013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8466
8467 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8468
c034abda
BG
84692013-04-25 Bastien Guerry <bzg@gnu.org>
8470
8471 * textmodes/remember.el (remember-data-directory)
8472 (remember-directory-file-name-format): Fix custom types.
8473
584ea277
LL
84742013-04-25 Leo Liu <sdl.web@gmail.com>
8475
e53052d3
SM
8476 * progmodes/octave.el (octave-completion-at-point-function):
8477 Make use of inferior octave process.
584ea277
LL
8478 (octave-initialize-completions): Remove.
8479 (inferior-octave-completion-table): New function.
8480 (inferior-octave-completion-at-point): Use it.
8481 (octave-completion-alist): Remove.
8482
1693b06a
SM
84832013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8486 (opascal-mode-syntax-table): New var.
8487 (opascal-literal-kind, opascal-is-literal-end)
8488 (opascal-literal-token-at): Rewrite.
8489 (opascal--literal-start-re, opascal-font-lock-keywords)
8490 (opascal--syntax-propertize): New constants.
8491 (opascal-font-lock-defaults): Adjust.
8492 (opascal-mode): Use them. Set comment-<foo> variables as well.
8493 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8494 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8495 (delphi-other-face, opascal-other-face): Remove face variables.
8496 (opascal-save-state): Remove macro.
8497 (opascal-fontifying-progress-step): Remove constant.
8498 (opascal--ignore-changes): Remove var.
8499 (opascal-set-token-property, opascal-parse-next-literal)
8500 (opascal-is-stable-literal, opascal-complete-literal)
8501 (opascal-is-literal-start, opascal-face-of)
8502 (opascal-parse-region, opascal-parse-region-until-stable)
8503 (opascal-fontify-region, opascal-after-change)
8504 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8505 (opascal-debug-parse-region, opascal-debug-parse-window)
8506 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8507 (opascal-debug-fontify-buffer): Remove.
8508 (opascal-debug-mode-map): Adjust accordingly.
8509
be64c05d
LL
85102013-04-25 Leo Liu <sdl.web@gmail.com>
8511
8512 Merge octave-mod.el and octave-inf.el into octave.el with some
8513 cleanups.
8514 * progmodes/octave.el: New file renamed from octave-mod.el.
8515 * progmodes/octave-inf.el: Merged into octave.el.
8516 * progmodes/octave-mod.el: Renamed to octave.el.
8517
d79d37bd
TH
85182013-04-25 Tassilo Horn <tsdh@gnu.org>
8519
8520 * textmodes/reftex-vars.el
8521 (reftex-label-ignored-macros-and-environments): New defcustom.
8522
8523 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8524
ced3fc5d
SM
85252013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8528 (smie-indent-keyword): Improve the check to ensure that the next
8529 comment is really on the same line.
8530 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8531
8532 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8533 semi-colons if the line is not otherwise empty (bug#14218).
8534
1c141dad
GM
85352013-04-25 Glenn Morris <rgm@gnu.org>
8536
8537 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8538
5058062a
SM
85392013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * progmodes/opascal.el (opascal-set-token-property): Rename from
8542 opascal-set-text-properties and only set `token' (bug#14134).
8543 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8544 (opascal-literal-text-properties): Remove.
8545 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8546 Adjust callers.
8547
5db9dace 85482013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8549
8550 * textmodes/remember.el (remember-handler-functions): Add an
8551 option for a new handler `remember-store-in-files'.
8552 (remember-data-directory, remember-directory-file-name-format):
8553 New options.
8554 (remember-store-in-files): New function to store remember notes
8555 as separate files within a directory.
8556
4391916c
MH
85572013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8558
8559 * progmodes/compile.el (compilation-next-error-function):
8560 Pass "formats" to compilation-find-file (bug#11777).
8561
bb7cdf58
GM
85622013-04-24 Glenn Morris <rgm@gnu.org>
8563
3b8fe752 8564 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8565 * vc/vc-hg.el (vc-hg-print-log):
8566 * vc/vc-svn.el (vc-svn-print-log):
8567 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8568
bb7cdf58
GM
8569 * vc/vc-bzr.el (vc-bzr-print-log):
8570 * vc/vc-cvs.el (vc-cvs-print-log):
8571 * vc/vc-git.el (vc-git-print-log):
8572 * vc/vc-hg.el (vc-hg-print-log):
8573 * vc/vc-mtn.el (vc-mtn-print-log):
8574 * vc/vc-rcs.el (vc-rcs-print-log):
8575 * vc/vc-sccs.el (vc-sccs-print-log):
8576 * vc/vc-svn.el (vc-svn-print-log):
8577 * vc/vc.el (vc-print-log-internal): Doc fixes.
8578
b46a056e
GM
85792013-04-23 Glenn Morris <rgm@gnu.org>
8580
8581 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8582 Remove venerable code attempting to avoid substitute-command-keys.
8583
0aecf718
TH
85842013-04-23 Tassilo Horn <tsdh@gnu.org>
8585
4391916c
MH
8586 * textmodes/reftex-vars.el (reftex-label-regexps):
8587 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8588
117f94cf
SM
85892013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8590
4391916c 8591 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8592 Use lexical-binding.
8593 (jit-lock-force-redisplay): Use markers, check buffer's continued
8594 existence and beware narrowed buffers.
8595 (jit-lock-fontify-now): Adjust call accordingly.
8596
1d829c64
SM
85972013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8600 to avoid misleading the user.
8601
72d548a9
LL
86022013-04-22 Leo Liu <sdl.web@gmail.com>
8603
8604 * info-look.el: Prefer latex2e.info. (Bug#14240)
8605
d0853629
MA
86062013-04-22 Michael Albinus <michael.albinus@gmx.de>
8607
8608 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8609
8610 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8611 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8612 (tramp-set-completion-function, tramp-parse-putty):
8613 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8614 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8615 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8616 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8617 (tramp-call-local-coding-command): Use `tramp-call-process'
8618 instead of `tramp-compat-call-process'.
8619
8620 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8621 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8622 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8623 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8624 (tramp-maybe-send-script): Check for Perl binary.
8625 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8626
38cc0210
DU
86272013-04-22 Daiki Ueno <ueno@gnu.org>
8628
8629 * epg.el (epg-context-pinentry-mode): New function.
8630 (epg-context-set-pinentry-mode): New function.
8631 (epg--start): Pass --pinentry-mode option to gpg command.
8632
cc641ee1
XF
86332013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8634
02d844b5 8635 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8636 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8637 `completion-at-point'. (Bug#13774)
5d4e5c31 8638
cc641ee1
XF
8639 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8640 default key binding for `describe-distribution' has been moved to
8641 `C-h C-o'. (Bug#13970)
8642
1b42ee43
GM
86432013-04-21 Glenn Morris <rgm@gnu.org>
8644
8645 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8646 Add doc strings.
8647 (vc-print-log): Clarify interactive prompt.
8648
a6d63d97
GM
86492013-04-20 Glenn Morris <rgm@gnu.org>
8650
8651 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8652 No longer include timestamp etc information.
8653
d7f5c16f
RW
86542013-04-20 Roland Winkler <winkler@gnu.org>
8655
8656 * faces.el (read-face-name): Bug fix, return just one face if arg
8657 multiple is nil. (Bug#14209)
8658
bcd7a0a4
SM
86592013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8662 (remove-function): Autoload.
8663
8664 * comint.el (comint-redirect-original-filter-function): Remove.
8665 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8666 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8667 (vc-cvs-annotate-command):
bcd7a0a4
SM
8668 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8669 * progmodes/prolog.el (prolog-consult-compile):
8670 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8671 Use add/remove-function instead.
8672 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8673 (gud-tooltip-process-output, gud-tooltip-tips):
8674 Use add/remove-function instead.
8675 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8676 (scheme-interaction-mode, exit-scheme-interaction-mode):
8677 Use add/remove-function instead.
8678
8679 * vc/vc-dispatcher.el: Use lexical-binding.
8680 (vc--process-sentinel): Rename from vc-process-sentinel.
8681 Change last arg to be the code to run. Don't use vc-previous-sentinel
8682 and vc-sentinel-commands any more.
8683 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8684 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8685
e36b2d20 86862013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8687
bcd7a0a4 8688 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8689 Handle function names with a single character. (Bug#14111)
4d3268ba 8690
781b4af6 86912013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8692
8693 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8694 for subroutines defined in an eval (bug#14182).
8695
7d688336
TV
86962013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8697
8698 * bookmark.el (bookmark-completing-read): Improve handling of empty
8699 string (bug#14176).
8700
31dcede0
SM
87012013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8702
8703 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8704
adc31213
FEG
87052013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8706
8707 New faster Imenu implementation (bug#14058).
8708 * progmodes/python.el:
8709 (python-imenu-prev-index-position):
8710 (python-imenu-format-item-label-function)
8711 (python-imenu-format-parent-item-label-function)
8712 (python-imenu-format-parent-item-jump-label-function):
8713 New vars.
8714 (python-imenu-format-item-label)
8715 (python-imenu-format-parent-item-label)
8716 (python-imenu-format-parent-item-jump-label)
8717 (python-imenu--put-parent, python-imenu--build-tree)
8718 (python-imenu-create-index, python-imenu-create-flat-index)
8719 (python-util-popn): New functions.
8720 (python-mode): Set imenu-create-index-function to
8721 python-imenu-create-index.
8722
cdca8255
SM
87232013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8724
8725 * winner.el (winner-active-region): Use region-active-p, activate-mark
8726 and deactivate-mark (bug#14225).
8727
8728 * simple.el (deactivate-mark): Don't inline it.
8729
beb42340
MA
87302013-04-18 Michael Albinus <michael.albinus@gmx.de>
8731
8732 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8733
fc7f4d7e
TH
87342013-04-18 Tassilo Horn <tsdh@gnu.org>
8735
8736 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8737 file extensions from the archive-mode entry in order to prefer
8738 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8739
29f47822
LL
87402013-04-18 Leo Liu <sdl.web@gmail.com>
8741
8742 * bindings.el (help-event-list): Add ?\?.
8743
d36ed1c8
SM
87442013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8745
8746 * subr.el (with-wrapper-hook): Declare obsolete.
8747 * simple.el (filter-buffer-substring-function): New hook.
8748 (filter-buffer-substring): Use it.
8749 (filter-buffer-substring-functions): Mark obsolete.
8750 * minibuffer.el (completion-in-region-function): New hook.
8751 (completion-in-region): Use it.
8752 (completion-in-region-functions): Mark obsolete.
8753 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8754 * abbrev.el (abbrev-expand-function): New hook.
8755 (expand-abbrev): Use it.
8756 (abbrev-expand-functions): Mark obsolete.
8757 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8758 and :filter-return.
8759
04754d36
FEG
87602013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8761
8762 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8763 and do not care about match data.
8764
dd8791e9
SM
87652013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8766
8767 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8768 completion tables when completing error conditions and
8769 `declare' arguments.
8770 (lisp-complete-symbol, field-complete): Mark as obsolete.
8771 (check-parens): Unmatched parens are user errors.
8772 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8773
ffe54a13
AM
87742013-04-17 Michal Nazarewicz <mina86@mina86.com>
8775
dd8791e9
SM
8776 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8777 command changed buffer (ie. `flyspell-pre-buffer' is not current
8778 buffer), which prevents making decisions based on invalid value of
8779 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8780 cause an error when `flyspell-pre-point' was nil after switching
8781 buffers.
8782 (flyspell-post-command-hook): No longer needs to change buffers when
8783 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8784
ec7e39f2
AM
87852013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8786
8787 * textmodes/ispell.el (ispell-add-per-file-word-list):
8788 Fix `flyspell-correct-word-before-point' error when accepting
8789 words and `coment-padding' is an integer by using
8790 `comment-normalize-vars' (Bug #14214).
8791
083850a6
FEG
87922013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8793
8794 New defun movement commands.
8795 * progmodes/python.el (python-nav--syntactically)
8796 (python-nav--forward-defun, python-nav-backward-defun)
8797 (python-nav-forward-defun): New functions.
8798
619ed6e1
FEG
87992013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8800
8801 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8802 (python-syntax-context): Use named compiler-macro for backwards
8803 compatibility with Emacs 24.x.
8804
7a1beb6c
LL
88052013-04-17 Leo Liu <sdl.web@gmail.com>
8806
8807 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8808 octave-hide-process-buffer.
8809
2d3fa3e5
SM
88102013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8811
8812 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8813 (bug#14216).
8814
7ce5be54
JPG
88152013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8816
8817 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8818 Fix adjustment of offset when receiving incomplete responses from GDB
8819 (bug#14129).
8820
351edece
SM
88212013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8824 python-mode-abbrev-table.
8825 (python-skeleton-define): Adjust accordingly.
8826 (python-mode-abbrev-table): New table that inherits from it so that
8827 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8828
8829 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8830 (abbrev-symbol): Use it.
8831 (abbrev--before-point): Use it since we already handle inheritance.
8832
613f9481
LL
88332013-04-16 Leo Liu <sdl.web@gmail.com>
8834
8835 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8836 binding to info-lookup-symbol.
8837
51646b62
JB
88382013-04-16 Juanma Barranquero <lekktu@gmail.com>
8839
8840 * minibuffer.el (completion--twq-all):
8841 * term/ns-win.el (ns-initialize-window-system):
8842 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8843
efb3f01d
SM
88442013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8845
36c0a301
SM
8846 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8847 global bindings.
8848
efb3f01d
SM
8849 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8850
fb549d64
DG
88512013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8852
8853 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8854 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8855 to nil.
8856 (ruby-end-of-defun): Remove the unused arg, change the docstring
8857 to reflect that this function is only used as the value of
8858 `end-of-defun-function'.
8859 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8860 to reflect an earlier change that beginning/end-of-defun functions
8861 jump between methods in a class definition, as well as top-level
8862 functions.
8863
21e8fe2f
SM
88642013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8865
8866 * minibuffer.el (minibuffer-complete): Don't just scroll
8867 a *Completions* that's been iconified.
8868 (minibuffer-force-complete): Make sure repetitions do cycle when going
8869 through completion-in-region -> minibuffer-complete.
8870
20e527d0
AM
88712013-04-15 Alan Mackenzie <acm@muc.de>
8872
8873 Correct the placement of c-cpp-delimiters when there're #s not at
8874 col 0.
8875
8876 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8877 place a submatch around the #.
21e8fe2f
SM
8878 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8879 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8880 on the #, not BOL.
8881
dabefae5
SM
88822013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8883
8884 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8885 (advice--member-p): New arg `name'.
8886 (advice--add-function, advice-member-p): Use it (bug#14202).
8887
85c9ab64
AM
88882013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8889
8890 Reformulate java imenu-generic-expression.
8891 The old expression contained ill formed regexps.
8892
8893 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8894 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8895 (cc-imenu-java-method-arg-regexp): New defconsts.
8896 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8897 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8898 handling of spaces in the regexp.
8899
0f821d99
AM
89002013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8901
8902 * textmodes/ispell.el (ispell-command-loop): Remove
8903 flyspell highlight of a word when ispell accepts it (bug #14178).
8904
eb922adf
MA
89052013-04-15 Michael Albinus <michael.albinus@gmx.de>
8906
8907 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8908 uses code from the previous `ange-ftp-run-real-handler'.
8909 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8910 only in case that function exist. This is needed for proper
8911 unloading of Tramp.
8912
4d9a0979
TH
89132013-04-15 Tassilo Horn <tsdh@gnu.org>
8914
8915 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8916
8917 * textmodes/reftex.el (reftex-compile-variables): Use it.
8918
a829b0dc
SM
89192013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8920
91e8293c
SM
8921 * files.el (normal-mode): Only use default major-mode if no other mode
8922 was specified.
8923
830aed4d
SM
8924 * emacs-lisp/trace.el (trace-values): New function.
8925
a829b0dc
SM
8926 * files.el: Allow : in local variables (bug#14089).
8927 (hack-local-variable-regexp): New var.
8928 (hack-local-variables-prop-line, hack-local-variables): Use it.
8929
7ae9f0fb
RW
89302013-04-13 Roland Winkler <winkler@gnu.org>
8931
8932 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8933 data before it gets modified by bibtex-beginning-of-entry.
8934
6646e848
RW
89352013-04-13 Roland Winkler <winkler@gnu.org>
8936
8937 * textmodes/bibtex.el (bibtex-url): Doc fix.
8938
89392013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8940
8941 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8942 does not visit a BibTeX file, exclude it from the list of buffers
8943 returned by bibtex-initialize.
8944
0aa3616e
SB
89452013-04-13 Stephen Berman <stephen.berman@gmx.net>
8946
8947 * window.el (split-window): Remove interactive form, since as a
8948 command this function is a special case of split-window-below.
8949 Correct doc string.
8950
011cddd6
RW
89512013-04-12 Roland Winkler <winkler@gnu.org>
8952
8953 * faces.el (read-face-name): Do not override value of arg default.
8954 Allow single faces and strings as default values. Remove those
8955 elements from return value that are not faces.
8956 (describe-face): Simplify.
8957 (face-at-point): New optional args thing and multiple so that this
8958 function can provide the same functionality previously provided by
8959 read-face-name.
8960 (make-face-bold, make-face-unbold, make-face-italic)
8961 (make-face-unitalic, make-face-bold-italic, invert-face)
8962 (modify-face, read-face-and-attribute): Use face-at-point.
8963
8964 * cus-edit.el (customize-face, customize-face-other-window)
8965 * cus-theme.el (custom-theme-add-face)
8966 * face-remap.el (buffer-face-set)
8967 * facemenu.el (facemenu-set-face): Use face-at-point.
8968
f24e0036
MA
89692013-04-12 Michael Albinus <michael.albinus@gmx.de>
8970
8971 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8972
da3cda2d
TH
89732013-04-10 Tassilo Horn <tsdh@gnu.org>
8974
8975 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8976 off leading { and trailing } from field values.
8977
15e54145
SM
89782013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8979
78ce603d
SM
8980 * emacs-lisp/timer.el (timer--check): New function.
8981 (timer--time, timer-set-function, timer-event-handler): Use it.
8982 (timer-set-idle-time): Simplify.
8983 (timer--activate): CSE.
8984 (timer-event-handler): Give more info in error message.
8985 (internal-timer-start-idle): New function, moved from C.
8986
15e54145
SM
8987 * mpc.el (mpc-proc): Add `restart' argument.
8988 (mpc-proc-cmd): Use it.
8989 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8990 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8991 less often.
8992
7144c627
MY
89932013-04-10 Masatake YAMATO <yamato@redhat.com>
8994
8995 * progmodes/sh-script.el: Implement `sh-mode' own
8996 `add-log-current-defun-function' (bug#14112).
8997 (sh-current-defun-name): New function.
8998 (sh-mode): Use the function.
8999
b39792eb
BG
90002013-04-09 Bastien Guerry <bzg@gnu.org>
9001
9002 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9003
8acdeb71
SM
90042013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9005
6fcdab68
SM
9006 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9007
8acdeb71
SM
9008 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9009 timer (bug#14156).
9010
e3e7b504
NF
90112013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9012
9013 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9014 declaration.
9015
201bb296
LL
90162013-04-07 Leo Liu <sdl.web@gmail.com>
9017
9018 * pcmpl-x.el: New file.
9019
ebb19708
DA
90202013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9021
9022 Do not set x-display-name until X connection is established.
9023 This is needed to prevent from weird situation described at
9024 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9025 * frame.el (make-frame): Set x-display-name after call to
9026 window system initialization function, not before.
9027 * term/x-win.el (x-initialize-window-system): Add optional
9028 display argument and use it.
9029 * term/w32-win.el (w32-initialize-window-system):
9030 * term/ns-win.el (ns-initialize-window-system):
9031 * term/pc-win.el (msdos-initialize-window-system):
9032 Add compatible optional display argument.
9033
33bb237a
EZ
90342013-04-06 Eli Zaretskii <eliz@gnu.org>
9035
9036 * files.el (normal-backup-enable-predicate): On MS-Windows and
9037 MS-DOS compare truenames of temporary-file-directory and of the
9038 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9039 don't fail comparison by compare-strings. Also, compare file
9040 names case-insensitively on MS-Windows and MS-DOS.
9041
134abf1f
SM
90422013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9043
9044 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9045 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9046
d695cb94
DG
90472013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9048
e3e7b504
NF
9049 * whitespace.el (whitespace-color-on, whitespace-color-off):
9050 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 9051
f4ad7ea1 90522013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
9053
9054 * ispell.el (ispell-set-spellchecker-params):
9055 Really set `ispell-args' for all equivs.
9056
632556e4
SM
90572013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9058
9059 * ido.el (ido-completions): Use extra elements of ido-decorations
9060 (bug#14143).
9061 (ido-decorations): Update docstring.
9062
2a417372
MA
90632013-04-05 Michael Albinus <michael.albinus@gmx.de>
9064
9065 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9066 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9067 nil during initialization, in order not to miss changes since the
9068 file was opened. (Bug#14140)
9069
fc164b0c
LL
90702013-04-05 Leo Liu <sdl.web@gmail.com>
9071
9072 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9073
0ccecc08
JB
90742013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9075
9076 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9077
51af1aa2
GM
90782013-04-04 Glenn Morris <rgm@gnu.org>
9079
9080 * electric.el (electric-pair-inhibit-predicate): Add :version.
9081
b208ebc6
SM
90822013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9083
9084 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9085 when a package is required several times (bug#14082).
9086
f3d3eaf0
RW
90872013-04-04 Roland Winkler <winkler@gnu.org>
9088
9089 * faces.el (read-face-name): Behave as promised by the docstring.
9090 Assume that arg default is a list of faces.
9091 (describe-face): Call read-face-name with list of default faces.
9092
2575da50
TV
90932013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9094
9095 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9096 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9097 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9098 the header.
9099 (bookmark-exit-hook-internal): Save even if list is empty.
9100
397703b4
YH
91012013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9102
9103 * emacs-lisp/package.el (package-pinned-packages): New var.
9104 (package--add-to-archive-contents): Obey it (bug#14118).
9105
691e26ae
AM
91062013-04-03 Alan Mackenzie <acm@muc.de>
9107
8a621d53
JB
9108 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9109 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
9110
9111 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9112 parameter `not-in-delimiter'. Handle being inside comment opener.
9113 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9114 character in case we're typing a '*' after a '/'.
9115 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9116 instead by passing the parameter to c-state-pp-to-literal.
9117
9118 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9119 for elt. 7 of a parse state.
9120
4b725a70
PE
91212013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9122
9123 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9124 * international/latin1-disp.el, international/mule-util.el:
9125 * language/cyril-util.el, language/european.el, language/ind-util.el:
9126 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9127 * language/tibetan.el, language/viet-util.el:
9128 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9129
15c579f0
SM
91302013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9133 (electric-pair-post-self-insert-function): Use it.
9134 (electric-pair-default-inhibit): New function, extracted from
9135 electric-pair-post-self-insert-function.
9136
a77e2924
RW
91372013-03-31 Roland Winkler <winkler@gnu.org>
9138
9139 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9140
2bd8a4a8
SM
91412013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9144
8d3655be 91452013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9146
9147 Un-indent after "pass" and "return" statements (Bug#13888)
9148 * progmodes/python.el (python-indent-block-enders): New var.
9149 (python-indent-calculate-indentation): Use it.
9150
8d3655be 91512013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9152
9153 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9154 defun. Defining it as defalias could introduce too eager
9155 byte-compiler optimization. (Bug#14030)
9156
8d3655be 91572013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9158
9159 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9160
0b1619da
LL
91612013-03-30 Leo Liu <sdl.web@gmail.com>
9162
9163 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9164 (kmacro-execute-from-register): Pass the keyboard macro to
9165 kmacro-call-macro or repeating won't work correctly.
9166
0b938190
TZ
91672013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9168
9169 * progmodes/subword.el: Back to using `forward-symbol'.
9170
9171 * subr.el (forward-whitespace, forward-symbol)
9172 (forward-same-syntax): Move from thingatpt.el.
9173
35710234
LL
91742013-03-29 Leo Liu <sdl.web@gmail.com>
9175
9176 * kmacro.el (kmacro-to-register): New command.
9177 (kmacro-execute-from-register): New function.
9178 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9179
efc0bb73
SM
91802013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9181
9182 * mpc.el: Use defvar-local and setq-local.
9183 (mpc--proc-connect): Connection failures are not bugs.
9184 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9185 (mpc-volume-map): Bind to the up-events.
9186
75a2f981
TZ
91872013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9188
9189 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9190 instead of `forward-symbol'.
9191
17c781d1
SM
91922013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9195 (edebug--recursive-edit): Use it.
9196 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9197 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9198
f67bfbcf
LL
91992013-03-28 Leo Liu <sdl.web@gmail.com>
9200
9201 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9202
b59f639d
EZ
92032013-03-27 Eli Zaretskii <eliz@gnu.org>
9204
9205 * facemenu.el (list-colors-callback): New defvar.
9206 (list-colors-redisplay): New function.
9207 (list-colors-display): Install list-colors-redisplay as the
9208 revert-buffer-function. (Bug#14063)
9209
f557c1b1
SM
92102013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9211
b1da2957
SM
9212 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9213 and suffixes don't overlap (bug#14061).
9214
f557c1b1
SM
9215 * case-table.el: Use lexical-binding.
9216 (case-table-get-table): New function.
9217 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9218
002668e1
TZ
92192013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9220
9221 * progmodes/subword.el: Add `superword-mode' to do word motion
9222 over symbol_words (parallels and leverages `subword-mode' which
9223 does word motion inside MixedCaseWords).
9224
73572c72
AG
92252013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9226
78b8f320 9227 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9228 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9229
69b2c07e
SM
92302013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9231
9232 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9233 Change return value to be a sexp. Delay `get-buffer' to after
9234 restoring the desktop (bug#13951).
9235
08bb5ee2
LL
92362013-03-26 Leo Liu <sdl.web@gmail.com>
9237
9238 * register.el: Move semantic tag handling back to
9239 cedet/semantic/senator.el. (Bug#14052)
9240
8d4c974e
SM
92412013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9244 into the prompt either (bug#13963).
9245
b234d92c
SM
92462013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9249 part of "(error-foo)".
9250
ddfa3cb4
JL
92512013-03-24 Juri Linkov <juri@jurta.org>
9252
9253 * replace.el (list-matching-lines-prefix-face): New defcustom.
9254 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9255 `occur-engine' if `face-differs-from-default-p' returns t.
9256 (occur-engine): Add `,' inside backquote construct to evaluate
9257 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9258 Pass `prefix-face' to the functions `occur-context-lines' and
9259 `occur-engine-add-prefix'.
9260 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9261 `prefix-face' and propertize the prefix with `prefix-face'.
9262 (Bug#14017)
9263
7b0e2f85
LL
92642013-03-24 Leo Liu <sdl.web@gmail.com>
9265
9266 * nxml/rng-valid.el (rng-validate-while-idle)
9267 (rng-validate-quick-while-idle): Guard against deleted buffer.
9268 (Bug#13999)
9269
9270 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9271 is the last entry in kill-buffer-hook.
9272
9273 * files.el (kill-buffer-hook): Doc fix.
9274
b3082f49
DG
92752013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9276
b234d92c
SM
9277 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9278 Make it safe-local.
bde73d27 9279
b3082f49
DG
9280 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9281
a320a2db
LL
92822013-03-23 Leo Liu <sdl.web@gmail.com>
9283
7e74b0fb
LL
9284 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9285 Remove.
9286
9287 * nxml/rng-valid.el (rng-validate-mode)
9288 (rng-after-change-function, rng-do-some-validation):
9289 * nxml/rng-maint.el (rng-validate-buffer):
9290 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9291 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9292 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9293 (nxml-extend-after-change-region): Use with-silent-modifications.
9294
a320a2db
LL
9295 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9296 timer-idle-list.
9297
9298 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9299 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9300 timer-idle-list. (Bug#13999)
9301
e38e6780
JL
93022013-03-23 Juri Linkov <juri@jurta.org>
9303
9304 * info.el (info-index-match): New face.
9305 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9306 main pattern and add text properties with the new face to matches
9307 in index entries relative to the beginning of the index entry.
9308 (Bug#14015)
9309
e8cc7880
DE
93102013-03-21 Eric Ludlam <zappo@gnu.org>
9311
9312 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9313 Inhibit read only while inserting objects.
9314
9bb0d822
TZ
93152013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9316
9317 * progmodes/cfengine.el: Update docs to mention
9318 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9319 symbol motion. Remove "_" from the word syntax.
9320
aa703640
TZ
93212013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9322
9323 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9324 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9325
afff09d0
JL
93262013-03-20 Juri Linkov <juri@jurta.org>
9327
9328 * info.el (Info-next-reference-or-link)
9329 (Info-prev-reference-or-link): New functions.
9330 (Info-next-reference, Info-prev-reference): Use them.
9331 (Info-try-follow-nearest-node): Handle footnote navigation.
9332 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9333
9a1ff164
SM
93342013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9337 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9338
2667d15d
PE
93392013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9340
9341 Suppress unnecessary non-ASCII chatter during build process.
9342 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9343 (batch-skkdic-convert): Suppress most of the chatter.
9344 It's not needed so much now that machines are faster,
9345 and its non-ASCII component was confusing; see Dmitry Gutov in
9346 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9347
438b0579
LL
93482013-03-20 Leo Liu <sdl.web@gmail.com>
9349
9350 * ido.el (ido-chop): Fix bug#10994.
9351
c128ab07
DG
93522013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9353
9354 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9355 Remove vars.
9a1ff164
SM
9356 (whitespace-color-on, whitespace-color-off):
9357 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9358
0e6008c5
SM
93592013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9360
9361 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9362 remapping in mode-line.
9363 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9364
627b52b0
DG
93652013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9366
9367 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9368 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9369 (whitespace-font-lock-keywords): Change description.
9370 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9371 the constructed keywords instead.
9372 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9373
50c3a20b
LL
93742013-03-19 Leo Liu <sdl.web@gmail.com>
9375
9376 * progmodes/compile.el (compilation-display-error): New command.
9377 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9378 C-o. (Bug#13992)
9379
2aa2157b
PE
93802013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9381
9382 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9383
e477dbfa
JD
93842013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9385
9386 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9387
64ab82d1
MA
93882013-03-18 Michael Albinus <michael.albinus@gmx.de>
9389
9390 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9391
9392 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9393 * net/tramp-gvfs.el (top):
9394 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9395 (tramp-handle-shell-command): Use it.
9396 (tramp-dissect-file-name): Raise an error when hostname is a
9397 method name, and neither method nor user is specified.
9398
9399 * net/trampver.el: Update release number.
9400
33cef733
LL
94012013-03-18 Leo Liu <sdl.web@gmail.com>
9402
9403 Make sure eldoc can be turned off properly.
9404 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9405 eldoc-mode.
9406 (eldoc-display-message-p): Revert last change.
9407 (eldoc-display-message-no-interference-p)
9408 (eldoc-print-current-symbol-info): Tweak.
9409
2167b7b2
TH
94102013-03-18 Tassilo Horn <tsdh@gnu.org>
9411
9412 * doc-view.el (doc-view-new-window-function): Check the new window
9413 overlay's display property instead the char property of the
9414 buffer's first char. Use `with-selected-window' instead of
9415 `save-window-excursion' with `select-window'.
9416 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9417 display property instead the char property of the buffer's first char.
2167b7b2 9418
982efbcd
PE
94192013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9420
9421 Automate the build of ja-dic.el (Bug#13984).
9422 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9423 from the input, rather than assume that it's been done for us by the
9424 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9425 the current date into a ja-dic.el comment, as that complicates
9426 regression testing.
9427
2fcc7665
SM
94282013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9429
9430 * whitespace.el: Fix double evaluation.
9431 (whitespace-space, whitespace-hspace, whitespace-tab)
9432 (whitespace-newline, whitespace-trailing, whitespace-line)
9433 (whitespace-space-before-tab, whitespace-indentation)
9434 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9435 obsolete defvars.
9436 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9437 (whitespace-color-on): Use a single font-lock-add-keywords call.
9438 Fix double-evaluation of face variables.
9439
67c0a6e6
MA
94402013-03-17 Michael Albinus <michael.albinus@gmx.de>
9441
2fcc7665
SM
9442 * net/tramp-adb.el (tramp-adb-parse-device-names):
9443 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9444 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9445
69489f1d
LL
94462013-03-17 Leo Liu <sdl.web@gmail.com>
9447
9448 Extend eldoc to display info in the mode-line. (Bug#13978)
9449 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9450 (eldoc-mode-line-string): New variable.
9451 (eldoc-minibuffer-message): New function.
9452 (eldoc-message-function): New variable.
9453 (eldoc-message): Use it.
9454 (eldoc-display-message-p)
2fcc7665
SM
9455 (eldoc-display-message-no-interference-p):
9456 Support eldoc-post-insert-mode.
69489f1d
LL
9457
9458 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9459 (eval-expression): Run it.
9460
9c44569e
RW
94612013-03-17 Roland Winkler <winkler@gnu.org>
9462
9463 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9464 strings in the list of return values.
9465
327f1f6f
JB
94662013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9467
9468 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9469 radix before checking for HMS forms.
9470
67ed8fcd
LL
94712013-03-16 Leo Liu <sdl.web@gmail.com>
9472
9473 * progmodes/scheme.el: Add indentation and font-locking for λ.
9474 (Bug#13975)
9475
78be8b64 94762013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9477
9478 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9479 token before point (bug#13942).
9480
78be8b64 94812013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9482
95b43468 9483 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9484
98e775e6
EZ
94852013-03-16 Eli Zaretskii <eliz@gnu.org>
9486
9487 * startup.el (command-line-normalize-file-name): Fix handling of
9488 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9489 <xfq.free@gmail.com> in
9490 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9491
2edd6029
MA
94922013-03-15 Michael Albinus <michael.albinus@gmx.de>
9493
9494 Sync with Tramp 2.2.7.
9495
9496 * net/trampver.el: Update release number.
9497
d35f5864
TH
94982013-03-14 Tassilo Horn <tsdh@gnu.org>
9499
e903c210 9500 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9501 (doc-view-insert-image): Don't modify overlay associated to
9502 non-live windows, and implement horizontal centering of image in
9503 case it's smaller than the window.
9504 (doc-view-new-window-function): Force redisplay of new windows on
9505 doc-view buffers.
d35f5864 9506
1c4a85ed
KF
95072013-03-13 Karl Fogel <kfogel@red-bean.com>
9508
9509 * saveplace.el (save-place-alist-to-file): Don't sort
9510 `save-place-alist', just pretty-print it (bug#13882).
9511
85b66a21
MA
95122013-03-13 Michael Albinus <michael.albinus@gmx.de>
9513
a020afb9
JB
9514 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9515 Check whether `default-file-name-coding-system' is bound.
9516 It isn't in XEmacs.
85b66a21 9517
175600da
SM
95182013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9519
e7f7cb1a
SM
9520 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9521 backquotes for `obsolete' (bug#13929).
9522
175600da
SM
9523 * international/mule.el (find-auto-coding): Include file name in
9524 obsolescence warning (bug#13922).
9525
ca68a22e
TZ
95262013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9527
9528 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9529 for CFEngine 3-specific indentation.
9530 (cfengine3-indent-line): Use it. Fix up category regex.
9531 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9532
940e5099
SM
95332013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9534
9535 * type-break.el (type-break-file-name):
9536 * textmodes/remember.el (remember-data-file):
9537 * strokes.el (strokes-file):
9538 * shadowfile.el (shadow-initialize):
9539 * saveplace.el (save-place-file):
9540 * ps-bdf.el (bdf-cache-file):
9541 * progmodes/idlwave.el (idlwave-config-directory):
9542 * net/quickurl.el (quickurl-url-file):
9543 * international/kkc.el (kkc-init-file-name):
9544 * ido.el (ido-save-directory-list-file):
9545 * emulation/viper.el (viper-custom-file-name):
9546 * emulation/vip.el (vip-startup-file):
9547 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9548 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9549
cc725808
PE
95502013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9551
9552 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9553 * language/thai-word.el: Switch to UTF-8.
9554
a020afb9 9555See ChangeLog.16 for earlier changes.
e3d51b27
MR
9556
9557;; Local Variables:
9558;; coding: utf-8
e3d51b27
MR
9559;; End:
9560
ab422c4d 9561 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9562
9563 This file is part of GNU Emacs.
9564
9565 GNU Emacs is free software: you can redistribute it and/or modify
9566 it under the terms of the GNU General Public License as published by
9567 the Free Software Foundation, either version 3 of the License, or
9568 (at your option) any later version.
9569
9570 GNU Emacs is distributed in the hope that it will be useful,
9571 but WITHOUT ANY WARRANTY; without even the implied warranty of
9572 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9573 GNU General Public License for more details.
9574
9575 You should have received a copy of the GNU General Public License
9576 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.