* lisp/mouse.el: Use the normal toplevel loop while dragging.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4eb43682
SM
12014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2
fbd5cc6c
SM
3 * mouse.el: Use the normal toplevel loop while dragging.
4 (mouse-set-point): Handle multi-clicks.
5 (mouse-set-region): Handle multi-clicks for drags.
6 (mouse-drag-region): Update call accordingly.
7 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
8 Use the normal event loop instead of a local while/read-event loop.
9 (global-map): Remove redundant bindings for double/triple-mouse-1.
10 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
11 Generate synthetic down events when the protocol only sends up events.
12 (xterm-mouse-last): Remove.
13 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
14 terminal parameter instead.
15 (xterm-mouse--set-click-count): New function.
16 (xterm-mouse-event): Detect/generate double/triple clicks.
17 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
18
80a78d23
SM
19 * info.el (Info-quoted): New face.
20 (Info-mode-font-lock-keywords): New var.
21 (Info-mode): Use it.
22
4eb43682
SM
23 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
24 are a hindrance for C-x C-e.
25
2f9b4cfc
LL
262014-05-11 Leo Liu <sdl.web@gmail.com>
27
28 * net/rcirc.el (rcirc-sentinel): Fix last change.
29
f36f0bca
SS
302014-05-08 Sam Steingold <sds@gnu.org>
31
32 * net/rcirc.el (rcirc-reconnect-delay): New user option.
33 (rcirc-sentinel): Auto-reconnect to the server if
34 `rcirc-reconnect-delay' is non-0 (but not more often than its
35 value in case the host is off-line).
36
b722ea4e
EZ
372014-05-09 Eli Zaretskii <eliz@gnu.org>
38
39 * progmodes/grep.el (lgrep): Fix a typo in last commit.
40
1d75432d
GM
412014-05-09 Glenn Morris <rgm@gnu.org>
42
43 * files.el (file-expand-wildcards):
44 * man.el (Man-support-local-filenames):
45 * printing.el (pr-i-directory, pr-interface-directory):
46 * progmodes/grep.el (lgrep, rgrep):
47 * textmodes/ispell.el (ispell-call-process)
48 (ispell-call-process-region, ispell-start-process)
49 (ispell-init-process): Use file-accessible-directory-p.
50
b406487f
SM
512014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
54 (xterm-mouse--read-event-sequence-1000): Return nil if something
55 looks fishy.
56 (xterm-mouse-event): Propagate it.
57 (xterm-mouse-translate-1): Handle it.
58
fb3f83f5 592014-05-08 Stephen Berman <stephen.berman@gmx.net>
1ddb2150
SB
60
61 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
62 four slots of the parameter list are filled, make sure to pass it
63 to the argument list of todo-insert-item--basic.
64
fb3f83f5 652014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5e87fcb1
SM
66
67 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
68 Add optional `seen' argument to detect and break infinite loops.
69
fb3f83f5 702014-05-08 Eli Zaretskii <eliz@gnu.org>
c5d670f5
EZ
71
72 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
73 (trace-unsafe, trace-use-tree): Make parentheses style be
74 according to Emacs style.
75
fb3f83f5 762014-05-08 Michael Albinus <michael.albinus@gmx.de>
3e59ead1 77
5e87fcb1
SM
78 * net/tramp-sh.el (tramp-remote-process-environment):
79 Remove HISTFILE and HISTSIZE; it's too late to set them here.
80 Add :version entry.
81 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
82 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
83 extra "PSx=..." commands.
84 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
85 (Bug#17295)
86
23e19cf2
MA
87 (tramp-uudecode): Replace the hard-coded temporary file name by a
88 format specifier.
89 (tramp-remote-coding-commands): Enhance docstring.
90 (tramp-find-inline-encoding): Replace "%t" by a temporary file
91 name. (Bug#17415)
92
fb3f83f5 932014-05-08 Glenn Morris <rgm@gnu.org>
0c4decae
GM
94
95 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
96 (find-gc-source-files): Update some names.
97 (trace-call-tree): Simplify and update.
98 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
99
fb3f83f5 1002014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
c22f24f6 101
bf67c3f7
SM
102 * minibuffer.el (completion--try-word-completion): Revert fix for
103 Bug#15980 (bug#17375).
104
c22f24f6
SM
105 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
106 Always store button numbers in the same way in xterm-mouse-last;
107 Don't burp is xterm-mouse-last is not set as expected.
108 Never return negative indices.
109
fb3f83f5 1102014-05-08 Dmitry Gutov <dgutov@yandex.ru>
4dd3c4d5
DG
111
112 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
113 Backtrack one char if the global/char-literal var matcher hits
114 inside a string. The next char could be the beginning of an
115 expression expansion.
116
fb3f83f5 1172014-05-08 Glenn Morris <rgm@gnu.org>
6da8d069
GM
118
119 * help-fns.el (describe-function-1): Test for an autoload before a
120 macro, since `macrop' works on autoloads. (Bug#17410)
121
fb3f83f5 1222014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
dccb0688 123
e6025d72
SM
124 * electric.el (electric-indent-functions-without-reindent): Add yaml.
125
dccb0688
SM
126 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
127 Make sure the new point we return is within the new string (bug#17239).
128
049534ad
DC
1292014-05-05 Daniel Colascione <dancol@dancol.org>
130
131 * progmodes/compile.el (compilation-error-regexp-alist-alist):
132 Port `gnu' pattern to rx.
133
80e377c0
JC
1342014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
135
136 Remove unneeded prompt when closing a buffer with active
137 emacsclient ("Buffer ... still has clients"), #16548.
138 * server.el (server-start): Remove the only call to:
139 (server-kill-buffer-query-function): Remove.
140
f930a063
LL
1412014-05-04 Leo Liu <sdl.web@gmail.com>
142
143 * calendar/diary-lib.el (calendar-chinese-month-name-array):
144 Defvar to pacify compiler.
145
3e9fa60a 1462014-05-04 Eli Zaretskii <eliz@gnu.org>
74a9022a
EZ
147
148 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
149
3e9fa60a 1502014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
e6cf6ca0
SM
151
152 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
153 Use nil rather than `default' for the "default" appearance (bug#17388).
154 * vc/ediff-util.el (ediff-inferior-compare-regions)
155 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
156 a misleading `default' value when it's really a boolean.
157 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
158 overlay is not visible.
159
3e9fa60a 1602014-05-04 Stephen Berman <stephen.berman@gmx.net>
7bd9ce64
SB
161
162 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
163 (todo-menu): Uncomment and update.
164
3e9fa60a 1652014-05-04 Stephen Berman <stephen.berman@gmx.net>
aed4b12d
SB
166
167 * calendar/todo-mode.el: Reimplement item editing to have the same
168 basic user interface as item insertion, and make small UI and
169 larger internal improvements to the latter.
170 (todo-insert-item): Add reference to the Todo mode user manual to
171 the documentation string.
172 (todo-insert-item--basic): Rename from todo-basic-insert-item and
173 adjust all callers. Change signature to combine diary and
174 nonmarking arguments. Incorporate functionality of deleted item
175 copying command and add error checking. Remove detailed
176 descriptions of the arguments from the documentation string, since
177 this is treated in the Todo mode user manual.
178 (todo-copy-item, todo-edit-multiline-item)
179 (todo-edit-done-item-comment, todo-edit-item-header)
180 (todo-edit-item-time, todo-edit-item-date-from-calendar)
181 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
182 (todo-edit-item-date-year, todo-edit-item-date-month)
183 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
184 Remove.
185 (todo-edit-item): Reimplement as wrapper command for
186 todo-edit-item--next-key and make it distinguish done and not done
187 todo items.
188 (todo-edit-item--text): New function, replacing old command
189 todo-edit-item and incorporating deleted commands
190 todo-edit-multiline-item and todo-edit-done-item-comment.
191 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
192 Use only numeric value of prefix argument. Remove detailed
193 descriptions of the arguments from the documentation string, since
194 this is treated in the Todo mode user manual.
195 (todo-edit-item--diary-inclusion): New function, replacing old
196 command todo-edit-item-diary-inclusion and incorporating and fixing
197 functionality of deleted command todo-edit-item-diary-nonmarking,
198 making sure to remove todo-nondiary-marker when adding
199 diary-nonmarking-symbol.
200 (todo-edit-category-diary-inclusion): Make sure to delete
201 diary-nonmarking-symbol when adding todo-nondiary-marker.
202 (todo-edit-category-diary-nonmarking): Fix indentation.
203 (todo-insert-item--parameters): Group diary and nonmarking
204 parameters together.
205 (todo-insert-item--apply-args): Adjust to signature of
206 todo-insert-item--basic and incorporate copy parameter.
207 Make small code improvements.
208 (todo-insert-item--next-param): Improve prompt and adjust it to
209 new parameter grouping. Remove obsolete code.
210 (todo-edit-item--param-key-alist)
211 (todo-edit-item--date-param-key-alist)
212 (todo-edit-done-item--param-key-alist): New defconsts.
213 (todo-edit-item--prompt): New variable.
214 (todo-edit-item--next-key): New function.
5e87fcb1
SM
215 (todo-key-bindings-t): Bind "e" to todo-edit-item.
216 Remove bindings of deleted commands.
aed4b12d 217
3e9fa60a 2182014-05-04 Leo Liu <sdl.web@gmail.com>
157e8cfd
LL
219
220 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
221
3e9fa60a 2222014-05-04 Glenn Morris <rgm@gnu.org>
d136f184
GM
223
224 * allout-widgets.el (allout-widgets-tally)
225 (allout-decorate-item-guides):
226 * menu-bar.el (menu-bar-positive-p):
227 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
228 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
229 * progmodes/js.el (js--inside-param-list-p)
230 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
231 * progmodes/prolog.el (region-exists-p):
232 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
233 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
234 Doc fixes (replace `iff').
235
3e9fa60a 2362014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4ec0cf9c
SM
237
238 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
239
bbdcf64f
LL
2402014-05-04 Leo Liu <sdl.web@gmail.com>
241
242 Support Chinese diary entries in calendar and diary. (Bug#17393)
243 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
244 (calendar-chinese-from-absolute-for-diary)
245 (calendar-chinese-to-absolute-for-diary)
246 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
247 (diary-chinese-list-entries): New functions to list and mark
248 Chinese diary entries in the calendar window.
249 (diary-chinese-anniversary)
250 (diary-chinese-insert-anniversary-entry)
251 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
252 (diary-chinese-insert-yearly-entry): New commands to insert
253 Chinese diary entries.
254
80a78d23
SM
255 * calendar/diary-lib.el (diary-font-lock-keywords):
256 Support font-locking Chinese dates.
bbdcf64f
LL
257
258 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
259 inserting Chinese diary entries.
260
80a78d23
SM
261 * calendar/calendar.el (diary-chinese-entry-symbol):
262 New customizable variable.
bbdcf64f
LL
263 (calendar-mode-map): Add bindings for inserting Chinese diary
264 entries.
265
cfd59d67
JL
2662014-05-03 Juri Linkov <juri@jurta.org>
267
268 * dired.el (dired-check-switches, dired-switches-recursive-p):
269 New functions. (Bug#17218)
270 (dired-switches-escape-p, dired-move-to-end-of-filename):
271 Use `dired-check-switches'.
272 (dired-insert-old-subdirs, dired-build-subdir-alist)
273 (dired-sort-R-check): Use `dired-switches-recursive-p'.
274
4807c7eb
BR
2752014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
276
a7e1ffdc
BR
277 * simple.el (undo-make-selective-list): New algorithm fixes
278 incorrectness of position adjustments when undoing in region.
279 (Bug#17235)
280 (undo-elt-crosses-region): Make obsolete.
80a78d23
SM
281 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
282 New functions to adjust positions using undo-deltas.
4807c7eb 283
17a873c5
SM
2842014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
287 the last consecutive closing paren (bug#17345).
288
724ee6dc
RT
2892014-04-30 Reuben Thomas <rrt@sc3d.org>
290
291 * dired.el (dired-mode): make terminology for eXpunge command
292 consistent. (Bug#17276)
293
72962dd8
EZ
2942014-04-30 Eli Zaretskii <eliz@gnu.org>
295
296 * dired.el (dired-initial-position-hook, dired-initial-position):
297 Doc string fixes.
298
09b911ad 2992014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
300
301 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
302
09b911ad 3032014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
304
305 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 306 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
307 overriden by the defface spec which also fixes issues on win32 where
308 the toolbar coloring was wrong because it is set through X resources
309 and was (wrongfully) overriden. (Bug#16694)
310
09b911ad 3112014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
312
313 * textmodes/rst.el (electric-pair-pairs): Declare.
314 (rst-mode): Set it (bug#17131).
315
09b911ad 3162014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
317
318 * desktop.el (desktop-value-to-string): Let-bind `print-length'
319 and `print-level' to nil. (Bug#17351)
320
09b911ad 3212014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
322
323 * battery.el (battery-update): Handle the case where battery
324 status is "N/A" (bug#17319).
325
9b7b020d
SM
3262014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
329 to syntax-propertize.
330 (ps-mode-auto-indent): Mark as obsolete.
331 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
332 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
333 word regexp operators.
334 (ps-mode-map): Move initialization into declaration. Remove binding
335 for TAB, RET, >, ], and }.
336 (ps-mode-syntax-table): Move initialization into declaration.
337 Don't give word syntax to non-word chars.
338 (ps-run-mode-map): Move initialization into declaration.
339 (ps-mode-menu-main): Remove auto-indent entry.
340 (ps-mode-smie-rules): New function.
341 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
342 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
343 (ps-mode--string-syntax-table): New const.
344 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
345 New functions.
346 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
347 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
348
196bfaec
DC
3492014-04-27 Daniel Colascione <dancol@dancol.org>
350
351 * term/xterm.el (xterm-paste): Use large finite timeout when
352 reading event to avoid putting keys in this-command-keys.
353
5ba339c7
SM
3542014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
357 (perl-syntax-propertize-function): Use it. Extend handling of
358 here-docs to the unquoted case.
359
dff4a9f6 3602014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 361
5ba339c7
SM
362 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
363 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 364
dff4a9f6 3652014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
366
367 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
368 Fix syntax for @. (Bug#17325)
369
dff4a9f6 3702014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
371
372 * emacs-lisp/cl.el (gv): Require gv early to break eager
373 macro-expansion cycles.
374
dff4a9f6 3752014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 376
05452dc4
SM
377 * simple.el (region-active-p): Check there's a mark (bug#17324).
378
0e8a9331
SM
379 * simple.el (completion-list-mode-map): Use choose-completion for the
380 mouse binding as well (bug#17302).
381 (completion-list-mode, completion-setup-function): Adjust docstring and
382 echo area message accordingly.
383 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
384 calling convention of choose-completion.
385 * comint.el (comint-dynamic-list-completions):
386 * term.el (term-dynamic-list-completions): Accept choose-completion.
387
c0868451
SM
388 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
389 &, |, +, - and * can't be a division (bug#17317).
390
f7e0450a
SM
391 * term/xterm.el (xterm--version-handler): Don't use modern xterm
392 features on gnome-terminal (bug#16988).
393
5e4ab4e4
TTN
3942014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
395
396 Improve Scheme font-locking for (define ((foo ...) ...) ...).
397
398 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
399 the declared object, ignore zero or more parens, not zero or one.
400
d5031a2a
LL
4012014-04-24 Leo Liu <sdl.web@gmail.com>
402
403 * progmodes/xscheme.el (xscheme-expressions-ring)
404 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
405 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
406 (xscheme-allow-output-p, xscheme-prompt)
407 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
408
409 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
410 Comment out unused functions.
411
118b5a92
SM
4122014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * info.el: Use lexical-binding and cl-lib.
415 Use defvar-local and setq-local instead of make-local-variable.
416 (Info-apropos-matches): Avoid add-to-list.
417 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
418
9b233997
DC
4192014-04-24 Daniel Colascione <dancol@dancol.org>
420
421 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
422
ddc13efd
SM
4232014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
426
f2df692c
MH
4272014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
428
429 * dired.el (dired-insert-set-properties): Do not consider
430 subdirectory headings and empty lines to be information that
431 `dired-hide-details-mode' should hide. (Bug#17228)
432
14828a95
MA
4332014-04-22 Michael Albinus <michael.albinus@gmx.de>
434
435 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
436 Remove test messages.
437 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
438 and `target' twice.
439
42e91034 4402014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 441
9c104369
SM
442 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
443 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
444
622eef68
SM
445 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
446
42e91034 4472014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 448
622eef68
SM
449 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
450 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
451 the file name. Add test messages for hunting a bug on hydra.
452 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
453
42e91034 4542014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
455
456 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
457 Don't prettify a word within a symbol.
458
42e91034 4592014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
460
461 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
462 possible.
463
1b0f10d2
DC
4642014-04-22 Daniel Colascione <dancol@dancol.org>
465
466 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
467 use defun to define `function-put'.
468
67c477ae
SM
4692014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
470
4f965793
SM
471 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
472 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
473 (lisp-mode-variables): Set font-lock-extra-managed-props.
474
67c477ae
SM
475 * emacs-lisp/byte-run.el (function-put): New function.
476 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
477 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
478 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
479 Use them.
480
66fda794
DC
4812014-04-22 Daniel Colascione <dancol@dancol.org>
482
67c477ae
SM
483 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
484 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
485 `macroexpand-all'.
486
487 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
488 Improve docstrings.
489
c98212f9
DC
490 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
491 Use lambda function values, not quoted lambdas.
492 (byte-compile-recurse-toplevel): Remove extraneous &optional.
493
66fda794 494 * emacs-lisp/cl-macs.el
c98212f9 495 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
496 (cl-struct-slot-value): Conditionally use aref or nth so that the
497 compiler produces optimal code.
498
d6f14ca7
SM
4992014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
500
501 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
502 (inline): Don't inline cl--set-elt.
503 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
504 Define as inlinable instead.
505 (cl-struct-set-slot-value): Remove.
506
507 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
508 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
509 Use setf instead.
510
44faec17
DC
5112014-04-21 Daniel Colascione <dancol@dancol.org>
512
513 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
514 last two parameters after all.
515 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
516 (cl--compiler-macro-assoc,cl-struct-slot-value)
517 (cl-struct-set-slot-value): Stop using them.
518
519(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
520
521 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
522 entry in image-mode-winprops-alist.
523
2fa1b97d
DC
5242014-04-21 Daniel Colascione <dancol@dancol.org>
525
9253f7af
SM
526 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
527 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
528 (byte-compile-toplevel-file-form): Use it.
529
2fa1b97d
DC
530 * emacs-lisp/cl-macs.el:
531 (cl--loop-let): Properly destructure `while' clauses.
532
e8a77f24
DC
5332014-04-20 Daniel Colascione <dancol@dancol.org>
534
535 * vc/vc.el (vc-root-dir): New public autoloaded function for
536 generically finding the current VC root.
537 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 538 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 539
89a2e783
DC
5402014-04-20 Daniel Colascione <dancol@dancol.org>
541
542 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
543 argument.
544 (cl--const-expr-val): cl--const-expr-val should macroexpand its
545 argument in case we're inside a symbol-macrolet.
546 (cl--do-arglist, cl--compiler-macro-typep)
547 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
548 environment to `cl--const-expr-val'.
549 (cl-struct-sequence-type,cl-struct-slot-info)
550 (cl-struct-slot-offset, cl-struct-slot-value)
551 (cl-struct-set-slot-value): New functions.
552
fe36068f
SM
5532014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
556 assignments such as "case=hello" (bug#17297).
557
ce8c5107
MA
5582014-04-18 Michael Albinus <michael.albinus@gmx.de>
559
560 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
561 Do not autoload.
562 (tramp-file-name-handler, tramp-completion-file-name-handler):
563 Revert patch from 2014-04-10, it isn't necessary anymore.
564 (tramp-autoload-file-name-handler)
565 (tramp-register-autoload-file-name-handlers): New defuns.
566 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
567 (tramp-register-file-name-handlers): Remove also
568 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
569 Do not autoload its invocation, but eval it after loading of 'tramp.
570
571 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
572
573 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
574
bfc30790
DC
5752014-04-17 Daniel Colascione <dancol@dancol.org>
576
577 Add support for bracketed paste mode; add infrastructure for
578 managing terminal mode enabling and disabling automatically.
579
580 * xt-mouse.el:
581 (xterm-mouse-mode): Simplify.
582 (xterm-mouse-tracking-enable-sequence)
583 (xterm-mouse-tracking-disable-sequence): New constants.
584 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
585 (turn-off-xterm-mouse-tracking-on-terminal):
586 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
587 parameters instead of random hooks.
588 (turn-on-xterm-mouse-tracking)
589 (turn-off-xterm-mouse-tracking): Delete.
590
591 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
592 (xterm-paste-ending-sequence): New constant.
593 (xterm-paste): New command used for bracketed paste support.
594
595 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
596 (terminal-init-xterm-bracketed-paste-mode): New function.
597 (terminal-init-xterm): Call it.
598 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
599 and tty-mode-reset-strings instead of random hooks.
600 (xterm-turn-on-modify-other-keys)
601 (xterm-turn-off-modify-other-keys)
602 (xterm-remove-modify-other-keys): Delete obsolete functions.
603
67c477ae
SM
604 * term/screen.el: Rewrite to just use the xterm code.
605 Add copyright notice. Mention tmux.
bfc30790 606
e51c8d91
I
6072014-04-17 Ian D <dunni@gnu.org> (tiny change)
608
609 * image-mode.el (image-mode-window-put): Also update the property of
610 the "default window".
611 * doc-view.el (doc-view-new-window-function): If no window
612 exists, move to the last known page.
613
c76a7a5c
SM
6142014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
617 here-documents (bug#17262).
618
bf6b4923
EZ
6192014-04-16 Eli Zaretskii <eliz@gnu.org>
620
c76a7a5c
SM
621 * term/pc-win.el (x-list-fonts, x-get-selection-value):
622 Provide doc strings, as required by snarf-documentation.
bf6b4923 623
290d7ac2 6242014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
625
626 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
627 arg of overlays-at. Use `invisible-p'.
628
629 * obsolete/lucid.el (extent-at):
630 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
631 overlays-at.
632 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
633
290d7ac2 6342014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
635
636 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
637 links. (Bug#17217).
638
290d7ac2 6392014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
640
641 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
642 Use mapc to loop over a vector. (Bug#17257).
643
290d7ac2 6442014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
645
646 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
647 patch, there are new problems with file names containing spaces.
648 Get rid of backticks. (Bug#17238)
649
290d7ac2 6502014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
651
652 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
653 possible bug.
654
290d7ac2 6552014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
656
657 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
658 (blink-cursor-mode): Mention customization variables and the
659 effect of 'blink-cursor-blinks'.
660
290d7ac2 6612014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
662
663 * simple.el (undo): Prevent insertion of identity mapping into
664 undo-equiv-table so as undo-only does not inf loop in the presence
665 of consecutive nils in undo list.
666
290d7ac2 6672014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
668
669 * faces.el (make-face): Deprecate optional argument as it is no
670 longer needed/used since the conditional X resources handling
671 has been pushed down to make-face-x-resource-internal itself.
672 (make-empty-face): Don't pass optional argument to make-face.
673
5f6b4154
KF
6742014-04-16 Karl Fogel <kfogel@red-bean.com>
675
676 * savehist.el (savehist-save): Remove workaround for a read-passwd
677 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
678 noticing that the shim was still present.
679
005551fe
SM
6802014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
681
682 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
683
b92583c4
JB
6842014-04-14 Juanma Barranquero <lekktu@gmail.com>
685
686 * faces.el (face-set-after-frame-default): Remove unused local variable.
687
6c2453e0
SM
6882014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
689
f7993853
SM
690 * progmodes/grep.el: Use lexical-binding.
691 (grep-expand-template): Pass explicit lexical env to `eval'.
692 (zrgrep): Let-bind grep-find-template explicitly.
693
6c2453e0
SM
694 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
695 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
696
ac387dd1
EZ
6972014-04-12 Eli Zaretskii <eliz@gnu.org>
698
699 * international/characters.el <standard-case-table>: Add entries
700 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 701 Set category of Coptic characters be 'g' (Greek).
ac387dd1 702
2e611da6
LL
7032014-04-12 Leo Liu <sdl.web@gmail.com>
704
e0af4095
GM
705 * progmodes/octave.el (completion-table-with-cache):
706 Define if not available.
707 (octave-goto-function-definition, octave-sync-function-file-names)
708 (octave-find-definition-default-filename):
709 Backquote upattern for compatibility.
2e611da6 710
e0af4095 7112014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
712
713 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
714 name twice due to backticks. (Bug#17238)
715
e0af4095 7162014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
717
718 * term/w32-win.el (x-win-suspend-error):
719 * term/x-win.el (x-win-suspend-error): Sync docs.
720
7f0f4c25
MD
7212014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
722
f7993853
SM
723 * faces.el (make-face): Remove deprecated optional argument.
724 The conditional application of X resources is handled directly by
7f0f4c25
MD
725 make-face-x-resource-internal since Emacs 24.4.
726 (make-empty-face): Don't pass optional argument to make-face.
727
e088b01d
GM
7282014-04-11 Glenn Morris <rgm@gnu.org>
729
730 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
731
536aa466 7322014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
733
734 Ediff's overlay priorities cause more trouble than they solve.
735 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
736 (ediff-highest-priority): Remove function (bug#17234).
737 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
738 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
739 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
740 overlay priorities.
741
536aa466 7422014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
743
744 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
745 entry; use symbol boundaries to avoid mis-matches.
746
536aa466 7472014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
748
749 * net/tramp.el (tramp-file-name-handler)
750 (tramp-completion-file-name-handler): Avoid recursive loading.
751
752 * net/tramp-sh.el (tramp-make-copy-program-file-name):
753 Quote result also locally.
754
0d6a1375
SM
7552014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
756
c99ce7d8
SM
757 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
758 Remove left-over code.
759
0d6a1375
SM
760 * newcomment.el (comment-indent-new-line): Sink code where it's used.
761 Reuse the previous comment's indentation unconditionally if it's on its
762 own line.
763
3f63a9f7
DC
7642014-04-09 Daniel Colascione <dancol@dancol.org>
765
766 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
767 `no-syntax-crossing' arguments. Forward to `up-list'.
768 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
769 Implement logic for escaping from strings. Use narrowing to deal
770 with corner cases.
771
0b816f15
LL
7722014-04-09 Leo Liu <sdl.web@gmail.com>
773
774 * net/rcirc.el (rcirc-connection-info): New variable.
775 (rcirc-connect): Use it to store connection info.
776 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
777 for killed process.
778 (rcirc-cmd-reconnect): New command. (Bug#17045)
779 (rcirc-mode, set-rcirc-encode-coding-system)
780 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
781
22683580
DC
7822014-04-09 Daniel Colascione <dancol@dancol.org>
783
784 * emacs-lisp/cl-indent.el: Add comment claiming
785 facility is also good for elisp.
786 (lisp-indent-find-method): New function.
787 (common-lisp-indent-function): Recognize cl-loop.
788 (common-lisp-indent-function-1): Recognize cl constructs; use
789 `lisp-indent-find-method' instead of `get' directly.
790 (if): Use else-body style for elisp.
791
0122b24d
DG
7922014-04-09 Dmitry Gutov <dgutov@yandex.ru>
793
794 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
795 Module methods. (Bug#17216)
796
559836fb 7972014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
798
799 * help.el (describe-bindings): Fix buffer handling (bug#17210).
800 (describe-bindings-internal): Mark obsolete.
801
6bc76cee
SM
8022014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
805 buffer-file-name, and buffer-file-truename any more.
806
dc0b0454
LL
8072014-04-08 Leo Liu <sdl.web@gmail.com>
808
809 Use lexical-binding and require cl-lib.
810 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
811 (rcirc-handler-generic, rcirc-fill-paragraph)
812 (rcirc-format-response-string, rcirc-target-buffer)
813 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
814 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
815 (rcirc-ctcp-sender-PING, rcirc-browse-url)
816 (rcirc-markup-timestamp, rcirc-markup-attributes)
817 (rcirc-markup-my-nick, rcirc-markup-urls)
818 (rcirc-markup-bright-nicks, rcirc-markup-fill)
819 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
820 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
821 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
822 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
823 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
824 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
825 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
826 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
827 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
828 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
829 use cl-lib.
830
190f899a
JT
8312014-04-07 João Távora <joaotavora@gmail.com>
832
6f287c89
GM
833 * elec-pair.el (electric-pair--syntax-ppss):
834 When inside comments parse from comment beginning.
190f899a
JT
835 (electric-pair--balance-info): Fix typo in comment.
836 (electric-pair--in-unterminated-string-p): Delete.
837 (electric-pair--unbalanced-strings-p): New function.
838 (electric-pair-string-bound-function): New var.
839 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
840 according to `electric-pair--in-unterminated-string-p'
841
6f287c89
GM
842 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
843 Inhibit quote pairing if point-max is inside an unterminated string.
844 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
845 (electric-pair--in-unterminated-string-p): New function.
846
a9c921e6
GM
8472014-04-07 Glenn Morris <rgm@gnu.org>
848
849 * shell.el (shell-directory-tracker):
850 Go back to just ignoring failures. (Bug#17159)
851
6f287c89 8522014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
853
854 Fix `electric-pair-delete-adjacent-pairs' in modes binding
855 backspace. (bug#16981)
856 * elec-pair.el (electric-pair-backward-delete-char): Delete.
857 (electric-pair-backward-delete-char-untabify): Delete.
858 (electric-pair-mode-map): Bind backspace to a menu item filtering
859 a new `electric-pair-delete-pair' command.
860 (electric-pair-delete-pair): New command.
861
6f287c89
GM
862 * progmodes/python.el (python-electric-pair-string-delimiter):
863 Fix triple-quoting electricity. (Bug#17192)
89f20f76 864
6f287c89
GM
865 * elec-pair.el (electric-pair-post-self-insert-function):
866 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 867 `electric-pair-pairs' were used. syntax to
7aecc2f6 868 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 869
6f287c89 8702014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
871
872 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
873 "<F>". (Bug#17199)
874
6f287c89 8752014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
876
877 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
878 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
879
6f287c89 8802014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
881
882 * help.el (view-lossage): Doc tweak.
883
6f287c89 8842014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
885
886 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
887 only when inhibit-x-resources is nil, and do that earlier in the
888 function. Doc fix. (Bug#16694)
fdafd487
MD
889 (face-spec-choose): Accept additional optional argument, whose
890 value is returned if no matching attributes are found.
891 (face-spec-recalc): Use the new optional argument when calling
892 face-spec-choose. (Bug#16378)
f5e4494c
MD
893 (make-face-x-resource-internal): Do nothing when
894 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 895 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
896 (face-set-after-frame-default): Don't call
897 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 898
6f287c89 8992014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 900
0beb7fb7
SM
901 * doc-view.el (doc-view-bookmark-jump):
902 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
903 buffer is shown in a window. (bug#16090)
904
6f287c89 9052014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
906
907 * international/characters.el (mirroring): Fix last change:
908 instead of loading uni-mirrored.el explicitly, do that implicitly
909 by creating the 'mirroring' uniprop table. This avoids announcing
910 the loading of uni-mirrored.el.
911
6f287c89 9122014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
913
914 * files.el (buffer-stale--default-function)
915 (buffer-stale-function, revert-buffer--default):
916 * autorevert.el (auto-revert-buffers): Doc tweaks.
917
6f287c89 9182014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
919
920 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
921
6f287c89 9222014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
923
924 * files.el (make-backup-file-name-function)
925 (make-backup-file-name, make-backup-file-name--default-function)
926 (make-backup-file-name-1, find-backup-file-name)
927 (revert-buffer-function, revert-buffer-insert-file-contents-function)
928 (buffer-stale--default-function, buffer-stale-function)
929 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
930 (revert-buffer, revert-buffer--default)
931 (revert-buffer-insert-file-contents--default-function):
932 Doc fixes related to defaults no longer being nil.
933 (make-backup-file-name-function): Bump :version.
934 Restore nil as a valid but deprecated custom type.
935
6f287c89 9362014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 937
6f287c89
GM
938 * progmodes/perl-mode.el (perl-syntax-propertize-function):
939 Handle $' used as a variable (bug#17174).
66f50b12
SM
940
941 * progmodes/perl-mode.el (perl-indent-new-calculate):
942 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
943 (perl-syntax-propertize-function): Add "foreach" and "for" statement
944 modifiers introducing expressions (bug#17116).
66f50b12 945
7b656e4a
SM
9462014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
949
722237d5
LL
9502014-04-05 Leo Liu <sdl.web@gmail.com>
951
7b656e4a
SM
952 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
953 Add define-compilation-mode.
722237d5 954
5cb0cc90
JT
9552014-04-04 João Távora <joaotavora@gmail.com>
956
9b017563
JB
957 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
958 parse from comment beginning.
5cb0cc90
JT
959 (electric-pair--balance-info): Fix typo in comment.
960 (electric-pair--in-unterminated-string-p): Delete.
961 (electric-pair--unbalanced-strings-p): New function.
962 (electric-pair-string-bound-function): New var.
963 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 964 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 965
6b31e6b1
SM
9662014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
969 Move declaration before first use.
970 (reftex-move-to-next-arg): Silence compiler warning.
971
0de7d982
JK
9722014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
973
6b31e6b1
SM
974 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
975 Use `window-total-width' instead of `window-width'.
0de7d982 976
01ae0fbf
DC
9772014-04-03 Daniel Colascione <dancol@dancol.org>
978
979 * subr.el (set-transient-map): Remove rms's workaround entirely;
980 use new `suspicious-object' subr to mark our lambda for closer
981 scrutiny during gc.
982
4fd68bf6
RS
9832014-04-02 Richard Stallman <rms@gnu.org>
984
985 * subr.el (set-transient-map): Comment out previous change.
986
c7510f6e
GM
9872014-04-02 Glenn Morris <rgm@gnu.org>
988
0b908bf2
GM
989 * menu-bar.el (menu-bar-file-menu):
990 * vc/ediff.el (ediff-current-file):
991 Update for revert-buffer-function no longer being nil by default.
992
c7510f6e
GM
993 * simple.el (command-execute): Respect nil disabled-command-function.
994
09aba815 9952014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
996
997 * simple.el (command-execute): Do not execute the command when it
998 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
999
09aba815 10002014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
1001
1002 * dired-aux.el (dired-compress-file): Don't use string-match-p
1003 because its match data is used afterwards.
1004
09aba815 10052014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
1006
1007 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1008 0 like nil.
1009
200c532b
JT
10102014-04-02 João Távora <joaotavora@gmail.com>
1011
6b31e6b1
SM
1012 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1013 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
1014 (electric-pair--looking-at-unterminated-string-p):
1015 Delete.
1016 (electric-pair--in-unterminated-string-p): New function.
1017
2395f2b9
DC
10182014-04-01 Daniel Colascione <dancol@dancol.org>
1019
1020 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1021 when trying to complete the prompt.
1022
294b2b09
LL
10232014-03-31 Leo Liu <sdl.web@gmail.com>
1024
6b31e6b1
SM
1025 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1026 Refactor out eldoc-documentation-function-default.
294b2b09
LL
1027 (eldoc-documentation-function-default): New function.
1028 (eldoc-documentation-function): Change value.
1029
4f3a895b
GM
10302014-03-31 Glenn Morris <rgm@gnu.org>
1031
1032 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1033
1db854cc
GM
1034 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1035 (vhdl-compose-components-package, vhdl-compose-configuration):
1036 Abbreviate default-directory (missing from some previous upstream sync).
1037
3c2d4776
RZ
10382014-03-31 Reto Zimmermann <reto@gnu.org>
1039
1040 Sync with upstream vhdl mode v3.35.2.
1041 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1042 (top-level): No longer require assoc.
1043 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1044 New functions. Use throughout to replace aget etc.
1045 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1046 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1047 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1048 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1049 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1050 except `vhdl-compiler'.
1051 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1052 when appropriate.
1053
5c30ab7a
GM
10542014-03-31 Glenn Morris <rgm@gnu.org>
1055
1056 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1057 Revert 2014-03-26 merge goof; go back to using defalias.
1058
1861d5a7
DC
10592014-03-30 Daniel Colascione <dancol@dancol.org>
1060
6b31e6b1
SM
1061 * comint.el (comint-send-input):
1062 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
1063 (Bug#17139).
1064
1065 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1066 on keyboard-quit.
1067
41116c5a
GM
10682014-03-29 Glenn Morris <rgm@gnu.org>
1069
1070 * textmodes/reftex.el: Manage most autoloads automatically.
1071 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1072 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1073 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1074 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1075 * textmodes/reftex-toc.el: Set generated-autoload-file,
1076 and add autoload cookies for reftex.el.
1077 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1078
c3153003
GM
10792014-03-28 Glenn Morris <rgm@gnu.org>
1080
7b207d6d
GM
1081 * cus-start.el (report-emacs-bug-address): Set custom properties.
1082 * mail/emacsbug.el (report-emacs-bug-address):
1083 Variable is now defined in emacs.c.
1084
c3153003
GM
1085 * mail/emacsbug.el (report-emacs-bug):
1086 Include system-configuration-features.
1087
687e0e19
MN
10882014-03-28 Michal Nazarewicz <mina86@mina86.com>
1089
1090 * simple.el (cycle-spacing): Never delete spaces on first run by
1091 default, but do so in a new 'fast mode and if there are already
4f3a895b 1092 N spaces (the previous behavior).
687e0e19
MN
1093 Compare N with its value in previous invocation so that changing
1094 prefix argument restarts `cycle-spacing' sequence.
687e0e19 1095 The idea is that with this change, binding M-SPC to
4f3a895b 1096 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
1097 the binding so long as users do not type M-SPC twice in a raw with
1098 the same prefix argument or lack thereof.
1099
95de732d
GM
11002014-03-28 Glenn Morris <rgm@gnu.org>
1101
1102 * faces.el (term-file-aliases): New variable.
1103 (tty-run-terminal-initialization): Respect term-file-aliases.
1104 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1105 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1106 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1107
6730259f
GM
11082014-03-27 Glenn Morris <rgm@gnu.org>
1109
862a4e4a
GM
1110 * startup.el (inhibit-startup-hooks): Doc tweak.
1111 (normal-top-level): Simplify running of hooks.
1112 For window-setup-hook, respect inhibit-startup-hooks.
1113 (command-line-1): Don't set window-setup-hook to nil.
1114
6730259f
GM
1115 Allow selective autoloading from obsolete/ directory.
1116 * Makefile.in (obsolete-autoloads): New rule.
1117 (autoloads): Run obsolete-autoloads.
1118 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1119 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1120
42ebc34e
DG
11212014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1122
929c0500
SM
1123 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1124 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 1125
42ebc34e
DG
1126 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1127 Don't propertize `?' or `!' as symbol constituent when after
1128 colon. (Bug#17097)
1129
b1c870c9
JB
11302014-03-27 Juanma Barranquero <lekktu@gmail.com>
1131
857ba6ec
JB
1132 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1133 which is no longer needed and causes trouble in GTK builds (bug#17046).
1134
b1c870c9
JB
1135 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1136 Use url-insert-file-contents; package-handle-response no longer exists.
1137
8ab9876a
DC
11382014-03-26 Daniel Colascione <dancol@dancol.org>
1139
1140 * simple.el (process-menu-mode-map): New variable.
1141 (process-menu-delete-process): New command.
1142
196716cf
JB
11432014-03-26 Juanma Barranquero <lekktu@gmail.com>
1144
1145 * emacs-lisp/package.el: Fix bug#16733 (again).
1146 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1147 (url-http-target-url): Remove unused declarations.
1148 (package-handle-response): Remove.
1149 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1150 (package--download-one-archive): Use current-buffer instead of
1151 dynamic binding of `buffer'.
1152 (describe-package-1): Do not decode readme-string.
1153
16adf2e6 11542014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
1155
1156 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1157
1158 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1159 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1160 `remote-file-name-inhibit-cache' to nil in the second pass.
1161 (tramp-find-executable): Do not call "which" on SunOS.
1162 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
1163 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1164 check whether source directory has set the sticky bit.
1f73d6c6 1165
16adf2e6 11662014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
1167
1168 * simple.el (primitive-undo): Only process marker adjustments
1169 validated against their corresponding (TEXT . POS). Issue warning
1170 for lone marker adjustments in undo history. (Bug#16818)
1171 (undo-make-selective-list): Add marker adjustments to selective
1172 undo list based on whether their corresponding (TEXT . POS) is in
1173 the region. Remove variable adjusted-markers, which was unused
1174 and only non nil during undo-make-selective-list.
1175 (undo-elt-in-region): Return nil when passed a marker adjustment
1176 and explain in function doc.
1177
16adf2e6 11782014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
1179
1180 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1181
16adf2e6 11822014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
1183
1184 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1185 Match special global variables without curlies, too.
1186 (ruby-font-lock-keywords): Simplify the matcher for special global
1187 variables. Don't require a non-word character after the variable.
1188 (Bug#17057)
1189
16adf2e6 11902014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
1191
1192 * simple.el (redisplay-highlight-region-function): Increase priority of
1193 overlay to make sure boundaries are visible (bug#15899).
1194
16adf2e6 11952014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 1196
16adf2e6
JB
1197 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1198 (frameset-restore): Compare display strings with equal.
ee79b33f 1199
3ea2c781
JB
1200 * frame.el (make-frame): Don't quote display name in error message,
1201 it is already a string.
1202
16adf2e6 12032014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
1204
1205 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1206 the password.
1207
16adf2e6 12082014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 1209
16adf2e6
JB
1210 * emacs-lisp/package.el (package--add-to-archive-contents):
1211 Include already installed and built-in packages in
1212 `package-archive-contents'.
1213 (package-install): Don't include already installed packages in the
1214 options during interactive invocation. (Bug#16762)
1215 (package-show-package-list): If the buffer is already displayed in
1216 another window, switch to that window.
1217
fb3deac8
RZ
12182014-03-26 Reto Zimmermann <reto@gnu.org>
1219
1220 Sync with upstream vhdl mode v3.35.1.
1221 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1222 (vhdl-compiler-alist): Doc fix.
1223 (vhdl-goto-line): Remove.
1224 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1225 (vhdl-mode) <paragraph-start>: Fix value.
1226 (vhdl-fix-statement-region): Not `for' in wait-statement.
1227 (vhdl-beautify-region): Also (un)tabify.
1228 (vhdl-get-visible-signals):
1229 Scan declarative part of generate statements.
1230 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
1231 (vhdl-expand-abbrev, vhdl-expand-paren):
1232 Revert to using fset again rather than defalias.
fb3deac8
RZ
1233 (vhdl-scan-directory-contents): Tweak.
1234 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1235 (vhdl-compose-components-package):
1236 Replace vhdl-goto-line with forward-line.
1237 (top-level): Tweak speedbar frame selection.
1238 (vhdl-generate-makefile-1): Support for compilers with no
1239 unit-to-file name mapping (create directory with dummy files).
1240
511df08c
WS
12412014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1242
1243 Sync with upstream verilog-mode revision 702457d.
1244 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1245 (create-lockfiles): Declare.
1246 (verilog-read-decls): Fix module header imports, bug709.
1247 Reported by Victor Lau.
1248 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1249 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 1250 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 1251
11ee65af
GM
12522014-03-26 Glenn Morris <rgm@gnu.org>
1253
b4aca021
GM
1254 * obsolete/gulp.el: Move here from emacs-lisp/.
1255
11ee65af
GM
1256 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1257 Remove fallback aliases, since they are always defined now.
1258
1edb4a2e
DC
12592014-03-24 Daniel Colascione <dancol@dancol.org>
1260
1261 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1262 instead of cl-loop search function.
1263
7a31038f
G
12642014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1265
1266 * calendar/parse-time.el (parse-time-iso8601-regexp)
1267 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1268 it more generally.
1269
12702014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1271
1272 * net/dns.el (network-interface-list): Define for XEmacs.
1273
12742014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1275
1276 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1277 the network interfaces changed.
1278 (dns-query): Use it to flush the data.
1279
835af719
JB
12802014-03-23 Juanma Barranquero <lekktu@gmail.com>
1281
1282 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1283
6ddc4422
DC
12842014-03-23 Daniel Colascione <dancol@dancol.org>
1285
1286 Change subword-mode to use `find-word-boundary-function-table' and
1287 replace `capitalized-words-mode'. Also, convert to lexical
1288 binding.
1289
1290 * progmodes/cap-words.el: Delete now-obsolete file.
1291 * progmodes/subword.el: Reimplement using
1292 `find-word-boundary-function-table'.
1293 (subword-mode-map): Hollow out.
1294 (capitalized-words-mode): Define as obsolete alias for
1295 `subword-mode'.
9b017563 1296 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 1297 implementation; call `subword-setup-buffer'.
9b017563 1298 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
1299 unused variable.
1300 (subword-find-word-boundary-function-table): New constant.
1301 (subword-empty-char-table): New constant.
1302 (subword-setup-buffer): New function.
1303 (subword-find-word-boundary): New function.
1304
c6b0fbe7
DC
13052014-03-23 Daniel Colascione <dancol@dancol.org>
1306
1307 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1308 list to look for keyword arguments instead of `memq', fixing
1309 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1310 Please make bootstrap.
1311
5076d275
GM
13122014-03-22 Glenn Morris <rgm@gnu.org>
1313
5dbc3244
GM
1314 * dired.el (dired-read-regexp): Make obsolete.
1315 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1316 (dired-flag-files-regexp):
1317 * dired-aux.el (dired-mark-read-regexp):
1318 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1319
00156f95
GM
1320 * startup.el (fancy-startup-text):
1321 * help.el (describe-gnu-project): Visit online info about GNU project.
1322
f9c81e7b
GM
1323 * help-fns.el (help-fns--interactive-only): New function.
1324 (help-fns-describe-function-functions): Add the above function.
1325 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1326 (next-line, previous-line): Remove hand-written interactive-only
1327 information from doc strings, it is auto-generated now.
1328 * bookmark.el (bookmark-write):
1329 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1330 (epa-mail-import-keys): Mark interactive-only,
1331 and remove hand-written interactive-only information from doc strings.
1332 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1333 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1334 * files.el (not-modified):
1335 * simple.el (mark-whole-buffer): Mark interactive-only.
1336
5076d275
GM
1337 * emacs-lisp/byte-run.el (defun-declarations-alist):
1338 Add interactive-only. Doc tweak.
1339 (macro-declarations-alist): Doc tweak.
1340 * subr.el (declare): Doc tweak (add xref to manual).
1341 * comint.el (comint-run):
1342 * files.el (insert-file-literally, insert-file):
1343 * replace.el (replace-string, replace-regexp):
1344 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1345 (delete-forward-char, goto-line, insert-buffer, next-line)
1346 (previous-line): Set interactive-only via declare.
1347
1197f2e6
DG
13482014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1349
1350 * emacs-lisp/package.el (package-desc): Use the contents of the
1351 quoted form, not its cdr. (Bug#16873)
1352
aac06179
JB
13532014-03-22 Juanma Barranquero <lekktu@gmail.com>
1354
1355 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1356 benefit of doc.c; change parameter profile to match the X function.
1357
3e7bc044
LL
13582014-03-22 Leo Liu <sdl.web@gmail.com>
1359
1360 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1361 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1362
59271b3e
RS
13632014-03-21 Richard Stallman <rms@gnu.org>
1364
8266cd88
RS
1365 * battery.el (battery-linux-sysfs): Search for each field
1366 from the beginning of the buffer.
1367
16ec0742
RS
1368 * subr.el (set-transient-map): Clear out function and value
1369 of the temporary symbol when we're done with it.
1370
59271b3e
RS
1371 * mail/rmailsum.el (rmail-summary-delete-forward):
1372 Optimize case of reaching end and handling count.
1373 (rmail-summary-mark-deleted): Optimize when N is current msg.
1374 Don't create new summary line.
1375 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1376 (rmail-summary-undelete-many): Rewrite for speed.
1377 (rmail-summary-msg-number): New function.
1378
1379 * mail/rmail.el (rmail-delete-message): Update summary.
1380 (rmail-undelete-previous-message): Handle repeat count arg.
1381 (rmail-delete-backward, rmail-delete-forward): Likewise.
1382
0d8ac93e
DC
13832014-03-21 Daniel Colascione <dancol@dancol.org>
1384
1385 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1386 information in bug reports.
1387
1e92a8a3
MA
13882014-03-21 Michael Albinus <michael.albinus@gmx.de>
1389
1390 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1391 and `tramp-copy-env'.
1392
1393 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1394 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1395
78540c42
GM
13962014-03-21 Glenn Morris <rgm@gnu.org>
1397
1398 * electric.el (electric-indent-post-self-insert-function): Add doc.
1399
1fc8f655
DG
14002014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1401
dcf78667
DG
1402 * emacs-lisp/package.el (package-compute-transaction):
1403 Use `version-list-<=' to compare the requirement version against
1404 the version of package already to be installed. Update the error
1405 message. (Bug#16826)
1406
1fc8f655
DG
1407 * progmodes/ruby-mode.el (ruby-smie-rules):
1408 Add indentation rule for ` @ '. (Bug#17050)
1409
dada060d
JB
14102014-03-21 Juanma Barranquero <lekktu@gmail.com>
1411
1412 * align.el (align-regexp): Remove superfluous backslash.
1413
1414 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1415 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1416 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1417 Fix docstring typos.
1418 (ffap-next): Use C-u in docstring.
1419 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1420 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1421 Remove superfluous backslashes.
1422 (ffap-string-at-point): Reflow docstring.
1423
1424 * server.el (server-host): Reflow docstring.
1425 (server-unload-function): Fix docstring typo.
1426 (server-eval-at): Remove superfluous backslash.
1427
1428 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1429 (skeleton-insert): Doc fix.
1430 (skeleton-insert): Reflow docstring.
1431
1432 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1433 (tty-color-approximate, tty-color-by-index, tty-color-values)
1434 (tty-color-desc): Remove superfluous backslashes.
1435
f428101f
GM
14362014-03-21 Glenn Morris <rgm@gnu.org>
1437
26e91130
GM
1438 * cus-start.el (history-length): Bump :version.
1439
aa3a7b51
GM
1440 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1441 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1442 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1443 Don't set `make-backup-files'.
1444
f428101f
GM
1445 * info.el (info--prettify-description): New function,
1446 to give info-finder descriptions consistent case, punctuation.
1447 (Info-finder-find-node): Use it. Sort packages.
1448 Refer to "description" rather than "commentary".
1449
6ce1b56e
JB
14502014-03-21 Juanma Barranquero <lekktu@gmail.com>
1451
1452 * frameset.el (frameset--print-register): New function.
1453 (frameset-to-register): Use it.
1454
b730af26
JB
14552014-03-20 Juanma Barranquero <lekktu@gmail.com>
1456
45393801
JB
1457 * progmodes/hideif.el (hif-string-to-number): New function.
1458 (hif-tokenize): Use it to understand non-decimal floats.
1459
814e26fa
JB
1460 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1461
b730af26
JB
1462 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1463
6f287c89
GM
14642014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * electric.el (electric-newline-and-maybe-indent): New command.
1467 Bind it globally to C-j.
1468 (electric-indent-mode): Don't mess with the global map any more.
1469 Don't drop the post-self-insert-hook is some buffer is still using it
1470 (bug#16770).
1471
1472 * bindings.el (global-map): Remove C-j binding.
1473
1474 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1475 the docstring of functions advised before dumping (bug#16993).
1476
f15ec1ba 14772014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
1478
1479 * ps-print.el (ps-generate-postscript-with-faces):
1480 Explicitly deactivate the mark (bug#16866).
1481 * simple.el (deactivate-mark): Update region highlight.
1482
f88bdc45
JB
14832014-03-19 Juanma Barranquero <lekktu@gmail.com>
1484
1485 * emacs-lisp/package.el (describe-package-1):
1486 Decode commentary (bug#16733).
1487
6b88e570
JB
14882014-03-18 Juanma Barranquero <lekktu@gmail.com>
1489
1490 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1491 modification of the value argument of :set (bug#16755).
1492
ac9b4703
SM
14932014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1494
1495 * simple.el (newline-and-indent): Do autofill (bug#17031).
1496
2b7858ec
DG
14972014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1498
1499 * newcomment.el (comment-normalize-vars): Only add escaping check
1500 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1501 (comment-beginning): Use `narrow-to-region' instead of moving back
1502 one character.
1503 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1504 (comment-start-skip): Update the docstring.
1505
11eff3ae
RS
15062014-03-18 Richard Stallman <rms@gnu.org>
1507
1508 * dired.el (dired-display-file): Force use of other window.
1509
07f44fdb
JB
15102014-03-18 Daniel Colascione <dancol@dancol.org>
1511
1512 * startup.el (tty-handle-args): Remove debug message from 2007.
1513
15142014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
1515
1516 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1517 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1518 (advice--make-1, advice-add, advice-remove):
1519 Remove braindead :advice-pending hack.
1520
61debe4a
GM
15212014-03-17 Glenn Morris <rgm@gnu.org>
1522
1523 * calendar/calendar.el (calendar-generate-month): Apply weekend
1524 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1525
8273986b
MA
15262014-03-17 Michael Albinus <michael.albinus@gmx.de>
1527
1528 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1529 (tramp-call-process): Trace also DESTINATION.
1530
1531 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1532 Quote file names when they are local. Remove superfluous trace.
1533
4f8aeb84
DG
15342014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1535
218feefc
DG
1536 * newcomment.el (comment-beginning): If `comment-start-skip'
1537 doesn't match, move back one char and try again. (Bug#16971)
1538
6c187ef5
SM
1539 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1540 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
1541 Set `comment-start-skip' to a simpler value that doesn't try to
1542 check if the semicolon is escaped (this is handled by
1543 `syntax-ppss' now). (Bug#16971)
1544
1545 * progmodes/scheme.el (scheme-mode-variables): Same.
1546
b92631bf
MR
15472014-03-16 Martin Rudalics <rudalics@gmx.at>
1548
1549 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1550 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1551 current (Bug#16816, Bug#17007).
1552 (with-current-buffer-window): New macro doing the same as
1553 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1554 * help.el (help-print-return-message): Warn in doc-string to not
1555 use this in `with-help-window'.
1556 (describe-bindings-internal): Call `describe-buffer-bindings'
1557 from within help buffer. See Juanma's scenario in (Bug#16816).
1558 (with-help-window): Update doc-string.
1559 * dired.el (dired-mark-pop-up):
1560 * files.el (save-buffers-kill-emacs):
1561 * register.el (register-preview): Use `with-current-buffer-window'
1562 instead of `with-temp-buffer-window'.
1563
57348c4d
JB
15642014-03-16 Juanma Barranquero <lekktu@gmail.com>
1565
1566 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1567 Implement inserting into current buffer, documented in their docstrings.
1568 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1569 (rst-section-tree-point, rst-forward-section, rst-indent)
1570 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1571 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1572 (rst-font-lock-handle-adornment-pre-match-form)
1573 (rst-repeat-last-character): Reflow docstrings.
1574 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1575 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1576 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1577 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1578 Fix docstring typos.
1579 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1580 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1581 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1582
fd16b061
JB
15832014-03-15 Juanma Barranquero <lekktu@gmail.com>
1584
a2403e3d
JB
1585 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1586 for compatibility with other ports.
1587 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1588 from the -xrm command line argument, but in the Nextstep port its value
1589 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1590
fd16b061
JB
1591 * progmodes/python.el (defconst, python-syntax-count-quotes)
1592 (python-indent-region, python-indent-shift-right)
1593 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1594 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1595 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1596 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1597 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1598 (python-shell-buffer-substring, python-shell-send-buffer)
1599 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1600 (python-completion-complete-at-point, python-fill-docstring-style)
1601 (python-eldoc-function, python-imenu-format-item-label)
1602 (python-imenu-format-parent-item-label)
1603 (python-imenu-format-parent-item-jump-label)
1604 (python-imenu--build-tree, python-imenu-create-index)
1605 (python-imenu-create-flat-index): Fix docstring typos.
1606 (python-indent-context, python-shell-prompt-regexp, run-python):
1607 Remove superfluous backslashes.
1608 (python-indent-line, python-nav-beginning-of-defun)
1609 (python-shell-get-buffer, python-shell-get-process)
1610 (python-info-current-defun, python-info-current-line-comment-p)
1611 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1612 (python-indent-post-self-insert-function, python-shell-send-file)
1613 (python-shell-completion-get-completions)
1614 (python-shell-completion-complete-or-indent)
1615 (python-eldoc--get-doc-at-point): Reflow docstrings.
1616
e94807f0
GM
16172014-03-14 Glenn Morris <rgm@gnu.org>
1618
88103345
GM
1619 * emacs-lisp/package.el (package-menu-mode-map):
1620 Replace use of obsolete function alias. Tweak menu item text.
1621
f2dd4ba8
GM
1622 * info.el (Info-finder-find-node):
1623 Ignore the `emacs' metapackage. (Bug#10813)
1624
ac0f82ef
GM
1625 * finder.el (finder-list-matches): Include unversioned packages
1626 in the result of a keyword search.
1627
e94807f0
GM
1628 * finder.el (finder--builtins-descriptions): New constant.
1629 (finder-compile-keywords): Use finder--builtins-descriptions.
1630
50d434d1
DG
16312014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1632
1633 * simple.el (blink-matching-paren): Describe the new value,
1634 `jump', enabling the old behavior.
1635 (blink-matching-open): Use that value. (Bug#17008)
1636
56759cf1
GM
16372014-03-14 Glenn Morris <rgm@gnu.org>
1638
459d74ef
GM
1639 * finder.el (finder-no-scan-regexp): Add leim-list.
1640 (finder-compile-keywords):
1641 Don't skip files with same basename. (Bug#14010)
1642 * Makefile.in (setwins_finder): New, excluding leim.
1643 (finder-data): Use setwins_finder.
1644
56759cf1
GM
1645 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1646 (help-function-arglist, help-make-usage): Move from here...
1647 * help.el (help-split-fundoc, help-add-fundoc-usage)
1648 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1649 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1650
7644aa97
JB
16512014-03-14 Juanma Barranquero <lekktu@gmail.com>
1652
1653 * net/socks.el (socks, socks-override-functions)
fd16b061 1654 (socks-find-services-entry):
7644aa97
JB
1655 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1656 (hif-find-ifdef-block):
1657 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1658
1659 * net/tls.el (tls-program): Reflow docstring.
1660
1661 * progmodes/pascal.el (pascal-mode-abbrev-table)
1662 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1663 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1664 (pascal-outline-mode): Fix docstring typos.
1665 (pascal-mode): Let define-derived-mode document mode hook.
1666 (pascal-uncomment-area): Reflow.
1667 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1668
1669 * progmodes/opascal.el (opascal-compound-block-indent)
1670 (opascal-case-label-indent): Fix docstring typos.
1671 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1672
1f44df94
DG
16732014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1674
07f44fdb
JB
1675 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1676 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 1677
0d71dfb3
TW
16782014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1679
1680 * emacs-lisp/package.el (package--prepare-dependencies):
1681 Accept requirements without explicit version (bug#14941).
1682
d27a1a7b
JB
16832014-03-12 Juanma Barranquero <lekktu@gmail.com>
1684
a5765a3d
JB
1685 * register.el (register-separator, copy-to-register): Doc fixes.
1686 (register-preview-default): Remove unnecessary call to concat.
1687
d27a1a7b
JB
1688 * frameset.el (frameset-restore): When checking for a visible frame,
1689 use the action map instead of calling visible-frame-list.
1690
08dfa0b7
JB
16912014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1692
1693 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1694
8960529e
MR
16952014-03-12 Martin Rudalics <rudalics@gmx.at>
1696
1697 * window.el (fit-frame-to-buffer): Get maximum width from
1698 display's width instead of height.
1699
8a51e8e4
GM
17002014-03-12 Glenn Morris <rgm@gnu.org>
1701
46456005
GM
1702 * desktop.el (desktop-restore-frames)
1703 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1704 (desktop-restore-reuses-frames): Doc tweaks.
1705
8a51e8e4
GM
1706 * electric.el (electric-indent-mode): Doc fix.
1707
5983b317
JB
17082014-03-12 Juanma Barranquero <lekktu@gmail.com>
1709
1710 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1711 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1712 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1713 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1714 (cvs-dired-use-hook): Fix docstring typos.
1715 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1716 Doc fixes.
1717
1718 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1719 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1720 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1721 (cvs-execute-single-dir): Fix docstring typos.
1722
1723 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1724 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1725
1726 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1727
1728 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1729 Fix docstring typos.
1730
13c00cf0
JB
17312014-03-12 Juanma Barranquero <lekktu@gmail.com>
1732
1733 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1734 called from jump-to-register after unloading the frameset package.
1735
536a17e3
SM
17362014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1737
1738 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1739 (bug#16975). Deactivate the mark before setting it to nil.
1740 (activate-mark): Do nothing if region is already active.
1741
baf8d0ac
JB
17422014-03-11 Juanma Barranquero <lekktu@gmail.com>
1743
1744 * frameset.el (frameset--target-display): Remove definition; declare.
1745 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1746
1ea22560
SM
17472014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1750 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1751 when the advice is pending.
1752 (advice-remove): Remove this marker when not needed any more.
1753
4538c058
JB
17542014-03-11 Juanma Barranquero <lekktu@gmail.com>
1755
1756 * frameset.el: Separate options for reusing frames and cleaning up.
1757 (frameset--reuse-list): Remove definition; declare.
1758 (frameset--action-map): Declare.
1759 (frameset--find-frame-if): Doc fix.
1760 (frameset--restore-frame): Cache frame action.
1761 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1762 how to clean up the frame list after restoring. Remove cleaning
1763 options from REUSE-FRAMES. Change all keyword values to symbols.
1764 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1765
1766 * desktop.el (desktop-restore-forces-onscreen)
1767 (desktop-restore-reuses-frames): Use non-keyword values.
1768 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1769
ba1a5c78
GM
17702014-03-10 Glenn Morris <rgm@gnu.org>
1771
776aa432
GM
1772 * files.el (find-file): Doc fix: update info node name.
1773
ba1a5c78
GM
1774 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1775 Doc fix: remove references to deleted info nodes.
1776
183d706e
MA
17772014-03-10 Michael Albinus <michael.albinus@gmx.de>
1778
1779 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1780 Do not add `nil' to the environment, when there's no remote `locale'.
1781 (tramp-find-inline-encoding): Check, that the remote host has
1782 installed perl, before sending scripts.
1783
6f0f96e7
LL
17842014-03-10 Leo Liu <sdl.web@gmail.com>
1785
536a17e3
SM
1786 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1787 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 1788
ca70fe78
SM
17892014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1792 (bug#14430).
1793
eb67db41
JL
17942014-03-09 Juri Linkov <juri@jurta.org>
1795
1796 * ansi-color.el (ansi-color-names-vector): Copy default colors
1797 from `xterm-standard-colors' that look well on the default white
1798 background (and also on the black background) to avoid illegible
8cf07e5a 1799 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
1800 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1801
e7db5447
JB
18022014-03-08 Juanma Barranquero <lekktu@gmail.com>
1803
1804 * frameset.el (frameset-restore): When no frame is visible, do not
1805 generate a list of frames, just make visible the selected one.
1806
f0a4c8d7
DG
18072014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1808
1809 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1810 it only contains the repository root. (Bug#16897)
1811
e50772e3
MA
18122014-03-07 Michael Albinus <michael.albinus@gmx.de>
1813
1814 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1815 only when `remote-file-name-inhibit-cache' is nil.
1816 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1817
cac0a1d6
MR
18182014-03-06 Martin Rudalics <rudalics@gmx.at>
1819
1820 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1821 Fix doc-strings.
1822 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1823 fit-frame-to-buffer variable. Fix doc-string.
1824 (fit-window-to-buffer): Set ONLY argument in call of
1825 fit-frame-to-buffer. Fix doc-string.
1826
fa965cbf
MA
18272014-03-06 Michael Albinus <michael.albinus@gmx.de>
1828
1829 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1830 (tramp-action-password): Clear password cache if needed.
1831 (tramp-read-passwd): Do not clear password cache.
1832
1833 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1834 cache unless it is the first password request.
1835
c94e6ee4
GM
18362014-03-06 Glenn Morris <rgm@gnu.org>
1837
03bc753e
GM
1838 * simple.el (newline): Doc tweak.
1839
c94e6ee4
GM
1840 * emacs-lisp/shadow.el (load-path-shadows-find):
1841 Ignore dir-locals. (Bug#12357)
1842
bd2d43dc
GM
18432014-03-05 Glenn Morris <rgm@gnu.org>
1844
1845 * files.el (interpreter-mode-alist):
1846 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1847
9284000e
JB
18482014-03-05 Juanma Barranquero <lekktu@gmail.com>
1849
1850 * frameset.el (frameset--initial-params): Filter out null entries.
1851
e1a2cb1c
MR
18522014-03-05 Martin Rudalics <rudalics@gmx.at>
1853
27821a89
JB
1854 * window.el (window-min-height, window-min-width):
1855 Rewrite doc-strings.
e1a2cb1c
MR
1856 (window-body-size): Add PIXELWISE argument to make it consistent
1857 with its callees.
1858
6bf67038
JB
18592014-03-05 Juanma Barranquero <lekktu@gmail.com>
1860
1861 * finder.el (finder-mode-map, finder-mode-syntax-table):
1862 Revert part of 2014-02-28 change.
1863
90f04e4c
LI
18642014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1865
1866 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1867 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
1868 (eww-textarea-map): [tab] doesn't work on tty.
1869 Reported by Mario Lang.
6952100d
LI
1870
1871 * net/shr.el (shr-map): Ditto.
90f04e4c 1872
3106d59b
GM
18732014-03-04 Glenn Morris <rgm@gnu.org>
1874
1875 * minibuffer.el (completion-hilit-commonality):
1876 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1877
f604dfdc
JB
18782014-03-04 Juanma Barranquero <lekktu@gmail.com>
1879
1880 * hilit-chg.el (hilit-chg-unload-function): New function.
1881 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1882 (hilit-chg-map-changes): Prefer cardinal number to digit.
1883 (hilit-chg-display-changes): Reflow docstring.
1884 (highlight-changes-rotate-faces): Remove superfluous backslash.
1885
5dc65319
MA
18862014-03-04 Michael Albinus <michael.albinus@gmx.de>
1887
1888 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1889 `tramp-send-command-and-check'.
1890
4242d21d
JB
18912014-03-04 Juanma Barranquero <lekktu@gmail.com>
1892
b01fa838
JB
1893 * hexl.el (hexl-address-region, hexl-ascii-region)
1894 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1895 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1896 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1897 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1898 (hexl-mode): Doc fix.
1899 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1900 (hexl-mode-ruler): Fix typos in docstrings.
1901
4242d21d
JB
1902 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1903 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1904 Remove superfluous backslashes.
1905 (strokes-last-stroke, strokes-global-map, strokes-mode):
1906 Reflow docstrings.
1907 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1908 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1909 (strokes-distance-squared, strokes-global-set-stroke)
1910 (strokes-global-set-stroke-string): Doc fixes.
1911 (strokes-help): Fix typos; reflow docstring.
1912
87132570
MR
19132014-03-04 Martin Rudalics <rudalics@gmx.at>
1914
1915 * window.el (window-in-direction): Fix doc-string.
1916
d82e752c
GM
19172014-03-04 Glenn Morris <rgm@gnu.org>
1918
1919 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1920 Explicit error if no grammar.
1921 (smie-config-save): Doc fix. Fix quote typo.
1922
62528af0
SM
19232014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1924
8d4901dc
SM
1925 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1926 electric-indent-mode-hook if we obey electric-indent-mode.
1927 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1928 decide whether we obey electric-indent-mode.
1929 (c-change-set-fl-decl-start, c-extend-after-change-region):
1930 Silence warnings.
1931 (c-electric-indent-mode-hook): Assume we do want to obey
1932 electric-indent-mode.
1933
1934 * electric.el (electric-indent-mode-has-been-called): Remove.
1935 (electric-indent-mode): Fix accordingly.
1936
092c12b2
SM
1937 * files.el (hack-local-variables): Mention file name in warning.
1938
62528af0
SM
1939 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1940
5b87d0d9
MN
19412014-03-04 Michal Nazarewicz <mina86@mina86.com>
1942
20f39add 1943 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
1944 * simple.el (delete-forward-char): Mark as interactive-only.
1945
542a3840
JB
19462014-03-03 Juanma Barranquero <lekktu@gmail.com>
1947
f2d2402e
GM
1948 * icomplete.el (icomplete-completions):
1949 Follow-up to 2014-03-01 change.
d11320e5
JB
1950
1951 * icomplete.el: Miscellaneous doc fixes.
1952 Use Icomplete everywhere instead of icomplete for consistency.
1953 (icomplete-max-delay-chars): Fix typo.
1954 (icomplete-mode): Use \[].
1955 (icomplete-tidy, icomplete-exhibit): Reflow.
1956 (icomplete-minibuffer-setup-hook, icomplete-completions):
1957 Remove superfluous backlashes.
1958
1959 * ido.el: Miscellaneous doc fixes.
1960 Use Ido everywhere instead of ido or `ido' for consistency.
1961 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1962 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1963 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1964 (ido-separator): Extract obsolescence info from docstring and declare
1965 with make-obsolete-variable.
1966 (ido-minibuffer-setup-hook): Simplify example.
1967 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1968 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1969 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1970 (ido-everywhere): Reflow docstring.
1971 (ido-toggle-vc): Doc fix.
1972 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1973 of long list of keybindings.
1974
7ebd57e9
GM
19752014-03-03 Glenn Morris <rgm@gnu.org>
1976
1977 * frame.el (display-pixel-height, display-pixel-width)
1978 (display-mm-dimensions-alist, display-mm-height)
1979 (display-mm-width): Doc tweaks.
1980
35e951cd 19812014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
1982
1983 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1984 case of undo in region.
1985
b923819c
MR
19862014-03-02 Martin Rudalics <rudalics@gmx.at>
1987
1988 * window.el (fit-window-to-buffer): Fix argument in window-size
1989 call when window is horizontally combined.
1990
b6e443c5
JB
19912014-03-02 Juanma Barranquero <lekktu@gmail.com>
1992
1993 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 1994 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 1995
1850913d
DG
19962014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1997
35e951cd
JB
1998 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1999 Highlight regexp options. (Bug#16914)
1850913d 2000
04b577b6
MR
20012014-03-01 Martin Rudalics <rudalics@gmx.at>
2002
2003 * window.el (window--max-delta-1): Round down when calculating
2004 how many lines/columns we can get from a window.
2005
b829360f
GM
20062014-03-01 Glenn Morris <rgm@gnu.org>
2007
2501c912
GM
2008 * isearch.el (search-invisible): Doc fix.
2009
b829360f
GM
2010 * minibuffer.el (completion-hilit-commonality):
2011 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2012 * comint.el (comint-dynamic-list-completions): Doc fix.
2013 * comint.el (comint-dynamic-list-completions):
2014 * filecache.el (file-cache-minibuffer-complete):
2015 * tempo.el (tempo-display-completions):
2016 * eshell/em-hist.el (eshell-list-history):
2017 Replace use of obsolete argument of display-completion-list.
2018
9a155058
JB
20192014-03-01 Juanma Barranquero <lekktu@gmail.com>
2020
2021 * icomplete.el (icomplete-completions):
2022 Revert back to using "..." when ?… cannot be displayed.
2023
53f6cda8
JB
20242014-02-28 Juanma Barranquero <lekktu@gmail.com>
2025
2026 * finder.el (finder-unload-function): New function.
2027
43977c23
JB
20282014-02-28 Juanma Barranquero <lekktu@gmail.com>
2029
2030 * dframe.el (dframe-detach):
2031 * find-dired.el (find-dired, find-name-dired):
2032 * finder.el (finder-mode-map, finder-mode-syntax-table)
2033 (finder-headmark, finder-select, finder-mouse-select):
2034 Fix docstring typos.
2035
9dda75ad
MR
20362014-02-28 Martin Rudalics <rudalics@gmx.at>
2037
2038 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
2039 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2040 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2041 Fix doc-string based on a suggestion by Nicolas Richard
2042 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
2043 * help.el (with-help-window): Fix doc-string.
2044
8a73034e
IK
20452014-02-28 Ivan Kanis <ivan@kanis.fr>
2046
b70257b0
GM
2047 * net/shr.el (shr-image-animate): New option.
2048 (shr-put-image): Respect shr-image-animate.
8a73034e 2049
245aa73e
MA
20502014-02-28 Michael Albinus <michael.albinus@gmx.de>
2051
2052 * net/tramp-adb.el (tramp-adb-parse-device-names):
2053 Use `accept-process-output'.
2054 (tramp-adb-handle-file-truename): Cache the localname only.
2055 (tramp-adb-handle-make-directory)
2056 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2057 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2058 modes cannot be changed.
2059
2060 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2061 file properties of symlinks.
2062
48e15d64
PS
20632014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2064
2065 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2066 required/optional fields to match development biblatex. (Bug#16781)
2067
65b77347
AS
20682014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2069
2070 * saveplace.el (toggle-save-place):
2071 Fix argument handling. (Bug#16673)
2072
5e618aba
GM
20732014-02-28 Glenn Morris <rgm@gnu.org>
2074
2075 * minibuffer.el (completions-first-difference)
2076 (completions-common-part, completion-hilit-commonality): Doc fixes.
2077
6deb314e
KB
20782014-02-28 Karl Berry <karl@gnu.org>
2079
2080 * info.el (Info-mode-map): Add H for describe-mode,
2081 to synchronize with standalone Info.
2082
289996f5
EL
20832014-02-28 Emilio C. Lopes <eclig@gmx.net>
2084
2085 * progmodes/sql.el (sql-interactive-mode):
2086 Avoid setting global comint-input-ring-separator. (Bug#16814)
2087
79fc1191
MA
20882014-02-27 Michael Albinus <michael.albinus@gmx.de>
2089
2090 * net/dbus.el (dbus--init-bus): Declare function.
2091 (dbus-path-local, dbus-interface-local): New defconst.
2092 (dbus-init-bus): Use them.
2093 (dbus-return-values-table): Extend doc.
2094 (dbus-handle-bus-disconnect): Extend error message.
2095
298520df
JB
20962014-02-27 Juanma Barranquero <lekktu@gmail.com>
2097
2098 * subr.el (y-or-n-p): Fix double space issue in message.
2099
c22c1614
MA
21002014-02-27 Michael Albinus <michael.albinus@gmx.de>
2101
2102 * net/tramp.el (tramp-call-process): Improve trace message.
2103 (tramp-handle-insert-file-contents): Trace error case.
2104
2105 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2106 <insert-directory>: Use `tramp-handle-insert-directory'.
2107 (tramp-adb-handle-insert-directory): Remove function.
2108 (tramp-adb-send-command-and-check): New defun, replacing
2109 `tramp-adb-command-exit-status'. Change all callees.
2110 (tramp-adb-handle-file-attributes)
2111 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
2112 (tramp-adb-ls-output-name-less-p):
2113 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
2114 (tramp-adb-handle-delete-directory): Flush also file properties of
2115 the truename of directory.
2116 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2117 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2118 (tramp-adb-handle-write-region): Implement APPEND.
2119 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2120 properties correctly.
2121 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2122 variables. Check for connected devices only when needed.
2123
d9263618
GM
21242014-02-27 Glenn Morris <rgm@gnu.org>
2125
ea7826ba
GM
2126 * minibuffer.el (completion-table-dynamic)
2127 (completion-table-with-cache): Doc fixes.
2128
d9263618
GM
2129 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2130 (completing-read-multiple): Doc fixes.
2131
eff3168a
DC
21322014-02-27 Daniel Colascione <dancol@dancol.org>
2133
51f213c3
DC
2134 * minibuffer.el (completion--nth-completion): Fix indentation.
2135
eff3168a
DC
2136 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2137 explicit tramp path is empty.
2138
b77cfcd7
GM
21392014-02-27 Glenn Morris <rgm@gnu.org>
2140
2141 * emacs-lisp/crm.el (completing-read-multiple):
2142 Empower help-enable-auto-load.
2143
9577b569
GM
21442014-02-26 Glenn Morris <rgm@gnu.org>
2145
259887e8
GM
2146 * startup.el (command-line): Don't init the tty in daemon mode.
2147
1d491ef2
GM
2148 Avoid calling tty-setup-hook twice, eg if a term file
2149 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2150 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2151 (tty-create-frame-with-faces): Use it.
2152 * startup.el (command-line): Pass run-hook argument
2153 to tty-run-terminal-initialization.
2154
9577b569
GM
2155 * dired.el (dired-restore-desktop-buffer): Demote errors;
2156 eg in case a glob match fails. (Bug#16884)
2157
40ff7f86
DG
21582014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2159
b2388336
DG
2160 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2161 error from `read-from-string'. (Bug#16850)
2162
40ff7f86
DG
2163 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2164 result of `completing-read' in the interactive form. (Bug#16854)
2165
98bd6b32
GM
21662014-02-25 Glenn Morris <rgm@gnu.org>
2167
f086804c
GM
2168 * image.el (image-animate, image-animate-timeout):
2169 Stop animating images in dead buffers. (Bug#16878)
2170
c107155e
GM
2171 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2172
9577b569
GM
2173 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2174 Doc fixes.
98bd6b32
GM
2175 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2176 * term/sun.el (sun-raw-prefix-hooks):
2177 Use tty-setup-hook instead of term-setup-hook.
2178 (terminal-init-sun): Construct message from bytecomp plist.
2179 * term/wyse50.el (enable-arrow-keys): Doc fix.
2180
9c9e18e8
JB
21812014-02-24 Juanma Barranquero <lekktu@gmail.com>
2182
2183 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2184 Fix docstring typos.
2185
c848881f
MA
21862014-02-24 Michael Albinus <michael.albinus@gmx.de>
2187
2188 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2189
0e38ae05
NR
21902014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2191
2192 * minibuffer.el (completion--try-word-completion):
2193 Fix error when completing M-x commands (bug#16808).
2194
8ee4c296
LL
21952014-02-24 Leo Liu <sdl.web@gmail.com>
2196
2197 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2198
7d4bd627
JB
21992014-02-24 Juanma Barranquero <lekktu@gmail.com>
2200
2201 * apropos.el (apropos-print): Avoid formatting error when
2202 apropos-do-all and apropos-compact-layout are both t.
2203
e918e27f
JB
22042014-02-23 Juanma Barranquero <lekktu@gmail.com>
2205
2206 * apropos.el (apropos-property, apropos-all-words-regexp)
2207 (apropos-true-hit, apropos-variable, apropos-print):
2208 Fix docstring typos, and remove obsolete comment.
2209
85c01f80
MA
22102014-02-23 Michael Albinus <michael.albinus@gmx.de>
2211
2212 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2213 Preserve trailing "/". (Bug#16851)
2214
62f95022
DG
22152014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2216
2217 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2218 after `=>' (bug#16811).
dfdb365c
DG
2219 (ruby-smie-rules): Handle the inconsistent second element of the
2220 list returned by `smie-indent--parent'.
2221 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2222 method call.
62f95022 2223
025f2c81
JB
22242014-02-23 Juanma Barranquero <lekktu@gmail.com>
2225
2226 * elec-pair.el (electric-pair-text-syntax-table)
2227 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2228 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2229 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2230 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2231
123c84f9
GM
22322014-02-22 Glenn Morris <rgm@gnu.org>
2233
612c3e46
GM
2234 * imenu.el (imenu--generic-function): Doc fix.
2235
123c84f9
GM
2236 * register.el (frame-configuration-to-register): Make obsolete.
2237
e59fa9ad
JB
22382014-02-22 Juanma Barranquero <lekktu@gmail.com>
2239
2240 * desktop.el (desktop-save-buffer-p): Do not fail when
2241 desktop-files-not-to-save is nil. Return t for true result
2242 as the doc says.
2243
4e652634
DC
22442014-02-22 Daniel Colascione <dancol@dancol.org>
2245
27821a89 2246 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
2247 Check that attribute values are strings, avoiding the construction
2248 of invalid dbus messages.
4e652634 2249
f35affb6
JB
22502014-02-21 Juanma Barranquero <lekktu@gmail.com>
2251
2252 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2253 defun-declarations-alist.
2254
3d136b1b
SM
22552014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2256
2257 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2258 (bug#16829).
2259
612ddfc0
JB
22602014-02-21 Juanma Barranquero <lekktu@gmail.com>
2261
2262 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2263 (whitespace-newline, whitespace-trailing, whitespace-line)
2264 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2265 (whitespace-space-after-tab): Fix typo in docstrings.
2266
c8481b1b
DG
22672014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2268
cb8f50a7
DG
2269 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2270
c8481b1b
DG
2271 * electric.el (electric-indent-functions-without-reindent):
2272 Add `yaml-indent-line'.
2273
bed5126f
JB
22742014-02-21 Juanma Barranquero <lekktu@gmail.com>
2275
34b71457
JB
2276 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2277 It has done nothing for years; should be removed after the release.
2278
bed5126f
JB
2279 * simple.el (choose-completion): Fix docstring typo.
2280 (read-quoted-char-radix): Remove unneeded * in docstring.
2281 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2282 Don't escape parentheses unnecessarily in docstrings.
2283
8dd3e94f
MR
22842014-02-21 Martin Rudalics <rudalics@gmx.at>
2285
2286 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
2287 * window.el (window--dump-window, window--dump-frame):
2288 New functions.
2289 (window--min-size-1): Account for window dividers.
2290 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
2291 sum of the window components has been calculated.
2292 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2293 nil make sure at least one text line and two text columns remain
2294 fully visible.
2295 (window-resize): Signal an error when window-resize-apply fails.
2296 (window--resize-child-windows): Fix calculation of by how many
2297 pixels a window can still be shrunk via window-new-normal.
2298 (adjust-window-trailing-edge): Call window--resizable with
2299 correct TRAIL argument.
2300
2ed94e04
MR
2301 (with-temp-buffer-window): Don't evaluate BODY within
2302 with-current-buffer (Bug#16816).
2303
0e5324c4
MA
23042014-02-21 Michael Albinus <michael.albinus@gmx.de>
2305
2306 * net/tramp.el (tramp-check-cached-permissions):
2307 Call `file-attributes' with `suffix' being a symbol but a string.
2308
48198420
DC
23092014-02-21 Daniel Colascione <dancol@dancol.org>
2310
2311 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2312 (dbus-init-bus): New function: call into dbus-init-bus-1
2313 and installs a handler for the disconnect signal.
2314 (dbus-call-method): Rewrite to look for result in cons.
2315 (dbus-call-method-handler): Store result in cons.
2316 (dbus-check-event): Recognize events with nil sender as valid.
2317 (dbus-handle-bus-disconnect): New function. React to bus
2318 disconnection signal by synthesizing dbus error for each
2319 pending synchronous or asynchronous call.
2320 (dbus-notice-synchronous-call-errors): New function.
2321 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2322 is true, not all the time.
2323
99e15133
JB
23242014-02-21 Juanma Barranquero <lekktu@gmail.com>
2325
e48983a6
JB
2326 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2327 Remove obsolescence declarations, these variables do not exist anymore.
2328
fdcfd745
JB
2329 * savehist.el (savehist-save-minibuffer-history)
2330 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2331 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2332 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2333 mostly, refer to "Savehist mode" when talking about the mode,
2334 and not the function.
2335
99e15133
JB
2336 * saveplace.el (save-place): Remove redundant info in docstring.
2337 (save-place-forget-unreadable-files, toggle-save-place)
2338 (save-place-forget-unreadable-files, save-place-dired-hook):
2339 Fix typos and remove unneeded backslashes.
2340
f5bee33b
MA
23412014-02-20 Michael Albinus <michael.albinus@gmx.de>
2342
2343 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2344 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2345
2346 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 2347 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
2348 (tramp-gvfs-handle-insert-directory): Remove function.
2349
2350 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2351 Call `tramp-handle-insert-directory'.
2352
ee0761ca
JB
23532014-02-20 Juanma Barranquero <lekktu@gmail.com>
2354
2355 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2356 before the start of buffer/region (bug#16799).
2357
4d49cc65
GM
23582014-02-20 Glenn Morris <rgm@gnu.org>
2359
2360 * isearch.el (search-invisible): Doc fix.
2361
eee0d650
TK
23622014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2363
2364 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2365 (bug#16657).
2366
94e5e202
JB
23672014-02-19 Juanma Barranquero <lekktu@gmail.com>
2368
2369 * frameset.el (frameset-restore): Delay removing an old frame's
2370 duplicate id until the new frame has been correctly created.
2371
50bfdd5d
MA
23722014-02-19 Michael Albinus <michael.albinus@gmx.de>
2373
2374 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2375 (tramp-check-cached-permissions): Call `file-attributes' if the
2376 cache is empty.
2377
2378 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 2379 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2380
2381 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 2382 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2383 (tramp-gvfs-maybe-open-connection): Set always connection
2384 properties, even if target is mounted already.
2385
2386 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2387 Set tramp-autoload cookie.
2388 (tramp-get-remote-touch): New defun.
2389 (tramp-sh-handle-set-file-times): Use it.
2390 (tramp-sh-handle-directory-files-and-attributes):
2391 Use `tramp-handle-directory-files-and-attributes' if neither stat
2392 nor perl are available on the remote host.
2393
2394 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2395 "/". Write long listing only when "l" belongs to the switches.
2396
2397 * net/trampver.el: Update release number.
2398
f097a3d2
JB
23992014-02-19 Juanma Barranquero <lekktu@gmail.com>
2400
2401 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2402
8e009b78
MR
24032014-02-19 Martin Rudalics <rudalics@gmx.at>
2404
2405 * window.el (window-state-put): Allow WINDOW to refer to an
2406 internal window (Bug#16793).
2407
95160c90
GM
24082014-02-19 Glenn Morris <rgm@gnu.org>
2409
2410 * textmodes/remember.el: Move provide statement to end.
2411 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2412 (remember-notes): Doc fixes.
2413
b28df58c
SM
24142014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2415
2416 * delsel.el (delete-char): Restore incorrectly erased property
2417 (bug#16795).
2418
7108e1c0
JB
24192014-02-18 Juanma Barranquero <lekktu@gmail.com>
2420
2421 * frameset.el (frameset--restore-frame): When a frame is being reused
2422 and its root window is not alive, delete all the frame's windows before
2423 restoring the window state. This works around the issue in bug#16793.
2424
c863b6ad
GM
24252014-02-18 Glenn Morris <rgm@gnu.org>
2426
a73fae1f
GM
2427 * textmodes/remember.el (remember-data-directory)
2428 (remember-directory-file-name-format, remember-store-in-files)
2429 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2430 (remember-notes-save-and-bury-buffer)
2431 (remember-notes--kill-buffer-query): Doc fixes.
2432
c863b6ad
GM
2433 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2434
29238d28
AM
24352014-02-17 Alan Mackenzie <acm@muc.de>
2436
2437 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 2438 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 2439 to electric-indent-{,local-}-mode.
b28df58c
SM
2440 (c-basic-common-init): Set electric-indent-inhibit.
2441 Initialise c-electric-flag from electric-indent-mode.
29238d28 2442 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 2443 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
2444
2445 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 2446 hit, toggle electric-indent-local-mode.
29238d28 2447
b28df58c
SM
2448 * electric.el (electric-indent-mode-has-been-called):
2449 New variable.
29238d28 2450
c6463340
JB
24512014-02-17 Juanma Barranquero <lekktu@gmail.com>
2452
2453 * frameset.el (frameset-cfg-id): New function.
2454 (frameset--reuse-frame, frameset-restore): Use it.
2455 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2456
94912b88
SM
24572014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2458
2459 * ido.el (ido-file-internal): Remove unused var `d'.
2460 Use \` for to match BoS. Fit within 80n columns.
2461
26ea164c
DC
24622014-02-17 Daniel Colascione <dancol@dancol.org>
2463
2464 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2465 dbus-call-method check for completion using a busy-wait loop with
2466 gradual backoff.
2467
589d1988 24682014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
2469
2470 Sync with Tramp 2.2.9.
2471
2472 * net/trampver.el: Update release number.
2473
17d1b51b
DG
24742014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2475
2476 * ido.el (ido-file-internal): Don't add the name of an existing
2477 directory twice. (Bug#16747)
2478
5bcad689
GM
24792014-02-16 Glenn Morris <rgm@gnu.org>
2480
2481 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2482 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2483
24842014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
2485
2486 * progmodes/sql.el: Version 3.4
2487 (sql-oracle-options): New default value ("-L").
94912b88 2488 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 2489 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 2490 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
2491 (sql-login-delay): New variable.
2492 (sql-product-interactive): Use it.
2493
285f1858
JB
24942014-02-15 Juanma Barranquero <lekktu@gmail.com>
2495
2496 * frameset.el (frameset--jump-to-register): Check that buffer is live
2497 (bug#16749).
2498
5d645ea4
GM
24992014-02-15 Glenn Morris <rgm@gnu.org>
2500
2501 * info.el (info-initialize): Revert 2014-01-10 change.
2502
48c4f9b1
GM
25032014-02-14 Glenn Morris <rgm@gnu.org>
2504
b8630261
GM
2505 * replace.el (map-query-replace-regexp)
2506 (read-regexp-defaults-function, read-regexp): Doc fixes.
2507
b2bf2a25
GM
2508 * dired.el (dired-read-regexp):
2509 * faces.el (list-faces-display):
2510 * misearch.el (multi-isearch-read-matching-buffers)
2511 (multi-isearch-read-matching-files):
2512 * play/cookie1.el (cookie-apropos):
2513 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2514
48c4f9b1
GM
2515 * textmodes/remember.el (remember): Use frameset-to-register
2516 rather than frame-configuration-to-register.
2517
2804e0bd
JB
25182014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2519
2520 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2521 incorrect keybinding.
2522
0b87142f
DC
25232014-02-13 Daniel Colascione <dancol@dancol.org>
2524
2525 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2526 when adding overlays so that line numbers from compiler match line
2527 numbers we use.
2528
47a73eb0
GM
25292014-02-13 Glenn Morris <rgm@gnu.org>
2530
8abcfd51
GM
2531 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2532
47a73eb0
GM
2533 * jit-lock.el (jit-lock-mode): Doc fix.
2534
c9b6b262
JB
25352014-02-13 Juanma Barranquero <lekktu@gmail.com>
2536
2537 * apropos.el (apropos-read-pattern): When the user passes an empty
2538 string, give a more helpful error message than "Wrong type
2539 argument: stringp, nil".
2540
eb4c6947
SM
25412014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2542
2543 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2544
0dab5068
GM
25452014-02-13 Glenn Morris <rgm@gnu.org>
2546
2547 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2548
59075dcf
SM
25492014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2552 shift-select commands.
2553
5af9fbad
DG
25542014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2555
2556 * progmodes/js.el (js-indent-line): Don't widen.
2557 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2558
a215930c
GM
25592014-02-12 Glenn Morris <rgm@gnu.org>
2560
a8cb4247
GM
2561 * icomplete.el (icomplete): Add info-link to defgroup.
2562 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2563 (icomplete-minibuffer-map, icomplete-mode)
2564 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2565
a215930c
GM
2566 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2567 (package-menu-filter): Rename from package-menu-filter-interactive.
2568 Doc fix.
2569
26c5ecd9
JB
25702014-02-11 Juanma Barranquero <lekktu@gmail.com>
2571
2572 * frameset.el (frameset--jump-to-register): Select the required
2573 window and buffer before restoring position (bug#16696).
2574
fcd58a02
LI
25752014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2576
2577 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2578
bacb3380
GM
25792014-02-10 Glenn Morris <rgm@gnu.org>
2580
2581 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2582
881329dc
EZ
25832014-02-10 Eli Zaretskii <eliz@gnu.org>
2584
02328db9
EZ
2585 * w32-common-fns.el (x-get-selection): Doc fix.
2586 * select.el (x-get-selection): Doc fix. (Bug#15109)
2587
881329dc
EZ
2588 * face-remap.el (face-remap-add-relative)
2589 (face-remap-remove-relative, face-remap-reset-base)
2590 (face-remap-set-base): Call force-mode-line-update to redisplay
2591 the current buffer due to potential change in faces. (Bug#16709)
2592
c7db4c06
MA
25932014-02-10 Michael Albinus <michael.albinus@gmx.de>
2594
2595 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2596 script more robustly.
2597
6abe4589
LI
25982014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2599
7602b5c3
LI
2600 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2601
e3692ee0
LI
2602 * simple.el (choose-completion): Doc fix (bug#14160).
2603
41015524
LI
2604 * subr.el (event-start): Say what a nil EVENT value means.
2605
87c79dcb
LI
2606 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2607 (bug#14197).
2608
3ab49e2c
LI
2609 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2610
f3c60241
LI
2611 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2612
3bd1d8a8
LI
2613 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2614
6abe4589
LI
2615 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2616 predicate function (bug#15455).
2617
a11463de
DG
26182014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2619
2620 * ielm.el (inferior-emacs-lisp-mode): Instead of
2621 `comment-use-global-state', set `comment-use-syntax'.
2622
2ab0ad85
GM
26232014-02-10 Glenn Morris <rgm@gnu.org>
2624
2625 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2626
411141fb
AM
26272014-02-09 Alan Mackenzie <acm@muc.de>
2628
2629 Fix c-invalidate-state-cache on narrowed buffers.
2630 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2631 Widen when setting and clearing the CPP delimiter properties.
2632
d6d5fdf8
LI
26332014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2634
92c70367
LI
2635 * help.el (describe-bindings): Doc fix (bug#9888).
2636
468ef484
LI
2637 * files.el (save-buffer): Use ARG as the parameter name for
2638 consistency (bug#10346).
7e34193f 2639 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 2640
fc2b1ffa 2641 * cus-edit.el (customize-apropos): Fix error string.
382fd368 2642 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 2643 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 2644
790aceec
LI
2645 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2646
a54a7552 2647 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 2648 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 2649
dd163123
LI
2650 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2651 meaning of the parameter (bug#12282).
2652
9e108fe6
LI
2653 * files.el (find-file-noselect): Clarify prompt when changing
2654 readedness (bug#13261).
5a836f58
LI
2655 (locate-file): Suffixes aren't returned, so don't say that they
2656 are (bug#12674).
2356b316 2657 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 2658
20dda930
LI
2659 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2660 before we actually start to delete things (bug#16331).
2661
d6d5fdf8
LI
2662 * subr.el (event-start): Doc fix (bug#14228).
2663 (event-end): Ditto.
2664
2abd71e5
GM
26652014-02-09 Glenn Morris <rgm@gnu.org>
2666
2667 * emacs-lisp/warnings.el (lwarn):
2668 Empower help-enable-auto-load. (Bug#15940)
2669
c1b5900b
AS
26702014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2671
2672 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2673 (Bug#16690)
2674
429b93bd
MA
26752014-02-08 Michael Albinus <michael.albinus@gmx.de>
2676
2677 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2678 Insert output at end of buffer. (Bug#16120)
2679
b772a699
LI
26802014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2681
18c6aa8c
LI
2682 * simple.el (choose-completion-string-functions): Document new
2683 calling convention (bug#14153).
54dd147a 2684 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 2685
dce8463b
LI
2686 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2687
b772a699 2688 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 2689 (find-grep-dired): Doc fix (bug#14288).
b772a699 2690
2423c8d5
JL
26912014-02-08 Juri Linkov <juri@jurta.org>
2692
2693 * isearch.el (isearch-quote-char): Check character validity
2694 like in `quoted-insert' (bug#16677).
2695
518f26c2
LI
26962014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2697
893cc908
LI
2698 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2699
9165ffc0
LI
2700 * isearch.el (isearch-hide-immediately): Doc clarification
2701 (bug#14723).
2702
6ef4f3ce
LI
2703 * simple.el (line-move): Document utility function used many
2704 places in the Emacs sources (bug#14843).
2705
be58a238 2706 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 2707 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 2708 (dired-up-directory): Doc fix (bug#14848).
be58a238 2709
dd7aafbb
LI
2710 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2711
15cb9968
LI
2712 * files.el (file-relative-name): Doc fix (bug#15159).
2713
9788effd
LI
2714 * fringe.el (fringe-styles): Doc fix (bug#15239).
2715
c96411bd
LI
2716 * isearch.el (isearch-filter-predicate): Documentation typo fix
2717 (bug#15474).
2718
ea838c36
LI
2719 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2720
0d8a4ae7
LI
2721 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2722
f7a17bb3
LI
2723 * replace.el (replace-match-maybe-edit): Doc clarification
2724 (bug#15632).
2725
1bde5c3b
LI
2726 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2727
518f26c2
LI
2728 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2729
dd8e49fd
GM
27302014-02-08 Glenn Morris <rgm@gnu.org>
2731
2732 * help-fns.el (describe-variable):
2733 Check {file,dir}-local-variables-alist, and buffer-file-name,
2734 in the correct buffer.
2735
7e088b29
IL
27362014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2737
2738 * help-fns.el (describe-variable): Fix the case where
2739 a value is directory-local with no dir-locals file. (Bug#16635)
2740
41a4a82f
GM
27412014-02-08 Glenn Morris <rgm@gnu.org>
2742
2743 * abbrev.el (edit-abbrevs-mode):
2744 Derive from fundamental-mode. (Bug#16682)
2745
e255a703
JB
27462014-02-07 Juanma Barranquero <lekktu@gmail.com>
2747
2748 * simple.el (quoted-insert): Check character validity (bug#16677).
2749
c99cf5ee
JL
27502014-02-07 Juri Linkov <juri@jurta.org>
2751
2752 * desktop.el (desktop-read): Claim the lock when the owner is not
2753 the current process. (Bug#16157)
2754
7d7a68d8
JL
27552014-02-07 Juri Linkov <juri@jurta.org>
2756
2757 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2758 to "\\` ". (Bug#16651)
2759
2b777cd9
JL
27602014-02-07 Juri Linkov <juri@jurta.org>
2761
2762 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2763 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2764 (desktop-auto-save-cancel-timer): New function with some code from
2765 `desktop-auto-save-set-timer'.
2766 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2767 Instead of setting `desktop-save-mode' to nil, call
2768 `desktop-save-mode' with arg 0. (Bug#16630)
2769
60eabbb9
GM
27702014-02-07 Glenn Morris <rgm@gnu.org>
2771
99cf3859
GM
2772 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2773 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2774 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2775
2b568bc9
GM
2776 * obsolete/iswitchb.el: Move to obsolete/.
2777 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2778 since obsolete/ is not scanned for autoloads.
2779 * emacs-lisp/authors.el (authors-valid-file-names):
2780 Add iswitchb.el.
2781
60eabbb9
GM
2782 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2783 Disable now non-functional find-file-hook.
2784
629de968
MA
27852014-02-06 Michael Albinus <michael.albinus@gmx.de>
2786
2787 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2788 instead of ";" in order to avoid additional prompts. Let heredoc
2789 scripts read from tty. (Bug#16582)
2790 (tramp-send-command): No special handling of heredocs, it isn't
2791 necessary anymore.
2792
29127376
SM
27932014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2796 with a space (bug#16664). Limit the symbols considered to the ones
2797 that are bound or fbound (bug#16646).
2798
79b6e0a9
GM
27992014-02-06 Glenn Morris <rgm@gnu.org>
2800
2801 * epa.el (epa-mail-aliases): Doc fix.
2802
a333e4d2
DG
28032014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2804
29127376
SM
2805 * emacs-lisp/lisp.el (lisp-completion-at-point):
2806 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
2807 (bug#16604).
2808
2809 * minibuffer.el (completion-table-merge): New function.
2810
9a83b32b
MA
28112014-02-05 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2814 (tramp-sh-handle-set-file-acl)
2815 (tramp-sh-handle-start-file-process)
2816 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2817 (tramp-find-executable, tramp-send-command): Use it.
2818
451ea3e6
GM
28192014-02-05 Glenn Morris <rgm@gnu.org>
2820
9a83b32b 2821 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 2822
dd27d13b
FEG
28232014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2824
35e951cd 2825 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
2826 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2827
08e41897
AL
28282014-02-04 Anders Lindgren <andlind@gmail.com>
2829
2830 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2831 the names (bug#16620).
2832
764ec9e5
MR
28332014-02-03 Martin Rudalics <rudalics@gmx.at>
2834
08e41897
AL
2835 * faces.el (window-divider): New default value. Rewrite doc-string.
2836 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 2837
6da8227c
DG
28382014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2839
2840 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2841 `protected' and `public' can also be called without arguments.
2842
6a6b8e40
GM
28432014-02-03 Glenn Morris <rgm@gnu.org>
2844
7bcbca40
GM
2845 * register.el (window-configuration-to-register)
2846 (frame-configuration-to-register): Unadvertise unused argument.
2847 * frameset.el (frameset-to-register): Remove unused argument.
2848
719d965d 2849 * frameset.el (frameset-to-register):
6a6b8e40
GM
2850 * kmacro.el (kmacro-to-register):
2851 * register.el (increment-register):
2852 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2853 (calc-append-to-register, calc-prepend-to-register):
2854 * play/gametree.el (gametree-layout-to-register)
2855 (gametree-apply-register-layout):
2856 * textmodes/picture.el (picture-clear-rectangle-to-register)
2857 (picture-yank-rectangle-from-register):
2858 * vc/emerge.el (emerge-combine-versions-register):
2859 Use register-read-with-preview to read registers.
2860
5dca7759
JT
28612014-02-03 João Távora <joaotavora@gmail.com>
2862
2863 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2864 when at beginning of (possibly narrowed) buffer.
2865
709085b9
DC
28662014-02-02 Daniel Colascione <dancol@dancol.org>
2867
c295fc18 2868 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 2869 Also try to display local help from just before point.
709085b9 2870
99f7b0a6
AM
28712014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2872
2873 c-parse-state. Don't "append-lower-brace-pair" in certain
2874 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2875 recognised as a comment.
2876
2877 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2878 as well as normal comment starter.
2879 (c-parse-state-get-strategy): Extra return possibility
2880 'back-and-forward.
2881 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2882 return value list to indicate replacement of a brace-pair cons
2883 with its car.
2884 (c-parse-state-1): With 'back-and-forward, only call
2885 c-append-lower-brace-pair-to state-cache when cons-separated.
2886
f0a10576
JD
28872014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2888
2889 * term/ns-win.el (ns-suspend-error): New function.
2890 (ns-initialize-window-system): Add ns-suspend-error to
2891 suspend-hook (Bug#16612).
2892
b8d552c2
DC
28932014-02-02 Daniel Colascione <dancol@dancol.org>
2894
35e951cd
JB
2895 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2896 Make loading cc-mode silent.
b8d552c2 2897
f2b7d123
DC
28982014-02-02 Daniel Colascione <dancol@dancol.org>
2899
35e951cd
JB
2900 * comint.el (comint-prompt-read-only): Change doc to suggest
2901 remap keybinding.
f2b7d123 2902
4472a196
GM
29032014-02-02 Glenn Morris <rgm@gnu.org>
2904
2905 * register.el (register-read-with-preview, point-to-register)
2906 (window-configuration-to-register, frame-configuration-to-register)
2907 (jump-to-register, number-to-register, view-register, insert-register)
2908 (copy-to-register, append-to-register, prepend-to-register)
2909 (copy-rectangle-to-register): Doc fixes.
2910
70e5a261
SM
29112014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2913 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2914 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2915 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2916 * help-fns.el (describe-function-1): Use it.
2917
7c324762
GM
29182014-02-02 Glenn Morris <rgm@gnu.org>
2919
2920 * register.el (register-preview-default): New function,
2921 split from register-preview.
2922 (register-preview-function): Rename from register-preview-functions,
2923 make it not a hook.
2924 (register-preview): Use register-preview-function.
2925 (register-read-with-preview): Error on non-character event. (Bug#16595)
2926
a09beb3d
DG
29272014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2928
2929 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2930 `:' before binary operators (bug#16609). Don't check for `:'
2931 before `[' and `(', or their syntax status. A percent literal
2932 can't end with either.
68e004e0
DG
2933 (ruby-font-lock-keywords): For built-ins that require arguments,
2934 check that they're followed by something that looks like argument
2935 (bug#16610).
a09beb3d 2936
ed4d2875
LI
29372014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2938
2939 * subr.el (butlast): Document what an omitted N means (bug#13437).
2940 (nbutlast): Ditto.
2941
dba6e3ec
LI
29422014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2943
2944 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2945 depth shallower (bug#16587).
cc477daa
LI
2946 (shr-tag-svg): Respect `shr-inhibit-images'.
2947 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 2948
e2a67bd0
DG
29492014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2950
2951 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2952 (ruby-smie-grammar): Make "." right-associative. Make its priority
2953 lower than the ternary and all binary operators.
2954 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
2955 parent, or the first "." parent at indentation.
2956 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
2957 (Bug#16593)
2958
bd21bf41
JL
29592014-01-31 Juri Linkov <juri@jurta.org>
2960
2961 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2962 from `make-hash-table'.
2963
2964 * textmodes/ispell.el (ispell-init-process): Change message format
2965 to be consistent with other messages.
2966
b7e615b9
GM
29672014-01-31 Glenn Morris <rgm@gnu.org>
2968
a69ecd19
GM
2969 * delsel.el (delete-selection-mode): Doc fix.
2970
9997d7e3
GM
2971 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2972 (trace-function-background): Doc fixes.
2973
fbb764b8
GM
2974 * ido.el (ido-use-virtual-buffers): Doc fix.
2975 Reset :version, since the default value has not changed.
2976
da942af1
GM
2977 * register.el (register-preview-delay, register-read-with-preview):
2978 Doc fixes.
2979
b7e615b9
GM
2980 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2981 do not mess with mail-buffer position (fixes 2009-11-03 change).
2982 * progmodes/cc-mode.el (c-submit-bug-report):
2983 Check auto-fill-mode is bound. (Bug#16592)
2984
0a25002d
DH
29852014-01-31 Darren Hoo <darren.hoo@gmail.com>
2986
2987 * startup.el (fancy-splash-image-file): New function,
2988 split from fancy-splash-head.
2989 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2990 so that we are both using the same image. (Bug#16574)
2991
ad78f432
GM
29922014-01-30 Glenn Morris <rgm@gnu.org>
2993
6bbc0c84
GM
2994 * simple.el (eval-expression): Doc fix.
2995
ad78f432
GM
2996 * hexl.el (hexl-mode-hook):
2997 * ielm.el (ielm-mode-hook):
2998 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2999 (lisp-interaction-mode-hook):
20f39add 3000 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
3001 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3002
7b2f049c
SM
30032014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3004
3005 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3006 is a symbol (bug#16584).
3007
0c633f13
GM
30082014-01-30 Glenn Morris <rgm@gnu.org>
3009
3010 * help.el (help-for-help-internal): Add "P" to text.
3011
5e61c1ef
GM
30122014-01-29 Glenn Morris <rgm@gnu.org>
3013
3014 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3015
1dcb169c
MR
30162014-01-28 Martin Rudalics <rudalics@gmx.at>
3017
3018 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3019 height constraints.
3020
a9128931
LL
30212014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3022
3023 * progmodes/hideif.el: Extend to full CPP expression syntax.
3024 (hif-token-alist): Add missing tokens.
3025 (hif-token-regexp): Add support for float/octal/hex immediates.
3026 (hif-string-literal-regexp): New const.
3027 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3028 (hif-exprlist): New function.
3029 (hif-parse-if-exp): Use it.
3030 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3031 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3032 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3033 (hif-logxor, hif-comma): New functions.
3034
a22359a7
GM
30352014-01-28 Glenn Morris <rgm@gnu.org>
3036
793ffe81
GM
3037 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3038
e3bd7eed
GM
3039 * indent.el (tab-stop-list): Doc fix. Add :version.
3040
a22359a7
GM
3041 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3042 (cvs-append-to-ignore): Add compatibility alias.
3043
52695556 30442014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 3045
bac524e0
GM
3046 * dired.el (dired-hide-details-mode): Don't autoload it,
3047 since it cannot be used outside Dired buffers anyway.
3048
52695556 3049 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 3050
52695556
GM
3051 * dired.el (dired-hide-details-hide-symlink-targets)
3052 (dired-hide-details-hide-information-lines)
3053 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
3054
3055 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3056 * strokes.el (strokes-file): Doc fix. Bump :version.
3057 (strokes-help): Doc fix.
3058 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3059 * emulation/viper.el (viper): Doc fix for custom group.
3060 (top-level): Remove oh-so-no-longer-relevant text about vip.
3061 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3062
3063 * ido.el (ido-save-directory-list-file):
3064 * saveplace.el (save-place-file):
3065 * calendar/timeclock.el (timeclock-file):
3066 * net/quickurl.el (quickurl-url-file):
3067 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3068 * progmodes/idlwave.el (idlwave-config-directory):
3069 * textmodes/remember.el (remember-data-file):
3070 Bump :version.
3071
169d6004
GM
30722014-01-26 Glenn Morris <rgm@gnu.org>
3073
de6a923b
GM
3074 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3075 Doc fix. Make obsolete.
3076 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3077
169d6004
GM
3078 * sort.el (delete-duplicate-lines): Doc fix.
3079
ed85dee6
RS
30802014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3081
3082 * progmodes/ada-mode.el (ada):
3083 * woman.el (woman): Link to info manual and Commentary section.
3084
3085 * progmodes/flymake.el (flymake):
3086 * nxml/nxml-mode.el (nxml):
3087 * net/eww.el (eww):
3088 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3089 * htmlfontify.el (htmlfontify):
3090 * ses.el (ses):
3091 * epa.el (epa):
3092 * ido.el (ido): Link to info manual.
3093
e0c67e1d
LL
30942014-01-25 Leo Liu <sdl.web@gmail.com>
3095
3096 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3097
35408b1a
AS
30982014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3099
3100 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3101 (bug#16537).
3102
76c3fa95
JB
31032014-01-24 Juanma Barranquero <lekktu@gmail.com>
3104
f77c7a99
JB
3105 * net/eww.el (eww-download-callback):
3106 Fix reference to eww-download-directory.
3107
76c3fa95
JB
3108 * emacs-lisp/bytecomp.el (byte-compile-file):
3109 Remove unused local variable `file-name'.
3110
1e548e40
GM
31112014-01-24 Glenn Morris <rgm@gnu.org>
3112
03f3b318
GM
3113 * woman.el (woman-default-faces, woman-monochrome-faces):
3114 Fix obsolescence specification.
3115
1e548e40
GM
3116 * subr.el (with-demoted-errors): Doc fix.
3117
d4f0427b
SM
31182014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3119
3120 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3121 (cl--macroexp-fboundp): New function.
3122 (cl--make-type-test): Use it.
3123
1670e27f
GM
31242014-01-23 Glenn Morris <rgm@gnu.org>
3125
3126 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3127 * simple.el (eval-expression): Doc fixes.
3128
80efa207
GM
31292014-01-22 Glenn Morris <rgm@gnu.org>
3130
3131 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3132
29afcbab
SM
31332014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3134
3135 * emacs-lisp/package.el: Write files silently.
3136 (package-autoload-ensure-default-file, package--write-file-no-coding)
3137 (package-generate-description-file, package--download-one-archive)
3138 (package-install-from-archive): Tell `write-region' to stay quiet.
3139 (package-menu-mode, package-menu--print-info): Omit the Archive column
3140 if there's only one archive.
3141 (package-all-keywords, package--has-keyword-p): Remove dead code.
3142
2a5bce4f
GM
31432014-01-22 Glenn Morris <rgm@gnu.org>
3144
edace89f
GM
3145 * version.el (emacs-bzr-version-bzr): Fix typo.
3146
2a5bce4f
GM
3147 * version.el (emacs-repository-get-version):
3148 Check either .bzr or .git, but not both.
3149 Make the git case actually use the DIR argument, and return nil
3150 rather than the empty string.
983664c0 3151 Avoid error if .git exists but the git executable is not found.
2a5bce4f 3152
6cb4da45
MR
31532014-01-22 Martin Rudalics <rudalics@gmx.at>
3154
3155 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
3156 * window.el (window-total-size, window-size): New argument ROUND.
3157 (window--min-delta-1, window-min-delta, window--max-delta-1):
3158 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
3159 columns a window can shrink (Bug#16430).
3160 (fit-window-to-buffer): Simplify code.
3161 * term.el (term-window-width): Call window-body-width again.
3162
cc0f2ece
GM
31632014-01-22 Glenn Morris <rgm@gnu.org>
3164
7b997b14
GM
3165 * image.el (image-format-suffixes): Doc fix.
3166
44e76f9d
GM
3167 * international/quail.el (quail-define-package): Doc fix.
3168
35e951cd 3169 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 3170 (authors-renamed-files-alist): Additions.
7bfc1caa 3171
85a5f61f
GM
3172 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3173 reverts 2014-01-09 change. (Bug#16422)
3174
cc0f2ece
GM
3175 * calc/calc-embed.el (thing-at-point-looking-at):
3176 * emacs-lisp/map-ynp.el (x-popup-dialog):
3177 * obsolete/lmenu.el (x-popup-dialog):
3178 * emacs-lisp/package.el (url-recreate-url):
3179 * mail/mailclient.el (clipboard-kill-ring-save):
3180 * subr.el (x-popup-dialog): Update declaration.
3181 * mail/rmail.el (rmail-mime-message-p):
3182 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3183
00d2a6bb
DC
31842014-01-21 Daniel Colascione <dancol@dancol.org>
3185
3186 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3187 Correctly detect when we're inside an arithmetic expansion form
3188 containing nested parenthesis.
c295fc18 3189 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
3190 to detect cases where we shouldn't expand "<<" to a heredoc
3191 skeleton.
3192
dd9d2e9d
SM
31932014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3194
3195 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3196 (eldoc--message-command-p): New function.
3197 (eldoc-display-message-p): Use it.
3198 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3199 message is not automatically erased for us.
3200 (eldoc-print-current-symbol-info): Erase previous message, if any.
3201
e7d807ca
TH
32022014-01-21 Tassilo Horn <tsdh@gnu.org>
3203
4ff0a0e5
TH
3204 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3205 specify it's an interactive function.
3206
dd9d2e9d
SM
3207 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3208 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
3209 citations with optional arguments.
3210
87503791
LL
32112014-01-21 Leo Liu <sdl.web@gmail.com>
3212
3213 * simple.el (read--expression): Don't enable eldoc-mode.
3214
6cc750ee
SM
32152014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3216
3217 * simple.el (move-beginning-of-line): Make sure we don't move forward
3218 (bug#16497).
3219
71f16bda
JL
32202014-01-20 Juri Linkov <juri@jurta.org>
3221
3222 * saveplace.el (toggle-save-place, save-place-to-alist)
3223 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3224 'dired-mode) before checking for dired-directory. (Bug#16477)
3225
3c5a4839
JL
32262014-01-20 Juri Linkov <juri@jurta.org>
3227
3228 * indent.el (indent-line-to): Use backward-to-indentation
3229 instead of back-to-indentation. (Bug#16461)
3230
f952002e
PE
32312014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3232
3233 Revert some of the CANNOT_DUMP fix (Bug#16494).
3234 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3235 but fixing this can wait until after the next release.
3236 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3237
93675500
MA
32382014-01-19 Michael Albinus <michael.albinus@gmx.de>
3239
3240 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3241 Use `password-word-equivalents'.
3242 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3243 to t. (Bug#5664, Bug#13124)
3244
e3af763f
AM
32452014-01-19 Alan Mackenzie <acm@muc.de>
3246
3247 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3248 points.
3249 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 3250 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
3251 * progmodes/cc-mode.el (c-before-change, c-after-change)
3252 (c-font-lock-fontify-region): Bind it here.
3253
4ff6d92d
MR
32542014-01-19 Martin Rudalics <rudalics@gmx.at>
3255
3256 * term.el (term-window-width): Call window-text-width instead of
3257 window-width (Bug#16470).
3258
9a685cf6
PE
32592014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3260
3261 * simple.el (password-word-equivalents): Remove duplicates.
3262 Sort, to make this easier next time.
3263 Downcase. Omit ": " after "jelszó".
3264
5aa78c2d
JD
32652014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3266
3267 * term/common-win.el (saved-region-selection): Defvar it.
3268 (x-select-text): Set saved-region-selection (Bug#16382).
3269
cabb250c
GM
32702014-01-18 Glenn Morris <rgm@gnu.org>
3271
3272 * emacs-lisp/authors.el (authors-aliases)
3273 (authors-renamed-files-alist): Add some entries.
3274
a1340440
MA
32752014-01-17 Michael Albinus <michael.albinus@gmx.de>
3276
93675500
MA
3277 * net/tramp.el (tramp-password-prompt-regexp):
3278 Use `password-word-equivalents' if available.
a1340440
MA
3279 (tramp-action-password, tramp-process-one-action)
3280 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3281
681ce5d2
CY
32822014-01-17 Chong Yidong <cyd@gnu.org>
3283
3284 * simple.el (password-word-equivalents): New defcustom.
3285 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3286 to 24.4.
3287 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3288 to t. (Bug#13124)
3289
fb3d479c
DG
32902014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3291
3292 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
3293 (ruby-align-to-stmt-keywords): Change the default value.
3294 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
3295 choices.
3296 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3297 keywords, check against the value of `ruby-alignable-keywords'
3298 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3299
0d613483
GM
33002014-01-17 Glenn Morris <rgm@gnu.org>
3301
fc23fe2d
GM
3302 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3303
0d613483 3304 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 3305 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
3306 (authors-ignored-files): Add some entries, remove others.
3307 (authors-ambiguous-files, authors-valid-file-names):
3308 Add some entries.
3309 (authors-renamed-files-alist): Add, remove, and adjust entries.
3310 (authors-renamed-files-regexps): Add some entries.
3311 Remove some very broad ones. Make some entries `lax'.
3312 (authors-lax-changelogs): New constant.
3313 (authors-disambiguate-file-name): Treat top-level specially.
3314 (authors-lax-changelog-p): New function.
3315 (authors-canonical-file-name): Check file as written against
3316 authors-valid-file-names. Do not special-case etc/.
3317 Handle `lax' logs and authors-renamed-files-regexps elements.
3318
2dbf4ffd
DG
33192014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3320
3321 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
3322 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3323 callers.
2dbf4ffd 3324
87b2a7f2
SM
33252014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3328 Assume we're already in the proper buffer.
3329 Inspired by Anders Lindgren <andlind@gmail.com>.
3330 (follow-post-command-hook): Call it from the right buffer.
3331 (follow-comint-scroll-to-bottom): Adjust call.
3332 (follow-all-followers): Use get-buffer-window-list.
3333
93acfb0e
DC
33342014-01-15 Daniel Colascione <dancol@dancol.org>
3335
3336 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3337 `buffer-file-name' in interactive-form so that we don't leave
3338 pathless file names in `file-name-history'.
3339
ccc6b208
JL
33402014-01-15 Juri Linkov <juri@jurta.org>
3341
3342 * indent.el (indent-rigidly): Set deactivate-mark to nil
3343 in transient indentation mode. (Bug#16438)
3344
5c92e00d
DG
33452014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3346
3347 * emacs-lisp/package.el (package-desc-keywords): New function
3348 (Bug#16222).
3349 (describe-package-1, package-all-keywords)
3350 (package--has-keyword-p): Use it.
3351
dac69660
NR
33522014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3353
3354 * simple.el (define-alternatives): When creating the
3355 COMMAND-alternatives variable, assign COMMAND as its definition
3356 name so that `describe-variable' can relocate it.
3357
8b63edf8
ML
33582014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3359
3360 * font-lock.el (font-lock-keywords): Fix typo in docstring
3361 (bug#16307).
3362
c6a0b8eb
AM
33632014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3364
3365 * ispell.el (ispell-region): Reset `in-comment' for new line
3366 instead of wrongly reset `add-coment' (bug#13577).
3367
02bf443d
DU
33682014-01-14 Daiki Ueno <ueno@gnu.org>
3369
3370 * epa-file.el (epa-file-write-region): Encode the region according
3371 to `buffer-file-format'. Problem reported at:
3372 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3373
fd7fde15
SM
33742014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3375
3376 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3377 so it applies in the right buffer (bug#16410).
3378
c176054f
DC
33792014-01-13 Daniel Colascione <dancol@dancol.org>
3380
3381 * textmodes/rst.el (rst-define-key): Provide deprecated
3382 keybindings through named functions instead of anonymous ones so
3383 that "??" doesn't appear in describe-mode output.
3384
e3f33e5d
BG
33852014-01-13 Bastien Guerry <bzg@gnu.org>
3386
3387 * simple.el (define-alternatives): Call the selected command
3388 interactively. When setting `COMMAND--implementation' for the
3389 first time, tell the user how to chose another implementation.
3390 Enhance the docstring.
3391
c055d654
SM
33922014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3393
3394 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3395 (log-edit--match-first-line): New function.
3396 (log-edit-font-lock-keywords): Use it.
3397 (log-edit-mode): Make jit-lock-defer-multiline work.
3398
d791cc3b
BG
33992014-01-13 Bastien Guerry <bzg@gnu.org>
3400
3401 * rect.el (rectangle-mark-mode): When the region is not active,
3402 display a message saying that the mark as been set and that
3403 rectangle mode is in use.
3404 (rectangle--highlight-for-redisplay): Only put an overlay with a
3405 visible vertical bar when (display-graphic-p) is non-nil.
3406 This partially fixes Bug#16403.
3407
3c0c4562
JL
34082014-01-13 Juri Linkov <juri@jurta.org>
3409
3410 * info.el (Info-find-file): Go to DIR before displaying the error
3411 about a nonexistent file if no previous Info file is visited.
3412 Use `user-error' instead of `error' for "Info file %s does not exist".
3413 (Info-find-node-2): In case of a nonexistent node in unwind forms
3414 go to the Top node if there is no previous node to revert to.
3415 (Bug#16405)
3416
25a700d0
MR
34172014-01-13 Martin Rudalics <rudalics@gmx.at>
3418
3419 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
3420 * window.el (fit-frame-to-buffer): Fix doc-string.
3421 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
3422 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3423 when avoiding that frame goes partially off-screen.
3424 (fit-window-to-buffer): Respect window-min-height/-width
3425 (Bug#14096).
3426
6ae948d8
SM
34272014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3428
3429 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3430 after an empty line.
3431
6137cb82
SM
34322014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * net/shr.el (shr-render-region): Autoload.
3435
e6344e17
XF
34362014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3437
3438 * net/eww.el (eww-download-directory): Rename from
3439 `eww-download-path' (Bug#16419).
3440
3b922c70
LL
34412014-01-12 Leo Liu <sdl.web@gmail.com>
3442
3443 * dired-x.el (dired-mode-map): Fix last change.
3444
3445 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3446
4fa51741
PE
34472014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3448
3449 Spelling fixes.
3450 * emacs-lisp/generic.el (generic--normalize-comments):
3451 Rename from generic--normalise-comments. All uses changed.
35e951cd 3452 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
3453 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3454 (bubbles--neighborhood-available)
3455 (bubbles--update-neighborhood-score):
3456 Rename from names with 'neighbourhood'. All uses changed.
3457
9b335362
LL
34582014-01-12 Leo Liu <sdl.web@gmail.com>
3459
3460 Re-implement the feature of showing eldoc info after editing.
3461 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3462 (eldoc-edit-message-commands): New function.
3463 (eldoc-print-after-edit): New variable.
3464 (eldoc-pre-command-refresh-echo-area): Emit message only by
3465 eldoc-message-commands.
3466 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3467 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 3468 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 3469 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 3470
e2a095b1
GM
34712014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3472 Eric S. Raymond <esr@thyrsus.com>
9685190b 3473
841a6d0c 3474 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 3475 function works correctly in either a Bazaar or Git repo.
0abf4134 3476
e2a095b1
GM
34772014-01-11 Eric S. Raymond <esr@thyrsus.com>
3478
6137cb82
SM
3479 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3480 Goes with removal of the joke manpages from /etc.
9685190b 3481
c295fc18 34822014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 3483
6137cb82
SM
3484 * mail/rmail.el (rmail-get-coding-system):
3485 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 3486
d2f16e93
GM
34872014-01-10 Glenn Morris <rgm@gnu.org>
3488
3489 * emacs-lisp/authors.el (authors-fixed-entries):
3490 Update for files that no longer exist.
3491
7e03bb32
ER
34922014-01-10 Eric S. Raymond <esr@thyrsus.com>
3493
3494 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 3495 24.3 (Tested).
7e03bb32 3496
dd806710
BB
34972014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3498
3499 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3500 and Podfile.
3501
ed6ec139
EZ
35022014-01-10 Eli Zaretskii <eliz@gnu.org>
3503
3504 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3505
cc33cac9
CY
35062014-01-10 Chong Yidong <cyd@gnu.org>
3507
6137cb82 3508 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 3509
d9d836b5
AL
35102014-01-10 Anders Lindgren <andlind@gmail.com>
3511
3512 * follow.el (follow-cache-command-list): Include right-char and
3513 left-char.
3514
06827ec8
PE
35152014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3516
3517 Spelling fixes.
3518 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3519 * woman.el (woman-mark-horizontal-position):
3520 Rename from woman-mark-horizonal-position. Use changed.
3521
458dbf5e
GM
35222014-01-10 Glenn Morris <rgm@gnu.org>
3523
dad6fae7
GM
3524 * info.el (info-initialize): If running uninstalled, ensure our
3525 own info files are always found first, even if INFOPATH is set.
3526
458dbf5e
GM
3527 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3528
05e0afce
DE
35292014-01-09 David Engster <deng@randomsample.de>
3530
3531 * emacs-lisp/eieio-custom.el:
3532 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3533 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3534 * emacs-lisp/eieio.el: Regenerate autoloads.
3535
f29778b3
ER
35362014-01-09 Eric S. Raymond <esr@thyrsus.com>
3537
3538 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 3539 following renames. (Bug#8756)
f29778b3 3540
684d44ef
SM
35412014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3542
3543 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3544 (bug#16382).
3545 (activate-mark): Add `no-tmm' argument.
3546 (set-mark, push-mark-command): Use it instead of running
3547 activate-mark-hook by hand.
3548
9475054f
ER
35492014-01-08 Eric S. Raymond <esr@thyrsus.com>
3550
3551 In preparation for the move to git, sanitize out some
3552 Bazaar-specific names.
3553
38942b9c
GM
3554 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3555
9475054f 3556 * version.el (emacs-bzr-version): Name changed to
689c9ca5 3557 emacs-repository-version. Obsolete-variable alias made.
9475054f 3558 * loadup.el: Follow through on this name change.
a12bf61e 3559 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
3560 assumption about the version control system in use.
3561
0f918d96 35622014-01-08 David Engster <deng@randomsample.de>
abb82152 3563
684d44ef
SM
3564 * help-fns.el (help-fns-describe-function-functions):
3565 New variable to call functions for augmenting help buffers.
abb82152
DE
3566 (describe-function-1): Remove explicit calls to
3567 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
3568 `help-fns--obsolete'. Put them in above new variable instead, and
3569 call them through `run-hook-with-args'.
3570 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3571 `eieio-describe-class'. Not meant for interactive use anymore,
3572 but to augment existing help buffers. Remove optional second
684d44ef
SM
3573 argument. Create proper button for file location.
3574 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
3575 possible.
3576 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3577 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
3578 (describe-method, describe-generic, eieio-describe-method):
3579 Remove aliases.
0f918d96
DE
3580 (eieio-help-constructor, eieio-help-generic): Rename from
3581 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3582 Rewrite to use `insert' in the current buffer and use proper help
3583 buttons.
3584 (eieio-help-find-method-definition)
3585 (eieio-help-find-class-definition): Also accept symbols as
3586 arguments.
3587 (eieio-help-mode-augmentation-maybee): Remove.
3588 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
3589 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3590 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 3591
136b74c5
PE
35922014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3593
3594 Spelling fixes.
3595 * language/china-util.el (hz-ascii-designation):
3596 Rename from hz-ascii-designnation.
3597 (hz-ascii-designation): Rename from hz-ascii-designnation.
3598 All uses changed.
3599
ec6c7de2
SM
36002014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3601
3602 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3603 package-alist.
3604
d6262c7c
BG
36052014-01-08 Bastien Guerry <bzg@gnu.org>
3606
4b9e6087
GM
3607 * emacs-lisp/package.el (package-delete):
3608 Correctly delete the package from package-alist.
d6262c7c 3609
0a3eec32
DU
36102014-01-08 Daiki Ueno <ueno@gnu.org>
3611
3612 * emacs-lisp/package.el (url-recreate-url): Declare.
3613 (url-http-target-url): Declare.
4b9e6087 3614 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
3615 (package--check-signature): Don't re-signal errors from
3616 package--with-work-buffer. Suggested by Stefan Monnier.
3617
68f0bb97
BG
36182014-01-07 Bastien Guerry <bzg@gnu.org>
3619
3620 * minibuffer.el (completion--try-word-completion): When both a
3621 hyphen and a space are possible candidates for the character
3622 following a word, display both candidates. (Bug#15980)
3623
7e1899d7
MR
36242014-01-07 Martin Rudalics <rudalics@gmx.at>
3625
3626 * window.el (balance-windows-2): While rounding don't give a
c295fc18 3627 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 3628
0030ec15
GM
36292014-01-07 Glenn Morris <rgm@gnu.org>
3630
3631 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3632 (menu-bar-help-menu): Use view-external-packages instead.
3633
2b6b4f20
BG
36342014-01-07 Bastien Guerry <bzg@gnu.org>
3635
3636 * emacs-lisp/package.el (package-delete): Also delete the package
3637 name from `package-alist', not its description only.
3638
e9be0a13
GM
36392014-01-07 Glenn Morris <rgm@gnu.org>
3640
3641 * help.el (view-external-packages):
3642 * menu-bar.el (menu-bar-help-extra-packages):
3643 Visit efaq.info rather than etc/MORE.STUFF.
3644
e4f74da9
JL
36452014-01-07 Juri Linkov <juri@jurta.org>
3646
3647 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3648 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3649
3650 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3651 that shadows RET. (Bug#16342)
3652
de7ce2d1
CY
36532014-01-07 Chong Yidong <cyd@gnu.org>
3654
3655 * isearch.el (isearch-yank-char, isearch-yank-word)
3656 (isearch-yank-line): Doc fix.
3657
6bdd9204
SM
36582014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3661 * emacs-lisp/elint.el (elint-find-builtins):
3662 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3663 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3664 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3665 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3666 * apropos.el (apropos-safe-documentation):
3667 * subr.el (symbol-file): Remove redundant fboundp.
3668 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3669
daccca97
BG
36702014-01-06 Bastien Guerry <bzg@gnu.org>
3671
3672 * hl-line.el (global-hl-line-overlay): Make a local variable.
3673 (global-hl-line-overlays): New variable to store all overlays.
3674 (global-hl-line-mode): Don't delete overlays from the current
3675 buffer when `global-hl-line-sticky-flag' is non-nil.
3676 (global-hl-line-highlight): Add new overlays to
3677 `global-hl-line-overlays'.
3678 (global-hl-line-unhighlight-all): New function to delete all
3679 overlays when turning off `global-hl-line-mode'.
3680 This fixes Bug#16183.
3681
ec00f20f
SM
36822014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * subr.el (set-transient-map): Fix nested case and docstring.
3685
a0031f97
TH
36862014-01-06 Tassilo Horn <tsdh@gnu.org>
3687
3688 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3689 `Texinfo' entry.
3690
bf6a77f3
DC
36912014-01-06 Daniel Colascione <dancol@dancol.org>
3692
3693 Fix defun navigation in vc log view.
3694
3695 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3696 like `beginning-of-defun'.
c295fc18 3697 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
3698 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3699 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 3700 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 3701 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 3702
d5081c1e
PE
37032014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3704
3705 Spelling fixes.
3706 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3707 * emacs-lisp/debug.el (cancel-debug-on-entry):
3708 * epg.el (epg-error-to-string):
3709 * files.el (recover-file):
3710 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3711 * mail/emacsbug.el (report-emacs-bug-hook):
3712 * mail/sendmail.el (mail-recover):
3713 * ses.el (ses-yank-resize):
3714 * term/ns-win.el (ns-print-buffer):
3715 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3716 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3717 All uses changed.
3718 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3719
53f6b148
LL
37202014-01-06 Leo Liu <sdl.web@gmail.com>
3721
3722 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 3723 to avoid shadowing global key. (Bug#16354)
53f6b148 3724
b82ace2f
DC
37252014-01-06 Daniel Colascione <dancol@dancol.org>
3726
3727 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3728 rst-mode.
3729
3669b636
MR
37302014-01-05 Martin Rudalics <rudalics@gmx.at>
3731
3732 * window.el (balance-windows): Add mising t to fix Bug#16351.
3733
1a29adc2
LMI
37342014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3735
3736 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3737 (bug#16285).
3d95a0f4
LMI
3738 (shr-insert): If we have a word that's longer than `shr-width',
3739 break after it anyway. Otherwise we'll do no breaking once we get
3740 such a long word.
1a29adc2 3741
f4018140
KN
37422014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3743
3fcfc4ee 3744 * net/eww.el (eww): Support single/double quote for search.
c295fc18 3745 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
3746 (eww-history-quit): Delete and use quit-window.
3747 (eww-history-kill): Delete, because it doesn't work well and
3748 not necessary.
3749 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 3750
4e619754
PE
37512014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3752
73dbf960
PE
3753 Fix misspelling of 'chinese' in rx (Bug#16237).
3754 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3755 chinese-two-byte.
3756
4e619754
PE
3757 Change subword regexps back to vars (Bug#16296).
3758 * progmodes/subword.el (subword-forward-regexp)
3759 (subword-backward-regexp): Change these back to variables.
3760
e18b70fc
SM
37612014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3764 syntax-begin-function (bug#16247).
3765
0d53f628
CY
37662014-01-03 Chong Yidong <cyd@gnu.org>
3767
3768 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3769 (advice--docstring): Delete variable.
3770 (advice--make-1): Leave the docstring empty.
3771 (advice-add): Use function-documentation for advised docstring.
3772
3773 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3774 Ignore function-documentation property when getting documentation.
3775 (ad-activate-advised-definition): Use function-documentation
3776 generate the docstring.
3777 (ad-make-advised-definition): Don't call
3778 ad-make-advised-definition-docstring.
3779 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3780 Delete functions.
3781
3782 * progmodes/sql.el (sql-help): Use function-documentation instead
3783 of dynamic-docstring-function property. No need to autoload now.
3784 (sql--help-docstring): New variable.
3785 (sql--make-help-docstring): Use it.
3786
6f547583
SM
37872014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3788
6ef9aed8
SM
3789 * ielm.el (ielm-tab): Retarget.
3790 (ielm-map): Use ielm-tab for tab.
3791 (ielm-complete-filename): Use comint-filename-completion.
3792 (ielm-complete-symbol): Remove.
3793 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3794 remove ielm-tab from completion-at-point-functions (bug#16224).
3795
6f547583
SM
3796 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3797 Beware signals raised by predicates (bug#16201).
3798
a574edbe
RS
37992014-01-02 Richard Stallman <rms@gnu.org>
3800
e831604d
RS
3801 * dired-aux.el (dired-do-print): Handle printer-name.
3802
6f547583
SM
3803 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3804 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
3805 (rmail-epa-decrypt): Turn off mime processing.
3806
3fcfc4ee 3807 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
3808 Add parens in message-id.
3809
3810 * mail/rmail.el (rmail-get-coding-function): Variable.
3811 (rmail-get-coding-system): Use it.
3812
04311a16
KH
38132013-12-31 Eli Zaretskii <eliz@gnu.org>
3814
3815 * international/mule-conf.el: Unify the charset indian-is13194.
3816 (indian-is13194): Specify unify-map.
3817
c8d89778
LL
38182013-12-31 Leo Liu <sdl.web@gmail.com>
3819
3820 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3821
e63ace37
DC
38222013-12-30 Daniel Colascione <dancol@dancol.org>
3823
9e0bf19a
DC
3824 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3825 of printing a useless when we resume from sleep.
3826
e63ace37 3827 * progmodes/sh-script.el
c295fc18 3828 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
3829 in indentation code. (Bug#16233)
3830
e9d6c46a
JT
38312013-12-28 João Távora <joaotavora@gmail.com>
3832
6f547583
SM
3833 * elec-pair.el (electric-pair-post-self-insert-function):
3834 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 3835
bf7bea5d
EZ
38362013-12-28 Eli Zaretskii <eliz@gnu.org>
3837
3838 * frame.el (window-system-for-display): Don't allow to create a
3839 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3840
8449dd1f
GM
38412013-12-28 Glenn Morris <rgm@gnu.org>
3842
9c5a5c77
GM
3843 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3844 Update callers.
3845
3846 * apropos.el (apropos-match-face):
3847 * calculator.el (calculator-displayer):
3848 * dabbrev.el (dabbrev-search-these-buffers-only):
3849 * face-remap.el (buffer-face-mode-face):
3850 * simple.el (yank-handled-properties):
3851 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3852 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3853 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3854 (hashcash-double-spend-database):
3855 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3856 (ruby-deep-indent-paren-style):
3857 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3858 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3859 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3860 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3861 Specify custom types.
3862
bb098075
GM
3863 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3864 * bookmark.el (bookmark-bmenu-use-header-line):
3865 * doc-view.el (doc-view-scale-internally):
3866 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3867 * register.el (register-preview-delay):
3868 * net/shr.el (shr-bullet):
3869 * progmodes/cfengine.el (cfengine-cf-promises)
3870 (cfengine-parameters-indent):
3871 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3872 * textmodes/reftex-vars.el (reftex-label-regexps):
3873 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3874
9c61f806
GM
3875 * net/tls.el (tls-certtool-program): Fix default value.
3876
3877 * desktop.el (desktop-restore-in-current-display):
3878 * newcomment.el (comment-empty-lines):
3879 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3880 (idlwave-pad-keyword):
3881 * progmodes/tcl.el (tcl-tab-always-indent):
3882 * textmodes/reftex-vars.el (reftex-index-default-tag):
3883 * elec-pair.el (electric-pair-skip-whitespace):
3884 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3885
8449dd1f
GM
3886 * emacs-lisp/authors.el (authors-ignored-files)
3887 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3888
fdadeb49
JC
38892013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3890
72140a0f
GM
3891 * shell.el (shell-dynamic-complete-command): Doc fix.
3892 (shell--command-completion-data): Shell completion now matches
3893 executable filenames from the current buffer's directory, on
da5ecfa9 3894 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 3895
e572a7d8
LI
38962013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3897
3898 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3899
7514d3f8
SM
39002013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3901
a4151f3b
SM
3902 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3903 (bug#16251).
3904
7514d3f8
SM
3905 * electric.el: Move all electric-pair-* to elec-pair.el.
3906 * elec-pair.el: New file, split from electric.el.
3907
ac5758d1
LI
39082013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3909
3910 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3911 indentation level is larger than the width, because that will
3912 infloop.
3913 (shr-insert): Fill repeatedly long texts, so that Japanese is
3914 formatted correctly (bug#16263).
24a6b65e
LI
3915 (shr-find-fill-point): Off by one error in comparison with the
3916 indentation.
ac5758d1 3917
7514d3f8 39182013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
3919
3920 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 3921 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
3922 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3923 if that keeps or improves their balance in buffers.
3924 (electric-pair-delete-adjacent-pairs): Delete the pair when
3925 backspacing over adjacent matched delimiters.
3926 (electric-pair-open-extra-newline): Open extra newline when
3927 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
3928 (electric--sort-post-self-insertion-hook):
3929 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
3930 minor-modes are activated.
3931 * simple.el (newline-and-indent): Call newline with interactive
3932 set to t.
3933 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
3934 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3935 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3936 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
3937 electric-pair-open-newline-between-pairs to nil.
3938
fbcc63a3
FEG
39392013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3940
3941 * progmodes/python.el: Use lexical-binding.
3942 (python-nav-beginning-of-defun): Stop searching ASAP.
3943
ed78d16c
XF
39442013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3945
3946 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3947 Fix interactive spec. Doc fix. (Bug#15754)
3948
38b2c142
KY
39492013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3950
3951 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 3952 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
3953 Fix edebug spec (bug#16184).
3954
3c856c14
LI
39552013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3956
83fa295c 3957 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
3958 (shr-insert): Don't infloop if we can't find a good place to break
3959 the line (bug#16256).
3c856c14 3960
01379221
FEG
39612013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3962
35e951cd 3963 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
3964 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3965 python-nav-lisp-forward-sexp-safe.
3966 (python-nav--forward-sexp): New argument SAFE allows switching
3967 forward sexp movement behavior for parens.
3968 (python-nav-forward-sexp): Throw errors on unterminated parens
3969 (Bug#16191).
3970 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3971 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
3972 (python-shell-buffer-substring):
3973 Use `python-nav-forward-sexp-safe'.
01379221 3974
99e4926f
LI
39752013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3976
3977 * net/shr.el (shr-find-fill-point): Don't break lines before a
3978 quotation mark.
c6c20584
LI
3979 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3980 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 3981 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 3982
fec0e828
KN
39832013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3984
3985 * net/eww.el (eww-form-textarea): Use a different face for
3986 textareas than text input since they have different keymaps
3987 (bug#16142).
3988
89c868ad
FEG
39892013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3990
7514d3f8
SM
3991 * progmodes/python.el (python-nav-beginning-of-statement):
3992 Speed up (Bug#15295).
89c868ad 3993
eeef121a
LI
39942013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3995
3996 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3997 the window configuration.
3998
121ea65f
EZ
39992013-12-24 Eli Zaretskii <eliz@gnu.org>
4000
4001 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4002 we run on MS-Windows or MS-DOS.
4003
18cee9ec
MR
40042013-12-24 Martin Rudalics <rudalics@gmx.at>
4005
4006 * window.el (balance-windows-area): Call window-size instead of
4007 window-height and window-width. Bug#16241.
4008
58f2b9a5
LI
40092013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4010
4011 * net/eww.el (eww-bookmark-quit): Remove.
4012 (eww-bookmark-browse): Restore the window configuration when you
4013 choose a bookmark (bug#16144).
4014
d64b6308
DC
40152013-12-24 Daniel Colascione <dancol@dancol.org>
4016
4017 * icomplete.el: Remove redundant :group arguments to `defcustom'
4018 throughout.
4019 (icomplete-show-matches-on-no-input): New customizable variable.
4020 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4021 we have something to show.
7514d3f8 4022 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 4023
0da54898
DC
40242013-12-23 Daniel Colascione <dancol@dancol.org>
4025
4026 * icomplete.el: Move `provide' to end of file.
4027
b90aa4f4
TZ
40282013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4029
4030 * net/gnutls.el (gnutls-verify-error): Add version tag.
4031
8cd22a08
CY
40322013-12-23 Chong Yidong <cyd@gnu.org>
4033
4034 * subr.el (set-transient-map): Rename from
4035 set-temporary-overlay-map. Doc fix.
4036
4037 * face-remap.el (text-scale-adjust):
4038 * indent.el (indent-rigidly):
4039 * kmacro.el (kmacro-call-macro):
4040 * minibuffer.el (minibuffer-force-complete):
4041 * repeat.el (repeat):
4042 * simple.el (universal-argument--mode):
4043 * calendar/todo-mode.el (todo-insert-item--next-param):
4044 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4045
7510b021
CY
4046 * indent.el (indent-rigidly): Use substitute-command-keys.
4047
72140a0f 40482013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
4049
4050 * net/eww.el (eww-tag-select): Add text-property to jump to next
4051 select field.
e9dc713d 4052 (eww): Add non-supported ftp error.
56890ecd 4053
1f87a56c
DG
40542013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4055
4056 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4057 comments. Handle electric indent after typing `?' and `!'.
4058
dca38cf9
CY
40592013-12-22 Chong Yidong <cyd@gnu.org>
4060
4061 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
4062 applicable to a frame, fall back on the defface spec.
4063 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 4064
f2351498
DG
40652013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4066
4067 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4068 after `{'. We need it after block openers, and it doesn't seem
4069 to hurt after hash openers.
4070
6cddebc1
DG
40712013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4072
4073 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4074 extracted from `ruby-smie-rules'.
4075 (ruby--electric-indent-chars): New variable.
4076 (ruby--electric-indent-p): New function.
4077 (ruby-mode): Use `electric-indent-functions' instead of
4078 `electric-indent-chars'.
4079
65a1da00
DG
40802013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4081
4082 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4083 docstring.
4084 (ruby-smie-rules): Indent plus one level after `=>'.
4085
b51ad4cf
RS
40862013-12-21 Richard Stallman <rms@gnu.org>
4087
4088 * simple.el (newline): Doc fix.
4089
72140a0f 40902013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 4091
e9dc713d 4092 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
4093 (eww-history-browse, eww-history-quit, eww-history-kill)
4094 (eww-history-mode-map, eww-history-mode): New command and
4095 functions to list browser histories.
e9dc713d
JB
4096 (eww-form-text): Support text form with disabled
4097 and readonly attributes.
4098 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 4099
5e1901c1
RS
41002013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4101
4102 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4103 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4104 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4105 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4106 Use `user-error'.
4107 (eww-bookmark-mode-map): Add menu.
4108 (eww-render, eww-mode): Use `setq-local'.
4109 (eww-tool-bar-map): New variable.
4110 (eww-mode): Set `tool-bar-map'.
4111 (eww-view-source): Check for `html-mode' with `fboundp'.
4112
073d5cfd
LMI
41132013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4114
4115 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4116 elements with text inside. Also remove debugging.
4117
41cf3d11
JD
41182013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4119
4120 * cus-start.el (all): Add ns-use-srgb-colorspace.
4121
aac2b673
CY
41222013-12-21 Chong Yidong <cyd@gnu.org>
4123
4124 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4125 undefined. Thus, theme settings for undefined faces do not take
4126 effect until the faces are defined with defface, the same as with
4127 theme variables.
4128
4129 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4130 (face-spec-reset-face): Don't assign extra properties in temacs.
4131 (face-spec-recalc): Apply X resources too.
4132
bacb0e77
CY
41332013-12-21 Chong Yidong <cyd@gnu.org>
4134
4135 * faces.el (face-spec-set):
4136 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4137 * custom.el (defface): Doc fixes (Bug#16203).
4138
77221051
CY
4139 * indent.el (indent-rigidly-map): Add docstring, and move commands
4140 into named functions.
4141 (indent-rigidly-left, indent-rigidly-right)
4142 (indent-rigidly-left-to-tab-stop)
4143 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4144 indentation direction based on bidi direction, and accumulate
4145 sequential commands in a single undo boundary.
4146 (indent-rigidly--pop-undo): New utility function.
4147
e0eb0550
JB
41482013-12-20 Juanma Barranquero <lekktu@gmail.com>
4149
4150 * faces.el (read-face-name): Require crm.el when using crm-separator.
4151
3282bd2e
DC
41522013-12-20 Daniel Colascione <dancol@dancol.org>
4153
4154 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4155 so that we don't reflow comments into the shebang line.
4156
1d42e5b6
JL
41572013-12-20 Juri Linkov <juri@jurta.org>
4158
4159 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4160 a position when `dired-directory' is non-nil. Check integer
4161 positions with `integerp'.
4162 (toggle-save-place, save-places-to-alist): Add check for
4163 `dired-directory'.
4164 (save-place-find-file-hook): Check integer positions with
4165 `integerp'.
4166 (save-place-dired-hook): Use `dired-goto-file' when
4167 `dired-filename' is found in the assoc list. Check integer
4168 positions with `integerp'.
4169 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4170
4171 * dired.el (dired-initial-position-hook): Rename back from
4172 `dired-initial-point-hook'.
4173 (dired-initial-position): Rename `dired-initial-point-hook' to
4174 `dired-initial-position-hook'.
4175 (dired-file-name-at-point): Doc fix. (Bug#15329)
4176
24da7273
JL
41772013-12-20 Juri Linkov <juri@jurta.org>
4178
4179 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4180 (read-regexp-suggestions): New function.
4181 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4182 Use `read-regexp-suggestions'. Add non-empty default to history
4183 for empty input.
4184 (occur-read-regexp-defaults-function): Remove function.
4185 (occur-read-primary-args): Use `regexp-history-last' instead of
4186 `occur-read-regexp-defaults-function'.
4187
4188 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4189 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4190 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4191 `hi-lock-read-regexp-defaults-function'. Doc fix.
4192 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4193 with `find-tag-default-as-symbol-regexp'. Doc fix.
4194 (hi-lock-read-regexp-defaults): Remove function.
4195 (hi-lock-regexp-okay): Add check for null.
4196
4197 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4198 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4199
4200 * subr.el (find-tag-default-as-symbol-regexp): New function.
4201 (find-tag-default-as-regexp): Move symbol regexp formatting to
4202 `find-tag-default-as-symbol-regexp'.
4203
137f57c8
S
42042013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4205
4206 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4207 (Bug#14179)
4208
f3a66082
SB
42092013-12-20 Stephen Berman <stephen.berman@gmx.net>
4210
4211 * calendar/todo-mode.el: New implementation of item insertion
4212 commands and key bindings.
4213 (todo-key-prompt): New face.
4214 (todo-insert-item): New command.
4215 (todo-insert-item--parameters): New defconst, replacing defvar
4216 todo-insertion-commands-args-genlist.
4217 (todo-insert-item--param-key-alist): New defconst, replacing
4218 defvar todo-insertion-commands-arg-key-list.
4219 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4220 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4221 (todo-insert-item--next-param): New functions.
4222 (todo-insert-item--args, todo-insert-item--argleft)
4223 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4224 New variables.
4225 (todo-key-bindings-t): Change binding of "i" from
4226 todo-insertion-map to todo-insert-item.
4227 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4228 (todo-insertion-command-name, todo-insertion-commands-names)
4229 (todo-define-insertion-command, todo-insertion-commands)
4230 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4231
2f99433b
SB
42322013-12-20 Stephen Berman <stephen.berman@gmx.net>
4233
4234 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4235 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4236 eval-when-compile.
4237 (todo-move-category): Allow choosing a non-existing todo file to
4238 move the category to, and create that file.
4239 (todo-default-priority): New user option.
4240 (todo-set-item-priority): Use it.
4241 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4242 (desktop-restore-file-buffer): Declare.
4243 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4244 (todo-modes-set-2): Locally set desktop-save-buffer to
4245 todo-desktop-save-buffer.
4246 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4247 (auto-mode-alist): Add autoload cookie.
4248
131e4695
BB
42492013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4250
4251 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4252 helpers.el was a poor choice of name.
3cbfb935
BB
4253 (string-remove-prefix): New function.
4254 (string-remove-suffix): New function.
131e4695 4255
c44de18d
MR
42562013-12-20 Martin Rudalics <rudalics@gmx.at>
4257
4258 Fix assignment for new window total sizes.
4259 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
4260 (window--pixel-to-total-1, window--pixel-to-total):
4261 Fix calculation of new total sizes.
c44de18d 4262
ca65efcc
VS
42632013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4264
4265 * comint.el (comint-output-filter): Fix rear-nonsticky property
4266 placement (Bug#16010).
4267
a9574eb7
CY
42682013-12-20 Chong Yidong <cyd@gnu.org>
4269
4270 * faces.el (read-color): Minor fix for completion function.
4271
b520f210
DG
42722013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4273
e0eb0550
JB
4274 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4275 New option. (Bug#16182)
b520f210
DG
4276 (ruby-smie--indent-to-stmt-p): Use it.
4277 (ruby-smie-rules): Revert the logic in the handling of `when'.
4278 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4279 (ruby-deep-arglist, ruby-deep-indent-paren)
4280 (ruby-deep-indent-paren-style): Update docstrings to note that the
4281 vars don't have any effect with SMIE.
4282
26b75b45
JB
42832013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4284
4285 * calc/calc.el (calc-enter, calc-pop): Use the variable
4286 `calc-context-sensitive-enter'.
4287
cf91cee7
LMI
42882013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4289
4290 * net/shr.el (shr-insert): Protect against infloops in degenerate
4291 tables.
4292
51d971b4
RS
42932013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4294
4295 * progmodes/octave.el (octave): Add link to manual and octave
4296 homepage.
4297 (octave-mode-menu): Link to octave-mode manual.
4298
8c2e462a
LL
42992013-12-20 Leo Liu <sdl.web@gmail.com>
4300
4301 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4302 insertion using skeleton-end-newline. (Bug#16138)
4303
501158bc
JL
43042013-12-20 Juri Linkov <juri@jurta.org>
4305
4306 * replace.el (occur-engine): Use `add-face-text-property'
4307 to add the face property to matches and titles. (Bug#14645)
4308
4309 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4310 the palette of other hi-lock colors.
4311 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4312
50ab1da6
JL
43132013-12-19 Juri Linkov <juri@jurta.org>
4314
4315 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4316 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4317 (minibuffer-history-symbol): Move variable declaration closer to
4318 its usage.
4319
4320 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4321 (Bug#14785)
4322
3d6e95e7
JL
43232013-12-19 Juri Linkov <juri@jurta.org>
4324
4325 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4326 New function.
4327 (log-edit-hook): Add it to :options. (Bug#16170)
4328
b41594fd
JL
43292013-12-19 Juri Linkov <juri@jurta.org>
4330
4331 * simple.el (eval-expression-print-format): Don't check for
4332 command names and the last command. Always display additional
4333 formats of the integer result in the echo area, and insert them
4334 to the current buffer only with a zero prefix arg.
4335 Display character when char-displayable-p is non-nil.
4336 (eval-expression): With a zero prefix arg, set `print-length' and
4337 `print-level' to nil, and insert the integer values from
4338 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4339
4340 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4341 `eval-last-sexp-arg-internal'. Doc fix.
4342 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4343 `eval-last-sexp-print-value'. Doc fix.
4344 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4345 Set `print-length' and `print-level' to nil when arg is zero.
4346 (eval-last-sexp): Doc fix.
4347 (eval-defun-2): Print the integer values from
4348 `eval-expression-print-format' at the end.
4349
4350 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4351 values from `eval-expression-print-format' at the end.
4352
4353 * ielm.el (ielm-eval-input): Print the integer
4354 values from `eval-expression-print-format' at the end.
4355
8f2be364
TZ
43562013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4357
4358 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4359 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4360
2230a6e3
SM
43612013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4362
4363 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4364 (hl-line-highlight, global-hl-line-highlight): Use it.
4365 (hl-line-overlay): Use defvar-local.
4366
1269a680
JD
43672013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4368
4369 * term/ns-win.el: Require dnd.
4370 (global-map): Remove drag items.
4371 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
4372 (ns-set-background-at-mouse):
4373 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4374 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4375 New functions.
1269a680 4376
049638ad
GM
43772013-12-19 Glenn Morris <rgm@gnu.org>
4378
4379 * emacs-lisp/ert.el (ert-select-tests):
4380 Fix string/symbol mixup. (Bug#16121)
4381
ce41edb4
DG
43822013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4383
4384 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4385 keywords to their parent.
4386
7e1549c9
DG
43872013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4388
4389 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4390 first arg to be a string (fixed dead code), or an operator symbol.
4391 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4392 operator symbols.
4393 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4394 did nothing. Don't respond to `(:after ".")', it will be called
4395 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4396 change anything. Only return indentation for binary operators
4397 when they are hanging. De-dent opening paren when its parent is
4398 `.', otherwise it looks bad when the dot is not at bol or eol
4399 (bug#16182).
4400
3ee4cd64
JL
44012013-12-19 Juri Linkov <juri@jurta.org>
4402
4403 * replace.el (query-replace-read-args): Split a non-negative arg
4404 and a negative arg into separate elements.
4405 (query-replace, query-replace-regexp, replace-string)
4406 (replace-regexp): Add arg `backward'. Doc fix.
4407 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4408 move point to the beginning of the match.
4409 (replace-search, replace-highlight): Use new arg `backward'
4410 to set the value of `isearch-forward'.
4411 (perform-replace): Add arg `backward' and use it to perform
4412 replacement backward. (Bug#14979)
4413
4414 * isearch.el (isearch-query-replace): Use a negative prefix arg
4415 to call `perform-replace' with a non-nil arg `backward'.
4416
0cda6b7b
JL
44172013-12-18 Juri Linkov <juri@jurta.org>
4418
4419 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4420 to the default list. Move `log-edit-show-files' to the end.
4421 Add more available functions to options.
4422 (log-edit): Move default specific settings to
4423 `log-edit-insert-message-template'. Don't move point.
4424 (log-edit-insert-message-template): New function.
4425 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4426 (Bug#16170)
4427
b216f0a6
JL
44282013-12-18 Juri Linkov <juri@jurta.org>
4429
4430 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4431 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4432
1d1c55dc
LL
44332013-12-18 Leo Liu <sdl.web@gmail.com>
4434
e9dc713d
JB
4435 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4436 (Bug#16186)
1d1c55dc 4437
64e4c76e
EZ
44382013-12-18 Eli Zaretskii <eliz@gnu.org>
4439
4440 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4441 formats for displaying file sizes when the -s switch is given.
4442 Instead, compute a separate format for displaying the size in
4443 blocks, which is displayed in addition to the "regular" size.
4444 When -h is given in addition to -s, produce size in blocks in
4445 human-readable form as well. (Bug#16179)
4446
b2984e39
TH
44472013-12-18 Tassilo Horn <tsdh@gnu.org>
4448
2230a6e3
SM
4449 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4450 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 4451
50ff2e06
CY
44522013-12-18 Chong Yidong <cyd@gnu.org>
4453
0081bc84
CY
4454 * cus-edit.el (custom-magic-alist): Fix "themed" description
4455 (Bug#14348).
4456
a7ee9424
CY
4457 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4458 is non-nil, do not create a new entry in the symbol's theme-value
4459 or theme-face property; update theme-settings only (Bug#14664).
18874304 4460 (custom-available-themes): Doc fix.
a7ee9424 4461
8f942537
CY
4462 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4463 (Bug#15674).
4464
50ff2e06
CY
4465 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4466
83c60f60
KI
44672013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4468
4469 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4470 (Bug#13914).
4471
e0eb0550 44722013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
4473
4474 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4475
1f41ee56
GM
44762013-12-18 Glenn Morris <rgm@gnu.org>
4477
4478 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 4479 * cus-start.el (load-prefer-newer): New option.
1f41ee56 4480
e82134b1
LW
44812013-12-18 Le Wang <l26wang@gmail.com>
4482
2230a6e3
SM
4483 * comint.el (comint-previous-matching-input-from-input):
4484 Retain point (Bug#13404).
e82134b1 4485
33f5d4c1
CY
44862013-12-18 Chong Yidong <cyd@gnu.org>
4487
4488 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4489
ccc9f6dc
GM
44902013-12-18 Glenn Morris <rgm@gnu.org>
4491
4492 * mail/emacsbug.el (report-emacs-bug):
4493 Only mention enable-multibyte-characters if non-standard.
4494
33dd8e95
JL
44952013-12-17 Juri Linkov <juri@jurta.org>
4496
4497 * arc-mode.el (archive-extract-by-file): Check if directory exists
4498 before deletion to not show irrelevant errors if it doesn't exist.
4499
7a409b30
JL
45002013-12-17 Juri Linkov <juri@jurta.org>
4501
4502 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4503 (Bug#14751)
4504
4505 * net/eww.el (browse-web): Add alias to `eww'.
4506 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4507 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4508
4509 * net/browse-url.el (browse-url-browser-function): Move `eww'
4510 closer to similar functions.
4511
4512 * startup.el (fancy-startup-screen, fancy-about-screen):
4513 Set browse-url-browser-function to eww-browse-url locally.
4514 (Bug#14751)
4515
2d6b6005
SM
45162013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4517
4518 * window.el (window--pixel-to-total): Remove unused `mini' var.
4519 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4520 (split-window): Remove unused `new' var.
4521 (window--display-buffer): Remove unused `frame' and `delta' vars.
4522 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4523 and display-width'.
4524
cf2b7efc
MR
45252013-12-17 Martin Rudalics <rudalics@gmx.at>
4526
4527 * dired.el (dired-mark-pop-up):
4528 * register.el (register-preview): Don't bind
4529 split-height-threshold here since it's now done in
4530 display-buffer-below-selected.
4531
ed3af8a7 45322013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4533
4534 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4535 xterm-rgb-convert-to-16bit.
4536 (rxvt-register-default-colors): Standardize with
4537 xterm-register-default-colors (Bug#14078).
4538
76da3455
DK
45392013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4540
4541 * simple.el (kill-region): Pass mark first, then point, so that
4542 kill-append works right (Bug#12819).
4543 (copy-region-as-kill, kill-ring-save): Likewise.
4544
2b84d763
LL
45452013-12-17 Leo Liu <sdl.web@gmail.com>
4546
4547 * net/rcirc.el (rcirc-add-face):
4548 * eshell/em-prompt.el (eshell-emit-prompt):
4549 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4550 (Bug#16167)
4551
e2f6a0bc
CY
45522013-12-17 Chong Yidong <cyd@gnu.org>
4553
4554 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4555 Suggested by Xue Fuqiao.
4556
35b249a6
DG
45572013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4558
4559 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4560
e9145444
SM
45612013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * net/shr.el (shr-insert-document): Remove unused var
4564 `shr-preliminary-table-render'.
4565 (shr-rescale-image): Remove unused arg `force'.
4566 (shr-put-image): Update calls accordingly.
4567 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4568
5556c0ce
DG
45692013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4570
4571 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4572 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4573 :close-all, to see which indentation method to use (Bug#16116).
4574 (smie-rules-function): Document the method :close-all.
4575
11bade0a
LMI
45762013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4577
1c4b1e61
LMI
4578 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4579
11bade0a
LMI
4580 * net/eww.el (eww-display-html): If we can't find the anchor we're
4581 looking for, then go to point-min.
4582
8fb8c4f3
PE
45832013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4584
4585 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4586 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4587 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4588 Expand dir too, in case it's relative.
4589
6c8e0ae6
JL
45902013-12-16 Juri Linkov <juri@jurta.org>
4591
4592 * desktop.el (desktop-auto-save-timeout): Change default to
4593 `auto-save-timeout'. Doc fix.
4594 (desktop-save): Skip the timestamp in desktop-saved-frameset
4595 when checking for auto-save changes.
4596 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4597 `desktop-auto-save' is called repeatedly by the idle timer.
4598 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4599 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4600 (Bug#15331)
4601
2178e858
JL
46022013-12-16 Juri Linkov <juri@jurta.org>
4603
4604 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4605 (Bug#16035)
4606 (isearch-pre-command-hook): Check `this-command' for symbolp.
4607
39cb42c6
SM
46082013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4611
5b9b750a
TZ
46122013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4613
4614 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4615 (cfengine3--current-function): Bring in the current-function
4616 functionality from `cfengine3--current-word'.
4617 (cfengine3-completion-function): Bring in the
4618 bounds-of-current-word functionality from
4619 `cfengine3--current-word'.
4620
d144ef06
MR
46212013-12-16 Martin Rudalics <rudalics@gmx.at>
4622
39cb42c6
SM
4623 * window.el (display-buffer-below-selected):
4624 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 4625
a8bbe298
LL
46262013-12-16 Leo Liu <sdl.web@gmail.com>
4627
4628 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4629 Remove NOMSG arg and all uses changed.
4630
2013a2f9
SM
46312013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4632
4633 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4634 (cua--deactivate-rectangle): Don't deactivate the mark.
4635 (cua-set-rectangle-mark): Don't set mark-active since
4636 cua--activate-rectangle already does it for us.
4637 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4638 non-rectangular region.
4639
4640 * emulation/cua-base.el (cua-repeat-replace-region):
4641 Use with-current-buffer.
4642
4643 * net/gnutls.el: Use cl-lib.
4644 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4645
5ae811dd
TZ
46462013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4647
4648 * emacs-lisp/package.el (package-built-in-p): Support both
4649 built-in and the package.el converted package descriptions.
4650 (package-show-package-list): Allow keywords.
4651 (package-keyword-button-action): Use it instead of
4652 `finder-list-matches'.
4653 (package-menu-filter-interactive): Interactive filtering (by
4654 keyword) function.
4655 (package-menu--generate): Support keywords and change keymappings
4656 and headers when they are given.
4657 (package--has-keyword-p): Helper function.
4658 (package-menu--refresh): Use it.
4659 (package--mapc): Helper function.
4660 (package-all-keywords): Use it.
4661 (package-menu-mode-map): Set up menu items and keybindings to
4662 provide a filtering UI.
4663
31b4827e
TZ
46642013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4665
4666 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4667 the behavior when a certificate fails validation. Defaults to
4668 old behavior: never abort, just warn.
4669 (gnutls-negotiate): Use it.
4670
f93cc74f
MR
46712013-12-14 Martin Rudalics <rudalics@gmx.at>
4672
4673 * window.el (display-buffer-below-selected): Never split window
4674 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4675
f77d7d17
TW
46762013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4677
4678 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4679 (package-buffer-info): Use it (bug#15108).
aa2bddd7 4680
7514d3f8
SM
46812013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4682
aa2bddd7 4683 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 4684 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 4685
276bc333
DG
46862013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4687
4688 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4689 open-paren tokens when preceded by a open-paren, too.
4690 (ruby-smie-rules): Handle virtual indentation after open-paren
4691 tokens specially. If there is code between it and eol, return the
4692 column where is starts (Bug#16118).
4693
d43957f3
TZ
46942013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4695
a5c1ac0c 4696 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 4697 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
4698 (cfengine3--current-word): Fix parameters.
4699 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
4700 (cfengine3-completion-function, cfengine3--current-function):
4701 Use `assq' for symbols.
d43957f3
TZ
4702 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4703
06a4f110
GM
47042013-12-13 Glenn Morris <rgm@gnu.org>
4705
4706 * loadup.el (load-path): Warn if site-load or site-init changes it.
4707 No more need to reset it when bootstrapping.
4708
978a5fda
TZ
47092013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4710
4711 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4712 locations for cf-promises.
4713 (cfengine-mode-syntax-functions-regex): New caching variable.
4714 (cfengine3-fallback-syntax): Fallback syntax for cases where
4715 cf-promises doesn't run.
4716 (cfengine3--current-word): Reimplement using
4717 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
4718 (cfengine3-completion-function, cfengine3--current-function):
4719 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
4720 (cfengine3-clear-syntax-cache): New function.
4721 (cfengine3-make-syntax-cache): Simplify and create
4722 `cfengine-mode-syntax-functions-regex' on demand.
4723 (cfengine3-format-function-docstring): Don't call
4724 `cfengine3-make-syntax-cache' explicitly.
4725
71e6691e
MR
47262013-12-13 Martin Rudalics <rudalics@gmx.at>
4727
4728 Fix windmove-find-other-window broken after pixelwise resizing
4729 (Bug#16017).
4730 * windmove.el (windmove-other-window-loc): Revert change from
4731 2013-12-04.
4732 (windmove-find-other-window): Call window-in-direction.
4733 * window.el (window-in-direction): New arguments SIGN, WRAP and
4734 MINI to emulate original windmove-find-other-window behavior.
4735
84c73ba0
DG
47362013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4737
4738 * simple.el (blink-matching--overlay): New variable.
4739 (blink-matching-open): Instead of moving point, highlight the
4740 matching paren with an overlay
4741 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4742
4743 * faces.el (paren-showing-faces, show-paren-match)
4744 (show-paren-mismatch): Move from paren.el.
4745
b9e20952
LL
47462013-12-13 Leo Liu <sdl.web@gmail.com>
4747
4748 * indent.el (indent-region): Disable progress reporter in
4749 minibuffer. (Bug#16108)
4750
4751 * bindings.el (visual-order-cursor-movement): Fix version.
4752
ce030451
FEG
47532013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4754
4755 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4756 Also match after beginning of line.
4757 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 4758 files. Thanks to Russell Sim. (Bug#15378)
ce030451 4759
4a9c6865
JL
47602013-12-13 Juri Linkov <juri@jurta.org>
4761
4762 * simple.el <Keypad support>: Remove key bindings duplicated
4763 with bindings.el. (Bug#14397)
4764
2bc170c3
JL
47652013-12-13 Juri Linkov <juri@jurta.org>
4766
4767 * comint.el (comint-mode-map): Replace `delete-char' with
4768 `delete-forward-char'. (Bug#16109)
4769
bc9222c9
FEG
47702013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4771
aa2bddd7 4772 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 4773 Fix de-denters cornercase. (Bug#15731)
bc9222c9 4774
cb3a1380
SM
47752013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4778 (advice--make): Pay attention to `depth'.
4779 (advice--make-1): Don't autoload commands eagerly.
4780 * emacs-lisp/elp.el (elp-instrument-function):
4781 * emacs-lisp/trace.el (trace-function-internal):
4782 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4783
4784 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4785
01633a17
EZ
47862013-12-12 Eli Zaretskii <eliz@gnu.org>
4787
4788 * term/w32-win.el (w32-handle-dropped-file):
4789 * startup.el (normal-top-level):
4790 * net/browse-url.el (browse-url-file-url):
4791 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4792 decode file names using 'utf-8' rather than
4793 file-name-coding-system.
4794
09faee72
FEG
47952013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4796
4797 * progmodes/python.el (python-indent-context)
4798 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 4799 behavior for comment blocks. (Bug#15916)
09faee72 4800
f4f84024 48012013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 4802
cb3a1380
SM
4803 * progmodes/python.el (python-indent-calculate-indentation):
4804 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
4805 operators when they are just string constituents. (Bug#15812)
4806
d5ccb7be
JL
48072013-12-12 Juri Linkov <juri@jurta.org>
4808
4809 * uniquify.el (uniquify-buffer-name-style): Change default to
4810 `post-forward-angle-brackets'.
4811
4812 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4813 `uniquify'. Change default to `post-forward-angle-brackets'.
4814
7b3f5679
GM
48152013-12-11 Glenn Morris <rgm@gnu.org>
4816
4817 * emacs-lisp/package.el (finder-list-matches):
4818 Autoload rather than falsely declaring.
4819
f4fe8fdd
TZ
48202013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4821
4822 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4823 (eww-mode-map): Use them.
4824
3c29190f
MR
48252013-12-11 Martin Rudalics <rudalics@gmx.at>
4826
4827 * window.el (display-buffer-in-side-window): Fix doc-string
4828 (Bug#16115).
4829
0cd616a2
JB
48302013-12-11 Juanma Barranquero <lekktu@gmail.com>
4831
4832 * vc/vc-git.el: Silence byte-compiler warnings.
4833 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4834 (log-edit-set-header): Declare.
4835
3ef8e0d1
EZ
48362013-12-11 Eli Zaretskii <eliz@gnu.org>
4837
4838 * Makefile.in (custom-deps, finder-data): Run output file names
4839 through unmsys--file-name. (Bug#16099)
4840
afdadaf7
SM
48412013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4842
7ae3ae39 4843 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 4844 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 4845
5b4f37ab
SM
4846 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4847 instead of deleting the selection "by hand" (bug#16098).
4848 Rely on insert-for-yank to yank rectangles.
4849 (cua-highlight-region-shift-only): Mark obsolete.
4850 (cua-mode): Don't enable/disable transient-mark-mode,
4851 shift-select-mode (cua-mode works both with and without them), and
4852 pc-selection-mode (obsolete).
4853 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4854 (cua--deactivate-rectangle): Deactivate it.
4855
4b72c12b
SM
4856 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4857 (delete-selection-helper): Make sure yank starts at the top of the
4858 deleted region.
4859 (minibuffer-keyboard-quit): Use region-active-p.
4860
e82af72d
SM
4861 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4862
afdadaf7
SM
4863 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4864 to `delete' (bug#16109).
4865
ed4bc201
RS
48662013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4867
4868 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4869 info manual and show keybindings and set `:group' keyword.
4870
bb8097b9
JL
48712013-12-11 Juri Linkov <juri@jurta.org>
4872
4873 * delsel.el (delete-active-region): Let-bind `this-command'
4874 to prevent `kill-region' from changing its original value.
4875 (delete-selection-helper): Handle `overwrite-mode' for the type
4876 `kill' exactly the same way as for the type `t'.
4877 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4878 Support more commands. (Bug#13312)
4879
c1916ff5
JL
48802013-12-11 Juri Linkov <juri@jurta.org>
4881
4882 * bindings.el: Map kp keys to non-kp keys systematically
4883 with basic modifiers control, meta and shift. (Bug#14397)
4884
7514d3f8 48852013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
4886
4887 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4888 "Close browser" menu items. Fix wrong function of "List
4889 bookmarks".
4890
4cc51eaf
JL
48912013-12-11 Juri Linkov <juri@jurta.org>
4892
4893 * misearch.el (multi-isearch-buffers): Set the value of
4894 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4895 arg of isearch-forward to t.
4896 (multi-isearch-buffers-regexp): Set the value of
4897 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4898 arg of isearch-forward-regexp to t.
4899 (multi-isearch-files): Set the value of
4900 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4901 arg of isearch-forward to t.
4902 (multi-isearch-files-regexp): Set the value of
c295fc18 4903 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
4904 arg of isearch-forward-regexp to t. (Bug#16035)
4905
4906 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4907 arg of isearch-forward to t.
4908 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4909 arg of isearch-forward-regexp to t.
4910 (dired-isearch-filter-filenames): Remove unnecessary check for
4911 `dired-isearch-filenames'.
4912
4913 * comint.el (comint-history-isearch-backward):
4914 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4915 (comint-history-isearch-backward-regexp):
4916 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4917
ceac12b7
EZ
49182013-12-10 Eli Zaretskii <eliz@gnu.org>
4919
4920 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4921 unmsys--file-name. (Bug#16099)
4922
5a565782
TZ
49232013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4924
cb3a1380
SM
4925 * emacs-lisp/package.el (package-keyword-button-action):
4926 Remove finder.el require dependency.
5a565782 4927
a81fc7ba
TZ
49282013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4929
4930 * emacs-lisp/package.el: Require finder.el.
4931 (describe-package-1): Add keyword buttons.
4932 (package-make-button): New convenience function.
4933 (package-keyword-button-action): Keyword button action using
e0eb0550 4934 `finder-list-matches'.
a81fc7ba 4935
6aaca951
EZ
49362013-12-09 Eli Zaretskii <eliz@gnu.org>
4937
4938 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4939 last commit.
4940
a1099a91
MA
49412013-12-09 Michael Albinus <michael.albinus@gmx.de>
4942
4943 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4944 symlinked files.
4945
8212d9c0
DG
49462013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4947
4948 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4949 after the end of a percent literal.
4950
8f48d131
CD
49512013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4952
cb3a1380
SM
4953 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4954 Handle caret-delimited strings (Bug#16079).
8f48d131 4955
ff8c9764
DG
49562013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4957
cb3a1380
SM
4958 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4959 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
4960 `ruby-parse-partial' (Bug#16078).
4961
d64643b4
LL
49622013-12-09 Leo Liu <sdl.web@gmail.com>
4963
4964 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4965
47e59c66
DG
49662013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4967
4968 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4969 (js-switch-indent-offset): New option.
4970 (js--proper-indentation): Use it. And handle the case when
4971 "default" is actually a key in an object literal.
4972 (js--same-line): New function.
4973 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
4974 (js--indent-in-array-comp, js--array-comp-indentation):
4975 New functions.
47e59c66
DG
4976 (js--proper-indentation): Use them, to handle array comprehension
4977 continuations.
4978
974ebc9c
LL
49792013-12-08 Leo Liu <sdl.web@gmail.com>
4980
4981 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4982 (flymake-make-overlay): Remove arg MOUSE-FACE.
4983 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4984
27262e39
SM
49852013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4988 New function.
4989 (redisplay-highlight-region-function): Use it.
4990
4991 * emulation/cua-base.el (cua--explicit-region-start)
4992 (cua--last-region-shifted): Remove.
4993 (cua--deactivate): Use deactivate-mark.
4994 (cua--pre-command-handler-1): Don't handle shift-selection.
4995 (cua--post-command-handler-1): Don't change transient-mark-mode.
4996 (cua--select-keymaps): Use region-active-p rather than
4997 cua--explicit-region-start or cua--last-region-shifted.
4998 (cua-mode): Enable shift-select-mode.
4999
6407822c
LL
50002013-12-08 Leo Liu <sdl.web@gmail.com>
5001
27262e39
SM
5002 * progmodes/flymake.el (flymake-popup-current-error-menu):
5003 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
5004 (flymake-posn-at-point-as-event, flymake-popup-menu)
5005 (flymake-make-emacs-menu): Remove. (Bug#16077)
5006
00a2b823
SM
50072013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5008
02033d49
SM
5009 * rect.el (rectangle-mark-mode): Activate mark even if
5010 transient-mark-mode is off (bug#16066).
5011 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5012 is > mark and at bolp.
5013
6f8dfccf
SM
5014 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5015 (region-extract-function): Use it.
5016 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5017 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5018 Delete functions.
5019 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5020 kill-ring-save, kill-region, delete-char, delete-forward-char.
5021 Ignore self-insert-iso.
5022
5023 * emulation/cua-gmrk.el (cua--init-global-mark):
5024 Ignore `self-insert-iso'.
5025
5026 * emulation/cua-base.el (cua--prefix-copy-handler)
5027 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5028 checking cua--rectangle.
5029 (cua-delete-region): Use region-extract-function.
5030 (cua-replace-region): Delete function.
5031 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5032 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5033 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5034 (cua--init-keymaps): Don't remap delete-selection commands.
5035 (cua-mode): Use delete-selection-mode instead of rolling our own
5036 (bug#16085).
5037
5038 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5039 Obey region-extract-function.
5040
00a2b823
SM
5041 Make registers and delete-selection-mode work on rectangles.
5042 * register.el (describe-register-1): Don't modify the register's value.
5043 (copy-to-register): Obey region-extract-function.
5044 * delsel.el (delete-active-region): Obey region-extract-function.
5045
a92fa5f1
LL
50462013-12-08 Leo Liu <sdl.web@gmail.com>
5047
5048 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5049 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5050 (flymake-compilation-prevents-syntax-check)
5051 (flymake-start-syntax-check-on-newline)
5052 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5053 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5054 (flymake-xml-program, flymake-master-file-dirs)
5055 (flymake-master-file-count-limit)
5056 (flymake-allowed-file-name-masks): Relocate.
5057 (flymake-makehash, flymake-float-time)
5058 (flymake-replace-regexp-in-string, flymake-split-string)
5059 (flymake-get-temp-dir): Remove.
5060 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5061 (flymake-current-row, flymake-selected-frame)
5062 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5063 related functions. (Bug#16077)
5064
73c8ceea
BB
50652013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5066
5067 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5068
faec28d9
TH
50692013-12-07 Tassilo Horn <tsdh@gnu.org>
5070
5071 * help-fns.el (describe-function-1): Use new advice-* functions
5072 rather than old ad-* functions. Fix function type description and
5073 source links for advised functions and subrs.
5074
e330b646
LMI
50752013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5076
00a2b823 5077 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 5078
4803595d
MA
50792013-12-06 Michael Albinus <michael.albinus@gmx.de>
5080
5081 * progmodes/compile.el (compilation-start):
5082 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5083
5084 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5085 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5086
fa834a93
DG
50872013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5088
00a2b823
SM
5089 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5090 Touch up the last change.
fa834a93 5091
b2856a6f
LL
50922013-12-06 Leo Liu <sdl.web@gmail.com>
5093
5094 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5095 (inferior-octave-startup): Always use "octave> " for prompt.
5096 (octave-goto-function-definition)
5097 (octave-sync-function-file-names)
5098 (octave-find-definition-default-filename): Remove redundant backquotes.
5099
af67e79a
DG
51002013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5101
5102 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5103 syntax for `?'.
5104 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5105 where appropriate already.
5106 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5107 end of method names (Bug#15874).
5108
bf093209
JL
51092013-12-06 Juri Linkov <juri@jurta.org>
5110
5111 * isearch.el (isearch--saved-overriding-local-map):
5112 New internal variable.
5113 (isearch-mode): Set it to the initial value of
5114 `overriding-terminal-local-map'.
5115 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5116 with `isearch--saved-overriding-local-map'. (Bug#16035)
5117
16588fad
DG
51182013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5119
00a2b823
SM
5120 * progmodes/octave.el (inferior-octave-completion-table):
5121 Turn back into function, use `completion-table-with-cache'
16588fad
DG
5122 (Bug#11906). Update all references.
5123
5124 * minibuffer.el (completion-table-with-cache): New function.
5125
bf4906d7
CD
51262013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5127
5128 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5129
ff69c18f
TZ
51302013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5131
5132 * net/eww.el (eww-current-source): New variable to store page
5133 source.
5134 (eww-display-html, eww-mode, eww-save-history)
5135 (eww-restore-history): Use it.
5136 (eww-view-source): New command to view page source.
5137 Opportunistically uses `html-mode' to highlight the buffer.
5138 (eww-mode-map): Install it.
5139
b85eff45
MA
51402013-12-05 Michael Albinus <michael.albinus@gmx.de>
5141
5142 * net/dbus.el (dbus-unregister-service)
5143 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5144 Fix docstring.
5145 (dbus-unregister-service): Skip :serial entries in
5146 `dbus-registered-objects-table'.
5147 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5148
39eb0899
TZ
51492013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5150
5151 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5152 around keywords with extra `split-string' argument.
5153
456760a5
MR
51542013-12-04 Martin Rudalics <rudalics@gmx.at>
5155
5156 * windmove.el (windmove-other-window-loc): Handle navigation
5157 between windows (excluding the minibuffer window - Bug#16017).
5158
81961e4c
MA
51592013-12-04 Michael Albinus <michael.albinus@gmx.de>
5160
5161 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5162 in D-Bus type syntax.
5163 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5164 preserve unibyte strings. (Bug#16048)
5165
8497f938
SM
51662013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5167
5168 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5169 Call force-mode-line-update is the proper buffer (bug#16042).
5170
dda61916
DG
51712013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5172
5173 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5174 `log-edit-remember-comment', make argument optional. Adjust all
5175 callers.
5176 (log-edit-mode): Add `log-edit-remember-comment' to
5177 `kill-buffer-hook' locally.
5178 (log-edit-kill-buffer): Don't remember comment explicitly since
5179 the buffer is killed anyway.
5180
c085e5b9
JL
51812013-12-04 Juri Linkov <juri@jurta.org>
5182
5183 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5184 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5185
e0eb0550 51862013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
5187
5188 * notifications.el (notifications-close-notification): Call the
81961e4c 5189 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 5190
39fa32d6
KY
51912013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5192
5193 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5194
9139632a
JL
51952013-12-03 Juri Linkov <juri@jurta.org>
5196
5197 * progmodes/compile.el (compilation-start): Rename window alist
5198 entry `no-display-ok' to `allow-no-window'.
5199
5200 * simple.el (shell-command): Add window alist entry
5201 `allow-no-window' to `display-buffer'.
5202 (async-shell-command): Doc fix.
5203
5204 * window.el (display-buffer-no-window): New action function.
5205 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5206
0f457a37
DG
52072013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5208
5209 * vc/log-edit.el (log-edit-set-header): Extract from
5210 `log-edit-toggle-header'.
5211 (log-edit-extract-headers): Separate the summary, when extracted
5212 from header, from the rest of the message with an empty line.
5213
5214 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5215 line, if present, to the Summary header.
5216
0962f376
SM
52172013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5218
5219 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5220 in current-buffer (bug#16029).
5221
f345395c
HE
52222013-12-02 Helmut Eller <eller.helmut@gmail.com>
5223
5224 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5225 (debugger-mode-map): Bind it.
5226 (debugger--backtrace-base): New function.
5227 (debugger-eval-expression): Use it.
5228 (debugger-frame-number): Skip local vars when present.
5229 (debugger--locals-visible-p, debugger--insert-locals)
5230 (debugger--show-locals, debugger--hide-locals): New functions.
5231
a8a15d9d
MA
52322013-12-02 Michael Albinus <michael.albinus@gmx.de>
5233
5234 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5235 "LC_ALL".
5236 (tramp-get-remote-locale): New defun.
5237 (tramp-open-connection-setup-interactive-shell): Use it.
5238
0518b057
LL
52392013-12-02 Leo Liu <sdl.web@gmail.com>
5240
5241 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5242
5243 * progmodes/sh-script.el (sh-shell-process):
5244 * progmodes/octave.el (inferior-octave-process-live-p):
5245 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5246 (gdb-inferior-io-sentinel):
5247 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5248
3adc9c6d
DG
52492013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5250
5251 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5252 `save-selected-window' to `log-edit-hide-buf'. This makes
5253 `log-edit-show-files' idempotent.
5254 (log-edit-show-files): Mark the new window as dedicated.
5255
47e8b74e
DG
52562013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5257
5258 * vc/log-edit.el (log-edit-mode-map): Add binding for
5259 `log-edit-kill-biffer'.
5260 (log-edit-hide-buf): Add a FIXME comment.
5261 (log-edit-add-new-comment): New function, extracted from
5262 `log-edit-done'.
5263 (log-edit-done, log-edit-add-to-changelog): Use it.
5264 (log-edit-kill-buffer): New command.
5265
1f6e1bb0
LMI
52662013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5267
5268 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5269 instead of killing the buffer.
5270
fb651d15
SM
52712013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5274
8feacce0
RS
52752013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5276
fb651d15 5277 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 5278 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
5279 (eww-form-checkbox, eww-toggle-checkbox):
5280 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5281
e0eb0550 5282 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 5283 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 5284 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
5285 no :src tag was specified.
5286
fb651d15 5287 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
5288 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5289 Use \\` to match beginning of string instead of ^.
5290 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 5291 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 5292
177948a5
RS
5293 * net/shr.el (shr-tag-video): Display content for video if no
5294 poster is available.
eb2dd24d 5295 (shr-tag-audio): Add support for <audio> tag.
177948a5 5296
e0eb0550 5297 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
5298 (eww-process-text-input): Treat input types in
5299 `eww-text-input-types' as text.
5300
8feacce0
RS
5301 * net/shr.el (shr-tag-table): Fix comment typo.
5302
513562a1
LMI
53032013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5304
5305 * net/eww.el (eww-follow-link): New command to avoid reloading
5306 pages when we follow #target links (bug#15243).
de8a5633 5307 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 5308
9dd99753
KN
53092013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5310
5311 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5312 forms.
5313
3e9876de
LMI
53142013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5315
5316 * net/eww.el (eww-restore-history): Update the window title after
5317 moving in the history.
ab6dea82 5318 (eww-current-dom): New variable used to save the current DOM.
3e9876de 5319
52789f7f
DG
53202013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5321
5322 * vc/log-edit.el (log-edit-mode-map): Add binding for
5323 `log-edit-beginning-of-line'.
5324 (log-edit-setup-add-author): New user option.
5325 (log-edit-beginning-of-line): New command.
5326 (log-edit): Move major mode call above the contents setup so that
5327 the local variable values are already applied.
5328 (log-edit): Only insert "Author: " when
5329 `log-edit-setup-add-author' is non-nil.
5330 (log-edit): When SETUP is non-nil, position point after ": "
5331 instead of point-min.
5332
2e6710c3
GM
53332013-12-01 Glenn Morris <rgm@gnu.org>
5334
5335 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5336
fadec31f
EZ
53372013-11-30 Eli Zaretskii <eliz@gnu.org>
5338
5339 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 5340 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
5341 visible. (Bug#16014)
5342
10634b40 53432013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
5344
5345 Support resizing frames and windows pixelwise.
5346 * cus-start.el (frame-resize-pixelwise)
5347 (window-resize-pixelwise): New entries.
5348 * emacs-lisp/debug.el (debug): Use window-total-height instead
5349 of window-total-size.
5350 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
5351 * help.el (describe-bindings-internal): Use help-buffer as
5352 argument for with-help-window.
880e6158
MR
5353 (temp-buffer-max-width): New option.
5354 (resize-temp-buffer-window, help-window-setup)
5355 (with-help-window): Rewrite.
5356 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5357 dragging dividers.
5358 * window.el (frame-char-size, window-min-pixel-height)
5359 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5360 (window-min-pixel-width, window-safe-min-pixel-size)
5361 (window-combination-p, window-safe-min-size)
5362 (window-resizable-p, window--size-to-pixel)
5363 (window--pixel-to-size, window--resize-apply-p): New functions.
5364 (window-safe-min-height): Fix doc-string.
5365 (window-size, window-min-size, window--min-size-1)
5366 (window-sizable, window-sizable-p, window--min-delta-1)
5367 (window-min-delta, window--max-delta-1, window-max-delta)
5368 (window--resizable, window--resizable-p, window-resizable)
5369 (window-full-height-p, window-full-width-p, window-at-side-p)
5370 (window--in-direction-2, window-in-direction)
5371 (window--resize-reset-1, window--resize-mini-window)
5372 (window-resize, window-resize-no-error)
5373 (window--resize-child-windows-normal)
5374 (window--resize-child-windows, window--resize-siblings)
5375 (window--resize-this-window, window--resize-root-window)
5376 (window--resize-root-window-vertically)
5377 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5378 (maximize-window, minimize-window, delete-window)
5379 (quit-restore-window, window-split-min-size, split-window)
5380 (balance-windows-2, balance-windows)
5381 (balance-windows-area-adjust, balance-windows-area)
5382 (window--state-get-1, window-state-get, window--state-put-1)
5383 (window--state-put-2, window-state-put)
fb651d15
SM
5384 (display-buffer-record-window, window--display-buffer):
5385 Make functions handle pixelwise sizing of windows.
880e6158 5386 (display-buffer--action-function-custom-type)
fb651d15
SM
5387 (display-buffer-fallback-action):
5388 Add display-buffer-in-previous-window.
880e6158
MR
5389 (display-buffer-use-some-window): Resize window to height it had
5390 before.
5391 (fit-window-to-buffer-horizontally): New option.
5392 (fit-frame-to-buffer): Describe new values.
5393 (fit-frame-to-buffer-bottom-margin): Replace with
5394 fit-frame-to-buffer-margins.
5395 (window--sanitize-margin): New function.
5396 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5397 using window-text-pixel-size.
5398
f9b697dd
GM
53992013-11-30 Glenn Morris <rgm@gnu.org>
5400
3e2fb4db
GM
5401 * emacs-lisp/bytecomp.el (byte-compile-form):
5402 Make the `interactive-only' warning like the `obsolete' one.
5403 * comint.el (comint-run):
5404 * files.el (insert-file-literally, insert-file):
5405 * replace.el (replace-string, replace-regexp):
5406 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5407 (goto-line, insert-buffer, next-line, previous-line):
5408 Tweak `interactive-only' spec.
5409
f9b697dd
GM
5410 Stop keeping (most) generated cedet grammar files in the repository.
5411 * Makefile.in (semantic): New.
5412 (compile-main): Depend on semantic.
5413
da048127
SM
54142013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5415
7784b779
SM
5416 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5417 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5418
4e36a6a6
SM
5419 * uniquify.el (uniquify-buffer-name-style): Change default.
5420
5421 * loadup.el: Preload "uniquify".
5422
e0ba1308
SM
5423 * time.el (display-time-update): Update all mode lines (bug#15999).
5424
da048127
SM
5425 * electric.el (electric-indent-mode): Enable by default.
5426 * loadup.el: Preload "electric".
5427
015b3b3e
BB
54282013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5429
5430 * emacs-lisp/helpers.el (string-empty-p): New function.
5431 (string-blank-p): New function.
5432
7efb806d
AP
54332013-11-29 Andreas Politz <politza@hochschule-trier.de>
5434
5435 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5436 (Bug#14029).
5437
c8f0efc2
AP
54382013-11-29 Andreas Politz <politza@fh-trier.de>
5439 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5440 allow non-lambda lists as functions.
5441 (imenu--in-alist): Don't recurse into non-subalists.
5442 (imenu): Don't pass function itself as an argument (Bug#14029).
5443
bd15d9d1
SM
54442013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5445
5446 * progmodes/python.el (python-mode-map): Remove binding for ":".
5447 (python-indent-electric-colon): Remove command.
5448 (python-indent-post-self-insert-function): Integrate the previous code
5449 of python-indent-electric-colon. Make it conditional on
5450 electric-indent-mode.
5451 (python-mode): Add ?: to electric-indent-chars.
5452 Move python-indent-post-self-insert-function to the end of
5453 post-self-insert-hook.
5454
1b10adb6
SM
54552013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5456
655ab9a3
SM
5457 * doc-view.el (doc-view-goto-page): Update mode-line.
5458
1b10adb6
SM
5459 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5460
7e3bf78c
GM
54612013-11-27 Glenn Morris <rgm@gnu.org>
5462
5463 * international/charprop.el, international/uni-bidi.el:
5464 * international/uni-category.el, international/uni-combining.el:
5465 * international/uni-comment.el, international/uni-decimal.el:
5466 * international/uni-decomposition.el, international/uni-digit.el:
5467 * international/uni-lowercase.el, international/uni-mirrored.el:
5468 * international/uni-name.el, international/uni-numeric.el:
5469 * international/uni-old-name.el, international/uni-titlecase.el:
5470 * international/uni-uppercase.el:
5471 Remove generated files from VCS repository.
5472
fb6a5d68
EZ
54732013-11-27 Eli Zaretskii <eliz@gnu.org>
5474
5475 * filenotify.el (file-notify-add-watch): Don't special-case
5476 w32notify when computing the directory to watch.
5477
cb6c95a3
GM
54782013-11-27 Glenn Morris <rgm@gnu.org>
5479
20372d0c
GM
5480 Make bootstrap without generated uni-*.el files possible again.
5481 * loadup.el: Update command-line-args checking for unidata-gen.
5482 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5483 * composite.el, international/characters.el:
5484 Handle unicode tables being undefined.
5485
52d6635f 5486 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
5487 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5488 (compile-main): Depend on leim rule.
5489 (leim): New rule.
5490 * loadup.el: Move leim-list.el to leim/ subdirectory.
5491 * startup.el (normal-top-level): No more leim directory.
5492 * international/ja-dic-cnv.el (skkdic-convert):
5493 Disable version-control and autoloads in output files.
5494 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5495 Disable version-control and autoloads in output files.
5496 * leim/quail: Move here from ../leim.
5497 * leim/quail/hangul.el (hangul-input-method-activate):
5498 Add autoload cookie.
5499 (generated-autoload-load-name): Set file-local value.
5500 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5501 (generated-autoload-load-name): Set file-local value.
5502
7514d3f8 55032013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 5504
e0eb0550 5505 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 5506 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 5507 (eww-quit): Ask confirmation before quitting eww.
e47112ee 5508
0e2c793f
EZ
55092013-11-26 Eli Zaretskii <eliz@gnu.org>
5510
5511 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5512 reading output from Diff on MS-Windows and MS-DOS.
5513
447bdcb8
BB
55142013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5515
5516 * emacs-lisp/helpers.el (string-reverse): New function.
5517
5fbf6856
MA
55182013-11-26 Michael Albinus <michael.albinus@gmx.de>
5519
5520 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5521 names on MS Windows, like "/[::1]:".
5522
5523 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5524 SWITCHES.
5525
624780f0
GM
55262013-11-26 Glenn Morris <rgm@gnu.org>
5527
0bf3f0fa
GM
5528 * progmodes/python.el (python-indent-guess-indent-offset):
5529 Avoid corner-case error. (Bug#15975)
5530
624780f0
GM
5531 Preload leim-list.el. (Bug#4789)
5532 * loadup.el: Load leim-list.el when found.
5533 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5534
4301875e 55352013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
5536
5537 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5538
4301875e
BB
5539 * emacs-lisp/helpers.el (string-join): New function.
5540
1633a815 55412013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
5542
5543 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5544 Mark as obsolete and replace it with a symbol property.
5545 (byte-compile-form): Use new 'interactive-only property.
5546 * comint.el, files.el, replace.el, simple.el:
5547 Apply new 'interactive-only properly.
5548
00139435
MR
55492013-11-25 Martin Rudalics <rudalics@gmx.at>
5550
5551 * window.el (display-buffer-at-bottom): Make sure that
5552 split-window-sensibly creates the new window on bottom
5553 (Bug#15961).
5554
5f5b128d
DK
55552013-11-23 David Kastrup <dak@gnu.org>
5556
5557 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5558 on the conflict markers when available.
5559 (smerge--get-marker): New function.
5560 (smerge-end-re, smerge-base-re): Add subgroup.
5561
623891e5
SM
55622013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * frame.el (handle-focus-in, handle-focus-out): Add missing
5565 interactive spec.
5566
05ca27d8
MA
55672013-11-25 Michael Albinus <michael.albinus@gmx.de>
5568
5569 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5570 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5571
511fa0d3
SM
55722013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5573
e82ad66c
SM
5574 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5575 (gomoku--last-pos): New var.
5576 (gomoku--intangible-chars): New const.
5577 (gomoku--intangible): New function.
5578 (gomoku-mode): Use it. Derive from special-mode.
5579 (gomoku-move-up): Adjust line count.
5580 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5581 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5582 Simplify accordingly.
5583
511fa0d3
SM
5584 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5585 Remove blink-cursor code.
5586 (blink-cursor-timer-function, blink-cursor-suspend):
5587 Don't special-case GUIs.
5588 (blink-cursor-mode): Use focus-in/out-hook.
5589
6f20dd03
DG
55902013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5591
5592 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5593 work when annotation is invisible (Bug#13886).
5594
431dec31 55952013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
5596
5597 * json.el (json-alist-p): Only return non-nil if the alist has
5598 simple keys (Bug#13518).
5599
431dec31 56002013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
5601
5602 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5603 when control-statement is the first statement in a buffer (Bug#15956).
5604
ee4f0261
DG
56052013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5606
5607 * imenu.el (imenu-generic-skip-comments-and-strings):
5608 New option (Bug#15560).
5609 (imenu--generic-function): Use it.
5610
c484f866
JS
56112013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5612
e9dc713d
JB
5613 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5614 (Bug#13898)
c484f866 5615
41ce6f70
BB
56162013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5617
b55aea38
BB
5618 * emacs-lisp/helpers.el: Add some string helpers.
5619 (string-trim-left): Removes leading whitespace.
5620 (string-trim-right): Removes trailing whitespace.
5621 (string-trim): Removes leading and trailing whitespace.
5622
41ce6f70
BB
5623 * subr.el (string-suffix-p): New function.
5624
3cfb6af3
GM
56252013-11-23 Glenn Morris <rgm@gnu.org>
5626
5627 * progmodes/python.el (python-shell-send-file):
5628 Add option to delete file when done. (Bug#15647)
5629 (python-shell-send-string, python-shell-send-region): Use it.
5630
c27924b7
IS
56312013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5632
e1b01c7f
IS
5633 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5634 to set buffer-read-only to t, never to nil. (Bug#15938)
5635
c27924b7
IS
5636 * textmodes/tex-mode.el (latex-noindent-environments):
5637 Add safe-local-variable property. (Bug#15936)
5638
17e0445b
GM
56392013-11-23 Glenn Morris <rgm@gnu.org>
5640
92f78ea3
GM
5641 * textmodes/enriched.el (enriched-mode): Doc fix.
5642 * emacs-lisp/authors.el (authors-renamed-files-alist):
5643 Add enriched.doc -> enriched.txt.
5644
17e0445b
GM
5645 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5646
965bb23a
LL
56472013-11-22 Leo Liu <sdl.web@gmail.com>
5648
5649 * progmodes/octave.el (inferior-octave-startup): Spit out error
5650 message.
5651
d19ffd64
BB
56522013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5653
5654 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5655 Improve docstring.
15ba2182
BB
5656 Add :version.
5657 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 5658
7a7567d2
LL
56592013-11-22 Leo Liu <sdl.web@gmail.com>
5660
5661 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5662 (Bug#15076)
8c09f64b
LL
5663 (octave-help-mode): Adapt to change to help-mode-finish to use
5664 derived-mode-p on 2013-09-17.
5665 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 5666 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 5667
724bc265
LL
56682013-11-22 Leo Liu <sdl.web@gmail.com>
5669
5670 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5671 (inferior-octave-startup, inferior-octave-check-process)
5672 (inferior-octave-track-window-width-change)
5673 (octave-completion-at-point, octave-eldoc-function): Use it.
5674 (octave-kill-process): Provide confirmation. (Bug#10564)
5675
38637cca
LL
56762013-11-21 Leo Liu <sdl.web@gmail.com>
5677
511fa0d3
SM
5678 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5679 Fix obsolete variable comment-use-global-state.
38637cca 5680
06e752b4
RS
56812013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5682
511fa0d3
SM
5683 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5684 Add `octave-source-file'.
06e752b4
RS
5685 (octave-source-file): New function. (Bug#15935)
5686
7514d3f8 56872013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
5688
5689 * net/eww.el (eww-local-regex): New variable.
5690 (eww): Use it to detect localhost and similar.
5691
b6ffa04a
LL
56922013-11-21 Leo Liu <sdl.web@gmail.com>
5693
5694 Add completion for command `ag'.
2021a200
LL
5695 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5696 (pcomplete/ag): New function.
e9dc713d 5697 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 5698
d1a6bccc
SM
56992013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5702 (bug#14646).
5703 (make-obsolete): Remove interactive spec.
5704
2df10228
GM
57052013-11-21 Glenn Morris <rgm@gnu.org>
5706
5707 * startup.el (command-line-1): Use path-separator with -L.
5708
86fd16b6
TZ
57092013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5710
5711 * emacs-lisp/package.el (describe-package-1): Add package archive
5712 to shown fields.
5713
0449d6cd 57142013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
5715
5716 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5717 Change default to "# encoding: %s" to differentiate it from the
5718 default Ruby encoding comment template.
5719
dc7e8c17 57202013-11-20 era eriksson <era+emacsbugs@iki.fi>
5721
5722 * ses.el (ses-mode): Doc fix. (Bug#14748)
5723
f0cfa5fe
LL
57242013-11-20 Leo Liu <sdl.web@gmail.com>
5725
5726 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5727
826dc7b6
DN
57282013-11-19 Dan Nicolaescu <dann@gnu.org>
5729
5730 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5731 when rebase or bisect are in progress.
5732
a6e3a5d5
XF
57332013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5734
5735 * filenotify.el (file-notify-add-watch): Doc fix.
5736
f130cb76
LL
57372013-11-19 Leo Liu <sdl.web@gmail.com>
5738
e0855d7d
LL
5739 * obsolete/rcompile.el: Mark obsolete.
5740
f130cb76 5741 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
5742 (compilation-goto-locus, compilation-find-file):
5743 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
5744 (Bug#13594)
5745
5746 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
5747 new parameter no-display-ok. Return either a window or nil
5748 but never a non-window value.
f130cb76 5749
1f35d401
SM
57502013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5751
25158c76
SM
5752 * electric.el (electric-indent-mode-map): Remove.
5753 (electric-indent-mode): Change the global-map instead (bug#15915).
5754
5755 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5756 Use add-function.
1f35d401 5757
9bc67baa
SM
57582013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5759
986545b5
SM
5760 * emacs-lisp/nadvice.el (remove-function): Align with
5761 add-function's behavior.
5762
9bc67baa
SM
5763 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5764 (gdb--string-regexp): New constant.
5765 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5766 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5767 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5768 submatch 1.
5769 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5770 Adjust use accordingly.
5771 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5772
56cd894e
AS
57732013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5774
5775 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5776 interpolation curlies (Bug#15914).
5777
014690de
JB
57782013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5779
5780 * calc/calc.el (calc-context-sensitive-enter): New variable.
5781 (calc-enter): Use `calc-context-sensitive-enter'.
5782
7e26a6c3
TZ
57832013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5784
5785 * progmodes/cfengine.el: Version bump.
5786 (cfengine-cf-promises): New defcustom to locate cf-promises.
5787 (cfengine3-vartypes): Add new "data" type.
5788 (cfengine3--current-word): New function to get current name-like
5789 word or its bounds.
5790 (cfengine3--current-function): New function to look up a CFEngine
5791 function's definition.
5792 (cfengine3-format-function-docstring): New function.
5793 (cfengine3-make-syntax-cache): New function.
5794 (cfengine3-documentation-function): New function: ElDoc glue.
5795 (cfengine3-completion-function): New function: completion glue.
5796 (cfengine3-mode): Set `compile-command',
5797 `eldoc-documentation-function', and add to
5798 `completion-at-point-functions'.
5799
355204dd
MA
58002013-11-16 Michael Albinus <michael.albinus@gmx.de>
5801
5802 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5803 `tramp-current-connection'.
5804
43cebc23
DG
58052013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5806
5807 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5808 nil/self/true/false with "end of symbol".
5809
a3fed6ff
BB
58102013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5811
5812 * subr.el (version-regexp-alist): Fix a typo.
5813
e675b3e4
MA
58142013-11-15 Michael Albinus <michael.albinus@gmx.de>
5815
5816 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5817 "en_US.utf8" and "LC_CTYPE" to "".
5818 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5819 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5820
a1f03e89
LL
58212013-11-15 Leo Liu <sdl.web@gmail.com>
5822
5823 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5824
5d9d9451
SM
58252013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5826
58362662
CS
5827 * progmodes/gud.el (ctl-x-map):
5828 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
5829 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5830
6c1bf086
BB
58312013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5832
0d5363c4
BB
5833 * subr.el (version-regexp-alist):
5834 Recognize hg, svn and darcs versions as snapshot versions.
5835
4e9fc48c
BB
5836 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5837 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5838 (ruby--encoding-comment-required-p): Extract from
5839 `ruby-mode-set-encoding'.
5840 (ruby-mode-set-encoding): Add the ability to always insert an
5841 utf-8 encoding comment. Fix and simplify coding comment update
5842 logic.
6c1bf086 5843
2f7e72f8
MA
58442013-11-14 Michael Albinus <michael.albinus@gmx.de>
5845
5846 * net/tramp-gvfs.el (top): Run init code only when
5847 `tramp-gvfs-enabled' is not nil.
5848 (tramp-gvfs-enabled): Check also :system bus.
5849
0f137a73
SM
58502013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5851
5852 Sync with upstream verilog-mode revision 78e66ba.
5853 * progmodes/verilog-mode.el (verilog-end-of-defun)
5854 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5855 (verilog-get-end-of-defun): Remove unused argument.
5856 (verilog-comment-depth): Remove unused local `e'.
5857 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5858 Don't pass arg to verilog-get-end-of-defun.
5859
1c276bdd
GM
58602013-11-14 Glenn Morris <rgm@gnu.org>
5861
5862 * obsolete/assoc.el (aget): Prefix dynamic variable.
5863
5864 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5865
ff6ec81d
SM
58662013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * widget.el, hfy-cmap.el: Remove bogus package version number.
5869
75f777b6
GM
58702013-11-13 Glenn Morris <rgm@gnu.org>
5871
1d43dba1
GM
5872 * replace.el (replace-eval-replacement):
5873 Try to give more helpful error message. (Bug#15836)
5874
ff4b7bd5
GM
5875 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5876 (archive-7z-update): Avoid custom type mismatches.
5877
75f777b6
GM
5878 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5879
11151a06
MA
58802013-11-13 Michael Albinus <michael.albinus@gmx.de>
5881
e675b3e4 5882 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
5883 address can be empty.
5884
5885 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5886 Accept nil SWITCHES.
5887 (tramp-gvfs-handle-write-region): Implement APPEND.
5888
7b08f97e
DG
58892013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5890
5891 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
5892 binary "|" operator and closing block args delimiter.
5893 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
5894 (ruby-smie--implicit-semi-p): Not after "|" operator.
5895 (ruby-smie--closing-pipe-p): New function.
5896 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5897 (ruby-smie-rules): Indent after "|".
5898
f201cf3a
GM
58992013-11-12 Glenn Morris <rgm@gnu.org>
5900
5901 * ps-print.el (ps-face-attribute-list):
5902 Handle anonymous faces. (Bug#15827)
5903
e6f759f9
MR
59042013-11-12 Martin Rudalics <rudalics@gmx.at>
5905
5906 * window.el (display-buffer-other-frame): Fix doc-string.
5907 (Bug#15868)
5908
ecda65d4
SM
59092013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5910
5911 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5912
7ce8fcc3
MA
59132013-11-11 Michael Albinus <michael.albinus@gmx.de>
5914
5915 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5916 (tramp-sh-handle-file-local-copy): Don't write a message when
5917 saving temporary files.
5918
5919 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5920 both directories are remote.
5921 (tramp-smb-handle-directory-files): Do not return double entries.
5922 Do not expand full file names.
5923 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5924 (tramp-smb-handle-write-region): Implement APPEND.
5925 (tramp-smb-get-stat-capability): Fix a stupid bug.
5926
7818df11
SM
59272013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5930
608c2085
NT
59312013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5932
5933 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5934 throwing error over malformed let/let* (bug#15814).
5935
122a7e46
SM
59362013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5937
5938 * iswitchb.el (iswitchb-mode): Mark obsolete.
5939
766284d9
GM
59402013-11-11 Glenn Morris <rgm@gnu.org>
5941
5942 * international/uni-bidi.el, international/uni-category.el:
5943 * international/uni-name.el, international/uni-numeric.el:
5944 Regenerate for Unicode 6.3.0.
5945
7072a4e9
MA
59462013-11-10 Michael Albinus <michael.albinus@gmx.de>
5947
5948 * net/tramp.el (tramp-methods):
5949 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5950 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5951
c9df215b
AS
59522013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5953
608c2085
NT
5954 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5955 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 5956
fa47d796
DG
59572013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5958
5959 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 5960 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
5961 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5962 (ispell-complete-word): Call `ispell-lookup-words' with the value
5963 independent of `ispell-look-p'.
5964
1629a329
DG
59652013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5966
5967 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5968 Not after "||".
5969 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5970 their parent.
5971
ad16897c
SM
59722013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5973
5974 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5975 (ruby-font-lock-keywords): Use backquote.
5976
ffa2df72
DG
59772013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5978
5979 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5980 (ruby-smie--backward-token): Only consider full-string matches.
5981
5b97b4c0
JD
59822013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5983
5984 * faces.el (describe-face): Add distant-foreground.
5985
71731c03
BB
59862013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5987
4e9fc48c
BB
5988 * progmodes/ruby-mode.el: Improve encoding comment handling.
5989 (ruby-encoding-magic-comment-style): New option.
5990 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
5991 (ruby--insert-coding-comment, ruby--detect-encoding):
5992 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
5993 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5994 to control the style of the auto-inserted encoding comment.
71731c03 5995
da3b328d
DG
59962013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5997
ad16897c
SM
5998 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5999 Use `smie-backward-sexp' with token argument.
da3b328d 6000
1606c2d3
MA
60012013-11-08 Michael Albinus <michael.albinus@gmx.de>
6002
6003 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6004 Remove instrumentation code.
6005
b0f4c320
GM
60062013-11-08 Glenn Morris <rgm@gnu.org>
6007
6008 * progmodes/autoconf.el (autoconf-mode):
6009 Tweak comment-start-skip. (Bug#15822)
6010
43668fb1
SM
60112013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6014 at bobp (bug#15826).
6015 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6016
daddb3fd
DH
60172013-11-08 Darren Hoo <darren.hoo@gmail.com>
6018
6019 * man.el (Man-start-calling): New macro, extracted from
6020 Man-getpage-in-background.
6021 (Man-getpage-in-background): Use it.
6022 (Man-update-manpage): New command.
6023 (Man-mode-map): Bind it.
6024
1f923923
DG
60252013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6026
6027 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6028 of "and", "or", "&&" and "||".
6029 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6030 argument. Prohibit opening curly brace because it could only be a
6031 block opener in that position.
daddb3fd
DH
6032 (ruby-smie--forward-token, ruby-smie--backward-token):
6033 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
6034 arguments.
6035 (ruby-smie--indent-to-stmt): New function, seeks the end of
6036 previous statement or beginning of buffer.
6037 (ruby-smie-rules): Use it.
6038 (ruby-smie-rules): Check if there's a ":" before a curly block
6039 opener candidate; if there is, it's a hash.
6040
3220d527
SM
60412013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6044 (cl--block-wrapper): Fix last accidental change.
6045
1eb1f9e0
MA
60462013-11-07 Michael Albinus <michael.albinus@gmx.de>
6047
6048 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6049 Instrument, in order to hunt failure on hydra.
6050
e6e4db3c
NT
60512013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6052
6053 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6054 malformed bindings form (bug#15814).
6055
b420ccfc
DG
60562013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6057
6058 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
6059 "." compared to " @ ". This incidentally fixes some indentation
6060 examples with "do".
e6e4db3c 6061 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
6062 (ruby-smie-grammar): New tokens: "and" and "or".
6063 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6064 Exclude "and" and "or". Remove "do" in order to work around token
6065 priorities.
6066 (ruby-smie-rules): Add all infix tokens. Handle the case of
6067 beginning-of-buffer.
b420ccfc 6068
6b4ac03e
GM
60692013-11-06 Glenn Morris <rgm@gnu.org>
6070
6071 * Makefile.in (setwins_almost, setwins_for_subdirs):
6072 Avoid accidental matches.
6073
5ca114d1
SM
60742013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 * menu-bar.el (popup-menu): Use key-binding.
6077
f72552bd
EZ
60782013-11-06 Eli Zaretskii <eliz@gnu.org>
6079
6080 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6081 menus, support also the menus produced by minor modes.
6082 (Bug#15817)
6083
5d5c701e
LL
60842013-11-06 Leo Liu <sdl.web@gmail.com>
6085
6086 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 6087 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 6088
0a8b75e2
GM
60892013-11-06 Glenn Morris <rgm@gnu.org>
6090
6091 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
6092 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6093 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 6094
a35287ea
SM
60952013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6096
feca4e2d
SM
6097 * electric.el (electric-indent-just-newline): New command.
6098 (electric-indent-mode-map): New keymap.
6099 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6100 Re-add :group which weren't redundant.
6101
a35287ea
SM
6102 * electric.el (electric-indent-local-mode): New minor mode.
6103 (electric-indent-functions-without-reindent): New var.
6104 (electric-indent-post-self-insert-function): Use it.
6105 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6106
375761b2
EZ
61072013-11-05 Eli Zaretskii <eliz@gnu.org>
6108
9a6ad735
EZ
6109 * international/quail.el (quail-help): Be more explicit about the
6110 meaning of the labels shown on the keys. (Bug#15800)
6111
375761b2
EZ
6112 * startup.el (normal-top-level): Load the subdirs.el files before
6113 setting the locale environment. (Bug#15805)
6114
520a6e4a
SM
61152013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6116
0acfafef
SM
6117 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6118 via arguments so as to get the right ones (bug#15418).
6119
520a6e4a
SM
6120 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6121
15826261
MA
61222013-11-05 Michael Albinus <michael.albinus@gmx.de>
6123
6124 Fix problems found while writing a test suite.
6125
6126 * net/tramp-compat.el (tramp-compat-load): New defun.
6127 * net/tramp.el (tramp-handle-load): Use it.
6128
6129 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6130 "(numberp ok-if-already-exists)" correctly.
6131
d35f31a4
XF
61322013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6133
6134 * international/characters.el (glyphless-char-display-control):
6135 Add usage note.
6136
ae93bc74
BB
61372013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6138
520a6e4a
SM
6139 * progmodes/python.el (python-mode):
6140 * progmodes/scheme.el (scheme-mode):
6141 * progmodes/prolog.el (prolog-mode):
6142 * progmodes/ruby-mode.el (ruby-mode):
6143 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6144 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 6145
0ade65b5
SM
61462013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6147
a0d5f7a4
SM
6148 * rect.el (rectangle--highlight-for-redisplay):
6149 * emacs-lisp/smie.el (smie--next-indent-change):
6150 Use buffer-chars-modified-tick.
6151
c93f3f5c
SM
6152 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6153
0ade65b5
SM
6154 * electric.el (electric-indent-post-self-insert-function):
6155 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6156
ef9dd188
HE
61572013-11-04 Helmut Eller <eller.helmut@gmail.com>
6158
6159 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6160
306e7308
NT
61612013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6162
6163 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6164 (bug#15786).
6165
e5afbcac
SM
61662013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6167
1d01ad41
SM
6168 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6169
e5afbcac
SM
6170 * progmodes/python.el: Fix up last change.
6171 (python-shell--save-temp-file): New function.
6172 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6173 `string' comes from the current buffer.
6174 (python-shell-send-string-no-output): Remove `msg' arg.
6175 (python--use-fake-loc): New var.
6176 (python-shell-buffer-substring): Obey it. Try to compensate for the
6177 extra coding line added by python-shell--save-temp-file.
6178 (python-shell-send-region): Use python-shell--save-temp-file and
6179 python-shell-send-file directly. Add `nomain' argument.
6180 (python-shell-send-buffer): Use python-shell-send-region.
6181 (python-electric-pair-string-delimiter): New function.
6182 (python-mode): Use it.
6183
d0065ff1
EZ
61842013-11-04 Eli Zaretskii <eliz@gnu.org>
6185
6186 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6187 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6188 environment and decoding all of the default-directory's to here
6189 from command-line.
6190 (command-line): Decode also argv[0].
6191
6192 * loadup.el: Error out if default-directory is a multibyte string
6193 when we are dumping.
6194
6195 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6196
7397c587
TZ
61972013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6198
6199 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
6200 (package-menu--print-info, package-menu--archive-predicate):
6201 Add Archive column to package list.
7397c587 6202
b27cc9fc
MA
62032013-11-04 Michael Albinus <michael.albinus@gmx.de>
6204
6205 Fix problems found while writing a test suite.
6206
6207 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6208 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6209 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6210 to nil when running original file name handler. Otherwise,
6211 there are problems with constructs like "$$FOO".
6212
6213 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6214 for `localname'.
6215
d8c4f18a
BB
62162013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6217
7b530552
BB
6218 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6219
6220 * subr.el (version<, version<=, version=):
6221 Update docstrings with information for snapshot versions.
6222
d8c4f18a
BB
6223 * helpers.el: New library for misc helper functions.
6224 (hash-table-keys): New function returning a list of hash keys.
6225 (hash-table-values): New function returning a list of hash values.
6226
dca01b09
DG
62272013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6228
6229 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6230 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6231
0a749fa0
MN
62322013-11-04 Michal Nazarewicz <mina86@mina86.com>
6233
6234 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6235 checking whether point is after a 1-letter word.
6236
62372013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
6238
6239 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6240 Don't infloop when expanding region over `multiline' syntax-type that
6241 begins a line (bug#15778).
6242
4aca7145
SM
62432013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6244
6245 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6246 Make it into a proper minor mode.
9b017563 6247 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
6248 (rectangle-mark-mode-map): New keymap.
6249 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6250
a0833f62
GM
62512013-11-04 Glenn Morris <rgm@gnu.org>
6252
6253 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6254
e61845c1
SM
62552013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6258 (ruby-smie-rules): Use smie-rule-parent instead.
6259
6260 * emacs-lisp/smie.el (smie-rule-parent): Always call
6261 smie-indent-virtual rather than only for hanging tokens.
6262 (smie--next-indent-change): New helper command.
6263
62942f89
GM
62642013-11-03 Glenn Morris <rgm@gnu.org>
6265
6266 * Makefile.in (abs_srcdir): Remove.
6267 (emacs): Unset EMACSLOADPATH.
6268
b0b9e592
GM
62692013-11-02 Glenn Morris <rgm@gnu.org>
6270
18ba6a33 6271 * Makefile.in (EMACS): Use a relative filename.
8061810d 6272 (abs_top_builddir): Remove.
18ba6a33
GM
6273 (custom-deps, finder-data, autoloads): Use --chdir.
6274
6a8b929e
GM
6275 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6276
c617f3d0
GM
6277 Use relative filenames in TAGS files.
6278 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6279 (lisptagsfiles4, TAGS): Use relative file names.
6280 (TAGS-LISP): Remove.
6281 (maintainer-clean): No more TAGS-LISP file.
6282
b0b9e592
GM
6283 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6284 (lisptagsfiles4): Use absolute filenames again.
6285 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6286 Remove all *loaddefs files, not just the first. Remove esh-groups.
6287 (maintainer-clean): Delete TAGS, TAGS-LISP.
6288
d1c0ea6a
BB
62892013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6290
e61845c1
SM
6291 * emacs-lisp/package.el (package-version-join):
6292 Recognize snapshot versions.
d1c0ea6a 6293
684d71c6
BB
62942013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6295
6296 * subr.el (version-regexp-alist): Add support for snapshot versions.
6297
3d42b968
DG
62982013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6299
e61845c1
SM
6300 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6301 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
6302 skip over our direct parent if it's an assignment token..
6303 (ruby-smie-rules): Use it.
6304
7ffd3721
DG
63052013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6306
8449dd1f 6307 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
6308 unconditionally. Remove now unnecessary forward declarations.
6309 Remove XEmacs-specific setup.
6310 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6311 (ruby-font-lock-syntactic-keywords)
6312 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6313 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6314 (ruby-here-doc-end-syntax): Remove.
6315 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6316 defined as function.
6317
a3996a2e
BB
63182013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6319
6320 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6321
6f9260e8
BB
63222013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6323
6324 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6325 table and abbrev table, `define-derived-mode' does that for us
6326 anyway.
6327
6014de84
GM
63282013-11-01 Glenn Morris <rgm@gnu.org>
6329
6330 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6331 files is atomic for some time, so no parallel compilation issues).
6332
3c334c14
JD
63332013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6334
6335 * faces.el (face-x-resources): Add :distant-foreground.
6336 (region): Use :distant-foreground for gtk and ns.
6337
9bc236c8
TH
63382013-11-01 Tassilo Horn <tsdh@gnu.org>
6339
5246583b 6340 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
6341 BibTeX.
6342 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6343 (reftex-locate-bibliography-files): Us it.
6344
d14c81ee
CB
63452013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6346
0e7690de
CB
6347 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6348 allow comments in pbm files.
6349
d14c81ee
CB
6350 * term/w32-win.el (dynamic-library-alist): Support newer versions
6351 of libjpeg starting with v7: look only for the DLL from the
6352 version against which Emacs was built.
ac1bf374 6353 Support versions of libpng beyond 1.4.x.
019c8218 6354 Support libtiff v4.x.
d14c81ee 6355
983d0df5
BB
63562013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6357
6358 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6359 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6360 Add property :safe.
6361 (ruby-deep-arglist): Add property :type.
6362
47f58d85
GM
63632013-10-31 Glenn Morris <rgm@gnu.org>
6364
6365 * Makefile.in (custom-deps, finder-data): No need to setq the target
6366 variables, we are in the right directory and the defaults work fine.
6367
4f85b479
GM
63682013-10-30 Glenn Morris <rgm@gnu.org>
6369
ca7dd4cd
GM
6370 * Makefile.in (autoloads): Do not use abs_lisp.
6371
4f85b479
GM
6372 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6373 `newline' does not respect `standard-output', so use `princ'.
6374
cf59e41c
AA
63752013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6376
6377 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6378 * buff-menu.el (Buffer-menu--unmark): New function.
6379 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6380
74cf04fb
GM
63812013-10-30 Glenn Morris <rgm@gnu.org>
6382
b040b60e
GM
6383 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6384
f53d3815
GM
6385 * emacs-lisp/package.el (lm-homepage): Declare.
6386
5413d873
GM
6387 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6388 Fix doc typos.
6389
cecedb36
GM
6390 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6391
74cf04fb
GM
6392 * Makefile.in (finder-data, autoloads, update-subdirs)
6393 (compile-main, compile-clean, compile-always, bootstrap-clean):
6394 Check return value of cd.
6395 (compile-calc): Remove.
6396
195ee2f0
SM
63972013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6398
ae4002ce
SM
6399 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6400
6401 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6402 (byte-compile-and-folded): New function.
6403 (=, <, >, <=, >=): Use it.
6404
6405 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6406 (path-separator, null-device, buffer-file-coding-system)
6407 (lpr-headers-switches): Check system-type before modifying them.
6408 (find-buffer-file-type-coding-system): Mark obsolete.
6409 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6410 find-file-not-found-set-buffer-file-coding-system.
35e951cd 6411 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 6412 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 6413 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
6414 (w32-direct-print-region-helper, w32-direct-print-region-function)
6415 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6416 * startup.el (normal-top-level-add-subdirs-to-load-path):
6417 * ps-print.el (ps-print-region-function):
6418 * lpr.el (print-region-function): Use new name.
6419
53b39e89
SM
6420 * subr.el (custom-declare-variable-early): Remove function.
6421 (custom-declare-variable-list): Remove var.
6422 (error, user-error): Remove `while' loop.
6423 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6424 (user-emacs-directory-warning, locate-user-emacs-file):
6425 Move to files.el.
6426 * simple.el (read-quoted-char-radix, read-quoted-char):
6427 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6428 Move from subr.el.
6429 * custom.el (custom-declare-variable-list): Don't process
6430 custom-declare-variable-list.
6431
195ee2f0
SM
6432 * progmodes/python.el (python-shell-get-buffer): New function.
6433 (python-shell-get-process): Use it.
6434 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6435 Python which encoding was used. Don't split-string since we only care
6436 about the first line. Return the temp-file, if applicable.
6437 (python-shell-send-region): Tell compile.el how to turn locations in
6438 the temp-file into locations in the source buffer.
6439
7e3561ee
SM
64402013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6441
4c9797cb
SM
6442 * subr.el (undefined): Add missing behavior from the C code for
6443 unbound keys.
6444
3472b6c6
SM
6445 * rect.el: Use lexical-binding. Add new rectangular region support.
6446 (rectangle-mark): New command.
6447 (rectangle--region): New var.
6448 (deactivate-mark-hook): Reset rectangle--region.
6449 (rectangle--extract-region, rectangle--insert-for-yank)
6450 (rectangle--highlight-for-redisplay)
6451 (rectangle--unhighlight-for-redisplay): New functions.
6452 (region-extract-function, redisplay-unhighlight-region-function)
6453 (redisplay-highlight-region-function): Use them to handle
6454 rectangular region.
6455 * simple.el (region-extract-function): New var.
6456 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6457 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6458 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6459 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6460 (redisplay-unhighlight-region-function)
6461 (redisplay-highlight-region-function): New vars.
6462 (redisplay--update-region-highlight): New function.
6463 (pre-redisplay-function): Use it.
6464 (exchange-point-and-mark): Don't deactivate the mark before
6465 reactivate-it anyway.
6466 * comint.el (comint-kill-region): Remove yank-handler argument.
6467 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6468 (delete-char): Remove property, since it's now part of their
6469 default behavior.
6470 (self-insert-iso): Remove property since this command doesn't exist.
6471
7e3561ee
SM
6472 * emacs-lisp/package.el (package--download-one-archive)
6473 (describe-package-1): Don't query the user about final newline.
6474
b9bef71f
DC
64752013-10-29 Daniel Colascione <dancol@dancol.org>
6476
6477 * net/tramp.el (tramp-methods): Document new functionality.
6478 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6479 tramp-hostname-checker if method provides one instead of scanning
6480 argument list for "%h" to decide hostname acceptability.
6481
4efc33f0
MA
64822013-10-28 Michael Albinus <michael.albinus@gmx.de>
6483
6484 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6485 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6486 Handle COPY-CONTENTS. (Bug#15737)
6487
ed42a877
DU
64882013-10-28 Daiki Ueno <ueno@gnu.org>
6489
9b017563 6490 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 6491 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 6492
18c9f8a2
XF
64932013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6494
35e951cd 6495 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 6496
b1e8e010
AM
64972013-10-27 Alan Mackenzie <acm@muc.de>
6498
6499 Indent statements in macros following "##" correctly.
7e3561ee
SM
6500 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6501 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 6502
73d40d1e 65032013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
6504
6505 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6506
c8c605ac
DG
65072013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6508
6509 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6510 after `=' is probably a new expression.
6511
ca7e59d4
RS
65122013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6513
6514 * man.el (man-imenu-title): New option.
6515 (Man-mode-map): Add menu. (Bug#15722)
6516 (Man-mode): Add imenu to menu.
6517
bae91342
DG
65182013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6519
6520 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6521 specific in what the first arg can be: a non-keyword word,
6522 string/regexp/percent literal opener, opening paren, or unary
6523 operator followed directly by word.
6524
eb89dc14
SM
65252013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6526
6527 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6528 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6529 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6530 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6531 Remove vars, they do not apply any more.
6532 (prolog-mode-abbrev-table): Remove redundant declaration.
6533 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6534 (prolog-use-smie): Remove.
6535 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6536 supported by prolog-electric-if-then-else-flag.
6537 (prolog-mode-variables, prolog-menu): Use setq-local.
6538 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6539 Remove binding to `Backspace' since this key doesn't exist anyway.
6540 Remove bindings for electric self-inserting keys.
6541 (prog-mode): Assume it's defined.
6542 (prolog-post-self-insert): New function.
6543 (prolog-mode): Use it.
6544 (prolog-indent-line, prolog-indent-level)
6545 (prolog-find-indent-of-matching-paren)
6546 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6547 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6548 (prolog-goto-next-paren, prolog-in-string-or-comment)
6549 (prolog-tokenize, prolog-inside-mline-comment)
6550 (prolog-find-start-of-mline-comment): Remove functions.
6551 (prolog-find-unmatched-paren, prolog-clause-end)
6552 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6553 (prolog-electric--if-then-else): Rename from
6554 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6555 (prolog-tokenize-searchkey): Remove const.
6556 (prolog-clause-info): Use forward-sexp.
6557 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6558 (prolog-electric-if-then-else): Remove commands.
6559 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6560 for use in post-self-insert-hook.
6561 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6562 for use in post-self-insert-hook.
6563 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6564 for use in post-self-insert-hook.
6565 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6566 adapt it for use in post-self-insert-hook.
6567
3dab0a83
MA
65682013-10-25 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * emacs-lisp/ert.el (ert-run-tests-interactively):
6571 Use `completing-read'. (Bug#9756)
6572
fbfd0e1d
EZ
65732013-10-25 Eli Zaretskii <eliz@gnu.org>
6574
6575 * simple.el (line-move): Call line-move-1 instead of
6576 line-move-visual when the current window hscroll is zero, but
6577 temporary-goal-column indicates we will need to hscroll as result
6578 of the movement. (Bug#15712)
6579
963ce636
DG
65802013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6581
6582 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
6583 capitalization. Use :visible instead of :active.
6584 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
6585 commands that are used with SMIE.
6586 (ruby-do-end-to-brace): Insert space after `{'.
6587
a0be396a
JA
65882013-10-25 John Anthony <john@jo.hnanthony.com>
6589
f73754c9
JA
6590 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6591
6592 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 6593
f5bf77df
GM
65942013-10-25 Glenn Morris <rgm@gnu.org>
6595
6596 * vc/vc.el (vc-print-log): Don't use a working revision unless
6597 one was explicitly specified. (Bug#15322)
6598
37241f62
SM
65992013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 * subr.el (add-to-list): Preserve return value in compiler-macro
6602 (bug#15692).
6603
6408a65d
RS
66042013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6605
6606 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6607 result. Ask user to retry using '-all' flag. (Bug#15701)
6608
71e3276b
SM
66092013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * emacs-lisp/smie.el: New smie-config system.
6612 (smie-config): New defcustom.
6613 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6614 (smie-config-guess, smie-config-save): New commands.
6615 (smie-config--mode-local, smie-config--buffer-local)
6616 (smie-config--trace, smie-config--modefuns): New vars.
6617 (smie-config--advice, smie-config--mode-hook)
6618 (smie-config--setter, smie-config-local, smie-config--get-trace)
6619 (smie-config--guess-value, smie-config--guess): New functions.
6620 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6621 text properties. Treat "string fence" syntax like string syntax.
6622
6623 * progmodes/sh-script.el (sh-use-smie): Change default.
6624 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6625 (sh-var-value): Simplify by CSE.
6626 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6627 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6628 is used.
6629 (sh-guess-basic-offset): Use cl-incf.
6630 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6631
60db713e
HE
66322013-10-24 Helmut Eller <eller.helmut@gmail.com>
6633
6634 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6635 (bug#15699).
6636
8b251df6
GM
66372013-10-24 Glenn Morris <rgm@gnu.org>
6638
6639 * Makefile.in (abs_top_srcdir): Remove.
6640 (update-subdirs): Use relative path to update-subdirs.
6641
6be0e22b
EZ
66422013-10-24 Eli Zaretskii <eliz@gnu.org>
6643
6644 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6645 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
6646 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6647 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 6648
50b5b857
MA
66492013-10-24 Michael Albinus <michael.albinus@gmx.de>
6650
6651 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6652 (ert-test-skipped): New error.
6653 (ert-skip, ert-stats-skipped): New defuns.
6654 (ert--skip-unless): New macro.
6655 (ert-test-skipped): New struct.
6656 (ert--run-test-debugger, ert-test-result-type-p)
6657 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6658 (ert--stats-set-test-and-result, ert-char-for-test-result)
6659 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 6660 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 6661 Handle skipped tests. (Bug#9803)
50b5b857 6662
6f317c2f
GM
66632013-10-24 Glenn Morris <rgm@gnu.org>
6664
e43817c1
GM
6665 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6666
6f317c2f
GM
6667 * Makefile.in (abs_top_srcdir): New, set by configure.
6668 (update-subdirs): Correct build-aux location.
6669
369bbf71
DG
66702013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6671
8297b2cf
DG
6672 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6673 value, whether we could auto-deduce `backend', or not.
6674
369bbf71
DG
6675 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6676 with parameters" example. Simplify the "is it block or is it
6677 hash" check, but also make it more thorough.
6678
d5f1282f
MF
66792013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6680
6681 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6682
bc4aaa31
SM
66832013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6684
03d44565
SM
6685 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6686 { if it is hanging.
6687
bc4aaa31
SM
6688 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6689 :before ";".
6690
f493ff19
JB
66912013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6692
6693 * progmodes/compile.el (compilation-directory-matcher)
6694 (compilation-page-delimiter):
6695 Support GNU Make-4.0 directory quoting. (Bug#15678)
6696
c744a3b9
LL
66972013-10-23 Leo Liu <sdl.web@gmail.com>
6698
6699 * ido.el (ido-tidy): Handle read-only text.
6700
b8e3b0a9
GM
67012013-10-23 Glenn Morris <rgm@gnu.org>
6702
6703 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6704 (emacs, compile, compile-always):
6705 Quote entities that might contain whitespace.
6706 (custom-deps, finder-data, autoloads): Use abs_lisp.
6707 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6708 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6709 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6710
ee4282cd
DG
67112013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6712
bc4aaa31
SM
6713 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6714 Use `following-char'.
7790a270 6715
ee4282cd 67162013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
6717
6718 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6719 * progmodes/ruby-mode.el (ruby-smie-rules):
6720 Remove corresponding workaround. Fix indentation rule of ";" so it
6721 also applies when ";" is the parent.
6722
d40a46d7
XF
67232013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6724
6725 * frame.el (display-screens, display-pixel-height)
6726 (display-pixel-width, display-mm-width, display-backing-store)
6727 (display-save-under, display-planes, display-color-cells)
7790a270
SM
6728 (display-visual-class, display-monitor-attributes-list):
6729 Mention the optional ‘display’ argument in doc strings.
d40a46d7 6730
a0f143c9
MG
67312013-10-22 Michael Gauland <mikelygee@amuri.net>
6732
6733 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6734 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6735
18cacc39
DG
67362013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6737
6738 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6739 TODO. Add "." after " @ ".
6740 (ruby-smie--at-dot-call): New function. Checks if point at method
6741 call with explicit target.
6742 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6743 to the method name tokens when it precedes them.
6744 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6745 (ruby-smie-rules): Add rule for indentation before and after "."
6746 token.
6747
df74c4be
SM
67482013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6749
c6dab55f
SM
6750 * textmodes/remember.el (remember-diary-extract-entries):
6751 Avoid add-to-list.
6752
df74c4be
SM
6753 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6754 an instruction.
6755
8c1ae481
DG
67562013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6757
e9dc713d
JB
6758 * progmodes/ruby-mode.el (ruby-smie-grammar):
6759 Add (almost) all infix operators.
cfef16c0
DG
6760 (ruby-smie--implicit-semi-p): Add new operator chars.
6761
8c1ae481
DG
6762 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6763 `smie-down-list'.
6764 (ruby-smie--args-separator-p): Check that there's no newline
6765 between method call and its arguments.
6766
87756ca9
AM
67672013-10-20 Alan Mackenzie <acm@muc.de>
6768
6769 Allow comma separated lists after Java "implements".
6770
df74c4be
SM
6771 * progmodes/cc-engine.el (c-backward-over-enum-header):
6772 Parse commas.
87756ca9
AM
6773 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6774 from a "disallowed" list in enum fontification.
6775
c25f8957
JB
67762013-10-20 Johan Bockgård <bojohan@gnu.org>
6777
df74c4be 6778 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 6779
c25f8957
JB
6780 * progmodes/verilog-mode.el (verilog-mode): Don't set
6781 comment-indent-function globally.
6782
aca5fcdc
JD
67832013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6784
5f161884
JD
6785 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6786 Move Info menu item creation to ns-win.el.
6787
6788 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6789 in menu bar.
6790
a6c4680a 6791 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
6792
6793 * term/ns-win.el (ns-initialize-window-system): ... to here.
6794
914b7f98
SM
67952013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6796
6797 * simple.el (newline): Only run post-self-insert-hook when
6798 called interactively.
6799
846ffe77
JB
68002013-10-19 Johan Bockgård <bojohan@gnu.org>
6801
6802 * icomplete.el (icomplete-with-completion-tables): Add :version.
6803
033f22dd
AM
68042013-10-19 Alan Mackenzie <acm@muc.de>
6805
6806 Fix fontification bugs with constructors and const.
6807
6808 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6809 CASE 2) Remove the check for the absence of a suffix construct
6810 after a function declaration with only types (no identifiers) in
6811 the parentheses. Also, accept a function declaration with just a
6812 type inside the parentheses, if this type can be positively
6813 recognised as such, or if a prefix keyword like "explicit" nails
6814 down the construct as a declaration.
6815
58ce0cfc
EZ
68162013-10-19 Eli Zaretskii <eliz@gnu.org>
6817
6818 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6819 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6820 the problem whereby selecting a menu item that leads to a
6821 minibuffer prompt moves the cursor out of the minibuffer window,
6822 making it hard to type at the prompt. Suggested by Stefan Monnier
6823 <monnier@iro.umontreal.ca>.
6824
50e28e7d
JD
68252013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6826
6827 * menu-bar.el: Don't make Services menu.
6828
7deed4bf
RS
68292013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6830
6831 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6832 (ffap-alist): Use ffap-c++-mode for c++-mode.
6833 (ffap-c++-path): New variable.
6834 (ffap-c++-mode): New function.
6835
7bcb455b
JVJ
68362013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6837
6838 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6839
f0ff1cd5
MA
68402013-10-18 Michael Albinus <michael.albinus@gmx.de>
6841
6842 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6843 introduced on 2013-09-08, which results in an infinite loop
6844 requesting a password.
6845
d64da4b7
GM
68462013-10-18 Glenn Morris <rgm@gnu.org>
6847
6848 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6849
ea89ff08
WS
68502013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6851
6852 Sync with upstream verilog-mode revision 1a6ecec7.
6853 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6854 (verilog-mode-release-date): Remove.
6855 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6856 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6857 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6858 (verilog-auto-tieoff-ignore-regexp)
6859 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6860 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6861 (verilog-signals-with, verilog-dir-cache-preserving)
6862 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6863 Doc fixes.
6864 (verilog-case-fold): New option, to control case folding in
6865 regexp searches, bug597.
6866 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6867 (verilog-string-match-fold, verilog-in-paren-count)
6868 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6869 (verilog-at-close-struct-p): New functions.
6870 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 6871 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
6872 (verilog-leap-to-case-head): Handle "unique0" case.
6873 (verilog-in-constraint-re): New constant.
6874 (verilog-keywords, verilog-type-font-keywords):
6875 Add some SystemVerilog 1800-2012 keywords.
6876 (verilog-label-be): Remove unimplemented argument, bug669.
6877 (verilog-batch-execute-func): When batch expanding clear
6878 create-lockfiles to prevent spurious user locks when a file ends
6879 up not changing.
6880 (verilog-calculate-indent, verilog-calc-1)
6881 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6882 (verilog-do-indent): Fix indentation of nested constraints
6883 and structures.
6884 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6885 (verilog-auto-inst-param): Use verilog-string-match-fold.
6886 (verilog-read-inst-module-matcher):
6887 Fix AUTOINST on gate primitives with #1.
6888 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6889 Reads all user-defined typed variables.
6890 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6891 (verilog-signals-matching-regexp)
6892 (verilog-signals-not-matching-regexp, verilog-auto):
6893 Respect verilog-case-fold.
6894 (verilog-diff-report): Fix line count.
6895 (verilog-auto-assign-modport): Remove unused local `modi'.
6896 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6897 better handle multidimensional arrays.
6898 Fix packed array ports misadding bit index in AUTOINST, bug637.
6899 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6900 to not double-declare existing outputs and inputs, respectively.
6901 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6902 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6903 (verilog-sk-uvm-component): New skeleton.
6904 (verilog-submit-bug-report): Add verilog-case-fold,
6905 remove verilog-mode-release-date.
6906
ef566920
BR
69072013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6908
a12bf61e 6909 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
6910 as before.
6911
29df8a0b
RT
69122013-10-18 Reuben Thomas <rrt@sc3d.org>
6913
e0eb0550 6914 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
6915 remember buffers (bug#13566).
6916
04a19a79
DC
69172013-10-18 Daniel Colascione <dancol@dancol.org>
6918
6919 When evaluating forms in ielm, direct standard output to ielm
6920 buffer. Add new ielm-return-for-effect command. Remove trailing
6921 whitespace throughout.
6922
6923 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6924 (ielm-return-for-effect): New command.
6925 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
6926 (ielm-eval-input): Accept optional `for-effect' parameter.
6927 Bind `standard-output' to stream we create using
04a19a79
DC
6928 `ielm-standard-output-impl'. Suppress printing result when
6929 `for-effect'.
6930 (ielm-standard-output-impl): New function.
6931 (inferior-emacs-lisp-mode): Explain new features in documentation.
6932
4c1f03ef
MA
69332013-10-17 Michael Albinus <michael.albinus@gmx.de>
6934
6935 Code cleanup.
6936
6937 * net/tramp.el (tramp-debug-message): Do not check for connection
6938 buffer.
6939 (tramp-message): Use "vector" connection property.
6940
6941 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6942 (tramp-equal-remote, tramp-eshell-directory-change)
6943 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6944 (tramp-adb-handle-rename-file)
6945 * net/tramp-cmds.el (tramp-list-remote-buffers)
6946 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6947 * net/tramp-compat.el (tramp-compat-process-running-p)
6948 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6949 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6950 (tramp-gvfs-handle-rename-file)
6951 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6952 (tramp-set-file-uid-gid)
6953 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6954 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6955 of `file-remote-p'.
6956
6957 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6958 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6959 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6960 (tramp-gw-open-network-stream): Suppress unrelated traces.
6961
6962 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6963 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6964 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6965 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6966 connection property.
6967
6968 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 6969 persistency file.
4c1f03ef
MA
6970
6971 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6972 Refactor common code. Improve debug message.
6973 (tramp-maybe-open-connection)
6974 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6975 connection buffer too early.
6976
6977 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6978 from `tramp-smb-actions-with-acl'.
6979 (tramp-smb-actions-set-acl): New defconst.
6980 (tramp-smb-handle-copy-directory)
6981 (tramp-smb-action-get-acl): New defun, renamed from
6982 `tramp-smb-action-with-acl'.
6983 (tramp-smb-action-set-acl): New defun.
6984 (tramp-smb-handle-set-file-acl): Rewrite.
6985
642eb8b6
GM
69862013-10-17 Glenn Morris <rgm@gnu.org>
6987
6988 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6989
85527ff3
SM
69902013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6991
921c1d62
SM
6992 * skeleton.el (skeleton-newline): Remove.
6993 (skeleton-internal-1): Use (insert "\n") instead.
6994
e333fb10
SM
6995 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6996 let-bindings.
6997
85527ff3
SM
6998 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6999 forward-sexp-function while we redo its job (bug#15613).
7000
c8722a97
JB
70012013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7002
7003 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7004 represented by lists.
7005
7a550bbb
GM
70062013-10-16 Glenn Morris <rgm@gnu.org>
7007
7008 * tmm.el (tmm--history): New dynamic variable.
7009 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7010
f19da8ad
MA
70112013-10-16 Michael Albinus <michael.albinus@gmx.de>
7012
7013 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7014 (tramp-smb-errors): Add error messages.
7015 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 7016 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
7017 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7018 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7019 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7020 (tramp-smb-get-stat-capability): Fix tests.
7021
a24b9961
DK
70222013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7023
7024 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7025 (bug#15580).
7026
62ad85e6
GM
70272013-10-16 Glenn Morris <rgm@gnu.org>
7028
0283d6b0
GM
7029 * ansi-color.el (ansi-color-drop-regexp):
7030 Add 1J, 1K, 2K. (Bug#15617)
7031
012e2f9f
GM
7032 * files.el (hack-local-variables--warned-lexical): New.
7033 (hack-local-variables):
7034 Warn about misplaced lexical-binding. (Bug#15616)
7035
62ad85e6
GM
7036 * net/eww.el (eww-render): Always set eww-current-url,
7037 and update header line. (Bug#15622)
7038 (eww-display-html): ... Rather than just doing it here.
7039
6456c0ea
EZ
70402013-10-15 Eli Zaretskii <eliz@gnu.org>
7041
7042 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7043 menu navigations commands.
7044
c2de5588
DK
70452013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7046
7047 * progmodes/subword.el (subword-capitalize): Be careful when
7048 the search for [[:alpha:]] fails (bug#15580).
7049
ccd4a783
EZ
70502013-10-14 Eli Zaretskii <eliz@gnu.org>
7051
7052 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7053 to commands that scroll the menu.
7054
1eda1d8d
DG
70552013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7056
c2de5588
DK
7057 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7058 Handle methods ending with `?' and `!'.
1eda1d8d 7059
e70181b8
AM
70602013-10-14 Akinori MUSHA <knu@iDaemons.org>
7061
7062 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7063 `japanese-cp932' to `cp932' to fix the problem where saving a
7064 source file written in Shift_JIS twice would end up having
7065 `coding: japanese-cp932' which Ruby could not recognize.
7066 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7067 in `ruby-encoding-map'.
7068 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7069 doesn't need to be explicitly declared in magic comment.
7070 (ruby-encoding-map): Add type declaration for better customize UI.
7071
9148ee92
GM
70722013-10-13 Glenn Morris <rgm@gnu.org>
7073
a5d38e34
GM
7074 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7075 Occur buffers are read-only. http://bugs.debian.org/720775
7076
9148ee92
GM
7077 * emacs-lisp/authors.el (authors-fixed-entries):
7078 Comment out old alpha stuff.
7079
a9ba094b
DG
70802013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7081
7082 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7083 to `after-save-hook' instead of `before-save-hook'.
7084 (ruby-mode-set-encoding): Use the value of coding system used to
7085 write the file. Call `basic-save-buffer-1' after modifying the
7086 buffer.
7087
7a068717
AM
70882013-10-13 Alan Mackenzie <acm@muc.de>
7089
7090 Fix indentation/fontification of Java enum with
7091 "implements"/generic.
7092
c2de5588
DK
7093 * progmodes/cc-engine.el (c-backward-over-enum-header):
7094 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
7095 (c-inside-bracelist-p): Uses new function above.
7096 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7097 function above.
7098 (c-font-lock-enum-tail): Uses new function above.
7099
85b64f02
KH
71002013-10-13 Kenichi Handa <handa@gnu.org>
7101
7102 * international/mule-cmds.el (select-safe-coding-system): Remove a
7103 superfluous condition in chekcing whether a coding system is safe
7104 or not.
7105
fc7f501b
OK
71062013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7107
7108 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7109
fdcb2049
AP
71102013-10-13 Andreas Politz <politza@hochschule-trier.de>
7111
7112 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7113
8c106d17
GM
71142013-10-13 Glenn Morris <rgm@gnu.org>
7115
feab892d
GM
7116 * menu-bar.el (menu-bar-update-buffers):
7117 Unify Buffers menu prompt string. (Bug#15576)
7118
b22d0686
GM
7119 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7120
8c106d17
GM
7121 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7122 Add some entries.
7123 (authors-fixed-entries): Use accented form of name.
7124
1b12c797
SM
71252013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7126
650fa7bf 7127 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 7128 method calls (bug#15594).
650fa7bf
SM
7129 (ruby-smie--args-separator-p): New function.
7130 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7131 recognize paren-free method calls.
7132
1b12c797
SM
7133 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7134 internals of universal-argument.
7135
029619c8
EZ
71362013-10-11 Eli Zaretskii <eliz@gnu.org>
7137
7138 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
7139 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7140 dropped menu on second mouse click on the menu bar.
029619c8 7141
dd070019
SM
71422013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7143
7144 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7145 (explicit-shell-file-name): Declare.
7146 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7147 (sh-completion-at-point-function): New function.
7148 (sh-mode): Use it.
7149 (sh-smie--keyword-p): Remove unused argument.
7150 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7151 vars.
7152 (sh-set-shell): Always setup SMIE, even if we use the
7153 old indentation code.
7154
0922b826
DG
71552013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7156
b68e2926
DG
7157 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7158 cases of ? and =.
7159 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7160 predicate would return nil are almost non-existent.
7161 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7162
0922b826
DG
7163 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7164 cache also after commands that modify the buffer but don't move
7165 point.
7166
ee041f2d
SM
71672013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7168
7169 * env.el (substitute-env-in-file-name): New function.
7170 (substitute-env-vars): Extend the meaning of the optional arg.
7171
a5dab159
EZ
71722013-10-10 Eli Zaretskii <eliz@gnu.org>
7173
7174 * term/w32-win.el (dynamic-library-alist): Define separate lists
7175 of GIF DLLs for versions before and after 5.0.0 of giflib.
7176 (Bug#15531)
7177
0449d6cd 71782013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
7179
7180 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7181 not locked, use last revision and current source as
7182 defaults. (Bug#15569)
7183
2f6e161e
MY
71842013-10-10 Masatake YAMATO <yamato@redhat.com>
7185
7186 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7187 menu-bar is hidden.
7188
6c8413fc
MR
71892013-10-10 Martin Rudalics <rudalics@gmx.at>
7190
7191 * window.el (pop-to-buffer-same-window): Fix doc-string.
7192 (Bug#15492)
7193
20832de0
SM
71942013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7197
c6e8ae77
AC
71982013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7199
7200 * calendar/icalendar.el (icalendar-import-file):
7201 Fix interactive spec. (Bug#15482)
7202
9db13baf
GM
72032013-10-10 Glenn Morris <rgm@gnu.org>
7204
9271e90e
GM
7205 * desktop.el (desktop-save): Default to saving in .emacs.d,
7206 since PWD is no longer in desktop-path by default. (Bug#15319)
7207
9db13baf
GM
7208 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7209 now that text mode has a menu with the same entry.
7210 (menu-bar-text-mode-auto-fill): Remove now unused func.
7211 * textmodes/text-mode.el (text-mode-map):
7212 Use auto-fill help text from menu-bar.el.
7213
a0be396a 72142013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
7215
7216 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7217
2edcd3c7
JL
72182013-10-09 Juri Linkov <juri@jurta.org>
7219
7220 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7221 instead of this-command-keys. Add universal-argument-more and
7222 universal-argument-minus to the list of prefix commands. (Bug#15568)
7223
574411d0
GM
72242013-10-09 Glenn Morris <rgm@gnu.org>
7225
14afa541
GM
7226 * vc/vc-svn.el (vc-svn-create-repo):
7227 Expand paths in file://... url. (Bug#15446)
7228
574411d0
GM
7229 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7230 Add some entries.
7231 (authors): Remove unused local variables.
7232
79804536
SM
72332013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7234
7235 * profiler.el: Create a more coherent calltree from partial backtraces.
7236 (profiler-format): Hide the tail with `invisible' so that C-s can still
7237 find the hidden elements.
7238 (profiler-calltree-depth): Don't recurse so enthusiastically.
7239 (profiler-function-equal): New hash-table-test.
7240 (profiler-calltree-build-unified): New function.
7241 (profiler-calltree-build): Use it.
7242 (profiler-report-make-name-part): Indent the calltree less.
7243 (profiler-report-mode): Add visibility specs for profiler-format.
7244 (profiler-report-expand-entry, profiler-report-toggle-entry):
7245 Expand the whole subtree when provided with a prefix arg.
7246
238150c8
DG
72472013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7248
7249 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7250 iuwu-mod token.
7251 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7252 hanging iuwu-mod token.
7253 (ruby-smie--forward-token): Do not include a dot after a token in
7254 that token.
7255 (ruby-smie--backward-token): Likewise.
7256
b0949cc4
JL
72572013-10-08 Juri Linkov <juri@jurta.org>
7258
7259 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7260 to isearch-other-control-char.
7261 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7262 and isearch-post-command-hook to post-command-hook.
7263 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7264 and isearch-post-command-hook from post-command-hook.
7265 (isearch-unread-key-sequence)
7266 (isearch-reread-key-sequence-naturally)
7267 (isearch-lookup-scroll-key, isearch-other-control-char)
7268 (isearch-other-meta-char): Remove functions.
7269 (isearch-pre-command-hook, isearch-post-command-hook):
7270 New functions based on isearch-other-meta-char rewritten
7271 relying on the new behavior of overriding-terminal-local-map
7272 that does not replace the local keymaps any more. (Bug#15200)
7273
4ed77415
EZ
72742013-10-08 Eli Zaretskii <eliz@gnu.org>
7275
7276 Support menus on text-mode terminals.
7277 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7278 functionality.
7279
7280 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7281
c2de5588
DK
7282 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7283 Move here from mouse.el.
4ed77415
EZ
7284 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7285 and arrow keys.
7286 (tty-menu-navigation-map): New map for TTY menu navigation.
7287
7288 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7289
7290 * frame.el (display-mouse-p): Report text-mode mouse as available
7291 on w32.
7292 (display-popup-menus-p): Report availability if mouse is
7293 available; don't condition on window-system.
7294
7295 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7296 (tty-menu-selected-face): New faces.
7297
b7d5bd82
TL
72982013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7299
06286513
SM
7300 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7301 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7302 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7303 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7304 New constants.
7305 (lisp-mode-variables): New `elisp' argument.
7306 (emacs-lisp-mode): Use it.
7307 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7308 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7309
b7d5bd82
TL
7310 * indent.el: Use lexical-binding.
7311 (indent-region): Add progress reporter.
7312 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7313 last step.
7314 (indent--next-tab-stop): New function to implement this behavior.
7315 (tab-to-tab-stop, move-to-tab-stop): Use it.
7316
73172013-10-08 Teemu Likonen <tlikonen@iki.fi>
7318
7319 * indent.el (indent-rigidly--current-indentation): New function.
7320 (indent-rigidly-map): New var.
7321 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7322
5ea75d23
BG
73232013-10-08 Bastien Guerry <bzg@gnu.org>
7324
f2726fa2 7325 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 7326
cc5da1ec
SM
73272013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7328
8ffa1a0b
SM
7329 * progmodes/perl-mode.el: Use lexical-binding.
7330 Remove redundant :group args.
7331 (perl-nochange): Change default to be closer to other major modes's
7332 standard behavior.
7333 (perl-indent-line): Don't consider text on current line as a
7334 valid beginning of function from which to indent.
7335
f2223371
SM
7336 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7337 with more than one argument (bug#15538).
7338
44256060
SM
7339 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7340
cc5da1ec
SM
7341 * vc/pcvs.el: Use lexical-binding.
7342 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7343 environment of `eval'.
7344 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7345 than a list of expressions. Adjust callers.
7346 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7347
0ea1599d
DG
73482013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7349
7350 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 7351 case of the dot in a chained method call being on the following line.
0ea1599d 7352
da3e5ebb
SM
73532013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7354
2abb4e65
SM
7355 * electric.el (electric-indent-inhibit): New var.
7356 (electric-indent-post-self-insert-function): Use it.
7357 * progmodes/python.el (python-mode): Set it.
7358
d2e0e795
SM
7359 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7360 open braces.
7361
7362 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7363
bdc6b4c8
SM
7364 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7365 (css-mode): Use electric-indent-chars.
7366
da3e5ebb
SM
7367 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7368 (font-lock-beg, font-lock-end): Move before first use.
7369 (nxml-mode): Use syntax-propertize-function.
7370 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7371 (nxml-extend-after-change-region): Remove.
7372 * nxml/xmltok.el: Use lexical-binding.
7373 (xmltok-save): Use `declare'.
7374 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7375 * nxml/nxml-util.el: Use lexical-binding.
7376 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7377 Use `declare'.
7378 * nxml/nxml-ns.el: Use lexical-binding.
7379 (nxml-ns-save): Use `declare'.
7380 (nxml-ns-prefixes-for): Avoid add-to-list.
7381 * nxml/rng-match.el: Use lexical-binding.
7382 (rng--ipattern): Use cl-defstruct.
7383 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7384 (rng-cons-group-after, rng-subst-group-after)
7385 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7386 Use closures instead of `(lambda...).
7387
f8f91d5d
MA
73882013-10-07 Michael Albinus <michael.albinus@gmx.de>
7389
7390 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7391 of BEG and END.
7392
da3e5ebb
SM
7393 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7394 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
7395 (tramp-gvfs-handle-insert-file-contents): Remove function.
7396
da3e5ebb
SM
7397 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7398 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
7399
7400 * net/trampver.el: Update release number.
7401
7ccae3b1
SM
74022013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7403
55ca2c0d
SM
7404 * progmodes/compile.el (compilation-parse-errors):
7405 Use compilation--put-prop.
7406 (compilation--ensure-parse): Check compilation-multiline.
7407
731fc3ae
SM
7408 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7409
da3e5ebb
SM
7410 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7411 lexical-binding.
a5833280 7412
2e7ba2c2
SM
7413 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7414
7ccae3b1
SM
7415 * progmodes/ruby-mode.el: Fix recently added tests.
7416 (ruby-smie-grammar): Add - and +.
7417 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7418 (ruby-smie--backward-id): New functions.
7419 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7420 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7421 any more.
7422
85698d63
LL
74232013-10-07 Leo Liu <sdl.web@gmail.com>
7424
7425 * register.el (register-preview-delay)
7426 (register-preview-functions): New variables.
7427 (register-read-with-preview, register-preview)
7428 (register-describe-oneline): New functions.
7429 (point-to-register, window-configuration-to-register)
7430 (frame-configuration-to-register, jump-to-register)
7431 (number-to-register, view-register, insert-register)
7432 (copy-to-register, append-to-register, prepend-to-register)
7433 (copy-rectangle-to-register): Use register-read-with-preview to
7434 read register. (Bug#15525)
7435
3986af6c
DS
74362013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7437
7438 * net/network-stream.el (network-stream-open-starttls): Don't add
7439 --insecure if it's already present, because that gnutls-cli
7440 rejects getting that parameter twice.
7441
5cd9cda9
DG
74422013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7443
7444 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7445 keyword, too.
7446
da9ea6d9
DG
74472013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7448
7449 * newcomment.el (comment-use-global-state): Change default value
7450 to t, mark obsolete (Bug#15251).
7451 (comment-beginning): In addition to `comment-to-syntax', check the
7452 value of `comment-use-global-state'.
7453
34d1a133
SM
74542013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7455
7456 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7457 (ruby-comment-column): Follow the global default, by default.
7458 (ruby-smie-grammar): Add assignment syntax.
7459 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7460 open-paren, a comma, or a \.
7461 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7462 and line continuations.
7463 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7464 followed by implicit semi-colons. Add rule for string concatenation
7465 and for indentation at BOB.
27821a89 7466 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
7467
7468 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7469 calling next-sexp, since next-token may have skipped chars which
7470 next-sexp doesn't know should be skipped!
7471
6f6ab820
LL
74722013-10-05 Leo Liu <sdl.web@gmail.com>
7473
34d1a133
SM
7474 * progmodes/octave.el (octave-send-region):
7475 Call compilation-forget-errors.
6f6ab820 7476
34ca0f4c
XF
74772013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7478
7479 * vc/vc-svn.el (vc-svn-find-admin-dir):
7480 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7481 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7482 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7483 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7484
a27c1b72
SM
74852013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7488
258ab3bc
SM
74892013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * subr.el (read-passwd): Hide chars even when called within a context
7492 where after-change-functions is disabled (bug#15501).
7493 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7494 until we removed ourself from overriding-terminal-local-map.
7495
939fb29c
LL
74962013-10-04 Leo Liu <sdl.web@gmail.com>
7497
258ab3bc
SM
7498 * progmodes/octave.el (inferior-octave-mode):
7499 Call compilation-forget-errors.
939fb29c 7500
63bd7f35
XF
75012013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7502
7503 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7504
9e6229fa
MA
75052013-10-04 Michael Albinus <michael.albinus@gmx.de>
7506
7507 * net/secrets.el (secrets-create-collection): Add optional
7508 argument ALIAS. Use proper Label keyword. Append ALIAS as
7509 dbus-call-method argument. (Bug#15516)
7510
1dab32a3
LL
75112013-10-04 Leo Liu <sdl.web@gmail.com>
7512
7513 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7514 (inferior-octave-compilation-font-lock-keywords): New variables.
7515 (compilation-error-regexp-alist)
7516 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7517 (inferior-octave-mode): Use compilation-shell-minor-mode.
7518
6cad7ba3
JS
75192013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7520
7521 * minibuffer.el (completion--replace): Be careful that `end' might be
7522 a marker.
7523
acbadd00
DU
75242013-10-03 Daiki Ueno <ueno@gnu.org>
7525
7526 Add support for package signature checking.
7527 * emacs-lisp/package.el (url-http-file-exists-p)
7528 (epg-make-context, epg-context-set-home-directory)
7529 (epg-verify-string, epg-context-result-for)
7530 (epg-signature-status, epg-signature-to-string)
7531 (epg-check-configuration, epg-configuration)
7532 (epg-import-keys-from-file): Declare.
7533 (package-check-signature): New user option.
7534 (package-unsigned-archives): New user option.
7535 (package-desc): Add `signed' field.
7536 (package-load-descriptor): Set `signed' field if .signed file exists.
7537 (package--archive-file-exists-p): New function.
7538 (package--check-signature): New function.
7539 (package-install-from-archive): Check package signature.
7540 (package--download-one-archive): Check archive signature.
7541 (package-delete): Remove .signed file.
7542 (package-import-keyring): New command.
7543 (package-refresh-contents): Import default keyring.
7544 (package-desc-status): Add "unsigned" status.
7545 (describe-package-1, package-menu--print-info)
7546 (package-menu-mark-delete, package-menu--find-upgrades)
7547 (package-menu--status-predicate): Support "unsigned" status.
7548
adf2aa61
SM
75492013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7550
7551 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7552 the new compilation scheme using the new byte-codes.
7553
7554 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7555 (byte-pophandler): New byte codes.
7556 (byte-goto-ops): Adjust accordingly.
7557 (byte-compile--use-old-handlers): New var.
7558 (byte-compile-catch): Use new byte codes depending on
7559 byte-compile--use-old-handlers.
7560 (byte-compile-condition-case--old): Rename from
7561 byte-compile-condition-case.
7562 (byte-compile-condition-case--new): New function.
7563 (byte-compile-condition-case): New function that dispatches depending
7564 on byte-compile--use-old-handlers.
7565 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7566 when we can.
7567
7568 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7569 Optimize under `condition-case' and `catch' if
7570 byte-compile--use-old-handlers is nil.
7571 (disassemble-offset): Handle new bytecodes.
7572
328a8179
SM
75732013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7574
7575 * subr.el (error): Use `declare'.
7576 (decode-char, encode-char): Use advertised-calling-convention instead
7577 of the docstring to discourage use of the `restriction' arg.
7578
15a1e936
DU
75792013-10-03 Daiki Ueno <ueno@gnu.org>
7580
7581 * epg.el (epg-verify-file): Add a comment saying that it does not
7582 notify verification error as a return value nor a signal.
7583 (epg-verify-string): Ditto.
7584
376f862a
KR
75852013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7586
7587 * progmodes/compile.el (compilation-start): Try globbing the arg to
7588 `cd' (bug#15417).
7589
a2f93a5f
MA
75902013-10-02 Michael Albinus <michael.albinus@gmx.de>
7591
7592 Sync with Tramp 2.2.8.
7593
7594 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7595 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7596 * net/trampver.el: Update release number.
7597
0daa0804
JD
75982013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7599
7600 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7601 and default-process-coding-system for darwin only.
7602
abd1ae34
SM
76032013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7604
7605 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7606
be4e325d
MH
76072013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7608
7609 * vc/vc-git.el (vc-git-grep): Disable pager.
7610
e9155c4a
DG
76112013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7612
494e898b
DG
7613 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7614 Use :url instead of :homepage, as per
7615 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7616
e9155c4a
DG
7617 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7618 non-nil, use `syntax-ppss' (Bug#15251).
7619
481a8e0f
RS
76202013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7621
be4e325d
MH
7622 * progmodes/octave.el (inferior-octave-startup-file):
7623 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 7624
056453c6
DG
76252013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7626
be4e325d
MH
7627 * emacs-lisp/package.el (package-desc-from-define):
7628 Accept additional arguments as plist, convert them to an alist and store
7629 them in the `extras' slot.
056453c6
DG
7630 (package-generate-description-file): Convert extras alist back to
7631 plist and append to the `define-package' form arguments.
7632 (package--alist-to-plist): New function.
7633 (package--ac-desc): Add `extras' slot.
7634 (package--add-to-archive-contents): Check if the archive-contents
7635 vector is long enough, and if it is, pass its `extras' slot value
7636 to `package-desc-create'.
7637 (package-buffer-info): Call `lm-homepage', pass the returned value
7638 to `package-desc-from-define'.
7639 (describe-package-1): Render the homepage button (Bug#13291).
7640
be4e325d
MH
7641 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7642 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 7643
832966e5
JD
76442013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7645
7646 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7647 and default-process-coding-system to utf-8-unix (Bug#15402).
7648
6cfe977d
XF
76492013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7650
7651 * subr.el (looking-back): Do not recommend using looking-back.
7652
38de11bd
AM
76532013-09-28 Alan Mackenzie <acm@muc.de>
7654
7655 Fix indentation/fontification of Java enum with "implements".
7656
7657 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7658 regexp which matches "implements", etc., in Java.
7659 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7660 specifier clauses coming after "enum".
7661 * progmodes/cc-fonts.el (c-font-lock-declarations)
7662 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7663 after "enum".
7664
1610938f
JD
76652013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7666
7667 * faces.el (region): Change ns_selection_color to
7668 ns_selection_fg_color, add ns_selection_bg_color.
7669
e090f499
LL
76702013-09-28 Leo Liu <sdl.web@gmail.com>
7671
4d2e94d1
LL
7672 * progmodes/octave.el (inferior-octave-completion-table)
7673 (inferior-octave-completion-at-point): Minor tweaks.
7674
e090f499
LL
7675 * textmodes/ispell.el (ispell-lookup-words): Rename from
7676 lookup-words. (Bug#15460)
7677 (lookup-words): Obsolete.
7678 (ispell-complete-word, ispell-command-loop): All uses changed.
7679
7e138a62
RS
76802013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7681
a12bf61e 7682 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
7683 (octave-mode-menu): Add octave-send-buffer.
7684 (octave-send-buffer): New function.
7685
5af5ed08
RS
76862013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7687
a12bf61e 7688 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
7689 octave-lookfor.
7690 (octave-mode-menu): Add octave-lookfor.
7691 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7692 octave-lookfor.
7693 (octave-lookfor): New function.
7694
3b7b2692
SM
76952013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7696
35e951cd 7697 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
7698 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7699 its convention.
7700 (cl--loop-set-iterator-function): New function.
7701 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7702 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7703 Bind `it' with `let' instead of substituting it with `cl-subst'.
7704 (cl--unused-var-p): New function.
7705 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7706 Eliminate some unused variable warnings (bug#15326).
7707
529fb53f
TH
77082013-09-27 Tassilo Horn <tsdh@gnu.org>
7709
7710 * doc-view.el (doc-view-scale-reset): Rename from
7711 `doc-view-reset-zoom-level'.
7712 (doc-view-scale-adjust): New command.
7713 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7714 `doc-view-scale-adjust'.
7715
0550c95a
TH
77162013-09-26 Tassilo Horn <tsdh@gnu.org>
7717
7718 * doc-view.el (doc-view-reset-zoom-level): New command.
7719 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7720 zoom commands (bug#15466).
7721
6950f152
KH
77222013-09-26 Kenichi Handa <handa@gnu.org>
7723
7724 * international/quail.el (quail-help): Make it not a command.
7725
39587580
LL
77262013-09-26 Leo Liu <sdl.web@gmail.com>
7727
7728 * minibuffer.el (completion-all-sorted-completions): Make args
7729 optional as they are.
7730
00578659
DC
77312013-09-25 Daniel Colascione <dancol@dancol.org>
7732
7733 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7734 specs are and that they're not evaluated.
7735
0c173878
SS
77362013-09-24 Sam Steingold <sds@gnu.org>
7737
7738 * midnight.el (clean-buffer-list-kill-regexps)
7739 (clean-buffer-list-kill-buffer-names): Update for the new Man
7740 buffer naming which includes the object name.
7741
84998447
SM
77422013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7744 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7745 (eshell-parse-command, eshell-parse-pipeline): Use it since
7746 eshell-separate-commands requires a dynamic scoped var.
7747 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7748
33215353
LL
77492013-09-23 Leo Liu <sdl.web@gmail.com>
7750
7751 * autoinsert.el (auto-insert-alist): Make the value of
7752 lexical-binding match its file setting.
7753
57b16162
JB
77542013-09-23 Juanma Barranquero <lekktu@gmail.com>
7755
c8af4e67
JB
7756 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7757
57b16162
JB
7758 * autoarg.el (autoarg-kp-digit-argument):
7759 * electric.el (Electric-command-loop):
7760 * kmacro.el (kmacro-step-edit-insert):
7761 Do not set universal-argument-num-events.
7762
7186ba60
LL
77632013-09-22 Leo Liu <sdl.web@gmail.com>
7764
7765 * files.el (interpreter-mode-alist): Add octave.
7766
ece15004
AM
77672013-09-21 Alan Mackenzie <acm@muc.de>
7768
7769 C++: fontify identifier in declaration following "public:" correctly.
7770 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7771 to match "public", etc.
7772 (c-decl-prefix-re): Add ":" into the C++ value.
7773 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7774 bit. Add a check for a ":" preceded by "public", etc.
7775
75d83e22
EZ
77762013-09-21 Eli Zaretskii <eliz@gnu.org>
7777
7778 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7779 recognized by GDB 7.5 and later.
7780
d052d3bd
XF
77812013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7782
7783 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7784
31dca772
R
77852013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7786
7787 * subr.el (internal--call-interactively): New const.
7788 (called-interactively-p): Use it (bug#3984).
7789
98ccf24e
XF
77902013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7791
7792 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
7793 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7794 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 7795
c39cc7d1
SM
77962013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7799 (eshell-ls-orig-insert-directory): Remove.
7800 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7801 (eshell-ls-use-in-dired): Use advice-add/remove.
7802 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7803 Add `orig-fun' arg for use in :around advice.
7804 Make it check (redundantly) eshell-ls-use-in-dired.
7805
9a0289a2
GM
78062013-09-19 Glenn Morris <rgm@gnu.org>
7807
a2c501b8
GM
7808 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7809
c440407a
GM
7810 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7811
9a0289a2
GM
7812 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7813
85e05915
MA
78142013-09-19 Michael Albinus <michael.albinus@gmx.de>
7815
7816 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7817 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7818 (tramp-get-remote-python): New defuns.
7819 (tramp-get-remote-uid-with-perl)
7820 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7821 contributed by yary <not.com@gmail.com> (tiny change).
7822 (tramp-get-remote-uid-with-python)
7823 (tramp-get-remote-gid-with-python): New defuns. Python code
7824 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7825 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7826
ce503312
GM
78272013-09-19 Glenn Morris <rgm@gnu.org>
7828
f7544773
GM
7829 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7830
72fd2877
GM
7831 * eshell/em-unix.el (eshell-remove-entries):
7832 Rename argument to avoid name-clash with global `top-level'.
7833
336b5a56
GM
7834 * eshell/esh-proc.el (eshell-kill-process-function):
7835 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7836 (eshell-reset-after-proc): Remove unused arg `proc'.
7837
57a3a53d
GM
7838 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7839 (directory-files-and-attributes): Mark unused arg.
7840
3261d4af
GM
7841 * eshell/em-unix.el (eshell-remove-entries):
7842 Remove unused arg `path'. Update callers.
7843
8e51b5d0
GM
7844 * eshell/em-hist.el (eshell-hist-parse-arguments):
7845 Remove unused arg `silent'. Update callers.
7846
ce503312
GM
7847 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7848 Fix (f)boundp mix-up.
7849
7850 * eshell/em-smart.el (eshell-smart-scroll-window)
7851 (eshell-disable-after-change):
336b5a56 7852 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 7853
ee3ce8a7
AM
78542013-09-18 Alan Mackenzie <acm@muc.de>
7855
7856 Fix fontification of type when followed by "const".
7857 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7858 "known" types from fontification.
7859
ec9177ba
GM
78602013-09-18 Glenn Morris <rgm@gnu.org>
7861
7bb3e768
GM
7862 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7863 (chart-face-list): Drop Emacsen without display-color-p.
7864
5148da15
GM
7865 * net/eww.el (libxml-parse-html-region): Declare.
7866 (eww-display-html): Explicit error if no libxml2 support.
7867
2f68e157
GM
7868 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7869
9019d095
GM
7870 * image.el (image-type-from-buffer, image-multi-frame-p):
7871 Remove --without-x warning/error.
67645389 7872
5f30349b 7873 * mouse.el (mouse-yank-primary):
45069b2e 7874 * term.el (term-mouse-paste):
5f30349b
GM
7875 Reorder to silence --without-x compilation.
7876
cd8edbbe
GM
7877 * mpc.el (doc-view-mode): Silence --without-x compilation.
7878
8a78544e
GM
7879 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7880 Silence --without-x compilation.
7881
12679bfd
GM
7882 * progmodes/gud.el (gud-find-file, gud-mode):
7883 Silence --without-x compilation.
7884 (tooltip-mode): Declare.
30810a05 7885
f0047cb9
GM
7886 * wdired.el (dired-backup-overwrite): Remove declaration.
7887 (wdired-mode-map): Add doc string.
7888
e740f9d2
GM
7889 * custom.el (x-get-resource): Declare.
7890
92d77c89
GM
7891 * eshell/em-glob.el (ange-cache):
7892 * eshell/em-unix.el (ange-cache): Declare.
7893
76e69577
GM
7894 * faces.el (x-display-list, x-open-connection, x-get-resource):
7895 Declare.
7e58af4b
GM
7896
7897 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7898 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7899 Declare.
76e69577 7900
4bd4c0af 7901 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 7902
ffb82dbd
GM
7903 * net/gnutls.el (gnutls-log-level): Declare.
7904
986ed135
GM
7905 * net/shr.el (image-size, image-animate): Declare.
7906
e740f9d2
GM
7907 * simple.el (font-info): Declare.
7908
d2f3e9f8
GM
7909 * subr.el (x-popup-dialog): Declare.
7910
047a1a4c
GM
7911 * term/common-win.el (x-select-enable-primary)
7912 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7913 Declare.
7914
f4a1d572
GM
7915 * term/ns-win.el (x-handle-args): Declare.
7916
e843de77
GM
7917 * term/x-win.el (x-select-enable-clipboard): Declare.
7918
5fa89513
GM
7919 * term/w32-win.el (create-default-fontset): Declare.
7920
38702b5b
GM
7921 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7922 Declare.
7923
e740f9d2
GM
7924 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7925 (fit-frame-to-buffer): Explicit error if --without-x.
7926 (mouse-autoselect-window-select): Silence compiler.
7927
49a053fc
GM
7928 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7929
7930 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7931 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7932 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 7933 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
7934 Remove unused local variables.
7935
7936 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7937
ec9177ba
GM
7938 * textmodes/two-column.el: Make 2C-split work for --without-x.
7939 (scroll-bar-columns): Autoload.
7940 (top-level): Require fringe when compiling.
7941
9f25cb77
LL
79422013-09-18 Leo Liu <sdl.web@gmail.com>
7943
7944 * subr.el (add-hook): Robustify to handle closure as well.
7945
2b42da98
GM
79462013-09-17 Glenn Morris <rgm@gnu.org>
7947
7948 * simple.el (messages-buffer-mode-map): Unbind "g".
7949
e8b66a6a
SM
79502013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7951
9c0ad4f7
SM
7952 * help-mode.el (help-mode-finish): Use derived-mode-p.
7953 Remove obsolete highlighting.
7954
7a806dfb
SM
7955 * play/life.el (life-mode): Use define-derived-mode. Derive from
7956 special-mode.
7957 (life): Let-bind inhibit-read-only.
7958 (life-setup): Avoid `setq'. Use `life-mode'.
7959
96dbf5a8
SM
7960 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7961 which should not be needed any more.
7962 (package-menu-refresh, package-menu-describe-package): Use user-error.
7963
e8b66a6a
SM
7964 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7965 (eshell-post-rewrite-command-hook): Make obsolete.
7966 (eshell-parse-command): Simplify.
7967 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7968 (eshell--cmd): Declare.
7969 (eshell-parse-pipeline): Remove unused var `final-p'.
7970 Pass a dynvar to eshell-post-rewrite-command-hook.
7971 Implement the new eshell-post-rewrite-command-function.
7972 (eshell-invoke-directly): Remove unused arg `input'.
7973 * eshell/esh-io.el (eshell-io-initialize):
7974 Use eshell-post-rewrite-command-function (bug#15399).
7975 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7976 adjust to new calling convention.
7977 (eshell-create-handles): Rename args to avoid clashing with dynvar
7978 `standard-output'.
7979
90582f05
GM
79802013-09-17 Glenn Morris <rgm@gnu.org>
7981
7982 * simple.el (messages-buffer-mode): New major mode.
7983 (messages-buffer): New function.
7984 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7985 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 7986 (ert-run-test): Use `messages-buffer' function.
90582f05 7987 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
7988 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7989 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 7990
39eb0cb5 79912013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
7992
7993 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7994
1d42e5b6 7995 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 7996
70568a90
SM
79972013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7998
504a0381
SM
7999 * icomplete.el (icomplete-in-buffer): New var.
8000 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8001 vars and replace them with functions.
8002 (icomplete-minibuffer-setup): Adjust accordingly.
8003 (icomplete--completion-table, icomplete--completion-predicate)
8004 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8005 New functions.
8006 (icomplete-forward-completions, icomplete-backward-completions)
8007 (icomplete-simple-completing-p, icomplete-exhibit)
8008 (icomplete-completions): Use them.
8009 (icomplete--in-region-buffer): New var.
8010 (icomplete--in-region-setup): New function.
8011 (icomplete-mode): Use it.
8012
70568a90
SM
8013 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8014 (bug#15379).
8015 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8016 return args and options.
8017 (eshell-eval-using-options): Use the new return value of
8018 eshell--do-opts to set the options's vars in their scope.
8019 (eshell--set-option): Rename from eshell-set-option.
8020 Add arg `opt-vals'.
8021 (eshell--process-option): Rename from eshell-process-option.
8022 Add arg `opt-vals'.
8023 (eshell--process-args): Use an `opt-vals' alist to store the options's
8024 values during their processing and return them additionally to the
8025 remaining args.
8026
578c21bc
DG
80272013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8028
8029 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8030 continuation character an operator, as far as indentation is
8031 concerned (Bug#15369).
8032
c089653d
MR
80332013-09-15 Martin Rudalics <rudalics@gmx.at>
8034
8035 * window.el (window--state-put-2): Don't process buffer state
8036 when buffer doesn't exist any more (Bug#15382).
8037
1e53bb4b
GM
80382013-09-15 Glenn Morris <rgm@gnu.org>
8039
30753242
GM
8040 * eshell/em-unix.el (eshell/rm):
8041 Make -f ignore missing files. (Bug#15373)
8042
1e53bb4b
GM
8043 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8044 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8045 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8046
0d8863b3
GM
80472013-09-14 Glenn Morris <rgm@gnu.org>
8048
8049 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8050
d3fc6549
GM
80512013-09-13 Glenn Morris <rgm@gnu.org>
8052
8053 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8054 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8055
fcd42c11
DA
80562013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8057
8058 * frame.el (x-focus-frame): Mark as declared in frame.c.
8059
7830899f
SM
80602013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * ls-lisp.el: Use advice-add.
8063 (original-insert-directory): Remove.
8064 (ls-lisp--insert-directory): Rename from insert-directory; add
8065 `orig-fun' argument.
8066 (insert-directory): Advise.
8067
84387cd2
EZ
80682013-09-13 Eli Zaretskii <eliz@gnu.org>
8069
8070 * term.el (term-emulate-terminal): Decode the command string
8071 before passing it to term-command-hook. (Bug#15337)
8072
35ffc6ba
GM
80732013-09-13 Glenn Morris <rgm@gnu.org>
8074
5c3f9bcc
GM
8075 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8076
2ada368a
GM
8077 * eshell/esh-ext.el (eshell-search-path): Declare.
8078
fcef2e13
GM
8079 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8080 Otherwise an error occurs if eshell-dirs module not loaded.
8081
35ffc6ba
GM
8082 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8083
35c3d36e
MA
80842013-09-13 Michael Albinus <michael.albinus@gmx.de>
8085
8086 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8087 `tramp-check-proper-host'. Check for a valid method name.
8088
8089 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8090 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8091 * net/tramp-sh.el (tramp-maybe-open-connection):
8092 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8093
8094 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8095 also for hash values.
8096
ae5e4c48
SM
80972013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8098
379add74
SM
8099 * term/ns-win.el (parameters): Don't declare as dynamic.
8100 (before-make-frame-hook): Don't add ineffective function.
8101
ae5e4c48
SM
8102 * eshell/*.el: Use lexical-binding (bug#15231).
8103
b5623270
KH
81042013-09-12 Kenichi Handa <handa@gnu.org>
8105
ae5e4c48 8106 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 8107
30213927
GM
81082013-09-12 Glenn Morris <rgm@gnu.org>
8109
be94d713 8110 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 8111 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 8112
44915370
GM
8113 * subr.el (do-after-load-evaluation): Also give compiler warnings
8114 when obsolete files are used (except by obsolete files).
8115
a6ae021f
GM
8116 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8117 in the status output, assume `filename' is the first. (Bug#15322)
8118
40e64f0c
GM
8119 * vc/vc.el (vc-deduce-fileset): Doc fix.
8120
16d9f896
GM
8121 * calc/calc-help.el (Info-goto-node):
8122 * progmodes/cperl-mode.el (Info-find-node):
8123 * vc/ediff.el (Info-goto-node): Update declarations.
8124
dea01c6e
GM
8125 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8126
759880bf 8127 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
8128 (vc-bzr-pull): Require vc-dispatcher.
8129 * vc/vc-git.el (vc-compilation-mode): Declare.
8130 (vc-git-pull): Require vc-dispatcher.
8131
08d66420
GM
8132 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8133
30b626e9
GM
8134 * progmodes/octave.el (help-button-action): Declare.
8135
8c05cb10
GM
8136 * shell.el (shell-directory-tracker): Output error as a message
8137 rather than just returning it as a string.
8138 (shell-process-pushd): Remove useless use of message.
8139
30213927
GM
8140 * dframe.el (dframe-timer-fn):
8141 * files.el (dir-locals-read-from-file):
8142 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8143 (mpc-format):
8144 * reveal.el (reveal-post-command):
8145 * saveplace.el (load-save-place-alist-from-file):
8146 * shell.el (shell-resync-dirs):
8147 * w32-common-fns.el (x-get-selection-value):
8148 * emacs-lisp/copyright.el (copyright-find-copyright):
8149 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8150 * emulation/tpu-edt.el (tpu-copy-keyfile):
8151 * play/bubbles.el (bubbles--mark-neighbourhood):
8152 * progmodes/executable.el
8153 (executable-make-buffer-file-executable-if-script-p):
8154 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8155
d3b049e6
SM
81562013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8157
170266d0
SM
8158 Cleanup Eshell to rely less on dynamic scoping.
8159 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8160 last-value, and ext-command here. Bind `args' closer to `body'.
8161 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8162 (eshell--args): Declare new dynamic var.
8163 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8164 last-value, and ext-command. Pass `args' to `body'.
8165 (eshell-process-args): Bind eshell--args.
8166 (eshell-set-option): Use eshell--args.
8167 * eshell/eshell.el (eshell): Use derived-mode-p.
8168 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8169 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8170 (eshell-glob-function): Declare.
8171 * eshell/esh-util.el: Require cl-lib.
8172 (eshell-read-hosts-file): Avoid add-to-list.
8173 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8174 `err'.
8175 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8176 Declare.
8177 (eshell/diff): Remove unused var `err'.
8178 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8179 `killflag'.
8180 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8181 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8182 first use.
8183 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8184 Move declaration before first use.
8185 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
8186 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8187 rely on cl-return.
8188
56834f3b
GM
81892013-09-12 Glenn Morris <rgm@gnu.org>
8190
8191 * term/ns-win.el (global-map): Remove binding for ispell-next,
8192 deleted 1999-05-29. (Bug#15357)
8193
5c91a2b8
GM
81942013-09-11 Glenn Morris <rgm@gnu.org>
8195
da712f22
GM
8196 * echistory.el (electric-command-history): Remove call to deleted func.
8197
512e4cdc
GM
8198 * play/landmark.el (landmark-mode): Fix typos.
8199
d3506ca5
GM
8200 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8201 Check cvs-sort-ignore-file is bound.
8202
5c91a2b8
GM
8203 * savehist.el: No need for cl when compiling on Emacs.
8204
feeff482
SM
82052013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8206
656bd483
SM
8207 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8208 (bug#15338).
d3b049e6
SM
8209 (eshell-self-insert-command, eshell-send-invisible):
8210 Remove unused argument.
656bd483
SM
8211 (eshell-handle-control-codes): Remove unused var `orig'.
8212 Avoid delete-backward-char.
8213
feeff482
SM
8214 * files.el (set-auto-mode): Simplify a bit further.
8215
2a08047a
GM
82162013-09-11 Glenn Morris <rgm@gnu.org>
8217
8218 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8219 (set-auto-mode): Don't regexp-quote elements.
8220 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8221 * progmodes/cc-mode.el (interpreter-mode-alist):
8222 * progmodes/ruby-mode.el (interpreter-mode-alist):
8223 Revert previous change.
8224
34675540
SM
82252013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8226
1b3b87df
SM
8227 * play/snake.el (snake-mode):
8228 * play/mpuz.el (mpuz-mode):
8229 * play/landmark.el (lm-mode):
8230 * play/blackbox.el (blackbox-mode):
8231 * play/5x5.el (5x5-mode):
8232 * obsolete/options.el (Edit-options-mode):
8233 * net/quickurl.el (quickurl-list-mode):
8234 * net/newst-treeview.el (newsticker-treeview-mode):
8235 * mail/rmailsum.el (rmail-summary-mode):
8236 * mail/mspools.el (mspools-mode):
8237 * locate.el (locate-mode):
8238 * ibuffer.el (ibuffer-mode):
8239 * emulation/ws-mode.el (wordstar-mode):
8240 * emacs-lisp/debug.el (debugger-mode):
8241 * array.el (array-mode):
8242 * net/eudc.el (eudc-mode): Use define-derived-mode.
8243 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8244 Move initialization into declaration.
8245 (mairix-searches-mode): Use define-derived-mode.
8246 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8247 (eudc-edit-hotlist): Use dolist.
8248 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8249 (Man-mode): Use define-derived-mode.
8250 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8251 (Info-edit-mode): Use define-derived-mode.
8252 (Info-cease-edit): Use Info-mode.
8253 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8254 into declaration.
8255 (eshell-mode): Use define-derived-mode.
8256 * chistory.el (command-history-mode-map): Rename from
8257 command-history-map.
8258 (command-history-mode): Use define-derived-mode.
da712f22 8259 (Command-history-setup): Remove function.
1b3b87df
SM
8260 * calc/calc.el (calc-trail-mode-map): New var.
8261 (calc-trail-mode): Use define-derived-mode.
8262 (calc-trail-buffer): Set calc-main-buffer manually.
8263 * bookmark.el (bookmark-insert-annotation): New function.
8264 (bookmark-edit-annotation): Use it.
8265 (bookmark-edit-annotation-mode): Make it a proper major mode.
8266 (bookmark-send-edited-annotation): Use derived-mode-p.
8267 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8268 closer to its ideal place. Use \' to match EOS.
8269
34675540
SM
8270 * profiler.el (profiler-calltree-find): Use function-equal.
8271
6a5c15d9
GM
82722013-09-10 Glenn Morris <rgm@gnu.org>
8273
1af4c220
GM
8274 * files.el (interpreter-mode-alist): Convert to regexps.
8275 (set-auto-mode): Adapt for this. (Bug#15306)
8276 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8277 Comment out unused variable.
8278 * progmodes/cc-mode.el (interpreter-mode-alist):
8279 * progmodes/python.el (interpreter-mode-alist):
8280 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8281 * progmodes/sh-script.el (sh-set-shell):
8282 No longer use interpreter-mode-alist to get list of shells.
8283
6a5c15d9
GM
8284 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8285
8c27f5ff
SM
82862013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8287
02ef6c1a 8288 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 8289 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
8290 Bind switch-frame explicitly. Replace universal-argument-minus with
8291 a conditional binding.
8292 (universal-argument-num-events, saved-overriding-map): Remove.
8293 (restore-overriding-map): Remove.
8294 (universal-argument--mode): Rename from save&set-overriding-map,
8295 and rewrite.
8296 (universal-argument, universal-argument-more, negative-argument)
8297 (digit-argument): Adjust accordingly.
8298 (universal-argument-minus): Remove.
8299 (universal-argument-other-key): Remove.
8300
8c27f5ff
SM
8301 * subr.el (with-demoted-errors): Add `format' argument.
8302
6480194c
MA
83032013-09-10 Michael Albinus <michael.albinus@gmx.de>
8304
8305 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8306 `tramp-cleanup-connection'.
8307
8308 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8309 parameters KEEP-DEBUG and KEEP-PASSWORD.
8310
8311 * net/tramp.el (tramp-file-name-handler):
8312 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8313 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8314 (tramp-maybe-open-connection):
8c27f5ff
SM
8315 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8316 Use `tramp-cleanup-connection'.
6480194c 8317
8c27f5ff
SM
8318 * net/tramp-sh.el (tramp-maybe-open-connection):
8319 Catch 'uname-changed inside the progress reporter.
6480194c 8320
e5e916d8
GM
83212013-09-10 Glenn Morris <rgm@gnu.org>
8322
9a2c9b47
GM
8323 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8324
e5e916d8
GM
8325 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8326 returns "alternate access method" in mode (eg "-rw-r--r--.").
8327
144e38fe
GM
83282013-09-08 Glenn Morris <rgm@gnu.org>
8329
8330 * saveplace.el (load-save-place-alist-from-file):
8331 Demote errors. (Bug#15305)
8332
af9ff9e8
MA
83332013-09-08 Michael Albinus <michael.albinus@gmx.de>
8334
8335 Improve compatibility with older Emacsen, and XEmacs.
8336
8337 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8338 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
8339 (with-tramp-progress-reporter): Do not let-bind `result'.
8340 This yields to scoping errors in XEmacs.
af9ff9e8
MA
8341 (tramp-handle-make-auto-save-file-name): New function, moved from
8342 tramp-sh.el.
8343
8344 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8345 for `make-auto-save-file-name'.
8c27f5ff
SM
8346 (tramp-adb--gnu-switches-to-ash):
8347 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8348
8349 * net/tramp-cache.el (tramp-cache-print): Call
8350 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8351
8352 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8353 bound. It isn't for XEmacs.
8354
8c27f5ff
SM
8355 * net/tramp-compat.el (tramp-compat-copy-file):
8356 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
8357 (tramp-compat-replace-regexp-in-string): New defun.
8358
8359 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8360 for `make-auto-save-file-name'.
8361 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8362 `copy-file'.
8363 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8364 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8365 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8366
8c27f5ff
SM
8367 * net/tramp-gw.el (tramp-gw-open-network-stream):
8368 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 8369
8c27f5ff
SM
8370 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8371 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
8372 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8373 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
8374 (tramp-sh-file-inotifywait-process-filter):
8375 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8376 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8377
8378 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8379 for `make-auto-save-file-name'.
8c27f5ff
SM
8380 (tramp-smb-handle-copy-directory):
8381 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8382 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8383 (tramp-smb-handle-copy-file): Improve error message.
8384 (tramp-smb-handle-rename-file): Rename directly only in case
8385 `newname' does not exist yet. This is a restriction of smbclient.
8386 (tramp-smb-maybe-open-connection): Rerun the function only when
8387 `auth-sources' is non-nil.
8388
0ca754d0
KH
83892013-09-08 Kenichi Handa <handa@gnu.org>
8390
e0eb0550 8391 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
8392 more characters.
8393
e8dd0787
AM
83942013-09-07 Alan Mackenzie <acm@muc.de>
8395
8396 Correctly fontify Java class constructors.
8397 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8398 in Java Mode.
8399 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
8400 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8401 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
8402 "typeless" declaration there.
8403
f2f248e7
RW
84042013-09-07 Roland Winkler <winkler@gnu.org>
8405
8406 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8407 field subtitle for entry type book.
8408
67982e2b
SM
84092013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * minibuffer.el: Make minibuffer-complete call completion-in-region
8412 rather than other way around.
8413 (completion--some, completion-pcm--find-all-completions):
8414 Don't delay signals when debugging.
8415 (minibuffer-completion-contents): Beware fields within the
8416 minibuffer contents.
8417 (completion-all-sorted-completions): Use defvar-local.
8418 (completion--do-completion, completion--cache-all-sorted-completions)
8419 (completion-all-sorted-completions, minibuffer-force-complete):
8420 Add args `beg' and `end'.
8421 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8422 (minibuffer-complete): Use completion-in-region.
8423 (completion-complete-and-exit): New fun, extracted from
8424 minibuffer-complete-and-exit.
8425 (minibuffer-complete-and-exit): Use it.
8426 (completion--complete-and-exit): Rename from
8427 minibuffer--complete-and-exit.
8428 (completion-in-region--single-word): New function, extracted from
8429 minibuffer-complete-word.
8430 (minibuffer-complete-word): Use it.
8431 (display-completion-list): Make `common-substring' argument obsolete.
8432 (completion--in-region): Call completion--in-region-1 instead of
8433 minibuffer-complete.
8434 (completion-help-at-point): Pass boundaries to
8435 minibuffer-completion-help as args rather than via an overlay.
8436 (completion-pcm--string->pattern): Use `any-delim'.
8437 (completion-pcm--optimize-pattern): New function.
8438 (completion-pcm--pattern->regex): Handle `any-delim'.
8439 * icomplete.el (icomplete-forward-completions)
8440 (icomplete-backward-completions, icomplete-completions):
8441 Adjust calls to completion-all-sorted-completions and
8442 completion--cache-all-sorted-completions.
8443 (icomplete-with-completion-tables): Default to t.
8444 * emacs-lisp/crm.el (crm--current-element): Rename from
8445 crm--select-current-element. Don't put an overlay but return the
8446 boundaries instead.
8447 (crm--completion-command): Take two new args to bind to the boundaries.
8448 (crm-completion-help): Adjust accordingly.
8449 (crm-complete): Use completion-in-region.
8450 (crm-complete-word): Use completion-in-region--single-word.
8451 (crm-complete-and-exit): Use completion-complete-and-exit.
8452
e17d94a5
SM
84532013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8456 than dynamically.
8457
96727100
JL
84582013-09-06 Juri Linkov <juri@jurta.org>
8459
8460 * info.el (Info-display-images-node): When image file doesn't exist
8461 display text version of the image if it's provided in the Info file.
8462 Otherwise, display the location of missing image from SRC attribute.
8463 Add help-echo text property from ALT attribute. (Bug#15279)
8464
86cf7329
SM
84652013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8468 (edit-abbrevs-mode): Use define-derived-mode.
8469
8470 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8471 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8472 that it's defined.
8473 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8474 Use define-derived-mode.
8475
8476 * epg.el (epg-start-encrypt): Minor CSE simplification.
8477
816244a2
WX
84782013-09-06 William Xu <william.xwl@gmail.com>
8479
8480 * arc-mode.el: Add support for 7za (bug#15264).
8481 (archive-7z-program): New var.
8482 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8483 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8484 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8485
1486fa31
MA
84862013-09-06 Michael Albinus <michael.albinus@gmx.de>
8487
8488 Remove URL syntax.
8489
8490 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8491 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8492 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8493 (tramp-postfix-host-format, tramp-file-name-regexp)
8494 (tramp-completion-file-name-regexp)
8495 (tramp-completion-dissect-file-name)
8496 (tramp-handle-substitute-in-file-name): Remove 'url case.
8497 (tramp-file-name-regexp-url)
8498 (tramp-completion-file-name-regexp-url): Remove constants.
8499
39785324
GM
85002013-09-06 Glenn Morris <rgm@gnu.org>
8501
8502 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8503
1f896cb7
DG
85042013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8505
8506 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8507 keywords" below "here-doc beginnings" (Bug#15270).
8508
c0458e0b
SM
85092013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * subr.el (pop): Use `car-safe'.
8512 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8513 to detect unused `pop' return value.
8514
8515 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8516 var `block-regexp'.
8517 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8518 (python-fill-string): Remove unused var `marker'.
8519 (python-skeleton-add-menu-items): Remove unused var `items'.
8520
8521 * international/mule-cmds.el: Require CL.
8522 (find-coding-systems-for-charsets): Avoid add-to-list.
8523 (sanitize-coding-system-list): New function, extracted from
8524 select-safe-coding-system-interactively.
8525 (select-safe-coding-system-interactively): Use it.
8526 (read-input-method-name): Accept symbols for `default'.
8527
8528 * emacs-lisp/advice.el (defadvice): Add indent rule.
8529
6c42fc3e
DH
85302013-09-05 Daniel Hackney <dan@haxney.org>
8531
8532 * dired-x.el:
8533 * net/ange-ftp.el:
8534 * net/browse-url.el:
8535 * net/dbus.el:
8536 * net/eudc.el:
8537 * net/eudcb-ldap.el:
8538 * net/eww.el:
8539 * net/imap.el:
8540 * printing.el:
8541 * vc/ediff-diff.el:
8542 * vc/ediff-init.el:
8543 * vc/ediff-merg.el:
8544 * vc/ediff-mult.el:
8545 * vc/ediff-util.el:
8546 * vc/ediff-wind.el:
8547 * vc/ediff.el:
8548 * vc/emerge.el:
8549 * vc/pcvs.el:
8550 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8551 byte compiler. Remove some unused let-bound variables.
8552
4c528aab
SM
85532013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8554
8555 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8556 a "ref-cell", since it gets better optimized (bug#14883).
8557
bd15c390
GM
85582013-09-05 Glenn Morris <rgm@gnu.org>
8559
8560 * progmodes/cc-awk.el (c-forward-sws): Declare.
8561
1c3ac2e5
GM
85622013-09-04 Glenn Morris <rgm@gnu.org>
8563
8564 * generic-x.el [rul-generic-mode]: Require cc-mode.
8565 (c++-mode-syntax-table): Declare.
8566 (rul-generic-mode-syntax-table): Init in the defvar.
8567
52b1cc79
SM
85682013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8569
c828af56
SM
8570 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8571 (vc-do-command, vc-set-async-update):
8572 * vc/vc-mtn.el (vc-mtn-dir-status):
8573 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8574 (vc-hg-pull, vc-hg-merge-branch):
8575 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8576 (vc-git-merge-branch):
8577 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8578 (vc-cvs-dir-status-files):
8579 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8580 (vc-bzr-dir-status-files):
8581 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8582 * vc/vc-annotate.el: Use lexical-binding.
8583 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8584 (vc-sentinel-movepoint): Declare.
8585 (vc-annotate): Don't use `goto-line'.
8586 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8587 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8588 (vc-sentinel-movepoint): Declare.
8589 * vc/vc-svn.el: Use lexical-binding.
8590 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8591 * vc/vc-sccs.el:
8592 * vc/vc-rcs.el: Use lexical-binding.
8593
abae272c
SM
8594 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8595 `deleted'. Don't drop errors silently.
8596
52b1cc79
SM
8597 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8598
63191d9f
XF
85992013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8600
8601 * vc/vc.el (vc-ignore): Rewrite.
8602 (vc-default-ignore): New function.
8603 (vc-default-ignore-completion-table): Use find-ignore-file.
8604
8605 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8606 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8607 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8608 Remove. Most code moved to vc.el.
8609
9d3f707c
SM
86102013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8611
abae272c 8612 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
8613 * net/tramp-smb.el (tramp-smb-get-file-entries):
8614 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8615 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8616
fde38d49
SM
8617 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8618 Update call to it.
8619 (eww-change-select): Remove unused var `properties'.
8620 (eww-make-unique-file-name): Remove unused var `base'.
8621
8622 * finder.el (finder-compile-keywords): Don't mess with windows.
8623
84032db7
SM
8624 * calculator.el (calculator-funcall): Fix typo in last change.
8625
724f5e41
SM
8626 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8627
14b511d4
SM
8628 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8629 <pkg>-autoloads.el file stop us.
8630
9d3f707c 8631 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 8632 warnings, and factor out common code.
9d3f707c 8633
88527bc0
DG
86342013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8635
8636 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8637 two-character operators and whether the character preceding them
8638 changes their meaning (Bug#15208).
8639
96edb677
FEG
86402013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8641
8642 Format code sent to Python shell for robustness.
9d3f707c
SM
8643 * progmodes/python.el (python-shell-buffer-substring):
8644 New function.
96edb677
FEG
8645 (python-shell-send-region, python-shell-send-buffer): Use it.
8646
95beaef3
MA
86472013-09-02 Michael Albinus <michael.albinus@gmx.de>
8648
8649 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8650 * net/tramp.el (tramp-user-error): ... here.
8651 (tramp-find-method, tramp-check-proper-host)
8652 (tramp-dissect-file-name, tramp-debug-message)
8653 (tramp-handle-shell-command):
8654 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8655 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8656
8657 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8658
f167c27b
MR
86592013-09-02 Martin Rudalics <rudalics@gmx.at>
8660
8661 * avoid.el (mouse-avoidance-point-position)
8662 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8663 returns nil.
8664
cd16c5f1
FEG
86652013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8666
8667 * progmodes/python.el (python-shell-completion-get-completions):
8668 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 8669 (python-nav-if-name-main): New command.
cd16c5f1 8670
e73c3a0d
GM
86712013-09-01 Glenn Morris <rgm@gnu.org>
8672
f8ccce03
GM
8673 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8674 Avoid leading space in $wins. Otherwise the sed command used by
8675 eg compile-main ends up containing "/*.el". (Bug#15170)
8676
e73c3a0d
GM
8677 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8678
415f808e
GM
86792013-08-30 Glenn Morris <rgm@gnu.org>
8680
8681 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8682 Fix is-this-a-directory logic. (Bug#15220)
8683
f069bba8
SM
86842013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8685
112798c1
SM
8686 * textmodes/css-mode.el: Use SMIE.
8687 (css-smie-grammar): New var.
8688 (css-smie--forward-token, css-smie--backward-token)
8689 (css-smie-rules): New functions.
8690 (css-mode): Use them.
8691 (css-navigation-syntax-table): Remove var.
8692 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8693 (css-indent-calculate, css-indent-line): Remove functions.
8694
8695 Misc changes to reduce use of `(lambda...); and other cleanups.
8696 * cus-edit.el: Use lexical-binding.
8697 (customize-push-and-save, customize-apropos)
8698 (custom-buffer-create-internal): Use closures.
8699 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8700 * progmodes/ada-xref.el: Use setq.
8701 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8702 * dframe.el: Use lexical-binding.
8703 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8704 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8705 * descr-text.el: Use lexical-binding.
8706 (describe-text-widget, describe-text-sexp, describe-property-list):
8707 Use closures.
8708 * comint.el (comint-history-isearch-push-state): Use a closure.
8709 * calculator.el: Use lexical-binding.
8710 (calculator-number-to-string): Make it work with lexical-binding.
8711 (calculator-funcall): Same and use cl-letf.
8712
2da4c3ab
SM
8713 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8714 (lisp--company-doc-string, lisp--company-location): New functions.
8715 (lisp-completion-at-point): Use them to improve Company support.
8716
f069bba8
SM
8717 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8718 params of lambda expressions.
8719 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8720 (ruby-smie--opening-pipe-p): New function.
8721 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8722 symbols and matched |...| for formal params.
8723 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8724 from being treated as hanging. Handle "rescue".
8725
6758b6a8
GM
87262013-08-29 Glenn Morris <rgm@gnu.org>
8727
8728 * progmodes/cc-engine.el (c-pull-open-brace):
8729 Move definition before use.
8730
e8dfd197
SM
87312013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8732
8733 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8734 are immutable. Don't use `unsafe' any more.
8735 (cl--defsubst-expand): Don't substitute at the same time as keeping
8736 a residual unused let-binding. Don't use `unsafe' any more.
8737
cc585c96
GM
87382013-08-29 Glenn Morris <rgm@gnu.org>
8739
ba579ea6
GM
8740 * calendar/cal-china.el (calendar-chinese-year-cache):
8741 Recenter on 2015.
8742
8201a87e
GM
8743 * nxml/nxml-util.el (nxml-debug-clear-inside):
8744 Use cl-loop rather than loop.
8745
6ee877c7
GM
8746 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8747
cc585c96
GM
8748 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8749
27be8d39
GM
87502013-08-28 Glenn Morris <rgm@gnu.org>
8751
397440a1
GM
8752 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8753
2bb762d4
GM
8754 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8755
27be8d39
GM
8756 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8757
2d69b99e
SM
87582013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8759
f663baa7
SM
8760 * simple.el (repeat-complex-command--called-interactively-skip):
8761 New function.
8762 (repeat-complex-command): Use it (bug#14136).
8763
dd4f8b74
SM
8764 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8765 (c-define-abbrev-table): Add `doc' argument.
8766 (c-mode-abbrev-table, c++-mode-abbrev-table)
8767 (objc-mode-abbrev-table, java-mode-abbrev-table)
8768 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8769 (awk-mode-abbrev-table): Use it.
8770 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8771 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8772 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8773 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8774 Move initialization into the declaration; and remove any
8775 autoload cookie.
8776
b58969f7
SM
8777 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8778 and dynamic let binding.
8779
4021d6a6
SM
8780 * vc/smerge-mode.el: Remove redundant :group args.
8781
2d69b99e
SM
8782 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8783 to load-path.
8784
274919fd
JL
87852013-08-28 Juri Linkov <juri@jurta.org>
8786
8787 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8788 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8789 (isearch-other-meta-char): Handle an undefined shifted printing
8790 character by downshifting it. (Bug#15200)
8791
121f8c95
JL
87922013-08-28 Juri Linkov <juri@jurta.org>
8793
8794 * isearch.el (isearch-search): Change regexp error message for
8795 non-regexp searches. (Bug#15166)
8796
50b13cde
PE
87972013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8798
8799 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8800 for portability to hosts where /bin/sh has problems.
8801
95888bca
SM
88022013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8805
bbe558f1
JL
88062013-08-27 Juri Linkov <juri@jurta.org>
8807
8808 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8809 in the keyboard macro. (Bug#15126)
8810
26f98a7d
JL
88112013-08-27 Juri Linkov <juri@jurta.org>
8812
8813 * isearch.el (isearch-quote-char): Comment out converting unibyte
8814 to multibyte, thus syncing with its `quoted-insert' counterpart.
8815 (Bug#15166)
8816
7c97d35e
MR
88172013-08-27 Martin Rudalics <rudalics@gmx.at>
8818
8819 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
8820 argument in call of get-largest-window (Bug#15185).
8821 Reported by Stephen Leake.
7c97d35e 8822
a0b5606e 88232013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
8824
8825 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8826
9e89d835
SM
88272013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8828
8829 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8830 from a matcher-function unless there's no more matches (bug#15161).
8831
78fc2530
MA
88322013-08-26 Michael Albinus <michael.albinus@gmx.de>
8833
8834 * minibuffer.el: Revert change from 2013-08-20.
8835
8836 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8837 with text property `tramp-default', if appropriate.
8838 (tramp-check-proper-host): New defun.
8839 (tramp-dissect-file-name): Do not check hostname. Revert change
8840 of 2013-03-18.
8841 (tramp-backtrace): Make VEC-OR-PROC optional.
8842
8843 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8844 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8845 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
8846 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8847 Apply `tramp-check-proper-host'.
78fc2530 8848
edca97cd
TH
88492013-08-26 Tassilo Horn <tsdh@gnu.org>
8850
8851 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8852 lambda expression in order to have `describe-variable' display it.
8853
df54bcbd
MA
88542013-08-26 Michael Albinus <michael.albinus@gmx.de>
8855
8856 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8857 BUF can be optional. (Bug#15186)
8858
eed99101
XF
88592013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8860
8861 * progmodes/flymake.el (flymake-get-real-file-name-function):
8862 Fix broken customization. (Bug#15184)
8863
b5eb9035
AM
88642013-08-25 Alan Mackenzie <acm@muc.de>
8865
8a51e842
AM
8866 Improve indentation of bracelists defined by macros (without "=").
8867
8868 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8869 expansion begins with "{", regard it as bracelist when it doesn't
8870 contain a ";".
8871
869455d4
AM
8872 Parse C++ inher-intro when there's a template split over 2 lines.
8873
8874 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8875 rigorously the search for "class" etc. followed by ":".
8876
8877 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8878 random languages a regexp which never matches rather than nil.
8879
b5eb9035
AM
8880 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8881
8882 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8883 (c-awk-regexp-one-line-possibly-open-char-list-re)
8884 (c-awk-one-line-possibly-open-regexp-re)
8885 (c-awk-one-line-non-syn-ws*-re): Remove.
8886 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8887 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8888 (c-awk-space*-unclosed-regexp-/-re): New constants.
8889 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8890 aren't regexp delimiters.
8891
8892 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8893 handling for a rare situation in AWK Mode involving unterminated
8894 strings/regexps.
8895
61611d54
GM
88962013-08-23 Glenn Morris <rgm@gnu.org>
8897
2d85dc34
GM
8898 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8899
cb8d2612
GM
8900 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8901
bb35f42f
GM
8902 * files.el (create-file-buffer): If the result would begin with
8903 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 8904
b9808e77
SM
89052013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8906
e3a66363
SM
8907 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8908 text-properties (bug#15155).
8909
b9808e77
SM
8910 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8911 exist any more.
8912 (calc-keypad-redraw): Remove unused var `pad'.
8913 (calc-keypad-press): Remove unused var `menu'.
8914
7fd5f65e
MR
89152013-08-23 Martin Rudalics <rudalics@gmx.at>
8916
b9808e77
SM
8917 * window.el (display-buffer-pop-up-frame):
8918 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
8919 use it as the new frame's buffer (Bug#15133).
8920
8352b530
SM
89212013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * calendar/timeclock.el: Minor cleanups.
8924 (timeclock-ask-before-exiting, timeclock-use-display-time):
8925 Use `symbol'.
8926 (timeclock-modeline-display): Define as alias before the
8927 actual definition.
8928 (timeclock-mode-line-display): Use define-minor-mode.
8929 (timeclock-day-list-template): Make it a function, add an argument.
8930 (timeclock-day-list-required, timeclock-day-list-length)
8931 (timeclock-day-list-debt, timeclock-day-list-span)
8932 (timeclock-day-list-break): Adjust calls accordingly.
8933
9f7b1925
SM
89342013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8937 Use read--expression so that completion works again.
8938
6e50e983
SS
89392013-08-21 Sam Steingold <sds@gnu.org>
8940
8941 Add rudimentary inferior shell interaction
8942 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8943 (sh-set-shell): Reset it.
9f7b1925
SM
8944 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8945 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 8946
dbb0d350
SM
89472013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * align.el: Use lexical-binding.
8950 (align-region): Simplify accordingly.
8951
c88586a9
MA
89522013-08-20 Michael Albinus <michael.albinus@gmx.de>
8953
8954 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8955
8956 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8957 `non-essential' up.
8958
f95527c8
MA
89592013-08-17 Michael Albinus <michael.albinus@gmx.de>
8960
8961 * net/tramp.el:
8962 * net/tramp-adb.el:
8963 * net/tramp-cmds.el:
8964 * net/tramp-ftp.el:
8965 * net/tramp-gvfs.el:
8966 * net/tramp-gw.el:
8967 * net/tramp-sh.el: Don't wrap external variable declarations by
8968 `eval-when-compile'.
8969
4b5fe4ee
LMI
89702013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8971
8972 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8973 now that Emacs supports ImageMagick animations.
8974
13c366c9
MA
89752013-08-16 Michael Albinus <michael.albinus@gmx.de>
8976
8977 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8978 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8979
3dfc5cd6
MR
89802013-08-16 Martin Rudalics <rudalics@gmx.at>
8981
8982 * window.el (mouse-autoselect-window-select): Do autoselect when
8983 mouse pointer is on margin.
8984
4bbb4381
WP
89852013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8986
8987 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8988
3a2ddc2d
GM
89892013-08-16 Glenn Morris <rgm@gnu.org>
8990
e8bedf5a
GM
8991 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8992 Handle "Remote Directory" response of some clients. (Bug#15058)
8993
58c4682f
GM
8994 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8995 Tweak warning. (Bug#14926)
8996
57953f49
GM
8997 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8998 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8999
3a2ddc2d
GM
9000 * image-mode.el (image-mode-map): Add menu items to reverse,
9001 increase, decrease, reset animation speed.
9002 (image--set-speed, image-increase-speed, image-decrease-speed)
9003 (image-reverse-speed, image-reset-speed): New functions.
9004 (image-mode-map): Add bindings for speed commands.
9005
9006 * image.el (image-animate-get-speed, image-animate-set-speed):
9007 New functions.
9008 (image-animate-timeout): Respect image :speed property.
9009
10fa0ed3
SM
90102013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9011
9012 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9013 previous line (bug#15101).
9014 (debugger-eval-expression, debugger-record-expression):
9015 Use read--expression (bug#15102).
9016
5d89d9d2
MA
90172013-08-15 Michael Albinus <michael.albinus@gmx.de>
9018
9019 Remove byte compiler warnings, visible when compiling with
9020 `byte-compile-force-lexical-warnings' set to t.
9021
9022 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9023 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9024 (tramp-handle-unhandled-file-name-directory)
9025 (tramp-handle-file-notify-add-watch, tramp-action-login)
9026 (tramp-action-succeed, tramp-action-permission-denied)
9027 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9028 arguments with "_".
9029
9030 * net/tramp-adb.el (tramp-adb-parse-device-names)
9031 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9032 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9033 (tramp-adb-handle-file-truename): Remove unused arguments.
9034
9035 * net/tramp-cache.el (tramp-flush-directory-property)
9036 (tramp-flush-connection-property, tramp-list-connections)
9037 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9038
10fa0ed3
SM
9039 * net/tramp-compat.el (tramp-compat-make-temp-file):
9040 Rename FILENAME to F.
5d89d9d2
MA
9041
9042 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9043 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9044 (tramp-zeroconf-parse-workstation-device-names)
9045 (tramp-zeroconf-parse-webdav-device-names)
9046 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9047
9048 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9049 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9050
9051 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9052 arguments.
9053 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9054 (tramp-sh-handle-insert-file-contents-literally)
9055 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9056 with "_".
9057 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9058 Remove unused variables.
9059
9060 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9061 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9062 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9063
9064 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9065 Make them a defconst.
9066 (tramp-uuencode-region): Remove unused variable.
9067
62f33bae
JB
90682013-08-14 Juanma Barranquero <lekktu@gmail.com>
9069
9070 * frameset.el (frameset--prop-setter): New function.
9071 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
9072 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9073 parameter was already set in FILTERED. Doc fix.
9074 (frameset--record-minibuffer-relationships): Allow saving a
9075 minibufferless frame without its corresponding minibuffer frame.
9076 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9077 frame, if the frame id matches.
9078 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9079 frames before orphaned ones.
9080 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 9081
c660a885
MR
90822013-08-14 Martin Rudalics <rudalics@gmx.at>
9083
9084 * window.el (window-make-atom): Don't overwrite parameter
9085 already present.
9086 (display-buffer-in-atom-window): Handle special case where we
9087 split an already atomic window.
9088 (window--major-non-side-window, display-buffer-in-side-window)
9089 (window--side-check): Ignore minibuffer window when walking
9090 window tree.
9091 (window-deletable-p): Return 'frame only if no other frame uses
9092 our minibuffer window.
9093 (record-window-buffer): Run buffer-list-update-hook.
9094 (split-window): Make sure window--check-frame won't destroy an
9095 existing atomic window in case the new window gets nested
9096 inside.
9097 (display-buffer-at-bottom): Ignore minibuffer window when
9098 walking window tree. Don't split a side window.
9099 (pop-to-buffer): Don't set-buffer here, the select-window call
9100 should do that.
9101 (mouse-autoselect-window-select): Autoselect only if we are in the
9102 text portion of the window.
9103
8259030d
LMI
91042013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9105
21c58ae2
LMI
9106 * net/shr.el (shr-parse-image-data): New function to grab both the
9107 data itself and the Content-Type.
9108 (shr-put-image): Use it.
9109
9110 * net/eww.el (eww-display-image): Ditto.
9111
8259030d
LMI
9112 * image.el (image-content-type-suffixes): New variable.
9113
ad756449
FEG
91142013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9115
9116 * progmodes/python.el (python-imenu--build-tree)
9117 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9118
f73f4ce6
XF
91192013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9120
9121 * simple.el (backward-word): Mention the optional argument.
9122
1f585e65
SM
91232013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9124
9125 * frameset.el (frameset--make): Rename constructor from make-frameset.
9126 (frameset-p, frameset-valid-p): Don't autoload.
9127 (frameset-valid-p): Use normal accessors.
9128
af1c6c84
GM
91292013-08-13 Glenn Morris <rgm@gnu.org>
9130
55e47f95
GM
9131 * progmodes/compile.el (compile-command): Tweak example in doc.
9132 * obsolete/scribe.el (scribe-mode):
9133 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9134
f0024d8c
GM
9135 * mail/feedmail.el (feedmail-confirm-outgoing)
9136 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9137
9138 * cus-start.el (truncate-partial-width-windows): Fix type.
9139
9140 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9141
af1c6c84
GM
9142 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9143
5514cc4c
SM
91442013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9145
9146 * emacs-lisp/timer.el (timer--time-setter): New function.
9147 (timer--time): Use it as gv-setter.
9148
9149 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9150 setter is not a symbol.
9151
7997a2f1
GJ
91522013-08-12 Grégoire Jadi <daimrod@gmail.com>
9153
9154 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9155 if sending fails. This makes debugging easier.
9156
01f1a9ab
JB
91572013-08-12 Juanma Barranquero <lekktu@gmail.com>
9158
9159 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9160 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9161 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9162
594a4307
EZ
91632013-08-12 Eli Zaretskii <eliz@gnu.org>
9164
9165 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9166
7a22490f 91672013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
9168
9169 * format.el (format-annotate-function):
9170 Handle read-only text properties in the source. (Bug#14887)
9171
3e41a054
LMI
91722013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9173
5514cc4c
SM
9174 * net/eww.el (eww-display-html): Ignore coding system errors.
9175 One web site uses "utf-8lias" as the coding system.
3e41a054 9176
7ec326db
JB
91772013-08-11 Juanma Barranquero <lekktu@gmail.com>
9178
9179 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9180
5660113b
JB
91812013-08-10 Juanma Barranquero <lekktu@gmail.com>
9182
9a4ebc74
JB
9183 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9184 (tutorial--detailed-help): Remove unused local variables.
9185 (tutorial--save-tutorial-to): Use ignore-errors.
9186 (help-with-tutorial): Use looking-at-p.
9187
9188 * view.el (view-buffer-other-window, view-buffer-other-frame):
9189 Mark unused arguments.
9190
9191 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9192 (woman-select-symbol-fonts, woman, woman-find-file)
9193 (woman-insert-file-contents, woman-non-underline-faces):
9194 Use string-match-p.
9195 (woman1-unquote): Move declaration.
9196
9197 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9198 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9199 argument. Remove unused local variable.
9200 (xml-parse-elem-type): Use string-match-p.
9201 (xml-substitute-numeric-entities): Use ignore-errors.
9202
45fdb482
JB
9203 * calculator.el (calculator): Mark unused argument.
9204 (calculator-paste, calculator-quit, calculator-integer-p):
9205 Use ignore-errors.
9206 (calculator-string-to-number, calculator-decimal, calculator-exp)
9207 (calculator-op-or-exp): Use string-match-p.
9208
9209 * dired.el (dired-buffer-more-recently-used-p): Declare.
9210 (dired-insert-set-properties, dired-insert-old-subdirs):
9211 Use ignore-errors.
9212
9213 * dired-aux.el (dired-compress): Use ignore-errors.
9214 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9215 (dired-do-async-shell-command, dired-do-shell-command)
9216 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9217 (dired-insert-subdir-validate): Use string-match-p.
9218 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9219 (dired-add-entry): Use string-match-p, looking-at-p.
9220 (dired-insert-subdir-newpos): Remove unused local variable.
9221
9222 * filenotify.el (file-notify-callback): Remove unused local variable.
9223
9224 * filesets.el (filesets-error): Mark unused argument.
9225 (filesets-which-command-p, filesets-filter-dir-names)
9226 (filesets-directory-files, filesets-get-external-viewer)
9227 (filesets-ingroup-get-data): Use string-match-p.
9228
9229 * find-file.el (ff-other-file-name, ff-other-file-name)
9230 (ff-find-the-other-file, ff-cc-hh-converter):
9231 Remove unused local variables.
9232 (ff-get-file-name): Use string-match-p.
9233 (ff-all-dirs-under): Use ignore-errors.
9234
9235 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9236 (follow-select-if-visible): Remove unused local variable.
9237
9238 * forms.el (read-file-filter): Move declaration.
9239 (forms--make-format, forms--make-parser, forms-insert-record):
9240 Quote function with #'.
9241 (forms--update): Use string-match-p. Quote function with #'.
9242
9243 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9244 (help-make-xrefs): Use looking-at-p.
9245 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9246
9247 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9248 (ibuffer-confirm-operation-on): Use string-match-p.
9249
9250 * msb.el (msb-item-handler, msb-dired-item-handler):
9251 Mark unused arguments.
9252
9253 * ses.el (ses-decode-cell-symbol)
9254 (ses-kill-override): Remove unused local variable.
9255 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9256 (ses-load): Use ignore-errors, looking-at-p.
9257 (ses-jump-safe): Use ignore-errors.
9258 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9259
9260 * tabify.el (untabify, tabify): Mark unused arguments.
9261
9262 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9263 Mark unused argument.
9264 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9265 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9266
c880af52
JB
9267 * emacs-lisp/timer.el (timer--time): Define setter with
9268 gv-define-setter to avoid deprecation warning.
9269
5660113b 9270 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 9271 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
9272 (cmpl-statistics-block): Remove (body was commented out).
9273 All callers changed.
9274 (add-completions-from-buffer, load-completions-from-file):
9275 Remove unused variables.
9276
156aab80
JB
92772013-08-09 Juanma Barranquero <lekktu@gmail.com>
9278
5c5dee78
JB
9279 * filecache.el (file-cache-delete-file-list):
9280 Print message only when told so.
9281 (file-cache-files-matching): Use #' in mapconcat argument.
9282
156aab80
JB
9283 * ffap.el (ffap-url-at-point): Fix reference to variable
9284 thing-at-point-default-mail-uri-scheme.
9285
ad9dcd70
SM
92862013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9287
54bd972f
SM
9288 * subr.el (define-error): New function.
9289 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9290 error-file-not-found and define with define-error.
9291 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9292 and define with define-error.
9293 * userlock.el (file-locked, file-supersession):
9294 * simple.el (mark-inactive):
9295 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9296 * progmodes/ada-mode.el (ada-mode-errors):
9297 * play/life.el (life-extinct):
9298 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9299 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9300 * nxml/rng-util.el (rng-error):
9301 * nxml/rng-uri.el (rng-uri-error):
9302 * nxml/rng-match.el (rng-compile-error):
9303 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9304 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9305 * nxml/nxml-rap.el (nxml-scan-error):
9306 * nxml/nxml-outln.el (nxml-outline-error):
9307 * net/soap-client.el (soap-error):
9308 * net/gnutls.el (gnutls-error):
9309 * net/ange-ftp.el (ftp-error):
9310 * mpc.el (mpc-proc-error):
9311 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9312 (json-number-format, json-string-escape, json-string-format)
9313 (json-key-format, json-object-format):
9314 * jka-compr.el (compression-error):
9315 * international/quail.el (quail-error):
9316 * international/kkc.el (kkc-error):
9317 * emacs-lisp/ert.el (ert-test-failed):
9318 * calc/calc.el (calc-error, inexact-result, math-overflow)
9319 (math-underflow):
9320 * bookmark.el (bookmark-error-no-filename):
9321 * epg.el (epg-error): Define with define-error.
9322
0ea9e53a
SM
9323 * time.el (display-time-event-handler)
9324 (display-time-next-load-average): Don't call sit-for since it seems
9325 unnecessary (bug#15045).
9326
b0429158
SM
9327 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9328 Use #' instead of ' to quote functions.
9329 (checkdoc-output-mode): Use setq-local.
9330 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9331 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9332 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9333 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9334 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9335 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9336 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9337 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9338
ad9dcd70
SM
9339 * ido.el (ido-completion-help): Fix up compiler warning.
9340
77187e6f
JB
93412013-08-09 Juanma Barranquero <lekktu@gmail.com>
9342
9343 * frameset.el (frameset-p): Add autoload cookie.
9344 (frameset--jump-to-register): New function, based on code moved from
9345 register.el.
9346 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9347
9348 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9349 (frameset-restore, frameset-save, frameset-session-filter-alist):
9350 Remove declarations.
9351 (register-alist): Doc fix.
9352 (frameset-to-register): Move to frameset.el.
9353 (jump-to-register, describe-register-1): Remove frameset-specific code.
9354
9d3aa82c
JB
93552013-08-08 Juanma Barranquero <lekktu@gmail.com>
9356
9357 * allout-widgets.el (allout-widgets-pre-command-business)
9358 (allout-widgets-post-command-business)
9359 (allout-widgets-after-change-handler)
9360 (allout-decorate-item-and-context, allout-set-boundary-marker)
9361 (allout-body-modification-handler)
9362 (allout-graphics-modification-handler): Mark ignored arguments.
9363 (allout-widgets-post-command-business)
9364 (allout-widgets-exposure-change-processor)
9365 (allout-widgets-exposure-undo-processor)
9366 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9367 (allout-parse-item-at-point, allout-decorate-item-guides)
9368 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9369 * allout.el (epa-passphrase-callback-function): Declare.
9370 (allout-overlay-insert-in-front-handler)
9371 (allout-overlay-interior-modification-handler)
9372 (allout-isearch-end-handler, allout-chart-siblings)
9373 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9374 (allout-yank-processing, allout-process-exposed)
9375 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 9376 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
9377 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9378 (lisp-indent-defform): Mark ignored arguments.
9379 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9380 (calculate-lisp-indent): Remove unused variables.
9381 * international/characters.el (indian-2-column, arabic-2-column)
9382 (tibetan): Mark ignored arguments.
9383 (use-cjk-char-width-table): Mark ignored arguments.
9384 Remove unused variables.
9385 * international/fontset.el (build-default-fontset-data)
9386 (x-compose-font-name, create-fontset-from-fontset-spec):
9387 Mark ignored arguments.
9388 (fontset-plain-name): Remove unused variables.
9389 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9390 (keyboard-coding-system): Mark ignored arguments.
9391 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9392 * help.el (resize-temp-buffer-window):
9393 * window.el (display-buffer-in-major-side-window)
9394 (display-buffer-in-side-window, display-buffer-in-previous-window):
9395 Remove unused variables.
9396 * isearch.el (isearch-forward-symbol):
9397 * version.el (emacs-bzr-version-bzr):
9398 * international/mule-cmds.el (current-language-environment):
9399 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9400 (x-handle-display):
9401 * term/pc-win.el (x-list-fonts, x-display-planes)
9402 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9403 (x-server-version, x-display-screens, x-display-mm-height)
9404 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9405 (x-selection-owner-p, x-own-selection-internal)
9406 (x-disown-selection-internal, x-get-selection-internal)
9407 (msdos-initialize-window-system):
9408 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9409 * term/x-win.el (x-handle-no-bitmap-icon):
9410 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9411 (vc-default-find-file-hook, vc-default-extra-menu):
9412 Mark ignored arguments.
9413
0ca3f70e
SM
94142013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9415
9416 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9417 break-condition in the context of the debugged code (bug#12685).
9418
74c5d24c
CS
94192013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9420
9421 * comint.el:
9422 Do not use an overlay to highlight the last prompt. (Bug#14744)
9423 (comint-mode): Make comint-last-prompt buffer local.
9424 (comint-last-prompt): New variable.
9425 (comint-last-prompt-overlay): Remove. Superseded by
9426 comint-last-prompt.
0ca3f70e
SM
9427 (comint-snapshot-last-prompt, comint-output-filter):
9428 Use comint-last-prompt.
74c5d24c 9429
c03c02ee
JB
94302013-08-08 Juanma Barranquero <lekktu@gmail.com>
9431
a3738d20 9432 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
9433 (frameset-save): Check validity of the resulting frameset.
9434
04263d23
XF
94352013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9436
9437 * ido.el (ido-record-command): Add doc string.
9438
76c5e5ab
JB
94392013-08-08 Juanma Barranquero <lekktu@gmail.com>
9440
9441 * frameset.el (frameset): Do not disable creation of the default
9442 frameset-p predicate. Doc fix.
9443 (frameset-valid-p): New function, copied from the old predicate-p.
9444 Add additional checks.
9445 (frameset-restore): Check with frameset-valid-p.
9446 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9447 (frameset-name, frameset-description, frameset-properties)
9448 (frameset-states): Add docstring.
f9dbf1cb
JB
9449 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9450 (frameset-filter-alist): Doc fixes.
76c5e5ab 9451
bd0c3c0b
JB
94522013-08-08 Juanma Barranquero <lekktu@gmail.com>
9453
9454 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9455
c735544c
SM
94562013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9459 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9460 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9461 (byte-compile-normal-call): Remove obsolescence check.
9462
2805a651
JB
94632013-08-08 Juanma Barranquero <lekktu@gmail.com>
9464
3677ffeb
JB
9465 * frameset.el (frameset-restore): Doc fix.
9466
2805a651
JB
9467 * register.el (frameset-frame-id, frameset-frame-with-id)
9468 (frameset-p, frameset-restore, frameset-save): Declare.
9469 (register-alist): Document framesets.
9470 (frameset-session-filter-alist): Declare.
9471 (frameset-to-register): New function.
9472 (jump-to-register): Implement jumping to framesets. Doc fix.
9473 (describe-register-1): Describe framesets.
9474
9475 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9476
a912c016
JB
94772013-08-07 Juanma Barranquero <lekktu@gmail.com>
9478
9479 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9480 Use lexical-binding.
9481
9482 * frameset.el (frameset): Use type vector, not list (incompatible
9483 change). Do not declare a new constructor, use the default one.
9484 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9485 `name' and `description', respectively, and add read-only slot
9486 `timestamp'. Doc fixes.
9487 (frameset-copy, frameset-persistent-filter-alist)
9488 (frameset-filter-alist, frameset-switch-to-gui-p)
9489 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9490 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9491 (frameset-filter-iconified, frameset-keep-original-display-p):
9492 Doc fixes.
9493 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9494 Rename from frameset-filter-(save|restore)-param. All callers changed.
9495 Doc fix.
9496 (frameset-p): Adapt to change to vector and be more thorough.
9497 Change arg name to OBJECT. Doc fix.
9498 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9499 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9500 All callers changed.
9501 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9502 All callers changed.
9503 (frameset--record-minibuffer-relationships): Rename from
9504 frameset--process-minibuffer-frames. All callers changed.
9505 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9506 Use new default constructor (again). Doc fix.
c295fc18 9507 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
9508 All callers changed.
9509 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9510 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9511 Doc fix.
9512 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9513 PARAMETERS and WINDOW-STATE, respectively.
9514 (frameset-restore): Add new keyword argument PREDICATE.
9515 Reset frameset--target-display to nil. Doc fix.
9516
bb41480a
SM
95172013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9518
f001e98e
SM
9519 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9520 (bat-mode): Use it.
9521 (bat-mode-syntax-table): Mark \n as end-of-comment.
9522 (bat-font-lock-keywords): Remove comment rule.
9523
7679edb1
SM
9524 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9525 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9526
bb41480a
SM
9527 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9528 (byte-compile-callargs-warn): Use `push'.
9529 (byte-compile-arglist-warn): Ignore higher-order "calls".
9530 (byte-compile-file-form-autoload): Use `pcase'.
9531 (byte-compile-function-form): If quoting a symbol, check that it exists.
9532
cdc1ebb9
EZ
95332013-08-07 Eli Zaretskii <eliz@gnu.org>
9534
9535 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9536 and add a few popular commands found in batch files.
9537 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9538 (dos-mode): Doc fixes.
9539
312b1740
SM
95402013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9541
9542 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9543 (dos-mode): Use setq-local. Add space after "rem".
9544 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9545 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9546
400a3178
AM
95472013-08-07 Arni Magnusson <arnima@hafro.is>
9548
9549 * progmodes/dos.el: New file.
9550 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9551 dos-mode.
9552
3b5c03d3
GM
95532013-08-06 Glenn Morris <rgm@gnu.org>
9554
9555 * calendar/calendar.el: Add new faces, and day-header-array.
9556 (calendar-weekday-header, calendar-weekend-header)
9557 (calendar-month-header): New faces.
9558 (calendar-day-header-construct): New function.
9559 (calendar-day-header-width): Also :set calendar-day-header-array.
9560 (calendar-american-month-header, calendar-european-month-header)
9561 (calendar-iso-month-header): Use calendar- faces.
9562 (calendar-generate-month):
9563 Use calendar-day-header-array for day headers; apply faces to them.
9564 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9565 (calendar-abbrev-construct): Add optional maxlen argument.
9566 (calendar-day-name-array): Doc fix.
9567 (calendar-day-name-array, calendar-abbrev-length)
9568 (calendar-day-abbrev-array):
9569 Also :set calendar-day-header-array, and maybe redraw.
9570 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 9571 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
9572 (calendar-day-name): Add option to use header array.
9573
ec6a2d7a
LMI
95742013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9575
9576 * net/shr.el (shr-render-td): Remove debugging.
9577 (shr-render-td): Make width computation consistent by defaulting
9578 all zero-width columns to 10 characters. This may not be optimal,
9579 but it's at least consistent.
2122cb6d
LMI
9580 (shr-make-table-1): Redo last change to fix the real problem in
9581 colspan handling.
ec6a2d7a 9582
ed4fd9c5
DA
95832013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9584
0ca3f70e
SM
9585 * files.el (cache-long-line-scans):
9586 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 9587
64e22afe
JB
95882013-08-06 Juanma Barranquero <lekktu@gmail.com>
9589
024b38fc
JB
9590 * frameset.el (frameset, frameset-filter-alist)
9591 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9592 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9593 (frameset-compute-pos): Rename from frameset--compute-pos,
9594 and add docstring.
9595 (frameset-move-onscreen): Use frameset-compute-pos.
9596 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9597
64e22afe
JB
9598 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9599 Fix typos in docstrings.
9600
c8c2aca8
DA
96012013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9602
9603 * frame.el (get-other-frame): Tiny cleanup.
9604
1d237bba
JB
96052013-08-06 Juanma Barranquero <lekktu@gmail.com>
9606
8951efef
JB
9607 * vc/vc.el (vc-default-ignore-completion-table):
9608 Silence byte-compiler warning.
9609
307764cc 9610 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 9611 slot, which can indeed be nil.
307764cc
JB
9612 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9613 Move entry for `left' from persistent to live filter alist.
9614 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9615 Doc fixes.
9616 (frameset-filter-params): When restoring a frame, copy items added to
9617 `filtered', to avoid unwittingly modifying the original parameters.
9618 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9619 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9620
1d237bba
JB
9621 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9622 to use looking-at-p instead of looking-at. (Bug#15028)
9623
dc6c0eda
SM
96242013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 Revert introduction of isearch-filter-predicates (bug#14714).
9627 Rely on add-function instead.
9628 * isearch.el (isearch-filter-predicates): Rename it back to
9629 isearch-filter-predicate.
9630 (isearch-message-prefix): Use advice-function-mapc and advice
9631 properties to get the isearch-message-prefix.
9632 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9633 instead of run-hook-with-args-until-failure.
9634 (isearch-filter-visible): Not obsolete any more.
9635 * loadup.el: Preload nadvice.
9636 * replace.el (perform-replace): Revert to funcall
9637 instead of run-hook-with-args-until-failure.
9638 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9639 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9640 dired-isearch-filenames-toggle; make it into a proper minor mode.
9641 Use add/remove-function.
9642 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9643 Call the minor-mode rather than add/remove-hook.
9644 (dired-isearch-filter-filenames):
9645 Remove isearch-message-prefix property.
9646 * info.el (Info--search-loop): New function, extracted from Info-search.
9647 Funcall isearch-filter-predicate instead of
9648 run-hook-with-args-until-failure isearch-filter-predicates.
9649 (Info-search): Use it.
9650 (Info-mode): Use isearch-filter-predicate instead of
9651 isearch-filter-predicates.
9652
290d5b58
DA
96532013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9654
9655 Do not call to `selected-window' where it is assumed by default.
9656 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9657 `window-hscroll', `window-width', `window-height', `window-buffer',
9658 `window-frame', `window-start', `window-point', `next-window'
9659 and `window-display-table'.
9660 * abbrev.el (abbrev--default-expand):
9661 * bs.el (bs--show-with-configuration):
9662 * buff-menu.el (Buffer-menu-mouse-select):
9663 * calc/calc.el (calc):
9664 * calendar/calendar.el (calendar-generate-window):
9665 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9666 (diary-make-entry):
9667 * comint.el (send-invisible, comint-dynamic-complete-filename)
9668 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9669 * completion.el (complete):
9670 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9671 * disp-table.el (describe-current-display-table):
9672 * doc-view.el (doc-view-insert-image):
9673 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9674 * ehelp.el (with-electric-help):
9675 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9676 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9677 * emacs-lisp/helper.el (Helper-help-scroller):
9678 * emulation/cua-base.el (cua--post-command-handler-1):
9679 * eshell/esh-mode.el (eshell-output-filter):
9680 * ffap.el (ffap-gnus-wrapper):
9681 * help-macro.el (make-help-screen):
9682 * hilit-chg.el (highlight-compare-buffers):
9683 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9684 * hl-line.el (global-hl-line-highlight):
9685 * icomplete.el (icomplete-simple-completing-p):
9686 * isearch.el (isearch-done):
9687 * jit-lock.el (jit-lock-stealth-fontify):
9688 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 9689 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
9690 * mpc.el (mpc-tagbrowser, mpc):
9691 * net/rcirc.el (rcirc-any-buffer):
9692 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9693 * play/landmark.el (landmark-max-width, landmark-max-height):
9694 * play/zone.el (zone):
9695 * progmodes/compile.el (compilation-goto-locus):
9696 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9697 * progmodes/etags.el (find-tag-other-window):
9698 * progmodes/fortran.el (fortran-column-ruler):
9699 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9700 * progmodes/verilog-mode.el (verilog-point-text):
9701 * reposition.el (reposition-window):
9702 * rot13.el (toggle-rot13-mode):
9703 * server.el (server-switch-buffer):
9704 * shell.el (shell-dynamic-complete-command)
9705 (shell-dynamic-complete-environment-variable):
9706 * simple.el (insert-buffer, set-selective-display)
9707 (delete-completion-window):
9708 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9709 (speedbar-recenter):
9710 * startup.el (fancy-splash-head):
9711 * textmodes/ispell.el (ispell-command-loop):
9712 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9713 * tutorial.el (help-with-tutorial):
9714 * vc/add-log.el (add-change-log-entry):
9715 * vc/compare-w.el (compare-windows):
9716 * vc/ediff-help.el (ediff-indent-help-message):
9717 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9718 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9719 (ediff-setup-control-frame):
9720 * vc/emerge.el (emerge-position-region):
9721 * vc/pcvs-util.el (cvs-bury-buffer):
9722 * window.el (walk-windows, mouse-autoselect-window-select):
9723 * winner.el (winner-set-conf, winner-undo): Related users changed.
9724
38276e01
JB
97252013-08-05 Juanma Barranquero <lekktu@gmail.com>
9726
9727 * frameset.el (frameset--set-id): Doc fix.
9728 (frameset-frame-id, frameset-frame-id-equal-p)
9729 (frameset-locate-frame-id): New functions.
9730 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9731 (frameset-restore): Use them.
9732
12b4c0ea
DA
97332013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9734
9735 Do not call to `selected-frame' where it is assumed by default.
9736 Affected functions are `raise-frame', `redraw-frame',
9737 `frame-first-window', `frame-terminal' and `delete-frame'.
9738 * calendar/appt.el (appt-disp-window):
9739 * epg.el (epg-wait-for-completion):
9740 * follow.el (follow-delete-other-windows-and-split)
9741 (follow-avoid-tail-recenter):
9742 * international/mule.el (set-terminal-coding-system):
9743 * mail/rmail.el (rmail-mail-return):
9744 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9745 * progmodes/f90.el (f90-add-imenu-menu):
9746 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9747 * server.el (server-switch-buffer):
9748 * simple.el (delete-completion-window):
9749 * talk.el (talk):
9750 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9751 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9752 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9753 * vc/ediff.el (ediff-documentation): Related users changed.
9754 * frame.el (selected-terminal): Remove the leftover.
9755
17f25e76
GM
97562013-08-05 Glenn Morris <rgm@gnu.org>
9757
9758 * calendar/calendar.el (calendar-generate-month):
9759 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
9760 (calendar-generate-month, calendar-font-lock-keywords):
9761 Fix for calendar-day-header-width > length of any day name.
17f25e76 9762
063233c3
JB
97632013-08-05 Juanma Barranquero <lekktu@gmail.com>
9764
9765 * desktop.el (desktop-clear): Use new name of sort predicate.
9766
9767 * frameset.el (frameset): Add docstring. Move :version property to its
9768 own `version' slot.
9769 (frameset-copy): Rename from copy-frameset.
9770 (frameset-p): Check more thoroughly.
9771 (frameset-prop): Do not check for :version, which is no longer a prop.
9772 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9773 Use new :never value instead of t.
9774 (frameset-filter-alist): Expand and clarify docstring.
9775 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9776 (frameset-filter-minibuffer, frameset-filter-save-param)
9777 (frameset-filter-restore-param, frameset-filter-iconified):
9778 Add pointer to docstring of frameset-filter-alist.
9779 (frameset-filter-params): Rename filter values to be more meaningful:
9780 :never instead of t, and reverse the meanings of :save and :restore.
9781 (frameset--process-minibuffer-frames): Clarify error message.
9782 (frameset-save): Avoid unnecessary and confusing call to framep.
9783 Use new BOA constructor for framesets.
9784 (frameset--reuse-list): Doc fix.
9785 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9786 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9787 (frameset-minibufferless-first-p): Doc fix.
9788 Rename from frameset-sort-frames-for-deletion.
9789 (frameset-restore): Doc fixes. Use new function names.
9790 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9791
d5671a82
JB
97922013-08-04 Juanma Barranquero <lekktu@gmail.com>
9793
9794 * desktop.el (desktop-restore-forces-onscreen)
9795 (desktop-restore-reuses-frames): Document :keyword constant values.
9796 (desktop-filter-parameters-alist): Remove, now identical to
9797 frameset-filter-alist.
9798 (desktop--filter-tty*): Remove, moved to frameset.el.
9799 (desktop-save-frameset, desktop-restore-frameset):
9800 Do not pass :filters argument.
9801
9802 * frameset.el (frameset-live-filter-alist)
9803 (frameset-persistent-filter-alist): New variables.
9804 (frameset-filter-alist): Use them. Add autoload cookie.
9805 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9806 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9807 `frameset--id' (it's supposed to be internal to frameset.el).
9808 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9809 (frameset--initial-params): New function.
9810 (frameset--get-frame): Use it. Doc fix.
9811 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9812 Accept :all, not 'all.
9813 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9814 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9815 with fbound symbols. Fix frame id matching, and remove matching ids if
9816 the frame being restored is deleted. Obey :delete.
9817
671d5c16
SM
98182013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 * subr.el (macrop): New function.
9821 (text-clone--maintaining): New var.
9822 (text-clone--maintain): Rename from text-clone-maintain. Use it
9823 instead of inhibit-modification-hooks.
9824
9825 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9826 a proxy, so as handle autoloads and redefinitions of the target.
9827 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9828
9829 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9830 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9831 (pcase--mutually-exclusive-p): New function.
9832 (pcase--split-consp): Use it.
9833 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9834 mutually exclusive with the current predicate.
9835
9836 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9837 (edebug-macrop): Remove. Use `macrop' instead.
9838 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9839 (ad-macro-p):
9840 * eshell/esh-cmd.el (eshell-macrop):
9841 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9842
1d44e9dc
SM
98432013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9844
9845 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9846 (advice-mapc): New function, using it.
9847 (advice-function-member-p): New function.
9848 (advice--normalize): Store the cdr in advice--saved-rewrite since
9849 that's the part that will be changed.
9850 (advice--symbol-function): New function.
9851 (advice-remove): Handle removal before the function is defined.
9852 Adjust to new advice--saved-rewrite.
9853 (advice-member-p): Use advice-function-member-p and
9854 advice--symbol-function.
9855
5414a283
JB
98562013-08-04 Juanma Barranquero <lekktu@gmail.com>
9857
51d30f2c
JB
9858 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9859 (frameset-filter-minibuffer): Doc fix.
9860 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
9861 (frameset--set-id, frameset--process-minibuffer-frames)
9862 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9863 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 9864
5414a283
JB
9865 * desktop.el (desktop-clear): Only delete frames when called
9866 interactively and desktop-restore-frames is non-nil. Doc fix.
9867 (desktop-read): Set desktop-saved-frameset to nil.
9868
ab419665
XF
98692013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9870
9871 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 9872 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
9873 (vc--add-line, vc--remove-regexp): New functions.
9874
9875 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9876 (vc-svn-ignore-completion-table): New function.
9877
9878 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 9879 (vc-hg-ignore-completion-table)
ab419665
XF
9880 (vc-hg-find-ignore-file): New functions.
9881
9882 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 9883 (vc-git-ignore-completion-table)
ab419665
XF
9884 (vc-git-find-ignore-file): New functions.
9885
9886 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9887
9888 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 9889 (vc-bzr-ignore-completion-table)
ab419665
XF
9890 (vc-bzr-find-ignore-file): New functions.
9891
2613dea2
JB
98922013-08-03 Juanma Barranquero <lekktu@gmail.com>
9893
9894 * frameset.el (frameset-prop): New function and setter.
9895 (frameset-save): Do not modify frame list passed by the caller.
9896
9c959872
SM
98972013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9898
9899 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9900
a104f656
SM
99012013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9902
70122acf
SM
9903 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9904 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9905
a104f656
SM
9906 * custom.el (custom-initialize-default, custom-initialize-set)
9907 (custom-initialize-reset, custom-initialize-changed): Affect the
9908 toplevel-default-value (bug#6275, bug#14586).
9909 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9910 for bug#6275.
9911
f078d570
JB
99122013-08-02 Juanma Barranquero <lekktu@gmail.com>
9913
185e3b5a
JB
9914 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9915 Add cl-def* expressions.
9916
f078d570
JB
9917 * frameset.el (frameset-filter-params): Fix order of arguments.
9918
9421876d
JB
99192013-08-02 Juanma Barranquero <lekktu@gmail.com>
9920
9921 Move code related to saving frames to frameset.el.
9922 * desktop.el: Require frameset.
9923 (desktop-restore-frames): Doc fix.
9924 (desktop-restore-reuses-frames): Rename from
9925 desktop-restoring-reuses-frames.
9926 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9927 (desktop-clear): Clear frames too.
9928 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9929 (desktop--filter-tty*, desktop-save, desktop-read):
9930 Use frameset functions.
9931 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9932 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9933 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9934 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9935 (desktop--process-minibuffer-frames, desktop-save-frames)
9936 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9937 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9938 (desktop--sort-states, desktop-restoring-frames-p)
9939 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9940 (desktop-restoring-frameset-p, desktop-restore-frameset)
9941 (desktop--check-dont-save, desktop-save-frameset): New functions.
9942 (desktop--app-id): New constant.
9943 (desktop-first-buffer, desktop-buffer-ok-count)
9944 (desktop-buffer-fail-count): Move before first use.
9945 * frameset.el: New file.
9946
76dc5996
SM
99472013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * files.el: Use lexical-binding.
9950 (dir-locals-read-from-file): Remove unused `err' variable.
9951 (hack-dir-local-variables--warned-coding): New var.
9952 (hack-dir-local-variables): Use it to avoid repeated warnings.
9953 (make-backup-file-name--default-function): New function.
9954 (make-backup-file-name-function): Use it as default.
9955 (buffer-stale--default-function): New function.
9956 (buffer-stale-function): Use it as default.
9957 (revert-buffer-insert-file-contents--default-function): New function.
9958 (revert-buffer-insert-file-contents-function): Use it as default.
9959 (insert-directory): Avoid add-to-list.
9960
9961 * autorevert.el (auto-revert-handler): Simplify.
9962 Use buffer-stale--default-function.
9963
06d36e2b
TH
99642013-08-01 Tassilo Horn <tsdh@gnu.org>
9965
5f648ab4
TH
9966 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9967
06d36e2b
TH
9968 * whitespace.el (whitespace-ensure-local-variables): New function.
9969 (whitespace-cleanup-region): Call it.
9970 (whitespace-turn-on): Call it.
9971
a43dc424
MA
99722013-08-01 Michael Albinus <michael.albinus@gmx.de>
9973
9974 Complete file name handlers.
9975
9976 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9977 (tramp-handle-verify-visited-file-modtime)
9978 (tramp-handle-file-notify-rm-watch): New functions.
9979 (tramp-call-process): Do not bind `default-directory'.
9980
44e18199
JB
9981 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9982 Order alphabetically.
afe1e4c8
GM
9983 <access-file, add-name-to-file, dired-call-process>:
9984 <dired-compress-file, file-acl, file-notify-rm-watch>:
9985 <file-ownership-preserved-p, file-selinux-context>:
9986 <make-directory-internal, make-symbolic-link, set-file-acl>:
9987 <set-file-selinux-context, set-visited-file-modtime>:
9988 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9989 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9990
9991 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
9992 <file-notify-add-watch, file-notify-rm-watch>:
9993 <set-file-times, set-visited-file-modtime>:
9994 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9995 (with-tramp-gvfs-error-message)
9996 (tramp-gvfs-handle-set-visited-file-modtime)
9997 (tramp-gvfs-fuse-file-name): Remove.
9998 (tramp-gvfs-handle-file-notify-add-watch)
9999 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10000 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10001
44e18199
JB
10002 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10003 Order alphabetically.
afe1e4c8
GM
10004 <file-notify-rm-watch>: Use default Tramp handler.
10005 <executable-find>: Remove private handler.
a43dc424
MA
10006 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10007 `default-directory'.
10008 (tramp-sh-handle-executable-find)
10009 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10010 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10011 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10012 Do not use `format' in `tramp-message'.
10013
10014 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
10015 <file-notify-rm-watch, set-visited-file-modtime>:
10016 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10017 (tramp-smb-call-winexe): Do not bind `default-directory'.
10018
7188b515
XF
100192013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10020
10021 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10022
2412ee1a
DG
100232013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10024
10025 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10026 use it.
10027 (log-view-diff-changeset): Same.
10028 (log-view-diff-common): Call backend command `previous-revision'
10029 to find out the previous revision, in both cases. Swap the
10030 variables `to' and `fr', so that `fr' usually refers to the
10031 earlier revision (Bug#14989).
10032
5002a754
KRC
100332013-07-31 Kan-Ru Chen <kanru@kanru.info>
10034
10035 * ibuf-ext.el (ibuffer-filter-by-filename):
10036 Make it work with dired buffers too.
10037
44e18199 100382013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
10039
10040 * emacs-lisp/re-builder.el (reb-color-display-p):
10041 * files.el (save-buffers-kill-terminal):
10042 * net/browse-url.el (browse-url):
10043 * server.el (server-save-buffers-kill-terminal):
10044 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10045 Prefer nil to selected-frame for the first arg of frame-parameter.
10046
aeca3fbb
XF
100472013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10048
10049 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10050
158bc55c
SB
100512013-07-30 Stephen Berman <stephen.berman@gmx.net>
10052
10053 * minibuffer.el (completion--twq-all): Try and preserve each
10054 completion's case choice (bug#14907).
10055
d50fceab
LMI
100562013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10057
ac38e731
LMI
10058 * net/network-stream.el (open-network-stream): Mention the new
10059 :nogreeting parameter.
10060 (network-stream-open-starttls): Use the :nogreeting parameter
10061 (bug#14938).
10062
1211de50
LMI
10063 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10064
997798bf
LMI
10065 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10066 more natural than popping.
10067
d50fceab 10068 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 10069 (shr-urlify): Highlight under mouse.
d50fceab 10070
5c09de04
XF
100712013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10072
207d1d04
XF
10073 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10074
10075 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10076
5c09de04
XF
10077 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10078 buffer for output.
10079
3cd51eaa
XF
10080 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10081 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 10082
44e18199 10083 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 10084 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
10085
10086 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10087
10088 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10089 buffer for output.
10090
35a89bdd
EZ
100912013-07-29 Eli Zaretskii <eliz@gnu.org>
10092
10093 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10094 initial frame is minibuffer-less. (Bug#14841)
10095
78822e94
MA
100962013-07-29 Michael Albinus <michael.albinus@gmx.de>
10097
10098 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10099 option.
10100
10101 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10102 (tramp-maybe-open-connection): Use it.
10103
9503c190
JB
101042013-07-28 Juanma Barranquero <lekktu@gmail.com>
10105
10106 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10107 minimal set of parameters passed when creating a frame, because
10108 the minibuffer status of a frame cannot be changed later.
10109
d5a845b4
SB
101102013-07-28 Stephen Berman <stephen.berman@gmx.net>
10111
10112 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10113 replace-regexp-in-string and inadvertent omissions in previous change.
10114 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 10115 name of filtered items buffer.
d5a845b4 10116
ddeffb17
JB
101172013-07-28 Juanma Barranquero <lekktu@gmail.com>
10118
10119 * desktop.el: Optionally force offscreen frames back onscreen.
10120 (desktop-restoring-reuses-frames): New option.
10121 (desktop--compute-pos, desktop--move-onscreen): New functions.
10122 (desktop--make-frame): Use desktop--move-onscreen.
10123
f5950f7a
AM
101242013-07-27 Alan Mackenzie <acm@muc.de>
10125
10126 Fontify a Java generic method as a function.
10127 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10128 value to t.
10129
ae43b66a
SB
101302013-07-27 Stephen Berman <stephen.berman@gmx.net>
10131
10132 * calendar/todo-mode.el: Add command to rename todo files.
10133 (todo-rename-file): New command.
10134 (todo-key-bindings-t): Add key binding for it. Change the
10135 bindings of todo-filter-regexp-items(-multifile) to use `x'
10136 instead of `r', since the latter is better suited to the new
10137 renaming command.
10138
5ab78d3d
AM
101392013-07-27 Alan Mackenzie <acm@muc.de>
10140
10141 Make Java try-with-resources statement parse properly.
10142 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10143 (c-block-stmt-1-2-key): New language constants/variables.
10144 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10145 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10146 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 10147 with c-block-stmt-1-2-key.
5ab78d3d 10148
d85c4d50
JB
101492013-07-27 Juanma Barranquero <lekktu@gmail.com>
10150
10151 * desktop.el (desktop--make-frame): Apply most frame parameters after
10152 creating the frame to force (partially or totally) offscreen frames to
10153 be restored as such.
10154
e4c467f9
XF
101552013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10156
10157 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 10158 (Bug#14948)
e4c467f9 10159
7ced0d04
SM
101602013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10161
10162 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10163 `base' arg of backtrace-frame.
10164
fec92060
EZ
101652013-07-26 Eli Zaretskii <eliz@gnu.org>
10166
10167 * simple.el (list-processes): Doc fix.
10168
d58d31fb
JB
101692013-07-26 Juanma Barranquero <lekktu@gmail.com>
10170
10171 * desktop.el (desktop--select-frame):
d85c4d50 10172 Try harder to reuse existing frames.
d58d31fb 10173
53ff3e77
SM
101742013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10175
10176 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10177 (edebug-eval): Use backtrace-eval.
10178 (edebug--display, edebug--recursive-edit): Don't let-bind the
10179 edebug-outer-* vars that keep track of variables we locally let-bind.
10180 (edebug-outside-excursion): Don't restore outside values of locally
10181 let-bound vars.
10182 (edebug--display): Use user-error.
10183 (cl-lexical-debug, cl-debug-env): Remove.
10184
045f7a53
JB
101852013-07-26 Juanma Barranquero <lekktu@gmail.com>
10186
10187 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10188 are restored to be sure that they are visible before deleting any
10189 remaining ones.
10190
59070b32
MM
101912013-07-26 Matthias Meulien <orontee@gmail.com>
10192
742a3501
XF
10193 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10194 vc-print-root-log. (Bug#14948)
59070b32 10195
b1fb3596
RS
101962013-07-26 Richard Stallman <rms@gnu.org>
10197
10198 Add aliases for encrypting mail.
10199 * epa.el (epa-mail-aliases): New option.
10200 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10201 Bind inhibit-read-only so read-only text doesn't ruin everything.
10202 (epa-mail-default-recipients): New subroutine broken out.
10203 Handle epa-mail-aliases.
10204
56ea7291
SM
102052013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 Add support for lexical variables to the debugger's `e' command.
10208 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10209 vars, except for debugger-outer-match-data.
10210 (debugger-frame-number): Move check for "on a function call" from
10211 callers into it. Add `skip-base' argument.
10212 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10213 (debugger-env-macro): Only reset the state stored in non-variables,
10214 i.e. current-buffer and match-data.
10215 (debugger-eval-expression): Rewrite using backtrace-eval.
10216 * subr.el (internal--called-interactively-p--get-frame): Remove.
10217 (called-interactively-p):
10218 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10219 `base' arg of backtrace-frame instead.
10220
15ac32d5
GM
102212013-07-26 Glenn Morris <rgm@gnu.org>
10222
8358a09d
GM
10223 * align.el (align-regexp): Doc fix. (Bug#14857)
10224 (align-region): Explicit error if subexpression missing/does not match.
10225
15ac32d5
GM
10226 * simple.el (global-visual-line-mode):
10227 Do not duplicate the mode lighter. (Bug#14858)
10228
f47ad11b
MR
102292013-07-25 Martin Rudalics <rudalics@gmx.at>
10230
10231 * window.el (display-buffer): In display-buffer bind
10232 split-window-keep-point to t, bug#14829.
10233
02530987
JB
102342013-07-25 Juanma Barranquero <lekktu@gmail.com>
10235
10236 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10237 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10238 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10239 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10240 Change accordingly.
f63ebeb5
JB
10241 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10242 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 10243
6ccb9cab 102442013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 10245
6ccb9cab 10246 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 10247
cb3a56d2
JB
102482013-07-25 Juanma Barranquero <lekktu@gmail.com>
10249
10250 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10251 parameter to modify-frame-parameters if the value has not changed;
10252 this is a workaround for bug#14949.
10253 (desktop--make-frame): On cl-delete-if call, check parameter name,
10254 not full parameter.
10255
7aa7fff0
XF
102562013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10257
10258 * vc/vc.el (vc-ignore): New function.
10259
10260 * vc/vc-svn.el (vc-svn-ignore): New function.
10261
10262 * vc/vc-hg.el (vc-hg-ignore): New function.
10263
10264 * vc/vc-git.el (vc-git-ignore): New function.
10265
10266 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10267 (vc-dir-ignore): New function.
10268
10269 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 10270 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
10271
10272 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10273
10274 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10275
889acc5c
JB
102762013-07-24 Juanma Barranquero <lekktu@gmail.com>
10277
10278 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10279 (desktop-restore-frames): Warn when deleting an existing frame failed.
10280
86c40970
GM
102812013-07-24 Glenn Morris <rgm@gnu.org>
10282
10283 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10284
d5d3c58a
MA
102852013-07-24 Michael Albinus <michael.albinus@gmx.de>
10286
10287 * filenotify.el (file-notify-supported-p):
10288 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10289 Remove functions.
10290
35e951cd 10291 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
10292 (auto-revert-notify-add-watch):
10293 * net/tramp.el (tramp-file-name-for-operation):
10294 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10295 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10296 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10297 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10298 Remove `file-notify-supported-p' entry.
10299
d100084b
GM
103002013-07-24 Glenn Morris <rgm@gnu.org>
10301
10302 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 10303 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 10304
ac93e56b
SM
103052013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10306
249eea30
SM
10307 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10308 checked with memq (bug#14935).
10309
ac93e56b
SM
10310 * files.el (revert-buffer-function): Use a non-nil default.
10311 (revert-buffer-preserve-modes): Declare var to
10312 provide access to the `preserve-modes' argument.
10313 (revert-buffer): Let-bind it.
10314 (revert-buffer--default): New function, extracted from revert-buffer.
10315
2cdeb903
SM
103162013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10317
10318 * lpr.el: Signal print errors more prominently.
10319 (print-region-function): Don't default to nil.
10320 (lpr-print-region): New function, extracted from print-region-1.
10321 Check lpr's return value and signal an error in case of problem.
10322 (print-region-1): Use it.
10323 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10324 versions instead.
10325 (ps-printer-name): Default to nil.
10326 (ps-printer-name-option): Default to lpr-printer-switch.
10327 (ps-print-region-function): Don't default to nil.
10328 (ps-postscript-code-directory): Simplify default.
10329 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10330 (ps-string-list, ps-eval-switch, ps-flatten-list)
10331 (ps-flatten-list-1): Remove.
10332 (ps-multibyte-buffer): Avoid setq.
10333 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10334 (print-region-function, ps-print-region-function): Don't set them here.
10335
73600831
XF
103362013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10337
35e951cd
JB
10338 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10339 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10340 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
10341 (ido-decorations): Doc fix.
10342
73600831
XF
10343 * ansi-color.el: Fix old URL.
10344
3d012865
MM
103452013-07-23 Michael R. Mauger <michael@mauger.com>
10346
e903c210 10347 * progmodes/sql.el: Version 3.3
3d012865
MM
10348 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10349 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10350 (sql-interactive-remove-continuation-prompt): Rewrite, use
10351 functions above. Fix continuation prompt and complete output line
10352 handling.
10353 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10354 redirected output buffer.
10355 (sql-mode): Restore deleted code (Bug#13591).
10356
da77a2e2
JB
103572013-07-23 Juanma Barranquero <lekktu@gmail.com>
10358
10359 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10360
80ff0c71
MA
103612013-07-23 Michael Albinus <michael.albinus@gmx.de>
10362
10363 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10364
10365 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10366 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10367 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10368
b61d71e4
JB
103692013-07-23 Juanma Barranquero <lekktu@gmail.com>
10370
10371 * desktop.el (desktop-clear): Simplify; remove useless checks
10372 against invalid buffer names.
10373 (desktop-list*): Use cl-list*.
10374 (desktop-buffer-info, desktop-create-buffer): Simplify.
10375
c3512092
LL
103762013-07-23 Leo Liu <sdl.web@gmail.com>
10377
10378 * bookmark.el (bookmark-make-record): Restore NAME as a default
10379 value. (Bug#14933)
10380
0ac26976
SM
103812013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10382
7d22ce18
SM
10383 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10384 extracted from autoload--insert-text.
10385 (autoload--insert-text): Remove.
10386 (autoload--print-cookie-text): New function, extracted from
10387 autoload--insert-cookie-text.
10388 (autoload--insert-cookie-text): Remove.
10389 (autoload-generate-file-autoloads): Adjust calls accordingly.
10390
9b2607e8
SM
10391 * winner.el (winner-hook-installed-p): Remove.
10392 (winner-mode): Simplify accordingly.
10393
c43a8618
SM
10394 * subr.el (add-to-list): Fix compiler-macro when `append' is
10395 not constant. Don't use `cl-member' for the base case.
10396
0ac26976
SM
10397 * progmodes/subword.el: Fix boundary case (bug#13758).
10398 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10399 own group.
10400 (subword-backward-regexp): Make it a constant.
10401 (subword-forward-internal): Don't treat a trailing capital as the
10402 beginning of a word.
10403
6874724a
AR
104042013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10405
10406 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10407 global value of tabulated-list-revert-hook (bug#14930).
10408
70f1b5e8
JB
104092013-07-22 Juanma Barranquero <lekktu@gmail.com>
10410
a1c80d9d
JB
10411 * desktop.el: Require 'cl-lib.
10412 (desktop-before-saving-frames-functions): New hook.
10413 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10414 for frames being saved. Rename from desktop--save-minibuffer-frames.
10415 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
10416 Do not save frames with non-nil `desktop-dont-save' parameter.
10417 Filter out deleted frames.
a1c80d9d
JB
10418 (desktop--find-frame): Use cl-find-if.
10419 (desktop--select-frame): Use cl-(first|second|third) to access values
10420 of desktop-mini.
10421 (desktop--make-frame): Use cl-delete-if.
10422 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10423 (desktop-restore-frames): Use cl-(first|second|third) to access values
10424 of desktop-mini. Look for visible frame at the end, not while
10425 restoring frames.
10426
70f1b5e8
JB
10427 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10428 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10429 Use string-match-p, looking-at-p (bug#14927).
10430
728dc3cc
JB
104312013-07-21 Juanma Barranquero <lekktu@gmail.com>
10432
56bc453c
JB
10433 * desktop.el (desktop-saved-frame-states):
10434 Rename from desktop--saved-states; all users changed.
10435 (desktop-save-frames): Rename from desktop--save-frames.
10436 Do not save state to desktop file.
10437 (desktop-save): Save desktop-saved-frame-states to desktop file
10438 and reset to nil.
10439 (desktop-restoring-frames-p): New function.
10440 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10441 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10442 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10443
728dc3cc
JB
10444 * desktop.el: Correctly restore iconified frames.
10445 (desktop--filter-iconified-position): New function.
10446 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10447
862f1c9c
GM
104482013-07-20 Glenn Morris <rgm@gnu.org>
10449
c4074c9f
GM
10450 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10451 Let `message' do the formatting.
10452 (def-gdb-preempt-display-buffer): Add explicit format.
10453
d828e5f9
GM
10454 * image-dired.el (image-dired-track-original-file):
10455 Use with-current-buffer.
10456 (image-dired-track-thumbnail): Use with-current-buffer.
10457 Avoid changing point of wrong window.
10458
862f1c9c
GM
10459 * image-dired.el (image-dired-track-original-file):
10460 Avoid changing point of wrong window. (Bug#14909)
10461
f0398ec1 104622013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
10463
10464 * progmodes/gdb-mi.el (gdb-done-or-error):
10465 Guard against "%" in gdb output. (Bug#14127)
10466
1451928f
AS
104672013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10468
763a086d
JB
10469 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10470 (Bug#14826)
f7a03897 10471
1451928f
AS
10472 * international/mule.el (coding-system-iso-2022-flags): Fix last
10473 change.
10474
99107004
KH
104752013-07-20 Kenichi Handa <handa@gnu.org>
10476
763a086d
JB
10477 * international/mule.el (coding-system-iso-2022-flags):
10478 Add `8-bit-level-4'. (Bug#8522)
99107004 10479
48494e06
LMI
104802013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10481
8ba8eec5
LMI
10482 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10483 (bug#14815).
10484
dfbc66e3
LMI
10485 * net/eww.el (eww-process-text-input): Allow inputting when the
10486 point is at the start of the line, as the properties aren't
10487 front-sticky.
10488
48494e06
LMI
10489 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10490 degenerate widths.
10491
77c92cb9
RS
104922013-07-19 Richard Stallman <rms@gnu.org>
10493
aec7da77
RS
10494 * epa.el (epa-popup-info-window): Doc fix.
10495
77c92cb9
RS
10496 * subr.el (split-string): New arg TRIM.
10497
945c5bb1
JB
104982013-07-18 Juanma Barranquero <lekktu@gmail.com>
10499
10500 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10501 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10502
e06ec67f
MA
105032013-07-18 Michael Albinus <michael.albinus@gmx.de>
10504
c7064f05 10505 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
10506 `file-notify-support'. Do not autoload. Adapt all uses.
10507 (file-notify-supported-p): New defun.
10508
c7064f05
JB
10509 * autorevert.el (auto-revert-use-notify):
10510 Use `file-notify-supported-p' instead of `file-notify-support'.
10511 Adapt docstring.
e06ec67f
MA
10512 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10513
10514 * net/tramp.el (tramp-file-name-for-operation):
10515 Add `file-notify-supported-p'.
10516
10517 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10518 New defun.
10519 (tramp-sh-file-name-handler-alist): Add it as handler for
10520 `file-notify-supported-p '.
10521
10522 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10523 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10524 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10525 Add `ignore' as handler for `file-notify-*' functions.
10526
5dc8a629
EZ
105272013-07-17 Eli Zaretskii <eliz@gnu.org>
10528
10529 * simple.el (line-move-partial, line-move): Don't start vscroll or
10530 scroll-up if the current line is not taller than the window.
10531 (Bug#14881)
10532
77aea2fb
DG
105332013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10534
10535 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10536 highlight question marks in the method names as strings.
ac72c08d
DG
10537 (ruby-block-beg-keywords): Inline.
10538 (ruby-font-lock-keyword-beg-re): Extract from
10539 `ruby-font-lock-keywords'.
77aea2fb 10540
18c26d81
JD
105412013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10542
10543 * frame.el (blink-cursor-blinks): New defcustom.
10544 (blink-cursor-blinks-done): New defvar.
10545 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10546 (blink-cursor-timer-function): Check if number of blinks has been
10547 done on X and NS.
10548 (blink-cursor-suspend, blink-cursor-check): New defuns.
10549
da48522e
GM
105502013-07-15 Glenn Morris <rgm@gnu.org>
10551
10552 * edmacro.el (edmacro-format-keys): Fix previous change.
10553
0463c1ef
PE
105542013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10555
10556 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10557 The hack didn't work outside English locales anyway.
10558
b43f6451
JB
105592013-07-15 Juanma Barranquero <lekktu@gmail.com>
10560
10561 * simple.el (define-alternatives): Rename from alternatives-define,
10562 per RMS' suggestion.
10563
b958c0ad
JB
105642013-07-14 Juanma Barranquero <lekktu@gmail.com>
10565
10566 * desktop.el (desktop-restore-frames): Change default to t.
10567 (desktop-restore-in-current-display): Now offer more options.
10568 (desktop-restoring-reuses-frames): New customization option.
10569 (desktop--saved-states): Doc fix.
10570 (desktop-filter-parameters-alist): New variable, renamed and expanded
10571 from desktop--excluded-frame-parameters.
10572 (desktop--target-display): New variable.
10573 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10574 (desktop--filter-tty*, desktop--filter-*-color)
10575 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10576 (desktop--filter-save-desktop-parm)
10577 (desktop-restore-in-original-display-p): New functions.
10578 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10579 (desktop--save-minibuffer-frames): New function, inspired by a similar
10580 function from Martin Rudalics.
10581 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10582 (desktop--restore-in-this-display-p): Remove.
10583 (desktop--find-frame): Rename from desktop--find-frame-in-display
10584 and add predicate argument.
10585 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10586 (desktop--reuse-list): New variable.
10587 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10588 New functions.
10589 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10590
f6dd8b36
MA
105912013-07-14 Michael Albinus <michael.albinus@gmx.de>
10592
10593 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10594
2ce3c565
DG
105952013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10596
763a086d
JB
10597 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10598 Highlight conversion methods on Kernel.
2ce3c565 10599
2cdb7698
AM
106002013-07-13 Alan Mackenzie <acm@muc.de>
10601
10602 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10603 and comment it out. This out-commenting enables certain C++
10604 declarations to be parsed correctly.
10605
1a67b811
EZ
106062013-07-13 Eli Zaretskii <eliz@gnu.org>
10607
1b796d6b
EZ
10608 * international/mule.el (define-coding-system): Doc fix.
10609
1a67b811
EZ
10610 * simple.el (default-font-height): Don't call font-info if the
10611 frame's default font didn't change since the frame was created.
10612 (Bug#14838)
10613
58fbe886
LL
106142013-07-13 Leo Liu <sdl.web@gmail.com>
10615
10616 * ido.el (ido-read-file-name): Guard against non-symbol value.
10617
1f0480d4
FEG
106182013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10619
10620 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10621 in nested defuns.
10622
97ead0e5
LL
106232013-07-13 Leo Liu <sdl.web@gmail.com>
10624
10625 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10626 ido-set-matches call. (Bug#6852)
10627
0880a952
DG
106282013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10629
35e951cd 10630 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
10631 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10632 Ruby 2.0.
10633 (ruby-font-lock-keywords): Distinguish calls to functions with
10634 module-like names from module references. Highlight character
10635 literals.
10636
a7d8babb
SDJ
106372013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10638
10639 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 10640 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 10641
acfcc8c5
JB
106422013-07-12 Juanma Barranquero <lekktu@gmail.com>
10643
10644 * desktop.el (desktop--v2s): Remove unused local variable.
10645 (desktop-save-buffer): Make defvar-local; adjust docstring.
10646 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10647 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10648
051f2775
AS
106492013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10650
10651 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10652
f24e7572
GM
106532013-07-12 Eli Zaretskii <eliz@gnu.org>
10654
10655 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10656 (Bug#14842)
10657
539a920c
GM
106582013-07-12 Glenn Morris <rgm@gnu.org>
10659
10660 * doc-view.el: Require cl-lib at runtime too.
10661 (doc-view-remove-if): Remove.
10662 (doc-view-search-next-match, doc-view-search-previous-match):
10663 Use cl-remove-if.
10664
10665 * edmacro.el: Require cl-lib at runtime too.
10666 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10667 (edmacro-mismatch, edmacro-subseq): Remove.
10668
10669 * shadowfile.el: Require cl-lib.
10670 (shadow-remove-if): Remove.
10671 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10672 Use cl-remove-if.
10673
10674 * wid-edit.el: Require cl-lib.
10675 (widget-choose): Use cl-remove-if.
10676 (widget-remove-if): Remove.
10677
10678 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10679 (ebrowse-delete-if-not): Remove.
10680 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10681 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10682 Use cl-delete-if-not.
10683
1048af7c
JB
106842013-07-12 Juanma Barranquero <lekktu@gmail.com>
10685
10686 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10687 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10688
6c0674ee
LL
106892013-07-12 Leo Liu <sdl.web@gmail.com>
10690
10691 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10692
a19b3c2d
GM
106932013-07-11 Glenn Morris <rgm@gnu.org>
10694
4582a01c
GM
10695 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10696 (edebug-gensym-index, edebug-gensym):
10697 Remove reimplementation of cl-gensym.
10698 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10699
10700 * thumbs.el: Require cl-lib at run-time too.
10701 (thumbs-gensym-counter, thumbs-gensym):
10702 Remove reimplementation of cl-gensym.
10703 (thumbs-temp-file): Use cl-gensym.
10704
a19b3c2d
GM
10705 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10706 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10707 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10708 (ert--union, ert--gensym-counter, ert--gensym-counter)
10709 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10710 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10711 (ert-make-test-unbound, ert--expand-should-1)
10712 (ert--expand-should, ert--should-error-handle-error)
10713 (should-error, ert--explain-equal-rec)
10714 (ert--plist-difference-explanation, ert-select-tests)
10715 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10716 Use cl-lib functions rather than reimplementations.
10717
88f6a933
MA
107182013-07-11 Michael Albinus <michael.albinus@gmx.de>
10719
10720 * net/tramp.el (tramp-methods): Extend docstring.
10721 (tramp-connection-timeout): New defcustom.
10722 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10723 (with-tramp-progress-reporter): Simplify.
10724 (tramp-process-actions): Improve messages.
10725
10726 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10727 * net/tramp-sh.el (tramp-maybe-open-connection):
10728 Use `tramp-connection-timeout'.
afe1e4c8 10729 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
10730 (Bug#14808)
10731
a43d577e
LL
107322013-07-11 Leo Liu <sdl.web@gmail.com>
10733
10734 * ido.el (ido-read-file-name): Conform to the requirements of
10735 read-file-name. (Bug#11861)
10736 (ido-read-directory-name): Conform to the requirements of
10737 read-directory-name.
10738
d77974bf
JB
107392013-07-11 Juanma Barranquero <lekktu@gmail.com>
10740
10741 * subr.el (delay-warning): New function.
10742
35cb8a3e
EZ
107432013-07-10 Eli Zaretskii <eliz@gnu.org>
10744
10745 * simple.el (default-line-height): New function.
10746 (line-move-partial, line-move): Use it instead of computing the
10747 line height inline.
10748 (line-move-partial): Always compute ROWH. If the last line is
10749 partially-visible, but its text is completely visible, allow
10750 cursor to enter such a partially-visible line.
10751
525c5c77
MA
107522013-07-10 Michael Albinus <michael.albinus@gmx.de>
10753
10754 Improve error messages. (Bug#14808)
10755
10756 * net/tramp.el (tramp-current-connection): New defvar, moved from
10757 tramp-sh.el.
0ac26976 10758 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 10759 needed anymore.
0ac26976
SM
10760 (tramp-error-with-buffer): Show message in minibuffer.
10761 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
10762 (with-tramp-progress-reporter): Improve messages.
10763 (tramp-process-actions): Use progress reporter. Delete process in
10764 case of error. Improve messages.
10765
763a086d
JB
10766 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10767 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 10768 (tramp-current-connection): Remove.
525c5c77
MA
10769 (tramp-maybe-open-connection): The car of
10770 `tramp-current-connection' are the first 3 slots of the vector.
10771
c7a4d368
TZ
107722013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10773
10774 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10775 inside continued strings.
10776
954b166e
PE
107772013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10778
10779 Timestamp fixes for undo (Bug#14824).
10780 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10781
56973319
LL
107822013-07-10 Leo Liu <sdl.web@gmail.com>
10783
10784 * files.el (require-final-newline): Allow safe local value.
10785 (Bug#14834)
10786
5550a72c
LL
107872013-07-09 Leo Liu <sdl.web@gmail.com>
10788
10789 * ido.el (ido-read-directory-name): Handle fallback.
10790 (ido-read-file-name): Update DIR to ido-current-directory.
10791 (Bug#1516)
c28b9050 10792 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 10793
70c46b28
DG
107942013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10795
10796 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10797 "autoload". Remove "warn lower camel case" section, previously
10798 commented out. Highlight negation char. Do not highlight the
10799 target in singleton method definitions.
10800
0b64b838
SM
108012013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10802
7fd72e2c
SM
10803 * faces.el (tty-setup-hook): Declare the hook.
10804
0b64b838
SM
10805 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10806 and detect when a guard/pred depends on local vars (bug#14773).
10807 (pcase--u1): Adjust caller.
10808
ab49d60b
EZ
108092013-07-08 Eli Zaretskii <eliz@gnu.org>
10810
10811 * simple.el (line-move-partial, line-move): Account for
10812 line-spacing.
701d79aa
EZ
10813 (line-move-partial): Avoid setting vscroll when the last
10814 partially-visible line in window is of default height.
ab49d60b 10815
2d756ae0
LMI
108162013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10817
10818 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10819 been used a while.
10820
ed095bd7
JB
108212013-07-07 Juanma Barranquero <lekktu@gmail.com>
10822
10823 * subr.el (read-quoted-char): Remove unused local variable `char'.
10824
f1e6674b
MK
108252013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10826
584ee3fc
GM
10827 * ediff.el (ediff-version): Version update.
10828 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10829 (ediff-merge-with-ancestor-command, ediff-directories-command)
10830 (ediff-directories3-command, ediff-merge-directories-command)
10831 (ediff-merge-directories-with-ancestor-command): New functions.
10832 All are command-line interfaces to ediff: to facilitate calling
10833 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
10834
10835 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10836 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 10837
584ee3fc
GM
10838 * viper.el (viper-version): Version update.
10839 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 10840
584ee3fc
GM
108412013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10844 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10845 (viper-intercept-ESC-key): Simplify.
10846 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10847 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10848 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10849 (viper-setup-ESC-to-escape): New functions.
10850 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10851 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 10852
9aff9b38
EZ
108532013-07-07 Eli Zaretskii <eliz@gnu.org>
10854
5165d44a
JB
10855 * simple.el (default-font-height, window-screen-lines):
10856 New functions.
9aff9b38
EZ
10857 (line-move, line-move-partial): Use them instead of
10858 frame-char-height and window-text-height. This makes scrolling
10859 text smoother when the buffer's default face uses a font that is
10860 different from the frame's default font.
10861
1afb1d07
JD
108622013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10863
10864 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 10865 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 10866
23de972a
EZ
108672013-07-06 Eli Zaretskii <eliz@gnu.org>
10868
10869 * simple.el (line-move-partial): Adjust the row returned by
10870 posn-at-point for the current window-vscroll. (Bug#14567)
10871
54a42486
MA
108722013-07-06 Michael Albinus <michael.albinus@gmx.de>
10873
35e951cd 10874 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
10875 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10876 spaces.
10877
34ada5f4
MR
108782013-07-06 Martin Rudalics <rudalics@gmx.at>
10879
10880 * window.el (window-state-put-stale-windows): New variable.
10881 (window--state-put-2): Save list of windows without matching buffer.
10882 (window-state-put): Remove "bufferless" windows if possible.
10883
11e03d89
JB
108842013-07-06 Juanma Barranquero <lekktu@gmail.com>
10885
10886 * simple.el (alternatives-define): Remove leftover :group keyword.
10887 Tweak docstring.
10888
3504a4be
LL
108892013-07-06 Leo Liu <sdl.web@gmail.com>
10890
10891 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10892 (ido-enable-virtual-buffers): New variable.
10893 (ido-buffer-internal, ido-toggle-virtual-buffers)
10894 (ido-make-buffer-list): Use it.
10895 (ido-exhibit): Support turning on and off virtual buffers
10896 automatically.
10897
61e56e2c
JB
108982013-07-06 Juanma Barranquero <lekktu@gmail.com>
10899
10900 * simple.el (alternatives-define): New macro.
10901
321e1a9c
SM
109022013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10903
10904 * subr.el (read-quoted-char): Use read-key.
10905 (sit-for): Let read-event decode tty input (bug#14782).
10906
d610f6dd
SB
109072013-07-05 Stephen Berman <stephen.berman@gmx.net>
10908
10909 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
10910 mode command and externally. Fix various related bugs.
10911 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
10912 (todo-delete-file): New command.
10913 (todo-check-file): New function.
10914 (todo-show): Handle external deletion of the file we're trying to
10915 show (bug#14688). Replace called-interactively-p by an optional
10916 prefix argument to avoid problematic interaction with catch form
10917 when byte compiled (bug#14702).
10918 (todo-quit): Handle external deletion of the archive's todo file.
10919 Make sure the buffer that was visiting the archive file is still
10920 live before trying to bury it.
10921 (todo-category-completions): Handle external deletion of any
10922 category completion files.
10923 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10924 of todo files, in case of external deletion.
10925 (todo-add-file): Replace unnecessary setq by let-binding.
10926 (todo-find-archive): Check whether there are any archives.
10927 Replace unnecessary setq by let-binding.
10928 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
10929 archive buffer whether or not the archive already exists.
10930 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
10931 check if the archive is new; if it is, update list of archives.
10932 (todo-default-todo-file): Allow nil to be a valid value for when
10933 there are no todo files.
10934 (todo-reevaluate-default-file-defcustom): Use corrected definition
10935 of todo-default-todo-file.
10936 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10937 (todo-delete-category, todo-show-categories-table)
10938 (todo-category-number): Clarify comment.
10939 (todo-filter-items): Clarify documentation string.
10940 (todo-show-current-file, todo-display-as-todo-file)
10941 (todo-reset-and-enable-done-separator): Tweak documentation string.
10942 (todo-done-separator): Make separator length window-width, since
10943 bug#2749 is now fixed.
10944
ddbdfd6f
MA
109452013-07-05 Michael Albinus <michael.albinus@gmx.de>
10946
321e1a9c
SM
10947 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10948 Support both "gvfs-monitor-dir" and "inotifywait".
10949 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
10950 `tramp-sh-file-notify-process-filter'.
10951 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10952 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10953
96eb829a
LL
109542013-07-05 Leo Liu <sdl.web@gmail.com>
10955
10956 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10957
cf13177e
YM
109582013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10959
10960 * frame.el (display-pixel-height, display-pixel-width)
10961 (display-mm-height, display-mm-width): Mention behavior on
10962 multi-monitor setups in docstrings.
10963 (w32-display-monitor-attributes-list): Declare function.
10964 (display-monitor-attributes-list): Use it.
10965
864c58ca
MA
109662013-07-04 Michael Albinus <michael.albinus@gmx.de>
10967
10968 * filenotify.el: New package.
10969
10970 * autorevert.el (top): Require filenotify.el.
10971 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10972 instead.
10973 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10974 (auto-revert-notify-handler): Use `file-notify-*' functions.
10975
10976 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10977
321e1a9c
SM
10978 * net/tramp.el (tramp-file-name-for-operation):
10979 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
10980
10981 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10982 for `file-notify-add-watch' and `file-notify-rm-watch'.
10983 (tramp-process-sentinel): Improve trace.
10984 (tramp-sh-handle-file-notify-add-watch)
10985 (tramp-sh-file-notify-process-filter)
10986 (tramp-sh-handle-file-notify-rm-watch)
10987 (tramp-get-remote-inotifywait): New defuns.
10988
96673afe
JL
109892013-07-03 Juri Linkov <juri@jurta.org>
10990
10991 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10992 call of `occur-read-primary-args' to interactive spec.
10993
10994 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10995 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10996
924494f4
MM
109972013-07-03 Matthias Meulien <orontee@gmail.com>
10998
10999 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11000 `Buffer-menu-multi-occur'. Add it to the menu.
11001 (Buffer-menu-mode): Document it in docstring.
11002 (Buffer-menu-multi-occur): New command. (Bug#14673)
11003
56f75efc
DG
110042013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11005
11006 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11007 keywords and built-ins.
11008
9b057d61
GM
110092013-07-03 Glenn Morris <rgm@gnu.org>
11010
208dee4d
GM
11011 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11012
9b057d61
GM
11013 Make info-xref checks case-sensitive by default
11014 * info.el (Info-find-node, Info-find-in-tag-table)
11015 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11016 Add option for exact case matching of nodes.
11017 * info-xref.el (info-xref): New custom group.
11018 (info-xref-case-fold): New option.
11019 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11020
e01aa29c
LL
110212013-07-03 Leo Liu <sdl.web@gmail.com>
11022
11023 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11024
3086ca2e
DG
110252013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11026
11027 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11028 middle of block statement initially, lower the depth. Remove
11029 FIXME comment, not longer valid. Remove middle of block statement
11030 detection, no need to do that anymore since we've been using
11031 `ruby-parse-region' here.
11032
a3b49114
JD
110332013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11034
11035 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11036
08e5c823 110372013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
11038
11039 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11040
2addf922
JB
110412013-07-01 Juanma Barranquero <lekktu@gmail.com>
11042
11043 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11044 (desktop-restore-in-current-display): New customization option.
11045 (desktop--excluded-frame-parameters): Add `font'.
11046 (desktop--save-frames): Rename from desktop--save-windows.
11047 (desktop--restore-in-this-display-p): New function.
11048 (desktop--make-full-frame): Remove unwanted width/height from
11049 full(width|height) frames.
11050 (desktop--restore-frames): Rename from desktop--restore-windows.
11051 Obey desktop-restore-current-display. Do not delete old frames or
11052 select a new frame unless we were able to restore at least one frame.
11053
ef099a94
MN
110542013-06-30 Michal Nazarewicz <mina86@mina86.com>
11055
11056 * files.el (find-file-noselect): Simplify conditional expression.
11057
a12bf61e 11058 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
11059 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11060
11061 Add `remember-notes' function to store random notes across Emacs
11062 restarts.
3fcfc4ee
JB
11063 * textmodes/remember.el (remember-data-file): Add :set callback to
11064 affect notes buffer (if any).
ef099a94
MN
11065 (remember-notes): New command.
11066 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11067 New defcustoms for the `remember-notes' function.
11068 (remember-notes-save-and-bury-buffer): New command.
11069 (remember-notes-mode-map): New variable.
11070 (remember-mode): New minor mode.
11071 (remember-notes--kill-buffer-query): New function.
11072 * startup.el (initial-buffer-choice): Add notes to custom type.
11073
0865d506
EZ
110742013-06-30 Eli Zaretskii <eliz@gnu.org>
11075
0ba54312
EZ
11076 * bindings.el (right-char, left-char): Don't call sit-for, this is
11077 no longer needed. Use arithmetic comparison only for numerical
11078 arguments.
11079
ef099a94
MN
11080 * international/mule-cmds.el (select-safe-coding-system):
11081 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 11082
2fae38e5
LMI
110832013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11084
11085 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11086 progression on degenerate tables.
ef099a94 11087 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 11088
a47cbd64
JB
110892013-06-30 Juanma Barranquero <lekktu@gmail.com>
11090
11091 Some fixes and improvements for desktop frame restoration.
11092 It is still experimental and disabled by default.
11093 * desktop.el (desktop--save-windows): Put the selected frame at
11094 the head of the list.
11095 (desktop--make-full-frame): New function.
11096 (desktop--restore-windows): Try to re-select the frame that was
11097 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
11098 just show an error message and continue. Set up maximized frames
11099 so they have default non-maximized dimensions.
a47cbd64 11100
6dbafa30
DG
111012013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11102
ef099a94
MN
11103 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11104 Don't start heredoc inside a string or comment.
6dbafa30 11105
4c672a0f
EZ
111062013-06-29 Eli Zaretskii <eliz@gnu.org>
11107
11108 * bindings.el (visual-order-cursor-movement): New defcustom.
11109 (right-char, left-char): Provide visual-order cursor motion by
11110 calling move-point-visually. Update the doc strings.
11111
50960f36
KH
111122013-06-28 Kenichi Handa <handa@gnu.org>
11113
11114 * international/mule.el (define-coding-system): New coding system
11115 properties :inhibit-null-byte-detection,
11116 :inhibit-iso-escape-detection, and :prefer-utf-8.
11117 (set-buffer-file-coding-system): If :charset-list property of
11118 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11119 appropriate for setting.
11120
c1ea3abf
JB
11121 * international/mule-cmds.el (select-safe-coding-system):
11122 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11123 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
11124
11125 * international/mule-conf.el (prefer-utf-8): New coding system.
11126 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11127 files.
11128
75dbaf9d
IK
111292013-06-28 Ivan Kanis <ivan@kanis.fr>
11130
eadb6068
IK
11131 * net/shr.el (shr-render-region): New function.
11132
75dbaf9d
IK
11133 * net/eww.el: Autoload `eww-browse-url'.
11134
9ea5cf9f
DG
111352013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11136
c1ea3abf
JB
11137 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11138 Adapt to `package-desc-version' being a list.
11139 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
11140 archive element.
11141
39c0e36f
JB
111422013-06-27 Juanma Barranquero <lekktu@gmail.com>
11143
11144 New experimental feature to save&restore window and frame setup.
11145 * desktop.el (desktop-save-windows): New defcustom.
11146 (desktop--saved-states): New var.
11147 (desktop--excluded-frame-parameters): New defconst.
11148 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11149 (desktop--restore-windows, desktop--save-windows): New functions.
11150 (desktop-save): Call `desktop--save-windows'.
11151 (desktop-read): Call `desktop--restore-windows'.
11152
7f13406b
LMI
111532013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11154
ef099a94 11155 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 11156
1e072639
SB
111572013-06-27 Stephen Berman <stephen.berman@gmx.net>
11158
11159 * info.el (Info-try-follow-nearest-node): Move search for footnote
11160 above search for node name to prevent missing a footnote (bug#14717).
11161
f3e2cbde
SB
111622013-06-27 Stephen Berman <stephen.berman@gmx.net>
11163
11164 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11165
99906aa0
LL
111662013-06-27 Leo Liu <sdl.web@gmail.com>
11167
11168 * net/eww.el (eww-read-bookmarks): Check file size.
11169
539f75f4
SM
111702013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11173 advice--pending if newdef is nil or an autoload (bug#13820).
11174 (advice-mapc): New function.
11175
843571cb
LMI
111762013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11177
11178 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11179 probably.
23a75d7f 11180 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
11181 (eww-add-bookmark): New command.
11182 (eww-bookmark-mode): New mode and commands.
a285ce99 11183 (eww-add-bookmark): Remove newlines from the title.
47fd571b 11184 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 11185
f2136e1e
GM
111862013-06-26 Glenn Morris <rgm@gnu.org>
11187
eab35f39
GM
11188 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11189 (hfy-size): Handle ttys. (Bug#14668)
11190
f2136e1e
GM
11191 * info-xref.el: Update for Texinfo 5 change in *note format.
11192 (info-xref-node-re, info-xref-note-re): New constants.
11193 (info-xref-check-buffer): Use info-xref-note-re.
11194
a49ff80c
SM
111952013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11196
a343d218
SM
11197 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11198
a49ff80c
SM
11199 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11200 nil terminate the loop (bug#14718).
11201
8308f184
LMI
112022013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11203
11204 * net/eww.el: Rework history traversal. When going forward/back,
11205 put these actions into the history, too, so that they can be
11206 replayed.
26bf2b82 11207 (eww-render): Move the history reset to the correct buffer.
8308f184 11208
ec64c273
JL
112092013-06-25 Juri Linkov <juri@jurta.org>
11210
11211 * files-x.el (modify-dir-local-variable): Change the header comment
11212 in the file with directory local variables. (Bug#14692)
11213
e080a9d7
JL
11214 * files-x.el (read-file-local-variable-value): Add `default'.
11215 (Bug#14710)
11216
bfbc93a1
IK
112172013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11218
11219 * net/eww.el (eww-make-unique-file-name): Create a unique file
11220 name before saving to entering `y' accidentally asynchronously.
11221
112222013-06-25 Ivan Kanis <ivan@kanis.fr>
11223
11224 * net/eww.el (eww-download): New command and keystroke.
11225
16f74f10
LMI
112262013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11227
a49ff80c 11228 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
11229
11230 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11231 be more consistent with Info and dired.
11232
11233 * net/eww.el (eww-mode-map): Ditto.
11234
12059709
SM
112352013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11238 packages from archives.
11239 (package-archive-contents): Change format; include obsolete packages.
11240 (package-desc): Use `dir' to mark builtin packages.
11241 (package--from-builtin): Set the `dir' field to `builtin'.
11242 (generated-autoload-file, version-control): Declare.
11243 (package-compute-transaction): Change first arg and return value to be
11244 lists of package-descs. Adjust to new package-archive-contents format.
11245 (package--add-to-archive-contents): Adjust to new
11246 package-archive-contents format.
11247 (package-download-transaction): Arg is now a list of package-descs.
11248 (package-install): If `pkg' is a package name, pass it as
11249 a requirement, so it is subject to the usual (e.g. disabled) checks.
11250 (describe-package): Accept package-desc as well.
11251 (describe-package-1): Describe a specific package-desc. Add links to
11252 other package-descs for the same package name.
11253 (package-menu-describe-package): Pass the actual package-desc.
11254 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11255 works correctly.
11256 (package-desc-status): New function.
11257 (package-menu--refresh): New function, extracted
11258 from package-menu--generate.
11259 (package-menu--generate): Use it.
11260 (package-delete): Update package-alist.
11261 (package-menu-execute): Don't call package-initialize.
11262
11263 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11264 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11265 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11266 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11267 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11268 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11269
8bbdea0f
MR
112702013-06-25 Martin Rudalics <rudalics@gmx.at>
11271
11272 * window.el (window--state-get-1): Workaround for bug#14527.
11273 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11274
e82b0991
LMI
112752013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11276
11277 * net/eww.el (eww-back-url): Implement the history by stashing all
11278 the data into a list.
d3f0f918 11279 (eww-forward-url): Allow going forward in the history, too.
e82b0991 11280
c763842b
SM
112812013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11282
11283 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11284 for values and use read--expression for expressions (bug#14710).
11285 (read-file-local-variable): Avoid setq.
11286 (read-file-local-variable-mode): Use minor-mode-list.
11287
bceff189
RW
112882013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11289
864c58ca 11290 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
11291 for DOI URLs.
11292
45f431c6
RW
112932013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11294
864c58ca 11295 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
11296 Update imenu-support when dialect changes.
11297
f42d8237
LL
112982013-06-25 Leo Liu <sdl.web@gmail.com>
11299
11300 * ido.el (ido-read-internal): Allow forward slash on windows.
11301
be549ce6
LMI
113022013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11303
11304 * net/eww.el (eww): Start of strings is \\`, not ^.
11305
71d4c19d
IK
113062013-06-24 Ivan Kanis <ivan@kanis.fr>
11307
5196f88a
IK
11308 * net/shr.el (shr-browse-url): Fix interactive spec.
11309
71d4c19d
IK
11310 * net/eww.el (eww): Add a trailing slash to domain names.
11311
ae36ca55
JB
113122013-06-24 Juanma Barranquero <lekktu@gmail.com>
11313
11314 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11315
0ebd92a3
LMI
113162013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11317
bdaa086b
LMI
11318 * net/shr.el (shr-browse-url): Use an external browser if given a
11319 prefix.
11320
c763842b 11321 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 11322
b89fc156
IK
113232013-06-24 Ivan Kanis <ivan@kanis.fr>
11324
11325 * net/eww.el (eww): Work more correctly for file: URLs.
11326 (eww-detect-charset): Allow quoted charsets.
11327 (eww-yank-page-url): New command and keystroke.
11328
18eb4bca
DU
113292013-06-24 Daiki Ueno <ueno@gnu.org>
11330
11331 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11332 file name of gpg executable.
11333 (epg-context-program): New function.
11334 (epg-context-home-directory): New function.
11335 (epg-context-set-program): New function.
11336 (epg-context-set-home-directory): New function.
11337 (epg--start): Use `epg-context-program' instead of
11338 'epg-gpg-program'.
11339 (epg--list-keys-1): Likewise.
11340
6c6268c8
LL
113412013-06-24 Leo Liu <sdl.web@gmail.com>
11342
11343 * ido.el (ido-read-internal): Fix bug#14620.
11344
5e400cb3
JB
113452013-06-23 Juanma Barranquero <lekktu@gmail.com>
11346
11347 * faces.el (face-documentation): Simplify.
11348 (read-face-attribute, tty-find-type, x-resolve-font-name):
11349 Use `string-match-p'.
11350 (list-faces-display): Use `string-match-p'. Simplify.
11351 (face-spec-recalc): Check face to avoid face alias loops.
11352 (read-color): Use `string-match-p' and non-capturing parenthesis.
11353
f3f9606c
LMI
113542013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11355
11356 * net/shr.el (shr-rescale-image): Use the new
11357 :max-width/:max-height functionality.
11358
a3ca09b9
IK
113592013-06-23 Ivan Kanis <ivan@kanis.fr>
11360
11361 * net/eww.el (eww-search-prefix): New variable.
11362 (eww): Use it.
f865b474
IK
11363 (eww-external-browser): New variable.
11364 (eww-mode-map): New keystroke.
11365 (eww-browse-with-external-browser): New command.
a3ca09b9 11366
e854cfc7
IK
11367 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11368
18bb9e21
JB
113692013-06-23 Juanma Barranquero <lekktu@gmail.com>
11370
11371 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11372 Don't skip aligning the next header field when padding is 0;
11373 otherwise, field width is not respected unless the title is as
11374 wide as the field.
11375
5b165ade
SM
113762013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11377
11378 * emacs-lisp/package.el (package-el-version): Remove.
11379 (package-process-define-package): Fix inf-loop.
11380 (package-install): Allow symbols as arguments again.
11381
12adebe9
DG
113822013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11383
11384 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11385 add some more keyword-like methods.
11386 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11387
388573ee
JB
113882013-06-22 Juanma Barranquero <lekktu@gmail.com>
11389
11390 * bs.el (bs-buffer-show-mark): Make defvar-local.
11391 (bs-mode): Use setq-local.
11392
11393 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11394 (emacs-lock--try-unlocking): Make defvar-local.
11395
4582a01c 113962013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 11397
2663dd23
GM
11398 * play/cookie1.el (cookie-apropos): Minor simplification.
11399
3d94f3ad
GM
11400 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11401
f72e2fdb
DG
114022013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11403
11404 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11405 `regexp-opt', it breaks the build during dumping.
11406
73eab938
DG
114072013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11408
c763842b
SM
11409 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11410 Highlight keyword-like methods on Kernel and Module with
73eab938 11411 font-lock-builtin-face.
5cf8176d
DG
11412 (auto-mode-alist): Consolidate different entries into one regexp
11413 and add more *file-s.
73eab938 11414
d26255f6
SB
114152013-06-21 Stephen Berman <stephen.berman@gmx.net>
11416
11417 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11418
11419 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11420 (diary-entry): Use it in the action of this button type instead of
11421 diary-goto-entry.
11422
11423 * calendar/todo-mode.el: New version.
11424 (todo-add-category): Append new category to end of file and give
11425 it the highest number, instead of putting it at the beginning and
11426 giving it 0. Incorporate noninteractive functionality.
11427 (todo-forward-category): Adapt to 1-based category numbering.
11428 Allow skipping over archived categories.
11429 (todo-backward-category): Derive from todo-forward-category.
11430 (todo-backward-item, todo-forward-item): Make noninteractive and
11431 delegate interactive part to new commands. Make sensitive to done items.
11432 (todo-categories): Make value an alist of category names and
11433 vectors of item counts.
11434 (todo-category-beg): Make a defconst.
11435 (todo-category-number): Use 1 instead of 0 as initial value.
11436 (todo-category-select): Make sensitive to overlays, optional item
11437 highlighting and done items.
11438 (todo-delete-item): Make sensitive to overlays and marked and done items.
11439 (todo-edit-item): Make sensitive to overlays and editing of
11440 date/time header optional. Add format checks.
11441 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11442 no-op if point is not on an item. Advertise using todo-edit-quit.
11443 (todo-edit-mode): Make sensitive to new format, font-locking, and
11444 multiple todo files.
11445 (todo-insert-item, todo-insert-item-here): Derive from
11446 todo-basic-insert-item and extend functionality.
11447 (todo-item-end, todo-item-start): Make sensitive to done items.
11448 (todo-item-string): Don't return text properties. Restore point.
11449 (todo-jump-to-category): Make sensitive to multiple todo files and
11450 todo archives. Use extended category completion.
11451 (todo-lower-item, todo-raise-item): Rename to *-priority and
11452 derive from todo-set-item-priority.
11453 (todo-mode): Derive from special-mode. Make sensitive to new
11454 format, font-locking and multiple todo files. Make read-only.
11455 (todo-mode-map): Don't suppress digit keys, so they can supply
11456 prefix arguments. Add many new key bindings.
11457 (todo-prefix): Insert as an overlay instead of file text.
11458 Change semantics from diary date expression to purely visual mark.
11459 (todo-print): Rename to todo-print-buffer. Make buffer display
11460 features printable. Remove option to restrict number of items
11461 printed. Add option to print to file.
11462 (todo-print-function): Rename to todo-print-buffer-function.
11463 (todo-quit): Extend to handle exiting new todo modes.
11464 (todo-remove-item): Make sensitive to overlays.
11465 (todo-save): Extend to buffers of filtered items.
11466 (todo-show): Make sensitive to done items, multiple todo files and
11467 new todo modes. Offer to convert legacy todo file before creating
11468 first new todo file.
11469 (todo-show-priorities): Rename to todo-top-priorities.
11470 Change semantics of value 0.
11471 (todo-top-priorities): Rename to todo-filter-top-priorities,
11472 derive from todo-filter-items and extend functionality.
11473 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11474 and extend functionality to other types of filtered items.
11475 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11476 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11477 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11478 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11479 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11480 (todo-edit-mode-hook, todo-entry-prefix-function)
11481 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11482 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11483 (todo-initials, todo-insert-threshold, todo-item-string-start)
11484 (todo-line-string, todo-menu, todo-mode-hook)
11485 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11486 (todo-print-priorities, todo-remove-separator)
11487 (todo-save-top-priorities-too, todo-string-count-lines)
11488 (todo-string-multiline-p, todo-time-string-format)
11489 (todo-tmp-buffer-name): Remove.
11490 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11491 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11492 (todo-edit-category-diary-inclusion)
11493 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11494 (todo-edit-file, todo-edit-item-date-day)
11495 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11496 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11497 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11498 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11499 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11500 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11501 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11502 (todo-filter-top-priorities-multifile, todo-find-archive)
11503 (todo-find-filtered-items-file, todo-go-to-source-item)
11504 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11505 (todo-jump-to-archive-category, todo-lower-category)
11506 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11507 (todo-move-category, todo-move-item, todo-next-button)
11508 (todo-next-item, todo-padded-string, todo-powerset)
11509 (todo-previous-button, todo-previous-item)
11510 (todo-print-buffer-to-file, todo-raise-category)
11511 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11512 (todo-set-category-number, todo-set-item-priority)
11513 (todo-set-top-priorities-in-category)
11514 (todo-set-top-priorities-in-file, todo-show-categories-table)
11515 (todo-sort-categories-alphabetically-or-numerically)
11516 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11517 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11518 (todo-toggle-item-header, todo-toggle-item-highlighting)
11519 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11520 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11521 (todo-unarchive-items, todo-unmark-category): New commands.
11522 (todo-absolute-file-name, todo-add-to-buffer-list)
11523 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11524 (todo-basic-insert-item, todo-category-completions)
11525 (todo-category-number, todo-category-string-matcher-1)
11526 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11527 (todo-check-format, todo-clear-matches)
11528 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11529 (todo-current-category, todo-date-string-matcher)
11530 (todo-define-insertion-command, todo-diary-expired-matcher)
11531 (todo-diary-goto-entry, todo-diary-item-p)
11532 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11533 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11534 (todo-done-item-section-p, todo-done-separator)
11535 (todo-done-string-matcher, todo-files, todo-filter-items)
11536 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11537 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11538 (todo-insert-category-line, todo-insert-item-from-calendar)
11539 (todo-insert-sort-button, todo-insert-with-overlays)
11540 (todo-insertion-command-name, todo-insertion-key-bindings)
11541 (todo-label-to-key, todo-longest-category-name-length)
11542 (todo-make-categories-list, todo-mode-external-set)
11543 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11544 (todo-modes-set-3, todo-multiple-filter-files)
11545 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11546 (todo-read-category, todo-read-date, todo-read-dayname)
11547 (todo-read-file-name, todo-read-time)
11548 (todo-reevaluate-category-completions-files-defcustom)
11549 (todo-reevaluate-default-file-defcustom)
11550 (todo-reevaluate-filelist-defcustoms)
11551 (todo-reevaluate-filter-files-defcustom)
11552 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11553 (todo-reset-done-separator, todo-reset-done-separator-string)
11554 (todo-reset-done-string, todo-reset-global-current-todo-file)
11555 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11556 (todo-reset-prefix, todo-set-categories)
11557 (todo-set-date-from-calendar, todo-set-show-current-file)
11558 (todo-set-top-priorities, todo-short-file-name)
11559 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11560 (todo-total-item-counts, todo-update-buffer-list)
11561 (todo-update-categories-display, todo-update-categories-sexp)
11562 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11563 New functions.
11564 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11565 New major modes.
11566 (todo-categories, todo-display, todo-edit, todo-faces)
11567 (todo-filtered): New defgroups.
11568 (todo-archived-only, todo-button, todo-category-string, todo-date)
11569 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11570 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11571 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11572 (todo-add-item-if-new-category, todo-always-add-time-string)
11573 (todo-categories-align, todo-categories-archived-label)
11574 (todo-categories-category-label, todo-categories-diary-label)
11575 (todo-categories-done-label, todo-categories-number-separator)
11576 (todo-categories-todo-label, todo-categories-totals-label)
11577 (todo-category-completions-files, todo-completion-ignore-case)
11578 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11579 (todo-done-separator-string, todo-done-string)
11580 (todo-files-function, todo-filter-done-items, todo-filter-files)
11581 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11582 (todo-initial-category, todo-initial-file, todo-item-mark)
11583 (todo-legacy-date-time-regexp, todo-mode-line-function)
11584 (todo-nondiary-marker, todo-number-prefix)
11585 (todo-print-buffer-function, todo-show-current-file)
11586 (todo-show-done-only, todo-show-first, todo-show-with-done)
11587 (todo-skip-archived-categories, todo-top-priorities-overrides)
11588 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11589 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11590 New defcustoms.
11591 (todo-category-done, todo-date-pattern, todo-date-string-start)
11592 (todo-diary-items-buffer, todo-done-string-start)
11593 (todo-filtered-items-buffer, todo-item-start)
11594 (todo-month-abbrev-array, todo-month-name-array)
11595 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11596 (todo-top-priorities-buffer): New defconsts.
11597 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11598 (todo-categories-with-marks, todo-category-string-face)
11599 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11600 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11601 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11602 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11603 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11604 (todo-font-lock-keywords, todo-global-current-todo-file)
11605 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11606 (todo-insertion-commands-args)
11607 (todo-insertion-commands-args-genlist)
11608 (todo-insertion-commands-names, todo-insertion-map)
11609 (todo-key-bindings-t, todo-key-bindings-t+a)
11610 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11611 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11612 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11613 (todo-visited): New variables.
11614
cad5d1cb
GM
116152013-06-21 Glenn Morris <rgm@gnu.org>
11616
11617 * play/cookie1.el (cookie-apropos): Add optional display argument.
11618 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11619 (psychoanalyze-pinhead): Use cookie-doctor.
11620
9e277302
JB
116212013-06-21 Juanma Barranquero <lekktu@gmail.com>
11622
11623 * emacs-lisp/package.el (tar-get-file-descriptor)
11624 (tar--extract): Declare.
11625
c5b0993e
EW
116262013-06-21 Eduard Wiebe <usenet@pusto.de>
11627
11628 Extend flymake's warning predicate to be a function (bug#14217).
11629 * progmodes/flymake.el (flymake-warning-predicate): New.
11630 (flymake-parse-line): Use it.
11631 (flymake-warning-re): Make obsolete alias to
11632 `flymake-warning-predicate'.
11633
a7d2d465
SM
116342013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11635
11636 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11637 (package-obsolete-list): Remove.
11638 (package-activate): Remove min-version argument. Add `force' argument.
11639 Adjust to new package-alist format.
11640 (package-mark-obsolete): Remove.
11641 (package-unpack): Force reload of the package's autoloads.
11642 (package-installed-p): Check builtins if the installed package is not
11643 recent enough.
11644 (package-initialize): Don't reset package-obsolete-list.
11645 Don't specify which package version to activate.
11646 (package-process-define-package, describe-package-1)
11647 (package-menu--generate): Adjust to new package-alist format.
11648
cedf5c9d
JB
116492013-06-21 Juanma Barranquero <lekktu@gmail.com>
11650
11651 * allout-widgets.el (allout-widgets-mode-off)
11652 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11653 (allout-widgets-post-command-business)
11654 (allout-widgets-after-copy-or-kill-function)
11655 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11656 (allout-decorate-item-and-context)
11657 (allout-graphics-modification-handler): Fix typos in docstrings.
11658 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11659
11660 * cmuscheme.el (scheme-start-file): Doc fix.
11661 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11662 (scheme-input-filter): Use `string-match-p'.
11663
11664 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11665
11666 * dired-x.el: Use Dired consistently in docstrings.
11667
11668 * dired.el: Use Dired consistently in docstrings.
11669 (dired-readin, dired-mode): Use `setq-local'.
11670 (dired-switches-alist): Make defvar-local.
11671 (dired-buffers-for-dir): Use `zerop'.
11672 (dired-safe-switches-p, dired-switches-escape-p)
11673 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11674 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 11675 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
11676 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11677 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11678 (dired-toggle-marks, dired-mark-files-containing-regexp)
11679 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11680 (dired-flag-auto-save-files, dired-flag-backup-files):
11681 Use `looking-at-p'.
11682 (dired-mark-files-regexp, dired-build-subdir-alist):
11683 Use `string-match-p', `looking-at-p'.
11684
11685 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11686 (direct-print-region-helper): Use `string-match-p'.
11687
aed838b5
LL
116882013-06-21 Leo Liu <sdl.web@gmail.com>
11689
cedf5c9d
JB
11690 * comint.el (comint-redirect-results-list-from-process):
11691 Fix infinite loop.
aed838b5 11692
d80a808f
LMI
116932013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11694
11695 * net/eww.el (eww-update-header-line-format): Quote % characters.
11696
e7a526e3
GM
116972013-06-21 Glenn Morris <rgm@gnu.org>
11698
11699 * play/cookie1.el (cookie): New custom group.
11700 (cookie-file): New option.
11701 (cookie-check-file): New function.
11702 (cookie): Make it interactive. Make start and end messages optional.
11703 Interactively, display the result. Default to cookie-file.
11704 (cookie-insert): Default to cookie-file.
11705 (cookie-snarf): Make start and end messages optional.
11706 Default to cookie-file. Use with-temp-buffer.
11707 (cookie-read): Rename from read-cookie.
11708 Make start and end messages optional. Default to cookie-file.
11709 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 11710 Do not autoload it.
e7a526e3
GM
11711 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11712 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11713
62efb35e
LL
117142013-06-21 Leo Liu <sdl.web@gmail.com>
11715
11716 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11717
21e3f963
GM
117182013-06-21 Glenn Morris <rgm@gnu.org>
11719
11720 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11721
fd846ab4
SM
117222013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11723 Daniel Hackney <dan@haxney.org>
11724
11725 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11726 Consolidate the single-file vs tarball code.
11727 (package-desc-suffix): New function.
11728 (package-desc-full-name): Don't bother inlining it.
11729 (package-load-descriptor): Return the new package-desc.
11730 (package-mark-obsolete): Remove unused arg `package'.
11731 (package-unpack): Make it work for single files as well.
11732 Make it update package-alist.
11733 (package--make-autoloads-and-stuff): Rename from
11734 package--make-autoloads-and-compile. Don't compile any more.
11735 (package--compile): New function.
11736 (package-generate-description-file): New function, extracted from
11737 package-unpack-single.
11738 (package-unpack-single): Remove.
11739 (package--with-work-buffer): Add indentation and debugging info.
11740 (package-download-single): Remove.
11741 (package-install-from-archive): Rename from package-download-tar, make
11742 it take a pkg-desc, and make it work for single files as well.
11743 (package-download-transaction): Simplify.
11744 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11745 external tar program.
11746 (package-install-from-buffer): Remove `pkg-desc' argument.
11747 Use package-tar-file-info for tar-mode buffers.
11748 (package-install-file): Simplify accordingly.
11749 (package-archive-base): Change to take a pkg-desc.
11750 * tar-mode.el (tar--check-descriptor): New function, extracted from
11751 tar-get-descriptor.
11752 (tar-get-descriptor): Use it.
11753 (tar-get-file-descriptor): New function.
11754 (tar--extract): New function, extracted from tar-extract.
11755 (tar--extract): Use it.
11756 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11757 case the summary uses non-ascii. Adjust to new calling convention of
11758 package-tar-file-info.
11759
b7deae5e
LL
117602013-06-21 Leo Liu <sdl.web@gmail.com>
11761
fd846ab4
SM
11762 * comint.el (comint-redirect-results-list-from-process):
11763 Fix random delay. (Bug#14681)
b7deae5e 11764
7a65a0b2
JB
117652013-06-21 Juanma Barranquero <lekktu@gmail.com>
11766
11767 * profiler.el (profiler-format-number): Use log, not log10.
11768
1493c2af
JB
117692013-06-20 Juanma Barranquero <lekktu@gmail.com>
11770
11771 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11772
aff6371e
SM
117732013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11774
11775 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11776 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11777 yet available.
11778 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11779 (AUTOGENEL): ... here.
11780 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11781 (cl--defsubst-expand): Use it.
11782
89561f72
PE
117832013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11784
11785 * subr.el (log10): Move here from C code, and declare as obsolete.
11786 All uses of (log10 X) replaced with (log X 10).
11787
47199123
JB
117882013-06-20 Juanma Barranquero <lekktu@gmail.com>
11789
11790 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11791 Declare with `defvar-local'.
11792 (tabulated-list-use-header-line, tabulated-list-entries)
11793 (tabulated-list-padding, tabulated-list-printer)
11794 (tabulated-list-sort-key): Declare with `defvar-local'.
11795 (tabulated-list-init-header, tabulated-list-print-fake-header):
11796 Use `setq-local'.
11797
4a172eab
MA
117982013-06-20 Michael Albinus <michael.albinus@gmx.de>
11799
47199123
JB
11800 * arc-mode.el (archive-mode): Add `archive-write-file' to
11801 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 11802
5fc0acc0
JB
118032013-06-20 Juanma Barranquero <lekktu@gmail.com>
11804
d5b27848
JB
11805 * cus-edit.el (custom-commands): Fix typos.
11806 (custom-display): Fix tooltip text.
11807 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11808 Fix typos in docstrings.
11809 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11810 (custom-unlispify-menu-entry, custom-magic-value-create)
11811 (custom-add-see-also, custom-group-value-create): Use ?\s.
11812 (custom-guess-type, customize-apropos, editable-field)
11813 (custom-face-value-create): Use `string-match-p'.
11814 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11815
11816 * custom.el (custom-load-symbol): Use `string-match-p'.
11817
a5c581d8
JB
11818 * ansi-color.el: Convert to lexical binding.
11819 (ansi-colors): Fix URL.
11820 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11821 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11822 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11823
970ad972
G
118242013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11825
11826 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11827
11828 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11829
118302013-06-19 Tom Tromey <tromey@redhat.com>
11831
11832 * net/eww.el (eww-top-url): Remove.
11833 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11834 (eww-render): Set new variables. Don't set eww-top-url.
11835 (eww-handle-link): Handle "prev", "home", and "contents".
11836 Downcase the rel text.
11837 (eww-top-url): Choose best top URL.
11838
118392013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11840
11841 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11842 relying in widget.el. Using widget.el leads to too many
11843 user interface inconsistencies.
11844 (eww-self-insert): Implement entering commands in text fields.
11845 (eww-process-text-input): New function to make text input field editing
11846 work.
11847 (eww-submit): Rewrite to use the new-style form methods.
11848 (eww-select-display): Display the correct selected item.
11849 (eww-change-select): Implement changing the select value.
11850 (eww-toggle-checkbox): Implement radio/checkboxes.
11851 (eww-update-field): Fix compilation error.
11852 (eww-tag-textarea): Implement <textarea>.
11853
11854 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11855 we don't shadow mode-specific bindings.
11856
11857 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11858 nothing to push.
11859
11860 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11861
4582a01c 118622013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
11863
11864 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11865
15b263dc
MA
118662013-06-19 Michael Albinus <michael.albinus@gmx.de>
11867
11868 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11869 not needed.
11870
11871 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11872
8f5297f7
LMI
118732013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11874
11875 * net/browse-url.el (browse-url-browser-function):
11876 `eww-browse-url' has the right calling signature, `eww' does not.
11877
011c4552
GM
118782013-06-19 Glenn Morris <rgm@gnu.org>
11879
2285bd27
GM
11880 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11881 Only eval autoloaded macros.
11882 (byte-compile-autoload): Only give the macro warning for macros.
11883
1d653303
GM
11884 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11885 (ps-underlined-faces): Declare.
11886
bdd779ec
GM
11887 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11888 (speedbar-add-supported-extension): Declare.
11889
011c4552
GM
11890 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11891 Don't include a date stamp in the header of the generated file;
11892 it leads to needless differences between output files.
11893
e59dfb0e
MA
118942013-06-19 Michael Albinus <michael.albinus@gmx.de>
11895
c763842b
SM
11896 * net/secrets.el (secrets-struct-secret-content-type):
11897 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 11898 Some servers do not offer introspection.
e59dfb0e 11899
102626e2
SM
119002013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * electric.el (electric-pair-mode): Improve interaction with
11903 electric-layout-mode.
11904 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11905 (electric-pair-syntax): Use text-mode-syntax-table in comments
11906 and strings.
11907 (electric-pair--insert): New function.
11908 (electric-pair-post-self-insert-function): Use it and
11909 electric--after-char-pos.
11910
ad528125
LL
119112013-06-19 Leo Liu <sdl.web@gmail.com>
11912
11913 * progmodes/octave.el (octave-help): Fix regexp.
11914
924d6997
G
119152013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11916
11917 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11918 (shr-table-horizontal-line): Allow nil as a value, and change the
11919 default.
11920 (shr-insert-table-ruler): Respect the nil value.
11921
119222013-06-18 Tom Tromey <tromey@barimba>
11923
11924 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11925 New defvars.
11926 (eww-open-file): New defun.
11927 (eww-render): Initialize new variables.
11928 (eww-display-html): Handle "link" and "a".
11929 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11930 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11931 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
11932 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11933 New defuns.
924d6997 11934
d1bbba4f
DG
119352013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11936
11937 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11938 Distinguish ternary operator tokens from slash symbol and slash
11939 char literal.
11940
14dd22d2
JB
119412013-06-18 Juanma Barranquero <lekktu@gmail.com>
11942
11943 Convert symbol prettification into minor mode and global minor mode.
11944
11945 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11946 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11947 (prettify-symbols--keywords): Rename from
11948 `prog-prettify-symbols-alist' and make a local defvar.
11949 (prettify-symbols--compose-symbol): Rename from
11950 `prog--prettify-font-lock-compose-symbol'.
11951 (prettify-symbols--make-keywords): Rename from
11952 `prog-prettify-font-lock-symbols-keywords' and simplify.
11953 (prog-prettify-install): Remove.
11954 (prettify-symbols-mode): New minor mode, based on
11955 `prog-prettify-install'.
11956 (turn-on-prettify-symbols-mode): New function.
11957 (global-prettify-symbols-mode): New globalized minor mode.
11958
11959 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11960 * progmodes/cfengine.el (cfengine3-mode):
11961 * progmodes/perl-mode.el (perl-mode): Don't call
11962 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11963
292c880c
JL
119642013-06-18 Juri Linkov <juri@jurta.org>
11965
11966 * files-x.el (modify-file-local-variable-message): New function.
11967 (modify-file-local-variable)
11968 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11969 and call `modify-file-local-variable-message' when it's non-nil.
11970 (add-file-local-variable, delete-file-local-variable)
11971 (add-file-local-variable-prop-line)
11972 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11973 and use it. (Bug#9820)
11974
0950aa27
JL
119752013-06-18 Juri Linkov <juri@jurta.org>
11976
11977 * emulation/vi.el (vi-shell-op):
11978 * emulation/vip.el (vip-execute-com, ex-command):
11979 * emulation/viper-cmd.el (viper-exec-bang):
11980 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11981 the call of `shell-command-on-region'. (Bug#14637)
11982
11983 * simple.el (shell-command-on-region): Doc fix.
11984
8fbcca16
SM
119852013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11986
11987 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11988 (bug#14633).
11989
dd7426ea
GM
119902013-06-18 Glenn Morris <rgm@gnu.org>
11991
4ba54f7d
GM
11992 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11993
dd7426ea
GM
11994 * newcomment.el (comment-search-forward, comment-search-backward):
11995 Doc fix. (Bug#14376)
11996
58aa805b
JB
119972013-06-18 Juanma Barranquero <lekktu@gmail.com>
11998
11999 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12000 (buffer-face-mode-invoke): Doc fix.
12001
9a08a617
MM
120022013-06-18 Matthias Meulien <orontee@gmail.com>
12003
12004 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 12005 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 12006
f2f426ca
GM
120072013-06-18 Glenn Morris <rgm@gnu.org>
12008
9445f99b
GM
12009 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12010 Replace obsolete function generic-make-keywords with its expansion.
12011
e0df2d14
GM
12012 * progmodes/python.el (ffap-alist): Declare.
12013
f2f426ca
GM
12014 * textmodes/reftex.el (bibtex-mode-map): Declare.
12015
f7f9a720
SM
120162013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12019 (package-unpack, package-unpack-single): Return the pkg-dir.
12020 (package-download-transaction): Use it to update package-alist.
12021
57ff04e0
LMI
120222013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12023
12024 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12025 possible choice.
12026
c048c022
JL
120272013-06-17 Juri Linkov <juri@jurta.org>
12028
12029 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12030
b5bcaee5
DG
120312013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12032
a020afb9
JB
12033 * emacs-lisp/package.el (package-load-descriptor):
12034 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
12035 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12036
551e07e5
JB
120372013-06-17 Juanma Barranquero <lekktu@gmail.com>
12038
12039 * startup.el (command-line): Expand package name returned by
12040 `package--description-file' (bug#14639).
12041
d363bffb
DG
120422013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12043
12044 * emacs-lisp/package.el (package-load-descriptor): Do not call
12045 `emacs-lisp-mode', just use its syntax table.
12046
f612933b
JB
120472013-06-17 Juanma Barranquero <lekktu@gmail.com>
12048
12049 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12050 `font-lock-extra-managed-props' if any prettifying keyword is added.
12051 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12052 (prog-mode): Use `setq-local'.
12053
db3b7db5
SM
120542013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12055
12056 * international/characters.el (standard-case-table): Set syntax of ?»
12057 and ?« to punctuation.
12058
f3d674df
JB
120592013-06-16 Juanma Barranquero <lekktu@gmail.com>
12060
12061 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12062 Save relevant match data before calling `syntax-ppss' (bug#14595).
12063
31489a32
JL
120642013-06-15 Juri Linkov <juri@jurta.org>
12065
12066 * files-x.el (modify-file-local-variable-prop-line): Add local
12067 variables to the end of the existing comment on the first line.
12068 Use `file-auto-mode-skip' to skip interpreter magic line,
12069 and also skip XML declaration.
12070
66bd25ab
SM
120712013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12072
12073 * startup.el (package--builtin-versions): New var.
12074 (package-subdirectory-regexp): Remove.
12075 (package--description-file): Hard code its value instead.
12076
12077 * emacs-lisp/package.el: Don't activate packages older than builtin.
12078 (package-obsolete-list): Rename from package-obsolete-alist, and make
12079 it into a simple list of package-desc.
12080 (package-strip-version): Remove.
12081 (package-built-in-p): Use package--builtin-versions.
12082 (package-mark-obsolete): Simplify.
12083 (package-process-define-package): Mark it obsolete if older than the
12084 builtin version.
12085 (package-handle-response): Use line-end-position.
12086 (package-read-archive-contents, package--download-one-archive):
12087 Simplify.
12088 (package--add-to-archive-contents): Skip if older than the builtin or
12089 installed version.
12090 (package-menu-describe-package): Fix last change.
12091 (package-list-unversioned): New var.
12092 (package-menu--generate): Use it.
12093
12094 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12095 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12096 (autoload-builtin-package-versions): New variable.
12097 (autoload-generate-file-autoloads): Use them.
12098 Remove the list of autoloaded functions/macros from the
12099 (autoload...) comments.
12100
12101 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12102
9583ec36
EZ
121032013-06-15 Eli Zaretskii <eliz@gnu.org>
12104
12105 * simple.el (line-move-partial): Don't jump to the next screen
12106 line as soon as it becomes visible. Instead, continue enlarging
12107 the vscroll until the portion of a tall screen line that's left on
12108 display is about the height of the frame's default font.
12109 (Bug#14567)
12110
f0100d8a
GM
121112013-06-15 Glenn Morris <rgm@gnu.org>
12112
b86a85ca
GM
12113 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12114 compilation-error-regexp-alist void, or local while let-bound.
12115
f0100d8a
GM
12116 * progmodes/make-mode.el (makefile-mode-syntax-table):
12117 Treat "=" as punctuation. (Bug#14614)
12118
05e7ce90
JB
121192013-06-15 Juanma Barranquero <lekktu@gmail.com>
12120
12121 * help-fns.el (describe-variable):
12122 Add extra line for permanent-local variables.
12123
12e5e86e
SH
121242013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12125
12126 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12127 Add export, import, library. (Bug#9164)
12128 (library): Set indent function.
12129
230dcbaf
GM
121302013-06-14 Glenn Morris <rgm@gnu.org>
12131
12132 * term/xterm.el (xterm--query):
12133 Stop after first matching handler. (Bug#14615)
12134
e36b2d20 121352013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
12136
12137 Add support for dired in saveplace.
12138 * dired.el (dired-initial-position-hook): New variable.
12139 (dired-initial-position): Call hook to place cursor position.
12140 * saveplace.el (save-place-to-alist): Add dired position.
12141 (save-place-dired-hook): New function.
12142
0b31660d
SM
121432013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12144
bf1e6ae8
SM
12145 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12146 through a symbol rather than letrec.
12147
1b8dff23
SM
12148 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12149 (package-desc): Add `dir' field.
12150 (package-desc-full-name): New function.
12151 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12152 (package-maybe-load-descriptor): Remove.
12153 (package-load-all-descriptors): Just call package-load-descriptor.
12154 (package--disabled-p): New function.
12155 (package-desc-vers, package-desc-doc): Remove aliases.
12156 (package--dir): Remove function.
12157 (package-activate): Check if a package is disabled.
12158 (package-process-define-package): New function, extracted from
12159 define-package.
12160 (define-package): Turn into a place holder.
12161 (package-unpack-single, package-tar-file-info):
12162 Use package--description-file.
12163 (package-compute-transaction): Use package--disabled-p.
12164 (package-download-transaction): Don't call
12165 package-maybe-load-descriptor since they're all loaded anyway.
12166 (package-install): Change argument to be a pkg-desc.
12167 (package-delete): Use a single pkg-desc argument.
12168 (describe-package-1): Use package-desc-dir instead of package--dir.
12169 Use package-desc property instead of package-symbol.
12170 (package-install-button-action): Adjust accordingly.
12171 (package--push): Rewrite.
12172 (package-menu--print-info): Adjust accordingly. Change the ID format
12173 to be a pkg-desc.
12174 (package-menu-describe-package, package-menu-get-status)
12175 (package-menu--find-upgrades, package-menu-mark-upgrades)
12176 (package-menu-execute, package-menu--name-predicate):
12177 Adjust accordingly.
12178 * startup.el (package--description-file): New function.
12179 (command-line): Use it.
12180 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12181 Use package-desc-version.
12182
0b31660d
SM
12183 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12184 (byte-compile-preprocess): Use it.
12185 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12186 can't quite recognize.
12187 (byte-compile-add-to-list): Remove.
12188 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12189 (cconv-closure-convert): Add assertion.
12190
12191 * emacs-lisp/map-ynp.el: Use lexical-binding.
12192 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12193 Factor out some repeated code.
12194
de0503df
SM
121952013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12196
12197 * subr.el (with-eval-after-load): New macro.
12198 (eval-after-load): Allow form to be a function.
12199 take advantage of lexical-binding.
12200 (do-after-load-evaluation): Use dolist and adjust to new format.
12201 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12202
bc5c8c5a
JL
122032013-06-13 Juri Linkov <juri@jurta.org>
12204
12205 * replace.el (perform-replace): Display "symbol " and other search
12206 modes from `isearch-message-prefix' in the *Help* buffer.
12207
12208 * isearch.el (isearch-query-replace): Add " symbol" and other
12209 possible search modes from `isearch-message-prefix' to the prompt.
12210 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12211 when reading a regexp to collect.
12212
a22289f7
JL
122132013-06-13 Juri Linkov <juri@jurta.org>
12214
12215 * isearch.el (word-search-regexp): Match whitespace if the search
12216 string begins or ends in whitespace. The LAX arg is applied to
12217 both ends of the search string. Use `regexp-quote' and explicit
12218 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12219 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12220 boundaries are replaced with symbol boundaries, and characters
12221 between symbols match non-word non-symbol syntax. (Bug#14602)
12222
cb89acab
JL
122232013-06-13 Juri Linkov <juri@jurta.org>
12224
12225 * isearch.el (isearch-del-char): Don't exceed the length of
12226 `isearch-string' by the prefix arg. (Bug#14563)
12227
6e8cfc81
JL
122282013-06-13 Juri Linkov <juri@jurta.org>
12229
12230 * isearch.el (isearch-yank-word, isearch-yank-line)
12231 (isearch-char-by-name, isearch-quote-char)
12232 (isearch-printing-char, isearch-process-search-char):
12233 Add optional count prefix arg. (Bug#14563)
12234
12235 * international/isearch-x.el
12236 (isearch-process-search-multibyte-characters):
12237 Add optional count prefix arg.
12238
c23d55f4
VS
122392013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12240
12241 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12242 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12243 lexical-binding.
12244
122452013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12246
12247 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12248
ba947bc4
GM
122492013-06-13 Glenn Morris <rgm@gnu.org>
12250
8baeb37a
GM
12251 * startup.el (tty-handle-args):
12252 Don't just discard "--" and anything after. (Bug#14608)
12253
ba947bc4
GM
12254 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12255
9abefce4
MA
122562013-06-13 Michael Albinus <michael.albinus@gmx.de>
12257
12258 Implement changes in Secret Service API. Make it backward compatible.
12259 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12260 (secrets-create-item): Use it. Prefix properties with interface.
12261
5755011f
MH
122622013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12263
12264 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12265 (term-emulate-terminal): Respect term-suppress-hard-newline.
12266
1261d2da
S
122672013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12268
12269 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12270 Only remove a `thumb-file' overlay. (Bug#14548)
12271
868490bb
GJ
122722013-06-12 Grégoire Jadi <daimrod@gmail.com>
12273
12274 * mail/reporter.el (reporter-submit-bug-report):
12275 Handle missing package-name. (Bug#14600)
12276
79d7167f
TH
122772013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12278
12279 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12280 (reftex-citation-prompt, reftex-default-bibliography)
12281 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12282 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12283 (reftex-bib-sort-author, reftex-bib-sort-year)
12284 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12285 (reftex-extract-bib-entries-from-thebibliography)
12286 (reftex-get-bibkey-default, reftex-get-bib-names)
12287 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12288 (reftex-format-bib-entry, reftex-parse-bibitem)
12289 (reftex-format-bibitem, reftex-do-citation)
12290 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12291 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12292 (reftex-insert-bib-matches, reftex-format-citation)
12293 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12294 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12295 existing comments into docstrings.
12296
5f9dbd7a
XF
122972013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12298
12299 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12300
94df41ab
AS
123012013-06-12 Andreas Schwab <schwab@suse.de>
12302
12303 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12304 for auto-save files.
12305
a7f3fecc
GM
123062013-06-12 Glenn Morris <rgm@gnu.org>
12307
001809f6
GM
12308 * ido.el (ido-delete-ignored-files): Remove.
12309 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12310 Go back to calling ido-ignore-item-p directly.
a7f3fecc 12311
834b5ded
EL
123122013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12313
08c73ed2
EL
12314 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12315
834b5ded
EL
12316 * ido.el (ido-delete-ignored-files): New function,
12317 split from ido-make-file-list-1.
12318 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12319 (ido-make-file-list-1): Use ido-delete-ignored-files.
12320
daabf15a
LL
123212013-06-12 Leo Liu <sdl.web@gmail.com>
12322
12323 * progmodes/octave.el (inferior-octave-startup)
12324 (inferior-octave-completion-table)
12325 (inferior-octave-track-window-width-change)
12326 (octave-eldoc-function-signatures, octave-help)
12327 (octave-find-definition): Use single quoted strings.
12328 (inferior-octave-startup-args): Change default value.
12329 (inferior-octave-startup): Do not hard code "-i" and
12330 "--no-line-editing".
12331 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12332 (inferior-octave-directory-tracker): Use it.
12333 (octave-goto-function-definition): Robustify.
12334 (octave-help): Support highlighting operators in 'See also'.
12335 (octave-find-definition): Find subfunctions only in Octave mode.
12336
cf4e5178
SM
123372013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12338
12339 * help-fns.el (help-fns--compiler-macro): If the handler function is
12340 named, then put a link to it.
12341 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12342 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12343 (cl-typep): Use it.
12344 (cl-eval-when): Simplify debug spec.
12345 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12346 compiler-macro function instead of setting `compiler-macro-file'.
12347
99c81280 123482013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
12349
12350 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12351 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12352
f56be016
SM
123532013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12354 Daniel Hackney <dan@haxney.org>
12355
12356 First part of Daniel Hackney's patch to package.el.
12357 * emacs-lisp/package.el: Use defstruct.
12358 (package-desc): New, main struct.
12359 (package--bi-desc, package--ac-desc): New structs, used to describe the
12360 format in external files.
12361 (package-desc-vers): Replace with package-desc-version accessor.
12362 (package-desc-doc): Replace with package-desc-summary accessor.
12363 (package-activate-1): Remove `package' arg since the pkg-vec now
12364 includes the name.
12365 (define-package): Use package-desc-from-define.
12366 (package-unpack-single): Change file-name arg to be a symbol.
12367 (package--add-to-archive-contents): Use package-desc-create and new
12368 accessor functions to package--ac-desc.
12369 (package-buffer-info, package-tar-file-info): Return a package-desc.
12370 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12371 arg to be a package-desc.
12372 (package-install-file): Adjust accordingly. Use \' to match EOS.
12373 (package--from-builtin): New function.
12374 (describe-package-1, package-menu--generate): Use it.
12375 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12376 (package-generate-autoloads): Idem and return the name of the file.
12377 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12378 Change pkg-info arg to be a package-desc.
12379 Use package-make-ac-desc.
12380 (package-upload-file): Use \' to match EOS.
12381 * finder.el (finder-compile-keywords): Use package-make-builtin.
12382
31119d63
SM
123832013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12384
931a2762
SM
12385 * vc/vc.el (vc-deduce-fileset): Change error message.
12386 (vc-read-backend): New function.
12387 (vc-next-action): Use it.
12388
5a3eb0c6
SM
12389 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12390
e3eb1bb7
SM
12391 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12392 (prolog-font-lock-keywords): Use regexp-opt instead.
12393 Don't manually highlight strings.
12394 (prolog-mode-variables): Simplify comment-start-skip.
12395 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12396
31119d63
SM
12397 * emacs-lisp/generic.el (generic--normalise-comments)
12398 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12399 (generic-mode-set-comments): Use them.
12400 (generic-bracket-support): Use setq-local.
12401 (generic-make-keywords-list): Declare obsolete.
12402
7de135d0
GM
124032013-06-11 Glenn Morris <rgm@gnu.org>
12404
12405 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12406 Prettify after setting font-lock-defaults. (Bug#14574)
12407
fa6bc6fd
JB
124082013-06-11 Juanma Barranquero <lekktu@gmail.com>
12409
12410 * replace.el (query-replace, occur-read-regexp-defaults-function)
12411 (replace-search):
12412 * subr.el (declare-function, number-sequence, local-set-key)
12413 (substitute-key-definition, locate-user-emacs-file)
12414 (with-silent-modifications, split-string, eval-after-load):
12415 Fix typos, remove unneeded backslashes and reflow some docstrings.
12416
cf1f9b9a
SM
124172013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12420 default for Elisp files.
12421
56602a4b
GM
124222013-06-11 Glenn Morris <rgm@gnu.org>
12423
12424 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12425 although define-derived-mode was doing this anyway. (Bug#14583)
12426
30ae0b2c
JB
124272013-06-10 Juanma Barranquero <lekktu@gmail.com>
12428
12429 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12430 Fix make-variable-buffer-local call to refer to the correct variable.
12431
fa472906
AG
124322013-06-10 Aidan Gauland <aidalgol@amuri.net>
12433
12434 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
12435 (eshell-visual-subcommands, eshell-visual-options):
12436 Add summary line to docstrings. Add cross-references.
fa472906 12437
ff4871b9
GM
124382013-06-10 Glenn Morris <rgm@gnu.org>
12439
12440 * epa.el (epa-read-file-name): New function. (Bug#14510)
12441 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12442
04fcf1b0
AG
124432013-06-09 Aidan Gauland <aidalgol@amuri.net>
12444
12445 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12446 output redirection to be ignored with visual commands.
12447
88b00caa
AG
124482013-06-09 Aidan Gauland <aidalgol@amuri.net>
12449
12450 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
12451 (eshell-term-initialize): Move long lambda to separate function
12452 eshell-visual-command-p.
27821a89 12453 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
12454 * eshell/em-script.el (eshell-script-initialize):
12455 Add missing #' to lambda.
88b00caa 12456
fda74125
LL
124572013-06-08 Leo Liu <sdl.web@gmail.com>
12458
12459 * progmodes/octave.el (octave-add-log-current-defun): New function.
12460 (octave-mode): Set add-log-current-defun-function.
12461 (octave-goto-function-definition): Do not move point if not found.
12462 (octave-find-definition): Enhance to try subfunctions first.
12463
467f3b33
GM
124642013-06-08 Glenn Morris <rgm@gnu.org>
12465
12466 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12467 (byte-compile-backward-char, byte-compile-backward-word):
12468 Improve previous change, to handle non-explicit nil.
12469
544badc3
SM
124702013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12471
12472 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12473 (smie--opener/closer-at-point): New function.
12474 (smie--matching-block-data): Use it. Don't match from right after an
12475 opener or right before a closer. Obey smie-blink-matching-inners.
12476 Don't signal a mismatch for repeated inners like "switch..case..case".
12477
a175bf33
LL
124782013-06-07 Leo Liu <sdl.web@gmail.com>
12479
12480 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12481 to t. (Bug#14303)
ce8209d4
LL
12482 (octave-function-header-regexp): Fix. (Bug#14570)
12483 (octave-help-mode-finish-hook, octave-help-mode-finish):
12484 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
12485
12486 * newcomment.el (comment-search-backward): Revert last change.
12487 (Bug#14434)
12488
12489 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12490
a822acff
EZ
124912013-06-07 Eli Zaretskii <eliz@gnu.org>
12492
12493 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12494 through xargs, to avoid failure due to MS-Windows limitations on
12495 command-line length.
12496
961166f5
GM
124972013-06-06 Glenn Morris <rgm@gnu.org>
12498
d0341459
GM
12499 * font-lock.el (lisp-font-lock-keywords-2):
12500 Treat user-error like error.
12501
961166f5
GM
12502 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12503 (byte-compile-backward-char, byte-compile-backward-word):
12504 Handle explicit nil arguments. (Bug#14565)
12505
80fa505f
AM
125062013-06-05 Alan Mackenzie <acm@muc.de>
12507
12508 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 12509 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 12510 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 12511 (Bug#9706)
80fa505f 12512
fccdc796
SM
125132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12514
12515 * autorevert.el (auto-revert-notify-handler): Use memq.
12516 Hide assertion failure.
12517
12518 * skeleton.el: Use cl-lib.
12519 (skeleton-further-elements): Use defvar-local.
12520 (skeleton-insert): Use cl-progv.
12521
9bfff84b
TZ
125222013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12523
12524 * progmodes/prog-mode.el (prog-prettify-symbols)
12525 (prog-prettify-install): Update docstrings.
12526
55577e7c
SM
125272013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12528
12529 * simple.el: Move all the prog-mode code to prog-mode.el.
12530 * progmodes/prog-mode.el: New file.
12531 * loadup.el: Add prog-mode.el.
12532
8fc57765
TZ
125332013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12534
12535 * simple.el (prog-prettify-symbols): Add version.
12536 (prog-prettify-install): Add convenience function to prettify symbols.
12537
12538 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12539 (perl--augmented-font-lock-keywords-1)
12540 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12541 variables and use it.
12542
12543 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12544 (cfengine3-mode): Remove unneeded variable and use it.
12545
12546 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12547 (lisp--augmented-font-lock-keywords-1)
12548 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12549 Remove unneeded variables and use it.
12550
650645d5 125512013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
12552
12553 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 12554 to point when opening the connection. (Bug#14380)
28f5da6d 12555
781b4af6
SM
125562013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * subr.el (load-history-regexp, load-history-filename-element)
12559 (eval-after-load, after-load-functions, do-after-load-evaluation)
12560 (eval-next-after-load, display-delayed-warnings)
12561 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12562 definition of save-match-data.
12563 (overriding-local-map): Remove accidental obsolescence declaration.
12564
12565 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12566
3ca0d0b4
TZ
125672013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12568
12569 Generalize symbol prettify support to prog-mode and implement it
12570 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12571 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12572 (prog--prettify-font-lock-compose-symbol)
12573 (prog-prettify-font-lock-symbols-keywords): New variables and
12574 functions to support symbol prettification.
12575 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12576 (lisp--augmented-font-lock-keywords-1)
12577 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12578 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12579 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
12580 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12581 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
12582 * progmodes/perl-mode.el (perl-prettify-symbols)
12583 (perl--font-lock-compose-symbol)
12584 (perl--font-lock-symbols-keywords): Move to prog-mode.
12585 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12586 (perl-font-lock-keywords-1)
12587 (perl-font-lock-keywords-2): Remove explicit prettify support.
12588 (perl--augmented-font-lock-keywords)
12589 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
12590 (perl--augmented-font-lock-keywords-2, perl-mode):
12591 Implement prettify support.
3ca0d0b4 12592
976cb066
LL
125932013-06-05 Leo Liu <sdl.web@gmail.com>
12594
27821a89 12595 Re-implement SMIE matching block highlight using
976cb066
LL
12596 show-paren-data-function. (Bug#14395)
12597 * emacs-lisp/smie.el (smie-matching-block-highlight)
12598 (smie--highlight-matching-block-overlay)
12599 (smie--highlight-matching-block-lastpos)
12600 (smie-highlight-matching-block)
12601 (smie-highlight-matching-block-mode): Remove.
12602 (smie--matching-block-data-cache): New variable.
12603 (smie--matching-block-data): New function.
12604 (smie-setup): Use smie--matching-block-data for
12605 show-paren-data-function.
12606
12607 * progmodes/octave.el (octave-mode-menu): Fix.
12608 (octave-find-definition): Skip garbage lines.
12609
208d0342
SM
126102013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12611
12612 Fix compilation error with simultaneous dynamic+lexical scoping.
12613 Add warning when a defvar appears after the first let-binding.
12614 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12615 (byte-compile-close-variables): Initialize it.
12616 (byte-compile--declare-var): New function.
12617 (byte-compile-file-form-defvar)
12618 (byte-compile-file-form-define-abbrev-table)
12619 (byte-compile-file-form-custom-declare-variable): Use it.
12620 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12621 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12622 (byte-compile-bind): Handle dynamic bindings that shadow
12623 lexical bindings.
12624 (byte-compile-unbind): Make arg non-optional.
12625 (byte-compile-let): Simplify.
12626 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12627 (cconv--analyse-function, cconv-analyse-form): Populate it.
12628 Protect byte-compile-bound-variables to limit the scope of defvars.
12629 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12630 Remove unneeded rule for `declare'.
12631
12632 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12633 so as to avoid depending on cl-adjoin at run-time.
12634 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12635
12636 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12637 (macroexp--warn-and-return): Use it.
12638
1ac2891e
GM
126392013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12640
a12bf61e 12641 * subr.el: Convert to lexical binding.
1ac2891e
GM
12642 (overriding-local-map): Make obsolete.
12643 (add-to-list): Doc fix. Add compiler macro.
12644 (read-key): Swap values of local maps.
12645
2587b005
LL
126462013-06-05 Leo Liu <sdl.web@gmail.com>
12647
12648 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12649
f1da3c88
LL
126502013-06-04 Leo Liu <sdl.web@gmail.com>
12651
12652 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12653 (compilation-auto-jump): Suppress the "Mark set" message to give
12654 way to exit message.
12655
3caa391f
AM
126562013-06-04 Alan Mackenzie <acm@muc.de>
12657
12658 Remove faulty optimisation from indentation calculation.
12659 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12660 search limit based on 2000 characters back from indent-point.
12661
068922a2
TH
126622013-06-03 Tassilo Horn <tsdh@gnu.org>
12663
12664 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12665
1f8fdd53
SM
126662013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12667
bbcc4d97
SM
12668 * emacs-lisp/lisp.el: Use lexical-binding.
12669 (lisp--local-variables-1, lisp--local-variables): New functions.
12670 (lisp--local-variables-completion-table): New var.
208d0342 12671 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 12672
1f8fdd53
SM
12673 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12674 eagerly (bug#14422).
12675
c9628c79
MA
126762013-06-03 Michael Albinus <michael.albinus@gmx.de>
12677
12678 * autorevert.el (auto-revert-notify-enabled)
12679 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12680 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12681 (auto-revert-notify-handler): Handle also gfilenotify.
12682
e7b41c4c 12683 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 12684 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 12685 Remove.
c9628c79 12686
e5e4a942
JL
126872013-06-03 Juri Linkov <juri@jurta.org>
12688
12689 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12690 `M-s h .'. (Bug#14427)
12691
12692 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12693 command `hi-lock-face-symbol-at-point'.
12694 (hi-lock-face-symbol-at-point): New command.
12695 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12696 (hi-lock-menu): Add `highlight-symbol-at-point'.
12697 (hi-lock-mode): Doc fix.
12698
12699 * isearch.el (isearch-forward-symbol-at-point): New command.
12700 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12701 (isearch-highlight-regexp): Add a regexp which matches
12702 words/symbols for word/symbol mode.
12703
12704 * subr.el (find-tag-default-bounds): New function with the body
12705 mostly moved from `find-tag-default'.
12706 (find-tag-default): Move most code to `find-tag-default-bounds',
12707 call it and apply `buffer-substring-no-properties' afterwards.
12708
26b3353a
TH
127092013-06-03 Tassilo Horn <tsdh@gnu.org>
12710
781b4af6
SM
12711 * eshell/em-term.el (eshell-term-initialize):
12712 Use `cl-intersection' rather than `intersection'.
26b3353a 12713
51b60f53
XF
127142013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12715
fe054b63 12716 * vc/log-view.el: Doc fix.
d3ffe17c 12717 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 12718
a0eb10b3 127192013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
12720
12721 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12722 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12723 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12724 (eieio-unbound, eieio-default-superclass)
12725 (eieio--define-field-accessors, method-static, method-before)
12726 (method-primary, method-after, method-num-lists)
12727 (method-generic-before, method-generic-primary)
12728 (method-generic-after, method-num-slots)
12729 (eieio-specialized-key-to-generic-key)
12730 (eieio--check-type, class-v, class-p)
12731 (eieio-class-name, define-obsolete-function-alias)
12732 (eieio-class-parents-fast, eieio-class-children-fast)
12733 (same-class-fast-p, class-constructor, generic-p)
12734 (generic-primary-only-p, generic-primary-only-one-p)
12735 (class-option-assoc, class-option, eieio-object-p)
12736 (class-abstract-p, class-method-invocation-order)
12737 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12738 (eieio-class-un-autoload, eieio-defclass)
12739 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12740 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12741 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12742 (eieio-defgeneric-reset-generic-form)
12743 (eieio-defgeneric-form-primary-only)
12744 (eieio-defgeneric-reset-generic-form-primary-only)
12745 (eieio-defgeneric-form-primary-only-one)
12746 (eieio-defgeneric-reset-generic-form-primary-only-one)
12747 (eieio-unbind-method-implementations)
12748 (eieio--defmethod, eieio--typep)
12749 (eieio-perform-slot-validation, eieio-validate-slot-value)
12750 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12751 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12752 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12753 (eieio-slot-name-index, eieio-class-slot-name-index)
12754 (eieio-set-defaults, eieio-initarg-to-attribute)
12755 (eieio-attribute-to-initarg, eieio-c3-candidate)
12756 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12757 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12758 (eieio-class-precedence-list, eieio-generic-call-methodname)
12759 (eieio-generic-call-arglst, eieio-generic-call-key)
12760 (eieio-generic-call-next-method-list)
12761 (eieio-pre-method-execution-functions, eieio-generic-call)
12762 (eieio-generic-call-primary-only, eieiomt-method-list)
12763 (eieiomt-optimizing-obarray, eieiomt-install)
12764 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12765 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 12766 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
12767 (defclass): Remove `eval-and-compile' from macro.
12768 (call-next-method, shared-initialize): Instead of using
12769 `scoped-class' variable, use new eieio--scoped-class, and
12770 eieio--with-scoped-class.
12771 (initialize-instance): Rename local variable 'scoped-class' to
12772 'this-class' to remove ambiguitity from old global.
12773
12774 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12775 eieio.el.
4f405069
JB
12776 (eieio--scoped-class-stack): New variable.
12777 (eieio--scoped-class): New fcn.
890f7890
DE
12778 (eieio--with-scoped-class): New scoping macro.
12779 (eieio-defclass): Use pushnew instead of add-to-list.
12780 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12781 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12782 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12783 `scoped-class' variable, use new eieio--scoped-class, and
12784 eieio--with-scoped-class.
12785
12786 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12787
d105b0e2
TH
127882013-06-02 Tassilo Horn <tsdh@gnu.org>
12789
12790 * eshell/esh-ext.el (eshell-external-command): Pass args to
12791 `eshell-find-interpreter'.
12792 (eshell-find-interpreter): Add new second parameter ARGS.
12793
12794 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 12795 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12796
12797 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 12798 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12799
12800 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12801 (eshell-visual-options): New defcustom.
12802 (eshell-escape-control-x): Adapt docstring.
12803 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12804 `eshell-visual-options' in addition to `eshell-visual-commands'.
12805 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12806
f46305c8 128072013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
12808
12809 * progmodes/python.el (python-indent-block-enders): Add break,
12810 continue and raise keywords.
12811
d870df21
GM
128122013-06-01 Glenn Morris <rgm@gnu.org>
12813
9133b82e
GM
12814 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12815
02c992ec 12816 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
12817 * progmodes/cc-cmds.el (delete-forward-p):
12818 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12819 * progmodes/cc-engine.el (buffer-syntactic-context):
12820 * progmodes/cc-fonts.el (face-property-instance):
12821 * progmodes/cc-mode.el (set-keymap-parents):
12822 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12823 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12824 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
12825 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12826 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 12827
31e7b090
GM
12828 * progmodes/cc-vars.el (other): Emacs has this widget since
12829 at least 21.1, so don't (re)define it.
12830
d870df21
GM
12831 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12832 Replace the obsolete alias pcomplete-arg-quote-list.
12833
c75c93c7
LL
128342013-06-01 Leo Liu <sdl.web@gmail.com>
12835
12836 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12837 punctuation syntax.
12838 (inferior-octave-minimal-columns)
12839 (inferior-octave-last-column-width): New variables.
12840 (inferior-octave-track-window-width-change): New function.
12841 (inferior-octave-mode): Adjust column width so that Octave output,
12842 for example from 'ls', can fit into the window nicely.
12843
973d1e12
DG
128442013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12845
12846 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12847 Highlight expansions inside regexp literals.
12848
0888c286
GM
128492013-05-31 Glenn Morris <rgm@gnu.org>
12850
e26aac1f
GM
12851 * obsolete/sym-comp.el (symbol-complete):
12852 Replace obsolete completion-annotate-function.
12853
0888c286
GM
12854 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12855
19bb8e62
DG
128562013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12857
781b4af6
SM
12858 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12859 New function, checks if point is inside a literal that allows
19bb8e62
DG
12860 expression expansion.
12861 (ruby-syntax-propertize-expansion): Use it.
12862 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12863 around the body.
12864
01dea85f
JL
128652013-05-30 Juri Linkov <juri@jurta.org>
12866
12867 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12868 to "\M-si".
12869 (isearch-invisible): New variable.
12870 (isearch-forward): Doc fix.
12871 (isearch-mode): Set `isearch-invisible'
12872 to the value of `search-invisible'.
12873 (isearch-toggle-case-fold): Doc fix.
12874 (isearch-toggle-invisible): New command.
12875 (isearch-query-replace): Let-bind `search-invisible'
12876 to the value of `isearch-invisible'.
12877 (isearch-search): Use `isearch-invisible' instead of
12878 `search-invisible'. Let-bind `search-invisible'
12879 to the value of `isearch-invisible'. (Bug#11378)
12880
ab1bdce5
JL
128812013-05-30 Juri Linkov <juri@jurta.org>
12882
12883 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12884 call when `query-flag' is nil and `search-invisible' is non-nil.
12885 (Bug#11746)
12886
d6d236e2
GM
128872013-05-30 Glenn Morris <rgm@gnu.org>
12888
8accd027
GM
12889 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12890
2a8bed1c
GM
12891 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12892 (cc-require): Suppress spurious "noruntime" warnings.
12893 (cc-require-when-compile): Use fboundp, for sake of compiler.
12894
d6d236e2
GM
12895 * progmodes/cc-mode.el: Move load of cc-vars before that of
12896 cc-langs (which in turn loads cc-vars), to quieten compiler.
12897
9190b35b
SM
128982013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 * paren.el: Simplify the code.
12901 (show-paren-mode): Always start the timer.
12902 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12903 (show-paren--overlay, show-paren--overlay-1): Rename from
12904 show-paren-overlay and show-paren-overlay-1, and initialize to an
12905 overlay rather than to nil.
12906 (show-paren-function): Misc cleanup and simplifications.
12907
4f8d1cf6
SM
129082013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * paren.el (show-paren-data-function): New hook.
12911 (show-paren--default): New function, extracted from show-paren-function.
12912 (show-paren-function): Use show-paren-data-function.
12913
02d844b5
GM
129142013-05-30 Glenn Morris <rgm@gnu.org>
12915
d209d4a9
GM
12916 * ielm.el (ielm-map, ielm-complete-symbol):
12917 Use completion-at-point rather than obsolete functions.
12918 (inferior-emacs-lisp-mode): Doc fix.
12919 Set completion-at-point-functions, rather than
12920 comint-dynamic-complete-functions.
12921
2082faa6
GM
12922 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12923 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12924 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12925
dd8620de
GM
12926 * image.el (image-animated-p): Tweak definition.
12927
ceca95b1
GM
12928 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12929 (rlogin-process-connection-type): Tweak default. Add set-after.
12930 (rlogin-host): Doc fix.
12931 (rlogin): Tweak prompt.
12932 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12933
ee9f1acc
GM
12934 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12935 * progmodes/tcl.el (inferior-tcl-mode-map):
12936 Use completion-at-point rather than obsolete alias.
12937
45ce222e
GM
12938 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12939
02d844b5
GM
12940 * minibuffer.el (read-file-name-completion-ignore-case):
12941 Move before completion--in-region, for eager macro expansion.
12942
ac44d6c1
JL
129432013-05-29 Juri Linkov <juri@jurta.org>
12944
12945 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12946 for total count of matching lines. Add `global-matches' for total
12947 count of matches. Rename `matches' to `lines' for count of
12948 matching lines. Add `matches' for count of matches.
12949 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12950 to `prev-line' for line number of prev match endpt.
12951 Increment `matches' for every match. Print the number of
12952 matching lines in the header.
12953 (occur-context-lines): Rename `lines' to `curr-line'.
12954 Rename `prev-lines' to `prev-line'. (Bug#14017)
12955
3c9c9d38
JL
129562013-05-29 Juri Linkov <juri@jurta.org>
12957
12958 * replace.el (perform-replace): Add `skip-read-only-count',
12959 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12960 Increment them for corresponding conditions and report the number
12961 of skipped occurrences in the final message. (Bug#11746)
12962 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12963 (replace-string, replace-regexp): Doc fix.
12964
33e249a2
SM
129652013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12966
8e399682
SM
12967 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12968
33e249a2 12969 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 12970 prog-mode-map (bug#14504).
33e249a2 12971
f236dd84
LL
129722013-05-29 Leo Liu <sdl.web@gmail.com>
12973
12974 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12975 (octave-help): Small simplification.
12976
12977 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12978 off the highlight first.
12979
3694d13f
GM
129802013-05-29 Glenn Morris <rgm@gnu.org>
12981
03983bdc
GM
12982 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12983 Handle idlwave-last-system-routine-info-cons-cell being nil.
12984
bc74a74a
GM
12985 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12986 (idlwave-write-paths): Simplify via with-temp-buffer.
12987
8b394200
GM
12988 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12989 * emulation/cua-rect.el: Also load cua-base at run time.
12990
3694d13f
GM
12991 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12992 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12993 (cperl-imenu-on-info): Require imenu.
12994
336d7284
AM
129952013-05-28 Alan Mackenzie <acm@muc.de>
12996
12997 Handle "capitalised keywords" correctly.
33e249a2 12998 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 12999
cb29c582
AG
130002013-05-28 Aidan Gauland <aidalgol@amuri.net>
13001
781b4af6 13002 * eshell/em-unix.el: Add -r option to cp.
cb29c582 13003
690e44b2
GM
130042013-05-28 Glenn Morris <rgm@gnu.org>
13005
e658d75c
GM
13006 * vc/vc-arch.el (vc-exec-after): Declare.
13007 (vc-switches): Autoload.
13008 * vc/vc-bzr.el: No need to require vc when compiling.
13009 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13010 (vc-resynch-buffer, vc-dir-refresh): Declare.
13011 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
13012 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13013 (vc-resynch-buffer): Declare.
13014 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 13015 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
13016 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13017 (grep-read-regexp, grep-read-files, grep-expand-template)
13018 (vc-dir-refresh): Declare.
13019 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13020 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13021 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
13022 * vc/vc-mtn.el (vc-exec-after): Declare.
13023 (vc-switches): Autoload.
13024 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13025 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13026 (vc-file-tree-walk): Declare.
712b9732
GM
13027 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13028 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13029 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
13030 * vc/vc-svn.el (vc-exec-after): Declare.
13031 (vc-switches, vc-setup-buffer): Autoload.
13032 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13033 Autoload.
13034 (vc-resynch-buffer): Declare.
13035
98e87fb3
GM
13036 * obsolete/fast-lock.el (byte-compile-warnings):
13037 Don't warn about obsolete features in this obsolete file.
13038
f5379553
GM
13039 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13040 Move definition before use.
13041
7a20ef83
GM
13042 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13043 (dun-unix-verbs): Remove dun-zippy.
13044 (dun-zippy): Remove function.
13045
690e44b2
GM
13046 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13047
3a52ccf7
JL
130482013-05-27 Juri Linkov <juri@jurta.org>
13049
13050 * replace.el (replace-search): New function with code moved out
13051 from `perform-replace'.
13052 (replace-highlight, replace-dehighlight): Move function definitions
13053 up closer to `replace-search'. (Bug#11746)
13054
d289938a
JL
130552013-05-27 Juri Linkov <juri@jurta.org>
13056
13057 * replace.el (perform-replace): Ignore invisible matches.
13058 In addition to checking `query-replace-skip-read-only', also
13059 filter out matches by calling `run-hook-with-args-until-failure'
13060 on `isearch-filter-predicates', and also check `search-invisible'
13061 for t or call `isearch-range-invisible'.
13062 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13063
66fc57e3
JL
130642013-05-27 Juri Linkov <juri@jurta.org>
13065
13066 * isearch.el (isearch-filter-predicates): Rename from
13067 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13068 (isearch-message-prefix): Display text from the property
13069 `isearch-message-prefix' of the currently active filters.
13070 (isearch-search): Don't compare `isearch-filter-predicate' with
13071 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13072 on `isearch-filter-predicates'. Also check `search-invisible' for t
13073 or call `isearch-range-invisible'.
13074 (isearch-filter-visible): Make obsolete.
13075 (isearch-lazy-highlight-search):
13076 Call `run-hook-with-args-until-failure' on
13077 `isearch-filter-predicates' and use `isearch-range-invisible'.
13078
13079 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13080 `isearch-filter-predicates' instead of `funcall'ing
13081 `isearch-filter-predicate'.
13082 (Info-mode): Set `Info-isearch-filter' to
13083 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13084
13085 * dired-aux.el (dired-isearch-filter-predicate-orig):
13086 Remove variable.
13087 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13088 (dired-isearch-filenames-end): Add and remove
13089 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13090 instead of changing the value of `isearch-filter-predicate'.
13091 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13092 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13093 Put property `isearch-message-prefix' to "filename " on
13094 `dired-isearch-filter-filenames'.
13095
13096 * wdired.el (wdired-change-to-wdired-mode):
13097 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13098 locally instead of changing `isearch-filter-predicate'.
13099 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13100
f1a60a0f
DG
131012013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13102
13103 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13104 return the commit hash (Bug#14459). Also set the
13105 `vc-git-detached' property.
13106 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13107 (vc-git-mode-line-string): Use the same help-echo format whether
13108 in detached mode or not, because we know the actual revision now.
13109 When in detached mode, shorten the revision to 7 chars.
13110
7f17cc40
SM
131112013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * emacs-lisp/easy-mmode.el (define-minor-mode):
13114 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13115 mode hook and provide a docstring.
13116
25c8401c
AM
131172013-05-27 Alan Mackenzie <acm@muc.de>
13118
13119 Remove spurious syntax-table text properties inserted by C-y.
13120 * progmodes/cc-mode.el (c-after-change): Also clear hard
13121 syntax-table property with value nil.
13122
dde84790
MA
131232013-05-27 Michael Albinus <michael.albinus@gmx.de>
13124
13125 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13126 when reading the events; the buffer layout shall not be changed.
13127
837fd9af
LL
131282013-05-27 Leo Liu <sdl.web@gmail.com>
13129
13130 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13131 New variable.
13132 (inferior-octave-directory-tracker): Automatically re-sync
13133 default-directory.
13134 (octave-help): Improve handling of 'See also'.
13135
4fd996b3
SM
131362013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13137
416f1802
SM
13138 * doc-view.el: Minor naming convention tweaks.
13139 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13140
4fd996b3
SM
13141 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13142 even if there's no `display' property yet (bug#14435).
13143
a052ef3b
EZ
131442013-05-25 Eli Zaretskii <eliz@gnu.org>
13145
4fd996b3 13146 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
13147
13148 * Makefile.in (custom-deps, finder-data, autoloads)
13149 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13150 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13151 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13152
c9023370
SM
131532013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13154
13155 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13156 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 13157 Don't burp at EOB.
c9023370 13158
24d699fa
LL
131592013-05-25 Leo Liu <sdl.web@gmail.com>
13160
13161 * comint.el (comint-previous-matching-input): Do not flood the
13162 *Messages* buffer with trivial messages.
13163
17e5c0cc
SM
131642013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13165
13166 * progmodes/flymake.el (flymake-nop): Don't return a string.
13167 (flymake-set-at): Fix typo.
13168
13169 * simple.el (read--expression): New function, extracted from
13170 eval-expression. Set completion-at-point-functions (bug#14465).
13171 (eval-expression, eval-minibuffer): Use it.
13172
5d028165
XF
131732013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13174
13175 * progmodes/flymake.el (flymake-save-buffer-in-file)
13176 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13177 (flymake-selected-frame, flymake-log, flymake-ins-after)
13178 (flymake-set-at, flymake-get-buildfile-from-cache)
13179 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13180 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13181 Refine the doc string.
13182 (flymake-get-file-name-mode-and-masks): Reformat.
13183 (flymake-get-real-file-name-function): Fix a minor bug.
13184
7a1d7ba7
JL
131852013-05-24 Juri Linkov <juri@jurta.org>
13186
13187 * progmodes/grep.el (grep-mode-font-lock-keywords):
13188 Support =linenumber= format used by git-grep for lines with
13189 function names. (Bug#13549)
13190
650cff3d
SM
131912013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13192
13193 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13194 0 after a semi-colon; it works better for smie-auto-fill.
13195 (octave--indent-new-comment-line): New function.
13196 (octave-indent-new-comment-line): Use it (indirectly).
13197 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13198 modify comment-line-break-function.
13199
13200 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13201 (smie-setup): Use add-function to set it.
13202
9631677d
SS
132032013-05-24 Sam Steingold <sds@gnu.org>
13204
13205 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13206 argument (before the `interactive' argument).
13207
50105835
SM
132082013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13209
13210 * image-mode.el (image-mode-winprops): Add winprops to
13211 image-mode-winprops-alist before running
13212 image-mode-new-window-functions.
13213 * doc-view.el (doc-view-new-window-function): Don't delay
13214 doc-view-goto-page via timers (bug#14435).
13215
57b9823e
TH
132162013-05-24 Tassilo Horn <tsdh@gnu.org>
13217
13218 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13219 (doc-view-desktop-save-buffer): New function.
13220 (doc-view-restore-desktop-buffer): New function.
50105835
SM
13221 (desktop-buffer-mode-handlers):
13222 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
13223 handler.
13224 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13225 `desktop-save-buffer' function.
13226
91aafa16
MA
132272013-05-24 Michael Albinus <michael.albinus@gmx.de>
13228
13229 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13230 (tramp-gvfs-file-name-handler): Raise a user error when
13231 `tramp-gvfs-enabled' is nil.
13232 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13233 Do not raise a user error when loading package. (Bug#14447)
13234
ec076379
MA
13235 * net/xesam.el: Move to obsolete/.
13236
db785726
GM
132372013-05-24 Glenn Morris <rgm@gnu.org>
13238
af5c7606
GM
13239 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13240
e5d1916a
GM
13241 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13242
ded62b08
GM
13243 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13244 (Info-find-node, Man-getpage-in-background): Declare.
13245
9e614a3f
GM
13246 * mail/unrmail.el (unrmail):
13247 Replace obsolete detect-coding-with-priority.
13248
892f8ca3
GM
13249 * net/socks.el (socks-split-string): Use this rather than split-string.
13250 (socks-nslookup-host): Update for above change.
13251 (dynamic-choice, s5-dynamic-choice-match)
13252 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13253 Comment out unused code.
13254
3c291973
GM
13255 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13256 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13257 (gud-tooltip-echo-area): Make obsolete.
13258 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13259
43cc956b
GM
13260 * progmodes/js.el (js--optimize-arglist): Declare.
13261
dab49a3b
GM
13262 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13263
36b9d085
GM
13264 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13265 (ediff-window-C): Declare.
13266
e354ae76
GM
13267 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13268 Tweak requires to silence compiler.
13269
b8e57bf4
GM
13270 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13271 (he-search-string, he-tried-table, he-expand-list)
13272 (he-init-string, he-string-member, he-substitute-string)
13273 (he-reset-string): Declare.
13274
db785726
GM
13275 * obsolete/options.el (list-options): Use custom-variable-p,
13276 rather than obsolete alias.
13277
b3531901
SS
132782013-05-23 Sam Steingold <sds@gnu.org>
13279
13280 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 13281 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
13282 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13283
bdda4c66
SM
132842013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13285
13286 * emacs-lisp/smie.el (smie-indent-forward-token)
13287 (smie-indent-backward-token): Handle string tokens (bug#14381).
13288
c43d45f9
TH
132892013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13290
fe1eb856
RS
13291 * ielm.el (ielm-menu): New menu.
13292 (inferior-emacs-lisp-mode): Set comment-start.
96172128 13293
fe1eb856
RS
132942013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13295
a12bf61e 13296 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
13297 Fix deactivate action.
13298
a12bf61e 13299 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 13300 Add cleveref macros.
074dd971 13301
9b017563
JB
13302 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13303 Accept options for bibliography commands.
a12bf61e 13304 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
13305 Add addbibresource. Basic Biblatex support.
13306
7764286e
MA
133072013-05-23 Michael Albinus <michael.albinus@gmx.de>
13308
13309 * net/tramp-gvfs.el (top):
13310 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13311 when loading package. (Bug#14447)
13312
d361bc10
GM
133132013-05-23 Glenn Morris <rgm@gnu.org>
13314
8fa23984
GM
13315 * progmodes/js.el: No need to load comint when compiling.
13316 (ring-insert, comint-send-string, comint-send-input)
13317 (comint-last-input-end, ido-chop): Declare.
13318
a5c7df1a
GM
13319 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13320 * vc/ediff-mult.el: Adjust requires.
13321 (ediff-directories-internal, ediff-directory-revisions-internal)
13322 (ediff-patch-file-internal): Declare.
13323 * vc/ediff-ptch.el: Adjust requires.
13324 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13325 (ediff-find-file): Autoload.
13326 * vc/ediff-util.el: No need to load ediff when compiling.
13327 (ediff-regions-internal): Declare.
13328 * vc/ediff-wind.el: Adjust requires.
13329 (ediff-compute-toolbar-width): Define when compiling.
13330 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13331 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13332 (dired-get-filename, dired-get-marked-files)
13333 (ediff-last-dir-patch, ediff-patch-default-directory)
13334 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13335 (ediff-patch-buffer-internal): Declare.
13336
e2aec513
GM
13337 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13338 (ispell-process, ispell-buffer-local-words, lm-summary)
13339 (lm-section-start, lm-section-end): Declare.
13340 (checkdoc-ispell-init): Simplify.
13341
e68bbd7c
GM
13342 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13343 (he-string-member, he-reset-string, he-substitute-string): Declare.
13344
7efe0991
GM
13345 * eshell/em-ls.el: Adjust requires.
13346 (eshell-glob-regexp): Declare.
f87b1284
GM
13347 * eshell/em-tramp.el: Adjust requires.
13348 (eshell-parse-command): Autoload.
13349 * eshell/em-xtra.el: Adjust requires.
13350 (eshell-parse-command): Autoload.
13351 * eshell/esh-ext.el: Adjust requires.
13352 (eshell-parse-command, eshell-close-handles): Autoload.
13353 * eshell/esh-io.el: Adjust requires.
13354 (eshell-output-filter): Autoload.
13355 * eshell/esh-util.el: No need to load tramp when compiling.
13356 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13357 Declare.
13358 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13359 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13360 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13361 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13362 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13363 * eshell/esh-opt.el, eshell/esh-proc.el:
13364 * eshell/esh-var.el: Adjust requires.
13365 * eshell/eshell.el: Do not require esh-util twice.
13366 (eshell-add-input-to-history): Declare.
13367 (eshell-command): Check history module is active before using it.
13368
d361bc10
GM
13369 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13370
85d090a9
LL
133712013-05-22 Leo Liu <sdl.web@gmail.com>
13372
13373 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13374
5d0acd9d
MA
133752013-05-22 Michael Albinus <michael.albinus@gmx.de>
13376
13377 * autorevert.el (auto-revert-notify-add-watch)
13378 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13379 it indicates changes in file modification time.
13380
0cdffd7d
GM
133812013-05-22 Glenn Morris <rgm@gnu.org>
13382
ca5995ec
GM
13383 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13384 Always delete the autoloaded function from the noruntime and
13385 unresolved functions lists.
13386
6450907e
GM
13387 * allout.el: No need to load epa, epg, overlay when compiling.
13388 (epg-context-set-passphrase-callback, epg-list-keys)
13389 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13390 (epg-key-user-id-list): Declare.
13391
9c6906f6
GM
13392 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13393 (viper-set-parsing-style-toggling-macro)
13394 (viper-set-emacs-state-searchstyle-macros):
13395 Use called-interactively-p on Emacs.
13396 (viper-looking-back): Make it an obsolete alias. Update callers.
13397 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13398 Use looking-back rather than viper-looking-back.
13399 (viper-tmp-insert-at-eob, viper-enlarge-region)
13400 (viper-read-string-with-history, viper-register-to-point)
13401 (viper-append-to-register, viper-change-state-to-vi)
13402 (viper-backward-char-carefully, viper-forward-char-carefully)
13403 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13404 (viper-change-state-to-emacs): Declare.
13405 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13406 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13407 * emulation/viper-mous.el: Do not load viper-cmd.
13408 (viper-backward-char-carefully, viper-forward-char-carefully)
13409 (viper-forward-word, viper-adjust-window): Declare.
13410
5f70c169
GM
13411 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13412
b1b7f300
GM
13413 * progmodes/idlw-help.el (idlwave-help-fontify):
13414 Use called-interactively-p.
13415
f6ebbb46
GM
13416 * term/w32console.el (w32-get-console-codepage)
13417 (w32-get-console-output-codepage): Declare.
13418
0cdffd7d
GM
13419 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13420 Remove unnecessary declarations.
13421 (dframe-message): Doc fix.
13422
13423 * info.el (dframe-select-attached-frame, dframe-current-frame):
13424 Declare.
13425
13426 * speedbar.el (speedbar-message): Make it an obsolete alias.
13427 Update all callers.
13428 (speedbar-with-attached-buffer)
13429 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13430 (speedbar-with-writable): Use backquote.
13431 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13432 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13433 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13434 rather than speedbar- aliases.
13435 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13436 (speedbar-make-specialized-keymap, speedbar-insert-button)
13437 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13438 (speedbar-do-function-pointer): Declare.
13439 (rmail-speedbar-button, rmail-speedbar-find-file)
13440 (rmail-speedbar-move-message):
13441 Use dframe-with-attached-buffer rather than speedbar- alias.
13442 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13443 (dframe-message, speedbar-make-specialized-keymap)
13444 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13445 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13446 (speedbar-insert-button, dframe-select-attached-frame)
13447 (dframe-maybee-jump-to-attached-frame)
13448 (speedbar-change-initial-expansion-list)
13449 (speedbar-previously-used-expansion-list-name): Declare.
13450 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13451 Use dframe-message, dframe-with-attached-buffer rather than
13452 speedbar- aliases.
13453 (gud-sentinel): Silence compiler.
13454 * progmodes/vhdl-mode.el (speedbar-refresh)
13455 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13456 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13457 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13458 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13459 (speedbar-file-lists, speedbar-make-tag-line)
13460 (speedbar-line-directory, speedbar-goto-this-file)
13461 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13462 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13463 (speedbar-make-button, speedbar-reset-scanners)
13464 (speedbar-files-item-info, speedbar-line-text)
13465 (speedbar-find-file-in-frame, speedbar-set-timer)
13466 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13467 (speedbar-with-writable): Do not (re)define it.
13468 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13469 rather than speedbar- alias.
13470
ee44b62a
LL
134712013-05-21 Leo Liu <sdl.web@gmail.com>
13472
13473 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13474 menu items.
13475 (octave-mode): Tweak fill-nobreak-predicate.
13476 (inferior-octave-startup): Check process to avoid infinite loop.
13477 (inferior-octave): Pop to buffer first to show abornmal process
13478 exit information.
13479
640f050f
GM
134802013-05-21 Glenn Morris <rgm@gnu.org>
13481
79458038
GM
13482 * printing.el (pr-menu-bar): Define when compiling.
13483
9cc3e83f
LL
134842013-05-21 Leo Liu <sdl.web@gmail.com>
13485
13486 * progmodes/octave.el (octave-auto-fill): Remove.
13487 (octave-indent-new-comment-line): Improve.
13488 (octave-mode): Use auto fill mode through
4f405069 13489 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 13490 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 13491 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
13492 (octave-help): Show parent directory.
13493
f440830d
GM
134942013-05-21 Glenn Morris <rgm@gnu.org>
13495
13496 * files.el (dired-unmark):
13497 * progmodes/gud.el (gdb-input): Update declarations.
13498
13499 * calculator.el (electric, ehelp): No need to load when compiling.
13500 (Electric-command-loop, electric-describe-mode): Declare.
13501
13502 * doc-view.el (doc-view-current-converter-processes): Move before use.
13503
13504 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13505 Move MODE-set-explicitly definition before use.
13506
13507 * international/mule-diag.el (mule-diag):
13508 Don't use obsolete window-system-version.
13509
13510 * mail/feedmail.el (smtpmail): No need to load when compiling.
13511 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13512
13513 * mail/mail-utils.el (rfc822): No need to load when compiling.
13514 (rfc822-addresses): Autoload it.
13515 (mail-strip-quoted-names): Trivial simplification.
13516
13517 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13518 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13519
13520 * net/snmp-mode.el (tempo): Don't duplicate requires.
13521
13522 * progmodes/prolog.el (info): No need to load when compiling.
13523 (comint): Require before shell requires it.
13524 (Info-goto-node): Autoload it.
13525 (Info-follow-nearest-node): Declare.
13526 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13527
13528 * textmodes/artist.el (picture-mode-exit): Declare.
13529
13530 * textmodes/reftex-parse.el (reftex-parse-from-file):
13531 Trivial rewrite so the compiler can parse it better.
13532
b4da2cbb
LL
135332013-05-20 Leo Liu <sdl.web@gmail.com>
13534
13535 * progmodes/octave.el (octave-help-mode-map)
13536 (octave-help-mode-finish-hook): New variables.
13537 (octave-help-mode, octave-help-mode-finish): New functions.
13538 (octave-help): Use octave-help-mode.
13539
33c0f65b
GM
135402013-05-20 Glenn Morris <rgm@gnu.org>
13541
13542 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13543
1a0a0a8a
DG
135442013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13545
13546 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13547 start at point, so that expansion starting right after opening
13548 slash in a regexp is recognized.
13549 (ruby-syntax-before-regexp-re): New defvar, extracted from
13550 ruby-syntax-propertize-function. Since the value of this regexp
13551 is looked up at runtime now, we should be able to turn
13552 `ruby-syntax-methods-before-regexp' into a defcustom later.
13553 (ruby-syntax-propertize-function): Split regexp matching into two
13554 parts, for opening and closing slashes. That allows us to skip
13555 over string interpolations and support multiline regexps.
13556 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13557 for them, which calls `ruby-syntax-propertize-expansion'.
13558 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13559 call to `ruby-syntax-propertize-function'.
13560 (ruby-syntax-propertize-expansion): Extracted from
13561 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
13562 (ruby-syntax-propertize-percent-literal): Leave point right after
13563 the percent symbol, so that the expression expansion rule can
13564 propertize the contents.
462388b6
DG
13565 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13566 heredoc openers.
13567 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 13568
c1a6c0a4
JL
135692013-05-18 Juri Linkov <juri@jurta.org>
13570
13571 * man.el (Man-default-man-entry): Remove `-' from the end
13572 of the default value. (Bug#14400)
13573
8051fccd
GM
135742013-05-18 Glenn Morris <rgm@gnu.org>
13575
13576 * comint.el (comint-password-prompt-regexp):
13577 Allow "password for XXX" where XXX contains colons (eg https://...).
13578
5e80b74f
LL
135792013-05-18 Leo Liu <sdl.web@gmail.com>
13580
13581 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 13582 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
13583 (octave-source-directories): Don't check process.
13584 (octave-source-directories, octave-find-definition): Doc fix.
13585
521a54c5
GM
135862013-05-18 Glenn Morris <rgm@gnu.org>
13587
86a94b05
GM
13588 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13589 Remove backspace/delete bindings. (Bug#14392)
13590
521a54c5
GM
13591 * cus-dep.el (custom-make-dependencies): Sort the output.
13592 (custom-versions-load-alist): Convert comment to doc.
13593
42caeb89
LL
135942013-05-17 Leo Liu <sdl.web@gmail.com>
13595
13596 * newcomment.el (comment-search-backward): Stricter in finding
13597 comment start. (Bug#14303)
13598
13599 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13600 (octave-comment-start-skip): Properly anchored.
13601
e219dd97
LL
136022013-05-17 Leo Liu <sdl.web@gmail.com>
13603
fe1eb856
RS
13604 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13605 Clean up when turned off. (Bug#14395)
e219dd97
LL
13606 (smie--highlight-matching-block-overlay): No longer buffer-local.
13607 (smie-highlight-matching-block): Adjust.
13608
dc5dcb4b
PE
136092013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13610
13611 Doc string fix for "nanoseconds" (Bug#14406).
13612 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13613 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13614
1db165f0
JB
136152013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13616
13617 * calc/calc-units.el (math-extract-units): Preserve powers
13618 of units.
13619
c7a8fcac
LL
136202013-05-17 Leo Liu <sdl.web@gmail.com>
13621
13622 * subr.el (delete-consecutive-dups): New function.
13623 * ido.el (ido-set-matches-1): Use it.
13624 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13625 * ido.el (ido-remove-consecutive-dups): Remove.
13626
f678b18a
SM
136272013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13628
13629 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13630 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13631 regexp-opt's `words'.
13632
ebfe68e8
LL
136332013-05-16 Leo Liu <sdl.web@gmail.com>
13634
13635 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13636 (smie--highlight-matching-block-overlay)
13637 (smie--highlight-matching-block-lastpos)
13638 (smie--highlight-matching-block-timer): New variables.
13639 (smie-highlight-matching-block): New function.
13640 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13641 (smie-setup): Conditionally enable smie-blink-matching-open.
13642
bc8bc17d
WS
136432013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13644
13645 Sync with upstream verilog-mode r840.
13646 * progmodes/verilog-mode.el (verilog-mode-version)
13647 (verilog-mode-release-date): Update.
13648 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13649 (verilog-sig-tieoff): Fix string error on
13650 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13651 (verilog-read-decls): Fix parameters confusing
13652 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13653
df065a0b
EZ
136542013-05-16 Eli Zaretskii <eliz@gnu.org>
13655
13656 * subr.el (reveal-filename): New function.
13657
13658 * loadup.el: Compute Emacs executable versions on MS-Windows,
13659 where executables have the .exe extension. Add a hard link
13660 emacs-XX.YY.ZZ.exe on MS-Windows.
13661
13662 * Makefile.in (XARGS_LIMIT): New variable.
13663 (custom-deps, finder-data, autoloads)
13664 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13665 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13666 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13667 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13668
2d4bf34b
LL
136692013-05-16 Leo Liu <sdl.web@gmail.com>
13670
13671 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13672 (octave-mode-menu, octave-mode-map): Remove its uses.
13673
6b9c2d85
RZ
136742013-05-16 Reto Zimmermann <reto@gnu.org>
13675
13676 Sync with upstream vhdl mode v3.34.2.
13677 * progmodes/vhdl-mode.el: Use `push' throughout.
13678 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13679 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13680 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13681 (vhdl-actual-generic-name): New option to derive actual generic name.
13682 (vhdl-port-paste-signals): Replace formal by actual generics.
13683 (vhdl-beautify): New name for old group vhdl-align. Update users.
13684 (vhdl-beautify-options): New option.
13685 (vhdl-last-input-event): New compat alias. Use throughout.
13686 (vhdl-goto-line): Replace user level function `goto-line'.
13687 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13688 vhdl-fix-statement-buffer.
13689 (vhdl-create-mode-menu): Add some entries.
13690 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13691 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13692 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13693 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13694 to force statements on one line.
13695 (vhdl-remove-trailing-spaces-region):
13696 New, split from vhdl-remove-trailing-spaces.
13697 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13698 Respect vhdl-beautify-options.
13699 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13700 (vhdl-update-sensitivity-list): Not add with index if exists without.
13701 Not include array index with signal. Ignore keywords in comments.
13702 (vhdl-get-visible-signals): Regexp tweaks.
13703 (vhdl-template-component-inst): Handle empty library.
13704 (vhdl-template-type): Add template for 'enum' type.
13705 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13706 Use vhdl-replace-string.
13707 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13708 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13709 (vhdl-speedbar-initialize): Update for above name change.
13710 (vhdl-compose-wire-components): Fix in handling of constants.
13711 (vhdl-error-regexp-emacs-alist): New variable.
13712 (vhdl-error-regexp-add-emacs): New function;
13713 adds support for new compile.el (Emacs 22+)
13714 (vhdl-generate-makefile-1): Change target order for single lib. units.
13715 Allow use of absolute file names.
13716
9df4ec5e
LL
137172013-05-16 Leo Liu <sdl.web@gmail.com>
13718
13719 * simple.el (prog-indent-sexp): Indent enclosing defun.
13720
f5ba00a6
GM
137212013-05-15 Glenn Morris <rgm@gnu.org>
13722
ed8be7ff
GM
13723 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13724 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13725 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13726 (whitespace-highlight): Move to whitespace group.
13727
13728 * comint.el (comint-source):
13729 * pcmpl-linux.el (pcmpl-linux):
13730 * shell.el (shell-faces):
13731 * eshell/esh-opt.el (eshell-opt):
13732 * international/ccl.el (ccl): Remove empty custom groups.
13733
13734 * completion.el (dynamic-completion-mode):
13735 * jit-lock.el (jit-lock-debug-mode):
13736 * minibuffer.el (completion-in-region-mode):
13737 * type-break.el (type-break-mode-line-message-mode)
13738 (type-break-query-mode):
13739 * emulation/tpu-edt.el (tpu-edt-mode):
13740 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13741 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13742 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13743
13744 * term/xterm.el (xterm): Change parent group to terminals.
13745
13746 * master.el (master): Remove empty custom group.
13747 (master-mode): Remove unused :group argument.
13748 * textmodes/refill.el (refill): Remove empty custom group.
13749 (refill-mode): Remove unused :group argument.
13750
13751 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13752
82a7c41b
GM
13753 * cus-dep.el: Provide a feature.
13754 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
13755 Don't mistakenly ignore files whose basenames match a basename
13756 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 13757 Add a fallback method for getting :group.
f5ba00a6 13758
6d65486d
JL
137592013-05-15 Juri Linkov <juri@jurta.org>
13760
da547b32
JL
13761 * isearch.el (isearch-char-by-name): Rename from
13762 `isearch-insert-char-by-name'. Doc fix.
13763 (isearch-forward): Mention `isearch-char-by-name' in
13764 the docstring. (Bug#13348)
13765
6d65486d
JL
13766 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13767 `exit-minibuffer' instead of
13768 `isearch-nonincremental-exit-minibuffer'.
13769 (isearch-edit-string): Remove mention of
13770 `isearch-nonincremental-exit-minibuffer' from docstring.
13771 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13772 (isearch-forward-exit-minibuffer)
13773 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13774
c9990474
SM
137752013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13776
6e911150
SM
13777 * loadup.el: Just use unversioned DOC.
13778
c9990474
SM
13779 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13780 literals as extending to EOB.
13781 (nxml-last-fontify-end): Remove unused variable.
13782 (nxml-after-change1): Use with-silent-modifications.
13783 (nxml-extend-after-change-region): Simplify.
13784 (nxml-extend-after-change-region1): Remove function.
13785 (nxml-after-change1): Don't adjust for dependent regions.
13786 (nxml-fontify-matcher): Simplify.
13787 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13788 (xmltok-add-dependent): Remove function.
13789 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13790 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13791 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13792 unclosed <[[, <?, comment, and other literals as extending to EOB.
13793 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13794 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13795 Remove functions.
13796 (rng-do-some-validation-1): Don't mark dependent regions.
13797 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13798 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13799 (nxml-clear-dependent-regions): Remove functions.
13800 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13801 (nxml-ensure-scan-up-to-date):
13802 Don't clear&mark dependent regions.
13803
e3772e98
LL
138042013-05-15 Leo Liu <sdl.web@gmail.com>
13805
c9990474
SM
13806 * progmodes/octave.el (octave-goto-function-definition):
13807 Improve and fix callers.
e3772e98 13808
5ac2eb34
SM
138092013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13810
c46c57b0
SM
13811 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13812 the setter (bug#14387).
13813
5ac2eb34
SM
13814 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13815 surrounding group (bug#14402).
13816
180ed218
JL
138172013-05-14 Juri Linkov <juri@jurta.org>
13818
13819 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13820 (Bug#14390)
13821
0ac0fecb
GM
138222013-05-14 Glenn Morris <rgm@gnu.org>
13823
13824 * progmodes/f90.el (f90-imenu-generic-expression):
13825 Fix typo in 2013-05-08 change. (Bug#14402)
13826
2e78e6a7
JPG
138272013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13828
5ac2eb34
SM
13829 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13830 Remove signals for which replies are never received.
2e78e6a7 13831
53267cca
JPG
138322013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13833
13834 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13835 (gdb-handler-alist, gdb-handler-number): Remove variables.
13836 (gdb-handler-list): New variable.
13837 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13838 (gdb-pending-handler-p, gdb-handle-reply)
13839 (gdb-remove-all-pending-triggers): New functions.
13840 (gdb-discard-unordered-replies): New defcustom.
13841 (gdb-handler): New defstruct.
13842 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13843 instead of gdb-pending-triggers. Update docstring.
13844 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13845 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13846 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13847 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13848 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13849 (gdb-frame-handler): Pending triggers are now automatically managed.
13850 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13851 Remove argument.
13852 (gdb-input): Automatically handles pending triggers. Update docstring.
13853 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13854 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13855 Update comments.
13856 (gdb-done-or-error): Now use gdb-handle-reply.
13857
d04ce803
JPG
138582013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13859
13860 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13861 gdb-debug-log.
13862
0114073a
GM
138632013-05-14 Glenn Morris <rgm@gnu.org>
13864
13865 * subr.el (user-emacs-directory-warning): New option.
13866 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13867
4d25fd7e
LL
138682013-05-14 Leo Liu <sdl.web@gmail.com>
13869
13870 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13871 during redisplay.
13872 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
13873 (octave-font-lock-texinfo-comment): Fix invalid search bound
13874 error: wrong side of point.
4d25fd7e 13875
27c8b6eb
GM
138762013-05-14 Glenn Morris <rgm@gnu.org>
13877
61aaeb01
GM
13878 * progmodes/flymake.el (flymake-xml-program): New option.
13879 (flymake-xml-init): Use it.
13880
5bf90bc5
GM
13881 * term/xterm.el: Provide a feature.
13882
13883 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 13884
f4c7dfd2
GM
138852013-05-13 Glenn Morris <rgm@gnu.org>
13886
13887 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13888 Add compat aliases as a hack workaround. (Bug#14384)
13889
2aeb3a1d
LL
138902013-05-13 Leo Liu <sdl.web@gmail.com>
13891
b0e069c2
LL
13892 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13893 ###, and %!.
f5a9432f
LL
13894 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13895 C-M-q.
b0e069c2
LL
13896 (octave-comment-start-skip): Include %!.
13897 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 13898
30ea8374
LL
138992013-05-12 Leo Liu <sdl.web@gmail.com>
13900
13901 * progmodes/octave.el (inferior-octave-startup): Store the value
13902 of __octave_srcdir__ for octave-source-directories.
13903 (inferior-octave-check-process): New function refactored out of
13904 inferior-octave-send-list-and-digest.
13905 (octave-source-directories)
13906 (octave-find-definition-filename-function): New variables.
13907 (octave-source-directories)
13908 (octave-find-definition-default-filename): New functions.
13909 (octave-find-definition): Improve to find functions implemented in C++.
13910
472a3834
GM
139112013-05-12 Glenn Morris <rgm@gnu.org>
13912
13913 * calendar/diary-lib.el (diary-outlook-format-1):
13914 Don't include dayname in the output. (Bug#14349)
13915
3191b52f
GM
139162013-05-11 Glenn Morris <rgm@gnu.org>
13917
0060ac73
GM
13918 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13919
3191b52f
GM
13920 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13921 Treat cc-provide like provide.
13922
e065ba74
KR
139232013-05-11 Kevin Ryde <user42@zip.com.au>
13924
13925 * cus-dep.el (custom-make-dependencies):
13926 Use generated-autoload-load-name for the sake of files such
13927 such cedet/semantic/bovine/c.el, where the base file name
13928 is not in load-path. (Bug#5277)
13929
36f84c37
GM
139302013-05-11 Glenn Morris <rgm@gnu.org>
13931
13932 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13933 Provide features.
13934
c8730c3a
LL
139352013-05-11 Leo Liu <sdl.web@gmail.com>
13936
13937 * progmodes/octave.el (octave-indent-comment): Improve.
13938 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
13939 (octave-eldoc-function-signatures, octave-eldoc-function):
13940 New functions.
c8730c3a
LL
13941 (octave-mode, inferior-octave-mode): Add eldoc support.
13942
212e29f2
RS
139432013-05-11 Richard Stallman <rms@gnu.org>
13944
13945 * epa.el (epa-decrypt-file): Take output file name as argument
13946 and read it using `interactive'.
13947
083fe0d7
LL
139482013-05-11 Leo Liu <sdl.web@gmail.com>
13949
13950 * progmodes/octave.el (octave-beginning-of-line)
13951 (octave-end-of-line): Check before using up-list because it jumps
13952 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
13953 (octave-indent-comment): New function.
13954 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
13955 (octave-begin-keywords, octave-end-keywords)
13956 (octave-reserved-words, octave-smie-bnf-table)
13957 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 13958
8582e4c4
GM
139592013-05-11 Glenn Morris <rgm@gnu.org>
13960
f20def1f
GM
13961 * faces.el (internal-face-x-get-resource):
13962 * frame.el (ns-display-monitor-attributes-list):
d78abe37 13963 * calc/calc-aent.el (math-to-radians-2):
f20def1f 13964 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 13965 Fix declarations.
f20def1f 13966
445f95e2
GM
13967 * calc/calc-menu.el: Make it loadable in isolation.
13968
13969 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13970 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13971 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13972 (eudc-bbdb-query-internal): Require 'bbdb.
13973
99fb2756
GM
13974 * lpr.el (lpr-headers-switches):
13975 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13976
13977 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13978
0da7ad96
GM
13979 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13980
8582e4c4
GM
13981 * term.el (term-set-escape-char): Make it idempotent.
13982
f71c50d0
LL
139832013-05-10 Leo Liu <sdl.web@gmail.com>
13984
5ac2eb34
SM
13985 * progmodes/octave.el (inferior-octave-completion-table):
13986 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
13987 completion due to bug#11906.
13988 (octave-beginning-of-defun): Re-write to be more general.
13989
d5837773
GM
139902013-05-10 Glenn Morris <rgm@gnu.org>
13991
13992 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13993
027c0f75
SM
139942013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13995
13996 * comint.el (comint-redirect-send-command-to-process): Use :around
13997 rather than :override for comint-redirect-filter.
13998 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13999 Call it instead of comint-redirect-original-filter-function (which
14000 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14001
4465bfb4
JD
140022013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14003
14004 * frame.el (display-monitor-attributes-list): Add NS case.
14005 (ns-display-monitor-attributes-list): Declare.
14006
2d809ffa 140072013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
14008
14009 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14010
e54eeb9b
GM
140112013-05-09 Glenn Morris <rgm@gnu.org>
14012
56cd351d
GM
14013 * international/fontset.el (vertical-centering-font-regexp):
14014 Set standard-value.
14015
d84b6108
GM
14016 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14017
a931698a
GM
14018 * bookmark.el (bookmark-search-delay):
14019 * cus-start.el (vertical-centering-font-regexp):
14020 * ps-mule.el (ps-mule-font-info-database-default):
14021 * ps-print.el (ps-default-fg, ps-default-bg):
14022 * type-break.el (type-break-good-break-interval):
14023 * whitespace.el (whitespace-indentation-regexp)
14024 (whitespace-space-after-tab-regexp):
14025 * emacs-lisp/testcover.el (testcover-1value-functions)
14026 (testcover-noreturn-functions, testcover-progn-functions)
14027 (testcover-prog1-functions):
14028 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14029 * eshell/em-glob.el (eshell-glob-translate-alist):
14030 * play/tetris.el (tetris-tty-colors):
14031 * progmodes/cpp.el (cpp-face-default-list):
14032 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14033 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14034 (idlwave-help-browser-generic-args):
14035 * progmodes/make-mode.el (makefile-special-targets-list):
14036 * progmodes/python.el (python-shell-virtualenv-path):
14037 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14038 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14039 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14040 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14041 * textmodes/reftex-vars.el (reftex-format-label-function):
14042 * textmodes/remember.el (remember-diary-file): Fix custom types.
14043
e54eeb9b
GM
14044 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14045 Add :version.
14046
455851dd
LL
140472013-05-09 Leo Liu <sdl.web@gmail.com>
14048
14049 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 14050 Restore file completion. (Bug#14300)
455851dd
LL
14051 (inferior-octave-startup): Fix incorrect highlighting for the
14052 first prompt.
14053
a9e4425b
SM
140542013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14055
14056 * progmodes/ruby-mode.el: First cut at SMIE support.
14057 (ruby-use-smie): New var.
14058 (ruby-smie-grammar): New constant.
14059 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14060 (ruby-smie--forward-token, ruby-smie--backward-token)
14061 (ruby-smie-rules): New functions.
14062 (ruby-mode-variables): Setup SMIE if applicable.
14063
060ca408
EZ
140642013-05-08 Eli Zaretskii <eliz@gnu.org>
14065
14066 * simple.el (line-move-visual): Signal beginning/end of buffer
14067 only if vertical-motion moved less than it was requested. Avoids
14068 silly incorrect error messages when there are display strings with
14069 multiple newlines at EOL.
14070
1d5963cc
SM
140712013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14072
14073 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14074 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14075 (prolog-char-quote-workaround):
14076 * progmodes/cperl-mode.el (cperl-under-as-char):
14077 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
14078 Mark as obsolete.
14079 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
14080 their declaration.
14081 (vhdl-mode-syntax-table-init): Remove.
14082
c9990474
SM
14083 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14084 last change.
1d5963cc
SM
14085
14086 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14087 syntax for "_".
14088 (ld-script-font-lock-keywords):
14089 Change regexps to use things like \_< and \_>.
14090
14091 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14092 Change all regexps to use things like \_< and \_>.
14093
14094 * progmodes/autoconf.el (autoconf-definition-regexp)
14095 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14096 Handle a _ with symbol syntax.
14097 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14098
c9990474
SM
14099 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14100 Consolidate declaration.
1d5963cc
SM
14101 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14102 the declaration.
14103 (ada-create-syntax-table): Remove.
14104 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14105 already has the right syntax nowadays.
14106 (ada-goto-next-word): Don't change the syntax of "_".
14107
14108 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14109 with-wrapper-hook.
14110
72d3cfca
SS
141112013-05-08 Sam Steingold <sds@gnu.org>
14112
14113 * thingatpt.el (thing-at-point): Accept optional second argument
14114 NO-PROPERTIES to strip the text properties from the return value.
14115 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14116 to `thing-at-point' instead of stripping the properties ourselves.
14117 Also, when `thing-at-point' fails to find a url, prepend "http://"
14118 to the filename at point on the assumption that the user is
14119 pointing at something like gnu.org/gnu.
14120
5cb15713
JB
141212013-05-08 Juanma Barranquero <lekktu@gmail.com>
14122
14123 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14124 * faces.el (crm-separator):
14125 Silence byte-compiler.
14126
14127 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14128 (tool-bar-map): Remove unneeded defvars.
14129
ea78b95b
LL
141302013-05-08 Leo Liu <sdl.web@gmail.com>
14131
14132 Re-work a fix for bug#10994 based on Le Wang's patch.
14133 * ido.el (ido-remove-consecutive-dups): New helper.
14134 (ido-completing-read): Use it.
14135 (ido-chop): Revert fix for bug#10994.
14136
dc7466df
AS
141372013-05-08 Adam Spiers <emacs@adamspiers.org>
14138
14139 * cus-edit.el (custom-save-variables):
14140 Pretty-print long values. (Bug#14187)
14141
9ecf672a
GM
141422013-05-08 Glenn Morris <rgm@gnu.org>
14143
14144 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14145 (m4-mode-syntax-table): Init in the defvar.
14146 (m4-mode-abbrev-table): Let define-derived-mode define it.
14147
3f555be8
TT
141482013-05-08 Tom Tromey <tromey@redhat.com>
14149
14150 * progmodes/m4-mode.el (m4-mode-syntax-table):
14151 Do not treat "_" as word constituent. (Bug#14167)
14152
7cc8ae06
GM
141532013-05-07 Glenn Morris <rgm@gnu.org>
14154
4f58bc06
GM
14155 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14156 Remove explicit eshell-isearch-cancel-map.
14157
7cc8ae06
GM
14158 * progmodes/f90.el (f90-smart-end-names): New option.
14159 (f90-smart-end): Doc fix.
14160 (f90-end-block-optional-name): New constant.
14161 (f90-block-match): Respect f90-smart-end-names.
14162
ceb57e59
SM
141632013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14164
14165 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14166 about implicit semi-colons (bug#14218).
14167
4e3f9230
YM
141682013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14169
14170 * frame.el (display-monitor-attributes-list)
14171 (frame-monitor-attributes): New functions.
14172
203a5572
LL
141732013-05-06 Leo Liu <sdl.web@gmail.com>
14174
14175 * progmodes/octave.el (octave-syntax-propertize-function): Change
14176 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14177 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 14178 (octave-completion-at-point): Rename from
203a5572
LL
14179 octave-completion-at-point-function.
14180 (inferior-octave-directory-tracker): Robustify.
14181 (octave-text-functions): Remove and fix its uses. No such things
14182 any more.
14183
ee6cff99
SM
141842013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14185
14186 * emacs-lisp/trace.el (trace--display-buffer): New function.
14187 (trace-make-advice): Use it.
14188
32985194
JL
141892013-05-06 Juri Linkov <juri@jurta.org>
14190
14191 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14192 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14193 Doc fix.
14194 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14195 in the help string. (Bug#12985)
14196
a1c700de
KD
141972013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14198
14199 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14200
c67c0839
SM
142012013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14202
323885fd
SM
14203 * progmodes/perl-mode.el: Add support for here documents.
14204 (perl-syntax-propertize-function): Match here-doc markers.
14205 (perl-syntax-propertize-special-constructs): Find their end.
14206 (perl-imenu-generic-expression): Use [:alnum:].
14207
c67c0839
SM
14208 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14209 (advice--add-function): Refresh the advice if already present
14210 (bug#14317).
14211
d491e7a8
IA
142122013-05-06 Ivan Andrus <darthandrus@gmail.com>
14213
14214 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14215
ddf9925e
GM
142162013-05-06 Glenn Morris <rgm@gnu.org>
14217
7cc3af27
GM
14218 * w32-fns.el (w32-charset-info-alist): Declare.
14219
16e343d6
GM
14220 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14221 of its defcustom properties.
14222 (eshell-cmpl-initialize): No need to load pcomplete.
14223
7d889a47
GM
14224 * generic-x.el: No need to require comint when compiling.
14225
ddf9925e
GM
14226 * net/eudc-export.el: Make it loadable without bbdb.
14227 (top-level): Use require rather than load-library.
14228 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14229 (eudc-batch-export-records-to-bbdb)
14230 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14231 Require bbdb.
14232
1e2c18df
SM
142332013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14234
14235 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14236 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14237 some tweaks, instead.
14238
02502a5f
LL
142392013-05-05 Leo Liu <sdl.web@gmail.com>
14240
14241 * progmodes/octave.el (octave-font-lock-keywords)
14242 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14243 (inferior-octave-send-list-and-digest): Improve error message.
14244 (octave-mode, inferior-octave-mode): Use setq-local.
14245 (octave-help): Set info-lookup-mode.
14246
0dc04f42
RS
142472013-05-05 Richard Stallman <rms@gnu.org>
14248
6c54491c
RS
14249 * vc/compare-w.el (compare-windows-whitespace):
14250 Treat no-break space as whitespace.
14251
0dc04f42
RS
14252 * mail/rmailsum.el (rmail-summary-rmail-update):
14253 Detect empty summary and don't change selected message.
14254 (rmail-summary-goto-msg): Likewise.
14255
df8f35df
RS
14256 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14257 Doc fixes, rename args.
14258
5356e1a3
AM
142592013-05-05 Alan Mackenzie <acm@muc.de>
14260
14261 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14262
d44014cb
JL
142632013-05-05 Juri Linkov <juri@jurta.org>
14264
14265 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14266 to not add the length of the summary segment to the return value.
14267 (Bug#14125)
14268
c129b51f
LL
142692013-05-05 Leo Liu <sdl.web@gmail.com>
14270
14271 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14272 (inferior-octave-output-filter): Remove.
14273 (octave-send-region, inferior-octave-startup): Fix callers.
14274 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14275 (octave-binary-file-extensions): New user variable.
14276 (octave-find-definition): Confirm if opening binary files.
14277 (octave-help-file): Use octave-find-definition to get the binary
14278 confirmation.
14279 (octave-help): Adjust for octave-help-file change.
14280
aa7dab97
SM
142812013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14282
14283 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14284 Merge the two entries that handle function definitions.
14285 (pascal--syntax-propertize): New const.
14286 (pascal-mode): Use it. Use setq-local.
14287
fd3a9a6b
GM
142882013-05-04 Glenn Morris <rgm@gnu.org>
14289
14290 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14291 (diary-from-outlook): Respect diary-from-outlook-function.
14292
30c7e542
SM
142932013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14294
14295 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14296 Move the declaration from C.
14297 (read-minibuffer, eval-minibuffer): Move from C.
14298 (completion-setup-function): Avoid minibuffer-completion-contents.
14299
b54f978b
LL
143002013-05-03 Leo Liu <sdl.web@gmail.com>
14301
14302 * progmodes/octave.el (octave-font-lock-keywords): Do not
14303 dehighlight 'end' in comments or strings.
30c7e542
SM
14304 (octave-completing-read, octave-goto-function-definition):
14305 New helpers.
d4d0f9b3
LL
14306 (octave-help-buffer): New user variable.
14307 (octave-help-file, octave-help-function): New button types.
14308 (octave-help): New command and bind it to C-h ;.
14309 (octave-find-definition): New command and bind it to M-.
d74a1581 14310 (user-error): Alias to error if not defined.
b54f978b 14311
27135018
LL
143122013-05-02 Leo Liu <sdl.web@gmail.com>
14313
14314 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14315 for \. (bug#14332)
14316 (octave-font-lock-keywords): Include [ and {.
14317
0d634d3a
LL
143182013-05-02 Leo Liu <sdl.web@gmail.com>
14319
14320 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14321 (inferior-octave): Remove calling comint-mode and return the buffer.
14322 (inferior-octave-startup): Cosmetic changes.
14323
b4c8295e
LL
143242013-05-02 Leo Liu <sdl.web@gmail.com>
14325
30c7e542
SM
14326 * progmodes/octave.el (octave-syntax-propertize-function):
14327 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 14328
f12ad6ec
GM
143292013-05-02 Glenn Morris <rgm@gnu.org>
14330
14331 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14332 * desktop.el (vc-dir-mode): Just autoload it here.
14333
30cac1e0
AM
143342013-05-02 Alan Mackenzie <acm@muc.de>
14335
14336 Eliminate variable c-standard-font-lock-fontify-region-function.
14337 * progmodes/cc-mode.el
14338 (c-standard-font-lock-fontify-region-function): Remove.
14339 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14340
d8ef28b1
LL
143412013-05-01 Leo Liu <sdl.web@gmail.com>
14342
2640d52e 14343 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 14344 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 14345 variables were removed from Octave in 2007.
d8ef28b1
LL
14346 (inferior-octave-startup): Fix uses.
14347 (comint-line-beginning-position): Remove compatibility code for
14348 emacs 21.
14349
ac63ec89
JL
143502013-05-01 Juri Linkov <juri@jurta.org>
14351
14352 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14353
9e9be37c
JL
143542013-05-01 Juri Linkov <juri@jurta.org>
14355
14356 * comint.el (comint-previous-matching-input): Don't print message
14357 "History item: %d" when `isearch-mode' is active.
14358 (comint-history-isearch-message): Print message "History item: %d"
14359 when `comint-input-ring-index' is not empty and this function is
14360 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14361
9b92c13b
LL
143622013-05-01 Leo Liu <sdl.web@gmail.com>
14363
14364 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14365 definitions. Use completion-at-point to insert keywords.
14366 (octave-abbrev-start): Remove.
14367 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14368
b12d33d7
LL
143692013-04-30 Leo Liu <sdl.web@gmail.com>
14370
14371 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14372 change.
14373
3d1c39fa
AM
143742013-04-30 Alan Mackenzie <acm@muc.de>
14375
14376 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
14377 * progmodes/cc-engine.el (c-back-over-member-initializers):
14378 new function.
3d1c39fa
AM
14379 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14380 (most) member init lists.
14381
5147fc17
RS
143822013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14383
14384 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14385 variable.
14386
5b78d7fc
LL
143872013-04-30 Leo Liu <sdl.web@gmail.com>
14388
14389 * progmodes/octave.el (octave-variables): Remove. No builtin
14390 variables any more. All converted to functions.
14391 (octave-font-lock-keywords, octave-completion-at-point-function):
14392 Fix uses.
14393 (octave-font-lock-texinfo-comment): New user variable.
14394 (octave-texinfo-font-lock-keywords): New variable for texinfo
14395 comment block.
14396 (octave-function-comment-block): New face.
14397 (octave-font-lock-texinfo-comment): New function.
14398 (octave-mode): Font lock texinfo comment block.
14399
38d8527b
LL
144002013-04-29 Leo Liu <sdl.web@gmail.com>
14401
14402 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14403 indexing expression.
14404 (octave-continuation-string): Do not use \.
14405 (inferior-octave-complete-impossible): Remove.
14406 (inferior-octave-completion-table)
14407 (inferior-octave-completion-at-point): Remove its uses.
14408 (inferior-octave-startup): completion_matches was introduced to
14409 Octave in 1996 so safe to assume it.
14410 (octave-function-file-comment): Improve to follow how Octave does it.
14411 (octave-update-function-file-comment): Tweak.
14412
2ec12cb0
LL
144132013-04-29 Leo Liu <sdl.web@gmail.com>
14414
14415 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14416 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14417 (octave-function-file-comment): Fix typo.
14418 (octave-sync-function-file-names): Use read-char-choice.
14419
6eaed048
JB
144202013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14421
14422 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14423 to t for the less important warnings.
14424
3ffa2d4f
DH
144252013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14426
14427 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14428
685c9501
GM
144292013-04-27 Glenn Morris <rgm@gnu.org>
14430
14431 * vc/log-view.el (log-view-current-entry):
14432 Treat "---" separator lines as part of the following rev. (Bug#14169)
14433
0208ede7
JL
144342013-04-27 Juri Linkov <juri@jurta.org>
14435
14436 * subr.el (read-number): Doc fix about using it by interactive
14437 code letter `n'. (Bug#14254)
14438
5db9dace
JL
144392013-04-27 Juri Linkov <juri@jurta.org>
14440
14441 * desktop.el (desktop-auto-save-timeout): New option.
14442 (desktop-file-checksum): New variable.
14443 (desktop-save): Add optional arg `auto-save' and don't auto-save
14444 if nothing changed.
14445 (desktop-auto-save-timer): New variable.
14446 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14447 (after-init-hook): Call `desktop-auto-save-set-timer'.
14448 Suggested by Reuben Thomas <rrt@sc3d.org> in
14449 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14450
b7260dd4
LL
144512013-04-27 Leo Liu <sdl.web@gmail.com>
14452
14453 * progmodes/octave.el (octave-function-file-p)
14454 (octave-skip-comment-forward, octave-function-file-comment)
14455 (octave-update-function-file-comment): New functions.
14456 (octave-mode-map): Bind C-c ; to
14457 octave-update-function-file-comment.
14458 (octave-mode-menu): Add octave-update-function-file-comment.
14459 (octave-mode, inferior-octave-mode): Fix doc-string.
14460 (octave-insert-defun): Conform to Octave's coding convention.
14461 (Bug#14285)
14462
14463 * files.el (basic-save-buffer): Don't let errors in
14464 before-save-hook prevent saving buffer.
14465
c46da669
RW
144662013-04-20 Roland Winkler <winkler@gnu.org>
14467
14468 * faces.el (read-face-name): Use completing-read if arg multiple
14469 is nil.
14470
a81ee1eb
IL
144712013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14472
14473 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
14474 displayed, move point to after the totals line.
14475 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
14476 for the details.
14477
4fac34ce
SM
144782013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14479
14480 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14481 Add current dir to the load-path.
14482 (package-generate-autoloads): Don't rely on
14483 autoload-ensure-default-file.
14484
f6bfc063
RT
144852013-04-26 Reuben Thomas <rrt@sc3d.org>
14486
d40ab5cf
BG
14487 * textmodes/remember.el (remember-store-in-files): Document that
14488 the file name format is passed to `format-time-string'.
f6bfc063 14489
e55d3b04
LL
144902013-04-26 Leo Liu <sdl.web@gmail.com>
14491
14492 * progmodes/octave.el (octave-sync-function-file-names): New function.
14493 (octave-mode): Use it in before-save-hook.
14494
e53052d3
SM
144952013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14496
140ef50c
SM
14497 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14498 (bug#14274).
14499
e53052d3
SM
14500 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14501 \n and comment, even if it's not an implicit ; (bug#14218).
14502
af80458d 145032013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
14504
14505 * subr.el (read-number): Once more use `read' rather than
14506 `string-to-number', to trap non-numeric input. (Bug#14254)
14507
af80458d 145082013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
14509
14510 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14511 Use `syntax-multiline' text property consistently instead of
8a621d53 14512 `font-lock-multiline'. (Bug#14237)
70203c2e 14513
e6ea1f6c
GM
145142013-04-26 Glenn Morris <rgm@gnu.org>
14515
14516 * emacs-lisp/shadow.el (list-load-path-shadows):
14517 No longer necessary to check for duplicate simple.el, since
14518 2012-07-07 change to init_lread to not include installation lisp
14519 directories in load-path when running uninstalled. (Bug#14270)
14520
070ccca4
LL
145212013-04-26 Leo Liu <sdl.web@gmail.com>
14522
14523 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14524 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 14525 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
14526 octave-in-string-or-comment-p.
14527 (octave-in-comment-p, octave-in-string-p)
14528 (octave-in-string-or-comment-p): Replace defsubst with defun.
14529
9d1c5fb6
PE
145302013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14531
14532 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14533
c034abda
BG
145342013-04-25 Bastien Guerry <bzg@gnu.org>
14535
14536 * textmodes/remember.el (remember-data-directory)
14537 (remember-directory-file-name-format): Fix custom types.
14538
584ea277
LL
145392013-04-25 Leo Liu <sdl.web@gmail.com>
14540
e53052d3
SM
14541 * progmodes/octave.el (octave-completion-at-point-function):
14542 Make use of inferior octave process.
584ea277
LL
14543 (octave-initialize-completions): Remove.
14544 (inferior-octave-completion-table): New function.
14545 (inferior-octave-completion-at-point): Use it.
14546 (octave-completion-alist): Remove.
14547
1693b06a
SM
145482013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14549
14550 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14551 (opascal-mode-syntax-table): New var.
14552 (opascal-literal-kind, opascal-is-literal-end)
14553 (opascal-literal-token-at): Rewrite.
14554 (opascal--literal-start-re, opascal-font-lock-keywords)
14555 (opascal--syntax-propertize): New constants.
14556 (opascal-font-lock-defaults): Adjust.
14557 (opascal-mode): Use them. Set comment-<foo> variables as well.
14558 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14559 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14560 (delphi-other-face, opascal-other-face): Remove face variables.
14561 (opascal-save-state): Remove macro.
14562 (opascal-fontifying-progress-step): Remove constant.
14563 (opascal--ignore-changes): Remove var.
14564 (opascal-set-token-property, opascal-parse-next-literal)
14565 (opascal-is-stable-literal, opascal-complete-literal)
14566 (opascal-is-literal-start, opascal-face-of)
14567 (opascal-parse-region, opascal-parse-region-until-stable)
14568 (opascal-fontify-region, opascal-after-change)
14569 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14570 (opascal-debug-parse-region, opascal-debug-parse-window)
14571 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14572 (opascal-debug-fontify-buffer): Remove.
14573 (opascal-debug-mode-map): Adjust accordingly.
14574
be64c05d
LL
145752013-04-25 Leo Liu <sdl.web@gmail.com>
14576
14577 Merge octave-mod.el and octave-inf.el into octave.el with some
14578 cleanups.
14579 * progmodes/octave.el: New file renamed from octave-mod.el.
14580 * progmodes/octave-inf.el: Merged into octave.el.
14581 * progmodes/octave-mod.el: Renamed to octave.el.
14582
d79d37bd
TH
145832013-04-25 Tassilo Horn <tsdh@gnu.org>
14584
14585 * textmodes/reftex-vars.el
14586 (reftex-label-ignored-macros-and-environments): New defcustom.
14587
14588 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14589
ced3fc5d
SM
145902013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14591
14592 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14593 (smie-indent-keyword): Improve the check to ensure that the next
14594 comment is really on the same line.
14595 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14596
14597 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14598 semi-colons if the line is not otherwise empty (bug#14218).
14599
1c141dad
GM
146002013-04-25 Glenn Morris <rgm@gnu.org>
14601
14602 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14603
5058062a
SM
146042013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14605
14606 * progmodes/opascal.el (opascal-set-token-property): Rename from
14607 opascal-set-text-properties and only set `token' (bug#14134).
14608 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14609 (opascal-literal-text-properties): Remove.
14610 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14611 Adjust callers.
14612
5db9dace 146132013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
14614
14615 * textmodes/remember.el (remember-handler-functions): Add an
14616 option for a new handler `remember-store-in-files'.
14617 (remember-data-directory, remember-directory-file-name-format):
14618 New options.
14619 (remember-store-in-files): New function to store remember notes
14620 as separate files within a directory.
14621
4391916c
MH
146222013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14623
14624 * progmodes/compile.el (compilation-next-error-function):
14625 Pass "formats" to compilation-find-file (bug#11777).
14626
bb7cdf58
GM
146272013-04-24 Glenn Morris <rgm@gnu.org>
14628
3b8fe752 14629 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
14630 * vc/vc-hg.el (vc-hg-print-log):
14631 * vc/vc-svn.el (vc-svn-print-log):
14632 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14633
bb7cdf58
GM
14634 * vc/vc-bzr.el (vc-bzr-print-log):
14635 * vc/vc-cvs.el (vc-cvs-print-log):
14636 * vc/vc-git.el (vc-git-print-log):
14637 * vc/vc-hg.el (vc-hg-print-log):
14638 * vc/vc-mtn.el (vc-mtn-print-log):
14639 * vc/vc-rcs.el (vc-rcs-print-log):
14640 * vc/vc-sccs.el (vc-sccs-print-log):
14641 * vc/vc-svn.el (vc-svn-print-log):
14642 * vc/vc.el (vc-print-log-internal): Doc fixes.
14643
b46a056e
GM
146442013-04-23 Glenn Morris <rgm@gnu.org>
14645
14646 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14647 Remove venerable code attempting to avoid substitute-command-keys.
14648
0aecf718
TH
146492013-04-23 Tassilo Horn <tsdh@gnu.org>
14650
4391916c
MH
14651 * textmodes/reftex-vars.el (reftex-label-regexps):
14652 Call `reftex-compile-variables' after changes to this variable.
0aecf718 14653
117f94cf
SM
146542013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14655
4391916c 14656 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
14657 Use lexical-binding.
14658 (jit-lock-force-redisplay): Use markers, check buffer's continued
14659 existence and beware narrowed buffers.
14660 (jit-lock-fontify-now): Adjust call accordingly.
14661
1d829c64
SM
146622013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14663
14664 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14665 to avoid misleading the user.
14666
72d548a9
LL
146672013-04-22 Leo Liu <sdl.web@gmail.com>
14668
14669 * info-look.el: Prefer latex2e.info. (Bug#14240)
14670
d0853629
MA
146712013-04-22 Michael Albinus <michael.albinus@gmx.de>
14672
14673 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14674
14675 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 14676 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
14677 (tramp-set-completion-function, tramp-parse-putty):
14678 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14679 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14680 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14681 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14682 (tramp-call-local-coding-command): Use `tramp-call-process'
14683 instead of `tramp-compat-call-process'.
14684
14685 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14686 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 14687 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 14688 (tramp-find-inline-compress): Improve traces.
d0853629
MA
14689 (tramp-maybe-send-script): Check for Perl binary.
14690 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14691
38cc0210
DU
146922013-04-22 Daiki Ueno <ueno@gnu.org>
14693
14694 * epg.el (epg-context-pinentry-mode): New function.
14695 (epg-context-set-pinentry-mode): New function.
14696 (epg--start): Pass --pinentry-mode option to gpg command.
14697
cc641ee1
XF
146982013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14699
02d844b5 14700 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 14701 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 14702 `completion-at-point'. (Bug#13774)
5d4e5c31 14703
cc641ee1
XF
14704 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14705 default key binding for `describe-distribution' has been moved to
14706 `C-h C-o'. (Bug#13970)
14707
1b42ee43
GM
147082013-04-21 Glenn Morris <rgm@gnu.org>
14709
14710 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14711 Add doc strings.
14712 (vc-print-log): Clarify interactive prompt.
14713
a6d63d97
GM
147142013-04-20 Glenn Morris <rgm@gnu.org>
14715
14716 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14717 No longer include timestamp etc information.
14718
d7f5c16f
RW
147192013-04-20 Roland Winkler <winkler@gnu.org>
14720
14721 * faces.el (read-face-name): Bug fix, return just one face if arg
14722 multiple is nil. (Bug#14209)
14723
bcd7a0a4
SM
147242013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14725
14726 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14727 (remove-function): Autoload.
14728
14729 * comint.el (comint-redirect-original-filter-function): Remove.
14730 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
14731 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14732 (vc-cvs-annotate-command):
bcd7a0a4
SM
14733 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14734 * progmodes/prolog.el (prolog-consult-compile):
14735 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14736 Use add/remove-function instead.
14737 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14738 (gud-tooltip-process-output, gud-tooltip-tips):
14739 Use add/remove-function instead.
14740 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14741 (scheme-interaction-mode, exit-scheme-interaction-mode):
14742 Use add/remove-function instead.
14743
14744 * vc/vc-dispatcher.el: Use lexical-binding.
14745 (vc--process-sentinel): Rename from vc-process-sentinel.
14746 Change last arg to be the code to run. Don't use vc-previous-sentinel
14747 and vc-sentinel-commands any more.
14748 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14749 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14750
e36b2d20 147512013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 14752
bcd7a0a4 14753 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 14754 Handle function names with a single character. (Bug#14111)
4d3268ba 14755
27821a89 147562013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
14757
14758 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14759 for subroutines defined in an eval (bug#14182).
14760
7d688336
TV
147612013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14762
14763 * bookmark.el (bookmark-completing-read): Improve handling of empty
14764 string (bug#14176).
14765
31dcede0
SM
147662013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14767
14768 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14769
adc31213
FEG
147702013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14771
14772 New faster Imenu implementation (bug#14058).
9b017563 14773 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
14774 (python-imenu-format-item-label-function)
14775 (python-imenu-format-parent-item-label-function)
14776 (python-imenu-format-parent-item-jump-label-function):
14777 New vars.
14778 (python-imenu-format-item-label)
14779 (python-imenu-format-parent-item-label)
14780 (python-imenu-format-parent-item-jump-label)
14781 (python-imenu--put-parent, python-imenu--build-tree)
14782 (python-imenu-create-index, python-imenu-create-flat-index)
14783 (python-util-popn): New functions.
14784 (python-mode): Set imenu-create-index-function to
14785 python-imenu-create-index.
14786
cdca8255
SM
147872013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14788
14789 * winner.el (winner-active-region): Use region-active-p, activate-mark
14790 and deactivate-mark (bug#14225).
14791
14792 * simple.el (deactivate-mark): Don't inline it.
14793
beb42340
MA
147942013-04-18 Michael Albinus <michael.albinus@gmx.de>
14795
14796 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14797
fc7f4d7e
TH
147982013-04-18 Tassilo Horn <tsdh@gnu.org>
14799
14800 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14801 file extensions from the archive-mode entry in order to prefer
14802 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14803
29f47822
LL
148042013-04-18 Leo Liu <sdl.web@gmail.com>
14805
14806 * bindings.el (help-event-list): Add ?\?.
14807
d36ed1c8
SM
148082013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14809
14810 * subr.el (with-wrapper-hook): Declare obsolete.
14811 * simple.el (filter-buffer-substring-function): New hook.
14812 (filter-buffer-substring): Use it.
14813 (filter-buffer-substring-functions): Mark obsolete.
14814 * minibuffer.el (completion-in-region-function): New hook.
14815 (completion-in-region): Use it.
14816 (completion-in-region-functions): Mark obsolete.
14817 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14818 * abbrev.el (abbrev-expand-function): New hook.
14819 (expand-abbrev): Use it.
14820 (abbrev-expand-functions): Mark obsolete.
14821 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14822 and :filter-return.
14823
04754d36
FEG
148242013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14825
14826 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14827 and do not care about match data.
14828
dd8791e9
SM
148292013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14830
14831 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14832 completion tables when completing error conditions and
14833 `declare' arguments.
14834 (lisp-complete-symbol, field-complete): Mark as obsolete.
14835 (check-parens): Unmatched parens are user errors.
14836 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14837
ffe54a13
AM
148382013-04-17 Michal Nazarewicz <mina86@mina86.com>
14839
dd8791e9
SM
14840 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14841 command changed buffer (ie. `flyspell-pre-buffer' is not current
14842 buffer), which prevents making decisions based on invalid value of
14843 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14844 cause an error when `flyspell-pre-point' was nil after switching
14845 buffers.
14846 (flyspell-post-command-hook): No longer needs to change buffers when
14847 checking pre-word. While at it remove unnecessary progn.
ffe54a13 14848
ec7e39f2
AM
148492013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14850
14851 * textmodes/ispell.el (ispell-add-per-file-word-list):
14852 Fix `flyspell-correct-word-before-point' error when accepting
14853 words and `coment-padding' is an integer by using
14854 `comment-normalize-vars' (Bug #14214).
14855
083850a6
FEG
148562013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14857
14858 New defun movement commands.
14859 * progmodes/python.el (python-nav--syntactically)
14860 (python-nav--forward-defun, python-nav-backward-defun)
14861 (python-nav-forward-defun): New functions.
14862
619ed6e1
FEG
148632013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14864
14865 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14866 (python-syntax-context): Use named compiler-macro for backwards
14867 compatibility with Emacs 24.x.
14868
7a1beb6c
LL
148692013-04-17 Leo Liu <sdl.web@gmail.com>
14870
14871 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14872 octave-hide-process-buffer.
14873
2d3fa3e5
SM
148742013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14875
14876 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14877 (bug#14216).
14878
7ce5be54
JPG
148792013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14880
14881 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14882 Fix adjustment of offset when receiving incomplete responses from GDB
14883 (bug#14129).
14884
351edece
SM
148852013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14886
14887 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14888 python-mode-abbrev-table.
14889 (python-skeleton-define): Adjust accordingly.
14890 (python-mode-abbrev-table): New table that inherits from it so that
14891 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14892
14893 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14894 (abbrev-symbol): Use it.
14895 (abbrev--before-point): Use it since we already handle inheritance.
14896
613f9481
LL
148972013-04-16 Leo Liu <sdl.web@gmail.com>
14898
14899 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14900 binding to info-lookup-symbol.
14901
51646b62
JB
149022013-04-16 Juanma Barranquero <lekktu@gmail.com>
14903
14904 * minibuffer.el (completion--twq-all):
14905 * term/ns-win.el (ns-initialize-window-system):
14906 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14907
efb3f01d
SM
149082013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14909
36c0a301
SM
14910 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14911 global bindings.
14912
efb3f01d
SM
14913 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14914
fb549d64
DG
149152013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14916
14917 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14918 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14919 to nil.
14920 (ruby-end-of-defun): Remove the unused arg, change the docstring
14921 to reflect that this function is only used as the value of
14922 `end-of-defun-function'.
14923 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14924 to reflect an earlier change that beginning/end-of-defun functions
14925 jump between methods in a class definition, as well as top-level
14926 functions.
14927
21e8fe2f
SM
149282013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14929
14930 * minibuffer.el (minibuffer-complete): Don't just scroll
14931 a *Completions* that's been iconified.
14932 (minibuffer-force-complete): Make sure repetitions do cycle when going
14933 through completion-in-region -> minibuffer-complete.
14934
20e527d0
AM
149352013-04-15 Alan Mackenzie <acm@muc.de>
14936
14937 Correct the placement of c-cpp-delimiters when there're #s not at
14938 col 0.
14939
14940 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14941 place a submatch around the #.
21e8fe2f
SM
14942 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14943 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
14944 on the #, not BOL.
14945
dabefae5
SM
149462013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14947
14948 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14949 (advice--member-p): New arg `name'.
14950 (advice--add-function, advice-member-p): Use it (bug#14202).
14951
85c9ab64
AM
149522013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14953
14954 Reformulate java imenu-generic-expression.
14955 The old expression contained ill formed regexps.
14956
14957 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14958 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14959 (cc-imenu-java-method-arg-regexp): New defconsts.
14960 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 14961 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
14962 handling of spaces in the regexp.
14963
0f821d99
AM
149642013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14965
14966 * textmodes/ispell.el (ispell-command-loop): Remove
14967 flyspell highlight of a word when ispell accepts it (bug #14178).
14968
eb922adf
MA
149692013-04-15 Michael Albinus <michael.albinus@gmx.de>
14970
14971 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14972 uses code from the previous `ange-ftp-run-real-handler'.
14973 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14974 only in case that function exist. This is needed for proper
14975 unloading of Tramp.
14976
4d9a0979
TH
149772013-04-15 Tassilo Horn <tsdh@gnu.org>
14978
14979 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14980
14981 * textmodes/reftex.el (reftex-compile-variables): Use it.
14982
a829b0dc
SM
149832013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14984
91e8293c
SM
14985 * files.el (normal-mode): Only use default major-mode if no other mode
14986 was specified.
14987
830aed4d
SM
14988 * emacs-lisp/trace.el (trace-values): New function.
14989
a829b0dc
SM
14990 * files.el: Allow : in local variables (bug#14089).
14991 (hack-local-variable-regexp): New var.
14992 (hack-local-variables-prop-line, hack-local-variables): Use it.
14993
7ae9f0fb
RW
149942013-04-13 Roland Winkler <winkler@gnu.org>
14995
14996 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14997 data before it gets modified by bibtex-beginning-of-entry.
14998
6646e848
RW
149992013-04-13 Roland Winkler <winkler@gnu.org>
15000
15001 * textmodes/bibtex.el (bibtex-url): Doc fix.
15002
150032013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
15004
15005 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15006 does not visit a BibTeX file, exclude it from the list of buffers
15007 returned by bibtex-initialize.
15008
0aa3616e
SB
150092013-04-13 Stephen Berman <stephen.berman@gmx.net>
15010
15011 * window.el (split-window): Remove interactive form, since as a
15012 command this function is a special case of split-window-below.
15013 Correct doc string.
15014
011cddd6
RW
150152013-04-12 Roland Winkler <winkler@gnu.org>
15016
15017 * faces.el (read-face-name): Do not override value of arg default.
15018 Allow single faces and strings as default values. Remove those
15019 elements from return value that are not faces.
15020 (describe-face): Simplify.
15021 (face-at-point): New optional args thing and multiple so that this
15022 function can provide the same functionality previously provided by
15023 read-face-name.
15024 (make-face-bold, make-face-unbold, make-face-italic)
15025 (make-face-unitalic, make-face-bold-italic, invert-face)
15026 (modify-face, read-face-and-attribute): Use face-at-point.
15027
15028 * cus-edit.el (customize-face, customize-face-other-window)
15029 * cus-theme.el (custom-theme-add-face)
15030 * face-remap.el (buffer-face-set)
15031 * facemenu.el (facemenu-set-face): Use face-at-point.
15032
f24e0036
MA
150332013-04-12 Michael Albinus <michael.albinus@gmx.de>
15034
15035 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15036
da3cda2d
TH
150372013-04-10 Tassilo Horn <tsdh@gnu.org>
15038
15039 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15040 off leading { and trailing } from field values.
15041
15e54145
SM
150422013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15043
78ce603d
SM
15044 * emacs-lisp/timer.el (timer--check): New function.
15045 (timer--time, timer-set-function, timer-event-handler): Use it.
15046 (timer-set-idle-time): Simplify.
15047 (timer--activate): CSE.
15048 (timer-event-handler): Give more info in error message.
15049 (internal-timer-start-idle): New function, moved from C.
15050
15e54145
SM
15051 * mpc.el (mpc-proc): Add `restart' argument.
15052 (mpc-proc-cmd): Use it.
15053 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15054 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15055 less often.
15056
7144c627
MY
150572013-04-10 Masatake YAMATO <yamato@redhat.com>
15058
15059 * progmodes/sh-script.el: Implement `sh-mode' own
15060 `add-log-current-defun-function' (bug#14112).
15061 (sh-current-defun-name): New function.
15062 (sh-mode): Use the function.
15063
b39792eb
BG
150642013-04-09 Bastien Guerry <bzg@gnu.org>
15065
15066 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15067
8acdeb71
SM
150682013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15069
6fcdab68
SM
15070 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15071
8acdeb71
SM
15072 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15073 timer (bug#14156).
15074
e3e7b504
NF
150752013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15076
15077 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15078 declaration.
15079
201bb296
LL
150802013-04-07 Leo Liu <sdl.web@gmail.com>
15081
15082 * pcmpl-x.el: New file.
15083
ebb19708
DA
150842013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15085
15086 Do not set x-display-name until X connection is established.
15087 This is needed to prevent from weird situation described at
15088 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15089 * frame.el (make-frame): Set x-display-name after call to
15090 window system initialization function, not before.
15091 * term/x-win.el (x-initialize-window-system): Add optional
15092 display argument and use it.
15093 * term/w32-win.el (w32-initialize-window-system):
15094 * term/ns-win.el (ns-initialize-window-system):
15095 * term/pc-win.el (msdos-initialize-window-system):
15096 Add compatible optional display argument.
15097
33bb237a
EZ
150982013-04-06 Eli Zaretskii <eliz@gnu.org>
15099
15100 * files.el (normal-backup-enable-predicate): On MS-Windows and
15101 MS-DOS compare truenames of temporary-file-directory and of the
15102 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15103 don't fail comparison by compare-strings. Also, compare file
15104 names case-insensitively on MS-Windows and MS-DOS.
15105
134abf1f
SM
151062013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15107
15108 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15109 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15110
d695cb94
DG
151112013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15112
e3e7b504
NF
15113 * whitespace.el (whitespace-color-on, whitespace-color-off):
15114 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 15115
f4ad7ea1 151162013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
15117
15118 * ispell.el (ispell-set-spellchecker-params):
15119 Really set `ispell-args' for all equivs.
15120
632556e4
SM
151212013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15122
15123 * ido.el (ido-completions): Use extra elements of ido-decorations
15124 (bug#14143).
15125 (ido-decorations): Update docstring.
15126
2a417372
MA
151272013-04-05 Michael Albinus <michael.albinus@gmx.de>
15128
15129 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15130 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15131 nil during initialization, in order not to miss changes since the
15132 file was opened. (Bug#14140)
15133
fc164b0c
LL
151342013-04-05 Leo Liu <sdl.web@gmail.com>
15135
15136 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15137
0ccecc08
JB
151382013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15139
15140 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15141
51af1aa2
GM
151422013-04-04 Glenn Morris <rgm@gnu.org>
15143
15144 * electric.el (electric-pair-inhibit-predicate): Add :version.
15145
b208ebc6
SM
151462013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15147
15148 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15149 when a package is required several times (bug#14082).
15150
f3d3eaf0
RW
151512013-04-04 Roland Winkler <winkler@gnu.org>
15152
15153 * faces.el (read-face-name): Behave as promised by the docstring.
15154 Assume that arg default is a list of faces.
15155 (describe-face): Call read-face-name with list of default faces.
15156
2575da50
TV
151572013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15158
15159 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15160 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15161 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15162 the header.
15163 (bookmark-exit-hook-internal): Save even if list is empty.
15164
397703b4
YH
151652013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15166
15167 * emacs-lisp/package.el (package-pinned-packages): New var.
15168 (package--add-to-archive-contents): Obey it (bug#14118).
15169
691e26ae
AM
151702013-04-03 Alan Mackenzie <acm@muc.de>
15171
8a621d53
JB
15172 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15173 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
15174
15175 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15176 parameter `not-in-delimiter'. Handle being inside comment opener.
15177 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15178 character in case we're typing a '*' after a '/'.
15179 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15180 instead by passing the parameter to c-state-pp-to-literal.
15181
15182 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15183 for elt. 7 of a parse state.
15184
4b725a70
PE
151852013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15186
15187 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15188 * international/latin1-disp.el, international/mule-util.el:
15189 * language/cyril-util.el, language/european.el, language/ind-util.el:
15190 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15191 * language/tibetan.el, language/viet-util.el:
15192 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15193
15c579f0
SM
151942013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15195
15196 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15197 (electric-pair-post-self-insert-function): Use it.
15198 (electric-pair-default-inhibit): New function, extracted from
15199 electric-pair-post-self-insert-function.
15200
a77e2924
RW
152012013-03-31 Roland Winkler <winkler@gnu.org>
15202
15203 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15204
2bd8a4a8
SM
152052013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15206
15207 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15208
8d3655be 152092013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
15210
15211 Un-indent after "pass" and "return" statements (Bug#13888)
15212 * progmodes/python.el (python-indent-block-enders): New var.
15213 (python-indent-calculate-indentation): Use it.
15214
8d3655be 152152013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
15216
15217 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15218 defun. Defining it as defalias could introduce too eager
15219 byte-compiler optimization. (Bug#14030)
15220
8d3655be 152212013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
15222
15223 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15224
0b1619da
LL
152252013-03-30 Leo Liu <sdl.web@gmail.com>
15226
15227 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15228 (kmacro-execute-from-register): Pass the keyboard macro to
15229 kmacro-call-macro or repeating won't work correctly.
15230
0b938190
TZ
152312013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15232
15233 * progmodes/subword.el: Back to using `forward-symbol'.
15234
15235 * subr.el (forward-whitespace, forward-symbol)
15236 (forward-same-syntax): Move from thingatpt.el.
15237
35710234
LL
152382013-03-29 Leo Liu <sdl.web@gmail.com>
15239
15240 * kmacro.el (kmacro-to-register): New command.
15241 (kmacro-execute-from-register): New function.
15242 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15243
efc0bb73
SM
152442013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15245
15246 * mpc.el: Use defvar-local and setq-local.
15247 (mpc--proc-connect): Connection failures are not bugs.
15248 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15249 (mpc-volume-map): Bind to the up-events.
15250
75a2f981
TZ
152512013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15252
15253 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15254 instead of `forward-symbol'.
15255
17c781d1
SM
152562013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15257
15258 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15259 (edebug--recursive-edit): Use it.
15260 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15261 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15262
f67bfbcf
LL
152632013-03-28 Leo Liu <sdl.web@gmail.com>
15264
15265 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15266
b59f639d
EZ
152672013-03-27 Eli Zaretskii <eliz@gnu.org>
15268
15269 * facemenu.el (list-colors-callback): New defvar.
15270 (list-colors-redisplay): New function.
15271 (list-colors-display): Install list-colors-redisplay as the
15272 revert-buffer-function. (Bug#14063)
15273
f557c1b1
SM
152742013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15275
b1da2957
SM
15276 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15277 and suffixes don't overlap (bug#14061).
15278
f557c1b1
SM
15279 * case-table.el: Use lexical-binding.
15280 (case-table-get-table): New function.
15281 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15282
002668e1
TZ
152832013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15284
15285 * progmodes/subword.el: Add `superword-mode' to do word motion
15286 over symbol_words (parallels and leverages `subword-mode' which
15287 does word motion inside MixedCaseWords).
15288
73572c72
AG
152892013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15290
78b8f320 15291 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 15292 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 15293
69b2c07e
SM
152942013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15295
15296 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15297 Change return value to be a sexp. Delay `get-buffer' to after
15298 restoring the desktop (bug#13951).
15299
08bb5ee2
LL
153002013-03-26 Leo Liu <sdl.web@gmail.com>
15301
15302 * register.el: Move semantic tag handling back to
15303 cedet/semantic/senator.el. (Bug#14052)
15304
8d4c974e
SM
153052013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15306
15307 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15308 into the prompt either (bug#13963).
15309
b234d92c
SM
153102013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15311
15312 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15313 part of "(error-foo)".
15314
ddfa3cb4
JL
153152013-03-24 Juri Linkov <juri@jurta.org>
15316
15317 * replace.el (list-matching-lines-prefix-face): New defcustom.
15318 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15319 `occur-engine' if `face-differs-from-default-p' returns t.
15320 (occur-engine): Add `,' inside backquote construct to evaluate
15321 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15322 Pass `prefix-face' to the functions `occur-context-lines' and
15323 `occur-engine-add-prefix'.
15324 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15325 `prefix-face' and propertize the prefix with `prefix-face'.
15326 (Bug#14017)
15327
7b0e2f85
LL
153282013-03-24 Leo Liu <sdl.web@gmail.com>
15329
15330 * nxml/rng-valid.el (rng-validate-while-idle)
15331 (rng-validate-quick-while-idle): Guard against deleted buffer.
15332 (Bug#13999)
15333
15334 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15335 is the last entry in kill-buffer-hook.
15336
15337 * files.el (kill-buffer-hook): Doc fix.
15338
b3082f49
DG
153392013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15340
b234d92c
SM
15341 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15342 Make it safe-local.
bde73d27 15343
b3082f49
DG
15344 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15345
a320a2db
LL
153462013-03-23 Leo Liu <sdl.web@gmail.com>
15347
7e74b0fb
LL
15348 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15349 Remove.
15350
15351 * nxml/rng-valid.el (rng-validate-mode)
15352 (rng-after-change-function, rng-do-some-validation):
15353 * nxml/rng-maint.el (rng-validate-buffer):
15354 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15355 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15356 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15357 (nxml-extend-after-change-region): Use with-silent-modifications.
15358
a320a2db
LL
15359 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15360 timer-idle-list.
15361
15362 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15363 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15364 timer-idle-list. (Bug#13999)
15365
e38e6780
JL
153662013-03-23 Juri Linkov <juri@jurta.org>
15367
15368 * info.el (info-index-match): New face.
15369 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15370 main pattern and add text properties with the new face to matches
15371 in index entries relative to the beginning of the index entry.
15372 (Bug#14015)
15373
e8cc7880
DE
153742013-03-21 Eric Ludlam <zappo@gnu.org>
15375
39c87140 15376 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
15377 Inhibit read only while inserting objects.
15378
9bb0d822
TZ
153792013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15380
15381 * progmodes/cfengine.el: Update docs to mention
15382 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15383 symbol motion. Remove "_" from the word syntax.
15384
aa703640
TZ
153852013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15386
15387 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15388 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15389
afff09d0
JL
153902013-03-20 Juri Linkov <juri@jurta.org>
15391
15392 * info.el (Info-next-reference-or-link)
15393 (Info-prev-reference-or-link): New functions.
15394 (Info-next-reference, Info-prev-reference): Use them.
15395 (Info-try-follow-nearest-node): Handle footnote navigation.
15396 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15397
9a1ff164
SM
153982013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15399
15400 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15401 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15402
2667d15d
PE
154032013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15404
15405 Suppress unnecessary non-ASCII chatter during build process.
15406 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15407 (batch-skkdic-convert): Suppress most of the chatter.
15408 It's not needed so much now that machines are faster,
15409 and its non-ASCII component was confusing; see Dmitry Gutov in
15410 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15411
438b0579
LL
154122013-03-20 Leo Liu <sdl.web@gmail.com>
15413
15414 * ido.el (ido-chop): Fix bug#10994.
15415
c128ab07
DG
154162013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15417
15418 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15419 Remove vars.
9a1ff164
SM
15420 (whitespace-color-on, whitespace-color-off):
15421 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 15422
0e6008c5
SM
154232013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15424
15425 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15426 remapping in mode-line.
15427 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15428
627b52b0
DG
154292013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15430
15431 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15432 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
15433 (whitespace-font-lock-keywords): Change description.
15434 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15435 the constructed keywords instead.
15436 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 15437
50c3a20b
LL
154382013-03-19 Leo Liu <sdl.web@gmail.com>
15439
15440 * progmodes/compile.el (compilation-display-error): New command.
15441 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15442 C-o. (Bug#13992)
15443
2aa2157b
PE
154442013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15445
15446 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15447
e477dbfa
JD
154482013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15449
15450 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15451
64ab82d1
MA
154522013-03-18 Michael Albinus <michael.albinus@gmx.de>
15453
15454 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15455
15456 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15457 * net/tramp-gvfs.el (top):
15458 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15459 (tramp-handle-shell-command): Use it.
15460 (tramp-dissect-file-name): Raise an error when hostname is a
15461 method name, and neither method nor user is specified.
15462
15463 * net/trampver.el: Update release number.
15464
33cef733
LL
154652013-03-18 Leo Liu <sdl.web@gmail.com>
15466
15467 Make sure eldoc can be turned off properly.
15468 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15469 eldoc-mode.
15470 (eldoc-display-message-p): Revert last change.
15471 (eldoc-display-message-no-interference-p)
15472 (eldoc-print-current-symbol-info): Tweak.
15473
2167b7b2
TH
154742013-03-18 Tassilo Horn <tsdh@gnu.org>
15475
15476 * doc-view.el (doc-view-new-window-function): Check the new window
15477 overlay's display property instead the char property of the
15478 buffer's first char. Use `with-selected-window' instead of
15479 `save-window-excursion' with `select-window'.
15480 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 15481 display property instead the char property of the buffer's first char.
2167b7b2 15482
982efbcd
PE
154832013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15484
15485 Automate the build of ja-dic.el (Bug#13984).
15486 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15487 from the input, rather than assume that it's been done for us by the
15488 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15489 the current date into a ja-dic.el comment, as that complicates
15490 regression testing.
15491
2fcc7665
SM
154922013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15493
15494 * whitespace.el: Fix double evaluation.
15495 (whitespace-space, whitespace-hspace, whitespace-tab)
15496 (whitespace-newline, whitespace-trailing, whitespace-line)
15497 (whitespace-space-before-tab, whitespace-indentation)
15498 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15499 obsolete defvars.
15500 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15501 (whitespace-color-on): Use a single font-lock-add-keywords call.
15502 Fix double-evaluation of face variables.
15503
67c0a6e6
MA
155042013-03-17 Michael Albinus <michael.albinus@gmx.de>
15505
2fcc7665
SM
15506 * net/tramp-adb.el (tramp-adb-parse-device-names):
15507 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 15508 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 15509
69489f1d
LL
155102013-03-17 Leo Liu <sdl.web@gmail.com>
15511
15512 Extend eldoc to display info in the mode-line. (Bug#13978)
15513 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15514 (eldoc-mode-line-string): New variable.
15515 (eldoc-minibuffer-message): New function.
15516 (eldoc-message-function): New variable.
15517 (eldoc-message): Use it.
15518 (eldoc-display-message-p)
2fcc7665
SM
15519 (eldoc-display-message-no-interference-p):
15520 Support eldoc-post-insert-mode.
69489f1d
LL
15521
15522 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15523 (eval-expression): Run it.
15524
9c44569e
RW
155252013-03-17 Roland Winkler <winkler@gnu.org>
15526
15527 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15528 strings in the list of return values.
15529
327f1f6f
JB
155302013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15531
15532 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15533 radix before checking for HMS forms.
15534
67ed8fcd
LL
155352013-03-16 Leo Liu <sdl.web@gmail.com>
15536
15537 * progmodes/scheme.el: Add indentation and font-locking for λ.
15538 (Bug#13975)
15539
78be8b64 155402013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
15541
15542 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15543 token before point (bug#13942).
15544
78be8b64 155452013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 15546
95b43468 15547 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 15548
98e775e6
EZ
155492013-03-16 Eli Zaretskii <eliz@gnu.org>
15550
15551 * startup.el (command-line-normalize-file-name): Fix handling of
15552 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15553 <xfq.free@gmail.com> in
15554 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15555
2edd6029
MA
155562013-03-15 Michael Albinus <michael.albinus@gmx.de>
15557
15558 Sync with Tramp 2.2.7.
15559
15560 * net/trampver.el: Update release number.
15561
d35f5864
TH
155622013-03-14 Tassilo Horn <tsdh@gnu.org>
15563
e903c210 15564 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
15565 (doc-view-insert-image): Don't modify overlay associated to
15566 non-live windows, and implement horizontal centering of image in
15567 case it's smaller than the window.
15568 (doc-view-new-window-function): Force redisplay of new windows on
15569 doc-view buffers.
d35f5864 15570
1c4a85ed
KF
155712013-03-13 Karl Fogel <kfogel@red-bean.com>
15572
15573 * saveplace.el (save-place-alist-to-file): Don't sort
15574 `save-place-alist', just pretty-print it (bug#13882).
15575
85b66a21
MA
155762013-03-13 Michael Albinus <michael.albinus@gmx.de>
15577
a020afb9
JB
15578 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15579 Check whether `default-file-name-coding-system' is bound.
15580 It isn't in XEmacs.
85b66a21 15581
175600da
SM
155822013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15583
e7f7cb1a
SM
15584 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15585 backquotes for `obsolete' (bug#13929).
15586
175600da
SM
15587 * international/mule.el (find-auto-coding): Include file name in
15588 obsolescence warning (bug#13922).
15589
ca68a22e
TZ
155902013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15591
15592 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15593 for CFEngine 3-specific indentation.
15594 (cfengine3-indent-line): Use it. Fix up category regex.
15595 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15596
940e5099
SM
155972013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15598
15599 * type-break.el (type-break-file-name):
15600 * textmodes/remember.el (remember-data-file):
15601 * strokes.el (strokes-file):
15602 * shadowfile.el (shadow-initialize):
15603 * saveplace.el (save-place-file):
15604 * ps-bdf.el (bdf-cache-file):
15605 * progmodes/idlwave.el (idlwave-config-directory):
15606 * net/quickurl.el (quickurl-url-file):
15607 * international/kkc.el (kkc-init-file-name):
15608 * ido.el (ido-save-directory-list-file):
15609 * emulation/viper.el (viper-custom-file-name):
15610 * emulation/vip.el (vip-startup-file):
15611 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15612 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15613
cc725808
PE
156142013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15615
15616 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15617 * language/thai-word.el: Switch to UTF-8.
15618
a020afb9 15619See ChangeLog.16 for earlier changes.
e3d51b27
MR
15620
15621;; Local Variables:
15622;; coding: utf-8
e3d51b27
MR
15623;; End:
15624
ba318903 15625 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
15626
15627 This file is part of GNU Emacs.
15628
15629 GNU Emacs is free software: you can redistribute it and/or modify
15630 it under the terms of the GNU General Public License as published by
15631 the Free Software Foundation, either version 3 of the License, or
15632 (at your option) any later version.
15633
15634 GNU Emacs is distributed in the hope that it will be useful,
15635 but WITHOUT ANY WARRANTY; without even the implied warranty of
15636 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15637 GNU General Public License for more details.
15638
15639 You should have received a copy of the GNU General Public License
15640 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.