Require pkg-config 0.26 or later in autogen.sh only.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2f9b4cfc
LL
12014-05-11 Leo Liu <sdl.web@gmail.com>
2
3 * net/rcirc.el (rcirc-sentinel): Fix last change.
4
f36f0bca
SS
52014-05-08 Sam Steingold <sds@gnu.org>
6
7 * net/rcirc.el (rcirc-reconnect-delay): New user option.
8 (rcirc-sentinel): Auto-reconnect to the server if
9 `rcirc-reconnect-delay' is non-0 (but not more often than its
10 value in case the host is off-line).
11
b722ea4e
EZ
122014-05-09 Eli Zaretskii <eliz@gnu.org>
13
14 * progmodes/grep.el (lgrep): Fix a typo in last commit.
15
1d75432d
GM
162014-05-09 Glenn Morris <rgm@gnu.org>
17
18 * files.el (file-expand-wildcards):
19 * man.el (Man-support-local-filenames):
20 * printing.el (pr-i-directory, pr-interface-directory):
21 * progmodes/grep.el (lgrep, rgrep):
22 * textmodes/ispell.el (ispell-call-process)
23 (ispell-call-process-region, ispell-start-process)
24 (ispell-init-process): Use file-accessible-directory-p.
25
b406487f
SM
262014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
29 (xterm-mouse--read-event-sequence-1000): Return nil if something
30 looks fishy.
31 (xterm-mouse-event): Propagate it.
32 (xterm-mouse-translate-1): Handle it.
33
fb3f83f5 342014-05-08 Stephen Berman <stephen.berman@gmx.net>
1ddb2150
SB
35
36 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
37 four slots of the parameter list are filled, make sure to pass it
38 to the argument list of todo-insert-item--basic.
39
fb3f83f5 402014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5e87fcb1
SM
41
42 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
43 Add optional `seen' argument to detect and break infinite loops.
44
fb3f83f5 452014-05-08 Eli Zaretskii <eliz@gnu.org>
c5d670f5
EZ
46
47 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
48 (trace-unsafe, trace-use-tree): Make parentheses style be
49 according to Emacs style.
50
fb3f83f5 512014-05-08 Michael Albinus <michael.albinus@gmx.de>
3e59ead1 52
5e87fcb1
SM
53 * net/tramp-sh.el (tramp-remote-process-environment):
54 Remove HISTFILE and HISTSIZE; it's too late to set them here.
55 Add :version entry.
56 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
57 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
58 extra "PSx=..." commands.
59 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
60 (Bug#17295)
61
23e19cf2
MA
62 (tramp-uudecode): Replace the hard-coded temporary file name by a
63 format specifier.
64 (tramp-remote-coding-commands): Enhance docstring.
65 (tramp-find-inline-encoding): Replace "%t" by a temporary file
66 name. (Bug#17415)
67
fb3f83f5 682014-05-08 Glenn Morris <rgm@gnu.org>
0c4decae
GM
69
70 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
71 (find-gc-source-files): Update some names.
72 (trace-call-tree): Simplify and update.
73 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
74
fb3f83f5 752014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
c22f24f6 76
bf67c3f7
SM
77 * minibuffer.el (completion--try-word-completion): Revert fix for
78 Bug#15980 (bug#17375).
79
c22f24f6
SM
80 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
81 Always store button numbers in the same way in xterm-mouse-last;
82 Don't burp is xterm-mouse-last is not set as expected.
83 Never return negative indices.
84
fb3f83f5 852014-05-08 Dmitry Gutov <dgutov@yandex.ru>
4dd3c4d5
DG
86
87 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
88 Backtrack one char if the global/char-literal var matcher hits
89 inside a string. The next char could be the beginning of an
90 expression expansion.
91
fb3f83f5 922014-05-08 Glenn Morris <rgm@gnu.org>
6da8d069
GM
93
94 * help-fns.el (describe-function-1): Test for an autoload before a
95 macro, since `macrop' works on autoloads. (Bug#17410)
96
fb3f83f5 972014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
dccb0688 98
e6025d72
SM
99 * electric.el (electric-indent-functions-without-reindent): Add yaml.
100
dccb0688
SM
101 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
102 Make sure the new point we return is within the new string (bug#17239).
103
049534ad
DC
1042014-05-05 Daniel Colascione <dancol@dancol.org>
105
106 * progmodes/compile.el (compilation-error-regexp-alist-alist):
107 Port `gnu' pattern to rx.
108
80e377c0
JC
1092014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
110
111 Remove unneeded prompt when closing a buffer with active
112 emacsclient ("Buffer ... still has clients"), #16548.
113 * server.el (server-start): Remove the only call to:
114 (server-kill-buffer-query-function): Remove.
115
f930a063
LL
1162014-05-04 Leo Liu <sdl.web@gmail.com>
117
118 * calendar/diary-lib.el (calendar-chinese-month-name-array):
119 Defvar to pacify compiler.
120
3e9fa60a 1212014-05-04 Eli Zaretskii <eliz@gnu.org>
74a9022a
EZ
122
123 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
124
3e9fa60a 1252014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
e6cf6ca0
SM
126
127 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
128 Use nil rather than `default' for the "default" appearance (bug#17388).
129 * vc/ediff-util.el (ediff-inferior-compare-regions)
130 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
131 a misleading `default' value when it's really a boolean.
132 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
133 overlay is not visible.
134
3e9fa60a 1352014-05-04 Stephen Berman <stephen.berman@gmx.net>
7bd9ce64
SB
136
137 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
138 (todo-menu): Uncomment and update.
139
3e9fa60a 1402014-05-04 Stephen Berman <stephen.berman@gmx.net>
aed4b12d
SB
141
142 * calendar/todo-mode.el: Reimplement item editing to have the same
143 basic user interface as item insertion, and make small UI and
144 larger internal improvements to the latter.
145 (todo-insert-item): Add reference to the Todo mode user manual to
146 the documentation string.
147 (todo-insert-item--basic): Rename from todo-basic-insert-item and
148 adjust all callers. Change signature to combine diary and
149 nonmarking arguments. Incorporate functionality of deleted item
150 copying command and add error checking. Remove detailed
151 descriptions of the arguments from the documentation string, since
152 this is treated in the Todo mode user manual.
153 (todo-copy-item, todo-edit-multiline-item)
154 (todo-edit-done-item-comment, todo-edit-item-header)
155 (todo-edit-item-time, todo-edit-item-date-from-calendar)
156 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
157 (todo-edit-item-date-year, todo-edit-item-date-month)
158 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
159 Remove.
160 (todo-edit-item): Reimplement as wrapper command for
161 todo-edit-item--next-key and make it distinguish done and not done
162 todo items.
163 (todo-edit-item--text): New function, replacing old command
164 todo-edit-item and incorporating deleted commands
165 todo-edit-multiline-item and todo-edit-done-item-comment.
166 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
167 Use only numeric value of prefix argument. Remove detailed
168 descriptions of the arguments from the documentation string, since
169 this is treated in the Todo mode user manual.
170 (todo-edit-item--diary-inclusion): New function, replacing old
171 command todo-edit-item-diary-inclusion and incorporating and fixing
172 functionality of deleted command todo-edit-item-diary-nonmarking,
173 making sure to remove todo-nondiary-marker when adding
174 diary-nonmarking-symbol.
175 (todo-edit-category-diary-inclusion): Make sure to delete
176 diary-nonmarking-symbol when adding todo-nondiary-marker.
177 (todo-edit-category-diary-nonmarking): Fix indentation.
178 (todo-insert-item--parameters): Group diary and nonmarking
179 parameters together.
180 (todo-insert-item--apply-args): Adjust to signature of
181 todo-insert-item--basic and incorporate copy parameter.
182 Make small code improvements.
183 (todo-insert-item--next-param): Improve prompt and adjust it to
184 new parameter grouping. Remove obsolete code.
185 (todo-edit-item--param-key-alist)
186 (todo-edit-item--date-param-key-alist)
187 (todo-edit-done-item--param-key-alist): New defconsts.
188 (todo-edit-item--prompt): New variable.
189 (todo-edit-item--next-key): New function.
5e87fcb1
SM
190 (todo-key-bindings-t): Bind "e" to todo-edit-item.
191 Remove bindings of deleted commands.
aed4b12d 192
3e9fa60a 1932014-05-04 Leo Liu <sdl.web@gmail.com>
157e8cfd
LL
194
195 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
196
3e9fa60a 1972014-05-04 Glenn Morris <rgm@gnu.org>
d136f184
GM
198
199 * allout-widgets.el (allout-widgets-tally)
200 (allout-decorate-item-guides):
201 * menu-bar.el (menu-bar-positive-p):
202 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
203 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
204 * progmodes/js.el (js--inside-param-list-p)
205 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
206 * progmodes/prolog.el (region-exists-p):
207 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
208 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
209 Doc fixes (replace `iff').
210
3e9fa60a 2112014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4ec0cf9c
SM
212
213 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
214
bbdcf64f
LL
2152014-05-04 Leo Liu <sdl.web@gmail.com>
216
217 Support Chinese diary entries in calendar and diary. (Bug#17393)
218 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
219 (calendar-chinese-from-absolute-for-diary)
220 (calendar-chinese-to-absolute-for-diary)
221 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
222 (diary-chinese-list-entries): New functions to list and mark
223 Chinese diary entries in the calendar window.
224 (diary-chinese-anniversary)
225 (diary-chinese-insert-anniversary-entry)
226 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
227 (diary-chinese-insert-yearly-entry): New commands to insert
228 Chinese diary entries.
229
230 * calendar/diary-lib.el (diary-font-lock-keywords): Support
231 font-locking Chinese dates.
232
233 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
234 inserting Chinese diary entries.
235
236 * calendar/calendar.el (diary-chinese-entry-symbol): New
237 customizable variable.
238 (calendar-mode-map): Add bindings for inserting Chinese diary
239 entries.
240
cfd59d67
JL
2412014-05-03 Juri Linkov <juri@jurta.org>
242
243 * dired.el (dired-check-switches, dired-switches-recursive-p):
244 New functions. (Bug#17218)
245 (dired-switches-escape-p, dired-move-to-end-of-filename):
246 Use `dired-check-switches'.
247 (dired-insert-old-subdirs, dired-build-subdir-alist)
248 (dired-sort-R-check): Use `dired-switches-recursive-p'.
249
4807c7eb
BR
2502014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
251
a7e1ffdc
BR
252 * simple.el (undo-make-selective-list): New algorithm fixes
253 incorrectness of position adjustments when undoing in region.
254 (Bug#17235)
255 (undo-elt-crosses-region): Make obsolete.
256 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos): New
257 functions to adjust positions using undo-deltas.
4807c7eb 258
17a873c5
SM
2592014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
260
261 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
262 the last consecutive closing paren (bug#17345).
263
724ee6dc
RT
2642014-04-30 Reuben Thomas <rrt@sc3d.org>
265
266 * dired.el (dired-mode): make terminology for eXpunge command
267 consistent. (Bug#17276)
268
72962dd8
EZ
2692014-04-30 Eli Zaretskii <eliz@gnu.org>
270
271 * dired.el (dired-initial-position-hook, dired-initial-position):
272 Doc string fixes.
273
09b911ad 2742014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
275
276 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
277
09b911ad 2782014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
279
280 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 281 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
282 overriden by the defface spec which also fixes issues on win32 where
283 the toolbar coloring was wrong because it is set through X resources
284 and was (wrongfully) overriden. (Bug#16694)
285
09b911ad 2862014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
287
288 * textmodes/rst.el (electric-pair-pairs): Declare.
289 (rst-mode): Set it (bug#17131).
290
09b911ad 2912014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
292
293 * desktop.el (desktop-value-to-string): Let-bind `print-length'
294 and `print-level' to nil. (Bug#17351)
295
09b911ad 2962014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
297
298 * battery.el (battery-update): Handle the case where battery
299 status is "N/A" (bug#17319).
300
9b7b020d
SM
3012014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
302
303 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
304 to syntax-propertize.
305 (ps-mode-auto-indent): Mark as obsolete.
306 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
307 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
308 word regexp operators.
309 (ps-mode-map): Move initialization into declaration. Remove binding
310 for TAB, RET, >, ], and }.
311 (ps-mode-syntax-table): Move initialization into declaration.
312 Don't give word syntax to non-word chars.
313 (ps-run-mode-map): Move initialization into declaration.
314 (ps-mode-menu-main): Remove auto-indent entry.
315 (ps-mode-smie-rules): New function.
316 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
317 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
318 (ps-mode--string-syntax-table): New const.
319 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
320 New functions.
321 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
322 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
323
196bfaec
DC
3242014-04-27 Daniel Colascione <dancol@dancol.org>
325
326 * term/xterm.el (xterm-paste): Use large finite timeout when
327 reading event to avoid putting keys in this-command-keys.
328
5ba339c7
SM
3292014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
332 (perl-syntax-propertize-function): Use it. Extend handling of
333 here-docs to the unquoted case.
334
dff4a9f6 3352014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 336
5ba339c7
SM
337 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
338 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 339
dff4a9f6 3402014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
341
342 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
343 Fix syntax for @. (Bug#17325)
344
dff4a9f6 3452014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
346
347 * emacs-lisp/cl.el (gv): Require gv early to break eager
348 macro-expansion cycles.
349
dff4a9f6 3502014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 351
05452dc4
SM
352 * simple.el (region-active-p): Check there's a mark (bug#17324).
353
0e8a9331
SM
354 * simple.el (completion-list-mode-map): Use choose-completion for the
355 mouse binding as well (bug#17302).
356 (completion-list-mode, completion-setup-function): Adjust docstring and
357 echo area message accordingly.
358 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
359 calling convention of choose-completion.
360 * comint.el (comint-dynamic-list-completions):
361 * term.el (term-dynamic-list-completions): Accept choose-completion.
362
c0868451
SM
363 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
364 &, |, +, - and * can't be a division (bug#17317).
365
f7e0450a
SM
366 * term/xterm.el (xterm--version-handler): Don't use modern xterm
367 features on gnome-terminal (bug#16988).
368
5e4ab4e4
TTN
3692014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
370
371 Improve Scheme font-locking for (define ((foo ...) ...) ...).
372
373 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
374 the declared object, ignore zero or more parens, not zero or one.
375
d5031a2a
LL
3762014-04-24 Leo Liu <sdl.web@gmail.com>
377
378 * progmodes/xscheme.el (xscheme-expressions-ring)
379 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
380 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
381 (xscheme-allow-output-p, xscheme-prompt)
382 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
383
384 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
385 Comment out unused functions.
386
118b5a92
SM
3872014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
388
389 * info.el: Use lexical-binding and cl-lib.
390 Use defvar-local and setq-local instead of make-local-variable.
391 (Info-apropos-matches): Avoid add-to-list.
392 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
393
9b233997
DC
3942014-04-24 Daniel Colascione <dancol@dancol.org>
395
396 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
397
ddc13efd
SM
3982014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
401
f2df692c
MH
4022014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
403
404 * dired.el (dired-insert-set-properties): Do not consider
405 subdirectory headings and empty lines to be information that
406 `dired-hide-details-mode' should hide. (Bug#17228)
407
14828a95
MA
4082014-04-22 Michael Albinus <michael.albinus@gmx.de>
409
410 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
411 Remove test messages.
412 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
413 and `target' twice.
414
42e91034 4152014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 416
9c104369
SM
417 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
418 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
419
622eef68
SM
420 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
421
42e91034 4222014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 423
622eef68
SM
424 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
425 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
426 the file name. Add test messages for hunting a bug on hydra.
427 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
428
42e91034 4292014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
430
431 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
432 Don't prettify a word within a symbol.
433
42e91034 4342014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
435
436 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
437 possible.
438
1b0f10d2
DC
4392014-04-22 Daniel Colascione <dancol@dancol.org>
440
441 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
442 use defun to define `function-put'.
443
67c477ae
SM
4442014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
445
4f965793
SM
446 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
447 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
448 (lisp-mode-variables): Set font-lock-extra-managed-props.
449
67c477ae
SM
450 * emacs-lisp/byte-run.el (function-put): New function.
451 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
452 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
453 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
454 Use them.
455
66fda794
DC
4562014-04-22 Daniel Colascione <dancol@dancol.org>
457
67c477ae
SM
458 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
459 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
460 `macroexpand-all'.
461
462 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
463 Improve docstrings.
464
c98212f9
DC
465 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
466 Use lambda function values, not quoted lambdas.
467 (byte-compile-recurse-toplevel): Remove extraneous &optional.
468
66fda794 469 * emacs-lisp/cl-macs.el
c98212f9 470 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
471 (cl-struct-slot-value): Conditionally use aref or nth so that the
472 compiler produces optimal code.
473
d6f14ca7
SM
4742014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
477 (inline): Don't inline cl--set-elt.
478 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
479 Define as inlinable instead.
480 (cl-struct-set-slot-value): Remove.
481
482 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
483 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
484 Use setf instead.
485
44faec17
DC
4862014-04-21 Daniel Colascione <dancol@dancol.org>
487
488 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
489 last two parameters after all.
490 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
491 (cl--compiler-macro-assoc,cl-struct-slot-value)
492 (cl-struct-set-slot-value): Stop using them.
493
494(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
495
496 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
497 entry in image-mode-winprops-alist.
498
2fa1b97d
DC
4992014-04-21 Daniel Colascione <dancol@dancol.org>
500
9253f7af
SM
501 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
502 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
503 (byte-compile-toplevel-file-form): Use it.
504
2fa1b97d
DC
505 * emacs-lisp/cl-macs.el:
506 (cl--loop-let): Properly destructure `while' clauses.
507
e8a77f24
DC
5082014-04-20 Daniel Colascione <dancol@dancol.org>
509
510 * vc/vc.el (vc-root-dir): New public autoloaded function for
511 generically finding the current VC root.
512 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 513 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 514
89a2e783
DC
5152014-04-20 Daniel Colascione <dancol@dancol.org>
516
517 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
518 argument.
519 (cl--const-expr-val): cl--const-expr-val should macroexpand its
520 argument in case we're inside a symbol-macrolet.
521 (cl--do-arglist, cl--compiler-macro-typep)
522 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
523 environment to `cl--const-expr-val'.
524 (cl-struct-sequence-type,cl-struct-slot-info)
525 (cl-struct-slot-offset, cl-struct-slot-value)
526 (cl-struct-set-slot-value): New functions.
527
fe36068f
SM
5282014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
531 assignments such as "case=hello" (bug#17297).
532
ce8c5107
MA
5332014-04-18 Michael Albinus <michael.albinus@gmx.de>
534
535 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
536 Do not autoload.
537 (tramp-file-name-handler, tramp-completion-file-name-handler):
538 Revert patch from 2014-04-10, it isn't necessary anymore.
539 (tramp-autoload-file-name-handler)
540 (tramp-register-autoload-file-name-handlers): New defuns.
541 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
542 (tramp-register-file-name-handlers): Remove also
543 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
544 Do not autoload its invocation, but eval it after loading of 'tramp.
545
546 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
547
548 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
549
bfc30790
DC
5502014-04-17 Daniel Colascione <dancol@dancol.org>
551
552 Add support for bracketed paste mode; add infrastructure for
553 managing terminal mode enabling and disabling automatically.
554
555 * xt-mouse.el:
556 (xterm-mouse-mode): Simplify.
557 (xterm-mouse-tracking-enable-sequence)
558 (xterm-mouse-tracking-disable-sequence): New constants.
559 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
560 (turn-off-xterm-mouse-tracking-on-terminal):
561 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
562 parameters instead of random hooks.
563 (turn-on-xterm-mouse-tracking)
564 (turn-off-xterm-mouse-tracking): Delete.
565
566 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
567 (xterm-paste-ending-sequence): New constant.
568 (xterm-paste): New command used for bracketed paste support.
569
570 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
571 (terminal-init-xterm-bracketed-paste-mode): New function.
572 (terminal-init-xterm): Call it.
573 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
574 and tty-mode-reset-strings instead of random hooks.
575 (xterm-turn-on-modify-other-keys)
576 (xterm-turn-off-modify-other-keys)
577 (xterm-remove-modify-other-keys): Delete obsolete functions.
578
67c477ae
SM
579 * term/screen.el: Rewrite to just use the xterm code.
580 Add copyright notice. Mention tmux.
bfc30790 581
e51c8d91
I
5822014-04-17 Ian D <dunni@gnu.org> (tiny change)
583
584 * image-mode.el (image-mode-window-put): Also update the property of
585 the "default window".
586 * doc-view.el (doc-view-new-window-function): If no window
587 exists, move to the last known page.
588
c76a7a5c
SM
5892014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
590
591 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
592 here-documents (bug#17262).
593
bf6b4923
EZ
5942014-04-16 Eli Zaretskii <eliz@gnu.org>
595
c76a7a5c
SM
596 * term/pc-win.el (x-list-fonts, x-get-selection-value):
597 Provide doc strings, as required by snarf-documentation.
bf6b4923 598
290d7ac2 5992014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
600
601 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
602 arg of overlays-at. Use `invisible-p'.
603
604 * obsolete/lucid.el (extent-at):
605 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
606 overlays-at.
607 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
608
290d7ac2 6092014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
610
611 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
612 links. (Bug#17217).
613
290d7ac2 6142014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
615
616 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
617 Use mapc to loop over a vector. (Bug#17257).
618
290d7ac2 6192014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
620
621 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
622 patch, there are new problems with file names containing spaces.
623 Get rid of backticks. (Bug#17238)
624
290d7ac2 6252014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
626
627 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
628 possible bug.
629
290d7ac2 6302014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
631
632 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
633 (blink-cursor-mode): Mention customization variables and the
634 effect of 'blink-cursor-blinks'.
635
290d7ac2 6362014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
637
638 * simple.el (undo): Prevent insertion of identity mapping into
639 undo-equiv-table so as undo-only does not inf loop in the presence
640 of consecutive nils in undo list.
641
290d7ac2 6422014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
643
644 * faces.el (make-face): Deprecate optional argument as it is no
645 longer needed/used since the conditional X resources handling
646 has been pushed down to make-face-x-resource-internal itself.
647 (make-empty-face): Don't pass optional argument to make-face.
648
5f6b4154
KF
6492014-04-16 Karl Fogel <kfogel@red-bean.com>
650
651 * savehist.el (savehist-save): Remove workaround for a read-passwd
652 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
653 noticing that the shim was still present.
654
005551fe
SM
6552014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
658
b92583c4
JB
6592014-04-14 Juanma Barranquero <lekktu@gmail.com>
660
661 * faces.el (face-set-after-frame-default): Remove unused local variable.
662
6c2453e0
SM
6632014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
664
f7993853
SM
665 * progmodes/grep.el: Use lexical-binding.
666 (grep-expand-template): Pass explicit lexical env to `eval'.
667 (zrgrep): Let-bind grep-find-template explicitly.
668
6c2453e0
SM
669 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
670 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
671
ac387dd1
EZ
6722014-04-12 Eli Zaretskii <eliz@gnu.org>
673
674 * international/characters.el <standard-case-table>: Add entries
675 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 676 Set category of Coptic characters be 'g' (Greek).
ac387dd1 677
2e611da6
LL
6782014-04-12 Leo Liu <sdl.web@gmail.com>
679
e0af4095
GM
680 * progmodes/octave.el (completion-table-with-cache):
681 Define if not available.
682 (octave-goto-function-definition, octave-sync-function-file-names)
683 (octave-find-definition-default-filename):
684 Backquote upattern for compatibility.
2e611da6 685
e0af4095 6862014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
687
688 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
689 name twice due to backticks. (Bug#17238)
690
e0af4095 6912014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
692
693 * term/w32-win.el (x-win-suspend-error):
694 * term/x-win.el (x-win-suspend-error): Sync docs.
695
7f0f4c25
MD
6962014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
697
f7993853
SM
698 * faces.el (make-face): Remove deprecated optional argument.
699 The conditional application of X resources is handled directly by
7f0f4c25
MD
700 make-face-x-resource-internal since Emacs 24.4.
701 (make-empty-face): Don't pass optional argument to make-face.
702
e088b01d
GM
7032014-04-11 Glenn Morris <rgm@gnu.org>
704
705 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
706
536aa466 7072014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
708
709 Ediff's overlay priorities cause more trouble than they solve.
710 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
711 (ediff-highest-priority): Remove function (bug#17234).
712 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
713 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
714 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
715 overlay priorities.
716
536aa466 7172014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
718
719 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
720 entry; use symbol boundaries to avoid mis-matches.
721
536aa466 7222014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
723
724 * net/tramp.el (tramp-file-name-handler)
725 (tramp-completion-file-name-handler): Avoid recursive loading.
726
727 * net/tramp-sh.el (tramp-make-copy-program-file-name):
728 Quote result also locally.
729
0d6a1375
SM
7302014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
731
c99ce7d8
SM
732 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
733 Remove left-over code.
734
0d6a1375
SM
735 * newcomment.el (comment-indent-new-line): Sink code where it's used.
736 Reuse the previous comment's indentation unconditionally if it's on its
737 own line.
738
3f63a9f7
DC
7392014-04-09 Daniel Colascione <dancol@dancol.org>
740
741 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
742 `no-syntax-crossing' arguments. Forward to `up-list'.
743 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
744 Implement logic for escaping from strings. Use narrowing to deal
745 with corner cases.
746
0b816f15
LL
7472014-04-09 Leo Liu <sdl.web@gmail.com>
748
749 * net/rcirc.el (rcirc-connection-info): New variable.
750 (rcirc-connect): Use it to store connection info.
751 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
752 for killed process.
753 (rcirc-cmd-reconnect): New command. (Bug#17045)
754 (rcirc-mode, set-rcirc-encode-coding-system)
755 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
756
22683580
DC
7572014-04-09 Daniel Colascione <dancol@dancol.org>
758
759 * emacs-lisp/cl-indent.el: Add comment claiming
760 facility is also good for elisp.
761 (lisp-indent-find-method): New function.
762 (common-lisp-indent-function): Recognize cl-loop.
763 (common-lisp-indent-function-1): Recognize cl constructs; use
764 `lisp-indent-find-method' instead of `get' directly.
765 (if): Use else-body style for elisp.
766
0122b24d
DG
7672014-04-09 Dmitry Gutov <dgutov@yandex.ru>
768
769 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
770 Module methods. (Bug#17216)
771
559836fb 7722014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
773
774 * help.el (describe-bindings): Fix buffer handling (bug#17210).
775 (describe-bindings-internal): Mark obsolete.
776
6bc76cee
SM
7772014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
778
779 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
780 buffer-file-name, and buffer-file-truename any more.
781
dc0b0454
LL
7822014-04-08 Leo Liu <sdl.web@gmail.com>
783
784 Use lexical-binding and require cl-lib.
785 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
786 (rcirc-handler-generic, rcirc-fill-paragraph)
787 (rcirc-format-response-string, rcirc-target-buffer)
788 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
789 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
790 (rcirc-ctcp-sender-PING, rcirc-browse-url)
791 (rcirc-markup-timestamp, rcirc-markup-attributes)
792 (rcirc-markup-my-nick, rcirc-markup-urls)
793 (rcirc-markup-bright-nicks, rcirc-markup-fill)
794 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
795 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
796 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
797 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
798 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
799 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
800 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
801 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
802 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
803 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
804 use cl-lib.
805
190f899a
JT
8062014-04-07 João Távora <joaotavora@gmail.com>
807
6f287c89
GM
808 * elec-pair.el (electric-pair--syntax-ppss):
809 When inside comments parse from comment beginning.
190f899a
JT
810 (electric-pair--balance-info): Fix typo in comment.
811 (electric-pair--in-unterminated-string-p): Delete.
812 (electric-pair--unbalanced-strings-p): New function.
813 (electric-pair-string-bound-function): New var.
814 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
815 according to `electric-pair--in-unterminated-string-p'
816
6f287c89
GM
817 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
818 Inhibit quote pairing if point-max is inside an unterminated string.
819 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
820 (electric-pair--in-unterminated-string-p): New function.
821
a9c921e6
GM
8222014-04-07 Glenn Morris <rgm@gnu.org>
823
824 * shell.el (shell-directory-tracker):
825 Go back to just ignoring failures. (Bug#17159)
826
6f287c89 8272014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
828
829 Fix `electric-pair-delete-adjacent-pairs' in modes binding
830 backspace. (bug#16981)
831 * elec-pair.el (electric-pair-backward-delete-char): Delete.
832 (electric-pair-backward-delete-char-untabify): Delete.
833 (electric-pair-mode-map): Bind backspace to a menu item filtering
834 a new `electric-pair-delete-pair' command.
835 (electric-pair-delete-pair): New command.
836
6f287c89
GM
837 * progmodes/python.el (python-electric-pair-string-delimiter):
838 Fix triple-quoting electricity. (Bug#17192)
89f20f76 839
6f287c89
GM
840 * elec-pair.el (electric-pair-post-self-insert-function):
841 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 842 `electric-pair-pairs' were used. syntax to
7aecc2f6 843 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 844
6f287c89 8452014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
846
847 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
848 "<F>". (Bug#17199)
849
6f287c89 8502014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
851
852 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
853 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
854
6f287c89 8552014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
856
857 * help.el (view-lossage): Doc tweak.
858
6f287c89 8592014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
860
861 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
862 only when inhibit-x-resources is nil, and do that earlier in the
863 function. Doc fix. (Bug#16694)
fdafd487
MD
864 (face-spec-choose): Accept additional optional argument, whose
865 value is returned if no matching attributes are found.
866 (face-spec-recalc): Use the new optional argument when calling
867 face-spec-choose. (Bug#16378)
f5e4494c
MD
868 (make-face-x-resource-internal): Do nothing when
869 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 870 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
871 (face-set-after-frame-default): Don't call
872 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 873
6f287c89 8742014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 875
0beb7fb7
SM
876 * doc-view.el (doc-view-bookmark-jump):
877 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
878 buffer is shown in a window. (bug#16090)
879
6f287c89 8802014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
881
882 * international/characters.el (mirroring): Fix last change:
883 instead of loading uni-mirrored.el explicitly, do that implicitly
884 by creating the 'mirroring' uniprop table. This avoids announcing
885 the loading of uni-mirrored.el.
886
6f287c89 8872014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
888
889 * files.el (buffer-stale--default-function)
890 (buffer-stale-function, revert-buffer--default):
891 * autorevert.el (auto-revert-buffers): Doc tweaks.
892
6f287c89 8932014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
894
895 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
896
6f287c89 8972014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
898
899 * files.el (make-backup-file-name-function)
900 (make-backup-file-name, make-backup-file-name--default-function)
901 (make-backup-file-name-1, find-backup-file-name)
902 (revert-buffer-function, revert-buffer-insert-file-contents-function)
903 (buffer-stale--default-function, buffer-stale-function)
904 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
905 (revert-buffer, revert-buffer--default)
906 (revert-buffer-insert-file-contents--default-function):
907 Doc fixes related to defaults no longer being nil.
908 (make-backup-file-name-function): Bump :version.
909 Restore nil as a valid but deprecated custom type.
910
6f287c89 9112014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 912
6f287c89
GM
913 * progmodes/perl-mode.el (perl-syntax-propertize-function):
914 Handle $' used as a variable (bug#17174).
66f50b12
SM
915
916 * progmodes/perl-mode.el (perl-indent-new-calculate):
917 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
918 (perl-syntax-propertize-function): Add "foreach" and "for" statement
919 modifiers introducing expressions (bug#17116).
66f50b12 920
7b656e4a
SM
9212014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
924
722237d5
LL
9252014-04-05 Leo Liu <sdl.web@gmail.com>
926
7b656e4a
SM
927 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
928 Add define-compilation-mode.
722237d5 929
5cb0cc90
JT
9302014-04-04 João Távora <joaotavora@gmail.com>
931
9b017563
JB
932 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
933 parse from comment beginning.
5cb0cc90
JT
934 (electric-pair--balance-info): Fix typo in comment.
935 (electric-pair--in-unterminated-string-p): Delete.
936 (electric-pair--unbalanced-strings-p): New function.
937 (electric-pair-string-bound-function): New var.
938 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 939 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 940
6b31e6b1
SM
9412014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
944 Move declaration before first use.
945 (reftex-move-to-next-arg): Silence compiler warning.
946
0de7d982
JK
9472014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
948
6b31e6b1
SM
949 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
950 Use `window-total-width' instead of `window-width'.
0de7d982 951
01ae0fbf
DC
9522014-04-03 Daniel Colascione <dancol@dancol.org>
953
954 * subr.el (set-transient-map): Remove rms's workaround entirely;
955 use new `suspicious-object' subr to mark our lambda for closer
956 scrutiny during gc.
957
4fd68bf6
RS
9582014-04-02 Richard Stallman <rms@gnu.org>
959
960 * subr.el (set-transient-map): Comment out previous change.
961
c7510f6e
GM
9622014-04-02 Glenn Morris <rgm@gnu.org>
963
0b908bf2
GM
964 * menu-bar.el (menu-bar-file-menu):
965 * vc/ediff.el (ediff-current-file):
966 Update for revert-buffer-function no longer being nil by default.
967
c7510f6e
GM
968 * simple.el (command-execute): Respect nil disabled-command-function.
969
09aba815 9702014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
971
972 * simple.el (command-execute): Do not execute the command when it
973 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
974
09aba815 9752014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
976
977 * dired-aux.el (dired-compress-file): Don't use string-match-p
978 because its match data is used afterwards.
979
09aba815 9802014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
981
982 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
983 0 like nil.
984
200c532b
JT
9852014-04-02 João Távora <joaotavora@gmail.com>
986
6b31e6b1
SM
987 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
988 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
989 (electric-pair--looking-at-unterminated-string-p):
990 Delete.
991 (electric-pair--in-unterminated-string-p): New function.
992
2395f2b9
DC
9932014-04-01 Daniel Colascione <dancol@dancol.org>
994
995 * minibuffer.el (minibuffer-complete): Prevent assertion failure
996 when trying to complete the prompt.
997
294b2b09
LL
9982014-03-31 Leo Liu <sdl.web@gmail.com>
999
6b31e6b1
SM
1000 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1001 Refactor out eldoc-documentation-function-default.
294b2b09
LL
1002 (eldoc-documentation-function-default): New function.
1003 (eldoc-documentation-function): Change value.
1004
4f3a895b
GM
10052014-03-31 Glenn Morris <rgm@gnu.org>
1006
1007 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1008
1db854cc
GM
1009 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1010 (vhdl-compose-components-package, vhdl-compose-configuration):
1011 Abbreviate default-directory (missing from some previous upstream sync).
1012
3c2d4776
RZ
10132014-03-31 Reto Zimmermann <reto@gnu.org>
1014
1015 Sync with upstream vhdl mode v3.35.2.
1016 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1017 (top-level): No longer require assoc.
1018 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1019 New functions. Use throughout to replace aget etc.
1020 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1021 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1022 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1023 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1024 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1025 except `vhdl-compiler'.
1026 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1027 when appropriate.
1028
5c30ab7a
GM
10292014-03-31 Glenn Morris <rgm@gnu.org>
1030
1031 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1032 Revert 2014-03-26 merge goof; go back to using defalias.
1033
1861d5a7
DC
10342014-03-30 Daniel Colascione <dancol@dancol.org>
1035
6b31e6b1
SM
1036 * comint.el (comint-send-input):
1037 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
1038 (Bug#17139).
1039
1040 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1041 on keyboard-quit.
1042
41116c5a
GM
10432014-03-29 Glenn Morris <rgm@gnu.org>
1044
1045 * textmodes/reftex.el: Manage most autoloads automatically.
1046 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1047 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1048 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1049 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1050 * textmodes/reftex-toc.el: Set generated-autoload-file,
1051 and add autoload cookies for reftex.el.
1052 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1053
c3153003
GM
10542014-03-28 Glenn Morris <rgm@gnu.org>
1055
7b207d6d
GM
1056 * cus-start.el (report-emacs-bug-address): Set custom properties.
1057 * mail/emacsbug.el (report-emacs-bug-address):
1058 Variable is now defined in emacs.c.
1059
c3153003
GM
1060 * mail/emacsbug.el (report-emacs-bug):
1061 Include system-configuration-features.
1062
687e0e19
MN
10632014-03-28 Michal Nazarewicz <mina86@mina86.com>
1064
1065 * simple.el (cycle-spacing): Never delete spaces on first run by
1066 default, but do so in a new 'fast mode and if there are already
4f3a895b 1067 N spaces (the previous behavior).
687e0e19
MN
1068 Compare N with its value in previous invocation so that changing
1069 prefix argument restarts `cycle-spacing' sequence.
687e0e19 1070 The idea is that with this change, binding M-SPC to
4f3a895b 1071 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
1072 the binding so long as users do not type M-SPC twice in a raw with
1073 the same prefix argument or lack thereof.
1074
95de732d
GM
10752014-03-28 Glenn Morris <rgm@gnu.org>
1076
1077 * faces.el (term-file-aliases): New variable.
1078 (tty-run-terminal-initialization): Respect term-file-aliases.
1079 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1080 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1081 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1082
6730259f
GM
10832014-03-27 Glenn Morris <rgm@gnu.org>
1084
862a4e4a
GM
1085 * startup.el (inhibit-startup-hooks): Doc tweak.
1086 (normal-top-level): Simplify running of hooks.
1087 For window-setup-hook, respect inhibit-startup-hooks.
1088 (command-line-1): Don't set window-setup-hook to nil.
1089
6730259f
GM
1090 Allow selective autoloading from obsolete/ directory.
1091 * Makefile.in (obsolete-autoloads): New rule.
1092 (autoloads): Run obsolete-autoloads.
1093 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1094 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1095
42ebc34e
DG
10962014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1097
929c0500
SM
1098 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1099 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 1100
42ebc34e
DG
1101 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1102 Don't propertize `?' or `!' as symbol constituent when after
1103 colon. (Bug#17097)
1104
b1c870c9
JB
11052014-03-27 Juanma Barranquero <lekktu@gmail.com>
1106
857ba6ec
JB
1107 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1108 which is no longer needed and causes trouble in GTK builds (bug#17046).
1109
b1c870c9
JB
1110 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1111 Use url-insert-file-contents; package-handle-response no longer exists.
1112
8ab9876a
DC
11132014-03-26 Daniel Colascione <dancol@dancol.org>
1114
1115 * simple.el (process-menu-mode-map): New variable.
1116 (process-menu-delete-process): New command.
1117
196716cf
JB
11182014-03-26 Juanma Barranquero <lekktu@gmail.com>
1119
1120 * emacs-lisp/package.el: Fix bug#16733 (again).
1121 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1122 (url-http-target-url): Remove unused declarations.
1123 (package-handle-response): Remove.
1124 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1125 (package--download-one-archive): Use current-buffer instead of
1126 dynamic binding of `buffer'.
1127 (describe-package-1): Do not decode readme-string.
1128
16adf2e6 11292014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
1130
1131 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1132
1133 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1134 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1135 `remote-file-name-inhibit-cache' to nil in the second pass.
1136 (tramp-find-executable): Do not call "which" on SunOS.
1137 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
1138 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1139 check whether source directory has set the sticky bit.
1f73d6c6 1140
16adf2e6 11412014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
1142
1143 * simple.el (primitive-undo): Only process marker adjustments
1144 validated against their corresponding (TEXT . POS). Issue warning
1145 for lone marker adjustments in undo history. (Bug#16818)
1146 (undo-make-selective-list): Add marker adjustments to selective
1147 undo list based on whether their corresponding (TEXT . POS) is in
1148 the region. Remove variable adjusted-markers, which was unused
1149 and only non nil during undo-make-selective-list.
1150 (undo-elt-in-region): Return nil when passed a marker adjustment
1151 and explain in function doc.
1152
16adf2e6 11532014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
1154
1155 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1156
16adf2e6 11572014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
1158
1159 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1160 Match special global variables without curlies, too.
1161 (ruby-font-lock-keywords): Simplify the matcher for special global
1162 variables. Don't require a non-word character after the variable.
1163 (Bug#17057)
1164
16adf2e6 11652014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
1166
1167 * simple.el (redisplay-highlight-region-function): Increase priority of
1168 overlay to make sure boundaries are visible (bug#15899).
1169
16adf2e6 11702014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 1171
16adf2e6
JB
1172 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1173 (frameset-restore): Compare display strings with equal.
ee79b33f 1174
3ea2c781
JB
1175 * frame.el (make-frame): Don't quote display name in error message,
1176 it is already a string.
1177
16adf2e6 11782014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
1179
1180 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1181 the password.
1182
16adf2e6 11832014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 1184
16adf2e6
JB
1185 * emacs-lisp/package.el (package--add-to-archive-contents):
1186 Include already installed and built-in packages in
1187 `package-archive-contents'.
1188 (package-install): Don't include already installed packages in the
1189 options during interactive invocation. (Bug#16762)
1190 (package-show-package-list): If the buffer is already displayed in
1191 another window, switch to that window.
1192
fb3deac8
RZ
11932014-03-26 Reto Zimmermann <reto@gnu.org>
1194
1195 Sync with upstream vhdl mode v3.35.1.
1196 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1197 (vhdl-compiler-alist): Doc fix.
1198 (vhdl-goto-line): Remove.
1199 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1200 (vhdl-mode) <paragraph-start>: Fix value.
1201 (vhdl-fix-statement-region): Not `for' in wait-statement.
1202 (vhdl-beautify-region): Also (un)tabify.
1203 (vhdl-get-visible-signals):
1204 Scan declarative part of generate statements.
1205 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
1206 (vhdl-expand-abbrev, vhdl-expand-paren):
1207 Revert to using fset again rather than defalias.
fb3deac8
RZ
1208 (vhdl-scan-directory-contents): Tweak.
1209 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1210 (vhdl-compose-components-package):
1211 Replace vhdl-goto-line with forward-line.
1212 (top-level): Tweak speedbar frame selection.
1213 (vhdl-generate-makefile-1): Support for compilers with no
1214 unit-to-file name mapping (create directory with dummy files).
1215
511df08c
WS
12162014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1217
1218 Sync with upstream verilog-mode revision 702457d.
1219 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1220 (create-lockfiles): Declare.
1221 (verilog-read-decls): Fix module header imports, bug709.
1222 Reported by Victor Lau.
1223 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1224 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 1225 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 1226
11ee65af
GM
12272014-03-26 Glenn Morris <rgm@gnu.org>
1228
b4aca021
GM
1229 * obsolete/gulp.el: Move here from emacs-lisp/.
1230
11ee65af
GM
1231 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1232 Remove fallback aliases, since they are always defined now.
1233
1edb4a2e
DC
12342014-03-24 Daniel Colascione <dancol@dancol.org>
1235
1236 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1237 instead of cl-loop search function.
1238
7a31038f
G
12392014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1240
1241 * calendar/parse-time.el (parse-time-iso8601-regexp)
1242 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1243 it more generally.
1244
12452014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1246
1247 * net/dns.el (network-interface-list): Define for XEmacs.
1248
12492014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1250
1251 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1252 the network interfaces changed.
1253 (dns-query): Use it to flush the data.
1254
835af719
JB
12552014-03-23 Juanma Barranquero <lekktu@gmail.com>
1256
1257 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1258
6ddc4422
DC
12592014-03-23 Daniel Colascione <dancol@dancol.org>
1260
1261 Change subword-mode to use `find-word-boundary-function-table' and
1262 replace `capitalized-words-mode'. Also, convert to lexical
1263 binding.
1264
1265 * progmodes/cap-words.el: Delete now-obsolete file.
1266 * progmodes/subword.el: Reimplement using
1267 `find-word-boundary-function-table'.
1268 (subword-mode-map): Hollow out.
1269 (capitalized-words-mode): Define as obsolete alias for
1270 `subword-mode'.
9b017563 1271 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 1272 implementation; call `subword-setup-buffer'.
9b017563 1273 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
1274 unused variable.
1275 (subword-find-word-boundary-function-table): New constant.
1276 (subword-empty-char-table): New constant.
1277 (subword-setup-buffer): New function.
1278 (subword-find-word-boundary): New function.
1279
c6b0fbe7
DC
12802014-03-23 Daniel Colascione <dancol@dancol.org>
1281
1282 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1283 list to look for keyword arguments instead of `memq', fixing
1284 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1285 Please make bootstrap.
1286
5076d275
GM
12872014-03-22 Glenn Morris <rgm@gnu.org>
1288
5dbc3244
GM
1289 * dired.el (dired-read-regexp): Make obsolete.
1290 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1291 (dired-flag-files-regexp):
1292 * dired-aux.el (dired-mark-read-regexp):
1293 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1294
00156f95
GM
1295 * startup.el (fancy-startup-text):
1296 * help.el (describe-gnu-project): Visit online info about GNU project.
1297
f9c81e7b
GM
1298 * help-fns.el (help-fns--interactive-only): New function.
1299 (help-fns-describe-function-functions): Add the above function.
1300 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1301 (next-line, previous-line): Remove hand-written interactive-only
1302 information from doc strings, it is auto-generated now.
1303 * bookmark.el (bookmark-write):
1304 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1305 (epa-mail-import-keys): Mark interactive-only,
1306 and remove hand-written interactive-only information from doc strings.
1307 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1308 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1309 * files.el (not-modified):
1310 * simple.el (mark-whole-buffer): Mark interactive-only.
1311
5076d275
GM
1312 * emacs-lisp/byte-run.el (defun-declarations-alist):
1313 Add interactive-only. Doc tweak.
1314 (macro-declarations-alist): Doc tweak.
1315 * subr.el (declare): Doc tweak (add xref to manual).
1316 * comint.el (comint-run):
1317 * files.el (insert-file-literally, insert-file):
1318 * replace.el (replace-string, replace-regexp):
1319 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1320 (delete-forward-char, goto-line, insert-buffer, next-line)
1321 (previous-line): Set interactive-only via declare.
1322
1197f2e6
DG
13232014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1324
1325 * emacs-lisp/package.el (package-desc): Use the contents of the
1326 quoted form, not its cdr. (Bug#16873)
1327
aac06179
JB
13282014-03-22 Juanma Barranquero <lekktu@gmail.com>
1329
1330 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1331 benefit of doc.c; change parameter profile to match the X function.
1332
3e7bc044
LL
13332014-03-22 Leo Liu <sdl.web@gmail.com>
1334
1335 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1336 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1337
59271b3e
RS
13382014-03-21 Richard Stallman <rms@gnu.org>
1339
8266cd88
RS
1340 * battery.el (battery-linux-sysfs): Search for each field
1341 from the beginning of the buffer.
1342
16ec0742
RS
1343 * subr.el (set-transient-map): Clear out function and value
1344 of the temporary symbol when we're done with it.
1345
59271b3e
RS
1346 * mail/rmailsum.el (rmail-summary-delete-forward):
1347 Optimize case of reaching end and handling count.
1348 (rmail-summary-mark-deleted): Optimize when N is current msg.
1349 Don't create new summary line.
1350 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1351 (rmail-summary-undelete-many): Rewrite for speed.
1352 (rmail-summary-msg-number): New function.
1353
1354 * mail/rmail.el (rmail-delete-message): Update summary.
1355 (rmail-undelete-previous-message): Handle repeat count arg.
1356 (rmail-delete-backward, rmail-delete-forward): Likewise.
1357
0d8ac93e
DC
13582014-03-21 Daniel Colascione <dancol@dancol.org>
1359
1360 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1361 information in bug reports.
1362
1e92a8a3
MA
13632014-03-21 Michael Albinus <michael.albinus@gmx.de>
1364
1365 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1366 and `tramp-copy-env'.
1367
1368 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1369 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1370
78540c42
GM
13712014-03-21 Glenn Morris <rgm@gnu.org>
1372
1373 * electric.el (electric-indent-post-self-insert-function): Add doc.
1374
1fc8f655
DG
13752014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1376
dcf78667
DG
1377 * emacs-lisp/package.el (package-compute-transaction):
1378 Use `version-list-<=' to compare the requirement version against
1379 the version of package already to be installed. Update the error
1380 message. (Bug#16826)
1381
1fc8f655
DG
1382 * progmodes/ruby-mode.el (ruby-smie-rules):
1383 Add indentation rule for ` @ '. (Bug#17050)
1384
dada060d
JB
13852014-03-21 Juanma Barranquero <lekktu@gmail.com>
1386
1387 * align.el (align-regexp): Remove superfluous backslash.
1388
1389 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1390 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1391 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1392 Fix docstring typos.
1393 (ffap-next): Use C-u in docstring.
1394 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1395 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1396 Remove superfluous backslashes.
1397 (ffap-string-at-point): Reflow docstring.
1398
1399 * server.el (server-host): Reflow docstring.
1400 (server-unload-function): Fix docstring typo.
1401 (server-eval-at): Remove superfluous backslash.
1402
1403 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1404 (skeleton-insert): Doc fix.
1405 (skeleton-insert): Reflow docstring.
1406
1407 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1408 (tty-color-approximate, tty-color-by-index, tty-color-values)
1409 (tty-color-desc): Remove superfluous backslashes.
1410
f428101f
GM
14112014-03-21 Glenn Morris <rgm@gnu.org>
1412
26e91130
GM
1413 * cus-start.el (history-length): Bump :version.
1414
aa3a7b51
GM
1415 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1416 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1417 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1418 Don't set `make-backup-files'.
1419
f428101f
GM
1420 * info.el (info--prettify-description): New function,
1421 to give info-finder descriptions consistent case, punctuation.
1422 (Info-finder-find-node): Use it. Sort packages.
1423 Refer to "description" rather than "commentary".
1424
6ce1b56e
JB
14252014-03-21 Juanma Barranquero <lekktu@gmail.com>
1426
1427 * frameset.el (frameset--print-register): New function.
1428 (frameset-to-register): Use it.
1429
b730af26
JB
14302014-03-20 Juanma Barranquero <lekktu@gmail.com>
1431
45393801
JB
1432 * progmodes/hideif.el (hif-string-to-number): New function.
1433 (hif-tokenize): Use it to understand non-decimal floats.
1434
814e26fa
JB
1435 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1436
b730af26
JB
1437 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1438
6f287c89
GM
14392014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1440
1441 * electric.el (electric-newline-and-maybe-indent): New command.
1442 Bind it globally to C-j.
1443 (electric-indent-mode): Don't mess with the global map any more.
1444 Don't drop the post-self-insert-hook is some buffer is still using it
1445 (bug#16770).
1446
1447 * bindings.el (global-map): Remove C-j binding.
1448
1449 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1450 the docstring of functions advised before dumping (bug#16993).
1451
f15ec1ba 14522014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
1453
1454 * ps-print.el (ps-generate-postscript-with-faces):
1455 Explicitly deactivate the mark (bug#16866).
1456 * simple.el (deactivate-mark): Update region highlight.
1457
f88bdc45
JB
14582014-03-19 Juanma Barranquero <lekktu@gmail.com>
1459
1460 * emacs-lisp/package.el (describe-package-1):
1461 Decode commentary (bug#16733).
1462
6b88e570
JB
14632014-03-18 Juanma Barranquero <lekktu@gmail.com>
1464
1465 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1466 modification of the value argument of :set (bug#16755).
1467
ac9b4703
SM
14682014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 * simple.el (newline-and-indent): Do autofill (bug#17031).
1471
2b7858ec
DG
14722014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1473
1474 * newcomment.el (comment-normalize-vars): Only add escaping check
1475 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1476 (comment-beginning): Use `narrow-to-region' instead of moving back
1477 one character.
1478 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1479 (comment-start-skip): Update the docstring.
1480
11eff3ae
RS
14812014-03-18 Richard Stallman <rms@gnu.org>
1482
1483 * dired.el (dired-display-file): Force use of other window.
1484
07f44fdb
JB
14852014-03-18 Daniel Colascione <dancol@dancol.org>
1486
1487 * startup.el (tty-handle-args): Remove debug message from 2007.
1488
14892014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
1490
1491 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1492 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1493 (advice--make-1, advice-add, advice-remove):
1494 Remove braindead :advice-pending hack.
1495
61debe4a
GM
14962014-03-17 Glenn Morris <rgm@gnu.org>
1497
1498 * calendar/calendar.el (calendar-generate-month): Apply weekend
1499 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1500
8273986b
MA
15012014-03-17 Michael Albinus <michael.albinus@gmx.de>
1502
1503 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1504 (tramp-call-process): Trace also DESTINATION.
1505
1506 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1507 Quote file names when they are local. Remove superfluous trace.
1508
4f8aeb84
DG
15092014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1510
218feefc
DG
1511 * newcomment.el (comment-beginning): If `comment-start-skip'
1512 doesn't match, move back one char and try again. (Bug#16971)
1513
6c187ef5
SM
1514 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1515 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
1516 Set `comment-start-skip' to a simpler value that doesn't try to
1517 check if the semicolon is escaped (this is handled by
1518 `syntax-ppss' now). (Bug#16971)
1519
1520 * progmodes/scheme.el (scheme-mode-variables): Same.
1521
b92631bf
MR
15222014-03-16 Martin Rudalics <rudalics@gmx.at>
1523
1524 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1525 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1526 current (Bug#16816, Bug#17007).
1527 (with-current-buffer-window): New macro doing the same as
1528 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1529 * help.el (help-print-return-message): Warn in doc-string to not
1530 use this in `with-help-window'.
1531 (describe-bindings-internal): Call `describe-buffer-bindings'
1532 from within help buffer. See Juanma's scenario in (Bug#16816).
1533 (with-help-window): Update doc-string.
1534 * dired.el (dired-mark-pop-up):
1535 * files.el (save-buffers-kill-emacs):
1536 * register.el (register-preview): Use `with-current-buffer-window'
1537 instead of `with-temp-buffer-window'.
1538
57348c4d
JB
15392014-03-16 Juanma Barranquero <lekktu@gmail.com>
1540
1541 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1542 Implement inserting into current buffer, documented in their docstrings.
1543 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1544 (rst-section-tree-point, rst-forward-section, rst-indent)
1545 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1546 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1547 (rst-font-lock-handle-adornment-pre-match-form)
1548 (rst-repeat-last-character): Reflow docstrings.
1549 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1550 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1551 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1552 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1553 Fix docstring typos.
1554 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1555 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1556 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1557
fd16b061
JB
15582014-03-15 Juanma Barranquero <lekktu@gmail.com>
1559
a2403e3d
JB
1560 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1561 for compatibility with other ports.
1562 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1563 from the -xrm command line argument, but in the Nextstep port its value
1564 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1565
fd16b061
JB
1566 * progmodes/python.el (defconst, python-syntax-count-quotes)
1567 (python-indent-region, python-indent-shift-right)
1568 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1569 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1570 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1571 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1572 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1573 (python-shell-buffer-substring, python-shell-send-buffer)
1574 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1575 (python-completion-complete-at-point, python-fill-docstring-style)
1576 (python-eldoc-function, python-imenu-format-item-label)
1577 (python-imenu-format-parent-item-label)
1578 (python-imenu-format-parent-item-jump-label)
1579 (python-imenu--build-tree, python-imenu-create-index)
1580 (python-imenu-create-flat-index): Fix docstring typos.
1581 (python-indent-context, python-shell-prompt-regexp, run-python):
1582 Remove superfluous backslashes.
1583 (python-indent-line, python-nav-beginning-of-defun)
1584 (python-shell-get-buffer, python-shell-get-process)
1585 (python-info-current-defun, python-info-current-line-comment-p)
1586 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1587 (python-indent-post-self-insert-function, python-shell-send-file)
1588 (python-shell-completion-get-completions)
1589 (python-shell-completion-complete-or-indent)
1590 (python-eldoc--get-doc-at-point): Reflow docstrings.
1591
e94807f0
GM
15922014-03-14 Glenn Morris <rgm@gnu.org>
1593
88103345
GM
1594 * emacs-lisp/package.el (package-menu-mode-map):
1595 Replace use of obsolete function alias. Tweak menu item text.
1596
f2dd4ba8
GM
1597 * info.el (Info-finder-find-node):
1598 Ignore the `emacs' metapackage. (Bug#10813)
1599
ac0f82ef
GM
1600 * finder.el (finder-list-matches): Include unversioned packages
1601 in the result of a keyword search.
1602
e94807f0
GM
1603 * finder.el (finder--builtins-descriptions): New constant.
1604 (finder-compile-keywords): Use finder--builtins-descriptions.
1605
50d434d1
DG
16062014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1607
1608 * simple.el (blink-matching-paren): Describe the new value,
1609 `jump', enabling the old behavior.
1610 (blink-matching-open): Use that value. (Bug#17008)
1611
56759cf1
GM
16122014-03-14 Glenn Morris <rgm@gnu.org>
1613
459d74ef
GM
1614 * finder.el (finder-no-scan-regexp): Add leim-list.
1615 (finder-compile-keywords):
1616 Don't skip files with same basename. (Bug#14010)
1617 * Makefile.in (setwins_finder): New, excluding leim.
1618 (finder-data): Use setwins_finder.
1619
56759cf1
GM
1620 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1621 (help-function-arglist, help-make-usage): Move from here...
1622 * help.el (help-split-fundoc, help-add-fundoc-usage)
1623 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1624 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1625
7644aa97
JB
16262014-03-14 Juanma Barranquero <lekktu@gmail.com>
1627
1628 * net/socks.el (socks, socks-override-functions)
fd16b061 1629 (socks-find-services-entry):
7644aa97
JB
1630 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1631 (hif-find-ifdef-block):
1632 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1633
1634 * net/tls.el (tls-program): Reflow docstring.
1635
1636 * progmodes/pascal.el (pascal-mode-abbrev-table)
1637 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1638 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1639 (pascal-outline-mode): Fix docstring typos.
1640 (pascal-mode): Let define-derived-mode document mode hook.
1641 (pascal-uncomment-area): Reflow.
1642 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1643
1644 * progmodes/opascal.el (opascal-compound-block-indent)
1645 (opascal-case-label-indent): Fix docstring typos.
1646 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1647
1f44df94
DG
16482014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1649
07f44fdb
JB
1650 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1651 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 1652
0d71dfb3
TW
16532014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1654
1655 * emacs-lisp/package.el (package--prepare-dependencies):
1656 Accept requirements without explicit version (bug#14941).
1657
d27a1a7b
JB
16582014-03-12 Juanma Barranquero <lekktu@gmail.com>
1659
a5765a3d
JB
1660 * register.el (register-separator, copy-to-register): Doc fixes.
1661 (register-preview-default): Remove unnecessary call to concat.
1662
d27a1a7b
JB
1663 * frameset.el (frameset-restore): When checking for a visible frame,
1664 use the action map instead of calling visible-frame-list.
1665
08dfa0b7
JB
16662014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1667
1668 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1669
8960529e
MR
16702014-03-12 Martin Rudalics <rudalics@gmx.at>
1671
1672 * window.el (fit-frame-to-buffer): Get maximum width from
1673 display's width instead of height.
1674
8a51e8e4
GM
16752014-03-12 Glenn Morris <rgm@gnu.org>
1676
46456005
GM
1677 * desktop.el (desktop-restore-frames)
1678 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1679 (desktop-restore-reuses-frames): Doc tweaks.
1680
8a51e8e4
GM
1681 * electric.el (electric-indent-mode): Doc fix.
1682
5983b317
JB
16832014-03-12 Juanma Barranquero <lekktu@gmail.com>
1684
1685 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1686 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1687 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1688 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1689 (cvs-dired-use-hook): Fix docstring typos.
1690 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1691 Doc fixes.
1692
1693 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1694 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1695 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1696 (cvs-execute-single-dir): Fix docstring typos.
1697
1698 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1699 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1700
1701 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1702
1703 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1704 Fix docstring typos.
1705
13c00cf0
JB
17062014-03-12 Juanma Barranquero <lekktu@gmail.com>
1707
1708 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1709 called from jump-to-register after unloading the frameset package.
1710
536a17e3
SM
17112014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1712
1713 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1714 (bug#16975). Deactivate the mark before setting it to nil.
1715 (activate-mark): Do nothing if region is already active.
1716
baf8d0ac
JB
17172014-03-11 Juanma Barranquero <lekktu@gmail.com>
1718
1719 * frameset.el (frameset--target-display): Remove definition; declare.
1720 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1721
1ea22560
SM
17222014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1725 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1726 when the advice is pending.
1727 (advice-remove): Remove this marker when not needed any more.
1728
4538c058
JB
17292014-03-11 Juanma Barranquero <lekktu@gmail.com>
1730
1731 * frameset.el: Separate options for reusing frames and cleaning up.
1732 (frameset--reuse-list): Remove definition; declare.
1733 (frameset--action-map): Declare.
1734 (frameset--find-frame-if): Doc fix.
1735 (frameset--restore-frame): Cache frame action.
1736 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1737 how to clean up the frame list after restoring. Remove cleaning
1738 options from REUSE-FRAMES. Change all keyword values to symbols.
1739 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1740
1741 * desktop.el (desktop-restore-forces-onscreen)
1742 (desktop-restore-reuses-frames): Use non-keyword values.
1743 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1744
ba1a5c78
GM
17452014-03-10 Glenn Morris <rgm@gnu.org>
1746
776aa432
GM
1747 * files.el (find-file): Doc fix: update info node name.
1748
ba1a5c78
GM
1749 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1750 Doc fix: remove references to deleted info nodes.
1751
183d706e
MA
17522014-03-10 Michael Albinus <michael.albinus@gmx.de>
1753
1754 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1755 Do not add `nil' to the environment, when there's no remote `locale'.
1756 (tramp-find-inline-encoding): Check, that the remote host has
1757 installed perl, before sending scripts.
1758
6f0f96e7
LL
17592014-03-10 Leo Liu <sdl.web@gmail.com>
1760
536a17e3
SM
1761 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1762 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 1763
ca70fe78
SM
17642014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1765
1766 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1767 (bug#14430).
1768
eb67db41
JL
17692014-03-09 Juri Linkov <juri@jurta.org>
1770
1771 * ansi-color.el (ansi-color-names-vector): Copy default colors
1772 from `xterm-standard-colors' that look well on the default white
1773 background (and also on the black background) to avoid illegible
8cf07e5a 1774 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
1775 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1776
e7db5447
JB
17772014-03-08 Juanma Barranquero <lekktu@gmail.com>
1778
1779 * frameset.el (frameset-restore): When no frame is visible, do not
1780 generate a list of frames, just make visible the selected one.
1781
f0a4c8d7
DG
17822014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1783
1784 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1785 it only contains the repository root. (Bug#16897)
1786
e50772e3
MA
17872014-03-07 Michael Albinus <michael.albinus@gmx.de>
1788
1789 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1790 only when `remote-file-name-inhibit-cache' is nil.
1791 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1792
cac0a1d6
MR
17932014-03-06 Martin Rudalics <rudalics@gmx.at>
1794
1795 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1796 Fix doc-strings.
1797 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1798 fit-frame-to-buffer variable. Fix doc-string.
1799 (fit-window-to-buffer): Set ONLY argument in call of
1800 fit-frame-to-buffer. Fix doc-string.
1801
fa965cbf
MA
18022014-03-06 Michael Albinus <michael.albinus@gmx.de>
1803
1804 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1805 (tramp-action-password): Clear password cache if needed.
1806 (tramp-read-passwd): Do not clear password cache.
1807
1808 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1809 cache unless it is the first password request.
1810
c94e6ee4
GM
18112014-03-06 Glenn Morris <rgm@gnu.org>
1812
03bc753e
GM
1813 * simple.el (newline): Doc tweak.
1814
c94e6ee4
GM
1815 * emacs-lisp/shadow.el (load-path-shadows-find):
1816 Ignore dir-locals. (Bug#12357)
1817
bd2d43dc
GM
18182014-03-05 Glenn Morris <rgm@gnu.org>
1819
1820 * files.el (interpreter-mode-alist):
1821 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1822
9284000e
JB
18232014-03-05 Juanma Barranquero <lekktu@gmail.com>
1824
1825 * frameset.el (frameset--initial-params): Filter out null entries.
1826
e1a2cb1c
MR
18272014-03-05 Martin Rudalics <rudalics@gmx.at>
1828
27821a89
JB
1829 * window.el (window-min-height, window-min-width):
1830 Rewrite doc-strings.
e1a2cb1c
MR
1831 (window-body-size): Add PIXELWISE argument to make it consistent
1832 with its callees.
1833
6bf67038
JB
18342014-03-05 Juanma Barranquero <lekktu@gmail.com>
1835
1836 * finder.el (finder-mode-map, finder-mode-syntax-table):
1837 Revert part of 2014-02-28 change.
1838
90f04e4c
LI
18392014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1840
1841 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1842 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
1843 (eww-textarea-map): [tab] doesn't work on tty.
1844 Reported by Mario Lang.
6952100d
LI
1845
1846 * net/shr.el (shr-map): Ditto.
90f04e4c 1847
3106d59b
GM
18482014-03-04 Glenn Morris <rgm@gnu.org>
1849
1850 * minibuffer.el (completion-hilit-commonality):
1851 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1852
f604dfdc
JB
18532014-03-04 Juanma Barranquero <lekktu@gmail.com>
1854
1855 * hilit-chg.el (hilit-chg-unload-function): New function.
1856 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1857 (hilit-chg-map-changes): Prefer cardinal number to digit.
1858 (hilit-chg-display-changes): Reflow docstring.
1859 (highlight-changes-rotate-faces): Remove superfluous backslash.
1860
5dc65319
MA
18612014-03-04 Michael Albinus <michael.albinus@gmx.de>
1862
1863 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1864 `tramp-send-command-and-check'.
1865
4242d21d
JB
18662014-03-04 Juanma Barranquero <lekktu@gmail.com>
1867
b01fa838
JB
1868 * hexl.el (hexl-address-region, hexl-ascii-region)
1869 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1870 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1871 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1872 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1873 (hexl-mode): Doc fix.
1874 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1875 (hexl-mode-ruler): Fix typos in docstrings.
1876
4242d21d
JB
1877 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1878 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1879 Remove superfluous backslashes.
1880 (strokes-last-stroke, strokes-global-map, strokes-mode):
1881 Reflow docstrings.
1882 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1883 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1884 (strokes-distance-squared, strokes-global-set-stroke)
1885 (strokes-global-set-stroke-string): Doc fixes.
1886 (strokes-help): Fix typos; reflow docstring.
1887
87132570
MR
18882014-03-04 Martin Rudalics <rudalics@gmx.at>
1889
1890 * window.el (window-in-direction): Fix doc-string.
1891
d82e752c
GM
18922014-03-04 Glenn Morris <rgm@gnu.org>
1893
1894 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1895 Explicit error if no grammar.
1896 (smie-config-save): Doc fix. Fix quote typo.
1897
62528af0
SM
18982014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1899
8d4901dc
SM
1900 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1901 electric-indent-mode-hook if we obey electric-indent-mode.
1902 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1903 decide whether we obey electric-indent-mode.
1904 (c-change-set-fl-decl-start, c-extend-after-change-region):
1905 Silence warnings.
1906 (c-electric-indent-mode-hook): Assume we do want to obey
1907 electric-indent-mode.
1908
1909 * electric.el (electric-indent-mode-has-been-called): Remove.
1910 (electric-indent-mode): Fix accordingly.
1911
092c12b2
SM
1912 * files.el (hack-local-variables): Mention file name in warning.
1913
62528af0
SM
1914 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1915
5b87d0d9
MN
19162014-03-04 Michal Nazarewicz <mina86@mina86.com>
1917
20f39add 1918 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
1919 * simple.el (delete-forward-char): Mark as interactive-only.
1920
542a3840
JB
19212014-03-03 Juanma Barranquero <lekktu@gmail.com>
1922
f2d2402e
GM
1923 * icomplete.el (icomplete-completions):
1924 Follow-up to 2014-03-01 change.
d11320e5
JB
1925
1926 * icomplete.el: Miscellaneous doc fixes.
1927 Use Icomplete everywhere instead of icomplete for consistency.
1928 (icomplete-max-delay-chars): Fix typo.
1929 (icomplete-mode): Use \[].
1930 (icomplete-tidy, icomplete-exhibit): Reflow.
1931 (icomplete-minibuffer-setup-hook, icomplete-completions):
1932 Remove superfluous backlashes.
1933
1934 * ido.el: Miscellaneous doc fixes.
1935 Use Ido everywhere instead of ido or `ido' for consistency.
1936 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1937 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1938 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1939 (ido-separator): Extract obsolescence info from docstring and declare
1940 with make-obsolete-variable.
1941 (ido-minibuffer-setup-hook): Simplify example.
1942 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1943 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1944 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1945 (ido-everywhere): Reflow docstring.
1946 (ido-toggle-vc): Doc fix.
1947 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1948 of long list of keybindings.
1949
7ebd57e9
GM
19502014-03-03 Glenn Morris <rgm@gnu.org>
1951
1952 * frame.el (display-pixel-height, display-pixel-width)
1953 (display-mm-dimensions-alist, display-mm-height)
1954 (display-mm-width): Doc tweaks.
1955
35e951cd 19562014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
1957
1958 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1959 case of undo in region.
1960
b923819c
MR
19612014-03-02 Martin Rudalics <rudalics@gmx.at>
1962
1963 * window.el (fit-window-to-buffer): Fix argument in window-size
1964 call when window is horizontally combined.
1965
b6e443c5
JB
19662014-03-02 Juanma Barranquero <lekktu@gmail.com>
1967
1968 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 1969 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 1970
1850913d
DG
19712014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1972
35e951cd
JB
1973 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1974 Highlight regexp options. (Bug#16914)
1850913d 1975
04b577b6
MR
19762014-03-01 Martin Rudalics <rudalics@gmx.at>
1977
1978 * window.el (window--max-delta-1): Round down when calculating
1979 how many lines/columns we can get from a window.
1980
b829360f
GM
19812014-03-01 Glenn Morris <rgm@gnu.org>
1982
2501c912
GM
1983 * isearch.el (search-invisible): Doc fix.
1984
b829360f
GM
1985 * minibuffer.el (completion-hilit-commonality):
1986 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1987 * comint.el (comint-dynamic-list-completions): Doc fix.
1988 * comint.el (comint-dynamic-list-completions):
1989 * filecache.el (file-cache-minibuffer-complete):
1990 * tempo.el (tempo-display-completions):
1991 * eshell/em-hist.el (eshell-list-history):
1992 Replace use of obsolete argument of display-completion-list.
1993
9a155058
JB
19942014-03-01 Juanma Barranquero <lekktu@gmail.com>
1995
1996 * icomplete.el (icomplete-completions):
1997 Revert back to using "..." when ?… cannot be displayed.
1998
53f6cda8
JB
19992014-02-28 Juanma Barranquero <lekktu@gmail.com>
2000
2001 * finder.el (finder-unload-function): New function.
2002
43977c23
JB
20032014-02-28 Juanma Barranquero <lekktu@gmail.com>
2004
2005 * dframe.el (dframe-detach):
2006 * find-dired.el (find-dired, find-name-dired):
2007 * finder.el (finder-mode-map, finder-mode-syntax-table)
2008 (finder-headmark, finder-select, finder-mouse-select):
2009 Fix docstring typos.
2010
9dda75ad
MR
20112014-02-28 Martin Rudalics <rudalics@gmx.at>
2012
2013 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
2014 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2015 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2016 Fix doc-string based on a suggestion by Nicolas Richard
2017 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
2018 * help.el (with-help-window): Fix doc-string.
2019
8a73034e
IK
20202014-02-28 Ivan Kanis <ivan@kanis.fr>
2021
b70257b0
GM
2022 * net/shr.el (shr-image-animate): New option.
2023 (shr-put-image): Respect shr-image-animate.
8a73034e 2024
245aa73e
MA
20252014-02-28 Michael Albinus <michael.albinus@gmx.de>
2026
2027 * net/tramp-adb.el (tramp-adb-parse-device-names):
2028 Use `accept-process-output'.
2029 (tramp-adb-handle-file-truename): Cache the localname only.
2030 (tramp-adb-handle-make-directory)
2031 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2032 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2033 modes cannot be changed.
2034
2035 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2036 file properties of symlinks.
2037
48e15d64
PS
20382014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2039
2040 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2041 required/optional fields to match development biblatex. (Bug#16781)
2042
65b77347
AS
20432014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2044
2045 * saveplace.el (toggle-save-place):
2046 Fix argument handling. (Bug#16673)
2047
5e618aba
GM
20482014-02-28 Glenn Morris <rgm@gnu.org>
2049
2050 * minibuffer.el (completions-first-difference)
2051 (completions-common-part, completion-hilit-commonality): Doc fixes.
2052
6deb314e
KB
20532014-02-28 Karl Berry <karl@gnu.org>
2054
2055 * info.el (Info-mode-map): Add H for describe-mode,
2056 to synchronize with standalone Info.
2057
289996f5
EL
20582014-02-28 Emilio C. Lopes <eclig@gmx.net>
2059
2060 * progmodes/sql.el (sql-interactive-mode):
2061 Avoid setting global comint-input-ring-separator. (Bug#16814)
2062
79fc1191
MA
20632014-02-27 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * net/dbus.el (dbus--init-bus): Declare function.
2066 (dbus-path-local, dbus-interface-local): New defconst.
2067 (dbus-init-bus): Use them.
2068 (dbus-return-values-table): Extend doc.
2069 (dbus-handle-bus-disconnect): Extend error message.
2070
298520df
JB
20712014-02-27 Juanma Barranquero <lekktu@gmail.com>
2072
2073 * subr.el (y-or-n-p): Fix double space issue in message.
2074
c22c1614
MA
20752014-02-27 Michael Albinus <michael.albinus@gmx.de>
2076
2077 * net/tramp.el (tramp-call-process): Improve trace message.
2078 (tramp-handle-insert-file-contents): Trace error case.
2079
2080 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2081 <insert-directory>: Use `tramp-handle-insert-directory'.
2082 (tramp-adb-handle-insert-directory): Remove function.
2083 (tramp-adb-send-command-and-check): New defun, replacing
2084 `tramp-adb-command-exit-status'. Change all callees.
2085 (tramp-adb-handle-file-attributes)
2086 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
2087 (tramp-adb-ls-output-name-less-p):
2088 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
2089 (tramp-adb-handle-delete-directory): Flush also file properties of
2090 the truename of directory.
2091 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2092 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2093 (tramp-adb-handle-write-region): Implement APPEND.
2094 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2095 properties correctly.
2096 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2097 variables. Check for connected devices only when needed.
2098
d9263618
GM
20992014-02-27 Glenn Morris <rgm@gnu.org>
2100
ea7826ba
GM
2101 * minibuffer.el (completion-table-dynamic)
2102 (completion-table-with-cache): Doc fixes.
2103
d9263618
GM
2104 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2105 (completing-read-multiple): Doc fixes.
2106
eff3168a
DC
21072014-02-27 Daniel Colascione <dancol@dancol.org>
2108
51f213c3
DC
2109 * minibuffer.el (completion--nth-completion): Fix indentation.
2110
eff3168a
DC
2111 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2112 explicit tramp path is empty.
2113
b77cfcd7
GM
21142014-02-27 Glenn Morris <rgm@gnu.org>
2115
2116 * emacs-lisp/crm.el (completing-read-multiple):
2117 Empower help-enable-auto-load.
2118
9577b569
GM
21192014-02-26 Glenn Morris <rgm@gnu.org>
2120
259887e8
GM
2121 * startup.el (command-line): Don't init the tty in daemon mode.
2122
1d491ef2
GM
2123 Avoid calling tty-setup-hook twice, eg if a term file
2124 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2125 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2126 (tty-create-frame-with-faces): Use it.
2127 * startup.el (command-line): Pass run-hook argument
2128 to tty-run-terminal-initialization.
2129
9577b569
GM
2130 * dired.el (dired-restore-desktop-buffer): Demote errors;
2131 eg in case a glob match fails. (Bug#16884)
2132
40ff7f86
DG
21332014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2134
b2388336
DG
2135 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2136 error from `read-from-string'. (Bug#16850)
2137
40ff7f86
DG
2138 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2139 result of `completing-read' in the interactive form. (Bug#16854)
2140
98bd6b32
GM
21412014-02-25 Glenn Morris <rgm@gnu.org>
2142
f086804c
GM
2143 * image.el (image-animate, image-animate-timeout):
2144 Stop animating images in dead buffers. (Bug#16878)
2145
c107155e
GM
2146 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2147
9577b569
GM
2148 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2149 Doc fixes.
98bd6b32
GM
2150 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2151 * term/sun.el (sun-raw-prefix-hooks):
2152 Use tty-setup-hook instead of term-setup-hook.
2153 (terminal-init-sun): Construct message from bytecomp plist.
2154 * term/wyse50.el (enable-arrow-keys): Doc fix.
2155
9c9e18e8
JB
21562014-02-24 Juanma Barranquero <lekktu@gmail.com>
2157
2158 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2159 Fix docstring typos.
2160
c848881f
MA
21612014-02-24 Michael Albinus <michael.albinus@gmx.de>
2162
2163 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2164
0e38ae05
NR
21652014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2166
2167 * minibuffer.el (completion--try-word-completion):
2168 Fix error when completing M-x commands (bug#16808).
2169
8ee4c296
LL
21702014-02-24 Leo Liu <sdl.web@gmail.com>
2171
2172 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2173
7d4bd627
JB
21742014-02-24 Juanma Barranquero <lekktu@gmail.com>
2175
2176 * apropos.el (apropos-print): Avoid formatting error when
2177 apropos-do-all and apropos-compact-layout are both t.
2178
e918e27f
JB
21792014-02-23 Juanma Barranquero <lekktu@gmail.com>
2180
2181 * apropos.el (apropos-property, apropos-all-words-regexp)
2182 (apropos-true-hit, apropos-variable, apropos-print):
2183 Fix docstring typos, and remove obsolete comment.
2184
85c01f80
MA
21852014-02-23 Michael Albinus <michael.albinus@gmx.de>
2186
2187 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2188 Preserve trailing "/". (Bug#16851)
2189
62f95022
DG
21902014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2191
2192 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2193 after `=>' (bug#16811).
dfdb365c
DG
2194 (ruby-smie-rules): Handle the inconsistent second element of the
2195 list returned by `smie-indent--parent'.
2196 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2197 method call.
62f95022 2198
025f2c81
JB
21992014-02-23 Juanma Barranquero <lekktu@gmail.com>
2200
2201 * elec-pair.el (electric-pair-text-syntax-table)
2202 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2203 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2204 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2205 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2206
123c84f9
GM
22072014-02-22 Glenn Morris <rgm@gnu.org>
2208
612c3e46
GM
2209 * imenu.el (imenu--generic-function): Doc fix.
2210
123c84f9
GM
2211 * register.el (frame-configuration-to-register): Make obsolete.
2212
e59fa9ad
JB
22132014-02-22 Juanma Barranquero <lekktu@gmail.com>
2214
2215 * desktop.el (desktop-save-buffer-p): Do not fail when
2216 desktop-files-not-to-save is nil. Return t for true result
2217 as the doc says.
2218
4e652634
DC
22192014-02-22 Daniel Colascione <dancol@dancol.org>
2220
27821a89 2221 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
2222 Check that attribute values are strings, avoiding the construction
2223 of invalid dbus messages.
4e652634 2224
f35affb6
JB
22252014-02-21 Juanma Barranquero <lekktu@gmail.com>
2226
2227 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2228 defun-declarations-alist.
2229
3d136b1b
SM
22302014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2231
2232 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2233 (bug#16829).
2234
612ddfc0
JB
22352014-02-21 Juanma Barranquero <lekktu@gmail.com>
2236
2237 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2238 (whitespace-newline, whitespace-trailing, whitespace-line)
2239 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2240 (whitespace-space-after-tab): Fix typo in docstrings.
2241
c8481b1b
DG
22422014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2243
cb8f50a7
DG
2244 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2245
c8481b1b
DG
2246 * electric.el (electric-indent-functions-without-reindent):
2247 Add `yaml-indent-line'.
2248
bed5126f
JB
22492014-02-21 Juanma Barranquero <lekktu@gmail.com>
2250
34b71457
JB
2251 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2252 It has done nothing for years; should be removed after the release.
2253
bed5126f
JB
2254 * simple.el (choose-completion): Fix docstring typo.
2255 (read-quoted-char-radix): Remove unneeded * in docstring.
2256 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2257 Don't escape parentheses unnecessarily in docstrings.
2258
8dd3e94f
MR
22592014-02-21 Martin Rudalics <rudalics@gmx.at>
2260
2261 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
2262 * window.el (window--dump-window, window--dump-frame):
2263 New functions.
2264 (window--min-size-1): Account for window dividers.
2265 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
2266 sum of the window components has been calculated.
2267 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2268 nil make sure at least one text line and two text columns remain
2269 fully visible.
2270 (window-resize): Signal an error when window-resize-apply fails.
2271 (window--resize-child-windows): Fix calculation of by how many
2272 pixels a window can still be shrunk via window-new-normal.
2273 (adjust-window-trailing-edge): Call window--resizable with
2274 correct TRAIL argument.
2275
2ed94e04
MR
2276 (with-temp-buffer-window): Don't evaluate BODY within
2277 with-current-buffer (Bug#16816).
2278
0e5324c4
MA
22792014-02-21 Michael Albinus <michael.albinus@gmx.de>
2280
2281 * net/tramp.el (tramp-check-cached-permissions):
2282 Call `file-attributes' with `suffix' being a symbol but a string.
2283
48198420
DC
22842014-02-21 Daniel Colascione <dancol@dancol.org>
2285
2286 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2287 (dbus-init-bus): New function: call into dbus-init-bus-1
2288 and installs a handler for the disconnect signal.
2289 (dbus-call-method): Rewrite to look for result in cons.
2290 (dbus-call-method-handler): Store result in cons.
2291 (dbus-check-event): Recognize events with nil sender as valid.
2292 (dbus-handle-bus-disconnect): New function. React to bus
2293 disconnection signal by synthesizing dbus error for each
2294 pending synchronous or asynchronous call.
2295 (dbus-notice-synchronous-call-errors): New function.
2296 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2297 is true, not all the time.
2298
99e15133
JB
22992014-02-21 Juanma Barranquero <lekktu@gmail.com>
2300
e48983a6
JB
2301 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2302 Remove obsolescence declarations, these variables do not exist anymore.
2303
fdcfd745
JB
2304 * savehist.el (savehist-save-minibuffer-history)
2305 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2306 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2307 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2308 mostly, refer to "Savehist mode" when talking about the mode,
2309 and not the function.
2310
99e15133
JB
2311 * saveplace.el (save-place): Remove redundant info in docstring.
2312 (save-place-forget-unreadable-files, toggle-save-place)
2313 (save-place-forget-unreadable-files, save-place-dired-hook):
2314 Fix typos and remove unneeded backslashes.
2315
f5bee33b
MA
23162014-02-20 Michael Albinus <michael.albinus@gmx.de>
2317
2318 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2319 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2320
2321 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 2322 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
2323 (tramp-gvfs-handle-insert-directory): Remove function.
2324
2325 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2326 Call `tramp-handle-insert-directory'.
2327
ee0761ca
JB
23282014-02-20 Juanma Barranquero <lekktu@gmail.com>
2329
2330 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2331 before the start of buffer/region (bug#16799).
2332
4d49cc65
GM
23332014-02-20 Glenn Morris <rgm@gnu.org>
2334
2335 * isearch.el (search-invisible): Doc fix.
2336
eee0d650
TK
23372014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2338
2339 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2340 (bug#16657).
2341
94e5e202
JB
23422014-02-19 Juanma Barranquero <lekktu@gmail.com>
2343
2344 * frameset.el (frameset-restore): Delay removing an old frame's
2345 duplicate id until the new frame has been correctly created.
2346
50bfdd5d
MA
23472014-02-19 Michael Albinus <michael.albinus@gmx.de>
2348
2349 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2350 (tramp-check-cached-permissions): Call `file-attributes' if the
2351 cache is empty.
2352
2353 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 2354 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2355
2356 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 2357 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2358 (tramp-gvfs-maybe-open-connection): Set always connection
2359 properties, even if target is mounted already.
2360
2361 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2362 Set tramp-autoload cookie.
2363 (tramp-get-remote-touch): New defun.
2364 (tramp-sh-handle-set-file-times): Use it.
2365 (tramp-sh-handle-directory-files-and-attributes):
2366 Use `tramp-handle-directory-files-and-attributes' if neither stat
2367 nor perl are available on the remote host.
2368
2369 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2370 "/". Write long listing only when "l" belongs to the switches.
2371
2372 * net/trampver.el: Update release number.
2373
f097a3d2
JB
23742014-02-19 Juanma Barranquero <lekktu@gmail.com>
2375
2376 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2377
8e009b78
MR
23782014-02-19 Martin Rudalics <rudalics@gmx.at>
2379
2380 * window.el (window-state-put): Allow WINDOW to refer to an
2381 internal window (Bug#16793).
2382
95160c90
GM
23832014-02-19 Glenn Morris <rgm@gnu.org>
2384
2385 * textmodes/remember.el: Move provide statement to end.
2386 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2387 (remember-notes): Doc fixes.
2388
b28df58c
SM
23892014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2390
2391 * delsel.el (delete-char): Restore incorrectly erased property
2392 (bug#16795).
2393
7108e1c0
JB
23942014-02-18 Juanma Barranquero <lekktu@gmail.com>
2395
2396 * frameset.el (frameset--restore-frame): When a frame is being reused
2397 and its root window is not alive, delete all the frame's windows before
2398 restoring the window state. This works around the issue in bug#16793.
2399
c863b6ad
GM
24002014-02-18 Glenn Morris <rgm@gnu.org>
2401
a73fae1f
GM
2402 * textmodes/remember.el (remember-data-directory)
2403 (remember-directory-file-name-format, remember-store-in-files)
2404 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2405 (remember-notes-save-and-bury-buffer)
2406 (remember-notes--kill-buffer-query): Doc fixes.
2407
c863b6ad
GM
2408 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2409
29238d28
AM
24102014-02-17 Alan Mackenzie <acm@muc.de>
2411
2412 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 2413 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 2414 to electric-indent-{,local-}-mode.
b28df58c
SM
2415 (c-basic-common-init): Set electric-indent-inhibit.
2416 Initialise c-electric-flag from electric-indent-mode.
29238d28 2417 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 2418 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
2419
2420 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 2421 hit, toggle electric-indent-local-mode.
29238d28 2422
b28df58c
SM
2423 * electric.el (electric-indent-mode-has-been-called):
2424 New variable.
29238d28 2425
c6463340
JB
24262014-02-17 Juanma Barranquero <lekktu@gmail.com>
2427
2428 * frameset.el (frameset-cfg-id): New function.
2429 (frameset--reuse-frame, frameset-restore): Use it.
2430 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2431
94912b88
SM
24322014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * ido.el (ido-file-internal): Remove unused var `d'.
2435 Use \` for to match BoS. Fit within 80n columns.
2436
26ea164c
DC
24372014-02-17 Daniel Colascione <dancol@dancol.org>
2438
2439 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2440 dbus-call-method check for completion using a busy-wait loop with
2441 gradual backoff.
2442
589d1988 24432014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
2444
2445 Sync with Tramp 2.2.9.
2446
2447 * net/trampver.el: Update release number.
2448
17d1b51b
DG
24492014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2450
2451 * ido.el (ido-file-internal): Don't add the name of an existing
2452 directory twice. (Bug#16747)
2453
5bcad689
GM
24542014-02-16 Glenn Morris <rgm@gnu.org>
2455
2456 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2457 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2458
24592014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
2460
2461 * progmodes/sql.el: Version 3.4
2462 (sql-oracle-options): New default value ("-L").
94912b88 2463 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 2464 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 2465 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
2466 (sql-login-delay): New variable.
2467 (sql-product-interactive): Use it.
2468
285f1858
JB
24692014-02-15 Juanma Barranquero <lekktu@gmail.com>
2470
2471 * frameset.el (frameset--jump-to-register): Check that buffer is live
2472 (bug#16749).
2473
5d645ea4
GM
24742014-02-15 Glenn Morris <rgm@gnu.org>
2475
2476 * info.el (info-initialize): Revert 2014-01-10 change.
2477
48c4f9b1
GM
24782014-02-14 Glenn Morris <rgm@gnu.org>
2479
b8630261
GM
2480 * replace.el (map-query-replace-regexp)
2481 (read-regexp-defaults-function, read-regexp): Doc fixes.
2482
b2bf2a25
GM
2483 * dired.el (dired-read-regexp):
2484 * faces.el (list-faces-display):
2485 * misearch.el (multi-isearch-read-matching-buffers)
2486 (multi-isearch-read-matching-files):
2487 * play/cookie1.el (cookie-apropos):
2488 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2489
48c4f9b1
GM
2490 * textmodes/remember.el (remember): Use frameset-to-register
2491 rather than frame-configuration-to-register.
2492
2804e0bd
JB
24932014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2494
2495 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2496 incorrect keybinding.
2497
0b87142f
DC
24982014-02-13 Daniel Colascione <dancol@dancol.org>
2499
2500 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2501 when adding overlays so that line numbers from compiler match line
2502 numbers we use.
2503
47a73eb0
GM
25042014-02-13 Glenn Morris <rgm@gnu.org>
2505
8abcfd51
GM
2506 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2507
47a73eb0
GM
2508 * jit-lock.el (jit-lock-mode): Doc fix.
2509
c9b6b262
JB
25102014-02-13 Juanma Barranquero <lekktu@gmail.com>
2511
2512 * apropos.el (apropos-read-pattern): When the user passes an empty
2513 string, give a more helpful error message than "Wrong type
2514 argument: stringp, nil".
2515
eb4c6947
SM
25162014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2519
0dab5068
GM
25202014-02-13 Glenn Morris <rgm@gnu.org>
2521
2522 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2523
59075dcf
SM
25242014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2527 shift-select commands.
2528
5af9fbad
DG
25292014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2530
2531 * progmodes/js.el (js-indent-line): Don't widen.
2532 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2533
a215930c
GM
25342014-02-12 Glenn Morris <rgm@gnu.org>
2535
a8cb4247
GM
2536 * icomplete.el (icomplete): Add info-link to defgroup.
2537 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2538 (icomplete-minibuffer-map, icomplete-mode)
2539 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2540
a215930c
GM
2541 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2542 (package-menu-filter): Rename from package-menu-filter-interactive.
2543 Doc fix.
2544
26c5ecd9
JB
25452014-02-11 Juanma Barranquero <lekktu@gmail.com>
2546
2547 * frameset.el (frameset--jump-to-register): Select the required
2548 window and buffer before restoring position (bug#16696).
2549
fcd58a02
LI
25502014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2551
2552 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2553
bacb3380
GM
25542014-02-10 Glenn Morris <rgm@gnu.org>
2555
2556 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2557
881329dc
EZ
25582014-02-10 Eli Zaretskii <eliz@gnu.org>
2559
02328db9
EZ
2560 * w32-common-fns.el (x-get-selection): Doc fix.
2561 * select.el (x-get-selection): Doc fix. (Bug#15109)
2562
881329dc
EZ
2563 * face-remap.el (face-remap-add-relative)
2564 (face-remap-remove-relative, face-remap-reset-base)
2565 (face-remap-set-base): Call force-mode-line-update to redisplay
2566 the current buffer due to potential change in faces. (Bug#16709)
2567
c7db4c06
MA
25682014-02-10 Michael Albinus <michael.albinus@gmx.de>
2569
2570 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2571 script more robustly.
2572
6abe4589
LI
25732014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2574
7602b5c3
LI
2575 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2576
e3692ee0
LI
2577 * simple.el (choose-completion): Doc fix (bug#14160).
2578
41015524
LI
2579 * subr.el (event-start): Say what a nil EVENT value means.
2580
87c79dcb
LI
2581 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2582 (bug#14197).
2583
3ab49e2c
LI
2584 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2585
f3c60241
LI
2586 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2587
3bd1d8a8
LI
2588 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2589
6abe4589
LI
2590 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2591 predicate function (bug#15455).
2592
a11463de
DG
25932014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2594
2595 * ielm.el (inferior-emacs-lisp-mode): Instead of
2596 `comment-use-global-state', set `comment-use-syntax'.
2597
2ab0ad85
GM
25982014-02-10 Glenn Morris <rgm@gnu.org>
2599
2600 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2601
411141fb
AM
26022014-02-09 Alan Mackenzie <acm@muc.de>
2603
2604 Fix c-invalidate-state-cache on narrowed buffers.
2605 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2606 Widen when setting and clearing the CPP delimiter properties.
2607
d6d5fdf8
LI
26082014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2609
92c70367
LI
2610 * help.el (describe-bindings): Doc fix (bug#9888).
2611
468ef484
LI
2612 * files.el (save-buffer): Use ARG as the parameter name for
2613 consistency (bug#10346).
7e34193f 2614 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 2615
fc2b1ffa 2616 * cus-edit.el (customize-apropos): Fix error string.
382fd368 2617 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 2618 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 2619
790aceec
LI
2620 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2621
a54a7552 2622 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 2623 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 2624
dd163123
LI
2625 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2626 meaning of the parameter (bug#12282).
2627
9e108fe6
LI
2628 * files.el (find-file-noselect): Clarify prompt when changing
2629 readedness (bug#13261).
5a836f58
LI
2630 (locate-file): Suffixes aren't returned, so don't say that they
2631 are (bug#12674).
2356b316 2632 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 2633
20dda930
LI
2634 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2635 before we actually start to delete things (bug#16331).
2636
d6d5fdf8
LI
2637 * subr.el (event-start): Doc fix (bug#14228).
2638 (event-end): Ditto.
2639
2abd71e5
GM
26402014-02-09 Glenn Morris <rgm@gnu.org>
2641
2642 * emacs-lisp/warnings.el (lwarn):
2643 Empower help-enable-auto-load. (Bug#15940)
2644
c1b5900b
AS
26452014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2646
2647 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2648 (Bug#16690)
2649
429b93bd
MA
26502014-02-08 Michael Albinus <michael.albinus@gmx.de>
2651
2652 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2653 Insert output at end of buffer. (Bug#16120)
2654
b772a699
LI
26552014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2656
18c6aa8c
LI
2657 * simple.el (choose-completion-string-functions): Document new
2658 calling convention (bug#14153).
54dd147a 2659 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 2660
dce8463b
LI
2661 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2662
b772a699 2663 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 2664 (find-grep-dired): Doc fix (bug#14288).
b772a699 2665
2423c8d5
JL
26662014-02-08 Juri Linkov <juri@jurta.org>
2667
2668 * isearch.el (isearch-quote-char): Check character validity
2669 like in `quoted-insert' (bug#16677).
2670
518f26c2
LI
26712014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2672
893cc908
LI
2673 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2674
9165ffc0
LI
2675 * isearch.el (isearch-hide-immediately): Doc clarification
2676 (bug#14723).
2677
6ef4f3ce
LI
2678 * simple.el (line-move): Document utility function used many
2679 places in the Emacs sources (bug#14843).
2680
be58a238 2681 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 2682 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 2683 (dired-up-directory): Doc fix (bug#14848).
be58a238 2684
dd7aafbb
LI
2685 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2686
15cb9968
LI
2687 * files.el (file-relative-name): Doc fix (bug#15159).
2688
9788effd
LI
2689 * fringe.el (fringe-styles): Doc fix (bug#15239).
2690
c96411bd
LI
2691 * isearch.el (isearch-filter-predicate): Documentation typo fix
2692 (bug#15474).
2693
ea838c36
LI
2694 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2695
0d8a4ae7
LI
2696 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2697
f7a17bb3
LI
2698 * replace.el (replace-match-maybe-edit): Doc clarification
2699 (bug#15632).
2700
1bde5c3b
LI
2701 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2702
518f26c2
LI
2703 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2704
dd8e49fd
GM
27052014-02-08 Glenn Morris <rgm@gnu.org>
2706
2707 * help-fns.el (describe-variable):
2708 Check {file,dir}-local-variables-alist, and buffer-file-name,
2709 in the correct buffer.
2710
7e088b29
IL
27112014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2712
2713 * help-fns.el (describe-variable): Fix the case where
2714 a value is directory-local with no dir-locals file. (Bug#16635)
2715
41a4a82f
GM
27162014-02-08 Glenn Morris <rgm@gnu.org>
2717
2718 * abbrev.el (edit-abbrevs-mode):
2719 Derive from fundamental-mode. (Bug#16682)
2720
e255a703
JB
27212014-02-07 Juanma Barranquero <lekktu@gmail.com>
2722
2723 * simple.el (quoted-insert): Check character validity (bug#16677).
2724
c99cf5ee
JL
27252014-02-07 Juri Linkov <juri@jurta.org>
2726
2727 * desktop.el (desktop-read): Claim the lock when the owner is not
2728 the current process. (Bug#16157)
2729
7d7a68d8
JL
27302014-02-07 Juri Linkov <juri@jurta.org>
2731
2732 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2733 to "\\` ". (Bug#16651)
2734
2b777cd9
JL
27352014-02-07 Juri Linkov <juri@jurta.org>
2736
2737 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2738 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2739 (desktop-auto-save-cancel-timer): New function with some code from
2740 `desktop-auto-save-set-timer'.
2741 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2742 Instead of setting `desktop-save-mode' to nil, call
2743 `desktop-save-mode' with arg 0. (Bug#16630)
2744
60eabbb9
GM
27452014-02-07 Glenn Morris <rgm@gnu.org>
2746
99cf3859
GM
2747 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2748 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2749 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2750
2b568bc9
GM
2751 * obsolete/iswitchb.el: Move to obsolete/.
2752 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2753 since obsolete/ is not scanned for autoloads.
2754 * emacs-lisp/authors.el (authors-valid-file-names):
2755 Add iswitchb.el.
2756
60eabbb9
GM
2757 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2758 Disable now non-functional find-file-hook.
2759
629de968
MA
27602014-02-06 Michael Albinus <michael.albinus@gmx.de>
2761
2762 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2763 instead of ";" in order to avoid additional prompts. Let heredoc
2764 scripts read from tty. (Bug#16582)
2765 (tramp-send-command): No special handling of heredocs, it isn't
2766 necessary anymore.
2767
29127376
SM
27682014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2771 with a space (bug#16664). Limit the symbols considered to the ones
2772 that are bound or fbound (bug#16646).
2773
79b6e0a9
GM
27742014-02-06 Glenn Morris <rgm@gnu.org>
2775
2776 * epa.el (epa-mail-aliases): Doc fix.
2777
a333e4d2
DG
27782014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2779
29127376
SM
2780 * emacs-lisp/lisp.el (lisp-completion-at-point):
2781 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
2782 (bug#16604).
2783
2784 * minibuffer.el (completion-table-merge): New function.
2785
9a83b32b
MA
27862014-02-05 Michael Albinus <michael.albinus@gmx.de>
2787
2788 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2789 (tramp-sh-handle-set-file-acl)
2790 (tramp-sh-handle-start-file-process)
2791 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2792 (tramp-find-executable, tramp-send-command): Use it.
2793
451ea3e6
GM
27942014-02-05 Glenn Morris <rgm@gnu.org>
2795
9a83b32b 2796 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 2797
dd27d13b
FEG
27982014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2799
35e951cd 2800 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
2801 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2802
08e41897
AL
28032014-02-04 Anders Lindgren <andlind@gmail.com>
2804
2805 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2806 the names (bug#16620).
2807
764ec9e5
MR
28082014-02-03 Martin Rudalics <rudalics@gmx.at>
2809
08e41897
AL
2810 * faces.el (window-divider): New default value. Rewrite doc-string.
2811 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 2812
6da8227c
DG
28132014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2814
2815 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2816 `protected' and `public' can also be called without arguments.
2817
6a6b8e40
GM
28182014-02-03 Glenn Morris <rgm@gnu.org>
2819
7bcbca40
GM
2820 * register.el (window-configuration-to-register)
2821 (frame-configuration-to-register): Unadvertise unused argument.
2822 * frameset.el (frameset-to-register): Remove unused argument.
2823
719d965d 2824 * frameset.el (frameset-to-register):
6a6b8e40
GM
2825 * kmacro.el (kmacro-to-register):
2826 * register.el (increment-register):
2827 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2828 (calc-append-to-register, calc-prepend-to-register):
2829 * play/gametree.el (gametree-layout-to-register)
2830 (gametree-apply-register-layout):
2831 * textmodes/picture.el (picture-clear-rectangle-to-register)
2832 (picture-yank-rectangle-from-register):
2833 * vc/emerge.el (emerge-combine-versions-register):
2834 Use register-read-with-preview to read registers.
2835
5dca7759
JT
28362014-02-03 João Távora <joaotavora@gmail.com>
2837
2838 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2839 when at beginning of (possibly narrowed) buffer.
2840
709085b9
DC
28412014-02-02 Daniel Colascione <dancol@dancol.org>
2842
c295fc18 2843 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 2844 Also try to display local help from just before point.
709085b9 2845
99f7b0a6
AM
28462014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2847
2848 c-parse-state. Don't "append-lower-brace-pair" in certain
2849 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2850 recognised as a comment.
2851
2852 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2853 as well as normal comment starter.
2854 (c-parse-state-get-strategy): Extra return possibility
2855 'back-and-forward.
2856 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2857 return value list to indicate replacement of a brace-pair cons
2858 with its car.
2859 (c-parse-state-1): With 'back-and-forward, only call
2860 c-append-lower-brace-pair-to state-cache when cons-separated.
2861
f0a10576
JD
28622014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2863
2864 * term/ns-win.el (ns-suspend-error): New function.
2865 (ns-initialize-window-system): Add ns-suspend-error to
2866 suspend-hook (Bug#16612).
2867
b8d552c2
DC
28682014-02-02 Daniel Colascione <dancol@dancol.org>
2869
35e951cd
JB
2870 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2871 Make loading cc-mode silent.
b8d552c2 2872
f2b7d123
DC
28732014-02-02 Daniel Colascione <dancol@dancol.org>
2874
35e951cd
JB
2875 * comint.el (comint-prompt-read-only): Change doc to suggest
2876 remap keybinding.
f2b7d123 2877
4472a196
GM
28782014-02-02 Glenn Morris <rgm@gnu.org>
2879
2880 * register.el (register-read-with-preview, point-to-register)
2881 (window-configuration-to-register, frame-configuration-to-register)
2882 (jump-to-register, number-to-register, view-register, insert-register)
2883 (copy-to-register, append-to-register, prepend-to-register)
2884 (copy-rectangle-to-register): Doc fixes.
2885
70e5a261
SM
28862014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2889 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2890 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2891 * help-fns.el (describe-function-1): Use it.
2892
7c324762
GM
28932014-02-02 Glenn Morris <rgm@gnu.org>
2894
2895 * register.el (register-preview-default): New function,
2896 split from register-preview.
2897 (register-preview-function): Rename from register-preview-functions,
2898 make it not a hook.
2899 (register-preview): Use register-preview-function.
2900 (register-read-with-preview): Error on non-character event. (Bug#16595)
2901
a09beb3d
DG
29022014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2903
2904 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2905 `:' before binary operators (bug#16609). Don't check for `:'
2906 before `[' and `(', or their syntax status. A percent literal
2907 can't end with either.
68e004e0
DG
2908 (ruby-font-lock-keywords): For built-ins that require arguments,
2909 check that they're followed by something that looks like argument
2910 (bug#16610).
a09beb3d 2911
ed4d2875
LI
29122014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2913
2914 * subr.el (butlast): Document what an omitted N means (bug#13437).
2915 (nbutlast): Ditto.
2916
dba6e3ec
LI
29172014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2918
2919 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2920 depth shallower (bug#16587).
cc477daa
LI
2921 (shr-tag-svg): Respect `shr-inhibit-images'.
2922 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 2923
e2a67bd0
DG
29242014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2925
2926 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2927 (ruby-smie-grammar): Make "." right-associative. Make its priority
2928 lower than the ternary and all binary operators.
2929 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
2930 parent, or the first "." parent at indentation.
2931 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
2932 (Bug#16593)
2933
bd21bf41
JL
29342014-01-31 Juri Linkov <juri@jurta.org>
2935
2936 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2937 from `make-hash-table'.
2938
2939 * textmodes/ispell.el (ispell-init-process): Change message format
2940 to be consistent with other messages.
2941
b7e615b9
GM
29422014-01-31 Glenn Morris <rgm@gnu.org>
2943
a69ecd19
GM
2944 * delsel.el (delete-selection-mode): Doc fix.
2945
9997d7e3
GM
2946 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2947 (trace-function-background): Doc fixes.
2948
fbb764b8
GM
2949 * ido.el (ido-use-virtual-buffers): Doc fix.
2950 Reset :version, since the default value has not changed.
2951
da942af1
GM
2952 * register.el (register-preview-delay, register-read-with-preview):
2953 Doc fixes.
2954
b7e615b9
GM
2955 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2956 do not mess with mail-buffer position (fixes 2009-11-03 change).
2957 * progmodes/cc-mode.el (c-submit-bug-report):
2958 Check auto-fill-mode is bound. (Bug#16592)
2959
0a25002d
DH
29602014-01-31 Darren Hoo <darren.hoo@gmail.com>
2961
2962 * startup.el (fancy-splash-image-file): New function,
2963 split from fancy-splash-head.
2964 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2965 so that we are both using the same image. (Bug#16574)
2966
ad78f432
GM
29672014-01-30 Glenn Morris <rgm@gnu.org>
2968
6bbc0c84
GM
2969 * simple.el (eval-expression): Doc fix.
2970
ad78f432
GM
2971 * hexl.el (hexl-mode-hook):
2972 * ielm.el (ielm-mode-hook):
2973 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2974 (lisp-interaction-mode-hook):
20f39add 2975 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
2976 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2977
7b2f049c
SM
29782014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2979
2980 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2981 is a symbol (bug#16584).
2982
0c633f13
GM
29832014-01-30 Glenn Morris <rgm@gnu.org>
2984
2985 * help.el (help-for-help-internal): Add "P" to text.
2986
5e61c1ef
GM
29872014-01-29 Glenn Morris <rgm@gnu.org>
2988
2989 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2990
1dcb169c
MR
29912014-01-28 Martin Rudalics <rudalics@gmx.at>
2992
2993 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2994 height constraints.
2995
a9128931
LL
29962014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2997
2998 * progmodes/hideif.el: Extend to full CPP expression syntax.
2999 (hif-token-alist): Add missing tokens.
3000 (hif-token-regexp): Add support for float/octal/hex immediates.
3001 (hif-string-literal-regexp): New const.
3002 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3003 (hif-exprlist): New function.
3004 (hif-parse-if-exp): Use it.
3005 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3006 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3007 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3008 (hif-logxor, hif-comma): New functions.
3009
a22359a7
GM
30102014-01-28 Glenn Morris <rgm@gnu.org>
3011
793ffe81
GM
3012 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3013
e3bd7eed
GM
3014 * indent.el (tab-stop-list): Doc fix. Add :version.
3015
a22359a7
GM
3016 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3017 (cvs-append-to-ignore): Add compatibility alias.
3018
52695556 30192014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 3020
bac524e0
GM
3021 * dired.el (dired-hide-details-mode): Don't autoload it,
3022 since it cannot be used outside Dired buffers anyway.
3023
52695556 3024 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 3025
52695556
GM
3026 * dired.el (dired-hide-details-hide-symlink-targets)
3027 (dired-hide-details-hide-information-lines)
3028 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
3029
3030 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3031 * strokes.el (strokes-file): Doc fix. Bump :version.
3032 (strokes-help): Doc fix.
3033 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3034 * emulation/viper.el (viper): Doc fix for custom group.
3035 (top-level): Remove oh-so-no-longer-relevant text about vip.
3036 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3037
3038 * ido.el (ido-save-directory-list-file):
3039 * saveplace.el (save-place-file):
3040 * calendar/timeclock.el (timeclock-file):
3041 * net/quickurl.el (quickurl-url-file):
3042 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3043 * progmodes/idlwave.el (idlwave-config-directory):
3044 * textmodes/remember.el (remember-data-file):
3045 Bump :version.
3046
169d6004
GM
30472014-01-26 Glenn Morris <rgm@gnu.org>
3048
de6a923b
GM
3049 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3050 Doc fix. Make obsolete.
3051 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3052
169d6004
GM
3053 * sort.el (delete-duplicate-lines): Doc fix.
3054
ed85dee6
RS
30552014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3056
3057 * progmodes/ada-mode.el (ada):
3058 * woman.el (woman): Link to info manual and Commentary section.
3059
3060 * progmodes/flymake.el (flymake):
3061 * nxml/nxml-mode.el (nxml):
3062 * net/eww.el (eww):
3063 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3064 * htmlfontify.el (htmlfontify):
3065 * ses.el (ses):
3066 * epa.el (epa):
3067 * ido.el (ido): Link to info manual.
3068
e0c67e1d
LL
30692014-01-25 Leo Liu <sdl.web@gmail.com>
3070
3071 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3072
35408b1a
AS
30732014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3074
3075 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3076 (bug#16537).
3077
76c3fa95
JB
30782014-01-24 Juanma Barranquero <lekktu@gmail.com>
3079
f77c7a99
JB
3080 * net/eww.el (eww-download-callback):
3081 Fix reference to eww-download-directory.
3082
76c3fa95
JB
3083 * emacs-lisp/bytecomp.el (byte-compile-file):
3084 Remove unused local variable `file-name'.
3085
1e548e40
GM
30862014-01-24 Glenn Morris <rgm@gnu.org>
3087
03f3b318
GM
3088 * woman.el (woman-default-faces, woman-monochrome-faces):
3089 Fix obsolescence specification.
3090
1e548e40
GM
3091 * subr.el (with-demoted-errors): Doc fix.
3092
d4f0427b
SM
30932014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3096 (cl--macroexp-fboundp): New function.
3097 (cl--make-type-test): Use it.
3098
1670e27f
GM
30992014-01-23 Glenn Morris <rgm@gnu.org>
3100
3101 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3102 * simple.el (eval-expression): Doc fixes.
3103
80efa207
GM
31042014-01-22 Glenn Morris <rgm@gnu.org>
3105
3106 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3107
29afcbab
SM
31082014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * emacs-lisp/package.el: Write files silently.
3111 (package-autoload-ensure-default-file, package--write-file-no-coding)
3112 (package-generate-description-file, package--download-one-archive)
3113 (package-install-from-archive): Tell `write-region' to stay quiet.
3114 (package-menu-mode, package-menu--print-info): Omit the Archive column
3115 if there's only one archive.
3116 (package-all-keywords, package--has-keyword-p): Remove dead code.
3117
2a5bce4f
GM
31182014-01-22 Glenn Morris <rgm@gnu.org>
3119
edace89f
GM
3120 * version.el (emacs-bzr-version-bzr): Fix typo.
3121
2a5bce4f
GM
3122 * version.el (emacs-repository-get-version):
3123 Check either .bzr or .git, but not both.
3124 Make the git case actually use the DIR argument, and return nil
3125 rather than the empty string.
983664c0 3126 Avoid error if .git exists but the git executable is not found.
2a5bce4f 3127
6cb4da45
MR
31282014-01-22 Martin Rudalics <rudalics@gmx.at>
3129
3130 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
3131 * window.el (window-total-size, window-size): New argument ROUND.
3132 (window--min-delta-1, window-min-delta, window--max-delta-1):
3133 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
3134 columns a window can shrink (Bug#16430).
3135 (fit-window-to-buffer): Simplify code.
3136 * term.el (term-window-width): Call window-body-width again.
3137
cc0f2ece
GM
31382014-01-22 Glenn Morris <rgm@gnu.org>
3139
7b997b14
GM
3140 * image.el (image-format-suffixes): Doc fix.
3141
44e76f9d
GM
3142 * international/quail.el (quail-define-package): Doc fix.
3143
35e951cd 3144 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 3145 (authors-renamed-files-alist): Additions.
7bfc1caa 3146
85a5f61f
GM
3147 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3148 reverts 2014-01-09 change. (Bug#16422)
3149
cc0f2ece
GM
3150 * calc/calc-embed.el (thing-at-point-looking-at):
3151 * emacs-lisp/map-ynp.el (x-popup-dialog):
3152 * obsolete/lmenu.el (x-popup-dialog):
3153 * emacs-lisp/package.el (url-recreate-url):
3154 * mail/mailclient.el (clipboard-kill-ring-save):
3155 * subr.el (x-popup-dialog): Update declaration.
3156 * mail/rmail.el (rmail-mime-message-p):
3157 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3158
00d2a6bb
DC
31592014-01-21 Daniel Colascione <dancol@dancol.org>
3160
3161 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3162 Correctly detect when we're inside an arithmetic expansion form
3163 containing nested parenthesis.
c295fc18 3164 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
3165 to detect cases where we shouldn't expand "<<" to a heredoc
3166 skeleton.
3167
dd9d2e9d
SM
31682014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3171 (eldoc--message-command-p): New function.
3172 (eldoc-display-message-p): Use it.
3173 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3174 message is not automatically erased for us.
3175 (eldoc-print-current-symbol-info): Erase previous message, if any.
3176
e7d807ca
TH
31772014-01-21 Tassilo Horn <tsdh@gnu.org>
3178
4ff0a0e5
TH
3179 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3180 specify it's an interactive function.
3181
dd9d2e9d
SM
3182 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3183 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
3184 citations with optional arguments.
3185
87503791
LL
31862014-01-21 Leo Liu <sdl.web@gmail.com>
3187
3188 * simple.el (read--expression): Don't enable eldoc-mode.
3189
6cc750ee
SM
31902014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * simple.el (move-beginning-of-line): Make sure we don't move forward
3193 (bug#16497).
3194
71f16bda
JL
31952014-01-20 Juri Linkov <juri@jurta.org>
3196
3197 * saveplace.el (toggle-save-place, save-place-to-alist)
3198 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3199 'dired-mode) before checking for dired-directory. (Bug#16477)
3200
3c5a4839
JL
32012014-01-20 Juri Linkov <juri@jurta.org>
3202
3203 * indent.el (indent-line-to): Use backward-to-indentation
3204 instead of back-to-indentation. (Bug#16461)
3205
f952002e
PE
32062014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3207
3208 Revert some of the CANNOT_DUMP fix (Bug#16494).
3209 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3210 but fixing this can wait until after the next release.
3211 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3212
93675500
MA
32132014-01-19 Michael Albinus <michael.albinus@gmx.de>
3214
3215 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3216 Use `password-word-equivalents'.
3217 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3218 to t. (Bug#5664, Bug#13124)
3219
e3af763f
AM
32202014-01-19 Alan Mackenzie <acm@muc.de>
3221
3222 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3223 points.
3224 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 3225 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
3226 * progmodes/cc-mode.el (c-before-change, c-after-change)
3227 (c-font-lock-fontify-region): Bind it here.
3228
4ff6d92d
MR
32292014-01-19 Martin Rudalics <rudalics@gmx.at>
3230
3231 * term.el (term-window-width): Call window-text-width instead of
3232 window-width (Bug#16470).
3233
9a685cf6
PE
32342014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3235
3236 * simple.el (password-word-equivalents): Remove duplicates.
3237 Sort, to make this easier next time.
3238 Downcase. Omit ": " after "jelszó".
3239
5aa78c2d
JD
32402014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3241
3242 * term/common-win.el (saved-region-selection): Defvar it.
3243 (x-select-text): Set saved-region-selection (Bug#16382).
3244
cabb250c
GM
32452014-01-18 Glenn Morris <rgm@gnu.org>
3246
3247 * emacs-lisp/authors.el (authors-aliases)
3248 (authors-renamed-files-alist): Add some entries.
3249
a1340440
MA
32502014-01-17 Michael Albinus <michael.albinus@gmx.de>
3251
93675500
MA
3252 * net/tramp.el (tramp-password-prompt-regexp):
3253 Use `password-word-equivalents' if available.
a1340440
MA
3254 (tramp-action-password, tramp-process-one-action)
3255 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3256
681ce5d2
CY
32572014-01-17 Chong Yidong <cyd@gnu.org>
3258
3259 * simple.el (password-word-equivalents): New defcustom.
3260 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3261 to 24.4.
3262 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3263 to t. (Bug#13124)
3264
fb3d479c
DG
32652014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3266
3267 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
3268 (ruby-align-to-stmt-keywords): Change the default value.
3269 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
3270 choices.
3271 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3272 keywords, check against the value of `ruby-alignable-keywords'
3273 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3274
0d613483
GM
32752014-01-17 Glenn Morris <rgm@gnu.org>
3276
fc23fe2d
GM
3277 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3278
0d613483 3279 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 3280 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
3281 (authors-ignored-files): Add some entries, remove others.
3282 (authors-ambiguous-files, authors-valid-file-names):
3283 Add some entries.
3284 (authors-renamed-files-alist): Add, remove, and adjust entries.
3285 (authors-renamed-files-regexps): Add some entries.
3286 Remove some very broad ones. Make some entries `lax'.
3287 (authors-lax-changelogs): New constant.
3288 (authors-disambiguate-file-name): Treat top-level specially.
3289 (authors-lax-changelog-p): New function.
3290 (authors-canonical-file-name): Check file as written against
3291 authors-valid-file-names. Do not special-case etc/.
3292 Handle `lax' logs and authors-renamed-files-regexps elements.
3293
2dbf4ffd
DG
32942014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3295
3296 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
3297 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3298 callers.
2dbf4ffd 3299
87b2a7f2
SM
33002014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3303 Assume we're already in the proper buffer.
3304 Inspired by Anders Lindgren <andlind@gmail.com>.
3305 (follow-post-command-hook): Call it from the right buffer.
3306 (follow-comint-scroll-to-bottom): Adjust call.
3307 (follow-all-followers): Use get-buffer-window-list.
3308
93acfb0e
DC
33092014-01-15 Daniel Colascione <dancol@dancol.org>
3310
3311 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3312 `buffer-file-name' in interactive-form so that we don't leave
3313 pathless file names in `file-name-history'.
3314
ccc6b208
JL
33152014-01-15 Juri Linkov <juri@jurta.org>
3316
3317 * indent.el (indent-rigidly): Set deactivate-mark to nil
3318 in transient indentation mode. (Bug#16438)
3319
5c92e00d
DG
33202014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3321
3322 * emacs-lisp/package.el (package-desc-keywords): New function
3323 (Bug#16222).
3324 (describe-package-1, package-all-keywords)
3325 (package--has-keyword-p): Use it.
3326
dac69660
NR
33272014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3328
3329 * simple.el (define-alternatives): When creating the
3330 COMMAND-alternatives variable, assign COMMAND as its definition
3331 name so that `describe-variable' can relocate it.
3332
8b63edf8
ML
33332014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3334
3335 * font-lock.el (font-lock-keywords): Fix typo in docstring
3336 (bug#16307).
3337
c6a0b8eb
AM
33382014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3339
3340 * ispell.el (ispell-region): Reset `in-comment' for new line
3341 instead of wrongly reset `add-coment' (bug#13577).
3342
02bf443d
DU
33432014-01-14 Daiki Ueno <ueno@gnu.org>
3344
3345 * epa-file.el (epa-file-write-region): Encode the region according
3346 to `buffer-file-format'. Problem reported at:
3347 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3348
fd7fde15
SM
33492014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3352 so it applies in the right buffer (bug#16410).
3353
c176054f
DC
33542014-01-13 Daniel Colascione <dancol@dancol.org>
3355
3356 * textmodes/rst.el (rst-define-key): Provide deprecated
3357 keybindings through named functions instead of anonymous ones so
3358 that "??" doesn't appear in describe-mode output.
3359
e3f33e5d
BG
33602014-01-13 Bastien Guerry <bzg@gnu.org>
3361
3362 * simple.el (define-alternatives): Call the selected command
3363 interactively. When setting `COMMAND--implementation' for the
3364 first time, tell the user how to chose another implementation.
3365 Enhance the docstring.
3366
c055d654
SM
33672014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3368
3369 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3370 (log-edit--match-first-line): New function.
3371 (log-edit-font-lock-keywords): Use it.
3372 (log-edit-mode): Make jit-lock-defer-multiline work.
3373
d791cc3b
BG
33742014-01-13 Bastien Guerry <bzg@gnu.org>
3375
3376 * rect.el (rectangle-mark-mode): When the region is not active,
3377 display a message saying that the mark as been set and that
3378 rectangle mode is in use.
3379 (rectangle--highlight-for-redisplay): Only put an overlay with a
3380 visible vertical bar when (display-graphic-p) is non-nil.
3381 This partially fixes Bug#16403.
3382
3c0c4562
JL
33832014-01-13 Juri Linkov <juri@jurta.org>
3384
3385 * info.el (Info-find-file): Go to DIR before displaying the error
3386 about a nonexistent file if no previous Info file is visited.
3387 Use `user-error' instead of `error' for "Info file %s does not exist".
3388 (Info-find-node-2): In case of a nonexistent node in unwind forms
3389 go to the Top node if there is no previous node to revert to.
3390 (Bug#16405)
3391
25a700d0
MR
33922014-01-13 Martin Rudalics <rudalics@gmx.at>
3393
3394 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
3395 * window.el (fit-frame-to-buffer): Fix doc-string.
3396 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
3397 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3398 when avoiding that frame goes partially off-screen.
3399 (fit-window-to-buffer): Respect window-min-height/-width
3400 (Bug#14096).
3401
6ae948d8
SM
34022014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3405 after an empty line.
3406
6137cb82
SM
34072014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3408
3409 * net/shr.el (shr-render-region): Autoload.
3410
e6344e17
XF
34112014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3412
3413 * net/eww.el (eww-download-directory): Rename from
3414 `eww-download-path' (Bug#16419).
3415
3b922c70
LL
34162014-01-12 Leo Liu <sdl.web@gmail.com>
3417
3418 * dired-x.el (dired-mode-map): Fix last change.
3419
3420 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3421
4fa51741
PE
34222014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3423
3424 Spelling fixes.
3425 * emacs-lisp/generic.el (generic--normalize-comments):
3426 Rename from generic--normalise-comments. All uses changed.
35e951cd 3427 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
3428 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3429 (bubbles--neighborhood-available)
3430 (bubbles--update-neighborhood-score):
3431 Rename from names with 'neighbourhood'. All uses changed.
3432
9b335362
LL
34332014-01-12 Leo Liu <sdl.web@gmail.com>
3434
3435 Re-implement the feature of showing eldoc info after editing.
3436 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3437 (eldoc-edit-message-commands): New function.
3438 (eldoc-print-after-edit): New variable.
3439 (eldoc-pre-command-refresh-echo-area): Emit message only by
3440 eldoc-message-commands.
3441 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3442 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 3443 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 3444 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 3445
e2a095b1
GM
34462014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3447 Eric S. Raymond <esr@thyrsus.com>
9685190b 3448
841a6d0c 3449 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 3450 function works correctly in either a Bazaar or Git repo.
0abf4134 3451
e2a095b1
GM
34522014-01-11 Eric S. Raymond <esr@thyrsus.com>
3453
6137cb82
SM
3454 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3455 Goes with removal of the joke manpages from /etc.
9685190b 3456
c295fc18 34572014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 3458
6137cb82
SM
3459 * mail/rmail.el (rmail-get-coding-system):
3460 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 3461
d2f16e93
GM
34622014-01-10 Glenn Morris <rgm@gnu.org>
3463
3464 * emacs-lisp/authors.el (authors-fixed-entries):
3465 Update for files that no longer exist.
3466
7e03bb32
ER
34672014-01-10 Eric S. Raymond <esr@thyrsus.com>
3468
3469 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 3470 24.3 (Tested).
7e03bb32 3471
dd806710
BB
34722014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3473
3474 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3475 and Podfile.
3476
ed6ec139
EZ
34772014-01-10 Eli Zaretskii <eliz@gnu.org>
3478
3479 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3480
cc33cac9
CY
34812014-01-10 Chong Yidong <cyd@gnu.org>
3482
6137cb82 3483 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 3484
d9d836b5
AL
34852014-01-10 Anders Lindgren <andlind@gmail.com>
3486
3487 * follow.el (follow-cache-command-list): Include right-char and
3488 left-char.
3489
06827ec8
PE
34902014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3491
3492 Spelling fixes.
3493 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3494 * woman.el (woman-mark-horizontal-position):
3495 Rename from woman-mark-horizonal-position. Use changed.
3496
458dbf5e
GM
34972014-01-10 Glenn Morris <rgm@gnu.org>
3498
dad6fae7
GM
3499 * info.el (info-initialize): If running uninstalled, ensure our
3500 own info files are always found first, even if INFOPATH is set.
3501
458dbf5e
GM
3502 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3503
05e0afce
DE
35042014-01-09 David Engster <deng@randomsample.de>
3505
3506 * emacs-lisp/eieio-custom.el:
3507 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3508 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3509 * emacs-lisp/eieio.el: Regenerate autoloads.
3510
f29778b3
ER
35112014-01-09 Eric S. Raymond <esr@thyrsus.com>
3512
3513 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 3514 following renames. (Bug#8756)
f29778b3 3515
684d44ef
SM
35162014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3519 (bug#16382).
3520 (activate-mark): Add `no-tmm' argument.
3521 (set-mark, push-mark-command): Use it instead of running
3522 activate-mark-hook by hand.
3523
9475054f
ER
35242014-01-08 Eric S. Raymond <esr@thyrsus.com>
3525
3526 In preparation for the move to git, sanitize out some
3527 Bazaar-specific names.
3528
38942b9c
GM
3529 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3530
9475054f 3531 * version.el (emacs-bzr-version): Name changed to
689c9ca5 3532 emacs-repository-version. Obsolete-variable alias made.
9475054f 3533 * loadup.el: Follow through on this name change.
a12bf61e 3534 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
3535 assumption about the version control system in use.
3536
0f918d96 35372014-01-08 David Engster <deng@randomsample.de>
abb82152 3538
684d44ef
SM
3539 * help-fns.el (help-fns-describe-function-functions):
3540 New variable to call functions for augmenting help buffers.
abb82152
DE
3541 (describe-function-1): Remove explicit calls to
3542 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
3543 `help-fns--obsolete'. Put them in above new variable instead, and
3544 call them through `run-hook-with-args'.
3545 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3546 `eieio-describe-class'. Not meant for interactive use anymore,
3547 but to augment existing help buffers. Remove optional second
684d44ef
SM
3548 argument. Create proper button for file location.
3549 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
3550 possible.
3551 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3552 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
3553 (describe-method, describe-generic, eieio-describe-method):
3554 Remove aliases.
0f918d96
DE
3555 (eieio-help-constructor, eieio-help-generic): Rename from
3556 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3557 Rewrite to use `insert' in the current buffer and use proper help
3558 buttons.
3559 (eieio-help-find-method-definition)
3560 (eieio-help-find-class-definition): Also accept symbols as
3561 arguments.
3562 (eieio-help-mode-augmentation-maybee): Remove.
3563 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
3564 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3565 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 3566
136b74c5
PE
35672014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3568
3569 Spelling fixes.
3570 * language/china-util.el (hz-ascii-designation):
3571 Rename from hz-ascii-designnation.
3572 (hz-ascii-designation): Rename from hz-ascii-designnation.
3573 All uses changed.
3574
ec6c7de2
SM
35752014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3578 package-alist.
3579
d6262c7c
BG
35802014-01-08 Bastien Guerry <bzg@gnu.org>
3581
4b9e6087
GM
3582 * emacs-lisp/package.el (package-delete):
3583 Correctly delete the package from package-alist.
d6262c7c 3584
0a3eec32
DU
35852014-01-08 Daiki Ueno <ueno@gnu.org>
3586
3587 * emacs-lisp/package.el (url-recreate-url): Declare.
3588 (url-http-target-url): Declare.
4b9e6087 3589 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
3590 (package--check-signature): Don't re-signal errors from
3591 package--with-work-buffer. Suggested by Stefan Monnier.
3592
68f0bb97
BG
35932014-01-07 Bastien Guerry <bzg@gnu.org>
3594
3595 * minibuffer.el (completion--try-word-completion): When both a
3596 hyphen and a space are possible candidates for the character
3597 following a word, display both candidates. (Bug#15980)
3598
7e1899d7
MR
35992014-01-07 Martin Rudalics <rudalics@gmx.at>
3600
3601 * window.el (balance-windows-2): While rounding don't give a
c295fc18 3602 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 3603
0030ec15
GM
36042014-01-07 Glenn Morris <rgm@gnu.org>
3605
3606 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3607 (menu-bar-help-menu): Use view-external-packages instead.
3608
2b6b4f20
BG
36092014-01-07 Bastien Guerry <bzg@gnu.org>
3610
3611 * emacs-lisp/package.el (package-delete): Also delete the package
3612 name from `package-alist', not its description only.
3613
e9be0a13
GM
36142014-01-07 Glenn Morris <rgm@gnu.org>
3615
3616 * help.el (view-external-packages):
3617 * menu-bar.el (menu-bar-help-extra-packages):
3618 Visit efaq.info rather than etc/MORE.STUFF.
3619
e4f74da9
JL
36202014-01-07 Juri Linkov <juri@jurta.org>
3621
3622 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3623 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3624
3625 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3626 that shadows RET. (Bug#16342)
3627
de7ce2d1
CY
36282014-01-07 Chong Yidong <cyd@gnu.org>
3629
3630 * isearch.el (isearch-yank-char, isearch-yank-word)
3631 (isearch-yank-line): Doc fix.
3632
6bdd9204
SM
36332014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3636 * emacs-lisp/elint.el (elint-find-builtins):
3637 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3638 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3639 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3640 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3641 * apropos.el (apropos-safe-documentation):
3642 * subr.el (symbol-file): Remove redundant fboundp.
3643 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3644
daccca97
BG
36452014-01-06 Bastien Guerry <bzg@gnu.org>
3646
3647 * hl-line.el (global-hl-line-overlay): Make a local variable.
3648 (global-hl-line-overlays): New variable to store all overlays.
3649 (global-hl-line-mode): Don't delete overlays from the current
3650 buffer when `global-hl-line-sticky-flag' is non-nil.
3651 (global-hl-line-highlight): Add new overlays to
3652 `global-hl-line-overlays'.
3653 (global-hl-line-unhighlight-all): New function to delete all
3654 overlays when turning off `global-hl-line-mode'.
3655 This fixes Bug#16183.
3656
ec00f20f
SM
36572014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3658
3659 * subr.el (set-transient-map): Fix nested case and docstring.
3660
a0031f97
TH
36612014-01-06 Tassilo Horn <tsdh@gnu.org>
3662
3663 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3664 `Texinfo' entry.
3665
bf6a77f3
DC
36662014-01-06 Daniel Colascione <dancol@dancol.org>
3667
3668 Fix defun navigation in vc log view.
3669
3670 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3671 like `beginning-of-defun'.
c295fc18 3672 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
3673 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3674 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 3675 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 3676 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 3677
d5081c1e
PE
36782014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3679
3680 Spelling fixes.
3681 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3682 * emacs-lisp/debug.el (cancel-debug-on-entry):
3683 * epg.el (epg-error-to-string):
3684 * files.el (recover-file):
3685 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3686 * mail/emacsbug.el (report-emacs-bug-hook):
3687 * mail/sendmail.el (mail-recover):
3688 * ses.el (ses-yank-resize):
3689 * term/ns-win.el (ns-print-buffer):
3690 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3691 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3692 All uses changed.
3693 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3694
53f6b148
LL
36952014-01-06 Leo Liu <sdl.web@gmail.com>
3696
3697 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 3698 to avoid shadowing global key. (Bug#16354)
53f6b148 3699
b82ace2f
DC
37002014-01-06 Daniel Colascione <dancol@dancol.org>
3701
3702 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3703 rst-mode.
3704
3669b636
MR
37052014-01-05 Martin Rudalics <rudalics@gmx.at>
3706
3707 * window.el (balance-windows): Add mising t to fix Bug#16351.
3708
1a29adc2
LMI
37092014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3710
3711 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3712 (bug#16285).
3d95a0f4
LMI
3713 (shr-insert): If we have a word that's longer than `shr-width',
3714 break after it anyway. Otherwise we'll do no breaking once we get
3715 such a long word.
1a29adc2 3716
f4018140
KN
37172014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3718
3fcfc4ee 3719 * net/eww.el (eww): Support single/double quote for search.
c295fc18 3720 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
3721 (eww-history-quit): Delete and use quit-window.
3722 (eww-history-kill): Delete, because it doesn't work well and
3723 not necessary.
3724 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 3725
4e619754
PE
37262014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3727
73dbf960
PE
3728 Fix misspelling of 'chinese' in rx (Bug#16237).
3729 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3730 chinese-two-byte.
3731
4e619754
PE
3732 Change subword regexps back to vars (Bug#16296).
3733 * progmodes/subword.el (subword-forward-regexp)
3734 (subword-backward-regexp): Change these back to variables.
3735
e18b70fc
SM
37362014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3737
3738 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3739 syntax-begin-function (bug#16247).
3740
0d53f628
CY
37412014-01-03 Chong Yidong <cyd@gnu.org>
3742
3743 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3744 (advice--docstring): Delete variable.
3745 (advice--make-1): Leave the docstring empty.
3746 (advice-add): Use function-documentation for advised docstring.
3747
3748 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3749 Ignore function-documentation property when getting documentation.
3750 (ad-activate-advised-definition): Use function-documentation
3751 generate the docstring.
3752 (ad-make-advised-definition): Don't call
3753 ad-make-advised-definition-docstring.
3754 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3755 Delete functions.
3756
3757 * progmodes/sql.el (sql-help): Use function-documentation instead
3758 of dynamic-docstring-function property. No need to autoload now.
3759 (sql--help-docstring): New variable.
3760 (sql--make-help-docstring): Use it.
3761
6f547583
SM
37622014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3763
6ef9aed8
SM
3764 * ielm.el (ielm-tab): Retarget.
3765 (ielm-map): Use ielm-tab for tab.
3766 (ielm-complete-filename): Use comint-filename-completion.
3767 (ielm-complete-symbol): Remove.
3768 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3769 remove ielm-tab from completion-at-point-functions (bug#16224).
3770
6f547583
SM
3771 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3772 Beware signals raised by predicates (bug#16201).
3773
a574edbe
RS
37742014-01-02 Richard Stallman <rms@gnu.org>
3775
e831604d
RS
3776 * dired-aux.el (dired-do-print): Handle printer-name.
3777
6f547583
SM
3778 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3779 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
3780 (rmail-epa-decrypt): Turn off mime processing.
3781
3fcfc4ee 3782 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
3783 Add parens in message-id.
3784
3785 * mail/rmail.el (rmail-get-coding-function): Variable.
3786 (rmail-get-coding-system): Use it.
3787
04311a16
KH
37882013-12-31 Eli Zaretskii <eliz@gnu.org>
3789
3790 * international/mule-conf.el: Unify the charset indian-is13194.
3791 (indian-is13194): Specify unify-map.
3792
c8d89778
LL
37932013-12-31 Leo Liu <sdl.web@gmail.com>
3794
3795 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3796
e63ace37
DC
37972013-12-30 Daniel Colascione <dancol@dancol.org>
3798
9e0bf19a
DC
3799 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3800 of printing a useless when we resume from sleep.
3801
e63ace37 3802 * progmodes/sh-script.el
c295fc18 3803 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
3804 in indentation code. (Bug#16233)
3805
e9d6c46a
JT
38062013-12-28 João Távora <joaotavora@gmail.com>
3807
6f547583
SM
3808 * elec-pair.el (electric-pair-post-self-insert-function):
3809 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 3810
bf7bea5d
EZ
38112013-12-28 Eli Zaretskii <eliz@gnu.org>
3812
3813 * frame.el (window-system-for-display): Don't allow to create a
3814 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3815
8449dd1f
GM
38162013-12-28 Glenn Morris <rgm@gnu.org>
3817
9c5a5c77
GM
3818 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3819 Update callers.
3820
3821 * apropos.el (apropos-match-face):
3822 * calculator.el (calculator-displayer):
3823 * dabbrev.el (dabbrev-search-these-buffers-only):
3824 * face-remap.el (buffer-face-mode-face):
3825 * simple.el (yank-handled-properties):
3826 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3827 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3828 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3829 (hashcash-double-spend-database):
3830 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3831 (ruby-deep-indent-paren-style):
3832 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3833 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3834 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3835 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3836 Specify custom types.
3837
bb098075
GM
3838 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3839 * bookmark.el (bookmark-bmenu-use-header-line):
3840 * doc-view.el (doc-view-scale-internally):
3841 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3842 * register.el (register-preview-delay):
3843 * net/shr.el (shr-bullet):
3844 * progmodes/cfengine.el (cfengine-cf-promises)
3845 (cfengine-parameters-indent):
3846 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3847 * textmodes/reftex-vars.el (reftex-label-regexps):
3848 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3849
9c61f806
GM
3850 * net/tls.el (tls-certtool-program): Fix default value.
3851
3852 * desktop.el (desktop-restore-in-current-display):
3853 * newcomment.el (comment-empty-lines):
3854 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3855 (idlwave-pad-keyword):
3856 * progmodes/tcl.el (tcl-tab-always-indent):
3857 * textmodes/reftex-vars.el (reftex-index-default-tag):
3858 * elec-pair.el (electric-pair-skip-whitespace):
3859 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3860
8449dd1f
GM
3861 * emacs-lisp/authors.el (authors-ignored-files)
3862 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3863
fdadeb49
JC
38642013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3865
72140a0f
GM
3866 * shell.el (shell-dynamic-complete-command): Doc fix.
3867 (shell--command-completion-data): Shell completion now matches
3868 executable filenames from the current buffer's directory, on
da5ecfa9 3869 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 3870
e572a7d8
LI
38712013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3872
3873 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3874
7514d3f8
SM
38752013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3876
a4151f3b
SM
3877 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3878 (bug#16251).
3879
7514d3f8
SM
3880 * electric.el: Move all electric-pair-* to elec-pair.el.
3881 * elec-pair.el: New file, split from electric.el.
3882
ac5758d1
LI
38832013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3884
3885 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3886 indentation level is larger than the width, because that will
3887 infloop.
3888 (shr-insert): Fill repeatedly long texts, so that Japanese is
3889 formatted correctly (bug#16263).
24a6b65e
LI
3890 (shr-find-fill-point): Off by one error in comparison with the
3891 indentation.
ac5758d1 3892
7514d3f8 38932013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
3894
3895 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 3896 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
3897 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3898 if that keeps or improves their balance in buffers.
3899 (electric-pair-delete-adjacent-pairs): Delete the pair when
3900 backspacing over adjacent matched delimiters.
3901 (electric-pair-open-extra-newline): Open extra newline when
3902 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
3903 (electric--sort-post-self-insertion-hook):
3904 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
3905 minor-modes are activated.
3906 * simple.el (newline-and-indent): Call newline with interactive
3907 set to t.
3908 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
3909 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3910 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3911 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
3912 electric-pair-open-newline-between-pairs to nil.
3913
fbcc63a3
FEG
39142013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3915
3916 * progmodes/python.el: Use lexical-binding.
3917 (python-nav-beginning-of-defun): Stop searching ASAP.
3918
ed78d16c
XF
39192013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3920
3921 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3922 Fix interactive spec. Doc fix. (Bug#15754)
3923
38b2c142
KY
39242013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3925
3926 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 3927 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
3928 Fix edebug spec (bug#16184).
3929
3c856c14
LI
39302013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3931
83fa295c 3932 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
3933 (shr-insert): Don't infloop if we can't find a good place to break
3934 the line (bug#16256).
3c856c14 3935
01379221
FEG
39362013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3937
35e951cd 3938 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
3939 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3940 python-nav-lisp-forward-sexp-safe.
3941 (python-nav--forward-sexp): New argument SAFE allows switching
3942 forward sexp movement behavior for parens.
3943 (python-nav-forward-sexp): Throw errors on unterminated parens
3944 (Bug#16191).
3945 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3946 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
3947 (python-shell-buffer-substring):
3948 Use `python-nav-forward-sexp-safe'.
01379221 3949
99e4926f
LI
39502013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3951
3952 * net/shr.el (shr-find-fill-point): Don't break lines before a
3953 quotation mark.
c6c20584
LI
3954 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3955 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 3956 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 3957
fec0e828
KN
39582013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3959
3960 * net/eww.el (eww-form-textarea): Use a different face for
3961 textareas than text input since they have different keymaps
3962 (bug#16142).
3963
89c868ad
FEG
39642013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3965
7514d3f8
SM
3966 * progmodes/python.el (python-nav-beginning-of-statement):
3967 Speed up (Bug#15295).
89c868ad 3968
eeef121a
LI
39692013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3970
3971 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3972 the window configuration.
3973
121ea65f
EZ
39742013-12-24 Eli Zaretskii <eliz@gnu.org>
3975
3976 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3977 we run on MS-Windows or MS-DOS.
3978
18cee9ec
MR
39792013-12-24 Martin Rudalics <rudalics@gmx.at>
3980
3981 * window.el (balance-windows-area): Call window-size instead of
3982 window-height and window-width. Bug#16241.
3983
58f2b9a5
LI
39842013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3985
3986 * net/eww.el (eww-bookmark-quit): Remove.
3987 (eww-bookmark-browse): Restore the window configuration when you
3988 choose a bookmark (bug#16144).
3989
d64b6308
DC
39902013-12-24 Daniel Colascione <dancol@dancol.org>
3991
3992 * icomplete.el: Remove redundant :group arguments to `defcustom'
3993 throughout.
3994 (icomplete-show-matches-on-no-input): New customizable variable.
3995 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3996 we have something to show.
7514d3f8 3997 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 3998
0da54898
DC
39992013-12-23 Daniel Colascione <dancol@dancol.org>
4000
4001 * icomplete.el: Move `provide' to end of file.
4002
b90aa4f4
TZ
40032013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4004
4005 * net/gnutls.el (gnutls-verify-error): Add version tag.
4006
8cd22a08
CY
40072013-12-23 Chong Yidong <cyd@gnu.org>
4008
4009 * subr.el (set-transient-map): Rename from
4010 set-temporary-overlay-map. Doc fix.
4011
4012 * face-remap.el (text-scale-adjust):
4013 * indent.el (indent-rigidly):
4014 * kmacro.el (kmacro-call-macro):
4015 * minibuffer.el (minibuffer-force-complete):
4016 * repeat.el (repeat):
4017 * simple.el (universal-argument--mode):
4018 * calendar/todo-mode.el (todo-insert-item--next-param):
4019 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4020
7510b021
CY
4021 * indent.el (indent-rigidly): Use substitute-command-keys.
4022
72140a0f 40232013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
4024
4025 * net/eww.el (eww-tag-select): Add text-property to jump to next
4026 select field.
e9dc713d 4027 (eww): Add non-supported ftp error.
56890ecd 4028
1f87a56c
DG
40292013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4030
4031 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4032 comments. Handle electric indent after typing `?' and `!'.
4033
dca38cf9
CY
40342013-12-22 Chong Yidong <cyd@gnu.org>
4035
4036 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
4037 applicable to a frame, fall back on the defface spec.
4038 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 4039
f2351498
DG
40402013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4041
4042 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4043 after `{'. We need it after block openers, and it doesn't seem
4044 to hurt after hash openers.
4045
6cddebc1
DG
40462013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4047
4048 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4049 extracted from `ruby-smie-rules'.
4050 (ruby--electric-indent-chars): New variable.
4051 (ruby--electric-indent-p): New function.
4052 (ruby-mode): Use `electric-indent-functions' instead of
4053 `electric-indent-chars'.
4054
65a1da00
DG
40552013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4056
4057 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4058 docstring.
4059 (ruby-smie-rules): Indent plus one level after `=>'.
4060
b51ad4cf
RS
40612013-12-21 Richard Stallman <rms@gnu.org>
4062
4063 * simple.el (newline): Doc fix.
4064
72140a0f 40652013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 4066
e9dc713d 4067 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
4068 (eww-history-browse, eww-history-quit, eww-history-kill)
4069 (eww-history-mode-map, eww-history-mode): New command and
4070 functions to list browser histories.
e9dc713d
JB
4071 (eww-form-text): Support text form with disabled
4072 and readonly attributes.
4073 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 4074
5e1901c1
RS
40752013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4076
4077 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4078 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4079 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4080 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4081 Use `user-error'.
4082 (eww-bookmark-mode-map): Add menu.
4083 (eww-render, eww-mode): Use `setq-local'.
4084 (eww-tool-bar-map): New variable.
4085 (eww-mode): Set `tool-bar-map'.
4086 (eww-view-source): Check for `html-mode' with `fboundp'.
4087
073d5cfd
LMI
40882013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4089
4090 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4091 elements with text inside. Also remove debugging.
4092
41cf3d11
JD
40932013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4094
4095 * cus-start.el (all): Add ns-use-srgb-colorspace.
4096
aac2b673
CY
40972013-12-21 Chong Yidong <cyd@gnu.org>
4098
4099 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4100 undefined. Thus, theme settings for undefined faces do not take
4101 effect until the faces are defined with defface, the same as with
4102 theme variables.
4103
4104 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4105 (face-spec-reset-face): Don't assign extra properties in temacs.
4106 (face-spec-recalc): Apply X resources too.
4107
bacb0e77
CY
41082013-12-21 Chong Yidong <cyd@gnu.org>
4109
4110 * faces.el (face-spec-set):
4111 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4112 * custom.el (defface): Doc fixes (Bug#16203).
4113
77221051
CY
4114 * indent.el (indent-rigidly-map): Add docstring, and move commands
4115 into named functions.
4116 (indent-rigidly-left, indent-rigidly-right)
4117 (indent-rigidly-left-to-tab-stop)
4118 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4119 indentation direction based on bidi direction, and accumulate
4120 sequential commands in a single undo boundary.
4121 (indent-rigidly--pop-undo): New utility function.
4122
e0eb0550
JB
41232013-12-20 Juanma Barranquero <lekktu@gmail.com>
4124
4125 * faces.el (read-face-name): Require crm.el when using crm-separator.
4126
3282bd2e
DC
41272013-12-20 Daniel Colascione <dancol@dancol.org>
4128
4129 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4130 so that we don't reflow comments into the shebang line.
4131
1d42e5b6
JL
41322013-12-20 Juri Linkov <juri@jurta.org>
4133
4134 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4135 a position when `dired-directory' is non-nil. Check integer
4136 positions with `integerp'.
4137 (toggle-save-place, save-places-to-alist): Add check for
4138 `dired-directory'.
4139 (save-place-find-file-hook): Check integer positions with
4140 `integerp'.
4141 (save-place-dired-hook): Use `dired-goto-file' when
4142 `dired-filename' is found in the assoc list. Check integer
4143 positions with `integerp'.
4144 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4145
4146 * dired.el (dired-initial-position-hook): Rename back from
4147 `dired-initial-point-hook'.
4148 (dired-initial-position): Rename `dired-initial-point-hook' to
4149 `dired-initial-position-hook'.
4150 (dired-file-name-at-point): Doc fix. (Bug#15329)
4151
24da7273
JL
41522013-12-20 Juri Linkov <juri@jurta.org>
4153
4154 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4155 (read-regexp-suggestions): New function.
4156 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4157 Use `read-regexp-suggestions'. Add non-empty default to history
4158 for empty input.
4159 (occur-read-regexp-defaults-function): Remove function.
4160 (occur-read-primary-args): Use `regexp-history-last' instead of
4161 `occur-read-regexp-defaults-function'.
4162
4163 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4164 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4165 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4166 `hi-lock-read-regexp-defaults-function'. Doc fix.
4167 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4168 with `find-tag-default-as-symbol-regexp'. Doc fix.
4169 (hi-lock-read-regexp-defaults): Remove function.
4170 (hi-lock-regexp-okay): Add check for null.
4171
4172 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4173 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4174
4175 * subr.el (find-tag-default-as-symbol-regexp): New function.
4176 (find-tag-default-as-regexp): Move symbol regexp formatting to
4177 `find-tag-default-as-symbol-regexp'.
4178
137f57c8
S
41792013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4180
4181 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4182 (Bug#14179)
4183
f3a66082
SB
41842013-12-20 Stephen Berman <stephen.berman@gmx.net>
4185
4186 * calendar/todo-mode.el: New implementation of item insertion
4187 commands and key bindings.
4188 (todo-key-prompt): New face.
4189 (todo-insert-item): New command.
4190 (todo-insert-item--parameters): New defconst, replacing defvar
4191 todo-insertion-commands-args-genlist.
4192 (todo-insert-item--param-key-alist): New defconst, replacing
4193 defvar todo-insertion-commands-arg-key-list.
4194 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4195 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4196 (todo-insert-item--next-param): New functions.
4197 (todo-insert-item--args, todo-insert-item--argleft)
4198 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4199 New variables.
4200 (todo-key-bindings-t): Change binding of "i" from
4201 todo-insertion-map to todo-insert-item.
4202 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4203 (todo-insertion-command-name, todo-insertion-commands-names)
4204 (todo-define-insertion-command, todo-insertion-commands)
4205 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4206
2f99433b
SB
42072013-12-20 Stephen Berman <stephen.berman@gmx.net>
4208
4209 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4210 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4211 eval-when-compile.
4212 (todo-move-category): Allow choosing a non-existing todo file to
4213 move the category to, and create that file.
4214 (todo-default-priority): New user option.
4215 (todo-set-item-priority): Use it.
4216 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4217 (desktop-restore-file-buffer): Declare.
4218 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4219 (todo-modes-set-2): Locally set desktop-save-buffer to
4220 todo-desktop-save-buffer.
4221 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4222 (auto-mode-alist): Add autoload cookie.
4223
131e4695
BB
42242013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4225
4226 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4227 helpers.el was a poor choice of name.
3cbfb935
BB
4228 (string-remove-prefix): New function.
4229 (string-remove-suffix): New function.
131e4695 4230
c44de18d
MR
42312013-12-20 Martin Rudalics <rudalics@gmx.at>
4232
4233 Fix assignment for new window total sizes.
4234 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
4235 (window--pixel-to-total-1, window--pixel-to-total):
4236 Fix calculation of new total sizes.
c44de18d 4237
ca65efcc
VS
42382013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4239
4240 * comint.el (comint-output-filter): Fix rear-nonsticky property
4241 placement (Bug#16010).
4242
a9574eb7
CY
42432013-12-20 Chong Yidong <cyd@gnu.org>
4244
4245 * faces.el (read-color): Minor fix for completion function.
4246
b520f210
DG
42472013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4248
e0eb0550
JB
4249 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4250 New option. (Bug#16182)
b520f210
DG
4251 (ruby-smie--indent-to-stmt-p): Use it.
4252 (ruby-smie-rules): Revert the logic in the handling of `when'.
4253 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4254 (ruby-deep-arglist, ruby-deep-indent-paren)
4255 (ruby-deep-indent-paren-style): Update docstrings to note that the
4256 vars don't have any effect with SMIE.
4257
26b75b45
JB
42582013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4259
4260 * calc/calc.el (calc-enter, calc-pop): Use the variable
4261 `calc-context-sensitive-enter'.
4262
cf91cee7
LMI
42632013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4264
4265 * net/shr.el (shr-insert): Protect against infloops in degenerate
4266 tables.
4267
51d971b4
RS
42682013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4269
4270 * progmodes/octave.el (octave): Add link to manual and octave
4271 homepage.
4272 (octave-mode-menu): Link to octave-mode manual.
4273
8c2e462a
LL
42742013-12-20 Leo Liu <sdl.web@gmail.com>
4275
4276 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4277 insertion using skeleton-end-newline. (Bug#16138)
4278
501158bc
JL
42792013-12-20 Juri Linkov <juri@jurta.org>
4280
4281 * replace.el (occur-engine): Use `add-face-text-property'
4282 to add the face property to matches and titles. (Bug#14645)
4283
4284 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4285 the palette of other hi-lock colors.
4286 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4287
50ab1da6
JL
42882013-12-19 Juri Linkov <juri@jurta.org>
4289
4290 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4291 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4292 (minibuffer-history-symbol): Move variable declaration closer to
4293 its usage.
4294
4295 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4296 (Bug#14785)
4297
3d6e95e7
JL
42982013-12-19 Juri Linkov <juri@jurta.org>
4299
4300 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4301 New function.
4302 (log-edit-hook): Add it to :options. (Bug#16170)
4303
b41594fd
JL
43042013-12-19 Juri Linkov <juri@jurta.org>
4305
4306 * simple.el (eval-expression-print-format): Don't check for
4307 command names and the last command. Always display additional
4308 formats of the integer result in the echo area, and insert them
4309 to the current buffer only with a zero prefix arg.
4310 Display character when char-displayable-p is non-nil.
4311 (eval-expression): With a zero prefix arg, set `print-length' and
4312 `print-level' to nil, and insert the integer values from
4313 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4314
4315 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4316 `eval-last-sexp-arg-internal'. Doc fix.
4317 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4318 `eval-last-sexp-print-value'. Doc fix.
4319 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4320 Set `print-length' and `print-level' to nil when arg is zero.
4321 (eval-last-sexp): Doc fix.
4322 (eval-defun-2): Print the integer values from
4323 `eval-expression-print-format' at the end.
4324
4325 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4326 values from `eval-expression-print-format' at the end.
4327
4328 * ielm.el (ielm-eval-input): Print the integer
4329 values from `eval-expression-print-format' at the end.
4330
8f2be364
TZ
43312013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4332
4333 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4334 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4335
2230a6e3
SM
43362013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4337
4338 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4339 (hl-line-highlight, global-hl-line-highlight): Use it.
4340 (hl-line-overlay): Use defvar-local.
4341
1269a680
JD
43422013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4343
4344 * term/ns-win.el: Require dnd.
4345 (global-map): Remove drag items.
4346 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
4347 (ns-set-background-at-mouse):
4348 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4349 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4350 New functions.
1269a680 4351
049638ad
GM
43522013-12-19 Glenn Morris <rgm@gnu.org>
4353
4354 * emacs-lisp/ert.el (ert-select-tests):
4355 Fix string/symbol mixup. (Bug#16121)
4356
ce41edb4
DG
43572013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4358
4359 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4360 keywords to their parent.
4361
7e1549c9
DG
43622013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4363
4364 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4365 first arg to be a string (fixed dead code), or an operator symbol.
4366 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4367 operator symbols.
4368 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4369 did nothing. Don't respond to `(:after ".")', it will be called
4370 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4371 change anything. Only return indentation for binary operators
4372 when they are hanging. De-dent opening paren when its parent is
4373 `.', otherwise it looks bad when the dot is not at bol or eol
4374 (bug#16182).
4375
3ee4cd64
JL
43762013-12-19 Juri Linkov <juri@jurta.org>
4377
4378 * replace.el (query-replace-read-args): Split a non-negative arg
4379 and a negative arg into separate elements.
4380 (query-replace, query-replace-regexp, replace-string)
4381 (replace-regexp): Add arg `backward'. Doc fix.
4382 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4383 move point to the beginning of the match.
4384 (replace-search, replace-highlight): Use new arg `backward'
4385 to set the value of `isearch-forward'.
4386 (perform-replace): Add arg `backward' and use it to perform
4387 replacement backward. (Bug#14979)
4388
4389 * isearch.el (isearch-query-replace): Use a negative prefix arg
4390 to call `perform-replace' with a non-nil arg `backward'.
4391
0cda6b7b
JL
43922013-12-18 Juri Linkov <juri@jurta.org>
4393
4394 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4395 to the default list. Move `log-edit-show-files' to the end.
4396 Add more available functions to options.
4397 (log-edit): Move default specific settings to
4398 `log-edit-insert-message-template'. Don't move point.
4399 (log-edit-insert-message-template): New function.
4400 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4401 (Bug#16170)
4402
b216f0a6
JL
44032013-12-18 Juri Linkov <juri@jurta.org>
4404
4405 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4406 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4407
1d1c55dc
LL
44082013-12-18 Leo Liu <sdl.web@gmail.com>
4409
e9dc713d
JB
4410 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4411 (Bug#16186)
1d1c55dc 4412
64e4c76e
EZ
44132013-12-18 Eli Zaretskii <eliz@gnu.org>
4414
4415 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4416 formats for displaying file sizes when the -s switch is given.
4417 Instead, compute a separate format for displaying the size in
4418 blocks, which is displayed in addition to the "regular" size.
4419 When -h is given in addition to -s, produce size in blocks in
4420 human-readable form as well. (Bug#16179)
4421
b2984e39
TH
44222013-12-18 Tassilo Horn <tsdh@gnu.org>
4423
2230a6e3
SM
4424 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4425 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 4426
50ff2e06
CY
44272013-12-18 Chong Yidong <cyd@gnu.org>
4428
0081bc84
CY
4429 * cus-edit.el (custom-magic-alist): Fix "themed" description
4430 (Bug#14348).
4431
a7ee9424
CY
4432 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4433 is non-nil, do not create a new entry in the symbol's theme-value
4434 or theme-face property; update theme-settings only (Bug#14664).
18874304 4435 (custom-available-themes): Doc fix.
a7ee9424 4436
8f942537
CY
4437 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4438 (Bug#15674).
4439
50ff2e06
CY
4440 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4441
83c60f60
KI
44422013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4443
4444 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4445 (Bug#13914).
4446
e0eb0550 44472013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
4448
4449 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4450
1f41ee56
GM
44512013-12-18 Glenn Morris <rgm@gnu.org>
4452
4453 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 4454 * cus-start.el (load-prefer-newer): New option.
1f41ee56 4455
e82134b1
LW
44562013-12-18 Le Wang <l26wang@gmail.com>
4457
2230a6e3
SM
4458 * comint.el (comint-previous-matching-input-from-input):
4459 Retain point (Bug#13404).
e82134b1 4460
33f5d4c1
CY
44612013-12-18 Chong Yidong <cyd@gnu.org>
4462
4463 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4464
ccc9f6dc
GM
44652013-12-18 Glenn Morris <rgm@gnu.org>
4466
4467 * mail/emacsbug.el (report-emacs-bug):
4468 Only mention enable-multibyte-characters if non-standard.
4469
33dd8e95
JL
44702013-12-17 Juri Linkov <juri@jurta.org>
4471
4472 * arc-mode.el (archive-extract-by-file): Check if directory exists
4473 before deletion to not show irrelevant errors if it doesn't exist.
4474
7a409b30
JL
44752013-12-17 Juri Linkov <juri@jurta.org>
4476
4477 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4478 (Bug#14751)
4479
4480 * net/eww.el (browse-web): Add alias to `eww'.
4481 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4482 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4483
4484 * net/browse-url.el (browse-url-browser-function): Move `eww'
4485 closer to similar functions.
4486
4487 * startup.el (fancy-startup-screen, fancy-about-screen):
4488 Set browse-url-browser-function to eww-browse-url locally.
4489 (Bug#14751)
4490
2d6b6005
SM
44912013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * window.el (window--pixel-to-total): Remove unused `mini' var.
4494 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4495 (split-window): Remove unused `new' var.
4496 (window--display-buffer): Remove unused `frame' and `delta' vars.
4497 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4498 and display-width'.
4499
cf2b7efc
MR
45002013-12-17 Martin Rudalics <rudalics@gmx.at>
4501
4502 * dired.el (dired-mark-pop-up):
4503 * register.el (register-preview): Don't bind
4504 split-height-threshold here since it's now done in
4505 display-buffer-below-selected.
4506
ed3af8a7 45072013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4508
4509 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4510 xterm-rgb-convert-to-16bit.
4511 (rxvt-register-default-colors): Standardize with
4512 xterm-register-default-colors (Bug#14078).
4513
76da3455
DK
45142013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4515
4516 * simple.el (kill-region): Pass mark first, then point, so that
4517 kill-append works right (Bug#12819).
4518 (copy-region-as-kill, kill-ring-save): Likewise.
4519
2b84d763
LL
45202013-12-17 Leo Liu <sdl.web@gmail.com>
4521
4522 * net/rcirc.el (rcirc-add-face):
4523 * eshell/em-prompt.el (eshell-emit-prompt):
4524 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4525 (Bug#16167)
4526
e2f6a0bc
CY
45272013-12-17 Chong Yidong <cyd@gnu.org>
4528
4529 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4530 Suggested by Xue Fuqiao.
4531
35b249a6
DG
45322013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4533
4534 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4535
e9145444
SM
45362013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * net/shr.el (shr-insert-document): Remove unused var
4539 `shr-preliminary-table-render'.
4540 (shr-rescale-image): Remove unused arg `force'.
4541 (shr-put-image): Update calls accordingly.
4542 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4543
5556c0ce
DG
45442013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4545
4546 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4547 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4548 :close-all, to see which indentation method to use (Bug#16116).
4549 (smie-rules-function): Document the method :close-all.
4550
11bade0a
LMI
45512013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4552
1c4b1e61
LMI
4553 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4554
11bade0a
LMI
4555 * net/eww.el (eww-display-html): If we can't find the anchor we're
4556 looking for, then go to point-min.
4557
8fb8c4f3
PE
45582013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4559
4560 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4561 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4562 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4563 Expand dir too, in case it's relative.
4564
6c8e0ae6
JL
45652013-12-16 Juri Linkov <juri@jurta.org>
4566
4567 * desktop.el (desktop-auto-save-timeout): Change default to
4568 `auto-save-timeout'. Doc fix.
4569 (desktop-save): Skip the timestamp in desktop-saved-frameset
4570 when checking for auto-save changes.
4571 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4572 `desktop-auto-save' is called repeatedly by the idle timer.
4573 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4574 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4575 (Bug#15331)
4576
2178e858
JL
45772013-12-16 Juri Linkov <juri@jurta.org>
4578
4579 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4580 (Bug#16035)
4581 (isearch-pre-command-hook): Check `this-command' for symbolp.
4582
39cb42c6
SM
45832013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4586
5b9b750a
TZ
45872013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4588
4589 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4590 (cfengine3--current-function): Bring in the current-function
4591 functionality from `cfengine3--current-word'.
4592 (cfengine3-completion-function): Bring in the
4593 bounds-of-current-word functionality from
4594 `cfengine3--current-word'.
4595
d144ef06
MR
45962013-12-16 Martin Rudalics <rudalics@gmx.at>
4597
39cb42c6
SM
4598 * window.el (display-buffer-below-selected):
4599 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 4600
a8bbe298
LL
46012013-12-16 Leo Liu <sdl.web@gmail.com>
4602
4603 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4604 Remove NOMSG arg and all uses changed.
4605
2013a2f9
SM
46062013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4609 (cua--deactivate-rectangle): Don't deactivate the mark.
4610 (cua-set-rectangle-mark): Don't set mark-active since
4611 cua--activate-rectangle already does it for us.
4612 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4613 non-rectangular region.
4614
4615 * emulation/cua-base.el (cua-repeat-replace-region):
4616 Use with-current-buffer.
4617
4618 * net/gnutls.el: Use cl-lib.
4619 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4620
5ae811dd
TZ
46212013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4622
4623 * emacs-lisp/package.el (package-built-in-p): Support both
4624 built-in and the package.el converted package descriptions.
4625 (package-show-package-list): Allow keywords.
4626 (package-keyword-button-action): Use it instead of
4627 `finder-list-matches'.
4628 (package-menu-filter-interactive): Interactive filtering (by
4629 keyword) function.
4630 (package-menu--generate): Support keywords and change keymappings
4631 and headers when they are given.
4632 (package--has-keyword-p): Helper function.
4633 (package-menu--refresh): Use it.
4634 (package--mapc): Helper function.
4635 (package-all-keywords): Use it.
4636 (package-menu-mode-map): Set up menu items and keybindings to
4637 provide a filtering UI.
4638
31b4827e
TZ
46392013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4640
4641 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4642 the behavior when a certificate fails validation. Defaults to
4643 old behavior: never abort, just warn.
4644 (gnutls-negotiate): Use it.
4645
f93cc74f
MR
46462013-12-14 Martin Rudalics <rudalics@gmx.at>
4647
4648 * window.el (display-buffer-below-selected): Never split window
4649 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4650
f77d7d17
TW
46512013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4652
4653 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4654 (package-buffer-info): Use it (bug#15108).
aa2bddd7 4655
7514d3f8
SM
46562013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4657
aa2bddd7 4658 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 4659 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 4660
276bc333
DG
46612013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4662
4663 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4664 open-paren tokens when preceded by a open-paren, too.
4665 (ruby-smie-rules): Handle virtual indentation after open-paren
4666 tokens specially. If there is code between it and eol, return the
4667 column where is starts (Bug#16118).
4668
d43957f3
TZ
46692013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4670
a5c1ac0c 4671 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 4672 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
4673 (cfengine3--current-word): Fix parameters.
4674 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
4675 (cfengine3-completion-function, cfengine3--current-function):
4676 Use `assq' for symbols.
d43957f3
TZ
4677 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4678
06a4f110
GM
46792013-12-13 Glenn Morris <rgm@gnu.org>
4680
4681 * loadup.el (load-path): Warn if site-load or site-init changes it.
4682 No more need to reset it when bootstrapping.
4683
978a5fda
TZ
46842013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4685
4686 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4687 locations for cf-promises.
4688 (cfengine-mode-syntax-functions-regex): New caching variable.
4689 (cfengine3-fallback-syntax): Fallback syntax for cases where
4690 cf-promises doesn't run.
4691 (cfengine3--current-word): Reimplement using
4692 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
4693 (cfengine3-completion-function, cfengine3--current-function):
4694 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
4695 (cfengine3-clear-syntax-cache): New function.
4696 (cfengine3-make-syntax-cache): Simplify and create
4697 `cfengine-mode-syntax-functions-regex' on demand.
4698 (cfengine3-format-function-docstring): Don't call
4699 `cfengine3-make-syntax-cache' explicitly.
4700
71e6691e
MR
47012013-12-13 Martin Rudalics <rudalics@gmx.at>
4702
4703 Fix windmove-find-other-window broken after pixelwise resizing
4704 (Bug#16017).
4705 * windmove.el (windmove-other-window-loc): Revert change from
4706 2013-12-04.
4707 (windmove-find-other-window): Call window-in-direction.
4708 * window.el (window-in-direction): New arguments SIGN, WRAP and
4709 MINI to emulate original windmove-find-other-window behavior.
4710
84c73ba0
DG
47112013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4712
4713 * simple.el (blink-matching--overlay): New variable.
4714 (blink-matching-open): Instead of moving point, highlight the
4715 matching paren with an overlay
4716 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4717
4718 * faces.el (paren-showing-faces, show-paren-match)
4719 (show-paren-mismatch): Move from paren.el.
4720
b9e20952
LL
47212013-12-13 Leo Liu <sdl.web@gmail.com>
4722
4723 * indent.el (indent-region): Disable progress reporter in
4724 minibuffer. (Bug#16108)
4725
4726 * bindings.el (visual-order-cursor-movement): Fix version.
4727
ce030451
FEG
47282013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4729
4730 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4731 Also match after beginning of line.
4732 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 4733 files. Thanks to Russell Sim. (Bug#15378)
ce030451 4734
4a9c6865
JL
47352013-12-13 Juri Linkov <juri@jurta.org>
4736
4737 * simple.el <Keypad support>: Remove key bindings duplicated
4738 with bindings.el. (Bug#14397)
4739
2bc170c3
JL
47402013-12-13 Juri Linkov <juri@jurta.org>
4741
4742 * comint.el (comint-mode-map): Replace `delete-char' with
4743 `delete-forward-char'. (Bug#16109)
4744
bc9222c9
FEG
47452013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4746
aa2bddd7 4747 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 4748 Fix de-denters cornercase. (Bug#15731)
bc9222c9 4749
cb3a1380
SM
47502013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4751
4752 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4753 (advice--make): Pay attention to `depth'.
4754 (advice--make-1): Don't autoload commands eagerly.
4755 * emacs-lisp/elp.el (elp-instrument-function):
4756 * emacs-lisp/trace.el (trace-function-internal):
4757 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4758
4759 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4760
01633a17
EZ
47612013-12-12 Eli Zaretskii <eliz@gnu.org>
4762
4763 * term/w32-win.el (w32-handle-dropped-file):
4764 * startup.el (normal-top-level):
4765 * net/browse-url.el (browse-url-file-url):
4766 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4767 decode file names using 'utf-8' rather than
4768 file-name-coding-system.
4769
09faee72
FEG
47702013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4771
4772 * progmodes/python.el (python-indent-context)
4773 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 4774 behavior for comment blocks. (Bug#15916)
09faee72 4775
f4f84024 47762013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 4777
cb3a1380
SM
4778 * progmodes/python.el (python-indent-calculate-indentation):
4779 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
4780 operators when they are just string constituents. (Bug#15812)
4781
d5ccb7be
JL
47822013-12-12 Juri Linkov <juri@jurta.org>
4783
4784 * uniquify.el (uniquify-buffer-name-style): Change default to
4785 `post-forward-angle-brackets'.
4786
4787 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4788 `uniquify'. Change default to `post-forward-angle-brackets'.
4789
7b3f5679
GM
47902013-12-11 Glenn Morris <rgm@gnu.org>
4791
4792 * emacs-lisp/package.el (finder-list-matches):
4793 Autoload rather than falsely declaring.
4794
f4fe8fdd
TZ
47952013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4796
4797 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4798 (eww-mode-map): Use them.
4799
3c29190f
MR
48002013-12-11 Martin Rudalics <rudalics@gmx.at>
4801
4802 * window.el (display-buffer-in-side-window): Fix doc-string
4803 (Bug#16115).
4804
0cd616a2
JB
48052013-12-11 Juanma Barranquero <lekktu@gmail.com>
4806
4807 * vc/vc-git.el: Silence byte-compiler warnings.
4808 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4809 (log-edit-set-header): Declare.
4810
3ef8e0d1
EZ
48112013-12-11 Eli Zaretskii <eliz@gnu.org>
4812
4813 * Makefile.in (custom-deps, finder-data): Run output file names
4814 through unmsys--file-name. (Bug#16099)
4815
afdadaf7
SM
48162013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4817
7ae3ae39 4818 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 4819 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 4820
5b4f37ab
SM
4821 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4822 instead of deleting the selection "by hand" (bug#16098).
4823 Rely on insert-for-yank to yank rectangles.
4824 (cua-highlight-region-shift-only): Mark obsolete.
4825 (cua-mode): Don't enable/disable transient-mark-mode,
4826 shift-select-mode (cua-mode works both with and without them), and
4827 pc-selection-mode (obsolete).
4828 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4829 (cua--deactivate-rectangle): Deactivate it.
4830
4b72c12b
SM
4831 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4832 (delete-selection-helper): Make sure yank starts at the top of the
4833 deleted region.
4834 (minibuffer-keyboard-quit): Use region-active-p.
4835
e82af72d
SM
4836 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4837
afdadaf7
SM
4838 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4839 to `delete' (bug#16109).
4840
ed4bc201
RS
48412013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4842
4843 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4844 info manual and show keybindings and set `:group' keyword.
4845
bb8097b9
JL
48462013-12-11 Juri Linkov <juri@jurta.org>
4847
4848 * delsel.el (delete-active-region): Let-bind `this-command'
4849 to prevent `kill-region' from changing its original value.
4850 (delete-selection-helper): Handle `overwrite-mode' for the type
4851 `kill' exactly the same way as for the type `t'.
4852 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4853 Support more commands. (Bug#13312)
4854
c1916ff5
JL
48552013-12-11 Juri Linkov <juri@jurta.org>
4856
4857 * bindings.el: Map kp keys to non-kp keys systematically
4858 with basic modifiers control, meta and shift. (Bug#14397)
4859
7514d3f8 48602013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
4861
4862 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4863 "Close browser" menu items. Fix wrong function of "List
4864 bookmarks".
4865
4cc51eaf
JL
48662013-12-11 Juri Linkov <juri@jurta.org>
4867
4868 * misearch.el (multi-isearch-buffers): Set the value of
4869 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4870 arg of isearch-forward to t.
4871 (multi-isearch-buffers-regexp): Set the value of
4872 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4873 arg of isearch-forward-regexp to t.
4874 (multi-isearch-files): Set the value of
4875 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4876 arg of isearch-forward to t.
4877 (multi-isearch-files-regexp): Set the value of
c295fc18 4878 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
4879 arg of isearch-forward-regexp to t. (Bug#16035)
4880
4881 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4882 arg of isearch-forward to t.
4883 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4884 arg of isearch-forward-regexp to t.
4885 (dired-isearch-filter-filenames): Remove unnecessary check for
4886 `dired-isearch-filenames'.
4887
4888 * comint.el (comint-history-isearch-backward):
4889 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4890 (comint-history-isearch-backward-regexp):
4891 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4892
ceac12b7
EZ
48932013-12-10 Eli Zaretskii <eliz@gnu.org>
4894
4895 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4896 unmsys--file-name. (Bug#16099)
4897
5a565782
TZ
48982013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4899
cb3a1380
SM
4900 * emacs-lisp/package.el (package-keyword-button-action):
4901 Remove finder.el require dependency.
5a565782 4902
a81fc7ba
TZ
49032013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4904
4905 * emacs-lisp/package.el: Require finder.el.
4906 (describe-package-1): Add keyword buttons.
4907 (package-make-button): New convenience function.
4908 (package-keyword-button-action): Keyword button action using
e0eb0550 4909 `finder-list-matches'.
a81fc7ba 4910
6aaca951
EZ
49112013-12-09 Eli Zaretskii <eliz@gnu.org>
4912
4913 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4914 last commit.
4915
a1099a91
MA
49162013-12-09 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4919 symlinked files.
4920
8212d9c0
DG
49212013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4922
4923 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4924 after the end of a percent literal.
4925
8f48d131
CD
49262013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4927
cb3a1380
SM
4928 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4929 Handle caret-delimited strings (Bug#16079).
8f48d131 4930
ff8c9764
DG
49312013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4932
cb3a1380
SM
4933 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4934 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
4935 `ruby-parse-partial' (Bug#16078).
4936
d64643b4
LL
49372013-12-09 Leo Liu <sdl.web@gmail.com>
4938
4939 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4940
47e59c66
DG
49412013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4942
4943 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4944 (js-switch-indent-offset): New option.
4945 (js--proper-indentation): Use it. And handle the case when
4946 "default" is actually a key in an object literal.
4947 (js--same-line): New function.
4948 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
4949 (js--indent-in-array-comp, js--array-comp-indentation):
4950 New functions.
47e59c66
DG
4951 (js--proper-indentation): Use them, to handle array comprehension
4952 continuations.
4953
974ebc9c
LL
49542013-12-08 Leo Liu <sdl.web@gmail.com>
4955
4956 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4957 (flymake-make-overlay): Remove arg MOUSE-FACE.
4958 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4959
27262e39
SM
49602013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4963 New function.
4964 (redisplay-highlight-region-function): Use it.
4965
4966 * emulation/cua-base.el (cua--explicit-region-start)
4967 (cua--last-region-shifted): Remove.
4968 (cua--deactivate): Use deactivate-mark.
4969 (cua--pre-command-handler-1): Don't handle shift-selection.
4970 (cua--post-command-handler-1): Don't change transient-mark-mode.
4971 (cua--select-keymaps): Use region-active-p rather than
4972 cua--explicit-region-start or cua--last-region-shifted.
4973 (cua-mode): Enable shift-select-mode.
4974
6407822c
LL
49752013-12-08 Leo Liu <sdl.web@gmail.com>
4976
27262e39
SM
4977 * progmodes/flymake.el (flymake-popup-current-error-menu):
4978 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
4979 (flymake-posn-at-point-as-event, flymake-popup-menu)
4980 (flymake-make-emacs-menu): Remove. (Bug#16077)
4981
00a2b823
SM
49822013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4983
02033d49
SM
4984 * rect.el (rectangle-mark-mode): Activate mark even if
4985 transient-mark-mode is off (bug#16066).
4986 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4987 is > mark and at bolp.
4988
6f8dfccf
SM
4989 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4990 (region-extract-function): Use it.
4991 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4992 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4993 Delete functions.
4994 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4995 kill-ring-save, kill-region, delete-char, delete-forward-char.
4996 Ignore self-insert-iso.
4997
4998 * emulation/cua-gmrk.el (cua--init-global-mark):
4999 Ignore `self-insert-iso'.
5000
5001 * emulation/cua-base.el (cua--prefix-copy-handler)
5002 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5003 checking cua--rectangle.
5004 (cua-delete-region): Use region-extract-function.
5005 (cua-replace-region): Delete function.
5006 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5007 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5008 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5009 (cua--init-keymaps): Don't remap delete-selection commands.
5010 (cua-mode): Use delete-selection-mode instead of rolling our own
5011 (bug#16085).
5012
5013 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5014 Obey region-extract-function.
5015
00a2b823
SM
5016 Make registers and delete-selection-mode work on rectangles.
5017 * register.el (describe-register-1): Don't modify the register's value.
5018 (copy-to-register): Obey region-extract-function.
5019 * delsel.el (delete-active-region): Obey region-extract-function.
5020
a92fa5f1
LL
50212013-12-08 Leo Liu <sdl.web@gmail.com>
5022
5023 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5024 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5025 (flymake-compilation-prevents-syntax-check)
5026 (flymake-start-syntax-check-on-newline)
5027 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5028 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5029 (flymake-xml-program, flymake-master-file-dirs)
5030 (flymake-master-file-count-limit)
5031 (flymake-allowed-file-name-masks): Relocate.
5032 (flymake-makehash, flymake-float-time)
5033 (flymake-replace-regexp-in-string, flymake-split-string)
5034 (flymake-get-temp-dir): Remove.
5035 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5036 (flymake-current-row, flymake-selected-frame)
5037 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5038 related functions. (Bug#16077)
5039
73c8ceea
BB
50402013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5041
5042 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5043
faec28d9
TH
50442013-12-07 Tassilo Horn <tsdh@gnu.org>
5045
5046 * help-fns.el (describe-function-1): Use new advice-* functions
5047 rather than old ad-* functions. Fix function type description and
5048 source links for advised functions and subrs.
5049
e330b646
LMI
50502013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5051
00a2b823 5052 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 5053
4803595d
MA
50542013-12-06 Michael Albinus <michael.albinus@gmx.de>
5055
5056 * progmodes/compile.el (compilation-start):
5057 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5058
5059 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5060 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5061
fa834a93
DG
50622013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5063
00a2b823
SM
5064 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5065 Touch up the last change.
fa834a93 5066
b2856a6f
LL
50672013-12-06 Leo Liu <sdl.web@gmail.com>
5068
5069 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5070 (inferior-octave-startup): Always use "octave> " for prompt.
5071 (octave-goto-function-definition)
5072 (octave-sync-function-file-names)
5073 (octave-find-definition-default-filename): Remove redundant backquotes.
5074
af67e79a
DG
50752013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5076
5077 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5078 syntax for `?'.
5079 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5080 where appropriate already.
5081 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5082 end of method names (Bug#15874).
5083
bf093209
JL
50842013-12-06 Juri Linkov <juri@jurta.org>
5085
5086 * isearch.el (isearch--saved-overriding-local-map):
5087 New internal variable.
5088 (isearch-mode): Set it to the initial value of
5089 `overriding-terminal-local-map'.
5090 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5091 with `isearch--saved-overriding-local-map'. (Bug#16035)
5092
16588fad
DG
50932013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5094
00a2b823
SM
5095 * progmodes/octave.el (inferior-octave-completion-table):
5096 Turn back into function, use `completion-table-with-cache'
16588fad
DG
5097 (Bug#11906). Update all references.
5098
5099 * minibuffer.el (completion-table-with-cache): New function.
5100
bf4906d7
CD
51012013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5102
5103 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5104
ff69c18f
TZ
51052013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5106
5107 * net/eww.el (eww-current-source): New variable to store page
5108 source.
5109 (eww-display-html, eww-mode, eww-save-history)
5110 (eww-restore-history): Use it.
5111 (eww-view-source): New command to view page source.
5112 Opportunistically uses `html-mode' to highlight the buffer.
5113 (eww-mode-map): Install it.
5114
b85eff45
MA
51152013-12-05 Michael Albinus <michael.albinus@gmx.de>
5116
5117 * net/dbus.el (dbus-unregister-service)
5118 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5119 Fix docstring.
5120 (dbus-unregister-service): Skip :serial entries in
5121 `dbus-registered-objects-table'.
5122 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5123
39eb0899
TZ
51242013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5125
5126 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5127 around keywords with extra `split-string' argument.
5128
456760a5
MR
51292013-12-04 Martin Rudalics <rudalics@gmx.at>
5130
5131 * windmove.el (windmove-other-window-loc): Handle navigation
5132 between windows (excluding the minibuffer window - Bug#16017).
5133
81961e4c
MA
51342013-12-04 Michael Albinus <michael.albinus@gmx.de>
5135
5136 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5137 in D-Bus type syntax.
5138 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5139 preserve unibyte strings. (Bug#16048)
5140
8497f938
SM
51412013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5144 Call force-mode-line-update is the proper buffer (bug#16042).
5145
dda61916
DG
51462013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5147
5148 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5149 `log-edit-remember-comment', make argument optional. Adjust all
5150 callers.
5151 (log-edit-mode): Add `log-edit-remember-comment' to
5152 `kill-buffer-hook' locally.
5153 (log-edit-kill-buffer): Don't remember comment explicitly since
5154 the buffer is killed anyway.
5155
c085e5b9
JL
51562013-12-04 Juri Linkov <juri@jurta.org>
5157
5158 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5159 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5160
e0eb0550 51612013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
5162
5163 * notifications.el (notifications-close-notification): Call the
81961e4c 5164 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 5165
39fa32d6
KY
51662013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5167
5168 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5169
9139632a
JL
51702013-12-03 Juri Linkov <juri@jurta.org>
5171
5172 * progmodes/compile.el (compilation-start): Rename window alist
5173 entry `no-display-ok' to `allow-no-window'.
5174
5175 * simple.el (shell-command): Add window alist entry
5176 `allow-no-window' to `display-buffer'.
5177 (async-shell-command): Doc fix.
5178
5179 * window.el (display-buffer-no-window): New action function.
5180 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5181
0f457a37
DG
51822013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5183
5184 * vc/log-edit.el (log-edit-set-header): Extract from
5185 `log-edit-toggle-header'.
5186 (log-edit-extract-headers): Separate the summary, when extracted
5187 from header, from the rest of the message with an empty line.
5188
5189 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5190 line, if present, to the Summary header.
5191
0962f376
SM
51922013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5195 in current-buffer (bug#16029).
5196
f345395c
HE
51972013-12-02 Helmut Eller <eller.helmut@gmail.com>
5198
5199 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5200 (debugger-mode-map): Bind it.
5201 (debugger--backtrace-base): New function.
5202 (debugger-eval-expression): Use it.
5203 (debugger-frame-number): Skip local vars when present.
5204 (debugger--locals-visible-p, debugger--insert-locals)
5205 (debugger--show-locals, debugger--hide-locals): New functions.
5206
a8a15d9d
MA
52072013-12-02 Michael Albinus <michael.albinus@gmx.de>
5208
5209 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5210 "LC_ALL".
5211 (tramp-get-remote-locale): New defun.
5212 (tramp-open-connection-setup-interactive-shell): Use it.
5213
0518b057
LL
52142013-12-02 Leo Liu <sdl.web@gmail.com>
5215
5216 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5217
5218 * progmodes/sh-script.el (sh-shell-process):
5219 * progmodes/octave.el (inferior-octave-process-live-p):
5220 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5221 (gdb-inferior-io-sentinel):
5222 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5223
3adc9c6d
DG
52242013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5225
5226 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5227 `save-selected-window' to `log-edit-hide-buf'. This makes
5228 `log-edit-show-files' idempotent.
5229 (log-edit-show-files): Mark the new window as dedicated.
5230
47e8b74e
DG
52312013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5232
5233 * vc/log-edit.el (log-edit-mode-map): Add binding for
5234 `log-edit-kill-biffer'.
5235 (log-edit-hide-buf): Add a FIXME comment.
5236 (log-edit-add-new-comment): New function, extracted from
5237 `log-edit-done'.
5238 (log-edit-done, log-edit-add-to-changelog): Use it.
5239 (log-edit-kill-buffer): New command.
5240
1f6e1bb0
LMI
52412013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5242
5243 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5244 instead of killing the buffer.
5245
fb651d15
SM
52462013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5247
5248 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5249
8feacce0
RS
52502013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5251
fb651d15 5252 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 5253 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
5254 (eww-form-checkbox, eww-toggle-checkbox):
5255 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5256
e0eb0550 5257 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 5258 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 5259 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
5260 no :src tag was specified.
5261
fb651d15 5262 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
5263 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5264 Use \\` to match beginning of string instead of ^.
5265 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 5266 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 5267
177948a5
RS
5268 * net/shr.el (shr-tag-video): Display content for video if no
5269 poster is available.
eb2dd24d 5270 (shr-tag-audio): Add support for <audio> tag.
177948a5 5271
e0eb0550 5272 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
5273 (eww-process-text-input): Treat input types in
5274 `eww-text-input-types' as text.
5275
8feacce0
RS
5276 * net/shr.el (shr-tag-table): Fix comment typo.
5277
513562a1
LMI
52782013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5279
5280 * net/eww.el (eww-follow-link): New command to avoid reloading
5281 pages when we follow #target links (bug#15243).
de8a5633 5282 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 5283
9dd99753
KN
52842013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5285
5286 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5287 forms.
5288
3e9876de
LMI
52892013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5290
5291 * net/eww.el (eww-restore-history): Update the window title after
5292 moving in the history.
ab6dea82 5293 (eww-current-dom): New variable used to save the current DOM.
3e9876de 5294
52789f7f
DG
52952013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5296
5297 * vc/log-edit.el (log-edit-mode-map): Add binding for
5298 `log-edit-beginning-of-line'.
5299 (log-edit-setup-add-author): New user option.
5300 (log-edit-beginning-of-line): New command.
5301 (log-edit): Move major mode call above the contents setup so that
5302 the local variable values are already applied.
5303 (log-edit): Only insert "Author: " when
5304 `log-edit-setup-add-author' is non-nil.
5305 (log-edit): When SETUP is non-nil, position point after ": "
5306 instead of point-min.
5307
2e6710c3
GM
53082013-12-01 Glenn Morris <rgm@gnu.org>
5309
5310 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5311
fadec31f
EZ
53122013-11-30 Eli Zaretskii <eliz@gnu.org>
5313
5314 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 5315 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
5316 visible. (Bug#16014)
5317
10634b40 53182013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
5319
5320 Support resizing frames and windows pixelwise.
5321 * cus-start.el (frame-resize-pixelwise)
5322 (window-resize-pixelwise): New entries.
5323 * emacs-lisp/debug.el (debug): Use window-total-height instead
5324 of window-total-size.
5325 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
5326 * help.el (describe-bindings-internal): Use help-buffer as
5327 argument for with-help-window.
880e6158
MR
5328 (temp-buffer-max-width): New option.
5329 (resize-temp-buffer-window, help-window-setup)
5330 (with-help-window): Rewrite.
5331 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5332 dragging dividers.
5333 * window.el (frame-char-size, window-min-pixel-height)
5334 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5335 (window-min-pixel-width, window-safe-min-pixel-size)
5336 (window-combination-p, window-safe-min-size)
5337 (window-resizable-p, window--size-to-pixel)
5338 (window--pixel-to-size, window--resize-apply-p): New functions.
5339 (window-safe-min-height): Fix doc-string.
5340 (window-size, window-min-size, window--min-size-1)
5341 (window-sizable, window-sizable-p, window--min-delta-1)
5342 (window-min-delta, window--max-delta-1, window-max-delta)
5343 (window--resizable, window--resizable-p, window-resizable)
5344 (window-full-height-p, window-full-width-p, window-at-side-p)
5345 (window--in-direction-2, window-in-direction)
5346 (window--resize-reset-1, window--resize-mini-window)
5347 (window-resize, window-resize-no-error)
5348 (window--resize-child-windows-normal)
5349 (window--resize-child-windows, window--resize-siblings)
5350 (window--resize-this-window, window--resize-root-window)
5351 (window--resize-root-window-vertically)
5352 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5353 (maximize-window, minimize-window, delete-window)
5354 (quit-restore-window, window-split-min-size, split-window)
5355 (balance-windows-2, balance-windows)
5356 (balance-windows-area-adjust, balance-windows-area)
5357 (window--state-get-1, window-state-get, window--state-put-1)
5358 (window--state-put-2, window-state-put)
fb651d15
SM
5359 (display-buffer-record-window, window--display-buffer):
5360 Make functions handle pixelwise sizing of windows.
880e6158 5361 (display-buffer--action-function-custom-type)
fb651d15
SM
5362 (display-buffer-fallback-action):
5363 Add display-buffer-in-previous-window.
880e6158
MR
5364 (display-buffer-use-some-window): Resize window to height it had
5365 before.
5366 (fit-window-to-buffer-horizontally): New option.
5367 (fit-frame-to-buffer): Describe new values.
5368 (fit-frame-to-buffer-bottom-margin): Replace with
5369 fit-frame-to-buffer-margins.
5370 (window--sanitize-margin): New function.
5371 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5372 using window-text-pixel-size.
5373
f9b697dd
GM
53742013-11-30 Glenn Morris <rgm@gnu.org>
5375
3e2fb4db
GM
5376 * emacs-lisp/bytecomp.el (byte-compile-form):
5377 Make the `interactive-only' warning like the `obsolete' one.
5378 * comint.el (comint-run):
5379 * files.el (insert-file-literally, insert-file):
5380 * replace.el (replace-string, replace-regexp):
5381 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5382 (goto-line, insert-buffer, next-line, previous-line):
5383 Tweak `interactive-only' spec.
5384
f9b697dd
GM
5385 Stop keeping (most) generated cedet grammar files in the repository.
5386 * Makefile.in (semantic): New.
5387 (compile-main): Depend on semantic.
5388
da048127
SM
53892013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5390
7784b779
SM
5391 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5392 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5393
4e36a6a6
SM
5394 * uniquify.el (uniquify-buffer-name-style): Change default.
5395
5396 * loadup.el: Preload "uniquify".
5397
e0ba1308
SM
5398 * time.el (display-time-update): Update all mode lines (bug#15999).
5399
da048127
SM
5400 * electric.el (electric-indent-mode): Enable by default.
5401 * loadup.el: Preload "electric".
5402
015b3b3e
BB
54032013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5404
5405 * emacs-lisp/helpers.el (string-empty-p): New function.
5406 (string-blank-p): New function.
5407
7efb806d
AP
54082013-11-29 Andreas Politz <politza@hochschule-trier.de>
5409
5410 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5411 (Bug#14029).
5412
c8f0efc2
AP
54132013-11-29 Andreas Politz <politza@fh-trier.de>
5414 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5415 allow non-lambda lists as functions.
5416 (imenu--in-alist): Don't recurse into non-subalists.
5417 (imenu): Don't pass function itself as an argument (Bug#14029).
5418
bd15d9d1
SM
54192013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 * progmodes/python.el (python-mode-map): Remove binding for ":".
5422 (python-indent-electric-colon): Remove command.
5423 (python-indent-post-self-insert-function): Integrate the previous code
5424 of python-indent-electric-colon. Make it conditional on
5425 electric-indent-mode.
5426 (python-mode): Add ?: to electric-indent-chars.
5427 Move python-indent-post-self-insert-function to the end of
5428 post-self-insert-hook.
5429
1b10adb6
SM
54302013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5431
655ab9a3
SM
5432 * doc-view.el (doc-view-goto-page): Update mode-line.
5433
1b10adb6
SM
5434 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5435
7e3bf78c
GM
54362013-11-27 Glenn Morris <rgm@gnu.org>
5437
5438 * international/charprop.el, international/uni-bidi.el:
5439 * international/uni-category.el, international/uni-combining.el:
5440 * international/uni-comment.el, international/uni-decimal.el:
5441 * international/uni-decomposition.el, international/uni-digit.el:
5442 * international/uni-lowercase.el, international/uni-mirrored.el:
5443 * international/uni-name.el, international/uni-numeric.el:
5444 * international/uni-old-name.el, international/uni-titlecase.el:
5445 * international/uni-uppercase.el:
5446 Remove generated files from VCS repository.
5447
fb6a5d68
EZ
54482013-11-27 Eli Zaretskii <eliz@gnu.org>
5449
5450 * filenotify.el (file-notify-add-watch): Don't special-case
5451 w32notify when computing the directory to watch.
5452
cb6c95a3
GM
54532013-11-27 Glenn Morris <rgm@gnu.org>
5454
20372d0c
GM
5455 Make bootstrap without generated uni-*.el files possible again.
5456 * loadup.el: Update command-line-args checking for unidata-gen.
5457 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5458 * composite.el, international/characters.el:
5459 Handle unicode tables being undefined.
5460
52d6635f 5461 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
5462 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5463 (compile-main): Depend on leim rule.
5464 (leim): New rule.
5465 * loadup.el: Move leim-list.el to leim/ subdirectory.
5466 * startup.el (normal-top-level): No more leim directory.
5467 * international/ja-dic-cnv.el (skkdic-convert):
5468 Disable version-control and autoloads in output files.
5469 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5470 Disable version-control and autoloads in output files.
5471 * leim/quail: Move here from ../leim.
5472 * leim/quail/hangul.el (hangul-input-method-activate):
5473 Add autoload cookie.
5474 (generated-autoload-load-name): Set file-local value.
5475 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5476 (generated-autoload-load-name): Set file-local value.
5477
7514d3f8 54782013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 5479
e0eb0550 5480 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 5481 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 5482 (eww-quit): Ask confirmation before quitting eww.
e47112ee 5483
0e2c793f
EZ
54842013-11-26 Eli Zaretskii <eliz@gnu.org>
5485
5486 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5487 reading output from Diff on MS-Windows and MS-DOS.
5488
447bdcb8
BB
54892013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5490
5491 * emacs-lisp/helpers.el (string-reverse): New function.
5492
5fbf6856
MA
54932013-11-26 Michael Albinus <michael.albinus@gmx.de>
5494
5495 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5496 names on MS Windows, like "/[::1]:".
5497
5498 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5499 SWITCHES.
5500
624780f0
GM
55012013-11-26 Glenn Morris <rgm@gnu.org>
5502
0bf3f0fa
GM
5503 * progmodes/python.el (python-indent-guess-indent-offset):
5504 Avoid corner-case error. (Bug#15975)
5505
624780f0
GM
5506 Preload leim-list.el. (Bug#4789)
5507 * loadup.el: Load leim-list.el when found.
5508 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5509
4301875e 55102013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
5511
5512 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5513
4301875e
BB
5514 * emacs-lisp/helpers.el (string-join): New function.
5515
1633a815 55162013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
5517
5518 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5519 Mark as obsolete and replace it with a symbol property.
5520 (byte-compile-form): Use new 'interactive-only property.
5521 * comint.el, files.el, replace.el, simple.el:
5522 Apply new 'interactive-only properly.
5523
00139435
MR
55242013-11-25 Martin Rudalics <rudalics@gmx.at>
5525
5526 * window.el (display-buffer-at-bottom): Make sure that
5527 split-window-sensibly creates the new window on bottom
5528 (Bug#15961).
5529
5f5b128d
DK
55302013-11-23 David Kastrup <dak@gnu.org>
5531
5532 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5533 on the conflict markers when available.
5534 (smerge--get-marker): New function.
5535 (smerge-end-re, smerge-base-re): Add subgroup.
5536
623891e5
SM
55372013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5538
5539 * frame.el (handle-focus-in, handle-focus-out): Add missing
5540 interactive spec.
5541
05ca27d8
MA
55422013-11-25 Michael Albinus <michael.albinus@gmx.de>
5543
5544 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5545 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5546
511fa0d3
SM
55472013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5548
e82ad66c
SM
5549 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5550 (gomoku--last-pos): New var.
5551 (gomoku--intangible-chars): New const.
5552 (gomoku--intangible): New function.
5553 (gomoku-mode): Use it. Derive from special-mode.
5554 (gomoku-move-up): Adjust line count.
5555 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5556 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5557 Simplify accordingly.
5558
511fa0d3
SM
5559 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5560 Remove blink-cursor code.
5561 (blink-cursor-timer-function, blink-cursor-suspend):
5562 Don't special-case GUIs.
5563 (blink-cursor-mode): Use focus-in/out-hook.
5564
6f20dd03
DG
55652013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5566
5567 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5568 work when annotation is invisible (Bug#13886).
5569
431dec31 55702013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
5571
5572 * json.el (json-alist-p): Only return non-nil if the alist has
5573 simple keys (Bug#13518).
5574
431dec31 55752013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
5576
5577 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5578 when control-statement is the first statement in a buffer (Bug#15956).
5579
ee4f0261
DG
55802013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5581
5582 * imenu.el (imenu-generic-skip-comments-and-strings):
5583 New option (Bug#15560).
5584 (imenu--generic-function): Use it.
5585
c484f866
JS
55862013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5587
e9dc713d
JB
5588 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5589 (Bug#13898)
c484f866 5590
41ce6f70
BB
55912013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5592
b55aea38
BB
5593 * emacs-lisp/helpers.el: Add some string helpers.
5594 (string-trim-left): Removes leading whitespace.
5595 (string-trim-right): Removes trailing whitespace.
5596 (string-trim): Removes leading and trailing whitespace.
5597
41ce6f70
BB
5598 * subr.el (string-suffix-p): New function.
5599
3cfb6af3
GM
56002013-11-23 Glenn Morris <rgm@gnu.org>
5601
5602 * progmodes/python.el (python-shell-send-file):
5603 Add option to delete file when done. (Bug#15647)
5604 (python-shell-send-string, python-shell-send-region): Use it.
5605
c27924b7
IS
56062013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5607
e1b01c7f
IS
5608 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5609 to set buffer-read-only to t, never to nil. (Bug#15938)
5610
c27924b7
IS
5611 * textmodes/tex-mode.el (latex-noindent-environments):
5612 Add safe-local-variable property. (Bug#15936)
5613
17e0445b
GM
56142013-11-23 Glenn Morris <rgm@gnu.org>
5615
92f78ea3
GM
5616 * textmodes/enriched.el (enriched-mode): Doc fix.
5617 * emacs-lisp/authors.el (authors-renamed-files-alist):
5618 Add enriched.doc -> enriched.txt.
5619
17e0445b
GM
5620 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5621
965bb23a
LL
56222013-11-22 Leo Liu <sdl.web@gmail.com>
5623
5624 * progmodes/octave.el (inferior-octave-startup): Spit out error
5625 message.
5626
d19ffd64
BB
56272013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5628
5629 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5630 Improve docstring.
15ba2182
BB
5631 Add :version.
5632 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 5633
7a7567d2
LL
56342013-11-22 Leo Liu <sdl.web@gmail.com>
5635
5636 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5637 (Bug#15076)
8c09f64b
LL
5638 (octave-help-mode): Adapt to change to help-mode-finish to use
5639 derived-mode-p on 2013-09-17.
5640 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 5641 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 5642
724bc265
LL
56432013-11-22 Leo Liu <sdl.web@gmail.com>
5644
5645 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5646 (inferior-octave-startup, inferior-octave-check-process)
5647 (inferior-octave-track-window-width-change)
5648 (octave-completion-at-point, octave-eldoc-function): Use it.
5649 (octave-kill-process): Provide confirmation. (Bug#10564)
5650
38637cca
LL
56512013-11-21 Leo Liu <sdl.web@gmail.com>
5652
511fa0d3
SM
5653 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5654 Fix obsolete variable comment-use-global-state.
38637cca 5655
06e752b4
RS
56562013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5657
511fa0d3
SM
5658 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5659 Add `octave-source-file'.
06e752b4
RS
5660 (octave-source-file): New function. (Bug#15935)
5661
7514d3f8 56622013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
5663
5664 * net/eww.el (eww-local-regex): New variable.
5665 (eww): Use it to detect localhost and similar.
5666
b6ffa04a
LL
56672013-11-21 Leo Liu <sdl.web@gmail.com>
5668
5669 Add completion for command `ag'.
2021a200
LL
5670 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5671 (pcomplete/ag): New function.
e9dc713d 5672 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 5673
d1a6bccc
SM
56742013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5677 (bug#14646).
5678 (make-obsolete): Remove interactive spec.
5679
2df10228
GM
56802013-11-21 Glenn Morris <rgm@gnu.org>
5681
5682 * startup.el (command-line-1): Use path-separator with -L.
5683
86fd16b6
TZ
56842013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5685
5686 * emacs-lisp/package.el (describe-package-1): Add package archive
5687 to shown fields.
5688
0449d6cd 56892013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
5690
5691 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5692 Change default to "# encoding: %s" to differentiate it from the
5693 default Ruby encoding comment template.
5694
dc7e8c17 56952013-11-20 era eriksson <era+emacsbugs@iki.fi>
5696
5697 * ses.el (ses-mode): Doc fix. (Bug#14748)
5698
f0cfa5fe
LL
56992013-11-20 Leo Liu <sdl.web@gmail.com>
5700
5701 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5702
826dc7b6
DN
57032013-11-19 Dan Nicolaescu <dann@gnu.org>
5704
5705 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5706 when rebase or bisect are in progress.
5707
a6e3a5d5
XF
57082013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5709
5710 * filenotify.el (file-notify-add-watch): Doc fix.
5711
f130cb76
LL
57122013-11-19 Leo Liu <sdl.web@gmail.com>
5713
e0855d7d
LL
5714 * obsolete/rcompile.el: Mark obsolete.
5715
f130cb76 5716 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
5717 (compilation-goto-locus, compilation-find-file):
5718 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
5719 (Bug#13594)
5720
5721 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
5722 new parameter no-display-ok. Return either a window or nil
5723 but never a non-window value.
f130cb76 5724
1f35d401
SM
57252013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5726
25158c76
SM
5727 * electric.el (electric-indent-mode-map): Remove.
5728 (electric-indent-mode): Change the global-map instead (bug#15915).
5729
5730 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5731 Use add-function.
1f35d401 5732
9bc67baa
SM
57332013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5734
986545b5
SM
5735 * emacs-lisp/nadvice.el (remove-function): Align with
5736 add-function's behavior.
5737
9bc67baa
SM
5738 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5739 (gdb--string-regexp): New constant.
5740 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5741 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5742 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5743 submatch 1.
5744 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5745 Adjust use accordingly.
5746 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5747
56cd894e
AS
57482013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5749
5750 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5751 interpolation curlies (Bug#15914).
5752
014690de
JB
57532013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5754
5755 * calc/calc.el (calc-context-sensitive-enter): New variable.
5756 (calc-enter): Use `calc-context-sensitive-enter'.
5757
7e26a6c3
TZ
57582013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5759
5760 * progmodes/cfengine.el: Version bump.
5761 (cfengine-cf-promises): New defcustom to locate cf-promises.
5762 (cfengine3-vartypes): Add new "data" type.
5763 (cfengine3--current-word): New function to get current name-like
5764 word or its bounds.
5765 (cfengine3--current-function): New function to look up a CFEngine
5766 function's definition.
5767 (cfengine3-format-function-docstring): New function.
5768 (cfengine3-make-syntax-cache): New function.
5769 (cfengine3-documentation-function): New function: ElDoc glue.
5770 (cfengine3-completion-function): New function: completion glue.
5771 (cfengine3-mode): Set `compile-command',
5772 `eldoc-documentation-function', and add to
5773 `completion-at-point-functions'.
5774
355204dd
MA
57752013-11-16 Michael Albinus <michael.albinus@gmx.de>
5776
5777 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5778 `tramp-current-connection'.
5779
43cebc23
DG
57802013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5781
5782 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5783 nil/self/true/false with "end of symbol".
5784
a3fed6ff
BB
57852013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5786
5787 * subr.el (version-regexp-alist): Fix a typo.
5788
e675b3e4
MA
57892013-11-15 Michael Albinus <michael.albinus@gmx.de>
5790
5791 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5792 "en_US.utf8" and "LC_CTYPE" to "".
5793 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5794 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5795
a1f03e89
LL
57962013-11-15 Leo Liu <sdl.web@gmail.com>
5797
5798 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5799
5d9d9451
SM
58002013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5801
58362662
CS
5802 * progmodes/gud.el (ctl-x-map):
5803 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
5804 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5805
6c1bf086
BB
58062013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5807
0d5363c4
BB
5808 * subr.el (version-regexp-alist):
5809 Recognize hg, svn and darcs versions as snapshot versions.
5810
4e9fc48c
BB
5811 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5812 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5813 (ruby--encoding-comment-required-p): Extract from
5814 `ruby-mode-set-encoding'.
5815 (ruby-mode-set-encoding): Add the ability to always insert an
5816 utf-8 encoding comment. Fix and simplify coding comment update
5817 logic.
6c1bf086 5818
2f7e72f8
MA
58192013-11-14 Michael Albinus <michael.albinus@gmx.de>
5820
5821 * net/tramp-gvfs.el (top): Run init code only when
5822 `tramp-gvfs-enabled' is not nil.
5823 (tramp-gvfs-enabled): Check also :system bus.
5824
0f137a73
SM
58252013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 Sync with upstream verilog-mode revision 78e66ba.
5828 * progmodes/verilog-mode.el (verilog-end-of-defun)
5829 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5830 (verilog-get-end-of-defun): Remove unused argument.
5831 (verilog-comment-depth): Remove unused local `e'.
5832 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5833 Don't pass arg to verilog-get-end-of-defun.
5834
1c276bdd
GM
58352013-11-14 Glenn Morris <rgm@gnu.org>
5836
5837 * obsolete/assoc.el (aget): Prefix dynamic variable.
5838
5839 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5840
ff6ec81d
SM
58412013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * widget.el, hfy-cmap.el: Remove bogus package version number.
5844
75f777b6
GM
58452013-11-13 Glenn Morris <rgm@gnu.org>
5846
1d43dba1
GM
5847 * replace.el (replace-eval-replacement):
5848 Try to give more helpful error message. (Bug#15836)
5849
ff4b7bd5
GM
5850 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5851 (archive-7z-update): Avoid custom type mismatches.
5852
75f777b6
GM
5853 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5854
11151a06
MA
58552013-11-13 Michael Albinus <michael.albinus@gmx.de>
5856
e675b3e4 5857 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
5858 address can be empty.
5859
5860 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5861 Accept nil SWITCHES.
5862 (tramp-gvfs-handle-write-region): Implement APPEND.
5863
7b08f97e
DG
58642013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5865
5866 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
5867 binary "|" operator and closing block args delimiter.
5868 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
5869 (ruby-smie--implicit-semi-p): Not after "|" operator.
5870 (ruby-smie--closing-pipe-p): New function.
5871 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5872 (ruby-smie-rules): Indent after "|".
5873
f201cf3a
GM
58742013-11-12 Glenn Morris <rgm@gnu.org>
5875
5876 * ps-print.el (ps-face-attribute-list):
5877 Handle anonymous faces. (Bug#15827)
5878
e6f759f9
MR
58792013-11-12 Martin Rudalics <rudalics@gmx.at>
5880
5881 * window.el (display-buffer-other-frame): Fix doc-string.
5882 (Bug#15868)
5883
ecda65d4
SM
58842013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5885
5886 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5887
7ce8fcc3
MA
58882013-11-11 Michael Albinus <michael.albinus@gmx.de>
5889
5890 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5891 (tramp-sh-handle-file-local-copy): Don't write a message when
5892 saving temporary files.
5893
5894 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5895 both directories are remote.
5896 (tramp-smb-handle-directory-files): Do not return double entries.
5897 Do not expand full file names.
5898 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5899 (tramp-smb-handle-write-region): Implement APPEND.
5900 (tramp-smb-get-stat-capability): Fix a stupid bug.
5901
7818df11
SM
59022013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5905
608c2085
NT
59062013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5907
5908 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5909 throwing error over malformed let/let* (bug#15814).
5910
122a7e46
SM
59112013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5912
5913 * iswitchb.el (iswitchb-mode): Mark obsolete.
5914
766284d9
GM
59152013-11-11 Glenn Morris <rgm@gnu.org>
5916
5917 * international/uni-bidi.el, international/uni-category.el:
5918 * international/uni-name.el, international/uni-numeric.el:
5919 Regenerate for Unicode 6.3.0.
5920
7072a4e9
MA
59212013-11-10 Michael Albinus <michael.albinus@gmx.de>
5922
5923 * net/tramp.el (tramp-methods):
5924 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5925 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5926
c9df215b
AS
59272013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5928
608c2085
NT
5929 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5930 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 5931
fa47d796
DG
59322013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5933
5934 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 5935 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
5936 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5937 (ispell-complete-word): Call `ispell-lookup-words' with the value
5938 independent of `ispell-look-p'.
5939
1629a329
DG
59402013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5941
5942 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5943 Not after "||".
5944 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5945 their parent.
5946
ad16897c
SM
59472013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5950 (ruby-font-lock-keywords): Use backquote.
5951
ffa2df72
DG
59522013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5953
5954 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5955 (ruby-smie--backward-token): Only consider full-string matches.
5956
5b97b4c0
JD
59572013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5958
5959 * faces.el (describe-face): Add distant-foreground.
5960
71731c03
BB
59612013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5962
4e9fc48c
BB
5963 * progmodes/ruby-mode.el: Improve encoding comment handling.
5964 (ruby-encoding-magic-comment-style): New option.
5965 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
5966 (ruby--insert-coding-comment, ruby--detect-encoding):
5967 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
5968 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5969 to control the style of the auto-inserted encoding comment.
71731c03 5970
da3b328d
DG
59712013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5972
ad16897c
SM
5973 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5974 Use `smie-backward-sexp' with token argument.
da3b328d 5975
1606c2d3
MA
59762013-11-08 Michael Albinus <michael.albinus@gmx.de>
5977
5978 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5979 Remove instrumentation code.
5980
b0f4c320
GM
59812013-11-08 Glenn Morris <rgm@gnu.org>
5982
5983 * progmodes/autoconf.el (autoconf-mode):
5984 Tweak comment-start-skip. (Bug#15822)
5985
43668fb1
SM
59862013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5989 at bobp (bug#15826).
5990 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5991
daddb3fd
DH
59922013-11-08 Darren Hoo <darren.hoo@gmail.com>
5993
5994 * man.el (Man-start-calling): New macro, extracted from
5995 Man-getpage-in-background.
5996 (Man-getpage-in-background): Use it.
5997 (Man-update-manpage): New command.
5998 (Man-mode-map): Bind it.
5999
1f923923
DG
60002013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6001
6002 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6003 of "and", "or", "&&" and "||".
6004 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6005 argument. Prohibit opening curly brace because it could only be a
6006 block opener in that position.
daddb3fd
DH
6007 (ruby-smie--forward-token, ruby-smie--backward-token):
6008 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
6009 arguments.
6010 (ruby-smie--indent-to-stmt): New function, seeks the end of
6011 previous statement or beginning of buffer.
6012 (ruby-smie-rules): Use it.
6013 (ruby-smie-rules): Check if there's a ":" before a curly block
6014 opener candidate; if there is, it's a hash.
6015
3220d527
SM
60162013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6019 (cl--block-wrapper): Fix last accidental change.
6020
1eb1f9e0
MA
60212013-11-07 Michael Albinus <michael.albinus@gmx.de>
6022
6023 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6024 Instrument, in order to hunt failure on hydra.
6025
e6e4db3c
NT
60262013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6027
6028 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6029 malformed bindings form (bug#15814).
6030
b420ccfc
DG
60312013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6032
6033 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
6034 "." compared to " @ ". This incidentally fixes some indentation
6035 examples with "do".
e6e4db3c 6036 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
6037 (ruby-smie-grammar): New tokens: "and" and "or".
6038 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6039 Exclude "and" and "or". Remove "do" in order to work around token
6040 priorities.
6041 (ruby-smie-rules): Add all infix tokens. Handle the case of
6042 beginning-of-buffer.
b420ccfc 6043
6b4ac03e
GM
60442013-11-06 Glenn Morris <rgm@gnu.org>
6045
6046 * Makefile.in (setwins_almost, setwins_for_subdirs):
6047 Avoid accidental matches.
6048
5ca114d1
SM
60492013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6050
6051 * menu-bar.el (popup-menu): Use key-binding.
6052
f72552bd
EZ
60532013-11-06 Eli Zaretskii <eliz@gnu.org>
6054
6055 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6056 menus, support also the menus produced by minor modes.
6057 (Bug#15817)
6058
5d5c701e
LL
60592013-11-06 Leo Liu <sdl.web@gmail.com>
6060
6061 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 6062 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 6063
0a8b75e2
GM
60642013-11-06 Glenn Morris <rgm@gnu.org>
6065
6066 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
6067 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6068 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 6069
a35287ea
SM
60702013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6071
feca4e2d
SM
6072 * electric.el (electric-indent-just-newline): New command.
6073 (electric-indent-mode-map): New keymap.
6074 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6075 Re-add :group which weren't redundant.
6076
a35287ea
SM
6077 * electric.el (electric-indent-local-mode): New minor mode.
6078 (electric-indent-functions-without-reindent): New var.
6079 (electric-indent-post-self-insert-function): Use it.
6080 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6081
375761b2
EZ
60822013-11-05 Eli Zaretskii <eliz@gnu.org>
6083
9a6ad735
EZ
6084 * international/quail.el (quail-help): Be more explicit about the
6085 meaning of the labels shown on the keys. (Bug#15800)
6086
375761b2
EZ
6087 * startup.el (normal-top-level): Load the subdirs.el files before
6088 setting the locale environment. (Bug#15805)
6089
520a6e4a
SM
60902013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6091
0acfafef
SM
6092 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6093 via arguments so as to get the right ones (bug#15418).
6094
520a6e4a
SM
6095 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6096
15826261
MA
60972013-11-05 Michael Albinus <michael.albinus@gmx.de>
6098
6099 Fix problems found while writing a test suite.
6100
6101 * net/tramp-compat.el (tramp-compat-load): New defun.
6102 * net/tramp.el (tramp-handle-load): Use it.
6103
6104 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6105 "(numberp ok-if-already-exists)" correctly.
6106
d35f31a4
XF
61072013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6108
6109 * international/characters.el (glyphless-char-display-control):
6110 Add usage note.
6111
ae93bc74
BB
61122013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6113
520a6e4a
SM
6114 * progmodes/python.el (python-mode):
6115 * progmodes/scheme.el (scheme-mode):
6116 * progmodes/prolog.el (prolog-mode):
6117 * progmodes/ruby-mode.el (ruby-mode):
6118 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6119 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 6120
0ade65b5
SM
61212013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6122
a0d5f7a4
SM
6123 * rect.el (rectangle--highlight-for-redisplay):
6124 * emacs-lisp/smie.el (smie--next-indent-change):
6125 Use buffer-chars-modified-tick.
6126
c93f3f5c
SM
6127 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6128
0ade65b5
SM
6129 * electric.el (electric-indent-post-self-insert-function):
6130 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6131
ef9dd188
HE
61322013-11-04 Helmut Eller <eller.helmut@gmail.com>
6133
6134 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6135
306e7308
NT
61362013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6137
6138 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6139 (bug#15786).
6140
e5afbcac
SM
61412013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6142
1d01ad41
SM
6143 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6144
e5afbcac
SM
6145 * progmodes/python.el: Fix up last change.
6146 (python-shell--save-temp-file): New function.
6147 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6148 `string' comes from the current buffer.
6149 (python-shell-send-string-no-output): Remove `msg' arg.
6150 (python--use-fake-loc): New var.
6151 (python-shell-buffer-substring): Obey it. Try to compensate for the
6152 extra coding line added by python-shell--save-temp-file.
6153 (python-shell-send-region): Use python-shell--save-temp-file and
6154 python-shell-send-file directly. Add `nomain' argument.
6155 (python-shell-send-buffer): Use python-shell-send-region.
6156 (python-electric-pair-string-delimiter): New function.
6157 (python-mode): Use it.
6158
d0065ff1
EZ
61592013-11-04 Eli Zaretskii <eliz@gnu.org>
6160
6161 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6162 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6163 environment and decoding all of the default-directory's to here
6164 from command-line.
6165 (command-line): Decode also argv[0].
6166
6167 * loadup.el: Error out if default-directory is a multibyte string
6168 when we are dumping.
6169
6170 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6171
7397c587
TZ
61722013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6173
6174 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
6175 (package-menu--print-info, package-menu--archive-predicate):
6176 Add Archive column to package list.
7397c587 6177
b27cc9fc
MA
61782013-11-04 Michael Albinus <michael.albinus@gmx.de>
6179
6180 Fix problems found while writing a test suite.
6181
6182 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6183 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6184 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6185 to nil when running original file name handler. Otherwise,
6186 there are problems with constructs like "$$FOO".
6187
6188 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6189 for `localname'.
6190
d8c4f18a
BB
61912013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6192
7b530552
BB
6193 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6194
6195 * subr.el (version<, version<=, version=):
6196 Update docstrings with information for snapshot versions.
6197
d8c4f18a
BB
6198 * helpers.el: New library for misc helper functions.
6199 (hash-table-keys): New function returning a list of hash keys.
6200 (hash-table-values): New function returning a list of hash values.
6201
dca01b09
DG
62022013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6203
6204 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6205 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6206
0a749fa0
MN
62072013-11-04 Michal Nazarewicz <mina86@mina86.com>
6208
6209 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6210 checking whether point is after a 1-letter word.
6211
62122013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
6213
6214 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6215 Don't infloop when expanding region over `multiline' syntax-type that
6216 begins a line (bug#15778).
6217
4aca7145
SM
62182013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6221 Make it into a proper minor mode.
9b017563 6222 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
6223 (rectangle-mark-mode-map): New keymap.
6224 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6225
a0833f62
GM
62262013-11-04 Glenn Morris <rgm@gnu.org>
6227
6228 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6229
e61845c1
SM
62302013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6233 (ruby-smie-rules): Use smie-rule-parent instead.
6234
6235 * emacs-lisp/smie.el (smie-rule-parent): Always call
6236 smie-indent-virtual rather than only for hanging tokens.
6237 (smie--next-indent-change): New helper command.
6238
62942f89
GM
62392013-11-03 Glenn Morris <rgm@gnu.org>
6240
6241 * Makefile.in (abs_srcdir): Remove.
6242 (emacs): Unset EMACSLOADPATH.
6243
b0b9e592
GM
62442013-11-02 Glenn Morris <rgm@gnu.org>
6245
18ba6a33 6246 * Makefile.in (EMACS): Use a relative filename.
8061810d 6247 (abs_top_builddir): Remove.
18ba6a33
GM
6248 (custom-deps, finder-data, autoloads): Use --chdir.
6249
6a8b929e
GM
6250 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6251
c617f3d0
GM
6252 Use relative filenames in TAGS files.
6253 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6254 (lisptagsfiles4, TAGS): Use relative file names.
6255 (TAGS-LISP): Remove.
6256 (maintainer-clean): No more TAGS-LISP file.
6257
b0b9e592
GM
6258 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6259 (lisptagsfiles4): Use absolute filenames again.
6260 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6261 Remove all *loaddefs files, not just the first. Remove esh-groups.
6262 (maintainer-clean): Delete TAGS, TAGS-LISP.
6263
d1c0ea6a
BB
62642013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6265
e61845c1
SM
6266 * emacs-lisp/package.el (package-version-join):
6267 Recognize snapshot versions.
d1c0ea6a 6268
684d71c6
BB
62692013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6270
6271 * subr.el (version-regexp-alist): Add support for snapshot versions.
6272
3d42b968
DG
62732013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6274
e61845c1
SM
6275 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6276 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
6277 skip over our direct parent if it's an assignment token..
6278 (ruby-smie-rules): Use it.
6279
7ffd3721
DG
62802013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6281
8449dd1f 6282 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
6283 unconditionally. Remove now unnecessary forward declarations.
6284 Remove XEmacs-specific setup.
6285 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6286 (ruby-font-lock-syntactic-keywords)
6287 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6288 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6289 (ruby-here-doc-end-syntax): Remove.
6290 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6291 defined as function.
6292
a3996a2e
BB
62932013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6294
6295 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6296
6f9260e8
BB
62972013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6298
6299 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6300 table and abbrev table, `define-derived-mode' does that for us
6301 anyway.
6302
6014de84
GM
63032013-11-01 Glenn Morris <rgm@gnu.org>
6304
6305 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6306 files is atomic for some time, so no parallel compilation issues).
6307
3c334c14
JD
63082013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6309
6310 * faces.el (face-x-resources): Add :distant-foreground.
6311 (region): Use :distant-foreground for gtk and ns.
6312
9bc236c8
TH
63132013-11-01 Tassilo Horn <tsdh@gnu.org>
6314
5246583b 6315 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
6316 BibTeX.
6317 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6318 (reftex-locate-bibliography-files): Us it.
6319
d14c81ee
CB
63202013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6321
0e7690de
CB
6322 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6323 allow comments in pbm files.
6324
d14c81ee
CB
6325 * term/w32-win.el (dynamic-library-alist): Support newer versions
6326 of libjpeg starting with v7: look only for the DLL from the
6327 version against which Emacs was built.
ac1bf374 6328 Support versions of libpng beyond 1.4.x.
019c8218 6329 Support libtiff v4.x.
d14c81ee 6330
983d0df5
BB
63312013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6332
6333 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6334 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6335 Add property :safe.
6336 (ruby-deep-arglist): Add property :type.
6337
47f58d85
GM
63382013-10-31 Glenn Morris <rgm@gnu.org>
6339
6340 * Makefile.in (custom-deps, finder-data): No need to setq the target
6341 variables, we are in the right directory and the defaults work fine.
6342
4f85b479
GM
63432013-10-30 Glenn Morris <rgm@gnu.org>
6344
ca7dd4cd
GM
6345 * Makefile.in (autoloads): Do not use abs_lisp.
6346
4f85b479
GM
6347 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6348 `newline' does not respect `standard-output', so use `princ'.
6349
cf59e41c
AA
63502013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6351
6352 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6353 * buff-menu.el (Buffer-menu--unmark): New function.
6354 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6355
74cf04fb
GM
63562013-10-30 Glenn Morris <rgm@gnu.org>
6357
b040b60e
GM
6358 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6359
f53d3815
GM
6360 * emacs-lisp/package.el (lm-homepage): Declare.
6361
5413d873
GM
6362 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6363 Fix doc typos.
6364
cecedb36
GM
6365 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6366
74cf04fb
GM
6367 * Makefile.in (finder-data, autoloads, update-subdirs)
6368 (compile-main, compile-clean, compile-always, bootstrap-clean):
6369 Check return value of cd.
6370 (compile-calc): Remove.
6371
195ee2f0
SM
63722013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6373
ae4002ce
SM
6374 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6375
6376 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6377 (byte-compile-and-folded): New function.
6378 (=, <, >, <=, >=): Use it.
6379
6380 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6381 (path-separator, null-device, buffer-file-coding-system)
6382 (lpr-headers-switches): Check system-type before modifying them.
6383 (find-buffer-file-type-coding-system): Mark obsolete.
6384 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6385 find-file-not-found-set-buffer-file-coding-system.
35e951cd 6386 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 6387 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 6388 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
6389 (w32-direct-print-region-helper, w32-direct-print-region-function)
6390 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6391 * startup.el (normal-top-level-add-subdirs-to-load-path):
6392 * ps-print.el (ps-print-region-function):
6393 * lpr.el (print-region-function): Use new name.
6394
53b39e89
SM
6395 * subr.el (custom-declare-variable-early): Remove function.
6396 (custom-declare-variable-list): Remove var.
6397 (error, user-error): Remove `while' loop.
6398 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6399 (user-emacs-directory-warning, locate-user-emacs-file):
6400 Move to files.el.
6401 * simple.el (read-quoted-char-radix, read-quoted-char):
6402 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6403 Move from subr.el.
6404 * custom.el (custom-declare-variable-list): Don't process
6405 custom-declare-variable-list.
6406
195ee2f0
SM
6407 * progmodes/python.el (python-shell-get-buffer): New function.
6408 (python-shell-get-process): Use it.
6409 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6410 Python which encoding was used. Don't split-string since we only care
6411 about the first line. Return the temp-file, if applicable.
6412 (python-shell-send-region): Tell compile.el how to turn locations in
6413 the temp-file into locations in the source buffer.
6414
7e3561ee
SM
64152013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6416
4c9797cb
SM
6417 * subr.el (undefined): Add missing behavior from the C code for
6418 unbound keys.
6419
3472b6c6
SM
6420 * rect.el: Use lexical-binding. Add new rectangular region support.
6421 (rectangle-mark): New command.
6422 (rectangle--region): New var.
6423 (deactivate-mark-hook): Reset rectangle--region.
6424 (rectangle--extract-region, rectangle--insert-for-yank)
6425 (rectangle--highlight-for-redisplay)
6426 (rectangle--unhighlight-for-redisplay): New functions.
6427 (region-extract-function, redisplay-unhighlight-region-function)
6428 (redisplay-highlight-region-function): Use them to handle
6429 rectangular region.
6430 * simple.el (region-extract-function): New var.
6431 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6432 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6433 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6434 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6435 (redisplay-unhighlight-region-function)
6436 (redisplay-highlight-region-function): New vars.
6437 (redisplay--update-region-highlight): New function.
6438 (pre-redisplay-function): Use it.
6439 (exchange-point-and-mark): Don't deactivate the mark before
6440 reactivate-it anyway.
6441 * comint.el (comint-kill-region): Remove yank-handler argument.
6442 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6443 (delete-char): Remove property, since it's now part of their
6444 default behavior.
6445 (self-insert-iso): Remove property since this command doesn't exist.
6446
7e3561ee
SM
6447 * emacs-lisp/package.el (package--download-one-archive)
6448 (describe-package-1): Don't query the user about final newline.
6449
b9bef71f
DC
64502013-10-29 Daniel Colascione <dancol@dancol.org>
6451
6452 * net/tramp.el (tramp-methods): Document new functionality.
6453 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6454 tramp-hostname-checker if method provides one instead of scanning
6455 argument list for "%h" to decide hostname acceptability.
6456
4efc33f0
MA
64572013-10-28 Michael Albinus <michael.albinus@gmx.de>
6458
6459 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6460 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6461 Handle COPY-CONTENTS. (Bug#15737)
6462
ed42a877
DU
64632013-10-28 Daiki Ueno <ueno@gnu.org>
6464
9b017563 6465 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 6466 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 6467
18c9f8a2
XF
64682013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6469
35e951cd 6470 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 6471
b1e8e010
AM
64722013-10-27 Alan Mackenzie <acm@muc.de>
6473
6474 Indent statements in macros following "##" correctly.
7e3561ee
SM
6475 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6476 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 6477
73d40d1e 64782013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
6479
6480 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6481
c8c605ac
DG
64822013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6483
6484 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6485 after `=' is probably a new expression.
6486
ca7e59d4
RS
64872013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6488
6489 * man.el (man-imenu-title): New option.
6490 (Man-mode-map): Add menu. (Bug#15722)
6491 (Man-mode): Add imenu to menu.
6492
bae91342
DG
64932013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6494
6495 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6496 specific in what the first arg can be: a non-keyword word,
6497 string/regexp/percent literal opener, opening paren, or unary
6498 operator followed directly by word.
6499
eb89dc14
SM
65002013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6503 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6504 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6505 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6506 Remove vars, they do not apply any more.
6507 (prolog-mode-abbrev-table): Remove redundant declaration.
6508 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6509 (prolog-use-smie): Remove.
6510 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6511 supported by prolog-electric-if-then-else-flag.
6512 (prolog-mode-variables, prolog-menu): Use setq-local.
6513 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6514 Remove binding to `Backspace' since this key doesn't exist anyway.
6515 Remove bindings for electric self-inserting keys.
6516 (prog-mode): Assume it's defined.
6517 (prolog-post-self-insert): New function.
6518 (prolog-mode): Use it.
6519 (prolog-indent-line, prolog-indent-level)
6520 (prolog-find-indent-of-matching-paren)
6521 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6522 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6523 (prolog-goto-next-paren, prolog-in-string-or-comment)
6524 (prolog-tokenize, prolog-inside-mline-comment)
6525 (prolog-find-start-of-mline-comment): Remove functions.
6526 (prolog-find-unmatched-paren, prolog-clause-end)
6527 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6528 (prolog-electric--if-then-else): Rename from
6529 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6530 (prolog-tokenize-searchkey): Remove const.
6531 (prolog-clause-info): Use forward-sexp.
6532 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6533 (prolog-electric-if-then-else): Remove commands.
6534 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6535 for use in post-self-insert-hook.
6536 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6537 for use in post-self-insert-hook.
6538 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6539 for use in post-self-insert-hook.
6540 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6541 adapt it for use in post-self-insert-hook.
6542
3dab0a83
MA
65432013-10-25 Michael Albinus <michael.albinus@gmx.de>
6544
6545 * emacs-lisp/ert.el (ert-run-tests-interactively):
6546 Use `completing-read'. (Bug#9756)
6547
fbfd0e1d
EZ
65482013-10-25 Eli Zaretskii <eliz@gnu.org>
6549
6550 * simple.el (line-move): Call line-move-1 instead of
6551 line-move-visual when the current window hscroll is zero, but
6552 temporary-goal-column indicates we will need to hscroll as result
6553 of the movement. (Bug#15712)
6554
963ce636
DG
65552013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6556
6557 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
6558 capitalization. Use :visible instead of :active.
6559 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
6560 commands that are used with SMIE.
6561 (ruby-do-end-to-brace): Insert space after `{'.
6562
a0be396a
JA
65632013-10-25 John Anthony <john@jo.hnanthony.com>
6564
f73754c9
JA
6565 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6566
6567 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 6568
f5bf77df
GM
65692013-10-25 Glenn Morris <rgm@gnu.org>
6570
6571 * vc/vc.el (vc-print-log): Don't use a working revision unless
6572 one was explicitly specified. (Bug#15322)
6573
37241f62
SM
65742013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6575
6576 * subr.el (add-to-list): Preserve return value in compiler-macro
6577 (bug#15692).
6578
6408a65d
RS
65792013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6580
6581 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6582 result. Ask user to retry using '-all' flag. (Bug#15701)
6583
71e3276b
SM
65842013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * emacs-lisp/smie.el: New smie-config system.
6587 (smie-config): New defcustom.
6588 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6589 (smie-config-guess, smie-config-save): New commands.
6590 (smie-config--mode-local, smie-config--buffer-local)
6591 (smie-config--trace, smie-config--modefuns): New vars.
6592 (smie-config--advice, smie-config--mode-hook)
6593 (smie-config--setter, smie-config-local, smie-config--get-trace)
6594 (smie-config--guess-value, smie-config--guess): New functions.
6595 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6596 text properties. Treat "string fence" syntax like string syntax.
6597
6598 * progmodes/sh-script.el (sh-use-smie): Change default.
6599 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6600 (sh-var-value): Simplify by CSE.
6601 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6602 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6603 is used.
6604 (sh-guess-basic-offset): Use cl-incf.
6605 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6606
60db713e
HE
66072013-10-24 Helmut Eller <eller.helmut@gmail.com>
6608
6609 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6610 (bug#15699).
6611
8b251df6
GM
66122013-10-24 Glenn Morris <rgm@gnu.org>
6613
6614 * Makefile.in (abs_top_srcdir): Remove.
6615 (update-subdirs): Use relative path to update-subdirs.
6616
6be0e22b
EZ
66172013-10-24 Eli Zaretskii <eliz@gnu.org>
6618
6619 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6620 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
6621 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6622 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 6623
50b5b857
MA
66242013-10-24 Michael Albinus <michael.albinus@gmx.de>
6625
6626 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6627 (ert-test-skipped): New error.
6628 (ert-skip, ert-stats-skipped): New defuns.
6629 (ert--skip-unless): New macro.
6630 (ert-test-skipped): New struct.
6631 (ert--run-test-debugger, ert-test-result-type-p)
6632 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6633 (ert--stats-set-test-and-result, ert-char-for-test-result)
6634 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 6635 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 6636 Handle skipped tests. (Bug#9803)
50b5b857 6637
6f317c2f
GM
66382013-10-24 Glenn Morris <rgm@gnu.org>
6639
e43817c1
GM
6640 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6641
6f317c2f
GM
6642 * Makefile.in (abs_top_srcdir): New, set by configure.
6643 (update-subdirs): Correct build-aux location.
6644
369bbf71
DG
66452013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6646
8297b2cf
DG
6647 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6648 value, whether we could auto-deduce `backend', or not.
6649
369bbf71
DG
6650 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6651 with parameters" example. Simplify the "is it block or is it
6652 hash" check, but also make it more thorough.
6653
d5f1282f
MF
66542013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6655
6656 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6657
bc4aaa31
SM
66582013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6659
03d44565
SM
6660 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6661 { if it is hanging.
6662
bc4aaa31
SM
6663 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6664 :before ";".
6665
f493ff19
JB
66662013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6667
6668 * progmodes/compile.el (compilation-directory-matcher)
6669 (compilation-page-delimiter):
6670 Support GNU Make-4.0 directory quoting. (Bug#15678)
6671
c744a3b9
LL
66722013-10-23 Leo Liu <sdl.web@gmail.com>
6673
6674 * ido.el (ido-tidy): Handle read-only text.
6675
b8e3b0a9
GM
66762013-10-23 Glenn Morris <rgm@gnu.org>
6677
6678 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6679 (emacs, compile, compile-always):
6680 Quote entities that might contain whitespace.
6681 (custom-deps, finder-data, autoloads): Use abs_lisp.
6682 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6683 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6684 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6685
ee4282cd
DG
66862013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6687
bc4aaa31
SM
6688 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6689 Use `following-char'.
7790a270 6690
ee4282cd 66912013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
6692
6693 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6694 * progmodes/ruby-mode.el (ruby-smie-rules):
6695 Remove corresponding workaround. Fix indentation rule of ";" so it
6696 also applies when ";" is the parent.
6697
d40a46d7
XF
66982013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6699
6700 * frame.el (display-screens, display-pixel-height)
6701 (display-pixel-width, display-mm-width, display-backing-store)
6702 (display-save-under, display-planes, display-color-cells)
7790a270
SM
6703 (display-visual-class, display-monitor-attributes-list):
6704 Mention the optional ‘display’ argument in doc strings.
d40a46d7 6705
a0f143c9
MG
67062013-10-22 Michael Gauland <mikelygee@amuri.net>
6707
6708 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6709 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6710
18cacc39
DG
67112013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6712
6713 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6714 TODO. Add "." after " @ ".
6715 (ruby-smie--at-dot-call): New function. Checks if point at method
6716 call with explicit target.
6717 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6718 to the method name tokens when it precedes them.
6719 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6720 (ruby-smie-rules): Add rule for indentation before and after "."
6721 token.
6722
df74c4be
SM
67232013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6724
c6dab55f
SM
6725 * textmodes/remember.el (remember-diary-extract-entries):
6726 Avoid add-to-list.
6727
df74c4be
SM
6728 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6729 an instruction.
6730
8c1ae481
DG
67312013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6732
e9dc713d
JB
6733 * progmodes/ruby-mode.el (ruby-smie-grammar):
6734 Add (almost) all infix operators.
cfef16c0
DG
6735 (ruby-smie--implicit-semi-p): Add new operator chars.
6736
8c1ae481
DG
6737 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6738 `smie-down-list'.
6739 (ruby-smie--args-separator-p): Check that there's no newline
6740 between method call and its arguments.
6741
87756ca9
AM
67422013-10-20 Alan Mackenzie <acm@muc.de>
6743
6744 Allow comma separated lists after Java "implements".
6745
df74c4be
SM
6746 * progmodes/cc-engine.el (c-backward-over-enum-header):
6747 Parse commas.
87756ca9
AM
6748 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6749 from a "disallowed" list in enum fontification.
6750
c25f8957
JB
67512013-10-20 Johan Bockgård <bojohan@gnu.org>
6752
df74c4be 6753 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 6754
c25f8957
JB
6755 * progmodes/verilog-mode.el (verilog-mode): Don't set
6756 comment-indent-function globally.
6757
aca5fcdc
JD
67582013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6759
5f161884
JD
6760 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6761 Move Info menu item creation to ns-win.el.
6762
6763 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6764 in menu bar.
6765
a6c4680a 6766 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
6767
6768 * term/ns-win.el (ns-initialize-window-system): ... to here.
6769
914b7f98
SM
67702013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * simple.el (newline): Only run post-self-insert-hook when
6773 called interactively.
6774
846ffe77
JB
67752013-10-19 Johan Bockgård <bojohan@gnu.org>
6776
6777 * icomplete.el (icomplete-with-completion-tables): Add :version.
6778
033f22dd
AM
67792013-10-19 Alan Mackenzie <acm@muc.de>
6780
6781 Fix fontification bugs with constructors and const.
6782
6783 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6784 CASE 2) Remove the check for the absence of a suffix construct
6785 after a function declaration with only types (no identifiers) in
6786 the parentheses. Also, accept a function declaration with just a
6787 type inside the parentheses, if this type can be positively
6788 recognised as such, or if a prefix keyword like "explicit" nails
6789 down the construct as a declaration.
6790
58ce0cfc
EZ
67912013-10-19 Eli Zaretskii <eliz@gnu.org>
6792
6793 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6794 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6795 the problem whereby selecting a menu item that leads to a
6796 minibuffer prompt moves the cursor out of the minibuffer window,
6797 making it hard to type at the prompt. Suggested by Stefan Monnier
6798 <monnier@iro.umontreal.ca>.
6799
50e28e7d
JD
68002013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6801
6802 * menu-bar.el: Don't make Services menu.
6803
7deed4bf
RS
68042013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6805
6806 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6807 (ffap-alist): Use ffap-c++-mode for c++-mode.
6808 (ffap-c++-path): New variable.
6809 (ffap-c++-mode): New function.
6810
7bcb455b
JVJ
68112013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6812
6813 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6814
f0ff1cd5
MA
68152013-10-18 Michael Albinus <michael.albinus@gmx.de>
6816
6817 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6818 introduced on 2013-09-08, which results in an infinite loop
6819 requesting a password.
6820
d64da4b7
GM
68212013-10-18 Glenn Morris <rgm@gnu.org>
6822
6823 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6824
ea89ff08
WS
68252013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6826
6827 Sync with upstream verilog-mode revision 1a6ecec7.
6828 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6829 (verilog-mode-release-date): Remove.
6830 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6831 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6832 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6833 (verilog-auto-tieoff-ignore-regexp)
6834 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6835 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6836 (verilog-signals-with, verilog-dir-cache-preserving)
6837 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6838 Doc fixes.
6839 (verilog-case-fold): New option, to control case folding in
6840 regexp searches, bug597.
6841 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6842 (verilog-string-match-fold, verilog-in-paren-count)
6843 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6844 (verilog-at-close-struct-p): New functions.
6845 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 6846 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
6847 (verilog-leap-to-case-head): Handle "unique0" case.
6848 (verilog-in-constraint-re): New constant.
6849 (verilog-keywords, verilog-type-font-keywords):
6850 Add some SystemVerilog 1800-2012 keywords.
6851 (verilog-label-be): Remove unimplemented argument, bug669.
6852 (verilog-batch-execute-func): When batch expanding clear
6853 create-lockfiles to prevent spurious user locks when a file ends
6854 up not changing.
6855 (verilog-calculate-indent, verilog-calc-1)
6856 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6857 (verilog-do-indent): Fix indentation of nested constraints
6858 and structures.
6859 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6860 (verilog-auto-inst-param): Use verilog-string-match-fold.
6861 (verilog-read-inst-module-matcher):
6862 Fix AUTOINST on gate primitives with #1.
6863 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6864 Reads all user-defined typed variables.
6865 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6866 (verilog-signals-matching-regexp)
6867 (verilog-signals-not-matching-regexp, verilog-auto):
6868 Respect verilog-case-fold.
6869 (verilog-diff-report): Fix line count.
6870 (verilog-auto-assign-modport): Remove unused local `modi'.
6871 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6872 better handle multidimensional arrays.
6873 Fix packed array ports misadding bit index in AUTOINST, bug637.
6874 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6875 to not double-declare existing outputs and inputs, respectively.
6876 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6877 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6878 (verilog-sk-uvm-component): New skeleton.
6879 (verilog-submit-bug-report): Add verilog-case-fold,
6880 remove verilog-mode-release-date.
6881
ef566920
BR
68822013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6883
a12bf61e 6884 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
6885 as before.
6886
29df8a0b
RT
68872013-10-18 Reuben Thomas <rrt@sc3d.org>
6888
e0eb0550 6889 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
6890 remember buffers (bug#13566).
6891
04a19a79
DC
68922013-10-18 Daniel Colascione <dancol@dancol.org>
6893
6894 When evaluating forms in ielm, direct standard output to ielm
6895 buffer. Add new ielm-return-for-effect command. Remove trailing
6896 whitespace throughout.
6897
6898 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6899 (ielm-return-for-effect): New command.
6900 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
6901 (ielm-eval-input): Accept optional `for-effect' parameter.
6902 Bind `standard-output' to stream we create using
04a19a79
DC
6903 `ielm-standard-output-impl'. Suppress printing result when
6904 `for-effect'.
6905 (ielm-standard-output-impl): New function.
6906 (inferior-emacs-lisp-mode): Explain new features in documentation.
6907
4c1f03ef
MA
69082013-10-17 Michael Albinus <michael.albinus@gmx.de>
6909
6910 Code cleanup.
6911
6912 * net/tramp.el (tramp-debug-message): Do not check for connection
6913 buffer.
6914 (tramp-message): Use "vector" connection property.
6915
6916 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6917 (tramp-equal-remote, tramp-eshell-directory-change)
6918 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6919 (tramp-adb-handle-rename-file)
6920 * net/tramp-cmds.el (tramp-list-remote-buffers)
6921 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6922 * net/tramp-compat.el (tramp-compat-process-running-p)
6923 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6924 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6925 (tramp-gvfs-handle-rename-file)
6926 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6927 (tramp-set-file-uid-gid)
6928 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6929 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6930 of `file-remote-p'.
6931
6932 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6933 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6934 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6935 (tramp-gw-open-network-stream): Suppress unrelated traces.
6936
6937 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6938 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6939 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6940 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6941 connection property.
6942
6943 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 6944 persistency file.
4c1f03ef
MA
6945
6946 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6947 Refactor common code. Improve debug message.
6948 (tramp-maybe-open-connection)
6949 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6950 connection buffer too early.
6951
6952 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6953 from `tramp-smb-actions-with-acl'.
6954 (tramp-smb-actions-set-acl): New defconst.
6955 (tramp-smb-handle-copy-directory)
6956 (tramp-smb-action-get-acl): New defun, renamed from
6957 `tramp-smb-action-with-acl'.
6958 (tramp-smb-action-set-acl): New defun.
6959 (tramp-smb-handle-set-file-acl): Rewrite.
6960
642eb8b6
GM
69612013-10-17 Glenn Morris <rgm@gnu.org>
6962
6963 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6964
85527ff3
SM
69652013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6966
921c1d62
SM
6967 * skeleton.el (skeleton-newline): Remove.
6968 (skeleton-internal-1): Use (insert "\n") instead.
6969
e333fb10
SM
6970 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6971 let-bindings.
6972
85527ff3
SM
6973 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6974 forward-sexp-function while we redo its job (bug#15613).
6975
c8722a97
JB
69762013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6977
6978 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6979 represented by lists.
6980
7a550bbb
GM
69812013-10-16 Glenn Morris <rgm@gnu.org>
6982
6983 * tmm.el (tmm--history): New dynamic variable.
6984 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6985
f19da8ad
MA
69862013-10-16 Michael Albinus <michael.albinus@gmx.de>
6987
6988 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6989 (tramp-smb-errors): Add error messages.
6990 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 6991 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
6992 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6993 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6994 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6995 (tramp-smb-get-stat-capability): Fix tests.
6996
a24b9961
DK
69972013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6998
6999 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7000 (bug#15580).
7001
62ad85e6
GM
70022013-10-16 Glenn Morris <rgm@gnu.org>
7003
0283d6b0
GM
7004 * ansi-color.el (ansi-color-drop-regexp):
7005 Add 1J, 1K, 2K. (Bug#15617)
7006
012e2f9f
GM
7007 * files.el (hack-local-variables--warned-lexical): New.
7008 (hack-local-variables):
7009 Warn about misplaced lexical-binding. (Bug#15616)
7010
62ad85e6
GM
7011 * net/eww.el (eww-render): Always set eww-current-url,
7012 and update header line. (Bug#15622)
7013 (eww-display-html): ... Rather than just doing it here.
7014
6456c0ea
EZ
70152013-10-15 Eli Zaretskii <eliz@gnu.org>
7016
7017 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7018 menu navigations commands.
7019
c2de5588
DK
70202013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7021
7022 * progmodes/subword.el (subword-capitalize): Be careful when
7023 the search for [[:alpha:]] fails (bug#15580).
7024
ccd4a783
EZ
70252013-10-14 Eli Zaretskii <eliz@gnu.org>
7026
7027 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7028 to commands that scroll the menu.
7029
1eda1d8d
DG
70302013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7031
c2de5588
DK
7032 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7033 Handle methods ending with `?' and `!'.
1eda1d8d 7034
e70181b8
AM
70352013-10-14 Akinori MUSHA <knu@iDaemons.org>
7036
7037 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7038 `japanese-cp932' to `cp932' to fix the problem where saving a
7039 source file written in Shift_JIS twice would end up having
7040 `coding: japanese-cp932' which Ruby could not recognize.
7041 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7042 in `ruby-encoding-map'.
7043 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7044 doesn't need to be explicitly declared in magic comment.
7045 (ruby-encoding-map): Add type declaration for better customize UI.
7046
9148ee92
GM
70472013-10-13 Glenn Morris <rgm@gnu.org>
7048
a5d38e34
GM
7049 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7050 Occur buffers are read-only. http://bugs.debian.org/720775
7051
9148ee92
GM
7052 * emacs-lisp/authors.el (authors-fixed-entries):
7053 Comment out old alpha stuff.
7054
a9ba094b
DG
70552013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7056
7057 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7058 to `after-save-hook' instead of `before-save-hook'.
7059 (ruby-mode-set-encoding): Use the value of coding system used to
7060 write the file. Call `basic-save-buffer-1' after modifying the
7061 buffer.
7062
7a068717
AM
70632013-10-13 Alan Mackenzie <acm@muc.de>
7064
7065 Fix indentation/fontification of Java enum with
7066 "implements"/generic.
7067
c2de5588
DK
7068 * progmodes/cc-engine.el (c-backward-over-enum-header):
7069 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
7070 (c-inside-bracelist-p): Uses new function above.
7071 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7072 function above.
7073 (c-font-lock-enum-tail): Uses new function above.
7074
85b64f02
KH
70752013-10-13 Kenichi Handa <handa@gnu.org>
7076
7077 * international/mule-cmds.el (select-safe-coding-system): Remove a
7078 superfluous condition in chekcing whether a coding system is safe
7079 or not.
7080
fc7f501b
OK
70812013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7082
7083 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7084
fdcb2049
AP
70852013-10-13 Andreas Politz <politza@hochschule-trier.de>
7086
7087 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7088
8c106d17
GM
70892013-10-13 Glenn Morris <rgm@gnu.org>
7090
feab892d
GM
7091 * menu-bar.el (menu-bar-update-buffers):
7092 Unify Buffers menu prompt string. (Bug#15576)
7093
b22d0686
GM
7094 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7095
8c106d17
GM
7096 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7097 Add some entries.
7098 (authors-fixed-entries): Use accented form of name.
7099
1b12c797
SM
71002013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7101
650fa7bf 7102 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 7103 method calls (bug#15594).
650fa7bf
SM
7104 (ruby-smie--args-separator-p): New function.
7105 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7106 recognize paren-free method calls.
7107
1b12c797
SM
7108 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7109 internals of universal-argument.
7110
029619c8
EZ
71112013-10-11 Eli Zaretskii <eliz@gnu.org>
7112
7113 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
7114 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7115 dropped menu on second mouse click on the menu bar.
029619c8 7116
dd070019
SM
71172013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7120 (explicit-shell-file-name): Declare.
7121 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7122 (sh-completion-at-point-function): New function.
7123 (sh-mode): Use it.
7124 (sh-smie--keyword-p): Remove unused argument.
7125 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7126 vars.
7127 (sh-set-shell): Always setup SMIE, even if we use the
7128 old indentation code.
7129
0922b826
DG
71302013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7131
b68e2926
DG
7132 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7133 cases of ? and =.
7134 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7135 predicate would return nil are almost non-existent.
7136 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7137
0922b826
DG
7138 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7139 cache also after commands that modify the buffer but don't move
7140 point.
7141
ee041f2d
SM
71422013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * env.el (substitute-env-in-file-name): New function.
7145 (substitute-env-vars): Extend the meaning of the optional arg.
7146
a5dab159
EZ
71472013-10-10 Eli Zaretskii <eliz@gnu.org>
7148
7149 * term/w32-win.el (dynamic-library-alist): Define separate lists
7150 of GIF DLLs for versions before and after 5.0.0 of giflib.
7151 (Bug#15531)
7152
0449d6cd 71532013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
7154
7155 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7156 not locked, use last revision and current source as
7157 defaults. (Bug#15569)
7158
2f6e161e
MY
71592013-10-10 Masatake YAMATO <yamato@redhat.com>
7160
7161 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7162 menu-bar is hidden.
7163
6c8413fc
MR
71642013-10-10 Martin Rudalics <rudalics@gmx.at>
7165
7166 * window.el (pop-to-buffer-same-window): Fix doc-string.
7167 (Bug#15492)
7168
20832de0
SM
71692013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7170
7171 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7172
c6e8ae77
AC
71732013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7174
7175 * calendar/icalendar.el (icalendar-import-file):
7176 Fix interactive spec. (Bug#15482)
7177
9db13baf
GM
71782013-10-10 Glenn Morris <rgm@gnu.org>
7179
9271e90e
GM
7180 * desktop.el (desktop-save): Default to saving in .emacs.d,
7181 since PWD is no longer in desktop-path by default. (Bug#15319)
7182
9db13baf
GM
7183 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7184 now that text mode has a menu with the same entry.
7185 (menu-bar-text-mode-auto-fill): Remove now unused func.
7186 * textmodes/text-mode.el (text-mode-map):
7187 Use auto-fill help text from menu-bar.el.
7188
a0be396a 71892013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
7190
7191 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7192
2edcd3c7
JL
71932013-10-09 Juri Linkov <juri@jurta.org>
7194
7195 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7196 instead of this-command-keys. Add universal-argument-more and
7197 universal-argument-minus to the list of prefix commands. (Bug#15568)
7198
574411d0
GM
71992013-10-09 Glenn Morris <rgm@gnu.org>
7200
14afa541
GM
7201 * vc/vc-svn.el (vc-svn-create-repo):
7202 Expand paths in file://... url. (Bug#15446)
7203
574411d0
GM
7204 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7205 Add some entries.
7206 (authors): Remove unused local variables.
7207
79804536
SM
72082013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 * profiler.el: Create a more coherent calltree from partial backtraces.
7211 (profiler-format): Hide the tail with `invisible' so that C-s can still
7212 find the hidden elements.
7213 (profiler-calltree-depth): Don't recurse so enthusiastically.
7214 (profiler-function-equal): New hash-table-test.
7215 (profiler-calltree-build-unified): New function.
7216 (profiler-calltree-build): Use it.
7217 (profiler-report-make-name-part): Indent the calltree less.
7218 (profiler-report-mode): Add visibility specs for profiler-format.
7219 (profiler-report-expand-entry, profiler-report-toggle-entry):
7220 Expand the whole subtree when provided with a prefix arg.
7221
238150c8
DG
72222013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7223
7224 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7225 iuwu-mod token.
7226 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7227 hanging iuwu-mod token.
7228 (ruby-smie--forward-token): Do not include a dot after a token in
7229 that token.
7230 (ruby-smie--backward-token): Likewise.
7231
b0949cc4
JL
72322013-10-08 Juri Linkov <juri@jurta.org>
7233
7234 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7235 to isearch-other-control-char.
7236 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7237 and isearch-post-command-hook to post-command-hook.
7238 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7239 and isearch-post-command-hook from post-command-hook.
7240 (isearch-unread-key-sequence)
7241 (isearch-reread-key-sequence-naturally)
7242 (isearch-lookup-scroll-key, isearch-other-control-char)
7243 (isearch-other-meta-char): Remove functions.
7244 (isearch-pre-command-hook, isearch-post-command-hook):
7245 New functions based on isearch-other-meta-char rewritten
7246 relying on the new behavior of overriding-terminal-local-map
7247 that does not replace the local keymaps any more. (Bug#15200)
7248
4ed77415
EZ
72492013-10-08 Eli Zaretskii <eliz@gnu.org>
7250
7251 Support menus on text-mode terminals.
7252 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7253 functionality.
7254
7255 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7256
c2de5588
DK
7257 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7258 Move here from mouse.el.
4ed77415
EZ
7259 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7260 and arrow keys.
7261 (tty-menu-navigation-map): New map for TTY menu navigation.
7262
7263 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7264
7265 * frame.el (display-mouse-p): Report text-mode mouse as available
7266 on w32.
7267 (display-popup-menus-p): Report availability if mouse is
7268 available; don't condition on window-system.
7269
7270 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7271 (tty-menu-selected-face): New faces.
7272
b7d5bd82
TL
72732013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7274
06286513
SM
7275 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7276 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7277 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7278 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7279 New constants.
7280 (lisp-mode-variables): New `elisp' argument.
7281 (emacs-lisp-mode): Use it.
7282 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7283 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7284
b7d5bd82
TL
7285 * indent.el: Use lexical-binding.
7286 (indent-region): Add progress reporter.
7287 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7288 last step.
7289 (indent--next-tab-stop): New function to implement this behavior.
7290 (tab-to-tab-stop, move-to-tab-stop): Use it.
7291
72922013-10-08 Teemu Likonen <tlikonen@iki.fi>
7293
7294 * indent.el (indent-rigidly--current-indentation): New function.
7295 (indent-rigidly-map): New var.
7296 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7297
5ea75d23
BG
72982013-10-08 Bastien Guerry <bzg@gnu.org>
7299
f2726fa2 7300 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 7301
cc5da1ec
SM
73022013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7303
8ffa1a0b
SM
7304 * progmodes/perl-mode.el: Use lexical-binding.
7305 Remove redundant :group args.
7306 (perl-nochange): Change default to be closer to other major modes's
7307 standard behavior.
7308 (perl-indent-line): Don't consider text on current line as a
7309 valid beginning of function from which to indent.
7310
f2223371
SM
7311 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7312 with more than one argument (bug#15538).
7313
44256060
SM
7314 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7315
cc5da1ec
SM
7316 * vc/pcvs.el: Use lexical-binding.
7317 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7318 environment of `eval'.
7319 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7320 than a list of expressions. Adjust callers.
7321 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7322
0ea1599d
DG
73232013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7324
7325 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 7326 case of the dot in a chained method call being on the following line.
0ea1599d 7327
da3e5ebb
SM
73282013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7329
2abb4e65
SM
7330 * electric.el (electric-indent-inhibit): New var.
7331 (electric-indent-post-self-insert-function): Use it.
7332 * progmodes/python.el (python-mode): Set it.
7333
d2e0e795
SM
7334 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7335 open braces.
7336
7337 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7338
bdc6b4c8
SM
7339 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7340 (css-mode): Use electric-indent-chars.
7341
da3e5ebb
SM
7342 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7343 (font-lock-beg, font-lock-end): Move before first use.
7344 (nxml-mode): Use syntax-propertize-function.
7345 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7346 (nxml-extend-after-change-region): Remove.
7347 * nxml/xmltok.el: Use lexical-binding.
7348 (xmltok-save): Use `declare'.
7349 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7350 * nxml/nxml-util.el: Use lexical-binding.
7351 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7352 Use `declare'.
7353 * nxml/nxml-ns.el: Use lexical-binding.
7354 (nxml-ns-save): Use `declare'.
7355 (nxml-ns-prefixes-for): Avoid add-to-list.
7356 * nxml/rng-match.el: Use lexical-binding.
7357 (rng--ipattern): Use cl-defstruct.
7358 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7359 (rng-cons-group-after, rng-subst-group-after)
7360 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7361 Use closures instead of `(lambda...).
7362
f8f91d5d
MA
73632013-10-07 Michael Albinus <michael.albinus@gmx.de>
7364
7365 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7366 of BEG and END.
7367
da3e5ebb
SM
7368 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7369 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
7370 (tramp-gvfs-handle-insert-file-contents): Remove function.
7371
da3e5ebb
SM
7372 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7373 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
7374
7375 * net/trampver.el: Update release number.
7376
7ccae3b1
SM
73772013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7378
55ca2c0d
SM
7379 * progmodes/compile.el (compilation-parse-errors):
7380 Use compilation--put-prop.
7381 (compilation--ensure-parse): Check compilation-multiline.
7382
731fc3ae
SM
7383 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7384
da3e5ebb
SM
7385 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7386 lexical-binding.
a5833280 7387
2e7ba2c2
SM
7388 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7389
7ccae3b1
SM
7390 * progmodes/ruby-mode.el: Fix recently added tests.
7391 (ruby-smie-grammar): Add - and +.
7392 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7393 (ruby-smie--backward-id): New functions.
7394 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7395 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7396 any more.
7397
85698d63
LL
73982013-10-07 Leo Liu <sdl.web@gmail.com>
7399
7400 * register.el (register-preview-delay)
7401 (register-preview-functions): New variables.
7402 (register-read-with-preview, register-preview)
7403 (register-describe-oneline): New functions.
7404 (point-to-register, window-configuration-to-register)
7405 (frame-configuration-to-register, jump-to-register)
7406 (number-to-register, view-register, insert-register)
7407 (copy-to-register, append-to-register, prepend-to-register)
7408 (copy-rectangle-to-register): Use register-read-with-preview to
7409 read register. (Bug#15525)
7410
3986af6c
DS
74112013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7412
7413 * net/network-stream.el (network-stream-open-starttls): Don't add
7414 --insecure if it's already present, because that gnutls-cli
7415 rejects getting that parameter twice.
7416
5cd9cda9
DG
74172013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7418
7419 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7420 keyword, too.
7421
da9ea6d9
DG
74222013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7423
7424 * newcomment.el (comment-use-global-state): Change default value
7425 to t, mark obsolete (Bug#15251).
7426 (comment-beginning): In addition to `comment-to-syntax', check the
7427 value of `comment-use-global-state'.
7428
34d1a133
SM
74292013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7430
7431 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7432 (ruby-comment-column): Follow the global default, by default.
7433 (ruby-smie-grammar): Add assignment syntax.
7434 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7435 open-paren, a comma, or a \.
7436 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7437 and line continuations.
7438 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7439 followed by implicit semi-colons. Add rule for string concatenation
7440 and for indentation at BOB.
27821a89 7441 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
7442
7443 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7444 calling next-sexp, since next-token may have skipped chars which
7445 next-sexp doesn't know should be skipped!
7446
6f6ab820
LL
74472013-10-05 Leo Liu <sdl.web@gmail.com>
7448
34d1a133
SM
7449 * progmodes/octave.el (octave-send-region):
7450 Call compilation-forget-errors.
6f6ab820 7451
34ca0f4c
XF
74522013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7453
7454 * vc/vc-svn.el (vc-svn-find-admin-dir):
7455 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7456 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7457 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7458 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7459
a27c1b72
SM
74602013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7463
258ab3bc
SM
74642013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7465
7466 * subr.el (read-passwd): Hide chars even when called within a context
7467 where after-change-functions is disabled (bug#15501).
7468 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7469 until we removed ourself from overriding-terminal-local-map.
7470
939fb29c
LL
74712013-10-04 Leo Liu <sdl.web@gmail.com>
7472
258ab3bc
SM
7473 * progmodes/octave.el (inferior-octave-mode):
7474 Call compilation-forget-errors.
939fb29c 7475
63bd7f35
XF
74762013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7477
7478 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7479
9e6229fa
MA
74802013-10-04 Michael Albinus <michael.albinus@gmx.de>
7481
7482 * net/secrets.el (secrets-create-collection): Add optional
7483 argument ALIAS. Use proper Label keyword. Append ALIAS as
7484 dbus-call-method argument. (Bug#15516)
7485
1dab32a3
LL
74862013-10-04 Leo Liu <sdl.web@gmail.com>
7487
7488 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7489 (inferior-octave-compilation-font-lock-keywords): New variables.
7490 (compilation-error-regexp-alist)
7491 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7492 (inferior-octave-mode): Use compilation-shell-minor-mode.
7493
6cad7ba3
JS
74942013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7495
7496 * minibuffer.el (completion--replace): Be careful that `end' might be
7497 a marker.
7498
acbadd00
DU
74992013-10-03 Daiki Ueno <ueno@gnu.org>
7500
7501 Add support for package signature checking.
7502 * emacs-lisp/package.el (url-http-file-exists-p)
7503 (epg-make-context, epg-context-set-home-directory)
7504 (epg-verify-string, epg-context-result-for)
7505 (epg-signature-status, epg-signature-to-string)
7506 (epg-check-configuration, epg-configuration)
7507 (epg-import-keys-from-file): Declare.
7508 (package-check-signature): New user option.
7509 (package-unsigned-archives): New user option.
7510 (package-desc): Add `signed' field.
7511 (package-load-descriptor): Set `signed' field if .signed file exists.
7512 (package--archive-file-exists-p): New function.
7513 (package--check-signature): New function.
7514 (package-install-from-archive): Check package signature.
7515 (package--download-one-archive): Check archive signature.
7516 (package-delete): Remove .signed file.
7517 (package-import-keyring): New command.
7518 (package-refresh-contents): Import default keyring.
7519 (package-desc-status): Add "unsigned" status.
7520 (describe-package-1, package-menu--print-info)
7521 (package-menu-mark-delete, package-menu--find-upgrades)
7522 (package-menu--status-predicate): Support "unsigned" status.
7523
adf2aa61
SM
75242013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7525
7526 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7527 the new compilation scheme using the new byte-codes.
7528
7529 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7530 (byte-pophandler): New byte codes.
7531 (byte-goto-ops): Adjust accordingly.
7532 (byte-compile--use-old-handlers): New var.
7533 (byte-compile-catch): Use new byte codes depending on
7534 byte-compile--use-old-handlers.
7535 (byte-compile-condition-case--old): Rename from
7536 byte-compile-condition-case.
7537 (byte-compile-condition-case--new): New function.
7538 (byte-compile-condition-case): New function that dispatches depending
7539 on byte-compile--use-old-handlers.
7540 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7541 when we can.
7542
7543 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7544 Optimize under `condition-case' and `catch' if
7545 byte-compile--use-old-handlers is nil.
7546 (disassemble-offset): Handle new bytecodes.
7547
328a8179
SM
75482013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7549
7550 * subr.el (error): Use `declare'.
7551 (decode-char, encode-char): Use advertised-calling-convention instead
7552 of the docstring to discourage use of the `restriction' arg.
7553
15a1e936
DU
75542013-10-03 Daiki Ueno <ueno@gnu.org>
7555
7556 * epg.el (epg-verify-file): Add a comment saying that it does not
7557 notify verification error as a return value nor a signal.
7558 (epg-verify-string): Ditto.
7559
376f862a
KR
75602013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7561
7562 * progmodes/compile.el (compilation-start): Try globbing the arg to
7563 `cd' (bug#15417).
7564
a2f93a5f
MA
75652013-10-02 Michael Albinus <michael.albinus@gmx.de>
7566
7567 Sync with Tramp 2.2.8.
7568
7569 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7570 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7571 * net/trampver.el: Update release number.
7572
0daa0804
JD
75732013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7574
7575 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7576 and default-process-coding-system for darwin only.
7577
abd1ae34
SM
75782013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7581
be4e325d
MH
75822013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7583
7584 * vc/vc-git.el (vc-git-grep): Disable pager.
7585
e9155c4a
DG
75862013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7587
494e898b
DG
7588 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7589 Use :url instead of :homepage, as per
7590 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7591
e9155c4a
DG
7592 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7593 non-nil, use `syntax-ppss' (Bug#15251).
7594
481a8e0f
RS
75952013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7596
be4e325d
MH
7597 * progmodes/octave.el (inferior-octave-startup-file):
7598 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 7599
056453c6
DG
76002013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7601
be4e325d
MH
7602 * emacs-lisp/package.el (package-desc-from-define):
7603 Accept additional arguments as plist, convert them to an alist and store
7604 them in the `extras' slot.
056453c6
DG
7605 (package-generate-description-file): Convert extras alist back to
7606 plist and append to the `define-package' form arguments.
7607 (package--alist-to-plist): New function.
7608 (package--ac-desc): Add `extras' slot.
7609 (package--add-to-archive-contents): Check if the archive-contents
7610 vector is long enough, and if it is, pass its `extras' slot value
7611 to `package-desc-create'.
7612 (package-buffer-info): Call `lm-homepage', pass the returned value
7613 to `package-desc-from-define'.
7614 (describe-package-1): Render the homepage button (Bug#13291).
7615
be4e325d
MH
7616 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7617 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 7618
832966e5
JD
76192013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7620
7621 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7622 and default-process-coding-system to utf-8-unix (Bug#15402).
7623
6cfe977d
XF
76242013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7625
7626 * subr.el (looking-back): Do not recommend using looking-back.
7627
38de11bd
AM
76282013-09-28 Alan Mackenzie <acm@muc.de>
7629
7630 Fix indentation/fontification of Java enum with "implements".
7631
7632 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7633 regexp which matches "implements", etc., in Java.
7634 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7635 specifier clauses coming after "enum".
7636 * progmodes/cc-fonts.el (c-font-lock-declarations)
7637 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7638 after "enum".
7639
1610938f
JD
76402013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7641
7642 * faces.el (region): Change ns_selection_color to
7643 ns_selection_fg_color, add ns_selection_bg_color.
7644
e090f499
LL
76452013-09-28 Leo Liu <sdl.web@gmail.com>
7646
4d2e94d1
LL
7647 * progmodes/octave.el (inferior-octave-completion-table)
7648 (inferior-octave-completion-at-point): Minor tweaks.
7649
e090f499
LL
7650 * textmodes/ispell.el (ispell-lookup-words): Rename from
7651 lookup-words. (Bug#15460)
7652 (lookup-words): Obsolete.
7653 (ispell-complete-word, ispell-command-loop): All uses changed.
7654
7e138a62
RS
76552013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7656
a12bf61e 7657 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
7658 (octave-mode-menu): Add octave-send-buffer.
7659 (octave-send-buffer): New function.
7660
5af5ed08
RS
76612013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7662
a12bf61e 7663 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
7664 octave-lookfor.
7665 (octave-mode-menu): Add octave-lookfor.
7666 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7667 octave-lookfor.
7668 (octave-lookfor): New function.
7669
3b7b2692
SM
76702013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7671
35e951cd 7672 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
7673 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7674 its convention.
7675 (cl--loop-set-iterator-function): New function.
7676 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7677 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7678 Bind `it' with `let' instead of substituting it with `cl-subst'.
7679 (cl--unused-var-p): New function.
7680 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7681 Eliminate some unused variable warnings (bug#15326).
7682
529fb53f
TH
76832013-09-27 Tassilo Horn <tsdh@gnu.org>
7684
7685 * doc-view.el (doc-view-scale-reset): Rename from
7686 `doc-view-reset-zoom-level'.
7687 (doc-view-scale-adjust): New command.
7688 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7689 `doc-view-scale-adjust'.
7690
0550c95a
TH
76912013-09-26 Tassilo Horn <tsdh@gnu.org>
7692
7693 * doc-view.el (doc-view-reset-zoom-level): New command.
7694 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7695 zoom commands (bug#15466).
7696
6950f152
KH
76972013-09-26 Kenichi Handa <handa@gnu.org>
7698
7699 * international/quail.el (quail-help): Make it not a command.
7700
39587580
LL
77012013-09-26 Leo Liu <sdl.web@gmail.com>
7702
7703 * minibuffer.el (completion-all-sorted-completions): Make args
7704 optional as they are.
7705
00578659
DC
77062013-09-25 Daniel Colascione <dancol@dancol.org>
7707
7708 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7709 specs are and that they're not evaluated.
7710
0c173878
SS
77112013-09-24 Sam Steingold <sds@gnu.org>
7712
7713 * midnight.el (clean-buffer-list-kill-regexps)
7714 (clean-buffer-list-kill-buffer-names): Update for the new Man
7715 buffer naming which includes the object name.
7716
84998447
SM
77172013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7718
7719 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7720 (eshell-parse-command, eshell-parse-pipeline): Use it since
7721 eshell-separate-commands requires a dynamic scoped var.
7722 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7723
33215353
LL
77242013-09-23 Leo Liu <sdl.web@gmail.com>
7725
7726 * autoinsert.el (auto-insert-alist): Make the value of
7727 lexical-binding match its file setting.
7728
57b16162
JB
77292013-09-23 Juanma Barranquero <lekktu@gmail.com>
7730
c8af4e67
JB
7731 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7732
57b16162
JB
7733 * autoarg.el (autoarg-kp-digit-argument):
7734 * electric.el (Electric-command-loop):
7735 * kmacro.el (kmacro-step-edit-insert):
7736 Do not set universal-argument-num-events.
7737
7186ba60
LL
77382013-09-22 Leo Liu <sdl.web@gmail.com>
7739
7740 * files.el (interpreter-mode-alist): Add octave.
7741
ece15004
AM
77422013-09-21 Alan Mackenzie <acm@muc.de>
7743
7744 C++: fontify identifier in declaration following "public:" correctly.
7745 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7746 to match "public", etc.
7747 (c-decl-prefix-re): Add ":" into the C++ value.
7748 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7749 bit. Add a check for a ":" preceded by "public", etc.
7750
75d83e22
EZ
77512013-09-21 Eli Zaretskii <eliz@gnu.org>
7752
7753 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7754 recognized by GDB 7.5 and later.
7755
d052d3bd
XF
77562013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7757
7758 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7759
31dca772
R
77602013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * subr.el (internal--call-interactively): New const.
7763 (called-interactively-p): Use it (bug#3984).
7764
98ccf24e
XF
77652013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7766
7767 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
7768 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7769 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 7770
c39cc7d1
SM
77712013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7772
7773 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7774 (eshell-ls-orig-insert-directory): Remove.
7775 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7776 (eshell-ls-use-in-dired): Use advice-add/remove.
7777 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7778 Add `orig-fun' arg for use in :around advice.
7779 Make it check (redundantly) eshell-ls-use-in-dired.
7780
9a0289a2
GM
77812013-09-19 Glenn Morris <rgm@gnu.org>
7782
a2c501b8
GM
7783 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7784
c440407a
GM
7785 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7786
9a0289a2
GM
7787 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7788
85e05915
MA
77892013-09-19 Michael Albinus <michael.albinus@gmx.de>
7790
7791 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7792 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7793 (tramp-get-remote-python): New defuns.
7794 (tramp-get-remote-uid-with-perl)
7795 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7796 contributed by yary <not.com@gmail.com> (tiny change).
7797 (tramp-get-remote-uid-with-python)
7798 (tramp-get-remote-gid-with-python): New defuns. Python code
7799 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7800 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7801
ce503312
GM
78022013-09-19 Glenn Morris <rgm@gnu.org>
7803
f7544773
GM
7804 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7805
72fd2877
GM
7806 * eshell/em-unix.el (eshell-remove-entries):
7807 Rename argument to avoid name-clash with global `top-level'.
7808
336b5a56
GM
7809 * eshell/esh-proc.el (eshell-kill-process-function):
7810 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7811 (eshell-reset-after-proc): Remove unused arg `proc'.
7812
57a3a53d
GM
7813 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7814 (directory-files-and-attributes): Mark unused arg.
7815
3261d4af
GM
7816 * eshell/em-unix.el (eshell-remove-entries):
7817 Remove unused arg `path'. Update callers.
7818
8e51b5d0
GM
7819 * eshell/em-hist.el (eshell-hist-parse-arguments):
7820 Remove unused arg `silent'. Update callers.
7821
ce503312
GM
7822 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7823 Fix (f)boundp mix-up.
7824
7825 * eshell/em-smart.el (eshell-smart-scroll-window)
7826 (eshell-disable-after-change):
336b5a56 7827 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 7828
ee3ce8a7
AM
78292013-09-18 Alan Mackenzie <acm@muc.de>
7830
7831 Fix fontification of type when followed by "const".
7832 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7833 "known" types from fontification.
7834
ec9177ba
GM
78352013-09-18 Glenn Morris <rgm@gnu.org>
7836
7bb3e768
GM
7837 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7838 (chart-face-list): Drop Emacsen without display-color-p.
7839
5148da15
GM
7840 * net/eww.el (libxml-parse-html-region): Declare.
7841 (eww-display-html): Explicit error if no libxml2 support.
7842
2f68e157
GM
7843 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7844
9019d095
GM
7845 * image.el (image-type-from-buffer, image-multi-frame-p):
7846 Remove --without-x warning/error.
67645389 7847
5f30349b 7848 * mouse.el (mouse-yank-primary):
45069b2e 7849 * term.el (term-mouse-paste):
5f30349b
GM
7850 Reorder to silence --without-x compilation.
7851
cd8edbbe
GM
7852 * mpc.el (doc-view-mode): Silence --without-x compilation.
7853
8a78544e
GM
7854 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7855 Silence --without-x compilation.
7856
12679bfd
GM
7857 * progmodes/gud.el (gud-find-file, gud-mode):
7858 Silence --without-x compilation.
7859 (tooltip-mode): Declare.
30810a05 7860
f0047cb9
GM
7861 * wdired.el (dired-backup-overwrite): Remove declaration.
7862 (wdired-mode-map): Add doc string.
7863
e740f9d2
GM
7864 * custom.el (x-get-resource): Declare.
7865
92d77c89
GM
7866 * eshell/em-glob.el (ange-cache):
7867 * eshell/em-unix.el (ange-cache): Declare.
7868
76e69577
GM
7869 * faces.el (x-display-list, x-open-connection, x-get-resource):
7870 Declare.
7e58af4b
GM
7871
7872 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7873 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7874 Declare.
76e69577 7875
4bd4c0af 7876 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 7877
ffb82dbd
GM
7878 * net/gnutls.el (gnutls-log-level): Declare.
7879
986ed135
GM
7880 * net/shr.el (image-size, image-animate): Declare.
7881
e740f9d2
GM
7882 * simple.el (font-info): Declare.
7883
d2f3e9f8
GM
7884 * subr.el (x-popup-dialog): Declare.
7885
047a1a4c
GM
7886 * term/common-win.el (x-select-enable-primary)
7887 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7888 Declare.
7889
f4a1d572
GM
7890 * term/ns-win.el (x-handle-args): Declare.
7891
e843de77
GM
7892 * term/x-win.el (x-select-enable-clipboard): Declare.
7893
5fa89513
GM
7894 * term/w32-win.el (create-default-fontset): Declare.
7895
38702b5b
GM
7896 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7897 Declare.
7898
e740f9d2
GM
7899 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7900 (fit-frame-to-buffer): Explicit error if --without-x.
7901 (mouse-autoselect-window-select): Silence compiler.
7902
49a053fc
GM
7903 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7904
7905 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7906 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7907 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 7908 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
7909 Remove unused local variables.
7910
7911 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7912
ec9177ba
GM
7913 * textmodes/two-column.el: Make 2C-split work for --without-x.
7914 (scroll-bar-columns): Autoload.
7915 (top-level): Require fringe when compiling.
7916
9f25cb77
LL
79172013-09-18 Leo Liu <sdl.web@gmail.com>
7918
7919 * subr.el (add-hook): Robustify to handle closure as well.
7920
2b42da98
GM
79212013-09-17 Glenn Morris <rgm@gnu.org>
7922
7923 * simple.el (messages-buffer-mode-map): Unbind "g".
7924
e8b66a6a
SM
79252013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7926
9c0ad4f7
SM
7927 * help-mode.el (help-mode-finish): Use derived-mode-p.
7928 Remove obsolete highlighting.
7929
7a806dfb
SM
7930 * play/life.el (life-mode): Use define-derived-mode. Derive from
7931 special-mode.
7932 (life): Let-bind inhibit-read-only.
7933 (life-setup): Avoid `setq'. Use `life-mode'.
7934
96dbf5a8
SM
7935 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7936 which should not be needed any more.
7937 (package-menu-refresh, package-menu-describe-package): Use user-error.
7938
e8b66a6a
SM
7939 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7940 (eshell-post-rewrite-command-hook): Make obsolete.
7941 (eshell-parse-command): Simplify.
7942 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7943 (eshell--cmd): Declare.
7944 (eshell-parse-pipeline): Remove unused var `final-p'.
7945 Pass a dynvar to eshell-post-rewrite-command-hook.
7946 Implement the new eshell-post-rewrite-command-function.
7947 (eshell-invoke-directly): Remove unused arg `input'.
7948 * eshell/esh-io.el (eshell-io-initialize):
7949 Use eshell-post-rewrite-command-function (bug#15399).
7950 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7951 adjust to new calling convention.
7952 (eshell-create-handles): Rename args to avoid clashing with dynvar
7953 `standard-output'.
7954
90582f05
GM
79552013-09-17 Glenn Morris <rgm@gnu.org>
7956
7957 * simple.el (messages-buffer-mode): New major mode.
7958 (messages-buffer): New function.
7959 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7960 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 7961 (ert-run-test): Use `messages-buffer' function.
90582f05 7962 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
7963 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7964 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 7965
39eb0cb5 79662013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
7967
7968 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7969
1d42e5b6 7970 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 7971
70568a90
SM
79722013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7973
504a0381
SM
7974 * icomplete.el (icomplete-in-buffer): New var.
7975 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7976 vars and replace them with functions.
7977 (icomplete-minibuffer-setup): Adjust accordingly.
7978 (icomplete--completion-table, icomplete--completion-predicate)
7979 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7980 New functions.
7981 (icomplete-forward-completions, icomplete-backward-completions)
7982 (icomplete-simple-completing-p, icomplete-exhibit)
7983 (icomplete-completions): Use them.
7984 (icomplete--in-region-buffer): New var.
7985 (icomplete--in-region-setup): New function.
7986 (icomplete-mode): Use it.
7987
70568a90
SM
7988 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7989 (bug#15379).
7990 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7991 return args and options.
7992 (eshell-eval-using-options): Use the new return value of
7993 eshell--do-opts to set the options's vars in their scope.
7994 (eshell--set-option): Rename from eshell-set-option.
7995 Add arg `opt-vals'.
7996 (eshell--process-option): Rename from eshell-process-option.
7997 Add arg `opt-vals'.
7998 (eshell--process-args): Use an `opt-vals' alist to store the options's
7999 values during their processing and return them additionally to the
8000 remaining args.
8001
578c21bc
DG
80022013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8003
8004 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8005 continuation character an operator, as far as indentation is
8006 concerned (Bug#15369).
8007
c089653d
MR
80082013-09-15 Martin Rudalics <rudalics@gmx.at>
8009
8010 * window.el (window--state-put-2): Don't process buffer state
8011 when buffer doesn't exist any more (Bug#15382).
8012
1e53bb4b
GM
80132013-09-15 Glenn Morris <rgm@gnu.org>
8014
30753242
GM
8015 * eshell/em-unix.el (eshell/rm):
8016 Make -f ignore missing files. (Bug#15373)
8017
1e53bb4b
GM
8018 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8019 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8020 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8021
0d8863b3
GM
80222013-09-14 Glenn Morris <rgm@gnu.org>
8023
8024 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8025
d3fc6549
GM
80262013-09-13 Glenn Morris <rgm@gnu.org>
8027
8028 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8029 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8030
fcd42c11
DA
80312013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8032
8033 * frame.el (x-focus-frame): Mark as declared in frame.c.
8034
7830899f
SM
80352013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8036
8037 * ls-lisp.el: Use advice-add.
8038 (original-insert-directory): Remove.
8039 (ls-lisp--insert-directory): Rename from insert-directory; add
8040 `orig-fun' argument.
8041 (insert-directory): Advise.
8042
84387cd2
EZ
80432013-09-13 Eli Zaretskii <eliz@gnu.org>
8044
8045 * term.el (term-emulate-terminal): Decode the command string
8046 before passing it to term-command-hook. (Bug#15337)
8047
35ffc6ba
GM
80482013-09-13 Glenn Morris <rgm@gnu.org>
8049
5c3f9bcc
GM
8050 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8051
2ada368a
GM
8052 * eshell/esh-ext.el (eshell-search-path): Declare.
8053
fcef2e13
GM
8054 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8055 Otherwise an error occurs if eshell-dirs module not loaded.
8056
35ffc6ba
GM
8057 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8058
35c3d36e
MA
80592013-09-13 Michael Albinus <michael.albinus@gmx.de>
8060
8061 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8062 `tramp-check-proper-host'. Check for a valid method name.
8063
8064 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8065 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8066 * net/tramp-sh.el (tramp-maybe-open-connection):
8067 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8068
8069 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8070 also for hash values.
8071
ae5e4c48
SM
80722013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8073
379add74
SM
8074 * term/ns-win.el (parameters): Don't declare as dynamic.
8075 (before-make-frame-hook): Don't add ineffective function.
8076
ae5e4c48
SM
8077 * eshell/*.el: Use lexical-binding (bug#15231).
8078
b5623270
KH
80792013-09-12 Kenichi Handa <handa@gnu.org>
8080
ae5e4c48 8081 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 8082
30213927
GM
80832013-09-12 Glenn Morris <rgm@gnu.org>
8084
be94d713 8085 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 8086 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 8087
44915370
GM
8088 * subr.el (do-after-load-evaluation): Also give compiler warnings
8089 when obsolete files are used (except by obsolete files).
8090
a6ae021f
GM
8091 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8092 in the status output, assume `filename' is the first. (Bug#15322)
8093
40e64f0c
GM
8094 * vc/vc.el (vc-deduce-fileset): Doc fix.
8095
16d9f896
GM
8096 * calc/calc-help.el (Info-goto-node):
8097 * progmodes/cperl-mode.el (Info-find-node):
8098 * vc/ediff.el (Info-goto-node): Update declarations.
8099
dea01c6e
GM
8100 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8101
759880bf 8102 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
8103 (vc-bzr-pull): Require vc-dispatcher.
8104 * vc/vc-git.el (vc-compilation-mode): Declare.
8105 (vc-git-pull): Require vc-dispatcher.
8106
08d66420
GM
8107 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8108
30b626e9
GM
8109 * progmodes/octave.el (help-button-action): Declare.
8110
8c05cb10
GM
8111 * shell.el (shell-directory-tracker): Output error as a message
8112 rather than just returning it as a string.
8113 (shell-process-pushd): Remove useless use of message.
8114
30213927
GM
8115 * dframe.el (dframe-timer-fn):
8116 * files.el (dir-locals-read-from-file):
8117 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8118 (mpc-format):
8119 * reveal.el (reveal-post-command):
8120 * saveplace.el (load-save-place-alist-from-file):
8121 * shell.el (shell-resync-dirs):
8122 * w32-common-fns.el (x-get-selection-value):
8123 * emacs-lisp/copyright.el (copyright-find-copyright):
8124 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8125 * emulation/tpu-edt.el (tpu-copy-keyfile):
8126 * play/bubbles.el (bubbles--mark-neighbourhood):
8127 * progmodes/executable.el
8128 (executable-make-buffer-file-executable-if-script-p):
8129 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8130
d3b049e6
SM
81312013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8132
170266d0
SM
8133 Cleanup Eshell to rely less on dynamic scoping.
8134 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8135 last-value, and ext-command here. Bind `args' closer to `body'.
8136 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8137 (eshell--args): Declare new dynamic var.
8138 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8139 last-value, and ext-command. Pass `args' to `body'.
8140 (eshell-process-args): Bind eshell--args.
8141 (eshell-set-option): Use eshell--args.
8142 * eshell/eshell.el (eshell): Use derived-mode-p.
8143 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8144 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8145 (eshell-glob-function): Declare.
8146 * eshell/esh-util.el: Require cl-lib.
8147 (eshell-read-hosts-file): Avoid add-to-list.
8148 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8149 `err'.
8150 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8151 Declare.
8152 (eshell/diff): Remove unused var `err'.
8153 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8154 `killflag'.
8155 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8156 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8157 first use.
8158 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8159 Move declaration before first use.
8160 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
8161 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8162 rely on cl-return.
8163
56834f3b
GM
81642013-09-12 Glenn Morris <rgm@gnu.org>
8165
8166 * term/ns-win.el (global-map): Remove binding for ispell-next,
8167 deleted 1999-05-29. (Bug#15357)
8168
5c91a2b8
GM
81692013-09-11 Glenn Morris <rgm@gnu.org>
8170
da712f22
GM
8171 * echistory.el (electric-command-history): Remove call to deleted func.
8172
512e4cdc
GM
8173 * play/landmark.el (landmark-mode): Fix typos.
8174
d3506ca5
GM
8175 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8176 Check cvs-sort-ignore-file is bound.
8177
5c91a2b8
GM
8178 * savehist.el: No need for cl when compiling on Emacs.
8179
feeff482
SM
81802013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8181
656bd483
SM
8182 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8183 (bug#15338).
d3b049e6
SM
8184 (eshell-self-insert-command, eshell-send-invisible):
8185 Remove unused argument.
656bd483
SM
8186 (eshell-handle-control-codes): Remove unused var `orig'.
8187 Avoid delete-backward-char.
8188
feeff482
SM
8189 * files.el (set-auto-mode): Simplify a bit further.
8190
2a08047a
GM
81912013-09-11 Glenn Morris <rgm@gnu.org>
8192
8193 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8194 (set-auto-mode): Don't regexp-quote elements.
8195 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8196 * progmodes/cc-mode.el (interpreter-mode-alist):
8197 * progmodes/ruby-mode.el (interpreter-mode-alist):
8198 Revert previous change.
8199
34675540
SM
82002013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8201
1b3b87df
SM
8202 * play/snake.el (snake-mode):
8203 * play/mpuz.el (mpuz-mode):
8204 * play/landmark.el (lm-mode):
8205 * play/blackbox.el (blackbox-mode):
8206 * play/5x5.el (5x5-mode):
8207 * obsolete/options.el (Edit-options-mode):
8208 * net/quickurl.el (quickurl-list-mode):
8209 * net/newst-treeview.el (newsticker-treeview-mode):
8210 * mail/rmailsum.el (rmail-summary-mode):
8211 * mail/mspools.el (mspools-mode):
8212 * locate.el (locate-mode):
8213 * ibuffer.el (ibuffer-mode):
8214 * emulation/ws-mode.el (wordstar-mode):
8215 * emacs-lisp/debug.el (debugger-mode):
8216 * array.el (array-mode):
8217 * net/eudc.el (eudc-mode): Use define-derived-mode.
8218 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8219 Move initialization into declaration.
8220 (mairix-searches-mode): Use define-derived-mode.
8221 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8222 (eudc-edit-hotlist): Use dolist.
8223 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8224 (Man-mode): Use define-derived-mode.
8225 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8226 (Info-edit-mode): Use define-derived-mode.
8227 (Info-cease-edit): Use Info-mode.
8228 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8229 into declaration.
8230 (eshell-mode): Use define-derived-mode.
8231 * chistory.el (command-history-mode-map): Rename from
8232 command-history-map.
8233 (command-history-mode): Use define-derived-mode.
da712f22 8234 (Command-history-setup): Remove function.
1b3b87df
SM
8235 * calc/calc.el (calc-trail-mode-map): New var.
8236 (calc-trail-mode): Use define-derived-mode.
8237 (calc-trail-buffer): Set calc-main-buffer manually.
8238 * bookmark.el (bookmark-insert-annotation): New function.
8239 (bookmark-edit-annotation): Use it.
8240 (bookmark-edit-annotation-mode): Make it a proper major mode.
8241 (bookmark-send-edited-annotation): Use derived-mode-p.
8242 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8243 closer to its ideal place. Use \' to match EOS.
8244
34675540
SM
8245 * profiler.el (profiler-calltree-find): Use function-equal.
8246
6a5c15d9
GM
82472013-09-10 Glenn Morris <rgm@gnu.org>
8248
1af4c220
GM
8249 * files.el (interpreter-mode-alist): Convert to regexps.
8250 (set-auto-mode): Adapt for this. (Bug#15306)
8251 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8252 Comment out unused variable.
8253 * progmodes/cc-mode.el (interpreter-mode-alist):
8254 * progmodes/python.el (interpreter-mode-alist):
8255 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8256 * progmodes/sh-script.el (sh-set-shell):
8257 No longer use interpreter-mode-alist to get list of shells.
8258
6a5c15d9
GM
8259 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8260
8c27f5ff
SM
82612013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8262
02ef6c1a 8263 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 8264 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
8265 Bind switch-frame explicitly. Replace universal-argument-minus with
8266 a conditional binding.
8267 (universal-argument-num-events, saved-overriding-map): Remove.
8268 (restore-overriding-map): Remove.
8269 (universal-argument--mode): Rename from save&set-overriding-map,
8270 and rewrite.
8271 (universal-argument, universal-argument-more, negative-argument)
8272 (digit-argument): Adjust accordingly.
8273 (universal-argument-minus): Remove.
8274 (universal-argument-other-key): Remove.
8275
8c27f5ff
SM
8276 * subr.el (with-demoted-errors): Add `format' argument.
8277
6480194c
MA
82782013-09-10 Michael Albinus <michael.albinus@gmx.de>
8279
8280 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8281 `tramp-cleanup-connection'.
8282
8283 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8284 parameters KEEP-DEBUG and KEEP-PASSWORD.
8285
8286 * net/tramp.el (tramp-file-name-handler):
8287 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8288 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8289 (tramp-maybe-open-connection):
8c27f5ff
SM
8290 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8291 Use `tramp-cleanup-connection'.
6480194c 8292
8c27f5ff
SM
8293 * net/tramp-sh.el (tramp-maybe-open-connection):
8294 Catch 'uname-changed inside the progress reporter.
6480194c 8295
e5e916d8
GM
82962013-09-10 Glenn Morris <rgm@gnu.org>
8297
9a2c9b47
GM
8298 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8299
e5e916d8
GM
8300 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8301 returns "alternate access method" in mode (eg "-rw-r--r--.").
8302
144e38fe
GM
83032013-09-08 Glenn Morris <rgm@gnu.org>
8304
8305 * saveplace.el (load-save-place-alist-from-file):
8306 Demote errors. (Bug#15305)
8307
af9ff9e8
MA
83082013-09-08 Michael Albinus <michael.albinus@gmx.de>
8309
8310 Improve compatibility with older Emacsen, and XEmacs.
8311
8312 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8313 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
8314 (with-tramp-progress-reporter): Do not let-bind `result'.
8315 This yields to scoping errors in XEmacs.
af9ff9e8
MA
8316 (tramp-handle-make-auto-save-file-name): New function, moved from
8317 tramp-sh.el.
8318
8319 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8320 for `make-auto-save-file-name'.
8c27f5ff
SM
8321 (tramp-adb--gnu-switches-to-ash):
8322 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8323
8324 * net/tramp-cache.el (tramp-cache-print): Call
8325 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8326
8327 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8328 bound. It isn't for XEmacs.
8329
8c27f5ff
SM
8330 * net/tramp-compat.el (tramp-compat-copy-file):
8331 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
8332 (tramp-compat-replace-regexp-in-string): New defun.
8333
8334 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8335 for `make-auto-save-file-name'.
8336 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8337 `copy-file'.
8338 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8339 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8340 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8341
8c27f5ff
SM
8342 * net/tramp-gw.el (tramp-gw-open-network-stream):
8343 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 8344
8c27f5ff
SM
8345 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8346 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
8347 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8348 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
8349 (tramp-sh-file-inotifywait-process-filter):
8350 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8351 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8352
8353 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8354 for `make-auto-save-file-name'.
8c27f5ff
SM
8355 (tramp-smb-handle-copy-directory):
8356 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8357 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8358 (tramp-smb-handle-copy-file): Improve error message.
8359 (tramp-smb-handle-rename-file): Rename directly only in case
8360 `newname' does not exist yet. This is a restriction of smbclient.
8361 (tramp-smb-maybe-open-connection): Rerun the function only when
8362 `auth-sources' is non-nil.
8363
0ca754d0
KH
83642013-09-08 Kenichi Handa <handa@gnu.org>
8365
e0eb0550 8366 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
8367 more characters.
8368
e8dd0787
AM
83692013-09-07 Alan Mackenzie <acm@muc.de>
8370
8371 Correctly fontify Java class constructors.
8372 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8373 in Java Mode.
8374 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
8375 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8376 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
8377 "typeless" declaration there.
8378
f2f248e7
RW
83792013-09-07 Roland Winkler <winkler@gnu.org>
8380
8381 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8382 field subtitle for entry type book.
8383
67982e2b
SM
83842013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * minibuffer.el: Make minibuffer-complete call completion-in-region
8387 rather than other way around.
8388 (completion--some, completion-pcm--find-all-completions):
8389 Don't delay signals when debugging.
8390 (minibuffer-completion-contents): Beware fields within the
8391 minibuffer contents.
8392 (completion-all-sorted-completions): Use defvar-local.
8393 (completion--do-completion, completion--cache-all-sorted-completions)
8394 (completion-all-sorted-completions, minibuffer-force-complete):
8395 Add args `beg' and `end'.
8396 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8397 (minibuffer-complete): Use completion-in-region.
8398 (completion-complete-and-exit): New fun, extracted from
8399 minibuffer-complete-and-exit.
8400 (minibuffer-complete-and-exit): Use it.
8401 (completion--complete-and-exit): Rename from
8402 minibuffer--complete-and-exit.
8403 (completion-in-region--single-word): New function, extracted from
8404 minibuffer-complete-word.
8405 (minibuffer-complete-word): Use it.
8406 (display-completion-list): Make `common-substring' argument obsolete.
8407 (completion--in-region): Call completion--in-region-1 instead of
8408 minibuffer-complete.
8409 (completion-help-at-point): Pass boundaries to
8410 minibuffer-completion-help as args rather than via an overlay.
8411 (completion-pcm--string->pattern): Use `any-delim'.
8412 (completion-pcm--optimize-pattern): New function.
8413 (completion-pcm--pattern->regex): Handle `any-delim'.
8414 * icomplete.el (icomplete-forward-completions)
8415 (icomplete-backward-completions, icomplete-completions):
8416 Adjust calls to completion-all-sorted-completions and
8417 completion--cache-all-sorted-completions.
8418 (icomplete-with-completion-tables): Default to t.
8419 * emacs-lisp/crm.el (crm--current-element): Rename from
8420 crm--select-current-element. Don't put an overlay but return the
8421 boundaries instead.
8422 (crm--completion-command): Take two new args to bind to the boundaries.
8423 (crm-completion-help): Adjust accordingly.
8424 (crm-complete): Use completion-in-region.
8425 (crm-complete-word): Use completion-in-region--single-word.
8426 (crm-complete-and-exit): Use completion-complete-and-exit.
8427
e17d94a5
SM
84282013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8429
8430 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8431 than dynamically.
8432
96727100
JL
84332013-09-06 Juri Linkov <juri@jurta.org>
8434
8435 * info.el (Info-display-images-node): When image file doesn't exist
8436 display text version of the image if it's provided in the Info file.
8437 Otherwise, display the location of missing image from SRC attribute.
8438 Add help-echo text property from ALT attribute. (Bug#15279)
8439
86cf7329
SM
84402013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8441
8442 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8443 (edit-abbrevs-mode): Use define-derived-mode.
8444
8445 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8446 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8447 that it's defined.
8448 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8449 Use define-derived-mode.
8450
8451 * epg.el (epg-start-encrypt): Minor CSE simplification.
8452
816244a2
WX
84532013-09-06 William Xu <william.xwl@gmail.com>
8454
8455 * arc-mode.el: Add support for 7za (bug#15264).
8456 (archive-7z-program): New var.
8457 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8458 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8459 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8460
1486fa31
MA
84612013-09-06 Michael Albinus <michael.albinus@gmx.de>
8462
8463 Remove URL syntax.
8464
8465 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8466 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8467 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8468 (tramp-postfix-host-format, tramp-file-name-regexp)
8469 (tramp-completion-file-name-regexp)
8470 (tramp-completion-dissect-file-name)
8471 (tramp-handle-substitute-in-file-name): Remove 'url case.
8472 (tramp-file-name-regexp-url)
8473 (tramp-completion-file-name-regexp-url): Remove constants.
8474
39785324
GM
84752013-09-06 Glenn Morris <rgm@gnu.org>
8476
8477 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8478
1f896cb7
DG
84792013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8480
8481 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8482 keywords" below "here-doc beginnings" (Bug#15270).
8483
c0458e0b
SM
84842013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * subr.el (pop): Use `car-safe'.
8487 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8488 to detect unused `pop' return value.
8489
8490 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8491 var `block-regexp'.
8492 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8493 (python-fill-string): Remove unused var `marker'.
8494 (python-skeleton-add-menu-items): Remove unused var `items'.
8495
8496 * international/mule-cmds.el: Require CL.
8497 (find-coding-systems-for-charsets): Avoid add-to-list.
8498 (sanitize-coding-system-list): New function, extracted from
8499 select-safe-coding-system-interactively.
8500 (select-safe-coding-system-interactively): Use it.
8501 (read-input-method-name): Accept symbols for `default'.
8502
8503 * emacs-lisp/advice.el (defadvice): Add indent rule.
8504
6c42fc3e
DH
85052013-09-05 Daniel Hackney <dan@haxney.org>
8506
8507 * dired-x.el:
8508 * net/ange-ftp.el:
8509 * net/browse-url.el:
8510 * net/dbus.el:
8511 * net/eudc.el:
8512 * net/eudcb-ldap.el:
8513 * net/eww.el:
8514 * net/imap.el:
8515 * printing.el:
8516 * vc/ediff-diff.el:
8517 * vc/ediff-init.el:
8518 * vc/ediff-merg.el:
8519 * vc/ediff-mult.el:
8520 * vc/ediff-util.el:
8521 * vc/ediff-wind.el:
8522 * vc/ediff.el:
8523 * vc/emerge.el:
8524 * vc/pcvs.el:
8525 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8526 byte compiler. Remove some unused let-bound variables.
8527
4c528aab
SM
85282013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8529
8530 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8531 a "ref-cell", since it gets better optimized (bug#14883).
8532
bd15c390
GM
85332013-09-05 Glenn Morris <rgm@gnu.org>
8534
8535 * progmodes/cc-awk.el (c-forward-sws): Declare.
8536
1c3ac2e5
GM
85372013-09-04 Glenn Morris <rgm@gnu.org>
8538
8539 * generic-x.el [rul-generic-mode]: Require cc-mode.
8540 (c++-mode-syntax-table): Declare.
8541 (rul-generic-mode-syntax-table): Init in the defvar.
8542
52b1cc79
SM
85432013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8544
c828af56
SM
8545 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8546 (vc-do-command, vc-set-async-update):
8547 * vc/vc-mtn.el (vc-mtn-dir-status):
8548 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8549 (vc-hg-pull, vc-hg-merge-branch):
8550 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8551 (vc-git-merge-branch):
8552 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8553 (vc-cvs-dir-status-files):
8554 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8555 (vc-bzr-dir-status-files):
8556 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8557 * vc/vc-annotate.el: Use lexical-binding.
8558 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8559 (vc-sentinel-movepoint): Declare.
8560 (vc-annotate): Don't use `goto-line'.
8561 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8562 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8563 (vc-sentinel-movepoint): Declare.
8564 * vc/vc-svn.el: Use lexical-binding.
8565 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8566 * vc/vc-sccs.el:
8567 * vc/vc-rcs.el: Use lexical-binding.
8568
abae272c
SM
8569 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8570 `deleted'. Don't drop errors silently.
8571
52b1cc79
SM
8572 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8573
63191d9f
XF
85742013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8575
8576 * vc/vc.el (vc-ignore): Rewrite.
8577 (vc-default-ignore): New function.
8578 (vc-default-ignore-completion-table): Use find-ignore-file.
8579
8580 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8581 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8582 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8583 Remove. Most code moved to vc.el.
8584
9d3f707c
SM
85852013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8586
abae272c 8587 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
8588 * net/tramp-smb.el (tramp-smb-get-file-entries):
8589 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8590 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8591
fde38d49
SM
8592 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8593 Update call to it.
8594 (eww-change-select): Remove unused var `properties'.
8595 (eww-make-unique-file-name): Remove unused var `base'.
8596
8597 * finder.el (finder-compile-keywords): Don't mess with windows.
8598
84032db7
SM
8599 * calculator.el (calculator-funcall): Fix typo in last change.
8600
724f5e41
SM
8601 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8602
14b511d4
SM
8603 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8604 <pkg>-autoloads.el file stop us.
8605
9d3f707c 8606 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 8607 warnings, and factor out common code.
9d3f707c 8608
88527bc0
DG
86092013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8610
8611 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8612 two-character operators and whether the character preceding them
8613 changes their meaning (Bug#15208).
8614
96edb677
FEG
86152013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8616
8617 Format code sent to Python shell for robustness.
9d3f707c
SM
8618 * progmodes/python.el (python-shell-buffer-substring):
8619 New function.
96edb677
FEG
8620 (python-shell-send-region, python-shell-send-buffer): Use it.
8621
95beaef3
MA
86222013-09-02 Michael Albinus <michael.albinus@gmx.de>
8623
8624 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8625 * net/tramp.el (tramp-user-error): ... here.
8626 (tramp-find-method, tramp-check-proper-host)
8627 (tramp-dissect-file-name, tramp-debug-message)
8628 (tramp-handle-shell-command):
8629 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8630 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8631
8632 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8633
f167c27b
MR
86342013-09-02 Martin Rudalics <rudalics@gmx.at>
8635
8636 * avoid.el (mouse-avoidance-point-position)
8637 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8638 returns nil.
8639
cd16c5f1
FEG
86402013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8641
8642 * progmodes/python.el (python-shell-completion-get-completions):
8643 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 8644 (python-nav-if-name-main): New command.
cd16c5f1 8645
e73c3a0d
GM
86462013-09-01 Glenn Morris <rgm@gnu.org>
8647
f8ccce03
GM
8648 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8649 Avoid leading space in $wins. Otherwise the sed command used by
8650 eg compile-main ends up containing "/*.el". (Bug#15170)
8651
e73c3a0d
GM
8652 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8653
415f808e
GM
86542013-08-30 Glenn Morris <rgm@gnu.org>
8655
8656 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8657 Fix is-this-a-directory logic. (Bug#15220)
8658
f069bba8
SM
86592013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8660
112798c1
SM
8661 * textmodes/css-mode.el: Use SMIE.
8662 (css-smie-grammar): New var.
8663 (css-smie--forward-token, css-smie--backward-token)
8664 (css-smie-rules): New functions.
8665 (css-mode): Use them.
8666 (css-navigation-syntax-table): Remove var.
8667 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8668 (css-indent-calculate, css-indent-line): Remove functions.
8669
8670 Misc changes to reduce use of `(lambda...); and other cleanups.
8671 * cus-edit.el: Use lexical-binding.
8672 (customize-push-and-save, customize-apropos)
8673 (custom-buffer-create-internal): Use closures.
8674 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8675 * progmodes/ada-xref.el: Use setq.
8676 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8677 * dframe.el: Use lexical-binding.
8678 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8679 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8680 * descr-text.el: Use lexical-binding.
8681 (describe-text-widget, describe-text-sexp, describe-property-list):
8682 Use closures.
8683 * comint.el (comint-history-isearch-push-state): Use a closure.
8684 * calculator.el: Use lexical-binding.
8685 (calculator-number-to-string): Make it work with lexical-binding.
8686 (calculator-funcall): Same and use cl-letf.
8687
2da4c3ab
SM
8688 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8689 (lisp--company-doc-string, lisp--company-location): New functions.
8690 (lisp-completion-at-point): Use them to improve Company support.
8691
f069bba8
SM
8692 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8693 params of lambda expressions.
8694 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8695 (ruby-smie--opening-pipe-p): New function.
8696 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8697 symbols and matched |...| for formal params.
8698 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8699 from being treated as hanging. Handle "rescue".
8700
6758b6a8
GM
87012013-08-29 Glenn Morris <rgm@gnu.org>
8702
8703 * progmodes/cc-engine.el (c-pull-open-brace):
8704 Move definition before use.
8705
e8dfd197
SM
87062013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8709 are immutable. Don't use `unsafe' any more.
8710 (cl--defsubst-expand): Don't substitute at the same time as keeping
8711 a residual unused let-binding. Don't use `unsafe' any more.
8712
cc585c96
GM
87132013-08-29 Glenn Morris <rgm@gnu.org>
8714
ba579ea6
GM
8715 * calendar/cal-china.el (calendar-chinese-year-cache):
8716 Recenter on 2015.
8717
8201a87e
GM
8718 * nxml/nxml-util.el (nxml-debug-clear-inside):
8719 Use cl-loop rather than loop.
8720
6ee877c7
GM
8721 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8722
cc585c96
GM
8723 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8724
27be8d39
GM
87252013-08-28 Glenn Morris <rgm@gnu.org>
8726
397440a1
GM
8727 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8728
2bb762d4
GM
8729 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8730
27be8d39
GM
8731 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8732
2d69b99e
SM
87332013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8734
f663baa7
SM
8735 * simple.el (repeat-complex-command--called-interactively-skip):
8736 New function.
8737 (repeat-complex-command): Use it (bug#14136).
8738
dd4f8b74
SM
8739 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8740 (c-define-abbrev-table): Add `doc' argument.
8741 (c-mode-abbrev-table, c++-mode-abbrev-table)
8742 (objc-mode-abbrev-table, java-mode-abbrev-table)
8743 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8744 (awk-mode-abbrev-table): Use it.
8745 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8746 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8747 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8748 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8749 Move initialization into the declaration; and remove any
8750 autoload cookie.
8751
b58969f7
SM
8752 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8753 and dynamic let binding.
8754
4021d6a6
SM
8755 * vc/smerge-mode.el: Remove redundant :group args.
8756
2d69b99e
SM
8757 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8758 to load-path.
8759
274919fd
JL
87602013-08-28 Juri Linkov <juri@jurta.org>
8761
8762 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8763 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8764 (isearch-other-meta-char): Handle an undefined shifted printing
8765 character by downshifting it. (Bug#15200)
8766
121f8c95
JL
87672013-08-28 Juri Linkov <juri@jurta.org>
8768
8769 * isearch.el (isearch-search): Change regexp error message for
8770 non-regexp searches. (Bug#15166)
8771
50b13cde
PE
87722013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8773
8774 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8775 for portability to hosts where /bin/sh has problems.
8776
95888bca
SM
87772013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8780
bbe558f1
JL
87812013-08-27 Juri Linkov <juri@jurta.org>
8782
8783 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8784 in the keyboard macro. (Bug#15126)
8785
26f98a7d
JL
87862013-08-27 Juri Linkov <juri@jurta.org>
8787
8788 * isearch.el (isearch-quote-char): Comment out converting unibyte
8789 to multibyte, thus syncing with its `quoted-insert' counterpart.
8790 (Bug#15166)
8791
7c97d35e
MR
87922013-08-27 Martin Rudalics <rudalics@gmx.at>
8793
8794 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
8795 argument in call of get-largest-window (Bug#15185).
8796 Reported by Stephen Leake.
7c97d35e 8797
a0b5606e 87982013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
8799
8800 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8801
9e89d835
SM
88022013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8805 from a matcher-function unless there's no more matches (bug#15161).
8806
78fc2530
MA
88072013-08-26 Michael Albinus <michael.albinus@gmx.de>
8808
8809 * minibuffer.el: Revert change from 2013-08-20.
8810
8811 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8812 with text property `tramp-default', if appropriate.
8813 (tramp-check-proper-host): New defun.
8814 (tramp-dissect-file-name): Do not check hostname. Revert change
8815 of 2013-03-18.
8816 (tramp-backtrace): Make VEC-OR-PROC optional.
8817
8818 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8819 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8820 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
8821 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8822 Apply `tramp-check-proper-host'.
78fc2530 8823
edca97cd
TH
88242013-08-26 Tassilo Horn <tsdh@gnu.org>
8825
8826 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8827 lambda expression in order to have `describe-variable' display it.
8828
df54bcbd
MA
88292013-08-26 Michael Albinus <michael.albinus@gmx.de>
8830
8831 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8832 BUF can be optional. (Bug#15186)
8833
eed99101
XF
88342013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8835
8836 * progmodes/flymake.el (flymake-get-real-file-name-function):
8837 Fix broken customization. (Bug#15184)
8838
b5eb9035
AM
88392013-08-25 Alan Mackenzie <acm@muc.de>
8840
8a51e842
AM
8841 Improve indentation of bracelists defined by macros (without "=").
8842
8843 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8844 expansion begins with "{", regard it as bracelist when it doesn't
8845 contain a ";".
8846
869455d4
AM
8847 Parse C++ inher-intro when there's a template split over 2 lines.
8848
8849 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8850 rigorously the search for "class" etc. followed by ":".
8851
8852 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8853 random languages a regexp which never matches rather than nil.
8854
b5eb9035
AM
8855 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8856
8857 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8858 (c-awk-regexp-one-line-possibly-open-char-list-re)
8859 (c-awk-one-line-possibly-open-regexp-re)
8860 (c-awk-one-line-non-syn-ws*-re): Remove.
8861 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8862 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8863 (c-awk-space*-unclosed-regexp-/-re): New constants.
8864 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8865 aren't regexp delimiters.
8866
8867 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8868 handling for a rare situation in AWK Mode involving unterminated
8869 strings/regexps.
8870
61611d54
GM
88712013-08-23 Glenn Morris <rgm@gnu.org>
8872
2d85dc34
GM
8873 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8874
cb8d2612
GM
8875 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8876
bb35f42f
GM
8877 * files.el (create-file-buffer): If the result would begin with
8878 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 8879
b9808e77
SM
88802013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8881
e3a66363
SM
8882 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8883 text-properties (bug#15155).
8884
b9808e77
SM
8885 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8886 exist any more.
8887 (calc-keypad-redraw): Remove unused var `pad'.
8888 (calc-keypad-press): Remove unused var `menu'.
8889
7fd5f65e
MR
88902013-08-23 Martin Rudalics <rudalics@gmx.at>
8891
b9808e77
SM
8892 * window.el (display-buffer-pop-up-frame):
8893 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
8894 use it as the new frame's buffer (Bug#15133).
8895
8352b530
SM
88962013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * calendar/timeclock.el: Minor cleanups.
8899 (timeclock-ask-before-exiting, timeclock-use-display-time):
8900 Use `symbol'.
8901 (timeclock-modeline-display): Define as alias before the
8902 actual definition.
8903 (timeclock-mode-line-display): Use define-minor-mode.
8904 (timeclock-day-list-template): Make it a function, add an argument.
8905 (timeclock-day-list-required, timeclock-day-list-length)
8906 (timeclock-day-list-debt, timeclock-day-list-span)
8907 (timeclock-day-list-break): Adjust calls accordingly.
8908
9f7b1925
SM
89092013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8910
8911 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8912 Use read--expression so that completion works again.
8913
6e50e983
SS
89142013-08-21 Sam Steingold <sds@gnu.org>
8915
8916 Add rudimentary inferior shell interaction
8917 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8918 (sh-set-shell): Reset it.
9f7b1925
SM
8919 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8920 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 8921
dbb0d350
SM
89222013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8923
8924 * align.el: Use lexical-binding.
8925 (align-region): Simplify accordingly.
8926
c88586a9
MA
89272013-08-20 Michael Albinus <michael.albinus@gmx.de>
8928
8929 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8930
8931 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8932 `non-essential' up.
8933
f95527c8
MA
89342013-08-17 Michael Albinus <michael.albinus@gmx.de>
8935
8936 * net/tramp.el:
8937 * net/tramp-adb.el:
8938 * net/tramp-cmds.el:
8939 * net/tramp-ftp.el:
8940 * net/tramp-gvfs.el:
8941 * net/tramp-gw.el:
8942 * net/tramp-sh.el: Don't wrap external variable declarations by
8943 `eval-when-compile'.
8944
4b5fe4ee
LMI
89452013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8946
8947 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8948 now that Emacs supports ImageMagick animations.
8949
13c366c9
MA
89502013-08-16 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8953 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8954
3dfc5cd6
MR
89552013-08-16 Martin Rudalics <rudalics@gmx.at>
8956
8957 * window.el (mouse-autoselect-window-select): Do autoselect when
8958 mouse pointer is on margin.
8959
4bbb4381
WP
89602013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8961
8962 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8963
3a2ddc2d
GM
89642013-08-16 Glenn Morris <rgm@gnu.org>
8965
e8bedf5a
GM
8966 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8967 Handle "Remote Directory" response of some clients. (Bug#15058)
8968
58c4682f
GM
8969 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8970 Tweak warning. (Bug#14926)
8971
57953f49
GM
8972 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8973 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8974
3a2ddc2d
GM
8975 * image-mode.el (image-mode-map): Add menu items to reverse,
8976 increase, decrease, reset animation speed.
8977 (image--set-speed, image-increase-speed, image-decrease-speed)
8978 (image-reverse-speed, image-reset-speed): New functions.
8979 (image-mode-map): Add bindings for speed commands.
8980
8981 * image.el (image-animate-get-speed, image-animate-set-speed):
8982 New functions.
8983 (image-animate-timeout): Respect image :speed property.
8984
10fa0ed3
SM
89852013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8988 previous line (bug#15101).
8989 (debugger-eval-expression, debugger-record-expression):
8990 Use read--expression (bug#15102).
8991
5d89d9d2
MA
89922013-08-15 Michael Albinus <michael.albinus@gmx.de>
8993
8994 Remove byte compiler warnings, visible when compiling with
8995 `byte-compile-force-lexical-warnings' set to t.
8996
8997 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8998 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8999 (tramp-handle-unhandled-file-name-directory)
9000 (tramp-handle-file-notify-add-watch, tramp-action-login)
9001 (tramp-action-succeed, tramp-action-permission-denied)
9002 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9003 arguments with "_".
9004
9005 * net/tramp-adb.el (tramp-adb-parse-device-names)
9006 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9007 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9008 (tramp-adb-handle-file-truename): Remove unused arguments.
9009
9010 * net/tramp-cache.el (tramp-flush-directory-property)
9011 (tramp-flush-connection-property, tramp-list-connections)
9012 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9013
10fa0ed3
SM
9014 * net/tramp-compat.el (tramp-compat-make-temp-file):
9015 Rename FILENAME to F.
5d89d9d2
MA
9016
9017 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9018 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9019 (tramp-zeroconf-parse-workstation-device-names)
9020 (tramp-zeroconf-parse-webdav-device-names)
9021 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9022
9023 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9024 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9025
9026 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9027 arguments.
9028 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9029 (tramp-sh-handle-insert-file-contents-literally)
9030 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9031 with "_".
9032 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9033 Remove unused variables.
9034
9035 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9036 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9037 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9038
9039 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9040 Make them a defconst.
9041 (tramp-uuencode-region): Remove unused variable.
9042
62f33bae
JB
90432013-08-14 Juanma Barranquero <lekktu@gmail.com>
9044
9045 * frameset.el (frameset--prop-setter): New function.
9046 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
9047 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9048 parameter was already set in FILTERED. Doc fix.
9049 (frameset--record-minibuffer-relationships): Allow saving a
9050 minibufferless frame without its corresponding minibuffer frame.
9051 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9052 frame, if the frame id matches.
9053 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9054 frames before orphaned ones.
9055 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 9056
c660a885
MR
90572013-08-14 Martin Rudalics <rudalics@gmx.at>
9058
9059 * window.el (window-make-atom): Don't overwrite parameter
9060 already present.
9061 (display-buffer-in-atom-window): Handle special case where we
9062 split an already atomic window.
9063 (window--major-non-side-window, display-buffer-in-side-window)
9064 (window--side-check): Ignore minibuffer window when walking
9065 window tree.
9066 (window-deletable-p): Return 'frame only if no other frame uses
9067 our minibuffer window.
9068 (record-window-buffer): Run buffer-list-update-hook.
9069 (split-window): Make sure window--check-frame won't destroy an
9070 existing atomic window in case the new window gets nested
9071 inside.
9072 (display-buffer-at-bottom): Ignore minibuffer window when
9073 walking window tree. Don't split a side window.
9074 (pop-to-buffer): Don't set-buffer here, the select-window call
9075 should do that.
9076 (mouse-autoselect-window-select): Autoselect only if we are in the
9077 text portion of the window.
9078
8259030d
LMI
90792013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9080
21c58ae2
LMI
9081 * net/shr.el (shr-parse-image-data): New function to grab both the
9082 data itself and the Content-Type.
9083 (shr-put-image): Use it.
9084
9085 * net/eww.el (eww-display-image): Ditto.
9086
8259030d
LMI
9087 * image.el (image-content-type-suffixes): New variable.
9088
ad756449
FEG
90892013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9090
9091 * progmodes/python.el (python-imenu--build-tree)
9092 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9093
f73f4ce6
XF
90942013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9095
9096 * simple.el (backward-word): Mention the optional argument.
9097
1f585e65
SM
90982013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * frameset.el (frameset--make): Rename constructor from make-frameset.
9101 (frameset-p, frameset-valid-p): Don't autoload.
9102 (frameset-valid-p): Use normal accessors.
9103
af1c6c84
GM
91042013-08-13 Glenn Morris <rgm@gnu.org>
9105
55e47f95
GM
9106 * progmodes/compile.el (compile-command): Tweak example in doc.
9107 * obsolete/scribe.el (scribe-mode):
9108 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9109
f0024d8c
GM
9110 * mail/feedmail.el (feedmail-confirm-outgoing)
9111 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9112
9113 * cus-start.el (truncate-partial-width-windows): Fix type.
9114
9115 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9116
af1c6c84
GM
9117 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9118
5514cc4c
SM
91192013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9120
9121 * emacs-lisp/timer.el (timer--time-setter): New function.
9122 (timer--time): Use it as gv-setter.
9123
9124 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9125 setter is not a symbol.
9126
7997a2f1
GJ
91272013-08-12 Grégoire Jadi <daimrod@gmail.com>
9128
9129 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9130 if sending fails. This makes debugging easier.
9131
01f1a9ab
JB
91322013-08-12 Juanma Barranquero <lekktu@gmail.com>
9133
9134 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9135 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9136 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9137
594a4307
EZ
91382013-08-12 Eli Zaretskii <eliz@gnu.org>
9139
9140 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9141
7a22490f 91422013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
9143
9144 * format.el (format-annotate-function):
9145 Handle read-only text properties in the source. (Bug#14887)
9146
3e41a054
LMI
91472013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9148
5514cc4c
SM
9149 * net/eww.el (eww-display-html): Ignore coding system errors.
9150 One web site uses "utf-8lias" as the coding system.
3e41a054 9151
7ec326db
JB
91522013-08-11 Juanma Barranquero <lekktu@gmail.com>
9153
9154 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9155
5660113b
JB
91562013-08-10 Juanma Barranquero <lekktu@gmail.com>
9157
9a4ebc74
JB
9158 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9159 (tutorial--detailed-help): Remove unused local variables.
9160 (tutorial--save-tutorial-to): Use ignore-errors.
9161 (help-with-tutorial): Use looking-at-p.
9162
9163 * view.el (view-buffer-other-window, view-buffer-other-frame):
9164 Mark unused arguments.
9165
9166 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9167 (woman-select-symbol-fonts, woman, woman-find-file)
9168 (woman-insert-file-contents, woman-non-underline-faces):
9169 Use string-match-p.
9170 (woman1-unquote): Move declaration.
9171
9172 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9173 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9174 argument. Remove unused local variable.
9175 (xml-parse-elem-type): Use string-match-p.
9176 (xml-substitute-numeric-entities): Use ignore-errors.
9177
45fdb482
JB
9178 * calculator.el (calculator): Mark unused argument.
9179 (calculator-paste, calculator-quit, calculator-integer-p):
9180 Use ignore-errors.
9181 (calculator-string-to-number, calculator-decimal, calculator-exp)
9182 (calculator-op-or-exp): Use string-match-p.
9183
9184 * dired.el (dired-buffer-more-recently-used-p): Declare.
9185 (dired-insert-set-properties, dired-insert-old-subdirs):
9186 Use ignore-errors.
9187
9188 * dired-aux.el (dired-compress): Use ignore-errors.
9189 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9190 (dired-do-async-shell-command, dired-do-shell-command)
9191 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9192 (dired-insert-subdir-validate): Use string-match-p.
9193 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9194 (dired-add-entry): Use string-match-p, looking-at-p.
9195 (dired-insert-subdir-newpos): Remove unused local variable.
9196
9197 * filenotify.el (file-notify-callback): Remove unused local variable.
9198
9199 * filesets.el (filesets-error): Mark unused argument.
9200 (filesets-which-command-p, filesets-filter-dir-names)
9201 (filesets-directory-files, filesets-get-external-viewer)
9202 (filesets-ingroup-get-data): Use string-match-p.
9203
9204 * find-file.el (ff-other-file-name, ff-other-file-name)
9205 (ff-find-the-other-file, ff-cc-hh-converter):
9206 Remove unused local variables.
9207 (ff-get-file-name): Use string-match-p.
9208 (ff-all-dirs-under): Use ignore-errors.
9209
9210 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9211 (follow-select-if-visible): Remove unused local variable.
9212
9213 * forms.el (read-file-filter): Move declaration.
9214 (forms--make-format, forms--make-parser, forms-insert-record):
9215 Quote function with #'.
9216 (forms--update): Use string-match-p. Quote function with #'.
9217
9218 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9219 (help-make-xrefs): Use looking-at-p.
9220 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9221
9222 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9223 (ibuffer-confirm-operation-on): Use string-match-p.
9224
9225 * msb.el (msb-item-handler, msb-dired-item-handler):
9226 Mark unused arguments.
9227
9228 * ses.el (ses-decode-cell-symbol)
9229 (ses-kill-override): Remove unused local variable.
9230 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9231 (ses-load): Use ignore-errors, looking-at-p.
9232 (ses-jump-safe): Use ignore-errors.
9233 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9234
9235 * tabify.el (untabify, tabify): Mark unused arguments.
9236
9237 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9238 Mark unused argument.
9239 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9240 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9241
c880af52
JB
9242 * emacs-lisp/timer.el (timer--time): Define setter with
9243 gv-define-setter to avoid deprecation warning.
9244
5660113b 9245 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 9246 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
9247 (cmpl-statistics-block): Remove (body was commented out).
9248 All callers changed.
9249 (add-completions-from-buffer, load-completions-from-file):
9250 Remove unused variables.
9251
156aab80
JB
92522013-08-09 Juanma Barranquero <lekktu@gmail.com>
9253
5c5dee78
JB
9254 * filecache.el (file-cache-delete-file-list):
9255 Print message only when told so.
9256 (file-cache-files-matching): Use #' in mapconcat argument.
9257
156aab80
JB
9258 * ffap.el (ffap-url-at-point): Fix reference to variable
9259 thing-at-point-default-mail-uri-scheme.
9260
ad9dcd70
SM
92612013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9262
54bd972f
SM
9263 * subr.el (define-error): New function.
9264 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9265 error-file-not-found and define with define-error.
9266 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9267 and define with define-error.
9268 * userlock.el (file-locked, file-supersession):
9269 * simple.el (mark-inactive):
9270 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9271 * progmodes/ada-mode.el (ada-mode-errors):
9272 * play/life.el (life-extinct):
9273 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9274 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9275 * nxml/rng-util.el (rng-error):
9276 * nxml/rng-uri.el (rng-uri-error):
9277 * nxml/rng-match.el (rng-compile-error):
9278 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9279 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9280 * nxml/nxml-rap.el (nxml-scan-error):
9281 * nxml/nxml-outln.el (nxml-outline-error):
9282 * net/soap-client.el (soap-error):
9283 * net/gnutls.el (gnutls-error):
9284 * net/ange-ftp.el (ftp-error):
9285 * mpc.el (mpc-proc-error):
9286 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9287 (json-number-format, json-string-escape, json-string-format)
9288 (json-key-format, json-object-format):
9289 * jka-compr.el (compression-error):
9290 * international/quail.el (quail-error):
9291 * international/kkc.el (kkc-error):
9292 * emacs-lisp/ert.el (ert-test-failed):
9293 * calc/calc.el (calc-error, inexact-result, math-overflow)
9294 (math-underflow):
9295 * bookmark.el (bookmark-error-no-filename):
9296 * epg.el (epg-error): Define with define-error.
9297
0ea9e53a
SM
9298 * time.el (display-time-event-handler)
9299 (display-time-next-load-average): Don't call sit-for since it seems
9300 unnecessary (bug#15045).
9301
b0429158
SM
9302 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9303 Use #' instead of ' to quote functions.
9304 (checkdoc-output-mode): Use setq-local.
9305 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9306 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9307 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9308 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9309 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9310 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9311 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9312 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9313
ad9dcd70
SM
9314 * ido.el (ido-completion-help): Fix up compiler warning.
9315
77187e6f
JB
93162013-08-09 Juanma Barranquero <lekktu@gmail.com>
9317
9318 * frameset.el (frameset-p): Add autoload cookie.
9319 (frameset--jump-to-register): New function, based on code moved from
9320 register.el.
9321 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9322
9323 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9324 (frameset-restore, frameset-save, frameset-session-filter-alist):
9325 Remove declarations.
9326 (register-alist): Doc fix.
9327 (frameset-to-register): Move to frameset.el.
9328 (jump-to-register, describe-register-1): Remove frameset-specific code.
9329
9d3aa82c
JB
93302013-08-08 Juanma Barranquero <lekktu@gmail.com>
9331
9332 * allout-widgets.el (allout-widgets-pre-command-business)
9333 (allout-widgets-post-command-business)
9334 (allout-widgets-after-change-handler)
9335 (allout-decorate-item-and-context, allout-set-boundary-marker)
9336 (allout-body-modification-handler)
9337 (allout-graphics-modification-handler): Mark ignored arguments.
9338 (allout-widgets-post-command-business)
9339 (allout-widgets-exposure-change-processor)
9340 (allout-widgets-exposure-undo-processor)
9341 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9342 (allout-parse-item-at-point, allout-decorate-item-guides)
9343 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9344 * allout.el (epa-passphrase-callback-function): Declare.
9345 (allout-overlay-insert-in-front-handler)
9346 (allout-overlay-interior-modification-handler)
9347 (allout-isearch-end-handler, allout-chart-siblings)
9348 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9349 (allout-yank-processing, allout-process-exposed)
9350 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 9351 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
9352 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9353 (lisp-indent-defform): Mark ignored arguments.
9354 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9355 (calculate-lisp-indent): Remove unused variables.
9356 * international/characters.el (indian-2-column, arabic-2-column)
9357 (tibetan): Mark ignored arguments.
9358 (use-cjk-char-width-table): Mark ignored arguments.
9359 Remove unused variables.
9360 * international/fontset.el (build-default-fontset-data)
9361 (x-compose-font-name, create-fontset-from-fontset-spec):
9362 Mark ignored arguments.
9363 (fontset-plain-name): Remove unused variables.
9364 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9365 (keyboard-coding-system): Mark ignored arguments.
9366 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9367 * help.el (resize-temp-buffer-window):
9368 * window.el (display-buffer-in-major-side-window)
9369 (display-buffer-in-side-window, display-buffer-in-previous-window):
9370 Remove unused variables.
9371 * isearch.el (isearch-forward-symbol):
9372 * version.el (emacs-bzr-version-bzr):
9373 * international/mule-cmds.el (current-language-environment):
9374 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9375 (x-handle-display):
9376 * term/pc-win.el (x-list-fonts, x-display-planes)
9377 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9378 (x-server-version, x-display-screens, x-display-mm-height)
9379 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9380 (x-selection-owner-p, x-own-selection-internal)
9381 (x-disown-selection-internal, x-get-selection-internal)
9382 (msdos-initialize-window-system):
9383 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9384 * term/x-win.el (x-handle-no-bitmap-icon):
9385 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9386 (vc-default-find-file-hook, vc-default-extra-menu):
9387 Mark ignored arguments.
9388
0ca3f70e
SM
93892013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9392 break-condition in the context of the debugged code (bug#12685).
9393
74c5d24c
CS
93942013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9395
9396 * comint.el:
9397 Do not use an overlay to highlight the last prompt. (Bug#14744)
9398 (comint-mode): Make comint-last-prompt buffer local.
9399 (comint-last-prompt): New variable.
9400 (comint-last-prompt-overlay): Remove. Superseded by
9401 comint-last-prompt.
0ca3f70e
SM
9402 (comint-snapshot-last-prompt, comint-output-filter):
9403 Use comint-last-prompt.
74c5d24c 9404
c03c02ee
JB
94052013-08-08 Juanma Barranquero <lekktu@gmail.com>
9406
a3738d20 9407 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
9408 (frameset-save): Check validity of the resulting frameset.
9409
04263d23
XF
94102013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9411
9412 * ido.el (ido-record-command): Add doc string.
9413
76c5e5ab
JB
94142013-08-08 Juanma Barranquero <lekktu@gmail.com>
9415
9416 * frameset.el (frameset): Do not disable creation of the default
9417 frameset-p predicate. Doc fix.
9418 (frameset-valid-p): New function, copied from the old predicate-p.
9419 Add additional checks.
9420 (frameset-restore): Check with frameset-valid-p.
9421 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9422 (frameset-name, frameset-description, frameset-properties)
9423 (frameset-states): Add docstring.
f9dbf1cb
JB
9424 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9425 (frameset-filter-alist): Doc fixes.
76c5e5ab 9426
bd0c3c0b
JB
94272013-08-08 Juanma Barranquero <lekktu@gmail.com>
9428
9429 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9430
c735544c
SM
94312013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9432
9433 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9434 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9435 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9436 (byte-compile-normal-call): Remove obsolescence check.
9437
2805a651
JB
94382013-08-08 Juanma Barranquero <lekktu@gmail.com>
9439
3677ffeb
JB
9440 * frameset.el (frameset-restore): Doc fix.
9441
2805a651
JB
9442 * register.el (frameset-frame-id, frameset-frame-with-id)
9443 (frameset-p, frameset-restore, frameset-save): Declare.
9444 (register-alist): Document framesets.
9445 (frameset-session-filter-alist): Declare.
9446 (frameset-to-register): New function.
9447 (jump-to-register): Implement jumping to framesets. Doc fix.
9448 (describe-register-1): Describe framesets.
9449
9450 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9451
a912c016
JB
94522013-08-07 Juanma Barranquero <lekktu@gmail.com>
9453
9454 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9455 Use lexical-binding.
9456
9457 * frameset.el (frameset): Use type vector, not list (incompatible
9458 change). Do not declare a new constructor, use the default one.
9459 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9460 `name' and `description', respectively, and add read-only slot
9461 `timestamp'. Doc fixes.
9462 (frameset-copy, frameset-persistent-filter-alist)
9463 (frameset-filter-alist, frameset-switch-to-gui-p)
9464 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9465 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9466 (frameset-filter-iconified, frameset-keep-original-display-p):
9467 Doc fixes.
9468 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9469 Rename from frameset-filter-(save|restore)-param. All callers changed.
9470 Doc fix.
9471 (frameset-p): Adapt to change to vector and be more thorough.
9472 Change arg name to OBJECT. Doc fix.
9473 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9474 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9475 All callers changed.
9476 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9477 All callers changed.
9478 (frameset--record-minibuffer-relationships): Rename from
9479 frameset--process-minibuffer-frames. All callers changed.
9480 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9481 Use new default constructor (again). Doc fix.
c295fc18 9482 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
9483 All callers changed.
9484 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9485 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9486 Doc fix.
9487 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9488 PARAMETERS and WINDOW-STATE, respectively.
9489 (frameset-restore): Add new keyword argument PREDICATE.
9490 Reset frameset--target-display to nil. Doc fix.
9491
bb41480a
SM
94922013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9493
f001e98e
SM
9494 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9495 (bat-mode): Use it.
9496 (bat-mode-syntax-table): Mark \n as end-of-comment.
9497 (bat-font-lock-keywords): Remove comment rule.
9498
7679edb1
SM
9499 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9500 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9501
bb41480a
SM
9502 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9503 (byte-compile-callargs-warn): Use `push'.
9504 (byte-compile-arglist-warn): Ignore higher-order "calls".
9505 (byte-compile-file-form-autoload): Use `pcase'.
9506 (byte-compile-function-form): If quoting a symbol, check that it exists.
9507
cdc1ebb9
EZ
95082013-08-07 Eli Zaretskii <eliz@gnu.org>
9509
9510 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9511 and add a few popular commands found in batch files.
9512 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9513 (dos-mode): Doc fixes.
9514
312b1740
SM
95152013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9516
9517 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9518 (dos-mode): Use setq-local. Add space after "rem".
9519 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9520 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9521
400a3178
AM
95222013-08-07 Arni Magnusson <arnima@hafro.is>
9523
9524 * progmodes/dos.el: New file.
9525 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9526 dos-mode.
9527
3b5c03d3
GM
95282013-08-06 Glenn Morris <rgm@gnu.org>
9529
9530 * calendar/calendar.el: Add new faces, and day-header-array.
9531 (calendar-weekday-header, calendar-weekend-header)
9532 (calendar-month-header): New faces.
9533 (calendar-day-header-construct): New function.
9534 (calendar-day-header-width): Also :set calendar-day-header-array.
9535 (calendar-american-month-header, calendar-european-month-header)
9536 (calendar-iso-month-header): Use calendar- faces.
9537 (calendar-generate-month):
9538 Use calendar-day-header-array for day headers; apply faces to them.
9539 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9540 (calendar-abbrev-construct): Add optional maxlen argument.
9541 (calendar-day-name-array): Doc fix.
9542 (calendar-day-name-array, calendar-abbrev-length)
9543 (calendar-day-abbrev-array):
9544 Also :set calendar-day-header-array, and maybe redraw.
9545 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 9546 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
9547 (calendar-day-name): Add option to use header array.
9548
ec6a2d7a
LMI
95492013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9550
9551 * net/shr.el (shr-render-td): Remove debugging.
9552 (shr-render-td): Make width computation consistent by defaulting
9553 all zero-width columns to 10 characters. This may not be optimal,
9554 but it's at least consistent.
2122cb6d
LMI
9555 (shr-make-table-1): Redo last change to fix the real problem in
9556 colspan handling.
ec6a2d7a 9557
ed4fd9c5
DA
95582013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9559
0ca3f70e
SM
9560 * files.el (cache-long-line-scans):
9561 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 9562
64e22afe
JB
95632013-08-06 Juanma Barranquero <lekktu@gmail.com>
9564
024b38fc
JB
9565 * frameset.el (frameset, frameset-filter-alist)
9566 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9567 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9568 (frameset-compute-pos): Rename from frameset--compute-pos,
9569 and add docstring.
9570 (frameset-move-onscreen): Use frameset-compute-pos.
9571 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9572
64e22afe
JB
9573 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9574 Fix typos in docstrings.
9575
c8c2aca8
DA
95762013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9577
9578 * frame.el (get-other-frame): Tiny cleanup.
9579
1d237bba
JB
95802013-08-06 Juanma Barranquero <lekktu@gmail.com>
9581
8951efef
JB
9582 * vc/vc.el (vc-default-ignore-completion-table):
9583 Silence byte-compiler warning.
9584
307764cc 9585 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 9586 slot, which can indeed be nil.
307764cc
JB
9587 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9588 Move entry for `left' from persistent to live filter alist.
9589 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9590 Doc fixes.
9591 (frameset-filter-params): When restoring a frame, copy items added to
9592 `filtered', to avoid unwittingly modifying the original parameters.
9593 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9594 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9595
1d237bba
JB
9596 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9597 to use looking-at-p instead of looking-at. (Bug#15028)
9598
dc6c0eda
SM
95992013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9600
9601 Revert introduction of isearch-filter-predicates (bug#14714).
9602 Rely on add-function instead.
9603 * isearch.el (isearch-filter-predicates): Rename it back to
9604 isearch-filter-predicate.
9605 (isearch-message-prefix): Use advice-function-mapc and advice
9606 properties to get the isearch-message-prefix.
9607 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9608 instead of run-hook-with-args-until-failure.
9609 (isearch-filter-visible): Not obsolete any more.
9610 * loadup.el: Preload nadvice.
9611 * replace.el (perform-replace): Revert to funcall
9612 instead of run-hook-with-args-until-failure.
9613 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9614 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9615 dired-isearch-filenames-toggle; make it into a proper minor mode.
9616 Use add/remove-function.
9617 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9618 Call the minor-mode rather than add/remove-hook.
9619 (dired-isearch-filter-filenames):
9620 Remove isearch-message-prefix property.
9621 * info.el (Info--search-loop): New function, extracted from Info-search.
9622 Funcall isearch-filter-predicate instead of
9623 run-hook-with-args-until-failure isearch-filter-predicates.
9624 (Info-search): Use it.
9625 (Info-mode): Use isearch-filter-predicate instead of
9626 isearch-filter-predicates.
9627
290d5b58
DA
96282013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9629
9630 Do not call to `selected-window' where it is assumed by default.
9631 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9632 `window-hscroll', `window-width', `window-height', `window-buffer',
9633 `window-frame', `window-start', `window-point', `next-window'
9634 and `window-display-table'.
9635 * abbrev.el (abbrev--default-expand):
9636 * bs.el (bs--show-with-configuration):
9637 * buff-menu.el (Buffer-menu-mouse-select):
9638 * calc/calc.el (calc):
9639 * calendar/calendar.el (calendar-generate-window):
9640 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9641 (diary-make-entry):
9642 * comint.el (send-invisible, comint-dynamic-complete-filename)
9643 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9644 * completion.el (complete):
9645 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9646 * disp-table.el (describe-current-display-table):
9647 * doc-view.el (doc-view-insert-image):
9648 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9649 * ehelp.el (with-electric-help):
9650 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9651 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9652 * emacs-lisp/helper.el (Helper-help-scroller):
9653 * emulation/cua-base.el (cua--post-command-handler-1):
9654 * eshell/esh-mode.el (eshell-output-filter):
9655 * ffap.el (ffap-gnus-wrapper):
9656 * help-macro.el (make-help-screen):
9657 * hilit-chg.el (highlight-compare-buffers):
9658 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9659 * hl-line.el (global-hl-line-highlight):
9660 * icomplete.el (icomplete-simple-completing-p):
9661 * isearch.el (isearch-done):
9662 * jit-lock.el (jit-lock-stealth-fontify):
9663 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 9664 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
9665 * mpc.el (mpc-tagbrowser, mpc):
9666 * net/rcirc.el (rcirc-any-buffer):
9667 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9668 * play/landmark.el (landmark-max-width, landmark-max-height):
9669 * play/zone.el (zone):
9670 * progmodes/compile.el (compilation-goto-locus):
9671 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9672 * progmodes/etags.el (find-tag-other-window):
9673 * progmodes/fortran.el (fortran-column-ruler):
9674 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9675 * progmodes/verilog-mode.el (verilog-point-text):
9676 * reposition.el (reposition-window):
9677 * rot13.el (toggle-rot13-mode):
9678 * server.el (server-switch-buffer):
9679 * shell.el (shell-dynamic-complete-command)
9680 (shell-dynamic-complete-environment-variable):
9681 * simple.el (insert-buffer, set-selective-display)
9682 (delete-completion-window):
9683 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9684 (speedbar-recenter):
9685 * startup.el (fancy-splash-head):
9686 * textmodes/ispell.el (ispell-command-loop):
9687 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9688 * tutorial.el (help-with-tutorial):
9689 * vc/add-log.el (add-change-log-entry):
9690 * vc/compare-w.el (compare-windows):
9691 * vc/ediff-help.el (ediff-indent-help-message):
9692 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9693 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9694 (ediff-setup-control-frame):
9695 * vc/emerge.el (emerge-position-region):
9696 * vc/pcvs-util.el (cvs-bury-buffer):
9697 * window.el (walk-windows, mouse-autoselect-window-select):
9698 * winner.el (winner-set-conf, winner-undo): Related users changed.
9699
38276e01
JB
97002013-08-05 Juanma Barranquero <lekktu@gmail.com>
9701
9702 * frameset.el (frameset--set-id): Doc fix.
9703 (frameset-frame-id, frameset-frame-id-equal-p)
9704 (frameset-locate-frame-id): New functions.
9705 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9706 (frameset-restore): Use them.
9707
12b4c0ea
DA
97082013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9709
9710 Do not call to `selected-frame' where it is assumed by default.
9711 Affected functions are `raise-frame', `redraw-frame',
9712 `frame-first-window', `frame-terminal' and `delete-frame'.
9713 * calendar/appt.el (appt-disp-window):
9714 * epg.el (epg-wait-for-completion):
9715 * follow.el (follow-delete-other-windows-and-split)
9716 (follow-avoid-tail-recenter):
9717 * international/mule.el (set-terminal-coding-system):
9718 * mail/rmail.el (rmail-mail-return):
9719 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9720 * progmodes/f90.el (f90-add-imenu-menu):
9721 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9722 * server.el (server-switch-buffer):
9723 * simple.el (delete-completion-window):
9724 * talk.el (talk):
9725 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9726 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9727 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9728 * vc/ediff.el (ediff-documentation): Related users changed.
9729 * frame.el (selected-terminal): Remove the leftover.
9730
17f25e76
GM
97312013-08-05 Glenn Morris <rgm@gnu.org>
9732
9733 * calendar/calendar.el (calendar-generate-month):
9734 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
9735 (calendar-generate-month, calendar-font-lock-keywords):
9736 Fix for calendar-day-header-width > length of any day name.
17f25e76 9737
063233c3
JB
97382013-08-05 Juanma Barranquero <lekktu@gmail.com>
9739
9740 * desktop.el (desktop-clear): Use new name of sort predicate.
9741
9742 * frameset.el (frameset): Add docstring. Move :version property to its
9743 own `version' slot.
9744 (frameset-copy): Rename from copy-frameset.
9745 (frameset-p): Check more thoroughly.
9746 (frameset-prop): Do not check for :version, which is no longer a prop.
9747 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9748 Use new :never value instead of t.
9749 (frameset-filter-alist): Expand and clarify docstring.
9750 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9751 (frameset-filter-minibuffer, frameset-filter-save-param)
9752 (frameset-filter-restore-param, frameset-filter-iconified):
9753 Add pointer to docstring of frameset-filter-alist.
9754 (frameset-filter-params): Rename filter values to be more meaningful:
9755 :never instead of t, and reverse the meanings of :save and :restore.
9756 (frameset--process-minibuffer-frames): Clarify error message.
9757 (frameset-save): Avoid unnecessary and confusing call to framep.
9758 Use new BOA constructor for framesets.
9759 (frameset--reuse-list): Doc fix.
9760 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9761 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9762 (frameset-minibufferless-first-p): Doc fix.
9763 Rename from frameset-sort-frames-for-deletion.
9764 (frameset-restore): Doc fixes. Use new function names.
9765 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9766
d5671a82
JB
97672013-08-04 Juanma Barranquero <lekktu@gmail.com>
9768
9769 * desktop.el (desktop-restore-forces-onscreen)
9770 (desktop-restore-reuses-frames): Document :keyword constant values.
9771 (desktop-filter-parameters-alist): Remove, now identical to
9772 frameset-filter-alist.
9773 (desktop--filter-tty*): Remove, moved to frameset.el.
9774 (desktop-save-frameset, desktop-restore-frameset):
9775 Do not pass :filters argument.
9776
9777 * frameset.el (frameset-live-filter-alist)
9778 (frameset-persistent-filter-alist): New variables.
9779 (frameset-filter-alist): Use them. Add autoload cookie.
9780 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9781 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9782 `frameset--id' (it's supposed to be internal to frameset.el).
9783 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9784 (frameset--initial-params): New function.
9785 (frameset--get-frame): Use it. Doc fix.
9786 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9787 Accept :all, not 'all.
9788 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9789 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9790 with fbound symbols. Fix frame id matching, and remove matching ids if
9791 the frame being restored is deleted. Obey :delete.
9792
671d5c16
SM
97932013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9794
9795 * subr.el (macrop): New function.
9796 (text-clone--maintaining): New var.
9797 (text-clone--maintain): Rename from text-clone-maintain. Use it
9798 instead of inhibit-modification-hooks.
9799
9800 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9801 a proxy, so as handle autoloads and redefinitions of the target.
9802 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9803
9804 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9805 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9806 (pcase--mutually-exclusive-p): New function.
9807 (pcase--split-consp): Use it.
9808 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9809 mutually exclusive with the current predicate.
9810
9811 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9812 (edebug-macrop): Remove. Use `macrop' instead.
9813 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9814 (ad-macro-p):
9815 * eshell/esh-cmd.el (eshell-macrop):
9816 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9817
1d44e9dc
SM
98182013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9821 (advice-mapc): New function, using it.
9822 (advice-function-member-p): New function.
9823 (advice--normalize): Store the cdr in advice--saved-rewrite since
9824 that's the part that will be changed.
9825 (advice--symbol-function): New function.
9826 (advice-remove): Handle removal before the function is defined.
9827 Adjust to new advice--saved-rewrite.
9828 (advice-member-p): Use advice-function-member-p and
9829 advice--symbol-function.
9830
5414a283
JB
98312013-08-04 Juanma Barranquero <lekktu@gmail.com>
9832
51d30f2c
JB
9833 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9834 (frameset-filter-minibuffer): Doc fix.
9835 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
9836 (frameset--set-id, frameset--process-minibuffer-frames)
9837 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9838 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 9839
5414a283
JB
9840 * desktop.el (desktop-clear): Only delete frames when called
9841 interactively and desktop-restore-frames is non-nil. Doc fix.
9842 (desktop-read): Set desktop-saved-frameset to nil.
9843
ab419665
XF
98442013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9845
9846 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 9847 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
9848 (vc--add-line, vc--remove-regexp): New functions.
9849
9850 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9851 (vc-svn-ignore-completion-table): New function.
9852
9853 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 9854 (vc-hg-ignore-completion-table)
ab419665
XF
9855 (vc-hg-find-ignore-file): New functions.
9856
9857 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 9858 (vc-git-ignore-completion-table)
ab419665
XF
9859 (vc-git-find-ignore-file): New functions.
9860
9861 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9862
9863 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 9864 (vc-bzr-ignore-completion-table)
ab419665
XF
9865 (vc-bzr-find-ignore-file): New functions.
9866
2613dea2
JB
98672013-08-03 Juanma Barranquero <lekktu@gmail.com>
9868
9869 * frameset.el (frameset-prop): New function and setter.
9870 (frameset-save): Do not modify frame list passed by the caller.
9871
9c959872
SM
98722013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9873
9874 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9875
a104f656
SM
98762013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9877
70122acf
SM
9878 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9879 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9880
a104f656
SM
9881 * custom.el (custom-initialize-default, custom-initialize-set)
9882 (custom-initialize-reset, custom-initialize-changed): Affect the
9883 toplevel-default-value (bug#6275, bug#14586).
9884 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9885 for bug#6275.
9886
f078d570
JB
98872013-08-02 Juanma Barranquero <lekktu@gmail.com>
9888
185e3b5a
JB
9889 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9890 Add cl-def* expressions.
9891
f078d570
JB
9892 * frameset.el (frameset-filter-params): Fix order of arguments.
9893
9421876d
JB
98942013-08-02 Juanma Barranquero <lekktu@gmail.com>
9895
9896 Move code related to saving frames to frameset.el.
9897 * desktop.el: Require frameset.
9898 (desktop-restore-frames): Doc fix.
9899 (desktop-restore-reuses-frames): Rename from
9900 desktop-restoring-reuses-frames.
9901 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9902 (desktop-clear): Clear frames too.
9903 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9904 (desktop--filter-tty*, desktop-save, desktop-read):
9905 Use frameset functions.
9906 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9907 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9908 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9909 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9910 (desktop--process-minibuffer-frames, desktop-save-frames)
9911 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9912 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9913 (desktop--sort-states, desktop-restoring-frames-p)
9914 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9915 (desktop-restoring-frameset-p, desktop-restore-frameset)
9916 (desktop--check-dont-save, desktop-save-frameset): New functions.
9917 (desktop--app-id): New constant.
9918 (desktop-first-buffer, desktop-buffer-ok-count)
9919 (desktop-buffer-fail-count): Move before first use.
9920 * frameset.el: New file.
9921
76dc5996
SM
99222013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9923
9924 * files.el: Use lexical-binding.
9925 (dir-locals-read-from-file): Remove unused `err' variable.
9926 (hack-dir-local-variables--warned-coding): New var.
9927 (hack-dir-local-variables): Use it to avoid repeated warnings.
9928 (make-backup-file-name--default-function): New function.
9929 (make-backup-file-name-function): Use it as default.
9930 (buffer-stale--default-function): New function.
9931 (buffer-stale-function): Use it as default.
9932 (revert-buffer-insert-file-contents--default-function): New function.
9933 (revert-buffer-insert-file-contents-function): Use it as default.
9934 (insert-directory): Avoid add-to-list.
9935
9936 * autorevert.el (auto-revert-handler): Simplify.
9937 Use buffer-stale--default-function.
9938
06d36e2b
TH
99392013-08-01 Tassilo Horn <tsdh@gnu.org>
9940
5f648ab4
TH
9941 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9942
06d36e2b
TH
9943 * whitespace.el (whitespace-ensure-local-variables): New function.
9944 (whitespace-cleanup-region): Call it.
9945 (whitespace-turn-on): Call it.
9946
a43dc424
MA
99472013-08-01 Michael Albinus <michael.albinus@gmx.de>
9948
9949 Complete file name handlers.
9950
9951 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9952 (tramp-handle-verify-visited-file-modtime)
9953 (tramp-handle-file-notify-rm-watch): New functions.
9954 (tramp-call-process): Do not bind `default-directory'.
9955
44e18199
JB
9956 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9957 Order alphabetically.
afe1e4c8
GM
9958 <access-file, add-name-to-file, dired-call-process>:
9959 <dired-compress-file, file-acl, file-notify-rm-watch>:
9960 <file-ownership-preserved-p, file-selinux-context>:
9961 <make-directory-internal, make-symbolic-link, set-file-acl>:
9962 <set-file-selinux-context, set-visited-file-modtime>:
9963 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9964 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9965
9966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
9967 <file-notify-add-watch, file-notify-rm-watch>:
9968 <set-file-times, set-visited-file-modtime>:
9969 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9970 (with-tramp-gvfs-error-message)
9971 (tramp-gvfs-handle-set-visited-file-modtime)
9972 (tramp-gvfs-fuse-file-name): Remove.
9973 (tramp-gvfs-handle-file-notify-add-watch)
9974 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9975 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9976
44e18199
JB
9977 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9978 Order alphabetically.
afe1e4c8
GM
9979 <file-notify-rm-watch>: Use default Tramp handler.
9980 <executable-find>: Remove private handler.
a43dc424
MA
9981 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9982 `default-directory'.
9983 (tramp-sh-handle-executable-find)
9984 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9985 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9986 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9987 Do not use `format' in `tramp-message'.
9988
9989 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
9990 <file-notify-rm-watch, set-visited-file-modtime>:
9991 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9992 (tramp-smb-call-winexe): Do not bind `default-directory'.
9993
7188b515
XF
99942013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9995
9996 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9997
2412ee1a
DG
99982013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9999
10000 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10001 use it.
10002 (log-view-diff-changeset): Same.
10003 (log-view-diff-common): Call backend command `previous-revision'
10004 to find out the previous revision, in both cases. Swap the
10005 variables `to' and `fr', so that `fr' usually refers to the
10006 earlier revision (Bug#14989).
10007
5002a754
KRC
100082013-07-31 Kan-Ru Chen <kanru@kanru.info>
10009
10010 * ibuf-ext.el (ibuffer-filter-by-filename):
10011 Make it work with dired buffers too.
10012
44e18199 100132013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
10014
10015 * emacs-lisp/re-builder.el (reb-color-display-p):
10016 * files.el (save-buffers-kill-terminal):
10017 * net/browse-url.el (browse-url):
10018 * server.el (server-save-buffers-kill-terminal):
10019 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10020 Prefer nil to selected-frame for the first arg of frame-parameter.
10021
aeca3fbb
XF
100222013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10023
10024 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10025
158bc55c
SB
100262013-07-30 Stephen Berman <stephen.berman@gmx.net>
10027
10028 * minibuffer.el (completion--twq-all): Try and preserve each
10029 completion's case choice (bug#14907).
10030
d50fceab
LMI
100312013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10032
ac38e731
LMI
10033 * net/network-stream.el (open-network-stream): Mention the new
10034 :nogreeting parameter.
10035 (network-stream-open-starttls): Use the :nogreeting parameter
10036 (bug#14938).
10037
1211de50
LMI
10038 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10039
997798bf
LMI
10040 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10041 more natural than popping.
10042
d50fceab 10043 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 10044 (shr-urlify): Highlight under mouse.
d50fceab 10045
5c09de04
XF
100462013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10047
207d1d04
XF
10048 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10049
10050 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10051
5c09de04
XF
10052 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10053 buffer for output.
10054
3cd51eaa
XF
10055 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10056 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 10057
44e18199 10058 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 10059 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
10060
10061 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10062
10063 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10064 buffer for output.
10065
35a89bdd
EZ
100662013-07-29 Eli Zaretskii <eliz@gnu.org>
10067
10068 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10069 initial frame is minibuffer-less. (Bug#14841)
10070
78822e94
MA
100712013-07-29 Michael Albinus <michael.albinus@gmx.de>
10072
10073 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10074 option.
10075
10076 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10077 (tramp-maybe-open-connection): Use it.
10078
9503c190
JB
100792013-07-28 Juanma Barranquero <lekktu@gmail.com>
10080
10081 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10082 minimal set of parameters passed when creating a frame, because
10083 the minibuffer status of a frame cannot be changed later.
10084
d5a845b4
SB
100852013-07-28 Stephen Berman <stephen.berman@gmx.net>
10086
10087 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10088 replace-regexp-in-string and inadvertent omissions in previous change.
10089 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 10090 name of filtered items buffer.
d5a845b4 10091
ddeffb17
JB
100922013-07-28 Juanma Barranquero <lekktu@gmail.com>
10093
10094 * desktop.el: Optionally force offscreen frames back onscreen.
10095 (desktop-restoring-reuses-frames): New option.
10096 (desktop--compute-pos, desktop--move-onscreen): New functions.
10097 (desktop--make-frame): Use desktop--move-onscreen.
10098
f5950f7a
AM
100992013-07-27 Alan Mackenzie <acm@muc.de>
10100
10101 Fontify a Java generic method as a function.
10102 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10103 value to t.
10104
ae43b66a
SB
101052013-07-27 Stephen Berman <stephen.berman@gmx.net>
10106
10107 * calendar/todo-mode.el: Add command to rename todo files.
10108 (todo-rename-file): New command.
10109 (todo-key-bindings-t): Add key binding for it. Change the
10110 bindings of todo-filter-regexp-items(-multifile) to use `x'
10111 instead of `r', since the latter is better suited to the new
10112 renaming command.
10113
5ab78d3d
AM
101142013-07-27 Alan Mackenzie <acm@muc.de>
10115
10116 Make Java try-with-resources statement parse properly.
10117 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10118 (c-block-stmt-1-2-key): New language constants/variables.
10119 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10120 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10121 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 10122 with c-block-stmt-1-2-key.
5ab78d3d 10123
d85c4d50
JB
101242013-07-27 Juanma Barranquero <lekktu@gmail.com>
10125
10126 * desktop.el (desktop--make-frame): Apply most frame parameters after
10127 creating the frame to force (partially or totally) offscreen frames to
10128 be restored as such.
10129
e4c467f9
XF
101302013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10131
10132 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 10133 (Bug#14948)
e4c467f9 10134
7ced0d04
SM
101352013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10136
10137 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10138 `base' arg of backtrace-frame.
10139
fec92060
EZ
101402013-07-26 Eli Zaretskii <eliz@gnu.org>
10141
10142 * simple.el (list-processes): Doc fix.
10143
d58d31fb
JB
101442013-07-26 Juanma Barranquero <lekktu@gmail.com>
10145
10146 * desktop.el (desktop--select-frame):
d85c4d50 10147 Try harder to reuse existing frames.
d58d31fb 10148
53ff3e77
SM
101492013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10150
10151 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10152 (edebug-eval): Use backtrace-eval.
10153 (edebug--display, edebug--recursive-edit): Don't let-bind the
10154 edebug-outer-* vars that keep track of variables we locally let-bind.
10155 (edebug-outside-excursion): Don't restore outside values of locally
10156 let-bound vars.
10157 (edebug--display): Use user-error.
10158 (cl-lexical-debug, cl-debug-env): Remove.
10159
045f7a53
JB
101602013-07-26 Juanma Barranquero <lekktu@gmail.com>
10161
10162 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10163 are restored to be sure that they are visible before deleting any
10164 remaining ones.
10165
59070b32
MM
101662013-07-26 Matthias Meulien <orontee@gmail.com>
10167
742a3501
XF
10168 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10169 vc-print-root-log. (Bug#14948)
59070b32 10170
b1fb3596
RS
101712013-07-26 Richard Stallman <rms@gnu.org>
10172
10173 Add aliases for encrypting mail.
10174 * epa.el (epa-mail-aliases): New option.
10175 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10176 Bind inhibit-read-only so read-only text doesn't ruin everything.
10177 (epa-mail-default-recipients): New subroutine broken out.
10178 Handle epa-mail-aliases.
10179
56ea7291
SM
101802013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10181
10182 Add support for lexical variables to the debugger's `e' command.
10183 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10184 vars, except for debugger-outer-match-data.
10185 (debugger-frame-number): Move check for "on a function call" from
10186 callers into it. Add `skip-base' argument.
10187 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10188 (debugger-env-macro): Only reset the state stored in non-variables,
10189 i.e. current-buffer and match-data.
10190 (debugger-eval-expression): Rewrite using backtrace-eval.
10191 * subr.el (internal--called-interactively-p--get-frame): Remove.
10192 (called-interactively-p):
10193 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10194 `base' arg of backtrace-frame instead.
10195
15ac32d5
GM
101962013-07-26 Glenn Morris <rgm@gnu.org>
10197
8358a09d
GM
10198 * align.el (align-regexp): Doc fix. (Bug#14857)
10199 (align-region): Explicit error if subexpression missing/does not match.
10200
15ac32d5
GM
10201 * simple.el (global-visual-line-mode):
10202 Do not duplicate the mode lighter. (Bug#14858)
10203
f47ad11b
MR
102042013-07-25 Martin Rudalics <rudalics@gmx.at>
10205
10206 * window.el (display-buffer): In display-buffer bind
10207 split-window-keep-point to t, bug#14829.
10208
02530987
JB
102092013-07-25 Juanma Barranquero <lekktu@gmail.com>
10210
10211 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10212 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10213 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10214 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10215 Change accordingly.
f63ebeb5
JB
10216 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10217 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 10218
6ccb9cab 102192013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 10220
6ccb9cab 10221 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 10222
cb3a56d2
JB
102232013-07-25 Juanma Barranquero <lekktu@gmail.com>
10224
10225 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10226 parameter to modify-frame-parameters if the value has not changed;
10227 this is a workaround for bug#14949.
10228 (desktop--make-frame): On cl-delete-if call, check parameter name,
10229 not full parameter.
10230
7aa7fff0
XF
102312013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10232
10233 * vc/vc.el (vc-ignore): New function.
10234
10235 * vc/vc-svn.el (vc-svn-ignore): New function.
10236
10237 * vc/vc-hg.el (vc-hg-ignore): New function.
10238
10239 * vc/vc-git.el (vc-git-ignore): New function.
10240
10241 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10242 (vc-dir-ignore): New function.
10243
10244 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 10245 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
10246
10247 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10248
10249 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10250
889acc5c
JB
102512013-07-24 Juanma Barranquero <lekktu@gmail.com>
10252
10253 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10254 (desktop-restore-frames): Warn when deleting an existing frame failed.
10255
86c40970
GM
102562013-07-24 Glenn Morris <rgm@gnu.org>
10257
10258 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10259
d5d3c58a
MA
102602013-07-24 Michael Albinus <michael.albinus@gmx.de>
10261
10262 * filenotify.el (file-notify-supported-p):
10263 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10264 Remove functions.
10265
35e951cd 10266 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
10267 (auto-revert-notify-add-watch):
10268 * net/tramp.el (tramp-file-name-for-operation):
10269 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10270 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10271 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10272 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10273 Remove `file-notify-supported-p' entry.
10274
d100084b
GM
102752013-07-24 Glenn Morris <rgm@gnu.org>
10276
10277 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 10278 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 10279
ac93e56b
SM
102802013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10281
249eea30
SM
10282 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10283 checked with memq (bug#14935).
10284
ac93e56b
SM
10285 * files.el (revert-buffer-function): Use a non-nil default.
10286 (revert-buffer-preserve-modes): Declare var to
10287 provide access to the `preserve-modes' argument.
10288 (revert-buffer): Let-bind it.
10289 (revert-buffer--default): New function, extracted from revert-buffer.
10290
2cdeb903
SM
102912013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10292
10293 * lpr.el: Signal print errors more prominently.
10294 (print-region-function): Don't default to nil.
10295 (lpr-print-region): New function, extracted from print-region-1.
10296 Check lpr's return value and signal an error in case of problem.
10297 (print-region-1): Use it.
10298 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10299 versions instead.
10300 (ps-printer-name): Default to nil.
10301 (ps-printer-name-option): Default to lpr-printer-switch.
10302 (ps-print-region-function): Don't default to nil.
10303 (ps-postscript-code-directory): Simplify default.
10304 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10305 (ps-string-list, ps-eval-switch, ps-flatten-list)
10306 (ps-flatten-list-1): Remove.
10307 (ps-multibyte-buffer): Avoid setq.
10308 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10309 (print-region-function, ps-print-region-function): Don't set them here.
10310
73600831
XF
103112013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10312
35e951cd
JB
10313 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10314 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10315 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
10316 (ido-decorations): Doc fix.
10317
73600831
XF
10318 * ansi-color.el: Fix old URL.
10319
3d012865
MM
103202013-07-23 Michael R. Mauger <michael@mauger.com>
10321
e903c210 10322 * progmodes/sql.el: Version 3.3
3d012865
MM
10323 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10324 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10325 (sql-interactive-remove-continuation-prompt): Rewrite, use
10326 functions above. Fix continuation prompt and complete output line
10327 handling.
10328 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10329 redirected output buffer.
10330 (sql-mode): Restore deleted code (Bug#13591).
10331
da77a2e2
JB
103322013-07-23 Juanma Barranquero <lekktu@gmail.com>
10333
10334 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10335
80ff0c71
MA
103362013-07-23 Michael Albinus <michael.albinus@gmx.de>
10337
10338 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10339
10340 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10341 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10342 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10343
b61d71e4
JB
103442013-07-23 Juanma Barranquero <lekktu@gmail.com>
10345
10346 * desktop.el (desktop-clear): Simplify; remove useless checks
10347 against invalid buffer names.
10348 (desktop-list*): Use cl-list*.
10349 (desktop-buffer-info, desktop-create-buffer): Simplify.
10350
c3512092
LL
103512013-07-23 Leo Liu <sdl.web@gmail.com>
10352
10353 * bookmark.el (bookmark-make-record): Restore NAME as a default
10354 value. (Bug#14933)
10355
0ac26976
SM
103562013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10357
7d22ce18
SM
10358 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10359 extracted from autoload--insert-text.
10360 (autoload--insert-text): Remove.
10361 (autoload--print-cookie-text): New function, extracted from
10362 autoload--insert-cookie-text.
10363 (autoload--insert-cookie-text): Remove.
10364 (autoload-generate-file-autoloads): Adjust calls accordingly.
10365
9b2607e8
SM
10366 * winner.el (winner-hook-installed-p): Remove.
10367 (winner-mode): Simplify accordingly.
10368
c43a8618
SM
10369 * subr.el (add-to-list): Fix compiler-macro when `append' is
10370 not constant. Don't use `cl-member' for the base case.
10371
0ac26976
SM
10372 * progmodes/subword.el: Fix boundary case (bug#13758).
10373 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10374 own group.
10375 (subword-backward-regexp): Make it a constant.
10376 (subword-forward-internal): Don't treat a trailing capital as the
10377 beginning of a word.
10378
6874724a
AR
103792013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10380
10381 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10382 global value of tabulated-list-revert-hook (bug#14930).
10383
70f1b5e8
JB
103842013-07-22 Juanma Barranquero <lekktu@gmail.com>
10385
a1c80d9d
JB
10386 * desktop.el: Require 'cl-lib.
10387 (desktop-before-saving-frames-functions): New hook.
10388 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10389 for frames being saved. Rename from desktop--save-minibuffer-frames.
10390 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
10391 Do not save frames with non-nil `desktop-dont-save' parameter.
10392 Filter out deleted frames.
a1c80d9d
JB
10393 (desktop--find-frame): Use cl-find-if.
10394 (desktop--select-frame): Use cl-(first|second|third) to access values
10395 of desktop-mini.
10396 (desktop--make-frame): Use cl-delete-if.
10397 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10398 (desktop-restore-frames): Use cl-(first|second|third) to access values
10399 of desktop-mini. Look for visible frame at the end, not while
10400 restoring frames.
10401
70f1b5e8
JB
10402 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10403 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10404 Use string-match-p, looking-at-p (bug#14927).
10405
728dc3cc
JB
104062013-07-21 Juanma Barranquero <lekktu@gmail.com>
10407
56bc453c
JB
10408 * desktop.el (desktop-saved-frame-states):
10409 Rename from desktop--saved-states; all users changed.
10410 (desktop-save-frames): Rename from desktop--save-frames.
10411 Do not save state to desktop file.
10412 (desktop-save): Save desktop-saved-frame-states to desktop file
10413 and reset to nil.
10414 (desktop-restoring-frames-p): New function.
10415 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10416 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10417 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10418
728dc3cc
JB
10419 * desktop.el: Correctly restore iconified frames.
10420 (desktop--filter-iconified-position): New function.
10421 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10422
862f1c9c
GM
104232013-07-20 Glenn Morris <rgm@gnu.org>
10424
c4074c9f
GM
10425 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10426 Let `message' do the formatting.
10427 (def-gdb-preempt-display-buffer): Add explicit format.
10428
d828e5f9
GM
10429 * image-dired.el (image-dired-track-original-file):
10430 Use with-current-buffer.
10431 (image-dired-track-thumbnail): Use with-current-buffer.
10432 Avoid changing point of wrong window.
10433
862f1c9c
GM
10434 * image-dired.el (image-dired-track-original-file):
10435 Avoid changing point of wrong window. (Bug#14909)
10436
f0398ec1 104372013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
10438
10439 * progmodes/gdb-mi.el (gdb-done-or-error):
10440 Guard against "%" in gdb output. (Bug#14127)
10441
1451928f
AS
104422013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10443
763a086d
JB
10444 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10445 (Bug#14826)
f7a03897 10446
1451928f
AS
10447 * international/mule.el (coding-system-iso-2022-flags): Fix last
10448 change.
10449
99107004
KH
104502013-07-20 Kenichi Handa <handa@gnu.org>
10451
763a086d
JB
10452 * international/mule.el (coding-system-iso-2022-flags):
10453 Add `8-bit-level-4'. (Bug#8522)
99107004 10454
48494e06
LMI
104552013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10456
8ba8eec5
LMI
10457 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10458 (bug#14815).
10459
dfbc66e3
LMI
10460 * net/eww.el (eww-process-text-input): Allow inputting when the
10461 point is at the start of the line, as the properties aren't
10462 front-sticky.
10463
48494e06
LMI
10464 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10465 degenerate widths.
10466
77c92cb9
RS
104672013-07-19 Richard Stallman <rms@gnu.org>
10468
aec7da77
RS
10469 * epa.el (epa-popup-info-window): Doc fix.
10470
77c92cb9
RS
10471 * subr.el (split-string): New arg TRIM.
10472
945c5bb1
JB
104732013-07-18 Juanma Barranquero <lekktu@gmail.com>
10474
10475 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10476 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10477
e06ec67f
MA
104782013-07-18 Michael Albinus <michael.albinus@gmx.de>
10479
c7064f05 10480 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
10481 `file-notify-support'. Do not autoload. Adapt all uses.
10482 (file-notify-supported-p): New defun.
10483
c7064f05
JB
10484 * autorevert.el (auto-revert-use-notify):
10485 Use `file-notify-supported-p' instead of `file-notify-support'.
10486 Adapt docstring.
e06ec67f
MA
10487 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10488
10489 * net/tramp.el (tramp-file-name-for-operation):
10490 Add `file-notify-supported-p'.
10491
10492 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10493 New defun.
10494 (tramp-sh-file-name-handler-alist): Add it as handler for
10495 `file-notify-supported-p '.
10496
10497 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10498 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10499 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10500 Add `ignore' as handler for `file-notify-*' functions.
10501
5dc8a629
EZ
105022013-07-17 Eli Zaretskii <eliz@gnu.org>
10503
10504 * simple.el (line-move-partial, line-move): Don't start vscroll or
10505 scroll-up if the current line is not taller than the window.
10506 (Bug#14881)
10507
77aea2fb
DG
105082013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10509
10510 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10511 highlight question marks in the method names as strings.
ac72c08d
DG
10512 (ruby-block-beg-keywords): Inline.
10513 (ruby-font-lock-keyword-beg-re): Extract from
10514 `ruby-font-lock-keywords'.
77aea2fb 10515
18c26d81
JD
105162013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10517
10518 * frame.el (blink-cursor-blinks): New defcustom.
10519 (blink-cursor-blinks-done): New defvar.
10520 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10521 (blink-cursor-timer-function): Check if number of blinks has been
10522 done on X and NS.
10523 (blink-cursor-suspend, blink-cursor-check): New defuns.
10524
da48522e
GM
105252013-07-15 Glenn Morris <rgm@gnu.org>
10526
10527 * edmacro.el (edmacro-format-keys): Fix previous change.
10528
0463c1ef
PE
105292013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10530
10531 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10532 The hack didn't work outside English locales anyway.
10533
b43f6451
JB
105342013-07-15 Juanma Barranquero <lekktu@gmail.com>
10535
10536 * simple.el (define-alternatives): Rename from alternatives-define,
10537 per RMS' suggestion.
10538
b958c0ad
JB
105392013-07-14 Juanma Barranquero <lekktu@gmail.com>
10540
10541 * desktop.el (desktop-restore-frames): Change default to t.
10542 (desktop-restore-in-current-display): Now offer more options.
10543 (desktop-restoring-reuses-frames): New customization option.
10544 (desktop--saved-states): Doc fix.
10545 (desktop-filter-parameters-alist): New variable, renamed and expanded
10546 from desktop--excluded-frame-parameters.
10547 (desktop--target-display): New variable.
10548 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10549 (desktop--filter-tty*, desktop--filter-*-color)
10550 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10551 (desktop--filter-save-desktop-parm)
10552 (desktop-restore-in-original-display-p): New functions.
10553 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10554 (desktop--save-minibuffer-frames): New function, inspired by a similar
10555 function from Martin Rudalics.
10556 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10557 (desktop--restore-in-this-display-p): Remove.
10558 (desktop--find-frame): Rename from desktop--find-frame-in-display
10559 and add predicate argument.
10560 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10561 (desktop--reuse-list): New variable.
10562 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10563 New functions.
10564 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10565
f6dd8b36
MA
105662013-07-14 Michael Albinus <michael.albinus@gmx.de>
10567
10568 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10569
2ce3c565
DG
105702013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10571
763a086d
JB
10572 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10573 Highlight conversion methods on Kernel.
2ce3c565 10574
2cdb7698
AM
105752013-07-13 Alan Mackenzie <acm@muc.de>
10576
10577 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10578 and comment it out. This out-commenting enables certain C++
10579 declarations to be parsed correctly.
10580
1a67b811
EZ
105812013-07-13 Eli Zaretskii <eliz@gnu.org>
10582
1b796d6b
EZ
10583 * international/mule.el (define-coding-system): Doc fix.
10584
1a67b811
EZ
10585 * simple.el (default-font-height): Don't call font-info if the
10586 frame's default font didn't change since the frame was created.
10587 (Bug#14838)
10588
58fbe886
LL
105892013-07-13 Leo Liu <sdl.web@gmail.com>
10590
10591 * ido.el (ido-read-file-name): Guard against non-symbol value.
10592
1f0480d4
FEG
105932013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10594
10595 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10596 in nested defuns.
10597
97ead0e5
LL
105982013-07-13 Leo Liu <sdl.web@gmail.com>
10599
10600 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10601 ido-set-matches call. (Bug#6852)
10602
0880a952
DG
106032013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10604
35e951cd 10605 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
10606 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10607 Ruby 2.0.
10608 (ruby-font-lock-keywords): Distinguish calls to functions with
10609 module-like names from module references. Highlight character
10610 literals.
10611
a7d8babb
SDJ
106122013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10613
10614 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 10615 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 10616
acfcc8c5
JB
106172013-07-12 Juanma Barranquero <lekktu@gmail.com>
10618
10619 * desktop.el (desktop--v2s): Remove unused local variable.
10620 (desktop-save-buffer): Make defvar-local; adjust docstring.
10621 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10622 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10623
051f2775
AS
106242013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10625
10626 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10627
f24e7572
GM
106282013-07-12 Eli Zaretskii <eliz@gnu.org>
10629
10630 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10631 (Bug#14842)
10632
539a920c
GM
106332013-07-12 Glenn Morris <rgm@gnu.org>
10634
10635 * doc-view.el: Require cl-lib at runtime too.
10636 (doc-view-remove-if): Remove.
10637 (doc-view-search-next-match, doc-view-search-previous-match):
10638 Use cl-remove-if.
10639
10640 * edmacro.el: Require cl-lib at runtime too.
10641 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10642 (edmacro-mismatch, edmacro-subseq): Remove.
10643
10644 * shadowfile.el: Require cl-lib.
10645 (shadow-remove-if): Remove.
10646 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10647 Use cl-remove-if.
10648
10649 * wid-edit.el: Require cl-lib.
10650 (widget-choose): Use cl-remove-if.
10651 (widget-remove-if): Remove.
10652
10653 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10654 (ebrowse-delete-if-not): Remove.
10655 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10656 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10657 Use cl-delete-if-not.
10658
1048af7c
JB
106592013-07-12 Juanma Barranquero <lekktu@gmail.com>
10660
10661 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10662 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10663
6c0674ee
LL
106642013-07-12 Leo Liu <sdl.web@gmail.com>
10665
10666 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10667
a19b3c2d
GM
106682013-07-11 Glenn Morris <rgm@gnu.org>
10669
4582a01c
GM
10670 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10671 (edebug-gensym-index, edebug-gensym):
10672 Remove reimplementation of cl-gensym.
10673 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10674
10675 * thumbs.el: Require cl-lib at run-time too.
10676 (thumbs-gensym-counter, thumbs-gensym):
10677 Remove reimplementation of cl-gensym.
10678 (thumbs-temp-file): Use cl-gensym.
10679
a19b3c2d
GM
10680 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10681 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10682 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10683 (ert--union, ert--gensym-counter, ert--gensym-counter)
10684 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10685 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10686 (ert-make-test-unbound, ert--expand-should-1)
10687 (ert--expand-should, ert--should-error-handle-error)
10688 (should-error, ert--explain-equal-rec)
10689 (ert--plist-difference-explanation, ert-select-tests)
10690 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10691 Use cl-lib functions rather than reimplementations.
10692
88f6a933
MA
106932013-07-11 Michael Albinus <michael.albinus@gmx.de>
10694
10695 * net/tramp.el (tramp-methods): Extend docstring.
10696 (tramp-connection-timeout): New defcustom.
10697 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10698 (with-tramp-progress-reporter): Simplify.
10699 (tramp-process-actions): Improve messages.
10700
10701 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10702 * net/tramp-sh.el (tramp-maybe-open-connection):
10703 Use `tramp-connection-timeout'.
afe1e4c8 10704 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
10705 (Bug#14808)
10706
a43d577e
LL
107072013-07-11 Leo Liu <sdl.web@gmail.com>
10708
10709 * ido.el (ido-read-file-name): Conform to the requirements of
10710 read-file-name. (Bug#11861)
10711 (ido-read-directory-name): Conform to the requirements of
10712 read-directory-name.
10713
d77974bf
JB
107142013-07-11 Juanma Barranquero <lekktu@gmail.com>
10715
10716 * subr.el (delay-warning): New function.
10717
35cb8a3e
EZ
107182013-07-10 Eli Zaretskii <eliz@gnu.org>
10719
10720 * simple.el (default-line-height): New function.
10721 (line-move-partial, line-move): Use it instead of computing the
10722 line height inline.
10723 (line-move-partial): Always compute ROWH. If the last line is
10724 partially-visible, but its text is completely visible, allow
10725 cursor to enter such a partially-visible line.
10726
525c5c77
MA
107272013-07-10 Michael Albinus <michael.albinus@gmx.de>
10728
10729 Improve error messages. (Bug#14808)
10730
10731 * net/tramp.el (tramp-current-connection): New defvar, moved from
10732 tramp-sh.el.
0ac26976 10733 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 10734 needed anymore.
0ac26976
SM
10735 (tramp-error-with-buffer): Show message in minibuffer.
10736 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
10737 (with-tramp-progress-reporter): Improve messages.
10738 (tramp-process-actions): Use progress reporter. Delete process in
10739 case of error. Improve messages.
10740
763a086d
JB
10741 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10742 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 10743 (tramp-current-connection): Remove.
525c5c77
MA
10744 (tramp-maybe-open-connection): The car of
10745 `tramp-current-connection' are the first 3 slots of the vector.
10746
c7a4d368
TZ
107472013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10748
10749 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10750 inside continued strings.
10751
954b166e
PE
107522013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10753
10754 Timestamp fixes for undo (Bug#14824).
10755 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10756
56973319
LL
107572013-07-10 Leo Liu <sdl.web@gmail.com>
10758
10759 * files.el (require-final-newline): Allow safe local value.
10760 (Bug#14834)
10761
5550a72c
LL
107622013-07-09 Leo Liu <sdl.web@gmail.com>
10763
10764 * ido.el (ido-read-directory-name): Handle fallback.
10765 (ido-read-file-name): Update DIR to ido-current-directory.
10766 (Bug#1516)
c28b9050 10767 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 10768
70c46b28
DG
107692013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10770
10771 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10772 "autoload". Remove "warn lower camel case" section, previously
10773 commented out. Highlight negation char. Do not highlight the
10774 target in singleton method definitions.
10775
0b64b838
SM
107762013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10777
7fd72e2c
SM
10778 * faces.el (tty-setup-hook): Declare the hook.
10779
0b64b838
SM
10780 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10781 and detect when a guard/pred depends on local vars (bug#14773).
10782 (pcase--u1): Adjust caller.
10783
ab49d60b
EZ
107842013-07-08 Eli Zaretskii <eliz@gnu.org>
10785
10786 * simple.el (line-move-partial, line-move): Account for
10787 line-spacing.
701d79aa
EZ
10788 (line-move-partial): Avoid setting vscroll when the last
10789 partially-visible line in window is of default height.
ab49d60b 10790
2d756ae0
LMI
107912013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10792
10793 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10794 been used a while.
10795
ed095bd7
JB
107962013-07-07 Juanma Barranquero <lekktu@gmail.com>
10797
10798 * subr.el (read-quoted-char): Remove unused local variable `char'.
10799
f1e6674b
MK
108002013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10801
584ee3fc
GM
10802 * ediff.el (ediff-version): Version update.
10803 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10804 (ediff-merge-with-ancestor-command, ediff-directories-command)
10805 (ediff-directories3-command, ediff-merge-directories-command)
10806 (ediff-merge-directories-with-ancestor-command): New functions.
10807 All are command-line interfaces to ediff: to facilitate calling
10808 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
10809
10810 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10811 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 10812
584ee3fc
GM
10813 * viper.el (viper-version): Version update.
10814 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 10815
584ee3fc
GM
108162013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10817
10818 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10819 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10820 (viper-intercept-ESC-key): Simplify.
10821 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10822 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10823 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10824 (viper-setup-ESC-to-escape): New functions.
10825 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10826 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 10827
9aff9b38
EZ
108282013-07-07 Eli Zaretskii <eliz@gnu.org>
10829
5165d44a
JB
10830 * simple.el (default-font-height, window-screen-lines):
10831 New functions.
9aff9b38
EZ
10832 (line-move, line-move-partial): Use them instead of
10833 frame-char-height and window-text-height. This makes scrolling
10834 text smoother when the buffer's default face uses a font that is
10835 different from the frame's default font.
10836
1afb1d07
JD
108372013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10838
10839 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 10840 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 10841
23de972a
EZ
108422013-07-06 Eli Zaretskii <eliz@gnu.org>
10843
10844 * simple.el (line-move-partial): Adjust the row returned by
10845 posn-at-point for the current window-vscroll. (Bug#14567)
10846
54a42486
MA
108472013-07-06 Michael Albinus <michael.albinus@gmx.de>
10848
35e951cd 10849 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
10850 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10851 spaces.
10852
34ada5f4
MR
108532013-07-06 Martin Rudalics <rudalics@gmx.at>
10854
10855 * window.el (window-state-put-stale-windows): New variable.
10856 (window--state-put-2): Save list of windows without matching buffer.
10857 (window-state-put): Remove "bufferless" windows if possible.
10858
11e03d89
JB
108592013-07-06 Juanma Barranquero <lekktu@gmail.com>
10860
10861 * simple.el (alternatives-define): Remove leftover :group keyword.
10862 Tweak docstring.
10863
3504a4be
LL
108642013-07-06 Leo Liu <sdl.web@gmail.com>
10865
10866 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10867 (ido-enable-virtual-buffers): New variable.
10868 (ido-buffer-internal, ido-toggle-virtual-buffers)
10869 (ido-make-buffer-list): Use it.
10870 (ido-exhibit): Support turning on and off virtual buffers
10871 automatically.
10872
61e56e2c
JB
108732013-07-06 Juanma Barranquero <lekktu@gmail.com>
10874
10875 * simple.el (alternatives-define): New macro.
10876
321e1a9c
SM
108772013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10878
10879 * subr.el (read-quoted-char): Use read-key.
10880 (sit-for): Let read-event decode tty input (bug#14782).
10881
d610f6dd
SB
108822013-07-05 Stephen Berman <stephen.berman@gmx.net>
10883
10884 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
10885 mode command and externally. Fix various related bugs.
10886 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
10887 (todo-delete-file): New command.
10888 (todo-check-file): New function.
10889 (todo-show): Handle external deletion of the file we're trying to
10890 show (bug#14688). Replace called-interactively-p by an optional
10891 prefix argument to avoid problematic interaction with catch form
10892 when byte compiled (bug#14702).
10893 (todo-quit): Handle external deletion of the archive's todo file.
10894 Make sure the buffer that was visiting the archive file is still
10895 live before trying to bury it.
10896 (todo-category-completions): Handle external deletion of any
10897 category completion files.
10898 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10899 of todo files, in case of external deletion.
10900 (todo-add-file): Replace unnecessary setq by let-binding.
10901 (todo-find-archive): Check whether there are any archives.
10902 Replace unnecessary setq by let-binding.
10903 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
10904 archive buffer whether or not the archive already exists.
10905 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
10906 check if the archive is new; if it is, update list of archives.
10907 (todo-default-todo-file): Allow nil to be a valid value for when
10908 there are no todo files.
10909 (todo-reevaluate-default-file-defcustom): Use corrected definition
10910 of todo-default-todo-file.
10911 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10912 (todo-delete-category, todo-show-categories-table)
10913 (todo-category-number): Clarify comment.
10914 (todo-filter-items): Clarify documentation string.
10915 (todo-show-current-file, todo-display-as-todo-file)
10916 (todo-reset-and-enable-done-separator): Tweak documentation string.
10917 (todo-done-separator): Make separator length window-width, since
10918 bug#2749 is now fixed.
10919
ddbdfd6f
MA
109202013-07-05 Michael Albinus <michael.albinus@gmx.de>
10921
321e1a9c
SM
10922 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10923 Support both "gvfs-monitor-dir" and "inotifywait".
10924 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
10925 `tramp-sh-file-notify-process-filter'.
10926 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10927 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10928
96eb829a
LL
109292013-07-05 Leo Liu <sdl.web@gmail.com>
10930
10931 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10932
cf13177e
YM
109332013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10934
10935 * frame.el (display-pixel-height, display-pixel-width)
10936 (display-mm-height, display-mm-width): Mention behavior on
10937 multi-monitor setups in docstrings.
10938 (w32-display-monitor-attributes-list): Declare function.
10939 (display-monitor-attributes-list): Use it.
10940
864c58ca
MA
109412013-07-04 Michael Albinus <michael.albinus@gmx.de>
10942
10943 * filenotify.el: New package.
10944
10945 * autorevert.el (top): Require filenotify.el.
10946 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10947 instead.
10948 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10949 (auto-revert-notify-handler): Use `file-notify-*' functions.
10950
10951 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10952
321e1a9c
SM
10953 * net/tramp.el (tramp-file-name-for-operation):
10954 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
10955
10956 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10957 for `file-notify-add-watch' and `file-notify-rm-watch'.
10958 (tramp-process-sentinel): Improve trace.
10959 (tramp-sh-handle-file-notify-add-watch)
10960 (tramp-sh-file-notify-process-filter)
10961 (tramp-sh-handle-file-notify-rm-watch)
10962 (tramp-get-remote-inotifywait): New defuns.
10963
96673afe
JL
109642013-07-03 Juri Linkov <juri@jurta.org>
10965
10966 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10967 call of `occur-read-primary-args' to interactive spec.
10968
10969 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10970 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10971
924494f4
MM
109722013-07-03 Matthias Meulien <orontee@gmail.com>
10973
10974 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10975 `Buffer-menu-multi-occur'. Add it to the menu.
10976 (Buffer-menu-mode): Document it in docstring.
10977 (Buffer-menu-multi-occur): New command. (Bug#14673)
10978
56f75efc
DG
109792013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10980
10981 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10982 keywords and built-ins.
10983
9b057d61
GM
109842013-07-03 Glenn Morris <rgm@gnu.org>
10985
208dee4d
GM
10986 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10987
9b057d61
GM
10988 Make info-xref checks case-sensitive by default
10989 * info.el (Info-find-node, Info-find-in-tag-table)
10990 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10991 Add option for exact case matching of nodes.
10992 * info-xref.el (info-xref): New custom group.
10993 (info-xref-case-fold): New option.
10994 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10995
e01aa29c
LL
109962013-07-03 Leo Liu <sdl.web@gmail.com>
10997
10998 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10999
3086ca2e
DG
110002013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11001
11002 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11003 middle of block statement initially, lower the depth. Remove
11004 FIXME comment, not longer valid. Remove middle of block statement
11005 detection, no need to do that anymore since we've been using
11006 `ruby-parse-region' here.
11007
a3b49114
JD
110082013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11009
11010 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11011
08e5c823 110122013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
11013
11014 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11015
2addf922
JB
110162013-07-01 Juanma Barranquero <lekktu@gmail.com>
11017
11018 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11019 (desktop-restore-in-current-display): New customization option.
11020 (desktop--excluded-frame-parameters): Add `font'.
11021 (desktop--save-frames): Rename from desktop--save-windows.
11022 (desktop--restore-in-this-display-p): New function.
11023 (desktop--make-full-frame): Remove unwanted width/height from
11024 full(width|height) frames.
11025 (desktop--restore-frames): Rename from desktop--restore-windows.
11026 Obey desktop-restore-current-display. Do not delete old frames or
11027 select a new frame unless we were able to restore at least one frame.
11028
ef099a94
MN
110292013-06-30 Michal Nazarewicz <mina86@mina86.com>
11030
11031 * files.el (find-file-noselect): Simplify conditional expression.
11032
a12bf61e 11033 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
11034 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11035
11036 Add `remember-notes' function to store random notes across Emacs
11037 restarts.
3fcfc4ee
JB
11038 * textmodes/remember.el (remember-data-file): Add :set callback to
11039 affect notes buffer (if any).
ef099a94
MN
11040 (remember-notes): New command.
11041 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11042 New defcustoms for the `remember-notes' function.
11043 (remember-notes-save-and-bury-buffer): New command.
11044 (remember-notes-mode-map): New variable.
11045 (remember-mode): New minor mode.
11046 (remember-notes--kill-buffer-query): New function.
11047 * startup.el (initial-buffer-choice): Add notes to custom type.
11048
0865d506
EZ
110492013-06-30 Eli Zaretskii <eliz@gnu.org>
11050
0ba54312
EZ
11051 * bindings.el (right-char, left-char): Don't call sit-for, this is
11052 no longer needed. Use arithmetic comparison only for numerical
11053 arguments.
11054
ef099a94
MN
11055 * international/mule-cmds.el (select-safe-coding-system):
11056 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 11057
2fae38e5
LMI
110582013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11059
11060 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11061 progression on degenerate tables.
ef099a94 11062 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 11063
a47cbd64
JB
110642013-06-30 Juanma Barranquero <lekktu@gmail.com>
11065
11066 Some fixes and improvements for desktop frame restoration.
11067 It is still experimental and disabled by default.
11068 * desktop.el (desktop--save-windows): Put the selected frame at
11069 the head of the list.
11070 (desktop--make-full-frame): New function.
11071 (desktop--restore-windows): Try to re-select the frame that was
11072 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
11073 just show an error message and continue. Set up maximized frames
11074 so they have default non-maximized dimensions.
a47cbd64 11075
6dbafa30
DG
110762013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11077
ef099a94
MN
11078 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11079 Don't start heredoc inside a string or comment.
6dbafa30 11080
4c672a0f
EZ
110812013-06-29 Eli Zaretskii <eliz@gnu.org>
11082
11083 * bindings.el (visual-order-cursor-movement): New defcustom.
11084 (right-char, left-char): Provide visual-order cursor motion by
11085 calling move-point-visually. Update the doc strings.
11086
50960f36
KH
110872013-06-28 Kenichi Handa <handa@gnu.org>
11088
11089 * international/mule.el (define-coding-system): New coding system
11090 properties :inhibit-null-byte-detection,
11091 :inhibit-iso-escape-detection, and :prefer-utf-8.
11092 (set-buffer-file-coding-system): If :charset-list property of
11093 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11094 appropriate for setting.
11095
c1ea3abf
JB
11096 * international/mule-cmds.el (select-safe-coding-system):
11097 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11098 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
11099
11100 * international/mule-conf.el (prefer-utf-8): New coding system.
11101 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11102 files.
11103
75dbaf9d
IK
111042013-06-28 Ivan Kanis <ivan@kanis.fr>
11105
eadb6068
IK
11106 * net/shr.el (shr-render-region): New function.
11107
75dbaf9d
IK
11108 * net/eww.el: Autoload `eww-browse-url'.
11109
9ea5cf9f
DG
111102013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11111
c1ea3abf
JB
11112 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11113 Adapt to `package-desc-version' being a list.
11114 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
11115 archive element.
11116
39c0e36f
JB
111172013-06-27 Juanma Barranquero <lekktu@gmail.com>
11118
11119 New experimental feature to save&restore window and frame setup.
11120 * desktop.el (desktop-save-windows): New defcustom.
11121 (desktop--saved-states): New var.
11122 (desktop--excluded-frame-parameters): New defconst.
11123 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11124 (desktop--restore-windows, desktop--save-windows): New functions.
11125 (desktop-save): Call `desktop--save-windows'.
11126 (desktop-read): Call `desktop--restore-windows'.
11127
7f13406b
LMI
111282013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11129
ef099a94 11130 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 11131
1e072639
SB
111322013-06-27 Stephen Berman <stephen.berman@gmx.net>
11133
11134 * info.el (Info-try-follow-nearest-node): Move search for footnote
11135 above search for node name to prevent missing a footnote (bug#14717).
11136
f3e2cbde
SB
111372013-06-27 Stephen Berman <stephen.berman@gmx.net>
11138
11139 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11140
99906aa0
LL
111412013-06-27 Leo Liu <sdl.web@gmail.com>
11142
11143 * net/eww.el (eww-read-bookmarks): Check file size.
11144
539f75f4
SM
111452013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11146
11147 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11148 advice--pending if newdef is nil or an autoload (bug#13820).
11149 (advice-mapc): New function.
11150
843571cb
LMI
111512013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11152
11153 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11154 probably.
23a75d7f 11155 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
11156 (eww-add-bookmark): New command.
11157 (eww-bookmark-mode): New mode and commands.
a285ce99 11158 (eww-add-bookmark): Remove newlines from the title.
47fd571b 11159 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 11160
f2136e1e
GM
111612013-06-26 Glenn Morris <rgm@gnu.org>
11162
eab35f39
GM
11163 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11164 (hfy-size): Handle ttys. (Bug#14668)
11165
f2136e1e
GM
11166 * info-xref.el: Update for Texinfo 5 change in *note format.
11167 (info-xref-node-re, info-xref-note-re): New constants.
11168 (info-xref-check-buffer): Use info-xref-note-re.
11169
a49ff80c
SM
111702013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11171
a343d218
SM
11172 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11173
a49ff80c
SM
11174 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11175 nil terminate the loop (bug#14718).
11176
8308f184
LMI
111772013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11178
11179 * net/eww.el: Rework history traversal. When going forward/back,
11180 put these actions into the history, too, so that they can be
11181 replayed.
26bf2b82 11182 (eww-render): Move the history reset to the correct buffer.
8308f184 11183
ec64c273
JL
111842013-06-25 Juri Linkov <juri@jurta.org>
11185
11186 * files-x.el (modify-dir-local-variable): Change the header comment
11187 in the file with directory local variables. (Bug#14692)
11188
e080a9d7
JL
11189 * files-x.el (read-file-local-variable-value): Add `default'.
11190 (Bug#14710)
11191
bfbc93a1
IK
111922013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11193
11194 * net/eww.el (eww-make-unique-file-name): Create a unique file
11195 name before saving to entering `y' accidentally asynchronously.
11196
111972013-06-25 Ivan Kanis <ivan@kanis.fr>
11198
11199 * net/eww.el (eww-download): New command and keystroke.
11200
16f74f10
LMI
112012013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11202
a49ff80c 11203 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
11204
11205 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11206 be more consistent with Info and dired.
11207
11208 * net/eww.el (eww-mode-map): Ditto.
11209
12059709
SM
112102013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11211
11212 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11213 packages from archives.
11214 (package-archive-contents): Change format; include obsolete packages.
11215 (package-desc): Use `dir' to mark builtin packages.
11216 (package--from-builtin): Set the `dir' field to `builtin'.
11217 (generated-autoload-file, version-control): Declare.
11218 (package-compute-transaction): Change first arg and return value to be
11219 lists of package-descs. Adjust to new package-archive-contents format.
11220 (package--add-to-archive-contents): Adjust to new
11221 package-archive-contents format.
11222 (package-download-transaction): Arg is now a list of package-descs.
11223 (package-install): If `pkg' is a package name, pass it as
11224 a requirement, so it is subject to the usual (e.g. disabled) checks.
11225 (describe-package): Accept package-desc as well.
11226 (describe-package-1): Describe a specific package-desc. Add links to
11227 other package-descs for the same package name.
11228 (package-menu-describe-package): Pass the actual package-desc.
11229 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11230 works correctly.
11231 (package-desc-status): New function.
11232 (package-menu--refresh): New function, extracted
11233 from package-menu--generate.
11234 (package-menu--generate): Use it.
11235 (package-delete): Update package-alist.
11236 (package-menu-execute): Don't call package-initialize.
11237
11238 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11239 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11240 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11241 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11242 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11243 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11244
8bbdea0f
MR
112452013-06-25 Martin Rudalics <rudalics@gmx.at>
11246
11247 * window.el (window--state-get-1): Workaround for bug#14527.
11248 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11249
e82b0991
LMI
112502013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11251
11252 * net/eww.el (eww-back-url): Implement the history by stashing all
11253 the data into a list.
d3f0f918 11254 (eww-forward-url): Allow going forward in the history, too.
e82b0991 11255
c763842b
SM
112562013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11259 for values and use read--expression for expressions (bug#14710).
11260 (read-file-local-variable): Avoid setq.
11261 (read-file-local-variable-mode): Use minor-mode-list.
11262
bceff189
RW
112632013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11264
864c58ca 11265 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
11266 for DOI URLs.
11267
45f431c6
RW
112682013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11269
864c58ca 11270 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
11271 Update imenu-support when dialect changes.
11272
f42d8237
LL
112732013-06-25 Leo Liu <sdl.web@gmail.com>
11274
11275 * ido.el (ido-read-internal): Allow forward slash on windows.
11276
be549ce6
LMI
112772013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11278
11279 * net/eww.el (eww): Start of strings is \\`, not ^.
11280
71d4c19d
IK
112812013-06-24 Ivan Kanis <ivan@kanis.fr>
11282
5196f88a
IK
11283 * net/shr.el (shr-browse-url): Fix interactive spec.
11284
71d4c19d
IK
11285 * net/eww.el (eww): Add a trailing slash to domain names.
11286
ae36ca55
JB
112872013-06-24 Juanma Barranquero <lekktu@gmail.com>
11288
11289 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11290
0ebd92a3
LMI
112912013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11292
bdaa086b
LMI
11293 * net/shr.el (shr-browse-url): Use an external browser if given a
11294 prefix.
11295
c763842b 11296 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 11297
b89fc156
IK
112982013-06-24 Ivan Kanis <ivan@kanis.fr>
11299
11300 * net/eww.el (eww): Work more correctly for file: URLs.
11301 (eww-detect-charset): Allow quoted charsets.
11302 (eww-yank-page-url): New command and keystroke.
11303
18eb4bca
DU
113042013-06-24 Daiki Ueno <ueno@gnu.org>
11305
11306 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11307 file name of gpg executable.
11308 (epg-context-program): New function.
11309 (epg-context-home-directory): New function.
11310 (epg-context-set-program): New function.
11311 (epg-context-set-home-directory): New function.
11312 (epg--start): Use `epg-context-program' instead of
11313 'epg-gpg-program'.
11314 (epg--list-keys-1): Likewise.
11315
6c6268c8
LL
113162013-06-24 Leo Liu <sdl.web@gmail.com>
11317
11318 * ido.el (ido-read-internal): Fix bug#14620.
11319
5e400cb3
JB
113202013-06-23 Juanma Barranquero <lekktu@gmail.com>
11321
11322 * faces.el (face-documentation): Simplify.
11323 (read-face-attribute, tty-find-type, x-resolve-font-name):
11324 Use `string-match-p'.
11325 (list-faces-display): Use `string-match-p'. Simplify.
11326 (face-spec-recalc): Check face to avoid face alias loops.
11327 (read-color): Use `string-match-p' and non-capturing parenthesis.
11328
f3f9606c
LMI
113292013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11330
11331 * net/shr.el (shr-rescale-image): Use the new
11332 :max-width/:max-height functionality.
11333
a3ca09b9
IK
113342013-06-23 Ivan Kanis <ivan@kanis.fr>
11335
11336 * net/eww.el (eww-search-prefix): New variable.
11337 (eww): Use it.
f865b474
IK
11338 (eww-external-browser): New variable.
11339 (eww-mode-map): New keystroke.
11340 (eww-browse-with-external-browser): New command.
a3ca09b9 11341
e854cfc7
IK
11342 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11343
18bb9e21
JB
113442013-06-23 Juanma Barranquero <lekktu@gmail.com>
11345
11346 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11347 Don't skip aligning the next header field when padding is 0;
11348 otherwise, field width is not respected unless the title is as
11349 wide as the field.
11350
5b165ade
SM
113512013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11352
11353 * emacs-lisp/package.el (package-el-version): Remove.
11354 (package-process-define-package): Fix inf-loop.
11355 (package-install): Allow symbols as arguments again.
11356
12adebe9
DG
113572013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11358
11359 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11360 add some more keyword-like methods.
11361 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11362
388573ee
JB
113632013-06-22 Juanma Barranquero <lekktu@gmail.com>
11364
11365 * bs.el (bs-buffer-show-mark): Make defvar-local.
11366 (bs-mode): Use setq-local.
11367
11368 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11369 (emacs-lock--try-unlocking): Make defvar-local.
11370
4582a01c 113712013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 11372
2663dd23
GM
11373 * play/cookie1.el (cookie-apropos): Minor simplification.
11374
3d94f3ad
GM
11375 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11376
f72e2fdb
DG
113772013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11378
11379 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11380 `regexp-opt', it breaks the build during dumping.
11381
73eab938
DG
113822013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11383
c763842b
SM
11384 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11385 Highlight keyword-like methods on Kernel and Module with
73eab938 11386 font-lock-builtin-face.
5cf8176d
DG
11387 (auto-mode-alist): Consolidate different entries into one regexp
11388 and add more *file-s.
73eab938 11389
d26255f6
SB
113902013-06-21 Stephen Berman <stephen.berman@gmx.net>
11391
11392 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11393
11394 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11395 (diary-entry): Use it in the action of this button type instead of
11396 diary-goto-entry.
11397
11398 * calendar/todo-mode.el: New version.
11399 (todo-add-category): Append new category to end of file and give
11400 it the highest number, instead of putting it at the beginning and
11401 giving it 0. Incorporate noninteractive functionality.
11402 (todo-forward-category): Adapt to 1-based category numbering.
11403 Allow skipping over archived categories.
11404 (todo-backward-category): Derive from todo-forward-category.
11405 (todo-backward-item, todo-forward-item): Make noninteractive and
11406 delegate interactive part to new commands. Make sensitive to done items.
11407 (todo-categories): Make value an alist of category names and
11408 vectors of item counts.
11409 (todo-category-beg): Make a defconst.
11410 (todo-category-number): Use 1 instead of 0 as initial value.
11411 (todo-category-select): Make sensitive to overlays, optional item
11412 highlighting and done items.
11413 (todo-delete-item): Make sensitive to overlays and marked and done items.
11414 (todo-edit-item): Make sensitive to overlays and editing of
11415 date/time header optional. Add format checks.
11416 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11417 no-op if point is not on an item. Advertise using todo-edit-quit.
11418 (todo-edit-mode): Make sensitive to new format, font-locking, and
11419 multiple todo files.
11420 (todo-insert-item, todo-insert-item-here): Derive from
11421 todo-basic-insert-item and extend functionality.
11422 (todo-item-end, todo-item-start): Make sensitive to done items.
11423 (todo-item-string): Don't return text properties. Restore point.
11424 (todo-jump-to-category): Make sensitive to multiple todo files and
11425 todo archives. Use extended category completion.
11426 (todo-lower-item, todo-raise-item): Rename to *-priority and
11427 derive from todo-set-item-priority.
11428 (todo-mode): Derive from special-mode. Make sensitive to new
11429 format, font-locking and multiple todo files. Make read-only.
11430 (todo-mode-map): Don't suppress digit keys, so they can supply
11431 prefix arguments. Add many new key bindings.
11432 (todo-prefix): Insert as an overlay instead of file text.
11433 Change semantics from diary date expression to purely visual mark.
11434 (todo-print): Rename to todo-print-buffer. Make buffer display
11435 features printable. Remove option to restrict number of items
11436 printed. Add option to print to file.
11437 (todo-print-function): Rename to todo-print-buffer-function.
11438 (todo-quit): Extend to handle exiting new todo modes.
11439 (todo-remove-item): Make sensitive to overlays.
11440 (todo-save): Extend to buffers of filtered items.
11441 (todo-show): Make sensitive to done items, multiple todo files and
11442 new todo modes. Offer to convert legacy todo file before creating
11443 first new todo file.
11444 (todo-show-priorities): Rename to todo-top-priorities.
11445 Change semantics of value 0.
11446 (todo-top-priorities): Rename to todo-filter-top-priorities,
11447 derive from todo-filter-items and extend functionality.
11448 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11449 and extend functionality to other types of filtered items.
11450 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11451 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11452 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11453 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11454 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11455 (todo-edit-mode-hook, todo-entry-prefix-function)
11456 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11457 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11458 (todo-initials, todo-insert-threshold, todo-item-string-start)
11459 (todo-line-string, todo-menu, todo-mode-hook)
11460 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11461 (todo-print-priorities, todo-remove-separator)
11462 (todo-save-top-priorities-too, todo-string-count-lines)
11463 (todo-string-multiline-p, todo-time-string-format)
11464 (todo-tmp-buffer-name): Remove.
11465 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11466 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11467 (todo-edit-category-diary-inclusion)
11468 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11469 (todo-edit-file, todo-edit-item-date-day)
11470 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11471 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11472 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11473 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11474 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11475 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11476 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11477 (todo-filter-top-priorities-multifile, todo-find-archive)
11478 (todo-find-filtered-items-file, todo-go-to-source-item)
11479 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11480 (todo-jump-to-archive-category, todo-lower-category)
11481 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11482 (todo-move-category, todo-move-item, todo-next-button)
11483 (todo-next-item, todo-padded-string, todo-powerset)
11484 (todo-previous-button, todo-previous-item)
11485 (todo-print-buffer-to-file, todo-raise-category)
11486 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11487 (todo-set-category-number, todo-set-item-priority)
11488 (todo-set-top-priorities-in-category)
11489 (todo-set-top-priorities-in-file, todo-show-categories-table)
11490 (todo-sort-categories-alphabetically-or-numerically)
11491 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11492 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11493 (todo-toggle-item-header, todo-toggle-item-highlighting)
11494 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11495 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11496 (todo-unarchive-items, todo-unmark-category): New commands.
11497 (todo-absolute-file-name, todo-add-to-buffer-list)
11498 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11499 (todo-basic-insert-item, todo-category-completions)
11500 (todo-category-number, todo-category-string-matcher-1)
11501 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11502 (todo-check-format, todo-clear-matches)
11503 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11504 (todo-current-category, todo-date-string-matcher)
11505 (todo-define-insertion-command, todo-diary-expired-matcher)
11506 (todo-diary-goto-entry, todo-diary-item-p)
11507 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11508 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11509 (todo-done-item-section-p, todo-done-separator)
11510 (todo-done-string-matcher, todo-files, todo-filter-items)
11511 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11512 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11513 (todo-insert-category-line, todo-insert-item-from-calendar)
11514 (todo-insert-sort-button, todo-insert-with-overlays)
11515 (todo-insertion-command-name, todo-insertion-key-bindings)
11516 (todo-label-to-key, todo-longest-category-name-length)
11517 (todo-make-categories-list, todo-mode-external-set)
11518 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11519 (todo-modes-set-3, todo-multiple-filter-files)
11520 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11521 (todo-read-category, todo-read-date, todo-read-dayname)
11522 (todo-read-file-name, todo-read-time)
11523 (todo-reevaluate-category-completions-files-defcustom)
11524 (todo-reevaluate-default-file-defcustom)
11525 (todo-reevaluate-filelist-defcustoms)
11526 (todo-reevaluate-filter-files-defcustom)
11527 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11528 (todo-reset-done-separator, todo-reset-done-separator-string)
11529 (todo-reset-done-string, todo-reset-global-current-todo-file)
11530 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11531 (todo-reset-prefix, todo-set-categories)
11532 (todo-set-date-from-calendar, todo-set-show-current-file)
11533 (todo-set-top-priorities, todo-short-file-name)
11534 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11535 (todo-total-item-counts, todo-update-buffer-list)
11536 (todo-update-categories-display, todo-update-categories-sexp)
11537 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11538 New functions.
11539 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11540 New major modes.
11541 (todo-categories, todo-display, todo-edit, todo-faces)
11542 (todo-filtered): New defgroups.
11543 (todo-archived-only, todo-button, todo-category-string, todo-date)
11544 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11545 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11546 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11547 (todo-add-item-if-new-category, todo-always-add-time-string)
11548 (todo-categories-align, todo-categories-archived-label)
11549 (todo-categories-category-label, todo-categories-diary-label)
11550 (todo-categories-done-label, todo-categories-number-separator)
11551 (todo-categories-todo-label, todo-categories-totals-label)
11552 (todo-category-completions-files, todo-completion-ignore-case)
11553 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11554 (todo-done-separator-string, todo-done-string)
11555 (todo-files-function, todo-filter-done-items, todo-filter-files)
11556 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11557 (todo-initial-category, todo-initial-file, todo-item-mark)
11558 (todo-legacy-date-time-regexp, todo-mode-line-function)
11559 (todo-nondiary-marker, todo-number-prefix)
11560 (todo-print-buffer-function, todo-show-current-file)
11561 (todo-show-done-only, todo-show-first, todo-show-with-done)
11562 (todo-skip-archived-categories, todo-top-priorities-overrides)
11563 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11564 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11565 New defcustoms.
11566 (todo-category-done, todo-date-pattern, todo-date-string-start)
11567 (todo-diary-items-buffer, todo-done-string-start)
11568 (todo-filtered-items-buffer, todo-item-start)
11569 (todo-month-abbrev-array, todo-month-name-array)
11570 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11571 (todo-top-priorities-buffer): New defconsts.
11572 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11573 (todo-categories-with-marks, todo-category-string-face)
11574 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11575 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11576 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11577 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11578 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11579 (todo-font-lock-keywords, todo-global-current-todo-file)
11580 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11581 (todo-insertion-commands-args)
11582 (todo-insertion-commands-args-genlist)
11583 (todo-insertion-commands-names, todo-insertion-map)
11584 (todo-key-bindings-t, todo-key-bindings-t+a)
11585 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11586 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11587 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11588 (todo-visited): New variables.
11589
cad5d1cb
GM
115902013-06-21 Glenn Morris <rgm@gnu.org>
11591
11592 * play/cookie1.el (cookie-apropos): Add optional display argument.
11593 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11594 (psychoanalyze-pinhead): Use cookie-doctor.
11595
9e277302
JB
115962013-06-21 Juanma Barranquero <lekktu@gmail.com>
11597
11598 * emacs-lisp/package.el (tar-get-file-descriptor)
11599 (tar--extract): Declare.
11600
c5b0993e
EW
116012013-06-21 Eduard Wiebe <usenet@pusto.de>
11602
11603 Extend flymake's warning predicate to be a function (bug#14217).
11604 * progmodes/flymake.el (flymake-warning-predicate): New.
11605 (flymake-parse-line): Use it.
11606 (flymake-warning-re): Make obsolete alias to
11607 `flymake-warning-predicate'.
11608
a7d2d465
SM
116092013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11612 (package-obsolete-list): Remove.
11613 (package-activate): Remove min-version argument. Add `force' argument.
11614 Adjust to new package-alist format.
11615 (package-mark-obsolete): Remove.
11616 (package-unpack): Force reload of the package's autoloads.
11617 (package-installed-p): Check builtins if the installed package is not
11618 recent enough.
11619 (package-initialize): Don't reset package-obsolete-list.
11620 Don't specify which package version to activate.
11621 (package-process-define-package, describe-package-1)
11622 (package-menu--generate): Adjust to new package-alist format.
11623
cedf5c9d
JB
116242013-06-21 Juanma Barranquero <lekktu@gmail.com>
11625
11626 * allout-widgets.el (allout-widgets-mode-off)
11627 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11628 (allout-widgets-post-command-business)
11629 (allout-widgets-after-copy-or-kill-function)
11630 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11631 (allout-decorate-item-and-context)
11632 (allout-graphics-modification-handler): Fix typos in docstrings.
11633 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11634
11635 * cmuscheme.el (scheme-start-file): Doc fix.
11636 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11637 (scheme-input-filter): Use `string-match-p'.
11638
11639 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11640
11641 * dired-x.el: Use Dired consistently in docstrings.
11642
11643 * dired.el: Use Dired consistently in docstrings.
11644 (dired-readin, dired-mode): Use `setq-local'.
11645 (dired-switches-alist): Make defvar-local.
11646 (dired-buffers-for-dir): Use `zerop'.
11647 (dired-safe-switches-p, dired-switches-escape-p)
11648 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11649 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 11650 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
11651 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11652 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11653 (dired-toggle-marks, dired-mark-files-containing-regexp)
11654 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11655 (dired-flag-auto-save-files, dired-flag-backup-files):
11656 Use `looking-at-p'.
11657 (dired-mark-files-regexp, dired-build-subdir-alist):
11658 Use `string-match-p', `looking-at-p'.
11659
11660 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11661 (direct-print-region-helper): Use `string-match-p'.
11662
aed838b5
LL
116632013-06-21 Leo Liu <sdl.web@gmail.com>
11664
cedf5c9d
JB
11665 * comint.el (comint-redirect-results-list-from-process):
11666 Fix infinite loop.
aed838b5 11667
d80a808f
LMI
116682013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11669
11670 * net/eww.el (eww-update-header-line-format): Quote % characters.
11671
e7a526e3
GM
116722013-06-21 Glenn Morris <rgm@gnu.org>
11673
11674 * play/cookie1.el (cookie): New custom group.
11675 (cookie-file): New option.
11676 (cookie-check-file): New function.
11677 (cookie): Make it interactive. Make start and end messages optional.
11678 Interactively, display the result. Default to cookie-file.
11679 (cookie-insert): Default to cookie-file.
11680 (cookie-snarf): Make start and end messages optional.
11681 Default to cookie-file. Use with-temp-buffer.
11682 (cookie-read): Rename from read-cookie.
11683 Make start and end messages optional. Default to cookie-file.
11684 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 11685 Do not autoload it.
e7a526e3
GM
11686 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11687 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11688
62efb35e
LL
116892013-06-21 Leo Liu <sdl.web@gmail.com>
11690
11691 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11692
21e3f963
GM
116932013-06-21 Glenn Morris <rgm@gnu.org>
11694
11695 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11696
fd846ab4
SM
116972013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11698 Daniel Hackney <dan@haxney.org>
11699
11700 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11701 Consolidate the single-file vs tarball code.
11702 (package-desc-suffix): New function.
11703 (package-desc-full-name): Don't bother inlining it.
11704 (package-load-descriptor): Return the new package-desc.
11705 (package-mark-obsolete): Remove unused arg `package'.
11706 (package-unpack): Make it work for single files as well.
11707 Make it update package-alist.
11708 (package--make-autoloads-and-stuff): Rename from
11709 package--make-autoloads-and-compile. Don't compile any more.
11710 (package--compile): New function.
11711 (package-generate-description-file): New function, extracted from
11712 package-unpack-single.
11713 (package-unpack-single): Remove.
11714 (package--with-work-buffer): Add indentation and debugging info.
11715 (package-download-single): Remove.
11716 (package-install-from-archive): Rename from package-download-tar, make
11717 it take a pkg-desc, and make it work for single files as well.
11718 (package-download-transaction): Simplify.
11719 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11720 external tar program.
11721 (package-install-from-buffer): Remove `pkg-desc' argument.
11722 Use package-tar-file-info for tar-mode buffers.
11723 (package-install-file): Simplify accordingly.
11724 (package-archive-base): Change to take a pkg-desc.
11725 * tar-mode.el (tar--check-descriptor): New function, extracted from
11726 tar-get-descriptor.
11727 (tar-get-descriptor): Use it.
11728 (tar-get-file-descriptor): New function.
11729 (tar--extract): New function, extracted from tar-extract.
11730 (tar--extract): Use it.
11731 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11732 case the summary uses non-ascii. Adjust to new calling convention of
11733 package-tar-file-info.
11734
b7deae5e
LL
117352013-06-21 Leo Liu <sdl.web@gmail.com>
11736
fd846ab4
SM
11737 * comint.el (comint-redirect-results-list-from-process):
11738 Fix random delay. (Bug#14681)
b7deae5e 11739
7a65a0b2
JB
117402013-06-21 Juanma Barranquero <lekktu@gmail.com>
11741
11742 * profiler.el (profiler-format-number): Use log, not log10.
11743
1493c2af
JB
117442013-06-20 Juanma Barranquero <lekktu@gmail.com>
11745
11746 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11747
aff6371e
SM
117482013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11749
11750 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11751 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11752 yet available.
11753 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11754 (AUTOGENEL): ... here.
11755 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11756 (cl--defsubst-expand): Use it.
11757
89561f72
PE
117582013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11759
11760 * subr.el (log10): Move here from C code, and declare as obsolete.
11761 All uses of (log10 X) replaced with (log X 10).
11762
47199123
JB
117632013-06-20 Juanma Barranquero <lekktu@gmail.com>
11764
11765 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11766 Declare with `defvar-local'.
11767 (tabulated-list-use-header-line, tabulated-list-entries)
11768 (tabulated-list-padding, tabulated-list-printer)
11769 (tabulated-list-sort-key): Declare with `defvar-local'.
11770 (tabulated-list-init-header, tabulated-list-print-fake-header):
11771 Use `setq-local'.
11772
4a172eab
MA
117732013-06-20 Michael Albinus <michael.albinus@gmx.de>
11774
47199123
JB
11775 * arc-mode.el (archive-mode): Add `archive-write-file' to
11776 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 11777
5fc0acc0
JB
117782013-06-20 Juanma Barranquero <lekktu@gmail.com>
11779
d5b27848
JB
11780 * cus-edit.el (custom-commands): Fix typos.
11781 (custom-display): Fix tooltip text.
11782 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11783 Fix typos in docstrings.
11784 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11785 (custom-unlispify-menu-entry, custom-magic-value-create)
11786 (custom-add-see-also, custom-group-value-create): Use ?\s.
11787 (custom-guess-type, customize-apropos, editable-field)
11788 (custom-face-value-create): Use `string-match-p'.
11789 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11790
11791 * custom.el (custom-load-symbol): Use `string-match-p'.
11792
a5c581d8
JB
11793 * ansi-color.el: Convert to lexical binding.
11794 (ansi-colors): Fix URL.
11795 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11796 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11797 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11798
970ad972
G
117992013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11800
11801 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11802
11803 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11804
118052013-06-19 Tom Tromey <tromey@redhat.com>
11806
11807 * net/eww.el (eww-top-url): Remove.
11808 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11809 (eww-render): Set new variables. Don't set eww-top-url.
11810 (eww-handle-link): Handle "prev", "home", and "contents".
11811 Downcase the rel text.
11812 (eww-top-url): Choose best top URL.
11813
118142013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11815
11816 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11817 relying in widget.el. Using widget.el leads to too many
11818 user interface inconsistencies.
11819 (eww-self-insert): Implement entering commands in text fields.
11820 (eww-process-text-input): New function to make text input field editing
11821 work.
11822 (eww-submit): Rewrite to use the new-style form methods.
11823 (eww-select-display): Display the correct selected item.
11824 (eww-change-select): Implement changing the select value.
11825 (eww-toggle-checkbox): Implement radio/checkboxes.
11826 (eww-update-field): Fix compilation error.
11827 (eww-tag-textarea): Implement <textarea>.
11828
11829 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11830 we don't shadow mode-specific bindings.
11831
11832 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11833 nothing to push.
11834
11835 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11836
4582a01c 118372013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
11838
11839 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11840
15b263dc
MA
118412013-06-19 Michael Albinus <michael.albinus@gmx.de>
11842
11843 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11844 not needed.
11845
11846 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11847
8f5297f7
LMI
118482013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11849
11850 * net/browse-url.el (browse-url-browser-function):
11851 `eww-browse-url' has the right calling signature, `eww' does not.
11852
011c4552
GM
118532013-06-19 Glenn Morris <rgm@gnu.org>
11854
2285bd27
GM
11855 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11856 Only eval autoloaded macros.
11857 (byte-compile-autoload): Only give the macro warning for macros.
11858
1d653303
GM
11859 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11860 (ps-underlined-faces): Declare.
11861
bdd779ec
GM
11862 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11863 (speedbar-add-supported-extension): Declare.
11864
011c4552
GM
11865 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11866 Don't include a date stamp in the header of the generated file;
11867 it leads to needless differences between output files.
11868
e59dfb0e
MA
118692013-06-19 Michael Albinus <michael.albinus@gmx.de>
11870
c763842b
SM
11871 * net/secrets.el (secrets-struct-secret-content-type):
11872 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 11873 Some servers do not offer introspection.
e59dfb0e 11874
102626e2
SM
118752013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11876
11877 * electric.el (electric-pair-mode): Improve interaction with
11878 electric-layout-mode.
11879 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11880 (electric-pair-syntax): Use text-mode-syntax-table in comments
11881 and strings.
11882 (electric-pair--insert): New function.
11883 (electric-pair-post-self-insert-function): Use it and
11884 electric--after-char-pos.
11885
ad528125
LL
118862013-06-19 Leo Liu <sdl.web@gmail.com>
11887
11888 * progmodes/octave.el (octave-help): Fix regexp.
11889
924d6997
G
118902013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11891
11892 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11893 (shr-table-horizontal-line): Allow nil as a value, and change the
11894 default.
11895 (shr-insert-table-ruler): Respect the nil value.
11896
118972013-06-18 Tom Tromey <tromey@barimba>
11898
11899 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11900 New defvars.
11901 (eww-open-file): New defun.
11902 (eww-render): Initialize new variables.
11903 (eww-display-html): Handle "link" and "a".
11904 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11905 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11906 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
11907 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11908 New defuns.
924d6997 11909
d1bbba4f
DG
119102013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11911
11912 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11913 Distinguish ternary operator tokens from slash symbol and slash
11914 char literal.
11915
14dd22d2
JB
119162013-06-18 Juanma Barranquero <lekktu@gmail.com>
11917
11918 Convert symbol prettification into minor mode and global minor mode.
11919
11920 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11921 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11922 (prettify-symbols--keywords): Rename from
11923 `prog-prettify-symbols-alist' and make a local defvar.
11924 (prettify-symbols--compose-symbol): Rename from
11925 `prog--prettify-font-lock-compose-symbol'.
11926 (prettify-symbols--make-keywords): Rename from
11927 `prog-prettify-font-lock-symbols-keywords' and simplify.
11928 (prog-prettify-install): Remove.
11929 (prettify-symbols-mode): New minor mode, based on
11930 `prog-prettify-install'.
11931 (turn-on-prettify-symbols-mode): New function.
11932 (global-prettify-symbols-mode): New globalized minor mode.
11933
11934 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11935 * progmodes/cfengine.el (cfengine3-mode):
11936 * progmodes/perl-mode.el (perl-mode): Don't call
11937 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11938
292c880c
JL
119392013-06-18 Juri Linkov <juri@jurta.org>
11940
11941 * files-x.el (modify-file-local-variable-message): New function.
11942 (modify-file-local-variable)
11943 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11944 and call `modify-file-local-variable-message' when it's non-nil.
11945 (add-file-local-variable, delete-file-local-variable)
11946 (add-file-local-variable-prop-line)
11947 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11948 and use it. (Bug#9820)
11949
0950aa27
JL
119502013-06-18 Juri Linkov <juri@jurta.org>
11951
11952 * emulation/vi.el (vi-shell-op):
11953 * emulation/vip.el (vip-execute-com, ex-command):
11954 * emulation/viper-cmd.el (viper-exec-bang):
11955 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11956 the call of `shell-command-on-region'. (Bug#14637)
11957
11958 * simple.el (shell-command-on-region): Doc fix.
11959
8fbcca16
SM
119602013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11961
11962 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11963 (bug#14633).
11964
dd7426ea
GM
119652013-06-18 Glenn Morris <rgm@gnu.org>
11966
4ba54f7d
GM
11967 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11968
dd7426ea
GM
11969 * newcomment.el (comment-search-forward, comment-search-backward):
11970 Doc fix. (Bug#14376)
11971
58aa805b
JB
119722013-06-18 Juanma Barranquero <lekktu@gmail.com>
11973
11974 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11975 (buffer-face-mode-invoke): Doc fix.
11976
9a08a617
MM
119772013-06-18 Matthias Meulien <orontee@gmail.com>
11978
11979 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 11980 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 11981
f2f426ca
GM
119822013-06-18 Glenn Morris <rgm@gnu.org>
11983
9445f99b
GM
11984 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11985 Replace obsolete function generic-make-keywords with its expansion.
11986
e0df2d14
GM
11987 * progmodes/python.el (ffap-alist): Declare.
11988
f2f426ca
GM
11989 * textmodes/reftex.el (bibtex-mode-map): Declare.
11990
f7f9a720
SM
119912013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11992
11993 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11994 (package-unpack, package-unpack-single): Return the pkg-dir.
11995 (package-download-transaction): Use it to update package-alist.
11996
57ff04e0
LMI
119972013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11998
11999 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12000 possible choice.
12001
c048c022
JL
120022013-06-17 Juri Linkov <juri@jurta.org>
12003
12004 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12005
b5bcaee5
DG
120062013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12007
a020afb9
JB
12008 * emacs-lisp/package.el (package-load-descriptor):
12009 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
12010 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12011
551e07e5
JB
120122013-06-17 Juanma Barranquero <lekktu@gmail.com>
12013
12014 * startup.el (command-line): Expand package name returned by
12015 `package--description-file' (bug#14639).
12016
d363bffb
DG
120172013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12018
12019 * emacs-lisp/package.el (package-load-descriptor): Do not call
12020 `emacs-lisp-mode', just use its syntax table.
12021
f612933b
JB
120222013-06-17 Juanma Barranquero <lekktu@gmail.com>
12023
12024 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12025 `font-lock-extra-managed-props' if any prettifying keyword is added.
12026 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12027 (prog-mode): Use `setq-local'.
12028
db3b7db5
SM
120292013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12030
12031 * international/characters.el (standard-case-table): Set syntax of ?»
12032 and ?« to punctuation.
12033
f3d674df
JB
120342013-06-16 Juanma Barranquero <lekktu@gmail.com>
12035
12036 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12037 Save relevant match data before calling `syntax-ppss' (bug#14595).
12038
31489a32
JL
120392013-06-15 Juri Linkov <juri@jurta.org>
12040
12041 * files-x.el (modify-file-local-variable-prop-line): Add local
12042 variables to the end of the existing comment on the first line.
12043 Use `file-auto-mode-skip' to skip interpreter magic line,
12044 and also skip XML declaration.
12045
66bd25ab
SM
120462013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * startup.el (package--builtin-versions): New var.
12049 (package-subdirectory-regexp): Remove.
12050 (package--description-file): Hard code its value instead.
12051
12052 * emacs-lisp/package.el: Don't activate packages older than builtin.
12053 (package-obsolete-list): Rename from package-obsolete-alist, and make
12054 it into a simple list of package-desc.
12055 (package-strip-version): Remove.
12056 (package-built-in-p): Use package--builtin-versions.
12057 (package-mark-obsolete): Simplify.
12058 (package-process-define-package): Mark it obsolete if older than the
12059 builtin version.
12060 (package-handle-response): Use line-end-position.
12061 (package-read-archive-contents, package--download-one-archive):
12062 Simplify.
12063 (package--add-to-archive-contents): Skip if older than the builtin or
12064 installed version.
12065 (package-menu-describe-package): Fix last change.
12066 (package-list-unversioned): New var.
12067 (package-menu--generate): Use it.
12068
12069 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12070 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12071 (autoload-builtin-package-versions): New variable.
12072 (autoload-generate-file-autoloads): Use them.
12073 Remove the list of autoloaded functions/macros from the
12074 (autoload...) comments.
12075
12076 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12077
9583ec36
EZ
120782013-06-15 Eli Zaretskii <eliz@gnu.org>
12079
12080 * simple.el (line-move-partial): Don't jump to the next screen
12081 line as soon as it becomes visible. Instead, continue enlarging
12082 the vscroll until the portion of a tall screen line that's left on
12083 display is about the height of the frame's default font.
12084 (Bug#14567)
12085
f0100d8a
GM
120862013-06-15 Glenn Morris <rgm@gnu.org>
12087
b86a85ca
GM
12088 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12089 compilation-error-regexp-alist void, or local while let-bound.
12090
f0100d8a
GM
12091 * progmodes/make-mode.el (makefile-mode-syntax-table):
12092 Treat "=" as punctuation. (Bug#14614)
12093
05e7ce90
JB
120942013-06-15 Juanma Barranquero <lekktu@gmail.com>
12095
12096 * help-fns.el (describe-variable):
12097 Add extra line for permanent-local variables.
12098
12e5e86e
SH
120992013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12100
12101 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12102 Add export, import, library. (Bug#9164)
12103 (library): Set indent function.
12104
230dcbaf
GM
121052013-06-14 Glenn Morris <rgm@gnu.org>
12106
12107 * term/xterm.el (xterm--query):
12108 Stop after first matching handler. (Bug#14615)
12109
e36b2d20 121102013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
12111
12112 Add support for dired in saveplace.
12113 * dired.el (dired-initial-position-hook): New variable.
12114 (dired-initial-position): Call hook to place cursor position.
12115 * saveplace.el (save-place-to-alist): Add dired position.
12116 (save-place-dired-hook): New function.
12117
0b31660d
SM
121182013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12119
bf1e6ae8
SM
12120 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12121 through a symbol rather than letrec.
12122
1b8dff23
SM
12123 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12124 (package-desc): Add `dir' field.
12125 (package-desc-full-name): New function.
12126 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12127 (package-maybe-load-descriptor): Remove.
12128 (package-load-all-descriptors): Just call package-load-descriptor.
12129 (package--disabled-p): New function.
12130 (package-desc-vers, package-desc-doc): Remove aliases.
12131 (package--dir): Remove function.
12132 (package-activate): Check if a package is disabled.
12133 (package-process-define-package): New function, extracted from
12134 define-package.
12135 (define-package): Turn into a place holder.
12136 (package-unpack-single, package-tar-file-info):
12137 Use package--description-file.
12138 (package-compute-transaction): Use package--disabled-p.
12139 (package-download-transaction): Don't call
12140 package-maybe-load-descriptor since they're all loaded anyway.
12141 (package-install): Change argument to be a pkg-desc.
12142 (package-delete): Use a single pkg-desc argument.
12143 (describe-package-1): Use package-desc-dir instead of package--dir.
12144 Use package-desc property instead of package-symbol.
12145 (package-install-button-action): Adjust accordingly.
12146 (package--push): Rewrite.
12147 (package-menu--print-info): Adjust accordingly. Change the ID format
12148 to be a pkg-desc.
12149 (package-menu-describe-package, package-menu-get-status)
12150 (package-menu--find-upgrades, package-menu-mark-upgrades)
12151 (package-menu-execute, package-menu--name-predicate):
12152 Adjust accordingly.
12153 * startup.el (package--description-file): New function.
12154 (command-line): Use it.
12155 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12156 Use package-desc-version.
12157
0b31660d
SM
12158 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12159 (byte-compile-preprocess): Use it.
12160 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12161 can't quite recognize.
12162 (byte-compile-add-to-list): Remove.
12163 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12164 (cconv-closure-convert): Add assertion.
12165
12166 * emacs-lisp/map-ynp.el: Use lexical-binding.
12167 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12168 Factor out some repeated code.
12169
de0503df
SM
121702013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * subr.el (with-eval-after-load): New macro.
12173 (eval-after-load): Allow form to be a function.
12174 take advantage of lexical-binding.
12175 (do-after-load-evaluation): Use dolist and adjust to new format.
12176 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12177
bc5c8c5a
JL
121782013-06-13 Juri Linkov <juri@jurta.org>
12179
12180 * replace.el (perform-replace): Display "symbol " and other search
12181 modes from `isearch-message-prefix' in the *Help* buffer.
12182
12183 * isearch.el (isearch-query-replace): Add " symbol" and other
12184 possible search modes from `isearch-message-prefix' to the prompt.
12185 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12186 when reading a regexp to collect.
12187
a22289f7
JL
121882013-06-13 Juri Linkov <juri@jurta.org>
12189
12190 * isearch.el (word-search-regexp): Match whitespace if the search
12191 string begins or ends in whitespace. The LAX arg is applied to
12192 both ends of the search string. Use `regexp-quote' and explicit
12193 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12194 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12195 boundaries are replaced with symbol boundaries, and characters
12196 between symbols match non-word non-symbol syntax. (Bug#14602)
12197
cb89acab
JL
121982013-06-13 Juri Linkov <juri@jurta.org>
12199
12200 * isearch.el (isearch-del-char): Don't exceed the length of
12201 `isearch-string' by the prefix arg. (Bug#14563)
12202
6e8cfc81
JL
122032013-06-13 Juri Linkov <juri@jurta.org>
12204
12205 * isearch.el (isearch-yank-word, isearch-yank-line)
12206 (isearch-char-by-name, isearch-quote-char)
12207 (isearch-printing-char, isearch-process-search-char):
12208 Add optional count prefix arg. (Bug#14563)
12209
12210 * international/isearch-x.el
12211 (isearch-process-search-multibyte-characters):
12212 Add optional count prefix arg.
12213
c23d55f4
VS
122142013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12215
12216 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12217 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12218 lexical-binding.
12219
122202013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12221
12222 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12223
ba947bc4
GM
122242013-06-13 Glenn Morris <rgm@gnu.org>
12225
8baeb37a
GM
12226 * startup.el (tty-handle-args):
12227 Don't just discard "--" and anything after. (Bug#14608)
12228
ba947bc4
GM
12229 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12230
9abefce4
MA
122312013-06-13 Michael Albinus <michael.albinus@gmx.de>
12232
12233 Implement changes in Secret Service API. Make it backward compatible.
12234 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12235 (secrets-create-item): Use it. Prefix properties with interface.
12236
5755011f
MH
122372013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12238
12239 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12240 (term-emulate-terminal): Respect term-suppress-hard-newline.
12241
1261d2da
S
122422013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12243
12244 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12245 Only remove a `thumb-file' overlay. (Bug#14548)
12246
868490bb
GJ
122472013-06-12 Grégoire Jadi <daimrod@gmail.com>
12248
12249 * mail/reporter.el (reporter-submit-bug-report):
12250 Handle missing package-name. (Bug#14600)
12251
79d7167f
TH
122522013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12253
12254 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12255 (reftex-citation-prompt, reftex-default-bibliography)
12256 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12257 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12258 (reftex-bib-sort-author, reftex-bib-sort-year)
12259 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12260 (reftex-extract-bib-entries-from-thebibliography)
12261 (reftex-get-bibkey-default, reftex-get-bib-names)
12262 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12263 (reftex-format-bib-entry, reftex-parse-bibitem)
12264 (reftex-format-bibitem, reftex-do-citation)
12265 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12266 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12267 (reftex-insert-bib-matches, reftex-format-citation)
12268 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12269 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12270 existing comments into docstrings.
12271
5f9dbd7a
XF
122722013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12273
12274 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12275
94df41ab
AS
122762013-06-12 Andreas Schwab <schwab@suse.de>
12277
12278 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12279 for auto-save files.
12280
a7f3fecc
GM
122812013-06-12 Glenn Morris <rgm@gnu.org>
12282
001809f6
GM
12283 * ido.el (ido-delete-ignored-files): Remove.
12284 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12285 Go back to calling ido-ignore-item-p directly.
a7f3fecc 12286
834b5ded
EL
122872013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12288
08c73ed2
EL
12289 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12290
834b5ded
EL
12291 * ido.el (ido-delete-ignored-files): New function,
12292 split from ido-make-file-list-1.
12293 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12294 (ido-make-file-list-1): Use ido-delete-ignored-files.
12295
daabf15a
LL
122962013-06-12 Leo Liu <sdl.web@gmail.com>
12297
12298 * progmodes/octave.el (inferior-octave-startup)
12299 (inferior-octave-completion-table)
12300 (inferior-octave-track-window-width-change)
12301 (octave-eldoc-function-signatures, octave-help)
12302 (octave-find-definition): Use single quoted strings.
12303 (inferior-octave-startup-args): Change default value.
12304 (inferior-octave-startup): Do not hard code "-i" and
12305 "--no-line-editing".
12306 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12307 (inferior-octave-directory-tracker): Use it.
12308 (octave-goto-function-definition): Robustify.
12309 (octave-help): Support highlighting operators in 'See also'.
12310 (octave-find-definition): Find subfunctions only in Octave mode.
12311
cf4e5178
SM
123122013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12313
12314 * help-fns.el (help-fns--compiler-macro): If the handler function is
12315 named, then put a link to it.
12316 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12317 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12318 (cl-typep): Use it.
12319 (cl-eval-when): Simplify debug spec.
12320 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12321 compiler-macro function instead of setting `compiler-macro-file'.
12322
99c81280 123232013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
12324
12325 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12326 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12327
f56be016
SM
123282013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12329 Daniel Hackney <dan@haxney.org>
12330
12331 First part of Daniel Hackney's patch to package.el.
12332 * emacs-lisp/package.el: Use defstruct.
12333 (package-desc): New, main struct.
12334 (package--bi-desc, package--ac-desc): New structs, used to describe the
12335 format in external files.
12336 (package-desc-vers): Replace with package-desc-version accessor.
12337 (package-desc-doc): Replace with package-desc-summary accessor.
12338 (package-activate-1): Remove `package' arg since the pkg-vec now
12339 includes the name.
12340 (define-package): Use package-desc-from-define.
12341 (package-unpack-single): Change file-name arg to be a symbol.
12342 (package--add-to-archive-contents): Use package-desc-create and new
12343 accessor functions to package--ac-desc.
12344 (package-buffer-info, package-tar-file-info): Return a package-desc.
12345 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12346 arg to be a package-desc.
12347 (package-install-file): Adjust accordingly. Use \' to match EOS.
12348 (package--from-builtin): New function.
12349 (describe-package-1, package-menu--generate): Use it.
12350 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12351 (package-generate-autoloads): Idem and return the name of the file.
12352 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12353 Change pkg-info arg to be a package-desc.
12354 Use package-make-ac-desc.
12355 (package-upload-file): Use \' to match EOS.
12356 * finder.el (finder-compile-keywords): Use package-make-builtin.
12357
31119d63
SM
123582013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12359
931a2762
SM
12360 * vc/vc.el (vc-deduce-fileset): Change error message.
12361 (vc-read-backend): New function.
12362 (vc-next-action): Use it.
12363
5a3eb0c6
SM
12364 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12365
e3eb1bb7
SM
12366 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12367 (prolog-font-lock-keywords): Use regexp-opt instead.
12368 Don't manually highlight strings.
12369 (prolog-mode-variables): Simplify comment-start-skip.
12370 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12371
31119d63
SM
12372 * emacs-lisp/generic.el (generic--normalise-comments)
12373 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12374 (generic-mode-set-comments): Use them.
12375 (generic-bracket-support): Use setq-local.
12376 (generic-make-keywords-list): Declare obsolete.
12377
7de135d0
GM
123782013-06-11 Glenn Morris <rgm@gnu.org>
12379
12380 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12381 Prettify after setting font-lock-defaults. (Bug#14574)
12382
fa6bc6fd
JB
123832013-06-11 Juanma Barranquero <lekktu@gmail.com>
12384
12385 * replace.el (query-replace, occur-read-regexp-defaults-function)
12386 (replace-search):
12387 * subr.el (declare-function, number-sequence, local-set-key)
12388 (substitute-key-definition, locate-user-emacs-file)
12389 (with-silent-modifications, split-string, eval-after-load):
12390 Fix typos, remove unneeded backslashes and reflow some docstrings.
12391
cf1f9b9a
SM
123922013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12395 default for Elisp files.
12396
56602a4b
GM
123972013-06-11 Glenn Morris <rgm@gnu.org>
12398
12399 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12400 although define-derived-mode was doing this anyway. (Bug#14583)
12401
30ae0b2c
JB
124022013-06-10 Juanma Barranquero <lekktu@gmail.com>
12403
12404 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12405 Fix make-variable-buffer-local call to refer to the correct variable.
12406
fa472906
AG
124072013-06-10 Aidan Gauland <aidalgol@amuri.net>
12408
12409 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
12410 (eshell-visual-subcommands, eshell-visual-options):
12411 Add summary line to docstrings. Add cross-references.
fa472906 12412
ff4871b9
GM
124132013-06-10 Glenn Morris <rgm@gnu.org>
12414
12415 * epa.el (epa-read-file-name): New function. (Bug#14510)
12416 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12417
04fcf1b0
AG
124182013-06-09 Aidan Gauland <aidalgol@amuri.net>
12419
12420 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12421 output redirection to be ignored with visual commands.
12422
88b00caa
AG
124232013-06-09 Aidan Gauland <aidalgol@amuri.net>
12424
12425 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
12426 (eshell-term-initialize): Move long lambda to separate function
12427 eshell-visual-command-p.
27821a89 12428 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
12429 * eshell/em-script.el (eshell-script-initialize):
12430 Add missing #' to lambda.
88b00caa 12431
fda74125
LL
124322013-06-08 Leo Liu <sdl.web@gmail.com>
12433
12434 * progmodes/octave.el (octave-add-log-current-defun): New function.
12435 (octave-mode): Set add-log-current-defun-function.
12436 (octave-goto-function-definition): Do not move point if not found.
12437 (octave-find-definition): Enhance to try subfunctions first.
12438
467f3b33
GM
124392013-06-08 Glenn Morris <rgm@gnu.org>
12440
12441 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12442 (byte-compile-backward-char, byte-compile-backward-word):
12443 Improve previous change, to handle non-explicit nil.
12444
544badc3
SM
124452013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12446
12447 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12448 (smie--opener/closer-at-point): New function.
12449 (smie--matching-block-data): Use it. Don't match from right after an
12450 opener or right before a closer. Obey smie-blink-matching-inners.
12451 Don't signal a mismatch for repeated inners like "switch..case..case".
12452
a175bf33
LL
124532013-06-07 Leo Liu <sdl.web@gmail.com>
12454
12455 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12456 to t. (Bug#14303)
ce8209d4
LL
12457 (octave-function-header-regexp): Fix. (Bug#14570)
12458 (octave-help-mode-finish-hook, octave-help-mode-finish):
12459 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
12460
12461 * newcomment.el (comment-search-backward): Revert last change.
12462 (Bug#14434)
12463
12464 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12465
a822acff
EZ
124662013-06-07 Eli Zaretskii <eliz@gnu.org>
12467
12468 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12469 through xargs, to avoid failure due to MS-Windows limitations on
12470 command-line length.
12471
961166f5
GM
124722013-06-06 Glenn Morris <rgm@gnu.org>
12473
d0341459
GM
12474 * font-lock.el (lisp-font-lock-keywords-2):
12475 Treat user-error like error.
12476
961166f5
GM
12477 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12478 (byte-compile-backward-char, byte-compile-backward-word):
12479 Handle explicit nil arguments. (Bug#14565)
12480
80fa505f
AM
124812013-06-05 Alan Mackenzie <acm@muc.de>
12482
12483 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 12484 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 12485 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 12486 (Bug#9706)
80fa505f 12487
fccdc796
SM
124882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12489
12490 * autorevert.el (auto-revert-notify-handler): Use memq.
12491 Hide assertion failure.
12492
12493 * skeleton.el: Use cl-lib.
12494 (skeleton-further-elements): Use defvar-local.
12495 (skeleton-insert): Use cl-progv.
12496
9bfff84b
TZ
124972013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12498
12499 * progmodes/prog-mode.el (prog-prettify-symbols)
12500 (prog-prettify-install): Update docstrings.
12501
55577e7c
SM
125022013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12503
12504 * simple.el: Move all the prog-mode code to prog-mode.el.
12505 * progmodes/prog-mode.el: New file.
12506 * loadup.el: Add prog-mode.el.
12507
8fc57765
TZ
125082013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12509
12510 * simple.el (prog-prettify-symbols): Add version.
12511 (prog-prettify-install): Add convenience function to prettify symbols.
12512
12513 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12514 (perl--augmented-font-lock-keywords-1)
12515 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12516 variables and use it.
12517
12518 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12519 (cfengine3-mode): Remove unneeded variable and use it.
12520
12521 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12522 (lisp--augmented-font-lock-keywords-1)
12523 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12524 Remove unneeded variables and use it.
12525
650645d5 125262013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
12527
12528 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 12529 to point when opening the connection. (Bug#14380)
28f5da6d 12530
781b4af6
SM
125312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12532
12533 * subr.el (load-history-regexp, load-history-filename-element)
12534 (eval-after-load, after-load-functions, do-after-load-evaluation)
12535 (eval-next-after-load, display-delayed-warnings)
12536 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12537 definition of save-match-data.
12538 (overriding-local-map): Remove accidental obsolescence declaration.
12539
12540 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12541
3ca0d0b4
TZ
125422013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12543
12544 Generalize symbol prettify support to prog-mode and implement it
12545 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12546 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12547 (prog--prettify-font-lock-compose-symbol)
12548 (prog-prettify-font-lock-symbols-keywords): New variables and
12549 functions to support symbol prettification.
12550 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12551 (lisp--augmented-font-lock-keywords-1)
12552 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12553 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12554 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
12555 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12556 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
12557 * progmodes/perl-mode.el (perl-prettify-symbols)
12558 (perl--font-lock-compose-symbol)
12559 (perl--font-lock-symbols-keywords): Move to prog-mode.
12560 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12561 (perl-font-lock-keywords-1)
12562 (perl-font-lock-keywords-2): Remove explicit prettify support.
12563 (perl--augmented-font-lock-keywords)
12564 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
12565 (perl--augmented-font-lock-keywords-2, perl-mode):
12566 Implement prettify support.
3ca0d0b4 12567
976cb066
LL
125682013-06-05 Leo Liu <sdl.web@gmail.com>
12569
27821a89 12570 Re-implement SMIE matching block highlight using
976cb066
LL
12571 show-paren-data-function. (Bug#14395)
12572 * emacs-lisp/smie.el (smie-matching-block-highlight)
12573 (smie--highlight-matching-block-overlay)
12574 (smie--highlight-matching-block-lastpos)
12575 (smie-highlight-matching-block)
12576 (smie-highlight-matching-block-mode): Remove.
12577 (smie--matching-block-data-cache): New variable.
12578 (smie--matching-block-data): New function.
12579 (smie-setup): Use smie--matching-block-data for
12580 show-paren-data-function.
12581
12582 * progmodes/octave.el (octave-mode-menu): Fix.
12583 (octave-find-definition): Skip garbage lines.
12584
208d0342
SM
125852013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12586
12587 Fix compilation error with simultaneous dynamic+lexical scoping.
12588 Add warning when a defvar appears after the first let-binding.
12589 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12590 (byte-compile-close-variables): Initialize it.
12591 (byte-compile--declare-var): New function.
12592 (byte-compile-file-form-defvar)
12593 (byte-compile-file-form-define-abbrev-table)
12594 (byte-compile-file-form-custom-declare-variable): Use it.
12595 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12596 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12597 (byte-compile-bind): Handle dynamic bindings that shadow
12598 lexical bindings.
12599 (byte-compile-unbind): Make arg non-optional.
12600 (byte-compile-let): Simplify.
12601 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12602 (cconv--analyse-function, cconv-analyse-form): Populate it.
12603 Protect byte-compile-bound-variables to limit the scope of defvars.
12604 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12605 Remove unneeded rule for `declare'.
12606
12607 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12608 so as to avoid depending on cl-adjoin at run-time.
12609 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12610
12611 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12612 (macroexp--warn-and-return): Use it.
12613
1ac2891e
GM
126142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12615
a12bf61e 12616 * subr.el: Convert to lexical binding.
1ac2891e
GM
12617 (overriding-local-map): Make obsolete.
12618 (add-to-list): Doc fix. Add compiler macro.
12619 (read-key): Swap values of local maps.
12620
2587b005
LL
126212013-06-05 Leo Liu <sdl.web@gmail.com>
12622
12623 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12624
f1da3c88
LL
126252013-06-04 Leo Liu <sdl.web@gmail.com>
12626
12627 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12628 (compilation-auto-jump): Suppress the "Mark set" message to give
12629 way to exit message.
12630
3caa391f
AM
126312013-06-04 Alan Mackenzie <acm@muc.de>
12632
12633 Remove faulty optimisation from indentation calculation.
12634 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12635 search limit based on 2000 characters back from indent-point.
12636
068922a2
TH
126372013-06-03 Tassilo Horn <tsdh@gnu.org>
12638
12639 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12640
1f8fdd53
SM
126412013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12642
bbcc4d97
SM
12643 * emacs-lisp/lisp.el: Use lexical-binding.
12644 (lisp--local-variables-1, lisp--local-variables): New functions.
12645 (lisp--local-variables-completion-table): New var.
208d0342 12646 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 12647
1f8fdd53
SM
12648 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12649 eagerly (bug#14422).
12650
c9628c79
MA
126512013-06-03 Michael Albinus <michael.albinus@gmx.de>
12652
12653 * autorevert.el (auto-revert-notify-enabled)
12654 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12655 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12656 (auto-revert-notify-handler): Handle also gfilenotify.
12657
e7b41c4c 12658 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 12659 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 12660 Remove.
c9628c79 12661
e5e4a942
JL
126622013-06-03 Juri Linkov <juri@jurta.org>
12663
12664 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12665 `M-s h .'. (Bug#14427)
12666
12667 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12668 command `hi-lock-face-symbol-at-point'.
12669 (hi-lock-face-symbol-at-point): New command.
12670 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12671 (hi-lock-menu): Add `highlight-symbol-at-point'.
12672 (hi-lock-mode): Doc fix.
12673
12674 * isearch.el (isearch-forward-symbol-at-point): New command.
12675 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12676 (isearch-highlight-regexp): Add a regexp which matches
12677 words/symbols for word/symbol mode.
12678
12679 * subr.el (find-tag-default-bounds): New function with the body
12680 mostly moved from `find-tag-default'.
12681 (find-tag-default): Move most code to `find-tag-default-bounds',
12682 call it and apply `buffer-substring-no-properties' afterwards.
12683
26b3353a
TH
126842013-06-03 Tassilo Horn <tsdh@gnu.org>
12685
781b4af6
SM
12686 * eshell/em-term.el (eshell-term-initialize):
12687 Use `cl-intersection' rather than `intersection'.
26b3353a 12688
51b60f53
XF
126892013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12690
fe054b63 12691 * vc/log-view.el: Doc fix.
d3ffe17c 12692 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 12693
a0eb10b3 126942013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
12695
12696 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12697 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12698 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12699 (eieio-unbound, eieio-default-superclass)
12700 (eieio--define-field-accessors, method-static, method-before)
12701 (method-primary, method-after, method-num-lists)
12702 (method-generic-before, method-generic-primary)
12703 (method-generic-after, method-num-slots)
12704 (eieio-specialized-key-to-generic-key)
12705 (eieio--check-type, class-v, class-p)
12706 (eieio-class-name, define-obsolete-function-alias)
12707 (eieio-class-parents-fast, eieio-class-children-fast)
12708 (same-class-fast-p, class-constructor, generic-p)
12709 (generic-primary-only-p, generic-primary-only-one-p)
12710 (class-option-assoc, class-option, eieio-object-p)
12711 (class-abstract-p, class-method-invocation-order)
12712 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12713 (eieio-class-un-autoload, eieio-defclass)
12714 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12715 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12716 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12717 (eieio-defgeneric-reset-generic-form)
12718 (eieio-defgeneric-form-primary-only)
12719 (eieio-defgeneric-reset-generic-form-primary-only)
12720 (eieio-defgeneric-form-primary-only-one)
12721 (eieio-defgeneric-reset-generic-form-primary-only-one)
12722 (eieio-unbind-method-implementations)
12723 (eieio--defmethod, eieio--typep)
12724 (eieio-perform-slot-validation, eieio-validate-slot-value)
12725 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12726 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12727 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12728 (eieio-slot-name-index, eieio-class-slot-name-index)
12729 (eieio-set-defaults, eieio-initarg-to-attribute)
12730 (eieio-attribute-to-initarg, eieio-c3-candidate)
12731 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12732 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12733 (eieio-class-precedence-list, eieio-generic-call-methodname)
12734 (eieio-generic-call-arglst, eieio-generic-call-key)
12735 (eieio-generic-call-next-method-list)
12736 (eieio-pre-method-execution-functions, eieio-generic-call)
12737 (eieio-generic-call-primary-only, eieiomt-method-list)
12738 (eieiomt-optimizing-obarray, eieiomt-install)
12739 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12740 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 12741 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
12742 (defclass): Remove `eval-and-compile' from macro.
12743 (call-next-method, shared-initialize): Instead of using
12744 `scoped-class' variable, use new eieio--scoped-class, and
12745 eieio--with-scoped-class.
12746 (initialize-instance): Rename local variable 'scoped-class' to
12747 'this-class' to remove ambiguitity from old global.
12748
12749 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12750 eieio.el.
4f405069
JB
12751 (eieio--scoped-class-stack): New variable.
12752 (eieio--scoped-class): New fcn.
890f7890
DE
12753 (eieio--with-scoped-class): New scoping macro.
12754 (eieio-defclass): Use pushnew instead of add-to-list.
12755 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12756 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12757 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12758 `scoped-class' variable, use new eieio--scoped-class, and
12759 eieio--with-scoped-class.
12760
12761 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12762
d105b0e2
TH
127632013-06-02 Tassilo Horn <tsdh@gnu.org>
12764
12765 * eshell/esh-ext.el (eshell-external-command): Pass args to
12766 `eshell-find-interpreter'.
12767 (eshell-find-interpreter): Add new second parameter ARGS.
12768
12769 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 12770 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12771
12772 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 12773 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12774
12775 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12776 (eshell-visual-options): New defcustom.
12777 (eshell-escape-control-x): Adapt docstring.
12778 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12779 `eshell-visual-options' in addition to `eshell-visual-commands'.
12780 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12781
f46305c8 127822013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
12783
12784 * progmodes/python.el (python-indent-block-enders): Add break,
12785 continue and raise keywords.
12786
d870df21
GM
127872013-06-01 Glenn Morris <rgm@gnu.org>
12788
9133b82e
GM
12789 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12790
02c992ec 12791 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
12792 * progmodes/cc-cmds.el (delete-forward-p):
12793 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12794 * progmodes/cc-engine.el (buffer-syntactic-context):
12795 * progmodes/cc-fonts.el (face-property-instance):
12796 * progmodes/cc-mode.el (set-keymap-parents):
12797 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12798 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12799 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
12800 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12801 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 12802
31e7b090
GM
12803 * progmodes/cc-vars.el (other): Emacs has this widget since
12804 at least 21.1, so don't (re)define it.
12805
d870df21
GM
12806 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12807 Replace the obsolete alias pcomplete-arg-quote-list.
12808
c75c93c7
LL
128092013-06-01 Leo Liu <sdl.web@gmail.com>
12810
12811 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12812 punctuation syntax.
12813 (inferior-octave-minimal-columns)
12814 (inferior-octave-last-column-width): New variables.
12815 (inferior-octave-track-window-width-change): New function.
12816 (inferior-octave-mode): Adjust column width so that Octave output,
12817 for example from 'ls', can fit into the window nicely.
12818
973d1e12
DG
128192013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12820
12821 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12822 Highlight expansions inside regexp literals.
12823
0888c286
GM
128242013-05-31 Glenn Morris <rgm@gnu.org>
12825
e26aac1f
GM
12826 * obsolete/sym-comp.el (symbol-complete):
12827 Replace obsolete completion-annotate-function.
12828
0888c286
GM
12829 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12830
19bb8e62
DG
128312013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12832
781b4af6
SM
12833 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12834 New function, checks if point is inside a literal that allows
19bb8e62
DG
12835 expression expansion.
12836 (ruby-syntax-propertize-expansion): Use it.
12837 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12838 around the body.
12839
01dea85f
JL
128402013-05-30 Juri Linkov <juri@jurta.org>
12841
12842 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12843 to "\M-si".
12844 (isearch-invisible): New variable.
12845 (isearch-forward): Doc fix.
12846 (isearch-mode): Set `isearch-invisible'
12847 to the value of `search-invisible'.
12848 (isearch-toggle-case-fold): Doc fix.
12849 (isearch-toggle-invisible): New command.
12850 (isearch-query-replace): Let-bind `search-invisible'
12851 to the value of `isearch-invisible'.
12852 (isearch-search): Use `isearch-invisible' instead of
12853 `search-invisible'. Let-bind `search-invisible'
12854 to the value of `isearch-invisible'. (Bug#11378)
12855
ab1bdce5
JL
128562013-05-30 Juri Linkov <juri@jurta.org>
12857
12858 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12859 call when `query-flag' is nil and `search-invisible' is non-nil.
12860 (Bug#11746)
12861
d6d236e2
GM
128622013-05-30 Glenn Morris <rgm@gnu.org>
12863
8accd027
GM
12864 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12865
2a8bed1c
GM
12866 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12867 (cc-require): Suppress spurious "noruntime" warnings.
12868 (cc-require-when-compile): Use fboundp, for sake of compiler.
12869
d6d236e2
GM
12870 * progmodes/cc-mode.el: Move load of cc-vars before that of
12871 cc-langs (which in turn loads cc-vars), to quieten compiler.
12872
9190b35b
SM
128732013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * paren.el: Simplify the code.
12876 (show-paren-mode): Always start the timer.
12877 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12878 (show-paren--overlay, show-paren--overlay-1): Rename from
12879 show-paren-overlay and show-paren-overlay-1, and initialize to an
12880 overlay rather than to nil.
12881 (show-paren-function): Misc cleanup and simplifications.
12882
4f8d1cf6
SM
128832013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12884
12885 * paren.el (show-paren-data-function): New hook.
12886 (show-paren--default): New function, extracted from show-paren-function.
12887 (show-paren-function): Use show-paren-data-function.
12888
02d844b5
GM
128892013-05-30 Glenn Morris <rgm@gnu.org>
12890
d209d4a9
GM
12891 * ielm.el (ielm-map, ielm-complete-symbol):
12892 Use completion-at-point rather than obsolete functions.
12893 (inferior-emacs-lisp-mode): Doc fix.
12894 Set completion-at-point-functions, rather than
12895 comint-dynamic-complete-functions.
12896
2082faa6
GM
12897 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12898 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12899 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12900
dd8620de
GM
12901 * image.el (image-animated-p): Tweak definition.
12902
ceca95b1
GM
12903 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12904 (rlogin-process-connection-type): Tweak default. Add set-after.
12905 (rlogin-host): Doc fix.
12906 (rlogin): Tweak prompt.
12907 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12908
ee9f1acc
GM
12909 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12910 * progmodes/tcl.el (inferior-tcl-mode-map):
12911 Use completion-at-point rather than obsolete alias.
12912
45ce222e
GM
12913 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12914
02d844b5
GM
12915 * minibuffer.el (read-file-name-completion-ignore-case):
12916 Move before completion--in-region, for eager macro expansion.
12917
ac44d6c1
JL
129182013-05-29 Juri Linkov <juri@jurta.org>
12919
12920 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12921 for total count of matching lines. Add `global-matches' for total
12922 count of matches. Rename `matches' to `lines' for count of
12923 matching lines. Add `matches' for count of matches.
12924 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12925 to `prev-line' for line number of prev match endpt.
12926 Increment `matches' for every match. Print the number of
12927 matching lines in the header.
12928 (occur-context-lines): Rename `lines' to `curr-line'.
12929 Rename `prev-lines' to `prev-line'. (Bug#14017)
12930
3c9c9d38
JL
129312013-05-29 Juri Linkov <juri@jurta.org>
12932
12933 * replace.el (perform-replace): Add `skip-read-only-count',
12934 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12935 Increment them for corresponding conditions and report the number
12936 of skipped occurrences in the final message. (Bug#11746)
12937 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12938 (replace-string, replace-regexp): Doc fix.
12939
33e249a2
SM
129402013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12941
8e399682
SM
12942 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12943
33e249a2 12944 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 12945 prog-mode-map (bug#14504).
33e249a2 12946
f236dd84
LL
129472013-05-29 Leo Liu <sdl.web@gmail.com>
12948
12949 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12950 (octave-help): Small simplification.
12951
12952 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12953 off the highlight first.
12954
3694d13f
GM
129552013-05-29 Glenn Morris <rgm@gnu.org>
12956
03983bdc
GM
12957 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12958 Handle idlwave-last-system-routine-info-cons-cell being nil.
12959
bc74a74a
GM
12960 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12961 (idlwave-write-paths): Simplify via with-temp-buffer.
12962
8b394200
GM
12963 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12964 * emulation/cua-rect.el: Also load cua-base at run time.
12965
3694d13f
GM
12966 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12967 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12968 (cperl-imenu-on-info): Require imenu.
12969
336d7284
AM
129702013-05-28 Alan Mackenzie <acm@muc.de>
12971
12972 Handle "capitalised keywords" correctly.
33e249a2 12973 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 12974
cb29c582
AG
129752013-05-28 Aidan Gauland <aidalgol@amuri.net>
12976
781b4af6 12977 * eshell/em-unix.el: Add -r option to cp.
cb29c582 12978
690e44b2
GM
129792013-05-28 Glenn Morris <rgm@gnu.org>
12980
e658d75c
GM
12981 * vc/vc-arch.el (vc-exec-after): Declare.
12982 (vc-switches): Autoload.
12983 * vc/vc-bzr.el: No need to require vc when compiling.
12984 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12985 (vc-resynch-buffer, vc-dir-refresh): Declare.
12986 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
12987 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12988 (vc-resynch-buffer): Declare.
12989 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 12990 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
12991 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12992 (grep-read-regexp, grep-read-files, grep-expand-template)
12993 (vc-dir-refresh): Declare.
12994 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12995 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12996 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
12997 * vc/vc-mtn.el (vc-exec-after): Declare.
12998 (vc-switches): Autoload.
12999 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13000 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13001 (vc-file-tree-walk): Declare.
712b9732
GM
13002 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13003 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13004 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
13005 * vc/vc-svn.el (vc-exec-after): Declare.
13006 (vc-switches, vc-setup-buffer): Autoload.
13007 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13008 Autoload.
13009 (vc-resynch-buffer): Declare.
13010
98e87fb3
GM
13011 * obsolete/fast-lock.el (byte-compile-warnings):
13012 Don't warn about obsolete features in this obsolete file.
13013
f5379553
GM
13014 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13015 Move definition before use.
13016
7a20ef83
GM
13017 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13018 (dun-unix-verbs): Remove dun-zippy.
13019 (dun-zippy): Remove function.
13020
690e44b2
GM
13021 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13022
3a52ccf7
JL
130232013-05-27 Juri Linkov <juri@jurta.org>
13024
13025 * replace.el (replace-search): New function with code moved out
13026 from `perform-replace'.
13027 (replace-highlight, replace-dehighlight): Move function definitions
13028 up closer to `replace-search'. (Bug#11746)
13029
d289938a
JL
130302013-05-27 Juri Linkov <juri@jurta.org>
13031
13032 * replace.el (perform-replace): Ignore invisible matches.
13033 In addition to checking `query-replace-skip-read-only', also
13034 filter out matches by calling `run-hook-with-args-until-failure'
13035 on `isearch-filter-predicates', and also check `search-invisible'
13036 for t or call `isearch-range-invisible'.
13037 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13038
66fc57e3
JL
130392013-05-27 Juri Linkov <juri@jurta.org>
13040
13041 * isearch.el (isearch-filter-predicates): Rename from
13042 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13043 (isearch-message-prefix): Display text from the property
13044 `isearch-message-prefix' of the currently active filters.
13045 (isearch-search): Don't compare `isearch-filter-predicate' with
13046 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13047 on `isearch-filter-predicates'. Also check `search-invisible' for t
13048 or call `isearch-range-invisible'.
13049 (isearch-filter-visible): Make obsolete.
13050 (isearch-lazy-highlight-search):
13051 Call `run-hook-with-args-until-failure' on
13052 `isearch-filter-predicates' and use `isearch-range-invisible'.
13053
13054 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13055 `isearch-filter-predicates' instead of `funcall'ing
13056 `isearch-filter-predicate'.
13057 (Info-mode): Set `Info-isearch-filter' to
13058 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13059
13060 * dired-aux.el (dired-isearch-filter-predicate-orig):
13061 Remove variable.
13062 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13063 (dired-isearch-filenames-end): Add and remove
13064 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13065 instead of changing the value of `isearch-filter-predicate'.
13066 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13067 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13068 Put property `isearch-message-prefix' to "filename " on
13069 `dired-isearch-filter-filenames'.
13070
13071 * wdired.el (wdired-change-to-wdired-mode):
13072 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13073 locally instead of changing `isearch-filter-predicate'.
13074 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13075
f1a60a0f
DG
130762013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13077
13078 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13079 return the commit hash (Bug#14459). Also set the
13080 `vc-git-detached' property.
13081 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13082 (vc-git-mode-line-string): Use the same help-echo format whether
13083 in detached mode or not, because we know the actual revision now.
13084 When in detached mode, shorten the revision to 7 chars.
13085
7f17cc40
SM
130862013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * emacs-lisp/easy-mmode.el (define-minor-mode):
13089 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13090 mode hook and provide a docstring.
13091
25c8401c
AM
130922013-05-27 Alan Mackenzie <acm@muc.de>
13093
13094 Remove spurious syntax-table text properties inserted by C-y.
13095 * progmodes/cc-mode.el (c-after-change): Also clear hard
13096 syntax-table property with value nil.
13097
dde84790
MA
130982013-05-27 Michael Albinus <michael.albinus@gmx.de>
13099
13100 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13101 when reading the events; the buffer layout shall not be changed.
13102
837fd9af
LL
131032013-05-27 Leo Liu <sdl.web@gmail.com>
13104
13105 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13106 New variable.
13107 (inferior-octave-directory-tracker): Automatically re-sync
13108 default-directory.
13109 (octave-help): Improve handling of 'See also'.
13110
4fd996b3
SM
131112013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13112
416f1802
SM
13113 * doc-view.el: Minor naming convention tweaks.
13114 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13115
4fd996b3
SM
13116 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13117 even if there's no `display' property yet (bug#14435).
13118
a052ef3b
EZ
131192013-05-25 Eli Zaretskii <eliz@gnu.org>
13120
4fd996b3 13121 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
13122
13123 * Makefile.in (custom-deps, finder-data, autoloads)
13124 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13125 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13126 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13127
c9023370
SM
131282013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13129
13130 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13131 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 13132 Don't burp at EOB.
c9023370 13133
24d699fa
LL
131342013-05-25 Leo Liu <sdl.web@gmail.com>
13135
13136 * comint.el (comint-previous-matching-input): Do not flood the
13137 *Messages* buffer with trivial messages.
13138
17e5c0cc
SM
131392013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13140
13141 * progmodes/flymake.el (flymake-nop): Don't return a string.
13142 (flymake-set-at): Fix typo.
13143
13144 * simple.el (read--expression): New function, extracted from
13145 eval-expression. Set completion-at-point-functions (bug#14465).
13146 (eval-expression, eval-minibuffer): Use it.
13147
5d028165
XF
131482013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13149
13150 * progmodes/flymake.el (flymake-save-buffer-in-file)
13151 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13152 (flymake-selected-frame, flymake-log, flymake-ins-after)
13153 (flymake-set-at, flymake-get-buildfile-from-cache)
13154 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13155 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13156 Refine the doc string.
13157 (flymake-get-file-name-mode-and-masks): Reformat.
13158 (flymake-get-real-file-name-function): Fix a minor bug.
13159
7a1d7ba7
JL
131602013-05-24 Juri Linkov <juri@jurta.org>
13161
13162 * progmodes/grep.el (grep-mode-font-lock-keywords):
13163 Support =linenumber= format used by git-grep for lines with
13164 function names. (Bug#13549)
13165
650cff3d
SM
131662013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13167
13168 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13169 0 after a semi-colon; it works better for smie-auto-fill.
13170 (octave--indent-new-comment-line): New function.
13171 (octave-indent-new-comment-line): Use it (indirectly).
13172 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13173 modify comment-line-break-function.
13174
13175 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13176 (smie-setup): Use add-function to set it.
13177
9631677d
SS
131782013-05-24 Sam Steingold <sds@gnu.org>
13179
13180 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13181 argument (before the `interactive' argument).
13182
50105835
SM
131832013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13184
13185 * image-mode.el (image-mode-winprops): Add winprops to
13186 image-mode-winprops-alist before running
13187 image-mode-new-window-functions.
13188 * doc-view.el (doc-view-new-window-function): Don't delay
13189 doc-view-goto-page via timers (bug#14435).
13190
57b9823e
TH
131912013-05-24 Tassilo Horn <tsdh@gnu.org>
13192
13193 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13194 (doc-view-desktop-save-buffer): New function.
13195 (doc-view-restore-desktop-buffer): New function.
50105835
SM
13196 (desktop-buffer-mode-handlers):
13197 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
13198 handler.
13199 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13200 `desktop-save-buffer' function.
13201
91aafa16
MA
132022013-05-24 Michael Albinus <michael.albinus@gmx.de>
13203
13204 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13205 (tramp-gvfs-file-name-handler): Raise a user error when
13206 `tramp-gvfs-enabled' is nil.
13207 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13208 Do not raise a user error when loading package. (Bug#14447)
13209
ec076379
MA
13210 * net/xesam.el: Move to obsolete/.
13211
db785726
GM
132122013-05-24 Glenn Morris <rgm@gnu.org>
13213
af5c7606
GM
13214 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13215
e5d1916a
GM
13216 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13217
ded62b08
GM
13218 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13219 (Info-find-node, Man-getpage-in-background): Declare.
13220
9e614a3f
GM
13221 * mail/unrmail.el (unrmail):
13222 Replace obsolete detect-coding-with-priority.
13223
892f8ca3
GM
13224 * net/socks.el (socks-split-string): Use this rather than split-string.
13225 (socks-nslookup-host): Update for above change.
13226 (dynamic-choice, s5-dynamic-choice-match)
13227 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13228 Comment out unused code.
13229
3c291973
GM
13230 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13231 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13232 (gud-tooltip-echo-area): Make obsolete.
13233 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13234
43cc956b
GM
13235 * progmodes/js.el (js--optimize-arglist): Declare.
13236
dab49a3b
GM
13237 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13238
36b9d085
GM
13239 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13240 (ediff-window-C): Declare.
13241
e354ae76
GM
13242 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13243 Tweak requires to silence compiler.
13244
b8e57bf4
GM
13245 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13246 (he-search-string, he-tried-table, he-expand-list)
13247 (he-init-string, he-string-member, he-substitute-string)
13248 (he-reset-string): Declare.
13249
db785726
GM
13250 * obsolete/options.el (list-options): Use custom-variable-p,
13251 rather than obsolete alias.
13252
b3531901
SS
132532013-05-23 Sam Steingold <sds@gnu.org>
13254
13255 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 13256 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
13257 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13258
bdda4c66
SM
132592013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * emacs-lisp/smie.el (smie-indent-forward-token)
13262 (smie-indent-backward-token): Handle string tokens (bug#14381).
13263
c43d45f9
TH
132642013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13265
fe1eb856
RS
13266 * ielm.el (ielm-menu): New menu.
13267 (inferior-emacs-lisp-mode): Set comment-start.
96172128 13268
fe1eb856
RS
132692013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13270
a12bf61e 13271 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
13272 Fix deactivate action.
13273
a12bf61e 13274 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 13275 Add cleveref macros.
074dd971 13276
9b017563
JB
13277 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13278 Accept options for bibliography commands.
a12bf61e 13279 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
13280 Add addbibresource. Basic Biblatex support.
13281
7764286e
MA
132822013-05-23 Michael Albinus <michael.albinus@gmx.de>
13283
13284 * net/tramp-gvfs.el (top):
13285 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13286 when loading package. (Bug#14447)
13287
d361bc10
GM
132882013-05-23 Glenn Morris <rgm@gnu.org>
13289
8fa23984
GM
13290 * progmodes/js.el: No need to load comint when compiling.
13291 (ring-insert, comint-send-string, comint-send-input)
13292 (comint-last-input-end, ido-chop): Declare.
13293
a5c7df1a
GM
13294 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13295 * vc/ediff-mult.el: Adjust requires.
13296 (ediff-directories-internal, ediff-directory-revisions-internal)
13297 (ediff-patch-file-internal): Declare.
13298 * vc/ediff-ptch.el: Adjust requires.
13299 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13300 (ediff-find-file): Autoload.
13301 * vc/ediff-util.el: No need to load ediff when compiling.
13302 (ediff-regions-internal): Declare.
13303 * vc/ediff-wind.el: Adjust requires.
13304 (ediff-compute-toolbar-width): Define when compiling.
13305 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13306 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13307 (dired-get-filename, dired-get-marked-files)
13308 (ediff-last-dir-patch, ediff-patch-default-directory)
13309 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13310 (ediff-patch-buffer-internal): Declare.
13311
e2aec513
GM
13312 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13313 (ispell-process, ispell-buffer-local-words, lm-summary)
13314 (lm-section-start, lm-section-end): Declare.
13315 (checkdoc-ispell-init): Simplify.
13316
e68bbd7c
GM
13317 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13318 (he-string-member, he-reset-string, he-substitute-string): Declare.
13319
7efe0991
GM
13320 * eshell/em-ls.el: Adjust requires.
13321 (eshell-glob-regexp): Declare.
f87b1284
GM
13322 * eshell/em-tramp.el: Adjust requires.
13323 (eshell-parse-command): Autoload.
13324 * eshell/em-xtra.el: Adjust requires.
13325 (eshell-parse-command): Autoload.
13326 * eshell/esh-ext.el: Adjust requires.
13327 (eshell-parse-command, eshell-close-handles): Autoload.
13328 * eshell/esh-io.el: Adjust requires.
13329 (eshell-output-filter): Autoload.
13330 * eshell/esh-util.el: No need to load tramp when compiling.
13331 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13332 Declare.
13333 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13334 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13335 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13336 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13337 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13338 * eshell/esh-opt.el, eshell/esh-proc.el:
13339 * eshell/esh-var.el: Adjust requires.
13340 * eshell/eshell.el: Do not require esh-util twice.
13341 (eshell-add-input-to-history): Declare.
13342 (eshell-command): Check history module is active before using it.
13343
d361bc10
GM
13344 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13345
85d090a9
LL
133462013-05-22 Leo Liu <sdl.web@gmail.com>
13347
13348 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13349
5d0acd9d
MA
133502013-05-22 Michael Albinus <michael.albinus@gmx.de>
13351
13352 * autorevert.el (auto-revert-notify-add-watch)
13353 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13354 it indicates changes in file modification time.
13355
0cdffd7d
GM
133562013-05-22 Glenn Morris <rgm@gnu.org>
13357
ca5995ec
GM
13358 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13359 Always delete the autoloaded function from the noruntime and
13360 unresolved functions lists.
13361
6450907e
GM
13362 * allout.el: No need to load epa, epg, overlay when compiling.
13363 (epg-context-set-passphrase-callback, epg-list-keys)
13364 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13365 (epg-key-user-id-list): Declare.
13366
9c6906f6
GM
13367 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13368 (viper-set-parsing-style-toggling-macro)
13369 (viper-set-emacs-state-searchstyle-macros):
13370 Use called-interactively-p on Emacs.
13371 (viper-looking-back): Make it an obsolete alias. Update callers.
13372 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13373 Use looking-back rather than viper-looking-back.
13374 (viper-tmp-insert-at-eob, viper-enlarge-region)
13375 (viper-read-string-with-history, viper-register-to-point)
13376 (viper-append-to-register, viper-change-state-to-vi)
13377 (viper-backward-char-carefully, viper-forward-char-carefully)
13378 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13379 (viper-change-state-to-emacs): Declare.
13380 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13381 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13382 * emulation/viper-mous.el: Do not load viper-cmd.
13383 (viper-backward-char-carefully, viper-forward-char-carefully)
13384 (viper-forward-word, viper-adjust-window): Declare.
13385
5f70c169
GM
13386 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13387
b1b7f300
GM
13388 * progmodes/idlw-help.el (idlwave-help-fontify):
13389 Use called-interactively-p.
13390
f6ebbb46
GM
13391 * term/w32console.el (w32-get-console-codepage)
13392 (w32-get-console-output-codepage): Declare.
13393
0cdffd7d
GM
13394 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13395 Remove unnecessary declarations.
13396 (dframe-message): Doc fix.
13397
13398 * info.el (dframe-select-attached-frame, dframe-current-frame):
13399 Declare.
13400
13401 * speedbar.el (speedbar-message): Make it an obsolete alias.
13402 Update all callers.
13403 (speedbar-with-attached-buffer)
13404 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13405 (speedbar-with-writable): Use backquote.
13406 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13407 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13408 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13409 rather than speedbar- aliases.
13410 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13411 (speedbar-make-specialized-keymap, speedbar-insert-button)
13412 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13413 (speedbar-do-function-pointer): Declare.
13414 (rmail-speedbar-button, rmail-speedbar-find-file)
13415 (rmail-speedbar-move-message):
13416 Use dframe-with-attached-buffer rather than speedbar- alias.
13417 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13418 (dframe-message, speedbar-make-specialized-keymap)
13419 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13420 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13421 (speedbar-insert-button, dframe-select-attached-frame)
13422 (dframe-maybee-jump-to-attached-frame)
13423 (speedbar-change-initial-expansion-list)
13424 (speedbar-previously-used-expansion-list-name): Declare.
13425 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13426 Use dframe-message, dframe-with-attached-buffer rather than
13427 speedbar- aliases.
13428 (gud-sentinel): Silence compiler.
13429 * progmodes/vhdl-mode.el (speedbar-refresh)
13430 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13431 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13432 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13433 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13434 (speedbar-file-lists, speedbar-make-tag-line)
13435 (speedbar-line-directory, speedbar-goto-this-file)
13436 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13437 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13438 (speedbar-make-button, speedbar-reset-scanners)
13439 (speedbar-files-item-info, speedbar-line-text)
13440 (speedbar-find-file-in-frame, speedbar-set-timer)
13441 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13442 (speedbar-with-writable): Do not (re)define it.
13443 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13444 rather than speedbar- alias.
13445
ee44b62a
LL
134462013-05-21 Leo Liu <sdl.web@gmail.com>
13447
13448 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13449 menu items.
13450 (octave-mode): Tweak fill-nobreak-predicate.
13451 (inferior-octave-startup): Check process to avoid infinite loop.
13452 (inferior-octave): Pop to buffer first to show abornmal process
13453 exit information.
13454
640f050f
GM
134552013-05-21 Glenn Morris <rgm@gnu.org>
13456
79458038
GM
13457 * printing.el (pr-menu-bar): Define when compiling.
13458
9cc3e83f
LL
134592013-05-21 Leo Liu <sdl.web@gmail.com>
13460
13461 * progmodes/octave.el (octave-auto-fill): Remove.
13462 (octave-indent-new-comment-line): Improve.
13463 (octave-mode): Use auto fill mode through
4f405069 13464 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 13465 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 13466 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
13467 (octave-help): Show parent directory.
13468
f440830d
GM
134692013-05-21 Glenn Morris <rgm@gnu.org>
13470
13471 * files.el (dired-unmark):
13472 * progmodes/gud.el (gdb-input): Update declarations.
13473
13474 * calculator.el (electric, ehelp): No need to load when compiling.
13475 (Electric-command-loop, electric-describe-mode): Declare.
13476
13477 * doc-view.el (doc-view-current-converter-processes): Move before use.
13478
13479 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13480 Move MODE-set-explicitly definition before use.
13481
13482 * international/mule-diag.el (mule-diag):
13483 Don't use obsolete window-system-version.
13484
13485 * mail/feedmail.el (smtpmail): No need to load when compiling.
13486 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13487
13488 * mail/mail-utils.el (rfc822): No need to load when compiling.
13489 (rfc822-addresses): Autoload it.
13490 (mail-strip-quoted-names): Trivial simplification.
13491
13492 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13493 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13494
13495 * net/snmp-mode.el (tempo): Don't duplicate requires.
13496
13497 * progmodes/prolog.el (info): No need to load when compiling.
13498 (comint): Require before shell requires it.
13499 (Info-goto-node): Autoload it.
13500 (Info-follow-nearest-node): Declare.
13501 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13502
13503 * textmodes/artist.el (picture-mode-exit): Declare.
13504
13505 * textmodes/reftex-parse.el (reftex-parse-from-file):
13506 Trivial rewrite so the compiler can parse it better.
13507
b4da2cbb
LL
135082013-05-20 Leo Liu <sdl.web@gmail.com>
13509
13510 * progmodes/octave.el (octave-help-mode-map)
13511 (octave-help-mode-finish-hook): New variables.
13512 (octave-help-mode, octave-help-mode-finish): New functions.
13513 (octave-help): Use octave-help-mode.
13514
33c0f65b
GM
135152013-05-20 Glenn Morris <rgm@gnu.org>
13516
13517 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13518
1a0a0a8a
DG
135192013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13520
13521 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13522 start at point, so that expansion starting right after opening
13523 slash in a regexp is recognized.
13524 (ruby-syntax-before-regexp-re): New defvar, extracted from
13525 ruby-syntax-propertize-function. Since the value of this regexp
13526 is looked up at runtime now, we should be able to turn
13527 `ruby-syntax-methods-before-regexp' into a defcustom later.
13528 (ruby-syntax-propertize-function): Split regexp matching into two
13529 parts, for opening and closing slashes. That allows us to skip
13530 over string interpolations and support multiline regexps.
13531 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13532 for them, which calls `ruby-syntax-propertize-expansion'.
13533 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13534 call to `ruby-syntax-propertize-function'.
13535 (ruby-syntax-propertize-expansion): Extracted from
13536 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
13537 (ruby-syntax-propertize-percent-literal): Leave point right after
13538 the percent symbol, so that the expression expansion rule can
13539 propertize the contents.
462388b6
DG
13540 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13541 heredoc openers.
13542 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 13543
c1a6c0a4
JL
135442013-05-18 Juri Linkov <juri@jurta.org>
13545
13546 * man.el (Man-default-man-entry): Remove `-' from the end
13547 of the default value. (Bug#14400)
13548
8051fccd
GM
135492013-05-18 Glenn Morris <rgm@gnu.org>
13550
13551 * comint.el (comint-password-prompt-regexp):
13552 Allow "password for XXX" where XXX contains colons (eg https://...).
13553
5e80b74f
LL
135542013-05-18 Leo Liu <sdl.web@gmail.com>
13555
13556 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 13557 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
13558 (octave-source-directories): Don't check process.
13559 (octave-source-directories, octave-find-definition): Doc fix.
13560
521a54c5
GM
135612013-05-18 Glenn Morris <rgm@gnu.org>
13562
86a94b05
GM
13563 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13564 Remove backspace/delete bindings. (Bug#14392)
13565
521a54c5
GM
13566 * cus-dep.el (custom-make-dependencies): Sort the output.
13567 (custom-versions-load-alist): Convert comment to doc.
13568
42caeb89
LL
135692013-05-17 Leo Liu <sdl.web@gmail.com>
13570
13571 * newcomment.el (comment-search-backward): Stricter in finding
13572 comment start. (Bug#14303)
13573
13574 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13575 (octave-comment-start-skip): Properly anchored.
13576
e219dd97
LL
135772013-05-17 Leo Liu <sdl.web@gmail.com>
13578
fe1eb856
RS
13579 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13580 Clean up when turned off. (Bug#14395)
e219dd97
LL
13581 (smie--highlight-matching-block-overlay): No longer buffer-local.
13582 (smie-highlight-matching-block): Adjust.
13583
dc5dcb4b
PE
135842013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13585
13586 Doc string fix for "nanoseconds" (Bug#14406).
13587 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13588 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13589
1db165f0
JB
135902013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13591
13592 * calc/calc-units.el (math-extract-units): Preserve powers
13593 of units.
13594
c7a8fcac
LL
135952013-05-17 Leo Liu <sdl.web@gmail.com>
13596
13597 * subr.el (delete-consecutive-dups): New function.
13598 * ido.el (ido-set-matches-1): Use it.
13599 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13600 * ido.el (ido-remove-consecutive-dups): Remove.
13601
f678b18a
SM
136022013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13603
13604 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13605 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13606 regexp-opt's `words'.
13607
ebfe68e8
LL
136082013-05-16 Leo Liu <sdl.web@gmail.com>
13609
13610 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13611 (smie--highlight-matching-block-overlay)
13612 (smie--highlight-matching-block-lastpos)
13613 (smie--highlight-matching-block-timer): New variables.
13614 (smie-highlight-matching-block): New function.
13615 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13616 (smie-setup): Conditionally enable smie-blink-matching-open.
13617
bc8bc17d
WS
136182013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13619
13620 Sync with upstream verilog-mode r840.
13621 * progmodes/verilog-mode.el (verilog-mode-version)
13622 (verilog-mode-release-date): Update.
13623 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13624 (verilog-sig-tieoff): Fix string error on
13625 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13626 (verilog-read-decls): Fix parameters confusing
13627 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13628
df065a0b
EZ
136292013-05-16 Eli Zaretskii <eliz@gnu.org>
13630
13631 * subr.el (reveal-filename): New function.
13632
13633 * loadup.el: Compute Emacs executable versions on MS-Windows,
13634 where executables have the .exe extension. Add a hard link
13635 emacs-XX.YY.ZZ.exe on MS-Windows.
13636
13637 * Makefile.in (XARGS_LIMIT): New variable.
13638 (custom-deps, finder-data, autoloads)
13639 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13640 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13641 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13642 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13643
2d4bf34b
LL
136442013-05-16 Leo Liu <sdl.web@gmail.com>
13645
13646 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13647 (octave-mode-menu, octave-mode-map): Remove its uses.
13648
6b9c2d85
RZ
136492013-05-16 Reto Zimmermann <reto@gnu.org>
13650
13651 Sync with upstream vhdl mode v3.34.2.
13652 * progmodes/vhdl-mode.el: Use `push' throughout.
13653 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13654 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13655 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13656 (vhdl-actual-generic-name): New option to derive actual generic name.
13657 (vhdl-port-paste-signals): Replace formal by actual generics.
13658 (vhdl-beautify): New name for old group vhdl-align. Update users.
13659 (vhdl-beautify-options): New option.
13660 (vhdl-last-input-event): New compat alias. Use throughout.
13661 (vhdl-goto-line): Replace user level function `goto-line'.
13662 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13663 vhdl-fix-statement-buffer.
13664 (vhdl-create-mode-menu): Add some entries.
13665 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13666 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13667 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13668 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13669 to force statements on one line.
13670 (vhdl-remove-trailing-spaces-region):
13671 New, split from vhdl-remove-trailing-spaces.
13672 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13673 Respect vhdl-beautify-options.
13674 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13675 (vhdl-update-sensitivity-list): Not add with index if exists without.
13676 Not include array index with signal. Ignore keywords in comments.
13677 (vhdl-get-visible-signals): Regexp tweaks.
13678 (vhdl-template-component-inst): Handle empty library.
13679 (vhdl-template-type): Add template for 'enum' type.
13680 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13681 Use vhdl-replace-string.
13682 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13683 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13684 (vhdl-speedbar-initialize): Update for above name change.
13685 (vhdl-compose-wire-components): Fix in handling of constants.
13686 (vhdl-error-regexp-emacs-alist): New variable.
13687 (vhdl-error-regexp-add-emacs): New function;
13688 adds support for new compile.el (Emacs 22+)
13689 (vhdl-generate-makefile-1): Change target order for single lib. units.
13690 Allow use of absolute file names.
13691
9df4ec5e
LL
136922013-05-16 Leo Liu <sdl.web@gmail.com>
13693
13694 * simple.el (prog-indent-sexp): Indent enclosing defun.
13695
f5ba00a6
GM
136962013-05-15 Glenn Morris <rgm@gnu.org>
13697
ed8be7ff
GM
13698 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13699 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13700 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13701 (whitespace-highlight): Move to whitespace group.
13702
13703 * comint.el (comint-source):
13704 * pcmpl-linux.el (pcmpl-linux):
13705 * shell.el (shell-faces):
13706 * eshell/esh-opt.el (eshell-opt):
13707 * international/ccl.el (ccl): Remove empty custom groups.
13708
13709 * completion.el (dynamic-completion-mode):
13710 * jit-lock.el (jit-lock-debug-mode):
13711 * minibuffer.el (completion-in-region-mode):
13712 * type-break.el (type-break-mode-line-message-mode)
13713 (type-break-query-mode):
13714 * emulation/tpu-edt.el (tpu-edt-mode):
13715 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13716 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13717 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13718
13719 * term/xterm.el (xterm): Change parent group to terminals.
13720
13721 * master.el (master): Remove empty custom group.
13722 (master-mode): Remove unused :group argument.
13723 * textmodes/refill.el (refill): Remove empty custom group.
13724 (refill-mode): Remove unused :group argument.
13725
13726 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13727
82a7c41b
GM
13728 * cus-dep.el: Provide a feature.
13729 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
13730 Don't mistakenly ignore files whose basenames match a basename
13731 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 13732 Add a fallback method for getting :group.
f5ba00a6 13733
6d65486d
JL
137342013-05-15 Juri Linkov <juri@jurta.org>
13735
da547b32
JL
13736 * isearch.el (isearch-char-by-name): Rename from
13737 `isearch-insert-char-by-name'. Doc fix.
13738 (isearch-forward): Mention `isearch-char-by-name' in
13739 the docstring. (Bug#13348)
13740
6d65486d
JL
13741 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13742 `exit-minibuffer' instead of
13743 `isearch-nonincremental-exit-minibuffer'.
13744 (isearch-edit-string): Remove mention of
13745 `isearch-nonincremental-exit-minibuffer' from docstring.
13746 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13747 (isearch-forward-exit-minibuffer)
13748 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13749
c9990474
SM
137502013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13751
6e911150
SM
13752 * loadup.el: Just use unversioned DOC.
13753
c9990474
SM
13754 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13755 literals as extending to EOB.
13756 (nxml-last-fontify-end): Remove unused variable.
13757 (nxml-after-change1): Use with-silent-modifications.
13758 (nxml-extend-after-change-region): Simplify.
13759 (nxml-extend-after-change-region1): Remove function.
13760 (nxml-after-change1): Don't adjust for dependent regions.
13761 (nxml-fontify-matcher): Simplify.
13762 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13763 (xmltok-add-dependent): Remove function.
13764 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13765 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13766 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13767 unclosed <[[, <?, comment, and other literals as extending to EOB.
13768 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13769 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13770 Remove functions.
13771 (rng-do-some-validation-1): Don't mark dependent regions.
13772 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13773 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13774 (nxml-clear-dependent-regions): Remove functions.
13775 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13776 (nxml-ensure-scan-up-to-date):
13777 Don't clear&mark dependent regions.
13778
e3772e98
LL
137792013-05-15 Leo Liu <sdl.web@gmail.com>
13780
c9990474
SM
13781 * progmodes/octave.el (octave-goto-function-definition):
13782 Improve and fix callers.
e3772e98 13783
5ac2eb34
SM
137842013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13785
c46c57b0
SM
13786 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13787 the setter (bug#14387).
13788
5ac2eb34
SM
13789 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13790 surrounding group (bug#14402).
13791
180ed218
JL
137922013-05-14 Juri Linkov <juri@jurta.org>
13793
13794 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13795 (Bug#14390)
13796
0ac0fecb
GM
137972013-05-14 Glenn Morris <rgm@gnu.org>
13798
13799 * progmodes/f90.el (f90-imenu-generic-expression):
13800 Fix typo in 2013-05-08 change. (Bug#14402)
13801
2e78e6a7
JPG
138022013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13803
5ac2eb34
SM
13804 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13805 Remove signals for which replies are never received.
2e78e6a7 13806
53267cca
JPG
138072013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13808
13809 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13810 (gdb-handler-alist, gdb-handler-number): Remove variables.
13811 (gdb-handler-list): New variable.
13812 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13813 (gdb-pending-handler-p, gdb-handle-reply)
13814 (gdb-remove-all-pending-triggers): New functions.
13815 (gdb-discard-unordered-replies): New defcustom.
13816 (gdb-handler): New defstruct.
13817 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13818 instead of gdb-pending-triggers. Update docstring.
13819 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13820 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13821 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13822 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13823 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13824 (gdb-frame-handler): Pending triggers are now automatically managed.
13825 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13826 Remove argument.
13827 (gdb-input): Automatically handles pending triggers. Update docstring.
13828 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13829 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13830 Update comments.
13831 (gdb-done-or-error): Now use gdb-handle-reply.
13832
d04ce803
JPG
138332013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13834
13835 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13836 gdb-debug-log.
13837
0114073a
GM
138382013-05-14 Glenn Morris <rgm@gnu.org>
13839
13840 * subr.el (user-emacs-directory-warning): New option.
13841 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13842
4d25fd7e
LL
138432013-05-14 Leo Liu <sdl.web@gmail.com>
13844
13845 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13846 during redisplay.
13847 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
13848 (octave-font-lock-texinfo-comment): Fix invalid search bound
13849 error: wrong side of point.
4d25fd7e 13850
27c8b6eb
GM
138512013-05-14 Glenn Morris <rgm@gnu.org>
13852
61aaeb01
GM
13853 * progmodes/flymake.el (flymake-xml-program): New option.
13854 (flymake-xml-init): Use it.
13855
5bf90bc5
GM
13856 * term/xterm.el: Provide a feature.
13857
13858 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 13859
f4c7dfd2
GM
138602013-05-13 Glenn Morris <rgm@gnu.org>
13861
13862 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13863 Add compat aliases as a hack workaround. (Bug#14384)
13864
2aeb3a1d
LL
138652013-05-13 Leo Liu <sdl.web@gmail.com>
13866
b0e069c2
LL
13867 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13868 ###, and %!.
f5a9432f
LL
13869 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13870 C-M-q.
b0e069c2
LL
13871 (octave-comment-start-skip): Include %!.
13872 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 13873
30ea8374
LL
138742013-05-12 Leo Liu <sdl.web@gmail.com>
13875
13876 * progmodes/octave.el (inferior-octave-startup): Store the value
13877 of __octave_srcdir__ for octave-source-directories.
13878 (inferior-octave-check-process): New function refactored out of
13879 inferior-octave-send-list-and-digest.
13880 (octave-source-directories)
13881 (octave-find-definition-filename-function): New variables.
13882 (octave-source-directories)
13883 (octave-find-definition-default-filename): New functions.
13884 (octave-find-definition): Improve to find functions implemented in C++.
13885
472a3834
GM
138862013-05-12 Glenn Morris <rgm@gnu.org>
13887
13888 * calendar/diary-lib.el (diary-outlook-format-1):
13889 Don't include dayname in the output. (Bug#14349)
13890
3191b52f
GM
138912013-05-11 Glenn Morris <rgm@gnu.org>
13892
0060ac73
GM
13893 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13894
3191b52f
GM
13895 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13896 Treat cc-provide like provide.
13897
e065ba74
KR
138982013-05-11 Kevin Ryde <user42@zip.com.au>
13899
13900 * cus-dep.el (custom-make-dependencies):
13901 Use generated-autoload-load-name for the sake of files such
13902 such cedet/semantic/bovine/c.el, where the base file name
13903 is not in load-path. (Bug#5277)
13904
36f84c37
GM
139052013-05-11 Glenn Morris <rgm@gnu.org>
13906
13907 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13908 Provide features.
13909
c8730c3a
LL
139102013-05-11 Leo Liu <sdl.web@gmail.com>
13911
13912 * progmodes/octave.el (octave-indent-comment): Improve.
13913 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
13914 (octave-eldoc-function-signatures, octave-eldoc-function):
13915 New functions.
c8730c3a
LL
13916 (octave-mode, inferior-octave-mode): Add eldoc support.
13917
212e29f2
RS
139182013-05-11 Richard Stallman <rms@gnu.org>
13919
13920 * epa.el (epa-decrypt-file): Take output file name as argument
13921 and read it using `interactive'.
13922
083fe0d7
LL
139232013-05-11 Leo Liu <sdl.web@gmail.com>
13924
13925 * progmodes/octave.el (octave-beginning-of-line)
13926 (octave-end-of-line): Check before using up-list because it jumps
13927 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
13928 (octave-indent-comment): New function.
13929 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
13930 (octave-begin-keywords, octave-end-keywords)
13931 (octave-reserved-words, octave-smie-bnf-table)
13932 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 13933
8582e4c4
GM
139342013-05-11 Glenn Morris <rgm@gnu.org>
13935
f20def1f
GM
13936 * faces.el (internal-face-x-get-resource):
13937 * frame.el (ns-display-monitor-attributes-list):
d78abe37 13938 * calc/calc-aent.el (math-to-radians-2):
f20def1f 13939 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 13940 Fix declarations.
f20def1f 13941
445f95e2
GM
13942 * calc/calc-menu.el: Make it loadable in isolation.
13943
13944 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13945 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13946 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13947 (eudc-bbdb-query-internal): Require 'bbdb.
13948
99fb2756
GM
13949 * lpr.el (lpr-headers-switches):
13950 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13951
13952 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13953
0da7ad96
GM
13954 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13955
8582e4c4
GM
13956 * term.el (term-set-escape-char): Make it idempotent.
13957
f71c50d0
LL
139582013-05-10 Leo Liu <sdl.web@gmail.com>
13959
5ac2eb34
SM
13960 * progmodes/octave.el (inferior-octave-completion-table):
13961 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
13962 completion due to bug#11906.
13963 (octave-beginning-of-defun): Re-write to be more general.
13964
d5837773
GM
139652013-05-10 Glenn Morris <rgm@gnu.org>
13966
13967 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13968
027c0f75
SM
139692013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13970
13971 * comint.el (comint-redirect-send-command-to-process): Use :around
13972 rather than :override for comint-redirect-filter.
13973 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13974 Call it instead of comint-redirect-original-filter-function (which
13975 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13976
4465bfb4
JD
139772013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13978
13979 * frame.el (display-monitor-attributes-list): Add NS case.
13980 (ns-display-monitor-attributes-list): Declare.
13981
2d809ffa 139822013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
13983
13984 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13985
e54eeb9b
GM
139862013-05-09 Glenn Morris <rgm@gnu.org>
13987
56cd351d
GM
13988 * international/fontset.el (vertical-centering-font-regexp):
13989 Set standard-value.
13990
d84b6108
GM
13991 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13992
a931698a
GM
13993 * bookmark.el (bookmark-search-delay):
13994 * cus-start.el (vertical-centering-font-regexp):
13995 * ps-mule.el (ps-mule-font-info-database-default):
13996 * ps-print.el (ps-default-fg, ps-default-bg):
13997 * type-break.el (type-break-good-break-interval):
13998 * whitespace.el (whitespace-indentation-regexp)
13999 (whitespace-space-after-tab-regexp):
14000 * emacs-lisp/testcover.el (testcover-1value-functions)
14001 (testcover-noreturn-functions, testcover-progn-functions)
14002 (testcover-prog1-functions):
14003 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14004 * eshell/em-glob.el (eshell-glob-translate-alist):
14005 * play/tetris.el (tetris-tty-colors):
14006 * progmodes/cpp.el (cpp-face-default-list):
14007 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14008 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14009 (idlwave-help-browser-generic-args):
14010 * progmodes/make-mode.el (makefile-special-targets-list):
14011 * progmodes/python.el (python-shell-virtualenv-path):
14012 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14013 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14014 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14015 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14016 * textmodes/reftex-vars.el (reftex-format-label-function):
14017 * textmodes/remember.el (remember-diary-file): Fix custom types.
14018
e54eeb9b
GM
14019 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14020 Add :version.
14021
455851dd
LL
140222013-05-09 Leo Liu <sdl.web@gmail.com>
14023
14024 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 14025 Restore file completion. (Bug#14300)
455851dd
LL
14026 (inferior-octave-startup): Fix incorrect highlighting for the
14027 first prompt.
14028
a9e4425b
SM
140292013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14030
14031 * progmodes/ruby-mode.el: First cut at SMIE support.
14032 (ruby-use-smie): New var.
14033 (ruby-smie-grammar): New constant.
14034 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14035 (ruby-smie--forward-token, ruby-smie--backward-token)
14036 (ruby-smie-rules): New functions.
14037 (ruby-mode-variables): Setup SMIE if applicable.
14038
060ca408
EZ
140392013-05-08 Eli Zaretskii <eliz@gnu.org>
14040
14041 * simple.el (line-move-visual): Signal beginning/end of buffer
14042 only if vertical-motion moved less than it was requested. Avoids
14043 silly incorrect error messages when there are display strings with
14044 multiple newlines at EOL.
14045
1d5963cc
SM
140462013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14047
14048 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14049 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14050 (prolog-char-quote-workaround):
14051 * progmodes/cperl-mode.el (cperl-under-as-char):
14052 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
14053 Mark as obsolete.
14054 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
14055 their declaration.
14056 (vhdl-mode-syntax-table-init): Remove.
14057
c9990474
SM
14058 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14059 last change.
1d5963cc
SM
14060
14061 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14062 syntax for "_".
14063 (ld-script-font-lock-keywords):
14064 Change regexps to use things like \_< and \_>.
14065
14066 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14067 Change all regexps to use things like \_< and \_>.
14068
14069 * progmodes/autoconf.el (autoconf-definition-regexp)
14070 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14071 Handle a _ with symbol syntax.
14072 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14073
c9990474
SM
14074 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14075 Consolidate declaration.
1d5963cc
SM
14076 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14077 the declaration.
14078 (ada-create-syntax-table): Remove.
14079 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14080 already has the right syntax nowadays.
14081 (ada-goto-next-word): Don't change the syntax of "_".
14082
14083 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14084 with-wrapper-hook.
14085
72d3cfca
SS
140862013-05-08 Sam Steingold <sds@gnu.org>
14087
14088 * thingatpt.el (thing-at-point): Accept optional second argument
14089 NO-PROPERTIES to strip the text properties from the return value.
14090 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14091 to `thing-at-point' instead of stripping the properties ourselves.
14092 Also, when `thing-at-point' fails to find a url, prepend "http://"
14093 to the filename at point on the assumption that the user is
14094 pointing at something like gnu.org/gnu.
14095
5cb15713
JB
140962013-05-08 Juanma Barranquero <lekktu@gmail.com>
14097
14098 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14099 * faces.el (crm-separator):
14100 Silence byte-compiler.
14101
14102 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14103 (tool-bar-map): Remove unneeded defvars.
14104
ea78b95b
LL
141052013-05-08 Leo Liu <sdl.web@gmail.com>
14106
14107 Re-work a fix for bug#10994 based on Le Wang's patch.
14108 * ido.el (ido-remove-consecutive-dups): New helper.
14109 (ido-completing-read): Use it.
14110 (ido-chop): Revert fix for bug#10994.
14111
dc7466df
AS
141122013-05-08 Adam Spiers <emacs@adamspiers.org>
14113
14114 * cus-edit.el (custom-save-variables):
14115 Pretty-print long values. (Bug#14187)
14116
9ecf672a
GM
141172013-05-08 Glenn Morris <rgm@gnu.org>
14118
14119 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14120 (m4-mode-syntax-table): Init in the defvar.
14121 (m4-mode-abbrev-table): Let define-derived-mode define it.
14122
3f555be8
TT
141232013-05-08 Tom Tromey <tromey@redhat.com>
14124
14125 * progmodes/m4-mode.el (m4-mode-syntax-table):
14126 Do not treat "_" as word constituent. (Bug#14167)
14127
7cc8ae06
GM
141282013-05-07 Glenn Morris <rgm@gnu.org>
14129
4f58bc06
GM
14130 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14131 Remove explicit eshell-isearch-cancel-map.
14132
7cc8ae06
GM
14133 * progmodes/f90.el (f90-smart-end-names): New option.
14134 (f90-smart-end): Doc fix.
14135 (f90-end-block-optional-name): New constant.
14136 (f90-block-match): Respect f90-smart-end-names.
14137
ceb57e59
SM
141382013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14139
14140 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14141 about implicit semi-colons (bug#14218).
14142
4e3f9230
YM
141432013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14144
14145 * frame.el (display-monitor-attributes-list)
14146 (frame-monitor-attributes): New functions.
14147
203a5572
LL
141482013-05-06 Leo Liu <sdl.web@gmail.com>
14149
14150 * progmodes/octave.el (octave-syntax-propertize-function): Change
14151 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14152 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 14153 (octave-completion-at-point): Rename from
203a5572
LL
14154 octave-completion-at-point-function.
14155 (inferior-octave-directory-tracker): Robustify.
14156 (octave-text-functions): Remove and fix its uses. No such things
14157 any more.
14158
ee6cff99
SM
141592013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14160
14161 * emacs-lisp/trace.el (trace--display-buffer): New function.
14162 (trace-make-advice): Use it.
14163
32985194
JL
141642013-05-06 Juri Linkov <juri@jurta.org>
14165
14166 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14167 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14168 Doc fix.
14169 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14170 in the help string. (Bug#12985)
14171
a1c700de
KD
141722013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14173
14174 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14175
c67c0839
SM
141762013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14177
323885fd
SM
14178 * progmodes/perl-mode.el: Add support for here documents.
14179 (perl-syntax-propertize-function): Match here-doc markers.
14180 (perl-syntax-propertize-special-constructs): Find their end.
14181 (perl-imenu-generic-expression): Use [:alnum:].
14182
c67c0839
SM
14183 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14184 (advice--add-function): Refresh the advice if already present
14185 (bug#14317).
14186
d491e7a8
IA
141872013-05-06 Ivan Andrus <darthandrus@gmail.com>
14188
14189 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14190
ddf9925e
GM
141912013-05-06 Glenn Morris <rgm@gnu.org>
14192
7cc3af27
GM
14193 * w32-fns.el (w32-charset-info-alist): Declare.
14194
16e343d6
GM
14195 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14196 of its defcustom properties.
14197 (eshell-cmpl-initialize): No need to load pcomplete.
14198
7d889a47
GM
14199 * generic-x.el: No need to require comint when compiling.
14200
ddf9925e
GM
14201 * net/eudc-export.el: Make it loadable without bbdb.
14202 (top-level): Use require rather than load-library.
14203 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14204 (eudc-batch-export-records-to-bbdb)
14205 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14206 Require bbdb.
14207
1e2c18df
SM
142082013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14209
14210 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14211 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14212 some tweaks, instead.
14213
02502a5f
LL
142142013-05-05 Leo Liu <sdl.web@gmail.com>
14215
14216 * progmodes/octave.el (octave-font-lock-keywords)
14217 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14218 (inferior-octave-send-list-and-digest): Improve error message.
14219 (octave-mode, inferior-octave-mode): Use setq-local.
14220 (octave-help): Set info-lookup-mode.
14221
0dc04f42
RS
142222013-05-05 Richard Stallman <rms@gnu.org>
14223
6c54491c
RS
14224 * vc/compare-w.el (compare-windows-whitespace):
14225 Treat no-break space as whitespace.
14226
0dc04f42
RS
14227 * mail/rmailsum.el (rmail-summary-rmail-update):
14228 Detect empty summary and don't change selected message.
14229 (rmail-summary-goto-msg): Likewise.
14230
df8f35df
RS
14231 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14232 Doc fixes, rename args.
14233
5356e1a3
AM
142342013-05-05 Alan Mackenzie <acm@muc.de>
14235
14236 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14237
d44014cb
JL
142382013-05-05 Juri Linkov <juri@jurta.org>
14239
14240 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14241 to not add the length of the summary segment to the return value.
14242 (Bug#14125)
14243
c129b51f
LL
142442013-05-05 Leo Liu <sdl.web@gmail.com>
14245
14246 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14247 (inferior-octave-output-filter): Remove.
14248 (octave-send-region, inferior-octave-startup): Fix callers.
14249 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14250 (octave-binary-file-extensions): New user variable.
14251 (octave-find-definition): Confirm if opening binary files.
14252 (octave-help-file): Use octave-find-definition to get the binary
14253 confirmation.
14254 (octave-help): Adjust for octave-help-file change.
14255
aa7dab97
SM
142562013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14257
14258 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14259 Merge the two entries that handle function definitions.
14260 (pascal--syntax-propertize): New const.
14261 (pascal-mode): Use it. Use setq-local.
14262
fd3a9a6b
GM
142632013-05-04 Glenn Morris <rgm@gnu.org>
14264
14265 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14266 (diary-from-outlook): Respect diary-from-outlook-function.
14267
30c7e542
SM
142682013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14269
14270 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14271 Move the declaration from C.
14272 (read-minibuffer, eval-minibuffer): Move from C.
14273 (completion-setup-function): Avoid minibuffer-completion-contents.
14274
b54f978b
LL
142752013-05-03 Leo Liu <sdl.web@gmail.com>
14276
14277 * progmodes/octave.el (octave-font-lock-keywords): Do not
14278 dehighlight 'end' in comments or strings.
30c7e542
SM
14279 (octave-completing-read, octave-goto-function-definition):
14280 New helpers.
d4d0f9b3
LL
14281 (octave-help-buffer): New user variable.
14282 (octave-help-file, octave-help-function): New button types.
14283 (octave-help): New command and bind it to C-h ;.
14284 (octave-find-definition): New command and bind it to M-.
d74a1581 14285 (user-error): Alias to error if not defined.
b54f978b 14286
27135018
LL
142872013-05-02 Leo Liu <sdl.web@gmail.com>
14288
14289 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14290 for \. (bug#14332)
14291 (octave-font-lock-keywords): Include [ and {.
14292
0d634d3a
LL
142932013-05-02 Leo Liu <sdl.web@gmail.com>
14294
14295 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14296 (inferior-octave): Remove calling comint-mode and return the buffer.
14297 (inferior-octave-startup): Cosmetic changes.
14298
b4c8295e
LL
142992013-05-02 Leo Liu <sdl.web@gmail.com>
14300
30c7e542
SM
14301 * progmodes/octave.el (octave-syntax-propertize-function):
14302 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 14303
f12ad6ec
GM
143042013-05-02 Glenn Morris <rgm@gnu.org>
14305
14306 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14307 * desktop.el (vc-dir-mode): Just autoload it here.
14308
30cac1e0
AM
143092013-05-02 Alan Mackenzie <acm@muc.de>
14310
14311 Eliminate variable c-standard-font-lock-fontify-region-function.
14312 * progmodes/cc-mode.el
14313 (c-standard-font-lock-fontify-region-function): Remove.
14314 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14315
d8ef28b1
LL
143162013-05-01 Leo Liu <sdl.web@gmail.com>
14317
2640d52e 14318 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 14319 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 14320 variables were removed from Octave in 2007.
d8ef28b1
LL
14321 (inferior-octave-startup): Fix uses.
14322 (comint-line-beginning-position): Remove compatibility code for
14323 emacs 21.
14324
ac63ec89
JL
143252013-05-01 Juri Linkov <juri@jurta.org>
14326
14327 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14328
9e9be37c
JL
143292013-05-01 Juri Linkov <juri@jurta.org>
14330
14331 * comint.el (comint-previous-matching-input): Don't print message
14332 "History item: %d" when `isearch-mode' is active.
14333 (comint-history-isearch-message): Print message "History item: %d"
14334 when `comint-input-ring-index' is not empty and this function is
14335 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14336
9b92c13b
LL
143372013-05-01 Leo Liu <sdl.web@gmail.com>
14338
14339 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14340 definitions. Use completion-at-point to insert keywords.
14341 (octave-abbrev-start): Remove.
14342 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14343
b12d33d7
LL
143442013-04-30 Leo Liu <sdl.web@gmail.com>
14345
14346 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14347 change.
14348
3d1c39fa
AM
143492013-04-30 Alan Mackenzie <acm@muc.de>
14350
14351 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
14352 * progmodes/cc-engine.el (c-back-over-member-initializers):
14353 new function.
3d1c39fa
AM
14354 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14355 (most) member init lists.
14356
5147fc17
RS
143572013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14358
14359 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14360 variable.
14361
5b78d7fc
LL
143622013-04-30 Leo Liu <sdl.web@gmail.com>
14363
14364 * progmodes/octave.el (octave-variables): Remove. No builtin
14365 variables any more. All converted to functions.
14366 (octave-font-lock-keywords, octave-completion-at-point-function):
14367 Fix uses.
14368 (octave-font-lock-texinfo-comment): New user variable.
14369 (octave-texinfo-font-lock-keywords): New variable for texinfo
14370 comment block.
14371 (octave-function-comment-block): New face.
14372 (octave-font-lock-texinfo-comment): New function.
14373 (octave-mode): Font lock texinfo comment block.
14374
38d8527b
LL
143752013-04-29 Leo Liu <sdl.web@gmail.com>
14376
14377 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14378 indexing expression.
14379 (octave-continuation-string): Do not use \.
14380 (inferior-octave-complete-impossible): Remove.
14381 (inferior-octave-completion-table)
14382 (inferior-octave-completion-at-point): Remove its uses.
14383 (inferior-octave-startup): completion_matches was introduced to
14384 Octave in 1996 so safe to assume it.
14385 (octave-function-file-comment): Improve to follow how Octave does it.
14386 (octave-update-function-file-comment): Tweak.
14387
2ec12cb0
LL
143882013-04-29 Leo Liu <sdl.web@gmail.com>
14389
14390 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14391 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14392 (octave-function-file-comment): Fix typo.
14393 (octave-sync-function-file-names): Use read-char-choice.
14394
6eaed048
JB
143952013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14396
14397 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14398 to t for the less important warnings.
14399
3ffa2d4f
DH
144002013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14401
14402 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14403
685c9501
GM
144042013-04-27 Glenn Morris <rgm@gnu.org>
14405
14406 * vc/log-view.el (log-view-current-entry):
14407 Treat "---" separator lines as part of the following rev. (Bug#14169)
14408
0208ede7
JL
144092013-04-27 Juri Linkov <juri@jurta.org>
14410
14411 * subr.el (read-number): Doc fix about using it by interactive
14412 code letter `n'. (Bug#14254)
14413
5db9dace
JL
144142013-04-27 Juri Linkov <juri@jurta.org>
14415
14416 * desktop.el (desktop-auto-save-timeout): New option.
14417 (desktop-file-checksum): New variable.
14418 (desktop-save): Add optional arg `auto-save' and don't auto-save
14419 if nothing changed.
14420 (desktop-auto-save-timer): New variable.
14421 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14422 (after-init-hook): Call `desktop-auto-save-set-timer'.
14423 Suggested by Reuben Thomas <rrt@sc3d.org> in
14424 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14425
b7260dd4
LL
144262013-04-27 Leo Liu <sdl.web@gmail.com>
14427
14428 * progmodes/octave.el (octave-function-file-p)
14429 (octave-skip-comment-forward, octave-function-file-comment)
14430 (octave-update-function-file-comment): New functions.
14431 (octave-mode-map): Bind C-c ; to
14432 octave-update-function-file-comment.
14433 (octave-mode-menu): Add octave-update-function-file-comment.
14434 (octave-mode, inferior-octave-mode): Fix doc-string.
14435 (octave-insert-defun): Conform to Octave's coding convention.
14436 (Bug#14285)
14437
14438 * files.el (basic-save-buffer): Don't let errors in
14439 before-save-hook prevent saving buffer.
14440
c46da669
RW
144412013-04-20 Roland Winkler <winkler@gnu.org>
14442
14443 * faces.el (read-face-name): Use completing-read if arg multiple
14444 is nil.
14445
a81ee1eb
IL
144462013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14447
14448 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
14449 displayed, move point to after the totals line.
14450 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
14451 for the details.
14452
4fac34ce
SM
144532013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14454
14455 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14456 Add current dir to the load-path.
14457 (package-generate-autoloads): Don't rely on
14458 autoload-ensure-default-file.
14459
f6bfc063
RT
144602013-04-26 Reuben Thomas <rrt@sc3d.org>
14461
d40ab5cf
BG
14462 * textmodes/remember.el (remember-store-in-files): Document that
14463 the file name format is passed to `format-time-string'.
f6bfc063 14464
e55d3b04
LL
144652013-04-26 Leo Liu <sdl.web@gmail.com>
14466
14467 * progmodes/octave.el (octave-sync-function-file-names): New function.
14468 (octave-mode): Use it in before-save-hook.
14469
e53052d3
SM
144702013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14471
140ef50c
SM
14472 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14473 (bug#14274).
14474
e53052d3
SM
14475 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14476 \n and comment, even if it's not an implicit ; (bug#14218).
14477
af80458d 144782013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
14479
14480 * subr.el (read-number): Once more use `read' rather than
14481 `string-to-number', to trap non-numeric input. (Bug#14254)
14482
af80458d 144832013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
14484
14485 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14486 Use `syntax-multiline' text property consistently instead of
8a621d53 14487 `font-lock-multiline'. (Bug#14237)
70203c2e 14488
e6ea1f6c
GM
144892013-04-26 Glenn Morris <rgm@gnu.org>
14490
14491 * emacs-lisp/shadow.el (list-load-path-shadows):
14492 No longer necessary to check for duplicate simple.el, since
14493 2012-07-07 change to init_lread to not include installation lisp
14494 directories in load-path when running uninstalled. (Bug#14270)
14495
070ccca4
LL
144962013-04-26 Leo Liu <sdl.web@gmail.com>
14497
14498 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14499 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 14500 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
14501 octave-in-string-or-comment-p.
14502 (octave-in-comment-p, octave-in-string-p)
14503 (octave-in-string-or-comment-p): Replace defsubst with defun.
14504
9d1c5fb6
PE
145052013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14506
14507 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14508
c034abda
BG
145092013-04-25 Bastien Guerry <bzg@gnu.org>
14510
14511 * textmodes/remember.el (remember-data-directory)
14512 (remember-directory-file-name-format): Fix custom types.
14513
584ea277
LL
145142013-04-25 Leo Liu <sdl.web@gmail.com>
14515
e53052d3
SM
14516 * progmodes/octave.el (octave-completion-at-point-function):
14517 Make use of inferior octave process.
584ea277
LL
14518 (octave-initialize-completions): Remove.
14519 (inferior-octave-completion-table): New function.
14520 (inferior-octave-completion-at-point): Use it.
14521 (octave-completion-alist): Remove.
14522
1693b06a
SM
145232013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14524
14525 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14526 (opascal-mode-syntax-table): New var.
14527 (opascal-literal-kind, opascal-is-literal-end)
14528 (opascal-literal-token-at): Rewrite.
14529 (opascal--literal-start-re, opascal-font-lock-keywords)
14530 (opascal--syntax-propertize): New constants.
14531 (opascal-font-lock-defaults): Adjust.
14532 (opascal-mode): Use them. Set comment-<foo> variables as well.
14533 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14534 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14535 (delphi-other-face, opascal-other-face): Remove face variables.
14536 (opascal-save-state): Remove macro.
14537 (opascal-fontifying-progress-step): Remove constant.
14538 (opascal--ignore-changes): Remove var.
14539 (opascal-set-token-property, opascal-parse-next-literal)
14540 (opascal-is-stable-literal, opascal-complete-literal)
14541 (opascal-is-literal-start, opascal-face-of)
14542 (opascal-parse-region, opascal-parse-region-until-stable)
14543 (opascal-fontify-region, opascal-after-change)
14544 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14545 (opascal-debug-parse-region, opascal-debug-parse-window)
14546 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14547 (opascal-debug-fontify-buffer): Remove.
14548 (opascal-debug-mode-map): Adjust accordingly.
14549
be64c05d
LL
145502013-04-25 Leo Liu <sdl.web@gmail.com>
14551
14552 Merge octave-mod.el and octave-inf.el into octave.el with some
14553 cleanups.
14554 * progmodes/octave.el: New file renamed from octave-mod.el.
14555 * progmodes/octave-inf.el: Merged into octave.el.
14556 * progmodes/octave-mod.el: Renamed to octave.el.
14557
d79d37bd
TH
145582013-04-25 Tassilo Horn <tsdh@gnu.org>
14559
14560 * textmodes/reftex-vars.el
14561 (reftex-label-ignored-macros-and-environments): New defcustom.
14562
14563 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14564
ced3fc5d
SM
145652013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14566
14567 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14568 (smie-indent-keyword): Improve the check to ensure that the next
14569 comment is really on the same line.
14570 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14571
14572 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14573 semi-colons if the line is not otherwise empty (bug#14218).
14574
1c141dad
GM
145752013-04-25 Glenn Morris <rgm@gnu.org>
14576
14577 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14578
5058062a
SM
145792013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14580
14581 * progmodes/opascal.el (opascal-set-token-property): Rename from
14582 opascal-set-text-properties and only set `token' (bug#14134).
14583 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14584 (opascal-literal-text-properties): Remove.
14585 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14586 Adjust callers.
14587
5db9dace 145882013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
14589
14590 * textmodes/remember.el (remember-handler-functions): Add an
14591 option for a new handler `remember-store-in-files'.
14592 (remember-data-directory, remember-directory-file-name-format):
14593 New options.
14594 (remember-store-in-files): New function to store remember notes
14595 as separate files within a directory.
14596
4391916c
MH
145972013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14598
14599 * progmodes/compile.el (compilation-next-error-function):
14600 Pass "formats" to compilation-find-file (bug#11777).
14601
bb7cdf58
GM
146022013-04-24 Glenn Morris <rgm@gnu.org>
14603
3b8fe752 14604 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
14605 * vc/vc-hg.el (vc-hg-print-log):
14606 * vc/vc-svn.el (vc-svn-print-log):
14607 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14608
bb7cdf58
GM
14609 * vc/vc-bzr.el (vc-bzr-print-log):
14610 * vc/vc-cvs.el (vc-cvs-print-log):
14611 * vc/vc-git.el (vc-git-print-log):
14612 * vc/vc-hg.el (vc-hg-print-log):
14613 * vc/vc-mtn.el (vc-mtn-print-log):
14614 * vc/vc-rcs.el (vc-rcs-print-log):
14615 * vc/vc-sccs.el (vc-sccs-print-log):
14616 * vc/vc-svn.el (vc-svn-print-log):
14617 * vc/vc.el (vc-print-log-internal): Doc fixes.
14618
b46a056e
GM
146192013-04-23 Glenn Morris <rgm@gnu.org>
14620
14621 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14622 Remove venerable code attempting to avoid substitute-command-keys.
14623
0aecf718
TH
146242013-04-23 Tassilo Horn <tsdh@gnu.org>
14625
4391916c
MH
14626 * textmodes/reftex-vars.el (reftex-label-regexps):
14627 Call `reftex-compile-variables' after changes to this variable.
0aecf718 14628
117f94cf
SM
146292013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14630
4391916c 14631 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
14632 Use lexical-binding.
14633 (jit-lock-force-redisplay): Use markers, check buffer's continued
14634 existence and beware narrowed buffers.
14635 (jit-lock-fontify-now): Adjust call accordingly.
14636
1d829c64
SM
146372013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14638
14639 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14640 to avoid misleading the user.
14641
72d548a9
LL
146422013-04-22 Leo Liu <sdl.web@gmail.com>
14643
14644 * info-look.el: Prefer latex2e.info. (Bug#14240)
14645
d0853629
MA
146462013-04-22 Michael Albinus <michael.albinus@gmx.de>
14647
14648 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14649
14650 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 14651 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
14652 (tramp-set-completion-function, tramp-parse-putty):
14653 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14654 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14655 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14656 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14657 (tramp-call-local-coding-command): Use `tramp-call-process'
14658 instead of `tramp-compat-call-process'.
14659
14660 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14661 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 14662 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 14663 (tramp-find-inline-compress): Improve traces.
d0853629
MA
14664 (tramp-maybe-send-script): Check for Perl binary.
14665 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14666
38cc0210
DU
146672013-04-22 Daiki Ueno <ueno@gnu.org>
14668
14669 * epg.el (epg-context-pinentry-mode): New function.
14670 (epg-context-set-pinentry-mode): New function.
14671 (epg--start): Pass --pinentry-mode option to gpg command.
14672
cc641ee1
XF
146732013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14674
02d844b5 14675 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 14676 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 14677 `completion-at-point'. (Bug#13774)
5d4e5c31 14678
cc641ee1
XF
14679 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14680 default key binding for `describe-distribution' has been moved to
14681 `C-h C-o'. (Bug#13970)
14682
1b42ee43
GM
146832013-04-21 Glenn Morris <rgm@gnu.org>
14684
14685 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14686 Add doc strings.
14687 (vc-print-log): Clarify interactive prompt.
14688
a6d63d97
GM
146892013-04-20 Glenn Morris <rgm@gnu.org>
14690
14691 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14692 No longer include timestamp etc information.
14693
d7f5c16f
RW
146942013-04-20 Roland Winkler <winkler@gnu.org>
14695
14696 * faces.el (read-face-name): Bug fix, return just one face if arg
14697 multiple is nil. (Bug#14209)
14698
bcd7a0a4
SM
146992013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14700
14701 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14702 (remove-function): Autoload.
14703
14704 * comint.el (comint-redirect-original-filter-function): Remove.
14705 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
14706 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14707 (vc-cvs-annotate-command):
bcd7a0a4
SM
14708 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14709 * progmodes/prolog.el (prolog-consult-compile):
14710 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14711 Use add/remove-function instead.
14712 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14713 (gud-tooltip-process-output, gud-tooltip-tips):
14714 Use add/remove-function instead.
14715 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14716 (scheme-interaction-mode, exit-scheme-interaction-mode):
14717 Use add/remove-function instead.
14718
14719 * vc/vc-dispatcher.el: Use lexical-binding.
14720 (vc--process-sentinel): Rename from vc-process-sentinel.
14721 Change last arg to be the code to run. Don't use vc-previous-sentinel
14722 and vc-sentinel-commands any more.
14723 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14724 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14725
e36b2d20 147262013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 14727
bcd7a0a4 14728 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 14729 Handle function names with a single character. (Bug#14111)
4d3268ba 14730
27821a89 147312013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
14732
14733 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14734 for subroutines defined in an eval (bug#14182).
14735
7d688336
TV
147362013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14737
14738 * bookmark.el (bookmark-completing-read): Improve handling of empty
14739 string (bug#14176).
14740
31dcede0
SM
147412013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14742
14743 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14744
adc31213
FEG
147452013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14746
14747 New faster Imenu implementation (bug#14058).
9b017563 14748 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
14749 (python-imenu-format-item-label-function)
14750 (python-imenu-format-parent-item-label-function)
14751 (python-imenu-format-parent-item-jump-label-function):
14752 New vars.
14753 (python-imenu-format-item-label)
14754 (python-imenu-format-parent-item-label)
14755 (python-imenu-format-parent-item-jump-label)
14756 (python-imenu--put-parent, python-imenu--build-tree)
14757 (python-imenu-create-index, python-imenu-create-flat-index)
14758 (python-util-popn): New functions.
14759 (python-mode): Set imenu-create-index-function to
14760 python-imenu-create-index.
14761
cdca8255
SM
147622013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14763
14764 * winner.el (winner-active-region): Use region-active-p, activate-mark
14765 and deactivate-mark (bug#14225).
14766
14767 * simple.el (deactivate-mark): Don't inline it.
14768
beb42340
MA
147692013-04-18 Michael Albinus <michael.albinus@gmx.de>
14770
14771 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14772
fc7f4d7e
TH
147732013-04-18 Tassilo Horn <tsdh@gnu.org>
14774
14775 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14776 file extensions from the archive-mode entry in order to prefer
14777 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14778
29f47822
LL
147792013-04-18 Leo Liu <sdl.web@gmail.com>
14780
14781 * bindings.el (help-event-list): Add ?\?.
14782
d36ed1c8
SM
147832013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14784
14785 * subr.el (with-wrapper-hook): Declare obsolete.
14786 * simple.el (filter-buffer-substring-function): New hook.
14787 (filter-buffer-substring): Use it.
14788 (filter-buffer-substring-functions): Mark obsolete.
14789 * minibuffer.el (completion-in-region-function): New hook.
14790 (completion-in-region): Use it.
14791 (completion-in-region-functions): Mark obsolete.
14792 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14793 * abbrev.el (abbrev-expand-function): New hook.
14794 (expand-abbrev): Use it.
14795 (abbrev-expand-functions): Mark obsolete.
14796 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14797 and :filter-return.
14798
04754d36
FEG
147992013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14800
14801 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14802 and do not care about match data.
14803
dd8791e9
SM
148042013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14805
14806 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14807 completion tables when completing error conditions and
14808 `declare' arguments.
14809 (lisp-complete-symbol, field-complete): Mark as obsolete.
14810 (check-parens): Unmatched parens are user errors.
14811 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14812
ffe54a13
AM
148132013-04-17 Michal Nazarewicz <mina86@mina86.com>
14814
dd8791e9
SM
14815 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14816 command changed buffer (ie. `flyspell-pre-buffer' is not current
14817 buffer), which prevents making decisions based on invalid value of
14818 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14819 cause an error when `flyspell-pre-point' was nil after switching
14820 buffers.
14821 (flyspell-post-command-hook): No longer needs to change buffers when
14822 checking pre-word. While at it remove unnecessary progn.
ffe54a13 14823
ec7e39f2
AM
148242013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14825
14826 * textmodes/ispell.el (ispell-add-per-file-word-list):
14827 Fix `flyspell-correct-word-before-point' error when accepting
14828 words and `coment-padding' is an integer by using
14829 `comment-normalize-vars' (Bug #14214).
14830
083850a6
FEG
148312013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14832
14833 New defun movement commands.
14834 * progmodes/python.el (python-nav--syntactically)
14835 (python-nav--forward-defun, python-nav-backward-defun)
14836 (python-nav-forward-defun): New functions.
14837
619ed6e1
FEG
148382013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14839
14840 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14841 (python-syntax-context): Use named compiler-macro for backwards
14842 compatibility with Emacs 24.x.
14843
7a1beb6c
LL
148442013-04-17 Leo Liu <sdl.web@gmail.com>
14845
14846 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14847 octave-hide-process-buffer.
14848
2d3fa3e5
SM
148492013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14850
14851 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14852 (bug#14216).
14853
7ce5be54
JPG
148542013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14855
14856 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14857 Fix adjustment of offset when receiving incomplete responses from GDB
14858 (bug#14129).
14859
351edece
SM
148602013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14861
14862 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14863 python-mode-abbrev-table.
14864 (python-skeleton-define): Adjust accordingly.
14865 (python-mode-abbrev-table): New table that inherits from it so that
14866 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14867
14868 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14869 (abbrev-symbol): Use it.
14870 (abbrev--before-point): Use it since we already handle inheritance.
14871
613f9481
LL
148722013-04-16 Leo Liu <sdl.web@gmail.com>
14873
14874 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14875 binding to info-lookup-symbol.
14876
51646b62
JB
148772013-04-16 Juanma Barranquero <lekktu@gmail.com>
14878
14879 * minibuffer.el (completion--twq-all):
14880 * term/ns-win.el (ns-initialize-window-system):
14881 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14882
efb3f01d
SM
148832013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14884
36c0a301
SM
14885 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14886 global bindings.
14887
efb3f01d
SM
14888 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14889
fb549d64
DG
148902013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14891
14892 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14893 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14894 to nil.
14895 (ruby-end-of-defun): Remove the unused arg, change the docstring
14896 to reflect that this function is only used as the value of
14897 `end-of-defun-function'.
14898 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14899 to reflect an earlier change that beginning/end-of-defun functions
14900 jump between methods in a class definition, as well as top-level
14901 functions.
14902
21e8fe2f
SM
149032013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14904
14905 * minibuffer.el (minibuffer-complete): Don't just scroll
14906 a *Completions* that's been iconified.
14907 (minibuffer-force-complete): Make sure repetitions do cycle when going
14908 through completion-in-region -> minibuffer-complete.
14909
20e527d0
AM
149102013-04-15 Alan Mackenzie <acm@muc.de>
14911
14912 Correct the placement of c-cpp-delimiters when there're #s not at
14913 col 0.
14914
14915 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14916 place a submatch around the #.
21e8fe2f
SM
14917 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14918 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
14919 on the #, not BOL.
14920
dabefae5
SM
149212013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14924 (advice--member-p): New arg `name'.
14925 (advice--add-function, advice-member-p): Use it (bug#14202).
14926
85c9ab64
AM
149272013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14928
14929 Reformulate java imenu-generic-expression.
14930 The old expression contained ill formed regexps.
14931
14932 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14933 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14934 (cc-imenu-java-method-arg-regexp): New defconsts.
14935 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 14936 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
14937 handling of spaces in the regexp.
14938
0f821d99
AM
149392013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14940
14941 * textmodes/ispell.el (ispell-command-loop): Remove
14942 flyspell highlight of a word when ispell accepts it (bug #14178).
14943
eb922adf
MA
149442013-04-15 Michael Albinus <michael.albinus@gmx.de>
14945
14946 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14947 uses code from the previous `ange-ftp-run-real-handler'.
14948 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14949 only in case that function exist. This is needed for proper
14950 unloading of Tramp.
14951
4d9a0979
TH
149522013-04-15 Tassilo Horn <tsdh@gnu.org>
14953
14954 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14955
14956 * textmodes/reftex.el (reftex-compile-variables): Use it.
14957
a829b0dc
SM
149582013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14959
91e8293c
SM
14960 * files.el (normal-mode): Only use default major-mode if no other mode
14961 was specified.
14962
830aed4d
SM
14963 * emacs-lisp/trace.el (trace-values): New function.
14964
a829b0dc
SM
14965 * files.el: Allow : in local variables (bug#14089).
14966 (hack-local-variable-regexp): New var.
14967 (hack-local-variables-prop-line, hack-local-variables): Use it.
14968
7ae9f0fb
RW
149692013-04-13 Roland Winkler <winkler@gnu.org>
14970
14971 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14972 data before it gets modified by bibtex-beginning-of-entry.
14973
6646e848
RW
149742013-04-13 Roland Winkler <winkler@gnu.org>
14975
14976 * textmodes/bibtex.el (bibtex-url): Doc fix.
14977
149782013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
14979
14980 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14981 does not visit a BibTeX file, exclude it from the list of buffers
14982 returned by bibtex-initialize.
14983
0aa3616e
SB
149842013-04-13 Stephen Berman <stephen.berman@gmx.net>
14985
14986 * window.el (split-window): Remove interactive form, since as a
14987 command this function is a special case of split-window-below.
14988 Correct doc string.
14989
011cddd6
RW
149902013-04-12 Roland Winkler <winkler@gnu.org>
14991
14992 * faces.el (read-face-name): Do not override value of arg default.
14993 Allow single faces and strings as default values. Remove those
14994 elements from return value that are not faces.
14995 (describe-face): Simplify.
14996 (face-at-point): New optional args thing and multiple so that this
14997 function can provide the same functionality previously provided by
14998 read-face-name.
14999 (make-face-bold, make-face-unbold, make-face-italic)
15000 (make-face-unitalic, make-face-bold-italic, invert-face)
15001 (modify-face, read-face-and-attribute): Use face-at-point.
15002
15003 * cus-edit.el (customize-face, customize-face-other-window)
15004 * cus-theme.el (custom-theme-add-face)
15005 * face-remap.el (buffer-face-set)
15006 * facemenu.el (facemenu-set-face): Use face-at-point.
15007
f24e0036
MA
150082013-04-12 Michael Albinus <michael.albinus@gmx.de>
15009
15010 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15011
da3cda2d
TH
150122013-04-10 Tassilo Horn <tsdh@gnu.org>
15013
15014 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15015 off leading { and trailing } from field values.
15016
15e54145
SM
150172013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15018
78ce603d
SM
15019 * emacs-lisp/timer.el (timer--check): New function.
15020 (timer--time, timer-set-function, timer-event-handler): Use it.
15021 (timer-set-idle-time): Simplify.
15022 (timer--activate): CSE.
15023 (timer-event-handler): Give more info in error message.
15024 (internal-timer-start-idle): New function, moved from C.
15025
15e54145
SM
15026 * mpc.el (mpc-proc): Add `restart' argument.
15027 (mpc-proc-cmd): Use it.
15028 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15029 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15030 less often.
15031
7144c627
MY
150322013-04-10 Masatake YAMATO <yamato@redhat.com>
15033
15034 * progmodes/sh-script.el: Implement `sh-mode' own
15035 `add-log-current-defun-function' (bug#14112).
15036 (sh-current-defun-name): New function.
15037 (sh-mode): Use the function.
15038
b39792eb
BG
150392013-04-09 Bastien Guerry <bzg@gnu.org>
15040
15041 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15042
8acdeb71
SM
150432013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15044
6fcdab68
SM
15045 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15046
8acdeb71
SM
15047 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15048 timer (bug#14156).
15049
e3e7b504
NF
150502013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15051
15052 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15053 declaration.
15054
201bb296
LL
150552013-04-07 Leo Liu <sdl.web@gmail.com>
15056
15057 * pcmpl-x.el: New file.
15058
ebb19708
DA
150592013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15060
15061 Do not set x-display-name until X connection is established.
15062 This is needed to prevent from weird situation described at
15063 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15064 * frame.el (make-frame): Set x-display-name after call to
15065 window system initialization function, not before.
15066 * term/x-win.el (x-initialize-window-system): Add optional
15067 display argument and use it.
15068 * term/w32-win.el (w32-initialize-window-system):
15069 * term/ns-win.el (ns-initialize-window-system):
15070 * term/pc-win.el (msdos-initialize-window-system):
15071 Add compatible optional display argument.
15072
33bb237a
EZ
150732013-04-06 Eli Zaretskii <eliz@gnu.org>
15074
15075 * files.el (normal-backup-enable-predicate): On MS-Windows and
15076 MS-DOS compare truenames of temporary-file-directory and of the
15077 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15078 don't fail comparison by compare-strings. Also, compare file
15079 names case-insensitively on MS-Windows and MS-DOS.
15080
134abf1f
SM
150812013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15082
15083 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15084 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15085
d695cb94
DG
150862013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15087
e3e7b504
NF
15088 * whitespace.el (whitespace-color-on, whitespace-color-off):
15089 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 15090
f4ad7ea1 150912013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
15092
15093 * ispell.el (ispell-set-spellchecker-params):
15094 Really set `ispell-args' for all equivs.
15095
632556e4
SM
150962013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15097
15098 * ido.el (ido-completions): Use extra elements of ido-decorations
15099 (bug#14143).
15100 (ido-decorations): Update docstring.
15101
2a417372
MA
151022013-04-05 Michael Albinus <michael.albinus@gmx.de>
15103
15104 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15105 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15106 nil during initialization, in order not to miss changes since the
15107 file was opened. (Bug#14140)
15108
fc164b0c
LL
151092013-04-05 Leo Liu <sdl.web@gmail.com>
15110
15111 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15112
0ccecc08
JB
151132013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15114
15115 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15116
51af1aa2
GM
151172013-04-04 Glenn Morris <rgm@gnu.org>
15118
15119 * electric.el (electric-pair-inhibit-predicate): Add :version.
15120
b208ebc6
SM
151212013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15122
15123 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15124 when a package is required several times (bug#14082).
15125
f3d3eaf0
RW
151262013-04-04 Roland Winkler <winkler@gnu.org>
15127
15128 * faces.el (read-face-name): Behave as promised by the docstring.
15129 Assume that arg default is a list of faces.
15130 (describe-face): Call read-face-name with list of default faces.
15131
2575da50
TV
151322013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15133
15134 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15135 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15136 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15137 the header.
15138 (bookmark-exit-hook-internal): Save even if list is empty.
15139
397703b4
YH
151402013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15141
15142 * emacs-lisp/package.el (package-pinned-packages): New var.
15143 (package--add-to-archive-contents): Obey it (bug#14118).
15144
691e26ae
AM
151452013-04-03 Alan Mackenzie <acm@muc.de>
15146
8a621d53
JB
15147 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15148 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
15149
15150 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15151 parameter `not-in-delimiter'. Handle being inside comment opener.
15152 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15153 character in case we're typing a '*' after a '/'.
15154 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15155 instead by passing the parameter to c-state-pp-to-literal.
15156
15157 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15158 for elt. 7 of a parse state.
15159
4b725a70
PE
151602013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15161
15162 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15163 * international/latin1-disp.el, international/mule-util.el:
15164 * language/cyril-util.el, language/european.el, language/ind-util.el:
15165 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15166 * language/tibetan.el, language/viet-util.el:
15167 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15168
15c579f0
SM
151692013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15170
15171 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15172 (electric-pair-post-self-insert-function): Use it.
15173 (electric-pair-default-inhibit): New function, extracted from
15174 electric-pair-post-self-insert-function.
15175
a77e2924
RW
151762013-03-31 Roland Winkler <winkler@gnu.org>
15177
15178 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15179
2bd8a4a8
SM
151802013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15181
15182 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15183
8d3655be 151842013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
15185
15186 Un-indent after "pass" and "return" statements (Bug#13888)
15187 * progmodes/python.el (python-indent-block-enders): New var.
15188 (python-indent-calculate-indentation): Use it.
15189
8d3655be 151902013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
15191
15192 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15193 defun. Defining it as defalias could introduce too eager
15194 byte-compiler optimization. (Bug#14030)
15195
8d3655be 151962013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
15197
15198 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15199
0b1619da
LL
152002013-03-30 Leo Liu <sdl.web@gmail.com>
15201
15202 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15203 (kmacro-execute-from-register): Pass the keyboard macro to
15204 kmacro-call-macro or repeating won't work correctly.
15205
0b938190
TZ
152062013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15207
15208 * progmodes/subword.el: Back to using `forward-symbol'.
15209
15210 * subr.el (forward-whitespace, forward-symbol)
15211 (forward-same-syntax): Move from thingatpt.el.
15212
35710234
LL
152132013-03-29 Leo Liu <sdl.web@gmail.com>
15214
15215 * kmacro.el (kmacro-to-register): New command.
15216 (kmacro-execute-from-register): New function.
15217 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15218
efc0bb73
SM
152192013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15220
15221 * mpc.el: Use defvar-local and setq-local.
15222 (mpc--proc-connect): Connection failures are not bugs.
15223 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15224 (mpc-volume-map): Bind to the up-events.
15225
75a2f981
TZ
152262013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15227
15228 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15229 instead of `forward-symbol'.
15230
17c781d1
SM
152312013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15232
15233 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15234 (edebug--recursive-edit): Use it.
15235 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15236 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15237
f67bfbcf
LL
152382013-03-28 Leo Liu <sdl.web@gmail.com>
15239
15240 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15241
b59f639d
EZ
152422013-03-27 Eli Zaretskii <eliz@gnu.org>
15243
15244 * facemenu.el (list-colors-callback): New defvar.
15245 (list-colors-redisplay): New function.
15246 (list-colors-display): Install list-colors-redisplay as the
15247 revert-buffer-function. (Bug#14063)
15248
f557c1b1
SM
152492013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15250
b1da2957
SM
15251 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15252 and suffixes don't overlap (bug#14061).
15253
f557c1b1
SM
15254 * case-table.el: Use lexical-binding.
15255 (case-table-get-table): New function.
15256 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15257
002668e1
TZ
152582013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15259
15260 * progmodes/subword.el: Add `superword-mode' to do word motion
15261 over symbol_words (parallels and leverages `subword-mode' which
15262 does word motion inside MixedCaseWords).
15263
73572c72
AG
152642013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15265
78b8f320 15266 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 15267 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 15268
69b2c07e
SM
152692013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15270
15271 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15272 Change return value to be a sexp. Delay `get-buffer' to after
15273 restoring the desktop (bug#13951).
15274
08bb5ee2
LL
152752013-03-26 Leo Liu <sdl.web@gmail.com>
15276
15277 * register.el: Move semantic tag handling back to
15278 cedet/semantic/senator.el. (Bug#14052)
15279
8d4c974e
SM
152802013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15281
15282 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15283 into the prompt either (bug#13963).
15284
b234d92c
SM
152852013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15286
15287 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15288 part of "(error-foo)".
15289
ddfa3cb4
JL
152902013-03-24 Juri Linkov <juri@jurta.org>
15291
15292 * replace.el (list-matching-lines-prefix-face): New defcustom.
15293 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15294 `occur-engine' if `face-differs-from-default-p' returns t.
15295 (occur-engine): Add `,' inside backquote construct to evaluate
15296 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15297 Pass `prefix-face' to the functions `occur-context-lines' and
15298 `occur-engine-add-prefix'.
15299 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15300 `prefix-face' and propertize the prefix with `prefix-face'.
15301 (Bug#14017)
15302
7b0e2f85
LL
153032013-03-24 Leo Liu <sdl.web@gmail.com>
15304
15305 * nxml/rng-valid.el (rng-validate-while-idle)
15306 (rng-validate-quick-while-idle): Guard against deleted buffer.
15307 (Bug#13999)
15308
15309 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15310 is the last entry in kill-buffer-hook.
15311
15312 * files.el (kill-buffer-hook): Doc fix.
15313
b3082f49
DG
153142013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15315
b234d92c
SM
15316 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15317 Make it safe-local.
bde73d27 15318
b3082f49
DG
15319 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15320
a320a2db
LL
153212013-03-23 Leo Liu <sdl.web@gmail.com>
15322
7e74b0fb
LL
15323 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15324 Remove.
15325
15326 * nxml/rng-valid.el (rng-validate-mode)
15327 (rng-after-change-function, rng-do-some-validation):
15328 * nxml/rng-maint.el (rng-validate-buffer):
15329 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15330 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15331 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15332 (nxml-extend-after-change-region): Use with-silent-modifications.
15333
a320a2db
LL
15334 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15335 timer-idle-list.
15336
15337 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15338 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15339 timer-idle-list. (Bug#13999)
15340
e38e6780
JL
153412013-03-23 Juri Linkov <juri@jurta.org>
15342
15343 * info.el (info-index-match): New face.
15344 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15345 main pattern and add text properties with the new face to matches
15346 in index entries relative to the beginning of the index entry.
15347 (Bug#14015)
15348
e8cc7880
DE
153492013-03-21 Eric Ludlam <zappo@gnu.org>
15350
39c87140 15351 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
15352 Inhibit read only while inserting objects.
15353
9bb0d822
TZ
153542013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15355
15356 * progmodes/cfengine.el: Update docs to mention
15357 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15358 symbol motion. Remove "_" from the word syntax.
15359
aa703640
TZ
153602013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15361
15362 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15363 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15364
afff09d0
JL
153652013-03-20 Juri Linkov <juri@jurta.org>
15366
15367 * info.el (Info-next-reference-or-link)
15368 (Info-prev-reference-or-link): New functions.
15369 (Info-next-reference, Info-prev-reference): Use them.
15370 (Info-try-follow-nearest-node): Handle footnote navigation.
15371 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15372
9a1ff164
SM
153732013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15374
15375 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15376 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15377
2667d15d
PE
153782013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15379
15380 Suppress unnecessary non-ASCII chatter during build process.
15381 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15382 (batch-skkdic-convert): Suppress most of the chatter.
15383 It's not needed so much now that machines are faster,
15384 and its non-ASCII component was confusing; see Dmitry Gutov in
15385 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15386
438b0579
LL
153872013-03-20 Leo Liu <sdl.web@gmail.com>
15388
15389 * ido.el (ido-chop): Fix bug#10994.
15390
c128ab07
DG
153912013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15392
15393 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15394 Remove vars.
9a1ff164
SM
15395 (whitespace-color-on, whitespace-color-off):
15396 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 15397
0e6008c5
SM
153982013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15399
15400 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15401 remapping in mode-line.
15402 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15403
627b52b0
DG
154042013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15405
15406 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15407 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
15408 (whitespace-font-lock-keywords): Change description.
15409 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15410 the constructed keywords instead.
15411 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 15412
50c3a20b
LL
154132013-03-19 Leo Liu <sdl.web@gmail.com>
15414
15415 * progmodes/compile.el (compilation-display-error): New command.
15416 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15417 C-o. (Bug#13992)
15418
2aa2157b
PE
154192013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15420
15421 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15422
e477dbfa
JD
154232013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15424
15425 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15426
64ab82d1
MA
154272013-03-18 Michael Albinus <michael.albinus@gmx.de>
15428
15429 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15430
15431 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15432 * net/tramp-gvfs.el (top):
15433 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15434 (tramp-handle-shell-command): Use it.
15435 (tramp-dissect-file-name): Raise an error when hostname is a
15436 method name, and neither method nor user is specified.
15437
15438 * net/trampver.el: Update release number.
15439
33cef733
LL
154402013-03-18 Leo Liu <sdl.web@gmail.com>
15441
15442 Make sure eldoc can be turned off properly.
15443 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15444 eldoc-mode.
15445 (eldoc-display-message-p): Revert last change.
15446 (eldoc-display-message-no-interference-p)
15447 (eldoc-print-current-symbol-info): Tweak.
15448
2167b7b2
TH
154492013-03-18 Tassilo Horn <tsdh@gnu.org>
15450
15451 * doc-view.el (doc-view-new-window-function): Check the new window
15452 overlay's display property instead the char property of the
15453 buffer's first char. Use `with-selected-window' instead of
15454 `save-window-excursion' with `select-window'.
15455 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 15456 display property instead the char property of the buffer's first char.
2167b7b2 15457
982efbcd
PE
154582013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15459
15460 Automate the build of ja-dic.el (Bug#13984).
15461 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15462 from the input, rather than assume that it's been done for us by the
15463 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15464 the current date into a ja-dic.el comment, as that complicates
15465 regression testing.
15466
2fcc7665
SM
154672013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15468
15469 * whitespace.el: Fix double evaluation.
15470 (whitespace-space, whitespace-hspace, whitespace-tab)
15471 (whitespace-newline, whitespace-trailing, whitespace-line)
15472 (whitespace-space-before-tab, whitespace-indentation)
15473 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15474 obsolete defvars.
15475 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15476 (whitespace-color-on): Use a single font-lock-add-keywords call.
15477 Fix double-evaluation of face variables.
15478
67c0a6e6
MA
154792013-03-17 Michael Albinus <michael.albinus@gmx.de>
15480
2fcc7665
SM
15481 * net/tramp-adb.el (tramp-adb-parse-device-names):
15482 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 15483 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 15484
69489f1d
LL
154852013-03-17 Leo Liu <sdl.web@gmail.com>
15486
15487 Extend eldoc to display info in the mode-line. (Bug#13978)
15488 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15489 (eldoc-mode-line-string): New variable.
15490 (eldoc-minibuffer-message): New function.
15491 (eldoc-message-function): New variable.
15492 (eldoc-message): Use it.
15493 (eldoc-display-message-p)
2fcc7665
SM
15494 (eldoc-display-message-no-interference-p):
15495 Support eldoc-post-insert-mode.
69489f1d
LL
15496
15497 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15498 (eval-expression): Run it.
15499
9c44569e
RW
155002013-03-17 Roland Winkler <winkler@gnu.org>
15501
15502 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15503 strings in the list of return values.
15504
327f1f6f
JB
155052013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15506
15507 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15508 radix before checking for HMS forms.
15509
67ed8fcd
LL
155102013-03-16 Leo Liu <sdl.web@gmail.com>
15511
15512 * progmodes/scheme.el: Add indentation and font-locking for λ.
15513 (Bug#13975)
15514
78be8b64 155152013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
15516
15517 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15518 token before point (bug#13942).
15519
78be8b64 155202013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 15521
95b43468 15522 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 15523
98e775e6
EZ
155242013-03-16 Eli Zaretskii <eliz@gnu.org>
15525
15526 * startup.el (command-line-normalize-file-name): Fix handling of
15527 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15528 <xfq.free@gmail.com> in
15529 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15530
2edd6029
MA
155312013-03-15 Michael Albinus <michael.albinus@gmx.de>
15532
15533 Sync with Tramp 2.2.7.
15534
15535 * net/trampver.el: Update release number.
15536
d35f5864
TH
155372013-03-14 Tassilo Horn <tsdh@gnu.org>
15538
e903c210 15539 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
15540 (doc-view-insert-image): Don't modify overlay associated to
15541 non-live windows, and implement horizontal centering of image in
15542 case it's smaller than the window.
15543 (doc-view-new-window-function): Force redisplay of new windows on
15544 doc-view buffers.
d35f5864 15545
1c4a85ed
KF
155462013-03-13 Karl Fogel <kfogel@red-bean.com>
15547
15548 * saveplace.el (save-place-alist-to-file): Don't sort
15549 `save-place-alist', just pretty-print it (bug#13882).
15550
85b66a21
MA
155512013-03-13 Michael Albinus <michael.albinus@gmx.de>
15552
a020afb9
JB
15553 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15554 Check whether `default-file-name-coding-system' is bound.
15555 It isn't in XEmacs.
85b66a21 15556
175600da
SM
155572013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15558
e7f7cb1a
SM
15559 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15560 backquotes for `obsolete' (bug#13929).
15561
175600da
SM
15562 * international/mule.el (find-auto-coding): Include file name in
15563 obsolescence warning (bug#13922).
15564
ca68a22e
TZ
155652013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15566
15567 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15568 for CFEngine 3-specific indentation.
15569 (cfengine3-indent-line): Use it. Fix up category regex.
15570 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15571
940e5099
SM
155722013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15573
15574 * type-break.el (type-break-file-name):
15575 * textmodes/remember.el (remember-data-file):
15576 * strokes.el (strokes-file):
15577 * shadowfile.el (shadow-initialize):
15578 * saveplace.el (save-place-file):
15579 * ps-bdf.el (bdf-cache-file):
15580 * progmodes/idlwave.el (idlwave-config-directory):
15581 * net/quickurl.el (quickurl-url-file):
15582 * international/kkc.el (kkc-init-file-name):
15583 * ido.el (ido-save-directory-list-file):
15584 * emulation/viper.el (viper-custom-file-name):
15585 * emulation/vip.el (vip-startup-file):
15586 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15587 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15588
cc725808
PE
155892013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15590
15591 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15592 * language/thai-word.el: Switch to UTF-8.
15593
a020afb9 15594See ChangeLog.16 for earlier changes.
e3d51b27
MR
15595
15596;; Local Variables:
15597;; coding: utf-8
e3d51b27
MR
15598;; End:
15599
ba318903 15600 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
15601
15602 This file is part of GNU Emacs.
15603
15604 GNU Emacs is free software: you can redistribute it and/or modify
15605 it under the terms of the GNU General Public License as published by
15606 the Free Software Foundation, either version 3 of the License, or
15607 (at your option) any later version.
15608
15609 GNU Emacs is distributed in the hope that it will be useful,
15610 but WITHOUT ANY WARRANTY; without even the implied warranty of
15611 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15612 GNU General Public License for more details.
15613
15614 You should have received a copy of the GNU General Public License
15615 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.