Fix bug #17560 with backward-incompatible API change in rmail-delete-*.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e50e0340
KO
12014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
2
3 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): The
4 argument COUNT is now optional, to be more backward-compatible.
5 Doc fix. (Bug#17560)
6
6ddcaa8f
RT
72014-05-29 Reuben Thomas <rrt@sc3d.org>
8
b0877c44
RT
9 * whitespace.el (whitespace-report-region): Simplify
10 documentation.
b4c1ce8a
RT
11 (whitespace-report-region): Allow report-if-bogus to take the
12 value `never', for non-interactive use.
b0877c44
RT
13 (whitespace-report): Refer to whitespace-report-region's
14 documentation.
6ddcaa8f 15
6711a21f
SM
162014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
17
4d05fe98
SM
18 * whitespace.el: Use font-lock-flush. Minimize refontifications.
19 Side benefit: it works without jit-lock.
20 (whitespace-point--used): New buffer-local var.
21 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
22 (whitespace-color-off): Use font-lock-flush.
23 (whitespace-point--used, whitespace-point--flush-used): New functions.
24 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
25 (whitespace-empty-at-eob-regexp): Use them.
26 (whitespace-post-command-hook): Rewrite.
27
6711a21f
SM
28 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
29 (font-lock-fontify-buffer): Mark interactive-only.
30 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
31 Make buffer-local.
32 (font-lock-specified-p): Remove redundant boundp check.
33 (font-lock-flush-function, font-lock-ensure-function): New vars.
34 (font-lock-turn-on-thing-lock): Set them.
35 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
36 (font-lock-after-change-function): Make `old-len' optional.
37 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
38 Call font-lock-flush, just in case.
39 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
40 recent Emacsen.
41 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
42 (vera-mode-map, vera-mode-menu): Remove bindings to it.
43 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
44 and with-syntax-table.
45 * textmodes/conf-mode.el (conf-quote-normal):
46 * progmodes/sh-script.el (sh-set-shell):
47 * progmodes/prog-mode.el (prettify-symbols-mode):
48 * progmodes/f90.el (f90-font-lock-n):
49 * progmodes/cwarn.el (cwarn-mode):
50 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
51 * progmodes/compile.el (compilation-setup, compilation--unsetup):
52 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
53 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
54 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
55 font-lock-fontify-buffer-function and
56 font-lock-unfontify-buffer-function.
57 (rmail-unfontify-buffer-function, rmail-fontify-message):
58 Use with-silent-modifications.
59 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
60 and font-lock-ensure.
61 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
62
c63982dd
TTN
632014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
64
65 * emacs-lisp/package.el (package-generate-autoloads):
66 Inhibit backup files.
67
1af6db7d
SM
682014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
71 (bug#17608).
72
fc21a7de
MN
732014-05-21 Michal Nazarewicz <mina86@mina86.com>
74
75 * textmodes/tildify.el (tildify-buffer, tildify-region):
76 Add dont-ask option.
77
0e4857b7
SM
782014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
79
4c539a7b
SM
80 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
81 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
82
0e4857b7
SM
83 * subr.el (internal--funcall-interactively): New.
84 (internal--call-interactively): Remove.
85 (called-interactively-p): Detect funcall-interactively instead of
86 call-interactively.
0e4857b7
SM
87 * simple.el (repeat-complex-command): Use funcall-interactively.
88 (repeat-complex-command--called-interactively-skip): Remove.
89
a366fbe2
SM
902014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
91
0da7d35c
SM
92 * register.el (register-read-with-preview): Don't burp on
93 frame switches (e.g. due to the frame we just popped).
94
a366fbe2
SM
95 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
96 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
97
015936fb 982014-05-26 Andreas Schwab <schwab@linux-m68k.org>
12ddce55
AS
99
100 * cus-face.el (custom-face-attributes): Add :distant-foreground.
101
015936fb 1022014-05-26 Martin Rudalics <rudalics@gmx.at>
f408fbe4 103
015936fb 104 * window.el (window--dump-frame): Remove interactive specification.
f408fbe4 105
015936fb 1062014-05-26 Glenn Morris <rgm@gnu.org>
486eebac
GM
107
108 * hippie-exp.el (he-line-search-regexp):
109 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
110
015936fb 1112014-05-26 Stephen Berman <stephen.berman@gmx.net>
903204bb
SB
112
113 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
114 to avoid errors when trying to create or visit a file foo.todo
115 located outside to todo-directory, and to allow having such files
116 without them being tied to Todo mode (bug#17482).
117 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
118 (todo-archive-done-item, todo-find-filtered-items-file)
119 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
120 (todo-category-completions, todo-read-category): When visiting a
121 Todo file, make sure we're in the right mode and the buffer local
122 variables are set.
123 (todo-make-categories-list, todo-reset-nondiary-marker)
a366fbe2
SM
124 (todo-reset-done-string, todo-reset-comment-string):
125 After processing all Todo files, kill the buffers of those files that
903204bb
SB
126 weren't being visited before the processing.
127 (todo-display-as-todo-file, todo-add-to-buffer-list)
128 (todo-visit-files-commands): Comment out.
129 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
130 (auto-mode-alist): Remove add-to-list calls making Todo file
131 extensions unrestrictedly tied to Todo modes.
132
015936fb 1332014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
15ad4013
SM
134
135 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
136 (advice-function-member-p): Tell it to check both names and functions
137 (bug#17531).
138 (advice--add-function): Adjust call accordingly.
139
015936fb 1402014-05-26 Stephen Berman <stephen.berman@gmx.net>
982ccf03
SB
141
142 * calendar/todo-mode.el: Miscellaneous bug fixes.
143 (todo-delete-file): When deleting an archive but not its todo
144 file, make sure to update the todo file's category sexp.
145 (todo-move-category): Keep the moved category's name unless the
146 file moved to already has a category with that name. If the
147 numerically last category of the source file was moved, make the
148 first category current to avoid selecting a nonexisting category.
149 (todo-merge-category): Fix implementation to make merging to a
150 category in another file work as documented. Eliminate now
151 insufficient and unnecessary renaming of archive category, correct
152 document string accordingly, and clarify it. If the numerically
153 last category of the source file was merged, make the first
154 category current to avoid selecting a nonexisting category.
155 (todo-archive-done-item): When there are marked items and point
156 happens to be on an unmarked item, ignore the latter. Don't leave
157 point below last item after archiving marked items.
158 (todo-unarchive-items): Fix logic to ensure unarchiving an item
159 from an archive with only one category deletes the archive only
160 when the category is empty after unarchiving. Make sure the todo
161 file's category sexp is updated.
162 (todo-read-file-name): Allow an existing file name even when it is
163 not required (todo-move-category needs this to work as documented).
164 (todo-add-file): Call todo-validate-name to reject the name of an
165 existing todo file (needed due to fix in todo-read-file-name).
166 (todo-reset-nondiary-marker): Also reset in filtered items files.
167 (todo-reset-done-string, todo-reset-comment-string): Also reset in
168 regexp filtered items files.
169 (todo-reset-highlight-item): Also reset in filtered items files.
170 Fix incorrect variable reference in document string.
171
015936fb 1722014-05-26 Glenn Morris <rgm@gnu.org>
bcba2d85
GM
173
174 * window.el (window--dump-frame): Avoid error in --without-x builds.
175
015936fb 1762014-05-26 Glenn Morris <rgm@gnu.org>
fb4ca841
GM
177
178 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
179
015936fb 1802014-05-26 Eli Zaretskii <eliz@gnu.org>
13a83f05
EZ
181
182 * frame.el (set-frame-font): Doc fix.
183
184 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
185
015936fb 1862014-05-26 Dmitry Gutov <dgutov@yandex.ru>
b0df8b95 187
a366fbe2
SM
188 * emacs-lisp/package.el (package--download-one-archive):
189 Use `write-region' instead of `save-buffer' to avoid running various
b0df8b95
DG
190 hooks. (Bug#17155)
191 (describe-package-1): Same. Insert newline at the end of the
192 buffer if appropriate.
193
015936fb 1942014-05-26 Juri Linkov <juri@jurta.org>
a2115113
JL
195
196 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
197 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
198 Add more modifiers: meta, control, shift, hyper, super, alt.
199 (Bug#17439)
200
2614b25f
JL
201 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
202 to allow changing its value with `set-variable'.
203
015936fb 2042014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7b952d61 205
0a5cfeee
SM
206 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
207 #; comments.
208 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
209 New functions.
210 (scheme-mode-variables): Set syntax-propertize-function instead of
211 font-lock-syntactic-face-function.
212 (scheme-font-lock-syntactic-face-function): Delete.
213
7b952d61
SM
214 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
215
08a2434e
SM
216 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
217 (bug#17392).
218
015936fb 2192014-05-26 Michael Albinus <michael.albinus@gmx.de>
43425aec
MA
220
221 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
222 for a temporary file name.
223
015936fb 2242014-05-26 Eli Zaretskii <eliz@gnu.org>
1e046d37
EZ
225
226 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
227
015936fb 2282014-05-26 Michael Albinus <michael.albinus@gmx.de>
1bafb1de
MA
229
230 * net/dbus.el (dbus-init-bus, dbus-call-method)
231 (dbus-call-method-asynchronously, dbus-send-signal)
e8cbb768 232 (dbus-method-return-internal, dbus-method-error-internal):
1bafb1de
MA
233 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
234
015936fb 2352014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
ec264fbb
NR
236
237 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
238 methods which do not have a doc string. (Bug#17490)
239
5e26d984
TH
2402014-05-25 Tassilo Horn <tsdh@gnu.org>
241
242 * textmodes/reftex-ref.el (reftex-format-special): Make it work
243 also for AMS Math's \eqref macro.
244
770a6a91
TTN
2452014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
246
247 Arrange to never byte-compile the generated -pkg.el file.
248
249 * emacs-lisp/package.el (package-generate-description-file):
250 Output first-line comment to set buffer-local var `no-byte-compile'.
251 Suggested by Dmitry Gutov:
252 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
253
e50a0b6e
TTN
2542014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
255
256 Fix bug: Properly quote args to generated -pkg.el `define-package'.
257
258 * emacs-lisp/package.el (package-generate-description-file):
259 Inline `package--alist-to-plist'; rewrite to selectively
260 quote alist values that are not self-quoting.
261 (package--alist-to-plist): Delete func.
262
d93cfca0
AS
2632014-05-25 Andreas Schwab <schwab@linux-m68k.org>
264
265 * term/xterm.el (xterm-function-map): Add mapping for shifted
266 keypad keys.
267
8bb17f64
DC
2682014-05-24 Daniel Colascione <dancol@dancol.org>
269
166aaa37
DC
270 * progmodes/subword.el (subword-find-word-boundary): Move point to
271 correct spot before search. (Bug#17580)
272
8bb17f64
DC
273 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
274 breaking the build.
275
ec774634
LL
2762014-05-24 Leo Liu <sdl.web@gmail.com>
277
278 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
279
e4829cb8
SM
2802014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * minibuffer.el (completion--sreverse): Remove.
283 (completion--common-suffix): Use `reverse' instead.
284 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
285
aad65192
GM
2862014-05-22 Glenn Morris <rgm@gnu.org>
287
288 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
289
708374c7
DC
2902014-05-21 Daniel Colascione <dancol@dancol.org>
291
292 * files.el (interpreter-mode-alist): Add mksh.
293
294 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
295 derivative.
296 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
297 mksh. Improve custom spec; allow regular expressions.
298 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
299 (sh-after-hack-local-variables): New function.
300 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
301 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
302 the normalization.
303 (sh-canonicalize-shell): Rewrite to support regexes.
304
8ea51e4f
LL
3052014-05-21 Leo Liu <sdl.web@gmail.com>
306
307 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
308
427de535
LL
3092014-05-19 Leo Liu <sdl.web@gmail.com>
310
311 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
312
3c8d9107
GM
3132014-05-18 Glenn Morris <rgm@gnu.org>
314
315 * loadup.el:
316 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
317
b8e11d41
SS
3182014-05-14 Sam Steingold <sds@gnu.org>
319
320 * progmodes/python.el (python-shell-get-or-create-process):
321 Do not bind `current-prefix-arg' so that C-c C-z does not talk
322 back unless requested.
323
abad7b05
GM
3242014-05-14 Glenn Morris <rgm@gnu.org>
325
d63d883a
GM
326 * subr.el (with-file-modes): New macro.
327 * printing.el (pr-save-file-modes): Make obsolete.
328 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
329 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
330 Add with-file-modes.
331 * doc-view.el (doc-view-make-safe-dir):
332 * epg.el (epg--start):
333 * files.el (locate-user-emacs-file, make-temp-file)
334 (backup-buffer-copy, move-file-to-trash):
335 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
336 * eshell/esh-util.el (eshell-with-private-file-modes)
337 (eshell-make-private-directory):
338 * net/browse-url.el (browse-url-mosaic):
339 * obsolete/mailpost.el (post-mail-send-it):
340 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
341 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
342 Use with-file-modes.
343
abad7b05
GM
344 * vc/emerge.el (emerge-make-temp-file): Simplify.
345
34cba8e8
SB
3462014-05-14 Stephen Berman <stephen.berman@gmx.net>
347 Stefan Monnier <monnier@iro.umontreal.ca>
348
349 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
350 suffix (bug#15419).
351
a5d09243
GM
3522014-05-14 Glenn Morris <rgm@gnu.org>
353
354 * vc/emerge.el (emerge-temp-file-prefix):
355 Make pointless option obsolete.
356 (emerge-temp-file-mode): Make non-functional option obsolete.
357
f4da4720 3582014-05-14 Michael Albinus <michael.albinus@gmx.de>
e95b937a
MA
359
360 * net/browse-url.el (browse-url):
361 Use `unhandled-file-name-directory' when setting `default-directory',
362 in order to circumvent stalled remote connections. (Bug#17425)
363
f0036ec2
GM
3642014-05-14 Glenn Morris <rgm@gnu.org>
365
366 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
367 Optimize on Emacs, which has the relevant functions for ages.
368
27a69ff0
SM
3692014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
370
371 * simple.el (undo-make-selective-list): Obey undo-no-redo.
372
ecaf7f4d
SS
3732014-05-12 Sam Steingold <sds@gnu.org>
374
375 * calendar/time-date.el (seconds-to-string): New function to
376 pretty print time delay in seconds.
377
97100b43
SM
3782014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
379
400e8286
SM
380 * mpc.el (mpc-format): Trim Date to the year.
381 (mpc-songs-hashcons): Shorten the Date field.
382
97100b43
SM
383 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
384 into autoloading just because of a silly indirection.
385
bbbabffe 3862014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
0add0959
SPM
387
388 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
389
bbbabffe 3902014-05-12 Glenn Morris <rgm@gnu.org>
e7caef59
GM
391
392 * emacs-lisp/find-gc.el: Move to ../admin.
393
6b45ef35
GM
394 * printing.el (pr-version):
395 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
396
8c6699ab
GM
397 * net/browse-url.el (browse-url-mosaic):
398 Create /tmp/Mosaic.PID as a private file.
399
bbbabffe 4002014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5d03fb43
SM
401
402 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
403 (advice--member-p): If name is given, only compare the name.
404 (advice--remove-function): Don't stop at the first match.
405 (advice--normalize-place): New function.
406 (add-function, remove-function): Use it.
407 (advice--add-function): Pass the name, if any, to
408 advice--remove-function.
409
bbbabffe 4102014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3ebdceaf
PR
411
412 * electric.el (electric-indent-post-self-insert-function): Don't use
413 `pos' after modifying the buffer (bug#17449).
414
bbbabffe 4152014-05-12 Stephen Berman <stephen.berman@gmx.net>
472c15bf
SB
416
417 * calendar/todo-mode.el (todo-insert-item-from-calendar):
418 Correct argument list to conform to todo-insert-item--basic.
419
bbbabffe 4202014-05-12 Glenn Morris <rgm@gnu.org>
bb1f4b8f 421
2651ed05
GM
422 * files.el (cd-absolute): Test if directory is accessible
423 rather than executable. (Bug#17330)
424
bb1f4b8f
GM
425 * progmodes/compile.el (recompile):
426 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
427
4049faae
GM
428 * net/browse-url.el (browse-url-mosaic):
429 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
430 This is CVE-2014-3423.
431
4eb43682
SM
4322014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
433
fbd5cc6c
SM
434 * mouse.el: Use the normal toplevel loop while dragging.
435 (mouse-set-point): Handle multi-clicks.
436 (mouse-set-region): Handle multi-clicks for drags.
437 (mouse-drag-region): Update call accordingly.
438 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
439 Use the normal event loop instead of a local while/read-event loop.
440 (global-map): Remove redundant bindings for double/triple-mouse-1.
441 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
442 Generate synthetic down events when the protocol only sends up events.
443 (xterm-mouse-last): Remove.
444 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
445 terminal parameter instead.
446 (xterm-mouse--set-click-count): New function.
447 (xterm-mouse-event): Detect/generate double/triple clicks.
448 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
449
80a78d23
SM
450 * info.el (Info-quoted): New face.
451 (Info-mode-font-lock-keywords): New var.
452 (Info-mode): Use it.
453
4eb43682
SM
454 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
455 are a hindrance for C-x C-e.
456
2f9b4cfc
LL
4572014-05-11 Leo Liu <sdl.web@gmail.com>
458
459 * net/rcirc.el (rcirc-sentinel): Fix last change.
460
f36f0bca
SS
4612014-05-08 Sam Steingold <sds@gnu.org>
462
463 * net/rcirc.el (rcirc-reconnect-delay): New user option.
464 (rcirc-sentinel): Auto-reconnect to the server if
465 `rcirc-reconnect-delay' is non-0 (but not more often than its
466 value in case the host is off-line).
467
b722ea4e
EZ
4682014-05-09 Eli Zaretskii <eliz@gnu.org>
469
470 * progmodes/grep.el (lgrep): Fix a typo in last commit.
471
1d75432d
GM
4722014-05-09 Glenn Morris <rgm@gnu.org>
473
474 * files.el (file-expand-wildcards):
475 * man.el (Man-support-local-filenames):
476 * printing.el (pr-i-directory, pr-interface-directory):
477 * progmodes/grep.el (lgrep, rgrep):
478 * textmodes/ispell.el (ispell-call-process)
479 (ispell-call-process-region, ispell-start-process)
480 (ispell-init-process): Use file-accessible-directory-p.
481
b406487f
SM
4822014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
485 (xterm-mouse--read-event-sequence-1000): Return nil if something
486 looks fishy.
487 (xterm-mouse-event): Propagate it.
488 (xterm-mouse-translate-1): Handle it.
489
fb3f83f5 4902014-05-08 Stephen Berman <stephen.berman@gmx.net>
1ddb2150
SB
491
492 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
493 four slots of the parameter list are filled, make sure to pass it
494 to the argument list of todo-insert-item--basic.
495
fb3f83f5 4962014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5e87fcb1
SM
497
498 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
499 Add optional `seen' argument to detect and break infinite loops.
500
fb3f83f5 5012014-05-08 Eli Zaretskii <eliz@gnu.org>
c5d670f5
EZ
502
503 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
504 (trace-unsafe, trace-use-tree): Make parentheses style be
505 according to Emacs style.
506
fb3f83f5 5072014-05-08 Michael Albinus <michael.albinus@gmx.de>
3e59ead1 508
5e87fcb1
SM
509 * net/tramp-sh.el (tramp-remote-process-environment):
510 Remove HISTFILE and HISTSIZE; it's too late to set them here.
511 Add :version entry.
512 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
513 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
514 extra "PSx=..." commands.
515 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
516 (Bug#17295)
517
23e19cf2
MA
518 (tramp-uudecode): Replace the hard-coded temporary file name by a
519 format specifier.
520 (tramp-remote-coding-commands): Enhance docstring.
521 (tramp-find-inline-encoding): Replace "%t" by a temporary file
522 name. (Bug#17415)
a9fd3545 523 This is CVE-2014-3424.
23e19cf2 524
fb3f83f5 5252014-05-08 Glenn Morris <rgm@gnu.org>
0c4decae
GM
526
527 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
528 (find-gc-source-files): Update some names.
529 (trace-call-tree): Simplify and update.
530 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
a9fd3545 531 This is CVE-2014-3422.
0c4decae 532
fb3f83f5 5332014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
c22f24f6 534
bf67c3f7
SM
535 * minibuffer.el (completion--try-word-completion): Revert fix for
536 Bug#15980 (bug#17375).
537
c22f24f6
SM
538 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
539 Always store button numbers in the same way in xterm-mouse-last;
540 Don't burp is xterm-mouse-last is not set as expected.
541 Never return negative indices.
542
fb3f83f5 5432014-05-08 Dmitry Gutov <dgutov@yandex.ru>
4dd3c4d5
DG
544
545 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
546 Backtrack one char if the global/char-literal var matcher hits
547 inside a string. The next char could be the beginning of an
548 expression expansion.
549
fb3f83f5 5502014-05-08 Glenn Morris <rgm@gnu.org>
6da8d069
GM
551
552 * help-fns.el (describe-function-1): Test for an autoload before a
553 macro, since `macrop' works on autoloads. (Bug#17410)
554
fb3f83f5 5552014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
dccb0688 556
e6025d72
SM
557 * electric.el (electric-indent-functions-without-reindent): Add yaml.
558
dccb0688
SM
559 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
560 Make sure the new point we return is within the new string (bug#17239).
561
049534ad
DC
5622014-05-05 Daniel Colascione <dancol@dancol.org>
563
564 * progmodes/compile.el (compilation-error-regexp-alist-alist):
565 Port `gnu' pattern to rx.
566
80e377c0
JC
5672014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
568
569 Remove unneeded prompt when closing a buffer with active
570 emacsclient ("Buffer ... still has clients"), #16548.
571 * server.el (server-start): Remove the only call to:
572 (server-kill-buffer-query-function): Remove.
573
f930a063
LL
5742014-05-04 Leo Liu <sdl.web@gmail.com>
575
576 * calendar/diary-lib.el (calendar-chinese-month-name-array):
577 Defvar to pacify compiler.
578
3e9fa60a 5792014-05-04 Eli Zaretskii <eliz@gnu.org>
74a9022a
EZ
580
581 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
582
3e9fa60a 5832014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
e6cf6ca0
SM
584
585 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
586 Use nil rather than `default' for the "default" appearance (bug#17388).
587 * vc/ediff-util.el (ediff-inferior-compare-regions)
588 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
589 a misleading `default' value when it's really a boolean.
590 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
591 overlay is not visible.
592
3e9fa60a 5932014-05-04 Stephen Berman <stephen.berman@gmx.net>
7bd9ce64
SB
594
595 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
596 (todo-menu): Uncomment and update.
597
3e9fa60a 5982014-05-04 Stephen Berman <stephen.berman@gmx.net>
aed4b12d
SB
599
600 * calendar/todo-mode.el: Reimplement item editing to have the same
601 basic user interface as item insertion, and make small UI and
602 larger internal improvements to the latter.
603 (todo-insert-item): Add reference to the Todo mode user manual to
604 the documentation string.
605 (todo-insert-item--basic): Rename from todo-basic-insert-item and
606 adjust all callers. Change signature to combine diary and
607 nonmarking arguments. Incorporate functionality of deleted item
608 copying command and add error checking. Remove detailed
609 descriptions of the arguments from the documentation string, since
610 this is treated in the Todo mode user manual.
611 (todo-copy-item, todo-edit-multiline-item)
612 (todo-edit-done-item-comment, todo-edit-item-header)
613 (todo-edit-item-time, todo-edit-item-date-from-calendar)
614 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
615 (todo-edit-item-date-year, todo-edit-item-date-month)
616 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
617 Remove.
618 (todo-edit-item): Reimplement as wrapper command for
619 todo-edit-item--next-key and make it distinguish done and not done
620 todo items.
621 (todo-edit-item--text): New function, replacing old command
622 todo-edit-item and incorporating deleted commands
623 todo-edit-multiline-item and todo-edit-done-item-comment.
624 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
625 Use only numeric value of prefix argument. Remove detailed
626 descriptions of the arguments from the documentation string, since
627 this is treated in the Todo mode user manual.
628 (todo-edit-item--diary-inclusion): New function, replacing old
629 command todo-edit-item-diary-inclusion and incorporating and fixing
630 functionality of deleted command todo-edit-item-diary-nonmarking,
631 making sure to remove todo-nondiary-marker when adding
632 diary-nonmarking-symbol.
633 (todo-edit-category-diary-inclusion): Make sure to delete
634 diary-nonmarking-symbol when adding todo-nondiary-marker.
635 (todo-edit-category-diary-nonmarking): Fix indentation.
636 (todo-insert-item--parameters): Group diary and nonmarking
637 parameters together.
638 (todo-insert-item--apply-args): Adjust to signature of
639 todo-insert-item--basic and incorporate copy parameter.
640 Make small code improvements.
641 (todo-insert-item--next-param): Improve prompt and adjust it to
642 new parameter grouping. Remove obsolete code.
643 (todo-edit-item--param-key-alist)
644 (todo-edit-item--date-param-key-alist)
645 (todo-edit-done-item--param-key-alist): New defconsts.
646 (todo-edit-item--prompt): New variable.
647 (todo-edit-item--next-key): New function.
5e87fcb1
SM
648 (todo-key-bindings-t): Bind "e" to todo-edit-item.
649 Remove bindings of deleted commands.
aed4b12d 650
3e9fa60a 6512014-05-04 Leo Liu <sdl.web@gmail.com>
157e8cfd
LL
652
653 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
654
3e9fa60a 6552014-05-04 Glenn Morris <rgm@gnu.org>
d136f184
GM
656
657 * allout-widgets.el (allout-widgets-tally)
658 (allout-decorate-item-guides):
659 * menu-bar.el (menu-bar-positive-p):
660 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
661 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
662 * progmodes/js.el (js--inside-param-list-p)
663 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
664 * progmodes/prolog.el (region-exists-p):
665 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
666 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
667 Doc fixes (replace `iff').
668
3e9fa60a 6692014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4ec0cf9c
SM
670
671 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
672
bbdcf64f
LL
6732014-05-04 Leo Liu <sdl.web@gmail.com>
674
675 Support Chinese diary entries in calendar and diary. (Bug#17393)
676 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
677 (calendar-chinese-from-absolute-for-diary)
678 (calendar-chinese-to-absolute-for-diary)
679 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
680 (diary-chinese-list-entries): New functions to list and mark
681 Chinese diary entries in the calendar window.
682 (diary-chinese-anniversary)
683 (diary-chinese-insert-anniversary-entry)
684 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
685 (diary-chinese-insert-yearly-entry): New commands to insert
686 Chinese diary entries.
687
80a78d23
SM
688 * calendar/diary-lib.el (diary-font-lock-keywords):
689 Support font-locking Chinese dates.
bbdcf64f
LL
690
691 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
692 inserting Chinese diary entries.
693
80a78d23
SM
694 * calendar/calendar.el (diary-chinese-entry-symbol):
695 New customizable variable.
bbdcf64f
LL
696 (calendar-mode-map): Add bindings for inserting Chinese diary
697 entries.
698
cfd59d67
JL
6992014-05-03 Juri Linkov <juri@jurta.org>
700
701 * dired.el (dired-check-switches, dired-switches-recursive-p):
702 New functions. (Bug#17218)
703 (dired-switches-escape-p, dired-move-to-end-of-filename):
704 Use `dired-check-switches'.
705 (dired-insert-old-subdirs, dired-build-subdir-alist)
706 (dired-sort-R-check): Use `dired-switches-recursive-p'.
707
4807c7eb
BR
7082014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
709
a7e1ffdc
BR
710 * simple.el (undo-make-selective-list): New algorithm fixes
711 incorrectness of position adjustments when undoing in region.
712 (Bug#17235)
713 (undo-elt-crosses-region): Make obsolete.
80a78d23
SM
714 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
715 New functions to adjust positions using undo-deltas.
4807c7eb 716
17a873c5
SM
7172014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
718
719 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
720 the last consecutive closing paren (bug#17345).
721
724ee6dc
RT
7222014-04-30 Reuben Thomas <rrt@sc3d.org>
723
724 * dired.el (dired-mode): make terminology for eXpunge command
725 consistent. (Bug#17276)
726
72962dd8
EZ
7272014-04-30 Eli Zaretskii <eliz@gnu.org>
728
729 * dired.el (dired-initial-position-hook, dired-initial-position):
730 Doc string fixes.
731
09b911ad 7322014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
733
734 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
735
09b911ad 7362014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
737
738 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 739 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
740 overriden by the defface spec which also fixes issues on win32 where
741 the toolbar coloring was wrong because it is set through X resources
742 and was (wrongfully) overriden. (Bug#16694)
743
09b911ad 7442014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
745
746 * textmodes/rst.el (electric-pair-pairs): Declare.
747 (rst-mode): Set it (bug#17131).
748
09b911ad 7492014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
750
751 * desktop.el (desktop-value-to-string): Let-bind `print-length'
752 and `print-level' to nil. (Bug#17351)
753
09b911ad 7542014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
755
756 * battery.el (battery-update): Handle the case where battery
757 status is "N/A" (bug#17319).
758
9b7b020d
SM
7592014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
762 to syntax-propertize.
763 (ps-mode-auto-indent): Mark as obsolete.
764 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
765 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
766 word regexp operators.
767 (ps-mode-map): Move initialization into declaration. Remove binding
768 for TAB, RET, >, ], and }.
769 (ps-mode-syntax-table): Move initialization into declaration.
770 Don't give word syntax to non-word chars.
771 (ps-run-mode-map): Move initialization into declaration.
772 (ps-mode-menu-main): Remove auto-indent entry.
773 (ps-mode-smie-rules): New function.
774 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
775 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
776 (ps-mode--string-syntax-table): New const.
777 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
778 New functions.
779 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
780 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
781
196bfaec
DC
7822014-04-27 Daniel Colascione <dancol@dancol.org>
783
784 * term/xterm.el (xterm-paste): Use large finite timeout when
785 reading event to avoid putting keys in this-command-keys.
786
5ba339c7
SM
7872014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
790 (perl-syntax-propertize-function): Use it. Extend handling of
791 here-docs to the unquoted case.
792
dff4a9f6 7932014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 794
5ba339c7
SM
795 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
796 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 797
dff4a9f6 7982014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
799
800 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
801 Fix syntax for @. (Bug#17325)
802
dff4a9f6 8032014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
804
805 * emacs-lisp/cl.el (gv): Require gv early to break eager
806 macro-expansion cycles.
807
dff4a9f6 8082014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 809
05452dc4
SM
810 * simple.el (region-active-p): Check there's a mark (bug#17324).
811
0e8a9331
SM
812 * simple.el (completion-list-mode-map): Use choose-completion for the
813 mouse binding as well (bug#17302).
814 (completion-list-mode, completion-setup-function): Adjust docstring and
815 echo area message accordingly.
816 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
817 calling convention of choose-completion.
818 * comint.el (comint-dynamic-list-completions):
819 * term.el (term-dynamic-list-completions): Accept choose-completion.
820
c0868451
SM
821 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
822 &, |, +, - and * can't be a division (bug#17317).
823
f7e0450a
SM
824 * term/xterm.el (xterm--version-handler): Don't use modern xterm
825 features on gnome-terminal (bug#16988).
826
5e4ab4e4
TTN
8272014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
828
829 Improve Scheme font-locking for (define ((foo ...) ...) ...).
830
831 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
832 the declared object, ignore zero or more parens, not zero or one.
833
d5031a2a
LL
8342014-04-24 Leo Liu <sdl.web@gmail.com>
835
836 * progmodes/xscheme.el (xscheme-expressions-ring)
837 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
838 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
839 (xscheme-allow-output-p, xscheme-prompt)
840 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
841
842 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
843 Comment out unused functions.
844
118b5a92
SM
8452014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * info.el: Use lexical-binding and cl-lib.
848 Use defvar-local and setq-local instead of make-local-variable.
849 (Info-apropos-matches): Avoid add-to-list.
850 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
851
9b233997
DC
8522014-04-24 Daniel Colascione <dancol@dancol.org>
853
854 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
855
ddc13efd
SM
8562014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
857
858 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
859
f2df692c
MH
8602014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
861
862 * dired.el (dired-insert-set-properties): Do not consider
863 subdirectory headings and empty lines to be information that
864 `dired-hide-details-mode' should hide. (Bug#17228)
865
14828a95
MA
8662014-04-22 Michael Albinus <michael.albinus@gmx.de>
867
868 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
869 Remove test messages.
870 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
871 and `target' twice.
872
42e91034 8732014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 874
9c104369
SM
875 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
876 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
877
622eef68
SM
878 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
879
42e91034 8802014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 881
622eef68
SM
882 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
883 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
884 the file name. Add test messages for hunting a bug on hydra.
885 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
886
42e91034 8872014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
888
889 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
890 Don't prettify a word within a symbol.
891
42e91034 8922014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
893
894 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
895 possible.
896
1b0f10d2
DC
8972014-04-22 Daniel Colascione <dancol@dancol.org>
898
899 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
900 use defun to define `function-put'.
901
67c477ae
SM
9022014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
903
4f965793
SM
904 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
905 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
906 (lisp-mode-variables): Set font-lock-extra-managed-props.
907
67c477ae
SM
908 * emacs-lisp/byte-run.el (function-put): New function.
909 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
910 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
911 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
912 Use them.
913
66fda794
DC
9142014-04-22 Daniel Colascione <dancol@dancol.org>
915
67c477ae
SM
916 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
917 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
918 `macroexpand-all'.
919
920 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
921 Improve docstrings.
922
c98212f9
DC
923 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
924 Use lambda function values, not quoted lambdas.
925 (byte-compile-recurse-toplevel): Remove extraneous &optional.
926
66fda794 927 * emacs-lisp/cl-macs.el
c98212f9 928 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
929 (cl-struct-slot-value): Conditionally use aref or nth so that the
930 compiler produces optimal code.
931
d6f14ca7
SM
9322014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
935 (inline): Don't inline cl--set-elt.
936 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
937 Define as inlinable instead.
938 (cl-struct-set-slot-value): Remove.
939
940 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
941 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
942 Use setf instead.
943
44faec17
DC
9442014-04-21 Daniel Colascione <dancol@dancol.org>
945
946 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
947 last two parameters after all.
948 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
949 (cl--compiler-macro-assoc,cl-struct-slot-value)
950 (cl-struct-set-slot-value): Stop using them.
951
952(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
953
954 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
955 entry in image-mode-winprops-alist.
956
2fa1b97d
DC
9572014-04-21 Daniel Colascione <dancol@dancol.org>
958
9253f7af
SM
959 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
960 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
961 (byte-compile-toplevel-file-form): Use it.
962
2fa1b97d
DC
963 * emacs-lisp/cl-macs.el:
964 (cl--loop-let): Properly destructure `while' clauses.
965
e8a77f24
DC
9662014-04-20 Daniel Colascione <dancol@dancol.org>
967
968 * vc/vc.el (vc-root-dir): New public autoloaded function for
969 generically finding the current VC root.
970 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 971 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 972
89a2e783
DC
9732014-04-20 Daniel Colascione <dancol@dancol.org>
974
975 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
976 argument.
977 (cl--const-expr-val): cl--const-expr-val should macroexpand its
978 argument in case we're inside a symbol-macrolet.
979 (cl--do-arglist, cl--compiler-macro-typep)
980 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
981 environment to `cl--const-expr-val'.
982 (cl-struct-sequence-type,cl-struct-slot-info)
983 (cl-struct-slot-offset, cl-struct-slot-value)
984 (cl-struct-set-slot-value): New functions.
985
fe36068f
SM
9862014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
989 assignments such as "case=hello" (bug#17297).
990
ce8c5107
MA
9912014-04-18 Michael Albinus <michael.albinus@gmx.de>
992
993 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
994 Do not autoload.
995 (tramp-file-name-handler, tramp-completion-file-name-handler):
996 Revert patch from 2014-04-10, it isn't necessary anymore.
997 (tramp-autoload-file-name-handler)
998 (tramp-register-autoload-file-name-handlers): New defuns.
999 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1000 (tramp-register-file-name-handlers): Remove also
1001 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1002 Do not autoload its invocation, but eval it after loading of 'tramp.
1003
1004 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1005
1006 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1007
bfc30790
DC
10082014-04-17 Daniel Colascione <dancol@dancol.org>
1009
1010 Add support for bracketed paste mode; add infrastructure for
1011 managing terminal mode enabling and disabling automatically.
1012
1013 * xt-mouse.el:
1014 (xterm-mouse-mode): Simplify.
1015 (xterm-mouse-tracking-enable-sequence)
1016 (xterm-mouse-tracking-disable-sequence): New constants.
1017 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
1018 (turn-off-xterm-mouse-tracking-on-terminal):
1019 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
1020 parameters instead of random hooks.
1021 (turn-on-xterm-mouse-tracking)
1022 (turn-off-xterm-mouse-tracking): Delete.
1023
1024 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1025 (xterm-paste-ending-sequence): New constant.
1026 (xterm-paste): New command used for bracketed paste support.
1027
1028 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1029 (terminal-init-xterm-bracketed-paste-mode): New function.
1030 (terminal-init-xterm): Call it.
1031 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1032 and tty-mode-reset-strings instead of random hooks.
1033 (xterm-turn-on-modify-other-keys)
1034 (xterm-turn-off-modify-other-keys)
1035 (xterm-remove-modify-other-keys): Delete obsolete functions.
1036
67c477ae
SM
1037 * term/screen.el: Rewrite to just use the xterm code.
1038 Add copyright notice. Mention tmux.
bfc30790 1039
e51c8d91
I
10402014-04-17 Ian D <dunni@gnu.org> (tiny change)
1041
1042 * image-mode.el (image-mode-window-put): Also update the property of
1043 the "default window".
1044 * doc-view.el (doc-view-new-window-function): If no window
1045 exists, move to the last known page.
1046
c76a7a5c
SM
10472014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1050 here-documents (bug#17262).
1051
bf6b4923
EZ
10522014-04-16 Eli Zaretskii <eliz@gnu.org>
1053
c76a7a5c
SM
1054 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1055 Provide doc strings, as required by snarf-documentation.
bf6b4923 1056
290d7ac2 10572014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
1058
1059 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1060 arg of overlays-at. Use `invisible-p'.
1061
1062 * obsolete/lucid.el (extent-at):
1063 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1064 overlays-at.
1065 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1066
290d7ac2 10672014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
1068
1069 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1070 links. (Bug#17217).
1071
290d7ac2 10722014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
1073
1074 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1075 Use mapc to loop over a vector. (Bug#17257).
1076
290d7ac2 10772014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
1078
1079 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1080 patch, there are new problems with file names containing spaces.
1081 Get rid of backticks. (Bug#17238)
1082
290d7ac2 10832014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
1084
1085 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1086 possible bug.
1087
290d7ac2 10882014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
1089
1090 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1091 (blink-cursor-mode): Mention customization variables and the
1092 effect of 'blink-cursor-blinks'.
1093
290d7ac2 10942014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
1095
1096 * simple.el (undo): Prevent insertion of identity mapping into
1097 undo-equiv-table so as undo-only does not inf loop in the presence
1098 of consecutive nils in undo list.
1099
290d7ac2 11002014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
1101
1102 * faces.el (make-face): Deprecate optional argument as it is no
1103 longer needed/used since the conditional X resources handling
1104 has been pushed down to make-face-x-resource-internal itself.
1105 (make-empty-face): Don't pass optional argument to make-face.
1106
5f6b4154
KF
11072014-04-16 Karl Fogel <kfogel@red-bean.com>
1108
1109 * savehist.el (savehist-save): Remove workaround for a read-passwd
1110 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
1111 noticing that the shim was still present.
1112
005551fe
SM
11132014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
1116
b92583c4
JB
11172014-04-14 Juanma Barranquero <lekktu@gmail.com>
1118
1119 * faces.el (face-set-after-frame-default): Remove unused local variable.
1120
6c2453e0
SM
11212014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1122
f7993853
SM
1123 * progmodes/grep.el: Use lexical-binding.
1124 (grep-expand-template): Pass explicit lexical env to `eval'.
1125 (zrgrep): Let-bind grep-find-template explicitly.
1126
6c2453e0
SM
1127 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
1128 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
1129
ac387dd1
EZ
11302014-04-12 Eli Zaretskii <eliz@gnu.org>
1131
1132 * international/characters.el <standard-case-table>: Add entries
1133 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 1134 Set category of Coptic characters be 'g' (Greek).
ac387dd1 1135
2e611da6
LL
11362014-04-12 Leo Liu <sdl.web@gmail.com>
1137
e0af4095
GM
1138 * progmodes/octave.el (completion-table-with-cache):
1139 Define if not available.
1140 (octave-goto-function-definition, octave-sync-function-file-names)
1141 (octave-find-definition-default-filename):
1142 Backquote upattern for compatibility.
2e611da6 1143
e0af4095 11442014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
1145
1146 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1147 name twice due to backticks. (Bug#17238)
1148
e0af4095 11492014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
1150
1151 * term/w32-win.el (x-win-suspend-error):
1152 * term/x-win.el (x-win-suspend-error): Sync docs.
1153
7f0f4c25
MD
11542014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1155
f7993853
SM
1156 * faces.el (make-face): Remove deprecated optional argument.
1157 The conditional application of X resources is handled directly by
7f0f4c25
MD
1158 make-face-x-resource-internal since Emacs 24.4.
1159 (make-empty-face): Don't pass optional argument to make-face.
1160
e088b01d
GM
11612014-04-11 Glenn Morris <rgm@gnu.org>
1162
1163 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
1164
536aa466 11652014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
1166
1167 Ediff's overlay priorities cause more trouble than they solve.
1168 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1169 (ediff-highest-priority): Remove function (bug#17234).
1170 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1171 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1172 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1173 overlay priorities.
1174
536aa466 11752014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
1176
1177 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1178 entry; use symbol boundaries to avoid mis-matches.
1179
536aa466 11802014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
1181
1182 * net/tramp.el (tramp-file-name-handler)
1183 (tramp-completion-file-name-handler): Avoid recursive loading.
1184
1185 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1186 Quote result also locally.
1187
0d6a1375
SM
11882014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1189
c99ce7d8
SM
1190 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
1191 Remove left-over code.
1192
0d6a1375
SM
1193 * newcomment.el (comment-indent-new-line): Sink code where it's used.
1194 Reuse the previous comment's indentation unconditionally if it's on its
1195 own line.
1196
3f63a9f7
DC
11972014-04-09 Daniel Colascione <dancol@dancol.org>
1198
1199 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
1200 `no-syntax-crossing' arguments. Forward to `up-list'.
1201 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
1202 Implement logic for escaping from strings. Use narrowing to deal
1203 with corner cases.
1204
0b816f15
LL
12052014-04-09 Leo Liu <sdl.web@gmail.com>
1206
1207 * net/rcirc.el (rcirc-connection-info): New variable.
1208 (rcirc-connect): Use it to store connection info.
1209 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
1210 for killed process.
1211 (rcirc-cmd-reconnect): New command. (Bug#17045)
1212 (rcirc-mode, set-rcirc-encode-coding-system)
1213 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
1214
22683580
DC
12152014-04-09 Daniel Colascione <dancol@dancol.org>
1216
1217 * emacs-lisp/cl-indent.el: Add comment claiming
1218 facility is also good for elisp.
1219 (lisp-indent-find-method): New function.
1220 (common-lisp-indent-function): Recognize cl-loop.
1221 (common-lisp-indent-function-1): Recognize cl constructs; use
1222 `lisp-indent-find-method' instead of `get' directly.
1223 (if): Use else-body style for elisp.
1224
0122b24d
DG
12252014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1226
1227 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1228 Module methods. (Bug#17216)
1229
559836fb 12302014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
1231
1232 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1233 (describe-bindings-internal): Mark obsolete.
1234
6bc76cee
SM
12352014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
1238 buffer-file-name, and buffer-file-truename any more.
1239
dc0b0454
LL
12402014-04-08 Leo Liu <sdl.web@gmail.com>
1241
1242 Use lexical-binding and require cl-lib.
1243 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
1244 (rcirc-handler-generic, rcirc-fill-paragraph)
1245 (rcirc-format-response-string, rcirc-target-buffer)
1246 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
1247 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
1248 (rcirc-ctcp-sender-PING, rcirc-browse-url)
1249 (rcirc-markup-timestamp, rcirc-markup-attributes)
1250 (rcirc-markup-my-nick, rcirc-markup-urls)
1251 (rcirc-markup-bright-nicks, rcirc-markup-fill)
1252 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
1253 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
1254 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
1255 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
1256 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
1257 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
1258 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
1259 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
1260 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
1261 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
1262 use cl-lib.
1263
190f899a
JT
12642014-04-07 João Távora <joaotavora@gmail.com>
1265
6f287c89
GM
1266 * elec-pair.el (electric-pair--syntax-ppss):
1267 When inside comments parse from comment beginning.
190f899a
JT
1268 (electric-pair--balance-info): Fix typo in comment.
1269 (electric-pair--in-unterminated-string-p): Delete.
1270 (electric-pair--unbalanced-strings-p): New function.
1271 (electric-pair-string-bound-function): New var.
1272 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1273 according to `electric-pair--in-unterminated-string-p'
1274
6f287c89
GM
1275 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1276 Inhibit quote pairing if point-max is inside an unterminated string.
1277 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
1278 (electric-pair--in-unterminated-string-p): New function.
1279
a9c921e6
GM
12802014-04-07 Glenn Morris <rgm@gnu.org>
1281
1282 * shell.el (shell-directory-tracker):
1283 Go back to just ignoring failures. (Bug#17159)
1284
6f287c89 12852014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
1286
1287 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1288 backspace. (bug#16981)
1289 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1290 (electric-pair-backward-delete-char-untabify): Delete.
1291 (electric-pair-mode-map): Bind backspace to a menu item filtering
1292 a new `electric-pair-delete-pair' command.
1293 (electric-pair-delete-pair): New command.
1294
6f287c89
GM
1295 * progmodes/python.el (python-electric-pair-string-delimiter):
1296 Fix triple-quoting electricity. (Bug#17192)
89f20f76 1297
6f287c89
GM
1298 * elec-pair.el (electric-pair-post-self-insert-function):
1299 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 1300 `electric-pair-pairs' were used. syntax to
7aecc2f6 1301 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 1302
6f287c89 13032014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
1304
1305 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1306 "<F>". (Bug#17199)
1307
6f287c89 13082014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
1309
1310 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1311 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1312
6f287c89 13132014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
1314
1315 * help.el (view-lossage): Doc tweak.
1316
6f287c89 13172014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
1318
1319 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1320 only when inhibit-x-resources is nil, and do that earlier in the
1321 function. Doc fix. (Bug#16694)
fdafd487
MD
1322 (face-spec-choose): Accept additional optional argument, whose
1323 value is returned if no matching attributes are found.
1324 (face-spec-recalc): Use the new optional argument when calling
1325 face-spec-choose. (Bug#16378)
f5e4494c
MD
1326 (make-face-x-resource-internal): Do nothing when
1327 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 1328 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
1329 (face-set-after-frame-default): Don't call
1330 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 1331
6f287c89 13322014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 1333
0beb7fb7
SM
1334 * doc-view.el (doc-view-bookmark-jump):
1335 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
1336 buffer is shown in a window. (bug#16090)
1337
6f287c89 13382014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
1339
1340 * international/characters.el (mirroring): Fix last change:
1341 instead of loading uni-mirrored.el explicitly, do that implicitly
1342 by creating the 'mirroring' uniprop table. This avoids announcing
1343 the loading of uni-mirrored.el.
1344
6f287c89 13452014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
1346
1347 * files.el (buffer-stale--default-function)
1348 (buffer-stale-function, revert-buffer--default):
1349 * autorevert.el (auto-revert-buffers): Doc tweaks.
1350
6f287c89 13512014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
1352
1353 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1354
6f287c89 13552014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
1356
1357 * files.el (make-backup-file-name-function)
1358 (make-backup-file-name, make-backup-file-name--default-function)
1359 (make-backup-file-name-1, find-backup-file-name)
1360 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1361 (buffer-stale--default-function, buffer-stale-function)
1362 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1363 (revert-buffer, revert-buffer--default)
1364 (revert-buffer-insert-file-contents--default-function):
1365 Doc fixes related to defaults no longer being nil.
1366 (make-backup-file-name-function): Bump :version.
1367 Restore nil as a valid but deprecated custom type.
1368
6f287c89 13692014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 1370
6f287c89
GM
1371 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1372 Handle $' used as a variable (bug#17174).
66f50b12
SM
1373
1374 * progmodes/perl-mode.el (perl-indent-new-calculate):
1375 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
1376 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1377 modifiers introducing expressions (bug#17116).
66f50b12 1378
7b656e4a
SM
13792014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1380
1381 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1382
722237d5
LL
13832014-04-05 Leo Liu <sdl.web@gmail.com>
1384
7b656e4a
SM
1385 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1386 Add define-compilation-mode.
722237d5 1387
5cb0cc90
JT
13882014-04-04 João Távora <joaotavora@gmail.com>
1389
9b017563
JB
1390 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1391 parse from comment beginning.
5cb0cc90
JT
1392 (electric-pair--balance-info): Fix typo in comment.
1393 (electric-pair--in-unterminated-string-p): Delete.
1394 (electric-pair--unbalanced-strings-p): New function.
1395 (electric-pair-string-bound-function): New var.
1396 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 1397 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 1398
6b31e6b1
SM
13992014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1400
1401 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1402 Move declaration before first use.
1403 (reftex-move-to-next-arg): Silence compiler warning.
1404
0de7d982
JK
14052014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1406
6b31e6b1
SM
1407 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1408 Use `window-total-width' instead of `window-width'.
0de7d982 1409
01ae0fbf
DC
14102014-04-03 Daniel Colascione <dancol@dancol.org>
1411
1412 * subr.el (set-transient-map): Remove rms's workaround entirely;
1413 use new `suspicious-object' subr to mark our lambda for closer
1414 scrutiny during gc.
1415
4fd68bf6
RS
14162014-04-02 Richard Stallman <rms@gnu.org>
1417
1418 * subr.el (set-transient-map): Comment out previous change.
1419
c7510f6e
GM
14202014-04-02 Glenn Morris <rgm@gnu.org>
1421
0b908bf2
GM
1422 * menu-bar.el (menu-bar-file-menu):
1423 * vc/ediff.el (ediff-current-file):
1424 Update for revert-buffer-function no longer being nil by default.
1425
c7510f6e
GM
1426 * simple.el (command-execute): Respect nil disabled-command-function.
1427
09aba815 14282014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
1429
1430 * simple.el (command-execute): Do not execute the command when it
1431 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1432
09aba815 14332014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
1434
1435 * dired-aux.el (dired-compress-file): Don't use string-match-p
1436 because its match data is used afterwards.
1437
09aba815 14382014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
1439
1440 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1441 0 like nil.
1442
200c532b
JT
14432014-04-02 João Távora <joaotavora@gmail.com>
1444
6b31e6b1
SM
1445 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1446 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
1447 (electric-pair--looking-at-unterminated-string-p):
1448 Delete.
1449 (electric-pair--in-unterminated-string-p): New function.
1450
2395f2b9
DC
14512014-04-01 Daniel Colascione <dancol@dancol.org>
1452
1453 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1454 when trying to complete the prompt.
1455
294b2b09
LL
14562014-03-31 Leo Liu <sdl.web@gmail.com>
1457
6b31e6b1
SM
1458 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1459 Refactor out eldoc-documentation-function-default.
294b2b09
LL
1460 (eldoc-documentation-function-default): New function.
1461 (eldoc-documentation-function): Change value.
1462
4f3a895b
GM
14632014-03-31 Glenn Morris <rgm@gnu.org>
1464
1465 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1466
1db854cc
GM
1467 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1468 (vhdl-compose-components-package, vhdl-compose-configuration):
1469 Abbreviate default-directory (missing from some previous upstream sync).
1470
3c2d4776
RZ
14712014-03-31 Reto Zimmermann <reto@gnu.org>
1472
1473 Sync with upstream vhdl mode v3.35.2.
1474 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1475 (top-level): No longer require assoc.
1476 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1477 New functions. Use throughout to replace aget etc.
1478 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1479 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1480 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1481 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1482 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1483 except `vhdl-compiler'.
1484 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1485 when appropriate.
1486
5c30ab7a
GM
14872014-03-31 Glenn Morris <rgm@gnu.org>
1488
1489 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1490 Revert 2014-03-26 merge goof; go back to using defalias.
1491
1861d5a7
DC
14922014-03-30 Daniel Colascione <dancol@dancol.org>
1493
6b31e6b1
SM
1494 * comint.el (comint-send-input):
1495 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
1496 (Bug#17139).
1497
1498 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1499 on keyboard-quit.
1500
41116c5a
GM
15012014-03-29 Glenn Morris <rgm@gnu.org>
1502
1503 * textmodes/reftex.el: Manage most autoloads automatically.
1504 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1505 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1506 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1507 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1508 * textmodes/reftex-toc.el: Set generated-autoload-file,
1509 and add autoload cookies for reftex.el.
1510 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1511
c3153003
GM
15122014-03-28 Glenn Morris <rgm@gnu.org>
1513
7b207d6d
GM
1514 * cus-start.el (report-emacs-bug-address): Set custom properties.
1515 * mail/emacsbug.el (report-emacs-bug-address):
1516 Variable is now defined in emacs.c.
1517
c3153003
GM
1518 * mail/emacsbug.el (report-emacs-bug):
1519 Include system-configuration-features.
1520
687e0e19
MN
15212014-03-28 Michal Nazarewicz <mina86@mina86.com>
1522
1523 * simple.el (cycle-spacing): Never delete spaces on first run by
1524 default, but do so in a new 'fast mode and if there are already
4f3a895b 1525 N spaces (the previous behavior).
687e0e19
MN
1526 Compare N with its value in previous invocation so that changing
1527 prefix argument restarts `cycle-spacing' sequence.
687e0e19 1528 The idea is that with this change, binding M-SPC to
4f3a895b 1529 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
1530 the binding so long as users do not type M-SPC twice in a raw with
1531 the same prefix argument or lack thereof.
1532
95de732d
GM
15332014-03-28 Glenn Morris <rgm@gnu.org>
1534
1535 * faces.el (term-file-aliases): New variable.
1536 (tty-run-terminal-initialization): Respect term-file-aliases.
1537 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1538 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1539 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1540
6730259f
GM
15412014-03-27 Glenn Morris <rgm@gnu.org>
1542
862a4e4a
GM
1543 * startup.el (inhibit-startup-hooks): Doc tweak.
1544 (normal-top-level): Simplify running of hooks.
1545 For window-setup-hook, respect inhibit-startup-hooks.
1546 (command-line-1): Don't set window-setup-hook to nil.
1547
6730259f
GM
1548 Allow selective autoloading from obsolete/ directory.
1549 * Makefile.in (obsolete-autoloads): New rule.
1550 (autoloads): Run obsolete-autoloads.
1551 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1552 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1553
42ebc34e
DG
15542014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1555
929c0500
SM
1556 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1557 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 1558
42ebc34e
DG
1559 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1560 Don't propertize `?' or `!' as symbol constituent when after
1561 colon. (Bug#17097)
1562
b1c870c9
JB
15632014-03-27 Juanma Barranquero <lekktu@gmail.com>
1564
857ba6ec
JB
1565 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1566 which is no longer needed and causes trouble in GTK builds (bug#17046).
1567
b1c870c9
JB
1568 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1569 Use url-insert-file-contents; package-handle-response no longer exists.
1570
8ab9876a
DC
15712014-03-26 Daniel Colascione <dancol@dancol.org>
1572
1573 * simple.el (process-menu-mode-map): New variable.
1574 (process-menu-delete-process): New command.
1575
196716cf
JB
15762014-03-26 Juanma Barranquero <lekktu@gmail.com>
1577
1578 * emacs-lisp/package.el: Fix bug#16733 (again).
1579 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1580 (url-http-target-url): Remove unused declarations.
1581 (package-handle-response): Remove.
1582 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1583 (package--download-one-archive): Use current-buffer instead of
1584 dynamic binding of `buffer'.
1585 (describe-package-1): Do not decode readme-string.
1586
16adf2e6 15872014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
1588
1589 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1590
1591 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1592 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1593 `remote-file-name-inhibit-cache' to nil in the second pass.
1594 (tramp-find-executable): Do not call "which" on SunOS.
1595 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
1596 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1597 check whether source directory has set the sticky bit.
1f73d6c6 1598
16adf2e6 15992014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
1600
1601 * simple.el (primitive-undo): Only process marker adjustments
1602 validated against their corresponding (TEXT . POS). Issue warning
1603 for lone marker adjustments in undo history. (Bug#16818)
1604 (undo-make-selective-list): Add marker adjustments to selective
1605 undo list based on whether their corresponding (TEXT . POS) is in
1606 the region. Remove variable adjusted-markers, which was unused
1607 and only non nil during undo-make-selective-list.
1608 (undo-elt-in-region): Return nil when passed a marker adjustment
1609 and explain in function doc.
1610
16adf2e6 16112014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
1612
1613 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1614
16adf2e6 16152014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
1616
1617 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1618 Match special global variables without curlies, too.
1619 (ruby-font-lock-keywords): Simplify the matcher for special global
1620 variables. Don't require a non-word character after the variable.
1621 (Bug#17057)
1622
16adf2e6 16232014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
1624
1625 * simple.el (redisplay-highlight-region-function): Increase priority of
1626 overlay to make sure boundaries are visible (bug#15899).
1627
16adf2e6 16282014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 1629
16adf2e6
JB
1630 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1631 (frameset-restore): Compare display strings with equal.
ee79b33f 1632
3ea2c781
JB
1633 * frame.el (make-frame): Don't quote display name in error message,
1634 it is already a string.
1635
16adf2e6 16362014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
1637
1638 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1639 the password.
1640
16adf2e6 16412014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 1642
16adf2e6
JB
1643 * emacs-lisp/package.el (package--add-to-archive-contents):
1644 Include already installed and built-in packages in
1645 `package-archive-contents'.
1646 (package-install): Don't include already installed packages in the
1647 options during interactive invocation. (Bug#16762)
1648 (package-show-package-list): If the buffer is already displayed in
1649 another window, switch to that window.
1650
fb3deac8
RZ
16512014-03-26 Reto Zimmermann <reto@gnu.org>
1652
1653 Sync with upstream vhdl mode v3.35.1.
1654 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1655 (vhdl-compiler-alist): Doc fix.
1656 (vhdl-goto-line): Remove.
1657 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1658 (vhdl-mode) <paragraph-start>: Fix value.
1659 (vhdl-fix-statement-region): Not `for' in wait-statement.
1660 (vhdl-beautify-region): Also (un)tabify.
1661 (vhdl-get-visible-signals):
1662 Scan declarative part of generate statements.
1663 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
1664 (vhdl-expand-abbrev, vhdl-expand-paren):
1665 Revert to using fset again rather than defalias.
fb3deac8
RZ
1666 (vhdl-scan-directory-contents): Tweak.
1667 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1668 (vhdl-compose-components-package):
1669 Replace vhdl-goto-line with forward-line.
1670 (top-level): Tweak speedbar frame selection.
1671 (vhdl-generate-makefile-1): Support for compilers with no
1672 unit-to-file name mapping (create directory with dummy files).
1673
511df08c
WS
16742014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1675
1676 Sync with upstream verilog-mode revision 702457d.
1677 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1678 (create-lockfiles): Declare.
1679 (verilog-read-decls): Fix module header imports, bug709.
1680 Reported by Victor Lau.
1681 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1682 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 1683 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 1684
11ee65af
GM
16852014-03-26 Glenn Morris <rgm@gnu.org>
1686
b4aca021
GM
1687 * obsolete/gulp.el: Move here from emacs-lisp/.
1688
11ee65af
GM
1689 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1690 Remove fallback aliases, since they are always defined now.
1691
1edb4a2e
DC
16922014-03-24 Daniel Colascione <dancol@dancol.org>
1693
1694 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1695 instead of cl-loop search function.
1696
7a31038f
G
16972014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1698
1699 * calendar/parse-time.el (parse-time-iso8601-regexp)
1700 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1701 it more generally.
1702
17032014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1704
1705 * net/dns.el (network-interface-list): Define for XEmacs.
1706
17072014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1708
1709 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1710 the network interfaces changed.
1711 (dns-query): Use it to flush the data.
1712
835af719
JB
17132014-03-23 Juanma Barranquero <lekktu@gmail.com>
1714
1715 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1716
6ddc4422
DC
17172014-03-23 Daniel Colascione <dancol@dancol.org>
1718
1719 Change subword-mode to use `find-word-boundary-function-table' and
1720 replace `capitalized-words-mode'. Also, convert to lexical
1721 binding.
1722
1723 * progmodes/cap-words.el: Delete now-obsolete file.
1724 * progmodes/subword.el: Reimplement using
1725 `find-word-boundary-function-table'.
1726 (subword-mode-map): Hollow out.
1727 (capitalized-words-mode): Define as obsolete alias for
1728 `subword-mode'.
9b017563 1729 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 1730 implementation; call `subword-setup-buffer'.
9b017563 1731 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
1732 unused variable.
1733 (subword-find-word-boundary-function-table): New constant.
1734 (subword-empty-char-table): New constant.
1735 (subword-setup-buffer): New function.
1736 (subword-find-word-boundary): New function.
1737
c6b0fbe7
DC
17382014-03-23 Daniel Colascione <dancol@dancol.org>
1739
1740 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1741 list to look for keyword arguments instead of `memq', fixing
1742 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1743 Please make bootstrap.
1744
5076d275
GM
17452014-03-22 Glenn Morris <rgm@gnu.org>
1746
5dbc3244
GM
1747 * dired.el (dired-read-regexp): Make obsolete.
1748 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1749 (dired-flag-files-regexp):
1750 * dired-aux.el (dired-mark-read-regexp):
1751 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1752
00156f95
GM
1753 * startup.el (fancy-startup-text):
1754 * help.el (describe-gnu-project): Visit online info about GNU project.
1755
f9c81e7b
GM
1756 * help-fns.el (help-fns--interactive-only): New function.
1757 (help-fns-describe-function-functions): Add the above function.
1758 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1759 (next-line, previous-line): Remove hand-written interactive-only
1760 information from doc strings, it is auto-generated now.
1761 * bookmark.el (bookmark-write):
1762 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1763 (epa-mail-import-keys): Mark interactive-only,
1764 and remove hand-written interactive-only information from doc strings.
1765 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1766 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1767 * files.el (not-modified):
1768 * simple.el (mark-whole-buffer): Mark interactive-only.
1769
5076d275
GM
1770 * emacs-lisp/byte-run.el (defun-declarations-alist):
1771 Add interactive-only. Doc tweak.
1772 (macro-declarations-alist): Doc tweak.
1773 * subr.el (declare): Doc tweak (add xref to manual).
1774 * comint.el (comint-run):
1775 * files.el (insert-file-literally, insert-file):
1776 * replace.el (replace-string, replace-regexp):
1777 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1778 (delete-forward-char, goto-line, insert-buffer, next-line)
1779 (previous-line): Set interactive-only via declare.
1780
1197f2e6
DG
17812014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1782
1783 * emacs-lisp/package.el (package-desc): Use the contents of the
1784 quoted form, not its cdr. (Bug#16873)
1785
aac06179
JB
17862014-03-22 Juanma Barranquero <lekktu@gmail.com>
1787
1788 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1789 benefit of doc.c; change parameter profile to match the X function.
1790
3e7bc044
LL
17912014-03-22 Leo Liu <sdl.web@gmail.com>
1792
1793 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1794 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1795
59271b3e
RS
17962014-03-21 Richard Stallman <rms@gnu.org>
1797
8266cd88
RS
1798 * battery.el (battery-linux-sysfs): Search for each field
1799 from the beginning of the buffer.
1800
16ec0742
RS
1801 * subr.el (set-transient-map): Clear out function and value
1802 of the temporary symbol when we're done with it.
1803
59271b3e
RS
1804 * mail/rmailsum.el (rmail-summary-delete-forward):
1805 Optimize case of reaching end and handling count.
1806 (rmail-summary-mark-deleted): Optimize when N is current msg.
1807 Don't create new summary line.
1808 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1809 (rmail-summary-undelete-many): Rewrite for speed.
1810 (rmail-summary-msg-number): New function.
1811
1812 * mail/rmail.el (rmail-delete-message): Update summary.
1813 (rmail-undelete-previous-message): Handle repeat count arg.
1814 (rmail-delete-backward, rmail-delete-forward): Likewise.
1815
0d8ac93e
DC
18162014-03-21 Daniel Colascione <dancol@dancol.org>
1817
1818 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1819 information in bug reports.
1820
1e92a8a3
MA
18212014-03-21 Michael Albinus <michael.albinus@gmx.de>
1822
1823 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1824 and `tramp-copy-env'.
1825
1826 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1827 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1828
78540c42
GM
18292014-03-21 Glenn Morris <rgm@gnu.org>
1830
1831 * electric.el (electric-indent-post-self-insert-function): Add doc.
1832
1fc8f655
DG
18332014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1834
dcf78667
DG
1835 * emacs-lisp/package.el (package-compute-transaction):
1836 Use `version-list-<=' to compare the requirement version against
1837 the version of package already to be installed. Update the error
1838 message. (Bug#16826)
1839
1fc8f655
DG
1840 * progmodes/ruby-mode.el (ruby-smie-rules):
1841 Add indentation rule for ` @ '. (Bug#17050)
1842
dada060d
JB
18432014-03-21 Juanma Barranquero <lekktu@gmail.com>
1844
1845 * align.el (align-regexp): Remove superfluous backslash.
1846
1847 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1848 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1849 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1850 Fix docstring typos.
1851 (ffap-next): Use C-u in docstring.
1852 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1853 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1854 Remove superfluous backslashes.
1855 (ffap-string-at-point): Reflow docstring.
1856
1857 * server.el (server-host): Reflow docstring.
1858 (server-unload-function): Fix docstring typo.
1859 (server-eval-at): Remove superfluous backslash.
1860
1861 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1862 (skeleton-insert): Doc fix.
1863 (skeleton-insert): Reflow docstring.
1864
1865 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1866 (tty-color-approximate, tty-color-by-index, tty-color-values)
1867 (tty-color-desc): Remove superfluous backslashes.
1868
f428101f
GM
18692014-03-21 Glenn Morris <rgm@gnu.org>
1870
26e91130
GM
1871 * cus-start.el (history-length): Bump :version.
1872
aa3a7b51
GM
1873 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1874 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1875 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1876 Don't set `make-backup-files'.
1877
f428101f
GM
1878 * info.el (info--prettify-description): New function,
1879 to give info-finder descriptions consistent case, punctuation.
1880 (Info-finder-find-node): Use it. Sort packages.
1881 Refer to "description" rather than "commentary".
1882
6ce1b56e
JB
18832014-03-21 Juanma Barranquero <lekktu@gmail.com>
1884
1885 * frameset.el (frameset--print-register): New function.
1886 (frameset-to-register): Use it.
1887
b730af26
JB
18882014-03-20 Juanma Barranquero <lekktu@gmail.com>
1889
45393801
JB
1890 * progmodes/hideif.el (hif-string-to-number): New function.
1891 (hif-tokenize): Use it to understand non-decimal floats.
1892
814e26fa
JB
1893 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1894
b730af26
JB
1895 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1896
6f287c89
GM
18972014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * electric.el (electric-newline-and-maybe-indent): New command.
1900 Bind it globally to C-j.
1901 (electric-indent-mode): Don't mess with the global map any more.
1902 Don't drop the post-self-insert-hook is some buffer is still using it
1903 (bug#16770).
1904
1905 * bindings.el (global-map): Remove C-j binding.
1906
1907 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1908 the docstring of functions advised before dumping (bug#16993).
1909
f15ec1ba 19102014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
1911
1912 * ps-print.el (ps-generate-postscript-with-faces):
1913 Explicitly deactivate the mark (bug#16866).
1914 * simple.el (deactivate-mark): Update region highlight.
1915
f88bdc45
JB
19162014-03-19 Juanma Barranquero <lekktu@gmail.com>
1917
1918 * emacs-lisp/package.el (describe-package-1):
1919 Decode commentary (bug#16733).
1920
6b88e570
JB
19212014-03-18 Juanma Barranquero <lekktu@gmail.com>
1922
1923 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1924 modification of the value argument of :set (bug#16755).
1925
ac9b4703
SM
19262014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1927
1928 * simple.el (newline-and-indent): Do autofill (bug#17031).
1929
2b7858ec
DG
19302014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1931
1932 * newcomment.el (comment-normalize-vars): Only add escaping check
1933 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1934 (comment-beginning): Use `narrow-to-region' instead of moving back
1935 one character.
1936 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1937 (comment-start-skip): Update the docstring.
1938
11eff3ae
RS
19392014-03-18 Richard Stallman <rms@gnu.org>
1940
1941 * dired.el (dired-display-file): Force use of other window.
1942
07f44fdb
JB
19432014-03-18 Daniel Colascione <dancol@dancol.org>
1944
1945 * startup.el (tty-handle-args): Remove debug message from 2007.
1946
19472014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
1948
1949 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1950 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1951 (advice--make-1, advice-add, advice-remove):
1952 Remove braindead :advice-pending hack.
1953
61debe4a
GM
19542014-03-17 Glenn Morris <rgm@gnu.org>
1955
1956 * calendar/calendar.el (calendar-generate-month): Apply weekend
1957 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1958
8273986b
MA
19592014-03-17 Michael Albinus <michael.albinus@gmx.de>
1960
1961 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1962 (tramp-call-process): Trace also DESTINATION.
1963
1964 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1965 Quote file names when they are local. Remove superfluous trace.
1966
4f8aeb84
DG
19672014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1968
218feefc
DG
1969 * newcomment.el (comment-beginning): If `comment-start-skip'
1970 doesn't match, move back one char and try again. (Bug#16971)
1971
6c187ef5
SM
1972 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1973 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
1974 Set `comment-start-skip' to a simpler value that doesn't try to
1975 check if the semicolon is escaped (this is handled by
1976 `syntax-ppss' now). (Bug#16971)
1977
1978 * progmodes/scheme.el (scheme-mode-variables): Same.
1979
b92631bf
MR
19802014-03-16 Martin Rudalics <rudalics@gmx.at>
1981
1982 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1983 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1984 current (Bug#16816, Bug#17007).
1985 (with-current-buffer-window): New macro doing the same as
1986 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1987 * help.el (help-print-return-message): Warn in doc-string to not
1988 use this in `with-help-window'.
1989 (describe-bindings-internal): Call `describe-buffer-bindings'
1990 from within help buffer. See Juanma's scenario in (Bug#16816).
1991 (with-help-window): Update doc-string.
1992 * dired.el (dired-mark-pop-up):
1993 * files.el (save-buffers-kill-emacs):
1994 * register.el (register-preview): Use `with-current-buffer-window'
1995 instead of `with-temp-buffer-window'.
1996
57348c4d
JB
19972014-03-16 Juanma Barranquero <lekktu@gmail.com>
1998
1999 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2000 Implement inserting into current buffer, documented in their docstrings.
2001 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2002 (rst-section-tree-point, rst-forward-section, rst-indent)
2003 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2004 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2005 (rst-font-lock-handle-adornment-pre-match-form)
2006 (rst-repeat-last-character): Reflow docstrings.
2007 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2008 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2009 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2010 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2011 Fix docstring typos.
2012 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2013 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2014 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2015
fd16b061
JB
20162014-03-15 Juanma Barranquero <lekktu@gmail.com>
2017
a2403e3d
JB
2018 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2019 for compatibility with other ports.
2020 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2021 from the -xrm command line argument, but in the Nextstep port its value
2022 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2023
fd16b061
JB
2024 * progmodes/python.el (defconst, python-syntax-count-quotes)
2025 (python-indent-region, python-indent-shift-right)
2026 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2027 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2028 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2029 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2030 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2031 (python-shell-buffer-substring, python-shell-send-buffer)
2032 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2033 (python-completion-complete-at-point, python-fill-docstring-style)
2034 (python-eldoc-function, python-imenu-format-item-label)
2035 (python-imenu-format-parent-item-label)
2036 (python-imenu-format-parent-item-jump-label)
2037 (python-imenu--build-tree, python-imenu-create-index)
2038 (python-imenu-create-flat-index): Fix docstring typos.
2039 (python-indent-context, python-shell-prompt-regexp, run-python):
2040 Remove superfluous backslashes.
2041 (python-indent-line, python-nav-beginning-of-defun)
2042 (python-shell-get-buffer, python-shell-get-process)
2043 (python-info-current-defun, python-info-current-line-comment-p)
2044 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2045 (python-indent-post-self-insert-function, python-shell-send-file)
2046 (python-shell-completion-get-completions)
2047 (python-shell-completion-complete-or-indent)
2048 (python-eldoc--get-doc-at-point): Reflow docstrings.
2049
e94807f0
GM
20502014-03-14 Glenn Morris <rgm@gnu.org>
2051
88103345
GM
2052 * emacs-lisp/package.el (package-menu-mode-map):
2053 Replace use of obsolete function alias. Tweak menu item text.
2054
f2dd4ba8
GM
2055 * info.el (Info-finder-find-node):
2056 Ignore the `emacs' metapackage. (Bug#10813)
2057
ac0f82ef
GM
2058 * finder.el (finder-list-matches): Include unversioned packages
2059 in the result of a keyword search.
2060
e94807f0
GM
2061 * finder.el (finder--builtins-descriptions): New constant.
2062 (finder-compile-keywords): Use finder--builtins-descriptions.
2063
50d434d1
DG
20642014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2065
2066 * simple.el (blink-matching-paren): Describe the new value,
2067 `jump', enabling the old behavior.
2068 (blink-matching-open): Use that value. (Bug#17008)
2069
56759cf1
GM
20702014-03-14 Glenn Morris <rgm@gnu.org>
2071
459d74ef
GM
2072 * finder.el (finder-no-scan-regexp): Add leim-list.
2073 (finder-compile-keywords):
2074 Don't skip files with same basename. (Bug#14010)
2075 * Makefile.in (setwins_finder): New, excluding leim.
2076 (finder-data): Use setwins_finder.
2077
56759cf1
GM
2078 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2079 (help-function-arglist, help-make-usage): Move from here...
2080 * help.el (help-split-fundoc, help-add-fundoc-usage)
2081 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2082 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2083
7644aa97
JB
20842014-03-14 Juanma Barranquero <lekktu@gmail.com>
2085
2086 * net/socks.el (socks, socks-override-functions)
fd16b061 2087 (socks-find-services-entry):
7644aa97
JB
2088 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2089 (hif-find-ifdef-block):
2090 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2091
2092 * net/tls.el (tls-program): Reflow docstring.
2093
2094 * progmodes/pascal.el (pascal-mode-abbrev-table)
2095 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2096 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2097 (pascal-outline-mode): Fix docstring typos.
2098 (pascal-mode): Let define-derived-mode document mode hook.
2099 (pascal-uncomment-area): Reflow.
2100 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2101
2102 * progmodes/opascal.el (opascal-compound-block-indent)
2103 (opascal-case-label-indent): Fix docstring typos.
2104 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2105
1f44df94
DG
21062014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2107
07f44fdb
JB
2108 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2109 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 2110
0d71dfb3
TW
21112014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2112
2113 * emacs-lisp/package.el (package--prepare-dependencies):
2114 Accept requirements without explicit version (bug#14941).
2115
d27a1a7b
JB
21162014-03-12 Juanma Barranquero <lekktu@gmail.com>
2117
a5765a3d
JB
2118 * register.el (register-separator, copy-to-register): Doc fixes.
2119 (register-preview-default): Remove unnecessary call to concat.
2120
d27a1a7b
JB
2121 * frameset.el (frameset-restore): When checking for a visible frame,
2122 use the action map instead of calling visible-frame-list.
2123
08dfa0b7
JB
21242014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2125
2126 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2127
8960529e
MR
21282014-03-12 Martin Rudalics <rudalics@gmx.at>
2129
2130 * window.el (fit-frame-to-buffer): Get maximum width from
2131 display's width instead of height.
2132
8a51e8e4
GM
21332014-03-12 Glenn Morris <rgm@gnu.org>
2134
46456005
GM
2135 * desktop.el (desktop-restore-frames)
2136 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2137 (desktop-restore-reuses-frames): Doc tweaks.
2138
8a51e8e4
GM
2139 * electric.el (electric-indent-mode): Doc fix.
2140
5983b317
JB
21412014-03-12 Juanma Barranquero <lekktu@gmail.com>
2142
2143 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2144 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2145 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2146 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2147 (cvs-dired-use-hook): Fix docstring typos.
2148 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2149 Doc fixes.
2150
2151 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2152 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2153 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2154 (cvs-execute-single-dir): Fix docstring typos.
2155
2156 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2157 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2158
2159 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2160
2161 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2162 Fix docstring typos.
2163
13c00cf0
JB
21642014-03-12 Juanma Barranquero <lekktu@gmail.com>
2165
2166 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2167 called from jump-to-register after unloading the frameset package.
2168
536a17e3
SM
21692014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2172 (bug#16975). Deactivate the mark before setting it to nil.
2173 (activate-mark): Do nothing if region is already active.
2174
baf8d0ac
JB
21752014-03-11 Juanma Barranquero <lekktu@gmail.com>
2176
2177 * frameset.el (frameset--target-display): Remove definition; declare.
2178 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2179
1ea22560
SM
21802014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2183 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2184 when the advice is pending.
2185 (advice-remove): Remove this marker when not needed any more.
2186
4538c058
JB
21872014-03-11 Juanma Barranquero <lekktu@gmail.com>
2188
2189 * frameset.el: Separate options for reusing frames and cleaning up.
2190 (frameset--reuse-list): Remove definition; declare.
2191 (frameset--action-map): Declare.
2192 (frameset--find-frame-if): Doc fix.
2193 (frameset--restore-frame): Cache frame action.
2194 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2195 how to clean up the frame list after restoring. Remove cleaning
2196 options from REUSE-FRAMES. Change all keyword values to symbols.
2197 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2198
2199 * desktop.el (desktop-restore-forces-onscreen)
2200 (desktop-restore-reuses-frames): Use non-keyword values.
2201 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2202
ba1a5c78
GM
22032014-03-10 Glenn Morris <rgm@gnu.org>
2204
776aa432
GM
2205 * files.el (find-file): Doc fix: update info node name.
2206
ba1a5c78
GM
2207 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2208 Doc fix: remove references to deleted info nodes.
2209
183d706e
MA
22102014-03-10 Michael Albinus <michael.albinus@gmx.de>
2211
2212 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2213 Do not add `nil' to the environment, when there's no remote `locale'.
2214 (tramp-find-inline-encoding): Check, that the remote host has
2215 installed perl, before sending scripts.
2216
6f0f96e7
LL
22172014-03-10 Leo Liu <sdl.web@gmail.com>
2218
536a17e3
SM
2219 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2220 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 2221
ca70fe78
SM
22222014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2225 (bug#14430).
2226
eb67db41
JL
22272014-03-09 Juri Linkov <juri@jurta.org>
2228
2229 * ansi-color.el (ansi-color-names-vector): Copy default colors
2230 from `xterm-standard-colors' that look well on the default white
2231 background (and also on the black background) to avoid illegible
8cf07e5a 2232 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
2233 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2234
e7db5447
JB
22352014-03-08 Juanma Barranquero <lekktu@gmail.com>
2236
2237 * frameset.el (frameset-restore): When no frame is visible, do not
2238 generate a list of frames, just make visible the selected one.
2239
f0a4c8d7
DG
22402014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2241
2242 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2243 it only contains the repository root. (Bug#16897)
2244
e50772e3
MA
22452014-03-07 Michael Albinus <michael.albinus@gmx.de>
2246
2247 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2248 only when `remote-file-name-inhibit-cache' is nil.
2249 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2250
cac0a1d6
MR
22512014-03-06 Martin Rudalics <rudalics@gmx.at>
2252
2253 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2254 Fix doc-strings.
2255 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2256 fit-frame-to-buffer variable. Fix doc-string.
2257 (fit-window-to-buffer): Set ONLY argument in call of
2258 fit-frame-to-buffer. Fix doc-string.
2259
fa965cbf
MA
22602014-03-06 Michael Albinus <michael.albinus@gmx.de>
2261
2262 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2263 (tramp-action-password): Clear password cache if needed.
2264 (tramp-read-passwd): Do not clear password cache.
2265
2266 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2267 cache unless it is the first password request.
2268
c94e6ee4
GM
22692014-03-06 Glenn Morris <rgm@gnu.org>
2270
03bc753e
GM
2271 * simple.el (newline): Doc tweak.
2272
c94e6ee4
GM
2273 * emacs-lisp/shadow.el (load-path-shadows-find):
2274 Ignore dir-locals. (Bug#12357)
2275
bd2d43dc
GM
22762014-03-05 Glenn Morris <rgm@gnu.org>
2277
2278 * files.el (interpreter-mode-alist):
2279 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2280
9284000e
JB
22812014-03-05 Juanma Barranquero <lekktu@gmail.com>
2282
2283 * frameset.el (frameset--initial-params): Filter out null entries.
2284
e1a2cb1c
MR
22852014-03-05 Martin Rudalics <rudalics@gmx.at>
2286
27821a89
JB
2287 * window.el (window-min-height, window-min-width):
2288 Rewrite doc-strings.
e1a2cb1c
MR
2289 (window-body-size): Add PIXELWISE argument to make it consistent
2290 with its callees.
2291
6bf67038
JB
22922014-03-05 Juanma Barranquero <lekktu@gmail.com>
2293
2294 * finder.el (finder-mode-map, finder-mode-syntax-table):
2295 Revert part of 2014-02-28 change.
2296
90f04e4c
LI
22972014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2298
2299 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2300 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
2301 (eww-textarea-map): [tab] doesn't work on tty.
2302 Reported by Mario Lang.
6952100d
LI
2303
2304 * net/shr.el (shr-map): Ditto.
90f04e4c 2305
3106d59b
GM
23062014-03-04 Glenn Morris <rgm@gnu.org>
2307
2308 * minibuffer.el (completion-hilit-commonality):
2309 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2310
f604dfdc
JB
23112014-03-04 Juanma Barranquero <lekktu@gmail.com>
2312
2313 * hilit-chg.el (hilit-chg-unload-function): New function.
2314 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2315 (hilit-chg-map-changes): Prefer cardinal number to digit.
2316 (hilit-chg-display-changes): Reflow docstring.
2317 (highlight-changes-rotate-faces): Remove superfluous backslash.
2318
5dc65319
MA
23192014-03-04 Michael Albinus <michael.albinus@gmx.de>
2320
2321 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2322 `tramp-send-command-and-check'.
2323
4242d21d
JB
23242014-03-04 Juanma Barranquero <lekktu@gmail.com>
2325
b01fa838
JB
2326 * hexl.el (hexl-address-region, hexl-ascii-region)
2327 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2328 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2329 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2330 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2331 (hexl-mode): Doc fix.
2332 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2333 (hexl-mode-ruler): Fix typos in docstrings.
2334
4242d21d
JB
2335 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2336 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2337 Remove superfluous backslashes.
2338 (strokes-last-stroke, strokes-global-map, strokes-mode):
2339 Reflow docstrings.
2340 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2341 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2342 (strokes-distance-squared, strokes-global-set-stroke)
2343 (strokes-global-set-stroke-string): Doc fixes.
2344 (strokes-help): Fix typos; reflow docstring.
2345
87132570
MR
23462014-03-04 Martin Rudalics <rudalics@gmx.at>
2347
2348 * window.el (window-in-direction): Fix doc-string.
2349
d82e752c
GM
23502014-03-04 Glenn Morris <rgm@gnu.org>
2351
2352 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2353 Explicit error if no grammar.
2354 (smie-config-save): Doc fix. Fix quote typo.
2355
62528af0
SM
23562014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2357
8d4901dc
SM
2358 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2359 electric-indent-mode-hook if we obey electric-indent-mode.
2360 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2361 decide whether we obey electric-indent-mode.
2362 (c-change-set-fl-decl-start, c-extend-after-change-region):
2363 Silence warnings.
2364 (c-electric-indent-mode-hook): Assume we do want to obey
2365 electric-indent-mode.
2366
2367 * electric.el (electric-indent-mode-has-been-called): Remove.
2368 (electric-indent-mode): Fix accordingly.
2369
092c12b2
SM
2370 * files.el (hack-local-variables): Mention file name in warning.
2371
62528af0
SM
2372 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2373
5b87d0d9
MN
23742014-03-04 Michal Nazarewicz <mina86@mina86.com>
2375
20f39add 2376 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
2377 * simple.el (delete-forward-char): Mark as interactive-only.
2378
542a3840
JB
23792014-03-03 Juanma Barranquero <lekktu@gmail.com>
2380
f2d2402e
GM
2381 * icomplete.el (icomplete-completions):
2382 Follow-up to 2014-03-01 change.
d11320e5
JB
2383
2384 * icomplete.el: Miscellaneous doc fixes.
2385 Use Icomplete everywhere instead of icomplete for consistency.
2386 (icomplete-max-delay-chars): Fix typo.
2387 (icomplete-mode): Use \[].
2388 (icomplete-tidy, icomplete-exhibit): Reflow.
2389 (icomplete-minibuffer-setup-hook, icomplete-completions):
2390 Remove superfluous backlashes.
2391
2392 * ido.el: Miscellaneous doc fixes.
2393 Use Ido everywhere instead of ido or `ido' for consistency.
2394 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2395 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2396 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2397 (ido-separator): Extract obsolescence info from docstring and declare
2398 with make-obsolete-variable.
2399 (ido-minibuffer-setup-hook): Simplify example.
2400 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2401 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2402 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2403 (ido-everywhere): Reflow docstring.
2404 (ido-toggle-vc): Doc fix.
2405 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2406 of long list of keybindings.
2407
7ebd57e9
GM
24082014-03-03 Glenn Morris <rgm@gnu.org>
2409
2410 * frame.el (display-pixel-height, display-pixel-width)
2411 (display-mm-dimensions-alist, display-mm-height)
2412 (display-mm-width): Doc tweaks.
2413
35e951cd 24142014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
2415
2416 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2417 case of undo in region.
2418
b923819c
MR
24192014-03-02 Martin Rudalics <rudalics@gmx.at>
2420
2421 * window.el (fit-window-to-buffer): Fix argument in window-size
2422 call when window is horizontally combined.
2423
b6e443c5
JB
24242014-03-02 Juanma Barranquero <lekktu@gmail.com>
2425
2426 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 2427 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 2428
1850913d
DG
24292014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2430
35e951cd
JB
2431 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2432 Highlight regexp options. (Bug#16914)
1850913d 2433
04b577b6
MR
24342014-03-01 Martin Rudalics <rudalics@gmx.at>
2435
2436 * window.el (window--max-delta-1): Round down when calculating
2437 how many lines/columns we can get from a window.
2438
b829360f
GM
24392014-03-01 Glenn Morris <rgm@gnu.org>
2440
2501c912
GM
2441 * isearch.el (search-invisible): Doc fix.
2442
b829360f
GM
2443 * minibuffer.el (completion-hilit-commonality):
2444 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2445 * comint.el (comint-dynamic-list-completions): Doc fix.
2446 * comint.el (comint-dynamic-list-completions):
2447 * filecache.el (file-cache-minibuffer-complete):
2448 * tempo.el (tempo-display-completions):
2449 * eshell/em-hist.el (eshell-list-history):
2450 Replace use of obsolete argument of display-completion-list.
2451
9a155058
JB
24522014-03-01 Juanma Barranquero <lekktu@gmail.com>
2453
2454 * icomplete.el (icomplete-completions):
2455 Revert back to using "..." when ?… cannot be displayed.
2456
53f6cda8
JB
24572014-02-28 Juanma Barranquero <lekktu@gmail.com>
2458
2459 * finder.el (finder-unload-function): New function.
2460
43977c23
JB
24612014-02-28 Juanma Barranquero <lekktu@gmail.com>
2462
2463 * dframe.el (dframe-detach):
2464 * find-dired.el (find-dired, find-name-dired):
2465 * finder.el (finder-mode-map, finder-mode-syntax-table)
2466 (finder-headmark, finder-select, finder-mouse-select):
2467 Fix docstring typos.
2468
9dda75ad
MR
24692014-02-28 Martin Rudalics <rudalics@gmx.at>
2470
2471 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
2472 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2473 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2474 Fix doc-string based on a suggestion by Nicolas Richard
2475 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
2476 * help.el (with-help-window): Fix doc-string.
2477
8a73034e
IK
24782014-02-28 Ivan Kanis <ivan@kanis.fr>
2479
b70257b0
GM
2480 * net/shr.el (shr-image-animate): New option.
2481 (shr-put-image): Respect shr-image-animate.
8a73034e 2482
245aa73e
MA
24832014-02-28 Michael Albinus <michael.albinus@gmx.de>
2484
2485 * net/tramp-adb.el (tramp-adb-parse-device-names):
2486 Use `accept-process-output'.
2487 (tramp-adb-handle-file-truename): Cache the localname only.
2488 (tramp-adb-handle-make-directory)
2489 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2490 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2491 modes cannot be changed.
2492
2493 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2494 file properties of symlinks.
2495
48e15d64
PS
24962014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2497
2498 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2499 required/optional fields to match development biblatex. (Bug#16781)
2500
65b77347
AS
25012014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2502
2503 * saveplace.el (toggle-save-place):
2504 Fix argument handling. (Bug#16673)
2505
5e618aba
GM
25062014-02-28 Glenn Morris <rgm@gnu.org>
2507
2508 * minibuffer.el (completions-first-difference)
2509 (completions-common-part, completion-hilit-commonality): Doc fixes.
2510
6deb314e
KB
25112014-02-28 Karl Berry <karl@gnu.org>
2512
2513 * info.el (Info-mode-map): Add H for describe-mode,
2514 to synchronize with standalone Info.
2515
289996f5
EL
25162014-02-28 Emilio C. Lopes <eclig@gmx.net>
2517
2518 * progmodes/sql.el (sql-interactive-mode):
2519 Avoid setting global comint-input-ring-separator. (Bug#16814)
2520
79fc1191
MA
25212014-02-27 Michael Albinus <michael.albinus@gmx.de>
2522
2523 * net/dbus.el (dbus--init-bus): Declare function.
2524 (dbus-path-local, dbus-interface-local): New defconst.
2525 (dbus-init-bus): Use them.
2526 (dbus-return-values-table): Extend doc.
2527 (dbus-handle-bus-disconnect): Extend error message.
2528
298520df
JB
25292014-02-27 Juanma Barranquero <lekktu@gmail.com>
2530
2531 * subr.el (y-or-n-p): Fix double space issue in message.
2532
c22c1614
MA
25332014-02-27 Michael Albinus <michael.albinus@gmx.de>
2534
2535 * net/tramp.el (tramp-call-process): Improve trace message.
2536 (tramp-handle-insert-file-contents): Trace error case.
2537
2538 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2539 <insert-directory>: Use `tramp-handle-insert-directory'.
2540 (tramp-adb-handle-insert-directory): Remove function.
2541 (tramp-adb-send-command-and-check): New defun, replacing
2542 `tramp-adb-command-exit-status'. Change all callees.
2543 (tramp-adb-handle-file-attributes)
2544 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
2545 (tramp-adb-ls-output-name-less-p):
2546 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
2547 (tramp-adb-handle-delete-directory): Flush also file properties of
2548 the truename of directory.
2549 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2550 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2551 (tramp-adb-handle-write-region): Implement APPEND.
2552 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2553 properties correctly.
2554 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2555 variables. Check for connected devices only when needed.
2556
d9263618
GM
25572014-02-27 Glenn Morris <rgm@gnu.org>
2558
ea7826ba
GM
2559 * minibuffer.el (completion-table-dynamic)
2560 (completion-table-with-cache): Doc fixes.
2561
d9263618
GM
2562 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2563 (completing-read-multiple): Doc fixes.
2564
eff3168a
DC
25652014-02-27 Daniel Colascione <dancol@dancol.org>
2566
51f213c3
DC
2567 * minibuffer.el (completion--nth-completion): Fix indentation.
2568
eff3168a
DC
2569 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2570 explicit tramp path is empty.
2571
b77cfcd7
GM
25722014-02-27 Glenn Morris <rgm@gnu.org>
2573
2574 * emacs-lisp/crm.el (completing-read-multiple):
2575 Empower help-enable-auto-load.
2576
9577b569
GM
25772014-02-26 Glenn Morris <rgm@gnu.org>
2578
259887e8
GM
2579 * startup.el (command-line): Don't init the tty in daemon mode.
2580
1d491ef2
GM
2581 Avoid calling tty-setup-hook twice, eg if a term file
2582 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2583 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2584 (tty-create-frame-with-faces): Use it.
2585 * startup.el (command-line): Pass run-hook argument
2586 to tty-run-terminal-initialization.
2587
9577b569
GM
2588 * dired.el (dired-restore-desktop-buffer): Demote errors;
2589 eg in case a glob match fails. (Bug#16884)
2590
40ff7f86
DG
25912014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2592
b2388336
DG
2593 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2594 error from `read-from-string'. (Bug#16850)
2595
40ff7f86
DG
2596 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2597 result of `completing-read' in the interactive form. (Bug#16854)
2598
98bd6b32
GM
25992014-02-25 Glenn Morris <rgm@gnu.org>
2600
f086804c
GM
2601 * image.el (image-animate, image-animate-timeout):
2602 Stop animating images in dead buffers. (Bug#16878)
2603
c107155e
GM
2604 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2605
9577b569
GM
2606 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2607 Doc fixes.
98bd6b32
GM
2608 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2609 * term/sun.el (sun-raw-prefix-hooks):
2610 Use tty-setup-hook instead of term-setup-hook.
2611 (terminal-init-sun): Construct message from bytecomp plist.
2612 * term/wyse50.el (enable-arrow-keys): Doc fix.
2613
9c9e18e8
JB
26142014-02-24 Juanma Barranquero <lekktu@gmail.com>
2615
2616 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2617 Fix docstring typos.
2618
c848881f
MA
26192014-02-24 Michael Albinus <michael.albinus@gmx.de>
2620
2621 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2622
0e38ae05
NR
26232014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2624
2625 * minibuffer.el (completion--try-word-completion):
2626 Fix error when completing M-x commands (bug#16808).
2627
8ee4c296
LL
26282014-02-24 Leo Liu <sdl.web@gmail.com>
2629
2630 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2631
7d4bd627
JB
26322014-02-24 Juanma Barranquero <lekktu@gmail.com>
2633
2634 * apropos.el (apropos-print): Avoid formatting error when
2635 apropos-do-all and apropos-compact-layout are both t.
2636
e918e27f
JB
26372014-02-23 Juanma Barranquero <lekktu@gmail.com>
2638
2639 * apropos.el (apropos-property, apropos-all-words-regexp)
2640 (apropos-true-hit, apropos-variable, apropos-print):
2641 Fix docstring typos, and remove obsolete comment.
2642
85c01f80
MA
26432014-02-23 Michael Albinus <michael.albinus@gmx.de>
2644
2645 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2646 Preserve trailing "/". (Bug#16851)
2647
62f95022
DG
26482014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2649
2650 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2651 after `=>' (bug#16811).
dfdb365c
DG
2652 (ruby-smie-rules): Handle the inconsistent second element of the
2653 list returned by `smie-indent--parent'.
2654 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2655 method call.
62f95022 2656
025f2c81
JB
26572014-02-23 Juanma Barranquero <lekktu@gmail.com>
2658
2659 * elec-pair.el (electric-pair-text-syntax-table)
2660 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2661 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2662 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2663 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2664
123c84f9
GM
26652014-02-22 Glenn Morris <rgm@gnu.org>
2666
612c3e46
GM
2667 * imenu.el (imenu--generic-function): Doc fix.
2668
123c84f9
GM
2669 * register.el (frame-configuration-to-register): Make obsolete.
2670
e59fa9ad
JB
26712014-02-22 Juanma Barranquero <lekktu@gmail.com>
2672
2673 * desktop.el (desktop-save-buffer-p): Do not fail when
2674 desktop-files-not-to-save is nil. Return t for true result
2675 as the doc says.
2676
4e652634
DC
26772014-02-22 Daniel Colascione <dancol@dancol.org>
2678
27821a89 2679 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
2680 Check that attribute values are strings, avoiding the construction
2681 of invalid dbus messages.
4e652634 2682
f35affb6
JB
26832014-02-21 Juanma Barranquero <lekktu@gmail.com>
2684
2685 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2686 defun-declarations-alist.
2687
3d136b1b
SM
26882014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2689
2690 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2691 (bug#16829).
2692
612ddfc0
JB
26932014-02-21 Juanma Barranquero <lekktu@gmail.com>
2694
2695 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2696 (whitespace-newline, whitespace-trailing, whitespace-line)
2697 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2698 (whitespace-space-after-tab): Fix typo in docstrings.
2699
c8481b1b
DG
27002014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2701
cb8f50a7
DG
2702 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2703
c8481b1b
DG
2704 * electric.el (electric-indent-functions-without-reindent):
2705 Add `yaml-indent-line'.
2706
bed5126f
JB
27072014-02-21 Juanma Barranquero <lekktu@gmail.com>
2708
34b71457
JB
2709 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2710 It has done nothing for years; should be removed after the release.
2711
bed5126f
JB
2712 * simple.el (choose-completion): Fix docstring typo.
2713 (read-quoted-char-radix): Remove unneeded * in docstring.
2714 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2715 Don't escape parentheses unnecessarily in docstrings.
2716
8dd3e94f
MR
27172014-02-21 Martin Rudalics <rudalics@gmx.at>
2718
2719 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
2720 * window.el (window--dump-window, window--dump-frame):
2721 New functions.
2722 (window--min-size-1): Account for window dividers.
2723 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
2724 sum of the window components has been calculated.
2725 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2726 nil make sure at least one text line and two text columns remain
2727 fully visible.
2728 (window-resize): Signal an error when window-resize-apply fails.
2729 (window--resize-child-windows): Fix calculation of by how many
2730 pixels a window can still be shrunk via window-new-normal.
2731 (adjust-window-trailing-edge): Call window--resizable with
2732 correct TRAIL argument.
2733
2ed94e04
MR
2734 (with-temp-buffer-window): Don't evaluate BODY within
2735 with-current-buffer (Bug#16816).
2736
0e5324c4
MA
27372014-02-21 Michael Albinus <michael.albinus@gmx.de>
2738
2739 * net/tramp.el (tramp-check-cached-permissions):
2740 Call `file-attributes' with `suffix' being a symbol but a string.
2741
48198420
DC
27422014-02-21 Daniel Colascione <dancol@dancol.org>
2743
2744 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2745 (dbus-init-bus): New function: call into dbus-init-bus-1
2746 and installs a handler for the disconnect signal.
2747 (dbus-call-method): Rewrite to look for result in cons.
2748 (dbus-call-method-handler): Store result in cons.
2749 (dbus-check-event): Recognize events with nil sender as valid.
2750 (dbus-handle-bus-disconnect): New function. React to bus
2751 disconnection signal by synthesizing dbus error for each
2752 pending synchronous or asynchronous call.
2753 (dbus-notice-synchronous-call-errors): New function.
2754 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2755 is true, not all the time.
2756
99e15133
JB
27572014-02-21 Juanma Barranquero <lekktu@gmail.com>
2758
e48983a6
JB
2759 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2760 Remove obsolescence declarations, these variables do not exist anymore.
2761
fdcfd745
JB
2762 * savehist.el (savehist-save-minibuffer-history)
2763 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2764 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2765 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2766 mostly, refer to "Savehist mode" when talking about the mode,
2767 and not the function.
2768
99e15133
JB
2769 * saveplace.el (save-place): Remove redundant info in docstring.
2770 (save-place-forget-unreadable-files, toggle-save-place)
2771 (save-place-forget-unreadable-files, save-place-dired-hook):
2772 Fix typos and remove unneeded backslashes.
2773
f5bee33b
MA
27742014-02-20 Michael Albinus <michael.albinus@gmx.de>
2775
2776 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2777 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2778
2779 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 2780 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
2781 (tramp-gvfs-handle-insert-directory): Remove function.
2782
2783 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2784 Call `tramp-handle-insert-directory'.
2785
ee0761ca
JB
27862014-02-20 Juanma Barranquero <lekktu@gmail.com>
2787
2788 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2789 before the start of buffer/region (bug#16799).
2790
4d49cc65
GM
27912014-02-20 Glenn Morris <rgm@gnu.org>
2792
2793 * isearch.el (search-invisible): Doc fix.
2794
eee0d650
TK
27952014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2796
2797 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2798 (bug#16657).
2799
94e5e202
JB
28002014-02-19 Juanma Barranquero <lekktu@gmail.com>
2801
2802 * frameset.el (frameset-restore): Delay removing an old frame's
2803 duplicate id until the new frame has been correctly created.
2804
50bfdd5d
MA
28052014-02-19 Michael Albinus <michael.albinus@gmx.de>
2806
2807 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2808 (tramp-check-cached-permissions): Call `file-attributes' if the
2809 cache is empty.
2810
2811 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 2812 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2813
2814 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 2815 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2816 (tramp-gvfs-maybe-open-connection): Set always connection
2817 properties, even if target is mounted already.
2818
2819 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2820 Set tramp-autoload cookie.
2821 (tramp-get-remote-touch): New defun.
2822 (tramp-sh-handle-set-file-times): Use it.
2823 (tramp-sh-handle-directory-files-and-attributes):
2824 Use `tramp-handle-directory-files-and-attributes' if neither stat
2825 nor perl are available on the remote host.
2826
2827 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2828 "/". Write long listing only when "l" belongs to the switches.
2829
2830 * net/trampver.el: Update release number.
2831
f097a3d2
JB
28322014-02-19 Juanma Barranquero <lekktu@gmail.com>
2833
2834 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2835
8e009b78
MR
28362014-02-19 Martin Rudalics <rudalics@gmx.at>
2837
2838 * window.el (window-state-put): Allow WINDOW to refer to an
2839 internal window (Bug#16793).
2840
95160c90
GM
28412014-02-19 Glenn Morris <rgm@gnu.org>
2842
2843 * textmodes/remember.el: Move provide statement to end.
2844 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2845 (remember-notes): Doc fixes.
2846
b28df58c
SM
28472014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2848
2849 * delsel.el (delete-char): Restore incorrectly erased property
2850 (bug#16795).
2851
7108e1c0
JB
28522014-02-18 Juanma Barranquero <lekktu@gmail.com>
2853
2854 * frameset.el (frameset--restore-frame): When a frame is being reused
2855 and its root window is not alive, delete all the frame's windows before
2856 restoring the window state. This works around the issue in bug#16793.
2857
c863b6ad
GM
28582014-02-18 Glenn Morris <rgm@gnu.org>
2859
a73fae1f
GM
2860 * textmodes/remember.el (remember-data-directory)
2861 (remember-directory-file-name-format, remember-store-in-files)
2862 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2863 (remember-notes-save-and-bury-buffer)
2864 (remember-notes--kill-buffer-query): Doc fixes.
2865
c863b6ad
GM
2866 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2867
29238d28
AM
28682014-02-17 Alan Mackenzie <acm@muc.de>
2869
2870 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 2871 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 2872 to electric-indent-{,local-}-mode.
b28df58c
SM
2873 (c-basic-common-init): Set electric-indent-inhibit.
2874 Initialise c-electric-flag from electric-indent-mode.
29238d28 2875 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 2876 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
2877
2878 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 2879 hit, toggle electric-indent-local-mode.
29238d28 2880
b28df58c
SM
2881 * electric.el (electric-indent-mode-has-been-called):
2882 New variable.
29238d28 2883
c6463340
JB
28842014-02-17 Juanma Barranquero <lekktu@gmail.com>
2885
2886 * frameset.el (frameset-cfg-id): New function.
2887 (frameset--reuse-frame, frameset-restore): Use it.
2888 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2889
94912b88
SM
28902014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2891
2892 * ido.el (ido-file-internal): Remove unused var `d'.
2893 Use \` for to match BoS. Fit within 80n columns.
2894
26ea164c
DC
28952014-02-17 Daniel Colascione <dancol@dancol.org>
2896
2897 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2898 dbus-call-method check for completion using a busy-wait loop with
2899 gradual backoff.
2900
589d1988 29012014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
2902
2903 Sync with Tramp 2.2.9.
2904
2905 * net/trampver.el: Update release number.
2906
17d1b51b
DG
29072014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2908
2909 * ido.el (ido-file-internal): Don't add the name of an existing
2910 directory twice. (Bug#16747)
2911
5bcad689
GM
29122014-02-16 Glenn Morris <rgm@gnu.org>
2913
2914 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2915 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2916
29172014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
2918
2919 * progmodes/sql.el: Version 3.4
2920 (sql-oracle-options): New default value ("-L").
94912b88 2921 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 2922 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 2923 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
2924 (sql-login-delay): New variable.
2925 (sql-product-interactive): Use it.
2926
285f1858
JB
29272014-02-15 Juanma Barranquero <lekktu@gmail.com>
2928
2929 * frameset.el (frameset--jump-to-register): Check that buffer is live
2930 (bug#16749).
2931
5d645ea4
GM
29322014-02-15 Glenn Morris <rgm@gnu.org>
2933
2934 * info.el (info-initialize): Revert 2014-01-10 change.
2935
48c4f9b1
GM
29362014-02-14 Glenn Morris <rgm@gnu.org>
2937
b8630261
GM
2938 * replace.el (map-query-replace-regexp)
2939 (read-regexp-defaults-function, read-regexp): Doc fixes.
2940
b2bf2a25
GM
2941 * dired.el (dired-read-regexp):
2942 * faces.el (list-faces-display):
2943 * misearch.el (multi-isearch-read-matching-buffers)
2944 (multi-isearch-read-matching-files):
2945 * play/cookie1.el (cookie-apropos):
2946 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2947
48c4f9b1
GM
2948 * textmodes/remember.el (remember): Use frameset-to-register
2949 rather than frame-configuration-to-register.
2950
2804e0bd
JB
29512014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2952
2953 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2954 incorrect keybinding.
2955
0b87142f
DC
29562014-02-13 Daniel Colascione <dancol@dancol.org>
2957
2958 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2959 when adding overlays so that line numbers from compiler match line
2960 numbers we use.
2961
47a73eb0
GM
29622014-02-13 Glenn Morris <rgm@gnu.org>
2963
8abcfd51
GM
2964 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2965
47a73eb0
GM
2966 * jit-lock.el (jit-lock-mode): Doc fix.
2967
c9b6b262
JB
29682014-02-13 Juanma Barranquero <lekktu@gmail.com>
2969
2970 * apropos.el (apropos-read-pattern): When the user passes an empty
2971 string, give a more helpful error message than "Wrong type
2972 argument: stringp, nil".
2973
eb4c6947
SM
29742014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2977
0dab5068
GM
29782014-02-13 Glenn Morris <rgm@gnu.org>
2979
2980 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2981
59075dcf
SM
29822014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2983
2984 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2985 shift-select commands.
2986
5af9fbad
DG
29872014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2988
2989 * progmodes/js.el (js-indent-line): Don't widen.
2990 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2991
a215930c
GM
29922014-02-12 Glenn Morris <rgm@gnu.org>
2993
a8cb4247
GM
2994 * icomplete.el (icomplete): Add info-link to defgroup.
2995 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2996 (icomplete-minibuffer-map, icomplete-mode)
2997 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2998
a215930c
GM
2999 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3000 (package-menu-filter): Rename from package-menu-filter-interactive.
3001 Doc fix.
3002
26c5ecd9
JB
30032014-02-11 Juanma Barranquero <lekktu@gmail.com>
3004
3005 * frameset.el (frameset--jump-to-register): Select the required
3006 window and buffer before restoring position (bug#16696).
3007
fcd58a02
LI
30082014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3009
3010 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3011
bacb3380
GM
30122014-02-10 Glenn Morris <rgm@gnu.org>
3013
3014 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3015
881329dc
EZ
30162014-02-10 Eli Zaretskii <eliz@gnu.org>
3017
02328db9
EZ
3018 * w32-common-fns.el (x-get-selection): Doc fix.
3019 * select.el (x-get-selection): Doc fix. (Bug#15109)
3020
881329dc
EZ
3021 * face-remap.el (face-remap-add-relative)
3022 (face-remap-remove-relative, face-remap-reset-base)
3023 (face-remap-set-base): Call force-mode-line-update to redisplay
3024 the current buffer due to potential change in faces. (Bug#16709)
3025
c7db4c06
MA
30262014-02-10 Michael Albinus <michael.albinus@gmx.de>
3027
3028 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3029 script more robustly.
3030
6abe4589
LI
30312014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3032
7602b5c3
LI
3033 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3034
e3692ee0
LI
3035 * simple.el (choose-completion): Doc fix (bug#14160).
3036
41015524
LI
3037 * subr.el (event-start): Say what a nil EVENT value means.
3038
87c79dcb
LI
3039 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3040 (bug#14197).
3041
3ab49e2c
LI
3042 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3043
f3c60241
LI
3044 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3045
3bd1d8a8
LI
3046 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3047
6abe4589
LI
3048 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3049 predicate function (bug#15455).
3050
a11463de
DG
30512014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3052
3053 * ielm.el (inferior-emacs-lisp-mode): Instead of
3054 `comment-use-global-state', set `comment-use-syntax'.
3055
2ab0ad85
GM
30562014-02-10 Glenn Morris <rgm@gnu.org>
3057
3058 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3059
411141fb
AM
30602014-02-09 Alan Mackenzie <acm@muc.de>
3061
3062 Fix c-invalidate-state-cache on narrowed buffers.
3063 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3064 Widen when setting and clearing the CPP delimiter properties.
3065
d6d5fdf8
LI
30662014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3067
92c70367
LI
3068 * help.el (describe-bindings): Doc fix (bug#9888).
3069
468ef484
LI
3070 * files.el (save-buffer): Use ARG as the parameter name for
3071 consistency (bug#10346).
7e34193f 3072 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 3073
fc2b1ffa 3074 * cus-edit.el (customize-apropos): Fix error string.
382fd368 3075 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 3076 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 3077
790aceec
LI
3078 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3079
a54a7552 3080 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 3081 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 3082
dd163123
LI
3083 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3084 meaning of the parameter (bug#12282).
3085
9e108fe6
LI
3086 * files.el (find-file-noselect): Clarify prompt when changing
3087 readedness (bug#13261).
5a836f58
LI
3088 (locate-file): Suffixes aren't returned, so don't say that they
3089 are (bug#12674).
2356b316 3090 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 3091
20dda930
LI
3092 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3093 before we actually start to delete things (bug#16331).
3094
d6d5fdf8
LI
3095 * subr.el (event-start): Doc fix (bug#14228).
3096 (event-end): Ditto.
3097
2abd71e5
GM
30982014-02-09 Glenn Morris <rgm@gnu.org>
3099
3100 * emacs-lisp/warnings.el (lwarn):
3101 Empower help-enable-auto-load. (Bug#15940)
3102
c1b5900b
AS
31032014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3104
3105 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3106 (Bug#16690)
3107
429b93bd
MA
31082014-02-08 Michael Albinus <michael.albinus@gmx.de>
3109
3110 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3111 Insert output at end of buffer. (Bug#16120)
3112
b772a699
LI
31132014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3114
18c6aa8c
LI
3115 * simple.el (choose-completion-string-functions): Document new
3116 calling convention (bug#14153).
54dd147a 3117 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 3118
dce8463b
LI
3119 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3120
b772a699 3121 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 3122 (find-grep-dired): Doc fix (bug#14288).
b772a699 3123
2423c8d5
JL
31242014-02-08 Juri Linkov <juri@jurta.org>
3125
3126 * isearch.el (isearch-quote-char): Check character validity
3127 like in `quoted-insert' (bug#16677).
3128
518f26c2
LI
31292014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3130
893cc908
LI
3131 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3132
9165ffc0
LI
3133 * isearch.el (isearch-hide-immediately): Doc clarification
3134 (bug#14723).
3135
6ef4f3ce
LI
3136 * simple.el (line-move): Document utility function used many
3137 places in the Emacs sources (bug#14843).
3138
be58a238 3139 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 3140 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 3141 (dired-up-directory): Doc fix (bug#14848).
be58a238 3142
dd7aafbb
LI
3143 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3144
15cb9968
LI
3145 * files.el (file-relative-name): Doc fix (bug#15159).
3146
9788effd
LI
3147 * fringe.el (fringe-styles): Doc fix (bug#15239).
3148
c96411bd
LI
3149 * isearch.el (isearch-filter-predicate): Documentation typo fix
3150 (bug#15474).
3151
ea838c36
LI
3152 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3153
0d8a4ae7
LI
3154 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3155
f7a17bb3
LI
3156 * replace.el (replace-match-maybe-edit): Doc clarification
3157 (bug#15632).
3158
1bde5c3b
LI
3159 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3160
518f26c2
LI
3161 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3162
dd8e49fd
GM
31632014-02-08 Glenn Morris <rgm@gnu.org>
3164
3165 * help-fns.el (describe-variable):
3166 Check {file,dir}-local-variables-alist, and buffer-file-name,
3167 in the correct buffer.
3168
7e088b29
IL
31692014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3170
3171 * help-fns.el (describe-variable): Fix the case where
3172 a value is directory-local with no dir-locals file. (Bug#16635)
3173
41a4a82f
GM
31742014-02-08 Glenn Morris <rgm@gnu.org>
3175
3176 * abbrev.el (edit-abbrevs-mode):
3177 Derive from fundamental-mode. (Bug#16682)
3178
e255a703
JB
31792014-02-07 Juanma Barranquero <lekktu@gmail.com>
3180
3181 * simple.el (quoted-insert): Check character validity (bug#16677).
3182
c99cf5ee
JL
31832014-02-07 Juri Linkov <juri@jurta.org>
3184
3185 * desktop.el (desktop-read): Claim the lock when the owner is not
3186 the current process. (Bug#16157)
3187
7d7a68d8
JL
31882014-02-07 Juri Linkov <juri@jurta.org>
3189
3190 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3191 to "\\` ". (Bug#16651)
3192
2b777cd9
JL
31932014-02-07 Juri Linkov <juri@jurta.org>
3194
3195 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3196 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3197 (desktop-auto-save-cancel-timer): New function with some code from
3198 `desktop-auto-save-set-timer'.
3199 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3200 Instead of setting `desktop-save-mode' to nil, call
3201 `desktop-save-mode' with arg 0. (Bug#16630)
3202
60eabbb9
GM
32032014-02-07 Glenn Morris <rgm@gnu.org>
3204
99cf3859
GM
3205 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3206 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3207 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3208
2b568bc9
GM
3209 * obsolete/iswitchb.el: Move to obsolete/.
3210 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3211 since obsolete/ is not scanned for autoloads.
3212 * emacs-lisp/authors.el (authors-valid-file-names):
3213 Add iswitchb.el.
3214
60eabbb9
GM
3215 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3216 Disable now non-functional find-file-hook.
3217
629de968
MA
32182014-02-06 Michael Albinus <michael.albinus@gmx.de>
3219
3220 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3221 instead of ";" in order to avoid additional prompts. Let heredoc
3222 scripts read from tty. (Bug#16582)
3223 (tramp-send-command): No special handling of heredocs, it isn't
3224 necessary anymore.
3225
29127376
SM
32262014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3229 with a space (bug#16664). Limit the symbols considered to the ones
3230 that are bound or fbound (bug#16646).
3231
79b6e0a9
GM
32322014-02-06 Glenn Morris <rgm@gnu.org>
3233
3234 * epa.el (epa-mail-aliases): Doc fix.
3235
a333e4d2
DG
32362014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3237
29127376
SM
3238 * emacs-lisp/lisp.el (lisp-completion-at-point):
3239 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
3240 (bug#16604).
3241
3242 * minibuffer.el (completion-table-merge): New function.
3243
9a83b32b
MA
32442014-02-05 Michael Albinus <michael.albinus@gmx.de>
3245
3246 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3247 (tramp-sh-handle-set-file-acl)
3248 (tramp-sh-handle-start-file-process)
3249 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3250 (tramp-find-executable, tramp-send-command): Use it.
3251
451ea3e6
GM
32522014-02-05 Glenn Morris <rgm@gnu.org>
3253
9a83b32b 3254 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 3255
dd27d13b
FEG
32562014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3257
35e951cd 3258 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
3259 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3260
08e41897
AL
32612014-02-04 Anders Lindgren <andlind@gmail.com>
3262
3263 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3264 the names (bug#16620).
3265
764ec9e5
MR
32662014-02-03 Martin Rudalics <rudalics@gmx.at>
3267
08e41897
AL
3268 * faces.el (window-divider): New default value. Rewrite doc-string.
3269 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 3270
6da8227c
DG
32712014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3272
3273 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3274 `protected' and `public' can also be called without arguments.
3275
6a6b8e40
GM
32762014-02-03 Glenn Morris <rgm@gnu.org>
3277
7bcbca40
GM
3278 * register.el (window-configuration-to-register)
3279 (frame-configuration-to-register): Unadvertise unused argument.
3280 * frameset.el (frameset-to-register): Remove unused argument.
3281
719d965d 3282 * frameset.el (frameset-to-register):
6a6b8e40
GM
3283 * kmacro.el (kmacro-to-register):
3284 * register.el (increment-register):
3285 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3286 (calc-append-to-register, calc-prepend-to-register):
3287 * play/gametree.el (gametree-layout-to-register)
3288 (gametree-apply-register-layout):
3289 * textmodes/picture.el (picture-clear-rectangle-to-register)
3290 (picture-yank-rectangle-from-register):
3291 * vc/emerge.el (emerge-combine-versions-register):
3292 Use register-read-with-preview to read registers.
3293
5dca7759
JT
32942014-02-03 João Távora <joaotavora@gmail.com>
3295
3296 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3297 when at beginning of (possibly narrowed) buffer.
3298
709085b9
DC
32992014-02-02 Daniel Colascione <dancol@dancol.org>
3300
c295fc18 3301 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 3302 Also try to display local help from just before point.
709085b9 3303
99f7b0a6
AM
33042014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3305
3306 c-parse-state. Don't "append-lower-brace-pair" in certain
3307 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3308 recognised as a comment.
3309
3310 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3311 as well as normal comment starter.
3312 (c-parse-state-get-strategy): Extra return possibility
3313 'back-and-forward.
3314 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3315 return value list to indicate replacement of a brace-pair cons
3316 with its car.
3317 (c-parse-state-1): With 'back-and-forward, only call
3318 c-append-lower-brace-pair-to state-cache when cons-separated.
3319
f0a10576
JD
33202014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3321
3322 * term/ns-win.el (ns-suspend-error): New function.
3323 (ns-initialize-window-system): Add ns-suspend-error to
3324 suspend-hook (Bug#16612).
3325
b8d552c2
DC
33262014-02-02 Daniel Colascione <dancol@dancol.org>
3327
35e951cd
JB
3328 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3329 Make loading cc-mode silent.
b8d552c2 3330
f2b7d123
DC
33312014-02-02 Daniel Colascione <dancol@dancol.org>
3332
35e951cd
JB
3333 * comint.el (comint-prompt-read-only): Change doc to suggest
3334 remap keybinding.
f2b7d123 3335
4472a196
GM
33362014-02-02 Glenn Morris <rgm@gnu.org>
3337
3338 * register.el (register-read-with-preview, point-to-register)
3339 (window-configuration-to-register, frame-configuration-to-register)
3340 (jump-to-register, number-to-register, view-register, insert-register)
3341 (copy-to-register, append-to-register, prepend-to-register)
3342 (copy-rectangle-to-register): Doc fixes.
3343
70e5a261
SM
33442014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3345
3346 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3347 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3348 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3349 * help-fns.el (describe-function-1): Use it.
3350
7c324762
GM
33512014-02-02 Glenn Morris <rgm@gnu.org>
3352
3353 * register.el (register-preview-default): New function,
3354 split from register-preview.
3355 (register-preview-function): Rename from register-preview-functions,
3356 make it not a hook.
3357 (register-preview): Use register-preview-function.
3358 (register-read-with-preview): Error on non-character event. (Bug#16595)
3359
a09beb3d
DG
33602014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3361
3362 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3363 `:' before binary operators (bug#16609). Don't check for `:'
3364 before `[' and `(', or their syntax status. A percent literal
3365 can't end with either.
68e004e0
DG
3366 (ruby-font-lock-keywords): For built-ins that require arguments,
3367 check that they're followed by something that looks like argument
3368 (bug#16610).
a09beb3d 3369
ed4d2875
LI
33702014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3371
3372 * subr.el (butlast): Document what an omitted N means (bug#13437).
3373 (nbutlast): Ditto.
3374
dba6e3ec
LI
33752014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3376
3377 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3378 depth shallower (bug#16587).
cc477daa
LI
3379 (shr-tag-svg): Respect `shr-inhibit-images'.
3380 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 3381
e2a67bd0
DG
33822014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3383
3384 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3385 (ruby-smie-grammar): Make "." right-associative. Make its priority
3386 lower than the ternary and all binary operators.
3387 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
3388 parent, or the first "." parent at indentation.
3389 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
3390 (Bug#16593)
3391
bd21bf41
JL
33922014-01-31 Juri Linkov <juri@jurta.org>
3393
3394 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3395 from `make-hash-table'.
3396
3397 * textmodes/ispell.el (ispell-init-process): Change message format
3398 to be consistent with other messages.
3399
b7e615b9
GM
34002014-01-31 Glenn Morris <rgm@gnu.org>
3401
a69ecd19
GM
3402 * delsel.el (delete-selection-mode): Doc fix.
3403
9997d7e3
GM
3404 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3405 (trace-function-background): Doc fixes.
3406
fbb764b8
GM
3407 * ido.el (ido-use-virtual-buffers): Doc fix.
3408 Reset :version, since the default value has not changed.
3409
da942af1
GM
3410 * register.el (register-preview-delay, register-read-with-preview):
3411 Doc fixes.
3412
b7e615b9
GM
3413 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3414 do not mess with mail-buffer position (fixes 2009-11-03 change).
3415 * progmodes/cc-mode.el (c-submit-bug-report):
3416 Check auto-fill-mode is bound. (Bug#16592)
3417
0a25002d
DH
34182014-01-31 Darren Hoo <darren.hoo@gmail.com>
3419
3420 * startup.el (fancy-splash-image-file): New function,
3421 split from fancy-splash-head.
3422 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3423 so that we are both using the same image. (Bug#16574)
3424
ad78f432
GM
34252014-01-30 Glenn Morris <rgm@gnu.org>
3426
6bbc0c84
GM
3427 * simple.el (eval-expression): Doc fix.
3428
ad78f432
GM
3429 * hexl.el (hexl-mode-hook):
3430 * ielm.el (ielm-mode-hook):
3431 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3432 (lisp-interaction-mode-hook):
20f39add 3433 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
3434 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3435
7b2f049c
SM
34362014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3439 is a symbol (bug#16584).
3440
0c633f13
GM
34412014-01-30 Glenn Morris <rgm@gnu.org>
3442
3443 * help.el (help-for-help-internal): Add "P" to text.
3444
5e61c1ef
GM
34452014-01-29 Glenn Morris <rgm@gnu.org>
3446
3447 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3448
1dcb169c
MR
34492014-01-28 Martin Rudalics <rudalics@gmx.at>
3450
3451 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3452 height constraints.
3453
a9128931
LL
34542014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3455
3456 * progmodes/hideif.el: Extend to full CPP expression syntax.
3457 (hif-token-alist): Add missing tokens.
3458 (hif-token-regexp): Add support for float/octal/hex immediates.
3459 (hif-string-literal-regexp): New const.
3460 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3461 (hif-exprlist): New function.
3462 (hif-parse-if-exp): Use it.
3463 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3464 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3465 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3466 (hif-logxor, hif-comma): New functions.
3467
a22359a7
GM
34682014-01-28 Glenn Morris <rgm@gnu.org>
3469
793ffe81
GM
3470 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3471
e3bd7eed
GM
3472 * indent.el (tab-stop-list): Doc fix. Add :version.
3473
a22359a7
GM
3474 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3475 (cvs-append-to-ignore): Add compatibility alias.
3476
52695556 34772014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 3478
bac524e0
GM
3479 * dired.el (dired-hide-details-mode): Don't autoload it,
3480 since it cannot be used outside Dired buffers anyway.
3481
52695556 3482 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 3483
52695556
GM
3484 * dired.el (dired-hide-details-hide-symlink-targets)
3485 (dired-hide-details-hide-information-lines)
3486 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
3487
3488 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3489 * strokes.el (strokes-file): Doc fix. Bump :version.
3490 (strokes-help): Doc fix.
3491 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3492 * emulation/viper.el (viper): Doc fix for custom group.
3493 (top-level): Remove oh-so-no-longer-relevant text about vip.
3494 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3495
3496 * ido.el (ido-save-directory-list-file):
3497 * saveplace.el (save-place-file):
3498 * calendar/timeclock.el (timeclock-file):
3499 * net/quickurl.el (quickurl-url-file):
3500 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3501 * progmodes/idlwave.el (idlwave-config-directory):
3502 * textmodes/remember.el (remember-data-file):
3503 Bump :version.
3504
169d6004
GM
35052014-01-26 Glenn Morris <rgm@gnu.org>
3506
de6a923b
GM
3507 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3508 Doc fix. Make obsolete.
3509 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3510
169d6004
GM
3511 * sort.el (delete-duplicate-lines): Doc fix.
3512
ed85dee6
RS
35132014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3514
3515 * progmodes/ada-mode.el (ada):
3516 * woman.el (woman): Link to info manual and Commentary section.
3517
3518 * progmodes/flymake.el (flymake):
3519 * nxml/nxml-mode.el (nxml):
3520 * net/eww.el (eww):
3521 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3522 * htmlfontify.el (htmlfontify):
3523 * ses.el (ses):
3524 * epa.el (epa):
3525 * ido.el (ido): Link to info manual.
3526
e0c67e1d
LL
35272014-01-25 Leo Liu <sdl.web@gmail.com>
3528
3529 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3530
35408b1a
AS
35312014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3532
3533 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3534 (bug#16537).
3535
76c3fa95
JB
35362014-01-24 Juanma Barranquero <lekktu@gmail.com>
3537
f77c7a99
JB
3538 * net/eww.el (eww-download-callback):
3539 Fix reference to eww-download-directory.
3540
76c3fa95
JB
3541 * emacs-lisp/bytecomp.el (byte-compile-file):
3542 Remove unused local variable `file-name'.
3543
1e548e40
GM
35442014-01-24 Glenn Morris <rgm@gnu.org>
3545
03f3b318
GM
3546 * woman.el (woman-default-faces, woman-monochrome-faces):
3547 Fix obsolescence specification.
3548
1e548e40
GM
3549 * subr.el (with-demoted-errors): Doc fix.
3550
d4f0427b
SM
35512014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3554 (cl--macroexp-fboundp): New function.
3555 (cl--make-type-test): Use it.
3556
1670e27f
GM
35572014-01-23 Glenn Morris <rgm@gnu.org>
3558
3559 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3560 * simple.el (eval-expression): Doc fixes.
3561
80efa207
GM
35622014-01-22 Glenn Morris <rgm@gnu.org>
3563
3564 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3565
29afcbab
SM
35662014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3567
3568 * emacs-lisp/package.el: Write files silently.
3569 (package-autoload-ensure-default-file, package--write-file-no-coding)
3570 (package-generate-description-file, package--download-one-archive)
3571 (package-install-from-archive): Tell `write-region' to stay quiet.
3572 (package-menu-mode, package-menu--print-info): Omit the Archive column
3573 if there's only one archive.
3574 (package-all-keywords, package--has-keyword-p): Remove dead code.
3575
2a5bce4f
GM
35762014-01-22 Glenn Morris <rgm@gnu.org>
3577
edace89f
GM
3578 * version.el (emacs-bzr-version-bzr): Fix typo.
3579
2a5bce4f
GM
3580 * version.el (emacs-repository-get-version):
3581 Check either .bzr or .git, but not both.
3582 Make the git case actually use the DIR argument, and return nil
3583 rather than the empty string.
983664c0 3584 Avoid error if .git exists but the git executable is not found.
2a5bce4f 3585
6cb4da45
MR
35862014-01-22 Martin Rudalics <rudalics@gmx.at>
3587
3588 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
3589 * window.el (window-total-size, window-size): New argument ROUND.
3590 (window--min-delta-1, window-min-delta, window--max-delta-1):
3591 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
3592 columns a window can shrink (Bug#16430).
3593 (fit-window-to-buffer): Simplify code.
3594 * term.el (term-window-width): Call window-body-width again.
3595
cc0f2ece
GM
35962014-01-22 Glenn Morris <rgm@gnu.org>
3597
7b997b14
GM
3598 * image.el (image-format-suffixes): Doc fix.
3599
44e76f9d
GM
3600 * international/quail.el (quail-define-package): Doc fix.
3601
35e951cd 3602 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 3603 (authors-renamed-files-alist): Additions.
7bfc1caa 3604
85a5f61f
GM
3605 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3606 reverts 2014-01-09 change. (Bug#16422)
3607
cc0f2ece
GM
3608 * calc/calc-embed.el (thing-at-point-looking-at):
3609 * emacs-lisp/map-ynp.el (x-popup-dialog):
3610 * obsolete/lmenu.el (x-popup-dialog):
3611 * emacs-lisp/package.el (url-recreate-url):
3612 * mail/mailclient.el (clipboard-kill-ring-save):
3613 * subr.el (x-popup-dialog): Update declaration.
3614 * mail/rmail.el (rmail-mime-message-p):
3615 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3616
00d2a6bb
DC
36172014-01-21 Daniel Colascione <dancol@dancol.org>
3618
3619 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3620 Correctly detect when we're inside an arithmetic expansion form
3621 containing nested parenthesis.
c295fc18 3622 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
3623 to detect cases where we shouldn't expand "<<" to a heredoc
3624 skeleton.
3625
dd9d2e9d
SM
36262014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3627
3628 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3629 (eldoc--message-command-p): New function.
3630 (eldoc-display-message-p): Use it.
3631 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3632 message is not automatically erased for us.
3633 (eldoc-print-current-symbol-info): Erase previous message, if any.
3634
e7d807ca
TH
36352014-01-21 Tassilo Horn <tsdh@gnu.org>
3636
4ff0a0e5
TH
3637 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3638 specify it's an interactive function.
3639
dd9d2e9d
SM
3640 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3641 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
3642 citations with optional arguments.
3643
87503791
LL
36442014-01-21 Leo Liu <sdl.web@gmail.com>
3645
3646 * simple.el (read--expression): Don't enable eldoc-mode.
3647
6cc750ee
SM
36482014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * simple.el (move-beginning-of-line): Make sure we don't move forward
3651 (bug#16497).
3652
71f16bda
JL
36532014-01-20 Juri Linkov <juri@jurta.org>
3654
3655 * saveplace.el (toggle-save-place, save-place-to-alist)
3656 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3657 'dired-mode) before checking for dired-directory. (Bug#16477)
3658
3c5a4839
JL
36592014-01-20 Juri Linkov <juri@jurta.org>
3660
3661 * indent.el (indent-line-to): Use backward-to-indentation
3662 instead of back-to-indentation. (Bug#16461)
3663
f952002e
PE
36642014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3665
3666 Revert some of the CANNOT_DUMP fix (Bug#16494).
3667 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3668 but fixing this can wait until after the next release.
3669 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3670
93675500
MA
36712014-01-19 Michael Albinus <michael.albinus@gmx.de>
3672
3673 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3674 Use `password-word-equivalents'.
3675 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3676 to t. (Bug#5664, Bug#13124)
3677
e3af763f
AM
36782014-01-19 Alan Mackenzie <acm@muc.de>
3679
3680 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3681 points.
3682 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 3683 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
3684 * progmodes/cc-mode.el (c-before-change, c-after-change)
3685 (c-font-lock-fontify-region): Bind it here.
3686
4ff6d92d
MR
36872014-01-19 Martin Rudalics <rudalics@gmx.at>
3688
3689 * term.el (term-window-width): Call window-text-width instead of
3690 window-width (Bug#16470).
3691
9a685cf6
PE
36922014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3693
3694 * simple.el (password-word-equivalents): Remove duplicates.
3695 Sort, to make this easier next time.
3696 Downcase. Omit ": " after "jelszó".
3697
5aa78c2d
JD
36982014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3699
3700 * term/common-win.el (saved-region-selection): Defvar it.
3701 (x-select-text): Set saved-region-selection (Bug#16382).
3702
cabb250c
GM
37032014-01-18 Glenn Morris <rgm@gnu.org>
3704
3705 * emacs-lisp/authors.el (authors-aliases)
3706 (authors-renamed-files-alist): Add some entries.
3707
a1340440
MA
37082014-01-17 Michael Albinus <michael.albinus@gmx.de>
3709
93675500
MA
3710 * net/tramp.el (tramp-password-prompt-regexp):
3711 Use `password-word-equivalents' if available.
a1340440
MA
3712 (tramp-action-password, tramp-process-one-action)
3713 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3714
681ce5d2
CY
37152014-01-17 Chong Yidong <cyd@gnu.org>
3716
3717 * simple.el (password-word-equivalents): New defcustom.
3718 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3719 to 24.4.
3720 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3721 to t. (Bug#13124)
3722
fb3d479c
DG
37232014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3724
3725 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
3726 (ruby-align-to-stmt-keywords): Change the default value.
3727 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
3728 choices.
3729 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3730 keywords, check against the value of `ruby-alignable-keywords'
3731 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3732
0d613483
GM
37332014-01-17 Glenn Morris <rgm@gnu.org>
3734
fc23fe2d
GM
3735 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3736
0d613483 3737 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 3738 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
3739 (authors-ignored-files): Add some entries, remove others.
3740 (authors-ambiguous-files, authors-valid-file-names):
3741 Add some entries.
3742 (authors-renamed-files-alist): Add, remove, and adjust entries.
3743 (authors-renamed-files-regexps): Add some entries.
3744 Remove some very broad ones. Make some entries `lax'.
3745 (authors-lax-changelogs): New constant.
3746 (authors-disambiguate-file-name): Treat top-level specially.
3747 (authors-lax-changelog-p): New function.
3748 (authors-canonical-file-name): Check file as written against
3749 authors-valid-file-names. Do not special-case etc/.
3750 Handle `lax' logs and authors-renamed-files-regexps elements.
3751
2dbf4ffd
DG
37522014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3753
3754 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
3755 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3756 callers.
2dbf4ffd 3757
87b2a7f2
SM
37582014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3761 Assume we're already in the proper buffer.
3762 Inspired by Anders Lindgren <andlind@gmail.com>.
3763 (follow-post-command-hook): Call it from the right buffer.
3764 (follow-comint-scroll-to-bottom): Adjust call.
3765 (follow-all-followers): Use get-buffer-window-list.
3766
93acfb0e
DC
37672014-01-15 Daniel Colascione <dancol@dancol.org>
3768
3769 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3770 `buffer-file-name' in interactive-form so that we don't leave
3771 pathless file names in `file-name-history'.
3772
ccc6b208
JL
37732014-01-15 Juri Linkov <juri@jurta.org>
3774
3775 * indent.el (indent-rigidly): Set deactivate-mark to nil
3776 in transient indentation mode. (Bug#16438)
3777
5c92e00d
DG
37782014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3779
3780 * emacs-lisp/package.el (package-desc-keywords): New function
3781 (Bug#16222).
3782 (describe-package-1, package-all-keywords)
3783 (package--has-keyword-p): Use it.
3784
dac69660
NR
37852014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3786
3787 * simple.el (define-alternatives): When creating the
3788 COMMAND-alternatives variable, assign COMMAND as its definition
3789 name so that `describe-variable' can relocate it.
3790
8b63edf8
ML
37912014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3792
3793 * font-lock.el (font-lock-keywords): Fix typo in docstring
3794 (bug#16307).
3795
c6a0b8eb
AM
37962014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3797
3798 * ispell.el (ispell-region): Reset `in-comment' for new line
3799 instead of wrongly reset `add-coment' (bug#13577).
3800
02bf443d
DU
38012014-01-14 Daiki Ueno <ueno@gnu.org>
3802
3803 * epa-file.el (epa-file-write-region): Encode the region according
3804 to `buffer-file-format'. Problem reported at:
3805 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3806
fd7fde15
SM
38072014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3810 so it applies in the right buffer (bug#16410).
3811
c176054f
DC
38122014-01-13 Daniel Colascione <dancol@dancol.org>
3813
3814 * textmodes/rst.el (rst-define-key): Provide deprecated
3815 keybindings through named functions instead of anonymous ones so
3816 that "??" doesn't appear in describe-mode output.
3817
e3f33e5d
BG
38182014-01-13 Bastien Guerry <bzg@gnu.org>
3819
3820 * simple.el (define-alternatives): Call the selected command
3821 interactively. When setting `COMMAND--implementation' for the
3822 first time, tell the user how to chose another implementation.
3823 Enhance the docstring.
3824
c055d654
SM
38252014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3828 (log-edit--match-first-line): New function.
3829 (log-edit-font-lock-keywords): Use it.
3830 (log-edit-mode): Make jit-lock-defer-multiline work.
3831
d791cc3b
BG
38322014-01-13 Bastien Guerry <bzg@gnu.org>
3833
3834 * rect.el (rectangle-mark-mode): When the region is not active,
3835 display a message saying that the mark as been set and that
3836 rectangle mode is in use.
3837 (rectangle--highlight-for-redisplay): Only put an overlay with a
3838 visible vertical bar when (display-graphic-p) is non-nil.
3839 This partially fixes Bug#16403.
3840
3c0c4562
JL
38412014-01-13 Juri Linkov <juri@jurta.org>
3842
3843 * info.el (Info-find-file): Go to DIR before displaying the error
3844 about a nonexistent file if no previous Info file is visited.
3845 Use `user-error' instead of `error' for "Info file %s does not exist".
3846 (Info-find-node-2): In case of a nonexistent node in unwind forms
3847 go to the Top node if there is no previous node to revert to.
3848 (Bug#16405)
3849
25a700d0
MR
38502014-01-13 Martin Rudalics <rudalics@gmx.at>
3851
3852 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
3853 * window.el (fit-frame-to-buffer): Fix doc-string.
3854 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
3855 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3856 when avoiding that frame goes partially off-screen.
3857 (fit-window-to-buffer): Respect window-min-height/-width
3858 (Bug#14096).
3859
6ae948d8
SM
38602014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3861
3862 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3863 after an empty line.
3864
6137cb82
SM
38652014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * net/shr.el (shr-render-region): Autoload.
3868
e6344e17
XF
38692014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3870
3871 * net/eww.el (eww-download-directory): Rename from
3872 `eww-download-path' (Bug#16419).
3873
3b922c70
LL
38742014-01-12 Leo Liu <sdl.web@gmail.com>
3875
3876 * dired-x.el (dired-mode-map): Fix last change.
3877
3878 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3879
4fa51741
PE
38802014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3881
3882 Spelling fixes.
3883 * emacs-lisp/generic.el (generic--normalize-comments):
3884 Rename from generic--normalise-comments. All uses changed.
35e951cd 3885 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
3886 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3887 (bubbles--neighborhood-available)
3888 (bubbles--update-neighborhood-score):
3889 Rename from names with 'neighbourhood'. All uses changed.
3890
9b335362
LL
38912014-01-12 Leo Liu <sdl.web@gmail.com>
3892
3893 Re-implement the feature of showing eldoc info after editing.
3894 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3895 (eldoc-edit-message-commands): New function.
3896 (eldoc-print-after-edit): New variable.
3897 (eldoc-pre-command-refresh-echo-area): Emit message only by
3898 eldoc-message-commands.
3899 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3900 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 3901 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 3902 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 3903
e2a095b1
GM
39042014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3905 Eric S. Raymond <esr@thyrsus.com>
9685190b 3906
841a6d0c 3907 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 3908 function works correctly in either a Bazaar or Git repo.
0abf4134 3909
e2a095b1
GM
39102014-01-11 Eric S. Raymond <esr@thyrsus.com>
3911
6137cb82
SM
3912 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3913 Goes with removal of the joke manpages from /etc.
9685190b 3914
c295fc18 39152014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 3916
6137cb82
SM
3917 * mail/rmail.el (rmail-get-coding-system):
3918 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 3919
d2f16e93
GM
39202014-01-10 Glenn Morris <rgm@gnu.org>
3921
3922 * emacs-lisp/authors.el (authors-fixed-entries):
3923 Update for files that no longer exist.
3924
7e03bb32
ER
39252014-01-10 Eric S. Raymond <esr@thyrsus.com>
3926
3927 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 3928 24.3 (Tested).
7e03bb32 3929
dd806710
BB
39302014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3931
3932 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3933 and Podfile.
3934
ed6ec139
EZ
39352014-01-10 Eli Zaretskii <eliz@gnu.org>
3936
3937 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3938
cc33cac9
CY
39392014-01-10 Chong Yidong <cyd@gnu.org>
3940
6137cb82 3941 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 3942
d9d836b5
AL
39432014-01-10 Anders Lindgren <andlind@gmail.com>
3944
3945 * follow.el (follow-cache-command-list): Include right-char and
3946 left-char.
3947
06827ec8
PE
39482014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3949
3950 Spelling fixes.
3951 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3952 * woman.el (woman-mark-horizontal-position):
3953 Rename from woman-mark-horizonal-position. Use changed.
3954
458dbf5e
GM
39552014-01-10 Glenn Morris <rgm@gnu.org>
3956
dad6fae7
GM
3957 * info.el (info-initialize): If running uninstalled, ensure our
3958 own info files are always found first, even if INFOPATH is set.
3959
458dbf5e
GM
3960 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3961
05e0afce
DE
39622014-01-09 David Engster <deng@randomsample.de>
3963
3964 * emacs-lisp/eieio-custom.el:
3965 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3966 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3967 * emacs-lisp/eieio.el: Regenerate autoloads.
3968
f29778b3
ER
39692014-01-09 Eric S. Raymond <esr@thyrsus.com>
3970
3971 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 3972 following renames. (Bug#8756)
f29778b3 3973
684d44ef
SM
39742014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3977 (bug#16382).
3978 (activate-mark): Add `no-tmm' argument.
3979 (set-mark, push-mark-command): Use it instead of running
3980 activate-mark-hook by hand.
3981
9475054f
ER
39822014-01-08 Eric S. Raymond <esr@thyrsus.com>
3983
3984 In preparation for the move to git, sanitize out some
3985 Bazaar-specific names.
3986
38942b9c
GM
3987 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3988
9475054f 3989 * version.el (emacs-bzr-version): Name changed to
689c9ca5 3990 emacs-repository-version. Obsolete-variable alias made.
9475054f 3991 * loadup.el: Follow through on this name change.
a12bf61e 3992 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
3993 assumption about the version control system in use.
3994
0f918d96 39952014-01-08 David Engster <deng@randomsample.de>
abb82152 3996
684d44ef
SM
3997 * help-fns.el (help-fns-describe-function-functions):
3998 New variable to call functions for augmenting help buffers.
abb82152
DE
3999 (describe-function-1): Remove explicit calls to
4000 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
4001 `help-fns--obsolete'. Put them in above new variable instead, and
4002 call them through `run-hook-with-args'.
4003 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4004 `eieio-describe-class'. Not meant for interactive use anymore,
4005 but to augment existing help buffers. Remove optional second
684d44ef
SM
4006 argument. Create proper button for file location.
4007 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
4008 possible.
4009 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4010 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
4011 (describe-method, describe-generic, eieio-describe-method):
4012 Remove aliases.
0f918d96
DE
4013 (eieio-help-constructor, eieio-help-generic): Rename from
4014 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4015 Rewrite to use `insert' in the current buffer and use proper help
4016 buttons.
4017 (eieio-help-find-method-definition)
4018 (eieio-help-find-class-definition): Also accept symbols as
4019 arguments.
4020 (eieio-help-mode-augmentation-maybee): Remove.
4021 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
4022 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4023 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 4024
136b74c5
PE
40252014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4026
4027 Spelling fixes.
4028 * language/china-util.el (hz-ascii-designation):
4029 Rename from hz-ascii-designnation.
4030 (hz-ascii-designation): Rename from hz-ascii-designnation.
4031 All uses changed.
4032
ec6c7de2
SM
40332014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4036 package-alist.
4037
d6262c7c
BG
40382014-01-08 Bastien Guerry <bzg@gnu.org>
4039
4b9e6087
GM
4040 * emacs-lisp/package.el (package-delete):
4041 Correctly delete the package from package-alist.
d6262c7c 4042
0a3eec32
DU
40432014-01-08 Daiki Ueno <ueno@gnu.org>
4044
4045 * emacs-lisp/package.el (url-recreate-url): Declare.
4046 (url-http-target-url): Declare.
4b9e6087 4047 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
4048 (package--check-signature): Don't re-signal errors from
4049 package--with-work-buffer. Suggested by Stefan Monnier.
4050
68f0bb97
BG
40512014-01-07 Bastien Guerry <bzg@gnu.org>
4052
4053 * minibuffer.el (completion--try-word-completion): When both a
4054 hyphen and a space are possible candidates for the character
4055 following a word, display both candidates. (Bug#15980)
4056
7e1899d7
MR
40572014-01-07 Martin Rudalics <rudalics@gmx.at>
4058
4059 * window.el (balance-windows-2): While rounding don't give a
c295fc18 4060 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 4061
0030ec15
GM
40622014-01-07 Glenn Morris <rgm@gnu.org>
4063
4064 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4065 (menu-bar-help-menu): Use view-external-packages instead.
4066
2b6b4f20
BG
40672014-01-07 Bastien Guerry <bzg@gnu.org>
4068
4069 * emacs-lisp/package.el (package-delete): Also delete the package
4070 name from `package-alist', not its description only.
4071
e9be0a13
GM
40722014-01-07 Glenn Morris <rgm@gnu.org>
4073
4074 * help.el (view-external-packages):
4075 * menu-bar.el (menu-bar-help-extra-packages):
4076 Visit efaq.info rather than etc/MORE.STUFF.
4077
e4f74da9
JL
40782014-01-07 Juri Linkov <juri@jurta.org>
4079
4080 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4081 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4082
4083 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4084 that shadows RET. (Bug#16342)
4085
de7ce2d1
CY
40862014-01-07 Chong Yidong <cyd@gnu.org>
4087
4088 * isearch.el (isearch-yank-char, isearch-yank-word)
4089 (isearch-yank-line): Doc fix.
4090
6bdd9204
SM
40912014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4092
4093 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4094 * emacs-lisp/elint.el (elint-find-builtins):
4095 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4096 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4097 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4098 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4099 * apropos.el (apropos-safe-documentation):
4100 * subr.el (symbol-file): Remove redundant fboundp.
4101 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4102
daccca97
BG
41032014-01-06 Bastien Guerry <bzg@gnu.org>
4104
4105 * hl-line.el (global-hl-line-overlay): Make a local variable.
4106 (global-hl-line-overlays): New variable to store all overlays.
4107 (global-hl-line-mode): Don't delete overlays from the current
4108 buffer when `global-hl-line-sticky-flag' is non-nil.
4109 (global-hl-line-highlight): Add new overlays to
4110 `global-hl-line-overlays'.
4111 (global-hl-line-unhighlight-all): New function to delete all
4112 overlays when turning off `global-hl-line-mode'.
4113 This fixes Bug#16183.
4114
ec00f20f
SM
41152014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4116
4117 * subr.el (set-transient-map): Fix nested case and docstring.
4118
a0031f97
TH
41192014-01-06 Tassilo Horn <tsdh@gnu.org>
4120
4121 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4122 `Texinfo' entry.
4123
bf6a77f3
DC
41242014-01-06 Daniel Colascione <dancol@dancol.org>
4125
4126 Fix defun navigation in vc log view.
4127
4128 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4129 like `beginning-of-defun'.
c295fc18 4130 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
4131 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4132 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 4133 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 4134 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 4135
d5081c1e
PE
41362014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4137
4138 Spelling fixes.
4139 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4140 * emacs-lisp/debug.el (cancel-debug-on-entry):
4141 * epg.el (epg-error-to-string):
4142 * files.el (recover-file):
4143 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4144 * mail/emacsbug.el (report-emacs-bug-hook):
4145 * mail/sendmail.el (mail-recover):
4146 * ses.el (ses-yank-resize):
4147 * term/ns-win.el (ns-print-buffer):
4148 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4149 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4150 All uses changed.
4151 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4152
53f6b148
LL
41532014-01-06 Leo Liu <sdl.web@gmail.com>
4154
4155 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 4156 to avoid shadowing global key. (Bug#16354)
53f6b148 4157
b82ace2f
DC
41582014-01-06 Daniel Colascione <dancol@dancol.org>
4159
4160 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4161 rst-mode.
4162
3669b636
MR
41632014-01-05 Martin Rudalics <rudalics@gmx.at>
4164
4165 * window.el (balance-windows): Add mising t to fix Bug#16351.
4166
1a29adc2
LMI
41672014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4168
4169 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4170 (bug#16285).
3d95a0f4
LMI
4171 (shr-insert): If we have a word that's longer than `shr-width',
4172 break after it anyway. Otherwise we'll do no breaking once we get
4173 such a long word.
1a29adc2 4174
f4018140
KN
41752014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4176
3fcfc4ee 4177 * net/eww.el (eww): Support single/double quote for search.
c295fc18 4178 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
4179 (eww-history-quit): Delete and use quit-window.
4180 (eww-history-kill): Delete, because it doesn't work well and
4181 not necessary.
4182 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 4183
4e619754
PE
41842014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4185
73dbf960
PE
4186 Fix misspelling of 'chinese' in rx (Bug#16237).
4187 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4188 chinese-two-byte.
4189
4e619754
PE
4190 Change subword regexps back to vars (Bug#16296).
4191 * progmodes/subword.el (subword-forward-regexp)
4192 (subword-backward-regexp): Change these back to variables.
4193
e18b70fc
SM
41942014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4195
4196 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4197 syntax-begin-function (bug#16247).
4198
0d53f628
CY
41992014-01-03 Chong Yidong <cyd@gnu.org>
4200
4201 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4202 (advice--docstring): Delete variable.
4203 (advice--make-1): Leave the docstring empty.
4204 (advice-add): Use function-documentation for advised docstring.
4205
4206 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4207 Ignore function-documentation property when getting documentation.
4208 (ad-activate-advised-definition): Use function-documentation
4209 generate the docstring.
4210 (ad-make-advised-definition): Don't call
4211 ad-make-advised-definition-docstring.
4212 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4213 Delete functions.
4214
4215 * progmodes/sql.el (sql-help): Use function-documentation instead
4216 of dynamic-docstring-function property. No need to autoload now.
4217 (sql--help-docstring): New variable.
4218 (sql--make-help-docstring): Use it.
4219
6f547583
SM
42202014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4221
6ef9aed8
SM
4222 * ielm.el (ielm-tab): Retarget.
4223 (ielm-map): Use ielm-tab for tab.
4224 (ielm-complete-filename): Use comint-filename-completion.
4225 (ielm-complete-symbol): Remove.
4226 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4227 remove ielm-tab from completion-at-point-functions (bug#16224).
4228
6f547583
SM
4229 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4230 Beware signals raised by predicates (bug#16201).
4231
a574edbe
RS
42322014-01-02 Richard Stallman <rms@gnu.org>
4233
e831604d
RS
4234 * dired-aux.el (dired-do-print): Handle printer-name.
4235
6f547583
SM
4236 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4237 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
4238 (rmail-epa-decrypt): Turn off mime processing.
4239
3fcfc4ee 4240 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
4241 Add parens in message-id.
4242
4243 * mail/rmail.el (rmail-get-coding-function): Variable.
4244 (rmail-get-coding-system): Use it.
4245
04311a16
KH
42462013-12-31 Eli Zaretskii <eliz@gnu.org>
4247
4248 * international/mule-conf.el: Unify the charset indian-is13194.
4249 (indian-is13194): Specify unify-map.
4250
c8d89778
LL
42512013-12-31 Leo Liu <sdl.web@gmail.com>
4252
4253 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4254
e63ace37
DC
42552013-12-30 Daniel Colascione <dancol@dancol.org>
4256
9e0bf19a
DC
4257 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4258 of printing a useless when we resume from sleep.
4259
e63ace37 4260 * progmodes/sh-script.el
c295fc18 4261 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
4262 in indentation code. (Bug#16233)
4263
e9d6c46a
JT
42642013-12-28 João Távora <joaotavora@gmail.com>
4265
6f547583
SM
4266 * elec-pair.el (electric-pair-post-self-insert-function):
4267 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 4268
bf7bea5d
EZ
42692013-12-28 Eli Zaretskii <eliz@gnu.org>
4270
4271 * frame.el (window-system-for-display): Don't allow to create a
4272 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4273
8449dd1f
GM
42742013-12-28 Glenn Morris <rgm@gnu.org>
4275
9c5a5c77
GM
4276 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4277 Update callers.
4278
4279 * apropos.el (apropos-match-face):
4280 * calculator.el (calculator-displayer):
4281 * dabbrev.el (dabbrev-search-these-buffers-only):
4282 * face-remap.el (buffer-face-mode-face):
4283 * simple.el (yank-handled-properties):
4284 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4285 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4286 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4287 (hashcash-double-spend-database):
4288 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4289 (ruby-deep-indent-paren-style):
4290 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4291 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4292 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4293 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4294 Specify custom types.
4295
bb098075
GM
4296 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4297 * bookmark.el (bookmark-bmenu-use-header-line):
4298 * doc-view.el (doc-view-scale-internally):
4299 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4300 * register.el (register-preview-delay):
4301 * net/shr.el (shr-bullet):
4302 * progmodes/cfengine.el (cfengine-cf-promises)
4303 (cfengine-parameters-indent):
4304 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4305 * textmodes/reftex-vars.el (reftex-label-regexps):
4306 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4307
9c61f806
GM
4308 * net/tls.el (tls-certtool-program): Fix default value.
4309
4310 * desktop.el (desktop-restore-in-current-display):
4311 * newcomment.el (comment-empty-lines):
4312 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4313 (idlwave-pad-keyword):
4314 * progmodes/tcl.el (tcl-tab-always-indent):
4315 * textmodes/reftex-vars.el (reftex-index-default-tag):
4316 * elec-pair.el (electric-pair-skip-whitespace):
4317 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4318
8449dd1f
GM
4319 * emacs-lisp/authors.el (authors-ignored-files)
4320 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4321
fdadeb49
JC
43222013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4323
72140a0f
GM
4324 * shell.el (shell-dynamic-complete-command): Doc fix.
4325 (shell--command-completion-data): Shell completion now matches
4326 executable filenames from the current buffer's directory, on
da5ecfa9 4327 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 4328
e572a7d8
LI
43292013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4330
4331 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4332
7514d3f8
SM
43332013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4334
a4151f3b
SM
4335 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4336 (bug#16251).
4337
7514d3f8
SM
4338 * electric.el: Move all electric-pair-* to elec-pair.el.
4339 * elec-pair.el: New file, split from electric.el.
4340
ac5758d1
LI
43412013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4342
4343 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4344 indentation level is larger than the width, because that will
4345 infloop.
4346 (shr-insert): Fill repeatedly long texts, so that Japanese is
4347 formatted correctly (bug#16263).
24a6b65e
LI
4348 (shr-find-fill-point): Off by one error in comparison with the
4349 indentation.
ac5758d1 4350
7514d3f8 43512013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
4352
4353 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 4354 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
4355 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4356 if that keeps or improves their balance in buffers.
4357 (electric-pair-delete-adjacent-pairs): Delete the pair when
4358 backspacing over adjacent matched delimiters.
4359 (electric-pair-open-extra-newline): Open extra newline when
4360 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
4361 (electric--sort-post-self-insertion-hook):
4362 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
4363 minor-modes are activated.
4364 * simple.el (newline-and-indent): Call newline with interactive
4365 set to t.
4366 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
4367 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4368 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4369 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
4370 electric-pair-open-newline-between-pairs to nil.
4371
fbcc63a3
FEG
43722013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4373
4374 * progmodes/python.el: Use lexical-binding.
4375 (python-nav-beginning-of-defun): Stop searching ASAP.
4376
ed78d16c
XF
43772013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4378
4379 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4380 Fix interactive spec. Doc fix. (Bug#15754)
4381
38b2c142
KY
43822013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4383
4384 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 4385 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
4386 Fix edebug spec (bug#16184).
4387
3c856c14
LI
43882013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4389
83fa295c 4390 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
4391 (shr-insert): Don't infloop if we can't find a good place to break
4392 the line (bug#16256).
3c856c14 4393
01379221
FEG
43942013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4395
35e951cd 4396 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
4397 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4398 python-nav-lisp-forward-sexp-safe.
4399 (python-nav--forward-sexp): New argument SAFE allows switching
4400 forward sexp movement behavior for parens.
4401 (python-nav-forward-sexp): Throw errors on unterminated parens
4402 (Bug#16191).
4403 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4404 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
4405 (python-shell-buffer-substring):
4406 Use `python-nav-forward-sexp-safe'.
01379221 4407
99e4926f
LI
44082013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4409
4410 * net/shr.el (shr-find-fill-point): Don't break lines before a
4411 quotation mark.
c6c20584
LI
4412 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4413 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 4414 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 4415
fec0e828
KN
44162013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4417
4418 * net/eww.el (eww-form-textarea): Use a different face for
4419 textareas than text input since they have different keymaps
4420 (bug#16142).
4421
89c868ad
FEG
44222013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4423
7514d3f8
SM
4424 * progmodes/python.el (python-nav-beginning-of-statement):
4425 Speed up (Bug#15295).
89c868ad 4426
eeef121a
LI
44272013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4428
4429 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4430 the window configuration.
4431
121ea65f
EZ
44322013-12-24 Eli Zaretskii <eliz@gnu.org>
4433
4434 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4435 we run on MS-Windows or MS-DOS.
4436
18cee9ec
MR
44372013-12-24 Martin Rudalics <rudalics@gmx.at>
4438
4439 * window.el (balance-windows-area): Call window-size instead of
4440 window-height and window-width. Bug#16241.
4441
58f2b9a5
LI
44422013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4443
4444 * net/eww.el (eww-bookmark-quit): Remove.
4445 (eww-bookmark-browse): Restore the window configuration when you
4446 choose a bookmark (bug#16144).
4447
d64b6308
DC
44482013-12-24 Daniel Colascione <dancol@dancol.org>
4449
4450 * icomplete.el: Remove redundant :group arguments to `defcustom'
4451 throughout.
4452 (icomplete-show-matches-on-no-input): New customizable variable.
4453 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4454 we have something to show.
7514d3f8 4455 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 4456
0da54898
DC
44572013-12-23 Daniel Colascione <dancol@dancol.org>
4458
4459 * icomplete.el: Move `provide' to end of file.
4460
b90aa4f4
TZ
44612013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4462
4463 * net/gnutls.el (gnutls-verify-error): Add version tag.
4464
8cd22a08
CY
44652013-12-23 Chong Yidong <cyd@gnu.org>
4466
4467 * subr.el (set-transient-map): Rename from
4468 set-temporary-overlay-map. Doc fix.
4469
4470 * face-remap.el (text-scale-adjust):
4471 * indent.el (indent-rigidly):
4472 * kmacro.el (kmacro-call-macro):
4473 * minibuffer.el (minibuffer-force-complete):
4474 * repeat.el (repeat):
4475 * simple.el (universal-argument--mode):
4476 * calendar/todo-mode.el (todo-insert-item--next-param):
4477 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4478
7510b021
CY
4479 * indent.el (indent-rigidly): Use substitute-command-keys.
4480
72140a0f 44812013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
4482
4483 * net/eww.el (eww-tag-select): Add text-property to jump to next
4484 select field.
e9dc713d 4485 (eww): Add non-supported ftp error.
56890ecd 4486
1f87a56c
DG
44872013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4488
4489 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4490 comments. Handle electric indent after typing `?' and `!'.
4491
dca38cf9
CY
44922013-12-22 Chong Yidong <cyd@gnu.org>
4493
4494 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
4495 applicable to a frame, fall back on the defface spec.
4496 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 4497
f2351498
DG
44982013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4499
4500 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4501 after `{'. We need it after block openers, and it doesn't seem
4502 to hurt after hash openers.
4503
6cddebc1
DG
45042013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4505
4506 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4507 extracted from `ruby-smie-rules'.
4508 (ruby--electric-indent-chars): New variable.
4509 (ruby--electric-indent-p): New function.
4510 (ruby-mode): Use `electric-indent-functions' instead of
4511 `electric-indent-chars'.
4512
65a1da00
DG
45132013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4514
4515 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4516 docstring.
4517 (ruby-smie-rules): Indent plus one level after `=>'.
4518
b51ad4cf
RS
45192013-12-21 Richard Stallman <rms@gnu.org>
4520
4521 * simple.el (newline): Doc fix.
4522
72140a0f 45232013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 4524
e9dc713d 4525 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
4526 (eww-history-browse, eww-history-quit, eww-history-kill)
4527 (eww-history-mode-map, eww-history-mode): New command and
4528 functions to list browser histories.
e9dc713d
JB
4529 (eww-form-text): Support text form with disabled
4530 and readonly attributes.
4531 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 4532
5e1901c1
RS
45332013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4534
4535 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4536 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4537 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4538 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4539 Use `user-error'.
4540 (eww-bookmark-mode-map): Add menu.
4541 (eww-render, eww-mode): Use `setq-local'.
4542 (eww-tool-bar-map): New variable.
4543 (eww-mode): Set `tool-bar-map'.
4544 (eww-view-source): Check for `html-mode' with `fboundp'.
4545
073d5cfd
LMI
45462013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4547
4548 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4549 elements with text inside. Also remove debugging.
4550
41cf3d11
JD
45512013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4552
4553 * cus-start.el (all): Add ns-use-srgb-colorspace.
4554
aac2b673
CY
45552013-12-21 Chong Yidong <cyd@gnu.org>
4556
4557 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4558 undefined. Thus, theme settings for undefined faces do not take
4559 effect until the faces are defined with defface, the same as with
4560 theme variables.
4561
4562 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4563 (face-spec-reset-face): Don't assign extra properties in temacs.
4564 (face-spec-recalc): Apply X resources too.
4565
bacb0e77
CY
45662013-12-21 Chong Yidong <cyd@gnu.org>
4567
4568 * faces.el (face-spec-set):
4569 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4570 * custom.el (defface): Doc fixes (Bug#16203).
4571
77221051
CY
4572 * indent.el (indent-rigidly-map): Add docstring, and move commands
4573 into named functions.
4574 (indent-rigidly-left, indent-rigidly-right)
4575 (indent-rigidly-left-to-tab-stop)
4576 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4577 indentation direction based on bidi direction, and accumulate
4578 sequential commands in a single undo boundary.
4579 (indent-rigidly--pop-undo): New utility function.
4580
e0eb0550
JB
45812013-12-20 Juanma Barranquero <lekktu@gmail.com>
4582
4583 * faces.el (read-face-name): Require crm.el when using crm-separator.
4584
3282bd2e
DC
45852013-12-20 Daniel Colascione <dancol@dancol.org>
4586
4587 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4588 so that we don't reflow comments into the shebang line.
4589
1d42e5b6
JL
45902013-12-20 Juri Linkov <juri@jurta.org>
4591
4592 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4593 a position when `dired-directory' is non-nil. Check integer
4594 positions with `integerp'.
4595 (toggle-save-place, save-places-to-alist): Add check for
4596 `dired-directory'.
4597 (save-place-find-file-hook): Check integer positions with
4598 `integerp'.
4599 (save-place-dired-hook): Use `dired-goto-file' when
4600 `dired-filename' is found in the assoc list. Check integer
4601 positions with `integerp'.
4602 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4603
4604 * dired.el (dired-initial-position-hook): Rename back from
4605 `dired-initial-point-hook'.
4606 (dired-initial-position): Rename `dired-initial-point-hook' to
4607 `dired-initial-position-hook'.
4608 (dired-file-name-at-point): Doc fix. (Bug#15329)
4609
24da7273
JL
46102013-12-20 Juri Linkov <juri@jurta.org>
4611
4612 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4613 (read-regexp-suggestions): New function.
4614 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4615 Use `read-regexp-suggestions'. Add non-empty default to history
4616 for empty input.
4617 (occur-read-regexp-defaults-function): Remove function.
4618 (occur-read-primary-args): Use `regexp-history-last' instead of
4619 `occur-read-regexp-defaults-function'.
4620
4621 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4622 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4623 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4624 `hi-lock-read-regexp-defaults-function'. Doc fix.
4625 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4626 with `find-tag-default-as-symbol-regexp'. Doc fix.
4627 (hi-lock-read-regexp-defaults): Remove function.
4628 (hi-lock-regexp-okay): Add check for null.
4629
4630 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4631 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4632
4633 * subr.el (find-tag-default-as-symbol-regexp): New function.
4634 (find-tag-default-as-regexp): Move symbol regexp formatting to
4635 `find-tag-default-as-symbol-regexp'.
4636
137f57c8
S
46372013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4638
4639 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4640 (Bug#14179)
4641
f3a66082
SB
46422013-12-20 Stephen Berman <stephen.berman@gmx.net>
4643
4644 * calendar/todo-mode.el: New implementation of item insertion
4645 commands and key bindings.
4646 (todo-key-prompt): New face.
4647 (todo-insert-item): New command.
4648 (todo-insert-item--parameters): New defconst, replacing defvar
4649 todo-insertion-commands-args-genlist.
4650 (todo-insert-item--param-key-alist): New defconst, replacing
4651 defvar todo-insertion-commands-arg-key-list.
4652 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4653 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4654 (todo-insert-item--next-param): New functions.
4655 (todo-insert-item--args, todo-insert-item--argleft)
4656 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4657 New variables.
4658 (todo-key-bindings-t): Change binding of "i" from
4659 todo-insertion-map to todo-insert-item.
4660 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4661 (todo-insertion-command-name, todo-insertion-commands-names)
4662 (todo-define-insertion-command, todo-insertion-commands)
4663 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4664
2f99433b
SB
46652013-12-20 Stephen Berman <stephen.berman@gmx.net>
4666
4667 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4668 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4669 eval-when-compile.
4670 (todo-move-category): Allow choosing a non-existing todo file to
4671 move the category to, and create that file.
4672 (todo-default-priority): New user option.
4673 (todo-set-item-priority): Use it.
4674 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4675 (desktop-restore-file-buffer): Declare.
4676 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4677 (todo-modes-set-2): Locally set desktop-save-buffer to
4678 todo-desktop-save-buffer.
4679 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4680 (auto-mode-alist): Add autoload cookie.
4681
131e4695
BB
46822013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4683
4684 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4685 helpers.el was a poor choice of name.
3cbfb935
BB
4686 (string-remove-prefix): New function.
4687 (string-remove-suffix): New function.
131e4695 4688
c44de18d
MR
46892013-12-20 Martin Rudalics <rudalics@gmx.at>
4690
4691 Fix assignment for new window total sizes.
4692 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
4693 (window--pixel-to-total-1, window--pixel-to-total):
4694 Fix calculation of new total sizes.
c44de18d 4695
ca65efcc
VS
46962013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4697
4698 * comint.el (comint-output-filter): Fix rear-nonsticky property
4699 placement (Bug#16010).
4700
a9574eb7
CY
47012013-12-20 Chong Yidong <cyd@gnu.org>
4702
4703 * faces.el (read-color): Minor fix for completion function.
4704
b520f210
DG
47052013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4706
e0eb0550
JB
4707 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4708 New option. (Bug#16182)
b520f210
DG
4709 (ruby-smie--indent-to-stmt-p): Use it.
4710 (ruby-smie-rules): Revert the logic in the handling of `when'.
4711 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4712 (ruby-deep-arglist, ruby-deep-indent-paren)
4713 (ruby-deep-indent-paren-style): Update docstrings to note that the
4714 vars don't have any effect with SMIE.
4715
26b75b45
JB
47162013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4717
4718 * calc/calc.el (calc-enter, calc-pop): Use the variable
4719 `calc-context-sensitive-enter'.
4720
cf91cee7
LMI
47212013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4722
4723 * net/shr.el (shr-insert): Protect against infloops in degenerate
4724 tables.
4725
51d971b4
RS
47262013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4727
4728 * progmodes/octave.el (octave): Add link to manual and octave
4729 homepage.
4730 (octave-mode-menu): Link to octave-mode manual.
4731
8c2e462a
LL
47322013-12-20 Leo Liu <sdl.web@gmail.com>
4733
4734 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4735 insertion using skeleton-end-newline. (Bug#16138)
4736
501158bc
JL
47372013-12-20 Juri Linkov <juri@jurta.org>
4738
4739 * replace.el (occur-engine): Use `add-face-text-property'
4740 to add the face property to matches and titles. (Bug#14645)
4741
4742 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4743 the palette of other hi-lock colors.
4744 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4745
50ab1da6
JL
47462013-12-19 Juri Linkov <juri@jurta.org>
4747
4748 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4749 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4750 (minibuffer-history-symbol): Move variable declaration closer to
4751 its usage.
4752
4753 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4754 (Bug#14785)
4755
3d6e95e7
JL
47562013-12-19 Juri Linkov <juri@jurta.org>
4757
4758 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4759 New function.
4760 (log-edit-hook): Add it to :options. (Bug#16170)
4761
b41594fd
JL
47622013-12-19 Juri Linkov <juri@jurta.org>
4763
4764 * simple.el (eval-expression-print-format): Don't check for
4765 command names and the last command. Always display additional
4766 formats of the integer result in the echo area, and insert them
4767 to the current buffer only with a zero prefix arg.
4768 Display character when char-displayable-p is non-nil.
4769 (eval-expression): With a zero prefix arg, set `print-length' and
4770 `print-level' to nil, and insert the integer values from
4771 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4772
4773 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4774 `eval-last-sexp-arg-internal'. Doc fix.
4775 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4776 `eval-last-sexp-print-value'. Doc fix.
4777 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4778 Set `print-length' and `print-level' to nil when arg is zero.
4779 (eval-last-sexp): Doc fix.
4780 (eval-defun-2): Print the integer values from
4781 `eval-expression-print-format' at the end.
4782
4783 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4784 values from `eval-expression-print-format' at the end.
4785
4786 * ielm.el (ielm-eval-input): Print the integer
4787 values from `eval-expression-print-format' at the end.
4788
8f2be364
TZ
47892013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4790
4791 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4792 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4793
2230a6e3
SM
47942013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4797 (hl-line-highlight, global-hl-line-highlight): Use it.
4798 (hl-line-overlay): Use defvar-local.
4799
1269a680
JD
48002013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4801
4802 * term/ns-win.el: Require dnd.
4803 (global-map): Remove drag items.
4804 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
4805 (ns-set-background-at-mouse):
4806 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4807 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4808 New functions.
1269a680 4809
049638ad
GM
48102013-12-19 Glenn Morris <rgm@gnu.org>
4811
4812 * emacs-lisp/ert.el (ert-select-tests):
4813 Fix string/symbol mixup. (Bug#16121)
4814
ce41edb4
DG
48152013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4816
4817 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4818 keywords to their parent.
4819
7e1549c9
DG
48202013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4821
4822 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4823 first arg to be a string (fixed dead code), or an operator symbol.
4824 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4825 operator symbols.
4826 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4827 did nothing. Don't respond to `(:after ".")', it will be called
4828 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4829 change anything. Only return indentation for binary operators
4830 when they are hanging. De-dent opening paren when its parent is
4831 `.', otherwise it looks bad when the dot is not at bol or eol
4832 (bug#16182).
4833
3ee4cd64
JL
48342013-12-19 Juri Linkov <juri@jurta.org>
4835
4836 * replace.el (query-replace-read-args): Split a non-negative arg
4837 and a negative arg into separate elements.
4838 (query-replace, query-replace-regexp, replace-string)
4839 (replace-regexp): Add arg `backward'. Doc fix.
4840 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4841 move point to the beginning of the match.
4842 (replace-search, replace-highlight): Use new arg `backward'
4843 to set the value of `isearch-forward'.
4844 (perform-replace): Add arg `backward' and use it to perform
4845 replacement backward. (Bug#14979)
4846
4847 * isearch.el (isearch-query-replace): Use a negative prefix arg
4848 to call `perform-replace' with a non-nil arg `backward'.
4849
0cda6b7b
JL
48502013-12-18 Juri Linkov <juri@jurta.org>
4851
4852 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4853 to the default list. Move `log-edit-show-files' to the end.
4854 Add more available functions to options.
4855 (log-edit): Move default specific settings to
4856 `log-edit-insert-message-template'. Don't move point.
4857 (log-edit-insert-message-template): New function.
4858 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4859 (Bug#16170)
4860
b216f0a6
JL
48612013-12-18 Juri Linkov <juri@jurta.org>
4862
4863 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4864 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4865
1d1c55dc
LL
48662013-12-18 Leo Liu <sdl.web@gmail.com>
4867
e9dc713d
JB
4868 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4869 (Bug#16186)
1d1c55dc 4870
64e4c76e
EZ
48712013-12-18 Eli Zaretskii <eliz@gnu.org>
4872
4873 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4874 formats for displaying file sizes when the -s switch is given.
4875 Instead, compute a separate format for displaying the size in
4876 blocks, which is displayed in addition to the "regular" size.
4877 When -h is given in addition to -s, produce size in blocks in
4878 human-readable form as well. (Bug#16179)
4879
b2984e39
TH
48802013-12-18 Tassilo Horn <tsdh@gnu.org>
4881
2230a6e3
SM
4882 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4883 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 4884
50ff2e06
CY
48852013-12-18 Chong Yidong <cyd@gnu.org>
4886
0081bc84
CY
4887 * cus-edit.el (custom-magic-alist): Fix "themed" description
4888 (Bug#14348).
4889
a7ee9424
CY
4890 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4891 is non-nil, do not create a new entry in the symbol's theme-value
4892 or theme-face property; update theme-settings only (Bug#14664).
18874304 4893 (custom-available-themes): Doc fix.
a7ee9424 4894
8f942537
CY
4895 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4896 (Bug#15674).
4897
50ff2e06
CY
4898 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4899
83c60f60
KI
49002013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4901
4902 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4903 (Bug#13914).
4904
e0eb0550 49052013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
4906
4907 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4908
1f41ee56
GM
49092013-12-18 Glenn Morris <rgm@gnu.org>
4910
4911 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 4912 * cus-start.el (load-prefer-newer): New option.
1f41ee56 4913
e82134b1
LW
49142013-12-18 Le Wang <l26wang@gmail.com>
4915
2230a6e3
SM
4916 * comint.el (comint-previous-matching-input-from-input):
4917 Retain point (Bug#13404).
e82134b1 4918
33f5d4c1
CY
49192013-12-18 Chong Yidong <cyd@gnu.org>
4920
4921 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4922
ccc9f6dc
GM
49232013-12-18 Glenn Morris <rgm@gnu.org>
4924
4925 * mail/emacsbug.el (report-emacs-bug):
4926 Only mention enable-multibyte-characters if non-standard.
4927
33dd8e95
JL
49282013-12-17 Juri Linkov <juri@jurta.org>
4929
4930 * arc-mode.el (archive-extract-by-file): Check if directory exists
4931 before deletion to not show irrelevant errors if it doesn't exist.
4932
7a409b30
JL
49332013-12-17 Juri Linkov <juri@jurta.org>
4934
4935 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4936 (Bug#14751)
4937
4938 * net/eww.el (browse-web): Add alias to `eww'.
4939 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4940 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4941
4942 * net/browse-url.el (browse-url-browser-function): Move `eww'
4943 closer to similar functions.
4944
4945 * startup.el (fancy-startup-screen, fancy-about-screen):
4946 Set browse-url-browser-function to eww-browse-url locally.
4947 (Bug#14751)
4948
2d6b6005
SM
49492013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4950
4951 * window.el (window--pixel-to-total): Remove unused `mini' var.
4952 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4953 (split-window): Remove unused `new' var.
4954 (window--display-buffer): Remove unused `frame' and `delta' vars.
4955 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4956 and display-width'.
4957
cf2b7efc
MR
49582013-12-17 Martin Rudalics <rudalics@gmx.at>
4959
4960 * dired.el (dired-mark-pop-up):
4961 * register.el (register-preview): Don't bind
4962 split-height-threshold here since it's now done in
4963 display-buffer-below-selected.
4964
ed3af8a7 49652013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4966
4967 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4968 xterm-rgb-convert-to-16bit.
4969 (rxvt-register-default-colors): Standardize with
4970 xterm-register-default-colors (Bug#14078).
4971
76da3455
DK
49722013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4973
4974 * simple.el (kill-region): Pass mark first, then point, so that
4975 kill-append works right (Bug#12819).
4976 (copy-region-as-kill, kill-ring-save): Likewise.
4977
2b84d763
LL
49782013-12-17 Leo Liu <sdl.web@gmail.com>
4979
4980 * net/rcirc.el (rcirc-add-face):
4981 * eshell/em-prompt.el (eshell-emit-prompt):
4982 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4983 (Bug#16167)
4984
e2f6a0bc
CY
49852013-12-17 Chong Yidong <cyd@gnu.org>
4986
4987 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4988 Suggested by Xue Fuqiao.
4989
35b249a6
DG
49902013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4991
4992 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4993
e9145444
SM
49942013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * net/shr.el (shr-insert-document): Remove unused var
4997 `shr-preliminary-table-render'.
4998 (shr-rescale-image): Remove unused arg `force'.
4999 (shr-put-image): Update calls accordingly.
5000 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5001
5556c0ce
DG
50022013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5003
5004 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5005 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5006 :close-all, to see which indentation method to use (Bug#16116).
5007 (smie-rules-function): Document the method :close-all.
5008
11bade0a
LMI
50092013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5010
1c4b1e61
LMI
5011 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5012
11bade0a
LMI
5013 * net/eww.el (eww-display-html): If we can't find the anchor we're
5014 looking for, then go to point-min.
5015
8fb8c4f3
PE
50162013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5017
5018 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5019 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5020 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5021 Expand dir too, in case it's relative.
5022
6c8e0ae6
JL
50232013-12-16 Juri Linkov <juri@jurta.org>
5024
5025 * desktop.el (desktop-auto-save-timeout): Change default to
5026 `auto-save-timeout'. Doc fix.
5027 (desktop-save): Skip the timestamp in desktop-saved-frameset
5028 when checking for auto-save changes.
5029 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5030 `desktop-auto-save' is called repeatedly by the idle timer.
5031 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5032 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5033 (Bug#15331)
5034
2178e858
JL
50352013-12-16 Juri Linkov <juri@jurta.org>
5036
5037 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5038 (Bug#16035)
5039 (isearch-pre-command-hook): Check `this-command' for symbolp.
5040
39cb42c6
SM
50412013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5042
5043 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5044
5b9b750a
TZ
50452013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5046
5047 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5048 (cfengine3--current-function): Bring in the current-function
5049 functionality from `cfengine3--current-word'.
5050 (cfengine3-completion-function): Bring in the
5051 bounds-of-current-word functionality from
5052 `cfengine3--current-word'.
5053
d144ef06
MR
50542013-12-16 Martin Rudalics <rudalics@gmx.at>
5055
39cb42c6
SM
5056 * window.el (display-buffer-below-selected):
5057 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 5058
a8bbe298
LL
50592013-12-16 Leo Liu <sdl.web@gmail.com>
5060
5061 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5062 Remove NOMSG arg and all uses changed.
5063
2013a2f9
SM
50642013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5065
5066 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5067 (cua--deactivate-rectangle): Don't deactivate the mark.
5068 (cua-set-rectangle-mark): Don't set mark-active since
5069 cua--activate-rectangle already does it for us.
5070 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5071 non-rectangular region.
5072
5073 * emulation/cua-base.el (cua-repeat-replace-region):
5074 Use with-current-buffer.
5075
5076 * net/gnutls.el: Use cl-lib.
5077 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5078
5ae811dd
TZ
50792013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5080
5081 * emacs-lisp/package.el (package-built-in-p): Support both
5082 built-in and the package.el converted package descriptions.
5083 (package-show-package-list): Allow keywords.
5084 (package-keyword-button-action): Use it instead of
5085 `finder-list-matches'.
5086 (package-menu-filter-interactive): Interactive filtering (by
5087 keyword) function.
5088 (package-menu--generate): Support keywords and change keymappings
5089 and headers when they are given.
5090 (package--has-keyword-p): Helper function.
5091 (package-menu--refresh): Use it.
5092 (package--mapc): Helper function.
5093 (package-all-keywords): Use it.
5094 (package-menu-mode-map): Set up menu items and keybindings to
5095 provide a filtering UI.
5096
31b4827e
TZ
50972013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5098
5099 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5100 the behavior when a certificate fails validation. Defaults to
5101 old behavior: never abort, just warn.
5102 (gnutls-negotiate): Use it.
5103
f93cc74f
MR
51042013-12-14 Martin Rudalics <rudalics@gmx.at>
5105
5106 * window.el (display-buffer-below-selected): Never split window
5107 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5108
f77d7d17
TW
51092013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5110
5111 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5112 (package-buffer-info): Use it (bug#15108).
aa2bddd7 5113
7514d3f8
SM
51142013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5115
aa2bddd7 5116 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 5117 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 5118
276bc333
DG
51192013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5120
5121 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5122 open-paren tokens when preceded by a open-paren, too.
5123 (ruby-smie-rules): Handle virtual indentation after open-paren
5124 tokens specially. If there is code between it and eol, return the
5125 column where is starts (Bug#16118).
5126
d43957f3
TZ
51272013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5128
a5c1ac0c 5129 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 5130 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
5131 (cfengine3--current-word): Fix parameters.
5132 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
5133 (cfengine3-completion-function, cfengine3--current-function):
5134 Use `assq' for symbols.
d43957f3
TZ
5135 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5136
06a4f110
GM
51372013-12-13 Glenn Morris <rgm@gnu.org>
5138
5139 * loadup.el (load-path): Warn if site-load or site-init changes it.
5140 No more need to reset it when bootstrapping.
5141
978a5fda
TZ
51422013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5143
5144 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5145 locations for cf-promises.
5146 (cfengine-mode-syntax-functions-regex): New caching variable.
5147 (cfengine3-fallback-syntax): Fallback syntax for cases where
5148 cf-promises doesn't run.
5149 (cfengine3--current-word): Reimplement using
5150 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
5151 (cfengine3-completion-function, cfengine3--current-function):
5152 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
5153 (cfengine3-clear-syntax-cache): New function.
5154 (cfengine3-make-syntax-cache): Simplify and create
5155 `cfengine-mode-syntax-functions-regex' on demand.
5156 (cfengine3-format-function-docstring): Don't call
5157 `cfengine3-make-syntax-cache' explicitly.
5158
71e6691e
MR
51592013-12-13 Martin Rudalics <rudalics@gmx.at>
5160
5161 Fix windmove-find-other-window broken after pixelwise resizing
5162 (Bug#16017).
5163 * windmove.el (windmove-other-window-loc): Revert change from
5164 2013-12-04.
5165 (windmove-find-other-window): Call window-in-direction.
5166 * window.el (window-in-direction): New arguments SIGN, WRAP and
5167 MINI to emulate original windmove-find-other-window behavior.
5168
84c73ba0
DG
51692013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5170
5171 * simple.el (blink-matching--overlay): New variable.
5172 (blink-matching-open): Instead of moving point, highlight the
5173 matching paren with an overlay
5174 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5175
5176 * faces.el (paren-showing-faces, show-paren-match)
5177 (show-paren-mismatch): Move from paren.el.
5178
b9e20952
LL
51792013-12-13 Leo Liu <sdl.web@gmail.com>
5180
5181 * indent.el (indent-region): Disable progress reporter in
5182 minibuffer. (Bug#16108)
5183
5184 * bindings.el (visual-order-cursor-movement): Fix version.
5185
ce030451
FEG
51862013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5187
5188 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5189 Also match after beginning of line.
5190 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 5191 files. Thanks to Russell Sim. (Bug#15378)
ce030451 5192
4a9c6865
JL
51932013-12-13 Juri Linkov <juri@jurta.org>
5194
5195 * simple.el <Keypad support>: Remove key bindings duplicated
5196 with bindings.el. (Bug#14397)
5197
2bc170c3
JL
51982013-12-13 Juri Linkov <juri@jurta.org>
5199
5200 * comint.el (comint-mode-map): Replace `delete-char' with
5201 `delete-forward-char'. (Bug#16109)
5202
bc9222c9
FEG
52032013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5204
aa2bddd7 5205 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 5206 Fix de-denters cornercase. (Bug#15731)
bc9222c9 5207
cb3a1380
SM
52082013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5211 (advice--make): Pay attention to `depth'.
5212 (advice--make-1): Don't autoload commands eagerly.
5213 * emacs-lisp/elp.el (elp-instrument-function):
5214 * emacs-lisp/trace.el (trace-function-internal):
5215 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5216
5217 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5218
01633a17
EZ
52192013-12-12 Eli Zaretskii <eliz@gnu.org>
5220
5221 * term/w32-win.el (w32-handle-dropped-file):
5222 * startup.el (normal-top-level):
5223 * net/browse-url.el (browse-url-file-url):
5224 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5225 decode file names using 'utf-8' rather than
5226 file-name-coding-system.
5227
09faee72
FEG
52282013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5229
5230 * progmodes/python.el (python-indent-context)
5231 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 5232 behavior for comment blocks. (Bug#15916)
09faee72 5233
f4f84024 52342013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 5235
cb3a1380
SM
5236 * progmodes/python.el (python-indent-calculate-indentation):
5237 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
5238 operators when they are just string constituents. (Bug#15812)
5239
d5ccb7be
JL
52402013-12-12 Juri Linkov <juri@jurta.org>
5241
5242 * uniquify.el (uniquify-buffer-name-style): Change default to
5243 `post-forward-angle-brackets'.
5244
5245 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5246 `uniquify'. Change default to `post-forward-angle-brackets'.
5247
7b3f5679
GM
52482013-12-11 Glenn Morris <rgm@gnu.org>
5249
5250 * emacs-lisp/package.el (finder-list-matches):
5251 Autoload rather than falsely declaring.
5252
f4fe8fdd
TZ
52532013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5254
5255 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5256 (eww-mode-map): Use them.
5257
3c29190f
MR
52582013-12-11 Martin Rudalics <rudalics@gmx.at>
5259
5260 * window.el (display-buffer-in-side-window): Fix doc-string
5261 (Bug#16115).
5262
0cd616a2
JB
52632013-12-11 Juanma Barranquero <lekktu@gmail.com>
5264
5265 * vc/vc-git.el: Silence byte-compiler warnings.
5266 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5267 (log-edit-set-header): Declare.
5268
3ef8e0d1
EZ
52692013-12-11 Eli Zaretskii <eliz@gnu.org>
5270
5271 * Makefile.in (custom-deps, finder-data): Run output file names
5272 through unmsys--file-name. (Bug#16099)
5273
afdadaf7
SM
52742013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5275
7ae3ae39 5276 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 5277 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 5278
5b4f37ab
SM
5279 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5280 instead of deleting the selection "by hand" (bug#16098).
5281 Rely on insert-for-yank to yank rectangles.
5282 (cua-highlight-region-shift-only): Mark obsolete.
5283 (cua-mode): Don't enable/disable transient-mark-mode,
5284 shift-select-mode (cua-mode works both with and without them), and
5285 pc-selection-mode (obsolete).
5286 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5287 (cua--deactivate-rectangle): Deactivate it.
5288
4b72c12b
SM
5289 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5290 (delete-selection-helper): Make sure yank starts at the top of the
5291 deleted region.
5292 (minibuffer-keyboard-quit): Use region-active-p.
5293
e82af72d
SM
5294 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5295
afdadaf7
SM
5296 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5297 to `delete' (bug#16109).
5298
ed4bc201
RS
52992013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5300
5301 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5302 info manual and show keybindings and set `:group' keyword.
5303
bb8097b9
JL
53042013-12-11 Juri Linkov <juri@jurta.org>
5305
5306 * delsel.el (delete-active-region): Let-bind `this-command'
5307 to prevent `kill-region' from changing its original value.
5308 (delete-selection-helper): Handle `overwrite-mode' for the type
5309 `kill' exactly the same way as for the type `t'.
5310 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5311 Support more commands. (Bug#13312)
5312
c1916ff5
JL
53132013-12-11 Juri Linkov <juri@jurta.org>
5314
5315 * bindings.el: Map kp keys to non-kp keys systematically
5316 with basic modifiers control, meta and shift. (Bug#14397)
5317
7514d3f8 53182013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
5319
5320 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5321 "Close browser" menu items. Fix wrong function of "List
5322 bookmarks".
5323
4cc51eaf
JL
53242013-12-11 Juri Linkov <juri@jurta.org>
5325
5326 * misearch.el (multi-isearch-buffers): Set the value of
5327 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5328 arg of isearch-forward to t.
5329 (multi-isearch-buffers-regexp): Set the value of
5330 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5331 arg of isearch-forward-regexp to t.
5332 (multi-isearch-files): Set the value of
5333 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5334 arg of isearch-forward to t.
5335 (multi-isearch-files-regexp): Set the value of
c295fc18 5336 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
5337 arg of isearch-forward-regexp to t. (Bug#16035)
5338
5339 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5340 arg of isearch-forward to t.
5341 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5342 arg of isearch-forward-regexp to t.
5343 (dired-isearch-filter-filenames): Remove unnecessary check for
5344 `dired-isearch-filenames'.
5345
5346 * comint.el (comint-history-isearch-backward):
5347 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5348 (comint-history-isearch-backward-regexp):
5349 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5350
ceac12b7
EZ
53512013-12-10 Eli Zaretskii <eliz@gnu.org>
5352
5353 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5354 unmsys--file-name. (Bug#16099)
5355
5a565782
TZ
53562013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5357
cb3a1380
SM
5358 * emacs-lisp/package.el (package-keyword-button-action):
5359 Remove finder.el require dependency.
5a565782 5360
a81fc7ba
TZ
53612013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5362
5363 * emacs-lisp/package.el: Require finder.el.
5364 (describe-package-1): Add keyword buttons.
5365 (package-make-button): New convenience function.
5366 (package-keyword-button-action): Keyword button action using
e0eb0550 5367 `finder-list-matches'.
a81fc7ba 5368
6aaca951
EZ
53692013-12-09 Eli Zaretskii <eliz@gnu.org>
5370
5371 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5372 last commit.
5373
a1099a91
MA
53742013-12-09 Michael Albinus <michael.albinus@gmx.de>
5375
5376 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5377 symlinked files.
5378
8212d9c0
DG
53792013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5380
5381 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5382 after the end of a percent literal.
5383
8f48d131
CD
53842013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5385
cb3a1380
SM
5386 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5387 Handle caret-delimited strings (Bug#16079).
8f48d131 5388
ff8c9764
DG
53892013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5390
cb3a1380
SM
5391 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5392 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
5393 `ruby-parse-partial' (Bug#16078).
5394
d64643b4
LL
53952013-12-09 Leo Liu <sdl.web@gmail.com>
5396
5397 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5398
47e59c66
DG
53992013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5400
5401 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5402 (js-switch-indent-offset): New option.
5403 (js--proper-indentation): Use it. And handle the case when
5404 "default" is actually a key in an object literal.
5405 (js--same-line): New function.
5406 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
5407 (js--indent-in-array-comp, js--array-comp-indentation):
5408 New functions.
47e59c66
DG
5409 (js--proper-indentation): Use them, to handle array comprehension
5410 continuations.
5411
974ebc9c
LL
54122013-12-08 Leo Liu <sdl.web@gmail.com>
5413
5414 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5415 (flymake-make-overlay): Remove arg MOUSE-FACE.
5416 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5417
27262e39
SM
54182013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5421 New function.
5422 (redisplay-highlight-region-function): Use it.
5423
5424 * emulation/cua-base.el (cua--explicit-region-start)
5425 (cua--last-region-shifted): Remove.
5426 (cua--deactivate): Use deactivate-mark.
5427 (cua--pre-command-handler-1): Don't handle shift-selection.
5428 (cua--post-command-handler-1): Don't change transient-mark-mode.
5429 (cua--select-keymaps): Use region-active-p rather than
5430 cua--explicit-region-start or cua--last-region-shifted.
5431 (cua-mode): Enable shift-select-mode.
5432
6407822c
LL
54332013-12-08 Leo Liu <sdl.web@gmail.com>
5434
27262e39
SM
5435 * progmodes/flymake.el (flymake-popup-current-error-menu):
5436 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
5437 (flymake-posn-at-point-as-event, flymake-popup-menu)
5438 (flymake-make-emacs-menu): Remove. (Bug#16077)
5439
00a2b823
SM
54402013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5441
02033d49
SM
5442 * rect.el (rectangle-mark-mode): Activate mark even if
5443 transient-mark-mode is off (bug#16066).
5444 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5445 is > mark and at bolp.
5446
6f8dfccf
SM
5447 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5448 (region-extract-function): Use it.
5449 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5450 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5451 Delete functions.
5452 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5453 kill-ring-save, kill-region, delete-char, delete-forward-char.
5454 Ignore self-insert-iso.
5455
5456 * emulation/cua-gmrk.el (cua--init-global-mark):
5457 Ignore `self-insert-iso'.
5458
5459 * emulation/cua-base.el (cua--prefix-copy-handler)
5460 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5461 checking cua--rectangle.
5462 (cua-delete-region): Use region-extract-function.
5463 (cua-replace-region): Delete function.
5464 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5465 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5466 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5467 (cua--init-keymaps): Don't remap delete-selection commands.
5468 (cua-mode): Use delete-selection-mode instead of rolling our own
5469 (bug#16085).
5470
5471 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5472 Obey region-extract-function.
5473
00a2b823
SM
5474 Make registers and delete-selection-mode work on rectangles.
5475 * register.el (describe-register-1): Don't modify the register's value.
5476 (copy-to-register): Obey region-extract-function.
5477 * delsel.el (delete-active-region): Obey region-extract-function.
5478
a92fa5f1
LL
54792013-12-08 Leo Liu <sdl.web@gmail.com>
5480
5481 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5482 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5483 (flymake-compilation-prevents-syntax-check)
5484 (flymake-start-syntax-check-on-newline)
5485 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5486 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5487 (flymake-xml-program, flymake-master-file-dirs)
5488 (flymake-master-file-count-limit)
5489 (flymake-allowed-file-name-masks): Relocate.
5490 (flymake-makehash, flymake-float-time)
5491 (flymake-replace-regexp-in-string, flymake-split-string)
5492 (flymake-get-temp-dir): Remove.
5493 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5494 (flymake-current-row, flymake-selected-frame)
5495 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5496 related functions. (Bug#16077)
5497
73c8ceea
BB
54982013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5499
5500 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5501
faec28d9
TH
55022013-12-07 Tassilo Horn <tsdh@gnu.org>
5503
5504 * help-fns.el (describe-function-1): Use new advice-* functions
5505 rather than old ad-* functions. Fix function type description and
5506 source links for advised functions and subrs.
5507
e330b646
LMI
55082013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5509
00a2b823 5510 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 5511
4803595d
MA
55122013-12-06 Michael Albinus <michael.albinus@gmx.de>
5513
5514 * progmodes/compile.el (compilation-start):
5515 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5516
5517 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5518 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5519
fa834a93
DG
55202013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5521
00a2b823
SM
5522 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5523 Touch up the last change.
fa834a93 5524
b2856a6f
LL
55252013-12-06 Leo Liu <sdl.web@gmail.com>
5526
5527 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5528 (inferior-octave-startup): Always use "octave> " for prompt.
5529 (octave-goto-function-definition)
5530 (octave-sync-function-file-names)
5531 (octave-find-definition-default-filename): Remove redundant backquotes.
5532
af67e79a
DG
55332013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5534
5535 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5536 syntax for `?'.
5537 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5538 where appropriate already.
5539 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5540 end of method names (Bug#15874).
5541
bf093209
JL
55422013-12-06 Juri Linkov <juri@jurta.org>
5543
5544 * isearch.el (isearch--saved-overriding-local-map):
5545 New internal variable.
5546 (isearch-mode): Set it to the initial value of
5547 `overriding-terminal-local-map'.
5548 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5549 with `isearch--saved-overriding-local-map'. (Bug#16035)
5550
16588fad
DG
55512013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5552
00a2b823
SM
5553 * progmodes/octave.el (inferior-octave-completion-table):
5554 Turn back into function, use `completion-table-with-cache'
16588fad
DG
5555 (Bug#11906). Update all references.
5556
5557 * minibuffer.el (completion-table-with-cache): New function.
5558
bf4906d7
CD
55592013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5560
5561 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5562
ff69c18f
TZ
55632013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5564
5565 * net/eww.el (eww-current-source): New variable to store page
5566 source.
5567 (eww-display-html, eww-mode, eww-save-history)
5568 (eww-restore-history): Use it.
5569 (eww-view-source): New command to view page source.
5570 Opportunistically uses `html-mode' to highlight the buffer.
5571 (eww-mode-map): Install it.
5572
b85eff45
MA
55732013-12-05 Michael Albinus <michael.albinus@gmx.de>
5574
5575 * net/dbus.el (dbus-unregister-service)
5576 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5577 Fix docstring.
5578 (dbus-unregister-service): Skip :serial entries in
5579 `dbus-registered-objects-table'.
5580 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5581
39eb0899
TZ
55822013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5583
5584 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5585 around keywords with extra `split-string' argument.
5586
456760a5
MR
55872013-12-04 Martin Rudalics <rudalics@gmx.at>
5588
5589 * windmove.el (windmove-other-window-loc): Handle navigation
5590 between windows (excluding the minibuffer window - Bug#16017).
5591
81961e4c
MA
55922013-12-04 Michael Albinus <michael.albinus@gmx.de>
5593
5594 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5595 in D-Bus type syntax.
5596 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5597 preserve unibyte strings. (Bug#16048)
5598
8497f938
SM
55992013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5602 Call force-mode-line-update is the proper buffer (bug#16042).
5603
dda61916
DG
56042013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5605
5606 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5607 `log-edit-remember-comment', make argument optional. Adjust all
5608 callers.
5609 (log-edit-mode): Add `log-edit-remember-comment' to
5610 `kill-buffer-hook' locally.
5611 (log-edit-kill-buffer): Don't remember comment explicitly since
5612 the buffer is killed anyway.
5613
c085e5b9
JL
56142013-12-04 Juri Linkov <juri@jurta.org>
5615
5616 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5617 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5618
e0eb0550 56192013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
5620
5621 * notifications.el (notifications-close-notification): Call the
81961e4c 5622 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 5623
39fa32d6
KY
56242013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5625
5626 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5627
9139632a
JL
56282013-12-03 Juri Linkov <juri@jurta.org>
5629
5630 * progmodes/compile.el (compilation-start): Rename window alist
5631 entry `no-display-ok' to `allow-no-window'.
5632
5633 * simple.el (shell-command): Add window alist entry
5634 `allow-no-window' to `display-buffer'.
5635 (async-shell-command): Doc fix.
5636
5637 * window.el (display-buffer-no-window): New action function.
5638 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5639
0f457a37
DG
56402013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5641
5642 * vc/log-edit.el (log-edit-set-header): Extract from
5643 `log-edit-toggle-header'.
5644 (log-edit-extract-headers): Separate the summary, when extracted
5645 from header, from the rest of the message with an empty line.
5646
5647 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5648 line, if present, to the Summary header.
5649
0962f376
SM
56502013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5651
5652 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5653 in current-buffer (bug#16029).
5654
f345395c
HE
56552013-12-02 Helmut Eller <eller.helmut@gmail.com>
5656
5657 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5658 (debugger-mode-map): Bind it.
5659 (debugger--backtrace-base): New function.
5660 (debugger-eval-expression): Use it.
5661 (debugger-frame-number): Skip local vars when present.
5662 (debugger--locals-visible-p, debugger--insert-locals)
5663 (debugger--show-locals, debugger--hide-locals): New functions.
5664
a8a15d9d
MA
56652013-12-02 Michael Albinus <michael.albinus@gmx.de>
5666
5667 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5668 "LC_ALL".
5669 (tramp-get-remote-locale): New defun.
5670 (tramp-open-connection-setup-interactive-shell): Use it.
5671
0518b057
LL
56722013-12-02 Leo Liu <sdl.web@gmail.com>
5673
5674 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5675
5676 * progmodes/sh-script.el (sh-shell-process):
5677 * progmodes/octave.el (inferior-octave-process-live-p):
5678 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5679 (gdb-inferior-io-sentinel):
5680 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5681
3adc9c6d
DG
56822013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5683
5684 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5685 `save-selected-window' to `log-edit-hide-buf'. This makes
5686 `log-edit-show-files' idempotent.
5687 (log-edit-show-files): Mark the new window as dedicated.
5688
47e8b74e
DG
56892013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5690
5691 * vc/log-edit.el (log-edit-mode-map): Add binding for
5692 `log-edit-kill-biffer'.
5693 (log-edit-hide-buf): Add a FIXME comment.
5694 (log-edit-add-new-comment): New function, extracted from
5695 `log-edit-done'.
5696 (log-edit-done, log-edit-add-to-changelog): Use it.
5697 (log-edit-kill-buffer): New command.
5698
1f6e1bb0
LMI
56992013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5700
5701 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5702 instead of killing the buffer.
5703
fb651d15
SM
57042013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5707
8feacce0
RS
57082013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5709
fb651d15 5710 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 5711 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
5712 (eww-form-checkbox, eww-toggle-checkbox):
5713 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5714
e0eb0550 5715 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 5716 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 5717 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
5718 no :src tag was specified.
5719
fb651d15 5720 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
5721 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5722 Use \\` to match beginning of string instead of ^.
5723 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 5724 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 5725
177948a5
RS
5726 * net/shr.el (shr-tag-video): Display content for video if no
5727 poster is available.
eb2dd24d 5728 (shr-tag-audio): Add support for <audio> tag.
177948a5 5729
e0eb0550 5730 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
5731 (eww-process-text-input): Treat input types in
5732 `eww-text-input-types' as text.
5733
8feacce0
RS
5734 * net/shr.el (shr-tag-table): Fix comment typo.
5735
513562a1
LMI
57362013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5737
5738 * net/eww.el (eww-follow-link): New command to avoid reloading
5739 pages when we follow #target links (bug#15243).
de8a5633 5740 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 5741
9dd99753
KN
57422013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5743
5744 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5745 forms.
5746
3e9876de
LMI
57472013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5748
5749 * net/eww.el (eww-restore-history): Update the window title after
5750 moving in the history.
ab6dea82 5751 (eww-current-dom): New variable used to save the current DOM.
3e9876de 5752
52789f7f
DG
57532013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5754
5755 * vc/log-edit.el (log-edit-mode-map): Add binding for
5756 `log-edit-beginning-of-line'.
5757 (log-edit-setup-add-author): New user option.
5758 (log-edit-beginning-of-line): New command.
5759 (log-edit): Move major mode call above the contents setup so that
5760 the local variable values are already applied.
5761 (log-edit): Only insert "Author: " when
5762 `log-edit-setup-add-author' is non-nil.
5763 (log-edit): When SETUP is non-nil, position point after ": "
5764 instead of point-min.
5765
2e6710c3
GM
57662013-12-01 Glenn Morris <rgm@gnu.org>
5767
5768 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5769
fadec31f
EZ
57702013-11-30 Eli Zaretskii <eliz@gnu.org>
5771
5772 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 5773 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
5774 visible. (Bug#16014)
5775
10634b40 57762013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
5777
5778 Support resizing frames and windows pixelwise.
5779 * cus-start.el (frame-resize-pixelwise)
5780 (window-resize-pixelwise): New entries.
5781 * emacs-lisp/debug.el (debug): Use window-total-height instead
5782 of window-total-size.
5783 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
5784 * help.el (describe-bindings-internal): Use help-buffer as
5785 argument for with-help-window.
880e6158
MR
5786 (temp-buffer-max-width): New option.
5787 (resize-temp-buffer-window, help-window-setup)
5788 (with-help-window): Rewrite.
5789 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5790 dragging dividers.
5791 * window.el (frame-char-size, window-min-pixel-height)
5792 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5793 (window-min-pixel-width, window-safe-min-pixel-size)
5794 (window-combination-p, window-safe-min-size)
5795 (window-resizable-p, window--size-to-pixel)
5796 (window--pixel-to-size, window--resize-apply-p): New functions.
5797 (window-safe-min-height): Fix doc-string.
5798 (window-size, window-min-size, window--min-size-1)
5799 (window-sizable, window-sizable-p, window--min-delta-1)
5800 (window-min-delta, window--max-delta-1, window-max-delta)
5801 (window--resizable, window--resizable-p, window-resizable)
5802 (window-full-height-p, window-full-width-p, window-at-side-p)
5803 (window--in-direction-2, window-in-direction)
5804 (window--resize-reset-1, window--resize-mini-window)
5805 (window-resize, window-resize-no-error)
5806 (window--resize-child-windows-normal)
5807 (window--resize-child-windows, window--resize-siblings)
5808 (window--resize-this-window, window--resize-root-window)
5809 (window--resize-root-window-vertically)
5810 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5811 (maximize-window, minimize-window, delete-window)
5812 (quit-restore-window, window-split-min-size, split-window)
5813 (balance-windows-2, balance-windows)
5814 (balance-windows-area-adjust, balance-windows-area)
5815 (window--state-get-1, window-state-get, window--state-put-1)
5816 (window--state-put-2, window-state-put)
fb651d15
SM
5817 (display-buffer-record-window, window--display-buffer):
5818 Make functions handle pixelwise sizing of windows.
880e6158 5819 (display-buffer--action-function-custom-type)
fb651d15
SM
5820 (display-buffer-fallback-action):
5821 Add display-buffer-in-previous-window.
880e6158
MR
5822 (display-buffer-use-some-window): Resize window to height it had
5823 before.
5824 (fit-window-to-buffer-horizontally): New option.
5825 (fit-frame-to-buffer): Describe new values.
5826 (fit-frame-to-buffer-bottom-margin): Replace with
5827 fit-frame-to-buffer-margins.
5828 (window--sanitize-margin): New function.
5829 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5830 using window-text-pixel-size.
5831
f9b697dd
GM
58322013-11-30 Glenn Morris <rgm@gnu.org>
5833
3e2fb4db
GM
5834 * emacs-lisp/bytecomp.el (byte-compile-form):
5835 Make the `interactive-only' warning like the `obsolete' one.
5836 * comint.el (comint-run):
5837 * files.el (insert-file-literally, insert-file):
5838 * replace.el (replace-string, replace-regexp):
5839 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5840 (goto-line, insert-buffer, next-line, previous-line):
5841 Tweak `interactive-only' spec.
5842
f9b697dd
GM
5843 Stop keeping (most) generated cedet grammar files in the repository.
5844 * Makefile.in (semantic): New.
5845 (compile-main): Depend on semantic.
5846
da048127
SM
58472013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5848
7784b779
SM
5849 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5850 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5851
4e36a6a6
SM
5852 * uniquify.el (uniquify-buffer-name-style): Change default.
5853
5854 * loadup.el: Preload "uniquify".
5855
e0ba1308
SM
5856 * time.el (display-time-update): Update all mode lines (bug#15999).
5857
da048127
SM
5858 * electric.el (electric-indent-mode): Enable by default.
5859 * loadup.el: Preload "electric".
5860
015b3b3e
BB
58612013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5862
5863 * emacs-lisp/helpers.el (string-empty-p): New function.
5864 (string-blank-p): New function.
5865
7efb806d
AP
58662013-11-29 Andreas Politz <politza@hochschule-trier.de>
5867
5868 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5869 (Bug#14029).
5870
c8f0efc2
AP
58712013-11-29 Andreas Politz <politza@fh-trier.de>
5872 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5873 allow non-lambda lists as functions.
5874 (imenu--in-alist): Don't recurse into non-subalists.
5875 (imenu): Don't pass function itself as an argument (Bug#14029).
5876
bd15d9d1
SM
58772013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * progmodes/python.el (python-mode-map): Remove binding for ":".
5880 (python-indent-electric-colon): Remove command.
5881 (python-indent-post-self-insert-function): Integrate the previous code
5882 of python-indent-electric-colon. Make it conditional on
5883 electric-indent-mode.
5884 (python-mode): Add ?: to electric-indent-chars.
5885 Move python-indent-post-self-insert-function to the end of
5886 post-self-insert-hook.
5887
1b10adb6
SM
58882013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5889
655ab9a3
SM
5890 * doc-view.el (doc-view-goto-page): Update mode-line.
5891
1b10adb6
SM
5892 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5893
7e3bf78c
GM
58942013-11-27 Glenn Morris <rgm@gnu.org>
5895
5896 * international/charprop.el, international/uni-bidi.el:
5897 * international/uni-category.el, international/uni-combining.el:
5898 * international/uni-comment.el, international/uni-decimal.el:
5899 * international/uni-decomposition.el, international/uni-digit.el:
5900 * international/uni-lowercase.el, international/uni-mirrored.el:
5901 * international/uni-name.el, international/uni-numeric.el:
5902 * international/uni-old-name.el, international/uni-titlecase.el:
5903 * international/uni-uppercase.el:
5904 Remove generated files from VCS repository.
5905
fb6a5d68
EZ
59062013-11-27 Eli Zaretskii <eliz@gnu.org>
5907
5908 * filenotify.el (file-notify-add-watch): Don't special-case
5909 w32notify when computing the directory to watch.
5910
cb6c95a3
GM
59112013-11-27 Glenn Morris <rgm@gnu.org>
5912
20372d0c
GM
5913 Make bootstrap without generated uni-*.el files possible again.
5914 * loadup.el: Update command-line-args checking for unidata-gen.
5915 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5916 * composite.el, international/characters.el:
5917 Handle unicode tables being undefined.
5918
52d6635f 5919 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
5920 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5921 (compile-main): Depend on leim rule.
5922 (leim): New rule.
5923 * loadup.el: Move leim-list.el to leim/ subdirectory.
5924 * startup.el (normal-top-level): No more leim directory.
5925 * international/ja-dic-cnv.el (skkdic-convert):
5926 Disable version-control and autoloads in output files.
5927 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5928 Disable version-control and autoloads in output files.
5929 * leim/quail: Move here from ../leim.
5930 * leim/quail/hangul.el (hangul-input-method-activate):
5931 Add autoload cookie.
5932 (generated-autoload-load-name): Set file-local value.
5933 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5934 (generated-autoload-load-name): Set file-local value.
5935
7514d3f8 59362013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 5937
e0eb0550 5938 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 5939 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 5940 (eww-quit): Ask confirmation before quitting eww.
e47112ee 5941
0e2c793f
EZ
59422013-11-26 Eli Zaretskii <eliz@gnu.org>
5943
5944 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5945 reading output from Diff on MS-Windows and MS-DOS.
5946
447bdcb8
BB
59472013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5948
5949 * emacs-lisp/helpers.el (string-reverse): New function.
5950
5fbf6856
MA
59512013-11-26 Michael Albinus <michael.albinus@gmx.de>
5952
5953 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5954 names on MS Windows, like "/[::1]:".
5955
5956 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5957 SWITCHES.
5958
624780f0
GM
59592013-11-26 Glenn Morris <rgm@gnu.org>
5960
0bf3f0fa
GM
5961 * progmodes/python.el (python-indent-guess-indent-offset):
5962 Avoid corner-case error. (Bug#15975)
5963
624780f0
GM
5964 Preload leim-list.el. (Bug#4789)
5965 * loadup.el: Load leim-list.el when found.
5966 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5967
4301875e 59682013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
5969
5970 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5971
4301875e
BB
5972 * emacs-lisp/helpers.el (string-join): New function.
5973
1633a815 59742013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
5975
5976 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5977 Mark as obsolete and replace it with a symbol property.
5978 (byte-compile-form): Use new 'interactive-only property.
5979 * comint.el, files.el, replace.el, simple.el:
5980 Apply new 'interactive-only properly.
5981
00139435
MR
59822013-11-25 Martin Rudalics <rudalics@gmx.at>
5983
5984 * window.el (display-buffer-at-bottom): Make sure that
5985 split-window-sensibly creates the new window on bottom
5986 (Bug#15961).
5987
5f5b128d
DK
59882013-11-23 David Kastrup <dak@gnu.org>
5989
5990 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5991 on the conflict markers when available.
5992 (smerge--get-marker): New function.
5993 (smerge-end-re, smerge-base-re): Add subgroup.
5994
623891e5
SM
59952013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5996
5997 * frame.el (handle-focus-in, handle-focus-out): Add missing
5998 interactive spec.
5999
05ca27d8
MA
60002013-11-25 Michael Albinus <michael.albinus@gmx.de>
6001
6002 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6003 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6004
511fa0d3
SM
60052013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6006
e82ad66c
SM
6007 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6008 (gomoku--last-pos): New var.
6009 (gomoku--intangible-chars): New const.
6010 (gomoku--intangible): New function.
6011 (gomoku-mode): Use it. Derive from special-mode.
6012 (gomoku-move-up): Adjust line count.
6013 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6014 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6015 Simplify accordingly.
6016
511fa0d3
SM
6017 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6018 Remove blink-cursor code.
6019 (blink-cursor-timer-function, blink-cursor-suspend):
6020 Don't special-case GUIs.
6021 (blink-cursor-mode): Use focus-in/out-hook.
6022
6f20dd03
DG
60232013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6024
6025 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6026 work when annotation is invisible (Bug#13886).
6027
431dec31 60282013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
6029
6030 * json.el (json-alist-p): Only return non-nil if the alist has
6031 simple keys (Bug#13518).
6032
431dec31 60332013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
6034
6035 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6036 when control-statement is the first statement in a buffer (Bug#15956).
6037
ee4f0261
DG
60382013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6039
6040 * imenu.el (imenu-generic-skip-comments-and-strings):
6041 New option (Bug#15560).
6042 (imenu--generic-function): Use it.
6043
c484f866
JS
60442013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6045
e9dc713d
JB
6046 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6047 (Bug#13898)
c484f866 6048
41ce6f70
BB
60492013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6050
b55aea38
BB
6051 * emacs-lisp/helpers.el: Add some string helpers.
6052 (string-trim-left): Removes leading whitespace.
6053 (string-trim-right): Removes trailing whitespace.
6054 (string-trim): Removes leading and trailing whitespace.
6055
41ce6f70
BB
6056 * subr.el (string-suffix-p): New function.
6057
3cfb6af3
GM
60582013-11-23 Glenn Morris <rgm@gnu.org>
6059
6060 * progmodes/python.el (python-shell-send-file):
6061 Add option to delete file when done. (Bug#15647)
6062 (python-shell-send-string, python-shell-send-region): Use it.
6063
c27924b7
IS
60642013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6065
e1b01c7f
IS
6066 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6067 to set buffer-read-only to t, never to nil. (Bug#15938)
6068
c27924b7
IS
6069 * textmodes/tex-mode.el (latex-noindent-environments):
6070 Add safe-local-variable property. (Bug#15936)
6071
17e0445b
GM
60722013-11-23 Glenn Morris <rgm@gnu.org>
6073
92f78ea3
GM
6074 * textmodes/enriched.el (enriched-mode): Doc fix.
6075 * emacs-lisp/authors.el (authors-renamed-files-alist):
6076 Add enriched.doc -> enriched.txt.
6077
17e0445b
GM
6078 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6079
965bb23a
LL
60802013-11-22 Leo Liu <sdl.web@gmail.com>
6081
6082 * progmodes/octave.el (inferior-octave-startup): Spit out error
6083 message.
6084
d19ffd64
BB
60852013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6086
6087 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6088 Improve docstring.
15ba2182
BB
6089 Add :version.
6090 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 6091
7a7567d2
LL
60922013-11-22 Leo Liu <sdl.web@gmail.com>
6093
6094 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6095 (Bug#15076)
8c09f64b
LL
6096 (octave-help-mode): Adapt to change to help-mode-finish to use
6097 derived-mode-p on 2013-09-17.
6098 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 6099 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 6100
724bc265
LL
61012013-11-22 Leo Liu <sdl.web@gmail.com>
6102
6103 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6104 (inferior-octave-startup, inferior-octave-check-process)
6105 (inferior-octave-track-window-width-change)
6106 (octave-completion-at-point, octave-eldoc-function): Use it.
6107 (octave-kill-process): Provide confirmation. (Bug#10564)
6108
38637cca
LL
61092013-11-21 Leo Liu <sdl.web@gmail.com>
6110
511fa0d3
SM
6111 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6112 Fix obsolete variable comment-use-global-state.
38637cca 6113
06e752b4
RS
61142013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6115
511fa0d3
SM
6116 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6117 Add `octave-source-file'.
06e752b4
RS
6118 (octave-source-file): New function. (Bug#15935)
6119
7514d3f8 61202013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
6121
6122 * net/eww.el (eww-local-regex): New variable.
6123 (eww): Use it to detect localhost and similar.
6124
b6ffa04a
LL
61252013-11-21 Leo Liu <sdl.web@gmail.com>
6126
6127 Add completion for command `ag'.
2021a200
LL
6128 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6129 (pcomplete/ag): New function.
e9dc713d 6130 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 6131
d1a6bccc
SM
61322013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6135 (bug#14646).
6136 (make-obsolete): Remove interactive spec.
6137
2df10228
GM
61382013-11-21 Glenn Morris <rgm@gnu.org>
6139
6140 * startup.el (command-line-1): Use path-separator with -L.
6141
86fd16b6
TZ
61422013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6143
6144 * emacs-lisp/package.el (describe-package-1): Add package archive
6145 to shown fields.
6146
0449d6cd 61472013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
6148
6149 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6150 Change default to "# encoding: %s" to differentiate it from the
6151 default Ruby encoding comment template.
6152
dc7e8c17 61532013-11-20 era eriksson <era+emacsbugs@iki.fi>
6154
6155 * ses.el (ses-mode): Doc fix. (Bug#14748)
6156
f0cfa5fe
LL
61572013-11-20 Leo Liu <sdl.web@gmail.com>
6158
6159 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6160
826dc7b6
DN
61612013-11-19 Dan Nicolaescu <dann@gnu.org>
6162
6163 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6164 when rebase or bisect are in progress.
6165
a6e3a5d5
XF
61662013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6167
6168 * filenotify.el (file-notify-add-watch): Doc fix.
6169
f130cb76
LL
61702013-11-19 Leo Liu <sdl.web@gmail.com>
6171
e0855d7d
LL
6172 * obsolete/rcompile.el: Mark obsolete.
6173
f130cb76 6174 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
6175 (compilation-goto-locus, compilation-find-file):
6176 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
6177 (Bug#13594)
6178
6179 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
6180 new parameter no-display-ok. Return either a window or nil
6181 but never a non-window value.
f130cb76 6182
1f35d401
SM
61832013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6184
25158c76
SM
6185 * electric.el (electric-indent-mode-map): Remove.
6186 (electric-indent-mode): Change the global-map instead (bug#15915).
6187
6188 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6189 Use add-function.
1f35d401 6190
9bc67baa
SM
61912013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6192
986545b5
SM
6193 * emacs-lisp/nadvice.el (remove-function): Align with
6194 add-function's behavior.
6195
9bc67baa
SM
6196 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6197 (gdb--string-regexp): New constant.
6198 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6199 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6200 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6201 submatch 1.
6202 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6203 Adjust use accordingly.
6204 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6205
56cd894e
AS
62062013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6207
6208 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6209 interpolation curlies (Bug#15914).
6210
014690de
JB
62112013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6212
6213 * calc/calc.el (calc-context-sensitive-enter): New variable.
6214 (calc-enter): Use `calc-context-sensitive-enter'.
6215
7e26a6c3
TZ
62162013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6217
6218 * progmodes/cfengine.el: Version bump.
6219 (cfengine-cf-promises): New defcustom to locate cf-promises.
6220 (cfengine3-vartypes): Add new "data" type.
6221 (cfengine3--current-word): New function to get current name-like
6222 word or its bounds.
6223 (cfengine3--current-function): New function to look up a CFEngine
6224 function's definition.
6225 (cfengine3-format-function-docstring): New function.
6226 (cfengine3-make-syntax-cache): New function.
6227 (cfengine3-documentation-function): New function: ElDoc glue.
6228 (cfengine3-completion-function): New function: completion glue.
6229 (cfengine3-mode): Set `compile-command',
6230 `eldoc-documentation-function', and add to
6231 `completion-at-point-functions'.
6232
355204dd
MA
62332013-11-16 Michael Albinus <michael.albinus@gmx.de>
6234
6235 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6236 `tramp-current-connection'.
6237
43cebc23
DG
62382013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6239
6240 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6241 nil/self/true/false with "end of symbol".
6242
a3fed6ff
BB
62432013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6244
6245 * subr.el (version-regexp-alist): Fix a typo.
6246
e675b3e4
MA
62472013-11-15 Michael Albinus <michael.albinus@gmx.de>
6248
6249 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6250 "en_US.utf8" and "LC_CTYPE" to "".
6251 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6252 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6253
a1f03e89
LL
62542013-11-15 Leo Liu <sdl.web@gmail.com>
6255
6256 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6257
5d9d9451
SM
62582013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6259
58362662
CS
6260 * progmodes/gud.el (ctl-x-map):
6261 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
6262 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6263
6c1bf086
BB
62642013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6265
0d5363c4
BB
6266 * subr.el (version-regexp-alist):
6267 Recognize hg, svn and darcs versions as snapshot versions.
6268
4e9fc48c
BB
6269 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6270 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6271 (ruby--encoding-comment-required-p): Extract from
6272 `ruby-mode-set-encoding'.
6273 (ruby-mode-set-encoding): Add the ability to always insert an
6274 utf-8 encoding comment. Fix and simplify coding comment update
6275 logic.
6c1bf086 6276
2f7e72f8
MA
62772013-11-14 Michael Albinus <michael.albinus@gmx.de>
6278
6279 * net/tramp-gvfs.el (top): Run init code only when
6280 `tramp-gvfs-enabled' is not nil.
6281 (tramp-gvfs-enabled): Check also :system bus.
6282
0f137a73
SM
62832013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6284
6285 Sync with upstream verilog-mode revision 78e66ba.
6286 * progmodes/verilog-mode.el (verilog-end-of-defun)
6287 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6288 (verilog-get-end-of-defun): Remove unused argument.
6289 (verilog-comment-depth): Remove unused local `e'.
6290 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6291 Don't pass arg to verilog-get-end-of-defun.
6292
1c276bdd
GM
62932013-11-14 Glenn Morris <rgm@gnu.org>
6294
6295 * obsolete/assoc.el (aget): Prefix dynamic variable.
6296
6297 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6298
ff6ec81d
SM
62992013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6300
6301 * widget.el, hfy-cmap.el: Remove bogus package version number.
6302
75f777b6
GM
63032013-11-13 Glenn Morris <rgm@gnu.org>
6304
1d43dba1
GM
6305 * replace.el (replace-eval-replacement):
6306 Try to give more helpful error message. (Bug#15836)
6307
ff4b7bd5
GM
6308 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6309 (archive-7z-update): Avoid custom type mismatches.
6310
75f777b6
GM
6311 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6312
11151a06
MA
63132013-11-13 Michael Albinus <michael.albinus@gmx.de>
6314
e675b3e4 6315 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
6316 address can be empty.
6317
6318 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6319 Accept nil SWITCHES.
6320 (tramp-gvfs-handle-write-region): Implement APPEND.
6321
7b08f97e
DG
63222013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6323
6324 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
6325 binary "|" operator and closing block args delimiter.
6326 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
6327 (ruby-smie--implicit-semi-p): Not after "|" operator.
6328 (ruby-smie--closing-pipe-p): New function.
6329 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6330 (ruby-smie-rules): Indent after "|".
6331
f201cf3a
GM
63322013-11-12 Glenn Morris <rgm@gnu.org>
6333
6334 * ps-print.el (ps-face-attribute-list):
6335 Handle anonymous faces. (Bug#15827)
6336
e6f759f9
MR
63372013-11-12 Martin Rudalics <rudalics@gmx.at>
6338
6339 * window.el (display-buffer-other-frame): Fix doc-string.
6340 (Bug#15868)
6341
ecda65d4
SM
63422013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6345
7ce8fcc3
MA
63462013-11-11 Michael Albinus <michael.albinus@gmx.de>
6347
6348 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6349 (tramp-sh-handle-file-local-copy): Don't write a message when
6350 saving temporary files.
6351
6352 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6353 both directories are remote.
6354 (tramp-smb-handle-directory-files): Do not return double entries.
6355 Do not expand full file names.
6356 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6357 (tramp-smb-handle-write-region): Implement APPEND.
6358 (tramp-smb-get-stat-capability): Fix a stupid bug.
6359
7818df11
SM
63602013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6363
608c2085
NT
63642013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6365
6366 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6367 throwing error over malformed let/let* (bug#15814).
6368
122a7e46
SM
63692013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6370
6371 * iswitchb.el (iswitchb-mode): Mark obsolete.
6372
766284d9
GM
63732013-11-11 Glenn Morris <rgm@gnu.org>
6374
6375 * international/uni-bidi.el, international/uni-category.el:
6376 * international/uni-name.el, international/uni-numeric.el:
6377 Regenerate for Unicode 6.3.0.
6378
7072a4e9
MA
63792013-11-10 Michael Albinus <michael.albinus@gmx.de>
6380
6381 * net/tramp.el (tramp-methods):
6382 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6383 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6384
c9df215b
AS
63852013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6386
608c2085
NT
6387 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6388 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 6389
fa47d796
DG
63902013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6391
6392 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 6393 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
6394 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6395 (ispell-complete-word): Call `ispell-lookup-words' with the value
6396 independent of `ispell-look-p'.
6397
1629a329
DG
63982013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6399
6400 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6401 Not after "||".
6402 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6403 their parent.
6404
ad16897c
SM
64052013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6406
6407 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6408 (ruby-font-lock-keywords): Use backquote.
6409
ffa2df72
DG
64102013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6411
6412 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6413 (ruby-smie--backward-token): Only consider full-string matches.
6414
5b97b4c0
JD
64152013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6416
6417 * faces.el (describe-face): Add distant-foreground.
6418
71731c03
BB
64192013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6420
4e9fc48c
BB
6421 * progmodes/ruby-mode.el: Improve encoding comment handling.
6422 (ruby-encoding-magic-comment-style): New option.
6423 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
6424 (ruby--insert-coding-comment, ruby--detect-encoding):
6425 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
6426 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6427 to control the style of the auto-inserted encoding comment.
71731c03 6428
da3b328d
DG
64292013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6430
ad16897c
SM
6431 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6432 Use `smie-backward-sexp' with token argument.
da3b328d 6433
1606c2d3
MA
64342013-11-08 Michael Albinus <michael.albinus@gmx.de>
6435
6436 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6437 Remove instrumentation code.
6438
b0f4c320
GM
64392013-11-08 Glenn Morris <rgm@gnu.org>
6440
6441 * progmodes/autoconf.el (autoconf-mode):
6442 Tweak comment-start-skip. (Bug#15822)
6443
43668fb1
SM
64442013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6447 at bobp (bug#15826).
6448 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6449
daddb3fd
DH
64502013-11-08 Darren Hoo <darren.hoo@gmail.com>
6451
6452 * man.el (Man-start-calling): New macro, extracted from
6453 Man-getpage-in-background.
6454 (Man-getpage-in-background): Use it.
6455 (Man-update-manpage): New command.
6456 (Man-mode-map): Bind it.
6457
1f923923
DG
64582013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6459
6460 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6461 of "and", "or", "&&" and "||".
6462 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6463 argument. Prohibit opening curly brace because it could only be a
6464 block opener in that position.
daddb3fd
DH
6465 (ruby-smie--forward-token, ruby-smie--backward-token):
6466 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
6467 arguments.
6468 (ruby-smie--indent-to-stmt): New function, seeks the end of
6469 previous statement or beginning of buffer.
6470 (ruby-smie-rules): Use it.
6471 (ruby-smie-rules): Check if there's a ":" before a curly block
6472 opener candidate; if there is, it's a hash.
6473
3220d527
SM
64742013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6477 (cl--block-wrapper): Fix last accidental change.
6478
1eb1f9e0
MA
64792013-11-07 Michael Albinus <michael.albinus@gmx.de>
6480
6481 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6482 Instrument, in order to hunt failure on hydra.
6483
e6e4db3c
NT
64842013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6485
6486 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6487 malformed bindings form (bug#15814).
6488
b420ccfc
DG
64892013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6490
6491 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
6492 "." compared to " @ ". This incidentally fixes some indentation
6493 examples with "do".
e6e4db3c 6494 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
6495 (ruby-smie-grammar): New tokens: "and" and "or".
6496 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6497 Exclude "and" and "or". Remove "do" in order to work around token
6498 priorities.
6499 (ruby-smie-rules): Add all infix tokens. Handle the case of
6500 beginning-of-buffer.
b420ccfc 6501
6b4ac03e
GM
65022013-11-06 Glenn Morris <rgm@gnu.org>
6503
6504 * Makefile.in (setwins_almost, setwins_for_subdirs):
6505 Avoid accidental matches.
6506
5ca114d1
SM
65072013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6508
6509 * menu-bar.el (popup-menu): Use key-binding.
6510
f72552bd
EZ
65112013-11-06 Eli Zaretskii <eliz@gnu.org>
6512
6513 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6514 menus, support also the menus produced by minor modes.
6515 (Bug#15817)
6516
5d5c701e
LL
65172013-11-06 Leo Liu <sdl.web@gmail.com>
6518
6519 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 6520 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 6521
0a8b75e2
GM
65222013-11-06 Glenn Morris <rgm@gnu.org>
6523
6524 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
6525 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6526 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 6527
a35287ea
SM
65282013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6529
feca4e2d
SM
6530 * electric.el (electric-indent-just-newline): New command.
6531 (electric-indent-mode-map): New keymap.
6532 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6533 Re-add :group which weren't redundant.
6534
a35287ea
SM
6535 * electric.el (electric-indent-local-mode): New minor mode.
6536 (electric-indent-functions-without-reindent): New var.
6537 (electric-indent-post-self-insert-function): Use it.
6538 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6539
375761b2
EZ
65402013-11-05 Eli Zaretskii <eliz@gnu.org>
6541
9a6ad735
EZ
6542 * international/quail.el (quail-help): Be more explicit about the
6543 meaning of the labels shown on the keys. (Bug#15800)
6544
375761b2
EZ
6545 * startup.el (normal-top-level): Load the subdirs.el files before
6546 setting the locale environment. (Bug#15805)
6547
520a6e4a
SM
65482013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6549
0acfafef
SM
6550 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6551 via arguments so as to get the right ones (bug#15418).
6552
520a6e4a
SM
6553 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6554
15826261
MA
65552013-11-05 Michael Albinus <michael.albinus@gmx.de>
6556
6557 Fix problems found while writing a test suite.
6558
6559 * net/tramp-compat.el (tramp-compat-load): New defun.
6560 * net/tramp.el (tramp-handle-load): Use it.
6561
6562 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6563 "(numberp ok-if-already-exists)" correctly.
6564
d35f31a4
XF
65652013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6566
6567 * international/characters.el (glyphless-char-display-control):
6568 Add usage note.
6569
ae93bc74
BB
65702013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6571
520a6e4a
SM
6572 * progmodes/python.el (python-mode):
6573 * progmodes/scheme.el (scheme-mode):
6574 * progmodes/prolog.el (prolog-mode):
6575 * progmodes/ruby-mode.el (ruby-mode):
6576 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6577 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 6578
0ade65b5
SM
65792013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6580
a0d5f7a4
SM
6581 * rect.el (rectangle--highlight-for-redisplay):
6582 * emacs-lisp/smie.el (smie--next-indent-change):
6583 Use buffer-chars-modified-tick.
6584
c93f3f5c
SM
6585 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6586
0ade65b5
SM
6587 * electric.el (electric-indent-post-self-insert-function):
6588 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6589
ef9dd188
HE
65902013-11-04 Helmut Eller <eller.helmut@gmail.com>
6591
6592 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6593
306e7308
NT
65942013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6595
6596 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6597 (bug#15786).
6598
e5afbcac
SM
65992013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6600
1d01ad41
SM
6601 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6602
e5afbcac
SM
6603 * progmodes/python.el: Fix up last change.
6604 (python-shell--save-temp-file): New function.
6605 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6606 `string' comes from the current buffer.
6607 (python-shell-send-string-no-output): Remove `msg' arg.
6608 (python--use-fake-loc): New var.
6609 (python-shell-buffer-substring): Obey it. Try to compensate for the
6610 extra coding line added by python-shell--save-temp-file.
6611 (python-shell-send-region): Use python-shell--save-temp-file and
6612 python-shell-send-file directly. Add `nomain' argument.
6613 (python-shell-send-buffer): Use python-shell-send-region.
6614 (python-electric-pair-string-delimiter): New function.
6615 (python-mode): Use it.
6616
d0065ff1
EZ
66172013-11-04 Eli Zaretskii <eliz@gnu.org>
6618
6619 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6620 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6621 environment and decoding all of the default-directory's to here
6622 from command-line.
6623 (command-line): Decode also argv[0].
6624
6625 * loadup.el: Error out if default-directory is a multibyte string
6626 when we are dumping.
6627
6628 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6629
7397c587
TZ
66302013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6631
6632 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
6633 (package-menu--print-info, package-menu--archive-predicate):
6634 Add Archive column to package list.
7397c587 6635
b27cc9fc
MA
66362013-11-04 Michael Albinus <michael.albinus@gmx.de>
6637
6638 Fix problems found while writing a test suite.
6639
6640 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6641 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6642 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6643 to nil when running original file name handler. Otherwise,
6644 there are problems with constructs like "$$FOO".
6645
6646 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6647 for `localname'.
6648
d8c4f18a
BB
66492013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6650
7b530552
BB
6651 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6652
6653 * subr.el (version<, version<=, version=):
6654 Update docstrings with information for snapshot versions.
6655
d8c4f18a
BB
6656 * helpers.el: New library for misc helper functions.
6657 (hash-table-keys): New function returning a list of hash keys.
6658 (hash-table-values): New function returning a list of hash values.
6659
dca01b09
DG
66602013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6661
6662 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6663 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6664
0a749fa0
MN
66652013-11-04 Michal Nazarewicz <mina86@mina86.com>
6666
6667 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6668 checking whether point is after a 1-letter word.
6669
66702013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
6671
6672 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6673 Don't infloop when expanding region over `multiline' syntax-type that
6674 begins a line (bug#15778).
6675
4aca7145
SM
66762013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6679 Make it into a proper minor mode.
9b017563 6680 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
6681 (rectangle-mark-mode-map): New keymap.
6682 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6683
a0833f62
GM
66842013-11-04 Glenn Morris <rgm@gnu.org>
6685
6686 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6687
e61845c1
SM
66882013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6689
6690 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6691 (ruby-smie-rules): Use smie-rule-parent instead.
6692
6693 * emacs-lisp/smie.el (smie-rule-parent): Always call
6694 smie-indent-virtual rather than only for hanging tokens.
6695 (smie--next-indent-change): New helper command.
6696
62942f89
GM
66972013-11-03 Glenn Morris <rgm@gnu.org>
6698
6699 * Makefile.in (abs_srcdir): Remove.
6700 (emacs): Unset EMACSLOADPATH.
6701
b0b9e592
GM
67022013-11-02 Glenn Morris <rgm@gnu.org>
6703
18ba6a33 6704 * Makefile.in (EMACS): Use a relative filename.
8061810d 6705 (abs_top_builddir): Remove.
18ba6a33
GM
6706 (custom-deps, finder-data, autoloads): Use --chdir.
6707
6a8b929e
GM
6708 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6709
c617f3d0
GM
6710 Use relative filenames in TAGS files.
6711 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6712 (lisptagsfiles4, TAGS): Use relative file names.
6713 (TAGS-LISP): Remove.
6714 (maintainer-clean): No more TAGS-LISP file.
6715
b0b9e592
GM
6716 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6717 (lisptagsfiles4): Use absolute filenames again.
6718 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6719 Remove all *loaddefs files, not just the first. Remove esh-groups.
6720 (maintainer-clean): Delete TAGS, TAGS-LISP.
6721
d1c0ea6a
BB
67222013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6723
e61845c1
SM
6724 * emacs-lisp/package.el (package-version-join):
6725 Recognize snapshot versions.
d1c0ea6a 6726
684d71c6
BB
67272013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6728
6729 * subr.el (version-regexp-alist): Add support for snapshot versions.
6730
3d42b968
DG
67312013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6732
e61845c1
SM
6733 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6734 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
6735 skip over our direct parent if it's an assignment token..
6736 (ruby-smie-rules): Use it.
6737
7ffd3721
DG
67382013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6739
8449dd1f 6740 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
6741 unconditionally. Remove now unnecessary forward declarations.
6742 Remove XEmacs-specific setup.
6743 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6744 (ruby-font-lock-syntactic-keywords)
6745 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6746 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6747 (ruby-here-doc-end-syntax): Remove.
6748 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6749 defined as function.
6750
a3996a2e
BB
67512013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6752
6753 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6754
6f9260e8
BB
67552013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6756
6757 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6758 table and abbrev table, `define-derived-mode' does that for us
6759 anyway.
6760
6014de84
GM
67612013-11-01 Glenn Morris <rgm@gnu.org>
6762
6763 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6764 files is atomic for some time, so no parallel compilation issues).
6765
3c334c14
JD
67662013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6767
6768 * faces.el (face-x-resources): Add :distant-foreground.
6769 (region): Use :distant-foreground for gtk and ns.
6770
9bc236c8
TH
67712013-11-01 Tassilo Horn <tsdh@gnu.org>
6772
5246583b 6773 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
6774 BibTeX.
6775 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6776 (reftex-locate-bibliography-files): Us it.
6777
d14c81ee
CB
67782013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6779
0e7690de
CB
6780 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6781 allow comments in pbm files.
6782
d14c81ee
CB
6783 * term/w32-win.el (dynamic-library-alist): Support newer versions
6784 of libjpeg starting with v7: look only for the DLL from the
6785 version against which Emacs was built.
ac1bf374 6786 Support versions of libpng beyond 1.4.x.
019c8218 6787 Support libtiff v4.x.
d14c81ee 6788
983d0df5
BB
67892013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6790
6791 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6792 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6793 Add property :safe.
6794 (ruby-deep-arglist): Add property :type.
6795
47f58d85
GM
67962013-10-31 Glenn Morris <rgm@gnu.org>
6797
6798 * Makefile.in (custom-deps, finder-data): No need to setq the target
6799 variables, we are in the right directory and the defaults work fine.
6800
4f85b479
GM
68012013-10-30 Glenn Morris <rgm@gnu.org>
6802
ca7dd4cd
GM
6803 * Makefile.in (autoloads): Do not use abs_lisp.
6804
4f85b479
GM
6805 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6806 `newline' does not respect `standard-output', so use `princ'.
6807
cf59e41c
AA
68082013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6809
6810 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6811 * buff-menu.el (Buffer-menu--unmark): New function.
6812 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6813
74cf04fb
GM
68142013-10-30 Glenn Morris <rgm@gnu.org>
6815
b040b60e
GM
6816 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6817
f53d3815
GM
6818 * emacs-lisp/package.el (lm-homepage): Declare.
6819
5413d873
GM
6820 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6821 Fix doc typos.
6822
cecedb36
GM
6823 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6824
74cf04fb
GM
6825 * Makefile.in (finder-data, autoloads, update-subdirs)
6826 (compile-main, compile-clean, compile-always, bootstrap-clean):
6827 Check return value of cd.
6828 (compile-calc): Remove.
6829
195ee2f0
SM
68302013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6831
ae4002ce
SM
6832 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6833
6834 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6835 (byte-compile-and-folded): New function.
6836 (=, <, >, <=, >=): Use it.
6837
6838 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6839 (path-separator, null-device, buffer-file-coding-system)
6840 (lpr-headers-switches): Check system-type before modifying them.
6841 (find-buffer-file-type-coding-system): Mark obsolete.
6842 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6843 find-file-not-found-set-buffer-file-coding-system.
35e951cd 6844 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 6845 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 6846 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
6847 (w32-direct-print-region-helper, w32-direct-print-region-function)
6848 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6849 * startup.el (normal-top-level-add-subdirs-to-load-path):
6850 * ps-print.el (ps-print-region-function):
6851 * lpr.el (print-region-function): Use new name.
6852
53b39e89
SM
6853 * subr.el (custom-declare-variable-early): Remove function.
6854 (custom-declare-variable-list): Remove var.
6855 (error, user-error): Remove `while' loop.
6856 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6857 (user-emacs-directory-warning, locate-user-emacs-file):
6858 Move to files.el.
6859 * simple.el (read-quoted-char-radix, read-quoted-char):
6860 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6861 Move from subr.el.
6862 * custom.el (custom-declare-variable-list): Don't process
6863 custom-declare-variable-list.
6864
195ee2f0
SM
6865 * progmodes/python.el (python-shell-get-buffer): New function.
6866 (python-shell-get-process): Use it.
6867 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6868 Python which encoding was used. Don't split-string since we only care
6869 about the first line. Return the temp-file, if applicable.
6870 (python-shell-send-region): Tell compile.el how to turn locations in
6871 the temp-file into locations in the source buffer.
6872
7e3561ee
SM
68732013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6874
4c9797cb
SM
6875 * subr.el (undefined): Add missing behavior from the C code for
6876 unbound keys.
6877
3472b6c6
SM
6878 * rect.el: Use lexical-binding. Add new rectangular region support.
6879 (rectangle-mark): New command.
6880 (rectangle--region): New var.
6881 (deactivate-mark-hook): Reset rectangle--region.
6882 (rectangle--extract-region, rectangle--insert-for-yank)
6883 (rectangle--highlight-for-redisplay)
6884 (rectangle--unhighlight-for-redisplay): New functions.
6885 (region-extract-function, redisplay-unhighlight-region-function)
6886 (redisplay-highlight-region-function): Use them to handle
6887 rectangular region.
6888 * simple.el (region-extract-function): New var.
6889 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6890 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6891 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6892 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6893 (redisplay-unhighlight-region-function)
6894 (redisplay-highlight-region-function): New vars.
6895 (redisplay--update-region-highlight): New function.
6896 (pre-redisplay-function): Use it.
6897 (exchange-point-and-mark): Don't deactivate the mark before
6898 reactivate-it anyway.
6899 * comint.el (comint-kill-region): Remove yank-handler argument.
6900 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6901 (delete-char): Remove property, since it's now part of their
6902 default behavior.
6903 (self-insert-iso): Remove property since this command doesn't exist.
6904
7e3561ee
SM
6905 * emacs-lisp/package.el (package--download-one-archive)
6906 (describe-package-1): Don't query the user about final newline.
6907
b9bef71f
DC
69082013-10-29 Daniel Colascione <dancol@dancol.org>
6909
6910 * net/tramp.el (tramp-methods): Document new functionality.
6911 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6912 tramp-hostname-checker if method provides one instead of scanning
6913 argument list for "%h" to decide hostname acceptability.
6914
4efc33f0
MA
69152013-10-28 Michael Albinus <michael.albinus@gmx.de>
6916
6917 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6918 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6919 Handle COPY-CONTENTS. (Bug#15737)
6920
ed42a877
DU
69212013-10-28 Daiki Ueno <ueno@gnu.org>
6922
9b017563 6923 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 6924 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 6925
18c9f8a2
XF
69262013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6927
35e951cd 6928 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 6929
b1e8e010
AM
69302013-10-27 Alan Mackenzie <acm@muc.de>
6931
6932 Indent statements in macros following "##" correctly.
7e3561ee
SM
6933 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6934 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 6935
73d40d1e 69362013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
6937
6938 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6939
c8c605ac
DG
69402013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6941
6942 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6943 after `=' is probably a new expression.
6944
ca7e59d4
RS
69452013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6946
6947 * man.el (man-imenu-title): New option.
6948 (Man-mode-map): Add menu. (Bug#15722)
6949 (Man-mode): Add imenu to menu.
6950
bae91342
DG
69512013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6952
6953 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6954 specific in what the first arg can be: a non-keyword word,
6955 string/regexp/percent literal opener, opening paren, or unary
6956 operator followed directly by word.
6957
eb89dc14
SM
69582013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6961 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6962 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6963 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6964 Remove vars, they do not apply any more.
6965 (prolog-mode-abbrev-table): Remove redundant declaration.
6966 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6967 (prolog-use-smie): Remove.
6968 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6969 supported by prolog-electric-if-then-else-flag.
6970 (prolog-mode-variables, prolog-menu): Use setq-local.
6971 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6972 Remove binding to `Backspace' since this key doesn't exist anyway.
6973 Remove bindings for electric self-inserting keys.
6974 (prog-mode): Assume it's defined.
6975 (prolog-post-self-insert): New function.
6976 (prolog-mode): Use it.
6977 (prolog-indent-line, prolog-indent-level)
6978 (prolog-find-indent-of-matching-paren)
6979 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6980 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6981 (prolog-goto-next-paren, prolog-in-string-or-comment)
6982 (prolog-tokenize, prolog-inside-mline-comment)
6983 (prolog-find-start-of-mline-comment): Remove functions.
6984 (prolog-find-unmatched-paren, prolog-clause-end)
6985 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6986 (prolog-electric--if-then-else): Rename from
6987 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6988 (prolog-tokenize-searchkey): Remove const.
6989 (prolog-clause-info): Use forward-sexp.
6990 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6991 (prolog-electric-if-then-else): Remove commands.
6992 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6993 for use in post-self-insert-hook.
6994 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6995 for use in post-self-insert-hook.
6996 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6997 for use in post-self-insert-hook.
6998 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6999 adapt it for use in post-self-insert-hook.
7000
3dab0a83
MA
70012013-10-25 Michael Albinus <michael.albinus@gmx.de>
7002
7003 * emacs-lisp/ert.el (ert-run-tests-interactively):
7004 Use `completing-read'. (Bug#9756)
7005
fbfd0e1d
EZ
70062013-10-25 Eli Zaretskii <eliz@gnu.org>
7007
7008 * simple.el (line-move): Call line-move-1 instead of
7009 line-move-visual when the current window hscroll is zero, but
7010 temporary-goal-column indicates we will need to hscroll as result
7011 of the movement. (Bug#15712)
7012
963ce636
DG
70132013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7014
7015 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
7016 capitalization. Use :visible instead of :active.
7017 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
7018 commands that are used with SMIE.
7019 (ruby-do-end-to-brace): Insert space after `{'.
7020
a0be396a
JA
70212013-10-25 John Anthony <john@jo.hnanthony.com>
7022
f73754c9
JA
7023 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7024
7025 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 7026
f5bf77df
GM
70272013-10-25 Glenn Morris <rgm@gnu.org>
7028
7029 * vc/vc.el (vc-print-log): Don't use a working revision unless
7030 one was explicitly specified. (Bug#15322)
7031
37241f62
SM
70322013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7033
7034 * subr.el (add-to-list): Preserve return value in compiler-macro
7035 (bug#15692).
7036
6408a65d
RS
70372013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7038
7039 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7040 result. Ask user to retry using '-all' flag. (Bug#15701)
7041
71e3276b
SM
70422013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 * emacs-lisp/smie.el: New smie-config system.
7045 (smie-config): New defcustom.
7046 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7047 (smie-config-guess, smie-config-save): New commands.
7048 (smie-config--mode-local, smie-config--buffer-local)
7049 (smie-config--trace, smie-config--modefuns): New vars.
7050 (smie-config--advice, smie-config--mode-hook)
7051 (smie-config--setter, smie-config-local, smie-config--get-trace)
7052 (smie-config--guess-value, smie-config--guess): New functions.
7053 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7054 text properties. Treat "string fence" syntax like string syntax.
7055
7056 * progmodes/sh-script.el (sh-use-smie): Change default.
7057 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7058 (sh-var-value): Simplify by CSE.
7059 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7060 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7061 is used.
7062 (sh-guess-basic-offset): Use cl-incf.
7063 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7064
60db713e
HE
70652013-10-24 Helmut Eller <eller.helmut@gmail.com>
7066
7067 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7068 (bug#15699).
7069
8b251df6
GM
70702013-10-24 Glenn Morris <rgm@gnu.org>
7071
7072 * Makefile.in (abs_top_srcdir): Remove.
7073 (update-subdirs): Use relative path to update-subdirs.
7074
6be0e22b
EZ
70752013-10-24 Eli Zaretskii <eliz@gnu.org>
7076
7077 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7078 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
7079 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7080 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 7081
50b5b857
MA
70822013-10-24 Michael Albinus <michael.albinus@gmx.de>
7083
7084 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7085 (ert-test-skipped): New error.
7086 (ert-skip, ert-stats-skipped): New defuns.
7087 (ert--skip-unless): New macro.
7088 (ert-test-skipped): New struct.
7089 (ert--run-test-debugger, ert-test-result-type-p)
7090 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7091 (ert--stats-set-test-and-result, ert-char-for-test-result)
7092 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 7093 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 7094 Handle skipped tests. (Bug#9803)
50b5b857 7095
6f317c2f
GM
70962013-10-24 Glenn Morris <rgm@gnu.org>
7097
e43817c1
GM
7098 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7099
6f317c2f
GM
7100 * Makefile.in (abs_top_srcdir): New, set by configure.
7101 (update-subdirs): Correct build-aux location.
7102
369bbf71
DG
71032013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7104
8297b2cf
DG
7105 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7106 value, whether we could auto-deduce `backend', or not.
7107
369bbf71
DG
7108 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7109 with parameters" example. Simplify the "is it block or is it
7110 hash" check, but also make it more thorough.
7111
d5f1282f
MF
71122013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7113
7114 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7115
bc4aaa31
SM
71162013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7117
03d44565
SM
7118 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7119 { if it is hanging.
7120
bc4aaa31
SM
7121 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7122 :before ";".
7123
f493ff19
JB
71242013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7125
7126 * progmodes/compile.el (compilation-directory-matcher)
7127 (compilation-page-delimiter):
7128 Support GNU Make-4.0 directory quoting. (Bug#15678)
7129
c744a3b9
LL
71302013-10-23 Leo Liu <sdl.web@gmail.com>
7131
7132 * ido.el (ido-tidy): Handle read-only text.
7133
b8e3b0a9
GM
71342013-10-23 Glenn Morris <rgm@gnu.org>
7135
7136 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7137 (emacs, compile, compile-always):
7138 Quote entities that might contain whitespace.
7139 (custom-deps, finder-data, autoloads): Use abs_lisp.
7140 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7141 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7142 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7143
ee4282cd
DG
71442013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7145
bc4aaa31
SM
7146 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7147 Use `following-char'.
7790a270 7148
ee4282cd 71492013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
7150
7151 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7152 * progmodes/ruby-mode.el (ruby-smie-rules):
7153 Remove corresponding workaround. Fix indentation rule of ";" so it
7154 also applies when ";" is the parent.
7155
d40a46d7
XF
71562013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7157
7158 * frame.el (display-screens, display-pixel-height)
7159 (display-pixel-width, display-mm-width, display-backing-store)
7160 (display-save-under, display-planes, display-color-cells)
7790a270
SM
7161 (display-visual-class, display-monitor-attributes-list):
7162 Mention the optional ‘display’ argument in doc strings.
d40a46d7 7163
a0f143c9
MG
71642013-10-22 Michael Gauland <mikelygee@amuri.net>
7165
7166 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7167 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7168
18cacc39
DG
71692013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7170
7171 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7172 TODO. Add "." after " @ ".
7173 (ruby-smie--at-dot-call): New function. Checks if point at method
7174 call with explicit target.
7175 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7176 to the method name tokens when it precedes them.
7177 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7178 (ruby-smie-rules): Add rule for indentation before and after "."
7179 token.
7180
df74c4be
SM
71812013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7182
c6dab55f
SM
7183 * textmodes/remember.el (remember-diary-extract-entries):
7184 Avoid add-to-list.
7185
df74c4be
SM
7186 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7187 an instruction.
7188
8c1ae481
DG
71892013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7190
e9dc713d
JB
7191 * progmodes/ruby-mode.el (ruby-smie-grammar):
7192 Add (almost) all infix operators.
cfef16c0
DG
7193 (ruby-smie--implicit-semi-p): Add new operator chars.
7194
8c1ae481
DG
7195 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7196 `smie-down-list'.
7197 (ruby-smie--args-separator-p): Check that there's no newline
7198 between method call and its arguments.
7199
87756ca9
AM
72002013-10-20 Alan Mackenzie <acm@muc.de>
7201
7202 Allow comma separated lists after Java "implements".
7203
df74c4be
SM
7204 * progmodes/cc-engine.el (c-backward-over-enum-header):
7205 Parse commas.
87756ca9
AM
7206 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7207 from a "disallowed" list in enum fontification.
7208
c25f8957
JB
72092013-10-20 Johan Bockgård <bojohan@gnu.org>
7210
df74c4be 7211 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 7212
c25f8957
JB
7213 * progmodes/verilog-mode.el (verilog-mode): Don't set
7214 comment-indent-function globally.
7215
aca5fcdc
JD
72162013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7217
5f161884
JD
7218 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7219 Move Info menu item creation to ns-win.el.
7220
7221 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7222 in menu bar.
7223
a6c4680a 7224 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
7225
7226 * term/ns-win.el (ns-initialize-window-system): ... to here.
7227
914b7f98
SM
72282013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * simple.el (newline): Only run post-self-insert-hook when
7231 called interactively.
7232
846ffe77
JB
72332013-10-19 Johan Bockgård <bojohan@gnu.org>
7234
7235 * icomplete.el (icomplete-with-completion-tables): Add :version.
7236
033f22dd
AM
72372013-10-19 Alan Mackenzie <acm@muc.de>
7238
7239 Fix fontification bugs with constructors and const.
7240
7241 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7242 CASE 2) Remove the check for the absence of a suffix construct
7243 after a function declaration with only types (no identifiers) in
7244 the parentheses. Also, accept a function declaration with just a
7245 type inside the parentheses, if this type can be positively
7246 recognised as such, or if a prefix keyword like "explicit" nails
7247 down the construct as a declaration.
7248
58ce0cfc
EZ
72492013-10-19 Eli Zaretskii <eliz@gnu.org>
7250
7251 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7252 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7253 the problem whereby selecting a menu item that leads to a
7254 minibuffer prompt moves the cursor out of the minibuffer window,
7255 making it hard to type at the prompt. Suggested by Stefan Monnier
7256 <monnier@iro.umontreal.ca>.
7257
50e28e7d
JD
72582013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7259
7260 * menu-bar.el: Don't make Services menu.
7261
7deed4bf
RS
72622013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7263
7264 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7265 (ffap-alist): Use ffap-c++-mode for c++-mode.
7266 (ffap-c++-path): New variable.
7267 (ffap-c++-mode): New function.
7268
7bcb455b
JVJ
72692013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7270
7271 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7272
f0ff1cd5
MA
72732013-10-18 Michael Albinus <michael.albinus@gmx.de>
7274
7275 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7276 introduced on 2013-09-08, which results in an infinite loop
7277 requesting a password.
7278
d64da4b7
GM
72792013-10-18 Glenn Morris <rgm@gnu.org>
7280
7281 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7282
ea89ff08
WS
72832013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7284
7285 Sync with upstream verilog-mode revision 1a6ecec7.
7286 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7287 (verilog-mode-release-date): Remove.
7288 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7289 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7290 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7291 (verilog-auto-tieoff-ignore-regexp)
7292 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7293 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7294 (verilog-signals-with, verilog-dir-cache-preserving)
7295 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7296 Doc fixes.
7297 (verilog-case-fold): New option, to control case folding in
7298 regexp searches, bug597.
7299 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7300 (verilog-string-match-fold, verilog-in-paren-count)
7301 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7302 (verilog-at-close-struct-p): New functions.
7303 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 7304 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
7305 (verilog-leap-to-case-head): Handle "unique0" case.
7306 (verilog-in-constraint-re): New constant.
7307 (verilog-keywords, verilog-type-font-keywords):
7308 Add some SystemVerilog 1800-2012 keywords.
7309 (verilog-label-be): Remove unimplemented argument, bug669.
7310 (verilog-batch-execute-func): When batch expanding clear
7311 create-lockfiles to prevent spurious user locks when a file ends
7312 up not changing.
7313 (verilog-calculate-indent, verilog-calc-1)
7314 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7315 (verilog-do-indent): Fix indentation of nested constraints
7316 and structures.
7317 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7318 (verilog-auto-inst-param): Use verilog-string-match-fold.
7319 (verilog-read-inst-module-matcher):
7320 Fix AUTOINST on gate primitives with #1.
7321 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7322 Reads all user-defined typed variables.
7323 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7324 (verilog-signals-matching-regexp)
7325 (verilog-signals-not-matching-regexp, verilog-auto):
7326 Respect verilog-case-fold.
7327 (verilog-diff-report): Fix line count.
7328 (verilog-auto-assign-modport): Remove unused local `modi'.
7329 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7330 better handle multidimensional arrays.
7331 Fix packed array ports misadding bit index in AUTOINST, bug637.
7332 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7333 to not double-declare existing outputs and inputs, respectively.
7334 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7335 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7336 (verilog-sk-uvm-component): New skeleton.
7337 (verilog-submit-bug-report): Add verilog-case-fold,
7338 remove verilog-mode-release-date.
7339
ef566920
BR
73402013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7341
a12bf61e 7342 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
7343 as before.
7344
29df8a0b
RT
73452013-10-18 Reuben Thomas <rrt@sc3d.org>
7346
e0eb0550 7347 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
7348 remember buffers (bug#13566).
7349
04a19a79
DC
73502013-10-18 Daniel Colascione <dancol@dancol.org>
7351
7352 When evaluating forms in ielm, direct standard output to ielm
7353 buffer. Add new ielm-return-for-effect command. Remove trailing
7354 whitespace throughout.
7355
7356 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7357 (ielm-return-for-effect): New command.
7358 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
7359 (ielm-eval-input): Accept optional `for-effect' parameter.
7360 Bind `standard-output' to stream we create using
04a19a79
DC
7361 `ielm-standard-output-impl'. Suppress printing result when
7362 `for-effect'.
7363 (ielm-standard-output-impl): New function.
7364 (inferior-emacs-lisp-mode): Explain new features in documentation.
7365
4c1f03ef
MA
73662013-10-17 Michael Albinus <michael.albinus@gmx.de>
7367
7368 Code cleanup.
7369
7370 * net/tramp.el (tramp-debug-message): Do not check for connection
7371 buffer.
7372 (tramp-message): Use "vector" connection property.
7373
7374 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7375 (tramp-equal-remote, tramp-eshell-directory-change)
7376 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7377 (tramp-adb-handle-rename-file)
7378 * net/tramp-cmds.el (tramp-list-remote-buffers)
7379 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7380 * net/tramp-compat.el (tramp-compat-process-running-p)
7381 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7382 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7383 (tramp-gvfs-handle-rename-file)
7384 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7385 (tramp-set-file-uid-gid)
7386 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7387 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7388 of `file-remote-p'.
7389
7390 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7391 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7392 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7393 (tramp-gw-open-network-stream): Suppress unrelated traces.
7394
7395 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7396 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7397 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7398 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7399 connection property.
7400
7401 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 7402 persistency file.
4c1f03ef
MA
7403
7404 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7405 Refactor common code. Improve debug message.
7406 (tramp-maybe-open-connection)
7407 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7408 connection buffer too early.
7409
7410 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7411 from `tramp-smb-actions-with-acl'.
7412 (tramp-smb-actions-set-acl): New defconst.
7413 (tramp-smb-handle-copy-directory)
7414 (tramp-smb-action-get-acl): New defun, renamed from
7415 `tramp-smb-action-with-acl'.
7416 (tramp-smb-action-set-acl): New defun.
7417 (tramp-smb-handle-set-file-acl): Rewrite.
7418
642eb8b6
GM
74192013-10-17 Glenn Morris <rgm@gnu.org>
7420
7421 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7422
85527ff3
SM
74232013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7424
921c1d62
SM
7425 * skeleton.el (skeleton-newline): Remove.
7426 (skeleton-internal-1): Use (insert "\n") instead.
7427
e333fb10
SM
7428 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7429 let-bindings.
7430
85527ff3
SM
7431 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7432 forward-sexp-function while we redo its job (bug#15613).
7433
c8722a97
JB
74342013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7435
7436 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7437 represented by lists.
7438
7a550bbb
GM
74392013-10-16 Glenn Morris <rgm@gnu.org>
7440
7441 * tmm.el (tmm--history): New dynamic variable.
7442 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7443
f19da8ad
MA
74442013-10-16 Michael Albinus <michael.albinus@gmx.de>
7445
7446 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7447 (tramp-smb-errors): Add error messages.
7448 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 7449 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
7450 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7451 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7452 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7453 (tramp-smb-get-stat-capability): Fix tests.
7454
a24b9961
DK
74552013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7456
7457 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7458 (bug#15580).
7459
62ad85e6
GM
74602013-10-16 Glenn Morris <rgm@gnu.org>
7461
0283d6b0
GM
7462 * ansi-color.el (ansi-color-drop-regexp):
7463 Add 1J, 1K, 2K. (Bug#15617)
7464
012e2f9f
GM
7465 * files.el (hack-local-variables--warned-lexical): New.
7466 (hack-local-variables):
7467 Warn about misplaced lexical-binding. (Bug#15616)
7468
62ad85e6
GM
7469 * net/eww.el (eww-render): Always set eww-current-url,
7470 and update header line. (Bug#15622)
7471 (eww-display-html): ... Rather than just doing it here.
7472
6456c0ea
EZ
74732013-10-15 Eli Zaretskii <eliz@gnu.org>
7474
7475 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7476 menu navigations commands.
7477
c2de5588
DK
74782013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7479
7480 * progmodes/subword.el (subword-capitalize): Be careful when
7481 the search for [[:alpha:]] fails (bug#15580).
7482
ccd4a783
EZ
74832013-10-14 Eli Zaretskii <eliz@gnu.org>
7484
7485 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7486 to commands that scroll the menu.
7487
1eda1d8d
DG
74882013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7489
c2de5588
DK
7490 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7491 Handle methods ending with `?' and `!'.
1eda1d8d 7492
e70181b8
AM
74932013-10-14 Akinori MUSHA <knu@iDaemons.org>
7494
7495 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7496 `japanese-cp932' to `cp932' to fix the problem where saving a
7497 source file written in Shift_JIS twice would end up having
7498 `coding: japanese-cp932' which Ruby could not recognize.
7499 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7500 in `ruby-encoding-map'.
7501 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7502 doesn't need to be explicitly declared in magic comment.
7503 (ruby-encoding-map): Add type declaration for better customize UI.
7504
9148ee92
GM
75052013-10-13 Glenn Morris <rgm@gnu.org>
7506
a5d38e34
GM
7507 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7508 Occur buffers are read-only. http://bugs.debian.org/720775
7509
9148ee92
GM
7510 * emacs-lisp/authors.el (authors-fixed-entries):
7511 Comment out old alpha stuff.
7512
a9ba094b
DG
75132013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7514
7515 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7516 to `after-save-hook' instead of `before-save-hook'.
7517 (ruby-mode-set-encoding): Use the value of coding system used to
7518 write the file. Call `basic-save-buffer-1' after modifying the
7519 buffer.
7520
7a068717
AM
75212013-10-13 Alan Mackenzie <acm@muc.de>
7522
7523 Fix indentation/fontification of Java enum with
7524 "implements"/generic.
7525
c2de5588
DK
7526 * progmodes/cc-engine.el (c-backward-over-enum-header):
7527 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
7528 (c-inside-bracelist-p): Uses new function above.
7529 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7530 function above.
7531 (c-font-lock-enum-tail): Uses new function above.
7532
85b64f02
KH
75332013-10-13 Kenichi Handa <handa@gnu.org>
7534
7535 * international/mule-cmds.el (select-safe-coding-system): Remove a
7536 superfluous condition in chekcing whether a coding system is safe
7537 or not.
7538
fc7f501b
OK
75392013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7540
7541 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7542
fdcb2049
AP
75432013-10-13 Andreas Politz <politza@hochschule-trier.de>
7544
7545 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7546
8c106d17
GM
75472013-10-13 Glenn Morris <rgm@gnu.org>
7548
feab892d
GM
7549 * menu-bar.el (menu-bar-update-buffers):
7550 Unify Buffers menu prompt string. (Bug#15576)
7551
b22d0686
GM
7552 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7553
8c106d17
GM
7554 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7555 Add some entries.
7556 (authors-fixed-entries): Use accented form of name.
7557
1b12c797
SM
75582013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7559
650fa7bf 7560 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 7561 method calls (bug#15594).
650fa7bf
SM
7562 (ruby-smie--args-separator-p): New function.
7563 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7564 recognize paren-free method calls.
7565
1b12c797
SM
7566 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7567 internals of universal-argument.
7568
029619c8
EZ
75692013-10-11 Eli Zaretskii <eliz@gnu.org>
7570
7571 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
7572 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7573 dropped menu on second mouse click on the menu bar.
029619c8 7574
dd070019
SM
75752013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7576
7577 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7578 (explicit-shell-file-name): Declare.
7579 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7580 (sh-completion-at-point-function): New function.
7581 (sh-mode): Use it.
7582 (sh-smie--keyword-p): Remove unused argument.
7583 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7584 vars.
7585 (sh-set-shell): Always setup SMIE, even if we use the
7586 old indentation code.
7587
0922b826
DG
75882013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7589
b68e2926
DG
7590 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7591 cases of ? and =.
7592 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7593 predicate would return nil are almost non-existent.
7594 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7595
0922b826
DG
7596 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7597 cache also after commands that modify the buffer but don't move
7598 point.
7599
ee041f2d
SM
76002013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * env.el (substitute-env-in-file-name): New function.
7603 (substitute-env-vars): Extend the meaning of the optional arg.
7604
a5dab159
EZ
76052013-10-10 Eli Zaretskii <eliz@gnu.org>
7606
7607 * term/w32-win.el (dynamic-library-alist): Define separate lists
7608 of GIF DLLs for versions before and after 5.0.0 of giflib.
7609 (Bug#15531)
7610
0449d6cd 76112013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
7612
7613 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7614 not locked, use last revision and current source as
7615 defaults. (Bug#15569)
7616
2f6e161e
MY
76172013-10-10 Masatake YAMATO <yamato@redhat.com>
7618
7619 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7620 menu-bar is hidden.
7621
6c8413fc
MR
76222013-10-10 Martin Rudalics <rudalics@gmx.at>
7623
7624 * window.el (pop-to-buffer-same-window): Fix doc-string.
7625 (Bug#15492)
7626
20832de0
SM
76272013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7630
c6e8ae77
AC
76312013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7632
7633 * calendar/icalendar.el (icalendar-import-file):
7634 Fix interactive spec. (Bug#15482)
7635
9db13baf
GM
76362013-10-10 Glenn Morris <rgm@gnu.org>
7637
9271e90e
GM
7638 * desktop.el (desktop-save): Default to saving in .emacs.d,
7639 since PWD is no longer in desktop-path by default. (Bug#15319)
7640
9db13baf
GM
7641 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7642 now that text mode has a menu with the same entry.
7643 (menu-bar-text-mode-auto-fill): Remove now unused func.
7644 * textmodes/text-mode.el (text-mode-map):
7645 Use auto-fill help text from menu-bar.el.
7646
a0be396a 76472013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
7648
7649 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7650
2edcd3c7
JL
76512013-10-09 Juri Linkov <juri@jurta.org>
7652
7653 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7654 instead of this-command-keys. Add universal-argument-more and
7655 universal-argument-minus to the list of prefix commands. (Bug#15568)
7656
574411d0
GM
76572013-10-09 Glenn Morris <rgm@gnu.org>
7658
14afa541
GM
7659 * vc/vc-svn.el (vc-svn-create-repo):
7660 Expand paths in file://... url. (Bug#15446)
7661
574411d0
GM
7662 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7663 Add some entries.
7664 (authors): Remove unused local variables.
7665
79804536
SM
76662013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * profiler.el: Create a more coherent calltree from partial backtraces.
7669 (profiler-format): Hide the tail with `invisible' so that C-s can still
7670 find the hidden elements.
7671 (profiler-calltree-depth): Don't recurse so enthusiastically.
7672 (profiler-function-equal): New hash-table-test.
7673 (profiler-calltree-build-unified): New function.
7674 (profiler-calltree-build): Use it.
7675 (profiler-report-make-name-part): Indent the calltree less.
7676 (profiler-report-mode): Add visibility specs for profiler-format.
7677 (profiler-report-expand-entry, profiler-report-toggle-entry):
7678 Expand the whole subtree when provided with a prefix arg.
7679
238150c8
DG
76802013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7681
7682 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7683 iuwu-mod token.
7684 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7685 hanging iuwu-mod token.
7686 (ruby-smie--forward-token): Do not include a dot after a token in
7687 that token.
7688 (ruby-smie--backward-token): Likewise.
7689
b0949cc4
JL
76902013-10-08 Juri Linkov <juri@jurta.org>
7691
7692 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7693 to isearch-other-control-char.
7694 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7695 and isearch-post-command-hook to post-command-hook.
7696 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7697 and isearch-post-command-hook from post-command-hook.
7698 (isearch-unread-key-sequence)
7699 (isearch-reread-key-sequence-naturally)
7700 (isearch-lookup-scroll-key, isearch-other-control-char)
7701 (isearch-other-meta-char): Remove functions.
7702 (isearch-pre-command-hook, isearch-post-command-hook):
7703 New functions based on isearch-other-meta-char rewritten
7704 relying on the new behavior of overriding-terminal-local-map
7705 that does not replace the local keymaps any more. (Bug#15200)
7706
4ed77415
EZ
77072013-10-08 Eli Zaretskii <eliz@gnu.org>
7708
7709 Support menus on text-mode terminals.
7710 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7711 functionality.
7712
7713 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7714
c2de5588
DK
7715 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7716 Move here from mouse.el.
4ed77415
EZ
7717 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7718 and arrow keys.
7719 (tty-menu-navigation-map): New map for TTY menu navigation.
7720
7721 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7722
7723 * frame.el (display-mouse-p): Report text-mode mouse as available
7724 on w32.
7725 (display-popup-menus-p): Report availability if mouse is
7726 available; don't condition on window-system.
7727
7728 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7729 (tty-menu-selected-face): New faces.
7730
b7d5bd82
TL
77312013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7732
06286513
SM
7733 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7734 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7735 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7736 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7737 New constants.
7738 (lisp-mode-variables): New `elisp' argument.
7739 (emacs-lisp-mode): Use it.
7740 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7741 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7742
b7d5bd82
TL
7743 * indent.el: Use lexical-binding.
7744 (indent-region): Add progress reporter.
7745 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7746 last step.
7747 (indent--next-tab-stop): New function to implement this behavior.
7748 (tab-to-tab-stop, move-to-tab-stop): Use it.
7749
77502013-10-08 Teemu Likonen <tlikonen@iki.fi>
7751
7752 * indent.el (indent-rigidly--current-indentation): New function.
7753 (indent-rigidly-map): New var.
7754 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7755
5ea75d23
BG
77562013-10-08 Bastien Guerry <bzg@gnu.org>
7757
f2726fa2 7758 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 7759
cc5da1ec
SM
77602013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7761
8ffa1a0b
SM
7762 * progmodes/perl-mode.el: Use lexical-binding.
7763 Remove redundant :group args.
7764 (perl-nochange): Change default to be closer to other major modes's
7765 standard behavior.
7766 (perl-indent-line): Don't consider text on current line as a
7767 valid beginning of function from which to indent.
7768
f2223371
SM
7769 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7770 with more than one argument (bug#15538).
7771
44256060
SM
7772 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7773
cc5da1ec
SM
7774 * vc/pcvs.el: Use lexical-binding.
7775 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7776 environment of `eval'.
7777 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7778 than a list of expressions. Adjust callers.
7779 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7780
0ea1599d
DG
77812013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7782
7783 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 7784 case of the dot in a chained method call being on the following line.
0ea1599d 7785
da3e5ebb
SM
77862013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7787
2abb4e65
SM
7788 * electric.el (electric-indent-inhibit): New var.
7789 (electric-indent-post-self-insert-function): Use it.
7790 * progmodes/python.el (python-mode): Set it.
7791
d2e0e795
SM
7792 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7793 open braces.
7794
7795 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7796
bdc6b4c8
SM
7797 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7798 (css-mode): Use electric-indent-chars.
7799
da3e5ebb
SM
7800 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7801 (font-lock-beg, font-lock-end): Move before first use.
7802 (nxml-mode): Use syntax-propertize-function.
7803 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7804 (nxml-extend-after-change-region): Remove.
7805 * nxml/xmltok.el: Use lexical-binding.
7806 (xmltok-save): Use `declare'.
7807 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7808 * nxml/nxml-util.el: Use lexical-binding.
7809 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7810 Use `declare'.
7811 * nxml/nxml-ns.el: Use lexical-binding.
7812 (nxml-ns-save): Use `declare'.
7813 (nxml-ns-prefixes-for): Avoid add-to-list.
7814 * nxml/rng-match.el: Use lexical-binding.
7815 (rng--ipattern): Use cl-defstruct.
7816 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7817 (rng-cons-group-after, rng-subst-group-after)
7818 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7819 Use closures instead of `(lambda...).
7820
f8f91d5d
MA
78212013-10-07 Michael Albinus <michael.albinus@gmx.de>
7822
7823 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7824 of BEG and END.
7825
da3e5ebb
SM
7826 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7827 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
7828 (tramp-gvfs-handle-insert-file-contents): Remove function.
7829
da3e5ebb
SM
7830 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7831 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
7832
7833 * net/trampver.el: Update release number.
7834
7ccae3b1
SM
78352013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7836
55ca2c0d
SM
7837 * progmodes/compile.el (compilation-parse-errors):
7838 Use compilation--put-prop.
7839 (compilation--ensure-parse): Check compilation-multiline.
7840
731fc3ae
SM
7841 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7842
da3e5ebb
SM
7843 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7844 lexical-binding.
a5833280 7845
2e7ba2c2
SM
7846 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7847
7ccae3b1
SM
7848 * progmodes/ruby-mode.el: Fix recently added tests.
7849 (ruby-smie-grammar): Add - and +.
7850 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7851 (ruby-smie--backward-id): New functions.
7852 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7853 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7854 any more.
7855
85698d63
LL
78562013-10-07 Leo Liu <sdl.web@gmail.com>
7857
7858 * register.el (register-preview-delay)
7859 (register-preview-functions): New variables.
7860 (register-read-with-preview, register-preview)
7861 (register-describe-oneline): New functions.
7862 (point-to-register, window-configuration-to-register)
7863 (frame-configuration-to-register, jump-to-register)
7864 (number-to-register, view-register, insert-register)
7865 (copy-to-register, append-to-register, prepend-to-register)
7866 (copy-rectangle-to-register): Use register-read-with-preview to
7867 read register. (Bug#15525)
7868
3986af6c
DS
78692013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7870
7871 * net/network-stream.el (network-stream-open-starttls): Don't add
7872 --insecure if it's already present, because that gnutls-cli
7873 rejects getting that parameter twice.
7874
5cd9cda9
DG
78752013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7876
7877 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7878 keyword, too.
7879
da9ea6d9
DG
78802013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7881
7882 * newcomment.el (comment-use-global-state): Change default value
7883 to t, mark obsolete (Bug#15251).
7884 (comment-beginning): In addition to `comment-to-syntax', check the
7885 value of `comment-use-global-state'.
7886
34d1a133
SM
78872013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7890 (ruby-comment-column): Follow the global default, by default.
7891 (ruby-smie-grammar): Add assignment syntax.
7892 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7893 open-paren, a comma, or a \.
7894 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7895 and line continuations.
7896 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7897 followed by implicit semi-colons. Add rule for string concatenation
7898 and for indentation at BOB.
27821a89 7899 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
7900
7901 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7902 calling next-sexp, since next-token may have skipped chars which
7903 next-sexp doesn't know should be skipped!
7904
6f6ab820
LL
79052013-10-05 Leo Liu <sdl.web@gmail.com>
7906
34d1a133
SM
7907 * progmodes/octave.el (octave-send-region):
7908 Call compilation-forget-errors.
6f6ab820 7909
34ca0f4c
XF
79102013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7911
7912 * vc/vc-svn.el (vc-svn-find-admin-dir):
7913 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7914 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7915 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7916 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7917
a27c1b72
SM
79182013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7919
7920 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7921
258ab3bc
SM
79222013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7923
7924 * subr.el (read-passwd): Hide chars even when called within a context
7925 where after-change-functions is disabled (bug#15501).
7926 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7927 until we removed ourself from overriding-terminal-local-map.
7928
939fb29c
LL
79292013-10-04 Leo Liu <sdl.web@gmail.com>
7930
258ab3bc
SM
7931 * progmodes/octave.el (inferior-octave-mode):
7932 Call compilation-forget-errors.
939fb29c 7933
63bd7f35
XF
79342013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7935
7936 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7937
9e6229fa
MA
79382013-10-04 Michael Albinus <michael.albinus@gmx.de>
7939
7940 * net/secrets.el (secrets-create-collection): Add optional
7941 argument ALIAS. Use proper Label keyword. Append ALIAS as
7942 dbus-call-method argument. (Bug#15516)
7943
1dab32a3
LL
79442013-10-04 Leo Liu <sdl.web@gmail.com>
7945
7946 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7947 (inferior-octave-compilation-font-lock-keywords): New variables.
7948 (compilation-error-regexp-alist)
7949 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7950 (inferior-octave-mode): Use compilation-shell-minor-mode.
7951
6cad7ba3
JS
79522013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7953
7954 * minibuffer.el (completion--replace): Be careful that `end' might be
7955 a marker.
7956
acbadd00
DU
79572013-10-03 Daiki Ueno <ueno@gnu.org>
7958
7959 Add support for package signature checking.
7960 * emacs-lisp/package.el (url-http-file-exists-p)
7961 (epg-make-context, epg-context-set-home-directory)
7962 (epg-verify-string, epg-context-result-for)
7963 (epg-signature-status, epg-signature-to-string)
7964 (epg-check-configuration, epg-configuration)
7965 (epg-import-keys-from-file): Declare.
7966 (package-check-signature): New user option.
7967 (package-unsigned-archives): New user option.
7968 (package-desc): Add `signed' field.
7969 (package-load-descriptor): Set `signed' field if .signed file exists.
7970 (package--archive-file-exists-p): New function.
7971 (package--check-signature): New function.
7972 (package-install-from-archive): Check package signature.
7973 (package--download-one-archive): Check archive signature.
7974 (package-delete): Remove .signed file.
7975 (package-import-keyring): New command.
7976 (package-refresh-contents): Import default keyring.
7977 (package-desc-status): Add "unsigned" status.
7978 (describe-package-1, package-menu--print-info)
7979 (package-menu-mark-delete, package-menu--find-upgrades)
7980 (package-menu--status-predicate): Support "unsigned" status.
7981
adf2aa61
SM
79822013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7985 the new compilation scheme using the new byte-codes.
7986
7987 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7988 (byte-pophandler): New byte codes.
7989 (byte-goto-ops): Adjust accordingly.
7990 (byte-compile--use-old-handlers): New var.
7991 (byte-compile-catch): Use new byte codes depending on
7992 byte-compile--use-old-handlers.
7993 (byte-compile-condition-case--old): Rename from
7994 byte-compile-condition-case.
7995 (byte-compile-condition-case--new): New function.
7996 (byte-compile-condition-case): New function that dispatches depending
7997 on byte-compile--use-old-handlers.
7998 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7999 when we can.
8000
8001 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8002 Optimize under `condition-case' and `catch' if
8003 byte-compile--use-old-handlers is nil.
8004 (disassemble-offset): Handle new bytecodes.
8005
328a8179
SM
80062013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8007
8008 * subr.el (error): Use `declare'.
8009 (decode-char, encode-char): Use advertised-calling-convention instead
8010 of the docstring to discourage use of the `restriction' arg.
8011
15a1e936
DU
80122013-10-03 Daiki Ueno <ueno@gnu.org>
8013
8014 * epg.el (epg-verify-file): Add a comment saying that it does not
8015 notify verification error as a return value nor a signal.
8016 (epg-verify-string): Ditto.
8017
376f862a
KR
80182013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8019
8020 * progmodes/compile.el (compilation-start): Try globbing the arg to
8021 `cd' (bug#15417).
8022
a2f93a5f
MA
80232013-10-02 Michael Albinus <michael.albinus@gmx.de>
8024
8025 Sync with Tramp 2.2.8.
8026
8027 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8028 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8029 * net/trampver.el: Update release number.
8030
0daa0804
JD
80312013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8032
8033 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8034 and default-process-coding-system for darwin only.
8035
abd1ae34
SM
80362013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8037
8038 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8039
be4e325d
MH
80402013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8041
8042 * vc/vc-git.el (vc-git-grep): Disable pager.
8043
e9155c4a
DG
80442013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8045
494e898b
DG
8046 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8047 Use :url instead of :homepage, as per
8048 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8049
e9155c4a
DG
8050 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8051 non-nil, use `syntax-ppss' (Bug#15251).
8052
481a8e0f
RS
80532013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8054
be4e325d
MH
8055 * progmodes/octave.el (inferior-octave-startup-file):
8056 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 8057
056453c6
DG
80582013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8059
be4e325d
MH
8060 * emacs-lisp/package.el (package-desc-from-define):
8061 Accept additional arguments as plist, convert them to an alist and store
8062 them in the `extras' slot.
056453c6
DG
8063 (package-generate-description-file): Convert extras alist back to
8064 plist and append to the `define-package' form arguments.
8065 (package--alist-to-plist): New function.
8066 (package--ac-desc): Add `extras' slot.
8067 (package--add-to-archive-contents): Check if the archive-contents
8068 vector is long enough, and if it is, pass its `extras' slot value
8069 to `package-desc-create'.
8070 (package-buffer-info): Call `lm-homepage', pass the returned value
8071 to `package-desc-from-define'.
8072 (describe-package-1): Render the homepage button (Bug#13291).
8073
be4e325d
MH
8074 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8075 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 8076
832966e5
JD
80772013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8078
8079 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8080 and default-process-coding-system to utf-8-unix (Bug#15402).
8081
6cfe977d
XF
80822013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8083
8084 * subr.el (looking-back): Do not recommend using looking-back.
8085
38de11bd
AM
80862013-09-28 Alan Mackenzie <acm@muc.de>
8087
8088 Fix indentation/fontification of Java enum with "implements".
8089
8090 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8091 regexp which matches "implements", etc., in Java.
8092 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8093 specifier clauses coming after "enum".
8094 * progmodes/cc-fonts.el (c-font-lock-declarations)
8095 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8096 after "enum".
8097
1610938f
JD
80982013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8099
8100 * faces.el (region): Change ns_selection_color to
8101 ns_selection_fg_color, add ns_selection_bg_color.
8102
e090f499
LL
81032013-09-28 Leo Liu <sdl.web@gmail.com>
8104
4d2e94d1
LL
8105 * progmodes/octave.el (inferior-octave-completion-table)
8106 (inferior-octave-completion-at-point): Minor tweaks.
8107
e090f499
LL
8108 * textmodes/ispell.el (ispell-lookup-words): Rename from
8109 lookup-words. (Bug#15460)
8110 (lookup-words): Obsolete.
8111 (ispell-complete-word, ispell-command-loop): All uses changed.
8112
7e138a62
RS
81132013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8114
a12bf61e 8115 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
8116 (octave-mode-menu): Add octave-send-buffer.
8117 (octave-send-buffer): New function.
8118
5af5ed08
RS
81192013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8120
a12bf61e 8121 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
8122 octave-lookfor.
8123 (octave-mode-menu): Add octave-lookfor.
8124 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8125 octave-lookfor.
8126 (octave-lookfor): New function.
8127
3b7b2692
SM
81282013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8129
35e951cd 8130 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
8131 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8132 its convention.
8133 (cl--loop-set-iterator-function): New function.
8134 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8135 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8136 Bind `it' with `let' instead of substituting it with `cl-subst'.
8137 (cl--unused-var-p): New function.
8138 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8139 Eliminate some unused variable warnings (bug#15326).
8140
529fb53f
TH
81412013-09-27 Tassilo Horn <tsdh@gnu.org>
8142
8143 * doc-view.el (doc-view-scale-reset): Rename from
8144 `doc-view-reset-zoom-level'.
8145 (doc-view-scale-adjust): New command.
8146 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8147 `doc-view-scale-adjust'.
8148
0550c95a
TH
81492013-09-26 Tassilo Horn <tsdh@gnu.org>
8150
8151 * doc-view.el (doc-view-reset-zoom-level): New command.
8152 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8153 zoom commands (bug#15466).
8154
6950f152
KH
81552013-09-26 Kenichi Handa <handa@gnu.org>
8156
8157 * international/quail.el (quail-help): Make it not a command.
8158
39587580
LL
81592013-09-26 Leo Liu <sdl.web@gmail.com>
8160
8161 * minibuffer.el (completion-all-sorted-completions): Make args
8162 optional as they are.
8163
00578659
DC
81642013-09-25 Daniel Colascione <dancol@dancol.org>
8165
8166 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8167 specs are and that they're not evaluated.
8168
0c173878
SS
81692013-09-24 Sam Steingold <sds@gnu.org>
8170
8171 * midnight.el (clean-buffer-list-kill-regexps)
8172 (clean-buffer-list-kill-buffer-names): Update for the new Man
8173 buffer naming which includes the object name.
8174
84998447
SM
81752013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8178 (eshell-parse-command, eshell-parse-pipeline): Use it since
8179 eshell-separate-commands requires a dynamic scoped var.
8180 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8181
33215353
LL
81822013-09-23 Leo Liu <sdl.web@gmail.com>
8183
8184 * autoinsert.el (auto-insert-alist): Make the value of
8185 lexical-binding match its file setting.
8186
57b16162
JB
81872013-09-23 Juanma Barranquero <lekktu@gmail.com>
8188
c8af4e67
JB
8189 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8190
57b16162
JB
8191 * autoarg.el (autoarg-kp-digit-argument):
8192 * electric.el (Electric-command-loop):
8193 * kmacro.el (kmacro-step-edit-insert):
8194 Do not set universal-argument-num-events.
8195
7186ba60
LL
81962013-09-22 Leo Liu <sdl.web@gmail.com>
8197
8198 * files.el (interpreter-mode-alist): Add octave.
8199
ece15004
AM
82002013-09-21 Alan Mackenzie <acm@muc.de>
8201
8202 C++: fontify identifier in declaration following "public:" correctly.
8203 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8204 to match "public", etc.
8205 (c-decl-prefix-re): Add ":" into the C++ value.
8206 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8207 bit. Add a check for a ":" preceded by "public", etc.
8208
75d83e22
EZ
82092013-09-21 Eli Zaretskii <eliz@gnu.org>
8210
8211 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8212 recognized by GDB 7.5 and later.
8213
d052d3bd
XF
82142013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8215
8216 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8217
31dca772
R
82182013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8219
8220 * subr.el (internal--call-interactively): New const.
8221 (called-interactively-p): Use it (bug#3984).
8222
98ccf24e
XF
82232013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8224
8225 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
8226 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8227 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 8228
c39cc7d1
SM
82292013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8230
8231 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8232 (eshell-ls-orig-insert-directory): Remove.
8233 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8234 (eshell-ls-use-in-dired): Use advice-add/remove.
8235 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8236 Add `orig-fun' arg for use in :around advice.
8237 Make it check (redundantly) eshell-ls-use-in-dired.
8238
9a0289a2
GM
82392013-09-19 Glenn Morris <rgm@gnu.org>
8240
a2c501b8
GM
8241 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8242
c440407a
GM
8243 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8244
9a0289a2
GM
8245 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8246
85e05915
MA
82472013-09-19 Michael Albinus <michael.albinus@gmx.de>
8248
8249 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8250 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8251 (tramp-get-remote-python): New defuns.
8252 (tramp-get-remote-uid-with-perl)
8253 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8254 contributed by yary <not.com@gmail.com> (tiny change).
8255 (tramp-get-remote-uid-with-python)
8256 (tramp-get-remote-gid-with-python): New defuns. Python code
8257 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8258 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8259
ce503312
GM
82602013-09-19 Glenn Morris <rgm@gnu.org>
8261
f7544773
GM
8262 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8263
72fd2877
GM
8264 * eshell/em-unix.el (eshell-remove-entries):
8265 Rename argument to avoid name-clash with global `top-level'.
8266
336b5a56
GM
8267 * eshell/esh-proc.el (eshell-kill-process-function):
8268 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8269 (eshell-reset-after-proc): Remove unused arg `proc'.
8270
57a3a53d
GM
8271 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8272 (directory-files-and-attributes): Mark unused arg.
8273
3261d4af
GM
8274 * eshell/em-unix.el (eshell-remove-entries):
8275 Remove unused arg `path'. Update callers.
8276
8e51b5d0
GM
8277 * eshell/em-hist.el (eshell-hist-parse-arguments):
8278 Remove unused arg `silent'. Update callers.
8279
ce503312
GM
8280 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8281 Fix (f)boundp mix-up.
8282
8283 * eshell/em-smart.el (eshell-smart-scroll-window)
8284 (eshell-disable-after-change):
336b5a56 8285 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 8286
ee3ce8a7
AM
82872013-09-18 Alan Mackenzie <acm@muc.de>
8288
8289 Fix fontification of type when followed by "const".
8290 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8291 "known" types from fontification.
8292
ec9177ba
GM
82932013-09-18 Glenn Morris <rgm@gnu.org>
8294
7bb3e768
GM
8295 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8296 (chart-face-list): Drop Emacsen without display-color-p.
8297
5148da15
GM
8298 * net/eww.el (libxml-parse-html-region): Declare.
8299 (eww-display-html): Explicit error if no libxml2 support.
8300
2f68e157
GM
8301 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8302
9019d095
GM
8303 * image.el (image-type-from-buffer, image-multi-frame-p):
8304 Remove --without-x warning/error.
67645389 8305
5f30349b 8306 * mouse.el (mouse-yank-primary):
45069b2e 8307 * term.el (term-mouse-paste):
5f30349b
GM
8308 Reorder to silence --without-x compilation.
8309
cd8edbbe
GM
8310 * mpc.el (doc-view-mode): Silence --without-x compilation.
8311
8a78544e
GM
8312 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8313 Silence --without-x compilation.
8314
12679bfd
GM
8315 * progmodes/gud.el (gud-find-file, gud-mode):
8316 Silence --without-x compilation.
8317 (tooltip-mode): Declare.
30810a05 8318
f0047cb9
GM
8319 * wdired.el (dired-backup-overwrite): Remove declaration.
8320 (wdired-mode-map): Add doc string.
8321
e740f9d2
GM
8322 * custom.el (x-get-resource): Declare.
8323
92d77c89
GM
8324 * eshell/em-glob.el (ange-cache):
8325 * eshell/em-unix.el (ange-cache): Declare.
8326
76e69577
GM
8327 * faces.el (x-display-list, x-open-connection, x-get-resource):
8328 Declare.
7e58af4b
GM
8329
8330 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8331 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8332 Declare.
76e69577 8333
4bd4c0af 8334 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 8335
ffb82dbd
GM
8336 * net/gnutls.el (gnutls-log-level): Declare.
8337
986ed135
GM
8338 * net/shr.el (image-size, image-animate): Declare.
8339
e740f9d2
GM
8340 * simple.el (font-info): Declare.
8341
d2f3e9f8
GM
8342 * subr.el (x-popup-dialog): Declare.
8343
047a1a4c
GM
8344 * term/common-win.el (x-select-enable-primary)
8345 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8346 Declare.
8347
f4a1d572
GM
8348 * term/ns-win.el (x-handle-args): Declare.
8349
e843de77
GM
8350 * term/x-win.el (x-select-enable-clipboard): Declare.
8351
5fa89513
GM
8352 * term/w32-win.el (create-default-fontset): Declare.
8353
38702b5b
GM
8354 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8355 Declare.
8356
e740f9d2
GM
8357 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8358 (fit-frame-to-buffer): Explicit error if --without-x.
8359 (mouse-autoselect-window-select): Silence compiler.
8360
49a053fc
GM
8361 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8362
8363 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8364 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8365 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 8366 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
8367 Remove unused local variables.
8368
8369 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8370
ec9177ba
GM
8371 * textmodes/two-column.el: Make 2C-split work for --without-x.
8372 (scroll-bar-columns): Autoload.
8373 (top-level): Require fringe when compiling.
8374
9f25cb77
LL
83752013-09-18 Leo Liu <sdl.web@gmail.com>
8376
8377 * subr.el (add-hook): Robustify to handle closure as well.
8378
2b42da98
GM
83792013-09-17 Glenn Morris <rgm@gnu.org>
8380
8381 * simple.el (messages-buffer-mode-map): Unbind "g".
8382
e8b66a6a
SM
83832013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8384
9c0ad4f7
SM
8385 * help-mode.el (help-mode-finish): Use derived-mode-p.
8386 Remove obsolete highlighting.
8387
7a806dfb
SM
8388 * play/life.el (life-mode): Use define-derived-mode. Derive from
8389 special-mode.
8390 (life): Let-bind inhibit-read-only.
8391 (life-setup): Avoid `setq'. Use `life-mode'.
8392
96dbf5a8
SM
8393 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8394 which should not be needed any more.
8395 (package-menu-refresh, package-menu-describe-package): Use user-error.
8396
e8b66a6a
SM
8397 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8398 (eshell-post-rewrite-command-hook): Make obsolete.
8399 (eshell-parse-command): Simplify.
8400 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8401 (eshell--cmd): Declare.
8402 (eshell-parse-pipeline): Remove unused var `final-p'.
8403 Pass a dynvar to eshell-post-rewrite-command-hook.
8404 Implement the new eshell-post-rewrite-command-function.
8405 (eshell-invoke-directly): Remove unused arg `input'.
8406 * eshell/esh-io.el (eshell-io-initialize):
8407 Use eshell-post-rewrite-command-function (bug#15399).
8408 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8409 adjust to new calling convention.
8410 (eshell-create-handles): Rename args to avoid clashing with dynvar
8411 `standard-output'.
8412
90582f05
GM
84132013-09-17 Glenn Morris <rgm@gnu.org>
8414
8415 * simple.el (messages-buffer-mode): New major mode.
8416 (messages-buffer): New function.
8417 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8418 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 8419 (ert-run-test): Use `messages-buffer' function.
90582f05 8420 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
8421 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8422 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 8423
39eb0cb5 84242013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
8425
8426 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8427
1d42e5b6 8428 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 8429
70568a90
SM
84302013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8431
504a0381
SM
8432 * icomplete.el (icomplete-in-buffer): New var.
8433 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8434 vars and replace them with functions.
8435 (icomplete-minibuffer-setup): Adjust accordingly.
8436 (icomplete--completion-table, icomplete--completion-predicate)
8437 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8438 New functions.
8439 (icomplete-forward-completions, icomplete-backward-completions)
8440 (icomplete-simple-completing-p, icomplete-exhibit)
8441 (icomplete-completions): Use them.
8442 (icomplete--in-region-buffer): New var.
8443 (icomplete--in-region-setup): New function.
8444 (icomplete-mode): Use it.
8445
70568a90
SM
8446 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8447 (bug#15379).
8448 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8449 return args and options.
8450 (eshell-eval-using-options): Use the new return value of
8451 eshell--do-opts to set the options's vars in their scope.
8452 (eshell--set-option): Rename from eshell-set-option.
8453 Add arg `opt-vals'.
8454 (eshell--process-option): Rename from eshell-process-option.
8455 Add arg `opt-vals'.
8456 (eshell--process-args): Use an `opt-vals' alist to store the options's
8457 values during their processing and return them additionally to the
8458 remaining args.
8459
578c21bc
DG
84602013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8461
8462 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8463 continuation character an operator, as far as indentation is
8464 concerned (Bug#15369).
8465
c089653d
MR
84662013-09-15 Martin Rudalics <rudalics@gmx.at>
8467
8468 * window.el (window--state-put-2): Don't process buffer state
8469 when buffer doesn't exist any more (Bug#15382).
8470
1e53bb4b
GM
84712013-09-15 Glenn Morris <rgm@gnu.org>
8472
30753242
GM
8473 * eshell/em-unix.el (eshell/rm):
8474 Make -f ignore missing files. (Bug#15373)
8475
1e53bb4b
GM
8476 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8477 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8478 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8479
0d8863b3
GM
84802013-09-14 Glenn Morris <rgm@gnu.org>
8481
8482 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8483
d3fc6549
GM
84842013-09-13 Glenn Morris <rgm@gnu.org>
8485
8486 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8487 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8488
fcd42c11
DA
84892013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8490
8491 * frame.el (x-focus-frame): Mark as declared in frame.c.
8492
7830899f
SM
84932013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 * ls-lisp.el: Use advice-add.
8496 (original-insert-directory): Remove.
8497 (ls-lisp--insert-directory): Rename from insert-directory; add
8498 `orig-fun' argument.
8499 (insert-directory): Advise.
8500
84387cd2
EZ
85012013-09-13 Eli Zaretskii <eliz@gnu.org>
8502
8503 * term.el (term-emulate-terminal): Decode the command string
8504 before passing it to term-command-hook. (Bug#15337)
8505
35ffc6ba
GM
85062013-09-13 Glenn Morris <rgm@gnu.org>
8507
5c3f9bcc
GM
8508 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8509
2ada368a
GM
8510 * eshell/esh-ext.el (eshell-search-path): Declare.
8511
fcef2e13
GM
8512 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8513 Otherwise an error occurs if eshell-dirs module not loaded.
8514
35ffc6ba
GM
8515 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8516
35c3d36e
MA
85172013-09-13 Michael Albinus <michael.albinus@gmx.de>
8518
8519 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8520 `tramp-check-proper-host'. Check for a valid method name.
8521
8522 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8523 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8524 * net/tramp-sh.el (tramp-maybe-open-connection):
8525 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8526
8527 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8528 also for hash values.
8529
ae5e4c48
SM
85302013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8531
379add74
SM
8532 * term/ns-win.el (parameters): Don't declare as dynamic.
8533 (before-make-frame-hook): Don't add ineffective function.
8534
ae5e4c48
SM
8535 * eshell/*.el: Use lexical-binding (bug#15231).
8536
b5623270
KH
85372013-09-12 Kenichi Handa <handa@gnu.org>
8538
ae5e4c48 8539 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 8540
30213927
GM
85412013-09-12 Glenn Morris <rgm@gnu.org>
8542
be94d713 8543 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 8544 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 8545
44915370
GM
8546 * subr.el (do-after-load-evaluation): Also give compiler warnings
8547 when obsolete files are used (except by obsolete files).
8548
a6ae021f
GM
8549 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8550 in the status output, assume `filename' is the first. (Bug#15322)
8551
40e64f0c
GM
8552 * vc/vc.el (vc-deduce-fileset): Doc fix.
8553
16d9f896
GM
8554 * calc/calc-help.el (Info-goto-node):
8555 * progmodes/cperl-mode.el (Info-find-node):
8556 * vc/ediff.el (Info-goto-node): Update declarations.
8557
dea01c6e
GM
8558 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8559
759880bf 8560 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
8561 (vc-bzr-pull): Require vc-dispatcher.
8562 * vc/vc-git.el (vc-compilation-mode): Declare.
8563 (vc-git-pull): Require vc-dispatcher.
8564
08d66420
GM
8565 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8566
30b626e9
GM
8567 * progmodes/octave.el (help-button-action): Declare.
8568
8c05cb10
GM
8569 * shell.el (shell-directory-tracker): Output error as a message
8570 rather than just returning it as a string.
8571 (shell-process-pushd): Remove useless use of message.
8572
30213927
GM
8573 * dframe.el (dframe-timer-fn):
8574 * files.el (dir-locals-read-from-file):
8575 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8576 (mpc-format):
8577 * reveal.el (reveal-post-command):
8578 * saveplace.el (load-save-place-alist-from-file):
8579 * shell.el (shell-resync-dirs):
8580 * w32-common-fns.el (x-get-selection-value):
8581 * emacs-lisp/copyright.el (copyright-find-copyright):
8582 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8583 * emulation/tpu-edt.el (tpu-copy-keyfile):
8584 * play/bubbles.el (bubbles--mark-neighbourhood):
8585 * progmodes/executable.el
8586 (executable-make-buffer-file-executable-if-script-p):
8587 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8588
d3b049e6
SM
85892013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8590
170266d0
SM
8591 Cleanup Eshell to rely less on dynamic scoping.
8592 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8593 last-value, and ext-command here. Bind `args' closer to `body'.
8594 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8595 (eshell--args): Declare new dynamic var.
8596 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8597 last-value, and ext-command. Pass `args' to `body'.
8598 (eshell-process-args): Bind eshell--args.
8599 (eshell-set-option): Use eshell--args.
8600 * eshell/eshell.el (eshell): Use derived-mode-p.
8601 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8602 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8603 (eshell-glob-function): Declare.
8604 * eshell/esh-util.el: Require cl-lib.
8605 (eshell-read-hosts-file): Avoid add-to-list.
8606 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8607 `err'.
8608 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8609 Declare.
8610 (eshell/diff): Remove unused var `err'.
8611 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8612 `killflag'.
8613 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8614 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8615 first use.
8616 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8617 Move declaration before first use.
8618 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
8619 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8620 rely on cl-return.
8621
56834f3b
GM
86222013-09-12 Glenn Morris <rgm@gnu.org>
8623
8624 * term/ns-win.el (global-map): Remove binding for ispell-next,
8625 deleted 1999-05-29. (Bug#15357)
8626
5c91a2b8
GM
86272013-09-11 Glenn Morris <rgm@gnu.org>
8628
da712f22
GM
8629 * echistory.el (electric-command-history): Remove call to deleted func.
8630
512e4cdc
GM
8631 * play/landmark.el (landmark-mode): Fix typos.
8632
d3506ca5
GM
8633 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8634 Check cvs-sort-ignore-file is bound.
8635
5c91a2b8
GM
8636 * savehist.el: No need for cl when compiling on Emacs.
8637
feeff482
SM
86382013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8639
656bd483
SM
8640 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8641 (bug#15338).
d3b049e6
SM
8642 (eshell-self-insert-command, eshell-send-invisible):
8643 Remove unused argument.
656bd483
SM
8644 (eshell-handle-control-codes): Remove unused var `orig'.
8645 Avoid delete-backward-char.
8646
feeff482
SM
8647 * files.el (set-auto-mode): Simplify a bit further.
8648
2a08047a
GM
86492013-09-11 Glenn Morris <rgm@gnu.org>
8650
8651 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8652 (set-auto-mode): Don't regexp-quote elements.
8653 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8654 * progmodes/cc-mode.el (interpreter-mode-alist):
8655 * progmodes/ruby-mode.el (interpreter-mode-alist):
8656 Revert previous change.
8657
34675540
SM
86582013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8659
1b3b87df
SM
8660 * play/snake.el (snake-mode):
8661 * play/mpuz.el (mpuz-mode):
8662 * play/landmark.el (lm-mode):
8663 * play/blackbox.el (blackbox-mode):
8664 * play/5x5.el (5x5-mode):
8665 * obsolete/options.el (Edit-options-mode):
8666 * net/quickurl.el (quickurl-list-mode):
8667 * net/newst-treeview.el (newsticker-treeview-mode):
8668 * mail/rmailsum.el (rmail-summary-mode):
8669 * mail/mspools.el (mspools-mode):
8670 * locate.el (locate-mode):
8671 * ibuffer.el (ibuffer-mode):
8672 * emulation/ws-mode.el (wordstar-mode):
8673 * emacs-lisp/debug.el (debugger-mode):
8674 * array.el (array-mode):
8675 * net/eudc.el (eudc-mode): Use define-derived-mode.
8676 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8677 Move initialization into declaration.
8678 (mairix-searches-mode): Use define-derived-mode.
8679 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8680 (eudc-edit-hotlist): Use dolist.
8681 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8682 (Man-mode): Use define-derived-mode.
8683 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8684 (Info-edit-mode): Use define-derived-mode.
8685 (Info-cease-edit): Use Info-mode.
8686 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8687 into declaration.
8688 (eshell-mode): Use define-derived-mode.
8689 * chistory.el (command-history-mode-map): Rename from
8690 command-history-map.
8691 (command-history-mode): Use define-derived-mode.
da712f22 8692 (Command-history-setup): Remove function.
1b3b87df
SM
8693 * calc/calc.el (calc-trail-mode-map): New var.
8694 (calc-trail-mode): Use define-derived-mode.
8695 (calc-trail-buffer): Set calc-main-buffer manually.
8696 * bookmark.el (bookmark-insert-annotation): New function.
8697 (bookmark-edit-annotation): Use it.
8698 (bookmark-edit-annotation-mode): Make it a proper major mode.
8699 (bookmark-send-edited-annotation): Use derived-mode-p.
8700 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8701 closer to its ideal place. Use \' to match EOS.
8702
34675540
SM
8703 * profiler.el (profiler-calltree-find): Use function-equal.
8704
6a5c15d9
GM
87052013-09-10 Glenn Morris <rgm@gnu.org>
8706
1af4c220
GM
8707 * files.el (interpreter-mode-alist): Convert to regexps.
8708 (set-auto-mode): Adapt for this. (Bug#15306)
8709 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8710 Comment out unused variable.
8711 * progmodes/cc-mode.el (interpreter-mode-alist):
8712 * progmodes/python.el (interpreter-mode-alist):
8713 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8714 * progmodes/sh-script.el (sh-set-shell):
8715 No longer use interpreter-mode-alist to get list of shells.
8716
6a5c15d9
GM
8717 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8718
8c27f5ff
SM
87192013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8720
02ef6c1a 8721 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 8722 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
8723 Bind switch-frame explicitly. Replace universal-argument-minus with
8724 a conditional binding.
8725 (universal-argument-num-events, saved-overriding-map): Remove.
8726 (restore-overriding-map): Remove.
8727 (universal-argument--mode): Rename from save&set-overriding-map,
8728 and rewrite.
8729 (universal-argument, universal-argument-more, negative-argument)
8730 (digit-argument): Adjust accordingly.
8731 (universal-argument-minus): Remove.
8732 (universal-argument-other-key): Remove.
8733
8c27f5ff
SM
8734 * subr.el (with-demoted-errors): Add `format' argument.
8735
6480194c
MA
87362013-09-10 Michael Albinus <michael.albinus@gmx.de>
8737
8738 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8739 `tramp-cleanup-connection'.
8740
8741 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8742 parameters KEEP-DEBUG and KEEP-PASSWORD.
8743
8744 * net/tramp.el (tramp-file-name-handler):
8745 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8746 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8747 (tramp-maybe-open-connection):
8c27f5ff
SM
8748 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8749 Use `tramp-cleanup-connection'.
6480194c 8750
8c27f5ff
SM
8751 * net/tramp-sh.el (tramp-maybe-open-connection):
8752 Catch 'uname-changed inside the progress reporter.
6480194c 8753
e5e916d8
GM
87542013-09-10 Glenn Morris <rgm@gnu.org>
8755
9a2c9b47
GM
8756 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8757
e5e916d8
GM
8758 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8759 returns "alternate access method" in mode (eg "-rw-r--r--.").
8760
144e38fe
GM
87612013-09-08 Glenn Morris <rgm@gnu.org>
8762
8763 * saveplace.el (load-save-place-alist-from-file):
8764 Demote errors. (Bug#15305)
8765
af9ff9e8
MA
87662013-09-08 Michael Albinus <michael.albinus@gmx.de>
8767
8768 Improve compatibility with older Emacsen, and XEmacs.
8769
8770 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8771 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
8772 (with-tramp-progress-reporter): Do not let-bind `result'.
8773 This yields to scoping errors in XEmacs.
af9ff9e8
MA
8774 (tramp-handle-make-auto-save-file-name): New function, moved from
8775 tramp-sh.el.
8776
8777 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8778 for `make-auto-save-file-name'.
8c27f5ff
SM
8779 (tramp-adb--gnu-switches-to-ash):
8780 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8781
8782 * net/tramp-cache.el (tramp-cache-print): Call
8783 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8784
8785 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8786 bound. It isn't for XEmacs.
8787
8c27f5ff
SM
8788 * net/tramp-compat.el (tramp-compat-copy-file):
8789 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
8790 (tramp-compat-replace-regexp-in-string): New defun.
8791
8792 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8793 for `make-auto-save-file-name'.
8794 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8795 `copy-file'.
8796 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8797 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8798 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8799
8c27f5ff
SM
8800 * net/tramp-gw.el (tramp-gw-open-network-stream):
8801 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 8802
8c27f5ff
SM
8803 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8804 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
8805 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8806 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
8807 (tramp-sh-file-inotifywait-process-filter):
8808 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8809 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8810
8811 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8812 for `make-auto-save-file-name'.
8c27f5ff
SM
8813 (tramp-smb-handle-copy-directory):
8814 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8815 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8816 (tramp-smb-handle-copy-file): Improve error message.
8817 (tramp-smb-handle-rename-file): Rename directly only in case
8818 `newname' does not exist yet. This is a restriction of smbclient.
8819 (tramp-smb-maybe-open-connection): Rerun the function only when
8820 `auth-sources' is non-nil.
8821
0ca754d0
KH
88222013-09-08 Kenichi Handa <handa@gnu.org>
8823
e0eb0550 8824 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
8825 more characters.
8826
e8dd0787
AM
88272013-09-07 Alan Mackenzie <acm@muc.de>
8828
8829 Correctly fontify Java class constructors.
8830 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8831 in Java Mode.
8832 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
8833 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8834 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
8835 "typeless" declaration there.
8836
f2f248e7
RW
88372013-09-07 Roland Winkler <winkler@gnu.org>
8838
8839 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8840 field subtitle for entry type book.
8841
67982e2b
SM
88422013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * minibuffer.el: Make minibuffer-complete call completion-in-region
8845 rather than other way around.
8846 (completion--some, completion-pcm--find-all-completions):
8847 Don't delay signals when debugging.
8848 (minibuffer-completion-contents): Beware fields within the
8849 minibuffer contents.
8850 (completion-all-sorted-completions): Use defvar-local.
8851 (completion--do-completion, completion--cache-all-sorted-completions)
8852 (completion-all-sorted-completions, minibuffer-force-complete):
8853 Add args `beg' and `end'.
8854 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8855 (minibuffer-complete): Use completion-in-region.
8856 (completion-complete-and-exit): New fun, extracted from
8857 minibuffer-complete-and-exit.
8858 (minibuffer-complete-and-exit): Use it.
8859 (completion--complete-and-exit): Rename from
8860 minibuffer--complete-and-exit.
8861 (completion-in-region--single-word): New function, extracted from
8862 minibuffer-complete-word.
8863 (minibuffer-complete-word): Use it.
8864 (display-completion-list): Make `common-substring' argument obsolete.
8865 (completion--in-region): Call completion--in-region-1 instead of
8866 minibuffer-complete.
8867 (completion-help-at-point): Pass boundaries to
8868 minibuffer-completion-help as args rather than via an overlay.
8869 (completion-pcm--string->pattern): Use `any-delim'.
8870 (completion-pcm--optimize-pattern): New function.
8871 (completion-pcm--pattern->regex): Handle `any-delim'.
8872 * icomplete.el (icomplete-forward-completions)
8873 (icomplete-backward-completions, icomplete-completions):
8874 Adjust calls to completion-all-sorted-completions and
8875 completion--cache-all-sorted-completions.
8876 (icomplete-with-completion-tables): Default to t.
8877 * emacs-lisp/crm.el (crm--current-element): Rename from
8878 crm--select-current-element. Don't put an overlay but return the
8879 boundaries instead.
8880 (crm--completion-command): Take two new args to bind to the boundaries.
8881 (crm-completion-help): Adjust accordingly.
8882 (crm-complete): Use completion-in-region.
8883 (crm-complete-word): Use completion-in-region--single-word.
8884 (crm-complete-and-exit): Use completion-complete-and-exit.
8885
e17d94a5
SM
88862013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8887
8888 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8889 than dynamically.
8890
96727100
JL
88912013-09-06 Juri Linkov <juri@jurta.org>
8892
8893 * info.el (Info-display-images-node): When image file doesn't exist
8894 display text version of the image if it's provided in the Info file.
8895 Otherwise, display the location of missing image from SRC attribute.
8896 Add help-echo text property from ALT attribute. (Bug#15279)
8897
86cf7329
SM
88982013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8899
8900 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8901 (edit-abbrevs-mode): Use define-derived-mode.
8902
8903 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8904 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8905 that it's defined.
8906 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8907 Use define-derived-mode.
8908
8909 * epg.el (epg-start-encrypt): Minor CSE simplification.
8910
816244a2
WX
89112013-09-06 William Xu <william.xwl@gmail.com>
8912
8913 * arc-mode.el: Add support for 7za (bug#15264).
8914 (archive-7z-program): New var.
8915 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8916 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8917 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8918
1486fa31
MA
89192013-09-06 Michael Albinus <michael.albinus@gmx.de>
8920
8921 Remove URL syntax.
8922
8923 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8924 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8925 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8926 (tramp-postfix-host-format, tramp-file-name-regexp)
8927 (tramp-completion-file-name-regexp)
8928 (tramp-completion-dissect-file-name)
8929 (tramp-handle-substitute-in-file-name): Remove 'url case.
8930 (tramp-file-name-regexp-url)
8931 (tramp-completion-file-name-regexp-url): Remove constants.
8932
39785324
GM
89332013-09-06 Glenn Morris <rgm@gnu.org>
8934
8935 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8936
1f896cb7
DG
89372013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8938
8939 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8940 keywords" below "here-doc beginnings" (Bug#15270).
8941
c0458e0b
SM
89422013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8944 * subr.el (pop): Use `car-safe'.
8945 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8946 to detect unused `pop' return value.
8947
8948 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8949 var `block-regexp'.
8950 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8951 (python-fill-string): Remove unused var `marker'.
8952 (python-skeleton-add-menu-items): Remove unused var `items'.
8953
8954 * international/mule-cmds.el: Require CL.
8955 (find-coding-systems-for-charsets): Avoid add-to-list.
8956 (sanitize-coding-system-list): New function, extracted from
8957 select-safe-coding-system-interactively.
8958 (select-safe-coding-system-interactively): Use it.
8959 (read-input-method-name): Accept symbols for `default'.
8960
8961 * emacs-lisp/advice.el (defadvice): Add indent rule.
8962
6c42fc3e
DH
89632013-09-05 Daniel Hackney <dan@haxney.org>
8964
8965 * dired-x.el:
8966 * net/ange-ftp.el:
8967 * net/browse-url.el:
8968 * net/dbus.el:
8969 * net/eudc.el:
8970 * net/eudcb-ldap.el:
8971 * net/eww.el:
8972 * net/imap.el:
8973 * printing.el:
8974 * vc/ediff-diff.el:
8975 * vc/ediff-init.el:
8976 * vc/ediff-merg.el:
8977 * vc/ediff-mult.el:
8978 * vc/ediff-util.el:
8979 * vc/ediff-wind.el:
8980 * vc/ediff.el:
8981 * vc/emerge.el:
8982 * vc/pcvs.el:
8983 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8984 byte compiler. Remove some unused let-bound variables.
8985
4c528aab
SM
89862013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8989 a "ref-cell", since it gets better optimized (bug#14883).
8990
bd15c390
GM
89912013-09-05 Glenn Morris <rgm@gnu.org>
8992
8993 * progmodes/cc-awk.el (c-forward-sws): Declare.
8994
1c3ac2e5
GM
89952013-09-04 Glenn Morris <rgm@gnu.org>
8996
8997 * generic-x.el [rul-generic-mode]: Require cc-mode.
8998 (c++-mode-syntax-table): Declare.
8999 (rul-generic-mode-syntax-table): Init in the defvar.
9000
52b1cc79
SM
90012013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9002
c828af56
SM
9003 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9004 (vc-do-command, vc-set-async-update):
9005 * vc/vc-mtn.el (vc-mtn-dir-status):
9006 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9007 (vc-hg-pull, vc-hg-merge-branch):
9008 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9009 (vc-git-merge-branch):
9010 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9011 (vc-cvs-dir-status-files):
9012 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9013 (vc-bzr-dir-status-files):
9014 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9015 * vc/vc-annotate.el: Use lexical-binding.
9016 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9017 (vc-sentinel-movepoint): Declare.
9018 (vc-annotate): Don't use `goto-line'.
9019 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9020 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9021 (vc-sentinel-movepoint): Declare.
9022 * vc/vc-svn.el: Use lexical-binding.
9023 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9024 * vc/vc-sccs.el:
9025 * vc/vc-rcs.el: Use lexical-binding.
9026
abae272c
SM
9027 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9028 `deleted'. Don't drop errors silently.
9029
52b1cc79
SM
9030 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9031
63191d9f
XF
90322013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9033
9034 * vc/vc.el (vc-ignore): Rewrite.
9035 (vc-default-ignore): New function.
9036 (vc-default-ignore-completion-table): Use find-ignore-file.
9037
9038 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9039 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9040 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9041 Remove. Most code moved to vc.el.
9042
9d3f707c
SM
90432013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9044
abae272c 9045 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
9046 * net/tramp-smb.el (tramp-smb-get-file-entries):
9047 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9048 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9049
fde38d49
SM
9050 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9051 Update call to it.
9052 (eww-change-select): Remove unused var `properties'.
9053 (eww-make-unique-file-name): Remove unused var `base'.
9054
9055 * finder.el (finder-compile-keywords): Don't mess with windows.
9056
84032db7
SM
9057 * calculator.el (calculator-funcall): Fix typo in last change.
9058
724f5e41
SM
9059 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9060
14b511d4
SM
9061 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9062 <pkg>-autoloads.el file stop us.
9063
9d3f707c 9064 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 9065 warnings, and factor out common code.
9d3f707c 9066
88527bc0
DG
90672013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9068
9069 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9070 two-character operators and whether the character preceding them
9071 changes their meaning (Bug#15208).
9072
96edb677
FEG
90732013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9074
9075 Format code sent to Python shell for robustness.
9d3f707c
SM
9076 * progmodes/python.el (python-shell-buffer-substring):
9077 New function.
96edb677
FEG
9078 (python-shell-send-region, python-shell-send-buffer): Use it.
9079
95beaef3
MA
90802013-09-02 Michael Albinus <michael.albinus@gmx.de>
9081
9082 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9083 * net/tramp.el (tramp-user-error): ... here.
9084 (tramp-find-method, tramp-check-proper-host)
9085 (tramp-dissect-file-name, tramp-debug-message)
9086 (tramp-handle-shell-command):
9087 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9088 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9089
9090 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9091
f167c27b
MR
90922013-09-02 Martin Rudalics <rudalics@gmx.at>
9093
9094 * avoid.el (mouse-avoidance-point-position)
9095 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9096 returns nil.
9097
cd16c5f1
FEG
90982013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9099
9100 * progmodes/python.el (python-shell-completion-get-completions):
9101 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 9102 (python-nav-if-name-main): New command.
cd16c5f1 9103
e73c3a0d
GM
91042013-09-01 Glenn Morris <rgm@gnu.org>
9105
f8ccce03
GM
9106 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9107 Avoid leading space in $wins. Otherwise the sed command used by
9108 eg compile-main ends up containing "/*.el". (Bug#15170)
9109
e73c3a0d
GM
9110 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9111
415f808e
GM
91122013-08-30 Glenn Morris <rgm@gnu.org>
9113
9114 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9115 Fix is-this-a-directory logic. (Bug#15220)
9116
f069bba8
SM
91172013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9118
112798c1
SM
9119 * textmodes/css-mode.el: Use SMIE.
9120 (css-smie-grammar): New var.
9121 (css-smie--forward-token, css-smie--backward-token)
9122 (css-smie-rules): New functions.
9123 (css-mode): Use them.
9124 (css-navigation-syntax-table): Remove var.
9125 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9126 (css-indent-calculate, css-indent-line): Remove functions.
9127
9128 Misc changes to reduce use of `(lambda...); and other cleanups.
9129 * cus-edit.el: Use lexical-binding.
9130 (customize-push-and-save, customize-apropos)
9131 (custom-buffer-create-internal): Use closures.
9132 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9133 * progmodes/ada-xref.el: Use setq.
9134 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9135 * dframe.el: Use lexical-binding.
9136 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9137 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9138 * descr-text.el: Use lexical-binding.
9139 (describe-text-widget, describe-text-sexp, describe-property-list):
9140 Use closures.
9141 * comint.el (comint-history-isearch-push-state): Use a closure.
9142 * calculator.el: Use lexical-binding.
9143 (calculator-number-to-string): Make it work with lexical-binding.
9144 (calculator-funcall): Same and use cl-letf.
9145
2da4c3ab
SM
9146 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9147 (lisp--company-doc-string, lisp--company-location): New functions.
9148 (lisp-completion-at-point): Use them to improve Company support.
9149
f069bba8
SM
9150 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9151 params of lambda expressions.
9152 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9153 (ruby-smie--opening-pipe-p): New function.
9154 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9155 symbols and matched |...| for formal params.
9156 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9157 from being treated as hanging. Handle "rescue".
9158
6758b6a8
GM
91592013-08-29 Glenn Morris <rgm@gnu.org>
9160
9161 * progmodes/cc-engine.el (c-pull-open-brace):
9162 Move definition before use.
9163
e8dfd197
SM
91642013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9165
9166 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9167 are immutable. Don't use `unsafe' any more.
9168 (cl--defsubst-expand): Don't substitute at the same time as keeping
9169 a residual unused let-binding. Don't use `unsafe' any more.
9170
cc585c96
GM
91712013-08-29 Glenn Morris <rgm@gnu.org>
9172
ba579ea6
GM
9173 * calendar/cal-china.el (calendar-chinese-year-cache):
9174 Recenter on 2015.
9175
8201a87e
GM
9176 * nxml/nxml-util.el (nxml-debug-clear-inside):
9177 Use cl-loop rather than loop.
9178
6ee877c7
GM
9179 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9180
cc585c96
GM
9181 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9182
27be8d39
GM
91832013-08-28 Glenn Morris <rgm@gnu.org>
9184
397440a1
GM
9185 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9186
2bb762d4
GM
9187 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9188
27be8d39
GM
9189 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9190
2d69b99e
SM
91912013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9192
f663baa7
SM
9193 * simple.el (repeat-complex-command--called-interactively-skip):
9194 New function.
9195 (repeat-complex-command): Use it (bug#14136).
9196
dd4f8b74
SM
9197 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9198 (c-define-abbrev-table): Add `doc' argument.
9199 (c-mode-abbrev-table, c++-mode-abbrev-table)
9200 (objc-mode-abbrev-table, java-mode-abbrev-table)
9201 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9202 (awk-mode-abbrev-table): Use it.
9203 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9204 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9205 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9206 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9207 Move initialization into the declaration; and remove any
9208 autoload cookie.
9209
b58969f7
SM
9210 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9211 and dynamic let binding.
9212
4021d6a6
SM
9213 * vc/smerge-mode.el: Remove redundant :group args.
9214
2d69b99e
SM
9215 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9216 to load-path.
9217
274919fd
JL
92182013-08-28 Juri Linkov <juri@jurta.org>
9219
9220 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9221 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9222 (isearch-other-meta-char): Handle an undefined shifted printing
9223 character by downshifting it. (Bug#15200)
9224
121f8c95
JL
92252013-08-28 Juri Linkov <juri@jurta.org>
9226
9227 * isearch.el (isearch-search): Change regexp error message for
9228 non-regexp searches. (Bug#15166)
9229
50b13cde
PE
92302013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9231
9232 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9233 for portability to hosts where /bin/sh has problems.
9234
95888bca
SM
92352013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9238
bbe558f1
JL
92392013-08-27 Juri Linkov <juri@jurta.org>
9240
9241 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9242 in the keyboard macro. (Bug#15126)
9243
26f98a7d
JL
92442013-08-27 Juri Linkov <juri@jurta.org>
9245
9246 * isearch.el (isearch-quote-char): Comment out converting unibyte
9247 to multibyte, thus syncing with its `quoted-insert' counterpart.
9248 (Bug#15166)
9249
7c97d35e
MR
92502013-08-27 Martin Rudalics <rudalics@gmx.at>
9251
9252 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
9253 argument in call of get-largest-window (Bug#15185).
9254 Reported by Stephen Leake.
7c97d35e 9255
a0b5606e 92562013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
9257
9258 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9259
9e89d835
SM
92602013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9263 from a matcher-function unless there's no more matches (bug#15161).
9264
78fc2530
MA
92652013-08-26 Michael Albinus <michael.albinus@gmx.de>
9266
9267 * minibuffer.el: Revert change from 2013-08-20.
9268
9269 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9270 with text property `tramp-default', if appropriate.
9271 (tramp-check-proper-host): New defun.
9272 (tramp-dissect-file-name): Do not check hostname. Revert change
9273 of 2013-03-18.
9274 (tramp-backtrace): Make VEC-OR-PROC optional.
9275
9276 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9277 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9278 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
9279 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9280 Apply `tramp-check-proper-host'.
78fc2530 9281
edca97cd
TH
92822013-08-26 Tassilo Horn <tsdh@gnu.org>
9283
9284 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9285 lambda expression in order to have `describe-variable' display it.
9286
df54bcbd
MA
92872013-08-26 Michael Albinus <michael.albinus@gmx.de>
9288
9289 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9290 BUF can be optional. (Bug#15186)
9291
eed99101
XF
92922013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9293
9294 * progmodes/flymake.el (flymake-get-real-file-name-function):
9295 Fix broken customization. (Bug#15184)
9296
b5eb9035
AM
92972013-08-25 Alan Mackenzie <acm@muc.de>
9298
8a51e842
AM
9299 Improve indentation of bracelists defined by macros (without "=").
9300
9301 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9302 expansion begins with "{", regard it as bracelist when it doesn't
9303 contain a ";".
9304
869455d4
AM
9305 Parse C++ inher-intro when there's a template split over 2 lines.
9306
9307 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9308 rigorously the search for "class" etc. followed by ":".
9309
9310 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9311 random languages a regexp which never matches rather than nil.
9312
b5eb9035
AM
9313 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9314
9315 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9316 (c-awk-regexp-one-line-possibly-open-char-list-re)
9317 (c-awk-one-line-possibly-open-regexp-re)
9318 (c-awk-one-line-non-syn-ws*-re): Remove.
9319 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9320 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9321 (c-awk-space*-unclosed-regexp-/-re): New constants.
9322 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9323 aren't regexp delimiters.
9324
9325 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9326 handling for a rare situation in AWK Mode involving unterminated
9327 strings/regexps.
9328
61611d54
GM
93292013-08-23 Glenn Morris <rgm@gnu.org>
9330
2d85dc34
GM
9331 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9332
cb8d2612
GM
9333 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9334
bb35f42f
GM
9335 * files.el (create-file-buffer): If the result would begin with
9336 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 9337
b9808e77
SM
93382013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9339
e3a66363
SM
9340 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9341 text-properties (bug#15155).
9342
b9808e77
SM
9343 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9344 exist any more.
9345 (calc-keypad-redraw): Remove unused var `pad'.
9346 (calc-keypad-press): Remove unused var `menu'.
9347
7fd5f65e
MR
93482013-08-23 Martin Rudalics <rudalics@gmx.at>
9349
b9808e77
SM
9350 * window.el (display-buffer-pop-up-frame):
9351 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
9352 use it as the new frame's buffer (Bug#15133).
9353
8352b530
SM
93542013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9355
9356 * calendar/timeclock.el: Minor cleanups.
9357 (timeclock-ask-before-exiting, timeclock-use-display-time):
9358 Use `symbol'.
9359 (timeclock-modeline-display): Define as alias before the
9360 actual definition.
9361 (timeclock-mode-line-display): Use define-minor-mode.
9362 (timeclock-day-list-template): Make it a function, add an argument.
9363 (timeclock-day-list-required, timeclock-day-list-length)
9364 (timeclock-day-list-debt, timeclock-day-list-span)
9365 (timeclock-day-list-break): Adjust calls accordingly.
9366
9f7b1925
SM
93672013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9370 Use read--expression so that completion works again.
9371
6e50e983
SS
93722013-08-21 Sam Steingold <sds@gnu.org>
9373
9374 Add rudimentary inferior shell interaction
9375 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9376 (sh-set-shell): Reset it.
9f7b1925
SM
9377 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9378 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 9379
dbb0d350
SM
93802013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * align.el: Use lexical-binding.
9383 (align-region): Simplify accordingly.
9384
c88586a9
MA
93852013-08-20 Michael Albinus <michael.albinus@gmx.de>
9386
9387 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9388
9389 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9390 `non-essential' up.
9391
f95527c8
MA
93922013-08-17 Michael Albinus <michael.albinus@gmx.de>
9393
9394 * net/tramp.el:
9395 * net/tramp-adb.el:
9396 * net/tramp-cmds.el:
9397 * net/tramp-ftp.el:
9398 * net/tramp-gvfs.el:
9399 * net/tramp-gw.el:
9400 * net/tramp-sh.el: Don't wrap external variable declarations by
9401 `eval-when-compile'.
9402
4b5fe4ee
LMI
94032013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9404
9405 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9406 now that Emacs supports ImageMagick animations.
9407
13c366c9
MA
94082013-08-16 Michael Albinus <michael.albinus@gmx.de>
9409
9410 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9411 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9412
3dfc5cd6
MR
94132013-08-16 Martin Rudalics <rudalics@gmx.at>
9414
9415 * window.el (mouse-autoselect-window-select): Do autoselect when
9416 mouse pointer is on margin.
9417
4bbb4381
WP
94182013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9419
9420 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9421
3a2ddc2d
GM
94222013-08-16 Glenn Morris <rgm@gnu.org>
9423
e8bedf5a
GM
9424 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9425 Handle "Remote Directory" response of some clients. (Bug#15058)
9426
58c4682f
GM
9427 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9428 Tweak warning. (Bug#14926)
9429
57953f49
GM
9430 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9431 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9432
3a2ddc2d
GM
9433 * image-mode.el (image-mode-map): Add menu items to reverse,
9434 increase, decrease, reset animation speed.
9435 (image--set-speed, image-increase-speed, image-decrease-speed)
9436 (image-reverse-speed, image-reset-speed): New functions.
9437 (image-mode-map): Add bindings for speed commands.
9438
9439 * image.el (image-animate-get-speed, image-animate-set-speed):
9440 New functions.
9441 (image-animate-timeout): Respect image :speed property.
9442
10fa0ed3
SM
94432013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9446 previous line (bug#15101).
9447 (debugger-eval-expression, debugger-record-expression):
9448 Use read--expression (bug#15102).
9449
5d89d9d2
MA
94502013-08-15 Michael Albinus <michael.albinus@gmx.de>
9451
9452 Remove byte compiler warnings, visible when compiling with
9453 `byte-compile-force-lexical-warnings' set to t.
9454
9455 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9456 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9457 (tramp-handle-unhandled-file-name-directory)
9458 (tramp-handle-file-notify-add-watch, tramp-action-login)
9459 (tramp-action-succeed, tramp-action-permission-denied)
9460 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9461 arguments with "_".
9462
9463 * net/tramp-adb.el (tramp-adb-parse-device-names)
9464 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9465 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9466 (tramp-adb-handle-file-truename): Remove unused arguments.
9467
9468 * net/tramp-cache.el (tramp-flush-directory-property)
9469 (tramp-flush-connection-property, tramp-list-connections)
9470 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9471
10fa0ed3
SM
9472 * net/tramp-compat.el (tramp-compat-make-temp-file):
9473 Rename FILENAME to F.
5d89d9d2
MA
9474
9475 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9476 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9477 (tramp-zeroconf-parse-workstation-device-names)
9478 (tramp-zeroconf-parse-webdav-device-names)
9479 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9480
9481 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9482 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9483
9484 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9485 arguments.
9486 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9487 (tramp-sh-handle-insert-file-contents-literally)
9488 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9489 with "_".
9490 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9491 Remove unused variables.
9492
9493 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9494 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9495 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9496
9497 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9498 Make them a defconst.
9499 (tramp-uuencode-region): Remove unused variable.
9500
62f33bae
JB
95012013-08-14 Juanma Barranquero <lekktu@gmail.com>
9502
9503 * frameset.el (frameset--prop-setter): New function.
9504 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
9505 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9506 parameter was already set in FILTERED. Doc fix.
9507 (frameset--record-minibuffer-relationships): Allow saving a
9508 minibufferless frame without its corresponding minibuffer frame.
9509 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9510 frame, if the frame id matches.
9511 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9512 frames before orphaned ones.
9513 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 9514
c660a885
MR
95152013-08-14 Martin Rudalics <rudalics@gmx.at>
9516
9517 * window.el (window-make-atom): Don't overwrite parameter
9518 already present.
9519 (display-buffer-in-atom-window): Handle special case where we
9520 split an already atomic window.
9521 (window--major-non-side-window, display-buffer-in-side-window)
9522 (window--side-check): Ignore minibuffer window when walking
9523 window tree.
9524 (window-deletable-p): Return 'frame only if no other frame uses
9525 our minibuffer window.
9526 (record-window-buffer): Run buffer-list-update-hook.
9527 (split-window): Make sure window--check-frame won't destroy an
9528 existing atomic window in case the new window gets nested
9529 inside.
9530 (display-buffer-at-bottom): Ignore minibuffer window when
9531 walking window tree. Don't split a side window.
9532 (pop-to-buffer): Don't set-buffer here, the select-window call
9533 should do that.
9534 (mouse-autoselect-window-select): Autoselect only if we are in the
9535 text portion of the window.
9536
8259030d
LMI
95372013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9538
21c58ae2
LMI
9539 * net/shr.el (shr-parse-image-data): New function to grab both the
9540 data itself and the Content-Type.
9541 (shr-put-image): Use it.
9542
9543 * net/eww.el (eww-display-image): Ditto.
9544
8259030d
LMI
9545 * image.el (image-content-type-suffixes): New variable.
9546
ad756449
FEG
95472013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9548
9549 * progmodes/python.el (python-imenu--build-tree)
9550 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9551
f73f4ce6
XF
95522013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9553
9554 * simple.el (backward-word): Mention the optional argument.
9555
1f585e65
SM
95562013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * frameset.el (frameset--make): Rename constructor from make-frameset.
9559 (frameset-p, frameset-valid-p): Don't autoload.
9560 (frameset-valid-p): Use normal accessors.
9561
af1c6c84
GM
95622013-08-13 Glenn Morris <rgm@gnu.org>
9563
55e47f95
GM
9564 * progmodes/compile.el (compile-command): Tweak example in doc.
9565 * obsolete/scribe.el (scribe-mode):
9566 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9567
f0024d8c
GM
9568 * mail/feedmail.el (feedmail-confirm-outgoing)
9569 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9570
9571 * cus-start.el (truncate-partial-width-windows): Fix type.
9572
9573 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9574
af1c6c84
GM
9575 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9576
5514cc4c
SM
95772013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9578
9579 * emacs-lisp/timer.el (timer--time-setter): New function.
9580 (timer--time): Use it as gv-setter.
9581
9582 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9583 setter is not a symbol.
9584
7997a2f1
GJ
95852013-08-12 Grégoire Jadi <daimrod@gmail.com>
9586
9587 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9588 if sending fails. This makes debugging easier.
9589
01f1a9ab
JB
95902013-08-12 Juanma Barranquero <lekktu@gmail.com>
9591
9592 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9593 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9594 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9595
594a4307
EZ
95962013-08-12 Eli Zaretskii <eliz@gnu.org>
9597
9598 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9599
7a22490f 96002013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
9601
9602 * format.el (format-annotate-function):
9603 Handle read-only text properties in the source. (Bug#14887)
9604
3e41a054
LMI
96052013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9606
5514cc4c
SM
9607 * net/eww.el (eww-display-html): Ignore coding system errors.
9608 One web site uses "utf-8lias" as the coding system.
3e41a054 9609
7ec326db
JB
96102013-08-11 Juanma Barranquero <lekktu@gmail.com>
9611
9612 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9613
5660113b
JB
96142013-08-10 Juanma Barranquero <lekktu@gmail.com>
9615
9a4ebc74
JB
9616 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9617 (tutorial--detailed-help): Remove unused local variables.
9618 (tutorial--save-tutorial-to): Use ignore-errors.
9619 (help-with-tutorial): Use looking-at-p.
9620
9621 * view.el (view-buffer-other-window, view-buffer-other-frame):
9622 Mark unused arguments.
9623
9624 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9625 (woman-select-symbol-fonts, woman, woman-find-file)
9626 (woman-insert-file-contents, woman-non-underline-faces):
9627 Use string-match-p.
9628 (woman1-unquote): Move declaration.
9629
9630 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9631 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9632 argument. Remove unused local variable.
9633 (xml-parse-elem-type): Use string-match-p.
9634 (xml-substitute-numeric-entities): Use ignore-errors.
9635
45fdb482
JB
9636 * calculator.el (calculator): Mark unused argument.
9637 (calculator-paste, calculator-quit, calculator-integer-p):
9638 Use ignore-errors.
9639 (calculator-string-to-number, calculator-decimal, calculator-exp)
9640 (calculator-op-or-exp): Use string-match-p.
9641
9642 * dired.el (dired-buffer-more-recently-used-p): Declare.
9643 (dired-insert-set-properties, dired-insert-old-subdirs):
9644 Use ignore-errors.
9645
9646 * dired-aux.el (dired-compress): Use ignore-errors.
9647 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9648 (dired-do-async-shell-command, dired-do-shell-command)
9649 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9650 (dired-insert-subdir-validate): Use string-match-p.
9651 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9652 (dired-add-entry): Use string-match-p, looking-at-p.
9653 (dired-insert-subdir-newpos): Remove unused local variable.
9654
9655 * filenotify.el (file-notify-callback): Remove unused local variable.
9656
9657 * filesets.el (filesets-error): Mark unused argument.
9658 (filesets-which-command-p, filesets-filter-dir-names)
9659 (filesets-directory-files, filesets-get-external-viewer)
9660 (filesets-ingroup-get-data): Use string-match-p.
9661
9662 * find-file.el (ff-other-file-name, ff-other-file-name)
9663 (ff-find-the-other-file, ff-cc-hh-converter):
9664 Remove unused local variables.
9665 (ff-get-file-name): Use string-match-p.
9666 (ff-all-dirs-under): Use ignore-errors.
9667
9668 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9669 (follow-select-if-visible): Remove unused local variable.
9670
9671 * forms.el (read-file-filter): Move declaration.
9672 (forms--make-format, forms--make-parser, forms-insert-record):
9673 Quote function with #'.
9674 (forms--update): Use string-match-p. Quote function with #'.
9675
9676 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9677 (help-make-xrefs): Use looking-at-p.
9678 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9679
9680 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9681 (ibuffer-confirm-operation-on): Use string-match-p.
9682
9683 * msb.el (msb-item-handler, msb-dired-item-handler):
9684 Mark unused arguments.
9685
9686 * ses.el (ses-decode-cell-symbol)
9687 (ses-kill-override): Remove unused local variable.
9688 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9689 (ses-load): Use ignore-errors, looking-at-p.
9690 (ses-jump-safe): Use ignore-errors.
9691 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9692
9693 * tabify.el (untabify, tabify): Mark unused arguments.
9694
9695 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9696 Mark unused argument.
9697 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9698 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9699
c880af52
JB
9700 * emacs-lisp/timer.el (timer--time): Define setter with
9701 gv-define-setter to avoid deprecation warning.
9702
5660113b 9703 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 9704 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
9705 (cmpl-statistics-block): Remove (body was commented out).
9706 All callers changed.
9707 (add-completions-from-buffer, load-completions-from-file):
9708 Remove unused variables.
9709
156aab80
JB
97102013-08-09 Juanma Barranquero <lekktu@gmail.com>
9711
5c5dee78
JB
9712 * filecache.el (file-cache-delete-file-list):
9713 Print message only when told so.
9714 (file-cache-files-matching): Use #' in mapconcat argument.
9715
156aab80
JB
9716 * ffap.el (ffap-url-at-point): Fix reference to variable
9717 thing-at-point-default-mail-uri-scheme.
9718
ad9dcd70
SM
97192013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9720
54bd972f
SM
9721 * subr.el (define-error): New function.
9722 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9723 error-file-not-found and define with define-error.
9724 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9725 and define with define-error.
9726 * userlock.el (file-locked, file-supersession):
9727 * simple.el (mark-inactive):
9728 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9729 * progmodes/ada-mode.el (ada-mode-errors):
9730 * play/life.el (life-extinct):
9731 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9732 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9733 * nxml/rng-util.el (rng-error):
9734 * nxml/rng-uri.el (rng-uri-error):
9735 * nxml/rng-match.el (rng-compile-error):
9736 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9737 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9738 * nxml/nxml-rap.el (nxml-scan-error):
9739 * nxml/nxml-outln.el (nxml-outline-error):
9740 * net/soap-client.el (soap-error):
9741 * net/gnutls.el (gnutls-error):
9742 * net/ange-ftp.el (ftp-error):
9743 * mpc.el (mpc-proc-error):
9744 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9745 (json-number-format, json-string-escape, json-string-format)
9746 (json-key-format, json-object-format):
9747 * jka-compr.el (compression-error):
9748 * international/quail.el (quail-error):
9749 * international/kkc.el (kkc-error):
9750 * emacs-lisp/ert.el (ert-test-failed):
9751 * calc/calc.el (calc-error, inexact-result, math-overflow)
9752 (math-underflow):
9753 * bookmark.el (bookmark-error-no-filename):
9754 * epg.el (epg-error): Define with define-error.
9755
0ea9e53a
SM
9756 * time.el (display-time-event-handler)
9757 (display-time-next-load-average): Don't call sit-for since it seems
9758 unnecessary (bug#15045).
9759
b0429158
SM
9760 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9761 Use #' instead of ' to quote functions.
9762 (checkdoc-output-mode): Use setq-local.
9763 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9764 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9765 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9766 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9767 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9768 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9769 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9770 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9771
ad9dcd70
SM
9772 * ido.el (ido-completion-help): Fix up compiler warning.
9773
77187e6f
JB
97742013-08-09 Juanma Barranquero <lekktu@gmail.com>
9775
9776 * frameset.el (frameset-p): Add autoload cookie.
9777 (frameset--jump-to-register): New function, based on code moved from
9778 register.el.
9779 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9780
9781 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9782 (frameset-restore, frameset-save, frameset-session-filter-alist):
9783 Remove declarations.
9784 (register-alist): Doc fix.
9785 (frameset-to-register): Move to frameset.el.
9786 (jump-to-register, describe-register-1): Remove frameset-specific code.
9787
9d3aa82c
JB
97882013-08-08 Juanma Barranquero <lekktu@gmail.com>
9789
9790 * allout-widgets.el (allout-widgets-pre-command-business)
9791 (allout-widgets-post-command-business)
9792 (allout-widgets-after-change-handler)
9793 (allout-decorate-item-and-context, allout-set-boundary-marker)
9794 (allout-body-modification-handler)
9795 (allout-graphics-modification-handler): Mark ignored arguments.
9796 (allout-widgets-post-command-business)
9797 (allout-widgets-exposure-change-processor)
9798 (allout-widgets-exposure-undo-processor)
9799 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9800 (allout-parse-item-at-point, allout-decorate-item-guides)
9801 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9802 * allout.el (epa-passphrase-callback-function): Declare.
9803 (allout-overlay-insert-in-front-handler)
9804 (allout-overlay-interior-modification-handler)
9805 (allout-isearch-end-handler, allout-chart-siblings)
9806 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9807 (allout-yank-processing, allout-process-exposed)
9808 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 9809 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
9810 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9811 (lisp-indent-defform): Mark ignored arguments.
9812 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9813 (calculate-lisp-indent): Remove unused variables.
9814 * international/characters.el (indian-2-column, arabic-2-column)
9815 (tibetan): Mark ignored arguments.
9816 (use-cjk-char-width-table): Mark ignored arguments.
9817 Remove unused variables.
9818 * international/fontset.el (build-default-fontset-data)
9819 (x-compose-font-name, create-fontset-from-fontset-spec):
9820 Mark ignored arguments.
9821 (fontset-plain-name): Remove unused variables.
9822 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9823 (keyboard-coding-system): Mark ignored arguments.
9824 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9825 * help.el (resize-temp-buffer-window):
9826 * window.el (display-buffer-in-major-side-window)
9827 (display-buffer-in-side-window, display-buffer-in-previous-window):
9828 Remove unused variables.
9829 * isearch.el (isearch-forward-symbol):
9830 * version.el (emacs-bzr-version-bzr):
9831 * international/mule-cmds.el (current-language-environment):
9832 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9833 (x-handle-display):
9834 * term/pc-win.el (x-list-fonts, x-display-planes)
9835 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9836 (x-server-version, x-display-screens, x-display-mm-height)
9837 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9838 (x-selection-owner-p, x-own-selection-internal)
9839 (x-disown-selection-internal, x-get-selection-internal)
9840 (msdos-initialize-window-system):
9841 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9842 * term/x-win.el (x-handle-no-bitmap-icon):
9843 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9844 (vc-default-find-file-hook, vc-default-extra-menu):
9845 Mark ignored arguments.
9846
0ca3f70e
SM
98472013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9848
9849 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9850 break-condition in the context of the debugged code (bug#12685).
9851
74c5d24c
CS
98522013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9853
9854 * comint.el:
9855 Do not use an overlay to highlight the last prompt. (Bug#14744)
9856 (comint-mode): Make comint-last-prompt buffer local.
9857 (comint-last-prompt): New variable.
9858 (comint-last-prompt-overlay): Remove. Superseded by
9859 comint-last-prompt.
0ca3f70e
SM
9860 (comint-snapshot-last-prompt, comint-output-filter):
9861 Use comint-last-prompt.
74c5d24c 9862
c03c02ee
JB
98632013-08-08 Juanma Barranquero <lekktu@gmail.com>
9864
a3738d20 9865 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
9866 (frameset-save): Check validity of the resulting frameset.
9867
04263d23
XF
98682013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9869
9870 * ido.el (ido-record-command): Add doc string.
9871
76c5e5ab
JB
98722013-08-08 Juanma Barranquero <lekktu@gmail.com>
9873
9874 * frameset.el (frameset): Do not disable creation of the default
9875 frameset-p predicate. Doc fix.
9876 (frameset-valid-p): New function, copied from the old predicate-p.
9877 Add additional checks.
9878 (frameset-restore): Check with frameset-valid-p.
9879 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9880 (frameset-name, frameset-description, frameset-properties)
9881 (frameset-states): Add docstring.
f9dbf1cb
JB
9882 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9883 (frameset-filter-alist): Doc fixes.
76c5e5ab 9884
bd0c3c0b
JB
98852013-08-08 Juanma Barranquero <lekktu@gmail.com>
9886
9887 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9888
c735544c
SM
98892013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9890
9891 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9892 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9893 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9894 (byte-compile-normal-call): Remove obsolescence check.
9895
2805a651
JB
98962013-08-08 Juanma Barranquero <lekktu@gmail.com>
9897
3677ffeb
JB
9898 * frameset.el (frameset-restore): Doc fix.
9899
2805a651
JB
9900 * register.el (frameset-frame-id, frameset-frame-with-id)
9901 (frameset-p, frameset-restore, frameset-save): Declare.
9902 (register-alist): Document framesets.
9903 (frameset-session-filter-alist): Declare.
9904 (frameset-to-register): New function.
9905 (jump-to-register): Implement jumping to framesets. Doc fix.
9906 (describe-register-1): Describe framesets.
9907
9908 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9909
a912c016
JB
99102013-08-07 Juanma Barranquero <lekktu@gmail.com>
9911
9912 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9913 Use lexical-binding.
9914
9915 * frameset.el (frameset): Use type vector, not list (incompatible
9916 change). Do not declare a new constructor, use the default one.
9917 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9918 `name' and `description', respectively, and add read-only slot
9919 `timestamp'. Doc fixes.
9920 (frameset-copy, frameset-persistent-filter-alist)
9921 (frameset-filter-alist, frameset-switch-to-gui-p)
9922 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9923 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9924 (frameset-filter-iconified, frameset-keep-original-display-p):
9925 Doc fixes.
9926 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9927 Rename from frameset-filter-(save|restore)-param. All callers changed.
9928 Doc fix.
9929 (frameset-p): Adapt to change to vector and be more thorough.
9930 Change arg name to OBJECT. Doc fix.
9931 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9932 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9933 All callers changed.
9934 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9935 All callers changed.
9936 (frameset--record-minibuffer-relationships): Rename from
9937 frameset--process-minibuffer-frames. All callers changed.
9938 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9939 Use new default constructor (again). Doc fix.
c295fc18 9940 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
9941 All callers changed.
9942 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9943 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9944 Doc fix.
9945 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9946 PARAMETERS and WINDOW-STATE, respectively.
9947 (frameset-restore): Add new keyword argument PREDICATE.
9948 Reset frameset--target-display to nil. Doc fix.
9949
bb41480a
SM
99502013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9951
f001e98e
SM
9952 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9953 (bat-mode): Use it.
9954 (bat-mode-syntax-table): Mark \n as end-of-comment.
9955 (bat-font-lock-keywords): Remove comment rule.
9956
7679edb1
SM
9957 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9958 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9959
bb41480a
SM
9960 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9961 (byte-compile-callargs-warn): Use `push'.
9962 (byte-compile-arglist-warn): Ignore higher-order "calls".
9963 (byte-compile-file-form-autoload): Use `pcase'.
9964 (byte-compile-function-form): If quoting a symbol, check that it exists.
9965
cdc1ebb9
EZ
99662013-08-07 Eli Zaretskii <eliz@gnu.org>
9967
9968 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9969 and add a few popular commands found in batch files.
9970 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9971 (dos-mode): Doc fixes.
9972
312b1740
SM
99732013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9976 (dos-mode): Use setq-local. Add space after "rem".
9977 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9978 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9979
400a3178
AM
99802013-08-07 Arni Magnusson <arnima@hafro.is>
9981
9982 * progmodes/dos.el: New file.
9983 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9984 dos-mode.
9985
3b5c03d3
GM
99862013-08-06 Glenn Morris <rgm@gnu.org>
9987
9988 * calendar/calendar.el: Add new faces, and day-header-array.
9989 (calendar-weekday-header, calendar-weekend-header)
9990 (calendar-month-header): New faces.
9991 (calendar-day-header-construct): New function.
9992 (calendar-day-header-width): Also :set calendar-day-header-array.
9993 (calendar-american-month-header, calendar-european-month-header)
9994 (calendar-iso-month-header): Use calendar- faces.
9995 (calendar-generate-month):
9996 Use calendar-day-header-array for day headers; apply faces to them.
9997 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9998 (calendar-abbrev-construct): Add optional maxlen argument.
9999 (calendar-day-name-array): Doc fix.
10000 (calendar-day-name-array, calendar-abbrev-length)
10001 (calendar-day-abbrev-array):
10002 Also :set calendar-day-header-array, and maybe redraw.
10003 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 10004 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
10005 (calendar-day-name): Add option to use header array.
10006
ec6a2d7a
LMI
100072013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10008
10009 * net/shr.el (shr-render-td): Remove debugging.
10010 (shr-render-td): Make width computation consistent by defaulting
10011 all zero-width columns to 10 characters. This may not be optimal,
10012 but it's at least consistent.
2122cb6d
LMI
10013 (shr-make-table-1): Redo last change to fix the real problem in
10014 colspan handling.
ec6a2d7a 10015
ed4fd9c5
DA
100162013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10017
0ca3f70e
SM
10018 * files.el (cache-long-line-scans):
10019 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 10020
64e22afe
JB
100212013-08-06 Juanma Barranquero <lekktu@gmail.com>
10022
024b38fc
JB
10023 * frameset.el (frameset, frameset-filter-alist)
10024 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10025 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10026 (frameset-compute-pos): Rename from frameset--compute-pos,
10027 and add docstring.
10028 (frameset-move-onscreen): Use frameset-compute-pos.
10029 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10030
64e22afe
JB
10031 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10032 Fix typos in docstrings.
10033
c8c2aca8
DA
100342013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10035
10036 * frame.el (get-other-frame): Tiny cleanup.
10037
1d237bba
JB
100382013-08-06 Juanma Barranquero <lekktu@gmail.com>
10039
8951efef
JB
10040 * vc/vc.el (vc-default-ignore-completion-table):
10041 Silence byte-compiler warning.
10042
307764cc 10043 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 10044 slot, which can indeed be nil.
307764cc
JB
10045 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10046 Move entry for `left' from persistent to live filter alist.
10047 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10048 Doc fixes.
10049 (frameset-filter-params): When restoring a frame, copy items added to
10050 `filtered', to avoid unwittingly modifying the original parameters.
10051 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10052 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10053
1d237bba
JB
10054 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10055 to use looking-at-p instead of looking-at. (Bug#15028)
10056
dc6c0eda
SM
100572013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10058
10059 Revert introduction of isearch-filter-predicates (bug#14714).
10060 Rely on add-function instead.
10061 * isearch.el (isearch-filter-predicates): Rename it back to
10062 isearch-filter-predicate.
10063 (isearch-message-prefix): Use advice-function-mapc and advice
10064 properties to get the isearch-message-prefix.
10065 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10066 instead of run-hook-with-args-until-failure.
10067 (isearch-filter-visible): Not obsolete any more.
10068 * loadup.el: Preload nadvice.
10069 * replace.el (perform-replace): Revert to funcall
10070 instead of run-hook-with-args-until-failure.
10071 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10072 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10073 dired-isearch-filenames-toggle; make it into a proper minor mode.
10074 Use add/remove-function.
10075 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10076 Call the minor-mode rather than add/remove-hook.
10077 (dired-isearch-filter-filenames):
10078 Remove isearch-message-prefix property.
10079 * info.el (Info--search-loop): New function, extracted from Info-search.
10080 Funcall isearch-filter-predicate instead of
10081 run-hook-with-args-until-failure isearch-filter-predicates.
10082 (Info-search): Use it.
10083 (Info-mode): Use isearch-filter-predicate instead of
10084 isearch-filter-predicates.
10085
290d5b58
DA
100862013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10087
10088 Do not call to `selected-window' where it is assumed by default.
10089 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10090 `window-hscroll', `window-width', `window-height', `window-buffer',
10091 `window-frame', `window-start', `window-point', `next-window'
10092 and `window-display-table'.
10093 * abbrev.el (abbrev--default-expand):
10094 * bs.el (bs--show-with-configuration):
10095 * buff-menu.el (Buffer-menu-mouse-select):
10096 * calc/calc.el (calc):
10097 * calendar/calendar.el (calendar-generate-window):
10098 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10099 (diary-make-entry):
10100 * comint.el (send-invisible, comint-dynamic-complete-filename)
10101 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10102 * completion.el (complete):
10103 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10104 * disp-table.el (describe-current-display-table):
10105 * doc-view.el (doc-view-insert-image):
10106 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10107 * ehelp.el (with-electric-help):
10108 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10109 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10110 * emacs-lisp/helper.el (Helper-help-scroller):
10111 * emulation/cua-base.el (cua--post-command-handler-1):
10112 * eshell/esh-mode.el (eshell-output-filter):
10113 * ffap.el (ffap-gnus-wrapper):
10114 * help-macro.el (make-help-screen):
10115 * hilit-chg.el (highlight-compare-buffers):
10116 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10117 * hl-line.el (global-hl-line-highlight):
10118 * icomplete.el (icomplete-simple-completing-p):
10119 * isearch.el (isearch-done):
10120 * jit-lock.el (jit-lock-stealth-fontify):
10121 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 10122 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
10123 * mpc.el (mpc-tagbrowser, mpc):
10124 * net/rcirc.el (rcirc-any-buffer):
10125 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10126 * play/landmark.el (landmark-max-width, landmark-max-height):
10127 * play/zone.el (zone):
10128 * progmodes/compile.el (compilation-goto-locus):
10129 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10130 * progmodes/etags.el (find-tag-other-window):
10131 * progmodes/fortran.el (fortran-column-ruler):
10132 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10133 * progmodes/verilog-mode.el (verilog-point-text):
10134 * reposition.el (reposition-window):
10135 * rot13.el (toggle-rot13-mode):
10136 * server.el (server-switch-buffer):
10137 * shell.el (shell-dynamic-complete-command)
10138 (shell-dynamic-complete-environment-variable):
10139 * simple.el (insert-buffer, set-selective-display)
10140 (delete-completion-window):
10141 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10142 (speedbar-recenter):
10143 * startup.el (fancy-splash-head):
10144 * textmodes/ispell.el (ispell-command-loop):
10145 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10146 * tutorial.el (help-with-tutorial):
10147 * vc/add-log.el (add-change-log-entry):
10148 * vc/compare-w.el (compare-windows):
10149 * vc/ediff-help.el (ediff-indent-help-message):
10150 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10151 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10152 (ediff-setup-control-frame):
10153 * vc/emerge.el (emerge-position-region):
10154 * vc/pcvs-util.el (cvs-bury-buffer):
10155 * window.el (walk-windows, mouse-autoselect-window-select):
10156 * winner.el (winner-set-conf, winner-undo): Related users changed.
10157
38276e01
JB
101582013-08-05 Juanma Barranquero <lekktu@gmail.com>
10159
10160 * frameset.el (frameset--set-id): Doc fix.
10161 (frameset-frame-id, frameset-frame-id-equal-p)
10162 (frameset-locate-frame-id): New functions.
10163 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10164 (frameset-restore): Use them.
10165
12b4c0ea
DA
101662013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10167
10168 Do not call to `selected-frame' where it is assumed by default.
10169 Affected functions are `raise-frame', `redraw-frame',
10170 `frame-first-window', `frame-terminal' and `delete-frame'.
10171 * calendar/appt.el (appt-disp-window):
10172 * epg.el (epg-wait-for-completion):
10173 * follow.el (follow-delete-other-windows-and-split)
10174 (follow-avoid-tail-recenter):
10175 * international/mule.el (set-terminal-coding-system):
10176 * mail/rmail.el (rmail-mail-return):
10177 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10178 * progmodes/f90.el (f90-add-imenu-menu):
10179 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10180 * server.el (server-switch-buffer):
10181 * simple.el (delete-completion-window):
10182 * talk.el (talk):
10183 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10184 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10185 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10186 * vc/ediff.el (ediff-documentation): Related users changed.
10187 * frame.el (selected-terminal): Remove the leftover.
10188
17f25e76
GM
101892013-08-05 Glenn Morris <rgm@gnu.org>
10190
10191 * calendar/calendar.el (calendar-generate-month):
10192 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
10193 (calendar-generate-month, calendar-font-lock-keywords):
10194 Fix for calendar-day-header-width > length of any day name.
17f25e76 10195
063233c3
JB
101962013-08-05 Juanma Barranquero <lekktu@gmail.com>
10197
10198 * desktop.el (desktop-clear): Use new name of sort predicate.
10199
10200 * frameset.el (frameset): Add docstring. Move :version property to its
10201 own `version' slot.
10202 (frameset-copy): Rename from copy-frameset.
10203 (frameset-p): Check more thoroughly.
10204 (frameset-prop): Do not check for :version, which is no longer a prop.
10205 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10206 Use new :never value instead of t.
10207 (frameset-filter-alist): Expand and clarify docstring.
10208 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10209 (frameset-filter-minibuffer, frameset-filter-save-param)
10210 (frameset-filter-restore-param, frameset-filter-iconified):
10211 Add pointer to docstring of frameset-filter-alist.
10212 (frameset-filter-params): Rename filter values to be more meaningful:
10213 :never instead of t, and reverse the meanings of :save and :restore.
10214 (frameset--process-minibuffer-frames): Clarify error message.
10215 (frameset-save): Avoid unnecessary and confusing call to framep.
10216 Use new BOA constructor for framesets.
10217 (frameset--reuse-list): Doc fix.
10218 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10219 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10220 (frameset-minibufferless-first-p): Doc fix.
10221 Rename from frameset-sort-frames-for-deletion.
10222 (frameset-restore): Doc fixes. Use new function names.
10223 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10224
d5671a82
JB
102252013-08-04 Juanma Barranquero <lekktu@gmail.com>
10226
10227 * desktop.el (desktop-restore-forces-onscreen)
10228 (desktop-restore-reuses-frames): Document :keyword constant values.
10229 (desktop-filter-parameters-alist): Remove, now identical to
10230 frameset-filter-alist.
10231 (desktop--filter-tty*): Remove, moved to frameset.el.
10232 (desktop-save-frameset, desktop-restore-frameset):
10233 Do not pass :filters argument.
10234
10235 * frameset.el (frameset-live-filter-alist)
10236 (frameset-persistent-filter-alist): New variables.
10237 (frameset-filter-alist): Use them. Add autoload cookie.
10238 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10239 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10240 `frameset--id' (it's supposed to be internal to frameset.el).
10241 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10242 (frameset--initial-params): New function.
10243 (frameset--get-frame): Use it. Doc fix.
10244 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10245 Accept :all, not 'all.
10246 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10247 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10248 with fbound symbols. Fix frame id matching, and remove matching ids if
10249 the frame being restored is deleted. Obey :delete.
10250
671d5c16
SM
102512013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10252
10253 * subr.el (macrop): New function.
10254 (text-clone--maintaining): New var.
10255 (text-clone--maintain): Rename from text-clone-maintain. Use it
10256 instead of inhibit-modification-hooks.
10257
10258 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10259 a proxy, so as handle autoloads and redefinitions of the target.
10260 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10261
10262 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10263 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10264 (pcase--mutually-exclusive-p): New function.
10265 (pcase--split-consp): Use it.
10266 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10267 mutually exclusive with the current predicate.
10268
10269 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10270 (edebug-macrop): Remove. Use `macrop' instead.
10271 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10272 (ad-macro-p):
10273 * eshell/esh-cmd.el (eshell-macrop):
10274 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10275
1d44e9dc
SM
102762013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10277
10278 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10279 (advice-mapc): New function, using it.
10280 (advice-function-member-p): New function.
10281 (advice--normalize): Store the cdr in advice--saved-rewrite since
10282 that's the part that will be changed.
10283 (advice--symbol-function): New function.
10284 (advice-remove): Handle removal before the function is defined.
10285 Adjust to new advice--saved-rewrite.
10286 (advice-member-p): Use advice-function-member-p and
10287 advice--symbol-function.
10288
5414a283
JB
102892013-08-04 Juanma Barranquero <lekktu@gmail.com>
10290
51d30f2c
JB
10291 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10292 (frameset-filter-minibuffer): Doc fix.
10293 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
10294 (frameset--set-id, frameset--process-minibuffer-frames)
10295 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10296 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 10297
5414a283
JB
10298 * desktop.el (desktop-clear): Only delete frames when called
10299 interactively and desktop-restore-frames is non-nil. Doc fix.
10300 (desktop-read): Set desktop-saved-frameset to nil.
10301
ab419665
XF
103022013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10303
10304 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 10305 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
10306 (vc--add-line, vc--remove-regexp): New functions.
10307
10308 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10309 (vc-svn-ignore-completion-table): New function.
10310
10311 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 10312 (vc-hg-ignore-completion-table)
ab419665
XF
10313 (vc-hg-find-ignore-file): New functions.
10314
10315 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 10316 (vc-git-ignore-completion-table)
ab419665
XF
10317 (vc-git-find-ignore-file): New functions.
10318
10319 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10320
10321 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 10322 (vc-bzr-ignore-completion-table)
ab419665
XF
10323 (vc-bzr-find-ignore-file): New functions.
10324
2613dea2
JB
103252013-08-03 Juanma Barranquero <lekktu@gmail.com>
10326
10327 * frameset.el (frameset-prop): New function and setter.
10328 (frameset-save): Do not modify frame list passed by the caller.
10329
9c959872
SM
103302013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10331
10332 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10333
a104f656
SM
103342013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10335
70122acf
SM
10336 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10337 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10338
a104f656
SM
10339 * custom.el (custom-initialize-default, custom-initialize-set)
10340 (custom-initialize-reset, custom-initialize-changed): Affect the
10341 toplevel-default-value (bug#6275, bug#14586).
10342 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10343 for bug#6275.
10344
f078d570
JB
103452013-08-02 Juanma Barranquero <lekktu@gmail.com>
10346
185e3b5a
JB
10347 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10348 Add cl-def* expressions.
10349
f078d570
JB
10350 * frameset.el (frameset-filter-params): Fix order of arguments.
10351
9421876d
JB
103522013-08-02 Juanma Barranquero <lekktu@gmail.com>
10353
10354 Move code related to saving frames to frameset.el.
10355 * desktop.el: Require frameset.
10356 (desktop-restore-frames): Doc fix.
10357 (desktop-restore-reuses-frames): Rename from
10358 desktop-restoring-reuses-frames.
10359 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10360 (desktop-clear): Clear frames too.
10361 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10362 (desktop--filter-tty*, desktop-save, desktop-read):
10363 Use frameset functions.
10364 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10365 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10366 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10367 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10368 (desktop--process-minibuffer-frames, desktop-save-frames)
10369 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10370 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10371 (desktop--sort-states, desktop-restoring-frames-p)
10372 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10373 (desktop-restoring-frameset-p, desktop-restore-frameset)
10374 (desktop--check-dont-save, desktop-save-frameset): New functions.
10375 (desktop--app-id): New constant.
10376 (desktop-first-buffer, desktop-buffer-ok-count)
10377 (desktop-buffer-fail-count): Move before first use.
10378 * frameset.el: New file.
10379
76dc5996
SM
103802013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10381
10382 * files.el: Use lexical-binding.
10383 (dir-locals-read-from-file): Remove unused `err' variable.
10384 (hack-dir-local-variables--warned-coding): New var.
10385 (hack-dir-local-variables): Use it to avoid repeated warnings.
10386 (make-backup-file-name--default-function): New function.
10387 (make-backup-file-name-function): Use it as default.
10388 (buffer-stale--default-function): New function.
10389 (buffer-stale-function): Use it as default.
10390 (revert-buffer-insert-file-contents--default-function): New function.
10391 (revert-buffer-insert-file-contents-function): Use it as default.
10392 (insert-directory): Avoid add-to-list.
10393
10394 * autorevert.el (auto-revert-handler): Simplify.
10395 Use buffer-stale--default-function.
10396
06d36e2b
TH
103972013-08-01 Tassilo Horn <tsdh@gnu.org>
10398
5f648ab4
TH
10399 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10400
06d36e2b
TH
10401 * whitespace.el (whitespace-ensure-local-variables): New function.
10402 (whitespace-cleanup-region): Call it.
10403 (whitespace-turn-on): Call it.
10404
a43dc424
MA
104052013-08-01 Michael Albinus <michael.albinus@gmx.de>
10406
10407 Complete file name handlers.
10408
10409 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10410 (tramp-handle-verify-visited-file-modtime)
10411 (tramp-handle-file-notify-rm-watch): New functions.
10412 (tramp-call-process): Do not bind `default-directory'.
10413
44e18199
JB
10414 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10415 Order alphabetically.
afe1e4c8
GM
10416 <access-file, add-name-to-file, dired-call-process>:
10417 <dired-compress-file, file-acl, file-notify-rm-watch>:
10418 <file-ownership-preserved-p, file-selinux-context>:
10419 <make-directory-internal, make-symbolic-link, set-file-acl>:
10420 <set-file-selinux-context, set-visited-file-modtime>:
10421 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10422 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10423
10424 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
10425 <file-notify-add-watch, file-notify-rm-watch>:
10426 <set-file-times, set-visited-file-modtime>:
10427 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10428 (with-tramp-gvfs-error-message)
10429 (tramp-gvfs-handle-set-visited-file-modtime)
10430 (tramp-gvfs-fuse-file-name): Remove.
10431 (tramp-gvfs-handle-file-notify-add-watch)
10432 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10433 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10434
44e18199
JB
10435 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10436 Order alphabetically.
afe1e4c8
GM
10437 <file-notify-rm-watch>: Use default Tramp handler.
10438 <executable-find>: Remove private handler.
a43dc424
MA
10439 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10440 `default-directory'.
10441 (tramp-sh-handle-executable-find)
10442 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10443 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10444 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10445 Do not use `format' in `tramp-message'.
10446
10447 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
10448 <file-notify-rm-watch, set-visited-file-modtime>:
10449 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10450 (tramp-smb-call-winexe): Do not bind `default-directory'.
10451
7188b515
XF
104522013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10453
10454 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10455
2412ee1a
DG
104562013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10457
10458 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10459 use it.
10460 (log-view-diff-changeset): Same.
10461 (log-view-diff-common): Call backend command `previous-revision'
10462 to find out the previous revision, in both cases. Swap the
10463 variables `to' and `fr', so that `fr' usually refers to the
10464 earlier revision (Bug#14989).
10465
5002a754
KRC
104662013-07-31 Kan-Ru Chen <kanru@kanru.info>
10467
10468 * ibuf-ext.el (ibuffer-filter-by-filename):
10469 Make it work with dired buffers too.
10470
44e18199 104712013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
10472
10473 * emacs-lisp/re-builder.el (reb-color-display-p):
10474 * files.el (save-buffers-kill-terminal):
10475 * net/browse-url.el (browse-url):
10476 * server.el (server-save-buffers-kill-terminal):
10477 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10478 Prefer nil to selected-frame for the first arg of frame-parameter.
10479
aeca3fbb
XF
104802013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10481
10482 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10483
158bc55c
SB
104842013-07-30 Stephen Berman <stephen.berman@gmx.net>
10485
10486 * minibuffer.el (completion--twq-all): Try and preserve each
10487 completion's case choice (bug#14907).
10488
d50fceab
LMI
104892013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10490
ac38e731
LMI
10491 * net/network-stream.el (open-network-stream): Mention the new
10492 :nogreeting parameter.
10493 (network-stream-open-starttls): Use the :nogreeting parameter
10494 (bug#14938).
10495
1211de50
LMI
10496 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10497
997798bf
LMI
10498 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10499 more natural than popping.
10500
d50fceab 10501 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 10502 (shr-urlify): Highlight under mouse.
d50fceab 10503
5c09de04
XF
105042013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10505
207d1d04
XF
10506 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10507
10508 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10509
5c09de04
XF
10510 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10511 buffer for output.
10512
3cd51eaa
XF
10513 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10514 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 10515
44e18199 10516 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 10517 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
10518
10519 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10520
10521 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10522 buffer for output.
10523
35a89bdd
EZ
105242013-07-29 Eli Zaretskii <eliz@gnu.org>
10525
10526 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10527 initial frame is minibuffer-less. (Bug#14841)
10528
78822e94
MA
105292013-07-29 Michael Albinus <michael.albinus@gmx.de>
10530
10531 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10532 option.
10533
10534 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10535 (tramp-maybe-open-connection): Use it.
10536
9503c190
JB
105372013-07-28 Juanma Barranquero <lekktu@gmail.com>
10538
10539 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10540 minimal set of parameters passed when creating a frame, because
10541 the minibuffer status of a frame cannot be changed later.
10542
d5a845b4
SB
105432013-07-28 Stephen Berman <stephen.berman@gmx.net>
10544
10545 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10546 replace-regexp-in-string and inadvertent omissions in previous change.
10547 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 10548 name of filtered items buffer.
d5a845b4 10549
ddeffb17
JB
105502013-07-28 Juanma Barranquero <lekktu@gmail.com>
10551
10552 * desktop.el: Optionally force offscreen frames back onscreen.
10553 (desktop-restoring-reuses-frames): New option.
10554 (desktop--compute-pos, desktop--move-onscreen): New functions.
10555 (desktop--make-frame): Use desktop--move-onscreen.
10556
f5950f7a
AM
105572013-07-27 Alan Mackenzie <acm@muc.de>
10558
10559 Fontify a Java generic method as a function.
10560 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10561 value to t.
10562
ae43b66a
SB
105632013-07-27 Stephen Berman <stephen.berman@gmx.net>
10564
10565 * calendar/todo-mode.el: Add command to rename todo files.
10566 (todo-rename-file): New command.
10567 (todo-key-bindings-t): Add key binding for it. Change the
10568 bindings of todo-filter-regexp-items(-multifile) to use `x'
10569 instead of `r', since the latter is better suited to the new
10570 renaming command.
10571
5ab78d3d
AM
105722013-07-27 Alan Mackenzie <acm@muc.de>
10573
10574 Make Java try-with-resources statement parse properly.
10575 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10576 (c-block-stmt-1-2-key): New language constants/variables.
10577 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10578 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10579 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 10580 with c-block-stmt-1-2-key.
5ab78d3d 10581
d85c4d50
JB
105822013-07-27 Juanma Barranquero <lekktu@gmail.com>
10583
10584 * desktop.el (desktop--make-frame): Apply most frame parameters after
10585 creating the frame to force (partially or totally) offscreen frames to
10586 be restored as such.
10587
e4c467f9
XF
105882013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10589
10590 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 10591 (Bug#14948)
e4c467f9 10592
7ced0d04
SM
105932013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10594
10595 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10596 `base' arg of backtrace-frame.
10597
fec92060
EZ
105982013-07-26 Eli Zaretskii <eliz@gnu.org>
10599
10600 * simple.el (list-processes): Doc fix.
10601
d58d31fb
JB
106022013-07-26 Juanma Barranquero <lekktu@gmail.com>
10603
10604 * desktop.el (desktop--select-frame):
d85c4d50 10605 Try harder to reuse existing frames.
d58d31fb 10606
53ff3e77
SM
106072013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10608
10609 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10610 (edebug-eval): Use backtrace-eval.
10611 (edebug--display, edebug--recursive-edit): Don't let-bind the
10612 edebug-outer-* vars that keep track of variables we locally let-bind.
10613 (edebug-outside-excursion): Don't restore outside values of locally
10614 let-bound vars.
10615 (edebug--display): Use user-error.
10616 (cl-lexical-debug, cl-debug-env): Remove.
10617
045f7a53
JB
106182013-07-26 Juanma Barranquero <lekktu@gmail.com>
10619
10620 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10621 are restored to be sure that they are visible before deleting any
10622 remaining ones.
10623
59070b32
MM
106242013-07-26 Matthias Meulien <orontee@gmail.com>
10625
742a3501
XF
10626 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10627 vc-print-root-log. (Bug#14948)
59070b32 10628
b1fb3596
RS
106292013-07-26 Richard Stallman <rms@gnu.org>
10630
10631 Add aliases for encrypting mail.
10632 * epa.el (epa-mail-aliases): New option.
10633 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10634 Bind inhibit-read-only so read-only text doesn't ruin everything.
10635 (epa-mail-default-recipients): New subroutine broken out.
10636 Handle epa-mail-aliases.
10637
56ea7291
SM
106382013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10639
10640 Add support for lexical variables to the debugger's `e' command.
10641 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10642 vars, except for debugger-outer-match-data.
10643 (debugger-frame-number): Move check for "on a function call" from
10644 callers into it. Add `skip-base' argument.
10645 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10646 (debugger-env-macro): Only reset the state stored in non-variables,
10647 i.e. current-buffer and match-data.
10648 (debugger-eval-expression): Rewrite using backtrace-eval.
10649 * subr.el (internal--called-interactively-p--get-frame): Remove.
10650 (called-interactively-p):
10651 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10652 `base' arg of backtrace-frame instead.
10653
15ac32d5
GM
106542013-07-26 Glenn Morris <rgm@gnu.org>
10655
8358a09d
GM
10656 * align.el (align-regexp): Doc fix. (Bug#14857)
10657 (align-region): Explicit error if subexpression missing/does not match.
10658
15ac32d5
GM
10659 * simple.el (global-visual-line-mode):
10660 Do not duplicate the mode lighter. (Bug#14858)
10661
f47ad11b
MR
106622013-07-25 Martin Rudalics <rudalics@gmx.at>
10663
10664 * window.el (display-buffer): In display-buffer bind
10665 split-window-keep-point to t, bug#14829.
10666
02530987
JB
106672013-07-25 Juanma Barranquero <lekktu@gmail.com>
10668
10669 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10670 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10671 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10672 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10673 Change accordingly.
f63ebeb5
JB
10674 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10675 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 10676
6ccb9cab 106772013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 10678
6ccb9cab 10679 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 10680
cb3a56d2
JB
106812013-07-25 Juanma Barranquero <lekktu@gmail.com>
10682
10683 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10684 parameter to modify-frame-parameters if the value has not changed;
10685 this is a workaround for bug#14949.
10686 (desktop--make-frame): On cl-delete-if call, check parameter name,
10687 not full parameter.
10688
7aa7fff0
XF
106892013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10690
10691 * vc/vc.el (vc-ignore): New function.
10692
10693 * vc/vc-svn.el (vc-svn-ignore): New function.
10694
10695 * vc/vc-hg.el (vc-hg-ignore): New function.
10696
10697 * vc/vc-git.el (vc-git-ignore): New function.
10698
10699 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10700 (vc-dir-ignore): New function.
10701
10702 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 10703 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
10704
10705 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10706
10707 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10708
889acc5c
JB
107092013-07-24 Juanma Barranquero <lekktu@gmail.com>
10710
10711 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10712 (desktop-restore-frames): Warn when deleting an existing frame failed.
10713
86c40970
GM
107142013-07-24 Glenn Morris <rgm@gnu.org>
10715
10716 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10717
d5d3c58a
MA
107182013-07-24 Michael Albinus <michael.albinus@gmx.de>
10719
10720 * filenotify.el (file-notify-supported-p):
10721 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10722 Remove functions.
10723
35e951cd 10724 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
10725 (auto-revert-notify-add-watch):
10726 * net/tramp.el (tramp-file-name-for-operation):
10727 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10728 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10729 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10730 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10731 Remove `file-notify-supported-p' entry.
10732
d100084b
GM
107332013-07-24 Glenn Morris <rgm@gnu.org>
10734
10735 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 10736 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 10737
ac93e56b
SM
107382013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10739
249eea30
SM
10740 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10741 checked with memq (bug#14935).
10742
ac93e56b
SM
10743 * files.el (revert-buffer-function): Use a non-nil default.
10744 (revert-buffer-preserve-modes): Declare var to
10745 provide access to the `preserve-modes' argument.
10746 (revert-buffer): Let-bind it.
10747 (revert-buffer--default): New function, extracted from revert-buffer.
10748
2cdeb903
SM
107492013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10750
10751 * lpr.el: Signal print errors more prominently.
10752 (print-region-function): Don't default to nil.
10753 (lpr-print-region): New function, extracted from print-region-1.
10754 Check lpr's return value and signal an error in case of problem.
10755 (print-region-1): Use it.
10756 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10757 versions instead.
10758 (ps-printer-name): Default to nil.
10759 (ps-printer-name-option): Default to lpr-printer-switch.
10760 (ps-print-region-function): Don't default to nil.
10761 (ps-postscript-code-directory): Simplify default.
10762 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10763 (ps-string-list, ps-eval-switch, ps-flatten-list)
10764 (ps-flatten-list-1): Remove.
10765 (ps-multibyte-buffer): Avoid setq.
10766 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10767 (print-region-function, ps-print-region-function): Don't set them here.
10768
73600831
XF
107692013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10770
35e951cd
JB
10771 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10772 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10773 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
10774 (ido-decorations): Doc fix.
10775
73600831
XF
10776 * ansi-color.el: Fix old URL.
10777
3d012865
MM
107782013-07-23 Michael R. Mauger <michael@mauger.com>
10779
e903c210 10780 * progmodes/sql.el: Version 3.3
3d012865
MM
10781 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10782 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10783 (sql-interactive-remove-continuation-prompt): Rewrite, use
10784 functions above. Fix continuation prompt and complete output line
10785 handling.
10786 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10787 redirected output buffer.
10788 (sql-mode): Restore deleted code (Bug#13591).
10789
da77a2e2
JB
107902013-07-23 Juanma Barranquero <lekktu@gmail.com>
10791
10792 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10793
80ff0c71
MA
107942013-07-23 Michael Albinus <michael.albinus@gmx.de>
10795
10796 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10797
10798 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10799 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10800 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10801
b61d71e4
JB
108022013-07-23 Juanma Barranquero <lekktu@gmail.com>
10803
10804 * desktop.el (desktop-clear): Simplify; remove useless checks
10805 against invalid buffer names.
10806 (desktop-list*): Use cl-list*.
10807 (desktop-buffer-info, desktop-create-buffer): Simplify.
10808
c3512092
LL
108092013-07-23 Leo Liu <sdl.web@gmail.com>
10810
10811 * bookmark.el (bookmark-make-record): Restore NAME as a default
10812 value. (Bug#14933)
10813
0ac26976
SM
108142013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10815
7d22ce18
SM
10816 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10817 extracted from autoload--insert-text.
10818 (autoload--insert-text): Remove.
10819 (autoload--print-cookie-text): New function, extracted from
10820 autoload--insert-cookie-text.
10821 (autoload--insert-cookie-text): Remove.
10822 (autoload-generate-file-autoloads): Adjust calls accordingly.
10823
9b2607e8
SM
10824 * winner.el (winner-hook-installed-p): Remove.
10825 (winner-mode): Simplify accordingly.
10826
c43a8618
SM
10827 * subr.el (add-to-list): Fix compiler-macro when `append' is
10828 not constant. Don't use `cl-member' for the base case.
10829
0ac26976
SM
10830 * progmodes/subword.el: Fix boundary case (bug#13758).
10831 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10832 own group.
10833 (subword-backward-regexp): Make it a constant.
10834 (subword-forward-internal): Don't treat a trailing capital as the
10835 beginning of a word.
10836
6874724a
AR
108372013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10838
10839 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10840 global value of tabulated-list-revert-hook (bug#14930).
10841
70f1b5e8
JB
108422013-07-22 Juanma Barranquero <lekktu@gmail.com>
10843
a1c80d9d
JB
10844 * desktop.el: Require 'cl-lib.
10845 (desktop-before-saving-frames-functions): New hook.
10846 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10847 for frames being saved. Rename from desktop--save-minibuffer-frames.
10848 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
10849 Do not save frames with non-nil `desktop-dont-save' parameter.
10850 Filter out deleted frames.
a1c80d9d
JB
10851 (desktop--find-frame): Use cl-find-if.
10852 (desktop--select-frame): Use cl-(first|second|third) to access values
10853 of desktop-mini.
10854 (desktop--make-frame): Use cl-delete-if.
10855 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10856 (desktop-restore-frames): Use cl-(first|second|third) to access values
10857 of desktop-mini. Look for visible frame at the end, not while
10858 restoring frames.
10859
70f1b5e8
JB
10860 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10861 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10862 Use string-match-p, looking-at-p (bug#14927).
10863
728dc3cc
JB
108642013-07-21 Juanma Barranquero <lekktu@gmail.com>
10865
56bc453c
JB
10866 * desktop.el (desktop-saved-frame-states):
10867 Rename from desktop--saved-states; all users changed.
10868 (desktop-save-frames): Rename from desktop--save-frames.
10869 Do not save state to desktop file.
10870 (desktop-save): Save desktop-saved-frame-states to desktop file
10871 and reset to nil.
10872 (desktop-restoring-frames-p): New function.
10873 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10874 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10875 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10876
728dc3cc
JB
10877 * desktop.el: Correctly restore iconified frames.
10878 (desktop--filter-iconified-position): New function.
10879 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10880
862f1c9c
GM
108812013-07-20 Glenn Morris <rgm@gnu.org>
10882
c4074c9f
GM
10883 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10884 Let `message' do the formatting.
10885 (def-gdb-preempt-display-buffer): Add explicit format.
10886
d828e5f9
GM
10887 * image-dired.el (image-dired-track-original-file):
10888 Use with-current-buffer.
10889 (image-dired-track-thumbnail): Use with-current-buffer.
10890 Avoid changing point of wrong window.
10891
862f1c9c
GM
10892 * image-dired.el (image-dired-track-original-file):
10893 Avoid changing point of wrong window. (Bug#14909)
10894
f0398ec1 108952013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
10896
10897 * progmodes/gdb-mi.el (gdb-done-or-error):
10898 Guard against "%" in gdb output. (Bug#14127)
10899
1451928f
AS
109002013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10901
763a086d
JB
10902 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10903 (Bug#14826)
f7a03897 10904
1451928f
AS
10905 * international/mule.el (coding-system-iso-2022-flags): Fix last
10906 change.
10907
99107004
KH
109082013-07-20 Kenichi Handa <handa@gnu.org>
10909
763a086d
JB
10910 * international/mule.el (coding-system-iso-2022-flags):
10911 Add `8-bit-level-4'. (Bug#8522)
99107004 10912
48494e06
LMI
109132013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10914
8ba8eec5
LMI
10915 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10916 (bug#14815).
10917
dfbc66e3
LMI
10918 * net/eww.el (eww-process-text-input): Allow inputting when the
10919 point is at the start of the line, as the properties aren't
10920 front-sticky.
10921
48494e06
LMI
10922 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10923 degenerate widths.
10924
77c92cb9
RS
109252013-07-19 Richard Stallman <rms@gnu.org>
10926
aec7da77
RS
10927 * epa.el (epa-popup-info-window): Doc fix.
10928
77c92cb9
RS
10929 * subr.el (split-string): New arg TRIM.
10930
945c5bb1
JB
109312013-07-18 Juanma Barranquero <lekktu@gmail.com>
10932
10933 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10934 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10935
e06ec67f
MA
109362013-07-18 Michael Albinus <michael.albinus@gmx.de>
10937
c7064f05 10938 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
10939 `file-notify-support'. Do not autoload. Adapt all uses.
10940 (file-notify-supported-p): New defun.
10941
c7064f05
JB
10942 * autorevert.el (auto-revert-use-notify):
10943 Use `file-notify-supported-p' instead of `file-notify-support'.
10944 Adapt docstring.
e06ec67f
MA
10945 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10946
10947 * net/tramp.el (tramp-file-name-for-operation):
10948 Add `file-notify-supported-p'.
10949
10950 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10951 New defun.
10952 (tramp-sh-file-name-handler-alist): Add it as handler for
10953 `file-notify-supported-p '.
10954
10955 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10956 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10957 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10958 Add `ignore' as handler for `file-notify-*' functions.
10959
5dc8a629
EZ
109602013-07-17 Eli Zaretskii <eliz@gnu.org>
10961
10962 * simple.el (line-move-partial, line-move): Don't start vscroll or
10963 scroll-up if the current line is not taller than the window.
10964 (Bug#14881)
10965
77aea2fb
DG
109662013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10967
10968 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10969 highlight question marks in the method names as strings.
ac72c08d
DG
10970 (ruby-block-beg-keywords): Inline.
10971 (ruby-font-lock-keyword-beg-re): Extract from
10972 `ruby-font-lock-keywords'.
77aea2fb 10973
18c26d81
JD
109742013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10975
10976 * frame.el (blink-cursor-blinks): New defcustom.
10977 (blink-cursor-blinks-done): New defvar.
10978 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10979 (blink-cursor-timer-function): Check if number of blinks has been
10980 done on X and NS.
10981 (blink-cursor-suspend, blink-cursor-check): New defuns.
10982
da48522e
GM
109832013-07-15 Glenn Morris <rgm@gnu.org>
10984
10985 * edmacro.el (edmacro-format-keys): Fix previous change.
10986
0463c1ef
PE
109872013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10988
10989 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10990 The hack didn't work outside English locales anyway.
10991
b43f6451
JB
109922013-07-15 Juanma Barranquero <lekktu@gmail.com>
10993
10994 * simple.el (define-alternatives): Rename from alternatives-define,
10995 per RMS' suggestion.
10996
b958c0ad
JB
109972013-07-14 Juanma Barranquero <lekktu@gmail.com>
10998
10999 * desktop.el (desktop-restore-frames): Change default to t.
11000 (desktop-restore-in-current-display): Now offer more options.
11001 (desktop-restoring-reuses-frames): New customization option.
11002 (desktop--saved-states): Doc fix.
11003 (desktop-filter-parameters-alist): New variable, renamed and expanded
11004 from desktop--excluded-frame-parameters.
11005 (desktop--target-display): New variable.
11006 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11007 (desktop--filter-tty*, desktop--filter-*-color)
11008 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11009 (desktop--filter-save-desktop-parm)
11010 (desktop-restore-in-original-display-p): New functions.
11011 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11012 (desktop--save-minibuffer-frames): New function, inspired by a similar
11013 function from Martin Rudalics.
11014 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11015 (desktop--restore-in-this-display-p): Remove.
11016 (desktop--find-frame): Rename from desktop--find-frame-in-display
11017 and add predicate argument.
11018 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11019 (desktop--reuse-list): New variable.
11020 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11021 New functions.
11022 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11023
f6dd8b36
MA
110242013-07-14 Michael Albinus <michael.albinus@gmx.de>
11025
11026 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11027
2ce3c565
DG
110282013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11029
763a086d
JB
11030 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11031 Highlight conversion methods on Kernel.
2ce3c565 11032
2cdb7698
AM
110332013-07-13 Alan Mackenzie <acm@muc.de>
11034
11035 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11036 and comment it out. This out-commenting enables certain C++
11037 declarations to be parsed correctly.
11038
1a67b811
EZ
110392013-07-13 Eli Zaretskii <eliz@gnu.org>
11040
1b796d6b
EZ
11041 * international/mule.el (define-coding-system): Doc fix.
11042
1a67b811
EZ
11043 * simple.el (default-font-height): Don't call font-info if the
11044 frame's default font didn't change since the frame was created.
11045 (Bug#14838)
11046
58fbe886
LL
110472013-07-13 Leo Liu <sdl.web@gmail.com>
11048
11049 * ido.el (ido-read-file-name): Guard against non-symbol value.
11050
1f0480d4
FEG
110512013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11052
11053 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11054 in nested defuns.
11055
97ead0e5
LL
110562013-07-13 Leo Liu <sdl.web@gmail.com>
11057
11058 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11059 ido-set-matches call. (Bug#6852)
11060
0880a952
DG
110612013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11062
35e951cd 11063 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
11064 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11065 Ruby 2.0.
11066 (ruby-font-lock-keywords): Distinguish calls to functions with
11067 module-like names from module references. Highlight character
11068 literals.
11069
a7d8babb
SDJ
110702013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11071
11072 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 11073 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 11074
acfcc8c5
JB
110752013-07-12 Juanma Barranquero <lekktu@gmail.com>
11076
11077 * desktop.el (desktop--v2s): Remove unused local variable.
11078 (desktop-save-buffer): Make defvar-local; adjust docstring.
11079 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11080 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11081
051f2775
AS
110822013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11083
11084 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11085
f24e7572
GM
110862013-07-12 Eli Zaretskii <eliz@gnu.org>
11087
11088 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11089 (Bug#14842)
11090
539a920c
GM
110912013-07-12 Glenn Morris <rgm@gnu.org>
11092
11093 * doc-view.el: Require cl-lib at runtime too.
11094 (doc-view-remove-if): Remove.
11095 (doc-view-search-next-match, doc-view-search-previous-match):
11096 Use cl-remove-if.
11097
11098 * edmacro.el: Require cl-lib at runtime too.
11099 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11100 (edmacro-mismatch, edmacro-subseq): Remove.
11101
11102 * shadowfile.el: Require cl-lib.
11103 (shadow-remove-if): Remove.
11104 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11105 Use cl-remove-if.
11106
11107 * wid-edit.el: Require cl-lib.
11108 (widget-choose): Use cl-remove-if.
11109 (widget-remove-if): Remove.
11110
11111 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11112 (ebrowse-delete-if-not): Remove.
11113 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11114 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11115 Use cl-delete-if-not.
11116
1048af7c
JB
111172013-07-12 Juanma Barranquero <lekktu@gmail.com>
11118
11119 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11120 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11121
6c0674ee
LL
111222013-07-12 Leo Liu <sdl.web@gmail.com>
11123
11124 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11125
a19b3c2d
GM
111262013-07-11 Glenn Morris <rgm@gnu.org>
11127
4582a01c
GM
11128 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11129 (edebug-gensym-index, edebug-gensym):
11130 Remove reimplementation of cl-gensym.
11131 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11132
11133 * thumbs.el: Require cl-lib at run-time too.
11134 (thumbs-gensym-counter, thumbs-gensym):
11135 Remove reimplementation of cl-gensym.
11136 (thumbs-temp-file): Use cl-gensym.
11137
a19b3c2d
GM
11138 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11139 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11140 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11141 (ert--union, ert--gensym-counter, ert--gensym-counter)
11142 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11143 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11144 (ert-make-test-unbound, ert--expand-should-1)
11145 (ert--expand-should, ert--should-error-handle-error)
11146 (should-error, ert--explain-equal-rec)
11147 (ert--plist-difference-explanation, ert-select-tests)
11148 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11149 Use cl-lib functions rather than reimplementations.
11150
88f6a933
MA
111512013-07-11 Michael Albinus <michael.albinus@gmx.de>
11152
11153 * net/tramp.el (tramp-methods): Extend docstring.
11154 (tramp-connection-timeout): New defcustom.
11155 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11156 (with-tramp-progress-reporter): Simplify.
11157 (tramp-process-actions): Improve messages.
11158
11159 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11160 * net/tramp-sh.el (tramp-maybe-open-connection):
11161 Use `tramp-connection-timeout'.
afe1e4c8 11162 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
11163 (Bug#14808)
11164
a43d577e
LL
111652013-07-11 Leo Liu <sdl.web@gmail.com>
11166
11167 * ido.el (ido-read-file-name): Conform to the requirements of
11168 read-file-name. (Bug#11861)
11169 (ido-read-directory-name): Conform to the requirements of
11170 read-directory-name.
11171
d77974bf
JB
111722013-07-11 Juanma Barranquero <lekktu@gmail.com>
11173
11174 * subr.el (delay-warning): New function.
11175
35cb8a3e
EZ
111762013-07-10 Eli Zaretskii <eliz@gnu.org>
11177
11178 * simple.el (default-line-height): New function.
11179 (line-move-partial, line-move): Use it instead of computing the
11180 line height inline.
11181 (line-move-partial): Always compute ROWH. If the last line is
11182 partially-visible, but its text is completely visible, allow
11183 cursor to enter such a partially-visible line.
11184
525c5c77
MA
111852013-07-10 Michael Albinus <michael.albinus@gmx.de>
11186
11187 Improve error messages. (Bug#14808)
11188
11189 * net/tramp.el (tramp-current-connection): New defvar, moved from
11190 tramp-sh.el.
0ac26976 11191 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 11192 needed anymore.
0ac26976
SM
11193 (tramp-error-with-buffer): Show message in minibuffer.
11194 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
11195 (with-tramp-progress-reporter): Improve messages.
11196 (tramp-process-actions): Use progress reporter. Delete process in
11197 case of error. Improve messages.
11198
763a086d
JB
11199 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11200 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 11201 (tramp-current-connection): Remove.
525c5c77
MA
11202 (tramp-maybe-open-connection): The car of
11203 `tramp-current-connection' are the first 3 slots of the vector.
11204
c7a4d368
TZ
112052013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11206
11207 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11208 inside continued strings.
11209
954b166e
PE
112102013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11211
11212 Timestamp fixes for undo (Bug#14824).
11213 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11214
56973319
LL
112152013-07-10 Leo Liu <sdl.web@gmail.com>
11216
11217 * files.el (require-final-newline): Allow safe local value.
11218 (Bug#14834)
11219
5550a72c
LL
112202013-07-09 Leo Liu <sdl.web@gmail.com>
11221
11222 * ido.el (ido-read-directory-name): Handle fallback.
11223 (ido-read-file-name): Update DIR to ido-current-directory.
11224 (Bug#1516)
c28b9050 11225 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 11226
70c46b28
DG
112272013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11228
11229 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11230 "autoload". Remove "warn lower camel case" section, previously
11231 commented out. Highlight negation char. Do not highlight the
11232 target in singleton method definitions.
11233
0b64b838
SM
112342013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11235
7fd72e2c
SM
11236 * faces.el (tty-setup-hook): Declare the hook.
11237
0b64b838
SM
11238 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11239 and detect when a guard/pred depends on local vars (bug#14773).
11240 (pcase--u1): Adjust caller.
11241
ab49d60b
EZ
112422013-07-08 Eli Zaretskii <eliz@gnu.org>
11243
11244 * simple.el (line-move-partial, line-move): Account for
11245 line-spacing.
701d79aa
EZ
11246 (line-move-partial): Avoid setting vscroll when the last
11247 partially-visible line in window is of default height.
ab49d60b 11248
2d756ae0
LMI
112492013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11250
11251 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11252 been used a while.
11253
ed095bd7
JB
112542013-07-07 Juanma Barranquero <lekktu@gmail.com>
11255
11256 * subr.el (read-quoted-char): Remove unused local variable `char'.
11257
f1e6674b
MK
112582013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11259
584ee3fc
GM
11260 * ediff.el (ediff-version): Version update.
11261 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11262 (ediff-merge-with-ancestor-command, ediff-directories-command)
11263 (ediff-directories3-command, ediff-merge-directories-command)
11264 (ediff-merge-directories-with-ancestor-command): New functions.
11265 All are command-line interfaces to ediff: to facilitate calling
11266 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
11267
11268 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
11269 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 11270
584ee3fc
GM
11271 * viper.el (viper-version): Version update.
11272 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 11273
584ee3fc
GM
112742013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11275
11276 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11277 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
11278 (viper-intercept-ESC-key): Simplify.
11279 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
11280 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
11281 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11282 (viper-setup-ESC-to-escape): New functions.
11283 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11284 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 11285
9aff9b38
EZ
112862013-07-07 Eli Zaretskii <eliz@gnu.org>
11287
5165d44a
JB
11288 * simple.el (default-font-height, window-screen-lines):
11289 New functions.
9aff9b38
EZ
11290 (line-move, line-move-partial): Use them instead of
11291 frame-char-height and window-text-height. This makes scrolling
11292 text smoother when the buffer's default face uses a font that is
11293 different from the frame's default font.
11294
1afb1d07
JD
112952013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11296
11297 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 11298 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 11299
23de972a
EZ
113002013-07-06 Eli Zaretskii <eliz@gnu.org>
11301
11302 * simple.el (line-move-partial): Adjust the row returned by
11303 posn-at-point for the current window-vscroll. (Bug#14567)
11304
54a42486
MA
113052013-07-06 Michael Albinus <michael.albinus@gmx.de>
11306
35e951cd 11307 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
11308 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11309 spaces.
11310
34ada5f4
MR
113112013-07-06 Martin Rudalics <rudalics@gmx.at>
11312
11313 * window.el (window-state-put-stale-windows): New variable.
11314 (window--state-put-2): Save list of windows without matching buffer.
11315 (window-state-put): Remove "bufferless" windows if possible.
11316
11e03d89
JB
113172013-07-06 Juanma Barranquero <lekktu@gmail.com>
11318
11319 * simple.el (alternatives-define): Remove leftover :group keyword.
11320 Tweak docstring.
11321
3504a4be
LL
113222013-07-06 Leo Liu <sdl.web@gmail.com>
11323
11324 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11325 (ido-enable-virtual-buffers): New variable.
11326 (ido-buffer-internal, ido-toggle-virtual-buffers)
11327 (ido-make-buffer-list): Use it.
11328 (ido-exhibit): Support turning on and off virtual buffers
11329 automatically.
11330
61e56e2c
JB
113312013-07-06 Juanma Barranquero <lekktu@gmail.com>
11332
11333 * simple.el (alternatives-define): New macro.
11334
321e1a9c
SM
113352013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11336
11337 * subr.el (read-quoted-char): Use read-key.
11338 (sit-for): Let read-event decode tty input (bug#14782).
11339
d610f6dd
SB
113402013-07-05 Stephen Berman <stephen.berman@gmx.net>
11341
11342 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
11343 mode command and externally. Fix various related bugs.
11344 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
11345 (todo-delete-file): New command.
11346 (todo-check-file): New function.
11347 (todo-show): Handle external deletion of the file we're trying to
11348 show (bug#14688). Replace called-interactively-p by an optional
11349 prefix argument to avoid problematic interaction with catch form
11350 when byte compiled (bug#14702).
11351 (todo-quit): Handle external deletion of the archive's todo file.
11352 Make sure the buffer that was visiting the archive file is still
11353 live before trying to bury it.
11354 (todo-category-completions): Handle external deletion of any
11355 category completion files.
11356 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11357 of todo files, in case of external deletion.
11358 (todo-add-file): Replace unnecessary setq by let-binding.
11359 (todo-find-archive): Check whether there are any archives.
11360 Replace unnecessary setq by let-binding.
11361 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
11362 archive buffer whether or not the archive already exists.
11363 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
11364 check if the archive is new; if it is, update list of archives.
11365 (todo-default-todo-file): Allow nil to be a valid value for when
11366 there are no todo files.
11367 (todo-reevaluate-default-file-defcustom): Use corrected definition
11368 of todo-default-todo-file.
11369 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11370 (todo-delete-category, todo-show-categories-table)
11371 (todo-category-number): Clarify comment.
11372 (todo-filter-items): Clarify documentation string.
11373 (todo-show-current-file, todo-display-as-todo-file)
11374 (todo-reset-and-enable-done-separator): Tweak documentation string.
11375 (todo-done-separator): Make separator length window-width, since
11376 bug#2749 is now fixed.
11377
ddbdfd6f
MA
113782013-07-05 Michael Albinus <michael.albinus@gmx.de>
11379
321e1a9c
SM
11380 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11381 Support both "gvfs-monitor-dir" and "inotifywait".
11382 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
11383 `tramp-sh-file-notify-process-filter'.
11384 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11385 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11386
96eb829a
LL
113872013-07-05 Leo Liu <sdl.web@gmail.com>
11388
11389 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11390
cf13177e
YM
113912013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11392
11393 * frame.el (display-pixel-height, display-pixel-width)
11394 (display-mm-height, display-mm-width): Mention behavior on
11395 multi-monitor setups in docstrings.
11396 (w32-display-monitor-attributes-list): Declare function.
11397 (display-monitor-attributes-list): Use it.
11398
864c58ca
MA
113992013-07-04 Michael Albinus <michael.albinus@gmx.de>
11400
11401 * filenotify.el: New package.
11402
11403 * autorevert.el (top): Require filenotify.el.
11404 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11405 instead.
11406 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11407 (auto-revert-notify-handler): Use `file-notify-*' functions.
11408
11409 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11410
321e1a9c
SM
11411 * net/tramp.el (tramp-file-name-for-operation):
11412 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
11413
11414 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11415 for `file-notify-add-watch' and `file-notify-rm-watch'.
11416 (tramp-process-sentinel): Improve trace.
11417 (tramp-sh-handle-file-notify-add-watch)
11418 (tramp-sh-file-notify-process-filter)
11419 (tramp-sh-handle-file-notify-rm-watch)
11420 (tramp-get-remote-inotifywait): New defuns.
11421
96673afe
JL
114222013-07-03 Juri Linkov <juri@jurta.org>
11423
11424 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11425 call of `occur-read-primary-args' to interactive spec.
11426
11427 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11428 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11429
924494f4
MM
114302013-07-03 Matthias Meulien <orontee@gmail.com>
11431
11432 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11433 `Buffer-menu-multi-occur'. Add it to the menu.
11434 (Buffer-menu-mode): Document it in docstring.
11435 (Buffer-menu-multi-occur): New command. (Bug#14673)
11436
56f75efc
DG
114372013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11438
11439 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11440 keywords and built-ins.
11441
9b057d61
GM
114422013-07-03 Glenn Morris <rgm@gnu.org>
11443
208dee4d
GM
11444 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11445
9b057d61
GM
11446 Make info-xref checks case-sensitive by default
11447 * info.el (Info-find-node, Info-find-in-tag-table)
11448 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11449 Add option for exact case matching of nodes.
11450 * info-xref.el (info-xref): New custom group.
11451 (info-xref-case-fold): New option.
11452 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11453
e01aa29c
LL
114542013-07-03 Leo Liu <sdl.web@gmail.com>
11455
11456 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11457
3086ca2e
DG
114582013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11459
11460 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11461 middle of block statement initially, lower the depth. Remove
11462 FIXME comment, not longer valid. Remove middle of block statement
11463 detection, no need to do that anymore since we've been using
11464 `ruby-parse-region' here.
11465
a3b49114
JD
114662013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11467
11468 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11469
08e5c823 114702013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
11471
11472 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11473
2addf922
JB
114742013-07-01 Juanma Barranquero <lekktu@gmail.com>
11475
11476 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11477 (desktop-restore-in-current-display): New customization option.
11478 (desktop--excluded-frame-parameters): Add `font'.
11479 (desktop--save-frames): Rename from desktop--save-windows.
11480 (desktop--restore-in-this-display-p): New function.
11481 (desktop--make-full-frame): Remove unwanted width/height from
11482 full(width|height) frames.
11483 (desktop--restore-frames): Rename from desktop--restore-windows.
11484 Obey desktop-restore-current-display. Do not delete old frames or
11485 select a new frame unless we were able to restore at least one frame.
11486
ef099a94
MN
114872013-06-30 Michal Nazarewicz <mina86@mina86.com>
11488
11489 * files.el (find-file-noselect): Simplify conditional expression.
11490
a12bf61e 11491 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
11492 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11493
11494 Add `remember-notes' function to store random notes across Emacs
11495 restarts.
3fcfc4ee
JB
11496 * textmodes/remember.el (remember-data-file): Add :set callback to
11497 affect notes buffer (if any).
ef099a94
MN
11498 (remember-notes): New command.
11499 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11500 New defcustoms for the `remember-notes' function.
11501 (remember-notes-save-and-bury-buffer): New command.
11502 (remember-notes-mode-map): New variable.
11503 (remember-mode): New minor mode.
11504 (remember-notes--kill-buffer-query): New function.
11505 * startup.el (initial-buffer-choice): Add notes to custom type.
11506
0865d506
EZ
115072013-06-30 Eli Zaretskii <eliz@gnu.org>
11508
0ba54312
EZ
11509 * bindings.el (right-char, left-char): Don't call sit-for, this is
11510 no longer needed. Use arithmetic comparison only for numerical
11511 arguments.
11512
ef099a94
MN
11513 * international/mule-cmds.el (select-safe-coding-system):
11514 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 11515
2fae38e5
LMI
115162013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11517
11518 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11519 progression on degenerate tables.
ef099a94 11520 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 11521
a47cbd64
JB
115222013-06-30 Juanma Barranquero <lekktu@gmail.com>
11523
11524 Some fixes and improvements for desktop frame restoration.
11525 It is still experimental and disabled by default.
11526 * desktop.el (desktop--save-windows): Put the selected frame at
11527 the head of the list.
11528 (desktop--make-full-frame): New function.
11529 (desktop--restore-windows): Try to re-select the frame that was
11530 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
11531 just show an error message and continue. Set up maximized frames
11532 so they have default non-maximized dimensions.
a47cbd64 11533
6dbafa30
DG
115342013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11535
ef099a94
MN
11536 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11537 Don't start heredoc inside a string or comment.
6dbafa30 11538
4c672a0f
EZ
115392013-06-29 Eli Zaretskii <eliz@gnu.org>
11540
11541 * bindings.el (visual-order-cursor-movement): New defcustom.
11542 (right-char, left-char): Provide visual-order cursor motion by
11543 calling move-point-visually. Update the doc strings.
11544
50960f36
KH
115452013-06-28 Kenichi Handa <handa@gnu.org>
11546
11547 * international/mule.el (define-coding-system): New coding system
11548 properties :inhibit-null-byte-detection,
11549 :inhibit-iso-escape-detection, and :prefer-utf-8.
11550 (set-buffer-file-coding-system): If :charset-list property of
11551 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11552 appropriate for setting.
11553
c1ea3abf
JB
11554 * international/mule-cmds.el (select-safe-coding-system):
11555 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11556 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
11557
11558 * international/mule-conf.el (prefer-utf-8): New coding system.
11559 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11560 files.
11561
75dbaf9d
IK
115622013-06-28 Ivan Kanis <ivan@kanis.fr>
11563
eadb6068
IK
11564 * net/shr.el (shr-render-region): New function.
11565
75dbaf9d
IK
11566 * net/eww.el: Autoload `eww-browse-url'.
11567
9ea5cf9f
DG
115682013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11569
c1ea3abf
JB
11570 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11571 Adapt to `package-desc-version' being a list.
11572 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
11573 archive element.
11574
39c0e36f
JB
115752013-06-27 Juanma Barranquero <lekktu@gmail.com>
11576
11577 New experimental feature to save&restore window and frame setup.
11578 * desktop.el (desktop-save-windows): New defcustom.
11579 (desktop--saved-states): New var.
11580 (desktop--excluded-frame-parameters): New defconst.
11581 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11582 (desktop--restore-windows, desktop--save-windows): New functions.
11583 (desktop-save): Call `desktop--save-windows'.
11584 (desktop-read): Call `desktop--restore-windows'.
11585
7f13406b
LMI
115862013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11587
ef099a94 11588 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 11589
1e072639
SB
115902013-06-27 Stephen Berman <stephen.berman@gmx.net>
11591
11592 * info.el (Info-try-follow-nearest-node): Move search for footnote
11593 above search for node name to prevent missing a footnote (bug#14717).
11594
f3e2cbde
SB
115952013-06-27 Stephen Berman <stephen.berman@gmx.net>
11596
11597 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11598
99906aa0
LL
115992013-06-27 Leo Liu <sdl.web@gmail.com>
11600
11601 * net/eww.el (eww-read-bookmarks): Check file size.
11602
539f75f4
SM
116032013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11604
11605 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11606 advice--pending if newdef is nil or an autoload (bug#13820).
11607 (advice-mapc): New function.
11608
843571cb
LMI
116092013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11610
11611 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11612 probably.
23a75d7f 11613 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
11614 (eww-add-bookmark): New command.
11615 (eww-bookmark-mode): New mode and commands.
a285ce99 11616 (eww-add-bookmark): Remove newlines from the title.
47fd571b 11617 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 11618
f2136e1e
GM
116192013-06-26 Glenn Morris <rgm@gnu.org>
11620
eab35f39
GM
11621 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11622 (hfy-size): Handle ttys. (Bug#14668)
11623
f2136e1e
GM
11624 * info-xref.el: Update for Texinfo 5 change in *note format.
11625 (info-xref-node-re, info-xref-note-re): New constants.
11626 (info-xref-check-buffer): Use info-xref-note-re.
11627
a49ff80c
SM
116282013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11629
a343d218
SM
11630 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11631
a49ff80c
SM
11632 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11633 nil terminate the loop (bug#14718).
11634
8308f184
LMI
116352013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11636
11637 * net/eww.el: Rework history traversal. When going forward/back,
11638 put these actions into the history, too, so that they can be
11639 replayed.
26bf2b82 11640 (eww-render): Move the history reset to the correct buffer.
8308f184 11641
ec64c273
JL
116422013-06-25 Juri Linkov <juri@jurta.org>
11643
11644 * files-x.el (modify-dir-local-variable): Change the header comment
11645 in the file with directory local variables. (Bug#14692)
11646
e080a9d7
JL
11647 * files-x.el (read-file-local-variable-value): Add `default'.
11648 (Bug#14710)
11649
bfbc93a1
IK
116502013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11651
11652 * net/eww.el (eww-make-unique-file-name): Create a unique file
11653 name before saving to entering `y' accidentally asynchronously.
11654
116552013-06-25 Ivan Kanis <ivan@kanis.fr>
11656
11657 * net/eww.el (eww-download): New command and keystroke.
11658
16f74f10
LMI
116592013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11660
a49ff80c 11661 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
11662
11663 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11664 be more consistent with Info and dired.
11665
11666 * net/eww.el (eww-mode-map): Ditto.
11667
12059709
SM
116682013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11669
11670 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11671 packages from archives.
11672 (package-archive-contents): Change format; include obsolete packages.
11673 (package-desc): Use `dir' to mark builtin packages.
11674 (package--from-builtin): Set the `dir' field to `builtin'.
11675 (generated-autoload-file, version-control): Declare.
11676 (package-compute-transaction): Change first arg and return value to be
11677 lists of package-descs. Adjust to new package-archive-contents format.
11678 (package--add-to-archive-contents): Adjust to new
11679 package-archive-contents format.
11680 (package-download-transaction): Arg is now a list of package-descs.
11681 (package-install): If `pkg' is a package name, pass it as
11682 a requirement, so it is subject to the usual (e.g. disabled) checks.
11683 (describe-package): Accept package-desc as well.
11684 (describe-package-1): Describe a specific package-desc. Add links to
11685 other package-descs for the same package name.
11686 (package-menu-describe-package): Pass the actual package-desc.
11687 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11688 works correctly.
11689 (package-desc-status): New function.
11690 (package-menu--refresh): New function, extracted
11691 from package-menu--generate.
11692 (package-menu--generate): Use it.
11693 (package-delete): Update package-alist.
11694 (package-menu-execute): Don't call package-initialize.
11695
11696 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11697 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11698 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11699 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11700 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11701 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11702
8bbdea0f
MR
117032013-06-25 Martin Rudalics <rudalics@gmx.at>
11704
11705 * window.el (window--state-get-1): Workaround for bug#14527.
11706 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11707
e82b0991
LMI
117082013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11709
11710 * net/eww.el (eww-back-url): Implement the history by stashing all
11711 the data into a list.
d3f0f918 11712 (eww-forward-url): Allow going forward in the history, too.
e82b0991 11713
c763842b
SM
117142013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11715
11716 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11717 for values and use read--expression for expressions (bug#14710).
11718 (read-file-local-variable): Avoid setq.
11719 (read-file-local-variable-mode): Use minor-mode-list.
11720
bceff189
RW
117212013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11722
864c58ca 11723 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
11724 for DOI URLs.
11725
45f431c6
RW
117262013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11727
864c58ca 11728 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
11729 Update imenu-support when dialect changes.
11730
f42d8237
LL
117312013-06-25 Leo Liu <sdl.web@gmail.com>
11732
11733 * ido.el (ido-read-internal): Allow forward slash on windows.
11734
be549ce6
LMI
117352013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11736
11737 * net/eww.el (eww): Start of strings is \\`, not ^.
11738
71d4c19d
IK
117392013-06-24 Ivan Kanis <ivan@kanis.fr>
11740
5196f88a
IK
11741 * net/shr.el (shr-browse-url): Fix interactive spec.
11742
71d4c19d
IK
11743 * net/eww.el (eww): Add a trailing slash to domain names.
11744
ae36ca55
JB
117452013-06-24 Juanma Barranquero <lekktu@gmail.com>
11746
11747 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11748
0ebd92a3
LMI
117492013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11750
bdaa086b
LMI
11751 * net/shr.el (shr-browse-url): Use an external browser if given a
11752 prefix.
11753
c763842b 11754 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 11755
b89fc156
IK
117562013-06-24 Ivan Kanis <ivan@kanis.fr>
11757
11758 * net/eww.el (eww): Work more correctly for file: URLs.
11759 (eww-detect-charset): Allow quoted charsets.
11760 (eww-yank-page-url): New command and keystroke.
11761
18eb4bca
DU
117622013-06-24 Daiki Ueno <ueno@gnu.org>
11763
11764 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11765 file name of gpg executable.
11766 (epg-context-program): New function.
11767 (epg-context-home-directory): New function.
11768 (epg-context-set-program): New function.
11769 (epg-context-set-home-directory): New function.
11770 (epg--start): Use `epg-context-program' instead of
11771 'epg-gpg-program'.
11772 (epg--list-keys-1): Likewise.
11773
6c6268c8
LL
117742013-06-24 Leo Liu <sdl.web@gmail.com>
11775
11776 * ido.el (ido-read-internal): Fix bug#14620.
11777
5e400cb3
JB
117782013-06-23 Juanma Barranquero <lekktu@gmail.com>
11779
11780 * faces.el (face-documentation): Simplify.
11781 (read-face-attribute, tty-find-type, x-resolve-font-name):
11782 Use `string-match-p'.
11783 (list-faces-display): Use `string-match-p'. Simplify.
11784 (face-spec-recalc): Check face to avoid face alias loops.
11785 (read-color): Use `string-match-p' and non-capturing parenthesis.
11786
f3f9606c
LMI
117872013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11788
11789 * net/shr.el (shr-rescale-image): Use the new
11790 :max-width/:max-height functionality.
11791
a3ca09b9
IK
117922013-06-23 Ivan Kanis <ivan@kanis.fr>
11793
11794 * net/eww.el (eww-search-prefix): New variable.
11795 (eww): Use it.
f865b474
IK
11796 (eww-external-browser): New variable.
11797 (eww-mode-map): New keystroke.
11798 (eww-browse-with-external-browser): New command.
a3ca09b9 11799
e854cfc7
IK
11800 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11801
18bb9e21
JB
118022013-06-23 Juanma Barranquero <lekktu@gmail.com>
11803
11804 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11805 Don't skip aligning the next header field when padding is 0;
11806 otherwise, field width is not respected unless the title is as
11807 wide as the field.
11808
5b165ade
SM
118092013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * emacs-lisp/package.el (package-el-version): Remove.
11812 (package-process-define-package): Fix inf-loop.
11813 (package-install): Allow symbols as arguments again.
11814
12adebe9
DG
118152013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11816
11817 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11818 add some more keyword-like methods.
11819 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11820
388573ee
JB
118212013-06-22 Juanma Barranquero <lekktu@gmail.com>
11822
11823 * bs.el (bs-buffer-show-mark): Make defvar-local.
11824 (bs-mode): Use setq-local.
11825
11826 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11827 (emacs-lock--try-unlocking): Make defvar-local.
11828
4582a01c 118292013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 11830
2663dd23
GM
11831 * play/cookie1.el (cookie-apropos): Minor simplification.
11832
3d94f3ad
GM
11833 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11834
f72e2fdb
DG
118352013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11836
11837 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11838 `regexp-opt', it breaks the build during dumping.
11839
73eab938
DG
118402013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11841
c763842b
SM
11842 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11843 Highlight keyword-like methods on Kernel and Module with
73eab938 11844 font-lock-builtin-face.
5cf8176d
DG
11845 (auto-mode-alist): Consolidate different entries into one regexp
11846 and add more *file-s.
73eab938 11847
d26255f6
SB
118482013-06-21 Stephen Berman <stephen.berman@gmx.net>
11849
11850 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11851
11852 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11853 (diary-entry): Use it in the action of this button type instead of
11854 diary-goto-entry.
11855
11856 * calendar/todo-mode.el: New version.
11857 (todo-add-category): Append new category to end of file and give
11858 it the highest number, instead of putting it at the beginning and
11859 giving it 0. Incorporate noninteractive functionality.
11860 (todo-forward-category): Adapt to 1-based category numbering.
11861 Allow skipping over archived categories.
11862 (todo-backward-category): Derive from todo-forward-category.
11863 (todo-backward-item, todo-forward-item): Make noninteractive and
11864 delegate interactive part to new commands. Make sensitive to done items.
11865 (todo-categories): Make value an alist of category names and
11866 vectors of item counts.
11867 (todo-category-beg): Make a defconst.
11868 (todo-category-number): Use 1 instead of 0 as initial value.
11869 (todo-category-select): Make sensitive to overlays, optional item
11870 highlighting and done items.
11871 (todo-delete-item): Make sensitive to overlays and marked and done items.
11872 (todo-edit-item): Make sensitive to overlays and editing of
11873 date/time header optional. Add format checks.
11874 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11875 no-op if point is not on an item. Advertise using todo-edit-quit.
11876 (todo-edit-mode): Make sensitive to new format, font-locking, and
11877 multiple todo files.
11878 (todo-insert-item, todo-insert-item-here): Derive from
11879 todo-basic-insert-item and extend functionality.
11880 (todo-item-end, todo-item-start): Make sensitive to done items.
11881 (todo-item-string): Don't return text properties. Restore point.
11882 (todo-jump-to-category): Make sensitive to multiple todo files and
11883 todo archives. Use extended category completion.
11884 (todo-lower-item, todo-raise-item): Rename to *-priority and
11885 derive from todo-set-item-priority.
11886 (todo-mode): Derive from special-mode. Make sensitive to new
11887 format, font-locking and multiple todo files. Make read-only.
11888 (todo-mode-map): Don't suppress digit keys, so they can supply
11889 prefix arguments. Add many new key bindings.
11890 (todo-prefix): Insert as an overlay instead of file text.
11891 Change semantics from diary date expression to purely visual mark.
11892 (todo-print): Rename to todo-print-buffer. Make buffer display
11893 features printable. Remove option to restrict number of items
11894 printed. Add option to print to file.
11895 (todo-print-function): Rename to todo-print-buffer-function.
11896 (todo-quit): Extend to handle exiting new todo modes.
11897 (todo-remove-item): Make sensitive to overlays.
11898 (todo-save): Extend to buffers of filtered items.
11899 (todo-show): Make sensitive to done items, multiple todo files and
11900 new todo modes. Offer to convert legacy todo file before creating
11901 first new todo file.
11902 (todo-show-priorities): Rename to todo-top-priorities.
11903 Change semantics of value 0.
11904 (todo-top-priorities): Rename to todo-filter-top-priorities,
11905 derive from todo-filter-items and extend functionality.
11906 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11907 and extend functionality to other types of filtered items.
11908 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11909 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11910 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11911 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11912 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11913 (todo-edit-mode-hook, todo-entry-prefix-function)
11914 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11915 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11916 (todo-initials, todo-insert-threshold, todo-item-string-start)
11917 (todo-line-string, todo-menu, todo-mode-hook)
11918 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11919 (todo-print-priorities, todo-remove-separator)
11920 (todo-save-top-priorities-too, todo-string-count-lines)
11921 (todo-string-multiline-p, todo-time-string-format)
11922 (todo-tmp-buffer-name): Remove.
11923 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11924 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11925 (todo-edit-category-diary-inclusion)
11926 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11927 (todo-edit-file, todo-edit-item-date-day)
11928 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11929 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11930 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11931 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11932 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11933 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11934 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11935 (todo-filter-top-priorities-multifile, todo-find-archive)
11936 (todo-find-filtered-items-file, todo-go-to-source-item)
11937 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11938 (todo-jump-to-archive-category, todo-lower-category)
11939 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11940 (todo-move-category, todo-move-item, todo-next-button)
11941 (todo-next-item, todo-padded-string, todo-powerset)
11942 (todo-previous-button, todo-previous-item)
11943 (todo-print-buffer-to-file, todo-raise-category)
11944 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11945 (todo-set-category-number, todo-set-item-priority)
11946 (todo-set-top-priorities-in-category)
11947 (todo-set-top-priorities-in-file, todo-show-categories-table)
11948 (todo-sort-categories-alphabetically-or-numerically)
11949 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11950 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11951 (todo-toggle-item-header, todo-toggle-item-highlighting)
11952 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11953 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11954 (todo-unarchive-items, todo-unmark-category): New commands.
11955 (todo-absolute-file-name, todo-add-to-buffer-list)
11956 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11957 (todo-basic-insert-item, todo-category-completions)
11958 (todo-category-number, todo-category-string-matcher-1)
11959 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11960 (todo-check-format, todo-clear-matches)
11961 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11962 (todo-current-category, todo-date-string-matcher)
11963 (todo-define-insertion-command, todo-diary-expired-matcher)
11964 (todo-diary-goto-entry, todo-diary-item-p)
11965 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11966 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11967 (todo-done-item-section-p, todo-done-separator)
11968 (todo-done-string-matcher, todo-files, todo-filter-items)
11969 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11970 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11971 (todo-insert-category-line, todo-insert-item-from-calendar)
11972 (todo-insert-sort-button, todo-insert-with-overlays)
11973 (todo-insertion-command-name, todo-insertion-key-bindings)
11974 (todo-label-to-key, todo-longest-category-name-length)
11975 (todo-make-categories-list, todo-mode-external-set)
11976 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11977 (todo-modes-set-3, todo-multiple-filter-files)
11978 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11979 (todo-read-category, todo-read-date, todo-read-dayname)
11980 (todo-read-file-name, todo-read-time)
11981 (todo-reevaluate-category-completions-files-defcustom)
11982 (todo-reevaluate-default-file-defcustom)
11983 (todo-reevaluate-filelist-defcustoms)
11984 (todo-reevaluate-filter-files-defcustom)
11985 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11986 (todo-reset-done-separator, todo-reset-done-separator-string)
11987 (todo-reset-done-string, todo-reset-global-current-todo-file)
11988 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11989 (todo-reset-prefix, todo-set-categories)
11990 (todo-set-date-from-calendar, todo-set-show-current-file)
11991 (todo-set-top-priorities, todo-short-file-name)
11992 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11993 (todo-total-item-counts, todo-update-buffer-list)
11994 (todo-update-categories-display, todo-update-categories-sexp)
11995 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11996 New functions.
11997 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11998 New major modes.
11999 (todo-categories, todo-display, todo-edit, todo-faces)
12000 (todo-filtered): New defgroups.
12001 (todo-archived-only, todo-button, todo-category-string, todo-date)
12002 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12003 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12004 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12005 (todo-add-item-if-new-category, todo-always-add-time-string)
12006 (todo-categories-align, todo-categories-archived-label)
12007 (todo-categories-category-label, todo-categories-diary-label)
12008 (todo-categories-done-label, todo-categories-number-separator)
12009 (todo-categories-todo-label, todo-categories-totals-label)
12010 (todo-category-completions-files, todo-completion-ignore-case)
12011 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12012 (todo-done-separator-string, todo-done-string)
12013 (todo-files-function, todo-filter-done-items, todo-filter-files)
12014 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12015 (todo-initial-category, todo-initial-file, todo-item-mark)
12016 (todo-legacy-date-time-regexp, todo-mode-line-function)
12017 (todo-nondiary-marker, todo-number-prefix)
12018 (todo-print-buffer-function, todo-show-current-file)
12019 (todo-show-done-only, todo-show-first, todo-show-with-done)
12020 (todo-skip-archived-categories, todo-top-priorities-overrides)
12021 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12022 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12023 New defcustoms.
12024 (todo-category-done, todo-date-pattern, todo-date-string-start)
12025 (todo-diary-items-buffer, todo-done-string-start)
12026 (todo-filtered-items-buffer, todo-item-start)
12027 (todo-month-abbrev-array, todo-month-name-array)
12028 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12029 (todo-top-priorities-buffer): New defconsts.
12030 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12031 (todo-categories-with-marks, todo-category-string-face)
12032 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12033 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12034 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12035 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12036 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12037 (todo-font-lock-keywords, todo-global-current-todo-file)
12038 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12039 (todo-insertion-commands-args)
12040 (todo-insertion-commands-args-genlist)
12041 (todo-insertion-commands-names, todo-insertion-map)
12042 (todo-key-bindings-t, todo-key-bindings-t+a)
12043 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12044 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12045 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12046 (todo-visited): New variables.
12047
cad5d1cb
GM
120482013-06-21 Glenn Morris <rgm@gnu.org>
12049
12050 * play/cookie1.el (cookie-apropos): Add optional display argument.
12051 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12052 (psychoanalyze-pinhead): Use cookie-doctor.
12053
9e277302
JB
120542013-06-21 Juanma Barranquero <lekktu@gmail.com>
12055
12056 * emacs-lisp/package.el (tar-get-file-descriptor)
12057 (tar--extract): Declare.
12058
c5b0993e
EW
120592013-06-21 Eduard Wiebe <usenet@pusto.de>
12060
12061 Extend flymake's warning predicate to be a function (bug#14217).
12062 * progmodes/flymake.el (flymake-warning-predicate): New.
12063 (flymake-parse-line): Use it.
12064 (flymake-warning-re): Make obsolete alias to
12065 `flymake-warning-predicate'.
12066
a7d2d465
SM
120672013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12068
12069 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12070 (package-obsolete-list): Remove.
12071 (package-activate): Remove min-version argument. Add `force' argument.
12072 Adjust to new package-alist format.
12073 (package-mark-obsolete): Remove.
12074 (package-unpack): Force reload of the package's autoloads.
12075 (package-installed-p): Check builtins if the installed package is not
12076 recent enough.
12077 (package-initialize): Don't reset package-obsolete-list.
12078 Don't specify which package version to activate.
12079 (package-process-define-package, describe-package-1)
12080 (package-menu--generate): Adjust to new package-alist format.
12081
cedf5c9d
JB
120822013-06-21 Juanma Barranquero <lekktu@gmail.com>
12083
12084 * allout-widgets.el (allout-widgets-mode-off)
12085 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12086 (allout-widgets-post-command-business)
12087 (allout-widgets-after-copy-or-kill-function)
12088 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12089 (allout-decorate-item-and-context)
12090 (allout-graphics-modification-handler): Fix typos in docstrings.
12091 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12092
12093 * cmuscheme.el (scheme-start-file): Doc fix.
12094 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12095 (scheme-input-filter): Use `string-match-p'.
12096
12097 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12098
12099 * dired-x.el: Use Dired consistently in docstrings.
12100
12101 * dired.el: Use Dired consistently in docstrings.
12102 (dired-readin, dired-mode): Use `setq-local'.
12103 (dired-switches-alist): Make defvar-local.
12104 (dired-buffers-for-dir): Use `zerop'.
12105 (dired-safe-switches-p, dired-switches-escape-p)
12106 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12107 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 12108 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
12109 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12110 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12111 (dired-toggle-marks, dired-mark-files-containing-regexp)
12112 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12113 (dired-flag-auto-save-files, dired-flag-backup-files):
12114 Use `looking-at-p'.
12115 (dired-mark-files-regexp, dired-build-subdir-alist):
12116 Use `string-match-p', `looking-at-p'.
12117
12118 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12119 (direct-print-region-helper): Use `string-match-p'.
12120
aed838b5
LL
121212013-06-21 Leo Liu <sdl.web@gmail.com>
12122
cedf5c9d
JB
12123 * comint.el (comint-redirect-results-list-from-process):
12124 Fix infinite loop.
aed838b5 12125
d80a808f
LMI
121262013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12127
12128 * net/eww.el (eww-update-header-line-format): Quote % characters.
12129
e7a526e3
GM
121302013-06-21 Glenn Morris <rgm@gnu.org>
12131
12132 * play/cookie1.el (cookie): New custom group.
12133 (cookie-file): New option.
12134 (cookie-check-file): New function.
12135 (cookie): Make it interactive. Make start and end messages optional.
12136 Interactively, display the result. Default to cookie-file.
12137 (cookie-insert): Default to cookie-file.
12138 (cookie-snarf): Make start and end messages optional.
12139 Default to cookie-file. Use with-temp-buffer.
12140 (cookie-read): Rename from read-cookie.
12141 Make start and end messages optional. Default to cookie-file.
12142 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 12143 Do not autoload it.
e7a526e3
GM
12144 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12145 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12146
62efb35e
LL
121472013-06-21 Leo Liu <sdl.web@gmail.com>
12148
12149 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12150
21e3f963
GM
121512013-06-21 Glenn Morris <rgm@gnu.org>
12152
12153 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12154
fd846ab4
SM
121552013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12156 Daniel Hackney <dan@haxney.org>
12157
12158 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12159 Consolidate the single-file vs tarball code.
12160 (package-desc-suffix): New function.
12161 (package-desc-full-name): Don't bother inlining it.
12162 (package-load-descriptor): Return the new package-desc.
12163 (package-mark-obsolete): Remove unused arg `package'.
12164 (package-unpack): Make it work for single files as well.
12165 Make it update package-alist.
12166 (package--make-autoloads-and-stuff): Rename from
12167 package--make-autoloads-and-compile. Don't compile any more.
12168 (package--compile): New function.
12169 (package-generate-description-file): New function, extracted from
12170 package-unpack-single.
12171 (package-unpack-single): Remove.
12172 (package--with-work-buffer): Add indentation and debugging info.
12173 (package-download-single): Remove.
12174 (package-install-from-archive): Rename from package-download-tar, make
12175 it take a pkg-desc, and make it work for single files as well.
12176 (package-download-transaction): Simplify.
12177 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12178 external tar program.
12179 (package-install-from-buffer): Remove `pkg-desc' argument.
12180 Use package-tar-file-info for tar-mode buffers.
12181 (package-install-file): Simplify accordingly.
12182 (package-archive-base): Change to take a pkg-desc.
12183 * tar-mode.el (tar--check-descriptor): New function, extracted from
12184 tar-get-descriptor.
12185 (tar-get-descriptor): Use it.
12186 (tar-get-file-descriptor): New function.
12187 (tar--extract): New function, extracted from tar-extract.
12188 (tar--extract): Use it.
12189 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12190 case the summary uses non-ascii. Adjust to new calling convention of
12191 package-tar-file-info.
12192
b7deae5e
LL
121932013-06-21 Leo Liu <sdl.web@gmail.com>
12194
fd846ab4
SM
12195 * comint.el (comint-redirect-results-list-from-process):
12196 Fix random delay. (Bug#14681)
b7deae5e 12197
7a65a0b2
JB
121982013-06-21 Juanma Barranquero <lekktu@gmail.com>
12199
12200 * profiler.el (profiler-format-number): Use log, not log10.
12201
1493c2af
JB
122022013-06-20 Juanma Barranquero <lekktu@gmail.com>
12203
12204 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12205
aff6371e
SM
122062013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12207
12208 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12209 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12210 yet available.
12211 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12212 (AUTOGENEL): ... here.
12213 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12214 (cl--defsubst-expand): Use it.
12215
89561f72
PE
122162013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12217
12218 * subr.el (log10): Move here from C code, and declare as obsolete.
12219 All uses of (log10 X) replaced with (log X 10).
12220
47199123
JB
122212013-06-20 Juanma Barranquero <lekktu@gmail.com>
12222
12223 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12224 Declare with `defvar-local'.
12225 (tabulated-list-use-header-line, tabulated-list-entries)
12226 (tabulated-list-padding, tabulated-list-printer)
12227 (tabulated-list-sort-key): Declare with `defvar-local'.
12228 (tabulated-list-init-header, tabulated-list-print-fake-header):
12229 Use `setq-local'.
12230
4a172eab
MA
122312013-06-20 Michael Albinus <michael.albinus@gmx.de>
12232
47199123
JB
12233 * arc-mode.el (archive-mode): Add `archive-write-file' to
12234 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 12235
5fc0acc0
JB
122362013-06-20 Juanma Barranquero <lekktu@gmail.com>
12237
d5b27848
JB
12238 * cus-edit.el (custom-commands): Fix typos.
12239 (custom-display): Fix tooltip text.
12240 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12241 Fix typos in docstrings.
12242 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12243 (custom-unlispify-menu-entry, custom-magic-value-create)
12244 (custom-add-see-also, custom-group-value-create): Use ?\s.
12245 (custom-guess-type, customize-apropos, editable-field)
12246 (custom-face-value-create): Use `string-match-p'.
12247 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12248
12249 * custom.el (custom-load-symbol): Use `string-match-p'.
12250
a5c581d8
JB
12251 * ansi-color.el: Convert to lexical binding.
12252 (ansi-colors): Fix URL.
12253 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12254 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12255 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12256
970ad972
G
122572013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12258
12259 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12260
12261 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12262
122632013-06-19 Tom Tromey <tromey@redhat.com>
12264
12265 * net/eww.el (eww-top-url): Remove.
12266 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12267 (eww-render): Set new variables. Don't set eww-top-url.
12268 (eww-handle-link): Handle "prev", "home", and "contents".
12269 Downcase the rel text.
12270 (eww-top-url): Choose best top URL.
12271
122722013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12273
12274 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12275 relying in widget.el. Using widget.el leads to too many
12276 user interface inconsistencies.
12277 (eww-self-insert): Implement entering commands in text fields.
12278 (eww-process-text-input): New function to make text input field editing
12279 work.
12280 (eww-submit): Rewrite to use the new-style form methods.
12281 (eww-select-display): Display the correct selected item.
12282 (eww-change-select): Implement changing the select value.
12283 (eww-toggle-checkbox): Implement radio/checkboxes.
12284 (eww-update-field): Fix compilation error.
12285 (eww-tag-textarea): Implement <textarea>.
12286
12287 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12288 we don't shadow mode-specific bindings.
12289
12290 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12291 nothing to push.
12292
12293 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12294
4582a01c 122952013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
12296
12297 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12298
15b263dc
MA
122992013-06-19 Michael Albinus <michael.albinus@gmx.de>
12300
12301 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12302 not needed.
12303
12304 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12305
8f5297f7
LMI
123062013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12307
12308 * net/browse-url.el (browse-url-browser-function):
12309 `eww-browse-url' has the right calling signature, `eww' does not.
12310
011c4552
GM
123112013-06-19 Glenn Morris <rgm@gnu.org>
12312
2285bd27
GM
12313 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12314 Only eval autoloaded macros.
12315 (byte-compile-autoload): Only give the macro warning for macros.
12316
1d653303
GM
12317 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12318 (ps-underlined-faces): Declare.
12319
bdd779ec
GM
12320 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12321 (speedbar-add-supported-extension): Declare.
12322
011c4552
GM
12323 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12324 Don't include a date stamp in the header of the generated file;
12325 it leads to needless differences between output files.
12326
e59dfb0e
MA
123272013-06-19 Michael Albinus <michael.albinus@gmx.de>
12328
c763842b
SM
12329 * net/secrets.el (secrets-struct-secret-content-type):
12330 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 12331 Some servers do not offer introspection.
e59dfb0e 12332
102626e2
SM
123332013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * electric.el (electric-pair-mode): Improve interaction with
12336 electric-layout-mode.
12337 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12338 (electric-pair-syntax): Use text-mode-syntax-table in comments
12339 and strings.
12340 (electric-pair--insert): New function.
12341 (electric-pair-post-self-insert-function): Use it and
12342 electric--after-char-pos.
12343
ad528125
LL
123442013-06-19 Leo Liu <sdl.web@gmail.com>
12345
12346 * progmodes/octave.el (octave-help): Fix regexp.
12347
924d6997
G
123482013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12349
12350 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12351 (shr-table-horizontal-line): Allow nil as a value, and change the
12352 default.
12353 (shr-insert-table-ruler): Respect the nil value.
12354
123552013-06-18 Tom Tromey <tromey@barimba>
12356
12357 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12358 New defvars.
12359 (eww-open-file): New defun.
12360 (eww-render): Initialize new variables.
12361 (eww-display-html): Handle "link" and "a".
12362 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12363 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12364 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
12365 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12366 New defuns.
924d6997 12367
d1bbba4f
DG
123682013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12369
12370 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12371 Distinguish ternary operator tokens from slash symbol and slash
12372 char literal.
12373
14dd22d2
JB
123742013-06-18 Juanma Barranquero <lekktu@gmail.com>
12375
12376 Convert symbol prettification into minor mode and global minor mode.
12377
12378 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12379 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12380 (prettify-symbols--keywords): Rename from
12381 `prog-prettify-symbols-alist' and make a local defvar.
12382 (prettify-symbols--compose-symbol): Rename from
12383 `prog--prettify-font-lock-compose-symbol'.
12384 (prettify-symbols--make-keywords): Rename from
12385 `prog-prettify-font-lock-symbols-keywords' and simplify.
12386 (prog-prettify-install): Remove.
12387 (prettify-symbols-mode): New minor mode, based on
12388 `prog-prettify-install'.
12389 (turn-on-prettify-symbols-mode): New function.
12390 (global-prettify-symbols-mode): New globalized minor mode.
12391
12392 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12393 * progmodes/cfengine.el (cfengine3-mode):
12394 * progmodes/perl-mode.el (perl-mode): Don't call
12395 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12396
292c880c
JL
123972013-06-18 Juri Linkov <juri@jurta.org>
12398
12399 * files-x.el (modify-file-local-variable-message): New function.
12400 (modify-file-local-variable)
12401 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12402 and call `modify-file-local-variable-message' when it's non-nil.
12403 (add-file-local-variable, delete-file-local-variable)
12404 (add-file-local-variable-prop-line)
12405 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12406 and use it. (Bug#9820)
12407
0950aa27
JL
124082013-06-18 Juri Linkov <juri@jurta.org>
12409
12410 * emulation/vi.el (vi-shell-op):
12411 * emulation/vip.el (vip-execute-com, ex-command):
12412 * emulation/viper-cmd.el (viper-exec-bang):
12413 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12414 the call of `shell-command-on-region'. (Bug#14637)
12415
12416 * simple.el (shell-command-on-region): Doc fix.
12417
8fbcca16
SM
124182013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12419
12420 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12421 (bug#14633).
12422
dd7426ea
GM
124232013-06-18 Glenn Morris <rgm@gnu.org>
12424
4ba54f7d
GM
12425 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12426
dd7426ea
GM
12427 * newcomment.el (comment-search-forward, comment-search-backward):
12428 Doc fix. (Bug#14376)
12429
58aa805b
JB
124302013-06-18 Juanma Barranquero <lekktu@gmail.com>
12431
12432 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12433 (buffer-face-mode-invoke): Doc fix.
12434
9a08a617
MM
124352013-06-18 Matthias Meulien <orontee@gmail.com>
12436
12437 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 12438 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 12439
f2f426ca
GM
124402013-06-18 Glenn Morris <rgm@gnu.org>
12441
9445f99b
GM
12442 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12443 Replace obsolete function generic-make-keywords with its expansion.
12444
e0df2d14
GM
12445 * progmodes/python.el (ffap-alist): Declare.
12446
f2f426ca
GM
12447 * textmodes/reftex.el (bibtex-mode-map): Declare.
12448
f7f9a720
SM
124492013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12450
12451 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12452 (package-unpack, package-unpack-single): Return the pkg-dir.
12453 (package-download-transaction): Use it to update package-alist.
12454
57ff04e0
LMI
124552013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12456
12457 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12458 possible choice.
12459
c048c022
JL
124602013-06-17 Juri Linkov <juri@jurta.org>
12461
12462 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12463
b5bcaee5
DG
124642013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12465
a020afb9
JB
12466 * emacs-lisp/package.el (package-load-descriptor):
12467 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
12468 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12469
551e07e5
JB
124702013-06-17 Juanma Barranquero <lekktu@gmail.com>
12471
12472 * startup.el (command-line): Expand package name returned by
12473 `package--description-file' (bug#14639).
12474
d363bffb
DG
124752013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12476
12477 * emacs-lisp/package.el (package-load-descriptor): Do not call
12478 `emacs-lisp-mode', just use its syntax table.
12479
f612933b
JB
124802013-06-17 Juanma Barranquero <lekktu@gmail.com>
12481
12482 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12483 `font-lock-extra-managed-props' if any prettifying keyword is added.
12484 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12485 (prog-mode): Use `setq-local'.
12486
db3b7db5
SM
124872013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12488
12489 * international/characters.el (standard-case-table): Set syntax of ?»
12490 and ?« to punctuation.
12491
f3d674df
JB
124922013-06-16 Juanma Barranquero <lekktu@gmail.com>
12493
12494 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12495 Save relevant match data before calling `syntax-ppss' (bug#14595).
12496
31489a32
JL
124972013-06-15 Juri Linkov <juri@jurta.org>
12498
12499 * files-x.el (modify-file-local-variable-prop-line): Add local
12500 variables to the end of the existing comment on the first line.
12501 Use `file-auto-mode-skip' to skip interpreter magic line,
12502 and also skip XML declaration.
12503
66bd25ab
SM
125042013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * startup.el (package--builtin-versions): New var.
12507 (package-subdirectory-regexp): Remove.
12508 (package--description-file): Hard code its value instead.
12509
12510 * emacs-lisp/package.el: Don't activate packages older than builtin.
12511 (package-obsolete-list): Rename from package-obsolete-alist, and make
12512 it into a simple list of package-desc.
12513 (package-strip-version): Remove.
12514 (package-built-in-p): Use package--builtin-versions.
12515 (package-mark-obsolete): Simplify.
12516 (package-process-define-package): Mark it obsolete if older than the
12517 builtin version.
12518 (package-handle-response): Use line-end-position.
12519 (package-read-archive-contents, package--download-one-archive):
12520 Simplify.
12521 (package--add-to-archive-contents): Skip if older than the builtin or
12522 installed version.
12523 (package-menu-describe-package): Fix last change.
12524 (package-list-unversioned): New var.
12525 (package-menu--generate): Use it.
12526
12527 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12528 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12529 (autoload-builtin-package-versions): New variable.
12530 (autoload-generate-file-autoloads): Use them.
12531 Remove the list of autoloaded functions/macros from the
12532 (autoload...) comments.
12533
12534 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12535
9583ec36
EZ
125362013-06-15 Eli Zaretskii <eliz@gnu.org>
12537
12538 * simple.el (line-move-partial): Don't jump to the next screen
12539 line as soon as it becomes visible. Instead, continue enlarging
12540 the vscroll until the portion of a tall screen line that's left on
12541 display is about the height of the frame's default font.
12542 (Bug#14567)
12543
f0100d8a
GM
125442013-06-15 Glenn Morris <rgm@gnu.org>
12545
b86a85ca
GM
12546 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12547 compilation-error-regexp-alist void, or local while let-bound.
12548
f0100d8a
GM
12549 * progmodes/make-mode.el (makefile-mode-syntax-table):
12550 Treat "=" as punctuation. (Bug#14614)
12551
05e7ce90
JB
125522013-06-15 Juanma Barranquero <lekktu@gmail.com>
12553
12554 * help-fns.el (describe-variable):
12555 Add extra line for permanent-local variables.
12556
12e5e86e
SH
125572013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12558
12559 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12560 Add export, import, library. (Bug#9164)
12561 (library): Set indent function.
12562
230dcbaf
GM
125632013-06-14 Glenn Morris <rgm@gnu.org>
12564
12565 * term/xterm.el (xterm--query):
12566 Stop after first matching handler. (Bug#14615)
12567
e36b2d20 125682013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
12569
12570 Add support for dired in saveplace.
12571 * dired.el (dired-initial-position-hook): New variable.
12572 (dired-initial-position): Call hook to place cursor position.
12573 * saveplace.el (save-place-to-alist): Add dired position.
12574 (save-place-dired-hook): New function.
12575
0b31660d
SM
125762013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12577
bf1e6ae8
SM
12578 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12579 through a symbol rather than letrec.
12580
1b8dff23
SM
12581 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12582 (package-desc): Add `dir' field.
12583 (package-desc-full-name): New function.
12584 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12585 (package-maybe-load-descriptor): Remove.
12586 (package-load-all-descriptors): Just call package-load-descriptor.
12587 (package--disabled-p): New function.
12588 (package-desc-vers, package-desc-doc): Remove aliases.
12589 (package--dir): Remove function.
12590 (package-activate): Check if a package is disabled.
12591 (package-process-define-package): New function, extracted from
12592 define-package.
12593 (define-package): Turn into a place holder.
12594 (package-unpack-single, package-tar-file-info):
12595 Use package--description-file.
12596 (package-compute-transaction): Use package--disabled-p.
12597 (package-download-transaction): Don't call
12598 package-maybe-load-descriptor since they're all loaded anyway.
12599 (package-install): Change argument to be a pkg-desc.
12600 (package-delete): Use a single pkg-desc argument.
12601 (describe-package-1): Use package-desc-dir instead of package--dir.
12602 Use package-desc property instead of package-symbol.
12603 (package-install-button-action): Adjust accordingly.
12604 (package--push): Rewrite.
12605 (package-menu--print-info): Adjust accordingly. Change the ID format
12606 to be a pkg-desc.
12607 (package-menu-describe-package, package-menu-get-status)
12608 (package-menu--find-upgrades, package-menu-mark-upgrades)
12609 (package-menu-execute, package-menu--name-predicate):
12610 Adjust accordingly.
12611 * startup.el (package--description-file): New function.
12612 (command-line): Use it.
12613 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12614 Use package-desc-version.
12615
0b31660d
SM
12616 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12617 (byte-compile-preprocess): Use it.
12618 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12619 can't quite recognize.
12620 (byte-compile-add-to-list): Remove.
12621 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12622 (cconv-closure-convert): Add assertion.
12623
12624 * emacs-lisp/map-ynp.el: Use lexical-binding.
12625 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12626 Factor out some repeated code.
12627
de0503df
SM
126282013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12629
12630 * subr.el (with-eval-after-load): New macro.
12631 (eval-after-load): Allow form to be a function.
12632 take advantage of lexical-binding.
12633 (do-after-load-evaluation): Use dolist and adjust to new format.
12634 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12635
bc5c8c5a
JL
126362013-06-13 Juri Linkov <juri@jurta.org>
12637
12638 * replace.el (perform-replace): Display "symbol " and other search
12639 modes from `isearch-message-prefix' in the *Help* buffer.
12640
12641 * isearch.el (isearch-query-replace): Add " symbol" and other
12642 possible search modes from `isearch-message-prefix' to the prompt.
12643 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12644 when reading a regexp to collect.
12645
a22289f7
JL
126462013-06-13 Juri Linkov <juri@jurta.org>
12647
12648 * isearch.el (word-search-regexp): Match whitespace if the search
12649 string begins or ends in whitespace. The LAX arg is applied to
12650 both ends of the search string. Use `regexp-quote' and explicit
12651 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12652 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12653 boundaries are replaced with symbol boundaries, and characters
12654 between symbols match non-word non-symbol syntax. (Bug#14602)
12655
cb89acab
JL
126562013-06-13 Juri Linkov <juri@jurta.org>
12657
12658 * isearch.el (isearch-del-char): Don't exceed the length of
12659 `isearch-string' by the prefix arg. (Bug#14563)
12660
6e8cfc81
JL
126612013-06-13 Juri Linkov <juri@jurta.org>
12662
12663 * isearch.el (isearch-yank-word, isearch-yank-line)
12664 (isearch-char-by-name, isearch-quote-char)
12665 (isearch-printing-char, isearch-process-search-char):
12666 Add optional count prefix arg. (Bug#14563)
12667
12668 * international/isearch-x.el
12669 (isearch-process-search-multibyte-characters):
12670 Add optional count prefix arg.
12671
c23d55f4
VS
126722013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12673
12674 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12675 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12676 lexical-binding.
12677
126782013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12679
12680 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12681
ba947bc4
GM
126822013-06-13 Glenn Morris <rgm@gnu.org>
12683
8baeb37a
GM
12684 * startup.el (tty-handle-args):
12685 Don't just discard "--" and anything after. (Bug#14608)
12686
ba947bc4
GM
12687 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12688
9abefce4
MA
126892013-06-13 Michael Albinus <michael.albinus@gmx.de>
12690
12691 Implement changes in Secret Service API. Make it backward compatible.
12692 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12693 (secrets-create-item): Use it. Prefix properties with interface.
12694
5755011f
MH
126952013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12696
12697 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12698 (term-emulate-terminal): Respect term-suppress-hard-newline.
12699
1261d2da
S
127002013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12701
12702 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12703 Only remove a `thumb-file' overlay. (Bug#14548)
12704
868490bb
GJ
127052013-06-12 Grégoire Jadi <daimrod@gmail.com>
12706
12707 * mail/reporter.el (reporter-submit-bug-report):
12708 Handle missing package-name. (Bug#14600)
12709
79d7167f
TH
127102013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12711
12712 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12713 (reftex-citation-prompt, reftex-default-bibliography)
12714 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12715 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12716 (reftex-bib-sort-author, reftex-bib-sort-year)
12717 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12718 (reftex-extract-bib-entries-from-thebibliography)
12719 (reftex-get-bibkey-default, reftex-get-bib-names)
12720 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12721 (reftex-format-bib-entry, reftex-parse-bibitem)
12722 (reftex-format-bibitem, reftex-do-citation)
12723 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12724 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12725 (reftex-insert-bib-matches, reftex-format-citation)
12726 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12727 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12728 existing comments into docstrings.
12729
5f9dbd7a
XF
127302013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12731
12732 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12733
94df41ab
AS
127342013-06-12 Andreas Schwab <schwab@suse.de>
12735
12736 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12737 for auto-save files.
12738
a7f3fecc
GM
127392013-06-12 Glenn Morris <rgm@gnu.org>
12740
001809f6
GM
12741 * ido.el (ido-delete-ignored-files): Remove.
12742 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12743 Go back to calling ido-ignore-item-p directly.
a7f3fecc 12744
834b5ded
EL
127452013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12746
08c73ed2
EL
12747 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12748
834b5ded
EL
12749 * ido.el (ido-delete-ignored-files): New function,
12750 split from ido-make-file-list-1.
12751 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12752 (ido-make-file-list-1): Use ido-delete-ignored-files.
12753
daabf15a
LL
127542013-06-12 Leo Liu <sdl.web@gmail.com>
12755
12756 * progmodes/octave.el (inferior-octave-startup)
12757 (inferior-octave-completion-table)
12758 (inferior-octave-track-window-width-change)
12759 (octave-eldoc-function-signatures, octave-help)
12760 (octave-find-definition): Use single quoted strings.
12761 (inferior-octave-startup-args): Change default value.
12762 (inferior-octave-startup): Do not hard code "-i" and
12763 "--no-line-editing".
12764 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12765 (inferior-octave-directory-tracker): Use it.
12766 (octave-goto-function-definition): Robustify.
12767 (octave-help): Support highlighting operators in 'See also'.
12768 (octave-find-definition): Find subfunctions only in Octave mode.
12769
cf4e5178
SM
127702013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12771
12772 * help-fns.el (help-fns--compiler-macro): If the handler function is
12773 named, then put a link to it.
12774 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12775 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12776 (cl-typep): Use it.
12777 (cl-eval-when): Simplify debug spec.
12778 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12779 compiler-macro function instead of setting `compiler-macro-file'.
12780
99c81280 127812013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
12782
12783 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12784 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12785
f56be016
SM
127862013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12787 Daniel Hackney <dan@haxney.org>
12788
12789 First part of Daniel Hackney's patch to package.el.
12790 * emacs-lisp/package.el: Use defstruct.
12791 (package-desc): New, main struct.
12792 (package--bi-desc, package--ac-desc): New structs, used to describe the
12793 format in external files.
12794 (package-desc-vers): Replace with package-desc-version accessor.
12795 (package-desc-doc): Replace with package-desc-summary accessor.
12796 (package-activate-1): Remove `package' arg since the pkg-vec now
12797 includes the name.
12798 (define-package): Use package-desc-from-define.
12799 (package-unpack-single): Change file-name arg to be a symbol.
12800 (package--add-to-archive-contents): Use package-desc-create and new
12801 accessor functions to package--ac-desc.
12802 (package-buffer-info, package-tar-file-info): Return a package-desc.
12803 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12804 arg to be a package-desc.
12805 (package-install-file): Adjust accordingly. Use \' to match EOS.
12806 (package--from-builtin): New function.
12807 (describe-package-1, package-menu--generate): Use it.
12808 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12809 (package-generate-autoloads): Idem and return the name of the file.
12810 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12811 Change pkg-info arg to be a package-desc.
12812 Use package-make-ac-desc.
12813 (package-upload-file): Use \' to match EOS.
12814 * finder.el (finder-compile-keywords): Use package-make-builtin.
12815
31119d63
SM
128162013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12817
931a2762
SM
12818 * vc/vc.el (vc-deduce-fileset): Change error message.
12819 (vc-read-backend): New function.
12820 (vc-next-action): Use it.
12821
5a3eb0c6
SM
12822 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12823
e3eb1bb7
SM
12824 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12825 (prolog-font-lock-keywords): Use regexp-opt instead.
12826 Don't manually highlight strings.
12827 (prolog-mode-variables): Simplify comment-start-skip.
12828 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12829
31119d63
SM
12830 * emacs-lisp/generic.el (generic--normalise-comments)
12831 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12832 (generic-mode-set-comments): Use them.
12833 (generic-bracket-support): Use setq-local.
12834 (generic-make-keywords-list): Declare obsolete.
12835
7de135d0
GM
128362013-06-11 Glenn Morris <rgm@gnu.org>
12837
12838 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12839 Prettify after setting font-lock-defaults. (Bug#14574)
12840
fa6bc6fd
JB
128412013-06-11 Juanma Barranquero <lekktu@gmail.com>
12842
12843 * replace.el (query-replace, occur-read-regexp-defaults-function)
12844 (replace-search):
12845 * subr.el (declare-function, number-sequence, local-set-key)
12846 (substitute-key-definition, locate-user-emacs-file)
12847 (with-silent-modifications, split-string, eval-after-load):
12848 Fix typos, remove unneeded backslashes and reflow some docstrings.
12849
cf1f9b9a
SM
128502013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12851
12852 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12853 default for Elisp files.
12854
56602a4b
GM
128552013-06-11 Glenn Morris <rgm@gnu.org>
12856
12857 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12858 although define-derived-mode was doing this anyway. (Bug#14583)
12859
30ae0b2c
JB
128602013-06-10 Juanma Barranquero <lekktu@gmail.com>
12861
12862 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12863 Fix make-variable-buffer-local call to refer to the correct variable.
12864
fa472906
AG
128652013-06-10 Aidan Gauland <aidalgol@amuri.net>
12866
12867 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
12868 (eshell-visual-subcommands, eshell-visual-options):
12869 Add summary line to docstrings. Add cross-references.
fa472906 12870
ff4871b9
GM
128712013-06-10 Glenn Morris <rgm@gnu.org>
12872
12873 * epa.el (epa-read-file-name): New function. (Bug#14510)
12874 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12875
04fcf1b0
AG
128762013-06-09 Aidan Gauland <aidalgol@amuri.net>
12877
12878 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12879 output redirection to be ignored with visual commands.
12880
88b00caa
AG
128812013-06-09 Aidan Gauland <aidalgol@amuri.net>
12882
12883 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
12884 (eshell-term-initialize): Move long lambda to separate function
12885 eshell-visual-command-p.
27821a89 12886 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
12887 * eshell/em-script.el (eshell-script-initialize):
12888 Add missing #' to lambda.
88b00caa 12889
fda74125
LL
128902013-06-08 Leo Liu <sdl.web@gmail.com>
12891
12892 * progmodes/octave.el (octave-add-log-current-defun): New function.
12893 (octave-mode): Set add-log-current-defun-function.
12894 (octave-goto-function-definition): Do not move point if not found.
12895 (octave-find-definition): Enhance to try subfunctions first.
12896
467f3b33
GM
128972013-06-08 Glenn Morris <rgm@gnu.org>
12898
12899 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12900 (byte-compile-backward-char, byte-compile-backward-word):
12901 Improve previous change, to handle non-explicit nil.
12902
544badc3
SM
129032013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12904
12905 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12906 (smie--opener/closer-at-point): New function.
12907 (smie--matching-block-data): Use it. Don't match from right after an
12908 opener or right before a closer. Obey smie-blink-matching-inners.
12909 Don't signal a mismatch for repeated inners like "switch..case..case".
12910
a175bf33
LL
129112013-06-07 Leo Liu <sdl.web@gmail.com>
12912
12913 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12914 to t. (Bug#14303)
ce8209d4
LL
12915 (octave-function-header-regexp): Fix. (Bug#14570)
12916 (octave-help-mode-finish-hook, octave-help-mode-finish):
12917 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
12918
12919 * newcomment.el (comment-search-backward): Revert last change.
12920 (Bug#14434)
12921
12922 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12923
a822acff
EZ
129242013-06-07 Eli Zaretskii <eliz@gnu.org>
12925
12926 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12927 through xargs, to avoid failure due to MS-Windows limitations on
12928 command-line length.
12929
961166f5
GM
129302013-06-06 Glenn Morris <rgm@gnu.org>
12931
d0341459
GM
12932 * font-lock.el (lisp-font-lock-keywords-2):
12933 Treat user-error like error.
12934
961166f5
GM
12935 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12936 (byte-compile-backward-char, byte-compile-backward-word):
12937 Handle explicit nil arguments. (Bug#14565)
12938
80fa505f
AM
129392013-06-05 Alan Mackenzie <acm@muc.de>
12940
12941 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 12942 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 12943 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 12944 (Bug#9706)
80fa505f 12945
fccdc796
SM
129462013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12947
12948 * autorevert.el (auto-revert-notify-handler): Use memq.
12949 Hide assertion failure.
12950
12951 * skeleton.el: Use cl-lib.
12952 (skeleton-further-elements): Use defvar-local.
12953 (skeleton-insert): Use cl-progv.
12954
9bfff84b
TZ
129552013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12956
12957 * progmodes/prog-mode.el (prog-prettify-symbols)
12958 (prog-prettify-install): Update docstrings.
12959
55577e7c
SM
129602013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12961
12962 * simple.el: Move all the prog-mode code to prog-mode.el.
12963 * progmodes/prog-mode.el: New file.
12964 * loadup.el: Add prog-mode.el.
12965
8fc57765
TZ
129662013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12967
12968 * simple.el (prog-prettify-symbols): Add version.
12969 (prog-prettify-install): Add convenience function to prettify symbols.
12970
12971 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12972 (perl--augmented-font-lock-keywords-1)
12973 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12974 variables and use it.
12975
12976 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12977 (cfengine3-mode): Remove unneeded variable and use it.
12978
12979 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12980 (lisp--augmented-font-lock-keywords-1)
12981 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12982 Remove unneeded variables and use it.
12983
650645d5 129842013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
12985
12986 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 12987 to point when opening the connection. (Bug#14380)
28f5da6d 12988
781b4af6
SM
129892013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12990
12991 * subr.el (load-history-regexp, load-history-filename-element)
12992 (eval-after-load, after-load-functions, do-after-load-evaluation)
12993 (eval-next-after-load, display-delayed-warnings)
12994 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12995 definition of save-match-data.
12996 (overriding-local-map): Remove accidental obsolescence declaration.
12997
12998 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12999
3ca0d0b4
TZ
130002013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13001
13002 Generalize symbol prettify support to prog-mode and implement it
13003 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13004 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13005 (prog--prettify-font-lock-compose-symbol)
13006 (prog-prettify-font-lock-symbols-keywords): New variables and
13007 functions to support symbol prettification.
13008 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13009 (lisp--augmented-font-lock-keywords-1)
13010 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13011 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13012 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
13013 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13014 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
13015 * progmodes/perl-mode.el (perl-prettify-symbols)
13016 (perl--font-lock-compose-symbol)
13017 (perl--font-lock-symbols-keywords): Move to prog-mode.
13018 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13019 (perl-font-lock-keywords-1)
13020 (perl-font-lock-keywords-2): Remove explicit prettify support.
13021 (perl--augmented-font-lock-keywords)
13022 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
13023 (perl--augmented-font-lock-keywords-2, perl-mode):
13024 Implement prettify support.
3ca0d0b4 13025
976cb066
LL
130262013-06-05 Leo Liu <sdl.web@gmail.com>
13027
27821a89 13028 Re-implement SMIE matching block highlight using
976cb066
LL
13029 show-paren-data-function. (Bug#14395)
13030 * emacs-lisp/smie.el (smie-matching-block-highlight)
13031 (smie--highlight-matching-block-overlay)
13032 (smie--highlight-matching-block-lastpos)
13033 (smie-highlight-matching-block)
13034 (smie-highlight-matching-block-mode): Remove.
13035 (smie--matching-block-data-cache): New variable.
13036 (smie--matching-block-data): New function.
13037 (smie-setup): Use smie--matching-block-data for
13038 show-paren-data-function.
13039
13040 * progmodes/octave.el (octave-mode-menu): Fix.
13041 (octave-find-definition): Skip garbage lines.
13042
208d0342
SM
130432013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13044
13045 Fix compilation error with simultaneous dynamic+lexical scoping.
13046 Add warning when a defvar appears after the first let-binding.
13047 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13048 (byte-compile-close-variables): Initialize it.
13049 (byte-compile--declare-var): New function.
13050 (byte-compile-file-form-defvar)
13051 (byte-compile-file-form-define-abbrev-table)
13052 (byte-compile-file-form-custom-declare-variable): Use it.
13053 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13054 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13055 (byte-compile-bind): Handle dynamic bindings that shadow
13056 lexical bindings.
13057 (byte-compile-unbind): Make arg non-optional.
13058 (byte-compile-let): Simplify.
13059 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13060 (cconv--analyse-function, cconv-analyse-form): Populate it.
13061 Protect byte-compile-bound-variables to limit the scope of defvars.
13062 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13063 Remove unneeded rule for `declare'.
13064
13065 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13066 so as to avoid depending on cl-adjoin at run-time.
13067 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13068
13069 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13070 (macroexp--warn-and-return): Use it.
13071
1ac2891e
GM
130722013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13073
a12bf61e 13074 * subr.el: Convert to lexical binding.
1ac2891e
GM
13075 (overriding-local-map): Make obsolete.
13076 (add-to-list): Doc fix. Add compiler macro.
13077 (read-key): Swap values of local maps.
13078
2587b005
LL
130792013-06-05 Leo Liu <sdl.web@gmail.com>
13080
13081 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13082
f1da3c88
LL
130832013-06-04 Leo Liu <sdl.web@gmail.com>
13084
13085 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13086 (compilation-auto-jump): Suppress the "Mark set" message to give
13087 way to exit message.
13088
3caa391f
AM
130892013-06-04 Alan Mackenzie <acm@muc.de>
13090
13091 Remove faulty optimisation from indentation calculation.
13092 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13093 search limit based on 2000 characters back from indent-point.
13094
068922a2
TH
130952013-06-03 Tassilo Horn <tsdh@gnu.org>
13096
13097 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13098
1f8fdd53
SM
130992013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13100
bbcc4d97
SM
13101 * emacs-lisp/lisp.el: Use lexical-binding.
13102 (lisp--local-variables-1, lisp--local-variables): New functions.
13103 (lisp--local-variables-completion-table): New var.
208d0342 13104 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 13105
1f8fdd53
SM
13106 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13107 eagerly (bug#14422).
13108
c9628c79
MA
131092013-06-03 Michael Albinus <michael.albinus@gmx.de>
13110
13111 * autorevert.el (auto-revert-notify-enabled)
13112 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13113 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13114 (auto-revert-notify-handler): Handle also gfilenotify.
13115
e7b41c4c 13116 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 13117 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 13118 Remove.
c9628c79 13119
e5e4a942
JL
131202013-06-03 Juri Linkov <juri@jurta.org>
13121
13122 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13123 `M-s h .'. (Bug#14427)
13124
13125 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13126 command `hi-lock-face-symbol-at-point'.
13127 (hi-lock-face-symbol-at-point): New command.
13128 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13129 (hi-lock-menu): Add `highlight-symbol-at-point'.
13130 (hi-lock-mode): Doc fix.
13131
13132 * isearch.el (isearch-forward-symbol-at-point): New command.
13133 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13134 (isearch-highlight-regexp): Add a regexp which matches
13135 words/symbols for word/symbol mode.
13136
13137 * subr.el (find-tag-default-bounds): New function with the body
13138 mostly moved from `find-tag-default'.
13139 (find-tag-default): Move most code to `find-tag-default-bounds',
13140 call it and apply `buffer-substring-no-properties' afterwards.
13141
26b3353a
TH
131422013-06-03 Tassilo Horn <tsdh@gnu.org>
13143
781b4af6
SM
13144 * eshell/em-term.el (eshell-term-initialize):
13145 Use `cl-intersection' rather than `intersection'.
26b3353a 13146
51b60f53
XF
131472013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13148
fe054b63 13149 * vc/log-view.el: Doc fix.
d3ffe17c 13150 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 13151
a0eb10b3 131522013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
13153
13154 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13155 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13156 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13157 (eieio-unbound, eieio-default-superclass)
13158 (eieio--define-field-accessors, method-static, method-before)
13159 (method-primary, method-after, method-num-lists)
13160 (method-generic-before, method-generic-primary)
13161 (method-generic-after, method-num-slots)
13162 (eieio-specialized-key-to-generic-key)
13163 (eieio--check-type, class-v, class-p)
13164 (eieio-class-name, define-obsolete-function-alias)
13165 (eieio-class-parents-fast, eieio-class-children-fast)
13166 (same-class-fast-p, class-constructor, generic-p)
13167 (generic-primary-only-p, generic-primary-only-one-p)
13168 (class-option-assoc, class-option, eieio-object-p)
13169 (class-abstract-p, class-method-invocation-order)
13170 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13171 (eieio-class-un-autoload, eieio-defclass)
13172 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13173 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13174 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13175 (eieio-defgeneric-reset-generic-form)
13176 (eieio-defgeneric-form-primary-only)
13177 (eieio-defgeneric-reset-generic-form-primary-only)
13178 (eieio-defgeneric-form-primary-only-one)
13179 (eieio-defgeneric-reset-generic-form-primary-only-one)
13180 (eieio-unbind-method-implementations)
13181 (eieio--defmethod, eieio--typep)
13182 (eieio-perform-slot-validation, eieio-validate-slot-value)
13183 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13184 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13185 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13186 (eieio-slot-name-index, eieio-class-slot-name-index)
13187 (eieio-set-defaults, eieio-initarg-to-attribute)
13188 (eieio-attribute-to-initarg, eieio-c3-candidate)
13189 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13190 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13191 (eieio-class-precedence-list, eieio-generic-call-methodname)
13192 (eieio-generic-call-arglst, eieio-generic-call-key)
13193 (eieio-generic-call-next-method-list)
13194 (eieio-pre-method-execution-functions, eieio-generic-call)
13195 (eieio-generic-call-primary-only, eieiomt-method-list)
13196 (eieiomt-optimizing-obarray, eieiomt-install)
13197 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13198 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 13199 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
13200 (defclass): Remove `eval-and-compile' from macro.
13201 (call-next-method, shared-initialize): Instead of using
13202 `scoped-class' variable, use new eieio--scoped-class, and
13203 eieio--with-scoped-class.
13204 (initialize-instance): Rename local variable 'scoped-class' to
13205 'this-class' to remove ambiguitity from old global.
13206
13207 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13208 eieio.el.
4f405069
JB
13209 (eieio--scoped-class-stack): New variable.
13210 (eieio--scoped-class): New fcn.
890f7890
DE
13211 (eieio--with-scoped-class): New scoping macro.
13212 (eieio-defclass): Use pushnew instead of add-to-list.
13213 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13214 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13215 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13216 `scoped-class' variable, use new eieio--scoped-class, and
13217 eieio--with-scoped-class.
13218
13219 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13220
d105b0e2
TH
132212013-06-02 Tassilo Horn <tsdh@gnu.org>
13222
13223 * eshell/esh-ext.el (eshell-external-command): Pass args to
13224 `eshell-find-interpreter'.
13225 (eshell-find-interpreter): Add new second parameter ARGS.
13226
13227 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 13228 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
13229
13230 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 13231 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
13232
13233 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13234 (eshell-visual-options): New defcustom.
13235 (eshell-escape-control-x): Adapt docstring.
13236 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13237 `eshell-visual-options' in addition to `eshell-visual-commands'.
13238 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13239
f46305c8 132402013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
13241
13242 * progmodes/python.el (python-indent-block-enders): Add break,
13243 continue and raise keywords.
13244
d870df21
GM
132452013-06-01 Glenn Morris <rgm@gnu.org>
13246
9133b82e
GM
13247 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13248
02c992ec 13249 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
13250 * progmodes/cc-cmds.el (delete-forward-p):
13251 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13252 * progmodes/cc-engine.el (buffer-syntactic-context):
13253 * progmodes/cc-fonts.el (face-property-instance):
13254 * progmodes/cc-mode.el (set-keymap-parents):
13255 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13256 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13257 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
13258 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13259 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 13260
31e7b090
GM
13261 * progmodes/cc-vars.el (other): Emacs has this widget since
13262 at least 21.1, so don't (re)define it.
13263
d870df21
GM
13264 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13265 Replace the obsolete alias pcomplete-arg-quote-list.
13266
c75c93c7
LL
132672013-06-01 Leo Liu <sdl.web@gmail.com>
13268
13269 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13270 punctuation syntax.
13271 (inferior-octave-minimal-columns)
13272 (inferior-octave-last-column-width): New variables.
13273 (inferior-octave-track-window-width-change): New function.
13274 (inferior-octave-mode): Adjust column width so that Octave output,
13275 for example from 'ls', can fit into the window nicely.
13276
973d1e12
DG
132772013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13278
13279 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13280 Highlight expansions inside regexp literals.
13281
0888c286
GM
132822013-05-31 Glenn Morris <rgm@gnu.org>
13283
e26aac1f
GM
13284 * obsolete/sym-comp.el (symbol-complete):
13285 Replace obsolete completion-annotate-function.
13286
0888c286
GM
13287 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13288
19bb8e62
DG
132892013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13290
781b4af6
SM
13291 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13292 New function, checks if point is inside a literal that allows
19bb8e62
DG
13293 expression expansion.
13294 (ruby-syntax-propertize-expansion): Use it.
13295 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13296 around the body.
13297
01dea85f
JL
132982013-05-30 Juri Linkov <juri@jurta.org>
13299
13300 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13301 to "\M-si".
13302 (isearch-invisible): New variable.
13303 (isearch-forward): Doc fix.
13304 (isearch-mode): Set `isearch-invisible'
13305 to the value of `search-invisible'.
13306 (isearch-toggle-case-fold): Doc fix.
13307 (isearch-toggle-invisible): New command.
13308 (isearch-query-replace): Let-bind `search-invisible'
13309 to the value of `isearch-invisible'.
13310 (isearch-search): Use `isearch-invisible' instead of
13311 `search-invisible'. Let-bind `search-invisible'
13312 to the value of `isearch-invisible'. (Bug#11378)
13313
ab1bdce5
JL
133142013-05-30 Juri Linkov <juri@jurta.org>
13315
13316 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13317 call when `query-flag' is nil and `search-invisible' is non-nil.
13318 (Bug#11746)
13319
d6d236e2
GM
133202013-05-30 Glenn Morris <rgm@gnu.org>
13321
8accd027
GM
13322 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13323
2a8bed1c
GM
13324 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13325 (cc-require): Suppress spurious "noruntime" warnings.
13326 (cc-require-when-compile): Use fboundp, for sake of compiler.
13327
d6d236e2
GM
13328 * progmodes/cc-mode.el: Move load of cc-vars before that of
13329 cc-langs (which in turn loads cc-vars), to quieten compiler.
13330
9190b35b
SM
133312013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13332
13333 * paren.el: Simplify the code.
13334 (show-paren-mode): Always start the timer.
13335 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13336 (show-paren--overlay, show-paren--overlay-1): Rename from
13337 show-paren-overlay and show-paren-overlay-1, and initialize to an
13338 overlay rather than to nil.
13339 (show-paren-function): Misc cleanup and simplifications.
13340
4f8d1cf6
SM
133412013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * paren.el (show-paren-data-function): New hook.
13344 (show-paren--default): New function, extracted from show-paren-function.
13345 (show-paren-function): Use show-paren-data-function.
13346
02d844b5
GM
133472013-05-30 Glenn Morris <rgm@gnu.org>
13348
d209d4a9
GM
13349 * ielm.el (ielm-map, ielm-complete-symbol):
13350 Use completion-at-point rather than obsolete functions.
13351 (inferior-emacs-lisp-mode): Doc fix.
13352 Set completion-at-point-functions, rather than
13353 comint-dynamic-complete-functions.
13354
2082faa6
GM
13355 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13356 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13357 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13358
dd8620de
GM
13359 * image.el (image-animated-p): Tweak definition.
13360
ceca95b1
GM
13361 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13362 (rlogin-process-connection-type): Tweak default. Add set-after.
13363 (rlogin-host): Doc fix.
13364 (rlogin): Tweak prompt.
13365 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13366
ee9f1acc
GM
13367 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13368 * progmodes/tcl.el (inferior-tcl-mode-map):
13369 Use completion-at-point rather than obsolete alias.
13370
45ce222e
GM
13371 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13372
02d844b5
GM
13373 * minibuffer.el (read-file-name-completion-ignore-case):
13374 Move before completion--in-region, for eager macro expansion.
13375
ac44d6c1
JL
133762013-05-29 Juri Linkov <juri@jurta.org>
13377
13378 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13379 for total count of matching lines. Add `global-matches' for total
13380 count of matches. Rename `matches' to `lines' for count of
13381 matching lines. Add `matches' for count of matches.
13382 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13383 to `prev-line' for line number of prev match endpt.
13384 Increment `matches' for every match. Print the number of
13385 matching lines in the header.
13386 (occur-context-lines): Rename `lines' to `curr-line'.
13387 Rename `prev-lines' to `prev-line'. (Bug#14017)
13388
3c9c9d38
JL
133892013-05-29 Juri Linkov <juri@jurta.org>
13390
13391 * replace.el (perform-replace): Add `skip-read-only-count',
13392 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13393 Increment them for corresponding conditions and report the number
13394 of skipped occurrences in the final message. (Bug#11746)
13395 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13396 (replace-string, replace-regexp): Doc fix.
13397
33e249a2
SM
133982013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13399
8e399682
SM
13400 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13401
33e249a2 13402 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 13403 prog-mode-map (bug#14504).
33e249a2 13404
f236dd84
LL
134052013-05-29 Leo Liu <sdl.web@gmail.com>
13406
13407 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13408 (octave-help): Small simplification.
13409
13410 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13411 off the highlight first.
13412
3694d13f
GM
134132013-05-29 Glenn Morris <rgm@gnu.org>
13414
03983bdc
GM
13415 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13416 Handle idlwave-last-system-routine-info-cons-cell being nil.
13417
bc74a74a
GM
13418 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13419 (idlwave-write-paths): Simplify via with-temp-buffer.
13420
8b394200
GM
13421 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13422 * emulation/cua-rect.el: Also load cua-base at run time.
13423
3694d13f
GM
13424 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13425 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13426 (cperl-imenu-on-info): Require imenu.
13427
336d7284
AM
134282013-05-28 Alan Mackenzie <acm@muc.de>
13429
13430 Handle "capitalised keywords" correctly.
33e249a2 13431 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 13432
cb29c582
AG
134332013-05-28 Aidan Gauland <aidalgol@amuri.net>
13434
781b4af6 13435 * eshell/em-unix.el: Add -r option to cp.
cb29c582 13436
690e44b2
GM
134372013-05-28 Glenn Morris <rgm@gnu.org>
13438
e658d75c
GM
13439 * vc/vc-arch.el (vc-exec-after): Declare.
13440 (vc-switches): Autoload.
13441 * vc/vc-bzr.el: No need to require vc when compiling.
13442 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13443 (vc-resynch-buffer, vc-dir-refresh): Declare.
13444 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
13445 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13446 (vc-resynch-buffer): Declare.
13447 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 13448 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
13449 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13450 (grep-read-regexp, grep-read-files, grep-expand-template)
13451 (vc-dir-refresh): Declare.
13452 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13453 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13454 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
13455 * vc/vc-mtn.el (vc-exec-after): Declare.
13456 (vc-switches): Autoload.
13457 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13458 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13459 (vc-file-tree-walk): Declare.
712b9732
GM
13460 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13461 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13462 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
13463 * vc/vc-svn.el (vc-exec-after): Declare.
13464 (vc-switches, vc-setup-buffer): Autoload.
13465 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13466 Autoload.
13467 (vc-resynch-buffer): Declare.
13468
98e87fb3
GM
13469 * obsolete/fast-lock.el (byte-compile-warnings):
13470 Don't warn about obsolete features in this obsolete file.
13471
f5379553
GM
13472 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13473 Move definition before use.
13474
7a20ef83
GM
13475 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13476 (dun-unix-verbs): Remove dun-zippy.
13477 (dun-zippy): Remove function.
13478
690e44b2
GM
13479 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13480
3a52ccf7
JL
134812013-05-27 Juri Linkov <juri@jurta.org>
13482
13483 * replace.el (replace-search): New function with code moved out
13484 from `perform-replace'.
13485 (replace-highlight, replace-dehighlight): Move function definitions
13486 up closer to `replace-search'. (Bug#11746)
13487
d289938a
JL
134882013-05-27 Juri Linkov <juri@jurta.org>
13489
13490 * replace.el (perform-replace): Ignore invisible matches.
13491 In addition to checking `query-replace-skip-read-only', also
13492 filter out matches by calling `run-hook-with-args-until-failure'
13493 on `isearch-filter-predicates', and also check `search-invisible'
13494 for t or call `isearch-range-invisible'.
13495 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13496
66fc57e3
JL
134972013-05-27 Juri Linkov <juri@jurta.org>
13498
13499 * isearch.el (isearch-filter-predicates): Rename from
13500 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13501 (isearch-message-prefix): Display text from the property
13502 `isearch-message-prefix' of the currently active filters.
13503 (isearch-search): Don't compare `isearch-filter-predicate' with
13504 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13505 on `isearch-filter-predicates'. Also check `search-invisible' for t
13506 or call `isearch-range-invisible'.
13507 (isearch-filter-visible): Make obsolete.
13508 (isearch-lazy-highlight-search):
13509 Call `run-hook-with-args-until-failure' on
13510 `isearch-filter-predicates' and use `isearch-range-invisible'.
13511
13512 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13513 `isearch-filter-predicates' instead of `funcall'ing
13514 `isearch-filter-predicate'.
13515 (Info-mode): Set `Info-isearch-filter' to
13516 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13517
13518 * dired-aux.el (dired-isearch-filter-predicate-orig):
13519 Remove variable.
13520 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13521 (dired-isearch-filenames-end): Add and remove
13522 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13523 instead of changing the value of `isearch-filter-predicate'.
13524 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13525 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13526 Put property `isearch-message-prefix' to "filename " on
13527 `dired-isearch-filter-filenames'.
13528
13529 * wdired.el (wdired-change-to-wdired-mode):
13530 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13531 locally instead of changing `isearch-filter-predicate'.
13532 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13533
f1a60a0f
DG
135342013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13535
13536 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13537 return the commit hash (Bug#14459). Also set the
13538 `vc-git-detached' property.
13539 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13540 (vc-git-mode-line-string): Use the same help-echo format whether
13541 in detached mode or not, because we know the actual revision now.
13542 When in detached mode, shorten the revision to 7 chars.
13543
7f17cc40
SM
135442013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13545
13546 * emacs-lisp/easy-mmode.el (define-minor-mode):
13547 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13548 mode hook and provide a docstring.
13549
25c8401c
AM
135502013-05-27 Alan Mackenzie <acm@muc.de>
13551
13552 Remove spurious syntax-table text properties inserted by C-y.
13553 * progmodes/cc-mode.el (c-after-change): Also clear hard
13554 syntax-table property with value nil.
13555
dde84790
MA
135562013-05-27 Michael Albinus <michael.albinus@gmx.de>
13557
13558 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13559 when reading the events; the buffer layout shall not be changed.
13560
837fd9af
LL
135612013-05-27 Leo Liu <sdl.web@gmail.com>
13562
13563 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13564 New variable.
13565 (inferior-octave-directory-tracker): Automatically re-sync
13566 default-directory.
13567 (octave-help): Improve handling of 'See also'.
13568
4fd996b3
SM
135692013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13570
416f1802
SM
13571 * doc-view.el: Minor naming convention tweaks.
13572 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13573
4fd996b3
SM
13574 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13575 even if there's no `display' property yet (bug#14435).
13576
a052ef3b
EZ
135772013-05-25 Eli Zaretskii <eliz@gnu.org>
13578
4fd996b3 13579 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
13580
13581 * Makefile.in (custom-deps, finder-data, autoloads)
13582 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13583 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13584 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13585
c9023370
SM
135862013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13589 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 13590 Don't burp at EOB.
c9023370 13591
24d699fa
LL
135922013-05-25 Leo Liu <sdl.web@gmail.com>
13593
13594 * comint.el (comint-previous-matching-input): Do not flood the
13595 *Messages* buffer with trivial messages.
13596
17e5c0cc
SM
135972013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13598
13599 * progmodes/flymake.el (flymake-nop): Don't return a string.
13600 (flymake-set-at): Fix typo.
13601
13602 * simple.el (read--expression): New function, extracted from
13603 eval-expression. Set completion-at-point-functions (bug#14465).
13604 (eval-expression, eval-minibuffer): Use it.
13605
5d028165
XF
136062013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13607
13608 * progmodes/flymake.el (flymake-save-buffer-in-file)
13609 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13610 (flymake-selected-frame, flymake-log, flymake-ins-after)
13611 (flymake-set-at, flymake-get-buildfile-from-cache)
13612 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13613 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13614 Refine the doc string.
13615 (flymake-get-file-name-mode-and-masks): Reformat.
13616 (flymake-get-real-file-name-function): Fix a minor bug.
13617
7a1d7ba7
JL
136182013-05-24 Juri Linkov <juri@jurta.org>
13619
13620 * progmodes/grep.el (grep-mode-font-lock-keywords):
13621 Support =linenumber= format used by git-grep for lines with
13622 function names. (Bug#13549)
13623
650cff3d
SM
136242013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13625
13626 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13627 0 after a semi-colon; it works better for smie-auto-fill.
13628 (octave--indent-new-comment-line): New function.
13629 (octave-indent-new-comment-line): Use it (indirectly).
13630 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13631 modify comment-line-break-function.
13632
13633 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13634 (smie-setup): Use add-function to set it.
13635
9631677d
SS
136362013-05-24 Sam Steingold <sds@gnu.org>
13637
13638 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13639 argument (before the `interactive' argument).
13640
50105835
SM
136412013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13642
13643 * image-mode.el (image-mode-winprops): Add winprops to
13644 image-mode-winprops-alist before running
13645 image-mode-new-window-functions.
13646 * doc-view.el (doc-view-new-window-function): Don't delay
13647 doc-view-goto-page via timers (bug#14435).
13648
57b9823e
TH
136492013-05-24 Tassilo Horn <tsdh@gnu.org>
13650
13651 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13652 (doc-view-desktop-save-buffer): New function.
13653 (doc-view-restore-desktop-buffer): New function.
50105835
SM
13654 (desktop-buffer-mode-handlers):
13655 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
13656 handler.
13657 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13658 `desktop-save-buffer' function.
13659
91aafa16
MA
136602013-05-24 Michael Albinus <michael.albinus@gmx.de>
13661
13662 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13663 (tramp-gvfs-file-name-handler): Raise a user error when
13664 `tramp-gvfs-enabled' is nil.
13665 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13666 Do not raise a user error when loading package. (Bug#14447)
13667
ec076379
MA
13668 * net/xesam.el: Move to obsolete/.
13669
db785726
GM
136702013-05-24 Glenn Morris <rgm@gnu.org>
13671
af5c7606
GM
13672 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13673
e5d1916a
GM
13674 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13675
ded62b08
GM
13676 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13677 (Info-find-node, Man-getpage-in-background): Declare.
13678
9e614a3f
GM
13679 * mail/unrmail.el (unrmail):
13680 Replace obsolete detect-coding-with-priority.
13681
892f8ca3
GM
13682 * net/socks.el (socks-split-string): Use this rather than split-string.
13683 (socks-nslookup-host): Update for above change.
13684 (dynamic-choice, s5-dynamic-choice-match)
13685 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13686 Comment out unused code.
13687
3c291973
GM
13688 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13689 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13690 (gud-tooltip-echo-area): Make obsolete.
13691 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13692
43cc956b
GM
13693 * progmodes/js.el (js--optimize-arglist): Declare.
13694
dab49a3b
GM
13695 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13696
36b9d085
GM
13697 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13698 (ediff-window-C): Declare.
13699
e354ae76
GM
13700 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13701 Tweak requires to silence compiler.
13702
b8e57bf4
GM
13703 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13704 (he-search-string, he-tried-table, he-expand-list)
13705 (he-init-string, he-string-member, he-substitute-string)
13706 (he-reset-string): Declare.
13707
db785726
GM
13708 * obsolete/options.el (list-options): Use custom-variable-p,
13709 rather than obsolete alias.
13710
b3531901
SS
137112013-05-23 Sam Steingold <sds@gnu.org>
13712
13713 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 13714 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
13715 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13716
bdda4c66
SM
137172013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13718
13719 * emacs-lisp/smie.el (smie-indent-forward-token)
13720 (smie-indent-backward-token): Handle string tokens (bug#14381).
13721
c43d45f9
TH
137222013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13723
fe1eb856
RS
13724 * ielm.el (ielm-menu): New menu.
13725 (inferior-emacs-lisp-mode): Set comment-start.
96172128 13726
fe1eb856
RS
137272013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13728
a12bf61e 13729 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
13730 Fix deactivate action.
13731
a12bf61e 13732 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 13733 Add cleveref macros.
074dd971 13734
9b017563
JB
13735 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13736 Accept options for bibliography commands.
a12bf61e 13737 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
13738 Add addbibresource. Basic Biblatex support.
13739
7764286e
MA
137402013-05-23 Michael Albinus <michael.albinus@gmx.de>
13741
13742 * net/tramp-gvfs.el (top):
13743 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13744 when loading package. (Bug#14447)
13745
d361bc10
GM
137462013-05-23 Glenn Morris <rgm@gnu.org>
13747
8fa23984
GM
13748 * progmodes/js.el: No need to load comint when compiling.
13749 (ring-insert, comint-send-string, comint-send-input)
13750 (comint-last-input-end, ido-chop): Declare.
13751
a5c7df1a
GM
13752 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13753 * vc/ediff-mult.el: Adjust requires.
13754 (ediff-directories-internal, ediff-directory-revisions-internal)
13755 (ediff-patch-file-internal): Declare.
13756 * vc/ediff-ptch.el: Adjust requires.
13757 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13758 (ediff-find-file): Autoload.
13759 * vc/ediff-util.el: No need to load ediff when compiling.
13760 (ediff-regions-internal): Declare.
13761 * vc/ediff-wind.el: Adjust requires.
13762 (ediff-compute-toolbar-width): Define when compiling.
13763 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13764 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13765 (dired-get-filename, dired-get-marked-files)
13766 (ediff-last-dir-patch, ediff-patch-default-directory)
13767 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13768 (ediff-patch-buffer-internal): Declare.
13769
e2aec513
GM
13770 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13771 (ispell-process, ispell-buffer-local-words, lm-summary)
13772 (lm-section-start, lm-section-end): Declare.
13773 (checkdoc-ispell-init): Simplify.
13774
e68bbd7c
GM
13775 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13776 (he-string-member, he-reset-string, he-substitute-string): Declare.
13777
7efe0991
GM
13778 * eshell/em-ls.el: Adjust requires.
13779 (eshell-glob-regexp): Declare.
f87b1284
GM
13780 * eshell/em-tramp.el: Adjust requires.
13781 (eshell-parse-command): Autoload.
13782 * eshell/em-xtra.el: Adjust requires.
13783 (eshell-parse-command): Autoload.
13784 * eshell/esh-ext.el: Adjust requires.
13785 (eshell-parse-command, eshell-close-handles): Autoload.
13786 * eshell/esh-io.el: Adjust requires.
13787 (eshell-output-filter): Autoload.
13788 * eshell/esh-util.el: No need to load tramp when compiling.
13789 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13790 Declare.
13791 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13792 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13793 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13794 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13795 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13796 * eshell/esh-opt.el, eshell/esh-proc.el:
13797 * eshell/esh-var.el: Adjust requires.
13798 * eshell/eshell.el: Do not require esh-util twice.
13799 (eshell-add-input-to-history): Declare.
13800 (eshell-command): Check history module is active before using it.
13801
d361bc10
GM
13802 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13803
85d090a9
LL
138042013-05-22 Leo Liu <sdl.web@gmail.com>
13805
13806 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13807
5d0acd9d
MA
138082013-05-22 Michael Albinus <michael.albinus@gmx.de>
13809
13810 * autorevert.el (auto-revert-notify-add-watch)
13811 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13812 it indicates changes in file modification time.
13813
0cdffd7d
GM
138142013-05-22 Glenn Morris <rgm@gnu.org>
13815
ca5995ec
GM
13816 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13817 Always delete the autoloaded function from the noruntime and
13818 unresolved functions lists.
13819
6450907e
GM
13820 * allout.el: No need to load epa, epg, overlay when compiling.
13821 (epg-context-set-passphrase-callback, epg-list-keys)
13822 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13823 (epg-key-user-id-list): Declare.
13824
9c6906f6
GM
13825 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13826 (viper-set-parsing-style-toggling-macro)
13827 (viper-set-emacs-state-searchstyle-macros):
13828 Use called-interactively-p on Emacs.
13829 (viper-looking-back): Make it an obsolete alias. Update callers.
13830 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13831 Use looking-back rather than viper-looking-back.
13832 (viper-tmp-insert-at-eob, viper-enlarge-region)
13833 (viper-read-string-with-history, viper-register-to-point)
13834 (viper-append-to-register, viper-change-state-to-vi)
13835 (viper-backward-char-carefully, viper-forward-char-carefully)
13836 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13837 (viper-change-state-to-emacs): Declare.
13838 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13839 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13840 * emulation/viper-mous.el: Do not load viper-cmd.
13841 (viper-backward-char-carefully, viper-forward-char-carefully)
13842 (viper-forward-word, viper-adjust-window): Declare.
13843
5f70c169
GM
13844 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13845
b1b7f300
GM
13846 * progmodes/idlw-help.el (idlwave-help-fontify):
13847 Use called-interactively-p.
13848
f6ebbb46
GM
13849 * term/w32console.el (w32-get-console-codepage)
13850 (w32-get-console-output-codepage): Declare.
13851
0cdffd7d
GM
13852 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13853 Remove unnecessary declarations.
13854 (dframe-message): Doc fix.
13855
13856 * info.el (dframe-select-attached-frame, dframe-current-frame):
13857 Declare.
13858
13859 * speedbar.el (speedbar-message): Make it an obsolete alias.
13860 Update all callers.
13861 (speedbar-with-attached-buffer)
13862 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13863 (speedbar-with-writable): Use backquote.
13864 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13865 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13866 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13867 rather than speedbar- aliases.
13868 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13869 (speedbar-make-specialized-keymap, speedbar-insert-button)
13870 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13871 (speedbar-do-function-pointer): Declare.
13872 (rmail-speedbar-button, rmail-speedbar-find-file)
13873 (rmail-speedbar-move-message):
13874 Use dframe-with-attached-buffer rather than speedbar- alias.
13875 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13876 (dframe-message, speedbar-make-specialized-keymap)
13877 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13878 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13879 (speedbar-insert-button, dframe-select-attached-frame)
13880 (dframe-maybee-jump-to-attached-frame)
13881 (speedbar-change-initial-expansion-list)
13882 (speedbar-previously-used-expansion-list-name): Declare.
13883 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13884 Use dframe-message, dframe-with-attached-buffer rather than
13885 speedbar- aliases.
13886 (gud-sentinel): Silence compiler.
13887 * progmodes/vhdl-mode.el (speedbar-refresh)
13888 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13889 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13890 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13891 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13892 (speedbar-file-lists, speedbar-make-tag-line)
13893 (speedbar-line-directory, speedbar-goto-this-file)
13894 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13895 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13896 (speedbar-make-button, speedbar-reset-scanners)
13897 (speedbar-files-item-info, speedbar-line-text)
13898 (speedbar-find-file-in-frame, speedbar-set-timer)
13899 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13900 (speedbar-with-writable): Do not (re)define it.
13901 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13902 rather than speedbar- alias.
13903
ee44b62a
LL
139042013-05-21 Leo Liu <sdl.web@gmail.com>
13905
13906 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13907 menu items.
13908 (octave-mode): Tweak fill-nobreak-predicate.
13909 (inferior-octave-startup): Check process to avoid infinite loop.
13910 (inferior-octave): Pop to buffer first to show abornmal process
13911 exit information.
13912
640f050f
GM
139132013-05-21 Glenn Morris <rgm@gnu.org>
13914
79458038
GM
13915 * printing.el (pr-menu-bar): Define when compiling.
13916
9cc3e83f
LL
139172013-05-21 Leo Liu <sdl.web@gmail.com>
13918
13919 * progmodes/octave.el (octave-auto-fill): Remove.
13920 (octave-indent-new-comment-line): Improve.
13921 (octave-mode): Use auto fill mode through
4f405069 13922 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 13923 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 13924 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
13925 (octave-help): Show parent directory.
13926
f440830d
GM
139272013-05-21 Glenn Morris <rgm@gnu.org>
13928
13929 * files.el (dired-unmark):
13930 * progmodes/gud.el (gdb-input): Update declarations.
13931
13932 * calculator.el (electric, ehelp): No need to load when compiling.
13933 (Electric-command-loop, electric-describe-mode): Declare.
13934
13935 * doc-view.el (doc-view-current-converter-processes): Move before use.
13936
13937 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13938 Move MODE-set-explicitly definition before use.
13939
13940 * international/mule-diag.el (mule-diag):
13941 Don't use obsolete window-system-version.
13942
13943 * mail/feedmail.el (smtpmail): No need to load when compiling.
13944 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13945
13946 * mail/mail-utils.el (rfc822): No need to load when compiling.
13947 (rfc822-addresses): Autoload it.
13948 (mail-strip-quoted-names): Trivial simplification.
13949
13950 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13951 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13952
13953 * net/snmp-mode.el (tempo): Don't duplicate requires.
13954
13955 * progmodes/prolog.el (info): No need to load when compiling.
13956 (comint): Require before shell requires it.
13957 (Info-goto-node): Autoload it.
13958 (Info-follow-nearest-node): Declare.
13959 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13960
13961 * textmodes/artist.el (picture-mode-exit): Declare.
13962
13963 * textmodes/reftex-parse.el (reftex-parse-from-file):
13964 Trivial rewrite so the compiler can parse it better.
13965
b4da2cbb
LL
139662013-05-20 Leo Liu <sdl.web@gmail.com>
13967
13968 * progmodes/octave.el (octave-help-mode-map)
13969 (octave-help-mode-finish-hook): New variables.
13970 (octave-help-mode, octave-help-mode-finish): New functions.
13971 (octave-help): Use octave-help-mode.
13972
33c0f65b
GM
139732013-05-20 Glenn Morris <rgm@gnu.org>
13974
13975 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13976
1a0a0a8a
DG
139772013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13978
13979 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13980 start at point, so that expansion starting right after opening
13981 slash in a regexp is recognized.
13982 (ruby-syntax-before-regexp-re): New defvar, extracted from
13983 ruby-syntax-propertize-function. Since the value of this regexp
13984 is looked up at runtime now, we should be able to turn
13985 `ruby-syntax-methods-before-regexp' into a defcustom later.
13986 (ruby-syntax-propertize-function): Split regexp matching into two
13987 parts, for opening and closing slashes. That allows us to skip
13988 over string interpolations and support multiline regexps.
13989 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13990 for them, which calls `ruby-syntax-propertize-expansion'.
13991 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13992 call to `ruby-syntax-propertize-function'.
13993 (ruby-syntax-propertize-expansion): Extracted from
13994 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
13995 (ruby-syntax-propertize-percent-literal): Leave point right after
13996 the percent symbol, so that the expression expansion rule can
13997 propertize the contents.
462388b6
DG
13998 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13999 heredoc openers.
14000 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 14001
c1a6c0a4
JL
140022013-05-18 Juri Linkov <juri@jurta.org>
14003
14004 * man.el (Man-default-man-entry): Remove `-' from the end
14005 of the default value. (Bug#14400)
14006
8051fccd
GM
140072013-05-18 Glenn Morris <rgm@gnu.org>
14008
14009 * comint.el (comint-password-prompt-regexp):
14010 Allow "password for XXX" where XXX contains colons (eg https://...).
14011
5e80b74f
LL
140122013-05-18 Leo Liu <sdl.web@gmail.com>
14013
14014 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 14015 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
14016 (octave-source-directories): Don't check process.
14017 (octave-source-directories, octave-find-definition): Doc fix.
14018
521a54c5
GM
140192013-05-18 Glenn Morris <rgm@gnu.org>
14020
86a94b05
GM
14021 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14022 Remove backspace/delete bindings. (Bug#14392)
14023
521a54c5
GM
14024 * cus-dep.el (custom-make-dependencies): Sort the output.
14025 (custom-versions-load-alist): Convert comment to doc.
14026
42caeb89
LL
140272013-05-17 Leo Liu <sdl.web@gmail.com>
14028
14029 * newcomment.el (comment-search-backward): Stricter in finding
14030 comment start. (Bug#14303)
14031
14032 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14033 (octave-comment-start-skip): Properly anchored.
14034
e219dd97
LL
140352013-05-17 Leo Liu <sdl.web@gmail.com>
14036
fe1eb856
RS
14037 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14038 Clean up when turned off. (Bug#14395)
e219dd97
LL
14039 (smie--highlight-matching-block-overlay): No longer buffer-local.
14040 (smie-highlight-matching-block): Adjust.
14041
dc5dcb4b
PE
140422013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14043
14044 Doc string fix for "nanoseconds" (Bug#14406).
14045 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14046 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14047
1db165f0
JB
140482013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14049
14050 * calc/calc-units.el (math-extract-units): Preserve powers
14051 of units.
14052
c7a8fcac
LL
140532013-05-17 Leo Liu <sdl.web@gmail.com>
14054
14055 * subr.el (delete-consecutive-dups): New function.
14056 * ido.el (ido-set-matches-1): Use it.
14057 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14058 * ido.el (ido-remove-consecutive-dups): Remove.
14059
f678b18a
SM
140602013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14061
14062 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14063 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14064 regexp-opt's `words'.
14065
ebfe68e8
LL
140662013-05-16 Leo Liu <sdl.web@gmail.com>
14067
14068 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14069 (smie--highlight-matching-block-overlay)
14070 (smie--highlight-matching-block-lastpos)
14071 (smie--highlight-matching-block-timer): New variables.
14072 (smie-highlight-matching-block): New function.
14073 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14074 (smie-setup): Conditionally enable smie-blink-matching-open.
14075
bc8bc17d
WS
140762013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14077
14078 Sync with upstream verilog-mode r840.
14079 * progmodes/verilog-mode.el (verilog-mode-version)
14080 (verilog-mode-release-date): Update.
14081 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14082 (verilog-sig-tieoff): Fix string error on
14083 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14084 (verilog-read-decls): Fix parameters confusing
14085 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14086
df065a0b
EZ
140872013-05-16 Eli Zaretskii <eliz@gnu.org>
14088
14089 * subr.el (reveal-filename): New function.
14090
14091 * loadup.el: Compute Emacs executable versions on MS-Windows,
14092 where executables have the .exe extension. Add a hard link
14093 emacs-XX.YY.ZZ.exe on MS-Windows.
14094
14095 * Makefile.in (XARGS_LIMIT): New variable.
14096 (custom-deps, finder-data, autoloads)
14097 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14098 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14099 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14100 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14101
2d4bf34b
LL
141022013-05-16 Leo Liu <sdl.web@gmail.com>
14103
14104 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14105 (octave-mode-menu, octave-mode-map): Remove its uses.
14106
6b9c2d85
RZ
141072013-05-16 Reto Zimmermann <reto@gnu.org>
14108
14109 Sync with upstream vhdl mode v3.34.2.
14110 * progmodes/vhdl-mode.el: Use `push' throughout.
14111 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14112 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14113 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14114 (vhdl-actual-generic-name): New option to derive actual generic name.
14115 (vhdl-port-paste-signals): Replace formal by actual generics.
14116 (vhdl-beautify): New name for old group vhdl-align. Update users.
14117 (vhdl-beautify-options): New option.
14118 (vhdl-last-input-event): New compat alias. Use throughout.
14119 (vhdl-goto-line): Replace user level function `goto-line'.
14120 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14121 vhdl-fix-statement-buffer.
14122 (vhdl-create-mode-menu): Add some entries.
14123 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14124 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14125 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14126 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14127 to force statements on one line.
14128 (vhdl-remove-trailing-spaces-region):
14129 New, split from vhdl-remove-trailing-spaces.
14130 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14131 Respect vhdl-beautify-options.
14132 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14133 (vhdl-update-sensitivity-list): Not add with index if exists without.
14134 Not include array index with signal. Ignore keywords in comments.
14135 (vhdl-get-visible-signals): Regexp tweaks.
14136 (vhdl-template-component-inst): Handle empty library.
14137 (vhdl-template-type): Add template for 'enum' type.
14138 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14139 Use vhdl-replace-string.
14140 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14141 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14142 (vhdl-speedbar-initialize): Update for above name change.
14143 (vhdl-compose-wire-components): Fix in handling of constants.
14144 (vhdl-error-regexp-emacs-alist): New variable.
14145 (vhdl-error-regexp-add-emacs): New function;
14146 adds support for new compile.el (Emacs 22+)
14147 (vhdl-generate-makefile-1): Change target order for single lib. units.
14148 Allow use of absolute file names.
14149
9df4ec5e
LL
141502013-05-16 Leo Liu <sdl.web@gmail.com>
14151
14152 * simple.el (prog-indent-sexp): Indent enclosing defun.
14153
f5ba00a6
GM
141542013-05-15 Glenn Morris <rgm@gnu.org>
14155
ed8be7ff
GM
14156 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14157 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14158 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14159 (whitespace-highlight): Move to whitespace group.
14160
14161 * comint.el (comint-source):
14162 * pcmpl-linux.el (pcmpl-linux):
14163 * shell.el (shell-faces):
14164 * eshell/esh-opt.el (eshell-opt):
14165 * international/ccl.el (ccl): Remove empty custom groups.
14166
14167 * completion.el (dynamic-completion-mode):
14168 * jit-lock.el (jit-lock-debug-mode):
14169 * minibuffer.el (completion-in-region-mode):
14170 * type-break.el (type-break-mode-line-message-mode)
14171 (type-break-query-mode):
14172 * emulation/tpu-edt.el (tpu-edt-mode):
14173 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14174 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14175 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14176
14177 * term/xterm.el (xterm): Change parent group to terminals.
14178
14179 * master.el (master): Remove empty custom group.
14180 (master-mode): Remove unused :group argument.
14181 * textmodes/refill.el (refill): Remove empty custom group.
14182 (refill-mode): Remove unused :group argument.
14183
14184 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14185
82a7c41b
GM
14186 * cus-dep.el: Provide a feature.
14187 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
14188 Don't mistakenly ignore files whose basenames match a basename
14189 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 14190 Add a fallback method for getting :group.
f5ba00a6 14191
6d65486d
JL
141922013-05-15 Juri Linkov <juri@jurta.org>
14193
da547b32
JL
14194 * isearch.el (isearch-char-by-name): Rename from
14195 `isearch-insert-char-by-name'. Doc fix.
14196 (isearch-forward): Mention `isearch-char-by-name' in
14197 the docstring. (Bug#13348)
14198
6d65486d
JL
14199 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14200 `exit-minibuffer' instead of
14201 `isearch-nonincremental-exit-minibuffer'.
14202 (isearch-edit-string): Remove mention of
14203 `isearch-nonincremental-exit-minibuffer' from docstring.
14204 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14205 (isearch-forward-exit-minibuffer)
14206 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14207
c9990474
SM
142082013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14209
6e911150
SM
14210 * loadup.el: Just use unversioned DOC.
14211
c9990474
SM
14212 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14213 literals as extending to EOB.
14214 (nxml-last-fontify-end): Remove unused variable.
14215 (nxml-after-change1): Use with-silent-modifications.
14216 (nxml-extend-after-change-region): Simplify.
14217 (nxml-extend-after-change-region1): Remove function.
14218 (nxml-after-change1): Don't adjust for dependent regions.
14219 (nxml-fontify-matcher): Simplify.
14220 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14221 (xmltok-add-dependent): Remove function.
14222 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14223 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14224 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14225 unclosed <[[, <?, comment, and other literals as extending to EOB.
14226 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14227 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14228 Remove functions.
14229 (rng-do-some-validation-1): Don't mark dependent regions.
14230 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14231 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14232 (nxml-clear-dependent-regions): Remove functions.
14233 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14234 (nxml-ensure-scan-up-to-date):
14235 Don't clear&mark dependent regions.
14236
e3772e98
LL
142372013-05-15 Leo Liu <sdl.web@gmail.com>
14238
c9990474
SM
14239 * progmodes/octave.el (octave-goto-function-definition):
14240 Improve and fix callers.
e3772e98 14241
5ac2eb34
SM
142422013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14243
c46c57b0
SM
14244 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14245 the setter (bug#14387).
14246
5ac2eb34
SM
14247 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14248 surrounding group (bug#14402).
14249
180ed218
JL
142502013-05-14 Juri Linkov <juri@jurta.org>
14251
14252 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14253 (Bug#14390)
14254
0ac0fecb
GM
142552013-05-14 Glenn Morris <rgm@gnu.org>
14256
14257 * progmodes/f90.el (f90-imenu-generic-expression):
14258 Fix typo in 2013-05-08 change. (Bug#14402)
14259
2e78e6a7
JPG
142602013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14261
5ac2eb34
SM
14262 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14263 Remove signals for which replies are never received.
2e78e6a7 14264
53267cca
JPG
142652013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14266
14267 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14268 (gdb-handler-alist, gdb-handler-number): Remove variables.
14269 (gdb-handler-list): New variable.
14270 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14271 (gdb-pending-handler-p, gdb-handle-reply)
14272 (gdb-remove-all-pending-triggers): New functions.
14273 (gdb-discard-unordered-replies): New defcustom.
14274 (gdb-handler): New defstruct.
14275 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14276 instead of gdb-pending-triggers. Update docstring.
14277 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14278 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14279 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14280 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14281 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14282 (gdb-frame-handler): Pending triggers are now automatically managed.
14283 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14284 Remove argument.
14285 (gdb-input): Automatically handles pending triggers. Update docstring.
14286 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14287 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14288 Update comments.
14289 (gdb-done-or-error): Now use gdb-handle-reply.
14290
d04ce803
JPG
142912013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14292
14293 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14294 gdb-debug-log.
14295
0114073a
GM
142962013-05-14 Glenn Morris <rgm@gnu.org>
14297
14298 * subr.el (user-emacs-directory-warning): New option.
14299 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14300
4d25fd7e
LL
143012013-05-14 Leo Liu <sdl.web@gmail.com>
14302
14303 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14304 during redisplay.
14305 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
14306 (octave-font-lock-texinfo-comment): Fix invalid search bound
14307 error: wrong side of point.
4d25fd7e 14308
27c8b6eb
GM
143092013-05-14 Glenn Morris <rgm@gnu.org>
14310
61aaeb01
GM
14311 * progmodes/flymake.el (flymake-xml-program): New option.
14312 (flymake-xml-init): Use it.
14313
5bf90bc5
GM
14314 * term/xterm.el: Provide a feature.
14315
14316 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 14317
f4c7dfd2
GM
143182013-05-13 Glenn Morris <rgm@gnu.org>
14319
14320 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14321 Add compat aliases as a hack workaround. (Bug#14384)
14322
2aeb3a1d
LL
143232013-05-13 Leo Liu <sdl.web@gmail.com>
14324
b0e069c2
LL
14325 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14326 ###, and %!.
f5a9432f
LL
14327 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14328 C-M-q.
b0e069c2
LL
14329 (octave-comment-start-skip): Include %!.
14330 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 14331
30ea8374
LL
143322013-05-12 Leo Liu <sdl.web@gmail.com>
14333
14334 * progmodes/octave.el (inferior-octave-startup): Store the value
14335 of __octave_srcdir__ for octave-source-directories.
14336 (inferior-octave-check-process): New function refactored out of
14337 inferior-octave-send-list-and-digest.
14338 (octave-source-directories)
14339 (octave-find-definition-filename-function): New variables.
14340 (octave-source-directories)
14341 (octave-find-definition-default-filename): New functions.
14342 (octave-find-definition): Improve to find functions implemented in C++.
14343
472a3834
GM
143442013-05-12 Glenn Morris <rgm@gnu.org>
14345
14346 * calendar/diary-lib.el (diary-outlook-format-1):
14347 Don't include dayname in the output. (Bug#14349)
14348
3191b52f
GM
143492013-05-11 Glenn Morris <rgm@gnu.org>
14350
0060ac73
GM
14351 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14352
3191b52f
GM
14353 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14354 Treat cc-provide like provide.
14355
e065ba74
KR
143562013-05-11 Kevin Ryde <user42@zip.com.au>
14357
14358 * cus-dep.el (custom-make-dependencies):
14359 Use generated-autoload-load-name for the sake of files such
14360 such cedet/semantic/bovine/c.el, where the base file name
14361 is not in load-path. (Bug#5277)
14362
36f84c37
GM
143632013-05-11 Glenn Morris <rgm@gnu.org>
14364
14365 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14366 Provide features.
14367
c8730c3a
LL
143682013-05-11 Leo Liu <sdl.web@gmail.com>
14369
14370 * progmodes/octave.el (octave-indent-comment): Improve.
14371 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
14372 (octave-eldoc-function-signatures, octave-eldoc-function):
14373 New functions.
c8730c3a
LL
14374 (octave-mode, inferior-octave-mode): Add eldoc support.
14375
212e29f2
RS
143762013-05-11 Richard Stallman <rms@gnu.org>
14377
14378 * epa.el (epa-decrypt-file): Take output file name as argument
14379 and read it using `interactive'.
14380
083fe0d7
LL
143812013-05-11 Leo Liu <sdl.web@gmail.com>
14382
14383 * progmodes/octave.el (octave-beginning-of-line)
14384 (octave-end-of-line): Check before using up-list because it jumps
14385 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
14386 (octave-indent-comment): New function.
14387 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
14388 (octave-begin-keywords, octave-end-keywords)
14389 (octave-reserved-words, octave-smie-bnf-table)
14390 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 14391
8582e4c4
GM
143922013-05-11 Glenn Morris <rgm@gnu.org>
14393
f20def1f
GM
14394 * faces.el (internal-face-x-get-resource):
14395 * frame.el (ns-display-monitor-attributes-list):
d78abe37 14396 * calc/calc-aent.el (math-to-radians-2):
f20def1f 14397 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 14398 Fix declarations.
f20def1f 14399
445f95e2
GM
14400 * calc/calc-menu.el: Make it loadable in isolation.
14401
14402 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14403 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14404 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14405 (eudc-bbdb-query-internal): Require 'bbdb.
14406
99fb2756
GM
14407 * lpr.el (lpr-headers-switches):
14408 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14409
14410 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14411
0da7ad96
GM
14412 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14413
8582e4c4
GM
14414 * term.el (term-set-escape-char): Make it idempotent.
14415
f71c50d0
LL
144162013-05-10 Leo Liu <sdl.web@gmail.com>
14417
5ac2eb34
SM
14418 * progmodes/octave.el (inferior-octave-completion-table):
14419 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
14420 completion due to bug#11906.
14421 (octave-beginning-of-defun): Re-write to be more general.
14422
d5837773
GM
144232013-05-10 Glenn Morris <rgm@gnu.org>
14424
14425 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14426
027c0f75
SM
144272013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14428
14429 * comint.el (comint-redirect-send-command-to-process): Use :around
14430 rather than :override for comint-redirect-filter.
14431 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14432 Call it instead of comint-redirect-original-filter-function (which
14433 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14434
4465bfb4
JD
144352013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14436
14437 * frame.el (display-monitor-attributes-list): Add NS case.
14438 (ns-display-monitor-attributes-list): Declare.
14439
2d809ffa 144402013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
14441
14442 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14443
e54eeb9b
GM
144442013-05-09 Glenn Morris <rgm@gnu.org>
14445
56cd351d
GM
14446 * international/fontset.el (vertical-centering-font-regexp):
14447 Set standard-value.
14448
d84b6108
GM
14449 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14450
a931698a
GM
14451 * bookmark.el (bookmark-search-delay):
14452 * cus-start.el (vertical-centering-font-regexp):
14453 * ps-mule.el (ps-mule-font-info-database-default):
14454 * ps-print.el (ps-default-fg, ps-default-bg):
14455 * type-break.el (type-break-good-break-interval):
14456 * whitespace.el (whitespace-indentation-regexp)
14457 (whitespace-space-after-tab-regexp):
14458 * emacs-lisp/testcover.el (testcover-1value-functions)
14459 (testcover-noreturn-functions, testcover-progn-functions)
14460 (testcover-prog1-functions):
14461 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14462 * eshell/em-glob.el (eshell-glob-translate-alist):
14463 * play/tetris.el (tetris-tty-colors):
14464 * progmodes/cpp.el (cpp-face-default-list):
14465 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14466 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14467 (idlwave-help-browser-generic-args):
14468 * progmodes/make-mode.el (makefile-special-targets-list):
14469 * progmodes/python.el (python-shell-virtualenv-path):
14470 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14471 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14472 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14473 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14474 * textmodes/reftex-vars.el (reftex-format-label-function):
14475 * textmodes/remember.el (remember-diary-file): Fix custom types.
14476
e54eeb9b
GM
14477 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14478 Add :version.
14479
455851dd
LL
144802013-05-09 Leo Liu <sdl.web@gmail.com>
14481
14482 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 14483 Restore file completion. (Bug#14300)
455851dd
LL
14484 (inferior-octave-startup): Fix incorrect highlighting for the
14485 first prompt.
14486
a9e4425b
SM
144872013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14488
14489 * progmodes/ruby-mode.el: First cut at SMIE support.
14490 (ruby-use-smie): New var.
14491 (ruby-smie-grammar): New constant.
14492 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14493 (ruby-smie--forward-token, ruby-smie--backward-token)
14494 (ruby-smie-rules): New functions.
14495 (ruby-mode-variables): Setup SMIE if applicable.
14496
060ca408
EZ
144972013-05-08 Eli Zaretskii <eliz@gnu.org>
14498
14499 * simple.el (line-move-visual): Signal beginning/end of buffer
14500 only if vertical-motion moved less than it was requested. Avoids
14501 silly incorrect error messages when there are display strings with
14502 multiple newlines at EOL.
14503
1d5963cc
SM
145042013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14505
14506 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14507 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14508 (prolog-char-quote-workaround):
14509 * progmodes/cperl-mode.el (cperl-under-as-char):
14510 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
14511 Mark as obsolete.
14512 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
14513 their declaration.
14514 (vhdl-mode-syntax-table-init): Remove.
14515
c9990474
SM
14516 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14517 last change.
1d5963cc
SM
14518
14519 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14520 syntax for "_".
14521 (ld-script-font-lock-keywords):
14522 Change regexps to use things like \_< and \_>.
14523
14524 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14525 Change all regexps to use things like \_< and \_>.
14526
14527 * progmodes/autoconf.el (autoconf-definition-regexp)
14528 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14529 Handle a _ with symbol syntax.
14530 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14531
c9990474
SM
14532 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14533 Consolidate declaration.
1d5963cc
SM
14534 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14535 the declaration.
14536 (ada-create-syntax-table): Remove.
14537 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14538 already has the right syntax nowadays.
14539 (ada-goto-next-word): Don't change the syntax of "_".
14540
14541 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14542 with-wrapper-hook.
14543
72d3cfca
SS
145442013-05-08 Sam Steingold <sds@gnu.org>
14545
14546 * thingatpt.el (thing-at-point): Accept optional second argument
14547 NO-PROPERTIES to strip the text properties from the return value.
14548 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14549 to `thing-at-point' instead of stripping the properties ourselves.
14550 Also, when `thing-at-point' fails to find a url, prepend "http://"
14551 to the filename at point on the assumption that the user is
14552 pointing at something like gnu.org/gnu.
14553
5cb15713
JB
145542013-05-08 Juanma Barranquero <lekktu@gmail.com>
14555
14556 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14557 * faces.el (crm-separator):
14558 Silence byte-compiler.
14559
14560 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14561 (tool-bar-map): Remove unneeded defvars.
14562
ea78b95b
LL
145632013-05-08 Leo Liu <sdl.web@gmail.com>
14564
14565 Re-work a fix for bug#10994 based on Le Wang's patch.
14566 * ido.el (ido-remove-consecutive-dups): New helper.
14567 (ido-completing-read): Use it.
14568 (ido-chop): Revert fix for bug#10994.
14569
dc7466df
AS
145702013-05-08 Adam Spiers <emacs@adamspiers.org>
14571
14572 * cus-edit.el (custom-save-variables):
14573 Pretty-print long values. (Bug#14187)
14574
9ecf672a
GM
145752013-05-08 Glenn Morris <rgm@gnu.org>
14576
14577 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14578 (m4-mode-syntax-table): Init in the defvar.
14579 (m4-mode-abbrev-table): Let define-derived-mode define it.
14580
3f555be8
TT
145812013-05-08 Tom Tromey <tromey@redhat.com>
14582
14583 * progmodes/m4-mode.el (m4-mode-syntax-table):
14584 Do not treat "_" as word constituent. (Bug#14167)
14585
7cc8ae06
GM
145862013-05-07 Glenn Morris <rgm@gnu.org>
14587
4f58bc06
GM
14588 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14589 Remove explicit eshell-isearch-cancel-map.
14590
7cc8ae06
GM
14591 * progmodes/f90.el (f90-smart-end-names): New option.
14592 (f90-smart-end): Doc fix.
14593 (f90-end-block-optional-name): New constant.
14594 (f90-block-match): Respect f90-smart-end-names.
14595
ceb57e59
SM
145962013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14597
14598 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14599 about implicit semi-colons (bug#14218).
14600
4e3f9230
YM
146012013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14602
14603 * frame.el (display-monitor-attributes-list)
14604 (frame-monitor-attributes): New functions.
14605
203a5572
LL
146062013-05-06 Leo Liu <sdl.web@gmail.com>
14607
14608 * progmodes/octave.el (octave-syntax-propertize-function): Change
14609 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14610 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 14611 (octave-completion-at-point): Rename from
203a5572
LL
14612 octave-completion-at-point-function.
14613 (inferior-octave-directory-tracker): Robustify.
14614 (octave-text-functions): Remove and fix its uses. No such things
14615 any more.
14616
ee6cff99
SM
146172013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14618
14619 * emacs-lisp/trace.el (trace--display-buffer): New function.
14620 (trace-make-advice): Use it.
14621
32985194
JL
146222013-05-06 Juri Linkov <juri@jurta.org>
14623
14624 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14625 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14626 Doc fix.
14627 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14628 in the help string. (Bug#12985)
14629
a1c700de
KD
146302013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14631
14632 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14633
c67c0839
SM
146342013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14635
323885fd
SM
14636 * progmodes/perl-mode.el: Add support for here documents.
14637 (perl-syntax-propertize-function): Match here-doc markers.
14638 (perl-syntax-propertize-special-constructs): Find their end.
14639 (perl-imenu-generic-expression): Use [:alnum:].
14640
c67c0839
SM
14641 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14642 (advice--add-function): Refresh the advice if already present
14643 (bug#14317).
14644
d491e7a8
IA
146452013-05-06 Ivan Andrus <darthandrus@gmail.com>
14646
14647 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14648
ddf9925e
GM
146492013-05-06 Glenn Morris <rgm@gnu.org>
14650
7cc3af27
GM
14651 * w32-fns.el (w32-charset-info-alist): Declare.
14652
16e343d6
GM
14653 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14654 of its defcustom properties.
14655 (eshell-cmpl-initialize): No need to load pcomplete.
14656
7d889a47
GM
14657 * generic-x.el: No need to require comint when compiling.
14658
ddf9925e
GM
14659 * net/eudc-export.el: Make it loadable without bbdb.
14660 (top-level): Use require rather than load-library.
14661 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14662 (eudc-batch-export-records-to-bbdb)
14663 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14664 Require bbdb.
14665
1e2c18df
SM
146662013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14667
14668 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14669 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14670 some tweaks, instead.
14671
02502a5f
LL
146722013-05-05 Leo Liu <sdl.web@gmail.com>
14673
14674 * progmodes/octave.el (octave-font-lock-keywords)
14675 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14676 (inferior-octave-send-list-and-digest): Improve error message.
14677 (octave-mode, inferior-octave-mode): Use setq-local.
14678 (octave-help): Set info-lookup-mode.
14679
0dc04f42
RS
146802013-05-05 Richard Stallman <rms@gnu.org>
14681
6c54491c
RS
14682 * vc/compare-w.el (compare-windows-whitespace):
14683 Treat no-break space as whitespace.
14684
0dc04f42
RS
14685 * mail/rmailsum.el (rmail-summary-rmail-update):
14686 Detect empty summary and don't change selected message.
14687 (rmail-summary-goto-msg): Likewise.
14688
df8f35df
RS
14689 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14690 Doc fixes, rename args.
14691
5356e1a3
AM
146922013-05-05 Alan Mackenzie <acm@muc.de>
14693
14694 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14695
d44014cb
JL
146962013-05-05 Juri Linkov <juri@jurta.org>
14697
14698 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14699 to not add the length of the summary segment to the return value.
14700 (Bug#14125)
14701
c129b51f
LL
147022013-05-05 Leo Liu <sdl.web@gmail.com>
14703
14704 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14705 (inferior-octave-output-filter): Remove.
14706 (octave-send-region, inferior-octave-startup): Fix callers.
14707 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14708 (octave-binary-file-extensions): New user variable.
14709 (octave-find-definition): Confirm if opening binary files.
14710 (octave-help-file): Use octave-find-definition to get the binary
14711 confirmation.
14712 (octave-help): Adjust for octave-help-file change.
14713
aa7dab97
SM
147142013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14715
14716 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14717 Merge the two entries that handle function definitions.
14718 (pascal--syntax-propertize): New const.
14719 (pascal-mode): Use it. Use setq-local.
14720
fd3a9a6b
GM
147212013-05-04 Glenn Morris <rgm@gnu.org>
14722
14723 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14724 (diary-from-outlook): Respect diary-from-outlook-function.
14725
30c7e542
SM
147262013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14727
14728 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14729 Move the declaration from C.
14730 (read-minibuffer, eval-minibuffer): Move from C.
14731 (completion-setup-function): Avoid minibuffer-completion-contents.
14732
b54f978b
LL
147332013-05-03 Leo Liu <sdl.web@gmail.com>
14734
14735 * progmodes/octave.el (octave-font-lock-keywords): Do not
14736 dehighlight 'end' in comments or strings.
30c7e542
SM
14737 (octave-completing-read, octave-goto-function-definition):
14738 New helpers.
d4d0f9b3
LL
14739 (octave-help-buffer): New user variable.
14740 (octave-help-file, octave-help-function): New button types.
14741 (octave-help): New command and bind it to C-h ;.
14742 (octave-find-definition): New command and bind it to M-.
d74a1581 14743 (user-error): Alias to error if not defined.
b54f978b 14744
27135018
LL
147452013-05-02 Leo Liu <sdl.web@gmail.com>
14746
14747 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14748 for \. (bug#14332)
14749 (octave-font-lock-keywords): Include [ and {.
14750
0d634d3a
LL
147512013-05-02 Leo Liu <sdl.web@gmail.com>
14752
14753 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14754 (inferior-octave): Remove calling comint-mode and return the buffer.
14755 (inferior-octave-startup): Cosmetic changes.
14756
b4c8295e
LL
147572013-05-02 Leo Liu <sdl.web@gmail.com>
14758
30c7e542
SM
14759 * progmodes/octave.el (octave-syntax-propertize-function):
14760 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 14761
f12ad6ec
GM
147622013-05-02 Glenn Morris <rgm@gnu.org>
14763
14764 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14765 * desktop.el (vc-dir-mode): Just autoload it here.
14766
30cac1e0
AM
147672013-05-02 Alan Mackenzie <acm@muc.de>
14768
14769 Eliminate variable c-standard-font-lock-fontify-region-function.
14770 * progmodes/cc-mode.el
14771 (c-standard-font-lock-fontify-region-function): Remove.
14772 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14773
d8ef28b1
LL
147742013-05-01 Leo Liu <sdl.web@gmail.com>
14775
2640d52e 14776 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 14777 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 14778 variables were removed from Octave in 2007.
d8ef28b1
LL
14779 (inferior-octave-startup): Fix uses.
14780 (comint-line-beginning-position): Remove compatibility code for
14781 emacs 21.
14782
ac63ec89
JL
147832013-05-01 Juri Linkov <juri@jurta.org>
14784
14785 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14786
9e9be37c
JL
147872013-05-01 Juri Linkov <juri@jurta.org>
14788
14789 * comint.el (comint-previous-matching-input): Don't print message
14790 "History item: %d" when `isearch-mode' is active.
14791 (comint-history-isearch-message): Print message "History item: %d"
14792 when `comint-input-ring-index' is not empty and this function is
14793 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14794
9b92c13b
LL
147952013-05-01 Leo Liu <sdl.web@gmail.com>
14796
14797 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14798 definitions. Use completion-at-point to insert keywords.
14799 (octave-abbrev-start): Remove.
14800 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14801
b12d33d7
LL
148022013-04-30 Leo Liu <sdl.web@gmail.com>
14803
14804 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14805 change.
14806
3d1c39fa
AM
148072013-04-30 Alan Mackenzie <acm@muc.de>
14808
14809 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
14810 * progmodes/cc-engine.el (c-back-over-member-initializers):
14811 new function.
3d1c39fa
AM
14812 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14813 (most) member init lists.
14814
5147fc17
RS
148152013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14816
14817 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14818 variable.
14819
5b78d7fc
LL
148202013-04-30 Leo Liu <sdl.web@gmail.com>
14821
14822 * progmodes/octave.el (octave-variables): Remove. No builtin
14823 variables any more. All converted to functions.
14824 (octave-font-lock-keywords, octave-completion-at-point-function):
14825 Fix uses.
14826 (octave-font-lock-texinfo-comment): New user variable.
14827 (octave-texinfo-font-lock-keywords): New variable for texinfo
14828 comment block.
14829 (octave-function-comment-block): New face.
14830 (octave-font-lock-texinfo-comment): New function.
14831 (octave-mode): Font lock texinfo comment block.
14832
38d8527b
LL
148332013-04-29 Leo Liu <sdl.web@gmail.com>
14834
14835 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14836 indexing expression.
14837 (octave-continuation-string): Do not use \.
14838 (inferior-octave-complete-impossible): Remove.
14839 (inferior-octave-completion-table)
14840 (inferior-octave-completion-at-point): Remove its uses.
14841 (inferior-octave-startup): completion_matches was introduced to
14842 Octave in 1996 so safe to assume it.
14843 (octave-function-file-comment): Improve to follow how Octave does it.
14844 (octave-update-function-file-comment): Tweak.
14845
2ec12cb0
LL
148462013-04-29 Leo Liu <sdl.web@gmail.com>
14847
14848 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14849 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14850 (octave-function-file-comment): Fix typo.
14851 (octave-sync-function-file-names): Use read-char-choice.
14852
6eaed048
JB
148532013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14854
14855 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14856 to t for the less important warnings.
14857
3ffa2d4f
DH
148582013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14859
14860 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14861
685c9501
GM
148622013-04-27 Glenn Morris <rgm@gnu.org>
14863
14864 * vc/log-view.el (log-view-current-entry):
14865 Treat "---" separator lines as part of the following rev. (Bug#14169)
14866
0208ede7
JL
148672013-04-27 Juri Linkov <juri@jurta.org>
14868
14869 * subr.el (read-number): Doc fix about using it by interactive
14870 code letter `n'. (Bug#14254)
14871
5db9dace
JL
148722013-04-27 Juri Linkov <juri@jurta.org>
14873
14874 * desktop.el (desktop-auto-save-timeout): New option.
14875 (desktop-file-checksum): New variable.
14876 (desktop-save): Add optional arg `auto-save' and don't auto-save
14877 if nothing changed.
14878 (desktop-auto-save-timer): New variable.
14879 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14880 (after-init-hook): Call `desktop-auto-save-set-timer'.
14881 Suggested by Reuben Thomas <rrt@sc3d.org> in
14882 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14883
b7260dd4
LL
148842013-04-27 Leo Liu <sdl.web@gmail.com>
14885
14886 * progmodes/octave.el (octave-function-file-p)
14887 (octave-skip-comment-forward, octave-function-file-comment)
14888 (octave-update-function-file-comment): New functions.
14889 (octave-mode-map): Bind C-c ; to
14890 octave-update-function-file-comment.
14891 (octave-mode-menu): Add octave-update-function-file-comment.
14892 (octave-mode, inferior-octave-mode): Fix doc-string.
14893 (octave-insert-defun): Conform to Octave's coding convention.
14894 (Bug#14285)
14895
14896 * files.el (basic-save-buffer): Don't let errors in
14897 before-save-hook prevent saving buffer.
14898
c46da669
RW
148992013-04-20 Roland Winkler <winkler@gnu.org>
14900
14901 * faces.el (read-face-name): Use completing-read if arg multiple
14902 is nil.
14903
a81ee1eb
IL
149042013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14905
14906 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
14907 displayed, move point to after the totals line.
14908 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
14909 for the details.
14910
4fac34ce
SM
149112013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14912
14913 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14914 Add current dir to the load-path.
14915 (package-generate-autoloads): Don't rely on
14916 autoload-ensure-default-file.
14917
f6bfc063
RT
149182013-04-26 Reuben Thomas <rrt@sc3d.org>
14919
d40ab5cf
BG
14920 * textmodes/remember.el (remember-store-in-files): Document that
14921 the file name format is passed to `format-time-string'.
f6bfc063 14922
e55d3b04
LL
149232013-04-26 Leo Liu <sdl.web@gmail.com>
14924
14925 * progmodes/octave.el (octave-sync-function-file-names): New function.
14926 (octave-mode): Use it in before-save-hook.
14927
e53052d3
SM
149282013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14929
140ef50c
SM
14930 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14931 (bug#14274).
14932
e53052d3
SM
14933 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14934 \n and comment, even if it's not an implicit ; (bug#14218).
14935
af80458d 149362013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
14937
14938 * subr.el (read-number): Once more use `read' rather than
14939 `string-to-number', to trap non-numeric input. (Bug#14254)
14940
af80458d 149412013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
14942
14943 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14944 Use `syntax-multiline' text property consistently instead of
8a621d53 14945 `font-lock-multiline'. (Bug#14237)
70203c2e 14946
e6ea1f6c
GM
149472013-04-26 Glenn Morris <rgm@gnu.org>
14948
14949 * emacs-lisp/shadow.el (list-load-path-shadows):
14950 No longer necessary to check for duplicate simple.el, since
14951 2012-07-07 change to init_lread to not include installation lisp
14952 directories in load-path when running uninstalled. (Bug#14270)
14953
070ccca4
LL
149542013-04-26 Leo Liu <sdl.web@gmail.com>
14955
14956 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14957 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 14958 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
14959 octave-in-string-or-comment-p.
14960 (octave-in-comment-p, octave-in-string-p)
14961 (octave-in-string-or-comment-p): Replace defsubst with defun.
14962
9d1c5fb6
PE
149632013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14964
14965 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14966
c034abda
BG
149672013-04-25 Bastien Guerry <bzg@gnu.org>
14968
14969 * textmodes/remember.el (remember-data-directory)
14970 (remember-directory-file-name-format): Fix custom types.
14971
584ea277
LL
149722013-04-25 Leo Liu <sdl.web@gmail.com>
14973
e53052d3
SM
14974 * progmodes/octave.el (octave-completion-at-point-function):
14975 Make use of inferior octave process.
584ea277
LL
14976 (octave-initialize-completions): Remove.
14977 (inferior-octave-completion-table): New function.
14978 (inferior-octave-completion-at-point): Use it.
14979 (octave-completion-alist): Remove.
14980
1693b06a
SM
149812013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14982
14983 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14984 (opascal-mode-syntax-table): New var.
14985 (opascal-literal-kind, opascal-is-literal-end)
14986 (opascal-literal-token-at): Rewrite.
14987 (opascal--literal-start-re, opascal-font-lock-keywords)
14988 (opascal--syntax-propertize): New constants.
14989 (opascal-font-lock-defaults): Adjust.
14990 (opascal-mode): Use them. Set comment-<foo> variables as well.
14991 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14992 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14993 (delphi-other-face, opascal-other-face): Remove face variables.
14994 (opascal-save-state): Remove macro.
14995 (opascal-fontifying-progress-step): Remove constant.
14996 (opascal--ignore-changes): Remove var.
14997 (opascal-set-token-property, opascal-parse-next-literal)
14998 (opascal-is-stable-literal, opascal-complete-literal)
14999 (opascal-is-literal-start, opascal-face-of)
15000 (opascal-parse-region, opascal-parse-region-until-stable)
15001 (opascal-fontify-region, opascal-after-change)
15002 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15003 (opascal-debug-parse-region, opascal-debug-parse-window)
15004 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15005 (opascal-debug-fontify-buffer): Remove.
15006 (opascal-debug-mode-map): Adjust accordingly.
15007
be64c05d
LL
150082013-04-25 Leo Liu <sdl.web@gmail.com>
15009
15010 Merge octave-mod.el and octave-inf.el into octave.el with some
15011 cleanups.
15012 * progmodes/octave.el: New file renamed from octave-mod.el.
15013 * progmodes/octave-inf.el: Merged into octave.el.
15014 * progmodes/octave-mod.el: Renamed to octave.el.
15015
d79d37bd
TH
150162013-04-25 Tassilo Horn <tsdh@gnu.org>
15017
15018 * textmodes/reftex-vars.el
15019 (reftex-label-ignored-macros-and-environments): New defcustom.
15020
15021 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15022
ced3fc5d
SM
150232013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15024
15025 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15026 (smie-indent-keyword): Improve the check to ensure that the next
15027 comment is really on the same line.
15028 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15029
15030 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15031 semi-colons if the line is not otherwise empty (bug#14218).
15032
1c141dad
GM
150332013-04-25 Glenn Morris <rgm@gnu.org>
15034
15035 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15036
5058062a
SM
150372013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15038
15039 * progmodes/opascal.el (opascal-set-token-property): Rename from
15040 opascal-set-text-properties and only set `token' (bug#14134).
15041 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15042 (opascal-literal-text-properties): Remove.
15043 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15044 Adjust callers.
15045
5db9dace 150462013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
15047
15048 * textmodes/remember.el (remember-handler-functions): Add an
15049 option for a new handler `remember-store-in-files'.
15050 (remember-data-directory, remember-directory-file-name-format):
15051 New options.
15052 (remember-store-in-files): New function to store remember notes
15053 as separate files within a directory.
15054
4391916c
MH
150552013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15056
15057 * progmodes/compile.el (compilation-next-error-function):
15058 Pass "formats" to compilation-find-file (bug#11777).
15059
bb7cdf58
GM
150602013-04-24 Glenn Morris <rgm@gnu.org>
15061
3b8fe752 15062 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
15063 * vc/vc-hg.el (vc-hg-print-log):
15064 * vc/vc-svn.el (vc-svn-print-log):
15065 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15066
bb7cdf58
GM
15067 * vc/vc-bzr.el (vc-bzr-print-log):
15068 * vc/vc-cvs.el (vc-cvs-print-log):
15069 * vc/vc-git.el (vc-git-print-log):
15070 * vc/vc-hg.el (vc-hg-print-log):
15071 * vc/vc-mtn.el (vc-mtn-print-log):
15072 * vc/vc-rcs.el (vc-rcs-print-log):
15073 * vc/vc-sccs.el (vc-sccs-print-log):
15074 * vc/vc-svn.el (vc-svn-print-log):
15075 * vc/vc.el (vc-print-log-internal): Doc fixes.
15076
b46a056e
GM
150772013-04-23 Glenn Morris <rgm@gnu.org>
15078
15079 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15080 Remove venerable code attempting to avoid substitute-command-keys.
15081
0aecf718
TH
150822013-04-23 Tassilo Horn <tsdh@gnu.org>
15083
4391916c
MH
15084 * textmodes/reftex-vars.el (reftex-label-regexps):
15085 Call `reftex-compile-variables' after changes to this variable.
0aecf718 15086
117f94cf
SM
150872013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15088
4391916c 15089 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
15090 Use lexical-binding.
15091 (jit-lock-force-redisplay): Use markers, check buffer's continued
15092 existence and beware narrowed buffers.
15093 (jit-lock-fontify-now): Adjust call accordingly.
15094
1d829c64
SM
150952013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15096
15097 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15098 to avoid misleading the user.
15099
72d548a9
LL
151002013-04-22 Leo Liu <sdl.web@gmail.com>
15101
15102 * info-look.el: Prefer latex2e.info. (Bug#14240)
15103
d0853629
MA
151042013-04-22 Michael Albinus <michael.albinus@gmx.de>
15105
15106 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15107
15108 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 15109 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
15110 (tramp-set-completion-function, tramp-parse-putty):
15111 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15112 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15113 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15114 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15115 (tramp-call-local-coding-command): Use `tramp-call-process'
15116 instead of `tramp-compat-call-process'.
15117
15118 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15119 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 15120 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 15121 (tramp-find-inline-compress): Improve traces.
d0853629
MA
15122 (tramp-maybe-send-script): Check for Perl binary.
15123 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15124
38cc0210
DU
151252013-04-22 Daiki Ueno <ueno@gnu.org>
15126
15127 * epg.el (epg-context-pinentry-mode): New function.
15128 (epg-context-set-pinentry-mode): New function.
15129 (epg--start): Pass --pinentry-mode option to gpg command.
15130
cc641ee1
XF
151312013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15132
02d844b5 15133 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 15134 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 15135 `completion-at-point'. (Bug#13774)
5d4e5c31 15136
cc641ee1
XF
15137 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15138 default key binding for `describe-distribution' has been moved to
15139 `C-h C-o'. (Bug#13970)
15140
1b42ee43
GM
151412013-04-21 Glenn Morris <rgm@gnu.org>
15142
15143 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15144 Add doc strings.
15145 (vc-print-log): Clarify interactive prompt.
15146
a6d63d97
GM
151472013-04-20 Glenn Morris <rgm@gnu.org>
15148
15149 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15150 No longer include timestamp etc information.
15151
d7f5c16f
RW
151522013-04-20 Roland Winkler <winkler@gnu.org>
15153
15154 * faces.el (read-face-name): Bug fix, return just one face if arg
15155 multiple is nil. (Bug#14209)
15156
bcd7a0a4
SM
151572013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15158
15159 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15160 (remove-function): Autoload.
15161
15162 * comint.el (comint-redirect-original-filter-function): Remove.
15163 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
15164 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15165 (vc-cvs-annotate-command):
bcd7a0a4
SM
15166 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15167 * progmodes/prolog.el (prolog-consult-compile):
15168 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15169 Use add/remove-function instead.
15170 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15171 (gud-tooltip-process-output, gud-tooltip-tips):
15172 Use add/remove-function instead.
15173 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15174 (scheme-interaction-mode, exit-scheme-interaction-mode):
15175 Use add/remove-function instead.
15176
15177 * vc/vc-dispatcher.el: Use lexical-binding.
15178 (vc--process-sentinel): Rename from vc-process-sentinel.
15179 Change last arg to be the code to run. Don't use vc-previous-sentinel
15180 and vc-sentinel-commands any more.
15181 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15182 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15183
e36b2d20 151842013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 15185
bcd7a0a4 15186 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 15187 Handle function names with a single character. (Bug#14111)
4d3268ba 15188
27821a89 151892013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
15190
15191 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15192 for subroutines defined in an eval (bug#14182).
15193
7d688336
TV
151942013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15195
15196 * bookmark.el (bookmark-completing-read): Improve handling of empty
15197 string (bug#14176).
15198
31dcede0
SM
151992013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15200
15201 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15202
adc31213
FEG
152032013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15204
15205 New faster Imenu implementation (bug#14058).
9b017563 15206 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
15207 (python-imenu-format-item-label-function)
15208 (python-imenu-format-parent-item-label-function)
15209 (python-imenu-format-parent-item-jump-label-function):
15210 New vars.
15211 (python-imenu-format-item-label)
15212 (python-imenu-format-parent-item-label)
15213 (python-imenu-format-parent-item-jump-label)
15214 (python-imenu--put-parent, python-imenu--build-tree)
15215 (python-imenu-create-index, python-imenu-create-flat-index)
15216 (python-util-popn): New functions.
15217 (python-mode): Set imenu-create-index-function to
15218 python-imenu-create-index.
15219
cdca8255
SM
152202013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15221
15222 * winner.el (winner-active-region): Use region-active-p, activate-mark
15223 and deactivate-mark (bug#14225).
15224
15225 * simple.el (deactivate-mark): Don't inline it.
15226
beb42340
MA
152272013-04-18 Michael Albinus <michael.albinus@gmx.de>
15228
15229 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15230
fc7f4d7e
TH
152312013-04-18 Tassilo Horn <tsdh@gnu.org>
15232
15233 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15234 file extensions from the archive-mode entry in order to prefer
15235 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15236
29f47822
LL
152372013-04-18 Leo Liu <sdl.web@gmail.com>
15238
15239 * bindings.el (help-event-list): Add ?\?.
15240
d36ed1c8
SM
152412013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15242
15243 * subr.el (with-wrapper-hook): Declare obsolete.
15244 * simple.el (filter-buffer-substring-function): New hook.
15245 (filter-buffer-substring): Use it.
15246 (filter-buffer-substring-functions): Mark obsolete.
15247 * minibuffer.el (completion-in-region-function): New hook.
15248 (completion-in-region): Use it.
15249 (completion-in-region-functions): Mark obsolete.
15250 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15251 * abbrev.el (abbrev-expand-function): New hook.
15252 (expand-abbrev): Use it.
15253 (abbrev-expand-functions): Mark obsolete.
15254 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15255 and :filter-return.
15256
04754d36
FEG
152572013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15258
15259 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15260 and do not care about match data.
15261
dd8791e9
SM
152622013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15263
15264 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15265 completion tables when completing error conditions and
15266 `declare' arguments.
15267 (lisp-complete-symbol, field-complete): Mark as obsolete.
15268 (check-parens): Unmatched parens are user errors.
15269 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15270
ffe54a13
AM
152712013-04-17 Michal Nazarewicz <mina86@mina86.com>
15272
dd8791e9
SM
15273 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15274 command changed buffer (ie. `flyspell-pre-buffer' is not current
15275 buffer), which prevents making decisions based on invalid value of
15276 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15277 cause an error when `flyspell-pre-point' was nil after switching
15278 buffers.
15279 (flyspell-post-command-hook): No longer needs to change buffers when
15280 checking pre-word. While at it remove unnecessary progn.
ffe54a13 15281
ec7e39f2
AM
152822013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15283
15284 * textmodes/ispell.el (ispell-add-per-file-word-list):
15285 Fix `flyspell-correct-word-before-point' error when accepting
15286 words and `coment-padding' is an integer by using
15287 `comment-normalize-vars' (Bug #14214).
15288
083850a6
FEG
152892013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15290
15291 New defun movement commands.
15292 * progmodes/python.el (python-nav--syntactically)
15293 (python-nav--forward-defun, python-nav-backward-defun)
15294 (python-nav-forward-defun): New functions.
15295
619ed6e1
FEG
152962013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15297
15298 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15299 (python-syntax-context): Use named compiler-macro for backwards
15300 compatibility with Emacs 24.x.
15301
7a1beb6c
LL
153022013-04-17 Leo Liu <sdl.web@gmail.com>
15303
15304 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15305 octave-hide-process-buffer.
15306
2d3fa3e5
SM
153072013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15308
15309 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15310 (bug#14216).
15311
7ce5be54
JPG
153122013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15313
15314 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15315 Fix adjustment of offset when receiving incomplete responses from GDB
15316 (bug#14129).
15317
351edece
SM
153182013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15319
15320 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15321 python-mode-abbrev-table.
15322 (python-skeleton-define): Adjust accordingly.
15323 (python-mode-abbrev-table): New table that inherits from it so that
15324 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15325
15326 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15327 (abbrev-symbol): Use it.
15328 (abbrev--before-point): Use it since we already handle inheritance.
15329
613f9481
LL
153302013-04-16 Leo Liu <sdl.web@gmail.com>
15331
15332 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15333 binding to info-lookup-symbol.
15334
51646b62
JB
153352013-04-16 Juanma Barranquero <lekktu@gmail.com>
15336
15337 * minibuffer.el (completion--twq-all):
15338 * term/ns-win.el (ns-initialize-window-system):
15339 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15340
efb3f01d
SM
153412013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15342
36c0a301
SM
15343 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15344 global bindings.
15345
efb3f01d
SM
15346 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15347
fb549d64
DG
153482013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15349
15350 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15351 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15352 to nil.
15353 (ruby-end-of-defun): Remove the unused arg, change the docstring
15354 to reflect that this function is only used as the value of
15355 `end-of-defun-function'.
15356 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15357 to reflect an earlier change that beginning/end-of-defun functions
15358 jump between methods in a class definition, as well as top-level
15359 functions.
15360
21e8fe2f
SM
153612013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15362
15363 * minibuffer.el (minibuffer-complete): Don't just scroll
15364 a *Completions* that's been iconified.
15365 (minibuffer-force-complete): Make sure repetitions do cycle when going
15366 through completion-in-region -> minibuffer-complete.
15367
20e527d0
AM
153682013-04-15 Alan Mackenzie <acm@muc.de>
15369
15370 Correct the placement of c-cpp-delimiters when there're #s not at
15371 col 0.
15372
15373 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15374 place a submatch around the #.
21e8fe2f
SM
15375 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15376 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
15377 on the #, not BOL.
15378
dabefae5
SM
153792013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15380
15381 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15382 (advice--member-p): New arg `name'.
15383 (advice--add-function, advice-member-p): Use it (bug#14202).
15384
85c9ab64
AM
153852013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15386
15387 Reformulate java imenu-generic-expression.
15388 The old expression contained ill formed regexps.
15389
15390 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15391 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15392 (cc-imenu-java-method-arg-regexp): New defconsts.
15393 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 15394 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
15395 handling of spaces in the regexp.
15396
0f821d99
AM
153972013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15398
15399 * textmodes/ispell.el (ispell-command-loop): Remove
15400 flyspell highlight of a word when ispell accepts it (bug #14178).
15401
eb922adf
MA
154022013-04-15 Michael Albinus <michael.albinus@gmx.de>
15403
15404 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15405 uses code from the previous `ange-ftp-run-real-handler'.
15406 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15407 only in case that function exist. This is needed for proper
15408 unloading of Tramp.
15409
4d9a0979
TH
154102013-04-15 Tassilo Horn <tsdh@gnu.org>
15411
15412 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15413
15414 * textmodes/reftex.el (reftex-compile-variables): Use it.
15415
a829b0dc
SM
154162013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15417
91e8293c
SM
15418 * files.el (normal-mode): Only use default major-mode if no other mode
15419 was specified.
15420
830aed4d
SM
15421 * emacs-lisp/trace.el (trace-values): New function.
15422
a829b0dc
SM
15423 * files.el: Allow : in local variables (bug#14089).
15424 (hack-local-variable-regexp): New var.
15425 (hack-local-variables-prop-line, hack-local-variables): Use it.
15426
7ae9f0fb
RW
154272013-04-13 Roland Winkler <winkler@gnu.org>
15428
15429 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15430 data before it gets modified by bibtex-beginning-of-entry.
15431
6646e848
RW
154322013-04-13 Roland Winkler <winkler@gnu.org>
15433
15434 * textmodes/bibtex.el (bibtex-url): Doc fix.
15435
154362013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
15437
15438 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15439 does not visit a BibTeX file, exclude it from the list of buffers
15440 returned by bibtex-initialize.
15441
0aa3616e
SB
154422013-04-13 Stephen Berman <stephen.berman@gmx.net>
15443
15444 * window.el (split-window): Remove interactive form, since as a
15445 command this function is a special case of split-window-below.
15446 Correct doc string.
15447
011cddd6
RW
154482013-04-12 Roland Winkler <winkler@gnu.org>
15449
15450 * faces.el (read-face-name): Do not override value of arg default.
15451 Allow single faces and strings as default values. Remove those
15452 elements from return value that are not faces.
15453 (describe-face): Simplify.
15454 (face-at-point): New optional args thing and multiple so that this
15455 function can provide the same functionality previously provided by
15456 read-face-name.
15457 (make-face-bold, make-face-unbold, make-face-italic)
15458 (make-face-unitalic, make-face-bold-italic, invert-face)
15459 (modify-face, read-face-and-attribute): Use face-at-point.
15460
15461 * cus-edit.el (customize-face, customize-face-other-window)
15462 * cus-theme.el (custom-theme-add-face)
15463 * face-remap.el (buffer-face-set)
15464 * facemenu.el (facemenu-set-face): Use face-at-point.
15465
f24e0036
MA
154662013-04-12 Michael Albinus <michael.albinus@gmx.de>
15467
15468 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15469
da3cda2d
TH
154702013-04-10 Tassilo Horn <tsdh@gnu.org>
15471
15472 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15473 off leading { and trailing } from field values.
15474
15e54145
SM
154752013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15476
78ce603d
SM
15477 * emacs-lisp/timer.el (timer--check): New function.
15478 (timer--time, timer-set-function, timer-event-handler): Use it.
15479 (timer-set-idle-time): Simplify.
15480 (timer--activate): CSE.
15481 (timer-event-handler): Give more info in error message.
15482 (internal-timer-start-idle): New function, moved from C.
15483
15e54145
SM
15484 * mpc.el (mpc-proc): Add `restart' argument.
15485 (mpc-proc-cmd): Use it.
15486 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15487 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15488 less often.
15489
7144c627
MY
154902013-04-10 Masatake YAMATO <yamato@redhat.com>
15491
15492 * progmodes/sh-script.el: Implement `sh-mode' own
15493 `add-log-current-defun-function' (bug#14112).
15494 (sh-current-defun-name): New function.
15495 (sh-mode): Use the function.
15496
b39792eb
BG
154972013-04-09 Bastien Guerry <bzg@gnu.org>
15498
15499 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15500
8acdeb71
SM
155012013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15502
6fcdab68
SM
15503 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15504
8acdeb71
SM
15505 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15506 timer (bug#14156).
15507
e3e7b504
NF
155082013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15509
15510 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15511 declaration.
15512
201bb296
LL
155132013-04-07 Leo Liu <sdl.web@gmail.com>
15514
15515 * pcmpl-x.el: New file.
15516
ebb19708
DA
155172013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15518
15519 Do not set x-display-name until X connection is established.
15520 This is needed to prevent from weird situation described at
15521 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15522 * frame.el (make-frame): Set x-display-name after call to
15523 window system initialization function, not before.
15524 * term/x-win.el (x-initialize-window-system): Add optional
15525 display argument and use it.
15526 * term/w32-win.el (w32-initialize-window-system):
15527 * term/ns-win.el (ns-initialize-window-system):
15528 * term/pc-win.el (msdos-initialize-window-system):
15529 Add compatible optional display argument.
15530
33bb237a
EZ
155312013-04-06 Eli Zaretskii <eliz@gnu.org>
15532
15533 * files.el (normal-backup-enable-predicate): On MS-Windows and
15534 MS-DOS compare truenames of temporary-file-directory and of the
15535 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15536 don't fail comparison by compare-strings. Also, compare file
15537 names case-insensitively on MS-Windows and MS-DOS.
15538
134abf1f
SM
155392013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15540
15541 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15542 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15543
d695cb94
DG
155442013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15545
e3e7b504
NF
15546 * whitespace.el (whitespace-color-on, whitespace-color-off):
15547 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 15548
f4ad7ea1 155492013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
15550
15551 * ispell.el (ispell-set-spellchecker-params):
15552 Really set `ispell-args' for all equivs.
15553
632556e4
SM
155542013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15555
15556 * ido.el (ido-completions): Use extra elements of ido-decorations
15557 (bug#14143).
15558 (ido-decorations): Update docstring.
15559
2a417372
MA
155602013-04-05 Michael Albinus <michael.albinus@gmx.de>
15561
15562 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15563 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15564 nil during initialization, in order not to miss changes since the
15565 file was opened. (Bug#14140)
15566
fc164b0c
LL
155672013-04-05 Leo Liu <sdl.web@gmail.com>
15568
15569 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15570
0ccecc08
JB
155712013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15572
15573 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15574
51af1aa2
GM
155752013-04-04 Glenn Morris <rgm@gnu.org>
15576
15577 * electric.el (electric-pair-inhibit-predicate): Add :version.
15578
b208ebc6
SM
155792013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15580
15581 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15582 when a package is required several times (bug#14082).
15583
f3d3eaf0
RW
155842013-04-04 Roland Winkler <winkler@gnu.org>
15585
15586 * faces.el (read-face-name): Behave as promised by the docstring.
15587 Assume that arg default is a list of faces.
15588 (describe-face): Call read-face-name with list of default faces.
15589
2575da50
TV
155902013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15591
15592 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15593 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15594 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15595 the header.
15596 (bookmark-exit-hook-internal): Save even if list is empty.
15597
397703b4
YH
155982013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15599
15600 * emacs-lisp/package.el (package-pinned-packages): New var.
15601 (package--add-to-archive-contents): Obey it (bug#14118).
15602
691e26ae
AM
156032013-04-03 Alan Mackenzie <acm@muc.de>
15604
8a621d53
JB
15605 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15606 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
15607
15608 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15609 parameter `not-in-delimiter'. Handle being inside comment opener.
15610 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15611 character in case we're typing a '*' after a '/'.
15612 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15613 instead by passing the parameter to c-state-pp-to-literal.
15614
15615 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15616 for elt. 7 of a parse state.
15617
4b725a70
PE
156182013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15619
15620 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15621 * international/latin1-disp.el, international/mule-util.el:
15622 * language/cyril-util.el, language/european.el, language/ind-util.el:
15623 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15624 * language/tibetan.el, language/viet-util.el:
15625 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15626
15c579f0
SM
156272013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15628
15629 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15630 (electric-pair-post-self-insert-function): Use it.
15631 (electric-pair-default-inhibit): New function, extracted from
15632 electric-pair-post-self-insert-function.
15633
a77e2924
RW
156342013-03-31 Roland Winkler <winkler@gnu.org>
15635
15636 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15637
2bd8a4a8
SM
156382013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15639
15640 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15641
8d3655be 156422013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
15643
15644 Un-indent after "pass" and "return" statements (Bug#13888)
15645 * progmodes/python.el (python-indent-block-enders): New var.
15646 (python-indent-calculate-indentation): Use it.
15647
8d3655be 156482013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
15649
15650 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15651 defun. Defining it as defalias could introduce too eager
15652 byte-compiler optimization. (Bug#14030)
15653
8d3655be 156542013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
15655
15656 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15657
0b1619da
LL
156582013-03-30 Leo Liu <sdl.web@gmail.com>
15659
15660 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15661 (kmacro-execute-from-register): Pass the keyboard macro to
15662 kmacro-call-macro or repeating won't work correctly.
15663
0b938190
TZ
156642013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15665
15666 * progmodes/subword.el: Back to using `forward-symbol'.
15667
15668 * subr.el (forward-whitespace, forward-symbol)
15669 (forward-same-syntax): Move from thingatpt.el.
15670
35710234
LL
156712013-03-29 Leo Liu <sdl.web@gmail.com>
15672
15673 * kmacro.el (kmacro-to-register): New command.
15674 (kmacro-execute-from-register): New function.
15675 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15676
efc0bb73
SM
156772013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15678
15679 * mpc.el: Use defvar-local and setq-local.
15680 (mpc--proc-connect): Connection failures are not bugs.
15681 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15682 (mpc-volume-map): Bind to the up-events.
15683
75a2f981
TZ
156842013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15685
15686 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15687 instead of `forward-symbol'.
15688
17c781d1
SM
156892013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15690
15691 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15692 (edebug--recursive-edit): Use it.
15693 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15694 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15695
f67bfbcf
LL
156962013-03-28 Leo Liu <sdl.web@gmail.com>
15697
15698 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15699
b59f639d
EZ
157002013-03-27 Eli Zaretskii <eliz@gnu.org>
15701
15702 * facemenu.el (list-colors-callback): New defvar.
15703 (list-colors-redisplay): New function.
15704 (list-colors-display): Install list-colors-redisplay as the
15705 revert-buffer-function. (Bug#14063)
15706
f557c1b1
SM
157072013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15708
b1da2957
SM
15709 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15710 and suffixes don't overlap (bug#14061).
15711
f557c1b1
SM
15712 * case-table.el: Use lexical-binding.
15713 (case-table-get-table): New function.
15714 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15715
002668e1
TZ
157162013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15717
15718 * progmodes/subword.el: Add `superword-mode' to do word motion
15719 over symbol_words (parallels and leverages `subword-mode' which
15720 does word motion inside MixedCaseWords).
15721
73572c72
AG
157222013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15723
78b8f320 15724 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 15725 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 15726
69b2c07e
SM
157272013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15728
15729 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15730 Change return value to be a sexp. Delay `get-buffer' to after
15731 restoring the desktop (bug#13951).
15732
08bb5ee2
LL
157332013-03-26 Leo Liu <sdl.web@gmail.com>
15734
15735 * register.el: Move semantic tag handling back to
15736 cedet/semantic/senator.el. (Bug#14052)
15737
8d4c974e
SM
157382013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15739
15740 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15741 into the prompt either (bug#13963).
15742
b234d92c
SM
157432013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15744
15745 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15746 part of "(error-foo)".
15747
ddfa3cb4
JL
157482013-03-24 Juri Linkov <juri@jurta.org>
15749
15750 * replace.el (list-matching-lines-prefix-face): New defcustom.
15751 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15752 `occur-engine' if `face-differs-from-default-p' returns t.
15753 (occur-engine): Add `,' inside backquote construct to evaluate
15754 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15755 Pass `prefix-face' to the functions `occur-context-lines' and
15756 `occur-engine-add-prefix'.
15757 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15758 `prefix-face' and propertize the prefix with `prefix-face'.
15759 (Bug#14017)
15760
7b0e2f85
LL
157612013-03-24 Leo Liu <sdl.web@gmail.com>
15762
15763 * nxml/rng-valid.el (rng-validate-while-idle)
15764 (rng-validate-quick-while-idle): Guard against deleted buffer.
15765 (Bug#13999)
15766
15767 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15768 is the last entry in kill-buffer-hook.
15769
15770 * files.el (kill-buffer-hook): Doc fix.
15771
b3082f49
DG
157722013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15773
b234d92c
SM
15774 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15775 Make it safe-local.
bde73d27 15776
b3082f49
DG
15777 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15778
a320a2db
LL
157792013-03-23 Leo Liu <sdl.web@gmail.com>
15780
7e74b0fb
LL
15781 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15782 Remove.
15783
15784 * nxml/rng-valid.el (rng-validate-mode)
15785 (rng-after-change-function, rng-do-some-validation):
15786 * nxml/rng-maint.el (rng-validate-buffer):
15787 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15788 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15789 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15790 (nxml-extend-after-change-region): Use with-silent-modifications.
15791
a320a2db
LL
15792 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15793 timer-idle-list.
15794
15795 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15796 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15797 timer-idle-list. (Bug#13999)
15798
e38e6780
JL
157992013-03-23 Juri Linkov <juri@jurta.org>
15800
15801 * info.el (info-index-match): New face.
15802 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15803 main pattern and add text properties with the new face to matches
15804 in index entries relative to the beginning of the index entry.
15805 (Bug#14015)
15806
e8cc7880
DE
158072013-03-21 Eric Ludlam <zappo@gnu.org>
15808
39c87140 15809 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
15810 Inhibit read only while inserting objects.
15811
9bb0d822
TZ
158122013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15813
15814 * progmodes/cfengine.el: Update docs to mention
15815 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15816 symbol motion. Remove "_" from the word syntax.
15817
aa703640
TZ
158182013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15819
15820 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15821 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15822
afff09d0
JL
158232013-03-20 Juri Linkov <juri@jurta.org>
15824
15825 * info.el (Info-next-reference-or-link)
15826 (Info-prev-reference-or-link): New functions.
15827 (Info-next-reference, Info-prev-reference): Use them.
15828 (Info-try-follow-nearest-node): Handle footnote navigation.
15829 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15830
9a1ff164
SM
158312013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15832
15833 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15834 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15835
2667d15d
PE
158362013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15837
15838 Suppress unnecessary non-ASCII chatter during build process.
15839 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15840 (batch-skkdic-convert): Suppress most of the chatter.
15841 It's not needed so much now that machines are faster,
15842 and its non-ASCII component was confusing; see Dmitry Gutov in
15843 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15844
438b0579
LL
158452013-03-20 Leo Liu <sdl.web@gmail.com>
15846
15847 * ido.el (ido-chop): Fix bug#10994.
15848
c128ab07
DG
158492013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15850
15851 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15852 Remove vars.
9a1ff164
SM
15853 (whitespace-color-on, whitespace-color-off):
15854 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 15855
0e6008c5
SM
158562013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15857
15858 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15859 remapping in mode-line.
15860 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15861
627b52b0
DG
158622013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15863
15864 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15865 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
15866 (whitespace-font-lock-keywords): Change description.
15867 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15868 the constructed keywords instead.
15869 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 15870
50c3a20b
LL
158712013-03-19 Leo Liu <sdl.web@gmail.com>
15872
15873 * progmodes/compile.el (compilation-display-error): New command.
15874 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15875 C-o. (Bug#13992)
15876
2aa2157b
PE
158772013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15878
15879 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15880
e477dbfa
JD
158812013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15882
15883 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15884
64ab82d1
MA
158852013-03-18 Michael Albinus <michael.albinus@gmx.de>
15886
15887 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15888
15889 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15890 * net/tramp-gvfs.el (top):
15891 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15892 (tramp-handle-shell-command): Use it.
15893 (tramp-dissect-file-name): Raise an error when hostname is a
15894 method name, and neither method nor user is specified.
15895
15896 * net/trampver.el: Update release number.
15897
33cef733
LL
158982013-03-18 Leo Liu <sdl.web@gmail.com>
15899
15900 Make sure eldoc can be turned off properly.
15901 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15902 eldoc-mode.
15903 (eldoc-display-message-p): Revert last change.
15904 (eldoc-display-message-no-interference-p)
15905 (eldoc-print-current-symbol-info): Tweak.
15906
2167b7b2
TH
159072013-03-18 Tassilo Horn <tsdh@gnu.org>
15908
15909 * doc-view.el (doc-view-new-window-function): Check the new window
15910 overlay's display property instead the char property of the
15911 buffer's first char. Use `with-selected-window' instead of
15912 `save-window-excursion' with `select-window'.
15913 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 15914 display property instead the char property of the buffer's first char.
2167b7b2 15915
982efbcd
PE
159162013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15917
15918 Automate the build of ja-dic.el (Bug#13984).
15919 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15920 from the input, rather than assume that it's been done for us by the
15921 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15922 the current date into a ja-dic.el comment, as that complicates
15923 regression testing.
15924
2fcc7665
SM
159252013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15926
15927 * whitespace.el: Fix double evaluation.
15928 (whitespace-space, whitespace-hspace, whitespace-tab)
15929 (whitespace-newline, whitespace-trailing, whitespace-line)
15930 (whitespace-space-before-tab, whitespace-indentation)
15931 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15932 obsolete defvars.
15933 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15934 (whitespace-color-on): Use a single font-lock-add-keywords call.
15935 Fix double-evaluation of face variables.
15936
67c0a6e6
MA
159372013-03-17 Michael Albinus <michael.albinus@gmx.de>
15938
2fcc7665
SM
15939 * net/tramp-adb.el (tramp-adb-parse-device-names):
15940 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 15941 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 15942
69489f1d
LL
159432013-03-17 Leo Liu <sdl.web@gmail.com>
15944
15945 Extend eldoc to display info in the mode-line. (Bug#13978)
15946 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15947 (eldoc-mode-line-string): New variable.
15948 (eldoc-minibuffer-message): New function.
15949 (eldoc-message-function): New variable.
15950 (eldoc-message): Use it.
15951 (eldoc-display-message-p)
2fcc7665
SM
15952 (eldoc-display-message-no-interference-p):
15953 Support eldoc-post-insert-mode.
69489f1d
LL
15954
15955 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15956 (eval-expression): Run it.
15957
9c44569e
RW
159582013-03-17 Roland Winkler <winkler@gnu.org>
15959
15960 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15961 strings in the list of return values.
15962
327f1f6f
JB
159632013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15964
15965 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15966 radix before checking for HMS forms.
15967
67ed8fcd
LL
159682013-03-16 Leo Liu <sdl.web@gmail.com>
15969
15970 * progmodes/scheme.el: Add indentation and font-locking for λ.
15971 (Bug#13975)
15972
78be8b64 159732013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
15974
15975 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15976 token before point (bug#13942).
15977
78be8b64 159782013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 15979
95b43468 15980 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 15981
98e775e6
EZ
159822013-03-16 Eli Zaretskii <eliz@gnu.org>
15983
15984 * startup.el (command-line-normalize-file-name): Fix handling of
15985 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15986 <xfq.free@gmail.com> in
15987 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15988
2edd6029
MA
159892013-03-15 Michael Albinus <michael.albinus@gmx.de>
15990
15991 Sync with Tramp 2.2.7.
15992
15993 * net/trampver.el: Update release number.
15994
d35f5864
TH
159952013-03-14 Tassilo Horn <tsdh@gnu.org>
15996
e903c210 15997 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
15998 (doc-view-insert-image): Don't modify overlay associated to
15999 non-live windows, and implement horizontal centering of image in
16000 case it's smaller than the window.
16001 (doc-view-new-window-function): Force redisplay of new windows on
16002 doc-view buffers.
d35f5864 16003
1c4a85ed
KF
160042013-03-13 Karl Fogel <kfogel@red-bean.com>
16005
16006 * saveplace.el (save-place-alist-to-file): Don't sort
16007 `save-place-alist', just pretty-print it (bug#13882).
16008
85b66a21
MA
160092013-03-13 Michael Albinus <michael.albinus@gmx.de>
16010
a020afb9
JB
16011 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16012 Check whether `default-file-name-coding-system' is bound.
16013 It isn't in XEmacs.
85b66a21 16014
175600da
SM
160152013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16016
e7f7cb1a
SM
16017 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16018 backquotes for `obsolete' (bug#13929).
16019
175600da
SM
16020 * international/mule.el (find-auto-coding): Include file name in
16021 obsolescence warning (bug#13922).
16022
ca68a22e
TZ
160232013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16024
16025 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16026 for CFEngine 3-specific indentation.
16027 (cfengine3-indent-line): Use it. Fix up category regex.
16028 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16029
940e5099
SM
160302013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16031
16032 * type-break.el (type-break-file-name):
16033 * textmodes/remember.el (remember-data-file):
16034 * strokes.el (strokes-file):
16035 * shadowfile.el (shadow-initialize):
16036 * saveplace.el (save-place-file):
16037 * ps-bdf.el (bdf-cache-file):
16038 * progmodes/idlwave.el (idlwave-config-directory):
16039 * net/quickurl.el (quickurl-url-file):
16040 * international/kkc.el (kkc-init-file-name):
16041 * ido.el (ido-save-directory-list-file):
16042 * emulation/viper.el (viper-custom-file-name):
16043 * emulation/vip.el (vip-startup-file):
16044 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16045 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16046
cc725808
PE
160472013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16048
16049 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16050 * language/thai-word.el: Switch to UTF-8.
16051
a020afb9 16052See ChangeLog.16 for earlier changes.
e3d51b27
MR
16053
16054;; Local Variables:
16055;; coding: utf-8
e3d51b27
MR
16056;; End:
16057
ba318903 16058 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
16059
16060 This file is part of GNU Emacs.
16061
16062 GNU Emacs is free software: you can redistribute it and/or modify
16063 it under the terms of the GNU General Public License as published by
16064 the Free Software Foundation, either version 3 of the License, or
16065 (at your option) any later version.
16066
16067 GNU Emacs is distributed in the hope that it will be useful,
16068 but WITHOUT ANY WARRANTY; without even the implied warranty of
16069 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16070 GNU General Public License for more details.
16071
16072 You should have received a copy of the GNU General Public License
16073 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.