* lisp/helpers.el: Actually commit the library code.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b27cc9fc
MA
12013-11-04 Michael Albinus <michael.albinus@gmx.de>
2
3 Fix problems found while writing a test suite.
4
5 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
8 to nil when running original file name handler. Otherwise,
9 there are problems with constructs like "$$FOO".
10
11 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
12 for `localname'.
13
d8c4f18a
BB
142013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
15
7b530552
BB
16 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
17
18 * subr.el (version<, version<=, version=):
19 Update docstrings with information for snapshot versions.
20
d8c4f18a
BB
21 * helpers.el: New library for misc helper functions.
22 (hash-table-keys): New function returning a list of hash keys.
23 (hash-table-values): New function returning a list of hash values.
24
dca01b09
DG
252013-11-04 Dmitry Gutov <dgutov@yandex.ru>
26
27 * progmodes/ruby-mode.el (ruby-smie--forward-token)
28 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
29
0a749fa0
MN
302013-11-04 Michal Nazarewicz <mina86@mina86.com>
31
32 * textmodes/fill.el (fill-single-char-nobreak-p): New function
33 checking whether point is after a 1-letter word.
34
352013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
36
37 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
38 Don't infloop when expanding region over `multiline' syntax-type that
39 begins a line (bug#15778).
40
4aca7145
SM
412013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
42
43 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
44 Make it into a proper minor mode.
45 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
46 (rectangle-mark-mode-map): New keymap.
47 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
48
a0833f62
GM
492013-11-04 Glenn Morris <rgm@gnu.org>
50
51 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
52
e61845c1
SM
532013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
56 (ruby-smie-rules): Use smie-rule-parent instead.
57
58 * emacs-lisp/smie.el (smie-rule-parent): Always call
59 smie-indent-virtual rather than only for hanging tokens.
60 (smie--next-indent-change): New helper command.
61
62942f89
GM
622013-11-03 Glenn Morris <rgm@gnu.org>
63
64 * Makefile.in (abs_srcdir): Remove.
65 (emacs): Unset EMACSLOADPATH.
66
b0b9e592
GM
672013-11-02 Glenn Morris <rgm@gnu.org>
68
18ba6a33 69 * Makefile.in (EMACS): Use a relative filename.
8061810d 70 (abs_top_builddir): Remove.
18ba6a33
GM
71 (custom-deps, finder-data, autoloads): Use --chdir.
72
6a8b929e
GM
73 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
74
c617f3d0
GM
75 Use relative filenames in TAGS files.
76 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
77 (lisptagsfiles4, TAGS): Use relative file names.
78 (TAGS-LISP): Remove.
79 (maintainer-clean): No more TAGS-LISP file.
80
b0b9e592
GM
81 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
82 (lisptagsfiles4): Use absolute filenames again.
83 (TAGS, TAGS-LISP): Not everything needs to run in one line.
84 Remove all *loaddefs files, not just the first. Remove esh-groups.
85 (maintainer-clean): Delete TAGS, TAGS-LISP.
86
d1c0ea6a
BB
872013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
88
e61845c1
SM
89 * emacs-lisp/package.el (package-version-join):
90 Recognize snapshot versions.
d1c0ea6a 91
684d71c6
BB
922013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
93
94 * subr.el (version-regexp-alist): Add support for snapshot versions.
95
3d42b968
DG
962013-11-02 Dmitry Gutov <dgutov@yandex.ru>
97
e61845c1
SM
98 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
99 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
100 skip over our direct parent if it's an assignment token..
101 (ruby-smie-rules): Use it.
102
7ffd3721
DG
1032013-11-02 Dmitry Gutov <dgutov@yandex.ru>
104
105 * progmodes/ruby-mode.el Use `syntax-propertize-function'
106 unconditionally. Remove now unnecessary forward declarations.
107 Remove XEmacs-specific setup.
108 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
109 (ruby-font-lock-syntactic-keywords)
110 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
111 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
112 (ruby-here-doc-end-syntax): Remove.
113 (ruby-mode): Don't check whether `syntax-propertize-rules' is
114 defined as function.
115
a3996a2e
BB
1162013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
117
118 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
119
6f9260e8
BB
1202013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
121
122 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
123 table and abbrev table, `define-derived-mode' does that for us
124 anyway.
125
6014de84
GM
1262013-11-01 Glenn Morris <rgm@gnu.org>
127
128 * Makefile.in: Remove manual mh-e dependencies (writing .elc
129 files is atomic for some time, so no parallel compilation issues).
130
3c334c14
JD
1312013-11-01 Jan Djärv <jan.h.d@swipnet.se>
132
133 * faces.el (face-x-resources): Add :distant-foreground.
134 (region): Use :distant-foreground for gtk and ns.
135
9bc236c8
TH
1362013-11-01 Tassilo Horn <tsdh@gnu.org>
137
5246583b 138 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
139 BibTeX.
140 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
141 (reftex-locate-bibliography-files): Us it.
142
d14c81ee
CB
1432013-11-01 Claudio Bley <claudio.bley@googlemail.com>
144
0e7690de
CB
145 * image.el (image-type-header-regexps): Fix the 'pbm' part to
146 allow comments in pbm files.
147
d14c81ee
CB
148 * term/w32-win.el (dynamic-library-alist): Support newer versions
149 of libjpeg starting with v7: look only for the DLL from the
150 version against which Emacs was built.
ac1bf374 151 Support versions of libpng beyond 1.4.x.
019c8218 152 Support libtiff v4.x.
d14c81ee 153
983d0df5
BB
1542013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
155
156 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
157 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
158 Add property :safe.
159 (ruby-deep-arglist): Add property :type.
160
47f58d85
GM
1612013-10-31 Glenn Morris <rgm@gnu.org>
162
163 * Makefile.in (custom-deps, finder-data): No need to setq the target
164 variables, we are in the right directory and the defaults work fine.
165
4f85b479
GM
1662013-10-30 Glenn Morris <rgm@gnu.org>
167
ca7dd4cd
GM
168 * Makefile.in (autoloads): Do not use abs_lisp.
169
4f85b479
GM
170 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
171 `newline' does not respect `standard-output', so use `princ'.
172
cf59e41c
AA
1732013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
174
175 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
176 * buff-menu.el (Buffer-menu--unmark): New function.
177 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
178
74cf04fb
GM
1792013-10-30 Glenn Morris <rgm@gnu.org>
180
b040b60e
GM
181 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
182
f53d3815
GM
183 * emacs-lisp/package.el (lm-homepage): Declare.
184
5413d873
GM
185 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
186 Fix doc typos.
187
cecedb36
GM
188 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
189
74cf04fb
GM
190 * Makefile.in (finder-data, autoloads, update-subdirs)
191 (compile-main, compile-clean, compile-always, bootstrap-clean):
192 Check return value of cd.
193 (compile-calc): Remove.
194
195ee2f0
SM
1952013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
196
ae4002ce
SM
197 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
198
199 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
200 (byte-compile-and-folded): New function.
201 (=, <, >, <=, >=): Use it.
202
203 * dos-w32.el (minibuffer-history-case-insensitive-variables)
204 (path-separator, null-device, buffer-file-coding-system)
205 (lpr-headers-switches): Check system-type before modifying them.
206 (find-buffer-file-type-coding-system): Mark obsolete.
207 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
208 find-file-not-found-set-buffer-file-coding-system.
209 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
210 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
211 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
212 (w32-direct-print-region-helper, w32-direct-print-region-function)
213 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
214 * startup.el (normal-top-level-add-subdirs-to-load-path):
215 * ps-print.el (ps-print-region-function):
216 * lpr.el (print-region-function): Use new name.
217
53b39e89
SM
218 * subr.el (custom-declare-variable-early): Remove function.
219 (custom-declare-variable-list): Remove var.
220 (error, user-error): Remove `while' loop.
221 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
222 (user-emacs-directory-warning, locate-user-emacs-file):
223 Move to files.el.
224 * simple.el (read-quoted-char-radix, read-quoted-char):
225 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
226 Move from subr.el.
227 * custom.el (custom-declare-variable-list): Don't process
228 custom-declare-variable-list.
229
195ee2f0
SM
230 * progmodes/python.el (python-shell-get-buffer): New function.
231 (python-shell-get-process): Use it.
232 (python-shell-send-string): Always use utf-8 and add a cookie to tell
233 Python which encoding was used. Don't split-string since we only care
234 about the first line. Return the temp-file, if applicable.
235 (python-shell-send-region): Tell compile.el how to turn locations in
236 the temp-file into locations in the source buffer.
237
7e3561ee
SM
2382013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
239
4c9797cb
SM
240 * subr.el (undefined): Add missing behavior from the C code for
241 unbound keys.
242
3472b6c6
SM
243 * rect.el: Use lexical-binding. Add new rectangular region support.
244 (rectangle-mark): New command.
245 (rectangle--region): New var.
246 (deactivate-mark-hook): Reset rectangle--region.
247 (rectangle--extract-region, rectangle--insert-for-yank)
248 (rectangle--highlight-for-redisplay)
249 (rectangle--unhighlight-for-redisplay): New functions.
250 (region-extract-function, redisplay-unhighlight-region-function)
251 (redisplay-highlight-region-function): Use them to handle
252 rectangular region.
253 * simple.el (region-extract-function): New var.
254 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
255 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
256 (kill-region): Replace obsolete `yank-handler' arg with `region'.
257 (copy-region-as-kill, kill-ring-save): Add `region' argument.
258 (redisplay-unhighlight-region-function)
259 (redisplay-highlight-region-function): New vars.
260 (redisplay--update-region-highlight): New function.
261 (pre-redisplay-function): Use it.
262 (exchange-point-and-mark): Don't deactivate the mark before
263 reactivate-it anyway.
264 * comint.el (comint-kill-region): Remove yank-handler argument.
265 * delsel.el (delete-backward-char, backward-delete-char-untabify)
266 (delete-char): Remove property, since it's now part of their
267 default behavior.
268 (self-insert-iso): Remove property since this command doesn't exist.
269
7e3561ee
SM
270 * emacs-lisp/package.el (package--download-one-archive)
271 (describe-package-1): Don't query the user about final newline.
272
b9bef71f
DC
2732013-10-29 Daniel Colascione <dancol@dancol.org>
274
275 * net/tramp.el (tramp-methods): Document new functionality.
276 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
277 tramp-hostname-checker if method provides one instead of scanning
278 argument list for "%h" to decide hostname acceptability.
279
4efc33f0
MA
2802013-10-28 Michael Albinus <michael.albinus@gmx.de>
281
282 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
283 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
284 Handle COPY-CONTENTS. (Bug#15737)
285
ed42a877
DU
2862013-10-28 Daiki Ueno <ueno@gnu.org>
287
288 * epa-file.el
7e3561ee
SM
289 (epa-file-cache-passphrase-for-symmetric-encryption):
290 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 291
18c9f8a2
XF
2922013-10-27 Xue Fuqiao <xfq.free@gmail.com>
293
7a4bc7be
XF
294 * image.el (defimage):
295 (image-load-path): Doc fixes.
18c9f8a2 296
b1e8e010
AM
2972013-10-27 Alan Mackenzie <acm@muc.de>
298
299 Indent statements in macros following "##" correctly.
7e3561ee
SM
300 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
301 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 302
73d40d1e 3032013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
304
305 * linum.el (linum-update-window): Fix boundary test (bug#13446).
306
c8c605ac
DG
3072013-10-27 Dmitry Gutov <dgutov@yandex.ru>
308
309 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
310 after `=' is probably a new expression.
311
ca7e59d4
RS
3122013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
313
314 * man.el (man-imenu-title): New option.
315 (Man-mode-map): Add menu. (Bug#15722)
316 (Man-mode): Add imenu to menu.
317
bae91342
DG
3182013-10-26 Dmitry Gutov <dgutov@yandex.ru>
319
320 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
321 specific in what the first arg can be: a non-keyword word,
322 string/regexp/percent literal opener, opening paren, or unary
323 operator followed directly by word.
324
eb89dc14
SM
3252013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
328 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
329 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
330 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
331 Remove vars, they do not apply any more.
332 (prolog-mode-abbrev-table): Remove redundant declaration.
333 (prolog-upper-case-string, prolog-lower-case-string): Remove.
334 (prolog-use-smie): Remove.
335 (prolog-smie-rules): Add indentation rule for the if-then-else layout
336 supported by prolog-electric-if-then-else-flag.
337 (prolog-mode-variables, prolog-menu): Use setq-local.
338 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
339 Remove binding to `Backspace' since this key doesn't exist anyway.
340 Remove bindings for electric self-inserting keys.
341 (prog-mode): Assume it's defined.
342 (prolog-post-self-insert): New function.
343 (prolog-mode): Use it.
344 (prolog-indent-line, prolog-indent-level)
345 (prolog-find-indent-of-matching-paren)
346 (prolog-indentation-level-of-line, prolog-goto-comment-column)
347 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
348 (prolog-goto-next-paren, prolog-in-string-or-comment)
349 (prolog-tokenize, prolog-inside-mline-comment)
350 (prolog-find-start-of-mline-comment): Remove functions.
351 (prolog-find-unmatched-paren, prolog-clause-end)
352 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
353 (prolog-electric--if-then-else): Rename from
354 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
355 (prolog-tokenize-searchkey): Remove const.
356 (prolog-clause-info): Use forward-sexp.
357 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
358 (prolog-electric-if-then-else): Remove commands.
359 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
360 for use in post-self-insert-hook.
361 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
362 for use in post-self-insert-hook.
363 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
364 for use in post-self-insert-hook.
365 (prolog-electric--underscore): Rename from prolog-electric--underscore;
366 adapt it for use in post-self-insert-hook.
367
3dab0a83
MA
3682013-10-25 Michael Albinus <michael.albinus@gmx.de>
369
370 * emacs-lisp/ert.el (ert-run-tests-interactively):
371 Use `completing-read'. (Bug#9756)
372
fbfd0e1d
EZ
3732013-10-25 Eli Zaretskii <eliz@gnu.org>
374
375 * simple.el (line-move): Call line-move-1 instead of
376 line-move-visual when the current window hscroll is zero, but
377 temporary-goal-column indicates we will need to hscroll as result
378 of the movement. (Bug#15712)
379
963ce636
DG
3802013-10-25 Dmitry Gutov <dgutov@yandex.ru>
381
382 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
383 capitalization. Use :visible instead of :active.
384 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
385 commands that are used with SMIE.
386 (ruby-do-end-to-brace): Insert space after `{'.
387
a0be396a
JA
3882013-10-25 John Anthony <john@jo.hnanthony.com>
389
f73754c9
JA
390 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
391
392 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 393
f5bf77df
GM
3942013-10-25 Glenn Morris <rgm@gnu.org>
395
396 * vc/vc.el (vc-print-log): Don't use a working revision unless
397 one was explicitly specified. (Bug#15322)
398
37241f62
SM
3992013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * subr.el (add-to-list): Preserve return value in compiler-macro
402 (bug#15692).
403
6408a65d
RS
4042013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
405
406 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
407 result. Ask user to retry using '-all' flag. (Bug#15701)
408
71e3276b
SM
4092013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * emacs-lisp/smie.el: New smie-config system.
412 (smie-config): New defcustom.
413 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
414 (smie-config-guess, smie-config-save): New commands.
415 (smie-config--mode-local, smie-config--buffer-local)
416 (smie-config--trace, smie-config--modefuns): New vars.
417 (smie-config--advice, smie-config--mode-hook)
418 (smie-config--setter, smie-config-local, smie-config--get-trace)
419 (smie-config--guess-value, smie-config--guess): New functions.
420 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
421 text properties. Treat "string fence" syntax like string syntax.
422
423 * progmodes/sh-script.el (sh-use-smie): Change default.
424 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
425 (sh-var-value): Simplify by CSE.
426 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
427 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
428 is used.
429 (sh-guess-basic-offset): Use cl-incf.
430 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
431
60db713e
HE
4322013-10-24 Helmut Eller <eller.helmut@gmail.com>
433
434 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
435 (bug#15699).
436
8b251df6
GM
4372013-10-24 Glenn Morris <rgm@gnu.org>
438
439 * Makefile.in (abs_top_srcdir): Remove.
440 (update-subdirs): Use relative path to update-subdirs.
441
6be0e22b
EZ
4422013-10-24 Eli Zaretskii <eliz@gnu.org>
443
444 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
445 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
446 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
447 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 448
50b5b857
MA
4492013-10-24 Michael Albinus <michael.albinus@gmx.de>
450
451 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
452 (ert-test-skipped): New error.
453 (ert-skip, ert-stats-skipped): New defuns.
454 (ert--skip-unless): New macro.
455 (ert-test-skipped): New struct.
456 (ert--run-test-debugger, ert-test-result-type-p)
457 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
458 (ert--stats-set-test-and-result, ert-char-for-test-result)
459 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 460 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 461 Handle skipped tests. (Bug#9803)
50b5b857 462
6f317c2f
GM
4632013-10-24 Glenn Morris <rgm@gnu.org>
464
e43817c1
GM
465 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
466
6f317c2f
GM
467 * Makefile.in (abs_top_srcdir): New, set by configure.
468 (update-subdirs): Correct build-aux location.
469
369bbf71
DG
4702013-10-24 Dmitry Gutov <dgutov@yandex.ru>
471
8297b2cf
DG
472 * vc/vc.el (vc-print-root-log): Always set `default-directory'
473 value, whether we could auto-deduce `backend', or not.
474
369bbf71
DG
475 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
476 with parameters" example. Simplify the "is it block or is it
477 hash" check, but also make it more thorough.
478
d5f1282f
MF
4792013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
480
481 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
482
bc4aaa31
SM
4832013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
484
03d44565
SM
485 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
486 { if it is hanging.
487
bc4aaa31
SM
488 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
489 :before ";".
490
f493ff19
JB
4912013-10-23 Jed Brown <jed@59A2.org> (tiny change)
492
493 * progmodes/compile.el (compilation-directory-matcher)
494 (compilation-page-delimiter):
495 Support GNU Make-4.0 directory quoting. (Bug#15678)
496
c744a3b9
LL
4972013-10-23 Leo Liu <sdl.web@gmail.com>
498
499 * ido.el (ido-tidy): Handle read-only text.
500
b8e3b0a9
GM
5012013-10-23 Glenn Morris <rgm@gnu.org>
502
503 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
504 (emacs, compile, compile-always):
505 Quote entities that might contain whitespace.
506 (custom-deps, finder-data, autoloads): Use abs_lisp.
507 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
508 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
509 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
510
ee4282cd
DG
5112013-10-23 Dmitry Gutov <dgutov@yandex.ru>
512
bc4aaa31
SM
513 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
514 Use `following-char'.
7790a270 515
ee4282cd 5162013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
517
518 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
519 * progmodes/ruby-mode.el (ruby-smie-rules):
520 Remove corresponding workaround. Fix indentation rule of ";" so it
521 also applies when ";" is the parent.
522
d40a46d7
XF
5232013-10-22 Xue Fuqiao <xfq.free@gmail.com>
524
525 * frame.el (display-screens, display-pixel-height)
526 (display-pixel-width, display-mm-width, display-backing-store)
527 (display-save-under, display-planes, display-color-cells)
7790a270
SM
528 (display-visual-class, display-monitor-attributes-list):
529 Mention the optional ‘display’ argument in doc strings.
d40a46d7 530
a0f143c9
MG
5312013-10-22 Michael Gauland <mikelygee@amuri.net>
532
533 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
534 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
535
18cacc39
DG
5362013-10-21 Dmitry Gutov <dgutov@yandex.ru>
537
538 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
539 TODO. Add "." after " @ ".
540 (ruby-smie--at-dot-call): New function. Checks if point at method
541 call with explicit target.
542 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
543 to the method name tokens when it precedes them.
544 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
545 (ruby-smie-rules): Add rule for indentation before and after "."
546 token.
547
df74c4be
SM
5482013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
549
c6dab55f
SM
550 * textmodes/remember.el (remember-diary-extract-entries):
551 Avoid add-to-list.
552
df74c4be
SM
553 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
554 an instruction.
555
8c1ae481
DG
5562013-10-21 Dmitry Gutov <dgutov@yandex.ru>
557
cfef16c0
DG
558 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
559 (ruby-smie--implicit-semi-p): Add new operator chars.
560
8c1ae481
DG
561 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
562 `smie-down-list'.
563 (ruby-smie--args-separator-p): Check that there's no newline
564 between method call and its arguments.
565
87756ca9
AM
5662013-10-20 Alan Mackenzie <acm@muc.de>
567
568 Allow comma separated lists after Java "implements".
569
df74c4be
SM
570 * progmodes/cc-engine.el (c-backward-over-enum-header):
571 Parse commas.
87756ca9
AM
572 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
573 from a "disallowed" list in enum fontification.
574
c25f8957
JB
5752013-10-20 Johan Bockgård <bojohan@gnu.org>
576
df74c4be 577 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 578
c25f8957
JB
579 * progmodes/verilog-mode.el (verilog-mode): Don't set
580 comment-indent-function globally.
581
aca5fcdc
JD
5822013-10-20 Jan Djärv <jan.h.d@swipnet.se>
583
5f161884
JD
584 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
585 Move Info menu item creation to ns-win.el.
586
587 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
588 in menu bar.
589
aca5fcdc
JD
590 * menu-bar.el: Move GNUStep specific menus...
591
592 * term/ns-win.el (ns-initialize-window-system): ... to here.
593
914b7f98
SM
5942013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * simple.el (newline): Only run post-self-insert-hook when
597 called interactively.
598
846ffe77
JB
5992013-10-19 Johan Bockgård <bojohan@gnu.org>
600
601 * icomplete.el (icomplete-with-completion-tables): Add :version.
602
033f22dd
AM
6032013-10-19 Alan Mackenzie <acm@muc.de>
604
605 Fix fontification bugs with constructors and const.
606
607 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
608 CASE 2) Remove the check for the absence of a suffix construct
609 after a function declaration with only types (no identifiers) in
610 the parentheses. Also, accept a function declaration with just a
611 type inside the parentheses, if this type can be positively
612 recognised as such, or if a prefix keyword like "explicit" nails
613 down the construct as a declaration.
614
58ce0cfc
EZ
6152013-10-19 Eli Zaretskii <eliz@gnu.org>
616
617 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
618 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
619 the problem whereby selecting a menu item that leads to a
620 minibuffer prompt moves the cursor out of the minibuffer window,
621 making it hard to type at the prompt. Suggested by Stefan Monnier
622 <monnier@iro.umontreal.ca>.
623
50e28e7d
JD
6242013-10-19 Jan Djärv <jan.h.d@swipnet.se>
625
626 * menu-bar.el: Don't make Services menu.
627
7deed4bf
RS
6282013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
629
630 * ffap.el: Handle "/usr/include/c++/<version>" directories.
631 (ffap-alist): Use ffap-c++-mode for c++-mode.
632 (ffap-c++-path): New variable.
633 (ffap-c++-mode): New function.
634
7bcb455b
JVJ
6352013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
636
637 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
638
f0ff1cd5
MA
6392013-10-18 Michael Albinus <michael.albinus@gmx.de>
640
641 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
642 introduced on 2013-09-08, which results in an infinite loop
643 requesting a password.
644
d64da4b7
GM
6452013-10-18 Glenn Morris <rgm@gnu.org>
646
647 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
648
ea89ff08
WS
6492013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
650
651 Sync with upstream verilog-mode revision 1a6ecec7.
652 * progmodes/verilog-mode.el (verilog-mode-version): Update.
653 (verilog-mode-release-date): Remove.
654 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
655 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
656 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
657 (verilog-auto-tieoff-ignore-regexp)
658 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
659 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
660 (verilog-signals-with, verilog-dir-cache-preserving)
661 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
662 Doc fixes.
663 (verilog-case-fold): New option, to control case folding in
664 regexp searches, bug597.
665 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
666 (verilog-string-match-fold, verilog-in-paren-count)
667 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
668 (verilog-at-close-struct-p): New functions.
669 (verilog-beg-block-re-ordered, verilog-extended-case-re)
670 (verilog-forward-sexp, verilog-set-auto-endcomments):
671 (verilog-leap-to-case-head): Handle "unique0" case.
672 (verilog-in-constraint-re): New constant.
673 (verilog-keywords, verilog-type-font-keywords):
674 Add some SystemVerilog 1800-2012 keywords.
675 (verilog-label-be): Remove unimplemented argument, bug669.
676 (verilog-batch-execute-func): When batch expanding clear
677 create-lockfiles to prevent spurious user locks when a file ends
678 up not changing.
679 (verilog-calculate-indent, verilog-calc-1)
680 (verilog-at-close-constraint-p, verilog-at-constraint-p)
681 (verilog-do-indent): Fix indentation of nested constraints
682 and structures.
683 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
684 (verilog-auto-inst-param): Use verilog-string-match-fold.
685 (verilog-read-inst-module-matcher):
686 Fix AUTOINST on gate primitives with #1.
687 (verilog-read-decls): Fix double-declaring user-defined typed signals.
688 Reads all user-defined typed variables.
689 (verilog-read-defines): Fix reading definitions inside comments, bug647.
690 (verilog-signals-matching-regexp)
691 (verilog-signals-not-matching-regexp, verilog-auto):
692 Respect verilog-case-fold.
693 (verilog-diff-report): Fix line count.
694 (verilog-auto-assign-modport): Remove unused local `modi'.
695 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
696 better handle multidimensional arrays.
697 Fix packed array ports misadding bit index in AUTOINST, bug637.
698 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
699 to not double-declare existing outputs and inputs, respectively.
700 (verilog-template-map): Bind U to verilog-sk-uvm-component.
701 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
702 (verilog-sk-uvm-component): New skeleton.
703 (verilog-submit-bug-report): Add verilog-case-fold,
704 remove verilog-mode-release-date.
705
ef566920
BR
7062013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
707
708 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
709 as before.
710
29df8a0b
RT
7112013-10-18 Reuben Thomas <rrt@sc3d.org>
712
713 * textmodes/remember.el (remember): set buffer-offer-save in
714 remember buffers (bug#13566).
715
04a19a79
DC
7162013-10-18 Daniel Colascione <dancol@dancol.org>
717
718 When evaluating forms in ielm, direct standard output to ielm
719 buffer. Add new ielm-return-for-effect command. Remove trailing
720 whitespace throughout.
721
722 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
723 (ielm-return-for-effect): New command.
724 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
725 (ielm-eval-input): Accept optional `for-effect' parameter.
726 Bind `standard-output' to stream we create using
04a19a79
DC
727 `ielm-standard-output-impl'. Suppress printing result when
728 `for-effect'.
729 (ielm-standard-output-impl): New function.
730 (inferior-emacs-lisp-mode): Explain new features in documentation.
731
4c1f03ef
MA
7322013-10-17 Michael Albinus <michael.albinus@gmx.de>
733
734 Code cleanup.
735
736 * net/tramp.el (tramp-debug-message): Do not check for connection
737 buffer.
738 (tramp-message): Use "vector" connection property.
739
740 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
741 (tramp-equal-remote, tramp-eshell-directory-change)
742 * net/tramp-adb.el (tramp-adb-handle-copy-file)
743 (tramp-adb-handle-rename-file)
744 * net/tramp-cmds.el (tramp-list-remote-buffers)
745 (tramp-cleanup-connection, tramp-cleanup-this-connection)
746 * net/tramp-compat.el (tramp-compat-process-running-p)
747 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
748 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
749 (tramp-gvfs-handle-rename-file)
750 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
751 (tramp-set-file-uid-gid)
752 * net/tramp-smb.el (tramp-smb-handle-copy-file)
753 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
754 of `file-remote-p'.
755
756 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
757 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
758 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
759 (tramp-gw-open-network-stream): Suppress unrelated traces.
760
761 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
762 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
763 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
764 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
765 connection property.
766
767 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 768 persistency file.
4c1f03ef
MA
769
770 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
771 Refactor common code. Improve debug message.
772 (tramp-maybe-open-connection)
773 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
774 connection buffer too early.
775
776 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
777 from `tramp-smb-actions-with-acl'.
778 (tramp-smb-actions-set-acl): New defconst.
779 (tramp-smb-handle-copy-directory)
780 (tramp-smb-action-get-acl): New defun, renamed from
781 `tramp-smb-action-with-acl'.
782 (tramp-smb-action-set-acl): New defun.
783 (tramp-smb-handle-set-file-acl): Rewrite.
784
642eb8b6
GM
7852013-10-17 Glenn Morris <rgm@gnu.org>
786
787 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
788
85527ff3
SM
7892013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
790
921c1d62
SM
791 * skeleton.el (skeleton-newline): Remove.
792 (skeleton-internal-1): Use (insert "\n") instead.
793
e333fb10
SM
794 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
795 let-bindings.
796
85527ff3
SM
797 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
798 forward-sexp-function while we redo its job (bug#15613).
799
c8722a97
JB
8002013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
801
802 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
803 represented by lists.
804
7a550bbb
GM
8052013-10-16 Glenn Morris <rgm@gnu.org>
806
807 * tmm.el (tmm--history): New dynamic variable.
808 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
809
f19da8ad
MA
8102013-10-16 Michael Albinus <michael.albinus@gmx.de>
811
812 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
813 (tramp-smb-errors): Add error messages.
814 (tramp-smb-actions-with-acl): New defconst.
815 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
816 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
817 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
818 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
819 (tramp-smb-get-stat-capability): Fix tests.
820
a24b9961
DK
8212013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
822
823 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
824 (bug#15580).
825
62ad85e6
GM
8262013-10-16 Glenn Morris <rgm@gnu.org>
827
0283d6b0
GM
828 * ansi-color.el (ansi-color-drop-regexp):
829 Add 1J, 1K, 2K. (Bug#15617)
830
012e2f9f
GM
831 * files.el (hack-local-variables--warned-lexical): New.
832 (hack-local-variables):
833 Warn about misplaced lexical-binding. (Bug#15616)
834
62ad85e6
GM
835 * net/eww.el (eww-render): Always set eww-current-url,
836 and update header line. (Bug#15622)
837 (eww-display-html): ... Rather than just doing it here.
838
6456c0ea
EZ
8392013-10-15 Eli Zaretskii <eliz@gnu.org>
840
841 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
842 menu navigations commands.
843
c2de5588
DK
8442013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
845
846 * progmodes/subword.el (subword-capitalize): Be careful when
847 the search for [[:alpha:]] fails (bug#15580).
848
ccd4a783
EZ
8492013-10-14 Eli Zaretskii <eliz@gnu.org>
850
851 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
852 to commands that scroll the menu.
853
1eda1d8d
DG
8542013-10-14 Dmitry Gutov <dgutov@yandex.ru>
855
c2de5588
DK
856 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
857 Handle methods ending with `?' and `!'.
1eda1d8d 858
e70181b8
AM
8592013-10-14 Akinori MUSHA <knu@iDaemons.org>
860
861 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
862 `japanese-cp932' to `cp932' to fix the problem where saving a
863 source file written in Shift_JIS twice would end up having
864 `coding: japanese-cp932' which Ruby could not recognize.
865 (ruby-mode-set-encoding): Add support for encodings mapped to nil
866 in `ruby-encoding-map'.
867 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
868 doesn't need to be explicitly declared in magic comment.
869 (ruby-encoding-map): Add type declaration for better customize UI.
870
9148ee92
GM
8712013-10-13 Glenn Morris <rgm@gnu.org>
872
a5d38e34
GM
873 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
874 Occur buffers are read-only. http://bugs.debian.org/720775
875
9148ee92
GM
876 * emacs-lisp/authors.el (authors-fixed-entries):
877 Comment out old alpha stuff.
878
a9ba094b
DG
8792013-10-13 Dmitry Gutov <dgutov@yandex.ru>
880
881 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
882 to `after-save-hook' instead of `before-save-hook'.
883 (ruby-mode-set-encoding): Use the value of coding system used to
884 write the file. Call `basic-save-buffer-1' after modifying the
885 buffer.
886
7a068717
AM
8872013-10-13 Alan Mackenzie <acm@muc.de>
888
889 Fix indentation/fontification of Java enum with
890 "implements"/generic.
891
c2de5588
DK
892 * progmodes/cc-engine.el (c-backward-over-enum-header):
893 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
894 (c-inside-bracelist-p): Uses new function above.
895 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
896 function above.
897 (c-font-lock-enum-tail): Uses new function above.
898
85b64f02
KH
8992013-10-13 Kenichi Handa <handa@gnu.org>
900
901 * international/mule-cmds.el (select-safe-coding-system): Remove a
902 superfluous condition in chekcing whether a coding system is safe
903 or not.
904
fc7f501b
OK
9052013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
906
907 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
908
fdcb2049
AP
9092013-10-13 Andreas Politz <politza@hochschule-trier.de>
910
911 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
912
8c106d17
GM
9132013-10-13 Glenn Morris <rgm@gnu.org>
914
feab892d
GM
915 * menu-bar.el (menu-bar-update-buffers):
916 Unify Buffers menu prompt string. (Bug#15576)
917
b22d0686
GM
918 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
919
8c106d17
GM
920 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
921 Add some entries.
922 (authors-fixed-entries): Use accented form of name.
923
1b12c797
SM
9242013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
925
650fa7bf 926 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 927 method calls (bug#15594).
650fa7bf
SM
928 (ruby-smie--args-separator-p): New function.
929 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
930 recognize paren-free method calls.
931
1b12c797
SM
932 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
933 internals of universal-argument.
934
029619c8
EZ
9352013-10-11 Eli Zaretskii <eliz@gnu.org>
936
937 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
938 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
939 dropped menu on second mouse click on the menu bar.
029619c8 940
dd070019
SM
9412013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
944 (explicit-shell-file-name): Declare.
945 (sh--vars-before-point, sh--cmd-completion-table): New functions.
946 (sh-completion-at-point-function): New function.
947 (sh-mode): Use it.
948 (sh-smie--keyword-p): Remove unused argument.
949 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
950 vars.
951 (sh-set-shell): Always setup SMIE, even if we use the
952 old indentation code.
953
0922b826
DG
9542013-10-11 Dmitry Gutov <dgutov@yandex.ru>
955
b68e2926
DG
956 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
957 cases of ? and =.
958 (ruby-smie-rules): Simplify the "do" rule. The cases when the
959 predicate would return nil are almost non-existent.
960 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
961
0922b826
DG
962 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
963 cache also after commands that modify the buffer but don't move
964 point.
965
ee041f2d
SM
9662013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * env.el (substitute-env-in-file-name): New function.
969 (substitute-env-vars): Extend the meaning of the optional arg.
970
a5dab159
EZ
9712013-10-10 Eli Zaretskii <eliz@gnu.org>
972
973 * term/w32-win.el (dynamic-library-alist): Define separate lists
974 of GIF DLLs for versions before and after 5.0.0 of giflib.
975 (Bug#15531)
976
db138698
JT
9772013-10-10 João Távora <joaotavora@gmail.com>
978
979 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
980 not locked, use last revision and current source as
981 defaults. (Bug#15569)
982
2f6e161e
MY
9832013-10-10 Masatake YAMATO <yamato@redhat.com>
984
985 * menu-bar.el (menu-bar-open): Don't use popup-menu if
986 menu-bar is hidden.
987
6c8413fc
MR
9882013-10-10 Martin Rudalics <rudalics@gmx.at>
989
990 * window.el (pop-to-buffer-same-window): Fix doc-string.
991 (Bug#15492)
992
20832de0
SM
9932013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
996
c6e8ae77
AC
9972013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
998
999 * calendar/icalendar.el (icalendar-import-file):
1000 Fix interactive spec. (Bug#15482)
1001
9db13baf
GM
10022013-10-10 Glenn Morris <rgm@gnu.org>
1003
9271e90e
GM
1004 * desktop.el (desktop-save): Default to saving in .emacs.d,
1005 since PWD is no longer in desktop-path by default. (Bug#15319)
1006
9db13baf
GM
1007 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1008 now that text mode has a menu with the same entry.
1009 (menu-bar-text-mode-auto-fill): Remove now unused func.
1010 * textmodes/text-mode.el (text-mode-map):
1011 Use auto-fill help text from menu-bar.el.
1012
a0be396a 10132013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
1014
1015 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1016
2edcd3c7
JL
10172013-10-09 Juri Linkov <juri@jurta.org>
1018
1019 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1020 instead of this-command-keys. Add universal-argument-more and
1021 universal-argument-minus to the list of prefix commands. (Bug#15568)
1022
574411d0
GM
10232013-10-09 Glenn Morris <rgm@gnu.org>
1024
14afa541
GM
1025 * vc/vc-svn.el (vc-svn-create-repo):
1026 Expand paths in file://... url. (Bug#15446)
1027
574411d0
GM
1028 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1029 Add some entries.
1030 (authors): Remove unused local variables.
1031
79804536
SM
10322013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * profiler.el: Create a more coherent calltree from partial backtraces.
1035 (profiler-format): Hide the tail with `invisible' so that C-s can still
1036 find the hidden elements.
1037 (profiler-calltree-depth): Don't recurse so enthusiastically.
1038 (profiler-function-equal): New hash-table-test.
1039 (profiler-calltree-build-unified): New function.
1040 (profiler-calltree-build): Use it.
1041 (profiler-report-make-name-part): Indent the calltree less.
1042 (profiler-report-mode): Add visibility specs for profiler-format.
1043 (profiler-report-expand-entry, profiler-report-toggle-entry):
1044 Expand the whole subtree when provided with a prefix arg.
1045
238150c8
DG
10462013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1047
1048 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1049 iuwu-mod token.
1050 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1051 hanging iuwu-mod token.
1052 (ruby-smie--forward-token): Do not include a dot after a token in
1053 that token.
1054 (ruby-smie--backward-token): Likewise.
1055
b0949cc4
JL
10562013-10-08 Juri Linkov <juri@jurta.org>
1057
1058 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1059 to isearch-other-control-char.
1060 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1061 and isearch-post-command-hook to post-command-hook.
1062 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1063 and isearch-post-command-hook from post-command-hook.
1064 (isearch-unread-key-sequence)
1065 (isearch-reread-key-sequence-naturally)
1066 (isearch-lookup-scroll-key, isearch-other-control-char)
1067 (isearch-other-meta-char): Remove functions.
1068 (isearch-pre-command-hook, isearch-post-command-hook):
1069 New functions based on isearch-other-meta-char rewritten
1070 relying on the new behavior of overriding-terminal-local-map
1071 that does not replace the local keymaps any more. (Bug#15200)
1072
4ed77415
EZ
10732013-10-08 Eli Zaretskii <eliz@gnu.org>
1074
1075 Support menus on text-mode terminals.
1076 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1077 functionality.
1078
1079 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1080
c2de5588
DK
1081 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1082 Move here from mouse.el.
4ed77415
EZ
1083 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1084 and arrow keys.
1085 (tty-menu-navigation-map): New map for TTY menu navigation.
1086
1087 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1088
1089 * frame.el (display-mouse-p): Report text-mode mouse as available
1090 on w32.
1091 (display-popup-menus-p): Report availability if mouse is
1092 available; don't condition on window-system.
1093
1094 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1095 (tty-menu-selected-face): New faces.
1096
b7d5bd82
TL
10972013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1098
06286513
SM
1099 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1100 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1101 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1102 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1103 New constants.
1104 (lisp-mode-variables): New `elisp' argument.
1105 (emacs-lisp-mode): Use it.
1106 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1107 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1108
b7d5bd82
TL
1109 * indent.el: Use lexical-binding.
1110 (indent-region): Add progress reporter.
1111 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1112 last step.
1113 (indent--next-tab-stop): New function to implement this behavior.
1114 (tab-to-tab-stop, move-to-tab-stop): Use it.
1115
11162013-10-08 Teemu Likonen <tlikonen@iki.fi>
1117
1118 * indent.el (indent-rigidly--current-indentation): New function.
1119 (indent-rigidly-map): New var.
1120 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1121
5ea75d23
BG
11222013-10-08 Bastien Guerry <bzg@gnu.org>
1123
1124 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1125
cc5da1ec
SM
11262013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1127
8ffa1a0b
SM
1128 * progmodes/perl-mode.el: Use lexical-binding.
1129 Remove redundant :group args.
1130 (perl-nochange): Change default to be closer to other major modes's
1131 standard behavior.
1132 (perl-indent-line): Don't consider text on current line as a
1133 valid beginning of function from which to indent.
1134
f2223371
SM
1135 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1136 with more than one argument (bug#15538).
1137
44256060
SM
1138 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1139
cc5da1ec
SM
1140 * vc/pcvs.el: Use lexical-binding.
1141 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1142 environment of `eval'.
1143 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1144 than a list of expressions. Adjust callers.
1145 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1146
0ea1599d
DG
11472013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1148
1149 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 1150 case of the dot in a chained method call being on the following line.
0ea1599d 1151
da3e5ebb
SM
11522013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1153
2abb4e65
SM
1154 * electric.el (electric-indent-inhibit): New var.
1155 (electric-indent-post-self-insert-function): Use it.
1156 * progmodes/python.el (python-mode): Set it.
1157
d2e0e795
SM
1158 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1159 open braces.
1160
1161 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1162
bdc6b4c8
SM
1163 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1164 (css-mode): Use electric-indent-chars.
1165
da3e5ebb
SM
1166 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1167 (font-lock-beg, font-lock-end): Move before first use.
1168 (nxml-mode): Use syntax-propertize-function.
1169 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1170 (nxml-extend-after-change-region): Remove.
1171 * nxml/xmltok.el: Use lexical-binding.
1172 (xmltok-save): Use `declare'.
1173 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1174 * nxml/nxml-util.el: Use lexical-binding.
1175 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1176 Use `declare'.
1177 * nxml/nxml-ns.el: Use lexical-binding.
1178 (nxml-ns-save): Use `declare'.
1179 (nxml-ns-prefixes-for): Avoid add-to-list.
1180 * nxml/rng-match.el: Use lexical-binding.
1181 (rng--ipattern): Use cl-defstruct.
1182 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1183 (rng-cons-group-after, rng-subst-group-after)
1184 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1185 Use closures instead of `(lambda...).
1186
f8f91d5d
MA
11872013-10-07 Michael Albinus <michael.albinus@gmx.de>
1188
1189 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1190 of BEG and END.
1191
da3e5ebb
SM
1192 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1193 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
1194 (tramp-gvfs-handle-insert-file-contents): Remove function.
1195
da3e5ebb
SM
1196 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1197 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
1198
1199 * net/trampver.el: Update release number.
1200
7ccae3b1
SM
12012013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1202
55ca2c0d
SM
1203 * progmodes/compile.el (compilation-parse-errors):
1204 Use compilation--put-prop.
1205 (compilation--ensure-parse): Check compilation-multiline.
1206
731fc3ae
SM
1207 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1208
da3e5ebb
SM
1209 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1210 lexical-binding.
a5833280 1211
2e7ba2c2
SM
1212 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1213
7ccae3b1
SM
1214 * progmodes/ruby-mode.el: Fix recently added tests.
1215 (ruby-smie-grammar): Add - and +.
1216 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1217 (ruby-smie--backward-id): New functions.
1218 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1219 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1220 any more.
1221
85698d63
LL
12222013-10-07 Leo Liu <sdl.web@gmail.com>
1223
1224 * register.el (register-preview-delay)
1225 (register-preview-functions): New variables.
1226 (register-read-with-preview, register-preview)
1227 (register-describe-oneline): New functions.
1228 (point-to-register, window-configuration-to-register)
1229 (frame-configuration-to-register, jump-to-register)
1230 (number-to-register, view-register, insert-register)
1231 (copy-to-register, append-to-register, prepend-to-register)
1232 (copy-rectangle-to-register): Use register-read-with-preview to
1233 read register. (Bug#15525)
1234
3986af6c
DS
12352013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1236
1237 * net/network-stream.el (network-stream-open-starttls): Don't add
1238 --insecure if it's already present, because that gnutls-cli
1239 rejects getting that parameter twice.
1240
5cd9cda9
DG
12412013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1242
1243 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1244 keyword, too.
1245
da9ea6d9
DG
12462013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1247
1248 * newcomment.el (comment-use-global-state): Change default value
1249 to t, mark obsolete (Bug#15251).
1250 (comment-beginning): In addition to `comment-to-syntax', check the
1251 value of `comment-use-global-state'.
1252
34d1a133
SM
12532013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1256 (ruby-comment-column): Follow the global default, by default.
1257 (ruby-smie-grammar): Add assignment syntax.
1258 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1259 open-paren, a comma, or a \.
1260 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1261 and line continuations.
1262 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1263 followed by implicit semi-colons. Add rule for string concatenation
1264 and for indentation at BOB.
1265 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1266
1267 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1268 calling next-sexp, since next-token may have skipped chars which
1269 next-sexp doesn't know should be skipped!
1270
6f6ab820
LL
12712013-10-05 Leo Liu <sdl.web@gmail.com>
1272
34d1a133
SM
1273 * progmodes/octave.el (octave-send-region):
1274 Call compilation-forget-errors.
6f6ab820 1275
34ca0f4c
XF
12762013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1277
1278 * vc/vc-svn.el (vc-svn-find-admin-dir):
1279 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1280 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1281 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1282 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1283
a27c1b72
SM
12842013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1285
1286 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1287
258ab3bc
SM
12882013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1289
1290 * subr.el (read-passwd): Hide chars even when called within a context
1291 where after-change-functions is disabled (bug#15501).
1292 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1293 until we removed ourself from overriding-terminal-local-map.
1294
939fb29c
LL
12952013-10-04 Leo Liu <sdl.web@gmail.com>
1296
258ab3bc
SM
1297 * progmodes/octave.el (inferior-octave-mode):
1298 Call compilation-forget-errors.
939fb29c 1299
63bd7f35
XF
13002013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1301
1302 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1303
9e6229fa
MA
13042013-10-04 Michael Albinus <michael.albinus@gmx.de>
1305
1306 * net/secrets.el (secrets-create-collection): Add optional
1307 argument ALIAS. Use proper Label keyword. Append ALIAS as
1308 dbus-call-method argument. (Bug#15516)
1309
1dab32a3
LL
13102013-10-04 Leo Liu <sdl.web@gmail.com>
1311
1312 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1313 (inferior-octave-compilation-font-lock-keywords): New variables.
1314 (compilation-error-regexp-alist)
1315 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1316 (inferior-octave-mode): Use compilation-shell-minor-mode.
1317
6cad7ba3
JS
13182013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1319
1320 * minibuffer.el (completion--replace): Be careful that `end' might be
1321 a marker.
1322
acbadd00
DU
13232013-10-03 Daiki Ueno <ueno@gnu.org>
1324
1325 Add support for package signature checking.
1326 * emacs-lisp/package.el (url-http-file-exists-p)
1327 (epg-make-context, epg-context-set-home-directory)
1328 (epg-verify-string, epg-context-result-for)
1329 (epg-signature-status, epg-signature-to-string)
1330 (epg-check-configuration, epg-configuration)
1331 (epg-import-keys-from-file): Declare.
1332 (package-check-signature): New user option.
1333 (package-unsigned-archives): New user option.
1334 (package-desc): Add `signed' field.
1335 (package-load-descriptor): Set `signed' field if .signed file exists.
1336 (package--archive-file-exists-p): New function.
1337 (package--check-signature): New function.
1338 (package-install-from-archive): Check package signature.
1339 (package--download-one-archive): Check archive signature.
1340 (package-delete): Remove .signed file.
1341 (package-import-keyring): New command.
1342 (package-refresh-contents): Import default keyring.
1343 (package-desc-status): Add "unsigned" status.
1344 (describe-package-1, package-menu--print-info)
1345 (package-menu-mark-delete, package-menu--find-upgrades)
1346 (package-menu--status-predicate): Support "unsigned" status.
1347
adf2aa61
SM
13482013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1351 the new compilation scheme using the new byte-codes.
1352
1353 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1354 (byte-pophandler): New byte codes.
1355 (byte-goto-ops): Adjust accordingly.
1356 (byte-compile--use-old-handlers): New var.
1357 (byte-compile-catch): Use new byte codes depending on
1358 byte-compile--use-old-handlers.
1359 (byte-compile-condition-case--old): Rename from
1360 byte-compile-condition-case.
1361 (byte-compile-condition-case--new): New function.
1362 (byte-compile-condition-case): New function that dispatches depending
1363 on byte-compile--use-old-handlers.
1364 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1365 when we can.
1366
1367 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1368 Optimize under `condition-case' and `catch' if
1369 byte-compile--use-old-handlers is nil.
1370 (disassemble-offset): Handle new bytecodes.
1371
328a8179
SM
13722013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1373
1374 * subr.el (error): Use `declare'.
1375 (decode-char, encode-char): Use advertised-calling-convention instead
1376 of the docstring to discourage use of the `restriction' arg.
1377
15a1e936
DU
13782013-10-03 Daiki Ueno <ueno@gnu.org>
1379
1380 * epg.el (epg-verify-file): Add a comment saying that it does not
1381 notify verification error as a return value nor a signal.
1382 (epg-verify-string): Ditto.
1383
376f862a
KR
13842013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1385
1386 * progmodes/compile.el (compilation-start): Try globbing the arg to
1387 `cd' (bug#15417).
1388
a2f93a5f
MA
13892013-10-02 Michael Albinus <michael.albinus@gmx.de>
1390
1391 Sync with Tramp 2.2.8.
1392
1393 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1394 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1395 * net/trampver.el: Update release number.
1396
0daa0804
JD
13972013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1398
1399 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1400 and default-process-coding-system for darwin only.
1401
abd1ae34
SM
14022013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1403
1404 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1405
be4e325d
MH
14062013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1407
1408 * vc/vc-git.el (vc-git-grep): Disable pager.
1409
e9155c4a
DG
14102013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1411
494e898b
DG
1412 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1413 Use :url instead of :homepage, as per
1414 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1415
e9155c4a
DG
1416 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1417 non-nil, use `syntax-ppss' (Bug#15251).
1418
481a8e0f
RS
14192013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1420
be4e325d
MH
1421 * progmodes/octave.el (inferior-octave-startup-file):
1422 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1423
056453c6
DG
14242013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1425
be4e325d
MH
1426 * emacs-lisp/package.el (package-desc-from-define):
1427 Accept additional arguments as plist, convert them to an alist and store
1428 them in the `extras' slot.
056453c6
DG
1429 (package-generate-description-file): Convert extras alist back to
1430 plist and append to the `define-package' form arguments.
1431 (package--alist-to-plist): New function.
1432 (package--ac-desc): Add `extras' slot.
1433 (package--add-to-archive-contents): Check if the archive-contents
1434 vector is long enough, and if it is, pass its `extras' slot value
1435 to `package-desc-create'.
1436 (package-buffer-info): Call `lm-homepage', pass the returned value
1437 to `package-desc-from-define'.
1438 (describe-package-1): Render the homepage button (Bug#13291).
1439
be4e325d
MH
1440 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1441 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1442
832966e5
JD
14432013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1444
1445 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1446 and default-process-coding-system to utf-8-unix (Bug#15402).
1447
6cfe977d
XF
14482013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1449
1450 * subr.el (looking-back): Do not recommend using looking-back.
1451
38de11bd
AM
14522013-09-28 Alan Mackenzie <acm@muc.de>
1453
1454 Fix indentation/fontification of Java enum with "implements".
1455
1456 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1457 regexp which matches "implements", etc., in Java.
1458 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1459 specifier clauses coming after "enum".
1460 * progmodes/cc-fonts.el (c-font-lock-declarations)
1461 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1462 after "enum".
1463
1610938f
JD
14642013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1465
1466 * faces.el (region): Change ns_selection_color to
1467 ns_selection_fg_color, add ns_selection_bg_color.
1468
e090f499
LL
14692013-09-28 Leo Liu <sdl.web@gmail.com>
1470
4d2e94d1
LL
1471 * progmodes/octave.el (inferior-octave-completion-table)
1472 (inferior-octave-completion-at-point): Minor tweaks.
1473
e090f499
LL
1474 * textmodes/ispell.el (ispell-lookup-words): Rename from
1475 lookup-words. (Bug#15460)
1476 (lookup-words): Obsolete.
1477 (ispell-complete-word, ispell-command-loop): All uses changed.
1478
7e138a62
RS
14792013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1480
1481 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1482 (octave-mode-menu): Add octave-send-buffer.
1483 (octave-send-buffer): New function.
1484
5af5ed08
RS
14852013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1486
1487 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1488 octave-lookfor.
1489 (octave-mode-menu): Add octave-lookfor.
1490 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1491 octave-lookfor.
1492 (octave-lookfor): New function.
1493
3b7b2692
SM
14942013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1495
1496 * emacs-lisp/cl-macs.el:
1497 (cl--loop-destr-temps): Remove.
1498 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1499 its convention.
1500 (cl--loop-set-iterator-function): New function.
1501 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1502 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1503 Bind `it' with `let' instead of substituting it with `cl-subst'.
1504 (cl--unused-var-p): New function.
1505 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1506 Eliminate some unused variable warnings (bug#15326).
1507
529fb53f
TH
15082013-09-27 Tassilo Horn <tsdh@gnu.org>
1509
1510 * doc-view.el (doc-view-scale-reset): Rename from
1511 `doc-view-reset-zoom-level'.
1512 (doc-view-scale-adjust): New command.
1513 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1514 `doc-view-scale-adjust'.
1515
0550c95a
TH
15162013-09-26 Tassilo Horn <tsdh@gnu.org>
1517
1518 * doc-view.el (doc-view-reset-zoom-level): New command.
1519 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1520 zoom commands (bug#15466).
1521
6950f152
KH
15222013-09-26 Kenichi Handa <handa@gnu.org>
1523
1524 * international/quail.el (quail-help): Make it not a command.
1525
39587580
LL
15262013-09-26 Leo Liu <sdl.web@gmail.com>
1527
1528 * minibuffer.el (completion-all-sorted-completions): Make args
1529 optional as they are.
1530
00578659
DC
15312013-09-25 Daniel Colascione <dancol@dancol.org>
1532
1533 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1534 specs are and that they're not evaluated.
1535
0c173878
SS
15362013-09-24 Sam Steingold <sds@gnu.org>
1537
1538 * midnight.el (clean-buffer-list-kill-regexps)
1539 (clean-buffer-list-kill-buffer-names): Update for the new Man
1540 buffer naming which includes the object name.
1541
84998447
SM
15422013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1545 (eshell-parse-command, eshell-parse-pipeline): Use it since
1546 eshell-separate-commands requires a dynamic scoped var.
1547 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1548
33215353
LL
15492013-09-23 Leo Liu <sdl.web@gmail.com>
1550
1551 * autoinsert.el (auto-insert-alist): Make the value of
1552 lexical-binding match its file setting.
1553
57b16162
JB
15542013-09-23 Juanma Barranquero <lekktu@gmail.com>
1555
c8af4e67
JB
1556 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1557
57b16162
JB
1558 * autoarg.el (autoarg-kp-digit-argument):
1559 * electric.el (Electric-command-loop):
1560 * kmacro.el (kmacro-step-edit-insert):
1561 Do not set universal-argument-num-events.
1562
7186ba60
LL
15632013-09-22 Leo Liu <sdl.web@gmail.com>
1564
1565 * files.el (interpreter-mode-alist): Add octave.
1566
ece15004
AM
15672013-09-21 Alan Mackenzie <acm@muc.de>
1568
1569 C++: fontify identifier in declaration following "public:" correctly.
1570 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1571 to match "public", etc.
1572 (c-decl-prefix-re): Add ":" into the C++ value.
1573 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1574 bit. Add a check for a ":" preceded by "public", etc.
1575
75d83e22
EZ
15762013-09-21 Eli Zaretskii <eliz@gnu.org>
1577
1578 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1579 recognized by GDB 7.5 and later.
1580
d052d3bd
XF
15812013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1582
1583 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1584
31dca772
R
15852013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * subr.el (internal--call-interactively): New const.
1588 (called-interactively-p): Use it (bug#3984).
1589
98ccf24e
XF
15902013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1591
1592 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1593 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1594 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1595
c39cc7d1
SM
15962013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1599 (eshell-ls-orig-insert-directory): Remove.
1600 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1601 (eshell-ls-use-in-dired): Use advice-add/remove.
1602 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1603 Add `orig-fun' arg for use in :around advice.
1604 Make it check (redundantly) eshell-ls-use-in-dired.
1605
9a0289a2
GM
16062013-09-19 Glenn Morris <rgm@gnu.org>
1607
a2c501b8
GM
1608 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1609
c440407a
GM
1610 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1611
9a0289a2
GM
1612 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1613
85e05915
MA
16142013-09-19 Michael Albinus <michael.albinus@gmx.de>
1615
1616 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1617 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1618 (tramp-get-remote-python): New defuns.
1619 (tramp-get-remote-uid-with-perl)
1620 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1621 contributed by yary <not.com@gmail.com> (tiny change).
1622 (tramp-get-remote-uid-with-python)
1623 (tramp-get-remote-gid-with-python): New defuns. Python code
1624 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1625 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1626
ce503312
GM
16272013-09-19 Glenn Morris <rgm@gnu.org>
1628
f7544773
GM
1629 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1630
72fd2877
GM
1631 * eshell/em-unix.el (eshell-remove-entries):
1632 Rename argument to avoid name-clash with global `top-level'.
1633
336b5a56
GM
1634 * eshell/esh-proc.el (eshell-kill-process-function):
1635 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1636 (eshell-reset-after-proc): Remove unused arg `proc'.
1637
57a3a53d
GM
1638 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1639 (directory-files-and-attributes): Mark unused arg.
1640
3261d4af
GM
1641 * eshell/em-unix.el (eshell-remove-entries):
1642 Remove unused arg `path'. Update callers.
1643
8e51b5d0
GM
1644 * eshell/em-hist.el (eshell-hist-parse-arguments):
1645 Remove unused arg `silent'. Update callers.
1646
ce503312
GM
1647 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1648 Fix (f)boundp mix-up.
1649
1650 * eshell/em-smart.el (eshell-smart-scroll-window)
1651 (eshell-disable-after-change):
336b5a56 1652 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1653
ee3ce8a7
AM
16542013-09-18 Alan Mackenzie <acm@muc.de>
1655
1656 Fix fontification of type when followed by "const".
1657 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1658 "known" types from fontification.
1659
ec9177ba
GM
16602013-09-18 Glenn Morris <rgm@gnu.org>
1661
7bb3e768
GM
1662 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1663 (chart-face-list): Drop Emacsen without display-color-p.
1664
5148da15
GM
1665 * net/eww.el (libxml-parse-html-region): Declare.
1666 (eww-display-html): Explicit error if no libxml2 support.
1667
2f68e157
GM
1668 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1669
9019d095
GM
1670 * image.el (image-type-from-buffer, image-multi-frame-p):
1671 Remove --without-x warning/error.
67645389 1672
5f30349b 1673 * mouse.el (mouse-yank-primary):
45069b2e 1674 * term.el (term-mouse-paste):
5f30349b
GM
1675 Reorder to silence --without-x compilation.
1676
cd8edbbe
GM
1677 * mpc.el (doc-view-mode): Silence --without-x compilation.
1678
8a78544e
GM
1679 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1680 Silence --without-x compilation.
1681
12679bfd
GM
1682 * progmodes/gud.el (gud-find-file, gud-mode):
1683 Silence --without-x compilation.
1684 (tooltip-mode): Declare.
30810a05 1685
f0047cb9
GM
1686 * wdired.el (dired-backup-overwrite): Remove declaration.
1687 (wdired-mode-map): Add doc string.
1688
e740f9d2
GM
1689 * custom.el (x-get-resource): Declare.
1690
92d77c89
GM
1691 * eshell/em-glob.el (ange-cache):
1692 * eshell/em-unix.el (ange-cache): Declare.
1693
76e69577
GM
1694 * faces.el (x-display-list, x-open-connection, x-get-resource):
1695 Declare.
7e58af4b
GM
1696
1697 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1698 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1699 Declare.
76e69577 1700
4bd4c0af 1701 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1702
ffb82dbd
GM
1703 * net/gnutls.el (gnutls-log-level): Declare.
1704
986ed135
GM
1705 * net/shr.el (image-size, image-animate): Declare.
1706
e740f9d2
GM
1707 * simple.el (font-info): Declare.
1708
d2f3e9f8
GM
1709 * subr.el (x-popup-dialog): Declare.
1710
047a1a4c
GM
1711 * term/common-win.el (x-select-enable-primary)
1712 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1713 Declare.
1714
f4a1d572
GM
1715 * term/ns-win.el (x-handle-args): Declare.
1716
e843de77
GM
1717 * term/x-win.el (x-select-enable-clipboard): Declare.
1718
5fa89513
GM
1719 * term/w32-win.el (create-default-fontset): Declare.
1720
38702b5b
GM
1721 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1722 Declare.
1723
e740f9d2
GM
1724 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1725 (fit-frame-to-buffer): Explicit error if --without-x.
1726 (mouse-autoselect-window-select): Silence compiler.
1727
49a053fc
GM
1728 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1729
1730 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1731 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1732 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1733 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1734 Remove unused local variables.
1735
1736 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1737
ec9177ba
GM
1738 * textmodes/two-column.el: Make 2C-split work for --without-x.
1739 (scroll-bar-columns): Autoload.
1740 (top-level): Require fringe when compiling.
1741
9f25cb77
LL
17422013-09-18 Leo Liu <sdl.web@gmail.com>
1743
1744 * subr.el (add-hook): Robustify to handle closure as well.
1745
2b42da98
GM
17462013-09-17 Glenn Morris <rgm@gnu.org>
1747
1748 * simple.el (messages-buffer-mode-map): Unbind "g".
1749
e8b66a6a
SM
17502013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1751
9c0ad4f7
SM
1752 * help-mode.el (help-mode-finish): Use derived-mode-p.
1753 Remove obsolete highlighting.
1754
7a806dfb
SM
1755 * play/life.el (life-mode): Use define-derived-mode. Derive from
1756 special-mode.
1757 (life): Let-bind inhibit-read-only.
1758 (life-setup): Avoid `setq'. Use `life-mode'.
1759
96dbf5a8
SM
1760 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1761 which should not be needed any more.
1762 (package-menu-refresh, package-menu-describe-package): Use user-error.
1763
e8b66a6a
SM
1764 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1765 (eshell-post-rewrite-command-hook): Make obsolete.
1766 (eshell-parse-command): Simplify.
1767 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1768 (eshell--cmd): Declare.
1769 (eshell-parse-pipeline): Remove unused var `final-p'.
1770 Pass a dynvar to eshell-post-rewrite-command-hook.
1771 Implement the new eshell-post-rewrite-command-function.
1772 (eshell-invoke-directly): Remove unused arg `input'.
1773 * eshell/esh-io.el (eshell-io-initialize):
1774 Use eshell-post-rewrite-command-function (bug#15399).
1775 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1776 adjust to new calling convention.
1777 (eshell-create-handles): Rename args to avoid clashing with dynvar
1778 `standard-output'.
1779
90582f05
GM
17802013-09-17 Glenn Morris <rgm@gnu.org>
1781
1782 * simple.el (messages-buffer-mode): New major mode.
1783 (messages-buffer): New function.
1784 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1785 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1786 (ert-run-test): Use `messages-buffer' function.
90582f05 1787 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1788 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1789 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1790
39eb0cb5 17912013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1792
1793 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1794
1f1e06e2
SM
1795 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1796
70568a90
SM
17972013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1798
504a0381
SM
1799 * icomplete.el (icomplete-in-buffer): New var.
1800 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1801 vars and replace them with functions.
1802 (icomplete-minibuffer-setup): Adjust accordingly.
1803 (icomplete--completion-table, icomplete--completion-predicate)
1804 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1805 New functions.
1806 (icomplete-forward-completions, icomplete-backward-completions)
1807 (icomplete-simple-completing-p, icomplete-exhibit)
1808 (icomplete-completions): Use them.
1809 (icomplete--in-region-buffer): New var.
1810 (icomplete--in-region-setup): New function.
1811 (icomplete-mode): Use it.
1812
70568a90
SM
1813 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1814 (bug#15379).
1815 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1816 return args and options.
1817 (eshell-eval-using-options): Use the new return value of
1818 eshell--do-opts to set the options's vars in their scope.
1819 (eshell--set-option): Rename from eshell-set-option.
1820 Add arg `opt-vals'.
1821 (eshell--process-option): Rename from eshell-process-option.
1822 Add arg `opt-vals'.
1823 (eshell--process-args): Use an `opt-vals' alist to store the options's
1824 values during their processing and return them additionally to the
1825 remaining args.
1826
578c21bc
DG
18272013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1828
1829 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1830 continuation character an operator, as far as indentation is
1831 concerned (Bug#15369).
1832
c089653d
MR
18332013-09-15 Martin Rudalics <rudalics@gmx.at>
1834
1835 * window.el (window--state-put-2): Don't process buffer state
1836 when buffer doesn't exist any more (Bug#15382).
1837
1e53bb4b
GM
18382013-09-15 Glenn Morris <rgm@gnu.org>
1839
30753242
GM
1840 * eshell/em-unix.el (eshell/rm):
1841 Make -f ignore missing files. (Bug#15373)
1842
1e53bb4b
GM
1843 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1844 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1845 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1846
0d8863b3
GM
18472013-09-14 Glenn Morris <rgm@gnu.org>
1848
1849 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1850
d3fc6549
GM
18512013-09-13 Glenn Morris <rgm@gnu.org>
1852
1853 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1854 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1855
fcd42c11
DA
18562013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1857
1858 * frame.el (x-focus-frame): Mark as declared in frame.c.
1859
7830899f
SM
18602013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 * ls-lisp.el: Use advice-add.
1863 (original-insert-directory): Remove.
1864 (ls-lisp--insert-directory): Rename from insert-directory; add
1865 `orig-fun' argument.
1866 (insert-directory): Advise.
1867
84387cd2
EZ
18682013-09-13 Eli Zaretskii <eliz@gnu.org>
1869
1870 * term.el (term-emulate-terminal): Decode the command string
1871 before passing it to term-command-hook. (Bug#15337)
1872
35ffc6ba
GM
18732013-09-13 Glenn Morris <rgm@gnu.org>
1874
5c3f9bcc
GM
1875 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1876
2ada368a
GM
1877 * eshell/esh-ext.el (eshell-search-path): Declare.
1878
fcef2e13
GM
1879 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1880 Otherwise an error occurs if eshell-dirs module not loaded.
1881
35ffc6ba
GM
1882 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1883
35c3d36e
MA
18842013-09-13 Michael Albinus <michael.albinus@gmx.de>
1885
1886 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1887 `tramp-check-proper-host'. Check for a valid method name.
1888
1889 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1890 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1891 * net/tramp-sh.el (tramp-maybe-open-connection):
1892 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1893
1894 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1895 also for hash values.
1896
ae5e4c48
SM
18972013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1898
379add74
SM
1899 * term/ns-win.el (parameters): Don't declare as dynamic.
1900 (before-make-frame-hook): Don't add ineffective function.
1901
ae5e4c48
SM
1902 * eshell/*.el: Use lexical-binding (bug#15231).
1903
b5623270
KH
19042013-09-12 Kenichi Handa <handa@gnu.org>
1905
ae5e4c48 1906 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1907
30213927
GM
19082013-09-12 Glenn Morris <rgm@gnu.org>
1909
be94d713 1910 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1911 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1912
44915370
GM
1913 * subr.el (do-after-load-evaluation): Also give compiler warnings
1914 when obsolete files are used (except by obsolete files).
1915
a6ae021f
GM
1916 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1917 in the status output, assume `filename' is the first. (Bug#15322)
1918
40e64f0c
GM
1919 * vc/vc.el (vc-deduce-fileset): Doc fix.
1920
16d9f896
GM
1921 * calc/calc-help.el (Info-goto-node):
1922 * progmodes/cperl-mode.el (Info-find-node):
1923 * vc/ediff.el (Info-goto-node): Update declarations.
1924
dea01c6e
GM
1925 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1926
759880bf 1927 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1928 (vc-bzr-pull): Require vc-dispatcher.
1929 * vc/vc-git.el (vc-compilation-mode): Declare.
1930 (vc-git-pull): Require vc-dispatcher.
1931
08d66420
GM
1932 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1933
30b626e9
GM
1934 * progmodes/octave.el (help-button-action): Declare.
1935
8c05cb10
GM
1936 * shell.el (shell-directory-tracker): Output error as a message
1937 rather than just returning it as a string.
1938 (shell-process-pushd): Remove useless use of message.
1939
30213927
GM
1940 * dframe.el (dframe-timer-fn):
1941 * files.el (dir-locals-read-from-file):
1942 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1943 (mpc-format):
1944 * reveal.el (reveal-post-command):
1945 * saveplace.el (load-save-place-alist-from-file):
1946 * shell.el (shell-resync-dirs):
1947 * w32-common-fns.el (x-get-selection-value):
1948 * emacs-lisp/copyright.el (copyright-find-copyright):
1949 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1950 * emulation/tpu-edt.el (tpu-copy-keyfile):
1951 * play/bubbles.el (bubbles--mark-neighbourhood):
1952 * progmodes/executable.el
1953 (executable-make-buffer-file-executable-if-script-p):
1954 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1955
d3b049e6
SM
19562013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1957
170266d0
SM
1958 Cleanup Eshell to rely less on dynamic scoping.
1959 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1960 last-value, and ext-command here. Bind `args' closer to `body'.
1961 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1962 (eshell--args): Declare new dynamic var.
1963 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1964 last-value, and ext-command. Pass `args' to `body'.
1965 (eshell-process-args): Bind eshell--args.
1966 (eshell-set-option): Use eshell--args.
1967 * eshell/eshell.el (eshell): Use derived-mode-p.
1968 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1969 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1970 (eshell-glob-function): Declare.
1971 * eshell/esh-util.el: Require cl-lib.
1972 (eshell-read-hosts-file): Avoid add-to-list.
1973 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1974 `err'.
1975 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1976 Declare.
1977 (eshell/diff): Remove unused var `err'.
1978 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1979 `killflag'.
1980 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1981 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1982 first use.
1983 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1984 Move declaration before first use.
1985 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1986 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1987 rely on cl-return.
1988
56834f3b
GM
19892013-09-12 Glenn Morris <rgm@gnu.org>
1990
1991 * term/ns-win.el (global-map): Remove binding for ispell-next,
1992 deleted 1999-05-29. (Bug#15357)
1993
5c91a2b8
GM
19942013-09-11 Glenn Morris <rgm@gnu.org>
1995
da712f22
GM
1996 * echistory.el (electric-command-history): Remove call to deleted func.
1997
512e4cdc
GM
1998 * play/landmark.el (landmark-mode): Fix typos.
1999
d3506ca5
GM
2000 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2001 Check cvs-sort-ignore-file is bound.
2002
5c91a2b8
GM
2003 * savehist.el: No need for cl when compiling on Emacs.
2004
feeff482
SM
20052013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2006
656bd483
SM
2007 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2008 (bug#15338).
d3b049e6
SM
2009 (eshell-self-insert-command, eshell-send-invisible):
2010 Remove unused argument.
656bd483
SM
2011 (eshell-handle-control-codes): Remove unused var `orig'.
2012 Avoid delete-backward-char.
2013
feeff482
SM
2014 * files.el (set-auto-mode): Simplify a bit further.
2015
2a08047a
GM
20162013-09-11 Glenn Morris <rgm@gnu.org>
2017
2018 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2019 (set-auto-mode): Don't regexp-quote elements.
2020 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2021 * progmodes/cc-mode.el (interpreter-mode-alist):
2022 * progmodes/ruby-mode.el (interpreter-mode-alist):
2023 Revert previous change.
2024
34675540
SM
20252013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2026
1b3b87df
SM
2027 * play/snake.el (snake-mode):
2028 * play/mpuz.el (mpuz-mode):
2029 * play/landmark.el (lm-mode):
2030 * play/blackbox.el (blackbox-mode):
2031 * play/5x5.el (5x5-mode):
2032 * obsolete/options.el (Edit-options-mode):
2033 * net/quickurl.el (quickurl-list-mode):
2034 * net/newst-treeview.el (newsticker-treeview-mode):
2035 * mail/rmailsum.el (rmail-summary-mode):
2036 * mail/mspools.el (mspools-mode):
2037 * locate.el (locate-mode):
2038 * ibuffer.el (ibuffer-mode):
2039 * emulation/ws-mode.el (wordstar-mode):
2040 * emacs-lisp/debug.el (debugger-mode):
2041 * array.el (array-mode):
2042 * net/eudc.el (eudc-mode): Use define-derived-mode.
2043 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2044 Move initialization into declaration.
2045 (mairix-searches-mode): Use define-derived-mode.
2046 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2047 (eudc-edit-hotlist): Use dolist.
2048 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2049 (Man-mode): Use define-derived-mode.
2050 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2051 (Info-edit-mode): Use define-derived-mode.
2052 (Info-cease-edit): Use Info-mode.
2053 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2054 into declaration.
2055 (eshell-mode): Use define-derived-mode.
2056 * chistory.el (command-history-mode-map): Rename from
2057 command-history-map.
2058 (command-history-mode): Use define-derived-mode.
da712f22 2059 (Command-history-setup): Remove function.
1b3b87df
SM
2060 * calc/calc.el (calc-trail-mode-map): New var.
2061 (calc-trail-mode): Use define-derived-mode.
2062 (calc-trail-buffer): Set calc-main-buffer manually.
2063 * bookmark.el (bookmark-insert-annotation): New function.
2064 (bookmark-edit-annotation): Use it.
2065 (bookmark-edit-annotation-mode): Make it a proper major mode.
2066 (bookmark-send-edited-annotation): Use derived-mode-p.
2067 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2068 closer to its ideal place. Use \' to match EOS.
2069
34675540
SM
2070 * profiler.el (profiler-calltree-find): Use function-equal.
2071
6a5c15d9
GM
20722013-09-10 Glenn Morris <rgm@gnu.org>
2073
1af4c220
GM
2074 * files.el (interpreter-mode-alist): Convert to regexps.
2075 (set-auto-mode): Adapt for this. (Bug#15306)
2076 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2077 Comment out unused variable.
2078 * progmodes/cc-mode.el (interpreter-mode-alist):
2079 * progmodes/python.el (interpreter-mode-alist):
2080 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2081 * progmodes/sh-script.el (sh-set-shell):
2082 No longer use interpreter-mode-alist to get list of shells.
2083
6a5c15d9
GM
2084 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2085
8c27f5ff
SM
20862013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2087
02ef6c1a 2088 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 2089 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
2090 Bind switch-frame explicitly. Replace universal-argument-minus with
2091 a conditional binding.
2092 (universal-argument-num-events, saved-overriding-map): Remove.
2093 (restore-overriding-map): Remove.
2094 (universal-argument--mode): Rename from save&set-overriding-map,
2095 and rewrite.
2096 (universal-argument, universal-argument-more, negative-argument)
2097 (digit-argument): Adjust accordingly.
2098 (universal-argument-minus): Remove.
2099 (universal-argument-other-key): Remove.
2100
8c27f5ff
SM
2101 * subr.el (with-demoted-errors): Add `format' argument.
2102
6480194c
MA
21032013-09-10 Michael Albinus <michael.albinus@gmx.de>
2104
2105 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2106 `tramp-cleanup-connection'.
2107
2108 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2109 parameters KEEP-DEBUG and KEEP-PASSWORD.
2110
2111 * net/tramp.el (tramp-file-name-handler):
2112 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2113 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2114 (tramp-maybe-open-connection):
8c27f5ff
SM
2115 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2116 Use `tramp-cleanup-connection'.
6480194c 2117
8c27f5ff
SM
2118 * net/tramp-sh.el (tramp-maybe-open-connection):
2119 Catch 'uname-changed inside the progress reporter.
6480194c 2120
e5e916d8
GM
21212013-09-10 Glenn Morris <rgm@gnu.org>
2122
9a2c9b47
GM
2123 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2124
e5e916d8
GM
2125 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2126 returns "alternate access method" in mode (eg "-rw-r--r--.").
2127
144e38fe
GM
21282013-09-08 Glenn Morris <rgm@gnu.org>
2129
2130 * saveplace.el (load-save-place-alist-from-file):
2131 Demote errors. (Bug#15305)
2132
af9ff9e8
MA
21332013-09-08 Michael Albinus <michael.albinus@gmx.de>
2134
2135 Improve compatibility with older Emacsen, and XEmacs.
2136
2137 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2138 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
2139 (with-tramp-progress-reporter): Do not let-bind `result'.
2140 This yields to scoping errors in XEmacs.
af9ff9e8
MA
2141 (tramp-handle-make-auto-save-file-name): New function, moved from
2142 tramp-sh.el.
2143
2144 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2145 for `make-auto-save-file-name'.
8c27f5ff
SM
2146 (tramp-adb--gnu-switches-to-ash):
2147 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2148
2149 * net/tramp-cache.el (tramp-cache-print): Call
2150 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2151
2152 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2153 bound. It isn't for XEmacs.
2154
8c27f5ff
SM
2155 * net/tramp-compat.el (tramp-compat-copy-file):
2156 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
2157 (tramp-compat-replace-regexp-in-string): New defun.
2158
2159 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2160 for `make-auto-save-file-name'.
2161 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2162 `copy-file'.
2163 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2164 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2165 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2166
8c27f5ff
SM
2167 * net/tramp-gw.el (tramp-gw-open-network-stream):
2168 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 2169
8c27f5ff
SM
2170 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2171 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
2172 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2173 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
2174 (tramp-sh-file-inotifywait-process-filter):
2175 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2176 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2177
2178 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2179 for `make-auto-save-file-name'.
8c27f5ff
SM
2180 (tramp-smb-handle-copy-directory):
2181 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
2182 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2183 (tramp-smb-handle-copy-file): Improve error message.
2184 (tramp-smb-handle-rename-file): Rename directly only in case
2185 `newname' does not exist yet. This is a restriction of smbclient.
2186 (tramp-smb-maybe-open-connection): Rerun the function only when
2187 `auth-sources' is non-nil.
2188
0ca754d0
KH
21892013-09-08 Kenichi Handa <handa@gnu.org>
2190
2191 * international/characters.el: Set category "^" (Combining) for
2192 more characters.
2193
e8dd0787
AM
21942013-09-07 Alan Mackenzie <acm@muc.de>
2195
2196 Correctly fontify Java class constructors.
2197 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2198 in Java Mode.
2199 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
2200 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2201 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
2202 "typeless" declaration there.
2203
f2f248e7
RW
22042013-09-07 Roland Winkler <winkler@gnu.org>
2205
2206 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2207 field subtitle for entry type book.
2208
67982e2b
SM
22092013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * minibuffer.el: Make minibuffer-complete call completion-in-region
2212 rather than other way around.
2213 (completion--some, completion-pcm--find-all-completions):
2214 Don't delay signals when debugging.
2215 (minibuffer-completion-contents): Beware fields within the
2216 minibuffer contents.
2217 (completion-all-sorted-completions): Use defvar-local.
2218 (completion--do-completion, completion--cache-all-sorted-completions)
2219 (completion-all-sorted-completions, minibuffer-force-complete):
2220 Add args `beg' and `end'.
2221 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2222 (minibuffer-complete): Use completion-in-region.
2223 (completion-complete-and-exit): New fun, extracted from
2224 minibuffer-complete-and-exit.
2225 (minibuffer-complete-and-exit): Use it.
2226 (completion--complete-and-exit): Rename from
2227 minibuffer--complete-and-exit.
2228 (completion-in-region--single-word): New function, extracted from
2229 minibuffer-complete-word.
2230 (minibuffer-complete-word): Use it.
2231 (display-completion-list): Make `common-substring' argument obsolete.
2232 (completion--in-region): Call completion--in-region-1 instead of
2233 minibuffer-complete.
2234 (completion-help-at-point): Pass boundaries to
2235 minibuffer-completion-help as args rather than via an overlay.
2236 (completion-pcm--string->pattern): Use `any-delim'.
2237 (completion-pcm--optimize-pattern): New function.
2238 (completion-pcm--pattern->regex): Handle `any-delim'.
2239 * icomplete.el (icomplete-forward-completions)
2240 (icomplete-backward-completions, icomplete-completions):
2241 Adjust calls to completion-all-sorted-completions and
2242 completion--cache-all-sorted-completions.
2243 (icomplete-with-completion-tables): Default to t.
2244 * emacs-lisp/crm.el (crm--current-element): Rename from
2245 crm--select-current-element. Don't put an overlay but return the
2246 boundaries instead.
2247 (crm--completion-command): Take two new args to bind to the boundaries.
2248 (crm-completion-help): Adjust accordingly.
2249 (crm-complete): Use completion-in-region.
2250 (crm-complete-word): Use completion-in-region--single-word.
2251 (crm-complete-and-exit): Use completion-complete-and-exit.
2252
e17d94a5
SM
22532013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2254
2255 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2256 than dynamically.
2257
96727100
JL
22582013-09-06 Juri Linkov <juri@jurta.org>
2259
2260 * info.el (Info-display-images-node): When image file doesn't exist
2261 display text version of the image if it's provided in the Info file.
2262 Otherwise, display the location of missing image from SRC attribute.
2263 Add help-echo text property from ALT attribute. (Bug#15279)
2264
86cf7329
SM
22652013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2266
2267 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2268 (edit-abbrevs-mode): Use define-derived-mode.
2269
2270 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2271 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2272 that it's defined.
2273 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2274 Use define-derived-mode.
2275
2276 * epg.el (epg-start-encrypt): Minor CSE simplification.
2277
816244a2
WX
22782013-09-06 William Xu <william.xwl@gmail.com>
2279
2280 * arc-mode.el: Add support for 7za (bug#15264).
2281 (archive-7z-program): New var.
2282 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2283 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2284 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2285
1486fa31
MA
22862013-09-06 Michael Albinus <michael.albinus@gmx.de>
2287
2288 Remove URL syntax.
2289
2290 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2291 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2292 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2293 (tramp-postfix-host-format, tramp-file-name-regexp)
2294 (tramp-completion-file-name-regexp)
2295 (tramp-completion-dissect-file-name)
2296 (tramp-handle-substitute-in-file-name): Remove 'url case.
2297 (tramp-file-name-regexp-url)
2298 (tramp-completion-file-name-regexp-url): Remove constants.
2299
39785324
GM
23002013-09-06 Glenn Morris <rgm@gnu.org>
2301
2302 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2303
1f896cb7
DG
23042013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2305
2306 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2307 keywords" below "here-doc beginnings" (Bug#15270).
2308
c0458e0b
SM
23092013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * subr.el (pop): Use `car-safe'.
2312 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2313 to detect unused `pop' return value.
2314
2315 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2316 var `block-regexp'.
2317 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2318 (python-fill-string): Remove unused var `marker'.
2319 (python-skeleton-add-menu-items): Remove unused var `items'.
2320
2321 * international/mule-cmds.el: Require CL.
2322 (find-coding-systems-for-charsets): Avoid add-to-list.
2323 (sanitize-coding-system-list): New function, extracted from
2324 select-safe-coding-system-interactively.
2325 (select-safe-coding-system-interactively): Use it.
2326 (read-input-method-name): Accept symbols for `default'.
2327
2328 * emacs-lisp/advice.el (defadvice): Add indent rule.
2329
6c42fc3e
DH
23302013-09-05 Daniel Hackney <dan@haxney.org>
2331
2332 * dired-x.el:
2333 * net/ange-ftp.el:
2334 * net/browse-url.el:
2335 * net/dbus.el:
2336 * net/eudc.el:
2337 * net/eudcb-ldap.el:
2338 * net/eww.el:
2339 * net/imap.el:
2340 * printing.el:
2341 * vc/ediff-diff.el:
2342 * vc/ediff-init.el:
2343 * vc/ediff-merg.el:
2344 * vc/ediff-mult.el:
2345 * vc/ediff-util.el:
2346 * vc/ediff-wind.el:
2347 * vc/ediff.el:
2348 * vc/emerge.el:
2349 * vc/pcvs.el:
2350 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2351 byte compiler. Remove some unused let-bound variables.
2352
4c528aab
SM
23532013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2356 a "ref-cell", since it gets better optimized (bug#14883).
2357
bd15c390
GM
23582013-09-05 Glenn Morris <rgm@gnu.org>
2359
2360 * progmodes/cc-awk.el (c-forward-sws): Declare.
2361
1c3ac2e5
GM
23622013-09-04 Glenn Morris <rgm@gnu.org>
2363
2364 * generic-x.el [rul-generic-mode]: Require cc-mode.
2365 (c++-mode-syntax-table): Declare.
2366 (rul-generic-mode-syntax-table): Init in the defvar.
2367
52b1cc79
SM
23682013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2369
c828af56
SM
2370 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2371 (vc-do-command, vc-set-async-update):
2372 * vc/vc-mtn.el (vc-mtn-dir-status):
2373 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2374 (vc-hg-pull, vc-hg-merge-branch):
2375 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2376 (vc-git-merge-branch):
2377 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2378 (vc-cvs-dir-status-files):
2379 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2380 (vc-bzr-dir-status-files):
2381 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2382 * vc/vc-annotate.el: Use lexical-binding.
2383 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2384 (vc-sentinel-movepoint): Declare.
2385 (vc-annotate): Don't use `goto-line'.
2386 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2387 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2388 (vc-sentinel-movepoint): Declare.
2389 * vc/vc-svn.el: Use lexical-binding.
2390 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2391 * vc/vc-sccs.el:
2392 * vc/vc-rcs.el: Use lexical-binding.
2393
abae272c
SM
2394 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2395 `deleted'. Don't drop errors silently.
2396
52b1cc79
SM
2397 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2398
63191d9f
XF
23992013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2400
2401 * vc/vc.el (vc-ignore): Rewrite.
2402 (vc-default-ignore): New function.
2403 (vc-default-ignore-completion-table): Use find-ignore-file.
2404
2405 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2406 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2407 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2408 Remove. Most code moved to vc.el.
2409
9d3f707c
SM
24102013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2411
abae272c 2412 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2413 * net/tramp-smb.el (tramp-smb-get-file-entries):
2414 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2415 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2416
fde38d49
SM
2417 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2418 Update call to it.
2419 (eww-change-select): Remove unused var `properties'.
2420 (eww-make-unique-file-name): Remove unused var `base'.
2421
2422 * finder.el (finder-compile-keywords): Don't mess with windows.
2423
84032db7
SM
2424 * calculator.el (calculator-funcall): Fix typo in last change.
2425
724f5e41
SM
2426 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2427
14b511d4
SM
2428 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2429 <pkg>-autoloads.el file stop us.
2430
9d3f707c 2431 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2432 warnings, and factor out common code.
9d3f707c 2433
88527bc0
DG
24342013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2435
2436 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2437 two-character operators and whether the character preceding them
2438 changes their meaning (Bug#15208).
2439
96edb677
FEG
24402013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2441
2442 Format code sent to Python shell for robustness.
9d3f707c
SM
2443 * progmodes/python.el (python-shell-buffer-substring):
2444 New function.
96edb677
FEG
2445 (python-shell-send-region, python-shell-send-buffer): Use it.
2446
95beaef3
MA
24472013-09-02 Michael Albinus <michael.albinus@gmx.de>
2448
2449 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2450 * net/tramp.el (tramp-user-error): ... here.
2451 (tramp-find-method, tramp-check-proper-host)
2452 (tramp-dissect-file-name, tramp-debug-message)
2453 (tramp-handle-shell-command):
2454 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2455 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2456
2457 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2458
f167c27b
MR
24592013-09-02 Martin Rudalics <rudalics@gmx.at>
2460
2461 * avoid.el (mouse-avoidance-point-position)
2462 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2463 returns nil.
2464
cd16c5f1
FEG
24652013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2466
2467 * progmodes/python.el (python-shell-completion-get-completions):
2468 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2469 (python-nav-if-name-main): New command.
cd16c5f1 2470
e73c3a0d
GM
24712013-09-01 Glenn Morris <rgm@gnu.org>
2472
f8ccce03
GM
2473 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2474 Avoid leading space in $wins. Otherwise the sed command used by
2475 eg compile-main ends up containing "/*.el". (Bug#15170)
2476
e73c3a0d
GM
2477 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2478
415f808e
GM
24792013-08-30 Glenn Morris <rgm@gnu.org>
2480
2481 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2482 Fix is-this-a-directory logic. (Bug#15220)
2483
f069bba8
SM
24842013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2485
112798c1
SM
2486 * textmodes/css-mode.el: Use SMIE.
2487 (css-smie-grammar): New var.
2488 (css-smie--forward-token, css-smie--backward-token)
2489 (css-smie-rules): New functions.
2490 (css-mode): Use them.
2491 (css-navigation-syntax-table): Remove var.
2492 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2493 (css-indent-calculate, css-indent-line): Remove functions.
2494
2495 Misc changes to reduce use of `(lambda...); and other cleanups.
2496 * cus-edit.el: Use lexical-binding.
2497 (customize-push-and-save, customize-apropos)
2498 (custom-buffer-create-internal): Use closures.
2499 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2500 * progmodes/ada-xref.el: Use setq.
2501 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2502 * dframe.el: Use lexical-binding.
2503 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2504 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2505 * descr-text.el: Use lexical-binding.
2506 (describe-text-widget, describe-text-sexp, describe-property-list):
2507 Use closures.
2508 * comint.el (comint-history-isearch-push-state): Use a closure.
2509 * calculator.el: Use lexical-binding.
2510 (calculator-number-to-string): Make it work with lexical-binding.
2511 (calculator-funcall): Same and use cl-letf.
2512
2da4c3ab
SM
2513 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2514 (lisp--company-doc-string, lisp--company-location): New functions.
2515 (lisp-completion-at-point): Use them to improve Company support.
2516
f069bba8
SM
2517 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2518 params of lambda expressions.
2519 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2520 (ruby-smie--opening-pipe-p): New function.
2521 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2522 symbols and matched |...| for formal params.
2523 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2524 from being treated as hanging. Handle "rescue".
2525
6758b6a8
GM
25262013-08-29 Glenn Morris <rgm@gnu.org>
2527
2528 * progmodes/cc-engine.el (c-pull-open-brace):
2529 Move definition before use.
2530
e8dfd197
SM
25312013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2532
2533 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2534 are immutable. Don't use `unsafe' any more.
2535 (cl--defsubst-expand): Don't substitute at the same time as keeping
2536 a residual unused let-binding. Don't use `unsafe' any more.
2537
cc585c96
GM
25382013-08-29 Glenn Morris <rgm@gnu.org>
2539
ba579ea6
GM
2540 * calendar/cal-china.el (calendar-chinese-year-cache):
2541 Recenter on 2015.
2542
8201a87e
GM
2543 * nxml/nxml-util.el (nxml-debug-clear-inside):
2544 Use cl-loop rather than loop.
2545
6ee877c7
GM
2546 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2547
cc585c96
GM
2548 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2549
27be8d39
GM
25502013-08-28 Glenn Morris <rgm@gnu.org>
2551
397440a1
GM
2552 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2553
2bb762d4
GM
2554 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2555
27be8d39
GM
2556 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2557
2d69b99e
SM
25582013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2559
f663baa7
SM
2560 * simple.el (repeat-complex-command--called-interactively-skip):
2561 New function.
2562 (repeat-complex-command): Use it (bug#14136).
2563
dd4f8b74
SM
2564 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2565 (c-define-abbrev-table): Add `doc' argument.
2566 (c-mode-abbrev-table, c++-mode-abbrev-table)
2567 (objc-mode-abbrev-table, java-mode-abbrev-table)
2568 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2569 (awk-mode-abbrev-table): Use it.
2570 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2571 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2572 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2573 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2574 Move initialization into the declaration; and remove any
2575 autoload cookie.
2576
b58969f7
SM
2577 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2578 and dynamic let binding.
2579
4021d6a6
SM
2580 * vc/smerge-mode.el: Remove redundant :group args.
2581
2d69b99e
SM
2582 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2583 to load-path.
2584
274919fd
JL
25852013-08-28 Juri Linkov <juri@jurta.org>
2586
2587 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2588 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2589 (isearch-other-meta-char): Handle an undefined shifted printing
2590 character by downshifting it. (Bug#15200)
2591
121f8c95
JL
25922013-08-28 Juri Linkov <juri@jurta.org>
2593
2594 * isearch.el (isearch-search): Change regexp error message for
2595 non-regexp searches. (Bug#15166)
2596
50b13cde
PE
25972013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2598
2599 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2600 for portability to hosts where /bin/sh has problems.
2601
95888bca
SM
26022013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2605
bbe558f1
JL
26062013-08-27 Juri Linkov <juri@jurta.org>
2607
2608 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2609 in the keyboard macro. (Bug#15126)
2610
26f98a7d
JL
26112013-08-27 Juri Linkov <juri@jurta.org>
2612
2613 * isearch.el (isearch-quote-char): Comment out converting unibyte
2614 to multibyte, thus syncing with its `quoted-insert' counterpart.
2615 (Bug#15166)
2616
7c97d35e
MR
26172013-08-27 Martin Rudalics <rudalics@gmx.at>
2618
2619 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2620 argument in call of get-largest-window (Bug#15185).
2621 Reported by Stephen Leake.
7c97d35e 2622
a0b5606e 26232013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2624
2625 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2626
9e89d835
SM
26272013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2628
2629 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2630 from a matcher-function unless there's no more matches (bug#15161).
2631
78fc2530
MA
26322013-08-26 Michael Albinus <michael.albinus@gmx.de>
2633
2634 * minibuffer.el: Revert change from 2013-08-20.
2635
2636 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2637 with text property `tramp-default', if appropriate.
2638 (tramp-check-proper-host): New defun.
2639 (tramp-dissect-file-name): Do not check hostname. Revert change
2640 of 2013-03-18.
2641 (tramp-backtrace): Make VEC-OR-PROC optional.
2642
2643 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2644 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2645 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2646 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2647 Apply `tramp-check-proper-host'.
78fc2530 2648
edca97cd
TH
26492013-08-26 Tassilo Horn <tsdh@gnu.org>
2650
2651 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2652 lambda expression in order to have `describe-variable' display it.
2653
df54bcbd
MA
26542013-08-26 Michael Albinus <michael.albinus@gmx.de>
2655
2656 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2657 BUF can be optional. (Bug#15186)
2658
eed99101
XF
26592013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2660
2661 * progmodes/flymake.el (flymake-get-real-file-name-function):
2662 Fix broken customization. (Bug#15184)
2663
b5eb9035
AM
26642013-08-25 Alan Mackenzie <acm@muc.de>
2665
8a51e842
AM
2666 Improve indentation of bracelists defined by macros (without "=").
2667
2668 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2669 expansion begins with "{", regard it as bracelist when it doesn't
2670 contain a ";".
2671
869455d4
AM
2672 Parse C++ inher-intro when there's a template split over 2 lines.
2673
2674 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2675 rigorously the search for "class" etc. followed by ":".
2676
2677 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2678 random languages a regexp which never matches rather than nil.
2679
b5eb9035
AM
2680 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2681
2682 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2683 (c-awk-regexp-one-line-possibly-open-char-list-re)
2684 (c-awk-one-line-possibly-open-regexp-re)
2685 (c-awk-one-line-non-syn-ws*-re): Remove.
2686 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2687 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2688 (c-awk-space*-unclosed-regexp-/-re): New constants.
2689 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2690 aren't regexp delimiters.
2691
2692 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2693 handling for a rare situation in AWK Mode involving unterminated
2694 strings/regexps.
2695
61611d54
GM
26962013-08-23 Glenn Morris <rgm@gnu.org>
2697
2d85dc34
GM
2698 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2699
cb8d2612
GM
2700 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2701
bb35f42f
GM
2702 * files.el (create-file-buffer): If the result would begin with
2703 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2704
b9808e77
SM
27052013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2706
e3a66363
SM
2707 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2708 text-properties (bug#15155).
2709
b9808e77
SM
2710 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2711 exist any more.
2712 (calc-keypad-redraw): Remove unused var `pad'.
2713 (calc-keypad-press): Remove unused var `menu'.
2714
7fd5f65e
MR
27152013-08-23 Martin Rudalics <rudalics@gmx.at>
2716
b9808e77
SM
2717 * window.el (display-buffer-pop-up-frame):
2718 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2719 use it as the new frame's buffer (Bug#15133).
2720
8352b530
SM
27212013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2723 * calendar/timeclock.el: Minor cleanups.
2724 (timeclock-ask-before-exiting, timeclock-use-display-time):
2725 Use `symbol'.
2726 (timeclock-modeline-display): Define as alias before the
2727 actual definition.
2728 (timeclock-mode-line-display): Use define-minor-mode.
2729 (timeclock-day-list-template): Make it a function, add an argument.
2730 (timeclock-day-list-required, timeclock-day-list-length)
2731 (timeclock-day-list-debt, timeclock-day-list-span)
2732 (timeclock-day-list-break): Adjust calls accordingly.
2733
9f7b1925
SM
27342013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2737 Use read--expression so that completion works again.
2738
6e50e983
SS
27392013-08-21 Sam Steingold <sds@gnu.org>
2740
2741 Add rudimentary inferior shell interaction
2742 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2743 (sh-set-shell): Reset it.
9f7b1925
SM
2744 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2745 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2746
dbb0d350
SM
27472013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2748
2749 * align.el: Use lexical-binding.
2750 (align-region): Simplify accordingly.
2751
c88586a9
MA
27522013-08-20 Michael Albinus <michael.albinus@gmx.de>
2753
2754 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2755
2756 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2757 `non-essential' up.
2758
f95527c8
MA
27592013-08-17 Michael Albinus <michael.albinus@gmx.de>
2760
2761 * net/tramp.el:
2762 * net/tramp-adb.el:
2763 * net/tramp-cmds.el:
2764 * net/tramp-ftp.el:
2765 * net/tramp-gvfs.el:
2766 * net/tramp-gw.el:
2767 * net/tramp-sh.el: Don't wrap external variable declarations by
2768 `eval-when-compile'.
2769
4b5fe4ee
LMI
27702013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2771
2772 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2773 now that Emacs supports ImageMagick animations.
2774
13c366c9
MA
27752013-08-16 Michael Albinus <michael.albinus@gmx.de>
2776
2777 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2778 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2779
3dfc5cd6
MR
27802013-08-16 Martin Rudalics <rudalics@gmx.at>
2781
2782 * window.el (mouse-autoselect-window-select): Do autoselect when
2783 mouse pointer is on margin.
2784
4bbb4381
WP
27852013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2786
2787 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2788
3a2ddc2d
GM
27892013-08-16 Glenn Morris <rgm@gnu.org>
2790
e8bedf5a
GM
2791 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2792 Handle "Remote Directory" response of some clients. (Bug#15058)
2793
58c4682f
GM
2794 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2795 Tweak warning. (Bug#14926)
2796
57953f49
GM
2797 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2798 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2799
3a2ddc2d
GM
2800 * image-mode.el (image-mode-map): Add menu items to reverse,
2801 increase, decrease, reset animation speed.
2802 (image--set-speed, image-increase-speed, image-decrease-speed)
2803 (image-reverse-speed, image-reset-speed): New functions.
2804 (image-mode-map): Add bindings for speed commands.
2805
2806 * image.el (image-animate-get-speed, image-animate-set-speed):
2807 New functions.
2808 (image-animate-timeout): Respect image :speed property.
2809
10fa0ed3
SM
28102013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2811
2812 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2813 previous line (bug#15101).
2814 (debugger-eval-expression, debugger-record-expression):
2815 Use read--expression (bug#15102).
2816
5d89d9d2
MA
28172013-08-15 Michael Albinus <michael.albinus@gmx.de>
2818
2819 Remove byte compiler warnings, visible when compiling with
2820 `byte-compile-force-lexical-warnings' set to t.
2821
2822 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2823 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2824 (tramp-handle-unhandled-file-name-directory)
2825 (tramp-handle-file-notify-add-watch, tramp-action-login)
2826 (tramp-action-succeed, tramp-action-permission-denied)
2827 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2828 arguments with "_".
2829
2830 * net/tramp-adb.el (tramp-adb-parse-device-names)
2831 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2832 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2833 (tramp-adb-handle-file-truename): Remove unused arguments.
2834
2835 * net/tramp-cache.el (tramp-flush-directory-property)
2836 (tramp-flush-connection-property, tramp-list-connections)
2837 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2838
10fa0ed3
SM
2839 * net/tramp-compat.el (tramp-compat-make-temp-file):
2840 Rename FILENAME to F.
5d89d9d2
MA
2841
2842 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2843 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2844 (tramp-zeroconf-parse-workstation-device-names)
2845 (tramp-zeroconf-parse-webdav-device-names)
2846 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2847
2848 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2849 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2850
2851 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2852 arguments.
2853 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2854 (tramp-sh-handle-insert-file-contents-literally)
2855 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2856 with "_".
2857 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2858 Remove unused variables.
2859
2860 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2861 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2862 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2863
2864 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2865 Make them a defconst.
2866 (tramp-uuencode-region): Remove unused variable.
2867
62f33bae
JB
28682013-08-14 Juanma Barranquero <lekktu@gmail.com>
2869
2870 * frameset.el (frameset--prop-setter): New function.
2871 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2872 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2873 parameter was already set in FILTERED. Doc fix.
2874 (frameset--record-minibuffer-relationships): Allow saving a
2875 minibufferless frame without its corresponding minibuffer frame.
2876 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2877 frame, if the frame id matches.
2878 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2879 frames before orphaned ones.
2880 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2881
c660a885
MR
28822013-08-14 Martin Rudalics <rudalics@gmx.at>
2883
2884 * window.el (window-make-atom): Don't overwrite parameter
2885 already present.
2886 (display-buffer-in-atom-window): Handle special case where we
2887 split an already atomic window.
2888 (window--major-non-side-window, display-buffer-in-side-window)
2889 (window--side-check): Ignore minibuffer window when walking
2890 window tree.
2891 (window-deletable-p): Return 'frame only if no other frame uses
2892 our minibuffer window.
2893 (record-window-buffer): Run buffer-list-update-hook.
2894 (split-window): Make sure window--check-frame won't destroy an
2895 existing atomic window in case the new window gets nested
2896 inside.
2897 (display-buffer-at-bottom): Ignore minibuffer window when
2898 walking window tree. Don't split a side window.
2899 (pop-to-buffer): Don't set-buffer here, the select-window call
2900 should do that.
2901 (mouse-autoselect-window-select): Autoselect only if we are in the
2902 text portion of the window.
2903
8259030d
LMI
29042013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2905
21c58ae2
LMI
2906 * net/shr.el (shr-parse-image-data): New function to grab both the
2907 data itself and the Content-Type.
2908 (shr-put-image): Use it.
2909
2910 * net/eww.el (eww-display-image): Ditto.
2911
8259030d
LMI
2912 * image.el (image-content-type-suffixes): New variable.
2913
ad756449
FEG
29142013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2915
2916 * progmodes/python.el (python-imenu--build-tree)
2917 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2918
f73f4ce6
XF
29192013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2920
2921 * simple.el (backward-word): Mention the optional argument.
2922
1f585e65
SM
29232013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * frameset.el (frameset--make): Rename constructor from make-frameset.
2926 (frameset-p, frameset-valid-p): Don't autoload.
2927 (frameset-valid-p): Use normal accessors.
2928
af1c6c84
GM
29292013-08-13 Glenn Morris <rgm@gnu.org>
2930
55e47f95
GM
2931 * progmodes/compile.el (compile-command): Tweak example in doc.
2932 * obsolete/scribe.el (scribe-mode):
2933 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2934
f0024d8c
GM
2935 * mail/feedmail.el (feedmail-confirm-outgoing)
2936 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2937
2938 * cus-start.el (truncate-partial-width-windows): Fix type.
2939
2940 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2941
af1c6c84
GM
2942 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2943
5514cc4c
SM
29442013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * emacs-lisp/timer.el (timer--time-setter): New function.
2947 (timer--time): Use it as gv-setter.
2948
2949 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2950 setter is not a symbol.
2951
7997a2f1
GJ
29522013-08-12 Grégoire Jadi <daimrod@gmail.com>
2953
2954 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2955 if sending fails. This makes debugging easier.
2956
01f1a9ab
JB
29572013-08-12 Juanma Barranquero <lekktu@gmail.com>
2958
2959 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2960 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2961 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2962
594a4307
EZ
29632013-08-12 Eli Zaretskii <eliz@gnu.org>
2964
2965 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2966
7a22490f 29672013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2968
2969 * format.el (format-annotate-function):
2970 Handle read-only text properties in the source. (Bug#14887)
2971
3e41a054
LMI
29722013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2973
5514cc4c
SM
2974 * net/eww.el (eww-display-html): Ignore coding system errors.
2975 One web site uses "utf-8lias" as the coding system.
3e41a054 2976
7ec326db
JB
29772013-08-11 Juanma Barranquero <lekktu@gmail.com>
2978
2979 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2980
5660113b
JB
29812013-08-10 Juanma Barranquero <lekktu@gmail.com>
2982
9a4ebc74
JB
2983 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2984 (tutorial--detailed-help): Remove unused local variables.
2985 (tutorial--save-tutorial-to): Use ignore-errors.
2986 (help-with-tutorial): Use looking-at-p.
2987
2988 * view.el (view-buffer-other-window, view-buffer-other-frame):
2989 Mark unused arguments.
2990
2991 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2992 (woman-select-symbol-fonts, woman, woman-find-file)
2993 (woman-insert-file-contents, woman-non-underline-faces):
2994 Use string-match-p.
2995 (woman1-unquote): Move declaration.
2996
2997 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2998 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2999 argument. Remove unused local variable.
3000 (xml-parse-elem-type): Use string-match-p.
3001 (xml-substitute-numeric-entities): Use ignore-errors.
3002
45fdb482
JB
3003 * calculator.el (calculator): Mark unused argument.
3004 (calculator-paste, calculator-quit, calculator-integer-p):
3005 Use ignore-errors.
3006 (calculator-string-to-number, calculator-decimal, calculator-exp)
3007 (calculator-op-or-exp): Use string-match-p.
3008
3009 * dired.el (dired-buffer-more-recently-used-p): Declare.
3010 (dired-insert-set-properties, dired-insert-old-subdirs):
3011 Use ignore-errors.
3012
3013 * dired-aux.el (dired-compress): Use ignore-errors.
3014 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3015 (dired-do-async-shell-command, dired-do-shell-command)
3016 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3017 (dired-insert-subdir-validate): Use string-match-p.
3018 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3019 (dired-add-entry): Use string-match-p, looking-at-p.
3020 (dired-insert-subdir-newpos): Remove unused local variable.
3021
3022 * filenotify.el (file-notify-callback): Remove unused local variable.
3023
3024 * filesets.el (filesets-error): Mark unused argument.
3025 (filesets-which-command-p, filesets-filter-dir-names)
3026 (filesets-directory-files, filesets-get-external-viewer)
3027 (filesets-ingroup-get-data): Use string-match-p.
3028
3029 * find-file.el (ff-other-file-name, ff-other-file-name)
3030 (ff-find-the-other-file, ff-cc-hh-converter):
3031 Remove unused local variables.
3032 (ff-get-file-name): Use string-match-p.
3033 (ff-all-dirs-under): Use ignore-errors.
3034
3035 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3036 (follow-select-if-visible): Remove unused local variable.
3037
3038 * forms.el (read-file-filter): Move declaration.
3039 (forms--make-format, forms--make-parser, forms-insert-record):
3040 Quote function with #'.
3041 (forms--update): Use string-match-p. Quote function with #'.
3042
3043 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3044 (help-make-xrefs): Use looking-at-p.
3045 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3046
3047 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3048 (ibuffer-confirm-operation-on): Use string-match-p.
3049
3050 * msb.el (msb-item-handler, msb-dired-item-handler):
3051 Mark unused arguments.
3052
3053 * ses.el (ses-decode-cell-symbol)
3054 (ses-kill-override): Remove unused local variable.
3055 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3056 (ses-load): Use ignore-errors, looking-at-p.
3057 (ses-jump-safe): Use ignore-errors.
3058 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3059
3060 * tabify.el (untabify, tabify): Mark unused arguments.
3061
3062 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3063 Mark unused argument.
3064 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3065 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3066
c880af52
JB
3067 * emacs-lisp/timer.el (timer--time): Define setter with
3068 gv-define-setter to avoid deprecation warning.
3069
5660113b 3070 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 3071 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
3072 (cmpl-statistics-block): Remove (body was commented out).
3073 All callers changed.
3074 (add-completions-from-buffer, load-completions-from-file):
3075 Remove unused variables.
3076
156aab80
JB
30772013-08-09 Juanma Barranquero <lekktu@gmail.com>
3078
5c5dee78
JB
3079 * filecache.el (file-cache-delete-file-list):
3080 Print message only when told so.
3081 (file-cache-files-matching): Use #' in mapconcat argument.
3082
156aab80
JB
3083 * ffap.el (ffap-url-at-point): Fix reference to variable
3084 thing-at-point-default-mail-uri-scheme.
3085
ad9dcd70
SM
30862013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3087
54bd972f
SM
3088 * subr.el (define-error): New function.
3089 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3090 error-file-not-found and define with define-error.
3091 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3092 and define with define-error.
3093 * userlock.el (file-locked, file-supersession):
3094 * simple.el (mark-inactive):
3095 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3096 * progmodes/ada-mode.el (ada-mode-errors):
3097 * play/life.el (life-extinct):
3098 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3099 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3100 * nxml/rng-util.el (rng-error):
3101 * nxml/rng-uri.el (rng-uri-error):
3102 * nxml/rng-match.el (rng-compile-error):
3103 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3104 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3105 * nxml/nxml-rap.el (nxml-scan-error):
3106 * nxml/nxml-outln.el (nxml-outline-error):
3107 * net/soap-client.el (soap-error):
3108 * net/gnutls.el (gnutls-error):
3109 * net/ange-ftp.el (ftp-error):
3110 * mpc.el (mpc-proc-error):
3111 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3112 (json-number-format, json-string-escape, json-string-format)
3113 (json-key-format, json-object-format):
3114 * jka-compr.el (compression-error):
3115 * international/quail.el (quail-error):
3116 * international/kkc.el (kkc-error):
3117 * emacs-lisp/ert.el (ert-test-failed):
3118 * calc/calc.el (calc-error, inexact-result, math-overflow)
3119 (math-underflow):
3120 * bookmark.el (bookmark-error-no-filename):
3121 * epg.el (epg-error): Define with define-error.
3122
0ea9e53a
SM
3123 * time.el (display-time-event-handler)
3124 (display-time-next-load-average): Don't call sit-for since it seems
3125 unnecessary (bug#15045).
3126
b0429158
SM
3127 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3128 Use #' instead of ' to quote functions.
3129 (checkdoc-output-mode): Use setq-local.
3130 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3131 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3132 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3133 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3134 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3135 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3136 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3137 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3138
ad9dcd70
SM
3139 * ido.el (ido-completion-help): Fix up compiler warning.
3140
77187e6f
JB
31412013-08-09 Juanma Barranquero <lekktu@gmail.com>
3142
3143 * frameset.el (frameset-p): Add autoload cookie.
3144 (frameset--jump-to-register): New function, based on code moved from
3145 register.el.
3146 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3147
3148 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3149 (frameset-restore, frameset-save, frameset-session-filter-alist):
3150 Remove declarations.
3151 (register-alist): Doc fix.
3152 (frameset-to-register): Move to frameset.el.
3153 (jump-to-register, describe-register-1): Remove frameset-specific code.
3154
9d3aa82c
JB
31552013-08-08 Juanma Barranquero <lekktu@gmail.com>
3156
3157 * allout-widgets.el (allout-widgets-pre-command-business)
3158 (allout-widgets-post-command-business)
3159 (allout-widgets-after-change-handler)
3160 (allout-decorate-item-and-context, allout-set-boundary-marker)
3161 (allout-body-modification-handler)
3162 (allout-graphics-modification-handler): Mark ignored arguments.
3163 (allout-widgets-post-command-business)
3164 (allout-widgets-exposure-change-processor)
3165 (allout-widgets-exposure-undo-processor)
3166 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3167 (allout-parse-item-at-point, allout-decorate-item-guides)
3168 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3169 * allout.el (epa-passphrase-callback-function): Declare.
3170 (allout-overlay-insert-in-front-handler)
3171 (allout-overlay-interior-modification-handler)
3172 (allout-isearch-end-handler, allout-chart-siblings)
3173 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3174 (allout-yank-processing, allout-process-exposed)
3175 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 3176 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
3177 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3178 (lisp-indent-defform): Mark ignored arguments.
3179 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3180 (calculate-lisp-indent): Remove unused variables.
3181 * international/characters.el (indian-2-column, arabic-2-column)
3182 (tibetan): Mark ignored arguments.
3183 (use-cjk-char-width-table): Mark ignored arguments.
3184 Remove unused variables.
3185 * international/fontset.el (build-default-fontset-data)
3186 (x-compose-font-name, create-fontset-from-fontset-spec):
3187 Mark ignored arguments.
3188 (fontset-plain-name): Remove unused variables.
3189 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3190 (keyboard-coding-system): Mark ignored arguments.
3191 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3192 * help.el (resize-temp-buffer-window):
3193 * window.el (display-buffer-in-major-side-window)
3194 (display-buffer-in-side-window, display-buffer-in-previous-window):
3195 Remove unused variables.
3196 * isearch.el (isearch-forward-symbol):
3197 * version.el (emacs-bzr-version-bzr):
3198 * international/mule-cmds.el (current-language-environment):
3199 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3200 (x-handle-display):
3201 * term/pc-win.el (x-list-fonts, x-display-planes)
3202 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3203 (x-server-version, x-display-screens, x-display-mm-height)
3204 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3205 (x-selection-owner-p, x-own-selection-internal)
3206 (x-disown-selection-internal, x-get-selection-internal)
3207 (msdos-initialize-window-system):
3208 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3209 * term/x-win.el (x-handle-no-bitmap-icon):
3210 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3211 (vc-default-find-file-hook, vc-default-extra-menu):
3212 Mark ignored arguments.
3213
0ca3f70e
SM
32142013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3215
3216 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3217 break-condition in the context of the debugged code (bug#12685).
3218
74c5d24c
CS
32192013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3220
3221 * comint.el:
3222 Do not use an overlay to highlight the last prompt. (Bug#14744)
3223 (comint-mode): Make comint-last-prompt buffer local.
3224 (comint-last-prompt): New variable.
3225 (comint-last-prompt-overlay): Remove. Superseded by
3226 comint-last-prompt.
0ca3f70e
SM
3227 (comint-snapshot-last-prompt, comint-output-filter):
3228 Use comint-last-prompt.
74c5d24c 3229
c03c02ee
JB
32302013-08-08 Juanma Barranquero <lekktu@gmail.com>
3231
a3738d20 3232 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
3233 (frameset-save): Check validity of the resulting frameset.
3234
04263d23
XF
32352013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3236
3237 * ido.el (ido-record-command): Add doc string.
3238
76c5e5ab
JB
32392013-08-08 Juanma Barranquero <lekktu@gmail.com>
3240
3241 * frameset.el (frameset): Do not disable creation of the default
3242 frameset-p predicate. Doc fix.
3243 (frameset-valid-p): New function, copied from the old predicate-p.
3244 Add additional checks.
3245 (frameset-restore): Check with frameset-valid-p.
3246 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3247 (frameset-name, frameset-description, frameset-properties)
3248 (frameset-states): Add docstring.
f9dbf1cb
JB
3249 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3250 (frameset-filter-alist): Doc fixes.
76c5e5ab 3251
bd0c3c0b
JB
32522013-08-08 Juanma Barranquero <lekktu@gmail.com>
3253
3254 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3255
c735544c
SM
32562013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3257
3258 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3259 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3260 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3261 (byte-compile-normal-call): Remove obsolescence check.
3262
2805a651
JB
32632013-08-08 Juanma Barranquero <lekktu@gmail.com>
3264
3677ffeb
JB
3265 * frameset.el (frameset-restore): Doc fix.
3266
2805a651
JB
3267 * register.el (frameset-frame-id, frameset-frame-with-id)
3268 (frameset-p, frameset-restore, frameset-save): Declare.
3269 (register-alist): Document framesets.
3270 (frameset-session-filter-alist): Declare.
3271 (frameset-to-register): New function.
3272 (jump-to-register): Implement jumping to framesets. Doc fix.
3273 (describe-register-1): Describe framesets.
3274
3275 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3276
a912c016
JB
32772013-08-07 Juanma Barranquero <lekktu@gmail.com>
3278
3279 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3280 Use lexical-binding.
3281
3282 * frameset.el (frameset): Use type vector, not list (incompatible
3283 change). Do not declare a new constructor, use the default one.
3284 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3285 `name' and `description', respectively, and add read-only slot
3286 `timestamp'. Doc fixes.
3287 (frameset-copy, frameset-persistent-filter-alist)
3288 (frameset-filter-alist, frameset-switch-to-gui-p)
3289 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3290 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3291 (frameset-filter-iconified, frameset-keep-original-display-p):
3292 Doc fixes.
3293 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3294 Rename from frameset-filter-(save|restore)-param. All callers changed.
3295 Doc fix.
3296 (frameset-p): Adapt to change to vector and be more thorough.
3297 Change arg name to OBJECT. Doc fix.
3298 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3299 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3300 All callers changed.
3301 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3302 All callers changed.
3303 (frameset--record-minibuffer-relationships): Rename from
3304 frameset--process-minibuffer-frames. All callers changed.
3305 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3306 Use new default constructor (again). Doc fix.
3307 (frameset--find-frame-if): Rename from `frameset--find-frame.
3308 All callers changed.
3309 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3310 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3311 Doc fix.
3312 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3313 PARAMETERS and WINDOW-STATE, respectively.
3314 (frameset-restore): Add new keyword argument PREDICATE.
3315 Reset frameset--target-display to nil. Doc fix.
3316
bb41480a
SM
33172013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3318
f001e98e
SM
3319 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3320 (bat-mode): Use it.
3321 (bat-mode-syntax-table): Mark \n as end-of-comment.
3322 (bat-font-lock-keywords): Remove comment rule.
3323
7679edb1
SM
3324 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3325 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3326
bb41480a
SM
3327 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3328 (byte-compile-callargs-warn): Use `push'.
3329 (byte-compile-arglist-warn): Ignore higher-order "calls".
3330 (byte-compile-file-form-autoload): Use `pcase'.
3331 (byte-compile-function-form): If quoting a symbol, check that it exists.
3332
cdc1ebb9
EZ
33332013-08-07 Eli Zaretskii <eliz@gnu.org>
3334
3335 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3336 and add a few popular commands found in batch files.
3337 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3338 (dos-mode): Doc fixes.
3339
312b1740
SM
33402013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3343 (dos-mode): Use setq-local. Add space after "rem".
3344 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3345 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3346
400a3178
AM
33472013-08-07 Arni Magnusson <arnima@hafro.is>
3348
3349 * progmodes/dos.el: New file.
3350 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3351 dos-mode.
3352
3b5c03d3
GM
33532013-08-06 Glenn Morris <rgm@gnu.org>
3354
3355 * calendar/calendar.el: Add new faces, and day-header-array.
3356 (calendar-weekday-header, calendar-weekend-header)
3357 (calendar-month-header): New faces.
3358 (calendar-day-header-construct): New function.
3359 (calendar-day-header-width): Also :set calendar-day-header-array.
3360 (calendar-american-month-header, calendar-european-month-header)
3361 (calendar-iso-month-header): Use calendar- faces.
3362 (calendar-generate-month):
3363 Use calendar-day-header-array for day headers; apply faces to them.
3364 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3365 (calendar-abbrev-construct): Add optional maxlen argument.
3366 (calendar-day-name-array): Doc fix.
3367 (calendar-day-name-array, calendar-abbrev-length)
3368 (calendar-day-abbrev-array):
3369 Also :set calendar-day-header-array, and maybe redraw.
3370 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 3371 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
3372 (calendar-day-name): Add option to use header array.
3373
ec6a2d7a
LMI
33742013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3375
3376 * net/shr.el (shr-render-td): Remove debugging.
3377 (shr-render-td): Make width computation consistent by defaulting
3378 all zero-width columns to 10 characters. This may not be optimal,
3379 but it's at least consistent.
2122cb6d
LMI
3380 (shr-make-table-1): Redo last change to fix the real problem in
3381 colspan handling.
ec6a2d7a 3382
ed4fd9c5
DA
33832013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3384
0ca3f70e
SM
3385 * files.el (cache-long-line-scans):
3386 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 3387
64e22afe
JB
33882013-08-06 Juanma Barranquero <lekktu@gmail.com>
3389
024b38fc
JB
3390 * frameset.el (frameset, frameset-filter-alist)
3391 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3392 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3393 (frameset-compute-pos): Rename from frameset--compute-pos,
3394 and add docstring.
3395 (frameset-move-onscreen): Use frameset-compute-pos.
3396 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3397
64e22afe
JB
3398 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3399 Fix typos in docstrings.
3400
c8c2aca8
DA
34012013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3402
3403 * frame.el (get-other-frame): Tiny cleanup.
3404
1d237bba
JB
34052013-08-06 Juanma Barranquero <lekktu@gmail.com>
3406
8951efef
JB
3407 * vc/vc.el (vc-default-ignore-completion-table):
3408 Silence byte-compiler warning.
3409
307764cc
JB
3410 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3411 slot , which can indeed be nil.
3412 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3413 Move entry for `left' from persistent to live filter alist.
3414 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3415 Doc fixes.
3416 (frameset-filter-params): When restoring a frame, copy items added to
3417 `filtered', to avoid unwittingly modifying the original parameters.
3418 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3419 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3420
1d237bba
JB
3421 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3422 to use looking-at-p instead of looking-at. (Bug#15028)
3423
dc6c0eda
SM
34242013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3425
3426 Revert introduction of isearch-filter-predicates (bug#14714).
3427 Rely on add-function instead.
3428 * isearch.el (isearch-filter-predicates): Rename it back to
3429 isearch-filter-predicate.
3430 (isearch-message-prefix): Use advice-function-mapc and advice
3431 properties to get the isearch-message-prefix.
3432 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3433 instead of run-hook-with-args-until-failure.
3434 (isearch-filter-visible): Not obsolete any more.
3435 * loadup.el: Preload nadvice.
3436 * replace.el (perform-replace): Revert to funcall
3437 instead of run-hook-with-args-until-failure.
3438 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3439 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3440 dired-isearch-filenames-toggle; make it into a proper minor mode.
3441 Use add/remove-function.
3442 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3443 Call the minor-mode rather than add/remove-hook.
3444 (dired-isearch-filter-filenames):
3445 Remove isearch-message-prefix property.
3446 * info.el (Info--search-loop): New function, extracted from Info-search.
3447 Funcall isearch-filter-predicate instead of
3448 run-hook-with-args-until-failure isearch-filter-predicates.
3449 (Info-search): Use it.
3450 (Info-mode): Use isearch-filter-predicate instead of
3451 isearch-filter-predicates.
3452
290d5b58
DA
34532013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3454
3455 Do not call to `selected-window' where it is assumed by default.
3456 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3457 `window-hscroll', `window-width', `window-height', `window-buffer',
3458 `window-frame', `window-start', `window-point', `next-window'
3459 and `window-display-table'.
3460 * abbrev.el (abbrev--default-expand):
3461 * bs.el (bs--show-with-configuration):
3462 * buff-menu.el (Buffer-menu-mouse-select):
3463 * calc/calc.el (calc):
3464 * calendar/calendar.el (calendar-generate-window):
3465 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3466 (diary-make-entry):
3467 * comint.el (send-invisible, comint-dynamic-complete-filename)
3468 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3469 * completion.el (complete):
3470 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3471 * disp-table.el (describe-current-display-table):
3472 * doc-view.el (doc-view-insert-image):
3473 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3474 * ehelp.el (with-electric-help):
3475 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3476 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3477 * emacs-lisp/helper.el (Helper-help-scroller):
3478 * emulation/cua-base.el (cua--post-command-handler-1):
3479 * eshell/esh-mode.el (eshell-output-filter):
3480 * ffap.el (ffap-gnus-wrapper):
3481 * help-macro.el (make-help-screen):
3482 * hilit-chg.el (highlight-compare-buffers):
3483 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3484 * hl-line.el (global-hl-line-highlight):
3485 * icomplete.el (icomplete-simple-completing-p):
3486 * isearch.el (isearch-done):
3487 * jit-lock.el (jit-lock-stealth-fontify):
3488 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3489 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3490 * mpc.el (mpc-tagbrowser, mpc):
3491 * net/rcirc.el (rcirc-any-buffer):
3492 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3493 * play/landmark.el (landmark-max-width, landmark-max-height):
3494 * play/zone.el (zone):
3495 * progmodes/compile.el (compilation-goto-locus):
3496 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3497 * progmodes/etags.el (find-tag-other-window):
3498 * progmodes/fortran.el (fortran-column-ruler):
3499 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3500 * progmodes/verilog-mode.el (verilog-point-text):
3501 * reposition.el (reposition-window):
3502 * rot13.el (toggle-rot13-mode):
3503 * server.el (server-switch-buffer):
3504 * shell.el (shell-dynamic-complete-command)
3505 (shell-dynamic-complete-environment-variable):
3506 * simple.el (insert-buffer, set-selective-display)
3507 (delete-completion-window):
3508 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3509 (speedbar-recenter):
3510 * startup.el (fancy-splash-head):
3511 * textmodes/ispell.el (ispell-command-loop):
3512 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3513 * tutorial.el (help-with-tutorial):
3514 * vc/add-log.el (add-change-log-entry):
3515 * vc/compare-w.el (compare-windows):
3516 * vc/ediff-help.el (ediff-indent-help-message):
3517 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3518 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3519 (ediff-setup-control-frame):
3520 * vc/emerge.el (emerge-position-region):
3521 * vc/pcvs-util.el (cvs-bury-buffer):
3522 * window.el (walk-windows, mouse-autoselect-window-select):
3523 * winner.el (winner-set-conf, winner-undo): Related users changed.
3524
38276e01
JB
35252013-08-05 Juanma Barranquero <lekktu@gmail.com>
3526
3527 * frameset.el (frameset--set-id): Doc fix.
3528 (frameset-frame-id, frameset-frame-id-equal-p)
3529 (frameset-locate-frame-id): New functions.
3530 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3531 (frameset-restore): Use them.
3532
12b4c0ea
DA
35332013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3534
3535 Do not call to `selected-frame' where it is assumed by default.
3536 Affected functions are `raise-frame', `redraw-frame',
3537 `frame-first-window', `frame-terminal' and `delete-frame'.
3538 * calendar/appt.el (appt-disp-window):
3539 * epg.el (epg-wait-for-completion):
3540 * follow.el (follow-delete-other-windows-and-split)
3541 (follow-avoid-tail-recenter):
3542 * international/mule.el (set-terminal-coding-system):
3543 * mail/rmail.el (rmail-mail-return):
3544 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3545 * progmodes/f90.el (f90-add-imenu-menu):
3546 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3547 * server.el (server-switch-buffer):
3548 * simple.el (delete-completion-window):
3549 * talk.el (talk):
3550 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3551 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3552 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3553 * vc/ediff.el (ediff-documentation): Related users changed.
3554 * frame.el (selected-terminal): Remove the leftover.
3555
17f25e76
GM
35562013-08-05 Glenn Morris <rgm@gnu.org>
3557
3558 * calendar/calendar.el (calendar-generate-month):
3559 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3560 (calendar-generate-month, calendar-font-lock-keywords):
3561 Fix for calendar-day-header-width > length of any day name.
17f25e76 3562
063233c3
JB
35632013-08-05 Juanma Barranquero <lekktu@gmail.com>
3564
3565 * desktop.el (desktop-clear): Use new name of sort predicate.
3566
3567 * frameset.el (frameset): Add docstring. Move :version property to its
3568 own `version' slot.
3569 (frameset-copy): Rename from copy-frameset.
3570 (frameset-p): Check more thoroughly.
3571 (frameset-prop): Do not check for :version, which is no longer a prop.
3572 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3573 Use new :never value instead of t.
3574 (frameset-filter-alist): Expand and clarify docstring.
3575 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3576 (frameset-filter-minibuffer, frameset-filter-save-param)
3577 (frameset-filter-restore-param, frameset-filter-iconified):
3578 Add pointer to docstring of frameset-filter-alist.
3579 (frameset-filter-params): Rename filter values to be more meaningful:
3580 :never instead of t, and reverse the meanings of :save and :restore.
3581 (frameset--process-minibuffer-frames): Clarify error message.
3582 (frameset-save): Avoid unnecessary and confusing call to framep.
3583 Use new BOA constructor for framesets.
3584 (frameset--reuse-list): Doc fix.
3585 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3586 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3587 (frameset-minibufferless-first-p): Doc fix.
3588 Rename from frameset-sort-frames-for-deletion.
3589 (frameset-restore): Doc fixes. Use new function names.
3590 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3591
d5671a82
JB
35922013-08-04 Juanma Barranquero <lekktu@gmail.com>
3593
3594 * desktop.el (desktop-restore-forces-onscreen)
3595 (desktop-restore-reuses-frames): Document :keyword constant values.
3596 (desktop-filter-parameters-alist): Remove, now identical to
3597 frameset-filter-alist.
3598 (desktop--filter-tty*): Remove, moved to frameset.el.
3599 (desktop-save-frameset, desktop-restore-frameset):
3600 Do not pass :filters argument.
3601
3602 * frameset.el (frameset-live-filter-alist)
3603 (frameset-persistent-filter-alist): New variables.
3604 (frameset-filter-alist): Use them. Add autoload cookie.
3605 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3606 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3607 `frameset--id' (it's supposed to be internal to frameset.el).
3608 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3609 (frameset--initial-params): New function.
3610 (frameset--get-frame): Use it. Doc fix.
3611 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3612 Accept :all, not 'all.
3613 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3614 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3615 with fbound symbols. Fix frame id matching, and remove matching ids if
3616 the frame being restored is deleted. Obey :delete.
3617
671d5c16
SM
36182013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * subr.el (macrop): New function.
3621 (text-clone--maintaining): New var.
3622 (text-clone--maintain): Rename from text-clone-maintain. Use it
3623 instead of inhibit-modification-hooks.
3624
3625 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3626 a proxy, so as handle autoloads and redefinitions of the target.
3627 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3628
3629 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3630 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3631 (pcase--mutually-exclusive-p): New function.
3632 (pcase--split-consp): Use it.
3633 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3634 mutually exclusive with the current predicate.
3635
3636 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3637 (edebug-macrop): Remove. Use `macrop' instead.
3638 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3639 (ad-macro-p):
3640 * eshell/esh-cmd.el (eshell-macrop):
3641 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3642
1d44e9dc
SM
36432013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3646 (advice-mapc): New function, using it.
3647 (advice-function-member-p): New function.
3648 (advice--normalize): Store the cdr in advice--saved-rewrite since
3649 that's the part that will be changed.
3650 (advice--symbol-function): New function.
3651 (advice-remove): Handle removal before the function is defined.
3652 Adjust to new advice--saved-rewrite.
3653 (advice-member-p): Use advice-function-member-p and
3654 advice--symbol-function.
3655
5414a283
JB
36562013-08-04 Juanma Barranquero <lekktu@gmail.com>
3657
51d30f2c
JB
3658 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3659 (frameset-filter-minibuffer): Doc fix.
3660 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3661 (frameset--set-id, frameset--process-minibuffer-frames)
3662 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3663 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3664
5414a283
JB
3665 * desktop.el (desktop-clear): Only delete frames when called
3666 interactively and desktop-restore-frames is non-nil. Doc fix.
3667 (desktop-read): Set desktop-saved-frameset to nil.
3668
ab419665
XF
36692013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3670
3671 * vc/vc.el (vc-ignore): Rewrite.
3672 (vc-default-ignore-completion-table):
3673 (vc--read-lines):
3674 (vc--add-line, vc--remove-regexp): New functions.
3675
3676 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3677 (vc-svn-ignore-completion-table): New function.
3678
3679 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3680 (vc-hg-ignore-completion-table):
3681 (vc-hg-find-ignore-file): New functions.
3682
3683 * vc/vc-git.el (vc-git-ignore): Rewrite.
3684 (vc-git-ignore-completion-table):
3685 (vc-git-find-ignore-file): New functions.
3686
3687 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3688
3689 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3690 (vc-bzr-ignore-completion-table):
3691 (vc-bzr-find-ignore-file): New functions.
3692
2613dea2
JB
36932013-08-03 Juanma Barranquero <lekktu@gmail.com>
3694
3695 * frameset.el (frameset-prop): New function and setter.
3696 (frameset-save): Do not modify frame list passed by the caller.
3697
9c959872
SM
36982013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3701
a104f656
SM
37022013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3703
70122acf
SM
3704 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3705 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3706
a104f656
SM
3707 * custom.el (custom-initialize-default, custom-initialize-set)
3708 (custom-initialize-reset, custom-initialize-changed): Affect the
3709 toplevel-default-value (bug#6275, bug#14586).
3710 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3711 for bug#6275.
3712
f078d570
JB
37132013-08-02 Juanma Barranquero <lekktu@gmail.com>
3714
185e3b5a
JB
3715 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3716 Add cl-def* expressions.
3717
f078d570
JB
3718 * frameset.el (frameset-filter-params): Fix order of arguments.
3719
9421876d
JB
37202013-08-02 Juanma Barranquero <lekktu@gmail.com>
3721
3722 Move code related to saving frames to frameset.el.
3723 * desktop.el: Require frameset.
3724 (desktop-restore-frames): Doc fix.
3725 (desktop-restore-reuses-frames): Rename from
3726 desktop-restoring-reuses-frames.
3727 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3728 (desktop-clear): Clear frames too.
3729 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3730 (desktop--filter-tty*, desktop-save, desktop-read):
3731 Use frameset functions.
3732 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3733 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3734 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3735 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3736 (desktop--process-minibuffer-frames, desktop-save-frames)
3737 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3738 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3739 (desktop--sort-states, desktop-restoring-frames-p)
3740 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3741 (desktop-restoring-frameset-p, desktop-restore-frameset)
3742 (desktop--check-dont-save, desktop-save-frameset): New functions.
3743 (desktop--app-id): New constant.
3744 (desktop-first-buffer, desktop-buffer-ok-count)
3745 (desktop-buffer-fail-count): Move before first use.
3746 * frameset.el: New file.
3747
76dc5996
SM
37482013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 * files.el: Use lexical-binding.
3751 (dir-locals-read-from-file): Remove unused `err' variable.
3752 (hack-dir-local-variables--warned-coding): New var.
3753 (hack-dir-local-variables): Use it to avoid repeated warnings.
3754 (make-backup-file-name--default-function): New function.
3755 (make-backup-file-name-function): Use it as default.
3756 (buffer-stale--default-function): New function.
3757 (buffer-stale-function): Use it as default.
3758 (revert-buffer-insert-file-contents--default-function): New function.
3759 (revert-buffer-insert-file-contents-function): Use it as default.
3760 (insert-directory): Avoid add-to-list.
3761
3762 * autorevert.el (auto-revert-handler): Simplify.
3763 Use buffer-stale--default-function.
3764
06d36e2b
TH
37652013-08-01 Tassilo Horn <tsdh@gnu.org>
3766
5f648ab4
TH
3767 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3768
06d36e2b
TH
3769 * whitespace.el (whitespace-ensure-local-variables): New function.
3770 (whitespace-cleanup-region): Call it.
3771 (whitespace-turn-on): Call it.
3772
a43dc424
MA
37732013-08-01 Michael Albinus <michael.albinus@gmx.de>
3774
3775 Complete file name handlers.
3776
3777 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3778 (tramp-handle-verify-visited-file-modtime)
3779 (tramp-handle-file-notify-rm-watch): New functions.
3780 (tramp-call-process): Do not bind `default-directory'.
3781
44e18199
JB
3782 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3783 Order alphabetically.
a43dc424
MA
3784 [access-file, add-name-to-file, dired-call-process]:
3785 [dired-compress-file, file-acl, file-notify-rm-watch]:
3786 [file-ownership-preserved-p, file-selinux-context]:
3787 [make-directory-internal, make-symbolic-link, set-file-acl]:
3788 [set-file-selinux-context, set-visited-file-modtime]:
3789 [verify-visited-file-modtime]: Add handler.
3790 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3791
3792 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3793 [file-notify-add-watch, file-notify-rm-watch]:
3794 [set-file-times, set-visited-file-modtime]:
3795 [verify-visited-file-modtime]: Add handler.
3796 (with-tramp-gvfs-error-message)
3797 (tramp-gvfs-handle-set-visited-file-modtime)
3798 (tramp-gvfs-fuse-file-name): Remove.
3799 (tramp-gvfs-handle-file-notify-add-watch)
3800 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3801 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3802
44e18199
JB
3803 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3804 Order alphabetically.
a43dc424
MA
3805 [file-notify-rm-watch ]: Use default Tramp handler.
3806 [executable-find]: Remove private handler.
3807 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3808 `default-directory'.
3809 (tramp-sh-handle-executable-find)
3810 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3811 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3812 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3813 Do not use `format' in `tramp-message'.
3814
3815 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3816 [file-notify-rm-watch, set-visited-file-modtime]:
3817 [verify-visited-file-modtime]: Add handler.
3818 (tramp-smb-call-winexe): Do not bind `default-directory'.
3819
7188b515
XF
38202013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3821
3822 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3823
2412ee1a
DG
38242013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3825
3826 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3827 use it.
3828 (log-view-diff-changeset): Same.
3829 (log-view-diff-common): Call backend command `previous-revision'
3830 to find out the previous revision, in both cases. Swap the
3831 variables `to' and `fr', so that `fr' usually refers to the
3832 earlier revision (Bug#14989).
3833
5002a754
KRC
38342013-07-31 Kan-Ru Chen <kanru@kanru.info>
3835
3836 * ibuf-ext.el (ibuffer-filter-by-filename):
3837 Make it work with dired buffers too.
3838
44e18199 38392013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3840
3841 * emacs-lisp/re-builder.el (reb-color-display-p):
3842 * files.el (save-buffers-kill-terminal):
3843 * net/browse-url.el (browse-url):
3844 * server.el (server-save-buffers-kill-terminal):
3845 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3846 Prefer nil to selected-frame for the first arg of frame-parameter.
3847
aeca3fbb
XF
38482013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3849
3850 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3851
158bc55c
SB
38522013-07-30 Stephen Berman <stephen.berman@gmx.net>
3853
3854 * minibuffer.el (completion--twq-all): Try and preserve each
3855 completion's case choice (bug#14907).
3856
d50fceab
LMI
38572013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3858
ac38e731
LMI
3859 * net/network-stream.el (open-network-stream): Mention the new
3860 :nogreeting parameter.
3861 (network-stream-open-starttls): Use the :nogreeting parameter
3862 (bug#14938).
3863
1211de50
LMI
3864 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3865
997798bf
LMI
3866 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3867 more natural than popping.
3868
d50fceab 3869 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3870 (shr-urlify): Highlight under mouse.
d50fceab 3871
5c09de04
XF
38722013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3873
207d1d04
XF
3874 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3875
3876 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3877
5c09de04
XF
3878 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3879 buffer for output.
3880
3cd51eaa
XF
3881 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3882 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3883
44e18199 3884 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3885 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3886
3887 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3888
3889 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3890 buffer for output.
3891
35a89bdd
EZ
38922013-07-29 Eli Zaretskii <eliz@gnu.org>
3893
3894 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3895 initial frame is minibuffer-less. (Bug#14841)
3896
78822e94
MA
38972013-07-29 Michael Albinus <michael.albinus@gmx.de>
3898
3899 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3900 option.
3901
3902 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3903 (tramp-maybe-open-connection): Use it.
3904
9503c190
JB
39052013-07-28 Juanma Barranquero <lekktu@gmail.com>
3906
3907 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3908 minimal set of parameters passed when creating a frame, because
3909 the minibuffer status of a frame cannot be changed later.
3910
d5a845b4
SB
39112013-07-28 Stephen Berman <stephen.berman@gmx.net>
3912
3913 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3914 replace-regexp-in-string and inadvertent omissions in previous change.
3915 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3916 name of filtered items buffer.
d5a845b4 3917
ddeffb17
JB
39182013-07-28 Juanma Barranquero <lekktu@gmail.com>
3919
3920 * desktop.el: Optionally force offscreen frames back onscreen.
3921 (desktop-restoring-reuses-frames): New option.
3922 (desktop--compute-pos, desktop--move-onscreen): New functions.
3923 (desktop--make-frame): Use desktop--move-onscreen.
3924
f5950f7a
AM
39252013-07-27 Alan Mackenzie <acm@muc.de>
3926
3927 Fontify a Java generic method as a function.
3928 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3929 value to t.
3930
ae43b66a
SB
39312013-07-27 Stephen Berman <stephen.berman@gmx.net>
3932
3933 * calendar/todo-mode.el: Add command to rename todo files.
3934 (todo-rename-file): New command.
3935 (todo-key-bindings-t): Add key binding for it. Change the
3936 bindings of todo-filter-regexp-items(-multifile) to use `x'
3937 instead of `r', since the latter is better suited to the new
3938 renaming command.
3939
5ab78d3d
AM
39402013-07-27 Alan Mackenzie <acm@muc.de>
3941
3942 Make Java try-with-resources statement parse properly.
3943 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3944 (c-block-stmt-1-2-key): New language constants/variables.
3945 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3946 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3947 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3948 with c-block-stmt-1-2-key.
5ab78d3d 3949
d85c4d50
JB
39502013-07-27 Juanma Barranquero <lekktu@gmail.com>
3951
3952 * desktop.el (desktop--make-frame): Apply most frame parameters after
3953 creating the frame to force (partially or totally) offscreen frames to
3954 be restored as such.
3955
e4c467f9
XF
39562013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3957
3958 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3959 (Bug#14948)
e4c467f9 3960
7ced0d04
SM
39612013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3964 `base' arg of backtrace-frame.
3965
fec92060
EZ
39662013-07-26 Eli Zaretskii <eliz@gnu.org>
3967
3968 * simple.el (list-processes): Doc fix.
3969
d58d31fb
JB
39702013-07-26 Juanma Barranquero <lekktu@gmail.com>
3971
3972 * desktop.el (desktop--select-frame):
d85c4d50 3973 Try harder to reuse existing frames.
d58d31fb 3974
53ff3e77
SM
39752013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3978 (edebug-eval): Use backtrace-eval.
3979 (edebug--display, edebug--recursive-edit): Don't let-bind the
3980 edebug-outer-* vars that keep track of variables we locally let-bind.
3981 (edebug-outside-excursion): Don't restore outside values of locally
3982 let-bound vars.
3983 (edebug--display): Use user-error.
3984 (cl-lexical-debug, cl-debug-env): Remove.
3985
045f7a53
JB
39862013-07-26 Juanma Barranquero <lekktu@gmail.com>
3987
3988 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3989 are restored to be sure that they are visible before deleting any
3990 remaining ones.
3991
59070b32
MM
39922013-07-26 Matthias Meulien <orontee@gmail.com>
3993
742a3501
XF
3994 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3995 vc-print-root-log. (Bug#14948)
59070b32 3996
b1fb3596
RS
39972013-07-26 Richard Stallman <rms@gnu.org>
3998
3999 Add aliases for encrypting mail.
4000 * epa.el (epa-mail-aliases): New option.
4001 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4002 Bind inhibit-read-only so read-only text doesn't ruin everything.
4003 (epa-mail-default-recipients): New subroutine broken out.
4004 Handle epa-mail-aliases.
4005
56ea7291
SM
40062013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 Add support for lexical variables to the debugger's `e' command.
4009 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4010 vars, except for debugger-outer-match-data.
4011 (debugger-frame-number): Move check for "on a function call" from
4012 callers into it. Add `skip-base' argument.
4013 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4014 (debugger-env-macro): Only reset the state stored in non-variables,
4015 i.e. current-buffer and match-data.
4016 (debugger-eval-expression): Rewrite using backtrace-eval.
4017 * subr.el (internal--called-interactively-p--get-frame): Remove.
4018 (called-interactively-p):
4019 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4020 `base' arg of backtrace-frame instead.
4021
15ac32d5
GM
40222013-07-26 Glenn Morris <rgm@gnu.org>
4023
8358a09d
GM
4024 * align.el (align-regexp): Doc fix. (Bug#14857)
4025 (align-region): Explicit error if subexpression missing/does not match.
4026
15ac32d5
GM
4027 * simple.el (global-visual-line-mode):
4028 Do not duplicate the mode lighter. (Bug#14858)
4029
f47ad11b
MR
40302013-07-25 Martin Rudalics <rudalics@gmx.at>
4031
4032 * window.el (display-buffer): In display-buffer bind
4033 split-window-keep-point to t, bug#14829.
4034
02530987
JB
40352013-07-25 Juanma Barranquero <lekktu@gmail.com>
4036
4037 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4038 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4039 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4040 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4041 Change accordingly.
f63ebeb5
JB
4042 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4043 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 4044
6ccb9cab 40452013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 4046
6ccb9cab 4047 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 4048
cb3a56d2
JB
40492013-07-25 Juanma Barranquero <lekktu@gmail.com>
4050
4051 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4052 parameter to modify-frame-parameters if the value has not changed;
4053 this is a workaround for bug#14949.
4054 (desktop--make-frame): On cl-delete-if call, check parameter name,
4055 not full parameter.
4056
7aa7fff0
XF
40572013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4058
4059 * vc/vc.el (vc-ignore): New function.
4060
4061 * vc/vc-svn.el (vc-svn-ignore): New function.
4062
4063 * vc/vc-hg.el (vc-hg-ignore): New function.
4064
4065 * vc/vc-git.el (vc-git-ignore): New function.
4066
4067 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4068 (vc-dir-ignore): New function.
4069
4070 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 4071 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
4072
4073 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4074
4075 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4076
889acc5c
JB
40772013-07-24 Juanma Barranquero <lekktu@gmail.com>
4078
4079 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4080 (desktop-restore-frames): Warn when deleting an existing frame failed.
4081
86c40970
GM
40822013-07-24 Glenn Morris <rgm@gnu.org>
4083
4084 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4085
d5d3c58a
MA
40862013-07-24 Michael Albinus <michael.albinus@gmx.de>
4087
4088 * filenotify.el (file-notify-supported-p):
4089 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4090 Remove functions.
4091
4092 * autorevert.el (auto-revert-use-notify):
4093 (auto-revert-notify-add-watch):
4094 * net/tramp.el (tramp-file-name-for-operation):
4095 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4096 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4097 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4098 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4099 Remove `file-notify-supported-p' entry.
4100
d100084b
GM
41012013-07-24 Glenn Morris <rgm@gnu.org>
4102
4103 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 4104 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 4105
ac93e56b
SM
41062013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4107
249eea30
SM
4108 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4109 checked with memq (bug#14935).
4110
ac93e56b
SM
4111 * files.el (revert-buffer-function): Use a non-nil default.
4112 (revert-buffer-preserve-modes): Declare var to
4113 provide access to the `preserve-modes' argument.
4114 (revert-buffer): Let-bind it.
4115 (revert-buffer--default): New function, extracted from revert-buffer.
4116
2cdeb903
SM
41172013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4118
4119 * lpr.el: Signal print errors more prominently.
4120 (print-region-function): Don't default to nil.
4121 (lpr-print-region): New function, extracted from print-region-1.
4122 Check lpr's return value and signal an error in case of problem.
4123 (print-region-1): Use it.
4124 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4125 versions instead.
4126 (ps-printer-name): Default to nil.
4127 (ps-printer-name-option): Default to lpr-printer-switch.
4128 (ps-print-region-function): Don't default to nil.
4129 (ps-postscript-code-directory): Simplify default.
4130 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4131 (ps-string-list, ps-eval-switch, ps-flatten-list)
4132 (ps-flatten-list-1): Remove.
4133 (ps-multibyte-buffer): Avoid setq.
4134 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4135 (print-region-function, ps-print-region-function): Don't set them here.
4136
73600831
XF
41372013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4138
0e55c076
XF
4139 * ido.el (ido-fractionp):
4140 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4141 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4142 (ido-max-directory-size, ido-max-dir-file-cache)
4143 (ido-decorations): Doc fix.
4144
73600831
XF
4145 * ansi-color.el: Fix old URL.
4146
3d012865
MM
41472013-07-23 Michael R. Mauger <michael@mauger.com>
4148
e903c210 4149 * progmodes/sql.el: Version 3.3
3d012865
MM
4150 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4151 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4152 (sql-interactive-remove-continuation-prompt): Rewrite, use
4153 functions above. Fix continuation prompt and complete output line
4154 handling.
4155 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4156 redirected output buffer.
4157 (sql-mode): Restore deleted code (Bug#13591).
4158
da77a2e2
JB
41592013-07-23 Juanma Barranquero <lekktu@gmail.com>
4160
4161 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4162
80ff0c71
MA
41632013-07-23 Michael Albinus <michael.albinus@gmx.de>
4164
4165 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4166
4167 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4168 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4169 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4170
b61d71e4
JB
41712013-07-23 Juanma Barranquero <lekktu@gmail.com>
4172
4173 * desktop.el (desktop-clear): Simplify; remove useless checks
4174 against invalid buffer names.
4175 (desktop-list*): Use cl-list*.
4176 (desktop-buffer-info, desktop-create-buffer): Simplify.
4177
c3512092
LL
41782013-07-23 Leo Liu <sdl.web@gmail.com>
4179
4180 * bookmark.el (bookmark-make-record): Restore NAME as a default
4181 value. (Bug#14933)
4182
0ac26976
SM
41832013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4184
7d22ce18
SM
4185 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4186 extracted from autoload--insert-text.
4187 (autoload--insert-text): Remove.
4188 (autoload--print-cookie-text): New function, extracted from
4189 autoload--insert-cookie-text.
4190 (autoload--insert-cookie-text): Remove.
4191 (autoload-generate-file-autoloads): Adjust calls accordingly.
4192
9b2607e8
SM
4193 * winner.el (winner-hook-installed-p): Remove.
4194 (winner-mode): Simplify accordingly.
4195
c43a8618
SM
4196 * subr.el (add-to-list): Fix compiler-macro when `append' is
4197 not constant. Don't use `cl-member' for the base case.
4198
0ac26976
SM
4199 * progmodes/subword.el: Fix boundary case (bug#13758).
4200 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4201 own group.
4202 (subword-backward-regexp): Make it a constant.
4203 (subword-forward-internal): Don't treat a trailing capital as the
4204 beginning of a word.
4205
6874724a
AR
42062013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4207
4208 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4209 global value of tabulated-list-revert-hook (bug#14930).
4210
70f1b5e8
JB
42112013-07-22 Juanma Barranquero <lekktu@gmail.com>
4212
a1c80d9d
JB
4213 * desktop.el: Require 'cl-lib.
4214 (desktop-before-saving-frames-functions): New hook.
4215 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4216 for frames being saved. Rename from desktop--save-minibuffer-frames.
4217 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
4218 Do not save frames with non-nil `desktop-dont-save' parameter.
4219 Filter out deleted frames.
a1c80d9d
JB
4220 (desktop--find-frame): Use cl-find-if.
4221 (desktop--select-frame): Use cl-(first|second|third) to access values
4222 of desktop-mini.
4223 (desktop--make-frame): Use cl-delete-if.
4224 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4225 (desktop-restore-frames): Use cl-(first|second|third) to access values
4226 of desktop-mini. Look for visible frame at the end, not while
4227 restoring frames.
4228
70f1b5e8
JB
4229 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4230 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4231 Use string-match-p, looking-at-p (bug#14927).
4232
728dc3cc
JB
42332013-07-21 Juanma Barranquero <lekktu@gmail.com>
4234
56bc453c
JB
4235 * desktop.el (desktop-saved-frame-states):
4236 Rename from desktop--saved-states; all users changed.
4237 (desktop-save-frames): Rename from desktop--save-frames.
4238 Do not save state to desktop file.
4239 (desktop-save): Save desktop-saved-frame-states to desktop file
4240 and reset to nil.
4241 (desktop-restoring-frames-p): New function.
4242 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4243 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4244 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4245
728dc3cc
JB
4246 * desktop.el: Correctly restore iconified frames.
4247 (desktop--filter-iconified-position): New function.
4248 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4249
862f1c9c
GM
42502013-07-20 Glenn Morris <rgm@gnu.org>
4251
c4074c9f
GM
4252 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4253 Let `message' do the formatting.
4254 (def-gdb-preempt-display-buffer): Add explicit format.
4255
d828e5f9
GM
4256 * image-dired.el (image-dired-track-original-file):
4257 Use with-current-buffer.
4258 (image-dired-track-thumbnail): Use with-current-buffer.
4259 Avoid changing point of wrong window.
4260
862f1c9c
GM
4261 * image-dired.el (image-dired-track-original-file):
4262 Avoid changing point of wrong window. (Bug#14909)
4263
f0398ec1 42642013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
4265
4266 * progmodes/gdb-mi.el (gdb-done-or-error):
4267 Guard against "%" in gdb output. (Bug#14127)
4268
1451928f
AS
42692013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4270
763a086d
JB
4271 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4272 (Bug#14826)
f7a03897 4273
1451928f
AS
4274 * international/mule.el (coding-system-iso-2022-flags): Fix last
4275 change.
4276
99107004
KH
42772013-07-20 Kenichi Handa <handa@gnu.org>
4278
763a086d
JB
4279 * international/mule.el (coding-system-iso-2022-flags):
4280 Add `8-bit-level-4'. (Bug#8522)
99107004 4281
48494e06
LMI
42822013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4283
8ba8eec5
LMI
4284 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4285 (bug#14815).
4286
dfbc66e3
LMI
4287 * net/eww.el (eww-process-text-input): Allow inputting when the
4288 point is at the start of the line, as the properties aren't
4289 front-sticky.
4290
48494e06
LMI
4291 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4292 degenerate widths.
4293
77c92cb9
RS
42942013-07-19 Richard Stallman <rms@gnu.org>
4295
aec7da77
RS
4296 * epa.el (epa-popup-info-window): Doc fix.
4297
77c92cb9
RS
4298 * subr.el (split-string): New arg TRIM.
4299
945c5bb1
JB
43002013-07-18 Juanma Barranquero <lekktu@gmail.com>
4301
4302 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4303 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4304
e06ec67f
MA
43052013-07-18 Michael Albinus <michael.albinus@gmx.de>
4306
c7064f05 4307 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
4308 `file-notify-support'. Do not autoload. Adapt all uses.
4309 (file-notify-supported-p): New defun.
4310
c7064f05
JB
4311 * autorevert.el (auto-revert-use-notify):
4312 Use `file-notify-supported-p' instead of `file-notify-support'.
4313 Adapt docstring.
e06ec67f
MA
4314 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4315
4316 * net/tramp.el (tramp-file-name-for-operation):
4317 Add `file-notify-supported-p'.
4318
4319 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4320 New defun.
4321 (tramp-sh-file-name-handler-alist): Add it as handler for
4322 `file-notify-supported-p '.
4323
4324 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4325 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4326 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4327 Add `ignore' as handler for `file-notify-*' functions.
4328
5dc8a629
EZ
43292013-07-17 Eli Zaretskii <eliz@gnu.org>
4330
4331 * simple.el (line-move-partial, line-move): Don't start vscroll or
4332 scroll-up if the current line is not taller than the window.
4333 (Bug#14881)
4334
77aea2fb
DG
43352013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4336
4337 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4338 highlight question marks in the method names as strings.
ac72c08d
DG
4339 (ruby-block-beg-keywords): Inline.
4340 (ruby-font-lock-keyword-beg-re): Extract from
4341 `ruby-font-lock-keywords'.
77aea2fb 4342
18c26d81
JD
43432013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4344
4345 * frame.el (blink-cursor-blinks): New defcustom.
4346 (blink-cursor-blinks-done): New defvar.
4347 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4348 (blink-cursor-timer-function): Check if number of blinks has been
4349 done on X and NS.
4350 (blink-cursor-suspend, blink-cursor-check): New defuns.
4351
da48522e
GM
43522013-07-15 Glenn Morris <rgm@gnu.org>
4353
4354 * edmacro.el (edmacro-format-keys): Fix previous change.
4355
0463c1ef
PE
43562013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4357
4358 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4359 The hack didn't work outside English locales anyway.
4360
b43f6451
JB
43612013-07-15 Juanma Barranquero <lekktu@gmail.com>
4362
4363 * simple.el (define-alternatives): Rename from alternatives-define,
4364 per RMS' suggestion.
4365
b958c0ad
JB
43662013-07-14 Juanma Barranquero <lekktu@gmail.com>
4367
4368 * desktop.el (desktop-restore-frames): Change default to t.
4369 (desktop-restore-in-current-display): Now offer more options.
4370 (desktop-restoring-reuses-frames): New customization option.
4371 (desktop--saved-states): Doc fix.
4372 (desktop-filter-parameters-alist): New variable, renamed and expanded
4373 from desktop--excluded-frame-parameters.
4374 (desktop--target-display): New variable.
4375 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4376 (desktop--filter-tty*, desktop--filter-*-color)
4377 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4378 (desktop--filter-save-desktop-parm)
4379 (desktop-restore-in-original-display-p): New functions.
4380 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4381 (desktop--save-minibuffer-frames): New function, inspired by a similar
4382 function from Martin Rudalics.
4383 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4384 (desktop--restore-in-this-display-p): Remove.
4385 (desktop--find-frame): Rename from desktop--find-frame-in-display
4386 and add predicate argument.
4387 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4388 (desktop--reuse-list): New variable.
4389 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4390 New functions.
4391 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4392
f6dd8b36
MA
43932013-07-14 Michael Albinus <michael.albinus@gmx.de>
4394
4395 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4396
2ce3c565
DG
43972013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4398
763a086d
JB
4399 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4400 Highlight conversion methods on Kernel.
2ce3c565 4401
2cdb7698
AM
44022013-07-13 Alan Mackenzie <acm@muc.de>
4403
4404 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4405 and comment it out. This out-commenting enables certain C++
4406 declarations to be parsed correctly.
4407
1a67b811
EZ
44082013-07-13 Eli Zaretskii <eliz@gnu.org>
4409
1b796d6b
EZ
4410 * international/mule.el (define-coding-system): Doc fix.
4411
1a67b811
EZ
4412 * simple.el (default-font-height): Don't call font-info if the
4413 frame's default font didn't change since the frame was created.
4414 (Bug#14838)
4415
58fbe886
LL
44162013-07-13 Leo Liu <sdl.web@gmail.com>
4417
4418 * ido.el (ido-read-file-name): Guard against non-symbol value.
4419
1f0480d4
FEG
44202013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4421
4422 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4423 in nested defuns.
4424
97ead0e5
LL
44252013-07-13 Leo Liu <sdl.web@gmail.com>
4426
4427 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4428 ido-set-matches call. (Bug#6852)
4429
0880a952
DG
44302013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4431
4432 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4433 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4434 Ruby 2.0.
4435 (ruby-font-lock-keywords): Distinguish calls to functions with
4436 module-like names from module references. Highlight character
4437 literals.
4438
a7d8babb
SDJ
44392013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4440
4441 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4442 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4443
acfcc8c5
JB
44442013-07-12 Juanma Barranquero <lekktu@gmail.com>
4445
4446 * desktop.el (desktop--v2s): Remove unused local variable.
4447 (desktop-save-buffer): Make defvar-local; adjust docstring.
4448 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4449 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4450
051f2775
AS
44512013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4452
4453 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4454
f24e7572
GM
44552013-07-12 Eli Zaretskii <eliz@gnu.org>
4456
4457 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4458 (Bug#14842)
4459
539a920c
GM
44602013-07-12 Glenn Morris <rgm@gnu.org>
4461
4462 * doc-view.el: Require cl-lib at runtime too.
4463 (doc-view-remove-if): Remove.
4464 (doc-view-search-next-match, doc-view-search-previous-match):
4465 Use cl-remove-if.
4466
4467 * edmacro.el: Require cl-lib at runtime too.
4468 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4469 (edmacro-mismatch, edmacro-subseq): Remove.
4470
4471 * shadowfile.el: Require cl-lib.
4472 (shadow-remove-if): Remove.
4473 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4474 Use cl-remove-if.
4475
4476 * wid-edit.el: Require cl-lib.
4477 (widget-choose): Use cl-remove-if.
4478 (widget-remove-if): Remove.
4479
4480 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4481 (ebrowse-delete-if-not): Remove.
4482 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4483 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4484 Use cl-delete-if-not.
4485
1048af7c
JB
44862013-07-12 Juanma Barranquero <lekktu@gmail.com>
4487
4488 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4489 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4490
6c0674ee
LL
44912013-07-12 Leo Liu <sdl.web@gmail.com>
4492
4493 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4494
a19b3c2d
GM
44952013-07-11 Glenn Morris <rgm@gnu.org>
4496
4582a01c
GM
4497 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4498 (edebug-gensym-index, edebug-gensym):
4499 Remove reimplementation of cl-gensym.
4500 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4501
4502 * thumbs.el: Require cl-lib at run-time too.
4503 (thumbs-gensym-counter, thumbs-gensym):
4504 Remove reimplementation of cl-gensym.
4505 (thumbs-temp-file): Use cl-gensym.
4506
a19b3c2d
GM
4507 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4508 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4509 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4510 (ert--union, ert--gensym-counter, ert--gensym-counter)
4511 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4512 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4513 (ert-make-test-unbound, ert--expand-should-1)
4514 (ert--expand-should, ert--should-error-handle-error)
4515 (should-error, ert--explain-equal-rec)
4516 (ert--plist-difference-explanation, ert-select-tests)
4517 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4518 Use cl-lib functions rather than reimplementations.
4519
88f6a933
MA
45202013-07-11 Michael Albinus <michael.albinus@gmx.de>
4521
4522 * net/tramp.el (tramp-methods): Extend docstring.
4523 (tramp-connection-timeout): New defcustom.
4524 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4525 (with-tramp-progress-reporter): Simplify.
4526 (tramp-process-actions): Improve messages.
4527
4528 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4529 * net/tramp-sh.el (tramp-maybe-open-connection):
4530 Use `tramp-connection-timeout'.
4531 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4532 (Bug#14808)
4533
a43d577e
LL
45342013-07-11 Leo Liu <sdl.web@gmail.com>
4535
4536 * ido.el (ido-read-file-name): Conform to the requirements of
4537 read-file-name. (Bug#11861)
4538 (ido-read-directory-name): Conform to the requirements of
4539 read-directory-name.
4540
d77974bf
JB
45412013-07-11 Juanma Barranquero <lekktu@gmail.com>
4542
4543 * subr.el (delay-warning): New function.
4544
35cb8a3e
EZ
45452013-07-10 Eli Zaretskii <eliz@gnu.org>
4546
4547 * simple.el (default-line-height): New function.
4548 (line-move-partial, line-move): Use it instead of computing the
4549 line height inline.
4550 (line-move-partial): Always compute ROWH. If the last line is
4551 partially-visible, but its text is completely visible, allow
4552 cursor to enter such a partially-visible line.
4553
525c5c77
MA
45542013-07-10 Michael Albinus <michael.albinus@gmx.de>
4555
4556 Improve error messages. (Bug#14808)
4557
4558 * net/tramp.el (tramp-current-connection): New defvar, moved from
4559 tramp-sh.el.
0ac26976 4560 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4561 needed anymore.
0ac26976
SM
4562 (tramp-error-with-buffer): Show message in minibuffer.
4563 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4564 (with-tramp-progress-reporter): Improve messages.
4565 (tramp-process-actions): Use progress reporter. Delete process in
4566 case of error. Improve messages.
4567
763a086d
JB
4568 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4569 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4570 (tramp-current-connection): Remove.
525c5c77
MA
4571 (tramp-maybe-open-connection): The car of
4572 `tramp-current-connection' are the first 3 slots of the vector.
4573
c7a4d368
TZ
45742013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4575
4576 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4577 inside continued strings.
4578
954b166e
PE
45792013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4580
4581 Timestamp fixes for undo (Bug#14824).
4582 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4583
56973319
LL
45842013-07-10 Leo Liu <sdl.web@gmail.com>
4585
4586 * files.el (require-final-newline): Allow safe local value.
4587 (Bug#14834)
4588
5550a72c
LL
45892013-07-09 Leo Liu <sdl.web@gmail.com>
4590
4591 * ido.el (ido-read-directory-name): Handle fallback.
4592 (ido-read-file-name): Update DIR to ido-current-directory.
4593 (Bug#1516)
c28b9050 4594 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4595
70c46b28
DG
45962013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4597
4598 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4599 "autoload". Remove "warn lower camel case" section, previously
4600 commented out. Highlight negation char. Do not highlight the
4601 target in singleton method definitions.
4602
0b64b838
SM
46032013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4604
7fd72e2c
SM
4605 * faces.el (tty-setup-hook): Declare the hook.
4606
0b64b838
SM
4607 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4608 and detect when a guard/pred depends on local vars (bug#14773).
4609 (pcase--u1): Adjust caller.
4610
ab49d60b
EZ
46112013-07-08 Eli Zaretskii <eliz@gnu.org>
4612
4613 * simple.el (line-move-partial, line-move): Account for
4614 line-spacing.
701d79aa
EZ
4615 (line-move-partial): Avoid setting vscroll when the last
4616 partially-visible line in window is of default height.
ab49d60b 4617
2d756ae0
LMI
46182013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4619
4620 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4621 been used a while.
4622
ed095bd7
JB
46232013-07-07 Juanma Barranquero <lekktu@gmail.com>
4624
4625 * subr.el (read-quoted-char): Remove unused local variable `char'.
4626
f1e6674b
MK
46272013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4628
584ee3fc
GM
4629 * ediff.el (ediff-version): Version update.
4630 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4631 (ediff-merge-with-ancestor-command, ediff-directories-command)
4632 (ediff-directories3-command, ediff-merge-directories-command)
4633 (ediff-merge-directories-with-ancestor-command): New functions.
4634 All are command-line interfaces to ediff: to facilitate calling
4635 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4636
4637 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4638 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4639
584ee3fc
GM
4640 * viper.el (viper-version): Version update.
4641 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4642
584ee3fc
GM
46432013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4644
4645 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4646 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4647 (viper-intercept-ESC-key): Simplify.
4648 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4649 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4650 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4651 (viper-setup-ESC-to-escape): New functions.
4652 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4653 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4654
9aff9b38
EZ
46552013-07-07 Eli Zaretskii <eliz@gnu.org>
4656
5165d44a
JB
4657 * simple.el (default-font-height, window-screen-lines):
4658 New functions.
9aff9b38
EZ
4659 (line-move, line-move-partial): Use them instead of
4660 frame-char-height and window-text-height. This makes scrolling
4661 text smoother when the buffer's default face uses a font that is
4662 different from the frame's default font.
4663
1afb1d07
JD
46642013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4665
4666 * files.el (write-file): Do not display confirm dialog for NS,
4667 it does its own dialog, which can't be cancelled (Bug#14578).
4668
23de972a
EZ
46692013-07-06 Eli Zaretskii <eliz@gnu.org>
4670
4671 * simple.el (line-move-partial): Adjust the row returned by
4672 posn-at-point for the current window-vscroll. (Bug#14567)
4673
54a42486
MA
46742013-07-06 Michael Albinus <michael.albinus@gmx.de>
4675
4676 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4677 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4678 spaces.
4679
34ada5f4
MR
46802013-07-06 Martin Rudalics <rudalics@gmx.at>
4681
4682 * window.el (window-state-put-stale-windows): New variable.
4683 (window--state-put-2): Save list of windows without matching buffer.
4684 (window-state-put): Remove "bufferless" windows if possible.
4685
11e03d89
JB
46862013-07-06 Juanma Barranquero <lekktu@gmail.com>
4687
4688 * simple.el (alternatives-define): Remove leftover :group keyword.
4689 Tweak docstring.
4690
3504a4be
LL
46912013-07-06 Leo Liu <sdl.web@gmail.com>
4692
4693 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4694 (ido-enable-virtual-buffers): New variable.
4695 (ido-buffer-internal, ido-toggle-virtual-buffers)
4696 (ido-make-buffer-list): Use it.
4697 (ido-exhibit): Support turning on and off virtual buffers
4698 automatically.
4699
61e56e2c
JB
47002013-07-06 Juanma Barranquero <lekktu@gmail.com>
4701
4702 * simple.el (alternatives-define): New macro.
4703
321e1a9c
SM
47042013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * subr.el (read-quoted-char): Use read-key.
4707 (sit-for): Let read-event decode tty input (bug#14782).
4708
d610f6dd
SB
47092013-07-05 Stephen Berman <stephen.berman@gmx.net>
4710
4711 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4712 mode command and externally. Fix various related bugs.
4713 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4714 (todo-delete-file): New command.
4715 (todo-check-file): New function.
4716 (todo-show): Handle external deletion of the file we're trying to
4717 show (bug#14688). Replace called-interactively-p by an optional
4718 prefix argument to avoid problematic interaction with catch form
4719 when byte compiled (bug#14702).
4720 (todo-quit): Handle external deletion of the archive's todo file.
4721 Make sure the buffer that was visiting the archive file is still
4722 live before trying to bury it.
4723 (todo-category-completions): Handle external deletion of any
4724 category completion files.
4725 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4726 of todo files, in case of external deletion.
4727 (todo-add-file): Replace unnecessary setq by let-binding.
4728 (todo-find-archive): Check whether there are any archives.
4729 Replace unnecessary setq by let-binding.
4730 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4731 archive buffer whether or not the archive already exists.
4732 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4733 check if the archive is new; if it is, update list of archives.
4734 (todo-default-todo-file): Allow nil to be a valid value for when
4735 there are no todo files.
4736 (todo-reevaluate-default-file-defcustom): Use corrected definition
4737 of todo-default-todo-file.
4738 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4739 (todo-delete-category, todo-show-categories-table)
4740 (todo-category-number): Clarify comment.
4741 (todo-filter-items): Clarify documentation string.
4742 (todo-show-current-file, todo-display-as-todo-file)
4743 (todo-reset-and-enable-done-separator): Tweak documentation string.
4744 (todo-done-separator): Make separator length window-width, since
4745 bug#2749 is now fixed.
4746
ddbdfd6f
MA
47472013-07-05 Michael Albinus <michael.albinus@gmx.de>
4748
321e1a9c
SM
4749 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4750 Support both "gvfs-monitor-dir" and "inotifywait".
4751 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4752 `tramp-sh-file-notify-process-filter'.
4753 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4754 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4755
96eb829a
LL
47562013-07-05 Leo Liu <sdl.web@gmail.com>
4757
4758 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4759
cf13177e
YM
47602013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4761
4762 * frame.el (display-pixel-height, display-pixel-width)
4763 (display-mm-height, display-mm-width): Mention behavior on
4764 multi-monitor setups in docstrings.
4765 (w32-display-monitor-attributes-list): Declare function.
4766 (display-monitor-attributes-list): Use it.
4767
864c58ca
MA
47682013-07-04 Michael Albinus <michael.albinus@gmx.de>
4769
4770 * filenotify.el: New package.
4771
4772 * autorevert.el (top): Require filenotify.el.
4773 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4774 instead.
4775 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4776 (auto-revert-notify-handler): Use `file-notify-*' functions.
4777
4778 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4779
321e1a9c
SM
4780 * net/tramp.el (tramp-file-name-for-operation):
4781 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4782
4783 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4784 for `file-notify-add-watch' and `file-notify-rm-watch'.
4785 (tramp-process-sentinel): Improve trace.
4786 (tramp-sh-handle-file-notify-add-watch)
4787 (tramp-sh-file-notify-process-filter)
4788 (tramp-sh-handle-file-notify-rm-watch)
4789 (tramp-get-remote-inotifywait): New defuns.
4790
96673afe
JL
47912013-07-03 Juri Linkov <juri@jurta.org>
4792
4793 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4794 call of `occur-read-primary-args' to interactive spec.
4795
4796 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4797 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4798
924494f4
MM
47992013-07-03 Matthias Meulien <orontee@gmail.com>
4800
4801 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4802 `Buffer-menu-multi-occur'. Add it to the menu.
4803 (Buffer-menu-mode): Document it in docstring.
4804 (Buffer-menu-multi-occur): New command. (Bug#14673)
4805
56f75efc
DG
48062013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4807
4808 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4809 keywords and built-ins.
4810
9b057d61
GM
48112013-07-03 Glenn Morris <rgm@gnu.org>
4812
208dee4d
GM
4813 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4814
9b057d61
GM
4815 Make info-xref checks case-sensitive by default
4816 * info.el (Info-find-node, Info-find-in-tag-table)
4817 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4818 Add option for exact case matching of nodes.
4819 * info-xref.el (info-xref): New custom group.
4820 (info-xref-case-fold): New option.
4821 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4822
e01aa29c
LL
48232013-07-03 Leo Liu <sdl.web@gmail.com>
4824
4825 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4826
3086ca2e
DG
48272013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4828
4829 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4830 middle of block statement initially, lower the depth. Remove
4831 FIXME comment, not longer valid. Remove middle of block statement
4832 detection, no need to do that anymore since we've been using
4833 `ruby-parse-region' here.
4834
a3b49114
JD
48352013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4836
4837 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4838
08e5c823 48392013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4840
4841 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4842
2addf922
JB
48432013-07-01 Juanma Barranquero <lekktu@gmail.com>
4844
4845 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4846 (desktop-restore-in-current-display): New customization option.
4847 (desktop--excluded-frame-parameters): Add `font'.
4848 (desktop--save-frames): Rename from desktop--save-windows.
4849 (desktop--restore-in-this-display-p): New function.
4850 (desktop--make-full-frame): Remove unwanted width/height from
4851 full(width|height) frames.
4852 (desktop--restore-frames): Rename from desktop--restore-windows.
4853 Obey desktop-restore-current-display. Do not delete old frames or
4854 select a new frame unless we were able to restore at least one frame.
4855
ef099a94
MN
48562013-06-30 Michal Nazarewicz <mina86@mina86.com>
4857
4858 * files.el (find-file-noselect): Simplify conditional expression.
4859
4860 * remember.el (remember-append-to-file):
4861 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4862
4863 Add `remember-notes' function to store random notes across Emacs
4864 restarts.
4865 * remember.el (remember-data-file): Add :set callback to affect
4866 notes buffer (if any).
4867 (remember-notes): New command.
4868 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4869 New defcustoms for the `remember-notes' function.
4870 (remember-notes-save-and-bury-buffer): New command.
4871 (remember-notes-mode-map): New variable.
4872 (remember-mode): New minor mode.
4873 (remember-notes--kill-buffer-query): New function.
4874 * startup.el (initial-buffer-choice): Add notes to custom type.
4875
0865d506
EZ
48762013-06-30 Eli Zaretskii <eliz@gnu.org>
4877
0ba54312
EZ
4878 * bindings.el (right-char, left-char): Don't call sit-for, this is
4879 no longer needed. Use arithmetic comparison only for numerical
4880 arguments.
4881
ef099a94
MN
4882 * international/mule-cmds.el (select-safe-coding-system):
4883 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4884
2fae38e5
LMI
48852013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4886
4887 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4888 progression on degenerate tables.
ef099a94 4889 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4890
a47cbd64
JB
48912013-06-30 Juanma Barranquero <lekktu@gmail.com>
4892
4893 Some fixes and improvements for desktop frame restoration.
4894 It is still experimental and disabled by default.
4895 * desktop.el (desktop--save-windows): Put the selected frame at
4896 the head of the list.
4897 (desktop--make-full-frame): New function.
4898 (desktop--restore-windows): Try to re-select the frame that was
4899 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4900 just show an error message and continue. Set up maximized frames
4901 so they have default non-maximized dimensions.
a47cbd64 4902
6dbafa30
DG
49032013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4904
ef099a94
MN
4905 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4906 Don't start heredoc inside a string or comment.
6dbafa30 4907
4c672a0f
EZ
49082013-06-29 Eli Zaretskii <eliz@gnu.org>
4909
4910 * bindings.el (visual-order-cursor-movement): New defcustom.
4911 (right-char, left-char): Provide visual-order cursor motion by
4912 calling move-point-visually. Update the doc strings.
4913
50960f36
KH
49142013-06-28 Kenichi Handa <handa@gnu.org>
4915
4916 * international/mule.el (define-coding-system): New coding system
4917 properties :inhibit-null-byte-detection,
4918 :inhibit-iso-escape-detection, and :prefer-utf-8.
4919 (set-buffer-file-coding-system): If :charset-list property of
4920 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4921 appropriate for setting.
4922
c1ea3abf
JB
4923 * international/mule-cmds.el (select-safe-coding-system):
4924 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4925 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4926
4927 * international/mule-conf.el (prefer-utf-8): New coding system.
4928 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4929 files.
4930
75dbaf9d
IK
49312013-06-28 Ivan Kanis <ivan@kanis.fr>
4932
eadb6068
IK
4933 * net/shr.el (shr-render-region): New function.
4934
75dbaf9d
IK
4935 * net/eww.el: Autoload `eww-browse-url'.
4936
9ea5cf9f
DG
49372013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4938
c1ea3abf
JB
4939 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4940 Adapt to `package-desc-version' being a list.
4941 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4942 archive element.
4943
39c0e36f
JB
49442013-06-27 Juanma Barranquero <lekktu@gmail.com>
4945
4946 New experimental feature to save&restore window and frame setup.
4947 * desktop.el (desktop-save-windows): New defcustom.
4948 (desktop--saved-states): New var.
4949 (desktop--excluded-frame-parameters): New defconst.
4950 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4951 (desktop--restore-windows, desktop--save-windows): New functions.
4952 (desktop-save): Call `desktop--save-windows'.
4953 (desktop-read): Call `desktop--restore-windows'.
4954
7f13406b
LMI
49552013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4956
ef099a94 4957 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4958
1e072639
SB
49592013-06-27 Stephen Berman <stephen.berman@gmx.net>
4960
4961 * info.el (Info-try-follow-nearest-node): Move search for footnote
4962 above search for node name to prevent missing a footnote (bug#14717).
4963
f3e2cbde
SB
49642013-06-27 Stephen Berman <stephen.berman@gmx.net>
4965
4966 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4967
99906aa0
LL
49682013-06-27 Leo Liu <sdl.web@gmail.com>
4969
4970 * net/eww.el (eww-read-bookmarks): Check file size.
4971
539f75f4
SM
49722013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4973
4974 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4975 advice--pending if newdef is nil or an autoload (bug#13820).
4976 (advice-mapc): New function.
4977
843571cb
LMI
49782013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4979
4980 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4981 probably.
23a75d7f 4982 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4983 (eww-add-bookmark): New command.
4984 (eww-bookmark-mode): New mode and commands.
a285ce99 4985 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4986 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4987
f2136e1e
GM
49882013-06-26 Glenn Morris <rgm@gnu.org>
4989
eab35f39
GM
4990 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4991 (hfy-size): Handle ttys. (Bug#14668)
4992
f2136e1e
GM
4993 * info-xref.el: Update for Texinfo 5 change in *note format.
4994 (info-xref-node-re, info-xref-note-re): New constants.
4995 (info-xref-check-buffer): Use info-xref-note-re.
4996
a49ff80c
SM
49972013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4998
a343d218
SM
4999 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5000
a49ff80c
SM
5001 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5002 nil terminate the loop (bug#14718).
5003
8308f184
LMI
50042013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5005
5006 * net/eww.el: Rework history traversal. When going forward/back,
5007 put these actions into the history, too, so that they can be
5008 replayed.
26bf2b82 5009 (eww-render): Move the history reset to the correct buffer.
8308f184 5010
ec64c273
JL
50112013-06-25 Juri Linkov <juri@jurta.org>
5012
5013 * files-x.el (modify-dir-local-variable): Change the header comment
5014 in the file with directory local variables. (Bug#14692)
5015
e080a9d7
JL
5016 * files-x.el (read-file-local-variable-value): Add `default'.
5017 (Bug#14710)
5018
bfbc93a1
IK
50192013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5020
5021 * net/eww.el (eww-make-unique-file-name): Create a unique file
5022 name before saving to entering `y' accidentally asynchronously.
5023
50242013-06-25 Ivan Kanis <ivan@kanis.fr>
5025
5026 * net/eww.el (eww-download): New command and keystroke.
5027
16f74f10
LMI
50282013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5029
a49ff80c 5030 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
5031
5032 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5033 be more consistent with Info and dired.
5034
5035 * net/eww.el (eww-mode-map): Ditto.
5036
12059709
SM
50372013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5040 packages from archives.
5041 (package-archive-contents): Change format; include obsolete packages.
5042 (package-desc): Use `dir' to mark builtin packages.
5043 (package--from-builtin): Set the `dir' field to `builtin'.
5044 (generated-autoload-file, version-control): Declare.
5045 (package-compute-transaction): Change first arg and return value to be
5046 lists of package-descs. Adjust to new package-archive-contents format.
5047 (package--add-to-archive-contents): Adjust to new
5048 package-archive-contents format.
5049 (package-download-transaction): Arg is now a list of package-descs.
5050 (package-install): If `pkg' is a package name, pass it as
5051 a requirement, so it is subject to the usual (e.g. disabled) checks.
5052 (describe-package): Accept package-desc as well.
5053 (describe-package-1): Describe a specific package-desc. Add links to
5054 other package-descs for the same package name.
5055 (package-menu-describe-package): Pass the actual package-desc.
5056 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5057 works correctly.
5058 (package-desc-status): New function.
5059 (package-menu--refresh): New function, extracted
5060 from package-menu--generate.
5061 (package-menu--generate): Use it.
5062 (package-delete): Update package-alist.
5063 (package-menu-execute): Don't call package-initialize.
5064
5065 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5066 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5067 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5068 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5069 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5070 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5071
8bbdea0f
MR
50722013-06-25 Martin Rudalics <rudalics@gmx.at>
5073
5074 * window.el (window--state-get-1): Workaround for bug#14527.
5075 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5076
e82b0991
LMI
50772013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5078
5079 * net/eww.el (eww-back-url): Implement the history by stashing all
5080 the data into a list.
d3f0f918 5081 (eww-forward-url): Allow going forward in the history, too.
e82b0991 5082
c763842b
SM
50832013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5086 for values and use read--expression for expressions (bug#14710).
5087 (read-file-local-variable): Avoid setq.
5088 (read-file-local-variable-mode): Use minor-mode-list.
5089
bceff189
RW
50902013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5091
864c58ca 5092 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
5093 for DOI URLs.
5094
45f431c6
RW
50952013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5096
864c58ca 5097 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
5098 Update imenu-support when dialect changes.
5099
f42d8237
LL
51002013-06-25 Leo Liu <sdl.web@gmail.com>
5101
5102 * ido.el (ido-read-internal): Allow forward slash on windows.
5103
be549ce6
LMI
51042013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5105
5106 * net/eww.el (eww): Start of strings is \\`, not ^.
5107
71d4c19d
IK
51082013-06-24 Ivan Kanis <ivan@kanis.fr>
5109
5196f88a
IK
5110 * net/shr.el (shr-browse-url): Fix interactive spec.
5111
71d4c19d
IK
5112 * net/eww.el (eww): Add a trailing slash to domain names.
5113
ae36ca55
JB
51142013-06-24 Juanma Barranquero <lekktu@gmail.com>
5115
5116 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5117
0ebd92a3
LMI
51182013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5119
bdaa086b
LMI
5120 * net/shr.el (shr-browse-url): Use an external browser if given a
5121 prefix.
5122
c763842b 5123 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 5124
b89fc156
IK
51252013-06-24 Ivan Kanis <ivan@kanis.fr>
5126
5127 * net/eww.el (eww): Work more correctly for file: URLs.
5128 (eww-detect-charset): Allow quoted charsets.
5129 (eww-yank-page-url): New command and keystroke.
5130
18eb4bca
DU
51312013-06-24 Daiki Ueno <ueno@gnu.org>
5132
5133 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5134 file name of gpg executable.
5135 (epg-context-program): New function.
5136 (epg-context-home-directory): New function.
5137 (epg-context-set-program): New function.
5138 (epg-context-set-home-directory): New function.
5139 (epg--start): Use `epg-context-program' instead of
5140 'epg-gpg-program'.
5141 (epg--list-keys-1): Likewise.
5142
6c6268c8
LL
51432013-06-24 Leo Liu <sdl.web@gmail.com>
5144
5145 * ido.el (ido-read-internal): Fix bug#14620.
5146
5e400cb3
JB
51472013-06-23 Juanma Barranquero <lekktu@gmail.com>
5148
5149 * faces.el (face-documentation): Simplify.
5150 (read-face-attribute, tty-find-type, x-resolve-font-name):
5151 Use `string-match-p'.
5152 (list-faces-display): Use `string-match-p'. Simplify.
5153 (face-spec-recalc): Check face to avoid face alias loops.
5154 (read-color): Use `string-match-p' and non-capturing parenthesis.
5155
f3f9606c
LMI
51562013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5157
5158 * net/shr.el (shr-rescale-image): Use the new
5159 :max-width/:max-height functionality.
5160
a3ca09b9
IK
51612013-06-23 Ivan Kanis <ivan@kanis.fr>
5162
5163 * net/eww.el (eww-search-prefix): New variable.
5164 (eww): Use it.
f865b474
IK
5165 (eww-external-browser): New variable.
5166 (eww-mode-map): New keystroke.
5167 (eww-browse-with-external-browser): New command.
a3ca09b9 5168
e854cfc7
IK
5169 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5170
18bb9e21
JB
51712013-06-23 Juanma Barranquero <lekktu@gmail.com>
5172
5173 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5174 Don't skip aligning the next header field when padding is 0;
5175 otherwise, field width is not respected unless the title is as
5176 wide as the field.
5177
5b165ade
SM
51782013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * emacs-lisp/package.el (package-el-version): Remove.
5181 (package-process-define-package): Fix inf-loop.
5182 (package-install): Allow symbols as arguments again.
5183
12adebe9
DG
51842013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5185
5186 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5187 add some more keyword-like methods.
5188 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5189
388573ee
JB
51902013-06-22 Juanma Barranquero <lekktu@gmail.com>
5191
5192 * bs.el (bs-buffer-show-mark): Make defvar-local.
5193 (bs-mode): Use setq-local.
5194
5195 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5196 (emacs-lock--try-unlocking): Make defvar-local.
5197
4582a01c 51982013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 5199
2663dd23
GM
5200 * play/cookie1.el (cookie-apropos): Minor simplification.
5201
3d94f3ad
GM
5202 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5203
f72e2fdb
DG
52042013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5205
5206 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5207 `regexp-opt', it breaks the build during dumping.
5208
73eab938
DG
52092013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5210
c763842b
SM
5211 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5212 Highlight keyword-like methods on Kernel and Module with
73eab938 5213 font-lock-builtin-face.
5cf8176d
DG
5214 (auto-mode-alist): Consolidate different entries into one regexp
5215 and add more *file-s.
73eab938 5216
d26255f6
SB
52172013-06-21 Stephen Berman <stephen.berman@gmx.net>
5218
5219 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5220
5221 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5222 (diary-entry): Use it in the action of this button type instead of
5223 diary-goto-entry.
5224
5225 * calendar/todo-mode.el: New version.
5226 (todo-add-category): Append new category to end of file and give
5227 it the highest number, instead of putting it at the beginning and
5228 giving it 0. Incorporate noninteractive functionality.
5229 (todo-forward-category): Adapt to 1-based category numbering.
5230 Allow skipping over archived categories.
5231 (todo-backward-category): Derive from todo-forward-category.
5232 (todo-backward-item, todo-forward-item): Make noninteractive and
5233 delegate interactive part to new commands. Make sensitive to done items.
5234 (todo-categories): Make value an alist of category names and
5235 vectors of item counts.
5236 (todo-category-beg): Make a defconst.
5237 (todo-category-number): Use 1 instead of 0 as initial value.
5238 (todo-category-select): Make sensitive to overlays, optional item
5239 highlighting and done items.
5240 (todo-delete-item): Make sensitive to overlays and marked and done items.
5241 (todo-edit-item): Make sensitive to overlays and editing of
5242 date/time header optional. Add format checks.
5243 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5244 no-op if point is not on an item. Advertise using todo-edit-quit.
5245 (todo-edit-mode): Make sensitive to new format, font-locking, and
5246 multiple todo files.
5247 (todo-insert-item, todo-insert-item-here): Derive from
5248 todo-basic-insert-item and extend functionality.
5249 (todo-item-end, todo-item-start): Make sensitive to done items.
5250 (todo-item-string): Don't return text properties. Restore point.
5251 (todo-jump-to-category): Make sensitive to multiple todo files and
5252 todo archives. Use extended category completion.
5253 (todo-lower-item, todo-raise-item): Rename to *-priority and
5254 derive from todo-set-item-priority.
5255 (todo-mode): Derive from special-mode. Make sensitive to new
5256 format, font-locking and multiple todo files. Make read-only.
5257 (todo-mode-map): Don't suppress digit keys, so they can supply
5258 prefix arguments. Add many new key bindings.
5259 (todo-prefix): Insert as an overlay instead of file text.
5260 Change semantics from diary date expression to purely visual mark.
5261 (todo-print): Rename to todo-print-buffer. Make buffer display
5262 features printable. Remove option to restrict number of items
5263 printed. Add option to print to file.
5264 (todo-print-function): Rename to todo-print-buffer-function.
5265 (todo-quit): Extend to handle exiting new todo modes.
5266 (todo-remove-item): Make sensitive to overlays.
5267 (todo-save): Extend to buffers of filtered items.
5268 (todo-show): Make sensitive to done items, multiple todo files and
5269 new todo modes. Offer to convert legacy todo file before creating
5270 first new todo file.
5271 (todo-show-priorities): Rename to todo-top-priorities.
5272 Change semantics of value 0.
5273 (todo-top-priorities): Rename to todo-filter-top-priorities,
5274 derive from todo-filter-items and extend functionality.
5275 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5276 and extend functionality to other types of filtered items.
5277 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5278 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5279 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5280 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5281 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5282 (todo-edit-mode-hook, todo-entry-prefix-function)
5283 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5284 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5285 (todo-initials, todo-insert-threshold, todo-item-string-start)
5286 (todo-line-string, todo-menu, todo-mode-hook)
5287 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5288 (todo-print-priorities, todo-remove-separator)
5289 (todo-save-top-priorities-too, todo-string-count-lines)
5290 (todo-string-multiline-p, todo-time-string-format)
5291 (todo-tmp-buffer-name): Remove.
5292 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5293 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5294 (todo-edit-category-diary-inclusion)
5295 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5296 (todo-edit-file, todo-edit-item-date-day)
5297 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5298 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5299 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5300 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5301 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5302 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5303 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5304 (todo-filter-top-priorities-multifile, todo-find-archive)
5305 (todo-find-filtered-items-file, todo-go-to-source-item)
5306 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5307 (todo-jump-to-archive-category, todo-lower-category)
5308 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5309 (todo-move-category, todo-move-item, todo-next-button)
5310 (todo-next-item, todo-padded-string, todo-powerset)
5311 (todo-previous-button, todo-previous-item)
5312 (todo-print-buffer-to-file, todo-raise-category)
5313 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5314 (todo-set-category-number, todo-set-item-priority)
5315 (todo-set-top-priorities-in-category)
5316 (todo-set-top-priorities-in-file, todo-show-categories-table)
5317 (todo-sort-categories-alphabetically-or-numerically)
5318 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5319 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5320 (todo-toggle-item-header, todo-toggle-item-highlighting)
5321 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5322 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5323 (todo-unarchive-items, todo-unmark-category): New commands.
5324 (todo-absolute-file-name, todo-add-to-buffer-list)
5325 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5326 (todo-basic-insert-item, todo-category-completions)
5327 (todo-category-number, todo-category-string-matcher-1)
5328 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5329 (todo-check-format, todo-clear-matches)
5330 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5331 (todo-current-category, todo-date-string-matcher)
5332 (todo-define-insertion-command, todo-diary-expired-matcher)
5333 (todo-diary-goto-entry, todo-diary-item-p)
5334 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5335 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5336 (todo-done-item-section-p, todo-done-separator)
5337 (todo-done-string-matcher, todo-files, todo-filter-items)
5338 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5339 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5340 (todo-insert-category-line, todo-insert-item-from-calendar)
5341 (todo-insert-sort-button, todo-insert-with-overlays)
5342 (todo-insertion-command-name, todo-insertion-key-bindings)
5343 (todo-label-to-key, todo-longest-category-name-length)
5344 (todo-make-categories-list, todo-mode-external-set)
5345 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5346 (todo-modes-set-3, todo-multiple-filter-files)
5347 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5348 (todo-read-category, todo-read-date, todo-read-dayname)
5349 (todo-read-file-name, todo-read-time)
5350 (todo-reevaluate-category-completions-files-defcustom)
5351 (todo-reevaluate-default-file-defcustom)
5352 (todo-reevaluate-filelist-defcustoms)
5353 (todo-reevaluate-filter-files-defcustom)
5354 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5355 (todo-reset-done-separator, todo-reset-done-separator-string)
5356 (todo-reset-done-string, todo-reset-global-current-todo-file)
5357 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5358 (todo-reset-prefix, todo-set-categories)
5359 (todo-set-date-from-calendar, todo-set-show-current-file)
5360 (todo-set-top-priorities, todo-short-file-name)
5361 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5362 (todo-total-item-counts, todo-update-buffer-list)
5363 (todo-update-categories-display, todo-update-categories-sexp)
5364 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5365 New functions.
5366 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5367 New major modes.
5368 (todo-categories, todo-display, todo-edit, todo-faces)
5369 (todo-filtered): New defgroups.
5370 (todo-archived-only, todo-button, todo-category-string, todo-date)
5371 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5372 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5373 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5374 (todo-add-item-if-new-category, todo-always-add-time-string)
5375 (todo-categories-align, todo-categories-archived-label)
5376 (todo-categories-category-label, todo-categories-diary-label)
5377 (todo-categories-done-label, todo-categories-number-separator)
5378 (todo-categories-todo-label, todo-categories-totals-label)
5379 (todo-category-completions-files, todo-completion-ignore-case)
5380 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5381 (todo-done-separator-string, todo-done-string)
5382 (todo-files-function, todo-filter-done-items, todo-filter-files)
5383 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5384 (todo-initial-category, todo-initial-file, todo-item-mark)
5385 (todo-legacy-date-time-regexp, todo-mode-line-function)
5386 (todo-nondiary-marker, todo-number-prefix)
5387 (todo-print-buffer-function, todo-show-current-file)
5388 (todo-show-done-only, todo-show-first, todo-show-with-done)
5389 (todo-skip-archived-categories, todo-top-priorities-overrides)
5390 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5391 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5392 New defcustoms.
5393 (todo-category-done, todo-date-pattern, todo-date-string-start)
5394 (todo-diary-items-buffer, todo-done-string-start)
5395 (todo-filtered-items-buffer, todo-item-start)
5396 (todo-month-abbrev-array, todo-month-name-array)
5397 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5398 (todo-top-priorities-buffer): New defconsts.
5399 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5400 (todo-categories-with-marks, todo-category-string-face)
5401 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5402 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5403 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5404 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5405 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5406 (todo-font-lock-keywords, todo-global-current-todo-file)
5407 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5408 (todo-insertion-commands-args)
5409 (todo-insertion-commands-args-genlist)
5410 (todo-insertion-commands-names, todo-insertion-map)
5411 (todo-key-bindings-t, todo-key-bindings-t+a)
5412 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5413 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5414 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5415 (todo-visited): New variables.
5416
cad5d1cb
GM
54172013-06-21 Glenn Morris <rgm@gnu.org>
5418
5419 * play/cookie1.el (cookie-apropos): Add optional display argument.
5420 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5421 (psychoanalyze-pinhead): Use cookie-doctor.
5422
9e277302
JB
54232013-06-21 Juanma Barranquero <lekktu@gmail.com>
5424
5425 * emacs-lisp/package.el (tar-get-file-descriptor)
5426 (tar--extract): Declare.
5427
c5b0993e
EW
54282013-06-21 Eduard Wiebe <usenet@pusto.de>
5429
5430 Extend flymake's warning predicate to be a function (bug#14217).
5431 * progmodes/flymake.el (flymake-warning-predicate): New.
5432 (flymake-parse-line): Use it.
5433 (flymake-warning-re): Make obsolete alias to
5434 `flymake-warning-predicate'.
5435
a7d2d465
SM
54362013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5437
5438 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5439 (package-obsolete-list): Remove.
5440 (package-activate): Remove min-version argument. Add `force' argument.
5441 Adjust to new package-alist format.
5442 (package-mark-obsolete): Remove.
5443 (package-unpack): Force reload of the package's autoloads.
5444 (package-installed-p): Check builtins if the installed package is not
5445 recent enough.
5446 (package-initialize): Don't reset package-obsolete-list.
5447 Don't specify which package version to activate.
5448 (package-process-define-package, describe-package-1)
5449 (package-menu--generate): Adjust to new package-alist format.
5450
cedf5c9d
JB
54512013-06-21 Juanma Barranquero <lekktu@gmail.com>
5452
5453 * allout-widgets.el (allout-widgets-mode-off)
5454 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5455 (allout-widgets-post-command-business)
5456 (allout-widgets-after-copy-or-kill-function)
5457 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5458 (allout-decorate-item-and-context)
5459 (allout-graphics-modification-handler): Fix typos in docstrings.
5460 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5461
5462 * cmuscheme.el (scheme-start-file): Doc fix.
5463 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5464 (scheme-input-filter): Use `string-match-p'.
5465
5466 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5467
5468 * dired-x.el: Use Dired consistently in docstrings.
5469
5470 * dired.el: Use Dired consistently in docstrings.
5471 (dired-readin, dired-mode): Use `setq-local'.
5472 (dired-switches-alist): Make defvar-local.
5473 (dired-buffers-for-dir): Use `zerop'.
5474 (dired-safe-switches-p, dired-switches-escape-p)
5475 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5476 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5477 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5478 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5479 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5480 (dired-toggle-marks, dired-mark-files-containing-regexp)
5481 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5482 (dired-flag-auto-save-files, dired-flag-backup-files):
5483 Use `looking-at-p'.
5484 (dired-mark-files-regexp, dired-build-subdir-alist):
5485 Use `string-match-p', `looking-at-p'.
5486
5487 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5488 (direct-print-region-helper): Use `string-match-p'.
5489
aed838b5
LL
54902013-06-21 Leo Liu <sdl.web@gmail.com>
5491
cedf5c9d
JB
5492 * comint.el (comint-redirect-results-list-from-process):
5493 Fix infinite loop.
aed838b5 5494
d80a808f
LMI
54952013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5496
5497 * net/eww.el (eww-update-header-line-format): Quote % characters.
5498
e7a526e3
GM
54992013-06-21 Glenn Morris <rgm@gnu.org>
5500
5501 * play/cookie1.el (cookie): New custom group.
5502 (cookie-file): New option.
5503 (cookie-check-file): New function.
5504 (cookie): Make it interactive. Make start and end messages optional.
5505 Interactively, display the result. Default to cookie-file.
5506 (cookie-insert): Default to cookie-file.
5507 (cookie-snarf): Make start and end messages optional.
5508 Default to cookie-file. Use with-temp-buffer.
5509 (cookie-read): Rename from read-cookie.
5510 Make start and end messages optional. Default to cookie-file.
5511 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5512 Do not autoload it.
e7a526e3
GM
5513 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5514 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5515
62efb35e
LL
55162013-06-21 Leo Liu <sdl.web@gmail.com>
5517
5518 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5519
21e3f963
GM
55202013-06-21 Glenn Morris <rgm@gnu.org>
5521
5522 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5523
fd846ab4
SM
55242013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5525 Daniel Hackney <dan@haxney.org>
5526
5527 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5528 Consolidate the single-file vs tarball code.
5529 (package-desc-suffix): New function.
5530 (package-desc-full-name): Don't bother inlining it.
5531 (package-load-descriptor): Return the new package-desc.
5532 (package-mark-obsolete): Remove unused arg `package'.
5533 (package-unpack): Make it work for single files as well.
5534 Make it update package-alist.
5535 (package--make-autoloads-and-stuff): Rename from
5536 package--make-autoloads-and-compile. Don't compile any more.
5537 (package--compile): New function.
5538 (package-generate-description-file): New function, extracted from
5539 package-unpack-single.
5540 (package-unpack-single): Remove.
5541 (package--with-work-buffer): Add indentation and debugging info.
5542 (package-download-single): Remove.
5543 (package-install-from-archive): Rename from package-download-tar, make
5544 it take a pkg-desc, and make it work for single files as well.
5545 (package-download-transaction): Simplify.
5546 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5547 external tar program.
5548 (package-install-from-buffer): Remove `pkg-desc' argument.
5549 Use package-tar-file-info for tar-mode buffers.
5550 (package-install-file): Simplify accordingly.
5551 (package-archive-base): Change to take a pkg-desc.
5552 * tar-mode.el (tar--check-descriptor): New function, extracted from
5553 tar-get-descriptor.
5554 (tar-get-descriptor): Use it.
5555 (tar-get-file-descriptor): New function.
5556 (tar--extract): New function, extracted from tar-extract.
5557 (tar--extract): Use it.
5558 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5559 case the summary uses non-ascii. Adjust to new calling convention of
5560 package-tar-file-info.
5561
b7deae5e
LL
55622013-06-21 Leo Liu <sdl.web@gmail.com>
5563
fd846ab4
SM
5564 * comint.el (comint-redirect-results-list-from-process):
5565 Fix random delay. (Bug#14681)
b7deae5e 5566
7a65a0b2
JB
55672013-06-21 Juanma Barranquero <lekktu@gmail.com>
5568
5569 * profiler.el (profiler-format-number): Use log, not log10.
5570
1493c2af
JB
55712013-06-20 Juanma Barranquero <lekktu@gmail.com>
5572
5573 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5574
aff6371e
SM
55752013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5578 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5579 yet available.
5580 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5581 (AUTOGENEL): ... here.
5582 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5583 (cl--defsubst-expand): Use it.
5584
89561f72
PE
55852013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5586
5587 * subr.el (log10): Move here from C code, and declare as obsolete.
5588 All uses of (log10 X) replaced with (log X 10).
5589
47199123
JB
55902013-06-20 Juanma Barranquero <lekktu@gmail.com>
5591
5592 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5593 Declare with `defvar-local'.
5594 (tabulated-list-use-header-line, tabulated-list-entries)
5595 (tabulated-list-padding, tabulated-list-printer)
5596 (tabulated-list-sort-key): Declare with `defvar-local'.
5597 (tabulated-list-init-header, tabulated-list-print-fake-header):
5598 Use `setq-local'.
5599
4a172eab
MA
56002013-06-20 Michael Albinus <michael.albinus@gmx.de>
5601
47199123
JB
5602 * arc-mode.el (archive-mode): Add `archive-write-file' to
5603 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5604
5fc0acc0
JB
56052013-06-20 Juanma Barranquero <lekktu@gmail.com>
5606
d5b27848
JB
5607 * cus-edit.el (custom-commands): Fix typos.
5608 (custom-display): Fix tooltip text.
5609 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5610 Fix typos in docstrings.
5611 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5612 (custom-unlispify-menu-entry, custom-magic-value-create)
5613 (custom-add-see-also, custom-group-value-create): Use ?\s.
5614 (custom-guess-type, customize-apropos, editable-field)
5615 (custom-face-value-create): Use `string-match-p'.
5616 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5617
5618 * custom.el (custom-load-symbol): Use `string-match-p'.
5619
a5c581d8
JB
5620 * ansi-color.el: Convert to lexical binding.
5621 (ansi-colors): Fix URL.
5622 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5623 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5624 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5625
970ad972
G
56262013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5627
5628 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5629
5630 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5631
56322013-06-19 Tom Tromey <tromey@redhat.com>
5633
5634 * net/eww.el (eww-top-url): Remove.
5635 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5636 (eww-render): Set new variables. Don't set eww-top-url.
5637 (eww-handle-link): Handle "prev", "home", and "contents".
5638 Downcase the rel text.
5639 (eww-top-url): Choose best top URL.
5640
56412013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5642
5643 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5644 relying in widget.el. Using widget.el leads to too many
5645 user interface inconsistencies.
5646 (eww-self-insert): Implement entering commands in text fields.
5647 (eww-process-text-input): New function to make text input field editing
5648 work.
5649 (eww-submit): Rewrite to use the new-style form methods.
5650 (eww-select-display): Display the correct selected item.
5651 (eww-change-select): Implement changing the select value.
5652 (eww-toggle-checkbox): Implement radio/checkboxes.
5653 (eww-update-field): Fix compilation error.
5654 (eww-tag-textarea): Implement <textarea>.
5655
5656 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5657 we don't shadow mode-specific bindings.
5658
5659 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5660 nothing to push.
5661
5662 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5663
4582a01c 56642013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5665
5666 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5667
15b263dc
MA
56682013-06-19 Michael Albinus <michael.albinus@gmx.de>
5669
5670 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5671 not needed.
5672
5673 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5674
8f5297f7
LMI
56752013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5676
5677 * net/browse-url.el (browse-url-browser-function):
5678 `eww-browse-url' has the right calling signature, `eww' does not.
5679
011c4552
GM
56802013-06-19 Glenn Morris <rgm@gnu.org>
5681
2285bd27
GM
5682 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5683 Only eval autoloaded macros.
5684 (byte-compile-autoload): Only give the macro warning for macros.
5685
1d653303
GM
5686 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5687 (ps-underlined-faces): Declare.
5688
bdd779ec
GM
5689 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5690 (speedbar-add-supported-extension): Declare.
5691
011c4552
GM
5692 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5693 Don't include a date stamp in the header of the generated file;
5694 it leads to needless differences between output files.
5695
e59dfb0e
MA
56962013-06-19 Michael Albinus <michael.albinus@gmx.de>
5697
c763842b
SM
5698 * net/secrets.el (secrets-struct-secret-content-type):
5699 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5700 Some servers do not offer introspection.
e59dfb0e 5701
102626e2
SM
57022013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * electric.el (electric-pair-mode): Improve interaction with
5705 electric-layout-mode.
5706 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5707 (electric-pair-syntax): Use text-mode-syntax-table in comments
5708 and strings.
5709 (electric-pair--insert): New function.
5710 (electric-pair-post-self-insert-function): Use it and
5711 electric--after-char-pos.
5712
ad528125
LL
57132013-06-19 Leo Liu <sdl.web@gmail.com>
5714
5715 * progmodes/octave.el (octave-help): Fix regexp.
5716
924d6997
G
57172013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5718
5719 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5720 (shr-table-horizontal-line): Allow nil as a value, and change the
5721 default.
5722 (shr-insert-table-ruler): Respect the nil value.
5723
57242013-06-18 Tom Tromey <tromey@barimba>
5725
5726 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5727 New defvars.
5728 (eww-open-file): New defun.
5729 (eww-render): Initialize new variables.
5730 (eww-display-html): Handle "link" and "a".
5731 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5732 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5733 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5734 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5735 New defuns.
924d6997 5736
d1bbba4f
DG
57372013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5738
5739 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5740 Distinguish ternary operator tokens from slash symbol and slash
5741 char literal.
5742
14dd22d2
JB
57432013-06-18 Juanma Barranquero <lekktu@gmail.com>
5744
5745 Convert symbol prettification into minor mode and global minor mode.
5746
5747 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5748 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5749 (prettify-symbols--keywords): Rename from
5750 `prog-prettify-symbols-alist' and make a local defvar.
5751 (prettify-symbols--compose-symbol): Rename from
5752 `prog--prettify-font-lock-compose-symbol'.
5753 (prettify-symbols--make-keywords): Rename from
5754 `prog-prettify-font-lock-symbols-keywords' and simplify.
5755 (prog-prettify-install): Remove.
5756 (prettify-symbols-mode): New minor mode, based on
5757 `prog-prettify-install'.
5758 (turn-on-prettify-symbols-mode): New function.
5759 (global-prettify-symbols-mode): New globalized minor mode.
5760
5761 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5762 * progmodes/cfengine.el (cfengine3-mode):
5763 * progmodes/perl-mode.el (perl-mode): Don't call
5764 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5765
292c880c
JL
57662013-06-18 Juri Linkov <juri@jurta.org>
5767
5768 * files-x.el (modify-file-local-variable-message): New function.
5769 (modify-file-local-variable)
5770 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5771 and call `modify-file-local-variable-message' when it's non-nil.
5772 (add-file-local-variable, delete-file-local-variable)
5773 (add-file-local-variable-prop-line)
5774 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5775 and use it. (Bug#9820)
5776
0950aa27
JL
57772013-06-18 Juri Linkov <juri@jurta.org>
5778
5779 * emulation/vi.el (vi-shell-op):
5780 * emulation/vip.el (vip-execute-com, ex-command):
5781 * emulation/viper-cmd.el (viper-exec-bang):
5782 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5783 the call of `shell-command-on-region'. (Bug#14637)
5784
5785 * simple.el (shell-command-on-region): Doc fix.
5786
8fbcca16
SM
57872013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5788
5789 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5790 (bug#14633).
5791
dd7426ea
GM
57922013-06-18 Glenn Morris <rgm@gnu.org>
5793
4ba54f7d
GM
5794 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5795
dd7426ea
GM
5796 * newcomment.el (comment-search-forward, comment-search-backward):
5797 Doc fix. (Bug#14376)
5798
58aa805b
JB
57992013-06-18 Juanma Barranquero <lekktu@gmail.com>
5800
5801 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5802 (buffer-face-mode-invoke): Doc fix.
5803
9a08a617
MM
58042013-06-18 Matthias Meulien <orontee@gmail.com>
5805
5806 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5807 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5808
f2f426ca
GM
58092013-06-18 Glenn Morris <rgm@gnu.org>
5810
9445f99b
GM
5811 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5812 Replace obsolete function generic-make-keywords with its expansion.
5813
e0df2d14
GM
5814 * progmodes/python.el (ffap-alist): Declare.
5815
f2f426ca
GM
5816 * textmodes/reftex.el (bibtex-mode-map): Declare.
5817
f7f9a720
SM
58182013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5819
5820 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5821 (package-unpack, package-unpack-single): Return the pkg-dir.
5822 (package-download-transaction): Use it to update package-alist.
5823
57ff04e0
LMI
58242013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5825
5826 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5827 possible choice.
5828
c048c022
JL
58292013-06-17 Juri Linkov <juri@jurta.org>
5830
5831 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5832
b5bcaee5
DG
58332013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5834
a020afb9
JB
5835 * emacs-lisp/package.el (package-load-descriptor):
5836 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5837 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5838
551e07e5
JB
58392013-06-17 Juanma Barranquero <lekktu@gmail.com>
5840
5841 * startup.el (command-line): Expand package name returned by
5842 `package--description-file' (bug#14639).
5843
d363bffb
DG
58442013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5845
5846 * emacs-lisp/package.el (package-load-descriptor): Do not call
5847 `emacs-lisp-mode', just use its syntax table.
5848
f612933b
JB
58492013-06-17 Juanma Barranquero <lekktu@gmail.com>
5850
5851 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5852 `font-lock-extra-managed-props' if any prettifying keyword is added.
5853 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5854 (prog-mode): Use `setq-local'.
5855
db3b7db5
SM
58562013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * international/characters.el (standard-case-table): Set syntax of ?»
5859 and ?« to punctuation.
5860
f3d674df
JB
58612013-06-16 Juanma Barranquero <lekktu@gmail.com>
5862
5863 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5864 Save relevant match data before calling `syntax-ppss' (bug#14595).
5865
31489a32
JL
58662013-06-15 Juri Linkov <juri@jurta.org>
5867
5868 * files-x.el (modify-file-local-variable-prop-line): Add local
5869 variables to the end of the existing comment on the first line.
5870 Use `file-auto-mode-skip' to skip interpreter magic line,
5871 and also skip XML declaration.
5872
66bd25ab
SM
58732013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5874
5875 * startup.el (package--builtin-versions): New var.
5876 (package-subdirectory-regexp): Remove.
5877 (package--description-file): Hard code its value instead.
5878
5879 * emacs-lisp/package.el: Don't activate packages older than builtin.
5880 (package-obsolete-list): Rename from package-obsolete-alist, and make
5881 it into a simple list of package-desc.
5882 (package-strip-version): Remove.
5883 (package-built-in-p): Use package--builtin-versions.
5884 (package-mark-obsolete): Simplify.
5885 (package-process-define-package): Mark it obsolete if older than the
5886 builtin version.
5887 (package-handle-response): Use line-end-position.
5888 (package-read-archive-contents, package--download-one-archive):
5889 Simplify.
5890 (package--add-to-archive-contents): Skip if older than the builtin or
5891 installed version.
5892 (package-menu-describe-package): Fix last change.
5893 (package-list-unversioned): New var.
5894 (package-menu--generate): Use it.
5895
5896 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5897 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5898 (autoload-builtin-package-versions): New variable.
5899 (autoload-generate-file-autoloads): Use them.
5900 Remove the list of autoloaded functions/macros from the
5901 (autoload...) comments.
5902
5903 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5904
9583ec36
EZ
59052013-06-15 Eli Zaretskii <eliz@gnu.org>
5906
5907 * simple.el (line-move-partial): Don't jump to the next screen
5908 line as soon as it becomes visible. Instead, continue enlarging
5909 the vscroll until the portion of a tall screen line that's left on
5910 display is about the height of the frame's default font.
5911 (Bug#14567)
5912
f0100d8a
GM
59132013-06-15 Glenn Morris <rgm@gnu.org>
5914
b86a85ca
GM
5915 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5916 compilation-error-regexp-alist void, or local while let-bound.
5917
f0100d8a
GM
5918 * progmodes/make-mode.el (makefile-mode-syntax-table):
5919 Treat "=" as punctuation. (Bug#14614)
5920
05e7ce90
JB
59212013-06-15 Juanma Barranquero <lekktu@gmail.com>
5922
5923 * help-fns.el (describe-variable):
5924 Add extra line for permanent-local variables.
5925
12e5e86e
SH
59262013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5927
5928 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5929 Add export, import, library. (Bug#9164)
5930 (library): Set indent function.
5931
230dcbaf
GM
59322013-06-14 Glenn Morris <rgm@gnu.org>
5933
5934 * term/xterm.el (xterm--query):
5935 Stop after first matching handler. (Bug#14615)
5936
e36b2d20 59372013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5938
5939 Add support for dired in saveplace.
5940 * dired.el (dired-initial-position-hook): New variable.
5941 (dired-initial-position): Call hook to place cursor position.
5942 * saveplace.el (save-place-to-alist): Add dired position.
5943 (save-place-dired-hook): New function.
5944
0b31660d
SM
59452013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5946
bf1e6ae8
SM
5947 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5948 through a symbol rather than letrec.
5949
1b8dff23
SM
5950 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5951 (package-desc): Add `dir' field.
5952 (package-desc-full-name): New function.
5953 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5954 (package-maybe-load-descriptor): Remove.
5955 (package-load-all-descriptors): Just call package-load-descriptor.
5956 (package--disabled-p): New function.
5957 (package-desc-vers, package-desc-doc): Remove aliases.
5958 (package--dir): Remove function.
5959 (package-activate): Check if a package is disabled.
5960 (package-process-define-package): New function, extracted from
5961 define-package.
5962 (define-package): Turn into a place holder.
5963 (package-unpack-single, package-tar-file-info):
5964 Use package--description-file.
5965 (package-compute-transaction): Use package--disabled-p.
5966 (package-download-transaction): Don't call
5967 package-maybe-load-descriptor since they're all loaded anyway.
5968 (package-install): Change argument to be a pkg-desc.
5969 (package-delete): Use a single pkg-desc argument.
5970 (describe-package-1): Use package-desc-dir instead of package--dir.
5971 Use package-desc property instead of package-symbol.
5972 (package-install-button-action): Adjust accordingly.
5973 (package--push): Rewrite.
5974 (package-menu--print-info): Adjust accordingly. Change the ID format
5975 to be a pkg-desc.
5976 (package-menu-describe-package, package-menu-get-status)
5977 (package-menu--find-upgrades, package-menu-mark-upgrades)
5978 (package-menu-execute, package-menu--name-predicate):
5979 Adjust accordingly.
5980 * startup.el (package--description-file): New function.
5981 (command-line): Use it.
5982 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5983 Use package-desc-version.
5984
0b31660d
SM
5985 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5986 (byte-compile-preprocess): Use it.
5987 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5988 can't quite recognize.
5989 (byte-compile-add-to-list): Remove.
5990 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5991 (cconv-closure-convert): Add assertion.
5992
5993 * emacs-lisp/map-ynp.el: Use lexical-binding.
5994 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5995 Factor out some repeated code.
5996
de0503df
SM
59972013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * subr.el (with-eval-after-load): New macro.
6000 (eval-after-load): Allow form to be a function.
6001 take advantage of lexical-binding.
6002 (do-after-load-evaluation): Use dolist and adjust to new format.
6003 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6004
bc5c8c5a
JL
60052013-06-13 Juri Linkov <juri@jurta.org>
6006
6007 * replace.el (perform-replace): Display "symbol " and other search
6008 modes from `isearch-message-prefix' in the *Help* buffer.
6009
6010 * isearch.el (isearch-query-replace): Add " symbol" and other
6011 possible search modes from `isearch-message-prefix' to the prompt.
6012 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6013 when reading a regexp to collect.
6014
a22289f7
JL
60152013-06-13 Juri Linkov <juri@jurta.org>
6016
6017 * isearch.el (word-search-regexp): Match whitespace if the search
6018 string begins or ends in whitespace. The LAX arg is applied to
6019 both ends of the search string. Use `regexp-quote' and explicit
6020 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6021 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6022 boundaries are replaced with symbol boundaries, and characters
6023 between symbols match non-word non-symbol syntax. (Bug#14602)
6024
cb89acab
JL
60252013-06-13 Juri Linkov <juri@jurta.org>
6026
6027 * isearch.el (isearch-del-char): Don't exceed the length of
6028 `isearch-string' by the prefix arg. (Bug#14563)
6029
6e8cfc81
JL
60302013-06-13 Juri Linkov <juri@jurta.org>
6031
6032 * isearch.el (isearch-yank-word, isearch-yank-line)
6033 (isearch-char-by-name, isearch-quote-char)
6034 (isearch-printing-char, isearch-process-search-char):
6035 Add optional count prefix arg. (Bug#14563)
6036
6037 * international/isearch-x.el
6038 (isearch-process-search-multibyte-characters):
6039 Add optional count prefix arg.
6040
c23d55f4
VS
60412013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6044 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6045 lexical-binding.
6046
60472013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6048
6049 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6050
ba947bc4
GM
60512013-06-13 Glenn Morris <rgm@gnu.org>
6052
8baeb37a
GM
6053 * startup.el (tty-handle-args):
6054 Don't just discard "--" and anything after. (Bug#14608)
6055
ba947bc4
GM
6056 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6057
9abefce4
MA
60582013-06-13 Michael Albinus <michael.albinus@gmx.de>
6059
6060 Implement changes in Secret Service API. Make it backward compatible.
6061 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6062 (secrets-create-item): Use it. Prefix properties with interface.
6063
5755011f
MH
60642013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6065
6066 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6067 (term-emulate-terminal): Respect term-suppress-hard-newline.
6068
1261d2da
S
60692013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6070
6071 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6072 Only remove a `thumb-file' overlay. (Bug#14548)
6073
868490bb
GJ
60742013-06-12 Grégoire Jadi <daimrod@gmail.com>
6075
6076 * mail/reporter.el (reporter-submit-bug-report):
6077 Handle missing package-name. (Bug#14600)
6078
79d7167f
TH
60792013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6080
6081 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6082 (reftex-citation-prompt, reftex-default-bibliography)
6083 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6084 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6085 (reftex-bib-sort-author, reftex-bib-sort-year)
6086 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6087 (reftex-extract-bib-entries-from-thebibliography)
6088 (reftex-get-bibkey-default, reftex-get-bib-names)
6089 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6090 (reftex-format-bib-entry, reftex-parse-bibitem)
6091 (reftex-format-bibitem, reftex-do-citation)
6092 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6093 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6094 (reftex-insert-bib-matches, reftex-format-citation)
6095 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6096 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6097 existing comments into docstrings.
6098
5f9dbd7a
XF
60992013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6100
6101 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6102
94df41ab
AS
61032013-06-12 Andreas Schwab <schwab@suse.de>
6104
6105 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6106 for auto-save files.
6107
a7f3fecc
GM
61082013-06-12 Glenn Morris <rgm@gnu.org>
6109
001809f6
GM
6110 * ido.el (ido-delete-ignored-files): Remove.
6111 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6112 Go back to calling ido-ignore-item-p directly.
a7f3fecc 6113
834b5ded
EL
61142013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6115
08c73ed2
EL
6116 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6117
834b5ded
EL
6118 * ido.el (ido-delete-ignored-files): New function,
6119 split from ido-make-file-list-1.
6120 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6121 (ido-make-file-list-1): Use ido-delete-ignored-files.
6122
daabf15a
LL
61232013-06-12 Leo Liu <sdl.web@gmail.com>
6124
6125 * progmodes/octave.el (inferior-octave-startup)
6126 (inferior-octave-completion-table)
6127 (inferior-octave-track-window-width-change)
6128 (octave-eldoc-function-signatures, octave-help)
6129 (octave-find-definition): Use single quoted strings.
6130 (inferior-octave-startup-args): Change default value.
6131 (inferior-octave-startup): Do not hard code "-i" and
6132 "--no-line-editing".
6133 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6134 (inferior-octave-directory-tracker): Use it.
6135 (octave-goto-function-definition): Robustify.
6136 (octave-help): Support highlighting operators in 'See also'.
6137 (octave-find-definition): Find subfunctions only in Octave mode.
6138
cf4e5178
SM
61392013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * help-fns.el (help-fns--compiler-macro): If the handler function is
6142 named, then put a link to it.
6143 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6144 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6145 (cl-typep): Use it.
6146 (cl-eval-when): Simplify debug spec.
6147 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6148 compiler-macro function instead of setting `compiler-macro-file'.
6149
99c81280 61502013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
6151
6152 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6153 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6154
f56be016
SM
61552013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6156 Daniel Hackney <dan@haxney.org>
6157
6158 First part of Daniel Hackney's patch to package.el.
6159 * emacs-lisp/package.el: Use defstruct.
6160 (package-desc): New, main struct.
6161 (package--bi-desc, package--ac-desc): New structs, used to describe the
6162 format in external files.
6163 (package-desc-vers): Replace with package-desc-version accessor.
6164 (package-desc-doc): Replace with package-desc-summary accessor.
6165 (package-activate-1): Remove `package' arg since the pkg-vec now
6166 includes the name.
6167 (define-package): Use package-desc-from-define.
6168 (package-unpack-single): Change file-name arg to be a symbol.
6169 (package--add-to-archive-contents): Use package-desc-create and new
6170 accessor functions to package--ac-desc.
6171 (package-buffer-info, package-tar-file-info): Return a package-desc.
6172 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6173 arg to be a package-desc.
6174 (package-install-file): Adjust accordingly. Use \' to match EOS.
6175 (package--from-builtin): New function.
6176 (describe-package-1, package-menu--generate): Use it.
6177 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6178 (package-generate-autoloads): Idem and return the name of the file.
6179 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6180 Change pkg-info arg to be a package-desc.
6181 Use package-make-ac-desc.
6182 (package-upload-file): Use \' to match EOS.
6183 * finder.el (finder-compile-keywords): Use package-make-builtin.
6184
31119d63
SM
61852013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6186
931a2762
SM
6187 * vc/vc.el (vc-deduce-fileset): Change error message.
6188 (vc-read-backend): New function.
6189 (vc-next-action): Use it.
6190
5a3eb0c6
SM
6191 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6192
e3eb1bb7
SM
6193 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6194 (prolog-font-lock-keywords): Use regexp-opt instead.
6195 Don't manually highlight strings.
6196 (prolog-mode-variables): Simplify comment-start-skip.
6197 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6198
31119d63
SM
6199 * emacs-lisp/generic.el (generic--normalise-comments)
6200 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6201 (generic-mode-set-comments): Use them.
6202 (generic-bracket-support): Use setq-local.
6203 (generic-make-keywords-list): Declare obsolete.
6204
7de135d0
GM
62052013-06-11 Glenn Morris <rgm@gnu.org>
6206
6207 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6208 Prettify after setting font-lock-defaults. (Bug#14574)
6209
fa6bc6fd
JB
62102013-06-11 Juanma Barranquero <lekktu@gmail.com>
6211
6212 * replace.el (query-replace, occur-read-regexp-defaults-function)
6213 (replace-search):
6214 * subr.el (declare-function, number-sequence, local-set-key)
6215 (substitute-key-definition, locate-user-emacs-file)
6216 (with-silent-modifications, split-string, eval-after-load):
6217 Fix typos, remove unneeded backslashes and reflow some docstrings.
6218
cf1f9b9a
SM
62192013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6220
6221 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6222 default for Elisp files.
6223
56602a4b
GM
62242013-06-11 Glenn Morris <rgm@gnu.org>
6225
6226 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6227 although define-derived-mode was doing this anyway. (Bug#14583)
6228
30ae0b2c
JB
62292013-06-10 Juanma Barranquero <lekktu@gmail.com>
6230
6231 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6232 Fix make-variable-buffer-local call to refer to the correct variable.
6233
fa472906
AG
62342013-06-10 Aidan Gauland <aidalgol@amuri.net>
6235
6236 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
6237 (eshell-visual-subcommands, eshell-visual-options):
6238 Add summary line to docstrings. Add cross-references.
fa472906 6239
ff4871b9
GM
62402013-06-10 Glenn Morris <rgm@gnu.org>
6241
6242 * epa.el (epa-read-file-name): New function. (Bug#14510)
6243 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6244
04fcf1b0
AG
62452013-06-09 Aidan Gauland <aidalgol@amuri.net>
6246
6247 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6248 output redirection to be ignored with visual commands.
6249
88b00caa
AG
62502013-06-09 Aidan Gauland <aidalgol@amuri.net>
6251
6252 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
6253 (eshell-term-initialize): Move long lambda to separate function
6254 eshell-visual-command-p.
e7b41c4c
JB
6255 * eshell/em-dirs.el (eshell-dirs-initialise):
6256 * eshell/em-script.el (eshell-script-initialize):
6257 Add missing #' to lambda.
88b00caa 6258
fda74125
LL
62592013-06-08 Leo Liu <sdl.web@gmail.com>
6260
6261 * progmodes/octave.el (octave-add-log-current-defun): New function.
6262 (octave-mode): Set add-log-current-defun-function.
6263 (octave-goto-function-definition): Do not move point if not found.
6264 (octave-find-definition): Enhance to try subfunctions first.
6265
467f3b33
GM
62662013-06-08 Glenn Morris <rgm@gnu.org>
6267
6268 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6269 (byte-compile-backward-char, byte-compile-backward-word):
6270 Improve previous change, to handle non-explicit nil.
6271
544badc3
SM
62722013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6275 (smie--opener/closer-at-point): New function.
6276 (smie--matching-block-data): Use it. Don't match from right after an
6277 opener or right before a closer. Obey smie-blink-matching-inners.
6278 Don't signal a mismatch for repeated inners like "switch..case..case".
6279
a175bf33
LL
62802013-06-07 Leo Liu <sdl.web@gmail.com>
6281
6282 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6283 to t. (Bug#14303)
ce8209d4
LL
6284 (octave-function-header-regexp): Fix. (Bug#14570)
6285 (octave-help-mode-finish-hook, octave-help-mode-finish):
6286 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
6287
6288 * newcomment.el (comment-search-backward): Revert last change.
6289 (Bug#14434)
6290
6291 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6292
a822acff
EZ
62932013-06-07 Eli Zaretskii <eliz@gnu.org>
6294
6295 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6296 through xargs, to avoid failure due to MS-Windows limitations on
6297 command-line length.
6298
961166f5
GM
62992013-06-06 Glenn Morris <rgm@gnu.org>
6300
d0341459
GM
6301 * font-lock.el (lisp-font-lock-keywords-2):
6302 Treat user-error like error.
6303
961166f5
GM
6304 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6305 (byte-compile-backward-char, byte-compile-backward-word):
6306 Handle explicit nil arguments. (Bug#14565)
6307
80fa505f
AM
63082013-06-05 Alan Mackenzie <acm@muc.de>
6309
6310 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 6311 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 6312 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 6313 (Bug#9706)
80fa505f 6314
fccdc796
SM
63152013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6316
6317 * autorevert.el (auto-revert-notify-handler): Use memq.
6318 Hide assertion failure.
6319
6320 * skeleton.el: Use cl-lib.
6321 (skeleton-further-elements): Use defvar-local.
6322 (skeleton-insert): Use cl-progv.
6323
9bfff84b
TZ
63242013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6325
6326 * progmodes/prog-mode.el (prog-prettify-symbols)
6327 (prog-prettify-install): Update docstrings.
6328
55577e7c
SM
63292013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * simple.el: Move all the prog-mode code to prog-mode.el.
6332 * progmodes/prog-mode.el: New file.
6333 * loadup.el: Add prog-mode.el.
6334
8fc57765
TZ
63352013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6336
6337 * simple.el (prog-prettify-symbols): Add version.
6338 (prog-prettify-install): Add convenience function to prettify symbols.
6339
6340 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6341 (perl--augmented-font-lock-keywords-1)
6342 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6343 variables and use it.
6344
6345 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6346 (cfengine3-mode): Remove unneeded variable and use it.
6347
6348 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6349 (lisp--augmented-font-lock-keywords-1)
6350 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6351 Remove unneeded variables and use it.
6352
650645d5 63532013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
6354
6355 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 6356 to point when opening the connection. (Bug#14380)
28f5da6d 6357
781b4af6
SM
63582013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6359
6360 * subr.el (load-history-regexp, load-history-filename-element)
6361 (eval-after-load, after-load-functions, do-after-load-evaluation)
6362 (eval-next-after-load, display-delayed-warnings)
6363 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6364 definition of save-match-data.
6365 (overriding-local-map): Remove accidental obsolescence declaration.
6366
6367 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6368
3ca0d0b4
TZ
63692013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6370
6371 Generalize symbol prettify support to prog-mode and implement it
6372 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6373 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6374 (prog--prettify-font-lock-compose-symbol)
6375 (prog-prettify-font-lock-symbols-keywords): New variables and
6376 functions to support symbol prettification.
6377 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6378 (lisp--augmented-font-lock-keywords-1)
6379 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6380 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6381 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
6382 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6383 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
6384 * progmodes/perl-mode.el (perl-prettify-symbols)
6385 (perl--font-lock-compose-symbol)
6386 (perl--font-lock-symbols-keywords): Move to prog-mode.
6387 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6388 (perl-font-lock-keywords-1)
6389 (perl-font-lock-keywords-2): Remove explicit prettify support.
6390 (perl--augmented-font-lock-keywords)
6391 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
6392 (perl--augmented-font-lock-keywords-2, perl-mode):
6393 Implement prettify support.
3ca0d0b4 6394
976cb066
LL
63952013-06-05 Leo Liu <sdl.web@gmail.com>
6396
6397 Re-implement smie matching block highlight using
6398 show-paren-data-function. (Bug#14395)
6399 * emacs-lisp/smie.el (smie-matching-block-highlight)
6400 (smie--highlight-matching-block-overlay)
6401 (smie--highlight-matching-block-lastpos)
6402 (smie-highlight-matching-block)
6403 (smie-highlight-matching-block-mode): Remove.
6404 (smie--matching-block-data-cache): New variable.
6405 (smie--matching-block-data): New function.
6406 (smie-setup): Use smie--matching-block-data for
6407 show-paren-data-function.
6408
6409 * progmodes/octave.el (octave-mode-menu): Fix.
6410 (octave-find-definition): Skip garbage lines.
6411
208d0342
SM
64122013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6413
6414 Fix compilation error with simultaneous dynamic+lexical scoping.
6415 Add warning when a defvar appears after the first let-binding.
6416 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6417 (byte-compile-close-variables): Initialize it.
6418 (byte-compile--declare-var): New function.
6419 (byte-compile-file-form-defvar)
6420 (byte-compile-file-form-define-abbrev-table)
6421 (byte-compile-file-form-custom-declare-variable): Use it.
6422 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6423 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6424 (byte-compile-bind): Handle dynamic bindings that shadow
6425 lexical bindings.
6426 (byte-compile-unbind): Make arg non-optional.
6427 (byte-compile-let): Simplify.
6428 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6429 (cconv--analyse-function, cconv-analyse-form): Populate it.
6430 Protect byte-compile-bound-variables to limit the scope of defvars.
6431 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6432 Remove unneeded rule for `declare'.
6433
6434 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6435 so as to avoid depending on cl-adjoin at run-time.
6436 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6437
6438 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6439 (macroexp--warn-and-return): Use it.
6440
2587b005
LL
64412013-06-05 Leo Liu <sdl.web@gmail.com>
6442
6443 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6444
f1da3c88
LL
64452013-06-04 Leo Liu <sdl.web@gmail.com>
6446
6447 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6448 (compilation-auto-jump): Suppress the "Mark set" message to give
6449 way to exit message.
6450
3caa391f
AM
64512013-06-04 Alan Mackenzie <acm@muc.de>
6452
6453 Remove faulty optimisation from indentation calculation.
6454 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6455 search limit based on 2000 characters back from indent-point.
6456
068922a2
TH
64572013-06-03 Tassilo Horn <tsdh@gnu.org>
6458
6459 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6460
1f8fdd53
SM
64612013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6462
bbcc4d97
SM
6463 * emacs-lisp/lisp.el: Use lexical-binding.
6464 (lisp--local-variables-1, lisp--local-variables): New functions.
6465 (lisp--local-variables-completion-table): New var.
208d0342 6466 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6467
1f8fdd53
SM
6468 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6469 eagerly (bug#14422).
6470
c9628c79
MA
64712013-06-03 Michael Albinus <michael.albinus@gmx.de>
6472
6473 * autorevert.el (auto-revert-notify-enabled)
6474 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6475 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6476 (auto-revert-notify-handler): Handle also gfilenotify.
6477
e7b41c4c 6478 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6479 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6480 Remove.
c9628c79 6481
e5e4a942
JL
64822013-06-03 Juri Linkov <juri@jurta.org>
6483
6484 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6485 `M-s h .'. (Bug#14427)
6486
6487 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6488 command `hi-lock-face-symbol-at-point'.
6489 (hi-lock-face-symbol-at-point): New command.
6490 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6491 (hi-lock-menu): Add `highlight-symbol-at-point'.
6492 (hi-lock-mode): Doc fix.
6493
6494 * isearch.el (isearch-forward-symbol-at-point): New command.
6495 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6496 (isearch-highlight-regexp): Add a regexp which matches
6497 words/symbols for word/symbol mode.
6498
6499 * subr.el (find-tag-default-bounds): New function with the body
6500 mostly moved from `find-tag-default'.
6501 (find-tag-default): Move most code to `find-tag-default-bounds',
6502 call it and apply `buffer-substring-no-properties' afterwards.
6503
26b3353a
TH
65042013-06-03 Tassilo Horn <tsdh@gnu.org>
6505
781b4af6
SM
6506 * eshell/em-term.el (eshell-term-initialize):
6507 Use `cl-intersection' rather than `intersection'.
26b3353a 6508
51b60f53
XF
65092013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6510
fe054b63 6511 * vc/log-view.el: Doc fix.
d3ffe17c 6512 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6513
a0eb10b3 65142013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6515
6516 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6517 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6518 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6519 (eieio-unbound, eieio-default-superclass)
6520 (eieio--define-field-accessors, method-static, method-before)
6521 (method-primary, method-after, method-num-lists)
6522 (method-generic-before, method-generic-primary)
6523 (method-generic-after, method-num-slots)
6524 (eieio-specialized-key-to-generic-key)
6525 (eieio--check-type, class-v, class-p)
6526 (eieio-class-name, define-obsolete-function-alias)
6527 (eieio-class-parents-fast, eieio-class-children-fast)
6528 (same-class-fast-p, class-constructor, generic-p)
6529 (generic-primary-only-p, generic-primary-only-one-p)
6530 (class-option-assoc, class-option, eieio-object-p)
6531 (class-abstract-p, class-method-invocation-order)
6532 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6533 (eieio-class-un-autoload, eieio-defclass)
6534 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6535 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6536 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6537 (eieio-defgeneric-reset-generic-form)
6538 (eieio-defgeneric-form-primary-only)
6539 (eieio-defgeneric-reset-generic-form-primary-only)
6540 (eieio-defgeneric-form-primary-only-one)
6541 (eieio-defgeneric-reset-generic-form-primary-only-one)
6542 (eieio-unbind-method-implementations)
6543 (eieio--defmethod, eieio--typep)
6544 (eieio-perform-slot-validation, eieio-validate-slot-value)
6545 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6546 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6547 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6548 (eieio-slot-name-index, eieio-class-slot-name-index)
6549 (eieio-set-defaults, eieio-initarg-to-attribute)
6550 (eieio-attribute-to-initarg, eieio-c3-candidate)
6551 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6552 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6553 (eieio-class-precedence-list, eieio-generic-call-methodname)
6554 (eieio-generic-call-arglst, eieio-generic-call-key)
6555 (eieio-generic-call-next-method-list)
6556 (eieio-pre-method-execution-functions, eieio-generic-call)
6557 (eieio-generic-call-primary-only, eieiomt-method-list)
6558 (eieiomt-optimizing-obarray, eieiomt-install)
6559 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6560 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6561 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6562 (defclass): Remove `eval-and-compile' from macro.
6563 (call-next-method, shared-initialize): Instead of using
6564 `scoped-class' variable, use new eieio--scoped-class, and
6565 eieio--with-scoped-class.
6566 (initialize-instance): Rename local variable 'scoped-class' to
6567 'this-class' to remove ambiguitity from old global.
6568
6569 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6570 eieio.el.
4f405069
JB
6571 (eieio--scoped-class-stack): New variable.
6572 (eieio--scoped-class): New fcn.
890f7890
DE
6573 (eieio--with-scoped-class): New scoping macro.
6574 (eieio-defclass): Use pushnew instead of add-to-list.
6575 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6576 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6577 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6578 `scoped-class' variable, use new eieio--scoped-class, and
6579 eieio--with-scoped-class.
6580
6581 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6582
d105b0e2
TH
65832013-06-02 Tassilo Horn <tsdh@gnu.org>
6584
6585 * eshell/esh-ext.el (eshell-external-command): Pass args to
6586 `eshell-find-interpreter'.
6587 (eshell-find-interpreter): Add new second parameter ARGS.
6588
6589 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6590 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6591
6592 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6593 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6594
6595 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6596 (eshell-visual-options): New defcustom.
6597 (eshell-escape-control-x): Adapt docstring.
6598 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6599 `eshell-visual-options' in addition to `eshell-visual-commands'.
6600 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6601
f46305c8 66022013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6603
6604 * progmodes/python.el (python-indent-block-enders): Add break,
6605 continue and raise keywords.
6606
d870df21
GM
66072013-06-01 Glenn Morris <rgm@gnu.org>
6608
9133b82e
GM
6609 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6610
02c992ec 6611 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6612 * progmodes/cc-cmds.el (delete-forward-p):
6613 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6614 * progmodes/cc-engine.el (buffer-syntactic-context):
6615 * progmodes/cc-fonts.el (face-property-instance):
6616 * progmodes/cc-mode.el (set-keymap-parents):
6617 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6618 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6619 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6620 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6621 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6622
31e7b090
GM
6623 * progmodes/cc-vars.el (other): Emacs has this widget since
6624 at least 21.1, so don't (re)define it.
6625
d870df21
GM
6626 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6627 Replace the obsolete alias pcomplete-arg-quote-list.
6628
c75c93c7
LL
66292013-06-01 Leo Liu <sdl.web@gmail.com>
6630
6631 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6632 punctuation syntax.
6633 (inferior-octave-minimal-columns)
6634 (inferior-octave-last-column-width): New variables.
6635 (inferior-octave-track-window-width-change): New function.
6636 (inferior-octave-mode): Adjust column width so that Octave output,
6637 for example from 'ls', can fit into the window nicely.
6638
973d1e12
DG
66392013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6640
6641 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6642 Highlight expansions inside regexp literals.
6643
0888c286
GM
66442013-05-31 Glenn Morris <rgm@gnu.org>
6645
e26aac1f
GM
6646 * obsolete/sym-comp.el (symbol-complete):
6647 Replace obsolete completion-annotate-function.
6648
0888c286
GM
6649 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6650
19bb8e62
DG
66512013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6652
781b4af6
SM
6653 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6654 New function, checks if point is inside a literal that allows
19bb8e62
DG
6655 expression expansion.
6656 (ruby-syntax-propertize-expansion): Use it.
6657 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6658 around the body.
6659
01dea85f
JL
66602013-05-30 Juri Linkov <juri@jurta.org>
6661
6662 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6663 to "\M-si".
6664 (isearch-invisible): New variable.
6665 (isearch-forward): Doc fix.
6666 (isearch-mode): Set `isearch-invisible'
6667 to the value of `search-invisible'.
6668 (isearch-toggle-case-fold): Doc fix.
6669 (isearch-toggle-invisible): New command.
6670 (isearch-query-replace): Let-bind `search-invisible'
6671 to the value of `isearch-invisible'.
6672 (isearch-search): Use `isearch-invisible' instead of
6673 `search-invisible'. Let-bind `search-invisible'
6674 to the value of `isearch-invisible'. (Bug#11378)
6675
ab1bdce5
JL
66762013-05-30 Juri Linkov <juri@jurta.org>
6677
6678 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6679 call when `query-flag' is nil and `search-invisible' is non-nil.
6680 (Bug#11746)
6681
d6d236e2
GM
66822013-05-30 Glenn Morris <rgm@gnu.org>
6683
8accd027
GM
6684 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6685
2a8bed1c
GM
6686 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6687 (cc-require): Suppress spurious "noruntime" warnings.
6688 (cc-require-when-compile): Use fboundp, for sake of compiler.
6689
d6d236e2
GM
6690 * progmodes/cc-mode.el: Move load of cc-vars before that of
6691 cc-langs (which in turn loads cc-vars), to quieten compiler.
6692
9190b35b
SM
66932013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6694
6695 * paren.el: Simplify the code.
6696 (show-paren-mode): Always start the timer.
6697 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6698 (show-paren--overlay, show-paren--overlay-1): Rename from
6699 show-paren-overlay and show-paren-overlay-1, and initialize to an
6700 overlay rather than to nil.
6701 (show-paren-function): Misc cleanup and simplifications.
6702
4f8d1cf6
SM
67032013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6704
6705 * paren.el (show-paren-data-function): New hook.
6706 (show-paren--default): New function, extracted from show-paren-function.
6707 (show-paren-function): Use show-paren-data-function.
6708
02d844b5
GM
67092013-05-30 Glenn Morris <rgm@gnu.org>
6710
d209d4a9
GM
6711 * ielm.el (ielm-map, ielm-complete-symbol):
6712 Use completion-at-point rather than obsolete functions.
6713 (inferior-emacs-lisp-mode): Doc fix.
6714 Set completion-at-point-functions, rather than
6715 comint-dynamic-complete-functions.
6716
2082faa6
GM
6717 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6718 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6719 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6720
dd8620de
GM
6721 * image.el (image-animated-p): Tweak definition.
6722
ceca95b1
GM
6723 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6724 (rlogin-process-connection-type): Tweak default. Add set-after.
6725 (rlogin-host): Doc fix.
6726 (rlogin): Tweak prompt.
6727 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6728
ee9f1acc
GM
6729 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6730 * progmodes/tcl.el (inferior-tcl-mode-map):
6731 Use completion-at-point rather than obsolete alias.
6732
45ce222e
GM
6733 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6734
02d844b5
GM
6735 * minibuffer.el (read-file-name-completion-ignore-case):
6736 Move before completion--in-region, for eager macro expansion.
6737
ac44d6c1
JL
67382013-05-29 Juri Linkov <juri@jurta.org>
6739
6740 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6741 for total count of matching lines. Add `global-matches' for total
6742 count of matches. Rename `matches' to `lines' for count of
6743 matching lines. Add `matches' for count of matches.
6744 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6745 to `prev-line' for line number of prev match endpt.
6746 Increment `matches' for every match. Print the number of
6747 matching lines in the header.
6748 (occur-context-lines): Rename `lines' to `curr-line'.
6749 Rename `prev-lines' to `prev-line'. (Bug#14017)
6750
3c9c9d38
JL
67512013-05-29 Juri Linkov <juri@jurta.org>
6752
6753 * replace.el (perform-replace): Add `skip-read-only-count',
6754 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6755 Increment them for corresponding conditions and report the number
6756 of skipped occurrences in the final message. (Bug#11746)
6757 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6758 (replace-string, replace-regexp): Doc fix.
6759
33e249a2
SM
67602013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6761
8e399682
SM
6762 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6763
33e249a2 6764 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6765 prog-mode-map (bug#14504).
33e249a2 6766
f236dd84
LL
67672013-05-29 Leo Liu <sdl.web@gmail.com>
6768
6769 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6770 (octave-help): Small simplification.
6771
6772 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6773 off the highlight first.
6774
3694d13f
GM
67752013-05-29 Glenn Morris <rgm@gnu.org>
6776
03983bdc
GM
6777 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6778 Handle idlwave-last-system-routine-info-cons-cell being nil.
6779
bc74a74a
GM
6780 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6781 (idlwave-write-paths): Simplify via with-temp-buffer.
6782
8b394200
GM
6783 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6784 * emulation/cua-rect.el: Also load cua-base at run time.
6785
3694d13f
GM
6786 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6787 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6788 (cperl-imenu-on-info): Require imenu.
6789
336d7284
AM
67902013-05-28 Alan Mackenzie <acm@muc.de>
6791
6792 Handle "capitalised keywords" correctly.
33e249a2 6793 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6794
cb29c582
AG
67952013-05-28 Aidan Gauland <aidalgol@amuri.net>
6796
781b4af6 6797 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6798
690e44b2
GM
67992013-05-28 Glenn Morris <rgm@gnu.org>
6800
e658d75c
GM
6801 * vc/vc-arch.el (vc-exec-after): Declare.
6802 (vc-switches): Autoload.
6803 * vc/vc-bzr.el: No need to require vc when compiling.
6804 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6805 (vc-resynch-buffer, vc-dir-refresh): Declare.
6806 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6807 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6808 (vc-resynch-buffer): Declare.
6809 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6810 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6811 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6812 (grep-read-regexp, grep-read-files, grep-expand-template)
6813 (vc-dir-refresh): Declare.
6814 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6815 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6816 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6817 * vc/vc-mtn.el (vc-exec-after): Declare.
6818 (vc-switches): Autoload.
6819 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6820 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6821 (vc-file-tree-walk): Declare.
712b9732
GM
6822 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6823 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6824 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6825 * vc/vc-svn.el (vc-exec-after): Declare.
6826 (vc-switches, vc-setup-buffer): Autoload.
6827 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6828 Autoload.
6829 (vc-resynch-buffer): Declare.
6830
98e87fb3
GM
6831 * obsolete/fast-lock.el (byte-compile-warnings):
6832 Don't warn about obsolete features in this obsolete file.
6833
f5379553
GM
6834 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6835 Move definition before use.
6836
7a20ef83
GM
6837 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6838 (dun-unix-verbs): Remove dun-zippy.
6839 (dun-zippy): Remove function.
6840
690e44b2
GM
6841 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6842
3a52ccf7
JL
68432013-05-27 Juri Linkov <juri@jurta.org>
6844
6845 * replace.el (replace-search): New function with code moved out
6846 from `perform-replace'.
6847 (replace-highlight, replace-dehighlight): Move function definitions
6848 up closer to `replace-search'. (Bug#11746)
6849
d289938a
JL
68502013-05-27 Juri Linkov <juri@jurta.org>
6851
6852 * replace.el (perform-replace): Ignore invisible matches.
6853 In addition to checking `query-replace-skip-read-only', also
6854 filter out matches by calling `run-hook-with-args-until-failure'
6855 on `isearch-filter-predicates', and also check `search-invisible'
6856 for t or call `isearch-range-invisible'.
6857 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6858
66fc57e3
JL
68592013-05-27 Juri Linkov <juri@jurta.org>
6860
6861 * isearch.el (isearch-filter-predicates): Rename from
6862 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6863 (isearch-message-prefix): Display text from the property
6864 `isearch-message-prefix' of the currently active filters.
6865 (isearch-search): Don't compare `isearch-filter-predicate' with
6866 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6867 on `isearch-filter-predicates'. Also check `search-invisible' for t
6868 or call `isearch-range-invisible'.
6869 (isearch-filter-visible): Make obsolete.
6870 (isearch-lazy-highlight-search):
6871 Call `run-hook-with-args-until-failure' on
6872 `isearch-filter-predicates' and use `isearch-range-invisible'.
6873
6874 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6875 `isearch-filter-predicates' instead of `funcall'ing
6876 `isearch-filter-predicate'.
6877 (Info-mode): Set `Info-isearch-filter' to
6878 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6879
6880 * dired-aux.el (dired-isearch-filter-predicate-orig):
6881 Remove variable.
6882 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6883 (dired-isearch-filenames-end): Add and remove
6884 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6885 instead of changing the value of `isearch-filter-predicate'.
6886 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6887 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6888 Put property `isearch-message-prefix' to "filename " on
6889 `dired-isearch-filter-filenames'.
6890
6891 * wdired.el (wdired-change-to-wdired-mode):
6892 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6893 locally instead of changing `isearch-filter-predicate'.
6894 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6895
f1a60a0f
DG
68962013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6897
6898 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6899 return the commit hash (Bug#14459). Also set the
6900 `vc-git-detached' property.
6901 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6902 (vc-git-mode-line-string): Use the same help-echo format whether
6903 in detached mode or not, because we know the actual revision now.
6904 When in detached mode, shorten the revision to 7 chars.
6905
7f17cc40
SM
69062013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6907
6908 * emacs-lisp/easy-mmode.el (define-minor-mode):
6909 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6910 mode hook and provide a docstring.
6911
25c8401c
AM
69122013-05-27 Alan Mackenzie <acm@muc.de>
6913
6914 Remove spurious syntax-table text properties inserted by C-y.
6915 * progmodes/cc-mode.el (c-after-change): Also clear hard
6916 syntax-table property with value nil.
6917
dde84790
MA
69182013-05-27 Michael Albinus <michael.albinus@gmx.de>
6919
6920 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6921 when reading the events; the buffer layout shall not be changed.
6922
837fd9af
LL
69232013-05-27 Leo Liu <sdl.web@gmail.com>
6924
6925 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6926 New variable.
6927 (inferior-octave-directory-tracker): Automatically re-sync
6928 default-directory.
6929 (octave-help): Improve handling of 'See also'.
6930
4fd996b3
SM
69312013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6932
416f1802
SM
6933 * doc-view.el: Minor naming convention tweaks.
6934 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6935
4fd996b3
SM
6936 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6937 even if there's no `display' property yet (bug#14435).
6938
a052ef3b
EZ
69392013-05-25 Eli Zaretskii <eliz@gnu.org>
6940
4fd996b3 6941 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6942
6943 * Makefile.in (custom-deps, finder-data, autoloads)
6944 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6945 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6946 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6947
c9023370
SM
69482013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6951 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6952 Don't burp at EOB.
c9023370 6953
24d699fa
LL
69542013-05-25 Leo Liu <sdl.web@gmail.com>
6955
6956 * comint.el (comint-previous-matching-input): Do not flood the
6957 *Messages* buffer with trivial messages.
6958
17e5c0cc
SM
69592013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * progmodes/flymake.el (flymake-nop): Don't return a string.
6962 (flymake-set-at): Fix typo.
6963
6964 * simple.el (read--expression): New function, extracted from
6965 eval-expression. Set completion-at-point-functions (bug#14465).
6966 (eval-expression, eval-minibuffer): Use it.
6967
5d028165
XF
69682013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6969
6970 * progmodes/flymake.el (flymake-save-buffer-in-file)
6971 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6972 (flymake-selected-frame, flymake-log, flymake-ins-after)
6973 (flymake-set-at, flymake-get-buildfile-from-cache)
6974 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6975 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6976 Refine the doc string.
6977 (flymake-get-file-name-mode-and-masks): Reformat.
6978 (flymake-get-real-file-name-function): Fix a minor bug.
6979
7a1d7ba7
JL
69802013-05-24 Juri Linkov <juri@jurta.org>
6981
6982 * progmodes/grep.el (grep-mode-font-lock-keywords):
6983 Support =linenumber= format used by git-grep for lines with
6984 function names. (Bug#13549)
6985
650cff3d
SM
69862013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6987
6988 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6989 0 after a semi-colon; it works better for smie-auto-fill.
6990 (octave--indent-new-comment-line): New function.
6991 (octave-indent-new-comment-line): Use it (indirectly).
6992 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6993 modify comment-line-break-function.
6994
6995 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6996 (smie-setup): Use add-function to set it.
6997
9631677d
SS
69982013-05-24 Sam Steingold <sds@gnu.org>
6999
7000 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7001 argument (before the `interactive' argument).
7002
50105835
SM
70032013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7005 * image-mode.el (image-mode-winprops): Add winprops to
7006 image-mode-winprops-alist before running
7007 image-mode-new-window-functions.
7008 * doc-view.el (doc-view-new-window-function): Don't delay
7009 doc-view-goto-page via timers (bug#14435).
7010
57b9823e
TH
70112013-05-24 Tassilo Horn <tsdh@gnu.org>
7012
7013 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7014 (doc-view-desktop-save-buffer): New function.
7015 (doc-view-restore-desktop-buffer): New function.
50105835
SM
7016 (desktop-buffer-mode-handlers):
7017 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
7018 handler.
7019 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7020 `desktop-save-buffer' function.
7021
91aafa16
MA
70222013-05-24 Michael Albinus <michael.albinus@gmx.de>
7023
7024 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7025 (tramp-gvfs-file-name-handler): Raise a user error when
7026 `tramp-gvfs-enabled' is nil.
7027 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7028 Do not raise a user error when loading package. (Bug#14447)
7029
ec076379
MA
7030 * net/xesam.el: Move to obsolete/.
7031
db785726
GM
70322013-05-24 Glenn Morris <rgm@gnu.org>
7033
af5c7606
GM
7034 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7035
e5d1916a
GM
7036 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7037
ded62b08
GM
7038 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7039 (Info-find-node, Man-getpage-in-background): Declare.
7040
9e614a3f
GM
7041 * mail/unrmail.el (unrmail):
7042 Replace obsolete detect-coding-with-priority.
7043
892f8ca3
GM
7044 * net/socks.el (socks-split-string): Use this rather than split-string.
7045 (socks-nslookup-host): Update for above change.
7046 (dynamic-choice, s5-dynamic-choice-match)
7047 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7048 Comment out unused code.
7049
3c291973
GM
7050 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7051 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7052 (gud-tooltip-echo-area): Make obsolete.
7053 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7054
43cc956b
GM
7055 * progmodes/js.el (js--optimize-arglist): Declare.
7056
dab49a3b
GM
7057 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7058
36b9d085
GM
7059 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7060 (ediff-window-C): Declare.
7061
e354ae76
GM
7062 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7063 Tweak requires to silence compiler.
7064
b8e57bf4
GM
7065 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7066 (he-search-string, he-tried-table, he-expand-list)
7067 (he-init-string, he-string-member, he-substitute-string)
7068 (he-reset-string): Declare.
7069
db785726
GM
7070 * obsolete/options.el (list-options): Use custom-variable-p,
7071 rather than obsolete alias.
7072
b3531901
SS
70732013-05-23 Sam Steingold <sds@gnu.org>
7074
7075 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 7076 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
7077 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7078
bdda4c66
SM
70792013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * emacs-lisp/smie.el (smie-indent-forward-token)
7082 (smie-indent-backward-token): Handle string tokens (bug#14381).
7083
c43d45f9
TH
70842013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7085
fe1eb856
RS
7086 * ielm.el (ielm-menu): New menu.
7087 (inferior-emacs-lisp-mode): Set comment-start.
96172128 7088
fe1eb856
RS
70892013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7090
7091 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7092 Fix deactivate action.
7093
7094 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7095 Add cleveref macros.
074dd971 7096
c43d45f9
TH
7097 * lisp/textmodes/reftex-parse.el
7098 (reftex-locate-bibliography-files): Accept options for
7099 bibliography commands.
7100 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7101 Add addbibresource. Basic Biblatex support.
7102
7764286e
MA
71032013-05-23 Michael Albinus <michael.albinus@gmx.de>
7104
7105 * net/tramp-gvfs.el (top):
7106 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7107 when loading package. (Bug#14447)
7108
d361bc10
GM
71092013-05-23 Glenn Morris <rgm@gnu.org>
7110
8fa23984
GM
7111 * progmodes/js.el: No need to load comint when compiling.
7112 (ring-insert, comint-send-string, comint-send-input)
7113 (comint-last-input-end, ido-chop): Declare.
7114
a5c7df1a
GM
7115 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7116 * vc/ediff-mult.el: Adjust requires.
7117 (ediff-directories-internal, ediff-directory-revisions-internal)
7118 (ediff-patch-file-internal): Declare.
7119 * vc/ediff-ptch.el: Adjust requires.
7120 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7121 (ediff-find-file): Autoload.
7122 * vc/ediff-util.el: No need to load ediff when compiling.
7123 (ediff-regions-internal): Declare.
7124 * vc/ediff-wind.el: Adjust requires.
7125 (ediff-compute-toolbar-width): Define when compiling.
7126 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7127 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7128 (dired-get-filename, dired-get-marked-files)
7129 (ediff-last-dir-patch, ediff-patch-default-directory)
7130 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7131 (ediff-patch-buffer-internal): Declare.
7132
e2aec513
GM
7133 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7134 (ispell-process, ispell-buffer-local-words, lm-summary)
7135 (lm-section-start, lm-section-end): Declare.
7136 (checkdoc-ispell-init): Simplify.
7137
e68bbd7c
GM
7138 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7139 (he-string-member, he-reset-string, he-substitute-string): Declare.
7140
7efe0991
GM
7141 * eshell/em-ls.el: Adjust requires.
7142 (eshell-glob-regexp): Declare.
f87b1284
GM
7143 * eshell/em-tramp.el: Adjust requires.
7144 (eshell-parse-command): Autoload.
7145 * eshell/em-xtra.el: Adjust requires.
7146 (eshell-parse-command): Autoload.
7147 * eshell/esh-ext.el: Adjust requires.
7148 (eshell-parse-command, eshell-close-handles): Autoload.
7149 * eshell/esh-io.el: Adjust requires.
7150 (eshell-output-filter): Autoload.
7151 * eshell/esh-util.el: No need to load tramp when compiling.
7152 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7153 Declare.
7154 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7155 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7156 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7157 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7158 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7159 * eshell/esh-opt.el, eshell/esh-proc.el:
7160 * eshell/esh-var.el: Adjust requires.
7161 * eshell/eshell.el: Do not require esh-util twice.
7162 (eshell-add-input-to-history): Declare.
7163 (eshell-command): Check history module is active before using it.
7164
d361bc10
GM
7165 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7166
85d090a9
LL
71672013-05-22 Leo Liu <sdl.web@gmail.com>
7168
7169 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7170
5d0acd9d
MA
71712013-05-22 Michael Albinus <michael.albinus@gmx.de>
7172
7173 * autorevert.el (auto-revert-notify-add-watch)
7174 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7175 it indicates changes in file modification time.
7176
0cdffd7d
GM
71772013-05-22 Glenn Morris <rgm@gnu.org>
7178
ca5995ec
GM
7179 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7180 Always delete the autoloaded function from the noruntime and
7181 unresolved functions lists.
7182
6450907e
GM
7183 * allout.el: No need to load epa, epg, overlay when compiling.
7184 (epg-context-set-passphrase-callback, epg-list-keys)
7185 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7186 (epg-key-user-id-list): Declare.
7187
9c6906f6
GM
7188 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7189 (viper-set-parsing-style-toggling-macro)
7190 (viper-set-emacs-state-searchstyle-macros):
7191 Use called-interactively-p on Emacs.
7192 (viper-looking-back): Make it an obsolete alias. Update callers.
7193 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7194 Use looking-back rather than viper-looking-back.
7195 (viper-tmp-insert-at-eob, viper-enlarge-region)
7196 (viper-read-string-with-history, viper-register-to-point)
7197 (viper-append-to-register, viper-change-state-to-vi)
7198 (viper-backward-char-carefully, viper-forward-char-carefully)
7199 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7200 (viper-change-state-to-emacs): Declare.
7201 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7202 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7203 * emulation/viper-mous.el: Do not load viper-cmd.
7204 (viper-backward-char-carefully, viper-forward-char-carefully)
7205 (viper-forward-word, viper-adjust-window): Declare.
7206
5f70c169
GM
7207 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7208
b1b7f300
GM
7209 * progmodes/idlw-help.el (idlwave-help-fontify):
7210 Use called-interactively-p.
7211
f6ebbb46
GM
7212 * term/w32console.el (w32-get-console-codepage)
7213 (w32-get-console-output-codepage): Declare.
7214
0cdffd7d
GM
7215 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7216 Remove unnecessary declarations.
7217 (dframe-message): Doc fix.
7218
7219 * info.el (dframe-select-attached-frame, dframe-current-frame):
7220 Declare.
7221
7222 * speedbar.el (speedbar-message): Make it an obsolete alias.
7223 Update all callers.
7224 (speedbar-with-attached-buffer)
7225 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7226 (speedbar-with-writable): Use backquote.
7227 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7228 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7229 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7230 rather than speedbar- aliases.
7231 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7232 (speedbar-make-specialized-keymap, speedbar-insert-button)
7233 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7234 (speedbar-do-function-pointer): Declare.
7235 (rmail-speedbar-button, rmail-speedbar-find-file)
7236 (rmail-speedbar-move-message):
7237 Use dframe-with-attached-buffer rather than speedbar- alias.
7238 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7239 (dframe-message, speedbar-make-specialized-keymap)
7240 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7241 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7242 (speedbar-insert-button, dframe-select-attached-frame)
7243 (dframe-maybee-jump-to-attached-frame)
7244 (speedbar-change-initial-expansion-list)
7245 (speedbar-previously-used-expansion-list-name): Declare.
7246 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7247 Use dframe-message, dframe-with-attached-buffer rather than
7248 speedbar- aliases.
7249 (gud-sentinel): Silence compiler.
7250 * progmodes/vhdl-mode.el (speedbar-refresh)
7251 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7252 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7253 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7254 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7255 (speedbar-file-lists, speedbar-make-tag-line)
7256 (speedbar-line-directory, speedbar-goto-this-file)
7257 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7258 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7259 (speedbar-make-button, speedbar-reset-scanners)
7260 (speedbar-files-item-info, speedbar-line-text)
7261 (speedbar-find-file-in-frame, speedbar-set-timer)
7262 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7263 (speedbar-with-writable): Do not (re)define it.
7264 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7265 rather than speedbar- alias.
7266
ee44b62a
LL
72672013-05-21 Leo Liu <sdl.web@gmail.com>
7268
7269 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7270 menu items.
7271 (octave-mode): Tweak fill-nobreak-predicate.
7272 (inferior-octave-startup): Check process to avoid infinite loop.
7273 (inferior-octave): Pop to buffer first to show abornmal process
7274 exit information.
7275
640f050f
GM
72762013-05-21 Glenn Morris <rgm@gnu.org>
7277
79458038
GM
7278 * printing.el (pr-menu-bar): Define when compiling.
7279
9cc3e83f
LL
72802013-05-21 Leo Liu <sdl.web@gmail.com>
7281
7282 * progmodes/octave.el (octave-auto-fill): Remove.
7283 (octave-indent-new-comment-line): Improve.
7284 (octave-mode): Use auto fill mode through
4f405069 7285 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 7286 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 7287 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
7288 (octave-help): Show parent directory.
7289
f440830d
GM
72902013-05-21 Glenn Morris <rgm@gnu.org>
7291
7292 * files.el (dired-unmark):
7293 * progmodes/gud.el (gdb-input): Update declarations.
7294
7295 * calculator.el (electric, ehelp): No need to load when compiling.
7296 (Electric-command-loop, electric-describe-mode): Declare.
7297
7298 * doc-view.el (doc-view-current-converter-processes): Move before use.
7299
7300 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7301 Move MODE-set-explicitly definition before use.
7302
7303 * international/mule-diag.el (mule-diag):
7304 Don't use obsolete window-system-version.
7305
7306 * mail/feedmail.el (smtpmail): No need to load when compiling.
7307 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7308
7309 * mail/mail-utils.el (rfc822): No need to load when compiling.
7310 (rfc822-addresses): Autoload it.
7311 (mail-strip-quoted-names): Trivial simplification.
7312
7313 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7314 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7315
7316 * net/snmp-mode.el (tempo): Don't duplicate requires.
7317
7318 * progmodes/prolog.el (info): No need to load when compiling.
7319 (comint): Require before shell requires it.
7320 (Info-goto-node): Autoload it.
7321 (Info-follow-nearest-node): Declare.
7322 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7323
7324 * textmodes/artist.el (picture-mode-exit): Declare.
7325
7326 * textmodes/reftex-parse.el (reftex-parse-from-file):
7327 Trivial rewrite so the compiler can parse it better.
7328
b4da2cbb
LL
73292013-05-20 Leo Liu <sdl.web@gmail.com>
7330
7331 * progmodes/octave.el (octave-help-mode-map)
7332 (octave-help-mode-finish-hook): New variables.
7333 (octave-help-mode, octave-help-mode-finish): New functions.
7334 (octave-help): Use octave-help-mode.
7335
33c0f65b
GM
73362013-05-20 Glenn Morris <rgm@gnu.org>
7337
7338 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7339
1a0a0a8a
DG
73402013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7341
7342 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7343 start at point, so that expansion starting right after opening
7344 slash in a regexp is recognized.
7345 (ruby-syntax-before-regexp-re): New defvar, extracted from
7346 ruby-syntax-propertize-function. Since the value of this regexp
7347 is looked up at runtime now, we should be able to turn
7348 `ruby-syntax-methods-before-regexp' into a defcustom later.
7349 (ruby-syntax-propertize-function): Split regexp matching into two
7350 parts, for opening and closing slashes. That allows us to skip
7351 over string interpolations and support multiline regexps.
7352 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7353 for them, which calls `ruby-syntax-propertize-expansion'.
7354 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7355 call to `ruby-syntax-propertize-function'.
7356 (ruby-syntax-propertize-expansion): Extracted from
7357 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
7358 (ruby-syntax-propertize-percent-literal): Leave point right after
7359 the percent symbol, so that the expression expansion rule can
7360 propertize the contents.
462388b6
DG
7361 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7362 heredoc openers.
7363 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 7364
c1a6c0a4
JL
73652013-05-18 Juri Linkov <juri@jurta.org>
7366
7367 * man.el (Man-default-man-entry): Remove `-' from the end
7368 of the default value. (Bug#14400)
7369
8051fccd
GM
73702013-05-18 Glenn Morris <rgm@gnu.org>
7371
7372 * comint.el (comint-password-prompt-regexp):
7373 Allow "password for XXX" where XXX contains colons (eg https://...).
7374
5e80b74f
LL
73752013-05-18 Leo Liu <sdl.web@gmail.com>
7376
7377 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 7378 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
7379 (octave-source-directories): Don't check process.
7380 (octave-source-directories, octave-find-definition): Doc fix.
7381
521a54c5
GM
73822013-05-18 Glenn Morris <rgm@gnu.org>
7383
86a94b05
GM
7384 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7385 Remove backspace/delete bindings. (Bug#14392)
7386
521a54c5
GM
7387 * cus-dep.el (custom-make-dependencies): Sort the output.
7388 (custom-versions-load-alist): Convert comment to doc.
7389
42caeb89
LL
73902013-05-17 Leo Liu <sdl.web@gmail.com>
7391
7392 * newcomment.el (comment-search-backward): Stricter in finding
7393 comment start. (Bug#14303)
7394
7395 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7396 (octave-comment-start-skip): Properly anchored.
7397
e219dd97
LL
73982013-05-17 Leo Liu <sdl.web@gmail.com>
7399
fe1eb856
RS
7400 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7401 Clean up when turned off. (Bug#14395)
e219dd97
LL
7402 (smie--highlight-matching-block-overlay): No longer buffer-local.
7403 (smie-highlight-matching-block): Adjust.
7404
dc5dcb4b
PE
74052013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7406
7407 Doc string fix for "nanoseconds" (Bug#14406).
7408 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7409 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7410
1db165f0
JB
74112013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7412
7413 * calc/calc-units.el (math-extract-units): Preserve powers
7414 of units.
7415
c7a8fcac
LL
74162013-05-17 Leo Liu <sdl.web@gmail.com>
7417
7418 * subr.el (delete-consecutive-dups): New function.
7419 * ido.el (ido-set-matches-1): Use it.
7420 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7421 * ido.el (ido-remove-consecutive-dups): Remove.
7422
f678b18a
SM
74232013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7424
7425 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7426 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7427 regexp-opt's `words'.
7428
ebfe68e8
LL
74292013-05-16 Leo Liu <sdl.web@gmail.com>
7430
7431 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7432 (smie--highlight-matching-block-overlay)
7433 (smie--highlight-matching-block-lastpos)
7434 (smie--highlight-matching-block-timer): New variables.
7435 (smie-highlight-matching-block): New function.
7436 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7437 (smie-setup): Conditionally enable smie-blink-matching-open.
7438
bc8bc17d
WS
74392013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7440
7441 Sync with upstream verilog-mode r840.
7442 * progmodes/verilog-mode.el (verilog-mode-version)
7443 (verilog-mode-release-date): Update.
7444 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7445 (verilog-sig-tieoff): Fix string error on
7446 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7447 (verilog-read-decls): Fix parameters confusing
7448 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7449
df065a0b
EZ
74502013-05-16 Eli Zaretskii <eliz@gnu.org>
7451
7452 * subr.el (reveal-filename): New function.
7453
7454 * loadup.el: Compute Emacs executable versions on MS-Windows,
7455 where executables have the .exe extension. Add a hard link
7456 emacs-XX.YY.ZZ.exe on MS-Windows.
7457
7458 * Makefile.in (XARGS_LIMIT): New variable.
7459 (custom-deps, finder-data, autoloads)
7460 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7461 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7462 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7463 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7464
2d4bf34b
LL
74652013-05-16 Leo Liu <sdl.web@gmail.com>
7466
7467 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7468 (octave-mode-menu, octave-mode-map): Remove its uses.
7469
6b9c2d85
RZ
74702013-05-16 Reto Zimmermann <reto@gnu.org>
7471
7472 Sync with upstream vhdl mode v3.34.2.
7473 * progmodes/vhdl-mode.el: Use `push' throughout.
7474 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7475 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7476 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7477 (vhdl-actual-generic-name): New option to derive actual generic name.
7478 (vhdl-port-paste-signals): Replace formal by actual generics.
7479 (vhdl-beautify): New name for old group vhdl-align. Update users.
7480 (vhdl-beautify-options): New option.
7481 (vhdl-last-input-event): New compat alias. Use throughout.
7482 (vhdl-goto-line): Replace user level function `goto-line'.
7483 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7484 vhdl-fix-statement-buffer.
7485 (vhdl-create-mode-menu): Add some entries.
7486 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7487 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7488 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7489 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7490 to force statements on one line.
7491 (vhdl-remove-trailing-spaces-region):
7492 New, split from vhdl-remove-trailing-spaces.
7493 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7494 Respect vhdl-beautify-options.
7495 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7496 (vhdl-update-sensitivity-list): Not add with index if exists without.
7497 Not include array index with signal. Ignore keywords in comments.
7498 (vhdl-get-visible-signals): Regexp tweaks.
7499 (vhdl-template-component-inst): Handle empty library.
7500 (vhdl-template-type): Add template for 'enum' type.
7501 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7502 Use vhdl-replace-string.
7503 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7504 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7505 (vhdl-speedbar-initialize): Update for above name change.
7506 (vhdl-compose-wire-components): Fix in handling of constants.
7507 (vhdl-error-regexp-emacs-alist): New variable.
7508 (vhdl-error-regexp-add-emacs): New function;
7509 adds support for new compile.el (Emacs 22+)
7510 (vhdl-generate-makefile-1): Change target order for single lib. units.
7511 Allow use of absolute file names.
7512
9df4ec5e
LL
75132013-05-16 Leo Liu <sdl.web@gmail.com>
7514
7515 * simple.el (prog-indent-sexp): Indent enclosing defun.
7516
f5ba00a6
GM
75172013-05-15 Glenn Morris <rgm@gnu.org>
7518
ed8be7ff
GM
7519 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7520 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7521 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7522 (whitespace-highlight): Move to whitespace group.
7523
7524 * comint.el (comint-source):
7525 * pcmpl-linux.el (pcmpl-linux):
7526 * shell.el (shell-faces):
7527 * eshell/esh-opt.el (eshell-opt):
7528 * international/ccl.el (ccl): Remove empty custom groups.
7529
7530 * completion.el (dynamic-completion-mode):
7531 * jit-lock.el (jit-lock-debug-mode):
7532 * minibuffer.el (completion-in-region-mode):
7533 * type-break.el (type-break-mode-line-message-mode)
7534 (type-break-query-mode):
7535 * emulation/tpu-edt.el (tpu-edt-mode):
7536 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7537 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7538 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7539
7540 * term/xterm.el (xterm): Change parent group to terminals.
7541
7542 * master.el (master): Remove empty custom group.
7543 (master-mode): Remove unused :group argument.
7544 * textmodes/refill.el (refill): Remove empty custom group.
7545 (refill-mode): Remove unused :group argument.
7546
7547 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7548
82a7c41b
GM
7549 * cus-dep.el: Provide a feature.
7550 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7551 Don't mistakenly ignore files whose basenames match a basename
7552 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7553 Add a fallback method for getting :group.
f5ba00a6 7554
6d65486d
JL
75552013-05-15 Juri Linkov <juri@jurta.org>
7556
da547b32
JL
7557 * isearch.el (isearch-char-by-name): Rename from
7558 `isearch-insert-char-by-name'. Doc fix.
7559 (isearch-forward): Mention `isearch-char-by-name' in
7560 the docstring. (Bug#13348)
7561
6d65486d
JL
7562 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7563 `exit-minibuffer' instead of
7564 `isearch-nonincremental-exit-minibuffer'.
7565 (isearch-edit-string): Remove mention of
7566 `isearch-nonincremental-exit-minibuffer' from docstring.
7567 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7568 (isearch-forward-exit-minibuffer)
7569 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7570
c9990474
SM
75712013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7572
6e911150
SM
7573 * loadup.el: Just use unversioned DOC.
7574
c9990474
SM
7575 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7576 literals as extending to EOB.
7577 (nxml-last-fontify-end): Remove unused variable.
7578 (nxml-after-change1): Use with-silent-modifications.
7579 (nxml-extend-after-change-region): Simplify.
7580 (nxml-extend-after-change-region1): Remove function.
7581 (nxml-after-change1): Don't adjust for dependent regions.
7582 (nxml-fontify-matcher): Simplify.
7583 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7584 (xmltok-add-dependent): Remove function.
7585 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7586 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7587 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7588 unclosed <[[, <?, comment, and other literals as extending to EOB.
7589 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7590 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7591 Remove functions.
7592 (rng-do-some-validation-1): Don't mark dependent regions.
7593 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7594 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7595 (nxml-clear-dependent-regions): Remove functions.
7596 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7597 (nxml-ensure-scan-up-to-date):
7598 Don't clear&mark dependent regions.
7599
e3772e98
LL
76002013-05-15 Leo Liu <sdl.web@gmail.com>
7601
c9990474
SM
7602 * progmodes/octave.el (octave-goto-function-definition):
7603 Improve and fix callers.
e3772e98 7604
5ac2eb34
SM
76052013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7606
c46c57b0
SM
7607 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7608 the setter (bug#14387).
7609
5ac2eb34
SM
7610 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7611 surrounding group (bug#14402).
7612
180ed218
JL
76132013-05-14 Juri Linkov <juri@jurta.org>
7614
7615 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7616 (Bug#14390)
7617
0ac0fecb
GM
76182013-05-14 Glenn Morris <rgm@gnu.org>
7619
7620 * progmodes/f90.el (f90-imenu-generic-expression):
7621 Fix typo in 2013-05-08 change. (Bug#14402)
7622
2e78e6a7
JPG
76232013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7624
5ac2eb34
SM
7625 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7626 Remove signals for which replies are never received.
2e78e6a7 7627
53267cca
JPG
76282013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7629
7630 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7631 (gdb-handler-alist, gdb-handler-number): Remove variables.
7632 (gdb-handler-list): New variable.
7633 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7634 (gdb-pending-handler-p, gdb-handle-reply)
7635 (gdb-remove-all-pending-triggers): New functions.
7636 (gdb-discard-unordered-replies): New defcustom.
7637 (gdb-handler): New defstruct.
7638 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7639 instead of gdb-pending-triggers. Update docstring.
7640 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7641 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7642 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7643 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7644 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7645 (gdb-frame-handler): Pending triggers are now automatically managed.
7646 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7647 Remove argument.
7648 (gdb-input): Automatically handles pending triggers. Update docstring.
7649 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7650 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7651 Update comments.
7652 (gdb-done-or-error): Now use gdb-handle-reply.
7653
d04ce803
JPG
76542013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7655
7656 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7657 gdb-debug-log.
7658
0114073a
GM
76592013-05-14 Glenn Morris <rgm@gnu.org>
7660
7661 * subr.el (user-emacs-directory-warning): New option.
7662 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7663
4d25fd7e
LL
76642013-05-14 Leo Liu <sdl.web@gmail.com>
7665
7666 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7667 during redisplay.
7668 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7669 (octave-font-lock-texinfo-comment): Fix invalid search bound
7670 error: wrong side of point.
4d25fd7e 7671
27c8b6eb
GM
76722013-05-14 Glenn Morris <rgm@gnu.org>
7673
61aaeb01
GM
7674 * progmodes/flymake.el (flymake-xml-program): New option.
7675 (flymake-xml-init): Use it.
7676
5bf90bc5
GM
7677 * term/xterm.el: Provide a feature.
7678
7679 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7680
f4c7dfd2
GM
76812013-05-13 Glenn Morris <rgm@gnu.org>
7682
7683 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7684 Add compat aliases as a hack workaround. (Bug#14384)
7685
2aeb3a1d
LL
76862013-05-13 Leo Liu <sdl.web@gmail.com>
7687
b0e069c2
LL
7688 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7689 ###, and %!.
f5a9432f
LL
7690 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7691 C-M-q.
b0e069c2
LL
7692 (octave-comment-start-skip): Include %!.
7693 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7694
30ea8374
LL
76952013-05-12 Leo Liu <sdl.web@gmail.com>
7696
7697 * progmodes/octave.el (inferior-octave-startup): Store the value
7698 of __octave_srcdir__ for octave-source-directories.
7699 (inferior-octave-check-process): New function refactored out of
7700 inferior-octave-send-list-and-digest.
7701 (octave-source-directories)
7702 (octave-find-definition-filename-function): New variables.
7703 (octave-source-directories)
7704 (octave-find-definition-default-filename): New functions.
7705 (octave-find-definition): Improve to find functions implemented in C++.
7706
472a3834
GM
77072013-05-12 Glenn Morris <rgm@gnu.org>
7708
7709 * calendar/diary-lib.el (diary-outlook-format-1):
7710 Don't include dayname in the output. (Bug#14349)
7711
3191b52f
GM
77122013-05-11 Glenn Morris <rgm@gnu.org>
7713
0060ac73
GM
7714 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7715
3191b52f
GM
7716 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7717 Treat cc-provide like provide.
7718
e065ba74
KR
77192013-05-11 Kevin Ryde <user42@zip.com.au>
7720
7721 * cus-dep.el (custom-make-dependencies):
7722 Use generated-autoload-load-name for the sake of files such
7723 such cedet/semantic/bovine/c.el, where the base file name
7724 is not in load-path. (Bug#5277)
7725
36f84c37
GM
77262013-05-11 Glenn Morris <rgm@gnu.org>
7727
7728 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7729 Provide features.
7730
c8730c3a
LL
77312013-05-11 Leo Liu <sdl.web@gmail.com>
7732
7733 * progmodes/octave.el (octave-indent-comment): Improve.
7734 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7735 (octave-eldoc-function-signatures, octave-eldoc-function):
7736 New functions.
c8730c3a
LL
7737 (octave-mode, inferior-octave-mode): Add eldoc support.
7738
212e29f2
RS
77392013-05-11 Richard Stallman <rms@gnu.org>
7740
7741 * epa.el (epa-decrypt-file): Take output file name as argument
7742 and read it using `interactive'.
7743
083fe0d7
LL
77442013-05-11 Leo Liu <sdl.web@gmail.com>
7745
7746 * progmodes/octave.el (octave-beginning-of-line)
7747 (octave-end-of-line): Check before using up-list because it jumps
7748 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7749 (octave-indent-comment): New function.
7750 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7751 (octave-begin-keywords, octave-end-keywords)
7752 (octave-reserved-words, octave-smie-bnf-table)
7753 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7754
8582e4c4
GM
77552013-05-11 Glenn Morris <rgm@gnu.org>
7756
f20def1f
GM
7757 * faces.el (internal-face-x-get-resource):
7758 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7759 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7760 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7761 Fix declarations.
f20def1f 7762
445f95e2
GM
7763 * calc/calc-menu.el: Make it loadable in isolation.
7764
7765 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7766 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7767 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7768 (eudc-bbdb-query-internal): Require 'bbdb.
7769
99fb2756
GM
7770 * lpr.el (lpr-headers-switches):
7771 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7772
7773 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7774
0da7ad96
GM
7775 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7776
8582e4c4
GM
7777 * term.el (term-set-escape-char): Make it idempotent.
7778
f71c50d0
LL
77792013-05-10 Leo Liu <sdl.web@gmail.com>
7780
5ac2eb34
SM
7781 * progmodes/octave.el (inferior-octave-completion-table):
7782 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7783 completion due to bug#11906.
7784 (octave-beginning-of-defun): Re-write to be more general.
7785
d5837773
GM
77862013-05-10 Glenn Morris <rgm@gnu.org>
7787
7788 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7789
027c0f75
SM
77902013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * comint.el (comint-redirect-send-command-to-process): Use :around
7793 rather than :override for comint-redirect-filter.
7794 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7795 Call it instead of comint-redirect-original-filter-function (which
7796 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7797
4465bfb4
JD
77982013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7799
7800 * frame.el (display-monitor-attributes-list): Add NS case.
7801 (ns-display-monitor-attributes-list): Declare.
7802
2d809ffa 78032013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7804
7805 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7806
e54eeb9b
GM
78072013-05-09 Glenn Morris <rgm@gnu.org>
7808
56cd351d
GM
7809 * international/fontset.el (vertical-centering-font-regexp):
7810 Set standard-value.
7811
d84b6108
GM
7812 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7813
a931698a
GM
7814 * bookmark.el (bookmark-search-delay):
7815 * cus-start.el (vertical-centering-font-regexp):
7816 * ps-mule.el (ps-mule-font-info-database-default):
7817 * ps-print.el (ps-default-fg, ps-default-bg):
7818 * type-break.el (type-break-good-break-interval):
7819 * whitespace.el (whitespace-indentation-regexp)
7820 (whitespace-space-after-tab-regexp):
7821 * emacs-lisp/testcover.el (testcover-1value-functions)
7822 (testcover-noreturn-functions, testcover-progn-functions)
7823 (testcover-prog1-functions):
7824 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7825 * eshell/em-glob.el (eshell-glob-translate-alist):
7826 * play/tetris.el (tetris-tty-colors):
7827 * progmodes/cpp.el (cpp-face-default-list):
7828 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7829 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7830 (idlwave-help-browser-generic-args):
7831 * progmodes/make-mode.el (makefile-special-targets-list):
7832 * progmodes/python.el (python-shell-virtualenv-path):
7833 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7834 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7835 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7836 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7837 * textmodes/reftex-vars.el (reftex-format-label-function):
7838 * textmodes/remember.el (remember-diary-file): Fix custom types.
7839
e54eeb9b
GM
7840 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7841 Add :version.
7842
455851dd
LL
78432013-05-09 Leo Liu <sdl.web@gmail.com>
7844
7845 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7846 Restore file completion. (Bug#14300)
455851dd
LL
7847 (inferior-octave-startup): Fix incorrect highlighting for the
7848 first prompt.
7849
a9e4425b
SM
78502013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * progmodes/ruby-mode.el: First cut at SMIE support.
7853 (ruby-use-smie): New var.
7854 (ruby-smie-grammar): New constant.
7855 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7856 (ruby-smie--forward-token, ruby-smie--backward-token)
7857 (ruby-smie-rules): New functions.
7858 (ruby-mode-variables): Setup SMIE if applicable.
7859
060ca408
EZ
78602013-05-08 Eli Zaretskii <eliz@gnu.org>
7861
7862 * simple.el (line-move-visual): Signal beginning/end of buffer
7863 only if vertical-motion moved less than it was requested. Avoids
7864 silly incorrect error messages when there are display strings with
7865 multiple newlines at EOL.
7866
1d5963cc
SM
78672013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7868
7869 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7870 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7871 (prolog-char-quote-workaround):
7872 * progmodes/cperl-mode.el (cperl-under-as-char):
7873 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7874 Mark as obsolete.
7875 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7876 their declaration.
7877 (vhdl-mode-syntax-table-init): Remove.
7878
c9990474
SM
7879 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7880 last change.
1d5963cc
SM
7881
7882 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7883 syntax for "_".
7884 (ld-script-font-lock-keywords):
7885 Change regexps to use things like \_< and \_>.
7886
7887 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7888 Change all regexps to use things like \_< and \_>.
7889
7890 * progmodes/autoconf.el (autoconf-definition-regexp)
7891 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7892 Handle a _ with symbol syntax.
7893 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7894
c9990474
SM
7895 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7896 Consolidate declaration.
1d5963cc
SM
7897 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7898 the declaration.
7899 (ada-create-syntax-table): Remove.
7900 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7901 already has the right syntax nowadays.
7902 (ada-goto-next-word): Don't change the syntax of "_".
7903
7904 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7905 with-wrapper-hook.
7906
72d3cfca
SS
79072013-05-08 Sam Steingold <sds@gnu.org>
7908
7909 * thingatpt.el (thing-at-point): Accept optional second argument
7910 NO-PROPERTIES to strip the text properties from the return value.
7911 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7912 to `thing-at-point' instead of stripping the properties ourselves.
7913 Also, when `thing-at-point' fails to find a url, prepend "http://"
7914 to the filename at point on the assumption that the user is
7915 pointing at something like gnu.org/gnu.
7916
5cb15713
JB
79172013-05-08 Juanma Barranquero <lekktu@gmail.com>
7918
7919 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7920 * faces.el (crm-separator):
7921 Silence byte-compiler.
7922
7923 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7924 (tool-bar-map): Remove unneeded defvars.
7925
ea78b95b
LL
79262013-05-08 Leo Liu <sdl.web@gmail.com>
7927
7928 Re-work a fix for bug#10994 based on Le Wang's patch.
7929 * ido.el (ido-remove-consecutive-dups): New helper.
7930 (ido-completing-read): Use it.
7931 (ido-chop): Revert fix for bug#10994.
7932
dc7466df
AS
79332013-05-08 Adam Spiers <emacs@adamspiers.org>
7934
7935 * cus-edit.el (custom-save-variables):
7936 Pretty-print long values. (Bug#14187)
7937
9ecf672a
GM
79382013-05-08 Glenn Morris <rgm@gnu.org>
7939
7940 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7941 (m4-mode-syntax-table): Init in the defvar.
7942 (m4-mode-abbrev-table): Let define-derived-mode define it.
7943
3f555be8
TT
79442013-05-08 Tom Tromey <tromey@redhat.com>
7945
7946 * progmodes/m4-mode.el (m4-mode-syntax-table):
7947 Do not treat "_" as word constituent. (Bug#14167)
7948
7cc8ae06
GM
79492013-05-07 Glenn Morris <rgm@gnu.org>
7950
4f58bc06
GM
7951 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7952 Remove explicit eshell-isearch-cancel-map.
7953
7cc8ae06
GM
7954 * progmodes/f90.el (f90-smart-end-names): New option.
7955 (f90-smart-end): Doc fix.
7956 (f90-end-block-optional-name): New constant.
7957 (f90-block-match): Respect f90-smart-end-names.
7958
ceb57e59
SM
79592013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7962 about implicit semi-colons (bug#14218).
7963
4e3f9230
YM
79642013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7965
7966 * frame.el (display-monitor-attributes-list)
7967 (frame-monitor-attributes): New functions.
7968
203a5572
LL
79692013-05-06 Leo Liu <sdl.web@gmail.com>
7970
7971 * progmodes/octave.el (octave-syntax-propertize-function): Change
7972 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7973 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7974 (octave-completion-at-point): Rename from
203a5572
LL
7975 octave-completion-at-point-function.
7976 (inferior-octave-directory-tracker): Robustify.
7977 (octave-text-functions): Remove and fix its uses. No such things
7978 any more.
7979
ee6cff99
SM
79802013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7981
7982 * emacs-lisp/trace.el (trace--display-buffer): New function.
7983 (trace-make-advice): Use it.
7984
32985194
JL
79852013-05-06 Juri Linkov <juri@jurta.org>
7986
7987 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7988 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7989 Doc fix.
7990 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7991 in the help string. (Bug#12985)
7992
a1c700de
KD
79932013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7994
7995 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7996
c67c0839
SM
79972013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7998
323885fd
SM
7999 * progmodes/perl-mode.el: Add support for here documents.
8000 (perl-syntax-propertize-function): Match here-doc markers.
8001 (perl-syntax-propertize-special-constructs): Find their end.
8002 (perl-imenu-generic-expression): Use [:alnum:].
8003
c67c0839
SM
8004 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8005 (advice--add-function): Refresh the advice if already present
8006 (bug#14317).
8007
d491e7a8
IA
80082013-05-06 Ivan Andrus <darthandrus@gmail.com>
8009
8010 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8011
ddf9925e
GM
80122013-05-06 Glenn Morris <rgm@gnu.org>
8013
7cc3af27
GM
8014 * w32-fns.el (w32-charset-info-alist): Declare.
8015
16e343d6
GM
8016 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8017 of its defcustom properties.
8018 (eshell-cmpl-initialize): No need to load pcomplete.
8019
7d889a47
GM
8020 * generic-x.el: No need to require comint when compiling.
8021
ddf9925e
GM
8022 * net/eudc-export.el: Make it loadable without bbdb.
8023 (top-level): Use require rather than load-library.
8024 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8025 (eudc-batch-export-records-to-bbdb)
8026 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8027 Require bbdb.
8028
1e2c18df
SM
80292013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8032 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8033 some tweaks, instead.
8034
02502a5f
LL
80352013-05-05 Leo Liu <sdl.web@gmail.com>
8036
8037 * progmodes/octave.el (octave-font-lock-keywords)
8038 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8039 (inferior-octave-send-list-and-digest): Improve error message.
8040 (octave-mode, inferior-octave-mode): Use setq-local.
8041 (octave-help): Set info-lookup-mode.
8042
0dc04f42
RS
80432013-05-05 Richard Stallman <rms@gnu.org>
8044
6c54491c
RS
8045 * vc/compare-w.el (compare-windows-whitespace):
8046 Treat no-break space as whitespace.
8047
0dc04f42
RS
8048 * mail/rmailsum.el (rmail-summary-rmail-update):
8049 Detect empty summary and don't change selected message.
8050 (rmail-summary-goto-msg): Likewise.
8051
df8f35df
RS
8052 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8053 Doc fixes, rename args.
8054
5356e1a3
AM
80552013-05-05 Alan Mackenzie <acm@muc.de>
8056
8057 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8058
d44014cb
JL
80592013-05-05 Juri Linkov <juri@jurta.org>
8060
8061 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8062 to not add the length of the summary segment to the return value.
8063 (Bug#14125)
8064
c129b51f
LL
80652013-05-05 Leo Liu <sdl.web@gmail.com>
8066
8067 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8068 (inferior-octave-output-filter): Remove.
8069 (octave-send-region, inferior-octave-startup): Fix callers.
8070 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8071 (octave-binary-file-extensions): New user variable.
8072 (octave-find-definition): Confirm if opening binary files.
8073 (octave-help-file): Use octave-find-definition to get the binary
8074 confirmation.
8075 (octave-help): Adjust for octave-help-file change.
8076
aa7dab97
SM
80772013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8078
8079 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8080 Merge the two entries that handle function definitions.
8081 (pascal--syntax-propertize): New const.
8082 (pascal-mode): Use it. Use setq-local.
8083
fd3a9a6b
GM
80842013-05-04 Glenn Morris <rgm@gnu.org>
8085
8086 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8087 (diary-from-outlook): Respect diary-from-outlook-function.
8088
30c7e542
SM
80892013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8092 Move the declaration from C.
8093 (read-minibuffer, eval-minibuffer): Move from C.
8094 (completion-setup-function): Avoid minibuffer-completion-contents.
8095
b54f978b
LL
80962013-05-03 Leo Liu <sdl.web@gmail.com>
8097
8098 * progmodes/octave.el (octave-font-lock-keywords): Do not
8099 dehighlight 'end' in comments or strings.
30c7e542
SM
8100 (octave-completing-read, octave-goto-function-definition):
8101 New helpers.
d4d0f9b3
LL
8102 (octave-help-buffer): New user variable.
8103 (octave-help-file, octave-help-function): New button types.
8104 (octave-help): New command and bind it to C-h ;.
8105 (octave-find-definition): New command and bind it to M-.
d74a1581 8106 (user-error): Alias to error if not defined.
b54f978b 8107
27135018
LL
81082013-05-02 Leo Liu <sdl.web@gmail.com>
8109
8110 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8111 for \. (bug#14332)
8112 (octave-font-lock-keywords): Include [ and {.
8113
0d634d3a
LL
81142013-05-02 Leo Liu <sdl.web@gmail.com>
8115
8116 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8117 (inferior-octave): Remove calling comint-mode and return the buffer.
8118 (inferior-octave-startup): Cosmetic changes.
8119
b4c8295e
LL
81202013-05-02 Leo Liu <sdl.web@gmail.com>
8121
30c7e542
SM
8122 * progmodes/octave.el (octave-syntax-propertize-function):
8123 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 8124
f12ad6ec
GM
81252013-05-02 Glenn Morris <rgm@gnu.org>
8126
8127 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8128 * desktop.el (vc-dir-mode): Just autoload it here.
8129
30cac1e0
AM
81302013-05-02 Alan Mackenzie <acm@muc.de>
8131
8132 Eliminate variable c-standard-font-lock-fontify-region-function.
8133 * progmodes/cc-mode.el
8134 (c-standard-font-lock-fontify-region-function): Remove.
8135 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8136
d8ef28b1
LL
81372013-05-01 Leo Liu <sdl.web@gmail.com>
8138
2640d52e 8139 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 8140 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 8141 variables were removed from Octave in 2007.
d8ef28b1
LL
8142 (inferior-octave-startup): Fix uses.
8143 (comint-line-beginning-position): Remove compatibility code for
8144 emacs 21.
8145
ac63ec89
JL
81462013-05-01 Juri Linkov <juri@jurta.org>
8147
8148 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8149
9e9be37c
JL
81502013-05-01 Juri Linkov <juri@jurta.org>
8151
8152 * comint.el (comint-previous-matching-input): Don't print message
8153 "History item: %d" when `isearch-mode' is active.
8154 (comint-history-isearch-message): Print message "History item: %d"
8155 when `comint-input-ring-index' is not empty and this function is
8156 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8157
9b92c13b
LL
81582013-05-01 Leo Liu <sdl.web@gmail.com>
8159
8160 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8161 definitions. Use completion-at-point to insert keywords.
8162 (octave-abbrev-start): Remove.
8163 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8164
b12d33d7
LL
81652013-04-30 Leo Liu <sdl.web@gmail.com>
8166
8167 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8168 change.
8169
3d1c39fa
AM
81702013-04-30 Alan Mackenzie <acm@muc.de>
8171
8172 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
8173 * progmodes/cc-engine.el (c-back-over-member-initializers):
8174 new function.
3d1c39fa
AM
8175 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8176 (most) member init lists.
8177
5147fc17
RS
81782013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8179
8180 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8181 variable.
8182
5b78d7fc
LL
81832013-04-30 Leo Liu <sdl.web@gmail.com>
8184
8185 * progmodes/octave.el (octave-variables): Remove. No builtin
8186 variables any more. All converted to functions.
8187 (octave-font-lock-keywords, octave-completion-at-point-function):
8188 Fix uses.
8189 (octave-font-lock-texinfo-comment): New user variable.
8190 (octave-texinfo-font-lock-keywords): New variable for texinfo
8191 comment block.
8192 (octave-function-comment-block): New face.
8193 (octave-font-lock-texinfo-comment): New function.
8194 (octave-mode): Font lock texinfo comment block.
8195
38d8527b
LL
81962013-04-29 Leo Liu <sdl.web@gmail.com>
8197
8198 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8199 indexing expression.
8200 (octave-continuation-string): Do not use \.
8201 (inferior-octave-complete-impossible): Remove.
8202 (inferior-octave-completion-table)
8203 (inferior-octave-completion-at-point): Remove its uses.
8204 (inferior-octave-startup): completion_matches was introduced to
8205 Octave in 1996 so safe to assume it.
8206 (octave-function-file-comment): Improve to follow how Octave does it.
8207 (octave-update-function-file-comment): Tweak.
8208
2ec12cb0
LL
82092013-04-29 Leo Liu <sdl.web@gmail.com>
8210
8211 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8212 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8213 (octave-function-file-comment): Fix typo.
8214 (octave-sync-function-file-names): Use read-char-choice.
8215
6eaed048
JB
82162013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8217
8218 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8219 to t for the less important warnings.
8220
3ffa2d4f
DH
82212013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8222
8223 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8224
685c9501
GM
82252013-04-27 Glenn Morris <rgm@gnu.org>
8226
8227 * vc/log-view.el (log-view-current-entry):
8228 Treat "---" separator lines as part of the following rev. (Bug#14169)
8229
0208ede7
JL
82302013-04-27 Juri Linkov <juri@jurta.org>
8231
8232 * subr.el (read-number): Doc fix about using it by interactive
8233 code letter `n'. (Bug#14254)
8234
5db9dace
JL
82352013-04-27 Juri Linkov <juri@jurta.org>
8236
8237 * desktop.el (desktop-auto-save-timeout): New option.
8238 (desktop-file-checksum): New variable.
8239 (desktop-save): Add optional arg `auto-save' and don't auto-save
8240 if nothing changed.
8241 (desktop-auto-save-timer): New variable.
8242 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8243 (after-init-hook): Call `desktop-auto-save-set-timer'.
8244 Suggested by Reuben Thomas <rrt@sc3d.org> in
8245 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8246
b7260dd4
LL
82472013-04-27 Leo Liu <sdl.web@gmail.com>
8248
8249 * progmodes/octave.el (octave-function-file-p)
8250 (octave-skip-comment-forward, octave-function-file-comment)
8251 (octave-update-function-file-comment): New functions.
8252 (octave-mode-map): Bind C-c ; to
8253 octave-update-function-file-comment.
8254 (octave-mode-menu): Add octave-update-function-file-comment.
8255 (octave-mode, inferior-octave-mode): Fix doc-string.
8256 (octave-insert-defun): Conform to Octave's coding convention.
8257 (Bug#14285)
8258
8259 * files.el (basic-save-buffer): Don't let errors in
8260 before-save-hook prevent saving buffer.
8261
c46da669
RW
82622013-04-20 Roland Winkler <winkler@gnu.org>
8263
8264 * faces.el (read-face-name): Use completing-read if arg multiple
8265 is nil.
8266
a81ee1eb
IL
82672013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8268
8269 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
8270 displayed, move point to after the totals line.
8271 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
8272 for the details.
8273
4fac34ce
SM
82742013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8277 Add current dir to the load-path.
8278 (package-generate-autoloads): Don't rely on
8279 autoload-ensure-default-file.
8280
f6bfc063
RT
82812013-04-26 Reuben Thomas <rrt@sc3d.org>
8282
d40ab5cf
BG
8283 * textmodes/remember.el (remember-store-in-files): Document that
8284 the file name format is passed to `format-time-string'.
f6bfc063 8285
e55d3b04
LL
82862013-04-26 Leo Liu <sdl.web@gmail.com>
8287
8288 * progmodes/octave.el (octave-sync-function-file-names): New function.
8289 (octave-mode): Use it in before-save-hook.
8290
e53052d3
SM
82912013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8292
140ef50c
SM
8293 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8294 (bug#14274).
8295
e53052d3
SM
8296 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8297 \n and comment, even if it's not an implicit ; (bug#14218).
8298
af80458d 82992013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
8300
8301 * subr.el (read-number): Once more use `read' rather than
8302 `string-to-number', to trap non-numeric input. (Bug#14254)
8303
af80458d 83042013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
8305
8306 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8307 Use `syntax-multiline' text property consistently instead of
8a621d53 8308 `font-lock-multiline'. (Bug#14237)
70203c2e 8309
e6ea1f6c
GM
83102013-04-26 Glenn Morris <rgm@gnu.org>
8311
8312 * emacs-lisp/shadow.el (list-load-path-shadows):
8313 No longer necessary to check for duplicate simple.el, since
8314 2012-07-07 change to init_lread to not include installation lisp
8315 directories in load-path when running uninstalled. (Bug#14270)
8316
070ccca4
LL
83172013-04-26 Leo Liu <sdl.web@gmail.com>
8318
8319 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8320 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 8321 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
8322 octave-in-string-or-comment-p.
8323 (octave-in-comment-p, octave-in-string-p)
8324 (octave-in-string-or-comment-p): Replace defsubst with defun.
8325
9d1c5fb6
PE
83262013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8327
8328 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8329
c034abda
BG
83302013-04-25 Bastien Guerry <bzg@gnu.org>
8331
8332 * textmodes/remember.el (remember-data-directory)
8333 (remember-directory-file-name-format): Fix custom types.
8334
584ea277
LL
83352013-04-25 Leo Liu <sdl.web@gmail.com>
8336
e53052d3
SM
8337 * progmodes/octave.el (octave-completion-at-point-function):
8338 Make use of inferior octave process.
584ea277
LL
8339 (octave-initialize-completions): Remove.
8340 (inferior-octave-completion-table): New function.
8341 (inferior-octave-completion-at-point): Use it.
8342 (octave-completion-alist): Remove.
8343
1693b06a
SM
83442013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8347 (opascal-mode-syntax-table): New var.
8348 (opascal-literal-kind, opascal-is-literal-end)
8349 (opascal-literal-token-at): Rewrite.
8350 (opascal--literal-start-re, opascal-font-lock-keywords)
8351 (opascal--syntax-propertize): New constants.
8352 (opascal-font-lock-defaults): Adjust.
8353 (opascal-mode): Use them. Set comment-<foo> variables as well.
8354 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8355 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8356 (delphi-other-face, opascal-other-face): Remove face variables.
8357 (opascal-save-state): Remove macro.
8358 (opascal-fontifying-progress-step): Remove constant.
8359 (opascal--ignore-changes): Remove var.
8360 (opascal-set-token-property, opascal-parse-next-literal)
8361 (opascal-is-stable-literal, opascal-complete-literal)
8362 (opascal-is-literal-start, opascal-face-of)
8363 (opascal-parse-region, opascal-parse-region-until-stable)
8364 (opascal-fontify-region, opascal-after-change)
8365 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8366 (opascal-debug-parse-region, opascal-debug-parse-window)
8367 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8368 (opascal-debug-fontify-buffer): Remove.
8369 (opascal-debug-mode-map): Adjust accordingly.
8370
be64c05d
LL
83712013-04-25 Leo Liu <sdl.web@gmail.com>
8372
8373 Merge octave-mod.el and octave-inf.el into octave.el with some
8374 cleanups.
8375 * progmodes/octave.el: New file renamed from octave-mod.el.
8376 * progmodes/octave-inf.el: Merged into octave.el.
8377 * progmodes/octave-mod.el: Renamed to octave.el.
8378
d79d37bd
TH
83792013-04-25 Tassilo Horn <tsdh@gnu.org>
8380
8381 * textmodes/reftex-vars.el
8382 (reftex-label-ignored-macros-and-environments): New defcustom.
8383
8384 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8385
ced3fc5d
SM
83862013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8387
8388 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8389 (smie-indent-keyword): Improve the check to ensure that the next
8390 comment is really on the same line.
8391 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8392
8393 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8394 semi-colons if the line is not otherwise empty (bug#14218).
8395
1c141dad
GM
83962013-04-25 Glenn Morris <rgm@gnu.org>
8397
8398 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8399
5058062a
SM
84002013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8401
8402 * progmodes/opascal.el (opascal-set-token-property): Rename from
8403 opascal-set-text-properties and only set `token' (bug#14134).
8404 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8405 (opascal-literal-text-properties): Remove.
8406 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8407 Adjust callers.
8408
5db9dace 84092013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8410
8411 * textmodes/remember.el (remember-handler-functions): Add an
8412 option for a new handler `remember-store-in-files'.
8413 (remember-data-directory, remember-directory-file-name-format):
8414 New options.
8415 (remember-store-in-files): New function to store remember notes
8416 as separate files within a directory.
8417
4391916c
MH
84182013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8419
8420 * progmodes/compile.el (compilation-next-error-function):
8421 Pass "formats" to compilation-find-file (bug#11777).
8422
bb7cdf58
GM
84232013-04-24 Glenn Morris <rgm@gnu.org>
8424
3b8fe752 8425 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8426 * vc/vc-hg.el (vc-hg-print-log):
8427 * vc/vc-svn.el (vc-svn-print-log):
8428 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8429
bb7cdf58
GM
8430 * vc/vc-bzr.el (vc-bzr-print-log):
8431 * vc/vc-cvs.el (vc-cvs-print-log):
8432 * vc/vc-git.el (vc-git-print-log):
8433 * vc/vc-hg.el (vc-hg-print-log):
8434 * vc/vc-mtn.el (vc-mtn-print-log):
8435 * vc/vc-rcs.el (vc-rcs-print-log):
8436 * vc/vc-sccs.el (vc-sccs-print-log):
8437 * vc/vc-svn.el (vc-svn-print-log):
8438 * vc/vc.el (vc-print-log-internal): Doc fixes.
8439
b46a056e
GM
84402013-04-23 Glenn Morris <rgm@gnu.org>
8441
8442 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8443 Remove venerable code attempting to avoid substitute-command-keys.
8444
0aecf718
TH
84452013-04-23 Tassilo Horn <tsdh@gnu.org>
8446
4391916c
MH
8447 * textmodes/reftex-vars.el (reftex-label-regexps):
8448 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8449
117f94cf
SM
84502013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8451
4391916c 8452 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8453 Use lexical-binding.
8454 (jit-lock-force-redisplay): Use markers, check buffer's continued
8455 existence and beware narrowed buffers.
8456 (jit-lock-fontify-now): Adjust call accordingly.
8457
1d829c64
SM
84582013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8461 to avoid misleading the user.
8462
72d548a9
LL
84632013-04-22 Leo Liu <sdl.web@gmail.com>
8464
8465 * info-look.el: Prefer latex2e.info. (Bug#14240)
8466
d0853629
MA
84672013-04-22 Michael Albinus <michael.albinus@gmx.de>
8468
8469 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8470
8471 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8472 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8473 (tramp-set-completion-function, tramp-parse-putty):
8474 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8475 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8476 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8477 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8478 (tramp-call-local-coding-command): Use `tramp-call-process'
8479 instead of `tramp-compat-call-process'.
8480
8481 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8482 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8483 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8484 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8485 (tramp-maybe-send-script): Check for Perl binary.
8486 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8487
38cc0210
DU
84882013-04-22 Daiki Ueno <ueno@gnu.org>
8489
8490 * epg.el (epg-context-pinentry-mode): New function.
8491 (epg-context-set-pinentry-mode): New function.
8492 (epg--start): Pass --pinentry-mode option to gpg command.
8493
cc641ee1
XF
84942013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8495
02d844b5 8496 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8497 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8498 `completion-at-point'. (Bug#13774)
5d4e5c31 8499
cc641ee1
XF
8500 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8501 default key binding for `describe-distribution' has been moved to
8502 `C-h C-o'. (Bug#13970)
8503
1b42ee43
GM
85042013-04-21 Glenn Morris <rgm@gnu.org>
8505
8506 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8507 Add doc strings.
8508 (vc-print-log): Clarify interactive prompt.
8509
a6d63d97
GM
85102013-04-20 Glenn Morris <rgm@gnu.org>
8511
8512 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8513 No longer include timestamp etc information.
8514
d7f5c16f
RW
85152013-04-20 Roland Winkler <winkler@gnu.org>
8516
8517 * faces.el (read-face-name): Bug fix, return just one face if arg
8518 multiple is nil. (Bug#14209)
8519
bcd7a0a4
SM
85202013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8523 (remove-function): Autoload.
8524
8525 * comint.el (comint-redirect-original-filter-function): Remove.
8526 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8527 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8528 (vc-cvs-annotate-command):
bcd7a0a4
SM
8529 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8530 * progmodes/prolog.el (prolog-consult-compile):
8531 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8532 Use add/remove-function instead.
8533 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8534 (gud-tooltip-process-output, gud-tooltip-tips):
8535 Use add/remove-function instead.
8536 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8537 (scheme-interaction-mode, exit-scheme-interaction-mode):
8538 Use add/remove-function instead.
8539
8540 * vc/vc-dispatcher.el: Use lexical-binding.
8541 (vc--process-sentinel): Rename from vc-process-sentinel.
8542 Change last arg to be the code to run. Don't use vc-previous-sentinel
8543 and vc-sentinel-commands any more.
8544 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8545 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8546
e36b2d20 85472013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8548
bcd7a0a4 8549 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8550 Handle function names with a single character. (Bug#14111)
4d3268ba 8551
781b4af6 85522013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8553
8554 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8555 for subroutines defined in an eval (bug#14182).
8556
7d688336
TV
85572013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8558
8559 * bookmark.el (bookmark-completing-read): Improve handling of empty
8560 string (bug#14176).
8561
31dcede0
SM
85622013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8565
adc31213
FEG
85662013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8567
8568 New faster Imenu implementation (bug#14058).
8569 * progmodes/python.el:
8570 (python-imenu-prev-index-position):
8571 (python-imenu-format-item-label-function)
8572 (python-imenu-format-parent-item-label-function)
8573 (python-imenu-format-parent-item-jump-label-function):
8574 New vars.
8575 (python-imenu-format-item-label)
8576 (python-imenu-format-parent-item-label)
8577 (python-imenu-format-parent-item-jump-label)
8578 (python-imenu--put-parent, python-imenu--build-tree)
8579 (python-imenu-create-index, python-imenu-create-flat-index)
8580 (python-util-popn): New functions.
8581 (python-mode): Set imenu-create-index-function to
8582 python-imenu-create-index.
8583
cdca8255
SM
85842013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * winner.el (winner-active-region): Use region-active-p, activate-mark
8587 and deactivate-mark (bug#14225).
8588
8589 * simple.el (deactivate-mark): Don't inline it.
8590
beb42340
MA
85912013-04-18 Michael Albinus <michael.albinus@gmx.de>
8592
8593 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8594
fc7f4d7e
TH
85952013-04-18 Tassilo Horn <tsdh@gnu.org>
8596
8597 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8598 file extensions from the archive-mode entry in order to prefer
8599 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8600
29f47822
LL
86012013-04-18 Leo Liu <sdl.web@gmail.com>
8602
8603 * bindings.el (help-event-list): Add ?\?.
8604
d36ed1c8
SM
86052013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8606
8607 * subr.el (with-wrapper-hook): Declare obsolete.
8608 * simple.el (filter-buffer-substring-function): New hook.
8609 (filter-buffer-substring): Use it.
8610 (filter-buffer-substring-functions): Mark obsolete.
8611 * minibuffer.el (completion-in-region-function): New hook.
8612 (completion-in-region): Use it.
8613 (completion-in-region-functions): Mark obsolete.
8614 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8615 * abbrev.el (abbrev-expand-function): New hook.
8616 (expand-abbrev): Use it.
8617 (abbrev-expand-functions): Mark obsolete.
8618 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8619 and :filter-return.
8620
04754d36
FEG
86212013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8622
8623 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8624 and do not care about match data.
8625
dd8791e9
SM
86262013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8629 completion tables when completing error conditions and
8630 `declare' arguments.
8631 (lisp-complete-symbol, field-complete): Mark as obsolete.
8632 (check-parens): Unmatched parens are user errors.
8633 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8634
ffe54a13
AM
86352013-04-17 Michal Nazarewicz <mina86@mina86.com>
8636
dd8791e9
SM
8637 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8638 command changed buffer (ie. `flyspell-pre-buffer' is not current
8639 buffer), which prevents making decisions based on invalid value of
8640 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8641 cause an error when `flyspell-pre-point' was nil after switching
8642 buffers.
8643 (flyspell-post-command-hook): No longer needs to change buffers when
8644 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8645
ec7e39f2
AM
86462013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8647
8648 * textmodes/ispell.el (ispell-add-per-file-word-list):
8649 Fix `flyspell-correct-word-before-point' error when accepting
8650 words and `coment-padding' is an integer by using
8651 `comment-normalize-vars' (Bug #14214).
8652
083850a6
FEG
86532013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8654
8655 New defun movement commands.
8656 * progmodes/python.el (python-nav--syntactically)
8657 (python-nav--forward-defun, python-nav-backward-defun)
8658 (python-nav-forward-defun): New functions.
8659
619ed6e1
FEG
86602013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8661
8662 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8663 (python-syntax-context): Use named compiler-macro for backwards
8664 compatibility with Emacs 24.x.
8665
7a1beb6c
LL
86662013-04-17 Leo Liu <sdl.web@gmail.com>
8667
8668 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8669 octave-hide-process-buffer.
8670
2d3fa3e5
SM
86712013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8672
8673 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8674 (bug#14216).
8675
7ce5be54
JPG
86762013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8677
8678 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8679 Fix adjustment of offset when receiving incomplete responses from GDB
8680 (bug#14129).
8681
351edece
SM
86822013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8685 python-mode-abbrev-table.
8686 (python-skeleton-define): Adjust accordingly.
8687 (python-mode-abbrev-table): New table that inherits from it so that
8688 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8689
8690 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8691 (abbrev-symbol): Use it.
8692 (abbrev--before-point): Use it since we already handle inheritance.
8693
613f9481
LL
86942013-04-16 Leo Liu <sdl.web@gmail.com>
8695
8696 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8697 binding to info-lookup-symbol.
8698
51646b62
JB
86992013-04-16 Juanma Barranquero <lekktu@gmail.com>
8700
8701 * minibuffer.el (completion--twq-all):
8702 * term/ns-win.el (ns-initialize-window-system):
8703 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8704
efb3f01d
SM
87052013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8706
36c0a301
SM
8707 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8708 global bindings.
8709
efb3f01d
SM
8710 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8711
fb549d64
DG
87122013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8713
8714 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8715 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8716 to nil.
8717 (ruby-end-of-defun): Remove the unused arg, change the docstring
8718 to reflect that this function is only used as the value of
8719 `end-of-defun-function'.
8720 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8721 to reflect an earlier change that beginning/end-of-defun functions
8722 jump between methods in a class definition, as well as top-level
8723 functions.
8724
21e8fe2f
SM
87252013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8726
8727 * minibuffer.el (minibuffer-complete): Don't just scroll
8728 a *Completions* that's been iconified.
8729 (minibuffer-force-complete): Make sure repetitions do cycle when going
8730 through completion-in-region -> minibuffer-complete.
8731
20e527d0
AM
87322013-04-15 Alan Mackenzie <acm@muc.de>
8733
8734 Correct the placement of c-cpp-delimiters when there're #s not at
8735 col 0.
8736
8737 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8738 place a submatch around the #.
21e8fe2f
SM
8739 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8740 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8741 on the #, not BOL.
8742
dabefae5
SM
87432013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8744
8745 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8746 (advice--member-p): New arg `name'.
8747 (advice--add-function, advice-member-p): Use it (bug#14202).
8748
85c9ab64
AM
87492013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8750
8751 Reformulate java imenu-generic-expression.
8752 The old expression contained ill formed regexps.
8753
8754 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8755 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8756 (cc-imenu-java-method-arg-regexp): New defconsts.
8757 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8758 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8759 handling of spaces in the regexp.
8760
0f821d99
AM
87612013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8762
8763 * textmodes/ispell.el (ispell-command-loop): Remove
8764 flyspell highlight of a word when ispell accepts it (bug #14178).
8765
eb922adf
MA
87662013-04-15 Michael Albinus <michael.albinus@gmx.de>
8767
8768 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8769 uses code from the previous `ange-ftp-run-real-handler'.
8770 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8771 only in case that function exist. This is needed for proper
8772 unloading of Tramp.
8773
4d9a0979
TH
87742013-04-15 Tassilo Horn <tsdh@gnu.org>
8775
8776 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8777
8778 * textmodes/reftex.el (reftex-compile-variables): Use it.
8779
a829b0dc
SM
87802013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8781
91e8293c
SM
8782 * files.el (normal-mode): Only use default major-mode if no other mode
8783 was specified.
8784
830aed4d
SM
8785 * emacs-lisp/trace.el (trace-values): New function.
8786
a829b0dc
SM
8787 * files.el: Allow : in local variables (bug#14089).
8788 (hack-local-variable-regexp): New var.
8789 (hack-local-variables-prop-line, hack-local-variables): Use it.
8790
7ae9f0fb
RW
87912013-04-13 Roland Winkler <winkler@gnu.org>
8792
8793 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8794 data before it gets modified by bibtex-beginning-of-entry.
8795
6646e848
RW
87962013-04-13 Roland Winkler <winkler@gnu.org>
8797
8798 * textmodes/bibtex.el (bibtex-url): Doc fix.
8799
88002013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8801
8802 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8803 does not visit a BibTeX file, exclude it from the list of buffers
8804 returned by bibtex-initialize.
8805
0aa3616e
SB
88062013-04-13 Stephen Berman <stephen.berman@gmx.net>
8807
8808 * window.el (split-window): Remove interactive form, since as a
8809 command this function is a special case of split-window-below.
8810 Correct doc string.
8811
011cddd6
RW
88122013-04-12 Roland Winkler <winkler@gnu.org>
8813
8814 * faces.el (read-face-name): Do not override value of arg default.
8815 Allow single faces and strings as default values. Remove those
8816 elements from return value that are not faces.
8817 (describe-face): Simplify.
8818 (face-at-point): New optional args thing and multiple so that this
8819 function can provide the same functionality previously provided by
8820 read-face-name.
8821 (make-face-bold, make-face-unbold, make-face-italic)
8822 (make-face-unitalic, make-face-bold-italic, invert-face)
8823 (modify-face, read-face-and-attribute): Use face-at-point.
8824
8825 * cus-edit.el (customize-face, customize-face-other-window)
8826 * cus-theme.el (custom-theme-add-face)
8827 * face-remap.el (buffer-face-set)
8828 * facemenu.el (facemenu-set-face): Use face-at-point.
8829
f24e0036
MA
88302013-04-12 Michael Albinus <michael.albinus@gmx.de>
8831
8832 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8833
da3cda2d
TH
88342013-04-10 Tassilo Horn <tsdh@gnu.org>
8835
8836 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8837 off leading { and trailing } from field values.
8838
15e54145
SM
88392013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8840
78ce603d
SM
8841 * emacs-lisp/timer.el (timer--check): New function.
8842 (timer--time, timer-set-function, timer-event-handler): Use it.
8843 (timer-set-idle-time): Simplify.
8844 (timer--activate): CSE.
8845 (timer-event-handler): Give more info in error message.
8846 (internal-timer-start-idle): New function, moved from C.
8847
15e54145
SM
8848 * mpc.el (mpc-proc): Add `restart' argument.
8849 (mpc-proc-cmd): Use it.
8850 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8851 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8852 less often.
8853
7144c627
MY
88542013-04-10 Masatake YAMATO <yamato@redhat.com>
8855
8856 * progmodes/sh-script.el: Implement `sh-mode' own
8857 `add-log-current-defun-function' (bug#14112).
8858 (sh-current-defun-name): New function.
8859 (sh-mode): Use the function.
8860
b39792eb
BG
88612013-04-09 Bastien Guerry <bzg@gnu.org>
8862
8863 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8864
8acdeb71
SM
88652013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8866
6fcdab68
SM
8867 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8868
8acdeb71
SM
8869 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8870 timer (bug#14156).
8871
e3e7b504
NF
88722013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8873
8874 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8875 declaration.
8876
201bb296
LL
88772013-04-07 Leo Liu <sdl.web@gmail.com>
8878
8879 * pcmpl-x.el: New file.
8880
ebb19708
DA
88812013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8882
8883 Do not set x-display-name until X connection is established.
8884 This is needed to prevent from weird situation described at
8885 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8886 * frame.el (make-frame): Set x-display-name after call to
8887 window system initialization function, not before.
8888 * term/x-win.el (x-initialize-window-system): Add optional
8889 display argument and use it.
8890 * term/w32-win.el (w32-initialize-window-system):
8891 * term/ns-win.el (ns-initialize-window-system):
8892 * term/pc-win.el (msdos-initialize-window-system):
8893 Add compatible optional display argument.
8894
33bb237a
EZ
88952013-04-06 Eli Zaretskii <eliz@gnu.org>
8896
8897 * files.el (normal-backup-enable-predicate): On MS-Windows and
8898 MS-DOS compare truenames of temporary-file-directory and of the
8899 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8900 don't fail comparison by compare-strings. Also, compare file
8901 names case-insensitively on MS-Windows and MS-DOS.
8902
134abf1f
SM
89032013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8904
8905 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8906 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8907
d695cb94
DG
89082013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8909
e3e7b504
NF
8910 * whitespace.el (whitespace-color-on, whitespace-color-off):
8911 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8912
f4ad7ea1 89132013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8914
8915 * ispell.el (ispell-set-spellchecker-params):
8916 Really set `ispell-args' for all equivs.
8917
632556e4
SM
89182013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8919
8920 * ido.el (ido-completions): Use extra elements of ido-decorations
8921 (bug#14143).
8922 (ido-decorations): Update docstring.
8923
2a417372
MA
89242013-04-05 Michael Albinus <michael.albinus@gmx.de>
8925
8926 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8927 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8928 nil during initialization, in order not to miss changes since the
8929 file was opened. (Bug#14140)
8930
fc164b0c
LL
89312013-04-05 Leo Liu <sdl.web@gmail.com>
8932
8933 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8934
0ccecc08
JB
89352013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8936
8937 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8938
51af1aa2
GM
89392013-04-04 Glenn Morris <rgm@gnu.org>
8940
8941 * electric.el (electric-pair-inhibit-predicate): Add :version.
8942
b208ebc6
SM
89432013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8944
8945 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8946 when a package is required several times (bug#14082).
8947
f3d3eaf0
RW
89482013-04-04 Roland Winkler <winkler@gnu.org>
8949
8950 * faces.el (read-face-name): Behave as promised by the docstring.
8951 Assume that arg default is a list of faces.
8952 (describe-face): Call read-face-name with list of default faces.
8953
2575da50
TV
89542013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8955
8956 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8957 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8958 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8959 the header.
8960 (bookmark-exit-hook-internal): Save even if list is empty.
8961
397703b4
YH
89622013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8963
8964 * emacs-lisp/package.el (package-pinned-packages): New var.
8965 (package--add-to-archive-contents): Obey it (bug#14118).
8966
691e26ae
AM
89672013-04-03 Alan Mackenzie <acm@muc.de>
8968
8a621d53
JB
8969 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8970 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8971
8972 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8973 parameter `not-in-delimiter'. Handle being inside comment opener.
8974 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8975 character in case we're typing a '*' after a '/'.
8976 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8977 instead by passing the parameter to c-state-pp-to-literal.
8978
8979 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8980 for elt. 7 of a parse state.
8981
4b725a70
PE
89822013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8983
8984 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8985 * international/latin1-disp.el, international/mule-util.el:
8986 * language/cyril-util.el, language/european.el, language/ind-util.el:
8987 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8988 * language/tibetan.el, language/viet-util.el:
8989 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8990
15c579f0
SM
89912013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8994 (electric-pair-post-self-insert-function): Use it.
8995 (electric-pair-default-inhibit): New function, extracted from
8996 electric-pair-post-self-insert-function.
8997
a77e2924
RW
89982013-03-31 Roland Winkler <winkler@gnu.org>
8999
9000 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9001
2bd8a4a8
SM
90022013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9005
8d3655be 90062013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
9007
9008 Un-indent after "pass" and "return" statements (Bug#13888)
9009 * progmodes/python.el (python-indent-block-enders): New var.
9010 (python-indent-calculate-indentation): Use it.
9011
8d3655be 90122013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
9013
9014 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9015 defun. Defining it as defalias could introduce too eager
9016 byte-compiler optimization. (Bug#14030)
9017
8d3655be 90182013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
9019
9020 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9021
0b1619da
LL
90222013-03-30 Leo Liu <sdl.web@gmail.com>
9023
9024 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9025 (kmacro-execute-from-register): Pass the keyboard macro to
9026 kmacro-call-macro or repeating won't work correctly.
9027
0b938190
TZ
90282013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9029
9030 * progmodes/subword.el: Back to using `forward-symbol'.
9031
9032 * subr.el (forward-whitespace, forward-symbol)
9033 (forward-same-syntax): Move from thingatpt.el.
9034
35710234
LL
90352013-03-29 Leo Liu <sdl.web@gmail.com>
9036
9037 * kmacro.el (kmacro-to-register): New command.
9038 (kmacro-execute-from-register): New function.
9039 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9040
efc0bb73
SM
90412013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * mpc.el: Use defvar-local and setq-local.
9044 (mpc--proc-connect): Connection failures are not bugs.
9045 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9046 (mpc-volume-map): Bind to the up-events.
9047
75a2f981
TZ
90482013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9049
9050 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9051 instead of `forward-symbol'.
9052
17c781d1
SM
90532013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9056 (edebug--recursive-edit): Use it.
9057 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9058 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9059
f67bfbcf
LL
90602013-03-28 Leo Liu <sdl.web@gmail.com>
9061
9062 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9063
b59f639d
EZ
90642013-03-27 Eli Zaretskii <eliz@gnu.org>
9065
9066 * facemenu.el (list-colors-callback): New defvar.
9067 (list-colors-redisplay): New function.
9068 (list-colors-display): Install list-colors-redisplay as the
9069 revert-buffer-function. (Bug#14063)
9070
f557c1b1
SM
90712013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9072
b1da2957
SM
9073 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9074 and suffixes don't overlap (bug#14061).
9075
f557c1b1
SM
9076 * case-table.el: Use lexical-binding.
9077 (case-table-get-table): New function.
9078 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9079
002668e1
TZ
90802013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9081
9082 * progmodes/subword.el: Add `superword-mode' to do word motion
9083 over symbol_words (parallels and leverages `subword-mode' which
9084 does word motion inside MixedCaseWords).
9085
73572c72
AG
90862013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9087
78b8f320 9088 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 9089 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 9090
69b2c07e
SM
90912013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9092
9093 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9094 Change return value to be a sexp. Delay `get-buffer' to after
9095 restoring the desktop (bug#13951).
9096
08bb5ee2
LL
90972013-03-26 Leo Liu <sdl.web@gmail.com>
9098
9099 * register.el: Move semantic tag handling back to
9100 cedet/semantic/senator.el. (Bug#14052)
9101
8d4c974e
SM
91022013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9105 into the prompt either (bug#13963).
9106
b234d92c
SM
91072013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9110 part of "(error-foo)".
9111
ddfa3cb4
JL
91122013-03-24 Juri Linkov <juri@jurta.org>
9113
9114 * replace.el (list-matching-lines-prefix-face): New defcustom.
9115 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9116 `occur-engine' if `face-differs-from-default-p' returns t.
9117 (occur-engine): Add `,' inside backquote construct to evaluate
9118 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9119 Pass `prefix-face' to the functions `occur-context-lines' and
9120 `occur-engine-add-prefix'.
9121 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9122 `prefix-face' and propertize the prefix with `prefix-face'.
9123 (Bug#14017)
9124
7b0e2f85
LL
91252013-03-24 Leo Liu <sdl.web@gmail.com>
9126
9127 * nxml/rng-valid.el (rng-validate-while-idle)
9128 (rng-validate-quick-while-idle): Guard against deleted buffer.
9129 (Bug#13999)
9130
9131 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9132 is the last entry in kill-buffer-hook.
9133
9134 * files.el (kill-buffer-hook): Doc fix.
9135
b3082f49
DG
91362013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9137
b234d92c
SM
9138 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9139 Make it safe-local.
bde73d27 9140
b3082f49
DG
9141 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9142
a320a2db
LL
91432013-03-23 Leo Liu <sdl.web@gmail.com>
9144
7e74b0fb
LL
9145 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9146 Remove.
9147
9148 * nxml/rng-valid.el (rng-validate-mode)
9149 (rng-after-change-function, rng-do-some-validation):
9150 * nxml/rng-maint.el (rng-validate-buffer):
9151 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9152 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9153 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9154 (nxml-extend-after-change-region): Use with-silent-modifications.
9155
a320a2db
LL
9156 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9157 timer-idle-list.
9158
9159 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9160 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9161 timer-idle-list. (Bug#13999)
9162
e38e6780
JL
91632013-03-23 Juri Linkov <juri@jurta.org>
9164
9165 * info.el (info-index-match): New face.
9166 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9167 main pattern and add text properties with the new face to matches
9168 in index entries relative to the beginning of the index entry.
9169 (Bug#14015)
9170
e8cc7880
DE
91712013-03-21 Eric Ludlam <zappo@gnu.org>
9172
9173 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9174 Inhibit read only while inserting objects.
9175
9bb0d822
TZ
91762013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9177
9178 * progmodes/cfengine.el: Update docs to mention
9179 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9180 symbol motion. Remove "_" from the word syntax.
9181
aa703640
TZ
91822013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9183
9184 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9185 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9186
afff09d0
JL
91872013-03-20 Juri Linkov <juri@jurta.org>
9188
9189 * info.el (Info-next-reference-or-link)
9190 (Info-prev-reference-or-link): New functions.
9191 (Info-next-reference, Info-prev-reference): Use them.
9192 (Info-try-follow-nearest-node): Handle footnote navigation.
9193 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9194
9a1ff164
SM
91952013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9198 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9199
2667d15d
PE
92002013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9201
9202 Suppress unnecessary non-ASCII chatter during build process.
9203 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9204 (batch-skkdic-convert): Suppress most of the chatter.
9205 It's not needed so much now that machines are faster,
9206 and its non-ASCII component was confusing; see Dmitry Gutov in
9207 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9208
438b0579
LL
92092013-03-20 Leo Liu <sdl.web@gmail.com>
9210
9211 * ido.el (ido-chop): Fix bug#10994.
9212
c128ab07
DG
92132013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9214
9215 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9216 Remove vars.
9a1ff164
SM
9217 (whitespace-color-on, whitespace-color-off):
9218 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 9219
0e6008c5
SM
92202013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9221
9222 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9223 remapping in mode-line.
9224 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9225
627b52b0
DG
92262013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9227
9228 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9229 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
9230 (whitespace-font-lock-keywords): Change description.
9231 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9232 the constructed keywords instead.
9233 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 9234
50c3a20b
LL
92352013-03-19 Leo Liu <sdl.web@gmail.com>
9236
9237 * progmodes/compile.el (compilation-display-error): New command.
9238 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9239 C-o. (Bug#13992)
9240
2aa2157b
PE
92412013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9242
9243 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9244
e477dbfa
JD
92452013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9246
9247 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9248
64ab82d1
MA
92492013-03-18 Michael Albinus <michael.albinus@gmx.de>
9250
9251 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9252
9253 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9254 * net/tramp-gvfs.el (top):
9255 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9256 (tramp-handle-shell-command): Use it.
9257 (tramp-dissect-file-name): Raise an error when hostname is a
9258 method name, and neither method nor user is specified.
9259
9260 * net/trampver.el: Update release number.
9261
33cef733
LL
92622013-03-18 Leo Liu <sdl.web@gmail.com>
9263
9264 Make sure eldoc can be turned off properly.
9265 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9266 eldoc-mode.
9267 (eldoc-display-message-p): Revert last change.
9268 (eldoc-display-message-no-interference-p)
9269 (eldoc-print-current-symbol-info): Tweak.
9270
2167b7b2
TH
92712013-03-18 Tassilo Horn <tsdh@gnu.org>
9272
9273 * doc-view.el (doc-view-new-window-function): Check the new window
9274 overlay's display property instead the char property of the
9275 buffer's first char. Use `with-selected-window' instead of
9276 `save-window-excursion' with `select-window'.
9277 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 9278 display property instead the char property of the buffer's first char.
2167b7b2 9279
982efbcd
PE
92802013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9281
9282 Automate the build of ja-dic.el (Bug#13984).
9283 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9284 from the input, rather than assume that it's been done for us by the
9285 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9286 the current date into a ja-dic.el comment, as that complicates
9287 regression testing.
9288
2fcc7665
SM
92892013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * whitespace.el: Fix double evaluation.
9292 (whitespace-space, whitespace-hspace, whitespace-tab)
9293 (whitespace-newline, whitespace-trailing, whitespace-line)
9294 (whitespace-space-before-tab, whitespace-indentation)
9295 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9296 obsolete defvars.
9297 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9298 (whitespace-color-on): Use a single font-lock-add-keywords call.
9299 Fix double-evaluation of face variables.
9300
67c0a6e6
MA
93012013-03-17 Michael Albinus <michael.albinus@gmx.de>
9302
2fcc7665
SM
9303 * net/tramp-adb.el (tramp-adb-parse-device-names):
9304 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 9305 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 9306
69489f1d
LL
93072013-03-17 Leo Liu <sdl.web@gmail.com>
9308
9309 Extend eldoc to display info in the mode-line. (Bug#13978)
9310 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9311 (eldoc-mode-line-string): New variable.
9312 (eldoc-minibuffer-message): New function.
9313 (eldoc-message-function): New variable.
9314 (eldoc-message): Use it.
9315 (eldoc-display-message-p)
2fcc7665
SM
9316 (eldoc-display-message-no-interference-p):
9317 Support eldoc-post-insert-mode.
69489f1d
LL
9318
9319 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9320 (eval-expression): Run it.
9321
9c44569e
RW
93222013-03-17 Roland Winkler <winkler@gnu.org>
9323
9324 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9325 strings in the list of return values.
9326
327f1f6f
JB
93272013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9328
9329 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9330 radix before checking for HMS forms.
9331
67ed8fcd
LL
93322013-03-16 Leo Liu <sdl.web@gmail.com>
9333
9334 * progmodes/scheme.el: Add indentation and font-locking for λ.
9335 (Bug#13975)
9336
78be8b64 93372013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
9338
9339 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9340 token before point (bug#13942).
9341
78be8b64 93422013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 9343
95b43468 9344 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 9345
98e775e6
EZ
93462013-03-16 Eli Zaretskii <eliz@gnu.org>
9347
9348 * startup.el (command-line-normalize-file-name): Fix handling of
9349 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9350 <xfq.free@gmail.com> in
9351 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9352
2edd6029
MA
93532013-03-15 Michael Albinus <michael.albinus@gmx.de>
9354
9355 Sync with Tramp 2.2.7.
9356
9357 * net/trampver.el: Update release number.
9358
d35f5864
TH
93592013-03-14 Tassilo Horn <tsdh@gnu.org>
9360
e903c210 9361 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
9362 (doc-view-insert-image): Don't modify overlay associated to
9363 non-live windows, and implement horizontal centering of image in
9364 case it's smaller than the window.
9365 (doc-view-new-window-function): Force redisplay of new windows on
9366 doc-view buffers.
d35f5864 9367
1c4a85ed
KF
93682013-03-13 Karl Fogel <kfogel@red-bean.com>
9369
9370 * saveplace.el (save-place-alist-to-file): Don't sort
9371 `save-place-alist', just pretty-print it (bug#13882).
9372
85b66a21
MA
93732013-03-13 Michael Albinus <michael.albinus@gmx.de>
9374
a020afb9
JB
9375 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9376 Check whether `default-file-name-coding-system' is bound.
9377 It isn't in XEmacs.
85b66a21 9378
175600da
SM
93792013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9380
e7f7cb1a
SM
9381 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9382 backquotes for `obsolete' (bug#13929).
9383
175600da
SM
9384 * international/mule.el (find-auto-coding): Include file name in
9385 obsolescence warning (bug#13922).
9386
ca68a22e
TZ
93872013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9388
9389 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9390 for CFEngine 3-specific indentation.
9391 (cfengine3-indent-line): Use it. Fix up category regex.
9392 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9393
940e5099
SM
93942013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9395
9396 * type-break.el (type-break-file-name):
9397 * textmodes/remember.el (remember-data-file):
9398 * strokes.el (strokes-file):
9399 * shadowfile.el (shadow-initialize):
9400 * saveplace.el (save-place-file):
9401 * ps-bdf.el (bdf-cache-file):
9402 * progmodes/idlwave.el (idlwave-config-directory):
9403 * net/quickurl.el (quickurl-url-file):
9404 * international/kkc.el (kkc-init-file-name):
9405 * ido.el (ido-save-directory-list-file):
9406 * emulation/viper.el (viper-custom-file-name):
9407 * emulation/vip.el (vip-startup-file):
9408 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9409 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9410
cc725808
PE
94112013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9412
9413 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9414 * language/thai-word.el: Switch to UTF-8.
9415
a020afb9 9416See ChangeLog.16 for earlier changes.
e3d51b27
MR
9417
9418;; Local Variables:
9419;; coding: utf-8
e3d51b27
MR
9420;; End:
9421
ab422c4d 9422 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9423
9424 This file is part of GNU Emacs.
9425
9426 GNU Emacs is free software: you can redistribute it and/or modify
9427 it under the terms of the GNU General Public License as published by
9428 the Free Software Foundation, either version 3 of the License, or
9429 (at your option) any later version.
9430
9431 GNU Emacs is distributed in the hope that it will be useful,
9432 but WITHOUT ANY WARRANTY; without even the implied warranty of
9433 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9434 GNU General Public License for more details.
9435
9436 You should have received a copy of the GNU General Public License
9437 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.