(seconds-to-string): New function to pretty print time delay in seconds.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ecaf7f4d
SS
12014-05-12 Sam Steingold <sds@gnu.org>
2
3 * calendar/time-date.el (seconds-to-string): New function to
4 pretty print time delay in seconds.
5
97100b43
SM
62014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
7
400e8286
SM
8 * mpc.el (mpc-format): Trim Date to the year.
9 (mpc-songs-hashcons): Shorten the Date field.
10
97100b43
SM
11 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
12 into autoloading just because of a silly indirection.
13
bbbabffe 142014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
0add0959
SPM
15
16 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
17
bbbabffe 182014-05-12 Glenn Morris <rgm@gnu.org>
e7caef59
GM
19
20 * emacs-lisp/find-gc.el: Move to ../admin.
21
6b45ef35
GM
22 * printing.el (pr-version):
23 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
24
8c6699ab
GM
25 * net/browse-url.el (browse-url-mosaic):
26 Create /tmp/Mosaic.PID as a private file.
27
bbbabffe 282014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5d03fb43
SM
29
30 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
31 (advice--member-p): If name is given, only compare the name.
32 (advice--remove-function): Don't stop at the first match.
33 (advice--normalize-place): New function.
34 (add-function, remove-function): Use it.
35 (advice--add-function): Pass the name, if any, to
36 advice--remove-function.
37
bbbabffe 382014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
3ebdceaf
PR
39
40 * electric.el (electric-indent-post-self-insert-function): Don't use
41 `pos' after modifying the buffer (bug#17449).
42
bbbabffe 432014-05-12 Stephen Berman <stephen.berman@gmx.net>
472c15bf
SB
44
45 * calendar/todo-mode.el (todo-insert-item-from-calendar):
46 Correct argument list to conform to todo-insert-item--basic.
47
bbbabffe 482014-05-12 Glenn Morris <rgm@gnu.org>
bb1f4b8f 49
2651ed05
GM
50 * files.el (cd-absolute): Test if directory is accessible
51 rather than executable. (Bug#17330)
52
bb1f4b8f
GM
53 * progmodes/compile.el (recompile):
54 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
55
4049faae
GM
56 * net/browse-url.el (browse-url-mosaic):
57 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
58 This is CVE-2014-3423.
59
4eb43682
SM
602014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
61
fbd5cc6c
SM
62 * mouse.el: Use the normal toplevel loop while dragging.
63 (mouse-set-point): Handle multi-clicks.
64 (mouse-set-region): Handle multi-clicks for drags.
65 (mouse-drag-region): Update call accordingly.
66 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
67 Use the normal event loop instead of a local while/read-event loop.
68 (global-map): Remove redundant bindings for double/triple-mouse-1.
69 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
70 Generate synthetic down events when the protocol only sends up events.
71 (xterm-mouse-last): Remove.
72 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
73 terminal parameter instead.
74 (xterm-mouse--set-click-count): New function.
75 (xterm-mouse-event): Detect/generate double/triple clicks.
76 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
77
80a78d23
SM
78 * info.el (Info-quoted): New face.
79 (Info-mode-font-lock-keywords): New var.
80 (Info-mode): Use it.
81
4eb43682
SM
82 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
83 are a hindrance for C-x C-e.
84
2f9b4cfc
LL
852014-05-11 Leo Liu <sdl.web@gmail.com>
86
87 * net/rcirc.el (rcirc-sentinel): Fix last change.
88
f36f0bca
SS
892014-05-08 Sam Steingold <sds@gnu.org>
90
91 * net/rcirc.el (rcirc-reconnect-delay): New user option.
92 (rcirc-sentinel): Auto-reconnect to the server if
93 `rcirc-reconnect-delay' is non-0 (but not more often than its
94 value in case the host is off-line).
95
b722ea4e
EZ
962014-05-09 Eli Zaretskii <eliz@gnu.org>
97
98 * progmodes/grep.el (lgrep): Fix a typo in last commit.
99
1d75432d
GM
1002014-05-09 Glenn Morris <rgm@gnu.org>
101
102 * files.el (file-expand-wildcards):
103 * man.el (Man-support-local-filenames):
104 * printing.el (pr-i-directory, pr-interface-directory):
105 * progmodes/grep.el (lgrep, rgrep):
106 * textmodes/ispell.el (ispell-call-process)
107 (ispell-call-process-region, ispell-start-process)
108 (ispell-init-process): Use file-accessible-directory-p.
109
b406487f
SM
1102014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
111
112 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
113 (xterm-mouse--read-event-sequence-1000): Return nil if something
114 looks fishy.
115 (xterm-mouse-event): Propagate it.
116 (xterm-mouse-translate-1): Handle it.
117
fb3f83f5 1182014-05-08 Stephen Berman <stephen.berman@gmx.net>
1ddb2150
SB
119
120 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
121 four slots of the parameter list are filled, make sure to pass it
122 to the argument list of todo-insert-item--basic.
123
fb3f83f5 1242014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5e87fcb1
SM
125
126 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
127 Add optional `seen' argument to detect and break infinite loops.
128
fb3f83f5 1292014-05-08 Eli Zaretskii <eliz@gnu.org>
c5d670f5
EZ
130
131 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
132 (trace-unsafe, trace-use-tree): Make parentheses style be
133 according to Emacs style.
134
fb3f83f5 1352014-05-08 Michael Albinus <michael.albinus@gmx.de>
3e59ead1 136
5e87fcb1
SM
137 * net/tramp-sh.el (tramp-remote-process-environment):
138 Remove HISTFILE and HISTSIZE; it's too late to set them here.
139 Add :version entry.
140 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
141 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
3e59ead1
MA
142 extra "PSx=..." commands.
143 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
144 (Bug#17295)
145
23e19cf2
MA
146 (tramp-uudecode): Replace the hard-coded temporary file name by a
147 format specifier.
148 (tramp-remote-coding-commands): Enhance docstring.
149 (tramp-find-inline-encoding): Replace "%t" by a temporary file
150 name. (Bug#17415)
a9fd3545 151 This is CVE-2014-3424.
23e19cf2 152
fb3f83f5 1532014-05-08 Glenn Morris <rgm@gnu.org>
0c4decae
GM
154
155 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
156 (find-gc-source-files): Update some names.
157 (trace-call-tree): Simplify and update.
158 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
a9fd3545 159 This is CVE-2014-3422.
0c4decae 160
fb3f83f5 1612014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
c22f24f6 162
bf67c3f7
SM
163 * minibuffer.el (completion--try-word-completion): Revert fix for
164 Bug#15980 (bug#17375).
165
c22f24f6
SM
166 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
167 Always store button numbers in the same way in xterm-mouse-last;
168 Don't burp is xterm-mouse-last is not set as expected.
169 Never return negative indices.
170
fb3f83f5 1712014-05-08 Dmitry Gutov <dgutov@yandex.ru>
4dd3c4d5
DG
172
173 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
174 Backtrack one char if the global/char-literal var matcher hits
175 inside a string. The next char could be the beginning of an
176 expression expansion.
177
fb3f83f5 1782014-05-08 Glenn Morris <rgm@gnu.org>
6da8d069
GM
179
180 * help-fns.el (describe-function-1): Test for an autoload before a
181 macro, since `macrop' works on autoloads. (Bug#17410)
182
fb3f83f5 1832014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
dccb0688 184
e6025d72
SM
185 * electric.el (electric-indent-functions-without-reindent): Add yaml.
186
dccb0688
SM
187 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
188 Make sure the new point we return is within the new string (bug#17239).
189
049534ad
DC
1902014-05-05 Daniel Colascione <dancol@dancol.org>
191
192 * progmodes/compile.el (compilation-error-regexp-alist-alist):
193 Port `gnu' pattern to rx.
194
80e377c0
JC
1952014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
196
197 Remove unneeded prompt when closing a buffer with active
198 emacsclient ("Buffer ... still has clients"), #16548.
199 * server.el (server-start): Remove the only call to:
200 (server-kill-buffer-query-function): Remove.
201
f930a063
LL
2022014-05-04 Leo Liu <sdl.web@gmail.com>
203
204 * calendar/diary-lib.el (calendar-chinese-month-name-array):
205 Defvar to pacify compiler.
206
3e9fa60a 2072014-05-04 Eli Zaretskii <eliz@gnu.org>
74a9022a
EZ
208
209 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
210
3e9fa60a 2112014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
e6cf6ca0
SM
212
213 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
214 Use nil rather than `default' for the "default" appearance (bug#17388).
215 * vc/ediff-util.el (ediff-inferior-compare-regions)
216 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
217 a misleading `default' value when it's really a boolean.
218 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
219 overlay is not visible.
220
3e9fa60a 2212014-05-04 Stephen Berman <stephen.berman@gmx.net>
7bd9ce64
SB
222
223 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
224 (todo-menu): Uncomment and update.
225
3e9fa60a 2262014-05-04 Stephen Berman <stephen.berman@gmx.net>
aed4b12d
SB
227
228 * calendar/todo-mode.el: Reimplement item editing to have the same
229 basic user interface as item insertion, and make small UI and
230 larger internal improvements to the latter.
231 (todo-insert-item): Add reference to the Todo mode user manual to
232 the documentation string.
233 (todo-insert-item--basic): Rename from todo-basic-insert-item and
234 adjust all callers. Change signature to combine diary and
235 nonmarking arguments. Incorporate functionality of deleted item
236 copying command and add error checking. Remove detailed
237 descriptions of the arguments from the documentation string, since
238 this is treated in the Todo mode user manual.
239 (todo-copy-item, todo-edit-multiline-item)
240 (todo-edit-done-item-comment, todo-edit-item-header)
241 (todo-edit-item-time, todo-edit-item-date-from-calendar)
242 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
243 (todo-edit-item-date-year, todo-edit-item-date-month)
244 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
245 Remove.
246 (todo-edit-item): Reimplement as wrapper command for
247 todo-edit-item--next-key and make it distinguish done and not done
248 todo items.
249 (todo-edit-item--text): New function, replacing old command
250 todo-edit-item and incorporating deleted commands
251 todo-edit-multiline-item and todo-edit-done-item-comment.
252 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
253 Use only numeric value of prefix argument. Remove detailed
254 descriptions of the arguments from the documentation string, since
255 this is treated in the Todo mode user manual.
256 (todo-edit-item--diary-inclusion): New function, replacing old
257 command todo-edit-item-diary-inclusion and incorporating and fixing
258 functionality of deleted command todo-edit-item-diary-nonmarking,
259 making sure to remove todo-nondiary-marker when adding
260 diary-nonmarking-symbol.
261 (todo-edit-category-diary-inclusion): Make sure to delete
262 diary-nonmarking-symbol when adding todo-nondiary-marker.
263 (todo-edit-category-diary-nonmarking): Fix indentation.
264 (todo-insert-item--parameters): Group diary and nonmarking
265 parameters together.
266 (todo-insert-item--apply-args): Adjust to signature of
267 todo-insert-item--basic and incorporate copy parameter.
268 Make small code improvements.
269 (todo-insert-item--next-param): Improve prompt and adjust it to
270 new parameter grouping. Remove obsolete code.
271 (todo-edit-item--param-key-alist)
272 (todo-edit-item--date-param-key-alist)
273 (todo-edit-done-item--param-key-alist): New defconsts.
274 (todo-edit-item--prompt): New variable.
275 (todo-edit-item--next-key): New function.
5e87fcb1
SM
276 (todo-key-bindings-t): Bind "e" to todo-edit-item.
277 Remove bindings of deleted commands.
aed4b12d 278
3e9fa60a 2792014-05-04 Leo Liu <sdl.web@gmail.com>
157e8cfd
LL
280
281 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
282
3e9fa60a 2832014-05-04 Glenn Morris <rgm@gnu.org>
d136f184
GM
284
285 * allout-widgets.el (allout-widgets-tally)
286 (allout-decorate-item-guides):
287 * menu-bar.el (menu-bar-positive-p):
288 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
289 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
290 * progmodes/js.el (js--inside-param-list-p)
291 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
292 * progmodes/prolog.el (region-exists-p):
293 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
294 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
295 Doc fixes (replace `iff').
296
3e9fa60a 2972014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4ec0cf9c
SM
298
299 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
300
bbdcf64f
LL
3012014-05-04 Leo Liu <sdl.web@gmail.com>
302
303 Support Chinese diary entries in calendar and diary. (Bug#17393)
304 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
305 (calendar-chinese-from-absolute-for-diary)
306 (calendar-chinese-to-absolute-for-diary)
307 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
308 (diary-chinese-list-entries): New functions to list and mark
309 Chinese diary entries in the calendar window.
310 (diary-chinese-anniversary)
311 (diary-chinese-insert-anniversary-entry)
312 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
313 (diary-chinese-insert-yearly-entry): New commands to insert
314 Chinese diary entries.
315
80a78d23
SM
316 * calendar/diary-lib.el (diary-font-lock-keywords):
317 Support font-locking Chinese dates.
bbdcf64f
LL
318
319 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
320 inserting Chinese diary entries.
321
80a78d23
SM
322 * calendar/calendar.el (diary-chinese-entry-symbol):
323 New customizable variable.
bbdcf64f
LL
324 (calendar-mode-map): Add bindings for inserting Chinese diary
325 entries.
326
cfd59d67
JL
3272014-05-03 Juri Linkov <juri@jurta.org>
328
329 * dired.el (dired-check-switches, dired-switches-recursive-p):
330 New functions. (Bug#17218)
331 (dired-switches-escape-p, dired-move-to-end-of-filename):
332 Use `dired-check-switches'.
333 (dired-insert-old-subdirs, dired-build-subdir-alist)
334 (dired-sort-R-check): Use `dired-switches-recursive-p'.
335
4807c7eb
BR
3362014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
337
a7e1ffdc
BR
338 * simple.el (undo-make-selective-list): New algorithm fixes
339 incorrectness of position adjustments when undoing in region.
340 (Bug#17235)
341 (undo-elt-crosses-region): Make obsolete.
80a78d23
SM
342 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
343 New functions to adjust positions using undo-deltas.
4807c7eb 344
17a873c5
SM
3452014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
346
347 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
348 the last consecutive closing paren (bug#17345).
349
724ee6dc
RT
3502014-04-30 Reuben Thomas <rrt@sc3d.org>
351
352 * dired.el (dired-mode): make terminology for eXpunge command
353 consistent. (Bug#17276)
354
72962dd8
EZ
3552014-04-30 Eli Zaretskii <eliz@gnu.org>
356
357 * dired.el (dired-initial-position-hook, dired-initial-position):
358 Doc string fixes.
359
09b911ad 3602014-04-30 Glenn Morris <rgm@gnu.org>
9a3f71f7
GM
361
362 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
363
09b911ad 3642014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
bc6953b3
MD
365
366 * faces.el (face-spec-recalc): Apply X resources only after the
2cfb51ef 367 defface spec has been applied. Thus, X resources are no longer
bc6953b3
MD
368 overriden by the defface spec which also fixes issues on win32 where
369 the toolbar coloring was wrong because it is set through X resources
370 and was (wrongfully) overriden. (Bug#16694)
371
09b911ad 3722014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
4f5fa755
SM
373
374 * textmodes/rst.el (electric-pair-pairs): Declare.
375 (rst-mode): Set it (bug#17131).
376
09b911ad 3772014-04-30 Juri Linkov <juri@jurta.org>
8e554df0
JL
378
379 * desktop.el (desktop-value-to-string): Let-bind `print-length'
380 and `print-level' to nil. (Bug#17351)
381
09b911ad 3822014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
0507406b
NR
383
384 * battery.el (battery-update): Handle the case where battery
385 status is "N/A" (bug#17319).
386
9b7b020d
SM
3872014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
388
389 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
390 to syntax-propertize.
391 (ps-mode-auto-indent): Mark as obsolete.
392 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
393 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
394 word regexp operators.
395 (ps-mode-map): Move initialization into declaration. Remove binding
396 for TAB, RET, >, ], and }.
397 (ps-mode-syntax-table): Move initialization into declaration.
398 Don't give word syntax to non-word chars.
399 (ps-run-mode-map): Move initialization into declaration.
400 (ps-mode-menu-main): Remove auto-indent entry.
401 (ps-mode-smie-rules): New function.
402 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
403 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
404 (ps-mode--string-syntax-table): New const.
405 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
406 New functions.
407 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
408 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
409
196bfaec
DC
4102014-04-27 Daniel Colascione <dancol@dancol.org>
411
412 * term/xterm.el (xterm-paste): Use large finite timeout when
413 reading event to avoid putting keys in this-command-keys.
414
5ba339c7
SM
4152014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
418 (perl-syntax-propertize-function): Use it. Extend handling of
419 here-docs to the unquoted case.
420
dff4a9f6 4212014-04-25 Eli Zaretskii <eliz@gnu.org>
bc0650fd 422
5ba339c7
SM
423 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
424 Use equal-including-properties to compare help-echo strings (bug#17331).
bc0650fd 425
dff4a9f6 4262014-04-25 Leo Liu <sdl.web@gmail.com>
00104e59
LL
427
428 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
429 Fix syntax for @. (Bug#17325)
430
dff4a9f6 4312014-04-25 Daniel Colascione <dancol@dancol.org>
543e3c63
DC
432
433 * emacs-lisp/cl.el (gv): Require gv early to break eager
434 macro-expansion cycles.
435
dff4a9f6 4362014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
c0868451 437
05452dc4
SM
438 * simple.el (region-active-p): Check there's a mark (bug#17324).
439
0e8a9331
SM
440 * simple.el (completion-list-mode-map): Use choose-completion for the
441 mouse binding as well (bug#17302).
442 (completion-list-mode, completion-setup-function): Adjust docstring and
443 echo area message accordingly.
444 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
445 calling convention of choose-completion.
446 * comint.el (comint-dynamic-list-completions):
447 * term.el (term-dynamic-list-completions): Accept choose-completion.
448
c0868451
SM
449 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
450 &, |, +, - and * can't be a division (bug#17317).
451
f7e0450a
SM
452 * term/xterm.el (xterm--version-handler): Don't use modern xterm
453 features on gnome-terminal (bug#16988).
454
5e4ab4e4
TTN
4552014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
456
457 Improve Scheme font-locking for (define ((foo ...) ...) ...).
458
459 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
460 the declared object, ignore zero or more parens, not zero or one.
461
d5031a2a
LL
4622014-04-24 Leo Liu <sdl.web@gmail.com>
463
464 * progmodes/xscheme.el (xscheme-expressions-ring)
465 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
466 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
467 (xscheme-allow-output-p, xscheme-prompt)
468 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
469
470 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
471 Comment out unused functions.
472
118b5a92
SM
4732014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * info.el: Use lexical-binding and cl-lib.
476 Use defvar-local and setq-local instead of make-local-variable.
477 (Info-apropos-matches): Avoid add-to-list.
478 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
479
9b233997
DC
4802014-04-24 Daniel Colascione <dancol@dancol.org>
481
482 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
483
ddc13efd
SM
4842014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
487
f2df692c
MH
4882014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
489
490 * dired.el (dired-insert-set-properties): Do not consider
491 subdirectory headings and empty lines to be information that
492 `dired-hide-details-mode' should hide. (Bug#17228)
493
14828a95
MA
4942014-04-22 Michael Albinus <michael.albinus@gmx.de>
495
496 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
497 Remove test messages.
498 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
499 and `target' twice.
500
42e91034 5012014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
622eef68 502
9c104369
SM
503 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
504 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
505
622eef68
SM
506 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
507
42e91034 5082014-04-22 Michael Albinus <michael.albinus@gmx.de>
505fa2ab 509
622eef68
SM
510 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
511 Set "IFS=" when using read builtin, in order to preserve spaces in
505fa2ab
MA
512 the file name. Add test messages for hunting a bug on hydra.
513 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
514
42e91034 5152014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
f0ffb9b7
SM
516
517 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
518 Don't prettify a word within a symbol.
519
42e91034 5202014-04-22 Michael Albinus <michael.albinus@gmx.de>
feb5d8a4
MA
521
522 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
523 possible.
524
1b0f10d2
DC
5252014-04-22 Daniel Colascione <dancol@dancol.org>
526
527 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
528 use defun to define `function-put'.
529
67c477ae
SM
5302014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
531
4f965793
SM
532 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
533 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
534 (lisp-mode-variables): Set font-lock-extra-managed-props.
535
67c477ae
SM
536 * emacs-lisp/byte-run.el (function-put): New function.
537 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
538 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
539 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
540 Use them.
541
66fda794
DC
5422014-04-22 Daniel Colascione <dancol@dancol.org>
543
67c477ae
SM
544 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
545 Add `full-p' parameter; when nil, call `macroexpand' instead of
12b1389c
DC
546 `macroexpand-all'.
547
548 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
549 Improve docstrings.
550
c98212f9
DC
551 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
552 Use lambda function values, not quoted lambdas.
553 (byte-compile-recurse-toplevel): Remove extraneous &optional.
554
66fda794 555 * emacs-lisp/cl-macs.el
c98212f9 556 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
66fda794
DC
557 (cl-struct-slot-value): Conditionally use aref or nth so that the
558 compiler produces optimal code.
559
d6f14ca7
SM
5602014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
563 (inline): Don't inline cl--set-elt.
564 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
565 Define as inlinable instead.
566 (cl-struct-set-slot-value): Remove.
567
568 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
569 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
570 Use setf instead.
571
44faec17
DC
5722014-04-21 Daniel Colascione <dancol@dancol.org>
573
574 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
575 last two parameters after all.
576 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
577 (cl--compiler-macro-assoc,cl-struct-slot-value)
578 (cl-struct-set-slot-value): Stop using them.
579
580(2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
9253f7af
SM
581
582 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
583 entry in image-mode-winprops-alist.
584
2fa1b97d
DC
5852014-04-21 Daniel Colascione <dancol@dancol.org>
586
9253f7af
SM
587 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
588 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
985c035f
DC
589 (byte-compile-toplevel-file-form): Use it.
590
2fa1b97d
DC
591 * emacs-lisp/cl-macs.el:
592 (cl--loop-let): Properly destructure `while' clauses.
593
e8a77f24
DC
5942014-04-20 Daniel Colascione <dancol@dancol.org>
595
596 * vc/vc.el (vc-root-dir): New public autoloaded function for
597 generically finding the current VC root.
598 * vc/vc-hooks.el (vc-not-supported): New error.
9253f7af 599 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
e8a77f24 600
89a2e783
DC
6012014-04-20 Daniel Colascione <dancol@dancol.org>
602
603 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
604 argument.
605 (cl--const-expr-val): cl--const-expr-val should macroexpand its
606 argument in case we're inside a symbol-macrolet.
607 (cl--do-arglist, cl--compiler-macro-typep)
608 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
609 environment to `cl--const-expr-val'.
610 (cl-struct-sequence-type,cl-struct-slot-info)
611 (cl-struct-slot-offset, cl-struct-slot-value)
612 (cl-struct-set-slot-value): New functions.
613
fe36068f
SM
6142014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
617 assignments such as "case=hello" (bug#17297).
618
ce8c5107
MA
6192014-04-18 Michael Albinus <michael.albinus@gmx.de>
620
621 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
622 Do not autoload.
623 (tramp-file-name-handler, tramp-completion-file-name-handler):
624 Revert patch from 2014-04-10, it isn't necessary anymore.
625 (tramp-autoload-file-name-handler)
626 (tramp-register-autoload-file-name-handlers): New defuns.
627 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
628 (tramp-register-file-name-handlers): Remove also
629 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
630 Do not autoload its invocation, but eval it after loading of 'tramp.
631
632 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
633
634 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
635
bfc30790
DC
6362014-04-17 Daniel Colascione <dancol@dancol.org>
637
638 Add support for bracketed paste mode; add infrastructure for
639 managing terminal mode enabling and disabling automatically.
640
641 * xt-mouse.el:
642 (xterm-mouse-mode): Simplify.
643 (xterm-mouse-tracking-enable-sequence)
644 (xterm-mouse-tracking-disable-sequence): New constants.
645 (turn-on-xterm-mouse-tracking-on-terminal)
67c477ae
SM
646 (turn-off-xterm-mouse-tracking-on-terminal):
647 Use tty-mode-set-strings and tty-mode-reset-strings terminal
bfc30790
DC
648 parameters instead of random hooks.
649 (turn-on-xterm-mouse-tracking)
650 (turn-off-xterm-mouse-tracking): Delete.
651
652 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
653 (xterm-paste-ending-sequence): New constant.
654 (xterm-paste): New command used for bracketed paste support.
655
656 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
657 (terminal-init-xterm-bracketed-paste-mode): New function.
658 (terminal-init-xterm): Call it.
659 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
660 and tty-mode-reset-strings instead of random hooks.
661 (xterm-turn-on-modify-other-keys)
662 (xterm-turn-off-modify-other-keys)
663 (xterm-remove-modify-other-keys): Delete obsolete functions.
664
67c477ae
SM
665 * term/screen.el: Rewrite to just use the xterm code.
666 Add copyright notice. Mention tmux.
bfc30790 667
e51c8d91
I
6682014-04-17 Ian D <dunni@gnu.org> (tiny change)
669
670 * image-mode.el (image-mode-window-put): Also update the property of
671 the "default window".
672 * doc-view.el (doc-view-new-window-function): If no window
673 exists, move to the last known page.
674
c76a7a5c
SM
6752014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
678 here-documents (bug#17262).
679
bf6b4923
EZ
6802014-04-16 Eli Zaretskii <eliz@gnu.org>
681
c76a7a5c
SM
682 * term/pc-win.el (x-list-fonts, x-get-selection-value):
683 Provide doc strings, as required by snarf-documentation.
bf6b4923 684
290d7ac2 6852014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
686
687 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
688 arg of overlays-at. Use `invisible-p'.
689
690 * obsolete/lucid.el (extent-at):
691 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
692 overlays-at.
693 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
694
290d7ac2 6952014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
696
697 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
698 links. (Bug#17217).
699
290d7ac2 7002014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
701
702 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
703 Use mapc to loop over a vector. (Bug#17257).
704
290d7ac2 7052014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
706
707 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
708 patch, there are new problems with file names containing spaces.
709 Get rid of backticks. (Bug#17238)
710
290d7ac2 7112014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
712
713 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
714 possible bug.
715
290d7ac2 7162014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
717
718 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
719 (blink-cursor-mode): Mention customization variables and the
720 effect of 'blink-cursor-blinks'.
721
290d7ac2 7222014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
723
724 * simple.el (undo): Prevent insertion of identity mapping into
725 undo-equiv-table so as undo-only does not inf loop in the presence
726 of consecutive nils in undo list.
727
290d7ac2 7282014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
729
730 * faces.el (make-face): Deprecate optional argument as it is no
731 longer needed/used since the conditional X resources handling
732 has been pushed down to make-face-x-resource-internal itself.
733 (make-empty-face): Don't pass optional argument to make-face.
734
5f6b4154
KF
7352014-04-16 Karl Fogel <kfogel@red-bean.com>
736
737 * savehist.el (savehist-save): Remove workaround for a read-passwd
738 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
739 noticing that the shim was still present.
740
005551fe
SM
7412014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
742
743 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
744
b92583c4
JB
7452014-04-14 Juanma Barranquero <lekktu@gmail.com>
746
747 * faces.el (face-set-after-frame-default): Remove unused local variable.
748
6c2453e0
SM
7492014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
750
f7993853
SM
751 * progmodes/grep.el: Use lexical-binding.
752 (grep-expand-template): Pass explicit lexical env to `eval'.
753 (zrgrep): Let-bind grep-find-template explicitly.
754
6c2453e0
SM
755 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
756 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
757
ac387dd1
EZ
7582014-04-12 Eli Zaretskii <eliz@gnu.org>
759
760 * international/characters.el <standard-case-table>: Add entries
761 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 762 Set category of Coptic characters be 'g' (Greek).
ac387dd1 763
2e611da6
LL
7642014-04-12 Leo Liu <sdl.web@gmail.com>
765
e0af4095
GM
766 * progmodes/octave.el (completion-table-with-cache):
767 Define if not available.
768 (octave-goto-function-definition, octave-sync-function-file-names)
769 (octave-find-definition-default-filename):
770 Backquote upattern for compatibility.
2e611da6 771
e0af4095 7722014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
773
774 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
775 name twice due to backticks. (Bug#17238)
776
e0af4095 7772014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
778
779 * term/w32-win.el (x-win-suspend-error):
780 * term/x-win.el (x-win-suspend-error): Sync docs.
781
7f0f4c25
MD
7822014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
783
f7993853
SM
784 * faces.el (make-face): Remove deprecated optional argument.
785 The conditional application of X resources is handled directly by
7f0f4c25
MD
786 make-face-x-resource-internal since Emacs 24.4.
787 (make-empty-face): Don't pass optional argument to make-face.
788
e088b01d
GM
7892014-04-11 Glenn Morris <rgm@gnu.org>
790
791 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
792
536aa466 7932014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
794
795 Ediff's overlay priorities cause more trouble than they solve.
796 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
797 (ediff-highest-priority): Remove function (bug#17234).
798 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
799 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
800 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
801 overlay priorities.
802
536aa466 8032014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
804
805 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
806 entry; use symbol boundaries to avoid mis-matches.
807
536aa466 8082014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
809
810 * net/tramp.el (tramp-file-name-handler)
811 (tramp-completion-file-name-handler): Avoid recursive loading.
812
813 * net/tramp-sh.el (tramp-make-copy-program-file-name):
814 Quote result also locally.
815
0d6a1375
SM
8162014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
817
c99ce7d8
SM
818 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
819 Remove left-over code.
820
0d6a1375
SM
821 * newcomment.el (comment-indent-new-line): Sink code where it's used.
822 Reuse the previous comment's indentation unconditionally if it's on its
823 own line.
824
3f63a9f7
DC
8252014-04-09 Daniel Colascione <dancol@dancol.org>
826
827 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
828 `no-syntax-crossing' arguments. Forward to `up-list'.
829 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
830 Implement logic for escaping from strings. Use narrowing to deal
831 with corner cases.
832
0b816f15
LL
8332014-04-09 Leo Liu <sdl.web@gmail.com>
834
835 * net/rcirc.el (rcirc-connection-info): New variable.
836 (rcirc-connect): Use it to store connection info.
837 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
838 for killed process.
839 (rcirc-cmd-reconnect): New command. (Bug#17045)
840 (rcirc-mode, set-rcirc-encode-coding-system)
841 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
842
22683580
DC
8432014-04-09 Daniel Colascione <dancol@dancol.org>
844
845 * emacs-lisp/cl-indent.el: Add comment claiming
846 facility is also good for elisp.
847 (lisp-indent-find-method): New function.
848 (common-lisp-indent-function): Recognize cl-loop.
849 (common-lisp-indent-function-1): Recognize cl constructs; use
850 `lisp-indent-find-method' instead of `get' directly.
851 (if): Use else-body style for elisp.
852
0122b24d
DG
8532014-04-09 Dmitry Gutov <dgutov@yandex.ru>
854
855 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
856 Module methods. (Bug#17216)
857
559836fb 8582014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
859
860 * help.el (describe-bindings): Fix buffer handling (bug#17210).
861 (describe-bindings-internal): Mark obsolete.
862
6bc76cee
SM
8632014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
866 buffer-file-name, and buffer-file-truename any more.
867
dc0b0454
LL
8682014-04-08 Leo Liu <sdl.web@gmail.com>
869
870 Use lexical-binding and require cl-lib.
871 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
872 (rcirc-handler-generic, rcirc-fill-paragraph)
873 (rcirc-format-response-string, rcirc-target-buffer)
874 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
875 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
876 (rcirc-ctcp-sender-PING, rcirc-browse-url)
877 (rcirc-markup-timestamp, rcirc-markup-attributes)
878 (rcirc-markup-my-nick, rcirc-markup-urls)
879 (rcirc-markup-bright-nicks, rcirc-markup-fill)
880 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
881 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
882 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
883 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
884 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
885 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
886 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
887 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
888 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
889 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
890 use cl-lib.
891
190f899a
JT
8922014-04-07 João Távora <joaotavora@gmail.com>
893
6f287c89
GM
894 * elec-pair.el (electric-pair--syntax-ppss):
895 When inside comments parse from comment beginning.
190f899a
JT
896 (electric-pair--balance-info): Fix typo in comment.
897 (electric-pair--in-unterminated-string-p): Delete.
898 (electric-pair--unbalanced-strings-p): New function.
899 (electric-pair-string-bound-function): New var.
900 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
901 according to `electric-pair--in-unterminated-string-p'
902
6f287c89
GM
903 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
904 Inhibit quote pairing if point-max is inside an unterminated string.
905 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
906 (electric-pair--in-unterminated-string-p): New function.
907
a9c921e6
GM
9082014-04-07 Glenn Morris <rgm@gnu.org>
909
910 * shell.el (shell-directory-tracker):
911 Go back to just ignoring failures. (Bug#17159)
912
6f287c89 9132014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
914
915 Fix `electric-pair-delete-adjacent-pairs' in modes binding
916 backspace. (bug#16981)
917 * elec-pair.el (electric-pair-backward-delete-char): Delete.
918 (electric-pair-backward-delete-char-untabify): Delete.
919 (electric-pair-mode-map): Bind backspace to a menu item filtering
920 a new `electric-pair-delete-pair' command.
921 (electric-pair-delete-pair): New command.
922
6f287c89
GM
923 * progmodes/python.el (python-electric-pair-string-delimiter):
924 Fix triple-quoting electricity. (Bug#17192)
89f20f76 925
6f287c89
GM
926 * elec-pair.el (electric-pair-post-self-insert-function):
927 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 928 `electric-pair-pairs' were used. syntax to
7aecc2f6 929 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 930
6f287c89 9312014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
932
933 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
934 "<F>". (Bug#17199)
935
6f287c89 9362014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
937
938 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
939 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
940
6f287c89 9412014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
942
943 * help.el (view-lossage): Doc tweak.
944
6f287c89 9452014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
946
947 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
948 only when inhibit-x-resources is nil, and do that earlier in the
949 function. Doc fix. (Bug#16694)
fdafd487
MD
950 (face-spec-choose): Accept additional optional argument, whose
951 value is returned if no matching attributes are found.
952 (face-spec-recalc): Use the new optional argument when calling
953 face-spec-choose. (Bug#16378)
f5e4494c
MD
954 (make-face-x-resource-internal): Do nothing when
955 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 956 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
957 (face-set-after-frame-default): Don't call
958 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 959
6f287c89 9602014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 961
0beb7fb7
SM
962 * doc-view.el (doc-view-bookmark-jump):
963 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
964 buffer is shown in a window. (bug#16090)
965
6f287c89 9662014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
967
968 * international/characters.el (mirroring): Fix last change:
969 instead of loading uni-mirrored.el explicitly, do that implicitly
970 by creating the 'mirroring' uniprop table. This avoids announcing
971 the loading of uni-mirrored.el.
972
6f287c89 9732014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
974
975 * files.el (buffer-stale--default-function)
976 (buffer-stale-function, revert-buffer--default):
977 * autorevert.el (auto-revert-buffers): Doc tweaks.
978
6f287c89 9792014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
980
981 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
982
6f287c89 9832014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
984
985 * files.el (make-backup-file-name-function)
986 (make-backup-file-name, make-backup-file-name--default-function)
987 (make-backup-file-name-1, find-backup-file-name)
988 (revert-buffer-function, revert-buffer-insert-file-contents-function)
989 (buffer-stale--default-function, buffer-stale-function)
990 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
991 (revert-buffer, revert-buffer--default)
992 (revert-buffer-insert-file-contents--default-function):
993 Doc fixes related to defaults no longer being nil.
994 (make-backup-file-name-function): Bump :version.
995 Restore nil as a valid but deprecated custom type.
996
6f287c89 9972014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 998
6f287c89
GM
999 * progmodes/perl-mode.el (perl-syntax-propertize-function):
1000 Handle $' used as a variable (bug#17174).
66f50b12
SM
1001
1002 * progmodes/perl-mode.el (perl-indent-new-calculate):
1003 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
1004 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1005 modifiers introducing expressions (bug#17116).
66f50b12 1006
7b656e4a
SM
10072014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1008
1009 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
1010
722237d5
LL
10112014-04-05 Leo Liu <sdl.web@gmail.com>
1012
7b656e4a
SM
1013 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1014 Add define-compilation-mode.
722237d5 1015
5cb0cc90
JT
10162014-04-04 João Távora <joaotavora@gmail.com>
1017
9b017563
JB
1018 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
1019 parse from comment beginning.
5cb0cc90
JT
1020 (electric-pair--balance-info): Fix typo in comment.
1021 (electric-pair--in-unterminated-string-p): Delete.
1022 (electric-pair--unbalanced-strings-p): New function.
1023 (electric-pair-string-bound-function): New var.
1024 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 1025 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 1026
6b31e6b1
SM
10272014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
1030 Move declaration before first use.
1031 (reftex-move-to-next-arg): Silence compiler warning.
1032
0de7d982
JK
10332014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
1034
6b31e6b1
SM
1035 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
1036 Use `window-total-width' instead of `window-width'.
0de7d982 1037
01ae0fbf
DC
10382014-04-03 Daniel Colascione <dancol@dancol.org>
1039
1040 * subr.el (set-transient-map): Remove rms's workaround entirely;
1041 use new `suspicious-object' subr to mark our lambda for closer
1042 scrutiny during gc.
1043
4fd68bf6
RS
10442014-04-02 Richard Stallman <rms@gnu.org>
1045
1046 * subr.el (set-transient-map): Comment out previous change.
1047
c7510f6e
GM
10482014-04-02 Glenn Morris <rgm@gnu.org>
1049
0b908bf2
GM
1050 * menu-bar.el (menu-bar-file-menu):
1051 * vc/ediff.el (ediff-current-file):
1052 Update for revert-buffer-function no longer being nil by default.
1053
c7510f6e
GM
1054 * simple.el (command-execute): Respect nil disabled-command-function.
1055
09aba815 10562014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
1057
1058 * simple.el (command-execute): Do not execute the command when it
1059 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1060
09aba815 10612014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
1062
1063 * dired-aux.el (dired-compress-file): Don't use string-match-p
1064 because its match data is used afterwards.
1065
09aba815 10662014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
1067
1068 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1069 0 like nil.
1070
200c532b
JT
10712014-04-02 João Távora <joaotavora@gmail.com>
1072
6b31e6b1
SM
1073 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1074 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
1075 (electric-pair--looking-at-unterminated-string-p):
1076 Delete.
1077 (electric-pair--in-unterminated-string-p): New function.
1078
2395f2b9
DC
10792014-04-01 Daniel Colascione <dancol@dancol.org>
1080
1081 * minibuffer.el (minibuffer-complete): Prevent assertion failure
1082 when trying to complete the prompt.
1083
294b2b09
LL
10842014-03-31 Leo Liu <sdl.web@gmail.com>
1085
6b31e6b1
SM
1086 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1087 Refactor out eldoc-documentation-function-default.
294b2b09
LL
1088 (eldoc-documentation-function-default): New function.
1089 (eldoc-documentation-function): Change value.
1090
4f3a895b
GM
10912014-03-31 Glenn Morris <rgm@gnu.org>
1092
1093 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1094
1db854cc
GM
1095 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1096 (vhdl-compose-components-package, vhdl-compose-configuration):
1097 Abbreviate default-directory (missing from some previous upstream sync).
1098
3c2d4776
RZ
10992014-03-31 Reto Zimmermann <reto@gnu.org>
1100
1101 Sync with upstream vhdl mode v3.35.2.
1102 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1103 (top-level): No longer require assoc.
1104 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1105 New functions. Use throughout to replace aget etc.
1106 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1107 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1108 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1109 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1110 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1111 except `vhdl-compiler'.
1112 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1113 when appropriate.
1114
5c30ab7a
GM
11152014-03-31 Glenn Morris <rgm@gnu.org>
1116
1117 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1118 Revert 2014-03-26 merge goof; go back to using defalias.
1119
1861d5a7
DC
11202014-03-30 Daniel Colascione <dancol@dancol.org>
1121
6b31e6b1
SM
1122 * comint.el (comint-send-input):
1123 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
1124 (Bug#17139).
1125
1126 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1127 on keyboard-quit.
1128
41116c5a
GM
11292014-03-29 Glenn Morris <rgm@gnu.org>
1130
1131 * textmodes/reftex.el: Manage most autoloads automatically.
1132 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1133 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1134 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1135 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1136 * textmodes/reftex-toc.el: Set generated-autoload-file,
1137 and add autoload cookies for reftex.el.
1138 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1139
c3153003
GM
11402014-03-28 Glenn Morris <rgm@gnu.org>
1141
7b207d6d
GM
1142 * cus-start.el (report-emacs-bug-address): Set custom properties.
1143 * mail/emacsbug.el (report-emacs-bug-address):
1144 Variable is now defined in emacs.c.
1145
c3153003
GM
1146 * mail/emacsbug.el (report-emacs-bug):
1147 Include system-configuration-features.
1148
687e0e19
MN
11492014-03-28 Michal Nazarewicz <mina86@mina86.com>
1150
1151 * simple.el (cycle-spacing): Never delete spaces on first run by
1152 default, but do so in a new 'fast mode and if there are already
4f3a895b 1153 N spaces (the previous behavior).
687e0e19
MN
1154 Compare N with its value in previous invocation so that changing
1155 prefix argument restarts `cycle-spacing' sequence.
687e0e19 1156 The idea is that with this change, binding M-SPC to
4f3a895b 1157 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
1158 the binding so long as users do not type M-SPC twice in a raw with
1159 the same prefix argument or lack thereof.
1160
95de732d
GM
11612014-03-28 Glenn Morris <rgm@gnu.org>
1162
1163 * faces.el (term-file-aliases): New variable.
1164 (tty-run-terminal-initialization): Respect term-file-aliases.
1165 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1166 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1167 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1168
6730259f
GM
11692014-03-27 Glenn Morris <rgm@gnu.org>
1170
862a4e4a
GM
1171 * startup.el (inhibit-startup-hooks): Doc tweak.
1172 (normal-top-level): Simplify running of hooks.
1173 For window-setup-hook, respect inhibit-startup-hooks.
1174 (command-line-1): Don't set window-setup-hook to nil.
1175
6730259f
GM
1176 Allow selective autoloading from obsolete/ directory.
1177 * Makefile.in (obsolete-autoloads): New rule.
1178 (autoloads): Run obsolete-autoloads.
1179 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1180 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1181
42ebc34e
DG
11822014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1183
929c0500
SM
1184 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1185 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 1186
42ebc34e
DG
1187 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1188 Don't propertize `?' or `!' as symbol constituent when after
1189 colon. (Bug#17097)
1190
b1c870c9
JB
11912014-03-27 Juanma Barranquero <lekktu@gmail.com>
1192
857ba6ec
JB
1193 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1194 which is no longer needed and causes trouble in GTK builds (bug#17046).
1195
b1c870c9
JB
1196 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1197 Use url-insert-file-contents; package-handle-response no longer exists.
1198
8ab9876a
DC
11992014-03-26 Daniel Colascione <dancol@dancol.org>
1200
1201 * simple.el (process-menu-mode-map): New variable.
1202 (process-menu-delete-process): New command.
1203
196716cf
JB
12042014-03-26 Juanma Barranquero <lekktu@gmail.com>
1205
1206 * emacs-lisp/package.el: Fix bug#16733 (again).
1207 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1208 (url-http-target-url): Remove unused declarations.
1209 (package-handle-response): Remove.
1210 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1211 (package--download-one-archive): Use current-buffer instead of
1212 dynamic binding of `buffer'.
1213 (describe-package-1): Do not decode readme-string.
1214
16adf2e6 12152014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
1216
1217 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1218
1219 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1220 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1221 `remote-file-name-inhibit-cache' to nil in the second pass.
1222 (tramp-find-executable): Do not call "which" on SunOS.
1223 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
1224 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1225 check whether source directory has set the sticky bit.
1f73d6c6 1226
16adf2e6 12272014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
1228
1229 * simple.el (primitive-undo): Only process marker adjustments
1230 validated against their corresponding (TEXT . POS). Issue warning
1231 for lone marker adjustments in undo history. (Bug#16818)
1232 (undo-make-selective-list): Add marker adjustments to selective
1233 undo list based on whether their corresponding (TEXT . POS) is in
1234 the region. Remove variable adjusted-markers, which was unused
1235 and only non nil during undo-make-selective-list.
1236 (undo-elt-in-region): Return nil when passed a marker adjustment
1237 and explain in function doc.
1238
16adf2e6 12392014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
1240
1241 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1242
16adf2e6 12432014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
1244
1245 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1246 Match special global variables without curlies, too.
1247 (ruby-font-lock-keywords): Simplify the matcher for special global
1248 variables. Don't require a non-word character after the variable.
1249 (Bug#17057)
1250
16adf2e6 12512014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
1252
1253 * simple.el (redisplay-highlight-region-function): Increase priority of
1254 overlay to make sure boundaries are visible (bug#15899).
1255
16adf2e6 12562014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 1257
16adf2e6
JB
1258 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1259 (frameset-restore): Compare display strings with equal.
ee79b33f 1260
3ea2c781
JB
1261 * frame.el (make-frame): Don't quote display name in error message,
1262 it is already a string.
1263
16adf2e6 12642014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
1265
1266 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1267 the password.
1268
16adf2e6 12692014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 1270
16adf2e6
JB
1271 * emacs-lisp/package.el (package--add-to-archive-contents):
1272 Include already installed and built-in packages in
1273 `package-archive-contents'.
1274 (package-install): Don't include already installed packages in the
1275 options during interactive invocation. (Bug#16762)
1276 (package-show-package-list): If the buffer is already displayed in
1277 another window, switch to that window.
1278
fb3deac8
RZ
12792014-03-26 Reto Zimmermann <reto@gnu.org>
1280
1281 Sync with upstream vhdl mode v3.35.1.
1282 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1283 (vhdl-compiler-alist): Doc fix.
1284 (vhdl-goto-line): Remove.
1285 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1286 (vhdl-mode) <paragraph-start>: Fix value.
1287 (vhdl-fix-statement-region): Not `for' in wait-statement.
1288 (vhdl-beautify-region): Also (un)tabify.
1289 (vhdl-get-visible-signals):
1290 Scan declarative part of generate statements.
1291 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
1292 (vhdl-expand-abbrev, vhdl-expand-paren):
1293 Revert to using fset again rather than defalias.
fb3deac8
RZ
1294 (vhdl-scan-directory-contents): Tweak.
1295 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1296 (vhdl-compose-components-package):
1297 Replace vhdl-goto-line with forward-line.
1298 (top-level): Tweak speedbar frame selection.
1299 (vhdl-generate-makefile-1): Support for compilers with no
1300 unit-to-file name mapping (create directory with dummy files).
1301
511df08c
WS
13022014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1303
1304 Sync with upstream verilog-mode revision 702457d.
1305 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1306 (create-lockfiles): Declare.
1307 (verilog-read-decls): Fix module header imports, bug709.
1308 Reported by Victor Lau.
1309 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1310 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 1311 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 1312
11ee65af
GM
13132014-03-26 Glenn Morris <rgm@gnu.org>
1314
b4aca021
GM
1315 * obsolete/gulp.el: Move here from emacs-lisp/.
1316
11ee65af
GM
1317 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1318 Remove fallback aliases, since they are always defined now.
1319
1edb4a2e
DC
13202014-03-24 Daniel Colascione <dancol@dancol.org>
1321
1322 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1323 instead of cl-loop search function.
1324
7a31038f
G
13252014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1326
1327 * calendar/parse-time.el (parse-time-iso8601-regexp)
1328 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1329 it more generally.
1330
13312014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1332
1333 * net/dns.el (network-interface-list): Define for XEmacs.
1334
13352014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1336
1337 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1338 the network interfaces changed.
1339 (dns-query): Use it to flush the data.
1340
835af719
JB
13412014-03-23 Juanma Barranquero <lekktu@gmail.com>
1342
1343 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1344
6ddc4422
DC
13452014-03-23 Daniel Colascione <dancol@dancol.org>
1346
1347 Change subword-mode to use `find-word-boundary-function-table' and
1348 replace `capitalized-words-mode'. Also, convert to lexical
1349 binding.
1350
1351 * progmodes/cap-words.el: Delete now-obsolete file.
1352 * progmodes/subword.el: Reimplement using
1353 `find-word-boundary-function-table'.
1354 (subword-mode-map): Hollow out.
1355 (capitalized-words-mode): Define as obsolete alias for
1356 `subword-mode'.
9b017563 1357 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 1358 implementation; call `subword-setup-buffer'.
9b017563 1359 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
1360 unused variable.
1361 (subword-find-word-boundary-function-table): New constant.
1362 (subword-empty-char-table): New constant.
1363 (subword-setup-buffer): New function.
1364 (subword-find-word-boundary): New function.
1365
c6b0fbe7
DC
13662014-03-23 Daniel Colascione <dancol@dancol.org>
1367
1368 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1369 list to look for keyword arguments instead of `memq', fixing
1370 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1371 Please make bootstrap.
1372
5076d275
GM
13732014-03-22 Glenn Morris <rgm@gnu.org>
1374
5dbc3244
GM
1375 * dired.el (dired-read-regexp): Make obsolete.
1376 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1377 (dired-flag-files-regexp):
1378 * dired-aux.el (dired-mark-read-regexp):
1379 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1380
00156f95
GM
1381 * startup.el (fancy-startup-text):
1382 * help.el (describe-gnu-project): Visit online info about GNU project.
1383
f9c81e7b
GM
1384 * help-fns.el (help-fns--interactive-only): New function.
1385 (help-fns-describe-function-functions): Add the above function.
1386 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1387 (next-line, previous-line): Remove hand-written interactive-only
1388 information from doc strings, it is auto-generated now.
1389 * bookmark.el (bookmark-write):
1390 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1391 (epa-mail-import-keys): Mark interactive-only,
1392 and remove hand-written interactive-only information from doc strings.
1393 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1394 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1395 * files.el (not-modified):
1396 * simple.el (mark-whole-buffer): Mark interactive-only.
1397
5076d275
GM
1398 * emacs-lisp/byte-run.el (defun-declarations-alist):
1399 Add interactive-only. Doc tweak.
1400 (macro-declarations-alist): Doc tweak.
1401 * subr.el (declare): Doc tweak (add xref to manual).
1402 * comint.el (comint-run):
1403 * files.el (insert-file-literally, insert-file):
1404 * replace.el (replace-string, replace-regexp):
1405 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1406 (delete-forward-char, goto-line, insert-buffer, next-line)
1407 (previous-line): Set interactive-only via declare.
1408
1197f2e6
DG
14092014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1410
1411 * emacs-lisp/package.el (package-desc): Use the contents of the
1412 quoted form, not its cdr. (Bug#16873)
1413
aac06179
JB
14142014-03-22 Juanma Barranquero <lekktu@gmail.com>
1415
1416 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1417 benefit of doc.c; change parameter profile to match the X function.
1418
3e7bc044
LL
14192014-03-22 Leo Liu <sdl.web@gmail.com>
1420
1421 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1422 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1423
59271b3e
RS
14242014-03-21 Richard Stallman <rms@gnu.org>
1425
8266cd88
RS
1426 * battery.el (battery-linux-sysfs): Search for each field
1427 from the beginning of the buffer.
1428
16ec0742
RS
1429 * subr.el (set-transient-map): Clear out function and value
1430 of the temporary symbol when we're done with it.
1431
59271b3e
RS
1432 * mail/rmailsum.el (rmail-summary-delete-forward):
1433 Optimize case of reaching end and handling count.
1434 (rmail-summary-mark-deleted): Optimize when N is current msg.
1435 Don't create new summary line.
1436 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1437 (rmail-summary-undelete-many): Rewrite for speed.
1438 (rmail-summary-msg-number): New function.
1439
1440 * mail/rmail.el (rmail-delete-message): Update summary.
1441 (rmail-undelete-previous-message): Handle repeat count arg.
1442 (rmail-delete-backward, rmail-delete-forward): Likewise.
1443
0d8ac93e
DC
14442014-03-21 Daniel Colascione <dancol@dancol.org>
1445
1446 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1447 information in bug reports.
1448
1e92a8a3
MA
14492014-03-21 Michael Albinus <michael.albinus@gmx.de>
1450
1451 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1452 and `tramp-copy-env'.
1453
1454 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1455 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1456
78540c42
GM
14572014-03-21 Glenn Morris <rgm@gnu.org>
1458
1459 * electric.el (electric-indent-post-self-insert-function): Add doc.
1460
1fc8f655
DG
14612014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1462
dcf78667
DG
1463 * emacs-lisp/package.el (package-compute-transaction):
1464 Use `version-list-<=' to compare the requirement version against
1465 the version of package already to be installed. Update the error
1466 message. (Bug#16826)
1467
1fc8f655
DG
1468 * progmodes/ruby-mode.el (ruby-smie-rules):
1469 Add indentation rule for ` @ '. (Bug#17050)
1470
dada060d
JB
14712014-03-21 Juanma Barranquero <lekktu@gmail.com>
1472
1473 * align.el (align-regexp): Remove superfluous backslash.
1474
1475 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1476 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1477 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1478 Fix docstring typos.
1479 (ffap-next): Use C-u in docstring.
1480 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1481 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1482 Remove superfluous backslashes.
1483 (ffap-string-at-point): Reflow docstring.
1484
1485 * server.el (server-host): Reflow docstring.
1486 (server-unload-function): Fix docstring typo.
1487 (server-eval-at): Remove superfluous backslash.
1488
1489 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1490 (skeleton-insert): Doc fix.
1491 (skeleton-insert): Reflow docstring.
1492
1493 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1494 (tty-color-approximate, tty-color-by-index, tty-color-values)
1495 (tty-color-desc): Remove superfluous backslashes.
1496
f428101f
GM
14972014-03-21 Glenn Morris <rgm@gnu.org>
1498
26e91130
GM
1499 * cus-start.el (history-length): Bump :version.
1500
aa3a7b51
GM
1501 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1502 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1503 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1504 Don't set `make-backup-files'.
1505
f428101f
GM
1506 * info.el (info--prettify-description): New function,
1507 to give info-finder descriptions consistent case, punctuation.
1508 (Info-finder-find-node): Use it. Sort packages.
1509 Refer to "description" rather than "commentary".
1510
6ce1b56e
JB
15112014-03-21 Juanma Barranquero <lekktu@gmail.com>
1512
1513 * frameset.el (frameset--print-register): New function.
1514 (frameset-to-register): Use it.
1515
b730af26
JB
15162014-03-20 Juanma Barranquero <lekktu@gmail.com>
1517
45393801
JB
1518 * progmodes/hideif.el (hif-string-to-number): New function.
1519 (hif-tokenize): Use it to understand non-decimal floats.
1520
814e26fa
JB
1521 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1522
b730af26
JB
1523 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1524
6f287c89
GM
15252014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1526
1527 * electric.el (electric-newline-and-maybe-indent): New command.
1528 Bind it globally to C-j.
1529 (electric-indent-mode): Don't mess with the global map any more.
1530 Don't drop the post-self-insert-hook is some buffer is still using it
1531 (bug#16770).
1532
1533 * bindings.el (global-map): Remove C-j binding.
1534
1535 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1536 the docstring of functions advised before dumping (bug#16993).
1537
f15ec1ba 15382014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
1539
1540 * ps-print.el (ps-generate-postscript-with-faces):
1541 Explicitly deactivate the mark (bug#16866).
1542 * simple.el (deactivate-mark): Update region highlight.
1543
f88bdc45
JB
15442014-03-19 Juanma Barranquero <lekktu@gmail.com>
1545
1546 * emacs-lisp/package.el (describe-package-1):
1547 Decode commentary (bug#16733).
1548
6b88e570
JB
15492014-03-18 Juanma Barranquero <lekktu@gmail.com>
1550
1551 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1552 modification of the value argument of :set (bug#16755).
1553
ac9b4703
SM
15542014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * simple.el (newline-and-indent): Do autofill (bug#17031).
1557
2b7858ec
DG
15582014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1559
1560 * newcomment.el (comment-normalize-vars): Only add escaping check
1561 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1562 (comment-beginning): Use `narrow-to-region' instead of moving back
1563 one character.
1564 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1565 (comment-start-skip): Update the docstring.
1566
11eff3ae
RS
15672014-03-18 Richard Stallman <rms@gnu.org>
1568
1569 * dired.el (dired-display-file): Force use of other window.
1570
07f44fdb
JB
15712014-03-18 Daniel Colascione <dancol@dancol.org>
1572
1573 * startup.el (tty-handle-args): Remove debug message from 2007.
1574
15752014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
1576
1577 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1578 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1579 (advice--make-1, advice-add, advice-remove):
1580 Remove braindead :advice-pending hack.
1581
61debe4a
GM
15822014-03-17 Glenn Morris <rgm@gnu.org>
1583
1584 * calendar/calendar.el (calendar-generate-month): Apply weekend
1585 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1586
8273986b
MA
15872014-03-17 Michael Albinus <michael.albinus@gmx.de>
1588
1589 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1590 (tramp-call-process): Trace also DESTINATION.
1591
1592 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1593 Quote file names when they are local. Remove superfluous trace.
1594
4f8aeb84
DG
15952014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1596
218feefc
DG
1597 * newcomment.el (comment-beginning): If `comment-start-skip'
1598 doesn't match, move back one char and try again. (Bug#16971)
1599
6c187ef5
SM
1600 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1601 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
1602 Set `comment-start-skip' to a simpler value that doesn't try to
1603 check if the semicolon is escaped (this is handled by
1604 `syntax-ppss' now). (Bug#16971)
1605
1606 * progmodes/scheme.el (scheme-mode-variables): Same.
1607
b92631bf
MR
16082014-03-16 Martin Rudalics <rudalics@gmx.at>
1609
1610 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1611 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1612 current (Bug#16816, Bug#17007).
1613 (with-current-buffer-window): New macro doing the same as
1614 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1615 * help.el (help-print-return-message): Warn in doc-string to not
1616 use this in `with-help-window'.
1617 (describe-bindings-internal): Call `describe-buffer-bindings'
1618 from within help buffer. See Juanma's scenario in (Bug#16816).
1619 (with-help-window): Update doc-string.
1620 * dired.el (dired-mark-pop-up):
1621 * files.el (save-buffers-kill-emacs):
1622 * register.el (register-preview): Use `with-current-buffer-window'
1623 instead of `with-temp-buffer-window'.
1624
57348c4d
JB
16252014-03-16 Juanma Barranquero <lekktu@gmail.com>
1626
1627 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1628 Implement inserting into current buffer, documented in their docstrings.
1629 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1630 (rst-section-tree-point, rst-forward-section, rst-indent)
1631 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1632 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1633 (rst-font-lock-handle-adornment-pre-match-form)
1634 (rst-repeat-last-character): Reflow docstrings.
1635 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1636 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1637 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1638 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1639 Fix docstring typos.
1640 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1641 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1642 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1643
fd16b061
JB
16442014-03-15 Juanma Barranquero <lekktu@gmail.com>
1645
a2403e3d
JB
1646 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1647 for compatibility with other ports.
1648 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1649 from the -xrm command line argument, but in the Nextstep port its value
1650 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1651
fd16b061
JB
1652 * progmodes/python.el (defconst, python-syntax-count-quotes)
1653 (python-indent-region, python-indent-shift-right)
1654 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1655 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1656 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1657 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1658 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1659 (python-shell-buffer-substring, python-shell-send-buffer)
1660 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1661 (python-completion-complete-at-point, python-fill-docstring-style)
1662 (python-eldoc-function, python-imenu-format-item-label)
1663 (python-imenu-format-parent-item-label)
1664 (python-imenu-format-parent-item-jump-label)
1665 (python-imenu--build-tree, python-imenu-create-index)
1666 (python-imenu-create-flat-index): Fix docstring typos.
1667 (python-indent-context, python-shell-prompt-regexp, run-python):
1668 Remove superfluous backslashes.
1669 (python-indent-line, python-nav-beginning-of-defun)
1670 (python-shell-get-buffer, python-shell-get-process)
1671 (python-info-current-defun, python-info-current-line-comment-p)
1672 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1673 (python-indent-post-self-insert-function, python-shell-send-file)
1674 (python-shell-completion-get-completions)
1675 (python-shell-completion-complete-or-indent)
1676 (python-eldoc--get-doc-at-point): Reflow docstrings.
1677
e94807f0
GM
16782014-03-14 Glenn Morris <rgm@gnu.org>
1679
88103345
GM
1680 * emacs-lisp/package.el (package-menu-mode-map):
1681 Replace use of obsolete function alias. Tweak menu item text.
1682
f2dd4ba8
GM
1683 * info.el (Info-finder-find-node):
1684 Ignore the `emacs' metapackage. (Bug#10813)
1685
ac0f82ef
GM
1686 * finder.el (finder-list-matches): Include unversioned packages
1687 in the result of a keyword search.
1688
e94807f0
GM
1689 * finder.el (finder--builtins-descriptions): New constant.
1690 (finder-compile-keywords): Use finder--builtins-descriptions.
1691
50d434d1
DG
16922014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1693
1694 * simple.el (blink-matching-paren): Describe the new value,
1695 `jump', enabling the old behavior.
1696 (blink-matching-open): Use that value. (Bug#17008)
1697
56759cf1
GM
16982014-03-14 Glenn Morris <rgm@gnu.org>
1699
459d74ef
GM
1700 * finder.el (finder-no-scan-regexp): Add leim-list.
1701 (finder-compile-keywords):
1702 Don't skip files with same basename. (Bug#14010)
1703 * Makefile.in (setwins_finder): New, excluding leim.
1704 (finder-data): Use setwins_finder.
1705
56759cf1
GM
1706 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1707 (help-function-arglist, help-make-usage): Move from here...
1708 * help.el (help-split-fundoc, help-add-fundoc-usage)
1709 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1710 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1711
7644aa97
JB
17122014-03-14 Juanma Barranquero <lekktu@gmail.com>
1713
1714 * net/socks.el (socks, socks-override-functions)
fd16b061 1715 (socks-find-services-entry):
7644aa97
JB
1716 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1717 (hif-find-ifdef-block):
1718 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1719
1720 * net/tls.el (tls-program): Reflow docstring.
1721
1722 * progmodes/pascal.el (pascal-mode-abbrev-table)
1723 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1724 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1725 (pascal-outline-mode): Fix docstring typos.
1726 (pascal-mode): Let define-derived-mode document mode hook.
1727 (pascal-uncomment-area): Reflow.
1728 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1729
1730 * progmodes/opascal.el (opascal-compound-block-indent)
1731 (opascal-case-label-indent): Fix docstring typos.
1732 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1733
1f44df94
DG
17342014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1735
07f44fdb
JB
1736 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1737 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 1738
0d71dfb3
TW
17392014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1740
1741 * emacs-lisp/package.el (package--prepare-dependencies):
1742 Accept requirements without explicit version (bug#14941).
1743
d27a1a7b
JB
17442014-03-12 Juanma Barranquero <lekktu@gmail.com>
1745
a5765a3d
JB
1746 * register.el (register-separator, copy-to-register): Doc fixes.
1747 (register-preview-default): Remove unnecessary call to concat.
1748
d27a1a7b
JB
1749 * frameset.el (frameset-restore): When checking for a visible frame,
1750 use the action map instead of calling visible-frame-list.
1751
08dfa0b7
JB
17522014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1753
1754 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1755
8960529e
MR
17562014-03-12 Martin Rudalics <rudalics@gmx.at>
1757
1758 * window.el (fit-frame-to-buffer): Get maximum width from
1759 display's width instead of height.
1760
8a51e8e4
GM
17612014-03-12 Glenn Morris <rgm@gnu.org>
1762
46456005
GM
1763 * desktop.el (desktop-restore-frames)
1764 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1765 (desktop-restore-reuses-frames): Doc tweaks.
1766
8a51e8e4
GM
1767 * electric.el (electric-indent-mode): Doc fix.
1768
5983b317
JB
17692014-03-12 Juanma Barranquero <lekktu@gmail.com>
1770
1771 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1772 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1773 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1774 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1775 (cvs-dired-use-hook): Fix docstring typos.
1776 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1777 Doc fixes.
1778
1779 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1780 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1781 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1782 (cvs-execute-single-dir): Fix docstring typos.
1783
1784 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1785 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1786
1787 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1788
1789 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1790 Fix docstring typos.
1791
13c00cf0
JB
17922014-03-12 Juanma Barranquero <lekktu@gmail.com>
1793
1794 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1795 called from jump-to-register after unloading the frameset package.
1796
536a17e3
SM
17972014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1798
1799 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1800 (bug#16975). Deactivate the mark before setting it to nil.
1801 (activate-mark): Do nothing if region is already active.
1802
baf8d0ac
JB
18032014-03-11 Juanma Barranquero <lekktu@gmail.com>
1804
1805 * frameset.el (frameset--target-display): Remove definition; declare.
1806 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1807
1ea22560
SM
18082014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1809
1810 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1811 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1812 when the advice is pending.
1813 (advice-remove): Remove this marker when not needed any more.
1814
4538c058
JB
18152014-03-11 Juanma Barranquero <lekktu@gmail.com>
1816
1817 * frameset.el: Separate options for reusing frames and cleaning up.
1818 (frameset--reuse-list): Remove definition; declare.
1819 (frameset--action-map): Declare.
1820 (frameset--find-frame-if): Doc fix.
1821 (frameset--restore-frame): Cache frame action.
1822 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1823 how to clean up the frame list after restoring. Remove cleaning
1824 options from REUSE-FRAMES. Change all keyword values to symbols.
1825 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1826
1827 * desktop.el (desktop-restore-forces-onscreen)
1828 (desktop-restore-reuses-frames): Use non-keyword values.
1829 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1830
ba1a5c78
GM
18312014-03-10 Glenn Morris <rgm@gnu.org>
1832
776aa432
GM
1833 * files.el (find-file): Doc fix: update info node name.
1834
ba1a5c78
GM
1835 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1836 Doc fix: remove references to deleted info nodes.
1837
183d706e
MA
18382014-03-10 Michael Albinus <michael.albinus@gmx.de>
1839
1840 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1841 Do not add `nil' to the environment, when there's no remote `locale'.
1842 (tramp-find-inline-encoding): Check, that the remote host has
1843 installed perl, before sending scripts.
1844
6f0f96e7
LL
18452014-03-10 Leo Liu <sdl.web@gmail.com>
1846
536a17e3
SM
1847 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1848 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 1849
ca70fe78
SM
18502014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1853 (bug#14430).
1854
eb67db41
JL
18552014-03-09 Juri Linkov <juri@jurta.org>
1856
1857 * ansi-color.el (ansi-color-names-vector): Copy default colors
1858 from `xterm-standard-colors' that look well on the default white
1859 background (and also on the black background) to avoid illegible
8cf07e5a 1860 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
1861 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1862
e7db5447
JB
18632014-03-08 Juanma Barranquero <lekktu@gmail.com>
1864
1865 * frameset.el (frameset-restore): When no frame is visible, do not
1866 generate a list of frames, just make visible the selected one.
1867
f0a4c8d7
DG
18682014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1869
1870 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1871 it only contains the repository root. (Bug#16897)
1872
e50772e3
MA
18732014-03-07 Michael Albinus <michael.albinus@gmx.de>
1874
1875 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1876 only when `remote-file-name-inhibit-cache' is nil.
1877 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1878
cac0a1d6
MR
18792014-03-06 Martin Rudalics <rudalics@gmx.at>
1880
1881 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1882 Fix doc-strings.
1883 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1884 fit-frame-to-buffer variable. Fix doc-string.
1885 (fit-window-to-buffer): Set ONLY argument in call of
1886 fit-frame-to-buffer. Fix doc-string.
1887
fa965cbf
MA
18882014-03-06 Michael Albinus <michael.albinus@gmx.de>
1889
1890 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1891 (tramp-action-password): Clear password cache if needed.
1892 (tramp-read-passwd): Do not clear password cache.
1893
1894 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1895 cache unless it is the first password request.
1896
c94e6ee4
GM
18972014-03-06 Glenn Morris <rgm@gnu.org>
1898
03bc753e
GM
1899 * simple.el (newline): Doc tweak.
1900
c94e6ee4
GM
1901 * emacs-lisp/shadow.el (load-path-shadows-find):
1902 Ignore dir-locals. (Bug#12357)
1903
bd2d43dc
GM
19042014-03-05 Glenn Morris <rgm@gnu.org>
1905
1906 * files.el (interpreter-mode-alist):
1907 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1908
9284000e
JB
19092014-03-05 Juanma Barranquero <lekktu@gmail.com>
1910
1911 * frameset.el (frameset--initial-params): Filter out null entries.
1912
e1a2cb1c
MR
19132014-03-05 Martin Rudalics <rudalics@gmx.at>
1914
27821a89
JB
1915 * window.el (window-min-height, window-min-width):
1916 Rewrite doc-strings.
e1a2cb1c
MR
1917 (window-body-size): Add PIXELWISE argument to make it consistent
1918 with its callees.
1919
6bf67038
JB
19202014-03-05 Juanma Barranquero <lekktu@gmail.com>
1921
1922 * finder.el (finder-mode-map, finder-mode-syntax-table):
1923 Revert part of 2014-02-28 change.
1924
90f04e4c
LI
19252014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1926
1927 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1928 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
1929 (eww-textarea-map): [tab] doesn't work on tty.
1930 Reported by Mario Lang.
6952100d
LI
1931
1932 * net/shr.el (shr-map): Ditto.
90f04e4c 1933
3106d59b
GM
19342014-03-04 Glenn Morris <rgm@gnu.org>
1935
1936 * minibuffer.el (completion-hilit-commonality):
1937 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1938
f604dfdc
JB
19392014-03-04 Juanma Barranquero <lekktu@gmail.com>
1940
1941 * hilit-chg.el (hilit-chg-unload-function): New function.
1942 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1943 (hilit-chg-map-changes): Prefer cardinal number to digit.
1944 (hilit-chg-display-changes): Reflow docstring.
1945 (highlight-changes-rotate-faces): Remove superfluous backslash.
1946
5dc65319
MA
19472014-03-04 Michael Albinus <michael.albinus@gmx.de>
1948
1949 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1950 `tramp-send-command-and-check'.
1951
4242d21d
JB
19522014-03-04 Juanma Barranquero <lekktu@gmail.com>
1953
b01fa838
JB
1954 * hexl.el (hexl-address-region, hexl-ascii-region)
1955 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1956 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1957 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1958 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1959 (hexl-mode): Doc fix.
1960 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1961 (hexl-mode-ruler): Fix typos in docstrings.
1962
4242d21d
JB
1963 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1964 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1965 Remove superfluous backslashes.
1966 (strokes-last-stroke, strokes-global-map, strokes-mode):
1967 Reflow docstrings.
1968 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1969 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1970 (strokes-distance-squared, strokes-global-set-stroke)
1971 (strokes-global-set-stroke-string): Doc fixes.
1972 (strokes-help): Fix typos; reflow docstring.
1973
87132570
MR
19742014-03-04 Martin Rudalics <rudalics@gmx.at>
1975
1976 * window.el (window-in-direction): Fix doc-string.
1977
d82e752c
GM
19782014-03-04 Glenn Morris <rgm@gnu.org>
1979
1980 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1981 Explicit error if no grammar.
1982 (smie-config-save): Doc fix. Fix quote typo.
1983
62528af0
SM
19842014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1985
8d4901dc
SM
1986 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1987 electric-indent-mode-hook if we obey electric-indent-mode.
1988 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1989 decide whether we obey electric-indent-mode.
1990 (c-change-set-fl-decl-start, c-extend-after-change-region):
1991 Silence warnings.
1992 (c-electric-indent-mode-hook): Assume we do want to obey
1993 electric-indent-mode.
1994
1995 * electric.el (electric-indent-mode-has-been-called): Remove.
1996 (electric-indent-mode): Fix accordingly.
1997
092c12b2
SM
1998 * files.el (hack-local-variables): Mention file name in warning.
1999
62528af0
SM
2000 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2001
5b87d0d9
MN
20022014-03-04 Michal Nazarewicz <mina86@mina86.com>
2003
20f39add 2004 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
2005 * simple.el (delete-forward-char): Mark as interactive-only.
2006
542a3840
JB
20072014-03-03 Juanma Barranquero <lekktu@gmail.com>
2008
f2d2402e
GM
2009 * icomplete.el (icomplete-completions):
2010 Follow-up to 2014-03-01 change.
d11320e5
JB
2011
2012 * icomplete.el: Miscellaneous doc fixes.
2013 Use Icomplete everywhere instead of icomplete for consistency.
2014 (icomplete-max-delay-chars): Fix typo.
2015 (icomplete-mode): Use \[].
2016 (icomplete-tidy, icomplete-exhibit): Reflow.
2017 (icomplete-minibuffer-setup-hook, icomplete-completions):
2018 Remove superfluous backlashes.
2019
2020 * ido.el: Miscellaneous doc fixes.
2021 Use Ido everywhere instead of ido or `ido' for consistency.
2022 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2023 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2024 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2025 (ido-separator): Extract obsolescence info from docstring and declare
2026 with make-obsolete-variable.
2027 (ido-minibuffer-setup-hook): Simplify example.
2028 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2029 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2030 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2031 (ido-everywhere): Reflow docstring.
2032 (ido-toggle-vc): Doc fix.
2033 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2034 of long list of keybindings.
2035
7ebd57e9
GM
20362014-03-03 Glenn Morris <rgm@gnu.org>
2037
2038 * frame.el (display-pixel-height, display-pixel-width)
2039 (display-mm-dimensions-alist, display-mm-height)
2040 (display-mm-width): Doc tweaks.
2041
35e951cd 20422014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
2043
2044 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2045 case of undo in region.
2046
b923819c
MR
20472014-03-02 Martin Rudalics <rudalics@gmx.at>
2048
2049 * window.el (fit-window-to-buffer): Fix argument in window-size
2050 call when window is horizontally combined.
2051
b6e443c5
JB
20522014-03-02 Juanma Barranquero <lekktu@gmail.com>
2053
2054 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 2055 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 2056
1850913d
DG
20572014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2058
35e951cd
JB
2059 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2060 Highlight regexp options. (Bug#16914)
1850913d 2061
04b577b6
MR
20622014-03-01 Martin Rudalics <rudalics@gmx.at>
2063
2064 * window.el (window--max-delta-1): Round down when calculating
2065 how many lines/columns we can get from a window.
2066
b829360f
GM
20672014-03-01 Glenn Morris <rgm@gnu.org>
2068
2501c912
GM
2069 * isearch.el (search-invisible): Doc fix.
2070
b829360f
GM
2071 * minibuffer.el (completion-hilit-commonality):
2072 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2073 * comint.el (comint-dynamic-list-completions): Doc fix.
2074 * comint.el (comint-dynamic-list-completions):
2075 * filecache.el (file-cache-minibuffer-complete):
2076 * tempo.el (tempo-display-completions):
2077 * eshell/em-hist.el (eshell-list-history):
2078 Replace use of obsolete argument of display-completion-list.
2079
9a155058
JB
20802014-03-01 Juanma Barranquero <lekktu@gmail.com>
2081
2082 * icomplete.el (icomplete-completions):
2083 Revert back to using "..." when ?… cannot be displayed.
2084
53f6cda8
JB
20852014-02-28 Juanma Barranquero <lekktu@gmail.com>
2086
2087 * finder.el (finder-unload-function): New function.
2088
43977c23
JB
20892014-02-28 Juanma Barranquero <lekktu@gmail.com>
2090
2091 * dframe.el (dframe-detach):
2092 * find-dired.el (find-dired, find-name-dired):
2093 * finder.el (finder-mode-map, finder-mode-syntax-table)
2094 (finder-headmark, finder-select, finder-mouse-select):
2095 Fix docstring typos.
2096
9dda75ad
MR
20972014-02-28 Martin Rudalics <rudalics@gmx.at>
2098
2099 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
2100 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2101 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2102 Fix doc-string based on a suggestion by Nicolas Richard
2103 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
2104 * help.el (with-help-window): Fix doc-string.
2105
8a73034e
IK
21062014-02-28 Ivan Kanis <ivan@kanis.fr>
2107
b70257b0
GM
2108 * net/shr.el (shr-image-animate): New option.
2109 (shr-put-image): Respect shr-image-animate.
8a73034e 2110
245aa73e
MA
21112014-02-28 Michael Albinus <michael.albinus@gmx.de>
2112
2113 * net/tramp-adb.el (tramp-adb-parse-device-names):
2114 Use `accept-process-output'.
2115 (tramp-adb-handle-file-truename): Cache the localname only.
2116 (tramp-adb-handle-make-directory)
2117 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2118 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2119 modes cannot be changed.
2120
2121 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2122 file properties of symlinks.
2123
48e15d64
PS
21242014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2125
2126 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2127 required/optional fields to match development biblatex. (Bug#16781)
2128
65b77347
AS
21292014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2130
2131 * saveplace.el (toggle-save-place):
2132 Fix argument handling. (Bug#16673)
2133
5e618aba
GM
21342014-02-28 Glenn Morris <rgm@gnu.org>
2135
2136 * minibuffer.el (completions-first-difference)
2137 (completions-common-part, completion-hilit-commonality): Doc fixes.
2138
6deb314e
KB
21392014-02-28 Karl Berry <karl@gnu.org>
2140
2141 * info.el (Info-mode-map): Add H for describe-mode,
2142 to synchronize with standalone Info.
2143
289996f5
EL
21442014-02-28 Emilio C. Lopes <eclig@gmx.net>
2145
2146 * progmodes/sql.el (sql-interactive-mode):
2147 Avoid setting global comint-input-ring-separator. (Bug#16814)
2148
79fc1191
MA
21492014-02-27 Michael Albinus <michael.albinus@gmx.de>
2150
2151 * net/dbus.el (dbus--init-bus): Declare function.
2152 (dbus-path-local, dbus-interface-local): New defconst.
2153 (dbus-init-bus): Use them.
2154 (dbus-return-values-table): Extend doc.
2155 (dbus-handle-bus-disconnect): Extend error message.
2156
298520df
JB
21572014-02-27 Juanma Barranquero <lekktu@gmail.com>
2158
2159 * subr.el (y-or-n-p): Fix double space issue in message.
2160
c22c1614
MA
21612014-02-27 Michael Albinus <michael.albinus@gmx.de>
2162
2163 * net/tramp.el (tramp-call-process): Improve trace message.
2164 (tramp-handle-insert-file-contents): Trace error case.
2165
2166 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2167 <insert-directory>: Use `tramp-handle-insert-directory'.
2168 (tramp-adb-handle-insert-directory): Remove function.
2169 (tramp-adb-send-command-and-check): New defun, replacing
2170 `tramp-adb-command-exit-status'. Change all callees.
2171 (tramp-adb-handle-file-attributes)
2172 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
2173 (tramp-adb-ls-output-name-less-p):
2174 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
2175 (tramp-adb-handle-delete-directory): Flush also file properties of
2176 the truename of directory.
2177 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2178 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2179 (tramp-adb-handle-write-region): Implement APPEND.
2180 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2181 properties correctly.
2182 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2183 variables. Check for connected devices only when needed.
2184
d9263618
GM
21852014-02-27 Glenn Morris <rgm@gnu.org>
2186
ea7826ba
GM
2187 * minibuffer.el (completion-table-dynamic)
2188 (completion-table-with-cache): Doc fixes.
2189
d9263618
GM
2190 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2191 (completing-read-multiple): Doc fixes.
2192
eff3168a
DC
21932014-02-27 Daniel Colascione <dancol@dancol.org>
2194
51f213c3
DC
2195 * minibuffer.el (completion--nth-completion): Fix indentation.
2196
eff3168a
DC
2197 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2198 explicit tramp path is empty.
2199
b77cfcd7
GM
22002014-02-27 Glenn Morris <rgm@gnu.org>
2201
2202 * emacs-lisp/crm.el (completing-read-multiple):
2203 Empower help-enable-auto-load.
2204
9577b569
GM
22052014-02-26 Glenn Morris <rgm@gnu.org>
2206
259887e8
GM
2207 * startup.el (command-line): Don't init the tty in daemon mode.
2208
1d491ef2
GM
2209 Avoid calling tty-setup-hook twice, eg if a term file
2210 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2211 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2212 (tty-create-frame-with-faces): Use it.
2213 * startup.el (command-line): Pass run-hook argument
2214 to tty-run-terminal-initialization.
2215
9577b569
GM
2216 * dired.el (dired-restore-desktop-buffer): Demote errors;
2217 eg in case a glob match fails. (Bug#16884)
2218
40ff7f86
DG
22192014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2220
b2388336
DG
2221 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2222 error from `read-from-string'. (Bug#16850)
2223
40ff7f86
DG
2224 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2225 result of `completing-read' in the interactive form. (Bug#16854)
2226
98bd6b32
GM
22272014-02-25 Glenn Morris <rgm@gnu.org>
2228
f086804c
GM
2229 * image.el (image-animate, image-animate-timeout):
2230 Stop animating images in dead buffers. (Bug#16878)
2231
c107155e
GM
2232 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2233
9577b569
GM
2234 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2235 Doc fixes.
98bd6b32
GM
2236 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2237 * term/sun.el (sun-raw-prefix-hooks):
2238 Use tty-setup-hook instead of term-setup-hook.
2239 (terminal-init-sun): Construct message from bytecomp plist.
2240 * term/wyse50.el (enable-arrow-keys): Doc fix.
2241
9c9e18e8
JB
22422014-02-24 Juanma Barranquero <lekktu@gmail.com>
2243
2244 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2245 Fix docstring typos.
2246
c848881f
MA
22472014-02-24 Michael Albinus <michael.albinus@gmx.de>
2248
2249 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2250
0e38ae05
NR
22512014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2252
2253 * minibuffer.el (completion--try-word-completion):
2254 Fix error when completing M-x commands (bug#16808).
2255
8ee4c296
LL
22562014-02-24 Leo Liu <sdl.web@gmail.com>
2257
2258 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2259
7d4bd627
JB
22602014-02-24 Juanma Barranquero <lekktu@gmail.com>
2261
2262 * apropos.el (apropos-print): Avoid formatting error when
2263 apropos-do-all and apropos-compact-layout are both t.
2264
e918e27f
JB
22652014-02-23 Juanma Barranquero <lekktu@gmail.com>
2266
2267 * apropos.el (apropos-property, apropos-all-words-regexp)
2268 (apropos-true-hit, apropos-variable, apropos-print):
2269 Fix docstring typos, and remove obsolete comment.
2270
85c01f80
MA
22712014-02-23 Michael Albinus <michael.albinus@gmx.de>
2272
2273 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2274 Preserve trailing "/". (Bug#16851)
2275
62f95022
DG
22762014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2277
2278 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2279 after `=>' (bug#16811).
dfdb365c
DG
2280 (ruby-smie-rules): Handle the inconsistent second element of the
2281 list returned by `smie-indent--parent'.
2282 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2283 method call.
62f95022 2284
025f2c81
JB
22852014-02-23 Juanma Barranquero <lekktu@gmail.com>
2286
2287 * elec-pair.el (electric-pair-text-syntax-table)
2288 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2289 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2290 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2291 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2292
123c84f9
GM
22932014-02-22 Glenn Morris <rgm@gnu.org>
2294
612c3e46
GM
2295 * imenu.el (imenu--generic-function): Doc fix.
2296
123c84f9
GM
2297 * register.el (frame-configuration-to-register): Make obsolete.
2298
e59fa9ad
JB
22992014-02-22 Juanma Barranquero <lekktu@gmail.com>
2300
2301 * desktop.el (desktop-save-buffer-p): Do not fail when
2302 desktop-files-not-to-save is nil. Return t for true result
2303 as the doc says.
2304
4e652634
DC
23052014-02-22 Daniel Colascione <dancol@dancol.org>
2306
27821a89 2307 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
2308 Check that attribute values are strings, avoiding the construction
2309 of invalid dbus messages.
4e652634 2310
f35affb6
JB
23112014-02-21 Juanma Barranquero <lekktu@gmail.com>
2312
2313 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2314 defun-declarations-alist.
2315
3d136b1b
SM
23162014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2319 (bug#16829).
2320
612ddfc0
JB
23212014-02-21 Juanma Barranquero <lekktu@gmail.com>
2322
2323 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2324 (whitespace-newline, whitespace-trailing, whitespace-line)
2325 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2326 (whitespace-space-after-tab): Fix typo in docstrings.
2327
c8481b1b
DG
23282014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2329
cb8f50a7
DG
2330 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2331
c8481b1b
DG
2332 * electric.el (electric-indent-functions-without-reindent):
2333 Add `yaml-indent-line'.
2334
bed5126f
JB
23352014-02-21 Juanma Barranquero <lekktu@gmail.com>
2336
34b71457
JB
2337 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2338 It has done nothing for years; should be removed after the release.
2339
bed5126f
JB
2340 * simple.el (choose-completion): Fix docstring typo.
2341 (read-quoted-char-radix): Remove unneeded * in docstring.
2342 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2343 Don't escape parentheses unnecessarily in docstrings.
2344
8dd3e94f
MR
23452014-02-21 Martin Rudalics <rudalics@gmx.at>
2346
2347 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
2348 * window.el (window--dump-window, window--dump-frame):
2349 New functions.
2350 (window--min-size-1): Account for window dividers.
2351 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
2352 sum of the window components has been calculated.
2353 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2354 nil make sure at least one text line and two text columns remain
2355 fully visible.
2356 (window-resize): Signal an error when window-resize-apply fails.
2357 (window--resize-child-windows): Fix calculation of by how many
2358 pixels a window can still be shrunk via window-new-normal.
2359 (adjust-window-trailing-edge): Call window--resizable with
2360 correct TRAIL argument.
2361
2ed94e04
MR
2362 (with-temp-buffer-window): Don't evaluate BODY within
2363 with-current-buffer (Bug#16816).
2364
0e5324c4
MA
23652014-02-21 Michael Albinus <michael.albinus@gmx.de>
2366
2367 * net/tramp.el (tramp-check-cached-permissions):
2368 Call `file-attributes' with `suffix' being a symbol but a string.
2369
48198420
DC
23702014-02-21 Daniel Colascione <dancol@dancol.org>
2371
2372 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2373 (dbus-init-bus): New function: call into dbus-init-bus-1
2374 and installs a handler for the disconnect signal.
2375 (dbus-call-method): Rewrite to look for result in cons.
2376 (dbus-call-method-handler): Store result in cons.
2377 (dbus-check-event): Recognize events with nil sender as valid.
2378 (dbus-handle-bus-disconnect): New function. React to bus
2379 disconnection signal by synthesizing dbus error for each
2380 pending synchronous or asynchronous call.
2381 (dbus-notice-synchronous-call-errors): New function.
2382 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2383 is true, not all the time.
2384
99e15133
JB
23852014-02-21 Juanma Barranquero <lekktu@gmail.com>
2386
e48983a6
JB
2387 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2388 Remove obsolescence declarations, these variables do not exist anymore.
2389
fdcfd745
JB
2390 * savehist.el (savehist-save-minibuffer-history)
2391 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2392 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2393 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2394 mostly, refer to "Savehist mode" when talking about the mode,
2395 and not the function.
2396
99e15133
JB
2397 * saveplace.el (save-place): Remove redundant info in docstring.
2398 (save-place-forget-unreadable-files, toggle-save-place)
2399 (save-place-forget-unreadable-files, save-place-dired-hook):
2400 Fix typos and remove unneeded backslashes.
2401
f5bee33b
MA
24022014-02-20 Michael Albinus <michael.albinus@gmx.de>
2403
2404 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2405 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2406
2407 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 2408 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
2409 (tramp-gvfs-handle-insert-directory): Remove function.
2410
2411 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2412 Call `tramp-handle-insert-directory'.
2413
ee0761ca
JB
24142014-02-20 Juanma Barranquero <lekktu@gmail.com>
2415
2416 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2417 before the start of buffer/region (bug#16799).
2418
4d49cc65
GM
24192014-02-20 Glenn Morris <rgm@gnu.org>
2420
2421 * isearch.el (search-invisible): Doc fix.
2422
eee0d650
TK
24232014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2424
2425 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2426 (bug#16657).
2427
94e5e202
JB
24282014-02-19 Juanma Barranquero <lekktu@gmail.com>
2429
2430 * frameset.el (frameset-restore): Delay removing an old frame's
2431 duplicate id until the new frame has been correctly created.
2432
50bfdd5d
MA
24332014-02-19 Michael Albinus <michael.albinus@gmx.de>
2434
2435 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2436 (tramp-check-cached-permissions): Call `file-attributes' if the
2437 cache is empty.
2438
2439 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 2440 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2441
2442 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 2443 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
2444 (tramp-gvfs-maybe-open-connection): Set always connection
2445 properties, even if target is mounted already.
2446
2447 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2448 Set tramp-autoload cookie.
2449 (tramp-get-remote-touch): New defun.
2450 (tramp-sh-handle-set-file-times): Use it.
2451 (tramp-sh-handle-directory-files-and-attributes):
2452 Use `tramp-handle-directory-files-and-attributes' if neither stat
2453 nor perl are available on the remote host.
2454
2455 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2456 "/". Write long listing only when "l" belongs to the switches.
2457
2458 * net/trampver.el: Update release number.
2459
f097a3d2
JB
24602014-02-19 Juanma Barranquero <lekktu@gmail.com>
2461
2462 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2463
8e009b78
MR
24642014-02-19 Martin Rudalics <rudalics@gmx.at>
2465
2466 * window.el (window-state-put): Allow WINDOW to refer to an
2467 internal window (Bug#16793).
2468
95160c90
GM
24692014-02-19 Glenn Morris <rgm@gnu.org>
2470
2471 * textmodes/remember.el: Move provide statement to end.
2472 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2473 (remember-notes): Doc fixes.
2474
b28df58c
SM
24752014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * delsel.el (delete-char): Restore incorrectly erased property
2478 (bug#16795).
2479
7108e1c0
JB
24802014-02-18 Juanma Barranquero <lekktu@gmail.com>
2481
2482 * frameset.el (frameset--restore-frame): When a frame is being reused
2483 and its root window is not alive, delete all the frame's windows before
2484 restoring the window state. This works around the issue in bug#16793.
2485
c863b6ad
GM
24862014-02-18 Glenn Morris <rgm@gnu.org>
2487
a73fae1f
GM
2488 * textmodes/remember.el (remember-data-directory)
2489 (remember-directory-file-name-format, remember-store-in-files)
2490 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2491 (remember-notes-save-and-bury-buffer)
2492 (remember-notes--kill-buffer-query): Doc fixes.
2493
c863b6ad
GM
2494 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2495
29238d28
AM
24962014-02-17 Alan Mackenzie <acm@muc.de>
2497
2498 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 2499 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 2500 to electric-indent-{,local-}-mode.
b28df58c
SM
2501 (c-basic-common-init): Set electric-indent-inhibit.
2502 Initialise c-electric-flag from electric-indent-mode.
29238d28 2503 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 2504 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
2505
2506 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 2507 hit, toggle electric-indent-local-mode.
29238d28 2508
b28df58c
SM
2509 * electric.el (electric-indent-mode-has-been-called):
2510 New variable.
29238d28 2511
c6463340
JB
25122014-02-17 Juanma Barranquero <lekktu@gmail.com>
2513
2514 * frameset.el (frameset-cfg-id): New function.
2515 (frameset--reuse-frame, frameset-restore): Use it.
2516 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2517
94912b88
SM
25182014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2519
2520 * ido.el (ido-file-internal): Remove unused var `d'.
2521 Use \` for to match BoS. Fit within 80n columns.
2522
26ea164c
DC
25232014-02-17 Daniel Colascione <dancol@dancol.org>
2524
2525 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2526 dbus-call-method check for completion using a busy-wait loop with
2527 gradual backoff.
2528
589d1988 25292014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
2530
2531 Sync with Tramp 2.2.9.
2532
2533 * net/trampver.el: Update release number.
2534
17d1b51b
DG
25352014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2536
2537 * ido.el (ido-file-internal): Don't add the name of an existing
2538 directory twice. (Bug#16747)
2539
5bcad689
GM
25402014-02-16 Glenn Morris <rgm@gnu.org>
2541
2542 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2543 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2544
25452014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
2546
2547 * progmodes/sql.el: Version 3.4
2548 (sql-oracle-options): New default value ("-L").
94912b88 2549 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 2550 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 2551 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
2552 (sql-login-delay): New variable.
2553 (sql-product-interactive): Use it.
2554
285f1858
JB
25552014-02-15 Juanma Barranquero <lekktu@gmail.com>
2556
2557 * frameset.el (frameset--jump-to-register): Check that buffer is live
2558 (bug#16749).
2559
5d645ea4
GM
25602014-02-15 Glenn Morris <rgm@gnu.org>
2561
2562 * info.el (info-initialize): Revert 2014-01-10 change.
2563
48c4f9b1
GM
25642014-02-14 Glenn Morris <rgm@gnu.org>
2565
b8630261
GM
2566 * replace.el (map-query-replace-regexp)
2567 (read-regexp-defaults-function, read-regexp): Doc fixes.
2568
b2bf2a25
GM
2569 * dired.el (dired-read-regexp):
2570 * faces.el (list-faces-display):
2571 * misearch.el (multi-isearch-read-matching-buffers)
2572 (multi-isearch-read-matching-files):
2573 * play/cookie1.el (cookie-apropos):
2574 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2575
48c4f9b1
GM
2576 * textmodes/remember.el (remember): Use frameset-to-register
2577 rather than frame-configuration-to-register.
2578
2804e0bd
JB
25792014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2580
2581 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2582 incorrect keybinding.
2583
0b87142f
DC
25842014-02-13 Daniel Colascione <dancol@dancol.org>
2585
2586 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2587 when adding overlays so that line numbers from compiler match line
2588 numbers we use.
2589
47a73eb0
GM
25902014-02-13 Glenn Morris <rgm@gnu.org>
2591
8abcfd51
GM
2592 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2593
47a73eb0
GM
2594 * jit-lock.el (jit-lock-mode): Doc fix.
2595
c9b6b262
JB
25962014-02-13 Juanma Barranquero <lekktu@gmail.com>
2597
2598 * apropos.el (apropos-read-pattern): When the user passes an empty
2599 string, give a more helpful error message than "Wrong type
2600 argument: stringp, nil".
2601
eb4c6947
SM
26022014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2605
0dab5068
GM
26062014-02-13 Glenn Morris <rgm@gnu.org>
2607
2608 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2609
59075dcf
SM
26102014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2611
2612 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2613 shift-select commands.
2614
5af9fbad
DG
26152014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2616
2617 * progmodes/js.el (js-indent-line): Don't widen.
2618 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2619
a215930c
GM
26202014-02-12 Glenn Morris <rgm@gnu.org>
2621
a8cb4247
GM
2622 * icomplete.el (icomplete): Add info-link to defgroup.
2623 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2624 (icomplete-minibuffer-map, icomplete-mode)
2625 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2626
a215930c
GM
2627 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2628 (package-menu-filter): Rename from package-menu-filter-interactive.
2629 Doc fix.
2630
26c5ecd9
JB
26312014-02-11 Juanma Barranquero <lekktu@gmail.com>
2632
2633 * frameset.el (frameset--jump-to-register): Select the required
2634 window and buffer before restoring position (bug#16696).
2635
fcd58a02
LI
26362014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2637
2638 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2639
bacb3380
GM
26402014-02-10 Glenn Morris <rgm@gnu.org>
2641
2642 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2643
881329dc
EZ
26442014-02-10 Eli Zaretskii <eliz@gnu.org>
2645
02328db9
EZ
2646 * w32-common-fns.el (x-get-selection): Doc fix.
2647 * select.el (x-get-selection): Doc fix. (Bug#15109)
2648
881329dc
EZ
2649 * face-remap.el (face-remap-add-relative)
2650 (face-remap-remove-relative, face-remap-reset-base)
2651 (face-remap-set-base): Call force-mode-line-update to redisplay
2652 the current buffer due to potential change in faces. (Bug#16709)
2653
c7db4c06
MA
26542014-02-10 Michael Albinus <michael.albinus@gmx.de>
2655
2656 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2657 script more robustly.
2658
6abe4589
LI
26592014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2660
7602b5c3
LI
2661 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2662
e3692ee0
LI
2663 * simple.el (choose-completion): Doc fix (bug#14160).
2664
41015524
LI
2665 * subr.el (event-start): Say what a nil EVENT value means.
2666
87c79dcb
LI
2667 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2668 (bug#14197).
2669
3ab49e2c
LI
2670 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2671
f3c60241
LI
2672 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2673
3bd1d8a8
LI
2674 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2675
6abe4589
LI
2676 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2677 predicate function (bug#15455).
2678
a11463de
DG
26792014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2680
2681 * ielm.el (inferior-emacs-lisp-mode): Instead of
2682 `comment-use-global-state', set `comment-use-syntax'.
2683
2ab0ad85
GM
26842014-02-10 Glenn Morris <rgm@gnu.org>
2685
2686 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2687
411141fb
AM
26882014-02-09 Alan Mackenzie <acm@muc.de>
2689
2690 Fix c-invalidate-state-cache on narrowed buffers.
2691 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2692 Widen when setting and clearing the CPP delimiter properties.
2693
d6d5fdf8
LI
26942014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2695
92c70367
LI
2696 * help.el (describe-bindings): Doc fix (bug#9888).
2697
468ef484
LI
2698 * files.el (save-buffer): Use ARG as the parameter name for
2699 consistency (bug#10346).
7e34193f 2700 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 2701
fc2b1ffa 2702 * cus-edit.el (customize-apropos): Fix error string.
382fd368 2703 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 2704 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 2705
790aceec
LI
2706 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2707
a54a7552 2708 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 2709 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 2710
dd163123
LI
2711 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2712 meaning of the parameter (bug#12282).
2713
9e108fe6
LI
2714 * files.el (find-file-noselect): Clarify prompt when changing
2715 readedness (bug#13261).
5a836f58
LI
2716 (locate-file): Suffixes aren't returned, so don't say that they
2717 are (bug#12674).
2356b316 2718 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 2719
20dda930
LI
2720 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2721 before we actually start to delete things (bug#16331).
2722
d6d5fdf8
LI
2723 * subr.el (event-start): Doc fix (bug#14228).
2724 (event-end): Ditto.
2725
2abd71e5
GM
27262014-02-09 Glenn Morris <rgm@gnu.org>
2727
2728 * emacs-lisp/warnings.el (lwarn):
2729 Empower help-enable-auto-load. (Bug#15940)
2730
c1b5900b
AS
27312014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2732
2733 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2734 (Bug#16690)
2735
429b93bd
MA
27362014-02-08 Michael Albinus <michael.albinus@gmx.de>
2737
2738 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2739 Insert output at end of buffer. (Bug#16120)
2740
b772a699
LI
27412014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2742
18c6aa8c
LI
2743 * simple.el (choose-completion-string-functions): Document new
2744 calling convention (bug#14153).
54dd147a 2745 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 2746
dce8463b
LI
2747 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2748
b772a699 2749 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 2750 (find-grep-dired): Doc fix (bug#14288).
b772a699 2751
2423c8d5
JL
27522014-02-08 Juri Linkov <juri@jurta.org>
2753
2754 * isearch.el (isearch-quote-char): Check character validity
2755 like in `quoted-insert' (bug#16677).
2756
518f26c2
LI
27572014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2758
893cc908
LI
2759 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2760
9165ffc0
LI
2761 * isearch.el (isearch-hide-immediately): Doc clarification
2762 (bug#14723).
2763
6ef4f3ce
LI
2764 * simple.el (line-move): Document utility function used many
2765 places in the Emacs sources (bug#14843).
2766
be58a238 2767 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 2768 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 2769 (dired-up-directory): Doc fix (bug#14848).
be58a238 2770
dd7aafbb
LI
2771 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2772
15cb9968
LI
2773 * files.el (file-relative-name): Doc fix (bug#15159).
2774
9788effd
LI
2775 * fringe.el (fringe-styles): Doc fix (bug#15239).
2776
c96411bd
LI
2777 * isearch.el (isearch-filter-predicate): Documentation typo fix
2778 (bug#15474).
2779
ea838c36
LI
2780 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2781
0d8a4ae7
LI
2782 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2783
f7a17bb3
LI
2784 * replace.el (replace-match-maybe-edit): Doc clarification
2785 (bug#15632).
2786
1bde5c3b
LI
2787 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2788
518f26c2
LI
2789 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2790
dd8e49fd
GM
27912014-02-08 Glenn Morris <rgm@gnu.org>
2792
2793 * help-fns.el (describe-variable):
2794 Check {file,dir}-local-variables-alist, and buffer-file-name,
2795 in the correct buffer.
2796
7e088b29
IL
27972014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2798
2799 * help-fns.el (describe-variable): Fix the case where
2800 a value is directory-local with no dir-locals file. (Bug#16635)
2801
41a4a82f
GM
28022014-02-08 Glenn Morris <rgm@gnu.org>
2803
2804 * abbrev.el (edit-abbrevs-mode):
2805 Derive from fundamental-mode. (Bug#16682)
2806
e255a703
JB
28072014-02-07 Juanma Barranquero <lekktu@gmail.com>
2808
2809 * simple.el (quoted-insert): Check character validity (bug#16677).
2810
c99cf5ee
JL
28112014-02-07 Juri Linkov <juri@jurta.org>
2812
2813 * desktop.el (desktop-read): Claim the lock when the owner is not
2814 the current process. (Bug#16157)
2815
7d7a68d8
JL
28162014-02-07 Juri Linkov <juri@jurta.org>
2817
2818 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2819 to "\\` ". (Bug#16651)
2820
2b777cd9
JL
28212014-02-07 Juri Linkov <juri@jurta.org>
2822
2823 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2824 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2825 (desktop-auto-save-cancel-timer): New function with some code from
2826 `desktop-auto-save-set-timer'.
2827 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2828 Instead of setting `desktop-save-mode' to nil, call
2829 `desktop-save-mode' with arg 0. (Bug#16630)
2830
60eabbb9
GM
28312014-02-07 Glenn Morris <rgm@gnu.org>
2832
99cf3859
GM
2833 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2834 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2835 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2836
2b568bc9
GM
2837 * obsolete/iswitchb.el: Move to obsolete/.
2838 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2839 since obsolete/ is not scanned for autoloads.
2840 * emacs-lisp/authors.el (authors-valid-file-names):
2841 Add iswitchb.el.
2842
60eabbb9
GM
2843 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2844 Disable now non-functional find-file-hook.
2845
629de968
MA
28462014-02-06 Michael Albinus <michael.albinus@gmx.de>
2847
2848 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2849 instead of ";" in order to avoid additional prompts. Let heredoc
2850 scripts read from tty. (Bug#16582)
2851 (tramp-send-command): No special handling of heredocs, it isn't
2852 necessary anymore.
2853
29127376
SM
28542014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2857 with a space (bug#16664). Limit the symbols considered to the ones
2858 that are bound or fbound (bug#16646).
2859
79b6e0a9
GM
28602014-02-06 Glenn Morris <rgm@gnu.org>
2861
2862 * epa.el (epa-mail-aliases): Doc fix.
2863
a333e4d2
DG
28642014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2865
29127376
SM
2866 * emacs-lisp/lisp.el (lisp-completion-at-point):
2867 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
2868 (bug#16604).
2869
2870 * minibuffer.el (completion-table-merge): New function.
2871
9a83b32b
MA
28722014-02-05 Michael Albinus <michael.albinus@gmx.de>
2873
2874 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2875 (tramp-sh-handle-set-file-acl)
2876 (tramp-sh-handle-start-file-process)
2877 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2878 (tramp-find-executable, tramp-send-command): Use it.
2879
451ea3e6
GM
28802014-02-05 Glenn Morris <rgm@gnu.org>
2881
9a83b32b 2882 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 2883
dd27d13b
FEG
28842014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2885
35e951cd 2886 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
2887 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2888
08e41897
AL
28892014-02-04 Anders Lindgren <andlind@gmail.com>
2890
2891 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2892 the names (bug#16620).
2893
764ec9e5
MR
28942014-02-03 Martin Rudalics <rudalics@gmx.at>
2895
08e41897
AL
2896 * faces.el (window-divider): New default value. Rewrite doc-string.
2897 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 2898
6da8227c
DG
28992014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2900
2901 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2902 `protected' and `public' can also be called without arguments.
2903
6a6b8e40
GM
29042014-02-03 Glenn Morris <rgm@gnu.org>
2905
7bcbca40
GM
2906 * register.el (window-configuration-to-register)
2907 (frame-configuration-to-register): Unadvertise unused argument.
2908 * frameset.el (frameset-to-register): Remove unused argument.
2909
719d965d 2910 * frameset.el (frameset-to-register):
6a6b8e40
GM
2911 * kmacro.el (kmacro-to-register):
2912 * register.el (increment-register):
2913 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2914 (calc-append-to-register, calc-prepend-to-register):
2915 * play/gametree.el (gametree-layout-to-register)
2916 (gametree-apply-register-layout):
2917 * textmodes/picture.el (picture-clear-rectangle-to-register)
2918 (picture-yank-rectangle-from-register):
2919 * vc/emerge.el (emerge-combine-versions-register):
2920 Use register-read-with-preview to read registers.
2921
5dca7759
JT
29222014-02-03 João Távora <joaotavora@gmail.com>
2923
2924 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2925 when at beginning of (possibly narrowed) buffer.
2926
709085b9
DC
29272014-02-02 Daniel Colascione <dancol@dancol.org>
2928
c295fc18 2929 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 2930 Also try to display local help from just before point.
709085b9 2931
99f7b0a6
AM
29322014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2933
2934 c-parse-state. Don't "append-lower-brace-pair" in certain
2935 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2936 recognised as a comment.
2937
2938 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2939 as well as normal comment starter.
2940 (c-parse-state-get-strategy): Extra return possibility
2941 'back-and-forward.
2942 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2943 return value list to indicate replacement of a brace-pair cons
2944 with its car.
2945 (c-parse-state-1): With 'back-and-forward, only call
2946 c-append-lower-brace-pair-to state-cache when cons-separated.
2947
f0a10576
JD
29482014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2949
2950 * term/ns-win.el (ns-suspend-error): New function.
2951 (ns-initialize-window-system): Add ns-suspend-error to
2952 suspend-hook (Bug#16612).
2953
b8d552c2
DC
29542014-02-02 Daniel Colascione <dancol@dancol.org>
2955
35e951cd
JB
2956 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2957 Make loading cc-mode silent.
b8d552c2 2958
f2b7d123
DC
29592014-02-02 Daniel Colascione <dancol@dancol.org>
2960
35e951cd
JB
2961 * comint.el (comint-prompt-read-only): Change doc to suggest
2962 remap keybinding.
f2b7d123 2963
4472a196
GM
29642014-02-02 Glenn Morris <rgm@gnu.org>
2965
2966 * register.el (register-read-with-preview, point-to-register)
2967 (window-configuration-to-register, frame-configuration-to-register)
2968 (jump-to-register, number-to-register, view-register, insert-register)
2969 (copy-to-register, append-to-register, prepend-to-register)
2970 (copy-rectangle-to-register): Doc fixes.
2971
70e5a261
SM
29722014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2973
2974 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2975 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2976 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2977 * help-fns.el (describe-function-1): Use it.
2978
7c324762
GM
29792014-02-02 Glenn Morris <rgm@gnu.org>
2980
2981 * register.el (register-preview-default): New function,
2982 split from register-preview.
2983 (register-preview-function): Rename from register-preview-functions,
2984 make it not a hook.
2985 (register-preview): Use register-preview-function.
2986 (register-read-with-preview): Error on non-character event. (Bug#16595)
2987
a09beb3d
DG
29882014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2989
2990 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2991 `:' before binary operators (bug#16609). Don't check for `:'
2992 before `[' and `(', or their syntax status. A percent literal
2993 can't end with either.
68e004e0
DG
2994 (ruby-font-lock-keywords): For built-ins that require arguments,
2995 check that they're followed by something that looks like argument
2996 (bug#16610).
a09beb3d 2997
ed4d2875
LI
29982014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2999
3000 * subr.el (butlast): Document what an omitted N means (bug#13437).
3001 (nbutlast): Ditto.
3002
dba6e3ec
LI
30032014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3004
3005 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3006 depth shallower (bug#16587).
cc477daa
LI
3007 (shr-tag-svg): Respect `shr-inhibit-images'.
3008 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 3009
e2a67bd0
DG
30102014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3011
3012 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3013 (ruby-smie-grammar): Make "." right-associative. Make its priority
3014 lower than the ternary and all binary operators.
3015 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
3016 parent, or the first "." parent at indentation.
3017 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
3018 (Bug#16593)
3019
bd21bf41
JL
30202014-01-31 Juri Linkov <juri@jurta.org>
3021
3022 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3023 from `make-hash-table'.
3024
3025 * textmodes/ispell.el (ispell-init-process): Change message format
3026 to be consistent with other messages.
3027
b7e615b9
GM
30282014-01-31 Glenn Morris <rgm@gnu.org>
3029
a69ecd19
GM
3030 * delsel.el (delete-selection-mode): Doc fix.
3031
9997d7e3
GM
3032 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3033 (trace-function-background): Doc fixes.
3034
fbb764b8
GM
3035 * ido.el (ido-use-virtual-buffers): Doc fix.
3036 Reset :version, since the default value has not changed.
3037
da942af1
GM
3038 * register.el (register-preview-delay, register-read-with-preview):
3039 Doc fixes.
3040
b7e615b9
GM
3041 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3042 do not mess with mail-buffer position (fixes 2009-11-03 change).
3043 * progmodes/cc-mode.el (c-submit-bug-report):
3044 Check auto-fill-mode is bound. (Bug#16592)
3045
0a25002d
DH
30462014-01-31 Darren Hoo <darren.hoo@gmail.com>
3047
3048 * startup.el (fancy-splash-image-file): New function,
3049 split from fancy-splash-head.
3050 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3051 so that we are both using the same image. (Bug#16574)
3052
ad78f432
GM
30532014-01-30 Glenn Morris <rgm@gnu.org>
3054
6bbc0c84
GM
3055 * simple.el (eval-expression): Doc fix.
3056
ad78f432
GM
3057 * hexl.el (hexl-mode-hook):
3058 * ielm.el (ielm-mode-hook):
3059 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3060 (lisp-interaction-mode-hook):
20f39add 3061 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
3062 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3063
7b2f049c
SM
30642014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3065
3066 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3067 is a symbol (bug#16584).
3068
0c633f13
GM
30692014-01-30 Glenn Morris <rgm@gnu.org>
3070
3071 * help.el (help-for-help-internal): Add "P" to text.
3072
5e61c1ef
GM
30732014-01-29 Glenn Morris <rgm@gnu.org>
3074
3075 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3076
1dcb169c
MR
30772014-01-28 Martin Rudalics <rudalics@gmx.at>
3078
3079 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3080 height constraints.
3081
a9128931
LL
30822014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3083
3084 * progmodes/hideif.el: Extend to full CPP expression syntax.
3085 (hif-token-alist): Add missing tokens.
3086 (hif-token-regexp): Add support for float/octal/hex immediates.
3087 (hif-string-literal-regexp): New const.
3088 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3089 (hif-exprlist): New function.
3090 (hif-parse-if-exp): Use it.
3091 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3092 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3093 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3094 (hif-logxor, hif-comma): New functions.
3095
a22359a7
GM
30962014-01-28 Glenn Morris <rgm@gnu.org>
3097
793ffe81
GM
3098 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3099
e3bd7eed
GM
3100 * indent.el (tab-stop-list): Doc fix. Add :version.
3101
a22359a7
GM
3102 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3103 (cvs-append-to-ignore): Add compatibility alias.
3104
52695556 31052014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 3106
bac524e0
GM
3107 * dired.el (dired-hide-details-mode): Don't autoload it,
3108 since it cannot be used outside Dired buffers anyway.
3109
52695556 3110 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 3111
52695556
GM
3112 * dired.el (dired-hide-details-hide-symlink-targets)
3113 (dired-hide-details-hide-information-lines)
3114 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
3115
3116 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3117 * strokes.el (strokes-file): Doc fix. Bump :version.
3118 (strokes-help): Doc fix.
3119 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3120 * emulation/viper.el (viper): Doc fix for custom group.
3121 (top-level): Remove oh-so-no-longer-relevant text about vip.
3122 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3123
3124 * ido.el (ido-save-directory-list-file):
3125 * saveplace.el (save-place-file):
3126 * calendar/timeclock.el (timeclock-file):
3127 * net/quickurl.el (quickurl-url-file):
3128 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3129 * progmodes/idlwave.el (idlwave-config-directory):
3130 * textmodes/remember.el (remember-data-file):
3131 Bump :version.
3132
169d6004
GM
31332014-01-26 Glenn Morris <rgm@gnu.org>
3134
de6a923b
GM
3135 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3136 Doc fix. Make obsolete.
3137 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3138
169d6004
GM
3139 * sort.el (delete-duplicate-lines): Doc fix.
3140
ed85dee6
RS
31412014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3142
3143 * progmodes/ada-mode.el (ada):
3144 * woman.el (woman): Link to info manual and Commentary section.
3145
3146 * progmodes/flymake.el (flymake):
3147 * nxml/nxml-mode.el (nxml):
3148 * net/eww.el (eww):
3149 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3150 * htmlfontify.el (htmlfontify):
3151 * ses.el (ses):
3152 * epa.el (epa):
3153 * ido.el (ido): Link to info manual.
3154
e0c67e1d
LL
31552014-01-25 Leo Liu <sdl.web@gmail.com>
3156
3157 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3158
35408b1a
AS
31592014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3160
3161 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3162 (bug#16537).
3163
76c3fa95
JB
31642014-01-24 Juanma Barranquero <lekktu@gmail.com>
3165
f77c7a99
JB
3166 * net/eww.el (eww-download-callback):
3167 Fix reference to eww-download-directory.
3168
76c3fa95
JB
3169 * emacs-lisp/bytecomp.el (byte-compile-file):
3170 Remove unused local variable `file-name'.
3171
1e548e40
GM
31722014-01-24 Glenn Morris <rgm@gnu.org>
3173
03f3b318
GM
3174 * woman.el (woman-default-faces, woman-monochrome-faces):
3175 Fix obsolescence specification.
3176
1e548e40
GM
3177 * subr.el (with-demoted-errors): Doc fix.
3178
d4f0427b
SM
31792014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3182 (cl--macroexp-fboundp): New function.
3183 (cl--make-type-test): Use it.
3184
1670e27f
GM
31852014-01-23 Glenn Morris <rgm@gnu.org>
3186
3187 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3188 * simple.el (eval-expression): Doc fixes.
3189
80efa207
GM
31902014-01-22 Glenn Morris <rgm@gnu.org>
3191
3192 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3193
29afcbab
SM
31942014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * emacs-lisp/package.el: Write files silently.
3197 (package-autoload-ensure-default-file, package--write-file-no-coding)
3198 (package-generate-description-file, package--download-one-archive)
3199 (package-install-from-archive): Tell `write-region' to stay quiet.
3200 (package-menu-mode, package-menu--print-info): Omit the Archive column
3201 if there's only one archive.
3202 (package-all-keywords, package--has-keyword-p): Remove dead code.
3203
2a5bce4f
GM
32042014-01-22 Glenn Morris <rgm@gnu.org>
3205
edace89f
GM
3206 * version.el (emacs-bzr-version-bzr): Fix typo.
3207
2a5bce4f
GM
3208 * version.el (emacs-repository-get-version):
3209 Check either .bzr or .git, but not both.
3210 Make the git case actually use the DIR argument, and return nil
3211 rather than the empty string.
983664c0 3212 Avoid error if .git exists but the git executable is not found.
2a5bce4f 3213
6cb4da45
MR
32142014-01-22 Martin Rudalics <rudalics@gmx.at>
3215
3216 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
3217 * window.el (window-total-size, window-size): New argument ROUND.
3218 (window--min-delta-1, window-min-delta, window--max-delta-1):
3219 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
3220 columns a window can shrink (Bug#16430).
3221 (fit-window-to-buffer): Simplify code.
3222 * term.el (term-window-width): Call window-body-width again.
3223
cc0f2ece
GM
32242014-01-22 Glenn Morris <rgm@gnu.org>
3225
7b997b14
GM
3226 * image.el (image-format-suffixes): Doc fix.
3227
44e76f9d
GM
3228 * international/quail.el (quail-define-package): Doc fix.
3229
35e951cd 3230 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 3231 (authors-renamed-files-alist): Additions.
7bfc1caa 3232
85a5f61f
GM
3233 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3234 reverts 2014-01-09 change. (Bug#16422)
3235
cc0f2ece
GM
3236 * calc/calc-embed.el (thing-at-point-looking-at):
3237 * emacs-lisp/map-ynp.el (x-popup-dialog):
3238 * obsolete/lmenu.el (x-popup-dialog):
3239 * emacs-lisp/package.el (url-recreate-url):
3240 * mail/mailclient.el (clipboard-kill-ring-save):
3241 * subr.el (x-popup-dialog): Update declaration.
3242 * mail/rmail.el (rmail-mime-message-p):
3243 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3244
00d2a6bb
DC
32452014-01-21 Daniel Colascione <dancol@dancol.org>
3246
3247 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3248 Correctly detect when we're inside an arithmetic expansion form
3249 containing nested parenthesis.
c295fc18 3250 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
3251 to detect cases where we shouldn't expand "<<" to a heredoc
3252 skeleton.
3253
dd9d2e9d
SM
32542014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3257 (eldoc--message-command-p): New function.
3258 (eldoc-display-message-p): Use it.
3259 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3260 message is not automatically erased for us.
3261 (eldoc-print-current-symbol-info): Erase previous message, if any.
3262
e7d807ca
TH
32632014-01-21 Tassilo Horn <tsdh@gnu.org>
3264
4ff0a0e5
TH
3265 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3266 specify it's an interactive function.
3267
dd9d2e9d
SM
3268 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3269 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
3270 citations with optional arguments.
3271
87503791
LL
32722014-01-21 Leo Liu <sdl.web@gmail.com>
3273
3274 * simple.el (read--expression): Don't enable eldoc-mode.
3275
6cc750ee
SM
32762014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * simple.el (move-beginning-of-line): Make sure we don't move forward
3279 (bug#16497).
3280
71f16bda
JL
32812014-01-20 Juri Linkov <juri@jurta.org>
3282
3283 * saveplace.el (toggle-save-place, save-place-to-alist)
3284 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3285 'dired-mode) before checking for dired-directory. (Bug#16477)
3286
3c5a4839
JL
32872014-01-20 Juri Linkov <juri@jurta.org>
3288
3289 * indent.el (indent-line-to): Use backward-to-indentation
3290 instead of back-to-indentation. (Bug#16461)
3291
f952002e
PE
32922014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3293
3294 Revert some of the CANNOT_DUMP fix (Bug#16494).
3295 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3296 but fixing this can wait until after the next release.
3297 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3298
93675500
MA
32992014-01-19 Michael Albinus <michael.albinus@gmx.de>
3300
3301 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3302 Use `password-word-equivalents'.
3303 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3304 to t. (Bug#5664, Bug#13124)
3305
e3af763f
AM
33062014-01-19 Alan Mackenzie <acm@muc.de>
3307
3308 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3309 points.
3310 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 3311 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
3312 * progmodes/cc-mode.el (c-before-change, c-after-change)
3313 (c-font-lock-fontify-region): Bind it here.
3314
4ff6d92d
MR
33152014-01-19 Martin Rudalics <rudalics@gmx.at>
3316
3317 * term.el (term-window-width): Call window-text-width instead of
3318 window-width (Bug#16470).
3319
9a685cf6
PE
33202014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3321
3322 * simple.el (password-word-equivalents): Remove duplicates.
3323 Sort, to make this easier next time.
3324 Downcase. Omit ": " after "jelszó".
3325
5aa78c2d
JD
33262014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3327
3328 * term/common-win.el (saved-region-selection): Defvar it.
3329 (x-select-text): Set saved-region-selection (Bug#16382).
3330
cabb250c
GM
33312014-01-18 Glenn Morris <rgm@gnu.org>
3332
3333 * emacs-lisp/authors.el (authors-aliases)
3334 (authors-renamed-files-alist): Add some entries.
3335
a1340440
MA
33362014-01-17 Michael Albinus <michael.albinus@gmx.de>
3337
93675500
MA
3338 * net/tramp.el (tramp-password-prompt-regexp):
3339 Use `password-word-equivalents' if available.
a1340440
MA
3340 (tramp-action-password, tramp-process-one-action)
3341 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3342
681ce5d2
CY
33432014-01-17 Chong Yidong <cyd@gnu.org>
3344
3345 * simple.el (password-word-equivalents): New defcustom.
3346 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3347 to 24.4.
3348 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3349 to t. (Bug#13124)
3350
fb3d479c
DG
33512014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3352
3353 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
3354 (ruby-align-to-stmt-keywords): Change the default value.
3355 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
3356 choices.
3357 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3358 keywords, check against the value of `ruby-alignable-keywords'
3359 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3360
0d613483
GM
33612014-01-17 Glenn Morris <rgm@gnu.org>
3362
fc23fe2d
GM
3363 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3364
0d613483 3365 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 3366 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
3367 (authors-ignored-files): Add some entries, remove others.
3368 (authors-ambiguous-files, authors-valid-file-names):
3369 Add some entries.
3370 (authors-renamed-files-alist): Add, remove, and adjust entries.
3371 (authors-renamed-files-regexps): Add some entries.
3372 Remove some very broad ones. Make some entries `lax'.
3373 (authors-lax-changelogs): New constant.
3374 (authors-disambiguate-file-name): Treat top-level specially.
3375 (authors-lax-changelog-p): New function.
3376 (authors-canonical-file-name): Check file as written against
3377 authors-valid-file-names. Do not special-case etc/.
3378 Handle `lax' logs and authors-renamed-files-regexps elements.
3379
2dbf4ffd
DG
33802014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3381
3382 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
3383 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3384 callers.
2dbf4ffd 3385
87b2a7f2
SM
33862014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3387
3388 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3389 Assume we're already in the proper buffer.
3390 Inspired by Anders Lindgren <andlind@gmail.com>.
3391 (follow-post-command-hook): Call it from the right buffer.
3392 (follow-comint-scroll-to-bottom): Adjust call.
3393 (follow-all-followers): Use get-buffer-window-list.
3394
93acfb0e
DC
33952014-01-15 Daniel Colascione <dancol@dancol.org>
3396
3397 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3398 `buffer-file-name' in interactive-form so that we don't leave
3399 pathless file names in `file-name-history'.
3400
ccc6b208
JL
34012014-01-15 Juri Linkov <juri@jurta.org>
3402
3403 * indent.el (indent-rigidly): Set deactivate-mark to nil
3404 in transient indentation mode. (Bug#16438)
3405
5c92e00d
DG
34062014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3407
3408 * emacs-lisp/package.el (package-desc-keywords): New function
3409 (Bug#16222).
3410 (describe-package-1, package-all-keywords)
3411 (package--has-keyword-p): Use it.
3412
dac69660
NR
34132014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3414
3415 * simple.el (define-alternatives): When creating the
3416 COMMAND-alternatives variable, assign COMMAND as its definition
3417 name so that `describe-variable' can relocate it.
3418
8b63edf8
ML
34192014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3420
3421 * font-lock.el (font-lock-keywords): Fix typo in docstring
3422 (bug#16307).
3423
c6a0b8eb
AM
34242014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3425
3426 * ispell.el (ispell-region): Reset `in-comment' for new line
3427 instead of wrongly reset `add-coment' (bug#13577).
3428
02bf443d
DU
34292014-01-14 Daiki Ueno <ueno@gnu.org>
3430
3431 * epa-file.el (epa-file-write-region): Encode the region according
3432 to `buffer-file-format'. Problem reported at:
3433 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3434
fd7fde15
SM
34352014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3438 so it applies in the right buffer (bug#16410).
3439
c176054f
DC
34402014-01-13 Daniel Colascione <dancol@dancol.org>
3441
3442 * textmodes/rst.el (rst-define-key): Provide deprecated
3443 keybindings through named functions instead of anonymous ones so
3444 that "??" doesn't appear in describe-mode output.
3445
e3f33e5d
BG
34462014-01-13 Bastien Guerry <bzg@gnu.org>
3447
3448 * simple.el (define-alternatives): Call the selected command
3449 interactively. When setting `COMMAND--implementation' for the
3450 first time, tell the user how to chose another implementation.
3451 Enhance the docstring.
3452
c055d654
SM
34532014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3456 (log-edit--match-first-line): New function.
3457 (log-edit-font-lock-keywords): Use it.
3458 (log-edit-mode): Make jit-lock-defer-multiline work.
3459
d791cc3b
BG
34602014-01-13 Bastien Guerry <bzg@gnu.org>
3461
3462 * rect.el (rectangle-mark-mode): When the region is not active,
3463 display a message saying that the mark as been set and that
3464 rectangle mode is in use.
3465 (rectangle--highlight-for-redisplay): Only put an overlay with a
3466 visible vertical bar when (display-graphic-p) is non-nil.
3467 This partially fixes Bug#16403.
3468
3c0c4562
JL
34692014-01-13 Juri Linkov <juri@jurta.org>
3470
3471 * info.el (Info-find-file): Go to DIR before displaying the error
3472 about a nonexistent file if no previous Info file is visited.
3473 Use `user-error' instead of `error' for "Info file %s does not exist".
3474 (Info-find-node-2): In case of a nonexistent node in unwind forms
3475 go to the Top node if there is no previous node to revert to.
3476 (Bug#16405)
3477
25a700d0
MR
34782014-01-13 Martin Rudalics <rudalics@gmx.at>
3479
3480 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
3481 * window.el (fit-frame-to-buffer): Fix doc-string.
3482 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
3483 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3484 when avoiding that frame goes partially off-screen.
3485 (fit-window-to-buffer): Respect window-min-height/-width
3486 (Bug#14096).
3487
6ae948d8
SM
34882014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3491 after an empty line.
3492
6137cb82
SM
34932014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3494
3495 * net/shr.el (shr-render-region): Autoload.
3496
e6344e17
XF
34972014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3498
3499 * net/eww.el (eww-download-directory): Rename from
3500 `eww-download-path' (Bug#16419).
3501
3b922c70
LL
35022014-01-12 Leo Liu <sdl.web@gmail.com>
3503
3504 * dired-x.el (dired-mode-map): Fix last change.
3505
3506 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3507
4fa51741
PE
35082014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3509
3510 Spelling fixes.
3511 * emacs-lisp/generic.el (generic--normalize-comments):
3512 Rename from generic--normalise-comments. All uses changed.
35e951cd 3513 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
3514 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3515 (bubbles--neighborhood-available)
3516 (bubbles--update-neighborhood-score):
3517 Rename from names with 'neighbourhood'. All uses changed.
3518
9b335362
LL
35192014-01-12 Leo Liu <sdl.web@gmail.com>
3520
3521 Re-implement the feature of showing eldoc info after editing.
3522 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3523 (eldoc-edit-message-commands): New function.
3524 (eldoc-print-after-edit): New variable.
3525 (eldoc-pre-command-refresh-echo-area): Emit message only by
3526 eldoc-message-commands.
3527 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3528 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 3529 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 3530 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 3531
e2a095b1
GM
35322014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3533 Eric S. Raymond <esr@thyrsus.com>
9685190b 3534
841a6d0c 3535 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 3536 function works correctly in either a Bazaar or Git repo.
0abf4134 3537
e2a095b1
GM
35382014-01-11 Eric S. Raymond <esr@thyrsus.com>
3539
6137cb82
SM
3540 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3541 Goes with removal of the joke manpages from /etc.
9685190b 3542
c295fc18 35432014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 3544
6137cb82
SM
3545 * mail/rmail.el (rmail-get-coding-system):
3546 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 3547
d2f16e93
GM
35482014-01-10 Glenn Morris <rgm@gnu.org>
3549
3550 * emacs-lisp/authors.el (authors-fixed-entries):
3551 Update for files that no longer exist.
3552
7e03bb32
ER
35532014-01-10 Eric S. Raymond <esr@thyrsus.com>
3554
3555 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 3556 24.3 (Tested).
7e03bb32 3557
dd806710
BB
35582014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3559
3560 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3561 and Podfile.
3562
ed6ec139
EZ
35632014-01-10 Eli Zaretskii <eliz@gnu.org>
3564
3565 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3566
cc33cac9
CY
35672014-01-10 Chong Yidong <cyd@gnu.org>
3568
6137cb82 3569 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 3570
d9d836b5
AL
35712014-01-10 Anders Lindgren <andlind@gmail.com>
3572
3573 * follow.el (follow-cache-command-list): Include right-char and
3574 left-char.
3575
06827ec8
PE
35762014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3577
3578 Spelling fixes.
3579 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3580 * woman.el (woman-mark-horizontal-position):
3581 Rename from woman-mark-horizonal-position. Use changed.
3582
458dbf5e
GM
35832014-01-10 Glenn Morris <rgm@gnu.org>
3584
dad6fae7
GM
3585 * info.el (info-initialize): If running uninstalled, ensure our
3586 own info files are always found first, even if INFOPATH is set.
3587
458dbf5e
GM
3588 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3589
05e0afce
DE
35902014-01-09 David Engster <deng@randomsample.de>
3591
3592 * emacs-lisp/eieio-custom.el:
3593 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3594 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3595 * emacs-lisp/eieio.el: Regenerate autoloads.
3596
f29778b3
ER
35972014-01-09 Eric S. Raymond <esr@thyrsus.com>
3598
3599 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 3600 following renames. (Bug#8756)
f29778b3 3601
684d44ef
SM
36022014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3603
3604 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3605 (bug#16382).
3606 (activate-mark): Add `no-tmm' argument.
3607 (set-mark, push-mark-command): Use it instead of running
3608 activate-mark-hook by hand.
3609
9475054f
ER
36102014-01-08 Eric S. Raymond <esr@thyrsus.com>
3611
3612 In preparation for the move to git, sanitize out some
3613 Bazaar-specific names.
3614
38942b9c
GM
3615 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3616
9475054f 3617 * version.el (emacs-bzr-version): Name changed to
689c9ca5 3618 emacs-repository-version. Obsolete-variable alias made.
9475054f 3619 * loadup.el: Follow through on this name change.
a12bf61e 3620 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
3621 assumption about the version control system in use.
3622
0f918d96 36232014-01-08 David Engster <deng@randomsample.de>
abb82152 3624
684d44ef
SM
3625 * help-fns.el (help-fns-describe-function-functions):
3626 New variable to call functions for augmenting help buffers.
abb82152
DE
3627 (describe-function-1): Remove explicit calls to
3628 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
3629 `help-fns--obsolete'. Put them in above new variable instead, and
3630 call them through `run-hook-with-args'.
3631 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3632 `eieio-describe-class'. Not meant for interactive use anymore,
3633 but to augment existing help buffers. Remove optional second
684d44ef
SM
3634 argument. Create proper button for file location.
3635 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
3636 possible.
3637 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3638 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
3639 (describe-method, describe-generic, eieio-describe-method):
3640 Remove aliases.
0f918d96
DE
3641 (eieio-help-constructor, eieio-help-generic): Rename from
3642 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3643 Rewrite to use `insert' in the current buffer and use proper help
3644 buttons.
3645 (eieio-help-find-method-definition)
3646 (eieio-help-find-class-definition): Also accept symbols as
3647 arguments.
3648 (eieio-help-mode-augmentation-maybee): Remove.
3649 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
3650 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3651 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 3652
136b74c5
PE
36532014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3654
3655 Spelling fixes.
3656 * language/china-util.el (hz-ascii-designation):
3657 Rename from hz-ascii-designnation.
3658 (hz-ascii-designation): Rename from hz-ascii-designnation.
3659 All uses changed.
3660
ec6c7de2
SM
36612014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3662
3663 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3664 package-alist.
3665
d6262c7c
BG
36662014-01-08 Bastien Guerry <bzg@gnu.org>
3667
4b9e6087
GM
3668 * emacs-lisp/package.el (package-delete):
3669 Correctly delete the package from package-alist.
d6262c7c 3670
0a3eec32
DU
36712014-01-08 Daiki Ueno <ueno@gnu.org>
3672
3673 * emacs-lisp/package.el (url-recreate-url): Declare.
3674 (url-http-target-url): Declare.
4b9e6087 3675 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
3676 (package--check-signature): Don't re-signal errors from
3677 package--with-work-buffer. Suggested by Stefan Monnier.
3678
68f0bb97
BG
36792014-01-07 Bastien Guerry <bzg@gnu.org>
3680
3681 * minibuffer.el (completion--try-word-completion): When both a
3682 hyphen and a space are possible candidates for the character
3683 following a word, display both candidates. (Bug#15980)
3684
7e1899d7
MR
36852014-01-07 Martin Rudalics <rudalics@gmx.at>
3686
3687 * window.el (balance-windows-2): While rounding don't give a
c295fc18 3688 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 3689
0030ec15
GM
36902014-01-07 Glenn Morris <rgm@gnu.org>
3691
3692 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3693 (menu-bar-help-menu): Use view-external-packages instead.
3694
2b6b4f20
BG
36952014-01-07 Bastien Guerry <bzg@gnu.org>
3696
3697 * emacs-lisp/package.el (package-delete): Also delete the package
3698 name from `package-alist', not its description only.
3699
e9be0a13
GM
37002014-01-07 Glenn Morris <rgm@gnu.org>
3701
3702 * help.el (view-external-packages):
3703 * menu-bar.el (menu-bar-help-extra-packages):
3704 Visit efaq.info rather than etc/MORE.STUFF.
3705
e4f74da9
JL
37062014-01-07 Juri Linkov <juri@jurta.org>
3707
3708 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3709 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3710
3711 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3712 that shadows RET. (Bug#16342)
3713
de7ce2d1
CY
37142014-01-07 Chong Yidong <cyd@gnu.org>
3715
3716 * isearch.el (isearch-yank-char, isearch-yank-word)
3717 (isearch-yank-line): Doc fix.
3718
6bdd9204
SM
37192014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3722 * emacs-lisp/elint.el (elint-find-builtins):
3723 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3724 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3725 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3726 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3727 * apropos.el (apropos-safe-documentation):
3728 * subr.el (symbol-file): Remove redundant fboundp.
3729 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3730
daccca97
BG
37312014-01-06 Bastien Guerry <bzg@gnu.org>
3732
3733 * hl-line.el (global-hl-line-overlay): Make a local variable.
3734 (global-hl-line-overlays): New variable to store all overlays.
3735 (global-hl-line-mode): Don't delete overlays from the current
3736 buffer when `global-hl-line-sticky-flag' is non-nil.
3737 (global-hl-line-highlight): Add new overlays to
3738 `global-hl-line-overlays'.
3739 (global-hl-line-unhighlight-all): New function to delete all
3740 overlays when turning off `global-hl-line-mode'.
3741 This fixes Bug#16183.
3742
ec00f20f
SM
37432014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * subr.el (set-transient-map): Fix nested case and docstring.
3746
a0031f97
TH
37472014-01-06 Tassilo Horn <tsdh@gnu.org>
3748
3749 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3750 `Texinfo' entry.
3751
bf6a77f3
DC
37522014-01-06 Daniel Colascione <dancol@dancol.org>
3753
3754 Fix defun navigation in vc log view.
3755
3756 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3757 like `beginning-of-defun'.
c295fc18 3758 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
3759 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3760 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 3761 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 3762 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 3763
d5081c1e
PE
37642014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3765
3766 Spelling fixes.
3767 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3768 * emacs-lisp/debug.el (cancel-debug-on-entry):
3769 * epg.el (epg-error-to-string):
3770 * files.el (recover-file):
3771 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3772 * mail/emacsbug.el (report-emacs-bug-hook):
3773 * mail/sendmail.el (mail-recover):
3774 * ses.el (ses-yank-resize):
3775 * term/ns-win.el (ns-print-buffer):
3776 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3777 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3778 All uses changed.
3779 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3780
53f6b148
LL
37812014-01-06 Leo Liu <sdl.web@gmail.com>
3782
3783 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 3784 to avoid shadowing global key. (Bug#16354)
53f6b148 3785
b82ace2f
DC
37862014-01-06 Daniel Colascione <dancol@dancol.org>
3787
3788 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3789 rst-mode.
3790
3669b636
MR
37912014-01-05 Martin Rudalics <rudalics@gmx.at>
3792
3793 * window.el (balance-windows): Add mising t to fix Bug#16351.
3794
1a29adc2
LMI
37952014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3796
3797 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3798 (bug#16285).
3d95a0f4
LMI
3799 (shr-insert): If we have a word that's longer than `shr-width',
3800 break after it anyway. Otherwise we'll do no breaking once we get
3801 such a long word.
1a29adc2 3802
f4018140
KN
38032014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3804
3fcfc4ee 3805 * net/eww.el (eww): Support single/double quote for search.
c295fc18 3806 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
3807 (eww-history-quit): Delete and use quit-window.
3808 (eww-history-kill): Delete, because it doesn't work well and
3809 not necessary.
3810 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 3811
4e619754
PE
38122014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3813
73dbf960
PE
3814 Fix misspelling of 'chinese' in rx (Bug#16237).
3815 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3816 chinese-two-byte.
3817
4e619754
PE
3818 Change subword regexps back to vars (Bug#16296).
3819 * progmodes/subword.el (subword-forward-regexp)
3820 (subword-backward-regexp): Change these back to variables.
3821
e18b70fc
SM
38222014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3825 syntax-begin-function (bug#16247).
3826
0d53f628
CY
38272014-01-03 Chong Yidong <cyd@gnu.org>
3828
3829 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3830 (advice--docstring): Delete variable.
3831 (advice--make-1): Leave the docstring empty.
3832 (advice-add): Use function-documentation for advised docstring.
3833
3834 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3835 Ignore function-documentation property when getting documentation.
3836 (ad-activate-advised-definition): Use function-documentation
3837 generate the docstring.
3838 (ad-make-advised-definition): Don't call
3839 ad-make-advised-definition-docstring.
3840 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3841 Delete functions.
3842
3843 * progmodes/sql.el (sql-help): Use function-documentation instead
3844 of dynamic-docstring-function property. No need to autoload now.
3845 (sql--help-docstring): New variable.
3846 (sql--make-help-docstring): Use it.
3847
6f547583
SM
38482014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3849
6ef9aed8
SM
3850 * ielm.el (ielm-tab): Retarget.
3851 (ielm-map): Use ielm-tab for tab.
3852 (ielm-complete-filename): Use comint-filename-completion.
3853 (ielm-complete-symbol): Remove.
3854 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3855 remove ielm-tab from completion-at-point-functions (bug#16224).
3856
6f547583
SM
3857 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3858 Beware signals raised by predicates (bug#16201).
3859
a574edbe
RS
38602014-01-02 Richard Stallman <rms@gnu.org>
3861
e831604d
RS
3862 * dired-aux.el (dired-do-print): Handle printer-name.
3863
6f547583
SM
3864 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3865 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
3866 (rmail-epa-decrypt): Turn off mime processing.
3867
3fcfc4ee 3868 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
3869 Add parens in message-id.
3870
3871 * mail/rmail.el (rmail-get-coding-function): Variable.
3872 (rmail-get-coding-system): Use it.
3873
04311a16
KH
38742013-12-31 Eli Zaretskii <eliz@gnu.org>
3875
3876 * international/mule-conf.el: Unify the charset indian-is13194.
3877 (indian-is13194): Specify unify-map.
3878
c8d89778
LL
38792013-12-31 Leo Liu <sdl.web@gmail.com>
3880
3881 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3882
e63ace37
DC
38832013-12-30 Daniel Colascione <dancol@dancol.org>
3884
9e0bf19a
DC
3885 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3886 of printing a useless when we resume from sleep.
3887
e63ace37 3888 * progmodes/sh-script.el
c295fc18 3889 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
3890 in indentation code. (Bug#16233)
3891
e9d6c46a
JT
38922013-12-28 João Távora <joaotavora@gmail.com>
3893
6f547583
SM
3894 * elec-pair.el (electric-pair-post-self-insert-function):
3895 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 3896
bf7bea5d
EZ
38972013-12-28 Eli Zaretskii <eliz@gnu.org>
3898
3899 * frame.el (window-system-for-display): Don't allow to create a
3900 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3901
8449dd1f
GM
39022013-12-28 Glenn Morris <rgm@gnu.org>
3903
9c5a5c77
GM
3904 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3905 Update callers.
3906
3907 * apropos.el (apropos-match-face):
3908 * calculator.el (calculator-displayer):
3909 * dabbrev.el (dabbrev-search-these-buffers-only):
3910 * face-remap.el (buffer-face-mode-face):
3911 * simple.el (yank-handled-properties):
3912 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3913 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3914 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3915 (hashcash-double-spend-database):
3916 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3917 (ruby-deep-indent-paren-style):
3918 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3919 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3920 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3921 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3922 Specify custom types.
3923
bb098075
GM
3924 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3925 * bookmark.el (bookmark-bmenu-use-header-line):
3926 * doc-view.el (doc-view-scale-internally):
3927 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3928 * register.el (register-preview-delay):
3929 * net/shr.el (shr-bullet):
3930 * progmodes/cfengine.el (cfengine-cf-promises)
3931 (cfengine-parameters-indent):
3932 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3933 * textmodes/reftex-vars.el (reftex-label-regexps):
3934 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3935
9c61f806
GM
3936 * net/tls.el (tls-certtool-program): Fix default value.
3937
3938 * desktop.el (desktop-restore-in-current-display):
3939 * newcomment.el (comment-empty-lines):
3940 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3941 (idlwave-pad-keyword):
3942 * progmodes/tcl.el (tcl-tab-always-indent):
3943 * textmodes/reftex-vars.el (reftex-index-default-tag):
3944 * elec-pair.el (electric-pair-skip-whitespace):
3945 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3946
8449dd1f
GM
3947 * emacs-lisp/authors.el (authors-ignored-files)
3948 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3949
fdadeb49
JC
39502013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3951
72140a0f
GM
3952 * shell.el (shell-dynamic-complete-command): Doc fix.
3953 (shell--command-completion-data): Shell completion now matches
3954 executable filenames from the current buffer's directory, on
da5ecfa9 3955 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 3956
e572a7d8
LI
39572013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3958
3959 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3960
7514d3f8
SM
39612013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3962
a4151f3b
SM
3963 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3964 (bug#16251).
3965
7514d3f8
SM
3966 * electric.el: Move all electric-pair-* to elec-pair.el.
3967 * elec-pair.el: New file, split from electric.el.
3968
ac5758d1
LI
39692013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3970
3971 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3972 indentation level is larger than the width, because that will
3973 infloop.
3974 (shr-insert): Fill repeatedly long texts, so that Japanese is
3975 formatted correctly (bug#16263).
24a6b65e
LI
3976 (shr-find-fill-point): Off by one error in comparison with the
3977 indentation.
ac5758d1 3978
7514d3f8 39792013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
3980
3981 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 3982 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
3983 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3984 if that keeps or improves their balance in buffers.
3985 (electric-pair-delete-adjacent-pairs): Delete the pair when
3986 backspacing over adjacent matched delimiters.
3987 (electric-pair-open-extra-newline): Open extra newline when
3988 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
3989 (electric--sort-post-self-insertion-hook):
3990 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
3991 minor-modes are activated.
3992 * simple.el (newline-and-indent): Call newline with interactive
3993 set to t.
3994 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
3995 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3996 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3997 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
3998 electric-pair-open-newline-between-pairs to nil.
3999
fbcc63a3
FEG
40002013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4001
4002 * progmodes/python.el: Use lexical-binding.
4003 (python-nav-beginning-of-defun): Stop searching ASAP.
4004
ed78d16c
XF
40052013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4006
4007 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4008 Fix interactive spec. Doc fix. (Bug#15754)
4009
38b2c142
KY
40102013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4011
4012 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 4013 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
4014 Fix edebug spec (bug#16184).
4015
3c856c14
LI
40162013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4017
83fa295c 4018 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
4019 (shr-insert): Don't infloop if we can't find a good place to break
4020 the line (bug#16256).
3c856c14 4021
01379221
FEG
40222013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4023
35e951cd 4024 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
4025 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4026 python-nav-lisp-forward-sexp-safe.
4027 (python-nav--forward-sexp): New argument SAFE allows switching
4028 forward sexp movement behavior for parens.
4029 (python-nav-forward-sexp): Throw errors on unterminated parens
4030 (Bug#16191).
4031 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4032 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
4033 (python-shell-buffer-substring):
4034 Use `python-nav-forward-sexp-safe'.
01379221 4035
99e4926f
LI
40362013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4037
4038 * net/shr.el (shr-find-fill-point): Don't break lines before a
4039 quotation mark.
c6c20584
LI
4040 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4041 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 4042 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 4043
fec0e828
KN
40442013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4045
4046 * net/eww.el (eww-form-textarea): Use a different face for
4047 textareas than text input since they have different keymaps
4048 (bug#16142).
4049
89c868ad
FEG
40502013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4051
7514d3f8
SM
4052 * progmodes/python.el (python-nav-beginning-of-statement):
4053 Speed up (Bug#15295).
89c868ad 4054
eeef121a
LI
40552013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4056
4057 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4058 the window configuration.
4059
121ea65f
EZ
40602013-12-24 Eli Zaretskii <eliz@gnu.org>
4061
4062 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4063 we run on MS-Windows or MS-DOS.
4064
18cee9ec
MR
40652013-12-24 Martin Rudalics <rudalics@gmx.at>
4066
4067 * window.el (balance-windows-area): Call window-size instead of
4068 window-height and window-width. Bug#16241.
4069
58f2b9a5
LI
40702013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4071
4072 * net/eww.el (eww-bookmark-quit): Remove.
4073 (eww-bookmark-browse): Restore the window configuration when you
4074 choose a bookmark (bug#16144).
4075
d64b6308
DC
40762013-12-24 Daniel Colascione <dancol@dancol.org>
4077
4078 * icomplete.el: Remove redundant :group arguments to `defcustom'
4079 throughout.
4080 (icomplete-show-matches-on-no-input): New customizable variable.
4081 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4082 we have something to show.
7514d3f8 4083 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 4084
0da54898
DC
40852013-12-23 Daniel Colascione <dancol@dancol.org>
4086
4087 * icomplete.el: Move `provide' to end of file.
4088
b90aa4f4
TZ
40892013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4090
4091 * net/gnutls.el (gnutls-verify-error): Add version tag.
4092
8cd22a08
CY
40932013-12-23 Chong Yidong <cyd@gnu.org>
4094
4095 * subr.el (set-transient-map): Rename from
4096 set-temporary-overlay-map. Doc fix.
4097
4098 * face-remap.el (text-scale-adjust):
4099 * indent.el (indent-rigidly):
4100 * kmacro.el (kmacro-call-macro):
4101 * minibuffer.el (minibuffer-force-complete):
4102 * repeat.el (repeat):
4103 * simple.el (universal-argument--mode):
4104 * calendar/todo-mode.el (todo-insert-item--next-param):
4105 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4106
7510b021
CY
4107 * indent.el (indent-rigidly): Use substitute-command-keys.
4108
72140a0f 41092013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
4110
4111 * net/eww.el (eww-tag-select): Add text-property to jump to next
4112 select field.
e9dc713d 4113 (eww): Add non-supported ftp error.
56890ecd 4114
1f87a56c
DG
41152013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4116
4117 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4118 comments. Handle electric indent after typing `?' and `!'.
4119
dca38cf9
CY
41202013-12-22 Chong Yidong <cyd@gnu.org>
4121
4122 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
4123 applicable to a frame, fall back on the defface spec.
4124 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 4125
f2351498
DG
41262013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4127
4128 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4129 after `{'. We need it after block openers, and it doesn't seem
4130 to hurt after hash openers.
4131
6cddebc1
DG
41322013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4133
4134 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4135 extracted from `ruby-smie-rules'.
4136 (ruby--electric-indent-chars): New variable.
4137 (ruby--electric-indent-p): New function.
4138 (ruby-mode): Use `electric-indent-functions' instead of
4139 `electric-indent-chars'.
4140
65a1da00
DG
41412013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4142
4143 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4144 docstring.
4145 (ruby-smie-rules): Indent plus one level after `=>'.
4146
b51ad4cf
RS
41472013-12-21 Richard Stallman <rms@gnu.org>
4148
4149 * simple.el (newline): Doc fix.
4150
72140a0f 41512013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 4152
e9dc713d 4153 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
4154 (eww-history-browse, eww-history-quit, eww-history-kill)
4155 (eww-history-mode-map, eww-history-mode): New command and
4156 functions to list browser histories.
e9dc713d
JB
4157 (eww-form-text): Support text form with disabled
4158 and readonly attributes.
4159 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 4160
5e1901c1
RS
41612013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4162
4163 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4164 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4165 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4166 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4167 Use `user-error'.
4168 (eww-bookmark-mode-map): Add menu.
4169 (eww-render, eww-mode): Use `setq-local'.
4170 (eww-tool-bar-map): New variable.
4171 (eww-mode): Set `tool-bar-map'.
4172 (eww-view-source): Check for `html-mode' with `fboundp'.
4173
073d5cfd
LMI
41742013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4175
4176 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4177 elements with text inside. Also remove debugging.
4178
41cf3d11
JD
41792013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4180
4181 * cus-start.el (all): Add ns-use-srgb-colorspace.
4182
aac2b673
CY
41832013-12-21 Chong Yidong <cyd@gnu.org>
4184
4185 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4186 undefined. Thus, theme settings for undefined faces do not take
4187 effect until the faces are defined with defface, the same as with
4188 theme variables.
4189
4190 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4191 (face-spec-reset-face): Don't assign extra properties in temacs.
4192 (face-spec-recalc): Apply X resources too.
4193
bacb0e77
CY
41942013-12-21 Chong Yidong <cyd@gnu.org>
4195
4196 * faces.el (face-spec-set):
4197 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4198 * custom.el (defface): Doc fixes (Bug#16203).
4199
77221051
CY
4200 * indent.el (indent-rigidly-map): Add docstring, and move commands
4201 into named functions.
4202 (indent-rigidly-left, indent-rigidly-right)
4203 (indent-rigidly-left-to-tab-stop)
4204 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4205 indentation direction based on bidi direction, and accumulate
4206 sequential commands in a single undo boundary.
4207 (indent-rigidly--pop-undo): New utility function.
4208
e0eb0550
JB
42092013-12-20 Juanma Barranquero <lekktu@gmail.com>
4210
4211 * faces.el (read-face-name): Require crm.el when using crm-separator.
4212
3282bd2e
DC
42132013-12-20 Daniel Colascione <dancol@dancol.org>
4214
4215 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4216 so that we don't reflow comments into the shebang line.
4217
1d42e5b6
JL
42182013-12-20 Juri Linkov <juri@jurta.org>
4219
4220 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4221 a position when `dired-directory' is non-nil. Check integer
4222 positions with `integerp'.
4223 (toggle-save-place, save-places-to-alist): Add check for
4224 `dired-directory'.
4225 (save-place-find-file-hook): Check integer positions with
4226 `integerp'.
4227 (save-place-dired-hook): Use `dired-goto-file' when
4228 `dired-filename' is found in the assoc list. Check integer
4229 positions with `integerp'.
4230 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4231
4232 * dired.el (dired-initial-position-hook): Rename back from
4233 `dired-initial-point-hook'.
4234 (dired-initial-position): Rename `dired-initial-point-hook' to
4235 `dired-initial-position-hook'.
4236 (dired-file-name-at-point): Doc fix. (Bug#15329)
4237
24da7273
JL
42382013-12-20 Juri Linkov <juri@jurta.org>
4239
4240 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4241 (read-regexp-suggestions): New function.
4242 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4243 Use `read-regexp-suggestions'. Add non-empty default to history
4244 for empty input.
4245 (occur-read-regexp-defaults-function): Remove function.
4246 (occur-read-primary-args): Use `regexp-history-last' instead of
4247 `occur-read-regexp-defaults-function'.
4248
4249 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4250 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4251 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4252 `hi-lock-read-regexp-defaults-function'. Doc fix.
4253 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4254 with `find-tag-default-as-symbol-regexp'. Doc fix.
4255 (hi-lock-read-regexp-defaults): Remove function.
4256 (hi-lock-regexp-okay): Add check for null.
4257
4258 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4259 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4260
4261 * subr.el (find-tag-default-as-symbol-regexp): New function.
4262 (find-tag-default-as-regexp): Move symbol regexp formatting to
4263 `find-tag-default-as-symbol-regexp'.
4264
137f57c8
S
42652013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4266
4267 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4268 (Bug#14179)
4269
f3a66082
SB
42702013-12-20 Stephen Berman <stephen.berman@gmx.net>
4271
4272 * calendar/todo-mode.el: New implementation of item insertion
4273 commands and key bindings.
4274 (todo-key-prompt): New face.
4275 (todo-insert-item): New command.
4276 (todo-insert-item--parameters): New defconst, replacing defvar
4277 todo-insertion-commands-args-genlist.
4278 (todo-insert-item--param-key-alist): New defconst, replacing
4279 defvar todo-insertion-commands-arg-key-list.
4280 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4281 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4282 (todo-insert-item--next-param): New functions.
4283 (todo-insert-item--args, todo-insert-item--argleft)
4284 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4285 New variables.
4286 (todo-key-bindings-t): Change binding of "i" from
4287 todo-insertion-map to todo-insert-item.
4288 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4289 (todo-insertion-command-name, todo-insertion-commands-names)
4290 (todo-define-insertion-command, todo-insertion-commands)
4291 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4292
2f99433b
SB
42932013-12-20 Stephen Berman <stephen.berman@gmx.net>
4294
4295 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4296 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4297 eval-when-compile.
4298 (todo-move-category): Allow choosing a non-existing todo file to
4299 move the category to, and create that file.
4300 (todo-default-priority): New user option.
4301 (todo-set-item-priority): Use it.
4302 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4303 (desktop-restore-file-buffer): Declare.
4304 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4305 (todo-modes-set-2): Locally set desktop-save-buffer to
4306 todo-desktop-save-buffer.
4307 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4308 (auto-mode-alist): Add autoload cookie.
4309
131e4695
BB
43102013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4311
4312 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4313 helpers.el was a poor choice of name.
3cbfb935
BB
4314 (string-remove-prefix): New function.
4315 (string-remove-suffix): New function.
131e4695 4316
c44de18d
MR
43172013-12-20 Martin Rudalics <rudalics@gmx.at>
4318
4319 Fix assignment for new window total sizes.
4320 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
4321 (window--pixel-to-total-1, window--pixel-to-total):
4322 Fix calculation of new total sizes.
c44de18d 4323
ca65efcc
VS
43242013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4325
4326 * comint.el (comint-output-filter): Fix rear-nonsticky property
4327 placement (Bug#16010).
4328
a9574eb7
CY
43292013-12-20 Chong Yidong <cyd@gnu.org>
4330
4331 * faces.el (read-color): Minor fix for completion function.
4332
b520f210
DG
43332013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4334
e0eb0550
JB
4335 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4336 New option. (Bug#16182)
b520f210
DG
4337 (ruby-smie--indent-to-stmt-p): Use it.
4338 (ruby-smie-rules): Revert the logic in the handling of `when'.
4339 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4340 (ruby-deep-arglist, ruby-deep-indent-paren)
4341 (ruby-deep-indent-paren-style): Update docstrings to note that the
4342 vars don't have any effect with SMIE.
4343
26b75b45
JB
43442013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4345
4346 * calc/calc.el (calc-enter, calc-pop): Use the variable
4347 `calc-context-sensitive-enter'.
4348
cf91cee7
LMI
43492013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4350
4351 * net/shr.el (shr-insert): Protect against infloops in degenerate
4352 tables.
4353
51d971b4
RS
43542013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4355
4356 * progmodes/octave.el (octave): Add link to manual and octave
4357 homepage.
4358 (octave-mode-menu): Link to octave-mode manual.
4359
8c2e462a
LL
43602013-12-20 Leo Liu <sdl.web@gmail.com>
4361
4362 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4363 insertion using skeleton-end-newline. (Bug#16138)
4364
501158bc
JL
43652013-12-20 Juri Linkov <juri@jurta.org>
4366
4367 * replace.el (occur-engine): Use `add-face-text-property'
4368 to add the face property to matches and titles. (Bug#14645)
4369
4370 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4371 the palette of other hi-lock colors.
4372 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4373
50ab1da6
JL
43742013-12-19 Juri Linkov <juri@jurta.org>
4375
4376 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4377 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4378 (minibuffer-history-symbol): Move variable declaration closer to
4379 its usage.
4380
4381 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4382 (Bug#14785)
4383
3d6e95e7
JL
43842013-12-19 Juri Linkov <juri@jurta.org>
4385
4386 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4387 New function.
4388 (log-edit-hook): Add it to :options. (Bug#16170)
4389
b41594fd
JL
43902013-12-19 Juri Linkov <juri@jurta.org>
4391
4392 * simple.el (eval-expression-print-format): Don't check for
4393 command names and the last command. Always display additional
4394 formats of the integer result in the echo area, and insert them
4395 to the current buffer only with a zero prefix arg.
4396 Display character when char-displayable-p is non-nil.
4397 (eval-expression): With a zero prefix arg, set `print-length' and
4398 `print-level' to nil, and insert the integer values from
4399 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4400
4401 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4402 `eval-last-sexp-arg-internal'. Doc fix.
4403 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4404 `eval-last-sexp-print-value'. Doc fix.
4405 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4406 Set `print-length' and `print-level' to nil when arg is zero.
4407 (eval-last-sexp): Doc fix.
4408 (eval-defun-2): Print the integer values from
4409 `eval-expression-print-format' at the end.
4410
4411 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4412 values from `eval-expression-print-format' at the end.
4413
4414 * ielm.el (ielm-eval-input): Print the integer
4415 values from `eval-expression-print-format' at the end.
4416
8f2be364
TZ
44172013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4418
4419 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4420 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4421
2230a6e3
SM
44222013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4425 (hl-line-highlight, global-hl-line-highlight): Use it.
4426 (hl-line-overlay): Use defvar-local.
4427
1269a680
JD
44282013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4429
4430 * term/ns-win.el: Require dnd.
4431 (global-map): Remove drag items.
4432 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
4433 (ns-set-background-at-mouse):
4434 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4435 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4436 New functions.
1269a680 4437
049638ad
GM
44382013-12-19 Glenn Morris <rgm@gnu.org>
4439
4440 * emacs-lisp/ert.el (ert-select-tests):
4441 Fix string/symbol mixup. (Bug#16121)
4442
ce41edb4
DG
44432013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4444
4445 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4446 keywords to their parent.
4447
7e1549c9
DG
44482013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4449
4450 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4451 first arg to be a string (fixed dead code), or an operator symbol.
4452 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4453 operator symbols.
4454 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4455 did nothing. Don't respond to `(:after ".")', it will be called
4456 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4457 change anything. Only return indentation for binary operators
4458 when they are hanging. De-dent opening paren when its parent is
4459 `.', otherwise it looks bad when the dot is not at bol or eol
4460 (bug#16182).
4461
3ee4cd64
JL
44622013-12-19 Juri Linkov <juri@jurta.org>
4463
4464 * replace.el (query-replace-read-args): Split a non-negative arg
4465 and a negative arg into separate elements.
4466 (query-replace, query-replace-regexp, replace-string)
4467 (replace-regexp): Add arg `backward'. Doc fix.
4468 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4469 move point to the beginning of the match.
4470 (replace-search, replace-highlight): Use new arg `backward'
4471 to set the value of `isearch-forward'.
4472 (perform-replace): Add arg `backward' and use it to perform
4473 replacement backward. (Bug#14979)
4474
4475 * isearch.el (isearch-query-replace): Use a negative prefix arg
4476 to call `perform-replace' with a non-nil arg `backward'.
4477
0cda6b7b
JL
44782013-12-18 Juri Linkov <juri@jurta.org>
4479
4480 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4481 to the default list. Move `log-edit-show-files' to the end.
4482 Add more available functions to options.
4483 (log-edit): Move default specific settings to
4484 `log-edit-insert-message-template'. Don't move point.
4485 (log-edit-insert-message-template): New function.
4486 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4487 (Bug#16170)
4488
b216f0a6
JL
44892013-12-18 Juri Linkov <juri@jurta.org>
4490
4491 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4492 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4493
1d1c55dc
LL
44942013-12-18 Leo Liu <sdl.web@gmail.com>
4495
e9dc713d
JB
4496 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4497 (Bug#16186)
1d1c55dc 4498
64e4c76e
EZ
44992013-12-18 Eli Zaretskii <eliz@gnu.org>
4500
4501 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4502 formats for displaying file sizes when the -s switch is given.
4503 Instead, compute a separate format for displaying the size in
4504 blocks, which is displayed in addition to the "regular" size.
4505 When -h is given in addition to -s, produce size in blocks in
4506 human-readable form as well. (Bug#16179)
4507
b2984e39
TH
45082013-12-18 Tassilo Horn <tsdh@gnu.org>
4509
2230a6e3
SM
4510 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4511 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 4512
50ff2e06
CY
45132013-12-18 Chong Yidong <cyd@gnu.org>
4514
0081bc84
CY
4515 * cus-edit.el (custom-magic-alist): Fix "themed" description
4516 (Bug#14348).
4517
a7ee9424
CY
4518 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4519 is non-nil, do not create a new entry in the symbol's theme-value
4520 or theme-face property; update theme-settings only (Bug#14664).
18874304 4521 (custom-available-themes): Doc fix.
a7ee9424 4522
8f942537
CY
4523 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4524 (Bug#15674).
4525
50ff2e06
CY
4526 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4527
83c60f60
KI
45282013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4529
4530 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4531 (Bug#13914).
4532
e0eb0550 45332013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
4534
4535 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4536
1f41ee56
GM
45372013-12-18 Glenn Morris <rgm@gnu.org>
4538
4539 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 4540 * cus-start.el (load-prefer-newer): New option.
1f41ee56 4541
e82134b1
LW
45422013-12-18 Le Wang <l26wang@gmail.com>
4543
2230a6e3
SM
4544 * comint.el (comint-previous-matching-input-from-input):
4545 Retain point (Bug#13404).
e82134b1 4546
33f5d4c1
CY
45472013-12-18 Chong Yidong <cyd@gnu.org>
4548
4549 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4550
ccc9f6dc
GM
45512013-12-18 Glenn Morris <rgm@gnu.org>
4552
4553 * mail/emacsbug.el (report-emacs-bug):
4554 Only mention enable-multibyte-characters if non-standard.
4555
33dd8e95
JL
45562013-12-17 Juri Linkov <juri@jurta.org>
4557
4558 * arc-mode.el (archive-extract-by-file): Check if directory exists
4559 before deletion to not show irrelevant errors if it doesn't exist.
4560
7a409b30
JL
45612013-12-17 Juri Linkov <juri@jurta.org>
4562
4563 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4564 (Bug#14751)
4565
4566 * net/eww.el (browse-web): Add alias to `eww'.
4567 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4568 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4569
4570 * net/browse-url.el (browse-url-browser-function): Move `eww'
4571 closer to similar functions.
4572
4573 * startup.el (fancy-startup-screen, fancy-about-screen):
4574 Set browse-url-browser-function to eww-browse-url locally.
4575 (Bug#14751)
4576
2d6b6005
SM
45772013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4578
4579 * window.el (window--pixel-to-total): Remove unused `mini' var.
4580 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4581 (split-window): Remove unused `new' var.
4582 (window--display-buffer): Remove unused `frame' and `delta' vars.
4583 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4584 and display-width'.
4585
cf2b7efc
MR
45862013-12-17 Martin Rudalics <rudalics@gmx.at>
4587
4588 * dired.el (dired-mark-pop-up):
4589 * register.el (register-preview): Don't bind
4590 split-height-threshold here since it's now done in
4591 display-buffer-below-selected.
4592
ed3af8a7 45932013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4594
4595 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4596 xterm-rgb-convert-to-16bit.
4597 (rxvt-register-default-colors): Standardize with
4598 xterm-register-default-colors (Bug#14078).
4599
76da3455
DK
46002013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4601
4602 * simple.el (kill-region): Pass mark first, then point, so that
4603 kill-append works right (Bug#12819).
4604 (copy-region-as-kill, kill-ring-save): Likewise.
4605
2b84d763
LL
46062013-12-17 Leo Liu <sdl.web@gmail.com>
4607
4608 * net/rcirc.el (rcirc-add-face):
4609 * eshell/em-prompt.el (eshell-emit-prompt):
4610 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4611 (Bug#16167)
4612
e2f6a0bc
CY
46132013-12-17 Chong Yidong <cyd@gnu.org>
4614
4615 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4616 Suggested by Xue Fuqiao.
4617
35b249a6
DG
46182013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4619
4620 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4621
e9145444
SM
46222013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * net/shr.el (shr-insert-document): Remove unused var
4625 `shr-preliminary-table-render'.
4626 (shr-rescale-image): Remove unused arg `force'.
4627 (shr-put-image): Update calls accordingly.
4628 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4629
5556c0ce
DG
46302013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4631
4632 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4633 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4634 :close-all, to see which indentation method to use (Bug#16116).
4635 (smie-rules-function): Document the method :close-all.
4636
11bade0a
LMI
46372013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4638
1c4b1e61
LMI
4639 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4640
11bade0a
LMI
4641 * net/eww.el (eww-display-html): If we can't find the anchor we're
4642 looking for, then go to point-min.
4643
8fb8c4f3
PE
46442013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4645
4646 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4647 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4648 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4649 Expand dir too, in case it's relative.
4650
6c8e0ae6
JL
46512013-12-16 Juri Linkov <juri@jurta.org>
4652
4653 * desktop.el (desktop-auto-save-timeout): Change default to
4654 `auto-save-timeout'. Doc fix.
4655 (desktop-save): Skip the timestamp in desktop-saved-frameset
4656 when checking for auto-save changes.
4657 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4658 `desktop-auto-save' is called repeatedly by the idle timer.
4659 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4660 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4661 (Bug#15331)
4662
2178e858
JL
46632013-12-16 Juri Linkov <juri@jurta.org>
4664
4665 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4666 (Bug#16035)
4667 (isearch-pre-command-hook): Check `this-command' for symbolp.
4668
39cb42c6
SM
46692013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4672
5b9b750a
TZ
46732013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4674
4675 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4676 (cfengine3--current-function): Bring in the current-function
4677 functionality from `cfengine3--current-word'.
4678 (cfengine3-completion-function): Bring in the
4679 bounds-of-current-word functionality from
4680 `cfengine3--current-word'.
4681
d144ef06
MR
46822013-12-16 Martin Rudalics <rudalics@gmx.at>
4683
39cb42c6
SM
4684 * window.el (display-buffer-below-selected):
4685 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 4686
a8bbe298
LL
46872013-12-16 Leo Liu <sdl.web@gmail.com>
4688
4689 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4690 Remove NOMSG arg and all uses changed.
4691
2013a2f9
SM
46922013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4695 (cua--deactivate-rectangle): Don't deactivate the mark.
4696 (cua-set-rectangle-mark): Don't set mark-active since
4697 cua--activate-rectangle already does it for us.
4698 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4699 non-rectangular region.
4700
4701 * emulation/cua-base.el (cua-repeat-replace-region):
4702 Use with-current-buffer.
4703
4704 * net/gnutls.el: Use cl-lib.
4705 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4706
5ae811dd
TZ
47072013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4708
4709 * emacs-lisp/package.el (package-built-in-p): Support both
4710 built-in and the package.el converted package descriptions.
4711 (package-show-package-list): Allow keywords.
4712 (package-keyword-button-action): Use it instead of
4713 `finder-list-matches'.
4714 (package-menu-filter-interactive): Interactive filtering (by
4715 keyword) function.
4716 (package-menu--generate): Support keywords and change keymappings
4717 and headers when they are given.
4718 (package--has-keyword-p): Helper function.
4719 (package-menu--refresh): Use it.
4720 (package--mapc): Helper function.
4721 (package-all-keywords): Use it.
4722 (package-menu-mode-map): Set up menu items and keybindings to
4723 provide a filtering UI.
4724
31b4827e
TZ
47252013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4726
4727 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4728 the behavior when a certificate fails validation. Defaults to
4729 old behavior: never abort, just warn.
4730 (gnutls-negotiate): Use it.
4731
f93cc74f
MR
47322013-12-14 Martin Rudalics <rudalics@gmx.at>
4733
4734 * window.el (display-buffer-below-selected): Never split window
4735 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4736
f77d7d17
TW
47372013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4738
4739 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4740 (package-buffer-info): Use it (bug#15108).
aa2bddd7 4741
7514d3f8
SM
47422013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4743
aa2bddd7 4744 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 4745 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 4746
276bc333
DG
47472013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4748
4749 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4750 open-paren tokens when preceded by a open-paren, too.
4751 (ruby-smie-rules): Handle virtual indentation after open-paren
4752 tokens specially. If there is code between it and eol, return the
4753 column where is starts (Bug#16118).
4754
d43957f3
TZ
47552013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4756
a5c1ac0c 4757 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 4758 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
4759 (cfengine3--current-word): Fix parameters.
4760 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
4761 (cfengine3-completion-function, cfengine3--current-function):
4762 Use `assq' for symbols.
d43957f3
TZ
4763 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4764
06a4f110
GM
47652013-12-13 Glenn Morris <rgm@gnu.org>
4766
4767 * loadup.el (load-path): Warn if site-load or site-init changes it.
4768 No more need to reset it when bootstrapping.
4769
978a5fda
TZ
47702013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4771
4772 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4773 locations for cf-promises.
4774 (cfengine-mode-syntax-functions-regex): New caching variable.
4775 (cfengine3-fallback-syntax): Fallback syntax for cases where
4776 cf-promises doesn't run.
4777 (cfengine3--current-word): Reimplement using
4778 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
4779 (cfengine3-completion-function, cfengine3--current-function):
4780 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
4781 (cfengine3-clear-syntax-cache): New function.
4782 (cfengine3-make-syntax-cache): Simplify and create
4783 `cfengine-mode-syntax-functions-regex' on demand.
4784 (cfengine3-format-function-docstring): Don't call
4785 `cfengine3-make-syntax-cache' explicitly.
4786
71e6691e
MR
47872013-12-13 Martin Rudalics <rudalics@gmx.at>
4788
4789 Fix windmove-find-other-window broken after pixelwise resizing
4790 (Bug#16017).
4791 * windmove.el (windmove-other-window-loc): Revert change from
4792 2013-12-04.
4793 (windmove-find-other-window): Call window-in-direction.
4794 * window.el (window-in-direction): New arguments SIGN, WRAP and
4795 MINI to emulate original windmove-find-other-window behavior.
4796
84c73ba0
DG
47972013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4798
4799 * simple.el (blink-matching--overlay): New variable.
4800 (blink-matching-open): Instead of moving point, highlight the
4801 matching paren with an overlay
4802 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4803
4804 * faces.el (paren-showing-faces, show-paren-match)
4805 (show-paren-mismatch): Move from paren.el.
4806
b9e20952
LL
48072013-12-13 Leo Liu <sdl.web@gmail.com>
4808
4809 * indent.el (indent-region): Disable progress reporter in
4810 minibuffer. (Bug#16108)
4811
4812 * bindings.el (visual-order-cursor-movement): Fix version.
4813
ce030451
FEG
48142013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4815
4816 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4817 Also match after beginning of line.
4818 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 4819 files. Thanks to Russell Sim. (Bug#15378)
ce030451 4820
4a9c6865
JL
48212013-12-13 Juri Linkov <juri@jurta.org>
4822
4823 * simple.el <Keypad support>: Remove key bindings duplicated
4824 with bindings.el. (Bug#14397)
4825
2bc170c3
JL
48262013-12-13 Juri Linkov <juri@jurta.org>
4827
4828 * comint.el (comint-mode-map): Replace `delete-char' with
4829 `delete-forward-char'. (Bug#16109)
4830
bc9222c9
FEG
48312013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4832
aa2bddd7 4833 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 4834 Fix de-denters cornercase. (Bug#15731)
bc9222c9 4835
cb3a1380
SM
48362013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4837
4838 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4839 (advice--make): Pay attention to `depth'.
4840 (advice--make-1): Don't autoload commands eagerly.
4841 * emacs-lisp/elp.el (elp-instrument-function):
4842 * emacs-lisp/trace.el (trace-function-internal):
4843 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4844
4845 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4846
01633a17
EZ
48472013-12-12 Eli Zaretskii <eliz@gnu.org>
4848
4849 * term/w32-win.el (w32-handle-dropped-file):
4850 * startup.el (normal-top-level):
4851 * net/browse-url.el (browse-url-file-url):
4852 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4853 decode file names using 'utf-8' rather than
4854 file-name-coding-system.
4855
09faee72
FEG
48562013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4857
4858 * progmodes/python.el (python-indent-context)
4859 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 4860 behavior for comment blocks. (Bug#15916)
09faee72 4861
f4f84024 48622013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 4863
cb3a1380
SM
4864 * progmodes/python.el (python-indent-calculate-indentation):
4865 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
4866 operators when they are just string constituents. (Bug#15812)
4867
d5ccb7be
JL
48682013-12-12 Juri Linkov <juri@jurta.org>
4869
4870 * uniquify.el (uniquify-buffer-name-style): Change default to
4871 `post-forward-angle-brackets'.
4872
4873 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4874 `uniquify'. Change default to `post-forward-angle-brackets'.
4875
7b3f5679
GM
48762013-12-11 Glenn Morris <rgm@gnu.org>
4877
4878 * emacs-lisp/package.el (finder-list-matches):
4879 Autoload rather than falsely declaring.
4880
f4fe8fdd
TZ
48812013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4882
4883 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4884 (eww-mode-map): Use them.
4885
3c29190f
MR
48862013-12-11 Martin Rudalics <rudalics@gmx.at>
4887
4888 * window.el (display-buffer-in-side-window): Fix doc-string
4889 (Bug#16115).
4890
0cd616a2
JB
48912013-12-11 Juanma Barranquero <lekktu@gmail.com>
4892
4893 * vc/vc-git.el: Silence byte-compiler warnings.
4894 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4895 (log-edit-set-header): Declare.
4896
3ef8e0d1
EZ
48972013-12-11 Eli Zaretskii <eliz@gnu.org>
4898
4899 * Makefile.in (custom-deps, finder-data): Run output file names
4900 through unmsys--file-name. (Bug#16099)
4901
afdadaf7
SM
49022013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4903
7ae3ae39 4904 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 4905 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 4906
5b4f37ab
SM
4907 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4908 instead of deleting the selection "by hand" (bug#16098).
4909 Rely on insert-for-yank to yank rectangles.
4910 (cua-highlight-region-shift-only): Mark obsolete.
4911 (cua-mode): Don't enable/disable transient-mark-mode,
4912 shift-select-mode (cua-mode works both with and without them), and
4913 pc-selection-mode (obsolete).
4914 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4915 (cua--deactivate-rectangle): Deactivate it.
4916
4b72c12b
SM
4917 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4918 (delete-selection-helper): Make sure yank starts at the top of the
4919 deleted region.
4920 (minibuffer-keyboard-quit): Use region-active-p.
4921
e82af72d
SM
4922 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4923
afdadaf7
SM
4924 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4925 to `delete' (bug#16109).
4926
ed4bc201
RS
49272013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4928
4929 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4930 info manual and show keybindings and set `:group' keyword.
4931
bb8097b9
JL
49322013-12-11 Juri Linkov <juri@jurta.org>
4933
4934 * delsel.el (delete-active-region): Let-bind `this-command'
4935 to prevent `kill-region' from changing its original value.
4936 (delete-selection-helper): Handle `overwrite-mode' for the type
4937 `kill' exactly the same way as for the type `t'.
4938 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4939 Support more commands. (Bug#13312)
4940
c1916ff5
JL
49412013-12-11 Juri Linkov <juri@jurta.org>
4942
4943 * bindings.el: Map kp keys to non-kp keys systematically
4944 with basic modifiers control, meta and shift. (Bug#14397)
4945
7514d3f8 49462013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
4947
4948 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4949 "Close browser" menu items. Fix wrong function of "List
4950 bookmarks".
4951
4cc51eaf
JL
49522013-12-11 Juri Linkov <juri@jurta.org>
4953
4954 * misearch.el (multi-isearch-buffers): Set the value of
4955 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4956 arg of isearch-forward to t.
4957 (multi-isearch-buffers-regexp): Set the value of
4958 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4959 arg of isearch-forward-regexp to t.
4960 (multi-isearch-files): Set the value of
4961 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4962 arg of isearch-forward to t.
4963 (multi-isearch-files-regexp): Set the value of
c295fc18 4964 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
4965 arg of isearch-forward-regexp to t. (Bug#16035)
4966
4967 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4968 arg of isearch-forward to t.
4969 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4970 arg of isearch-forward-regexp to t.
4971 (dired-isearch-filter-filenames): Remove unnecessary check for
4972 `dired-isearch-filenames'.
4973
4974 * comint.el (comint-history-isearch-backward):
4975 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4976 (comint-history-isearch-backward-regexp):
4977 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4978
ceac12b7
EZ
49792013-12-10 Eli Zaretskii <eliz@gnu.org>
4980
4981 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4982 unmsys--file-name. (Bug#16099)
4983
5a565782
TZ
49842013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4985
cb3a1380
SM
4986 * emacs-lisp/package.el (package-keyword-button-action):
4987 Remove finder.el require dependency.
5a565782 4988
a81fc7ba
TZ
49892013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4990
4991 * emacs-lisp/package.el: Require finder.el.
4992 (describe-package-1): Add keyword buttons.
4993 (package-make-button): New convenience function.
4994 (package-keyword-button-action): Keyword button action using
e0eb0550 4995 `finder-list-matches'.
a81fc7ba 4996
6aaca951
EZ
49972013-12-09 Eli Zaretskii <eliz@gnu.org>
4998
4999 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5000 last commit.
5001
a1099a91
MA
50022013-12-09 Michael Albinus <michael.albinus@gmx.de>
5003
5004 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5005 symlinked files.
5006
8212d9c0
DG
50072013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5008
5009 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5010 after the end of a percent literal.
5011
8f48d131
CD
50122013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5013
cb3a1380
SM
5014 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5015 Handle caret-delimited strings (Bug#16079).
8f48d131 5016
ff8c9764
DG
50172013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5018
cb3a1380
SM
5019 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5020 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
5021 `ruby-parse-partial' (Bug#16078).
5022
d64643b4
LL
50232013-12-09 Leo Liu <sdl.web@gmail.com>
5024
5025 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5026
47e59c66
DG
50272013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5028
5029 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5030 (js-switch-indent-offset): New option.
5031 (js--proper-indentation): Use it. And handle the case when
5032 "default" is actually a key in an object literal.
5033 (js--same-line): New function.
5034 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
5035 (js--indent-in-array-comp, js--array-comp-indentation):
5036 New functions.
47e59c66
DG
5037 (js--proper-indentation): Use them, to handle array comprehension
5038 continuations.
5039
974ebc9c
LL
50402013-12-08 Leo Liu <sdl.web@gmail.com>
5041
5042 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5043 (flymake-make-overlay): Remove arg MOUSE-FACE.
5044 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5045
27262e39
SM
50462013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5049 New function.
5050 (redisplay-highlight-region-function): Use it.
5051
5052 * emulation/cua-base.el (cua--explicit-region-start)
5053 (cua--last-region-shifted): Remove.
5054 (cua--deactivate): Use deactivate-mark.
5055 (cua--pre-command-handler-1): Don't handle shift-selection.
5056 (cua--post-command-handler-1): Don't change transient-mark-mode.
5057 (cua--select-keymaps): Use region-active-p rather than
5058 cua--explicit-region-start or cua--last-region-shifted.
5059 (cua-mode): Enable shift-select-mode.
5060
6407822c
LL
50612013-12-08 Leo Liu <sdl.web@gmail.com>
5062
27262e39
SM
5063 * progmodes/flymake.el (flymake-popup-current-error-menu):
5064 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
5065 (flymake-posn-at-point-as-event, flymake-popup-menu)
5066 (flymake-make-emacs-menu): Remove. (Bug#16077)
5067
00a2b823
SM
50682013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5069
02033d49
SM
5070 * rect.el (rectangle-mark-mode): Activate mark even if
5071 transient-mark-mode is off (bug#16066).
5072 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5073 is > mark and at bolp.
5074
6f8dfccf
SM
5075 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5076 (region-extract-function): Use it.
5077 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5078 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5079 Delete functions.
5080 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5081 kill-ring-save, kill-region, delete-char, delete-forward-char.
5082 Ignore self-insert-iso.
5083
5084 * emulation/cua-gmrk.el (cua--init-global-mark):
5085 Ignore `self-insert-iso'.
5086
5087 * emulation/cua-base.el (cua--prefix-copy-handler)
5088 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5089 checking cua--rectangle.
5090 (cua-delete-region): Use region-extract-function.
5091 (cua-replace-region): Delete function.
5092 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5093 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5094 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5095 (cua--init-keymaps): Don't remap delete-selection commands.
5096 (cua-mode): Use delete-selection-mode instead of rolling our own
5097 (bug#16085).
5098
5099 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5100 Obey region-extract-function.
5101
00a2b823
SM
5102 Make registers and delete-selection-mode work on rectangles.
5103 * register.el (describe-register-1): Don't modify the register's value.
5104 (copy-to-register): Obey region-extract-function.
5105 * delsel.el (delete-active-region): Obey region-extract-function.
5106
a92fa5f1
LL
51072013-12-08 Leo Liu <sdl.web@gmail.com>
5108
5109 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5110 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5111 (flymake-compilation-prevents-syntax-check)
5112 (flymake-start-syntax-check-on-newline)
5113 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5114 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5115 (flymake-xml-program, flymake-master-file-dirs)
5116 (flymake-master-file-count-limit)
5117 (flymake-allowed-file-name-masks): Relocate.
5118 (flymake-makehash, flymake-float-time)
5119 (flymake-replace-regexp-in-string, flymake-split-string)
5120 (flymake-get-temp-dir): Remove.
5121 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5122 (flymake-current-row, flymake-selected-frame)
5123 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5124 related functions. (Bug#16077)
5125
73c8ceea
BB
51262013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5127
5128 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5129
faec28d9
TH
51302013-12-07 Tassilo Horn <tsdh@gnu.org>
5131
5132 * help-fns.el (describe-function-1): Use new advice-* functions
5133 rather than old ad-* functions. Fix function type description and
5134 source links for advised functions and subrs.
5135
e330b646
LMI
51362013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5137
00a2b823 5138 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 5139
4803595d
MA
51402013-12-06 Michael Albinus <michael.albinus@gmx.de>
5141
5142 * progmodes/compile.el (compilation-start):
5143 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5144
5145 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5146 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5147
fa834a93
DG
51482013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5149
00a2b823
SM
5150 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5151 Touch up the last change.
fa834a93 5152
b2856a6f
LL
51532013-12-06 Leo Liu <sdl.web@gmail.com>
5154
5155 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5156 (inferior-octave-startup): Always use "octave> " for prompt.
5157 (octave-goto-function-definition)
5158 (octave-sync-function-file-names)
5159 (octave-find-definition-default-filename): Remove redundant backquotes.
5160
af67e79a
DG
51612013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5162
5163 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5164 syntax for `?'.
5165 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5166 where appropriate already.
5167 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5168 end of method names (Bug#15874).
5169
bf093209
JL
51702013-12-06 Juri Linkov <juri@jurta.org>
5171
5172 * isearch.el (isearch--saved-overriding-local-map):
5173 New internal variable.
5174 (isearch-mode): Set it to the initial value of
5175 `overriding-terminal-local-map'.
5176 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5177 with `isearch--saved-overriding-local-map'. (Bug#16035)
5178
16588fad
DG
51792013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5180
00a2b823
SM
5181 * progmodes/octave.el (inferior-octave-completion-table):
5182 Turn back into function, use `completion-table-with-cache'
16588fad
DG
5183 (Bug#11906). Update all references.
5184
5185 * minibuffer.el (completion-table-with-cache): New function.
5186
bf4906d7
CD
51872013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5188
5189 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5190
ff69c18f
TZ
51912013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5192
5193 * net/eww.el (eww-current-source): New variable to store page
5194 source.
5195 (eww-display-html, eww-mode, eww-save-history)
5196 (eww-restore-history): Use it.
5197 (eww-view-source): New command to view page source.
5198 Opportunistically uses `html-mode' to highlight the buffer.
5199 (eww-mode-map): Install it.
5200
b85eff45
MA
52012013-12-05 Michael Albinus <michael.albinus@gmx.de>
5202
5203 * net/dbus.el (dbus-unregister-service)
5204 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5205 Fix docstring.
5206 (dbus-unregister-service): Skip :serial entries in
5207 `dbus-registered-objects-table'.
5208 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5209
39eb0899
TZ
52102013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5211
5212 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5213 around keywords with extra `split-string' argument.
5214
456760a5
MR
52152013-12-04 Martin Rudalics <rudalics@gmx.at>
5216
5217 * windmove.el (windmove-other-window-loc): Handle navigation
5218 between windows (excluding the minibuffer window - Bug#16017).
5219
81961e4c
MA
52202013-12-04 Michael Albinus <michael.albinus@gmx.de>
5221
5222 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5223 in D-Bus type syntax.
5224 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5225 preserve unibyte strings. (Bug#16048)
5226
8497f938
SM
52272013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5228
5229 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5230 Call force-mode-line-update is the proper buffer (bug#16042).
5231
dda61916
DG
52322013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5233
5234 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5235 `log-edit-remember-comment', make argument optional. Adjust all
5236 callers.
5237 (log-edit-mode): Add `log-edit-remember-comment' to
5238 `kill-buffer-hook' locally.
5239 (log-edit-kill-buffer): Don't remember comment explicitly since
5240 the buffer is killed anyway.
5241
c085e5b9
JL
52422013-12-04 Juri Linkov <juri@jurta.org>
5243
5244 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5245 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5246
e0eb0550 52472013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
5248
5249 * notifications.el (notifications-close-notification): Call the
81961e4c 5250 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 5251
39fa32d6
KY
52522013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5253
5254 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5255
9139632a
JL
52562013-12-03 Juri Linkov <juri@jurta.org>
5257
5258 * progmodes/compile.el (compilation-start): Rename window alist
5259 entry `no-display-ok' to `allow-no-window'.
5260
5261 * simple.el (shell-command): Add window alist entry
5262 `allow-no-window' to `display-buffer'.
5263 (async-shell-command): Doc fix.
5264
5265 * window.el (display-buffer-no-window): New action function.
5266 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5267
0f457a37
DG
52682013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5269
5270 * vc/log-edit.el (log-edit-set-header): Extract from
5271 `log-edit-toggle-header'.
5272 (log-edit-extract-headers): Separate the summary, when extracted
5273 from header, from the rest of the message with an empty line.
5274
5275 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5276 line, if present, to the Summary header.
5277
0962f376
SM
52782013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5281 in current-buffer (bug#16029).
5282
f345395c
HE
52832013-12-02 Helmut Eller <eller.helmut@gmail.com>
5284
5285 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5286 (debugger-mode-map): Bind it.
5287 (debugger--backtrace-base): New function.
5288 (debugger-eval-expression): Use it.
5289 (debugger-frame-number): Skip local vars when present.
5290 (debugger--locals-visible-p, debugger--insert-locals)
5291 (debugger--show-locals, debugger--hide-locals): New functions.
5292
a8a15d9d
MA
52932013-12-02 Michael Albinus <michael.albinus@gmx.de>
5294
5295 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5296 "LC_ALL".
5297 (tramp-get-remote-locale): New defun.
5298 (tramp-open-connection-setup-interactive-shell): Use it.
5299
0518b057
LL
53002013-12-02 Leo Liu <sdl.web@gmail.com>
5301
5302 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5303
5304 * progmodes/sh-script.el (sh-shell-process):
5305 * progmodes/octave.el (inferior-octave-process-live-p):
5306 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5307 (gdb-inferior-io-sentinel):
5308 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5309
3adc9c6d
DG
53102013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5311
5312 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5313 `save-selected-window' to `log-edit-hide-buf'. This makes
5314 `log-edit-show-files' idempotent.
5315 (log-edit-show-files): Mark the new window as dedicated.
5316
47e8b74e
DG
53172013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5318
5319 * vc/log-edit.el (log-edit-mode-map): Add binding for
5320 `log-edit-kill-biffer'.
5321 (log-edit-hide-buf): Add a FIXME comment.
5322 (log-edit-add-new-comment): New function, extracted from
5323 `log-edit-done'.
5324 (log-edit-done, log-edit-add-to-changelog): Use it.
5325 (log-edit-kill-buffer): New command.
5326
1f6e1bb0
LMI
53272013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5328
5329 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5330 instead of killing the buffer.
5331
fb651d15
SM
53322013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5333
5334 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5335
8feacce0
RS
53362013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5337
fb651d15 5338 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 5339 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
5340 (eww-form-checkbox, eww-toggle-checkbox):
5341 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5342
e0eb0550 5343 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 5344 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 5345 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
5346 no :src tag was specified.
5347
fb651d15 5348 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
5349 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5350 Use \\` to match beginning of string instead of ^.
5351 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 5352 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 5353
177948a5
RS
5354 * net/shr.el (shr-tag-video): Display content for video if no
5355 poster is available.
eb2dd24d 5356 (shr-tag-audio): Add support for <audio> tag.
177948a5 5357
e0eb0550 5358 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
5359 (eww-process-text-input): Treat input types in
5360 `eww-text-input-types' as text.
5361
8feacce0
RS
5362 * net/shr.el (shr-tag-table): Fix comment typo.
5363
513562a1
LMI
53642013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5365
5366 * net/eww.el (eww-follow-link): New command to avoid reloading
5367 pages when we follow #target links (bug#15243).
de8a5633 5368 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 5369
9dd99753
KN
53702013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5371
5372 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5373 forms.
5374
3e9876de
LMI
53752013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5376
5377 * net/eww.el (eww-restore-history): Update the window title after
5378 moving in the history.
ab6dea82 5379 (eww-current-dom): New variable used to save the current DOM.
3e9876de 5380
52789f7f
DG
53812013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5382
5383 * vc/log-edit.el (log-edit-mode-map): Add binding for
5384 `log-edit-beginning-of-line'.
5385 (log-edit-setup-add-author): New user option.
5386 (log-edit-beginning-of-line): New command.
5387 (log-edit): Move major mode call above the contents setup so that
5388 the local variable values are already applied.
5389 (log-edit): Only insert "Author: " when
5390 `log-edit-setup-add-author' is non-nil.
5391 (log-edit): When SETUP is non-nil, position point after ": "
5392 instead of point-min.
5393
2e6710c3
GM
53942013-12-01 Glenn Morris <rgm@gnu.org>
5395
5396 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5397
fadec31f
EZ
53982013-11-30 Eli Zaretskii <eliz@gnu.org>
5399
5400 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 5401 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
5402 visible. (Bug#16014)
5403
10634b40 54042013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
5405
5406 Support resizing frames and windows pixelwise.
5407 * cus-start.el (frame-resize-pixelwise)
5408 (window-resize-pixelwise): New entries.
5409 * emacs-lisp/debug.el (debug): Use window-total-height instead
5410 of window-total-size.
5411 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
5412 * help.el (describe-bindings-internal): Use help-buffer as
5413 argument for with-help-window.
880e6158
MR
5414 (temp-buffer-max-width): New option.
5415 (resize-temp-buffer-window, help-window-setup)
5416 (with-help-window): Rewrite.
5417 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5418 dragging dividers.
5419 * window.el (frame-char-size, window-min-pixel-height)
5420 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5421 (window-min-pixel-width, window-safe-min-pixel-size)
5422 (window-combination-p, window-safe-min-size)
5423 (window-resizable-p, window--size-to-pixel)
5424 (window--pixel-to-size, window--resize-apply-p): New functions.
5425 (window-safe-min-height): Fix doc-string.
5426 (window-size, window-min-size, window--min-size-1)
5427 (window-sizable, window-sizable-p, window--min-delta-1)
5428 (window-min-delta, window--max-delta-1, window-max-delta)
5429 (window--resizable, window--resizable-p, window-resizable)
5430 (window-full-height-p, window-full-width-p, window-at-side-p)
5431 (window--in-direction-2, window-in-direction)
5432 (window--resize-reset-1, window--resize-mini-window)
5433 (window-resize, window-resize-no-error)
5434 (window--resize-child-windows-normal)
5435 (window--resize-child-windows, window--resize-siblings)
5436 (window--resize-this-window, window--resize-root-window)
5437 (window--resize-root-window-vertically)
5438 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5439 (maximize-window, minimize-window, delete-window)
5440 (quit-restore-window, window-split-min-size, split-window)
5441 (balance-windows-2, balance-windows)
5442 (balance-windows-area-adjust, balance-windows-area)
5443 (window--state-get-1, window-state-get, window--state-put-1)
5444 (window--state-put-2, window-state-put)
fb651d15
SM
5445 (display-buffer-record-window, window--display-buffer):
5446 Make functions handle pixelwise sizing of windows.
880e6158 5447 (display-buffer--action-function-custom-type)
fb651d15
SM
5448 (display-buffer-fallback-action):
5449 Add display-buffer-in-previous-window.
880e6158
MR
5450 (display-buffer-use-some-window): Resize window to height it had
5451 before.
5452 (fit-window-to-buffer-horizontally): New option.
5453 (fit-frame-to-buffer): Describe new values.
5454 (fit-frame-to-buffer-bottom-margin): Replace with
5455 fit-frame-to-buffer-margins.
5456 (window--sanitize-margin): New function.
5457 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5458 using window-text-pixel-size.
5459
f9b697dd
GM
54602013-11-30 Glenn Morris <rgm@gnu.org>
5461
3e2fb4db
GM
5462 * emacs-lisp/bytecomp.el (byte-compile-form):
5463 Make the `interactive-only' warning like the `obsolete' one.
5464 * comint.el (comint-run):
5465 * files.el (insert-file-literally, insert-file):
5466 * replace.el (replace-string, replace-regexp):
5467 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5468 (goto-line, insert-buffer, next-line, previous-line):
5469 Tweak `interactive-only' spec.
5470
f9b697dd
GM
5471 Stop keeping (most) generated cedet grammar files in the repository.
5472 * Makefile.in (semantic): New.
5473 (compile-main): Depend on semantic.
5474
da048127
SM
54752013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5476
7784b779
SM
5477 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5478 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5479
4e36a6a6
SM
5480 * uniquify.el (uniquify-buffer-name-style): Change default.
5481
5482 * loadup.el: Preload "uniquify".
5483
e0ba1308
SM
5484 * time.el (display-time-update): Update all mode lines (bug#15999).
5485
da048127
SM
5486 * electric.el (electric-indent-mode): Enable by default.
5487 * loadup.el: Preload "electric".
5488
015b3b3e
BB
54892013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5490
5491 * emacs-lisp/helpers.el (string-empty-p): New function.
5492 (string-blank-p): New function.
5493
7efb806d
AP
54942013-11-29 Andreas Politz <politza@hochschule-trier.de>
5495
5496 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5497 (Bug#14029).
5498
c8f0efc2
AP
54992013-11-29 Andreas Politz <politza@fh-trier.de>
5500 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5501 allow non-lambda lists as functions.
5502 (imenu--in-alist): Don't recurse into non-subalists.
5503 (imenu): Don't pass function itself as an argument (Bug#14029).
5504
bd15d9d1
SM
55052013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * progmodes/python.el (python-mode-map): Remove binding for ":".
5508 (python-indent-electric-colon): Remove command.
5509 (python-indent-post-self-insert-function): Integrate the previous code
5510 of python-indent-electric-colon. Make it conditional on
5511 electric-indent-mode.
5512 (python-mode): Add ?: to electric-indent-chars.
5513 Move python-indent-post-self-insert-function to the end of
5514 post-self-insert-hook.
5515
1b10adb6
SM
55162013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5517
655ab9a3
SM
5518 * doc-view.el (doc-view-goto-page): Update mode-line.
5519
1b10adb6
SM
5520 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5521
7e3bf78c
GM
55222013-11-27 Glenn Morris <rgm@gnu.org>
5523
5524 * international/charprop.el, international/uni-bidi.el:
5525 * international/uni-category.el, international/uni-combining.el:
5526 * international/uni-comment.el, international/uni-decimal.el:
5527 * international/uni-decomposition.el, international/uni-digit.el:
5528 * international/uni-lowercase.el, international/uni-mirrored.el:
5529 * international/uni-name.el, international/uni-numeric.el:
5530 * international/uni-old-name.el, international/uni-titlecase.el:
5531 * international/uni-uppercase.el:
5532 Remove generated files from VCS repository.
5533
fb6a5d68
EZ
55342013-11-27 Eli Zaretskii <eliz@gnu.org>
5535
5536 * filenotify.el (file-notify-add-watch): Don't special-case
5537 w32notify when computing the directory to watch.
5538
cb6c95a3
GM
55392013-11-27 Glenn Morris <rgm@gnu.org>
5540
20372d0c
GM
5541 Make bootstrap without generated uni-*.el files possible again.
5542 * loadup.el: Update command-line-args checking for unidata-gen.
5543 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5544 * composite.el, international/characters.el:
5545 Handle unicode tables being undefined.
5546
52d6635f 5547 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
5548 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5549 (compile-main): Depend on leim rule.
5550 (leim): New rule.
5551 * loadup.el: Move leim-list.el to leim/ subdirectory.
5552 * startup.el (normal-top-level): No more leim directory.
5553 * international/ja-dic-cnv.el (skkdic-convert):
5554 Disable version-control and autoloads in output files.
5555 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5556 Disable version-control and autoloads in output files.
5557 * leim/quail: Move here from ../leim.
5558 * leim/quail/hangul.el (hangul-input-method-activate):
5559 Add autoload cookie.
5560 (generated-autoload-load-name): Set file-local value.
5561 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5562 (generated-autoload-load-name): Set file-local value.
5563
7514d3f8 55642013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 5565
e0eb0550 5566 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 5567 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 5568 (eww-quit): Ask confirmation before quitting eww.
e47112ee 5569
0e2c793f
EZ
55702013-11-26 Eli Zaretskii <eliz@gnu.org>
5571
5572 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5573 reading output from Diff on MS-Windows and MS-DOS.
5574
447bdcb8
BB
55752013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5576
5577 * emacs-lisp/helpers.el (string-reverse): New function.
5578
5fbf6856
MA
55792013-11-26 Michael Albinus <michael.albinus@gmx.de>
5580
5581 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5582 names on MS Windows, like "/[::1]:".
5583
5584 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5585 SWITCHES.
5586
624780f0
GM
55872013-11-26 Glenn Morris <rgm@gnu.org>
5588
0bf3f0fa
GM
5589 * progmodes/python.el (python-indent-guess-indent-offset):
5590 Avoid corner-case error. (Bug#15975)
5591
624780f0
GM
5592 Preload leim-list.el. (Bug#4789)
5593 * loadup.el: Load leim-list.el when found.
5594 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5595
4301875e 55962013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
5597
5598 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5599
4301875e
BB
5600 * emacs-lisp/helpers.el (string-join): New function.
5601
1633a815 56022013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
5603
5604 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5605 Mark as obsolete and replace it with a symbol property.
5606 (byte-compile-form): Use new 'interactive-only property.
5607 * comint.el, files.el, replace.el, simple.el:
5608 Apply new 'interactive-only properly.
5609
00139435
MR
56102013-11-25 Martin Rudalics <rudalics@gmx.at>
5611
5612 * window.el (display-buffer-at-bottom): Make sure that
5613 split-window-sensibly creates the new window on bottom
5614 (Bug#15961).
5615
5f5b128d
DK
56162013-11-23 David Kastrup <dak@gnu.org>
5617
5618 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5619 on the conflict markers when available.
5620 (smerge--get-marker): New function.
5621 (smerge-end-re, smerge-base-re): Add subgroup.
5622
623891e5
SM
56232013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * frame.el (handle-focus-in, handle-focus-out): Add missing
5626 interactive spec.
5627
05ca27d8
MA
56282013-11-25 Michael Albinus <michael.albinus@gmx.de>
5629
5630 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5631 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5632
511fa0d3
SM
56332013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5634
e82ad66c
SM
5635 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5636 (gomoku--last-pos): New var.
5637 (gomoku--intangible-chars): New const.
5638 (gomoku--intangible): New function.
5639 (gomoku-mode): Use it. Derive from special-mode.
5640 (gomoku-move-up): Adjust line count.
5641 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5642 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5643 Simplify accordingly.
5644
511fa0d3
SM
5645 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5646 Remove blink-cursor code.
5647 (blink-cursor-timer-function, blink-cursor-suspend):
5648 Don't special-case GUIs.
5649 (blink-cursor-mode): Use focus-in/out-hook.
5650
6f20dd03
DG
56512013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5652
5653 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5654 work when annotation is invisible (Bug#13886).
5655
431dec31 56562013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
5657
5658 * json.el (json-alist-p): Only return non-nil if the alist has
5659 simple keys (Bug#13518).
5660
431dec31 56612013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
5662
5663 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5664 when control-statement is the first statement in a buffer (Bug#15956).
5665
ee4f0261
DG
56662013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5667
5668 * imenu.el (imenu-generic-skip-comments-and-strings):
5669 New option (Bug#15560).
5670 (imenu--generic-function): Use it.
5671
c484f866
JS
56722013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5673
e9dc713d
JB
5674 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5675 (Bug#13898)
c484f866 5676
41ce6f70
BB
56772013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5678
b55aea38
BB
5679 * emacs-lisp/helpers.el: Add some string helpers.
5680 (string-trim-left): Removes leading whitespace.
5681 (string-trim-right): Removes trailing whitespace.
5682 (string-trim): Removes leading and trailing whitespace.
5683
41ce6f70
BB
5684 * subr.el (string-suffix-p): New function.
5685
3cfb6af3
GM
56862013-11-23 Glenn Morris <rgm@gnu.org>
5687
5688 * progmodes/python.el (python-shell-send-file):
5689 Add option to delete file when done. (Bug#15647)
5690 (python-shell-send-string, python-shell-send-region): Use it.
5691
c27924b7
IS
56922013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5693
e1b01c7f
IS
5694 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5695 to set buffer-read-only to t, never to nil. (Bug#15938)
5696
c27924b7
IS
5697 * textmodes/tex-mode.el (latex-noindent-environments):
5698 Add safe-local-variable property. (Bug#15936)
5699
17e0445b
GM
57002013-11-23 Glenn Morris <rgm@gnu.org>
5701
92f78ea3
GM
5702 * textmodes/enriched.el (enriched-mode): Doc fix.
5703 * emacs-lisp/authors.el (authors-renamed-files-alist):
5704 Add enriched.doc -> enriched.txt.
5705
17e0445b
GM
5706 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5707
965bb23a
LL
57082013-11-22 Leo Liu <sdl.web@gmail.com>
5709
5710 * progmodes/octave.el (inferior-octave-startup): Spit out error
5711 message.
5712
d19ffd64
BB
57132013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5714
5715 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5716 Improve docstring.
15ba2182
BB
5717 Add :version.
5718 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 5719
7a7567d2
LL
57202013-11-22 Leo Liu <sdl.web@gmail.com>
5721
5722 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5723 (Bug#15076)
8c09f64b
LL
5724 (octave-help-mode): Adapt to change to help-mode-finish to use
5725 derived-mode-p on 2013-09-17.
5726 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 5727 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 5728
724bc265
LL
57292013-11-22 Leo Liu <sdl.web@gmail.com>
5730
5731 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5732 (inferior-octave-startup, inferior-octave-check-process)
5733 (inferior-octave-track-window-width-change)
5734 (octave-completion-at-point, octave-eldoc-function): Use it.
5735 (octave-kill-process): Provide confirmation. (Bug#10564)
5736
38637cca
LL
57372013-11-21 Leo Liu <sdl.web@gmail.com>
5738
511fa0d3
SM
5739 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5740 Fix obsolete variable comment-use-global-state.
38637cca 5741
06e752b4
RS
57422013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5743
511fa0d3
SM
5744 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5745 Add `octave-source-file'.
06e752b4
RS
5746 (octave-source-file): New function. (Bug#15935)
5747
7514d3f8 57482013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
5749
5750 * net/eww.el (eww-local-regex): New variable.
5751 (eww): Use it to detect localhost and similar.
5752
b6ffa04a
LL
57532013-11-21 Leo Liu <sdl.web@gmail.com>
5754
5755 Add completion for command `ag'.
2021a200
LL
5756 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5757 (pcomplete/ag): New function.
e9dc713d 5758 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 5759
d1a6bccc
SM
57602013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5761
5762 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5763 (bug#14646).
5764 (make-obsolete): Remove interactive spec.
5765
2df10228
GM
57662013-11-21 Glenn Morris <rgm@gnu.org>
5767
5768 * startup.el (command-line-1): Use path-separator with -L.
5769
86fd16b6
TZ
57702013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5771
5772 * emacs-lisp/package.el (describe-package-1): Add package archive
5773 to shown fields.
5774
0449d6cd 57752013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
5776
5777 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5778 Change default to "# encoding: %s" to differentiate it from the
5779 default Ruby encoding comment template.
5780
dc7e8c17 57812013-11-20 era eriksson <era+emacsbugs@iki.fi>
5782
5783 * ses.el (ses-mode): Doc fix. (Bug#14748)
5784
f0cfa5fe
LL
57852013-11-20 Leo Liu <sdl.web@gmail.com>
5786
5787 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5788
826dc7b6
DN
57892013-11-19 Dan Nicolaescu <dann@gnu.org>
5790
5791 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5792 when rebase or bisect are in progress.
5793
a6e3a5d5
XF
57942013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5795
5796 * filenotify.el (file-notify-add-watch): Doc fix.
5797
f130cb76
LL
57982013-11-19 Leo Liu <sdl.web@gmail.com>
5799
e0855d7d
LL
5800 * obsolete/rcompile.el: Mark obsolete.
5801
f130cb76 5802 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
5803 (compilation-goto-locus, compilation-find-file):
5804 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
5805 (Bug#13594)
5806
5807 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
5808 new parameter no-display-ok. Return either a window or nil
5809 but never a non-window value.
f130cb76 5810
1f35d401
SM
58112013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5812
25158c76
SM
5813 * electric.el (electric-indent-mode-map): Remove.
5814 (electric-indent-mode): Change the global-map instead (bug#15915).
5815
5816 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5817 Use add-function.
1f35d401 5818
9bc67baa
SM
58192013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5820
986545b5
SM
5821 * emacs-lisp/nadvice.el (remove-function): Align with
5822 add-function's behavior.
5823
9bc67baa
SM
5824 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5825 (gdb--string-regexp): New constant.
5826 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5827 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5828 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5829 submatch 1.
5830 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5831 Adjust use accordingly.
5832 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5833
56cd894e
AS
58342013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5835
5836 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5837 interpolation curlies (Bug#15914).
5838
014690de
JB
58392013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5840
5841 * calc/calc.el (calc-context-sensitive-enter): New variable.
5842 (calc-enter): Use `calc-context-sensitive-enter'.
5843
7e26a6c3
TZ
58442013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5845
5846 * progmodes/cfengine.el: Version bump.
5847 (cfengine-cf-promises): New defcustom to locate cf-promises.
5848 (cfengine3-vartypes): Add new "data" type.
5849 (cfengine3--current-word): New function to get current name-like
5850 word or its bounds.
5851 (cfengine3--current-function): New function to look up a CFEngine
5852 function's definition.
5853 (cfengine3-format-function-docstring): New function.
5854 (cfengine3-make-syntax-cache): New function.
5855 (cfengine3-documentation-function): New function: ElDoc glue.
5856 (cfengine3-completion-function): New function: completion glue.
5857 (cfengine3-mode): Set `compile-command',
5858 `eldoc-documentation-function', and add to
5859 `completion-at-point-functions'.
5860
355204dd
MA
58612013-11-16 Michael Albinus <michael.albinus@gmx.de>
5862
5863 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5864 `tramp-current-connection'.
5865
43cebc23
DG
58662013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5867
5868 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5869 nil/self/true/false with "end of symbol".
5870
a3fed6ff
BB
58712013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5872
5873 * subr.el (version-regexp-alist): Fix a typo.
5874
e675b3e4
MA
58752013-11-15 Michael Albinus <michael.albinus@gmx.de>
5876
5877 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5878 "en_US.utf8" and "LC_CTYPE" to "".
5879 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5880 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5881
a1f03e89
LL
58822013-11-15 Leo Liu <sdl.web@gmail.com>
5883
5884 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5885
5d9d9451
SM
58862013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5887
58362662
CS
5888 * progmodes/gud.el (ctl-x-map):
5889 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
5890 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5891
6c1bf086
BB
58922013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5893
0d5363c4
BB
5894 * subr.el (version-regexp-alist):
5895 Recognize hg, svn and darcs versions as snapshot versions.
5896
4e9fc48c
BB
5897 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5898 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5899 (ruby--encoding-comment-required-p): Extract from
5900 `ruby-mode-set-encoding'.
5901 (ruby-mode-set-encoding): Add the ability to always insert an
5902 utf-8 encoding comment. Fix and simplify coding comment update
5903 logic.
6c1bf086 5904
2f7e72f8
MA
59052013-11-14 Michael Albinus <michael.albinus@gmx.de>
5906
5907 * net/tramp-gvfs.el (top): Run init code only when
5908 `tramp-gvfs-enabled' is not nil.
5909 (tramp-gvfs-enabled): Check also :system bus.
5910
0f137a73
SM
59112013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5912
5913 Sync with upstream verilog-mode revision 78e66ba.
5914 * progmodes/verilog-mode.el (verilog-end-of-defun)
5915 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5916 (verilog-get-end-of-defun): Remove unused argument.
5917 (verilog-comment-depth): Remove unused local `e'.
5918 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5919 Don't pass arg to verilog-get-end-of-defun.
5920
1c276bdd
GM
59212013-11-14 Glenn Morris <rgm@gnu.org>
5922
5923 * obsolete/assoc.el (aget): Prefix dynamic variable.
5924
5925 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5926
ff6ec81d
SM
59272013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 * widget.el, hfy-cmap.el: Remove bogus package version number.
5930
75f777b6
GM
59312013-11-13 Glenn Morris <rgm@gnu.org>
5932
1d43dba1
GM
5933 * replace.el (replace-eval-replacement):
5934 Try to give more helpful error message. (Bug#15836)
5935
ff4b7bd5
GM
5936 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5937 (archive-7z-update): Avoid custom type mismatches.
5938
75f777b6
GM
5939 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5940
11151a06
MA
59412013-11-13 Michael Albinus <michael.albinus@gmx.de>
5942
e675b3e4 5943 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
5944 address can be empty.
5945
5946 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5947 Accept nil SWITCHES.
5948 (tramp-gvfs-handle-write-region): Implement APPEND.
5949
7b08f97e
DG
59502013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5951
5952 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
5953 binary "|" operator and closing block args delimiter.
5954 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
5955 (ruby-smie--implicit-semi-p): Not after "|" operator.
5956 (ruby-smie--closing-pipe-p): New function.
5957 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5958 (ruby-smie-rules): Indent after "|".
5959
f201cf3a
GM
59602013-11-12 Glenn Morris <rgm@gnu.org>
5961
5962 * ps-print.el (ps-face-attribute-list):
5963 Handle anonymous faces. (Bug#15827)
5964
e6f759f9
MR
59652013-11-12 Martin Rudalics <rudalics@gmx.at>
5966
5967 * window.el (display-buffer-other-frame): Fix doc-string.
5968 (Bug#15868)
5969
ecda65d4
SM
59702013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5973
7ce8fcc3
MA
59742013-11-11 Michael Albinus <michael.albinus@gmx.de>
5975
5976 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5977 (tramp-sh-handle-file-local-copy): Don't write a message when
5978 saving temporary files.
5979
5980 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5981 both directories are remote.
5982 (tramp-smb-handle-directory-files): Do not return double entries.
5983 Do not expand full file names.
5984 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5985 (tramp-smb-handle-write-region): Implement APPEND.
5986 (tramp-smb-get-stat-capability): Fix a stupid bug.
5987
7818df11
SM
59882013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5989
5990 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5991
608c2085
NT
59922013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5993
5994 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5995 throwing error over malformed let/let* (bug#15814).
5996
122a7e46
SM
59972013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * iswitchb.el (iswitchb-mode): Mark obsolete.
6000
766284d9
GM
60012013-11-11 Glenn Morris <rgm@gnu.org>
6002
6003 * international/uni-bidi.el, international/uni-category.el:
6004 * international/uni-name.el, international/uni-numeric.el:
6005 Regenerate for Unicode 6.3.0.
6006
7072a4e9
MA
60072013-11-10 Michael Albinus <michael.albinus@gmx.de>
6008
6009 * net/tramp.el (tramp-methods):
6010 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6011 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6012
c9df215b
AS
60132013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6014
608c2085
NT
6015 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6016 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 6017
fa47d796
DG
60182013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6019
6020 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 6021 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
6022 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6023 (ispell-complete-word): Call `ispell-lookup-words' with the value
6024 independent of `ispell-look-p'.
6025
1629a329
DG
60262013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6027
6028 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6029 Not after "||".
6030 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6031 their parent.
6032
ad16897c
SM
60332013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6034
6035 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6036 (ruby-font-lock-keywords): Use backquote.
6037
ffa2df72
DG
60382013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6039
6040 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6041 (ruby-smie--backward-token): Only consider full-string matches.
6042
5b97b4c0
JD
60432013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6044
6045 * faces.el (describe-face): Add distant-foreground.
6046
71731c03
BB
60472013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6048
4e9fc48c
BB
6049 * progmodes/ruby-mode.el: Improve encoding comment handling.
6050 (ruby-encoding-magic-comment-style): New option.
6051 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
6052 (ruby--insert-coding-comment, ruby--detect-encoding):
6053 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
6054 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6055 to control the style of the auto-inserted encoding comment.
71731c03 6056
da3b328d
DG
60572013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6058
ad16897c
SM
6059 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6060 Use `smie-backward-sexp' with token argument.
da3b328d 6061
1606c2d3
MA
60622013-11-08 Michael Albinus <michael.albinus@gmx.de>
6063
6064 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6065 Remove instrumentation code.
6066
b0f4c320
GM
60672013-11-08 Glenn Morris <rgm@gnu.org>
6068
6069 * progmodes/autoconf.el (autoconf-mode):
6070 Tweak comment-start-skip. (Bug#15822)
6071
43668fb1
SM
60722013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6073
6074 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6075 at bobp (bug#15826).
6076 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6077
daddb3fd
DH
60782013-11-08 Darren Hoo <darren.hoo@gmail.com>
6079
6080 * man.el (Man-start-calling): New macro, extracted from
6081 Man-getpage-in-background.
6082 (Man-getpage-in-background): Use it.
6083 (Man-update-manpage): New command.
6084 (Man-mode-map): Bind it.
6085
1f923923
DG
60862013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6087
6088 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6089 of "and", "or", "&&" and "||".
6090 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6091 argument. Prohibit opening curly brace because it could only be a
6092 block opener in that position.
daddb3fd
DH
6093 (ruby-smie--forward-token, ruby-smie--backward-token):
6094 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
6095 arguments.
6096 (ruby-smie--indent-to-stmt): New function, seeks the end of
6097 previous statement or beginning of buffer.
6098 (ruby-smie-rules): Use it.
6099 (ruby-smie-rules): Check if there's a ":" before a curly block
6100 opener candidate; if there is, it's a hash.
6101
3220d527
SM
61022013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6103
6104 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6105 (cl--block-wrapper): Fix last accidental change.
6106
1eb1f9e0
MA
61072013-11-07 Michael Albinus <michael.albinus@gmx.de>
6108
6109 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6110 Instrument, in order to hunt failure on hydra.
6111
e6e4db3c
NT
61122013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6113
6114 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6115 malformed bindings form (bug#15814).
6116
b420ccfc
DG
61172013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6118
6119 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
6120 "." compared to " @ ". This incidentally fixes some indentation
6121 examples with "do".
e6e4db3c 6122 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
6123 (ruby-smie-grammar): New tokens: "and" and "or".
6124 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6125 Exclude "and" and "or". Remove "do" in order to work around token
6126 priorities.
6127 (ruby-smie-rules): Add all infix tokens. Handle the case of
6128 beginning-of-buffer.
b420ccfc 6129
6b4ac03e
GM
61302013-11-06 Glenn Morris <rgm@gnu.org>
6131
6132 * Makefile.in (setwins_almost, setwins_for_subdirs):
6133 Avoid accidental matches.
6134
5ca114d1
SM
61352013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6136
6137 * menu-bar.el (popup-menu): Use key-binding.
6138
f72552bd
EZ
61392013-11-06 Eli Zaretskii <eliz@gnu.org>
6140
6141 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6142 menus, support also the menus produced by minor modes.
6143 (Bug#15817)
6144
5d5c701e
LL
61452013-11-06 Leo Liu <sdl.web@gmail.com>
6146
6147 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 6148 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 6149
0a8b75e2
GM
61502013-11-06 Glenn Morris <rgm@gnu.org>
6151
6152 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
6153 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6154 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 6155
a35287ea
SM
61562013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6157
feca4e2d
SM
6158 * electric.el (electric-indent-just-newline): New command.
6159 (electric-indent-mode-map): New keymap.
6160 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6161 Re-add :group which weren't redundant.
6162
a35287ea
SM
6163 * electric.el (electric-indent-local-mode): New minor mode.
6164 (electric-indent-functions-without-reindent): New var.
6165 (electric-indent-post-self-insert-function): Use it.
6166 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6167
375761b2
EZ
61682013-11-05 Eli Zaretskii <eliz@gnu.org>
6169
9a6ad735
EZ
6170 * international/quail.el (quail-help): Be more explicit about the
6171 meaning of the labels shown on the keys. (Bug#15800)
6172
375761b2
EZ
6173 * startup.el (normal-top-level): Load the subdirs.el files before
6174 setting the locale environment. (Bug#15805)
6175
520a6e4a
SM
61762013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6177
0acfafef
SM
6178 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6179 via arguments so as to get the right ones (bug#15418).
6180
520a6e4a
SM
6181 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6182
15826261
MA
61832013-11-05 Michael Albinus <michael.albinus@gmx.de>
6184
6185 Fix problems found while writing a test suite.
6186
6187 * net/tramp-compat.el (tramp-compat-load): New defun.
6188 * net/tramp.el (tramp-handle-load): Use it.
6189
6190 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6191 "(numberp ok-if-already-exists)" correctly.
6192
d35f31a4
XF
61932013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6194
6195 * international/characters.el (glyphless-char-display-control):
6196 Add usage note.
6197
ae93bc74
BB
61982013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6199
520a6e4a
SM
6200 * progmodes/python.el (python-mode):
6201 * progmodes/scheme.el (scheme-mode):
6202 * progmodes/prolog.el (prolog-mode):
6203 * progmodes/ruby-mode.el (ruby-mode):
6204 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6205 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 6206
0ade65b5
SM
62072013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6208
a0d5f7a4
SM
6209 * rect.el (rectangle--highlight-for-redisplay):
6210 * emacs-lisp/smie.el (smie--next-indent-change):
6211 Use buffer-chars-modified-tick.
6212
c93f3f5c
SM
6213 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6214
0ade65b5
SM
6215 * electric.el (electric-indent-post-self-insert-function):
6216 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6217
ef9dd188
HE
62182013-11-04 Helmut Eller <eller.helmut@gmail.com>
6219
6220 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6221
306e7308
NT
62222013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6223
6224 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6225 (bug#15786).
6226
e5afbcac
SM
62272013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6228
1d01ad41
SM
6229 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6230
e5afbcac
SM
6231 * progmodes/python.el: Fix up last change.
6232 (python-shell--save-temp-file): New function.
6233 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6234 `string' comes from the current buffer.
6235 (python-shell-send-string-no-output): Remove `msg' arg.
6236 (python--use-fake-loc): New var.
6237 (python-shell-buffer-substring): Obey it. Try to compensate for the
6238 extra coding line added by python-shell--save-temp-file.
6239 (python-shell-send-region): Use python-shell--save-temp-file and
6240 python-shell-send-file directly. Add `nomain' argument.
6241 (python-shell-send-buffer): Use python-shell-send-region.
6242 (python-electric-pair-string-delimiter): New function.
6243 (python-mode): Use it.
6244
d0065ff1
EZ
62452013-11-04 Eli Zaretskii <eliz@gnu.org>
6246
6247 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6248 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6249 environment and decoding all of the default-directory's to here
6250 from command-line.
6251 (command-line): Decode also argv[0].
6252
6253 * loadup.el: Error out if default-directory is a multibyte string
6254 when we are dumping.
6255
6256 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6257
7397c587
TZ
62582013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6259
6260 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
6261 (package-menu--print-info, package-menu--archive-predicate):
6262 Add Archive column to package list.
7397c587 6263
b27cc9fc
MA
62642013-11-04 Michael Albinus <michael.albinus@gmx.de>
6265
6266 Fix problems found while writing a test suite.
6267
6268 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6269 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6270 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6271 to nil when running original file name handler. Otherwise,
6272 there are problems with constructs like "$$FOO".
6273
6274 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6275 for `localname'.
6276
d8c4f18a
BB
62772013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6278
7b530552
BB
6279 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6280
6281 * subr.el (version<, version<=, version=):
6282 Update docstrings with information for snapshot versions.
6283
d8c4f18a
BB
6284 * helpers.el: New library for misc helper functions.
6285 (hash-table-keys): New function returning a list of hash keys.
6286 (hash-table-values): New function returning a list of hash values.
6287
dca01b09
DG
62882013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6289
6290 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6291 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6292
0a749fa0
MN
62932013-11-04 Michal Nazarewicz <mina86@mina86.com>
6294
6295 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6296 checking whether point is after a 1-letter word.
6297
62982013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
6299
6300 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6301 Don't infloop when expanding region over `multiline' syntax-type that
6302 begins a line (bug#15778).
6303
4aca7145
SM
63042013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6305
6306 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6307 Make it into a proper minor mode.
9b017563 6308 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
6309 (rectangle-mark-mode-map): New keymap.
6310 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6311
a0833f62
GM
63122013-11-04 Glenn Morris <rgm@gnu.org>
6313
6314 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6315
e61845c1
SM
63162013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6319 (ruby-smie-rules): Use smie-rule-parent instead.
6320
6321 * emacs-lisp/smie.el (smie-rule-parent): Always call
6322 smie-indent-virtual rather than only for hanging tokens.
6323 (smie--next-indent-change): New helper command.
6324
62942f89
GM
63252013-11-03 Glenn Morris <rgm@gnu.org>
6326
6327 * Makefile.in (abs_srcdir): Remove.
6328 (emacs): Unset EMACSLOADPATH.
6329
b0b9e592
GM
63302013-11-02 Glenn Morris <rgm@gnu.org>
6331
18ba6a33 6332 * Makefile.in (EMACS): Use a relative filename.
8061810d 6333 (abs_top_builddir): Remove.
18ba6a33
GM
6334 (custom-deps, finder-data, autoloads): Use --chdir.
6335
6a8b929e
GM
6336 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6337
c617f3d0
GM
6338 Use relative filenames in TAGS files.
6339 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6340 (lisptagsfiles4, TAGS): Use relative file names.
6341 (TAGS-LISP): Remove.
6342 (maintainer-clean): No more TAGS-LISP file.
6343
b0b9e592
GM
6344 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6345 (lisptagsfiles4): Use absolute filenames again.
6346 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6347 Remove all *loaddefs files, not just the first. Remove esh-groups.
6348 (maintainer-clean): Delete TAGS, TAGS-LISP.
6349
d1c0ea6a
BB
63502013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6351
e61845c1
SM
6352 * emacs-lisp/package.el (package-version-join):
6353 Recognize snapshot versions.
d1c0ea6a 6354
684d71c6
BB
63552013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6356
6357 * subr.el (version-regexp-alist): Add support for snapshot versions.
6358
3d42b968
DG
63592013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6360
e61845c1
SM
6361 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6362 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
6363 skip over our direct parent if it's an assignment token..
6364 (ruby-smie-rules): Use it.
6365
7ffd3721
DG
63662013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6367
8449dd1f 6368 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
6369 unconditionally. Remove now unnecessary forward declarations.
6370 Remove XEmacs-specific setup.
6371 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6372 (ruby-font-lock-syntactic-keywords)
6373 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6374 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6375 (ruby-here-doc-end-syntax): Remove.
6376 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6377 defined as function.
6378
a3996a2e
BB
63792013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6380
6381 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6382
6f9260e8
BB
63832013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6384
6385 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6386 table and abbrev table, `define-derived-mode' does that for us
6387 anyway.
6388
6014de84
GM
63892013-11-01 Glenn Morris <rgm@gnu.org>
6390
6391 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6392 files is atomic for some time, so no parallel compilation issues).
6393
3c334c14
JD
63942013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6395
6396 * faces.el (face-x-resources): Add :distant-foreground.
6397 (region): Use :distant-foreground for gtk and ns.
6398
9bc236c8
TH
63992013-11-01 Tassilo Horn <tsdh@gnu.org>
6400
5246583b 6401 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
6402 BibTeX.
6403 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6404 (reftex-locate-bibliography-files): Us it.
6405
d14c81ee
CB
64062013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6407
0e7690de
CB
6408 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6409 allow comments in pbm files.
6410
d14c81ee
CB
6411 * term/w32-win.el (dynamic-library-alist): Support newer versions
6412 of libjpeg starting with v7: look only for the DLL from the
6413 version against which Emacs was built.
ac1bf374 6414 Support versions of libpng beyond 1.4.x.
019c8218 6415 Support libtiff v4.x.
d14c81ee 6416
983d0df5
BB
64172013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6418
6419 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6420 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6421 Add property :safe.
6422 (ruby-deep-arglist): Add property :type.
6423
47f58d85
GM
64242013-10-31 Glenn Morris <rgm@gnu.org>
6425
6426 * Makefile.in (custom-deps, finder-data): No need to setq the target
6427 variables, we are in the right directory and the defaults work fine.
6428
4f85b479
GM
64292013-10-30 Glenn Morris <rgm@gnu.org>
6430
ca7dd4cd
GM
6431 * Makefile.in (autoloads): Do not use abs_lisp.
6432
4f85b479
GM
6433 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6434 `newline' does not respect `standard-output', so use `princ'.
6435
cf59e41c
AA
64362013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6437
6438 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6439 * buff-menu.el (Buffer-menu--unmark): New function.
6440 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6441
74cf04fb
GM
64422013-10-30 Glenn Morris <rgm@gnu.org>
6443
b040b60e
GM
6444 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6445
f53d3815
GM
6446 * emacs-lisp/package.el (lm-homepage): Declare.
6447
5413d873
GM
6448 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6449 Fix doc typos.
6450
cecedb36
GM
6451 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6452
74cf04fb
GM
6453 * Makefile.in (finder-data, autoloads, update-subdirs)
6454 (compile-main, compile-clean, compile-always, bootstrap-clean):
6455 Check return value of cd.
6456 (compile-calc): Remove.
6457
195ee2f0
SM
64582013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6459
ae4002ce
SM
6460 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6461
6462 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6463 (byte-compile-and-folded): New function.
6464 (=, <, >, <=, >=): Use it.
6465
6466 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6467 (path-separator, null-device, buffer-file-coding-system)
6468 (lpr-headers-switches): Check system-type before modifying them.
6469 (find-buffer-file-type-coding-system): Mark obsolete.
6470 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6471 find-file-not-found-set-buffer-file-coding-system.
35e951cd 6472 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 6473 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 6474 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
6475 (w32-direct-print-region-helper, w32-direct-print-region-function)
6476 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6477 * startup.el (normal-top-level-add-subdirs-to-load-path):
6478 * ps-print.el (ps-print-region-function):
6479 * lpr.el (print-region-function): Use new name.
6480
53b39e89
SM
6481 * subr.el (custom-declare-variable-early): Remove function.
6482 (custom-declare-variable-list): Remove var.
6483 (error, user-error): Remove `while' loop.
6484 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6485 (user-emacs-directory-warning, locate-user-emacs-file):
6486 Move to files.el.
6487 * simple.el (read-quoted-char-radix, read-quoted-char):
6488 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6489 Move from subr.el.
6490 * custom.el (custom-declare-variable-list): Don't process
6491 custom-declare-variable-list.
6492
195ee2f0
SM
6493 * progmodes/python.el (python-shell-get-buffer): New function.
6494 (python-shell-get-process): Use it.
6495 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6496 Python which encoding was used. Don't split-string since we only care
6497 about the first line. Return the temp-file, if applicable.
6498 (python-shell-send-region): Tell compile.el how to turn locations in
6499 the temp-file into locations in the source buffer.
6500
7e3561ee
SM
65012013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6502
4c9797cb
SM
6503 * subr.el (undefined): Add missing behavior from the C code for
6504 unbound keys.
6505
3472b6c6
SM
6506 * rect.el: Use lexical-binding. Add new rectangular region support.
6507 (rectangle-mark): New command.
6508 (rectangle--region): New var.
6509 (deactivate-mark-hook): Reset rectangle--region.
6510 (rectangle--extract-region, rectangle--insert-for-yank)
6511 (rectangle--highlight-for-redisplay)
6512 (rectangle--unhighlight-for-redisplay): New functions.
6513 (region-extract-function, redisplay-unhighlight-region-function)
6514 (redisplay-highlight-region-function): Use them to handle
6515 rectangular region.
6516 * simple.el (region-extract-function): New var.
6517 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6518 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6519 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6520 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6521 (redisplay-unhighlight-region-function)
6522 (redisplay-highlight-region-function): New vars.
6523 (redisplay--update-region-highlight): New function.
6524 (pre-redisplay-function): Use it.
6525 (exchange-point-and-mark): Don't deactivate the mark before
6526 reactivate-it anyway.
6527 * comint.el (comint-kill-region): Remove yank-handler argument.
6528 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6529 (delete-char): Remove property, since it's now part of their
6530 default behavior.
6531 (self-insert-iso): Remove property since this command doesn't exist.
6532
7e3561ee
SM
6533 * emacs-lisp/package.el (package--download-one-archive)
6534 (describe-package-1): Don't query the user about final newline.
6535
b9bef71f
DC
65362013-10-29 Daniel Colascione <dancol@dancol.org>
6537
6538 * net/tramp.el (tramp-methods): Document new functionality.
6539 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6540 tramp-hostname-checker if method provides one instead of scanning
6541 argument list for "%h" to decide hostname acceptability.
6542
4efc33f0
MA
65432013-10-28 Michael Albinus <michael.albinus@gmx.de>
6544
6545 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6546 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6547 Handle COPY-CONTENTS. (Bug#15737)
6548
ed42a877
DU
65492013-10-28 Daiki Ueno <ueno@gnu.org>
6550
9b017563 6551 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 6552 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 6553
18c9f8a2
XF
65542013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6555
35e951cd 6556 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 6557
b1e8e010
AM
65582013-10-27 Alan Mackenzie <acm@muc.de>
6559
6560 Indent statements in macros following "##" correctly.
7e3561ee
SM
6561 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6562 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 6563
73d40d1e 65642013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
6565
6566 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6567
c8c605ac
DG
65682013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6569
6570 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6571 after `=' is probably a new expression.
6572
ca7e59d4
RS
65732013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6574
6575 * man.el (man-imenu-title): New option.
6576 (Man-mode-map): Add menu. (Bug#15722)
6577 (Man-mode): Add imenu to menu.
6578
bae91342
DG
65792013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6580
6581 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6582 specific in what the first arg can be: a non-keyword word,
6583 string/regexp/percent literal opener, opening paren, or unary
6584 operator followed directly by word.
6585
eb89dc14
SM
65862013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6589 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6590 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6591 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6592 Remove vars, they do not apply any more.
6593 (prolog-mode-abbrev-table): Remove redundant declaration.
6594 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6595 (prolog-use-smie): Remove.
6596 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6597 supported by prolog-electric-if-then-else-flag.
6598 (prolog-mode-variables, prolog-menu): Use setq-local.
6599 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6600 Remove binding to `Backspace' since this key doesn't exist anyway.
6601 Remove bindings for electric self-inserting keys.
6602 (prog-mode): Assume it's defined.
6603 (prolog-post-self-insert): New function.
6604 (prolog-mode): Use it.
6605 (prolog-indent-line, prolog-indent-level)
6606 (prolog-find-indent-of-matching-paren)
6607 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6608 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6609 (prolog-goto-next-paren, prolog-in-string-or-comment)
6610 (prolog-tokenize, prolog-inside-mline-comment)
6611 (prolog-find-start-of-mline-comment): Remove functions.
6612 (prolog-find-unmatched-paren, prolog-clause-end)
6613 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6614 (prolog-electric--if-then-else): Rename from
6615 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6616 (prolog-tokenize-searchkey): Remove const.
6617 (prolog-clause-info): Use forward-sexp.
6618 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6619 (prolog-electric-if-then-else): Remove commands.
6620 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6621 for use in post-self-insert-hook.
6622 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6623 for use in post-self-insert-hook.
6624 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6625 for use in post-self-insert-hook.
6626 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6627 adapt it for use in post-self-insert-hook.
6628
3dab0a83
MA
66292013-10-25 Michael Albinus <michael.albinus@gmx.de>
6630
6631 * emacs-lisp/ert.el (ert-run-tests-interactively):
6632 Use `completing-read'. (Bug#9756)
6633
fbfd0e1d
EZ
66342013-10-25 Eli Zaretskii <eliz@gnu.org>
6635
6636 * simple.el (line-move): Call line-move-1 instead of
6637 line-move-visual when the current window hscroll is zero, but
6638 temporary-goal-column indicates we will need to hscroll as result
6639 of the movement. (Bug#15712)
6640
963ce636
DG
66412013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6642
6643 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
6644 capitalization. Use :visible instead of :active.
6645 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
6646 commands that are used with SMIE.
6647 (ruby-do-end-to-brace): Insert space after `{'.
6648
a0be396a
JA
66492013-10-25 John Anthony <john@jo.hnanthony.com>
6650
f73754c9
JA
6651 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6652
6653 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 6654
f5bf77df
GM
66552013-10-25 Glenn Morris <rgm@gnu.org>
6656
6657 * vc/vc.el (vc-print-log): Don't use a working revision unless
6658 one was explicitly specified. (Bug#15322)
6659
37241f62
SM
66602013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6661
6662 * subr.el (add-to-list): Preserve return value in compiler-macro
6663 (bug#15692).
6664
6408a65d
RS
66652013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6666
6667 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6668 result. Ask user to retry using '-all' flag. (Bug#15701)
6669
71e3276b
SM
66702013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6671
6672 * emacs-lisp/smie.el: New smie-config system.
6673 (smie-config): New defcustom.
6674 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6675 (smie-config-guess, smie-config-save): New commands.
6676 (smie-config--mode-local, smie-config--buffer-local)
6677 (smie-config--trace, smie-config--modefuns): New vars.
6678 (smie-config--advice, smie-config--mode-hook)
6679 (smie-config--setter, smie-config-local, smie-config--get-trace)
6680 (smie-config--guess-value, smie-config--guess): New functions.
6681 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6682 text properties. Treat "string fence" syntax like string syntax.
6683
6684 * progmodes/sh-script.el (sh-use-smie): Change default.
6685 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6686 (sh-var-value): Simplify by CSE.
6687 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6688 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6689 is used.
6690 (sh-guess-basic-offset): Use cl-incf.
6691 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6692
60db713e
HE
66932013-10-24 Helmut Eller <eller.helmut@gmail.com>
6694
6695 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6696 (bug#15699).
6697
8b251df6
GM
66982013-10-24 Glenn Morris <rgm@gnu.org>
6699
6700 * Makefile.in (abs_top_srcdir): Remove.
6701 (update-subdirs): Use relative path to update-subdirs.
6702
6be0e22b
EZ
67032013-10-24 Eli Zaretskii <eliz@gnu.org>
6704
6705 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6706 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
6707 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6708 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 6709
50b5b857
MA
67102013-10-24 Michael Albinus <michael.albinus@gmx.de>
6711
6712 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6713 (ert-test-skipped): New error.
6714 (ert-skip, ert-stats-skipped): New defuns.
6715 (ert--skip-unless): New macro.
6716 (ert-test-skipped): New struct.
6717 (ert--run-test-debugger, ert-test-result-type-p)
6718 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6719 (ert--stats-set-test-and-result, ert-char-for-test-result)
6720 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 6721 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 6722 Handle skipped tests. (Bug#9803)
50b5b857 6723
6f317c2f
GM
67242013-10-24 Glenn Morris <rgm@gnu.org>
6725
e43817c1
GM
6726 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6727
6f317c2f
GM
6728 * Makefile.in (abs_top_srcdir): New, set by configure.
6729 (update-subdirs): Correct build-aux location.
6730
369bbf71
DG
67312013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6732
8297b2cf
DG
6733 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6734 value, whether we could auto-deduce `backend', or not.
6735
369bbf71
DG
6736 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6737 with parameters" example. Simplify the "is it block or is it
6738 hash" check, but also make it more thorough.
6739
d5f1282f
MF
67402013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6741
6742 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6743
bc4aaa31
SM
67442013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6745
03d44565
SM
6746 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6747 { if it is hanging.
6748
bc4aaa31
SM
6749 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6750 :before ";".
6751
f493ff19
JB
67522013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6753
6754 * progmodes/compile.el (compilation-directory-matcher)
6755 (compilation-page-delimiter):
6756 Support GNU Make-4.0 directory quoting. (Bug#15678)
6757
c744a3b9
LL
67582013-10-23 Leo Liu <sdl.web@gmail.com>
6759
6760 * ido.el (ido-tidy): Handle read-only text.
6761
b8e3b0a9
GM
67622013-10-23 Glenn Morris <rgm@gnu.org>
6763
6764 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6765 (emacs, compile, compile-always):
6766 Quote entities that might contain whitespace.
6767 (custom-deps, finder-data, autoloads): Use abs_lisp.
6768 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6769 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6770 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6771
ee4282cd
DG
67722013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6773
bc4aaa31
SM
6774 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6775 Use `following-char'.
7790a270 6776
ee4282cd 67772013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
6778
6779 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6780 * progmodes/ruby-mode.el (ruby-smie-rules):
6781 Remove corresponding workaround. Fix indentation rule of ";" so it
6782 also applies when ";" is the parent.
6783
d40a46d7
XF
67842013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6785
6786 * frame.el (display-screens, display-pixel-height)
6787 (display-pixel-width, display-mm-width, display-backing-store)
6788 (display-save-under, display-planes, display-color-cells)
7790a270
SM
6789 (display-visual-class, display-monitor-attributes-list):
6790 Mention the optional ‘display’ argument in doc strings.
d40a46d7 6791
a0f143c9
MG
67922013-10-22 Michael Gauland <mikelygee@amuri.net>
6793
6794 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6795 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6796
18cacc39
DG
67972013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6798
6799 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6800 TODO. Add "." after " @ ".
6801 (ruby-smie--at-dot-call): New function. Checks if point at method
6802 call with explicit target.
6803 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6804 to the method name tokens when it precedes them.
6805 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6806 (ruby-smie-rules): Add rule for indentation before and after "."
6807 token.
6808
df74c4be
SM
68092013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6810
c6dab55f
SM
6811 * textmodes/remember.el (remember-diary-extract-entries):
6812 Avoid add-to-list.
6813
df74c4be
SM
6814 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6815 an instruction.
6816
8c1ae481
DG
68172013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6818
e9dc713d
JB
6819 * progmodes/ruby-mode.el (ruby-smie-grammar):
6820 Add (almost) all infix operators.
cfef16c0
DG
6821 (ruby-smie--implicit-semi-p): Add new operator chars.
6822
8c1ae481
DG
6823 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6824 `smie-down-list'.
6825 (ruby-smie--args-separator-p): Check that there's no newline
6826 between method call and its arguments.
6827
87756ca9
AM
68282013-10-20 Alan Mackenzie <acm@muc.de>
6829
6830 Allow comma separated lists after Java "implements".
6831
df74c4be
SM
6832 * progmodes/cc-engine.el (c-backward-over-enum-header):
6833 Parse commas.
87756ca9
AM
6834 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6835 from a "disallowed" list in enum fontification.
6836
c25f8957
JB
68372013-10-20 Johan Bockgård <bojohan@gnu.org>
6838
df74c4be 6839 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 6840
c25f8957
JB
6841 * progmodes/verilog-mode.el (verilog-mode): Don't set
6842 comment-indent-function globally.
6843
aca5fcdc
JD
68442013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6845
5f161884
JD
6846 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6847 Move Info menu item creation to ns-win.el.
6848
6849 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6850 in menu bar.
6851
a6c4680a 6852 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
6853
6854 * term/ns-win.el (ns-initialize-window-system): ... to here.
6855
914b7f98
SM
68562013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6857
6858 * simple.el (newline): Only run post-self-insert-hook when
6859 called interactively.
6860
846ffe77
JB
68612013-10-19 Johan Bockgård <bojohan@gnu.org>
6862
6863 * icomplete.el (icomplete-with-completion-tables): Add :version.
6864
033f22dd
AM
68652013-10-19 Alan Mackenzie <acm@muc.de>
6866
6867 Fix fontification bugs with constructors and const.
6868
6869 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6870 CASE 2) Remove the check for the absence of a suffix construct
6871 after a function declaration with only types (no identifiers) in
6872 the parentheses. Also, accept a function declaration with just a
6873 type inside the parentheses, if this type can be positively
6874 recognised as such, or if a prefix keyword like "explicit" nails
6875 down the construct as a declaration.
6876
58ce0cfc
EZ
68772013-10-19 Eli Zaretskii <eliz@gnu.org>
6878
6879 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6880 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6881 the problem whereby selecting a menu item that leads to a
6882 minibuffer prompt moves the cursor out of the minibuffer window,
6883 making it hard to type at the prompt. Suggested by Stefan Monnier
6884 <monnier@iro.umontreal.ca>.
6885
50e28e7d
JD
68862013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6887
6888 * menu-bar.el: Don't make Services menu.
6889
7deed4bf
RS
68902013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6891
6892 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6893 (ffap-alist): Use ffap-c++-mode for c++-mode.
6894 (ffap-c++-path): New variable.
6895 (ffap-c++-mode): New function.
6896
7bcb455b
JVJ
68972013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6898
6899 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6900
f0ff1cd5
MA
69012013-10-18 Michael Albinus <michael.albinus@gmx.de>
6902
6903 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6904 introduced on 2013-09-08, which results in an infinite loop
6905 requesting a password.
6906
d64da4b7
GM
69072013-10-18 Glenn Morris <rgm@gnu.org>
6908
6909 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6910
ea89ff08
WS
69112013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6912
6913 Sync with upstream verilog-mode revision 1a6ecec7.
6914 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6915 (verilog-mode-release-date): Remove.
6916 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6917 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6918 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6919 (verilog-auto-tieoff-ignore-regexp)
6920 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6921 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6922 (verilog-signals-with, verilog-dir-cache-preserving)
6923 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6924 Doc fixes.
6925 (verilog-case-fold): New option, to control case folding in
6926 regexp searches, bug597.
6927 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6928 (verilog-string-match-fold, verilog-in-paren-count)
6929 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6930 (verilog-at-close-struct-p): New functions.
6931 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 6932 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
6933 (verilog-leap-to-case-head): Handle "unique0" case.
6934 (verilog-in-constraint-re): New constant.
6935 (verilog-keywords, verilog-type-font-keywords):
6936 Add some SystemVerilog 1800-2012 keywords.
6937 (verilog-label-be): Remove unimplemented argument, bug669.
6938 (verilog-batch-execute-func): When batch expanding clear
6939 create-lockfiles to prevent spurious user locks when a file ends
6940 up not changing.
6941 (verilog-calculate-indent, verilog-calc-1)
6942 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6943 (verilog-do-indent): Fix indentation of nested constraints
6944 and structures.
6945 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6946 (verilog-auto-inst-param): Use verilog-string-match-fold.
6947 (verilog-read-inst-module-matcher):
6948 Fix AUTOINST on gate primitives with #1.
6949 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6950 Reads all user-defined typed variables.
6951 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6952 (verilog-signals-matching-regexp)
6953 (verilog-signals-not-matching-regexp, verilog-auto):
6954 Respect verilog-case-fold.
6955 (verilog-diff-report): Fix line count.
6956 (verilog-auto-assign-modport): Remove unused local `modi'.
6957 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6958 better handle multidimensional arrays.
6959 Fix packed array ports misadding bit index in AUTOINST, bug637.
6960 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6961 to not double-declare existing outputs and inputs, respectively.
6962 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6963 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6964 (verilog-sk-uvm-component): New skeleton.
6965 (verilog-submit-bug-report): Add verilog-case-fold,
6966 remove verilog-mode-release-date.
6967
ef566920
BR
69682013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6969
a12bf61e 6970 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
6971 as before.
6972
29df8a0b
RT
69732013-10-18 Reuben Thomas <rrt@sc3d.org>
6974
e0eb0550 6975 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
6976 remember buffers (bug#13566).
6977
04a19a79
DC
69782013-10-18 Daniel Colascione <dancol@dancol.org>
6979
6980 When evaluating forms in ielm, direct standard output to ielm
6981 buffer. Add new ielm-return-for-effect command. Remove trailing
6982 whitespace throughout.
6983
6984 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6985 (ielm-return-for-effect): New command.
6986 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
6987 (ielm-eval-input): Accept optional `for-effect' parameter.
6988 Bind `standard-output' to stream we create using
04a19a79
DC
6989 `ielm-standard-output-impl'. Suppress printing result when
6990 `for-effect'.
6991 (ielm-standard-output-impl): New function.
6992 (inferior-emacs-lisp-mode): Explain new features in documentation.
6993
4c1f03ef
MA
69942013-10-17 Michael Albinus <michael.albinus@gmx.de>
6995
6996 Code cleanup.
6997
6998 * net/tramp.el (tramp-debug-message): Do not check for connection
6999 buffer.
7000 (tramp-message): Use "vector" connection property.
7001
7002 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7003 (tramp-equal-remote, tramp-eshell-directory-change)
7004 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7005 (tramp-adb-handle-rename-file)
7006 * net/tramp-cmds.el (tramp-list-remote-buffers)
7007 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7008 * net/tramp-compat.el (tramp-compat-process-running-p)
7009 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7010 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7011 (tramp-gvfs-handle-rename-file)
7012 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7013 (tramp-set-file-uid-gid)
7014 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7015 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7016 of `file-remote-p'.
7017
7018 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7019 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7020 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7021 (tramp-gw-open-network-stream): Suppress unrelated traces.
7022
7023 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7024 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7025 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7026 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7027 connection property.
7028
7029 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 7030 persistency file.
4c1f03ef
MA
7031
7032 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7033 Refactor common code. Improve debug message.
7034 (tramp-maybe-open-connection)
7035 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7036 connection buffer too early.
7037
7038 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7039 from `tramp-smb-actions-with-acl'.
7040 (tramp-smb-actions-set-acl): New defconst.
7041 (tramp-smb-handle-copy-directory)
7042 (tramp-smb-action-get-acl): New defun, renamed from
7043 `tramp-smb-action-with-acl'.
7044 (tramp-smb-action-set-acl): New defun.
7045 (tramp-smb-handle-set-file-acl): Rewrite.
7046
642eb8b6
GM
70472013-10-17 Glenn Morris <rgm@gnu.org>
7048
7049 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7050
85527ff3
SM
70512013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7052
921c1d62
SM
7053 * skeleton.el (skeleton-newline): Remove.
7054 (skeleton-internal-1): Use (insert "\n") instead.
7055
e333fb10
SM
7056 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7057 let-bindings.
7058
85527ff3
SM
7059 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7060 forward-sexp-function while we redo its job (bug#15613).
7061
c8722a97
JB
70622013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7063
7064 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7065 represented by lists.
7066
7a550bbb
GM
70672013-10-16 Glenn Morris <rgm@gnu.org>
7068
7069 * tmm.el (tmm--history): New dynamic variable.
7070 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7071
f19da8ad
MA
70722013-10-16 Michael Albinus <michael.albinus@gmx.de>
7073
7074 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7075 (tramp-smb-errors): Add error messages.
7076 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 7077 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
7078 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7079 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7080 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7081 (tramp-smb-get-stat-capability): Fix tests.
7082
a24b9961
DK
70832013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7084
7085 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7086 (bug#15580).
7087
62ad85e6
GM
70882013-10-16 Glenn Morris <rgm@gnu.org>
7089
0283d6b0
GM
7090 * ansi-color.el (ansi-color-drop-regexp):
7091 Add 1J, 1K, 2K. (Bug#15617)
7092
012e2f9f
GM
7093 * files.el (hack-local-variables--warned-lexical): New.
7094 (hack-local-variables):
7095 Warn about misplaced lexical-binding. (Bug#15616)
7096
62ad85e6
GM
7097 * net/eww.el (eww-render): Always set eww-current-url,
7098 and update header line. (Bug#15622)
7099 (eww-display-html): ... Rather than just doing it here.
7100
6456c0ea
EZ
71012013-10-15 Eli Zaretskii <eliz@gnu.org>
7102
7103 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7104 menu navigations commands.
7105
c2de5588
DK
71062013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7107
7108 * progmodes/subword.el (subword-capitalize): Be careful when
7109 the search for [[:alpha:]] fails (bug#15580).
7110
ccd4a783
EZ
71112013-10-14 Eli Zaretskii <eliz@gnu.org>
7112
7113 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7114 to commands that scroll the menu.
7115
1eda1d8d
DG
71162013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7117
c2de5588
DK
7118 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7119 Handle methods ending with `?' and `!'.
1eda1d8d 7120
e70181b8
AM
71212013-10-14 Akinori MUSHA <knu@iDaemons.org>
7122
7123 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7124 `japanese-cp932' to `cp932' to fix the problem where saving a
7125 source file written in Shift_JIS twice would end up having
7126 `coding: japanese-cp932' which Ruby could not recognize.
7127 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7128 in `ruby-encoding-map'.
7129 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7130 doesn't need to be explicitly declared in magic comment.
7131 (ruby-encoding-map): Add type declaration for better customize UI.
7132
9148ee92
GM
71332013-10-13 Glenn Morris <rgm@gnu.org>
7134
a5d38e34
GM
7135 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7136 Occur buffers are read-only. http://bugs.debian.org/720775
7137
9148ee92
GM
7138 * emacs-lisp/authors.el (authors-fixed-entries):
7139 Comment out old alpha stuff.
7140
a9ba094b
DG
71412013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7142
7143 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7144 to `after-save-hook' instead of `before-save-hook'.
7145 (ruby-mode-set-encoding): Use the value of coding system used to
7146 write the file. Call `basic-save-buffer-1' after modifying the
7147 buffer.
7148
7a068717
AM
71492013-10-13 Alan Mackenzie <acm@muc.de>
7150
7151 Fix indentation/fontification of Java enum with
7152 "implements"/generic.
7153
c2de5588
DK
7154 * progmodes/cc-engine.el (c-backward-over-enum-header):
7155 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
7156 (c-inside-bracelist-p): Uses new function above.
7157 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7158 function above.
7159 (c-font-lock-enum-tail): Uses new function above.
7160
85b64f02
KH
71612013-10-13 Kenichi Handa <handa@gnu.org>
7162
7163 * international/mule-cmds.el (select-safe-coding-system): Remove a
7164 superfluous condition in chekcing whether a coding system is safe
7165 or not.
7166
fc7f501b
OK
71672013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7168
7169 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7170
fdcb2049
AP
71712013-10-13 Andreas Politz <politza@hochschule-trier.de>
7172
7173 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7174
8c106d17
GM
71752013-10-13 Glenn Morris <rgm@gnu.org>
7176
feab892d
GM
7177 * menu-bar.el (menu-bar-update-buffers):
7178 Unify Buffers menu prompt string. (Bug#15576)
7179
b22d0686
GM
7180 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7181
8c106d17
GM
7182 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7183 Add some entries.
7184 (authors-fixed-entries): Use accented form of name.
7185
1b12c797
SM
71862013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7187
650fa7bf 7188 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 7189 method calls (bug#15594).
650fa7bf
SM
7190 (ruby-smie--args-separator-p): New function.
7191 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7192 recognize paren-free method calls.
7193
1b12c797
SM
7194 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7195 internals of universal-argument.
7196
029619c8
EZ
71972013-10-11 Eli Zaretskii <eliz@gnu.org>
7198
7199 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
7200 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7201 dropped menu on second mouse click on the menu bar.
029619c8 7202
dd070019
SM
72032013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7204
7205 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7206 (explicit-shell-file-name): Declare.
7207 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7208 (sh-completion-at-point-function): New function.
7209 (sh-mode): Use it.
7210 (sh-smie--keyword-p): Remove unused argument.
7211 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7212 vars.
7213 (sh-set-shell): Always setup SMIE, even if we use the
7214 old indentation code.
7215
0922b826
DG
72162013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7217
b68e2926
DG
7218 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7219 cases of ? and =.
7220 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7221 predicate would return nil are almost non-existent.
7222 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7223
0922b826
DG
7224 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7225 cache also after commands that modify the buffer but don't move
7226 point.
7227
ee041f2d
SM
72282013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * env.el (substitute-env-in-file-name): New function.
7231 (substitute-env-vars): Extend the meaning of the optional arg.
7232
a5dab159
EZ
72332013-10-10 Eli Zaretskii <eliz@gnu.org>
7234
7235 * term/w32-win.el (dynamic-library-alist): Define separate lists
7236 of GIF DLLs for versions before and after 5.0.0 of giflib.
7237 (Bug#15531)
7238
0449d6cd 72392013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
7240
7241 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7242 not locked, use last revision and current source as
7243 defaults. (Bug#15569)
7244
2f6e161e
MY
72452013-10-10 Masatake YAMATO <yamato@redhat.com>
7246
7247 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7248 menu-bar is hidden.
7249
6c8413fc
MR
72502013-10-10 Martin Rudalics <rudalics@gmx.at>
7251
7252 * window.el (pop-to-buffer-same-window): Fix doc-string.
7253 (Bug#15492)
7254
20832de0
SM
72552013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7256
7257 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7258
c6e8ae77
AC
72592013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7260
7261 * calendar/icalendar.el (icalendar-import-file):
7262 Fix interactive spec. (Bug#15482)
7263
9db13baf
GM
72642013-10-10 Glenn Morris <rgm@gnu.org>
7265
9271e90e
GM
7266 * desktop.el (desktop-save): Default to saving in .emacs.d,
7267 since PWD is no longer in desktop-path by default. (Bug#15319)
7268
9db13baf
GM
7269 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7270 now that text mode has a menu with the same entry.
7271 (menu-bar-text-mode-auto-fill): Remove now unused func.
7272 * textmodes/text-mode.el (text-mode-map):
7273 Use auto-fill help text from menu-bar.el.
7274
a0be396a 72752013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
7276
7277 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7278
2edcd3c7
JL
72792013-10-09 Juri Linkov <juri@jurta.org>
7280
7281 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7282 instead of this-command-keys. Add universal-argument-more and
7283 universal-argument-minus to the list of prefix commands. (Bug#15568)
7284
574411d0
GM
72852013-10-09 Glenn Morris <rgm@gnu.org>
7286
14afa541
GM
7287 * vc/vc-svn.el (vc-svn-create-repo):
7288 Expand paths in file://... url. (Bug#15446)
7289
574411d0
GM
7290 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7291 Add some entries.
7292 (authors): Remove unused local variables.
7293
79804536
SM
72942013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * profiler.el: Create a more coherent calltree from partial backtraces.
7297 (profiler-format): Hide the tail with `invisible' so that C-s can still
7298 find the hidden elements.
7299 (profiler-calltree-depth): Don't recurse so enthusiastically.
7300 (profiler-function-equal): New hash-table-test.
7301 (profiler-calltree-build-unified): New function.
7302 (profiler-calltree-build): Use it.
7303 (profiler-report-make-name-part): Indent the calltree less.
7304 (profiler-report-mode): Add visibility specs for profiler-format.
7305 (profiler-report-expand-entry, profiler-report-toggle-entry):
7306 Expand the whole subtree when provided with a prefix arg.
7307
238150c8
DG
73082013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7309
7310 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7311 iuwu-mod token.
7312 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7313 hanging iuwu-mod token.
7314 (ruby-smie--forward-token): Do not include a dot after a token in
7315 that token.
7316 (ruby-smie--backward-token): Likewise.
7317
b0949cc4
JL
73182013-10-08 Juri Linkov <juri@jurta.org>
7319
7320 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7321 to isearch-other-control-char.
7322 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7323 and isearch-post-command-hook to post-command-hook.
7324 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7325 and isearch-post-command-hook from post-command-hook.
7326 (isearch-unread-key-sequence)
7327 (isearch-reread-key-sequence-naturally)
7328 (isearch-lookup-scroll-key, isearch-other-control-char)
7329 (isearch-other-meta-char): Remove functions.
7330 (isearch-pre-command-hook, isearch-post-command-hook):
7331 New functions based on isearch-other-meta-char rewritten
7332 relying on the new behavior of overriding-terminal-local-map
7333 that does not replace the local keymaps any more. (Bug#15200)
7334
4ed77415
EZ
73352013-10-08 Eli Zaretskii <eliz@gnu.org>
7336
7337 Support menus on text-mode terminals.
7338 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7339 functionality.
7340
7341 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7342
c2de5588
DK
7343 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7344 Move here from mouse.el.
4ed77415
EZ
7345 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7346 and arrow keys.
7347 (tty-menu-navigation-map): New map for TTY menu navigation.
7348
7349 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7350
7351 * frame.el (display-mouse-p): Report text-mode mouse as available
7352 on w32.
7353 (display-popup-menus-p): Report availability if mouse is
7354 available; don't condition on window-system.
7355
7356 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7357 (tty-menu-selected-face): New faces.
7358
b7d5bd82
TL
73592013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7360
06286513
SM
7361 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7362 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7363 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7364 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7365 New constants.
7366 (lisp-mode-variables): New `elisp' argument.
7367 (emacs-lisp-mode): Use it.
7368 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7369 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7370
b7d5bd82
TL
7371 * indent.el: Use lexical-binding.
7372 (indent-region): Add progress reporter.
7373 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7374 last step.
7375 (indent--next-tab-stop): New function to implement this behavior.
7376 (tab-to-tab-stop, move-to-tab-stop): Use it.
7377
73782013-10-08 Teemu Likonen <tlikonen@iki.fi>
7379
7380 * indent.el (indent-rigidly--current-indentation): New function.
7381 (indent-rigidly-map): New var.
7382 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7383
5ea75d23
BG
73842013-10-08 Bastien Guerry <bzg@gnu.org>
7385
f2726fa2 7386 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 7387
cc5da1ec
SM
73882013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7389
8ffa1a0b
SM
7390 * progmodes/perl-mode.el: Use lexical-binding.
7391 Remove redundant :group args.
7392 (perl-nochange): Change default to be closer to other major modes's
7393 standard behavior.
7394 (perl-indent-line): Don't consider text on current line as a
7395 valid beginning of function from which to indent.
7396
f2223371
SM
7397 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7398 with more than one argument (bug#15538).
7399
44256060
SM
7400 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7401
cc5da1ec
SM
7402 * vc/pcvs.el: Use lexical-binding.
7403 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7404 environment of `eval'.
7405 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7406 than a list of expressions. Adjust callers.
7407 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7408
0ea1599d
DG
74092013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7410
7411 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 7412 case of the dot in a chained method call being on the following line.
0ea1599d 7413
da3e5ebb
SM
74142013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7415
2abb4e65
SM
7416 * electric.el (electric-indent-inhibit): New var.
7417 (electric-indent-post-self-insert-function): Use it.
7418 * progmodes/python.el (python-mode): Set it.
7419
d2e0e795
SM
7420 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7421 open braces.
7422
7423 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7424
bdc6b4c8
SM
7425 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7426 (css-mode): Use electric-indent-chars.
7427
da3e5ebb
SM
7428 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7429 (font-lock-beg, font-lock-end): Move before first use.
7430 (nxml-mode): Use syntax-propertize-function.
7431 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7432 (nxml-extend-after-change-region): Remove.
7433 * nxml/xmltok.el: Use lexical-binding.
7434 (xmltok-save): Use `declare'.
7435 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7436 * nxml/nxml-util.el: Use lexical-binding.
7437 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7438 Use `declare'.
7439 * nxml/nxml-ns.el: Use lexical-binding.
7440 (nxml-ns-save): Use `declare'.
7441 (nxml-ns-prefixes-for): Avoid add-to-list.
7442 * nxml/rng-match.el: Use lexical-binding.
7443 (rng--ipattern): Use cl-defstruct.
7444 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7445 (rng-cons-group-after, rng-subst-group-after)
7446 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7447 Use closures instead of `(lambda...).
7448
f8f91d5d
MA
74492013-10-07 Michael Albinus <michael.albinus@gmx.de>
7450
7451 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7452 of BEG and END.
7453
da3e5ebb
SM
7454 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7455 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
7456 (tramp-gvfs-handle-insert-file-contents): Remove function.
7457
da3e5ebb
SM
7458 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7459 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
7460
7461 * net/trampver.el: Update release number.
7462
7ccae3b1
SM
74632013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7464
55ca2c0d
SM
7465 * progmodes/compile.el (compilation-parse-errors):
7466 Use compilation--put-prop.
7467 (compilation--ensure-parse): Check compilation-multiline.
7468
731fc3ae
SM
7469 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7470
da3e5ebb
SM
7471 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7472 lexical-binding.
a5833280 7473
2e7ba2c2
SM
7474 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7475
7ccae3b1
SM
7476 * progmodes/ruby-mode.el: Fix recently added tests.
7477 (ruby-smie-grammar): Add - and +.
7478 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7479 (ruby-smie--backward-id): New functions.
7480 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7481 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7482 any more.
7483
85698d63
LL
74842013-10-07 Leo Liu <sdl.web@gmail.com>
7485
7486 * register.el (register-preview-delay)
7487 (register-preview-functions): New variables.
7488 (register-read-with-preview, register-preview)
7489 (register-describe-oneline): New functions.
7490 (point-to-register, window-configuration-to-register)
7491 (frame-configuration-to-register, jump-to-register)
7492 (number-to-register, view-register, insert-register)
7493 (copy-to-register, append-to-register, prepend-to-register)
7494 (copy-rectangle-to-register): Use register-read-with-preview to
7495 read register. (Bug#15525)
7496
3986af6c
DS
74972013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7498
7499 * net/network-stream.el (network-stream-open-starttls): Don't add
7500 --insecure if it's already present, because that gnutls-cli
7501 rejects getting that parameter twice.
7502
5cd9cda9
DG
75032013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7504
7505 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7506 keyword, too.
7507
da9ea6d9
DG
75082013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7509
7510 * newcomment.el (comment-use-global-state): Change default value
7511 to t, mark obsolete (Bug#15251).
7512 (comment-beginning): In addition to `comment-to-syntax', check the
7513 value of `comment-use-global-state'.
7514
34d1a133
SM
75152013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7516
7517 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7518 (ruby-comment-column): Follow the global default, by default.
7519 (ruby-smie-grammar): Add assignment syntax.
7520 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7521 open-paren, a comma, or a \.
7522 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7523 and line continuations.
7524 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7525 followed by implicit semi-colons. Add rule for string concatenation
7526 and for indentation at BOB.
27821a89 7527 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
7528
7529 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7530 calling next-sexp, since next-token may have skipped chars which
7531 next-sexp doesn't know should be skipped!
7532
6f6ab820
LL
75332013-10-05 Leo Liu <sdl.web@gmail.com>
7534
34d1a133
SM
7535 * progmodes/octave.el (octave-send-region):
7536 Call compilation-forget-errors.
6f6ab820 7537
34ca0f4c
XF
75382013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7539
7540 * vc/vc-svn.el (vc-svn-find-admin-dir):
7541 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7542 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7543 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7544 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7545
a27c1b72
SM
75462013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7547
7548 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7549
258ab3bc
SM
75502013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7551
7552 * subr.el (read-passwd): Hide chars even when called within a context
7553 where after-change-functions is disabled (bug#15501).
7554 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7555 until we removed ourself from overriding-terminal-local-map.
7556
939fb29c
LL
75572013-10-04 Leo Liu <sdl.web@gmail.com>
7558
258ab3bc
SM
7559 * progmodes/octave.el (inferior-octave-mode):
7560 Call compilation-forget-errors.
939fb29c 7561
63bd7f35
XF
75622013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7563
7564 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7565
9e6229fa
MA
75662013-10-04 Michael Albinus <michael.albinus@gmx.de>
7567
7568 * net/secrets.el (secrets-create-collection): Add optional
7569 argument ALIAS. Use proper Label keyword. Append ALIAS as
7570 dbus-call-method argument. (Bug#15516)
7571
1dab32a3
LL
75722013-10-04 Leo Liu <sdl.web@gmail.com>
7573
7574 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7575 (inferior-octave-compilation-font-lock-keywords): New variables.
7576 (compilation-error-regexp-alist)
7577 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7578 (inferior-octave-mode): Use compilation-shell-minor-mode.
7579
6cad7ba3
JS
75802013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7581
7582 * minibuffer.el (completion--replace): Be careful that `end' might be
7583 a marker.
7584
acbadd00
DU
75852013-10-03 Daiki Ueno <ueno@gnu.org>
7586
7587 Add support for package signature checking.
7588 * emacs-lisp/package.el (url-http-file-exists-p)
7589 (epg-make-context, epg-context-set-home-directory)
7590 (epg-verify-string, epg-context-result-for)
7591 (epg-signature-status, epg-signature-to-string)
7592 (epg-check-configuration, epg-configuration)
7593 (epg-import-keys-from-file): Declare.
7594 (package-check-signature): New user option.
7595 (package-unsigned-archives): New user option.
7596 (package-desc): Add `signed' field.
7597 (package-load-descriptor): Set `signed' field if .signed file exists.
7598 (package--archive-file-exists-p): New function.
7599 (package--check-signature): New function.
7600 (package-install-from-archive): Check package signature.
7601 (package--download-one-archive): Check archive signature.
7602 (package-delete): Remove .signed file.
7603 (package-import-keyring): New command.
7604 (package-refresh-contents): Import default keyring.
7605 (package-desc-status): Add "unsigned" status.
7606 (describe-package-1, package-menu--print-info)
7607 (package-menu-mark-delete, package-menu--find-upgrades)
7608 (package-menu--status-predicate): Support "unsigned" status.
7609
adf2aa61
SM
76102013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7613 the new compilation scheme using the new byte-codes.
7614
7615 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7616 (byte-pophandler): New byte codes.
7617 (byte-goto-ops): Adjust accordingly.
7618 (byte-compile--use-old-handlers): New var.
7619 (byte-compile-catch): Use new byte codes depending on
7620 byte-compile--use-old-handlers.
7621 (byte-compile-condition-case--old): Rename from
7622 byte-compile-condition-case.
7623 (byte-compile-condition-case--new): New function.
7624 (byte-compile-condition-case): New function that dispatches depending
7625 on byte-compile--use-old-handlers.
7626 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7627 when we can.
7628
7629 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7630 Optimize under `condition-case' and `catch' if
7631 byte-compile--use-old-handlers is nil.
7632 (disassemble-offset): Handle new bytecodes.
7633
328a8179
SM
76342013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * subr.el (error): Use `declare'.
7637 (decode-char, encode-char): Use advertised-calling-convention instead
7638 of the docstring to discourage use of the `restriction' arg.
7639
15a1e936
DU
76402013-10-03 Daiki Ueno <ueno@gnu.org>
7641
7642 * epg.el (epg-verify-file): Add a comment saying that it does not
7643 notify verification error as a return value nor a signal.
7644 (epg-verify-string): Ditto.
7645
376f862a
KR
76462013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7647
7648 * progmodes/compile.el (compilation-start): Try globbing the arg to
7649 `cd' (bug#15417).
7650
a2f93a5f
MA
76512013-10-02 Michael Albinus <michael.albinus@gmx.de>
7652
7653 Sync with Tramp 2.2.8.
7654
7655 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7656 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7657 * net/trampver.el: Update release number.
7658
0daa0804
JD
76592013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7660
7661 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7662 and default-process-coding-system for darwin only.
7663
abd1ae34
SM
76642013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7667
be4e325d
MH
76682013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7669
7670 * vc/vc-git.el (vc-git-grep): Disable pager.
7671
e9155c4a
DG
76722013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7673
494e898b
DG
7674 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7675 Use :url instead of :homepage, as per
7676 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7677
e9155c4a
DG
7678 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7679 non-nil, use `syntax-ppss' (Bug#15251).
7680
481a8e0f
RS
76812013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7682
be4e325d
MH
7683 * progmodes/octave.el (inferior-octave-startup-file):
7684 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 7685
056453c6
DG
76862013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7687
be4e325d
MH
7688 * emacs-lisp/package.el (package-desc-from-define):
7689 Accept additional arguments as plist, convert them to an alist and store
7690 them in the `extras' slot.
056453c6
DG
7691 (package-generate-description-file): Convert extras alist back to
7692 plist and append to the `define-package' form arguments.
7693 (package--alist-to-plist): New function.
7694 (package--ac-desc): Add `extras' slot.
7695 (package--add-to-archive-contents): Check if the archive-contents
7696 vector is long enough, and if it is, pass its `extras' slot value
7697 to `package-desc-create'.
7698 (package-buffer-info): Call `lm-homepage', pass the returned value
7699 to `package-desc-from-define'.
7700 (describe-package-1): Render the homepage button (Bug#13291).
7701
be4e325d
MH
7702 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7703 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 7704
832966e5
JD
77052013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7706
7707 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7708 and default-process-coding-system to utf-8-unix (Bug#15402).
7709
6cfe977d
XF
77102013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7711
7712 * subr.el (looking-back): Do not recommend using looking-back.
7713
38de11bd
AM
77142013-09-28 Alan Mackenzie <acm@muc.de>
7715
7716 Fix indentation/fontification of Java enum with "implements".
7717
7718 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7719 regexp which matches "implements", etc., in Java.
7720 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7721 specifier clauses coming after "enum".
7722 * progmodes/cc-fonts.el (c-font-lock-declarations)
7723 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7724 after "enum".
7725
1610938f
JD
77262013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7727
7728 * faces.el (region): Change ns_selection_color to
7729 ns_selection_fg_color, add ns_selection_bg_color.
7730
e090f499
LL
77312013-09-28 Leo Liu <sdl.web@gmail.com>
7732
4d2e94d1
LL
7733 * progmodes/octave.el (inferior-octave-completion-table)
7734 (inferior-octave-completion-at-point): Minor tweaks.
7735
e090f499
LL
7736 * textmodes/ispell.el (ispell-lookup-words): Rename from
7737 lookup-words. (Bug#15460)
7738 (lookup-words): Obsolete.
7739 (ispell-complete-word, ispell-command-loop): All uses changed.
7740
7e138a62
RS
77412013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7742
a12bf61e 7743 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
7744 (octave-mode-menu): Add octave-send-buffer.
7745 (octave-send-buffer): New function.
7746
5af5ed08
RS
77472013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7748
a12bf61e 7749 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
7750 octave-lookfor.
7751 (octave-mode-menu): Add octave-lookfor.
7752 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7753 octave-lookfor.
7754 (octave-lookfor): New function.
7755
3b7b2692
SM
77562013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7757
35e951cd 7758 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
7759 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7760 its convention.
7761 (cl--loop-set-iterator-function): New function.
7762 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7763 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7764 Bind `it' with `let' instead of substituting it with `cl-subst'.
7765 (cl--unused-var-p): New function.
7766 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7767 Eliminate some unused variable warnings (bug#15326).
7768
529fb53f
TH
77692013-09-27 Tassilo Horn <tsdh@gnu.org>
7770
7771 * doc-view.el (doc-view-scale-reset): Rename from
7772 `doc-view-reset-zoom-level'.
7773 (doc-view-scale-adjust): New command.
7774 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7775 `doc-view-scale-adjust'.
7776
0550c95a
TH
77772013-09-26 Tassilo Horn <tsdh@gnu.org>
7778
7779 * doc-view.el (doc-view-reset-zoom-level): New command.
7780 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7781 zoom commands (bug#15466).
7782
6950f152
KH
77832013-09-26 Kenichi Handa <handa@gnu.org>
7784
7785 * international/quail.el (quail-help): Make it not a command.
7786
39587580
LL
77872013-09-26 Leo Liu <sdl.web@gmail.com>
7788
7789 * minibuffer.el (completion-all-sorted-completions): Make args
7790 optional as they are.
7791
00578659
DC
77922013-09-25 Daniel Colascione <dancol@dancol.org>
7793
7794 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7795 specs are and that they're not evaluated.
7796
0c173878
SS
77972013-09-24 Sam Steingold <sds@gnu.org>
7798
7799 * midnight.el (clean-buffer-list-kill-regexps)
7800 (clean-buffer-list-kill-buffer-names): Update for the new Man
7801 buffer naming which includes the object name.
7802
84998447
SM
78032013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7804
7805 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7806 (eshell-parse-command, eshell-parse-pipeline): Use it since
7807 eshell-separate-commands requires a dynamic scoped var.
7808 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7809
33215353
LL
78102013-09-23 Leo Liu <sdl.web@gmail.com>
7811
7812 * autoinsert.el (auto-insert-alist): Make the value of
7813 lexical-binding match its file setting.
7814
57b16162
JB
78152013-09-23 Juanma Barranquero <lekktu@gmail.com>
7816
c8af4e67
JB
7817 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7818
57b16162
JB
7819 * autoarg.el (autoarg-kp-digit-argument):
7820 * electric.el (Electric-command-loop):
7821 * kmacro.el (kmacro-step-edit-insert):
7822 Do not set universal-argument-num-events.
7823
7186ba60
LL
78242013-09-22 Leo Liu <sdl.web@gmail.com>
7825
7826 * files.el (interpreter-mode-alist): Add octave.
7827
ece15004
AM
78282013-09-21 Alan Mackenzie <acm@muc.de>
7829
7830 C++: fontify identifier in declaration following "public:" correctly.
7831 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7832 to match "public", etc.
7833 (c-decl-prefix-re): Add ":" into the C++ value.
7834 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7835 bit. Add a check for a ":" preceded by "public", etc.
7836
75d83e22
EZ
78372013-09-21 Eli Zaretskii <eliz@gnu.org>
7838
7839 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7840 recognized by GDB 7.5 and later.
7841
d052d3bd
XF
78422013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7843
7844 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7845
31dca772
R
78462013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7847
7848 * subr.el (internal--call-interactively): New const.
7849 (called-interactively-p): Use it (bug#3984).
7850
98ccf24e
XF
78512013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7852
7853 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
7854 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7855 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 7856
c39cc7d1
SM
78572013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7860 (eshell-ls-orig-insert-directory): Remove.
7861 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7862 (eshell-ls-use-in-dired): Use advice-add/remove.
7863 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7864 Add `orig-fun' arg for use in :around advice.
7865 Make it check (redundantly) eshell-ls-use-in-dired.
7866
9a0289a2
GM
78672013-09-19 Glenn Morris <rgm@gnu.org>
7868
a2c501b8
GM
7869 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7870
c440407a
GM
7871 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7872
9a0289a2
GM
7873 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7874
85e05915
MA
78752013-09-19 Michael Albinus <michael.albinus@gmx.de>
7876
7877 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7878 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7879 (tramp-get-remote-python): New defuns.
7880 (tramp-get-remote-uid-with-perl)
7881 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7882 contributed by yary <not.com@gmail.com> (tiny change).
7883 (tramp-get-remote-uid-with-python)
7884 (tramp-get-remote-gid-with-python): New defuns. Python code
7885 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7886 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7887
ce503312
GM
78882013-09-19 Glenn Morris <rgm@gnu.org>
7889
f7544773
GM
7890 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7891
72fd2877
GM
7892 * eshell/em-unix.el (eshell-remove-entries):
7893 Rename argument to avoid name-clash with global `top-level'.
7894
336b5a56
GM
7895 * eshell/esh-proc.el (eshell-kill-process-function):
7896 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7897 (eshell-reset-after-proc): Remove unused arg `proc'.
7898
57a3a53d
GM
7899 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7900 (directory-files-and-attributes): Mark unused arg.
7901
3261d4af
GM
7902 * eshell/em-unix.el (eshell-remove-entries):
7903 Remove unused arg `path'. Update callers.
7904
8e51b5d0
GM
7905 * eshell/em-hist.el (eshell-hist-parse-arguments):
7906 Remove unused arg `silent'. Update callers.
7907
ce503312
GM
7908 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7909 Fix (f)boundp mix-up.
7910
7911 * eshell/em-smart.el (eshell-smart-scroll-window)
7912 (eshell-disable-after-change):
336b5a56 7913 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 7914
ee3ce8a7
AM
79152013-09-18 Alan Mackenzie <acm@muc.de>
7916
7917 Fix fontification of type when followed by "const".
7918 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7919 "known" types from fontification.
7920
ec9177ba
GM
79212013-09-18 Glenn Morris <rgm@gnu.org>
7922
7bb3e768
GM
7923 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7924 (chart-face-list): Drop Emacsen without display-color-p.
7925
5148da15
GM
7926 * net/eww.el (libxml-parse-html-region): Declare.
7927 (eww-display-html): Explicit error if no libxml2 support.
7928
2f68e157
GM
7929 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7930
9019d095
GM
7931 * image.el (image-type-from-buffer, image-multi-frame-p):
7932 Remove --without-x warning/error.
67645389 7933
5f30349b 7934 * mouse.el (mouse-yank-primary):
45069b2e 7935 * term.el (term-mouse-paste):
5f30349b
GM
7936 Reorder to silence --without-x compilation.
7937
cd8edbbe
GM
7938 * mpc.el (doc-view-mode): Silence --without-x compilation.
7939
8a78544e
GM
7940 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7941 Silence --without-x compilation.
7942
12679bfd
GM
7943 * progmodes/gud.el (gud-find-file, gud-mode):
7944 Silence --without-x compilation.
7945 (tooltip-mode): Declare.
30810a05 7946
f0047cb9
GM
7947 * wdired.el (dired-backup-overwrite): Remove declaration.
7948 (wdired-mode-map): Add doc string.
7949
e740f9d2
GM
7950 * custom.el (x-get-resource): Declare.
7951
92d77c89
GM
7952 * eshell/em-glob.el (ange-cache):
7953 * eshell/em-unix.el (ange-cache): Declare.
7954
76e69577
GM
7955 * faces.el (x-display-list, x-open-connection, x-get-resource):
7956 Declare.
7e58af4b
GM
7957
7958 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7959 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7960 Declare.
76e69577 7961
4bd4c0af 7962 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 7963
ffb82dbd
GM
7964 * net/gnutls.el (gnutls-log-level): Declare.
7965
986ed135
GM
7966 * net/shr.el (image-size, image-animate): Declare.
7967
e740f9d2
GM
7968 * simple.el (font-info): Declare.
7969
d2f3e9f8
GM
7970 * subr.el (x-popup-dialog): Declare.
7971
047a1a4c
GM
7972 * term/common-win.el (x-select-enable-primary)
7973 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7974 Declare.
7975
f4a1d572
GM
7976 * term/ns-win.el (x-handle-args): Declare.
7977
e843de77
GM
7978 * term/x-win.el (x-select-enable-clipboard): Declare.
7979
5fa89513
GM
7980 * term/w32-win.el (create-default-fontset): Declare.
7981
38702b5b
GM
7982 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7983 Declare.
7984
e740f9d2
GM
7985 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7986 (fit-frame-to-buffer): Explicit error if --without-x.
7987 (mouse-autoselect-window-select): Silence compiler.
7988
49a053fc
GM
7989 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7990
7991 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7992 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7993 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 7994 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
7995 Remove unused local variables.
7996
7997 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7998
ec9177ba
GM
7999 * textmodes/two-column.el: Make 2C-split work for --without-x.
8000 (scroll-bar-columns): Autoload.
8001 (top-level): Require fringe when compiling.
8002
9f25cb77
LL
80032013-09-18 Leo Liu <sdl.web@gmail.com>
8004
8005 * subr.el (add-hook): Robustify to handle closure as well.
8006
2b42da98
GM
80072013-09-17 Glenn Morris <rgm@gnu.org>
8008
8009 * simple.el (messages-buffer-mode-map): Unbind "g".
8010
e8b66a6a
SM
80112013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8012
9c0ad4f7
SM
8013 * help-mode.el (help-mode-finish): Use derived-mode-p.
8014 Remove obsolete highlighting.
8015
7a806dfb
SM
8016 * play/life.el (life-mode): Use define-derived-mode. Derive from
8017 special-mode.
8018 (life): Let-bind inhibit-read-only.
8019 (life-setup): Avoid `setq'. Use `life-mode'.
8020
96dbf5a8
SM
8021 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8022 which should not be needed any more.
8023 (package-menu-refresh, package-menu-describe-package): Use user-error.
8024
e8b66a6a
SM
8025 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8026 (eshell-post-rewrite-command-hook): Make obsolete.
8027 (eshell-parse-command): Simplify.
8028 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8029 (eshell--cmd): Declare.
8030 (eshell-parse-pipeline): Remove unused var `final-p'.
8031 Pass a dynvar to eshell-post-rewrite-command-hook.
8032 Implement the new eshell-post-rewrite-command-function.
8033 (eshell-invoke-directly): Remove unused arg `input'.
8034 * eshell/esh-io.el (eshell-io-initialize):
8035 Use eshell-post-rewrite-command-function (bug#15399).
8036 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8037 adjust to new calling convention.
8038 (eshell-create-handles): Rename args to avoid clashing with dynvar
8039 `standard-output'.
8040
90582f05
GM
80412013-09-17 Glenn Morris <rgm@gnu.org>
8042
8043 * simple.el (messages-buffer-mode): New major mode.
8044 (messages-buffer): New function.
8045 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8046 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 8047 (ert-run-test): Use `messages-buffer' function.
90582f05 8048 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
8049 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8050 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 8051
39eb0cb5 80522013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
8053
8054 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8055
1d42e5b6 8056 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 8057
70568a90
SM
80582013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8059
504a0381
SM
8060 * icomplete.el (icomplete-in-buffer): New var.
8061 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8062 vars and replace them with functions.
8063 (icomplete-minibuffer-setup): Adjust accordingly.
8064 (icomplete--completion-table, icomplete--completion-predicate)
8065 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8066 New functions.
8067 (icomplete-forward-completions, icomplete-backward-completions)
8068 (icomplete-simple-completing-p, icomplete-exhibit)
8069 (icomplete-completions): Use them.
8070 (icomplete--in-region-buffer): New var.
8071 (icomplete--in-region-setup): New function.
8072 (icomplete-mode): Use it.
8073
70568a90
SM
8074 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8075 (bug#15379).
8076 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8077 return args and options.
8078 (eshell-eval-using-options): Use the new return value of
8079 eshell--do-opts to set the options's vars in their scope.
8080 (eshell--set-option): Rename from eshell-set-option.
8081 Add arg `opt-vals'.
8082 (eshell--process-option): Rename from eshell-process-option.
8083 Add arg `opt-vals'.
8084 (eshell--process-args): Use an `opt-vals' alist to store the options's
8085 values during their processing and return them additionally to the
8086 remaining args.
8087
578c21bc
DG
80882013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8089
8090 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8091 continuation character an operator, as far as indentation is
8092 concerned (Bug#15369).
8093
c089653d
MR
80942013-09-15 Martin Rudalics <rudalics@gmx.at>
8095
8096 * window.el (window--state-put-2): Don't process buffer state
8097 when buffer doesn't exist any more (Bug#15382).
8098
1e53bb4b
GM
80992013-09-15 Glenn Morris <rgm@gnu.org>
8100
30753242
GM
8101 * eshell/em-unix.el (eshell/rm):
8102 Make -f ignore missing files. (Bug#15373)
8103
1e53bb4b
GM
8104 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8105 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8106 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8107
0d8863b3
GM
81082013-09-14 Glenn Morris <rgm@gnu.org>
8109
8110 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8111
d3fc6549
GM
81122013-09-13 Glenn Morris <rgm@gnu.org>
8113
8114 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8115 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8116
fcd42c11
DA
81172013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8118
8119 * frame.el (x-focus-frame): Mark as declared in frame.c.
8120
7830899f
SM
81212013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8122
8123 * ls-lisp.el: Use advice-add.
8124 (original-insert-directory): Remove.
8125 (ls-lisp--insert-directory): Rename from insert-directory; add
8126 `orig-fun' argument.
8127 (insert-directory): Advise.
8128
84387cd2
EZ
81292013-09-13 Eli Zaretskii <eliz@gnu.org>
8130
8131 * term.el (term-emulate-terminal): Decode the command string
8132 before passing it to term-command-hook. (Bug#15337)
8133
35ffc6ba
GM
81342013-09-13 Glenn Morris <rgm@gnu.org>
8135
5c3f9bcc
GM
8136 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8137
2ada368a
GM
8138 * eshell/esh-ext.el (eshell-search-path): Declare.
8139
fcef2e13
GM
8140 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8141 Otherwise an error occurs if eshell-dirs module not loaded.
8142
35ffc6ba
GM
8143 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8144
35c3d36e
MA
81452013-09-13 Michael Albinus <michael.albinus@gmx.de>
8146
8147 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8148 `tramp-check-proper-host'. Check for a valid method name.
8149
8150 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8151 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8152 * net/tramp-sh.el (tramp-maybe-open-connection):
8153 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8154
8155 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8156 also for hash values.
8157
ae5e4c48
SM
81582013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8159
379add74
SM
8160 * term/ns-win.el (parameters): Don't declare as dynamic.
8161 (before-make-frame-hook): Don't add ineffective function.
8162
ae5e4c48
SM
8163 * eshell/*.el: Use lexical-binding (bug#15231).
8164
b5623270
KH
81652013-09-12 Kenichi Handa <handa@gnu.org>
8166
ae5e4c48 8167 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 8168
30213927
GM
81692013-09-12 Glenn Morris <rgm@gnu.org>
8170
be94d713 8171 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 8172 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 8173
44915370
GM
8174 * subr.el (do-after-load-evaluation): Also give compiler warnings
8175 when obsolete files are used (except by obsolete files).
8176
a6ae021f
GM
8177 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8178 in the status output, assume `filename' is the first. (Bug#15322)
8179
40e64f0c
GM
8180 * vc/vc.el (vc-deduce-fileset): Doc fix.
8181
16d9f896
GM
8182 * calc/calc-help.el (Info-goto-node):
8183 * progmodes/cperl-mode.el (Info-find-node):
8184 * vc/ediff.el (Info-goto-node): Update declarations.
8185
dea01c6e
GM
8186 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8187
759880bf 8188 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
8189 (vc-bzr-pull): Require vc-dispatcher.
8190 * vc/vc-git.el (vc-compilation-mode): Declare.
8191 (vc-git-pull): Require vc-dispatcher.
8192
08d66420
GM
8193 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8194
30b626e9
GM
8195 * progmodes/octave.el (help-button-action): Declare.
8196
8c05cb10
GM
8197 * shell.el (shell-directory-tracker): Output error as a message
8198 rather than just returning it as a string.
8199 (shell-process-pushd): Remove useless use of message.
8200
30213927
GM
8201 * dframe.el (dframe-timer-fn):
8202 * files.el (dir-locals-read-from-file):
8203 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8204 (mpc-format):
8205 * reveal.el (reveal-post-command):
8206 * saveplace.el (load-save-place-alist-from-file):
8207 * shell.el (shell-resync-dirs):
8208 * w32-common-fns.el (x-get-selection-value):
8209 * emacs-lisp/copyright.el (copyright-find-copyright):
8210 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8211 * emulation/tpu-edt.el (tpu-copy-keyfile):
8212 * play/bubbles.el (bubbles--mark-neighbourhood):
8213 * progmodes/executable.el
8214 (executable-make-buffer-file-executable-if-script-p):
8215 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8216
d3b049e6
SM
82172013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8218
170266d0
SM
8219 Cleanup Eshell to rely less on dynamic scoping.
8220 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8221 last-value, and ext-command here. Bind `args' closer to `body'.
8222 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8223 (eshell--args): Declare new dynamic var.
8224 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8225 last-value, and ext-command. Pass `args' to `body'.
8226 (eshell-process-args): Bind eshell--args.
8227 (eshell-set-option): Use eshell--args.
8228 * eshell/eshell.el (eshell): Use derived-mode-p.
8229 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8230 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8231 (eshell-glob-function): Declare.
8232 * eshell/esh-util.el: Require cl-lib.
8233 (eshell-read-hosts-file): Avoid add-to-list.
8234 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8235 `err'.
8236 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8237 Declare.
8238 (eshell/diff): Remove unused var `err'.
8239 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8240 `killflag'.
8241 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8242 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8243 first use.
8244 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8245 Move declaration before first use.
8246 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
8247 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8248 rely on cl-return.
8249
56834f3b
GM
82502013-09-12 Glenn Morris <rgm@gnu.org>
8251
8252 * term/ns-win.el (global-map): Remove binding for ispell-next,
8253 deleted 1999-05-29. (Bug#15357)
8254
5c91a2b8
GM
82552013-09-11 Glenn Morris <rgm@gnu.org>
8256
da712f22
GM
8257 * echistory.el (electric-command-history): Remove call to deleted func.
8258
512e4cdc
GM
8259 * play/landmark.el (landmark-mode): Fix typos.
8260
d3506ca5
GM
8261 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8262 Check cvs-sort-ignore-file is bound.
8263
5c91a2b8
GM
8264 * savehist.el: No need for cl when compiling on Emacs.
8265
feeff482
SM
82662013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8267
656bd483
SM
8268 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8269 (bug#15338).
d3b049e6
SM
8270 (eshell-self-insert-command, eshell-send-invisible):
8271 Remove unused argument.
656bd483
SM
8272 (eshell-handle-control-codes): Remove unused var `orig'.
8273 Avoid delete-backward-char.
8274
feeff482
SM
8275 * files.el (set-auto-mode): Simplify a bit further.
8276
2a08047a
GM
82772013-09-11 Glenn Morris <rgm@gnu.org>
8278
8279 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8280 (set-auto-mode): Don't regexp-quote elements.
8281 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8282 * progmodes/cc-mode.el (interpreter-mode-alist):
8283 * progmodes/ruby-mode.el (interpreter-mode-alist):
8284 Revert previous change.
8285
34675540
SM
82862013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8287
1b3b87df
SM
8288 * play/snake.el (snake-mode):
8289 * play/mpuz.el (mpuz-mode):
8290 * play/landmark.el (lm-mode):
8291 * play/blackbox.el (blackbox-mode):
8292 * play/5x5.el (5x5-mode):
8293 * obsolete/options.el (Edit-options-mode):
8294 * net/quickurl.el (quickurl-list-mode):
8295 * net/newst-treeview.el (newsticker-treeview-mode):
8296 * mail/rmailsum.el (rmail-summary-mode):
8297 * mail/mspools.el (mspools-mode):
8298 * locate.el (locate-mode):
8299 * ibuffer.el (ibuffer-mode):
8300 * emulation/ws-mode.el (wordstar-mode):
8301 * emacs-lisp/debug.el (debugger-mode):
8302 * array.el (array-mode):
8303 * net/eudc.el (eudc-mode): Use define-derived-mode.
8304 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8305 Move initialization into declaration.
8306 (mairix-searches-mode): Use define-derived-mode.
8307 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8308 (eudc-edit-hotlist): Use dolist.
8309 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8310 (Man-mode): Use define-derived-mode.
8311 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8312 (Info-edit-mode): Use define-derived-mode.
8313 (Info-cease-edit): Use Info-mode.
8314 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8315 into declaration.
8316 (eshell-mode): Use define-derived-mode.
8317 * chistory.el (command-history-mode-map): Rename from
8318 command-history-map.
8319 (command-history-mode): Use define-derived-mode.
da712f22 8320 (Command-history-setup): Remove function.
1b3b87df
SM
8321 * calc/calc.el (calc-trail-mode-map): New var.
8322 (calc-trail-mode): Use define-derived-mode.
8323 (calc-trail-buffer): Set calc-main-buffer manually.
8324 * bookmark.el (bookmark-insert-annotation): New function.
8325 (bookmark-edit-annotation): Use it.
8326 (bookmark-edit-annotation-mode): Make it a proper major mode.
8327 (bookmark-send-edited-annotation): Use derived-mode-p.
8328 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8329 closer to its ideal place. Use \' to match EOS.
8330
34675540
SM
8331 * profiler.el (profiler-calltree-find): Use function-equal.
8332
6a5c15d9
GM
83332013-09-10 Glenn Morris <rgm@gnu.org>
8334
1af4c220
GM
8335 * files.el (interpreter-mode-alist): Convert to regexps.
8336 (set-auto-mode): Adapt for this. (Bug#15306)
8337 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8338 Comment out unused variable.
8339 * progmodes/cc-mode.el (interpreter-mode-alist):
8340 * progmodes/python.el (interpreter-mode-alist):
8341 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8342 * progmodes/sh-script.el (sh-set-shell):
8343 No longer use interpreter-mode-alist to get list of shells.
8344
6a5c15d9
GM
8345 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8346
8c27f5ff
SM
83472013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8348
02ef6c1a 8349 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 8350 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
8351 Bind switch-frame explicitly. Replace universal-argument-minus with
8352 a conditional binding.
8353 (universal-argument-num-events, saved-overriding-map): Remove.
8354 (restore-overriding-map): Remove.
8355 (universal-argument--mode): Rename from save&set-overriding-map,
8356 and rewrite.
8357 (universal-argument, universal-argument-more, negative-argument)
8358 (digit-argument): Adjust accordingly.
8359 (universal-argument-minus): Remove.
8360 (universal-argument-other-key): Remove.
8361
8c27f5ff
SM
8362 * subr.el (with-demoted-errors): Add `format' argument.
8363
6480194c
MA
83642013-09-10 Michael Albinus <michael.albinus@gmx.de>
8365
8366 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8367 `tramp-cleanup-connection'.
8368
8369 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8370 parameters KEEP-DEBUG and KEEP-PASSWORD.
8371
8372 * net/tramp.el (tramp-file-name-handler):
8373 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8374 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8375 (tramp-maybe-open-connection):
8c27f5ff
SM
8376 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8377 Use `tramp-cleanup-connection'.
6480194c 8378
8c27f5ff
SM
8379 * net/tramp-sh.el (tramp-maybe-open-connection):
8380 Catch 'uname-changed inside the progress reporter.
6480194c 8381
e5e916d8
GM
83822013-09-10 Glenn Morris <rgm@gnu.org>
8383
9a2c9b47
GM
8384 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8385
e5e916d8
GM
8386 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8387 returns "alternate access method" in mode (eg "-rw-r--r--.").
8388
144e38fe
GM
83892013-09-08 Glenn Morris <rgm@gnu.org>
8390
8391 * saveplace.el (load-save-place-alist-from-file):
8392 Demote errors. (Bug#15305)
8393
af9ff9e8
MA
83942013-09-08 Michael Albinus <michael.albinus@gmx.de>
8395
8396 Improve compatibility with older Emacsen, and XEmacs.
8397
8398 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8399 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
8400 (with-tramp-progress-reporter): Do not let-bind `result'.
8401 This yields to scoping errors in XEmacs.
af9ff9e8
MA
8402 (tramp-handle-make-auto-save-file-name): New function, moved from
8403 tramp-sh.el.
8404
8405 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8406 for `make-auto-save-file-name'.
8c27f5ff
SM
8407 (tramp-adb--gnu-switches-to-ash):
8408 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8409
8410 * net/tramp-cache.el (tramp-cache-print): Call
8411 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8412
8413 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8414 bound. It isn't for XEmacs.
8415
8c27f5ff
SM
8416 * net/tramp-compat.el (tramp-compat-copy-file):
8417 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
8418 (tramp-compat-replace-regexp-in-string): New defun.
8419
8420 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8421 for `make-auto-save-file-name'.
8422 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8423 `copy-file'.
8424 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8425 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8426 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8427
8c27f5ff
SM
8428 * net/tramp-gw.el (tramp-gw-open-network-stream):
8429 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 8430
8c27f5ff
SM
8431 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8432 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
8433 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8434 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
8435 (tramp-sh-file-inotifywait-process-filter):
8436 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8437 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8438
8439 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8440 for `make-auto-save-file-name'.
8c27f5ff
SM
8441 (tramp-smb-handle-copy-directory):
8442 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
8443 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8444 (tramp-smb-handle-copy-file): Improve error message.
8445 (tramp-smb-handle-rename-file): Rename directly only in case
8446 `newname' does not exist yet. This is a restriction of smbclient.
8447 (tramp-smb-maybe-open-connection): Rerun the function only when
8448 `auth-sources' is non-nil.
8449
0ca754d0
KH
84502013-09-08 Kenichi Handa <handa@gnu.org>
8451
e0eb0550 8452 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
8453 more characters.
8454
e8dd0787
AM
84552013-09-07 Alan Mackenzie <acm@muc.de>
8456
8457 Correctly fontify Java class constructors.
8458 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8459 in Java Mode.
8460 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
8461 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8462 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
8463 "typeless" declaration there.
8464
f2f248e7
RW
84652013-09-07 Roland Winkler <winkler@gnu.org>
8466
8467 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8468 field subtitle for entry type book.
8469
67982e2b
SM
84702013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8471
8472 * minibuffer.el: Make minibuffer-complete call completion-in-region
8473 rather than other way around.
8474 (completion--some, completion-pcm--find-all-completions):
8475 Don't delay signals when debugging.
8476 (minibuffer-completion-contents): Beware fields within the
8477 minibuffer contents.
8478 (completion-all-sorted-completions): Use defvar-local.
8479 (completion--do-completion, completion--cache-all-sorted-completions)
8480 (completion-all-sorted-completions, minibuffer-force-complete):
8481 Add args `beg' and `end'.
8482 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8483 (minibuffer-complete): Use completion-in-region.
8484 (completion-complete-and-exit): New fun, extracted from
8485 minibuffer-complete-and-exit.
8486 (minibuffer-complete-and-exit): Use it.
8487 (completion--complete-and-exit): Rename from
8488 minibuffer--complete-and-exit.
8489 (completion-in-region--single-word): New function, extracted from
8490 minibuffer-complete-word.
8491 (minibuffer-complete-word): Use it.
8492 (display-completion-list): Make `common-substring' argument obsolete.
8493 (completion--in-region): Call completion--in-region-1 instead of
8494 minibuffer-complete.
8495 (completion-help-at-point): Pass boundaries to
8496 minibuffer-completion-help as args rather than via an overlay.
8497 (completion-pcm--string->pattern): Use `any-delim'.
8498 (completion-pcm--optimize-pattern): New function.
8499 (completion-pcm--pattern->regex): Handle `any-delim'.
8500 * icomplete.el (icomplete-forward-completions)
8501 (icomplete-backward-completions, icomplete-completions):
8502 Adjust calls to completion-all-sorted-completions and
8503 completion--cache-all-sorted-completions.
8504 (icomplete-with-completion-tables): Default to t.
8505 * emacs-lisp/crm.el (crm--current-element): Rename from
8506 crm--select-current-element. Don't put an overlay but return the
8507 boundaries instead.
8508 (crm--completion-command): Take two new args to bind to the boundaries.
8509 (crm-completion-help): Adjust accordingly.
8510 (crm-complete): Use completion-in-region.
8511 (crm-complete-word): Use completion-in-region--single-word.
8512 (crm-complete-and-exit): Use completion-complete-and-exit.
8513
e17d94a5
SM
85142013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8517 than dynamically.
8518
96727100
JL
85192013-09-06 Juri Linkov <juri@jurta.org>
8520
8521 * info.el (Info-display-images-node): When image file doesn't exist
8522 display text version of the image if it's provided in the Info file.
8523 Otherwise, display the location of missing image from SRC attribute.
8524 Add help-echo text property from ALT attribute. (Bug#15279)
8525
86cf7329
SM
85262013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8529 (edit-abbrevs-mode): Use define-derived-mode.
8530
8531 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8532 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8533 that it's defined.
8534 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8535 Use define-derived-mode.
8536
8537 * epg.el (epg-start-encrypt): Minor CSE simplification.
8538
816244a2
WX
85392013-09-06 William Xu <william.xwl@gmail.com>
8540
8541 * arc-mode.el: Add support for 7za (bug#15264).
8542 (archive-7z-program): New var.
8543 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8544 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8545 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8546
1486fa31
MA
85472013-09-06 Michael Albinus <michael.albinus@gmx.de>
8548
8549 Remove URL syntax.
8550
8551 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8552 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8553 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8554 (tramp-postfix-host-format, tramp-file-name-regexp)
8555 (tramp-completion-file-name-regexp)
8556 (tramp-completion-dissect-file-name)
8557 (tramp-handle-substitute-in-file-name): Remove 'url case.
8558 (tramp-file-name-regexp-url)
8559 (tramp-completion-file-name-regexp-url): Remove constants.
8560
39785324
GM
85612013-09-06 Glenn Morris <rgm@gnu.org>
8562
8563 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8564
1f896cb7
DG
85652013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8566
8567 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8568 keywords" below "here-doc beginnings" (Bug#15270).
8569
c0458e0b
SM
85702013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8571
8572 * subr.el (pop): Use `car-safe'.
8573 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8574 to detect unused `pop' return value.
8575
8576 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8577 var `block-regexp'.
8578 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8579 (python-fill-string): Remove unused var `marker'.
8580 (python-skeleton-add-menu-items): Remove unused var `items'.
8581
8582 * international/mule-cmds.el: Require CL.
8583 (find-coding-systems-for-charsets): Avoid add-to-list.
8584 (sanitize-coding-system-list): New function, extracted from
8585 select-safe-coding-system-interactively.
8586 (select-safe-coding-system-interactively): Use it.
8587 (read-input-method-name): Accept symbols for `default'.
8588
8589 * emacs-lisp/advice.el (defadvice): Add indent rule.
8590
6c42fc3e
DH
85912013-09-05 Daniel Hackney <dan@haxney.org>
8592
8593 * dired-x.el:
8594 * net/ange-ftp.el:
8595 * net/browse-url.el:
8596 * net/dbus.el:
8597 * net/eudc.el:
8598 * net/eudcb-ldap.el:
8599 * net/eww.el:
8600 * net/imap.el:
8601 * printing.el:
8602 * vc/ediff-diff.el:
8603 * vc/ediff-init.el:
8604 * vc/ediff-merg.el:
8605 * vc/ediff-mult.el:
8606 * vc/ediff-util.el:
8607 * vc/ediff-wind.el:
8608 * vc/ediff.el:
8609 * vc/emerge.el:
8610 * vc/pcvs.el:
8611 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8612 byte compiler. Remove some unused let-bound variables.
8613
4c528aab
SM
86142013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8615
8616 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8617 a "ref-cell", since it gets better optimized (bug#14883).
8618
bd15c390
GM
86192013-09-05 Glenn Morris <rgm@gnu.org>
8620
8621 * progmodes/cc-awk.el (c-forward-sws): Declare.
8622
1c3ac2e5
GM
86232013-09-04 Glenn Morris <rgm@gnu.org>
8624
8625 * generic-x.el [rul-generic-mode]: Require cc-mode.
8626 (c++-mode-syntax-table): Declare.
8627 (rul-generic-mode-syntax-table): Init in the defvar.
8628
52b1cc79
SM
86292013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8630
c828af56
SM
8631 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8632 (vc-do-command, vc-set-async-update):
8633 * vc/vc-mtn.el (vc-mtn-dir-status):
8634 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8635 (vc-hg-pull, vc-hg-merge-branch):
8636 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8637 (vc-git-merge-branch):
8638 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8639 (vc-cvs-dir-status-files):
8640 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8641 (vc-bzr-dir-status-files):
8642 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8643 * vc/vc-annotate.el: Use lexical-binding.
8644 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8645 (vc-sentinel-movepoint): Declare.
8646 (vc-annotate): Don't use `goto-line'.
8647 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8648 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8649 (vc-sentinel-movepoint): Declare.
8650 * vc/vc-svn.el: Use lexical-binding.
8651 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8652 * vc/vc-sccs.el:
8653 * vc/vc-rcs.el: Use lexical-binding.
8654
abae272c
SM
8655 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8656 `deleted'. Don't drop errors silently.
8657
52b1cc79
SM
8658 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8659
63191d9f
XF
86602013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8661
8662 * vc/vc.el (vc-ignore): Rewrite.
8663 (vc-default-ignore): New function.
8664 (vc-default-ignore-completion-table): Use find-ignore-file.
8665
8666 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8667 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8668 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8669 Remove. Most code moved to vc.el.
8670
9d3f707c
SM
86712013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8672
abae272c 8673 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
8674 * net/tramp-smb.el (tramp-smb-get-file-entries):
8675 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8676 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8677
fde38d49
SM
8678 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8679 Update call to it.
8680 (eww-change-select): Remove unused var `properties'.
8681 (eww-make-unique-file-name): Remove unused var `base'.
8682
8683 * finder.el (finder-compile-keywords): Don't mess with windows.
8684
84032db7
SM
8685 * calculator.el (calculator-funcall): Fix typo in last change.
8686
724f5e41
SM
8687 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8688
14b511d4
SM
8689 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8690 <pkg>-autoloads.el file stop us.
8691
9d3f707c 8692 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 8693 warnings, and factor out common code.
9d3f707c 8694
88527bc0
DG
86952013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8696
8697 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8698 two-character operators and whether the character preceding them
8699 changes their meaning (Bug#15208).
8700
96edb677
FEG
87012013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8702
8703 Format code sent to Python shell for robustness.
9d3f707c
SM
8704 * progmodes/python.el (python-shell-buffer-substring):
8705 New function.
96edb677
FEG
8706 (python-shell-send-region, python-shell-send-buffer): Use it.
8707
95beaef3
MA
87082013-09-02 Michael Albinus <michael.albinus@gmx.de>
8709
8710 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8711 * net/tramp.el (tramp-user-error): ... here.
8712 (tramp-find-method, tramp-check-proper-host)
8713 (tramp-dissect-file-name, tramp-debug-message)
8714 (tramp-handle-shell-command):
8715 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8717
8718 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8719
f167c27b
MR
87202013-09-02 Martin Rudalics <rudalics@gmx.at>
8721
8722 * avoid.el (mouse-avoidance-point-position)
8723 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8724 returns nil.
8725
cd16c5f1
FEG
87262013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8727
8728 * progmodes/python.el (python-shell-completion-get-completions):
8729 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 8730 (python-nav-if-name-main): New command.
cd16c5f1 8731
e73c3a0d
GM
87322013-09-01 Glenn Morris <rgm@gnu.org>
8733
f8ccce03
GM
8734 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8735 Avoid leading space in $wins. Otherwise the sed command used by
8736 eg compile-main ends up containing "/*.el". (Bug#15170)
8737
e73c3a0d
GM
8738 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8739
415f808e
GM
87402013-08-30 Glenn Morris <rgm@gnu.org>
8741
8742 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8743 Fix is-this-a-directory logic. (Bug#15220)
8744
f069bba8
SM
87452013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8746
112798c1
SM
8747 * textmodes/css-mode.el: Use SMIE.
8748 (css-smie-grammar): New var.
8749 (css-smie--forward-token, css-smie--backward-token)
8750 (css-smie-rules): New functions.
8751 (css-mode): Use them.
8752 (css-navigation-syntax-table): Remove var.
8753 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8754 (css-indent-calculate, css-indent-line): Remove functions.
8755
8756 Misc changes to reduce use of `(lambda...); and other cleanups.
8757 * cus-edit.el: Use lexical-binding.
8758 (customize-push-and-save, customize-apropos)
8759 (custom-buffer-create-internal): Use closures.
8760 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8761 * progmodes/ada-xref.el: Use setq.
8762 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8763 * dframe.el: Use lexical-binding.
8764 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8765 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8766 * descr-text.el: Use lexical-binding.
8767 (describe-text-widget, describe-text-sexp, describe-property-list):
8768 Use closures.
8769 * comint.el (comint-history-isearch-push-state): Use a closure.
8770 * calculator.el: Use lexical-binding.
8771 (calculator-number-to-string): Make it work with lexical-binding.
8772 (calculator-funcall): Same and use cl-letf.
8773
2da4c3ab
SM
8774 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8775 (lisp--company-doc-string, lisp--company-location): New functions.
8776 (lisp-completion-at-point): Use them to improve Company support.
8777
f069bba8
SM
8778 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8779 params of lambda expressions.
8780 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8781 (ruby-smie--opening-pipe-p): New function.
8782 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8783 symbols and matched |...| for formal params.
8784 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8785 from being treated as hanging. Handle "rescue".
8786
6758b6a8
GM
87872013-08-29 Glenn Morris <rgm@gnu.org>
8788
8789 * progmodes/cc-engine.el (c-pull-open-brace):
8790 Move definition before use.
8791
e8dfd197
SM
87922013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8795 are immutable. Don't use `unsafe' any more.
8796 (cl--defsubst-expand): Don't substitute at the same time as keeping
8797 a residual unused let-binding. Don't use `unsafe' any more.
8798
cc585c96
GM
87992013-08-29 Glenn Morris <rgm@gnu.org>
8800
ba579ea6
GM
8801 * calendar/cal-china.el (calendar-chinese-year-cache):
8802 Recenter on 2015.
8803
8201a87e
GM
8804 * nxml/nxml-util.el (nxml-debug-clear-inside):
8805 Use cl-loop rather than loop.
8806
6ee877c7
GM
8807 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8808
cc585c96
GM
8809 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8810
27be8d39
GM
88112013-08-28 Glenn Morris <rgm@gnu.org>
8812
397440a1
GM
8813 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8814
2bb762d4
GM
8815 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8816
27be8d39
GM
8817 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8818
2d69b99e
SM
88192013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8820
f663baa7
SM
8821 * simple.el (repeat-complex-command--called-interactively-skip):
8822 New function.
8823 (repeat-complex-command): Use it (bug#14136).
8824
dd4f8b74
SM
8825 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8826 (c-define-abbrev-table): Add `doc' argument.
8827 (c-mode-abbrev-table, c++-mode-abbrev-table)
8828 (objc-mode-abbrev-table, java-mode-abbrev-table)
8829 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8830 (awk-mode-abbrev-table): Use it.
8831 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8832 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8833 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8834 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8835 Move initialization into the declaration; and remove any
8836 autoload cookie.
8837
b58969f7
SM
8838 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8839 and dynamic let binding.
8840
4021d6a6
SM
8841 * vc/smerge-mode.el: Remove redundant :group args.
8842
2d69b99e
SM
8843 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8844 to load-path.
8845
274919fd
JL
88462013-08-28 Juri Linkov <juri@jurta.org>
8847
8848 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8849 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8850 (isearch-other-meta-char): Handle an undefined shifted printing
8851 character by downshifting it. (Bug#15200)
8852
121f8c95
JL
88532013-08-28 Juri Linkov <juri@jurta.org>
8854
8855 * isearch.el (isearch-search): Change regexp error message for
8856 non-regexp searches. (Bug#15166)
8857
50b13cde
PE
88582013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8859
8860 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8861 for portability to hosts where /bin/sh has problems.
8862
95888bca
SM
88632013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8864
8865 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8866
bbe558f1
JL
88672013-08-27 Juri Linkov <juri@jurta.org>
8868
8869 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8870 in the keyboard macro. (Bug#15126)
8871
26f98a7d
JL
88722013-08-27 Juri Linkov <juri@jurta.org>
8873
8874 * isearch.el (isearch-quote-char): Comment out converting unibyte
8875 to multibyte, thus syncing with its `quoted-insert' counterpart.
8876 (Bug#15166)
8877
7c97d35e
MR
88782013-08-27 Martin Rudalics <rudalics@gmx.at>
8879
8880 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
8881 argument in call of get-largest-window (Bug#15185).
8882 Reported by Stephen Leake.
7c97d35e 8883
a0b5606e 88842013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
8885
8886 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8887
9e89d835
SM
88882013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8891 from a matcher-function unless there's no more matches (bug#15161).
8892
78fc2530
MA
88932013-08-26 Michael Albinus <michael.albinus@gmx.de>
8894
8895 * minibuffer.el: Revert change from 2013-08-20.
8896
8897 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8898 with text property `tramp-default', if appropriate.
8899 (tramp-check-proper-host): New defun.
8900 (tramp-dissect-file-name): Do not check hostname. Revert change
8901 of 2013-03-18.
8902 (tramp-backtrace): Make VEC-OR-PROC optional.
8903
8904 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8905 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8906 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
8907 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8908 Apply `tramp-check-proper-host'.
78fc2530 8909
edca97cd
TH
89102013-08-26 Tassilo Horn <tsdh@gnu.org>
8911
8912 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8913 lambda expression in order to have `describe-variable' display it.
8914
df54bcbd
MA
89152013-08-26 Michael Albinus <michael.albinus@gmx.de>
8916
8917 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8918 BUF can be optional. (Bug#15186)
8919
eed99101
XF
89202013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8921
8922 * progmodes/flymake.el (flymake-get-real-file-name-function):
8923 Fix broken customization. (Bug#15184)
8924
b5eb9035
AM
89252013-08-25 Alan Mackenzie <acm@muc.de>
8926
8a51e842
AM
8927 Improve indentation of bracelists defined by macros (without "=").
8928
8929 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8930 expansion begins with "{", regard it as bracelist when it doesn't
8931 contain a ";".
8932
869455d4
AM
8933 Parse C++ inher-intro when there's a template split over 2 lines.
8934
8935 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8936 rigorously the search for "class" etc. followed by ":".
8937
8938 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8939 random languages a regexp which never matches rather than nil.
8940
b5eb9035
AM
8941 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8942
8943 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8944 (c-awk-regexp-one-line-possibly-open-char-list-re)
8945 (c-awk-one-line-possibly-open-regexp-re)
8946 (c-awk-one-line-non-syn-ws*-re): Remove.
8947 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8948 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8949 (c-awk-space*-unclosed-regexp-/-re): New constants.
8950 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8951 aren't regexp delimiters.
8952
8953 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8954 handling for a rare situation in AWK Mode involving unterminated
8955 strings/regexps.
8956
61611d54
GM
89572013-08-23 Glenn Morris <rgm@gnu.org>
8958
2d85dc34
GM
8959 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8960
cb8d2612
GM
8961 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8962
bb35f42f
GM
8963 * files.el (create-file-buffer): If the result would begin with
8964 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 8965
b9808e77
SM
89662013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8967
e3a66363
SM
8968 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8969 text-properties (bug#15155).
8970
b9808e77
SM
8971 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8972 exist any more.
8973 (calc-keypad-redraw): Remove unused var `pad'.
8974 (calc-keypad-press): Remove unused var `menu'.
8975
7fd5f65e
MR
89762013-08-23 Martin Rudalics <rudalics@gmx.at>
8977
b9808e77
SM
8978 * window.el (display-buffer-pop-up-frame):
8979 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
8980 use it as the new frame's buffer (Bug#15133).
8981
8352b530
SM
89822013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * calendar/timeclock.el: Minor cleanups.
8985 (timeclock-ask-before-exiting, timeclock-use-display-time):
8986 Use `symbol'.
8987 (timeclock-modeline-display): Define as alias before the
8988 actual definition.
8989 (timeclock-mode-line-display): Use define-minor-mode.
8990 (timeclock-day-list-template): Make it a function, add an argument.
8991 (timeclock-day-list-required, timeclock-day-list-length)
8992 (timeclock-day-list-debt, timeclock-day-list-span)
8993 (timeclock-day-list-break): Adjust calls accordingly.
8994
9f7b1925
SM
89952013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8998 Use read--expression so that completion works again.
8999
6e50e983
SS
90002013-08-21 Sam Steingold <sds@gnu.org>
9001
9002 Add rudimentary inferior shell interaction
9003 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9004 (sh-set-shell): Reset it.
9f7b1925
SM
9005 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9006 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 9007
dbb0d350
SM
90082013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * align.el: Use lexical-binding.
9011 (align-region): Simplify accordingly.
9012
c88586a9
MA
90132013-08-20 Michael Albinus <michael.albinus@gmx.de>
9014
9015 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9016
9017 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9018 `non-essential' up.
9019
f95527c8
MA
90202013-08-17 Michael Albinus <michael.albinus@gmx.de>
9021
9022 * net/tramp.el:
9023 * net/tramp-adb.el:
9024 * net/tramp-cmds.el:
9025 * net/tramp-ftp.el:
9026 * net/tramp-gvfs.el:
9027 * net/tramp-gw.el:
9028 * net/tramp-sh.el: Don't wrap external variable declarations by
9029 `eval-when-compile'.
9030
4b5fe4ee
LMI
90312013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9032
9033 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9034 now that Emacs supports ImageMagick animations.
9035
13c366c9
MA
90362013-08-16 Michael Albinus <michael.albinus@gmx.de>
9037
9038 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9039 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9040
3dfc5cd6
MR
90412013-08-16 Martin Rudalics <rudalics@gmx.at>
9042
9043 * window.el (mouse-autoselect-window-select): Do autoselect when
9044 mouse pointer is on margin.
9045
4bbb4381
WP
90462013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9047
9048 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9049
3a2ddc2d
GM
90502013-08-16 Glenn Morris <rgm@gnu.org>
9051
e8bedf5a
GM
9052 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9053 Handle "Remote Directory" response of some clients. (Bug#15058)
9054
58c4682f
GM
9055 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9056 Tweak warning. (Bug#14926)
9057
57953f49
GM
9058 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9059 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9060
3a2ddc2d
GM
9061 * image-mode.el (image-mode-map): Add menu items to reverse,
9062 increase, decrease, reset animation speed.
9063 (image--set-speed, image-increase-speed, image-decrease-speed)
9064 (image-reverse-speed, image-reset-speed): New functions.
9065 (image-mode-map): Add bindings for speed commands.
9066
9067 * image.el (image-animate-get-speed, image-animate-set-speed):
9068 New functions.
9069 (image-animate-timeout): Respect image :speed property.
9070
10fa0ed3
SM
90712013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9072
9073 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9074 previous line (bug#15101).
9075 (debugger-eval-expression, debugger-record-expression):
9076 Use read--expression (bug#15102).
9077
5d89d9d2
MA
90782013-08-15 Michael Albinus <michael.albinus@gmx.de>
9079
9080 Remove byte compiler warnings, visible when compiling with
9081 `byte-compile-force-lexical-warnings' set to t.
9082
9083 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9084 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9085 (tramp-handle-unhandled-file-name-directory)
9086 (tramp-handle-file-notify-add-watch, tramp-action-login)
9087 (tramp-action-succeed, tramp-action-permission-denied)
9088 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9089 arguments with "_".
9090
9091 * net/tramp-adb.el (tramp-adb-parse-device-names)
9092 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9093 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9094 (tramp-adb-handle-file-truename): Remove unused arguments.
9095
9096 * net/tramp-cache.el (tramp-flush-directory-property)
9097 (tramp-flush-connection-property, tramp-list-connections)
9098 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9099
10fa0ed3
SM
9100 * net/tramp-compat.el (tramp-compat-make-temp-file):
9101 Rename FILENAME to F.
5d89d9d2
MA
9102
9103 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9104 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9105 (tramp-zeroconf-parse-workstation-device-names)
9106 (tramp-zeroconf-parse-webdav-device-names)
9107 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9108
9109 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9110 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9111
9112 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9113 arguments.
9114 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9115 (tramp-sh-handle-insert-file-contents-literally)
9116 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9117 with "_".
9118 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9119 Remove unused variables.
9120
9121 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9122 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9123 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9124
9125 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9126 Make them a defconst.
9127 (tramp-uuencode-region): Remove unused variable.
9128
62f33bae
JB
91292013-08-14 Juanma Barranquero <lekktu@gmail.com>
9130
9131 * frameset.el (frameset--prop-setter): New function.
9132 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
9133 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9134 parameter was already set in FILTERED. Doc fix.
9135 (frameset--record-minibuffer-relationships): Allow saving a
9136 minibufferless frame without its corresponding minibuffer frame.
9137 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9138 frame, if the frame id matches.
9139 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9140 frames before orphaned ones.
9141 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 9142
c660a885
MR
91432013-08-14 Martin Rudalics <rudalics@gmx.at>
9144
9145 * window.el (window-make-atom): Don't overwrite parameter
9146 already present.
9147 (display-buffer-in-atom-window): Handle special case where we
9148 split an already atomic window.
9149 (window--major-non-side-window, display-buffer-in-side-window)
9150 (window--side-check): Ignore minibuffer window when walking
9151 window tree.
9152 (window-deletable-p): Return 'frame only if no other frame uses
9153 our minibuffer window.
9154 (record-window-buffer): Run buffer-list-update-hook.
9155 (split-window): Make sure window--check-frame won't destroy an
9156 existing atomic window in case the new window gets nested
9157 inside.
9158 (display-buffer-at-bottom): Ignore minibuffer window when
9159 walking window tree. Don't split a side window.
9160 (pop-to-buffer): Don't set-buffer here, the select-window call
9161 should do that.
9162 (mouse-autoselect-window-select): Autoselect only if we are in the
9163 text portion of the window.
9164
8259030d
LMI
91652013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9166
21c58ae2
LMI
9167 * net/shr.el (shr-parse-image-data): New function to grab both the
9168 data itself and the Content-Type.
9169 (shr-put-image): Use it.
9170
9171 * net/eww.el (eww-display-image): Ditto.
9172
8259030d
LMI
9173 * image.el (image-content-type-suffixes): New variable.
9174
ad756449
FEG
91752013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9176
9177 * progmodes/python.el (python-imenu--build-tree)
9178 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9179
f73f4ce6
XF
91802013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9181
9182 * simple.el (backward-word): Mention the optional argument.
9183
1f585e65
SM
91842013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9185
9186 * frameset.el (frameset--make): Rename constructor from make-frameset.
9187 (frameset-p, frameset-valid-p): Don't autoload.
9188 (frameset-valid-p): Use normal accessors.
9189
af1c6c84
GM
91902013-08-13 Glenn Morris <rgm@gnu.org>
9191
55e47f95
GM
9192 * progmodes/compile.el (compile-command): Tweak example in doc.
9193 * obsolete/scribe.el (scribe-mode):
9194 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9195
f0024d8c
GM
9196 * mail/feedmail.el (feedmail-confirm-outgoing)
9197 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9198
9199 * cus-start.el (truncate-partial-width-windows): Fix type.
9200
9201 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9202
af1c6c84
GM
9203 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9204
5514cc4c
SM
92052013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9206
9207 * emacs-lisp/timer.el (timer--time-setter): New function.
9208 (timer--time): Use it as gv-setter.
9209
9210 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9211 setter is not a symbol.
9212
7997a2f1
GJ
92132013-08-12 Grégoire Jadi <daimrod@gmail.com>
9214
9215 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9216 if sending fails. This makes debugging easier.
9217
01f1a9ab
JB
92182013-08-12 Juanma Barranquero <lekktu@gmail.com>
9219
9220 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9221 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9222 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9223
594a4307
EZ
92242013-08-12 Eli Zaretskii <eliz@gnu.org>
9225
9226 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9227
7a22490f 92282013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
9229
9230 * format.el (format-annotate-function):
9231 Handle read-only text properties in the source. (Bug#14887)
9232
3e41a054
LMI
92332013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9234
5514cc4c
SM
9235 * net/eww.el (eww-display-html): Ignore coding system errors.
9236 One web site uses "utf-8lias" as the coding system.
3e41a054 9237
7ec326db
JB
92382013-08-11 Juanma Barranquero <lekktu@gmail.com>
9239
9240 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9241
5660113b
JB
92422013-08-10 Juanma Barranquero <lekktu@gmail.com>
9243
9a4ebc74
JB
9244 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9245 (tutorial--detailed-help): Remove unused local variables.
9246 (tutorial--save-tutorial-to): Use ignore-errors.
9247 (help-with-tutorial): Use looking-at-p.
9248
9249 * view.el (view-buffer-other-window, view-buffer-other-frame):
9250 Mark unused arguments.
9251
9252 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9253 (woman-select-symbol-fonts, woman, woman-find-file)
9254 (woman-insert-file-contents, woman-non-underline-faces):
9255 Use string-match-p.
9256 (woman1-unquote): Move declaration.
9257
9258 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9259 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9260 argument. Remove unused local variable.
9261 (xml-parse-elem-type): Use string-match-p.
9262 (xml-substitute-numeric-entities): Use ignore-errors.
9263
45fdb482
JB
9264 * calculator.el (calculator): Mark unused argument.
9265 (calculator-paste, calculator-quit, calculator-integer-p):
9266 Use ignore-errors.
9267 (calculator-string-to-number, calculator-decimal, calculator-exp)
9268 (calculator-op-or-exp): Use string-match-p.
9269
9270 * dired.el (dired-buffer-more-recently-used-p): Declare.
9271 (dired-insert-set-properties, dired-insert-old-subdirs):
9272 Use ignore-errors.
9273
9274 * dired-aux.el (dired-compress): Use ignore-errors.
9275 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9276 (dired-do-async-shell-command, dired-do-shell-command)
9277 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9278 (dired-insert-subdir-validate): Use string-match-p.
9279 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9280 (dired-add-entry): Use string-match-p, looking-at-p.
9281 (dired-insert-subdir-newpos): Remove unused local variable.
9282
9283 * filenotify.el (file-notify-callback): Remove unused local variable.
9284
9285 * filesets.el (filesets-error): Mark unused argument.
9286 (filesets-which-command-p, filesets-filter-dir-names)
9287 (filesets-directory-files, filesets-get-external-viewer)
9288 (filesets-ingroup-get-data): Use string-match-p.
9289
9290 * find-file.el (ff-other-file-name, ff-other-file-name)
9291 (ff-find-the-other-file, ff-cc-hh-converter):
9292 Remove unused local variables.
9293 (ff-get-file-name): Use string-match-p.
9294 (ff-all-dirs-under): Use ignore-errors.
9295
9296 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9297 (follow-select-if-visible): Remove unused local variable.
9298
9299 * forms.el (read-file-filter): Move declaration.
9300 (forms--make-format, forms--make-parser, forms-insert-record):
9301 Quote function with #'.
9302 (forms--update): Use string-match-p. Quote function with #'.
9303
9304 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9305 (help-make-xrefs): Use looking-at-p.
9306 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9307
9308 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9309 (ibuffer-confirm-operation-on): Use string-match-p.
9310
9311 * msb.el (msb-item-handler, msb-dired-item-handler):
9312 Mark unused arguments.
9313
9314 * ses.el (ses-decode-cell-symbol)
9315 (ses-kill-override): Remove unused local variable.
9316 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9317 (ses-load): Use ignore-errors, looking-at-p.
9318 (ses-jump-safe): Use ignore-errors.
9319 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9320
9321 * tabify.el (untabify, tabify): Mark unused arguments.
9322
9323 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9324 Mark unused argument.
9325 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9326 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9327
c880af52
JB
9328 * emacs-lisp/timer.el (timer--time): Define setter with
9329 gv-define-setter to avoid deprecation warning.
9330
5660113b 9331 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 9332 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
9333 (cmpl-statistics-block): Remove (body was commented out).
9334 All callers changed.
9335 (add-completions-from-buffer, load-completions-from-file):
9336 Remove unused variables.
9337
156aab80
JB
93382013-08-09 Juanma Barranquero <lekktu@gmail.com>
9339
5c5dee78
JB
9340 * filecache.el (file-cache-delete-file-list):
9341 Print message only when told so.
9342 (file-cache-files-matching): Use #' in mapconcat argument.
9343
156aab80
JB
9344 * ffap.el (ffap-url-at-point): Fix reference to variable
9345 thing-at-point-default-mail-uri-scheme.
9346
ad9dcd70
SM
93472013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9348
54bd972f
SM
9349 * subr.el (define-error): New function.
9350 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9351 error-file-not-found and define with define-error.
9352 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9353 and define with define-error.
9354 * userlock.el (file-locked, file-supersession):
9355 * simple.el (mark-inactive):
9356 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9357 * progmodes/ada-mode.el (ada-mode-errors):
9358 * play/life.el (life-extinct):
9359 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9360 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9361 * nxml/rng-util.el (rng-error):
9362 * nxml/rng-uri.el (rng-uri-error):
9363 * nxml/rng-match.el (rng-compile-error):
9364 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9365 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9366 * nxml/nxml-rap.el (nxml-scan-error):
9367 * nxml/nxml-outln.el (nxml-outline-error):
9368 * net/soap-client.el (soap-error):
9369 * net/gnutls.el (gnutls-error):
9370 * net/ange-ftp.el (ftp-error):
9371 * mpc.el (mpc-proc-error):
9372 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9373 (json-number-format, json-string-escape, json-string-format)
9374 (json-key-format, json-object-format):
9375 * jka-compr.el (compression-error):
9376 * international/quail.el (quail-error):
9377 * international/kkc.el (kkc-error):
9378 * emacs-lisp/ert.el (ert-test-failed):
9379 * calc/calc.el (calc-error, inexact-result, math-overflow)
9380 (math-underflow):
9381 * bookmark.el (bookmark-error-no-filename):
9382 * epg.el (epg-error): Define with define-error.
9383
0ea9e53a
SM
9384 * time.el (display-time-event-handler)
9385 (display-time-next-load-average): Don't call sit-for since it seems
9386 unnecessary (bug#15045).
9387
b0429158
SM
9388 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9389 Use #' instead of ' to quote functions.
9390 (checkdoc-output-mode): Use setq-local.
9391 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9392 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9393 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9394 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9395 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9396 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9397 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9398 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9399
ad9dcd70
SM
9400 * ido.el (ido-completion-help): Fix up compiler warning.
9401
77187e6f
JB
94022013-08-09 Juanma Barranquero <lekktu@gmail.com>
9403
9404 * frameset.el (frameset-p): Add autoload cookie.
9405 (frameset--jump-to-register): New function, based on code moved from
9406 register.el.
9407 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9408
9409 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9410 (frameset-restore, frameset-save, frameset-session-filter-alist):
9411 Remove declarations.
9412 (register-alist): Doc fix.
9413 (frameset-to-register): Move to frameset.el.
9414 (jump-to-register, describe-register-1): Remove frameset-specific code.
9415
9d3aa82c
JB
94162013-08-08 Juanma Barranquero <lekktu@gmail.com>
9417
9418 * allout-widgets.el (allout-widgets-pre-command-business)
9419 (allout-widgets-post-command-business)
9420 (allout-widgets-after-change-handler)
9421 (allout-decorate-item-and-context, allout-set-boundary-marker)
9422 (allout-body-modification-handler)
9423 (allout-graphics-modification-handler): Mark ignored arguments.
9424 (allout-widgets-post-command-business)
9425 (allout-widgets-exposure-change-processor)
9426 (allout-widgets-exposure-undo-processor)
9427 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9428 (allout-parse-item-at-point, allout-decorate-item-guides)
9429 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9430 * allout.el (epa-passphrase-callback-function): Declare.
9431 (allout-overlay-insert-in-front-handler)
9432 (allout-overlay-interior-modification-handler)
9433 (allout-isearch-end-handler, allout-chart-siblings)
9434 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9435 (allout-yank-processing, allout-process-exposed)
9436 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 9437 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
9438 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9439 (lisp-indent-defform): Mark ignored arguments.
9440 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9441 (calculate-lisp-indent): Remove unused variables.
9442 * international/characters.el (indian-2-column, arabic-2-column)
9443 (tibetan): Mark ignored arguments.
9444 (use-cjk-char-width-table): Mark ignored arguments.
9445 Remove unused variables.
9446 * international/fontset.el (build-default-fontset-data)
9447 (x-compose-font-name, create-fontset-from-fontset-spec):
9448 Mark ignored arguments.
9449 (fontset-plain-name): Remove unused variables.
9450 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9451 (keyboard-coding-system): Mark ignored arguments.
9452 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9453 * help.el (resize-temp-buffer-window):
9454 * window.el (display-buffer-in-major-side-window)
9455 (display-buffer-in-side-window, display-buffer-in-previous-window):
9456 Remove unused variables.
9457 * isearch.el (isearch-forward-symbol):
9458 * version.el (emacs-bzr-version-bzr):
9459 * international/mule-cmds.el (current-language-environment):
9460 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9461 (x-handle-display):
9462 * term/pc-win.el (x-list-fonts, x-display-planes)
9463 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9464 (x-server-version, x-display-screens, x-display-mm-height)
9465 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9466 (x-selection-owner-p, x-own-selection-internal)
9467 (x-disown-selection-internal, x-get-selection-internal)
9468 (msdos-initialize-window-system):
9469 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9470 * term/x-win.el (x-handle-no-bitmap-icon):
9471 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9472 (vc-default-find-file-hook, vc-default-extra-menu):
9473 Mark ignored arguments.
9474
0ca3f70e
SM
94752013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9478 break-condition in the context of the debugged code (bug#12685).
9479
74c5d24c
CS
94802013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9481
9482 * comint.el:
9483 Do not use an overlay to highlight the last prompt. (Bug#14744)
9484 (comint-mode): Make comint-last-prompt buffer local.
9485 (comint-last-prompt): New variable.
9486 (comint-last-prompt-overlay): Remove. Superseded by
9487 comint-last-prompt.
0ca3f70e
SM
9488 (comint-snapshot-last-prompt, comint-output-filter):
9489 Use comint-last-prompt.
74c5d24c 9490
c03c02ee
JB
94912013-08-08 Juanma Barranquero <lekktu@gmail.com>
9492
a3738d20 9493 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
9494 (frameset-save): Check validity of the resulting frameset.
9495
04263d23
XF
94962013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9497
9498 * ido.el (ido-record-command): Add doc string.
9499
76c5e5ab
JB
95002013-08-08 Juanma Barranquero <lekktu@gmail.com>
9501
9502 * frameset.el (frameset): Do not disable creation of the default
9503 frameset-p predicate. Doc fix.
9504 (frameset-valid-p): New function, copied from the old predicate-p.
9505 Add additional checks.
9506 (frameset-restore): Check with frameset-valid-p.
9507 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9508 (frameset-name, frameset-description, frameset-properties)
9509 (frameset-states): Add docstring.
f9dbf1cb
JB
9510 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9511 (frameset-filter-alist): Doc fixes.
76c5e5ab 9512
bd0c3c0b
JB
95132013-08-08 Juanma Barranquero <lekktu@gmail.com>
9514
9515 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9516
c735544c
SM
95172013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9520 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9521 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9522 (byte-compile-normal-call): Remove obsolescence check.
9523
2805a651
JB
95242013-08-08 Juanma Barranquero <lekktu@gmail.com>
9525
3677ffeb
JB
9526 * frameset.el (frameset-restore): Doc fix.
9527
2805a651
JB
9528 * register.el (frameset-frame-id, frameset-frame-with-id)
9529 (frameset-p, frameset-restore, frameset-save): Declare.
9530 (register-alist): Document framesets.
9531 (frameset-session-filter-alist): Declare.
9532 (frameset-to-register): New function.
9533 (jump-to-register): Implement jumping to framesets. Doc fix.
9534 (describe-register-1): Describe framesets.
9535
9536 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9537
a912c016
JB
95382013-08-07 Juanma Barranquero <lekktu@gmail.com>
9539
9540 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9541 Use lexical-binding.
9542
9543 * frameset.el (frameset): Use type vector, not list (incompatible
9544 change). Do not declare a new constructor, use the default one.
9545 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9546 `name' and `description', respectively, and add read-only slot
9547 `timestamp'. Doc fixes.
9548 (frameset-copy, frameset-persistent-filter-alist)
9549 (frameset-filter-alist, frameset-switch-to-gui-p)
9550 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9551 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9552 (frameset-filter-iconified, frameset-keep-original-display-p):
9553 Doc fixes.
9554 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9555 Rename from frameset-filter-(save|restore)-param. All callers changed.
9556 Doc fix.
9557 (frameset-p): Adapt to change to vector and be more thorough.
9558 Change arg name to OBJECT. Doc fix.
9559 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9560 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9561 All callers changed.
9562 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9563 All callers changed.
9564 (frameset--record-minibuffer-relationships): Rename from
9565 frameset--process-minibuffer-frames. All callers changed.
9566 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9567 Use new default constructor (again). Doc fix.
c295fc18 9568 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
9569 All callers changed.
9570 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9571 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9572 Doc fix.
9573 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9574 PARAMETERS and WINDOW-STATE, respectively.
9575 (frameset-restore): Add new keyword argument PREDICATE.
9576 Reset frameset--target-display to nil. Doc fix.
9577
bb41480a
SM
95782013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9579
f001e98e
SM
9580 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9581 (bat-mode): Use it.
9582 (bat-mode-syntax-table): Mark \n as end-of-comment.
9583 (bat-font-lock-keywords): Remove comment rule.
9584
7679edb1
SM
9585 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9586 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9587
bb41480a
SM
9588 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9589 (byte-compile-callargs-warn): Use `push'.
9590 (byte-compile-arglist-warn): Ignore higher-order "calls".
9591 (byte-compile-file-form-autoload): Use `pcase'.
9592 (byte-compile-function-form): If quoting a symbol, check that it exists.
9593
cdc1ebb9
EZ
95942013-08-07 Eli Zaretskii <eliz@gnu.org>
9595
9596 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9597 and add a few popular commands found in batch files.
9598 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9599 (dos-mode): Doc fixes.
9600
312b1740
SM
96012013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9602
9603 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9604 (dos-mode): Use setq-local. Add space after "rem".
9605 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9606 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9607
400a3178
AM
96082013-08-07 Arni Magnusson <arnima@hafro.is>
9609
9610 * progmodes/dos.el: New file.
9611 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9612 dos-mode.
9613
3b5c03d3
GM
96142013-08-06 Glenn Morris <rgm@gnu.org>
9615
9616 * calendar/calendar.el: Add new faces, and day-header-array.
9617 (calendar-weekday-header, calendar-weekend-header)
9618 (calendar-month-header): New faces.
9619 (calendar-day-header-construct): New function.
9620 (calendar-day-header-width): Also :set calendar-day-header-array.
9621 (calendar-american-month-header, calendar-european-month-header)
9622 (calendar-iso-month-header): Use calendar- faces.
9623 (calendar-generate-month):
9624 Use calendar-day-header-array for day headers; apply faces to them.
9625 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9626 (calendar-abbrev-construct): Add optional maxlen argument.
9627 (calendar-day-name-array): Doc fix.
9628 (calendar-day-name-array, calendar-abbrev-length)
9629 (calendar-day-abbrev-array):
9630 Also :set calendar-day-header-array, and maybe redraw.
9631 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 9632 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
9633 (calendar-day-name): Add option to use header array.
9634
ec6a2d7a
LMI
96352013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9636
9637 * net/shr.el (shr-render-td): Remove debugging.
9638 (shr-render-td): Make width computation consistent by defaulting
9639 all zero-width columns to 10 characters. This may not be optimal,
9640 but it's at least consistent.
2122cb6d
LMI
9641 (shr-make-table-1): Redo last change to fix the real problem in
9642 colspan handling.
ec6a2d7a 9643
ed4fd9c5
DA
96442013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9645
0ca3f70e
SM
9646 * files.el (cache-long-line-scans):
9647 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 9648
64e22afe
JB
96492013-08-06 Juanma Barranquero <lekktu@gmail.com>
9650
024b38fc
JB
9651 * frameset.el (frameset, frameset-filter-alist)
9652 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9653 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9654 (frameset-compute-pos): Rename from frameset--compute-pos,
9655 and add docstring.
9656 (frameset-move-onscreen): Use frameset-compute-pos.
9657 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9658
64e22afe
JB
9659 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9660 Fix typos in docstrings.
9661
c8c2aca8
DA
96622013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9663
9664 * frame.el (get-other-frame): Tiny cleanup.
9665
1d237bba
JB
96662013-08-06 Juanma Barranquero <lekktu@gmail.com>
9667
8951efef
JB
9668 * vc/vc.el (vc-default-ignore-completion-table):
9669 Silence byte-compiler warning.
9670
307764cc 9671 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 9672 slot, which can indeed be nil.
307764cc
JB
9673 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9674 Move entry for `left' from persistent to live filter alist.
9675 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9676 Doc fixes.
9677 (frameset-filter-params): When restoring a frame, copy items added to
9678 `filtered', to avoid unwittingly modifying the original parameters.
9679 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9680 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9681
1d237bba
JB
9682 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9683 to use looking-at-p instead of looking-at. (Bug#15028)
9684
dc6c0eda
SM
96852013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 Revert introduction of isearch-filter-predicates (bug#14714).
9688 Rely on add-function instead.
9689 * isearch.el (isearch-filter-predicates): Rename it back to
9690 isearch-filter-predicate.
9691 (isearch-message-prefix): Use advice-function-mapc and advice
9692 properties to get the isearch-message-prefix.
9693 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9694 instead of run-hook-with-args-until-failure.
9695 (isearch-filter-visible): Not obsolete any more.
9696 * loadup.el: Preload nadvice.
9697 * replace.el (perform-replace): Revert to funcall
9698 instead of run-hook-with-args-until-failure.
9699 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9700 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9701 dired-isearch-filenames-toggle; make it into a proper minor mode.
9702 Use add/remove-function.
9703 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9704 Call the minor-mode rather than add/remove-hook.
9705 (dired-isearch-filter-filenames):
9706 Remove isearch-message-prefix property.
9707 * info.el (Info--search-loop): New function, extracted from Info-search.
9708 Funcall isearch-filter-predicate instead of
9709 run-hook-with-args-until-failure isearch-filter-predicates.
9710 (Info-search): Use it.
9711 (Info-mode): Use isearch-filter-predicate instead of
9712 isearch-filter-predicates.
9713
290d5b58
DA
97142013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9715
9716 Do not call to `selected-window' where it is assumed by default.
9717 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9718 `window-hscroll', `window-width', `window-height', `window-buffer',
9719 `window-frame', `window-start', `window-point', `next-window'
9720 and `window-display-table'.
9721 * abbrev.el (abbrev--default-expand):
9722 * bs.el (bs--show-with-configuration):
9723 * buff-menu.el (Buffer-menu-mouse-select):
9724 * calc/calc.el (calc):
9725 * calendar/calendar.el (calendar-generate-window):
9726 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9727 (diary-make-entry):
9728 * comint.el (send-invisible, comint-dynamic-complete-filename)
9729 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9730 * completion.el (complete):
9731 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9732 * disp-table.el (describe-current-display-table):
9733 * doc-view.el (doc-view-insert-image):
9734 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9735 * ehelp.el (with-electric-help):
9736 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9737 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9738 * emacs-lisp/helper.el (Helper-help-scroller):
9739 * emulation/cua-base.el (cua--post-command-handler-1):
9740 * eshell/esh-mode.el (eshell-output-filter):
9741 * ffap.el (ffap-gnus-wrapper):
9742 * help-macro.el (make-help-screen):
9743 * hilit-chg.el (highlight-compare-buffers):
9744 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9745 * hl-line.el (global-hl-line-highlight):
9746 * icomplete.el (icomplete-simple-completing-p):
9747 * isearch.el (isearch-done):
9748 * jit-lock.el (jit-lock-stealth-fontify):
9749 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 9750 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
9751 * mpc.el (mpc-tagbrowser, mpc):
9752 * net/rcirc.el (rcirc-any-buffer):
9753 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9754 * play/landmark.el (landmark-max-width, landmark-max-height):
9755 * play/zone.el (zone):
9756 * progmodes/compile.el (compilation-goto-locus):
9757 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9758 * progmodes/etags.el (find-tag-other-window):
9759 * progmodes/fortran.el (fortran-column-ruler):
9760 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9761 * progmodes/verilog-mode.el (verilog-point-text):
9762 * reposition.el (reposition-window):
9763 * rot13.el (toggle-rot13-mode):
9764 * server.el (server-switch-buffer):
9765 * shell.el (shell-dynamic-complete-command)
9766 (shell-dynamic-complete-environment-variable):
9767 * simple.el (insert-buffer, set-selective-display)
9768 (delete-completion-window):
9769 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9770 (speedbar-recenter):
9771 * startup.el (fancy-splash-head):
9772 * textmodes/ispell.el (ispell-command-loop):
9773 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9774 * tutorial.el (help-with-tutorial):
9775 * vc/add-log.el (add-change-log-entry):
9776 * vc/compare-w.el (compare-windows):
9777 * vc/ediff-help.el (ediff-indent-help-message):
9778 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9779 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9780 (ediff-setup-control-frame):
9781 * vc/emerge.el (emerge-position-region):
9782 * vc/pcvs-util.el (cvs-bury-buffer):
9783 * window.el (walk-windows, mouse-autoselect-window-select):
9784 * winner.el (winner-set-conf, winner-undo): Related users changed.
9785
38276e01
JB
97862013-08-05 Juanma Barranquero <lekktu@gmail.com>
9787
9788 * frameset.el (frameset--set-id): Doc fix.
9789 (frameset-frame-id, frameset-frame-id-equal-p)
9790 (frameset-locate-frame-id): New functions.
9791 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9792 (frameset-restore): Use them.
9793
12b4c0ea
DA
97942013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9795
9796 Do not call to `selected-frame' where it is assumed by default.
9797 Affected functions are `raise-frame', `redraw-frame',
9798 `frame-first-window', `frame-terminal' and `delete-frame'.
9799 * calendar/appt.el (appt-disp-window):
9800 * epg.el (epg-wait-for-completion):
9801 * follow.el (follow-delete-other-windows-and-split)
9802 (follow-avoid-tail-recenter):
9803 * international/mule.el (set-terminal-coding-system):
9804 * mail/rmail.el (rmail-mail-return):
9805 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9806 * progmodes/f90.el (f90-add-imenu-menu):
9807 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9808 * server.el (server-switch-buffer):
9809 * simple.el (delete-completion-window):
9810 * talk.el (talk):
9811 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9812 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9813 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9814 * vc/ediff.el (ediff-documentation): Related users changed.
9815 * frame.el (selected-terminal): Remove the leftover.
9816
17f25e76
GM
98172013-08-05 Glenn Morris <rgm@gnu.org>
9818
9819 * calendar/calendar.el (calendar-generate-month):
9820 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
9821 (calendar-generate-month, calendar-font-lock-keywords):
9822 Fix for calendar-day-header-width > length of any day name.
17f25e76 9823
063233c3
JB
98242013-08-05 Juanma Barranquero <lekktu@gmail.com>
9825
9826 * desktop.el (desktop-clear): Use new name of sort predicate.
9827
9828 * frameset.el (frameset): Add docstring. Move :version property to its
9829 own `version' slot.
9830 (frameset-copy): Rename from copy-frameset.
9831 (frameset-p): Check more thoroughly.
9832 (frameset-prop): Do not check for :version, which is no longer a prop.
9833 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9834 Use new :never value instead of t.
9835 (frameset-filter-alist): Expand and clarify docstring.
9836 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9837 (frameset-filter-minibuffer, frameset-filter-save-param)
9838 (frameset-filter-restore-param, frameset-filter-iconified):
9839 Add pointer to docstring of frameset-filter-alist.
9840 (frameset-filter-params): Rename filter values to be more meaningful:
9841 :never instead of t, and reverse the meanings of :save and :restore.
9842 (frameset--process-minibuffer-frames): Clarify error message.
9843 (frameset-save): Avoid unnecessary and confusing call to framep.
9844 Use new BOA constructor for framesets.
9845 (frameset--reuse-list): Doc fix.
9846 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9847 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9848 (frameset-minibufferless-first-p): Doc fix.
9849 Rename from frameset-sort-frames-for-deletion.
9850 (frameset-restore): Doc fixes. Use new function names.
9851 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9852
d5671a82
JB
98532013-08-04 Juanma Barranquero <lekktu@gmail.com>
9854
9855 * desktop.el (desktop-restore-forces-onscreen)
9856 (desktop-restore-reuses-frames): Document :keyword constant values.
9857 (desktop-filter-parameters-alist): Remove, now identical to
9858 frameset-filter-alist.
9859 (desktop--filter-tty*): Remove, moved to frameset.el.
9860 (desktop-save-frameset, desktop-restore-frameset):
9861 Do not pass :filters argument.
9862
9863 * frameset.el (frameset-live-filter-alist)
9864 (frameset-persistent-filter-alist): New variables.
9865 (frameset-filter-alist): Use them. Add autoload cookie.
9866 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9867 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9868 `frameset--id' (it's supposed to be internal to frameset.el).
9869 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9870 (frameset--initial-params): New function.
9871 (frameset--get-frame): Use it. Doc fix.
9872 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9873 Accept :all, not 'all.
9874 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9875 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9876 with fbound symbols. Fix frame id matching, and remove matching ids if
9877 the frame being restored is deleted. Obey :delete.
9878
671d5c16
SM
98792013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9880
9881 * subr.el (macrop): New function.
9882 (text-clone--maintaining): New var.
9883 (text-clone--maintain): Rename from text-clone-maintain. Use it
9884 instead of inhibit-modification-hooks.
9885
9886 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9887 a proxy, so as handle autoloads and redefinitions of the target.
9888 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9889
9890 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9891 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9892 (pcase--mutually-exclusive-p): New function.
9893 (pcase--split-consp): Use it.
9894 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9895 mutually exclusive with the current predicate.
9896
9897 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9898 (edebug-macrop): Remove. Use `macrop' instead.
9899 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9900 (ad-macro-p):
9901 * eshell/esh-cmd.el (eshell-macrop):
9902 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9903
1d44e9dc
SM
99042013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9907 (advice-mapc): New function, using it.
9908 (advice-function-member-p): New function.
9909 (advice--normalize): Store the cdr in advice--saved-rewrite since
9910 that's the part that will be changed.
9911 (advice--symbol-function): New function.
9912 (advice-remove): Handle removal before the function is defined.
9913 Adjust to new advice--saved-rewrite.
9914 (advice-member-p): Use advice-function-member-p and
9915 advice--symbol-function.
9916
5414a283
JB
99172013-08-04 Juanma Barranquero <lekktu@gmail.com>
9918
51d30f2c
JB
9919 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9920 (frameset-filter-minibuffer): Doc fix.
9921 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
9922 (frameset--set-id, frameset--process-minibuffer-frames)
9923 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9924 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 9925
5414a283
JB
9926 * desktop.el (desktop-clear): Only delete frames when called
9927 interactively and desktop-restore-frames is non-nil. Doc fix.
9928 (desktop-read): Set desktop-saved-frameset to nil.
9929
ab419665
XF
99302013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9931
9932 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 9933 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
9934 (vc--add-line, vc--remove-regexp): New functions.
9935
9936 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9937 (vc-svn-ignore-completion-table): New function.
9938
9939 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 9940 (vc-hg-ignore-completion-table)
ab419665
XF
9941 (vc-hg-find-ignore-file): New functions.
9942
9943 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 9944 (vc-git-ignore-completion-table)
ab419665
XF
9945 (vc-git-find-ignore-file): New functions.
9946
9947 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9948
9949 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 9950 (vc-bzr-ignore-completion-table)
ab419665
XF
9951 (vc-bzr-find-ignore-file): New functions.
9952
2613dea2
JB
99532013-08-03 Juanma Barranquero <lekktu@gmail.com>
9954
9955 * frameset.el (frameset-prop): New function and setter.
9956 (frameset-save): Do not modify frame list passed by the caller.
9957
9c959872
SM
99582013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9961
a104f656
SM
99622013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9963
70122acf
SM
9964 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9965 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9966
a104f656
SM
9967 * custom.el (custom-initialize-default, custom-initialize-set)
9968 (custom-initialize-reset, custom-initialize-changed): Affect the
9969 toplevel-default-value (bug#6275, bug#14586).
9970 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9971 for bug#6275.
9972
f078d570
JB
99732013-08-02 Juanma Barranquero <lekktu@gmail.com>
9974
185e3b5a
JB
9975 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9976 Add cl-def* expressions.
9977
f078d570
JB
9978 * frameset.el (frameset-filter-params): Fix order of arguments.
9979
9421876d
JB
99802013-08-02 Juanma Barranquero <lekktu@gmail.com>
9981
9982 Move code related to saving frames to frameset.el.
9983 * desktop.el: Require frameset.
9984 (desktop-restore-frames): Doc fix.
9985 (desktop-restore-reuses-frames): Rename from
9986 desktop-restoring-reuses-frames.
9987 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9988 (desktop-clear): Clear frames too.
9989 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9990 (desktop--filter-tty*, desktop-save, desktop-read):
9991 Use frameset functions.
9992 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9993 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9994 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9995 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9996 (desktop--process-minibuffer-frames, desktop-save-frames)
9997 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9998 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9999 (desktop--sort-states, desktop-restoring-frames-p)
10000 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10001 (desktop-restoring-frameset-p, desktop-restore-frameset)
10002 (desktop--check-dont-save, desktop-save-frameset): New functions.
10003 (desktop--app-id): New constant.
10004 (desktop-first-buffer, desktop-buffer-ok-count)
10005 (desktop-buffer-fail-count): Move before first use.
10006 * frameset.el: New file.
10007
76dc5996
SM
100082013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10009
10010 * files.el: Use lexical-binding.
10011 (dir-locals-read-from-file): Remove unused `err' variable.
10012 (hack-dir-local-variables--warned-coding): New var.
10013 (hack-dir-local-variables): Use it to avoid repeated warnings.
10014 (make-backup-file-name--default-function): New function.
10015 (make-backup-file-name-function): Use it as default.
10016 (buffer-stale--default-function): New function.
10017 (buffer-stale-function): Use it as default.
10018 (revert-buffer-insert-file-contents--default-function): New function.
10019 (revert-buffer-insert-file-contents-function): Use it as default.
10020 (insert-directory): Avoid add-to-list.
10021
10022 * autorevert.el (auto-revert-handler): Simplify.
10023 Use buffer-stale--default-function.
10024
06d36e2b
TH
100252013-08-01 Tassilo Horn <tsdh@gnu.org>
10026
5f648ab4
TH
10027 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10028
06d36e2b
TH
10029 * whitespace.el (whitespace-ensure-local-variables): New function.
10030 (whitespace-cleanup-region): Call it.
10031 (whitespace-turn-on): Call it.
10032
a43dc424
MA
100332013-08-01 Michael Albinus <michael.albinus@gmx.de>
10034
10035 Complete file name handlers.
10036
10037 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10038 (tramp-handle-verify-visited-file-modtime)
10039 (tramp-handle-file-notify-rm-watch): New functions.
10040 (tramp-call-process): Do not bind `default-directory'.
10041
44e18199
JB
10042 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10043 Order alphabetically.
afe1e4c8
GM
10044 <access-file, add-name-to-file, dired-call-process>:
10045 <dired-compress-file, file-acl, file-notify-rm-watch>:
10046 <file-ownership-preserved-p, file-selinux-context>:
10047 <make-directory-internal, make-symbolic-link, set-file-acl>:
10048 <set-file-selinux-context, set-visited-file-modtime>:
10049 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10050 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10051
10052 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
10053 <file-notify-add-watch, file-notify-rm-watch>:
10054 <set-file-times, set-visited-file-modtime>:
10055 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10056 (with-tramp-gvfs-error-message)
10057 (tramp-gvfs-handle-set-visited-file-modtime)
10058 (tramp-gvfs-fuse-file-name): Remove.
10059 (tramp-gvfs-handle-file-notify-add-watch)
10060 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10061 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10062
44e18199
JB
10063 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10064 Order alphabetically.
afe1e4c8
GM
10065 <file-notify-rm-watch>: Use default Tramp handler.
10066 <executable-find>: Remove private handler.
a43dc424
MA
10067 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10068 `default-directory'.
10069 (tramp-sh-handle-executable-find)
10070 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10071 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10072 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10073 Do not use `format' in `tramp-message'.
10074
10075 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
10076 <file-notify-rm-watch, set-visited-file-modtime>:
10077 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
10078 (tramp-smb-call-winexe): Do not bind `default-directory'.
10079
7188b515
XF
100802013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10081
10082 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10083
2412ee1a
DG
100842013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10085
10086 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10087 use it.
10088 (log-view-diff-changeset): Same.
10089 (log-view-diff-common): Call backend command `previous-revision'
10090 to find out the previous revision, in both cases. Swap the
10091 variables `to' and `fr', so that `fr' usually refers to the
10092 earlier revision (Bug#14989).
10093
5002a754
KRC
100942013-07-31 Kan-Ru Chen <kanru@kanru.info>
10095
10096 * ibuf-ext.el (ibuffer-filter-by-filename):
10097 Make it work with dired buffers too.
10098
44e18199 100992013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
10100
10101 * emacs-lisp/re-builder.el (reb-color-display-p):
10102 * files.el (save-buffers-kill-terminal):
10103 * net/browse-url.el (browse-url):
10104 * server.el (server-save-buffers-kill-terminal):
10105 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10106 Prefer nil to selected-frame for the first arg of frame-parameter.
10107
aeca3fbb
XF
101082013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10109
10110 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10111
158bc55c
SB
101122013-07-30 Stephen Berman <stephen.berman@gmx.net>
10113
10114 * minibuffer.el (completion--twq-all): Try and preserve each
10115 completion's case choice (bug#14907).
10116
d50fceab
LMI
101172013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10118
ac38e731
LMI
10119 * net/network-stream.el (open-network-stream): Mention the new
10120 :nogreeting parameter.
10121 (network-stream-open-starttls): Use the :nogreeting parameter
10122 (bug#14938).
10123
1211de50
LMI
10124 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10125
997798bf
LMI
10126 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10127 more natural than popping.
10128
d50fceab 10129 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 10130 (shr-urlify): Highlight under mouse.
d50fceab 10131
5c09de04
XF
101322013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10133
207d1d04
XF
10134 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10135
10136 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10137
5c09de04
XF
10138 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10139 buffer for output.
10140
3cd51eaa
XF
10141 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10142 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 10143
44e18199 10144 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 10145 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
10146
10147 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10148
10149 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10150 buffer for output.
10151
35a89bdd
EZ
101522013-07-29 Eli Zaretskii <eliz@gnu.org>
10153
10154 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10155 initial frame is minibuffer-less. (Bug#14841)
10156
78822e94
MA
101572013-07-29 Michael Albinus <michael.albinus@gmx.de>
10158
10159 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10160 option.
10161
10162 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10163 (tramp-maybe-open-connection): Use it.
10164
9503c190
JB
101652013-07-28 Juanma Barranquero <lekktu@gmail.com>
10166
10167 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10168 minimal set of parameters passed when creating a frame, because
10169 the minibuffer status of a frame cannot be changed later.
10170
d5a845b4
SB
101712013-07-28 Stephen Berman <stephen.berman@gmx.net>
10172
10173 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10174 replace-regexp-in-string and inadvertent omissions in previous change.
10175 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 10176 name of filtered items buffer.
d5a845b4 10177
ddeffb17
JB
101782013-07-28 Juanma Barranquero <lekktu@gmail.com>
10179
10180 * desktop.el: Optionally force offscreen frames back onscreen.
10181 (desktop-restoring-reuses-frames): New option.
10182 (desktop--compute-pos, desktop--move-onscreen): New functions.
10183 (desktop--make-frame): Use desktop--move-onscreen.
10184
f5950f7a
AM
101852013-07-27 Alan Mackenzie <acm@muc.de>
10186
10187 Fontify a Java generic method as a function.
10188 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10189 value to t.
10190
ae43b66a
SB
101912013-07-27 Stephen Berman <stephen.berman@gmx.net>
10192
10193 * calendar/todo-mode.el: Add command to rename todo files.
10194 (todo-rename-file): New command.
10195 (todo-key-bindings-t): Add key binding for it. Change the
10196 bindings of todo-filter-regexp-items(-multifile) to use `x'
10197 instead of `r', since the latter is better suited to the new
10198 renaming command.
10199
5ab78d3d
AM
102002013-07-27 Alan Mackenzie <acm@muc.de>
10201
10202 Make Java try-with-resources statement parse properly.
10203 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10204 (c-block-stmt-1-2-key): New language constants/variables.
10205 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10206 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10207 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 10208 with c-block-stmt-1-2-key.
5ab78d3d 10209
d85c4d50
JB
102102013-07-27 Juanma Barranquero <lekktu@gmail.com>
10211
10212 * desktop.el (desktop--make-frame): Apply most frame parameters after
10213 creating the frame to force (partially or totally) offscreen frames to
10214 be restored as such.
10215
e4c467f9
XF
102162013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10217
10218 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 10219 (Bug#14948)
e4c467f9 10220
7ced0d04
SM
102212013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10222
10223 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10224 `base' arg of backtrace-frame.
10225
fec92060
EZ
102262013-07-26 Eli Zaretskii <eliz@gnu.org>
10227
10228 * simple.el (list-processes): Doc fix.
10229
d58d31fb
JB
102302013-07-26 Juanma Barranquero <lekktu@gmail.com>
10231
10232 * desktop.el (desktop--select-frame):
d85c4d50 10233 Try harder to reuse existing frames.
d58d31fb 10234
53ff3e77
SM
102352013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10236
10237 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10238 (edebug-eval): Use backtrace-eval.
10239 (edebug--display, edebug--recursive-edit): Don't let-bind the
10240 edebug-outer-* vars that keep track of variables we locally let-bind.
10241 (edebug-outside-excursion): Don't restore outside values of locally
10242 let-bound vars.
10243 (edebug--display): Use user-error.
10244 (cl-lexical-debug, cl-debug-env): Remove.
10245
045f7a53
JB
102462013-07-26 Juanma Barranquero <lekktu@gmail.com>
10247
10248 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10249 are restored to be sure that they are visible before deleting any
10250 remaining ones.
10251
59070b32
MM
102522013-07-26 Matthias Meulien <orontee@gmail.com>
10253
742a3501
XF
10254 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10255 vc-print-root-log. (Bug#14948)
59070b32 10256
b1fb3596
RS
102572013-07-26 Richard Stallman <rms@gnu.org>
10258
10259 Add aliases for encrypting mail.
10260 * epa.el (epa-mail-aliases): New option.
10261 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10262 Bind inhibit-read-only so read-only text doesn't ruin everything.
10263 (epa-mail-default-recipients): New subroutine broken out.
10264 Handle epa-mail-aliases.
10265
56ea7291
SM
102662013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10267
10268 Add support for lexical variables to the debugger's `e' command.
10269 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10270 vars, except for debugger-outer-match-data.
10271 (debugger-frame-number): Move check for "on a function call" from
10272 callers into it. Add `skip-base' argument.
10273 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10274 (debugger-env-macro): Only reset the state stored in non-variables,
10275 i.e. current-buffer and match-data.
10276 (debugger-eval-expression): Rewrite using backtrace-eval.
10277 * subr.el (internal--called-interactively-p--get-frame): Remove.
10278 (called-interactively-p):
10279 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10280 `base' arg of backtrace-frame instead.
10281
15ac32d5
GM
102822013-07-26 Glenn Morris <rgm@gnu.org>
10283
8358a09d
GM
10284 * align.el (align-regexp): Doc fix. (Bug#14857)
10285 (align-region): Explicit error if subexpression missing/does not match.
10286
15ac32d5
GM
10287 * simple.el (global-visual-line-mode):
10288 Do not duplicate the mode lighter. (Bug#14858)
10289
f47ad11b
MR
102902013-07-25 Martin Rudalics <rudalics@gmx.at>
10291
10292 * window.el (display-buffer): In display-buffer bind
10293 split-window-keep-point to t, bug#14829.
10294
02530987
JB
102952013-07-25 Juanma Barranquero <lekktu@gmail.com>
10296
10297 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10298 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10299 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10300 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10301 Change accordingly.
f63ebeb5
JB
10302 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10303 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 10304
6ccb9cab 103052013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 10306
6ccb9cab 10307 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 10308
cb3a56d2
JB
103092013-07-25 Juanma Barranquero <lekktu@gmail.com>
10310
10311 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10312 parameter to modify-frame-parameters if the value has not changed;
10313 this is a workaround for bug#14949.
10314 (desktop--make-frame): On cl-delete-if call, check parameter name,
10315 not full parameter.
10316
7aa7fff0
XF
103172013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10318
10319 * vc/vc.el (vc-ignore): New function.
10320
10321 * vc/vc-svn.el (vc-svn-ignore): New function.
10322
10323 * vc/vc-hg.el (vc-hg-ignore): New function.
10324
10325 * vc/vc-git.el (vc-git-ignore): New function.
10326
10327 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10328 (vc-dir-ignore): New function.
10329
10330 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 10331 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
10332
10333 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10334
10335 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10336
889acc5c
JB
103372013-07-24 Juanma Barranquero <lekktu@gmail.com>
10338
10339 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10340 (desktop-restore-frames): Warn when deleting an existing frame failed.
10341
86c40970
GM
103422013-07-24 Glenn Morris <rgm@gnu.org>
10343
10344 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10345
d5d3c58a
MA
103462013-07-24 Michael Albinus <michael.albinus@gmx.de>
10347
10348 * filenotify.el (file-notify-supported-p):
10349 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10350 Remove functions.
10351
35e951cd 10352 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
10353 (auto-revert-notify-add-watch):
10354 * net/tramp.el (tramp-file-name-for-operation):
10355 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10356 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10357 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10358 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10359 Remove `file-notify-supported-p' entry.
10360
d100084b
GM
103612013-07-24 Glenn Morris <rgm@gnu.org>
10362
10363 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 10364 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 10365
ac93e56b
SM
103662013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10367
249eea30
SM
10368 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10369 checked with memq (bug#14935).
10370
ac93e56b
SM
10371 * files.el (revert-buffer-function): Use a non-nil default.
10372 (revert-buffer-preserve-modes): Declare var to
10373 provide access to the `preserve-modes' argument.
10374 (revert-buffer): Let-bind it.
10375 (revert-buffer--default): New function, extracted from revert-buffer.
10376
2cdeb903
SM
103772013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10378
10379 * lpr.el: Signal print errors more prominently.
10380 (print-region-function): Don't default to nil.
10381 (lpr-print-region): New function, extracted from print-region-1.
10382 Check lpr's return value and signal an error in case of problem.
10383 (print-region-1): Use it.
10384 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10385 versions instead.
10386 (ps-printer-name): Default to nil.
10387 (ps-printer-name-option): Default to lpr-printer-switch.
10388 (ps-print-region-function): Don't default to nil.
10389 (ps-postscript-code-directory): Simplify default.
10390 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10391 (ps-string-list, ps-eval-switch, ps-flatten-list)
10392 (ps-flatten-list-1): Remove.
10393 (ps-multibyte-buffer): Avoid setq.
10394 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10395 (print-region-function, ps-print-region-function): Don't set them here.
10396
73600831
XF
103972013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10398
35e951cd
JB
10399 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10400 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10401 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
10402 (ido-decorations): Doc fix.
10403
73600831
XF
10404 * ansi-color.el: Fix old URL.
10405
3d012865
MM
104062013-07-23 Michael R. Mauger <michael@mauger.com>
10407
e903c210 10408 * progmodes/sql.el: Version 3.3
3d012865
MM
10409 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10410 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10411 (sql-interactive-remove-continuation-prompt): Rewrite, use
10412 functions above. Fix continuation prompt and complete output line
10413 handling.
10414 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10415 redirected output buffer.
10416 (sql-mode): Restore deleted code (Bug#13591).
10417
da77a2e2
JB
104182013-07-23 Juanma Barranquero <lekktu@gmail.com>
10419
10420 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10421
80ff0c71
MA
104222013-07-23 Michael Albinus <michael.albinus@gmx.de>
10423
10424 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10425
10426 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10427 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10428 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10429
b61d71e4
JB
104302013-07-23 Juanma Barranquero <lekktu@gmail.com>
10431
10432 * desktop.el (desktop-clear): Simplify; remove useless checks
10433 against invalid buffer names.
10434 (desktop-list*): Use cl-list*.
10435 (desktop-buffer-info, desktop-create-buffer): Simplify.
10436
c3512092
LL
104372013-07-23 Leo Liu <sdl.web@gmail.com>
10438
10439 * bookmark.el (bookmark-make-record): Restore NAME as a default
10440 value. (Bug#14933)
10441
0ac26976
SM
104422013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10443
7d22ce18
SM
10444 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10445 extracted from autoload--insert-text.
10446 (autoload--insert-text): Remove.
10447 (autoload--print-cookie-text): New function, extracted from
10448 autoload--insert-cookie-text.
10449 (autoload--insert-cookie-text): Remove.
10450 (autoload-generate-file-autoloads): Adjust calls accordingly.
10451
9b2607e8
SM
10452 * winner.el (winner-hook-installed-p): Remove.
10453 (winner-mode): Simplify accordingly.
10454
c43a8618
SM
10455 * subr.el (add-to-list): Fix compiler-macro when `append' is
10456 not constant. Don't use `cl-member' for the base case.
10457
0ac26976
SM
10458 * progmodes/subword.el: Fix boundary case (bug#13758).
10459 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10460 own group.
10461 (subword-backward-regexp): Make it a constant.
10462 (subword-forward-internal): Don't treat a trailing capital as the
10463 beginning of a word.
10464
6874724a
AR
104652013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10466
10467 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10468 global value of tabulated-list-revert-hook (bug#14930).
10469
70f1b5e8
JB
104702013-07-22 Juanma Barranquero <lekktu@gmail.com>
10471
a1c80d9d
JB
10472 * desktop.el: Require 'cl-lib.
10473 (desktop-before-saving-frames-functions): New hook.
10474 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10475 for frames being saved. Rename from desktop--save-minibuffer-frames.
10476 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
10477 Do not save frames with non-nil `desktop-dont-save' parameter.
10478 Filter out deleted frames.
a1c80d9d
JB
10479 (desktop--find-frame): Use cl-find-if.
10480 (desktop--select-frame): Use cl-(first|second|third) to access values
10481 of desktop-mini.
10482 (desktop--make-frame): Use cl-delete-if.
10483 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10484 (desktop-restore-frames): Use cl-(first|second|third) to access values
10485 of desktop-mini. Look for visible frame at the end, not while
10486 restoring frames.
10487
70f1b5e8
JB
10488 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10489 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10490 Use string-match-p, looking-at-p (bug#14927).
10491
728dc3cc
JB
104922013-07-21 Juanma Barranquero <lekktu@gmail.com>
10493
56bc453c
JB
10494 * desktop.el (desktop-saved-frame-states):
10495 Rename from desktop--saved-states; all users changed.
10496 (desktop-save-frames): Rename from desktop--save-frames.
10497 Do not save state to desktop file.
10498 (desktop-save): Save desktop-saved-frame-states to desktop file
10499 and reset to nil.
10500 (desktop-restoring-frames-p): New function.
10501 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10502 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10503 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10504
728dc3cc
JB
10505 * desktop.el: Correctly restore iconified frames.
10506 (desktop--filter-iconified-position): New function.
10507 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10508
862f1c9c
GM
105092013-07-20 Glenn Morris <rgm@gnu.org>
10510
c4074c9f
GM
10511 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10512 Let `message' do the formatting.
10513 (def-gdb-preempt-display-buffer): Add explicit format.
10514
d828e5f9
GM
10515 * image-dired.el (image-dired-track-original-file):
10516 Use with-current-buffer.
10517 (image-dired-track-thumbnail): Use with-current-buffer.
10518 Avoid changing point of wrong window.
10519
862f1c9c
GM
10520 * image-dired.el (image-dired-track-original-file):
10521 Avoid changing point of wrong window. (Bug#14909)
10522
f0398ec1 105232013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
10524
10525 * progmodes/gdb-mi.el (gdb-done-or-error):
10526 Guard against "%" in gdb output. (Bug#14127)
10527
1451928f
AS
105282013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10529
763a086d
JB
10530 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10531 (Bug#14826)
f7a03897 10532
1451928f
AS
10533 * international/mule.el (coding-system-iso-2022-flags): Fix last
10534 change.
10535
99107004
KH
105362013-07-20 Kenichi Handa <handa@gnu.org>
10537
763a086d
JB
10538 * international/mule.el (coding-system-iso-2022-flags):
10539 Add `8-bit-level-4'. (Bug#8522)
99107004 10540
48494e06
LMI
105412013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10542
8ba8eec5
LMI
10543 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10544 (bug#14815).
10545
dfbc66e3
LMI
10546 * net/eww.el (eww-process-text-input): Allow inputting when the
10547 point is at the start of the line, as the properties aren't
10548 front-sticky.
10549
48494e06
LMI
10550 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10551 degenerate widths.
10552
77c92cb9
RS
105532013-07-19 Richard Stallman <rms@gnu.org>
10554
aec7da77
RS
10555 * epa.el (epa-popup-info-window): Doc fix.
10556
77c92cb9
RS
10557 * subr.el (split-string): New arg TRIM.
10558
945c5bb1
JB
105592013-07-18 Juanma Barranquero <lekktu@gmail.com>
10560
10561 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10562 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10563
e06ec67f
MA
105642013-07-18 Michael Albinus <michael.albinus@gmx.de>
10565
c7064f05 10566 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
10567 `file-notify-support'. Do not autoload. Adapt all uses.
10568 (file-notify-supported-p): New defun.
10569
c7064f05
JB
10570 * autorevert.el (auto-revert-use-notify):
10571 Use `file-notify-supported-p' instead of `file-notify-support'.
10572 Adapt docstring.
e06ec67f
MA
10573 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10574
10575 * net/tramp.el (tramp-file-name-for-operation):
10576 Add `file-notify-supported-p'.
10577
10578 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10579 New defun.
10580 (tramp-sh-file-name-handler-alist): Add it as handler for
10581 `file-notify-supported-p '.
10582
10583 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10584 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10585 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10586 Add `ignore' as handler for `file-notify-*' functions.
10587
5dc8a629
EZ
105882013-07-17 Eli Zaretskii <eliz@gnu.org>
10589
10590 * simple.el (line-move-partial, line-move): Don't start vscroll or
10591 scroll-up if the current line is not taller than the window.
10592 (Bug#14881)
10593
77aea2fb
DG
105942013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10595
10596 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10597 highlight question marks in the method names as strings.
ac72c08d
DG
10598 (ruby-block-beg-keywords): Inline.
10599 (ruby-font-lock-keyword-beg-re): Extract from
10600 `ruby-font-lock-keywords'.
77aea2fb 10601
18c26d81
JD
106022013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10603
10604 * frame.el (blink-cursor-blinks): New defcustom.
10605 (blink-cursor-blinks-done): New defvar.
10606 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10607 (blink-cursor-timer-function): Check if number of blinks has been
10608 done on X and NS.
10609 (blink-cursor-suspend, blink-cursor-check): New defuns.
10610
da48522e
GM
106112013-07-15 Glenn Morris <rgm@gnu.org>
10612
10613 * edmacro.el (edmacro-format-keys): Fix previous change.
10614
0463c1ef
PE
106152013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10616
10617 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10618 The hack didn't work outside English locales anyway.
10619
b43f6451
JB
106202013-07-15 Juanma Barranquero <lekktu@gmail.com>
10621
10622 * simple.el (define-alternatives): Rename from alternatives-define,
10623 per RMS' suggestion.
10624
b958c0ad
JB
106252013-07-14 Juanma Barranquero <lekktu@gmail.com>
10626
10627 * desktop.el (desktop-restore-frames): Change default to t.
10628 (desktop-restore-in-current-display): Now offer more options.
10629 (desktop-restoring-reuses-frames): New customization option.
10630 (desktop--saved-states): Doc fix.
10631 (desktop-filter-parameters-alist): New variable, renamed and expanded
10632 from desktop--excluded-frame-parameters.
10633 (desktop--target-display): New variable.
10634 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10635 (desktop--filter-tty*, desktop--filter-*-color)
10636 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10637 (desktop--filter-save-desktop-parm)
10638 (desktop-restore-in-original-display-p): New functions.
10639 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10640 (desktop--save-minibuffer-frames): New function, inspired by a similar
10641 function from Martin Rudalics.
10642 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10643 (desktop--restore-in-this-display-p): Remove.
10644 (desktop--find-frame): Rename from desktop--find-frame-in-display
10645 and add predicate argument.
10646 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10647 (desktop--reuse-list): New variable.
10648 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10649 New functions.
10650 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10651
f6dd8b36
MA
106522013-07-14 Michael Albinus <michael.albinus@gmx.de>
10653
10654 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10655
2ce3c565
DG
106562013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10657
763a086d
JB
10658 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10659 Highlight conversion methods on Kernel.
2ce3c565 10660
2cdb7698
AM
106612013-07-13 Alan Mackenzie <acm@muc.de>
10662
10663 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10664 and comment it out. This out-commenting enables certain C++
10665 declarations to be parsed correctly.
10666
1a67b811
EZ
106672013-07-13 Eli Zaretskii <eliz@gnu.org>
10668
1b796d6b
EZ
10669 * international/mule.el (define-coding-system): Doc fix.
10670
1a67b811
EZ
10671 * simple.el (default-font-height): Don't call font-info if the
10672 frame's default font didn't change since the frame was created.
10673 (Bug#14838)
10674
58fbe886
LL
106752013-07-13 Leo Liu <sdl.web@gmail.com>
10676
10677 * ido.el (ido-read-file-name): Guard against non-symbol value.
10678
1f0480d4
FEG
106792013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10680
10681 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10682 in nested defuns.
10683
97ead0e5
LL
106842013-07-13 Leo Liu <sdl.web@gmail.com>
10685
10686 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10687 ido-set-matches call. (Bug#6852)
10688
0880a952
DG
106892013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10690
35e951cd 10691 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
10692 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10693 Ruby 2.0.
10694 (ruby-font-lock-keywords): Distinguish calls to functions with
10695 module-like names from module references. Highlight character
10696 literals.
10697
a7d8babb
SDJ
106982013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10699
10700 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 10701 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 10702
acfcc8c5
JB
107032013-07-12 Juanma Barranquero <lekktu@gmail.com>
10704
10705 * desktop.el (desktop--v2s): Remove unused local variable.
10706 (desktop-save-buffer): Make defvar-local; adjust docstring.
10707 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10708 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10709
051f2775
AS
107102013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10711
10712 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10713
f24e7572
GM
107142013-07-12 Eli Zaretskii <eliz@gnu.org>
10715
10716 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10717 (Bug#14842)
10718
539a920c
GM
107192013-07-12 Glenn Morris <rgm@gnu.org>
10720
10721 * doc-view.el: Require cl-lib at runtime too.
10722 (doc-view-remove-if): Remove.
10723 (doc-view-search-next-match, doc-view-search-previous-match):
10724 Use cl-remove-if.
10725
10726 * edmacro.el: Require cl-lib at runtime too.
10727 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10728 (edmacro-mismatch, edmacro-subseq): Remove.
10729
10730 * shadowfile.el: Require cl-lib.
10731 (shadow-remove-if): Remove.
10732 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10733 Use cl-remove-if.
10734
10735 * wid-edit.el: Require cl-lib.
10736 (widget-choose): Use cl-remove-if.
10737 (widget-remove-if): Remove.
10738
10739 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10740 (ebrowse-delete-if-not): Remove.
10741 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10742 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10743 Use cl-delete-if-not.
10744
1048af7c
JB
107452013-07-12 Juanma Barranquero <lekktu@gmail.com>
10746
10747 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10748 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10749
6c0674ee
LL
107502013-07-12 Leo Liu <sdl.web@gmail.com>
10751
10752 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10753
a19b3c2d
GM
107542013-07-11 Glenn Morris <rgm@gnu.org>
10755
4582a01c
GM
10756 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10757 (edebug-gensym-index, edebug-gensym):
10758 Remove reimplementation of cl-gensym.
10759 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10760
10761 * thumbs.el: Require cl-lib at run-time too.
10762 (thumbs-gensym-counter, thumbs-gensym):
10763 Remove reimplementation of cl-gensym.
10764 (thumbs-temp-file): Use cl-gensym.
10765
a19b3c2d
GM
10766 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10767 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10768 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10769 (ert--union, ert--gensym-counter, ert--gensym-counter)
10770 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10771 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10772 (ert-make-test-unbound, ert--expand-should-1)
10773 (ert--expand-should, ert--should-error-handle-error)
10774 (should-error, ert--explain-equal-rec)
10775 (ert--plist-difference-explanation, ert-select-tests)
10776 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10777 Use cl-lib functions rather than reimplementations.
10778
88f6a933
MA
107792013-07-11 Michael Albinus <michael.albinus@gmx.de>
10780
10781 * net/tramp.el (tramp-methods): Extend docstring.
10782 (tramp-connection-timeout): New defcustom.
10783 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10784 (with-tramp-progress-reporter): Simplify.
10785 (tramp-process-actions): Improve messages.
10786
10787 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10788 * net/tramp-sh.el (tramp-maybe-open-connection):
10789 Use `tramp-connection-timeout'.
afe1e4c8 10790 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
10791 (Bug#14808)
10792
a43d577e
LL
107932013-07-11 Leo Liu <sdl.web@gmail.com>
10794
10795 * ido.el (ido-read-file-name): Conform to the requirements of
10796 read-file-name. (Bug#11861)
10797 (ido-read-directory-name): Conform to the requirements of
10798 read-directory-name.
10799
d77974bf
JB
108002013-07-11 Juanma Barranquero <lekktu@gmail.com>
10801
10802 * subr.el (delay-warning): New function.
10803
35cb8a3e
EZ
108042013-07-10 Eli Zaretskii <eliz@gnu.org>
10805
10806 * simple.el (default-line-height): New function.
10807 (line-move-partial, line-move): Use it instead of computing the
10808 line height inline.
10809 (line-move-partial): Always compute ROWH. If the last line is
10810 partially-visible, but its text is completely visible, allow
10811 cursor to enter such a partially-visible line.
10812
525c5c77
MA
108132013-07-10 Michael Albinus <michael.albinus@gmx.de>
10814
10815 Improve error messages. (Bug#14808)
10816
10817 * net/tramp.el (tramp-current-connection): New defvar, moved from
10818 tramp-sh.el.
0ac26976 10819 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 10820 needed anymore.
0ac26976
SM
10821 (tramp-error-with-buffer): Show message in minibuffer.
10822 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
10823 (with-tramp-progress-reporter): Improve messages.
10824 (tramp-process-actions): Use progress reporter. Delete process in
10825 case of error. Improve messages.
10826
763a086d
JB
10827 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10828 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 10829 (tramp-current-connection): Remove.
525c5c77
MA
10830 (tramp-maybe-open-connection): The car of
10831 `tramp-current-connection' are the first 3 slots of the vector.
10832
c7a4d368
TZ
108332013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10834
10835 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10836 inside continued strings.
10837
954b166e
PE
108382013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10839
10840 Timestamp fixes for undo (Bug#14824).
10841 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10842
56973319
LL
108432013-07-10 Leo Liu <sdl.web@gmail.com>
10844
10845 * files.el (require-final-newline): Allow safe local value.
10846 (Bug#14834)
10847
5550a72c
LL
108482013-07-09 Leo Liu <sdl.web@gmail.com>
10849
10850 * ido.el (ido-read-directory-name): Handle fallback.
10851 (ido-read-file-name): Update DIR to ido-current-directory.
10852 (Bug#1516)
c28b9050 10853 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 10854
70c46b28
DG
108552013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10856
10857 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10858 "autoload". Remove "warn lower camel case" section, previously
10859 commented out. Highlight negation char. Do not highlight the
10860 target in singleton method definitions.
10861
0b64b838
SM
108622013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10863
7fd72e2c
SM
10864 * faces.el (tty-setup-hook): Declare the hook.
10865
0b64b838
SM
10866 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10867 and detect when a guard/pred depends on local vars (bug#14773).
10868 (pcase--u1): Adjust caller.
10869
ab49d60b
EZ
108702013-07-08 Eli Zaretskii <eliz@gnu.org>
10871
10872 * simple.el (line-move-partial, line-move): Account for
10873 line-spacing.
701d79aa
EZ
10874 (line-move-partial): Avoid setting vscroll when the last
10875 partially-visible line in window is of default height.
ab49d60b 10876
2d756ae0
LMI
108772013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10878
10879 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10880 been used a while.
10881
ed095bd7
JB
108822013-07-07 Juanma Barranquero <lekktu@gmail.com>
10883
10884 * subr.el (read-quoted-char): Remove unused local variable `char'.
10885
f1e6674b
MK
108862013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10887
584ee3fc
GM
10888 * ediff.el (ediff-version): Version update.
10889 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10890 (ediff-merge-with-ancestor-command, ediff-directories-command)
10891 (ediff-directories3-command, ediff-merge-directories-command)
10892 (ediff-merge-directories-with-ancestor-command): New functions.
10893 All are command-line interfaces to ediff: to facilitate calling
10894 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
10895
10896 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10897 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 10898
584ee3fc
GM
10899 * viper.el (viper-version): Version update.
10900 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 10901
584ee3fc
GM
109022013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10903
10904 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10905 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10906 (viper-intercept-ESC-key): Simplify.
10907 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10908 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10909 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10910 (viper-setup-ESC-to-escape): New functions.
10911 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10912 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 10913
9aff9b38
EZ
109142013-07-07 Eli Zaretskii <eliz@gnu.org>
10915
5165d44a
JB
10916 * simple.el (default-font-height, window-screen-lines):
10917 New functions.
9aff9b38
EZ
10918 (line-move, line-move-partial): Use them instead of
10919 frame-char-height and window-text-height. This makes scrolling
10920 text smoother when the buffer's default face uses a font that is
10921 different from the frame's default font.
10922
1afb1d07
JD
109232013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10924
10925 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 10926 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 10927
23de972a
EZ
109282013-07-06 Eli Zaretskii <eliz@gnu.org>
10929
10930 * simple.el (line-move-partial): Adjust the row returned by
10931 posn-at-point for the current window-vscroll. (Bug#14567)
10932
54a42486
MA
109332013-07-06 Michael Albinus <michael.albinus@gmx.de>
10934
35e951cd 10935 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
10936 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10937 spaces.
10938
34ada5f4
MR
109392013-07-06 Martin Rudalics <rudalics@gmx.at>
10940
10941 * window.el (window-state-put-stale-windows): New variable.
10942 (window--state-put-2): Save list of windows without matching buffer.
10943 (window-state-put): Remove "bufferless" windows if possible.
10944
11e03d89
JB
109452013-07-06 Juanma Barranquero <lekktu@gmail.com>
10946
10947 * simple.el (alternatives-define): Remove leftover :group keyword.
10948 Tweak docstring.
10949
3504a4be
LL
109502013-07-06 Leo Liu <sdl.web@gmail.com>
10951
10952 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10953 (ido-enable-virtual-buffers): New variable.
10954 (ido-buffer-internal, ido-toggle-virtual-buffers)
10955 (ido-make-buffer-list): Use it.
10956 (ido-exhibit): Support turning on and off virtual buffers
10957 automatically.
10958
61e56e2c
JB
109592013-07-06 Juanma Barranquero <lekktu@gmail.com>
10960
10961 * simple.el (alternatives-define): New macro.
10962
321e1a9c
SM
109632013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10964
10965 * subr.el (read-quoted-char): Use read-key.
10966 (sit-for): Let read-event decode tty input (bug#14782).
10967
d610f6dd
SB
109682013-07-05 Stephen Berman <stephen.berman@gmx.net>
10969
10970 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
10971 mode command and externally. Fix various related bugs.
10972 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
10973 (todo-delete-file): New command.
10974 (todo-check-file): New function.
10975 (todo-show): Handle external deletion of the file we're trying to
10976 show (bug#14688). Replace called-interactively-p by an optional
10977 prefix argument to avoid problematic interaction with catch form
10978 when byte compiled (bug#14702).
10979 (todo-quit): Handle external deletion of the archive's todo file.
10980 Make sure the buffer that was visiting the archive file is still
10981 live before trying to bury it.
10982 (todo-category-completions): Handle external deletion of any
10983 category completion files.
10984 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10985 of todo files, in case of external deletion.
10986 (todo-add-file): Replace unnecessary setq by let-binding.
10987 (todo-find-archive): Check whether there are any archives.
10988 Replace unnecessary setq by let-binding.
10989 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
10990 archive buffer whether or not the archive already exists.
10991 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
10992 check if the archive is new; if it is, update list of archives.
10993 (todo-default-todo-file): Allow nil to be a valid value for when
10994 there are no todo files.
10995 (todo-reevaluate-default-file-defcustom): Use corrected definition
10996 of todo-default-todo-file.
10997 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10998 (todo-delete-category, todo-show-categories-table)
10999 (todo-category-number): Clarify comment.
11000 (todo-filter-items): Clarify documentation string.
11001 (todo-show-current-file, todo-display-as-todo-file)
11002 (todo-reset-and-enable-done-separator): Tweak documentation string.
11003 (todo-done-separator): Make separator length window-width, since
11004 bug#2749 is now fixed.
11005
ddbdfd6f
MA
110062013-07-05 Michael Albinus <michael.albinus@gmx.de>
11007
321e1a9c
SM
11008 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11009 Support both "gvfs-monitor-dir" and "inotifywait".
11010 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
11011 `tramp-sh-file-notify-process-filter'.
11012 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11013 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11014
96eb829a
LL
110152013-07-05 Leo Liu <sdl.web@gmail.com>
11016
11017 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11018
cf13177e
YM
110192013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11020
11021 * frame.el (display-pixel-height, display-pixel-width)
11022 (display-mm-height, display-mm-width): Mention behavior on
11023 multi-monitor setups in docstrings.
11024 (w32-display-monitor-attributes-list): Declare function.
11025 (display-monitor-attributes-list): Use it.
11026
864c58ca
MA
110272013-07-04 Michael Albinus <michael.albinus@gmx.de>
11028
11029 * filenotify.el: New package.
11030
11031 * autorevert.el (top): Require filenotify.el.
11032 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11033 instead.
11034 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11035 (auto-revert-notify-handler): Use `file-notify-*' functions.
11036
11037 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11038
321e1a9c
SM
11039 * net/tramp.el (tramp-file-name-for-operation):
11040 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
11041
11042 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11043 for `file-notify-add-watch' and `file-notify-rm-watch'.
11044 (tramp-process-sentinel): Improve trace.
11045 (tramp-sh-handle-file-notify-add-watch)
11046 (tramp-sh-file-notify-process-filter)
11047 (tramp-sh-handle-file-notify-rm-watch)
11048 (tramp-get-remote-inotifywait): New defuns.
11049
96673afe
JL
110502013-07-03 Juri Linkov <juri@jurta.org>
11051
11052 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11053 call of `occur-read-primary-args' to interactive spec.
11054
11055 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11056 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11057
924494f4
MM
110582013-07-03 Matthias Meulien <orontee@gmail.com>
11059
11060 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11061 `Buffer-menu-multi-occur'. Add it to the menu.
11062 (Buffer-menu-mode): Document it in docstring.
11063 (Buffer-menu-multi-occur): New command. (Bug#14673)
11064
56f75efc
DG
110652013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11066
11067 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11068 keywords and built-ins.
11069
9b057d61
GM
110702013-07-03 Glenn Morris <rgm@gnu.org>
11071
208dee4d
GM
11072 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11073
9b057d61
GM
11074 Make info-xref checks case-sensitive by default
11075 * info.el (Info-find-node, Info-find-in-tag-table)
11076 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11077 Add option for exact case matching of nodes.
11078 * info-xref.el (info-xref): New custom group.
11079 (info-xref-case-fold): New option.
11080 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11081
e01aa29c
LL
110822013-07-03 Leo Liu <sdl.web@gmail.com>
11083
11084 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11085
3086ca2e
DG
110862013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11087
11088 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11089 middle of block statement initially, lower the depth. Remove
11090 FIXME comment, not longer valid. Remove middle of block statement
11091 detection, no need to do that anymore since we've been using
11092 `ruby-parse-region' here.
11093
a3b49114
JD
110942013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11095
11096 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11097
08e5c823 110982013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
11099
11100 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11101
2addf922
JB
111022013-07-01 Juanma Barranquero <lekktu@gmail.com>
11103
11104 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11105 (desktop-restore-in-current-display): New customization option.
11106 (desktop--excluded-frame-parameters): Add `font'.
11107 (desktop--save-frames): Rename from desktop--save-windows.
11108 (desktop--restore-in-this-display-p): New function.
11109 (desktop--make-full-frame): Remove unwanted width/height from
11110 full(width|height) frames.
11111 (desktop--restore-frames): Rename from desktop--restore-windows.
11112 Obey desktop-restore-current-display. Do not delete old frames or
11113 select a new frame unless we were able to restore at least one frame.
11114
ef099a94
MN
111152013-06-30 Michal Nazarewicz <mina86@mina86.com>
11116
11117 * files.el (find-file-noselect): Simplify conditional expression.
11118
a12bf61e 11119 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
11120 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11121
11122 Add `remember-notes' function to store random notes across Emacs
11123 restarts.
3fcfc4ee
JB
11124 * textmodes/remember.el (remember-data-file): Add :set callback to
11125 affect notes buffer (if any).
ef099a94
MN
11126 (remember-notes): New command.
11127 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11128 New defcustoms for the `remember-notes' function.
11129 (remember-notes-save-and-bury-buffer): New command.
11130 (remember-notes-mode-map): New variable.
11131 (remember-mode): New minor mode.
11132 (remember-notes--kill-buffer-query): New function.
11133 * startup.el (initial-buffer-choice): Add notes to custom type.
11134
0865d506
EZ
111352013-06-30 Eli Zaretskii <eliz@gnu.org>
11136
0ba54312
EZ
11137 * bindings.el (right-char, left-char): Don't call sit-for, this is
11138 no longer needed. Use arithmetic comparison only for numerical
11139 arguments.
11140
ef099a94
MN
11141 * international/mule-cmds.el (select-safe-coding-system):
11142 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 11143
2fae38e5
LMI
111442013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11145
11146 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11147 progression on degenerate tables.
ef099a94 11148 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 11149
a47cbd64
JB
111502013-06-30 Juanma Barranquero <lekktu@gmail.com>
11151
11152 Some fixes and improvements for desktop frame restoration.
11153 It is still experimental and disabled by default.
11154 * desktop.el (desktop--save-windows): Put the selected frame at
11155 the head of the list.
11156 (desktop--make-full-frame): New function.
11157 (desktop--restore-windows): Try to re-select the frame that was
11158 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
11159 just show an error message and continue. Set up maximized frames
11160 so they have default non-maximized dimensions.
a47cbd64 11161
6dbafa30
DG
111622013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11163
ef099a94
MN
11164 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11165 Don't start heredoc inside a string or comment.
6dbafa30 11166
4c672a0f
EZ
111672013-06-29 Eli Zaretskii <eliz@gnu.org>
11168
11169 * bindings.el (visual-order-cursor-movement): New defcustom.
11170 (right-char, left-char): Provide visual-order cursor motion by
11171 calling move-point-visually. Update the doc strings.
11172
50960f36
KH
111732013-06-28 Kenichi Handa <handa@gnu.org>
11174
11175 * international/mule.el (define-coding-system): New coding system
11176 properties :inhibit-null-byte-detection,
11177 :inhibit-iso-escape-detection, and :prefer-utf-8.
11178 (set-buffer-file-coding-system): If :charset-list property of
11179 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11180 appropriate for setting.
11181
c1ea3abf
JB
11182 * international/mule-cmds.el (select-safe-coding-system):
11183 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11184 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
11185
11186 * international/mule-conf.el (prefer-utf-8): New coding system.
11187 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11188 files.
11189
75dbaf9d
IK
111902013-06-28 Ivan Kanis <ivan@kanis.fr>
11191
eadb6068
IK
11192 * net/shr.el (shr-render-region): New function.
11193
75dbaf9d
IK
11194 * net/eww.el: Autoload `eww-browse-url'.
11195
9ea5cf9f
DG
111962013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11197
c1ea3abf
JB
11198 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11199 Adapt to `package-desc-version' being a list.
11200 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
11201 archive element.
11202
39c0e36f
JB
112032013-06-27 Juanma Barranquero <lekktu@gmail.com>
11204
11205 New experimental feature to save&restore window and frame setup.
11206 * desktop.el (desktop-save-windows): New defcustom.
11207 (desktop--saved-states): New var.
11208 (desktop--excluded-frame-parameters): New defconst.
11209 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11210 (desktop--restore-windows, desktop--save-windows): New functions.
11211 (desktop-save): Call `desktop--save-windows'.
11212 (desktop-read): Call `desktop--restore-windows'.
11213
7f13406b
LMI
112142013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11215
ef099a94 11216 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 11217
1e072639
SB
112182013-06-27 Stephen Berman <stephen.berman@gmx.net>
11219
11220 * info.el (Info-try-follow-nearest-node): Move search for footnote
11221 above search for node name to prevent missing a footnote (bug#14717).
11222
f3e2cbde
SB
112232013-06-27 Stephen Berman <stephen.berman@gmx.net>
11224
11225 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11226
99906aa0
LL
112272013-06-27 Leo Liu <sdl.web@gmail.com>
11228
11229 * net/eww.el (eww-read-bookmarks): Check file size.
11230
539f75f4
SM
112312013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11232
11233 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11234 advice--pending if newdef is nil or an autoload (bug#13820).
11235 (advice-mapc): New function.
11236
843571cb
LMI
112372013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11238
11239 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11240 probably.
23a75d7f 11241 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
11242 (eww-add-bookmark): New command.
11243 (eww-bookmark-mode): New mode and commands.
a285ce99 11244 (eww-add-bookmark): Remove newlines from the title.
47fd571b 11245 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 11246
f2136e1e
GM
112472013-06-26 Glenn Morris <rgm@gnu.org>
11248
eab35f39
GM
11249 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11250 (hfy-size): Handle ttys. (Bug#14668)
11251
f2136e1e
GM
11252 * info-xref.el: Update for Texinfo 5 change in *note format.
11253 (info-xref-node-re, info-xref-note-re): New constants.
11254 (info-xref-check-buffer): Use info-xref-note-re.
11255
a49ff80c
SM
112562013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11257
a343d218
SM
11258 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11259
a49ff80c
SM
11260 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11261 nil terminate the loop (bug#14718).
11262
8308f184
LMI
112632013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11264
11265 * net/eww.el: Rework history traversal. When going forward/back,
11266 put these actions into the history, too, so that they can be
11267 replayed.
26bf2b82 11268 (eww-render): Move the history reset to the correct buffer.
8308f184 11269
ec64c273
JL
112702013-06-25 Juri Linkov <juri@jurta.org>
11271
11272 * files-x.el (modify-dir-local-variable): Change the header comment
11273 in the file with directory local variables. (Bug#14692)
11274
e080a9d7
JL
11275 * files-x.el (read-file-local-variable-value): Add `default'.
11276 (Bug#14710)
11277
bfbc93a1
IK
112782013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11279
11280 * net/eww.el (eww-make-unique-file-name): Create a unique file
11281 name before saving to entering `y' accidentally asynchronously.
11282
112832013-06-25 Ivan Kanis <ivan@kanis.fr>
11284
11285 * net/eww.el (eww-download): New command and keystroke.
11286
16f74f10
LMI
112872013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11288
a49ff80c 11289 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
11290
11291 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11292 be more consistent with Info and dired.
11293
11294 * net/eww.el (eww-mode-map): Ditto.
11295
12059709
SM
112962013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11297
11298 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11299 packages from archives.
11300 (package-archive-contents): Change format; include obsolete packages.
11301 (package-desc): Use `dir' to mark builtin packages.
11302 (package--from-builtin): Set the `dir' field to `builtin'.
11303 (generated-autoload-file, version-control): Declare.
11304 (package-compute-transaction): Change first arg and return value to be
11305 lists of package-descs. Adjust to new package-archive-contents format.
11306 (package--add-to-archive-contents): Adjust to new
11307 package-archive-contents format.
11308 (package-download-transaction): Arg is now a list of package-descs.
11309 (package-install): If `pkg' is a package name, pass it as
11310 a requirement, so it is subject to the usual (e.g. disabled) checks.
11311 (describe-package): Accept package-desc as well.
11312 (describe-package-1): Describe a specific package-desc. Add links to
11313 other package-descs for the same package name.
11314 (package-menu-describe-package): Pass the actual package-desc.
11315 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11316 works correctly.
11317 (package-desc-status): New function.
11318 (package-menu--refresh): New function, extracted
11319 from package-menu--generate.
11320 (package-menu--generate): Use it.
11321 (package-delete): Update package-alist.
11322 (package-menu-execute): Don't call package-initialize.
11323
11324 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11325 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11326 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11327 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11328 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11329 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11330
8bbdea0f
MR
113312013-06-25 Martin Rudalics <rudalics@gmx.at>
11332
11333 * window.el (window--state-get-1): Workaround for bug#14527.
11334 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11335
e82b0991
LMI
113362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11337
11338 * net/eww.el (eww-back-url): Implement the history by stashing all
11339 the data into a list.
d3f0f918 11340 (eww-forward-url): Allow going forward in the history, too.
e82b0991 11341
c763842b
SM
113422013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11343
11344 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11345 for values and use read--expression for expressions (bug#14710).
11346 (read-file-local-variable): Avoid setq.
11347 (read-file-local-variable-mode): Use minor-mode-list.
11348
bceff189
RW
113492013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11350
864c58ca 11351 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
11352 for DOI URLs.
11353
45f431c6
RW
113542013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11355
864c58ca 11356 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
11357 Update imenu-support when dialect changes.
11358
f42d8237
LL
113592013-06-25 Leo Liu <sdl.web@gmail.com>
11360
11361 * ido.el (ido-read-internal): Allow forward slash on windows.
11362
be549ce6
LMI
113632013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11364
11365 * net/eww.el (eww): Start of strings is \\`, not ^.
11366
71d4c19d
IK
113672013-06-24 Ivan Kanis <ivan@kanis.fr>
11368
5196f88a
IK
11369 * net/shr.el (shr-browse-url): Fix interactive spec.
11370
71d4c19d
IK
11371 * net/eww.el (eww): Add a trailing slash to domain names.
11372
ae36ca55
JB
113732013-06-24 Juanma Barranquero <lekktu@gmail.com>
11374
11375 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11376
0ebd92a3
LMI
113772013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11378
bdaa086b
LMI
11379 * net/shr.el (shr-browse-url): Use an external browser if given a
11380 prefix.
11381
c763842b 11382 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 11383
b89fc156
IK
113842013-06-24 Ivan Kanis <ivan@kanis.fr>
11385
11386 * net/eww.el (eww): Work more correctly for file: URLs.
11387 (eww-detect-charset): Allow quoted charsets.
11388 (eww-yank-page-url): New command and keystroke.
11389
18eb4bca
DU
113902013-06-24 Daiki Ueno <ueno@gnu.org>
11391
11392 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11393 file name of gpg executable.
11394 (epg-context-program): New function.
11395 (epg-context-home-directory): New function.
11396 (epg-context-set-program): New function.
11397 (epg-context-set-home-directory): New function.
11398 (epg--start): Use `epg-context-program' instead of
11399 'epg-gpg-program'.
11400 (epg--list-keys-1): Likewise.
11401
6c6268c8
LL
114022013-06-24 Leo Liu <sdl.web@gmail.com>
11403
11404 * ido.el (ido-read-internal): Fix bug#14620.
11405
5e400cb3
JB
114062013-06-23 Juanma Barranquero <lekktu@gmail.com>
11407
11408 * faces.el (face-documentation): Simplify.
11409 (read-face-attribute, tty-find-type, x-resolve-font-name):
11410 Use `string-match-p'.
11411 (list-faces-display): Use `string-match-p'. Simplify.
11412 (face-spec-recalc): Check face to avoid face alias loops.
11413 (read-color): Use `string-match-p' and non-capturing parenthesis.
11414
f3f9606c
LMI
114152013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11416
11417 * net/shr.el (shr-rescale-image): Use the new
11418 :max-width/:max-height functionality.
11419
a3ca09b9
IK
114202013-06-23 Ivan Kanis <ivan@kanis.fr>
11421
11422 * net/eww.el (eww-search-prefix): New variable.
11423 (eww): Use it.
f865b474
IK
11424 (eww-external-browser): New variable.
11425 (eww-mode-map): New keystroke.
11426 (eww-browse-with-external-browser): New command.
a3ca09b9 11427
e854cfc7
IK
11428 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11429
18bb9e21
JB
114302013-06-23 Juanma Barranquero <lekktu@gmail.com>
11431
11432 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11433 Don't skip aligning the next header field when padding is 0;
11434 otherwise, field width is not respected unless the title is as
11435 wide as the field.
11436
5b165ade
SM
114372013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11438
11439 * emacs-lisp/package.el (package-el-version): Remove.
11440 (package-process-define-package): Fix inf-loop.
11441 (package-install): Allow symbols as arguments again.
11442
12adebe9
DG
114432013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11444
11445 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11446 add some more keyword-like methods.
11447 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11448
388573ee
JB
114492013-06-22 Juanma Barranquero <lekktu@gmail.com>
11450
11451 * bs.el (bs-buffer-show-mark): Make defvar-local.
11452 (bs-mode): Use setq-local.
11453
11454 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11455 (emacs-lock--try-unlocking): Make defvar-local.
11456
4582a01c 114572013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 11458
2663dd23
GM
11459 * play/cookie1.el (cookie-apropos): Minor simplification.
11460
3d94f3ad
GM
11461 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11462
f72e2fdb
DG
114632013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11464
11465 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11466 `regexp-opt', it breaks the build during dumping.
11467
73eab938
DG
114682013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11469
c763842b
SM
11470 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11471 Highlight keyword-like methods on Kernel and Module with
73eab938 11472 font-lock-builtin-face.
5cf8176d
DG
11473 (auto-mode-alist): Consolidate different entries into one regexp
11474 and add more *file-s.
73eab938 11475
d26255f6
SB
114762013-06-21 Stephen Berman <stephen.berman@gmx.net>
11477
11478 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11479
11480 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11481 (diary-entry): Use it in the action of this button type instead of
11482 diary-goto-entry.
11483
11484 * calendar/todo-mode.el: New version.
11485 (todo-add-category): Append new category to end of file and give
11486 it the highest number, instead of putting it at the beginning and
11487 giving it 0. Incorporate noninteractive functionality.
11488 (todo-forward-category): Adapt to 1-based category numbering.
11489 Allow skipping over archived categories.
11490 (todo-backward-category): Derive from todo-forward-category.
11491 (todo-backward-item, todo-forward-item): Make noninteractive and
11492 delegate interactive part to new commands. Make sensitive to done items.
11493 (todo-categories): Make value an alist of category names and
11494 vectors of item counts.
11495 (todo-category-beg): Make a defconst.
11496 (todo-category-number): Use 1 instead of 0 as initial value.
11497 (todo-category-select): Make sensitive to overlays, optional item
11498 highlighting and done items.
11499 (todo-delete-item): Make sensitive to overlays and marked and done items.
11500 (todo-edit-item): Make sensitive to overlays and editing of
11501 date/time header optional. Add format checks.
11502 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11503 no-op if point is not on an item. Advertise using todo-edit-quit.
11504 (todo-edit-mode): Make sensitive to new format, font-locking, and
11505 multiple todo files.
11506 (todo-insert-item, todo-insert-item-here): Derive from
11507 todo-basic-insert-item and extend functionality.
11508 (todo-item-end, todo-item-start): Make sensitive to done items.
11509 (todo-item-string): Don't return text properties. Restore point.
11510 (todo-jump-to-category): Make sensitive to multiple todo files and
11511 todo archives. Use extended category completion.
11512 (todo-lower-item, todo-raise-item): Rename to *-priority and
11513 derive from todo-set-item-priority.
11514 (todo-mode): Derive from special-mode. Make sensitive to new
11515 format, font-locking and multiple todo files. Make read-only.
11516 (todo-mode-map): Don't suppress digit keys, so they can supply
11517 prefix arguments. Add many new key bindings.
11518 (todo-prefix): Insert as an overlay instead of file text.
11519 Change semantics from diary date expression to purely visual mark.
11520 (todo-print): Rename to todo-print-buffer. Make buffer display
11521 features printable. Remove option to restrict number of items
11522 printed. Add option to print to file.
11523 (todo-print-function): Rename to todo-print-buffer-function.
11524 (todo-quit): Extend to handle exiting new todo modes.
11525 (todo-remove-item): Make sensitive to overlays.
11526 (todo-save): Extend to buffers of filtered items.
11527 (todo-show): Make sensitive to done items, multiple todo files and
11528 new todo modes. Offer to convert legacy todo file before creating
11529 first new todo file.
11530 (todo-show-priorities): Rename to todo-top-priorities.
11531 Change semantics of value 0.
11532 (todo-top-priorities): Rename to todo-filter-top-priorities,
11533 derive from todo-filter-items and extend functionality.
11534 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11535 and extend functionality to other types of filtered items.
11536 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11537 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11538 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11539 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11540 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11541 (todo-edit-mode-hook, todo-entry-prefix-function)
11542 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11543 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11544 (todo-initials, todo-insert-threshold, todo-item-string-start)
11545 (todo-line-string, todo-menu, todo-mode-hook)
11546 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11547 (todo-print-priorities, todo-remove-separator)
11548 (todo-save-top-priorities-too, todo-string-count-lines)
11549 (todo-string-multiline-p, todo-time-string-format)
11550 (todo-tmp-buffer-name): Remove.
11551 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11552 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11553 (todo-edit-category-diary-inclusion)
11554 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11555 (todo-edit-file, todo-edit-item-date-day)
11556 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11557 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11558 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11559 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11560 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11561 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11562 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11563 (todo-filter-top-priorities-multifile, todo-find-archive)
11564 (todo-find-filtered-items-file, todo-go-to-source-item)
11565 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11566 (todo-jump-to-archive-category, todo-lower-category)
11567 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11568 (todo-move-category, todo-move-item, todo-next-button)
11569 (todo-next-item, todo-padded-string, todo-powerset)
11570 (todo-previous-button, todo-previous-item)
11571 (todo-print-buffer-to-file, todo-raise-category)
11572 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11573 (todo-set-category-number, todo-set-item-priority)
11574 (todo-set-top-priorities-in-category)
11575 (todo-set-top-priorities-in-file, todo-show-categories-table)
11576 (todo-sort-categories-alphabetically-or-numerically)
11577 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11578 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11579 (todo-toggle-item-header, todo-toggle-item-highlighting)
11580 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11581 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11582 (todo-unarchive-items, todo-unmark-category): New commands.
11583 (todo-absolute-file-name, todo-add-to-buffer-list)
11584 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11585 (todo-basic-insert-item, todo-category-completions)
11586 (todo-category-number, todo-category-string-matcher-1)
11587 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11588 (todo-check-format, todo-clear-matches)
11589 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11590 (todo-current-category, todo-date-string-matcher)
11591 (todo-define-insertion-command, todo-diary-expired-matcher)
11592 (todo-diary-goto-entry, todo-diary-item-p)
11593 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11594 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11595 (todo-done-item-section-p, todo-done-separator)
11596 (todo-done-string-matcher, todo-files, todo-filter-items)
11597 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11598 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11599 (todo-insert-category-line, todo-insert-item-from-calendar)
11600 (todo-insert-sort-button, todo-insert-with-overlays)
11601 (todo-insertion-command-name, todo-insertion-key-bindings)
11602 (todo-label-to-key, todo-longest-category-name-length)
11603 (todo-make-categories-list, todo-mode-external-set)
11604 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11605 (todo-modes-set-3, todo-multiple-filter-files)
11606 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11607 (todo-read-category, todo-read-date, todo-read-dayname)
11608 (todo-read-file-name, todo-read-time)
11609 (todo-reevaluate-category-completions-files-defcustom)
11610 (todo-reevaluate-default-file-defcustom)
11611 (todo-reevaluate-filelist-defcustoms)
11612 (todo-reevaluate-filter-files-defcustom)
11613 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11614 (todo-reset-done-separator, todo-reset-done-separator-string)
11615 (todo-reset-done-string, todo-reset-global-current-todo-file)
11616 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11617 (todo-reset-prefix, todo-set-categories)
11618 (todo-set-date-from-calendar, todo-set-show-current-file)
11619 (todo-set-top-priorities, todo-short-file-name)
11620 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11621 (todo-total-item-counts, todo-update-buffer-list)
11622 (todo-update-categories-display, todo-update-categories-sexp)
11623 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11624 New functions.
11625 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11626 New major modes.
11627 (todo-categories, todo-display, todo-edit, todo-faces)
11628 (todo-filtered): New defgroups.
11629 (todo-archived-only, todo-button, todo-category-string, todo-date)
11630 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11631 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11632 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11633 (todo-add-item-if-new-category, todo-always-add-time-string)
11634 (todo-categories-align, todo-categories-archived-label)
11635 (todo-categories-category-label, todo-categories-diary-label)
11636 (todo-categories-done-label, todo-categories-number-separator)
11637 (todo-categories-todo-label, todo-categories-totals-label)
11638 (todo-category-completions-files, todo-completion-ignore-case)
11639 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11640 (todo-done-separator-string, todo-done-string)
11641 (todo-files-function, todo-filter-done-items, todo-filter-files)
11642 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11643 (todo-initial-category, todo-initial-file, todo-item-mark)
11644 (todo-legacy-date-time-regexp, todo-mode-line-function)
11645 (todo-nondiary-marker, todo-number-prefix)
11646 (todo-print-buffer-function, todo-show-current-file)
11647 (todo-show-done-only, todo-show-first, todo-show-with-done)
11648 (todo-skip-archived-categories, todo-top-priorities-overrides)
11649 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11650 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11651 New defcustoms.
11652 (todo-category-done, todo-date-pattern, todo-date-string-start)
11653 (todo-diary-items-buffer, todo-done-string-start)
11654 (todo-filtered-items-buffer, todo-item-start)
11655 (todo-month-abbrev-array, todo-month-name-array)
11656 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11657 (todo-top-priorities-buffer): New defconsts.
11658 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11659 (todo-categories-with-marks, todo-category-string-face)
11660 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11661 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11662 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11663 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11664 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11665 (todo-font-lock-keywords, todo-global-current-todo-file)
11666 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11667 (todo-insertion-commands-args)
11668 (todo-insertion-commands-args-genlist)
11669 (todo-insertion-commands-names, todo-insertion-map)
11670 (todo-key-bindings-t, todo-key-bindings-t+a)
11671 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11672 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11673 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11674 (todo-visited): New variables.
11675
cad5d1cb
GM
116762013-06-21 Glenn Morris <rgm@gnu.org>
11677
11678 * play/cookie1.el (cookie-apropos): Add optional display argument.
11679 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11680 (psychoanalyze-pinhead): Use cookie-doctor.
11681
9e277302
JB
116822013-06-21 Juanma Barranquero <lekktu@gmail.com>
11683
11684 * emacs-lisp/package.el (tar-get-file-descriptor)
11685 (tar--extract): Declare.
11686
c5b0993e
EW
116872013-06-21 Eduard Wiebe <usenet@pusto.de>
11688
11689 Extend flymake's warning predicate to be a function (bug#14217).
11690 * progmodes/flymake.el (flymake-warning-predicate): New.
11691 (flymake-parse-line): Use it.
11692 (flymake-warning-re): Make obsolete alias to
11693 `flymake-warning-predicate'.
11694
a7d2d465
SM
116952013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11698 (package-obsolete-list): Remove.
11699 (package-activate): Remove min-version argument. Add `force' argument.
11700 Adjust to new package-alist format.
11701 (package-mark-obsolete): Remove.
11702 (package-unpack): Force reload of the package's autoloads.
11703 (package-installed-p): Check builtins if the installed package is not
11704 recent enough.
11705 (package-initialize): Don't reset package-obsolete-list.
11706 Don't specify which package version to activate.
11707 (package-process-define-package, describe-package-1)
11708 (package-menu--generate): Adjust to new package-alist format.
11709
cedf5c9d
JB
117102013-06-21 Juanma Barranquero <lekktu@gmail.com>
11711
11712 * allout-widgets.el (allout-widgets-mode-off)
11713 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11714 (allout-widgets-post-command-business)
11715 (allout-widgets-after-copy-or-kill-function)
11716 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11717 (allout-decorate-item-and-context)
11718 (allout-graphics-modification-handler): Fix typos in docstrings.
11719 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11720
11721 * cmuscheme.el (scheme-start-file): Doc fix.
11722 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11723 (scheme-input-filter): Use `string-match-p'.
11724
11725 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11726
11727 * dired-x.el: Use Dired consistently in docstrings.
11728
11729 * dired.el: Use Dired consistently in docstrings.
11730 (dired-readin, dired-mode): Use `setq-local'.
11731 (dired-switches-alist): Make defvar-local.
11732 (dired-buffers-for-dir): Use `zerop'.
11733 (dired-safe-switches-p, dired-switches-escape-p)
11734 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11735 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 11736 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
11737 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11738 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11739 (dired-toggle-marks, dired-mark-files-containing-regexp)
11740 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11741 (dired-flag-auto-save-files, dired-flag-backup-files):
11742 Use `looking-at-p'.
11743 (dired-mark-files-regexp, dired-build-subdir-alist):
11744 Use `string-match-p', `looking-at-p'.
11745
11746 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11747 (direct-print-region-helper): Use `string-match-p'.
11748
aed838b5
LL
117492013-06-21 Leo Liu <sdl.web@gmail.com>
11750
cedf5c9d
JB
11751 * comint.el (comint-redirect-results-list-from-process):
11752 Fix infinite loop.
aed838b5 11753
d80a808f
LMI
117542013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11755
11756 * net/eww.el (eww-update-header-line-format): Quote % characters.
11757
e7a526e3
GM
117582013-06-21 Glenn Morris <rgm@gnu.org>
11759
11760 * play/cookie1.el (cookie): New custom group.
11761 (cookie-file): New option.
11762 (cookie-check-file): New function.
11763 (cookie): Make it interactive. Make start and end messages optional.
11764 Interactively, display the result. Default to cookie-file.
11765 (cookie-insert): Default to cookie-file.
11766 (cookie-snarf): Make start and end messages optional.
11767 Default to cookie-file. Use with-temp-buffer.
11768 (cookie-read): Rename from read-cookie.
11769 Make start and end messages optional. Default to cookie-file.
11770 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 11771 Do not autoload it.
e7a526e3
GM
11772 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11773 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11774
62efb35e
LL
117752013-06-21 Leo Liu <sdl.web@gmail.com>
11776
11777 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11778
21e3f963
GM
117792013-06-21 Glenn Morris <rgm@gnu.org>
11780
11781 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11782
fd846ab4
SM
117832013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11784 Daniel Hackney <dan@haxney.org>
11785
11786 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11787 Consolidate the single-file vs tarball code.
11788 (package-desc-suffix): New function.
11789 (package-desc-full-name): Don't bother inlining it.
11790 (package-load-descriptor): Return the new package-desc.
11791 (package-mark-obsolete): Remove unused arg `package'.
11792 (package-unpack): Make it work for single files as well.
11793 Make it update package-alist.
11794 (package--make-autoloads-and-stuff): Rename from
11795 package--make-autoloads-and-compile. Don't compile any more.
11796 (package--compile): New function.
11797 (package-generate-description-file): New function, extracted from
11798 package-unpack-single.
11799 (package-unpack-single): Remove.
11800 (package--with-work-buffer): Add indentation and debugging info.
11801 (package-download-single): Remove.
11802 (package-install-from-archive): Rename from package-download-tar, make
11803 it take a pkg-desc, and make it work for single files as well.
11804 (package-download-transaction): Simplify.
11805 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11806 external tar program.
11807 (package-install-from-buffer): Remove `pkg-desc' argument.
11808 Use package-tar-file-info for tar-mode buffers.
11809 (package-install-file): Simplify accordingly.
11810 (package-archive-base): Change to take a pkg-desc.
11811 * tar-mode.el (tar--check-descriptor): New function, extracted from
11812 tar-get-descriptor.
11813 (tar-get-descriptor): Use it.
11814 (tar-get-file-descriptor): New function.
11815 (tar--extract): New function, extracted from tar-extract.
11816 (tar--extract): Use it.
11817 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11818 case the summary uses non-ascii. Adjust to new calling convention of
11819 package-tar-file-info.
11820
b7deae5e
LL
118212013-06-21 Leo Liu <sdl.web@gmail.com>
11822
fd846ab4
SM
11823 * comint.el (comint-redirect-results-list-from-process):
11824 Fix random delay. (Bug#14681)
b7deae5e 11825
7a65a0b2
JB
118262013-06-21 Juanma Barranquero <lekktu@gmail.com>
11827
11828 * profiler.el (profiler-format-number): Use log, not log10.
11829
1493c2af
JB
118302013-06-20 Juanma Barranquero <lekktu@gmail.com>
11831
11832 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11833
aff6371e
SM
118342013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11835
11836 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11837 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11838 yet available.
11839 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11840 (AUTOGENEL): ... here.
11841 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11842 (cl--defsubst-expand): Use it.
11843
89561f72
PE
118442013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11845
11846 * subr.el (log10): Move here from C code, and declare as obsolete.
11847 All uses of (log10 X) replaced with (log X 10).
11848
47199123
JB
118492013-06-20 Juanma Barranquero <lekktu@gmail.com>
11850
11851 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11852 Declare with `defvar-local'.
11853 (tabulated-list-use-header-line, tabulated-list-entries)
11854 (tabulated-list-padding, tabulated-list-printer)
11855 (tabulated-list-sort-key): Declare with `defvar-local'.
11856 (tabulated-list-init-header, tabulated-list-print-fake-header):
11857 Use `setq-local'.
11858
4a172eab
MA
118592013-06-20 Michael Albinus <michael.albinus@gmx.de>
11860
47199123
JB
11861 * arc-mode.el (archive-mode): Add `archive-write-file' to
11862 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 11863
5fc0acc0
JB
118642013-06-20 Juanma Barranquero <lekktu@gmail.com>
11865
d5b27848
JB
11866 * cus-edit.el (custom-commands): Fix typos.
11867 (custom-display): Fix tooltip text.
11868 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11869 Fix typos in docstrings.
11870 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11871 (custom-unlispify-menu-entry, custom-magic-value-create)
11872 (custom-add-see-also, custom-group-value-create): Use ?\s.
11873 (custom-guess-type, customize-apropos, editable-field)
11874 (custom-face-value-create): Use `string-match-p'.
11875 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11876
11877 * custom.el (custom-load-symbol): Use `string-match-p'.
11878
a5c581d8
JB
11879 * ansi-color.el: Convert to lexical binding.
11880 (ansi-colors): Fix URL.
11881 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11882 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11883 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11884
970ad972
G
118852013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11886
11887 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11888
11889 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11890
118912013-06-19 Tom Tromey <tromey@redhat.com>
11892
11893 * net/eww.el (eww-top-url): Remove.
11894 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11895 (eww-render): Set new variables. Don't set eww-top-url.
11896 (eww-handle-link): Handle "prev", "home", and "contents".
11897 Downcase the rel text.
11898 (eww-top-url): Choose best top URL.
11899
119002013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11901
11902 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11903 relying in widget.el. Using widget.el leads to too many
11904 user interface inconsistencies.
11905 (eww-self-insert): Implement entering commands in text fields.
11906 (eww-process-text-input): New function to make text input field editing
11907 work.
11908 (eww-submit): Rewrite to use the new-style form methods.
11909 (eww-select-display): Display the correct selected item.
11910 (eww-change-select): Implement changing the select value.
11911 (eww-toggle-checkbox): Implement radio/checkboxes.
11912 (eww-update-field): Fix compilation error.
11913 (eww-tag-textarea): Implement <textarea>.
11914
11915 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11916 we don't shadow mode-specific bindings.
11917
11918 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11919 nothing to push.
11920
11921 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11922
4582a01c 119232013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
11924
11925 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11926
15b263dc
MA
119272013-06-19 Michael Albinus <michael.albinus@gmx.de>
11928
11929 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11930 not needed.
11931
11932 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11933
8f5297f7
LMI
119342013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11935
11936 * net/browse-url.el (browse-url-browser-function):
11937 `eww-browse-url' has the right calling signature, `eww' does not.
11938
011c4552
GM
119392013-06-19 Glenn Morris <rgm@gnu.org>
11940
2285bd27
GM
11941 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11942 Only eval autoloaded macros.
11943 (byte-compile-autoload): Only give the macro warning for macros.
11944
1d653303
GM
11945 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11946 (ps-underlined-faces): Declare.
11947
bdd779ec
GM
11948 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11949 (speedbar-add-supported-extension): Declare.
11950
011c4552
GM
11951 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11952 Don't include a date stamp in the header of the generated file;
11953 it leads to needless differences between output files.
11954
e59dfb0e
MA
119552013-06-19 Michael Albinus <michael.albinus@gmx.de>
11956
c763842b
SM
11957 * net/secrets.el (secrets-struct-secret-content-type):
11958 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 11959 Some servers do not offer introspection.
e59dfb0e 11960
102626e2
SM
119612013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11962
11963 * electric.el (electric-pair-mode): Improve interaction with
11964 electric-layout-mode.
11965 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11966 (electric-pair-syntax): Use text-mode-syntax-table in comments
11967 and strings.
11968 (electric-pair--insert): New function.
11969 (electric-pair-post-self-insert-function): Use it and
11970 electric--after-char-pos.
11971
ad528125
LL
119722013-06-19 Leo Liu <sdl.web@gmail.com>
11973
11974 * progmodes/octave.el (octave-help): Fix regexp.
11975
924d6997
G
119762013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11977
11978 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11979 (shr-table-horizontal-line): Allow nil as a value, and change the
11980 default.
11981 (shr-insert-table-ruler): Respect the nil value.
11982
119832013-06-18 Tom Tromey <tromey@barimba>
11984
11985 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11986 New defvars.
11987 (eww-open-file): New defun.
11988 (eww-render): Initialize new variables.
11989 (eww-display-html): Handle "link" and "a".
11990 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11991 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11992 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
11993 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11994 New defuns.
924d6997 11995
d1bbba4f
DG
119962013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11997
11998 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11999 Distinguish ternary operator tokens from slash symbol and slash
12000 char literal.
12001
14dd22d2
JB
120022013-06-18 Juanma Barranquero <lekktu@gmail.com>
12003
12004 Convert symbol prettification into minor mode and global minor mode.
12005
12006 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12007 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12008 (prettify-symbols--keywords): Rename from
12009 `prog-prettify-symbols-alist' and make a local defvar.
12010 (prettify-symbols--compose-symbol): Rename from
12011 `prog--prettify-font-lock-compose-symbol'.
12012 (prettify-symbols--make-keywords): Rename from
12013 `prog-prettify-font-lock-symbols-keywords' and simplify.
12014 (prog-prettify-install): Remove.
12015 (prettify-symbols-mode): New minor mode, based on
12016 `prog-prettify-install'.
12017 (turn-on-prettify-symbols-mode): New function.
12018 (global-prettify-symbols-mode): New globalized minor mode.
12019
12020 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12021 * progmodes/cfengine.el (cfengine3-mode):
12022 * progmodes/perl-mode.el (perl-mode): Don't call
12023 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12024
292c880c
JL
120252013-06-18 Juri Linkov <juri@jurta.org>
12026
12027 * files-x.el (modify-file-local-variable-message): New function.
12028 (modify-file-local-variable)
12029 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12030 and call `modify-file-local-variable-message' when it's non-nil.
12031 (add-file-local-variable, delete-file-local-variable)
12032 (add-file-local-variable-prop-line)
12033 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12034 and use it. (Bug#9820)
12035
0950aa27
JL
120362013-06-18 Juri Linkov <juri@jurta.org>
12037
12038 * emulation/vi.el (vi-shell-op):
12039 * emulation/vip.el (vip-execute-com, ex-command):
12040 * emulation/viper-cmd.el (viper-exec-bang):
12041 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12042 the call of `shell-command-on-region'. (Bug#14637)
12043
12044 * simple.el (shell-command-on-region): Doc fix.
12045
8fbcca16
SM
120462013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12049 (bug#14633).
12050
dd7426ea
GM
120512013-06-18 Glenn Morris <rgm@gnu.org>
12052
4ba54f7d
GM
12053 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12054
dd7426ea
GM
12055 * newcomment.el (comment-search-forward, comment-search-backward):
12056 Doc fix. (Bug#14376)
12057
58aa805b
JB
120582013-06-18 Juanma Barranquero <lekktu@gmail.com>
12059
12060 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12061 (buffer-face-mode-invoke): Doc fix.
12062
9a08a617
MM
120632013-06-18 Matthias Meulien <orontee@gmail.com>
12064
12065 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 12066 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 12067
f2f426ca
GM
120682013-06-18 Glenn Morris <rgm@gnu.org>
12069
9445f99b
GM
12070 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12071 Replace obsolete function generic-make-keywords with its expansion.
12072
e0df2d14
GM
12073 * progmodes/python.el (ffap-alist): Declare.
12074
f2f426ca
GM
12075 * textmodes/reftex.el (bibtex-mode-map): Declare.
12076
f7f9a720
SM
120772013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12078
12079 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12080 (package-unpack, package-unpack-single): Return the pkg-dir.
12081 (package-download-transaction): Use it to update package-alist.
12082
57ff04e0
LMI
120832013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12084
12085 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12086 possible choice.
12087
c048c022
JL
120882013-06-17 Juri Linkov <juri@jurta.org>
12089
12090 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12091
b5bcaee5
DG
120922013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12093
a020afb9
JB
12094 * emacs-lisp/package.el (package-load-descriptor):
12095 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
12096 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12097
551e07e5
JB
120982013-06-17 Juanma Barranquero <lekktu@gmail.com>
12099
12100 * startup.el (command-line): Expand package name returned by
12101 `package--description-file' (bug#14639).
12102
d363bffb
DG
121032013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12104
12105 * emacs-lisp/package.el (package-load-descriptor): Do not call
12106 `emacs-lisp-mode', just use its syntax table.
12107
f612933b
JB
121082013-06-17 Juanma Barranquero <lekktu@gmail.com>
12109
12110 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12111 `font-lock-extra-managed-props' if any prettifying keyword is added.
12112 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12113 (prog-mode): Use `setq-local'.
12114
db3b7db5
SM
121152013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12116
12117 * international/characters.el (standard-case-table): Set syntax of ?»
12118 and ?« to punctuation.
12119
f3d674df
JB
121202013-06-16 Juanma Barranquero <lekktu@gmail.com>
12121
12122 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12123 Save relevant match data before calling `syntax-ppss' (bug#14595).
12124
31489a32
JL
121252013-06-15 Juri Linkov <juri@jurta.org>
12126
12127 * files-x.el (modify-file-local-variable-prop-line): Add local
12128 variables to the end of the existing comment on the first line.
12129 Use `file-auto-mode-skip' to skip interpreter magic line,
12130 and also skip XML declaration.
12131
66bd25ab
SM
121322013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12133
12134 * startup.el (package--builtin-versions): New var.
12135 (package-subdirectory-regexp): Remove.
12136 (package--description-file): Hard code its value instead.
12137
12138 * emacs-lisp/package.el: Don't activate packages older than builtin.
12139 (package-obsolete-list): Rename from package-obsolete-alist, and make
12140 it into a simple list of package-desc.
12141 (package-strip-version): Remove.
12142 (package-built-in-p): Use package--builtin-versions.
12143 (package-mark-obsolete): Simplify.
12144 (package-process-define-package): Mark it obsolete if older than the
12145 builtin version.
12146 (package-handle-response): Use line-end-position.
12147 (package-read-archive-contents, package--download-one-archive):
12148 Simplify.
12149 (package--add-to-archive-contents): Skip if older than the builtin or
12150 installed version.
12151 (package-menu-describe-package): Fix last change.
12152 (package-list-unversioned): New var.
12153 (package-menu--generate): Use it.
12154
12155 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12156 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12157 (autoload-builtin-package-versions): New variable.
12158 (autoload-generate-file-autoloads): Use them.
12159 Remove the list of autoloaded functions/macros from the
12160 (autoload...) comments.
12161
12162 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12163
9583ec36
EZ
121642013-06-15 Eli Zaretskii <eliz@gnu.org>
12165
12166 * simple.el (line-move-partial): Don't jump to the next screen
12167 line as soon as it becomes visible. Instead, continue enlarging
12168 the vscroll until the portion of a tall screen line that's left on
12169 display is about the height of the frame's default font.
12170 (Bug#14567)
12171
f0100d8a
GM
121722013-06-15 Glenn Morris <rgm@gnu.org>
12173
b86a85ca
GM
12174 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12175 compilation-error-regexp-alist void, or local while let-bound.
12176
f0100d8a
GM
12177 * progmodes/make-mode.el (makefile-mode-syntax-table):
12178 Treat "=" as punctuation. (Bug#14614)
12179
05e7ce90
JB
121802013-06-15 Juanma Barranquero <lekktu@gmail.com>
12181
12182 * help-fns.el (describe-variable):
12183 Add extra line for permanent-local variables.
12184
12e5e86e
SH
121852013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12186
12187 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12188 Add export, import, library. (Bug#9164)
12189 (library): Set indent function.
12190
230dcbaf
GM
121912013-06-14 Glenn Morris <rgm@gnu.org>
12192
12193 * term/xterm.el (xterm--query):
12194 Stop after first matching handler. (Bug#14615)
12195
e36b2d20 121962013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
12197
12198 Add support for dired in saveplace.
12199 * dired.el (dired-initial-position-hook): New variable.
12200 (dired-initial-position): Call hook to place cursor position.
12201 * saveplace.el (save-place-to-alist): Add dired position.
12202 (save-place-dired-hook): New function.
12203
0b31660d
SM
122042013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12205
bf1e6ae8
SM
12206 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12207 through a symbol rather than letrec.
12208
1b8dff23
SM
12209 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12210 (package-desc): Add `dir' field.
12211 (package-desc-full-name): New function.
12212 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12213 (package-maybe-load-descriptor): Remove.
12214 (package-load-all-descriptors): Just call package-load-descriptor.
12215 (package--disabled-p): New function.
12216 (package-desc-vers, package-desc-doc): Remove aliases.
12217 (package--dir): Remove function.
12218 (package-activate): Check if a package is disabled.
12219 (package-process-define-package): New function, extracted from
12220 define-package.
12221 (define-package): Turn into a place holder.
12222 (package-unpack-single, package-tar-file-info):
12223 Use package--description-file.
12224 (package-compute-transaction): Use package--disabled-p.
12225 (package-download-transaction): Don't call
12226 package-maybe-load-descriptor since they're all loaded anyway.
12227 (package-install): Change argument to be a pkg-desc.
12228 (package-delete): Use a single pkg-desc argument.
12229 (describe-package-1): Use package-desc-dir instead of package--dir.
12230 Use package-desc property instead of package-symbol.
12231 (package-install-button-action): Adjust accordingly.
12232 (package--push): Rewrite.
12233 (package-menu--print-info): Adjust accordingly. Change the ID format
12234 to be a pkg-desc.
12235 (package-menu-describe-package, package-menu-get-status)
12236 (package-menu--find-upgrades, package-menu-mark-upgrades)
12237 (package-menu-execute, package-menu--name-predicate):
12238 Adjust accordingly.
12239 * startup.el (package--description-file): New function.
12240 (command-line): Use it.
12241 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12242 Use package-desc-version.
12243
0b31660d
SM
12244 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12245 (byte-compile-preprocess): Use it.
12246 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12247 can't quite recognize.
12248 (byte-compile-add-to-list): Remove.
12249 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12250 (cconv-closure-convert): Add assertion.
12251
12252 * emacs-lisp/map-ynp.el: Use lexical-binding.
12253 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12254 Factor out some repeated code.
12255
de0503df
SM
122562013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 * subr.el (with-eval-after-load): New macro.
12259 (eval-after-load): Allow form to be a function.
12260 take advantage of lexical-binding.
12261 (do-after-load-evaluation): Use dolist and adjust to new format.
12262 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12263
bc5c8c5a
JL
122642013-06-13 Juri Linkov <juri@jurta.org>
12265
12266 * replace.el (perform-replace): Display "symbol " and other search
12267 modes from `isearch-message-prefix' in the *Help* buffer.
12268
12269 * isearch.el (isearch-query-replace): Add " symbol" and other
12270 possible search modes from `isearch-message-prefix' to the prompt.
12271 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12272 when reading a regexp to collect.
12273
a22289f7
JL
122742013-06-13 Juri Linkov <juri@jurta.org>
12275
12276 * isearch.el (word-search-regexp): Match whitespace if the search
12277 string begins or ends in whitespace. The LAX arg is applied to
12278 both ends of the search string. Use `regexp-quote' and explicit
12279 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12280 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12281 boundaries are replaced with symbol boundaries, and characters
12282 between symbols match non-word non-symbol syntax. (Bug#14602)
12283
cb89acab
JL
122842013-06-13 Juri Linkov <juri@jurta.org>
12285
12286 * isearch.el (isearch-del-char): Don't exceed the length of
12287 `isearch-string' by the prefix arg. (Bug#14563)
12288
6e8cfc81
JL
122892013-06-13 Juri Linkov <juri@jurta.org>
12290
12291 * isearch.el (isearch-yank-word, isearch-yank-line)
12292 (isearch-char-by-name, isearch-quote-char)
12293 (isearch-printing-char, isearch-process-search-char):
12294 Add optional count prefix arg. (Bug#14563)
12295
12296 * international/isearch-x.el
12297 (isearch-process-search-multibyte-characters):
12298 Add optional count prefix arg.
12299
c23d55f4
VS
123002013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12301
12302 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12303 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12304 lexical-binding.
12305
123062013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12307
12308 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12309
ba947bc4
GM
123102013-06-13 Glenn Morris <rgm@gnu.org>
12311
8baeb37a
GM
12312 * startup.el (tty-handle-args):
12313 Don't just discard "--" and anything after. (Bug#14608)
12314
ba947bc4
GM
12315 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12316
9abefce4
MA
123172013-06-13 Michael Albinus <michael.albinus@gmx.de>
12318
12319 Implement changes in Secret Service API. Make it backward compatible.
12320 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12321 (secrets-create-item): Use it. Prefix properties with interface.
12322
5755011f
MH
123232013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12324
12325 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12326 (term-emulate-terminal): Respect term-suppress-hard-newline.
12327
1261d2da
S
123282013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12329
12330 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12331 Only remove a `thumb-file' overlay. (Bug#14548)
12332
868490bb
GJ
123332013-06-12 Grégoire Jadi <daimrod@gmail.com>
12334
12335 * mail/reporter.el (reporter-submit-bug-report):
12336 Handle missing package-name. (Bug#14600)
12337
79d7167f
TH
123382013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12339
12340 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12341 (reftex-citation-prompt, reftex-default-bibliography)
12342 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12343 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12344 (reftex-bib-sort-author, reftex-bib-sort-year)
12345 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12346 (reftex-extract-bib-entries-from-thebibliography)
12347 (reftex-get-bibkey-default, reftex-get-bib-names)
12348 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12349 (reftex-format-bib-entry, reftex-parse-bibitem)
12350 (reftex-format-bibitem, reftex-do-citation)
12351 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12352 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12353 (reftex-insert-bib-matches, reftex-format-citation)
12354 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12355 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12356 existing comments into docstrings.
12357
5f9dbd7a
XF
123582013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12359
12360 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12361
94df41ab
AS
123622013-06-12 Andreas Schwab <schwab@suse.de>
12363
12364 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12365 for auto-save files.
12366
a7f3fecc
GM
123672013-06-12 Glenn Morris <rgm@gnu.org>
12368
001809f6
GM
12369 * ido.el (ido-delete-ignored-files): Remove.
12370 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12371 Go back to calling ido-ignore-item-p directly.
a7f3fecc 12372
834b5ded
EL
123732013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12374
08c73ed2
EL
12375 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12376
834b5ded
EL
12377 * ido.el (ido-delete-ignored-files): New function,
12378 split from ido-make-file-list-1.
12379 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12380 (ido-make-file-list-1): Use ido-delete-ignored-files.
12381
daabf15a
LL
123822013-06-12 Leo Liu <sdl.web@gmail.com>
12383
12384 * progmodes/octave.el (inferior-octave-startup)
12385 (inferior-octave-completion-table)
12386 (inferior-octave-track-window-width-change)
12387 (octave-eldoc-function-signatures, octave-help)
12388 (octave-find-definition): Use single quoted strings.
12389 (inferior-octave-startup-args): Change default value.
12390 (inferior-octave-startup): Do not hard code "-i" and
12391 "--no-line-editing".
12392 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12393 (inferior-octave-directory-tracker): Use it.
12394 (octave-goto-function-definition): Robustify.
12395 (octave-help): Support highlighting operators in 'See also'.
12396 (octave-find-definition): Find subfunctions only in Octave mode.
12397
cf4e5178
SM
123982013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12399
12400 * help-fns.el (help-fns--compiler-macro): If the handler function is
12401 named, then put a link to it.
12402 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12403 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12404 (cl-typep): Use it.
12405 (cl-eval-when): Simplify debug spec.
12406 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12407 compiler-macro function instead of setting `compiler-macro-file'.
12408
99c81280 124092013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
12410
12411 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12412 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12413
f56be016
SM
124142013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12415 Daniel Hackney <dan@haxney.org>
12416
12417 First part of Daniel Hackney's patch to package.el.
12418 * emacs-lisp/package.el: Use defstruct.
12419 (package-desc): New, main struct.
12420 (package--bi-desc, package--ac-desc): New structs, used to describe the
12421 format in external files.
12422 (package-desc-vers): Replace with package-desc-version accessor.
12423 (package-desc-doc): Replace with package-desc-summary accessor.
12424 (package-activate-1): Remove `package' arg since the pkg-vec now
12425 includes the name.
12426 (define-package): Use package-desc-from-define.
12427 (package-unpack-single): Change file-name arg to be a symbol.
12428 (package--add-to-archive-contents): Use package-desc-create and new
12429 accessor functions to package--ac-desc.
12430 (package-buffer-info, package-tar-file-info): Return a package-desc.
12431 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12432 arg to be a package-desc.
12433 (package-install-file): Adjust accordingly. Use \' to match EOS.
12434 (package--from-builtin): New function.
12435 (describe-package-1, package-menu--generate): Use it.
12436 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12437 (package-generate-autoloads): Idem and return the name of the file.
12438 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12439 Change pkg-info arg to be a package-desc.
12440 Use package-make-ac-desc.
12441 (package-upload-file): Use \' to match EOS.
12442 * finder.el (finder-compile-keywords): Use package-make-builtin.
12443
31119d63
SM
124442013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12445
931a2762
SM
12446 * vc/vc.el (vc-deduce-fileset): Change error message.
12447 (vc-read-backend): New function.
12448 (vc-next-action): Use it.
12449
5a3eb0c6
SM
12450 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12451
e3eb1bb7
SM
12452 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12453 (prolog-font-lock-keywords): Use regexp-opt instead.
12454 Don't manually highlight strings.
12455 (prolog-mode-variables): Simplify comment-start-skip.
12456 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12457
31119d63
SM
12458 * emacs-lisp/generic.el (generic--normalise-comments)
12459 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12460 (generic-mode-set-comments): Use them.
12461 (generic-bracket-support): Use setq-local.
12462 (generic-make-keywords-list): Declare obsolete.
12463
7de135d0
GM
124642013-06-11 Glenn Morris <rgm@gnu.org>
12465
12466 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12467 Prettify after setting font-lock-defaults. (Bug#14574)
12468
fa6bc6fd
JB
124692013-06-11 Juanma Barranquero <lekktu@gmail.com>
12470
12471 * replace.el (query-replace, occur-read-regexp-defaults-function)
12472 (replace-search):
12473 * subr.el (declare-function, number-sequence, local-set-key)
12474 (substitute-key-definition, locate-user-emacs-file)
12475 (with-silent-modifications, split-string, eval-after-load):
12476 Fix typos, remove unneeded backslashes and reflow some docstrings.
12477
cf1f9b9a
SM
124782013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12479
12480 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12481 default for Elisp files.
12482
56602a4b
GM
124832013-06-11 Glenn Morris <rgm@gnu.org>
12484
12485 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12486 although define-derived-mode was doing this anyway. (Bug#14583)
12487
30ae0b2c
JB
124882013-06-10 Juanma Barranquero <lekktu@gmail.com>
12489
12490 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12491 Fix make-variable-buffer-local call to refer to the correct variable.
12492
fa472906
AG
124932013-06-10 Aidan Gauland <aidalgol@amuri.net>
12494
12495 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
12496 (eshell-visual-subcommands, eshell-visual-options):
12497 Add summary line to docstrings. Add cross-references.
fa472906 12498
ff4871b9
GM
124992013-06-10 Glenn Morris <rgm@gnu.org>
12500
12501 * epa.el (epa-read-file-name): New function. (Bug#14510)
12502 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12503
04fcf1b0
AG
125042013-06-09 Aidan Gauland <aidalgol@amuri.net>
12505
12506 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12507 output redirection to be ignored with visual commands.
12508
88b00caa
AG
125092013-06-09 Aidan Gauland <aidalgol@amuri.net>
12510
12511 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
12512 (eshell-term-initialize): Move long lambda to separate function
12513 eshell-visual-command-p.
27821a89 12514 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
12515 * eshell/em-script.el (eshell-script-initialize):
12516 Add missing #' to lambda.
88b00caa 12517
fda74125
LL
125182013-06-08 Leo Liu <sdl.web@gmail.com>
12519
12520 * progmodes/octave.el (octave-add-log-current-defun): New function.
12521 (octave-mode): Set add-log-current-defun-function.
12522 (octave-goto-function-definition): Do not move point if not found.
12523 (octave-find-definition): Enhance to try subfunctions first.
12524
467f3b33
GM
125252013-06-08 Glenn Morris <rgm@gnu.org>
12526
12527 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12528 (byte-compile-backward-char, byte-compile-backward-word):
12529 Improve previous change, to handle non-explicit nil.
12530
544badc3
SM
125312013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12532
12533 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12534 (smie--opener/closer-at-point): New function.
12535 (smie--matching-block-data): Use it. Don't match from right after an
12536 opener or right before a closer. Obey smie-blink-matching-inners.
12537 Don't signal a mismatch for repeated inners like "switch..case..case".
12538
a175bf33
LL
125392013-06-07 Leo Liu <sdl.web@gmail.com>
12540
12541 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12542 to t. (Bug#14303)
ce8209d4
LL
12543 (octave-function-header-regexp): Fix. (Bug#14570)
12544 (octave-help-mode-finish-hook, octave-help-mode-finish):
12545 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
12546
12547 * newcomment.el (comment-search-backward): Revert last change.
12548 (Bug#14434)
12549
12550 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12551
a822acff
EZ
125522013-06-07 Eli Zaretskii <eliz@gnu.org>
12553
12554 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12555 through xargs, to avoid failure due to MS-Windows limitations on
12556 command-line length.
12557
961166f5
GM
125582013-06-06 Glenn Morris <rgm@gnu.org>
12559
d0341459
GM
12560 * font-lock.el (lisp-font-lock-keywords-2):
12561 Treat user-error like error.
12562
961166f5
GM
12563 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12564 (byte-compile-backward-char, byte-compile-backward-word):
12565 Handle explicit nil arguments. (Bug#14565)
12566
80fa505f
AM
125672013-06-05 Alan Mackenzie <acm@muc.de>
12568
12569 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 12570 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 12571 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 12572 (Bug#9706)
80fa505f 12573
fccdc796
SM
125742013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12575
12576 * autorevert.el (auto-revert-notify-handler): Use memq.
12577 Hide assertion failure.
12578
12579 * skeleton.el: Use cl-lib.
12580 (skeleton-further-elements): Use defvar-local.
12581 (skeleton-insert): Use cl-progv.
12582
9bfff84b
TZ
125832013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12584
12585 * progmodes/prog-mode.el (prog-prettify-symbols)
12586 (prog-prettify-install): Update docstrings.
12587
55577e7c
SM
125882013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12589
12590 * simple.el: Move all the prog-mode code to prog-mode.el.
12591 * progmodes/prog-mode.el: New file.
12592 * loadup.el: Add prog-mode.el.
12593
8fc57765
TZ
125942013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12595
12596 * simple.el (prog-prettify-symbols): Add version.
12597 (prog-prettify-install): Add convenience function to prettify symbols.
12598
12599 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12600 (perl--augmented-font-lock-keywords-1)
12601 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12602 variables and use it.
12603
12604 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12605 (cfengine3-mode): Remove unneeded variable and use it.
12606
12607 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12608 (lisp--augmented-font-lock-keywords-1)
12609 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12610 Remove unneeded variables and use it.
12611
650645d5 126122013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
12613
12614 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 12615 to point when opening the connection. (Bug#14380)
28f5da6d 12616
781b4af6
SM
126172013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12618
12619 * subr.el (load-history-regexp, load-history-filename-element)
12620 (eval-after-load, after-load-functions, do-after-load-evaluation)
12621 (eval-next-after-load, display-delayed-warnings)
12622 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12623 definition of save-match-data.
12624 (overriding-local-map): Remove accidental obsolescence declaration.
12625
12626 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12627
3ca0d0b4
TZ
126282013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12629
12630 Generalize symbol prettify support to prog-mode and implement it
12631 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12632 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12633 (prog--prettify-font-lock-compose-symbol)
12634 (prog-prettify-font-lock-symbols-keywords): New variables and
12635 functions to support symbol prettification.
12636 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12637 (lisp--augmented-font-lock-keywords-1)
12638 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12639 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12640 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
12641 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12642 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
12643 * progmodes/perl-mode.el (perl-prettify-symbols)
12644 (perl--font-lock-compose-symbol)
12645 (perl--font-lock-symbols-keywords): Move to prog-mode.
12646 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12647 (perl-font-lock-keywords-1)
12648 (perl-font-lock-keywords-2): Remove explicit prettify support.
12649 (perl--augmented-font-lock-keywords)
12650 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
12651 (perl--augmented-font-lock-keywords-2, perl-mode):
12652 Implement prettify support.
3ca0d0b4 12653
976cb066
LL
126542013-06-05 Leo Liu <sdl.web@gmail.com>
12655
27821a89 12656 Re-implement SMIE matching block highlight using
976cb066
LL
12657 show-paren-data-function. (Bug#14395)
12658 * emacs-lisp/smie.el (smie-matching-block-highlight)
12659 (smie--highlight-matching-block-overlay)
12660 (smie--highlight-matching-block-lastpos)
12661 (smie-highlight-matching-block)
12662 (smie-highlight-matching-block-mode): Remove.
12663 (smie--matching-block-data-cache): New variable.
12664 (smie--matching-block-data): New function.
12665 (smie-setup): Use smie--matching-block-data for
12666 show-paren-data-function.
12667
12668 * progmodes/octave.el (octave-mode-menu): Fix.
12669 (octave-find-definition): Skip garbage lines.
12670
208d0342
SM
126712013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12672
12673 Fix compilation error with simultaneous dynamic+lexical scoping.
12674 Add warning when a defvar appears after the first let-binding.
12675 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12676 (byte-compile-close-variables): Initialize it.
12677 (byte-compile--declare-var): New function.
12678 (byte-compile-file-form-defvar)
12679 (byte-compile-file-form-define-abbrev-table)
12680 (byte-compile-file-form-custom-declare-variable): Use it.
12681 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12682 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12683 (byte-compile-bind): Handle dynamic bindings that shadow
12684 lexical bindings.
12685 (byte-compile-unbind): Make arg non-optional.
12686 (byte-compile-let): Simplify.
12687 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12688 (cconv--analyse-function, cconv-analyse-form): Populate it.
12689 Protect byte-compile-bound-variables to limit the scope of defvars.
12690 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12691 Remove unneeded rule for `declare'.
12692
12693 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12694 so as to avoid depending on cl-adjoin at run-time.
12695 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12696
12697 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12698 (macroexp--warn-and-return): Use it.
12699
1ac2891e
GM
127002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12701
a12bf61e 12702 * subr.el: Convert to lexical binding.
1ac2891e
GM
12703 (overriding-local-map): Make obsolete.
12704 (add-to-list): Doc fix. Add compiler macro.
12705 (read-key): Swap values of local maps.
12706
2587b005
LL
127072013-06-05 Leo Liu <sdl.web@gmail.com>
12708
12709 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12710
f1da3c88
LL
127112013-06-04 Leo Liu <sdl.web@gmail.com>
12712
12713 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12714 (compilation-auto-jump): Suppress the "Mark set" message to give
12715 way to exit message.
12716
3caa391f
AM
127172013-06-04 Alan Mackenzie <acm@muc.de>
12718
12719 Remove faulty optimisation from indentation calculation.
12720 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12721 search limit based on 2000 characters back from indent-point.
12722
068922a2
TH
127232013-06-03 Tassilo Horn <tsdh@gnu.org>
12724
12725 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12726
1f8fdd53
SM
127272013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12728
bbcc4d97
SM
12729 * emacs-lisp/lisp.el: Use lexical-binding.
12730 (lisp--local-variables-1, lisp--local-variables): New functions.
12731 (lisp--local-variables-completion-table): New var.
208d0342 12732 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 12733
1f8fdd53
SM
12734 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12735 eagerly (bug#14422).
12736
c9628c79
MA
127372013-06-03 Michael Albinus <michael.albinus@gmx.de>
12738
12739 * autorevert.el (auto-revert-notify-enabled)
12740 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12741 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12742 (auto-revert-notify-handler): Handle also gfilenotify.
12743
e7b41c4c 12744 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 12745 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 12746 Remove.
c9628c79 12747
e5e4a942
JL
127482013-06-03 Juri Linkov <juri@jurta.org>
12749
12750 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12751 `M-s h .'. (Bug#14427)
12752
12753 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12754 command `hi-lock-face-symbol-at-point'.
12755 (hi-lock-face-symbol-at-point): New command.
12756 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12757 (hi-lock-menu): Add `highlight-symbol-at-point'.
12758 (hi-lock-mode): Doc fix.
12759
12760 * isearch.el (isearch-forward-symbol-at-point): New command.
12761 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12762 (isearch-highlight-regexp): Add a regexp which matches
12763 words/symbols for word/symbol mode.
12764
12765 * subr.el (find-tag-default-bounds): New function with the body
12766 mostly moved from `find-tag-default'.
12767 (find-tag-default): Move most code to `find-tag-default-bounds',
12768 call it and apply `buffer-substring-no-properties' afterwards.
12769
26b3353a
TH
127702013-06-03 Tassilo Horn <tsdh@gnu.org>
12771
781b4af6
SM
12772 * eshell/em-term.el (eshell-term-initialize):
12773 Use `cl-intersection' rather than `intersection'.
26b3353a 12774
51b60f53
XF
127752013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12776
fe054b63 12777 * vc/log-view.el: Doc fix.
d3ffe17c 12778 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 12779
a0eb10b3 127802013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
12781
12782 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12783 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12784 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12785 (eieio-unbound, eieio-default-superclass)
12786 (eieio--define-field-accessors, method-static, method-before)
12787 (method-primary, method-after, method-num-lists)
12788 (method-generic-before, method-generic-primary)
12789 (method-generic-after, method-num-slots)
12790 (eieio-specialized-key-to-generic-key)
12791 (eieio--check-type, class-v, class-p)
12792 (eieio-class-name, define-obsolete-function-alias)
12793 (eieio-class-parents-fast, eieio-class-children-fast)
12794 (same-class-fast-p, class-constructor, generic-p)
12795 (generic-primary-only-p, generic-primary-only-one-p)
12796 (class-option-assoc, class-option, eieio-object-p)
12797 (class-abstract-p, class-method-invocation-order)
12798 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12799 (eieio-class-un-autoload, eieio-defclass)
12800 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12801 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12802 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12803 (eieio-defgeneric-reset-generic-form)
12804 (eieio-defgeneric-form-primary-only)
12805 (eieio-defgeneric-reset-generic-form-primary-only)
12806 (eieio-defgeneric-form-primary-only-one)
12807 (eieio-defgeneric-reset-generic-form-primary-only-one)
12808 (eieio-unbind-method-implementations)
12809 (eieio--defmethod, eieio--typep)
12810 (eieio-perform-slot-validation, eieio-validate-slot-value)
12811 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12812 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12813 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12814 (eieio-slot-name-index, eieio-class-slot-name-index)
12815 (eieio-set-defaults, eieio-initarg-to-attribute)
12816 (eieio-attribute-to-initarg, eieio-c3-candidate)
12817 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12818 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12819 (eieio-class-precedence-list, eieio-generic-call-methodname)
12820 (eieio-generic-call-arglst, eieio-generic-call-key)
12821 (eieio-generic-call-next-method-list)
12822 (eieio-pre-method-execution-functions, eieio-generic-call)
12823 (eieio-generic-call-primary-only, eieiomt-method-list)
12824 (eieiomt-optimizing-obarray, eieiomt-install)
12825 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12826 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 12827 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
12828 (defclass): Remove `eval-and-compile' from macro.
12829 (call-next-method, shared-initialize): Instead of using
12830 `scoped-class' variable, use new eieio--scoped-class, and
12831 eieio--with-scoped-class.
12832 (initialize-instance): Rename local variable 'scoped-class' to
12833 'this-class' to remove ambiguitity from old global.
12834
12835 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12836 eieio.el.
4f405069
JB
12837 (eieio--scoped-class-stack): New variable.
12838 (eieio--scoped-class): New fcn.
890f7890
DE
12839 (eieio--with-scoped-class): New scoping macro.
12840 (eieio-defclass): Use pushnew instead of add-to-list.
12841 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12842 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12843 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12844 `scoped-class' variable, use new eieio--scoped-class, and
12845 eieio--with-scoped-class.
12846
12847 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12848
d105b0e2
TH
128492013-06-02 Tassilo Horn <tsdh@gnu.org>
12850
12851 * eshell/esh-ext.el (eshell-external-command): Pass args to
12852 `eshell-find-interpreter'.
12853 (eshell-find-interpreter): Add new second parameter ARGS.
12854
12855 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 12856 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12857
12858 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 12859 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12860
12861 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12862 (eshell-visual-options): New defcustom.
12863 (eshell-escape-control-x): Adapt docstring.
12864 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12865 `eshell-visual-options' in addition to `eshell-visual-commands'.
12866 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12867
f46305c8 128682013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
12869
12870 * progmodes/python.el (python-indent-block-enders): Add break,
12871 continue and raise keywords.
12872
d870df21
GM
128732013-06-01 Glenn Morris <rgm@gnu.org>
12874
9133b82e
GM
12875 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12876
02c992ec 12877 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
12878 * progmodes/cc-cmds.el (delete-forward-p):
12879 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12880 * progmodes/cc-engine.el (buffer-syntactic-context):
12881 * progmodes/cc-fonts.el (face-property-instance):
12882 * progmodes/cc-mode.el (set-keymap-parents):
12883 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12884 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12885 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
12886 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12887 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 12888
31e7b090
GM
12889 * progmodes/cc-vars.el (other): Emacs has this widget since
12890 at least 21.1, so don't (re)define it.
12891
d870df21
GM
12892 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12893 Replace the obsolete alias pcomplete-arg-quote-list.
12894
c75c93c7
LL
128952013-06-01 Leo Liu <sdl.web@gmail.com>
12896
12897 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12898 punctuation syntax.
12899 (inferior-octave-minimal-columns)
12900 (inferior-octave-last-column-width): New variables.
12901 (inferior-octave-track-window-width-change): New function.
12902 (inferior-octave-mode): Adjust column width so that Octave output,
12903 for example from 'ls', can fit into the window nicely.
12904
973d1e12
DG
129052013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12906
12907 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12908 Highlight expansions inside regexp literals.
12909
0888c286
GM
129102013-05-31 Glenn Morris <rgm@gnu.org>
12911
e26aac1f
GM
12912 * obsolete/sym-comp.el (symbol-complete):
12913 Replace obsolete completion-annotate-function.
12914
0888c286
GM
12915 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12916
19bb8e62
DG
129172013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12918
781b4af6
SM
12919 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12920 New function, checks if point is inside a literal that allows
19bb8e62
DG
12921 expression expansion.
12922 (ruby-syntax-propertize-expansion): Use it.
12923 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12924 around the body.
12925
01dea85f
JL
129262013-05-30 Juri Linkov <juri@jurta.org>
12927
12928 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12929 to "\M-si".
12930 (isearch-invisible): New variable.
12931 (isearch-forward): Doc fix.
12932 (isearch-mode): Set `isearch-invisible'
12933 to the value of `search-invisible'.
12934 (isearch-toggle-case-fold): Doc fix.
12935 (isearch-toggle-invisible): New command.
12936 (isearch-query-replace): Let-bind `search-invisible'
12937 to the value of `isearch-invisible'.
12938 (isearch-search): Use `isearch-invisible' instead of
12939 `search-invisible'. Let-bind `search-invisible'
12940 to the value of `isearch-invisible'. (Bug#11378)
12941
ab1bdce5
JL
129422013-05-30 Juri Linkov <juri@jurta.org>
12943
12944 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12945 call when `query-flag' is nil and `search-invisible' is non-nil.
12946 (Bug#11746)
12947
d6d236e2
GM
129482013-05-30 Glenn Morris <rgm@gnu.org>
12949
8accd027
GM
12950 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12951
2a8bed1c
GM
12952 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12953 (cc-require): Suppress spurious "noruntime" warnings.
12954 (cc-require-when-compile): Use fboundp, for sake of compiler.
12955
d6d236e2
GM
12956 * progmodes/cc-mode.el: Move load of cc-vars before that of
12957 cc-langs (which in turn loads cc-vars), to quieten compiler.
12958
9190b35b
SM
129592013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12960
12961 * paren.el: Simplify the code.
12962 (show-paren-mode): Always start the timer.
12963 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12964 (show-paren--overlay, show-paren--overlay-1): Rename from
12965 show-paren-overlay and show-paren-overlay-1, and initialize to an
12966 overlay rather than to nil.
12967 (show-paren-function): Misc cleanup and simplifications.
12968
4f8d1cf6
SM
129692013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12970
12971 * paren.el (show-paren-data-function): New hook.
12972 (show-paren--default): New function, extracted from show-paren-function.
12973 (show-paren-function): Use show-paren-data-function.
12974
02d844b5
GM
129752013-05-30 Glenn Morris <rgm@gnu.org>
12976
d209d4a9
GM
12977 * ielm.el (ielm-map, ielm-complete-symbol):
12978 Use completion-at-point rather than obsolete functions.
12979 (inferior-emacs-lisp-mode): Doc fix.
12980 Set completion-at-point-functions, rather than
12981 comint-dynamic-complete-functions.
12982
2082faa6
GM
12983 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12984 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12985 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12986
dd8620de
GM
12987 * image.el (image-animated-p): Tweak definition.
12988
ceca95b1
GM
12989 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12990 (rlogin-process-connection-type): Tweak default. Add set-after.
12991 (rlogin-host): Doc fix.
12992 (rlogin): Tweak prompt.
12993 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12994
ee9f1acc
GM
12995 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12996 * progmodes/tcl.el (inferior-tcl-mode-map):
12997 Use completion-at-point rather than obsolete alias.
12998
45ce222e
GM
12999 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13000
02d844b5
GM
13001 * minibuffer.el (read-file-name-completion-ignore-case):
13002 Move before completion--in-region, for eager macro expansion.
13003
ac44d6c1
JL
130042013-05-29 Juri Linkov <juri@jurta.org>
13005
13006 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13007 for total count of matching lines. Add `global-matches' for total
13008 count of matches. Rename `matches' to `lines' for count of
13009 matching lines. Add `matches' for count of matches.
13010 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13011 to `prev-line' for line number of prev match endpt.
13012 Increment `matches' for every match. Print the number of
13013 matching lines in the header.
13014 (occur-context-lines): Rename `lines' to `curr-line'.
13015 Rename `prev-lines' to `prev-line'. (Bug#14017)
13016
3c9c9d38
JL
130172013-05-29 Juri Linkov <juri@jurta.org>
13018
13019 * replace.el (perform-replace): Add `skip-read-only-count',
13020 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13021 Increment them for corresponding conditions and report the number
13022 of skipped occurrences in the final message. (Bug#11746)
13023 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13024 (replace-string, replace-regexp): Doc fix.
13025
33e249a2
SM
130262013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13027
8e399682
SM
13028 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13029
33e249a2 13030 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 13031 prog-mode-map (bug#14504).
33e249a2 13032
f236dd84
LL
130332013-05-29 Leo Liu <sdl.web@gmail.com>
13034
13035 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13036 (octave-help): Small simplification.
13037
13038 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13039 off the highlight first.
13040
3694d13f
GM
130412013-05-29 Glenn Morris <rgm@gnu.org>
13042
03983bdc
GM
13043 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13044 Handle idlwave-last-system-routine-info-cons-cell being nil.
13045
bc74a74a
GM
13046 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13047 (idlwave-write-paths): Simplify via with-temp-buffer.
13048
8b394200
GM
13049 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13050 * emulation/cua-rect.el: Also load cua-base at run time.
13051
3694d13f
GM
13052 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13053 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13054 (cperl-imenu-on-info): Require imenu.
13055
336d7284
AM
130562013-05-28 Alan Mackenzie <acm@muc.de>
13057
13058 Handle "capitalised keywords" correctly.
33e249a2 13059 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 13060
cb29c582
AG
130612013-05-28 Aidan Gauland <aidalgol@amuri.net>
13062
781b4af6 13063 * eshell/em-unix.el: Add -r option to cp.
cb29c582 13064
690e44b2
GM
130652013-05-28 Glenn Morris <rgm@gnu.org>
13066
e658d75c
GM
13067 * vc/vc-arch.el (vc-exec-after): Declare.
13068 (vc-switches): Autoload.
13069 * vc/vc-bzr.el: No need to require vc when compiling.
13070 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13071 (vc-resynch-buffer, vc-dir-refresh): Declare.
13072 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
13073 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13074 (vc-resynch-buffer): Declare.
13075 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 13076 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
13077 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13078 (grep-read-regexp, grep-read-files, grep-expand-template)
13079 (vc-dir-refresh): Declare.
13080 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13081 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13082 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
13083 * vc/vc-mtn.el (vc-exec-after): Declare.
13084 (vc-switches): Autoload.
13085 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13086 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13087 (vc-file-tree-walk): Declare.
712b9732
GM
13088 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13089 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13090 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
13091 * vc/vc-svn.el (vc-exec-after): Declare.
13092 (vc-switches, vc-setup-buffer): Autoload.
13093 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13094 Autoload.
13095 (vc-resynch-buffer): Declare.
13096
98e87fb3
GM
13097 * obsolete/fast-lock.el (byte-compile-warnings):
13098 Don't warn about obsolete features in this obsolete file.
13099
f5379553
GM
13100 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13101 Move definition before use.
13102
7a20ef83
GM
13103 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13104 (dun-unix-verbs): Remove dun-zippy.
13105 (dun-zippy): Remove function.
13106
690e44b2
GM
13107 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13108
3a52ccf7
JL
131092013-05-27 Juri Linkov <juri@jurta.org>
13110
13111 * replace.el (replace-search): New function with code moved out
13112 from `perform-replace'.
13113 (replace-highlight, replace-dehighlight): Move function definitions
13114 up closer to `replace-search'. (Bug#11746)
13115
d289938a
JL
131162013-05-27 Juri Linkov <juri@jurta.org>
13117
13118 * replace.el (perform-replace): Ignore invisible matches.
13119 In addition to checking `query-replace-skip-read-only', also
13120 filter out matches by calling `run-hook-with-args-until-failure'
13121 on `isearch-filter-predicates', and also check `search-invisible'
13122 for t or call `isearch-range-invisible'.
13123 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13124
66fc57e3
JL
131252013-05-27 Juri Linkov <juri@jurta.org>
13126
13127 * isearch.el (isearch-filter-predicates): Rename from
13128 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13129 (isearch-message-prefix): Display text from the property
13130 `isearch-message-prefix' of the currently active filters.
13131 (isearch-search): Don't compare `isearch-filter-predicate' with
13132 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13133 on `isearch-filter-predicates'. Also check `search-invisible' for t
13134 or call `isearch-range-invisible'.
13135 (isearch-filter-visible): Make obsolete.
13136 (isearch-lazy-highlight-search):
13137 Call `run-hook-with-args-until-failure' on
13138 `isearch-filter-predicates' and use `isearch-range-invisible'.
13139
13140 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13141 `isearch-filter-predicates' instead of `funcall'ing
13142 `isearch-filter-predicate'.
13143 (Info-mode): Set `Info-isearch-filter' to
13144 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13145
13146 * dired-aux.el (dired-isearch-filter-predicate-orig):
13147 Remove variable.
13148 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13149 (dired-isearch-filenames-end): Add and remove
13150 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13151 instead of changing the value of `isearch-filter-predicate'.
13152 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13153 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13154 Put property `isearch-message-prefix' to "filename " on
13155 `dired-isearch-filter-filenames'.
13156
13157 * wdired.el (wdired-change-to-wdired-mode):
13158 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13159 locally instead of changing `isearch-filter-predicate'.
13160 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13161
f1a60a0f
DG
131622013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13163
13164 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13165 return the commit hash (Bug#14459). Also set the
13166 `vc-git-detached' property.
13167 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13168 (vc-git-mode-line-string): Use the same help-echo format whether
13169 in detached mode or not, because we know the actual revision now.
13170 When in detached mode, shorten the revision to 7 chars.
13171
7f17cc40
SM
131722013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13173
13174 * emacs-lisp/easy-mmode.el (define-minor-mode):
13175 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13176 mode hook and provide a docstring.
13177
25c8401c
AM
131782013-05-27 Alan Mackenzie <acm@muc.de>
13179
13180 Remove spurious syntax-table text properties inserted by C-y.
13181 * progmodes/cc-mode.el (c-after-change): Also clear hard
13182 syntax-table property with value nil.
13183
dde84790
MA
131842013-05-27 Michael Albinus <michael.albinus@gmx.de>
13185
13186 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13187 when reading the events; the buffer layout shall not be changed.
13188
837fd9af
LL
131892013-05-27 Leo Liu <sdl.web@gmail.com>
13190
13191 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13192 New variable.
13193 (inferior-octave-directory-tracker): Automatically re-sync
13194 default-directory.
13195 (octave-help): Improve handling of 'See also'.
13196
4fd996b3
SM
131972013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13198
416f1802
SM
13199 * doc-view.el: Minor naming convention tweaks.
13200 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13201
4fd996b3
SM
13202 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13203 even if there's no `display' property yet (bug#14435).
13204
a052ef3b
EZ
132052013-05-25 Eli Zaretskii <eliz@gnu.org>
13206
4fd996b3 13207 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
13208
13209 * Makefile.in (custom-deps, finder-data, autoloads)
13210 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13211 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13212 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13213
c9023370
SM
132142013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13215
13216 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13217 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 13218 Don't burp at EOB.
c9023370 13219
24d699fa
LL
132202013-05-25 Leo Liu <sdl.web@gmail.com>
13221
13222 * comint.el (comint-previous-matching-input): Do not flood the
13223 *Messages* buffer with trivial messages.
13224
17e5c0cc
SM
132252013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13226
13227 * progmodes/flymake.el (flymake-nop): Don't return a string.
13228 (flymake-set-at): Fix typo.
13229
13230 * simple.el (read--expression): New function, extracted from
13231 eval-expression. Set completion-at-point-functions (bug#14465).
13232 (eval-expression, eval-minibuffer): Use it.
13233
5d028165
XF
132342013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13235
13236 * progmodes/flymake.el (flymake-save-buffer-in-file)
13237 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13238 (flymake-selected-frame, flymake-log, flymake-ins-after)
13239 (flymake-set-at, flymake-get-buildfile-from-cache)
13240 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13241 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13242 Refine the doc string.
13243 (flymake-get-file-name-mode-and-masks): Reformat.
13244 (flymake-get-real-file-name-function): Fix a minor bug.
13245
7a1d7ba7
JL
132462013-05-24 Juri Linkov <juri@jurta.org>
13247
13248 * progmodes/grep.el (grep-mode-font-lock-keywords):
13249 Support =linenumber= format used by git-grep for lines with
13250 function names. (Bug#13549)
13251
650cff3d
SM
132522013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13253
13254 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13255 0 after a semi-colon; it works better for smie-auto-fill.
13256 (octave--indent-new-comment-line): New function.
13257 (octave-indent-new-comment-line): Use it (indirectly).
13258 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13259 modify comment-line-break-function.
13260
13261 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13262 (smie-setup): Use add-function to set it.
13263
9631677d
SS
132642013-05-24 Sam Steingold <sds@gnu.org>
13265
13266 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13267 argument (before the `interactive' argument).
13268
50105835
SM
132692013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * image-mode.el (image-mode-winprops): Add winprops to
13272 image-mode-winprops-alist before running
13273 image-mode-new-window-functions.
13274 * doc-view.el (doc-view-new-window-function): Don't delay
13275 doc-view-goto-page via timers (bug#14435).
13276
57b9823e
TH
132772013-05-24 Tassilo Horn <tsdh@gnu.org>
13278
13279 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13280 (doc-view-desktop-save-buffer): New function.
13281 (doc-view-restore-desktop-buffer): New function.
50105835
SM
13282 (desktop-buffer-mode-handlers):
13283 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
13284 handler.
13285 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13286 `desktop-save-buffer' function.
13287
91aafa16
MA
132882013-05-24 Michael Albinus <michael.albinus@gmx.de>
13289
13290 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13291 (tramp-gvfs-file-name-handler): Raise a user error when
13292 `tramp-gvfs-enabled' is nil.
13293 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13294 Do not raise a user error when loading package. (Bug#14447)
13295
ec076379
MA
13296 * net/xesam.el: Move to obsolete/.
13297
db785726
GM
132982013-05-24 Glenn Morris <rgm@gnu.org>
13299
af5c7606
GM
13300 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13301
e5d1916a
GM
13302 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13303
ded62b08
GM
13304 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13305 (Info-find-node, Man-getpage-in-background): Declare.
13306
9e614a3f
GM
13307 * mail/unrmail.el (unrmail):
13308 Replace obsolete detect-coding-with-priority.
13309
892f8ca3
GM
13310 * net/socks.el (socks-split-string): Use this rather than split-string.
13311 (socks-nslookup-host): Update for above change.
13312 (dynamic-choice, s5-dynamic-choice-match)
13313 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13314 Comment out unused code.
13315
3c291973
GM
13316 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13317 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13318 (gud-tooltip-echo-area): Make obsolete.
13319 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13320
43cc956b
GM
13321 * progmodes/js.el (js--optimize-arglist): Declare.
13322
dab49a3b
GM
13323 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13324
36b9d085
GM
13325 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13326 (ediff-window-C): Declare.
13327
e354ae76
GM
13328 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13329 Tweak requires to silence compiler.
13330
b8e57bf4
GM
13331 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13332 (he-search-string, he-tried-table, he-expand-list)
13333 (he-init-string, he-string-member, he-substitute-string)
13334 (he-reset-string): Declare.
13335
db785726
GM
13336 * obsolete/options.el (list-options): Use custom-variable-p,
13337 rather than obsolete alias.
13338
b3531901
SS
133392013-05-23 Sam Steingold <sds@gnu.org>
13340
13341 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 13342 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
13343 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13344
bdda4c66
SM
133452013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13346
13347 * emacs-lisp/smie.el (smie-indent-forward-token)
13348 (smie-indent-backward-token): Handle string tokens (bug#14381).
13349
c43d45f9
TH
133502013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13351
fe1eb856
RS
13352 * ielm.el (ielm-menu): New menu.
13353 (inferior-emacs-lisp-mode): Set comment-start.
96172128 13354
fe1eb856
RS
133552013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13356
a12bf61e 13357 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
13358 Fix deactivate action.
13359
a12bf61e 13360 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 13361 Add cleveref macros.
074dd971 13362
9b017563
JB
13363 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13364 Accept options for bibliography commands.
a12bf61e 13365 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
13366 Add addbibresource. Basic Biblatex support.
13367
7764286e
MA
133682013-05-23 Michael Albinus <michael.albinus@gmx.de>
13369
13370 * net/tramp-gvfs.el (top):
13371 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13372 when loading package. (Bug#14447)
13373
d361bc10
GM
133742013-05-23 Glenn Morris <rgm@gnu.org>
13375
8fa23984
GM
13376 * progmodes/js.el: No need to load comint when compiling.
13377 (ring-insert, comint-send-string, comint-send-input)
13378 (comint-last-input-end, ido-chop): Declare.
13379
a5c7df1a
GM
13380 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13381 * vc/ediff-mult.el: Adjust requires.
13382 (ediff-directories-internal, ediff-directory-revisions-internal)
13383 (ediff-patch-file-internal): Declare.
13384 * vc/ediff-ptch.el: Adjust requires.
13385 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13386 (ediff-find-file): Autoload.
13387 * vc/ediff-util.el: No need to load ediff when compiling.
13388 (ediff-regions-internal): Declare.
13389 * vc/ediff-wind.el: Adjust requires.
13390 (ediff-compute-toolbar-width): Define when compiling.
13391 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13392 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13393 (dired-get-filename, dired-get-marked-files)
13394 (ediff-last-dir-patch, ediff-patch-default-directory)
13395 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13396 (ediff-patch-buffer-internal): Declare.
13397
e2aec513
GM
13398 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13399 (ispell-process, ispell-buffer-local-words, lm-summary)
13400 (lm-section-start, lm-section-end): Declare.
13401 (checkdoc-ispell-init): Simplify.
13402
e68bbd7c
GM
13403 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13404 (he-string-member, he-reset-string, he-substitute-string): Declare.
13405
7efe0991
GM
13406 * eshell/em-ls.el: Adjust requires.
13407 (eshell-glob-regexp): Declare.
f87b1284
GM
13408 * eshell/em-tramp.el: Adjust requires.
13409 (eshell-parse-command): Autoload.
13410 * eshell/em-xtra.el: Adjust requires.
13411 (eshell-parse-command): Autoload.
13412 * eshell/esh-ext.el: Adjust requires.
13413 (eshell-parse-command, eshell-close-handles): Autoload.
13414 * eshell/esh-io.el: Adjust requires.
13415 (eshell-output-filter): Autoload.
13416 * eshell/esh-util.el: No need to load tramp when compiling.
13417 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13418 Declare.
13419 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13420 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13421 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13422 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13423 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13424 * eshell/esh-opt.el, eshell/esh-proc.el:
13425 * eshell/esh-var.el: Adjust requires.
13426 * eshell/eshell.el: Do not require esh-util twice.
13427 (eshell-add-input-to-history): Declare.
13428 (eshell-command): Check history module is active before using it.
13429
d361bc10
GM
13430 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13431
85d090a9
LL
134322013-05-22 Leo Liu <sdl.web@gmail.com>
13433
13434 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13435
5d0acd9d
MA
134362013-05-22 Michael Albinus <michael.albinus@gmx.de>
13437
13438 * autorevert.el (auto-revert-notify-add-watch)
13439 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13440 it indicates changes in file modification time.
13441
0cdffd7d
GM
134422013-05-22 Glenn Morris <rgm@gnu.org>
13443
ca5995ec
GM
13444 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13445 Always delete the autoloaded function from the noruntime and
13446 unresolved functions lists.
13447
6450907e
GM
13448 * allout.el: No need to load epa, epg, overlay when compiling.
13449 (epg-context-set-passphrase-callback, epg-list-keys)
13450 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13451 (epg-key-user-id-list): Declare.
13452
9c6906f6
GM
13453 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13454 (viper-set-parsing-style-toggling-macro)
13455 (viper-set-emacs-state-searchstyle-macros):
13456 Use called-interactively-p on Emacs.
13457 (viper-looking-back): Make it an obsolete alias. Update callers.
13458 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13459 Use looking-back rather than viper-looking-back.
13460 (viper-tmp-insert-at-eob, viper-enlarge-region)
13461 (viper-read-string-with-history, viper-register-to-point)
13462 (viper-append-to-register, viper-change-state-to-vi)
13463 (viper-backward-char-carefully, viper-forward-char-carefully)
13464 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13465 (viper-change-state-to-emacs): Declare.
13466 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13467 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13468 * emulation/viper-mous.el: Do not load viper-cmd.
13469 (viper-backward-char-carefully, viper-forward-char-carefully)
13470 (viper-forward-word, viper-adjust-window): Declare.
13471
5f70c169
GM
13472 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13473
b1b7f300
GM
13474 * progmodes/idlw-help.el (idlwave-help-fontify):
13475 Use called-interactively-p.
13476
f6ebbb46
GM
13477 * term/w32console.el (w32-get-console-codepage)
13478 (w32-get-console-output-codepage): Declare.
13479
0cdffd7d
GM
13480 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13481 Remove unnecessary declarations.
13482 (dframe-message): Doc fix.
13483
13484 * info.el (dframe-select-attached-frame, dframe-current-frame):
13485 Declare.
13486
13487 * speedbar.el (speedbar-message): Make it an obsolete alias.
13488 Update all callers.
13489 (speedbar-with-attached-buffer)
13490 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13491 (speedbar-with-writable): Use backquote.
13492 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13493 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13494 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13495 rather than speedbar- aliases.
13496 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13497 (speedbar-make-specialized-keymap, speedbar-insert-button)
13498 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13499 (speedbar-do-function-pointer): Declare.
13500 (rmail-speedbar-button, rmail-speedbar-find-file)
13501 (rmail-speedbar-move-message):
13502 Use dframe-with-attached-buffer rather than speedbar- alias.
13503 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13504 (dframe-message, speedbar-make-specialized-keymap)
13505 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13506 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13507 (speedbar-insert-button, dframe-select-attached-frame)
13508 (dframe-maybee-jump-to-attached-frame)
13509 (speedbar-change-initial-expansion-list)
13510 (speedbar-previously-used-expansion-list-name): Declare.
13511 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13512 Use dframe-message, dframe-with-attached-buffer rather than
13513 speedbar- aliases.
13514 (gud-sentinel): Silence compiler.
13515 * progmodes/vhdl-mode.el (speedbar-refresh)
13516 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13517 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13518 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13519 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13520 (speedbar-file-lists, speedbar-make-tag-line)
13521 (speedbar-line-directory, speedbar-goto-this-file)
13522 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13523 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13524 (speedbar-make-button, speedbar-reset-scanners)
13525 (speedbar-files-item-info, speedbar-line-text)
13526 (speedbar-find-file-in-frame, speedbar-set-timer)
13527 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13528 (speedbar-with-writable): Do not (re)define it.
13529 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13530 rather than speedbar- alias.
13531
ee44b62a
LL
135322013-05-21 Leo Liu <sdl.web@gmail.com>
13533
13534 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13535 menu items.
13536 (octave-mode): Tweak fill-nobreak-predicate.
13537 (inferior-octave-startup): Check process to avoid infinite loop.
13538 (inferior-octave): Pop to buffer first to show abornmal process
13539 exit information.
13540
640f050f
GM
135412013-05-21 Glenn Morris <rgm@gnu.org>
13542
79458038
GM
13543 * printing.el (pr-menu-bar): Define when compiling.
13544
9cc3e83f
LL
135452013-05-21 Leo Liu <sdl.web@gmail.com>
13546
13547 * progmodes/octave.el (octave-auto-fill): Remove.
13548 (octave-indent-new-comment-line): Improve.
13549 (octave-mode): Use auto fill mode through
4f405069 13550 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 13551 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 13552 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
13553 (octave-help): Show parent directory.
13554
f440830d
GM
135552013-05-21 Glenn Morris <rgm@gnu.org>
13556
13557 * files.el (dired-unmark):
13558 * progmodes/gud.el (gdb-input): Update declarations.
13559
13560 * calculator.el (electric, ehelp): No need to load when compiling.
13561 (Electric-command-loop, electric-describe-mode): Declare.
13562
13563 * doc-view.el (doc-view-current-converter-processes): Move before use.
13564
13565 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13566 Move MODE-set-explicitly definition before use.
13567
13568 * international/mule-diag.el (mule-diag):
13569 Don't use obsolete window-system-version.
13570
13571 * mail/feedmail.el (smtpmail): No need to load when compiling.
13572 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13573
13574 * mail/mail-utils.el (rfc822): No need to load when compiling.
13575 (rfc822-addresses): Autoload it.
13576 (mail-strip-quoted-names): Trivial simplification.
13577
13578 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13579 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13580
13581 * net/snmp-mode.el (tempo): Don't duplicate requires.
13582
13583 * progmodes/prolog.el (info): No need to load when compiling.
13584 (comint): Require before shell requires it.
13585 (Info-goto-node): Autoload it.
13586 (Info-follow-nearest-node): Declare.
13587 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13588
13589 * textmodes/artist.el (picture-mode-exit): Declare.
13590
13591 * textmodes/reftex-parse.el (reftex-parse-from-file):
13592 Trivial rewrite so the compiler can parse it better.
13593
b4da2cbb
LL
135942013-05-20 Leo Liu <sdl.web@gmail.com>
13595
13596 * progmodes/octave.el (octave-help-mode-map)
13597 (octave-help-mode-finish-hook): New variables.
13598 (octave-help-mode, octave-help-mode-finish): New functions.
13599 (octave-help): Use octave-help-mode.
13600
33c0f65b
GM
136012013-05-20 Glenn Morris <rgm@gnu.org>
13602
13603 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13604
1a0a0a8a
DG
136052013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13606
13607 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13608 start at point, so that expansion starting right after opening
13609 slash in a regexp is recognized.
13610 (ruby-syntax-before-regexp-re): New defvar, extracted from
13611 ruby-syntax-propertize-function. Since the value of this regexp
13612 is looked up at runtime now, we should be able to turn
13613 `ruby-syntax-methods-before-regexp' into a defcustom later.
13614 (ruby-syntax-propertize-function): Split regexp matching into two
13615 parts, for opening and closing slashes. That allows us to skip
13616 over string interpolations and support multiline regexps.
13617 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13618 for them, which calls `ruby-syntax-propertize-expansion'.
13619 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13620 call to `ruby-syntax-propertize-function'.
13621 (ruby-syntax-propertize-expansion): Extracted from
13622 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
13623 (ruby-syntax-propertize-percent-literal): Leave point right after
13624 the percent symbol, so that the expression expansion rule can
13625 propertize the contents.
462388b6
DG
13626 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13627 heredoc openers.
13628 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 13629
c1a6c0a4
JL
136302013-05-18 Juri Linkov <juri@jurta.org>
13631
13632 * man.el (Man-default-man-entry): Remove `-' from the end
13633 of the default value. (Bug#14400)
13634
8051fccd
GM
136352013-05-18 Glenn Morris <rgm@gnu.org>
13636
13637 * comint.el (comint-password-prompt-regexp):
13638 Allow "password for XXX" where XXX contains colons (eg https://...).
13639
5e80b74f
LL
136402013-05-18 Leo Liu <sdl.web@gmail.com>
13641
13642 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 13643 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
13644 (octave-source-directories): Don't check process.
13645 (octave-source-directories, octave-find-definition): Doc fix.
13646
521a54c5
GM
136472013-05-18 Glenn Morris <rgm@gnu.org>
13648
86a94b05
GM
13649 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13650 Remove backspace/delete bindings. (Bug#14392)
13651
521a54c5
GM
13652 * cus-dep.el (custom-make-dependencies): Sort the output.
13653 (custom-versions-load-alist): Convert comment to doc.
13654
42caeb89
LL
136552013-05-17 Leo Liu <sdl.web@gmail.com>
13656
13657 * newcomment.el (comment-search-backward): Stricter in finding
13658 comment start. (Bug#14303)
13659
13660 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13661 (octave-comment-start-skip): Properly anchored.
13662
e219dd97
LL
136632013-05-17 Leo Liu <sdl.web@gmail.com>
13664
fe1eb856
RS
13665 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13666 Clean up when turned off. (Bug#14395)
e219dd97
LL
13667 (smie--highlight-matching-block-overlay): No longer buffer-local.
13668 (smie-highlight-matching-block): Adjust.
13669
dc5dcb4b
PE
136702013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13671
13672 Doc string fix for "nanoseconds" (Bug#14406).
13673 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13674 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13675
1db165f0
JB
136762013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13677
13678 * calc/calc-units.el (math-extract-units): Preserve powers
13679 of units.
13680
c7a8fcac
LL
136812013-05-17 Leo Liu <sdl.web@gmail.com>
13682
13683 * subr.el (delete-consecutive-dups): New function.
13684 * ido.el (ido-set-matches-1): Use it.
13685 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13686 * ido.el (ido-remove-consecutive-dups): Remove.
13687
f678b18a
SM
136882013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13689
13690 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13691 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13692 regexp-opt's `words'.
13693
ebfe68e8
LL
136942013-05-16 Leo Liu <sdl.web@gmail.com>
13695
13696 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13697 (smie--highlight-matching-block-overlay)
13698 (smie--highlight-matching-block-lastpos)
13699 (smie--highlight-matching-block-timer): New variables.
13700 (smie-highlight-matching-block): New function.
13701 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13702 (smie-setup): Conditionally enable smie-blink-matching-open.
13703
bc8bc17d
WS
137042013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13705
13706 Sync with upstream verilog-mode r840.
13707 * progmodes/verilog-mode.el (verilog-mode-version)
13708 (verilog-mode-release-date): Update.
13709 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13710 (verilog-sig-tieoff): Fix string error on
13711 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13712 (verilog-read-decls): Fix parameters confusing
13713 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13714
df065a0b
EZ
137152013-05-16 Eli Zaretskii <eliz@gnu.org>
13716
13717 * subr.el (reveal-filename): New function.
13718
13719 * loadup.el: Compute Emacs executable versions on MS-Windows,
13720 where executables have the .exe extension. Add a hard link
13721 emacs-XX.YY.ZZ.exe on MS-Windows.
13722
13723 * Makefile.in (XARGS_LIMIT): New variable.
13724 (custom-deps, finder-data, autoloads)
13725 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13726 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13727 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13728 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13729
2d4bf34b
LL
137302013-05-16 Leo Liu <sdl.web@gmail.com>
13731
13732 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13733 (octave-mode-menu, octave-mode-map): Remove its uses.
13734
6b9c2d85
RZ
137352013-05-16 Reto Zimmermann <reto@gnu.org>
13736
13737 Sync with upstream vhdl mode v3.34.2.
13738 * progmodes/vhdl-mode.el: Use `push' throughout.
13739 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13740 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13741 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13742 (vhdl-actual-generic-name): New option to derive actual generic name.
13743 (vhdl-port-paste-signals): Replace formal by actual generics.
13744 (vhdl-beautify): New name for old group vhdl-align. Update users.
13745 (vhdl-beautify-options): New option.
13746 (vhdl-last-input-event): New compat alias. Use throughout.
13747 (vhdl-goto-line): Replace user level function `goto-line'.
13748 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13749 vhdl-fix-statement-buffer.
13750 (vhdl-create-mode-menu): Add some entries.
13751 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13752 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13753 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13754 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13755 to force statements on one line.
13756 (vhdl-remove-trailing-spaces-region):
13757 New, split from vhdl-remove-trailing-spaces.
13758 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13759 Respect vhdl-beautify-options.
13760 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13761 (vhdl-update-sensitivity-list): Not add with index if exists without.
13762 Not include array index with signal. Ignore keywords in comments.
13763 (vhdl-get-visible-signals): Regexp tweaks.
13764 (vhdl-template-component-inst): Handle empty library.
13765 (vhdl-template-type): Add template for 'enum' type.
13766 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13767 Use vhdl-replace-string.
13768 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13769 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13770 (vhdl-speedbar-initialize): Update for above name change.
13771 (vhdl-compose-wire-components): Fix in handling of constants.
13772 (vhdl-error-regexp-emacs-alist): New variable.
13773 (vhdl-error-regexp-add-emacs): New function;
13774 adds support for new compile.el (Emacs 22+)
13775 (vhdl-generate-makefile-1): Change target order for single lib. units.
13776 Allow use of absolute file names.
13777
9df4ec5e
LL
137782013-05-16 Leo Liu <sdl.web@gmail.com>
13779
13780 * simple.el (prog-indent-sexp): Indent enclosing defun.
13781
f5ba00a6
GM
137822013-05-15 Glenn Morris <rgm@gnu.org>
13783
ed8be7ff
GM
13784 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13785 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13786 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13787 (whitespace-highlight): Move to whitespace group.
13788
13789 * comint.el (comint-source):
13790 * pcmpl-linux.el (pcmpl-linux):
13791 * shell.el (shell-faces):
13792 * eshell/esh-opt.el (eshell-opt):
13793 * international/ccl.el (ccl): Remove empty custom groups.
13794
13795 * completion.el (dynamic-completion-mode):
13796 * jit-lock.el (jit-lock-debug-mode):
13797 * minibuffer.el (completion-in-region-mode):
13798 * type-break.el (type-break-mode-line-message-mode)
13799 (type-break-query-mode):
13800 * emulation/tpu-edt.el (tpu-edt-mode):
13801 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13802 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13803 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13804
13805 * term/xterm.el (xterm): Change parent group to terminals.
13806
13807 * master.el (master): Remove empty custom group.
13808 (master-mode): Remove unused :group argument.
13809 * textmodes/refill.el (refill): Remove empty custom group.
13810 (refill-mode): Remove unused :group argument.
13811
13812 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13813
82a7c41b
GM
13814 * cus-dep.el: Provide a feature.
13815 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
13816 Don't mistakenly ignore files whose basenames match a basename
13817 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 13818 Add a fallback method for getting :group.
f5ba00a6 13819
6d65486d
JL
138202013-05-15 Juri Linkov <juri@jurta.org>
13821
da547b32
JL
13822 * isearch.el (isearch-char-by-name): Rename from
13823 `isearch-insert-char-by-name'. Doc fix.
13824 (isearch-forward): Mention `isearch-char-by-name' in
13825 the docstring. (Bug#13348)
13826
6d65486d
JL
13827 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13828 `exit-minibuffer' instead of
13829 `isearch-nonincremental-exit-minibuffer'.
13830 (isearch-edit-string): Remove mention of
13831 `isearch-nonincremental-exit-minibuffer' from docstring.
13832 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13833 (isearch-forward-exit-minibuffer)
13834 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13835
c9990474
SM
138362013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13837
6e911150
SM
13838 * loadup.el: Just use unversioned DOC.
13839
c9990474
SM
13840 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13841 literals as extending to EOB.
13842 (nxml-last-fontify-end): Remove unused variable.
13843 (nxml-after-change1): Use with-silent-modifications.
13844 (nxml-extend-after-change-region): Simplify.
13845 (nxml-extend-after-change-region1): Remove function.
13846 (nxml-after-change1): Don't adjust for dependent regions.
13847 (nxml-fontify-matcher): Simplify.
13848 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13849 (xmltok-add-dependent): Remove function.
13850 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13851 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13852 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13853 unclosed <[[, <?, comment, and other literals as extending to EOB.
13854 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13855 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13856 Remove functions.
13857 (rng-do-some-validation-1): Don't mark dependent regions.
13858 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13859 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13860 (nxml-clear-dependent-regions): Remove functions.
13861 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13862 (nxml-ensure-scan-up-to-date):
13863 Don't clear&mark dependent regions.
13864
e3772e98
LL
138652013-05-15 Leo Liu <sdl.web@gmail.com>
13866
c9990474
SM
13867 * progmodes/octave.el (octave-goto-function-definition):
13868 Improve and fix callers.
e3772e98 13869
5ac2eb34
SM
138702013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13871
c46c57b0
SM
13872 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13873 the setter (bug#14387).
13874
5ac2eb34
SM
13875 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13876 surrounding group (bug#14402).
13877
180ed218
JL
138782013-05-14 Juri Linkov <juri@jurta.org>
13879
13880 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13881 (Bug#14390)
13882
0ac0fecb
GM
138832013-05-14 Glenn Morris <rgm@gnu.org>
13884
13885 * progmodes/f90.el (f90-imenu-generic-expression):
13886 Fix typo in 2013-05-08 change. (Bug#14402)
13887
2e78e6a7
JPG
138882013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13889
5ac2eb34
SM
13890 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13891 Remove signals for which replies are never received.
2e78e6a7 13892
53267cca
JPG
138932013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13894
13895 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13896 (gdb-handler-alist, gdb-handler-number): Remove variables.
13897 (gdb-handler-list): New variable.
13898 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13899 (gdb-pending-handler-p, gdb-handle-reply)
13900 (gdb-remove-all-pending-triggers): New functions.
13901 (gdb-discard-unordered-replies): New defcustom.
13902 (gdb-handler): New defstruct.
13903 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13904 instead of gdb-pending-triggers. Update docstring.
13905 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13906 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13907 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13908 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13909 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13910 (gdb-frame-handler): Pending triggers are now automatically managed.
13911 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13912 Remove argument.
13913 (gdb-input): Automatically handles pending triggers. Update docstring.
13914 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13915 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13916 Update comments.
13917 (gdb-done-or-error): Now use gdb-handle-reply.
13918
d04ce803
JPG
139192013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13920
13921 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13922 gdb-debug-log.
13923
0114073a
GM
139242013-05-14 Glenn Morris <rgm@gnu.org>
13925
13926 * subr.el (user-emacs-directory-warning): New option.
13927 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13928
4d25fd7e
LL
139292013-05-14 Leo Liu <sdl.web@gmail.com>
13930
13931 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13932 during redisplay.
13933 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
13934 (octave-font-lock-texinfo-comment): Fix invalid search bound
13935 error: wrong side of point.
4d25fd7e 13936
27c8b6eb
GM
139372013-05-14 Glenn Morris <rgm@gnu.org>
13938
61aaeb01
GM
13939 * progmodes/flymake.el (flymake-xml-program): New option.
13940 (flymake-xml-init): Use it.
13941
5bf90bc5
GM
13942 * term/xterm.el: Provide a feature.
13943
13944 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 13945
f4c7dfd2
GM
139462013-05-13 Glenn Morris <rgm@gnu.org>
13947
13948 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13949 Add compat aliases as a hack workaround. (Bug#14384)
13950
2aeb3a1d
LL
139512013-05-13 Leo Liu <sdl.web@gmail.com>
13952
b0e069c2
LL
13953 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13954 ###, and %!.
f5a9432f
LL
13955 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13956 C-M-q.
b0e069c2
LL
13957 (octave-comment-start-skip): Include %!.
13958 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 13959
30ea8374
LL
139602013-05-12 Leo Liu <sdl.web@gmail.com>
13961
13962 * progmodes/octave.el (inferior-octave-startup): Store the value
13963 of __octave_srcdir__ for octave-source-directories.
13964 (inferior-octave-check-process): New function refactored out of
13965 inferior-octave-send-list-and-digest.
13966 (octave-source-directories)
13967 (octave-find-definition-filename-function): New variables.
13968 (octave-source-directories)
13969 (octave-find-definition-default-filename): New functions.
13970 (octave-find-definition): Improve to find functions implemented in C++.
13971
472a3834
GM
139722013-05-12 Glenn Morris <rgm@gnu.org>
13973
13974 * calendar/diary-lib.el (diary-outlook-format-1):
13975 Don't include dayname in the output. (Bug#14349)
13976
3191b52f
GM
139772013-05-11 Glenn Morris <rgm@gnu.org>
13978
0060ac73
GM
13979 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13980
3191b52f
GM
13981 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13982 Treat cc-provide like provide.
13983
e065ba74
KR
139842013-05-11 Kevin Ryde <user42@zip.com.au>
13985
13986 * cus-dep.el (custom-make-dependencies):
13987 Use generated-autoload-load-name for the sake of files such
13988 such cedet/semantic/bovine/c.el, where the base file name
13989 is not in load-path. (Bug#5277)
13990
36f84c37
GM
139912013-05-11 Glenn Morris <rgm@gnu.org>
13992
13993 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13994 Provide features.
13995
c8730c3a
LL
139962013-05-11 Leo Liu <sdl.web@gmail.com>
13997
13998 * progmodes/octave.el (octave-indent-comment): Improve.
13999 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
14000 (octave-eldoc-function-signatures, octave-eldoc-function):
14001 New functions.
c8730c3a
LL
14002 (octave-mode, inferior-octave-mode): Add eldoc support.
14003
212e29f2
RS
140042013-05-11 Richard Stallman <rms@gnu.org>
14005
14006 * epa.el (epa-decrypt-file): Take output file name as argument
14007 and read it using `interactive'.
14008
083fe0d7
LL
140092013-05-11 Leo Liu <sdl.web@gmail.com>
14010
14011 * progmodes/octave.el (octave-beginning-of-line)
14012 (octave-end-of-line): Check before using up-list because it jumps
14013 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
14014 (octave-indent-comment): New function.
14015 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
14016 (octave-begin-keywords, octave-end-keywords)
14017 (octave-reserved-words, octave-smie-bnf-table)
14018 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 14019
8582e4c4
GM
140202013-05-11 Glenn Morris <rgm@gnu.org>
14021
f20def1f
GM
14022 * faces.el (internal-face-x-get-resource):
14023 * frame.el (ns-display-monitor-attributes-list):
d78abe37 14024 * calc/calc-aent.el (math-to-radians-2):
f20def1f 14025 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 14026 Fix declarations.
f20def1f 14027
445f95e2
GM
14028 * calc/calc-menu.el: Make it loadable in isolation.
14029
14030 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14031 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14032 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14033 (eudc-bbdb-query-internal): Require 'bbdb.
14034
99fb2756
GM
14035 * lpr.el (lpr-headers-switches):
14036 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14037
14038 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14039
0da7ad96
GM
14040 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14041
8582e4c4
GM
14042 * term.el (term-set-escape-char): Make it idempotent.
14043
f71c50d0
LL
140442013-05-10 Leo Liu <sdl.web@gmail.com>
14045
5ac2eb34
SM
14046 * progmodes/octave.el (inferior-octave-completion-table):
14047 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
14048 completion due to bug#11906.
14049 (octave-beginning-of-defun): Re-write to be more general.
14050
d5837773
GM
140512013-05-10 Glenn Morris <rgm@gnu.org>
14052
14053 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14054
027c0f75
SM
140552013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14056
14057 * comint.el (comint-redirect-send-command-to-process): Use :around
14058 rather than :override for comint-redirect-filter.
14059 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14060 Call it instead of comint-redirect-original-filter-function (which
14061 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14062
4465bfb4
JD
140632013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14064
14065 * frame.el (display-monitor-attributes-list): Add NS case.
14066 (ns-display-monitor-attributes-list): Declare.
14067
2d809ffa 140682013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
14069
14070 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14071
e54eeb9b
GM
140722013-05-09 Glenn Morris <rgm@gnu.org>
14073
56cd351d
GM
14074 * international/fontset.el (vertical-centering-font-regexp):
14075 Set standard-value.
14076
d84b6108
GM
14077 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14078
a931698a
GM
14079 * bookmark.el (bookmark-search-delay):
14080 * cus-start.el (vertical-centering-font-regexp):
14081 * ps-mule.el (ps-mule-font-info-database-default):
14082 * ps-print.el (ps-default-fg, ps-default-bg):
14083 * type-break.el (type-break-good-break-interval):
14084 * whitespace.el (whitespace-indentation-regexp)
14085 (whitespace-space-after-tab-regexp):
14086 * emacs-lisp/testcover.el (testcover-1value-functions)
14087 (testcover-noreturn-functions, testcover-progn-functions)
14088 (testcover-prog1-functions):
14089 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14090 * eshell/em-glob.el (eshell-glob-translate-alist):
14091 * play/tetris.el (tetris-tty-colors):
14092 * progmodes/cpp.el (cpp-face-default-list):
14093 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14094 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14095 (idlwave-help-browser-generic-args):
14096 * progmodes/make-mode.el (makefile-special-targets-list):
14097 * progmodes/python.el (python-shell-virtualenv-path):
14098 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14099 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14100 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14101 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14102 * textmodes/reftex-vars.el (reftex-format-label-function):
14103 * textmodes/remember.el (remember-diary-file): Fix custom types.
14104
e54eeb9b
GM
14105 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14106 Add :version.
14107
455851dd
LL
141082013-05-09 Leo Liu <sdl.web@gmail.com>
14109
14110 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 14111 Restore file completion. (Bug#14300)
455851dd
LL
14112 (inferior-octave-startup): Fix incorrect highlighting for the
14113 first prompt.
14114
a9e4425b
SM
141152013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14116
14117 * progmodes/ruby-mode.el: First cut at SMIE support.
14118 (ruby-use-smie): New var.
14119 (ruby-smie-grammar): New constant.
14120 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14121 (ruby-smie--forward-token, ruby-smie--backward-token)
14122 (ruby-smie-rules): New functions.
14123 (ruby-mode-variables): Setup SMIE if applicable.
14124
060ca408
EZ
141252013-05-08 Eli Zaretskii <eliz@gnu.org>
14126
14127 * simple.el (line-move-visual): Signal beginning/end of buffer
14128 only if vertical-motion moved less than it was requested. Avoids
14129 silly incorrect error messages when there are display strings with
14130 multiple newlines at EOL.
14131
1d5963cc
SM
141322013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14133
14134 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14135 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14136 (prolog-char-quote-workaround):
14137 * progmodes/cperl-mode.el (cperl-under-as-char):
14138 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
14139 Mark as obsolete.
14140 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
14141 their declaration.
14142 (vhdl-mode-syntax-table-init): Remove.
14143
c9990474
SM
14144 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14145 last change.
1d5963cc
SM
14146
14147 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14148 syntax for "_".
14149 (ld-script-font-lock-keywords):
14150 Change regexps to use things like \_< and \_>.
14151
14152 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14153 Change all regexps to use things like \_< and \_>.
14154
14155 * progmodes/autoconf.el (autoconf-definition-regexp)
14156 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14157 Handle a _ with symbol syntax.
14158 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14159
c9990474
SM
14160 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14161 Consolidate declaration.
1d5963cc
SM
14162 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14163 the declaration.
14164 (ada-create-syntax-table): Remove.
14165 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14166 already has the right syntax nowadays.
14167 (ada-goto-next-word): Don't change the syntax of "_".
14168
14169 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14170 with-wrapper-hook.
14171
72d3cfca
SS
141722013-05-08 Sam Steingold <sds@gnu.org>
14173
14174 * thingatpt.el (thing-at-point): Accept optional second argument
14175 NO-PROPERTIES to strip the text properties from the return value.
14176 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14177 to `thing-at-point' instead of stripping the properties ourselves.
14178 Also, when `thing-at-point' fails to find a url, prepend "http://"
14179 to the filename at point on the assumption that the user is
14180 pointing at something like gnu.org/gnu.
14181
5cb15713
JB
141822013-05-08 Juanma Barranquero <lekktu@gmail.com>
14183
14184 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14185 * faces.el (crm-separator):
14186 Silence byte-compiler.
14187
14188 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14189 (tool-bar-map): Remove unneeded defvars.
14190
ea78b95b
LL
141912013-05-08 Leo Liu <sdl.web@gmail.com>
14192
14193 Re-work a fix for bug#10994 based on Le Wang's patch.
14194 * ido.el (ido-remove-consecutive-dups): New helper.
14195 (ido-completing-read): Use it.
14196 (ido-chop): Revert fix for bug#10994.
14197
dc7466df
AS
141982013-05-08 Adam Spiers <emacs@adamspiers.org>
14199
14200 * cus-edit.el (custom-save-variables):
14201 Pretty-print long values. (Bug#14187)
14202
9ecf672a
GM
142032013-05-08 Glenn Morris <rgm@gnu.org>
14204
14205 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14206 (m4-mode-syntax-table): Init in the defvar.
14207 (m4-mode-abbrev-table): Let define-derived-mode define it.
14208
3f555be8
TT
142092013-05-08 Tom Tromey <tromey@redhat.com>
14210
14211 * progmodes/m4-mode.el (m4-mode-syntax-table):
14212 Do not treat "_" as word constituent. (Bug#14167)
14213
7cc8ae06
GM
142142013-05-07 Glenn Morris <rgm@gnu.org>
14215
4f58bc06
GM
14216 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14217 Remove explicit eshell-isearch-cancel-map.
14218
7cc8ae06
GM
14219 * progmodes/f90.el (f90-smart-end-names): New option.
14220 (f90-smart-end): Doc fix.
14221 (f90-end-block-optional-name): New constant.
14222 (f90-block-match): Respect f90-smart-end-names.
14223
ceb57e59
SM
142242013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14225
14226 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14227 about implicit semi-colons (bug#14218).
14228
4e3f9230
YM
142292013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14230
14231 * frame.el (display-monitor-attributes-list)
14232 (frame-monitor-attributes): New functions.
14233
203a5572
LL
142342013-05-06 Leo Liu <sdl.web@gmail.com>
14235
14236 * progmodes/octave.el (octave-syntax-propertize-function): Change
14237 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14238 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 14239 (octave-completion-at-point): Rename from
203a5572
LL
14240 octave-completion-at-point-function.
14241 (inferior-octave-directory-tracker): Robustify.
14242 (octave-text-functions): Remove and fix its uses. No such things
14243 any more.
14244
ee6cff99
SM
142452013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14246
14247 * emacs-lisp/trace.el (trace--display-buffer): New function.
14248 (trace-make-advice): Use it.
14249
32985194
JL
142502013-05-06 Juri Linkov <juri@jurta.org>
14251
14252 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14253 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14254 Doc fix.
14255 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14256 in the help string. (Bug#12985)
14257
a1c700de
KD
142582013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14259
14260 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14261
c67c0839
SM
142622013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14263
323885fd
SM
14264 * progmodes/perl-mode.el: Add support for here documents.
14265 (perl-syntax-propertize-function): Match here-doc markers.
14266 (perl-syntax-propertize-special-constructs): Find their end.
14267 (perl-imenu-generic-expression): Use [:alnum:].
14268
c67c0839
SM
14269 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14270 (advice--add-function): Refresh the advice if already present
14271 (bug#14317).
14272
d491e7a8
IA
142732013-05-06 Ivan Andrus <darthandrus@gmail.com>
14274
14275 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14276
ddf9925e
GM
142772013-05-06 Glenn Morris <rgm@gnu.org>
14278
7cc3af27
GM
14279 * w32-fns.el (w32-charset-info-alist): Declare.
14280
16e343d6
GM
14281 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14282 of its defcustom properties.
14283 (eshell-cmpl-initialize): No need to load pcomplete.
14284
7d889a47
GM
14285 * generic-x.el: No need to require comint when compiling.
14286
ddf9925e
GM
14287 * net/eudc-export.el: Make it loadable without bbdb.
14288 (top-level): Use require rather than load-library.
14289 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14290 (eudc-batch-export-records-to-bbdb)
14291 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14292 Require bbdb.
14293
1e2c18df
SM
142942013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14295
14296 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14297 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14298 some tweaks, instead.
14299
02502a5f
LL
143002013-05-05 Leo Liu <sdl.web@gmail.com>
14301
14302 * progmodes/octave.el (octave-font-lock-keywords)
14303 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14304 (inferior-octave-send-list-and-digest): Improve error message.
14305 (octave-mode, inferior-octave-mode): Use setq-local.
14306 (octave-help): Set info-lookup-mode.
14307
0dc04f42
RS
143082013-05-05 Richard Stallman <rms@gnu.org>
14309
6c54491c
RS
14310 * vc/compare-w.el (compare-windows-whitespace):
14311 Treat no-break space as whitespace.
14312
0dc04f42
RS
14313 * mail/rmailsum.el (rmail-summary-rmail-update):
14314 Detect empty summary and don't change selected message.
14315 (rmail-summary-goto-msg): Likewise.
14316
df8f35df
RS
14317 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14318 Doc fixes, rename args.
14319
5356e1a3
AM
143202013-05-05 Alan Mackenzie <acm@muc.de>
14321
14322 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14323
d44014cb
JL
143242013-05-05 Juri Linkov <juri@jurta.org>
14325
14326 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14327 to not add the length of the summary segment to the return value.
14328 (Bug#14125)
14329
c129b51f
LL
143302013-05-05 Leo Liu <sdl.web@gmail.com>
14331
14332 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14333 (inferior-octave-output-filter): Remove.
14334 (octave-send-region, inferior-octave-startup): Fix callers.
14335 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14336 (octave-binary-file-extensions): New user variable.
14337 (octave-find-definition): Confirm if opening binary files.
14338 (octave-help-file): Use octave-find-definition to get the binary
14339 confirmation.
14340 (octave-help): Adjust for octave-help-file change.
14341
aa7dab97
SM
143422013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14343
14344 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14345 Merge the two entries that handle function definitions.
14346 (pascal--syntax-propertize): New const.
14347 (pascal-mode): Use it. Use setq-local.
14348
fd3a9a6b
GM
143492013-05-04 Glenn Morris <rgm@gnu.org>
14350
14351 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14352 (diary-from-outlook): Respect diary-from-outlook-function.
14353
30c7e542
SM
143542013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14355
14356 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14357 Move the declaration from C.
14358 (read-minibuffer, eval-minibuffer): Move from C.
14359 (completion-setup-function): Avoid minibuffer-completion-contents.
14360
b54f978b
LL
143612013-05-03 Leo Liu <sdl.web@gmail.com>
14362
14363 * progmodes/octave.el (octave-font-lock-keywords): Do not
14364 dehighlight 'end' in comments or strings.
30c7e542
SM
14365 (octave-completing-read, octave-goto-function-definition):
14366 New helpers.
d4d0f9b3
LL
14367 (octave-help-buffer): New user variable.
14368 (octave-help-file, octave-help-function): New button types.
14369 (octave-help): New command and bind it to C-h ;.
14370 (octave-find-definition): New command and bind it to M-.
d74a1581 14371 (user-error): Alias to error if not defined.
b54f978b 14372
27135018
LL
143732013-05-02 Leo Liu <sdl.web@gmail.com>
14374
14375 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14376 for \. (bug#14332)
14377 (octave-font-lock-keywords): Include [ and {.
14378
0d634d3a
LL
143792013-05-02 Leo Liu <sdl.web@gmail.com>
14380
14381 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14382 (inferior-octave): Remove calling comint-mode and return the buffer.
14383 (inferior-octave-startup): Cosmetic changes.
14384
b4c8295e
LL
143852013-05-02 Leo Liu <sdl.web@gmail.com>
14386
30c7e542
SM
14387 * progmodes/octave.el (octave-syntax-propertize-function):
14388 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 14389
f12ad6ec
GM
143902013-05-02 Glenn Morris <rgm@gnu.org>
14391
14392 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14393 * desktop.el (vc-dir-mode): Just autoload it here.
14394
30cac1e0
AM
143952013-05-02 Alan Mackenzie <acm@muc.de>
14396
14397 Eliminate variable c-standard-font-lock-fontify-region-function.
14398 * progmodes/cc-mode.el
14399 (c-standard-font-lock-fontify-region-function): Remove.
14400 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14401
d8ef28b1
LL
144022013-05-01 Leo Liu <sdl.web@gmail.com>
14403
2640d52e 14404 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 14405 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 14406 variables were removed from Octave in 2007.
d8ef28b1
LL
14407 (inferior-octave-startup): Fix uses.
14408 (comint-line-beginning-position): Remove compatibility code for
14409 emacs 21.
14410
ac63ec89
JL
144112013-05-01 Juri Linkov <juri@jurta.org>
14412
14413 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14414
9e9be37c
JL
144152013-05-01 Juri Linkov <juri@jurta.org>
14416
14417 * comint.el (comint-previous-matching-input): Don't print message
14418 "History item: %d" when `isearch-mode' is active.
14419 (comint-history-isearch-message): Print message "History item: %d"
14420 when `comint-input-ring-index' is not empty and this function is
14421 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14422
9b92c13b
LL
144232013-05-01 Leo Liu <sdl.web@gmail.com>
14424
14425 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14426 definitions. Use completion-at-point to insert keywords.
14427 (octave-abbrev-start): Remove.
14428 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14429
b12d33d7
LL
144302013-04-30 Leo Liu <sdl.web@gmail.com>
14431
14432 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14433 change.
14434
3d1c39fa
AM
144352013-04-30 Alan Mackenzie <acm@muc.de>
14436
14437 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
14438 * progmodes/cc-engine.el (c-back-over-member-initializers):
14439 new function.
3d1c39fa
AM
14440 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14441 (most) member init lists.
14442
5147fc17
RS
144432013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14444
14445 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14446 variable.
14447
5b78d7fc
LL
144482013-04-30 Leo Liu <sdl.web@gmail.com>
14449
14450 * progmodes/octave.el (octave-variables): Remove. No builtin
14451 variables any more. All converted to functions.
14452 (octave-font-lock-keywords, octave-completion-at-point-function):
14453 Fix uses.
14454 (octave-font-lock-texinfo-comment): New user variable.
14455 (octave-texinfo-font-lock-keywords): New variable for texinfo
14456 comment block.
14457 (octave-function-comment-block): New face.
14458 (octave-font-lock-texinfo-comment): New function.
14459 (octave-mode): Font lock texinfo comment block.
14460
38d8527b
LL
144612013-04-29 Leo Liu <sdl.web@gmail.com>
14462
14463 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14464 indexing expression.
14465 (octave-continuation-string): Do not use \.
14466 (inferior-octave-complete-impossible): Remove.
14467 (inferior-octave-completion-table)
14468 (inferior-octave-completion-at-point): Remove its uses.
14469 (inferior-octave-startup): completion_matches was introduced to
14470 Octave in 1996 so safe to assume it.
14471 (octave-function-file-comment): Improve to follow how Octave does it.
14472 (octave-update-function-file-comment): Tweak.
14473
2ec12cb0
LL
144742013-04-29 Leo Liu <sdl.web@gmail.com>
14475
14476 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14477 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14478 (octave-function-file-comment): Fix typo.
14479 (octave-sync-function-file-names): Use read-char-choice.
14480
6eaed048
JB
144812013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14482
14483 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14484 to t for the less important warnings.
14485
3ffa2d4f
DH
144862013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14487
14488 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14489
685c9501
GM
144902013-04-27 Glenn Morris <rgm@gnu.org>
14491
14492 * vc/log-view.el (log-view-current-entry):
14493 Treat "---" separator lines as part of the following rev. (Bug#14169)
14494
0208ede7
JL
144952013-04-27 Juri Linkov <juri@jurta.org>
14496
14497 * subr.el (read-number): Doc fix about using it by interactive
14498 code letter `n'. (Bug#14254)
14499
5db9dace
JL
145002013-04-27 Juri Linkov <juri@jurta.org>
14501
14502 * desktop.el (desktop-auto-save-timeout): New option.
14503 (desktop-file-checksum): New variable.
14504 (desktop-save): Add optional arg `auto-save' and don't auto-save
14505 if nothing changed.
14506 (desktop-auto-save-timer): New variable.
14507 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14508 (after-init-hook): Call `desktop-auto-save-set-timer'.
14509 Suggested by Reuben Thomas <rrt@sc3d.org> in
14510 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14511
b7260dd4
LL
145122013-04-27 Leo Liu <sdl.web@gmail.com>
14513
14514 * progmodes/octave.el (octave-function-file-p)
14515 (octave-skip-comment-forward, octave-function-file-comment)
14516 (octave-update-function-file-comment): New functions.
14517 (octave-mode-map): Bind C-c ; to
14518 octave-update-function-file-comment.
14519 (octave-mode-menu): Add octave-update-function-file-comment.
14520 (octave-mode, inferior-octave-mode): Fix doc-string.
14521 (octave-insert-defun): Conform to Octave's coding convention.
14522 (Bug#14285)
14523
14524 * files.el (basic-save-buffer): Don't let errors in
14525 before-save-hook prevent saving buffer.
14526
c46da669
RW
145272013-04-20 Roland Winkler <winkler@gnu.org>
14528
14529 * faces.el (read-face-name): Use completing-read if arg multiple
14530 is nil.
14531
a81ee1eb
IL
145322013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14533
14534 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
14535 displayed, move point to after the totals line.
14536 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
14537 for the details.
14538
4fac34ce
SM
145392013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14540
14541 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14542 Add current dir to the load-path.
14543 (package-generate-autoloads): Don't rely on
14544 autoload-ensure-default-file.
14545
f6bfc063
RT
145462013-04-26 Reuben Thomas <rrt@sc3d.org>
14547
d40ab5cf
BG
14548 * textmodes/remember.el (remember-store-in-files): Document that
14549 the file name format is passed to `format-time-string'.
f6bfc063 14550
e55d3b04
LL
145512013-04-26 Leo Liu <sdl.web@gmail.com>
14552
14553 * progmodes/octave.el (octave-sync-function-file-names): New function.
14554 (octave-mode): Use it in before-save-hook.
14555
e53052d3
SM
145562013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14557
140ef50c
SM
14558 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14559 (bug#14274).
14560
e53052d3
SM
14561 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14562 \n and comment, even if it's not an implicit ; (bug#14218).
14563
af80458d 145642013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
14565
14566 * subr.el (read-number): Once more use `read' rather than
14567 `string-to-number', to trap non-numeric input. (Bug#14254)
14568
af80458d 145692013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
14570
14571 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14572 Use `syntax-multiline' text property consistently instead of
8a621d53 14573 `font-lock-multiline'. (Bug#14237)
70203c2e 14574
e6ea1f6c
GM
145752013-04-26 Glenn Morris <rgm@gnu.org>
14576
14577 * emacs-lisp/shadow.el (list-load-path-shadows):
14578 No longer necessary to check for duplicate simple.el, since
14579 2012-07-07 change to init_lread to not include installation lisp
14580 directories in load-path when running uninstalled. (Bug#14270)
14581
070ccca4
LL
145822013-04-26 Leo Liu <sdl.web@gmail.com>
14583
14584 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14585 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 14586 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
14587 octave-in-string-or-comment-p.
14588 (octave-in-comment-p, octave-in-string-p)
14589 (octave-in-string-or-comment-p): Replace defsubst with defun.
14590
9d1c5fb6
PE
145912013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14592
14593 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14594
c034abda
BG
145952013-04-25 Bastien Guerry <bzg@gnu.org>
14596
14597 * textmodes/remember.el (remember-data-directory)
14598 (remember-directory-file-name-format): Fix custom types.
14599
584ea277
LL
146002013-04-25 Leo Liu <sdl.web@gmail.com>
14601
e53052d3
SM
14602 * progmodes/octave.el (octave-completion-at-point-function):
14603 Make use of inferior octave process.
584ea277
LL
14604 (octave-initialize-completions): Remove.
14605 (inferior-octave-completion-table): New function.
14606 (inferior-octave-completion-at-point): Use it.
14607 (octave-completion-alist): Remove.
14608
1693b06a
SM
146092013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14610
14611 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14612 (opascal-mode-syntax-table): New var.
14613 (opascal-literal-kind, opascal-is-literal-end)
14614 (opascal-literal-token-at): Rewrite.
14615 (opascal--literal-start-re, opascal-font-lock-keywords)
14616 (opascal--syntax-propertize): New constants.
14617 (opascal-font-lock-defaults): Adjust.
14618 (opascal-mode): Use them. Set comment-<foo> variables as well.
14619 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14620 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14621 (delphi-other-face, opascal-other-face): Remove face variables.
14622 (opascal-save-state): Remove macro.
14623 (opascal-fontifying-progress-step): Remove constant.
14624 (opascal--ignore-changes): Remove var.
14625 (opascal-set-token-property, opascal-parse-next-literal)
14626 (opascal-is-stable-literal, opascal-complete-literal)
14627 (opascal-is-literal-start, opascal-face-of)
14628 (opascal-parse-region, opascal-parse-region-until-stable)
14629 (opascal-fontify-region, opascal-after-change)
14630 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14631 (opascal-debug-parse-region, opascal-debug-parse-window)
14632 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14633 (opascal-debug-fontify-buffer): Remove.
14634 (opascal-debug-mode-map): Adjust accordingly.
14635
be64c05d
LL
146362013-04-25 Leo Liu <sdl.web@gmail.com>
14637
14638 Merge octave-mod.el and octave-inf.el into octave.el with some
14639 cleanups.
14640 * progmodes/octave.el: New file renamed from octave-mod.el.
14641 * progmodes/octave-inf.el: Merged into octave.el.
14642 * progmodes/octave-mod.el: Renamed to octave.el.
14643
d79d37bd
TH
146442013-04-25 Tassilo Horn <tsdh@gnu.org>
14645
14646 * textmodes/reftex-vars.el
14647 (reftex-label-ignored-macros-and-environments): New defcustom.
14648
14649 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14650
ced3fc5d
SM
146512013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14652
14653 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14654 (smie-indent-keyword): Improve the check to ensure that the next
14655 comment is really on the same line.
14656 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14657
14658 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14659 semi-colons if the line is not otherwise empty (bug#14218).
14660
1c141dad
GM
146612013-04-25 Glenn Morris <rgm@gnu.org>
14662
14663 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14664
5058062a
SM
146652013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14666
14667 * progmodes/opascal.el (opascal-set-token-property): Rename from
14668 opascal-set-text-properties and only set `token' (bug#14134).
14669 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14670 (opascal-literal-text-properties): Remove.
14671 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14672 Adjust callers.
14673
5db9dace 146742013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
14675
14676 * textmodes/remember.el (remember-handler-functions): Add an
14677 option for a new handler `remember-store-in-files'.
14678 (remember-data-directory, remember-directory-file-name-format):
14679 New options.
14680 (remember-store-in-files): New function to store remember notes
14681 as separate files within a directory.
14682
4391916c
MH
146832013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14684
14685 * progmodes/compile.el (compilation-next-error-function):
14686 Pass "formats" to compilation-find-file (bug#11777).
14687
bb7cdf58
GM
146882013-04-24 Glenn Morris <rgm@gnu.org>
14689
3b8fe752 14690 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
14691 * vc/vc-hg.el (vc-hg-print-log):
14692 * vc/vc-svn.el (vc-svn-print-log):
14693 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14694
bb7cdf58
GM
14695 * vc/vc-bzr.el (vc-bzr-print-log):
14696 * vc/vc-cvs.el (vc-cvs-print-log):
14697 * vc/vc-git.el (vc-git-print-log):
14698 * vc/vc-hg.el (vc-hg-print-log):
14699 * vc/vc-mtn.el (vc-mtn-print-log):
14700 * vc/vc-rcs.el (vc-rcs-print-log):
14701 * vc/vc-sccs.el (vc-sccs-print-log):
14702 * vc/vc-svn.el (vc-svn-print-log):
14703 * vc/vc.el (vc-print-log-internal): Doc fixes.
14704
b46a056e
GM
147052013-04-23 Glenn Morris <rgm@gnu.org>
14706
14707 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14708 Remove venerable code attempting to avoid substitute-command-keys.
14709
0aecf718
TH
147102013-04-23 Tassilo Horn <tsdh@gnu.org>
14711
4391916c
MH
14712 * textmodes/reftex-vars.el (reftex-label-regexps):
14713 Call `reftex-compile-variables' after changes to this variable.
0aecf718 14714
117f94cf
SM
147152013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14716
4391916c 14717 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
14718 Use lexical-binding.
14719 (jit-lock-force-redisplay): Use markers, check buffer's continued
14720 existence and beware narrowed buffers.
14721 (jit-lock-fontify-now): Adjust call accordingly.
14722
1d829c64
SM
147232013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14724
14725 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14726 to avoid misleading the user.
14727
72d548a9
LL
147282013-04-22 Leo Liu <sdl.web@gmail.com>
14729
14730 * info-look.el: Prefer latex2e.info. (Bug#14240)
14731
d0853629
MA
147322013-04-22 Michael Albinus <michael.albinus@gmx.de>
14733
14734 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14735
14736 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 14737 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
14738 (tramp-set-completion-function, tramp-parse-putty):
14739 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14740 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14741 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14742 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14743 (tramp-call-local-coding-command): Use `tramp-call-process'
14744 instead of `tramp-compat-call-process'.
14745
14746 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14747 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 14748 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 14749 (tramp-find-inline-compress): Improve traces.
d0853629
MA
14750 (tramp-maybe-send-script): Check for Perl binary.
14751 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14752
38cc0210
DU
147532013-04-22 Daiki Ueno <ueno@gnu.org>
14754
14755 * epg.el (epg-context-pinentry-mode): New function.
14756 (epg-context-set-pinentry-mode): New function.
14757 (epg--start): Pass --pinentry-mode option to gpg command.
14758
cc641ee1
XF
147592013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14760
02d844b5 14761 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 14762 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 14763 `completion-at-point'. (Bug#13774)
5d4e5c31 14764
cc641ee1
XF
14765 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14766 default key binding for `describe-distribution' has been moved to
14767 `C-h C-o'. (Bug#13970)
14768
1b42ee43
GM
147692013-04-21 Glenn Morris <rgm@gnu.org>
14770
14771 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14772 Add doc strings.
14773 (vc-print-log): Clarify interactive prompt.
14774
a6d63d97
GM
147752013-04-20 Glenn Morris <rgm@gnu.org>
14776
14777 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14778 No longer include timestamp etc information.
14779
d7f5c16f
RW
147802013-04-20 Roland Winkler <winkler@gnu.org>
14781
14782 * faces.el (read-face-name): Bug fix, return just one face if arg
14783 multiple is nil. (Bug#14209)
14784
bcd7a0a4
SM
147852013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14786
14787 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14788 (remove-function): Autoload.
14789
14790 * comint.el (comint-redirect-original-filter-function): Remove.
14791 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
14792 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14793 (vc-cvs-annotate-command):
bcd7a0a4
SM
14794 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14795 * progmodes/prolog.el (prolog-consult-compile):
14796 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14797 Use add/remove-function instead.
14798 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14799 (gud-tooltip-process-output, gud-tooltip-tips):
14800 Use add/remove-function instead.
14801 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14802 (scheme-interaction-mode, exit-scheme-interaction-mode):
14803 Use add/remove-function instead.
14804
14805 * vc/vc-dispatcher.el: Use lexical-binding.
14806 (vc--process-sentinel): Rename from vc-process-sentinel.
14807 Change last arg to be the code to run. Don't use vc-previous-sentinel
14808 and vc-sentinel-commands any more.
14809 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14810 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14811
e36b2d20 148122013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 14813
bcd7a0a4 14814 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 14815 Handle function names with a single character. (Bug#14111)
4d3268ba 14816
27821a89 148172013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
14818
14819 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14820 for subroutines defined in an eval (bug#14182).
14821
7d688336
TV
148222013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14823
14824 * bookmark.el (bookmark-completing-read): Improve handling of empty
14825 string (bug#14176).
14826
31dcede0
SM
148272013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14828
14829 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14830
adc31213
FEG
148312013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14832
14833 New faster Imenu implementation (bug#14058).
9b017563 14834 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
14835 (python-imenu-format-item-label-function)
14836 (python-imenu-format-parent-item-label-function)
14837 (python-imenu-format-parent-item-jump-label-function):
14838 New vars.
14839 (python-imenu-format-item-label)
14840 (python-imenu-format-parent-item-label)
14841 (python-imenu-format-parent-item-jump-label)
14842 (python-imenu--put-parent, python-imenu--build-tree)
14843 (python-imenu-create-index, python-imenu-create-flat-index)
14844 (python-util-popn): New functions.
14845 (python-mode): Set imenu-create-index-function to
14846 python-imenu-create-index.
14847
cdca8255
SM
148482013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14849
14850 * winner.el (winner-active-region): Use region-active-p, activate-mark
14851 and deactivate-mark (bug#14225).
14852
14853 * simple.el (deactivate-mark): Don't inline it.
14854
beb42340
MA
148552013-04-18 Michael Albinus <michael.albinus@gmx.de>
14856
14857 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14858
fc7f4d7e
TH
148592013-04-18 Tassilo Horn <tsdh@gnu.org>
14860
14861 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14862 file extensions from the archive-mode entry in order to prefer
14863 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14864
29f47822
LL
148652013-04-18 Leo Liu <sdl.web@gmail.com>
14866
14867 * bindings.el (help-event-list): Add ?\?.
14868
d36ed1c8
SM
148692013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14870
14871 * subr.el (with-wrapper-hook): Declare obsolete.
14872 * simple.el (filter-buffer-substring-function): New hook.
14873 (filter-buffer-substring): Use it.
14874 (filter-buffer-substring-functions): Mark obsolete.
14875 * minibuffer.el (completion-in-region-function): New hook.
14876 (completion-in-region): Use it.
14877 (completion-in-region-functions): Mark obsolete.
14878 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14879 * abbrev.el (abbrev-expand-function): New hook.
14880 (expand-abbrev): Use it.
14881 (abbrev-expand-functions): Mark obsolete.
14882 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14883 and :filter-return.
14884
04754d36
FEG
148852013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14886
14887 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14888 and do not care about match data.
14889
dd8791e9
SM
148902013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14891
14892 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14893 completion tables when completing error conditions and
14894 `declare' arguments.
14895 (lisp-complete-symbol, field-complete): Mark as obsolete.
14896 (check-parens): Unmatched parens are user errors.
14897 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14898
ffe54a13
AM
148992013-04-17 Michal Nazarewicz <mina86@mina86.com>
14900
dd8791e9
SM
14901 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14902 command changed buffer (ie. `flyspell-pre-buffer' is not current
14903 buffer), which prevents making decisions based on invalid value of
14904 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14905 cause an error when `flyspell-pre-point' was nil after switching
14906 buffers.
14907 (flyspell-post-command-hook): No longer needs to change buffers when
14908 checking pre-word. While at it remove unnecessary progn.
ffe54a13 14909
ec7e39f2
AM
149102013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14911
14912 * textmodes/ispell.el (ispell-add-per-file-word-list):
14913 Fix `flyspell-correct-word-before-point' error when accepting
14914 words and `coment-padding' is an integer by using
14915 `comment-normalize-vars' (Bug #14214).
14916
083850a6
FEG
149172013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14918
14919 New defun movement commands.
14920 * progmodes/python.el (python-nav--syntactically)
14921 (python-nav--forward-defun, python-nav-backward-defun)
14922 (python-nav-forward-defun): New functions.
14923
619ed6e1
FEG
149242013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14925
14926 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14927 (python-syntax-context): Use named compiler-macro for backwards
14928 compatibility with Emacs 24.x.
14929
7a1beb6c
LL
149302013-04-17 Leo Liu <sdl.web@gmail.com>
14931
14932 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14933 octave-hide-process-buffer.
14934
2d3fa3e5
SM
149352013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14936
14937 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14938 (bug#14216).
14939
7ce5be54
JPG
149402013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14941
14942 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14943 Fix adjustment of offset when receiving incomplete responses from GDB
14944 (bug#14129).
14945
351edece
SM
149462013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14947
14948 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14949 python-mode-abbrev-table.
14950 (python-skeleton-define): Adjust accordingly.
14951 (python-mode-abbrev-table): New table that inherits from it so that
14952 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14953
14954 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14955 (abbrev-symbol): Use it.
14956 (abbrev--before-point): Use it since we already handle inheritance.
14957
613f9481
LL
149582013-04-16 Leo Liu <sdl.web@gmail.com>
14959
14960 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14961 binding to info-lookup-symbol.
14962
51646b62
JB
149632013-04-16 Juanma Barranquero <lekktu@gmail.com>
14964
14965 * minibuffer.el (completion--twq-all):
14966 * term/ns-win.el (ns-initialize-window-system):
14967 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14968
efb3f01d
SM
149692013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14970
36c0a301
SM
14971 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14972 global bindings.
14973
efb3f01d
SM
14974 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14975
fb549d64
DG
149762013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14977
14978 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14979 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14980 to nil.
14981 (ruby-end-of-defun): Remove the unused arg, change the docstring
14982 to reflect that this function is only used as the value of
14983 `end-of-defun-function'.
14984 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14985 to reflect an earlier change that beginning/end-of-defun functions
14986 jump between methods in a class definition, as well as top-level
14987 functions.
14988
21e8fe2f
SM
149892013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14990
14991 * minibuffer.el (minibuffer-complete): Don't just scroll
14992 a *Completions* that's been iconified.
14993 (minibuffer-force-complete): Make sure repetitions do cycle when going
14994 through completion-in-region -> minibuffer-complete.
14995
20e527d0
AM
149962013-04-15 Alan Mackenzie <acm@muc.de>
14997
14998 Correct the placement of c-cpp-delimiters when there're #s not at
14999 col 0.
15000
15001 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15002 place a submatch around the #.
21e8fe2f
SM
15003 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15004 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
15005 on the #, not BOL.
15006
dabefae5
SM
150072013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15008
15009 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15010 (advice--member-p): New arg `name'.
15011 (advice--add-function, advice-member-p): Use it (bug#14202).
15012
85c9ab64
AM
150132013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15014
15015 Reformulate java imenu-generic-expression.
15016 The old expression contained ill formed regexps.
15017
15018 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15019 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15020 (cc-imenu-java-method-arg-regexp): New defconsts.
15021 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 15022 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
15023 handling of spaces in the regexp.
15024
0f821d99
AM
150252013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15026
15027 * textmodes/ispell.el (ispell-command-loop): Remove
15028 flyspell highlight of a word when ispell accepts it (bug #14178).
15029
eb922adf
MA
150302013-04-15 Michael Albinus <michael.albinus@gmx.de>
15031
15032 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15033 uses code from the previous `ange-ftp-run-real-handler'.
15034 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15035 only in case that function exist. This is needed for proper
15036 unloading of Tramp.
15037
4d9a0979
TH
150382013-04-15 Tassilo Horn <tsdh@gnu.org>
15039
15040 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15041
15042 * textmodes/reftex.el (reftex-compile-variables): Use it.
15043
a829b0dc
SM
150442013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15045
91e8293c
SM
15046 * files.el (normal-mode): Only use default major-mode if no other mode
15047 was specified.
15048
830aed4d
SM
15049 * emacs-lisp/trace.el (trace-values): New function.
15050
a829b0dc
SM
15051 * files.el: Allow : in local variables (bug#14089).
15052 (hack-local-variable-regexp): New var.
15053 (hack-local-variables-prop-line, hack-local-variables): Use it.
15054
7ae9f0fb
RW
150552013-04-13 Roland Winkler <winkler@gnu.org>
15056
15057 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15058 data before it gets modified by bibtex-beginning-of-entry.
15059
6646e848
RW
150602013-04-13 Roland Winkler <winkler@gnu.org>
15061
15062 * textmodes/bibtex.el (bibtex-url): Doc fix.
15063
150642013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
15065
15066 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15067 does not visit a BibTeX file, exclude it from the list of buffers
15068 returned by bibtex-initialize.
15069
0aa3616e
SB
150702013-04-13 Stephen Berman <stephen.berman@gmx.net>
15071
15072 * window.el (split-window): Remove interactive form, since as a
15073 command this function is a special case of split-window-below.
15074 Correct doc string.
15075
011cddd6
RW
150762013-04-12 Roland Winkler <winkler@gnu.org>
15077
15078 * faces.el (read-face-name): Do not override value of arg default.
15079 Allow single faces and strings as default values. Remove those
15080 elements from return value that are not faces.
15081 (describe-face): Simplify.
15082 (face-at-point): New optional args thing and multiple so that this
15083 function can provide the same functionality previously provided by
15084 read-face-name.
15085 (make-face-bold, make-face-unbold, make-face-italic)
15086 (make-face-unitalic, make-face-bold-italic, invert-face)
15087 (modify-face, read-face-and-attribute): Use face-at-point.
15088
15089 * cus-edit.el (customize-face, customize-face-other-window)
15090 * cus-theme.el (custom-theme-add-face)
15091 * face-remap.el (buffer-face-set)
15092 * facemenu.el (facemenu-set-face): Use face-at-point.
15093
f24e0036
MA
150942013-04-12 Michael Albinus <michael.albinus@gmx.de>
15095
15096 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15097
da3cda2d
TH
150982013-04-10 Tassilo Horn <tsdh@gnu.org>
15099
15100 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15101 off leading { and trailing } from field values.
15102
15e54145
SM
151032013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15104
78ce603d
SM
15105 * emacs-lisp/timer.el (timer--check): New function.
15106 (timer--time, timer-set-function, timer-event-handler): Use it.
15107 (timer-set-idle-time): Simplify.
15108 (timer--activate): CSE.
15109 (timer-event-handler): Give more info in error message.
15110 (internal-timer-start-idle): New function, moved from C.
15111
15e54145
SM
15112 * mpc.el (mpc-proc): Add `restart' argument.
15113 (mpc-proc-cmd): Use it.
15114 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15115 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15116 less often.
15117
7144c627
MY
151182013-04-10 Masatake YAMATO <yamato@redhat.com>
15119
15120 * progmodes/sh-script.el: Implement `sh-mode' own
15121 `add-log-current-defun-function' (bug#14112).
15122 (sh-current-defun-name): New function.
15123 (sh-mode): Use the function.
15124
b39792eb
BG
151252013-04-09 Bastien Guerry <bzg@gnu.org>
15126
15127 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15128
8acdeb71
SM
151292013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15130
6fcdab68
SM
15131 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15132
8acdeb71
SM
15133 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15134 timer (bug#14156).
15135
e3e7b504
NF
151362013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15137
15138 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15139 declaration.
15140
201bb296
LL
151412013-04-07 Leo Liu <sdl.web@gmail.com>
15142
15143 * pcmpl-x.el: New file.
15144
ebb19708
DA
151452013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15146
15147 Do not set x-display-name until X connection is established.
15148 This is needed to prevent from weird situation described at
15149 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15150 * frame.el (make-frame): Set x-display-name after call to
15151 window system initialization function, not before.
15152 * term/x-win.el (x-initialize-window-system): Add optional
15153 display argument and use it.
15154 * term/w32-win.el (w32-initialize-window-system):
15155 * term/ns-win.el (ns-initialize-window-system):
15156 * term/pc-win.el (msdos-initialize-window-system):
15157 Add compatible optional display argument.
15158
33bb237a
EZ
151592013-04-06 Eli Zaretskii <eliz@gnu.org>
15160
15161 * files.el (normal-backup-enable-predicate): On MS-Windows and
15162 MS-DOS compare truenames of temporary-file-directory and of the
15163 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15164 don't fail comparison by compare-strings. Also, compare file
15165 names case-insensitively on MS-Windows and MS-DOS.
15166
134abf1f
SM
151672013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15168
15169 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15170 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15171
d695cb94
DG
151722013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15173
e3e7b504
NF
15174 * whitespace.el (whitespace-color-on, whitespace-color-off):
15175 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 15176
f4ad7ea1 151772013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
15178
15179 * ispell.el (ispell-set-spellchecker-params):
15180 Really set `ispell-args' for all equivs.
15181
632556e4
SM
151822013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15183
15184 * ido.el (ido-completions): Use extra elements of ido-decorations
15185 (bug#14143).
15186 (ido-decorations): Update docstring.
15187
2a417372
MA
151882013-04-05 Michael Albinus <michael.albinus@gmx.de>
15189
15190 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15191 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15192 nil during initialization, in order not to miss changes since the
15193 file was opened. (Bug#14140)
15194
fc164b0c
LL
151952013-04-05 Leo Liu <sdl.web@gmail.com>
15196
15197 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15198
0ccecc08
JB
151992013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15200
15201 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15202
51af1aa2
GM
152032013-04-04 Glenn Morris <rgm@gnu.org>
15204
15205 * electric.el (electric-pair-inhibit-predicate): Add :version.
15206
b208ebc6
SM
152072013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15208
15209 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15210 when a package is required several times (bug#14082).
15211
f3d3eaf0
RW
152122013-04-04 Roland Winkler <winkler@gnu.org>
15213
15214 * faces.el (read-face-name): Behave as promised by the docstring.
15215 Assume that arg default is a list of faces.
15216 (describe-face): Call read-face-name with list of default faces.
15217
2575da50
TV
152182013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15219
15220 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15221 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15222 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15223 the header.
15224 (bookmark-exit-hook-internal): Save even if list is empty.
15225
397703b4
YH
152262013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15227
15228 * emacs-lisp/package.el (package-pinned-packages): New var.
15229 (package--add-to-archive-contents): Obey it (bug#14118).
15230
691e26ae
AM
152312013-04-03 Alan Mackenzie <acm@muc.de>
15232
8a621d53
JB
15233 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15234 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
15235
15236 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15237 parameter `not-in-delimiter'. Handle being inside comment opener.
15238 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15239 character in case we're typing a '*' after a '/'.
15240 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15241 instead by passing the parameter to c-state-pp-to-literal.
15242
15243 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15244 for elt. 7 of a parse state.
15245
4b725a70
PE
152462013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15247
15248 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15249 * international/latin1-disp.el, international/mule-util.el:
15250 * language/cyril-util.el, language/european.el, language/ind-util.el:
15251 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15252 * language/tibetan.el, language/viet-util.el:
15253 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15254
15c579f0
SM
152552013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15256
15257 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15258 (electric-pair-post-self-insert-function): Use it.
15259 (electric-pair-default-inhibit): New function, extracted from
15260 electric-pair-post-self-insert-function.
15261
a77e2924
RW
152622013-03-31 Roland Winkler <winkler@gnu.org>
15263
15264 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15265
2bd8a4a8
SM
152662013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15267
15268 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15269
8d3655be 152702013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
15271
15272 Un-indent after "pass" and "return" statements (Bug#13888)
15273 * progmodes/python.el (python-indent-block-enders): New var.
15274 (python-indent-calculate-indentation): Use it.
15275
8d3655be 152762013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
15277
15278 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15279 defun. Defining it as defalias could introduce too eager
15280 byte-compiler optimization. (Bug#14030)
15281
8d3655be 152822013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
15283
15284 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15285
0b1619da
LL
152862013-03-30 Leo Liu <sdl.web@gmail.com>
15287
15288 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15289 (kmacro-execute-from-register): Pass the keyboard macro to
15290 kmacro-call-macro or repeating won't work correctly.
15291
0b938190
TZ
152922013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15293
15294 * progmodes/subword.el: Back to using `forward-symbol'.
15295
15296 * subr.el (forward-whitespace, forward-symbol)
15297 (forward-same-syntax): Move from thingatpt.el.
15298
35710234
LL
152992013-03-29 Leo Liu <sdl.web@gmail.com>
15300
15301 * kmacro.el (kmacro-to-register): New command.
15302 (kmacro-execute-from-register): New function.
15303 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15304
efc0bb73
SM
153052013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15306
15307 * mpc.el: Use defvar-local and setq-local.
15308 (mpc--proc-connect): Connection failures are not bugs.
15309 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15310 (mpc-volume-map): Bind to the up-events.
15311
75a2f981
TZ
153122013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15313
15314 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15315 instead of `forward-symbol'.
15316
17c781d1
SM
153172013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15318
15319 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15320 (edebug--recursive-edit): Use it.
15321 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15322 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15323
f67bfbcf
LL
153242013-03-28 Leo Liu <sdl.web@gmail.com>
15325
15326 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15327
b59f639d
EZ
153282013-03-27 Eli Zaretskii <eliz@gnu.org>
15329
15330 * facemenu.el (list-colors-callback): New defvar.
15331 (list-colors-redisplay): New function.
15332 (list-colors-display): Install list-colors-redisplay as the
15333 revert-buffer-function. (Bug#14063)
15334
f557c1b1
SM
153352013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15336
b1da2957
SM
15337 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15338 and suffixes don't overlap (bug#14061).
15339
f557c1b1
SM
15340 * case-table.el: Use lexical-binding.
15341 (case-table-get-table): New function.
15342 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15343
002668e1
TZ
153442013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15345
15346 * progmodes/subword.el: Add `superword-mode' to do word motion
15347 over symbol_words (parallels and leverages `subword-mode' which
15348 does word motion inside MixedCaseWords).
15349
73572c72
AG
153502013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15351
78b8f320 15352 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 15353 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 15354
69b2c07e
SM
153552013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15356
15357 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15358 Change return value to be a sexp. Delay `get-buffer' to after
15359 restoring the desktop (bug#13951).
15360
08bb5ee2
LL
153612013-03-26 Leo Liu <sdl.web@gmail.com>
15362
15363 * register.el: Move semantic tag handling back to
15364 cedet/semantic/senator.el. (Bug#14052)
15365
8d4c974e
SM
153662013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15367
15368 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15369 into the prompt either (bug#13963).
15370
b234d92c
SM
153712013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15372
15373 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15374 part of "(error-foo)".
15375
ddfa3cb4
JL
153762013-03-24 Juri Linkov <juri@jurta.org>
15377
15378 * replace.el (list-matching-lines-prefix-face): New defcustom.
15379 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15380 `occur-engine' if `face-differs-from-default-p' returns t.
15381 (occur-engine): Add `,' inside backquote construct to evaluate
15382 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15383 Pass `prefix-face' to the functions `occur-context-lines' and
15384 `occur-engine-add-prefix'.
15385 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15386 `prefix-face' and propertize the prefix with `prefix-face'.
15387 (Bug#14017)
15388
7b0e2f85
LL
153892013-03-24 Leo Liu <sdl.web@gmail.com>
15390
15391 * nxml/rng-valid.el (rng-validate-while-idle)
15392 (rng-validate-quick-while-idle): Guard against deleted buffer.
15393 (Bug#13999)
15394
15395 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15396 is the last entry in kill-buffer-hook.
15397
15398 * files.el (kill-buffer-hook): Doc fix.
15399
b3082f49
DG
154002013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15401
b234d92c
SM
15402 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15403 Make it safe-local.
bde73d27 15404
b3082f49
DG
15405 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15406
a320a2db
LL
154072013-03-23 Leo Liu <sdl.web@gmail.com>
15408
7e74b0fb
LL
15409 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15410 Remove.
15411
15412 * nxml/rng-valid.el (rng-validate-mode)
15413 (rng-after-change-function, rng-do-some-validation):
15414 * nxml/rng-maint.el (rng-validate-buffer):
15415 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15416 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15417 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15418 (nxml-extend-after-change-region): Use with-silent-modifications.
15419
a320a2db
LL
15420 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15421 timer-idle-list.
15422
15423 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15424 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15425 timer-idle-list. (Bug#13999)
15426
e38e6780
JL
154272013-03-23 Juri Linkov <juri@jurta.org>
15428
15429 * info.el (info-index-match): New face.
15430 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15431 main pattern and add text properties with the new face to matches
15432 in index entries relative to the beginning of the index entry.
15433 (Bug#14015)
15434
e8cc7880
DE
154352013-03-21 Eric Ludlam <zappo@gnu.org>
15436
39c87140 15437 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
15438 Inhibit read only while inserting objects.
15439
9bb0d822
TZ
154402013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15441
15442 * progmodes/cfengine.el: Update docs to mention
15443 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15444 symbol motion. Remove "_" from the word syntax.
15445
aa703640
TZ
154462013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15447
15448 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15449 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15450
afff09d0
JL
154512013-03-20 Juri Linkov <juri@jurta.org>
15452
15453 * info.el (Info-next-reference-or-link)
15454 (Info-prev-reference-or-link): New functions.
15455 (Info-next-reference, Info-prev-reference): Use them.
15456 (Info-try-follow-nearest-node): Handle footnote navigation.
15457 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15458
9a1ff164
SM
154592013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15460
15461 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15462 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15463
2667d15d
PE
154642013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15465
15466 Suppress unnecessary non-ASCII chatter during build process.
15467 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15468 (batch-skkdic-convert): Suppress most of the chatter.
15469 It's not needed so much now that machines are faster,
15470 and its non-ASCII component was confusing; see Dmitry Gutov in
15471 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15472
438b0579
LL
154732013-03-20 Leo Liu <sdl.web@gmail.com>
15474
15475 * ido.el (ido-chop): Fix bug#10994.
15476
c128ab07
DG
154772013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15478
15479 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15480 Remove vars.
9a1ff164
SM
15481 (whitespace-color-on, whitespace-color-off):
15482 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 15483
0e6008c5
SM
154842013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15485
15486 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15487 remapping in mode-line.
15488 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15489
627b52b0
DG
154902013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15491
15492 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15493 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
15494 (whitespace-font-lock-keywords): Change description.
15495 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15496 the constructed keywords instead.
15497 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 15498
50c3a20b
LL
154992013-03-19 Leo Liu <sdl.web@gmail.com>
15500
15501 * progmodes/compile.el (compilation-display-error): New command.
15502 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15503 C-o. (Bug#13992)
15504
2aa2157b
PE
155052013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15506
15507 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15508
e477dbfa
JD
155092013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15510
15511 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15512
64ab82d1
MA
155132013-03-18 Michael Albinus <michael.albinus@gmx.de>
15514
15515 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15516
15517 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15518 * net/tramp-gvfs.el (top):
15519 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15520 (tramp-handle-shell-command): Use it.
15521 (tramp-dissect-file-name): Raise an error when hostname is a
15522 method name, and neither method nor user is specified.
15523
15524 * net/trampver.el: Update release number.
15525
33cef733
LL
155262013-03-18 Leo Liu <sdl.web@gmail.com>
15527
15528 Make sure eldoc can be turned off properly.
15529 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15530 eldoc-mode.
15531 (eldoc-display-message-p): Revert last change.
15532 (eldoc-display-message-no-interference-p)
15533 (eldoc-print-current-symbol-info): Tweak.
15534
2167b7b2
TH
155352013-03-18 Tassilo Horn <tsdh@gnu.org>
15536
15537 * doc-view.el (doc-view-new-window-function): Check the new window
15538 overlay's display property instead the char property of the
15539 buffer's first char. Use `with-selected-window' instead of
15540 `save-window-excursion' with `select-window'.
15541 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 15542 display property instead the char property of the buffer's first char.
2167b7b2 15543
982efbcd
PE
155442013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15545
15546 Automate the build of ja-dic.el (Bug#13984).
15547 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15548 from the input, rather than assume that it's been done for us by the
15549 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15550 the current date into a ja-dic.el comment, as that complicates
15551 regression testing.
15552
2fcc7665
SM
155532013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15554
15555 * whitespace.el: Fix double evaluation.
15556 (whitespace-space, whitespace-hspace, whitespace-tab)
15557 (whitespace-newline, whitespace-trailing, whitespace-line)
15558 (whitespace-space-before-tab, whitespace-indentation)
15559 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15560 obsolete defvars.
15561 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15562 (whitespace-color-on): Use a single font-lock-add-keywords call.
15563 Fix double-evaluation of face variables.
15564
67c0a6e6
MA
155652013-03-17 Michael Albinus <michael.albinus@gmx.de>
15566
2fcc7665
SM
15567 * net/tramp-adb.el (tramp-adb-parse-device-names):
15568 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 15569 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 15570
69489f1d
LL
155712013-03-17 Leo Liu <sdl.web@gmail.com>
15572
15573 Extend eldoc to display info in the mode-line. (Bug#13978)
15574 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15575 (eldoc-mode-line-string): New variable.
15576 (eldoc-minibuffer-message): New function.
15577 (eldoc-message-function): New variable.
15578 (eldoc-message): Use it.
15579 (eldoc-display-message-p)
2fcc7665
SM
15580 (eldoc-display-message-no-interference-p):
15581 Support eldoc-post-insert-mode.
69489f1d
LL
15582
15583 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15584 (eval-expression): Run it.
15585
9c44569e
RW
155862013-03-17 Roland Winkler <winkler@gnu.org>
15587
15588 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15589 strings in the list of return values.
15590
327f1f6f
JB
155912013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15592
15593 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15594 radix before checking for HMS forms.
15595
67ed8fcd
LL
155962013-03-16 Leo Liu <sdl.web@gmail.com>
15597
15598 * progmodes/scheme.el: Add indentation and font-locking for λ.
15599 (Bug#13975)
15600
78be8b64 156012013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
15602
15603 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15604 token before point (bug#13942).
15605
78be8b64 156062013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 15607
95b43468 15608 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 15609
98e775e6
EZ
156102013-03-16 Eli Zaretskii <eliz@gnu.org>
15611
15612 * startup.el (command-line-normalize-file-name): Fix handling of
15613 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15614 <xfq.free@gmail.com> in
15615 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15616
2edd6029
MA
156172013-03-15 Michael Albinus <michael.albinus@gmx.de>
15618
15619 Sync with Tramp 2.2.7.
15620
15621 * net/trampver.el: Update release number.
15622
d35f5864
TH
156232013-03-14 Tassilo Horn <tsdh@gnu.org>
15624
e903c210 15625 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
15626 (doc-view-insert-image): Don't modify overlay associated to
15627 non-live windows, and implement horizontal centering of image in
15628 case it's smaller than the window.
15629 (doc-view-new-window-function): Force redisplay of new windows on
15630 doc-view buffers.
d35f5864 15631
1c4a85ed
KF
156322013-03-13 Karl Fogel <kfogel@red-bean.com>
15633
15634 * saveplace.el (save-place-alist-to-file): Don't sort
15635 `save-place-alist', just pretty-print it (bug#13882).
15636
85b66a21
MA
156372013-03-13 Michael Albinus <michael.albinus@gmx.de>
15638
a020afb9
JB
15639 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15640 Check whether `default-file-name-coding-system' is bound.
15641 It isn't in XEmacs.
85b66a21 15642
175600da
SM
156432013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15644
e7f7cb1a
SM
15645 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15646 backquotes for `obsolete' (bug#13929).
15647
175600da
SM
15648 * international/mule.el (find-auto-coding): Include file name in
15649 obsolescence warning (bug#13922).
15650
ca68a22e
TZ
156512013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15652
15653 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15654 for CFEngine 3-specific indentation.
15655 (cfengine3-indent-line): Use it. Fix up category regex.
15656 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15657
940e5099
SM
156582013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15659
15660 * type-break.el (type-break-file-name):
15661 * textmodes/remember.el (remember-data-file):
15662 * strokes.el (strokes-file):
15663 * shadowfile.el (shadow-initialize):
15664 * saveplace.el (save-place-file):
15665 * ps-bdf.el (bdf-cache-file):
15666 * progmodes/idlwave.el (idlwave-config-directory):
15667 * net/quickurl.el (quickurl-url-file):
15668 * international/kkc.el (kkc-init-file-name):
15669 * ido.el (ido-save-directory-list-file):
15670 * emulation/viper.el (viper-custom-file-name):
15671 * emulation/vip.el (vip-startup-file):
15672 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15673 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15674
cc725808
PE
156752013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15676
15677 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15678 * language/thai-word.el: Switch to UTF-8.
15679
a020afb9 15680See ChangeLog.16 for earlier changes.
e3d51b27
MR
15681
15682;; Local Variables:
15683;; coding: utf-8
e3d51b27
MR
15684;; End:
15685
ba318903 15686 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
15687
15688 This file is part of GNU Emacs.
15689
15690 GNU Emacs is free software: you can redistribute it and/or modify
15691 it under the terms of the GNU General Public License as published by
15692 the Free Software Foundation, either version 3 of the License, or
15693 (at your option) any later version.
15694
15695 GNU Emacs is distributed in the hope that it will be useful,
15696 but WITHOUT ANY WARRANTY; without even the implied warranty of
15697 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15698 GNU General Public License for more details.
15699
15700 You should have received a copy of the GNU General Public License
15701 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.