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