* lisp/replace.el (replace-string): Doc fix re start/end.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
39785324
GM
12013-09-06 Glenn Morris <rgm@gnu.org>
2
3 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4
1f896cb7
DG
52013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6
7 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8 keywords" below "here-doc beginnings" (Bug#15270).
9
c0458e0b
SM
102013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
11
12 * subr.el (pop): Use `car-safe'.
13 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
14 to detect unused `pop' return value.
15
16 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
17 var `block-regexp'.
18 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
19 (python-fill-string): Remove unused var `marker'.
20 (python-skeleton-add-menu-items): Remove unused var `items'.
21
22 * international/mule-cmds.el: Require CL.
23 (find-coding-systems-for-charsets): Avoid add-to-list.
24 (sanitize-coding-system-list): New function, extracted from
25 select-safe-coding-system-interactively.
26 (select-safe-coding-system-interactively): Use it.
27 (read-input-method-name): Accept symbols for `default'.
28
29 * emacs-lisp/advice.el (defadvice): Add indent rule.
30
6c42fc3e
DH
312013-09-05 Daniel Hackney <dan@haxney.org>
32
33 * dired-x.el:
34 * net/ange-ftp.el:
35 * net/browse-url.el:
36 * net/dbus.el:
37 * net/eudc.el:
38 * net/eudcb-ldap.el:
39 * net/eww.el:
40 * net/imap.el:
41 * printing.el:
42 * vc/ediff-diff.el:
43 * vc/ediff-init.el:
44 * vc/ediff-merg.el:
45 * vc/ediff-mult.el:
46 * vc/ediff-util.el:
47 * vc/ediff-wind.el:
48 * vc/ediff.el:
49 * vc/emerge.el:
50 * vc/pcvs.el:
51 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
52 byte compiler. Remove some unused let-bound variables.
53
4c528aab
SM
542013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
57 a "ref-cell", since it gets better optimized (bug#14883).
58
bd15c390
GM
592013-09-05 Glenn Morris <rgm@gnu.org>
60
61 * progmodes/cc-awk.el (c-forward-sws): Declare.
62
1c3ac2e5
GM
632013-09-04 Glenn Morris <rgm@gnu.org>
64
65 * generic-x.el [rul-generic-mode]: Require cc-mode.
66 (c++-mode-syntax-table): Declare.
67 (rul-generic-mode-syntax-table): Init in the defvar.
68
52b1cc79
SM
692013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
70
c828af56
SM
71 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
72 (vc-do-command, vc-set-async-update):
73 * vc/vc-mtn.el (vc-mtn-dir-status):
74 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
75 (vc-hg-pull, vc-hg-merge-branch):
76 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
77 (vc-git-merge-branch):
78 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
79 (vc-cvs-dir-status-files):
80 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
81 (vc-bzr-dir-status-files):
82 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
83 * vc/vc-annotate.el: Use lexical-binding.
84 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
85 (vc-sentinel-movepoint): Declare.
86 (vc-annotate): Don't use `goto-line'.
87 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
88 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
89 (vc-sentinel-movepoint): Declare.
90 * vc/vc-svn.el: Use lexical-binding.
91 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
92 * vc/vc-sccs.el:
93 * vc/vc-rcs.el: Use lexical-binding.
94
abae272c
SM
95 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
96 `deleted'. Don't drop errors silently.
97
52b1cc79
SM
98 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
99
63191d9f
XF
1002013-09-04 Xue Fuqiao <xfq.free@gmail.com>
101
102 * vc/vc.el (vc-ignore): Rewrite.
103 (vc-default-ignore): New function.
104 (vc-default-ignore-completion-table): Use find-ignore-file.
105
106 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
107 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
108 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
109 Remove. Most code moved to vc.el.
110
9d3f707c
SM
1112013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
112
abae272c 113 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
114 * net/tramp-smb.el (tramp-smb-get-file-entries):
115 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
116 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
117
fde38d49
SM
118 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
119 Update call to it.
120 (eww-change-select): Remove unused var `properties'.
121 (eww-make-unique-file-name): Remove unused var `base'.
122
123 * finder.el (finder-compile-keywords): Don't mess with windows.
124
84032db7
SM
125 * calculator.el (calculator-funcall): Fix typo in last change.
126
724f5e41
SM
127 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
128
14b511d4
SM
129 * emacs-lisp/package.el (package-activate-1): Don't let a missing
130 <pkg>-autoloads.el file stop us.
131
9d3f707c 132 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 133 warnings, and factor out common code.
9d3f707c 134
88527bc0
DG
1352013-09-03 Dmitry Gutov <dgutov@yandex.ru>
136
137 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
138 two-character operators and whether the character preceding them
139 changes their meaning (Bug#15208).
140
96edb677
FEG
1412013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
142
143 Format code sent to Python shell for robustness.
9d3f707c
SM
144 * progmodes/python.el (python-shell-buffer-substring):
145 New function.
96edb677
FEG
146 (python-shell-send-region, python-shell-send-buffer): Use it.
147
95beaef3
MA
1482013-09-02 Michael Albinus <michael.albinus@gmx.de>
149
150 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
151 * net/tramp.el (tramp-user-error): ... here.
152 (tramp-find-method, tramp-check-proper-host)
153 (tramp-dissect-file-name, tramp-debug-message)
154 (tramp-handle-shell-command):
155 * net/tramp-adb.el (tramp-adb-handle-shell-command):
156 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
157
158 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
159
f167c27b
MR
1602013-09-02 Martin Rudalics <rudalics@gmx.at>
161
162 * avoid.el (mouse-avoidance-point-position)
163 (mouse-avoidance-too-close-p): Handle case where posn-at-point
164 returns nil.
165
cd16c5f1
FEG
1662013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
167
168 * progmodes/python.el (python-shell-completion-get-completions):
169 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 170 (python-nav-if-name-main): New command.
cd16c5f1 171
e73c3a0d
GM
1722013-09-01 Glenn Morris <rgm@gnu.org>
173
f8ccce03
GM
174 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
175 Avoid leading space in $wins. Otherwise the sed command used by
176 eg compile-main ends up containing "/*.el". (Bug#15170)
177
e73c3a0d
GM
178 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
179
415f808e
GM
1802013-08-30 Glenn Morris <rgm@gnu.org>
181
182 * emacs-lisp/bytecomp.el (byte-recompile-directory):
183 Fix is-this-a-directory logic. (Bug#15220)
184
f069bba8
SM
1852013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
186
112798c1
SM
187 * textmodes/css-mode.el: Use SMIE.
188 (css-smie-grammar): New var.
189 (css-smie--forward-token, css-smie--backward-token)
190 (css-smie-rules): New functions.
191 (css-mode): Use them.
192 (css-navigation-syntax-table): Remove var.
193 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
194 (css-indent-calculate, css-indent-line): Remove functions.
195
196 Misc changes to reduce use of `(lambda...); and other cleanups.
197 * cus-edit.el: Use lexical-binding.
198 (customize-push-and-save, customize-apropos)
199 (custom-buffer-create-internal): Use closures.
200 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
201 * progmodes/ada-xref.el: Use setq.
202 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
203 * dframe.el: Use lexical-binding.
204 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
205 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
206 * descr-text.el: Use lexical-binding.
207 (describe-text-widget, describe-text-sexp, describe-property-list):
208 Use closures.
209 * comint.el (comint-history-isearch-push-state): Use a closure.
210 * calculator.el: Use lexical-binding.
211 (calculator-number-to-string): Make it work with lexical-binding.
212 (calculator-funcall): Same and use cl-letf.
213
2da4c3ab
SM
214 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
215 (lisp--company-doc-string, lisp--company-location): New functions.
216 (lisp-completion-at-point): Use them to improve Company support.
217
f069bba8
SM
218 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
219 params of lambda expressions.
220 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
221 (ruby-smie--opening-pipe-p): New function.
222 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
223 symbols and matched |...| for formal params.
224 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
225 from being treated as hanging. Handle "rescue".
226
6758b6a8
GM
2272013-08-29 Glenn Morris <rgm@gnu.org>
228
229 * progmodes/cc-engine.el (c-pull-open-brace):
230 Move definition before use.
231
e8dfd197
SM
2322013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
235 are immutable. Don't use `unsafe' any more.
236 (cl--defsubst-expand): Don't substitute at the same time as keeping
237 a residual unused let-binding. Don't use `unsafe' any more.
238
cc585c96
GM
2392013-08-29 Glenn Morris <rgm@gnu.org>
240
ba579ea6
GM
241 * calendar/cal-china.el (calendar-chinese-year-cache):
242 Recenter on 2015.
243
8201a87e
GM
244 * nxml/nxml-util.el (nxml-debug-clear-inside):
245 Use cl-loop rather than loop.
246
6ee877c7
GM
247 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
248
cc585c96
GM
249 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
250
27be8d39
GM
2512013-08-28 Glenn Morris <rgm@gnu.org>
252
397440a1
GM
253 * progmodes/antlr-mode.el: No need to require cc-mode twice.
254
2bb762d4
GM
255 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
256
27be8d39
GM
257 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
258
2d69b99e
SM
2592013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
260
f663baa7
SM
261 * simple.el (repeat-complex-command--called-interactively-skip):
262 New function.
263 (repeat-complex-command): Use it (bug#14136).
264
dd4f8b74
SM
265 * progmodes/cc-mode.el: Minor cleanup of var declarations.
266 (c-define-abbrev-table): Add `doc' argument.
267 (c-mode-abbrev-table, c++-mode-abbrev-table)
268 (objc-mode-abbrev-table, java-mode-abbrev-table)
269 (idl-mode-abbrev-table, pike-mode-abbrev-table)
270 (awk-mode-abbrev-table): Use it.
271 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
272 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
273 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
274 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
275 Move initialization into the declaration; and remove any
276 autoload cookie.
277
b58969f7
SM
278 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
279 and dynamic let binding.
280
4021d6a6
SM
281 * vc/smerge-mode.el: Remove redundant :group args.
282
2d69b99e
SM
283 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
284 to load-path.
285
274919fd
JL
2862013-08-28 Juri Linkov <juri@jurta.org>
287
288 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
289 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
290 (isearch-other-meta-char): Handle an undefined shifted printing
291 character by downshifting it. (Bug#15200)
292
121f8c95
JL
2932013-08-28 Juri Linkov <juri@jurta.org>
294
295 * isearch.el (isearch-search): Change regexp error message for
296 non-regexp searches. (Bug#15166)
297
50b13cde
PE
2982013-08-28 Paul Eggert <eggert@cs.ucla.edu>
299
300 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
301 for portability to hosts where /bin/sh has problems.
302
95888bca
SM
3032013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
304
305 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
306
bbe558f1
JL
3072013-08-27 Juri Linkov <juri@jurta.org>
308
309 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
310 in the keyboard macro. (Bug#15126)
311
26f98a7d
JL
3122013-08-27 Juri Linkov <juri@jurta.org>
313
314 * isearch.el (isearch-quote-char): Comment out converting unibyte
315 to multibyte, thus syncing with its `quoted-insert' counterpart.
316 (Bug#15166)
317
7c97d35e
MR
3182013-08-27 Martin Rudalics <rudalics@gmx.at>
319
320 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
321 argument in call of get-largest-window (Bug#15185).
322 Reported by Stephen Leake.
7c97d35e 323
a0b5606e 3242013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
325
326 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
327
9e89d835
SM
3282013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * progmodes/python.el (python-font-lock-keywords): Don't return nil
331 from a matcher-function unless there's no more matches (bug#15161).
332
78fc2530
MA
3332013-08-26 Michael Albinus <michael.albinus@gmx.de>
334
335 * minibuffer.el: Revert change from 2013-08-20.
336
337 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
338 with text property `tramp-default', if appropriate.
339 (tramp-check-proper-host): New defun.
340 (tramp-dissect-file-name): Do not check hostname. Revert change
341 of 2013-03-18.
342 (tramp-backtrace): Make VEC-OR-PROC optional.
343
344 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
345 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
346 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
347 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
348 Apply `tramp-check-proper-host'.
78fc2530 349
edca97cd
TH
3502013-08-26 Tassilo Horn <tsdh@gnu.org>
351
352 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
353 lambda expression in order to have `describe-variable' display it.
354
df54bcbd
MA
3552013-08-26 Michael Albinus <michael.albinus@gmx.de>
356
357 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
358 BUF can be optional. (Bug#15186)
359
eed99101
XF
3602013-08-25 Xue Fuqiao <xfq.free@gmail.com>
361
362 * progmodes/flymake.el (flymake-get-real-file-name-function):
363 Fix broken customization. (Bug#15184)
364
b5eb9035
AM
3652013-08-25 Alan Mackenzie <acm@muc.de>
366
8a51e842
AM
367 Improve indentation of bracelists defined by macros (without "=").
368
369 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
370 expansion begins with "{", regard it as bracelist when it doesn't
371 contain a ";".
372
869455d4
AM
373 Parse C++ inher-intro when there's a template split over 2 lines.
374
375 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
376 rigorously the search for "class" etc. followed by ":".
377
378 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
379 random languages a regexp which never matches rather than nil.
380
b5eb9035
AM
381 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
382
383 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
384 (c-awk-regexp-one-line-possibly-open-char-list-re)
385 (c-awk-one-line-possibly-open-regexp-re)
386 (c-awk-one-line-non-syn-ws*-re): Remove.
387 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
388 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
389 (c-awk-space*-unclosed-regexp-/-re): New constants.
390 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
391 aren't regexp delimiters.
392
393 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
394 handling for a rare situation in AWK Mode involving unterminated
395 strings/regexps.
396
61611d54
GM
3972013-08-23 Glenn Morris <rgm@gnu.org>
398
2d85dc34
GM
399 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
400
cb8d2612
GM
401 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
402
bb35f42f
GM
403 * files.el (create-file-buffer): If the result would begin with
404 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 405
b9808e77
SM
4062013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
407
e3a66363
SM
408 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
409 text-properties (bug#15155).
410
b9808e77
SM
411 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
412 exist any more.
413 (calc-keypad-redraw): Remove unused var `pad'.
414 (calc-keypad-press): Remove unused var `menu'.
415
7fd5f65e
MR
4162013-08-23 Martin Rudalics <rudalics@gmx.at>
417
b9808e77
SM
418 * window.el (display-buffer-pop-up-frame):
419 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
420 use it as the new frame's buffer (Bug#15133).
421
8352b530
SM
4222013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * calendar/timeclock.el: Minor cleanups.
425 (timeclock-ask-before-exiting, timeclock-use-display-time):
426 Use `symbol'.
427 (timeclock-modeline-display): Define as alias before the
428 actual definition.
429 (timeclock-mode-line-display): Use define-minor-mode.
430 (timeclock-day-list-template): Make it a function, add an argument.
431 (timeclock-day-list-required, timeclock-day-list-length)
432 (timeclock-day-list-debt, timeclock-day-list-span)
433 (timeclock-day-list-break): Adjust calls accordingly.
434
9f7b1925
SM
4352013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
438 Use read--expression so that completion works again.
439
6e50e983
SS
4402013-08-21 Sam Steingold <sds@gnu.org>
441
442 Add rudimentary inferior shell interaction
443 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
444 (sh-set-shell): Reset it.
9f7b1925
SM
445 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
446 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 447
dbb0d350
SM
4482013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
449
450 * align.el: Use lexical-binding.
451 (align-region): Simplify accordingly.
452
c88586a9
MA
4532013-08-20 Michael Albinus <michael.albinus@gmx.de>
454
455 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
456
457 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
458 `non-essential' up.
459
f95527c8
MA
4602013-08-17 Michael Albinus <michael.albinus@gmx.de>
461
462 * net/tramp.el:
463 * net/tramp-adb.el:
464 * net/tramp-cmds.el:
465 * net/tramp-ftp.el:
466 * net/tramp-gvfs.el:
467 * net/tramp-gw.el:
468 * net/tramp-sh.el: Don't wrap external variable declarations by
469 `eval-when-compile'.
470
4b5fe4ee
LMI
4712013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
472
473 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
474 now that Emacs supports ImageMagick animations.
475
13c366c9
MA
4762013-08-16 Michael Albinus <michael.albinus@gmx.de>
477
478 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
479 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
480
3dfc5cd6
MR
4812013-08-16 Martin Rudalics <rudalics@gmx.at>
482
483 * window.el (mouse-autoselect-window-select): Do autoselect when
484 mouse pointer is on margin.
485
4bbb4381
WP
4862013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
487
488 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
489
3a2ddc2d
GM
4902013-08-16 Glenn Morris <rgm@gnu.org>
491
e8bedf5a
GM
492 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
493 Handle "Remote Directory" response of some clients. (Bug#15058)
494
58c4682f
GM
495 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
496 Tweak warning. (Bug#14926)
497
57953f49
GM
498 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
499 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
500
3a2ddc2d
GM
501 * image-mode.el (image-mode-map): Add menu items to reverse,
502 increase, decrease, reset animation speed.
503 (image--set-speed, image-increase-speed, image-decrease-speed)
504 (image-reverse-speed, image-reset-speed): New functions.
505 (image-mode-map): Add bindings for speed commands.
506
507 * image.el (image-animate-get-speed, image-animate-set-speed):
508 New functions.
509 (image-animate-timeout): Respect image :speed property.
510
10fa0ed3
SM
5112013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
514 previous line (bug#15101).
515 (debugger-eval-expression, debugger-record-expression):
516 Use read--expression (bug#15102).
517
5d89d9d2
MA
5182013-08-15 Michael Albinus <michael.albinus@gmx.de>
519
520 Remove byte compiler warnings, visible when compiling with
521 `byte-compile-force-lexical-warnings' set to t.
522
523 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
524 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
525 (tramp-handle-unhandled-file-name-directory)
526 (tramp-handle-file-notify-add-watch, tramp-action-login)
527 (tramp-action-succeed, tramp-action-permission-denied)
528 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
529 arguments with "_".
530
531 * net/tramp-adb.el (tramp-adb-parse-device-names)
532 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
533 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
534 (tramp-adb-handle-file-truename): Remove unused arguments.
535
536 * net/tramp-cache.el (tramp-flush-directory-property)
537 (tramp-flush-connection-property, tramp-list-connections)
538 (tramp-parse-connection-properties): Prefix unused arguments with "_".
539
10fa0ed3
SM
540 * net/tramp-compat.el (tramp-compat-make-temp-file):
541 Rename FILENAME to F.
5d89d9d2
MA
542
543 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
544 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
545 (tramp-zeroconf-parse-workstation-device-names)
546 (tramp-zeroconf-parse-webdav-device-names)
547 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
548
549 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
550 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
551
552 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
553 arguments.
554 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
555 (tramp-sh-handle-insert-file-contents-literally)
556 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
557 with "_".
558 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
559 Remove unused variables.
560
561 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
562 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
563 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
564
565 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
566 Make them a defconst.
567 (tramp-uuencode-region): Remove unused variable.
568
62f33bae
JB
5692013-08-14 Juanma Barranquero <lekktu@gmail.com>
570
571 * frameset.el (frameset--prop-setter): New function.
572 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
573 (frameset-filter-minibuffer): Deal with the case that the minibuffer
574 parameter was already set in FILTERED. Doc fix.
575 (frameset--record-minibuffer-relationships): Allow saving a
576 minibufferless frame without its corresponding minibuffer frame.
577 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
578 frame, if the frame id matches.
579 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
580 frames before orphaned ones.
581 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 582
c660a885
MR
5832013-08-14 Martin Rudalics <rudalics@gmx.at>
584
585 * window.el (window-make-atom): Don't overwrite parameter
586 already present.
587 (display-buffer-in-atom-window): Handle special case where we
588 split an already atomic window.
589 (window--major-non-side-window, display-buffer-in-side-window)
590 (window--side-check): Ignore minibuffer window when walking
591 window tree.
592 (window-deletable-p): Return 'frame only if no other frame uses
593 our minibuffer window.
594 (record-window-buffer): Run buffer-list-update-hook.
595 (split-window): Make sure window--check-frame won't destroy an
596 existing atomic window in case the new window gets nested
597 inside.
598 (display-buffer-at-bottom): Ignore minibuffer window when
599 walking window tree. Don't split a side window.
600 (pop-to-buffer): Don't set-buffer here, the select-window call
601 should do that.
602 (mouse-autoselect-window-select): Autoselect only if we are in the
603 text portion of the window.
604
8259030d
LMI
6052013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
606
21c58ae2
LMI
607 * net/shr.el (shr-parse-image-data): New function to grab both the
608 data itself and the Content-Type.
609 (shr-put-image): Use it.
610
611 * net/eww.el (eww-display-image): Ditto.
612
8259030d
LMI
613 * image.el (image-content-type-suffixes): New variable.
614
ad756449
FEG
6152013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
616
617 * progmodes/python.el (python-imenu--build-tree)
618 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
619
f73f4ce6
XF
6202013-08-13 Xue Fuqiao <xfq.free@gmail.com>
621
622 * simple.el (backward-word): Mention the optional argument.
623
1f585e65
SM
6242013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * frameset.el (frameset--make): Rename constructor from make-frameset.
627 (frameset-p, frameset-valid-p): Don't autoload.
628 (frameset-valid-p): Use normal accessors.
629
af1c6c84
GM
6302013-08-13 Glenn Morris <rgm@gnu.org>
631
55e47f95
GM
632 * progmodes/compile.el (compile-command): Tweak example in doc.
633 * obsolete/scribe.el (scribe-mode):
634 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
635
f0024d8c
GM
636 * mail/feedmail.el (feedmail-confirm-outgoing)
637 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
638
639 * cus-start.el (truncate-partial-width-windows): Fix type.
640
641 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
642
af1c6c84
GM
643 * net/shr.el (shr-table-horizontal-line): Fix custom type.
644
5514cc4c
SM
6452013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
646
647 * emacs-lisp/timer.el (timer--time-setter): New function.
648 (timer--time): Use it as gv-setter.
649
650 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
651 setter is not a symbol.
652
7997a2f1
GJ
6532013-08-12 Grégoire Jadi <daimrod@gmail.com>
654
655 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
656 if sending fails. This makes debugging easier.
657
01f1a9ab
JB
6582013-08-12 Juanma Barranquero <lekktu@gmail.com>
659
660 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
661 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
662 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
663
594a4307
EZ
6642013-08-12 Eli Zaretskii <eliz@gnu.org>
665
666 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
667
7a22490f 6682013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
669
670 * format.el (format-annotate-function):
671 Handle read-only text properties in the source. (Bug#14887)
672
3e41a054
LMI
6732013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
674
5514cc4c
SM
675 * net/eww.el (eww-display-html): Ignore coding system errors.
676 One web site uses "utf-8lias" as the coding system.
3e41a054 677
7ec326db
JB
6782013-08-11 Juanma Barranquero <lekktu@gmail.com>
679
680 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
681
5660113b
JB
6822013-08-10 Juanma Barranquero <lekktu@gmail.com>
683
9a4ebc74
JB
684 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
685 (tutorial--detailed-help): Remove unused local variables.
686 (tutorial--save-tutorial-to): Use ignore-errors.
687 (help-with-tutorial): Use looking-at-p.
688
689 * view.el (view-buffer-other-window, view-buffer-other-frame):
690 Mark unused arguments.
691
692 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
693 (woman-select-symbol-fonts, woman, woman-find-file)
694 (woman-insert-file-contents, woman-non-underline-faces):
695 Use string-match-p.
696 (woman1-unquote): Move declaration.
697
698 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
699 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
700 argument. Remove unused local variable.
701 (xml-parse-elem-type): Use string-match-p.
702 (xml-substitute-numeric-entities): Use ignore-errors.
703
45fdb482
JB
704 * calculator.el (calculator): Mark unused argument.
705 (calculator-paste, calculator-quit, calculator-integer-p):
706 Use ignore-errors.
707 (calculator-string-to-number, calculator-decimal, calculator-exp)
708 (calculator-op-or-exp): Use string-match-p.
709
710 * dired.el (dired-buffer-more-recently-used-p): Declare.
711 (dired-insert-set-properties, dired-insert-old-subdirs):
712 Use ignore-errors.
713
714 * dired-aux.el (dired-compress): Use ignore-errors.
715 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
716 (dired-do-async-shell-command, dired-do-shell-command)
717 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
718 (dired-insert-subdir-validate): Use string-match-p.
719 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
720 (dired-add-entry): Use string-match-p, looking-at-p.
721 (dired-insert-subdir-newpos): Remove unused local variable.
722
723 * filenotify.el (file-notify-callback): Remove unused local variable.
724
725 * filesets.el (filesets-error): Mark unused argument.
726 (filesets-which-command-p, filesets-filter-dir-names)
727 (filesets-directory-files, filesets-get-external-viewer)
728 (filesets-ingroup-get-data): Use string-match-p.
729
730 * find-file.el (ff-other-file-name, ff-other-file-name)
731 (ff-find-the-other-file, ff-cc-hh-converter):
732 Remove unused local variables.
733 (ff-get-file-name): Use string-match-p.
734 (ff-all-dirs-under): Use ignore-errors.
735
736 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
737 (follow-select-if-visible): Remove unused local variable.
738
739 * forms.el (read-file-filter): Move declaration.
740 (forms--make-format, forms--make-parser, forms-insert-record):
741 Quote function with #'.
742 (forms--update): Use string-match-p. Quote function with #'.
743
744 * help-mode.el (help-dir-local-var-def): Mark unused argument.
745 (help-make-xrefs): Use looking-at-p.
746 (help-xref-on-pp): Use looking-at-p, ignore-errors.
747
748 * ibuffer.el (ibuffer-ext-visible-p): Declare.
749 (ibuffer-confirm-operation-on): Use string-match-p.
750
751 * msb.el (msb-item-handler, msb-dired-item-handler):
752 Mark unused arguments.
753
754 * ses.el (ses-decode-cell-symbol)
755 (ses-kill-override): Remove unused local variable.
756 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
757 (ses-load): Use ignore-errors, looking-at-p.
758 (ses-jump-safe): Use ignore-errors.
759 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
760
761 * tabify.el (untabify, tabify): Mark unused arguments.
762
763 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
764 Mark unused argument.
765 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
766 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
767
c880af52
JB
768 * emacs-lisp/timer.el (timer--time): Define setter with
769 gv-define-setter to avoid deprecation warning.
770
5660113b 771 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 772 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
773 (cmpl-statistics-block): Remove (body was commented out).
774 All callers changed.
775 (add-completions-from-buffer, load-completions-from-file):
776 Remove unused variables.
777
156aab80
JB
7782013-08-09 Juanma Barranquero <lekktu@gmail.com>
779
5c5dee78
JB
780 * filecache.el (file-cache-delete-file-list):
781 Print message only when told so.
782 (file-cache-files-matching): Use #' in mapconcat argument.
783
156aab80
JB
784 * ffap.el (ffap-url-at-point): Fix reference to variable
785 thing-at-point-default-mail-uri-scheme.
786
ad9dcd70
SM
7872013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
788
54bd972f
SM
789 * subr.el (define-error): New function.
790 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
791 error-file-not-found and define with define-error.
792 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
793 and define with define-error.
794 * userlock.el (file-locked, file-supersession):
795 * simple.el (mark-inactive):
796 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
797 * progmodes/ada-mode.el (ada-mode-errors):
798 * play/life.el (life-extinct):
799 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
800 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
801 * nxml/rng-util.el (rng-error):
802 * nxml/rng-uri.el (rng-uri-error):
803 * nxml/rng-match.el (rng-compile-error):
804 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
805 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
806 * nxml/nxml-rap.el (nxml-scan-error):
807 * nxml/nxml-outln.el (nxml-outline-error):
808 * net/soap-client.el (soap-error):
809 * net/gnutls.el (gnutls-error):
810 * net/ange-ftp.el (ftp-error):
811 * mpc.el (mpc-proc-error):
812 * json.el (json-error, json-readtable-error, json-unknown-keyword)
813 (json-number-format, json-string-escape, json-string-format)
814 (json-key-format, json-object-format):
815 * jka-compr.el (compression-error):
816 * international/quail.el (quail-error):
817 * international/kkc.el (kkc-error):
818 * emacs-lisp/ert.el (ert-test-failed):
819 * calc/calc.el (calc-error, inexact-result, math-overflow)
820 (math-underflow):
821 * bookmark.el (bookmark-error-no-filename):
822 * epg.el (epg-error): Define with define-error.
823
0ea9e53a
SM
824 * time.el (display-time-event-handler)
825 (display-time-next-load-average): Don't call sit-for since it seems
826 unnecessary (bug#15045).
827
b0429158
SM
828 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
829 Use #' instead of ' to quote functions.
830 (checkdoc-output-mode): Use setq-local.
831 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
832 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
833 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
834 (checkdoc-ispell, checkdoc-ispell-current-buffer)
835 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
836 (checkdoc-ispell-message-text, checkdoc-ispell-start)
837 (checkdoc-ispell-continue, checkdoc-ispell-comments)
838 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
839
ad9dcd70
SM
840 * ido.el (ido-completion-help): Fix up compiler warning.
841
77187e6f
JB
8422013-08-09 Juanma Barranquero <lekktu@gmail.com>
843
844 * frameset.el (frameset-p): Add autoload cookie.
845 (frameset--jump-to-register): New function, based on code moved from
846 register.el.
847 (frameset-to-register): Move from register.el. Adapt to `registerv'.
848
849 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
850 (frameset-restore, frameset-save, frameset-session-filter-alist):
851 Remove declarations.
852 (register-alist): Doc fix.
853 (frameset-to-register): Move to frameset.el.
854 (jump-to-register, describe-register-1): Remove frameset-specific code.
855
9d3aa82c
JB
8562013-08-08 Juanma Barranquero <lekktu@gmail.com>
857
858 * allout-widgets.el (allout-widgets-pre-command-business)
859 (allout-widgets-post-command-business)
860 (allout-widgets-after-change-handler)
861 (allout-decorate-item-and-context, allout-set-boundary-marker)
862 (allout-body-modification-handler)
863 (allout-graphics-modification-handler): Mark ignored arguments.
864 (allout-widgets-post-command-business)
865 (allout-widgets-exposure-change-processor)
866 (allout-widgets-exposure-undo-processor)
867 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
868 (allout-parse-item-at-point, allout-decorate-item-guides)
869 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
870 * allout.el (epa-passphrase-callback-function): Declare.
871 (allout-overlay-insert-in-front-handler)
872 (allout-overlay-interior-modification-handler)
873 (allout-isearch-end-handler, allout-chart-siblings)
874 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
875 (allout-yank-processing, allout-process-exposed)
876 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 877 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
878 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
879 (lisp-indent-defform): Mark ignored arguments.
880 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
881 (calculate-lisp-indent): Remove unused variables.
882 * international/characters.el (indian-2-column, arabic-2-column)
883 (tibetan): Mark ignored arguments.
884 (use-cjk-char-width-table): Mark ignored arguments.
885 Remove unused variables.
886 * international/fontset.el (build-default-fontset-data)
887 (x-compose-font-name, create-fontset-from-fontset-spec):
888 Mark ignored arguments.
889 (fontset-plain-name): Remove unused variables.
890 * international/mule.el (charset-id, charset-bytes, generic-char-p)
891 (keyboard-coding-system): Mark ignored arguments.
892 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
893 * help.el (resize-temp-buffer-window):
894 * window.el (display-buffer-in-major-side-window)
895 (display-buffer-in-side-window, display-buffer-in-previous-window):
896 Remove unused variables.
897 * isearch.el (isearch-forward-symbol):
898 * version.el (emacs-bzr-version-bzr):
899 * international/mule-cmds.el (current-language-environment):
900 * term/common-win.el (x-handle-iconic, x-handle-geometry)
901 (x-handle-display):
902 * term/pc-win.el (x-list-fonts, x-display-planes)
903 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
904 (x-server-version, x-display-screens, x-display-mm-height)
905 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
906 (x-selection-owner-p, x-own-selection-internal)
907 (x-disown-selection-internal, x-get-selection-internal)
908 (msdos-initialize-window-system):
909 * term/tty-colors.el (tty-color-alist, tty-color-clear):
910 * term/x-win.el (x-handle-no-bitmap-icon):
911 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
912 (vc-default-find-file-hook, vc-default-extra-menu):
913 Mark ignored arguments.
914
0ca3f70e
SM
9152013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
918 break-condition in the context of the debugged code (bug#12685).
919
74c5d24c
CS
9202013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
921
922 * comint.el:
923 Do not use an overlay to highlight the last prompt. (Bug#14744)
924 (comint-mode): Make comint-last-prompt buffer local.
925 (comint-last-prompt): New variable.
926 (comint-last-prompt-overlay): Remove. Superseded by
927 comint-last-prompt.
0ca3f70e
SM
928 (comint-snapshot-last-prompt, comint-output-filter):
929 Use comint-last-prompt.
74c5d24c 930
c03c02ee
JB
9312013-08-08 Juanma Barranquero <lekktu@gmail.com>
932
a3738d20 933 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
934 (frameset-save): Check validity of the resulting frameset.
935
04263d23
XF
9362013-08-08 Xue Fuqiao <xfq.free@gmail.com>
937
938 * ido.el (ido-record-command): Add doc string.
939
76c5e5ab
JB
9402013-08-08 Juanma Barranquero <lekktu@gmail.com>
941
942 * frameset.el (frameset): Do not disable creation of the default
943 frameset-p predicate. Doc fix.
944 (frameset-valid-p): New function, copied from the old predicate-p.
945 Add additional checks.
946 (frameset-restore): Check with frameset-valid-p.
947 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
948 (frameset-name, frameset-description, frameset-properties)
949 (frameset-states): Add docstring.
f9dbf1cb
JB
950 (frameset-session-filter-alist, frameset-persistent-filter-alist)
951 (frameset-filter-alist): Doc fixes.
76c5e5ab 952
bd0c3c0b
JB
9532013-08-08 Juanma Barranquero <lekktu@gmail.com>
954
955 * frameset.el (frameset-p, frameset-prop): Doc fixes.
956
c735544c
SM
9572013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
960 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
961 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
962 (byte-compile-normal-call): Remove obsolescence check.
963
2805a651
JB
9642013-08-08 Juanma Barranquero <lekktu@gmail.com>
965
3677ffeb
JB
966 * frameset.el (frameset-restore): Doc fix.
967
2805a651
JB
968 * register.el (frameset-frame-id, frameset-frame-with-id)
969 (frameset-p, frameset-restore, frameset-save): Declare.
970 (register-alist): Document framesets.
971 (frameset-session-filter-alist): Declare.
972 (frameset-to-register): New function.
973 (jump-to-register): Implement jumping to framesets. Doc fix.
974 (describe-register-1): Describe framesets.
975
976 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
977
a912c016
JB
9782013-08-07 Juanma Barranquero <lekktu@gmail.com>
979
980 * desktop.el (desktop-save-frameset): Use new frameset-save args.
981 Use lexical-binding.
982
983 * frameset.el (frameset): Use type vector, not list (incompatible
984 change). Do not declare a new constructor, use the default one.
985 Upgrade suggested properties `app', `name' and `desc' to slots `app',
986 `name' and `description', respectively, and add read-only slot
987 `timestamp'. Doc fixes.
988 (frameset-copy, frameset-persistent-filter-alist)
989 (frameset-filter-alist, frameset-switch-to-gui-p)
990 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
991 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
992 (frameset-filter-iconified, frameset-keep-original-display-p):
993 Doc fixes.
994 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
995 Rename from frameset-filter-(save|restore)-param. All callers changed.
996 Doc fix.
997 (frameset-p): Adapt to change to vector and be more thorough.
998 Change arg name to OBJECT. Doc fix.
999 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1000 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1001 All callers changed.
1002 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1003 All callers changed.
1004 (frameset--record-minibuffer-relationships): Rename from
1005 frameset--process-minibuffer-frames. All callers changed.
1006 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1007 Use new default constructor (again). Doc fix.
1008 (frameset--find-frame-if): Rename from `frameset--find-frame.
1009 All callers changed.
1010 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1011 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1012 Doc fix.
1013 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1014 PARAMETERS and WINDOW-STATE, respectively.
1015 (frameset-restore): Add new keyword argument PREDICATE.
1016 Reset frameset--target-display to nil. Doc fix.
1017
bb41480a
SM
10182013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1019
f001e98e
SM
1020 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1021 (bat-mode): Use it.
1022 (bat-mode-syntax-table): Mark \n as end-of-comment.
1023 (bat-font-lock-keywords): Remove comment rule.
1024
7679edb1
SM
1025 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1026 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1027
bb41480a
SM
1028 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1029 (byte-compile-callargs-warn): Use `push'.
1030 (byte-compile-arglist-warn): Ignore higher-order "calls".
1031 (byte-compile-file-form-autoload): Use `pcase'.
1032 (byte-compile-function-form): If quoting a symbol, check that it exists.
1033
cdc1ebb9
EZ
10342013-08-07 Eli Zaretskii <eliz@gnu.org>
1035
1036 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1037 and add a few popular commands found in batch files.
1038 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1039 (dos-mode): Doc fixes.
1040
312b1740
SM
10412013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1044 (dos-mode): Use setq-local. Add space after "rem".
1045 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1046 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1047
400a3178
AM
10482013-08-07 Arni Magnusson <arnima@hafro.is>
1049
1050 * progmodes/dos.el: New file.
1051 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1052 dos-mode.
1053
3b5c03d3
GM
10542013-08-06 Glenn Morris <rgm@gnu.org>
1055
1056 * calendar/calendar.el: Add new faces, and day-header-array.
1057 (calendar-weekday-header, calendar-weekend-header)
1058 (calendar-month-header): New faces.
1059 (calendar-day-header-construct): New function.
1060 (calendar-day-header-width): Also :set calendar-day-header-array.
1061 (calendar-american-month-header, calendar-european-month-header)
1062 (calendar-iso-month-header): Use calendar- faces.
1063 (calendar-generate-month):
1064 Use calendar-day-header-array for day headers; apply faces to them.
1065 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1066 (calendar-abbrev-construct): Add optional maxlen argument.
1067 (calendar-day-name-array): Doc fix.
1068 (calendar-day-name-array, calendar-abbrev-length)
1069 (calendar-day-abbrev-array):
1070 Also :set calendar-day-header-array, and maybe redraw.
1071 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 1072 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
1073 (calendar-day-name): Add option to use header array.
1074
ec6a2d7a
LMI
10752013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1076
1077 * net/shr.el (shr-render-td): Remove debugging.
1078 (shr-render-td): Make width computation consistent by defaulting
1079 all zero-width columns to 10 characters. This may not be optimal,
1080 but it's at least consistent.
2122cb6d
LMI
1081 (shr-make-table-1): Redo last change to fix the real problem in
1082 colspan handling.
ec6a2d7a 1083
ed4fd9c5
DA
10842013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1085
0ca3f70e
SM
1086 * files.el (cache-long-line-scans):
1087 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 1088
64e22afe
JB
10892013-08-06 Juanma Barranquero <lekktu@gmail.com>
1090
024b38fc
JB
1091 * frameset.el (frameset, frameset-filter-alist)
1092 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1093 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1094 (frameset-compute-pos): Rename from frameset--compute-pos,
1095 and add docstring.
1096 (frameset-move-onscreen): Use frameset-compute-pos.
1097 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1098
64e22afe
JB
1099 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1100 Fix typos in docstrings.
1101
c8c2aca8
DA
11022013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1103
1104 * frame.el (get-other-frame): Tiny cleanup.
1105
1d237bba
JB
11062013-08-06 Juanma Barranquero <lekktu@gmail.com>
1107
8951efef
JB
1108 * vc/vc.el (vc-default-ignore-completion-table):
1109 Silence byte-compiler warning.
1110
307764cc
JB
1111 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1112 slot , which can indeed be nil.
1113 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1114 Move entry for `left' from persistent to live filter alist.
1115 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1116 Doc fixes.
1117 (frameset-filter-params): When restoring a frame, copy items added to
1118 `filtered', to avoid unwittingly modifying the original parameters.
1119 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1120 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1121
1d237bba
JB
1122 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1123 to use looking-at-p instead of looking-at. (Bug#15028)
1124
dc6c0eda
SM
11252013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1126
1127 Revert introduction of isearch-filter-predicates (bug#14714).
1128 Rely on add-function instead.
1129 * isearch.el (isearch-filter-predicates): Rename it back to
1130 isearch-filter-predicate.
1131 (isearch-message-prefix): Use advice-function-mapc and advice
1132 properties to get the isearch-message-prefix.
1133 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1134 instead of run-hook-with-args-until-failure.
1135 (isearch-filter-visible): Not obsolete any more.
1136 * loadup.el: Preload nadvice.
1137 * replace.el (perform-replace): Revert to funcall
1138 instead of run-hook-with-args-until-failure.
1139 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1140 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1141 dired-isearch-filenames-toggle; make it into a proper minor mode.
1142 Use add/remove-function.
1143 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1144 Call the minor-mode rather than add/remove-hook.
1145 (dired-isearch-filter-filenames):
1146 Remove isearch-message-prefix property.
1147 * info.el (Info--search-loop): New function, extracted from Info-search.
1148 Funcall isearch-filter-predicate instead of
1149 run-hook-with-args-until-failure isearch-filter-predicates.
1150 (Info-search): Use it.
1151 (Info-mode): Use isearch-filter-predicate instead of
1152 isearch-filter-predicates.
1153
290d5b58
DA
11542013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1155
1156 Do not call to `selected-window' where it is assumed by default.
1157 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1158 `window-hscroll', `window-width', `window-height', `window-buffer',
1159 `window-frame', `window-start', `window-point', `next-window'
1160 and `window-display-table'.
1161 * abbrev.el (abbrev--default-expand):
1162 * bs.el (bs--show-with-configuration):
1163 * buff-menu.el (Buffer-menu-mouse-select):
1164 * calc/calc.el (calc):
1165 * calendar/calendar.el (calendar-generate-window):
1166 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1167 (diary-make-entry):
1168 * comint.el (send-invisible, comint-dynamic-complete-filename)
1169 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1170 * completion.el (complete):
1171 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1172 * disp-table.el (describe-current-display-table):
1173 * doc-view.el (doc-view-insert-image):
1174 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1175 * ehelp.el (with-electric-help):
1176 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1177 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1178 * emacs-lisp/helper.el (Helper-help-scroller):
1179 * emulation/cua-base.el (cua--post-command-handler-1):
1180 * eshell/esh-mode.el (eshell-output-filter):
1181 * ffap.el (ffap-gnus-wrapper):
1182 * help-macro.el (make-help-screen):
1183 * hilit-chg.el (highlight-compare-buffers):
1184 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1185 * hl-line.el (global-hl-line-highlight):
1186 * icomplete.el (icomplete-simple-completing-p):
1187 * isearch.el (isearch-done):
1188 * jit-lock.el (jit-lock-stealth-fontify):
1189 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1190 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1191 * mpc.el (mpc-tagbrowser, mpc):
1192 * net/rcirc.el (rcirc-any-buffer):
1193 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1194 * play/landmark.el (landmark-max-width, landmark-max-height):
1195 * play/zone.el (zone):
1196 * progmodes/compile.el (compilation-goto-locus):
1197 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1198 * progmodes/etags.el (find-tag-other-window):
1199 * progmodes/fortran.el (fortran-column-ruler):
1200 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1201 * progmodes/verilog-mode.el (verilog-point-text):
1202 * reposition.el (reposition-window):
1203 * rot13.el (toggle-rot13-mode):
1204 * server.el (server-switch-buffer):
1205 * shell.el (shell-dynamic-complete-command)
1206 (shell-dynamic-complete-environment-variable):
1207 * simple.el (insert-buffer, set-selective-display)
1208 (delete-completion-window):
1209 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1210 (speedbar-recenter):
1211 * startup.el (fancy-splash-head):
1212 * textmodes/ispell.el (ispell-command-loop):
1213 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1214 * tutorial.el (help-with-tutorial):
1215 * vc/add-log.el (add-change-log-entry):
1216 * vc/compare-w.el (compare-windows):
1217 * vc/ediff-help.el (ediff-indent-help-message):
1218 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1219 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1220 (ediff-setup-control-frame):
1221 * vc/emerge.el (emerge-position-region):
1222 * vc/pcvs-util.el (cvs-bury-buffer):
1223 * window.el (walk-windows, mouse-autoselect-window-select):
1224 * winner.el (winner-set-conf, winner-undo): Related users changed.
1225
38276e01
JB
12262013-08-05 Juanma Barranquero <lekktu@gmail.com>
1227
1228 * frameset.el (frameset--set-id): Doc fix.
1229 (frameset-frame-id, frameset-frame-id-equal-p)
1230 (frameset-locate-frame-id): New functions.
1231 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1232 (frameset-restore): Use them.
1233
12b4c0ea
DA
12342013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1235
1236 Do not call to `selected-frame' where it is assumed by default.
1237 Affected functions are `raise-frame', `redraw-frame',
1238 `frame-first-window', `frame-terminal' and `delete-frame'.
1239 * calendar/appt.el (appt-disp-window):
1240 * epg.el (epg-wait-for-completion):
1241 * follow.el (follow-delete-other-windows-and-split)
1242 (follow-avoid-tail-recenter):
1243 * international/mule.el (set-terminal-coding-system):
1244 * mail/rmail.el (rmail-mail-return):
1245 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1246 * progmodes/f90.el (f90-add-imenu-menu):
1247 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1248 * server.el (server-switch-buffer):
1249 * simple.el (delete-completion-window):
1250 * talk.el (talk):
1251 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1252 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1253 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1254 * vc/ediff.el (ediff-documentation): Related users changed.
1255 * frame.el (selected-terminal): Remove the leftover.
1256
17f25e76
GM
12572013-08-05 Glenn Morris <rgm@gnu.org>
1258
1259 * calendar/calendar.el (calendar-generate-month):
1260 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
1261 (calendar-generate-month, calendar-font-lock-keywords):
1262 Fix for calendar-day-header-width > length of any day name.
17f25e76 1263
063233c3
JB
12642013-08-05 Juanma Barranquero <lekktu@gmail.com>
1265
1266 * desktop.el (desktop-clear): Use new name of sort predicate.
1267
1268 * frameset.el (frameset): Add docstring. Move :version property to its
1269 own `version' slot.
1270 (frameset-copy): Rename from copy-frameset.
1271 (frameset-p): Check more thoroughly.
1272 (frameset-prop): Do not check for :version, which is no longer a prop.
1273 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1274 Use new :never value instead of t.
1275 (frameset-filter-alist): Expand and clarify docstring.
1276 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1277 (frameset-filter-minibuffer, frameset-filter-save-param)
1278 (frameset-filter-restore-param, frameset-filter-iconified):
1279 Add pointer to docstring of frameset-filter-alist.
1280 (frameset-filter-params): Rename filter values to be more meaningful:
1281 :never instead of t, and reverse the meanings of :save and :restore.
1282 (frameset--process-minibuffer-frames): Clarify error message.
1283 (frameset-save): Avoid unnecessary and confusing call to framep.
1284 Use new BOA constructor for framesets.
1285 (frameset--reuse-list): Doc fix.
1286 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1287 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1288 (frameset-minibufferless-first-p): Doc fix.
1289 Rename from frameset-sort-frames-for-deletion.
1290 (frameset-restore): Doc fixes. Use new function names.
1291 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1292
d5671a82
JB
12932013-08-04 Juanma Barranquero <lekktu@gmail.com>
1294
1295 * desktop.el (desktop-restore-forces-onscreen)
1296 (desktop-restore-reuses-frames): Document :keyword constant values.
1297 (desktop-filter-parameters-alist): Remove, now identical to
1298 frameset-filter-alist.
1299 (desktop--filter-tty*): Remove, moved to frameset.el.
1300 (desktop-save-frameset, desktop-restore-frameset):
1301 Do not pass :filters argument.
1302
1303 * frameset.el (frameset-live-filter-alist)
1304 (frameset-persistent-filter-alist): New variables.
1305 (frameset-filter-alist): Use them. Add autoload cookie.
1306 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1307 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1308 `frameset--id' (it's supposed to be internal to frameset.el).
1309 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1310 (frameset--initial-params): New function.
1311 (frameset--get-frame): Use it. Doc fix.
1312 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1313 Accept :all, not 'all.
1314 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1315 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1316 with fbound symbols. Fix frame id matching, and remove matching ids if
1317 the frame being restored is deleted. Obey :delete.
1318
671d5c16
SM
13192013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * subr.el (macrop): New function.
1322 (text-clone--maintaining): New var.
1323 (text-clone--maintain): Rename from text-clone-maintain. Use it
1324 instead of inhibit-modification-hooks.
1325
1326 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1327 a proxy, so as handle autoloads and redefinitions of the target.
1328 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1329
1330 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1331 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1332 (pcase--mutually-exclusive-p): New function.
1333 (pcase--split-consp): Use it.
1334 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1335 mutually exclusive with the current predicate.
1336
1337 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1338 (edebug-macrop): Remove. Use `macrop' instead.
1339 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1340 (ad-macro-p):
1341 * eshell/esh-cmd.el (eshell-macrop):
1342 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1343
1d44e9dc
SM
13442013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1345
1346 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1347 (advice-mapc): New function, using it.
1348 (advice-function-member-p): New function.
1349 (advice--normalize): Store the cdr in advice--saved-rewrite since
1350 that's the part that will be changed.
1351 (advice--symbol-function): New function.
1352 (advice-remove): Handle removal before the function is defined.
1353 Adjust to new advice--saved-rewrite.
1354 (advice-member-p): Use advice-function-member-p and
1355 advice--symbol-function.
1356
5414a283
JB
13572013-08-04 Juanma Barranquero <lekktu@gmail.com>
1358
51d30f2c
JB
1359 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1360 (frameset-filter-minibuffer): Doc fix.
1361 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
1362 (frameset--set-id, frameset--process-minibuffer-frames)
1363 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1364 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 1365
5414a283
JB
1366 * desktop.el (desktop-clear): Only delete frames when called
1367 interactively and desktop-restore-frames is non-nil. Doc fix.
1368 (desktop-read): Set desktop-saved-frameset to nil.
1369
ab419665
XF
13702013-08-04 Xue Fuqiao <xfq.free@gmail.com>
1371
1372 * vc/vc.el (vc-ignore): Rewrite.
1373 (vc-default-ignore-completion-table):
1374 (vc--read-lines):
1375 (vc--add-line, vc--remove-regexp): New functions.
1376
1377 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
1378 (vc-svn-ignore-completion-table): New function.
1379
1380 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
1381 (vc-hg-ignore-completion-table):
1382 (vc-hg-find-ignore-file): New functions.
1383
1384 * vc/vc-git.el (vc-git-ignore): Rewrite.
1385 (vc-git-ignore-completion-table):
1386 (vc-git-find-ignore-file): New functions.
1387
1388 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
1389
1390 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
1391 (vc-bzr-ignore-completion-table):
1392 (vc-bzr-find-ignore-file): New functions.
1393
2613dea2
JB
13942013-08-03 Juanma Barranquero <lekktu@gmail.com>
1395
1396 * frameset.el (frameset-prop): New function and setter.
1397 (frameset-save): Do not modify frame list passed by the caller.
1398
9c959872
SM
13992013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1400
1401 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
1402
a104f656
SM
14032013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1404
70122acf
SM
1405 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
1406 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
1407
a104f656
SM
1408 * custom.el (custom-initialize-default, custom-initialize-set)
1409 (custom-initialize-reset, custom-initialize-changed): Affect the
1410 toplevel-default-value (bug#6275, bug#14586).
1411 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
1412 for bug#6275.
1413
f078d570
JB
14142013-08-02 Juanma Barranquero <lekktu@gmail.com>
1415
185e3b5a
JB
1416 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1417 Add cl-def* expressions.
1418
f078d570
JB
1419 * frameset.el (frameset-filter-params): Fix order of arguments.
1420
9421876d
JB
14212013-08-02 Juanma Barranquero <lekktu@gmail.com>
1422
1423 Move code related to saving frames to frameset.el.
1424 * desktop.el: Require frameset.
1425 (desktop-restore-frames): Doc fix.
1426 (desktop-restore-reuses-frames): Rename from
1427 desktop-restoring-reuses-frames.
1428 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
1429 (desktop-clear): Clear frames too.
1430 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
1431 (desktop--filter-tty*, desktop-save, desktop-read):
1432 Use frameset functions.
1433 (desktop-before-saving-frames-functions, desktop--filter-*-color)
1434 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1435 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
1436 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
1437 (desktop--process-minibuffer-frames, desktop-save-frames)
1438 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
1439 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
1440 (desktop--sort-states, desktop-restoring-frames-p)
1441 (desktop-restore-frames): Remove. Most code moved to frameset.el.
1442 (desktop-restoring-frameset-p, desktop-restore-frameset)
1443 (desktop--check-dont-save, desktop-save-frameset): New functions.
1444 (desktop--app-id): New constant.
1445 (desktop-first-buffer, desktop-buffer-ok-count)
1446 (desktop-buffer-fail-count): Move before first use.
1447 * frameset.el: New file.
1448
76dc5996
SM
14492013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1450
1451 * files.el: Use lexical-binding.
1452 (dir-locals-read-from-file): Remove unused `err' variable.
1453 (hack-dir-local-variables--warned-coding): New var.
1454 (hack-dir-local-variables): Use it to avoid repeated warnings.
1455 (make-backup-file-name--default-function): New function.
1456 (make-backup-file-name-function): Use it as default.
1457 (buffer-stale--default-function): New function.
1458 (buffer-stale-function): Use it as default.
1459 (revert-buffer-insert-file-contents--default-function): New function.
1460 (revert-buffer-insert-file-contents-function): Use it as default.
1461 (insert-directory): Avoid add-to-list.
1462
1463 * autorevert.el (auto-revert-handler): Simplify.
1464 Use buffer-stale--default-function.
1465
06d36e2b
TH
14662013-08-01 Tassilo Horn <tsdh@gnu.org>
1467
5f648ab4
TH
1468 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
1469
06d36e2b
TH
1470 * whitespace.el (whitespace-ensure-local-variables): New function.
1471 (whitespace-cleanup-region): Call it.
1472 (whitespace-turn-on): Call it.
1473
a43dc424
MA
14742013-08-01 Michael Albinus <michael.albinus@gmx.de>
1475
1476 Complete file name handlers.
1477
1478 * net/tramp.el (tramp-handle-set-visited-file-modtime)
1479 (tramp-handle-verify-visited-file-modtime)
1480 (tramp-handle-file-notify-rm-watch): New functions.
1481 (tramp-call-process): Do not bind `default-directory'.
1482
44e18199
JB
1483 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1484 Order alphabetically.
a43dc424
MA
1485 [access-file, add-name-to-file, dired-call-process]:
1486 [dired-compress-file, file-acl, file-notify-rm-watch]:
1487 [file-ownership-preserved-p, file-selinux-context]:
1488 [make-directory-internal, make-symbolic-link, set-file-acl]:
1489 [set-file-selinux-context, set-visited-file-modtime]:
1490 [verify-visited-file-modtime]: Add handler.
1491 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
1492
1493 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1494 [file-notify-add-watch, file-notify-rm-watch]:
1495 [set-file-times, set-visited-file-modtime]:
1496 [verify-visited-file-modtime]: Add handler.
1497 (with-tramp-gvfs-error-message)
1498 (tramp-gvfs-handle-set-visited-file-modtime)
1499 (tramp-gvfs-fuse-file-name): Remove.
1500 (tramp-gvfs-handle-file-notify-add-watch)
1501 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
1502 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
1503
44e18199
JB
1504 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1505 Order alphabetically.
a43dc424
MA
1506 [file-notify-rm-watch ]: Use default Tramp handler.
1507 [executable-find]: Remove private handler.
1508 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
1509 `default-directory'.
1510 (tramp-sh-handle-executable-find)
1511 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
1512 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1513 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
1514 Do not use `format' in `tramp-message'.
1515
1516 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
1517 [file-notify-rm-watch, set-visited-file-modtime]:
1518 [verify-visited-file-modtime]: Add handler.
1519 (tramp-smb-call-winexe): Do not bind `default-directory'.
1520
7188b515
XF
15212013-08-01 Xue Fuqiao <xfq.free@gmail.com>
1522
1523 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
1524
2412ee1a
DG
15252013-07-31 Dmitry Gutov <dgutov@yandex.ru>
1526
1527 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
1528 use it.
1529 (log-view-diff-changeset): Same.
1530 (log-view-diff-common): Call backend command `previous-revision'
1531 to find out the previous revision, in both cases. Swap the
1532 variables `to' and `fr', so that `fr' usually refers to the
1533 earlier revision (Bug#14989).
1534
5002a754
KRC
15352013-07-31 Kan-Ru Chen <kanru@kanru.info>
1536
1537 * ibuf-ext.el (ibuffer-filter-by-filename):
1538 Make it work with dired buffers too.
1539
44e18199 15402013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
1541
1542 * emacs-lisp/re-builder.el (reb-color-display-p):
1543 * files.el (save-buffers-kill-terminal):
1544 * net/browse-url.el (browse-url):
1545 * server.el (server-save-buffers-kill-terminal):
1546 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
1547 Prefer nil to selected-frame for the first arg of frame-parameter.
1548
aeca3fbb
XF
15492013-07-31 Xue Fuqiao <xfq.free@gmail.com>
1550
1551 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
1552
158bc55c
SB
15532013-07-30 Stephen Berman <stephen.berman@gmx.net>
1554
1555 * minibuffer.el (completion--twq-all): Try and preserve each
1556 completion's case choice (bug#14907).
1557
d50fceab
LMI
15582013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1559
ac38e731
LMI
1560 * net/network-stream.el (open-network-stream): Mention the new
1561 :nogreeting parameter.
1562 (network-stream-open-starttls): Use the :nogreeting parameter
1563 (bug#14938).
1564
1211de50
LMI
1565 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
1566
997798bf
LMI
1567 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
1568 more natural than popping.
1569
d50fceab 1570 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 1571 (shr-urlify): Highlight under mouse.
d50fceab 1572
5c09de04
XF
15732013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1574
207d1d04
XF
1575 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
1576
1577 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
1578
5c09de04
XF
1579 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
1580 buffer for output.
1581
3cd51eaa
XF
1582 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
1583 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 1584
44e18199 1585 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 1586 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
1587
1588 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
1589
1590 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
1591 buffer for output.
1592
35a89bdd
EZ
15932013-07-29 Eli Zaretskii <eliz@gnu.org>
1594
1595 * frame.el (frame-notice-user-settings): Avoid inflooping when the
1596 initial frame is minibuffer-less. (Bug#14841)
1597
78822e94
MA
15982013-07-29 Michael Albinus <michael.albinus@gmx.de>
1599
1600 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
1601 option.
1602
1603 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1604 (tramp-maybe-open-connection): Use it.
1605
9503c190
JB
16062013-07-28 Juanma Barranquero <lekktu@gmail.com>
1607
1608 * desktop.el (desktop--make-frame): Include `minibuffer' in the
1609 minimal set of parameters passed when creating a frame, because
1610 the minibuffer status of a frame cannot be changed later.
1611
d5a845b4
SB
16122013-07-28 Stephen Berman <stephen.berman@gmx.net>
1613
1614 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
1615 replace-regexp-in-string and inadvertent omissions in previous change.
1616 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 1617 name of filtered items buffer.
d5a845b4 1618
ddeffb17
JB
16192013-07-28 Juanma Barranquero <lekktu@gmail.com>
1620
1621 * desktop.el: Optionally force offscreen frames back onscreen.
1622 (desktop-restoring-reuses-frames): New option.
1623 (desktop--compute-pos, desktop--move-onscreen): New functions.
1624 (desktop--make-frame): Use desktop--move-onscreen.
1625
f5950f7a
AM
16262013-07-27 Alan Mackenzie <acm@muc.de>
1627
1628 Fontify a Java generic method as a function.
1629 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
1630 value to t.
1631
ae43b66a
SB
16322013-07-27 Stephen Berman <stephen.berman@gmx.net>
1633
1634 * calendar/todo-mode.el: Add command to rename todo files.
1635 (todo-rename-file): New command.
1636 (todo-key-bindings-t): Add key binding for it. Change the
1637 bindings of todo-filter-regexp-items(-multifile) to use `x'
1638 instead of `r', since the latter is better suited to the new
1639 renaming command.
1640
5ab78d3d
AM
16412013-07-27 Alan Mackenzie <acm@muc.de>
1642
1643 Make Java try-with-resources statement parse properly.
1644 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
1645 (c-block-stmt-1-2-key): New language constants/variables.
1646 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1647 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
1648 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 1649 with c-block-stmt-1-2-key.
5ab78d3d 1650
d85c4d50
JB
16512013-07-27 Juanma Barranquero <lekktu@gmail.com>
1652
1653 * desktop.el (desktop--make-frame): Apply most frame parameters after
1654 creating the frame to force (partially or totally) offscreen frames to
1655 be restored as such.
1656
e4c467f9
XF
16572013-07-26 Xue Fuqiao <xfq.free@gmail.com>
1658
1659 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 1660 (Bug#14948)
e4c467f9 1661
7ced0d04
SM
16622013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1663
1664 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
1665 `base' arg of backtrace-frame.
1666
fec92060
EZ
16672013-07-26 Eli Zaretskii <eliz@gnu.org>
1668
1669 * simple.el (list-processes): Doc fix.
1670
d58d31fb
JB
16712013-07-26 Juanma Barranquero <lekktu@gmail.com>
1672
1673 * desktop.el (desktop--select-frame):
d85c4d50 1674 Try harder to reuse existing frames.
d58d31fb 1675
53ff3e77
SM
16762013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
1679 (edebug-eval): Use backtrace-eval.
1680 (edebug--display, edebug--recursive-edit): Don't let-bind the
1681 edebug-outer-* vars that keep track of variables we locally let-bind.
1682 (edebug-outside-excursion): Don't restore outside values of locally
1683 let-bound vars.
1684 (edebug--display): Use user-error.
1685 (cl-lexical-debug, cl-debug-env): Remove.
1686
045f7a53
JB
16872013-07-26 Juanma Barranquero <lekktu@gmail.com>
1688
1689 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
1690 are restored to be sure that they are visible before deleting any
1691 remaining ones.
1692
59070b32
MM
16932013-07-26 Matthias Meulien <orontee@gmail.com>
1694
742a3501
XF
1695 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
1696 vc-print-root-log. (Bug#14948)
59070b32 1697
b1fb3596
RS
16982013-07-26 Richard Stallman <rms@gnu.org>
1699
1700 Add aliases for encrypting mail.
1701 * epa.el (epa-mail-aliases): New option.
1702 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
1703 Bind inhibit-read-only so read-only text doesn't ruin everything.
1704 (epa-mail-default-recipients): New subroutine broken out.
1705 Handle epa-mail-aliases.
1706
56ea7291
SM
17072013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 Add support for lexical variables to the debugger's `e' command.
1710 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
1711 vars, except for debugger-outer-match-data.
1712 (debugger-frame-number): Move check for "on a function call" from
1713 callers into it. Add `skip-base' argument.
1714 (debugger-frame, debugger-frame-clear): Simplify accordingly.
1715 (debugger-env-macro): Only reset the state stored in non-variables,
1716 i.e. current-buffer and match-data.
1717 (debugger-eval-expression): Rewrite using backtrace-eval.
1718 * subr.el (internal--called-interactively-p--get-frame): Remove.
1719 (called-interactively-p):
1720 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
1721 `base' arg of backtrace-frame instead.
1722
15ac32d5
GM
17232013-07-26 Glenn Morris <rgm@gnu.org>
1724
8358a09d
GM
1725 * align.el (align-regexp): Doc fix. (Bug#14857)
1726 (align-region): Explicit error if subexpression missing/does not match.
1727
15ac32d5
GM
1728 * simple.el (global-visual-line-mode):
1729 Do not duplicate the mode lighter. (Bug#14858)
1730
f47ad11b
MR
17312013-07-25 Martin Rudalics <rudalics@gmx.at>
1732
1733 * window.el (display-buffer): In display-buffer bind
1734 split-window-keep-point to t, bug#14829.
1735
02530987
JB
17362013-07-25 Juanma Barranquero <lekktu@gmail.com>
1737
1738 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
1739 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
1740 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
1741 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1742 Change accordingly.
f63ebeb5
JB
1743 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1744 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 1745
6ccb9cab 17462013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 1747
6ccb9cab 1748 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 1749
cb3a56d2
JB
17502013-07-25 Juanma Barranquero <lekktu@gmail.com>
1751
1752 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
1753 parameter to modify-frame-parameters if the value has not changed;
1754 this is a workaround for bug#14949.
1755 (desktop--make-frame): On cl-delete-if call, check parameter name,
1756 not full parameter.
1757
7aa7fff0
XF
17582013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1759
1760 * vc/vc.el (vc-ignore): New function.
1761
1762 * vc/vc-svn.el (vc-svn-ignore): New function.
1763
1764 * vc/vc-hg.el (vc-hg-ignore): New function.
1765
1766 * vc/vc-git.el (vc-git-ignore): New function.
1767
1768 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
1769 (vc-dir-ignore): New function.
1770
1771 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 1772 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
1773
1774 * vc/vc-bzr.el (vc-bzr-ignore): New function.
1775
1776 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
1777
889acc5c
JB
17782013-07-24 Juanma Barranquero <lekktu@gmail.com>
1779
1780 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
1781 (desktop-restore-frames): Warn when deleting an existing frame failed.
1782
86c40970
GM
17832013-07-24 Glenn Morris <rgm@gnu.org>
1784
1785 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
1786
d5d3c58a
MA
17872013-07-24 Michael Albinus <michael.albinus@gmx.de>
1788
1789 * filenotify.el (file-notify-supported-p):
1790 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1791 Remove functions.
1792
1793 * autorevert.el (auto-revert-use-notify):
1794 (auto-revert-notify-add-watch):
1795 * net/tramp.el (tramp-file-name-for-operation):
1796 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1797 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1798 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1799 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1800 Remove `file-notify-supported-p' entry.
1801
d100084b
GM
18022013-07-24 Glenn Morris <rgm@gnu.org>
1803
1804 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 1805 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 1806
ac93e56b
SM
18072013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1808
249eea30
SM
1809 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1810 checked with memq (bug#14935).
1811
ac93e56b
SM
1812 * files.el (revert-buffer-function): Use a non-nil default.
1813 (revert-buffer-preserve-modes): Declare var to
1814 provide access to the `preserve-modes' argument.
1815 (revert-buffer): Let-bind it.
1816 (revert-buffer--default): New function, extracted from revert-buffer.
1817
2cdeb903
SM
18182013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * lpr.el: Signal print errors more prominently.
1821 (print-region-function): Don't default to nil.
1822 (lpr-print-region): New function, extracted from print-region-1.
1823 Check lpr's return value and signal an error in case of problem.
1824 (print-region-1): Use it.
1825 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
1826 versions instead.
1827 (ps-printer-name): Default to nil.
1828 (ps-printer-name-option): Default to lpr-printer-switch.
1829 (ps-print-region-function): Don't default to nil.
1830 (ps-postscript-code-directory): Simplify default.
1831 (ps-do-despool): Use lpr-print-region to properly check the outcome.
1832 (ps-string-list, ps-eval-switch, ps-flatten-list)
1833 (ps-flatten-list-1): Remove.
1834 (ps-multibyte-buffer): Avoid setq.
1835 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1836 (print-region-function, ps-print-region-function): Don't set them here.
1837
73600831
XF
18382013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1839
0e55c076
XF
1840 * ido.el (ido-fractionp):
1841 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1842 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1843 (ido-max-directory-size, ido-max-dir-file-cache)
1844 (ido-decorations): Doc fix.
1845
73600831
XF
1846 * ansi-color.el: Fix old URL.
1847
3d012865
MM
18482013-07-23 Michael R. Mauger <michael@mauger.com>
1849
1850 * progmodes/sql.el Version 3.3
1851 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1852 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1853 (sql-interactive-remove-continuation-prompt): Rewrite, use
1854 functions above. Fix continuation prompt and complete output line
1855 handling.
1856 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1857 redirected output buffer.
1858 (sql-mode): Restore deleted code (Bug#13591).
1859
da77a2e2
JB
18602013-07-23 Juanma Barranquero <lekktu@gmail.com>
1861
1862 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1863
80ff0c71
MA
18642013-07-23 Michael Albinus <michael.albinus@gmx.de>
1865
1866 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1867
1868 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1869 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1870 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1871
b61d71e4
JB
18722013-07-23 Juanma Barranquero <lekktu@gmail.com>
1873
1874 * desktop.el (desktop-clear): Simplify; remove useless checks
1875 against invalid buffer names.
1876 (desktop-list*): Use cl-list*.
1877 (desktop-buffer-info, desktop-create-buffer): Simplify.
1878
c3512092
LL
18792013-07-23 Leo Liu <sdl.web@gmail.com>
1880
1881 * bookmark.el (bookmark-make-record): Restore NAME as a default
1882 value. (Bug#14933)
1883
0ac26976
SM
18842013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1885
7d22ce18
SM
1886 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1887 extracted from autoload--insert-text.
1888 (autoload--insert-text): Remove.
1889 (autoload--print-cookie-text): New function, extracted from
1890 autoload--insert-cookie-text.
1891 (autoload--insert-cookie-text): Remove.
1892 (autoload-generate-file-autoloads): Adjust calls accordingly.
1893
9b2607e8
SM
1894 * winner.el (winner-hook-installed-p): Remove.
1895 (winner-mode): Simplify accordingly.
1896
c43a8618
SM
1897 * subr.el (add-to-list): Fix compiler-macro when `append' is
1898 not constant. Don't use `cl-member' for the base case.
1899
0ac26976
SM
1900 * progmodes/subword.el: Fix boundary case (bug#13758).
1901 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1902 own group.
1903 (subword-backward-regexp): Make it a constant.
1904 (subword-forward-internal): Don't treat a trailing capital as the
1905 beginning of a word.
1906
6874724a
AR
19072013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1908
1909 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1910 global value of tabulated-list-revert-hook (bug#14930).
1911
70f1b5e8
JB
19122013-07-22 Juanma Barranquero <lekktu@gmail.com>
1913
a1c80d9d
JB
1914 * desktop.el: Require 'cl-lib.
1915 (desktop-before-saving-frames-functions): New hook.
1916 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1917 for frames being saved. Rename from desktop--save-minibuffer-frames.
1918 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
1919 Do not save frames with non-nil `desktop-dont-save' parameter.
1920 Filter out deleted frames.
a1c80d9d
JB
1921 (desktop--find-frame): Use cl-find-if.
1922 (desktop--select-frame): Use cl-(first|second|third) to access values
1923 of desktop-mini.
1924 (desktop--make-frame): Use cl-delete-if.
1925 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1926 (desktop-restore-frames): Use cl-(first|second|third) to access values
1927 of desktop-mini. Look for visible frame at the end, not while
1928 restoring frames.
1929
70f1b5e8
JB
1930 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1931 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1932 Use string-match-p, looking-at-p (bug#14927).
1933
728dc3cc
JB
19342013-07-21 Juanma Barranquero <lekktu@gmail.com>
1935
56bc453c
JB
1936 * desktop.el (desktop-saved-frame-states):
1937 Rename from desktop--saved-states; all users changed.
1938 (desktop-save-frames): Rename from desktop--save-frames.
1939 Do not save state to desktop file.
1940 (desktop-save): Save desktop-saved-frame-states to desktop file
1941 and reset to nil.
1942 (desktop-restoring-frames-p): New function.
1943 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1944 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1945 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1946
728dc3cc
JB
1947 * desktop.el: Correctly restore iconified frames.
1948 (desktop--filter-iconified-position): New function.
1949 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1950
862f1c9c
GM
19512013-07-20 Glenn Morris <rgm@gnu.org>
1952
c4074c9f
GM
1953 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1954 Let `message' do the formatting.
1955 (def-gdb-preempt-display-buffer): Add explicit format.
1956
d828e5f9
GM
1957 * image-dired.el (image-dired-track-original-file):
1958 Use with-current-buffer.
1959 (image-dired-track-thumbnail): Use with-current-buffer.
1960 Avoid changing point of wrong window.
1961
862f1c9c
GM
1962 * image-dired.el (image-dired-track-original-file):
1963 Avoid changing point of wrong window. (Bug#14909)
1964
f0398ec1 19652013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
1966
1967 * progmodes/gdb-mi.el (gdb-done-or-error):
1968 Guard against "%" in gdb output. (Bug#14127)
1969
1451928f
AS
19702013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1971
763a086d
JB
1972 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1973 (Bug#14826)
f7a03897 1974
1451928f
AS
1975 * international/mule.el (coding-system-iso-2022-flags): Fix last
1976 change.
1977
99107004
KH
19782013-07-20 Kenichi Handa <handa@gnu.org>
1979
763a086d
JB
1980 * international/mule.el (coding-system-iso-2022-flags):
1981 Add `8-bit-level-4'. (Bug#8522)
99107004 1982
48494e06
LMI
19832013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1984
8ba8eec5
LMI
1985 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1986 (bug#14815).
1987
dfbc66e3
LMI
1988 * net/eww.el (eww-process-text-input): Allow inputting when the
1989 point is at the start of the line, as the properties aren't
1990 front-sticky.
1991
48494e06
LMI
1992 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1993 degenerate widths.
1994
77c92cb9
RS
19952013-07-19 Richard Stallman <rms@gnu.org>
1996
aec7da77
RS
1997 * epa.el (epa-popup-info-window): Doc fix.
1998
77c92cb9
RS
1999 * subr.el (split-string): New arg TRIM.
2000
945c5bb1
JB
20012013-07-18 Juanma Barranquero <lekktu@gmail.com>
2002
2003 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2004 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2005
e06ec67f
MA
20062013-07-18 Michael Albinus <michael.albinus@gmx.de>
2007
c7064f05 2008 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
2009 `file-notify-support'. Do not autoload. Adapt all uses.
2010 (file-notify-supported-p): New defun.
2011
c7064f05
JB
2012 * autorevert.el (auto-revert-use-notify):
2013 Use `file-notify-supported-p' instead of `file-notify-support'.
2014 Adapt docstring.
e06ec67f
MA
2015 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2016
2017 * net/tramp.el (tramp-file-name-for-operation):
2018 Add `file-notify-supported-p'.
2019
2020 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2021 New defun.
2022 (tramp-sh-file-name-handler-alist): Add it as handler for
2023 `file-notify-supported-p '.
2024
2025 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2026 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2027 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2028 Add `ignore' as handler for `file-notify-*' functions.
2029
5dc8a629
EZ
20302013-07-17 Eli Zaretskii <eliz@gnu.org>
2031
2032 * simple.el (line-move-partial, line-move): Don't start vscroll or
2033 scroll-up if the current line is not taller than the window.
2034 (Bug#14881)
2035
77aea2fb
DG
20362013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2037
2038 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2039 highlight question marks in the method names as strings.
ac72c08d
DG
2040 (ruby-block-beg-keywords): Inline.
2041 (ruby-font-lock-keyword-beg-re): Extract from
2042 `ruby-font-lock-keywords'.
77aea2fb 2043
18c26d81
JD
20442013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2045
2046 * frame.el (blink-cursor-blinks): New defcustom.
2047 (blink-cursor-blinks-done): New defvar.
2048 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2049 (blink-cursor-timer-function): Check if number of blinks has been
2050 done on X and NS.
2051 (blink-cursor-suspend, blink-cursor-check): New defuns.
2052
da48522e
GM
20532013-07-15 Glenn Morris <rgm@gnu.org>
2054
2055 * edmacro.el (edmacro-format-keys): Fix previous change.
2056
0463c1ef
PE
20572013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2058
2059 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2060 The hack didn't work outside English locales anyway.
2061
b43f6451
JB
20622013-07-15 Juanma Barranquero <lekktu@gmail.com>
2063
2064 * simple.el (define-alternatives): Rename from alternatives-define,
2065 per RMS' suggestion.
2066
b958c0ad
JB
20672013-07-14 Juanma Barranquero <lekktu@gmail.com>
2068
2069 * desktop.el (desktop-restore-frames): Change default to t.
2070 (desktop-restore-in-current-display): Now offer more options.
2071 (desktop-restoring-reuses-frames): New customization option.
2072 (desktop--saved-states): Doc fix.
2073 (desktop-filter-parameters-alist): New variable, renamed and expanded
2074 from desktop--excluded-frame-parameters.
2075 (desktop--target-display): New variable.
2076 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2077 (desktop--filter-tty*, desktop--filter-*-color)
2078 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2079 (desktop--filter-save-desktop-parm)
2080 (desktop-restore-in-original-display-p): New functions.
2081 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2082 (desktop--save-minibuffer-frames): New function, inspired by a similar
2083 function from Martin Rudalics.
2084 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2085 (desktop--restore-in-this-display-p): Remove.
2086 (desktop--find-frame): Rename from desktop--find-frame-in-display
2087 and add predicate argument.
2088 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2089 (desktop--reuse-list): New variable.
2090 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2091 New functions.
2092 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2093
f6dd8b36
MA
20942013-07-14 Michael Albinus <michael.albinus@gmx.de>
2095
2096 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2097
2ce3c565
DG
20982013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2099
763a086d
JB
2100 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2101 Highlight conversion methods on Kernel.
2ce3c565 2102
2cdb7698
AM
21032013-07-13 Alan Mackenzie <acm@muc.de>
2104
2105 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2106 and comment it out. This out-commenting enables certain C++
2107 declarations to be parsed correctly.
2108
1a67b811
EZ
21092013-07-13 Eli Zaretskii <eliz@gnu.org>
2110
1b796d6b
EZ
2111 * international/mule.el (define-coding-system): Doc fix.
2112
1a67b811
EZ
2113 * simple.el (default-font-height): Don't call font-info if the
2114 frame's default font didn't change since the frame was created.
2115 (Bug#14838)
2116
58fbe886
LL
21172013-07-13 Leo Liu <sdl.web@gmail.com>
2118
2119 * ido.el (ido-read-file-name): Guard against non-symbol value.
2120
1f0480d4
FEG
21212013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2122
2123 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2124 in nested defuns.
2125
97ead0e5
LL
21262013-07-13 Leo Liu <sdl.web@gmail.com>
2127
2128 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2129 ido-set-matches call. (Bug#6852)
2130
0880a952
DG
21312013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2132
2133 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2134 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2135 Ruby 2.0.
2136 (ruby-font-lock-keywords): Distinguish calls to functions with
2137 module-like names from module references. Highlight character
2138 literals.
2139
a7d8babb
SDJ
21402013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2141
2142 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 2143 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 2144
acfcc8c5
JB
21452013-07-12 Juanma Barranquero <lekktu@gmail.com>
2146
2147 * desktop.el (desktop--v2s): Remove unused local variable.
2148 (desktop-save-buffer): Make defvar-local; adjust docstring.
2149 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2150 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2151
051f2775
AS
21522013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2153
2154 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2155
f24e7572
GM
21562013-07-12 Eli Zaretskii <eliz@gnu.org>
2157
2158 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2159 (Bug#14842)
2160
539a920c
GM
21612013-07-12 Glenn Morris <rgm@gnu.org>
2162
2163 * doc-view.el: Require cl-lib at runtime too.
2164 (doc-view-remove-if): Remove.
2165 (doc-view-search-next-match, doc-view-search-previous-match):
2166 Use cl-remove-if.
2167
2168 * edmacro.el: Require cl-lib at runtime too.
2169 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2170 (edmacro-mismatch, edmacro-subseq): Remove.
2171
2172 * shadowfile.el: Require cl-lib.
2173 (shadow-remove-if): Remove.
2174 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2175 Use cl-remove-if.
2176
2177 * wid-edit.el: Require cl-lib.
2178 (widget-choose): Use cl-remove-if.
2179 (widget-remove-if): Remove.
2180
2181 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2182 (ebrowse-delete-if-not): Remove.
2183 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2184 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2185 Use cl-delete-if-not.
2186
1048af7c
JB
21872013-07-12 Juanma Barranquero <lekktu@gmail.com>
2188
2189 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2190 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2191
6c0674ee
LL
21922013-07-12 Leo Liu <sdl.web@gmail.com>
2193
2194 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2195
a19b3c2d
GM
21962013-07-11 Glenn Morris <rgm@gnu.org>
2197
4582a01c
GM
2198 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2199 (edebug-gensym-index, edebug-gensym):
2200 Remove reimplementation of cl-gensym.
2201 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2202
2203 * thumbs.el: Require cl-lib at run-time too.
2204 (thumbs-gensym-counter, thumbs-gensym):
2205 Remove reimplementation of cl-gensym.
2206 (thumbs-temp-file): Use cl-gensym.
2207
a19b3c2d
GM
2208 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2209 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2210 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2211 (ert--union, ert--gensym-counter, ert--gensym-counter)
2212 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2213 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2214 (ert-make-test-unbound, ert--expand-should-1)
2215 (ert--expand-should, ert--should-error-handle-error)
2216 (should-error, ert--explain-equal-rec)
2217 (ert--plist-difference-explanation, ert-select-tests)
2218 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2219 Use cl-lib functions rather than reimplementations.
2220
88f6a933
MA
22212013-07-11 Michael Albinus <michael.albinus@gmx.de>
2222
2223 * net/tramp.el (tramp-methods): Extend docstring.
2224 (tramp-connection-timeout): New defcustom.
2225 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2226 (with-tramp-progress-reporter): Simplify.
2227 (tramp-process-actions): Improve messages.
2228
2229 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2230 * net/tramp-sh.el (tramp-maybe-open-connection):
2231 Use `tramp-connection-timeout'.
2232 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2233 (Bug#14808)
2234
a43d577e
LL
22352013-07-11 Leo Liu <sdl.web@gmail.com>
2236
2237 * ido.el (ido-read-file-name): Conform to the requirements of
2238 read-file-name. (Bug#11861)
2239 (ido-read-directory-name): Conform to the requirements of
2240 read-directory-name.
2241
d77974bf
JB
22422013-07-11 Juanma Barranquero <lekktu@gmail.com>
2243
2244 * subr.el (delay-warning): New function.
2245
35cb8a3e
EZ
22462013-07-10 Eli Zaretskii <eliz@gnu.org>
2247
2248 * simple.el (default-line-height): New function.
2249 (line-move-partial, line-move): Use it instead of computing the
2250 line height inline.
2251 (line-move-partial): Always compute ROWH. If the last line is
2252 partially-visible, but its text is completely visible, allow
2253 cursor to enter such a partially-visible line.
2254
525c5c77
MA
22552013-07-10 Michael Albinus <michael.albinus@gmx.de>
2256
2257 Improve error messages. (Bug#14808)
2258
2259 * net/tramp.el (tramp-current-connection): New defvar, moved from
2260 tramp-sh.el.
0ac26976 2261 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 2262 needed anymore.
0ac26976
SM
2263 (tramp-error-with-buffer): Show message in minibuffer.
2264 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
2265 (with-tramp-progress-reporter): Improve messages.
2266 (tramp-process-actions): Use progress reporter. Delete process in
2267 case of error. Improve messages.
2268
763a086d
JB
2269 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2270 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 2271 (tramp-current-connection): Remove.
525c5c77
MA
2272 (tramp-maybe-open-connection): The car of
2273 `tramp-current-connection' are the first 3 slots of the vector.
2274
c7a4d368
TZ
22752013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2276
2277 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2278 inside continued strings.
2279
954b166e
PE
22802013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2281
2282 Timestamp fixes for undo (Bug#14824).
2283 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2284
56973319
LL
22852013-07-10 Leo Liu <sdl.web@gmail.com>
2286
2287 * files.el (require-final-newline): Allow safe local value.
2288 (Bug#14834)
2289
5550a72c
LL
22902013-07-09 Leo Liu <sdl.web@gmail.com>
2291
2292 * ido.el (ido-read-directory-name): Handle fallback.
2293 (ido-read-file-name): Update DIR to ido-current-directory.
2294 (Bug#1516)
c28b9050 2295 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 2296
70c46b28
DG
22972013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2298
2299 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2300 "autoload". Remove "warn lower camel case" section, previously
2301 commented out. Highlight negation char. Do not highlight the
2302 target in singleton method definitions.
2303
0b64b838
SM
23042013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2305
7fd72e2c
SM
2306 * faces.el (tty-setup-hook): Declare the hook.
2307
0b64b838
SM
2308 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2309 and detect when a guard/pred depends on local vars (bug#14773).
2310 (pcase--u1): Adjust caller.
2311
ab49d60b
EZ
23122013-07-08 Eli Zaretskii <eliz@gnu.org>
2313
2314 * simple.el (line-move-partial, line-move): Account for
2315 line-spacing.
701d79aa
EZ
2316 (line-move-partial): Avoid setting vscroll when the last
2317 partially-visible line in window is of default height.
ab49d60b 2318
2d756ae0
LMI
23192013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2320
2321 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2322 been used a while.
2323
ed095bd7
JB
23242013-07-07 Juanma Barranquero <lekktu@gmail.com>
2325
2326 * subr.el (read-quoted-char): Remove unused local variable `char'.
2327
f1e6674b
MK
23282013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2329
584ee3fc
GM
2330 * ediff.el (ediff-version): Version update.
2331 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2332 (ediff-merge-with-ancestor-command, ediff-directories-command)
2333 (ediff-directories3-command, ediff-merge-directories-command)
2334 (ediff-merge-directories-with-ancestor-command): New functions.
2335 All are command-line interfaces to ediff: to facilitate calling
2336 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
2337
2338 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2339 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 2340
584ee3fc
GM
2341 * viper.el (viper-version): Version update.
2342 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 2343
584ee3fc
GM
23442013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
2345
2346 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
2347 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
2348 (viper-intercept-ESC-key): Simplify.
2349 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
2350 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
2351 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
2352 (viper-setup-ESC-to-escape): New functions.
2353 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
2354 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 2355
9aff9b38
EZ
23562013-07-07 Eli Zaretskii <eliz@gnu.org>
2357
5165d44a
JB
2358 * simple.el (default-font-height, window-screen-lines):
2359 New functions.
9aff9b38
EZ
2360 (line-move, line-move-partial): Use them instead of
2361 frame-char-height and window-text-height. This makes scrolling
2362 text smoother when the buffer's default face uses a font that is
2363 different from the frame's default font.
2364
1afb1d07
JD
23652013-07-06 Jan Djärv <jan.h.d@swipnet.se>
2366
2367 * files.el (write-file): Do not display confirm dialog for NS,
2368 it does its own dialog, which can't be cancelled (Bug#14578).
2369
23de972a
EZ
23702013-07-06 Eli Zaretskii <eliz@gnu.org>
2371
2372 * simple.el (line-move-partial): Adjust the row returned by
2373 posn-at-point for the current window-vscroll. (Bug#14567)
2374
54a42486
MA
23752013-07-06 Michael Albinus <michael.albinus@gmx.de>
2376
2377 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
2378 (tramp-sh-file-inotifywait-process-filter): Handle file names with
2379 spaces.
2380
34ada5f4
MR
23812013-07-06 Martin Rudalics <rudalics@gmx.at>
2382
2383 * window.el (window-state-put-stale-windows): New variable.
2384 (window--state-put-2): Save list of windows without matching buffer.
2385 (window-state-put): Remove "bufferless" windows if possible.
2386
11e03d89
JB
23872013-07-06 Juanma Barranquero <lekktu@gmail.com>
2388
2389 * simple.el (alternatives-define): Remove leftover :group keyword.
2390 Tweak docstring.
2391
3504a4be
LL
23922013-07-06 Leo Liu <sdl.web@gmail.com>
2393
2394 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
2395 (ido-enable-virtual-buffers): New variable.
2396 (ido-buffer-internal, ido-toggle-virtual-buffers)
2397 (ido-make-buffer-list): Use it.
2398 (ido-exhibit): Support turning on and off virtual buffers
2399 automatically.
2400
61e56e2c
JB
24012013-07-06 Juanma Barranquero <lekktu@gmail.com>
2402
2403 * simple.el (alternatives-define): New macro.
2404
321e1a9c
SM
24052013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * subr.el (read-quoted-char): Use read-key.
2408 (sit-for): Let read-event decode tty input (bug#14782).
2409
d610f6dd
SB
24102013-07-05 Stephen Berman <stephen.berman@gmx.net>
2411
2412 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
2413 mode command and externally. Fix various related bugs.
2414 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
2415 (todo-delete-file): New command.
2416 (todo-check-file): New function.
2417 (todo-show): Handle external deletion of the file we're trying to
2418 show (bug#14688). Replace called-interactively-p by an optional
2419 prefix argument to avoid problematic interaction with catch form
2420 when byte compiled (bug#14702).
2421 (todo-quit): Handle external deletion of the archive's todo file.
2422 Make sure the buffer that was visiting the archive file is still
2423 live before trying to bury it.
2424 (todo-category-completions): Handle external deletion of any
2425 category completion files.
2426 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
2427 of todo files, in case of external deletion.
2428 (todo-add-file): Replace unnecessary setq by let-binding.
2429 (todo-find-archive): Check whether there are any archives.
2430 Replace unnecessary setq by let-binding.
2431 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
2432 archive buffer whether or not the archive already exists.
2433 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
2434 check if the archive is new; if it is, update list of archives.
2435 (todo-default-todo-file): Allow nil to be a valid value for when
2436 there are no todo files.
2437 (todo-reevaluate-default-file-defcustom): Use corrected definition
2438 of todo-default-todo-file.
2439 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
2440 (todo-delete-category, todo-show-categories-table)
2441 (todo-category-number): Clarify comment.
2442 (todo-filter-items): Clarify documentation string.
2443 (todo-show-current-file, todo-display-as-todo-file)
2444 (todo-reset-and-enable-done-separator): Tweak documentation string.
2445 (todo-done-separator): Make separator length window-width, since
2446 bug#2749 is now fixed.
2447
ddbdfd6f
MA
24482013-07-05 Michael Albinus <michael.albinus@gmx.de>
2449
321e1a9c
SM
2450 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2451 Support both "gvfs-monitor-dir" and "inotifywait".
2452 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
2453 `tramp-sh-file-notify-process-filter'.
2454 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2455 (tramp-get-remote-gvfs-monitor-dir): New defuns.
2456
96eb829a
LL
24572013-07-05 Leo Liu <sdl.web@gmail.com>
2458
2459 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
2460
cf13177e
YM
24612013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2462
2463 * frame.el (display-pixel-height, display-pixel-width)
2464 (display-mm-height, display-mm-width): Mention behavior on
2465 multi-monitor setups in docstrings.
2466 (w32-display-monitor-attributes-list): Declare function.
2467 (display-monitor-attributes-list): Use it.
2468
864c58ca
MA
24692013-07-04 Michael Albinus <michael.albinus@gmx.de>
2470
2471 * filenotify.el: New package.
2472
2473 * autorevert.el (top): Require filenotify.el.
2474 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
2475 instead.
2476 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2477 (auto-revert-notify-handler): Use `file-notify-*' functions.
2478
2479 * subr.el (file-notify-handle-event): Move function to filenotify.el.
2480
321e1a9c
SM
2481 * net/tramp.el (tramp-file-name-for-operation):
2482 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
2483
2484 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2485 for `file-notify-add-watch' and `file-notify-rm-watch'.
2486 (tramp-process-sentinel): Improve trace.
2487 (tramp-sh-handle-file-notify-add-watch)
2488 (tramp-sh-file-notify-process-filter)
2489 (tramp-sh-handle-file-notify-rm-watch)
2490 (tramp-get-remote-inotifywait): New defuns.
2491
96673afe
JL
24922013-07-03 Juri Linkov <juri@jurta.org>
2493
2494 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
2495 call of `occur-read-primary-args' to interactive spec.
2496
2497 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
2498 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
2499
924494f4
MM
25002013-07-03 Matthias Meulien <orontee@gmail.com>
2501
2502 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
2503 `Buffer-menu-multi-occur'. Add it to the menu.
2504 (Buffer-menu-mode): Document it in docstring.
2505 (Buffer-menu-multi-occur): New command. (Bug#14673)
2506
56f75efc
DG
25072013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2508
2509 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2510 keywords and built-ins.
2511
9b057d61
GM
25122013-07-03 Glenn Morris <rgm@gnu.org>
2513
208dee4d
GM
2514 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
2515
9b057d61
GM
2516 Make info-xref checks case-sensitive by default
2517 * info.el (Info-find-node, Info-find-in-tag-table)
2518 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
2519 Add option for exact case matching of nodes.
2520 * info-xref.el (info-xref): New custom group.
2521 (info-xref-case-fold): New option.
2522 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
2523
e01aa29c
LL
25242013-07-03 Leo Liu <sdl.web@gmail.com>
2525
2526 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
2527
3086ca2e
DG
25282013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2529
2530 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
2531 middle of block statement initially, lower the depth. Remove
2532 FIXME comment, not longer valid. Remove middle of block statement
2533 detection, no need to do that anymore since we've been using
2534 `ruby-parse-region' here.
2535
a3b49114
JD
25362013-07-02 Jan Djärv <jan.h.d@swipnet.se>
2537
2538 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
2539
08e5c823 25402013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
2541
2542 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
2543
2addf922
JB
25442013-07-01 Juanma Barranquero <lekktu@gmail.com>
2545
2546 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
2547 (desktop-restore-in-current-display): New customization option.
2548 (desktop--excluded-frame-parameters): Add `font'.
2549 (desktop--save-frames): Rename from desktop--save-windows.
2550 (desktop--restore-in-this-display-p): New function.
2551 (desktop--make-full-frame): Remove unwanted width/height from
2552 full(width|height) frames.
2553 (desktop--restore-frames): Rename from desktop--restore-windows.
2554 Obey desktop-restore-current-display. Do not delete old frames or
2555 select a new frame unless we were able to restore at least one frame.
2556
ef099a94
MN
25572013-06-30 Michal Nazarewicz <mina86@mina86.com>
2558
2559 * files.el (find-file-noselect): Simplify conditional expression.
2560
2561 * remember.el (remember-append-to-file):
2562 Don't mix `find-buffer-visiting' and `get-file-buffer'.
2563
2564 Add `remember-notes' function to store random notes across Emacs
2565 restarts.
2566 * remember.el (remember-data-file): Add :set callback to affect
2567 notes buffer (if any).
2568 (remember-notes): New command.
2569 (remember-notes-buffer-name, bury-remember-notes-on-kill):
2570 New defcustoms for the `remember-notes' function.
2571 (remember-notes-save-and-bury-buffer): New command.
2572 (remember-notes-mode-map): New variable.
2573 (remember-mode): New minor mode.
2574 (remember-notes--kill-buffer-query): New function.
2575 * startup.el (initial-buffer-choice): Add notes to custom type.
2576
0865d506
EZ
25772013-06-30 Eli Zaretskii <eliz@gnu.org>
2578
0ba54312
EZ
2579 * bindings.el (right-char, left-char): Don't call sit-for, this is
2580 no longer needed. Use arithmetic comparison only for numerical
2581 arguments.
2582
ef099a94
MN
2583 * international/mule-cmds.el (select-safe-coding-system):
2584 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 2585
2fae38e5
LMI
25862013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2587
2588 * net/shr.el (shr-make-table-1): Add a sanity check that allows
2589 progression on degenerate tables.
ef099a94 2590 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 2591
a47cbd64
JB
25922013-06-30 Juanma Barranquero <lekktu@gmail.com>
2593
2594 Some fixes and improvements for desktop frame restoration.
2595 It is still experimental and disabled by default.
2596 * desktop.el (desktop--save-windows): Put the selected frame at
2597 the head of the list.
2598 (desktop--make-full-frame): New function.
2599 (desktop--restore-windows): Try to re-select the frame that was
2600 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
2601 just show an error message and continue. Set up maximized frames
2602 so they have default non-maximized dimensions.
a47cbd64 2603
6dbafa30
DG
26042013-06-30 Dmitry Gutov <dgutov@yandex.ru>
2605
ef099a94
MN
2606 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2607 Don't start heredoc inside a string or comment.
6dbafa30 2608
4c672a0f
EZ
26092013-06-29 Eli Zaretskii <eliz@gnu.org>
2610
2611 * bindings.el (visual-order-cursor-movement): New defcustom.
2612 (right-char, left-char): Provide visual-order cursor motion by
2613 calling move-point-visually. Update the doc strings.
2614
50960f36
KH
26152013-06-28 Kenichi Handa <handa@gnu.org>
2616
2617 * international/mule.el (define-coding-system): New coding system
2618 properties :inhibit-null-byte-detection,
2619 :inhibit-iso-escape-detection, and :prefer-utf-8.
2620 (set-buffer-file-coding-system): If :charset-list property of
2621 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
2622 appropriate for setting.
2623
c1ea3abf
JB
2624 * international/mule-cmds.el (select-safe-coding-system):
2625 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
2626 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
2627
2628 * international/mule-conf.el (prefer-utf-8): New coding system.
2629 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
2630 files.
2631
75dbaf9d
IK
26322013-06-28 Ivan Kanis <ivan@kanis.fr>
2633
eadb6068
IK
2634 * net/shr.el (shr-render-region): New function.
2635
75dbaf9d
IK
2636 * net/eww.el: Autoload `eww-browse-url'.
2637
9ea5cf9f
DG
26382013-06-27 Dmitry Gutov <dgutov@yandex.ru>
2639
c1ea3abf
JB
2640 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2641 Adapt to `package-desc-version' being a list.
2642 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
2643 archive element.
2644
39c0e36f
JB
26452013-06-27 Juanma Barranquero <lekktu@gmail.com>
2646
2647 New experimental feature to save&restore window and frame setup.
2648 * desktop.el (desktop-save-windows): New defcustom.
2649 (desktop--saved-states): New var.
2650 (desktop--excluded-frame-parameters): New defconst.
2651 (desktop--filter-frame-parms, desktop--find-frame-in-display)
2652 (desktop--restore-windows, desktop--save-windows): New functions.
2653 (desktop-save): Call `desktop--save-windows'.
2654 (desktop-read): Call `desktop--restore-windows'.
2655
7f13406b
LMI
26562013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2657
ef099a94 2658 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 2659
1e072639
SB
26602013-06-27 Stephen Berman <stephen.berman@gmx.net>
2661
2662 * info.el (Info-try-follow-nearest-node): Move search for footnote
2663 above search for node name to prevent missing a footnote (bug#14717).
2664
f3e2cbde
SB
26652013-06-27 Stephen Berman <stephen.berman@gmx.net>
2666
2667 * obsolete/otodo-mode.el: Add obsolescence info to file header.
2668
99906aa0
LL
26692013-06-27 Leo Liu <sdl.web@gmail.com>
2670
2671 * net/eww.el (eww-read-bookmarks): Check file size.
2672
539f75f4
SM
26732013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2674
2675 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
2676 advice--pending if newdef is nil or an autoload (bug#13820).
2677 (advice-mapc): New function.
2678
843571cb
LMI
26792013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2680
2681 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
2682 probably.
23a75d7f 2683 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
2684 (eww-add-bookmark): New command.
2685 (eww-bookmark-mode): New mode and commands.
a285ce99 2686 (eww-add-bookmark): Remove newlines from the title.
47fd571b 2687 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 2688
f2136e1e
GM
26892013-06-26 Glenn Morris <rgm@gnu.org>
2690
eab35f39
GM
2691 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
2692 (hfy-size): Handle ttys. (Bug#14668)
2693
f2136e1e
GM
2694 * info-xref.el: Update for Texinfo 5 change in *note format.
2695 (info-xref-node-re, info-xref-note-re): New constants.
2696 (info-xref-check-buffer): Use info-xref-note-re.
2697
a49ff80c
SM
26982013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2699
a343d218
SM
2700 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
2701
a49ff80c
SM
2702 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
2703 nil terminate the loop (bug#14718).
2704
8308f184
LMI
27052013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2706
2707 * net/eww.el: Rework history traversal. When going forward/back,
2708 put these actions into the history, too, so that they can be
2709 replayed.
26bf2b82 2710 (eww-render): Move the history reset to the correct buffer.
8308f184 2711
ec64c273
JL
27122013-06-25 Juri Linkov <juri@jurta.org>
2713
2714 * files-x.el (modify-dir-local-variable): Change the header comment
2715 in the file with directory local variables. (Bug#14692)
2716
e080a9d7
JL
2717 * files-x.el (read-file-local-variable-value): Add `default'.
2718 (Bug#14710)
2719
bfbc93a1
IK
27202013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2721
2722 * net/eww.el (eww-make-unique-file-name): Create a unique file
2723 name before saving to entering `y' accidentally asynchronously.
2724
27252013-06-25 Ivan Kanis <ivan@kanis.fr>
2726
2727 * net/eww.el (eww-download): New command and keystroke.
2728
16f74f10
LMI
27292013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2730
a49ff80c 2731 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
2732
2733 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
2734 be more consistent with Info and dired.
2735
2736 * net/eww.el (eww-mode-map): Ditto.
2737
12059709
SM
27382013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2739
2740 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
2741 packages from archives.
2742 (package-archive-contents): Change format; include obsolete packages.
2743 (package-desc): Use `dir' to mark builtin packages.
2744 (package--from-builtin): Set the `dir' field to `builtin'.
2745 (generated-autoload-file, version-control): Declare.
2746 (package-compute-transaction): Change first arg and return value to be
2747 lists of package-descs. Adjust to new package-archive-contents format.
2748 (package--add-to-archive-contents): Adjust to new
2749 package-archive-contents format.
2750 (package-download-transaction): Arg is now a list of package-descs.
2751 (package-install): If `pkg' is a package name, pass it as
2752 a requirement, so it is subject to the usual (e.g. disabled) checks.
2753 (describe-package): Accept package-desc as well.
2754 (describe-package-1): Describe a specific package-desc. Add links to
2755 other package-descs for the same package name.
2756 (package-menu-describe-package): Pass the actual package-desc.
2757 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
2758 works correctly.
2759 (package-desc-status): New function.
2760 (package-menu--refresh): New function, extracted
2761 from package-menu--generate.
2762 (package-menu--generate): Use it.
2763 (package-delete): Update package-alist.
2764 (package-menu-execute): Don't call package-initialize.
2765
2766 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
2767 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
2768 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
2769 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
2770 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
2771 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
2772
8bbdea0f
MR
27732013-06-25 Martin Rudalics <rudalics@gmx.at>
2774
2775 * window.el (window--state-get-1): Workaround for bug#14527.
2776 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2777
e82b0991
LMI
27782013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2779
2780 * net/eww.el (eww-back-url): Implement the history by stashing all
2781 the data into a list.
d3f0f918 2782 (eww-forward-url): Allow going forward in the history, too.
e82b0991 2783
c763842b
SM
27842013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2787 for values and use read--expression for expressions (bug#14710).
2788 (read-file-local-variable): Avoid setq.
2789 (read-file-local-variable-mode): Use minor-mode-list.
2790
bceff189
RW
27912013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2792
864c58ca 2793 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
2794 for DOI URLs.
2795
45f431c6
RW
27962013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2797
864c58ca 2798 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
2799 Update imenu-support when dialect changes.
2800
f42d8237
LL
28012013-06-25 Leo Liu <sdl.web@gmail.com>
2802
2803 * ido.el (ido-read-internal): Allow forward slash on windows.
2804
be549ce6
LMI
28052013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2806
2807 * net/eww.el (eww): Start of strings is \\`, not ^.
2808
71d4c19d
IK
28092013-06-24 Ivan Kanis <ivan@kanis.fr>
2810
5196f88a
IK
2811 * net/shr.el (shr-browse-url): Fix interactive spec.
2812
71d4c19d
IK
2813 * net/eww.el (eww): Add a trailing slash to domain names.
2814
ae36ca55
JB
28152013-06-24 Juanma Barranquero <lekktu@gmail.com>
2816
2817 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2818
0ebd92a3
LMI
28192013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2820
bdaa086b
LMI
2821 * net/shr.el (shr-browse-url): Use an external browser if given a
2822 prefix.
2823
c763842b 2824 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 2825
b89fc156
IK
28262013-06-24 Ivan Kanis <ivan@kanis.fr>
2827
2828 * net/eww.el (eww): Work more correctly for file: URLs.
2829 (eww-detect-charset): Allow quoted charsets.
2830 (eww-yank-page-url): New command and keystroke.
2831
18eb4bca
DU
28322013-06-24 Daiki Ueno <ueno@gnu.org>
2833
2834 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2835 file name of gpg executable.
2836 (epg-context-program): New function.
2837 (epg-context-home-directory): New function.
2838 (epg-context-set-program): New function.
2839 (epg-context-set-home-directory): New function.
2840 (epg--start): Use `epg-context-program' instead of
2841 'epg-gpg-program'.
2842 (epg--list-keys-1): Likewise.
2843
6c6268c8
LL
28442013-06-24 Leo Liu <sdl.web@gmail.com>
2845
2846 * ido.el (ido-read-internal): Fix bug#14620.
2847
5e400cb3
JB
28482013-06-23 Juanma Barranquero <lekktu@gmail.com>
2849
2850 * faces.el (face-documentation): Simplify.
2851 (read-face-attribute, tty-find-type, x-resolve-font-name):
2852 Use `string-match-p'.
2853 (list-faces-display): Use `string-match-p'. Simplify.
2854 (face-spec-recalc): Check face to avoid face alias loops.
2855 (read-color): Use `string-match-p' and non-capturing parenthesis.
2856
f3f9606c
LMI
28572013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2858
2859 * net/shr.el (shr-rescale-image): Use the new
2860 :max-width/:max-height functionality.
2861
a3ca09b9
IK
28622013-06-23 Ivan Kanis <ivan@kanis.fr>
2863
2864 * net/eww.el (eww-search-prefix): New variable.
2865 (eww): Use it.
f865b474
IK
2866 (eww-external-browser): New variable.
2867 (eww-mode-map): New keystroke.
2868 (eww-browse-with-external-browser): New command.
a3ca09b9 2869
e854cfc7
IK
2870 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2871
18bb9e21
JB
28722013-06-23 Juanma Barranquero <lekktu@gmail.com>
2873
2874 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2875 Don't skip aligning the next header field when padding is 0;
2876 otherwise, field width is not respected unless the title is as
2877 wide as the field.
2878
5b165ade
SM
28792013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 * emacs-lisp/package.el (package-el-version): Remove.
2882 (package-process-define-package): Fix inf-loop.
2883 (package-install): Allow symbols as arguments again.
2884
12adebe9
DG
28852013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2886
2887 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2888 add some more keyword-like methods.
2889 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2890
388573ee
JB
28912013-06-22 Juanma Barranquero <lekktu@gmail.com>
2892
2893 * bs.el (bs-buffer-show-mark): Make defvar-local.
2894 (bs-mode): Use setq-local.
2895
2896 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2897 (emacs-lock--try-unlocking): Make defvar-local.
2898
4582a01c 28992013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 2900
2663dd23
GM
2901 * play/cookie1.el (cookie-apropos): Minor simplification.
2902
3d94f3ad
GM
2903 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2904
f72e2fdb
DG
29052013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2906
2907 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2908 `regexp-opt', it breaks the build during dumping.
2909
73eab938
DG
29102013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2911
c763842b
SM
2912 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2913 Highlight keyword-like methods on Kernel and Module with
73eab938 2914 font-lock-builtin-face.
5cf8176d
DG
2915 (auto-mode-alist): Consolidate different entries into one regexp
2916 and add more *file-s.
73eab938 2917
d26255f6
SB
29182013-06-21 Stephen Berman <stephen.berman@gmx.net>
2919
2920 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2921
2922 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2923 (diary-entry): Use it in the action of this button type instead of
2924 diary-goto-entry.
2925
2926 * calendar/todo-mode.el: New version.
2927 (todo-add-category): Append new category to end of file and give
2928 it the highest number, instead of putting it at the beginning and
2929 giving it 0. Incorporate noninteractive functionality.
2930 (todo-forward-category): Adapt to 1-based category numbering.
2931 Allow skipping over archived categories.
2932 (todo-backward-category): Derive from todo-forward-category.
2933 (todo-backward-item, todo-forward-item): Make noninteractive and
2934 delegate interactive part to new commands. Make sensitive to done items.
2935 (todo-categories): Make value an alist of category names and
2936 vectors of item counts.
2937 (todo-category-beg): Make a defconst.
2938 (todo-category-number): Use 1 instead of 0 as initial value.
2939 (todo-category-select): Make sensitive to overlays, optional item
2940 highlighting and done items.
2941 (todo-delete-item): Make sensitive to overlays and marked and done items.
2942 (todo-edit-item): Make sensitive to overlays and editing of
2943 date/time header optional. Add format checks.
2944 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2945 no-op if point is not on an item. Advertise using todo-edit-quit.
2946 (todo-edit-mode): Make sensitive to new format, font-locking, and
2947 multiple todo files.
2948 (todo-insert-item, todo-insert-item-here): Derive from
2949 todo-basic-insert-item and extend functionality.
2950 (todo-item-end, todo-item-start): Make sensitive to done items.
2951 (todo-item-string): Don't return text properties. Restore point.
2952 (todo-jump-to-category): Make sensitive to multiple todo files and
2953 todo archives. Use extended category completion.
2954 (todo-lower-item, todo-raise-item): Rename to *-priority and
2955 derive from todo-set-item-priority.
2956 (todo-mode): Derive from special-mode. Make sensitive to new
2957 format, font-locking and multiple todo files. Make read-only.
2958 (todo-mode-map): Don't suppress digit keys, so they can supply
2959 prefix arguments. Add many new key bindings.
2960 (todo-prefix): Insert as an overlay instead of file text.
2961 Change semantics from diary date expression to purely visual mark.
2962 (todo-print): Rename to todo-print-buffer. Make buffer display
2963 features printable. Remove option to restrict number of items
2964 printed. Add option to print to file.
2965 (todo-print-function): Rename to todo-print-buffer-function.
2966 (todo-quit): Extend to handle exiting new todo modes.
2967 (todo-remove-item): Make sensitive to overlays.
2968 (todo-save): Extend to buffers of filtered items.
2969 (todo-show): Make sensitive to done items, multiple todo files and
2970 new todo modes. Offer to convert legacy todo file before creating
2971 first new todo file.
2972 (todo-show-priorities): Rename to todo-top-priorities.
2973 Change semantics of value 0.
2974 (todo-top-priorities): Rename to todo-filter-top-priorities,
2975 derive from todo-filter-items and extend functionality.
2976 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2977 and extend functionality to other types of filtered items.
2978 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2979 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2980 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2981 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2982 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2983 (todo-edit-mode-hook, todo-entry-prefix-function)
2984 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2985 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2986 (todo-initials, todo-insert-threshold, todo-item-string-start)
2987 (todo-line-string, todo-menu, todo-mode-hook)
2988 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2989 (todo-print-priorities, todo-remove-separator)
2990 (todo-save-top-priorities-too, todo-string-count-lines)
2991 (todo-string-multiline-p, todo-time-string-format)
2992 (todo-tmp-buffer-name): Remove.
2993 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2994 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2995 (todo-edit-category-diary-inclusion)
2996 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2997 (todo-edit-file, todo-edit-item-date-day)
2998 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2999 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3000 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3001 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3002 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3003 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3004 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3005 (todo-filter-top-priorities-multifile, todo-find-archive)
3006 (todo-find-filtered-items-file, todo-go-to-source-item)
3007 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3008 (todo-jump-to-archive-category, todo-lower-category)
3009 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3010 (todo-move-category, todo-move-item, todo-next-button)
3011 (todo-next-item, todo-padded-string, todo-powerset)
3012 (todo-previous-button, todo-previous-item)
3013 (todo-print-buffer-to-file, todo-raise-category)
3014 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3015 (todo-set-category-number, todo-set-item-priority)
3016 (todo-set-top-priorities-in-category)
3017 (todo-set-top-priorities-in-file, todo-show-categories-table)
3018 (todo-sort-categories-alphabetically-or-numerically)
3019 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3020 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3021 (todo-toggle-item-header, todo-toggle-item-highlighting)
3022 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3023 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3024 (todo-unarchive-items, todo-unmark-category): New commands.
3025 (todo-absolute-file-name, todo-add-to-buffer-list)
3026 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3027 (todo-basic-insert-item, todo-category-completions)
3028 (todo-category-number, todo-category-string-matcher-1)
3029 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3030 (todo-check-format, todo-clear-matches)
3031 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3032 (todo-current-category, todo-date-string-matcher)
3033 (todo-define-insertion-command, todo-diary-expired-matcher)
3034 (todo-diary-goto-entry, todo-diary-item-p)
3035 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3036 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3037 (todo-done-item-section-p, todo-done-separator)
3038 (todo-done-string-matcher, todo-files, todo-filter-items)
3039 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3040 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3041 (todo-insert-category-line, todo-insert-item-from-calendar)
3042 (todo-insert-sort-button, todo-insert-with-overlays)
3043 (todo-insertion-command-name, todo-insertion-key-bindings)
3044 (todo-label-to-key, todo-longest-category-name-length)
3045 (todo-make-categories-list, todo-mode-external-set)
3046 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3047 (todo-modes-set-3, todo-multiple-filter-files)
3048 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3049 (todo-read-category, todo-read-date, todo-read-dayname)
3050 (todo-read-file-name, todo-read-time)
3051 (todo-reevaluate-category-completions-files-defcustom)
3052 (todo-reevaluate-default-file-defcustom)
3053 (todo-reevaluate-filelist-defcustoms)
3054 (todo-reevaluate-filter-files-defcustom)
3055 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3056 (todo-reset-done-separator, todo-reset-done-separator-string)
3057 (todo-reset-done-string, todo-reset-global-current-todo-file)
3058 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3059 (todo-reset-prefix, todo-set-categories)
3060 (todo-set-date-from-calendar, todo-set-show-current-file)
3061 (todo-set-top-priorities, todo-short-file-name)
3062 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3063 (todo-total-item-counts, todo-update-buffer-list)
3064 (todo-update-categories-display, todo-update-categories-sexp)
3065 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3066 New functions.
3067 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3068 New major modes.
3069 (todo-categories, todo-display, todo-edit, todo-faces)
3070 (todo-filtered): New defgroups.
3071 (todo-archived-only, todo-button, todo-category-string, todo-date)
3072 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3073 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3074 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3075 (todo-add-item-if-new-category, todo-always-add-time-string)
3076 (todo-categories-align, todo-categories-archived-label)
3077 (todo-categories-category-label, todo-categories-diary-label)
3078 (todo-categories-done-label, todo-categories-number-separator)
3079 (todo-categories-todo-label, todo-categories-totals-label)
3080 (todo-category-completions-files, todo-completion-ignore-case)
3081 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3082 (todo-done-separator-string, todo-done-string)
3083 (todo-files-function, todo-filter-done-items, todo-filter-files)
3084 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3085 (todo-initial-category, todo-initial-file, todo-item-mark)
3086 (todo-legacy-date-time-regexp, todo-mode-line-function)
3087 (todo-nondiary-marker, todo-number-prefix)
3088 (todo-print-buffer-function, todo-show-current-file)
3089 (todo-show-done-only, todo-show-first, todo-show-with-done)
3090 (todo-skip-archived-categories, todo-top-priorities-overrides)
3091 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3092 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3093 New defcustoms.
3094 (todo-category-done, todo-date-pattern, todo-date-string-start)
3095 (todo-diary-items-buffer, todo-done-string-start)
3096 (todo-filtered-items-buffer, todo-item-start)
3097 (todo-month-abbrev-array, todo-month-name-array)
3098 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3099 (todo-top-priorities-buffer): New defconsts.
3100 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3101 (todo-categories-with-marks, todo-category-string-face)
3102 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3103 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3104 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3105 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3106 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3107 (todo-font-lock-keywords, todo-global-current-todo-file)
3108 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3109 (todo-insertion-commands-args)
3110 (todo-insertion-commands-args-genlist)
3111 (todo-insertion-commands-names, todo-insertion-map)
3112 (todo-key-bindings-t, todo-key-bindings-t+a)
3113 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3114 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3115 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3116 (todo-visited): New variables.
3117
cad5d1cb
GM
31182013-06-21 Glenn Morris <rgm@gnu.org>
3119
3120 * play/cookie1.el (cookie-apropos): Add optional display argument.
3121 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3122 (psychoanalyze-pinhead): Use cookie-doctor.
3123
9e277302
JB
31242013-06-21 Juanma Barranquero <lekktu@gmail.com>
3125
3126 * emacs-lisp/package.el (tar-get-file-descriptor)
3127 (tar--extract): Declare.
3128
c5b0993e
EW
31292013-06-21 Eduard Wiebe <usenet@pusto.de>
3130
3131 Extend flymake's warning predicate to be a function (bug#14217).
3132 * progmodes/flymake.el (flymake-warning-predicate): New.
3133 (flymake-parse-line): Use it.
3134 (flymake-warning-re): Make obsolete alias to
3135 `flymake-warning-predicate'.
3136
a7d2d465
SM
31372013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3138
3139 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3140 (package-obsolete-list): Remove.
3141 (package-activate): Remove min-version argument. Add `force' argument.
3142 Adjust to new package-alist format.
3143 (package-mark-obsolete): Remove.
3144 (package-unpack): Force reload of the package's autoloads.
3145 (package-installed-p): Check builtins if the installed package is not
3146 recent enough.
3147 (package-initialize): Don't reset package-obsolete-list.
3148 Don't specify which package version to activate.
3149 (package-process-define-package, describe-package-1)
3150 (package-menu--generate): Adjust to new package-alist format.
3151
cedf5c9d
JB
31522013-06-21 Juanma Barranquero <lekktu@gmail.com>
3153
3154 * allout-widgets.el (allout-widgets-mode-off)
3155 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3156 (allout-widgets-post-command-business)
3157 (allout-widgets-after-copy-or-kill-function)
3158 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3159 (allout-decorate-item-and-context)
3160 (allout-graphics-modification-handler): Fix typos in docstrings.
3161 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3162
3163 * cmuscheme.el (scheme-start-file): Doc fix.
3164 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3165 (scheme-input-filter): Use `string-match-p'.
3166
3167 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3168
3169 * dired-x.el: Use Dired consistently in docstrings.
3170
3171 * dired.el: Use Dired consistently in docstrings.
3172 (dired-readin, dired-mode): Use `setq-local'.
3173 (dired-switches-alist): Make defvar-local.
3174 (dired-buffers-for-dir): Use `zerop'.
3175 (dired-safe-switches-p, dired-switches-escape-p)
3176 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3177 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3178 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3179 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3180 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3181 (dired-toggle-marks, dired-mark-files-containing-regexp)
3182 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3183 (dired-flag-auto-save-files, dired-flag-backup-files):
3184 Use `looking-at-p'.
3185 (dired-mark-files-regexp, dired-build-subdir-alist):
3186 Use `string-match-p', `looking-at-p'.
3187
3188 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3189 (direct-print-region-helper): Use `string-match-p'.
3190
aed838b5
LL
31912013-06-21 Leo Liu <sdl.web@gmail.com>
3192
cedf5c9d
JB
3193 * comint.el (comint-redirect-results-list-from-process):
3194 Fix infinite loop.
aed838b5 3195
d80a808f
LMI
31962013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3197
3198 * net/eww.el (eww-update-header-line-format): Quote % characters.
3199
e7a526e3
GM
32002013-06-21 Glenn Morris <rgm@gnu.org>
3201
3202 * play/cookie1.el (cookie): New custom group.
3203 (cookie-file): New option.
3204 (cookie-check-file): New function.
3205 (cookie): Make it interactive. Make start and end messages optional.
3206 Interactively, display the result. Default to cookie-file.
3207 (cookie-insert): Default to cookie-file.
3208 (cookie-snarf): Make start and end messages optional.
3209 Default to cookie-file. Use with-temp-buffer.
3210 (cookie-read): Rename from read-cookie.
3211 Make start and end messages optional. Default to cookie-file.
3212 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 3213 Do not autoload it.
e7a526e3
GM
3214 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3215 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3216
62efb35e
LL
32172013-06-21 Leo Liu <sdl.web@gmail.com>
3218
3219 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3220
21e3f963
GM
32212013-06-21 Glenn Morris <rgm@gnu.org>
3222
3223 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3224
fd846ab4
SM
32252013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3226 Daniel Hackney <dan@haxney.org>
3227
3228 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3229 Consolidate the single-file vs tarball code.
3230 (package-desc-suffix): New function.
3231 (package-desc-full-name): Don't bother inlining it.
3232 (package-load-descriptor): Return the new package-desc.
3233 (package-mark-obsolete): Remove unused arg `package'.
3234 (package-unpack): Make it work for single files as well.
3235 Make it update package-alist.
3236 (package--make-autoloads-and-stuff): Rename from
3237 package--make-autoloads-and-compile. Don't compile any more.
3238 (package--compile): New function.
3239 (package-generate-description-file): New function, extracted from
3240 package-unpack-single.
3241 (package-unpack-single): Remove.
3242 (package--with-work-buffer): Add indentation and debugging info.
3243 (package-download-single): Remove.
3244 (package-install-from-archive): Rename from package-download-tar, make
3245 it take a pkg-desc, and make it work for single files as well.
3246 (package-download-transaction): Simplify.
3247 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3248 external tar program.
3249 (package-install-from-buffer): Remove `pkg-desc' argument.
3250 Use package-tar-file-info for tar-mode buffers.
3251 (package-install-file): Simplify accordingly.
3252 (package-archive-base): Change to take a pkg-desc.
3253 * tar-mode.el (tar--check-descriptor): New function, extracted from
3254 tar-get-descriptor.
3255 (tar-get-descriptor): Use it.
3256 (tar-get-file-descriptor): New function.
3257 (tar--extract): New function, extracted from tar-extract.
3258 (tar--extract): Use it.
3259 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3260 case the summary uses non-ascii. Adjust to new calling convention of
3261 package-tar-file-info.
3262
b7deae5e
LL
32632013-06-21 Leo Liu <sdl.web@gmail.com>
3264
fd846ab4
SM
3265 * comint.el (comint-redirect-results-list-from-process):
3266 Fix random delay. (Bug#14681)
b7deae5e 3267
7a65a0b2
JB
32682013-06-21 Juanma Barranquero <lekktu@gmail.com>
3269
3270 * profiler.el (profiler-format-number): Use log, not log10.
3271
1493c2af
JB
32722013-06-20 Juanma Barranquero <lekktu@gmail.com>
3273
3274 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3275
aff6371e
SM
32762013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3279 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3280 yet available.
3281 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3282 (AUTOGENEL): ... here.
3283 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3284 (cl--defsubst-expand): Use it.
3285
89561f72
PE
32862013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3287
3288 * subr.el (log10): Move here from C code, and declare as obsolete.
3289 All uses of (log10 X) replaced with (log X 10).
3290
47199123
JB
32912013-06-20 Juanma Barranquero <lekktu@gmail.com>
3292
3293 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3294 Declare with `defvar-local'.
3295 (tabulated-list-use-header-line, tabulated-list-entries)
3296 (tabulated-list-padding, tabulated-list-printer)
3297 (tabulated-list-sort-key): Declare with `defvar-local'.
3298 (tabulated-list-init-header, tabulated-list-print-fake-header):
3299 Use `setq-local'.
3300
4a172eab
MA
33012013-06-20 Michael Albinus <michael.albinus@gmx.de>
3302
47199123
JB
3303 * arc-mode.el (archive-mode): Add `archive-write-file' to
3304 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 3305
5fc0acc0
JB
33062013-06-20 Juanma Barranquero <lekktu@gmail.com>
3307
d5b27848
JB
3308 * cus-edit.el (custom-commands): Fix typos.
3309 (custom-display): Fix tooltip text.
3310 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3311 Fix typos in docstrings.
3312 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3313 (custom-unlispify-menu-entry, custom-magic-value-create)
3314 (custom-add-see-also, custom-group-value-create): Use ?\s.
3315 (custom-guess-type, customize-apropos, editable-field)
3316 (custom-face-value-create): Use `string-match-p'.
3317 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3318
3319 * custom.el (custom-load-symbol): Use `string-match-p'.
3320
a5c581d8
JB
3321 * ansi-color.el: Convert to lexical binding.
3322 (ansi-colors): Fix URL.
3323 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3324 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3325 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3326
970ad972
G
33272013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3328
3329 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3330
3331 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3332
33332013-06-19 Tom Tromey <tromey@redhat.com>
3334
3335 * net/eww.el (eww-top-url): Remove.
3336 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3337 (eww-render): Set new variables. Don't set eww-top-url.
3338 (eww-handle-link): Handle "prev", "home", and "contents".
3339 Downcase the rel text.
3340 (eww-top-url): Choose best top URL.
3341
33422013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3343
3344 * net/eww.el: Rewrite to implement form elements "by hand" instead of
3345 relying in widget.el. Using widget.el leads to too many
3346 user interface inconsistencies.
3347 (eww-self-insert): Implement entering commands in text fields.
3348 (eww-process-text-input): New function to make text input field editing
3349 work.
3350 (eww-submit): Rewrite to use the new-style form methods.
3351 (eww-select-display): Display the correct selected item.
3352 (eww-change-select): Implement changing the select value.
3353 (eww-toggle-checkbox): Implement radio/checkboxes.
3354 (eww-update-field): Fix compilation error.
3355 (eww-tag-textarea): Implement <textarea>.
3356
3357 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
3358 we don't shadow mode-specific bindings.
3359
3360 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
3361 nothing to push.
3362
3363 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
3364
4582a01c 33652013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
3366
3367 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
3368
15b263dc
MA
33692013-06-19 Michael Albinus <michael.albinus@gmx.de>
3370
3371 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
3372 not needed.
3373
3374 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
3375
8f5297f7
LMI
33762013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3377
3378 * net/browse-url.el (browse-url-browser-function):
3379 `eww-browse-url' has the right calling signature, `eww' does not.
3380
011c4552
GM
33812013-06-19 Glenn Morris <rgm@gnu.org>
3382
2285bd27
GM
3383 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3384 Only eval autoloaded macros.
3385 (byte-compile-autoload): Only give the macro warning for macros.
3386
1d653303
GM
3387 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
3388 (ps-underlined-faces): Declare.
3389
bdd779ec
GM
3390 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
3391 (speedbar-add-supported-extension): Declare.
3392
011c4552
GM
3393 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
3394 Don't include a date stamp in the header of the generated file;
3395 it leads to needless differences between output files.
3396
e59dfb0e
MA
33972013-06-19 Michael Albinus <michael.albinus@gmx.de>
3398
c763842b
SM
3399 * net/secrets.el (secrets-struct-secret-content-type):
3400 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 3401 Some servers do not offer introspection.
e59dfb0e 3402
102626e2
SM
34032013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * electric.el (electric-pair-mode): Improve interaction with
3406 electric-layout-mode.
3407 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
3408 (electric-pair-syntax): Use text-mode-syntax-table in comments
3409 and strings.
3410 (electric-pair--insert): New function.
3411 (electric-pair-post-self-insert-function): Use it and
3412 electric--after-char-pos.
3413
ad528125
LL
34142013-06-19 Leo Liu <sdl.web@gmail.com>
3415
3416 * progmodes/octave.el (octave-help): Fix regexp.
3417
924d6997
G
34182013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3419
3420 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
3421 (shr-table-horizontal-line): Allow nil as a value, and change the
3422 default.
3423 (shr-insert-table-ruler): Respect the nil value.
3424
34252013-06-18 Tom Tromey <tromey@barimba>
3426
3427 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3428 New defvars.
3429 (eww-open-file): New defun.
3430 (eww-render): Initialize new variables.
3431 (eww-display-html): Handle "link" and "a".
3432 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
3433 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
3434 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
3435 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3436 New defuns.
924d6997 3437
d1bbba4f
DG
34382013-06-18 Dmitry Gutov <dgutov@yandex.ru>
3439
3440 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
3441 Distinguish ternary operator tokens from slash symbol and slash
3442 char literal.
3443
14dd22d2
JB
34442013-06-18 Juanma Barranquero <lekktu@gmail.com>
3445
3446 Convert symbol prettification into minor mode and global minor mode.
3447
3448 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
3449 `prog-prettify-symbols', and make a local defvar instead of defcustom.
3450 (prettify-symbols--keywords): Rename from
3451 `prog-prettify-symbols-alist' and make a local defvar.
3452 (prettify-symbols--compose-symbol): Rename from
3453 `prog--prettify-font-lock-compose-symbol'.
3454 (prettify-symbols--make-keywords): Rename from
3455 `prog-prettify-font-lock-symbols-keywords' and simplify.
3456 (prog-prettify-install): Remove.
3457 (prettify-symbols-mode): New minor mode, based on
3458 `prog-prettify-install'.
3459 (turn-on-prettify-symbols-mode): New function.
3460 (global-prettify-symbols-mode): New globalized minor mode.
3461
3462 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3463 * progmodes/cfengine.el (cfengine3-mode):
3464 * progmodes/perl-mode.el (perl-mode): Don't call
3465 `prog-prettify-install'; set `prettify-symbols-alist' instead.
3466
292c880c
JL
34672013-06-18 Juri Linkov <juri@jurta.org>
3468
3469 * files-x.el (modify-file-local-variable-message): New function.
3470 (modify-file-local-variable)
3471 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
3472 and call `modify-file-local-variable-message' when it's non-nil.
3473 (add-file-local-variable, delete-file-local-variable)
3474 (add-file-local-variable-prop-line)
3475 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
3476 and use it. (Bug#9820)
3477
0950aa27
JL
34782013-06-18 Juri Linkov <juri@jurta.org>
3479
3480 * emulation/vi.el (vi-shell-op):
3481 * emulation/vip.el (vip-execute-com, ex-command):
3482 * emulation/viper-cmd.el (viper-exec-bang):
3483 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
3484 the call of `shell-command-on-region'. (Bug#14637)
3485
3486 * simple.el (shell-command-on-region): Doc fix.
3487
8fbcca16
SM
34882013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
3491 (bug#14633).
3492
dd7426ea
GM
34932013-06-18 Glenn Morris <rgm@gnu.org>
3494
4ba54f7d
GM
3495 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
3496
dd7426ea
GM
3497 * newcomment.el (comment-search-forward, comment-search-backward):
3498 Doc fix. (Bug#14376)
3499
58aa805b
JB
35002013-06-18 Juanma Barranquero <lekktu@gmail.com>
3501
3502 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
3503 (buffer-face-mode-invoke): Doc fix.
3504
9a08a617
MM
35052013-06-18 Matthias Meulien <orontee@gmail.com>
3506
3507 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 3508 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 3509
f2f426ca
GM
35102013-06-18 Glenn Morris <rgm@gnu.org>
3511
9445f99b
GM
3512 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
3513 Replace obsolete function generic-make-keywords with its expansion.
3514
e0df2d14
GM
3515 * progmodes/python.el (ffap-alist): Declare.
3516
f2f426ca
GM
3517 * textmodes/reftex.el (bibtex-mode-map): Declare.
3518
f7f9a720
SM
35192013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3520
3521 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
3522 (package-unpack, package-unpack-single): Return the pkg-dir.
3523 (package-download-transaction): Use it to update package-alist.
3524
57ff04e0
LMI
35252013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3526
3527 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
3528 possible choice.
3529
c048c022
JL
35302013-06-17 Juri Linkov <juri@jurta.org>
3531
3532 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
3533
b5bcaee5
DG
35342013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3535
a020afb9
JB
3536 * emacs-lisp/package.el (package-load-descriptor):
3537 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
3538 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
3539
551e07e5
JB
35402013-06-17 Juanma Barranquero <lekktu@gmail.com>
3541
3542 * startup.el (command-line): Expand package name returned by
3543 `package--description-file' (bug#14639).
3544
d363bffb
DG
35452013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3546
3547 * emacs-lisp/package.el (package-load-descriptor): Do not call
3548 `emacs-lisp-mode', just use its syntax table.
3549
f612933b
JB
35502013-06-17 Juanma Barranquero <lekktu@gmail.com>
3551
3552 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
3553 `font-lock-extra-managed-props' if any prettifying keyword is added.
3554 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
3555 (prog-mode): Use `setq-local'.
3556
db3b7db5
SM
35572013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * international/characters.el (standard-case-table): Set syntax of ?»
3560 and ?« to punctuation.
3561
f3d674df
JB
35622013-06-16 Juanma Barranquero <lekktu@gmail.com>
3563
3564 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
3565 Save relevant match data before calling `syntax-ppss' (bug#14595).
3566
31489a32
JL
35672013-06-15 Juri Linkov <juri@jurta.org>
3568
3569 * files-x.el (modify-file-local-variable-prop-line): Add local
3570 variables to the end of the existing comment on the first line.
3571 Use `file-auto-mode-skip' to skip interpreter magic line,
3572 and also skip XML declaration.
3573
66bd25ab
SM
35742013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * startup.el (package--builtin-versions): New var.
3577 (package-subdirectory-regexp): Remove.
3578 (package--description-file): Hard code its value instead.
3579
3580 * emacs-lisp/package.el: Don't activate packages older than builtin.
3581 (package-obsolete-list): Rename from package-obsolete-alist, and make
3582 it into a simple list of package-desc.
3583 (package-strip-version): Remove.
3584 (package-built-in-p): Use package--builtin-versions.
3585 (package-mark-obsolete): Simplify.
3586 (package-process-define-package): Mark it obsolete if older than the
3587 builtin version.
3588 (package-handle-response): Use line-end-position.
3589 (package-read-archive-contents, package--download-one-archive):
3590 Simplify.
3591 (package--add-to-archive-contents): Skip if older than the builtin or
3592 installed version.
3593 (package-menu-describe-package): Fix last change.
3594 (package-list-unversioned): New var.
3595 (package-menu--generate): Use it.
3596
3597 * emacs-lisp/autoload.el: Manage package--builtin-versions.
3598 (autoload--insert-text, autoload--insert-cookie-text): New functions.
3599 (autoload-builtin-package-versions): New variable.
3600 (autoload-generate-file-autoloads): Use them.
3601 Remove the list of autoloaded functions/macros from the
3602 (autoload...) comments.
3603
3604 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
3605
9583ec36
EZ
36062013-06-15 Eli Zaretskii <eliz@gnu.org>
3607
3608 * simple.el (line-move-partial): Don't jump to the next screen
3609 line as soon as it becomes visible. Instead, continue enlarging
3610 the vscroll until the portion of a tall screen line that's left on
3611 display is about the height of the frame's default font.
3612 (Bug#14567)
3613
f0100d8a
GM
36142013-06-15 Glenn Morris <rgm@gnu.org>
3615
b86a85ca
GM
3616 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
3617 compilation-error-regexp-alist void, or local while let-bound.
3618
f0100d8a
GM
3619 * progmodes/make-mode.el (makefile-mode-syntax-table):
3620 Treat "=" as punctuation. (Bug#14614)
3621
05e7ce90
JB
36222013-06-15 Juanma Barranquero <lekktu@gmail.com>
3623
3624 * help-fns.el (describe-variable):
3625 Add extra line for permanent-local variables.
3626
12e5e86e
SH
36272013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
3628
3629 * progmodes/scheme.el (scheme-font-lock-keywords-2):
3630 Add export, import, library. (Bug#9164)
3631 (library): Set indent function.
3632
230dcbaf
GM
36332013-06-14 Glenn Morris <rgm@gnu.org>
3634
3635 * term/xterm.el (xterm--query):
3636 Stop after first matching handler. (Bug#14615)
3637
a020afb9 36382013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
3639
3640 Add support for dired in saveplace.
3641 * dired.el (dired-initial-position-hook): New variable.
3642 (dired-initial-position): Call hook to place cursor position.
3643 * saveplace.el (save-place-to-alist): Add dired position.
3644 (save-place-dired-hook): New function.
3645
0b31660d
SM
36462013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3647
bf1e6ae8
SM
3648 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
3649 through a symbol rather than letrec.
3650
1b8dff23
SM
3651 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
3652 (package-desc): Add `dir' field.
3653 (package-desc-full-name): New function.
3654 (package-load-descriptor): Combine the two arguments. Don't use `load'.
3655 (package-maybe-load-descriptor): Remove.
3656 (package-load-all-descriptors): Just call package-load-descriptor.
3657 (package--disabled-p): New function.
3658 (package-desc-vers, package-desc-doc): Remove aliases.
3659 (package--dir): Remove function.
3660 (package-activate): Check if a package is disabled.
3661 (package-process-define-package): New function, extracted from
3662 define-package.
3663 (define-package): Turn into a place holder.
3664 (package-unpack-single, package-tar-file-info):
3665 Use package--description-file.
3666 (package-compute-transaction): Use package--disabled-p.
3667 (package-download-transaction): Don't call
3668 package-maybe-load-descriptor since they're all loaded anyway.
3669 (package-install): Change argument to be a pkg-desc.
3670 (package-delete): Use a single pkg-desc argument.
3671 (describe-package-1): Use package-desc-dir instead of package--dir.
3672 Use package-desc property instead of package-symbol.
3673 (package-install-button-action): Adjust accordingly.
3674 (package--push): Rewrite.
3675 (package-menu--print-info): Adjust accordingly. Change the ID format
3676 to be a pkg-desc.
3677 (package-menu-describe-package, package-menu-get-status)
3678 (package-menu--find-upgrades, package-menu-mark-upgrades)
3679 (package-menu-execute, package-menu--name-predicate):
3680 Adjust accordingly.
3681 * startup.el (package--description-file): New function.
3682 (command-line): Use it.
3683 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3684 Use package-desc-version.
3685
0b31660d
SM
3686 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
3687 (byte-compile-preprocess): Use it.
3688 (byte-compile-file-form-defalias): Try a bit harder to use macros we
3689 can't quite recognize.
3690 (byte-compile-add-to-list): Remove.
3691 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
3692 (cconv-closure-convert): Add assertion.
3693
3694 * emacs-lisp/map-ynp.el: Use lexical-binding.
3695 (map-y-or-n-p): Remove unused vars `tail' and `object'.
3696 Factor out some repeated code.
3697
de0503df
SM
36982013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * subr.el (with-eval-after-load): New macro.
3701 (eval-after-load): Allow form to be a function.
3702 take advantage of lexical-binding.
3703 (do-after-load-evaluation): Use dolist and adjust to new format.
3704 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
3705
bc5c8c5a
JL
37062013-06-13 Juri Linkov <juri@jurta.org>
3707
3708 * replace.el (perform-replace): Display "symbol " and other search
3709 modes from `isearch-message-prefix' in the *Help* buffer.
3710
3711 * isearch.el (isearch-query-replace): Add " symbol" and other
3712 possible search modes from `isearch-message-prefix' to the prompt.
3713 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
3714 when reading a regexp to collect.
3715
a22289f7
JL
37162013-06-13 Juri Linkov <juri@jurta.org>
3717
3718 * isearch.el (word-search-regexp): Match whitespace if the search
3719 string begins or ends in whitespace. The LAX arg is applied to
3720 both ends of the search string. Use `regexp-quote' and explicit
3721 \< and \> instead of \b. Use \` and \' instead of ^ and $.
3722 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
3723 boundaries are replaced with symbol boundaries, and characters
3724 between symbols match non-word non-symbol syntax. (Bug#14602)
3725
cb89acab
JL
37262013-06-13 Juri Linkov <juri@jurta.org>
3727
3728 * isearch.el (isearch-del-char): Don't exceed the length of
3729 `isearch-string' by the prefix arg. (Bug#14563)
3730
6e8cfc81
JL
37312013-06-13 Juri Linkov <juri@jurta.org>
3732
3733 * isearch.el (isearch-yank-word, isearch-yank-line)
3734 (isearch-char-by-name, isearch-quote-char)
3735 (isearch-printing-char, isearch-process-search-char):
3736 Add optional count prefix arg. (Bug#14563)
3737
3738 * international/isearch-x.el
3739 (isearch-process-search-multibyte-characters):
3740 Add optional count prefix arg.
3741
c23d55f4
VS
37422013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
3745 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
3746 lexical-binding.
3747
37482013-06-13 Vitalie Spinu <spinuvit@gmail.com>
3749
3750 * subr.el (set-temporary-overlay-map): Add on-exit argument.
3751
ba947bc4
GM
37522013-06-13 Glenn Morris <rgm@gnu.org>
3753
8baeb37a
GM
3754 * startup.el (tty-handle-args):
3755 Don't just discard "--" and anything after. (Bug#14608)
3756
ba947bc4
GM
3757 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
3758
9abefce4
MA
37592013-06-13 Michael Albinus <michael.albinus@gmx.de>
3760
3761 Implement changes in Secret Service API. Make it backward compatible.
3762 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
3763 (secrets-create-item): Use it. Prefix properties with interface.
3764
5755011f
MH
37652013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
3766
3767 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
3768 (term-emulate-terminal): Respect term-suppress-hard-newline.
3769
1261d2da
S
37702013-06-13 E Sabof <esabof@gmail.com> (tiny change)
3771
3772 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3773 Only remove a `thumb-file' overlay. (Bug#14548)
3774
868490bb
GJ
37752013-06-12 Grégoire Jadi <daimrod@gmail.com>
3776
3777 * mail/reporter.el (reporter-submit-bug-report):
3778 Handle missing package-name. (Bug#14600)
3779
79d7167f
TH
37802013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3781
3782 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
3783 (reftex-citation-prompt, reftex-default-bibliography)
3784 (reftex-bib-or-thebib, reftex-get-bibfile-list)
3785 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3786 (reftex-bib-sort-author, reftex-bib-sort-year)
3787 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3788 (reftex-extract-bib-entries-from-thebibliography)
3789 (reftex-get-bibkey-default, reftex-get-bib-names)
3790 (reftex-parse-bibtex-entry, reftex-get-bib-field)
3791 (reftex-format-bib-entry, reftex-parse-bibitem)
3792 (reftex-format-bibitem, reftex-do-citation)
3793 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3794 (reftex-restrict-bib-matches, reftex-extract-bib-file)
3795 (reftex-insert-bib-matches, reftex-format-citation)
3796 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3797 (reftex-create-bibtex-file): Add docstrings, mostly by converting
3798 existing comments into docstrings.
3799
5f9dbd7a
XF
38002013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3801
3802 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3803
94df41ab
AS
38042013-06-12 Andreas Schwab <schwab@suse.de>
3805
3806 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3807 for auto-save files.
3808
a7f3fecc
GM
38092013-06-12 Glenn Morris <rgm@gnu.org>
3810
001809f6
GM
3811 * ido.el (ido-delete-ignored-files): Remove.
3812 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3813 Go back to calling ido-ignore-item-p directly.
a7f3fecc 3814
834b5ded
EL
38152013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
3816
08c73ed2
EL
3817 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3818
834b5ded
EL
3819 * ido.el (ido-delete-ignored-files): New function,
3820 split from ido-make-file-list-1.
3821 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
3822 (ido-make-file-list-1): Use ido-delete-ignored-files.
3823
daabf15a
LL
38242013-06-12 Leo Liu <sdl.web@gmail.com>
3825
3826 * progmodes/octave.el (inferior-octave-startup)
3827 (inferior-octave-completion-table)
3828 (inferior-octave-track-window-width-change)
3829 (octave-eldoc-function-signatures, octave-help)
3830 (octave-find-definition): Use single quoted strings.
3831 (inferior-octave-startup-args): Change default value.
3832 (inferior-octave-startup): Do not hard code "-i" and
3833 "--no-line-editing".
3834 (inferior-octave-resync-dirs): Add optional arg NOERROR.
3835 (inferior-octave-directory-tracker): Use it.
3836 (octave-goto-function-definition): Robustify.
3837 (octave-help): Support highlighting operators in 'See also'.
3838 (octave-find-definition): Find subfunctions only in Octave mode.
3839
cf4e5178
SM
38402013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3841
3842 * help-fns.el (help-fns--compiler-macro): If the handler function is
3843 named, then put a link to it.
3844 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3845 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3846 (cl-typep): Use it.
3847 (cl-eval-when): Simplify debug spec.
3848 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3849 compiler-macro function instead of setting `compiler-macro-file'.
3850
99c81280 38512013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
3852
3853 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3854 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3855
f56be016
SM
38562013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3857 Daniel Hackney <dan@haxney.org>
3858
3859 First part of Daniel Hackney's patch to package.el.
3860 * emacs-lisp/package.el: Use defstruct.
3861 (package-desc): New, main struct.
3862 (package--bi-desc, package--ac-desc): New structs, used to describe the
3863 format in external files.
3864 (package-desc-vers): Replace with package-desc-version accessor.
3865 (package-desc-doc): Replace with package-desc-summary accessor.
3866 (package-activate-1): Remove `package' arg since the pkg-vec now
3867 includes the name.
3868 (define-package): Use package-desc-from-define.
3869 (package-unpack-single): Change file-name arg to be a symbol.
3870 (package--add-to-archive-contents): Use package-desc-create and new
3871 accessor functions to package--ac-desc.
3872 (package-buffer-info, package-tar-file-info): Return a package-desc.
3873 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3874 arg to be a package-desc.
3875 (package-install-file): Adjust accordingly. Use \' to match EOS.
3876 (package--from-builtin): New function.
3877 (describe-package-1, package-menu--generate): Use it.
3878 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3879 (package-generate-autoloads): Idem and return the name of the file.
3880 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3881 Change pkg-info arg to be a package-desc.
3882 Use package-make-ac-desc.
3883 (package-upload-file): Use \' to match EOS.
3884 * finder.el (finder-compile-keywords): Use package-make-builtin.
3885
31119d63
SM
38862013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3887
931a2762
SM
3888 * vc/vc.el (vc-deduce-fileset): Change error message.
3889 (vc-read-backend): New function.
3890 (vc-next-action): Use it.
3891
5a3eb0c6
SM
3892 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3893
e3eb1bb7
SM
3894 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3895 (prolog-font-lock-keywords): Use regexp-opt instead.
3896 Don't manually highlight strings.
3897 (prolog-mode-variables): Simplify comment-start-skip.
3898 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3899
31119d63
SM
3900 * emacs-lisp/generic.el (generic--normalise-comments)
3901 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3902 (generic-mode-set-comments): Use them.
3903 (generic-bracket-support): Use setq-local.
3904 (generic-make-keywords-list): Declare obsolete.
3905
7de135d0
GM
39062013-06-11 Glenn Morris <rgm@gnu.org>
3907
3908 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3909 Prettify after setting font-lock-defaults. (Bug#14574)
3910
fa6bc6fd
JB
39112013-06-11 Juanma Barranquero <lekktu@gmail.com>
3912
3913 * replace.el (query-replace, occur-read-regexp-defaults-function)
3914 (replace-search):
3915 * subr.el (declare-function, number-sequence, local-set-key)
3916 (substitute-key-definition, locate-user-emacs-file)
3917 (with-silent-modifications, split-string, eval-after-load):
3918 Fix typos, remove unneeded backslashes and reflow some docstrings.
3919
cf1f9b9a
SM
39202013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3921
3922 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3923 default for Elisp files.
3924
56602a4b
GM
39252013-06-11 Glenn Morris <rgm@gnu.org>
3926
3927 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3928 although define-derived-mode was doing this anyway. (Bug#14583)
3929
30ae0b2c
JB
39302013-06-10 Juanma Barranquero <lekktu@gmail.com>
3931
3932 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3933 Fix make-variable-buffer-local call to refer to the correct variable.
3934
fa472906
AG
39352013-06-10 Aidan Gauland <aidalgol@amuri.net>
3936
3937 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
3938 (eshell-visual-subcommands, eshell-visual-options):
3939 Add summary line to docstrings. Add cross-references.
fa472906 3940
ff4871b9
GM
39412013-06-10 Glenn Morris <rgm@gnu.org>
3942
3943 * epa.el (epa-read-file-name): New function. (Bug#14510)
3944 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3945
04fcf1b0
AG
39462013-06-09 Aidan Gauland <aidalgol@amuri.net>
3947
3948 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3949 output redirection to be ignored with visual commands.
3950
88b00caa
AG
39512013-06-09 Aidan Gauland <aidalgol@amuri.net>
3952
3953 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
3954 (eshell-term-initialize): Move long lambda to separate function
3955 eshell-visual-command-p.
e7b41c4c
JB
3956 * eshell/em-dirs.el (eshell-dirs-initialise):
3957 * eshell/em-script.el (eshell-script-initialize):
3958 Add missing #' to lambda.
88b00caa 3959
fda74125
LL
39602013-06-08 Leo Liu <sdl.web@gmail.com>
3961
3962 * progmodes/octave.el (octave-add-log-current-defun): New function.
3963 (octave-mode): Set add-log-current-defun-function.
3964 (octave-goto-function-definition): Do not move point if not found.
3965 (octave-find-definition): Enhance to try subfunctions first.
3966
467f3b33
GM
39672013-06-08 Glenn Morris <rgm@gnu.org>
3968
3969 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3970 (byte-compile-backward-char, byte-compile-backward-word):
3971 Improve previous change, to handle non-explicit nil.
3972
544badc3
SM
39732013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3976 (smie--opener/closer-at-point): New function.
3977 (smie--matching-block-data): Use it. Don't match from right after an
3978 opener or right before a closer. Obey smie-blink-matching-inners.
3979 Don't signal a mismatch for repeated inners like "switch..case..case".
3980
a175bf33
LL
39812013-06-07 Leo Liu <sdl.web@gmail.com>
3982
3983 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3984 to t. (Bug#14303)
ce8209d4
LL
3985 (octave-function-header-regexp): Fix. (Bug#14570)
3986 (octave-help-mode-finish-hook, octave-help-mode-finish):
3987 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
3988
3989 * newcomment.el (comment-search-backward): Revert last change.
3990 (Bug#14434)
3991
3992 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3993
a822acff
EZ
39942013-06-07 Eli Zaretskii <eliz@gnu.org>
3995
3996 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3997 through xargs, to avoid failure due to MS-Windows limitations on
3998 command-line length.
3999
961166f5
GM
40002013-06-06 Glenn Morris <rgm@gnu.org>
4001
d0341459
GM
4002 * font-lock.el (lisp-font-lock-keywords-2):
4003 Treat user-error like error.
4004
961166f5
GM
4005 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4006 (byte-compile-backward-char, byte-compile-backward-word):
4007 Handle explicit nil arguments. (Bug#14565)
4008
80fa505f
AM
40092013-06-05 Alan Mackenzie <acm@muc.de>
4010
4011 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 4012 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 4013 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 4014 (Bug#9706)
80fa505f 4015
fccdc796
SM
40162013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * autorevert.el (auto-revert-notify-handler): Use memq.
4019 Hide assertion failure.
4020
4021 * skeleton.el: Use cl-lib.
4022 (skeleton-further-elements): Use defvar-local.
4023 (skeleton-insert): Use cl-progv.
4024
9bfff84b
TZ
40252013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4026
4027 * progmodes/prog-mode.el (prog-prettify-symbols)
4028 (prog-prettify-install): Update docstrings.
4029
55577e7c
SM
40302013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4031
4032 * simple.el: Move all the prog-mode code to prog-mode.el.
4033 * progmodes/prog-mode.el: New file.
4034 * loadup.el: Add prog-mode.el.
4035
8fc57765
TZ
40362013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4037
4038 * simple.el (prog-prettify-symbols): Add version.
4039 (prog-prettify-install): Add convenience function to prettify symbols.
4040
4041 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4042 (perl--augmented-font-lock-keywords-1)
4043 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4044 variables and use it.
4045
4046 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4047 (cfengine3-mode): Remove unneeded variable and use it.
4048
4049 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4050 (lisp--augmented-font-lock-keywords-1)
4051 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4052 Remove unneeded variables and use it.
4053
650645d5 40542013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
4055
4056 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 4057 to point when opening the connection. (Bug#14380)
28f5da6d 4058
781b4af6
SM
40592013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * subr.el (load-history-regexp, load-history-filename-element)
4062 (eval-after-load, after-load-functions, do-after-load-evaluation)
4063 (eval-next-after-load, display-delayed-warnings)
4064 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4065 definition of save-match-data.
4066 (overriding-local-map): Remove accidental obsolescence declaration.
4067
4068 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4069
3ca0d0b4
TZ
40702013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4071
4072 Generalize symbol prettify support to prog-mode and implement it
4073 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4074 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4075 (prog--prettify-font-lock-compose-symbol)
4076 (prog-prettify-font-lock-symbols-keywords): New variables and
4077 functions to support symbol prettification.
4078 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4079 (lisp--augmented-font-lock-keywords-1)
4080 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4081 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4082 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
4083 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4084 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
4085 * progmodes/perl-mode.el (perl-prettify-symbols)
4086 (perl--font-lock-compose-symbol)
4087 (perl--font-lock-symbols-keywords): Move to prog-mode.
4088 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4089 (perl-font-lock-keywords-1)
4090 (perl-font-lock-keywords-2): Remove explicit prettify support.
4091 (perl--augmented-font-lock-keywords)
4092 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
4093 (perl--augmented-font-lock-keywords-2, perl-mode):
4094 Implement prettify support.
3ca0d0b4 4095
976cb066
LL
40962013-06-05 Leo Liu <sdl.web@gmail.com>
4097
4098 Re-implement smie matching block highlight using
4099 show-paren-data-function. (Bug#14395)
4100 * emacs-lisp/smie.el (smie-matching-block-highlight)
4101 (smie--highlight-matching-block-overlay)
4102 (smie--highlight-matching-block-lastpos)
4103 (smie-highlight-matching-block)
4104 (smie-highlight-matching-block-mode): Remove.
4105 (smie--matching-block-data-cache): New variable.
4106 (smie--matching-block-data): New function.
4107 (smie-setup): Use smie--matching-block-data for
4108 show-paren-data-function.
4109
4110 * progmodes/octave.el (octave-mode-menu): Fix.
4111 (octave-find-definition): Skip garbage lines.
4112
208d0342
SM
41132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4114
4115 Fix compilation error with simultaneous dynamic+lexical scoping.
4116 Add warning when a defvar appears after the first let-binding.
4117 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4118 (byte-compile-close-variables): Initialize it.
4119 (byte-compile--declare-var): New function.
4120 (byte-compile-file-form-defvar)
4121 (byte-compile-file-form-define-abbrev-table)
4122 (byte-compile-file-form-custom-declare-variable): Use it.
4123 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4124 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4125 (byte-compile-bind): Handle dynamic bindings that shadow
4126 lexical bindings.
4127 (byte-compile-unbind): Make arg non-optional.
4128 (byte-compile-let): Simplify.
4129 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4130 (cconv--analyse-function, cconv-analyse-form): Populate it.
4131 Protect byte-compile-bound-variables to limit the scope of defvars.
4132 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4133 Remove unneeded rule for `declare'.
4134
4135 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4136 so as to avoid depending on cl-adjoin at run-time.
4137 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4138
4139 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4140 (macroexp--warn-and-return): Use it.
4141
2587b005
LL
41422013-06-05 Leo Liu <sdl.web@gmail.com>
4143
4144 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4145
f1da3c88
LL
41462013-06-04 Leo Liu <sdl.web@gmail.com>
4147
4148 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4149 (compilation-auto-jump): Suppress the "Mark set" message to give
4150 way to exit message.
4151
3caa391f
AM
41522013-06-04 Alan Mackenzie <acm@muc.de>
4153
4154 Remove faulty optimisation from indentation calculation.
4155 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4156 search limit based on 2000 characters back from indent-point.
4157
068922a2
TH
41582013-06-03 Tassilo Horn <tsdh@gnu.org>
4159
4160 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4161
1f8fdd53
SM
41622013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4163
bbcc4d97
SM
4164 * emacs-lisp/lisp.el: Use lexical-binding.
4165 (lisp--local-variables-1, lisp--local-variables): New functions.
4166 (lisp--local-variables-completion-table): New var.
208d0342 4167 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 4168
1f8fdd53
SM
4169 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4170 eagerly (bug#14422).
4171
c9628c79
MA
41722013-06-03 Michael Albinus <michael.albinus@gmx.de>
4173
4174 * autorevert.el (auto-revert-notify-enabled)
4175 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4176 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4177 (auto-revert-notify-handler): Handle also gfilenotify.
4178
e7b41c4c 4179 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 4180 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 4181 Remove.
c9628c79 4182
e5e4a942
JL
41832013-06-03 Juri Linkov <juri@jurta.org>
4184
4185 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4186 `M-s h .'. (Bug#14427)
4187
4188 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4189 command `hi-lock-face-symbol-at-point'.
4190 (hi-lock-face-symbol-at-point): New command.
4191 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4192 (hi-lock-menu): Add `highlight-symbol-at-point'.
4193 (hi-lock-mode): Doc fix.
4194
4195 * isearch.el (isearch-forward-symbol-at-point): New command.
4196 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4197 (isearch-highlight-regexp): Add a regexp which matches
4198 words/symbols for word/symbol mode.
4199
4200 * subr.el (find-tag-default-bounds): New function with the body
4201 mostly moved from `find-tag-default'.
4202 (find-tag-default): Move most code to `find-tag-default-bounds',
4203 call it and apply `buffer-substring-no-properties' afterwards.
4204
26b3353a
TH
42052013-06-03 Tassilo Horn <tsdh@gnu.org>
4206
781b4af6
SM
4207 * eshell/em-term.el (eshell-term-initialize):
4208 Use `cl-intersection' rather than `intersection'.
26b3353a 4209
51b60f53
XF
42102013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4211
fe054b63 4212 * vc/log-view.el: Doc fix.
d3ffe17c 4213 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 4214
a0eb10b3 42152013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
4216
4217 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4218 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4219 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4220 (eieio-unbound, eieio-default-superclass)
4221 (eieio--define-field-accessors, method-static, method-before)
4222 (method-primary, method-after, method-num-lists)
4223 (method-generic-before, method-generic-primary)
4224 (method-generic-after, method-num-slots)
4225 (eieio-specialized-key-to-generic-key)
4226 (eieio--check-type, class-v, class-p)
4227 (eieio-class-name, define-obsolete-function-alias)
4228 (eieio-class-parents-fast, eieio-class-children-fast)
4229 (same-class-fast-p, class-constructor, generic-p)
4230 (generic-primary-only-p, generic-primary-only-one-p)
4231 (class-option-assoc, class-option, eieio-object-p)
4232 (class-abstract-p, class-method-invocation-order)
4233 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4234 (eieio-class-un-autoload, eieio-defclass)
4235 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4236 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4237 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4238 (eieio-defgeneric-reset-generic-form)
4239 (eieio-defgeneric-form-primary-only)
4240 (eieio-defgeneric-reset-generic-form-primary-only)
4241 (eieio-defgeneric-form-primary-only-one)
4242 (eieio-defgeneric-reset-generic-form-primary-only-one)
4243 (eieio-unbind-method-implementations)
4244 (eieio--defmethod, eieio--typep)
4245 (eieio-perform-slot-validation, eieio-validate-slot-value)
4246 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4247 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4248 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4249 (eieio-slot-name-index, eieio-class-slot-name-index)
4250 (eieio-set-defaults, eieio-initarg-to-attribute)
4251 (eieio-attribute-to-initarg, eieio-c3-candidate)
4252 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4253 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4254 (eieio-class-precedence-list, eieio-generic-call-methodname)
4255 (eieio-generic-call-arglst, eieio-generic-call-key)
4256 (eieio-generic-call-next-method-list)
4257 (eieio-pre-method-execution-functions, eieio-generic-call)
4258 (eieio-generic-call-primary-only, eieiomt-method-list)
4259 (eieiomt-optimizing-obarray, eieiomt-install)
4260 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4261 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 4262 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
4263 (defclass): Remove `eval-and-compile' from macro.
4264 (call-next-method, shared-initialize): Instead of using
4265 `scoped-class' variable, use new eieio--scoped-class, and
4266 eieio--with-scoped-class.
4267 (initialize-instance): Rename local variable 'scoped-class' to
4268 'this-class' to remove ambiguitity from old global.
4269
4270 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4271 eieio.el.
4f405069
JB
4272 (eieio--scoped-class-stack): New variable.
4273 (eieio--scoped-class): New fcn.
890f7890
DE
4274 (eieio--with-scoped-class): New scoping macro.
4275 (eieio-defclass): Use pushnew instead of add-to-list.
4276 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4277 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4278 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4279 `scoped-class' variable, use new eieio--scoped-class, and
4280 eieio--with-scoped-class.
4281
4282 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4283
d105b0e2
TH
42842013-06-02 Tassilo Horn <tsdh@gnu.org>
4285
4286 * eshell/esh-ext.el (eshell-external-command): Pass args to
4287 `eshell-find-interpreter'.
4288 (eshell-find-interpreter): Add new second parameter ARGS.
4289
4290 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 4291 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
4292
4293 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 4294 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
4295
4296 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4297 (eshell-visual-options): New defcustom.
4298 (eshell-escape-control-x): Adapt docstring.
4299 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4300 `eshell-visual-options' in addition to `eshell-visual-commands'.
4301 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4302
f46305c8 43032013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
4304
4305 * progmodes/python.el (python-indent-block-enders): Add break,
4306 continue and raise keywords.
4307
d870df21
GM
43082013-06-01 Glenn Morris <rgm@gnu.org>
4309
9133b82e
GM
4310 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4311
02c992ec 4312 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
4313 * progmodes/cc-cmds.el (delete-forward-p):
4314 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4315 * progmodes/cc-engine.el (buffer-syntactic-context):
4316 * progmodes/cc-fonts.el (face-property-instance):
4317 * progmodes/cc-mode.el (set-keymap-parents):
4318 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4319 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4320 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
4321 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4322 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 4323
31e7b090
GM
4324 * progmodes/cc-vars.el (other): Emacs has this widget since
4325 at least 21.1, so don't (re)define it.
4326
d870df21
GM
4327 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4328 Replace the obsolete alias pcomplete-arg-quote-list.
4329
c75c93c7
LL
43302013-06-01 Leo Liu <sdl.web@gmail.com>
4331
4332 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4333 punctuation syntax.
4334 (inferior-octave-minimal-columns)
4335 (inferior-octave-last-column-width): New variables.
4336 (inferior-octave-track-window-width-change): New function.
4337 (inferior-octave-mode): Adjust column width so that Octave output,
4338 for example from 'ls', can fit into the window nicely.
4339
973d1e12
DG
43402013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4341
4342 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4343 Highlight expansions inside regexp literals.
4344
0888c286
GM
43452013-05-31 Glenn Morris <rgm@gnu.org>
4346
e26aac1f
GM
4347 * obsolete/sym-comp.el (symbol-complete):
4348 Replace obsolete completion-annotate-function.
4349
0888c286
GM
4350 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
4351
19bb8e62
DG
43522013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4353
781b4af6
SM
4354 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4355 New function, checks if point is inside a literal that allows
19bb8e62
DG
4356 expression expansion.
4357 (ruby-syntax-propertize-expansion): Use it.
4358 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
4359 around the body.
4360
01dea85f
JL
43612013-05-30 Juri Linkov <juri@jurta.org>
4362
4363 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
4364 to "\M-si".
4365 (isearch-invisible): New variable.
4366 (isearch-forward): Doc fix.
4367 (isearch-mode): Set `isearch-invisible'
4368 to the value of `search-invisible'.
4369 (isearch-toggle-case-fold): Doc fix.
4370 (isearch-toggle-invisible): New command.
4371 (isearch-query-replace): Let-bind `search-invisible'
4372 to the value of `isearch-invisible'.
4373 (isearch-search): Use `isearch-invisible' instead of
4374 `search-invisible'. Let-bind `search-invisible'
4375 to the value of `isearch-invisible'. (Bug#11378)
4376
ab1bdce5
JL
43772013-05-30 Juri Linkov <juri@jurta.org>
4378
4379 * replace.el (perform-replace): Avoid `isearch-range-invisible'
4380 call when `query-flag' is nil and `search-invisible' is non-nil.
4381 (Bug#11746)
4382
d6d236e2
GM
43832013-05-30 Glenn Morris <rgm@gnu.org>
4384
8accd027
GM
4385 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
4386
2a8bed1c
GM
4387 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
4388 (cc-require): Suppress spurious "noruntime" warnings.
4389 (cc-require-when-compile): Use fboundp, for sake of compiler.
4390
d6d236e2
GM
4391 * progmodes/cc-mode.el: Move load of cc-vars before that of
4392 cc-langs (which in turn loads cc-vars), to quieten compiler.
4393
9190b35b
SM
43942013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * paren.el: Simplify the code.
4397 (show-paren-mode): Always start the timer.
4398 (show-paren--idle-timer): Rename from show-paren-idle-timer.
4399 (show-paren--overlay, show-paren--overlay-1): Rename from
4400 show-paren-overlay and show-paren-overlay-1, and initialize to an
4401 overlay rather than to nil.
4402 (show-paren-function): Misc cleanup and simplifications.
4403
4f8d1cf6
SM
44042013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * paren.el (show-paren-data-function): New hook.
4407 (show-paren--default): New function, extracted from show-paren-function.
4408 (show-paren-function): Use show-paren-data-function.
4409
02d844b5
GM
44102013-05-30 Glenn Morris <rgm@gnu.org>
4411
d209d4a9
GM
4412 * ielm.el (ielm-map, ielm-complete-symbol):
4413 Use completion-at-point rather than obsolete functions.
4414 (inferior-emacs-lisp-mode): Doc fix.
4415 Set completion-at-point-functions, rather than
4416 comint-dynamic-complete-functions.
4417
2082faa6
GM
4418 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
4419 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
4420 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
4421
dd8620de
GM
4422 * image.el (image-animated-p): Tweak definition.
4423
ceca95b1
GM
4424 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
4425 (rlogin-process-connection-type): Tweak default. Add set-after.
4426 (rlogin-host): Doc fix.
4427 (rlogin): Tweak prompt.
4428 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
4429
ee9f1acc
GM
4430 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
4431 * progmodes/tcl.el (inferior-tcl-mode-map):
4432 Use completion-at-point rather than obsolete alias.
4433
45ce222e
GM
4434 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
4435
02d844b5
GM
4436 * minibuffer.el (read-file-name-completion-ignore-case):
4437 Move before completion--in-region, for eager macro expansion.
4438
ac44d6c1
JL
44392013-05-29 Juri Linkov <juri@jurta.org>
4440
4441 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
4442 for total count of matching lines. Add `global-matches' for total
4443 count of matches. Rename `matches' to `lines' for count of
4444 matching lines. Add `matches' for count of matches.
4445 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
4446 to `prev-line' for line number of prev match endpt.
4447 Increment `matches' for every match. Print the number of
4448 matching lines in the header.
4449 (occur-context-lines): Rename `lines' to `curr-line'.
4450 Rename `prev-lines' to `prev-line'. (Bug#14017)
4451
3c9c9d38
JL
44522013-05-29 Juri Linkov <juri@jurta.org>
4453
4454 * replace.el (perform-replace): Add `skip-read-only-count',
4455 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
4456 Increment them for corresponding conditions and report the number
4457 of skipped occurrences in the final message. (Bug#11746)
4458 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4459 (replace-string, replace-regexp): Doc fix.
4460
33e249a2
SM
44612013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4462
8e399682
SM
4463 * emacs-lisp/trace.el (trace--read-args): Provide a default.
4464
33e249a2 4465 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 4466 prog-mode-map (bug#14504).
33e249a2 4467
f236dd84
LL
44682013-05-29 Leo Liu <sdl.web@gmail.com>
4469
4470 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
4471 (octave-help): Small simplification.
4472
4473 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
4474 off the highlight first.
4475
3694d13f
GM
44762013-05-29 Glenn Morris <rgm@gnu.org>
4477
03983bdc
GM
4478 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
4479 Handle idlwave-last-system-routine-info-cons-cell being nil.
4480
bc74a74a
GM
4481 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
4482 (idlwave-write-paths): Simplify via with-temp-buffer.
4483
8b394200
GM
4484 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
4485 * emulation/cua-rect.el: Also load cua-base at run time.
4486
3694d13f
GM
4487 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
4488 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
4489 (cperl-imenu-on-info): Require imenu.
4490
336d7284
AM
44912013-05-28 Alan Mackenzie <acm@muc.de>
4492
4493 Handle "capitalised keywords" correctly.
33e249a2 4494 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 4495
cb29c582
AG
44962013-05-28 Aidan Gauland <aidalgol@amuri.net>
4497
781b4af6 4498 * eshell/em-unix.el: Add -r option to cp.
cb29c582 4499
690e44b2
GM
45002013-05-28 Glenn Morris <rgm@gnu.org>
4501
e658d75c
GM
4502 * vc/vc-arch.el (vc-exec-after): Declare.
4503 (vc-switches): Autoload.
4504 * vc/vc-bzr.el: No need to require vc when compiling.
4505 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
4506 (vc-resynch-buffer, vc-dir-refresh): Declare.
4507 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
4508 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
4509 (vc-resynch-buffer): Declare.
4510 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 4511 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
4512 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
4513 (grep-read-regexp, grep-read-files, grep-expand-template)
4514 (vc-dir-refresh): Declare.
4515 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
4516 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
4517 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
4518 * vc/vc-mtn.el (vc-exec-after): Declare.
4519 (vc-switches): Autoload.
4520 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
4521 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
4522 (vc-file-tree-walk): Declare.
712b9732
GM
4523 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
4524 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
4525 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
4526 * vc/vc-svn.el (vc-exec-after): Declare.
4527 (vc-switches, vc-setup-buffer): Autoload.
4528 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
4529 Autoload.
4530 (vc-resynch-buffer): Declare.
4531
98e87fb3
GM
4532 * obsolete/fast-lock.el (byte-compile-warnings):
4533 Don't warn about obsolete features in this obsolete file.
4534
f5379553
GM
4535 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
4536 Move definition before use.
4537
7a20ef83
GM
4538 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
4539 (dun-unix-verbs): Remove dun-zippy.
4540 (dun-zippy): Remove function.
4541
690e44b2
GM
4542 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
4543
3a52ccf7
JL
45442013-05-27 Juri Linkov <juri@jurta.org>
4545
4546 * replace.el (replace-search): New function with code moved out
4547 from `perform-replace'.
4548 (replace-highlight, replace-dehighlight): Move function definitions
4549 up closer to `replace-search'. (Bug#11746)
4550
d289938a
JL
45512013-05-27 Juri Linkov <juri@jurta.org>
4552
4553 * replace.el (perform-replace): Ignore invisible matches.
4554 In addition to checking `query-replace-skip-read-only', also
4555 filter out matches by calling `run-hook-with-args-until-failure'
4556 on `isearch-filter-predicates', and also check `search-invisible'
4557 for t or call `isearch-range-invisible'.
4558 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
4559
66fc57e3
JL
45602013-05-27 Juri Linkov <juri@jurta.org>
4561
4562 * isearch.el (isearch-filter-predicates): Rename from
4563 `isearch-filter-predicate'. Doc fix. (Bug#11378)
4564 (isearch-message-prefix): Display text from the property
4565 `isearch-message-prefix' of the currently active filters.
4566 (isearch-search): Don't compare `isearch-filter-predicate' with
4567 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
4568 on `isearch-filter-predicates'. Also check `search-invisible' for t
4569 or call `isearch-range-invisible'.
4570 (isearch-filter-visible): Make obsolete.
4571 (isearch-lazy-highlight-search):
4572 Call `run-hook-with-args-until-failure' on
4573 `isearch-filter-predicates' and use `isearch-range-invisible'.
4574
4575 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
4576 `isearch-filter-predicates' instead of `funcall'ing
4577 `isearch-filter-predicate'.
4578 (Info-mode): Set `Info-isearch-filter' to
4579 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
4580
4581 * dired-aux.el (dired-isearch-filter-predicate-orig):
4582 Remove variable.
4583 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
4584 (dired-isearch-filenames-end): Add and remove
4585 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
4586 instead of changing the value of `isearch-filter-predicate'.
4587 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
4588 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
4589 Put property `isearch-message-prefix' to "filename " on
4590 `dired-isearch-filter-filenames'.
4591
4592 * wdired.el (wdired-change-to-wdired-mode):
4593 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
4594 locally instead of changing `isearch-filter-predicate'.
4595 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
4596
f1a60a0f
DG
45972013-05-27 Dmitry Gutov <dgutov@yandex.ru>
4598
4599 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
4600 return the commit hash (Bug#14459). Also set the
4601 `vc-git-detached' property.
4602 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
4603 (vc-git-mode-line-string): Use the same help-echo format whether
4604 in detached mode or not, because we know the actual revision now.
4605 When in detached mode, shorten the revision to 7 chars.
4606
7f17cc40
SM
46072013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4608
4609 * emacs-lisp/easy-mmode.el (define-minor-mode):
4610 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
4611 mode hook and provide a docstring.
4612
25c8401c
AM
46132013-05-27 Alan Mackenzie <acm@muc.de>
4614
4615 Remove spurious syntax-table text properties inserted by C-y.
4616 * progmodes/cc-mode.el (c-after-change): Also clear hard
4617 syntax-table property with value nil.
4618
dde84790
MA
46192013-05-27 Michael Albinus <michael.albinus@gmx.de>
4620
4621 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
4622 when reading the events; the buffer layout shall not be changed.
4623
837fd9af
LL
46242013-05-27 Leo Liu <sdl.web@gmail.com>
4625
4626 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
4627 New variable.
4628 (inferior-octave-directory-tracker): Automatically re-sync
4629 default-directory.
4630 (octave-help): Improve handling of 'See also'.
4631
4fd996b3
SM
46322013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4633
416f1802
SM
4634 * doc-view.el: Minor naming convention tweaks.
4635 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
4636
4fd996b3
SM
4637 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
4638 even if there's no `display' property yet (bug#14435).
4639
a052ef3b
EZ
46402013-05-25 Eli Zaretskii <eliz@gnu.org>
4641
4fd996b3 4642 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
4643
4644 * Makefile.in (custom-deps, finder-data, autoloads)
4645 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4646 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4647 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
4648
c9023370
SM
46492013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
4652 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 4653 Don't burp at EOB.
c9023370 4654
24d699fa
LL
46552013-05-25 Leo Liu <sdl.web@gmail.com>
4656
4657 * comint.el (comint-previous-matching-input): Do not flood the
4658 *Messages* buffer with trivial messages.
4659
17e5c0cc
SM
46602013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4661
4662 * progmodes/flymake.el (flymake-nop): Don't return a string.
4663 (flymake-set-at): Fix typo.
4664
4665 * simple.el (read--expression): New function, extracted from
4666 eval-expression. Set completion-at-point-functions (bug#14465).
4667 (eval-expression, eval-minibuffer): Use it.
4668
5d028165
XF
46692013-05-25 Xue Fuqiao <xfq.free@gmail.com>
4670
4671 * progmodes/flymake.el (flymake-save-buffer-in-file)
4672 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
4673 (flymake-selected-frame, flymake-log, flymake-ins-after)
4674 (flymake-set-at, flymake-get-buildfile-from-cache)
4675 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
4676 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
4677 Refine the doc string.
4678 (flymake-get-file-name-mode-and-masks): Reformat.
4679 (flymake-get-real-file-name-function): Fix a minor bug.
4680
7a1d7ba7
JL
46812013-05-24 Juri Linkov <juri@jurta.org>
4682
4683 * progmodes/grep.el (grep-mode-font-lock-keywords):
4684 Support =linenumber= format used by git-grep for lines with
4685 function names. (Bug#13549)
4686
650cff3d
SM
46872013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4688
4689 * progmodes/octave.el (octave-smie-rules): Return nil rather than
4690 0 after a semi-colon; it works better for smie-auto-fill.
4691 (octave--indent-new-comment-line): New function.
4692 (octave-indent-new-comment-line): Use it (indirectly).
4693 (octave-mode): Don't disable smie-auto-fill. Use add-function to
4694 modify comment-line-break-function.
4695
4696 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
4697 (smie-setup): Use add-function to set it.
4698
9631677d
SS
46992013-05-24 Sam Steingold <sds@gnu.org>
4700
4701 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
4702 argument (before the `interactive' argument).
4703
50105835
SM
47042013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * image-mode.el (image-mode-winprops): Add winprops to
4707 image-mode-winprops-alist before running
4708 image-mode-new-window-functions.
4709 * doc-view.el (doc-view-new-window-function): Don't delay
4710 doc-view-goto-page via timers (bug#14435).
4711
57b9823e
TH
47122013-05-24 Tassilo Horn <tsdh@gnu.org>
4713
4714 * doc-view.el: Integrate with desktop.el. (Bug#14435)
4715 (doc-view-desktop-save-buffer): New function.
4716 (doc-view-restore-desktop-buffer): New function.
50105835
SM
4717 (desktop-buffer-mode-handlers):
4718 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
4719 handler.
4720 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
4721 `desktop-save-buffer' function.
4722
91aafa16
MA
47232013-05-24 Michael Albinus <michael.albinus@gmx.de>
4724
4725 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
4726 (tramp-gvfs-file-name-handler): Raise a user error when
4727 `tramp-gvfs-enabled' is nil.
4728 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
4729 Do not raise a user error when loading package. (Bug#14447)
4730
ec076379
MA
4731 * net/xesam.el: Move to obsolete/.
4732
db785726
GM
47332013-05-24 Glenn Morris <rgm@gnu.org>
4734
af5c7606
GM
4735 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
4736
e5d1916a
GM
4737 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
4738
ded62b08
GM
4739 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
4740 (Info-find-node, Man-getpage-in-background): Declare.
4741
9e614a3f
GM
4742 * mail/unrmail.el (unrmail):
4743 Replace obsolete detect-coding-with-priority.
4744
892f8ca3
GM
4745 * net/socks.el (socks-split-string): Use this rather than split-string.
4746 (socks-nslookup-host): Update for above change.
4747 (dynamic-choice, s5-dynamic-choice-match)
4748 (s5-dynamic-choice-match-inline, s5-widget-value-create):
4749 Comment out unused code.
4750
3c291973
GM
4751 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
4752 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
4753 (gud-tooltip-echo-area): Make obsolete.
4754 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
4755
43cc956b
GM
4756 * progmodes/js.el (js--optimize-arglist): Declare.
4757
dab49a3b
GM
4758 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
4759
36b9d085
GM
4760 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
4761 (ediff-window-C): Declare.
4762
e354ae76
GM
4763 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
4764 Tweak requires to silence compiler.
4765
b8e57bf4
GM
4766 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
4767 (he-search-string, he-tried-table, he-expand-list)
4768 (he-init-string, he-string-member, he-substitute-string)
4769 (he-reset-string): Declare.
4770
db785726
GM
4771 * obsolete/options.el (list-options): Use custom-variable-p,
4772 rather than obsolete alias.
4773
b3531901
SS
47742013-05-23 Sam Steingold <sds@gnu.org>
4775
4776 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 4777 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
4778 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
4779
bdda4c66
SM
47802013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 * emacs-lisp/smie.el (smie-indent-forward-token)
4783 (smie-indent-backward-token): Handle string tokens (bug#14381).
4784
c43d45f9
TH
47852013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4786
fe1eb856
RS
4787 * ielm.el (ielm-menu): New menu.
4788 (inferior-emacs-lisp-mode): Set comment-start.
96172128 4789
fe1eb856
RS
47902013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4791
4792 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4793 Fix deactivate action.
4794
4795 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4796 Add cleveref macros.
074dd971 4797
c43d45f9
TH
4798 * lisp/textmodes/reftex-parse.el
4799 (reftex-locate-bibliography-files): Accept options for
4800 bibliography commands.
4801 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4802 Add addbibresource. Basic Biblatex support.
4803
7764286e
MA
48042013-05-23 Michael Albinus <michael.albinus@gmx.de>
4805
4806 * net/tramp-gvfs.el (top):
4807 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4808 when loading package. (Bug#14447)
4809
d361bc10
GM
48102013-05-23 Glenn Morris <rgm@gnu.org>
4811
8fa23984
GM
4812 * progmodes/js.el: No need to load comint when compiling.
4813 (ring-insert, comint-send-string, comint-send-input)
4814 (comint-last-input-end, ido-chop): Declare.
4815
a5c7df1a
GM
4816 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4817 * vc/ediff-mult.el: Adjust requires.
4818 (ediff-directories-internal, ediff-directory-revisions-internal)
4819 (ediff-patch-file-internal): Declare.
4820 * vc/ediff-ptch.el: Adjust requires.
4821 (ediff-use-last-dir, ediff-buffers-internal): Declare.
4822 (ediff-find-file): Autoload.
4823 * vc/ediff-util.el: No need to load ediff when compiling.
4824 (ediff-regions-internal): Declare.
4825 * vc/ediff-wind.el: Adjust requires.
4826 (ediff-compute-toolbar-width): Define when compiling.
4827 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4828 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4829 (dired-get-filename, dired-get-marked-files)
4830 (ediff-last-dir-patch, ediff-patch-default-directory)
4831 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4832 (ediff-patch-buffer-internal): Declare.
4833
e2aec513
GM
4834 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4835 (ispell-process, ispell-buffer-local-words, lm-summary)
4836 (lm-section-start, lm-section-end): Declare.
4837 (checkdoc-ispell-init): Simplify.
4838
e68bbd7c
GM
4839 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4840 (he-string-member, he-reset-string, he-substitute-string): Declare.
4841
7efe0991
GM
4842 * eshell/em-ls.el: Adjust requires.
4843 (eshell-glob-regexp): Declare.
f87b1284
GM
4844 * eshell/em-tramp.el: Adjust requires.
4845 (eshell-parse-command): Autoload.
4846 * eshell/em-xtra.el: Adjust requires.
4847 (eshell-parse-command): Autoload.
4848 * eshell/esh-ext.el: Adjust requires.
4849 (eshell-parse-command, eshell-close-handles): Autoload.
4850 * eshell/esh-io.el: Adjust requires.
4851 (eshell-output-filter): Autoload.
4852 * eshell/esh-util.el: No need to load tramp when compiling.
4853 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4854 Declare.
4855 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4856 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4857 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4858 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4859 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4860 * eshell/esh-opt.el, eshell/esh-proc.el:
4861 * eshell/esh-var.el: Adjust requires.
4862 * eshell/eshell.el: Do not require esh-util twice.
4863 (eshell-add-input-to-history): Declare.
4864 (eshell-command): Check history module is active before using it.
4865
d361bc10
GM
4866 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4867
85d090a9
LL
48682013-05-22 Leo Liu <sdl.web@gmail.com>
4869
4870 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4871
5d0acd9d
MA
48722013-05-22 Michael Albinus <michael.albinus@gmx.de>
4873
4874 * autorevert.el (auto-revert-notify-add-watch)
4875 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4876 it indicates changes in file modification time.
4877
0cdffd7d
GM
48782013-05-22 Glenn Morris <rgm@gnu.org>
4879
ca5995ec
GM
4880 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4881 Always delete the autoloaded function from the noruntime and
4882 unresolved functions lists.
4883
6450907e
GM
4884 * allout.el: No need to load epa, epg, overlay when compiling.
4885 (epg-context-set-passphrase-callback, epg-list-keys)
4886 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4887 (epg-key-user-id-list): Declare.
4888
9c6906f6
GM
4889 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4890 (viper-set-parsing-style-toggling-macro)
4891 (viper-set-emacs-state-searchstyle-macros):
4892 Use called-interactively-p on Emacs.
4893 (viper-looking-back): Make it an obsolete alias. Update callers.
4894 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4895 Use looking-back rather than viper-looking-back.
4896 (viper-tmp-insert-at-eob, viper-enlarge-region)
4897 (viper-read-string-with-history, viper-register-to-point)
4898 (viper-append-to-register, viper-change-state-to-vi)
4899 (viper-backward-char-carefully, viper-forward-char-carefully)
4900 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4901 (viper-change-state-to-emacs): Declare.
4902 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4903 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4904 * emulation/viper-mous.el: Do not load viper-cmd.
4905 (viper-backward-char-carefully, viper-forward-char-carefully)
4906 (viper-forward-word, viper-adjust-window): Declare.
4907
5f70c169
GM
4908 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4909
b1b7f300
GM
4910 * progmodes/idlw-help.el (idlwave-help-fontify):
4911 Use called-interactively-p.
4912
f6ebbb46
GM
4913 * term/w32console.el (w32-get-console-codepage)
4914 (w32-get-console-output-codepage): Declare.
4915
0cdffd7d
GM
4916 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4917 Remove unnecessary declarations.
4918 (dframe-message): Doc fix.
4919
4920 * info.el (dframe-select-attached-frame, dframe-current-frame):
4921 Declare.
4922
4923 * speedbar.el (speedbar-message): Make it an obsolete alias.
4924 Update all callers.
4925 (speedbar-with-attached-buffer)
4926 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4927 (speedbar-with-writable): Use backquote.
4928 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4929 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4930 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4931 rather than speedbar- aliases.
4932 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4933 (speedbar-make-specialized-keymap, speedbar-insert-button)
4934 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4935 (speedbar-do-function-pointer): Declare.
4936 (rmail-speedbar-button, rmail-speedbar-find-file)
4937 (rmail-speedbar-move-message):
4938 Use dframe-with-attached-buffer rather than speedbar- alias.
4939 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4940 (dframe-message, speedbar-make-specialized-keymap)
4941 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4942 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4943 (speedbar-insert-button, dframe-select-attached-frame)
4944 (dframe-maybee-jump-to-attached-frame)
4945 (speedbar-change-initial-expansion-list)
4946 (speedbar-previously-used-expansion-list-name): Declare.
4947 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4948 Use dframe-message, dframe-with-attached-buffer rather than
4949 speedbar- aliases.
4950 (gud-sentinel): Silence compiler.
4951 * progmodes/vhdl-mode.el (speedbar-refresh)
4952 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4953 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4954 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4955 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4956 (speedbar-file-lists, speedbar-make-tag-line)
4957 (speedbar-line-directory, speedbar-goto-this-file)
4958 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4959 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4960 (speedbar-make-button, speedbar-reset-scanners)
4961 (speedbar-files-item-info, speedbar-line-text)
4962 (speedbar-find-file-in-frame, speedbar-set-timer)
4963 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4964 (speedbar-with-writable): Do not (re)define it.
4965 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4966 rather than speedbar- alias.
4967
ee44b62a
LL
49682013-05-21 Leo Liu <sdl.web@gmail.com>
4969
4970 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4971 menu items.
4972 (octave-mode): Tweak fill-nobreak-predicate.
4973 (inferior-octave-startup): Check process to avoid infinite loop.
4974 (inferior-octave): Pop to buffer first to show abornmal process
4975 exit information.
4976
640f050f
GM
49772013-05-21 Glenn Morris <rgm@gnu.org>
4978
79458038
GM
4979 * printing.el (pr-menu-bar): Define when compiling.
4980
9cc3e83f
LL
49812013-05-21 Leo Liu <sdl.web@gmail.com>
4982
4983 * progmodes/octave.el (octave-auto-fill): Remove.
4984 (octave-indent-new-comment-line): Improve.
4985 (octave-mode): Use auto fill mode through
4f405069 4986 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 4987 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 4988 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
4989 (octave-help): Show parent directory.
4990
f440830d
GM
49912013-05-21 Glenn Morris <rgm@gnu.org>
4992
4993 * files.el (dired-unmark):
4994 * progmodes/gud.el (gdb-input): Update declarations.
4995
4996 * calculator.el (electric, ehelp): No need to load when compiling.
4997 (Electric-command-loop, electric-describe-mode): Declare.
4998
4999 * doc-view.el (doc-view-current-converter-processes): Move before use.
5000
5001 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5002 Move MODE-set-explicitly definition before use.
5003
5004 * international/mule-diag.el (mule-diag):
5005 Don't use obsolete window-system-version.
5006
5007 * mail/feedmail.el (smtpmail): No need to load when compiling.
5008 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5009
5010 * mail/mail-utils.el (rfc822): No need to load when compiling.
5011 (rfc822-addresses): Autoload it.
5012 (mail-strip-quoted-names): Trivial simplification.
5013
5014 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5015 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5016
5017 * net/snmp-mode.el (tempo): Don't duplicate requires.
5018
5019 * progmodes/prolog.el (info): No need to load when compiling.
5020 (comint): Require before shell requires it.
5021 (Info-goto-node): Autoload it.
5022 (Info-follow-nearest-node): Declare.
5023 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5024
5025 * textmodes/artist.el (picture-mode-exit): Declare.
5026
5027 * textmodes/reftex-parse.el (reftex-parse-from-file):
5028 Trivial rewrite so the compiler can parse it better.
5029
b4da2cbb
LL
50302013-05-20 Leo Liu <sdl.web@gmail.com>
5031
5032 * progmodes/octave.el (octave-help-mode-map)
5033 (octave-help-mode-finish-hook): New variables.
5034 (octave-help-mode, octave-help-mode-finish): New functions.
5035 (octave-help): Use octave-help-mode.
5036
33c0f65b
GM
50372013-05-20 Glenn Morris <rgm@gnu.org>
5038
5039 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5040
1a0a0a8a
DG
50412013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5042
5043 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5044 start at point, so that expansion starting right after opening
5045 slash in a regexp is recognized.
5046 (ruby-syntax-before-regexp-re): New defvar, extracted from
5047 ruby-syntax-propertize-function. Since the value of this regexp
5048 is looked up at runtime now, we should be able to turn
5049 `ruby-syntax-methods-before-regexp' into a defcustom later.
5050 (ruby-syntax-propertize-function): Split regexp matching into two
5051 parts, for opening and closing slashes. That allows us to skip
5052 over string interpolations and support multiline regexps.
5053 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5054 for them, which calls `ruby-syntax-propertize-expansion'.
5055 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5056 call to `ruby-syntax-propertize-function'.
5057 (ruby-syntax-propertize-expansion): Extracted from
5058 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
5059 (ruby-syntax-propertize-percent-literal): Leave point right after
5060 the percent symbol, so that the expression expansion rule can
5061 propertize the contents.
462388b6
DG
5062 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5063 heredoc openers.
5064 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 5065
c1a6c0a4
JL
50662013-05-18 Juri Linkov <juri@jurta.org>
5067
5068 * man.el (Man-default-man-entry): Remove `-' from the end
5069 of the default value. (Bug#14400)
5070
8051fccd
GM
50712013-05-18 Glenn Morris <rgm@gnu.org>
5072
5073 * comint.el (comint-password-prompt-regexp):
5074 Allow "password for XXX" where XXX contains colons (eg https://...).
5075
5e80b74f
LL
50762013-05-18 Leo Liu <sdl.web@gmail.com>
5077
5078 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 5079 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
5080 (octave-source-directories): Don't check process.
5081 (octave-source-directories, octave-find-definition): Doc fix.
5082
521a54c5
GM
50832013-05-18 Glenn Morris <rgm@gnu.org>
5084
86a94b05
GM
5085 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5086 Remove backspace/delete bindings. (Bug#14392)
5087
521a54c5
GM
5088 * cus-dep.el (custom-make-dependencies): Sort the output.
5089 (custom-versions-load-alist): Convert comment to doc.
5090
42caeb89
LL
50912013-05-17 Leo Liu <sdl.web@gmail.com>
5092
5093 * newcomment.el (comment-search-backward): Stricter in finding
5094 comment start. (Bug#14303)
5095
5096 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5097 (octave-comment-start-skip): Properly anchored.
5098
e219dd97
LL
50992013-05-17 Leo Liu <sdl.web@gmail.com>
5100
fe1eb856
RS
5101 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5102 Clean up when turned off. (Bug#14395)
e219dd97
LL
5103 (smie--highlight-matching-block-overlay): No longer buffer-local.
5104 (smie-highlight-matching-block): Adjust.
5105
dc5dcb4b
PE
51062013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5107
5108 Doc string fix for "nanoseconds" (Bug#14406).
5109 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5110 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5111
1db165f0
JB
51122013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5113
5114 * calc/calc-units.el (math-extract-units): Preserve powers
5115 of units.
5116
c7a8fcac
LL
51172013-05-17 Leo Liu <sdl.web@gmail.com>
5118
5119 * subr.el (delete-consecutive-dups): New function.
5120 * ido.el (ido-set-matches-1): Use it.
5121 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5122 * ido.el (ido-remove-consecutive-dups): Remove.
5123
f678b18a
SM
51242013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5125
5126 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5127 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5128 regexp-opt's `words'.
5129
ebfe68e8
LL
51302013-05-16 Leo Liu <sdl.web@gmail.com>
5131
5132 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5133 (smie--highlight-matching-block-overlay)
5134 (smie--highlight-matching-block-lastpos)
5135 (smie--highlight-matching-block-timer): New variables.
5136 (smie-highlight-matching-block): New function.
5137 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5138 (smie-setup): Conditionally enable smie-blink-matching-open.
5139
bc8bc17d
WS
51402013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5141
5142 Sync with upstream verilog-mode r840.
5143 * progmodes/verilog-mode.el (verilog-mode-version)
5144 (verilog-mode-release-date): Update.
5145 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5146 (verilog-sig-tieoff): Fix string error on
5147 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5148 (verilog-read-decls): Fix parameters confusing
5149 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5150
df065a0b
EZ
51512013-05-16 Eli Zaretskii <eliz@gnu.org>
5152
5153 * subr.el (reveal-filename): New function.
5154
5155 * loadup.el: Compute Emacs executable versions on MS-Windows,
5156 where executables have the .exe extension. Add a hard link
5157 emacs-XX.YY.ZZ.exe on MS-Windows.
5158
5159 * Makefile.in (XARGS_LIMIT): New variable.
5160 (custom-deps, finder-data, autoloads)
5161 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5162 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5163 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5164 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5165
2d4bf34b
LL
51662013-05-16 Leo Liu <sdl.web@gmail.com>
5167
5168 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5169 (octave-mode-menu, octave-mode-map): Remove its uses.
5170
6b9c2d85
RZ
51712013-05-16 Reto Zimmermann <reto@gnu.org>
5172
5173 Sync with upstream vhdl mode v3.34.2.
5174 * progmodes/vhdl-mode.el: Use `push' throughout.
5175 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5176 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5177 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5178 (vhdl-actual-generic-name): New option to derive actual generic name.
5179 (vhdl-port-paste-signals): Replace formal by actual generics.
5180 (vhdl-beautify): New name for old group vhdl-align. Update users.
5181 (vhdl-beautify-options): New option.
5182 (vhdl-last-input-event): New compat alias. Use throughout.
5183 (vhdl-goto-line): Replace user level function `goto-line'.
5184 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5185 vhdl-fix-statement-buffer.
5186 (vhdl-create-mode-menu): Add some entries.
5187 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5188 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5189 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5190 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5191 to force statements on one line.
5192 (vhdl-remove-trailing-spaces-region):
5193 New, split from vhdl-remove-trailing-spaces.
5194 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5195 Respect vhdl-beautify-options.
5196 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5197 (vhdl-update-sensitivity-list): Not add with index if exists without.
5198 Not include array index with signal. Ignore keywords in comments.
5199 (vhdl-get-visible-signals): Regexp tweaks.
5200 (vhdl-template-component-inst): Handle empty library.
5201 (vhdl-template-type): Add template for 'enum' type.
5202 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5203 Use vhdl-replace-string.
5204 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5205 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5206 (vhdl-speedbar-initialize): Update for above name change.
5207 (vhdl-compose-wire-components): Fix in handling of constants.
5208 (vhdl-error-regexp-emacs-alist): New variable.
5209 (vhdl-error-regexp-add-emacs): New function;
5210 adds support for new compile.el (Emacs 22+)
5211 (vhdl-generate-makefile-1): Change target order for single lib. units.
5212 Allow use of absolute file names.
5213
9df4ec5e
LL
52142013-05-16 Leo Liu <sdl.web@gmail.com>
5215
5216 * simple.el (prog-indent-sexp): Indent enclosing defun.
5217
f5ba00a6
GM
52182013-05-15 Glenn Morris <rgm@gnu.org>
5219
ed8be7ff
GM
5220 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5221 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5222 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5223 (whitespace-highlight): Move to whitespace group.
5224
5225 * comint.el (comint-source):
5226 * pcmpl-linux.el (pcmpl-linux):
5227 * shell.el (shell-faces):
5228 * eshell/esh-opt.el (eshell-opt):
5229 * international/ccl.el (ccl): Remove empty custom groups.
5230
5231 * completion.el (dynamic-completion-mode):
5232 * jit-lock.el (jit-lock-debug-mode):
5233 * minibuffer.el (completion-in-region-mode):
5234 * type-break.el (type-break-mode-line-message-mode)
5235 (type-break-query-mode):
5236 * emulation/tpu-edt.el (tpu-edt-mode):
5237 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5238 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5239 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5240
5241 * term/xterm.el (xterm): Change parent group to terminals.
5242
5243 * master.el (master): Remove empty custom group.
5244 (master-mode): Remove unused :group argument.
5245 * textmodes/refill.el (refill): Remove empty custom group.
5246 (refill-mode): Remove unused :group argument.
5247
5248 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5249
82a7c41b
GM
5250 * cus-dep.el: Provide a feature.
5251 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
5252 Don't mistakenly ignore files whose basenames match a basename
5253 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 5254 Add a fallback method for getting :group.
f5ba00a6 5255
6d65486d
JL
52562013-05-15 Juri Linkov <juri@jurta.org>
5257
da547b32
JL
5258 * isearch.el (isearch-char-by-name): Rename from
5259 `isearch-insert-char-by-name'. Doc fix.
5260 (isearch-forward): Mention `isearch-char-by-name' in
5261 the docstring. (Bug#13348)
5262
6d65486d
JL
5263 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5264 `exit-minibuffer' instead of
5265 `isearch-nonincremental-exit-minibuffer'.
5266 (isearch-edit-string): Remove mention of
5267 `isearch-nonincremental-exit-minibuffer' from docstring.
5268 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5269 (isearch-forward-exit-minibuffer)
5270 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5271
c9990474
SM
52722013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5273
6e911150
SM
5274 * loadup.el: Just use unversioned DOC.
5275
c9990474
SM
5276 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5277 literals as extending to EOB.
5278 (nxml-last-fontify-end): Remove unused variable.
5279 (nxml-after-change1): Use with-silent-modifications.
5280 (nxml-extend-after-change-region): Simplify.
5281 (nxml-extend-after-change-region1): Remove function.
5282 (nxml-after-change1): Don't adjust for dependent regions.
5283 (nxml-fontify-matcher): Simplify.
5284 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5285 (xmltok-add-dependent): Remove function.
5286 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5287 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5288 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5289 unclosed <[[, <?, comment, and other literals as extending to EOB.
5290 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5291 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5292 Remove functions.
5293 (rng-do-some-validation-1): Don't mark dependent regions.
5294 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5295 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5296 (nxml-clear-dependent-regions): Remove functions.
5297 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5298 (nxml-ensure-scan-up-to-date):
5299 Don't clear&mark dependent regions.
5300
e3772e98
LL
53012013-05-15 Leo Liu <sdl.web@gmail.com>
5302
c9990474
SM
5303 * progmodes/octave.el (octave-goto-function-definition):
5304 Improve and fix callers.
e3772e98 5305
5ac2eb34
SM
53062013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5307
c46c57b0
SM
5308 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5309 the setter (bug#14387).
5310
5ac2eb34
SM
5311 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5312 surrounding group (bug#14402).
5313
180ed218
JL
53142013-05-14 Juri Linkov <juri@jurta.org>
5315
5316 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5317 (Bug#14390)
5318
0ac0fecb
GM
53192013-05-14 Glenn Morris <rgm@gnu.org>
5320
5321 * progmodes/f90.el (f90-imenu-generic-expression):
5322 Fix typo in 2013-05-08 change. (Bug#14402)
5323
2e78e6a7
JPG
53242013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5325
5ac2eb34
SM
5326 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5327 Remove signals for which replies are never received.
2e78e6a7 5328
53267cca
JPG
53292013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5330
5331 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5332 (gdb-handler-alist, gdb-handler-number): Remove variables.
5333 (gdb-handler-list): New variable.
5334 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5335 (gdb-pending-handler-p, gdb-handle-reply)
5336 (gdb-remove-all-pending-triggers): New functions.
5337 (gdb-discard-unordered-replies): New defcustom.
5338 (gdb-handler): New defstruct.
5339 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5340 instead of gdb-pending-triggers. Update docstring.
5341 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
5342 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
5343 (gdb-var-update-handler, def-gdb-auto-update-trigger)
5344 (def-gdb-auto-update-handler, gdb-get-changed-registers)
5345 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
5346 (gdb-frame-handler): Pending triggers are now automatically managed.
5347 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
5348 Remove argument.
5349 (gdb-input): Automatically handles pending triggers. Update docstring.
5350 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
5351 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
5352 Update comments.
5353 (gdb-done-or-error): Now use gdb-handle-reply.
5354
d04ce803
JPG
53552013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5356
5357 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
5358 gdb-debug-log.
5359
0114073a
GM
53602013-05-14 Glenn Morris <rgm@gnu.org>
5361
5362 * subr.el (user-emacs-directory-warning): New option.
5363 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
5364
4d25fd7e
LL
53652013-05-14 Leo Liu <sdl.web@gmail.com>
5366
5367 * progmodes/octave.el (octave-font-lock-keywords): Fix error
5368 during redisplay.
5369 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
5370 (octave-font-lock-texinfo-comment): Fix invalid search bound
5371 error: wrong side of point.
4d25fd7e 5372
27c8b6eb
GM
53732013-05-14 Glenn Morris <rgm@gnu.org>
5374
61aaeb01
GM
5375 * progmodes/flymake.el (flymake-xml-program): New option.
5376 (flymake-xml-init): Use it.
5377
5bf90bc5
GM
5378 * term/xterm.el: Provide a feature.
5379
5380 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 5381
f4c7dfd2
GM
53822013-05-13 Glenn Morris <rgm@gnu.org>
5383
5384 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
5385 Add compat aliases as a hack workaround. (Bug#14384)
5386
2aeb3a1d
LL
53872013-05-13 Leo Liu <sdl.web@gmail.com>
5388
b0e069c2
LL
5389 * progmodes/octave.el (octave-indent-comment): Fix indentation for
5390 ###, and %!.
f5a9432f
LL
5391 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
5392 C-M-q.
b0e069c2
LL
5393 (octave-comment-start-skip): Include %!.
5394 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 5395
30ea8374
LL
53962013-05-12 Leo Liu <sdl.web@gmail.com>
5397
5398 * progmodes/octave.el (inferior-octave-startup): Store the value
5399 of __octave_srcdir__ for octave-source-directories.
5400 (inferior-octave-check-process): New function refactored out of
5401 inferior-octave-send-list-and-digest.
5402 (octave-source-directories)
5403 (octave-find-definition-filename-function): New variables.
5404 (octave-source-directories)
5405 (octave-find-definition-default-filename): New functions.
5406 (octave-find-definition): Improve to find functions implemented in C++.
5407
472a3834
GM
54082013-05-12 Glenn Morris <rgm@gnu.org>
5409
5410 * calendar/diary-lib.el (diary-outlook-format-1):
5411 Don't include dayname in the output. (Bug#14349)
5412
3191b52f
GM
54132013-05-11 Glenn Morris <rgm@gnu.org>
5414
0060ac73
GM
5415 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
5416
3191b52f
GM
5417 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
5418 Treat cc-provide like provide.
5419
e065ba74
KR
54202013-05-11 Kevin Ryde <user42@zip.com.au>
5421
5422 * cus-dep.el (custom-make-dependencies):
5423 Use generated-autoload-load-name for the sake of files such
5424 such cedet/semantic/bovine/c.el, where the base file name
5425 is not in load-path. (Bug#5277)
5426
36f84c37
GM
54272013-05-11 Glenn Morris <rgm@gnu.org>
5428
5429 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
5430 Provide features.
5431
c8730c3a
LL
54322013-05-11 Leo Liu <sdl.web@gmail.com>
5433
5434 * progmodes/octave.el (octave-indent-comment): Improve.
5435 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
5436 (octave-eldoc-function-signatures, octave-eldoc-function):
5437 New functions.
c8730c3a
LL
5438 (octave-mode, inferior-octave-mode): Add eldoc support.
5439
212e29f2
RS
54402013-05-11 Richard Stallman <rms@gnu.org>
5441
5442 * epa.el (epa-decrypt-file): Take output file name as argument
5443 and read it using `interactive'.
5444
083fe0d7
LL
54452013-05-11 Leo Liu <sdl.web@gmail.com>
5446
5447 * progmodes/octave.el (octave-beginning-of-line)
5448 (octave-end-of-line): Check before using up-list because it jumps
5449 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
5450 (octave-indent-comment): New function.
5451 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
5452 (octave-begin-keywords, octave-end-keywords)
5453 (octave-reserved-words, octave-smie-bnf-table)
5454 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 5455
8582e4c4
GM
54562013-05-11 Glenn Morris <rgm@gnu.org>
5457
f20def1f
GM
5458 * faces.el (internal-face-x-get-resource):
5459 * frame.el (ns-display-monitor-attributes-list):
d78abe37 5460 * calc/calc-aent.el (math-to-radians-2):
f20def1f 5461 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 5462 Fix declarations.
f20def1f 5463
445f95e2
GM
5464 * calc/calc-menu.el: Make it loadable in isolation.
5465
5466 * net/eudcb-bbdb.el: Make it loadable without bbdb.
5467 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
5468 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
5469 (eudc-bbdb-query-internal): Require 'bbdb.
5470
99fb2756
GM
5471 * lpr.el (lpr-headers-switches):
5472 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
5473
5474 * progmodes/sql.el (sql-login-params): Fix and improve :type.
5475
0da7ad96
GM
5476 * emulation/edt-mapper.el: In batch mode, error rather than hang.
5477
8582e4c4
GM
5478 * term.el (term-set-escape-char): Make it idempotent.
5479
f71c50d0
LL
54802013-05-10 Leo Liu <sdl.web@gmail.com>
5481
5ac2eb34
SM
5482 * progmodes/octave.el (inferior-octave-completion-table):
5483 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
5484 completion due to bug#11906.
5485 (octave-beginning-of-defun): Re-write to be more general.
5486
d5837773
GM
54872013-05-10 Glenn Morris <rgm@gnu.org>
5488
5489 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
5490
027c0f75
SM
54912013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * comint.el (comint-redirect-send-command-to-process): Use :around
5494 rather than :override for comint-redirect-filter.
5495 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
5496 Call it instead of comint-redirect-original-filter-function (which
5497 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
5498
4465bfb4
JD
54992013-05-09 Jan Djärv <jan.h.d@swipnet.se>
5500
5501 * frame.el (display-monitor-attributes-list): Add NS case.
5502 (ns-display-monitor-attributes-list): Declare.
5503
2d809ffa 55042013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
5505
5506 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
5507
e54eeb9b
GM
55082013-05-09 Glenn Morris <rgm@gnu.org>
5509
56cd351d
GM
5510 * international/fontset.el (vertical-centering-font-regexp):
5511 Set standard-value.
5512
d84b6108
GM
5513 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
5514
a931698a
GM
5515 * bookmark.el (bookmark-search-delay):
5516 * cus-start.el (vertical-centering-font-regexp):
5517 * ps-mule.el (ps-mule-font-info-database-default):
5518 * ps-print.el (ps-default-fg, ps-default-bg):
5519 * type-break.el (type-break-good-break-interval):
5520 * whitespace.el (whitespace-indentation-regexp)
5521 (whitespace-space-after-tab-regexp):
5522 * emacs-lisp/testcover.el (testcover-1value-functions)
5523 (testcover-noreturn-functions, testcover-progn-functions)
5524 (testcover-prog1-functions):
5525 * emulation/viper-init.el (viper-emacs-state-cursor-color):
5526 * eshell/em-glob.el (eshell-glob-translate-alist):
5527 * play/tetris.el (tetris-tty-colors):
5528 * progmodes/cpp.el (cpp-face-default-list):
5529 * progmodes/flymake.el (flymake-allowed-file-name-masks):
5530 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
5531 (idlwave-help-browser-generic-args):
5532 * progmodes/make-mode.el (makefile-special-targets-list):
5533 * progmodes/python.el (python-shell-virtualenv-path):
5534 * progmodes/verilog-mode.el (verilog-active-low-regexp)
5535 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
5536 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
5537 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
5538 * textmodes/reftex-vars.el (reftex-format-label-function):
5539 * textmodes/remember.el (remember-diary-file): Fix custom types.
5540
e54eeb9b
GM
5541 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
5542 Add :version.
5543
455851dd
LL
55442013-05-09 Leo Liu <sdl.web@gmail.com>
5545
5546 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 5547 Restore file completion. (Bug#14300)
455851dd
LL
5548 (inferior-octave-startup): Fix incorrect highlighting for the
5549 first prompt.
5550
a9e4425b
SM
55512013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * progmodes/ruby-mode.el: First cut at SMIE support.
5554 (ruby-use-smie): New var.
5555 (ruby-smie-grammar): New constant.
5556 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
5557 (ruby-smie--forward-token, ruby-smie--backward-token)
5558 (ruby-smie-rules): New functions.
5559 (ruby-mode-variables): Setup SMIE if applicable.
5560
060ca408
EZ
55612013-05-08 Eli Zaretskii <eliz@gnu.org>
5562
5563 * simple.el (line-move-visual): Signal beginning/end of buffer
5564 only if vertical-motion moved less than it was requested. Avoids
5565 silly incorrect error messages when there are display strings with
5566 multiple newlines at EOL.
5567
1d5963cc
SM
55682013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
5571 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
5572 (prolog-char-quote-workaround):
5573 * progmodes/cperl-mode.el (cperl-under-as-char):
5574 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
5575 Mark as obsolete.
5576 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
5577 their declaration.
5578 (vhdl-mode-syntax-table-init): Remove.
5579
c9990474
SM
5580 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
5581 last change.
1d5963cc
SM
5582
5583 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
5584 syntax for "_".
5585 (ld-script-font-lock-keywords):
5586 Change regexps to use things like \_< and \_>.
5587
5588 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
5589 Change all regexps to use things like \_< and \_>.
5590
5591 * progmodes/autoconf.el (autoconf-definition-regexp)
5592 (autoconf-font-lock-keywords, autoconf-current-defun-function):
5593 Handle a _ with symbol syntax.
5594 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
5595
c9990474
SM
5596 * progmodes/ada-mode.el (ada-mode-abbrev-table):
5597 Consolidate declaration.
1d5963cc
SM
5598 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
5599 the declaration.
5600 (ada-create-syntax-table): Remove.
5601 (ada-capitalize-word): Don't mess with the syntax of "_" since it
5602 already has the right syntax nowadays.
5603 (ada-goto-next-word): Don't change the syntax of "_".
5604
5605 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
5606 with-wrapper-hook.
5607
72d3cfca
SS
56082013-05-08 Sam Steingold <sds@gnu.org>
5609
5610 * thingatpt.el (thing-at-point): Accept optional second argument
5611 NO-PROPERTIES to strip the text properties from the return value.
5612 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
5613 to `thing-at-point' instead of stripping the properties ourselves.
5614 Also, when `thing-at-point' fails to find a url, prepend "http://"
5615 to the filename at point on the assumption that the user is
5616 pointing at something like gnu.org/gnu.
5617
5cb15713
JB
56182013-05-08 Juanma Barranquero <lekktu@gmail.com>
5619
5620 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5621 * faces.el (crm-separator):
5622 Silence byte-compiler.
5623
5624 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
5625 (tool-bar-map): Remove unneeded defvars.
5626
ea78b95b
LL
56272013-05-08 Leo Liu <sdl.web@gmail.com>
5628
5629 Re-work a fix for bug#10994 based on Le Wang's patch.
5630 * ido.el (ido-remove-consecutive-dups): New helper.
5631 (ido-completing-read): Use it.
5632 (ido-chop): Revert fix for bug#10994.
5633
dc7466df
AS
56342013-05-08 Adam Spiers <emacs@adamspiers.org>
5635
5636 * cus-edit.el (custom-save-variables):
5637 Pretty-print long values. (Bug#14187)
5638
9ecf672a
GM
56392013-05-08 Glenn Morris <rgm@gnu.org>
5640
5641 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
5642 (m4-mode-syntax-table): Init in the defvar.
5643 (m4-mode-abbrev-table): Let define-derived-mode define it.
5644
3f555be8
TT
56452013-05-08 Tom Tromey <tromey@redhat.com>
5646
5647 * progmodes/m4-mode.el (m4-mode-syntax-table):
5648 Do not treat "_" as word constituent. (Bug#14167)
5649
7cc8ae06
GM
56502013-05-07 Glenn Morris <rgm@gnu.org>
5651
4f58bc06
GM
5652 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
5653 Remove explicit eshell-isearch-cancel-map.
5654
7cc8ae06
GM
5655 * progmodes/f90.el (f90-smart-end-names): New option.
5656 (f90-smart-end): Doc fix.
5657 (f90-end-block-optional-name): New constant.
5658 (f90-block-match): Respect f90-smart-end-names.
5659
ceb57e59
SM
56602013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5661
5662 * progmodes/octave.el (octave-smie-forward-token): Be more careful
5663 about implicit semi-colons (bug#14218).
5664
4e3f9230
YM
56652013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5666
5667 * frame.el (display-monitor-attributes-list)
5668 (frame-monitor-attributes): New functions.
5669
203a5572
LL
56702013-05-06 Leo Liu <sdl.web@gmail.com>
5671
5672 * progmodes/octave.el (octave-syntax-propertize-function): Change
5673 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
5674 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 5675 (octave-completion-at-point): Rename from
203a5572
LL
5676 octave-completion-at-point-function.
5677 (inferior-octave-directory-tracker): Robustify.
5678 (octave-text-functions): Remove and fix its uses. No such things
5679 any more.
5680
ee6cff99
SM
56812013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * emacs-lisp/trace.el (trace--display-buffer): New function.
5684 (trace-make-advice): Use it.
5685
32985194
JL
56862013-05-06 Juri Linkov <juri@jurta.org>
5687
5688 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
5689 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
5690 Doc fix.
5691 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
5692 in the help string. (Bug#12985)
5693
a1c700de
KD
56942013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5695
5696 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
5697
c67c0839
SM
56982013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5699
323885fd
SM
5700 * progmodes/perl-mode.el: Add support for here documents.
5701 (perl-syntax-propertize-function): Match here-doc markers.
5702 (perl-syntax-propertize-special-constructs): Find their end.
5703 (perl-imenu-generic-expression): Use [:alnum:].
5704
c67c0839
SM
5705 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
5706 (advice--add-function): Refresh the advice if already present
5707 (bug#14317).
5708
d491e7a8
IA
57092013-05-06 Ivan Andrus <darthandrus@gmail.com>
5710
5711 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
5712
ddf9925e
GM
57132013-05-06 Glenn Morris <rgm@gnu.org>
5714
7cc3af27
GM
5715 * w32-fns.el (w32-charset-info-alist): Declare.
5716
16e343d6
GM
5717 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
5718 of its defcustom properties.
5719 (eshell-cmpl-initialize): No need to load pcomplete.
5720
7d889a47
GM
5721 * generic-x.el: No need to require comint when compiling.
5722
ddf9925e
GM
5723 * net/eudc-export.el: Make it loadable without bbdb.
5724 (top-level): Use require rather than load-library.
5725 (eudc-create-bbdb-record, eudc-bbdbify-phone)
5726 (eudc-batch-export-records-to-bbdb)
5727 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
5728 Require bbdb.
5729
1e2c18df
SM
57302013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
5733 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
5734 some tweaks, instead.
5735
02502a5f
LL
57362013-05-05 Leo Liu <sdl.web@gmail.com>
5737
5738 * progmodes/octave.el (octave-font-lock-keywords)
5739 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
5740 (inferior-octave-send-list-and-digest): Improve error message.
5741 (octave-mode, inferior-octave-mode): Use setq-local.
5742 (octave-help): Set info-lookup-mode.
5743
0dc04f42
RS
57442013-05-05 Richard Stallman <rms@gnu.org>
5745
6c54491c
RS
5746 * vc/compare-w.el (compare-windows-whitespace):
5747 Treat no-break space as whitespace.
5748
0dc04f42
RS
5749 * mail/rmailsum.el (rmail-summary-rmail-update):
5750 Detect empty summary and don't change selected message.
5751 (rmail-summary-goto-msg): Likewise.
5752
df8f35df
RS
5753 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
5754 Doc fixes, rename args.
5755
5356e1a3
AM
57562013-05-05 Alan Mackenzie <acm@muc.de>
5757
5758 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
5759
d44014cb
JL
57602013-05-05 Juri Linkov <juri@jurta.org>
5761
5762 * info.el (Info-read-subfile): Use (point-min) instead of (point)
5763 to not add the length of the summary segment to the return value.
5764 (Bug#14125)
5765
c129b51f
LL
57662013-05-05 Leo Liu <sdl.web@gmail.com>
5767
5768 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
5769 (inferior-octave-output-filter): Remove.
5770 (octave-send-region, inferior-octave-startup): Fix callers.
5771 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
5772 (octave-binary-file-extensions): New user variable.
5773 (octave-find-definition): Confirm if opening binary files.
5774 (octave-help-file): Use octave-find-definition to get the binary
5775 confirmation.
5776 (octave-help): Adjust for octave-help-file change.
5777
aa7dab97
SM
57782013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
5781 Merge the two entries that handle function definitions.
5782 (pascal--syntax-propertize): New const.
5783 (pascal-mode): Use it. Use setq-local.
5784
fd3a9a6b
GM
57852013-05-04 Glenn Morris <rgm@gnu.org>
5786
5787 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5788 (diary-from-outlook): Respect diary-from-outlook-function.
5789
30c7e542
SM
57902013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5793 Move the declaration from C.
5794 (read-minibuffer, eval-minibuffer): Move from C.
5795 (completion-setup-function): Avoid minibuffer-completion-contents.
5796
b54f978b
LL
57972013-05-03 Leo Liu <sdl.web@gmail.com>
5798
5799 * progmodes/octave.el (octave-font-lock-keywords): Do not
5800 dehighlight 'end' in comments or strings.
30c7e542
SM
5801 (octave-completing-read, octave-goto-function-definition):
5802 New helpers.
d4d0f9b3
LL
5803 (octave-help-buffer): New user variable.
5804 (octave-help-file, octave-help-function): New button types.
5805 (octave-help): New command and bind it to C-h ;.
5806 (octave-find-definition): New command and bind it to M-.
d74a1581 5807 (user-error): Alias to error if not defined.
b54f978b 5808
27135018
LL
58092013-05-02 Leo Liu <sdl.web@gmail.com>
5810
5811 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5812 for \. (bug#14332)
5813 (octave-font-lock-keywords): Include [ and {.
5814
0d634d3a
LL
58152013-05-02 Leo Liu <sdl.web@gmail.com>
5816
5817 * progmodes/octave.el (inferior-octave-startup-file): Change default.
5818 (inferior-octave): Remove calling comint-mode and return the buffer.
5819 (inferior-octave-startup): Cosmetic changes.
5820
b4c8295e
LL
58212013-05-02 Leo Liu <sdl.web@gmail.com>
5822
30c7e542
SM
5823 * progmodes/octave.el (octave-syntax-propertize-function):
5824 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 5825
f12ad6ec
GM
58262013-05-02 Glenn Morris <rgm@gnu.org>
5827
5828 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5829 * desktop.el (vc-dir-mode): Just autoload it here.
5830
30cac1e0
AM
58312013-05-02 Alan Mackenzie <acm@muc.de>
5832
5833 Eliminate variable c-standard-font-lock-fontify-region-function.
5834 * progmodes/cc-mode.el
5835 (c-standard-font-lock-fontify-region-function): Remove.
5836 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5837
d8ef28b1
LL
58382013-05-01 Leo Liu <sdl.web@gmail.com>
5839
2640d52e 5840 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 5841 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 5842 variables were removed from Octave in 2007.
d8ef28b1
LL
5843 (inferior-octave-startup): Fix uses.
5844 (comint-line-beginning-position): Remove compatibility code for
5845 emacs 21.
5846
ac63ec89
JL
58472013-05-01 Juri Linkov <juri@jurta.org>
5848
5849 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5850
9e9be37c
JL
58512013-05-01 Juri Linkov <juri@jurta.org>
5852
5853 * comint.el (comint-previous-matching-input): Don't print message
5854 "History item: %d" when `isearch-mode' is active.
5855 (comint-history-isearch-message): Print message "History item: %d"
5856 when `comint-input-ring-index' is not empty and this function is
5857 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5858
9b92c13b
LL
58592013-05-01 Leo Liu <sdl.web@gmail.com>
5860
5861 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5862 definitions. Use completion-at-point to insert keywords.
5863 (octave-abbrev-start): Remove.
5864 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5865
b12d33d7
LL
58662013-04-30 Leo Liu <sdl.web@gmail.com>
5867
5868 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5869 change.
5870
3d1c39fa
AM
58712013-04-30 Alan Mackenzie <acm@muc.de>
5872
5873 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
5874 * progmodes/cc-engine.el (c-back-over-member-initializers):
5875 new function.
3d1c39fa
AM
5876 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5877 (most) member init lists.
5878
5147fc17
RS
58792013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5880
5881 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5882 variable.
5883
5b78d7fc
LL
58842013-04-30 Leo Liu <sdl.web@gmail.com>
5885
5886 * progmodes/octave.el (octave-variables): Remove. No builtin
5887 variables any more. All converted to functions.
5888 (octave-font-lock-keywords, octave-completion-at-point-function):
5889 Fix uses.
5890 (octave-font-lock-texinfo-comment): New user variable.
5891 (octave-texinfo-font-lock-keywords): New variable for texinfo
5892 comment block.
5893 (octave-function-comment-block): New face.
5894 (octave-font-lock-texinfo-comment): New function.
5895 (octave-mode): Font lock texinfo comment block.
5896
38d8527b
LL
58972013-04-29 Leo Liu <sdl.web@gmail.com>
5898
5899 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5900 indexing expression.
5901 (octave-continuation-string): Do not use \.
5902 (inferior-octave-complete-impossible): Remove.
5903 (inferior-octave-completion-table)
5904 (inferior-octave-completion-at-point): Remove its uses.
5905 (inferior-octave-startup): completion_matches was introduced to
5906 Octave in 1996 so safe to assume it.
5907 (octave-function-file-comment): Improve to follow how Octave does it.
5908 (octave-update-function-file-comment): Tweak.
5909
2ec12cb0
LL
59102013-04-29 Leo Liu <sdl.web@gmail.com>
5911
5912 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5913 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5914 (octave-function-file-comment): Fix typo.
5915 (octave-sync-function-file-names): Use read-char-choice.
5916
6eaed048
JB
59172013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5918
5919 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5920 to t for the less important warnings.
5921
3ffa2d4f
DH
59222013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5923
5924 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5925
685c9501
GM
59262013-04-27 Glenn Morris <rgm@gnu.org>
5927
5928 * vc/log-view.el (log-view-current-entry):
5929 Treat "---" separator lines as part of the following rev. (Bug#14169)
5930
0208ede7
JL
59312013-04-27 Juri Linkov <juri@jurta.org>
5932
5933 * subr.el (read-number): Doc fix about using it by interactive
5934 code letter `n'. (Bug#14254)
5935
5db9dace
JL
59362013-04-27 Juri Linkov <juri@jurta.org>
5937
5938 * desktop.el (desktop-auto-save-timeout): New option.
5939 (desktop-file-checksum): New variable.
5940 (desktop-save): Add optional arg `auto-save' and don't auto-save
5941 if nothing changed.
5942 (desktop-auto-save-timer): New variable.
5943 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5944 (after-init-hook): Call `desktop-auto-save-set-timer'.
5945 Suggested by Reuben Thomas <rrt@sc3d.org> in
5946 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5947
b7260dd4
LL
59482013-04-27 Leo Liu <sdl.web@gmail.com>
5949
5950 * progmodes/octave.el (octave-function-file-p)
5951 (octave-skip-comment-forward, octave-function-file-comment)
5952 (octave-update-function-file-comment): New functions.
5953 (octave-mode-map): Bind C-c ; to
5954 octave-update-function-file-comment.
5955 (octave-mode-menu): Add octave-update-function-file-comment.
5956 (octave-mode, inferior-octave-mode): Fix doc-string.
5957 (octave-insert-defun): Conform to Octave's coding convention.
5958 (Bug#14285)
5959
5960 * files.el (basic-save-buffer): Don't let errors in
5961 before-save-hook prevent saving buffer.
5962
c46da669
RW
59632013-04-20 Roland Winkler <winkler@gnu.org>
5964
5965 * faces.el (read-face-name): Use completing-read if arg multiple
5966 is nil.
5967
a81ee1eb
IL
59682013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5969
5970 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
5971 displayed, move point to after the totals line.
5972 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
5973 for the details.
5974
4fac34ce
SM
59752013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5976
5977 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5978 Add current dir to the load-path.
5979 (package-generate-autoloads): Don't rely on
5980 autoload-ensure-default-file.
5981
f6bfc063
RT
59822013-04-26 Reuben Thomas <rrt@sc3d.org>
5983
d40ab5cf
BG
5984 * textmodes/remember.el (remember-store-in-files): Document that
5985 the file name format is passed to `format-time-string'.
f6bfc063 5986
e55d3b04
LL
59872013-04-26 Leo Liu <sdl.web@gmail.com>
5988
5989 * progmodes/octave.el (octave-sync-function-file-names): New function.
5990 (octave-mode): Use it in before-save-hook.
5991
e53052d3
SM
59922013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5993
140ef50c
SM
5994 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5995 (bug#14274).
5996
e53052d3
SM
5997 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5998 \n and comment, even if it's not an implicit ; (bug#14218).
5999
af80458d 60002013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
6001
6002 * subr.el (read-number): Once more use `read' rather than
6003 `string-to-number', to trap non-numeric input. (Bug#14254)
6004
af80458d 60052013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
6006
6007 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6008 Use `syntax-multiline' text property consistently instead of
8a621d53 6009 `font-lock-multiline'. (Bug#14237)
70203c2e 6010
e6ea1f6c
GM
60112013-04-26 Glenn Morris <rgm@gnu.org>
6012
6013 * emacs-lisp/shadow.el (list-load-path-shadows):
6014 No longer necessary to check for duplicate simple.el, since
6015 2012-07-07 change to init_lread to not include installation lisp
6016 directories in load-path when running uninstalled. (Bug#14270)
6017
070ccca4
LL
60182013-04-26 Leo Liu <sdl.web@gmail.com>
6019
6020 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6021 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 6022 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
6023 octave-in-string-or-comment-p.
6024 (octave-in-comment-p, octave-in-string-p)
6025 (octave-in-string-or-comment-p): Replace defsubst with defun.
6026
9d1c5fb6
PE
60272013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6028
6029 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6030
c034abda
BG
60312013-04-25 Bastien Guerry <bzg@gnu.org>
6032
6033 * textmodes/remember.el (remember-data-directory)
6034 (remember-directory-file-name-format): Fix custom types.
6035
584ea277
LL
60362013-04-25 Leo Liu <sdl.web@gmail.com>
6037
e53052d3
SM
6038 * progmodes/octave.el (octave-completion-at-point-function):
6039 Make use of inferior octave process.
584ea277
LL
6040 (octave-initialize-completions): Remove.
6041 (inferior-octave-completion-table): New function.
6042 (inferior-octave-completion-at-point): Use it.
6043 (octave-completion-alist): Remove.
6044
1693b06a
SM
60452013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6048 (opascal-mode-syntax-table): New var.
6049 (opascal-literal-kind, opascal-is-literal-end)
6050 (opascal-literal-token-at): Rewrite.
6051 (opascal--literal-start-re, opascal-font-lock-keywords)
6052 (opascal--syntax-propertize): New constants.
6053 (opascal-font-lock-defaults): Adjust.
6054 (opascal-mode): Use them. Set comment-<foo> variables as well.
6055 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6056 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6057 (delphi-other-face, opascal-other-face): Remove face variables.
6058 (opascal-save-state): Remove macro.
6059 (opascal-fontifying-progress-step): Remove constant.
6060 (opascal--ignore-changes): Remove var.
6061 (opascal-set-token-property, opascal-parse-next-literal)
6062 (opascal-is-stable-literal, opascal-complete-literal)
6063 (opascal-is-literal-start, opascal-face-of)
6064 (opascal-parse-region, opascal-parse-region-until-stable)
6065 (opascal-fontify-region, opascal-after-change)
6066 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6067 (opascal-debug-parse-region, opascal-debug-parse-window)
6068 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6069 (opascal-debug-fontify-buffer): Remove.
6070 (opascal-debug-mode-map): Adjust accordingly.
6071
be64c05d
LL
60722013-04-25 Leo Liu <sdl.web@gmail.com>
6073
6074 Merge octave-mod.el and octave-inf.el into octave.el with some
6075 cleanups.
6076 * progmodes/octave.el: New file renamed from octave-mod.el.
6077 * progmodes/octave-inf.el: Merged into octave.el.
6078 * progmodes/octave-mod.el: Renamed to octave.el.
6079
d79d37bd
TH
60802013-04-25 Tassilo Horn <tsdh@gnu.org>
6081
6082 * textmodes/reftex-vars.el
6083 (reftex-label-ignored-macros-and-environments): New defcustom.
6084
6085 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6086
ced3fc5d
SM
60872013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6090 (smie-indent-keyword): Improve the check to ensure that the next
6091 comment is really on the same line.
6092 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6093
6094 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6095 semi-colons if the line is not otherwise empty (bug#14218).
6096
1c141dad
GM
60972013-04-25 Glenn Morris <rgm@gnu.org>
6098
6099 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6100
5058062a
SM
61012013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * progmodes/opascal.el (opascal-set-token-property): Rename from
6104 opascal-set-text-properties and only set `token' (bug#14134).
6105 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6106 (opascal-literal-text-properties): Remove.
6107 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6108 Adjust callers.
6109
5db9dace 61102013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
6111
6112 * textmodes/remember.el (remember-handler-functions): Add an
6113 option for a new handler `remember-store-in-files'.
6114 (remember-data-directory, remember-directory-file-name-format):
6115 New options.
6116 (remember-store-in-files): New function to store remember notes
6117 as separate files within a directory.
6118
4391916c
MH
61192013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6120
6121 * progmodes/compile.el (compilation-next-error-function):
6122 Pass "formats" to compilation-find-file (bug#11777).
6123
bb7cdf58
GM
61242013-04-24 Glenn Morris <rgm@gnu.org>
6125
3b8fe752 6126 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
6127 * vc/vc-hg.el (vc-hg-print-log):
6128 * vc/vc-svn.el (vc-svn-print-log):
6129 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6130
bb7cdf58
GM
6131 * vc/vc-bzr.el (vc-bzr-print-log):
6132 * vc/vc-cvs.el (vc-cvs-print-log):
6133 * vc/vc-git.el (vc-git-print-log):
6134 * vc/vc-hg.el (vc-hg-print-log):
6135 * vc/vc-mtn.el (vc-mtn-print-log):
6136 * vc/vc-rcs.el (vc-rcs-print-log):
6137 * vc/vc-sccs.el (vc-sccs-print-log):
6138 * vc/vc-svn.el (vc-svn-print-log):
6139 * vc/vc.el (vc-print-log-internal): Doc fixes.
6140
b46a056e
GM
61412013-04-23 Glenn Morris <rgm@gnu.org>
6142
6143 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6144 Remove venerable code attempting to avoid substitute-command-keys.
6145
0aecf718
TH
61462013-04-23 Tassilo Horn <tsdh@gnu.org>
6147
4391916c
MH
6148 * textmodes/reftex-vars.el (reftex-label-regexps):
6149 Call `reftex-compile-variables' after changes to this variable.
0aecf718 6150
117f94cf
SM
61512013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6152
4391916c 6153 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
6154 Use lexical-binding.
6155 (jit-lock-force-redisplay): Use markers, check buffer's continued
6156 existence and beware narrowed buffers.
6157 (jit-lock-fontify-now): Adjust call accordingly.
6158
1d829c64
SM
61592013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6160
6161 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6162 to avoid misleading the user.
6163
72d548a9
LL
61642013-04-22 Leo Liu <sdl.web@gmail.com>
6165
6166 * info-look.el: Prefer latex2e.info. (Bug#14240)
6167
d0853629
MA
61682013-04-22 Michael Albinus <michael.albinus@gmx.de>
6169
6170 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6171
6172 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 6173 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
6174 (tramp-set-completion-function, tramp-parse-putty):
6175 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6176 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6177 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6178 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6179 (tramp-call-local-coding-command): Use `tramp-call-process'
6180 instead of `tramp-compat-call-process'.
6181
6182 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6183 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6184 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 6185 (tramp-find-inline-compress): Improve traces.
d0853629
MA
6186 (tramp-maybe-send-script): Check for Perl binary.
6187 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6188
38cc0210
DU
61892013-04-22 Daiki Ueno <ueno@gnu.org>
6190
6191 * epg.el (epg-context-pinentry-mode): New function.
6192 (epg-context-set-pinentry-mode): New function.
6193 (epg--start): Pass --pinentry-mode option to gpg command.
6194
cc641ee1
XF
61952013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6196
02d844b5 6197 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 6198 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 6199 `completion-at-point'. (Bug#13774)
5d4e5c31 6200
cc641ee1
XF
6201 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6202 default key binding for `describe-distribution' has been moved to
6203 `C-h C-o'. (Bug#13970)
6204
1b42ee43
GM
62052013-04-21 Glenn Morris <rgm@gnu.org>
6206
6207 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6208 Add doc strings.
6209 (vc-print-log): Clarify interactive prompt.
6210
a6d63d97
GM
62112013-04-20 Glenn Morris <rgm@gnu.org>
6212
6213 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6214 No longer include timestamp etc information.
6215
d7f5c16f
RW
62162013-04-20 Roland Winkler <winkler@gnu.org>
6217
6218 * faces.el (read-face-name): Bug fix, return just one face if arg
6219 multiple is nil. (Bug#14209)
6220
bcd7a0a4
SM
62212013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6224 (remove-function): Autoload.
6225
6226 * comint.el (comint-redirect-original-filter-function): Remove.
6227 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
6228 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6229 (vc-cvs-annotate-command):
bcd7a0a4
SM
6230 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6231 * progmodes/prolog.el (prolog-consult-compile):
6232 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6233 Use add/remove-function instead.
6234 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6235 (gud-tooltip-process-output, gud-tooltip-tips):
6236 Use add/remove-function instead.
6237 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6238 (scheme-interaction-mode, exit-scheme-interaction-mode):
6239 Use add/remove-function instead.
6240
6241 * vc/vc-dispatcher.el: Use lexical-binding.
6242 (vc--process-sentinel): Rename from vc-process-sentinel.
6243 Change last arg to be the code to run. Don't use vc-previous-sentinel
6244 and vc-sentinel-commands any more.
6245 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6246 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6247
4d3268ba
MY
62482013-04-19 Masatake YAMATO <yamato@redhat.com>
6249
bcd7a0a4 6250 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 6251 Handle function names with a single character. (Bug#14111)
4d3268ba 6252
781b4af6 62532013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
6254
6255 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6256 for subroutines defined in an eval (bug#14182).
6257
7d688336
TV
62582013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6259
6260 * bookmark.el (bookmark-completing-read): Improve handling of empty
6261 string (bug#14176).
6262
31dcede0
SM
62632013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6264
6265 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6266
adc31213
FEG
62672013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6268
6269 New faster Imenu implementation (bug#14058).
6270 * progmodes/python.el:
6271 (python-imenu-prev-index-position):
6272 (python-imenu-format-item-label-function)
6273 (python-imenu-format-parent-item-label-function)
6274 (python-imenu-format-parent-item-jump-label-function):
6275 New vars.
6276 (python-imenu-format-item-label)
6277 (python-imenu-format-parent-item-label)
6278 (python-imenu-format-parent-item-jump-label)
6279 (python-imenu--put-parent, python-imenu--build-tree)
6280 (python-imenu-create-index, python-imenu-create-flat-index)
6281 (python-util-popn): New functions.
6282 (python-mode): Set imenu-create-index-function to
6283 python-imenu-create-index.
6284
cdca8255
SM
62852013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * winner.el (winner-active-region): Use region-active-p, activate-mark
6288 and deactivate-mark (bug#14225).
6289
6290 * simple.el (deactivate-mark): Don't inline it.
6291
beb42340
MA
62922013-04-18 Michael Albinus <michael.albinus@gmx.de>
6293
6294 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6295
fc7f4d7e
TH
62962013-04-18 Tassilo Horn <tsdh@gnu.org>
6297
6298 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6299 file extensions from the archive-mode entry in order to prefer
6300 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6301
29f47822
LL
63022013-04-18 Leo Liu <sdl.web@gmail.com>
6303
6304 * bindings.el (help-event-list): Add ?\?.
6305
d36ed1c8
SM
63062013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6307
6308 * subr.el (with-wrapper-hook): Declare obsolete.
6309 * simple.el (filter-buffer-substring-function): New hook.
6310 (filter-buffer-substring): Use it.
6311 (filter-buffer-substring-functions): Mark obsolete.
6312 * minibuffer.el (completion-in-region-function): New hook.
6313 (completion-in-region): Use it.
6314 (completion-in-region-functions): Mark obsolete.
6315 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6316 * abbrev.el (abbrev-expand-function): New hook.
6317 (expand-abbrev): Use it.
6318 (abbrev-expand-functions): Mark obsolete.
6319 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6320 and :filter-return.
6321
04754d36
FEG
63222013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6323
6324 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6325 and do not care about match data.
6326
dd8791e9
SM
63272013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6328
6329 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6330 completion tables when completing error conditions and
6331 `declare' arguments.
6332 (lisp-complete-symbol, field-complete): Mark as obsolete.
6333 (check-parens): Unmatched parens are user errors.
6334 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6335
ffe54a13
AM
63362013-04-17 Michal Nazarewicz <mina86@mina86.com>
6337
dd8791e9
SM
6338 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6339 command changed buffer (ie. `flyspell-pre-buffer' is not current
6340 buffer), which prevents making decisions based on invalid value of
6341 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
6342 cause an error when `flyspell-pre-point' was nil after switching
6343 buffers.
6344 (flyspell-post-command-hook): No longer needs to change buffers when
6345 checking pre-word. While at it remove unnecessary progn.
ffe54a13 6346
ec7e39f2
AM
63472013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
6348
6349 * textmodes/ispell.el (ispell-add-per-file-word-list):
6350 Fix `flyspell-correct-word-before-point' error when accepting
6351 words and `coment-padding' is an integer by using
6352 `comment-normalize-vars' (Bug #14214).
6353
083850a6
FEG
63542013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6355
6356 New defun movement commands.
6357 * progmodes/python.el (python-nav--syntactically)
6358 (python-nav--forward-defun, python-nav-backward-defun)
6359 (python-nav-forward-defun): New functions.
6360
619ed6e1
FEG
63612013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6362
6363 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
6364 (python-syntax-context): Use named compiler-macro for backwards
6365 compatibility with Emacs 24.x.
6366
7a1beb6c
LL
63672013-04-17 Leo Liu <sdl.web@gmail.com>
6368
6369 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
6370 octave-hide-process-buffer.
6371
2d3fa3e5
SM
63722013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
6375 (bug#14216).
6376
7ce5be54
JPG
63772013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
6378
6379 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
6380 Fix adjustment of offset when receiving incomplete responses from GDB
6381 (bug#14129).
6382
351edece
SM
63832013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
6386 python-mode-abbrev-table.
6387 (python-skeleton-define): Adjust accordingly.
6388 (python-mode-abbrev-table): New table that inherits from it so that
6389 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
6390
6391 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
6392 (abbrev-symbol): Use it.
6393 (abbrev--before-point): Use it since we already handle inheritance.
6394
613f9481
LL
63952013-04-16 Leo Liu <sdl.web@gmail.com>
6396
6397 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
6398 binding to info-lookup-symbol.
6399
51646b62
JB
64002013-04-16 Juanma Barranquero <lekktu@gmail.com>
6401
6402 * minibuffer.el (completion--twq-all):
6403 * term/ns-win.el (ns-initialize-window-system):
6404 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
6405
efb3f01d
SM
64062013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6407
36c0a301
SM
6408 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
6409 global bindings.
6410
efb3f01d
SM
6411 * doc-view.el (doc-view-start-process): Handle url-handler directories.
6412
fb549d64
DG
64132013-04-15 Dmitry Gutov <dgutov@yandex.ru>
6414
6415 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
6416 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
6417 to nil.
6418 (ruby-end-of-defun): Remove the unused arg, change the docstring
6419 to reflect that this function is only used as the value of
6420 `end-of-defun-function'.
6421 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
6422 to reflect an earlier change that beginning/end-of-defun functions
6423 jump between methods in a class definition, as well as top-level
6424 functions.
6425
21e8fe2f
SM
64262013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * minibuffer.el (minibuffer-complete): Don't just scroll
6429 a *Completions* that's been iconified.
6430 (minibuffer-force-complete): Make sure repetitions do cycle when going
6431 through completion-in-region -> minibuffer-complete.
6432
20e527d0
AM
64332013-04-15 Alan Mackenzie <acm@muc.de>
6434
6435 Correct the placement of c-cpp-delimiters when there're #s not at
6436 col 0.
6437
6438 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
6439 place a submatch around the #.
21e8fe2f
SM
6440 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
6441 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
6442 on the #, not BOL.
6443
dabefae5
SM
64442013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * emacs-lisp/nadvice.el: Properly test names when adding advice.
6447 (advice--member-p): New arg `name'.
6448 (advice--add-function, advice-member-p): Use it (bug#14202).
6449
85c9ab64
AM
64502013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
6451
6452 Reformulate java imenu-generic-expression.
6453 The old expression contained ill formed regexps.
6454
6455 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
6456 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
6457 (cc-imenu-java-method-arg-regexp): New defconsts.
6458 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 6459 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
6460 handling of spaces in the regexp.
6461
0f821d99
AM
64622013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6463
6464 * textmodes/ispell.el (ispell-command-loop): Remove
6465 flyspell highlight of a word when ispell accepts it (bug #14178).
6466
eb922adf
MA
64672013-04-15 Michael Albinus <michael.albinus@gmx.de>
6468
6469 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
6470 uses code from the previous `ange-ftp-run-real-handler'.
6471 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
6472 only in case that function exist. This is needed for proper
6473 unloading of Tramp.
6474
4d9a0979
TH
64752013-04-15 Tassilo Horn <tsdh@gnu.org>
6476
6477 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
6478
6479 * textmodes/reftex.el (reftex-compile-variables): Use it.
6480
a829b0dc
SM
64812013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6482
91e8293c
SM
6483 * files.el (normal-mode): Only use default major-mode if no other mode
6484 was specified.
6485
830aed4d
SM
6486 * emacs-lisp/trace.el (trace-values): New function.
6487
a829b0dc
SM
6488 * files.el: Allow : in local variables (bug#14089).
6489 (hack-local-variable-regexp): New var.
6490 (hack-local-variables-prop-line, hack-local-variables): Use it.
6491
7ae9f0fb
RW
64922013-04-13 Roland Winkler <winkler@gnu.org>
6493
6494 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
6495 data before it gets modified by bibtex-beginning-of-entry.
6496
6646e848
RW
64972013-04-13 Roland Winkler <winkler@gnu.org>
6498
6499 * textmodes/bibtex.el (bibtex-url): Doc fix.
6500
65012013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
6502
6503 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
6504 does not visit a BibTeX file, exclude it from the list of buffers
6505 returned by bibtex-initialize.
6506
0aa3616e
SB
65072013-04-13 Stephen Berman <stephen.berman@gmx.net>
6508
6509 * window.el (split-window): Remove interactive form, since as a
6510 command this function is a special case of split-window-below.
6511 Correct doc string.
6512
011cddd6
RW
65132013-04-12 Roland Winkler <winkler@gnu.org>
6514
6515 * faces.el (read-face-name): Do not override value of arg default.
6516 Allow single faces and strings as default values. Remove those
6517 elements from return value that are not faces.
6518 (describe-face): Simplify.
6519 (face-at-point): New optional args thing and multiple so that this
6520 function can provide the same functionality previously provided by
6521 read-face-name.
6522 (make-face-bold, make-face-unbold, make-face-italic)
6523 (make-face-unitalic, make-face-bold-italic, invert-face)
6524 (modify-face, read-face-and-attribute): Use face-at-point.
6525
6526 * cus-edit.el (customize-face, customize-face-other-window)
6527 * cus-theme.el (custom-theme-add-face)
6528 * face-remap.el (buffer-face-set)
6529 * facemenu.el (facemenu-set-face): Use face-at-point.
6530
f24e0036
MA
65312013-04-12 Michael Albinus <michael.albinus@gmx.de>
6532
6533 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
6534
da3cda2d
TH
65352013-04-10 Tassilo Horn <tsdh@gnu.org>
6536
6537 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
6538 off leading { and trailing } from field values.
6539
15e54145
SM
65402013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6541
78ce603d
SM
6542 * emacs-lisp/timer.el (timer--check): New function.
6543 (timer--time, timer-set-function, timer-event-handler): Use it.
6544 (timer-set-idle-time): Simplify.
6545 (timer--activate): CSE.
6546 (timer-event-handler): Give more info in error message.
6547 (internal-timer-start-idle): New function, moved from C.
6548
15e54145
SM
6549 * mpc.el (mpc-proc): Add `restart' argument.
6550 (mpc-proc-cmd): Use it.
6551 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
6552 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
6553 less often.
6554
7144c627
MY
65552013-04-10 Masatake YAMATO <yamato@redhat.com>
6556
6557 * progmodes/sh-script.el: Implement `sh-mode' own
6558 `add-log-current-defun-function' (bug#14112).
6559 (sh-current-defun-name): New function.
6560 (sh-mode): Use the function.
6561
b39792eb
BG
65622013-04-09 Bastien Guerry <bzg@gnu.org>
6563
6564 * simple.el (choose-completion-string): Fix docstring (bug#14163).
6565
8acdeb71
SM
65662013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6567
6fcdab68
SM
6568 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
6569
8acdeb71
SM
6570 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
6571 timer (bug#14156).
6572
e3e7b504
NF
65732013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
6574
6575 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
6576 declaration.
6577
201bb296
LL
65782013-04-07 Leo Liu <sdl.web@gmail.com>
6579
6580 * pcmpl-x.el: New file.
6581
ebb19708
DA
65822013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
6583
6584 Do not set x-display-name until X connection is established.
6585 This is needed to prevent from weird situation described at
6586 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
6587 * frame.el (make-frame): Set x-display-name after call to
6588 window system initialization function, not before.
6589 * term/x-win.el (x-initialize-window-system): Add optional
6590 display argument and use it.
6591 * term/w32-win.el (w32-initialize-window-system):
6592 * term/ns-win.el (ns-initialize-window-system):
6593 * term/pc-win.el (msdos-initialize-window-system):
6594 Add compatible optional display argument.
6595
33bb237a
EZ
65962013-04-06 Eli Zaretskii <eliz@gnu.org>
6597
6598 * files.el (normal-backup-enable-predicate): On MS-Windows and
6599 MS-DOS compare truenames of temporary-file-directory and of the
6600 file, so that 8+3 aliases (usually found in $TEMP on Windows)
6601 don't fail comparison by compare-strings. Also, compare file
6602 names case-insensitively on MS-Windows and MS-DOS.
6603
134abf1f
SM
66042013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
6607 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
6608
d695cb94
DG
66092013-04-05 Dmitry Gutov <dgutov@yandex.ru>
6610
e3e7b504
NF
6611 * whitespace.el (whitespace-color-on, whitespace-color-off):
6612 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 6613
f4ad7ea1 66142013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
6615
6616 * ispell.el (ispell-set-spellchecker-params):
6617 Really set `ispell-args' for all equivs.
6618
632556e4
SM
66192013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6620
6621 * ido.el (ido-completions): Use extra elements of ido-decorations
6622 (bug#14143).
6623 (ido-decorations): Update docstring.
6624
2a417372
MA
66252013-04-05 Michael Albinus <michael.albinus@gmx.de>
6626
6627 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6628 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
6629 nil during initialization, in order not to miss changes since the
6630 file was opened. (Bug#14140)
6631
fc164b0c
LL
66322013-04-05 Leo Liu <sdl.web@gmail.com>
6633
6634 * kmacro.el (kmacro-call-macro): Fix bug#14135.
6635
0ccecc08
JB
66362013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
6637
6638 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
6639
51af1aa2
GM
66402013-04-04 Glenn Morris <rgm@gnu.org>
6641
6642 * electric.el (electric-pair-inhibit-predicate): Add :version.
6643
b208ebc6
SM
66442013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6645
6646 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
6647 when a package is required several times (bug#14082).
6648
f3d3eaf0
RW
66492013-04-04 Roland Winkler <winkler@gnu.org>
6650
6651 * faces.el (read-face-name): Behave as promised by the docstring.
6652 Assume that arg default is a list of faces.
6653 (describe-face): Call read-face-name with list of default faces.
6654
2575da50
TV
66552013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6656
6657 * bookmark.el: Fix deletion of bookmarks (bug#13972).
6658 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
6659 (bookmark-bmenu-execute-deletions): Only skip first line if it's
6660 the header.
6661 (bookmark-exit-hook-internal): Save even if list is empty.
6662
397703b4
YH
66632013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
6664
6665 * emacs-lisp/package.el (package-pinned-packages): New var.
6666 (package--add-to-archive-contents): Obey it (bug#14118).
6667
691e26ae
AM
66682013-04-03 Alan Mackenzie <acm@muc.de>
6669
8a621d53
JB
6670 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
6671 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
6672
6673 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
6674 parameter `not-in-delimiter'. Handle being inside comment opener.
6675 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
6676 character in case we're typing a '*' after a '/'.
6677 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
6678 instead by passing the parameter to c-state-pp-to-literal.
6679
6680 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
6681 for elt. 7 of a parse state.
6682
4b725a70
PE
66832013-04-01 Paul Eggert <eggert@cs.ucla.edu>
6684
6685 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
6686 * international/latin1-disp.el, international/mule-util.el:
6687 * language/cyril-util.el, language/european.el, language/ind-util.el:
6688 * language/lao-util.el, language/thai.el, language/tibet-util.el:
6689 * language/tibetan.el, language/viet-util.el:
6690 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
6691
15c579f0
SM
66922013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6693
6694 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
6695 (electric-pair-post-self-insert-function): Use it.
6696 (electric-pair-default-inhibit): New function, extracted from
6697 electric-pair-post-self-insert-function.
6698
a77e2924
RW
66992013-03-31 Roland Winkler <winkler@gnu.org>
6700
6701 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
6702
2bd8a4a8
SM
67032013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6704
6705 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
6706
8d3655be 67072013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
6708
6709 Un-indent after "pass" and "return" statements (Bug#13888)
6710 * progmodes/python.el (python-indent-block-enders): New var.
6711 (python-indent-calculate-indentation): Use it.
6712
8d3655be 67132013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
6714
6715 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
6716 defun. Defining it as defalias could introduce too eager
6717 byte-compiler optimization. (Bug#14030)
6718
8d3655be 67192013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
6720
6721 * iswitchb.el (iswitchb-read-buffer): Fix typo.
6722
0b1619da
LL
67232013-03-30 Leo Liu <sdl.web@gmail.com>
6724
6725 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
6726 (kmacro-execute-from-register): Pass the keyboard macro to
6727 kmacro-call-macro or repeating won't work correctly.
6728
0b938190
TZ
67292013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
6730
6731 * progmodes/subword.el: Back to using `forward-symbol'.
6732
6733 * subr.el (forward-whitespace, forward-symbol)
6734 (forward-same-syntax): Move from thingatpt.el.
6735
35710234
LL
67362013-03-29 Leo Liu <sdl.web@gmail.com>
6737
6738 * kmacro.el (kmacro-to-register): New command.
6739 (kmacro-execute-from-register): New function.
6740 (kmacro-keymap): Bind to 'x'. (Bug#14071)
6741
efc0bb73
SM
67422013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * mpc.el: Use defvar-local and setq-local.
6745 (mpc--proc-connect): Connection failures are not bugs.
6746 (mpc-mode-map): `follow-link' only applies to the buffer's content.
6747 (mpc-volume-map): Bind to the up-events.
6748
75a2f981
TZ
67492013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
6750
6751 * progmodes/subword.el (superword-mode): Use `forward-sexp'
6752 instead of `forward-symbol'.
6753
17c781d1
SM
67542013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
6757 (edebug--recursive-edit): Use it.
6758 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
6759 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
6760
f67bfbcf
LL
67612013-03-28 Leo Liu <sdl.web@gmail.com>
6762
6763 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
6764
b59f639d
EZ
67652013-03-27 Eli Zaretskii <eliz@gnu.org>
6766
6767 * facemenu.el (list-colors-callback): New defvar.
6768 (list-colors-redisplay): New function.
6769 (list-colors-display): Install list-colors-redisplay as the
6770 revert-buffer-function. (Bug#14063)
6771
f557c1b1
SM
67722013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6773
b1da2957
SM
6774 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
6775 and suffixes don't overlap (bug#14061).
6776
f557c1b1
SM
6777 * case-table.el: Use lexical-binding.
6778 (case-table-get-table): New function.
6779 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
6780
002668e1
TZ
67812013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
6782
6783 * progmodes/subword.el: Add `superword-mode' to do word motion
6784 over symbol_words (parallels and leverages `subword-mode' which
6785 does word motion inside MixedCaseWords).
6786
73572c72
AG
67872013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
6788
78b8f320 6789 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 6790 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 6791
69b2c07e
SM
67922013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6793
6794 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6795 Change return value to be a sexp. Delay `get-buffer' to after
6796 restoring the desktop (bug#13951).
6797
08bb5ee2
LL
67982013-03-26 Leo Liu <sdl.web@gmail.com>
6799
6800 * register.el: Move semantic tag handling back to
6801 cedet/semantic/senator.el. (Bug#14052)
6802
8d4c974e
SM
68032013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6806 into the prompt either (bug#13963).
6807
b234d92c
SM
68082013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6811 part of "(error-foo)".
6812
ddfa3cb4
JL
68132013-03-24 Juri Linkov <juri@jurta.org>
6814
6815 * replace.el (list-matching-lines-prefix-face): New defcustom.
6816 (occur-1): Pass `list-matching-lines-prefix-face' to the function
6817 `occur-engine' if `face-differs-from-default-p' returns t.
6818 (occur-engine): Add `,' inside backquote construct to evaluate
6819 `prefix-face'. Propertize the prefix with the `prefix-face' face.
6820 Pass `prefix-face' to the functions `occur-context-lines' and
6821 `occur-engine-add-prefix'.
6822 (occur-engine-add-prefix, occur-context-lines): Add optional arg
6823 `prefix-face' and propertize the prefix with `prefix-face'.
6824 (Bug#14017)
6825
7b0e2f85
LL
68262013-03-24 Leo Liu <sdl.web@gmail.com>
6827
6828 * nxml/rng-valid.el (rng-validate-while-idle)
6829 (rng-validate-quick-while-idle): Guard against deleted buffer.
6830 (Bug#13999)
6831
6832 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6833 is the last entry in kill-buffer-hook.
6834
6835 * files.el (kill-buffer-hook): Doc fix.
6836
b3082f49
DG
68372013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6838
b234d92c
SM
6839 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6840 Make it safe-local.
bde73d27 6841
b3082f49
DG
6842 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6843
a320a2db
LL
68442013-03-23 Leo Liu <sdl.web@gmail.com>
6845
7e74b0fb
LL
6846 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6847 Remove.
6848
6849 * nxml/rng-valid.el (rng-validate-mode)
6850 (rng-after-change-function, rng-do-some-validation):
6851 * nxml/rng-maint.el (rng-validate-buffer):
6852 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6853 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6854 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6855 (nxml-extend-after-change-region): Use with-silent-modifications.
6856
a320a2db
LL
6857 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6858 timer-idle-list.
6859
6860 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6861 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6862 timer-idle-list. (Bug#13999)
6863
e38e6780
JL
68642013-03-23 Juri Linkov <juri@jurta.org>
6865
6866 * info.el (info-index-match): New face.
6867 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6868 main pattern and add text properties with the new face to matches
6869 in index entries relative to the beginning of the index entry.
6870 (Bug#14015)
6871
e8cc7880
DE
68722013-03-21 Eric Ludlam <zappo@gnu.org>
6873
6874 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6875 Inhibit read only while inserting objects.
6876
9bb0d822
TZ
68772013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6878
6879 * progmodes/cfengine.el: Update docs to mention
6880 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6881 symbol motion. Remove "_" from the word syntax.
6882
aa703640
TZ
68832013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6884
6885 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6886 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6887
afff09d0
JL
68882013-03-20 Juri Linkov <juri@jurta.org>
6889
6890 * info.el (Info-next-reference-or-link)
6891 (Info-prev-reference-or-link): New functions.
6892 (Info-next-reference, Info-prev-reference): Use them.
6893 (Info-try-follow-nearest-node): Handle footnote navigation.
6894 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6895
9a1ff164
SM
68962013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6899 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6900
2667d15d
PE
69012013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6902
6903 Suppress unnecessary non-ASCII chatter during build process.
6904 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6905 (batch-skkdic-convert): Suppress most of the chatter.
6906 It's not needed so much now that machines are faster,
6907 and its non-ASCII component was confusing; see Dmitry Gutov in
6908 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6909
438b0579
LL
69102013-03-20 Leo Liu <sdl.web@gmail.com>
6911
6912 * ido.el (ido-chop): Fix bug#10994.
6913
c128ab07
DG
69142013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6915
6916 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6917 Remove vars.
9a1ff164
SM
6918 (whitespace-color-on, whitespace-color-off):
6919 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 6920
0e6008c5
SM
69212013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6922
6923 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6924 remapping in mode-line.
6925 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6926
627b52b0
DG
69272013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6928
6929 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6930 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
6931 (whitespace-font-lock-keywords): Change description.
6932 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6933 the constructed keywords instead.
6934 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 6935
50c3a20b
LL
69362013-03-19 Leo Liu <sdl.web@gmail.com>
6937
6938 * progmodes/compile.el (compilation-display-error): New command.
6939 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6940 C-o. (Bug#13992)
6941
2aa2157b
PE
69422013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6943
6944 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6945
e477dbfa
JD
69462013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6947
6948 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6949
64ab82d1
MA
69502013-03-18 Michael Albinus <michael.albinus@gmx.de>
6951
6952 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6953
6954 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6955 * net/tramp-gvfs.el (top):
6956 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6957 (tramp-handle-shell-command): Use it.
6958 (tramp-dissect-file-name): Raise an error when hostname is a
6959 method name, and neither method nor user is specified.
6960
6961 * net/trampver.el: Update release number.
6962
33cef733
LL
69632013-03-18 Leo Liu <sdl.web@gmail.com>
6964
6965 Make sure eldoc can be turned off properly.
6966 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6967 eldoc-mode.
6968 (eldoc-display-message-p): Revert last change.
6969 (eldoc-display-message-no-interference-p)
6970 (eldoc-print-current-symbol-info): Tweak.
6971
2167b7b2
TH
69722013-03-18 Tassilo Horn <tsdh@gnu.org>
6973
6974 * doc-view.el (doc-view-new-window-function): Check the new window
6975 overlay's display property instead the char property of the
6976 buffer's first char. Use `with-selected-window' instead of
6977 `save-window-excursion' with `select-window'.
6978 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 6979 display property instead the char property of the buffer's first char.
2167b7b2 6980
982efbcd
PE
69812013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6982
6983 Automate the build of ja-dic.el (Bug#13984).
6984 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6985 from the input, rather than assume that it's been done for us by the
6986 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6987 the current date into a ja-dic.el comment, as that complicates
6988 regression testing.
6989
2fcc7665
SM
69902013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6991
6992 * whitespace.el: Fix double evaluation.
6993 (whitespace-space, whitespace-hspace, whitespace-tab)
6994 (whitespace-newline, whitespace-trailing, whitespace-line)
6995 (whitespace-space-before-tab, whitespace-indentation)
6996 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6997 obsolete defvars.
6998 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6999 (whitespace-color-on): Use a single font-lock-add-keywords call.
7000 Fix double-evaluation of face variables.
7001
67c0a6e6
MA
70022013-03-17 Michael Albinus <michael.albinus@gmx.de>
7003
2fcc7665
SM
7004 * net/tramp-adb.el (tramp-adb-parse-device-names):
7005 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 7006 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 7007
69489f1d
LL
70082013-03-17 Leo Liu <sdl.web@gmail.com>
7009
7010 Extend eldoc to display info in the mode-line. (Bug#13978)
7011 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7012 (eldoc-mode-line-string): New variable.
7013 (eldoc-minibuffer-message): New function.
7014 (eldoc-message-function): New variable.
7015 (eldoc-message): Use it.
7016 (eldoc-display-message-p)
2fcc7665
SM
7017 (eldoc-display-message-no-interference-p):
7018 Support eldoc-post-insert-mode.
69489f1d
LL
7019
7020 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7021 (eval-expression): Run it.
7022
9c44569e
RW
70232013-03-17 Roland Winkler <winkler@gnu.org>
7024
7025 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7026 strings in the list of return values.
7027
327f1f6f
JB
70282013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7029
7030 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7031 radix before checking for HMS forms.
7032
67ed8fcd
LL
70332013-03-16 Leo Liu <sdl.web@gmail.com>
7034
7035 * progmodes/scheme.el: Add indentation and font-locking for λ.
7036 (Bug#13975)
7037
78be8b64 70382013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
7039
7040 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7041 token before point (bug#13942).
7042
78be8b64 70432013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 7044
95b43468 7045 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 7046
98e775e6
EZ
70472013-03-16 Eli Zaretskii <eliz@gnu.org>
7048
7049 * startup.el (command-line-normalize-file-name): Fix handling of
7050 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7051 <xfq.free@gmail.com> in
7052 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7053
2edd6029
MA
70542013-03-15 Michael Albinus <michael.albinus@gmx.de>
7055
7056 Sync with Tramp 2.2.7.
7057
7058 * net/trampver.el: Update release number.
7059
d35f5864
TH
70602013-03-14 Tassilo Horn <tsdh@gnu.org>
7061
f35ffe5e
TH
7062 * doc-view.el Fix bug#13887.
7063 (doc-view-insert-image): Don't modify overlay associated to
7064 non-live windows, and implement horizontal centering of image in
7065 case it's smaller than the window.
7066 (doc-view-new-window-function): Force redisplay of new windows on
7067 doc-view buffers.
d35f5864 7068
1c4a85ed
KF
70692013-03-13 Karl Fogel <kfogel@red-bean.com>
7070
7071 * saveplace.el (save-place-alist-to-file): Don't sort
7072 `save-place-alist', just pretty-print it (bug#13882).
7073
85b66a21
MA
70742013-03-13 Michael Albinus <michael.albinus@gmx.de>
7075
a020afb9
JB
7076 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7077 Check whether `default-file-name-coding-system' is bound.
7078 It isn't in XEmacs.
85b66a21 7079
175600da
SM
70802013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7081
e7f7cb1a
SM
7082 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7083 backquotes for `obsolete' (bug#13929).
7084
175600da
SM
7085 * international/mule.el (find-auto-coding): Include file name in
7086 obsolescence warning (bug#13922).
7087
ca68a22e
TZ
70882013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7089
7090 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7091 for CFEngine 3-specific indentation.
7092 (cfengine3-indent-line): Use it. Fix up category regex.
7093 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7094
940e5099
SM
70952013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7096
7097 * type-break.el (type-break-file-name):
7098 * textmodes/remember.el (remember-data-file):
7099 * strokes.el (strokes-file):
7100 * shadowfile.el (shadow-initialize):
7101 * saveplace.el (save-place-file):
7102 * ps-bdf.el (bdf-cache-file):
7103 * progmodes/idlwave.el (idlwave-config-directory):
7104 * net/quickurl.el (quickurl-url-file):
7105 * international/kkc.el (kkc-init-file-name):
7106 * ido.el (ido-save-directory-list-file):
7107 * emulation/viper.el (viper-custom-file-name):
7108 * emulation/vip.el (vip-startup-file):
7109 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7110 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7111
cc725808
PE
71122013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7113
7114 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7115 * language/thai-word.el: Switch to UTF-8.
7116
a020afb9 7117See ChangeLog.16 for earlier changes.
e3d51b27
MR
7118
7119;; Local Variables:
7120;; coding: utf-8
e3d51b27
MR
7121;; End:
7122
ab422c4d 7123 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
7124
7125 This file is part of GNU Emacs.
7126
7127 GNU Emacs is free software: you can redistribute it and/or modify
7128 it under the terms of the GNU General Public License as published by
7129 the Free Software Foundation, either version 3 of the License, or
7130 (at your option) any later version.
7131
7132 GNU Emacs is distributed in the hope that it will be useful,
7133 but WITHOUT ANY WARRANTY; without even the implied warranty of
7134 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7135 GNU General Public License for more details.
7136
7137 You should have received a copy of the GNU General Public License
7138 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.