Fix bug #17524 with crashes in creating a new frame with invalid font.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
08a2434e
SM
12014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
4 (bug#17392).
5
43425aec
MA
62014-05-17 Michael Albinus <michael.albinus@gmx.de>
7
8 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9 for a temporary file name.
10
1e046d37
EZ
112014-05-17 Eli Zaretskii <eliz@gnu.org>
12
13 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
14
1bafb1de
MA
152014-05-16 Michael Albinus <michael.albinus@gmx.de>
16
17 * net/dbus.el (dbus-init-bus, dbus-call-method)
18 (dbus-call-method-asynchronously, dbus-send-signal)
e8cbb768 19 (dbus-method-return-internal, dbus-method-error-internal):
1bafb1de
MA
20 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
21
ec264fbb
NR
222014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
23
24 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
25 methods which do not have a doc string. (Bug#17490)
26
34cba8e8
SB
272014-05-14 Stephen Berman <stephen.berman@gmx.net>
28 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
31 suffix (bug#15419).
32
a5d09243
GM
332014-05-14 Glenn Morris <rgm@gnu.org>
34
35 * vc/emerge.el (emerge-temp-file-prefix):
36 Make pointless option obsolete.
37 (emerge-temp-file-mode): Make non-functional option obsolete.
38
e95b937a
MA
392014-05-13 Michael Albinus <michael.albinus@gmx.de>
40
41 * net/browse-url.el (browse-url):
42 Use `unhandled-file-name-directory' when setting `default-directory',
43 in order to circumvent stalled remote connections. (Bug#17425)
44
97100b43
SM
452014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
48 into autoloading just because of a silly indirection.
49
0add0959
SPM
502014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
51
52 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
53
e7caef59
GM
542014-05-11 Glenn Morris <rgm@gnu.org>
55
56 * emacs-lisp/find-gc.el: Move to ../admin.
57
8c6699ab
GM
582014-05-10 Glenn Morris <rgm@gnu.org>
59
6b45ef35
GM
60 * printing.el (pr-version):
61 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
62
8c6699ab
GM
63 * net/browse-url.el (browse-url-mosaic):
64 Create /tmp/Mosaic.PID as a private file.
65
5d03fb43
SM
662014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
69 (advice--member-p): If name is given, only compare the name.
70 (advice--remove-function): Don't stop at the first match.
71 (advice--normalize-place): New function.
72 (add-function, remove-function): Use it.
73 (advice--add-function): Pass the name, if any, to
74 advice--remove-function.
75
3ebdceaf
PR
762014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
77
78 * electric.el (electric-indent-post-self-insert-function): Don't use
79 `pos' after modifying the buffer (bug#17449).
80
a3eda656
SM
812014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * subr.el (function-put): Add function.
84
472c15bf
SB
852014-05-09 Stephen Berman <stephen.berman@gmx.net>
86
87 * calendar/todo-mode.el (todo-insert-item-from-calendar):
88 Correct argument list to conform to todo-insert-item--basic.
89
bb1f4b8f
GM
902014-05-09 Glenn Morris <rgm@gnu.org>
91
2651ed05
GM
92 * files.el (cd-absolute): Test if directory is accessible
93 rather than executable. (Bug#17330)
94
bb1f4b8f
GM
95 * progmodes/compile.el (recompile):
96 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
97
c055a50b
JL
982014-05-08 Juri Linkov <juri@jurta.org>
99
100 * dired.el (dired-check-switches, dired-switches-recursive-p):
101 New functions. (Bug#17218)
102 (dired-switches-escape-p, dired-move-to-end-of-filename):
103 Use `dired-check-switches'.
104 (dired-insert-old-subdirs, dired-build-subdir-alist)
105 (dired-sort-R-check): Use `dired-switches-recursive-p'.
106
4049faae
GM
1072014-05-08 Glenn Morris <rgm@gnu.org>
108
109 * net/browse-url.el (browse-url-mosaic):
110 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
111 This is CVE-2014-3423.
112
b406487f
SM
1132014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
114
115 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
116 (xterm-mouse--read-event-sequence-1000): Return nil if something
117 looks fishy.
118 (xterm-mouse-event): Propagate it.
119 (xterm-mouse-translate-1): Handle it.
120
1ddb2150
SB
1212014-05-07 Stephen Berman <stephen.berman@gmx.net>
122
123 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
124 four slots of the parameter list are filled, make sure to pass it
125 to the argument list of todo-insert-item--basic.
126
5e87fcb1
SM
1272014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
130 Add optional `seen' argument to detect and break infinite loops.
131
c5d670f5
EZ
1322014-05-06 Eli Zaretskii <eliz@gnu.org>
133
134 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
135 (trace-unsafe, trace-use-tree): Make parentheses style be
136 according to Emacs style.
137
3e59ead1
MA
1382014-05-06 Michael Albinus <michael.albinus@gmx.de>
139
5e87fcb1
SM
140 * net/tramp-sh.el (tramp-remote-process-environment):
141 Remove HISTFILE and HISTSIZE; it's too late to set them here.
142 Add :version entry.
143 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
e95b937a 144 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
145 extra "PSx=..." commands.
146 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
147 (Bug#17295)
148
23e19cf2
MA
149 (tramp-uudecode): Replace the hard-coded temporary file name by a
150 format specifier.
151 (tramp-remote-coding-commands): Enhance docstring.
152 (tramp-find-inline-encoding): Replace "%t" by a temporary file
153 name. (Bug#17415)
a9fd3545 154 This is CVE-2014-3424.
23e19cf2 155
0c4decae
GM
1562014-05-06 Glenn Morris <rgm@gnu.org>
157
158 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
159 (find-gc-source-files): Update some names.
160 (trace-call-tree): Simplify and update.
161 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
a9fd3545 162 This is CVE-2014-3422.
0c4decae 163
c22f24f6
SM
1642014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
165
bf67c3f7
SM
166 * minibuffer.el (completion--try-word-completion): Revert fix for
167 Bug#15980 (bug#17375).
168
c22f24f6
SM
169 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
170 Always store button numbers in the same way in xterm-mouse-last;
171 Don't burp is xterm-mouse-last is not set as expected.
172 Never return negative indices.
173
4dd3c4d5
DG
1742014-05-05 Dmitry Gutov <dgutov@yandex.ru>
175
176 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
177 Backtrack one char if the global/char-literal var matcher hits
178 inside a string. The next char could be the beginning of an
179 expression expansion.
180
6da8d069
GM
1812014-05-05 Glenn Morris <rgm@gnu.org>
182
183 * help-fns.el (describe-function-1): Test for an autoload before a
184 macro, since `macrop' works on autoloads. (Bug#17410)
185
dccb0688
SM
1862014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
187
e6025d72
SM
188 * electric.el (electric-indent-functions-without-reindent): Add yaml.
189
dccb0688
SM
190 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
191 Make sure the new point we return is within the new string (bug#17239).
192
74a9022a
EZ
1932014-05-03 Eli Zaretskii <eliz@gnu.org>
194
195 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
196
e6cf6ca0
SM
1972014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
200 Use nil rather than `default' for the "default" appearance (bug#17388).
201 * vc/ediff-util.el (ediff-inferior-compare-regions)
202 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
203 a misleading `default' value when it's really a boolean.
204 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
205 overlay is not visible.
206
7bd9ce64
SB
2072014-05-02 Stephen Berman <stephen.berman@gmx.net>
208
209 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
210 (todo-menu): Uncomment and update.
211
aed4b12d
SB
2122014-05-02 Stephen Berman <stephen.berman@gmx.net>
213
214 * calendar/todo-mode.el: Reimplement item editing to have the same
215 basic user interface as item insertion, and make small UI and
216 larger internal improvements to the latter.
217 (todo-insert-item): Add reference to the Todo mode user manual to
218 the documentation string.
219 (todo-insert-item--basic): Rename from todo-basic-insert-item and
220 adjust all callers. Change signature to combine diary and
221 nonmarking arguments. Incorporate functionality of deleted item
222 copying command and add error checking. Remove detailed
223 descriptions of the arguments from the documentation string, since
224 this is treated in the Todo mode user manual.
225 (todo-copy-item, todo-edit-multiline-item)
226 (todo-edit-done-item-comment, todo-edit-item-header)
227 (todo-edit-item-time, todo-edit-item-date-from-calendar)
228 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
229 (todo-edit-item-date-year, todo-edit-item-date-month)
230 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
231 Remove.
232 (todo-edit-item): Reimplement as wrapper command for
233 todo-edit-item--next-key and make it distinguish done and not done
234 todo items.
235 (todo-edit-item--text): New function, replacing old command
236 todo-edit-item and incorporating deleted commands
237 todo-edit-multiline-item and todo-edit-done-item-comment.
238 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
239 Use only numeric value of prefix argument. Remove detailed
240 descriptions of the arguments from the documentation string, since
241 this is treated in the Todo mode user manual.
242 (todo-edit-item--diary-inclusion): New function, replacing old
243 command todo-edit-item-diary-inclusion and incorporating and fixing
244 functionality of deleted command todo-edit-item-diary-nonmarking,
245 making sure to remove todo-nondiary-marker when adding
246 diary-nonmarking-symbol.
247 (todo-edit-category-diary-inclusion): Make sure to delete
248 diary-nonmarking-symbol when adding todo-nondiary-marker.
249 (todo-edit-category-diary-nonmarking): Fix indentation.
250 (todo-insert-item--parameters): Group diary and nonmarking
251 parameters together.
252 (todo-insert-item--apply-args): Adjust to signature of
253 todo-insert-item--basic and incorporate copy parameter.
254 Make small code improvements.
255 (todo-insert-item--next-param): Improve prompt and adjust it to
256 new parameter grouping. Remove obsolete code.
257 (todo-edit-item--param-key-alist)
258 (todo-edit-item--date-param-key-alist)
259 (todo-edit-done-item--param-key-alist): New defconsts.
260 (todo-edit-item--prompt): New variable.
261 (todo-edit-item--next-key): New function.
5e87fcb1
SM
262 (todo-key-bindings-t): Bind "e" to todo-edit-item.
263 Remove bindings of deleted commands.
aed4b12d 264
157e8cfd
LL
2652014-05-02 Leo Liu <sdl.web@gmail.com>
266
267 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
268
d136f184
GM
2692014-05-01 Glenn Morris <rgm@gnu.org>
270
271 * allout-widgets.el (allout-widgets-tally)
272 (allout-decorate-item-guides):
273 * menu-bar.el (menu-bar-positive-p):
274 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
275 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
276 * progmodes/js.el (js--inside-param-list-p)
277 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
278 * progmodes/prolog.el (region-exists-p):
279 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
280 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
281 Doc fixes (replace `iff').
282
4ec0cf9c
SM
2832014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
286
72962dd8
EZ
2872014-04-30 Eli Zaretskii <eliz@gnu.org>
288
289 * dired.el (dired-initial-position-hook, dired-initial-position):
290 Doc string fixes.
291
9a3f71f7
GM
2922014-04-29 Glenn Morris <rgm@gnu.org>
293
294 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
295
bc6953b3
MD
2962014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
297
298 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 299 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
300 overriden by the defface spec which also fixes issues on win32 where
301 the toolbar coloring was wrong because it is set through X resources
302 and was (wrongfully) overriden. (Bug#16694)
303
4f5fa755
SM
3042014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * textmodes/rst.el (electric-pair-pairs): Declare.
307 (rst-mode): Set it (bug#17131).
308
8e554df0
JL
3092014-04-27 Juri Linkov <juri@jurta.org>
310
311 * desktop.el (desktop-value-to-string): Let-bind `print-length'
312 and `print-level' to nil. (Bug#17351)
313
0507406b
NR
3142014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
315
316 * battery.el (battery-update): Handle the case where battery
317 status is "N/A" (bug#17319).
318
bc0650fd
EZ
3192014-04-24 Eli Zaretskii <eliz@gnu.org>
320
0507406b
NR
321 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
322 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 323
00104e59
LL
3242014-04-24 Leo Liu <sdl.web@gmail.com>
325
326 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
327 Fix syntax for @. (Bug#17325)
328
543e3c63
DC
3292014-04-24 Daniel Colascione <dancol@dancol.org>
330
331 * emacs-lisp/cl.el (gv): Require gv early to break eager
332 macro-expansion cycles.
333
c0868451
SM
3342014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
335
05452dc4
SM
336 * simple.el (region-active-p): Check there's a mark (bug#17324).
337
0e8a9331
SM
338 * simple.el (completion-list-mode-map): Use choose-completion for the
339 mouse binding as well (bug#17302).
340 (completion-list-mode, completion-setup-function): Adjust docstring and
341 echo area message accordingly.
342 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
343 calling convention of choose-completion.
344 * comint.el (comint-dynamic-list-completions):
345 * term.el (term-dynamic-list-completions): Accept choose-completion.
346
c0868451
SM
347 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
348 &, |, +, - and * can't be a division (bug#17317).
349
f7e0450a
SM
3502014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
351
352 * term/xterm.el (xterm--version-handler): Don't use modern xterm
353 features on gnome-terminal (bug#16988).
354
f2df692c
MH
3552014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
356
357 * dired.el (dired-insert-set-properties): Do not consider
358 subdirectory headings and empty lines to be information that
359 `dired-hide-details-mode' should hide. (Bug#17228)
360
14828a95
MA
3612014-04-22 Michael Albinus <michael.albinus@gmx.de>
362
363 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
364 Remove test messages.
365 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
366 and `target' twice.
367
622eef68
SM
3682014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
369
9c104369
SM
370 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
371 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
372
622eef68
SM
373 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
374
505fa2ab
MA
3752014-04-21 Michael Albinus <michael.albinus@gmx.de>
376
622eef68
SM
377 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
378 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
379 the file name. Add test messages for hunting a bug on hydra.
380 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
381
f0ffb9b7
SM
3822014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
385 Don't prettify a word within a symbol.
386
feb5d8a4
MA
3872014-04-20 Michael Albinus <michael.albinus@gmx.de>
388
389 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
390 possible.
391
fe36068f
SM
3922014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
395 assignments such as "case=hello" (bug#17297).
396
ce8c5107
MA
3972014-04-18 Michael Albinus <michael.albinus@gmx.de>
398
399 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
400 Do not autoload.
401 (tramp-file-name-handler, tramp-completion-file-name-handler):
402 Revert patch from 2014-04-10, it isn't necessary anymore.
403 (tramp-autoload-file-name-handler)
404 (tramp-register-autoload-file-name-handlers): New defuns.
405 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
406 (tramp-register-file-name-handlers): Remove also
407 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
408 Do not autoload its invocation, but eval it after loading of 'tramp.
409
410 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
411
412 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
413
c76a7a5c
SM
4142014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
415
b262bde3
SM
416 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
417 was done (bug#17264).
418 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
419 comment to EOB.
420
c76a7a5c
SM
421 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
422 here-documents (bug#17262).
423
bf6b4923
EZ
4242014-04-16 Eli Zaretskii <eliz@gnu.org>
425
c76a7a5c
SM
426 * term/pc-win.el (x-list-fonts, x-get-selection-value):
427 Provide doc strings, as required by snarf-documentation.
bf6b4923 428
20fa59a0
SM
4292014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
430
431 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
432 arg of overlays-at. Use `invisible-p'.
433
434 * obsolete/lucid.el (extent-at):
435 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
436 overlays-at.
437 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
438
f596f897
JT
4392014-04-14 João Távora <joaotavora@gmail.com>
440
441 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
442 links. (Bug#17217).
443
a73b9dda
YM
4442014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
445
446 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
447 Use mapc to loop over a vector. (Bug#17257).
448
f2d164a4
MA
4492014-04-13 Michael Albinus <michael.albinus@gmx.de>
450
451 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
452 patch, there are new problems with file names containing spaces.
453 Get rid of backticks. (Bug#17238)
454
498d3768
JT
4552014-04-13 João Távora <joaotavora@gmail.com>
456
457 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
458 possible bug.
459
83451189
EZ
4602014-04-13 Eli Zaretskii <eliz@gnu.org>
461
462 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
463 (blink-cursor-mode): Mention customization variables and the
464 effect of 'blink-cursor-blinks'.
465
175a3a51
BR
4662014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
467
468 * simple.el (undo): Prevent insertion of identity mapping into
469 undo-equiv-table so as undo-only does not inf loop in the presence
470 of consecutive nils in undo list.
471
5f91455c
MD
4722014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
473
474 * faces.el (make-face): Deprecate optional argument as it is no
475 longer needed/used since the conditional X resources handling
476 has been pushed down to make-face-x-resource-internal itself.
477 (make-empty-face): Don't pass optional argument to make-face.
478
ac387dd1
EZ
4792014-04-12 Eli Zaretskii <eliz@gnu.org>
480
481 * international/characters.el <standard-case-table>: Add entries
482 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 483 Set category of Coptic characters be 'g' (Greek).
ac387dd1 484
2e611da6
LL
4852014-04-12 Leo Liu <sdl.web@gmail.com>
486
487 * progmodes/octave.el (completion-table-with-cache): Define if not
488 available.
489 (octave-goto-function-definition)
490 (octave-sync-function-file-names)
491 (octave-find-definition-default-filename): Backquote upattern for
492 compatibility.
493
f628e17c
MA
4942014-04-11 Michael Albinus <michael.albinus@gmx.de>
495
496 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
497 name twice due to backticks. (Bug#17238)
498
fd492166
GM
4992014-04-11 Glenn Morris <rgm@gnu.org>
500
501 * term/w32-win.el (x-win-suspend-error):
502 * term/x-win.el (x-win-suspend-error): Sync docs.
503
e46561a2
SM
5042014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 Ediff's overlay priorities cause more trouble than they solve.
507 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
508 (ediff-highest-priority): Remove function (bug#17234).
509 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
510 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
511 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
512 overlay priorities.
513
39764caa
FL
5142014-04-10 Feng Li <fengli@gmail.com> (tiny change)
515
516 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
517 entry; use symbol boundaries to avoid mis-matches.
518
bcbb83a9
MA
5192014-04-10 Michael Albinus <michael.albinus@gmx.de>
520
521 * net/tramp.el (tramp-file-name-handler)
522 (tramp-completion-file-name-handler): Avoid recursive loading.
523
524 * net/tramp-sh.el (tramp-make-copy-program-file-name):
525 Quote result also locally.
526
0122b24d
DG
5272014-04-09 Dmitry Gutov <dgutov@yandex.ru>
528
529 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
530 Module methods. (Bug#17216)
531
5b9925ae
SM
5322014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
533
534 * help.el (describe-bindings): Fix buffer handling (bug#17210).
535 (describe-bindings-internal): Mark obsolete.
536
190f899a
JT
5372014-04-07 João Távora <joaotavora@gmail.com>
538
539 * elec-pair.el:
540 (electric-pair--syntax-ppss): When inside comments parse from
541 comment beginning.
542 (electric-pair--balance-info): Fix typo in comment.
543 (electric-pair--in-unterminated-string-p): Delete.
544 (electric-pair--unbalanced-strings-p): New function.
545 (electric-pair-string-bound-function): New var.
546 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
547 according to `electric-pair--in-unterminated-string-p'
548
528c33b5
JT
5492014-04-07 João Távora <joaotavora@gmail.com>
550
5b9925ae
SM
551 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
552 Inhibit quote pairing if point-max is inside an unterminated string.
553 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
554 (electric-pair--in-unterminated-string-p): New function.
555
a9c921e6
GM
5562014-04-07 Glenn Morris <rgm@gnu.org>
557
558 * shell.el (shell-directory-tracker):
559 Go back to just ignoring failures. (Bug#17159)
560
be411138
JT
5612014-04-06 João Távora <joaotavora@gmail.com>
562
563 Fix `electric-pair-delete-adjacent-pairs' in modes binding
564 backspace. (bug#16981)
565 * elec-pair.el (electric-pair-backward-delete-char): Delete.
566 (electric-pair-backward-delete-char-untabify): Delete.
567 (electric-pair-mode-map): Bind backspace to a menu item filtering
568 a new `electric-pair-delete-pair' command.
569 (electric-pair-delete-pair): New command.
570
7aecc2f6
JT
5712014-04-06 João Távora <joaotavora@gmail.com>
572
5b9925ae
SM
573 * progmodes/python.el (python-electric-pair-string-delimiter):
574 Fix triple-quoting electricity. (Bug#17192)
7aecc2f6 575
89f20f76
JT
5762014-04-06 João Távora <joaotavora@gmail.com>
577
5b9925ae
SM
578 * elec-pair.el (electric-pair-post-self-insert-function):
579 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 580 `electric-pair-pairs' were used. syntax to
7aecc2f6 581 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 582
c8e7f832
EZ
5832014-04-06 Eli Zaretskii <eliz@gnu.org>
584
585 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
586 "<F>". (Bug#17199)
587
0beb7fb7
SM
5882014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
591 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
592
50ea0f87
GM
5932014-04-05 Glenn Morris <rgm@gnu.org>
594
595 * help.el (view-lossage): Doc tweak.
596
89980eae 5972014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
eb7a03cc
MD
598
599 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
600 only when inhibit-x-resources is nil, and do that earlier in the
601 function. Doc fix. (Bug#16694)
fdafd487
MD
602 (face-spec-choose): Accept additional optional argument, whose
603 value is returned if no matching attributes are found.
604 (face-spec-recalc): Use the new optional argument when calling
605 face-spec-choose. (Bug#16378)
f5e4494c
MD
606 (make-face-x-resource-internal): Do nothing when
607 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 608 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
609 (face-set-after-frame-default): Don't call
610 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 611
3ccd4eaf
TH
6122014-04-04 Tassilo Horn <tsdh@gnu.org>
613
0beb7fb7
SM
614 * doc-view.el (doc-view-bookmark-jump):
615 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
616 buffer is shown in a window. (bug#16090)
617
b7cf27ed
EZ
6182014-04-04 Eli Zaretskii <eliz@gnu.org>
619
620 * international/characters.el (mirroring): Fix last change:
621 instead of loading uni-mirrored.el explicitly, do that implicitly
622 by creating the 'mirroring' uniprop table. This avoids announcing
623 the loading of uni-mirrored.el.
624
8a1d24b1
GM
6252014-04-04 Glenn Morris <rgm@gnu.org>
626
627 * files.el (buffer-stale--default-function)
628 (buffer-stale-function, revert-buffer--default):
629 * autorevert.el (auto-revert-buffers): Doc tweaks.
630
bbab1c4f
EZ
6312014-04-03 Eli Zaretskii <eliz@gnu.org>
632
633 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
634
d738ebdc
GM
6352014-04-03 Glenn Morris <rgm@gnu.org>
636
637 * files.el (make-backup-file-name-function)
638 (make-backup-file-name, make-backup-file-name--default-function)
639 (make-backup-file-name-1, find-backup-file-name)
640 (revert-buffer-function, revert-buffer-insert-file-contents-function)
641 (buffer-stale--default-function, buffer-stale-function)
642 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
643 (revert-buffer, revert-buffer--default)
644 (revert-buffer-insert-file-contents--default-function):
645 Doc fixes related to defaults no longer being nil.
646 (make-backup-file-name-function): Bump :version.
647 Restore nil as a valid but deprecated custom type.
648
062e286b
SM
6492014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
650
651 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
652 used as a variable (bug#17174).
653
66f50b12
SM
6542014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * progmodes/perl-mode.el (perl-indent-new-calculate):
657 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
658 (perl-syntax-propertize-function): Add "foreach" and "for" statement
659 modifiers introducing expressions (bug#17116).
66f50b12 660
c7510f6e
GM
6612014-04-02 Glenn Morris <rgm@gnu.org>
662
0b908bf2
GM
663 * menu-bar.el (menu-bar-file-menu):
664 * vc/ediff.el (ediff-current-file):
665 Update for revert-buffer-function no longer being nil by default.
666
c7510f6e
GM
667 * simple.el (command-execute): Respect nil disabled-command-function.
668
6116a727
NR
6692014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
670
671 * simple.el (command-execute): Do not execute the command when it
672 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
673
8778eb5e
JL
6742014-03-29 Juri Linkov <juri@jurta.org>
675
676 * dired-aux.el (dired-compress-file): Don't use string-match-p
677 because its match data is used afterwards.
678
929c0500
SM
6792014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
680
681 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
682 0 like nil.
683
42ebc34e
DG
6842014-03-27 Dmitry Gutov <dgutov@yandex.ru>
685
929c0500
SM
686 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
687 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 688
42ebc34e
DG
689 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
690 Don't propertize `?' or `!' as symbol constituent when after
691 colon. (Bug#17097)
692
b1c870c9
JB
6932014-03-27 Juanma Barranquero <lekktu@gmail.com>
694
857ba6ec
JB
695 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
696 which is no longer needed and causes trouble in GTK builds (bug#17046).
697
b1c870c9
JB
698 * emacs-lisp/package-x.el (package--archive-contents-from-url):
699 Use url-insert-file-contents; package-handle-response no longer exists.
700
196716cf
JB
7012014-03-26 Juanma Barranquero <lekktu@gmail.com>
702
703 * emacs-lisp/package.el: Fix bug#16733 (again).
704 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
705 (url-http-target-url): Remove unused declarations.
706 (package-handle-response): Remove.
707 (package--with-work-buffer): Use url-insert-file-contents and simplify.
708 (package--download-one-archive): Use current-buffer instead of
709 dynamic binding of `buffer'.
710 (describe-package-1): Do not decode readme-string.
711
657e54f7
BR
7122014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
713
714 * simple.el (primitive-undo): Correction to 2014-03-24 change.
715
1f73d6c6
MA
7162014-03-25 Michael Albinus <michael.albinus@gmx.de>
717
718 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
719
720 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
721 from 2014-03-07, it decreases performance unnecessarily. Let-bind
722 `remote-file-name-inhibit-cache' to nil in the second pass.
723 (tramp-find-executable): Do not call "which" on SunOS.
724 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
725 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
726 check whether source directory has set the sticky bit.
1f73d6c6 727
37ea8275
BR
7282014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
729
730 * simple.el (primitive-undo): Only process marker adjustments
731 validated against their corresponding (TEXT . POS). Issue warning
732 for lone marker adjustments in undo history. (Bug#16818)
733 (undo-make-selective-list): Add marker adjustments to selective
734 undo list based on whether their corresponding (TEXT . POS) is in
735 the region. Remove variable adjusted-markers, which was unused
736 and only non nil during undo-make-selective-list.
737 (undo-elt-in-region): Return nil when passed a marker adjustment
738 and explain in function doc.
739
3e2377ce
DG
7402014-03-24 Dmitry Gutov <dgutov@yandex.ru>
741
742 * emacs-lisp/package.el (package--add-to-archive-contents):
743 Include already installed and built-in packages in
744 `package-archive-contents'.
745 (package-install): Don't include already installed packages in the
746 options during interactive invocation. (Bug#16762)
747
544ab460
DC
7482014-03-24 Daniel Colascione <dancol@dancol.org>
749
750 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
751 instead of cl-loop search function.
752
c3561529
JB
7532014-03-24 Juanma Barranquero <lekktu@gmail.com>
754
755 * frameset.el (frameset--initial-params): Fix typo in parameter name.
756
74be1649
NR
7572014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
758
759 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
760
c2d6c639
DG
7612014-03-24 Dmitry Gutov <dgutov@yandex.ru>
762
763 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
764 Match special global variables without curlies, too.
765 (ruby-font-lock-keywords): Simplify the matcher for special global
766 variables. Don't require a non-word character after the variable.
767 (Bug#17057)
768
f6614a47
SM
7692014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
770
771 * simple.el (redisplay-highlight-region-function): Increase priority of
772 overlay to make sure boundaries are visible (bug#15899).
773
3ea2c781
JB
7742014-03-23 Juanma Barranquero <lekktu@gmail.com>
775
ee79b33f
JB
776 * frameset.el (frameset-restore): Compare display strings with equal.
777
3ea2c781
JB
778 * frame.el (make-frame): Don't quote display name in error message,
779 it is already a string.
780
f1e06f7b
TV
7812014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
782
783 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
784 the password.
785
2614c1af
DG
7862014-03-23 Dmitry Gutov <dgutov@yandex.ru>
787
788 * emacs-lisp/package.el (package-show-package-list): If the buffer
789 is already displayed in another window, switch to that window.
790
a41475e1
DC
7912014-03-21 Daniel Colascione <dancol@dancol.org>
792
793 * mail/emacsbug.el (report-emacs-bug): Include memory usage
794 information in bug reports.
795
7eab98da
DC
7962014-03-23 Daniel Colascione <dancol@dancol.org>
797
798 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
799 list to look for keyword arguments instead of `memq', fixing
800 (Bug#3647) --- unfortunately, only for freshly-compiled code.
801 Please make bootstrap.
802
9e37f3b9
RS
8032014-03-23 Richard Stallman <rms@gnu.org>
804
805 * battery.el (battery-linux-sysfs): Search for each field
806 from the beginning of the buffer.
807
1197f2e6
DG
8082014-03-22 Dmitry Gutov <dgutov@yandex.ru>
809
810 * emacs-lisp/package.el (package-desc): Use the contents of the
811 quoted form, not its cdr. (Bug#16873)
812
aac06179
JB
8132014-03-22 Juanma Barranquero <lekktu@gmail.com>
814
815 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
816 benefit of doc.c; change parameter profile to match the X function.
817
1e92a8a3
MA
8182014-03-21 Michael Albinus <michael.albinus@gmx.de>
819
820 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
821 and `tramp-copy-env'.
822
823 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
824 (tramp-maybe-open-connection): Handle `tramp-login-env'.
825
78540c42
GM
8262014-03-21 Glenn Morris <rgm@gnu.org>
827
828 * electric.el (electric-indent-post-self-insert-function): Add doc.
829
1fc8f655
DG
8302014-03-21 Dmitry Gutov <dgutov@yandex.ru>
831
dcf78667
DG
832 * emacs-lisp/package.el (package-compute-transaction):
833 Use `version-list-<=' to compare the requirement version against
834 the version of package already to be installed. Update the error
835 message. (Bug#16826)
836
1fc8f655
DG
837 * progmodes/ruby-mode.el (ruby-smie-rules):
838 Add indentation rule for ` @ '. (Bug#17050)
839
dada060d
JB
8402014-03-21 Juanma Barranquero <lekktu@gmail.com>
841
842 * align.el (align-regexp): Remove superfluous backslash.
843
844 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
845 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
846 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
847 Fix docstring typos.
848 (ffap-next): Use C-u in docstring.
849 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
850 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
851 Remove superfluous backslashes.
852 (ffap-string-at-point): Reflow docstring.
853
854 * server.el (server-host): Reflow docstring.
855 (server-unload-function): Fix docstring typo.
856 (server-eval-at): Remove superfluous backslash.
857
858 * skeleton.el (skeleton-insert): Remove superfluous backslash.
859 (skeleton-insert): Doc fix.
860 (skeleton-insert): Reflow docstring.
861
862 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
863 (tty-color-approximate, tty-color-by-index, tty-color-values)
864 (tty-color-desc): Remove superfluous backslashes.
865
049fac7c
SM
8662014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
867
494ec1e7
SM
868 * electric.el (electric-newline-and-maybe-indent): New command.
869 Bind it globally to C-j.
870 (electric-indent-mode): Don't mess with the global map any more.
871 Don't drop the post-self-insert-hook is some buffer is still using it
872 (bug#16770).
66f50b12 873
494ec1e7
SM
874 * bindings.el (global-map): Remove C-j binding.
875
049fac7c
SM
876 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
877 the docstring of functions advised before dumping (bug#16993).
878
f15ec1ba 8792014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
880
881 * ps-print.el (ps-generate-postscript-with-faces):
882 Explicitly deactivate the mark (bug#16866).
883 * simple.el (deactivate-mark): Update region highlight.
884
f88bdc45
JB
8852014-03-19 Juanma Barranquero <lekktu@gmail.com>
886
887 * emacs-lisp/package.el (describe-package-1):
888 Decode commentary (bug#16733).
889
6b88e570
JB
8902014-03-18 Juanma Barranquero <lekktu@gmail.com>
891
892 * custom.el (defcustom): Doc fix: recommend avoiding destructive
893 modification of the value argument of :set (bug#16755).
894
ac9b4703
SM
8952014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * simple.el (newline-and-indent): Do autofill (bug#17031).
898
2b7858ec
DG
8992014-03-18 Dmitry Gutov <dgutov@yandex.ru>
900
901 * newcomment.el (comment-normalize-vars): Only add escaping check
902 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
903 (comment-beginning): Use `narrow-to-region' instead of moving back
904 one character.
905 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
906 (comment-start-skip): Update the docstring.
907
11eff3ae
RS
9082014-03-18 Richard Stallman <rms@gnu.org>
909
910 * dired.el (dired-display-file): Force use of other window.
911
07f44fdb
JB
9122014-03-18 Daniel Colascione <dancol@dancol.org>
913
914 * startup.el (tty-handle-args): Remove debug message from 2007.
915
9162014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
917
918 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
919 (advice--make-interactive-form): Use it to avoid (auto)loading function.
920 (advice--make-1, advice-add, advice-remove):
921 Remove braindead :advice-pending hack.
922
61debe4a
GM
9232014-03-17 Glenn Morris <rgm@gnu.org>
924
925 * calendar/calendar.el (calendar-generate-month): Apply weekend
926 face to the right days; fixes 2013-08-06 change. (Bug#17028)
927
8273986b
MA
9282014-03-17 Michael Albinus <michael.albinus@gmx.de>
929
930 * net/tramp.el (tramp-action-out-of-band): Read pending output.
931 (tramp-call-process): Trace also DESTINATION.
932
933 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
934 Quote file names when they are local. Remove superfluous trace.
935
4f8aeb84
DG
9362014-03-17 Dmitry Gutov <dgutov@yandex.ru>
937
218feefc
DG
938 * newcomment.el (comment-beginning): If `comment-start-skip'
939 doesn't match, move back one char and try again. (Bug#16971)
940
6c187ef5
SM
941 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
942 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
943 Set `comment-start-skip' to a simpler value that doesn't try to
944 check if the semicolon is escaped (this is handled by
945 `syntax-ppss' now). (Bug#16971)
946
947 * progmodes/scheme.el (scheme-mode-variables): Same.
948
b92631bf
MR
9492014-03-16 Martin Rudalics <rudalics@gmx.at>
950
951 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
952 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
953 current (Bug#16816, Bug#17007).
954 (with-current-buffer-window): New macro doing the same as
955 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
956 * help.el (help-print-return-message): Warn in doc-string to not
957 use this in `with-help-window'.
958 (describe-bindings-internal): Call `describe-buffer-bindings'
959 from within help buffer. See Juanma's scenario in (Bug#16816).
960 (with-help-window): Update doc-string.
961 * dired.el (dired-mark-pop-up):
962 * files.el (save-buffers-kill-emacs):
963 * register.el (register-preview): Use `with-current-buffer-window'
964 instead of `with-temp-buffer-window'.
965
57348c4d
JB
9662014-03-16 Juanma Barranquero <lekktu@gmail.com>
967
968 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
969 Implement inserting into current buffer, documented in their docstrings.
970 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
971 (rst-section-tree-point, rst-forward-section, rst-indent)
972 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
973 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
974 (rst-font-lock-handle-adornment-pre-match-form)
975 (rst-repeat-last-character): Reflow docstrings.
976 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
977 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
978 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
979 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
980 Fix docstring typos.
981 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
982 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
983 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
984
fd16b061
JB
9852014-03-15 Juanma Barranquero <lekktu@gmail.com>
986
a2403e3d
JB
987 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
988 for compatibility with other ports.
989 (ns-initialize-window-system): Use it. It is set in term/common-win.el
990 from the -xrm command line argument, but in the Nextstep port its value
991 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
992
fd16b061
JB
993 * progmodes/python.el (defconst, python-syntax-count-quotes)
994 (python-indent-region, python-indent-shift-right)
995 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
996 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
997 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
998 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
999 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1000 (python-shell-buffer-substring, python-shell-send-buffer)
1001 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1002 (python-completion-complete-at-point, python-fill-docstring-style)
1003 (python-eldoc-function, python-imenu-format-item-label)
1004 (python-imenu-format-parent-item-label)
1005 (python-imenu-format-parent-item-jump-label)
1006 (python-imenu--build-tree, python-imenu-create-index)
1007 (python-imenu-create-flat-index): Fix docstring typos.
1008 (python-indent-context, python-shell-prompt-regexp, run-python):
1009 Remove superfluous backslashes.
1010 (python-indent-line, python-nav-beginning-of-defun)
1011 (python-shell-get-buffer, python-shell-get-process)
1012 (python-info-current-defun, python-info-current-line-comment-p)
1013 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1014 (python-indent-post-self-insert-function, python-shell-send-file)
1015 (python-shell-completion-get-completions)
1016 (python-shell-completion-complete-or-indent)
1017 (python-eldoc--get-doc-at-point): Reflow docstrings.
1018
e94807f0
GM
10192014-03-14 Glenn Morris <rgm@gnu.org>
1020
88103345
GM
1021 * emacs-lisp/package.el (package-menu-mode-map):
1022 Replace use of obsolete function alias. Tweak menu item text.
1023
f2dd4ba8
GM
1024 * info.el (Info-finder-find-node):
1025 Ignore the `emacs' metapackage. (Bug#10813)
1026
ac0f82ef
GM
1027 * finder.el (finder-list-matches): Include unversioned packages
1028 in the result of a keyword search.
1029
e94807f0
GM
1030 * finder.el (finder--builtins-descriptions): New constant.
1031 (finder-compile-keywords): Use finder--builtins-descriptions.
1032
50d434d1
DG
10332014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1034
1035 * simple.el (blink-matching-paren): Describe the new value,
1036 `jump', enabling the old behavior.
1037 (blink-matching-open): Use that value. (Bug#17008)
1038
56759cf1
GM
10392014-03-14 Glenn Morris <rgm@gnu.org>
1040
459d74ef
GM
1041 * finder.el (finder-no-scan-regexp): Add leim-list.
1042 (finder-compile-keywords):
1043 Don't skip files with same basename. (Bug#14010)
1044 * Makefile.in (setwins_finder): New, excluding leim.
1045 (finder-data): Use setwins_finder.
1046
56759cf1
GM
1047 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1048 (help-function-arglist, help-make-usage): Move from here...
1049 * help.el (help-split-fundoc, help-add-fundoc-usage)
1050 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1051 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1052
7644aa97
JB
10532014-03-14 Juanma Barranquero <lekktu@gmail.com>
1054
1055 * net/socks.el (socks, socks-override-functions)
fd16b061 1056 (socks-find-services-entry):
7644aa97
JB
1057 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1058 (hif-find-ifdef-block):
1059 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1060
1061 * net/tls.el (tls-program): Reflow docstring.
1062
1063 * progmodes/pascal.el (pascal-mode-abbrev-table)
1064 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1065 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1066 (pascal-outline-mode): Fix docstring typos.
1067 (pascal-mode): Let define-derived-mode document mode hook.
1068 (pascal-uncomment-area): Reflow.
1069 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1070
1071 * progmodes/opascal.el (opascal-compound-block-indent)
1072 (opascal-case-label-indent): Fix docstring typos.
1073 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1074
1f44df94
DG
10752014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1076
07f44fdb
JB
1077 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1078 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 1079
0d71dfb3
TW
10802014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1081
1082 * emacs-lisp/package.el (package--prepare-dependencies):
1083 Accept requirements without explicit version (bug#14941).
1084
d27a1a7b
JB
10852014-03-12 Juanma Barranquero <lekktu@gmail.com>
1086
a5765a3d
JB
1087 * register.el (register-separator, copy-to-register): Doc fixes.
1088 (register-preview-default): Remove unnecessary call to concat.
1089
d27a1a7b
JB
1090 * frameset.el (frameset-restore): When checking for a visible frame,
1091 use the action map instead of calling visible-frame-list.
1092
08dfa0b7
JB
10932014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1094
1095 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1096
8960529e
MR
10972014-03-12 Martin Rudalics <rudalics@gmx.at>
1098
1099 * window.el (fit-frame-to-buffer): Get maximum width from
1100 display's width instead of height.
1101
8a51e8e4
GM
11022014-03-12 Glenn Morris <rgm@gnu.org>
1103
46456005
GM
1104 * desktop.el (desktop-restore-frames)
1105 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1106 (desktop-restore-reuses-frames): Doc tweaks.
1107
8a51e8e4
GM
1108 * electric.el (electric-indent-mode): Doc fix.
1109
5983b317
JB
11102014-03-12 Juanma Barranquero <lekktu@gmail.com>
1111
1112 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1113 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1114 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1115 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1116 (cvs-dired-use-hook): Fix docstring typos.
1117 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1118 Doc fixes.
1119
1120 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1121 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1122 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1123 (cvs-execute-single-dir): Fix docstring typos.
1124
1125 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1126 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1127
1128 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1129
1130 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1131 Fix docstring typos.
1132
13c00cf0
JB
11332014-03-12 Juanma Barranquero <lekktu@gmail.com>
1134
1135 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1136 called from jump-to-register after unloading the frameset package.
1137
536a17e3
SM
11382014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1139
1140 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1141 (bug#16975). Deactivate the mark before setting it to nil.
1142 (activate-mark): Do nothing if region is already active.
1143
baf8d0ac
JB
11442014-03-11 Juanma Barranquero <lekktu@gmail.com>
1145
1146 * frameset.el (frameset--target-display): Remove definition; declare.
1147 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1148
1ea22560
SM
11492014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1152 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1153 when the advice is pending.
1154 (advice-remove): Remove this marker when not needed any more.
1155
4538c058
JB
11562014-03-11 Juanma Barranquero <lekktu@gmail.com>
1157
1158 * frameset.el: Separate options for reusing frames and cleaning up.
1159 (frameset--reuse-list): Remove definition; declare.
1160 (frameset--action-map): Declare.
1161 (frameset--find-frame-if): Doc fix.
1162 (frameset--restore-frame): Cache frame action.
1163 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1164 how to clean up the frame list after restoring. Remove cleaning
1165 options from REUSE-FRAMES. Change all keyword values to symbols.
1166 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1167
1168 * desktop.el (desktop-restore-forces-onscreen)
1169 (desktop-restore-reuses-frames): Use non-keyword values.
1170 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1171
ba1a5c78
GM
11722014-03-10 Glenn Morris <rgm@gnu.org>
1173
776aa432
GM
1174 * files.el (find-file): Doc fix: update info node name.
1175
ba1a5c78
GM
1176 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1177 Doc fix: remove references to deleted info nodes.
1178
183d706e
MA
11792014-03-10 Michael Albinus <michael.albinus@gmx.de>
1180
1181 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1182 Do not add `nil' to the environment, when there's no remote `locale'.
1183 (tramp-find-inline-encoding): Check, that the remote host has
1184 installed perl, before sending scripts.
1185
6f0f96e7
LL
11862014-03-10 Leo Liu <sdl.web@gmail.com>
1187
536a17e3
SM
1188 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1189 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 1190
ca70fe78
SM
11912014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1192
1193 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1194 (bug#14430).
1195
eb67db41
JL
11962014-03-09 Juri Linkov <juri@jurta.org>
1197
1198 * ansi-color.el (ansi-color-names-vector): Copy default colors
1199 from `xterm-standard-colors' that look well on the default white
1200 background (and also on the black background) to avoid illegible
8cf07e5a 1201 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
1202 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1203
e7db5447
JB
12042014-03-08 Juanma Barranquero <lekktu@gmail.com>
1205
1206 * frameset.el (frameset-restore): When no frame is visible, do not
1207 generate a list of frames, just make visible the selected one.
1208
f0a4c8d7
DG
12092014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1210
1211 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1212 it only contains the repository root. (Bug#16897)
1213
e50772e3
MA
12142014-03-07 Michael Albinus <michael.albinus@gmx.de>
1215
1216 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1217 only when `remote-file-name-inhibit-cache' is nil.
1218 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1219
cac0a1d6
MR
12202014-03-06 Martin Rudalics <rudalics@gmx.at>
1221
1222 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1223 Fix doc-strings.
1224 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1225 fit-frame-to-buffer variable. Fix doc-string.
1226 (fit-window-to-buffer): Set ONLY argument in call of
1227 fit-frame-to-buffer. Fix doc-string.
1228
fa965cbf
MA
12292014-03-06 Michael Albinus <michael.albinus@gmx.de>
1230
1231 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1232 (tramp-action-password): Clear password cache if needed.
1233 (tramp-read-passwd): Do not clear password cache.
1234
1235 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1236 cache unless it is the first password request.
1237
c94e6ee4
GM
12382014-03-06 Glenn Morris <rgm@gnu.org>
1239
03bc753e
GM
1240 * simple.el (newline): Doc tweak.
1241
c94e6ee4
GM
1242 * emacs-lisp/shadow.el (load-path-shadows-find):
1243 Ignore dir-locals. (Bug#12357)
1244
bd2d43dc
GM
12452014-03-05 Glenn Morris <rgm@gnu.org>
1246
1247 * files.el (interpreter-mode-alist):
1248 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1249
9284000e
JB
12502014-03-05 Juanma Barranquero <lekktu@gmail.com>
1251
1252 * frameset.el (frameset--initial-params): Filter out null entries.
1253
e1a2cb1c
MR
12542014-03-05 Martin Rudalics <rudalics@gmx.at>
1255
27821a89
JB
1256 * window.el (window-min-height, window-min-width):
1257 Rewrite doc-strings.
e1a2cb1c
MR
1258 (window-body-size): Add PIXELWISE argument to make it consistent
1259 with its callees.
1260
6bf67038
JB
12612014-03-05 Juanma Barranquero <lekktu@gmail.com>
1262
1263 * finder.el (finder-mode-map, finder-mode-syntax-table):
1264 Revert part of 2014-02-28 change.
1265
90f04e4c
LI
12662014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1267
1268 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1269 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
1270 (eww-textarea-map): [tab] doesn't work on tty.
1271 Reported by Mario Lang.
6952100d
LI
1272
1273 * net/shr.el (shr-map): Ditto.
90f04e4c 1274
3106d59b
GM
12752014-03-04 Glenn Morris <rgm@gnu.org>
1276
1277 * minibuffer.el (completion-hilit-commonality):
1278 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1279
f604dfdc
JB
12802014-03-04 Juanma Barranquero <lekktu@gmail.com>
1281
1282 * hilit-chg.el (hilit-chg-unload-function): New function.
1283 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1284 (hilit-chg-map-changes): Prefer cardinal number to digit.
1285 (hilit-chg-display-changes): Reflow docstring.
1286 (highlight-changes-rotate-faces): Remove superfluous backslash.
1287
5dc65319
MA
12882014-03-04 Michael Albinus <michael.albinus@gmx.de>
1289
1290 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1291 `tramp-send-command-and-check'.
1292
4242d21d
JB
12932014-03-04 Juanma Barranquero <lekktu@gmail.com>
1294
b01fa838
JB
1295 * hexl.el (hexl-address-region, hexl-ascii-region)
1296 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1297 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1298 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1299 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1300 (hexl-mode): Doc fix.
1301 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1302 (hexl-mode-ruler): Fix typos in docstrings.
1303
4242d21d
JB
1304 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1305 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1306 Remove superfluous backslashes.
1307 (strokes-last-stroke, strokes-global-map, strokes-mode):
1308 Reflow docstrings.
1309 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1310 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1311 (strokes-distance-squared, strokes-global-set-stroke)
1312 (strokes-global-set-stroke-string): Doc fixes.
1313 (strokes-help): Fix typos; reflow docstring.
1314
87132570
MR
13152014-03-04 Martin Rudalics <rudalics@gmx.at>
1316
1317 * window.el (window-in-direction): Fix doc-string.
1318
d82e752c
GM
13192014-03-04 Glenn Morris <rgm@gnu.org>
1320
1321 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1322 Explicit error if no grammar.
1323 (smie-config-save): Doc fix. Fix quote typo.
1324
62528af0
SM
13252014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1326
8d4901dc
SM
1327 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1328 electric-indent-mode-hook if we obey electric-indent-mode.
1329 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1330 decide whether we obey electric-indent-mode.
1331 (c-change-set-fl-decl-start, c-extend-after-change-region):
1332 Silence warnings.
1333 (c-electric-indent-mode-hook): Assume we do want to obey
1334 electric-indent-mode.
1335
1336 * electric.el (electric-indent-mode-has-been-called): Remove.
1337 (electric-indent-mode): Fix accordingly.
1338
092c12b2
SM
1339 * files.el (hack-local-variables): Mention file name in warning.
1340
62528af0
SM
1341 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1342
5b87d0d9
MN
13432014-03-04 Michal Nazarewicz <mina86@mina86.com>
1344
20f39add 1345 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
1346 * simple.el (delete-forward-char): Mark as interactive-only.
1347
542a3840
JB
13482014-03-03 Juanma Barranquero <lekktu@gmail.com>
1349
f2d2402e
GM
1350 * icomplete.el (icomplete-completions):
1351 Follow-up to 2014-03-01 change.
d11320e5
JB
1352
1353 * icomplete.el: Miscellaneous doc fixes.
1354 Use Icomplete everywhere instead of icomplete for consistency.
1355 (icomplete-max-delay-chars): Fix typo.
1356 (icomplete-mode): Use \[].
1357 (icomplete-tidy, icomplete-exhibit): Reflow.
1358 (icomplete-minibuffer-setup-hook, icomplete-completions):
1359 Remove superfluous backlashes.
1360
1361 * ido.el: Miscellaneous doc fixes.
1362 Use Ido everywhere instead of ido or `ido' for consistency.
1363 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1364 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1365 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1366 (ido-separator): Extract obsolescence info from docstring and declare
1367 with make-obsolete-variable.
1368 (ido-minibuffer-setup-hook): Simplify example.
1369 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1370 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1371 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1372 (ido-everywhere): Reflow docstring.
1373 (ido-toggle-vc): Doc fix.
1374 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1375 of long list of keybindings.
1376
7ebd57e9
GM
13772014-03-03 Glenn Morris <rgm@gnu.org>
1378
1379 * frame.el (display-pixel-height, display-pixel-width)
1380 (display-mm-dimensions-alist, display-mm-height)
1381 (display-mm-width): Doc tweaks.
1382
35e951cd 13832014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
1384
1385 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1386 case of undo in region.
1387
b923819c
MR
13882014-03-02 Martin Rudalics <rudalics@gmx.at>
1389
1390 * window.el (fit-window-to-buffer): Fix argument in window-size
1391 call when window is horizontally combined.
1392
b6e443c5
JB
13932014-03-02 Juanma Barranquero <lekktu@gmail.com>
1394
1395 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 1396 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 1397
1850913d
DG
13982014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1399
35e951cd
JB
1400 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1401 Highlight regexp options. (Bug#16914)
1850913d 1402
04b577b6
MR
14032014-03-01 Martin Rudalics <rudalics@gmx.at>
1404
1405 * window.el (window--max-delta-1): Round down when calculating
1406 how many lines/columns we can get from a window.
1407
b829360f
GM
14082014-03-01 Glenn Morris <rgm@gnu.org>
1409
2501c912
GM
1410 * isearch.el (search-invisible): Doc fix.
1411
b829360f
GM
1412 * minibuffer.el (completion-hilit-commonality):
1413 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1414 * comint.el (comint-dynamic-list-completions): Doc fix.
1415 * comint.el (comint-dynamic-list-completions):
1416 * filecache.el (file-cache-minibuffer-complete):
1417 * tempo.el (tempo-display-completions):
1418 * eshell/em-hist.el (eshell-list-history):
1419 Replace use of obsolete argument of display-completion-list.
1420
9a155058
JB
14212014-03-01 Juanma Barranquero <lekktu@gmail.com>
1422
1423 * icomplete.el (icomplete-completions):
1424 Revert back to using "..." when ?… cannot be displayed.
1425
53f6cda8
JB
14262014-02-28 Juanma Barranquero <lekktu@gmail.com>
1427
1428 * finder.el (finder-unload-function): New function.
1429
43977c23
JB
14302014-02-28 Juanma Barranquero <lekktu@gmail.com>
1431
1432 * dframe.el (dframe-detach):
1433 * find-dired.el (find-dired, find-name-dired):
1434 * finder.el (finder-mode-map, finder-mode-syntax-table)
1435 (finder-headmark, finder-select, finder-mouse-select):
1436 Fix docstring typos.
1437
9dda75ad
MR
14382014-02-28 Martin Rudalics <rudalics@gmx.at>
1439
1440 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
1441 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1442 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1443 Fix doc-string based on a suggestion by Nicolas Richard
1444 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
1445 * help.el (with-help-window): Fix doc-string.
1446
8a73034e
IK
14472014-02-28 Ivan Kanis <ivan@kanis.fr>
1448
b70257b0
GM
1449 * net/shr.el (shr-image-animate): New option.
1450 (shr-put-image): Respect shr-image-animate.
8a73034e 1451
245aa73e
MA
14522014-02-28 Michael Albinus <michael.albinus@gmx.de>
1453
1454 * net/tramp-adb.el (tramp-adb-parse-device-names):
1455 Use `accept-process-output'.
1456 (tramp-adb-handle-file-truename): Cache the localname only.
1457 (tramp-adb-handle-make-directory)
1458 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1459 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1460 modes cannot be changed.
1461
1462 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1463 file properties of symlinks.
1464
48e15d64
PS
14652014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1466
1467 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1468 required/optional fields to match development biblatex. (Bug#16781)
1469
65b77347
AS
14702014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1471
1472 * saveplace.el (toggle-save-place):
1473 Fix argument handling. (Bug#16673)
1474
5e618aba
GM
14752014-02-28 Glenn Morris <rgm@gnu.org>
1476
1477 * minibuffer.el (completions-first-difference)
1478 (completions-common-part, completion-hilit-commonality): Doc fixes.
1479
6deb314e
KB
14802014-02-28 Karl Berry <karl@gnu.org>
1481
1482 * info.el (Info-mode-map): Add H for describe-mode,
1483 to synchronize with standalone Info.
1484
289996f5
EL
14852014-02-28 Emilio C. Lopes <eclig@gmx.net>
1486
1487 * progmodes/sql.el (sql-interactive-mode):
1488 Avoid setting global comint-input-ring-separator. (Bug#16814)
1489
79fc1191
MA
14902014-02-27 Michael Albinus <michael.albinus@gmx.de>
1491
1492 * net/dbus.el (dbus--init-bus): Declare function.
1493 (dbus-path-local, dbus-interface-local): New defconst.
1494 (dbus-init-bus): Use them.
1495 (dbus-return-values-table): Extend doc.
1496 (dbus-handle-bus-disconnect): Extend error message.
1497
298520df
JB
14982014-02-27 Juanma Barranquero <lekktu@gmail.com>
1499
1500 * subr.el (y-or-n-p): Fix double space issue in message.
1501
c22c1614
MA
15022014-02-27 Michael Albinus <michael.albinus@gmx.de>
1503
1504 * net/tramp.el (tramp-call-process): Improve trace message.
1505 (tramp-handle-insert-file-contents): Trace error case.
1506
1507 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1508 <insert-directory>: Use `tramp-handle-insert-directory'.
1509 (tramp-adb-handle-insert-directory): Remove function.
1510 (tramp-adb-send-command-and-check): New defun, replacing
1511 `tramp-adb-command-exit-status'. Change all callees.
1512 (tramp-adb-handle-file-attributes)
1513 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
1514 (tramp-adb-ls-output-name-less-p):
1515 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
1516 (tramp-adb-handle-delete-directory): Flush also file properties of
1517 the truename of directory.
1518 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1519 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1520 (tramp-adb-handle-write-region): Implement APPEND.
1521 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1522 properties correctly.
1523 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1524 variables. Check for connected devices only when needed.
1525
d9263618
GM
15262014-02-27 Glenn Morris <rgm@gnu.org>
1527
ea7826ba
GM
1528 * minibuffer.el (completion-table-dynamic)
1529 (completion-table-with-cache): Doc fixes.
1530
d9263618
GM
1531 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1532 (completing-read-multiple): Doc fixes.
1533
eff3168a
DC
15342014-02-27 Daniel Colascione <dancol@dancol.org>
1535
51f213c3
DC
1536 * minibuffer.el (completion--nth-completion): Fix indentation.
1537
eff3168a
DC
1538 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1539 explicit tramp path is empty.
1540
b77cfcd7
GM
15412014-02-27 Glenn Morris <rgm@gnu.org>
1542
1543 * emacs-lisp/crm.el (completing-read-multiple):
1544 Empower help-enable-auto-load.
1545
9577b569
GM
15462014-02-26 Glenn Morris <rgm@gnu.org>
1547
259887e8
GM
1548 * startup.el (command-line): Don't init the tty in daemon mode.
1549
1d491ef2
GM
1550 Avoid calling tty-setup-hook twice, eg if a term file
1551 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1552 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1553 (tty-create-frame-with-faces): Use it.
1554 * startup.el (command-line): Pass run-hook argument
1555 to tty-run-terminal-initialization.
1556
9577b569
GM
1557 * dired.el (dired-restore-desktop-buffer): Demote errors;
1558 eg in case a glob match fails. (Bug#16884)
1559
40ff7f86
DG
15602014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1561
b2388336
DG
1562 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1563 error from `read-from-string'. (Bug#16850)
1564
40ff7f86
DG
1565 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1566 result of `completing-read' in the interactive form. (Bug#16854)
1567
98bd6b32
GM
15682014-02-25 Glenn Morris <rgm@gnu.org>
1569
f086804c
GM
1570 * image.el (image-animate, image-animate-timeout):
1571 Stop animating images in dead buffers. (Bug#16878)
1572
c107155e
GM
1573 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1574
9577b569
GM
1575 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1576 Doc fixes.
98bd6b32
GM
1577 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1578 * term/sun.el (sun-raw-prefix-hooks):
1579 Use tty-setup-hook instead of term-setup-hook.
1580 (terminal-init-sun): Construct message from bytecomp plist.
1581 * term/wyse50.el (enable-arrow-keys): Doc fix.
1582
9c9e18e8
JB
15832014-02-24 Juanma Barranquero <lekktu@gmail.com>
1584
1585 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1586 Fix docstring typos.
1587
c848881f
MA
15882014-02-24 Michael Albinus <michael.albinus@gmx.de>
1589
1590 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1591
0e38ae05
NR
15922014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1593
1594 * minibuffer.el (completion--try-word-completion):
1595 Fix error when completing M-x commands (bug#16808).
1596
8ee4c296
LL
15972014-02-24 Leo Liu <sdl.web@gmail.com>
1598
1599 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1600
7d4bd627
JB
16012014-02-24 Juanma Barranquero <lekktu@gmail.com>
1602
1603 * apropos.el (apropos-print): Avoid formatting error when
1604 apropos-do-all and apropos-compact-layout are both t.
1605
e918e27f
JB
16062014-02-23 Juanma Barranquero <lekktu@gmail.com>
1607
1608 * apropos.el (apropos-property, apropos-all-words-regexp)
1609 (apropos-true-hit, apropos-variable, apropos-print):
1610 Fix docstring typos, and remove obsolete comment.
1611
85c01f80
MA
16122014-02-23 Michael Albinus <michael.albinus@gmx.de>
1613
1614 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1615 Preserve trailing "/". (Bug#16851)
1616
62f95022
DG
16172014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1618
1619 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1620 after `=>' (bug#16811).
dfdb365c
DG
1621 (ruby-smie-rules): Handle the inconsistent second element of the
1622 list returned by `smie-indent--parent'.
1623 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1624 method call.
62f95022 1625
025f2c81
JB
16262014-02-23 Juanma Barranquero <lekktu@gmail.com>
1627
1628 * elec-pair.el (electric-pair-text-syntax-table)
1629 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1630 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1631 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1632 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1633
123c84f9
GM
16342014-02-22 Glenn Morris <rgm@gnu.org>
1635
612c3e46
GM
1636 * imenu.el (imenu--generic-function): Doc fix.
1637
123c84f9
GM
1638 * register.el (frame-configuration-to-register): Make obsolete.
1639
e59fa9ad
JB
16402014-02-22 Juanma Barranquero <lekktu@gmail.com>
1641
1642 * desktop.el (desktop-save-buffer-p): Do not fail when
1643 desktop-files-not-to-save is nil. Return t for true result
1644 as the doc says.
1645
4e652634
DC
16462014-02-22 Daniel Colascione <dancol@dancol.org>
1647
27821a89 1648 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
1649 Check that attribute values are strings, avoiding the construction
1650 of invalid dbus messages.
4e652634 1651
f35affb6
JB
16522014-02-21 Juanma Barranquero <lekktu@gmail.com>
1653
1654 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1655 defun-declarations-alist.
1656
3d136b1b
SM
16572014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1660 (bug#16829).
1661
612ddfc0
JB
16622014-02-21 Juanma Barranquero <lekktu@gmail.com>
1663
1664 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1665 (whitespace-newline, whitespace-trailing, whitespace-line)
1666 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1667 (whitespace-space-after-tab): Fix typo in docstrings.
1668
c8481b1b
DG
16692014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1670
cb8f50a7
DG
1671 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1672
c8481b1b
DG
1673 * electric.el (electric-indent-functions-without-reindent):
1674 Add `yaml-indent-line'.
1675
bed5126f
JB
16762014-02-21 Juanma Barranquero <lekktu@gmail.com>
1677
34b71457
JB
1678 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1679 It has done nothing for years; should be removed after the release.
1680
bed5126f
JB
1681 * simple.el (choose-completion): Fix docstring typo.
1682 (read-quoted-char-radix): Remove unneeded * in docstring.
1683 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1684 Don't escape parentheses unnecessarily in docstrings.
1685
8dd3e94f
MR
16862014-02-21 Martin Rudalics <rudalics@gmx.at>
1687
1688 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
1689 * window.el (window--dump-window, window--dump-frame):
1690 New functions.
1691 (window--min-size-1): Account for window dividers.
1692 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
1693 sum of the window components has been calculated.
1694 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1695 nil make sure at least one text line and two text columns remain
1696 fully visible.
1697 (window-resize): Signal an error when window-resize-apply fails.
1698 (window--resize-child-windows): Fix calculation of by how many
1699 pixels a window can still be shrunk via window-new-normal.
1700 (adjust-window-trailing-edge): Call window--resizable with
1701 correct TRAIL argument.
1702
2ed94e04
MR
1703 (with-temp-buffer-window): Don't evaluate BODY within
1704 with-current-buffer (Bug#16816).
1705
0e5324c4
MA
17062014-02-21 Michael Albinus <michael.albinus@gmx.de>
1707
1708 * net/tramp.el (tramp-check-cached-permissions):
1709 Call `file-attributes' with `suffix' being a symbol but a string.
1710
48198420
DC
17112014-02-21 Daniel Colascione <dancol@dancol.org>
1712
1713 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1714 (dbus-init-bus): New function: call into dbus-init-bus-1
1715 and installs a handler for the disconnect signal.
1716 (dbus-call-method): Rewrite to look for result in cons.
1717 (dbus-call-method-handler): Store result in cons.
1718 (dbus-check-event): Recognize events with nil sender as valid.
1719 (dbus-handle-bus-disconnect): New function. React to bus
1720 disconnection signal by synthesizing dbus error for each
1721 pending synchronous or asynchronous call.
1722 (dbus-notice-synchronous-call-errors): New function.
1723 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1724 is true, not all the time.
1725
99e15133
JB
17262014-02-21 Juanma Barranquero <lekktu@gmail.com>
1727
e48983a6
JB
1728 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1729 Remove obsolescence declarations, these variables do not exist anymore.
1730
fdcfd745
JB
1731 * savehist.el (savehist-save-minibuffer-history)
1732 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1733 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1734 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1735 mostly, refer to "Savehist mode" when talking about the mode,
1736 and not the function.
1737
99e15133
JB
1738 * saveplace.el (save-place): Remove redundant info in docstring.
1739 (save-place-forget-unreadable-files, toggle-save-place)
1740 (save-place-forget-unreadable-files, save-place-dired-hook):
1741 Fix typos and remove unneeded backslashes.
1742
f5bee33b
MA
17432014-02-20 Michael Albinus <michael.albinus@gmx.de>
1744
1745 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1746 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1747
1748 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 1749 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
1750 (tramp-gvfs-handle-insert-directory): Remove function.
1751
1752 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1753 Call `tramp-handle-insert-directory'.
1754
ee0761ca
JB
17552014-02-20 Juanma Barranquero <lekktu@gmail.com>
1756
1757 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1758 before the start of buffer/region (bug#16799).
1759
4d49cc65
GM
17602014-02-20 Glenn Morris <rgm@gnu.org>
1761
1762 * isearch.el (search-invisible): Doc fix.
1763
eee0d650
TK
17642014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1765
1766 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1767 (bug#16657).
1768
94e5e202
JB
17692014-02-19 Juanma Barranquero <lekktu@gmail.com>
1770
1771 * frameset.el (frameset-restore): Delay removing an old frame's
1772 duplicate id until the new frame has been correctly created.
1773
50bfdd5d
MA
17742014-02-19 Michael Albinus <michael.albinus@gmx.de>
1775
1776 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1777 (tramp-check-cached-permissions): Call `file-attributes' if the
1778 cache is empty.
1779
1780 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 1781 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1782
1783 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 1784 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1785 (tramp-gvfs-maybe-open-connection): Set always connection
1786 properties, even if target is mounted already.
1787
1788 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1789 Set tramp-autoload cookie.
1790 (tramp-get-remote-touch): New defun.
1791 (tramp-sh-handle-set-file-times): Use it.
1792 (tramp-sh-handle-directory-files-and-attributes):
1793 Use `tramp-handle-directory-files-and-attributes' if neither stat
1794 nor perl are available on the remote host.
1795
1796 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1797 "/". Write long listing only when "l" belongs to the switches.
1798
1799 * net/trampver.el: Update release number.
1800
f097a3d2
JB
18012014-02-19 Juanma Barranquero <lekktu@gmail.com>
1802
1803 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1804
8e009b78
MR
18052014-02-19 Martin Rudalics <rudalics@gmx.at>
1806
1807 * window.el (window-state-put): Allow WINDOW to refer to an
1808 internal window (Bug#16793).
1809
95160c90
GM
18102014-02-19 Glenn Morris <rgm@gnu.org>
1811
1812 * textmodes/remember.el: Move provide statement to end.
1813 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1814 (remember-notes): Doc fixes.
1815
b28df58c
SM
18162014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1817
1818 * delsel.el (delete-char): Restore incorrectly erased property
1819 (bug#16795).
1820
7108e1c0
JB
18212014-02-18 Juanma Barranquero <lekktu@gmail.com>
1822
1823 * frameset.el (frameset--restore-frame): When a frame is being reused
1824 and its root window is not alive, delete all the frame's windows before
1825 restoring the window state. This works around the issue in bug#16793.
1826
c863b6ad
GM
18272014-02-18 Glenn Morris <rgm@gnu.org>
1828
a73fae1f
GM
1829 * textmodes/remember.el (remember-data-directory)
1830 (remember-directory-file-name-format, remember-store-in-files)
1831 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1832 (remember-notes-save-and-bury-buffer)
1833 (remember-notes--kill-buffer-query): Doc fixes.
1834
c863b6ad
GM
1835 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1836
29238d28
AM
18372014-02-17 Alan Mackenzie <acm@muc.de>
1838
1839 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 1840 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 1841 to electric-indent-{,local-}-mode.
b28df58c
SM
1842 (c-basic-common-init): Set electric-indent-inhibit.
1843 Initialise c-electric-flag from electric-indent-mode.
29238d28 1844 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 1845 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
1846
1847 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 1848 hit, toggle electric-indent-local-mode.
29238d28 1849
b28df58c
SM
1850 * electric.el (electric-indent-mode-has-been-called):
1851 New variable.
29238d28 1852
c6463340
JB
18532014-02-17 Juanma Barranquero <lekktu@gmail.com>
1854
1855 * frameset.el (frameset-cfg-id): New function.
1856 (frameset--reuse-frame, frameset-restore): Use it.
1857 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1858
94912b88
SM
18592014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1860
1861 * ido.el (ido-file-internal): Remove unused var `d'.
1862 Use \` for to match BoS. Fit within 80n columns.
1863
26ea164c
DC
18642014-02-17 Daniel Colascione <dancol@dancol.org>
1865
1866 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1867 dbus-call-method check for completion using a busy-wait loop with
1868 gradual backoff.
1869
589d1988 18702014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
1871
1872 Sync with Tramp 2.2.9.
1873
1874 * net/trampver.el: Update release number.
1875
17d1b51b
DG
18762014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1877
1878 * ido.el (ido-file-internal): Don't add the name of an existing
1879 directory twice. (Bug#16747)
1880
5bcad689
GM
18812014-02-16 Glenn Morris <rgm@gnu.org>
1882
1883 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1884 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1885
18862014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
1887
1888 * progmodes/sql.el: Version 3.4
1889 (sql-oracle-options): New default value ("-L").
94912b88 1890 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 1891 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 1892 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
1893 (sql-login-delay): New variable.
1894 (sql-product-interactive): Use it.
1895
285f1858
JB
18962014-02-15 Juanma Barranquero <lekktu@gmail.com>
1897
1898 * frameset.el (frameset--jump-to-register): Check that buffer is live
1899 (bug#16749).
1900
5d645ea4
GM
19012014-02-15 Glenn Morris <rgm@gnu.org>
1902
1903 * info.el (info-initialize): Revert 2014-01-10 change.
1904
48c4f9b1
GM
19052014-02-14 Glenn Morris <rgm@gnu.org>
1906
b8630261
GM
1907 * replace.el (map-query-replace-regexp)
1908 (read-regexp-defaults-function, read-regexp): Doc fixes.
1909
b2bf2a25
GM
1910 * dired.el (dired-read-regexp):
1911 * faces.el (list-faces-display):
1912 * misearch.el (multi-isearch-read-matching-buffers)
1913 (multi-isearch-read-matching-files):
1914 * play/cookie1.el (cookie-apropos):
1915 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1916
48c4f9b1
GM
1917 * textmodes/remember.el (remember): Use frameset-to-register
1918 rather than frame-configuration-to-register.
1919
2804e0bd
JB
19202014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1921
1922 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1923 incorrect keybinding.
1924
0b87142f
DC
19252014-02-13 Daniel Colascione <dancol@dancol.org>
1926
1927 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1928 when adding overlays so that line numbers from compiler match line
1929 numbers we use.
1930
47a73eb0
GM
19312014-02-13 Glenn Morris <rgm@gnu.org>
1932
8abcfd51
GM
1933 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1934
47a73eb0
GM
1935 * jit-lock.el (jit-lock-mode): Doc fix.
1936
c9b6b262
JB
19372014-02-13 Juanma Barranquero <lekktu@gmail.com>
1938
1939 * apropos.el (apropos-read-pattern): When the user passes an empty
1940 string, give a more helpful error message than "Wrong type
1941 argument: stringp, nil".
1942
eb4c6947
SM
19432014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1944
1945 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1946
0dab5068
GM
19472014-02-13 Glenn Morris <rgm@gnu.org>
1948
1949 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1950
59075dcf
SM
19512014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1954 shift-select commands.
1955
5af9fbad
DG
19562014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1957
1958 * progmodes/js.el (js-indent-line): Don't widen.
1959 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1960
a215930c
GM
19612014-02-12 Glenn Morris <rgm@gnu.org>
1962
a8cb4247
GM
1963 * icomplete.el (icomplete): Add info-link to defgroup.
1964 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1965 (icomplete-minibuffer-map, icomplete-mode)
1966 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1967
a215930c
GM
1968 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1969 (package-menu-filter): Rename from package-menu-filter-interactive.
1970 Doc fix.
1971
26c5ecd9
JB
19722014-02-11 Juanma Barranquero <lekktu@gmail.com>
1973
1974 * frameset.el (frameset--jump-to-register): Select the required
1975 window and buffer before restoring position (bug#16696).
1976
fcd58a02
LI
19772014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1978
1979 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1980
bacb3380
GM
19812014-02-10 Glenn Morris <rgm@gnu.org>
1982
1983 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1984
881329dc
EZ
19852014-02-10 Eli Zaretskii <eliz@gnu.org>
1986
02328db9
EZ
1987 * w32-common-fns.el (x-get-selection): Doc fix.
1988 * select.el (x-get-selection): Doc fix. (Bug#15109)
1989
881329dc
EZ
1990 * face-remap.el (face-remap-add-relative)
1991 (face-remap-remove-relative, face-remap-reset-base)
1992 (face-remap-set-base): Call force-mode-line-update to redisplay
1993 the current buffer due to potential change in faces. (Bug#16709)
1994
c7db4c06
MA
19952014-02-10 Michael Albinus <michael.albinus@gmx.de>
1996
1997 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1998 script more robustly.
1999
6abe4589
LI
20002014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2001
7602b5c3
LI
2002 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2003
e3692ee0
LI
2004 * simple.el (choose-completion): Doc fix (bug#14160).
2005
41015524
LI
2006 * subr.el (event-start): Say what a nil EVENT value means.
2007
87c79dcb
LI
2008 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2009 (bug#14197).
2010
3ab49e2c
LI
2011 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2012
f3c60241
LI
2013 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2014
3bd1d8a8
LI
2015 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2016
6abe4589
LI
2017 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2018 predicate function (bug#15455).
2019
a11463de
DG
20202014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2021
2022 * ielm.el (inferior-emacs-lisp-mode): Instead of
2023 `comment-use-global-state', set `comment-use-syntax'.
2024
2ab0ad85
GM
20252014-02-10 Glenn Morris <rgm@gnu.org>
2026
2027 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2028
411141fb
AM
20292014-02-09 Alan Mackenzie <acm@muc.de>
2030
2031 Fix c-invalidate-state-cache on narrowed buffers.
2032 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2033 Widen when setting and clearing the CPP delimiter properties.
2034
d6d5fdf8
LI
20352014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2036
92c70367
LI
2037 * help.el (describe-bindings): Doc fix (bug#9888).
2038
468ef484
LI
2039 * files.el (save-buffer): Use ARG as the parameter name for
2040 consistency (bug#10346).
7e34193f 2041 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 2042
fc2b1ffa 2043 * cus-edit.el (customize-apropos): Fix error string.
382fd368 2044 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 2045 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 2046
790aceec
LI
2047 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2048
a54a7552 2049 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 2050 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 2051
dd163123
LI
2052 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2053 meaning of the parameter (bug#12282).
2054
9e108fe6
LI
2055 * files.el (find-file-noselect): Clarify prompt when changing
2056 readedness (bug#13261).
5a836f58
LI
2057 (locate-file): Suffixes aren't returned, so don't say that they
2058 are (bug#12674).
2356b316 2059 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 2060
20dda930
LI
2061 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2062 before we actually start to delete things (bug#16331).
2063
d6d5fdf8
LI
2064 * subr.el (event-start): Doc fix (bug#14228).
2065 (event-end): Ditto.
2066
2abd71e5
GM
20672014-02-09 Glenn Morris <rgm@gnu.org>
2068
2069 * emacs-lisp/warnings.el (lwarn):
2070 Empower help-enable-auto-load. (Bug#15940)
2071
c1b5900b
AS
20722014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2073
2074 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2075 (Bug#16690)
2076
429b93bd
MA
20772014-02-08 Michael Albinus <michael.albinus@gmx.de>
2078
2079 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2080 Insert output at end of buffer. (Bug#16120)
2081
b772a699
LI
20822014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2083
18c6aa8c
LI
2084 * simple.el (choose-completion-string-functions): Document new
2085 calling convention (bug#14153).
54dd147a 2086 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 2087
dce8463b
LI
2088 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2089
b772a699 2090 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 2091 (find-grep-dired): Doc fix (bug#14288).
b772a699 2092
2423c8d5
JL
20932014-02-08 Juri Linkov <juri@jurta.org>
2094
2095 * isearch.el (isearch-quote-char): Check character validity
2096 like in `quoted-insert' (bug#16677).
2097
518f26c2
LI
20982014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2099
893cc908
LI
2100 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2101
9165ffc0
LI
2102 * isearch.el (isearch-hide-immediately): Doc clarification
2103 (bug#14723).
2104
6ef4f3ce
LI
2105 * simple.el (line-move): Document utility function used many
2106 places in the Emacs sources (bug#14843).
2107
be58a238 2108 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 2109 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 2110 (dired-up-directory): Doc fix (bug#14848).
be58a238 2111
dd7aafbb
LI
2112 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2113
15cb9968
LI
2114 * files.el (file-relative-name): Doc fix (bug#15159).
2115
9788effd
LI
2116 * fringe.el (fringe-styles): Doc fix (bug#15239).
2117
c96411bd
LI
2118 * isearch.el (isearch-filter-predicate): Documentation typo fix
2119 (bug#15474).
2120
ea838c36
LI
2121 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2122
0d8a4ae7
LI
2123 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2124
f7a17bb3
LI
2125 * replace.el (replace-match-maybe-edit): Doc clarification
2126 (bug#15632).
2127
1bde5c3b
LI
2128 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2129
518f26c2
LI
2130 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2131
dd8e49fd
GM
21322014-02-08 Glenn Morris <rgm@gnu.org>
2133
2134 * help-fns.el (describe-variable):
2135 Check {file,dir}-local-variables-alist, and buffer-file-name,
2136 in the correct buffer.
2137
7e088b29
IL
21382014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2139
2140 * help-fns.el (describe-variable): Fix the case where
2141 a value is directory-local with no dir-locals file. (Bug#16635)
2142
41a4a82f
GM
21432014-02-08 Glenn Morris <rgm@gnu.org>
2144
2145 * abbrev.el (edit-abbrevs-mode):
2146 Derive from fundamental-mode. (Bug#16682)
2147
e255a703
JB
21482014-02-07 Juanma Barranquero <lekktu@gmail.com>
2149
2150 * simple.el (quoted-insert): Check character validity (bug#16677).
2151
c99cf5ee
JL
21522014-02-07 Juri Linkov <juri@jurta.org>
2153
2154 * desktop.el (desktop-read): Claim the lock when the owner is not
2155 the current process. (Bug#16157)
2156
7d7a68d8
JL
21572014-02-07 Juri Linkov <juri@jurta.org>
2158
2159 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2160 to "\\` ". (Bug#16651)
2161
2b777cd9
JL
21622014-02-07 Juri Linkov <juri@jurta.org>
2163
2164 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2165 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2166 (desktop-auto-save-cancel-timer): New function with some code from
2167 `desktop-auto-save-set-timer'.
2168 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2169 Instead of setting `desktop-save-mode' to nil, call
2170 `desktop-save-mode' with arg 0. (Bug#16630)
2171
60eabbb9
GM
21722014-02-07 Glenn Morris <rgm@gnu.org>
2173
99cf3859
GM
2174 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2175 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2176 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2177
2b568bc9
GM
2178 * obsolete/iswitchb.el: Move to obsolete/.
2179 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2180 since obsolete/ is not scanned for autoloads.
2181 * emacs-lisp/authors.el (authors-valid-file-names):
2182 Add iswitchb.el.
2183
60eabbb9
GM
2184 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2185 Disable now non-functional find-file-hook.
2186
629de968
MA
21872014-02-06 Michael Albinus <michael.albinus@gmx.de>
2188
2189 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2190 instead of ";" in order to avoid additional prompts. Let heredoc
2191 scripts read from tty. (Bug#16582)
2192 (tramp-send-command): No special handling of heredocs, it isn't
2193 necessary anymore.
2194
29127376
SM
21952014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2198 with a space (bug#16664). Limit the symbols considered to the ones
2199 that are bound or fbound (bug#16646).
2200
79b6e0a9
GM
22012014-02-06 Glenn Morris <rgm@gnu.org>
2202
2203 * epa.el (epa-mail-aliases): Doc fix.
2204
a333e4d2
DG
22052014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2206
29127376
SM
2207 * emacs-lisp/lisp.el (lisp-completion-at-point):
2208 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
2209 (bug#16604).
2210
2211 * minibuffer.el (completion-table-merge): New function.
2212
9a83b32b
MA
22132014-02-05 Michael Albinus <michael.albinus@gmx.de>
2214
2215 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2216 (tramp-sh-handle-set-file-acl)
2217 (tramp-sh-handle-start-file-process)
2218 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2219 (tramp-find-executable, tramp-send-command): Use it.
2220
451ea3e6
GM
22212014-02-05 Glenn Morris <rgm@gnu.org>
2222
9a83b32b 2223 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 2224
dd27d13b
FEG
22252014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2226
35e951cd 2227 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
2228 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2229
08e41897
AL
22302014-02-04 Anders Lindgren <andlind@gmail.com>
2231
2232 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2233 the names (bug#16620).
2234
764ec9e5
MR
22352014-02-03 Martin Rudalics <rudalics@gmx.at>
2236
08e41897
AL
2237 * faces.el (window-divider): New default value. Rewrite doc-string.
2238 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 2239
6da8227c
DG
22402014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2241
2242 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2243 `protected' and `public' can also be called without arguments.
2244
6a6b8e40
GM
22452014-02-03 Glenn Morris <rgm@gnu.org>
2246
7bcbca40
GM
2247 * register.el (window-configuration-to-register)
2248 (frame-configuration-to-register): Unadvertise unused argument.
2249 * frameset.el (frameset-to-register): Remove unused argument.
2250
719d965d 2251 * frameset.el (frameset-to-register):
6a6b8e40
GM
2252 * kmacro.el (kmacro-to-register):
2253 * register.el (increment-register):
2254 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2255 (calc-append-to-register, calc-prepend-to-register):
2256 * play/gametree.el (gametree-layout-to-register)
2257 (gametree-apply-register-layout):
2258 * textmodes/picture.el (picture-clear-rectangle-to-register)
2259 (picture-yank-rectangle-from-register):
2260 * vc/emerge.el (emerge-combine-versions-register):
2261 Use register-read-with-preview to read registers.
2262
5dca7759
JT
22632014-02-03 João Távora <joaotavora@gmail.com>
2264
2265 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2266 when at beginning of (possibly narrowed) buffer.
2267
709085b9
DC
22682014-02-02 Daniel Colascione <dancol@dancol.org>
2269
c295fc18 2270 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 2271 Also try to display local help from just before point.
709085b9 2272
99f7b0a6
AM
22732014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2274
2275 c-parse-state. Don't "append-lower-brace-pair" in certain
2276 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2277 recognised as a comment.
2278
2279 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2280 as well as normal comment starter.
2281 (c-parse-state-get-strategy): Extra return possibility
2282 'back-and-forward.
2283 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2284 return value list to indicate replacement of a brace-pair cons
2285 with its car.
2286 (c-parse-state-1): With 'back-and-forward, only call
2287 c-append-lower-brace-pair-to state-cache when cons-separated.
2288
f0a10576
JD
22892014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2290
2291 * term/ns-win.el (ns-suspend-error): New function.
2292 (ns-initialize-window-system): Add ns-suspend-error to
2293 suspend-hook (Bug#16612).
2294
b8d552c2
DC
22952014-02-02 Daniel Colascione <dancol@dancol.org>
2296
35e951cd
JB
2297 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2298 Make loading cc-mode silent.
b8d552c2 2299
f2b7d123
DC
23002014-02-02 Daniel Colascione <dancol@dancol.org>
2301
35e951cd
JB
2302 * comint.el (comint-prompt-read-only): Change doc to suggest
2303 remap keybinding.
f2b7d123 2304
4472a196
GM
23052014-02-02 Glenn Morris <rgm@gnu.org>
2306
2307 * register.el (register-read-with-preview, point-to-register)
2308 (window-configuration-to-register, frame-configuration-to-register)
2309 (jump-to-register, number-to-register, view-register, insert-register)
2310 (copy-to-register, append-to-register, prepend-to-register)
2311 (copy-rectangle-to-register): Doc fixes.
2312
70e5a261
SM
23132014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2316 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2317 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2318 * help-fns.el (describe-function-1): Use it.
2319
7c324762
GM
23202014-02-02 Glenn Morris <rgm@gnu.org>
2321
2322 * register.el (register-preview-default): New function,
2323 split from register-preview.
2324 (register-preview-function): Rename from register-preview-functions,
2325 make it not a hook.
2326 (register-preview): Use register-preview-function.
2327 (register-read-with-preview): Error on non-character event. (Bug#16595)
2328
a09beb3d
DG
23292014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2330
2331 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2332 `:' before binary operators (bug#16609). Don't check for `:'
2333 before `[' and `(', or their syntax status. A percent literal
2334 can't end with either.
68e004e0
DG
2335 (ruby-font-lock-keywords): For built-ins that require arguments,
2336 check that they're followed by something that looks like argument
2337 (bug#16610).
a09beb3d 2338
ed4d2875
LI
23392014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2340
2341 * subr.el (butlast): Document what an omitted N means (bug#13437).
2342 (nbutlast): Ditto.
2343
dba6e3ec
LI
23442014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2345
2346 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2347 depth shallower (bug#16587).
cc477daa
LI
2348 (shr-tag-svg): Respect `shr-inhibit-images'.
2349 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 2350
e2a67bd0
DG
23512014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2352
2353 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2354 (ruby-smie-grammar): Make "." right-associative. Make its priority
2355 lower than the ternary and all binary operators.
2356 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
2357 parent, or the first "." parent at indentation.
2358 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
2359 (Bug#16593)
2360
bd21bf41
JL
23612014-01-31 Juri Linkov <juri@jurta.org>
2362
2363 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2364 from `make-hash-table'.
2365
2366 * textmodes/ispell.el (ispell-init-process): Change message format
2367 to be consistent with other messages.
2368
b7e615b9
GM
23692014-01-31 Glenn Morris <rgm@gnu.org>
2370
a69ecd19
GM
2371 * delsel.el (delete-selection-mode): Doc fix.
2372
9997d7e3
GM
2373 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2374 (trace-function-background): Doc fixes.
2375
fbb764b8
GM
2376 * ido.el (ido-use-virtual-buffers): Doc fix.
2377 Reset :version, since the default value has not changed.
2378
da942af1
GM
2379 * register.el (register-preview-delay, register-read-with-preview):
2380 Doc fixes.
2381
b7e615b9
GM
2382 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2383 do not mess with mail-buffer position (fixes 2009-11-03 change).
2384 * progmodes/cc-mode.el (c-submit-bug-report):
2385 Check auto-fill-mode is bound. (Bug#16592)
2386
0a25002d
DH
23872014-01-31 Darren Hoo <darren.hoo@gmail.com>
2388
2389 * startup.el (fancy-splash-image-file): New function,
2390 split from fancy-splash-head.
2391 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2392 so that we are both using the same image. (Bug#16574)
2393
ad78f432
GM
23942014-01-30 Glenn Morris <rgm@gnu.org>
2395
6bbc0c84
GM
2396 * simple.el (eval-expression): Doc fix.
2397
ad78f432
GM
2398 * hexl.el (hexl-mode-hook):
2399 * ielm.el (ielm-mode-hook):
2400 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2401 (lisp-interaction-mode-hook):
20f39add 2402 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
2403 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2404
7b2f049c
SM
24052014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2408 is a symbol (bug#16584).
2409
0c633f13
GM
24102014-01-30 Glenn Morris <rgm@gnu.org>
2411
2412 * help.el (help-for-help-internal): Add "P" to text.
2413
5e61c1ef
GM
24142014-01-29 Glenn Morris <rgm@gnu.org>
2415
2416 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2417
1dcb169c
MR
24182014-01-28 Martin Rudalics <rudalics@gmx.at>
2419
2420 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2421 height constraints.
2422
a9128931
LL
24232014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2424
2425 * progmodes/hideif.el: Extend to full CPP expression syntax.
2426 (hif-token-alist): Add missing tokens.
2427 (hif-token-regexp): Add support for float/octal/hex immediates.
2428 (hif-string-literal-regexp): New const.
2429 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2430 (hif-exprlist): New function.
2431 (hif-parse-if-exp): Use it.
2432 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2433 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2434 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2435 (hif-logxor, hif-comma): New functions.
2436
a22359a7
GM
24372014-01-28 Glenn Morris <rgm@gnu.org>
2438
793ffe81
GM
2439 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2440
e3bd7eed
GM
2441 * indent.el (tab-stop-list): Doc fix. Add :version.
2442
a22359a7
GM
2443 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2444 (cvs-append-to-ignore): Add compatibility alias.
2445
52695556 24462014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 2447
bac524e0
GM
2448 * dired.el (dired-hide-details-mode): Don't autoload it,
2449 since it cannot be used outside Dired buffers anyway.
2450
52695556 2451 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 2452
52695556
GM
2453 * dired.el (dired-hide-details-hide-symlink-targets)
2454 (dired-hide-details-hide-information-lines)
2455 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
2456
2457 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2458 * strokes.el (strokes-file): Doc fix. Bump :version.
2459 (strokes-help): Doc fix.
2460 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2461 * emulation/viper.el (viper): Doc fix for custom group.
2462 (top-level): Remove oh-so-no-longer-relevant text about vip.
2463 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2464
2465 * ido.el (ido-save-directory-list-file):
2466 * saveplace.el (save-place-file):
2467 * calendar/timeclock.el (timeclock-file):
2468 * net/quickurl.el (quickurl-url-file):
2469 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2470 * progmodes/idlwave.el (idlwave-config-directory):
2471 * textmodes/remember.el (remember-data-file):
2472 Bump :version.
2473
169d6004
GM
24742014-01-26 Glenn Morris <rgm@gnu.org>
2475
de6a923b
GM
2476 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2477 Doc fix. Make obsolete.
2478 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2479
169d6004
GM
2480 * sort.el (delete-duplicate-lines): Doc fix.
2481
ed85dee6
RS
24822014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2483
2484 * progmodes/ada-mode.el (ada):
2485 * woman.el (woman): Link to info manual and Commentary section.
2486
2487 * progmodes/flymake.el (flymake):
2488 * nxml/nxml-mode.el (nxml):
2489 * net/eww.el (eww):
2490 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2491 * htmlfontify.el (htmlfontify):
2492 * ses.el (ses):
2493 * epa.el (epa):
2494 * ido.el (ido): Link to info manual.
2495
e0c67e1d
LL
24962014-01-25 Leo Liu <sdl.web@gmail.com>
2497
2498 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2499
35408b1a
AS
25002014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2501
2502 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2503 (bug#16537).
2504
76c3fa95
JB
25052014-01-24 Juanma Barranquero <lekktu@gmail.com>
2506
f77c7a99
JB
2507 * net/eww.el (eww-download-callback):
2508 Fix reference to eww-download-directory.
2509
76c3fa95
JB
2510 * emacs-lisp/bytecomp.el (byte-compile-file):
2511 Remove unused local variable `file-name'.
2512
1e548e40
GM
25132014-01-24 Glenn Morris <rgm@gnu.org>
2514
03f3b318
GM
2515 * woman.el (woman-default-faces, woman-monochrome-faces):
2516 Fix obsolescence specification.
2517
1e548e40
GM
2518 * subr.el (with-demoted-errors): Doc fix.
2519
d4f0427b
SM
25202014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2521
2522 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2523 (cl--macroexp-fboundp): New function.
2524 (cl--make-type-test): Use it.
2525
1670e27f
GM
25262014-01-23 Glenn Morris <rgm@gnu.org>
2527
2528 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2529 * simple.el (eval-expression): Doc fixes.
2530
80efa207
GM
25312014-01-22 Glenn Morris <rgm@gnu.org>
2532
2533 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2534
29afcbab
SM
25352014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * emacs-lisp/package.el: Write files silently.
2538 (package-autoload-ensure-default-file, package--write-file-no-coding)
2539 (package-generate-description-file, package--download-one-archive)
2540 (package-install-from-archive): Tell `write-region' to stay quiet.
2541 (package-menu-mode, package-menu--print-info): Omit the Archive column
2542 if there's only one archive.
2543 (package-all-keywords, package--has-keyword-p): Remove dead code.
2544
2a5bce4f
GM
25452014-01-22 Glenn Morris <rgm@gnu.org>
2546
edace89f
GM
2547 * version.el (emacs-bzr-version-bzr): Fix typo.
2548
2a5bce4f
GM
2549 * version.el (emacs-repository-get-version):
2550 Check either .bzr or .git, but not both.
2551 Make the git case actually use the DIR argument, and return nil
2552 rather than the empty string.
983664c0 2553 Avoid error if .git exists but the git executable is not found.
2a5bce4f 2554
6cb4da45
MR
25552014-01-22 Martin Rudalics <rudalics@gmx.at>
2556
2557 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
2558 * window.el (window-total-size, window-size): New argument ROUND.
2559 (window--min-delta-1, window-min-delta, window--max-delta-1):
2560 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
2561 columns a window can shrink (Bug#16430).
2562 (fit-window-to-buffer): Simplify code.
2563 * term.el (term-window-width): Call window-body-width again.
2564
cc0f2ece
GM
25652014-01-22 Glenn Morris <rgm@gnu.org>
2566
7b997b14
GM
2567 * image.el (image-format-suffixes): Doc fix.
2568
44e76f9d
GM
2569 * international/quail.el (quail-define-package): Doc fix.
2570
35e951cd 2571 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 2572 (authors-renamed-files-alist): Additions.
7bfc1caa 2573
85a5f61f
GM
2574 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2575 reverts 2014-01-09 change. (Bug#16422)
2576
cc0f2ece
GM
2577 * calc/calc-embed.el (thing-at-point-looking-at):
2578 * emacs-lisp/map-ynp.el (x-popup-dialog):
2579 * obsolete/lmenu.el (x-popup-dialog):
2580 * emacs-lisp/package.el (url-recreate-url):
2581 * mail/mailclient.el (clipboard-kill-ring-save):
2582 * subr.el (x-popup-dialog): Update declaration.
2583 * mail/rmail.el (rmail-mime-message-p):
2584 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2585
00d2a6bb
DC
25862014-01-21 Daniel Colascione <dancol@dancol.org>
2587
2588 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2589 Correctly detect when we're inside an arithmetic expansion form
2590 containing nested parenthesis.
c295fc18 2591 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
2592 to detect cases where we shouldn't expand "<<" to a heredoc
2593 skeleton.
2594
dd9d2e9d
SM
25952014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2596
2597 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2598 (eldoc--message-command-p): New function.
2599 (eldoc-display-message-p): Use it.
2600 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2601 message is not automatically erased for us.
2602 (eldoc-print-current-symbol-info): Erase previous message, if any.
2603
e7d807ca
TH
26042014-01-21 Tassilo Horn <tsdh@gnu.org>
2605
4ff0a0e5
TH
2606 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2607 specify it's an interactive function.
2608
dd9d2e9d
SM
2609 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2610 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
2611 citations with optional arguments.
2612
87503791
LL
26132014-01-21 Leo Liu <sdl.web@gmail.com>
2614
2615 * simple.el (read--expression): Don't enable eldoc-mode.
2616
6cc750ee
SM
26172014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * simple.el (move-beginning-of-line): Make sure we don't move forward
2620 (bug#16497).
2621
71f16bda
JL
26222014-01-20 Juri Linkov <juri@jurta.org>
2623
2624 * saveplace.el (toggle-save-place, save-place-to-alist)
2625 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2626 'dired-mode) before checking for dired-directory. (Bug#16477)
2627
3c5a4839
JL
26282014-01-20 Juri Linkov <juri@jurta.org>
2629
2630 * indent.el (indent-line-to): Use backward-to-indentation
2631 instead of back-to-indentation. (Bug#16461)
2632
f952002e
PE
26332014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2634
2635 Revert some of the CANNOT_DUMP fix (Bug#16494).
2636 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2637 but fixing this can wait until after the next release.
2638 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2639
93675500
MA
26402014-01-19 Michael Albinus <michael.albinus@gmx.de>
2641
2642 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2643 Use `password-word-equivalents'.
2644 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2645 to t. (Bug#5664, Bug#13124)
2646
e3af763f
AM
26472014-01-19 Alan Mackenzie <acm@muc.de>
2648
2649 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2650 points.
2651 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 2652 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
2653 * progmodes/cc-mode.el (c-before-change, c-after-change)
2654 (c-font-lock-fontify-region): Bind it here.
2655
4ff6d92d
MR
26562014-01-19 Martin Rudalics <rudalics@gmx.at>
2657
2658 * term.el (term-window-width): Call window-text-width instead of
2659 window-width (Bug#16470).
2660
9a685cf6
PE
26612014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2662
2663 * simple.el (password-word-equivalents): Remove duplicates.
2664 Sort, to make this easier next time.
2665 Downcase. Omit ": " after "jelszó".
2666
5aa78c2d
JD
26672014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2668
2669 * term/common-win.el (saved-region-selection): Defvar it.
2670 (x-select-text): Set saved-region-selection (Bug#16382).
2671
cabb250c
GM
26722014-01-18 Glenn Morris <rgm@gnu.org>
2673
2674 * emacs-lisp/authors.el (authors-aliases)
2675 (authors-renamed-files-alist): Add some entries.
2676
a1340440
MA
26772014-01-17 Michael Albinus <michael.albinus@gmx.de>
2678
93675500
MA
2679 * net/tramp.el (tramp-password-prompt-regexp):
2680 Use `password-word-equivalents' if available.
a1340440
MA
2681 (tramp-action-password, tramp-process-one-action)
2682 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2683
681ce5d2
CY
26842014-01-17 Chong Yidong <cyd@gnu.org>
2685
2686 * simple.el (password-word-equivalents): New defcustom.
2687 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2688 to 24.4.
2689 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2690 to t. (Bug#13124)
2691
fb3d479c
DG
26922014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2693
2694 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
2695 (ruby-align-to-stmt-keywords): Change the default value.
2696 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
2697 choices.
2698 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2699 keywords, check against the value of `ruby-alignable-keywords'
2700 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2701
0d613483
GM
27022014-01-17 Glenn Morris <rgm@gnu.org>
2703
fc23fe2d
GM
2704 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2705
0d613483 2706 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 2707 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
2708 (authors-ignored-files): Add some entries, remove others.
2709 (authors-ambiguous-files, authors-valid-file-names):
2710 Add some entries.
2711 (authors-renamed-files-alist): Add, remove, and adjust entries.
2712 (authors-renamed-files-regexps): Add some entries.
2713 Remove some very broad ones. Make some entries `lax'.
2714 (authors-lax-changelogs): New constant.
2715 (authors-disambiguate-file-name): Treat top-level specially.
2716 (authors-lax-changelog-p): New function.
2717 (authors-canonical-file-name): Check file as written against
2718 authors-valid-file-names. Do not special-case etc/.
2719 Handle `lax' logs and authors-renamed-files-regexps elements.
2720
2dbf4ffd
DG
27212014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2722
2723 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
2724 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2725 callers.
2dbf4ffd 2726
87b2a7f2
SM
27272014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2728
2729 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2730 Assume we're already in the proper buffer.
2731 Inspired by Anders Lindgren <andlind@gmail.com>.
2732 (follow-post-command-hook): Call it from the right buffer.
2733 (follow-comint-scroll-to-bottom): Adjust call.
2734 (follow-all-followers): Use get-buffer-window-list.
2735
93acfb0e
DC
27362014-01-15 Daniel Colascione <dancol@dancol.org>
2737
2738 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2739 `buffer-file-name' in interactive-form so that we don't leave
2740 pathless file names in `file-name-history'.
2741
ccc6b208
JL
27422014-01-15 Juri Linkov <juri@jurta.org>
2743
2744 * indent.el (indent-rigidly): Set deactivate-mark to nil
2745 in transient indentation mode. (Bug#16438)
2746
5c92e00d
DG
27472014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2748
2749 * emacs-lisp/package.el (package-desc-keywords): New function
2750 (Bug#16222).
2751 (describe-package-1, package-all-keywords)
2752 (package--has-keyword-p): Use it.
2753
dac69660
NR
27542014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2755
2756 * simple.el (define-alternatives): When creating the
2757 COMMAND-alternatives variable, assign COMMAND as its definition
2758 name so that `describe-variable' can relocate it.
2759
8b63edf8
ML
27602014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2761
2762 * font-lock.el (font-lock-keywords): Fix typo in docstring
2763 (bug#16307).
2764
c6a0b8eb
AM
27652014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2766
2767 * ispell.el (ispell-region): Reset `in-comment' for new line
2768 instead of wrongly reset `add-coment' (bug#13577).
2769
02bf443d
DU
27702014-01-14 Daiki Ueno <ueno@gnu.org>
2771
2772 * epa-file.el (epa-file-write-region): Encode the region according
2773 to `buffer-file-format'. Problem reported at:
2774 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2775
fd7fde15
SM
27762014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2779 so it applies in the right buffer (bug#16410).
2780
c176054f
DC
27812014-01-13 Daniel Colascione <dancol@dancol.org>
2782
2783 * textmodes/rst.el (rst-define-key): Provide deprecated
2784 keybindings through named functions instead of anonymous ones so
2785 that "??" doesn't appear in describe-mode output.
2786
e3f33e5d
BG
27872014-01-13 Bastien Guerry <bzg@gnu.org>
2788
2789 * simple.el (define-alternatives): Call the selected command
2790 interactively. When setting `COMMAND--implementation' for the
2791 first time, tell the user how to chose another implementation.
2792 Enhance the docstring.
2793
c055d654
SM
27942014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2795
2796 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2797 (log-edit--match-first-line): New function.
2798 (log-edit-font-lock-keywords): Use it.
2799 (log-edit-mode): Make jit-lock-defer-multiline work.
2800
d791cc3b
BG
28012014-01-13 Bastien Guerry <bzg@gnu.org>
2802
2803 * rect.el (rectangle-mark-mode): When the region is not active,
2804 display a message saying that the mark as been set and that
2805 rectangle mode is in use.
2806 (rectangle--highlight-for-redisplay): Only put an overlay with a
2807 visible vertical bar when (display-graphic-p) is non-nil.
2808 This partially fixes Bug#16403.
2809
3c0c4562
JL
28102014-01-13 Juri Linkov <juri@jurta.org>
2811
2812 * info.el (Info-find-file): Go to DIR before displaying the error
2813 about a nonexistent file if no previous Info file is visited.
2814 Use `user-error' instead of `error' for "Info file %s does not exist".
2815 (Info-find-node-2): In case of a nonexistent node in unwind forms
2816 go to the Top node if there is no previous node to revert to.
2817 (Bug#16405)
2818
25a700d0
MR
28192014-01-13 Martin Rudalics <rudalics@gmx.at>
2820
2821 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
2822 * window.el (fit-frame-to-buffer): Fix doc-string.
2823 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
2824 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2825 when avoiding that frame goes partially off-screen.
2826 (fit-window-to-buffer): Respect window-min-height/-width
2827 (Bug#14096).
2828
6ae948d8
SM
28292014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2830
2831 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2832 after an empty line.
2833
6137cb82
SM
28342014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * net/shr.el (shr-render-region): Autoload.
2837
e6344e17
XF
28382014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2839
2840 * net/eww.el (eww-download-directory): Rename from
2841 `eww-download-path' (Bug#16419).
2842
3b922c70
LL
28432014-01-12 Leo Liu <sdl.web@gmail.com>
2844
2845 * dired-x.el (dired-mode-map): Fix last change.
2846
2847 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2848
4fa51741
PE
28492014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2850
2851 Spelling fixes.
2852 * emacs-lisp/generic.el (generic--normalize-comments):
2853 Rename from generic--normalise-comments. All uses changed.
35e951cd 2854 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
2855 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2856 (bubbles--neighborhood-available)
2857 (bubbles--update-neighborhood-score):
2858 Rename from names with 'neighbourhood'. All uses changed.
2859
9b335362
LL
28602014-01-12 Leo Liu <sdl.web@gmail.com>
2861
2862 Re-implement the feature of showing eldoc info after editing.
2863 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2864 (eldoc-edit-message-commands): New function.
2865 (eldoc-print-after-edit): New variable.
2866 (eldoc-pre-command-refresh-echo-area): Emit message only by
2867 eldoc-message-commands.
2868 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2869 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 2870 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 2871 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 2872
e2a095b1
GM
28732014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2874 Eric S. Raymond <esr@thyrsus.com>
9685190b 2875
841a6d0c 2876 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 2877 function works correctly in either a Bazaar or Git repo.
0abf4134 2878
e2a095b1
GM
28792014-01-11 Eric S. Raymond <esr@thyrsus.com>
2880
6137cb82
SM
2881 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2882 Goes with removal of the joke manpages from /etc.
9685190b 2883
c295fc18 28842014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 2885
6137cb82
SM
2886 * mail/rmail.el (rmail-get-coding-system):
2887 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 2888
d2f16e93
GM
28892014-01-10 Glenn Morris <rgm@gnu.org>
2890
2891 * emacs-lisp/authors.el (authors-fixed-entries):
2892 Update for files that no longer exist.
2893
7e03bb32
ER
28942014-01-10 Eric S. Raymond <esr@thyrsus.com>
2895
2896 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 2897 24.3 (Tested).
7e03bb32 2898
dd806710
BB
28992014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2900
2901 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2902 and Podfile.
2903
ed6ec139
EZ
29042014-01-10 Eli Zaretskii <eliz@gnu.org>
2905
2906 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2907
cc33cac9
CY
29082014-01-10 Chong Yidong <cyd@gnu.org>
2909
6137cb82 2910 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 2911
d9d836b5
AL
29122014-01-10 Anders Lindgren <andlind@gmail.com>
2913
2914 * follow.el (follow-cache-command-list): Include right-char and
2915 left-char.
2916
06827ec8
PE
29172014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2918
2919 Spelling fixes.
2920 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2921 * woman.el (woman-mark-horizontal-position):
2922 Rename from woman-mark-horizonal-position. Use changed.
2923
458dbf5e
GM
29242014-01-10 Glenn Morris <rgm@gnu.org>
2925
dad6fae7
GM
2926 * info.el (info-initialize): If running uninstalled, ensure our
2927 own info files are always found first, even if INFOPATH is set.
2928
458dbf5e
GM
2929 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2930
05e0afce
DE
29312014-01-09 David Engster <deng@randomsample.de>
2932
2933 * emacs-lisp/eieio-custom.el:
2934 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2935 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2936 * emacs-lisp/eieio.el: Regenerate autoloads.
2937
f29778b3
ER
29382014-01-09 Eric S. Raymond <esr@thyrsus.com>
2939
2940 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2941 following renames. (Bug#8756)
f29778b3 2942
684d44ef
SM
29432014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2946 (bug#16382).
2947 (activate-mark): Add `no-tmm' argument.
2948 (set-mark, push-mark-command): Use it instead of running
2949 activate-mark-hook by hand.
2950
9475054f
ER
29512014-01-08 Eric S. Raymond <esr@thyrsus.com>
2952
2953 In preparation for the move to git, sanitize out some
2954 Bazaar-specific names.
2955
38942b9c
GM
2956 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2957
9475054f 2958 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2959 emacs-repository-version. Obsolete-variable alias made.
9475054f 2960 * loadup.el: Follow through on this name change.
a12bf61e 2961 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2962 assumption about the version control system in use.
2963
0f918d96 29642014-01-08 David Engster <deng@randomsample.de>
abb82152 2965
684d44ef
SM
2966 * help-fns.el (help-fns-describe-function-functions):
2967 New variable to call functions for augmenting help buffers.
abb82152
DE
2968 (describe-function-1): Remove explicit calls to
2969 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2970 `help-fns--obsolete'. Put them in above new variable instead, and
2971 call them through `run-hook-with-args'.
2972 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2973 `eieio-describe-class'. Not meant for interactive use anymore,
2974 but to augment existing help buffers. Remove optional second
684d44ef
SM
2975 argument. Create proper button for file location.
2976 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2977 possible.
2978 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2979 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2980 (describe-method, describe-generic, eieio-describe-method):
2981 Remove aliases.
0f918d96
DE
2982 (eieio-help-constructor, eieio-help-generic): Rename from
2983 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2984 Rewrite to use `insert' in the current buffer and use proper help
2985 buttons.
2986 (eieio-help-find-method-definition)
2987 (eieio-help-find-class-definition): Also accept symbols as
2988 arguments.
2989 (eieio-help-mode-augmentation-maybee): Remove.
2990 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2991 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2992 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2993
136b74c5
PE
29942014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2995
2996 Spelling fixes.
2997 * language/china-util.el (hz-ascii-designation):
2998 Rename from hz-ascii-designnation.
2999 (hz-ascii-designation): Rename from hz-ascii-designnation.
3000 All uses changed.
3001
ec6c7de2
SM
30022014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3003
3004 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3005 package-alist.
3006
d6262c7c
BG
30072014-01-08 Bastien Guerry <bzg@gnu.org>
3008
4b9e6087
GM
3009 * emacs-lisp/package.el (package-delete):
3010 Correctly delete the package from package-alist.
d6262c7c 3011
0a3eec32
DU
30122014-01-08 Daiki Ueno <ueno@gnu.org>
3013
3014 * emacs-lisp/package.el (url-recreate-url): Declare.
3015 (url-http-target-url): Declare.
4b9e6087 3016 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
3017 (package--check-signature): Don't re-signal errors from
3018 package--with-work-buffer. Suggested by Stefan Monnier.
3019
68f0bb97
BG
30202014-01-07 Bastien Guerry <bzg@gnu.org>
3021
3022 * minibuffer.el (completion--try-word-completion): When both a
3023 hyphen and a space are possible candidates for the character
3024 following a word, display both candidates. (Bug#15980)
3025
7e1899d7
MR
30262014-01-07 Martin Rudalics <rudalics@gmx.at>
3027
3028 * window.el (balance-windows-2): While rounding don't give a
c295fc18 3029 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 3030
0030ec15
GM
30312014-01-07 Glenn Morris <rgm@gnu.org>
3032
3033 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3034 (menu-bar-help-menu): Use view-external-packages instead.
3035
2b6b4f20
BG
30362014-01-07 Bastien Guerry <bzg@gnu.org>
3037
3038 * emacs-lisp/package.el (package-delete): Also delete the package
3039 name from `package-alist', not its description only.
3040
e9be0a13
GM
30412014-01-07 Glenn Morris <rgm@gnu.org>
3042
3043 * help.el (view-external-packages):
3044 * menu-bar.el (menu-bar-help-extra-packages):
3045 Visit efaq.info rather than etc/MORE.STUFF.
3046
e4f74da9
JL
30472014-01-07 Juri Linkov <juri@jurta.org>
3048
3049 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3050 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3051
3052 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3053 that shadows RET. (Bug#16342)
3054
de7ce2d1
CY
30552014-01-07 Chong Yidong <cyd@gnu.org>
3056
3057 * isearch.el (isearch-yank-char, isearch-yank-word)
3058 (isearch-yank-line): Doc fix.
3059
6bdd9204
SM
30602014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3063 * emacs-lisp/elint.el (elint-find-builtins):
3064 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3065 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3066 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3067 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3068 * apropos.el (apropos-safe-documentation):
3069 * subr.el (symbol-file): Remove redundant fboundp.
3070 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3071
daccca97
BG
30722014-01-06 Bastien Guerry <bzg@gnu.org>
3073
3074 * hl-line.el (global-hl-line-overlay): Make a local variable.
3075 (global-hl-line-overlays): New variable to store all overlays.
3076 (global-hl-line-mode): Don't delete overlays from the current
3077 buffer when `global-hl-line-sticky-flag' is non-nil.
3078 (global-hl-line-highlight): Add new overlays to
3079 `global-hl-line-overlays'.
3080 (global-hl-line-unhighlight-all): New function to delete all
3081 overlays when turning off `global-hl-line-mode'.
3082 This fixes Bug#16183.
3083
ec00f20f
SM
30842014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3085
3086 * subr.el (set-transient-map): Fix nested case and docstring.
3087
a0031f97
TH
30882014-01-06 Tassilo Horn <tsdh@gnu.org>
3089
3090 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3091 `Texinfo' entry.
3092
bf6a77f3
DC
30932014-01-06 Daniel Colascione <dancol@dancol.org>
3094
3095 Fix defun navigation in vc log view.
3096
3097 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3098 like `beginning-of-defun'.
c295fc18 3099 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
3100 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3101 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 3102 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 3103 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 3104
d5081c1e
PE
31052014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3106
3107 Spelling fixes.
3108 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3109 * emacs-lisp/debug.el (cancel-debug-on-entry):
3110 * epg.el (epg-error-to-string):
3111 * files.el (recover-file):
3112 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3113 * mail/emacsbug.el (report-emacs-bug-hook):
3114 * mail/sendmail.el (mail-recover):
3115 * ses.el (ses-yank-resize):
3116 * term/ns-win.el (ns-print-buffer):
3117 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3118 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3119 All uses changed.
3120 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3121
53f6b148
LL
31222014-01-06 Leo Liu <sdl.web@gmail.com>
3123
3124 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 3125 to avoid shadowing global key. (Bug#16354)
53f6b148 3126
b82ace2f
DC
31272014-01-06 Daniel Colascione <dancol@dancol.org>
3128
3129 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3130 rst-mode.
3131
3669b636
MR
31322014-01-05 Martin Rudalics <rudalics@gmx.at>
3133
3134 * window.el (balance-windows): Add mising t to fix Bug#16351.
3135
1a29adc2
LMI
31362014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3137
3138 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3139 (bug#16285).
3d95a0f4
LMI
3140 (shr-insert): If we have a word that's longer than `shr-width',
3141 break after it anyway. Otherwise we'll do no breaking once we get
3142 such a long word.
1a29adc2 3143
f4018140
KN
31442014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3145
3fcfc4ee 3146 * net/eww.el (eww): Support single/double quote for search.
c295fc18 3147 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
3148 (eww-history-quit): Delete and use quit-window.
3149 (eww-history-kill): Delete, because it doesn't work well and
3150 not necessary.
3151 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 3152
4e619754
PE
31532014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3154
73dbf960
PE
3155 Fix misspelling of 'chinese' in rx (Bug#16237).
3156 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3157 chinese-two-byte.
3158
4e619754
PE
3159 Change subword regexps back to vars (Bug#16296).
3160 * progmodes/subword.el (subword-forward-regexp)
3161 (subword-backward-regexp): Change these back to variables.
3162
e18b70fc
SM
31632014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3164
3165 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3166 syntax-begin-function (bug#16247).
3167
0d53f628
CY
31682014-01-03 Chong Yidong <cyd@gnu.org>
3169
3170 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3171 (advice--docstring): Delete variable.
3172 (advice--make-1): Leave the docstring empty.
3173 (advice-add): Use function-documentation for advised docstring.
3174
3175 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3176 Ignore function-documentation property when getting documentation.
3177 (ad-activate-advised-definition): Use function-documentation
3178 generate the docstring.
3179 (ad-make-advised-definition): Don't call
3180 ad-make-advised-definition-docstring.
3181 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3182 Delete functions.
3183
3184 * progmodes/sql.el (sql-help): Use function-documentation instead
3185 of dynamic-docstring-function property. No need to autoload now.
3186 (sql--help-docstring): New variable.
3187 (sql--make-help-docstring): Use it.
3188
6f547583
SM
31892014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3190
6ef9aed8
SM
3191 * ielm.el (ielm-tab): Retarget.
3192 (ielm-map): Use ielm-tab for tab.
3193 (ielm-complete-filename): Use comint-filename-completion.
3194 (ielm-complete-symbol): Remove.
3195 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3196 remove ielm-tab from completion-at-point-functions (bug#16224).
3197
6f547583
SM
3198 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3199 Beware signals raised by predicates (bug#16201).
3200
a574edbe
RS
32012014-01-02 Richard Stallman <rms@gnu.org>
3202
e831604d
RS
3203 * dired-aux.el (dired-do-print): Handle printer-name.
3204
6f547583
SM
3205 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3206 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
3207 (rmail-epa-decrypt): Turn off mime processing.
3208
3fcfc4ee 3209 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
3210 Add parens in message-id.
3211
3212 * mail/rmail.el (rmail-get-coding-function): Variable.
3213 (rmail-get-coding-system): Use it.
3214
04311a16
KH
32152013-12-31 Eli Zaretskii <eliz@gnu.org>
3216
3217 * international/mule-conf.el: Unify the charset indian-is13194.
3218 (indian-is13194): Specify unify-map.
3219
c8d89778
LL
32202013-12-31 Leo Liu <sdl.web@gmail.com>
3221
3222 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3223
e63ace37
DC
32242013-12-30 Daniel Colascione <dancol@dancol.org>
3225
9e0bf19a
DC
3226 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3227 of printing a useless when we resume from sleep.
3228
e63ace37 3229 * progmodes/sh-script.el
c295fc18 3230 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
3231 in indentation code. (Bug#16233)
3232
e9d6c46a
JT
32332013-12-28 João Távora <joaotavora@gmail.com>
3234
6f547583
SM
3235 * elec-pair.el (electric-pair-post-self-insert-function):
3236 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 3237
bf7bea5d
EZ
32382013-12-28 Eli Zaretskii <eliz@gnu.org>
3239
3240 * frame.el (window-system-for-display): Don't allow to create a
3241 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3242
8449dd1f
GM
32432013-12-28 Glenn Morris <rgm@gnu.org>
3244
9c5a5c77
GM
3245 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3246 Update callers.
3247
3248 * apropos.el (apropos-match-face):
3249 * calculator.el (calculator-displayer):
3250 * dabbrev.el (dabbrev-search-these-buffers-only):
3251 * face-remap.el (buffer-face-mode-face):
3252 * simple.el (yank-handled-properties):
3253 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3254 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3255 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3256 (hashcash-double-spend-database):
3257 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3258 (ruby-deep-indent-paren-style):
3259 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3260 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3261 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3262 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3263 Specify custom types.
3264
bb098075
GM
3265 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3266 * bookmark.el (bookmark-bmenu-use-header-line):
3267 * doc-view.el (doc-view-scale-internally):
3268 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3269 * register.el (register-preview-delay):
3270 * net/shr.el (shr-bullet):
3271 * progmodes/cfengine.el (cfengine-cf-promises)
3272 (cfengine-parameters-indent):
3273 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3274 * textmodes/reftex-vars.el (reftex-label-regexps):
3275 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3276
9c61f806
GM
3277 * net/tls.el (tls-certtool-program): Fix default value.
3278
3279 * desktop.el (desktop-restore-in-current-display):
3280 * newcomment.el (comment-empty-lines):
3281 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3282 (idlwave-pad-keyword):
3283 * progmodes/tcl.el (tcl-tab-always-indent):
3284 * textmodes/reftex-vars.el (reftex-index-default-tag):
3285 * elec-pair.el (electric-pair-skip-whitespace):
3286 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3287
8449dd1f
GM
3288 * emacs-lisp/authors.el (authors-ignored-files)
3289 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3290
fdadeb49
JC
32912013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3292
72140a0f
GM
3293 * shell.el (shell-dynamic-complete-command): Doc fix.
3294 (shell--command-completion-data): Shell completion now matches
3295 executable filenames from the current buffer's directory, on
da5ecfa9 3296 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 3297
e572a7d8
LI
32982013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3299
3300 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3301
7514d3f8
SM
33022013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3303
a4151f3b
SM
3304 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3305 (bug#16251).
3306
7514d3f8
SM
3307 * electric.el: Move all electric-pair-* to elec-pair.el.
3308 * elec-pair.el: New file, split from electric.el.
3309
ac5758d1
LI
33102013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3311
3312 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3313 indentation level is larger than the width, because that will
3314 infloop.
3315 (shr-insert): Fill repeatedly long texts, so that Japanese is
3316 formatted correctly (bug#16263).
24a6b65e
LI
3317 (shr-find-fill-point): Off by one error in comparison with the
3318 indentation.
ac5758d1 3319
7514d3f8 33202013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
3321
3322 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 3323 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
3324 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3325 if that keeps or improves their balance in buffers.
3326 (electric-pair-delete-adjacent-pairs): Delete the pair when
3327 backspacing over adjacent matched delimiters.
3328 (electric-pair-open-extra-newline): Open extra newline when
3329 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
3330 (electric--sort-post-self-insertion-hook):
3331 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
3332 minor-modes are activated.
3333 * simple.el (newline-and-indent): Call newline with interactive
3334 set to t.
3335 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
3336 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3337 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3338 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
3339 electric-pair-open-newline-between-pairs to nil.
3340
fbcc63a3
FEG
33412013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3342
3343 * progmodes/python.el: Use lexical-binding.
3344 (python-nav-beginning-of-defun): Stop searching ASAP.
3345
ed78d16c
XF
33462013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3347
3348 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3349 Fix interactive spec. Doc fix. (Bug#15754)
3350
38b2c142
KY
33512013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3352
3353 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 3354 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
3355 Fix edebug spec (bug#16184).
3356
3c856c14
LI
33572013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3358
83fa295c 3359 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
3360 (shr-insert): Don't infloop if we can't find a good place to break
3361 the line (bug#16256).
3c856c14 3362
01379221
FEG
33632013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3364
35e951cd 3365 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
3366 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3367 python-nav-lisp-forward-sexp-safe.
3368 (python-nav--forward-sexp): New argument SAFE allows switching
3369 forward sexp movement behavior for parens.
3370 (python-nav-forward-sexp): Throw errors on unterminated parens
3371 (Bug#16191).
3372 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3373 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
3374 (python-shell-buffer-substring):
3375 Use `python-nav-forward-sexp-safe'.
01379221 3376
99e4926f
LI
33772013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3378
3379 * net/shr.el (shr-find-fill-point): Don't break lines before a
3380 quotation mark.
c6c20584
LI
3381 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3382 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 3383 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 3384
fec0e828
KN
33852013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3386
3387 * net/eww.el (eww-form-textarea): Use a different face for
3388 textareas than text input since they have different keymaps
3389 (bug#16142).
3390
89c868ad
FEG
33912013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3392
7514d3f8
SM
3393 * progmodes/python.el (python-nav-beginning-of-statement):
3394 Speed up (Bug#15295).
89c868ad 3395
eeef121a
LI
33962013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3397
3398 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3399 the window configuration.
3400
121ea65f
EZ
34012013-12-24 Eli Zaretskii <eliz@gnu.org>
3402
3403 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3404 we run on MS-Windows or MS-DOS.
3405
18cee9ec
MR
34062013-12-24 Martin Rudalics <rudalics@gmx.at>
3407
3408 * window.el (balance-windows-area): Call window-size instead of
3409 window-height and window-width. Bug#16241.
3410
58f2b9a5
LI
34112013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3412
3413 * net/eww.el (eww-bookmark-quit): Remove.
3414 (eww-bookmark-browse): Restore the window configuration when you
3415 choose a bookmark (bug#16144).
3416
d64b6308
DC
34172013-12-24 Daniel Colascione <dancol@dancol.org>
3418
3419 * icomplete.el: Remove redundant :group arguments to `defcustom'
3420 throughout.
3421 (icomplete-show-matches-on-no-input): New customizable variable.
3422 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3423 we have something to show.
7514d3f8 3424 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 3425
0da54898
DC
34262013-12-23 Daniel Colascione <dancol@dancol.org>
3427
3428 * icomplete.el: Move `provide' to end of file.
3429
b90aa4f4
TZ
34302013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3431
3432 * net/gnutls.el (gnutls-verify-error): Add version tag.
3433
8cd22a08
CY
34342013-12-23 Chong Yidong <cyd@gnu.org>
3435
3436 * subr.el (set-transient-map): Rename from
3437 set-temporary-overlay-map. Doc fix.
3438
3439 * face-remap.el (text-scale-adjust):
3440 * indent.el (indent-rigidly):
3441 * kmacro.el (kmacro-call-macro):
3442 * minibuffer.el (minibuffer-force-complete):
3443 * repeat.el (repeat):
3444 * simple.el (universal-argument--mode):
3445 * calendar/todo-mode.el (todo-insert-item--next-param):
3446 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3447
7510b021
CY
3448 * indent.el (indent-rigidly): Use substitute-command-keys.
3449
72140a0f 34502013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
3451
3452 * net/eww.el (eww-tag-select): Add text-property to jump to next
3453 select field.
e9dc713d 3454 (eww): Add non-supported ftp error.
56890ecd 3455
1f87a56c
DG
34562013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3457
3458 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3459 comments. Handle electric indent after typing `?' and `!'.
3460
dca38cf9
CY
34612013-12-22 Chong Yidong <cyd@gnu.org>
3462
3463 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
3464 applicable to a frame, fall back on the defface spec.
3465 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 3466
f2351498
DG
34672013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3468
3469 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3470 after `{'. We need it after block openers, and it doesn't seem
3471 to hurt after hash openers.
3472
6cddebc1
DG
34732013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3474
3475 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3476 extracted from `ruby-smie-rules'.
3477 (ruby--electric-indent-chars): New variable.
3478 (ruby--electric-indent-p): New function.
3479 (ruby-mode): Use `electric-indent-functions' instead of
3480 `electric-indent-chars'.
3481
65a1da00
DG
34822013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3483
3484 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3485 docstring.
3486 (ruby-smie-rules): Indent plus one level after `=>'.
3487
b51ad4cf
RS
34882013-12-21 Richard Stallman <rms@gnu.org>
3489
3490 * simple.el (newline): Doc fix.
3491
72140a0f 34922013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 3493
e9dc713d 3494 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
3495 (eww-history-browse, eww-history-quit, eww-history-kill)
3496 (eww-history-mode-map, eww-history-mode): New command and
3497 functions to list browser histories.
e9dc713d
JB
3498 (eww-form-text): Support text form with disabled
3499 and readonly attributes.
3500 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 3501
5e1901c1
RS
35022013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3503
3504 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3505 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3506 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3507 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3508 Use `user-error'.
3509 (eww-bookmark-mode-map): Add menu.
3510 (eww-render, eww-mode): Use `setq-local'.
3511 (eww-tool-bar-map): New variable.
3512 (eww-mode): Set `tool-bar-map'.
3513 (eww-view-source): Check for `html-mode' with `fboundp'.
3514
073d5cfd
LMI
35152013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3516
3517 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3518 elements with text inside. Also remove debugging.
3519
41cf3d11
JD
35202013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3521
3522 * cus-start.el (all): Add ns-use-srgb-colorspace.
3523
aac2b673
CY
35242013-12-21 Chong Yidong <cyd@gnu.org>
3525
3526 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3527 undefined. Thus, theme settings for undefined faces do not take
3528 effect until the faces are defined with defface, the same as with
3529 theme variables.
3530
3531 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3532 (face-spec-reset-face): Don't assign extra properties in temacs.
3533 (face-spec-recalc): Apply X resources too.
3534
bacb0e77
CY
35352013-12-21 Chong Yidong <cyd@gnu.org>
3536
3537 * faces.el (face-spec-set):
3538 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3539 * custom.el (defface): Doc fixes (Bug#16203).
3540
77221051
CY
3541 * indent.el (indent-rigidly-map): Add docstring, and move commands
3542 into named functions.
3543 (indent-rigidly-left, indent-rigidly-right)
3544 (indent-rigidly-left-to-tab-stop)
3545 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3546 indentation direction based on bidi direction, and accumulate
3547 sequential commands in a single undo boundary.
3548 (indent-rigidly--pop-undo): New utility function.
3549
e0eb0550
JB
35502013-12-20 Juanma Barranquero <lekktu@gmail.com>
3551
3552 * faces.el (read-face-name): Require crm.el when using crm-separator.
3553
3282bd2e
DC
35542013-12-20 Daniel Colascione <dancol@dancol.org>
3555
3556 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3557 so that we don't reflow comments into the shebang line.
3558
1d42e5b6
JL
35592013-12-20 Juri Linkov <juri@jurta.org>
3560
3561 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3562 a position when `dired-directory' is non-nil. Check integer
3563 positions with `integerp'.
3564 (toggle-save-place, save-places-to-alist): Add check for
3565 `dired-directory'.
3566 (save-place-find-file-hook): Check integer positions with
3567 `integerp'.
3568 (save-place-dired-hook): Use `dired-goto-file' when
3569 `dired-filename' is found in the assoc list. Check integer
3570 positions with `integerp'.
3571 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3572
3573 * dired.el (dired-initial-position-hook): Rename back from
3574 `dired-initial-point-hook'.
3575 (dired-initial-position): Rename `dired-initial-point-hook' to
3576 `dired-initial-position-hook'.
3577 (dired-file-name-at-point): Doc fix. (Bug#15329)
3578
24da7273
JL
35792013-12-20 Juri Linkov <juri@jurta.org>
3580
3581 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3582 (read-regexp-suggestions): New function.
3583 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3584 Use `read-regexp-suggestions'. Add non-empty default to history
3585 for empty input.
3586 (occur-read-regexp-defaults-function): Remove function.
3587 (occur-read-primary-args): Use `regexp-history-last' instead of
3588 `occur-read-regexp-defaults-function'.
3589
3590 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3591 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3592 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3593 `hi-lock-read-regexp-defaults-function'. Doc fix.
3594 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3595 with `find-tag-default-as-symbol-regexp'. Doc fix.
3596 (hi-lock-read-regexp-defaults): Remove function.
3597 (hi-lock-regexp-okay): Add check for null.
3598
3599 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3600 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3601
3602 * subr.el (find-tag-default-as-symbol-regexp): New function.
3603 (find-tag-default-as-regexp): Move symbol regexp formatting to
3604 `find-tag-default-as-symbol-regexp'.
3605
137f57c8
S
36062013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3607
3608 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3609 (Bug#14179)
3610
f3a66082
SB
36112013-12-20 Stephen Berman <stephen.berman@gmx.net>
3612
3613 * calendar/todo-mode.el: New implementation of item insertion
3614 commands and key bindings.
3615 (todo-key-prompt): New face.
3616 (todo-insert-item): New command.
3617 (todo-insert-item--parameters): New defconst, replacing defvar
3618 todo-insertion-commands-args-genlist.
3619 (todo-insert-item--param-key-alist): New defconst, replacing
3620 defvar todo-insertion-commands-arg-key-list.
3621 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3622 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3623 (todo-insert-item--next-param): New functions.
3624 (todo-insert-item--args, todo-insert-item--argleft)
3625 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3626 New variables.
3627 (todo-key-bindings-t): Change binding of "i" from
3628 todo-insertion-map to todo-insert-item.
3629 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3630 (todo-insertion-command-name, todo-insertion-commands-names)
3631 (todo-define-insertion-command, todo-insertion-commands)
3632 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3633
2f99433b
SB
36342013-12-20 Stephen Berman <stephen.berman@gmx.net>
3635
3636 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3637 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3638 eval-when-compile.
3639 (todo-move-category): Allow choosing a non-existing todo file to
3640 move the category to, and create that file.
3641 (todo-default-priority): New user option.
3642 (todo-set-item-priority): Use it.
3643 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3644 (desktop-restore-file-buffer): Declare.
3645 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3646 (todo-modes-set-2): Locally set desktop-save-buffer to
3647 todo-desktop-save-buffer.
3648 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3649 (auto-mode-alist): Add autoload cookie.
3650
131e4695
BB
36512013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3652
3653 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3654 helpers.el was a poor choice of name.
3cbfb935
BB
3655 (string-remove-prefix): New function.
3656 (string-remove-suffix): New function.
131e4695 3657
c44de18d
MR
36582013-12-20 Martin Rudalics <rudalics@gmx.at>
3659
3660 Fix assignment for new window total sizes.
3661 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
3662 (window--pixel-to-total-1, window--pixel-to-total):
3663 Fix calculation of new total sizes.
c44de18d 3664
ca65efcc
VS
36652013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3666
3667 * comint.el (comint-output-filter): Fix rear-nonsticky property
3668 placement (Bug#16010).
3669
a9574eb7
CY
36702013-12-20 Chong Yidong <cyd@gnu.org>
3671
3672 * faces.el (read-color): Minor fix for completion function.
3673
b520f210
DG
36742013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3675
e0eb0550
JB
3676 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3677 New option. (Bug#16182)
b520f210
DG
3678 (ruby-smie--indent-to-stmt-p): Use it.
3679 (ruby-smie-rules): Revert the logic in the handling of `when'.
3680 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3681 (ruby-deep-arglist, ruby-deep-indent-paren)
3682 (ruby-deep-indent-paren-style): Update docstrings to note that the
3683 vars don't have any effect with SMIE.
3684
26b75b45
JB
36852013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3686
3687 * calc/calc.el (calc-enter, calc-pop): Use the variable
3688 `calc-context-sensitive-enter'.
3689
cf91cee7
LMI
36902013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3691
3692 * net/shr.el (shr-insert): Protect against infloops in degenerate
3693 tables.
3694
51d971b4
RS
36952013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3696
3697 * progmodes/octave.el (octave): Add link to manual and octave
3698 homepage.
3699 (octave-mode-menu): Link to octave-mode manual.
3700
8c2e462a
LL
37012013-12-20 Leo Liu <sdl.web@gmail.com>
3702
3703 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3704 insertion using skeleton-end-newline. (Bug#16138)
3705
501158bc
JL
37062013-12-20 Juri Linkov <juri@jurta.org>
3707
3708 * replace.el (occur-engine): Use `add-face-text-property'
3709 to add the face property to matches and titles. (Bug#14645)
3710
3711 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3712 the palette of other hi-lock colors.
3713 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3714
50ab1da6
JL
37152013-12-19 Juri Linkov <juri@jurta.org>
3716
3717 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3718 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3719 (minibuffer-history-symbol): Move variable declaration closer to
3720 its usage.
3721
3722 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3723 (Bug#14785)
3724
3d6e95e7
JL
37252013-12-19 Juri Linkov <juri@jurta.org>
3726
3727 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3728 New function.
3729 (log-edit-hook): Add it to :options. (Bug#16170)
3730
b41594fd
JL
37312013-12-19 Juri Linkov <juri@jurta.org>
3732
3733 * simple.el (eval-expression-print-format): Don't check for
3734 command names and the last command. Always display additional
3735 formats of the integer result in the echo area, and insert them
3736 to the current buffer only with a zero prefix arg.
3737 Display character when char-displayable-p is non-nil.
3738 (eval-expression): With a zero prefix arg, set `print-length' and
3739 `print-level' to nil, and insert the integer values from
3740 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3741
3742 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3743 `eval-last-sexp-arg-internal'. Doc fix.
3744 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3745 `eval-last-sexp-print-value'. Doc fix.
3746 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3747 Set `print-length' and `print-level' to nil when arg is zero.
3748 (eval-last-sexp): Doc fix.
3749 (eval-defun-2): Print the integer values from
3750 `eval-expression-print-format' at the end.
3751
3752 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3753 values from `eval-expression-print-format' at the end.
3754
3755 * ielm.el (ielm-eval-input): Print the integer
3756 values from `eval-expression-print-format' at the end.
3757
8f2be364
TZ
37582013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3759
3760 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3761 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3762
2230a6e3
SM
37632013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3766 (hl-line-highlight, global-hl-line-highlight): Use it.
3767 (hl-line-overlay): Use defvar-local.
3768
1269a680
JD
37692013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3770
3771 * term/ns-win.el: Require dnd.
3772 (global-map): Remove drag items.
3773 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
3774 (ns-set-background-at-mouse):
3775 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3776 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3777 New functions.
1269a680 3778
049638ad
GM
37792013-12-19 Glenn Morris <rgm@gnu.org>
3780
3781 * emacs-lisp/ert.el (ert-select-tests):
3782 Fix string/symbol mixup. (Bug#16121)
3783
ce41edb4
DG
37842013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3785
3786 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3787 keywords to their parent.
3788
7e1549c9
DG
37892013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3790
3791 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3792 first arg to be a string (fixed dead code), or an operator symbol.
3793 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3794 operator symbols.
3795 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3796 did nothing. Don't respond to `(:after ".")', it will be called
3797 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3798 change anything. Only return indentation for binary operators
3799 when they are hanging. De-dent opening paren when its parent is
3800 `.', otherwise it looks bad when the dot is not at bol or eol
3801 (bug#16182).
3802
3ee4cd64
JL
38032013-12-19 Juri Linkov <juri@jurta.org>
3804
3805 * replace.el (query-replace-read-args): Split a non-negative arg
3806 and a negative arg into separate elements.
3807 (query-replace, query-replace-regexp, replace-string)
3808 (replace-regexp): Add arg `backward'. Doc fix.
3809 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3810 move point to the beginning of the match.
3811 (replace-search, replace-highlight): Use new arg `backward'
3812 to set the value of `isearch-forward'.
3813 (perform-replace): Add arg `backward' and use it to perform
3814 replacement backward. (Bug#14979)
3815
3816 * isearch.el (isearch-query-replace): Use a negative prefix arg
3817 to call `perform-replace' with a non-nil arg `backward'.
3818
0cda6b7b
JL
38192013-12-18 Juri Linkov <juri@jurta.org>
3820
3821 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3822 to the default list. Move `log-edit-show-files' to the end.
3823 Add more available functions to options.
3824 (log-edit): Move default specific settings to
3825 `log-edit-insert-message-template'. Don't move point.
3826 (log-edit-insert-message-template): New function.
3827 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3828 (Bug#16170)
3829
b216f0a6
JL
38302013-12-18 Juri Linkov <juri@jurta.org>
3831
3832 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3833 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3834
1d1c55dc
LL
38352013-12-18 Leo Liu <sdl.web@gmail.com>
3836
e9dc713d
JB
3837 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3838 (Bug#16186)
1d1c55dc 3839
64e4c76e
EZ
38402013-12-18 Eli Zaretskii <eliz@gnu.org>
3841
3842 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3843 formats for displaying file sizes when the -s switch is given.
3844 Instead, compute a separate format for displaying the size in
3845 blocks, which is displayed in addition to the "regular" size.
3846 When -h is given in addition to -s, produce size in blocks in
3847 human-readable form as well. (Bug#16179)
3848
b2984e39
TH
38492013-12-18 Tassilo Horn <tsdh@gnu.org>
3850
2230a6e3
SM
3851 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3852 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 3853
50ff2e06
CY
38542013-12-18 Chong Yidong <cyd@gnu.org>
3855
0081bc84
CY
3856 * cus-edit.el (custom-magic-alist): Fix "themed" description
3857 (Bug#14348).
3858
a7ee9424
CY
3859 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3860 is non-nil, do not create a new entry in the symbol's theme-value
3861 or theme-face property; update theme-settings only (Bug#14664).
18874304 3862 (custom-available-themes): Doc fix.
a7ee9424 3863
8f942537
CY
3864 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3865 (Bug#15674).
3866
50ff2e06
CY
3867 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3868
83c60f60
KI
38692013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3870
3871 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3872 (Bug#13914).
3873
e0eb0550 38742013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
3875
3876 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3877
1f41ee56
GM
38782013-12-18 Glenn Morris <rgm@gnu.org>
3879
3880 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 3881 * cus-start.el (load-prefer-newer): New option.
1f41ee56 3882
e82134b1
LW
38832013-12-18 Le Wang <l26wang@gmail.com>
3884
2230a6e3
SM
3885 * comint.el (comint-previous-matching-input-from-input):
3886 Retain point (Bug#13404).
e82134b1 3887
33f5d4c1
CY
38882013-12-18 Chong Yidong <cyd@gnu.org>
3889
3890 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3891
ccc9f6dc
GM
38922013-12-18 Glenn Morris <rgm@gnu.org>
3893
3894 * mail/emacsbug.el (report-emacs-bug):
3895 Only mention enable-multibyte-characters if non-standard.
3896
33dd8e95
JL
38972013-12-17 Juri Linkov <juri@jurta.org>
3898
3899 * arc-mode.el (archive-extract-by-file): Check if directory exists
3900 before deletion to not show irrelevant errors if it doesn't exist.
3901
7a409b30
JL
39022013-12-17 Juri Linkov <juri@jurta.org>
3903
3904 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3905 (Bug#14751)
3906
3907 * net/eww.el (browse-web): Add alias to `eww'.
3908 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3909 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3910
3911 * net/browse-url.el (browse-url-browser-function): Move `eww'
3912 closer to similar functions.
3913
3914 * startup.el (fancy-startup-screen, fancy-about-screen):
3915 Set browse-url-browser-function to eww-browse-url locally.
3916 (Bug#14751)
3917
2d6b6005
SM
39182013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * window.el (window--pixel-to-total): Remove unused `mini' var.
3921 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3922 (split-window): Remove unused `new' var.
3923 (window--display-buffer): Remove unused `frame' and `delta' vars.
3924 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3925 and display-width'.
3926
cf2b7efc
MR
39272013-12-17 Martin Rudalics <rudalics@gmx.at>
3928
3929 * dired.el (dired-mark-pop-up):
3930 * register.el (register-preview): Don't bind
3931 split-height-threshold here since it's now done in
3932 display-buffer-below-selected.
3933
ed3af8a7 39342013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3935
3936 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3937 xterm-rgb-convert-to-16bit.
3938 (rxvt-register-default-colors): Standardize with
3939 xterm-register-default-colors (Bug#14078).
3940
76da3455
DK
39412013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3942
3943 * simple.el (kill-region): Pass mark first, then point, so that
3944 kill-append works right (Bug#12819).
3945 (copy-region-as-kill, kill-ring-save): Likewise.
3946
2b84d763
LL
39472013-12-17 Leo Liu <sdl.web@gmail.com>
3948
3949 * net/rcirc.el (rcirc-add-face):
3950 * eshell/em-prompt.el (eshell-emit-prompt):
3951 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3952 (Bug#16167)
3953
e2f6a0bc
CY
39542013-12-17 Chong Yidong <cyd@gnu.org>
3955
3956 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3957 Suggested by Xue Fuqiao.
3958
35b249a6
DG
39592013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3960
3961 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3962
e9145444
SM
39632013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3964
3965 * net/shr.el (shr-insert-document): Remove unused var
3966 `shr-preliminary-table-render'.
3967 (shr-rescale-image): Remove unused arg `force'.
3968 (shr-put-image): Update calls accordingly.
3969 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3970
5556c0ce
DG
39712013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3972
3973 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3974 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3975 :close-all, to see which indentation method to use (Bug#16116).
3976 (smie-rules-function): Document the method :close-all.
3977
11bade0a
LMI
39782013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3979
1c4b1e61
LMI
3980 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3981
11bade0a
LMI
3982 * net/eww.el (eww-display-html): If we can't find the anchor we're
3983 looking for, then go to point-min.
3984
8fb8c4f3
PE
39852013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3986
3987 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3988 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3989 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3990 Expand dir too, in case it's relative.
3991
6c8e0ae6
JL
39922013-12-16 Juri Linkov <juri@jurta.org>
3993
3994 * desktop.el (desktop-auto-save-timeout): Change default to
3995 `auto-save-timeout'. Doc fix.
3996 (desktop-save): Skip the timestamp in desktop-saved-frameset
3997 when checking for auto-save changes.
3998 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3999 `desktop-auto-save' is called repeatedly by the idle timer.
4000 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4001 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4002 (Bug#15331)
4003
2178e858
JL
40042013-12-16 Juri Linkov <juri@jurta.org>
4005
4006 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4007 (Bug#16035)
4008 (isearch-pre-command-hook): Check `this-command' for symbolp.
4009
39cb42c6
SM
40102013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4013
5b9b750a
TZ
40142013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4015
4016 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4017 (cfengine3--current-function): Bring in the current-function
4018 functionality from `cfengine3--current-word'.
4019 (cfengine3-completion-function): Bring in the
4020 bounds-of-current-word functionality from
4021 `cfengine3--current-word'.
4022
d144ef06
MR
40232013-12-16 Martin Rudalics <rudalics@gmx.at>
4024
39cb42c6
SM
4025 * window.el (display-buffer-below-selected):
4026 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 4027
a8bbe298
LL
40282013-12-16 Leo Liu <sdl.web@gmail.com>
4029
4030 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4031 Remove NOMSG arg and all uses changed.
4032
2013a2f9
SM
40332013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4036 (cua--deactivate-rectangle): Don't deactivate the mark.
4037 (cua-set-rectangle-mark): Don't set mark-active since
4038 cua--activate-rectangle already does it for us.
4039 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4040 non-rectangular region.
4041
4042 * emulation/cua-base.el (cua-repeat-replace-region):
4043 Use with-current-buffer.
4044
4045 * net/gnutls.el: Use cl-lib.
4046 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4047
5ae811dd
TZ
40482013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4049
4050 * emacs-lisp/package.el (package-built-in-p): Support both
4051 built-in and the package.el converted package descriptions.
4052 (package-show-package-list): Allow keywords.
4053 (package-keyword-button-action): Use it instead of
4054 `finder-list-matches'.
4055 (package-menu-filter-interactive): Interactive filtering (by
4056 keyword) function.
4057 (package-menu--generate): Support keywords and change keymappings
4058 and headers when they are given.
4059 (package--has-keyword-p): Helper function.
4060 (package-menu--refresh): Use it.
4061 (package--mapc): Helper function.
4062 (package-all-keywords): Use it.
4063 (package-menu-mode-map): Set up menu items and keybindings to
4064 provide a filtering UI.
4065
31b4827e
TZ
40662013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4067
4068 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4069 the behavior when a certificate fails validation. Defaults to
4070 old behavior: never abort, just warn.
4071 (gnutls-negotiate): Use it.
4072
f93cc74f
MR
40732013-12-14 Martin Rudalics <rudalics@gmx.at>
4074
4075 * window.el (display-buffer-below-selected): Never split window
4076 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4077
f77d7d17
TW
40782013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4079
4080 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4081 (package-buffer-info): Use it (bug#15108).
aa2bddd7 4082
7514d3f8
SM
40832013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4084
aa2bddd7 4085 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 4086 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 4087
276bc333
DG
40882013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4089
4090 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4091 open-paren tokens when preceded by a open-paren, too.
4092 (ruby-smie-rules): Handle virtual indentation after open-paren
4093 tokens specially. If there is code between it and eol, return the
4094 column where is starts (Bug#16118).
4095
d43957f3
TZ
40962013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4097
a5c1ac0c 4098 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 4099 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
4100 (cfengine3--current-word): Fix parameters.
4101 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
4102 (cfengine3-completion-function, cfengine3--current-function):
4103 Use `assq' for symbols.
d43957f3
TZ
4104 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4105
06a4f110
GM
41062013-12-13 Glenn Morris <rgm@gnu.org>
4107
4108 * loadup.el (load-path): Warn if site-load or site-init changes it.
4109 No more need to reset it when bootstrapping.
4110
978a5fda
TZ
41112013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4112
4113 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4114 locations for cf-promises.
4115 (cfengine-mode-syntax-functions-regex): New caching variable.
4116 (cfengine3-fallback-syntax): Fallback syntax for cases where
4117 cf-promises doesn't run.
4118 (cfengine3--current-word): Reimplement using
4119 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
4120 (cfengine3-completion-function, cfengine3--current-function):
4121 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
4122 (cfengine3-clear-syntax-cache): New function.
4123 (cfengine3-make-syntax-cache): Simplify and create
4124 `cfengine-mode-syntax-functions-regex' on demand.
4125 (cfengine3-format-function-docstring): Don't call
4126 `cfengine3-make-syntax-cache' explicitly.
4127
71e6691e
MR
41282013-12-13 Martin Rudalics <rudalics@gmx.at>
4129
4130 Fix windmove-find-other-window broken after pixelwise resizing
4131 (Bug#16017).
4132 * windmove.el (windmove-other-window-loc): Revert change from
4133 2013-12-04.
4134 (windmove-find-other-window): Call window-in-direction.
4135 * window.el (window-in-direction): New arguments SIGN, WRAP and
4136 MINI to emulate original windmove-find-other-window behavior.
4137
84c73ba0
DG
41382013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4139
4140 * simple.el (blink-matching--overlay): New variable.
4141 (blink-matching-open): Instead of moving point, highlight the
4142 matching paren with an overlay
4143 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4144
4145 * faces.el (paren-showing-faces, show-paren-match)
4146 (show-paren-mismatch): Move from paren.el.
4147
b9e20952
LL
41482013-12-13 Leo Liu <sdl.web@gmail.com>
4149
4150 * indent.el (indent-region): Disable progress reporter in
4151 minibuffer. (Bug#16108)
4152
4153 * bindings.el (visual-order-cursor-movement): Fix version.
4154
ce030451
FEG
41552013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4156
4157 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4158 Also match after beginning of line.
4159 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 4160 files. Thanks to Russell Sim. (Bug#15378)
ce030451 4161
4a9c6865
JL
41622013-12-13 Juri Linkov <juri@jurta.org>
4163
4164 * simple.el <Keypad support>: Remove key bindings duplicated
4165 with bindings.el. (Bug#14397)
4166
2bc170c3
JL
41672013-12-13 Juri Linkov <juri@jurta.org>
4168
4169 * comint.el (comint-mode-map): Replace `delete-char' with
4170 `delete-forward-char'. (Bug#16109)
4171
bc9222c9
FEG
41722013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4173
aa2bddd7 4174 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 4175 Fix de-denters cornercase. (Bug#15731)
bc9222c9 4176
cb3a1380
SM
41772013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4178
4179 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4180 (advice--make): Pay attention to `depth'.
4181 (advice--make-1): Don't autoload commands eagerly.
4182 * emacs-lisp/elp.el (elp-instrument-function):
4183 * emacs-lisp/trace.el (trace-function-internal):
4184 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4185
4186 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4187
01633a17
EZ
41882013-12-12 Eli Zaretskii <eliz@gnu.org>
4189
4190 * term/w32-win.el (w32-handle-dropped-file):
4191 * startup.el (normal-top-level):
4192 * net/browse-url.el (browse-url-file-url):
4193 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4194 decode file names using 'utf-8' rather than
4195 file-name-coding-system.
4196
09faee72
FEG
41972013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4198
4199 * progmodes/python.el (python-indent-context)
4200 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 4201 behavior for comment blocks. (Bug#15916)
09faee72 4202
f4f84024 42032013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 4204
cb3a1380
SM
4205 * progmodes/python.el (python-indent-calculate-indentation):
4206 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
4207 operators when they are just string constituents. (Bug#15812)
4208
d5ccb7be
JL
42092013-12-12 Juri Linkov <juri@jurta.org>
4210
4211 * uniquify.el (uniquify-buffer-name-style): Change default to
4212 `post-forward-angle-brackets'.
4213
4214 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4215 `uniquify'. Change default to `post-forward-angle-brackets'.
4216
7b3f5679
GM
42172013-12-11 Glenn Morris <rgm@gnu.org>
4218
4219 * emacs-lisp/package.el (finder-list-matches):
4220 Autoload rather than falsely declaring.
4221
f4fe8fdd
TZ
42222013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4223
4224 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4225 (eww-mode-map): Use them.
4226
3c29190f
MR
42272013-12-11 Martin Rudalics <rudalics@gmx.at>
4228
4229 * window.el (display-buffer-in-side-window): Fix doc-string
4230 (Bug#16115).
4231
0cd616a2
JB
42322013-12-11 Juanma Barranquero <lekktu@gmail.com>
4233
4234 * vc/vc-git.el: Silence byte-compiler warnings.
4235 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4236 (log-edit-set-header): Declare.
4237
3ef8e0d1
EZ
42382013-12-11 Eli Zaretskii <eliz@gnu.org>
4239
4240 * Makefile.in (custom-deps, finder-data): Run output file names
4241 through unmsys--file-name. (Bug#16099)
4242
afdadaf7
SM
42432013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4244
7ae3ae39 4245 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 4246 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 4247
5b4f37ab
SM
4248 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4249 instead of deleting the selection "by hand" (bug#16098).
4250 Rely on insert-for-yank to yank rectangles.
4251 (cua-highlight-region-shift-only): Mark obsolete.
4252 (cua-mode): Don't enable/disable transient-mark-mode,
4253 shift-select-mode (cua-mode works both with and without them), and
4254 pc-selection-mode (obsolete).
4255 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4256 (cua--deactivate-rectangle): Deactivate it.
4257
4b72c12b
SM
4258 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4259 (delete-selection-helper): Make sure yank starts at the top of the
4260 deleted region.
4261 (minibuffer-keyboard-quit): Use region-active-p.
4262
e82af72d
SM
4263 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4264
afdadaf7
SM
4265 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4266 to `delete' (bug#16109).
4267
ed4bc201
RS
42682013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4269
4270 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4271 info manual and show keybindings and set `:group' keyword.
4272
bb8097b9
JL
42732013-12-11 Juri Linkov <juri@jurta.org>
4274
4275 * delsel.el (delete-active-region): Let-bind `this-command'
4276 to prevent `kill-region' from changing its original value.
4277 (delete-selection-helper): Handle `overwrite-mode' for the type
4278 `kill' exactly the same way as for the type `t'.
4279 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4280 Support more commands. (Bug#13312)
4281
c1916ff5
JL
42822013-12-11 Juri Linkov <juri@jurta.org>
4283
4284 * bindings.el: Map kp keys to non-kp keys systematically
4285 with basic modifiers control, meta and shift. (Bug#14397)
4286
7514d3f8 42872013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
4288
4289 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4290 "Close browser" menu items. Fix wrong function of "List
4291 bookmarks".
4292
4cc51eaf
JL
42932013-12-11 Juri Linkov <juri@jurta.org>
4294
4295 * misearch.el (multi-isearch-buffers): Set the value of
4296 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4297 arg of isearch-forward to t.
4298 (multi-isearch-buffers-regexp): Set the value of
4299 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4300 arg of isearch-forward-regexp to t.
4301 (multi-isearch-files): Set the value of
4302 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4303 arg of isearch-forward to t.
4304 (multi-isearch-files-regexp): Set the value of
c295fc18 4305 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
4306 arg of isearch-forward-regexp to t. (Bug#16035)
4307
4308 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4309 arg of isearch-forward to t.
4310 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4311 arg of isearch-forward-regexp to t.
4312 (dired-isearch-filter-filenames): Remove unnecessary check for
4313 `dired-isearch-filenames'.
4314
4315 * comint.el (comint-history-isearch-backward):
4316 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4317 (comint-history-isearch-backward-regexp):
4318 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4319
ceac12b7
EZ
43202013-12-10 Eli Zaretskii <eliz@gnu.org>
4321
4322 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4323 unmsys--file-name. (Bug#16099)
4324
5a565782
TZ
43252013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4326
cb3a1380
SM
4327 * emacs-lisp/package.el (package-keyword-button-action):
4328 Remove finder.el require dependency.
5a565782 4329
a81fc7ba
TZ
43302013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4331
4332 * emacs-lisp/package.el: Require finder.el.
4333 (describe-package-1): Add keyword buttons.
4334 (package-make-button): New convenience function.
4335 (package-keyword-button-action): Keyword button action using
e0eb0550 4336 `finder-list-matches'.
a81fc7ba 4337
6aaca951
EZ
43382013-12-09 Eli Zaretskii <eliz@gnu.org>
4339
4340 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4341 last commit.
4342
a1099a91
MA
43432013-12-09 Michael Albinus <michael.albinus@gmx.de>
4344
4345 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4346 symlinked files.
4347
8212d9c0
DG
43482013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4349
4350 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4351 after the end of a percent literal.
4352
8f48d131
CD
43532013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4354
cb3a1380
SM
4355 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4356 Handle caret-delimited strings (Bug#16079).
8f48d131 4357
ff8c9764
DG
43582013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4359
cb3a1380
SM
4360 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4361 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
4362 `ruby-parse-partial' (Bug#16078).
4363
d64643b4
LL
43642013-12-09 Leo Liu <sdl.web@gmail.com>
4365
4366 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4367
47e59c66
DG
43682013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4369
4370 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4371 (js-switch-indent-offset): New option.
4372 (js--proper-indentation): Use it. And handle the case when
4373 "default" is actually a key in an object literal.
4374 (js--same-line): New function.
4375 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
4376 (js--indent-in-array-comp, js--array-comp-indentation):
4377 New functions.
47e59c66
DG
4378 (js--proper-indentation): Use them, to handle array comprehension
4379 continuations.
4380
974ebc9c
LL
43812013-12-08 Leo Liu <sdl.web@gmail.com>
4382
4383 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4384 (flymake-make-overlay): Remove arg MOUSE-FACE.
4385 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4386
27262e39
SM
43872013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4390 New function.
4391 (redisplay-highlight-region-function): Use it.
4392
4393 * emulation/cua-base.el (cua--explicit-region-start)
4394 (cua--last-region-shifted): Remove.
4395 (cua--deactivate): Use deactivate-mark.
4396 (cua--pre-command-handler-1): Don't handle shift-selection.
4397 (cua--post-command-handler-1): Don't change transient-mark-mode.
4398 (cua--select-keymaps): Use region-active-p rather than
4399 cua--explicit-region-start or cua--last-region-shifted.
4400 (cua-mode): Enable shift-select-mode.
4401
6407822c
LL
44022013-12-08 Leo Liu <sdl.web@gmail.com>
4403
27262e39
SM
4404 * progmodes/flymake.el (flymake-popup-current-error-menu):
4405 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
4406 (flymake-posn-at-point-as-event, flymake-popup-menu)
4407 (flymake-make-emacs-menu): Remove. (Bug#16077)
4408
00a2b823
SM
44092013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4410
02033d49
SM
4411 * rect.el (rectangle-mark-mode): Activate mark even if
4412 transient-mark-mode is off (bug#16066).
4413 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4414 is > mark and at bolp.
4415
6f8dfccf
SM
4416 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4417 (region-extract-function): Use it.
4418 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4419 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4420 Delete functions.
4421 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4422 kill-ring-save, kill-region, delete-char, delete-forward-char.
4423 Ignore self-insert-iso.
4424
4425 * emulation/cua-gmrk.el (cua--init-global-mark):
4426 Ignore `self-insert-iso'.
4427
4428 * emulation/cua-base.el (cua--prefix-copy-handler)
4429 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4430 checking cua--rectangle.
4431 (cua-delete-region): Use region-extract-function.
4432 (cua-replace-region): Delete function.
4433 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4434 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4435 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4436 (cua--init-keymaps): Don't remap delete-selection commands.
4437 (cua-mode): Use delete-selection-mode instead of rolling our own
4438 (bug#16085).
4439
4440 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4441 Obey region-extract-function.
4442
00a2b823
SM
4443 Make registers and delete-selection-mode work on rectangles.
4444 * register.el (describe-register-1): Don't modify the register's value.
4445 (copy-to-register): Obey region-extract-function.
4446 * delsel.el (delete-active-region): Obey region-extract-function.
4447
a92fa5f1
LL
44482013-12-08 Leo Liu <sdl.web@gmail.com>
4449
4450 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4451 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4452 (flymake-compilation-prevents-syntax-check)
4453 (flymake-start-syntax-check-on-newline)
4454 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4455 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4456 (flymake-xml-program, flymake-master-file-dirs)
4457 (flymake-master-file-count-limit)
4458 (flymake-allowed-file-name-masks): Relocate.
4459 (flymake-makehash, flymake-float-time)
4460 (flymake-replace-regexp-in-string, flymake-split-string)
4461 (flymake-get-temp-dir): Remove.
4462 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4463 (flymake-current-row, flymake-selected-frame)
4464 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4465 related functions. (Bug#16077)
4466
73c8ceea
BB
44672013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4468
4469 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4470
faec28d9
TH
44712013-12-07 Tassilo Horn <tsdh@gnu.org>
4472
4473 * help-fns.el (describe-function-1): Use new advice-* functions
4474 rather than old ad-* functions. Fix function type description and
4475 source links for advised functions and subrs.
4476
e330b646
LMI
44772013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4478
00a2b823 4479 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 4480
4803595d
MA
44812013-12-06 Michael Albinus <michael.albinus@gmx.de>
4482
4483 * progmodes/compile.el (compilation-start):
4484 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4485
4486 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4487 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4488
fa834a93
DG
44892013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4490
00a2b823
SM
4491 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4492 Touch up the last change.
fa834a93 4493
b2856a6f
LL
44942013-12-06 Leo Liu <sdl.web@gmail.com>
4495
4496 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4497 (inferior-octave-startup): Always use "octave> " for prompt.
4498 (octave-goto-function-definition)
4499 (octave-sync-function-file-names)
4500 (octave-find-definition-default-filename): Remove redundant backquotes.
4501
af67e79a
DG
45022013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4503
4504 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4505 syntax for `?'.
4506 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4507 where appropriate already.
4508 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4509 end of method names (Bug#15874).
4510
bf093209
JL
45112013-12-06 Juri Linkov <juri@jurta.org>
4512
4513 * isearch.el (isearch--saved-overriding-local-map):
4514 New internal variable.
4515 (isearch-mode): Set it to the initial value of
4516 `overriding-terminal-local-map'.
4517 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4518 with `isearch--saved-overriding-local-map'. (Bug#16035)
4519
16588fad
DG
45202013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4521
00a2b823
SM
4522 * progmodes/octave.el (inferior-octave-completion-table):
4523 Turn back into function, use `completion-table-with-cache'
16588fad
DG
4524 (Bug#11906). Update all references.
4525
4526 * minibuffer.el (completion-table-with-cache): New function.
4527
bf4906d7
CD
45282013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4529
4530 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4531
ff69c18f
TZ
45322013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4533
4534 * net/eww.el (eww-current-source): New variable to store page
4535 source.
4536 (eww-display-html, eww-mode, eww-save-history)
4537 (eww-restore-history): Use it.
4538 (eww-view-source): New command to view page source.
4539 Opportunistically uses `html-mode' to highlight the buffer.
4540 (eww-mode-map): Install it.
4541
b85eff45
MA
45422013-12-05 Michael Albinus <michael.albinus@gmx.de>
4543
4544 * net/dbus.el (dbus-unregister-service)
4545 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4546 Fix docstring.
4547 (dbus-unregister-service): Skip :serial entries in
4548 `dbus-registered-objects-table'.
4549 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4550
39eb0899
TZ
45512013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4552
4553 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4554 around keywords with extra `split-string' argument.
4555
456760a5
MR
45562013-12-04 Martin Rudalics <rudalics@gmx.at>
4557
4558 * windmove.el (windmove-other-window-loc): Handle navigation
4559 between windows (excluding the minibuffer window - Bug#16017).
4560
81961e4c
MA
45612013-12-04 Michael Albinus <michael.albinus@gmx.de>
4562
4563 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4564 in D-Bus type syntax.
4565 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4566 preserve unibyte strings. (Bug#16048)
4567
8497f938
SM
45682013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4569
4570 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4571 Call force-mode-line-update is the proper buffer (bug#16042).
4572
dda61916
DG
45732013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4574
4575 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4576 `log-edit-remember-comment', make argument optional. Adjust all
4577 callers.
4578 (log-edit-mode): Add `log-edit-remember-comment' to
4579 `kill-buffer-hook' locally.
4580 (log-edit-kill-buffer): Don't remember comment explicitly since
4581 the buffer is killed anyway.
4582
c085e5b9
JL
45832013-12-04 Juri Linkov <juri@jurta.org>
4584
4585 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4586 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4587
e0eb0550 45882013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
4589
4590 * notifications.el (notifications-close-notification): Call the
81961e4c 4591 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 4592
39fa32d6
KY
45932013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4594
4595 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4596
9139632a
JL
45972013-12-03 Juri Linkov <juri@jurta.org>
4598
4599 * progmodes/compile.el (compilation-start): Rename window alist
4600 entry `no-display-ok' to `allow-no-window'.
4601
4602 * simple.el (shell-command): Add window alist entry
4603 `allow-no-window' to `display-buffer'.
4604 (async-shell-command): Doc fix.
4605
4606 * window.el (display-buffer-no-window): New action function.
4607 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4608
0f457a37
DG
46092013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4610
4611 * vc/log-edit.el (log-edit-set-header): Extract from
4612 `log-edit-toggle-header'.
4613 (log-edit-extract-headers): Separate the summary, when extracted
4614 from header, from the rest of the message with an empty line.
4615
4616 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4617 line, if present, to the Summary header.
4618
0962f376
SM
46192013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4620
4621 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4622 in current-buffer (bug#16029).
4623
f345395c
HE
46242013-12-02 Helmut Eller <eller.helmut@gmail.com>
4625
4626 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4627 (debugger-mode-map): Bind it.
4628 (debugger--backtrace-base): New function.
4629 (debugger-eval-expression): Use it.
4630 (debugger-frame-number): Skip local vars when present.
4631 (debugger--locals-visible-p, debugger--insert-locals)
4632 (debugger--show-locals, debugger--hide-locals): New functions.
4633
a8a15d9d
MA
46342013-12-02 Michael Albinus <michael.albinus@gmx.de>
4635
4636 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4637 "LC_ALL".
4638 (tramp-get-remote-locale): New defun.
4639 (tramp-open-connection-setup-interactive-shell): Use it.
4640
0518b057
LL
46412013-12-02 Leo Liu <sdl.web@gmail.com>
4642
4643 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4644
4645 * progmodes/sh-script.el (sh-shell-process):
4646 * progmodes/octave.el (inferior-octave-process-live-p):
4647 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4648 (gdb-inferior-io-sentinel):
4649 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4650
3adc9c6d
DG
46512013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4652
4653 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4654 `save-selected-window' to `log-edit-hide-buf'. This makes
4655 `log-edit-show-files' idempotent.
4656 (log-edit-show-files): Mark the new window as dedicated.
4657
47e8b74e
DG
46582013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4659
4660 * vc/log-edit.el (log-edit-mode-map): Add binding for
4661 `log-edit-kill-biffer'.
4662 (log-edit-hide-buf): Add a FIXME comment.
4663 (log-edit-add-new-comment): New function, extracted from
4664 `log-edit-done'.
4665 (log-edit-done, log-edit-add-to-changelog): Use it.
4666 (log-edit-kill-buffer): New command.
4667
1f6e1bb0
LMI
46682013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4669
4670 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4671 instead of killing the buffer.
4672
fb651d15
SM
46732013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4674
4675 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4676
8feacce0
RS
46772013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4678
fb651d15 4679 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 4680 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
4681 (eww-form-checkbox, eww-toggle-checkbox):
4682 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4683
e0eb0550 4684 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 4685 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 4686 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
4687 no :src tag was specified.
4688
fb651d15 4689 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
4690 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4691 Use \\` to match beginning of string instead of ^.
4692 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 4693 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 4694
177948a5
RS
4695 * net/shr.el (shr-tag-video): Display content for video if no
4696 poster is available.
eb2dd24d 4697 (shr-tag-audio): Add support for <audio> tag.
177948a5 4698
e0eb0550 4699 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
4700 (eww-process-text-input): Treat input types in
4701 `eww-text-input-types' as text.
4702
8feacce0
RS
4703 * net/shr.el (shr-tag-table): Fix comment typo.
4704
513562a1
LMI
47052013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4706
4707 * net/eww.el (eww-follow-link): New command to avoid reloading
4708 pages when we follow #target links (bug#15243).
de8a5633 4709 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 4710
9dd99753
KN
47112013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4712
4713 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4714 forms.
4715
3e9876de
LMI
47162013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4717
4718 * net/eww.el (eww-restore-history): Update the window title after
4719 moving in the history.
ab6dea82 4720 (eww-current-dom): New variable used to save the current DOM.
3e9876de 4721
52789f7f
DG
47222013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4723
4724 * vc/log-edit.el (log-edit-mode-map): Add binding for
4725 `log-edit-beginning-of-line'.
4726 (log-edit-setup-add-author): New user option.
4727 (log-edit-beginning-of-line): New command.
4728 (log-edit): Move major mode call above the contents setup so that
4729 the local variable values are already applied.
4730 (log-edit): Only insert "Author: " when
4731 `log-edit-setup-add-author' is non-nil.
4732 (log-edit): When SETUP is non-nil, position point after ": "
4733 instead of point-min.
4734
2e6710c3
GM
47352013-12-01 Glenn Morris <rgm@gnu.org>
4736
4737 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4738
fadec31f
EZ
47392013-11-30 Eli Zaretskii <eliz@gnu.org>
4740
4741 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 4742 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
4743 visible. (Bug#16014)
4744
10634b40 47452013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
4746
4747 Support resizing frames and windows pixelwise.
4748 * cus-start.el (frame-resize-pixelwise)
4749 (window-resize-pixelwise): New entries.
4750 * emacs-lisp/debug.el (debug): Use window-total-height instead
4751 of window-total-size.
4752 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
4753 * help.el (describe-bindings-internal): Use help-buffer as
4754 argument for with-help-window.
880e6158
MR
4755 (temp-buffer-max-width): New option.
4756 (resize-temp-buffer-window, help-window-setup)
4757 (with-help-window): Rewrite.
4758 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4759 dragging dividers.
4760 * window.el (frame-char-size, window-min-pixel-height)
4761 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4762 (window-min-pixel-width, window-safe-min-pixel-size)
4763 (window-combination-p, window-safe-min-size)
4764 (window-resizable-p, window--size-to-pixel)
4765 (window--pixel-to-size, window--resize-apply-p): New functions.
4766 (window-safe-min-height): Fix doc-string.
4767 (window-size, window-min-size, window--min-size-1)
4768 (window-sizable, window-sizable-p, window--min-delta-1)
4769 (window-min-delta, window--max-delta-1, window-max-delta)
4770 (window--resizable, window--resizable-p, window-resizable)
4771 (window-full-height-p, window-full-width-p, window-at-side-p)
4772 (window--in-direction-2, window-in-direction)
4773 (window--resize-reset-1, window--resize-mini-window)
4774 (window-resize, window-resize-no-error)
4775 (window--resize-child-windows-normal)
4776 (window--resize-child-windows, window--resize-siblings)
4777 (window--resize-this-window, window--resize-root-window)
4778 (window--resize-root-window-vertically)
4779 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4780 (maximize-window, minimize-window, delete-window)
4781 (quit-restore-window, window-split-min-size, split-window)
4782 (balance-windows-2, balance-windows)
4783 (balance-windows-area-adjust, balance-windows-area)
4784 (window--state-get-1, window-state-get, window--state-put-1)
4785 (window--state-put-2, window-state-put)
fb651d15
SM
4786 (display-buffer-record-window, window--display-buffer):
4787 Make functions handle pixelwise sizing of windows.
880e6158 4788 (display-buffer--action-function-custom-type)
fb651d15
SM
4789 (display-buffer-fallback-action):
4790 Add display-buffer-in-previous-window.
880e6158
MR
4791 (display-buffer-use-some-window): Resize window to height it had
4792 before.
4793 (fit-window-to-buffer-horizontally): New option.
4794 (fit-frame-to-buffer): Describe new values.
4795 (fit-frame-to-buffer-bottom-margin): Replace with
4796 fit-frame-to-buffer-margins.
4797 (window--sanitize-margin): New function.
4798 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4799 using window-text-pixel-size.
4800
f9b697dd
GM
48012013-11-30 Glenn Morris <rgm@gnu.org>
4802
3e2fb4db
GM
4803 * emacs-lisp/bytecomp.el (byte-compile-form):
4804 Make the `interactive-only' warning like the `obsolete' one.
4805 * comint.el (comint-run):
4806 * files.el (insert-file-literally, insert-file):
4807 * replace.el (replace-string, replace-regexp):
4808 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4809 (goto-line, insert-buffer, next-line, previous-line):
4810 Tweak `interactive-only' spec.
4811
f9b697dd
GM
4812 Stop keeping (most) generated cedet grammar files in the repository.
4813 * Makefile.in (semantic): New.
4814 (compile-main): Depend on semantic.
4815
da048127
SM
48162013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4817
7784b779
SM
4818 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4819 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4820
4e36a6a6
SM
4821 * uniquify.el (uniquify-buffer-name-style): Change default.
4822
4823 * loadup.el: Preload "uniquify".
4824
e0ba1308
SM
4825 * time.el (display-time-update): Update all mode lines (bug#15999).
4826
da048127
SM
4827 * electric.el (electric-indent-mode): Enable by default.
4828 * loadup.el: Preload "electric".
4829
015b3b3e
BB
48302013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4831
4832 * emacs-lisp/helpers.el (string-empty-p): New function.
4833 (string-blank-p): New function.
4834
7efb806d
AP
48352013-11-29 Andreas Politz <politza@hochschule-trier.de>
4836
4837 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4838 (Bug#14029).
4839
c8f0efc2
AP
48402013-11-29 Andreas Politz <politza@fh-trier.de>
4841 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4842 allow non-lambda lists as functions.
4843 (imenu--in-alist): Don't recurse into non-subalists.
4844 (imenu): Don't pass function itself as an argument (Bug#14029).
4845
bd15d9d1
SM
48462013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4847
4848 * progmodes/python.el (python-mode-map): Remove binding for ":".
4849 (python-indent-electric-colon): Remove command.
4850 (python-indent-post-self-insert-function): Integrate the previous code
4851 of python-indent-electric-colon. Make it conditional on
4852 electric-indent-mode.
4853 (python-mode): Add ?: to electric-indent-chars.
4854 Move python-indent-post-self-insert-function to the end of
4855 post-self-insert-hook.
4856
1b10adb6
SM
48572013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4858
655ab9a3
SM
4859 * doc-view.el (doc-view-goto-page): Update mode-line.
4860
1b10adb6
SM
4861 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4862
7e3bf78c
GM
48632013-11-27 Glenn Morris <rgm@gnu.org>
4864
4865 * international/charprop.el, international/uni-bidi.el:
4866 * international/uni-category.el, international/uni-combining.el:
4867 * international/uni-comment.el, international/uni-decimal.el:
4868 * international/uni-decomposition.el, international/uni-digit.el:
4869 * international/uni-lowercase.el, international/uni-mirrored.el:
4870 * international/uni-name.el, international/uni-numeric.el:
4871 * international/uni-old-name.el, international/uni-titlecase.el:
4872 * international/uni-uppercase.el:
4873 Remove generated files from VCS repository.
4874
fb6a5d68
EZ
48752013-11-27 Eli Zaretskii <eliz@gnu.org>
4876
4877 * filenotify.el (file-notify-add-watch): Don't special-case
4878 w32notify when computing the directory to watch.
4879
cb6c95a3
GM
48802013-11-27 Glenn Morris <rgm@gnu.org>
4881
20372d0c
GM
4882 Make bootstrap without generated uni-*.el files possible again.
4883 * loadup.el: Update command-line-args checking for unidata-gen.
4884 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4885 * composite.el, international/characters.el:
4886 Handle unicode tables being undefined.
4887
52d6635f 4888 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
4889 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4890 (compile-main): Depend on leim rule.
4891 (leim): New rule.
4892 * loadup.el: Move leim-list.el to leim/ subdirectory.
4893 * startup.el (normal-top-level): No more leim directory.
4894 * international/ja-dic-cnv.el (skkdic-convert):
4895 Disable version-control and autoloads in output files.
4896 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4897 Disable version-control and autoloads in output files.
4898 * leim/quail: Move here from ../leim.
4899 * leim/quail/hangul.el (hangul-input-method-activate):
4900 Add autoload cookie.
4901 (generated-autoload-load-name): Set file-local value.
4902 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4903 (generated-autoload-load-name): Set file-local value.
4904
7514d3f8 49052013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 4906
e0eb0550 4907 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 4908 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 4909 (eww-quit): Ask confirmation before quitting eww.
e47112ee 4910
0e2c793f
EZ
49112013-11-26 Eli Zaretskii <eliz@gnu.org>
4912
4913 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4914 reading output from Diff on MS-Windows and MS-DOS.
4915
447bdcb8
BB
49162013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4917
4918 * emacs-lisp/helpers.el (string-reverse): New function.
4919
5fbf6856
MA
49202013-11-26 Michael Albinus <michael.albinus@gmx.de>
4921
4922 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4923 names on MS Windows, like "/[::1]:".
4924
4925 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4926 SWITCHES.
4927
624780f0
GM
49282013-11-26 Glenn Morris <rgm@gnu.org>
4929
0bf3f0fa
GM
4930 * progmodes/python.el (python-indent-guess-indent-offset):
4931 Avoid corner-case error. (Bug#15975)
4932
624780f0
GM
4933 Preload leim-list.el. (Bug#4789)
4934 * loadup.el: Load leim-list.el when found.
4935 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4936
4301875e 49372013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4938
4939 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4940
4301875e
BB
4941 * emacs-lisp/helpers.el (string-join): New function.
4942
1633a815 49432013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
4944
4945 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4946 Mark as obsolete and replace it with a symbol property.
4947 (byte-compile-form): Use new 'interactive-only property.
4948 * comint.el, files.el, replace.el, simple.el:
4949 Apply new 'interactive-only properly.
4950
00139435
MR
49512013-11-25 Martin Rudalics <rudalics@gmx.at>
4952
4953 * window.el (display-buffer-at-bottom): Make sure that
4954 split-window-sensibly creates the new window on bottom
4955 (Bug#15961).
4956
5f5b128d
DK
49572013-11-23 David Kastrup <dak@gnu.org>
4958
4959 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4960 on the conflict markers when available.
4961 (smerge--get-marker): New function.
4962 (smerge-end-re, smerge-base-re): Add subgroup.
4963
623891e5
SM
49642013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4965
4966 * frame.el (handle-focus-in, handle-focus-out): Add missing
4967 interactive spec.
4968
05ca27d8
MA
49692013-11-25 Michael Albinus <michael.albinus@gmx.de>
4970
4971 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4972 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4973
511fa0d3
SM
49742013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4975
e82ad66c
SM
4976 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4977 (gomoku--last-pos): New var.
4978 (gomoku--intangible-chars): New const.
4979 (gomoku--intangible): New function.
4980 (gomoku-mode): Use it. Derive from special-mode.
4981 (gomoku-move-up): Adjust line count.
4982 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4983 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4984 Simplify accordingly.
4985
511fa0d3
SM
4986 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4987 Remove blink-cursor code.
4988 (blink-cursor-timer-function, blink-cursor-suspend):
4989 Don't special-case GUIs.
4990 (blink-cursor-mode): Use focus-in/out-hook.
4991
6f20dd03
DG
49922013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4993
4994 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4995 work when annotation is invisible (Bug#13886).
4996
431dec31 49972013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4998
4999 * json.el (json-alist-p): Only return non-nil if the alist has
5000 simple keys (Bug#13518).
5001
431dec31 50022013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
5003
5004 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5005 when control-statement is the first statement in a buffer (Bug#15956).
5006
ee4f0261
DG
50072013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5008
5009 * imenu.el (imenu-generic-skip-comments-and-strings):
5010 New option (Bug#15560).
5011 (imenu--generic-function): Use it.
5012
c484f866
JS
50132013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5014
e9dc713d
JB
5015 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5016 (Bug#13898)
c484f866 5017
41ce6f70
BB
50182013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5019
b55aea38
BB
5020 * emacs-lisp/helpers.el: Add some string helpers.
5021 (string-trim-left): Removes leading whitespace.
5022 (string-trim-right): Removes trailing whitespace.
5023 (string-trim): Removes leading and trailing whitespace.
5024
41ce6f70
BB
5025 * subr.el (string-suffix-p): New function.
5026
3cfb6af3
GM
50272013-11-23 Glenn Morris <rgm@gnu.org>
5028
5029 * progmodes/python.el (python-shell-send-file):
5030 Add option to delete file when done. (Bug#15647)
5031 (python-shell-send-string, python-shell-send-region): Use it.
5032
c27924b7
IS
50332013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5034
e1b01c7f
IS
5035 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5036 to set buffer-read-only to t, never to nil. (Bug#15938)
5037
c27924b7
IS
5038 * textmodes/tex-mode.el (latex-noindent-environments):
5039 Add safe-local-variable property. (Bug#15936)
5040
17e0445b
GM
50412013-11-23 Glenn Morris <rgm@gnu.org>
5042
92f78ea3
GM
5043 * textmodes/enriched.el (enriched-mode): Doc fix.
5044 * emacs-lisp/authors.el (authors-renamed-files-alist):
5045 Add enriched.doc -> enriched.txt.
5046
17e0445b
GM
5047 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5048
965bb23a
LL
50492013-11-22 Leo Liu <sdl.web@gmail.com>
5050
5051 * progmodes/octave.el (inferior-octave-startup): Spit out error
5052 message.
5053
d19ffd64
BB
50542013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5055
5056 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5057 Improve docstring.
15ba2182
BB
5058 Add :version.
5059 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 5060
7a7567d2
LL
50612013-11-22 Leo Liu <sdl.web@gmail.com>
5062
5063 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5064 (Bug#15076)
8c09f64b
LL
5065 (octave-help-mode): Adapt to change to help-mode-finish to use
5066 derived-mode-p on 2013-09-17.
5067 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 5068 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 5069
724bc265
LL
50702013-11-22 Leo Liu <sdl.web@gmail.com>
5071
5072 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5073 (inferior-octave-startup, inferior-octave-check-process)
5074 (inferior-octave-track-window-width-change)
5075 (octave-completion-at-point, octave-eldoc-function): Use it.
5076 (octave-kill-process): Provide confirmation. (Bug#10564)
5077
38637cca
LL
50782013-11-21 Leo Liu <sdl.web@gmail.com>
5079
511fa0d3
SM
5080 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5081 Fix obsolete variable comment-use-global-state.
38637cca 5082
06e752b4
RS
50832013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5084
511fa0d3
SM
5085 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5086 Add `octave-source-file'.
06e752b4
RS
5087 (octave-source-file): New function. (Bug#15935)
5088
7514d3f8 50892013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
5090
5091 * net/eww.el (eww-local-regex): New variable.
5092 (eww): Use it to detect localhost and similar.
5093
b6ffa04a
LL
50942013-11-21 Leo Liu <sdl.web@gmail.com>
5095
5096 Add completion for command `ag'.
2021a200
LL
5097 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5098 (pcomplete/ag): New function.
e9dc713d 5099 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 5100
d1a6bccc
SM
51012013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5102
5103 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5104 (bug#14646).
5105 (make-obsolete): Remove interactive spec.
5106
2df10228
GM
51072013-11-21 Glenn Morris <rgm@gnu.org>
5108
5109 * startup.el (command-line-1): Use path-separator with -L.
5110
86fd16b6
TZ
51112013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5112
5113 * emacs-lisp/package.el (describe-package-1): Add package archive
5114 to shown fields.
5115
0449d6cd 51162013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
5117
5118 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5119 Change default to "# encoding: %s" to differentiate it from the
5120 default Ruby encoding comment template.
5121
dc7e8c17 51222013-11-20 era eriksson <era+emacsbugs@iki.fi>
5123
5124 * ses.el (ses-mode): Doc fix. (Bug#14748)
5125
f0cfa5fe
LL
51262013-11-20 Leo Liu <sdl.web@gmail.com>
5127
5128 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5129
826dc7b6
DN
51302013-11-19 Dan Nicolaescu <dann@gnu.org>
5131
5132 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5133 when rebase or bisect are in progress.
5134
a6e3a5d5
XF
51352013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5136
5137 * filenotify.el (file-notify-add-watch): Doc fix.
5138
f130cb76
LL
51392013-11-19 Leo Liu <sdl.web@gmail.com>
5140
e0855d7d
LL
5141 * obsolete/rcompile.el: Mark obsolete.
5142
f130cb76 5143 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
5144 (compilation-goto-locus, compilation-find-file):
5145 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
5146 (Bug#13594)
5147
5148 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
5149 new parameter no-display-ok. Return either a window or nil
5150 but never a non-window value.
f130cb76 5151
1f35d401
SM
51522013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5153
25158c76
SM
5154 * electric.el (electric-indent-mode-map): Remove.
5155 (electric-indent-mode): Change the global-map instead (bug#15915).
5156
5157 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5158 Use add-function.
1f35d401 5159
9bc67baa
SM
51602013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5161
986545b5
SM
5162 * emacs-lisp/nadvice.el (remove-function): Align with
5163 add-function's behavior.
5164
9bc67baa
SM
5165 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5166 (gdb--string-regexp): New constant.
5167 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5168 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5169 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5170 submatch 1.
5171 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5172 Adjust use accordingly.
5173 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5174
56cd894e
AS
51752013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5176
5177 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5178 interpolation curlies (Bug#15914).
5179
014690de
JB
51802013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5181
5182 * calc/calc.el (calc-context-sensitive-enter): New variable.
5183 (calc-enter): Use `calc-context-sensitive-enter'.
5184
7e26a6c3
TZ
51852013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5186
5187 * progmodes/cfengine.el: Version bump.
5188 (cfengine-cf-promises): New defcustom to locate cf-promises.
5189 (cfengine3-vartypes): Add new "data" type.
5190 (cfengine3--current-word): New function to get current name-like
5191 word or its bounds.
5192 (cfengine3--current-function): New function to look up a CFEngine
5193 function's definition.
5194 (cfengine3-format-function-docstring): New function.
5195 (cfengine3-make-syntax-cache): New function.
5196 (cfengine3-documentation-function): New function: ElDoc glue.
5197 (cfengine3-completion-function): New function: completion glue.
5198 (cfengine3-mode): Set `compile-command',
5199 `eldoc-documentation-function', and add to
5200 `completion-at-point-functions'.
5201
355204dd
MA
52022013-11-16 Michael Albinus <michael.albinus@gmx.de>
5203
5204 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5205 `tramp-current-connection'.
5206
43cebc23
DG
52072013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5208
5209 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5210 nil/self/true/false with "end of symbol".
5211
a3fed6ff
BB
52122013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5213
5214 * subr.el (version-regexp-alist): Fix a typo.
5215
e675b3e4
MA
52162013-11-15 Michael Albinus <michael.albinus@gmx.de>
5217
5218 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5219 "en_US.utf8" and "LC_CTYPE" to "".
5220 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5221 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5222
a1f03e89
LL
52232013-11-15 Leo Liu <sdl.web@gmail.com>
5224
5225 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5226
5d9d9451
SM
52272013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5228
58362662
CS
5229 * progmodes/gud.el (ctl-x-map):
5230 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
5231 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5232
6c1bf086
BB
52332013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5234
0d5363c4
BB
5235 * subr.el (version-regexp-alist):
5236 Recognize hg, svn and darcs versions as snapshot versions.
5237
4e9fc48c
BB
5238 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5239 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5240 (ruby--encoding-comment-required-p): Extract from
5241 `ruby-mode-set-encoding'.
5242 (ruby-mode-set-encoding): Add the ability to always insert an
5243 utf-8 encoding comment. Fix and simplify coding comment update
5244 logic.
6c1bf086 5245
2f7e72f8
MA
52462013-11-14 Michael Albinus <michael.albinus@gmx.de>
5247
5248 * net/tramp-gvfs.el (top): Run init code only when
5249 `tramp-gvfs-enabled' is not nil.
5250 (tramp-gvfs-enabled): Check also :system bus.
5251
0f137a73
SM
52522013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 Sync with upstream verilog-mode revision 78e66ba.
5255 * progmodes/verilog-mode.el (verilog-end-of-defun)
5256 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5257 (verilog-get-end-of-defun): Remove unused argument.
5258 (verilog-comment-depth): Remove unused local `e'.
5259 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5260 Don't pass arg to verilog-get-end-of-defun.
5261
1c276bdd
GM
52622013-11-14 Glenn Morris <rgm@gnu.org>
5263
5264 * obsolete/assoc.el (aget): Prefix dynamic variable.
5265
5266 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5267
ff6ec81d
SM
52682013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5269
5270 * widget.el, hfy-cmap.el: Remove bogus package version number.
5271
75f777b6
GM
52722013-11-13 Glenn Morris <rgm@gnu.org>
5273
1d43dba1
GM
5274 * replace.el (replace-eval-replacement):
5275 Try to give more helpful error message. (Bug#15836)
5276
ff4b7bd5
GM
5277 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5278 (archive-7z-update): Avoid custom type mismatches.
5279
75f777b6
GM
5280 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5281
11151a06
MA
52822013-11-13 Michael Albinus <michael.albinus@gmx.de>
5283
e675b3e4 5284 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
5285 address can be empty.
5286
5287 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5288 Accept nil SWITCHES.
5289 (tramp-gvfs-handle-write-region): Implement APPEND.
5290
7b08f97e
DG
52912013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5292
5293 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
5294 binary "|" operator and closing block args delimiter.
5295 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
5296 (ruby-smie--implicit-semi-p): Not after "|" operator.
5297 (ruby-smie--closing-pipe-p): New function.
5298 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5299 (ruby-smie-rules): Indent after "|".
5300
f201cf3a
GM
53012013-11-12 Glenn Morris <rgm@gnu.org>
5302
5303 * ps-print.el (ps-face-attribute-list):
5304 Handle anonymous faces. (Bug#15827)
5305
e6f759f9
MR
53062013-11-12 Martin Rudalics <rudalics@gmx.at>
5307
5308 * window.el (display-buffer-other-frame): Fix doc-string.
5309 (Bug#15868)
5310
ecda65d4
SM
53112013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5312
5313 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5314
7ce8fcc3
MA
53152013-11-11 Michael Albinus <michael.albinus@gmx.de>
5316
5317 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5318 (tramp-sh-handle-file-local-copy): Don't write a message when
5319 saving temporary files.
5320
5321 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5322 both directories are remote.
5323 (tramp-smb-handle-directory-files): Do not return double entries.
5324 Do not expand full file names.
5325 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5326 (tramp-smb-handle-write-region): Implement APPEND.
5327 (tramp-smb-get-stat-capability): Fix a stupid bug.
5328
7818df11
SM
53292013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5330
5331 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5332
608c2085
NT
53332013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5334
5335 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5336 throwing error over malformed let/let* (bug#15814).
5337
122a7e46
SM
53382013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5339
5340 * iswitchb.el (iswitchb-mode): Mark obsolete.
5341
766284d9
GM
53422013-11-11 Glenn Morris <rgm@gnu.org>
5343
5344 * international/uni-bidi.el, international/uni-category.el:
5345 * international/uni-name.el, international/uni-numeric.el:
5346 Regenerate for Unicode 6.3.0.
5347
7072a4e9
MA
53482013-11-10 Michael Albinus <michael.albinus@gmx.de>
5349
5350 * net/tramp.el (tramp-methods):
5351 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5352 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5353
c9df215b
AS
53542013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5355
608c2085
NT
5356 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5357 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 5358
fa47d796
DG
53592013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5360
5361 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 5362 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
5363 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5364 (ispell-complete-word): Call `ispell-lookup-words' with the value
5365 independent of `ispell-look-p'.
5366
1629a329
DG
53672013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5368
5369 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5370 Not after "||".
5371 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5372 their parent.
5373
ad16897c
SM
53742013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5377 (ruby-font-lock-keywords): Use backquote.
5378
ffa2df72
DG
53792013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5380
5381 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5382 (ruby-smie--backward-token): Only consider full-string matches.
5383
5b97b4c0
JD
53842013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5385
5386 * faces.el (describe-face): Add distant-foreground.
5387
71731c03
BB
53882013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5389
4e9fc48c
BB
5390 * progmodes/ruby-mode.el: Improve encoding comment handling.
5391 (ruby-encoding-magic-comment-style): New option.
5392 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
5393 (ruby--insert-coding-comment, ruby--detect-encoding):
5394 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
5395 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5396 to control the style of the auto-inserted encoding comment.
71731c03 5397
da3b328d
DG
53982013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5399
ad16897c
SM
5400 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5401 Use `smie-backward-sexp' with token argument.
da3b328d 5402
1606c2d3
MA
54032013-11-08 Michael Albinus <michael.albinus@gmx.de>
5404
5405 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5406 Remove instrumentation code.
5407
b0f4c320
GM
54082013-11-08 Glenn Morris <rgm@gnu.org>
5409
5410 * progmodes/autoconf.el (autoconf-mode):
5411 Tweak comment-start-skip. (Bug#15822)
5412
43668fb1
SM
54132013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5414
5415 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5416 at bobp (bug#15826).
5417 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5418
daddb3fd
DH
54192013-11-08 Darren Hoo <darren.hoo@gmail.com>
5420
5421 * man.el (Man-start-calling): New macro, extracted from
5422 Man-getpage-in-background.
5423 (Man-getpage-in-background): Use it.
5424 (Man-update-manpage): New command.
5425 (Man-mode-map): Bind it.
5426
1f923923
DG
54272013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5428
5429 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5430 of "and", "or", "&&" and "||".
5431 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5432 argument. Prohibit opening curly brace because it could only be a
5433 block opener in that position.
daddb3fd
DH
5434 (ruby-smie--forward-token, ruby-smie--backward-token):
5435 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
5436 arguments.
5437 (ruby-smie--indent-to-stmt): New function, seeks the end of
5438 previous statement or beginning of buffer.
5439 (ruby-smie-rules): Use it.
5440 (ruby-smie-rules): Check if there's a ":" before a curly block
5441 opener candidate; if there is, it's a hash.
5442
3220d527
SM
54432013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5444
5445 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5446 (cl--block-wrapper): Fix last accidental change.
5447
1eb1f9e0
MA
54482013-11-07 Michael Albinus <michael.albinus@gmx.de>
5449
5450 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5451 Instrument, in order to hunt failure on hydra.
5452
e6e4db3c
NT
54532013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5454
5455 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5456 malformed bindings form (bug#15814).
5457
b420ccfc
DG
54582013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5459
5460 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
5461 "." compared to " @ ". This incidentally fixes some indentation
5462 examples with "do".
e6e4db3c 5463 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
5464 (ruby-smie-grammar): New tokens: "and" and "or".
5465 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5466 Exclude "and" and "or". Remove "do" in order to work around token
5467 priorities.
5468 (ruby-smie-rules): Add all infix tokens. Handle the case of
5469 beginning-of-buffer.
b420ccfc 5470
6b4ac03e
GM
54712013-11-06 Glenn Morris <rgm@gnu.org>
5472
5473 * Makefile.in (setwins_almost, setwins_for_subdirs):
5474 Avoid accidental matches.
5475
5ca114d1
SM
54762013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * menu-bar.el (popup-menu): Use key-binding.
5479
f72552bd
EZ
54802013-11-06 Eli Zaretskii <eliz@gnu.org>
5481
5482 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5483 menus, support also the menus produced by minor modes.
5484 (Bug#15817)
5485
5d5c701e
LL
54862013-11-06 Leo Liu <sdl.web@gmail.com>
5487
5488 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 5489 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 5490
0a8b75e2
GM
54912013-11-06 Glenn Morris <rgm@gnu.org>
5492
5493 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
5494 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5495 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 5496
a35287ea
SM
54972013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5498
feca4e2d
SM
5499 * electric.el (electric-indent-just-newline): New command.
5500 (electric-indent-mode-map): New keymap.
5501 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5502 Re-add :group which weren't redundant.
5503
a35287ea
SM
5504 * electric.el (electric-indent-local-mode): New minor mode.
5505 (electric-indent-functions-without-reindent): New var.
5506 (electric-indent-post-self-insert-function): Use it.
5507 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5508
375761b2
EZ
55092013-11-05 Eli Zaretskii <eliz@gnu.org>
5510
9a6ad735
EZ
5511 * international/quail.el (quail-help): Be more explicit about the
5512 meaning of the labels shown on the keys. (Bug#15800)
5513
375761b2
EZ
5514 * startup.el (normal-top-level): Load the subdirs.el files before
5515 setting the locale environment. (Bug#15805)
5516
520a6e4a
SM
55172013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5518
0acfafef
SM
5519 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5520 via arguments so as to get the right ones (bug#15418).
5521
520a6e4a
SM
5522 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5523
15826261
MA
55242013-11-05 Michael Albinus <michael.albinus@gmx.de>
5525
5526 Fix problems found while writing a test suite.
5527
5528 * net/tramp-compat.el (tramp-compat-load): New defun.
5529 * net/tramp.el (tramp-handle-load): Use it.
5530
5531 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5532 "(numberp ok-if-already-exists)" correctly.
5533
d35f31a4
XF
55342013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5535
5536 * international/characters.el (glyphless-char-display-control):
5537 Add usage note.
5538
ae93bc74
BB
55392013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5540
520a6e4a
SM
5541 * progmodes/python.el (python-mode):
5542 * progmodes/scheme.el (scheme-mode):
5543 * progmodes/prolog.el (prolog-mode):
5544 * progmodes/ruby-mode.el (ruby-mode):
5545 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5546 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 5547
0ade65b5
SM
55482013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5549
a0d5f7a4
SM
5550 * rect.el (rectangle--highlight-for-redisplay):
5551 * emacs-lisp/smie.el (smie--next-indent-change):
5552 Use buffer-chars-modified-tick.
5553
c93f3f5c
SM
5554 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5555
0ade65b5
SM
5556 * electric.el (electric-indent-post-self-insert-function):
5557 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5558
ef9dd188
HE
55592013-11-04 Helmut Eller <eller.helmut@gmail.com>
5560
5561 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5562
306e7308
NT
55632013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5564
5565 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5566 (bug#15786).
5567
e5afbcac
SM
55682013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5569
1d01ad41
SM
5570 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5571
e5afbcac
SM
5572 * progmodes/python.el: Fix up last change.
5573 (python-shell--save-temp-file): New function.
5574 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5575 `string' comes from the current buffer.
5576 (python-shell-send-string-no-output): Remove `msg' arg.
5577 (python--use-fake-loc): New var.
5578 (python-shell-buffer-substring): Obey it. Try to compensate for the
5579 extra coding line added by python-shell--save-temp-file.
5580 (python-shell-send-region): Use python-shell--save-temp-file and
5581 python-shell-send-file directly. Add `nomain' argument.
5582 (python-shell-send-buffer): Use python-shell-send-region.
5583 (python-electric-pair-string-delimiter): New function.
5584 (python-mode): Use it.
5585
d0065ff1
EZ
55862013-11-04 Eli Zaretskii <eliz@gnu.org>
5587
5588 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5589 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5590 environment and decoding all of the default-directory's to here
5591 from command-line.
5592 (command-line): Decode also argv[0].
5593
5594 * loadup.el: Error out if default-directory is a multibyte string
5595 when we are dumping.
5596
5597 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5598
7397c587
TZ
55992013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5600
5601 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
5602 (package-menu--print-info, package-menu--archive-predicate):
5603 Add Archive column to package list.
7397c587 5604
b27cc9fc
MA
56052013-11-04 Michael Albinus <michael.albinus@gmx.de>
5606
5607 Fix problems found while writing a test suite.
5608
5609 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5610 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5611 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5612 to nil when running original file name handler. Otherwise,
5613 there are problems with constructs like "$$FOO".
5614
5615 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5616 for `localname'.
5617
d8c4f18a
BB
56182013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5619
7b530552
BB
5620 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5621
5622 * subr.el (version<, version<=, version=):
5623 Update docstrings with information for snapshot versions.
5624
d8c4f18a
BB
5625 * helpers.el: New library for misc helper functions.
5626 (hash-table-keys): New function returning a list of hash keys.
5627 (hash-table-values): New function returning a list of hash values.
5628
dca01b09
DG
56292013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5630
5631 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5632 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5633
0a749fa0
MN
56342013-11-04 Michal Nazarewicz <mina86@mina86.com>
5635
5636 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5637 checking whether point is after a 1-letter word.
5638
56392013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
5640
5641 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5642 Don't infloop when expanding region over `multiline' syntax-type that
5643 begins a line (bug#15778).
5644
4aca7145
SM
56452013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5648 Make it into a proper minor mode.
5649 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5650 (rectangle-mark-mode-map): New keymap.
5651 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5652
a0833f62
GM
56532013-11-04 Glenn Morris <rgm@gnu.org>
5654
5655 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5656
e61845c1
SM
56572013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5660 (ruby-smie-rules): Use smie-rule-parent instead.
5661
5662 * emacs-lisp/smie.el (smie-rule-parent): Always call
5663 smie-indent-virtual rather than only for hanging tokens.
5664 (smie--next-indent-change): New helper command.
5665
62942f89
GM
56662013-11-03 Glenn Morris <rgm@gnu.org>
5667
5668 * Makefile.in (abs_srcdir): Remove.
5669 (emacs): Unset EMACSLOADPATH.
5670
b0b9e592
GM
56712013-11-02 Glenn Morris <rgm@gnu.org>
5672
18ba6a33 5673 * Makefile.in (EMACS): Use a relative filename.
8061810d 5674 (abs_top_builddir): Remove.
18ba6a33
GM
5675 (custom-deps, finder-data, autoloads): Use --chdir.
5676
6a8b929e
GM
5677 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5678
c617f3d0
GM
5679 Use relative filenames in TAGS files.
5680 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5681 (lisptagsfiles4, TAGS): Use relative file names.
5682 (TAGS-LISP): Remove.
5683 (maintainer-clean): No more TAGS-LISP file.
5684
b0b9e592
GM
5685 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5686 (lisptagsfiles4): Use absolute filenames again.
5687 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5688 Remove all *loaddefs files, not just the first. Remove esh-groups.
5689 (maintainer-clean): Delete TAGS, TAGS-LISP.
5690
d1c0ea6a
BB
56912013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5692
e61845c1
SM
5693 * emacs-lisp/package.el (package-version-join):
5694 Recognize snapshot versions.
d1c0ea6a 5695
684d71c6
BB
56962013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5697
5698 * subr.el (version-regexp-alist): Add support for snapshot versions.
5699
3d42b968
DG
57002013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5701
e61845c1
SM
5702 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5703 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
5704 skip over our direct parent if it's an assignment token..
5705 (ruby-smie-rules): Use it.
5706
7ffd3721
DG
57072013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5708
8449dd1f 5709 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
5710 unconditionally. Remove now unnecessary forward declarations.
5711 Remove XEmacs-specific setup.
5712 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5713 (ruby-font-lock-syntactic-keywords)
5714 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5715 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5716 (ruby-here-doc-end-syntax): Remove.
5717 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5718 defined as function.
5719
a3996a2e
BB
57202013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5721
5722 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5723
6f9260e8
BB
57242013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5725
5726 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5727 table and abbrev table, `define-derived-mode' does that for us
5728 anyway.
5729
6014de84
GM
57302013-11-01 Glenn Morris <rgm@gnu.org>
5731
5732 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5733 files is atomic for some time, so no parallel compilation issues).
5734
3c334c14
JD
57352013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5736
5737 * faces.el (face-x-resources): Add :distant-foreground.
5738 (region): Use :distant-foreground for gtk and ns.
5739
9bc236c8
TH
57402013-11-01 Tassilo Horn <tsdh@gnu.org>
5741
5246583b 5742 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
5743 BibTeX.
5744 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5745 (reftex-locate-bibliography-files): Us it.
5746
d14c81ee
CB
57472013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5748
0e7690de
CB
5749 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5750 allow comments in pbm files.
5751
d14c81ee
CB
5752 * term/w32-win.el (dynamic-library-alist): Support newer versions
5753 of libjpeg starting with v7: look only for the DLL from the
5754 version against which Emacs was built.
ac1bf374 5755 Support versions of libpng beyond 1.4.x.
019c8218 5756 Support libtiff v4.x.
d14c81ee 5757
983d0df5
BB
57582013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5759
5760 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5761 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5762 Add property :safe.
5763 (ruby-deep-arglist): Add property :type.
5764
47f58d85
GM
57652013-10-31 Glenn Morris <rgm@gnu.org>
5766
5767 * Makefile.in (custom-deps, finder-data): No need to setq the target
5768 variables, we are in the right directory and the defaults work fine.
5769
4f85b479
GM
57702013-10-30 Glenn Morris <rgm@gnu.org>
5771
ca7dd4cd
GM
5772 * Makefile.in (autoloads): Do not use abs_lisp.
5773
4f85b479
GM
5774 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5775 `newline' does not respect `standard-output', so use `princ'.
5776
cf59e41c
AA
57772013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5778
5779 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5780 * buff-menu.el (Buffer-menu--unmark): New function.
5781 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5782
74cf04fb
GM
57832013-10-30 Glenn Morris <rgm@gnu.org>
5784
b040b60e
GM
5785 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5786
f53d3815
GM
5787 * emacs-lisp/package.el (lm-homepage): Declare.
5788
5413d873
GM
5789 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5790 Fix doc typos.
5791
cecedb36
GM
5792 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5793
74cf04fb
GM
5794 * Makefile.in (finder-data, autoloads, update-subdirs)
5795 (compile-main, compile-clean, compile-always, bootstrap-clean):
5796 Check return value of cd.
5797 (compile-calc): Remove.
5798
195ee2f0
SM
57992013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5800
ae4002ce
SM
5801 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5802
5803 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5804 (byte-compile-and-folded): New function.
5805 (=, <, >, <=, >=): Use it.
5806
5807 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5808 (path-separator, null-device, buffer-file-coding-system)
5809 (lpr-headers-switches): Check system-type before modifying them.
5810 (find-buffer-file-type-coding-system): Mark obsolete.
5811 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5812 find-file-not-found-set-buffer-file-coding-system.
35e951cd 5813 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 5814 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 5815 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
5816 (w32-direct-print-region-helper, w32-direct-print-region-function)
5817 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5818 * startup.el (normal-top-level-add-subdirs-to-load-path):
5819 * ps-print.el (ps-print-region-function):
5820 * lpr.el (print-region-function): Use new name.
5821
53b39e89
SM
5822 * subr.el (custom-declare-variable-early): Remove function.
5823 (custom-declare-variable-list): Remove var.
5824 (error, user-error): Remove `while' loop.
5825 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5826 (user-emacs-directory-warning, locate-user-emacs-file):
5827 Move to files.el.
5828 * simple.el (read-quoted-char-radix, read-quoted-char):
5829 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5830 Move from subr.el.
5831 * custom.el (custom-declare-variable-list): Don't process
5832 custom-declare-variable-list.
5833
195ee2f0
SM
5834 * progmodes/python.el (python-shell-get-buffer): New function.
5835 (python-shell-get-process): Use it.
5836 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5837 Python which encoding was used. Don't split-string since we only care
5838 about the first line. Return the temp-file, if applicable.
5839 (python-shell-send-region): Tell compile.el how to turn locations in
5840 the temp-file into locations in the source buffer.
5841
7e3561ee
SM
58422013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5843
4c9797cb
SM
5844 * subr.el (undefined): Add missing behavior from the C code for
5845 unbound keys.
5846
3472b6c6
SM
5847 * rect.el: Use lexical-binding. Add new rectangular region support.
5848 (rectangle-mark): New command.
5849 (rectangle--region): New var.
5850 (deactivate-mark-hook): Reset rectangle--region.
5851 (rectangle--extract-region, rectangle--insert-for-yank)
5852 (rectangle--highlight-for-redisplay)
5853 (rectangle--unhighlight-for-redisplay): New functions.
5854 (region-extract-function, redisplay-unhighlight-region-function)
5855 (redisplay-highlight-region-function): Use them to handle
5856 rectangular region.
5857 * simple.el (region-extract-function): New var.
5858 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5859 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5860 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5861 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5862 (redisplay-unhighlight-region-function)
5863 (redisplay-highlight-region-function): New vars.
5864 (redisplay--update-region-highlight): New function.
5865 (pre-redisplay-function): Use it.
5866 (exchange-point-and-mark): Don't deactivate the mark before
5867 reactivate-it anyway.
5868 * comint.el (comint-kill-region): Remove yank-handler argument.
5869 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5870 (delete-char): Remove property, since it's now part of their
5871 default behavior.
5872 (self-insert-iso): Remove property since this command doesn't exist.
5873
7e3561ee
SM
5874 * emacs-lisp/package.el (package--download-one-archive)
5875 (describe-package-1): Don't query the user about final newline.
5876
b9bef71f
DC
58772013-10-29 Daniel Colascione <dancol@dancol.org>
5878
5879 * net/tramp.el (tramp-methods): Document new functionality.
5880 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5881 tramp-hostname-checker if method provides one instead of scanning
5882 argument list for "%h" to decide hostname acceptability.
5883
4efc33f0
MA
58842013-10-28 Michael Albinus <michael.albinus@gmx.de>
5885
5886 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5887 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5888 Handle COPY-CONTENTS. (Bug#15737)
5889
ed42a877
DU
58902013-10-28 Daiki Ueno <ueno@gnu.org>
5891
5892 * epa-file.el
7e3561ee
SM
5893 (epa-file-cache-passphrase-for-symmetric-encryption):
5894 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 5895
18c9f8a2
XF
58962013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5897
35e951cd 5898 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 5899
b1e8e010
AM
59002013-10-27 Alan Mackenzie <acm@muc.de>
5901
5902 Indent statements in macros following "##" correctly.
7e3561ee
SM
5903 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5904 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 5905
73d40d1e 59062013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
5907
5908 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5909
c8c605ac
DG
59102013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5911
5912 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5913 after `=' is probably a new expression.
5914
ca7e59d4
RS
59152013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5916
5917 * man.el (man-imenu-title): New option.
5918 (Man-mode-map): Add menu. (Bug#15722)
5919 (Man-mode): Add imenu to menu.
5920
bae91342
DG
59212013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5922
5923 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5924 specific in what the first arg can be: a non-keyword word,
5925 string/regexp/percent literal opener, opening paren, or unary
5926 operator followed directly by word.
5927
eb89dc14
SM
59282013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5931 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5932 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5933 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5934 Remove vars, they do not apply any more.
5935 (prolog-mode-abbrev-table): Remove redundant declaration.
5936 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5937 (prolog-use-smie): Remove.
5938 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5939 supported by prolog-electric-if-then-else-flag.
5940 (prolog-mode-variables, prolog-menu): Use setq-local.
5941 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5942 Remove binding to `Backspace' since this key doesn't exist anyway.
5943 Remove bindings for electric self-inserting keys.
5944 (prog-mode): Assume it's defined.
5945 (prolog-post-self-insert): New function.
5946 (prolog-mode): Use it.
5947 (prolog-indent-line, prolog-indent-level)
5948 (prolog-find-indent-of-matching-paren)
5949 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5950 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5951 (prolog-goto-next-paren, prolog-in-string-or-comment)
5952 (prolog-tokenize, prolog-inside-mline-comment)
5953 (prolog-find-start-of-mline-comment): Remove functions.
5954 (prolog-find-unmatched-paren, prolog-clause-end)
5955 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5956 (prolog-electric--if-then-else): Rename from
5957 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5958 (prolog-tokenize-searchkey): Remove const.
5959 (prolog-clause-info): Use forward-sexp.
5960 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5961 (prolog-electric-if-then-else): Remove commands.
5962 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5963 for use in post-self-insert-hook.
5964 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5965 for use in post-self-insert-hook.
5966 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5967 for use in post-self-insert-hook.
5968 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5969 adapt it for use in post-self-insert-hook.
5970
3dab0a83
MA
59712013-10-25 Michael Albinus <michael.albinus@gmx.de>
5972
5973 * emacs-lisp/ert.el (ert-run-tests-interactively):
5974 Use `completing-read'. (Bug#9756)
5975
fbfd0e1d
EZ
59762013-10-25 Eli Zaretskii <eliz@gnu.org>
5977
5978 * simple.el (line-move): Call line-move-1 instead of
5979 line-move-visual when the current window hscroll is zero, but
5980 temporary-goal-column indicates we will need to hscroll as result
5981 of the movement. (Bug#15712)
5982
963ce636
DG
59832013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5984
5985 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5986 capitalization. Use :visible instead of :active.
5987 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5988 commands that are used with SMIE.
5989 (ruby-do-end-to-brace): Insert space after `{'.
5990
a0be396a
JA
59912013-10-25 John Anthony <john@jo.hnanthony.com>
5992
f73754c9
JA
5993 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5994
5995 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5996
f5bf77df
GM
59972013-10-25 Glenn Morris <rgm@gnu.org>
5998
5999 * vc/vc.el (vc-print-log): Don't use a working revision unless
6000 one was explicitly specified. (Bug#15322)
6001
37241f62
SM
60022013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6003
6004 * subr.el (add-to-list): Preserve return value in compiler-macro
6005 (bug#15692).
6006
6408a65d
RS
60072013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6008
6009 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6010 result. Ask user to retry using '-all' flag. (Bug#15701)
6011
71e3276b
SM
60122013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6013
6014 * emacs-lisp/smie.el: New smie-config system.
6015 (smie-config): New defcustom.
6016 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6017 (smie-config-guess, smie-config-save): New commands.
6018 (smie-config--mode-local, smie-config--buffer-local)
6019 (smie-config--trace, smie-config--modefuns): New vars.
6020 (smie-config--advice, smie-config--mode-hook)
6021 (smie-config--setter, smie-config-local, smie-config--get-trace)
6022 (smie-config--guess-value, smie-config--guess): New functions.
6023 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6024 text properties. Treat "string fence" syntax like string syntax.
6025
6026 * progmodes/sh-script.el (sh-use-smie): Change default.
6027 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6028 (sh-var-value): Simplify by CSE.
6029 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6030 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6031 is used.
6032 (sh-guess-basic-offset): Use cl-incf.
6033 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6034
60db713e
HE
60352013-10-24 Helmut Eller <eller.helmut@gmail.com>
6036
6037 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6038 (bug#15699).
6039
8b251df6
GM
60402013-10-24 Glenn Morris <rgm@gnu.org>
6041
6042 * Makefile.in (abs_top_srcdir): Remove.
6043 (update-subdirs): Use relative path to update-subdirs.
6044
6be0e22b
EZ
60452013-10-24 Eli Zaretskii <eliz@gnu.org>
6046
6047 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6048 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
6049 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6050 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 6051
50b5b857
MA
60522013-10-24 Michael Albinus <michael.albinus@gmx.de>
6053
6054 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6055 (ert-test-skipped): New error.
6056 (ert-skip, ert-stats-skipped): New defuns.
6057 (ert--skip-unless): New macro.
6058 (ert-test-skipped): New struct.
6059 (ert--run-test-debugger, ert-test-result-type-p)
6060 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6061 (ert--stats-set-test-and-result, ert-char-for-test-result)
6062 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 6063 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 6064 Handle skipped tests. (Bug#9803)
50b5b857 6065
6f317c2f
GM
60662013-10-24 Glenn Morris <rgm@gnu.org>
6067
e43817c1
GM
6068 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6069
6f317c2f
GM
6070 * Makefile.in (abs_top_srcdir): New, set by configure.
6071 (update-subdirs): Correct build-aux location.
6072
369bbf71
DG
60732013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6074
8297b2cf
DG
6075 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6076 value, whether we could auto-deduce `backend', or not.
6077
369bbf71
DG
6078 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6079 with parameters" example. Simplify the "is it block or is it
6080 hash" check, but also make it more thorough.
6081
d5f1282f
MF
60822013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6083
6084 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6085
bc4aaa31
SM
60862013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6087
03d44565
SM
6088 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6089 { if it is hanging.
6090
bc4aaa31
SM
6091 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6092 :before ";".
6093
f493ff19
JB
60942013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6095
6096 * progmodes/compile.el (compilation-directory-matcher)
6097 (compilation-page-delimiter):
6098 Support GNU Make-4.0 directory quoting. (Bug#15678)
6099
c744a3b9
LL
61002013-10-23 Leo Liu <sdl.web@gmail.com>
6101
6102 * ido.el (ido-tidy): Handle read-only text.
6103
b8e3b0a9
GM
61042013-10-23 Glenn Morris <rgm@gnu.org>
6105
6106 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6107 (emacs, compile, compile-always):
6108 Quote entities that might contain whitespace.
6109 (custom-deps, finder-data, autoloads): Use abs_lisp.
6110 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6111 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6112 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6113
ee4282cd
DG
61142013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6115
bc4aaa31
SM
6116 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6117 Use `following-char'.
7790a270 6118
ee4282cd 61192013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
6120
6121 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6122 * progmodes/ruby-mode.el (ruby-smie-rules):
6123 Remove corresponding workaround. Fix indentation rule of ";" so it
6124 also applies when ";" is the parent.
6125
d40a46d7
XF
61262013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6127
6128 * frame.el (display-screens, display-pixel-height)
6129 (display-pixel-width, display-mm-width, display-backing-store)
6130 (display-save-under, display-planes, display-color-cells)
7790a270
SM
6131 (display-visual-class, display-monitor-attributes-list):
6132 Mention the optional ‘display’ argument in doc strings.
d40a46d7 6133
a0f143c9
MG
61342013-10-22 Michael Gauland <mikelygee@amuri.net>
6135
6136 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6137 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6138
18cacc39
DG
61392013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6140
6141 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6142 TODO. Add "." after " @ ".
6143 (ruby-smie--at-dot-call): New function. Checks if point at method
6144 call with explicit target.
6145 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6146 to the method name tokens when it precedes them.
6147 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6148 (ruby-smie-rules): Add rule for indentation before and after "."
6149 token.
6150
df74c4be
SM
61512013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6152
c6dab55f
SM
6153 * textmodes/remember.el (remember-diary-extract-entries):
6154 Avoid add-to-list.
6155
df74c4be
SM
6156 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6157 an instruction.
6158
8c1ae481
DG
61592013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6160
e9dc713d
JB
6161 * progmodes/ruby-mode.el (ruby-smie-grammar):
6162 Add (almost) all infix operators.
cfef16c0
DG
6163 (ruby-smie--implicit-semi-p): Add new operator chars.
6164
8c1ae481
DG
6165 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6166 `smie-down-list'.
6167 (ruby-smie--args-separator-p): Check that there's no newline
6168 between method call and its arguments.
6169
87756ca9
AM
61702013-10-20 Alan Mackenzie <acm@muc.de>
6171
6172 Allow comma separated lists after Java "implements".
6173
df74c4be
SM
6174 * progmodes/cc-engine.el (c-backward-over-enum-header):
6175 Parse commas.
87756ca9
AM
6176 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6177 from a "disallowed" list in enum fontification.
6178
c25f8957
JB
61792013-10-20 Johan Bockgård <bojohan@gnu.org>
6180
df74c4be 6181 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 6182
c25f8957
JB
6183 * progmodes/verilog-mode.el (verilog-mode): Don't set
6184 comment-indent-function globally.
6185
aca5fcdc
JD
61862013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6187
5f161884
JD
6188 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6189 Move Info menu item creation to ns-win.el.
6190
6191 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6192 in menu bar.
6193
a6c4680a 6194 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
6195
6196 * term/ns-win.el (ns-initialize-window-system): ... to here.
6197
914b7f98
SM
61982013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * simple.el (newline): Only run post-self-insert-hook when
6201 called interactively.
6202
846ffe77
JB
62032013-10-19 Johan Bockgård <bojohan@gnu.org>
6204
6205 * icomplete.el (icomplete-with-completion-tables): Add :version.
6206
033f22dd
AM
62072013-10-19 Alan Mackenzie <acm@muc.de>
6208
6209 Fix fontification bugs with constructors and const.
6210
6211 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6212 CASE 2) Remove the check for the absence of a suffix construct
6213 after a function declaration with only types (no identifiers) in
6214 the parentheses. Also, accept a function declaration with just a
6215 type inside the parentheses, if this type can be positively
6216 recognised as such, or if a prefix keyword like "explicit" nails
6217 down the construct as a declaration.
6218
58ce0cfc
EZ
62192013-10-19 Eli Zaretskii <eliz@gnu.org>
6220
6221 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6222 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6223 the problem whereby selecting a menu item that leads to a
6224 minibuffer prompt moves the cursor out of the minibuffer window,
6225 making it hard to type at the prompt. Suggested by Stefan Monnier
6226 <monnier@iro.umontreal.ca>.
6227
50e28e7d
JD
62282013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6229
6230 * menu-bar.el: Don't make Services menu.
6231
7deed4bf
RS
62322013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6233
6234 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6235 (ffap-alist): Use ffap-c++-mode for c++-mode.
6236 (ffap-c++-path): New variable.
6237 (ffap-c++-mode): New function.
6238
7bcb455b
JVJ
62392013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6240
6241 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6242
f0ff1cd5
MA
62432013-10-18 Michael Albinus <michael.albinus@gmx.de>
6244
6245 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6246 introduced on 2013-09-08, which results in an infinite loop
6247 requesting a password.
6248
d64da4b7
GM
62492013-10-18 Glenn Morris <rgm@gnu.org>
6250
6251 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6252
ea89ff08
WS
62532013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6254
6255 Sync with upstream verilog-mode revision 1a6ecec7.
6256 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6257 (verilog-mode-release-date): Remove.
6258 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6259 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6260 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6261 (verilog-auto-tieoff-ignore-regexp)
6262 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6263 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6264 (verilog-signals-with, verilog-dir-cache-preserving)
6265 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6266 Doc fixes.
6267 (verilog-case-fold): New option, to control case folding in
6268 regexp searches, bug597.
6269 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6270 (verilog-string-match-fold, verilog-in-paren-count)
6271 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6272 (verilog-at-close-struct-p): New functions.
6273 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 6274 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
6275 (verilog-leap-to-case-head): Handle "unique0" case.
6276 (verilog-in-constraint-re): New constant.
6277 (verilog-keywords, verilog-type-font-keywords):
6278 Add some SystemVerilog 1800-2012 keywords.
6279 (verilog-label-be): Remove unimplemented argument, bug669.
6280 (verilog-batch-execute-func): When batch expanding clear
6281 create-lockfiles to prevent spurious user locks when a file ends
6282 up not changing.
6283 (verilog-calculate-indent, verilog-calc-1)
6284 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6285 (verilog-do-indent): Fix indentation of nested constraints
6286 and structures.
6287 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6288 (verilog-auto-inst-param): Use verilog-string-match-fold.
6289 (verilog-read-inst-module-matcher):
6290 Fix AUTOINST on gate primitives with #1.
6291 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6292 Reads all user-defined typed variables.
6293 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6294 (verilog-signals-matching-regexp)
6295 (verilog-signals-not-matching-regexp, verilog-auto):
6296 Respect verilog-case-fold.
6297 (verilog-diff-report): Fix line count.
6298 (verilog-auto-assign-modport): Remove unused local `modi'.
6299 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6300 better handle multidimensional arrays.
6301 Fix packed array ports misadding bit index in AUTOINST, bug637.
6302 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6303 to not double-declare existing outputs and inputs, respectively.
6304 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6305 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6306 (verilog-sk-uvm-component): New skeleton.
6307 (verilog-submit-bug-report): Add verilog-case-fold,
6308 remove verilog-mode-release-date.
6309
ef566920
BR
63102013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6311
a12bf61e 6312 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
6313 as before.
6314
29df8a0b
RT
63152013-10-18 Reuben Thomas <rrt@sc3d.org>
6316
e0eb0550 6317 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
6318 remember buffers (bug#13566).
6319
04a19a79
DC
63202013-10-18 Daniel Colascione <dancol@dancol.org>
6321
6322 When evaluating forms in ielm, direct standard output to ielm
6323 buffer. Add new ielm-return-for-effect command. Remove trailing
6324 whitespace throughout.
6325
6326 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6327 (ielm-return-for-effect): New command.
6328 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
6329 (ielm-eval-input): Accept optional `for-effect' parameter.
6330 Bind `standard-output' to stream we create using
04a19a79
DC
6331 `ielm-standard-output-impl'. Suppress printing result when
6332 `for-effect'.
6333 (ielm-standard-output-impl): New function.
6334 (inferior-emacs-lisp-mode): Explain new features in documentation.
6335
4c1f03ef
MA
63362013-10-17 Michael Albinus <michael.albinus@gmx.de>
6337
6338 Code cleanup.
6339
6340 * net/tramp.el (tramp-debug-message): Do not check for connection
6341 buffer.
6342 (tramp-message): Use "vector" connection property.
6343
6344 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6345 (tramp-equal-remote, tramp-eshell-directory-change)
6346 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6347 (tramp-adb-handle-rename-file)
6348 * net/tramp-cmds.el (tramp-list-remote-buffers)
6349 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6350 * net/tramp-compat.el (tramp-compat-process-running-p)
6351 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6352 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6353 (tramp-gvfs-handle-rename-file)
6354 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6355 (tramp-set-file-uid-gid)
6356 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6357 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6358 of `file-remote-p'.
6359
6360 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6361 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6362 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6363 (tramp-gw-open-network-stream): Suppress unrelated traces.
6364
6365 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6366 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6367 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6368 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6369 connection property.
6370
6371 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 6372 persistency file.
4c1f03ef
MA
6373
6374 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6375 Refactor common code. Improve debug message.
6376 (tramp-maybe-open-connection)
6377 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6378 connection buffer too early.
6379
6380 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6381 from `tramp-smb-actions-with-acl'.
6382 (tramp-smb-actions-set-acl): New defconst.
6383 (tramp-smb-handle-copy-directory)
6384 (tramp-smb-action-get-acl): New defun, renamed from
6385 `tramp-smb-action-with-acl'.
6386 (tramp-smb-action-set-acl): New defun.
6387 (tramp-smb-handle-set-file-acl): Rewrite.
6388
642eb8b6
GM
63892013-10-17 Glenn Morris <rgm@gnu.org>
6390
6391 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6392
85527ff3
SM
63932013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6394
921c1d62
SM
6395 * skeleton.el (skeleton-newline): Remove.
6396 (skeleton-internal-1): Use (insert "\n") instead.
6397
e333fb10
SM
6398 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6399 let-bindings.
6400
85527ff3
SM
6401 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6402 forward-sexp-function while we redo its job (bug#15613).
6403
c8722a97
JB
64042013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6405
6406 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6407 represented by lists.
6408
7a550bbb
GM
64092013-10-16 Glenn Morris <rgm@gnu.org>
6410
6411 * tmm.el (tmm--history): New dynamic variable.
6412 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6413
f19da8ad
MA
64142013-10-16 Michael Albinus <michael.albinus@gmx.de>
6415
6416 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6417 (tramp-smb-errors): Add error messages.
6418 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 6419 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
6420 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6421 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6422 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6423 (tramp-smb-get-stat-capability): Fix tests.
6424
a24b9961
DK
64252013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6426
6427 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6428 (bug#15580).
6429
62ad85e6
GM
64302013-10-16 Glenn Morris <rgm@gnu.org>
6431
0283d6b0
GM
6432 * ansi-color.el (ansi-color-drop-regexp):
6433 Add 1J, 1K, 2K. (Bug#15617)
6434
012e2f9f
GM
6435 * files.el (hack-local-variables--warned-lexical): New.
6436 (hack-local-variables):
6437 Warn about misplaced lexical-binding. (Bug#15616)
6438
62ad85e6
GM
6439 * net/eww.el (eww-render): Always set eww-current-url,
6440 and update header line. (Bug#15622)
6441 (eww-display-html): ... Rather than just doing it here.
6442
6456c0ea
EZ
64432013-10-15 Eli Zaretskii <eliz@gnu.org>
6444
6445 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6446 menu navigations commands.
6447
c2de5588
DK
64482013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6449
6450 * progmodes/subword.el (subword-capitalize): Be careful when
6451 the search for [[:alpha:]] fails (bug#15580).
6452
ccd4a783
EZ
64532013-10-14 Eli Zaretskii <eliz@gnu.org>
6454
6455 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6456 to commands that scroll the menu.
6457
1eda1d8d
DG
64582013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6459
c2de5588
DK
6460 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6461 Handle methods ending with `?' and `!'.
1eda1d8d 6462
e70181b8
AM
64632013-10-14 Akinori MUSHA <knu@iDaemons.org>
6464
6465 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6466 `japanese-cp932' to `cp932' to fix the problem where saving a
6467 source file written in Shift_JIS twice would end up having
6468 `coding: japanese-cp932' which Ruby could not recognize.
6469 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6470 in `ruby-encoding-map'.
6471 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6472 doesn't need to be explicitly declared in magic comment.
6473 (ruby-encoding-map): Add type declaration for better customize UI.
6474
9148ee92
GM
64752013-10-13 Glenn Morris <rgm@gnu.org>
6476
a5d38e34
GM
6477 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6478 Occur buffers are read-only. http://bugs.debian.org/720775
6479
9148ee92
GM
6480 * emacs-lisp/authors.el (authors-fixed-entries):
6481 Comment out old alpha stuff.
6482
a9ba094b
DG
64832013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6484
6485 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6486 to `after-save-hook' instead of `before-save-hook'.
6487 (ruby-mode-set-encoding): Use the value of coding system used to
6488 write the file. Call `basic-save-buffer-1' after modifying the
6489 buffer.
6490
7a068717
AM
64912013-10-13 Alan Mackenzie <acm@muc.de>
6492
6493 Fix indentation/fontification of Java enum with
6494 "implements"/generic.
6495
c2de5588
DK
6496 * progmodes/cc-engine.el (c-backward-over-enum-header):
6497 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
6498 (c-inside-bracelist-p): Uses new function above.
6499 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6500 function above.
6501 (c-font-lock-enum-tail): Uses new function above.
6502
85b64f02
KH
65032013-10-13 Kenichi Handa <handa@gnu.org>
6504
6505 * international/mule-cmds.el (select-safe-coding-system): Remove a
6506 superfluous condition in chekcing whether a coding system is safe
6507 or not.
6508
fc7f501b
OK
65092013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6510
6511 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6512
fdcb2049
AP
65132013-10-13 Andreas Politz <politza@hochschule-trier.de>
6514
6515 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6516
8c106d17
GM
65172013-10-13 Glenn Morris <rgm@gnu.org>
6518
feab892d
GM
6519 * menu-bar.el (menu-bar-update-buffers):
6520 Unify Buffers menu prompt string. (Bug#15576)
6521
b22d0686
GM
6522 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6523
8c106d17
GM
6524 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6525 Add some entries.
6526 (authors-fixed-entries): Use accented form of name.
6527
1b12c797
SM
65282013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6529
650fa7bf 6530 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 6531 method calls (bug#15594).
650fa7bf
SM
6532 (ruby-smie--args-separator-p): New function.
6533 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6534 recognize paren-free method calls.
6535
1b12c797
SM
6536 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6537 internals of universal-argument.
6538
029619c8
EZ
65392013-10-11 Eli Zaretskii <eliz@gnu.org>
6540
6541 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
6542 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6543 dropped menu on second mouse click on the menu bar.
029619c8 6544
dd070019
SM
65452013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6548 (explicit-shell-file-name): Declare.
6549 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6550 (sh-completion-at-point-function): New function.
6551 (sh-mode): Use it.
6552 (sh-smie--keyword-p): Remove unused argument.
6553 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6554 vars.
6555 (sh-set-shell): Always setup SMIE, even if we use the
6556 old indentation code.
6557
0922b826
DG
65582013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6559
b68e2926
DG
6560 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6561 cases of ? and =.
6562 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6563 predicate would return nil are almost non-existent.
6564 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6565
0922b826
DG
6566 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6567 cache also after commands that modify the buffer but don't move
6568 point.
6569
ee041f2d
SM
65702013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 * env.el (substitute-env-in-file-name): New function.
6573 (substitute-env-vars): Extend the meaning of the optional arg.
6574
a5dab159
EZ
65752013-10-10 Eli Zaretskii <eliz@gnu.org>
6576
6577 * term/w32-win.el (dynamic-library-alist): Define separate lists
6578 of GIF DLLs for versions before and after 5.0.0 of giflib.
6579 (Bug#15531)
6580
0449d6cd 65812013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
6582
6583 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6584 not locked, use last revision and current source as
6585 defaults. (Bug#15569)
6586
2f6e161e
MY
65872013-10-10 Masatake YAMATO <yamato@redhat.com>
6588
6589 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6590 menu-bar is hidden.
6591
6c8413fc
MR
65922013-10-10 Martin Rudalics <rudalics@gmx.at>
6593
6594 * window.el (pop-to-buffer-same-window): Fix doc-string.
6595 (Bug#15492)
6596
20832de0
SM
65972013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6600
c6e8ae77
AC
66012013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6602
6603 * calendar/icalendar.el (icalendar-import-file):
6604 Fix interactive spec. (Bug#15482)
6605
9db13baf
GM
66062013-10-10 Glenn Morris <rgm@gnu.org>
6607
9271e90e
GM
6608 * desktop.el (desktop-save): Default to saving in .emacs.d,
6609 since PWD is no longer in desktop-path by default. (Bug#15319)
6610
9db13baf
GM
6611 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6612 now that text mode has a menu with the same entry.
6613 (menu-bar-text-mode-auto-fill): Remove now unused func.
6614 * textmodes/text-mode.el (text-mode-map):
6615 Use auto-fill help text from menu-bar.el.
6616
a0be396a 66172013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
6618
6619 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6620
2edcd3c7
JL
66212013-10-09 Juri Linkov <juri@jurta.org>
6622
6623 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6624 instead of this-command-keys. Add universal-argument-more and
6625 universal-argument-minus to the list of prefix commands. (Bug#15568)
6626
574411d0
GM
66272013-10-09 Glenn Morris <rgm@gnu.org>
6628
14afa541
GM
6629 * vc/vc-svn.el (vc-svn-create-repo):
6630 Expand paths in file://... url. (Bug#15446)
6631
574411d0
GM
6632 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6633 Add some entries.
6634 (authors): Remove unused local variables.
6635
79804536
SM
66362013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6637
6638 * profiler.el: Create a more coherent calltree from partial backtraces.
6639 (profiler-format): Hide the tail with `invisible' so that C-s can still
6640 find the hidden elements.
6641 (profiler-calltree-depth): Don't recurse so enthusiastically.
6642 (profiler-function-equal): New hash-table-test.
6643 (profiler-calltree-build-unified): New function.
6644 (profiler-calltree-build): Use it.
6645 (profiler-report-make-name-part): Indent the calltree less.
6646 (profiler-report-mode): Add visibility specs for profiler-format.
6647 (profiler-report-expand-entry, profiler-report-toggle-entry):
6648 Expand the whole subtree when provided with a prefix arg.
6649
238150c8
DG
66502013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6651
6652 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6653 iuwu-mod token.
6654 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6655 hanging iuwu-mod token.
6656 (ruby-smie--forward-token): Do not include a dot after a token in
6657 that token.
6658 (ruby-smie--backward-token): Likewise.
6659
b0949cc4
JL
66602013-10-08 Juri Linkov <juri@jurta.org>
6661
6662 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6663 to isearch-other-control-char.
6664 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6665 and isearch-post-command-hook to post-command-hook.
6666 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6667 and isearch-post-command-hook from post-command-hook.
6668 (isearch-unread-key-sequence)
6669 (isearch-reread-key-sequence-naturally)
6670 (isearch-lookup-scroll-key, isearch-other-control-char)
6671 (isearch-other-meta-char): Remove functions.
6672 (isearch-pre-command-hook, isearch-post-command-hook):
6673 New functions based on isearch-other-meta-char rewritten
6674 relying on the new behavior of overriding-terminal-local-map
6675 that does not replace the local keymaps any more. (Bug#15200)
6676
4ed77415
EZ
66772013-10-08 Eli Zaretskii <eliz@gnu.org>
6678
6679 Support menus on text-mode terminals.
6680 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6681 functionality.
6682
6683 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6684
c2de5588
DK
6685 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6686 Move here from mouse.el.
4ed77415
EZ
6687 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6688 and arrow keys.
6689 (tty-menu-navigation-map): New map for TTY menu navigation.
6690
6691 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6692
6693 * frame.el (display-mouse-p): Report text-mode mouse as available
6694 on w32.
6695 (display-popup-menus-p): Report availability if mouse is
6696 available; don't condition on window-system.
6697
6698 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6699 (tty-menu-selected-face): New faces.
6700
b7d5bd82
TL
67012013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6702
06286513
SM
6703 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6704 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6705 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6706 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6707 New constants.
6708 (lisp-mode-variables): New `elisp' argument.
6709 (emacs-lisp-mode): Use it.
6710 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6711 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6712
b7d5bd82
TL
6713 * indent.el: Use lexical-binding.
6714 (indent-region): Add progress reporter.
6715 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6716 last step.
6717 (indent--next-tab-stop): New function to implement this behavior.
6718 (tab-to-tab-stop, move-to-tab-stop): Use it.
6719
67202013-10-08 Teemu Likonen <tlikonen@iki.fi>
6721
6722 * indent.el (indent-rigidly--current-indentation): New function.
6723 (indent-rigidly-map): New var.
6724 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6725
5ea75d23
BG
67262013-10-08 Bastien Guerry <bzg@gnu.org>
6727
f2726fa2 6728 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 6729
cc5da1ec
SM
67302013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6731
8ffa1a0b
SM
6732 * progmodes/perl-mode.el: Use lexical-binding.
6733 Remove redundant :group args.
6734 (perl-nochange): Change default to be closer to other major modes's
6735 standard behavior.
6736 (perl-indent-line): Don't consider text on current line as a
6737 valid beginning of function from which to indent.
6738
f2223371
SM
6739 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6740 with more than one argument (bug#15538).
6741
44256060
SM
6742 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6743
cc5da1ec
SM
6744 * vc/pcvs.el: Use lexical-binding.
6745 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6746 environment of `eval'.
6747 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6748 than a list of expressions. Adjust callers.
6749 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6750
0ea1599d
DG
67512013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6752
6753 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 6754 case of the dot in a chained method call being on the following line.
0ea1599d 6755
da3e5ebb
SM
67562013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6757
2abb4e65
SM
6758 * electric.el (electric-indent-inhibit): New var.
6759 (electric-indent-post-self-insert-function): Use it.
6760 * progmodes/python.el (python-mode): Set it.
6761
d2e0e795
SM
6762 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6763 open braces.
6764
6765 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6766
bdc6b4c8
SM
6767 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6768 (css-mode): Use electric-indent-chars.
6769
da3e5ebb
SM
6770 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6771 (font-lock-beg, font-lock-end): Move before first use.
6772 (nxml-mode): Use syntax-propertize-function.
6773 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6774 (nxml-extend-after-change-region): Remove.
6775 * nxml/xmltok.el: Use lexical-binding.
6776 (xmltok-save): Use `declare'.
6777 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6778 * nxml/nxml-util.el: Use lexical-binding.
6779 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6780 Use `declare'.
6781 * nxml/nxml-ns.el: Use lexical-binding.
6782 (nxml-ns-save): Use `declare'.
6783 (nxml-ns-prefixes-for): Avoid add-to-list.
6784 * nxml/rng-match.el: Use lexical-binding.
6785 (rng--ipattern): Use cl-defstruct.
6786 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6787 (rng-cons-group-after, rng-subst-group-after)
6788 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6789 Use closures instead of `(lambda...).
6790
f8f91d5d
MA
67912013-10-07 Michael Albinus <michael.albinus@gmx.de>
6792
6793 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6794 of BEG and END.
6795
da3e5ebb
SM
6796 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6797 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
6798 (tramp-gvfs-handle-insert-file-contents): Remove function.
6799
da3e5ebb
SM
6800 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6801 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
6802
6803 * net/trampver.el: Update release number.
6804
7ccae3b1
SM
68052013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6806
55ca2c0d
SM
6807 * progmodes/compile.el (compilation-parse-errors):
6808 Use compilation--put-prop.
6809 (compilation--ensure-parse): Check compilation-multiline.
6810
731fc3ae
SM
6811 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6812
da3e5ebb
SM
6813 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6814 lexical-binding.
a5833280 6815
2e7ba2c2
SM
6816 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6817
7ccae3b1
SM
6818 * progmodes/ruby-mode.el: Fix recently added tests.
6819 (ruby-smie-grammar): Add - and +.
6820 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6821 (ruby-smie--backward-id): New functions.
6822 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6823 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6824 any more.
6825
85698d63
LL
68262013-10-07 Leo Liu <sdl.web@gmail.com>
6827
6828 * register.el (register-preview-delay)
6829 (register-preview-functions): New variables.
6830 (register-read-with-preview, register-preview)
6831 (register-describe-oneline): New functions.
6832 (point-to-register, window-configuration-to-register)
6833 (frame-configuration-to-register, jump-to-register)
6834 (number-to-register, view-register, insert-register)
6835 (copy-to-register, append-to-register, prepend-to-register)
6836 (copy-rectangle-to-register): Use register-read-with-preview to
6837 read register. (Bug#15525)
6838
3986af6c
DS
68392013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6840
6841 * net/network-stream.el (network-stream-open-starttls): Don't add
6842 --insecure if it's already present, because that gnutls-cli
6843 rejects getting that parameter twice.
6844
5cd9cda9
DG
68452013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6846
6847 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6848 keyword, too.
6849
da9ea6d9
DG
68502013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6851
6852 * newcomment.el (comment-use-global-state): Change default value
6853 to t, mark obsolete (Bug#15251).
6854 (comment-beginning): In addition to `comment-to-syntax', check the
6855 value of `comment-use-global-state'.
6856
34d1a133
SM
68572013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6860 (ruby-comment-column): Follow the global default, by default.
6861 (ruby-smie-grammar): Add assignment syntax.
6862 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6863 open-paren, a comma, or a \.
6864 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6865 and line continuations.
6866 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6867 followed by implicit semi-colons. Add rule for string concatenation
6868 and for indentation at BOB.
27821a89 6869 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
6870
6871 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6872 calling next-sexp, since next-token may have skipped chars which
6873 next-sexp doesn't know should be skipped!
6874
6f6ab820
LL
68752013-10-05 Leo Liu <sdl.web@gmail.com>
6876
34d1a133
SM
6877 * progmodes/octave.el (octave-send-region):
6878 Call compilation-forget-errors.
6f6ab820 6879
34ca0f4c
XF
68802013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6881
6882 * vc/vc-svn.el (vc-svn-find-admin-dir):
6883 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6884 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6885 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6886 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6887
a27c1b72
SM
68882013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6891
258ab3bc
SM
68922013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 * subr.el (read-passwd): Hide chars even when called within a context
6895 where after-change-functions is disabled (bug#15501).
6896 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6897 until we removed ourself from overriding-terminal-local-map.
6898
939fb29c
LL
68992013-10-04 Leo Liu <sdl.web@gmail.com>
6900
258ab3bc
SM
6901 * progmodes/octave.el (inferior-octave-mode):
6902 Call compilation-forget-errors.
939fb29c 6903
63bd7f35
XF
69042013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6905
6906 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6907
9e6229fa
MA
69082013-10-04 Michael Albinus <michael.albinus@gmx.de>
6909
6910 * net/secrets.el (secrets-create-collection): Add optional
6911 argument ALIAS. Use proper Label keyword. Append ALIAS as
6912 dbus-call-method argument. (Bug#15516)
6913
1dab32a3
LL
69142013-10-04 Leo Liu <sdl.web@gmail.com>
6915
6916 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6917 (inferior-octave-compilation-font-lock-keywords): New variables.
6918 (compilation-error-regexp-alist)
6919 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6920 (inferior-octave-mode): Use compilation-shell-minor-mode.
6921
6cad7ba3
JS
69222013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6923
6924 * minibuffer.el (completion--replace): Be careful that `end' might be
6925 a marker.
6926
acbadd00
DU
69272013-10-03 Daiki Ueno <ueno@gnu.org>
6928
6929 Add support for package signature checking.
6930 * emacs-lisp/package.el (url-http-file-exists-p)
6931 (epg-make-context, epg-context-set-home-directory)
6932 (epg-verify-string, epg-context-result-for)
6933 (epg-signature-status, epg-signature-to-string)
6934 (epg-check-configuration, epg-configuration)
6935 (epg-import-keys-from-file): Declare.
6936 (package-check-signature): New user option.
6937 (package-unsigned-archives): New user option.
6938 (package-desc): Add `signed' field.
6939 (package-load-descriptor): Set `signed' field if .signed file exists.
6940 (package--archive-file-exists-p): New function.
6941 (package--check-signature): New function.
6942 (package-install-from-archive): Check package signature.
6943 (package--download-one-archive): Check archive signature.
6944 (package-delete): Remove .signed file.
6945 (package-import-keyring): New command.
6946 (package-refresh-contents): Import default keyring.
6947 (package-desc-status): Add "unsigned" status.
6948 (describe-package-1, package-menu--print-info)
6949 (package-menu-mark-delete, package-menu--find-upgrades)
6950 (package-menu--status-predicate): Support "unsigned" status.
6951
adf2aa61
SM
69522013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6953
6954 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6955 the new compilation scheme using the new byte-codes.
6956
6957 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6958 (byte-pophandler): New byte codes.
6959 (byte-goto-ops): Adjust accordingly.
6960 (byte-compile--use-old-handlers): New var.
6961 (byte-compile-catch): Use new byte codes depending on
6962 byte-compile--use-old-handlers.
6963 (byte-compile-condition-case--old): Rename from
6964 byte-compile-condition-case.
6965 (byte-compile-condition-case--new): New function.
6966 (byte-compile-condition-case): New function that dispatches depending
6967 on byte-compile--use-old-handlers.
6968 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6969 when we can.
6970
6971 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6972 Optimize under `condition-case' and `catch' if
6973 byte-compile--use-old-handlers is nil.
6974 (disassemble-offset): Handle new bytecodes.
6975
328a8179
SM
69762013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6977
6978 * subr.el (error): Use `declare'.
6979 (decode-char, encode-char): Use advertised-calling-convention instead
6980 of the docstring to discourage use of the `restriction' arg.
6981
15a1e936
DU
69822013-10-03 Daiki Ueno <ueno@gnu.org>
6983
6984 * epg.el (epg-verify-file): Add a comment saying that it does not
6985 notify verification error as a return value nor a signal.
6986 (epg-verify-string): Ditto.
6987
376f862a
KR
69882013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6989
6990 * progmodes/compile.el (compilation-start): Try globbing the arg to
6991 `cd' (bug#15417).
6992
a2f93a5f
MA
69932013-10-02 Michael Albinus <michael.albinus@gmx.de>
6994
6995 Sync with Tramp 2.2.8.
6996
6997 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6998 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6999 * net/trampver.el: Update release number.
7000
0daa0804
JD
70012013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7002
7003 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7004 and default-process-coding-system for darwin only.
7005
abd1ae34
SM
70062013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7007
7008 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7009
be4e325d
MH
70102013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7011
7012 * vc/vc-git.el (vc-git-grep): Disable pager.
7013
e9155c4a
DG
70142013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7015
494e898b
DG
7016 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7017 Use :url instead of :homepage, as per
7018 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7019
e9155c4a
DG
7020 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7021 non-nil, use `syntax-ppss' (Bug#15251).
7022
481a8e0f
RS
70232013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7024
be4e325d
MH
7025 * progmodes/octave.el (inferior-octave-startup-file):
7026 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 7027
056453c6
DG
70282013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7029
be4e325d
MH
7030 * emacs-lisp/package.el (package-desc-from-define):
7031 Accept additional arguments as plist, convert them to an alist and store
7032 them in the `extras' slot.
056453c6
DG
7033 (package-generate-description-file): Convert extras alist back to
7034 plist and append to the `define-package' form arguments.
7035 (package--alist-to-plist): New function.
7036 (package--ac-desc): Add `extras' slot.
7037 (package--add-to-archive-contents): Check if the archive-contents
7038 vector is long enough, and if it is, pass its `extras' slot value
7039 to `package-desc-create'.
7040 (package-buffer-info): Call `lm-homepage', pass the returned value
7041 to `package-desc-from-define'.
7042 (describe-package-1): Render the homepage button (Bug#13291).
7043
be4e325d
MH
7044 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7045 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 7046
832966e5
JD
70472013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7048
7049 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7050 and default-process-coding-system to utf-8-unix (Bug#15402).
7051
6cfe977d
XF
70522013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7053
7054 * subr.el (looking-back): Do not recommend using looking-back.
7055
38de11bd
AM
70562013-09-28 Alan Mackenzie <acm@muc.de>
7057
7058 Fix indentation/fontification of Java enum with "implements".
7059
7060 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7061 regexp which matches "implements", etc., in Java.
7062 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7063 specifier clauses coming after "enum".
7064 * progmodes/cc-fonts.el (c-font-lock-declarations)
7065 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7066 after "enum".
7067
1610938f
JD
70682013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7069
7070 * faces.el (region): Change ns_selection_color to
7071 ns_selection_fg_color, add ns_selection_bg_color.
7072
e090f499
LL
70732013-09-28 Leo Liu <sdl.web@gmail.com>
7074
4d2e94d1
LL
7075 * progmodes/octave.el (inferior-octave-completion-table)
7076 (inferior-octave-completion-at-point): Minor tweaks.
7077
e090f499
LL
7078 * textmodes/ispell.el (ispell-lookup-words): Rename from
7079 lookup-words. (Bug#15460)
7080 (lookup-words): Obsolete.
7081 (ispell-complete-word, ispell-command-loop): All uses changed.
7082
7e138a62
RS
70832013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7084
a12bf61e 7085 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
7086 (octave-mode-menu): Add octave-send-buffer.
7087 (octave-send-buffer): New function.
7088
5af5ed08
RS
70892013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7090
a12bf61e 7091 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
7092 octave-lookfor.
7093 (octave-mode-menu): Add octave-lookfor.
7094 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7095 octave-lookfor.
7096 (octave-lookfor): New function.
7097
3b7b2692
SM
70982013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7099
35e951cd 7100 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
7101 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7102 its convention.
7103 (cl--loop-set-iterator-function): New function.
7104 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7105 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7106 Bind `it' with `let' instead of substituting it with `cl-subst'.
7107 (cl--unused-var-p): New function.
7108 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7109 Eliminate some unused variable warnings (bug#15326).
7110
529fb53f
TH
71112013-09-27 Tassilo Horn <tsdh@gnu.org>
7112
7113 * doc-view.el (doc-view-scale-reset): Rename from
7114 `doc-view-reset-zoom-level'.
7115 (doc-view-scale-adjust): New command.
7116 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7117 `doc-view-scale-adjust'.
7118
0550c95a
TH
71192013-09-26 Tassilo Horn <tsdh@gnu.org>
7120
7121 * doc-view.el (doc-view-reset-zoom-level): New command.
7122 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7123 zoom commands (bug#15466).
7124
6950f152
KH
71252013-09-26 Kenichi Handa <handa@gnu.org>
7126
7127 * international/quail.el (quail-help): Make it not a command.
7128
39587580
LL
71292013-09-26 Leo Liu <sdl.web@gmail.com>
7130
7131 * minibuffer.el (completion-all-sorted-completions): Make args
7132 optional as they are.
7133
00578659
DC
71342013-09-25 Daniel Colascione <dancol@dancol.org>
7135
7136 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7137 specs are and that they're not evaluated.
7138
0c173878
SS
71392013-09-24 Sam Steingold <sds@gnu.org>
7140
7141 * midnight.el (clean-buffer-list-kill-regexps)
7142 (clean-buffer-list-kill-buffer-names): Update for the new Man
7143 buffer naming which includes the object name.
7144
84998447
SM
71452013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7148 (eshell-parse-command, eshell-parse-pipeline): Use it since
7149 eshell-separate-commands requires a dynamic scoped var.
7150 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7151
33215353
LL
71522013-09-23 Leo Liu <sdl.web@gmail.com>
7153
7154 * autoinsert.el (auto-insert-alist): Make the value of
7155 lexical-binding match its file setting.
7156
57b16162
JB
71572013-09-23 Juanma Barranquero <lekktu@gmail.com>
7158
c8af4e67
JB
7159 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7160
57b16162
JB
7161 * autoarg.el (autoarg-kp-digit-argument):
7162 * electric.el (Electric-command-loop):
7163 * kmacro.el (kmacro-step-edit-insert):
7164 Do not set universal-argument-num-events.
7165
7186ba60
LL
71662013-09-22 Leo Liu <sdl.web@gmail.com>
7167
7168 * files.el (interpreter-mode-alist): Add octave.
7169
ece15004
AM
71702013-09-21 Alan Mackenzie <acm@muc.de>
7171
7172 C++: fontify identifier in declaration following "public:" correctly.
7173 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7174 to match "public", etc.
7175 (c-decl-prefix-re): Add ":" into the C++ value.
7176 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7177 bit. Add a check for a ":" preceded by "public", etc.
7178
75d83e22
EZ
71792013-09-21 Eli Zaretskii <eliz@gnu.org>
7180
7181 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7182 recognized by GDB 7.5 and later.
7183
d052d3bd
XF
71842013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7185
7186 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7187
31dca772
R
71882013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * subr.el (internal--call-interactively): New const.
7191 (called-interactively-p): Use it (bug#3984).
7192
98ccf24e
XF
71932013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7194
7195 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
7196 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7197 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 7198
c39cc7d1
SM
71992013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7202 (eshell-ls-orig-insert-directory): Remove.
7203 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7204 (eshell-ls-use-in-dired): Use advice-add/remove.
7205 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7206 Add `orig-fun' arg for use in :around advice.
7207 Make it check (redundantly) eshell-ls-use-in-dired.
7208
9a0289a2
GM
72092013-09-19 Glenn Morris <rgm@gnu.org>
7210
a2c501b8
GM
7211 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7212
c440407a
GM
7213 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7214
9a0289a2
GM
7215 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7216
85e05915
MA
72172013-09-19 Michael Albinus <michael.albinus@gmx.de>
7218
7219 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7220 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7221 (tramp-get-remote-python): New defuns.
7222 (tramp-get-remote-uid-with-perl)
7223 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7224 contributed by yary <not.com@gmail.com> (tiny change).
7225 (tramp-get-remote-uid-with-python)
7226 (tramp-get-remote-gid-with-python): New defuns. Python code
7227 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7228 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7229
ce503312
GM
72302013-09-19 Glenn Morris <rgm@gnu.org>
7231
f7544773
GM
7232 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7233
72fd2877
GM
7234 * eshell/em-unix.el (eshell-remove-entries):
7235 Rename argument to avoid name-clash with global `top-level'.
7236
336b5a56
GM
7237 * eshell/esh-proc.el (eshell-kill-process-function):
7238 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7239 (eshell-reset-after-proc): Remove unused arg `proc'.
7240
57a3a53d
GM
7241 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7242 (directory-files-and-attributes): Mark unused arg.
7243
3261d4af
GM
7244 * eshell/em-unix.el (eshell-remove-entries):
7245 Remove unused arg `path'. Update callers.
7246
8e51b5d0
GM
7247 * eshell/em-hist.el (eshell-hist-parse-arguments):
7248 Remove unused arg `silent'. Update callers.
7249
ce503312
GM
7250 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7251 Fix (f)boundp mix-up.
7252
7253 * eshell/em-smart.el (eshell-smart-scroll-window)
7254 (eshell-disable-after-change):
336b5a56 7255 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 7256
ee3ce8a7
AM
72572013-09-18 Alan Mackenzie <acm@muc.de>
7258
7259 Fix fontification of type when followed by "const".
7260 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7261 "known" types from fontification.
7262
ec9177ba
GM
72632013-09-18 Glenn Morris <rgm@gnu.org>
7264
7bb3e768
GM
7265 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7266 (chart-face-list): Drop Emacsen without display-color-p.
7267
5148da15
GM
7268 * net/eww.el (libxml-parse-html-region): Declare.
7269 (eww-display-html): Explicit error if no libxml2 support.
7270
2f68e157
GM
7271 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7272
9019d095
GM
7273 * image.el (image-type-from-buffer, image-multi-frame-p):
7274 Remove --without-x warning/error.
67645389 7275
5f30349b 7276 * mouse.el (mouse-yank-primary):
45069b2e 7277 * term.el (term-mouse-paste):
5f30349b
GM
7278 Reorder to silence --without-x compilation.
7279
cd8edbbe
GM
7280 * mpc.el (doc-view-mode): Silence --without-x compilation.
7281
8a78544e
GM
7282 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7283 Silence --without-x compilation.
7284
12679bfd
GM
7285 * progmodes/gud.el (gud-find-file, gud-mode):
7286 Silence --without-x compilation.
7287 (tooltip-mode): Declare.
30810a05 7288
f0047cb9
GM
7289 * wdired.el (dired-backup-overwrite): Remove declaration.
7290 (wdired-mode-map): Add doc string.
7291
e740f9d2
GM
7292 * custom.el (x-get-resource): Declare.
7293
92d77c89
GM
7294 * eshell/em-glob.el (ange-cache):
7295 * eshell/em-unix.el (ange-cache): Declare.
7296
76e69577
GM
7297 * faces.el (x-display-list, x-open-connection, x-get-resource):
7298 Declare.
7e58af4b
GM
7299
7300 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7301 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7302 Declare.
76e69577 7303
4bd4c0af 7304 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 7305
ffb82dbd
GM
7306 * net/gnutls.el (gnutls-log-level): Declare.
7307
986ed135
GM
7308 * net/shr.el (image-size, image-animate): Declare.
7309
e740f9d2
GM
7310 * simple.el (font-info): Declare.
7311
d2f3e9f8
GM
7312 * subr.el (x-popup-dialog): Declare.
7313
047a1a4c
GM
7314 * term/common-win.el (x-select-enable-primary)
7315 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7316 Declare.
7317
f4a1d572
GM
7318 * term/ns-win.el (x-handle-args): Declare.
7319
e843de77
GM
7320 * term/x-win.el (x-select-enable-clipboard): Declare.
7321
5fa89513
GM
7322 * term/w32-win.el (create-default-fontset): Declare.
7323
38702b5b
GM
7324 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7325 Declare.
7326
e740f9d2
GM
7327 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7328 (fit-frame-to-buffer): Explicit error if --without-x.
7329 (mouse-autoselect-window-select): Silence compiler.
7330
49a053fc
GM
7331 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7332
7333 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7334 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7335 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 7336 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
7337 Remove unused local variables.
7338
7339 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7340
ec9177ba
GM
7341 * textmodes/two-column.el: Make 2C-split work for --without-x.
7342 (scroll-bar-columns): Autoload.
7343 (top-level): Require fringe when compiling.
7344
9f25cb77
LL
73452013-09-18 Leo Liu <sdl.web@gmail.com>
7346
7347 * subr.el (add-hook): Robustify to handle closure as well.
7348
2b42da98
GM
73492013-09-17 Glenn Morris <rgm@gnu.org>
7350
7351 * simple.el (messages-buffer-mode-map): Unbind "g".
7352
e8b66a6a
SM
73532013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7354
9c0ad4f7
SM
7355 * help-mode.el (help-mode-finish): Use derived-mode-p.
7356 Remove obsolete highlighting.
7357
7a806dfb
SM
7358 * play/life.el (life-mode): Use define-derived-mode. Derive from
7359 special-mode.
7360 (life): Let-bind inhibit-read-only.
7361 (life-setup): Avoid `setq'. Use `life-mode'.
7362
96dbf5a8
SM
7363 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7364 which should not be needed any more.
7365 (package-menu-refresh, package-menu-describe-package): Use user-error.
7366
e8b66a6a
SM
7367 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7368 (eshell-post-rewrite-command-hook): Make obsolete.
7369 (eshell-parse-command): Simplify.
7370 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7371 (eshell--cmd): Declare.
7372 (eshell-parse-pipeline): Remove unused var `final-p'.
7373 Pass a dynvar to eshell-post-rewrite-command-hook.
7374 Implement the new eshell-post-rewrite-command-function.
7375 (eshell-invoke-directly): Remove unused arg `input'.
7376 * eshell/esh-io.el (eshell-io-initialize):
7377 Use eshell-post-rewrite-command-function (bug#15399).
7378 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7379 adjust to new calling convention.
7380 (eshell-create-handles): Rename args to avoid clashing with dynvar
7381 `standard-output'.
7382
90582f05
GM
73832013-09-17 Glenn Morris <rgm@gnu.org>
7384
7385 * simple.el (messages-buffer-mode): New major mode.
7386 (messages-buffer): New function.
7387 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7388 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 7389 (ert-run-test): Use `messages-buffer' function.
90582f05 7390 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
7391 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7392 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 7393
39eb0cb5 73942013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
7395
7396 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7397
1d42e5b6 7398 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 7399
70568a90
SM
74002013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7401
504a0381
SM
7402 * icomplete.el (icomplete-in-buffer): New var.
7403 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7404 vars and replace them with functions.
7405 (icomplete-minibuffer-setup): Adjust accordingly.
7406 (icomplete--completion-table, icomplete--completion-predicate)
7407 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7408 New functions.
7409 (icomplete-forward-completions, icomplete-backward-completions)
7410 (icomplete-simple-completing-p, icomplete-exhibit)
7411 (icomplete-completions): Use them.
7412 (icomplete--in-region-buffer): New var.
7413 (icomplete--in-region-setup): New function.
7414 (icomplete-mode): Use it.
7415
70568a90
SM
7416 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7417 (bug#15379).
7418 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7419 return args and options.
7420 (eshell-eval-using-options): Use the new return value of
7421 eshell--do-opts to set the options's vars in their scope.
7422 (eshell--set-option): Rename from eshell-set-option.
7423 Add arg `opt-vals'.
7424 (eshell--process-option): Rename from eshell-process-option.
7425 Add arg `opt-vals'.
7426 (eshell--process-args): Use an `opt-vals' alist to store the options's
7427 values during their processing and return them additionally to the
7428 remaining args.
7429
578c21bc
DG
74302013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7431
7432 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7433 continuation character an operator, as far as indentation is
7434 concerned (Bug#15369).
7435
c089653d
MR
74362013-09-15 Martin Rudalics <rudalics@gmx.at>
7437
7438 * window.el (window--state-put-2): Don't process buffer state
7439 when buffer doesn't exist any more (Bug#15382).
7440
1e53bb4b
GM
74412013-09-15 Glenn Morris <rgm@gnu.org>
7442
30753242
GM
7443 * eshell/em-unix.el (eshell/rm):
7444 Make -f ignore missing files. (Bug#15373)
7445
1e53bb4b
GM
7446 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7447 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7448 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7449
0d8863b3
GM
74502013-09-14 Glenn Morris <rgm@gnu.org>
7451
7452 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7453
d3fc6549
GM
74542013-09-13 Glenn Morris <rgm@gnu.org>
7455
7456 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7457 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7458
fcd42c11
DA
74592013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7460
7461 * frame.el (x-focus-frame): Mark as declared in frame.c.
7462
7830899f
SM
74632013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * ls-lisp.el: Use advice-add.
7466 (original-insert-directory): Remove.
7467 (ls-lisp--insert-directory): Rename from insert-directory; add
7468 `orig-fun' argument.
7469 (insert-directory): Advise.
7470
84387cd2
EZ
74712013-09-13 Eli Zaretskii <eliz@gnu.org>
7472
7473 * term.el (term-emulate-terminal): Decode the command string
7474 before passing it to term-command-hook. (Bug#15337)
7475
35ffc6ba
GM
74762013-09-13 Glenn Morris <rgm@gnu.org>
7477
5c3f9bcc
GM
7478 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7479
2ada368a
GM
7480 * eshell/esh-ext.el (eshell-search-path): Declare.
7481
fcef2e13
GM
7482 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7483 Otherwise an error occurs if eshell-dirs module not loaded.
7484
35ffc6ba
GM
7485 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7486
35c3d36e
MA
74872013-09-13 Michael Albinus <michael.albinus@gmx.de>
7488
7489 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7490 `tramp-check-proper-host'. Check for a valid method name.
7491
7492 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7493 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7494 * net/tramp-sh.el (tramp-maybe-open-connection):
7495 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7496
7497 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7498 also for hash values.
7499
ae5e4c48
SM
75002013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7501
379add74
SM
7502 * term/ns-win.el (parameters): Don't declare as dynamic.
7503 (before-make-frame-hook): Don't add ineffective function.
7504
ae5e4c48
SM
7505 * eshell/*.el: Use lexical-binding (bug#15231).
7506
b5623270
KH
75072013-09-12 Kenichi Handa <handa@gnu.org>
7508
ae5e4c48 7509 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 7510
30213927
GM
75112013-09-12 Glenn Morris <rgm@gnu.org>
7512
be94d713 7513 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 7514 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 7515
44915370
GM
7516 * subr.el (do-after-load-evaluation): Also give compiler warnings
7517 when obsolete files are used (except by obsolete files).
7518
a6ae021f
GM
7519 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7520 in the status output, assume `filename' is the first. (Bug#15322)
7521
40e64f0c
GM
7522 * vc/vc.el (vc-deduce-fileset): Doc fix.
7523
16d9f896
GM
7524 * calc/calc-help.el (Info-goto-node):
7525 * progmodes/cperl-mode.el (Info-find-node):
7526 * vc/ediff.el (Info-goto-node): Update declarations.
7527
dea01c6e
GM
7528 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7529
759880bf 7530 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
7531 (vc-bzr-pull): Require vc-dispatcher.
7532 * vc/vc-git.el (vc-compilation-mode): Declare.
7533 (vc-git-pull): Require vc-dispatcher.
7534
08d66420
GM
7535 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7536
30b626e9
GM
7537 * progmodes/octave.el (help-button-action): Declare.
7538
8c05cb10
GM
7539 * shell.el (shell-directory-tracker): Output error as a message
7540 rather than just returning it as a string.
7541 (shell-process-pushd): Remove useless use of message.
7542
30213927
GM
7543 * dframe.el (dframe-timer-fn):
7544 * files.el (dir-locals-read-from-file):
7545 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7546 (mpc-format):
7547 * reveal.el (reveal-post-command):
7548 * saveplace.el (load-save-place-alist-from-file):
7549 * shell.el (shell-resync-dirs):
7550 * w32-common-fns.el (x-get-selection-value):
7551 * emacs-lisp/copyright.el (copyright-find-copyright):
7552 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7553 * emulation/tpu-edt.el (tpu-copy-keyfile):
7554 * play/bubbles.el (bubbles--mark-neighbourhood):
7555 * progmodes/executable.el
7556 (executable-make-buffer-file-executable-if-script-p):
7557 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7558
d3b049e6
SM
75592013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7560
170266d0
SM
7561 Cleanup Eshell to rely less on dynamic scoping.
7562 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7563 last-value, and ext-command here. Bind `args' closer to `body'.
7564 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7565 (eshell--args): Declare new dynamic var.
7566 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7567 last-value, and ext-command. Pass `args' to `body'.
7568 (eshell-process-args): Bind eshell--args.
7569 (eshell-set-option): Use eshell--args.
7570 * eshell/eshell.el (eshell): Use derived-mode-p.
7571 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7572 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7573 (eshell-glob-function): Declare.
7574 * eshell/esh-util.el: Require cl-lib.
7575 (eshell-read-hosts-file): Avoid add-to-list.
7576 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7577 `err'.
7578 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7579 Declare.
7580 (eshell/diff): Remove unused var `err'.
7581 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7582 `killflag'.
7583 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7584 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7585 first use.
7586 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7587 Move declaration before first use.
7588 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
7589 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7590 rely on cl-return.
7591
56834f3b
GM
75922013-09-12 Glenn Morris <rgm@gnu.org>
7593
7594 * term/ns-win.el (global-map): Remove binding for ispell-next,
7595 deleted 1999-05-29. (Bug#15357)
7596
5c91a2b8
GM
75972013-09-11 Glenn Morris <rgm@gnu.org>
7598
da712f22
GM
7599 * echistory.el (electric-command-history): Remove call to deleted func.
7600
512e4cdc
GM
7601 * play/landmark.el (landmark-mode): Fix typos.
7602
d3506ca5
GM
7603 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7604 Check cvs-sort-ignore-file is bound.
7605
5c91a2b8
GM
7606 * savehist.el: No need for cl when compiling on Emacs.
7607
feeff482
SM
76082013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7609
656bd483
SM
7610 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7611 (bug#15338).
d3b049e6
SM
7612 (eshell-self-insert-command, eshell-send-invisible):
7613 Remove unused argument.
656bd483
SM
7614 (eshell-handle-control-codes): Remove unused var `orig'.
7615 Avoid delete-backward-char.
7616
feeff482
SM
7617 * files.el (set-auto-mode): Simplify a bit further.
7618
2a08047a
GM
76192013-09-11 Glenn Morris <rgm@gnu.org>
7620
7621 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7622 (set-auto-mode): Don't regexp-quote elements.
7623 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7624 * progmodes/cc-mode.el (interpreter-mode-alist):
7625 * progmodes/ruby-mode.el (interpreter-mode-alist):
7626 Revert previous change.
7627
34675540
SM
76282013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7629
1b3b87df
SM
7630 * play/snake.el (snake-mode):
7631 * play/mpuz.el (mpuz-mode):
7632 * play/landmark.el (lm-mode):
7633 * play/blackbox.el (blackbox-mode):
7634 * play/5x5.el (5x5-mode):
7635 * obsolete/options.el (Edit-options-mode):
7636 * net/quickurl.el (quickurl-list-mode):
7637 * net/newst-treeview.el (newsticker-treeview-mode):
7638 * mail/rmailsum.el (rmail-summary-mode):
7639 * mail/mspools.el (mspools-mode):
7640 * locate.el (locate-mode):
7641 * ibuffer.el (ibuffer-mode):
7642 * emulation/ws-mode.el (wordstar-mode):
7643 * emacs-lisp/debug.el (debugger-mode):
7644 * array.el (array-mode):
7645 * net/eudc.el (eudc-mode): Use define-derived-mode.
7646 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7647 Move initialization into declaration.
7648 (mairix-searches-mode): Use define-derived-mode.
7649 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7650 (eudc-edit-hotlist): Use dolist.
7651 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7652 (Man-mode): Use define-derived-mode.
7653 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7654 (Info-edit-mode): Use define-derived-mode.
7655 (Info-cease-edit): Use Info-mode.
7656 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7657 into declaration.
7658 (eshell-mode): Use define-derived-mode.
7659 * chistory.el (command-history-mode-map): Rename from
7660 command-history-map.
7661 (command-history-mode): Use define-derived-mode.
da712f22 7662 (Command-history-setup): Remove function.
1b3b87df
SM
7663 * calc/calc.el (calc-trail-mode-map): New var.
7664 (calc-trail-mode): Use define-derived-mode.
7665 (calc-trail-buffer): Set calc-main-buffer manually.
7666 * bookmark.el (bookmark-insert-annotation): New function.
7667 (bookmark-edit-annotation): Use it.
7668 (bookmark-edit-annotation-mode): Make it a proper major mode.
7669 (bookmark-send-edited-annotation): Use derived-mode-p.
7670 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7671 closer to its ideal place. Use \' to match EOS.
7672
34675540
SM
7673 * profiler.el (profiler-calltree-find): Use function-equal.
7674
6a5c15d9
GM
76752013-09-10 Glenn Morris <rgm@gnu.org>
7676
1af4c220
GM
7677 * files.el (interpreter-mode-alist): Convert to regexps.
7678 (set-auto-mode): Adapt for this. (Bug#15306)
7679 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7680 Comment out unused variable.
7681 * progmodes/cc-mode.el (interpreter-mode-alist):
7682 * progmodes/python.el (interpreter-mode-alist):
7683 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7684 * progmodes/sh-script.el (sh-set-shell):
7685 No longer use interpreter-mode-alist to get list of shells.
7686
6a5c15d9
GM
7687 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7688
8c27f5ff
SM
76892013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7690
02ef6c1a 7691 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 7692 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
7693 Bind switch-frame explicitly. Replace universal-argument-minus with
7694 a conditional binding.
7695 (universal-argument-num-events, saved-overriding-map): Remove.
7696 (restore-overriding-map): Remove.
7697 (universal-argument--mode): Rename from save&set-overriding-map,
7698 and rewrite.
7699 (universal-argument, universal-argument-more, negative-argument)
7700 (digit-argument): Adjust accordingly.
7701 (universal-argument-minus): Remove.
7702 (universal-argument-other-key): Remove.
7703
8c27f5ff
SM
7704 * subr.el (with-demoted-errors): Add `format' argument.
7705
6480194c
MA
77062013-09-10 Michael Albinus <michael.albinus@gmx.de>
7707
7708 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7709 `tramp-cleanup-connection'.
7710
7711 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7712 parameters KEEP-DEBUG and KEEP-PASSWORD.
7713
7714 * net/tramp.el (tramp-file-name-handler):
7715 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7716 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7717 (tramp-maybe-open-connection):
8c27f5ff
SM
7718 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7719 Use `tramp-cleanup-connection'.
6480194c 7720
8c27f5ff
SM
7721 * net/tramp-sh.el (tramp-maybe-open-connection):
7722 Catch 'uname-changed inside the progress reporter.
6480194c 7723
e5e916d8
GM
77242013-09-10 Glenn Morris <rgm@gnu.org>
7725
9a2c9b47
GM
7726 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7727
e5e916d8
GM
7728 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7729 returns "alternate access method" in mode (eg "-rw-r--r--.").
7730
144e38fe
GM
77312013-09-08 Glenn Morris <rgm@gnu.org>
7732
7733 * saveplace.el (load-save-place-alist-from-file):
7734 Demote errors. (Bug#15305)
7735
af9ff9e8
MA
77362013-09-08 Michael Albinus <michael.albinus@gmx.de>
7737
7738 Improve compatibility with older Emacsen, and XEmacs.
7739
7740 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7741 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
7742 (with-tramp-progress-reporter): Do not let-bind `result'.
7743 This yields to scoping errors in XEmacs.
af9ff9e8
MA
7744 (tramp-handle-make-auto-save-file-name): New function, moved from
7745 tramp-sh.el.
7746
7747 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7748 for `make-auto-save-file-name'.
8c27f5ff
SM
7749 (tramp-adb--gnu-switches-to-ash):
7750 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7751
7752 * net/tramp-cache.el (tramp-cache-print): Call
7753 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7754
7755 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7756 bound. It isn't for XEmacs.
7757
8c27f5ff
SM
7758 * net/tramp-compat.el (tramp-compat-copy-file):
7759 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
7760 (tramp-compat-replace-regexp-in-string): New defun.
7761
7762 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7763 for `make-auto-save-file-name'.
7764 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7765 `copy-file'.
7766 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7767 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7768 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7769
8c27f5ff
SM
7770 * net/tramp-gw.el (tramp-gw-open-network-stream):
7771 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 7772
8c27f5ff
SM
7773 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7774 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
7775 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7776 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
7777 (tramp-sh-file-inotifywait-process-filter):
7778 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7779 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7780
7781 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7782 for `make-auto-save-file-name'.
8c27f5ff
SM
7783 (tramp-smb-handle-copy-directory):
7784 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7785 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7786 (tramp-smb-handle-copy-file): Improve error message.
7787 (tramp-smb-handle-rename-file): Rename directly only in case
7788 `newname' does not exist yet. This is a restriction of smbclient.
7789 (tramp-smb-maybe-open-connection): Rerun the function only when
7790 `auth-sources' is non-nil.
7791
0ca754d0
KH
77922013-09-08 Kenichi Handa <handa@gnu.org>
7793
e0eb0550 7794 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
7795 more characters.
7796
e8dd0787
AM
77972013-09-07 Alan Mackenzie <acm@muc.de>
7798
7799 Correctly fontify Java class constructors.
7800 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7801 in Java Mode.
7802 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
7803 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7804 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
7805 "typeless" declaration there.
7806
f2f248e7
RW
78072013-09-07 Roland Winkler <winkler@gnu.org>
7808
7809 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7810 field subtitle for entry type book.
7811
67982e2b
SM
78122013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7813
7814 * minibuffer.el: Make minibuffer-complete call completion-in-region
7815 rather than other way around.
7816 (completion--some, completion-pcm--find-all-completions):
7817 Don't delay signals when debugging.
7818 (minibuffer-completion-contents): Beware fields within the
7819 minibuffer contents.
7820 (completion-all-sorted-completions): Use defvar-local.
7821 (completion--do-completion, completion--cache-all-sorted-completions)
7822 (completion-all-sorted-completions, minibuffer-force-complete):
7823 Add args `beg' and `end'.
7824 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7825 (minibuffer-complete): Use completion-in-region.
7826 (completion-complete-and-exit): New fun, extracted from
7827 minibuffer-complete-and-exit.
7828 (minibuffer-complete-and-exit): Use it.
7829 (completion--complete-and-exit): Rename from
7830 minibuffer--complete-and-exit.
7831 (completion-in-region--single-word): New function, extracted from
7832 minibuffer-complete-word.
7833 (minibuffer-complete-word): Use it.
7834 (display-completion-list): Make `common-substring' argument obsolete.
7835 (completion--in-region): Call completion--in-region-1 instead of
7836 minibuffer-complete.
7837 (completion-help-at-point): Pass boundaries to
7838 minibuffer-completion-help as args rather than via an overlay.
7839 (completion-pcm--string->pattern): Use `any-delim'.
7840 (completion-pcm--optimize-pattern): New function.
7841 (completion-pcm--pattern->regex): Handle `any-delim'.
7842 * icomplete.el (icomplete-forward-completions)
7843 (icomplete-backward-completions, icomplete-completions):
7844 Adjust calls to completion-all-sorted-completions and
7845 completion--cache-all-sorted-completions.
7846 (icomplete-with-completion-tables): Default to t.
7847 * emacs-lisp/crm.el (crm--current-element): Rename from
7848 crm--select-current-element. Don't put an overlay but return the
7849 boundaries instead.
7850 (crm--completion-command): Take two new args to bind to the boundaries.
7851 (crm-completion-help): Adjust accordingly.
7852 (crm-complete): Use completion-in-region.
7853 (crm-complete-word): Use completion-in-region--single-word.
7854 (crm-complete-and-exit): Use completion-complete-and-exit.
7855
e17d94a5
SM
78562013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7857
7858 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7859 than dynamically.
7860
96727100
JL
78612013-09-06 Juri Linkov <juri@jurta.org>
7862
7863 * info.el (Info-display-images-node): When image file doesn't exist
7864 display text version of the image if it's provided in the Info file.
7865 Otherwise, display the location of missing image from SRC attribute.
7866 Add help-echo text property from ALT attribute. (Bug#15279)
7867
86cf7329
SM
78682013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7871 (edit-abbrevs-mode): Use define-derived-mode.
7872
7873 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7874 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7875 that it's defined.
7876 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7877 Use define-derived-mode.
7878
7879 * epg.el (epg-start-encrypt): Minor CSE simplification.
7880
816244a2
WX
78812013-09-06 William Xu <william.xwl@gmail.com>
7882
7883 * arc-mode.el: Add support for 7za (bug#15264).
7884 (archive-7z-program): New var.
7885 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7886 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7887 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7888
1486fa31
MA
78892013-09-06 Michael Albinus <michael.albinus@gmx.de>
7890
7891 Remove URL syntax.
7892
7893 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7894 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7895 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7896 (tramp-postfix-host-format, tramp-file-name-regexp)
7897 (tramp-completion-file-name-regexp)
7898 (tramp-completion-dissect-file-name)
7899 (tramp-handle-substitute-in-file-name): Remove 'url case.
7900 (tramp-file-name-regexp-url)
7901 (tramp-completion-file-name-regexp-url): Remove constants.
7902
39785324
GM
79032013-09-06 Glenn Morris <rgm@gnu.org>
7904
7905 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7906
1f896cb7
DG
79072013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7908
7909 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7910 keywords" below "here-doc beginnings" (Bug#15270).
7911
c0458e0b
SM
79122013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7913
7914 * subr.el (pop): Use `car-safe'.
7915 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7916 to detect unused `pop' return value.
7917
7918 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7919 var `block-regexp'.
7920 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7921 (python-fill-string): Remove unused var `marker'.
7922 (python-skeleton-add-menu-items): Remove unused var `items'.
7923
7924 * international/mule-cmds.el: Require CL.
7925 (find-coding-systems-for-charsets): Avoid add-to-list.
7926 (sanitize-coding-system-list): New function, extracted from
7927 select-safe-coding-system-interactively.
7928 (select-safe-coding-system-interactively): Use it.
7929 (read-input-method-name): Accept symbols for `default'.
7930
7931 * emacs-lisp/advice.el (defadvice): Add indent rule.
7932
6c42fc3e
DH
79332013-09-05 Daniel Hackney <dan@haxney.org>
7934
7935 * dired-x.el:
7936 * net/ange-ftp.el:
7937 * net/browse-url.el:
7938 * net/dbus.el:
7939 * net/eudc.el:
7940 * net/eudcb-ldap.el:
7941 * net/eww.el:
7942 * net/imap.el:
7943 * printing.el:
7944 * vc/ediff-diff.el:
7945 * vc/ediff-init.el:
7946 * vc/ediff-merg.el:
7947 * vc/ediff-mult.el:
7948 * vc/ediff-util.el:
7949 * vc/ediff-wind.el:
7950 * vc/ediff.el:
7951 * vc/emerge.el:
7952 * vc/pcvs.el:
7953 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7954 byte compiler. Remove some unused let-bound variables.
7955
4c528aab
SM
79562013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7957
7958 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7959 a "ref-cell", since it gets better optimized (bug#14883).
7960
bd15c390
GM
79612013-09-05 Glenn Morris <rgm@gnu.org>
7962
7963 * progmodes/cc-awk.el (c-forward-sws): Declare.
7964
1c3ac2e5
GM
79652013-09-04 Glenn Morris <rgm@gnu.org>
7966
7967 * generic-x.el [rul-generic-mode]: Require cc-mode.
7968 (c++-mode-syntax-table): Declare.
7969 (rul-generic-mode-syntax-table): Init in the defvar.
7970
52b1cc79
SM
79712013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7972
c828af56
SM
7973 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7974 (vc-do-command, vc-set-async-update):
7975 * vc/vc-mtn.el (vc-mtn-dir-status):
7976 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7977 (vc-hg-pull, vc-hg-merge-branch):
7978 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7979 (vc-git-merge-branch):
7980 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7981 (vc-cvs-dir-status-files):
7982 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7983 (vc-bzr-dir-status-files):
7984 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7985 * vc/vc-annotate.el: Use lexical-binding.
7986 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7987 (vc-sentinel-movepoint): Declare.
7988 (vc-annotate): Don't use `goto-line'.
7989 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7990 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7991 (vc-sentinel-movepoint): Declare.
7992 * vc/vc-svn.el: Use lexical-binding.
7993 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7994 * vc/vc-sccs.el:
7995 * vc/vc-rcs.el: Use lexical-binding.
7996
abae272c
SM
7997 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7998 `deleted'. Don't drop errors silently.
7999
52b1cc79
SM
8000 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8001
63191d9f
XF
80022013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8003
8004 * vc/vc.el (vc-ignore): Rewrite.
8005 (vc-default-ignore): New function.
8006 (vc-default-ignore-completion-table): Use find-ignore-file.
8007
8008 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8009 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8010 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8011 Remove. Most code moved to vc.el.
8012
9d3f707c
SM
80132013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8014
abae272c 8015 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
8016 * net/tramp-smb.el (tramp-smb-get-file-entries):
8017 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8018 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8019
fde38d49
SM
8020 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8021 Update call to it.
8022 (eww-change-select): Remove unused var `properties'.
8023 (eww-make-unique-file-name): Remove unused var `base'.
8024
8025 * finder.el (finder-compile-keywords): Don't mess with windows.
8026
84032db7
SM
8027 * calculator.el (calculator-funcall): Fix typo in last change.
8028
724f5e41
SM
8029 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8030
14b511d4
SM
8031 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8032 <pkg>-autoloads.el file stop us.
8033
9d3f707c 8034 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 8035 warnings, and factor out common code.
9d3f707c 8036
88527bc0
DG
80372013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8038
8039 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8040 two-character operators and whether the character preceding them
8041 changes their meaning (Bug#15208).
8042
96edb677
FEG
80432013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8044
8045 Format code sent to Python shell for robustness.
9d3f707c
SM
8046 * progmodes/python.el (python-shell-buffer-substring):
8047 New function.
96edb677
FEG
8048 (python-shell-send-region, python-shell-send-buffer): Use it.
8049
95beaef3
MA
80502013-09-02 Michael Albinus <michael.albinus@gmx.de>
8051
8052 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8053 * net/tramp.el (tramp-user-error): ... here.
8054 (tramp-find-method, tramp-check-proper-host)
8055 (tramp-dissect-file-name, tramp-debug-message)
8056 (tramp-handle-shell-command):
8057 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8058 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8059
8060 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8061
f167c27b
MR
80622013-09-02 Martin Rudalics <rudalics@gmx.at>
8063
8064 * avoid.el (mouse-avoidance-point-position)
8065 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8066 returns nil.
8067
cd16c5f1
FEG
80682013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8069
8070 * progmodes/python.el (python-shell-completion-get-completions):
8071 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 8072 (python-nav-if-name-main): New command.
cd16c5f1 8073
e73c3a0d
GM
80742013-09-01 Glenn Morris <rgm@gnu.org>
8075
f8ccce03
GM
8076 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8077 Avoid leading space in $wins. Otherwise the sed command used by
8078 eg compile-main ends up containing "/*.el". (Bug#15170)
8079
e73c3a0d
GM
8080 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8081
415f808e
GM
80822013-08-30 Glenn Morris <rgm@gnu.org>
8083
8084 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8085 Fix is-this-a-directory logic. (Bug#15220)
8086
f069bba8
SM
80872013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8088
112798c1
SM
8089 * textmodes/css-mode.el: Use SMIE.
8090 (css-smie-grammar): New var.
8091 (css-smie--forward-token, css-smie--backward-token)
8092 (css-smie-rules): New functions.
8093 (css-mode): Use them.
8094 (css-navigation-syntax-table): Remove var.
8095 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8096 (css-indent-calculate, css-indent-line): Remove functions.
8097
8098 Misc changes to reduce use of `(lambda...); and other cleanups.
8099 * cus-edit.el: Use lexical-binding.
8100 (customize-push-and-save, customize-apropos)
8101 (custom-buffer-create-internal): Use closures.
8102 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8103 * progmodes/ada-xref.el: Use setq.
8104 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8105 * dframe.el: Use lexical-binding.
8106 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8107 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8108 * descr-text.el: Use lexical-binding.
8109 (describe-text-widget, describe-text-sexp, describe-property-list):
8110 Use closures.
8111 * comint.el (comint-history-isearch-push-state): Use a closure.
8112 * calculator.el: Use lexical-binding.
8113 (calculator-number-to-string): Make it work with lexical-binding.
8114 (calculator-funcall): Same and use cl-letf.
8115
2da4c3ab
SM
8116 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8117 (lisp--company-doc-string, lisp--company-location): New functions.
8118 (lisp-completion-at-point): Use them to improve Company support.
8119
f069bba8
SM
8120 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8121 params of lambda expressions.
8122 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8123 (ruby-smie--opening-pipe-p): New function.
8124 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8125 symbols and matched |...| for formal params.
8126 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8127 from being treated as hanging. Handle "rescue".
8128
6758b6a8
GM
81292013-08-29 Glenn Morris <rgm@gnu.org>
8130
8131 * progmodes/cc-engine.el (c-pull-open-brace):
8132 Move definition before use.
8133
e8dfd197
SM
81342013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8135
8136 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8137 are immutable. Don't use `unsafe' any more.
8138 (cl--defsubst-expand): Don't substitute at the same time as keeping
8139 a residual unused let-binding. Don't use `unsafe' any more.
8140
cc585c96
GM
81412013-08-29 Glenn Morris <rgm@gnu.org>
8142
ba579ea6
GM
8143 * calendar/cal-china.el (calendar-chinese-year-cache):
8144 Recenter on 2015.
8145
8201a87e
GM
8146 * nxml/nxml-util.el (nxml-debug-clear-inside):
8147 Use cl-loop rather than loop.
8148
6ee877c7
GM
8149 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8150
cc585c96
GM
8151 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8152
27be8d39
GM
81532013-08-28 Glenn Morris <rgm@gnu.org>
8154
397440a1
GM
8155 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8156
2bb762d4
GM
8157 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8158
27be8d39
GM
8159 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8160
2d69b99e
SM
81612013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8162
f663baa7
SM
8163 * simple.el (repeat-complex-command--called-interactively-skip):
8164 New function.
8165 (repeat-complex-command): Use it (bug#14136).
8166
dd4f8b74
SM
8167 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8168 (c-define-abbrev-table): Add `doc' argument.
8169 (c-mode-abbrev-table, c++-mode-abbrev-table)
8170 (objc-mode-abbrev-table, java-mode-abbrev-table)
8171 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8172 (awk-mode-abbrev-table): Use it.
8173 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8174 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8175 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8176 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8177 Move initialization into the declaration; and remove any
8178 autoload cookie.
8179
b58969f7
SM
8180 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8181 and dynamic let binding.
8182
4021d6a6
SM
8183 * vc/smerge-mode.el: Remove redundant :group args.
8184
2d69b99e
SM
8185 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8186 to load-path.
8187
274919fd
JL
81882013-08-28 Juri Linkov <juri@jurta.org>
8189
8190 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8191 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8192 (isearch-other-meta-char): Handle an undefined shifted printing
8193 character by downshifting it. (Bug#15200)
8194
121f8c95
JL
81952013-08-28 Juri Linkov <juri@jurta.org>
8196
8197 * isearch.el (isearch-search): Change regexp error message for
8198 non-regexp searches. (Bug#15166)
8199
50b13cde
PE
82002013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8201
8202 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8203 for portability to hosts where /bin/sh has problems.
8204
95888bca
SM
82052013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8208
bbe558f1
JL
82092013-08-27 Juri Linkov <juri@jurta.org>
8210
8211 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8212 in the keyboard macro. (Bug#15126)
8213
26f98a7d
JL
82142013-08-27 Juri Linkov <juri@jurta.org>
8215
8216 * isearch.el (isearch-quote-char): Comment out converting unibyte
8217 to multibyte, thus syncing with its `quoted-insert' counterpart.
8218 (Bug#15166)
8219
7c97d35e
MR
82202013-08-27 Martin Rudalics <rudalics@gmx.at>
8221
8222 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
8223 argument in call of get-largest-window (Bug#15185).
8224 Reported by Stephen Leake.
7c97d35e 8225
a0b5606e 82262013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
8227
8228 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8229
9e89d835
SM
82302013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8233 from a matcher-function unless there's no more matches (bug#15161).
8234
78fc2530
MA
82352013-08-26 Michael Albinus <michael.albinus@gmx.de>
8236
8237 * minibuffer.el: Revert change from 2013-08-20.
8238
8239 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8240 with text property `tramp-default', if appropriate.
8241 (tramp-check-proper-host): New defun.
8242 (tramp-dissect-file-name): Do not check hostname. Revert change
8243 of 2013-03-18.
8244 (tramp-backtrace): Make VEC-OR-PROC optional.
8245
8246 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8247 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8248 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
8249 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8250 Apply `tramp-check-proper-host'.
78fc2530 8251
edca97cd
TH
82522013-08-26 Tassilo Horn <tsdh@gnu.org>
8253
8254 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8255 lambda expression in order to have `describe-variable' display it.
8256
df54bcbd
MA
82572013-08-26 Michael Albinus <michael.albinus@gmx.de>
8258
8259 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8260 BUF can be optional. (Bug#15186)
8261
eed99101
XF
82622013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8263
8264 * progmodes/flymake.el (flymake-get-real-file-name-function):
8265 Fix broken customization. (Bug#15184)
8266
b5eb9035
AM
82672013-08-25 Alan Mackenzie <acm@muc.de>
8268
8a51e842
AM
8269 Improve indentation of bracelists defined by macros (without "=").
8270
8271 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8272 expansion begins with "{", regard it as bracelist when it doesn't
8273 contain a ";".
8274
869455d4
AM
8275 Parse C++ inher-intro when there's a template split over 2 lines.
8276
8277 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8278 rigorously the search for "class" etc. followed by ":".
8279
8280 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8281 random languages a regexp which never matches rather than nil.
8282
b5eb9035
AM
8283 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8284
8285 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8286 (c-awk-regexp-one-line-possibly-open-char-list-re)
8287 (c-awk-one-line-possibly-open-regexp-re)
8288 (c-awk-one-line-non-syn-ws*-re): Remove.
8289 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8290 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8291 (c-awk-space*-unclosed-regexp-/-re): New constants.
8292 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8293 aren't regexp delimiters.
8294
8295 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8296 handling for a rare situation in AWK Mode involving unterminated
8297 strings/regexps.
8298
61611d54
GM
82992013-08-23 Glenn Morris <rgm@gnu.org>
8300
2d85dc34
GM
8301 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8302
cb8d2612
GM
8303 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8304
bb35f42f
GM
8305 * files.el (create-file-buffer): If the result would begin with
8306 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 8307
b9808e77
SM
83082013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8309
e3a66363
SM
8310 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8311 text-properties (bug#15155).
8312
b9808e77
SM
8313 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8314 exist any more.
8315 (calc-keypad-redraw): Remove unused var `pad'.
8316 (calc-keypad-press): Remove unused var `menu'.
8317
7fd5f65e
MR
83182013-08-23 Martin Rudalics <rudalics@gmx.at>
8319
b9808e77
SM
8320 * window.el (display-buffer-pop-up-frame):
8321 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
8322 use it as the new frame's buffer (Bug#15133).
8323
8352b530
SM
83242013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8325
8326 * calendar/timeclock.el: Minor cleanups.
8327 (timeclock-ask-before-exiting, timeclock-use-display-time):
8328 Use `symbol'.
8329 (timeclock-modeline-display): Define as alias before the
8330 actual definition.
8331 (timeclock-mode-line-display): Use define-minor-mode.
8332 (timeclock-day-list-template): Make it a function, add an argument.
8333 (timeclock-day-list-required, timeclock-day-list-length)
8334 (timeclock-day-list-debt, timeclock-day-list-span)
8335 (timeclock-day-list-break): Adjust calls accordingly.
8336
9f7b1925
SM
83372013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8338
8339 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8340 Use read--expression so that completion works again.
8341
6e50e983
SS
83422013-08-21 Sam Steingold <sds@gnu.org>
8343
8344 Add rudimentary inferior shell interaction
8345 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8346 (sh-set-shell): Reset it.
9f7b1925
SM
8347 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8348 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 8349
dbb0d350
SM
83502013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8351
8352 * align.el: Use lexical-binding.
8353 (align-region): Simplify accordingly.
8354
c88586a9
MA
83552013-08-20 Michael Albinus <michael.albinus@gmx.de>
8356
8357 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8358
8359 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8360 `non-essential' up.
8361
f95527c8
MA
83622013-08-17 Michael Albinus <michael.albinus@gmx.de>
8363
8364 * net/tramp.el:
8365 * net/tramp-adb.el:
8366 * net/tramp-cmds.el:
8367 * net/tramp-ftp.el:
8368 * net/tramp-gvfs.el:
8369 * net/tramp-gw.el:
8370 * net/tramp-sh.el: Don't wrap external variable declarations by
8371 `eval-when-compile'.
8372
4b5fe4ee
LMI
83732013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8374
8375 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8376 now that Emacs supports ImageMagick animations.
8377
13c366c9
MA
83782013-08-16 Michael Albinus <michael.albinus@gmx.de>
8379
8380 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8381 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8382
3dfc5cd6
MR
83832013-08-16 Martin Rudalics <rudalics@gmx.at>
8384
8385 * window.el (mouse-autoselect-window-select): Do autoselect when
8386 mouse pointer is on margin.
8387
4bbb4381
WP
83882013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8389
8390 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8391
3a2ddc2d
GM
83922013-08-16 Glenn Morris <rgm@gnu.org>
8393
e8bedf5a
GM
8394 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8395 Handle "Remote Directory" response of some clients. (Bug#15058)
8396
58c4682f
GM
8397 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8398 Tweak warning. (Bug#14926)
8399
57953f49
GM
8400 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8401 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8402
3a2ddc2d
GM
8403 * image-mode.el (image-mode-map): Add menu items to reverse,
8404 increase, decrease, reset animation speed.
8405 (image--set-speed, image-increase-speed, image-decrease-speed)
8406 (image-reverse-speed, image-reset-speed): New functions.
8407 (image-mode-map): Add bindings for speed commands.
8408
8409 * image.el (image-animate-get-speed, image-animate-set-speed):
8410 New functions.
8411 (image-animate-timeout): Respect image :speed property.
8412
10fa0ed3
SM
84132013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8414
8415 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8416 previous line (bug#15101).
8417 (debugger-eval-expression, debugger-record-expression):
8418 Use read--expression (bug#15102).
8419
5d89d9d2
MA
84202013-08-15 Michael Albinus <michael.albinus@gmx.de>
8421
8422 Remove byte compiler warnings, visible when compiling with
8423 `byte-compile-force-lexical-warnings' set to t.
8424
8425 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8426 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8427 (tramp-handle-unhandled-file-name-directory)
8428 (tramp-handle-file-notify-add-watch, tramp-action-login)
8429 (tramp-action-succeed, tramp-action-permission-denied)
8430 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8431 arguments with "_".
8432
8433 * net/tramp-adb.el (tramp-adb-parse-device-names)
8434 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8435 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8436 (tramp-adb-handle-file-truename): Remove unused arguments.
8437
8438 * net/tramp-cache.el (tramp-flush-directory-property)
8439 (tramp-flush-connection-property, tramp-list-connections)
8440 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8441
10fa0ed3
SM
8442 * net/tramp-compat.el (tramp-compat-make-temp-file):
8443 Rename FILENAME to F.
5d89d9d2
MA
8444
8445 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8446 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8447 (tramp-zeroconf-parse-workstation-device-names)
8448 (tramp-zeroconf-parse-webdav-device-names)
8449 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8450
8451 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8452 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8453
8454 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8455 arguments.
8456 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8457 (tramp-sh-handle-insert-file-contents-literally)
8458 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8459 with "_".
8460 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8461 Remove unused variables.
8462
8463 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8464 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8465 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8466
8467 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8468 Make them a defconst.
8469 (tramp-uuencode-region): Remove unused variable.
8470
62f33bae
JB
84712013-08-14 Juanma Barranquero <lekktu@gmail.com>
8472
8473 * frameset.el (frameset--prop-setter): New function.
8474 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
8475 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8476 parameter was already set in FILTERED. Doc fix.
8477 (frameset--record-minibuffer-relationships): Allow saving a
8478 minibufferless frame without its corresponding minibuffer frame.
8479 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8480 frame, if the frame id matches.
8481 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8482 frames before orphaned ones.
8483 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 8484
c660a885
MR
84852013-08-14 Martin Rudalics <rudalics@gmx.at>
8486
8487 * window.el (window-make-atom): Don't overwrite parameter
8488 already present.
8489 (display-buffer-in-atom-window): Handle special case where we
8490 split an already atomic window.
8491 (window--major-non-side-window, display-buffer-in-side-window)
8492 (window--side-check): Ignore minibuffer window when walking
8493 window tree.
8494 (window-deletable-p): Return 'frame only if no other frame uses
8495 our minibuffer window.
8496 (record-window-buffer): Run buffer-list-update-hook.
8497 (split-window): Make sure window--check-frame won't destroy an
8498 existing atomic window in case the new window gets nested
8499 inside.
8500 (display-buffer-at-bottom): Ignore minibuffer window when
8501 walking window tree. Don't split a side window.
8502 (pop-to-buffer): Don't set-buffer here, the select-window call
8503 should do that.
8504 (mouse-autoselect-window-select): Autoselect only if we are in the
8505 text portion of the window.
8506
8259030d
LMI
85072013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8508
21c58ae2
LMI
8509 * net/shr.el (shr-parse-image-data): New function to grab both the
8510 data itself and the Content-Type.
8511 (shr-put-image): Use it.
8512
8513 * net/eww.el (eww-display-image): Ditto.
8514
8259030d
LMI
8515 * image.el (image-content-type-suffixes): New variable.
8516
ad756449
FEG
85172013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8518
8519 * progmodes/python.el (python-imenu--build-tree)
8520 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8521
f73f4ce6
XF
85222013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8523
8524 * simple.el (backward-word): Mention the optional argument.
8525
1f585e65
SM
85262013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * frameset.el (frameset--make): Rename constructor from make-frameset.
8529 (frameset-p, frameset-valid-p): Don't autoload.
8530 (frameset-valid-p): Use normal accessors.
8531
af1c6c84
GM
85322013-08-13 Glenn Morris <rgm@gnu.org>
8533
55e47f95
GM
8534 * progmodes/compile.el (compile-command): Tweak example in doc.
8535 * obsolete/scribe.el (scribe-mode):
8536 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8537
f0024d8c
GM
8538 * mail/feedmail.el (feedmail-confirm-outgoing)
8539 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8540
8541 * cus-start.el (truncate-partial-width-windows): Fix type.
8542
8543 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8544
af1c6c84
GM
8545 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8546
5514cc4c
SM
85472013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8548
8549 * emacs-lisp/timer.el (timer--time-setter): New function.
8550 (timer--time): Use it as gv-setter.
8551
8552 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8553 setter is not a symbol.
8554
7997a2f1
GJ
85552013-08-12 Grégoire Jadi <daimrod@gmail.com>
8556
8557 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8558 if sending fails. This makes debugging easier.
8559
01f1a9ab
JB
85602013-08-12 Juanma Barranquero <lekktu@gmail.com>
8561
8562 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8563 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8564 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8565
594a4307
EZ
85662013-08-12 Eli Zaretskii <eliz@gnu.org>
8567
8568 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8569
7a22490f 85702013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
8571
8572 * format.el (format-annotate-function):
8573 Handle read-only text properties in the source. (Bug#14887)
8574
3e41a054
LMI
85752013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8576
5514cc4c
SM
8577 * net/eww.el (eww-display-html): Ignore coding system errors.
8578 One web site uses "utf-8lias" as the coding system.
3e41a054 8579
7ec326db
JB
85802013-08-11 Juanma Barranquero <lekktu@gmail.com>
8581
8582 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8583
5660113b
JB
85842013-08-10 Juanma Barranquero <lekktu@gmail.com>
8585
9a4ebc74
JB
8586 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8587 (tutorial--detailed-help): Remove unused local variables.
8588 (tutorial--save-tutorial-to): Use ignore-errors.
8589 (help-with-tutorial): Use looking-at-p.
8590
8591 * view.el (view-buffer-other-window, view-buffer-other-frame):
8592 Mark unused arguments.
8593
8594 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8595 (woman-select-symbol-fonts, woman, woman-find-file)
8596 (woman-insert-file-contents, woman-non-underline-faces):
8597 Use string-match-p.
8598 (woman1-unquote): Move declaration.
8599
8600 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8601 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8602 argument. Remove unused local variable.
8603 (xml-parse-elem-type): Use string-match-p.
8604 (xml-substitute-numeric-entities): Use ignore-errors.
8605
45fdb482
JB
8606 * calculator.el (calculator): Mark unused argument.
8607 (calculator-paste, calculator-quit, calculator-integer-p):
8608 Use ignore-errors.
8609 (calculator-string-to-number, calculator-decimal, calculator-exp)
8610 (calculator-op-or-exp): Use string-match-p.
8611
8612 * dired.el (dired-buffer-more-recently-used-p): Declare.
8613 (dired-insert-set-properties, dired-insert-old-subdirs):
8614 Use ignore-errors.
8615
8616 * dired-aux.el (dired-compress): Use ignore-errors.
8617 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8618 (dired-do-async-shell-command, dired-do-shell-command)
8619 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8620 (dired-insert-subdir-validate): Use string-match-p.
8621 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8622 (dired-add-entry): Use string-match-p, looking-at-p.
8623 (dired-insert-subdir-newpos): Remove unused local variable.
8624
8625 * filenotify.el (file-notify-callback): Remove unused local variable.
8626
8627 * filesets.el (filesets-error): Mark unused argument.
8628 (filesets-which-command-p, filesets-filter-dir-names)
8629 (filesets-directory-files, filesets-get-external-viewer)
8630 (filesets-ingroup-get-data): Use string-match-p.
8631
8632 * find-file.el (ff-other-file-name, ff-other-file-name)
8633 (ff-find-the-other-file, ff-cc-hh-converter):
8634 Remove unused local variables.
8635 (ff-get-file-name): Use string-match-p.
8636 (ff-all-dirs-under): Use ignore-errors.
8637
8638 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8639 (follow-select-if-visible): Remove unused local variable.
8640
8641 * forms.el (read-file-filter): Move declaration.
8642 (forms--make-format, forms--make-parser, forms-insert-record):
8643 Quote function with #'.
8644 (forms--update): Use string-match-p. Quote function with #'.
8645
8646 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8647 (help-make-xrefs): Use looking-at-p.
8648 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8649
8650 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8651 (ibuffer-confirm-operation-on): Use string-match-p.
8652
8653 * msb.el (msb-item-handler, msb-dired-item-handler):
8654 Mark unused arguments.
8655
8656 * ses.el (ses-decode-cell-symbol)
8657 (ses-kill-override): Remove unused local variable.
8658 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8659 (ses-load): Use ignore-errors, looking-at-p.
8660 (ses-jump-safe): Use ignore-errors.
8661 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8662
8663 * tabify.el (untabify, tabify): Mark unused arguments.
8664
8665 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8666 Mark unused argument.
8667 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8668 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8669
c880af52
JB
8670 * emacs-lisp/timer.el (timer--time): Define setter with
8671 gv-define-setter to avoid deprecation warning.
8672
5660113b 8673 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 8674 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
8675 (cmpl-statistics-block): Remove (body was commented out).
8676 All callers changed.
8677 (add-completions-from-buffer, load-completions-from-file):
8678 Remove unused variables.
8679
156aab80
JB
86802013-08-09 Juanma Barranquero <lekktu@gmail.com>
8681
5c5dee78
JB
8682 * filecache.el (file-cache-delete-file-list):
8683 Print message only when told so.
8684 (file-cache-files-matching): Use #' in mapconcat argument.
8685
156aab80
JB
8686 * ffap.el (ffap-url-at-point): Fix reference to variable
8687 thing-at-point-default-mail-uri-scheme.
8688
ad9dcd70
SM
86892013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8690
54bd972f
SM
8691 * subr.el (define-error): New function.
8692 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8693 error-file-not-found and define with define-error.
8694 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8695 and define with define-error.
8696 * userlock.el (file-locked, file-supersession):
8697 * simple.el (mark-inactive):
8698 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8699 * progmodes/ada-mode.el (ada-mode-errors):
8700 * play/life.el (life-extinct):
8701 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8702 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8703 * nxml/rng-util.el (rng-error):
8704 * nxml/rng-uri.el (rng-uri-error):
8705 * nxml/rng-match.el (rng-compile-error):
8706 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8707 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8708 * nxml/nxml-rap.el (nxml-scan-error):
8709 * nxml/nxml-outln.el (nxml-outline-error):
8710 * net/soap-client.el (soap-error):
8711 * net/gnutls.el (gnutls-error):
8712 * net/ange-ftp.el (ftp-error):
8713 * mpc.el (mpc-proc-error):
8714 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8715 (json-number-format, json-string-escape, json-string-format)
8716 (json-key-format, json-object-format):
8717 * jka-compr.el (compression-error):
8718 * international/quail.el (quail-error):
8719 * international/kkc.el (kkc-error):
8720 * emacs-lisp/ert.el (ert-test-failed):
8721 * calc/calc.el (calc-error, inexact-result, math-overflow)
8722 (math-underflow):
8723 * bookmark.el (bookmark-error-no-filename):
8724 * epg.el (epg-error): Define with define-error.
8725
0ea9e53a
SM
8726 * time.el (display-time-event-handler)
8727 (display-time-next-load-average): Don't call sit-for since it seems
8728 unnecessary (bug#15045).
8729
b0429158
SM
8730 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8731 Use #' instead of ' to quote functions.
8732 (checkdoc-output-mode): Use setq-local.
8733 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8734 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8735 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8736 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8737 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8738 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8739 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8740 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8741
ad9dcd70
SM
8742 * ido.el (ido-completion-help): Fix up compiler warning.
8743
77187e6f
JB
87442013-08-09 Juanma Barranquero <lekktu@gmail.com>
8745
8746 * frameset.el (frameset-p): Add autoload cookie.
8747 (frameset--jump-to-register): New function, based on code moved from
8748 register.el.
8749 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8750
8751 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8752 (frameset-restore, frameset-save, frameset-session-filter-alist):
8753 Remove declarations.
8754 (register-alist): Doc fix.
8755 (frameset-to-register): Move to frameset.el.
8756 (jump-to-register, describe-register-1): Remove frameset-specific code.
8757
9d3aa82c
JB
87582013-08-08 Juanma Barranquero <lekktu@gmail.com>
8759
8760 * allout-widgets.el (allout-widgets-pre-command-business)
8761 (allout-widgets-post-command-business)
8762 (allout-widgets-after-change-handler)
8763 (allout-decorate-item-and-context, allout-set-boundary-marker)
8764 (allout-body-modification-handler)
8765 (allout-graphics-modification-handler): Mark ignored arguments.
8766 (allout-widgets-post-command-business)
8767 (allout-widgets-exposure-change-processor)
8768 (allout-widgets-exposure-undo-processor)
8769 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8770 (allout-parse-item-at-point, allout-decorate-item-guides)
8771 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8772 * allout.el (epa-passphrase-callback-function): Declare.
8773 (allout-overlay-insert-in-front-handler)
8774 (allout-overlay-interior-modification-handler)
8775 (allout-isearch-end-handler, allout-chart-siblings)
8776 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8777 (allout-yank-processing, allout-process-exposed)
8778 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 8779 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
8780 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8781 (lisp-indent-defform): Mark ignored arguments.
8782 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8783 (calculate-lisp-indent): Remove unused variables.
8784 * international/characters.el (indian-2-column, arabic-2-column)
8785 (tibetan): Mark ignored arguments.
8786 (use-cjk-char-width-table): Mark ignored arguments.
8787 Remove unused variables.
8788 * international/fontset.el (build-default-fontset-data)
8789 (x-compose-font-name, create-fontset-from-fontset-spec):
8790 Mark ignored arguments.
8791 (fontset-plain-name): Remove unused variables.
8792 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8793 (keyboard-coding-system): Mark ignored arguments.
8794 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8795 * help.el (resize-temp-buffer-window):
8796 * window.el (display-buffer-in-major-side-window)
8797 (display-buffer-in-side-window, display-buffer-in-previous-window):
8798 Remove unused variables.
8799 * isearch.el (isearch-forward-symbol):
8800 * version.el (emacs-bzr-version-bzr):
8801 * international/mule-cmds.el (current-language-environment):
8802 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8803 (x-handle-display):
8804 * term/pc-win.el (x-list-fonts, x-display-planes)
8805 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8806 (x-server-version, x-display-screens, x-display-mm-height)
8807 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8808 (x-selection-owner-p, x-own-selection-internal)
8809 (x-disown-selection-internal, x-get-selection-internal)
8810 (msdos-initialize-window-system):
8811 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8812 * term/x-win.el (x-handle-no-bitmap-icon):
8813 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8814 (vc-default-find-file-hook, vc-default-extra-menu):
8815 Mark ignored arguments.
8816
0ca3f70e
SM
88172013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8820 break-condition in the context of the debugged code (bug#12685).
8821
74c5d24c
CS
88222013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8823
8824 * comint.el:
8825 Do not use an overlay to highlight the last prompt. (Bug#14744)
8826 (comint-mode): Make comint-last-prompt buffer local.
8827 (comint-last-prompt): New variable.
8828 (comint-last-prompt-overlay): Remove. Superseded by
8829 comint-last-prompt.
0ca3f70e
SM
8830 (comint-snapshot-last-prompt, comint-output-filter):
8831 Use comint-last-prompt.
74c5d24c 8832
c03c02ee
JB
88332013-08-08 Juanma Barranquero <lekktu@gmail.com>
8834
a3738d20 8835 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
8836 (frameset-save): Check validity of the resulting frameset.
8837
04263d23
XF
88382013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8839
8840 * ido.el (ido-record-command): Add doc string.
8841
76c5e5ab
JB
88422013-08-08 Juanma Barranquero <lekktu@gmail.com>
8843
8844 * frameset.el (frameset): Do not disable creation of the default
8845 frameset-p predicate. Doc fix.
8846 (frameset-valid-p): New function, copied from the old predicate-p.
8847 Add additional checks.
8848 (frameset-restore): Check with frameset-valid-p.
8849 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8850 (frameset-name, frameset-description, frameset-properties)
8851 (frameset-states): Add docstring.
f9dbf1cb
JB
8852 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8853 (frameset-filter-alist): Doc fixes.
76c5e5ab 8854
bd0c3c0b
JB
88552013-08-08 Juanma Barranquero <lekktu@gmail.com>
8856
8857 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8858
c735544c
SM
88592013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8860
8861 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8862 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8863 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8864 (byte-compile-normal-call): Remove obsolescence check.
8865
2805a651
JB
88662013-08-08 Juanma Barranquero <lekktu@gmail.com>
8867
3677ffeb
JB
8868 * frameset.el (frameset-restore): Doc fix.
8869
2805a651
JB
8870 * register.el (frameset-frame-id, frameset-frame-with-id)
8871 (frameset-p, frameset-restore, frameset-save): Declare.
8872 (register-alist): Document framesets.
8873 (frameset-session-filter-alist): Declare.
8874 (frameset-to-register): New function.
8875 (jump-to-register): Implement jumping to framesets. Doc fix.
8876 (describe-register-1): Describe framesets.
8877
8878 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8879
a912c016
JB
88802013-08-07 Juanma Barranquero <lekktu@gmail.com>
8881
8882 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8883 Use lexical-binding.
8884
8885 * frameset.el (frameset): Use type vector, not list (incompatible
8886 change). Do not declare a new constructor, use the default one.
8887 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8888 `name' and `description', respectively, and add read-only slot
8889 `timestamp'. Doc fixes.
8890 (frameset-copy, frameset-persistent-filter-alist)
8891 (frameset-filter-alist, frameset-switch-to-gui-p)
8892 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8893 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8894 (frameset-filter-iconified, frameset-keep-original-display-p):
8895 Doc fixes.
8896 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8897 Rename from frameset-filter-(save|restore)-param. All callers changed.
8898 Doc fix.
8899 (frameset-p): Adapt to change to vector and be more thorough.
8900 Change arg name to OBJECT. Doc fix.
8901 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8902 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8903 All callers changed.
8904 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8905 All callers changed.
8906 (frameset--record-minibuffer-relationships): Rename from
8907 frameset--process-minibuffer-frames. All callers changed.
8908 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8909 Use new default constructor (again). Doc fix.
c295fc18 8910 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
8911 All callers changed.
8912 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8913 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8914 Doc fix.
8915 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8916 PARAMETERS and WINDOW-STATE, respectively.
8917 (frameset-restore): Add new keyword argument PREDICATE.
8918 Reset frameset--target-display to nil. Doc fix.
8919
bb41480a
SM
89202013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8921
f001e98e
SM
8922 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8923 (bat-mode): Use it.
8924 (bat-mode-syntax-table): Mark \n as end-of-comment.
8925 (bat-font-lock-keywords): Remove comment rule.
8926
7679edb1
SM
8927 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8928 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8929
bb41480a
SM
8930 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8931 (byte-compile-callargs-warn): Use `push'.
8932 (byte-compile-arglist-warn): Ignore higher-order "calls".
8933 (byte-compile-file-form-autoload): Use `pcase'.
8934 (byte-compile-function-form): If quoting a symbol, check that it exists.
8935
cdc1ebb9
EZ
89362013-08-07 Eli Zaretskii <eliz@gnu.org>
8937
8938 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8939 and add a few popular commands found in batch files.
8940 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8941 (dos-mode): Doc fixes.
8942
312b1740
SM
89432013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8944
8945 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8946 (dos-mode): Use setq-local. Add space after "rem".
8947 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8948 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8949
400a3178
AM
89502013-08-07 Arni Magnusson <arnima@hafro.is>
8951
8952 * progmodes/dos.el: New file.
8953 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8954 dos-mode.
8955
3b5c03d3
GM
89562013-08-06 Glenn Morris <rgm@gnu.org>
8957
8958 * calendar/calendar.el: Add new faces, and day-header-array.
8959 (calendar-weekday-header, calendar-weekend-header)
8960 (calendar-month-header): New faces.
8961 (calendar-day-header-construct): New function.
8962 (calendar-day-header-width): Also :set calendar-day-header-array.
8963 (calendar-american-month-header, calendar-european-month-header)
8964 (calendar-iso-month-header): Use calendar- faces.
8965 (calendar-generate-month):
8966 Use calendar-day-header-array for day headers; apply faces to them.
8967 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8968 (calendar-abbrev-construct): Add optional maxlen argument.
8969 (calendar-day-name-array): Doc fix.
8970 (calendar-day-name-array, calendar-abbrev-length)
8971 (calendar-day-abbrev-array):
8972 Also :set calendar-day-header-array, and maybe redraw.
8973 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8974 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8975 (calendar-day-name): Add option to use header array.
8976
ec6a2d7a
LMI
89772013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8978
8979 * net/shr.el (shr-render-td): Remove debugging.
8980 (shr-render-td): Make width computation consistent by defaulting
8981 all zero-width columns to 10 characters. This may not be optimal,
8982 but it's at least consistent.
2122cb6d
LMI
8983 (shr-make-table-1): Redo last change to fix the real problem in
8984 colspan handling.
ec6a2d7a 8985
ed4fd9c5
DA
89862013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8987
0ca3f70e
SM
8988 * files.el (cache-long-line-scans):
8989 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8990
64e22afe
JB
89912013-08-06 Juanma Barranquero <lekktu@gmail.com>
8992
024b38fc
JB
8993 * frameset.el (frameset, frameset-filter-alist)
8994 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8995 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8996 (frameset-compute-pos): Rename from frameset--compute-pos,
8997 and add docstring.
8998 (frameset-move-onscreen): Use frameset-compute-pos.
8999 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9000
64e22afe
JB
9001 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9002 Fix typos in docstrings.
9003
c8c2aca8
DA
90042013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9005
9006 * frame.el (get-other-frame): Tiny cleanup.
9007
1d237bba
JB
90082013-08-06 Juanma Barranquero <lekktu@gmail.com>
9009
8951efef
JB
9010 * vc/vc.el (vc-default-ignore-completion-table):
9011 Silence byte-compiler warning.
9012
307764cc 9013 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 9014 slot, which can indeed be nil.
307764cc
JB
9015 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9016 Move entry for `left' from persistent to live filter alist.
9017 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9018 Doc fixes.
9019 (frameset-filter-params): When restoring a frame, copy items added to
9020 `filtered', to avoid unwittingly modifying the original parameters.
9021 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9022 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9023
1d237bba
JB
9024 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9025 to use looking-at-p instead of looking-at. (Bug#15028)
9026
dc6c0eda
SM
90272013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 Revert introduction of isearch-filter-predicates (bug#14714).
9030 Rely on add-function instead.
9031 * isearch.el (isearch-filter-predicates): Rename it back to
9032 isearch-filter-predicate.
9033 (isearch-message-prefix): Use advice-function-mapc and advice
9034 properties to get the isearch-message-prefix.
9035 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9036 instead of run-hook-with-args-until-failure.
9037 (isearch-filter-visible): Not obsolete any more.
9038 * loadup.el: Preload nadvice.
9039 * replace.el (perform-replace): Revert to funcall
9040 instead of run-hook-with-args-until-failure.
9041 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9042 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9043 dired-isearch-filenames-toggle; make it into a proper minor mode.
9044 Use add/remove-function.
9045 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9046 Call the minor-mode rather than add/remove-hook.
9047 (dired-isearch-filter-filenames):
9048 Remove isearch-message-prefix property.
9049 * info.el (Info--search-loop): New function, extracted from Info-search.
9050 Funcall isearch-filter-predicate instead of
9051 run-hook-with-args-until-failure isearch-filter-predicates.
9052 (Info-search): Use it.
9053 (Info-mode): Use isearch-filter-predicate instead of
9054 isearch-filter-predicates.
9055
290d5b58
DA
90562013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9057
9058 Do not call to `selected-window' where it is assumed by default.
9059 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9060 `window-hscroll', `window-width', `window-height', `window-buffer',
9061 `window-frame', `window-start', `window-point', `next-window'
9062 and `window-display-table'.
9063 * abbrev.el (abbrev--default-expand):
9064 * bs.el (bs--show-with-configuration):
9065 * buff-menu.el (Buffer-menu-mouse-select):
9066 * calc/calc.el (calc):
9067 * calendar/calendar.el (calendar-generate-window):
9068 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9069 (diary-make-entry):
9070 * comint.el (send-invisible, comint-dynamic-complete-filename)
9071 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9072 * completion.el (complete):
9073 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9074 * disp-table.el (describe-current-display-table):
9075 * doc-view.el (doc-view-insert-image):
9076 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9077 * ehelp.el (with-electric-help):
9078 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9079 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9080 * emacs-lisp/helper.el (Helper-help-scroller):
9081 * emulation/cua-base.el (cua--post-command-handler-1):
9082 * eshell/esh-mode.el (eshell-output-filter):
9083 * ffap.el (ffap-gnus-wrapper):
9084 * help-macro.el (make-help-screen):
9085 * hilit-chg.el (highlight-compare-buffers):
9086 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9087 * hl-line.el (global-hl-line-highlight):
9088 * icomplete.el (icomplete-simple-completing-p):
9089 * isearch.el (isearch-done):
9090 * jit-lock.el (jit-lock-stealth-fontify):
9091 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 9092 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
9093 * mpc.el (mpc-tagbrowser, mpc):
9094 * net/rcirc.el (rcirc-any-buffer):
9095 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9096 * play/landmark.el (landmark-max-width, landmark-max-height):
9097 * play/zone.el (zone):
9098 * progmodes/compile.el (compilation-goto-locus):
9099 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9100 * progmodes/etags.el (find-tag-other-window):
9101 * progmodes/fortran.el (fortran-column-ruler):
9102 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9103 * progmodes/verilog-mode.el (verilog-point-text):
9104 * reposition.el (reposition-window):
9105 * rot13.el (toggle-rot13-mode):
9106 * server.el (server-switch-buffer):
9107 * shell.el (shell-dynamic-complete-command)
9108 (shell-dynamic-complete-environment-variable):
9109 * simple.el (insert-buffer, set-selective-display)
9110 (delete-completion-window):
9111 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9112 (speedbar-recenter):
9113 * startup.el (fancy-splash-head):
9114 * textmodes/ispell.el (ispell-command-loop):
9115 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9116 * tutorial.el (help-with-tutorial):
9117 * vc/add-log.el (add-change-log-entry):
9118 * vc/compare-w.el (compare-windows):
9119 * vc/ediff-help.el (ediff-indent-help-message):
9120 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9121 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9122 (ediff-setup-control-frame):
9123 * vc/emerge.el (emerge-position-region):
9124 * vc/pcvs-util.el (cvs-bury-buffer):
9125 * window.el (walk-windows, mouse-autoselect-window-select):
9126 * winner.el (winner-set-conf, winner-undo): Related users changed.
9127
38276e01
JB
91282013-08-05 Juanma Barranquero <lekktu@gmail.com>
9129
9130 * frameset.el (frameset--set-id): Doc fix.
9131 (frameset-frame-id, frameset-frame-id-equal-p)
9132 (frameset-locate-frame-id): New functions.
9133 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9134 (frameset-restore): Use them.
9135
12b4c0ea
DA
91362013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9137
9138 Do not call to `selected-frame' where it is assumed by default.
9139 Affected functions are `raise-frame', `redraw-frame',
9140 `frame-first-window', `frame-terminal' and `delete-frame'.
9141 * calendar/appt.el (appt-disp-window):
9142 * epg.el (epg-wait-for-completion):
9143 * follow.el (follow-delete-other-windows-and-split)
9144 (follow-avoid-tail-recenter):
9145 * international/mule.el (set-terminal-coding-system):
9146 * mail/rmail.el (rmail-mail-return):
9147 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9148 * progmodes/f90.el (f90-add-imenu-menu):
9149 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9150 * server.el (server-switch-buffer):
9151 * simple.el (delete-completion-window):
9152 * talk.el (talk):
9153 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9154 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9155 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9156 * vc/ediff.el (ediff-documentation): Related users changed.
9157 * frame.el (selected-terminal): Remove the leftover.
9158
17f25e76
GM
91592013-08-05 Glenn Morris <rgm@gnu.org>
9160
9161 * calendar/calendar.el (calendar-generate-month):
9162 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
9163 (calendar-generate-month, calendar-font-lock-keywords):
9164 Fix for calendar-day-header-width > length of any day name.
17f25e76 9165
063233c3
JB
91662013-08-05 Juanma Barranquero <lekktu@gmail.com>
9167
9168 * desktop.el (desktop-clear): Use new name of sort predicate.
9169
9170 * frameset.el (frameset): Add docstring. Move :version property to its
9171 own `version' slot.
9172 (frameset-copy): Rename from copy-frameset.
9173 (frameset-p): Check more thoroughly.
9174 (frameset-prop): Do not check for :version, which is no longer a prop.
9175 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9176 Use new :never value instead of t.
9177 (frameset-filter-alist): Expand and clarify docstring.
9178 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9179 (frameset-filter-minibuffer, frameset-filter-save-param)
9180 (frameset-filter-restore-param, frameset-filter-iconified):
9181 Add pointer to docstring of frameset-filter-alist.
9182 (frameset-filter-params): Rename filter values to be more meaningful:
9183 :never instead of t, and reverse the meanings of :save and :restore.
9184 (frameset--process-minibuffer-frames): Clarify error message.
9185 (frameset-save): Avoid unnecessary and confusing call to framep.
9186 Use new BOA constructor for framesets.
9187 (frameset--reuse-list): Doc fix.
9188 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9189 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9190 (frameset-minibufferless-first-p): Doc fix.
9191 Rename from frameset-sort-frames-for-deletion.
9192 (frameset-restore): Doc fixes. Use new function names.
9193 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9194
d5671a82
JB
91952013-08-04 Juanma Barranquero <lekktu@gmail.com>
9196
9197 * desktop.el (desktop-restore-forces-onscreen)
9198 (desktop-restore-reuses-frames): Document :keyword constant values.
9199 (desktop-filter-parameters-alist): Remove, now identical to
9200 frameset-filter-alist.
9201 (desktop--filter-tty*): Remove, moved to frameset.el.
9202 (desktop-save-frameset, desktop-restore-frameset):
9203 Do not pass :filters argument.
9204
9205 * frameset.el (frameset-live-filter-alist)
9206 (frameset-persistent-filter-alist): New variables.
9207 (frameset-filter-alist): Use them. Add autoload cookie.
9208 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9209 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9210 `frameset--id' (it's supposed to be internal to frameset.el).
9211 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9212 (frameset--initial-params): New function.
9213 (frameset--get-frame): Use it. Doc fix.
9214 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9215 Accept :all, not 'all.
9216 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9217 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9218 with fbound symbols. Fix frame id matching, and remove matching ids if
9219 the frame being restored is deleted. Obey :delete.
9220
671d5c16
SM
92212013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9222
9223 * subr.el (macrop): New function.
9224 (text-clone--maintaining): New var.
9225 (text-clone--maintain): Rename from text-clone-maintain. Use it
9226 instead of inhibit-modification-hooks.
9227
9228 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9229 a proxy, so as handle autoloads and redefinitions of the target.
9230 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9231
9232 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9233 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9234 (pcase--mutually-exclusive-p): New function.
9235 (pcase--split-consp): Use it.
9236 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9237 mutually exclusive with the current predicate.
9238
9239 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9240 (edebug-macrop): Remove. Use `macrop' instead.
9241 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9242 (ad-macro-p):
9243 * eshell/esh-cmd.el (eshell-macrop):
9244 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9245
1d44e9dc
SM
92462013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9249 (advice-mapc): New function, using it.
9250 (advice-function-member-p): New function.
9251 (advice--normalize): Store the cdr in advice--saved-rewrite since
9252 that's the part that will be changed.
9253 (advice--symbol-function): New function.
9254 (advice-remove): Handle removal before the function is defined.
9255 Adjust to new advice--saved-rewrite.
9256 (advice-member-p): Use advice-function-member-p and
9257 advice--symbol-function.
9258
5414a283
JB
92592013-08-04 Juanma Barranquero <lekktu@gmail.com>
9260
51d30f2c
JB
9261 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9262 (frameset-filter-minibuffer): Doc fix.
9263 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
9264 (frameset--set-id, frameset--process-minibuffer-frames)
9265 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9266 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 9267
5414a283
JB
9268 * desktop.el (desktop-clear): Only delete frames when called
9269 interactively and desktop-restore-frames is non-nil. Doc fix.
9270 (desktop-read): Set desktop-saved-frameset to nil.
9271
ab419665
XF
92722013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9273
9274 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 9275 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
9276 (vc--add-line, vc--remove-regexp): New functions.
9277
9278 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9279 (vc-svn-ignore-completion-table): New function.
9280
9281 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 9282 (vc-hg-ignore-completion-table)
ab419665
XF
9283 (vc-hg-find-ignore-file): New functions.
9284
9285 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 9286 (vc-git-ignore-completion-table)
ab419665
XF
9287 (vc-git-find-ignore-file): New functions.
9288
9289 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9290
9291 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 9292 (vc-bzr-ignore-completion-table)
ab419665
XF
9293 (vc-bzr-find-ignore-file): New functions.
9294
2613dea2
JB
92952013-08-03 Juanma Barranquero <lekktu@gmail.com>
9296
9297 * frameset.el (frameset-prop): New function and setter.
9298 (frameset-save): Do not modify frame list passed by the caller.
9299
9c959872
SM
93002013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9301
9302 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9303
a104f656
SM
93042013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9305
70122acf
SM
9306 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9307 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9308
a104f656
SM
9309 * custom.el (custom-initialize-default, custom-initialize-set)
9310 (custom-initialize-reset, custom-initialize-changed): Affect the
9311 toplevel-default-value (bug#6275, bug#14586).
9312 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9313 for bug#6275.
9314
f078d570
JB
93152013-08-02 Juanma Barranquero <lekktu@gmail.com>
9316
185e3b5a
JB
9317 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9318 Add cl-def* expressions.
9319
f078d570
JB
9320 * frameset.el (frameset-filter-params): Fix order of arguments.
9321
9421876d
JB
93222013-08-02 Juanma Barranquero <lekktu@gmail.com>
9323
9324 Move code related to saving frames to frameset.el.
9325 * desktop.el: Require frameset.
9326 (desktop-restore-frames): Doc fix.
9327 (desktop-restore-reuses-frames): Rename from
9328 desktop-restoring-reuses-frames.
9329 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9330 (desktop-clear): Clear frames too.
9331 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9332 (desktop--filter-tty*, desktop-save, desktop-read):
9333 Use frameset functions.
9334 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9335 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9336 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9337 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9338 (desktop--process-minibuffer-frames, desktop-save-frames)
9339 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9340 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9341 (desktop--sort-states, desktop-restoring-frames-p)
9342 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9343 (desktop-restoring-frameset-p, desktop-restore-frameset)
9344 (desktop--check-dont-save, desktop-save-frameset): New functions.
9345 (desktop--app-id): New constant.
9346 (desktop-first-buffer, desktop-buffer-ok-count)
9347 (desktop-buffer-fail-count): Move before first use.
9348 * frameset.el: New file.
9349
76dc5996
SM
93502013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9351
9352 * files.el: Use lexical-binding.
9353 (dir-locals-read-from-file): Remove unused `err' variable.
9354 (hack-dir-local-variables--warned-coding): New var.
9355 (hack-dir-local-variables): Use it to avoid repeated warnings.
9356 (make-backup-file-name--default-function): New function.
9357 (make-backup-file-name-function): Use it as default.
9358 (buffer-stale--default-function): New function.
9359 (buffer-stale-function): Use it as default.
9360 (revert-buffer-insert-file-contents--default-function): New function.
9361 (revert-buffer-insert-file-contents-function): Use it as default.
9362 (insert-directory): Avoid add-to-list.
9363
9364 * autorevert.el (auto-revert-handler): Simplify.
9365 Use buffer-stale--default-function.
9366
06d36e2b
TH
93672013-08-01 Tassilo Horn <tsdh@gnu.org>
9368
5f648ab4
TH
9369 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9370
06d36e2b
TH
9371 * whitespace.el (whitespace-ensure-local-variables): New function.
9372 (whitespace-cleanup-region): Call it.
9373 (whitespace-turn-on): Call it.
9374
a43dc424
MA
93752013-08-01 Michael Albinus <michael.albinus@gmx.de>
9376
9377 Complete file name handlers.
9378
9379 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9380 (tramp-handle-verify-visited-file-modtime)
9381 (tramp-handle-file-notify-rm-watch): New functions.
9382 (tramp-call-process): Do not bind `default-directory'.
9383
44e18199
JB
9384 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9385 Order alphabetically.
afe1e4c8
GM
9386 <access-file, add-name-to-file, dired-call-process>:
9387 <dired-compress-file, file-acl, file-notify-rm-watch>:
9388 <file-ownership-preserved-p, file-selinux-context>:
9389 <make-directory-internal, make-symbolic-link, set-file-acl>:
9390 <set-file-selinux-context, set-visited-file-modtime>:
9391 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9392 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9393
9394 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
9395 <file-notify-add-watch, file-notify-rm-watch>:
9396 <set-file-times, set-visited-file-modtime>:
9397 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9398 (with-tramp-gvfs-error-message)
9399 (tramp-gvfs-handle-set-visited-file-modtime)
9400 (tramp-gvfs-fuse-file-name): Remove.
9401 (tramp-gvfs-handle-file-notify-add-watch)
9402 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9403 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9404
44e18199
JB
9405 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9406 Order alphabetically.
afe1e4c8
GM
9407 <file-notify-rm-watch>: Use default Tramp handler.
9408 <executable-find>: Remove private handler.
a43dc424
MA
9409 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9410 `default-directory'.
9411 (tramp-sh-handle-executable-find)
9412 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9413 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9414 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9415 Do not use `format' in `tramp-message'.
9416
9417 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
9418 <file-notify-rm-watch, set-visited-file-modtime>:
9419 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9420 (tramp-smb-call-winexe): Do not bind `default-directory'.
9421
7188b515
XF
94222013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9423
9424 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9425
2412ee1a
DG
94262013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9427
9428 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9429 use it.
9430 (log-view-diff-changeset): Same.
9431 (log-view-diff-common): Call backend command `previous-revision'
9432 to find out the previous revision, in both cases. Swap the
9433 variables `to' and `fr', so that `fr' usually refers to the
9434 earlier revision (Bug#14989).
9435
5002a754
KRC
94362013-07-31 Kan-Ru Chen <kanru@kanru.info>
9437
9438 * ibuf-ext.el (ibuffer-filter-by-filename):
9439 Make it work with dired buffers too.
9440
44e18199 94412013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
9442
9443 * emacs-lisp/re-builder.el (reb-color-display-p):
9444 * files.el (save-buffers-kill-terminal):
9445 * net/browse-url.el (browse-url):
9446 * server.el (server-save-buffers-kill-terminal):
9447 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9448 Prefer nil to selected-frame for the first arg of frame-parameter.
9449
aeca3fbb
XF
94502013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9451
9452 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9453
158bc55c
SB
94542013-07-30 Stephen Berman <stephen.berman@gmx.net>
9455
9456 * minibuffer.el (completion--twq-all): Try and preserve each
9457 completion's case choice (bug#14907).
9458
d50fceab
LMI
94592013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9460
ac38e731
LMI
9461 * net/network-stream.el (open-network-stream): Mention the new
9462 :nogreeting parameter.
9463 (network-stream-open-starttls): Use the :nogreeting parameter
9464 (bug#14938).
9465
1211de50
LMI
9466 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9467
997798bf
LMI
9468 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9469 more natural than popping.
9470
d50fceab 9471 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 9472 (shr-urlify): Highlight under mouse.
d50fceab 9473
5c09de04
XF
94742013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9475
207d1d04
XF
9476 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9477
9478 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9479
5c09de04
XF
9480 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9481 buffer for output.
9482
3cd51eaa
XF
9483 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9484 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 9485
44e18199 9486 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 9487 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
9488
9489 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9490
9491 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9492 buffer for output.
9493
35a89bdd
EZ
94942013-07-29 Eli Zaretskii <eliz@gnu.org>
9495
9496 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9497 initial frame is minibuffer-less. (Bug#14841)
9498
78822e94
MA
94992013-07-29 Michael Albinus <michael.albinus@gmx.de>
9500
9501 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9502 option.
9503
9504 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9505 (tramp-maybe-open-connection): Use it.
9506
9503c190
JB
95072013-07-28 Juanma Barranquero <lekktu@gmail.com>
9508
9509 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9510 minimal set of parameters passed when creating a frame, because
9511 the minibuffer status of a frame cannot be changed later.
9512
d5a845b4
SB
95132013-07-28 Stephen Berman <stephen.berman@gmx.net>
9514
9515 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9516 replace-regexp-in-string and inadvertent omissions in previous change.
9517 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 9518 name of filtered items buffer.
d5a845b4 9519
ddeffb17
JB
95202013-07-28 Juanma Barranquero <lekktu@gmail.com>
9521
9522 * desktop.el: Optionally force offscreen frames back onscreen.
9523 (desktop-restoring-reuses-frames): New option.
9524 (desktop--compute-pos, desktop--move-onscreen): New functions.
9525 (desktop--make-frame): Use desktop--move-onscreen.
9526
f5950f7a
AM
95272013-07-27 Alan Mackenzie <acm@muc.de>
9528
9529 Fontify a Java generic method as a function.
9530 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9531 value to t.
9532
ae43b66a
SB
95332013-07-27 Stephen Berman <stephen.berman@gmx.net>
9534
9535 * calendar/todo-mode.el: Add command to rename todo files.
9536 (todo-rename-file): New command.
9537 (todo-key-bindings-t): Add key binding for it. Change the
9538 bindings of todo-filter-regexp-items(-multifile) to use `x'
9539 instead of `r', since the latter is better suited to the new
9540 renaming command.
9541
5ab78d3d
AM
95422013-07-27 Alan Mackenzie <acm@muc.de>
9543
9544 Make Java try-with-resources statement parse properly.
9545 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9546 (c-block-stmt-1-2-key): New language constants/variables.
9547 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9548 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9549 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 9550 with c-block-stmt-1-2-key.
5ab78d3d 9551
d85c4d50
JB
95522013-07-27 Juanma Barranquero <lekktu@gmail.com>
9553
9554 * desktop.el (desktop--make-frame): Apply most frame parameters after
9555 creating the frame to force (partially or totally) offscreen frames to
9556 be restored as such.
9557
e4c467f9
XF
95582013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9559
9560 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 9561 (Bug#14948)
e4c467f9 9562
7ced0d04
SM
95632013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9564
9565 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9566 `base' arg of backtrace-frame.
9567
fec92060
EZ
95682013-07-26 Eli Zaretskii <eliz@gnu.org>
9569
9570 * simple.el (list-processes): Doc fix.
9571
d58d31fb
JB
95722013-07-26 Juanma Barranquero <lekktu@gmail.com>
9573
9574 * desktop.el (desktop--select-frame):
d85c4d50 9575 Try harder to reuse existing frames.
d58d31fb 9576
53ff3e77
SM
95772013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9578
9579 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9580 (edebug-eval): Use backtrace-eval.
9581 (edebug--display, edebug--recursive-edit): Don't let-bind the
9582 edebug-outer-* vars that keep track of variables we locally let-bind.
9583 (edebug-outside-excursion): Don't restore outside values of locally
9584 let-bound vars.
9585 (edebug--display): Use user-error.
9586 (cl-lexical-debug, cl-debug-env): Remove.
9587
045f7a53
JB
95882013-07-26 Juanma Barranquero <lekktu@gmail.com>
9589
9590 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9591 are restored to be sure that they are visible before deleting any
9592 remaining ones.
9593
59070b32
MM
95942013-07-26 Matthias Meulien <orontee@gmail.com>
9595
742a3501
XF
9596 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9597 vc-print-root-log. (Bug#14948)
59070b32 9598
b1fb3596
RS
95992013-07-26 Richard Stallman <rms@gnu.org>
9600
9601 Add aliases for encrypting mail.
9602 * epa.el (epa-mail-aliases): New option.
9603 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9604 Bind inhibit-read-only so read-only text doesn't ruin everything.
9605 (epa-mail-default-recipients): New subroutine broken out.
9606 Handle epa-mail-aliases.
9607
56ea7291
SM
96082013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9609
9610 Add support for lexical variables to the debugger's `e' command.
9611 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9612 vars, except for debugger-outer-match-data.
9613 (debugger-frame-number): Move check for "on a function call" from
9614 callers into it. Add `skip-base' argument.
9615 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9616 (debugger-env-macro): Only reset the state stored in non-variables,
9617 i.e. current-buffer and match-data.
9618 (debugger-eval-expression): Rewrite using backtrace-eval.
9619 * subr.el (internal--called-interactively-p--get-frame): Remove.
9620 (called-interactively-p):
9621 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9622 `base' arg of backtrace-frame instead.
9623
15ac32d5
GM
96242013-07-26 Glenn Morris <rgm@gnu.org>
9625
8358a09d
GM
9626 * align.el (align-regexp): Doc fix. (Bug#14857)
9627 (align-region): Explicit error if subexpression missing/does not match.
9628
15ac32d5
GM
9629 * simple.el (global-visual-line-mode):
9630 Do not duplicate the mode lighter. (Bug#14858)
9631
f47ad11b
MR
96322013-07-25 Martin Rudalics <rudalics@gmx.at>
9633
9634 * window.el (display-buffer): In display-buffer bind
9635 split-window-keep-point to t, bug#14829.
9636
02530987
JB
96372013-07-25 Juanma Barranquero <lekktu@gmail.com>
9638
9639 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9640 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9641 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9642 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9643 Change accordingly.
f63ebeb5
JB
9644 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9645 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 9646
6ccb9cab 96472013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 9648
6ccb9cab 9649 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 9650
cb3a56d2
JB
96512013-07-25 Juanma Barranquero <lekktu@gmail.com>
9652
9653 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9654 parameter to modify-frame-parameters if the value has not changed;
9655 this is a workaround for bug#14949.
9656 (desktop--make-frame): On cl-delete-if call, check parameter name,
9657 not full parameter.
9658
7aa7fff0
XF
96592013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9660
9661 * vc/vc.el (vc-ignore): New function.
9662
9663 * vc/vc-svn.el (vc-svn-ignore): New function.
9664
9665 * vc/vc-hg.el (vc-hg-ignore): New function.
9666
9667 * vc/vc-git.el (vc-git-ignore): New function.
9668
9669 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9670 (vc-dir-ignore): New function.
9671
9672 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 9673 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
9674
9675 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9676
9677 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9678
889acc5c
JB
96792013-07-24 Juanma Barranquero <lekktu@gmail.com>
9680
9681 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9682 (desktop-restore-frames): Warn when deleting an existing frame failed.
9683
86c40970
GM
96842013-07-24 Glenn Morris <rgm@gnu.org>
9685
9686 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9687
d5d3c58a
MA
96882013-07-24 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * filenotify.el (file-notify-supported-p):
9691 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9692 Remove functions.
9693
35e951cd 9694 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
9695 (auto-revert-notify-add-watch):
9696 * net/tramp.el (tramp-file-name-for-operation):
9697 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9698 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9699 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9700 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9701 Remove `file-notify-supported-p' entry.
9702
d100084b
GM
97032013-07-24 Glenn Morris <rgm@gnu.org>
9704
9705 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 9706 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 9707
ac93e56b
SM
97082013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9709
249eea30
SM
9710 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9711 checked with memq (bug#14935).
9712
ac93e56b
SM
9713 * files.el (revert-buffer-function): Use a non-nil default.
9714 (revert-buffer-preserve-modes): Declare var to
9715 provide access to the `preserve-modes' argument.
9716 (revert-buffer): Let-bind it.
9717 (revert-buffer--default): New function, extracted from revert-buffer.
9718
2cdeb903
SM
97192013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9720
9721 * lpr.el: Signal print errors more prominently.
9722 (print-region-function): Don't default to nil.
9723 (lpr-print-region): New function, extracted from print-region-1.
9724 Check lpr's return value and signal an error in case of problem.
9725 (print-region-1): Use it.
9726 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9727 versions instead.
9728 (ps-printer-name): Default to nil.
9729 (ps-printer-name-option): Default to lpr-printer-switch.
9730 (ps-print-region-function): Don't default to nil.
9731 (ps-postscript-code-directory): Simplify default.
9732 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9733 (ps-string-list, ps-eval-switch, ps-flatten-list)
9734 (ps-flatten-list-1): Remove.
9735 (ps-multibyte-buffer): Avoid setq.
9736 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9737 (print-region-function, ps-print-region-function): Don't set them here.
9738
73600831
XF
97392013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9740
35e951cd
JB
9741 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9742 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9743 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
9744 (ido-decorations): Doc fix.
9745
73600831
XF
9746 * ansi-color.el: Fix old URL.
9747
3d012865
MM
97482013-07-23 Michael R. Mauger <michael@mauger.com>
9749
e903c210 9750 * progmodes/sql.el: Version 3.3
3d012865
MM
9751 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9752 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9753 (sql-interactive-remove-continuation-prompt): Rewrite, use
9754 functions above. Fix continuation prompt and complete output line
9755 handling.
9756 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9757 redirected output buffer.
9758 (sql-mode): Restore deleted code (Bug#13591).
9759
da77a2e2
JB
97602013-07-23 Juanma Barranquero <lekktu@gmail.com>
9761
9762 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9763
80ff0c71
MA
97642013-07-23 Michael Albinus <michael.albinus@gmx.de>
9765
9766 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9767
9768 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9769 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9770 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9771
b61d71e4
JB
97722013-07-23 Juanma Barranquero <lekktu@gmail.com>
9773
9774 * desktop.el (desktop-clear): Simplify; remove useless checks
9775 against invalid buffer names.
9776 (desktop-list*): Use cl-list*.
9777 (desktop-buffer-info, desktop-create-buffer): Simplify.
9778
c3512092
LL
97792013-07-23 Leo Liu <sdl.web@gmail.com>
9780
9781 * bookmark.el (bookmark-make-record): Restore NAME as a default
9782 value. (Bug#14933)
9783
0ac26976
SM
97842013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9785
7d22ce18
SM
9786 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9787 extracted from autoload--insert-text.
9788 (autoload--insert-text): Remove.
9789 (autoload--print-cookie-text): New function, extracted from
9790 autoload--insert-cookie-text.
9791 (autoload--insert-cookie-text): Remove.
9792 (autoload-generate-file-autoloads): Adjust calls accordingly.
9793
9b2607e8
SM
9794 * winner.el (winner-hook-installed-p): Remove.
9795 (winner-mode): Simplify accordingly.
9796
c43a8618
SM
9797 * subr.el (add-to-list): Fix compiler-macro when `append' is
9798 not constant. Don't use `cl-member' for the base case.
9799
0ac26976
SM
9800 * progmodes/subword.el: Fix boundary case (bug#13758).
9801 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9802 own group.
9803 (subword-backward-regexp): Make it a constant.
9804 (subword-forward-internal): Don't treat a trailing capital as the
9805 beginning of a word.
9806
6874724a
AR
98072013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9808
9809 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9810 global value of tabulated-list-revert-hook (bug#14930).
9811
70f1b5e8
JB
98122013-07-22 Juanma Barranquero <lekktu@gmail.com>
9813
a1c80d9d
JB
9814 * desktop.el: Require 'cl-lib.
9815 (desktop-before-saving-frames-functions): New hook.
9816 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9817 for frames being saved. Rename from desktop--save-minibuffer-frames.
9818 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
9819 Do not save frames with non-nil `desktop-dont-save' parameter.
9820 Filter out deleted frames.
a1c80d9d
JB
9821 (desktop--find-frame): Use cl-find-if.
9822 (desktop--select-frame): Use cl-(first|second|third) to access values
9823 of desktop-mini.
9824 (desktop--make-frame): Use cl-delete-if.
9825 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9826 (desktop-restore-frames): Use cl-(first|second|third) to access values
9827 of desktop-mini. Look for visible frame at the end, not while
9828 restoring frames.
9829
70f1b5e8
JB
9830 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9831 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9832 Use string-match-p, looking-at-p (bug#14927).
9833
728dc3cc
JB
98342013-07-21 Juanma Barranquero <lekktu@gmail.com>
9835
56bc453c
JB
9836 * desktop.el (desktop-saved-frame-states):
9837 Rename from desktop--saved-states; all users changed.
9838 (desktop-save-frames): Rename from desktop--save-frames.
9839 Do not save state to desktop file.
9840 (desktop-save): Save desktop-saved-frame-states to desktop file
9841 and reset to nil.
9842 (desktop-restoring-frames-p): New function.
9843 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9844 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9845 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9846
728dc3cc
JB
9847 * desktop.el: Correctly restore iconified frames.
9848 (desktop--filter-iconified-position): New function.
9849 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9850
862f1c9c
GM
98512013-07-20 Glenn Morris <rgm@gnu.org>
9852
c4074c9f
GM
9853 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9854 Let `message' do the formatting.
9855 (def-gdb-preempt-display-buffer): Add explicit format.
9856
d828e5f9
GM
9857 * image-dired.el (image-dired-track-original-file):
9858 Use with-current-buffer.
9859 (image-dired-track-thumbnail): Use with-current-buffer.
9860 Avoid changing point of wrong window.
9861
862f1c9c
GM
9862 * image-dired.el (image-dired-track-original-file):
9863 Avoid changing point of wrong window. (Bug#14909)
9864
f0398ec1 98652013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
9866
9867 * progmodes/gdb-mi.el (gdb-done-or-error):
9868 Guard against "%" in gdb output. (Bug#14127)
9869
1451928f
AS
98702013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9871
763a086d
JB
9872 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9873 (Bug#14826)
f7a03897 9874
1451928f
AS
9875 * international/mule.el (coding-system-iso-2022-flags): Fix last
9876 change.
9877
99107004
KH
98782013-07-20 Kenichi Handa <handa@gnu.org>
9879
763a086d
JB
9880 * international/mule.el (coding-system-iso-2022-flags):
9881 Add `8-bit-level-4'. (Bug#8522)
99107004 9882
48494e06
LMI
98832013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9884
8ba8eec5
LMI
9885 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9886 (bug#14815).
9887
dfbc66e3
LMI
9888 * net/eww.el (eww-process-text-input): Allow inputting when the
9889 point is at the start of the line, as the properties aren't
9890 front-sticky.
9891
48494e06
LMI
9892 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9893 degenerate widths.
9894
77c92cb9
RS
98952013-07-19 Richard Stallman <rms@gnu.org>
9896
aec7da77
RS
9897 * epa.el (epa-popup-info-window): Doc fix.
9898
77c92cb9
RS
9899 * subr.el (split-string): New arg TRIM.
9900
945c5bb1
JB
99012013-07-18 Juanma Barranquero <lekktu@gmail.com>
9902
9903 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9904 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9905
e06ec67f
MA
99062013-07-18 Michael Albinus <michael.albinus@gmx.de>
9907
c7064f05 9908 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
9909 `file-notify-support'. Do not autoload. Adapt all uses.
9910 (file-notify-supported-p): New defun.
9911
c7064f05
JB
9912 * autorevert.el (auto-revert-use-notify):
9913 Use `file-notify-supported-p' instead of `file-notify-support'.
9914 Adapt docstring.
e06ec67f
MA
9915 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9916
9917 * net/tramp.el (tramp-file-name-for-operation):
9918 Add `file-notify-supported-p'.
9919
9920 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9921 New defun.
9922 (tramp-sh-file-name-handler-alist): Add it as handler for
9923 `file-notify-supported-p '.
9924
9925 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9926 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9927 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9928 Add `ignore' as handler for `file-notify-*' functions.
9929
5dc8a629
EZ
99302013-07-17 Eli Zaretskii <eliz@gnu.org>
9931
9932 * simple.el (line-move-partial, line-move): Don't start vscroll or
9933 scroll-up if the current line is not taller than the window.
9934 (Bug#14881)
9935
77aea2fb
DG
99362013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9937
9938 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9939 highlight question marks in the method names as strings.
ac72c08d
DG
9940 (ruby-block-beg-keywords): Inline.
9941 (ruby-font-lock-keyword-beg-re): Extract from
9942 `ruby-font-lock-keywords'.
77aea2fb 9943
18c26d81
JD
99442013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9945
9946 * frame.el (blink-cursor-blinks): New defcustom.
9947 (blink-cursor-blinks-done): New defvar.
9948 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9949 (blink-cursor-timer-function): Check if number of blinks has been
9950 done on X and NS.
9951 (blink-cursor-suspend, blink-cursor-check): New defuns.
9952
da48522e
GM
99532013-07-15 Glenn Morris <rgm@gnu.org>
9954
9955 * edmacro.el (edmacro-format-keys): Fix previous change.
9956
0463c1ef
PE
99572013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9958
9959 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9960 The hack didn't work outside English locales anyway.
9961
b43f6451
JB
99622013-07-15 Juanma Barranquero <lekktu@gmail.com>
9963
9964 * simple.el (define-alternatives): Rename from alternatives-define,
9965 per RMS' suggestion.
9966
b958c0ad
JB
99672013-07-14 Juanma Barranquero <lekktu@gmail.com>
9968
9969 * desktop.el (desktop-restore-frames): Change default to t.
9970 (desktop-restore-in-current-display): Now offer more options.
9971 (desktop-restoring-reuses-frames): New customization option.
9972 (desktop--saved-states): Doc fix.
9973 (desktop-filter-parameters-alist): New variable, renamed and expanded
9974 from desktop--excluded-frame-parameters.
9975 (desktop--target-display): New variable.
9976 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9977 (desktop--filter-tty*, desktop--filter-*-color)
9978 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9979 (desktop--filter-save-desktop-parm)
9980 (desktop-restore-in-original-display-p): New functions.
9981 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9982 (desktop--save-minibuffer-frames): New function, inspired by a similar
9983 function from Martin Rudalics.
9984 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9985 (desktop--restore-in-this-display-p): Remove.
9986 (desktop--find-frame): Rename from desktop--find-frame-in-display
9987 and add predicate argument.
9988 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9989 (desktop--reuse-list): New variable.
9990 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9991 New functions.
9992 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9993
f6dd8b36
MA
99942013-07-14 Michael Albinus <michael.albinus@gmx.de>
9995
9996 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9997
2ce3c565
DG
99982013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9999
763a086d
JB
10000 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10001 Highlight conversion methods on Kernel.
2ce3c565 10002
2cdb7698
AM
100032013-07-13 Alan Mackenzie <acm@muc.de>
10004
10005 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10006 and comment it out. This out-commenting enables certain C++
10007 declarations to be parsed correctly.
10008
1a67b811
EZ
100092013-07-13 Eli Zaretskii <eliz@gnu.org>
10010
1b796d6b
EZ
10011 * international/mule.el (define-coding-system): Doc fix.
10012
1a67b811
EZ
10013 * simple.el (default-font-height): Don't call font-info if the
10014 frame's default font didn't change since the frame was created.
10015 (Bug#14838)
10016
58fbe886
LL
100172013-07-13 Leo Liu <sdl.web@gmail.com>
10018
10019 * ido.el (ido-read-file-name): Guard against non-symbol value.
10020
1f0480d4
FEG
100212013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10022
10023 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10024 in nested defuns.
10025
97ead0e5
LL
100262013-07-13 Leo Liu <sdl.web@gmail.com>
10027
10028 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10029 ido-set-matches call. (Bug#6852)
10030
0880a952
DG
100312013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10032
35e951cd 10033 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
10034 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10035 Ruby 2.0.
10036 (ruby-font-lock-keywords): Distinguish calls to functions with
10037 module-like names from module references. Highlight character
10038 literals.
10039
a7d8babb
SDJ
100402013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10041
10042 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 10043 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 10044
acfcc8c5
JB
100452013-07-12 Juanma Barranquero <lekktu@gmail.com>
10046
10047 * desktop.el (desktop--v2s): Remove unused local variable.
10048 (desktop-save-buffer): Make defvar-local; adjust docstring.
10049 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10050 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10051
051f2775
AS
100522013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10053
10054 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10055
f24e7572
GM
100562013-07-12 Eli Zaretskii <eliz@gnu.org>
10057
10058 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10059 (Bug#14842)
10060
539a920c
GM
100612013-07-12 Glenn Morris <rgm@gnu.org>
10062
10063 * doc-view.el: Require cl-lib at runtime too.
10064 (doc-view-remove-if): Remove.
10065 (doc-view-search-next-match, doc-view-search-previous-match):
10066 Use cl-remove-if.
10067
10068 * edmacro.el: Require cl-lib at runtime too.
10069 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10070 (edmacro-mismatch, edmacro-subseq): Remove.
10071
10072 * shadowfile.el: Require cl-lib.
10073 (shadow-remove-if): Remove.
10074 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10075 Use cl-remove-if.
10076
10077 * wid-edit.el: Require cl-lib.
10078 (widget-choose): Use cl-remove-if.
10079 (widget-remove-if): Remove.
10080
10081 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10082 (ebrowse-delete-if-not): Remove.
10083 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10084 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10085 Use cl-delete-if-not.
10086
1048af7c
JB
100872013-07-12 Juanma Barranquero <lekktu@gmail.com>
10088
10089 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10090 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10091
6c0674ee
LL
100922013-07-12 Leo Liu <sdl.web@gmail.com>
10093
10094 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10095
a19b3c2d
GM
100962013-07-11 Glenn Morris <rgm@gnu.org>
10097
4582a01c
GM
10098 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10099 (edebug-gensym-index, edebug-gensym):
10100 Remove reimplementation of cl-gensym.
10101 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10102
10103 * thumbs.el: Require cl-lib at run-time too.
10104 (thumbs-gensym-counter, thumbs-gensym):
10105 Remove reimplementation of cl-gensym.
10106 (thumbs-temp-file): Use cl-gensym.
10107
a19b3c2d
GM
10108 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10109 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10110 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10111 (ert--union, ert--gensym-counter, ert--gensym-counter)
10112 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10113 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10114 (ert-make-test-unbound, ert--expand-should-1)
10115 (ert--expand-should, ert--should-error-handle-error)
10116 (should-error, ert--explain-equal-rec)
10117 (ert--plist-difference-explanation, ert-select-tests)
10118 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10119 Use cl-lib functions rather than reimplementations.
10120
88f6a933
MA
101212013-07-11 Michael Albinus <michael.albinus@gmx.de>
10122
10123 * net/tramp.el (tramp-methods): Extend docstring.
10124 (tramp-connection-timeout): New defcustom.
10125 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10126 (with-tramp-progress-reporter): Simplify.
10127 (tramp-process-actions): Improve messages.
10128
10129 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10130 * net/tramp-sh.el (tramp-maybe-open-connection):
10131 Use `tramp-connection-timeout'.
afe1e4c8 10132 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
10133 (Bug#14808)
10134
a43d577e
LL
101352013-07-11 Leo Liu <sdl.web@gmail.com>
10136
10137 * ido.el (ido-read-file-name): Conform to the requirements of
10138 read-file-name. (Bug#11861)
10139 (ido-read-directory-name): Conform to the requirements of
10140 read-directory-name.
10141
d77974bf
JB
101422013-07-11 Juanma Barranquero <lekktu@gmail.com>
10143
10144 * subr.el (delay-warning): New function.
10145
35cb8a3e
EZ
101462013-07-10 Eli Zaretskii <eliz@gnu.org>
10147
10148 * simple.el (default-line-height): New function.
10149 (line-move-partial, line-move): Use it instead of computing the
10150 line height inline.
10151 (line-move-partial): Always compute ROWH. If the last line is
10152 partially-visible, but its text is completely visible, allow
10153 cursor to enter such a partially-visible line.
10154
525c5c77
MA
101552013-07-10 Michael Albinus <michael.albinus@gmx.de>
10156
10157 Improve error messages. (Bug#14808)
10158
10159 * net/tramp.el (tramp-current-connection): New defvar, moved from
10160 tramp-sh.el.
0ac26976 10161 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 10162 needed anymore.
0ac26976
SM
10163 (tramp-error-with-buffer): Show message in minibuffer.
10164 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
10165 (with-tramp-progress-reporter): Improve messages.
10166 (tramp-process-actions): Use progress reporter. Delete process in
10167 case of error. Improve messages.
10168
763a086d
JB
10169 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10170 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 10171 (tramp-current-connection): Remove.
525c5c77
MA
10172 (tramp-maybe-open-connection): The car of
10173 `tramp-current-connection' are the first 3 slots of the vector.
10174
c7a4d368
TZ
101752013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10176
10177 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10178 inside continued strings.
10179
954b166e
PE
101802013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10181
10182 Timestamp fixes for undo (Bug#14824).
10183 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10184
56973319
LL
101852013-07-10 Leo Liu <sdl.web@gmail.com>
10186
10187 * files.el (require-final-newline): Allow safe local value.
10188 (Bug#14834)
10189
5550a72c
LL
101902013-07-09 Leo Liu <sdl.web@gmail.com>
10191
10192 * ido.el (ido-read-directory-name): Handle fallback.
10193 (ido-read-file-name): Update DIR to ido-current-directory.
10194 (Bug#1516)
c28b9050 10195 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 10196
70c46b28
DG
101972013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10198
10199 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10200 "autoload". Remove "warn lower camel case" section, previously
10201 commented out. Highlight negation char. Do not highlight the
10202 target in singleton method definitions.
10203
0b64b838
SM
102042013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10205
7fd72e2c
SM
10206 * faces.el (tty-setup-hook): Declare the hook.
10207
0b64b838
SM
10208 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10209 and detect when a guard/pred depends on local vars (bug#14773).
10210 (pcase--u1): Adjust caller.
10211
ab49d60b
EZ
102122013-07-08 Eli Zaretskii <eliz@gnu.org>
10213
10214 * simple.el (line-move-partial, line-move): Account for
10215 line-spacing.
701d79aa
EZ
10216 (line-move-partial): Avoid setting vscroll when the last
10217 partially-visible line in window is of default height.
ab49d60b 10218
2d756ae0
LMI
102192013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10220
10221 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10222 been used a while.
10223
ed095bd7
JB
102242013-07-07 Juanma Barranquero <lekktu@gmail.com>
10225
10226 * subr.el (read-quoted-char): Remove unused local variable `char'.
10227
f1e6674b
MK
102282013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10229
584ee3fc
GM
10230 * ediff.el (ediff-version): Version update.
10231 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10232 (ediff-merge-with-ancestor-command, ediff-directories-command)
10233 (ediff-directories3-command, ediff-merge-directories-command)
10234 (ediff-merge-directories-with-ancestor-command): New functions.
10235 All are command-line interfaces to ediff: to facilitate calling
10236 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
10237
10238 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10239 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 10240
584ee3fc
GM
10241 * viper.el (viper-version): Version update.
10242 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 10243
584ee3fc
GM
102442013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10245
10246 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10247 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10248 (viper-intercept-ESC-key): Simplify.
10249 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10250 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10251 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10252 (viper-setup-ESC-to-escape): New functions.
10253 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10254 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 10255
9aff9b38
EZ
102562013-07-07 Eli Zaretskii <eliz@gnu.org>
10257
5165d44a
JB
10258 * simple.el (default-font-height, window-screen-lines):
10259 New functions.
9aff9b38
EZ
10260 (line-move, line-move-partial): Use them instead of
10261 frame-char-height and window-text-height. This makes scrolling
10262 text smoother when the buffer's default face uses a font that is
10263 different from the frame's default font.
10264
1afb1d07
JD
102652013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10266
10267 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 10268 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 10269
23de972a
EZ
102702013-07-06 Eli Zaretskii <eliz@gnu.org>
10271
10272 * simple.el (line-move-partial): Adjust the row returned by
10273 posn-at-point for the current window-vscroll. (Bug#14567)
10274
54a42486
MA
102752013-07-06 Michael Albinus <michael.albinus@gmx.de>
10276
35e951cd 10277 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
10278 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10279 spaces.
10280
34ada5f4
MR
102812013-07-06 Martin Rudalics <rudalics@gmx.at>
10282
10283 * window.el (window-state-put-stale-windows): New variable.
10284 (window--state-put-2): Save list of windows without matching buffer.
10285 (window-state-put): Remove "bufferless" windows if possible.
10286
11e03d89
JB
102872013-07-06 Juanma Barranquero <lekktu@gmail.com>
10288
10289 * simple.el (alternatives-define): Remove leftover :group keyword.
10290 Tweak docstring.
10291
3504a4be
LL
102922013-07-06 Leo Liu <sdl.web@gmail.com>
10293
10294 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10295 (ido-enable-virtual-buffers): New variable.
10296 (ido-buffer-internal, ido-toggle-virtual-buffers)
10297 (ido-make-buffer-list): Use it.
10298 (ido-exhibit): Support turning on and off virtual buffers
10299 automatically.
10300
61e56e2c
JB
103012013-07-06 Juanma Barranquero <lekktu@gmail.com>
10302
10303 * simple.el (alternatives-define): New macro.
10304
321e1a9c
SM
103052013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 * subr.el (read-quoted-char): Use read-key.
10308 (sit-for): Let read-event decode tty input (bug#14782).
10309
d610f6dd
SB
103102013-07-05 Stephen Berman <stephen.berman@gmx.net>
10311
10312 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
10313 mode command and externally. Fix various related bugs.
10314 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
10315 (todo-delete-file): New command.
10316 (todo-check-file): New function.
10317 (todo-show): Handle external deletion of the file we're trying to
10318 show (bug#14688). Replace called-interactively-p by an optional
10319 prefix argument to avoid problematic interaction with catch form
10320 when byte compiled (bug#14702).
10321 (todo-quit): Handle external deletion of the archive's todo file.
10322 Make sure the buffer that was visiting the archive file is still
10323 live before trying to bury it.
10324 (todo-category-completions): Handle external deletion of any
10325 category completion files.
10326 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10327 of todo files, in case of external deletion.
10328 (todo-add-file): Replace unnecessary setq by let-binding.
10329 (todo-find-archive): Check whether there are any archives.
10330 Replace unnecessary setq by let-binding.
10331 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
10332 archive buffer whether or not the archive already exists.
10333 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
10334 check if the archive is new; if it is, update list of archives.
10335 (todo-default-todo-file): Allow nil to be a valid value for when
10336 there are no todo files.
10337 (todo-reevaluate-default-file-defcustom): Use corrected definition
10338 of todo-default-todo-file.
10339 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10340 (todo-delete-category, todo-show-categories-table)
10341 (todo-category-number): Clarify comment.
10342 (todo-filter-items): Clarify documentation string.
10343 (todo-show-current-file, todo-display-as-todo-file)
10344 (todo-reset-and-enable-done-separator): Tweak documentation string.
10345 (todo-done-separator): Make separator length window-width, since
10346 bug#2749 is now fixed.
10347
ddbdfd6f
MA
103482013-07-05 Michael Albinus <michael.albinus@gmx.de>
10349
321e1a9c
SM
10350 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10351 Support both "gvfs-monitor-dir" and "inotifywait".
10352 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
10353 `tramp-sh-file-notify-process-filter'.
10354 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10355 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10356
96eb829a
LL
103572013-07-05 Leo Liu <sdl.web@gmail.com>
10358
10359 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10360
cf13177e
YM
103612013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10362
10363 * frame.el (display-pixel-height, display-pixel-width)
10364 (display-mm-height, display-mm-width): Mention behavior on
10365 multi-monitor setups in docstrings.
10366 (w32-display-monitor-attributes-list): Declare function.
10367 (display-monitor-attributes-list): Use it.
10368
864c58ca
MA
103692013-07-04 Michael Albinus <michael.albinus@gmx.de>
10370
10371 * filenotify.el: New package.
10372
10373 * autorevert.el (top): Require filenotify.el.
10374 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10375 instead.
10376 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10377 (auto-revert-notify-handler): Use `file-notify-*' functions.
10378
10379 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10380
321e1a9c
SM
10381 * net/tramp.el (tramp-file-name-for-operation):
10382 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
10383
10384 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10385 for `file-notify-add-watch' and `file-notify-rm-watch'.
10386 (tramp-process-sentinel): Improve trace.
10387 (tramp-sh-handle-file-notify-add-watch)
10388 (tramp-sh-file-notify-process-filter)
10389 (tramp-sh-handle-file-notify-rm-watch)
10390 (tramp-get-remote-inotifywait): New defuns.
10391
96673afe
JL
103922013-07-03 Juri Linkov <juri@jurta.org>
10393
10394 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10395 call of `occur-read-primary-args' to interactive spec.
10396
10397 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10398 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10399
924494f4
MM
104002013-07-03 Matthias Meulien <orontee@gmail.com>
10401
10402 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10403 `Buffer-menu-multi-occur'. Add it to the menu.
10404 (Buffer-menu-mode): Document it in docstring.
10405 (Buffer-menu-multi-occur): New command. (Bug#14673)
10406
56f75efc
DG
104072013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10408
10409 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10410 keywords and built-ins.
10411
9b057d61
GM
104122013-07-03 Glenn Morris <rgm@gnu.org>
10413
208dee4d
GM
10414 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10415
9b057d61
GM
10416 Make info-xref checks case-sensitive by default
10417 * info.el (Info-find-node, Info-find-in-tag-table)
10418 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10419 Add option for exact case matching of nodes.
10420 * info-xref.el (info-xref): New custom group.
10421 (info-xref-case-fold): New option.
10422 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10423
e01aa29c
LL
104242013-07-03 Leo Liu <sdl.web@gmail.com>
10425
10426 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10427
3086ca2e
DG
104282013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10429
10430 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10431 middle of block statement initially, lower the depth. Remove
10432 FIXME comment, not longer valid. Remove middle of block statement
10433 detection, no need to do that anymore since we've been using
10434 `ruby-parse-region' here.
10435
a3b49114
JD
104362013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10437
10438 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10439
08e5c823 104402013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
10441
10442 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10443
2addf922
JB
104442013-07-01 Juanma Barranquero <lekktu@gmail.com>
10445
10446 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10447 (desktop-restore-in-current-display): New customization option.
10448 (desktop--excluded-frame-parameters): Add `font'.
10449 (desktop--save-frames): Rename from desktop--save-windows.
10450 (desktop--restore-in-this-display-p): New function.
10451 (desktop--make-full-frame): Remove unwanted width/height from
10452 full(width|height) frames.
10453 (desktop--restore-frames): Rename from desktop--restore-windows.
10454 Obey desktop-restore-current-display. Do not delete old frames or
10455 select a new frame unless we were able to restore at least one frame.
10456
ef099a94
MN
104572013-06-30 Michal Nazarewicz <mina86@mina86.com>
10458
10459 * files.el (find-file-noselect): Simplify conditional expression.
10460
a12bf61e 10461 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
10462 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10463
10464 Add `remember-notes' function to store random notes across Emacs
10465 restarts.
3fcfc4ee
JB
10466 * textmodes/remember.el (remember-data-file): Add :set callback to
10467 affect notes buffer (if any).
ef099a94
MN
10468 (remember-notes): New command.
10469 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10470 New defcustoms for the `remember-notes' function.
10471 (remember-notes-save-and-bury-buffer): New command.
10472 (remember-notes-mode-map): New variable.
10473 (remember-mode): New minor mode.
10474 (remember-notes--kill-buffer-query): New function.
10475 * startup.el (initial-buffer-choice): Add notes to custom type.
10476
0865d506
EZ
104772013-06-30 Eli Zaretskii <eliz@gnu.org>
10478
0ba54312
EZ
10479 * bindings.el (right-char, left-char): Don't call sit-for, this is
10480 no longer needed. Use arithmetic comparison only for numerical
10481 arguments.
10482
ef099a94
MN
10483 * international/mule-cmds.el (select-safe-coding-system):
10484 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 10485
2fae38e5
LMI
104862013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10487
10488 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10489 progression on degenerate tables.
ef099a94 10490 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 10491
a47cbd64
JB
104922013-06-30 Juanma Barranquero <lekktu@gmail.com>
10493
10494 Some fixes and improvements for desktop frame restoration.
10495 It is still experimental and disabled by default.
10496 * desktop.el (desktop--save-windows): Put the selected frame at
10497 the head of the list.
10498 (desktop--make-full-frame): New function.
10499 (desktop--restore-windows): Try to re-select the frame that was
10500 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
10501 just show an error message and continue. Set up maximized frames
10502 so they have default non-maximized dimensions.
a47cbd64 10503
6dbafa30
DG
105042013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10505
ef099a94
MN
10506 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10507 Don't start heredoc inside a string or comment.
6dbafa30 10508
4c672a0f
EZ
105092013-06-29 Eli Zaretskii <eliz@gnu.org>
10510
10511 * bindings.el (visual-order-cursor-movement): New defcustom.
10512 (right-char, left-char): Provide visual-order cursor motion by
10513 calling move-point-visually. Update the doc strings.
10514
50960f36
KH
105152013-06-28 Kenichi Handa <handa@gnu.org>
10516
10517 * international/mule.el (define-coding-system): New coding system
10518 properties :inhibit-null-byte-detection,
10519 :inhibit-iso-escape-detection, and :prefer-utf-8.
10520 (set-buffer-file-coding-system): If :charset-list property of
10521 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10522 appropriate for setting.
10523
c1ea3abf
JB
10524 * international/mule-cmds.el (select-safe-coding-system):
10525 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10526 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
10527
10528 * international/mule-conf.el (prefer-utf-8): New coding system.
10529 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10530 files.
10531
75dbaf9d
IK
105322013-06-28 Ivan Kanis <ivan@kanis.fr>
10533
eadb6068
IK
10534 * net/shr.el (shr-render-region): New function.
10535
75dbaf9d
IK
10536 * net/eww.el: Autoload `eww-browse-url'.
10537
9ea5cf9f
DG
105382013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10539
c1ea3abf
JB
10540 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10541 Adapt to `package-desc-version' being a list.
10542 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
10543 archive element.
10544
39c0e36f
JB
105452013-06-27 Juanma Barranquero <lekktu@gmail.com>
10546
10547 New experimental feature to save&restore window and frame setup.
10548 * desktop.el (desktop-save-windows): New defcustom.
10549 (desktop--saved-states): New var.
10550 (desktop--excluded-frame-parameters): New defconst.
10551 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10552 (desktop--restore-windows, desktop--save-windows): New functions.
10553 (desktop-save): Call `desktop--save-windows'.
10554 (desktop-read): Call `desktop--restore-windows'.
10555
7f13406b
LMI
105562013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10557
ef099a94 10558 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 10559
1e072639
SB
105602013-06-27 Stephen Berman <stephen.berman@gmx.net>
10561
10562 * info.el (Info-try-follow-nearest-node): Move search for footnote
10563 above search for node name to prevent missing a footnote (bug#14717).
10564
f3e2cbde
SB
105652013-06-27 Stephen Berman <stephen.berman@gmx.net>
10566
10567 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10568
99906aa0
LL
105692013-06-27 Leo Liu <sdl.web@gmail.com>
10570
10571 * net/eww.el (eww-read-bookmarks): Check file size.
10572
539f75f4
SM
105732013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10574
10575 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10576 advice--pending if newdef is nil or an autoload (bug#13820).
10577 (advice-mapc): New function.
10578
843571cb
LMI
105792013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10580
10581 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10582 probably.
23a75d7f 10583 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
10584 (eww-add-bookmark): New command.
10585 (eww-bookmark-mode): New mode and commands.
a285ce99 10586 (eww-add-bookmark): Remove newlines from the title.
47fd571b 10587 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 10588
f2136e1e
GM
105892013-06-26 Glenn Morris <rgm@gnu.org>
10590
eab35f39
GM
10591 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10592 (hfy-size): Handle ttys. (Bug#14668)
10593
f2136e1e
GM
10594 * info-xref.el: Update for Texinfo 5 change in *note format.
10595 (info-xref-node-re, info-xref-note-re): New constants.
10596 (info-xref-check-buffer): Use info-xref-note-re.
10597
a49ff80c
SM
105982013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10599
a343d218
SM
10600 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10601
a49ff80c
SM
10602 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10603 nil terminate the loop (bug#14718).
10604
8308f184
LMI
106052013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10606
10607 * net/eww.el: Rework history traversal. When going forward/back,
10608 put these actions into the history, too, so that they can be
10609 replayed.
26bf2b82 10610 (eww-render): Move the history reset to the correct buffer.
8308f184 10611
ec64c273
JL
106122013-06-25 Juri Linkov <juri@jurta.org>
10613
10614 * files-x.el (modify-dir-local-variable): Change the header comment
10615 in the file with directory local variables. (Bug#14692)
10616
e080a9d7
JL
10617 * files-x.el (read-file-local-variable-value): Add `default'.
10618 (Bug#14710)
10619
bfbc93a1
IK
106202013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10621
10622 * net/eww.el (eww-make-unique-file-name): Create a unique file
10623 name before saving to entering `y' accidentally asynchronously.
10624
106252013-06-25 Ivan Kanis <ivan@kanis.fr>
10626
10627 * net/eww.el (eww-download): New command and keystroke.
10628
16f74f10
LMI
106292013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10630
a49ff80c 10631 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
10632
10633 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10634 be more consistent with Info and dired.
10635
10636 * net/eww.el (eww-mode-map): Ditto.
10637
12059709
SM
106382013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10639
10640 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10641 packages from archives.
10642 (package-archive-contents): Change format; include obsolete packages.
10643 (package-desc): Use `dir' to mark builtin packages.
10644 (package--from-builtin): Set the `dir' field to `builtin'.
10645 (generated-autoload-file, version-control): Declare.
10646 (package-compute-transaction): Change first arg and return value to be
10647 lists of package-descs. Adjust to new package-archive-contents format.
10648 (package--add-to-archive-contents): Adjust to new
10649 package-archive-contents format.
10650 (package-download-transaction): Arg is now a list of package-descs.
10651 (package-install): If `pkg' is a package name, pass it as
10652 a requirement, so it is subject to the usual (e.g. disabled) checks.
10653 (describe-package): Accept package-desc as well.
10654 (describe-package-1): Describe a specific package-desc. Add links to
10655 other package-descs for the same package name.
10656 (package-menu-describe-package): Pass the actual package-desc.
10657 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10658 works correctly.
10659 (package-desc-status): New function.
10660 (package-menu--refresh): New function, extracted
10661 from package-menu--generate.
10662 (package-menu--generate): Use it.
10663 (package-delete): Update package-alist.
10664 (package-menu-execute): Don't call package-initialize.
10665
10666 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10667 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10668 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10669 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10670 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10671 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10672
8bbdea0f
MR
106732013-06-25 Martin Rudalics <rudalics@gmx.at>
10674
10675 * window.el (window--state-get-1): Workaround for bug#14527.
10676 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10677
e82b0991
LMI
106782013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10679
10680 * net/eww.el (eww-back-url): Implement the history by stashing all
10681 the data into a list.
d3f0f918 10682 (eww-forward-url): Allow going forward in the history, too.
e82b0991 10683
c763842b
SM
106842013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10687 for values and use read--expression for expressions (bug#14710).
10688 (read-file-local-variable): Avoid setq.
10689 (read-file-local-variable-mode): Use minor-mode-list.
10690
bceff189
RW
106912013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10692
864c58ca 10693 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
10694 for DOI URLs.
10695
45f431c6
RW
106962013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10697
864c58ca 10698 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
10699 Update imenu-support when dialect changes.
10700
f42d8237
LL
107012013-06-25 Leo Liu <sdl.web@gmail.com>
10702
10703 * ido.el (ido-read-internal): Allow forward slash on windows.
10704
be549ce6
LMI
107052013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10706
10707 * net/eww.el (eww): Start of strings is \\`, not ^.
10708
71d4c19d
IK
107092013-06-24 Ivan Kanis <ivan@kanis.fr>
10710
5196f88a
IK
10711 * net/shr.el (shr-browse-url): Fix interactive spec.
10712
71d4c19d
IK
10713 * net/eww.el (eww): Add a trailing slash to domain names.
10714
ae36ca55
JB
107152013-06-24 Juanma Barranquero <lekktu@gmail.com>
10716
10717 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10718
0ebd92a3
LMI
107192013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10720
bdaa086b
LMI
10721 * net/shr.el (shr-browse-url): Use an external browser if given a
10722 prefix.
10723
c763842b 10724 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 10725
b89fc156
IK
107262013-06-24 Ivan Kanis <ivan@kanis.fr>
10727
10728 * net/eww.el (eww): Work more correctly for file: URLs.
10729 (eww-detect-charset): Allow quoted charsets.
10730 (eww-yank-page-url): New command and keystroke.
10731
18eb4bca
DU
107322013-06-24 Daiki Ueno <ueno@gnu.org>
10733
10734 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10735 file name of gpg executable.
10736 (epg-context-program): New function.
10737 (epg-context-home-directory): New function.
10738 (epg-context-set-program): New function.
10739 (epg-context-set-home-directory): New function.
10740 (epg--start): Use `epg-context-program' instead of
10741 'epg-gpg-program'.
10742 (epg--list-keys-1): Likewise.
10743
6c6268c8
LL
107442013-06-24 Leo Liu <sdl.web@gmail.com>
10745
10746 * ido.el (ido-read-internal): Fix bug#14620.
10747
5e400cb3
JB
107482013-06-23 Juanma Barranquero <lekktu@gmail.com>
10749
10750 * faces.el (face-documentation): Simplify.
10751 (read-face-attribute, tty-find-type, x-resolve-font-name):
10752 Use `string-match-p'.
10753 (list-faces-display): Use `string-match-p'. Simplify.
10754 (face-spec-recalc): Check face to avoid face alias loops.
10755 (read-color): Use `string-match-p' and non-capturing parenthesis.
10756
f3f9606c
LMI
107572013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10758
10759 * net/shr.el (shr-rescale-image): Use the new
10760 :max-width/:max-height functionality.
10761
a3ca09b9
IK
107622013-06-23 Ivan Kanis <ivan@kanis.fr>
10763
10764 * net/eww.el (eww-search-prefix): New variable.
10765 (eww): Use it.
f865b474
IK
10766 (eww-external-browser): New variable.
10767 (eww-mode-map): New keystroke.
10768 (eww-browse-with-external-browser): New command.
a3ca09b9 10769
e854cfc7
IK
10770 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10771
18bb9e21
JB
107722013-06-23 Juanma Barranquero <lekktu@gmail.com>
10773
10774 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10775 Don't skip aligning the next header field when padding is 0;
10776 otherwise, field width is not respected unless the title is as
10777 wide as the field.
10778
5b165ade
SM
107792013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10780
10781 * emacs-lisp/package.el (package-el-version): Remove.
10782 (package-process-define-package): Fix inf-loop.
10783 (package-install): Allow symbols as arguments again.
10784
12adebe9
DG
107852013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10786
10787 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10788 add some more keyword-like methods.
10789 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10790
388573ee
JB
107912013-06-22 Juanma Barranquero <lekktu@gmail.com>
10792
10793 * bs.el (bs-buffer-show-mark): Make defvar-local.
10794 (bs-mode): Use setq-local.
10795
10796 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10797 (emacs-lock--try-unlocking): Make defvar-local.
10798
4582a01c 107992013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 10800
2663dd23
GM
10801 * play/cookie1.el (cookie-apropos): Minor simplification.
10802
3d94f3ad
GM
10803 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10804
f72e2fdb
DG
108052013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10806
10807 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10808 `regexp-opt', it breaks the build during dumping.
10809
73eab938
DG
108102013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10811
c763842b
SM
10812 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10813 Highlight keyword-like methods on Kernel and Module with
73eab938 10814 font-lock-builtin-face.
5cf8176d
DG
10815 (auto-mode-alist): Consolidate different entries into one regexp
10816 and add more *file-s.
73eab938 10817
d26255f6
SB
108182013-06-21 Stephen Berman <stephen.berman@gmx.net>
10819
10820 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10821
10822 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10823 (diary-entry): Use it in the action of this button type instead of
10824 diary-goto-entry.
10825
10826 * calendar/todo-mode.el: New version.
10827 (todo-add-category): Append new category to end of file and give
10828 it the highest number, instead of putting it at the beginning and
10829 giving it 0. Incorporate noninteractive functionality.
10830 (todo-forward-category): Adapt to 1-based category numbering.
10831 Allow skipping over archived categories.
10832 (todo-backward-category): Derive from todo-forward-category.
10833 (todo-backward-item, todo-forward-item): Make noninteractive and
10834 delegate interactive part to new commands. Make sensitive to done items.
10835 (todo-categories): Make value an alist of category names and
10836 vectors of item counts.
10837 (todo-category-beg): Make a defconst.
10838 (todo-category-number): Use 1 instead of 0 as initial value.
10839 (todo-category-select): Make sensitive to overlays, optional item
10840 highlighting and done items.
10841 (todo-delete-item): Make sensitive to overlays and marked and done items.
10842 (todo-edit-item): Make sensitive to overlays and editing of
10843 date/time header optional. Add format checks.
10844 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10845 no-op if point is not on an item. Advertise using todo-edit-quit.
10846 (todo-edit-mode): Make sensitive to new format, font-locking, and
10847 multiple todo files.
10848 (todo-insert-item, todo-insert-item-here): Derive from
10849 todo-basic-insert-item and extend functionality.
10850 (todo-item-end, todo-item-start): Make sensitive to done items.
10851 (todo-item-string): Don't return text properties. Restore point.
10852 (todo-jump-to-category): Make sensitive to multiple todo files and
10853 todo archives. Use extended category completion.
10854 (todo-lower-item, todo-raise-item): Rename to *-priority and
10855 derive from todo-set-item-priority.
10856 (todo-mode): Derive from special-mode. Make sensitive to new
10857 format, font-locking and multiple todo files. Make read-only.
10858 (todo-mode-map): Don't suppress digit keys, so they can supply
10859 prefix arguments. Add many new key bindings.
10860 (todo-prefix): Insert as an overlay instead of file text.
10861 Change semantics from diary date expression to purely visual mark.
10862 (todo-print): Rename to todo-print-buffer. Make buffer display
10863 features printable. Remove option to restrict number of items
10864 printed. Add option to print to file.
10865 (todo-print-function): Rename to todo-print-buffer-function.
10866 (todo-quit): Extend to handle exiting new todo modes.
10867 (todo-remove-item): Make sensitive to overlays.
10868 (todo-save): Extend to buffers of filtered items.
10869 (todo-show): Make sensitive to done items, multiple todo files and
10870 new todo modes. Offer to convert legacy todo file before creating
10871 first new todo file.
10872 (todo-show-priorities): Rename to todo-top-priorities.
10873 Change semantics of value 0.
10874 (todo-top-priorities): Rename to todo-filter-top-priorities,
10875 derive from todo-filter-items and extend functionality.
10876 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10877 and extend functionality to other types of filtered items.
10878 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10879 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10880 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10881 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10882 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10883 (todo-edit-mode-hook, todo-entry-prefix-function)
10884 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10885 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10886 (todo-initials, todo-insert-threshold, todo-item-string-start)
10887 (todo-line-string, todo-menu, todo-mode-hook)
10888 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10889 (todo-print-priorities, todo-remove-separator)
10890 (todo-save-top-priorities-too, todo-string-count-lines)
10891 (todo-string-multiline-p, todo-time-string-format)
10892 (todo-tmp-buffer-name): Remove.
10893 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10894 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10895 (todo-edit-category-diary-inclusion)
10896 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10897 (todo-edit-file, todo-edit-item-date-day)
10898 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10899 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10900 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10901 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10902 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10903 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10904 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10905 (todo-filter-top-priorities-multifile, todo-find-archive)
10906 (todo-find-filtered-items-file, todo-go-to-source-item)
10907 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10908 (todo-jump-to-archive-category, todo-lower-category)
10909 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10910 (todo-move-category, todo-move-item, todo-next-button)
10911 (todo-next-item, todo-padded-string, todo-powerset)
10912 (todo-previous-button, todo-previous-item)
10913 (todo-print-buffer-to-file, todo-raise-category)
10914 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10915 (todo-set-category-number, todo-set-item-priority)
10916 (todo-set-top-priorities-in-category)
10917 (todo-set-top-priorities-in-file, todo-show-categories-table)
10918 (todo-sort-categories-alphabetically-or-numerically)
10919 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10920 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10921 (todo-toggle-item-header, todo-toggle-item-highlighting)
10922 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10923 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10924 (todo-unarchive-items, todo-unmark-category): New commands.
10925 (todo-absolute-file-name, todo-add-to-buffer-list)
10926 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10927 (todo-basic-insert-item, todo-category-completions)
10928 (todo-category-number, todo-category-string-matcher-1)
10929 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10930 (todo-check-format, todo-clear-matches)
10931 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10932 (todo-current-category, todo-date-string-matcher)
10933 (todo-define-insertion-command, todo-diary-expired-matcher)
10934 (todo-diary-goto-entry, todo-diary-item-p)
10935 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10936 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10937 (todo-done-item-section-p, todo-done-separator)
10938 (todo-done-string-matcher, todo-files, todo-filter-items)
10939 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10940 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10941 (todo-insert-category-line, todo-insert-item-from-calendar)
10942 (todo-insert-sort-button, todo-insert-with-overlays)
10943 (todo-insertion-command-name, todo-insertion-key-bindings)
10944 (todo-label-to-key, todo-longest-category-name-length)
10945 (todo-make-categories-list, todo-mode-external-set)
10946 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10947 (todo-modes-set-3, todo-multiple-filter-files)
10948 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10949 (todo-read-category, todo-read-date, todo-read-dayname)
10950 (todo-read-file-name, todo-read-time)
10951 (todo-reevaluate-category-completions-files-defcustom)
10952 (todo-reevaluate-default-file-defcustom)
10953 (todo-reevaluate-filelist-defcustoms)
10954 (todo-reevaluate-filter-files-defcustom)
10955 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10956 (todo-reset-done-separator, todo-reset-done-separator-string)
10957 (todo-reset-done-string, todo-reset-global-current-todo-file)
10958 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10959 (todo-reset-prefix, todo-set-categories)
10960 (todo-set-date-from-calendar, todo-set-show-current-file)
10961 (todo-set-top-priorities, todo-short-file-name)
10962 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10963 (todo-total-item-counts, todo-update-buffer-list)
10964 (todo-update-categories-display, todo-update-categories-sexp)
10965 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10966 New functions.
10967 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10968 New major modes.
10969 (todo-categories, todo-display, todo-edit, todo-faces)
10970 (todo-filtered): New defgroups.
10971 (todo-archived-only, todo-button, todo-category-string, todo-date)
10972 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10973 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10974 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10975 (todo-add-item-if-new-category, todo-always-add-time-string)
10976 (todo-categories-align, todo-categories-archived-label)
10977 (todo-categories-category-label, todo-categories-diary-label)
10978 (todo-categories-done-label, todo-categories-number-separator)
10979 (todo-categories-todo-label, todo-categories-totals-label)
10980 (todo-category-completions-files, todo-completion-ignore-case)
10981 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10982 (todo-done-separator-string, todo-done-string)
10983 (todo-files-function, todo-filter-done-items, todo-filter-files)
10984 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10985 (todo-initial-category, todo-initial-file, todo-item-mark)
10986 (todo-legacy-date-time-regexp, todo-mode-line-function)
10987 (todo-nondiary-marker, todo-number-prefix)
10988 (todo-print-buffer-function, todo-show-current-file)
10989 (todo-show-done-only, todo-show-first, todo-show-with-done)
10990 (todo-skip-archived-categories, todo-top-priorities-overrides)
10991 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10992 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10993 New defcustoms.
10994 (todo-category-done, todo-date-pattern, todo-date-string-start)
10995 (todo-diary-items-buffer, todo-done-string-start)
10996 (todo-filtered-items-buffer, todo-item-start)
10997 (todo-month-abbrev-array, todo-month-name-array)
10998 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10999 (todo-top-priorities-buffer): New defconsts.
11000 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11001 (todo-categories-with-marks, todo-category-string-face)
11002 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11003 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11004 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11005 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11006 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11007 (todo-font-lock-keywords, todo-global-current-todo-file)
11008 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11009 (todo-insertion-commands-args)
11010 (todo-insertion-commands-args-genlist)
11011 (todo-insertion-commands-names, todo-insertion-map)
11012 (todo-key-bindings-t, todo-key-bindings-t+a)
11013 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11014 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11015 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11016 (todo-visited): New variables.
11017
cad5d1cb
GM
110182013-06-21 Glenn Morris <rgm@gnu.org>
11019
11020 * play/cookie1.el (cookie-apropos): Add optional display argument.
11021 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11022 (psychoanalyze-pinhead): Use cookie-doctor.
11023
9e277302
JB
110242013-06-21 Juanma Barranquero <lekktu@gmail.com>
11025
11026 * emacs-lisp/package.el (tar-get-file-descriptor)
11027 (tar--extract): Declare.
11028
c5b0993e
EW
110292013-06-21 Eduard Wiebe <usenet@pusto.de>
11030
11031 Extend flymake's warning predicate to be a function (bug#14217).
11032 * progmodes/flymake.el (flymake-warning-predicate): New.
11033 (flymake-parse-line): Use it.
11034 (flymake-warning-re): Make obsolete alias to
11035 `flymake-warning-predicate'.
11036
a7d2d465
SM
110372013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11038
11039 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11040 (package-obsolete-list): Remove.
11041 (package-activate): Remove min-version argument. Add `force' argument.
11042 Adjust to new package-alist format.
11043 (package-mark-obsolete): Remove.
11044 (package-unpack): Force reload of the package's autoloads.
11045 (package-installed-p): Check builtins if the installed package is not
11046 recent enough.
11047 (package-initialize): Don't reset package-obsolete-list.
11048 Don't specify which package version to activate.
11049 (package-process-define-package, describe-package-1)
11050 (package-menu--generate): Adjust to new package-alist format.
11051
cedf5c9d
JB
110522013-06-21 Juanma Barranquero <lekktu@gmail.com>
11053
11054 * allout-widgets.el (allout-widgets-mode-off)
11055 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11056 (allout-widgets-post-command-business)
11057 (allout-widgets-after-copy-or-kill-function)
11058 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11059 (allout-decorate-item-and-context)
11060 (allout-graphics-modification-handler): Fix typos in docstrings.
11061 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11062
11063 * cmuscheme.el (scheme-start-file): Doc fix.
11064 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11065 (scheme-input-filter): Use `string-match-p'.
11066
11067 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11068
11069 * dired-x.el: Use Dired consistently in docstrings.
11070
11071 * dired.el: Use Dired consistently in docstrings.
11072 (dired-readin, dired-mode): Use `setq-local'.
11073 (dired-switches-alist): Make defvar-local.
11074 (dired-buffers-for-dir): Use `zerop'.
11075 (dired-safe-switches-p, dired-switches-escape-p)
11076 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11077 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 11078 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
11079 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11080 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11081 (dired-toggle-marks, dired-mark-files-containing-regexp)
11082 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11083 (dired-flag-auto-save-files, dired-flag-backup-files):
11084 Use `looking-at-p'.
11085 (dired-mark-files-regexp, dired-build-subdir-alist):
11086 Use `string-match-p', `looking-at-p'.
11087
11088 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11089 (direct-print-region-helper): Use `string-match-p'.
11090
aed838b5
LL
110912013-06-21 Leo Liu <sdl.web@gmail.com>
11092
cedf5c9d
JB
11093 * comint.el (comint-redirect-results-list-from-process):
11094 Fix infinite loop.
aed838b5 11095
d80a808f
LMI
110962013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11097
11098 * net/eww.el (eww-update-header-line-format): Quote % characters.
11099
e7a526e3
GM
111002013-06-21 Glenn Morris <rgm@gnu.org>
11101
11102 * play/cookie1.el (cookie): New custom group.
11103 (cookie-file): New option.
11104 (cookie-check-file): New function.
11105 (cookie): Make it interactive. Make start and end messages optional.
11106 Interactively, display the result. Default to cookie-file.
11107 (cookie-insert): Default to cookie-file.
11108 (cookie-snarf): Make start and end messages optional.
11109 Default to cookie-file. Use with-temp-buffer.
11110 (cookie-read): Rename from read-cookie.
11111 Make start and end messages optional. Default to cookie-file.
11112 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 11113 Do not autoload it.
e7a526e3
GM
11114 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11115 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11116
62efb35e
LL
111172013-06-21 Leo Liu <sdl.web@gmail.com>
11118
11119 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11120
21e3f963
GM
111212013-06-21 Glenn Morris <rgm@gnu.org>
11122
11123 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11124
fd846ab4
SM
111252013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11126 Daniel Hackney <dan@haxney.org>
11127
11128 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11129 Consolidate the single-file vs tarball code.
11130 (package-desc-suffix): New function.
11131 (package-desc-full-name): Don't bother inlining it.
11132 (package-load-descriptor): Return the new package-desc.
11133 (package-mark-obsolete): Remove unused arg `package'.
11134 (package-unpack): Make it work for single files as well.
11135 Make it update package-alist.
11136 (package--make-autoloads-and-stuff): Rename from
11137 package--make-autoloads-and-compile. Don't compile any more.
11138 (package--compile): New function.
11139 (package-generate-description-file): New function, extracted from
11140 package-unpack-single.
11141 (package-unpack-single): Remove.
11142 (package--with-work-buffer): Add indentation and debugging info.
11143 (package-download-single): Remove.
11144 (package-install-from-archive): Rename from package-download-tar, make
11145 it take a pkg-desc, and make it work for single files as well.
11146 (package-download-transaction): Simplify.
11147 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11148 external tar program.
11149 (package-install-from-buffer): Remove `pkg-desc' argument.
11150 Use package-tar-file-info for tar-mode buffers.
11151 (package-install-file): Simplify accordingly.
11152 (package-archive-base): Change to take a pkg-desc.
11153 * tar-mode.el (tar--check-descriptor): New function, extracted from
11154 tar-get-descriptor.
11155 (tar-get-descriptor): Use it.
11156 (tar-get-file-descriptor): New function.
11157 (tar--extract): New function, extracted from tar-extract.
11158 (tar--extract): Use it.
11159 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11160 case the summary uses non-ascii. Adjust to new calling convention of
11161 package-tar-file-info.
11162
b7deae5e
LL
111632013-06-21 Leo Liu <sdl.web@gmail.com>
11164
fd846ab4
SM
11165 * comint.el (comint-redirect-results-list-from-process):
11166 Fix random delay. (Bug#14681)
b7deae5e 11167
7a65a0b2
JB
111682013-06-21 Juanma Barranquero <lekktu@gmail.com>
11169
11170 * profiler.el (profiler-format-number): Use log, not log10.
11171
1493c2af
JB
111722013-06-20 Juanma Barranquero <lekktu@gmail.com>
11173
11174 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11175
aff6371e
SM
111762013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11179 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11180 yet available.
11181 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11182 (AUTOGENEL): ... here.
11183 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11184 (cl--defsubst-expand): Use it.
11185
89561f72
PE
111862013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11187
11188 * subr.el (log10): Move here from C code, and declare as obsolete.
11189 All uses of (log10 X) replaced with (log X 10).
11190
47199123
JB
111912013-06-20 Juanma Barranquero <lekktu@gmail.com>
11192
11193 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11194 Declare with `defvar-local'.
11195 (tabulated-list-use-header-line, tabulated-list-entries)
11196 (tabulated-list-padding, tabulated-list-printer)
11197 (tabulated-list-sort-key): Declare with `defvar-local'.
11198 (tabulated-list-init-header, tabulated-list-print-fake-header):
11199 Use `setq-local'.
11200
4a172eab
MA
112012013-06-20 Michael Albinus <michael.albinus@gmx.de>
11202
47199123
JB
11203 * arc-mode.el (archive-mode): Add `archive-write-file' to
11204 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 11205
5fc0acc0
JB
112062013-06-20 Juanma Barranquero <lekktu@gmail.com>
11207
d5b27848
JB
11208 * cus-edit.el (custom-commands): Fix typos.
11209 (custom-display): Fix tooltip text.
11210 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11211 Fix typos in docstrings.
11212 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11213 (custom-unlispify-menu-entry, custom-magic-value-create)
11214 (custom-add-see-also, custom-group-value-create): Use ?\s.
11215 (custom-guess-type, customize-apropos, editable-field)
11216 (custom-face-value-create): Use `string-match-p'.
11217 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11218
11219 * custom.el (custom-load-symbol): Use `string-match-p'.
11220
a5c581d8
JB
11221 * ansi-color.el: Convert to lexical binding.
11222 (ansi-colors): Fix URL.
11223 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11224 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11225 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11226
970ad972
G
112272013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11228
11229 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11230
11231 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11232
112332013-06-19 Tom Tromey <tromey@redhat.com>
11234
11235 * net/eww.el (eww-top-url): Remove.
11236 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11237 (eww-render): Set new variables. Don't set eww-top-url.
11238 (eww-handle-link): Handle "prev", "home", and "contents".
11239 Downcase the rel text.
11240 (eww-top-url): Choose best top URL.
11241
112422013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11243
11244 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11245 relying in widget.el. Using widget.el leads to too many
11246 user interface inconsistencies.
11247 (eww-self-insert): Implement entering commands in text fields.
11248 (eww-process-text-input): New function to make text input field editing
11249 work.
11250 (eww-submit): Rewrite to use the new-style form methods.
11251 (eww-select-display): Display the correct selected item.
11252 (eww-change-select): Implement changing the select value.
11253 (eww-toggle-checkbox): Implement radio/checkboxes.
11254 (eww-update-field): Fix compilation error.
11255 (eww-tag-textarea): Implement <textarea>.
11256
11257 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11258 we don't shadow mode-specific bindings.
11259
11260 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11261 nothing to push.
11262
11263 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11264
4582a01c 112652013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
11266
11267 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11268
15b263dc
MA
112692013-06-19 Michael Albinus <michael.albinus@gmx.de>
11270
11271 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11272 not needed.
11273
11274 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11275
8f5297f7
LMI
112762013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11277
11278 * net/browse-url.el (browse-url-browser-function):
11279 `eww-browse-url' has the right calling signature, `eww' does not.
11280
011c4552
GM
112812013-06-19 Glenn Morris <rgm@gnu.org>
11282
2285bd27
GM
11283 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11284 Only eval autoloaded macros.
11285 (byte-compile-autoload): Only give the macro warning for macros.
11286
1d653303
GM
11287 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11288 (ps-underlined-faces): Declare.
11289
bdd779ec
GM
11290 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11291 (speedbar-add-supported-extension): Declare.
11292
011c4552
GM
11293 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11294 Don't include a date stamp in the header of the generated file;
11295 it leads to needless differences between output files.
11296
e59dfb0e
MA
112972013-06-19 Michael Albinus <michael.albinus@gmx.de>
11298
c763842b
SM
11299 * net/secrets.el (secrets-struct-secret-content-type):
11300 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 11301 Some servers do not offer introspection.
e59dfb0e 11302
102626e2
SM
113032013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11304
11305 * electric.el (electric-pair-mode): Improve interaction with
11306 electric-layout-mode.
11307 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11308 (electric-pair-syntax): Use text-mode-syntax-table in comments
11309 and strings.
11310 (electric-pair--insert): New function.
11311 (electric-pair-post-self-insert-function): Use it and
11312 electric--after-char-pos.
11313
ad528125
LL
113142013-06-19 Leo Liu <sdl.web@gmail.com>
11315
11316 * progmodes/octave.el (octave-help): Fix regexp.
11317
924d6997
G
113182013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11319
11320 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11321 (shr-table-horizontal-line): Allow nil as a value, and change the
11322 default.
11323 (shr-insert-table-ruler): Respect the nil value.
11324
113252013-06-18 Tom Tromey <tromey@barimba>
11326
11327 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11328 New defvars.
11329 (eww-open-file): New defun.
11330 (eww-render): Initialize new variables.
11331 (eww-display-html): Handle "link" and "a".
11332 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11333 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11334 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
11335 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11336 New defuns.
924d6997 11337
d1bbba4f
DG
113382013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11339
11340 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11341 Distinguish ternary operator tokens from slash symbol and slash
11342 char literal.
11343
14dd22d2
JB
113442013-06-18 Juanma Barranquero <lekktu@gmail.com>
11345
11346 Convert symbol prettification into minor mode and global minor mode.
11347
11348 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11349 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11350 (prettify-symbols--keywords): Rename from
11351 `prog-prettify-symbols-alist' and make a local defvar.
11352 (prettify-symbols--compose-symbol): Rename from
11353 `prog--prettify-font-lock-compose-symbol'.
11354 (prettify-symbols--make-keywords): Rename from
11355 `prog-prettify-font-lock-symbols-keywords' and simplify.
11356 (prog-prettify-install): Remove.
11357 (prettify-symbols-mode): New minor mode, based on
11358 `prog-prettify-install'.
11359 (turn-on-prettify-symbols-mode): New function.
11360 (global-prettify-symbols-mode): New globalized minor mode.
11361
11362 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11363 * progmodes/cfengine.el (cfengine3-mode):
11364 * progmodes/perl-mode.el (perl-mode): Don't call
11365 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11366
292c880c
JL
113672013-06-18 Juri Linkov <juri@jurta.org>
11368
11369 * files-x.el (modify-file-local-variable-message): New function.
11370 (modify-file-local-variable)
11371 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11372 and call `modify-file-local-variable-message' when it's non-nil.
11373 (add-file-local-variable, delete-file-local-variable)
11374 (add-file-local-variable-prop-line)
11375 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11376 and use it. (Bug#9820)
11377
0950aa27
JL
113782013-06-18 Juri Linkov <juri@jurta.org>
11379
11380 * emulation/vi.el (vi-shell-op):
11381 * emulation/vip.el (vip-execute-com, ex-command):
11382 * emulation/viper-cmd.el (viper-exec-bang):
11383 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11384 the call of `shell-command-on-region'. (Bug#14637)
11385
11386 * simple.el (shell-command-on-region): Doc fix.
11387
8fbcca16
SM
113882013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11389
11390 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11391 (bug#14633).
11392
dd7426ea
GM
113932013-06-18 Glenn Morris <rgm@gnu.org>
11394
4ba54f7d
GM
11395 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11396
dd7426ea
GM
11397 * newcomment.el (comment-search-forward, comment-search-backward):
11398 Doc fix. (Bug#14376)
11399
58aa805b
JB
114002013-06-18 Juanma Barranquero <lekktu@gmail.com>
11401
11402 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11403 (buffer-face-mode-invoke): Doc fix.
11404
9a08a617
MM
114052013-06-18 Matthias Meulien <orontee@gmail.com>
11406
11407 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 11408 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 11409
f2f426ca
GM
114102013-06-18 Glenn Morris <rgm@gnu.org>
11411
9445f99b
GM
11412 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11413 Replace obsolete function generic-make-keywords with its expansion.
11414
e0df2d14
GM
11415 * progmodes/python.el (ffap-alist): Declare.
11416
f2f426ca
GM
11417 * textmodes/reftex.el (bibtex-mode-map): Declare.
11418
f7f9a720
SM
114192013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11422 (package-unpack, package-unpack-single): Return the pkg-dir.
11423 (package-download-transaction): Use it to update package-alist.
11424
57ff04e0
LMI
114252013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11426
11427 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11428 possible choice.
11429
c048c022
JL
114302013-06-17 Juri Linkov <juri@jurta.org>
11431
11432 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11433
b5bcaee5
DG
114342013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11435
a020afb9
JB
11436 * emacs-lisp/package.el (package-load-descriptor):
11437 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
11438 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11439
551e07e5
JB
114402013-06-17 Juanma Barranquero <lekktu@gmail.com>
11441
11442 * startup.el (command-line): Expand package name returned by
11443 `package--description-file' (bug#14639).
11444
d363bffb
DG
114452013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11446
11447 * emacs-lisp/package.el (package-load-descriptor): Do not call
11448 `emacs-lisp-mode', just use its syntax table.
11449
f612933b
JB
114502013-06-17 Juanma Barranquero <lekktu@gmail.com>
11451
11452 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11453 `font-lock-extra-managed-props' if any prettifying keyword is added.
11454 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11455 (prog-mode): Use `setq-local'.
11456
db3b7db5
SM
114572013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * international/characters.el (standard-case-table): Set syntax of ?»
11460 and ?« to punctuation.
11461
f3d674df
JB
114622013-06-16 Juanma Barranquero <lekktu@gmail.com>
11463
11464 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11465 Save relevant match data before calling `syntax-ppss' (bug#14595).
11466
31489a32
JL
114672013-06-15 Juri Linkov <juri@jurta.org>
11468
11469 * files-x.el (modify-file-local-variable-prop-line): Add local
11470 variables to the end of the existing comment on the first line.
11471 Use `file-auto-mode-skip' to skip interpreter magic line,
11472 and also skip XML declaration.
11473
66bd25ab
SM
114742013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11475
11476 * startup.el (package--builtin-versions): New var.
11477 (package-subdirectory-regexp): Remove.
11478 (package--description-file): Hard code its value instead.
11479
11480 * emacs-lisp/package.el: Don't activate packages older than builtin.
11481 (package-obsolete-list): Rename from package-obsolete-alist, and make
11482 it into a simple list of package-desc.
11483 (package-strip-version): Remove.
11484 (package-built-in-p): Use package--builtin-versions.
11485 (package-mark-obsolete): Simplify.
11486 (package-process-define-package): Mark it obsolete if older than the
11487 builtin version.
11488 (package-handle-response): Use line-end-position.
11489 (package-read-archive-contents, package--download-one-archive):
11490 Simplify.
11491 (package--add-to-archive-contents): Skip if older than the builtin or
11492 installed version.
11493 (package-menu-describe-package): Fix last change.
11494 (package-list-unversioned): New var.
11495 (package-menu--generate): Use it.
11496
11497 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11498 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11499 (autoload-builtin-package-versions): New variable.
11500 (autoload-generate-file-autoloads): Use them.
11501 Remove the list of autoloaded functions/macros from the
11502 (autoload...) comments.
11503
11504 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11505
9583ec36
EZ
115062013-06-15 Eli Zaretskii <eliz@gnu.org>
11507
11508 * simple.el (line-move-partial): Don't jump to the next screen
11509 line as soon as it becomes visible. Instead, continue enlarging
11510 the vscroll until the portion of a tall screen line that's left on
11511 display is about the height of the frame's default font.
11512 (Bug#14567)
11513
f0100d8a
GM
115142013-06-15 Glenn Morris <rgm@gnu.org>
11515
b86a85ca
GM
11516 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11517 compilation-error-regexp-alist void, or local while let-bound.
11518
f0100d8a
GM
11519 * progmodes/make-mode.el (makefile-mode-syntax-table):
11520 Treat "=" as punctuation. (Bug#14614)
11521
05e7ce90
JB
115222013-06-15 Juanma Barranquero <lekktu@gmail.com>
11523
11524 * help-fns.el (describe-variable):
11525 Add extra line for permanent-local variables.
11526
12e5e86e
SH
115272013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11528
11529 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11530 Add export, import, library. (Bug#9164)
11531 (library): Set indent function.
11532
230dcbaf
GM
115332013-06-14 Glenn Morris <rgm@gnu.org>
11534
11535 * term/xterm.el (xterm--query):
11536 Stop after first matching handler. (Bug#14615)
11537
e36b2d20 115382013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
11539
11540 Add support for dired in saveplace.
11541 * dired.el (dired-initial-position-hook): New variable.
11542 (dired-initial-position): Call hook to place cursor position.
11543 * saveplace.el (save-place-to-alist): Add dired position.
11544 (save-place-dired-hook): New function.
11545
0b31660d
SM
115462013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11547
bf1e6ae8
SM
11548 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11549 through a symbol rather than letrec.
11550
1b8dff23
SM
11551 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11552 (package-desc): Add `dir' field.
11553 (package-desc-full-name): New function.
11554 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11555 (package-maybe-load-descriptor): Remove.
11556 (package-load-all-descriptors): Just call package-load-descriptor.
11557 (package--disabled-p): New function.
11558 (package-desc-vers, package-desc-doc): Remove aliases.
11559 (package--dir): Remove function.
11560 (package-activate): Check if a package is disabled.
11561 (package-process-define-package): New function, extracted from
11562 define-package.
11563 (define-package): Turn into a place holder.
11564 (package-unpack-single, package-tar-file-info):
11565 Use package--description-file.
11566 (package-compute-transaction): Use package--disabled-p.
11567 (package-download-transaction): Don't call
11568 package-maybe-load-descriptor since they're all loaded anyway.
11569 (package-install): Change argument to be a pkg-desc.
11570 (package-delete): Use a single pkg-desc argument.
11571 (describe-package-1): Use package-desc-dir instead of package--dir.
11572 Use package-desc property instead of package-symbol.
11573 (package-install-button-action): Adjust accordingly.
11574 (package--push): Rewrite.
11575 (package-menu--print-info): Adjust accordingly. Change the ID format
11576 to be a pkg-desc.
11577 (package-menu-describe-package, package-menu-get-status)
11578 (package-menu--find-upgrades, package-menu-mark-upgrades)
11579 (package-menu-execute, package-menu--name-predicate):
11580 Adjust accordingly.
11581 * startup.el (package--description-file): New function.
11582 (command-line): Use it.
11583 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11584 Use package-desc-version.
11585
0b31660d
SM
11586 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11587 (byte-compile-preprocess): Use it.
11588 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11589 can't quite recognize.
11590 (byte-compile-add-to-list): Remove.
11591 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11592 (cconv-closure-convert): Add assertion.
11593
11594 * emacs-lisp/map-ynp.el: Use lexical-binding.
11595 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11596 Factor out some repeated code.
11597
de0503df
SM
115982013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * subr.el (with-eval-after-load): New macro.
11601 (eval-after-load): Allow form to be a function.
11602 take advantage of lexical-binding.
11603 (do-after-load-evaluation): Use dolist and adjust to new format.
11604 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11605
bc5c8c5a
JL
116062013-06-13 Juri Linkov <juri@jurta.org>
11607
11608 * replace.el (perform-replace): Display "symbol " and other search
11609 modes from `isearch-message-prefix' in the *Help* buffer.
11610
11611 * isearch.el (isearch-query-replace): Add " symbol" and other
11612 possible search modes from `isearch-message-prefix' to the prompt.
11613 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11614 when reading a regexp to collect.
11615
a22289f7
JL
116162013-06-13 Juri Linkov <juri@jurta.org>
11617
11618 * isearch.el (word-search-regexp): Match whitespace if the search
11619 string begins or ends in whitespace. The LAX arg is applied to
11620 both ends of the search string. Use `regexp-quote' and explicit
11621 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11622 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11623 boundaries are replaced with symbol boundaries, and characters
11624 between symbols match non-word non-symbol syntax. (Bug#14602)
11625
cb89acab
JL
116262013-06-13 Juri Linkov <juri@jurta.org>
11627
11628 * isearch.el (isearch-del-char): Don't exceed the length of
11629 `isearch-string' by the prefix arg. (Bug#14563)
11630
6e8cfc81
JL
116312013-06-13 Juri Linkov <juri@jurta.org>
11632
11633 * isearch.el (isearch-yank-word, isearch-yank-line)
11634 (isearch-char-by-name, isearch-quote-char)
11635 (isearch-printing-char, isearch-process-search-char):
11636 Add optional count prefix arg. (Bug#14563)
11637
11638 * international/isearch-x.el
11639 (isearch-process-search-multibyte-characters):
11640 Add optional count prefix arg.
11641
c23d55f4
VS
116422013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11645 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11646 lexical-binding.
11647
116482013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11649
11650 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11651
ba947bc4
GM
116522013-06-13 Glenn Morris <rgm@gnu.org>
11653
8baeb37a
GM
11654 * startup.el (tty-handle-args):
11655 Don't just discard "--" and anything after. (Bug#14608)
11656
ba947bc4
GM
11657 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11658
9abefce4
MA
116592013-06-13 Michael Albinus <michael.albinus@gmx.de>
11660
11661 Implement changes in Secret Service API. Make it backward compatible.
11662 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11663 (secrets-create-item): Use it. Prefix properties with interface.
11664
5755011f
MH
116652013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11666
11667 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11668 (term-emulate-terminal): Respect term-suppress-hard-newline.
11669
1261d2da
S
116702013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11671
11672 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11673 Only remove a `thumb-file' overlay. (Bug#14548)
11674
868490bb
GJ
116752013-06-12 Grégoire Jadi <daimrod@gmail.com>
11676
11677 * mail/reporter.el (reporter-submit-bug-report):
11678 Handle missing package-name. (Bug#14600)
11679
79d7167f
TH
116802013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11681
11682 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11683 (reftex-citation-prompt, reftex-default-bibliography)
11684 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11685 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11686 (reftex-bib-sort-author, reftex-bib-sort-year)
11687 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11688 (reftex-extract-bib-entries-from-thebibliography)
11689 (reftex-get-bibkey-default, reftex-get-bib-names)
11690 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11691 (reftex-format-bib-entry, reftex-parse-bibitem)
11692 (reftex-format-bibitem, reftex-do-citation)
11693 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11694 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11695 (reftex-insert-bib-matches, reftex-format-citation)
11696 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11697 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11698 existing comments into docstrings.
11699
5f9dbd7a
XF
117002013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11701
11702 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11703
94df41ab
AS
117042013-06-12 Andreas Schwab <schwab@suse.de>
11705
11706 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11707 for auto-save files.
11708
a7f3fecc
GM
117092013-06-12 Glenn Morris <rgm@gnu.org>
11710
001809f6
GM
11711 * ido.el (ido-delete-ignored-files): Remove.
11712 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11713 Go back to calling ido-ignore-item-p directly.
a7f3fecc 11714
834b5ded
EL
117152013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11716
08c73ed2
EL
11717 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11718
834b5ded
EL
11719 * ido.el (ido-delete-ignored-files): New function,
11720 split from ido-make-file-list-1.
11721 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11722 (ido-make-file-list-1): Use ido-delete-ignored-files.
11723
daabf15a
LL
117242013-06-12 Leo Liu <sdl.web@gmail.com>
11725
11726 * progmodes/octave.el (inferior-octave-startup)
11727 (inferior-octave-completion-table)
11728 (inferior-octave-track-window-width-change)
11729 (octave-eldoc-function-signatures, octave-help)
11730 (octave-find-definition): Use single quoted strings.
11731 (inferior-octave-startup-args): Change default value.
11732 (inferior-octave-startup): Do not hard code "-i" and
11733 "--no-line-editing".
11734 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11735 (inferior-octave-directory-tracker): Use it.
11736 (octave-goto-function-definition): Robustify.
11737 (octave-help): Support highlighting operators in 'See also'.
11738 (octave-find-definition): Find subfunctions only in Octave mode.
11739
cf4e5178
SM
117402013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11741
11742 * help-fns.el (help-fns--compiler-macro): If the handler function is
11743 named, then put a link to it.
11744 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11745 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11746 (cl-typep): Use it.
11747 (cl-eval-when): Simplify debug spec.
11748 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11749 compiler-macro function instead of setting `compiler-macro-file'.
11750
99c81280 117512013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
11752
11753 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11754 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11755
f56be016
SM
117562013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11757 Daniel Hackney <dan@haxney.org>
11758
11759 First part of Daniel Hackney's patch to package.el.
11760 * emacs-lisp/package.el: Use defstruct.
11761 (package-desc): New, main struct.
11762 (package--bi-desc, package--ac-desc): New structs, used to describe the
11763 format in external files.
11764 (package-desc-vers): Replace with package-desc-version accessor.
11765 (package-desc-doc): Replace with package-desc-summary accessor.
11766 (package-activate-1): Remove `package' arg since the pkg-vec now
11767 includes the name.
11768 (define-package): Use package-desc-from-define.
11769 (package-unpack-single): Change file-name arg to be a symbol.
11770 (package--add-to-archive-contents): Use package-desc-create and new
11771 accessor functions to package--ac-desc.
11772 (package-buffer-info, package-tar-file-info): Return a package-desc.
11773 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11774 arg to be a package-desc.
11775 (package-install-file): Adjust accordingly. Use \' to match EOS.
11776 (package--from-builtin): New function.
11777 (describe-package-1, package-menu--generate): Use it.
11778 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11779 (package-generate-autoloads): Idem and return the name of the file.
11780 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11781 Change pkg-info arg to be a package-desc.
11782 Use package-make-ac-desc.
11783 (package-upload-file): Use \' to match EOS.
11784 * finder.el (finder-compile-keywords): Use package-make-builtin.
11785
31119d63
SM
117862013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11787
931a2762
SM
11788 * vc/vc.el (vc-deduce-fileset): Change error message.
11789 (vc-read-backend): New function.
11790 (vc-next-action): Use it.
11791
5a3eb0c6
SM
11792 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11793
e3eb1bb7
SM
11794 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11795 (prolog-font-lock-keywords): Use regexp-opt instead.
11796 Don't manually highlight strings.
11797 (prolog-mode-variables): Simplify comment-start-skip.
11798 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11799
31119d63
SM
11800 * emacs-lisp/generic.el (generic--normalise-comments)
11801 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11802 (generic-mode-set-comments): Use them.
11803 (generic-bracket-support): Use setq-local.
11804 (generic-make-keywords-list): Declare obsolete.
11805
7de135d0
GM
118062013-06-11 Glenn Morris <rgm@gnu.org>
11807
11808 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11809 Prettify after setting font-lock-defaults. (Bug#14574)
11810
fa6bc6fd
JB
118112013-06-11 Juanma Barranquero <lekktu@gmail.com>
11812
11813 * replace.el (query-replace, occur-read-regexp-defaults-function)
11814 (replace-search):
11815 * subr.el (declare-function, number-sequence, local-set-key)
11816 (substitute-key-definition, locate-user-emacs-file)
11817 (with-silent-modifications, split-string, eval-after-load):
11818 Fix typos, remove unneeded backslashes and reflow some docstrings.
11819
cf1f9b9a
SM
118202013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11821
11822 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11823 default for Elisp files.
11824
56602a4b
GM
118252013-06-11 Glenn Morris <rgm@gnu.org>
11826
11827 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11828 although define-derived-mode was doing this anyway. (Bug#14583)
11829
30ae0b2c
JB
118302013-06-10 Juanma Barranquero <lekktu@gmail.com>
11831
11832 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11833 Fix make-variable-buffer-local call to refer to the correct variable.
11834
fa472906
AG
118352013-06-10 Aidan Gauland <aidalgol@amuri.net>
11836
11837 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
11838 (eshell-visual-subcommands, eshell-visual-options):
11839 Add summary line to docstrings. Add cross-references.
fa472906 11840
ff4871b9
GM
118412013-06-10 Glenn Morris <rgm@gnu.org>
11842
11843 * epa.el (epa-read-file-name): New function. (Bug#14510)
11844 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11845
04fcf1b0
AG
118462013-06-09 Aidan Gauland <aidalgol@amuri.net>
11847
11848 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11849 output redirection to be ignored with visual commands.
11850
88b00caa
AG
118512013-06-09 Aidan Gauland <aidalgol@amuri.net>
11852
11853 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
11854 (eshell-term-initialize): Move long lambda to separate function
11855 eshell-visual-command-p.
27821a89 11856 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
11857 * eshell/em-script.el (eshell-script-initialize):
11858 Add missing #' to lambda.
88b00caa 11859
fda74125
LL
118602013-06-08 Leo Liu <sdl.web@gmail.com>
11861
11862 * progmodes/octave.el (octave-add-log-current-defun): New function.
11863 (octave-mode): Set add-log-current-defun-function.
11864 (octave-goto-function-definition): Do not move point if not found.
11865 (octave-find-definition): Enhance to try subfunctions first.
11866
467f3b33
GM
118672013-06-08 Glenn Morris <rgm@gnu.org>
11868
11869 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11870 (byte-compile-backward-char, byte-compile-backward-word):
11871 Improve previous change, to handle non-explicit nil.
11872
544badc3
SM
118732013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11874
11875 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11876 (smie--opener/closer-at-point): New function.
11877 (smie--matching-block-data): Use it. Don't match from right after an
11878 opener or right before a closer. Obey smie-blink-matching-inners.
11879 Don't signal a mismatch for repeated inners like "switch..case..case".
11880
a175bf33
LL
118812013-06-07 Leo Liu <sdl.web@gmail.com>
11882
11883 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11884 to t. (Bug#14303)
ce8209d4
LL
11885 (octave-function-header-regexp): Fix. (Bug#14570)
11886 (octave-help-mode-finish-hook, octave-help-mode-finish):
11887 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
11888
11889 * newcomment.el (comment-search-backward): Revert last change.
11890 (Bug#14434)
11891
11892 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11893
a822acff
EZ
118942013-06-07 Eli Zaretskii <eliz@gnu.org>
11895
11896 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11897 through xargs, to avoid failure due to MS-Windows limitations on
11898 command-line length.
11899
961166f5
GM
119002013-06-06 Glenn Morris <rgm@gnu.org>
11901
d0341459
GM
11902 * font-lock.el (lisp-font-lock-keywords-2):
11903 Treat user-error like error.
11904
961166f5
GM
11905 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11906 (byte-compile-backward-char, byte-compile-backward-word):
11907 Handle explicit nil arguments. (Bug#14565)
11908
80fa505f
AM
119092013-06-05 Alan Mackenzie <acm@muc.de>
11910
11911 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 11912 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 11913 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 11914 (Bug#9706)
80fa505f 11915
fccdc796
SM
119162013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11917
11918 * autorevert.el (auto-revert-notify-handler): Use memq.
11919 Hide assertion failure.
11920
11921 * skeleton.el: Use cl-lib.
11922 (skeleton-further-elements): Use defvar-local.
11923 (skeleton-insert): Use cl-progv.
11924
9bfff84b
TZ
119252013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11926
11927 * progmodes/prog-mode.el (prog-prettify-symbols)
11928 (prog-prettify-install): Update docstrings.
11929
55577e7c
SM
119302013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11931
11932 * simple.el: Move all the prog-mode code to prog-mode.el.
11933 * progmodes/prog-mode.el: New file.
11934 * loadup.el: Add prog-mode.el.
11935
8fc57765
TZ
119362013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11937
11938 * simple.el (prog-prettify-symbols): Add version.
11939 (prog-prettify-install): Add convenience function to prettify symbols.
11940
11941 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11942 (perl--augmented-font-lock-keywords-1)
11943 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11944 variables and use it.
11945
11946 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11947 (cfengine3-mode): Remove unneeded variable and use it.
11948
11949 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11950 (lisp--augmented-font-lock-keywords-1)
11951 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11952 Remove unneeded variables and use it.
11953
650645d5 119542013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11955
11956 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11957 to point when opening the connection. (Bug#14380)
28f5da6d 11958
781b4af6
SM
119592013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11960
11961 * subr.el (load-history-regexp, load-history-filename-element)
11962 (eval-after-load, after-load-functions, do-after-load-evaluation)
11963 (eval-next-after-load, display-delayed-warnings)
11964 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11965 definition of save-match-data.
11966 (overriding-local-map): Remove accidental obsolescence declaration.
11967
11968 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11969
3ca0d0b4
TZ
119702013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11971
11972 Generalize symbol prettify support to prog-mode and implement it
11973 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11974 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11975 (prog--prettify-font-lock-compose-symbol)
11976 (prog-prettify-font-lock-symbols-keywords): New variables and
11977 functions to support symbol prettification.
11978 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11979 (lisp--augmented-font-lock-keywords-1)
11980 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11981 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11982 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11983 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11984 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11985 * progmodes/perl-mode.el (perl-prettify-symbols)
11986 (perl--font-lock-compose-symbol)
11987 (perl--font-lock-symbols-keywords): Move to prog-mode.
11988 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11989 (perl-font-lock-keywords-1)
11990 (perl-font-lock-keywords-2): Remove explicit prettify support.
11991 (perl--augmented-font-lock-keywords)
11992 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11993 (perl--augmented-font-lock-keywords-2, perl-mode):
11994 Implement prettify support.
3ca0d0b4 11995
976cb066
LL
119962013-06-05 Leo Liu <sdl.web@gmail.com>
11997
27821a89 11998 Re-implement SMIE matching block highlight using
976cb066
LL
11999 show-paren-data-function. (Bug#14395)
12000 * emacs-lisp/smie.el (smie-matching-block-highlight)
12001 (smie--highlight-matching-block-overlay)
12002 (smie--highlight-matching-block-lastpos)
12003 (smie-highlight-matching-block)
12004 (smie-highlight-matching-block-mode): Remove.
12005 (smie--matching-block-data-cache): New variable.
12006 (smie--matching-block-data): New function.
12007 (smie-setup): Use smie--matching-block-data for
12008 show-paren-data-function.
12009
12010 * progmodes/octave.el (octave-mode-menu): Fix.
12011 (octave-find-definition): Skip garbage lines.
12012
208d0342
SM
120132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12014
12015 Fix compilation error with simultaneous dynamic+lexical scoping.
12016 Add warning when a defvar appears after the first let-binding.
12017 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12018 (byte-compile-close-variables): Initialize it.
12019 (byte-compile--declare-var): New function.
12020 (byte-compile-file-form-defvar)
12021 (byte-compile-file-form-define-abbrev-table)
12022 (byte-compile-file-form-custom-declare-variable): Use it.
12023 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12024 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12025 (byte-compile-bind): Handle dynamic bindings that shadow
12026 lexical bindings.
12027 (byte-compile-unbind): Make arg non-optional.
12028 (byte-compile-let): Simplify.
12029 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12030 (cconv--analyse-function, cconv-analyse-form): Populate it.
12031 Protect byte-compile-bound-variables to limit the scope of defvars.
12032 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12033 Remove unneeded rule for `declare'.
12034
12035 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12036 so as to avoid depending on cl-adjoin at run-time.
12037 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12038
12039 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12040 (macroexp--warn-and-return): Use it.
12041
1ac2891e
GM
120422013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12043
a12bf61e 12044 * subr.el: Convert to lexical binding.
1ac2891e
GM
12045 (overriding-local-map): Make obsolete.
12046 (add-to-list): Doc fix. Add compiler macro.
12047 (read-key): Swap values of local maps.
12048
2587b005
LL
120492013-06-05 Leo Liu <sdl.web@gmail.com>
12050
12051 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12052
f1da3c88
LL
120532013-06-04 Leo Liu <sdl.web@gmail.com>
12054
12055 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12056 (compilation-auto-jump): Suppress the "Mark set" message to give
12057 way to exit message.
12058
3caa391f
AM
120592013-06-04 Alan Mackenzie <acm@muc.de>
12060
12061 Remove faulty optimisation from indentation calculation.
12062 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12063 search limit based on 2000 characters back from indent-point.
12064
068922a2
TH
120652013-06-03 Tassilo Horn <tsdh@gnu.org>
12066
12067 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12068
1f8fdd53
SM
120692013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12070
bbcc4d97
SM
12071 * emacs-lisp/lisp.el: Use lexical-binding.
12072 (lisp--local-variables-1, lisp--local-variables): New functions.
12073 (lisp--local-variables-completion-table): New var.
208d0342 12074 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 12075
1f8fdd53
SM
12076 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12077 eagerly (bug#14422).
12078
c9628c79
MA
120792013-06-03 Michael Albinus <michael.albinus@gmx.de>
12080
12081 * autorevert.el (auto-revert-notify-enabled)
12082 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12083 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12084 (auto-revert-notify-handler): Handle also gfilenotify.
12085
e7b41c4c 12086 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 12087 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 12088 Remove.
c9628c79 12089
e5e4a942
JL
120902013-06-03 Juri Linkov <juri@jurta.org>
12091
12092 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12093 `M-s h .'. (Bug#14427)
12094
12095 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12096 command `hi-lock-face-symbol-at-point'.
12097 (hi-lock-face-symbol-at-point): New command.
12098 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12099 (hi-lock-menu): Add `highlight-symbol-at-point'.
12100 (hi-lock-mode): Doc fix.
12101
12102 * isearch.el (isearch-forward-symbol-at-point): New command.
12103 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12104 (isearch-highlight-regexp): Add a regexp which matches
12105 words/symbols for word/symbol mode.
12106
12107 * subr.el (find-tag-default-bounds): New function with the body
12108 mostly moved from `find-tag-default'.
12109 (find-tag-default): Move most code to `find-tag-default-bounds',
12110 call it and apply `buffer-substring-no-properties' afterwards.
12111
26b3353a
TH
121122013-06-03 Tassilo Horn <tsdh@gnu.org>
12113
781b4af6
SM
12114 * eshell/em-term.el (eshell-term-initialize):
12115 Use `cl-intersection' rather than `intersection'.
26b3353a 12116
51b60f53
XF
121172013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12118
fe054b63 12119 * vc/log-view.el: Doc fix.
d3ffe17c 12120 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 12121
a0eb10b3 121222013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
12123
12124 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12125 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12126 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12127 (eieio-unbound, eieio-default-superclass)
12128 (eieio--define-field-accessors, method-static, method-before)
12129 (method-primary, method-after, method-num-lists)
12130 (method-generic-before, method-generic-primary)
12131 (method-generic-after, method-num-slots)
12132 (eieio-specialized-key-to-generic-key)
12133 (eieio--check-type, class-v, class-p)
12134 (eieio-class-name, define-obsolete-function-alias)
12135 (eieio-class-parents-fast, eieio-class-children-fast)
12136 (same-class-fast-p, class-constructor, generic-p)
12137 (generic-primary-only-p, generic-primary-only-one-p)
12138 (class-option-assoc, class-option, eieio-object-p)
12139 (class-abstract-p, class-method-invocation-order)
12140 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12141 (eieio-class-un-autoload, eieio-defclass)
12142 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12143 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12144 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12145 (eieio-defgeneric-reset-generic-form)
12146 (eieio-defgeneric-form-primary-only)
12147 (eieio-defgeneric-reset-generic-form-primary-only)
12148 (eieio-defgeneric-form-primary-only-one)
12149 (eieio-defgeneric-reset-generic-form-primary-only-one)
12150 (eieio-unbind-method-implementations)
12151 (eieio--defmethod, eieio--typep)
12152 (eieio-perform-slot-validation, eieio-validate-slot-value)
12153 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12154 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12155 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12156 (eieio-slot-name-index, eieio-class-slot-name-index)
12157 (eieio-set-defaults, eieio-initarg-to-attribute)
12158 (eieio-attribute-to-initarg, eieio-c3-candidate)
12159 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12160 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12161 (eieio-class-precedence-list, eieio-generic-call-methodname)
12162 (eieio-generic-call-arglst, eieio-generic-call-key)
12163 (eieio-generic-call-next-method-list)
12164 (eieio-pre-method-execution-functions, eieio-generic-call)
12165 (eieio-generic-call-primary-only, eieiomt-method-list)
12166 (eieiomt-optimizing-obarray, eieiomt-install)
12167 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12168 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 12169 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
12170 (defclass): Remove `eval-and-compile' from macro.
12171 (call-next-method, shared-initialize): Instead of using
12172 `scoped-class' variable, use new eieio--scoped-class, and
12173 eieio--with-scoped-class.
12174 (initialize-instance): Rename local variable 'scoped-class' to
12175 'this-class' to remove ambiguitity from old global.
12176
12177 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12178 eieio.el.
4f405069
JB
12179 (eieio--scoped-class-stack): New variable.
12180 (eieio--scoped-class): New fcn.
890f7890
DE
12181 (eieio--with-scoped-class): New scoping macro.
12182 (eieio-defclass): Use pushnew instead of add-to-list.
12183 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12184 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12185 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12186 `scoped-class' variable, use new eieio--scoped-class, and
12187 eieio--with-scoped-class.
12188
12189 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12190
d105b0e2
TH
121912013-06-02 Tassilo Horn <tsdh@gnu.org>
12192
12193 * eshell/esh-ext.el (eshell-external-command): Pass args to
12194 `eshell-find-interpreter'.
12195 (eshell-find-interpreter): Add new second parameter ARGS.
12196
12197 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 12198 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12199
12200 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 12201 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12202
12203 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12204 (eshell-visual-options): New defcustom.
12205 (eshell-escape-control-x): Adapt docstring.
12206 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12207 `eshell-visual-options' in addition to `eshell-visual-commands'.
12208 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12209
f46305c8 122102013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
12211
12212 * progmodes/python.el (python-indent-block-enders): Add break,
12213 continue and raise keywords.
12214
d870df21
GM
122152013-06-01 Glenn Morris <rgm@gnu.org>
12216
9133b82e
GM
12217 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12218
02c992ec 12219 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
12220 * progmodes/cc-cmds.el (delete-forward-p):
12221 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12222 * progmodes/cc-engine.el (buffer-syntactic-context):
12223 * progmodes/cc-fonts.el (face-property-instance):
12224 * progmodes/cc-mode.el (set-keymap-parents):
12225 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12226 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12227 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
12228 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12229 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 12230
31e7b090
GM
12231 * progmodes/cc-vars.el (other): Emacs has this widget since
12232 at least 21.1, so don't (re)define it.
12233
d870df21
GM
12234 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12235 Replace the obsolete alias pcomplete-arg-quote-list.
12236
c75c93c7
LL
122372013-06-01 Leo Liu <sdl.web@gmail.com>
12238
12239 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12240 punctuation syntax.
12241 (inferior-octave-minimal-columns)
12242 (inferior-octave-last-column-width): New variables.
12243 (inferior-octave-track-window-width-change): New function.
12244 (inferior-octave-mode): Adjust column width so that Octave output,
12245 for example from 'ls', can fit into the window nicely.
12246
973d1e12
DG
122472013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12248
12249 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12250 Highlight expansions inside regexp literals.
12251
0888c286
GM
122522013-05-31 Glenn Morris <rgm@gnu.org>
12253
e26aac1f
GM
12254 * obsolete/sym-comp.el (symbol-complete):
12255 Replace obsolete completion-annotate-function.
12256
0888c286
GM
12257 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12258
19bb8e62
DG
122592013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12260
781b4af6
SM
12261 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12262 New function, checks if point is inside a literal that allows
19bb8e62
DG
12263 expression expansion.
12264 (ruby-syntax-propertize-expansion): Use it.
12265 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12266 around the body.
12267
01dea85f
JL
122682013-05-30 Juri Linkov <juri@jurta.org>
12269
12270 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12271 to "\M-si".
12272 (isearch-invisible): New variable.
12273 (isearch-forward): Doc fix.
12274 (isearch-mode): Set `isearch-invisible'
12275 to the value of `search-invisible'.
12276 (isearch-toggle-case-fold): Doc fix.
12277 (isearch-toggle-invisible): New command.
12278 (isearch-query-replace): Let-bind `search-invisible'
12279 to the value of `isearch-invisible'.
12280 (isearch-search): Use `isearch-invisible' instead of
12281 `search-invisible'. Let-bind `search-invisible'
12282 to the value of `isearch-invisible'. (Bug#11378)
12283
ab1bdce5
JL
122842013-05-30 Juri Linkov <juri@jurta.org>
12285
12286 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12287 call when `query-flag' is nil and `search-invisible' is non-nil.
12288 (Bug#11746)
12289
d6d236e2
GM
122902013-05-30 Glenn Morris <rgm@gnu.org>
12291
8accd027
GM
12292 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12293
2a8bed1c
GM
12294 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12295 (cc-require): Suppress spurious "noruntime" warnings.
12296 (cc-require-when-compile): Use fboundp, for sake of compiler.
12297
d6d236e2
GM
12298 * progmodes/cc-mode.el: Move load of cc-vars before that of
12299 cc-langs (which in turn loads cc-vars), to quieten compiler.
12300
9190b35b
SM
123012013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12302
12303 * paren.el: Simplify the code.
12304 (show-paren-mode): Always start the timer.
12305 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12306 (show-paren--overlay, show-paren--overlay-1): Rename from
12307 show-paren-overlay and show-paren-overlay-1, and initialize to an
12308 overlay rather than to nil.
12309 (show-paren-function): Misc cleanup and simplifications.
12310
4f8d1cf6
SM
123112013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12312
12313 * paren.el (show-paren-data-function): New hook.
12314 (show-paren--default): New function, extracted from show-paren-function.
12315 (show-paren-function): Use show-paren-data-function.
12316
02d844b5
GM
123172013-05-30 Glenn Morris <rgm@gnu.org>
12318
d209d4a9
GM
12319 * ielm.el (ielm-map, ielm-complete-symbol):
12320 Use completion-at-point rather than obsolete functions.
12321 (inferior-emacs-lisp-mode): Doc fix.
12322 Set completion-at-point-functions, rather than
12323 comint-dynamic-complete-functions.
12324
2082faa6
GM
12325 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12326 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12327 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12328
dd8620de
GM
12329 * image.el (image-animated-p): Tweak definition.
12330
ceca95b1
GM
12331 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12332 (rlogin-process-connection-type): Tweak default. Add set-after.
12333 (rlogin-host): Doc fix.
12334 (rlogin): Tweak prompt.
12335 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12336
ee9f1acc
GM
12337 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12338 * progmodes/tcl.el (inferior-tcl-mode-map):
12339 Use completion-at-point rather than obsolete alias.
12340
45ce222e
GM
12341 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12342
02d844b5
GM
12343 * minibuffer.el (read-file-name-completion-ignore-case):
12344 Move before completion--in-region, for eager macro expansion.
12345
ac44d6c1
JL
123462013-05-29 Juri Linkov <juri@jurta.org>
12347
12348 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12349 for total count of matching lines. Add `global-matches' for total
12350 count of matches. Rename `matches' to `lines' for count of
12351 matching lines. Add `matches' for count of matches.
12352 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12353 to `prev-line' for line number of prev match endpt.
12354 Increment `matches' for every match. Print the number of
12355 matching lines in the header.
12356 (occur-context-lines): Rename `lines' to `curr-line'.
12357 Rename `prev-lines' to `prev-line'. (Bug#14017)
12358
3c9c9d38
JL
123592013-05-29 Juri Linkov <juri@jurta.org>
12360
12361 * replace.el (perform-replace): Add `skip-read-only-count',
12362 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12363 Increment them for corresponding conditions and report the number
12364 of skipped occurrences in the final message. (Bug#11746)
12365 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12366 (replace-string, replace-regexp): Doc fix.
12367
33e249a2
SM
123682013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12369
8e399682
SM
12370 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12371
33e249a2 12372 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 12373 prog-mode-map (bug#14504).
33e249a2 12374
f236dd84
LL
123752013-05-29 Leo Liu <sdl.web@gmail.com>
12376
12377 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12378 (octave-help): Small simplification.
12379
12380 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12381 off the highlight first.
12382
3694d13f
GM
123832013-05-29 Glenn Morris <rgm@gnu.org>
12384
03983bdc
GM
12385 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12386 Handle idlwave-last-system-routine-info-cons-cell being nil.
12387
bc74a74a
GM
12388 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12389 (idlwave-write-paths): Simplify via with-temp-buffer.
12390
8b394200
GM
12391 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12392 * emulation/cua-rect.el: Also load cua-base at run time.
12393
3694d13f
GM
12394 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12395 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12396 (cperl-imenu-on-info): Require imenu.
12397
336d7284
AM
123982013-05-28 Alan Mackenzie <acm@muc.de>
12399
12400 Handle "capitalised keywords" correctly.
33e249a2 12401 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 12402
cb29c582
AG
124032013-05-28 Aidan Gauland <aidalgol@amuri.net>
12404
781b4af6 12405 * eshell/em-unix.el: Add -r option to cp.
cb29c582 12406
690e44b2
GM
124072013-05-28 Glenn Morris <rgm@gnu.org>
12408
e658d75c
GM
12409 * vc/vc-arch.el (vc-exec-after): Declare.
12410 (vc-switches): Autoload.
12411 * vc/vc-bzr.el: No need to require vc when compiling.
12412 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12413 (vc-resynch-buffer, vc-dir-refresh): Declare.
12414 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
12415 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12416 (vc-resynch-buffer): Declare.
12417 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 12418 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
12419 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12420 (grep-read-regexp, grep-read-files, grep-expand-template)
12421 (vc-dir-refresh): Declare.
12422 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12423 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12424 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
12425 * vc/vc-mtn.el (vc-exec-after): Declare.
12426 (vc-switches): Autoload.
12427 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12428 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12429 (vc-file-tree-walk): Declare.
712b9732
GM
12430 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12431 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12432 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
12433 * vc/vc-svn.el (vc-exec-after): Declare.
12434 (vc-switches, vc-setup-buffer): Autoload.
12435 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12436 Autoload.
12437 (vc-resynch-buffer): Declare.
12438
98e87fb3
GM
12439 * obsolete/fast-lock.el (byte-compile-warnings):
12440 Don't warn about obsolete features in this obsolete file.
12441
f5379553
GM
12442 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12443 Move definition before use.
12444
7a20ef83
GM
12445 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12446 (dun-unix-verbs): Remove dun-zippy.
12447 (dun-zippy): Remove function.
12448
690e44b2
GM
12449 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12450
3a52ccf7
JL
124512013-05-27 Juri Linkov <juri@jurta.org>
12452
12453 * replace.el (replace-search): New function with code moved out
12454 from `perform-replace'.
12455 (replace-highlight, replace-dehighlight): Move function definitions
12456 up closer to `replace-search'. (Bug#11746)
12457
d289938a
JL
124582013-05-27 Juri Linkov <juri@jurta.org>
12459
12460 * replace.el (perform-replace): Ignore invisible matches.
12461 In addition to checking `query-replace-skip-read-only', also
12462 filter out matches by calling `run-hook-with-args-until-failure'
12463 on `isearch-filter-predicates', and also check `search-invisible'
12464 for t or call `isearch-range-invisible'.
12465 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12466
66fc57e3
JL
124672013-05-27 Juri Linkov <juri@jurta.org>
12468
12469 * isearch.el (isearch-filter-predicates): Rename from
12470 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12471 (isearch-message-prefix): Display text from the property
12472 `isearch-message-prefix' of the currently active filters.
12473 (isearch-search): Don't compare `isearch-filter-predicate' with
12474 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12475 on `isearch-filter-predicates'. Also check `search-invisible' for t
12476 or call `isearch-range-invisible'.
12477 (isearch-filter-visible): Make obsolete.
12478 (isearch-lazy-highlight-search):
12479 Call `run-hook-with-args-until-failure' on
12480 `isearch-filter-predicates' and use `isearch-range-invisible'.
12481
12482 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12483 `isearch-filter-predicates' instead of `funcall'ing
12484 `isearch-filter-predicate'.
12485 (Info-mode): Set `Info-isearch-filter' to
12486 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12487
12488 * dired-aux.el (dired-isearch-filter-predicate-orig):
12489 Remove variable.
12490 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12491 (dired-isearch-filenames-end): Add and remove
12492 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12493 instead of changing the value of `isearch-filter-predicate'.
12494 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12495 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12496 Put property `isearch-message-prefix' to "filename " on
12497 `dired-isearch-filter-filenames'.
12498
12499 * wdired.el (wdired-change-to-wdired-mode):
12500 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12501 locally instead of changing `isearch-filter-predicate'.
12502 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12503
f1a60a0f
DG
125042013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12505
12506 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12507 return the commit hash (Bug#14459). Also set the
12508 `vc-git-detached' property.
12509 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12510 (vc-git-mode-line-string): Use the same help-echo format whether
12511 in detached mode or not, because we know the actual revision now.
12512 When in detached mode, shorten the revision to 7 chars.
12513
7f17cc40
SM
125142013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12515
12516 * emacs-lisp/easy-mmode.el (define-minor-mode):
12517 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12518 mode hook and provide a docstring.
12519
25c8401c
AM
125202013-05-27 Alan Mackenzie <acm@muc.de>
12521
12522 Remove spurious syntax-table text properties inserted by C-y.
12523 * progmodes/cc-mode.el (c-after-change): Also clear hard
12524 syntax-table property with value nil.
12525
dde84790
MA
125262013-05-27 Michael Albinus <michael.albinus@gmx.de>
12527
12528 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12529 when reading the events; the buffer layout shall not be changed.
12530
837fd9af
LL
125312013-05-27 Leo Liu <sdl.web@gmail.com>
12532
12533 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12534 New variable.
12535 (inferior-octave-directory-tracker): Automatically re-sync
12536 default-directory.
12537 (octave-help): Improve handling of 'See also'.
12538
4fd996b3
SM
125392013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12540
416f1802
SM
12541 * doc-view.el: Minor naming convention tweaks.
12542 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12543
4fd996b3
SM
12544 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12545 even if there's no `display' property yet (bug#14435).
12546
a052ef3b
EZ
125472013-05-25 Eli Zaretskii <eliz@gnu.org>
12548
4fd996b3 12549 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
12550
12551 * Makefile.in (custom-deps, finder-data, autoloads)
12552 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12553 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12554 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12555
c9023370
SM
125562013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12559 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 12560 Don't burp at EOB.
c9023370 12561
24d699fa
LL
125622013-05-25 Leo Liu <sdl.web@gmail.com>
12563
12564 * comint.el (comint-previous-matching-input): Do not flood the
12565 *Messages* buffer with trivial messages.
12566
17e5c0cc
SM
125672013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12568
12569 * progmodes/flymake.el (flymake-nop): Don't return a string.
12570 (flymake-set-at): Fix typo.
12571
12572 * simple.el (read--expression): New function, extracted from
12573 eval-expression. Set completion-at-point-functions (bug#14465).
12574 (eval-expression, eval-minibuffer): Use it.
12575
5d028165
XF
125762013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12577
12578 * progmodes/flymake.el (flymake-save-buffer-in-file)
12579 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12580 (flymake-selected-frame, flymake-log, flymake-ins-after)
12581 (flymake-set-at, flymake-get-buildfile-from-cache)
12582 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12583 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12584 Refine the doc string.
12585 (flymake-get-file-name-mode-and-masks): Reformat.
12586 (flymake-get-real-file-name-function): Fix a minor bug.
12587
7a1d7ba7
JL
125882013-05-24 Juri Linkov <juri@jurta.org>
12589
12590 * progmodes/grep.el (grep-mode-font-lock-keywords):
12591 Support =linenumber= format used by git-grep for lines with
12592 function names. (Bug#13549)
12593
650cff3d
SM
125942013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12595
12596 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12597 0 after a semi-colon; it works better for smie-auto-fill.
12598 (octave--indent-new-comment-line): New function.
12599 (octave-indent-new-comment-line): Use it (indirectly).
12600 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12601 modify comment-line-break-function.
12602
12603 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12604 (smie-setup): Use add-function to set it.
12605
9631677d
SS
126062013-05-24 Sam Steingold <sds@gnu.org>
12607
12608 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12609 argument (before the `interactive' argument).
12610
50105835
SM
126112013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12612
12613 * image-mode.el (image-mode-winprops): Add winprops to
12614 image-mode-winprops-alist before running
12615 image-mode-new-window-functions.
12616 * doc-view.el (doc-view-new-window-function): Don't delay
12617 doc-view-goto-page via timers (bug#14435).
12618
57b9823e
TH
126192013-05-24 Tassilo Horn <tsdh@gnu.org>
12620
12621 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12622 (doc-view-desktop-save-buffer): New function.
12623 (doc-view-restore-desktop-buffer): New function.
50105835
SM
12624 (desktop-buffer-mode-handlers):
12625 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
12626 handler.
12627 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12628 `desktop-save-buffer' function.
12629
91aafa16
MA
126302013-05-24 Michael Albinus <michael.albinus@gmx.de>
12631
12632 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12633 (tramp-gvfs-file-name-handler): Raise a user error when
12634 `tramp-gvfs-enabled' is nil.
12635 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12636 Do not raise a user error when loading package. (Bug#14447)
12637
ec076379
MA
12638 * net/xesam.el: Move to obsolete/.
12639
db785726
GM
126402013-05-24 Glenn Morris <rgm@gnu.org>
12641
af5c7606
GM
12642 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12643
e5d1916a
GM
12644 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12645
ded62b08
GM
12646 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12647 (Info-find-node, Man-getpage-in-background): Declare.
12648
9e614a3f
GM
12649 * mail/unrmail.el (unrmail):
12650 Replace obsolete detect-coding-with-priority.
12651
892f8ca3
GM
12652 * net/socks.el (socks-split-string): Use this rather than split-string.
12653 (socks-nslookup-host): Update for above change.
12654 (dynamic-choice, s5-dynamic-choice-match)
12655 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12656 Comment out unused code.
12657
3c291973
GM
12658 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12659 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12660 (gud-tooltip-echo-area): Make obsolete.
12661 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12662
43cc956b
GM
12663 * progmodes/js.el (js--optimize-arglist): Declare.
12664
dab49a3b
GM
12665 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12666
36b9d085
GM
12667 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12668 (ediff-window-C): Declare.
12669
e354ae76
GM
12670 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12671 Tweak requires to silence compiler.
12672
b8e57bf4
GM
12673 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12674 (he-search-string, he-tried-table, he-expand-list)
12675 (he-init-string, he-string-member, he-substitute-string)
12676 (he-reset-string): Declare.
12677
db785726
GM
12678 * obsolete/options.el (list-options): Use custom-variable-p,
12679 rather than obsolete alias.
12680
b3531901
SS
126812013-05-23 Sam Steingold <sds@gnu.org>
12682
12683 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 12684 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
12685 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12686
bdda4c66
SM
126872013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 * emacs-lisp/smie.el (smie-indent-forward-token)
12690 (smie-indent-backward-token): Handle string tokens (bug#14381).
12691
c43d45f9
TH
126922013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12693
fe1eb856
RS
12694 * ielm.el (ielm-menu): New menu.
12695 (inferior-emacs-lisp-mode): Set comment-start.
96172128 12696
fe1eb856
RS
126972013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12698
a12bf61e 12699 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
12700 Fix deactivate action.
12701
a12bf61e 12702 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 12703 Add cleveref macros.
074dd971 12704
a12bf61e 12705 * textmodes/reftex-parse.el
c43d45f9
TH
12706 (reftex-locate-bibliography-files): Accept options for
12707 bibliography commands.
a12bf61e 12708 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
12709 Add addbibresource. Basic Biblatex support.
12710
7764286e
MA
127112013-05-23 Michael Albinus <michael.albinus@gmx.de>
12712
12713 * net/tramp-gvfs.el (top):
12714 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12715 when loading package. (Bug#14447)
12716
d361bc10
GM
127172013-05-23 Glenn Morris <rgm@gnu.org>
12718
8fa23984
GM
12719 * progmodes/js.el: No need to load comint when compiling.
12720 (ring-insert, comint-send-string, comint-send-input)
12721 (comint-last-input-end, ido-chop): Declare.
12722
a5c7df1a
GM
12723 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12724 * vc/ediff-mult.el: Adjust requires.
12725 (ediff-directories-internal, ediff-directory-revisions-internal)
12726 (ediff-patch-file-internal): Declare.
12727 * vc/ediff-ptch.el: Adjust requires.
12728 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12729 (ediff-find-file): Autoload.
12730 * vc/ediff-util.el: No need to load ediff when compiling.
12731 (ediff-regions-internal): Declare.
12732 * vc/ediff-wind.el: Adjust requires.
12733 (ediff-compute-toolbar-width): Define when compiling.
12734 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12735 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12736 (dired-get-filename, dired-get-marked-files)
12737 (ediff-last-dir-patch, ediff-patch-default-directory)
12738 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12739 (ediff-patch-buffer-internal): Declare.
12740
e2aec513
GM
12741 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12742 (ispell-process, ispell-buffer-local-words, lm-summary)
12743 (lm-section-start, lm-section-end): Declare.
12744 (checkdoc-ispell-init): Simplify.
12745
e68bbd7c
GM
12746 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12747 (he-string-member, he-reset-string, he-substitute-string): Declare.
12748
7efe0991
GM
12749 * eshell/em-ls.el: Adjust requires.
12750 (eshell-glob-regexp): Declare.
f87b1284
GM
12751 * eshell/em-tramp.el: Adjust requires.
12752 (eshell-parse-command): Autoload.
12753 * eshell/em-xtra.el: Adjust requires.
12754 (eshell-parse-command): Autoload.
12755 * eshell/esh-ext.el: Adjust requires.
12756 (eshell-parse-command, eshell-close-handles): Autoload.
12757 * eshell/esh-io.el: Adjust requires.
12758 (eshell-output-filter): Autoload.
12759 * eshell/esh-util.el: No need to load tramp when compiling.
12760 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12761 Declare.
12762 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12763 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12764 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12765 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12766 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12767 * eshell/esh-opt.el, eshell/esh-proc.el:
12768 * eshell/esh-var.el: Adjust requires.
12769 * eshell/eshell.el: Do not require esh-util twice.
12770 (eshell-add-input-to-history): Declare.
12771 (eshell-command): Check history module is active before using it.
12772
d361bc10
GM
12773 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12774
85d090a9
LL
127752013-05-22 Leo Liu <sdl.web@gmail.com>
12776
12777 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12778
5d0acd9d
MA
127792013-05-22 Michael Albinus <michael.albinus@gmx.de>
12780
12781 * autorevert.el (auto-revert-notify-add-watch)
12782 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12783 it indicates changes in file modification time.
12784
0cdffd7d
GM
127852013-05-22 Glenn Morris <rgm@gnu.org>
12786
ca5995ec
GM
12787 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12788 Always delete the autoloaded function from the noruntime and
12789 unresolved functions lists.
12790
6450907e
GM
12791 * allout.el: No need to load epa, epg, overlay when compiling.
12792 (epg-context-set-passphrase-callback, epg-list-keys)
12793 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12794 (epg-key-user-id-list): Declare.
12795
9c6906f6
GM
12796 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12797 (viper-set-parsing-style-toggling-macro)
12798 (viper-set-emacs-state-searchstyle-macros):
12799 Use called-interactively-p on Emacs.
12800 (viper-looking-back): Make it an obsolete alias. Update callers.
12801 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12802 Use looking-back rather than viper-looking-back.
12803 (viper-tmp-insert-at-eob, viper-enlarge-region)
12804 (viper-read-string-with-history, viper-register-to-point)
12805 (viper-append-to-register, viper-change-state-to-vi)
12806 (viper-backward-char-carefully, viper-forward-char-carefully)
12807 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12808 (viper-change-state-to-emacs): Declare.
12809 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12810 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12811 * emulation/viper-mous.el: Do not load viper-cmd.
12812 (viper-backward-char-carefully, viper-forward-char-carefully)
12813 (viper-forward-word, viper-adjust-window): Declare.
12814
5f70c169
GM
12815 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12816
b1b7f300
GM
12817 * progmodes/idlw-help.el (idlwave-help-fontify):
12818 Use called-interactively-p.
12819
f6ebbb46
GM
12820 * term/w32console.el (w32-get-console-codepage)
12821 (w32-get-console-output-codepage): Declare.
12822
0cdffd7d
GM
12823 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12824 Remove unnecessary declarations.
12825 (dframe-message): Doc fix.
12826
12827 * info.el (dframe-select-attached-frame, dframe-current-frame):
12828 Declare.
12829
12830 * speedbar.el (speedbar-message): Make it an obsolete alias.
12831 Update all callers.
12832 (speedbar-with-attached-buffer)
12833 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12834 (speedbar-with-writable): Use backquote.
12835 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12836 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12837 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12838 rather than speedbar- aliases.
12839 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12840 (speedbar-make-specialized-keymap, speedbar-insert-button)
12841 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12842 (speedbar-do-function-pointer): Declare.
12843 (rmail-speedbar-button, rmail-speedbar-find-file)
12844 (rmail-speedbar-move-message):
12845 Use dframe-with-attached-buffer rather than speedbar- alias.
12846 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12847 (dframe-message, speedbar-make-specialized-keymap)
12848 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12849 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12850 (speedbar-insert-button, dframe-select-attached-frame)
12851 (dframe-maybee-jump-to-attached-frame)
12852 (speedbar-change-initial-expansion-list)
12853 (speedbar-previously-used-expansion-list-name): Declare.
12854 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12855 Use dframe-message, dframe-with-attached-buffer rather than
12856 speedbar- aliases.
12857 (gud-sentinel): Silence compiler.
12858 * progmodes/vhdl-mode.el (speedbar-refresh)
12859 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12860 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12861 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12862 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12863 (speedbar-file-lists, speedbar-make-tag-line)
12864 (speedbar-line-directory, speedbar-goto-this-file)
12865 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12866 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12867 (speedbar-make-button, speedbar-reset-scanners)
12868 (speedbar-files-item-info, speedbar-line-text)
12869 (speedbar-find-file-in-frame, speedbar-set-timer)
12870 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12871 (speedbar-with-writable): Do not (re)define it.
12872 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12873 rather than speedbar- alias.
12874
ee44b62a
LL
128752013-05-21 Leo Liu <sdl.web@gmail.com>
12876
12877 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12878 menu items.
12879 (octave-mode): Tweak fill-nobreak-predicate.
12880 (inferior-octave-startup): Check process to avoid infinite loop.
12881 (inferior-octave): Pop to buffer first to show abornmal process
12882 exit information.
12883
640f050f
GM
128842013-05-21 Glenn Morris <rgm@gnu.org>
12885
79458038
GM
12886 * printing.el (pr-menu-bar): Define when compiling.
12887
9cc3e83f
LL
128882013-05-21 Leo Liu <sdl.web@gmail.com>
12889
12890 * progmodes/octave.el (octave-auto-fill): Remove.
12891 (octave-indent-new-comment-line): Improve.
12892 (octave-mode): Use auto fill mode through
4f405069 12893 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 12894 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 12895 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
12896 (octave-help): Show parent directory.
12897
f440830d
GM
128982013-05-21 Glenn Morris <rgm@gnu.org>
12899
12900 * files.el (dired-unmark):
12901 * progmodes/gud.el (gdb-input): Update declarations.
12902
12903 * calculator.el (electric, ehelp): No need to load when compiling.
12904 (Electric-command-loop, electric-describe-mode): Declare.
12905
12906 * doc-view.el (doc-view-current-converter-processes): Move before use.
12907
12908 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12909 Move MODE-set-explicitly definition before use.
12910
12911 * international/mule-diag.el (mule-diag):
12912 Don't use obsolete window-system-version.
12913
12914 * mail/feedmail.el (smtpmail): No need to load when compiling.
12915 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12916
12917 * mail/mail-utils.el (rfc822): No need to load when compiling.
12918 (rfc822-addresses): Autoload it.
12919 (mail-strip-quoted-names): Trivial simplification.
12920
12921 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12922 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12923
12924 * net/snmp-mode.el (tempo): Don't duplicate requires.
12925
12926 * progmodes/prolog.el (info): No need to load when compiling.
12927 (comint): Require before shell requires it.
12928 (Info-goto-node): Autoload it.
12929 (Info-follow-nearest-node): Declare.
12930 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12931
12932 * textmodes/artist.el (picture-mode-exit): Declare.
12933
12934 * textmodes/reftex-parse.el (reftex-parse-from-file):
12935 Trivial rewrite so the compiler can parse it better.
12936
b4da2cbb
LL
129372013-05-20 Leo Liu <sdl.web@gmail.com>
12938
12939 * progmodes/octave.el (octave-help-mode-map)
12940 (octave-help-mode-finish-hook): New variables.
12941 (octave-help-mode, octave-help-mode-finish): New functions.
12942 (octave-help): Use octave-help-mode.
12943
33c0f65b
GM
129442013-05-20 Glenn Morris <rgm@gnu.org>
12945
12946 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12947
1a0a0a8a
DG
129482013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12949
12950 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12951 start at point, so that expansion starting right after opening
12952 slash in a regexp is recognized.
12953 (ruby-syntax-before-regexp-re): New defvar, extracted from
12954 ruby-syntax-propertize-function. Since the value of this regexp
12955 is looked up at runtime now, we should be able to turn
12956 `ruby-syntax-methods-before-regexp' into a defcustom later.
12957 (ruby-syntax-propertize-function): Split regexp matching into two
12958 parts, for opening and closing slashes. That allows us to skip
12959 over string interpolations and support multiline regexps.
12960 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12961 for them, which calls `ruby-syntax-propertize-expansion'.
12962 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12963 call to `ruby-syntax-propertize-function'.
12964 (ruby-syntax-propertize-expansion): Extracted from
12965 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12966 (ruby-syntax-propertize-percent-literal): Leave point right after
12967 the percent symbol, so that the expression expansion rule can
12968 propertize the contents.
462388b6
DG
12969 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12970 heredoc openers.
12971 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12972
c1a6c0a4
JL
129732013-05-18 Juri Linkov <juri@jurta.org>
12974
12975 * man.el (Man-default-man-entry): Remove `-' from the end
12976 of the default value. (Bug#14400)
12977
8051fccd
GM
129782013-05-18 Glenn Morris <rgm@gnu.org>
12979
12980 * comint.el (comint-password-prompt-regexp):
12981 Allow "password for XXX" where XXX contains colons (eg https://...).
12982
5e80b74f
LL
129832013-05-18 Leo Liu <sdl.web@gmail.com>
12984
12985 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12986 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12987 (octave-source-directories): Don't check process.
12988 (octave-source-directories, octave-find-definition): Doc fix.
12989
521a54c5
GM
129902013-05-18 Glenn Morris <rgm@gnu.org>
12991
86a94b05
GM
12992 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12993 Remove backspace/delete bindings. (Bug#14392)
12994
521a54c5
GM
12995 * cus-dep.el (custom-make-dependencies): Sort the output.
12996 (custom-versions-load-alist): Convert comment to doc.
12997
42caeb89
LL
129982013-05-17 Leo Liu <sdl.web@gmail.com>
12999
13000 * newcomment.el (comment-search-backward): Stricter in finding
13001 comment start. (Bug#14303)
13002
13003 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13004 (octave-comment-start-skip): Properly anchored.
13005
e219dd97
LL
130062013-05-17 Leo Liu <sdl.web@gmail.com>
13007
fe1eb856
RS
13008 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13009 Clean up when turned off. (Bug#14395)
e219dd97
LL
13010 (smie--highlight-matching-block-overlay): No longer buffer-local.
13011 (smie-highlight-matching-block): Adjust.
13012
dc5dcb4b
PE
130132013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13014
13015 Doc string fix for "nanoseconds" (Bug#14406).
13016 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13017 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13018
1db165f0
JB
130192013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13020
13021 * calc/calc-units.el (math-extract-units): Preserve powers
13022 of units.
13023
c7a8fcac
LL
130242013-05-17 Leo Liu <sdl.web@gmail.com>
13025
13026 * subr.el (delete-consecutive-dups): New function.
13027 * ido.el (ido-set-matches-1): Use it.
13028 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13029 * ido.el (ido-remove-consecutive-dups): Remove.
13030
f678b18a
SM
130312013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13032
13033 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13034 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13035 regexp-opt's `words'.
13036
ebfe68e8
LL
130372013-05-16 Leo Liu <sdl.web@gmail.com>
13038
13039 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13040 (smie--highlight-matching-block-overlay)
13041 (smie--highlight-matching-block-lastpos)
13042 (smie--highlight-matching-block-timer): New variables.
13043 (smie-highlight-matching-block): New function.
13044 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13045 (smie-setup): Conditionally enable smie-blink-matching-open.
13046
bc8bc17d
WS
130472013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13048
13049 Sync with upstream verilog-mode r840.
13050 * progmodes/verilog-mode.el (verilog-mode-version)
13051 (verilog-mode-release-date): Update.
13052 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13053 (verilog-sig-tieoff): Fix string error on
13054 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13055 (verilog-read-decls): Fix parameters confusing
13056 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13057
df065a0b
EZ
130582013-05-16 Eli Zaretskii <eliz@gnu.org>
13059
13060 * subr.el (reveal-filename): New function.
13061
13062 * loadup.el: Compute Emacs executable versions on MS-Windows,
13063 where executables have the .exe extension. Add a hard link
13064 emacs-XX.YY.ZZ.exe on MS-Windows.
13065
13066 * Makefile.in (XARGS_LIMIT): New variable.
13067 (custom-deps, finder-data, autoloads)
13068 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13069 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13070 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13071 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13072
2d4bf34b
LL
130732013-05-16 Leo Liu <sdl.web@gmail.com>
13074
13075 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13076 (octave-mode-menu, octave-mode-map): Remove its uses.
13077
6b9c2d85
RZ
130782013-05-16 Reto Zimmermann <reto@gnu.org>
13079
13080 Sync with upstream vhdl mode v3.34.2.
13081 * progmodes/vhdl-mode.el: Use `push' throughout.
13082 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13083 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13084 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13085 (vhdl-actual-generic-name): New option to derive actual generic name.
13086 (vhdl-port-paste-signals): Replace formal by actual generics.
13087 (vhdl-beautify): New name for old group vhdl-align. Update users.
13088 (vhdl-beautify-options): New option.
13089 (vhdl-last-input-event): New compat alias. Use throughout.
13090 (vhdl-goto-line): Replace user level function `goto-line'.
13091 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13092 vhdl-fix-statement-buffer.
13093 (vhdl-create-mode-menu): Add some entries.
13094 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13095 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13096 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13097 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13098 to force statements on one line.
13099 (vhdl-remove-trailing-spaces-region):
13100 New, split from vhdl-remove-trailing-spaces.
13101 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13102 Respect vhdl-beautify-options.
13103 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13104 (vhdl-update-sensitivity-list): Not add with index if exists without.
13105 Not include array index with signal. Ignore keywords in comments.
13106 (vhdl-get-visible-signals): Regexp tweaks.
13107 (vhdl-template-component-inst): Handle empty library.
13108 (vhdl-template-type): Add template for 'enum' type.
13109 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13110 Use vhdl-replace-string.
13111 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13112 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13113 (vhdl-speedbar-initialize): Update for above name change.
13114 (vhdl-compose-wire-components): Fix in handling of constants.
13115 (vhdl-error-regexp-emacs-alist): New variable.
13116 (vhdl-error-regexp-add-emacs): New function;
13117 adds support for new compile.el (Emacs 22+)
13118 (vhdl-generate-makefile-1): Change target order for single lib. units.
13119 Allow use of absolute file names.
13120
9df4ec5e
LL
131212013-05-16 Leo Liu <sdl.web@gmail.com>
13122
13123 * simple.el (prog-indent-sexp): Indent enclosing defun.
13124
f5ba00a6
GM
131252013-05-15 Glenn Morris <rgm@gnu.org>
13126
ed8be7ff
GM
13127 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13128 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13129 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13130 (whitespace-highlight): Move to whitespace group.
13131
13132 * comint.el (comint-source):
13133 * pcmpl-linux.el (pcmpl-linux):
13134 * shell.el (shell-faces):
13135 * eshell/esh-opt.el (eshell-opt):
13136 * international/ccl.el (ccl): Remove empty custom groups.
13137
13138 * completion.el (dynamic-completion-mode):
13139 * jit-lock.el (jit-lock-debug-mode):
13140 * minibuffer.el (completion-in-region-mode):
13141 * type-break.el (type-break-mode-line-message-mode)
13142 (type-break-query-mode):
13143 * emulation/tpu-edt.el (tpu-edt-mode):
13144 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13145 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13146 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13147
13148 * term/xterm.el (xterm): Change parent group to terminals.
13149
13150 * master.el (master): Remove empty custom group.
13151 (master-mode): Remove unused :group argument.
13152 * textmodes/refill.el (refill): Remove empty custom group.
13153 (refill-mode): Remove unused :group argument.
13154
13155 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13156
82a7c41b
GM
13157 * cus-dep.el: Provide a feature.
13158 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
13159 Don't mistakenly ignore files whose basenames match a basename
13160 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 13161 Add a fallback method for getting :group.
f5ba00a6 13162
6d65486d
JL
131632013-05-15 Juri Linkov <juri@jurta.org>
13164
da547b32
JL
13165 * isearch.el (isearch-char-by-name): Rename from
13166 `isearch-insert-char-by-name'. Doc fix.
13167 (isearch-forward): Mention `isearch-char-by-name' in
13168 the docstring. (Bug#13348)
13169
6d65486d
JL
13170 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13171 `exit-minibuffer' instead of
13172 `isearch-nonincremental-exit-minibuffer'.
13173 (isearch-edit-string): Remove mention of
13174 `isearch-nonincremental-exit-minibuffer' from docstring.
13175 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13176 (isearch-forward-exit-minibuffer)
13177 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13178
c9990474
SM
131792013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13180
6e911150
SM
13181 * loadup.el: Just use unversioned DOC.
13182
c9990474
SM
13183 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13184 literals as extending to EOB.
13185 (nxml-last-fontify-end): Remove unused variable.
13186 (nxml-after-change1): Use with-silent-modifications.
13187 (nxml-extend-after-change-region): Simplify.
13188 (nxml-extend-after-change-region1): Remove function.
13189 (nxml-after-change1): Don't adjust for dependent regions.
13190 (nxml-fontify-matcher): Simplify.
13191 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13192 (xmltok-add-dependent): Remove function.
13193 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13194 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13195 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13196 unclosed <[[, <?, comment, and other literals as extending to EOB.
13197 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13198 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13199 Remove functions.
13200 (rng-do-some-validation-1): Don't mark dependent regions.
13201 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13202 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13203 (nxml-clear-dependent-regions): Remove functions.
13204 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13205 (nxml-ensure-scan-up-to-date):
13206 Don't clear&mark dependent regions.
13207
e3772e98
LL
132082013-05-15 Leo Liu <sdl.web@gmail.com>
13209
c9990474
SM
13210 * progmodes/octave.el (octave-goto-function-definition):
13211 Improve and fix callers.
e3772e98 13212
5ac2eb34
SM
132132013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13214
c46c57b0
SM
13215 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13216 the setter (bug#14387).
13217
5ac2eb34
SM
13218 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13219 surrounding group (bug#14402).
13220
180ed218
JL
132212013-05-14 Juri Linkov <juri@jurta.org>
13222
13223 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13224 (Bug#14390)
13225
0ac0fecb
GM
132262013-05-14 Glenn Morris <rgm@gnu.org>
13227
13228 * progmodes/f90.el (f90-imenu-generic-expression):
13229 Fix typo in 2013-05-08 change. (Bug#14402)
13230
2e78e6a7
JPG
132312013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13232
5ac2eb34
SM
13233 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13234 Remove signals for which replies are never received.
2e78e6a7 13235
53267cca
JPG
132362013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13237
13238 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13239 (gdb-handler-alist, gdb-handler-number): Remove variables.
13240 (gdb-handler-list): New variable.
13241 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13242 (gdb-pending-handler-p, gdb-handle-reply)
13243 (gdb-remove-all-pending-triggers): New functions.
13244 (gdb-discard-unordered-replies): New defcustom.
13245 (gdb-handler): New defstruct.
13246 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13247 instead of gdb-pending-triggers. Update docstring.
13248 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13249 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13250 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13251 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13252 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13253 (gdb-frame-handler): Pending triggers are now automatically managed.
13254 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13255 Remove argument.
13256 (gdb-input): Automatically handles pending triggers. Update docstring.
13257 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13258 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13259 Update comments.
13260 (gdb-done-or-error): Now use gdb-handle-reply.
13261
d04ce803
JPG
132622013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13263
13264 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13265 gdb-debug-log.
13266
0114073a
GM
132672013-05-14 Glenn Morris <rgm@gnu.org>
13268
13269 * subr.el (user-emacs-directory-warning): New option.
13270 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13271
4d25fd7e
LL
132722013-05-14 Leo Liu <sdl.web@gmail.com>
13273
13274 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13275 during redisplay.
13276 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
13277 (octave-font-lock-texinfo-comment): Fix invalid search bound
13278 error: wrong side of point.
4d25fd7e 13279
27c8b6eb
GM
132802013-05-14 Glenn Morris <rgm@gnu.org>
13281
61aaeb01
GM
13282 * progmodes/flymake.el (flymake-xml-program): New option.
13283 (flymake-xml-init): Use it.
13284
5bf90bc5
GM
13285 * term/xterm.el: Provide a feature.
13286
13287 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 13288
f4c7dfd2
GM
132892013-05-13 Glenn Morris <rgm@gnu.org>
13290
13291 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13292 Add compat aliases as a hack workaround. (Bug#14384)
13293
2aeb3a1d
LL
132942013-05-13 Leo Liu <sdl.web@gmail.com>
13295
b0e069c2
LL
13296 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13297 ###, and %!.
f5a9432f
LL
13298 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13299 C-M-q.
b0e069c2
LL
13300 (octave-comment-start-skip): Include %!.
13301 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 13302
30ea8374
LL
133032013-05-12 Leo Liu <sdl.web@gmail.com>
13304
13305 * progmodes/octave.el (inferior-octave-startup): Store the value
13306 of __octave_srcdir__ for octave-source-directories.
13307 (inferior-octave-check-process): New function refactored out of
13308 inferior-octave-send-list-and-digest.
13309 (octave-source-directories)
13310 (octave-find-definition-filename-function): New variables.
13311 (octave-source-directories)
13312 (octave-find-definition-default-filename): New functions.
13313 (octave-find-definition): Improve to find functions implemented in C++.
13314
472a3834
GM
133152013-05-12 Glenn Morris <rgm@gnu.org>
13316
13317 * calendar/diary-lib.el (diary-outlook-format-1):
13318 Don't include dayname in the output. (Bug#14349)
13319
3191b52f
GM
133202013-05-11 Glenn Morris <rgm@gnu.org>
13321
0060ac73
GM
13322 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13323
3191b52f
GM
13324 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13325 Treat cc-provide like provide.
13326
e065ba74
KR
133272013-05-11 Kevin Ryde <user42@zip.com.au>
13328
13329 * cus-dep.el (custom-make-dependencies):
13330 Use generated-autoload-load-name for the sake of files such
13331 such cedet/semantic/bovine/c.el, where the base file name
13332 is not in load-path. (Bug#5277)
13333
36f84c37
GM
133342013-05-11 Glenn Morris <rgm@gnu.org>
13335
13336 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13337 Provide features.
13338
c8730c3a
LL
133392013-05-11 Leo Liu <sdl.web@gmail.com>
13340
13341 * progmodes/octave.el (octave-indent-comment): Improve.
13342 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
13343 (octave-eldoc-function-signatures, octave-eldoc-function):
13344 New functions.
c8730c3a
LL
13345 (octave-mode, inferior-octave-mode): Add eldoc support.
13346
212e29f2
RS
133472013-05-11 Richard Stallman <rms@gnu.org>
13348
13349 * epa.el (epa-decrypt-file): Take output file name as argument
13350 and read it using `interactive'.
13351
083fe0d7
LL
133522013-05-11 Leo Liu <sdl.web@gmail.com>
13353
13354 * progmodes/octave.el (octave-beginning-of-line)
13355 (octave-end-of-line): Check before using up-list because it jumps
13356 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
13357 (octave-indent-comment): New function.
13358 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
13359 (octave-begin-keywords, octave-end-keywords)
13360 (octave-reserved-words, octave-smie-bnf-table)
13361 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 13362
8582e4c4
GM
133632013-05-11 Glenn Morris <rgm@gnu.org>
13364
f20def1f
GM
13365 * faces.el (internal-face-x-get-resource):
13366 * frame.el (ns-display-monitor-attributes-list):
d78abe37 13367 * calc/calc-aent.el (math-to-radians-2):
f20def1f 13368 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 13369 Fix declarations.
f20def1f 13370
445f95e2
GM
13371 * calc/calc-menu.el: Make it loadable in isolation.
13372
13373 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13374 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13375 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13376 (eudc-bbdb-query-internal): Require 'bbdb.
13377
99fb2756
GM
13378 * lpr.el (lpr-headers-switches):
13379 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13380
13381 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13382
0da7ad96
GM
13383 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13384
8582e4c4
GM
13385 * term.el (term-set-escape-char): Make it idempotent.
13386
f71c50d0
LL
133872013-05-10 Leo Liu <sdl.web@gmail.com>
13388
5ac2eb34
SM
13389 * progmodes/octave.el (inferior-octave-completion-table):
13390 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
13391 completion due to bug#11906.
13392 (octave-beginning-of-defun): Re-write to be more general.
13393
d5837773
GM
133942013-05-10 Glenn Morris <rgm@gnu.org>
13395
13396 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13397
027c0f75
SM
133982013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13399
13400 * comint.el (comint-redirect-send-command-to-process): Use :around
13401 rather than :override for comint-redirect-filter.
13402 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13403 Call it instead of comint-redirect-original-filter-function (which
13404 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13405
4465bfb4
JD
134062013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13407
13408 * frame.el (display-monitor-attributes-list): Add NS case.
13409 (ns-display-monitor-attributes-list): Declare.
13410
2d809ffa 134112013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
13412
13413 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13414
e54eeb9b
GM
134152013-05-09 Glenn Morris <rgm@gnu.org>
13416
56cd351d
GM
13417 * international/fontset.el (vertical-centering-font-regexp):
13418 Set standard-value.
13419
d84b6108
GM
13420 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13421
a931698a
GM
13422 * bookmark.el (bookmark-search-delay):
13423 * cus-start.el (vertical-centering-font-regexp):
13424 * ps-mule.el (ps-mule-font-info-database-default):
13425 * ps-print.el (ps-default-fg, ps-default-bg):
13426 * type-break.el (type-break-good-break-interval):
13427 * whitespace.el (whitespace-indentation-regexp)
13428 (whitespace-space-after-tab-regexp):
13429 * emacs-lisp/testcover.el (testcover-1value-functions)
13430 (testcover-noreturn-functions, testcover-progn-functions)
13431 (testcover-prog1-functions):
13432 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13433 * eshell/em-glob.el (eshell-glob-translate-alist):
13434 * play/tetris.el (tetris-tty-colors):
13435 * progmodes/cpp.el (cpp-face-default-list):
13436 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13437 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13438 (idlwave-help-browser-generic-args):
13439 * progmodes/make-mode.el (makefile-special-targets-list):
13440 * progmodes/python.el (python-shell-virtualenv-path):
13441 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13442 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13443 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13444 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13445 * textmodes/reftex-vars.el (reftex-format-label-function):
13446 * textmodes/remember.el (remember-diary-file): Fix custom types.
13447
e54eeb9b
GM
13448 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13449 Add :version.
13450
455851dd
LL
134512013-05-09 Leo Liu <sdl.web@gmail.com>
13452
13453 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 13454 Restore file completion. (Bug#14300)
455851dd
LL
13455 (inferior-octave-startup): Fix incorrect highlighting for the
13456 first prompt.
13457
a9e4425b
SM
134582013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13459
13460 * progmodes/ruby-mode.el: First cut at SMIE support.
13461 (ruby-use-smie): New var.
13462 (ruby-smie-grammar): New constant.
13463 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13464 (ruby-smie--forward-token, ruby-smie--backward-token)
13465 (ruby-smie-rules): New functions.
13466 (ruby-mode-variables): Setup SMIE if applicable.
13467
060ca408
EZ
134682013-05-08 Eli Zaretskii <eliz@gnu.org>
13469
13470 * simple.el (line-move-visual): Signal beginning/end of buffer
13471 only if vertical-motion moved less than it was requested. Avoids
13472 silly incorrect error messages when there are display strings with
13473 multiple newlines at EOL.
13474
1d5963cc
SM
134752013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13478 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13479 (prolog-char-quote-workaround):
13480 * progmodes/cperl-mode.el (cperl-under-as-char):
13481 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
13482 Mark as obsolete.
13483 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
13484 their declaration.
13485 (vhdl-mode-syntax-table-init): Remove.
13486
c9990474
SM
13487 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13488 last change.
1d5963cc
SM
13489
13490 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13491 syntax for "_".
13492 (ld-script-font-lock-keywords):
13493 Change regexps to use things like \_< and \_>.
13494
13495 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13496 Change all regexps to use things like \_< and \_>.
13497
13498 * progmodes/autoconf.el (autoconf-definition-regexp)
13499 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13500 Handle a _ with symbol syntax.
13501 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13502
c9990474
SM
13503 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13504 Consolidate declaration.
1d5963cc
SM
13505 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13506 the declaration.
13507 (ada-create-syntax-table): Remove.
13508 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13509 already has the right syntax nowadays.
13510 (ada-goto-next-word): Don't change the syntax of "_".
13511
13512 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13513 with-wrapper-hook.
13514
72d3cfca
SS
135152013-05-08 Sam Steingold <sds@gnu.org>
13516
13517 * thingatpt.el (thing-at-point): Accept optional second argument
13518 NO-PROPERTIES to strip the text properties from the return value.
13519 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13520 to `thing-at-point' instead of stripping the properties ourselves.
13521 Also, when `thing-at-point' fails to find a url, prepend "http://"
13522 to the filename at point on the assumption that the user is
13523 pointing at something like gnu.org/gnu.
13524
5cb15713
JB
135252013-05-08 Juanma Barranquero <lekktu@gmail.com>
13526
13527 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13528 * faces.el (crm-separator):
13529 Silence byte-compiler.
13530
13531 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13532 (tool-bar-map): Remove unneeded defvars.
13533
ea78b95b
LL
135342013-05-08 Leo Liu <sdl.web@gmail.com>
13535
13536 Re-work a fix for bug#10994 based on Le Wang's patch.
13537 * ido.el (ido-remove-consecutive-dups): New helper.
13538 (ido-completing-read): Use it.
13539 (ido-chop): Revert fix for bug#10994.
13540
dc7466df
AS
135412013-05-08 Adam Spiers <emacs@adamspiers.org>
13542
13543 * cus-edit.el (custom-save-variables):
13544 Pretty-print long values. (Bug#14187)
13545
9ecf672a
GM
135462013-05-08 Glenn Morris <rgm@gnu.org>
13547
13548 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13549 (m4-mode-syntax-table): Init in the defvar.
13550 (m4-mode-abbrev-table): Let define-derived-mode define it.
13551
3f555be8
TT
135522013-05-08 Tom Tromey <tromey@redhat.com>
13553
13554 * progmodes/m4-mode.el (m4-mode-syntax-table):
13555 Do not treat "_" as word constituent. (Bug#14167)
13556
7cc8ae06
GM
135572013-05-07 Glenn Morris <rgm@gnu.org>
13558
4f58bc06
GM
13559 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13560 Remove explicit eshell-isearch-cancel-map.
13561
7cc8ae06
GM
13562 * progmodes/f90.el (f90-smart-end-names): New option.
13563 (f90-smart-end): Doc fix.
13564 (f90-end-block-optional-name): New constant.
13565 (f90-block-match): Respect f90-smart-end-names.
13566
ceb57e59
SM
135672013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13568
13569 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13570 about implicit semi-colons (bug#14218).
13571
4e3f9230
YM
135722013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13573
13574 * frame.el (display-monitor-attributes-list)
13575 (frame-monitor-attributes): New functions.
13576
203a5572
LL
135772013-05-06 Leo Liu <sdl.web@gmail.com>
13578
13579 * progmodes/octave.el (octave-syntax-propertize-function): Change
13580 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13581 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 13582 (octave-completion-at-point): Rename from
203a5572
LL
13583 octave-completion-at-point-function.
13584 (inferior-octave-directory-tracker): Robustify.
13585 (octave-text-functions): Remove and fix its uses. No such things
13586 any more.
13587
ee6cff99
SM
135882013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13589
13590 * emacs-lisp/trace.el (trace--display-buffer): New function.
13591 (trace-make-advice): Use it.
13592
32985194
JL
135932013-05-06 Juri Linkov <juri@jurta.org>
13594
13595 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13596 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13597 Doc fix.
13598 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13599 in the help string. (Bug#12985)
13600
a1c700de
KD
136012013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13602
13603 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13604
c67c0839
SM
136052013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13606
323885fd
SM
13607 * progmodes/perl-mode.el: Add support for here documents.
13608 (perl-syntax-propertize-function): Match here-doc markers.
13609 (perl-syntax-propertize-special-constructs): Find their end.
13610 (perl-imenu-generic-expression): Use [:alnum:].
13611
c67c0839
SM
13612 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13613 (advice--add-function): Refresh the advice if already present
13614 (bug#14317).
13615
d491e7a8
IA
136162013-05-06 Ivan Andrus <darthandrus@gmail.com>
13617
13618 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13619
ddf9925e
GM
136202013-05-06 Glenn Morris <rgm@gnu.org>
13621
7cc3af27
GM
13622 * w32-fns.el (w32-charset-info-alist): Declare.
13623
16e343d6
GM
13624 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13625 of its defcustom properties.
13626 (eshell-cmpl-initialize): No need to load pcomplete.
13627
7d889a47
GM
13628 * generic-x.el: No need to require comint when compiling.
13629
ddf9925e
GM
13630 * net/eudc-export.el: Make it loadable without bbdb.
13631 (top-level): Use require rather than load-library.
13632 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13633 (eudc-batch-export-records-to-bbdb)
13634 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13635 Require bbdb.
13636
1e2c18df
SM
136372013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13638
13639 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13640 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13641 some tweaks, instead.
13642
02502a5f
LL
136432013-05-05 Leo Liu <sdl.web@gmail.com>
13644
13645 * progmodes/octave.el (octave-font-lock-keywords)
13646 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13647 (inferior-octave-send-list-and-digest): Improve error message.
13648 (octave-mode, inferior-octave-mode): Use setq-local.
13649 (octave-help): Set info-lookup-mode.
13650
0dc04f42
RS
136512013-05-05 Richard Stallman <rms@gnu.org>
13652
6c54491c
RS
13653 * vc/compare-w.el (compare-windows-whitespace):
13654 Treat no-break space as whitespace.
13655
0dc04f42
RS
13656 * mail/rmailsum.el (rmail-summary-rmail-update):
13657 Detect empty summary and don't change selected message.
13658 (rmail-summary-goto-msg): Likewise.
13659
df8f35df
RS
13660 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13661 Doc fixes, rename args.
13662
5356e1a3
AM
136632013-05-05 Alan Mackenzie <acm@muc.de>
13664
13665 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13666
d44014cb
JL
136672013-05-05 Juri Linkov <juri@jurta.org>
13668
13669 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13670 to not add the length of the summary segment to the return value.
13671 (Bug#14125)
13672
c129b51f
LL
136732013-05-05 Leo Liu <sdl.web@gmail.com>
13674
13675 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13676 (inferior-octave-output-filter): Remove.
13677 (octave-send-region, inferior-octave-startup): Fix callers.
13678 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13679 (octave-binary-file-extensions): New user variable.
13680 (octave-find-definition): Confirm if opening binary files.
13681 (octave-help-file): Use octave-find-definition to get the binary
13682 confirmation.
13683 (octave-help): Adjust for octave-help-file change.
13684
aa7dab97
SM
136852013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13686
13687 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13688 Merge the two entries that handle function definitions.
13689 (pascal--syntax-propertize): New const.
13690 (pascal-mode): Use it. Use setq-local.
13691
fd3a9a6b
GM
136922013-05-04 Glenn Morris <rgm@gnu.org>
13693
13694 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13695 (diary-from-outlook): Respect diary-from-outlook-function.
13696
30c7e542
SM
136972013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13698
13699 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13700 Move the declaration from C.
13701 (read-minibuffer, eval-minibuffer): Move from C.
13702 (completion-setup-function): Avoid minibuffer-completion-contents.
13703
b54f978b
LL
137042013-05-03 Leo Liu <sdl.web@gmail.com>
13705
13706 * progmodes/octave.el (octave-font-lock-keywords): Do not
13707 dehighlight 'end' in comments or strings.
30c7e542
SM
13708 (octave-completing-read, octave-goto-function-definition):
13709 New helpers.
d4d0f9b3
LL
13710 (octave-help-buffer): New user variable.
13711 (octave-help-file, octave-help-function): New button types.
13712 (octave-help): New command and bind it to C-h ;.
13713 (octave-find-definition): New command and bind it to M-.
d74a1581 13714 (user-error): Alias to error if not defined.
b54f978b 13715
27135018
LL
137162013-05-02 Leo Liu <sdl.web@gmail.com>
13717
13718 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13719 for \. (bug#14332)
13720 (octave-font-lock-keywords): Include [ and {.
13721
0d634d3a
LL
137222013-05-02 Leo Liu <sdl.web@gmail.com>
13723
13724 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13725 (inferior-octave): Remove calling comint-mode and return the buffer.
13726 (inferior-octave-startup): Cosmetic changes.
13727
b4c8295e
LL
137282013-05-02 Leo Liu <sdl.web@gmail.com>
13729
30c7e542
SM
13730 * progmodes/octave.el (octave-syntax-propertize-function):
13731 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 13732
f12ad6ec
GM
137332013-05-02 Glenn Morris <rgm@gnu.org>
13734
13735 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13736 * desktop.el (vc-dir-mode): Just autoload it here.
13737
30cac1e0
AM
137382013-05-02 Alan Mackenzie <acm@muc.de>
13739
13740 Eliminate variable c-standard-font-lock-fontify-region-function.
13741 * progmodes/cc-mode.el
13742 (c-standard-font-lock-fontify-region-function): Remove.
13743 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13744
d8ef28b1
LL
137452013-05-01 Leo Liu <sdl.web@gmail.com>
13746
2640d52e 13747 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 13748 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 13749 variables were removed from Octave in 2007.
d8ef28b1
LL
13750 (inferior-octave-startup): Fix uses.
13751 (comint-line-beginning-position): Remove compatibility code for
13752 emacs 21.
13753
ac63ec89
JL
137542013-05-01 Juri Linkov <juri@jurta.org>
13755
13756 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13757
9e9be37c
JL
137582013-05-01 Juri Linkov <juri@jurta.org>
13759
13760 * comint.el (comint-previous-matching-input): Don't print message
13761 "History item: %d" when `isearch-mode' is active.
13762 (comint-history-isearch-message): Print message "History item: %d"
13763 when `comint-input-ring-index' is not empty and this function is
13764 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13765
9b92c13b
LL
137662013-05-01 Leo Liu <sdl.web@gmail.com>
13767
13768 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13769 definitions. Use completion-at-point to insert keywords.
13770 (octave-abbrev-start): Remove.
13771 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13772
b12d33d7
LL
137732013-04-30 Leo Liu <sdl.web@gmail.com>
13774
13775 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13776 change.
13777
3d1c39fa
AM
137782013-04-30 Alan Mackenzie <acm@muc.de>
13779
13780 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
13781 * progmodes/cc-engine.el (c-back-over-member-initializers):
13782 new function.
3d1c39fa
AM
13783 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13784 (most) member init lists.
13785
5147fc17
RS
137862013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13787
13788 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13789 variable.
13790
5b78d7fc
LL
137912013-04-30 Leo Liu <sdl.web@gmail.com>
13792
13793 * progmodes/octave.el (octave-variables): Remove. No builtin
13794 variables any more. All converted to functions.
13795 (octave-font-lock-keywords, octave-completion-at-point-function):
13796 Fix uses.
13797 (octave-font-lock-texinfo-comment): New user variable.
13798 (octave-texinfo-font-lock-keywords): New variable for texinfo
13799 comment block.
13800 (octave-function-comment-block): New face.
13801 (octave-font-lock-texinfo-comment): New function.
13802 (octave-mode): Font lock texinfo comment block.
13803
38d8527b
LL
138042013-04-29 Leo Liu <sdl.web@gmail.com>
13805
13806 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13807 indexing expression.
13808 (octave-continuation-string): Do not use \.
13809 (inferior-octave-complete-impossible): Remove.
13810 (inferior-octave-completion-table)
13811 (inferior-octave-completion-at-point): Remove its uses.
13812 (inferior-octave-startup): completion_matches was introduced to
13813 Octave in 1996 so safe to assume it.
13814 (octave-function-file-comment): Improve to follow how Octave does it.
13815 (octave-update-function-file-comment): Tweak.
13816
2ec12cb0
LL
138172013-04-29 Leo Liu <sdl.web@gmail.com>
13818
13819 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13820 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13821 (octave-function-file-comment): Fix typo.
13822 (octave-sync-function-file-names): Use read-char-choice.
13823
6eaed048
JB
138242013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13825
13826 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13827 to t for the less important warnings.
13828
3ffa2d4f
DH
138292013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13830
13831 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13832
685c9501
GM
138332013-04-27 Glenn Morris <rgm@gnu.org>
13834
13835 * vc/log-view.el (log-view-current-entry):
13836 Treat "---" separator lines as part of the following rev. (Bug#14169)
13837
0208ede7
JL
138382013-04-27 Juri Linkov <juri@jurta.org>
13839
13840 * subr.el (read-number): Doc fix about using it by interactive
13841 code letter `n'. (Bug#14254)
13842
5db9dace
JL
138432013-04-27 Juri Linkov <juri@jurta.org>
13844
13845 * desktop.el (desktop-auto-save-timeout): New option.
13846 (desktop-file-checksum): New variable.
13847 (desktop-save): Add optional arg `auto-save' and don't auto-save
13848 if nothing changed.
13849 (desktop-auto-save-timer): New variable.
13850 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13851 (after-init-hook): Call `desktop-auto-save-set-timer'.
13852 Suggested by Reuben Thomas <rrt@sc3d.org> in
13853 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13854
b7260dd4
LL
138552013-04-27 Leo Liu <sdl.web@gmail.com>
13856
13857 * progmodes/octave.el (octave-function-file-p)
13858 (octave-skip-comment-forward, octave-function-file-comment)
13859 (octave-update-function-file-comment): New functions.
13860 (octave-mode-map): Bind C-c ; to
13861 octave-update-function-file-comment.
13862 (octave-mode-menu): Add octave-update-function-file-comment.
13863 (octave-mode, inferior-octave-mode): Fix doc-string.
13864 (octave-insert-defun): Conform to Octave's coding convention.
13865 (Bug#14285)
13866
13867 * files.el (basic-save-buffer): Don't let errors in
13868 before-save-hook prevent saving buffer.
13869
c46da669
RW
138702013-04-20 Roland Winkler <winkler@gnu.org>
13871
13872 * faces.el (read-face-name): Use completing-read if arg multiple
13873 is nil.
13874
a81ee1eb
IL
138752013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13876
13877 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
13878 displayed, move point to after the totals line.
13879 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
13880 for the details.
13881
4fac34ce
SM
138822013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13883
13884 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13885 Add current dir to the load-path.
13886 (package-generate-autoloads): Don't rely on
13887 autoload-ensure-default-file.
13888
f6bfc063
RT
138892013-04-26 Reuben Thomas <rrt@sc3d.org>
13890
d40ab5cf
BG
13891 * textmodes/remember.el (remember-store-in-files): Document that
13892 the file name format is passed to `format-time-string'.
f6bfc063 13893
e55d3b04
LL
138942013-04-26 Leo Liu <sdl.web@gmail.com>
13895
13896 * progmodes/octave.el (octave-sync-function-file-names): New function.
13897 (octave-mode): Use it in before-save-hook.
13898
e53052d3
SM
138992013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13900
140ef50c
SM
13901 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13902 (bug#14274).
13903
e53052d3
SM
13904 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13905 \n and comment, even if it's not an implicit ; (bug#14218).
13906
af80458d 139072013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
13908
13909 * subr.el (read-number): Once more use `read' rather than
13910 `string-to-number', to trap non-numeric input. (Bug#14254)
13911
af80458d 139122013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
13913
13914 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13915 Use `syntax-multiline' text property consistently instead of
8a621d53 13916 `font-lock-multiline'. (Bug#14237)
70203c2e 13917
e6ea1f6c
GM
139182013-04-26 Glenn Morris <rgm@gnu.org>
13919
13920 * emacs-lisp/shadow.el (list-load-path-shadows):
13921 No longer necessary to check for duplicate simple.el, since
13922 2012-07-07 change to init_lread to not include installation lisp
13923 directories in load-path when running uninstalled. (Bug#14270)
13924
070ccca4
LL
139252013-04-26 Leo Liu <sdl.web@gmail.com>
13926
13927 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13928 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 13929 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
13930 octave-in-string-or-comment-p.
13931 (octave-in-comment-p, octave-in-string-p)
13932 (octave-in-string-or-comment-p): Replace defsubst with defun.
13933
9d1c5fb6
PE
139342013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13935
13936 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13937
c034abda
BG
139382013-04-25 Bastien Guerry <bzg@gnu.org>
13939
13940 * textmodes/remember.el (remember-data-directory)
13941 (remember-directory-file-name-format): Fix custom types.
13942
584ea277
LL
139432013-04-25 Leo Liu <sdl.web@gmail.com>
13944
e53052d3
SM
13945 * progmodes/octave.el (octave-completion-at-point-function):
13946 Make use of inferior octave process.
584ea277
LL
13947 (octave-initialize-completions): Remove.
13948 (inferior-octave-completion-table): New function.
13949 (inferior-octave-completion-at-point): Use it.
13950 (octave-completion-alist): Remove.
13951
1693b06a
SM
139522013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13953
13954 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13955 (opascal-mode-syntax-table): New var.
13956 (opascal-literal-kind, opascal-is-literal-end)
13957 (opascal-literal-token-at): Rewrite.
13958 (opascal--literal-start-re, opascal-font-lock-keywords)
13959 (opascal--syntax-propertize): New constants.
13960 (opascal-font-lock-defaults): Adjust.
13961 (opascal-mode): Use them. Set comment-<foo> variables as well.
13962 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13963 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13964 (delphi-other-face, opascal-other-face): Remove face variables.
13965 (opascal-save-state): Remove macro.
13966 (opascal-fontifying-progress-step): Remove constant.
13967 (opascal--ignore-changes): Remove var.
13968 (opascal-set-token-property, opascal-parse-next-literal)
13969 (opascal-is-stable-literal, opascal-complete-literal)
13970 (opascal-is-literal-start, opascal-face-of)
13971 (opascal-parse-region, opascal-parse-region-until-stable)
13972 (opascal-fontify-region, opascal-after-change)
13973 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13974 (opascal-debug-parse-region, opascal-debug-parse-window)
13975 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13976 (opascal-debug-fontify-buffer): Remove.
13977 (opascal-debug-mode-map): Adjust accordingly.
13978
be64c05d
LL
139792013-04-25 Leo Liu <sdl.web@gmail.com>
13980
13981 Merge octave-mod.el and octave-inf.el into octave.el with some
13982 cleanups.
13983 * progmodes/octave.el: New file renamed from octave-mod.el.
13984 * progmodes/octave-inf.el: Merged into octave.el.
13985 * progmodes/octave-mod.el: Renamed to octave.el.
13986
d79d37bd
TH
139872013-04-25 Tassilo Horn <tsdh@gnu.org>
13988
13989 * textmodes/reftex-vars.el
13990 (reftex-label-ignored-macros-and-environments): New defcustom.
13991
13992 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13993
ced3fc5d
SM
139942013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13995
13996 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13997 (smie-indent-keyword): Improve the check to ensure that the next
13998 comment is really on the same line.
13999 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14000
14001 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14002 semi-colons if the line is not otherwise empty (bug#14218).
14003
1c141dad
GM
140042013-04-25 Glenn Morris <rgm@gnu.org>
14005
14006 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14007
5058062a
SM
140082013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14009
14010 * progmodes/opascal.el (opascal-set-token-property): Rename from
14011 opascal-set-text-properties and only set `token' (bug#14134).
14012 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14013 (opascal-literal-text-properties): Remove.
14014 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14015 Adjust callers.
14016
5db9dace 140172013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
14018
14019 * textmodes/remember.el (remember-handler-functions): Add an
14020 option for a new handler `remember-store-in-files'.
14021 (remember-data-directory, remember-directory-file-name-format):
14022 New options.
14023 (remember-store-in-files): New function to store remember notes
14024 as separate files within a directory.
14025
4391916c
MH
140262013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14027
14028 * progmodes/compile.el (compilation-next-error-function):
14029 Pass "formats" to compilation-find-file (bug#11777).
14030
bb7cdf58
GM
140312013-04-24 Glenn Morris <rgm@gnu.org>
14032
3b8fe752 14033 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
14034 * vc/vc-hg.el (vc-hg-print-log):
14035 * vc/vc-svn.el (vc-svn-print-log):
14036 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14037
bb7cdf58
GM
14038 * vc/vc-bzr.el (vc-bzr-print-log):
14039 * vc/vc-cvs.el (vc-cvs-print-log):
14040 * vc/vc-git.el (vc-git-print-log):
14041 * vc/vc-hg.el (vc-hg-print-log):
14042 * vc/vc-mtn.el (vc-mtn-print-log):
14043 * vc/vc-rcs.el (vc-rcs-print-log):
14044 * vc/vc-sccs.el (vc-sccs-print-log):
14045 * vc/vc-svn.el (vc-svn-print-log):
14046 * vc/vc.el (vc-print-log-internal): Doc fixes.
14047
b46a056e
GM
140482013-04-23 Glenn Morris <rgm@gnu.org>
14049
14050 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14051 Remove venerable code attempting to avoid substitute-command-keys.
14052
0aecf718
TH
140532013-04-23 Tassilo Horn <tsdh@gnu.org>
14054
4391916c
MH
14055 * textmodes/reftex-vars.el (reftex-label-regexps):
14056 Call `reftex-compile-variables' after changes to this variable.
0aecf718 14057
117f94cf
SM
140582013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14059
4391916c 14060 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
14061 Use lexical-binding.
14062 (jit-lock-force-redisplay): Use markers, check buffer's continued
14063 existence and beware narrowed buffers.
14064 (jit-lock-fontify-now): Adjust call accordingly.
14065
1d829c64
SM
140662013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14067
14068 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14069 to avoid misleading the user.
14070
72d548a9
LL
140712013-04-22 Leo Liu <sdl.web@gmail.com>
14072
14073 * info-look.el: Prefer latex2e.info. (Bug#14240)
14074
d0853629
MA
140752013-04-22 Michael Albinus <michael.albinus@gmx.de>
14076
14077 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14078
14079 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 14080 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
14081 (tramp-set-completion-function, tramp-parse-putty):
14082 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14083 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14084 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14085 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14086 (tramp-call-local-coding-command): Use `tramp-call-process'
14087 instead of `tramp-compat-call-process'.
14088
14089 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14090 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 14091 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 14092 (tramp-find-inline-compress): Improve traces.
d0853629
MA
14093 (tramp-maybe-send-script): Check for Perl binary.
14094 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14095
38cc0210
DU
140962013-04-22 Daiki Ueno <ueno@gnu.org>
14097
14098 * epg.el (epg-context-pinentry-mode): New function.
14099 (epg-context-set-pinentry-mode): New function.
14100 (epg--start): Pass --pinentry-mode option to gpg command.
14101
cc641ee1
XF
141022013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14103
02d844b5 14104 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 14105 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 14106 `completion-at-point'. (Bug#13774)
5d4e5c31 14107
cc641ee1
XF
14108 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14109 default key binding for `describe-distribution' has been moved to
14110 `C-h C-o'. (Bug#13970)
14111
1b42ee43
GM
141122013-04-21 Glenn Morris <rgm@gnu.org>
14113
14114 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14115 Add doc strings.
14116 (vc-print-log): Clarify interactive prompt.
14117
a6d63d97
GM
141182013-04-20 Glenn Morris <rgm@gnu.org>
14119
14120 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14121 No longer include timestamp etc information.
14122
d7f5c16f
RW
141232013-04-20 Roland Winkler <winkler@gnu.org>
14124
14125 * faces.el (read-face-name): Bug fix, return just one face if arg
14126 multiple is nil. (Bug#14209)
14127
bcd7a0a4
SM
141282013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14129
14130 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14131 (remove-function): Autoload.
14132
14133 * comint.el (comint-redirect-original-filter-function): Remove.
14134 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
14135 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14136 (vc-cvs-annotate-command):
bcd7a0a4
SM
14137 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14138 * progmodes/prolog.el (prolog-consult-compile):
14139 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14140 Use add/remove-function instead.
14141 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14142 (gud-tooltip-process-output, gud-tooltip-tips):
14143 Use add/remove-function instead.
14144 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14145 (scheme-interaction-mode, exit-scheme-interaction-mode):
14146 Use add/remove-function instead.
14147
14148 * vc/vc-dispatcher.el: Use lexical-binding.
14149 (vc--process-sentinel): Rename from vc-process-sentinel.
14150 Change last arg to be the code to run. Don't use vc-previous-sentinel
14151 and vc-sentinel-commands any more.
14152 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14153 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14154
e36b2d20 141552013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 14156
bcd7a0a4 14157 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 14158 Handle function names with a single character. (Bug#14111)
4d3268ba 14159
27821a89 141602013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
14161
14162 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14163 for subroutines defined in an eval (bug#14182).
14164
7d688336
TV
141652013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14166
14167 * bookmark.el (bookmark-completing-read): Improve handling of empty
14168 string (bug#14176).
14169
31dcede0
SM
141702013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14171
14172 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14173
adc31213
FEG
141742013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14175
14176 New faster Imenu implementation (bug#14058).
14177 * progmodes/python.el:
14178 (python-imenu-prev-index-position):
14179 (python-imenu-format-item-label-function)
14180 (python-imenu-format-parent-item-label-function)
14181 (python-imenu-format-parent-item-jump-label-function):
14182 New vars.
14183 (python-imenu-format-item-label)
14184 (python-imenu-format-parent-item-label)
14185 (python-imenu-format-parent-item-jump-label)
14186 (python-imenu--put-parent, python-imenu--build-tree)
14187 (python-imenu-create-index, python-imenu-create-flat-index)
14188 (python-util-popn): New functions.
14189 (python-mode): Set imenu-create-index-function to
14190 python-imenu-create-index.
14191
cdca8255
SM
141922013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14193
14194 * winner.el (winner-active-region): Use region-active-p, activate-mark
14195 and deactivate-mark (bug#14225).
14196
14197 * simple.el (deactivate-mark): Don't inline it.
14198
beb42340
MA
141992013-04-18 Michael Albinus <michael.albinus@gmx.de>
14200
14201 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14202
fc7f4d7e
TH
142032013-04-18 Tassilo Horn <tsdh@gnu.org>
14204
14205 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14206 file extensions from the archive-mode entry in order to prefer
14207 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14208
29f47822
LL
142092013-04-18 Leo Liu <sdl.web@gmail.com>
14210
14211 * bindings.el (help-event-list): Add ?\?.
14212
d36ed1c8
SM
142132013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14214
14215 * subr.el (with-wrapper-hook): Declare obsolete.
14216 * simple.el (filter-buffer-substring-function): New hook.
14217 (filter-buffer-substring): Use it.
14218 (filter-buffer-substring-functions): Mark obsolete.
14219 * minibuffer.el (completion-in-region-function): New hook.
14220 (completion-in-region): Use it.
14221 (completion-in-region-functions): Mark obsolete.
14222 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14223 * abbrev.el (abbrev-expand-function): New hook.
14224 (expand-abbrev): Use it.
14225 (abbrev-expand-functions): Mark obsolete.
14226 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14227 and :filter-return.
14228
04754d36
FEG
142292013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14230
14231 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14232 and do not care about match data.
14233
dd8791e9
SM
142342013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14235
14236 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14237 completion tables when completing error conditions and
14238 `declare' arguments.
14239 (lisp-complete-symbol, field-complete): Mark as obsolete.
14240 (check-parens): Unmatched parens are user errors.
14241 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14242
ffe54a13
AM
142432013-04-17 Michal Nazarewicz <mina86@mina86.com>
14244
dd8791e9
SM
14245 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14246 command changed buffer (ie. `flyspell-pre-buffer' is not current
14247 buffer), which prevents making decisions based on invalid value of
14248 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14249 cause an error when `flyspell-pre-point' was nil after switching
14250 buffers.
14251 (flyspell-post-command-hook): No longer needs to change buffers when
14252 checking pre-word. While at it remove unnecessary progn.
ffe54a13 14253
ec7e39f2
AM
142542013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14255
14256 * textmodes/ispell.el (ispell-add-per-file-word-list):
14257 Fix `flyspell-correct-word-before-point' error when accepting
14258 words and `coment-padding' is an integer by using
14259 `comment-normalize-vars' (Bug #14214).
14260
083850a6
FEG
142612013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14262
14263 New defun movement commands.
14264 * progmodes/python.el (python-nav--syntactically)
14265 (python-nav--forward-defun, python-nav-backward-defun)
14266 (python-nav-forward-defun): New functions.
14267
619ed6e1
FEG
142682013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14269
14270 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14271 (python-syntax-context): Use named compiler-macro for backwards
14272 compatibility with Emacs 24.x.
14273
7a1beb6c
LL
142742013-04-17 Leo Liu <sdl.web@gmail.com>
14275
14276 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14277 octave-hide-process-buffer.
14278
2d3fa3e5
SM
142792013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14280
14281 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14282 (bug#14216).
14283
7ce5be54
JPG
142842013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14285
14286 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14287 Fix adjustment of offset when receiving incomplete responses from GDB
14288 (bug#14129).
14289
351edece
SM
142902013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14291
14292 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14293 python-mode-abbrev-table.
14294 (python-skeleton-define): Adjust accordingly.
14295 (python-mode-abbrev-table): New table that inherits from it so that
14296 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14297
14298 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14299 (abbrev-symbol): Use it.
14300 (abbrev--before-point): Use it since we already handle inheritance.
14301
613f9481
LL
143022013-04-16 Leo Liu <sdl.web@gmail.com>
14303
14304 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14305 binding to info-lookup-symbol.
14306
51646b62
JB
143072013-04-16 Juanma Barranquero <lekktu@gmail.com>
14308
14309 * minibuffer.el (completion--twq-all):
14310 * term/ns-win.el (ns-initialize-window-system):
14311 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14312
efb3f01d
SM
143132013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14314
36c0a301
SM
14315 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14316 global bindings.
14317
efb3f01d
SM
14318 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14319
fb549d64
DG
143202013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14321
14322 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14323 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14324 to nil.
14325 (ruby-end-of-defun): Remove the unused arg, change the docstring
14326 to reflect that this function is only used as the value of
14327 `end-of-defun-function'.
14328 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14329 to reflect an earlier change that beginning/end-of-defun functions
14330 jump between methods in a class definition, as well as top-level
14331 functions.
14332
21e8fe2f
SM
143332013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14334
14335 * minibuffer.el (minibuffer-complete): Don't just scroll
14336 a *Completions* that's been iconified.
14337 (minibuffer-force-complete): Make sure repetitions do cycle when going
14338 through completion-in-region -> minibuffer-complete.
14339
20e527d0
AM
143402013-04-15 Alan Mackenzie <acm@muc.de>
14341
14342 Correct the placement of c-cpp-delimiters when there're #s not at
14343 col 0.
14344
14345 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14346 place a submatch around the #.
21e8fe2f
SM
14347 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14348 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
14349 on the #, not BOL.
14350
dabefae5
SM
143512013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14352
14353 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14354 (advice--member-p): New arg `name'.
14355 (advice--add-function, advice-member-p): Use it (bug#14202).
14356
85c9ab64
AM
143572013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14358
14359 Reformulate java imenu-generic-expression.
14360 The old expression contained ill formed regexps.
14361
14362 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14363 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14364 (cc-imenu-java-method-arg-regexp): New defconsts.
14365 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 14366 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
14367 handling of spaces in the regexp.
14368
0f821d99
AM
143692013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14370
14371 * textmodes/ispell.el (ispell-command-loop): Remove
14372 flyspell highlight of a word when ispell accepts it (bug #14178).
14373
eb922adf
MA
143742013-04-15 Michael Albinus <michael.albinus@gmx.de>
14375
14376 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14377 uses code from the previous `ange-ftp-run-real-handler'.
14378 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14379 only in case that function exist. This is needed for proper
14380 unloading of Tramp.
14381
4d9a0979
TH
143822013-04-15 Tassilo Horn <tsdh@gnu.org>
14383
14384 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14385
14386 * textmodes/reftex.el (reftex-compile-variables): Use it.
14387
a829b0dc
SM
143882013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14389
91e8293c
SM
14390 * files.el (normal-mode): Only use default major-mode if no other mode
14391 was specified.
14392
830aed4d
SM
14393 * emacs-lisp/trace.el (trace-values): New function.
14394
a829b0dc
SM
14395 * files.el: Allow : in local variables (bug#14089).
14396 (hack-local-variable-regexp): New var.
14397 (hack-local-variables-prop-line, hack-local-variables): Use it.
14398
7ae9f0fb
RW
143992013-04-13 Roland Winkler <winkler@gnu.org>
14400
14401 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14402 data before it gets modified by bibtex-beginning-of-entry.
14403
6646e848
RW
144042013-04-13 Roland Winkler <winkler@gnu.org>
14405
14406 * textmodes/bibtex.el (bibtex-url): Doc fix.
14407
144082013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
14409
14410 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14411 does not visit a BibTeX file, exclude it from the list of buffers
14412 returned by bibtex-initialize.
14413
0aa3616e
SB
144142013-04-13 Stephen Berman <stephen.berman@gmx.net>
14415
14416 * window.el (split-window): Remove interactive form, since as a
14417 command this function is a special case of split-window-below.
14418 Correct doc string.
14419
011cddd6
RW
144202013-04-12 Roland Winkler <winkler@gnu.org>
14421
14422 * faces.el (read-face-name): Do not override value of arg default.
14423 Allow single faces and strings as default values. Remove those
14424 elements from return value that are not faces.
14425 (describe-face): Simplify.
14426 (face-at-point): New optional args thing and multiple so that this
14427 function can provide the same functionality previously provided by
14428 read-face-name.
14429 (make-face-bold, make-face-unbold, make-face-italic)
14430 (make-face-unitalic, make-face-bold-italic, invert-face)
14431 (modify-face, read-face-and-attribute): Use face-at-point.
14432
14433 * cus-edit.el (customize-face, customize-face-other-window)
14434 * cus-theme.el (custom-theme-add-face)
14435 * face-remap.el (buffer-face-set)
14436 * facemenu.el (facemenu-set-face): Use face-at-point.
14437
f24e0036
MA
144382013-04-12 Michael Albinus <michael.albinus@gmx.de>
14439
14440 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14441
da3cda2d
TH
144422013-04-10 Tassilo Horn <tsdh@gnu.org>
14443
14444 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14445 off leading { and trailing } from field values.
14446
15e54145
SM
144472013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14448
78ce603d
SM
14449 * emacs-lisp/timer.el (timer--check): New function.
14450 (timer--time, timer-set-function, timer-event-handler): Use it.
14451 (timer-set-idle-time): Simplify.
14452 (timer--activate): CSE.
14453 (timer-event-handler): Give more info in error message.
14454 (internal-timer-start-idle): New function, moved from C.
14455
15e54145
SM
14456 * mpc.el (mpc-proc): Add `restart' argument.
14457 (mpc-proc-cmd): Use it.
14458 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14459 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14460 less often.
14461
7144c627
MY
144622013-04-10 Masatake YAMATO <yamato@redhat.com>
14463
14464 * progmodes/sh-script.el: Implement `sh-mode' own
14465 `add-log-current-defun-function' (bug#14112).
14466 (sh-current-defun-name): New function.
14467 (sh-mode): Use the function.
14468
b39792eb
BG
144692013-04-09 Bastien Guerry <bzg@gnu.org>
14470
14471 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14472
8acdeb71
SM
144732013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14474
6fcdab68
SM
14475 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14476
8acdeb71
SM
14477 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14478 timer (bug#14156).
14479
e3e7b504
NF
144802013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14481
14482 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14483 declaration.
14484
201bb296
LL
144852013-04-07 Leo Liu <sdl.web@gmail.com>
14486
14487 * pcmpl-x.el: New file.
14488
ebb19708
DA
144892013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14490
14491 Do not set x-display-name until X connection is established.
14492 This is needed to prevent from weird situation described at
14493 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14494 * frame.el (make-frame): Set x-display-name after call to
14495 window system initialization function, not before.
14496 * term/x-win.el (x-initialize-window-system): Add optional
14497 display argument and use it.
14498 * term/w32-win.el (w32-initialize-window-system):
14499 * term/ns-win.el (ns-initialize-window-system):
14500 * term/pc-win.el (msdos-initialize-window-system):
14501 Add compatible optional display argument.
14502
33bb237a
EZ
145032013-04-06 Eli Zaretskii <eliz@gnu.org>
14504
14505 * files.el (normal-backup-enable-predicate): On MS-Windows and
14506 MS-DOS compare truenames of temporary-file-directory and of the
14507 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14508 don't fail comparison by compare-strings. Also, compare file
14509 names case-insensitively on MS-Windows and MS-DOS.
14510
134abf1f
SM
145112013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14512
14513 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14514 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14515
d695cb94
DG
145162013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14517
e3e7b504
NF
14518 * whitespace.el (whitespace-color-on, whitespace-color-off):
14519 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 14520
f4ad7ea1 145212013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
14522
14523 * ispell.el (ispell-set-spellchecker-params):
14524 Really set `ispell-args' for all equivs.
14525
632556e4
SM
145262013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14527
14528 * ido.el (ido-completions): Use extra elements of ido-decorations
14529 (bug#14143).
14530 (ido-decorations): Update docstring.
14531
2a417372
MA
145322013-04-05 Michael Albinus <michael.albinus@gmx.de>
14533
14534 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14535 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14536 nil during initialization, in order not to miss changes since the
14537 file was opened. (Bug#14140)
14538
fc164b0c
LL
145392013-04-05 Leo Liu <sdl.web@gmail.com>
14540
14541 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14542
0ccecc08
JB
145432013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14544
14545 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14546
51af1aa2
GM
145472013-04-04 Glenn Morris <rgm@gnu.org>
14548
14549 * electric.el (electric-pair-inhibit-predicate): Add :version.
14550
b208ebc6
SM
145512013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14552
14553 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14554 when a package is required several times (bug#14082).
14555
f3d3eaf0
RW
145562013-04-04 Roland Winkler <winkler@gnu.org>
14557
14558 * faces.el (read-face-name): Behave as promised by the docstring.
14559 Assume that arg default is a list of faces.
14560 (describe-face): Call read-face-name with list of default faces.
14561
2575da50
TV
145622013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14563
14564 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14565 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14566 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14567 the header.
14568 (bookmark-exit-hook-internal): Save even if list is empty.
14569
397703b4
YH
145702013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14571
14572 * emacs-lisp/package.el (package-pinned-packages): New var.
14573 (package--add-to-archive-contents): Obey it (bug#14118).
14574
691e26ae
AM
145752013-04-03 Alan Mackenzie <acm@muc.de>
14576
8a621d53
JB
14577 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14578 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
14579
14580 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14581 parameter `not-in-delimiter'. Handle being inside comment opener.
14582 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14583 character in case we're typing a '*' after a '/'.
14584 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14585 instead by passing the parameter to c-state-pp-to-literal.
14586
14587 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14588 for elt. 7 of a parse state.
14589
4b725a70
PE
145902013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14591
14592 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14593 * international/latin1-disp.el, international/mule-util.el:
14594 * language/cyril-util.el, language/european.el, language/ind-util.el:
14595 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14596 * language/tibetan.el, language/viet-util.el:
14597 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14598
15c579f0
SM
145992013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14600
14601 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14602 (electric-pair-post-self-insert-function): Use it.
14603 (electric-pair-default-inhibit): New function, extracted from
14604 electric-pair-post-self-insert-function.
14605
a77e2924
RW
146062013-03-31 Roland Winkler <winkler@gnu.org>
14607
14608 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14609
2bd8a4a8
SM
146102013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14611
14612 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14613
8d3655be 146142013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
14615
14616 Un-indent after "pass" and "return" statements (Bug#13888)
14617 * progmodes/python.el (python-indent-block-enders): New var.
14618 (python-indent-calculate-indentation): Use it.
14619
8d3655be 146202013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
14621
14622 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14623 defun. Defining it as defalias could introduce too eager
14624 byte-compiler optimization. (Bug#14030)
14625
8d3655be 146262013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
14627
14628 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14629
0b1619da
LL
146302013-03-30 Leo Liu <sdl.web@gmail.com>
14631
14632 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14633 (kmacro-execute-from-register): Pass the keyboard macro to
14634 kmacro-call-macro or repeating won't work correctly.
14635
0b938190
TZ
146362013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14637
14638 * progmodes/subword.el: Back to using `forward-symbol'.
14639
14640 * subr.el (forward-whitespace, forward-symbol)
14641 (forward-same-syntax): Move from thingatpt.el.
14642
35710234
LL
146432013-03-29 Leo Liu <sdl.web@gmail.com>
14644
14645 * kmacro.el (kmacro-to-register): New command.
14646 (kmacro-execute-from-register): New function.
14647 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14648
efc0bb73
SM
146492013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14650
14651 * mpc.el: Use defvar-local and setq-local.
14652 (mpc--proc-connect): Connection failures are not bugs.
14653 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14654 (mpc-volume-map): Bind to the up-events.
14655
75a2f981
TZ
146562013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14657
14658 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14659 instead of `forward-symbol'.
14660
17c781d1
SM
146612013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14662
14663 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14664 (edebug--recursive-edit): Use it.
14665 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14666 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14667
f67bfbcf
LL
146682013-03-28 Leo Liu <sdl.web@gmail.com>
14669
14670 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14671
b59f639d
EZ
146722013-03-27 Eli Zaretskii <eliz@gnu.org>
14673
14674 * facemenu.el (list-colors-callback): New defvar.
14675 (list-colors-redisplay): New function.
14676 (list-colors-display): Install list-colors-redisplay as the
14677 revert-buffer-function. (Bug#14063)
14678
f557c1b1
SM
146792013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14680
b1da2957
SM
14681 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14682 and suffixes don't overlap (bug#14061).
14683
f557c1b1
SM
14684 * case-table.el: Use lexical-binding.
14685 (case-table-get-table): New function.
14686 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14687
002668e1
TZ
146882013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14689
14690 * progmodes/subword.el: Add `superword-mode' to do word motion
14691 over symbol_words (parallels and leverages `subword-mode' which
14692 does word motion inside MixedCaseWords).
14693
73572c72
AG
146942013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14695
78b8f320 14696 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 14697 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 14698
69b2c07e
SM
146992013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14700
14701 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14702 Change return value to be a sexp. Delay `get-buffer' to after
14703 restoring the desktop (bug#13951).
14704
08bb5ee2
LL
147052013-03-26 Leo Liu <sdl.web@gmail.com>
14706
14707 * register.el: Move semantic tag handling back to
14708 cedet/semantic/senator.el. (Bug#14052)
14709
8d4c974e
SM
147102013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14711
14712 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14713 into the prompt either (bug#13963).
14714
b234d92c
SM
147152013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14716
14717 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14718 part of "(error-foo)".
14719
ddfa3cb4
JL
147202013-03-24 Juri Linkov <juri@jurta.org>
14721
14722 * replace.el (list-matching-lines-prefix-face): New defcustom.
14723 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14724 `occur-engine' if `face-differs-from-default-p' returns t.
14725 (occur-engine): Add `,' inside backquote construct to evaluate
14726 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14727 Pass `prefix-face' to the functions `occur-context-lines' and
14728 `occur-engine-add-prefix'.
14729 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14730 `prefix-face' and propertize the prefix with `prefix-face'.
14731 (Bug#14017)
14732
7b0e2f85
LL
147332013-03-24 Leo Liu <sdl.web@gmail.com>
14734
14735 * nxml/rng-valid.el (rng-validate-while-idle)
14736 (rng-validate-quick-while-idle): Guard against deleted buffer.
14737 (Bug#13999)
14738
14739 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14740 is the last entry in kill-buffer-hook.
14741
14742 * files.el (kill-buffer-hook): Doc fix.
14743
b3082f49
DG
147442013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14745
b234d92c
SM
14746 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14747 Make it safe-local.
bde73d27 14748
b3082f49
DG
14749 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14750
a320a2db
LL
147512013-03-23 Leo Liu <sdl.web@gmail.com>
14752
7e74b0fb
LL
14753 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14754 Remove.
14755
14756 * nxml/rng-valid.el (rng-validate-mode)
14757 (rng-after-change-function, rng-do-some-validation):
14758 * nxml/rng-maint.el (rng-validate-buffer):
14759 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14760 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14761 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14762 (nxml-extend-after-change-region): Use with-silent-modifications.
14763
a320a2db
LL
14764 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14765 timer-idle-list.
14766
14767 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14768 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14769 timer-idle-list. (Bug#13999)
14770
e38e6780
JL
147712013-03-23 Juri Linkov <juri@jurta.org>
14772
14773 * info.el (info-index-match): New face.
14774 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14775 main pattern and add text properties with the new face to matches
14776 in index entries relative to the beginning of the index entry.
14777 (Bug#14015)
14778
e8cc7880
DE
147792013-03-21 Eric Ludlam <zappo@gnu.org>
14780
39c87140 14781 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
14782 Inhibit read only while inserting objects.
14783
9bb0d822
TZ
147842013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14785
14786 * progmodes/cfengine.el: Update docs to mention
14787 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14788 symbol motion. Remove "_" from the word syntax.
14789
aa703640
TZ
147902013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14791
14792 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14793 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14794
afff09d0
JL
147952013-03-20 Juri Linkov <juri@jurta.org>
14796
14797 * info.el (Info-next-reference-or-link)
14798 (Info-prev-reference-or-link): New functions.
14799 (Info-next-reference, Info-prev-reference): Use them.
14800 (Info-try-follow-nearest-node): Handle footnote navigation.
14801 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14802
9a1ff164
SM
148032013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14804
14805 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14806 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14807
2667d15d
PE
148082013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14809
14810 Suppress unnecessary non-ASCII chatter during build process.
14811 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14812 (batch-skkdic-convert): Suppress most of the chatter.
14813 It's not needed so much now that machines are faster,
14814 and its non-ASCII component was confusing; see Dmitry Gutov in
14815 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14816
438b0579
LL
148172013-03-20 Leo Liu <sdl.web@gmail.com>
14818
14819 * ido.el (ido-chop): Fix bug#10994.
14820
c128ab07
DG
148212013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14822
14823 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14824 Remove vars.
9a1ff164
SM
14825 (whitespace-color-on, whitespace-color-off):
14826 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 14827
0e6008c5
SM
148282013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14829
14830 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14831 remapping in mode-line.
14832 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14833
627b52b0
DG
148342013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14835
14836 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14837 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
14838 (whitespace-font-lock-keywords): Change description.
14839 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14840 the constructed keywords instead.
14841 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 14842
50c3a20b
LL
148432013-03-19 Leo Liu <sdl.web@gmail.com>
14844
14845 * progmodes/compile.el (compilation-display-error): New command.
14846 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14847 C-o. (Bug#13992)
14848
2aa2157b
PE
148492013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14850
14851 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14852
e477dbfa
JD
148532013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14854
14855 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14856
64ab82d1
MA
148572013-03-18 Michael Albinus <michael.albinus@gmx.de>
14858
14859 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14860
14861 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14862 * net/tramp-gvfs.el (top):
14863 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14864 (tramp-handle-shell-command): Use it.
14865 (tramp-dissect-file-name): Raise an error when hostname is a
14866 method name, and neither method nor user is specified.
14867
14868 * net/trampver.el: Update release number.
14869
33cef733
LL
148702013-03-18 Leo Liu <sdl.web@gmail.com>
14871
14872 Make sure eldoc can be turned off properly.
14873 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14874 eldoc-mode.
14875 (eldoc-display-message-p): Revert last change.
14876 (eldoc-display-message-no-interference-p)
14877 (eldoc-print-current-symbol-info): Tweak.
14878
2167b7b2
TH
148792013-03-18 Tassilo Horn <tsdh@gnu.org>
14880
14881 * doc-view.el (doc-view-new-window-function): Check the new window
14882 overlay's display property instead the char property of the
14883 buffer's first char. Use `with-selected-window' instead of
14884 `save-window-excursion' with `select-window'.
14885 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 14886 display property instead the char property of the buffer's first char.
2167b7b2 14887
982efbcd
PE
148882013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14889
14890 Automate the build of ja-dic.el (Bug#13984).
14891 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14892 from the input, rather than assume that it's been done for us by the
14893 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14894 the current date into a ja-dic.el comment, as that complicates
14895 regression testing.
14896
2fcc7665
SM
148972013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14898
14899 * whitespace.el: Fix double evaluation.
14900 (whitespace-space, whitespace-hspace, whitespace-tab)
14901 (whitespace-newline, whitespace-trailing, whitespace-line)
14902 (whitespace-space-before-tab, whitespace-indentation)
14903 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14904 obsolete defvars.
14905 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14906 (whitespace-color-on): Use a single font-lock-add-keywords call.
14907 Fix double-evaluation of face variables.
14908
67c0a6e6
MA
149092013-03-17 Michael Albinus <michael.albinus@gmx.de>
14910
2fcc7665
SM
14911 * net/tramp-adb.el (tramp-adb-parse-device-names):
14912 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 14913 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 14914
69489f1d
LL
149152013-03-17 Leo Liu <sdl.web@gmail.com>
14916
14917 Extend eldoc to display info in the mode-line. (Bug#13978)
14918 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14919 (eldoc-mode-line-string): New variable.
14920 (eldoc-minibuffer-message): New function.
14921 (eldoc-message-function): New variable.
14922 (eldoc-message): Use it.
14923 (eldoc-display-message-p)
2fcc7665
SM
14924 (eldoc-display-message-no-interference-p):
14925 Support eldoc-post-insert-mode.
69489f1d
LL
14926
14927 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14928 (eval-expression): Run it.
14929
9c44569e
RW
149302013-03-17 Roland Winkler <winkler@gnu.org>
14931
14932 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14933 strings in the list of return values.
14934
327f1f6f
JB
149352013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14936
14937 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14938 radix before checking for HMS forms.
14939
67ed8fcd
LL
149402013-03-16 Leo Liu <sdl.web@gmail.com>
14941
14942 * progmodes/scheme.el: Add indentation and font-locking for λ.
14943 (Bug#13975)
14944
78be8b64 149452013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14946
14947 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14948 token before point (bug#13942).
14949
78be8b64 149502013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14951
95b43468 14952 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14953
98e775e6
EZ
149542013-03-16 Eli Zaretskii <eliz@gnu.org>
14955
14956 * startup.el (command-line-normalize-file-name): Fix handling of
14957 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14958 <xfq.free@gmail.com> in
14959 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14960
2edd6029
MA
149612013-03-15 Michael Albinus <michael.albinus@gmx.de>
14962
14963 Sync with Tramp 2.2.7.
14964
14965 * net/trampver.el: Update release number.
14966
d35f5864
TH
149672013-03-14 Tassilo Horn <tsdh@gnu.org>
14968
e903c210 14969 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14970 (doc-view-insert-image): Don't modify overlay associated to
14971 non-live windows, and implement horizontal centering of image in
14972 case it's smaller than the window.
14973 (doc-view-new-window-function): Force redisplay of new windows on
14974 doc-view buffers.
d35f5864 14975
1c4a85ed
KF
149762013-03-13 Karl Fogel <kfogel@red-bean.com>
14977
14978 * saveplace.el (save-place-alist-to-file): Don't sort
14979 `save-place-alist', just pretty-print it (bug#13882).
14980
85b66a21
MA
149812013-03-13 Michael Albinus <michael.albinus@gmx.de>
14982
a020afb9
JB
14983 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14984 Check whether `default-file-name-coding-system' is bound.
14985 It isn't in XEmacs.
85b66a21 14986
175600da
SM
149872013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14988
e7f7cb1a
SM
14989 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14990 backquotes for `obsolete' (bug#13929).
14991
175600da
SM
14992 * international/mule.el (find-auto-coding): Include file name in
14993 obsolescence warning (bug#13922).
14994
ca68a22e
TZ
149952013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14996
14997 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14998 for CFEngine 3-specific indentation.
14999 (cfengine3-indent-line): Use it. Fix up category regex.
15000 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15001
940e5099
SM
150022013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15003
15004 * type-break.el (type-break-file-name):
15005 * textmodes/remember.el (remember-data-file):
15006 * strokes.el (strokes-file):
15007 * shadowfile.el (shadow-initialize):
15008 * saveplace.el (save-place-file):
15009 * ps-bdf.el (bdf-cache-file):
15010 * progmodes/idlwave.el (idlwave-config-directory):
15011 * net/quickurl.el (quickurl-url-file):
15012 * international/kkc.el (kkc-init-file-name):
15013 * ido.el (ido-save-directory-list-file):
15014 * emulation/viper.el (viper-custom-file-name):
15015 * emulation/vip.el (vip-startup-file):
15016 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15017 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15018
cc725808
PE
150192013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15020
15021 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15022 * language/thai-word.el: Switch to UTF-8.
15023
a020afb9 15024See ChangeLog.16 for earlier changes.
e3d51b27
MR
15025
15026;; Local Variables:
15027;; coding: utf-8
e3d51b27
MR
15028;; End:
15029
ba318903 15030 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
15031
15032 This file is part of GNU Emacs.
15033
15034 GNU Emacs is free software: you can redistribute it and/or modify
15035 it under the terms of the GNU General Public License as published by
15036 the Free Software Foundation, either version 3 of the License, or
15037 (at your option) any later version.
15038
15039 GNU Emacs is distributed in the hope that it will be useful,
15040 but WITHOUT ANY WARRANTY; without even the implied warranty of
15041 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15042 GNU General Public License for more details.
15043
15044 You should have received a copy of the GNU General Public License
15045 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.