Integrate ruby-mode with electric-indent-mode better
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6cddebc1
DG
12013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4 extracted from `ruby-smie-rules'.
5 (ruby--electric-indent-chars): New variable.
6 (ruby--electric-indent-p): New function.
7 (ruby-mode): Use `electric-indent-functions' instead of
8 `electric-indent-chars'.
9
65a1da00
DG
102013-12-22 Dmitry Gutov <dgutov@yandex.ru>
11
12 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
13 docstring.
14 (ruby-smie-rules): Indent plus one level after `=>'.
15
b51ad4cf
RS
162013-12-21 Richard Stallman <rms@gnu.org>
17
18 * simple.el (newline): Doc fix.
19
d49fbfd6
TZ
202013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
21
22 * net/eww.el (eww-list-histories, eww-list-histories)
23 (eww-history-browse, eww-history-quit, eww-history-kill)
24 (eww-history-mode-map, eww-history-mode): New command and
25 functions to list browser histories.
5edcc2dc
KN
26 (eww-form-text): Support text form with disabled
27 and readonly attributes.
dde4de31 28 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 29
5e1901c1
RS
302013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
31
32 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
33 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
34 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
35 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
36 Use `user-error'.
37 (eww-bookmark-mode-map): Add menu.
38 (eww-render, eww-mode): Use `setq-local'.
39 (eww-tool-bar-map): New variable.
40 (eww-mode): Set `tool-bar-map'.
41 (eww-view-source): Check for `html-mode' with `fboundp'.
42
073d5cfd
LMI
432013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
44
45 * net/shr.el (shr--extract-best-source): Don't bug out on audio
46 elements with text inside. Also remove debugging.
47
41cf3d11
JD
482013-12-21 Jan Djärv <jan.h.d@swipnet.se>
49
50 * cus-start.el (all): Add ns-use-srgb-colorspace.
51
aac2b673
CY
522013-12-21 Chong Yidong <cyd@gnu.org>
53
54 * custom.el (custom-theme-recalc-face): Do nothing if the face is
55 undefined. Thus, theme settings for undefined faces do not take
56 effect until the faces are defined with defface, the same as with
57 theme variables.
58
59 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
60 (face-spec-reset-face): Don't assign extra properties in temacs.
61 (face-spec-recalc): Apply X resources too.
62
bacb0e77
CY
632013-12-21 Chong Yidong <cyd@gnu.org>
64
65 * faces.el (face-spec-set):
66 * cus-face.el (custom-theme-set-faces, custom-set-faces):
67 * custom.el (defface): Doc fixes (Bug#16203).
68
77221051
CY
69 * indent.el (indent-rigidly-map): Add docstring, and move commands
70 into named functions.
71 (indent-rigidly-left, indent-rigidly-right)
72 (indent-rigidly-left-to-tab-stop)
73 (indent-rigidly-right-to-tab-stop): New functions. Decide on
74 indentation direction based on bidi direction, and accumulate
75 sequential commands in a single undo boundary.
76 (indent-rigidly--pop-undo): New utility function.
77
e0eb0550
JB
782013-12-20 Juanma Barranquero <lekktu@gmail.com>
79
80 * faces.el (read-face-name): Require crm.el when using crm-separator.
81
3282bd2e
DC
822013-12-20 Daniel Colascione <dancol@dancol.org>
83
84 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
85 so that we don't reflow comments into the shebang line.
86
1d42e5b6
JL
872013-12-20 Juri Linkov <juri@jurta.org>
88
89 * saveplace.el (save-place-to-alist): Add `dired-filename' as
90 a position when `dired-directory' is non-nil. Check integer
91 positions with `integerp'.
92 (toggle-save-place, save-places-to-alist): Add check for
93 `dired-directory'.
94 (save-place-find-file-hook): Check integer positions with
95 `integerp'.
96 (save-place-dired-hook): Use `dired-goto-file' when
97 `dired-filename' is found in the assoc list. Check integer
98 positions with `integerp'.
99 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
100
101 * dired.el (dired-initial-position-hook): Rename back from
102 `dired-initial-point-hook'.
103 (dired-initial-position): Rename `dired-initial-point-hook' to
104 `dired-initial-position-hook'.
105 (dired-file-name-at-point): Doc fix. (Bug#15329)
106
24da7273
JL
1072013-12-20 Juri Linkov <juri@jurta.org>
108
109 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
110 (read-regexp-suggestions): New function.
111 (read-regexp): Use `read-regexp-defaults-function' to get default values.
112 Use `read-regexp-suggestions'. Add non-empty default to history
113 for empty input.
114 (occur-read-regexp-defaults-function): Remove function.
115 (occur-read-primary-args): Use `regexp-history-last' instead of
116 `occur-read-regexp-defaults-function'.
117
118 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
119 (hi-lock-line-face-buffer, hi-lock-face-buffer)
120 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
121 `hi-lock-read-regexp-defaults-function'. Doc fix.
122 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
123 with `find-tag-default-as-symbol-regexp'. Doc fix.
124 (hi-lock-read-regexp-defaults): Remove function.
125 (hi-lock-regexp-okay): Add check for null.
126
127 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
128 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
129
130 * subr.el (find-tag-default-as-symbol-regexp): New function.
131 (find-tag-default-as-regexp): Move symbol regexp formatting to
132 `find-tag-default-as-symbol-regexp'.
133
137f57c8
S
1342013-12-20 E Sabof <esabof@gmail.com> (tiny change)
135
136 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
137 (Bug#14179)
138
f3a66082
SB
1392013-12-20 Stephen Berman <stephen.berman@gmx.net>
140
141 * calendar/todo-mode.el: New implementation of item insertion
142 commands and key bindings.
143 (todo-key-prompt): New face.
144 (todo-insert-item): New command.
145 (todo-insert-item--parameters): New defconst, replacing defvar
146 todo-insertion-commands-args-genlist.
147 (todo-insert-item--param-key-alist): New defconst, replacing
148 defvar todo-insertion-commands-arg-key-list.
149 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
150 (todo-insert-item--argsleft, todo-insert-item--apply-args)
151 (todo-insert-item--next-param): New functions.
152 (todo-insert-item--args, todo-insert-item--argleft)
153 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
154 New variables.
155 (todo-key-bindings-t): Change binding of "i" from
156 todo-insertion-map to todo-insert-item.
157 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
158 (todo-insertion-command-name, todo-insertion-commands-names)
159 (todo-define-insertion-command, todo-insertion-commands)
160 (todo-insertion-key-bindings, todo-insertion-map): Remove.
161
2f99433b
SB
1622013-12-20 Stephen Berman <stephen.berman@gmx.net>
163
164 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
165 (todo-toggle-item-highlighting): Use eval-and-compile instead of
166 eval-when-compile.
167 (todo-move-category): Allow choosing a non-existing todo file to
168 move the category to, and create that file.
169 (todo-default-priority): New user option.
170 (todo-set-item-priority): Use it.
171 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
172 (desktop-restore-file-buffer): Declare.
173 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
174 (todo-modes-set-2): Locally set desktop-save-buffer to
175 todo-desktop-save-buffer.
176 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
177 (auto-mode-alist): Add autoload cookie.
178
131e4695
BB
1792013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
180
181 * emacs-lisp/subr-x.el: Renamed from helpers.el.
182 helpers.el was a poor choice of name.
3cbfb935
BB
183 (string-remove-prefix): New function.
184 (string-remove-suffix): New function.
131e4695 185
c44de18d
MR
1862013-12-20 Martin Rudalics <rudalics@gmx.at>
187
188 Fix assignment for new window total sizes.
189 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
190 (window--pixel-to-total-1, window--pixel-to-total):
191 Fix calculation of new total sizes.
c44de18d 192
ca65efcc
VS
1932013-12-20 Vitalie Spinu <spinuvit@gmail.com>
194
195 * comint.el (comint-output-filter): Fix rear-nonsticky property
196 placement (Bug#16010).
197
a9574eb7
CY
1982013-12-20 Chong Yidong <cyd@gnu.org>
199
200 * faces.el (read-color): Minor fix for completion function.
201
b520f210
DG
2022013-12-20 Dmitry Gutov <dgutov@yandex.ru>
203
e0eb0550
JB
204 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
205 New option. (Bug#16182)
b520f210
DG
206 (ruby-smie--indent-to-stmt-p): Use it.
207 (ruby-smie-rules): Revert the logic in the handling of `when'.
208 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
209 (ruby-deep-arglist, ruby-deep-indent-paren)
210 (ruby-deep-indent-paren-style): Update docstrings to note that the
211 vars don't have any effect with SMIE.
212
26b75b45
JB
2132013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
214
215 * calc/calc.el (calc-enter, calc-pop): Use the variable
216 `calc-context-sensitive-enter'.
217
cf91cee7
LMI
2182013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
219
220 * net/shr.el (shr-insert): Protect against infloops in degenerate
221 tables.
222
51d971b4
RS
2232013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
224
225 * progmodes/octave.el (octave): Add link to manual and octave
226 homepage.
227 (octave-mode-menu): Link to octave-mode manual.
228
8c2e462a
LL
2292013-12-20 Leo Liu <sdl.web@gmail.com>
230
231 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
232 insertion using skeleton-end-newline. (Bug#16138)
233
501158bc
JL
2342013-12-20 Juri Linkov <juri@jurta.org>
235
236 * replace.el (occur-engine): Use `add-face-text-property'
237 to add the face property to matches and titles. (Bug#14645)
238
239 * hi-lock.el (hi-green): Use lighter color "light green" closer to
240 the palette of other hi-lock colors.
241 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
242
50ab1da6
JL
2432013-12-19 Juri Linkov <juri@jurta.org>
244
245 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
246 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
247 (minibuffer-history-symbol): Move variable declaration closer to
248 its usage.
249
250 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
251 (Bug#14785)
252
3d6e95e7
JL
2532013-12-19 Juri Linkov <juri@jurta.org>
254
255 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
256 New function.
257 (log-edit-hook): Add it to :options. (Bug#16170)
258
b41594fd
JL
2592013-12-19 Juri Linkov <juri@jurta.org>
260
261 * simple.el (eval-expression-print-format): Don't check for
262 command names and the last command. Always display additional
263 formats of the integer result in the echo area, and insert them
264 to the current buffer only with a zero prefix arg.
265 Display character when char-displayable-p is non-nil.
266 (eval-expression): With a zero prefix arg, set `print-length' and
267 `print-level' to nil, and insert the integer values from
268 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
269
270 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
271 `eval-last-sexp-arg-internal'. Doc fix.
272 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
273 `eval-last-sexp-print-value'. Doc fix.
274 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
275 Set `print-length' and `print-level' to nil when arg is zero.
276 (eval-last-sexp): Doc fix.
277 (eval-defun-2): Print the integer values from
278 `eval-expression-print-format' at the end.
279
280 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
281 values from `eval-expression-print-format' at the end.
282
283 * ielm.el (ielm-eval-input): Print the integer
284 values from `eval-expression-print-format' at the end.
285
8f2be364
TZ
2862013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
287
288 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
289 2013-12-11T19:01:44Z!tzz@lifelogs.com.
290
2230a6e3
SM
2912013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
292
293 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
294 (hl-line-highlight, global-hl-line-highlight): Use it.
295 (hl-line-overlay): Use defvar-local.
296
1269a680
JD
2972013-12-19 Jan Djärv <jan.h.d@swipnet.se>
298
299 * term/ns-win.el: Require dnd.
300 (global-map): Remove drag items.
301 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
302 (ns-set-background-at-mouse):
303 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
304 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
305 New functions.
1269a680 306
049638ad
GM
3072013-12-19 Glenn Morris <rgm@gnu.org>
308
309 * emacs-lisp/ert.el (ert-select-tests):
310 Fix string/symbol mixup. (Bug#16121)
311
ce41edb4
DG
3122013-12-19 Dmitry Gutov <dgutov@yandex.ru>
313
314 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
315 keywords to their parent.
316
7e1549c9
DG
3172013-12-19 Dmitry Gutov <dgutov@yandex.ru>
318
319 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
320 first arg to be a string (fixed dead code), or an operator symbol.
321 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
322 operator symbols.
323 (ruby-smie-rules): Remove parent token check in the `.' clause, it
324 did nothing. Don't respond to `(:after ".")', it will be called
325 with :before anyway. Remove the ` @ ' rule, it didn't seem to
326 change anything. Only return indentation for binary operators
327 when they are hanging. De-dent opening paren when its parent is
328 `.', otherwise it looks bad when the dot is not at bol or eol
329 (bug#16182).
330
3ee4cd64
JL
3312013-12-19 Juri Linkov <juri@jurta.org>
332
333 * replace.el (query-replace-read-args): Split a non-negative arg
334 and a negative arg into separate elements.
335 (query-replace, query-replace-regexp, replace-string)
336 (replace-regexp): Add arg `backward'. Doc fix.
337 (replace-match-maybe-edit): When new arg `backward' is non-nil,
338 move point to the beginning of the match.
339 (replace-search, replace-highlight): Use new arg `backward'
340 to set the value of `isearch-forward'.
341 (perform-replace): Add arg `backward' and use it to perform
342 replacement backward. (Bug#14979)
343
344 * isearch.el (isearch-query-replace): Use a negative prefix arg
345 to call `perform-replace' with a non-nil arg `backward'.
346
0cda6b7b
JL
3472013-12-18 Juri Linkov <juri@jurta.org>
348
349 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
350 to the default list. Move `log-edit-show-files' to the end.
351 Add more available functions to options.
352 (log-edit): Move default specific settings to
353 `log-edit-insert-message-template'. Don't move point.
354 (log-edit-insert-message-template): New function.
355 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
356 (Bug#16170)
357
b216f0a6
JL
3582013-12-18 Juri Linkov <juri@jurta.org>
359
360 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
361 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
362
1d1c55dc
LL
3632013-12-18 Leo Liu <sdl.web@gmail.com>
364
365 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
366
64e4c76e
EZ
3672013-12-18 Eli Zaretskii <eliz@gnu.org>
368
369 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
370 formats for displaying file sizes when the -s switch is given.
371 Instead, compute a separate format for displaying the size in
372 blocks, which is displayed in addition to the "regular" size.
373 When -h is given in addition to -s, produce size in blocks in
374 human-readable form as well. (Bug#16179)
375
b2984e39
TH
3762013-12-18 Tassilo Horn <tsdh@gnu.org>
377
2230a6e3
SM
378 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
379 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 380
50ff2e06
CY
3812013-12-18 Chong Yidong <cyd@gnu.org>
382
0081bc84
CY
383 * cus-edit.el (custom-magic-alist): Fix "themed" description
384 (Bug#14348).
385
a7ee9424
CY
386 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
387 is non-nil, do not create a new entry in the symbol's theme-value
388 or theme-face property; update theme-settings only (Bug#14664).
18874304 389 (custom-available-themes): Doc fix.
a7ee9424 390
8f942537
CY
391 * cus-theme.el (custom-new-theme-mode-map): Add bindings
392 (Bug#15674).
393
50ff2e06
CY
394 * replace.el (occur-engine): Avoid infloop (Bug#7593).
395
83c60f60
KI
3962013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
397
398 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
399 (Bug#13914).
400
e0eb0550 4012013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
402
403 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
404
1f41ee56
GM
4052013-12-18 Glenn Morris <rgm@gnu.org>
406
407 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 408 * cus-start.el (load-prefer-newer): New option.
1f41ee56 409
e82134b1
LW
4102013-12-18 Le Wang <l26wang@gmail.com>
411
2230a6e3
SM
412 * comint.el (comint-previous-matching-input-from-input):
413 Retain point (Bug#13404).
e82134b1 414
33f5d4c1
CY
4152013-12-18 Chong Yidong <cyd@gnu.org>
416
417 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
418
ccc9f6dc
GM
4192013-12-18 Glenn Morris <rgm@gnu.org>
420
421 * mail/emacsbug.el (report-emacs-bug):
422 Only mention enable-multibyte-characters if non-standard.
423
33dd8e95
JL
4242013-12-17 Juri Linkov <juri@jurta.org>
425
426 * arc-mode.el (archive-extract-by-file): Check if directory exists
427 before deletion to not show irrelevant errors if it doesn't exist.
428
7a409b30
JL
4292013-12-17 Juri Linkov <juri@jurta.org>
430
431 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
432 (Bug#14751)
433
434 * net/eww.el (browse-web): Add alias to `eww'.
435 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
436 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
437
438 * net/browse-url.el (browse-url-browser-function): Move `eww'
439 closer to similar functions.
440
441 * startup.el (fancy-startup-screen, fancy-about-screen):
442 Set browse-url-browser-function to eww-browse-url locally.
443 (Bug#14751)
444
2d6b6005
SM
4452013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
446
447 * window.el (window--pixel-to-total): Remove unused `mini' var.
448 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
449 (split-window): Remove unused `new' var.
450 (window--display-buffer): Remove unused `frame' and `delta' vars.
451 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
452 and display-width'.
453
cf2b7efc
MR
4542013-12-17 Martin Rudalics <rudalics@gmx.at>
455
456 * dired.el (dired-mark-pop-up):
457 * register.el (register-preview): Don't bind
458 split-height-threshold here since it's now done in
459 display-buffer-below-selected.
460
ed3af8a7 4612013-12-17 oblique <psyberbits@gmail.com> (tiny change)
462
463 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
464 xterm-rgb-convert-to-16bit.
465 (rxvt-register-default-colors): Standardize with
466 xterm-register-default-colors (Bug#14078).
467
76da3455
DK
4682013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
469
470 * simple.el (kill-region): Pass mark first, then point, so that
471 kill-append works right (Bug#12819).
472 (copy-region-as-kill, kill-ring-save): Likewise.
473
2b84d763
LL
4742013-12-17 Leo Liu <sdl.web@gmail.com>
475
476 * net/rcirc.el (rcirc-add-face):
477 * eshell/em-prompt.el (eshell-emit-prompt):
478 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
479 (Bug#16167)
480
e2f6a0bc
CY
4812013-12-17 Chong Yidong <cyd@gnu.org>
482
483 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
484 Suggested by Xue Fuqiao.
485
35b249a6
DG
4862013-12-17 Dmitry Gutov <dgutov@yandex.ru>
487
488 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
489
e9145444
SM
4902013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
491
492 * net/shr.el (shr-insert-document): Remove unused var
493 `shr-preliminary-table-render'.
494 (shr-rescale-image): Remove unused arg `force'.
495 (shr-put-image): Update calls accordingly.
496 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
497
5556c0ce
DG
4982013-12-17 Dmitry Gutov <dgutov@yandex.ru>
499
500 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
501 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
502 :close-all, to see which indentation method to use (Bug#16116).
503 (smie-rules-function): Document the method :close-all.
504
11bade0a
LMI
5052013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
506
1c4b1e61
LMI
507 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
508
11bade0a
LMI
509 * net/eww.el (eww-display-html): If we can't find the anchor we're
510 looking for, then go to point-min.
511
8fb8c4f3
PE
5122013-12-16 Paul Eggert <eggert@cs.ucla.edu>
513
514 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
515 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
516 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
517 Expand dir too, in case it's relative.
518
6c8e0ae6
JL
5192013-12-16 Juri Linkov <juri@jurta.org>
520
521 * desktop.el (desktop-auto-save-timeout): Change default to
522 `auto-save-timeout'. Doc fix.
523 (desktop-save): Skip the timestamp in desktop-saved-frameset
524 when checking for auto-save changes.
525 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
526 `desktop-auto-save' is called repeatedly by the idle timer.
527 (desktop-auto-save-set-timer): Replace `run-with-timer' with
528 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
529 (Bug#15331)
530
2178e858
JL
5312013-12-16 Juri Linkov <juri@jurta.org>
532
533 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
534 (Bug#16035)
535 (isearch-pre-command-hook): Check `this-command' for symbolp.
536
39cb42c6
SM
5372013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
540
5b9b750a
TZ
5412013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
542
543 * progmodes/cfengine.el (cfengine3--current-word): Remove.
544 (cfengine3--current-function): Bring in the current-function
545 functionality from `cfengine3--current-word'.
546 (cfengine3-completion-function): Bring in the
547 bounds-of-current-word functionality from
548 `cfengine3--current-word'.
549
d144ef06
MR
5502013-12-16 Martin Rudalics <rudalics@gmx.at>
551
39cb42c6
SM
552 * window.el (display-buffer-below-selected):
553 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 554
a8bbe298
LL
5552013-12-16 Leo Liu <sdl.web@gmail.com>
556
557 * progmodes/compile.el (compile-goto-error): Do not push-mark.
558 Remove NOMSG arg and all uses changed.
559
2013a2f9
SM
5602013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
563 (cua--deactivate-rectangle): Don't deactivate the mark.
564 (cua-set-rectangle-mark): Don't set mark-active since
565 cua--activate-rectangle already does it for us.
566 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
567 non-rectangular region.
568
569 * emulation/cua-base.el (cua-repeat-replace-region):
570 Use with-current-buffer.
571
572 * net/gnutls.el: Use cl-lib.
573 (gnutls-negotiate): `mapcan' -> cl-mapcan.
574
5ae811dd
TZ
5752013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
576
577 * emacs-lisp/package.el (package-built-in-p): Support both
578 built-in and the package.el converted package descriptions.
579 (package-show-package-list): Allow keywords.
580 (package-keyword-button-action): Use it instead of
581 `finder-list-matches'.
582 (package-menu-filter-interactive): Interactive filtering (by
583 keyword) function.
584 (package-menu--generate): Support keywords and change keymappings
585 and headers when they are given.
586 (package--has-keyword-p): Helper function.
587 (package-menu--refresh): Use it.
588 (package--mapc): Helper function.
589 (package-all-keywords): Use it.
590 (package-menu-mode-map): Set up menu items and keybindings to
591 provide a filtering UI.
592
31b4827e
TZ
5932013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
594
595 * net/gnutls.el (gnutls-verify-error): New defcustom to control
596 the behavior when a certificate fails validation. Defaults to
597 old behavior: never abort, just warn.
598 (gnutls-negotiate): Use it.
599
f93cc74f
MR
6002013-12-14 Martin Rudalics <rudalics@gmx.at>
601
602 * window.el (display-buffer-below-selected): Never split window
603 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
604
f77d7d17
TW
6052013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
606
607 * emacs-lisp/package.el (package--prepare-dependencies): New function.
608 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
609
610 * icomplete.el (icomplete-completions): Make sure the prefix is already
611 displayed elsewhere before hiding it.
612
276bc333
DG
6132013-12-14 Dmitry Gutov <dgutov@yandex.ru>
614
615 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
616 open-paren tokens when preceded by a open-paren, too.
617 (ruby-smie-rules): Handle virtual indentation after open-paren
618 tokens specially. If there is code between it and eol, return the
619 column where is starts (Bug#16118).
620
d43957f3
TZ
6212013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
622
a5c1ac0c 623 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 624 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
625 (cfengine3--current-word): Fix parameters.
626 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
627 (cfengine3-completion-function, cfengine3--current-function):
628 Use `assq' for symbols.
d43957f3
TZ
629 (cfengine3--current-function): Fix `cfengine3--current-word' call.
630
06a4f110
GM
6312013-12-13 Glenn Morris <rgm@gnu.org>
632
633 * loadup.el (load-path): Warn if site-load or site-init changes it.
634 No more need to reset it when bootstrapping.
635
978a5fda
TZ
6362013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
637
638 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
639 locations for cf-promises.
640 (cfengine-mode-syntax-functions-regex): New caching variable.
641 (cfengine3-fallback-syntax): Fallback syntax for cases where
642 cf-promises doesn't run.
643 (cfengine3--current-word): Reimplement using
644 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
645 (cfengine3-completion-function, cfengine3--current-function):
646 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
647 (cfengine3-clear-syntax-cache): New function.
648 (cfengine3-make-syntax-cache): Simplify and create
649 `cfengine-mode-syntax-functions-regex' on demand.
650 (cfengine3-format-function-docstring): Don't call
651 `cfengine3-make-syntax-cache' explicitly.
652
71e6691e
MR
6532013-12-13 Martin Rudalics <rudalics@gmx.at>
654
655 Fix windmove-find-other-window broken after pixelwise resizing
656 (Bug#16017).
657 * windmove.el (windmove-other-window-loc): Revert change from
658 2013-12-04.
659 (windmove-find-other-window): Call window-in-direction.
660 * window.el (window-in-direction): New arguments SIGN, WRAP and
661 MINI to emulate original windmove-find-other-window behavior.
662
84c73ba0
DG
6632013-12-13 Dmitry Gutov <dgutov@yandex.ru>
664
665 * simple.el (blink-matching--overlay): New variable.
666 (blink-matching-open): Instead of moving point, highlight the
667 matching paren with an overlay
668 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
669
670 * faces.el (paren-showing-faces, show-paren-match)
671 (show-paren-mismatch): Move from paren.el.
672
b9e20952
LL
6732013-12-13 Leo Liu <sdl.web@gmail.com>
674
675 * indent.el (indent-region): Disable progress reporter in
676 minibuffer. (Bug#16108)
677
678 * bindings.el (visual-order-cursor-movement): Fix version.
679
ce030451
FEG
6802013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
681
682 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
683 Also match after beginning of line.
684 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
685 files. Thanks to Russell Sim. (Bug#15378)
686
4a9c6865
JL
6872013-12-13 Juri Linkov <juri@jurta.org>
688
689 * simple.el <Keypad support>: Remove key bindings duplicated
690 with bindings.el. (Bug#14397)
691
2bc170c3
JL
6922013-12-13 Juri Linkov <juri@jurta.org>
693
694 * comint.el (comint-mode-map): Replace `delete-char' with
695 `delete-forward-char'. (Bug#16109)
696
bc9222c9
FEG
6972013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
698
aa2bddd7
SM
699 * progmodes/python.el (python-indent-calculate-indentation):
700 Fix de-denters cornercase. (Bug#15731)
bc9222c9 701
cb3a1380
SM
7022013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
705 (advice--make): Pay attention to `depth'.
706 (advice--make-1): Don't autoload commands eagerly.
707 * emacs-lisp/elp.el (elp-instrument-function):
708 * emacs-lisp/trace.el (trace-function-internal):
709 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
710
711 * iswitchb.el (iswitchb-mode): Don't belittle ido.
712
01633a17
EZ
7132013-12-12 Eli Zaretskii <eliz@gnu.org>
714
715 * term/w32-win.el (w32-handle-dropped-file):
716 * startup.el (normal-top-level):
717 * net/browse-url.el (browse-url-file-url):
718 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
719 decode file names using 'utf-8' rather than
720 file-name-coding-system.
721
09faee72
FEG
7222013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
723
724 * progmodes/python.el (python-indent-context)
725 (python-indent-calculate-indentation): Fix auto-identation
726 behavior for comment blocks. (Bug#15916)
727
f4f84024 7282013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 729
cb3a1380
SM
730 * progmodes/python.el (python-indent-calculate-indentation):
731 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
732 operators when they are just string constituents. (Bug#15812)
733
d5ccb7be
JL
7342013-12-12 Juri Linkov <juri@jurta.org>
735
736 * uniquify.el (uniquify-buffer-name-style): Change default to
737 `post-forward-angle-brackets'.
738
739 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
740 `uniquify'. Change default to `post-forward-angle-brackets'.
741
7b3f5679
GM
7422013-12-11 Glenn Morris <rgm@gnu.org>
743
744 * emacs-lisp/package.el (finder-list-matches):
745 Autoload rather than falsely declaring.
746
f4fe8fdd
TZ
7472013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
748
749 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
750 (eww-mode-map): Use them.
751
3c29190f
MR
7522013-12-11 Martin Rudalics <rudalics@gmx.at>
753
754 * window.el (display-buffer-in-side-window): Fix doc-string
755 (Bug#16115).
756
0cd616a2
JB
7572013-12-11 Juanma Barranquero <lekktu@gmail.com>
758
759 * vc/vc-git.el: Silence byte-compiler warnings.
760 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
761 (log-edit-set-header): Declare.
762
3ef8e0d1
EZ
7632013-12-11 Eli Zaretskii <eliz@gnu.org>
764
765 * Makefile.in (custom-deps, finder-data): Run output file names
766 through unmsys--file-name. (Bug#16099)
767
afdadaf7
SM
7682013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
769
7ae3ae39 770 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 771 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 772
5b4f37ab
SM
773 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
774 instead of deleting the selection "by hand" (bug#16098).
775 Rely on insert-for-yank to yank rectangles.
776 (cua-highlight-region-shift-only): Mark obsolete.
777 (cua-mode): Don't enable/disable transient-mark-mode,
778 shift-select-mode (cua-mode works both with and without them), and
779 pc-selection-mode (obsolete).
780 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
781 (cua--deactivate-rectangle): Deactivate it.
782
4b72c12b
SM
783 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
784 (delete-selection-helper): Make sure yank starts at the top of the
785 deleted region.
786 (minibuffer-keyboard-quit): Use region-active-p.
787
e82af72d
SM
788 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
789
afdadaf7
SM
790 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
791 to `delete' (bug#16109).
792
ed4bc201
RS
7932013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
794
795 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
796 info manual and show keybindings and set `:group' keyword.
797
bb8097b9
JL
7982013-12-11 Juri Linkov <juri@jurta.org>
799
800 * delsel.el (delete-active-region): Let-bind `this-command'
801 to prevent `kill-region' from changing its original value.
802 (delete-selection-helper): Handle `overwrite-mode' for the type
803 `kill' exactly the same way as for the type `t'.
804 (insert-char, quoted-insert, reindent-then-newline-and-indent):
805 Support more commands. (Bug#13312)
806
c1916ff5
JL
8072013-12-11 Juri Linkov <juri@jurta.org>
808
809 * bindings.el: Map kp keys to non-kp keys systematically
810 with basic modifiers control, meta and shift. (Bug#14397)
811
e0eb0550 8122013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
b68cf43c
KN
813
814 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
815 "Close browser" menu items. Fix wrong function of "List
816 bookmarks".
817
4cc51eaf
JL
8182013-12-11 Juri Linkov <juri@jurta.org>
819
820 * misearch.el (multi-isearch-buffers): Set the value of
821 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
822 arg of isearch-forward to t.
823 (multi-isearch-buffers-regexp): Set the value of
824 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
825 arg of isearch-forward-regexp to t.
826 (multi-isearch-files): Set the value of
827 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
828 arg of isearch-forward to t.
829 (multi-isearch-files-regexp): Set the value of
830 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
831 arg of isearch-forward-regexp to t. (Bug#16035)
832
833 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
834 arg of isearch-forward to t.
835 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
836 arg of isearch-forward-regexp to t.
837 (dired-isearch-filter-filenames): Remove unnecessary check for
838 `dired-isearch-filenames'.
839
840 * comint.el (comint-history-isearch-backward):
841 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
842 (comint-history-isearch-backward-regexp):
843 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
844
ceac12b7
EZ
8452013-12-10 Eli Zaretskii <eliz@gnu.org>
846
847 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
848 unmsys--file-name. (Bug#16099)
849
5a565782
TZ
8502013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
851
cb3a1380
SM
852 * emacs-lisp/package.el (package-keyword-button-action):
853 Remove finder.el require dependency.
5a565782 854
a81fc7ba
TZ
8552013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
856
857 * emacs-lisp/package.el: Require finder.el.
858 (describe-package-1): Add keyword buttons.
859 (package-make-button): New convenience function.
860 (package-keyword-button-action): Keyword button action using
e0eb0550 861 `finder-list-matches'.
a81fc7ba 862
6aaca951
EZ
8632013-12-09 Eli Zaretskii <eliz@gnu.org>
864
865 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
866 last commit.
867
a1099a91
MA
8682013-12-09 Michael Albinus <michael.albinus@gmx.de>
869
870 * autorevert.el (auto-revert-notify-add-watch): Do not handle
871 symlinked files.
872
8212d9c0
DG
8732013-12-09 Dmitry Gutov <dgutov@yandex.ru>
874
875 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
876 after the end of a percent literal.
877
8f48d131
CD
8782013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
879
cb3a1380
SM
880 * progmodes/ruby-mode.el (ruby-forward-string): Document.
881 Handle caret-delimited strings (Bug#16079).
8f48d131 882
ff8c9764
DG
8832013-12-09 Dmitry Gutov <dgutov@yandex.ru>
884
cb3a1380
SM
885 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
886 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
887 `ruby-parse-partial' (Bug#16078).
888
d64643b4
LL
8892013-12-09 Leo Liu <sdl.web@gmail.com>
890
891 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
892
47e59c66
DG
8932013-12-08 Dmitry Gutov <dgutov@yandex.ru>
894
895 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
896 (js-switch-indent-offset): New option.
897 (js--proper-indentation): Use it. And handle the case when
898 "default" is actually a key in an object literal.
899 (js--same-line): New function.
900 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
901 (js--indent-in-array-comp, js--array-comp-indentation):
902 New functions.
47e59c66
DG
903 (js--proper-indentation): Use them, to handle array comprehension
904 continuations.
905
974ebc9c
LL
9062013-12-08 Leo Liu <sdl.web@gmail.com>
907
908 * progmodes/flymake.el (flymake-highlight-line): Re-write.
909 (flymake-make-overlay): Remove arg MOUSE-FACE.
910 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
911
27262e39
SM
9122013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
913
914 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
915 New function.
916 (redisplay-highlight-region-function): Use it.
917
918 * emulation/cua-base.el (cua--explicit-region-start)
919 (cua--last-region-shifted): Remove.
920 (cua--deactivate): Use deactivate-mark.
921 (cua--pre-command-handler-1): Don't handle shift-selection.
922 (cua--post-command-handler-1): Don't change transient-mark-mode.
923 (cua--select-keymaps): Use region-active-p rather than
924 cua--explicit-region-start or cua--last-region-shifted.
925 (cua-mode): Enable shift-select-mode.
926
6407822c
LL
9272013-12-08 Leo Liu <sdl.web@gmail.com>
928
27262e39
SM
929 * progmodes/flymake.el (flymake-popup-current-error-menu):
930 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
931 (flymake-posn-at-point-as-event, flymake-popup-menu)
932 (flymake-make-emacs-menu): Remove. (Bug#16077)
933
00a2b823
SM
9342013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
935
02033d49
SM
936 * rect.el (rectangle-mark-mode): Activate mark even if
937 transient-mark-mode is off (bug#16066).
938 (rectangle--highlight-for-redisplay): Fix boundary condition when point
939 is > mark and at bolp.
940
6f8dfccf
SM
941 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
942 (region-extract-function): Use it.
943 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
944 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
945 Delete functions.
946 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
947 kill-ring-save, kill-region, delete-char, delete-forward-char.
948 Ignore self-insert-iso.
949
950 * emulation/cua-gmrk.el (cua--init-global-mark):
951 Ignore `self-insert-iso'.
952
953 * emulation/cua-base.el (cua--prefix-copy-handler)
954 (cua--prefix-cut-handler): Rely on region-extract-function rather than
955 checking cua--rectangle.
956 (cua-delete-region): Use region-extract-function.
957 (cua-replace-region): Delete function.
958 (cua-copy-region, cua-cut-region): Obey region-extract-function.
959 (cua--pre-command-handler-1): Don't do the delete-selection thing.
960 (cua--self-insert-char-p): Ignore `self-insert-iso'.
961 (cua--init-keymaps): Don't remap delete-selection commands.
962 (cua-mode): Use delete-selection-mode instead of rolling our own
963 (bug#16085).
964
965 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
966 Obey region-extract-function.
967
00a2b823
SM
968 Make registers and delete-selection-mode work on rectangles.
969 * register.el (describe-register-1): Don't modify the register's value.
970 (copy-to-register): Obey region-extract-function.
971 * delsel.el (delete-active-region): Obey region-extract-function.
972
a92fa5f1
LL
9732013-12-08 Leo Liu <sdl.web@gmail.com>
974
975 * progmodes/flymake.el (flymake, flymake-error-bitmap)
976 (flymake-warning-bitmap, flymake-fringe-indicator-position)
977 (flymake-compilation-prevents-syntax-check)
978 (flymake-start-syntax-check-on-newline)
979 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
980 (flymake-start-syntax-check-on-find-file, flymake-log-level)
981 (flymake-xml-program, flymake-master-file-dirs)
982 (flymake-master-file-count-limit)
983 (flymake-allowed-file-name-masks): Relocate.
984 (flymake-makehash, flymake-float-time)
985 (flymake-replace-regexp-in-string, flymake-split-string)
986 (flymake-get-temp-dir): Remove.
987 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
988 (flymake-current-row, flymake-selected-frame)
989 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
990 related functions. (Bug#16077)
991
73c8ceea
BB
9922013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
993
994 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
995
faec28d9
TH
9962013-12-07 Tassilo Horn <tsdh@gnu.org>
997
998 * help-fns.el (describe-function-1): Use new advice-* functions
999 rather than old ad-* functions. Fix function type description and
1000 source links for advised functions and subrs.
1001
e330b646
LMI
10022013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1003
00a2b823 1004 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1005
4803595d
MA
10062013-12-06 Michael Albinus <michael.albinus@gmx.de>
1007
1008 * progmodes/compile.el (compilation-start):
1009 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1010
1011 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1012 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1013
fa834a93
DG
10142013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1015
00a2b823
SM
1016 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1017 Touch up the last change.
fa834a93 1018
b2856a6f
LL
10192013-12-06 Leo Liu <sdl.web@gmail.com>
1020
1021 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1022 (inferior-octave-startup): Always use "octave> " for prompt.
1023 (octave-goto-function-definition)
1024 (octave-sync-function-file-names)
1025 (octave-find-definition-default-filename): Remove redundant backquotes.
1026
af67e79a
DG
10272013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1028
1029 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1030 syntax for `?'.
1031 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1032 where appropriate already.
1033 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1034 end of method names (Bug#15874).
1035
bf093209
JL
10362013-12-06 Juri Linkov <juri@jurta.org>
1037
1038 * isearch.el (isearch--saved-overriding-local-map):
1039 New internal variable.
1040 (isearch-mode): Set it to the initial value of
1041 `overriding-terminal-local-map'.
1042 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1043 with `isearch--saved-overriding-local-map'. (Bug#16035)
1044
16588fad
DG
10452013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1046
00a2b823
SM
1047 * progmodes/octave.el (inferior-octave-completion-table):
1048 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1049 (Bug#11906). Update all references.
1050
1051 * minibuffer.el (completion-table-with-cache): New function.
1052
bf4906d7
CD
10532013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1054
1055 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1056
ff69c18f
TZ
10572013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1058
1059 * net/eww.el (eww-current-source): New variable to store page
1060 source.
1061 (eww-display-html, eww-mode, eww-save-history)
1062 (eww-restore-history): Use it.
1063 (eww-view-source): New command to view page source.
1064 Opportunistically uses `html-mode' to highlight the buffer.
1065 (eww-mode-map): Install it.
1066
b85eff45
MA
10672013-12-05 Michael Albinus <michael.albinus@gmx.de>
1068
1069 * net/dbus.el (dbus-unregister-service)
1070 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1071 Fix docstring.
1072 (dbus-unregister-service): Skip :serial entries in
1073 `dbus-registered-objects-table'.
1074 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1075
39eb0899
TZ
10762013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1077
1078 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1079 around keywords with extra `split-string' argument.
1080
456760a5
MR
10812013-12-04 Martin Rudalics <rudalics@gmx.at>
1082
1083 * windmove.el (windmove-other-window-loc): Handle navigation
1084 between windows (excluding the minibuffer window - Bug#16017).
1085
81961e4c
MA
10862013-12-04 Michael Albinus <michael.albinus@gmx.de>
1087
1088 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1089 in D-Bus type syntax.
1090 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1091 preserve unibyte strings. (Bug#16048)
1092
8497f938
SM
10932013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1096 Call force-mode-line-update is the proper buffer (bug#16042).
1097
dda61916
DG
10982013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1099
1100 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1101 `log-edit-remember-comment', make argument optional. Adjust all
1102 callers.
1103 (log-edit-mode): Add `log-edit-remember-comment' to
1104 `kill-buffer-hook' locally.
1105 (log-edit-kill-buffer): Don't remember comment explicitly since
1106 the buffer is killed anyway.
1107
c085e5b9
JL
11082013-12-04 Juri Linkov <juri@jurta.org>
1109
1110 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1111 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1112
e0eb0550 11132013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1114
1115 * notifications.el (notifications-close-notification): Call the
81961e4c 1116 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1117
39fa32d6
KY
11182013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1119
1120 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1121
9139632a
JL
11222013-12-03 Juri Linkov <juri@jurta.org>
1123
1124 * progmodes/compile.el (compilation-start): Rename window alist
1125 entry `no-display-ok' to `allow-no-window'.
1126
1127 * simple.el (shell-command): Add window alist entry
1128 `allow-no-window' to `display-buffer'.
1129 (async-shell-command): Doc fix.
1130
1131 * window.el (display-buffer-no-window): New action function.
1132 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1133
0f457a37
DG
11342013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1135
1136 * vc/log-edit.el (log-edit-set-header): Extract from
1137 `log-edit-toggle-header'.
1138 (log-edit-extract-headers): Separate the summary, when extracted
1139 from header, from the rest of the message with an empty line.
1140
1141 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1142 line, if present, to the Summary header.
1143
0962f376
SM
11442013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1145
1146 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1147 in current-buffer (bug#16029).
1148
f345395c
HE
11492013-12-02 Helmut Eller <eller.helmut@gmail.com>
1150
1151 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1152 (debugger-mode-map): Bind it.
1153 (debugger--backtrace-base): New function.
1154 (debugger-eval-expression): Use it.
1155 (debugger-frame-number): Skip local vars when present.
1156 (debugger--locals-visible-p, debugger--insert-locals)
1157 (debugger--show-locals, debugger--hide-locals): New functions.
1158
a8a15d9d
MA
11592013-12-02 Michael Albinus <michael.albinus@gmx.de>
1160
1161 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1162 "LC_ALL".
1163 (tramp-get-remote-locale): New defun.
1164 (tramp-open-connection-setup-interactive-shell): Use it.
1165
0518b057
LL
11662013-12-02 Leo Liu <sdl.web@gmail.com>
1167
1168 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1169
1170 * progmodes/sh-script.el (sh-shell-process):
1171 * progmodes/octave.el (inferior-octave-process-live-p):
1172 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1173 (gdb-inferior-io-sentinel):
1174 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1175
3adc9c6d
DG
11762013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1177
1178 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1179 `save-selected-window' to `log-edit-hide-buf'. This makes
1180 `log-edit-show-files' idempotent.
1181 (log-edit-show-files): Mark the new window as dedicated.
1182
47e8b74e
DG
11832013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1184
1185 * vc/log-edit.el (log-edit-mode-map): Add binding for
1186 `log-edit-kill-biffer'.
1187 (log-edit-hide-buf): Add a FIXME comment.
1188 (log-edit-add-new-comment): New function, extracted from
1189 `log-edit-done'.
1190 (log-edit-done, log-edit-add-to-changelog): Use it.
1191 (log-edit-kill-buffer): New command.
1192
1f6e1bb0
LMI
11932013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1194
1195 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1196 instead of killing the buffer.
1197
fb651d15
SM
11982013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1201
8feacce0
RS
12022013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1203
fb651d15 1204 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1205 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1206 (eww-form-checkbox, eww-toggle-checkbox):
1207 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1208
e0eb0550 1209 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1210 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1211 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1212 no :src tag was specified.
1213
fb651d15 1214 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1215 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1216 Use \\` to match beginning of string instead of ^.
1217 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1218 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1219
177948a5
RS
1220 * net/shr.el (shr-tag-video): Display content for video if no
1221 poster is available.
eb2dd24d 1222 (shr-tag-audio): Add support for <audio> tag.
177948a5 1223
e0eb0550 1224 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1225 (eww-process-text-input): Treat input types in
1226 `eww-text-input-types' as text.
1227
8feacce0
RS
1228 * net/shr.el (shr-tag-table): Fix comment typo.
1229
513562a1
LMI
12302013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1231
1232 * net/eww.el (eww-follow-link): New command to avoid reloading
1233 pages when we follow #target links (bug#15243).
de8a5633 1234 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1235
9dd99753
KN
12362013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1237
1238 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1239 forms.
1240
3e9876de
LMI
12412013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1242
1243 * net/eww.el (eww-restore-history): Update the window title after
1244 moving in the history.
ab6dea82 1245 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1246
52789f7f
DG
12472013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1248
1249 * vc/log-edit.el (log-edit-mode-map): Add binding for
1250 `log-edit-beginning-of-line'.
1251 (log-edit-setup-add-author): New user option.
1252 (log-edit-beginning-of-line): New command.
1253 (log-edit): Move major mode call above the contents setup so that
1254 the local variable values are already applied.
1255 (log-edit): Only insert "Author: " when
1256 `log-edit-setup-add-author' is non-nil.
1257 (log-edit): When SETUP is non-nil, position point after ": "
1258 instead of point-min.
1259
2e6710c3
GM
12602013-12-01 Glenn Morris <rgm@gnu.org>
1261
1262 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1263
fadec31f
EZ
12642013-11-30 Eli Zaretskii <eliz@gnu.org>
1265
1266 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1267 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1268 visible. (Bug#16014)
1269
10634b40 12702013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1271
1272 Support resizing frames and windows pixelwise.
1273 * cus-start.el (frame-resize-pixelwise)
1274 (window-resize-pixelwise): New entries.
1275 * emacs-lisp/debug.el (debug): Use window-total-height instead
1276 of window-total-size.
1277 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1278 * help.el (describe-bindings-internal): Call help-buffer
1279 (temp-buffer-max-width): New option.
1280 (resize-temp-buffer-window, help-window-setup)
1281 (with-help-window): Rewrite.
1282 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1283 dragging dividers.
1284 * window.el (frame-char-size, window-min-pixel-height)
1285 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1286 (window-min-pixel-width, window-safe-min-pixel-size)
1287 (window-combination-p, window-safe-min-size)
1288 (window-resizable-p, window--size-to-pixel)
1289 (window--pixel-to-size, window--resize-apply-p): New functions.
1290 (window-safe-min-height): Fix doc-string.
1291 (window-size, window-min-size, window--min-size-1)
1292 (window-sizable, window-sizable-p, window--min-delta-1)
1293 (window-min-delta, window--max-delta-1, window-max-delta)
1294 (window--resizable, window--resizable-p, window-resizable)
1295 (window-full-height-p, window-full-width-p, window-at-side-p)
1296 (window--in-direction-2, window-in-direction)
1297 (window--resize-reset-1, window--resize-mini-window)
1298 (window-resize, window-resize-no-error)
1299 (window--resize-child-windows-normal)
1300 (window--resize-child-windows, window--resize-siblings)
1301 (window--resize-this-window, window--resize-root-window)
1302 (window--resize-root-window-vertically)
1303 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1304 (maximize-window, minimize-window, delete-window)
1305 (quit-restore-window, window-split-min-size, split-window)
1306 (balance-windows-2, balance-windows)
1307 (balance-windows-area-adjust, balance-windows-area)
1308 (window--state-get-1, window-state-get, window--state-put-1)
1309 (window--state-put-2, window-state-put)
fb651d15
SM
1310 (display-buffer-record-window, window--display-buffer):
1311 Make functions handle pixelwise sizing of windows.
880e6158 1312 (display-buffer--action-function-custom-type)
fb651d15
SM
1313 (display-buffer-fallback-action):
1314 Add display-buffer-in-previous-window.
880e6158
MR
1315 (display-buffer-use-some-window): Resize window to height it had
1316 before.
1317 (fit-window-to-buffer-horizontally): New option.
1318 (fit-frame-to-buffer): Describe new values.
1319 (fit-frame-to-buffer-bottom-margin): Replace with
1320 fit-frame-to-buffer-margins.
1321 (window--sanitize-margin): New function.
1322 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1323 using window-text-pixel-size.
1324
f9b697dd
GM
13252013-11-30 Glenn Morris <rgm@gnu.org>
1326
3e2fb4db
GM
1327 * emacs-lisp/bytecomp.el (byte-compile-form):
1328 Make the `interactive-only' warning like the `obsolete' one.
1329 * comint.el (comint-run):
1330 * files.el (insert-file-literally, insert-file):
1331 * replace.el (replace-string, replace-regexp):
1332 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1333 (goto-line, insert-buffer, next-line, previous-line):
1334 Tweak `interactive-only' spec.
1335
f9b697dd
GM
1336 Stop keeping (most) generated cedet grammar files in the repository.
1337 * Makefile.in (semantic): New.
1338 (compile-main): Depend on semantic.
1339
da048127
SM
13402013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1341
7784b779
SM
1342 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1343 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1344
4e36a6a6
SM
1345 * uniquify.el (uniquify-buffer-name-style): Change default.
1346
1347 * loadup.el: Preload "uniquify".
1348
e0ba1308
SM
1349 * time.el (display-time-update): Update all mode lines (bug#15999).
1350
da048127
SM
1351 * electric.el (electric-indent-mode): Enable by default.
1352 * loadup.el: Preload "electric".
1353
015b3b3e
BB
13542013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1355
1356 * emacs-lisp/helpers.el (string-empty-p): New function.
1357 (string-blank-p): New function.
1358
7efb806d
AP
13592013-11-29 Andreas Politz <politza@hochschule-trier.de>
1360
1361 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1362 (Bug#14029).
1363
c8f0efc2
AP
13642013-11-29 Andreas Politz <politza@fh-trier.de>
1365 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1366 allow non-lambda lists as functions.
1367 (imenu--in-alist): Don't recurse into non-subalists.
1368 (imenu): Don't pass function itself as an argument (Bug#14029).
1369
bd15d9d1
SM
13702013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1371
1372 * progmodes/python.el (python-mode-map): Remove binding for ":".
1373 (python-indent-electric-colon): Remove command.
1374 (python-indent-post-self-insert-function): Integrate the previous code
1375 of python-indent-electric-colon. Make it conditional on
1376 electric-indent-mode.
1377 (python-mode): Add ?: to electric-indent-chars.
1378 Move python-indent-post-self-insert-function to the end of
1379 post-self-insert-hook.
1380
1b10adb6
SM
13812013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1382
655ab9a3
SM
1383 * doc-view.el (doc-view-goto-page): Update mode-line.
1384
1b10adb6
SM
1385 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1386
7e3bf78c
GM
13872013-11-27 Glenn Morris <rgm@gnu.org>
1388
1389 * international/charprop.el, international/uni-bidi.el:
1390 * international/uni-category.el, international/uni-combining.el:
1391 * international/uni-comment.el, international/uni-decimal.el:
1392 * international/uni-decomposition.el, international/uni-digit.el:
1393 * international/uni-lowercase.el, international/uni-mirrored.el:
1394 * international/uni-name.el, international/uni-numeric.el:
1395 * international/uni-old-name.el, international/uni-titlecase.el:
1396 * international/uni-uppercase.el:
1397 Remove generated files from VCS repository.
1398
fb6a5d68
EZ
13992013-11-27 Eli Zaretskii <eliz@gnu.org>
1400
1401 * filenotify.el (file-notify-add-watch): Don't special-case
1402 w32notify when computing the directory to watch.
1403
cb6c95a3
GM
14042013-11-27 Glenn Morris <rgm@gnu.org>
1405
20372d0c
GM
1406 Make bootstrap without generated uni-*.el files possible again.
1407 * loadup.el: Update command-line-args checking for unidata-gen.
1408 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1409 * composite.el, international/characters.el:
1410 Handle unicode tables being undefined.
1411
52d6635f 1412 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1413 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1414 (compile-main): Depend on leim rule.
1415 (leim): New rule.
1416 * loadup.el: Move leim-list.el to leim/ subdirectory.
1417 * startup.el (normal-top-level): No more leim directory.
1418 * international/ja-dic-cnv.el (skkdic-convert):
1419 Disable version-control and autoloads in output files.
1420 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1421 Disable version-control and autoloads in output files.
1422 * leim/quail: Move here from ../leim.
1423 * leim/quail/hangul.el (hangul-input-method-activate):
1424 Add autoload cookie.
1425 (generated-autoload-load-name): Set file-local value.
1426 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1427 (generated-autoload-load-name): Set file-local value.
1428
0449d6cd 14292013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee 1430
e0eb0550
JB
1431 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1432 (eww-add-bookmark): Ask confirmation when add to bookmarks
1433 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1434
0e2c793f
EZ
14352013-11-26 Eli Zaretskii <eliz@gnu.org>
1436
1437 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1438 reading output from Diff on MS-Windows and MS-DOS.
1439
447bdcb8
BB
14402013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1441
1442 * emacs-lisp/helpers.el (string-reverse): New function.
1443
5fbf6856
MA
14442013-11-26 Michael Albinus <michael.albinus@gmx.de>
1445
1446 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1447 names on MS Windows, like "/[::1]:".
1448
1449 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1450 SWITCHES.
1451
624780f0
GM
14522013-11-26 Glenn Morris <rgm@gnu.org>
1453
0bf3f0fa
GM
1454 * progmodes/python.el (python-indent-guess-indent-offset):
1455 Avoid corner-case error. (Bug#15975)
1456
624780f0
GM
1457 Preload leim-list.el. (Bug#4789)
1458 * loadup.el: Load leim-list.el when found.
1459 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1460
4301875e 14612013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1462
1463 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1464
4301875e
BB
1465 * emacs-lisp/helpers.el (string-join): New function.
1466
1633a815 14672013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1468
1469 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1470 Mark as obsolete and replace it with a symbol property.
1471 (byte-compile-form): Use new 'interactive-only property.
1472 * comint.el, files.el, replace.el, simple.el:
1473 Apply new 'interactive-only properly.
1474
00139435
MR
14752013-11-25 Martin Rudalics <rudalics@gmx.at>
1476
1477 * window.el (display-buffer-at-bottom): Make sure that
1478 split-window-sensibly creates the new window on bottom
1479 (Bug#15961).
1480
5f5b128d
DK
14812013-11-23 David Kastrup <dak@gnu.org>
1482
1483 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1484 on the conflict markers when available.
1485 (smerge--get-marker): New function.
1486 (smerge-end-re, smerge-base-re): Add subgroup.
1487
623891e5
SM
14882013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * frame.el (handle-focus-in, handle-focus-out): Add missing
1491 interactive spec.
1492
05ca27d8
MA
14932013-11-25 Michael Albinus <michael.albinus@gmx.de>
1494
1495 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1496 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1497
511fa0d3
SM
14982013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1499
e82ad66c
SM
1500 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1501 (gomoku--last-pos): New var.
1502 (gomoku--intangible-chars): New const.
1503 (gomoku--intangible): New function.
1504 (gomoku-mode): Use it. Derive from special-mode.
1505 (gomoku-move-up): Adjust line count.
1506 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1507 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1508 Simplify accordingly.
1509
511fa0d3
SM
1510 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1511 Remove blink-cursor code.
1512 (blink-cursor-timer-function, blink-cursor-suspend):
1513 Don't special-case GUIs.
1514 (blink-cursor-mode): Use focus-in/out-hook.
1515
6f20dd03
DG
15162013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1517
1518 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1519 work when annotation is invisible (Bug#13886).
1520
431dec31 15212013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1522
1523 * json.el (json-alist-p): Only return non-nil if the alist has
1524 simple keys (Bug#13518).
1525
431dec31 15262013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1527
1528 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1529 when control-statement is the first statement in a buffer (Bug#15956).
1530
ee4f0261
DG
15312013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1532
1533 * imenu.el (imenu-generic-skip-comments-and-strings):
1534 New option (Bug#15560).
1535 (imenu--generic-function): Use it.
1536
c484f866
JS
15372013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1538
1539 * minibuffer.el (completion--in-region-1): Scroll the correct
1540 window. (Bug#13898)
1541
41ce6f70
BB
15422013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1543
b55aea38
BB
1544 * emacs-lisp/helpers.el: Add some string helpers.
1545 (string-trim-left): Removes leading whitespace.
1546 (string-trim-right): Removes trailing whitespace.
1547 (string-trim): Removes leading and trailing whitespace.
1548
41ce6f70
BB
1549 * subr.el (string-suffix-p): New function.
1550
3cfb6af3
GM
15512013-11-23 Glenn Morris <rgm@gnu.org>
1552
1553 * progmodes/python.el (python-shell-send-file):
1554 Add option to delete file when done. (Bug#15647)
1555 (python-shell-send-string, python-shell-send-region): Use it.
1556
c27924b7
IS
15572013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1558
e1b01c7f
IS
1559 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1560 to set buffer-read-only to t, never to nil. (Bug#15938)
1561
c27924b7
IS
1562 * textmodes/tex-mode.el (latex-noindent-environments):
1563 Add safe-local-variable property. (Bug#15936)
1564
17e0445b
GM
15652013-11-23 Glenn Morris <rgm@gnu.org>
1566
92f78ea3
GM
1567 * textmodes/enriched.el (enriched-mode): Doc fix.
1568 * emacs-lisp/authors.el (authors-renamed-files-alist):
1569 Add enriched.doc -> enriched.txt.
1570
17e0445b
GM
1571 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1572
965bb23a
LL
15732013-11-22 Leo Liu <sdl.web@gmail.com>
1574
1575 * progmodes/octave.el (inferior-octave-startup): Spit out error
1576 message.
1577
d19ffd64
BB
15782013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1579
1580 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1581 Improve docstring.
15ba2182
BB
1582 Add :version.
1583 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1584
7a7567d2
LL
15852013-11-22 Leo Liu <sdl.web@gmail.com>
1586
1587 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1588 (Bug#15076)
8c09f64b
LL
1589 (octave-help-mode): Adapt to change to help-mode-finish to use
1590 derived-mode-p on 2013-09-17.
1591 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1592 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1593
724bc265
LL
15942013-11-22 Leo Liu <sdl.web@gmail.com>
1595
1596 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1597 (inferior-octave-startup, inferior-octave-check-process)
1598 (inferior-octave-track-window-width-change)
1599 (octave-completion-at-point, octave-eldoc-function): Use it.
1600 (octave-kill-process): Provide confirmation. (Bug#10564)
1601
38637cca
LL
16022013-11-21 Leo Liu <sdl.web@gmail.com>
1603
511fa0d3
SM
1604 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1605 Fix obsolete variable comment-use-global-state.
38637cca 1606
06e752b4
RS
16072013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1608
511fa0d3
SM
1609 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1610 Add `octave-source-file'.
06e752b4
RS
1611 (octave-source-file): New function. (Bug#15935)
1612
0449d6cd 16132013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1614
1615 * net/eww.el (eww-local-regex): New variable.
1616 (eww): Use it to detect localhost and similar.
1617
b6ffa04a
LL
16182013-11-21 Leo Liu <sdl.web@gmail.com>
1619
1620 Add completion for command `ag'.
2021a200
LL
1621 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1622 (pcomplete/ag): New function.
1623 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1624
d1a6bccc
SM
16252013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1626
1627 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1628 (bug#14646).
1629 (make-obsolete): Remove interactive spec.
1630
2df10228
GM
16312013-11-21 Glenn Morris <rgm@gnu.org>
1632
1633 * startup.el (command-line-1): Use path-separator with -L.
1634
86fd16b6
TZ
16352013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1636
1637 * emacs-lisp/package.el (describe-package-1): Add package archive
1638 to shown fields.
1639
0449d6cd 16402013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1641
1642 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1643 Change default to "# encoding: %s" to differentiate it from the
1644 default Ruby encoding comment template.
1645
dc7e8c17 16462013-11-20 era eriksson <era+emacsbugs@iki.fi>
1647
1648 * ses.el (ses-mode): Doc fix. (Bug#14748)
1649
f0cfa5fe
LL
16502013-11-20 Leo Liu <sdl.web@gmail.com>
1651
1652 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1653
826dc7b6
DN
16542013-11-19 Dan Nicolaescu <dann@gnu.org>
1655
1656 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1657 when rebase or bisect are in progress.
1658
a6e3a5d5
XF
16592013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1660
1661 * filenotify.el (file-notify-add-watch): Doc fix.
1662
f130cb76
LL
16632013-11-19 Leo Liu <sdl.web@gmail.com>
1664
e0855d7d
LL
1665 * obsolete/rcompile.el: Mark obsolete.
1666
f130cb76 1667 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1668 (compilation-goto-locus, compilation-find-file):
1669 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1670 (Bug#13594)
1671
1672 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1673 new parameter no-display-ok. Return either a window or nil
1674 but never a non-window value.
f130cb76 1675
1f35d401
SM
16762013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1677
25158c76
SM
1678 * electric.el (electric-indent-mode-map): Remove.
1679 (electric-indent-mode): Change the global-map instead (bug#15915).
1680
1681 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1682 Use add-function.
1f35d401 1683
9bc67baa
SM
16842013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1685
986545b5
SM
1686 * emacs-lisp/nadvice.el (remove-function): Align with
1687 add-function's behavior.
1688
9bc67baa
SM
1689 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1690 (gdb--string-regexp): New constant.
1691 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1692 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1693 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1694 submatch 1.
1695 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1696 Adjust use accordingly.
1697 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1698
56cd894e
AS
16992013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1700
1701 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1702 interpolation curlies (Bug#15914).
1703
014690de
JB
17042013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1705
1706 * calc/calc.el (calc-context-sensitive-enter): New variable.
1707 (calc-enter): Use `calc-context-sensitive-enter'.
1708
7e26a6c3
TZ
17092013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1710
1711 * progmodes/cfengine.el: Version bump.
1712 (cfengine-cf-promises): New defcustom to locate cf-promises.
1713 (cfengine3-vartypes): Add new "data" type.
1714 (cfengine3--current-word): New function to get current name-like
1715 word or its bounds.
1716 (cfengine3--current-function): New function to look up a CFEngine
1717 function's definition.
1718 (cfengine3-format-function-docstring): New function.
1719 (cfengine3-make-syntax-cache): New function.
1720 (cfengine3-documentation-function): New function: ElDoc glue.
1721 (cfengine3-completion-function): New function: completion glue.
1722 (cfengine3-mode): Set `compile-command',
1723 `eldoc-documentation-function', and add to
1724 `completion-at-point-functions'.
1725
355204dd
MA
17262013-11-16 Michael Albinus <michael.albinus@gmx.de>
1727
1728 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1729 `tramp-current-connection'.
1730
43cebc23
DG
17312013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1732
1733 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1734 nil/self/true/false with "end of symbol".
1735
a3fed6ff
BB
17362013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1737
1738 * subr.el (version-regexp-alist): Fix a typo.
1739
e675b3e4
MA
17402013-11-15 Michael Albinus <michael.albinus@gmx.de>
1741
1742 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1743 "en_US.utf8" and "LC_CTYPE" to "".
1744 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1745 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1746
a1f03e89
LL
17472013-11-15 Leo Liu <sdl.web@gmail.com>
1748
1749 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1750
5d9d9451
SM
17512013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1752
58362662
CS
1753 * progmodes/gud.el (ctl-x-map):
1754 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1755 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1756
6c1bf086
BB
17572013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1758
0d5363c4
BB
1759 * subr.el (version-regexp-alist):
1760 Recognize hg, svn and darcs versions as snapshot versions.
1761
4e9fc48c
BB
1762 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1763 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1764 (ruby--encoding-comment-required-p): Extract from
1765 `ruby-mode-set-encoding'.
1766 (ruby-mode-set-encoding): Add the ability to always insert an
1767 utf-8 encoding comment. Fix and simplify coding comment update
1768 logic.
6c1bf086 1769
2f7e72f8
MA
17702013-11-14 Michael Albinus <michael.albinus@gmx.de>
1771
1772 * net/tramp-gvfs.el (top): Run init code only when
1773 `tramp-gvfs-enabled' is not nil.
1774 (tramp-gvfs-enabled): Check also :system bus.
1775
0f137a73
SM
17762013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 Sync with upstream verilog-mode revision 78e66ba.
1779 * progmodes/verilog-mode.el (verilog-end-of-defun)
1780 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1781 (verilog-get-end-of-defun): Remove unused argument.
1782 (verilog-comment-depth): Remove unused local `e'.
1783 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1784 Don't pass arg to verilog-get-end-of-defun.
1785
1c276bdd
GM
17862013-11-14 Glenn Morris <rgm@gnu.org>
1787
1788 * obsolete/assoc.el (aget): Prefix dynamic variable.
1789
1790 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1791
ff6ec81d
SM
17922013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1793
1794 * widget.el, hfy-cmap.el: Remove bogus package version number.
1795
75f777b6
GM
17962013-11-13 Glenn Morris <rgm@gnu.org>
1797
1d43dba1
GM
1798 * replace.el (replace-eval-replacement):
1799 Try to give more helpful error message. (Bug#15836)
1800
ff4b7bd5
GM
1801 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1802 (archive-7z-update): Avoid custom type mismatches.
1803
75f777b6
GM
1804 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1805
11151a06
MA
18062013-11-13 Michael Albinus <michael.albinus@gmx.de>
1807
e675b3e4 1808 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1809 address can be empty.
1810
1811 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1812 Accept nil SWITCHES.
1813 (tramp-gvfs-handle-write-region): Implement APPEND.
1814
7b08f97e
DG
18152013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1816
1817 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1818 binary "|" operator and closing block args delimiter.
1819 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1820 (ruby-smie--implicit-semi-p): Not after "|" operator.
1821 (ruby-smie--closing-pipe-p): New function.
1822 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1823 (ruby-smie-rules): Indent after "|".
1824
f201cf3a
GM
18252013-11-12 Glenn Morris <rgm@gnu.org>
1826
1827 * ps-print.el (ps-face-attribute-list):
1828 Handle anonymous faces. (Bug#15827)
1829
e6f759f9
MR
18302013-11-12 Martin Rudalics <rudalics@gmx.at>
1831
1832 * window.el (display-buffer-other-frame): Fix doc-string.
1833 (Bug#15868)
1834
ecda65d4
SM
18352013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1838
7ce8fcc3
MA
18392013-11-11 Michael Albinus <michael.albinus@gmx.de>
1840
1841 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1842 (tramp-sh-handle-file-local-copy): Don't write a message when
1843 saving temporary files.
1844
1845 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1846 both directories are remote.
1847 (tramp-smb-handle-directory-files): Do not return double entries.
1848 Do not expand full file names.
1849 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1850 (tramp-smb-handle-write-region): Implement APPEND.
1851 (tramp-smb-get-stat-capability): Fix a stupid bug.
1852
7818df11
SM
18532013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1854
1855 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1856
608c2085
NT
18572013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1858
1859 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1860 throwing error over malformed let/let* (bug#15814).
1861
122a7e46
SM
18622013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1863
1864 * iswitchb.el (iswitchb-mode): Mark obsolete.
1865
766284d9
GM
18662013-11-11 Glenn Morris <rgm@gnu.org>
1867
1868 * international/uni-bidi.el, international/uni-category.el:
1869 * international/uni-name.el, international/uni-numeric.el:
1870 Regenerate for Unicode 6.3.0.
1871
7072a4e9
MA
18722013-11-10 Michael Albinus <michael.albinus@gmx.de>
1873
1874 * net/tramp.el (tramp-methods):
1875 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1876 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1877
c9df215b
AS
18782013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1879
608c2085
NT
1880 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1881 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1882
fa47d796
DG
18832013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1884
1885 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1886 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1887 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1888 (ispell-complete-word): Call `ispell-lookup-words' with the value
1889 independent of `ispell-look-p'.
1890
1629a329
DG
18912013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1892
1893 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1894 Not after "||".
1895 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1896 their parent.
1897
ad16897c
SM
18982013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1901 (ruby-font-lock-keywords): Use backquote.
1902
ffa2df72
DG
19032013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1904
1905 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1906 (ruby-smie--backward-token): Only consider full-string matches.
1907
5b97b4c0
JD
19082013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1909
1910 * faces.el (describe-face): Add distant-foreground.
1911
71731c03
BB
19122013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1913
4e9fc48c
BB
1914 * progmodes/ruby-mode.el: Improve encoding comment handling.
1915 (ruby-encoding-magic-comment-style): New option.
1916 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1917 (ruby--insert-coding-comment, ruby--detect-encoding):
1918 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1919 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1920 to control the style of the auto-inserted encoding comment.
71731c03 1921
da3b328d
DG
19222013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1923
ad16897c
SM
1924 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1925 Use `smie-backward-sexp' with token argument.
da3b328d 1926
1606c2d3
MA
19272013-11-08 Michael Albinus <michael.albinus@gmx.de>
1928
1929 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1930 Remove instrumentation code.
1931
b0f4c320
GM
19322013-11-08 Glenn Morris <rgm@gnu.org>
1933
1934 * progmodes/autoconf.el (autoconf-mode):
1935 Tweak comment-start-skip. (Bug#15822)
1936
43668fb1
SM
19372013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1940 at bobp (bug#15826).
1941 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1942
daddb3fd
DH
19432013-11-08 Darren Hoo <darren.hoo@gmail.com>
1944
1945 * man.el (Man-start-calling): New macro, extracted from
1946 Man-getpage-in-background.
1947 (Man-getpage-in-background): Use it.
1948 (Man-update-manpage): New command.
1949 (Man-mode-map): Bind it.
1950
1f923923
DG
19512013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1952
1953 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1954 of "and", "or", "&&" and "||".
1955 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1956 argument. Prohibit opening curly brace because it could only be a
1957 block opener in that position.
daddb3fd
DH
1958 (ruby-smie--forward-token, ruby-smie--backward-token):
1959 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1960 arguments.
1961 (ruby-smie--indent-to-stmt): New function, seeks the end of
1962 previous statement or beginning of buffer.
1963 (ruby-smie-rules): Use it.
1964 (ruby-smie-rules): Check if there's a ":" before a curly block
1965 opener candidate; if there is, it's a hash.
1966
3220d527
SM
19672013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1970 (cl--block-wrapper): Fix last accidental change.
1971
1eb1f9e0
MA
19722013-11-07 Michael Albinus <michael.albinus@gmx.de>
1973
1974 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1975 Instrument, in order to hunt failure on hydra.
1976
e6e4db3c
NT
19772013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1978
1979 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1980 malformed bindings form (bug#15814).
1981
b420ccfc
DG
19822013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1983
1984 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1985 "." compared to " @ ". This incidentally fixes some indentation
1986 examples with "do".
e6e4db3c 1987 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1988 (ruby-smie-grammar): New tokens: "and" and "or".
1989 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1990 Exclude "and" and "or". Remove "do" in order to work around token
1991 priorities.
1992 (ruby-smie-rules): Add all infix tokens. Handle the case of
1993 beginning-of-buffer.
b420ccfc 1994
6b4ac03e
GM
19952013-11-06 Glenn Morris <rgm@gnu.org>
1996
1997 * Makefile.in (setwins_almost, setwins_for_subdirs):
1998 Avoid accidental matches.
1999
5ca114d1
SM
20002013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * menu-bar.el (popup-menu): Use key-binding.
2003
f72552bd
EZ
20042013-11-06 Eli Zaretskii <eliz@gnu.org>
2005
2006 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2007 menus, support also the menus produced by minor modes.
2008 (Bug#15817)
2009
5d5c701e
LL
20102013-11-06 Leo Liu <sdl.web@gmail.com>
2011
2012 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2013 DISTANCE to bound the search. All uses changed. (Bug#15808)
2014
0a8b75e2
GM
20152013-11-06 Glenn Morris <rgm@gnu.org>
2016
2017 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2018 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2019 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2020
a35287ea
SM
20212013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2022
feca4e2d
SM
2023 * electric.el (electric-indent-just-newline): New command.
2024 (electric-indent-mode-map): New keymap.
2025 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2026 Re-add :group which weren't redundant.
2027
a35287ea
SM
2028 * electric.el (electric-indent-local-mode): New minor mode.
2029 (electric-indent-functions-without-reindent): New var.
2030 (electric-indent-post-self-insert-function): Use it.
2031 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2032
375761b2
EZ
20332013-11-05 Eli Zaretskii <eliz@gnu.org>
2034
9a6ad735
EZ
2035 * international/quail.el (quail-help): Be more explicit about the
2036 meaning of the labels shown on the keys. (Bug#15800)
2037
375761b2
EZ
2038 * startup.el (normal-top-level): Load the subdirs.el files before
2039 setting the locale environment. (Bug#15805)
2040
520a6e4a
SM
20412013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2042
0acfafef
SM
2043 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2044 via arguments so as to get the right ones (bug#15418).
2045
520a6e4a
SM
2046 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2047
15826261
MA
20482013-11-05 Michael Albinus <michael.albinus@gmx.de>
2049
2050 Fix problems found while writing a test suite.
2051
2052 * net/tramp-compat.el (tramp-compat-load): New defun.
2053 * net/tramp.el (tramp-handle-load): Use it.
2054
2055 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2056 "(numberp ok-if-already-exists)" correctly.
2057
d35f31a4
XF
20582013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2059
2060 * international/characters.el (glyphless-char-display-control):
2061 Add usage note.
2062
ae93bc74
BB
20632013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2064
520a6e4a
SM
2065 * progmodes/python.el (python-mode):
2066 * progmodes/scheme.el (scheme-mode):
2067 * progmodes/prolog.el (prolog-mode):
2068 * progmodes/ruby-mode.el (ruby-mode):
2069 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2070 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2071
0ade65b5
SM
20722013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2073
a0d5f7a4
SM
2074 * rect.el (rectangle--highlight-for-redisplay):
2075 * emacs-lisp/smie.el (smie--next-indent-change):
2076 Use buffer-chars-modified-tick.
2077
c93f3f5c
SM
2078 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2079
0ade65b5
SM
2080 * electric.el (electric-indent-post-self-insert-function):
2081 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2082
ef9dd188
HE
20832013-11-04 Helmut Eller <eller.helmut@gmail.com>
2084
2085 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2086
306e7308
NT
20872013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2088
2089 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2090 (bug#15786).
2091
e5afbcac
SM
20922013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2093
1d01ad41
SM
2094 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2095
e5afbcac
SM
2096 * progmodes/python.el: Fix up last change.
2097 (python-shell--save-temp-file): New function.
2098 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2099 `string' comes from the current buffer.
2100 (python-shell-send-string-no-output): Remove `msg' arg.
2101 (python--use-fake-loc): New var.
2102 (python-shell-buffer-substring): Obey it. Try to compensate for the
2103 extra coding line added by python-shell--save-temp-file.
2104 (python-shell-send-region): Use python-shell--save-temp-file and
2105 python-shell-send-file directly. Add `nomain' argument.
2106 (python-shell-send-buffer): Use python-shell-send-region.
2107 (python-electric-pair-string-delimiter): New function.
2108 (python-mode): Use it.
2109
d0065ff1
EZ
21102013-11-04 Eli Zaretskii <eliz@gnu.org>
2111
2112 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2113 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2114 environment and decoding all of the default-directory's to here
2115 from command-line.
2116 (command-line): Decode also argv[0].
2117
2118 * loadup.el: Error out if default-directory is a multibyte string
2119 when we are dumping.
2120
2121 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2122
7397c587
TZ
21232013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2124
2125 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2126 (package-menu--print-info, package-menu--archive-predicate):
2127 Add Archive column to package list.
7397c587 2128
b27cc9fc
MA
21292013-11-04 Michael Albinus <michael.albinus@gmx.de>
2130
2131 Fix problems found while writing a test suite.
2132
2133 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2134 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2135 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2136 to nil when running original file name handler. Otherwise,
2137 there are problems with constructs like "$$FOO".
2138
2139 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2140 for `localname'.
2141
d8c4f18a
BB
21422013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2143
7b530552
BB
2144 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2145
2146 * subr.el (version<, version<=, version=):
2147 Update docstrings with information for snapshot versions.
2148
d8c4f18a
BB
2149 * helpers.el: New library for misc helper functions.
2150 (hash-table-keys): New function returning a list of hash keys.
2151 (hash-table-values): New function returning a list of hash values.
2152
dca01b09
DG
21532013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2154
2155 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2156 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2157
0a749fa0
MN
21582013-11-04 Michal Nazarewicz <mina86@mina86.com>
2159
2160 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2161 checking whether point is after a 1-letter word.
2162
21632013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2164
2165 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2166 Don't infloop when expanding region over `multiline' syntax-type that
2167 begins a line (bug#15778).
2168
4aca7145
SM
21692013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2172 Make it into a proper minor mode.
2173 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2174 (rectangle-mark-mode-map): New keymap.
2175 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2176
a0833f62
GM
21772013-11-04 Glenn Morris <rgm@gnu.org>
2178
2179 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2180
e61845c1
SM
21812013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2184 (ruby-smie-rules): Use smie-rule-parent instead.
2185
2186 * emacs-lisp/smie.el (smie-rule-parent): Always call
2187 smie-indent-virtual rather than only for hanging tokens.
2188 (smie--next-indent-change): New helper command.
2189
62942f89
GM
21902013-11-03 Glenn Morris <rgm@gnu.org>
2191
2192 * Makefile.in (abs_srcdir): Remove.
2193 (emacs): Unset EMACSLOADPATH.
2194
b0b9e592
GM
21952013-11-02 Glenn Morris <rgm@gnu.org>
2196
18ba6a33 2197 * Makefile.in (EMACS): Use a relative filename.
8061810d 2198 (abs_top_builddir): Remove.
18ba6a33
GM
2199 (custom-deps, finder-data, autoloads): Use --chdir.
2200
6a8b929e
GM
2201 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2202
c617f3d0
GM
2203 Use relative filenames in TAGS files.
2204 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2205 (lisptagsfiles4, TAGS): Use relative file names.
2206 (TAGS-LISP): Remove.
2207 (maintainer-clean): No more TAGS-LISP file.
2208
b0b9e592
GM
2209 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2210 (lisptagsfiles4): Use absolute filenames again.
2211 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2212 Remove all *loaddefs files, not just the first. Remove esh-groups.
2213 (maintainer-clean): Delete TAGS, TAGS-LISP.
2214
d1c0ea6a
BB
22152013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2216
e61845c1
SM
2217 * emacs-lisp/package.el (package-version-join):
2218 Recognize snapshot versions.
d1c0ea6a 2219
684d71c6
BB
22202013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2221
2222 * subr.el (version-regexp-alist): Add support for snapshot versions.
2223
3d42b968
DG
22242013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2225
e61845c1
SM
2226 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2227 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2228 skip over our direct parent if it's an assignment token..
2229 (ruby-smie-rules): Use it.
2230
7ffd3721
DG
22312013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2232
2233 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2234 unconditionally. Remove now unnecessary forward declarations.
2235 Remove XEmacs-specific setup.
2236 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2237 (ruby-font-lock-syntactic-keywords)
2238 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2239 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2240 (ruby-here-doc-end-syntax): Remove.
2241 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2242 defined as function.
2243
a3996a2e
BB
22442013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2245
2246 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2247
6f9260e8
BB
22482013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2249
2250 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2251 table and abbrev table, `define-derived-mode' does that for us
2252 anyway.
2253
6014de84
GM
22542013-11-01 Glenn Morris <rgm@gnu.org>
2255
2256 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2257 files is atomic for some time, so no parallel compilation issues).
2258
3c334c14
JD
22592013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2260
2261 * faces.el (face-x-resources): Add :distant-foreground.
2262 (region): Use :distant-foreground for gtk and ns.
2263
9bc236c8
TH
22642013-11-01 Tassilo Horn <tsdh@gnu.org>
2265
5246583b 2266 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2267 BibTeX.
2268 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2269 (reftex-locate-bibliography-files): Us it.
2270
d14c81ee
CB
22712013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2272
0e7690de
CB
2273 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2274 allow comments in pbm files.
2275
d14c81ee
CB
2276 * term/w32-win.el (dynamic-library-alist): Support newer versions
2277 of libjpeg starting with v7: look only for the DLL from the
2278 version against which Emacs was built.
ac1bf374 2279 Support versions of libpng beyond 1.4.x.
019c8218 2280 Support libtiff v4.x.
d14c81ee 2281
983d0df5
BB
22822013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2283
2284 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2285 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2286 Add property :safe.
2287 (ruby-deep-arglist): Add property :type.
2288
47f58d85
GM
22892013-10-31 Glenn Morris <rgm@gnu.org>
2290
2291 * Makefile.in (custom-deps, finder-data): No need to setq the target
2292 variables, we are in the right directory and the defaults work fine.
2293
4f85b479
GM
22942013-10-30 Glenn Morris <rgm@gnu.org>
2295
ca7dd4cd
GM
2296 * Makefile.in (autoloads): Do not use abs_lisp.
2297
4f85b479
GM
2298 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2299 `newline' does not respect `standard-output', so use `princ'.
2300
cf59e41c
AA
23012013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2302
2303 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2304 * buff-menu.el (Buffer-menu--unmark): New function.
2305 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2306
74cf04fb
GM
23072013-10-30 Glenn Morris <rgm@gnu.org>
2308
b040b60e
GM
2309 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2310
f53d3815
GM
2311 * emacs-lisp/package.el (lm-homepage): Declare.
2312
5413d873
GM
2313 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2314 Fix doc typos.
2315
cecedb36
GM
2316 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2317
74cf04fb
GM
2318 * Makefile.in (finder-data, autoloads, update-subdirs)
2319 (compile-main, compile-clean, compile-always, bootstrap-clean):
2320 Check return value of cd.
2321 (compile-calc): Remove.
2322
195ee2f0
SM
23232013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2324
ae4002ce
SM
2325 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2326
2327 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2328 (byte-compile-and-folded): New function.
2329 (=, <, >, <=, >=): Use it.
2330
2331 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2332 (path-separator, null-device, buffer-file-coding-system)
2333 (lpr-headers-switches): Check system-type before modifying them.
2334 (find-buffer-file-type-coding-system): Mark obsolete.
2335 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2336 find-file-not-found-set-buffer-file-coding-system.
2337 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2338 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2339 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2340 (w32-direct-print-region-helper, w32-direct-print-region-function)
2341 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2342 * startup.el (normal-top-level-add-subdirs-to-load-path):
2343 * ps-print.el (ps-print-region-function):
2344 * lpr.el (print-region-function): Use new name.
2345
53b39e89
SM
2346 * subr.el (custom-declare-variable-early): Remove function.
2347 (custom-declare-variable-list): Remove var.
2348 (error, user-error): Remove `while' loop.
2349 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2350 (user-emacs-directory-warning, locate-user-emacs-file):
2351 Move to files.el.
2352 * simple.el (read-quoted-char-radix, read-quoted-char):
2353 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2354 Move from subr.el.
2355 * custom.el (custom-declare-variable-list): Don't process
2356 custom-declare-variable-list.
2357
195ee2f0
SM
2358 * progmodes/python.el (python-shell-get-buffer): New function.
2359 (python-shell-get-process): Use it.
2360 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2361 Python which encoding was used. Don't split-string since we only care
2362 about the first line. Return the temp-file, if applicable.
2363 (python-shell-send-region): Tell compile.el how to turn locations in
2364 the temp-file into locations in the source buffer.
2365
7e3561ee
SM
23662013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2367
4c9797cb
SM
2368 * subr.el (undefined): Add missing behavior from the C code for
2369 unbound keys.
2370
3472b6c6
SM
2371 * rect.el: Use lexical-binding. Add new rectangular region support.
2372 (rectangle-mark): New command.
2373 (rectangle--region): New var.
2374 (deactivate-mark-hook): Reset rectangle--region.
2375 (rectangle--extract-region, rectangle--insert-for-yank)
2376 (rectangle--highlight-for-redisplay)
2377 (rectangle--unhighlight-for-redisplay): New functions.
2378 (region-extract-function, redisplay-unhighlight-region-function)
2379 (redisplay-highlight-region-function): Use them to handle
2380 rectangular region.
2381 * simple.el (region-extract-function): New var.
2382 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2383 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2384 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2385 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2386 (redisplay-unhighlight-region-function)
2387 (redisplay-highlight-region-function): New vars.
2388 (redisplay--update-region-highlight): New function.
2389 (pre-redisplay-function): Use it.
2390 (exchange-point-and-mark): Don't deactivate the mark before
2391 reactivate-it anyway.
2392 * comint.el (comint-kill-region): Remove yank-handler argument.
2393 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2394 (delete-char): Remove property, since it's now part of their
2395 default behavior.
2396 (self-insert-iso): Remove property since this command doesn't exist.
2397
7e3561ee
SM
2398 * emacs-lisp/package.el (package--download-one-archive)
2399 (describe-package-1): Don't query the user about final newline.
2400
b9bef71f
DC
24012013-10-29 Daniel Colascione <dancol@dancol.org>
2402
2403 * net/tramp.el (tramp-methods): Document new functionality.
2404 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2405 tramp-hostname-checker if method provides one instead of scanning
2406 argument list for "%h" to decide hostname acceptability.
2407
4efc33f0
MA
24082013-10-28 Michael Albinus <michael.albinus@gmx.de>
2409
2410 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2411 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2412 Handle COPY-CONTENTS. (Bug#15737)
2413
ed42a877
DU
24142013-10-28 Daiki Ueno <ueno@gnu.org>
2415
2416 * epa-file.el
7e3561ee
SM
2417 (epa-file-cache-passphrase-for-symmetric-encryption):
2418 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2419
18c9f8a2
XF
24202013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2421
7a4bc7be
XF
2422 * image.el (defimage):
2423 (image-load-path): Doc fixes.
18c9f8a2 2424
b1e8e010
AM
24252013-10-27 Alan Mackenzie <acm@muc.de>
2426
2427 Indent statements in macros following "##" correctly.
7e3561ee
SM
2428 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2429 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2430
73d40d1e 24312013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2432
2433 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2434
c8c605ac
DG
24352013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2436
2437 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2438 after `=' is probably a new expression.
2439
ca7e59d4
RS
24402013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2441
2442 * man.el (man-imenu-title): New option.
2443 (Man-mode-map): Add menu. (Bug#15722)
2444 (Man-mode): Add imenu to menu.
2445
bae91342
DG
24462013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2447
2448 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2449 specific in what the first arg can be: a non-keyword word,
2450 string/regexp/percent literal opener, opening paren, or unary
2451 operator followed directly by word.
2452
eb89dc14
SM
24532013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2454
2455 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2456 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2457 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2458 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2459 Remove vars, they do not apply any more.
2460 (prolog-mode-abbrev-table): Remove redundant declaration.
2461 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2462 (prolog-use-smie): Remove.
2463 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2464 supported by prolog-electric-if-then-else-flag.
2465 (prolog-mode-variables, prolog-menu): Use setq-local.
2466 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2467 Remove binding to `Backspace' since this key doesn't exist anyway.
2468 Remove bindings for electric self-inserting keys.
2469 (prog-mode): Assume it's defined.
2470 (prolog-post-self-insert): New function.
2471 (prolog-mode): Use it.
2472 (prolog-indent-line, prolog-indent-level)
2473 (prolog-find-indent-of-matching-paren)
2474 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2475 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2476 (prolog-goto-next-paren, prolog-in-string-or-comment)
2477 (prolog-tokenize, prolog-inside-mline-comment)
2478 (prolog-find-start-of-mline-comment): Remove functions.
2479 (prolog-find-unmatched-paren, prolog-clause-end)
2480 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2481 (prolog-electric--if-then-else): Rename from
2482 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2483 (prolog-tokenize-searchkey): Remove const.
2484 (prolog-clause-info): Use forward-sexp.
2485 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2486 (prolog-electric-if-then-else): Remove commands.
2487 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2488 for use in post-self-insert-hook.
2489 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2490 for use in post-self-insert-hook.
2491 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2492 for use in post-self-insert-hook.
2493 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2494 adapt it for use in post-self-insert-hook.
2495
3dab0a83
MA
24962013-10-25 Michael Albinus <michael.albinus@gmx.de>
2497
2498 * emacs-lisp/ert.el (ert-run-tests-interactively):
2499 Use `completing-read'. (Bug#9756)
2500
fbfd0e1d
EZ
25012013-10-25 Eli Zaretskii <eliz@gnu.org>
2502
2503 * simple.el (line-move): Call line-move-1 instead of
2504 line-move-visual when the current window hscroll is zero, but
2505 temporary-goal-column indicates we will need to hscroll as result
2506 of the movement. (Bug#15712)
2507
963ce636
DG
25082013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2509
2510 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2511 capitalization. Use :visible instead of :active.
2512 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2513 commands that are used with SMIE.
2514 (ruby-do-end-to-brace): Insert space after `{'.
2515
a0be396a
JA
25162013-10-25 John Anthony <john@jo.hnanthony.com>
2517
f73754c9
JA
2518 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2519
2520 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2521
f5bf77df
GM
25222013-10-25 Glenn Morris <rgm@gnu.org>
2523
2524 * vc/vc.el (vc-print-log): Don't use a working revision unless
2525 one was explicitly specified. (Bug#15322)
2526
37241f62
SM
25272013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2528
2529 * subr.el (add-to-list): Preserve return value in compiler-macro
2530 (bug#15692).
2531
6408a65d
RS
25322013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2533
2534 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2535 result. Ask user to retry using '-all' flag. (Bug#15701)
2536
71e3276b
SM
25372013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * emacs-lisp/smie.el: New smie-config system.
2540 (smie-config): New defcustom.
2541 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2542 (smie-config-guess, smie-config-save): New commands.
2543 (smie-config--mode-local, smie-config--buffer-local)
2544 (smie-config--trace, smie-config--modefuns): New vars.
2545 (smie-config--advice, smie-config--mode-hook)
2546 (smie-config--setter, smie-config-local, smie-config--get-trace)
2547 (smie-config--guess-value, smie-config--guess): New functions.
2548 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2549 text properties. Treat "string fence" syntax like string syntax.
2550
2551 * progmodes/sh-script.el (sh-use-smie): Change default.
2552 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2553 (sh-var-value): Simplify by CSE.
2554 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2555 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2556 is used.
2557 (sh-guess-basic-offset): Use cl-incf.
2558 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2559
60db713e
HE
25602013-10-24 Helmut Eller <eller.helmut@gmail.com>
2561
2562 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2563 (bug#15699).
2564
8b251df6
GM
25652013-10-24 Glenn Morris <rgm@gnu.org>
2566
2567 * Makefile.in (abs_top_srcdir): Remove.
2568 (update-subdirs): Use relative path to update-subdirs.
2569
6be0e22b
EZ
25702013-10-24 Eli Zaretskii <eliz@gnu.org>
2571
2572 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2573 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2574 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2575 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2576
50b5b857
MA
25772013-10-24 Michael Albinus <michael.albinus@gmx.de>
2578
2579 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2580 (ert-test-skipped): New error.
2581 (ert-skip, ert-stats-skipped): New defuns.
2582 (ert--skip-unless): New macro.
2583 (ert-test-skipped): New struct.
2584 (ert--run-test-debugger, ert-test-result-type-p)
2585 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2586 (ert--stats-set-test-and-result, ert-char-for-test-result)
2587 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2588 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2589 Handle skipped tests. (Bug#9803)
50b5b857 2590
6f317c2f
GM
25912013-10-24 Glenn Morris <rgm@gnu.org>
2592
e43817c1
GM
2593 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2594
6f317c2f
GM
2595 * Makefile.in (abs_top_srcdir): New, set by configure.
2596 (update-subdirs): Correct build-aux location.
2597
369bbf71
DG
25982013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2599
8297b2cf
DG
2600 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2601 value, whether we could auto-deduce `backend', or not.
2602
369bbf71
DG
2603 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2604 with parameters" example. Simplify the "is it block or is it
2605 hash" check, but also make it more thorough.
2606
d5f1282f
MF
26072013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2608
2609 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2610
bc4aaa31
SM
26112013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2612
03d44565
SM
2613 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2614 { if it is hanging.
2615
bc4aaa31
SM
2616 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2617 :before ";".
2618
f493ff19
JB
26192013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2620
2621 * progmodes/compile.el (compilation-directory-matcher)
2622 (compilation-page-delimiter):
2623 Support GNU Make-4.0 directory quoting. (Bug#15678)
2624
c744a3b9
LL
26252013-10-23 Leo Liu <sdl.web@gmail.com>
2626
2627 * ido.el (ido-tidy): Handle read-only text.
2628
b8e3b0a9
GM
26292013-10-23 Glenn Morris <rgm@gnu.org>
2630
2631 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2632 (emacs, compile, compile-always):
2633 Quote entities that might contain whitespace.
2634 (custom-deps, finder-data, autoloads): Use abs_lisp.
2635 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2636 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2637 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2638
ee4282cd
DG
26392013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2640
bc4aaa31
SM
2641 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2642 Use `following-char'.
7790a270 2643
ee4282cd 26442013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2645
2646 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2647 * progmodes/ruby-mode.el (ruby-smie-rules):
2648 Remove corresponding workaround. Fix indentation rule of ";" so it
2649 also applies when ";" is the parent.
2650
d40a46d7
XF
26512013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2652
2653 * frame.el (display-screens, display-pixel-height)
2654 (display-pixel-width, display-mm-width, display-backing-store)
2655 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2656 (display-visual-class, display-monitor-attributes-list):
2657 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2658
a0f143c9
MG
26592013-10-22 Michael Gauland <mikelygee@amuri.net>
2660
2661 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2662 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2663
18cacc39
DG
26642013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2665
2666 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2667 TODO. Add "." after " @ ".
2668 (ruby-smie--at-dot-call): New function. Checks if point at method
2669 call with explicit target.
2670 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2671 to the method name tokens when it precedes them.
2672 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2673 (ruby-smie-rules): Add rule for indentation before and after "."
2674 token.
2675
df74c4be
SM
26762013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2677
c6dab55f
SM
2678 * textmodes/remember.el (remember-diary-extract-entries):
2679 Avoid add-to-list.
2680
df74c4be
SM
2681 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2682 an instruction.
2683
8c1ae481
DG
26842013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2685
cfef16c0
DG
2686 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2687 (ruby-smie--implicit-semi-p): Add new operator chars.
2688
8c1ae481
DG
2689 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2690 `smie-down-list'.
2691 (ruby-smie--args-separator-p): Check that there's no newline
2692 between method call and its arguments.
2693
87756ca9
AM
26942013-10-20 Alan Mackenzie <acm@muc.de>
2695
2696 Allow comma separated lists after Java "implements".
2697
df74c4be
SM
2698 * progmodes/cc-engine.el (c-backward-over-enum-header):
2699 Parse commas.
87756ca9
AM
2700 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2701 from a "disallowed" list in enum fontification.
2702
c25f8957
JB
27032013-10-20 Johan Bockgård <bojohan@gnu.org>
2704
df74c4be 2705 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2706
c25f8957
JB
2707 * progmodes/verilog-mode.el (verilog-mode): Don't set
2708 comment-indent-function globally.
2709
aca5fcdc
JD
27102013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2711
5f161884
JD
2712 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2713 Move Info menu item creation to ns-win.el.
2714
2715 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2716 in menu bar.
2717
aca5fcdc
JD
2718 * menu-bar.el: Move GNUStep specific menus...
2719
2720 * term/ns-win.el (ns-initialize-window-system): ... to here.
2721
914b7f98
SM
27222013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2723
2724 * simple.el (newline): Only run post-self-insert-hook when
2725 called interactively.
2726
846ffe77
JB
27272013-10-19 Johan Bockgård <bojohan@gnu.org>
2728
2729 * icomplete.el (icomplete-with-completion-tables): Add :version.
2730
033f22dd
AM
27312013-10-19 Alan Mackenzie <acm@muc.de>
2732
2733 Fix fontification bugs with constructors and const.
2734
2735 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2736 CASE 2) Remove the check for the absence of a suffix construct
2737 after a function declaration with only types (no identifiers) in
2738 the parentheses. Also, accept a function declaration with just a
2739 type inside the parentheses, if this type can be positively
2740 recognised as such, or if a prefix keyword like "explicit" nails
2741 down the construct as a declaration.
2742
58ce0cfc
EZ
27432013-10-19 Eli Zaretskii <eliz@gnu.org>
2744
2745 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2746 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2747 the problem whereby selecting a menu item that leads to a
2748 minibuffer prompt moves the cursor out of the minibuffer window,
2749 making it hard to type at the prompt. Suggested by Stefan Monnier
2750 <monnier@iro.umontreal.ca>.
2751
50e28e7d
JD
27522013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2753
2754 * menu-bar.el: Don't make Services menu.
2755
7deed4bf
RS
27562013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2757
2758 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2759 (ffap-alist): Use ffap-c++-mode for c++-mode.
2760 (ffap-c++-path): New variable.
2761 (ffap-c++-mode): New function.
2762
7bcb455b
JVJ
27632013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2764
2765 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2766
f0ff1cd5
MA
27672013-10-18 Michael Albinus <michael.albinus@gmx.de>
2768
2769 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2770 introduced on 2013-09-08, which results in an infinite loop
2771 requesting a password.
2772
d64da4b7
GM
27732013-10-18 Glenn Morris <rgm@gnu.org>
2774
2775 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2776
ea89ff08
WS
27772013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2778
2779 Sync with upstream verilog-mode revision 1a6ecec7.
2780 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2781 (verilog-mode-release-date): Remove.
2782 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2783 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2784 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2785 (verilog-auto-tieoff-ignore-regexp)
2786 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2787 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2788 (verilog-signals-with, verilog-dir-cache-preserving)
2789 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2790 Doc fixes.
2791 (verilog-case-fold): New option, to control case folding in
2792 regexp searches, bug597.
2793 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2794 (verilog-string-match-fold, verilog-in-paren-count)
2795 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2796 (verilog-at-close-struct-p): New functions.
2797 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2798 (verilog-forward-sexp, verilog-set-auto-endcomments):
2799 (verilog-leap-to-case-head): Handle "unique0" case.
2800 (verilog-in-constraint-re): New constant.
2801 (verilog-keywords, verilog-type-font-keywords):
2802 Add some SystemVerilog 1800-2012 keywords.
2803 (verilog-label-be): Remove unimplemented argument, bug669.
2804 (verilog-batch-execute-func): When batch expanding clear
2805 create-lockfiles to prevent spurious user locks when a file ends
2806 up not changing.
2807 (verilog-calculate-indent, verilog-calc-1)
2808 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2809 (verilog-do-indent): Fix indentation of nested constraints
2810 and structures.
2811 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2812 (verilog-auto-inst-param): Use verilog-string-match-fold.
2813 (verilog-read-inst-module-matcher):
2814 Fix AUTOINST on gate primitives with #1.
2815 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2816 Reads all user-defined typed variables.
2817 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2818 (verilog-signals-matching-regexp)
2819 (verilog-signals-not-matching-regexp, verilog-auto):
2820 Respect verilog-case-fold.
2821 (verilog-diff-report): Fix line count.
2822 (verilog-auto-assign-modport): Remove unused local `modi'.
2823 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2824 better handle multidimensional arrays.
2825 Fix packed array ports misadding bit index in AUTOINST, bug637.
2826 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2827 to not double-declare existing outputs and inputs, respectively.
2828 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2829 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2830 (verilog-sk-uvm-component): New skeleton.
2831 (verilog-submit-bug-report): Add verilog-case-fold,
2832 remove verilog-mode-release-date.
2833
ef566920
BR
28342013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2835
2836 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2837 as before.
2838
29df8a0b
RT
28392013-10-18 Reuben Thomas <rrt@sc3d.org>
2840
e0eb0550 2841 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
2842 remember buffers (bug#13566).
2843
04a19a79
DC
28442013-10-18 Daniel Colascione <dancol@dancol.org>
2845
2846 When evaluating forms in ielm, direct standard output to ielm
2847 buffer. Add new ielm-return-for-effect command. Remove trailing
2848 whitespace throughout.
2849
2850 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2851 (ielm-return-for-effect): New command.
2852 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2853 (ielm-eval-input): Accept optional `for-effect' parameter.
2854 Bind `standard-output' to stream we create using
04a19a79
DC
2855 `ielm-standard-output-impl'. Suppress printing result when
2856 `for-effect'.
2857 (ielm-standard-output-impl): New function.
2858 (inferior-emacs-lisp-mode): Explain new features in documentation.
2859
4c1f03ef
MA
28602013-10-17 Michael Albinus <michael.albinus@gmx.de>
2861
2862 Code cleanup.
2863
2864 * net/tramp.el (tramp-debug-message): Do not check for connection
2865 buffer.
2866 (tramp-message): Use "vector" connection property.
2867
2868 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2869 (tramp-equal-remote, tramp-eshell-directory-change)
2870 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2871 (tramp-adb-handle-rename-file)
2872 * net/tramp-cmds.el (tramp-list-remote-buffers)
2873 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2874 * net/tramp-compat.el (tramp-compat-process-running-p)
2875 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2876 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2877 (tramp-gvfs-handle-rename-file)
2878 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2879 (tramp-set-file-uid-gid)
2880 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2881 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2882 of `file-remote-p'.
2883
2884 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2885 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2886 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2887 (tramp-gw-open-network-stream): Suppress unrelated traces.
2888
2889 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2890 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2891 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2892 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2893 connection property.
2894
2895 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2896 persistency file.
4c1f03ef
MA
2897
2898 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2899 Refactor common code. Improve debug message.
2900 (tramp-maybe-open-connection)
2901 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2902 connection buffer too early.
2903
2904 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2905 from `tramp-smb-actions-with-acl'.
2906 (tramp-smb-actions-set-acl): New defconst.
2907 (tramp-smb-handle-copy-directory)
2908 (tramp-smb-action-get-acl): New defun, renamed from
2909 `tramp-smb-action-with-acl'.
2910 (tramp-smb-action-set-acl): New defun.
2911 (tramp-smb-handle-set-file-acl): Rewrite.
2912
642eb8b6
GM
29132013-10-17 Glenn Morris <rgm@gnu.org>
2914
2915 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2916
85527ff3
SM
29172013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2918
921c1d62
SM
2919 * skeleton.el (skeleton-newline): Remove.
2920 (skeleton-internal-1): Use (insert "\n") instead.
2921
e333fb10
SM
2922 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2923 let-bindings.
2924
85527ff3
SM
2925 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2926 forward-sexp-function while we redo its job (bug#15613).
2927
c8722a97
JB
29282013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2929
2930 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2931 represented by lists.
2932
7a550bbb
GM
29332013-10-16 Glenn Morris <rgm@gnu.org>
2934
2935 * tmm.el (tmm--history): New dynamic variable.
2936 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2937
f19da8ad
MA
29382013-10-16 Michael Albinus <michael.albinus@gmx.de>
2939
2940 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2941 (tramp-smb-errors): Add error messages.
2942 (tramp-smb-actions-with-acl): New defconst.
2943 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2944 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2945 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2946 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2947 (tramp-smb-get-stat-capability): Fix tests.
2948
a24b9961
DK
29492013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2950
2951 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2952 (bug#15580).
2953
62ad85e6
GM
29542013-10-16 Glenn Morris <rgm@gnu.org>
2955
0283d6b0
GM
2956 * ansi-color.el (ansi-color-drop-regexp):
2957 Add 1J, 1K, 2K. (Bug#15617)
2958
012e2f9f
GM
2959 * files.el (hack-local-variables--warned-lexical): New.
2960 (hack-local-variables):
2961 Warn about misplaced lexical-binding. (Bug#15616)
2962
62ad85e6
GM
2963 * net/eww.el (eww-render): Always set eww-current-url,
2964 and update header line. (Bug#15622)
2965 (eww-display-html): ... Rather than just doing it here.
2966
6456c0ea
EZ
29672013-10-15 Eli Zaretskii <eliz@gnu.org>
2968
2969 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2970 menu navigations commands.
2971
c2de5588
DK
29722013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2973
2974 * progmodes/subword.el (subword-capitalize): Be careful when
2975 the search for [[:alpha:]] fails (bug#15580).
2976
ccd4a783
EZ
29772013-10-14 Eli Zaretskii <eliz@gnu.org>
2978
2979 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2980 to commands that scroll the menu.
2981
1eda1d8d
DG
29822013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2983
c2de5588
DK
2984 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2985 Handle methods ending with `?' and `!'.
1eda1d8d 2986
e70181b8
AM
29872013-10-14 Akinori MUSHA <knu@iDaemons.org>
2988
2989 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2990 `japanese-cp932' to `cp932' to fix the problem where saving a
2991 source file written in Shift_JIS twice would end up having
2992 `coding: japanese-cp932' which Ruby could not recognize.
2993 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2994 in `ruby-encoding-map'.
2995 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2996 doesn't need to be explicitly declared in magic comment.
2997 (ruby-encoding-map): Add type declaration for better customize UI.
2998
9148ee92
GM
29992013-10-13 Glenn Morris <rgm@gnu.org>
3000
a5d38e34
GM
3001 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3002 Occur buffers are read-only. http://bugs.debian.org/720775
3003
9148ee92
GM
3004 * emacs-lisp/authors.el (authors-fixed-entries):
3005 Comment out old alpha stuff.
3006
a9ba094b
DG
30072013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3008
3009 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3010 to `after-save-hook' instead of `before-save-hook'.
3011 (ruby-mode-set-encoding): Use the value of coding system used to
3012 write the file. Call `basic-save-buffer-1' after modifying the
3013 buffer.
3014
7a068717
AM
30152013-10-13 Alan Mackenzie <acm@muc.de>
3016
3017 Fix indentation/fontification of Java enum with
3018 "implements"/generic.
3019
c2de5588
DK
3020 * progmodes/cc-engine.el (c-backward-over-enum-header):
3021 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3022 (c-inside-bracelist-p): Uses new function above.
3023 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3024 function above.
3025 (c-font-lock-enum-tail): Uses new function above.
3026
85b64f02
KH
30272013-10-13 Kenichi Handa <handa@gnu.org>
3028
3029 * international/mule-cmds.el (select-safe-coding-system): Remove a
3030 superfluous condition in chekcing whether a coding system is safe
3031 or not.
3032
fc7f501b
OK
30332013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3034
3035 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3036
fdcb2049
AP
30372013-10-13 Andreas Politz <politza@hochschule-trier.de>
3038
3039 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3040
8c106d17
GM
30412013-10-13 Glenn Morris <rgm@gnu.org>
3042
feab892d
GM
3043 * menu-bar.el (menu-bar-update-buffers):
3044 Unify Buffers menu prompt string. (Bug#15576)
3045
b22d0686
GM
3046 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3047
8c106d17
GM
3048 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3049 Add some entries.
3050 (authors-fixed-entries): Use accented form of name.
3051
1b12c797
SM
30522013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3053
650fa7bf 3054 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3055 method calls (bug#15594).
650fa7bf
SM
3056 (ruby-smie--args-separator-p): New function.
3057 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3058 recognize paren-free method calls.
3059
1b12c797
SM
3060 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3061 internals of universal-argument.
3062
029619c8
EZ
30632013-10-11 Eli Zaretskii <eliz@gnu.org>
3064
3065 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3066 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3067 dropped menu on second mouse click on the menu bar.
029619c8 3068
dd070019
SM
30692013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3070
3071 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3072 (explicit-shell-file-name): Declare.
3073 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3074 (sh-completion-at-point-function): New function.
3075 (sh-mode): Use it.
3076 (sh-smie--keyword-p): Remove unused argument.
3077 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3078 vars.
3079 (sh-set-shell): Always setup SMIE, even if we use the
3080 old indentation code.
3081
0922b826
DG
30822013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3083
b68e2926
DG
3084 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3085 cases of ? and =.
3086 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3087 predicate would return nil are almost non-existent.
3088 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3089
0922b826
DG
3090 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3091 cache also after commands that modify the buffer but don't move
3092 point.
3093
ee041f2d
SM
30942013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * env.el (substitute-env-in-file-name): New function.
3097 (substitute-env-vars): Extend the meaning of the optional arg.
3098
a5dab159
EZ
30992013-10-10 Eli Zaretskii <eliz@gnu.org>
3100
3101 * term/w32-win.el (dynamic-library-alist): Define separate lists
3102 of GIF DLLs for versions before and after 5.0.0 of giflib.
3103 (Bug#15531)
3104
0449d6cd 31052013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3106
3107 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3108 not locked, use last revision and current source as
3109 defaults. (Bug#15569)
3110
2f6e161e
MY
31112013-10-10 Masatake YAMATO <yamato@redhat.com>
3112
3113 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3114 menu-bar is hidden.
3115
6c8413fc
MR
31162013-10-10 Martin Rudalics <rudalics@gmx.at>
3117
3118 * window.el (pop-to-buffer-same-window): Fix doc-string.
3119 (Bug#15492)
3120
20832de0
SM
31212013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3122
3123 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3124
c6e8ae77
AC
31252013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3126
3127 * calendar/icalendar.el (icalendar-import-file):
3128 Fix interactive spec. (Bug#15482)
3129
9db13baf
GM
31302013-10-10 Glenn Morris <rgm@gnu.org>
3131
9271e90e
GM
3132 * desktop.el (desktop-save): Default to saving in .emacs.d,
3133 since PWD is no longer in desktop-path by default. (Bug#15319)
3134
9db13baf
GM
3135 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3136 now that text mode has a menu with the same entry.
3137 (menu-bar-text-mode-auto-fill): Remove now unused func.
3138 * textmodes/text-mode.el (text-mode-map):
3139 Use auto-fill help text from menu-bar.el.
3140
a0be396a 31412013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3142
3143 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3144
2edcd3c7
JL
31452013-10-09 Juri Linkov <juri@jurta.org>
3146
3147 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3148 instead of this-command-keys. Add universal-argument-more and
3149 universal-argument-minus to the list of prefix commands. (Bug#15568)
3150
574411d0
GM
31512013-10-09 Glenn Morris <rgm@gnu.org>
3152
14afa541
GM
3153 * vc/vc-svn.el (vc-svn-create-repo):
3154 Expand paths in file://... url. (Bug#15446)
3155
574411d0
GM
3156 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3157 Add some entries.
3158 (authors): Remove unused local variables.
3159
79804536
SM
31602013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3161
3162 * profiler.el: Create a more coherent calltree from partial backtraces.
3163 (profiler-format): Hide the tail with `invisible' so that C-s can still
3164 find the hidden elements.
3165 (profiler-calltree-depth): Don't recurse so enthusiastically.
3166 (profiler-function-equal): New hash-table-test.
3167 (profiler-calltree-build-unified): New function.
3168 (profiler-calltree-build): Use it.
3169 (profiler-report-make-name-part): Indent the calltree less.
3170 (profiler-report-mode): Add visibility specs for profiler-format.
3171 (profiler-report-expand-entry, profiler-report-toggle-entry):
3172 Expand the whole subtree when provided with a prefix arg.
3173
238150c8
DG
31742013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3175
3176 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3177 iuwu-mod token.
3178 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3179 hanging iuwu-mod token.
3180 (ruby-smie--forward-token): Do not include a dot after a token in
3181 that token.
3182 (ruby-smie--backward-token): Likewise.
3183
b0949cc4
JL
31842013-10-08 Juri Linkov <juri@jurta.org>
3185
3186 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3187 to isearch-other-control-char.
3188 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3189 and isearch-post-command-hook to post-command-hook.
3190 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3191 and isearch-post-command-hook from post-command-hook.
3192 (isearch-unread-key-sequence)
3193 (isearch-reread-key-sequence-naturally)
3194 (isearch-lookup-scroll-key, isearch-other-control-char)
3195 (isearch-other-meta-char): Remove functions.
3196 (isearch-pre-command-hook, isearch-post-command-hook):
3197 New functions based on isearch-other-meta-char rewritten
3198 relying on the new behavior of overriding-terminal-local-map
3199 that does not replace the local keymaps any more. (Bug#15200)
3200
4ed77415
EZ
32012013-10-08 Eli Zaretskii <eliz@gnu.org>
3202
3203 Support menus on text-mode terminals.
3204 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3205 functionality.
3206
3207 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3208
c2de5588
DK
3209 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3210 Move here from mouse.el.
4ed77415
EZ
3211 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3212 and arrow keys.
3213 (tty-menu-navigation-map): New map for TTY menu navigation.
3214
3215 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3216
3217 * frame.el (display-mouse-p): Report text-mode mouse as available
3218 on w32.
3219 (display-popup-menus-p): Report availability if mouse is
3220 available; don't condition on window-system.
3221
3222 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3223 (tty-menu-selected-face): New faces.
3224
b7d5bd82
TL
32252013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3226
06286513
SM
3227 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3228 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3229 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3230 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3231 New constants.
3232 (lisp-mode-variables): New `elisp' argument.
3233 (emacs-lisp-mode): Use it.
3234 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3235 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3236
b7d5bd82
TL
3237 * indent.el: Use lexical-binding.
3238 (indent-region): Add progress reporter.
3239 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3240 last step.
3241 (indent--next-tab-stop): New function to implement this behavior.
3242 (tab-to-tab-stop, move-to-tab-stop): Use it.
3243
32442013-10-08 Teemu Likonen <tlikonen@iki.fi>
3245
3246 * indent.el (indent-rigidly--current-indentation): New function.
3247 (indent-rigidly-map): New var.
3248 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3249
5ea75d23
BG
32502013-10-08 Bastien Guerry <bzg@gnu.org>
3251
3252 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3253
cc5da1ec
SM
32542013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3255
8ffa1a0b
SM
3256 * progmodes/perl-mode.el: Use lexical-binding.
3257 Remove redundant :group args.
3258 (perl-nochange): Change default to be closer to other major modes's
3259 standard behavior.
3260 (perl-indent-line): Don't consider text on current line as a
3261 valid beginning of function from which to indent.
3262
f2223371
SM
3263 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3264 with more than one argument (bug#15538).
3265
44256060
SM
3266 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3267
cc5da1ec
SM
3268 * vc/pcvs.el: Use lexical-binding.
3269 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3270 environment of `eval'.
3271 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3272 than a list of expressions. Adjust callers.
3273 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3274
0ea1599d
DG
32752013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3276
3277 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3278 case of the dot in a chained method call being on the following line.
0ea1599d 3279
da3e5ebb
SM
32802013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3281
2abb4e65
SM
3282 * electric.el (electric-indent-inhibit): New var.
3283 (electric-indent-post-self-insert-function): Use it.
3284 * progmodes/python.el (python-mode): Set it.
3285
d2e0e795
SM
3286 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3287 open braces.
3288
3289 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3290
bdc6b4c8
SM
3291 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3292 (css-mode): Use electric-indent-chars.
3293
da3e5ebb
SM
3294 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3295 (font-lock-beg, font-lock-end): Move before first use.
3296 (nxml-mode): Use syntax-propertize-function.
3297 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3298 (nxml-extend-after-change-region): Remove.
3299 * nxml/xmltok.el: Use lexical-binding.
3300 (xmltok-save): Use `declare'.
3301 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3302 * nxml/nxml-util.el: Use lexical-binding.
3303 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3304 Use `declare'.
3305 * nxml/nxml-ns.el: Use lexical-binding.
3306 (nxml-ns-save): Use `declare'.
3307 (nxml-ns-prefixes-for): Avoid add-to-list.
3308 * nxml/rng-match.el: Use lexical-binding.
3309 (rng--ipattern): Use cl-defstruct.
3310 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3311 (rng-cons-group-after, rng-subst-group-after)
3312 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3313 Use closures instead of `(lambda...).
3314
f8f91d5d
MA
33152013-10-07 Michael Albinus <michael.albinus@gmx.de>
3316
3317 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3318 of BEG and END.
3319
da3e5ebb
SM
3320 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3321 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3322 (tramp-gvfs-handle-insert-file-contents): Remove function.
3323
da3e5ebb
SM
3324 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3325 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3326
3327 * net/trampver.el: Update release number.
3328
7ccae3b1
SM
33292013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3330
55ca2c0d
SM
3331 * progmodes/compile.el (compilation-parse-errors):
3332 Use compilation--put-prop.
3333 (compilation--ensure-parse): Check compilation-multiline.
3334
731fc3ae
SM
3335 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3336
da3e5ebb
SM
3337 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3338 lexical-binding.
a5833280 3339
2e7ba2c2
SM
3340 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3341
7ccae3b1
SM
3342 * progmodes/ruby-mode.el: Fix recently added tests.
3343 (ruby-smie-grammar): Add - and +.
3344 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3345 (ruby-smie--backward-id): New functions.
3346 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3347 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3348 any more.
3349
85698d63
LL
33502013-10-07 Leo Liu <sdl.web@gmail.com>
3351
3352 * register.el (register-preview-delay)
3353 (register-preview-functions): New variables.
3354 (register-read-with-preview, register-preview)
3355 (register-describe-oneline): New functions.
3356 (point-to-register, window-configuration-to-register)
3357 (frame-configuration-to-register, jump-to-register)
3358 (number-to-register, view-register, insert-register)
3359 (copy-to-register, append-to-register, prepend-to-register)
3360 (copy-rectangle-to-register): Use register-read-with-preview to
3361 read register. (Bug#15525)
3362
3986af6c
DS
33632013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3364
3365 * net/network-stream.el (network-stream-open-starttls): Don't add
3366 --insecure if it's already present, because that gnutls-cli
3367 rejects getting that parameter twice.
3368
5cd9cda9
DG
33692013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3370
3371 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3372 keyword, too.
3373
da9ea6d9
DG
33742013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3375
3376 * newcomment.el (comment-use-global-state): Change default value
3377 to t, mark obsolete (Bug#15251).
3378 (comment-beginning): In addition to `comment-to-syntax', check the
3379 value of `comment-use-global-state'.
3380
34d1a133
SM
33812013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3382
3383 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3384 (ruby-comment-column): Follow the global default, by default.
3385 (ruby-smie-grammar): Add assignment syntax.
3386 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3387 open-paren, a comma, or a \.
3388 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3389 and line continuations.
3390 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3391 followed by implicit semi-colons. Add rule for string concatenation
3392 and for indentation at BOB.
3393 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3394
3395 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3396 calling next-sexp, since next-token may have skipped chars which
3397 next-sexp doesn't know should be skipped!
3398
6f6ab820
LL
33992013-10-05 Leo Liu <sdl.web@gmail.com>
3400
34d1a133
SM
3401 * progmodes/octave.el (octave-send-region):
3402 Call compilation-forget-errors.
6f6ab820 3403
34ca0f4c
XF
34042013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3405
3406 * vc/vc-svn.el (vc-svn-find-admin-dir):
3407 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3408 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3409 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3410 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3411
a27c1b72
SM
34122013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3413
3414 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3415
258ab3bc
SM
34162013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3417
3418 * subr.el (read-passwd): Hide chars even when called within a context
3419 where after-change-functions is disabled (bug#15501).
3420 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3421 until we removed ourself from overriding-terminal-local-map.
3422
939fb29c
LL
34232013-10-04 Leo Liu <sdl.web@gmail.com>
3424
258ab3bc
SM
3425 * progmodes/octave.el (inferior-octave-mode):
3426 Call compilation-forget-errors.
939fb29c 3427
63bd7f35
XF
34282013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3429
3430 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3431
9e6229fa
MA
34322013-10-04 Michael Albinus <michael.albinus@gmx.de>
3433
3434 * net/secrets.el (secrets-create-collection): Add optional
3435 argument ALIAS. Use proper Label keyword. Append ALIAS as
3436 dbus-call-method argument. (Bug#15516)
3437
1dab32a3
LL
34382013-10-04 Leo Liu <sdl.web@gmail.com>
3439
3440 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3441 (inferior-octave-compilation-font-lock-keywords): New variables.
3442 (compilation-error-regexp-alist)
3443 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3444 (inferior-octave-mode): Use compilation-shell-minor-mode.
3445
6cad7ba3
JS
34462013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3447
3448 * minibuffer.el (completion--replace): Be careful that `end' might be
3449 a marker.
3450
acbadd00
DU
34512013-10-03 Daiki Ueno <ueno@gnu.org>
3452
3453 Add support for package signature checking.
3454 * emacs-lisp/package.el (url-http-file-exists-p)
3455 (epg-make-context, epg-context-set-home-directory)
3456 (epg-verify-string, epg-context-result-for)
3457 (epg-signature-status, epg-signature-to-string)
3458 (epg-check-configuration, epg-configuration)
3459 (epg-import-keys-from-file): Declare.
3460 (package-check-signature): New user option.
3461 (package-unsigned-archives): New user option.
3462 (package-desc): Add `signed' field.
3463 (package-load-descriptor): Set `signed' field if .signed file exists.
3464 (package--archive-file-exists-p): New function.
3465 (package--check-signature): New function.
3466 (package-install-from-archive): Check package signature.
3467 (package--download-one-archive): Check archive signature.
3468 (package-delete): Remove .signed file.
3469 (package-import-keyring): New command.
3470 (package-refresh-contents): Import default keyring.
3471 (package-desc-status): Add "unsigned" status.
3472 (describe-package-1, package-menu--print-info)
3473 (package-menu-mark-delete, package-menu--find-upgrades)
3474 (package-menu--status-predicate): Support "unsigned" status.
3475
adf2aa61
SM
34762013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3479 the new compilation scheme using the new byte-codes.
3480
3481 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3482 (byte-pophandler): New byte codes.
3483 (byte-goto-ops): Adjust accordingly.
3484 (byte-compile--use-old-handlers): New var.
3485 (byte-compile-catch): Use new byte codes depending on
3486 byte-compile--use-old-handlers.
3487 (byte-compile-condition-case--old): Rename from
3488 byte-compile-condition-case.
3489 (byte-compile-condition-case--new): New function.
3490 (byte-compile-condition-case): New function that dispatches depending
3491 on byte-compile--use-old-handlers.
3492 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3493 when we can.
3494
3495 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3496 Optimize under `condition-case' and `catch' if
3497 byte-compile--use-old-handlers is nil.
3498 (disassemble-offset): Handle new bytecodes.
3499
328a8179
SM
35002013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3501
3502 * subr.el (error): Use `declare'.
3503 (decode-char, encode-char): Use advertised-calling-convention instead
3504 of the docstring to discourage use of the `restriction' arg.
3505
15a1e936
DU
35062013-10-03 Daiki Ueno <ueno@gnu.org>
3507
3508 * epg.el (epg-verify-file): Add a comment saying that it does not
3509 notify verification error as a return value nor a signal.
3510 (epg-verify-string): Ditto.
3511
376f862a
KR
35122013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3513
3514 * progmodes/compile.el (compilation-start): Try globbing the arg to
3515 `cd' (bug#15417).
3516
a2f93a5f
MA
35172013-10-02 Michael Albinus <michael.albinus@gmx.de>
3518
3519 Sync with Tramp 2.2.8.
3520
3521 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3522 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3523 * net/trampver.el: Update release number.
3524
0daa0804
JD
35252013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3526
3527 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3528 and default-process-coding-system for darwin only.
3529
abd1ae34
SM
35302013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3533
be4e325d
MH
35342013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3535
3536 * vc/vc-git.el (vc-git-grep): Disable pager.
3537
e9155c4a
DG
35382013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3539
494e898b
DG
3540 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3541 Use :url instead of :homepage, as per
3542 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3543
e9155c4a
DG
3544 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3545 non-nil, use `syntax-ppss' (Bug#15251).
3546
481a8e0f
RS
35472013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3548
be4e325d
MH
3549 * progmodes/octave.el (inferior-octave-startup-file):
3550 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3551
056453c6
DG
35522013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3553
be4e325d
MH
3554 * emacs-lisp/package.el (package-desc-from-define):
3555 Accept additional arguments as plist, convert them to an alist and store
3556 them in the `extras' slot.
056453c6
DG
3557 (package-generate-description-file): Convert extras alist back to
3558 plist and append to the `define-package' form arguments.
3559 (package--alist-to-plist): New function.
3560 (package--ac-desc): Add `extras' slot.
3561 (package--add-to-archive-contents): Check if the archive-contents
3562 vector is long enough, and if it is, pass its `extras' slot value
3563 to `package-desc-create'.
3564 (package-buffer-info): Call `lm-homepage', pass the returned value
3565 to `package-desc-from-define'.
3566 (describe-package-1): Render the homepage button (Bug#13291).
3567
be4e325d
MH
3568 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3569 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3570
832966e5
JD
35712013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3572
3573 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3574 and default-process-coding-system to utf-8-unix (Bug#15402).
3575
6cfe977d
XF
35762013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3577
3578 * subr.el (looking-back): Do not recommend using looking-back.
3579
38de11bd
AM
35802013-09-28 Alan Mackenzie <acm@muc.de>
3581
3582 Fix indentation/fontification of Java enum with "implements".
3583
3584 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3585 regexp which matches "implements", etc., in Java.
3586 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3587 specifier clauses coming after "enum".
3588 * progmodes/cc-fonts.el (c-font-lock-declarations)
3589 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3590 after "enum".
3591
1610938f
JD
35922013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3593
3594 * faces.el (region): Change ns_selection_color to
3595 ns_selection_fg_color, add ns_selection_bg_color.
3596
e090f499
LL
35972013-09-28 Leo Liu <sdl.web@gmail.com>
3598
4d2e94d1
LL
3599 * progmodes/octave.el (inferior-octave-completion-table)
3600 (inferior-octave-completion-at-point): Minor tweaks.
3601
e090f499
LL
3602 * textmodes/ispell.el (ispell-lookup-words): Rename from
3603 lookup-words. (Bug#15460)
3604 (lookup-words): Obsolete.
3605 (ispell-complete-word, ispell-command-loop): All uses changed.
3606
7e138a62
RS
36072013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3608
3609 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3610 (octave-mode-menu): Add octave-send-buffer.
3611 (octave-send-buffer): New function.
3612
5af5ed08
RS
36132013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3614
3615 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3616 octave-lookfor.
3617 (octave-mode-menu): Add octave-lookfor.
3618 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3619 octave-lookfor.
3620 (octave-lookfor): New function.
3621
3b7b2692
SM
36222013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * emacs-lisp/cl-macs.el:
3625 (cl--loop-destr-temps): Remove.
3626 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3627 its convention.
3628 (cl--loop-set-iterator-function): New function.
3629 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3630 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3631 Bind `it' with `let' instead of substituting it with `cl-subst'.
3632 (cl--unused-var-p): New function.
3633 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3634 Eliminate some unused variable warnings (bug#15326).
3635
529fb53f
TH
36362013-09-27 Tassilo Horn <tsdh@gnu.org>
3637
3638 * doc-view.el (doc-view-scale-reset): Rename from
3639 `doc-view-reset-zoom-level'.
3640 (doc-view-scale-adjust): New command.
3641 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3642 `doc-view-scale-adjust'.
3643
0550c95a
TH
36442013-09-26 Tassilo Horn <tsdh@gnu.org>
3645
3646 * doc-view.el (doc-view-reset-zoom-level): New command.
3647 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3648 zoom commands (bug#15466).
3649
6950f152
KH
36502013-09-26 Kenichi Handa <handa@gnu.org>
3651
3652 * international/quail.el (quail-help): Make it not a command.
3653
39587580
LL
36542013-09-26 Leo Liu <sdl.web@gmail.com>
3655
3656 * minibuffer.el (completion-all-sorted-completions): Make args
3657 optional as they are.
3658
00578659
DC
36592013-09-25 Daniel Colascione <dancol@dancol.org>
3660
3661 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3662 specs are and that they're not evaluated.
3663
0c173878
SS
36642013-09-24 Sam Steingold <sds@gnu.org>
3665
3666 * midnight.el (clean-buffer-list-kill-regexps)
3667 (clean-buffer-list-kill-buffer-names): Update for the new Man
3668 buffer naming which includes the object name.
3669
84998447
SM
36702013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3673 (eshell-parse-command, eshell-parse-pipeline): Use it since
3674 eshell-separate-commands requires a dynamic scoped var.
3675 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3676
33215353
LL
36772013-09-23 Leo Liu <sdl.web@gmail.com>
3678
3679 * autoinsert.el (auto-insert-alist): Make the value of
3680 lexical-binding match its file setting.
3681
57b16162
JB
36822013-09-23 Juanma Barranquero <lekktu@gmail.com>
3683
c8af4e67
JB
3684 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3685
57b16162
JB
3686 * autoarg.el (autoarg-kp-digit-argument):
3687 * electric.el (Electric-command-loop):
3688 * kmacro.el (kmacro-step-edit-insert):
3689 Do not set universal-argument-num-events.
3690
7186ba60
LL
36912013-09-22 Leo Liu <sdl.web@gmail.com>
3692
3693 * files.el (interpreter-mode-alist): Add octave.
3694
ece15004
AM
36952013-09-21 Alan Mackenzie <acm@muc.de>
3696
3697 C++: fontify identifier in declaration following "public:" correctly.
3698 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3699 to match "public", etc.
3700 (c-decl-prefix-re): Add ":" into the C++ value.
3701 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3702 bit. Add a check for a ":" preceded by "public", etc.
3703
75d83e22
EZ
37042013-09-21 Eli Zaretskii <eliz@gnu.org>
3705
3706 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3707 recognized by GDB 7.5 and later.
3708
d052d3bd
XF
37092013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3710
3711 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3712
31dca772
R
37132013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * subr.el (internal--call-interactively): New const.
3716 (called-interactively-p): Use it (bug#3984).
3717
98ccf24e
XF
37182013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3719
3720 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3721 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3722 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3723
c39cc7d1
SM
37242013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3725
3726 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3727 (eshell-ls-orig-insert-directory): Remove.
3728 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3729 (eshell-ls-use-in-dired): Use advice-add/remove.
3730 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3731 Add `orig-fun' arg for use in :around advice.
3732 Make it check (redundantly) eshell-ls-use-in-dired.
3733
9a0289a2
GM
37342013-09-19 Glenn Morris <rgm@gnu.org>
3735
a2c501b8
GM
3736 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3737
c440407a
GM
3738 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3739
9a0289a2
GM
3740 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3741
85e05915
MA
37422013-09-19 Michael Albinus <michael.albinus@gmx.de>
3743
3744 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3745 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3746 (tramp-get-remote-python): New defuns.
3747 (tramp-get-remote-uid-with-perl)
3748 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3749 contributed by yary <not.com@gmail.com> (tiny change).
3750 (tramp-get-remote-uid-with-python)
3751 (tramp-get-remote-gid-with-python): New defuns. Python code
3752 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3753 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3754
ce503312
GM
37552013-09-19 Glenn Morris <rgm@gnu.org>
3756
f7544773
GM
3757 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3758
72fd2877
GM
3759 * eshell/em-unix.el (eshell-remove-entries):
3760 Rename argument to avoid name-clash with global `top-level'.
3761
336b5a56
GM
3762 * eshell/esh-proc.el (eshell-kill-process-function):
3763 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3764 (eshell-reset-after-proc): Remove unused arg `proc'.
3765
57a3a53d
GM
3766 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3767 (directory-files-and-attributes): Mark unused arg.
3768
3261d4af
GM
3769 * eshell/em-unix.el (eshell-remove-entries):
3770 Remove unused arg `path'. Update callers.
3771
8e51b5d0
GM
3772 * eshell/em-hist.el (eshell-hist-parse-arguments):
3773 Remove unused arg `silent'. Update callers.
3774
ce503312
GM
3775 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3776 Fix (f)boundp mix-up.
3777
3778 * eshell/em-smart.el (eshell-smart-scroll-window)
3779 (eshell-disable-after-change):
336b5a56 3780 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3781
ee3ce8a7
AM
37822013-09-18 Alan Mackenzie <acm@muc.de>
3783
3784 Fix fontification of type when followed by "const".
3785 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3786 "known" types from fontification.
3787
ec9177ba
GM
37882013-09-18 Glenn Morris <rgm@gnu.org>
3789
7bb3e768
GM
3790 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3791 (chart-face-list): Drop Emacsen without display-color-p.
3792
5148da15
GM
3793 * net/eww.el (libxml-parse-html-region): Declare.
3794 (eww-display-html): Explicit error if no libxml2 support.
3795
2f68e157
GM
3796 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3797
9019d095
GM
3798 * image.el (image-type-from-buffer, image-multi-frame-p):
3799 Remove --without-x warning/error.
67645389 3800
5f30349b 3801 * mouse.el (mouse-yank-primary):
45069b2e 3802 * term.el (term-mouse-paste):
5f30349b
GM
3803 Reorder to silence --without-x compilation.
3804
cd8edbbe
GM
3805 * mpc.el (doc-view-mode): Silence --without-x compilation.
3806
8a78544e
GM
3807 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3808 Silence --without-x compilation.
3809
12679bfd
GM
3810 * progmodes/gud.el (gud-find-file, gud-mode):
3811 Silence --without-x compilation.
3812 (tooltip-mode): Declare.
30810a05 3813
f0047cb9
GM
3814 * wdired.el (dired-backup-overwrite): Remove declaration.
3815 (wdired-mode-map): Add doc string.
3816
e740f9d2
GM
3817 * custom.el (x-get-resource): Declare.
3818
92d77c89
GM
3819 * eshell/em-glob.el (ange-cache):
3820 * eshell/em-unix.el (ange-cache): Declare.
3821
76e69577
GM
3822 * faces.el (x-display-list, x-open-connection, x-get-resource):
3823 Declare.
7e58af4b
GM
3824
3825 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3826 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3827 Declare.
76e69577 3828
4bd4c0af 3829 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3830
ffb82dbd
GM
3831 * net/gnutls.el (gnutls-log-level): Declare.
3832
986ed135
GM
3833 * net/shr.el (image-size, image-animate): Declare.
3834
e740f9d2
GM
3835 * simple.el (font-info): Declare.
3836
d2f3e9f8
GM
3837 * subr.el (x-popup-dialog): Declare.
3838
047a1a4c
GM
3839 * term/common-win.el (x-select-enable-primary)
3840 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3841 Declare.
3842
f4a1d572
GM
3843 * term/ns-win.el (x-handle-args): Declare.
3844
e843de77
GM
3845 * term/x-win.el (x-select-enable-clipboard): Declare.
3846
5fa89513
GM
3847 * term/w32-win.el (create-default-fontset): Declare.
3848
38702b5b
GM
3849 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3850 Declare.
3851
e740f9d2
GM
3852 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3853 (fit-frame-to-buffer): Explicit error if --without-x.
3854 (mouse-autoselect-window-select): Silence compiler.
3855
49a053fc
GM
3856 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3857
3858 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3859 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3860 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3861 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3862 Remove unused local variables.
3863
3864 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3865
ec9177ba
GM
3866 * textmodes/two-column.el: Make 2C-split work for --without-x.
3867 (scroll-bar-columns): Autoload.
3868 (top-level): Require fringe when compiling.
3869
9f25cb77
LL
38702013-09-18 Leo Liu <sdl.web@gmail.com>
3871
3872 * subr.el (add-hook): Robustify to handle closure as well.
3873
2b42da98
GM
38742013-09-17 Glenn Morris <rgm@gnu.org>
3875
3876 * simple.el (messages-buffer-mode-map): Unbind "g".
3877
e8b66a6a
SM
38782013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3879
9c0ad4f7
SM
3880 * help-mode.el (help-mode-finish): Use derived-mode-p.
3881 Remove obsolete highlighting.
3882
7a806dfb
SM
3883 * play/life.el (life-mode): Use define-derived-mode. Derive from
3884 special-mode.
3885 (life): Let-bind inhibit-read-only.
3886 (life-setup): Avoid `setq'. Use `life-mode'.
3887
96dbf5a8
SM
3888 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3889 which should not be needed any more.
3890 (package-menu-refresh, package-menu-describe-package): Use user-error.
3891
e8b66a6a
SM
3892 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3893 (eshell-post-rewrite-command-hook): Make obsolete.
3894 (eshell-parse-command): Simplify.
3895 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3896 (eshell--cmd): Declare.
3897 (eshell-parse-pipeline): Remove unused var `final-p'.
3898 Pass a dynvar to eshell-post-rewrite-command-hook.
3899 Implement the new eshell-post-rewrite-command-function.
3900 (eshell-invoke-directly): Remove unused arg `input'.
3901 * eshell/esh-io.el (eshell-io-initialize):
3902 Use eshell-post-rewrite-command-function (bug#15399).
3903 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3904 adjust to new calling convention.
3905 (eshell-create-handles): Rename args to avoid clashing with dynvar
3906 `standard-output'.
3907
90582f05
GM
39082013-09-17 Glenn Morris <rgm@gnu.org>
3909
3910 * simple.el (messages-buffer-mode): New major mode.
3911 (messages-buffer): New function.
3912 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3913 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3914 (ert-run-test): Use `messages-buffer' function.
90582f05 3915 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3916 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3917 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3918
39eb0cb5 39192013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3920
3921 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3922
1d42e5b6 3923 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 3924
70568a90
SM
39252013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3926
504a0381
SM
3927 * icomplete.el (icomplete-in-buffer): New var.
3928 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3929 vars and replace them with functions.
3930 (icomplete-minibuffer-setup): Adjust accordingly.
3931 (icomplete--completion-table, icomplete--completion-predicate)
3932 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3933 New functions.
3934 (icomplete-forward-completions, icomplete-backward-completions)
3935 (icomplete-simple-completing-p, icomplete-exhibit)
3936 (icomplete-completions): Use them.
3937 (icomplete--in-region-buffer): New var.
3938 (icomplete--in-region-setup): New function.
3939 (icomplete-mode): Use it.
3940
70568a90
SM
3941 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3942 (bug#15379).
3943 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3944 return args and options.
3945 (eshell-eval-using-options): Use the new return value of
3946 eshell--do-opts to set the options's vars in their scope.
3947 (eshell--set-option): Rename from eshell-set-option.
3948 Add arg `opt-vals'.
3949 (eshell--process-option): Rename from eshell-process-option.
3950 Add arg `opt-vals'.
3951 (eshell--process-args): Use an `opt-vals' alist to store the options's
3952 values during their processing and return them additionally to the
3953 remaining args.
3954
578c21bc
DG
39552013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3956
3957 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3958 continuation character an operator, as far as indentation is
3959 concerned (Bug#15369).
3960
c089653d
MR
39612013-09-15 Martin Rudalics <rudalics@gmx.at>
3962
3963 * window.el (window--state-put-2): Don't process buffer state
3964 when buffer doesn't exist any more (Bug#15382).
3965
1e53bb4b
GM
39662013-09-15 Glenn Morris <rgm@gnu.org>
3967
30753242
GM
3968 * eshell/em-unix.el (eshell/rm):
3969 Make -f ignore missing files. (Bug#15373)
3970
1e53bb4b
GM
3971 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3972 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3973 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3974
0d8863b3
GM
39752013-09-14 Glenn Morris <rgm@gnu.org>
3976
3977 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3978
d3fc6549
GM
39792013-09-13 Glenn Morris <rgm@gnu.org>
3980
3981 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3982 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3983
fcd42c11
DA
39842013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3985
3986 * frame.el (x-focus-frame): Mark as declared in frame.c.
3987
7830899f
SM
39882013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3989
3990 * ls-lisp.el: Use advice-add.
3991 (original-insert-directory): Remove.
3992 (ls-lisp--insert-directory): Rename from insert-directory; add
3993 `orig-fun' argument.
3994 (insert-directory): Advise.
3995
84387cd2
EZ
39962013-09-13 Eli Zaretskii <eliz@gnu.org>
3997
3998 * term.el (term-emulate-terminal): Decode the command string
3999 before passing it to term-command-hook. (Bug#15337)
4000
35ffc6ba
GM
40012013-09-13 Glenn Morris <rgm@gnu.org>
4002
5c3f9bcc
GM
4003 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4004
2ada368a
GM
4005 * eshell/esh-ext.el (eshell-search-path): Declare.
4006
fcef2e13
GM
4007 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4008 Otherwise an error occurs if eshell-dirs module not loaded.
4009
35ffc6ba
GM
4010 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4011
35c3d36e
MA
40122013-09-13 Michael Albinus <michael.albinus@gmx.de>
4013
4014 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4015 `tramp-check-proper-host'. Check for a valid method name.
4016
4017 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4018 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4019 * net/tramp-sh.el (tramp-maybe-open-connection):
4020 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4021
4022 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4023 also for hash values.
4024
ae5e4c48
SM
40252013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4026
379add74
SM
4027 * term/ns-win.el (parameters): Don't declare as dynamic.
4028 (before-make-frame-hook): Don't add ineffective function.
4029
ae5e4c48
SM
4030 * eshell/*.el: Use lexical-binding (bug#15231).
4031
b5623270
KH
40322013-09-12 Kenichi Handa <handa@gnu.org>
4033
ae5e4c48 4034 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4035
30213927
GM
40362013-09-12 Glenn Morris <rgm@gnu.org>
4037
be94d713 4038 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4039 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4040
44915370
GM
4041 * subr.el (do-after-load-evaluation): Also give compiler warnings
4042 when obsolete files are used (except by obsolete files).
4043
a6ae021f
GM
4044 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4045 in the status output, assume `filename' is the first. (Bug#15322)
4046
40e64f0c
GM
4047 * vc/vc.el (vc-deduce-fileset): Doc fix.
4048
16d9f896
GM
4049 * calc/calc-help.el (Info-goto-node):
4050 * progmodes/cperl-mode.el (Info-find-node):
4051 * vc/ediff.el (Info-goto-node): Update declarations.
4052
dea01c6e
GM
4053 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4054
759880bf 4055 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4056 (vc-bzr-pull): Require vc-dispatcher.
4057 * vc/vc-git.el (vc-compilation-mode): Declare.
4058 (vc-git-pull): Require vc-dispatcher.
4059
08d66420
GM
4060 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4061
30b626e9
GM
4062 * progmodes/octave.el (help-button-action): Declare.
4063
8c05cb10
GM
4064 * shell.el (shell-directory-tracker): Output error as a message
4065 rather than just returning it as a string.
4066 (shell-process-pushd): Remove useless use of message.
4067
30213927
GM
4068 * dframe.el (dframe-timer-fn):
4069 * files.el (dir-locals-read-from-file):
4070 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4071 (mpc-format):
4072 * reveal.el (reveal-post-command):
4073 * saveplace.el (load-save-place-alist-from-file):
4074 * shell.el (shell-resync-dirs):
4075 * w32-common-fns.el (x-get-selection-value):
4076 * emacs-lisp/copyright.el (copyright-find-copyright):
4077 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4078 * emulation/tpu-edt.el (tpu-copy-keyfile):
4079 * play/bubbles.el (bubbles--mark-neighbourhood):
4080 * progmodes/executable.el
4081 (executable-make-buffer-file-executable-if-script-p):
4082 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4083
d3b049e6
SM
40842013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4085
170266d0
SM
4086 Cleanup Eshell to rely less on dynamic scoping.
4087 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4088 last-value, and ext-command here. Bind `args' closer to `body'.
4089 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4090 (eshell--args): Declare new dynamic var.
4091 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4092 last-value, and ext-command. Pass `args' to `body'.
4093 (eshell-process-args): Bind eshell--args.
4094 (eshell-set-option): Use eshell--args.
4095 * eshell/eshell.el (eshell): Use derived-mode-p.
4096 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4097 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4098 (eshell-glob-function): Declare.
4099 * eshell/esh-util.el: Require cl-lib.
4100 (eshell-read-hosts-file): Avoid add-to-list.
4101 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4102 `err'.
4103 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4104 Declare.
4105 (eshell/diff): Remove unused var `err'.
4106 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4107 `killflag'.
4108 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4109 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4110 first use.
4111 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4112 Move declaration before first use.
4113 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4114 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4115 rely on cl-return.
4116
56834f3b
GM
41172013-09-12 Glenn Morris <rgm@gnu.org>
4118
4119 * term/ns-win.el (global-map): Remove binding for ispell-next,
4120 deleted 1999-05-29. (Bug#15357)
4121
5c91a2b8
GM
41222013-09-11 Glenn Morris <rgm@gnu.org>
4123
da712f22
GM
4124 * echistory.el (electric-command-history): Remove call to deleted func.
4125
512e4cdc
GM
4126 * play/landmark.el (landmark-mode): Fix typos.
4127
d3506ca5
GM
4128 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4129 Check cvs-sort-ignore-file is bound.
4130
5c91a2b8
GM
4131 * savehist.el: No need for cl when compiling on Emacs.
4132
feeff482
SM
41332013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4134
656bd483
SM
4135 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4136 (bug#15338).
d3b049e6
SM
4137 (eshell-self-insert-command, eshell-send-invisible):
4138 Remove unused argument.
656bd483
SM
4139 (eshell-handle-control-codes): Remove unused var `orig'.
4140 Avoid delete-backward-char.
4141
feeff482
SM
4142 * files.el (set-auto-mode): Simplify a bit further.
4143
2a08047a
GM
41442013-09-11 Glenn Morris <rgm@gnu.org>
4145
4146 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4147 (set-auto-mode): Don't regexp-quote elements.
4148 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4149 * progmodes/cc-mode.el (interpreter-mode-alist):
4150 * progmodes/ruby-mode.el (interpreter-mode-alist):
4151 Revert previous change.
4152
34675540
SM
41532013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4154
1b3b87df
SM
4155 * play/snake.el (snake-mode):
4156 * play/mpuz.el (mpuz-mode):
4157 * play/landmark.el (lm-mode):
4158 * play/blackbox.el (blackbox-mode):
4159 * play/5x5.el (5x5-mode):
4160 * obsolete/options.el (Edit-options-mode):
4161 * net/quickurl.el (quickurl-list-mode):
4162 * net/newst-treeview.el (newsticker-treeview-mode):
4163 * mail/rmailsum.el (rmail-summary-mode):
4164 * mail/mspools.el (mspools-mode):
4165 * locate.el (locate-mode):
4166 * ibuffer.el (ibuffer-mode):
4167 * emulation/ws-mode.el (wordstar-mode):
4168 * emacs-lisp/debug.el (debugger-mode):
4169 * array.el (array-mode):
4170 * net/eudc.el (eudc-mode): Use define-derived-mode.
4171 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4172 Move initialization into declaration.
4173 (mairix-searches-mode): Use define-derived-mode.
4174 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4175 (eudc-edit-hotlist): Use dolist.
4176 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4177 (Man-mode): Use define-derived-mode.
4178 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4179 (Info-edit-mode): Use define-derived-mode.
4180 (Info-cease-edit): Use Info-mode.
4181 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4182 into declaration.
4183 (eshell-mode): Use define-derived-mode.
4184 * chistory.el (command-history-mode-map): Rename from
4185 command-history-map.
4186 (command-history-mode): Use define-derived-mode.
da712f22 4187 (Command-history-setup): Remove function.
1b3b87df
SM
4188 * calc/calc.el (calc-trail-mode-map): New var.
4189 (calc-trail-mode): Use define-derived-mode.
4190 (calc-trail-buffer): Set calc-main-buffer manually.
4191 * bookmark.el (bookmark-insert-annotation): New function.
4192 (bookmark-edit-annotation): Use it.
4193 (bookmark-edit-annotation-mode): Make it a proper major mode.
4194 (bookmark-send-edited-annotation): Use derived-mode-p.
4195 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4196 closer to its ideal place. Use \' to match EOS.
4197
34675540
SM
4198 * profiler.el (profiler-calltree-find): Use function-equal.
4199
6a5c15d9
GM
42002013-09-10 Glenn Morris <rgm@gnu.org>
4201
1af4c220
GM
4202 * files.el (interpreter-mode-alist): Convert to regexps.
4203 (set-auto-mode): Adapt for this. (Bug#15306)
4204 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4205 Comment out unused variable.
4206 * progmodes/cc-mode.el (interpreter-mode-alist):
4207 * progmodes/python.el (interpreter-mode-alist):
4208 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4209 * progmodes/sh-script.el (sh-set-shell):
4210 No longer use interpreter-mode-alist to get list of shells.
4211
6a5c15d9
GM
4212 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4213
8c27f5ff
SM
42142013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4215
02ef6c1a 4216 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4217 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4218 Bind switch-frame explicitly. Replace universal-argument-minus with
4219 a conditional binding.
4220 (universal-argument-num-events, saved-overriding-map): Remove.
4221 (restore-overriding-map): Remove.
4222 (universal-argument--mode): Rename from save&set-overriding-map,
4223 and rewrite.
4224 (universal-argument, universal-argument-more, negative-argument)
4225 (digit-argument): Adjust accordingly.
4226 (universal-argument-minus): Remove.
4227 (universal-argument-other-key): Remove.
4228
8c27f5ff
SM
4229 * subr.el (with-demoted-errors): Add `format' argument.
4230
6480194c
MA
42312013-09-10 Michael Albinus <michael.albinus@gmx.de>
4232
4233 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4234 `tramp-cleanup-connection'.
4235
4236 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4237 parameters KEEP-DEBUG and KEEP-PASSWORD.
4238
4239 * net/tramp.el (tramp-file-name-handler):
4240 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4241 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4242 (tramp-maybe-open-connection):
8c27f5ff
SM
4243 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4244 Use `tramp-cleanup-connection'.
6480194c 4245
8c27f5ff
SM
4246 * net/tramp-sh.el (tramp-maybe-open-connection):
4247 Catch 'uname-changed inside the progress reporter.
6480194c 4248
e5e916d8
GM
42492013-09-10 Glenn Morris <rgm@gnu.org>
4250
9a2c9b47
GM
4251 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4252
e5e916d8
GM
4253 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4254 returns "alternate access method" in mode (eg "-rw-r--r--.").
4255
144e38fe
GM
42562013-09-08 Glenn Morris <rgm@gnu.org>
4257
4258 * saveplace.el (load-save-place-alist-from-file):
4259 Demote errors. (Bug#15305)
4260
af9ff9e8
MA
42612013-09-08 Michael Albinus <michael.albinus@gmx.de>
4262
4263 Improve compatibility with older Emacsen, and XEmacs.
4264
4265 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4266 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4267 (with-tramp-progress-reporter): Do not let-bind `result'.
4268 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4269 (tramp-handle-make-auto-save-file-name): New function, moved from
4270 tramp-sh.el.
4271
4272 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4273 for `make-auto-save-file-name'.
8c27f5ff
SM
4274 (tramp-adb--gnu-switches-to-ash):
4275 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4276
4277 * net/tramp-cache.el (tramp-cache-print): Call
4278 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4279
4280 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4281 bound. It isn't for XEmacs.
4282
8c27f5ff
SM
4283 * net/tramp-compat.el (tramp-compat-copy-file):
4284 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4285 (tramp-compat-replace-regexp-in-string): New defun.
4286
4287 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4288 for `make-auto-save-file-name'.
4289 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4290 `copy-file'.
4291 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4292 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4293 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4294
8c27f5ff
SM
4295 * net/tramp-gw.el (tramp-gw-open-network-stream):
4296 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4297
8c27f5ff
SM
4298 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4299 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4300 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4301 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4302 (tramp-sh-file-inotifywait-process-filter):
4303 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4304 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4305
4306 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4307 for `make-auto-save-file-name'.
8c27f5ff
SM
4308 (tramp-smb-handle-copy-directory):
4309 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4310 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4311 (tramp-smb-handle-copy-file): Improve error message.
4312 (tramp-smb-handle-rename-file): Rename directly only in case
4313 `newname' does not exist yet. This is a restriction of smbclient.
4314 (tramp-smb-maybe-open-connection): Rerun the function only when
4315 `auth-sources' is non-nil.
4316
0ca754d0
KH
43172013-09-08 Kenichi Handa <handa@gnu.org>
4318
e0eb0550 4319 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4320 more characters.
4321
e8dd0787
AM
43222013-09-07 Alan Mackenzie <acm@muc.de>
4323
4324 Correctly fontify Java class constructors.
4325 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4326 in Java Mode.
4327 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4328 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4329 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4330 "typeless" declaration there.
4331
f2f248e7
RW
43322013-09-07 Roland Winkler <winkler@gnu.org>
4333
4334 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4335 field subtitle for entry type book.
4336
67982e2b
SM
43372013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * minibuffer.el: Make minibuffer-complete call completion-in-region
4340 rather than other way around.
4341 (completion--some, completion-pcm--find-all-completions):
4342 Don't delay signals when debugging.
4343 (minibuffer-completion-contents): Beware fields within the
4344 minibuffer contents.
4345 (completion-all-sorted-completions): Use defvar-local.
4346 (completion--do-completion, completion--cache-all-sorted-completions)
4347 (completion-all-sorted-completions, minibuffer-force-complete):
4348 Add args `beg' and `end'.
4349 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4350 (minibuffer-complete): Use completion-in-region.
4351 (completion-complete-and-exit): New fun, extracted from
4352 minibuffer-complete-and-exit.
4353 (minibuffer-complete-and-exit): Use it.
4354 (completion--complete-and-exit): Rename from
4355 minibuffer--complete-and-exit.
4356 (completion-in-region--single-word): New function, extracted from
4357 minibuffer-complete-word.
4358 (minibuffer-complete-word): Use it.
4359 (display-completion-list): Make `common-substring' argument obsolete.
4360 (completion--in-region): Call completion--in-region-1 instead of
4361 minibuffer-complete.
4362 (completion-help-at-point): Pass boundaries to
4363 minibuffer-completion-help as args rather than via an overlay.
4364 (completion-pcm--string->pattern): Use `any-delim'.
4365 (completion-pcm--optimize-pattern): New function.
4366 (completion-pcm--pattern->regex): Handle `any-delim'.
4367 * icomplete.el (icomplete-forward-completions)
4368 (icomplete-backward-completions, icomplete-completions):
4369 Adjust calls to completion-all-sorted-completions and
4370 completion--cache-all-sorted-completions.
4371 (icomplete-with-completion-tables): Default to t.
4372 * emacs-lisp/crm.el (crm--current-element): Rename from
4373 crm--select-current-element. Don't put an overlay but return the
4374 boundaries instead.
4375 (crm--completion-command): Take two new args to bind to the boundaries.
4376 (crm-completion-help): Adjust accordingly.
4377 (crm-complete): Use completion-in-region.
4378 (crm-complete-word): Use completion-in-region--single-word.
4379 (crm-complete-and-exit): Use completion-complete-and-exit.
4380
e17d94a5
SM
43812013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4384 than dynamically.
4385
96727100
JL
43862013-09-06 Juri Linkov <juri@jurta.org>
4387
4388 * info.el (Info-display-images-node): When image file doesn't exist
4389 display text version of the image if it's provided in the Info file.
4390 Otherwise, display the location of missing image from SRC attribute.
4391 Add help-echo text property from ALT attribute. (Bug#15279)
4392
86cf7329
SM
43932013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4394
4395 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4396 (edit-abbrevs-mode): Use define-derived-mode.
4397
4398 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4399 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4400 that it's defined.
4401 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4402 Use define-derived-mode.
4403
4404 * epg.el (epg-start-encrypt): Minor CSE simplification.
4405
816244a2
WX
44062013-09-06 William Xu <william.xwl@gmail.com>
4407
4408 * arc-mode.el: Add support for 7za (bug#15264).
4409 (archive-7z-program): New var.
4410 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4411 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4412 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4413
1486fa31
MA
44142013-09-06 Michael Albinus <michael.albinus@gmx.de>
4415
4416 Remove URL syntax.
4417
4418 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4419 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4420 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4421 (tramp-postfix-host-format, tramp-file-name-regexp)
4422 (tramp-completion-file-name-regexp)
4423 (tramp-completion-dissect-file-name)
4424 (tramp-handle-substitute-in-file-name): Remove 'url case.
4425 (tramp-file-name-regexp-url)
4426 (tramp-completion-file-name-regexp-url): Remove constants.
4427
39785324
GM
44282013-09-06 Glenn Morris <rgm@gnu.org>
4429
4430 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4431
1f896cb7
DG
44322013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4433
4434 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4435 keywords" below "here-doc beginnings" (Bug#15270).
4436
c0458e0b
SM
44372013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4438
4439 * subr.el (pop): Use `car-safe'.
4440 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4441 to detect unused `pop' return value.
4442
4443 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4444 var `block-regexp'.
4445 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4446 (python-fill-string): Remove unused var `marker'.
4447 (python-skeleton-add-menu-items): Remove unused var `items'.
4448
4449 * international/mule-cmds.el: Require CL.
4450 (find-coding-systems-for-charsets): Avoid add-to-list.
4451 (sanitize-coding-system-list): New function, extracted from
4452 select-safe-coding-system-interactively.
4453 (select-safe-coding-system-interactively): Use it.
4454 (read-input-method-name): Accept symbols for `default'.
4455
4456 * emacs-lisp/advice.el (defadvice): Add indent rule.
4457
6c42fc3e
DH
44582013-09-05 Daniel Hackney <dan@haxney.org>
4459
4460 * dired-x.el:
4461 * net/ange-ftp.el:
4462 * net/browse-url.el:
4463 * net/dbus.el:
4464 * net/eudc.el:
4465 * net/eudcb-ldap.el:
4466 * net/eww.el:
4467 * net/imap.el:
4468 * printing.el:
4469 * vc/ediff-diff.el:
4470 * vc/ediff-init.el:
4471 * vc/ediff-merg.el:
4472 * vc/ediff-mult.el:
4473 * vc/ediff-util.el:
4474 * vc/ediff-wind.el:
4475 * vc/ediff.el:
4476 * vc/emerge.el:
4477 * vc/pcvs.el:
4478 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4479 byte compiler. Remove some unused let-bound variables.
4480
4c528aab
SM
44812013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4482
4483 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4484 a "ref-cell", since it gets better optimized (bug#14883).
4485
bd15c390
GM
44862013-09-05 Glenn Morris <rgm@gnu.org>
4487
4488 * progmodes/cc-awk.el (c-forward-sws): Declare.
4489
1c3ac2e5
GM
44902013-09-04 Glenn Morris <rgm@gnu.org>
4491
4492 * generic-x.el [rul-generic-mode]: Require cc-mode.
4493 (c++-mode-syntax-table): Declare.
4494 (rul-generic-mode-syntax-table): Init in the defvar.
4495
52b1cc79
SM
44962013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4497
c828af56
SM
4498 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4499 (vc-do-command, vc-set-async-update):
4500 * vc/vc-mtn.el (vc-mtn-dir-status):
4501 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4502 (vc-hg-pull, vc-hg-merge-branch):
4503 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4504 (vc-git-merge-branch):
4505 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4506 (vc-cvs-dir-status-files):
4507 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4508 (vc-bzr-dir-status-files):
4509 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4510 * vc/vc-annotate.el: Use lexical-binding.
4511 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4512 (vc-sentinel-movepoint): Declare.
4513 (vc-annotate): Don't use `goto-line'.
4514 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4515 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4516 (vc-sentinel-movepoint): Declare.
4517 * vc/vc-svn.el: Use lexical-binding.
4518 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4519 * vc/vc-sccs.el:
4520 * vc/vc-rcs.el: Use lexical-binding.
4521
abae272c
SM
4522 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4523 `deleted'. Don't drop errors silently.
4524
52b1cc79
SM
4525 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4526
63191d9f
XF
45272013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4528
4529 * vc/vc.el (vc-ignore): Rewrite.
4530 (vc-default-ignore): New function.
4531 (vc-default-ignore-completion-table): Use find-ignore-file.
4532
4533 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4534 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4535 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4536 Remove. Most code moved to vc.el.
4537
9d3f707c
SM
45382013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4539
abae272c 4540 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4541 * net/tramp-smb.el (tramp-smb-get-file-entries):
4542 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4543 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4544
fde38d49
SM
4545 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4546 Update call to it.
4547 (eww-change-select): Remove unused var `properties'.
4548 (eww-make-unique-file-name): Remove unused var `base'.
4549
4550 * finder.el (finder-compile-keywords): Don't mess with windows.
4551
84032db7
SM
4552 * calculator.el (calculator-funcall): Fix typo in last change.
4553
724f5e41
SM
4554 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4555
14b511d4
SM
4556 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4557 <pkg>-autoloads.el file stop us.
4558
9d3f707c 4559 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4560 warnings, and factor out common code.
9d3f707c 4561
88527bc0
DG
45622013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4563
4564 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4565 two-character operators and whether the character preceding them
4566 changes their meaning (Bug#15208).
4567
96edb677
FEG
45682013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4569
4570 Format code sent to Python shell for robustness.
9d3f707c
SM
4571 * progmodes/python.el (python-shell-buffer-substring):
4572 New function.
96edb677
FEG
4573 (python-shell-send-region, python-shell-send-buffer): Use it.
4574
95beaef3
MA
45752013-09-02 Michael Albinus <michael.albinus@gmx.de>
4576
4577 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4578 * net/tramp.el (tramp-user-error): ... here.
4579 (tramp-find-method, tramp-check-proper-host)
4580 (tramp-dissect-file-name, tramp-debug-message)
4581 (tramp-handle-shell-command):
4582 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4583 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4584
4585 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4586
f167c27b
MR
45872013-09-02 Martin Rudalics <rudalics@gmx.at>
4588
4589 * avoid.el (mouse-avoidance-point-position)
4590 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4591 returns nil.
4592
cd16c5f1
FEG
45932013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4594
4595 * progmodes/python.el (python-shell-completion-get-completions):
4596 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4597 (python-nav-if-name-main): New command.
cd16c5f1 4598
e73c3a0d
GM
45992013-09-01 Glenn Morris <rgm@gnu.org>
4600
f8ccce03
GM
4601 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4602 Avoid leading space in $wins. Otherwise the sed command used by
4603 eg compile-main ends up containing "/*.el". (Bug#15170)
4604
e73c3a0d
GM
4605 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4606
415f808e
GM
46072013-08-30 Glenn Morris <rgm@gnu.org>
4608
4609 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4610 Fix is-this-a-directory logic. (Bug#15220)
4611
f069bba8
SM
46122013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4613
112798c1
SM
4614 * textmodes/css-mode.el: Use SMIE.
4615 (css-smie-grammar): New var.
4616 (css-smie--forward-token, css-smie--backward-token)
4617 (css-smie-rules): New functions.
4618 (css-mode): Use them.
4619 (css-navigation-syntax-table): Remove var.
4620 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4621 (css-indent-calculate, css-indent-line): Remove functions.
4622
4623 Misc changes to reduce use of `(lambda...); and other cleanups.
4624 * cus-edit.el: Use lexical-binding.
4625 (customize-push-and-save, customize-apropos)
4626 (custom-buffer-create-internal): Use closures.
4627 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4628 * progmodes/ada-xref.el: Use setq.
4629 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4630 * dframe.el: Use lexical-binding.
4631 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4632 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4633 * descr-text.el: Use lexical-binding.
4634 (describe-text-widget, describe-text-sexp, describe-property-list):
4635 Use closures.
4636 * comint.el (comint-history-isearch-push-state): Use a closure.
4637 * calculator.el: Use lexical-binding.
4638 (calculator-number-to-string): Make it work with lexical-binding.
4639 (calculator-funcall): Same and use cl-letf.
4640
2da4c3ab
SM
4641 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4642 (lisp--company-doc-string, lisp--company-location): New functions.
4643 (lisp-completion-at-point): Use them to improve Company support.
4644
f069bba8
SM
4645 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4646 params of lambda expressions.
4647 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4648 (ruby-smie--opening-pipe-p): New function.
4649 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4650 symbols and matched |...| for formal params.
4651 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4652 from being treated as hanging. Handle "rescue".
4653
6758b6a8
GM
46542013-08-29 Glenn Morris <rgm@gnu.org>
4655
4656 * progmodes/cc-engine.el (c-pull-open-brace):
4657 Move definition before use.
4658
e8dfd197
SM
46592013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4662 are immutable. Don't use `unsafe' any more.
4663 (cl--defsubst-expand): Don't substitute at the same time as keeping
4664 a residual unused let-binding. Don't use `unsafe' any more.
4665
cc585c96
GM
46662013-08-29 Glenn Morris <rgm@gnu.org>
4667
ba579ea6
GM
4668 * calendar/cal-china.el (calendar-chinese-year-cache):
4669 Recenter on 2015.
4670
8201a87e
GM
4671 * nxml/nxml-util.el (nxml-debug-clear-inside):
4672 Use cl-loop rather than loop.
4673
6ee877c7
GM
4674 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4675
cc585c96
GM
4676 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4677
27be8d39
GM
46782013-08-28 Glenn Morris <rgm@gnu.org>
4679
397440a1
GM
4680 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4681
2bb762d4
GM
4682 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4683
27be8d39
GM
4684 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4685
2d69b99e
SM
46862013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4687
f663baa7
SM
4688 * simple.el (repeat-complex-command--called-interactively-skip):
4689 New function.
4690 (repeat-complex-command): Use it (bug#14136).
4691
dd4f8b74
SM
4692 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4693 (c-define-abbrev-table): Add `doc' argument.
4694 (c-mode-abbrev-table, c++-mode-abbrev-table)
4695 (objc-mode-abbrev-table, java-mode-abbrev-table)
4696 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4697 (awk-mode-abbrev-table): Use it.
4698 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4699 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4700 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4701 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4702 Move initialization into the declaration; and remove any
4703 autoload cookie.
4704
b58969f7
SM
4705 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4706 and dynamic let binding.
4707
4021d6a6
SM
4708 * vc/smerge-mode.el: Remove redundant :group args.
4709
2d69b99e
SM
4710 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4711 to load-path.
4712
274919fd
JL
47132013-08-28 Juri Linkov <juri@jurta.org>
4714
4715 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4716 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4717 (isearch-other-meta-char): Handle an undefined shifted printing
4718 character by downshifting it. (Bug#15200)
4719
121f8c95
JL
47202013-08-28 Juri Linkov <juri@jurta.org>
4721
4722 * isearch.el (isearch-search): Change regexp error message for
4723 non-regexp searches. (Bug#15166)
4724
50b13cde
PE
47252013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4726
4727 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4728 for portability to hosts where /bin/sh has problems.
4729
95888bca
SM
47302013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4731
4732 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4733
bbe558f1
JL
47342013-08-27 Juri Linkov <juri@jurta.org>
4735
4736 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4737 in the keyboard macro. (Bug#15126)
4738
26f98a7d
JL
47392013-08-27 Juri Linkov <juri@jurta.org>
4740
4741 * isearch.el (isearch-quote-char): Comment out converting unibyte
4742 to multibyte, thus syncing with its `quoted-insert' counterpart.
4743 (Bug#15166)
4744
7c97d35e
MR
47452013-08-27 Martin Rudalics <rudalics@gmx.at>
4746
4747 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4748 argument in call of get-largest-window (Bug#15185).
4749 Reported by Stephen Leake.
7c97d35e 4750
a0b5606e 47512013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4752
4753 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4754
9e89d835
SM
47552013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4758 from a matcher-function unless there's no more matches (bug#15161).
4759
78fc2530
MA
47602013-08-26 Michael Albinus <michael.albinus@gmx.de>
4761
4762 * minibuffer.el: Revert change from 2013-08-20.
4763
4764 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4765 with text property `tramp-default', if appropriate.
4766 (tramp-check-proper-host): New defun.
4767 (tramp-dissect-file-name): Do not check hostname. Revert change
4768 of 2013-03-18.
4769 (tramp-backtrace): Make VEC-OR-PROC optional.
4770
4771 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4772 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4773 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4774 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4775 Apply `tramp-check-proper-host'.
78fc2530 4776
edca97cd
TH
47772013-08-26 Tassilo Horn <tsdh@gnu.org>
4778
4779 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4780 lambda expression in order to have `describe-variable' display it.
4781
df54bcbd
MA
47822013-08-26 Michael Albinus <michael.albinus@gmx.de>
4783
4784 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4785 BUF can be optional. (Bug#15186)
4786
eed99101
XF
47872013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4788
4789 * progmodes/flymake.el (flymake-get-real-file-name-function):
4790 Fix broken customization. (Bug#15184)
4791
b5eb9035
AM
47922013-08-25 Alan Mackenzie <acm@muc.de>
4793
8a51e842
AM
4794 Improve indentation of bracelists defined by macros (without "=").
4795
4796 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4797 expansion begins with "{", regard it as bracelist when it doesn't
4798 contain a ";".
4799
869455d4
AM
4800 Parse C++ inher-intro when there's a template split over 2 lines.
4801
4802 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4803 rigorously the search for "class" etc. followed by ":".
4804
4805 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4806 random languages a regexp which never matches rather than nil.
4807
b5eb9035
AM
4808 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4809
4810 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4811 (c-awk-regexp-one-line-possibly-open-char-list-re)
4812 (c-awk-one-line-possibly-open-regexp-re)
4813 (c-awk-one-line-non-syn-ws*-re): Remove.
4814 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4815 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4816 (c-awk-space*-unclosed-regexp-/-re): New constants.
4817 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4818 aren't regexp delimiters.
4819
4820 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4821 handling for a rare situation in AWK Mode involving unterminated
4822 strings/regexps.
4823
61611d54
GM
48242013-08-23 Glenn Morris <rgm@gnu.org>
4825
2d85dc34
GM
4826 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4827
cb8d2612
GM
4828 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4829
bb35f42f
GM
4830 * files.el (create-file-buffer): If the result would begin with
4831 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4832
b9808e77
SM
48332013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4834
e3a66363
SM
4835 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4836 text-properties (bug#15155).
4837
b9808e77
SM
4838 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4839 exist any more.
4840 (calc-keypad-redraw): Remove unused var `pad'.
4841 (calc-keypad-press): Remove unused var `menu'.
4842
7fd5f65e
MR
48432013-08-23 Martin Rudalics <rudalics@gmx.at>
4844
b9808e77
SM
4845 * window.el (display-buffer-pop-up-frame):
4846 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4847 use it as the new frame's buffer (Bug#15133).
4848
8352b530
SM
48492013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4850
4851 * calendar/timeclock.el: Minor cleanups.
4852 (timeclock-ask-before-exiting, timeclock-use-display-time):
4853 Use `symbol'.
4854 (timeclock-modeline-display): Define as alias before the
4855 actual definition.
4856 (timeclock-mode-line-display): Use define-minor-mode.
4857 (timeclock-day-list-template): Make it a function, add an argument.
4858 (timeclock-day-list-required, timeclock-day-list-length)
4859 (timeclock-day-list-debt, timeclock-day-list-span)
4860 (timeclock-day-list-break): Adjust calls accordingly.
4861
9f7b1925
SM
48622013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4863
4864 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4865 Use read--expression so that completion works again.
4866
6e50e983
SS
48672013-08-21 Sam Steingold <sds@gnu.org>
4868
4869 Add rudimentary inferior shell interaction
4870 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4871 (sh-set-shell): Reset it.
9f7b1925
SM
4872 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4873 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4874
dbb0d350
SM
48752013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * align.el: Use lexical-binding.
4878 (align-region): Simplify accordingly.
4879
c88586a9
MA
48802013-08-20 Michael Albinus <michael.albinus@gmx.de>
4881
4882 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4883
4884 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4885 `non-essential' up.
4886
f95527c8
MA
48872013-08-17 Michael Albinus <michael.albinus@gmx.de>
4888
4889 * net/tramp.el:
4890 * net/tramp-adb.el:
4891 * net/tramp-cmds.el:
4892 * net/tramp-ftp.el:
4893 * net/tramp-gvfs.el:
4894 * net/tramp-gw.el:
4895 * net/tramp-sh.el: Don't wrap external variable declarations by
4896 `eval-when-compile'.
4897
4b5fe4ee
LMI
48982013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4899
4900 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4901 now that Emacs supports ImageMagick animations.
4902
13c366c9
MA
49032013-08-16 Michael Albinus <michael.albinus@gmx.de>
4904
4905 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4906 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4907
3dfc5cd6
MR
49082013-08-16 Martin Rudalics <rudalics@gmx.at>
4909
4910 * window.el (mouse-autoselect-window-select): Do autoselect when
4911 mouse pointer is on margin.
4912
4bbb4381
WP
49132013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4914
4915 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4916
3a2ddc2d
GM
49172013-08-16 Glenn Morris <rgm@gnu.org>
4918
e8bedf5a
GM
4919 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4920 Handle "Remote Directory" response of some clients. (Bug#15058)
4921
58c4682f
GM
4922 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4923 Tweak warning. (Bug#14926)
4924
57953f49
GM
4925 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4926 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4927
3a2ddc2d
GM
4928 * image-mode.el (image-mode-map): Add menu items to reverse,
4929 increase, decrease, reset animation speed.
4930 (image--set-speed, image-increase-speed, image-decrease-speed)
4931 (image-reverse-speed, image-reset-speed): New functions.
4932 (image-mode-map): Add bindings for speed commands.
4933
4934 * image.el (image-animate-get-speed, image-animate-set-speed):
4935 New functions.
4936 (image-animate-timeout): Respect image :speed property.
4937
10fa0ed3
SM
49382013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4941 previous line (bug#15101).
4942 (debugger-eval-expression, debugger-record-expression):
4943 Use read--expression (bug#15102).
4944
5d89d9d2
MA
49452013-08-15 Michael Albinus <michael.albinus@gmx.de>
4946
4947 Remove byte compiler warnings, visible when compiling with
4948 `byte-compile-force-lexical-warnings' set to t.
4949
4950 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4951 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4952 (tramp-handle-unhandled-file-name-directory)
4953 (tramp-handle-file-notify-add-watch, tramp-action-login)
4954 (tramp-action-succeed, tramp-action-permission-denied)
4955 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4956 arguments with "_".
4957
4958 * net/tramp-adb.el (tramp-adb-parse-device-names)
4959 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4960 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4961 (tramp-adb-handle-file-truename): Remove unused arguments.
4962
4963 * net/tramp-cache.el (tramp-flush-directory-property)
4964 (tramp-flush-connection-property, tramp-list-connections)
4965 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4966
10fa0ed3
SM
4967 * net/tramp-compat.el (tramp-compat-make-temp-file):
4968 Rename FILENAME to F.
5d89d9d2
MA
4969
4970 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4971 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4972 (tramp-zeroconf-parse-workstation-device-names)
4973 (tramp-zeroconf-parse-webdav-device-names)
4974 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4975
4976 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4977 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4978
4979 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4980 arguments.
4981 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4982 (tramp-sh-handle-insert-file-contents-literally)
4983 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4984 with "_".
4985 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4986 Remove unused variables.
4987
4988 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4989 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4990 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4991
4992 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4993 Make them a defconst.
4994 (tramp-uuencode-region): Remove unused variable.
4995
62f33bae
JB
49962013-08-14 Juanma Barranquero <lekktu@gmail.com>
4997
4998 * frameset.el (frameset--prop-setter): New function.
4999 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5000 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5001 parameter was already set in FILTERED. Doc fix.
5002 (frameset--record-minibuffer-relationships): Allow saving a
5003 minibufferless frame without its corresponding minibuffer frame.
5004 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5005 frame, if the frame id matches.
5006 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5007 frames before orphaned ones.
5008 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5009
c660a885
MR
50102013-08-14 Martin Rudalics <rudalics@gmx.at>
5011
5012 * window.el (window-make-atom): Don't overwrite parameter
5013 already present.
5014 (display-buffer-in-atom-window): Handle special case where we
5015 split an already atomic window.
5016 (window--major-non-side-window, display-buffer-in-side-window)
5017 (window--side-check): Ignore minibuffer window when walking
5018 window tree.
5019 (window-deletable-p): Return 'frame only if no other frame uses
5020 our minibuffer window.
5021 (record-window-buffer): Run buffer-list-update-hook.
5022 (split-window): Make sure window--check-frame won't destroy an
5023 existing atomic window in case the new window gets nested
5024 inside.
5025 (display-buffer-at-bottom): Ignore minibuffer window when
5026 walking window tree. Don't split a side window.
5027 (pop-to-buffer): Don't set-buffer here, the select-window call
5028 should do that.
5029 (mouse-autoselect-window-select): Autoselect only if we are in the
5030 text portion of the window.
5031
8259030d
LMI
50322013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5033
21c58ae2
LMI
5034 * net/shr.el (shr-parse-image-data): New function to grab both the
5035 data itself and the Content-Type.
5036 (shr-put-image): Use it.
5037
5038 * net/eww.el (eww-display-image): Ditto.
5039
8259030d
LMI
5040 * image.el (image-content-type-suffixes): New variable.
5041
ad756449
FEG
50422013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5043
5044 * progmodes/python.el (python-imenu--build-tree)
5045 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5046
f73f4ce6
XF
50472013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5048
5049 * simple.el (backward-word): Mention the optional argument.
5050
1f585e65
SM
50512013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5052
5053 * frameset.el (frameset--make): Rename constructor from make-frameset.
5054 (frameset-p, frameset-valid-p): Don't autoload.
5055 (frameset-valid-p): Use normal accessors.
5056
af1c6c84
GM
50572013-08-13 Glenn Morris <rgm@gnu.org>
5058
55e47f95
GM
5059 * progmodes/compile.el (compile-command): Tweak example in doc.
5060 * obsolete/scribe.el (scribe-mode):
5061 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5062
f0024d8c
GM
5063 * mail/feedmail.el (feedmail-confirm-outgoing)
5064 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5065
5066 * cus-start.el (truncate-partial-width-windows): Fix type.
5067
5068 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5069
af1c6c84
GM
5070 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5071
5514cc4c
SM
50722013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5073
5074 * emacs-lisp/timer.el (timer--time-setter): New function.
5075 (timer--time): Use it as gv-setter.
5076
5077 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5078 setter is not a symbol.
5079
7997a2f1
GJ
50802013-08-12 Grégoire Jadi <daimrod@gmail.com>
5081
5082 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5083 if sending fails. This makes debugging easier.
5084
01f1a9ab
JB
50852013-08-12 Juanma Barranquero <lekktu@gmail.com>
5086
5087 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5088 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5089 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5090
594a4307
EZ
50912013-08-12 Eli Zaretskii <eliz@gnu.org>
5092
5093 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5094
7a22490f 50952013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5096
5097 * format.el (format-annotate-function):
5098 Handle read-only text properties in the source. (Bug#14887)
5099
3e41a054
LMI
51002013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5101
5514cc4c
SM
5102 * net/eww.el (eww-display-html): Ignore coding system errors.
5103 One web site uses "utf-8lias" as the coding system.
3e41a054 5104
7ec326db
JB
51052013-08-11 Juanma Barranquero <lekktu@gmail.com>
5106
5107 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5108
5660113b
JB
51092013-08-10 Juanma Barranquero <lekktu@gmail.com>
5110
9a4ebc74
JB
5111 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5112 (tutorial--detailed-help): Remove unused local variables.
5113 (tutorial--save-tutorial-to): Use ignore-errors.
5114 (help-with-tutorial): Use looking-at-p.
5115
5116 * view.el (view-buffer-other-window, view-buffer-other-frame):
5117 Mark unused arguments.
5118
5119 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5120 (woman-select-symbol-fonts, woman, woman-find-file)
5121 (woman-insert-file-contents, woman-non-underline-faces):
5122 Use string-match-p.
5123 (woman1-unquote): Move declaration.
5124
5125 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5126 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5127 argument. Remove unused local variable.
5128 (xml-parse-elem-type): Use string-match-p.
5129 (xml-substitute-numeric-entities): Use ignore-errors.
5130
45fdb482
JB
5131 * calculator.el (calculator): Mark unused argument.
5132 (calculator-paste, calculator-quit, calculator-integer-p):
5133 Use ignore-errors.
5134 (calculator-string-to-number, calculator-decimal, calculator-exp)
5135 (calculator-op-or-exp): Use string-match-p.
5136
5137 * dired.el (dired-buffer-more-recently-used-p): Declare.
5138 (dired-insert-set-properties, dired-insert-old-subdirs):
5139 Use ignore-errors.
5140
5141 * dired-aux.el (dired-compress): Use ignore-errors.
5142 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5143 (dired-do-async-shell-command, dired-do-shell-command)
5144 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5145 (dired-insert-subdir-validate): Use string-match-p.
5146 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5147 (dired-add-entry): Use string-match-p, looking-at-p.
5148 (dired-insert-subdir-newpos): Remove unused local variable.
5149
5150 * filenotify.el (file-notify-callback): Remove unused local variable.
5151
5152 * filesets.el (filesets-error): Mark unused argument.
5153 (filesets-which-command-p, filesets-filter-dir-names)
5154 (filesets-directory-files, filesets-get-external-viewer)
5155 (filesets-ingroup-get-data): Use string-match-p.
5156
5157 * find-file.el (ff-other-file-name, ff-other-file-name)
5158 (ff-find-the-other-file, ff-cc-hh-converter):
5159 Remove unused local variables.
5160 (ff-get-file-name): Use string-match-p.
5161 (ff-all-dirs-under): Use ignore-errors.
5162
5163 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5164 (follow-select-if-visible): Remove unused local variable.
5165
5166 * forms.el (read-file-filter): Move declaration.
5167 (forms--make-format, forms--make-parser, forms-insert-record):
5168 Quote function with #'.
5169 (forms--update): Use string-match-p. Quote function with #'.
5170
5171 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5172 (help-make-xrefs): Use looking-at-p.
5173 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5174
5175 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5176 (ibuffer-confirm-operation-on): Use string-match-p.
5177
5178 * msb.el (msb-item-handler, msb-dired-item-handler):
5179 Mark unused arguments.
5180
5181 * ses.el (ses-decode-cell-symbol)
5182 (ses-kill-override): Remove unused local variable.
5183 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5184 (ses-load): Use ignore-errors, looking-at-p.
5185 (ses-jump-safe): Use ignore-errors.
5186 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5187
5188 * tabify.el (untabify, tabify): Mark unused arguments.
5189
5190 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5191 Mark unused argument.
5192 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5193 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5194
c880af52
JB
5195 * emacs-lisp/timer.el (timer--time): Define setter with
5196 gv-define-setter to avoid deprecation warning.
5197
5660113b 5198 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5199 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5200 (cmpl-statistics-block): Remove (body was commented out).
5201 All callers changed.
5202 (add-completions-from-buffer, load-completions-from-file):
5203 Remove unused variables.
5204
156aab80
JB
52052013-08-09 Juanma Barranquero <lekktu@gmail.com>
5206
5c5dee78
JB
5207 * filecache.el (file-cache-delete-file-list):
5208 Print message only when told so.
5209 (file-cache-files-matching): Use #' in mapconcat argument.
5210
156aab80
JB
5211 * ffap.el (ffap-url-at-point): Fix reference to variable
5212 thing-at-point-default-mail-uri-scheme.
5213
ad9dcd70
SM
52142013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5215
54bd972f
SM
5216 * subr.el (define-error): New function.
5217 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5218 error-file-not-found and define with define-error.
5219 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5220 and define with define-error.
5221 * userlock.el (file-locked, file-supersession):
5222 * simple.el (mark-inactive):
5223 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5224 * progmodes/ada-mode.el (ada-mode-errors):
5225 * play/life.el (life-extinct):
5226 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5227 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5228 * nxml/rng-util.el (rng-error):
5229 * nxml/rng-uri.el (rng-uri-error):
5230 * nxml/rng-match.el (rng-compile-error):
5231 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5232 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5233 * nxml/nxml-rap.el (nxml-scan-error):
5234 * nxml/nxml-outln.el (nxml-outline-error):
5235 * net/soap-client.el (soap-error):
5236 * net/gnutls.el (gnutls-error):
5237 * net/ange-ftp.el (ftp-error):
5238 * mpc.el (mpc-proc-error):
5239 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5240 (json-number-format, json-string-escape, json-string-format)
5241 (json-key-format, json-object-format):
5242 * jka-compr.el (compression-error):
5243 * international/quail.el (quail-error):
5244 * international/kkc.el (kkc-error):
5245 * emacs-lisp/ert.el (ert-test-failed):
5246 * calc/calc.el (calc-error, inexact-result, math-overflow)
5247 (math-underflow):
5248 * bookmark.el (bookmark-error-no-filename):
5249 * epg.el (epg-error): Define with define-error.
5250
0ea9e53a
SM
5251 * time.el (display-time-event-handler)
5252 (display-time-next-load-average): Don't call sit-for since it seems
5253 unnecessary (bug#15045).
5254
b0429158
SM
5255 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5256 Use #' instead of ' to quote functions.
5257 (checkdoc-output-mode): Use setq-local.
5258 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5259 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5260 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5261 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5262 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5263 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5264 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5265 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5266
ad9dcd70
SM
5267 * ido.el (ido-completion-help): Fix up compiler warning.
5268
77187e6f
JB
52692013-08-09 Juanma Barranquero <lekktu@gmail.com>
5270
5271 * frameset.el (frameset-p): Add autoload cookie.
5272 (frameset--jump-to-register): New function, based on code moved from
5273 register.el.
5274 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5275
5276 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5277 (frameset-restore, frameset-save, frameset-session-filter-alist):
5278 Remove declarations.
5279 (register-alist): Doc fix.
5280 (frameset-to-register): Move to frameset.el.
5281 (jump-to-register, describe-register-1): Remove frameset-specific code.
5282
9d3aa82c
JB
52832013-08-08 Juanma Barranquero <lekktu@gmail.com>
5284
5285 * allout-widgets.el (allout-widgets-pre-command-business)
5286 (allout-widgets-post-command-business)
5287 (allout-widgets-after-change-handler)
5288 (allout-decorate-item-and-context, allout-set-boundary-marker)
5289 (allout-body-modification-handler)
5290 (allout-graphics-modification-handler): Mark ignored arguments.
5291 (allout-widgets-post-command-business)
5292 (allout-widgets-exposure-change-processor)
5293 (allout-widgets-exposure-undo-processor)
5294 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5295 (allout-parse-item-at-point, allout-decorate-item-guides)
5296 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5297 * allout.el (epa-passphrase-callback-function): Declare.
5298 (allout-overlay-insert-in-front-handler)
5299 (allout-overlay-interior-modification-handler)
5300 (allout-isearch-end-handler, allout-chart-siblings)
5301 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5302 (allout-yank-processing, allout-process-exposed)
5303 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5304 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5305 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5306 (lisp-indent-defform): Mark ignored arguments.
5307 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5308 (calculate-lisp-indent): Remove unused variables.
5309 * international/characters.el (indian-2-column, arabic-2-column)
5310 (tibetan): Mark ignored arguments.
5311 (use-cjk-char-width-table): Mark ignored arguments.
5312 Remove unused variables.
5313 * international/fontset.el (build-default-fontset-data)
5314 (x-compose-font-name, create-fontset-from-fontset-spec):
5315 Mark ignored arguments.
5316 (fontset-plain-name): Remove unused variables.
5317 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5318 (keyboard-coding-system): Mark ignored arguments.
5319 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5320 * help.el (resize-temp-buffer-window):
5321 * window.el (display-buffer-in-major-side-window)
5322 (display-buffer-in-side-window, display-buffer-in-previous-window):
5323 Remove unused variables.
5324 * isearch.el (isearch-forward-symbol):
5325 * version.el (emacs-bzr-version-bzr):
5326 * international/mule-cmds.el (current-language-environment):
5327 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5328 (x-handle-display):
5329 * term/pc-win.el (x-list-fonts, x-display-planes)
5330 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5331 (x-server-version, x-display-screens, x-display-mm-height)
5332 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5333 (x-selection-owner-p, x-own-selection-internal)
5334 (x-disown-selection-internal, x-get-selection-internal)
5335 (msdos-initialize-window-system):
5336 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5337 * term/x-win.el (x-handle-no-bitmap-icon):
5338 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5339 (vc-default-find-file-hook, vc-default-extra-menu):
5340 Mark ignored arguments.
5341
0ca3f70e
SM
53422013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5345 break-condition in the context of the debugged code (bug#12685).
5346
74c5d24c
CS
53472013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5348
5349 * comint.el:
5350 Do not use an overlay to highlight the last prompt. (Bug#14744)
5351 (comint-mode): Make comint-last-prompt buffer local.
5352 (comint-last-prompt): New variable.
5353 (comint-last-prompt-overlay): Remove. Superseded by
5354 comint-last-prompt.
0ca3f70e
SM
5355 (comint-snapshot-last-prompt, comint-output-filter):
5356 Use comint-last-prompt.
74c5d24c 5357
c03c02ee
JB
53582013-08-08 Juanma Barranquero <lekktu@gmail.com>
5359
a3738d20 5360 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5361 (frameset-save): Check validity of the resulting frameset.
5362
04263d23
XF
53632013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5364
5365 * ido.el (ido-record-command): Add doc string.
5366
76c5e5ab
JB
53672013-08-08 Juanma Barranquero <lekktu@gmail.com>
5368
5369 * frameset.el (frameset): Do not disable creation of the default
5370 frameset-p predicate. Doc fix.
5371 (frameset-valid-p): New function, copied from the old predicate-p.
5372 Add additional checks.
5373 (frameset-restore): Check with frameset-valid-p.
5374 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5375 (frameset-name, frameset-description, frameset-properties)
5376 (frameset-states): Add docstring.
f9dbf1cb
JB
5377 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5378 (frameset-filter-alist): Doc fixes.
76c5e5ab 5379
bd0c3c0b
JB
53802013-08-08 Juanma Barranquero <lekktu@gmail.com>
5381
5382 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5383
c735544c
SM
53842013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5385
5386 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5387 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5388 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5389 (byte-compile-normal-call): Remove obsolescence check.
5390
2805a651
JB
53912013-08-08 Juanma Barranquero <lekktu@gmail.com>
5392
3677ffeb
JB
5393 * frameset.el (frameset-restore): Doc fix.
5394
2805a651
JB
5395 * register.el (frameset-frame-id, frameset-frame-with-id)
5396 (frameset-p, frameset-restore, frameset-save): Declare.
5397 (register-alist): Document framesets.
5398 (frameset-session-filter-alist): Declare.
5399 (frameset-to-register): New function.
5400 (jump-to-register): Implement jumping to framesets. Doc fix.
5401 (describe-register-1): Describe framesets.
5402
5403 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5404
a912c016
JB
54052013-08-07 Juanma Barranquero <lekktu@gmail.com>
5406
5407 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5408 Use lexical-binding.
5409
5410 * frameset.el (frameset): Use type vector, not list (incompatible
5411 change). Do not declare a new constructor, use the default one.
5412 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5413 `name' and `description', respectively, and add read-only slot
5414 `timestamp'. Doc fixes.
5415 (frameset-copy, frameset-persistent-filter-alist)
5416 (frameset-filter-alist, frameset-switch-to-gui-p)
5417 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5418 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5419 (frameset-filter-iconified, frameset-keep-original-display-p):
5420 Doc fixes.
5421 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5422 Rename from frameset-filter-(save|restore)-param. All callers changed.
5423 Doc fix.
5424 (frameset-p): Adapt to change to vector and be more thorough.
5425 Change arg name to OBJECT. Doc fix.
5426 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5427 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5428 All callers changed.
5429 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5430 All callers changed.
5431 (frameset--record-minibuffer-relationships): Rename from
5432 frameset--process-minibuffer-frames. All callers changed.
5433 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5434 Use new default constructor (again). Doc fix.
5435 (frameset--find-frame-if): Rename from `frameset--find-frame.
5436 All callers changed.
5437 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5438 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5439 Doc fix.
5440 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5441 PARAMETERS and WINDOW-STATE, respectively.
5442 (frameset-restore): Add new keyword argument PREDICATE.
5443 Reset frameset--target-display to nil. Doc fix.
5444
bb41480a
SM
54452013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5446
f001e98e
SM
5447 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5448 (bat-mode): Use it.
5449 (bat-mode-syntax-table): Mark \n as end-of-comment.
5450 (bat-font-lock-keywords): Remove comment rule.
5451
7679edb1
SM
5452 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5453 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5454
bb41480a
SM
5455 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5456 (byte-compile-callargs-warn): Use `push'.
5457 (byte-compile-arglist-warn): Ignore higher-order "calls".
5458 (byte-compile-file-form-autoload): Use `pcase'.
5459 (byte-compile-function-form): If quoting a symbol, check that it exists.
5460
cdc1ebb9
EZ
54612013-08-07 Eli Zaretskii <eliz@gnu.org>
5462
5463 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5464 and add a few popular commands found in batch files.
5465 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5466 (dos-mode): Doc fixes.
5467
312b1740
SM
54682013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5471 (dos-mode): Use setq-local. Add space after "rem".
5472 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5473 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5474
400a3178
AM
54752013-08-07 Arni Magnusson <arnima@hafro.is>
5476
5477 * progmodes/dos.el: New file.
5478 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5479 dos-mode.
5480
3b5c03d3
GM
54812013-08-06 Glenn Morris <rgm@gnu.org>
5482
5483 * calendar/calendar.el: Add new faces, and day-header-array.
5484 (calendar-weekday-header, calendar-weekend-header)
5485 (calendar-month-header): New faces.
5486 (calendar-day-header-construct): New function.
5487 (calendar-day-header-width): Also :set calendar-day-header-array.
5488 (calendar-american-month-header, calendar-european-month-header)
5489 (calendar-iso-month-header): Use calendar- faces.
5490 (calendar-generate-month):
5491 Use calendar-day-header-array for day headers; apply faces to them.
5492 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5493 (calendar-abbrev-construct): Add optional maxlen argument.
5494 (calendar-day-name-array): Doc fix.
5495 (calendar-day-name-array, calendar-abbrev-length)
5496 (calendar-day-abbrev-array):
5497 Also :set calendar-day-header-array, and maybe redraw.
5498 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5499 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5500 (calendar-day-name): Add option to use header array.
5501
ec6a2d7a
LMI
55022013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5503
5504 * net/shr.el (shr-render-td): Remove debugging.
5505 (shr-render-td): Make width computation consistent by defaulting
5506 all zero-width columns to 10 characters. This may not be optimal,
5507 but it's at least consistent.
2122cb6d
LMI
5508 (shr-make-table-1): Redo last change to fix the real problem in
5509 colspan handling.
ec6a2d7a 5510
ed4fd9c5
DA
55112013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5512
0ca3f70e
SM
5513 * files.el (cache-long-line-scans):
5514 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5515
64e22afe
JB
55162013-08-06 Juanma Barranquero <lekktu@gmail.com>
5517
024b38fc
JB
5518 * frameset.el (frameset, frameset-filter-alist)
5519 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5520 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5521 (frameset-compute-pos): Rename from frameset--compute-pos,
5522 and add docstring.
5523 (frameset-move-onscreen): Use frameset-compute-pos.
5524 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5525
64e22afe
JB
5526 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5527 Fix typos in docstrings.
5528
c8c2aca8
DA
55292013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5530
5531 * frame.el (get-other-frame): Tiny cleanup.
5532
1d237bba
JB
55332013-08-06 Juanma Barranquero <lekktu@gmail.com>
5534
8951efef
JB
5535 * vc/vc.el (vc-default-ignore-completion-table):
5536 Silence byte-compiler warning.
5537
307764cc
JB
5538 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5539 slot , which can indeed be nil.
5540 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5541 Move entry for `left' from persistent to live filter alist.
5542 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5543 Doc fixes.
5544 (frameset-filter-params): When restoring a frame, copy items added to
5545 `filtered', to avoid unwittingly modifying the original parameters.
5546 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5547 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5548
1d237bba
JB
5549 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5550 to use looking-at-p instead of looking-at. (Bug#15028)
5551
dc6c0eda
SM
55522013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 Revert introduction of isearch-filter-predicates (bug#14714).
5555 Rely on add-function instead.
5556 * isearch.el (isearch-filter-predicates): Rename it back to
5557 isearch-filter-predicate.
5558 (isearch-message-prefix): Use advice-function-mapc and advice
5559 properties to get the isearch-message-prefix.
5560 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5561 instead of run-hook-with-args-until-failure.
5562 (isearch-filter-visible): Not obsolete any more.
5563 * loadup.el: Preload nadvice.
5564 * replace.el (perform-replace): Revert to funcall
5565 instead of run-hook-with-args-until-failure.
5566 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5567 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5568 dired-isearch-filenames-toggle; make it into a proper minor mode.
5569 Use add/remove-function.
5570 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5571 Call the minor-mode rather than add/remove-hook.
5572 (dired-isearch-filter-filenames):
5573 Remove isearch-message-prefix property.
5574 * info.el (Info--search-loop): New function, extracted from Info-search.
5575 Funcall isearch-filter-predicate instead of
5576 run-hook-with-args-until-failure isearch-filter-predicates.
5577 (Info-search): Use it.
5578 (Info-mode): Use isearch-filter-predicate instead of
5579 isearch-filter-predicates.
5580
290d5b58
DA
55812013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5582
5583 Do not call to `selected-window' where it is assumed by default.
5584 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5585 `window-hscroll', `window-width', `window-height', `window-buffer',
5586 `window-frame', `window-start', `window-point', `next-window'
5587 and `window-display-table'.
5588 * abbrev.el (abbrev--default-expand):
5589 * bs.el (bs--show-with-configuration):
5590 * buff-menu.el (Buffer-menu-mouse-select):
5591 * calc/calc.el (calc):
5592 * calendar/calendar.el (calendar-generate-window):
5593 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5594 (diary-make-entry):
5595 * comint.el (send-invisible, comint-dynamic-complete-filename)
5596 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5597 * completion.el (complete):
5598 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5599 * disp-table.el (describe-current-display-table):
5600 * doc-view.el (doc-view-insert-image):
5601 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5602 * ehelp.el (with-electric-help):
5603 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5604 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5605 * emacs-lisp/helper.el (Helper-help-scroller):
5606 * emulation/cua-base.el (cua--post-command-handler-1):
5607 * eshell/esh-mode.el (eshell-output-filter):
5608 * ffap.el (ffap-gnus-wrapper):
5609 * help-macro.el (make-help-screen):
5610 * hilit-chg.el (highlight-compare-buffers):
5611 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5612 * hl-line.el (global-hl-line-highlight):
5613 * icomplete.el (icomplete-simple-completing-p):
5614 * isearch.el (isearch-done):
5615 * jit-lock.el (jit-lock-stealth-fontify):
5616 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5617 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5618 * mpc.el (mpc-tagbrowser, mpc):
5619 * net/rcirc.el (rcirc-any-buffer):
5620 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5621 * play/landmark.el (landmark-max-width, landmark-max-height):
5622 * play/zone.el (zone):
5623 * progmodes/compile.el (compilation-goto-locus):
5624 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5625 * progmodes/etags.el (find-tag-other-window):
5626 * progmodes/fortran.el (fortran-column-ruler):
5627 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5628 * progmodes/verilog-mode.el (verilog-point-text):
5629 * reposition.el (reposition-window):
5630 * rot13.el (toggle-rot13-mode):
5631 * server.el (server-switch-buffer):
5632 * shell.el (shell-dynamic-complete-command)
5633 (shell-dynamic-complete-environment-variable):
5634 * simple.el (insert-buffer, set-selective-display)
5635 (delete-completion-window):
5636 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5637 (speedbar-recenter):
5638 * startup.el (fancy-splash-head):
5639 * textmodes/ispell.el (ispell-command-loop):
5640 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5641 * tutorial.el (help-with-tutorial):
5642 * vc/add-log.el (add-change-log-entry):
5643 * vc/compare-w.el (compare-windows):
5644 * vc/ediff-help.el (ediff-indent-help-message):
5645 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5646 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5647 (ediff-setup-control-frame):
5648 * vc/emerge.el (emerge-position-region):
5649 * vc/pcvs-util.el (cvs-bury-buffer):
5650 * window.el (walk-windows, mouse-autoselect-window-select):
5651 * winner.el (winner-set-conf, winner-undo): Related users changed.
5652
38276e01
JB
56532013-08-05 Juanma Barranquero <lekktu@gmail.com>
5654
5655 * frameset.el (frameset--set-id): Doc fix.
5656 (frameset-frame-id, frameset-frame-id-equal-p)
5657 (frameset-locate-frame-id): New functions.
5658 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5659 (frameset-restore): Use them.
5660
12b4c0ea
DA
56612013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5662
5663 Do not call to `selected-frame' where it is assumed by default.
5664 Affected functions are `raise-frame', `redraw-frame',
5665 `frame-first-window', `frame-terminal' and `delete-frame'.
5666 * calendar/appt.el (appt-disp-window):
5667 * epg.el (epg-wait-for-completion):
5668 * follow.el (follow-delete-other-windows-and-split)
5669 (follow-avoid-tail-recenter):
5670 * international/mule.el (set-terminal-coding-system):
5671 * mail/rmail.el (rmail-mail-return):
5672 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5673 * progmodes/f90.el (f90-add-imenu-menu):
5674 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5675 * server.el (server-switch-buffer):
5676 * simple.el (delete-completion-window):
5677 * talk.el (talk):
5678 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5679 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5680 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5681 * vc/ediff.el (ediff-documentation): Related users changed.
5682 * frame.el (selected-terminal): Remove the leftover.
5683
17f25e76
GM
56842013-08-05 Glenn Morris <rgm@gnu.org>
5685
5686 * calendar/calendar.el (calendar-generate-month):
5687 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5688 (calendar-generate-month, calendar-font-lock-keywords):
5689 Fix for calendar-day-header-width > length of any day name.
17f25e76 5690
063233c3
JB
56912013-08-05 Juanma Barranquero <lekktu@gmail.com>
5692
5693 * desktop.el (desktop-clear): Use new name of sort predicate.
5694
5695 * frameset.el (frameset): Add docstring. Move :version property to its
5696 own `version' slot.
5697 (frameset-copy): Rename from copy-frameset.
5698 (frameset-p): Check more thoroughly.
5699 (frameset-prop): Do not check for :version, which is no longer a prop.
5700 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5701 Use new :never value instead of t.
5702 (frameset-filter-alist): Expand and clarify docstring.
5703 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5704 (frameset-filter-minibuffer, frameset-filter-save-param)
5705 (frameset-filter-restore-param, frameset-filter-iconified):
5706 Add pointer to docstring of frameset-filter-alist.
5707 (frameset-filter-params): Rename filter values to be more meaningful:
5708 :never instead of t, and reverse the meanings of :save and :restore.
5709 (frameset--process-minibuffer-frames): Clarify error message.
5710 (frameset-save): Avoid unnecessary and confusing call to framep.
5711 Use new BOA constructor for framesets.
5712 (frameset--reuse-list): Doc fix.
5713 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5714 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5715 (frameset-minibufferless-first-p): Doc fix.
5716 Rename from frameset-sort-frames-for-deletion.
5717 (frameset-restore): Doc fixes. Use new function names.
5718 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5719
d5671a82
JB
57202013-08-04 Juanma Barranquero <lekktu@gmail.com>
5721
5722 * desktop.el (desktop-restore-forces-onscreen)
5723 (desktop-restore-reuses-frames): Document :keyword constant values.
5724 (desktop-filter-parameters-alist): Remove, now identical to
5725 frameset-filter-alist.
5726 (desktop--filter-tty*): Remove, moved to frameset.el.
5727 (desktop-save-frameset, desktop-restore-frameset):
5728 Do not pass :filters argument.
5729
5730 * frameset.el (frameset-live-filter-alist)
5731 (frameset-persistent-filter-alist): New variables.
5732 (frameset-filter-alist): Use them. Add autoload cookie.
5733 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5734 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5735 `frameset--id' (it's supposed to be internal to frameset.el).
5736 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5737 (frameset--initial-params): New function.
5738 (frameset--get-frame): Use it. Doc fix.
5739 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5740 Accept :all, not 'all.
5741 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5742 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5743 with fbound symbols. Fix frame id matching, and remove matching ids if
5744 the frame being restored is deleted. Obey :delete.
5745
671d5c16
SM
57462013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5747
5748 * subr.el (macrop): New function.
5749 (text-clone--maintaining): New var.
5750 (text-clone--maintain): Rename from text-clone-maintain. Use it
5751 instead of inhibit-modification-hooks.
5752
5753 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5754 a proxy, so as handle autoloads and redefinitions of the target.
5755 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5756
5757 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5758 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5759 (pcase--mutually-exclusive-p): New function.
5760 (pcase--split-consp): Use it.
5761 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5762 mutually exclusive with the current predicate.
5763
5764 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5765 (edebug-macrop): Remove. Use `macrop' instead.
5766 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5767 (ad-macro-p):
5768 * eshell/esh-cmd.el (eshell-macrop):
5769 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5770
1d44e9dc
SM
57712013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5772
5773 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5774 (advice-mapc): New function, using it.
5775 (advice-function-member-p): New function.
5776 (advice--normalize): Store the cdr in advice--saved-rewrite since
5777 that's the part that will be changed.
5778 (advice--symbol-function): New function.
5779 (advice-remove): Handle removal before the function is defined.
5780 Adjust to new advice--saved-rewrite.
5781 (advice-member-p): Use advice-function-member-p and
5782 advice--symbol-function.
5783
5414a283
JB
57842013-08-04 Juanma Barranquero <lekktu@gmail.com>
5785
51d30f2c
JB
5786 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5787 (frameset-filter-minibuffer): Doc fix.
5788 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5789 (frameset--set-id, frameset--process-minibuffer-frames)
5790 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5791 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5792
5414a283
JB
5793 * desktop.el (desktop-clear): Only delete frames when called
5794 interactively and desktop-restore-frames is non-nil. Doc fix.
5795 (desktop-read): Set desktop-saved-frameset to nil.
5796
ab419665
XF
57972013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5798
5799 * vc/vc.el (vc-ignore): Rewrite.
5800 (vc-default-ignore-completion-table):
5801 (vc--read-lines):
5802 (vc--add-line, vc--remove-regexp): New functions.
5803
5804 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5805 (vc-svn-ignore-completion-table): New function.
5806
5807 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5808 (vc-hg-ignore-completion-table):
5809 (vc-hg-find-ignore-file): New functions.
5810
5811 * vc/vc-git.el (vc-git-ignore): Rewrite.
5812 (vc-git-ignore-completion-table):
5813 (vc-git-find-ignore-file): New functions.
5814
5815 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5816
5817 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5818 (vc-bzr-ignore-completion-table):
5819 (vc-bzr-find-ignore-file): New functions.
5820
2613dea2
JB
58212013-08-03 Juanma Barranquero <lekktu@gmail.com>
5822
5823 * frameset.el (frameset-prop): New function and setter.
5824 (frameset-save): Do not modify frame list passed by the caller.
5825
9c959872
SM
58262013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5827
5828 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5829
a104f656
SM
58302013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5831
70122acf
SM
5832 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5833 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5834
a104f656
SM
5835 * custom.el (custom-initialize-default, custom-initialize-set)
5836 (custom-initialize-reset, custom-initialize-changed): Affect the
5837 toplevel-default-value (bug#6275, bug#14586).
5838 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5839 for bug#6275.
5840
f078d570
JB
58412013-08-02 Juanma Barranquero <lekktu@gmail.com>
5842
185e3b5a
JB
5843 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5844 Add cl-def* expressions.
5845
f078d570
JB
5846 * frameset.el (frameset-filter-params): Fix order of arguments.
5847
9421876d
JB
58482013-08-02 Juanma Barranquero <lekktu@gmail.com>
5849
5850 Move code related to saving frames to frameset.el.
5851 * desktop.el: Require frameset.
5852 (desktop-restore-frames): Doc fix.
5853 (desktop-restore-reuses-frames): Rename from
5854 desktop-restoring-reuses-frames.
5855 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5856 (desktop-clear): Clear frames too.
5857 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5858 (desktop--filter-tty*, desktop-save, desktop-read):
5859 Use frameset functions.
5860 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5861 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5862 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5863 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5864 (desktop--process-minibuffer-frames, desktop-save-frames)
5865 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5866 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5867 (desktop--sort-states, desktop-restoring-frames-p)
5868 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5869 (desktop-restoring-frameset-p, desktop-restore-frameset)
5870 (desktop--check-dont-save, desktop-save-frameset): New functions.
5871 (desktop--app-id): New constant.
5872 (desktop-first-buffer, desktop-buffer-ok-count)
5873 (desktop-buffer-fail-count): Move before first use.
5874 * frameset.el: New file.
5875
76dc5996
SM
58762013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5877
5878 * files.el: Use lexical-binding.
5879 (dir-locals-read-from-file): Remove unused `err' variable.
5880 (hack-dir-local-variables--warned-coding): New var.
5881 (hack-dir-local-variables): Use it to avoid repeated warnings.
5882 (make-backup-file-name--default-function): New function.
5883 (make-backup-file-name-function): Use it as default.
5884 (buffer-stale--default-function): New function.
5885 (buffer-stale-function): Use it as default.
5886 (revert-buffer-insert-file-contents--default-function): New function.
5887 (revert-buffer-insert-file-contents-function): Use it as default.
5888 (insert-directory): Avoid add-to-list.
5889
5890 * autorevert.el (auto-revert-handler): Simplify.
5891 Use buffer-stale--default-function.
5892
06d36e2b
TH
58932013-08-01 Tassilo Horn <tsdh@gnu.org>
5894
5f648ab4
TH
5895 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5896
06d36e2b
TH
5897 * whitespace.el (whitespace-ensure-local-variables): New function.
5898 (whitespace-cleanup-region): Call it.
5899 (whitespace-turn-on): Call it.
5900
a43dc424
MA
59012013-08-01 Michael Albinus <michael.albinus@gmx.de>
5902
5903 Complete file name handlers.
5904
5905 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5906 (tramp-handle-verify-visited-file-modtime)
5907 (tramp-handle-file-notify-rm-watch): New functions.
5908 (tramp-call-process): Do not bind `default-directory'.
5909
44e18199
JB
5910 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5911 Order alphabetically.
a43dc424
MA
5912 [access-file, add-name-to-file, dired-call-process]:
5913 [dired-compress-file, file-acl, file-notify-rm-watch]:
5914 [file-ownership-preserved-p, file-selinux-context]:
5915 [make-directory-internal, make-symbolic-link, set-file-acl]:
5916 [set-file-selinux-context, set-visited-file-modtime]:
5917 [verify-visited-file-modtime]: Add handler.
5918 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5919
5920 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5921 [file-notify-add-watch, file-notify-rm-watch]:
5922 [set-file-times, set-visited-file-modtime]:
5923 [verify-visited-file-modtime]: Add handler.
5924 (with-tramp-gvfs-error-message)
5925 (tramp-gvfs-handle-set-visited-file-modtime)
5926 (tramp-gvfs-fuse-file-name): Remove.
5927 (tramp-gvfs-handle-file-notify-add-watch)
5928 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5929 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5930
44e18199
JB
5931 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5932 Order alphabetically.
a43dc424
MA
5933 [file-notify-rm-watch ]: Use default Tramp handler.
5934 [executable-find]: Remove private handler.
5935 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5936 `default-directory'.
5937 (tramp-sh-handle-executable-find)
5938 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5939 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5940 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5941 Do not use `format' in `tramp-message'.
5942
5943 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5944 [file-notify-rm-watch, set-visited-file-modtime]:
5945 [verify-visited-file-modtime]: Add handler.
5946 (tramp-smb-call-winexe): Do not bind `default-directory'.
5947
7188b515
XF
59482013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5949
5950 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5951
2412ee1a
DG
59522013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5953
5954 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5955 use it.
5956 (log-view-diff-changeset): Same.
5957 (log-view-diff-common): Call backend command `previous-revision'
5958 to find out the previous revision, in both cases. Swap the
5959 variables `to' and `fr', so that `fr' usually refers to the
5960 earlier revision (Bug#14989).
5961
5002a754
KRC
59622013-07-31 Kan-Ru Chen <kanru@kanru.info>
5963
5964 * ibuf-ext.el (ibuffer-filter-by-filename):
5965 Make it work with dired buffers too.
5966
44e18199 59672013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5968
5969 * emacs-lisp/re-builder.el (reb-color-display-p):
5970 * files.el (save-buffers-kill-terminal):
5971 * net/browse-url.el (browse-url):
5972 * server.el (server-save-buffers-kill-terminal):
5973 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5974 Prefer nil to selected-frame for the first arg of frame-parameter.
5975
aeca3fbb
XF
59762013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5977
5978 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5979
158bc55c
SB
59802013-07-30 Stephen Berman <stephen.berman@gmx.net>
5981
5982 * minibuffer.el (completion--twq-all): Try and preserve each
5983 completion's case choice (bug#14907).
5984
d50fceab
LMI
59852013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5986
ac38e731
LMI
5987 * net/network-stream.el (open-network-stream): Mention the new
5988 :nogreeting parameter.
5989 (network-stream-open-starttls): Use the :nogreeting parameter
5990 (bug#14938).
5991
1211de50
LMI
5992 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5993
997798bf
LMI
5994 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5995 more natural than popping.
5996
d50fceab 5997 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5998 (shr-urlify): Highlight under mouse.
d50fceab 5999
5c09de04
XF
60002013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6001
207d1d04
XF
6002 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6003
6004 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6005
5c09de04
XF
6006 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6007 buffer for output.
6008
3cd51eaa
XF
6009 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6010 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6011
44e18199 6012 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6013 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6014
6015 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6016
6017 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6018 buffer for output.
6019
35a89bdd
EZ
60202013-07-29 Eli Zaretskii <eliz@gnu.org>
6021
6022 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6023 initial frame is minibuffer-less. (Bug#14841)
6024
78822e94
MA
60252013-07-29 Michael Albinus <michael.albinus@gmx.de>
6026
6027 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6028 option.
6029
6030 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6031 (tramp-maybe-open-connection): Use it.
6032
9503c190
JB
60332013-07-28 Juanma Barranquero <lekktu@gmail.com>
6034
6035 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6036 minimal set of parameters passed when creating a frame, because
6037 the minibuffer status of a frame cannot be changed later.
6038
d5a845b4
SB
60392013-07-28 Stephen Berman <stephen.berman@gmx.net>
6040
6041 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6042 replace-regexp-in-string and inadvertent omissions in previous change.
6043 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6044 name of filtered items buffer.
d5a845b4 6045
ddeffb17
JB
60462013-07-28 Juanma Barranquero <lekktu@gmail.com>
6047
6048 * desktop.el: Optionally force offscreen frames back onscreen.
6049 (desktop-restoring-reuses-frames): New option.
6050 (desktop--compute-pos, desktop--move-onscreen): New functions.
6051 (desktop--make-frame): Use desktop--move-onscreen.
6052
f5950f7a
AM
60532013-07-27 Alan Mackenzie <acm@muc.de>
6054
6055 Fontify a Java generic method as a function.
6056 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6057 value to t.
6058
ae43b66a
SB
60592013-07-27 Stephen Berman <stephen.berman@gmx.net>
6060
6061 * calendar/todo-mode.el: Add command to rename todo files.
6062 (todo-rename-file): New command.
6063 (todo-key-bindings-t): Add key binding for it. Change the
6064 bindings of todo-filter-regexp-items(-multifile) to use `x'
6065 instead of `r', since the latter is better suited to the new
6066 renaming command.
6067
5ab78d3d
AM
60682013-07-27 Alan Mackenzie <acm@muc.de>
6069
6070 Make Java try-with-resources statement parse properly.
6071 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6072 (c-block-stmt-1-2-key): New language constants/variables.
6073 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6074 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6075 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6076 with c-block-stmt-1-2-key.
5ab78d3d 6077
d85c4d50
JB
60782013-07-27 Juanma Barranquero <lekktu@gmail.com>
6079
6080 * desktop.el (desktop--make-frame): Apply most frame parameters after
6081 creating the frame to force (partially or totally) offscreen frames to
6082 be restored as such.
6083
e4c467f9
XF
60842013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6085
6086 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6087 (Bug#14948)
e4c467f9 6088
7ced0d04
SM
60892013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6092 `base' arg of backtrace-frame.
6093
fec92060
EZ
60942013-07-26 Eli Zaretskii <eliz@gnu.org>
6095
6096 * simple.el (list-processes): Doc fix.
6097
d58d31fb
JB
60982013-07-26 Juanma Barranquero <lekktu@gmail.com>
6099
6100 * desktop.el (desktop--select-frame):
d85c4d50 6101 Try harder to reuse existing frames.
d58d31fb 6102
53ff3e77
SM
61032013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6104
6105 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6106 (edebug-eval): Use backtrace-eval.
6107 (edebug--display, edebug--recursive-edit): Don't let-bind the
6108 edebug-outer-* vars that keep track of variables we locally let-bind.
6109 (edebug-outside-excursion): Don't restore outside values of locally
6110 let-bound vars.
6111 (edebug--display): Use user-error.
6112 (cl-lexical-debug, cl-debug-env): Remove.
6113
045f7a53
JB
61142013-07-26 Juanma Barranquero <lekktu@gmail.com>
6115
6116 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6117 are restored to be sure that they are visible before deleting any
6118 remaining ones.
6119
59070b32
MM
61202013-07-26 Matthias Meulien <orontee@gmail.com>
6121
742a3501
XF
6122 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6123 vc-print-root-log. (Bug#14948)
59070b32 6124
b1fb3596
RS
61252013-07-26 Richard Stallman <rms@gnu.org>
6126
6127 Add aliases for encrypting mail.
6128 * epa.el (epa-mail-aliases): New option.
6129 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6130 Bind inhibit-read-only so read-only text doesn't ruin everything.
6131 (epa-mail-default-recipients): New subroutine broken out.
6132 Handle epa-mail-aliases.
6133
56ea7291
SM
61342013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6136 Add support for lexical variables to the debugger's `e' command.
6137 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6138 vars, except for debugger-outer-match-data.
6139 (debugger-frame-number): Move check for "on a function call" from
6140 callers into it. Add `skip-base' argument.
6141 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6142 (debugger-env-macro): Only reset the state stored in non-variables,
6143 i.e. current-buffer and match-data.
6144 (debugger-eval-expression): Rewrite using backtrace-eval.
6145 * subr.el (internal--called-interactively-p--get-frame): Remove.
6146 (called-interactively-p):
6147 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6148 `base' arg of backtrace-frame instead.
6149
15ac32d5
GM
61502013-07-26 Glenn Morris <rgm@gnu.org>
6151
8358a09d
GM
6152 * align.el (align-regexp): Doc fix. (Bug#14857)
6153 (align-region): Explicit error if subexpression missing/does not match.
6154
15ac32d5
GM
6155 * simple.el (global-visual-line-mode):
6156 Do not duplicate the mode lighter. (Bug#14858)
6157
f47ad11b
MR
61582013-07-25 Martin Rudalics <rudalics@gmx.at>
6159
6160 * window.el (display-buffer): In display-buffer bind
6161 split-window-keep-point to t, bug#14829.
6162
02530987
JB
61632013-07-25 Juanma Barranquero <lekktu@gmail.com>
6164
6165 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6166 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6167 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6168 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6169 Change accordingly.
f63ebeb5
JB
6170 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6171 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6172
6ccb9cab 61732013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6174
6ccb9cab 6175 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6176
cb3a56d2
JB
61772013-07-25 Juanma Barranquero <lekktu@gmail.com>
6178
6179 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6180 parameter to modify-frame-parameters if the value has not changed;
6181 this is a workaround for bug#14949.
6182 (desktop--make-frame): On cl-delete-if call, check parameter name,
6183 not full parameter.
6184
7aa7fff0
XF
61852013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6186
6187 * vc/vc.el (vc-ignore): New function.
6188
6189 * vc/vc-svn.el (vc-svn-ignore): New function.
6190
6191 * vc/vc-hg.el (vc-hg-ignore): New function.
6192
6193 * vc/vc-git.el (vc-git-ignore): New function.
6194
6195 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6196 (vc-dir-ignore): New function.
6197
6198 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6199 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6200
6201 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6202
6203 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6204
889acc5c
JB
62052013-07-24 Juanma Barranquero <lekktu@gmail.com>
6206
6207 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6208 (desktop-restore-frames): Warn when deleting an existing frame failed.
6209
86c40970
GM
62102013-07-24 Glenn Morris <rgm@gnu.org>
6211
6212 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6213
d5d3c58a
MA
62142013-07-24 Michael Albinus <michael.albinus@gmx.de>
6215
6216 * filenotify.el (file-notify-supported-p):
6217 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6218 Remove functions.
6219
6220 * autorevert.el (auto-revert-use-notify):
6221 (auto-revert-notify-add-watch):
6222 * net/tramp.el (tramp-file-name-for-operation):
6223 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6224 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6225 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6226 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6227 Remove `file-notify-supported-p' entry.
6228
d100084b
GM
62292013-07-24 Glenn Morris <rgm@gnu.org>
6230
6231 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6232 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6233
ac93e56b
SM
62342013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6235
249eea30
SM
6236 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6237 checked with memq (bug#14935).
6238
ac93e56b
SM
6239 * files.el (revert-buffer-function): Use a non-nil default.
6240 (revert-buffer-preserve-modes): Declare var to
6241 provide access to the `preserve-modes' argument.
6242 (revert-buffer): Let-bind it.
6243 (revert-buffer--default): New function, extracted from revert-buffer.
6244
2cdeb903
SM
62452013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * lpr.el: Signal print errors more prominently.
6248 (print-region-function): Don't default to nil.
6249 (lpr-print-region): New function, extracted from print-region-1.
6250 Check lpr's return value and signal an error in case of problem.
6251 (print-region-1): Use it.
6252 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6253 versions instead.
6254 (ps-printer-name): Default to nil.
6255 (ps-printer-name-option): Default to lpr-printer-switch.
6256 (ps-print-region-function): Don't default to nil.
6257 (ps-postscript-code-directory): Simplify default.
6258 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6259 (ps-string-list, ps-eval-switch, ps-flatten-list)
6260 (ps-flatten-list-1): Remove.
6261 (ps-multibyte-buffer): Avoid setq.
6262 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6263 (print-region-function, ps-print-region-function): Don't set them here.
6264
73600831
XF
62652013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6266
0e55c076
XF
6267 * ido.el (ido-fractionp):
6268 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6269 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6270 (ido-max-directory-size, ido-max-dir-file-cache)
6271 (ido-decorations): Doc fix.
6272
73600831
XF
6273 * ansi-color.el: Fix old URL.
6274
3d012865
MM
62752013-07-23 Michael R. Mauger <michael@mauger.com>
6276
e903c210 6277 * progmodes/sql.el: Version 3.3
3d012865
MM
6278 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6279 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6280 (sql-interactive-remove-continuation-prompt): Rewrite, use
6281 functions above. Fix continuation prompt and complete output line
6282 handling.
6283 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6284 redirected output buffer.
6285 (sql-mode): Restore deleted code (Bug#13591).
6286
da77a2e2
JB
62872013-07-23 Juanma Barranquero <lekktu@gmail.com>
6288
6289 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6290
80ff0c71
MA
62912013-07-23 Michael Albinus <michael.albinus@gmx.de>
6292
6293 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6294
6295 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6296 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6297 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6298
b61d71e4
JB
62992013-07-23 Juanma Barranquero <lekktu@gmail.com>
6300
6301 * desktop.el (desktop-clear): Simplify; remove useless checks
6302 against invalid buffer names.
6303 (desktop-list*): Use cl-list*.
6304 (desktop-buffer-info, desktop-create-buffer): Simplify.
6305
c3512092
LL
63062013-07-23 Leo Liu <sdl.web@gmail.com>
6307
6308 * bookmark.el (bookmark-make-record): Restore NAME as a default
6309 value. (Bug#14933)
6310
0ac26976
SM
63112013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6312
7d22ce18
SM
6313 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6314 extracted from autoload--insert-text.
6315 (autoload--insert-text): Remove.
6316 (autoload--print-cookie-text): New function, extracted from
6317 autoload--insert-cookie-text.
6318 (autoload--insert-cookie-text): Remove.
6319 (autoload-generate-file-autoloads): Adjust calls accordingly.
6320
9b2607e8
SM
6321 * winner.el (winner-hook-installed-p): Remove.
6322 (winner-mode): Simplify accordingly.
6323
c43a8618
SM
6324 * subr.el (add-to-list): Fix compiler-macro when `append' is
6325 not constant. Don't use `cl-member' for the base case.
6326
0ac26976
SM
6327 * progmodes/subword.el: Fix boundary case (bug#13758).
6328 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6329 own group.
6330 (subword-backward-regexp): Make it a constant.
6331 (subword-forward-internal): Don't treat a trailing capital as the
6332 beginning of a word.
6333
6874724a
AR
63342013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6335
6336 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6337 global value of tabulated-list-revert-hook (bug#14930).
6338
70f1b5e8
JB
63392013-07-22 Juanma Barranquero <lekktu@gmail.com>
6340
a1c80d9d
JB
6341 * desktop.el: Require 'cl-lib.
6342 (desktop-before-saving-frames-functions): New hook.
6343 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6344 for frames being saved. Rename from desktop--save-minibuffer-frames.
6345 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6346 Do not save frames with non-nil `desktop-dont-save' parameter.
6347 Filter out deleted frames.
a1c80d9d
JB
6348 (desktop--find-frame): Use cl-find-if.
6349 (desktop--select-frame): Use cl-(first|second|third) to access values
6350 of desktop-mini.
6351 (desktop--make-frame): Use cl-delete-if.
6352 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6353 (desktop-restore-frames): Use cl-(first|second|third) to access values
6354 of desktop-mini. Look for visible frame at the end, not while
6355 restoring frames.
6356
70f1b5e8
JB
6357 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6358 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6359 Use string-match-p, looking-at-p (bug#14927).
6360
728dc3cc
JB
63612013-07-21 Juanma Barranquero <lekktu@gmail.com>
6362
56bc453c
JB
6363 * desktop.el (desktop-saved-frame-states):
6364 Rename from desktop--saved-states; all users changed.
6365 (desktop-save-frames): Rename from desktop--save-frames.
6366 Do not save state to desktop file.
6367 (desktop-save): Save desktop-saved-frame-states to desktop file
6368 and reset to nil.
6369 (desktop-restoring-frames-p): New function.
6370 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6371 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6372 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6373
728dc3cc
JB
6374 * desktop.el: Correctly restore iconified frames.
6375 (desktop--filter-iconified-position): New function.
6376 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6377
862f1c9c
GM
63782013-07-20 Glenn Morris <rgm@gnu.org>
6379
c4074c9f
GM
6380 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6381 Let `message' do the formatting.
6382 (def-gdb-preempt-display-buffer): Add explicit format.
6383
d828e5f9
GM
6384 * image-dired.el (image-dired-track-original-file):
6385 Use with-current-buffer.
6386 (image-dired-track-thumbnail): Use with-current-buffer.
6387 Avoid changing point of wrong window.
6388
862f1c9c
GM
6389 * image-dired.el (image-dired-track-original-file):
6390 Avoid changing point of wrong window. (Bug#14909)
6391
f0398ec1 63922013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6393
6394 * progmodes/gdb-mi.el (gdb-done-or-error):
6395 Guard against "%" in gdb output. (Bug#14127)
6396
1451928f
AS
63972013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6398
763a086d
JB
6399 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6400 (Bug#14826)
f7a03897 6401
1451928f
AS
6402 * international/mule.el (coding-system-iso-2022-flags): Fix last
6403 change.
6404
99107004
KH
64052013-07-20 Kenichi Handa <handa@gnu.org>
6406
763a086d
JB
6407 * international/mule.el (coding-system-iso-2022-flags):
6408 Add `8-bit-level-4'. (Bug#8522)
99107004 6409
48494e06
LMI
64102013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6411
8ba8eec5
LMI
6412 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6413 (bug#14815).
6414
dfbc66e3
LMI
6415 * net/eww.el (eww-process-text-input): Allow inputting when the
6416 point is at the start of the line, as the properties aren't
6417 front-sticky.
6418
48494e06
LMI
6419 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6420 degenerate widths.
6421
77c92cb9
RS
64222013-07-19 Richard Stallman <rms@gnu.org>
6423
aec7da77
RS
6424 * epa.el (epa-popup-info-window): Doc fix.
6425
77c92cb9
RS
6426 * subr.el (split-string): New arg TRIM.
6427
945c5bb1
JB
64282013-07-18 Juanma Barranquero <lekktu@gmail.com>
6429
6430 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6431 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6432
e06ec67f
MA
64332013-07-18 Michael Albinus <michael.albinus@gmx.de>
6434
c7064f05 6435 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6436 `file-notify-support'. Do not autoload. Adapt all uses.
6437 (file-notify-supported-p): New defun.
6438
c7064f05
JB
6439 * autorevert.el (auto-revert-use-notify):
6440 Use `file-notify-supported-p' instead of `file-notify-support'.
6441 Adapt docstring.
e06ec67f
MA
6442 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6443
6444 * net/tramp.el (tramp-file-name-for-operation):
6445 Add `file-notify-supported-p'.
6446
6447 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6448 New defun.
6449 (tramp-sh-file-name-handler-alist): Add it as handler for
6450 `file-notify-supported-p '.
6451
6452 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6453 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6454 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6455 Add `ignore' as handler for `file-notify-*' functions.
6456
5dc8a629
EZ
64572013-07-17 Eli Zaretskii <eliz@gnu.org>
6458
6459 * simple.el (line-move-partial, line-move): Don't start vscroll or
6460 scroll-up if the current line is not taller than the window.
6461 (Bug#14881)
6462
77aea2fb
DG
64632013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6464
6465 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6466 highlight question marks in the method names as strings.
ac72c08d
DG
6467 (ruby-block-beg-keywords): Inline.
6468 (ruby-font-lock-keyword-beg-re): Extract from
6469 `ruby-font-lock-keywords'.
77aea2fb 6470
18c26d81
JD
64712013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6472
6473 * frame.el (blink-cursor-blinks): New defcustom.
6474 (blink-cursor-blinks-done): New defvar.
6475 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6476 (blink-cursor-timer-function): Check if number of blinks has been
6477 done on X and NS.
6478 (blink-cursor-suspend, blink-cursor-check): New defuns.
6479
da48522e
GM
64802013-07-15 Glenn Morris <rgm@gnu.org>
6481
6482 * edmacro.el (edmacro-format-keys): Fix previous change.
6483
0463c1ef
PE
64842013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6485
6486 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6487 The hack didn't work outside English locales anyway.
6488
b43f6451
JB
64892013-07-15 Juanma Barranquero <lekktu@gmail.com>
6490
6491 * simple.el (define-alternatives): Rename from alternatives-define,
6492 per RMS' suggestion.
6493
b958c0ad
JB
64942013-07-14 Juanma Barranquero <lekktu@gmail.com>
6495
6496 * desktop.el (desktop-restore-frames): Change default to t.
6497 (desktop-restore-in-current-display): Now offer more options.
6498 (desktop-restoring-reuses-frames): New customization option.
6499 (desktop--saved-states): Doc fix.
6500 (desktop-filter-parameters-alist): New variable, renamed and expanded
6501 from desktop--excluded-frame-parameters.
6502 (desktop--target-display): New variable.
6503 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6504 (desktop--filter-tty*, desktop--filter-*-color)
6505 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6506 (desktop--filter-save-desktop-parm)
6507 (desktop-restore-in-original-display-p): New functions.
6508 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6509 (desktop--save-minibuffer-frames): New function, inspired by a similar
6510 function from Martin Rudalics.
6511 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6512 (desktop--restore-in-this-display-p): Remove.
6513 (desktop--find-frame): Rename from desktop--find-frame-in-display
6514 and add predicate argument.
6515 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6516 (desktop--reuse-list): New variable.
6517 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6518 New functions.
6519 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6520
f6dd8b36
MA
65212013-07-14 Michael Albinus <michael.albinus@gmx.de>
6522
6523 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6524
2ce3c565
DG
65252013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6526
763a086d
JB
6527 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6528 Highlight conversion methods on Kernel.
2ce3c565 6529
2cdb7698
AM
65302013-07-13 Alan Mackenzie <acm@muc.de>
6531
6532 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6533 and comment it out. This out-commenting enables certain C++
6534 declarations to be parsed correctly.
6535
1a67b811
EZ
65362013-07-13 Eli Zaretskii <eliz@gnu.org>
6537
1b796d6b
EZ
6538 * international/mule.el (define-coding-system): Doc fix.
6539
1a67b811
EZ
6540 * simple.el (default-font-height): Don't call font-info if the
6541 frame's default font didn't change since the frame was created.
6542 (Bug#14838)
6543
58fbe886
LL
65442013-07-13 Leo Liu <sdl.web@gmail.com>
6545
6546 * ido.el (ido-read-file-name): Guard against non-symbol value.
6547
1f0480d4
FEG
65482013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6549
6550 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6551 in nested defuns.
6552
97ead0e5
LL
65532013-07-13 Leo Liu <sdl.web@gmail.com>
6554
6555 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6556 ido-set-matches call. (Bug#6852)
6557
0880a952
DG
65582013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6559
6560 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6561 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6562 Ruby 2.0.
6563 (ruby-font-lock-keywords): Distinguish calls to functions with
6564 module-like names from module references. Highlight character
6565 literals.
6566
a7d8babb
SDJ
65672013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6568
6569 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6570 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6571
acfcc8c5
JB
65722013-07-12 Juanma Barranquero <lekktu@gmail.com>
6573
6574 * desktop.el (desktop--v2s): Remove unused local variable.
6575 (desktop-save-buffer): Make defvar-local; adjust docstring.
6576 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6577 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6578
051f2775
AS
65792013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6580
6581 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6582
f24e7572
GM
65832013-07-12 Eli Zaretskii <eliz@gnu.org>
6584
6585 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6586 (Bug#14842)
6587
539a920c
GM
65882013-07-12 Glenn Morris <rgm@gnu.org>
6589
6590 * doc-view.el: Require cl-lib at runtime too.
6591 (doc-view-remove-if): Remove.
6592 (doc-view-search-next-match, doc-view-search-previous-match):
6593 Use cl-remove-if.
6594
6595 * edmacro.el: Require cl-lib at runtime too.
6596 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6597 (edmacro-mismatch, edmacro-subseq): Remove.
6598
6599 * shadowfile.el: Require cl-lib.
6600 (shadow-remove-if): Remove.
6601 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6602 Use cl-remove-if.
6603
6604 * wid-edit.el: Require cl-lib.
6605 (widget-choose): Use cl-remove-if.
6606 (widget-remove-if): Remove.
6607
6608 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6609 (ebrowse-delete-if-not): Remove.
6610 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6611 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6612 Use cl-delete-if-not.
6613
1048af7c
JB
66142013-07-12 Juanma Barranquero <lekktu@gmail.com>
6615
6616 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6617 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6618
6c0674ee
LL
66192013-07-12 Leo Liu <sdl.web@gmail.com>
6620
6621 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6622
a19b3c2d
GM
66232013-07-11 Glenn Morris <rgm@gnu.org>
6624
4582a01c
GM
6625 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6626 (edebug-gensym-index, edebug-gensym):
6627 Remove reimplementation of cl-gensym.
6628 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6629
6630 * thumbs.el: Require cl-lib at run-time too.
6631 (thumbs-gensym-counter, thumbs-gensym):
6632 Remove reimplementation of cl-gensym.
6633 (thumbs-temp-file): Use cl-gensym.
6634
a19b3c2d
GM
6635 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6636 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6637 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6638 (ert--union, ert--gensym-counter, ert--gensym-counter)
6639 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6640 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6641 (ert-make-test-unbound, ert--expand-should-1)
6642 (ert--expand-should, ert--should-error-handle-error)
6643 (should-error, ert--explain-equal-rec)
6644 (ert--plist-difference-explanation, ert-select-tests)
6645 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6646 Use cl-lib functions rather than reimplementations.
6647
88f6a933
MA
66482013-07-11 Michael Albinus <michael.albinus@gmx.de>
6649
6650 * net/tramp.el (tramp-methods): Extend docstring.
6651 (tramp-connection-timeout): New defcustom.
6652 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6653 (with-tramp-progress-reporter): Simplify.
6654 (tramp-process-actions): Improve messages.
6655
6656 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6657 * net/tramp-sh.el (tramp-maybe-open-connection):
6658 Use `tramp-connection-timeout'.
6659 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6660 (Bug#14808)
6661
a43d577e
LL
66622013-07-11 Leo Liu <sdl.web@gmail.com>
6663
6664 * ido.el (ido-read-file-name): Conform to the requirements of
6665 read-file-name. (Bug#11861)
6666 (ido-read-directory-name): Conform to the requirements of
6667 read-directory-name.
6668
d77974bf
JB
66692013-07-11 Juanma Barranquero <lekktu@gmail.com>
6670
6671 * subr.el (delay-warning): New function.
6672
35cb8a3e
EZ
66732013-07-10 Eli Zaretskii <eliz@gnu.org>
6674
6675 * simple.el (default-line-height): New function.
6676 (line-move-partial, line-move): Use it instead of computing the
6677 line height inline.
6678 (line-move-partial): Always compute ROWH. If the last line is
6679 partially-visible, but its text is completely visible, allow
6680 cursor to enter such a partially-visible line.
6681
525c5c77
MA
66822013-07-10 Michael Albinus <michael.albinus@gmx.de>
6683
6684 Improve error messages. (Bug#14808)
6685
6686 * net/tramp.el (tramp-current-connection): New defvar, moved from
6687 tramp-sh.el.
0ac26976 6688 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6689 needed anymore.
0ac26976
SM
6690 (tramp-error-with-buffer): Show message in minibuffer.
6691 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6692 (with-tramp-progress-reporter): Improve messages.
6693 (tramp-process-actions): Use progress reporter. Delete process in
6694 case of error. Improve messages.
6695
763a086d
JB
6696 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6697 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6698 (tramp-current-connection): Remove.
525c5c77
MA
6699 (tramp-maybe-open-connection): The car of
6700 `tramp-current-connection' are the first 3 slots of the vector.
6701
c7a4d368
TZ
67022013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6703
6704 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6705 inside continued strings.
6706
954b166e
PE
67072013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6708
6709 Timestamp fixes for undo (Bug#14824).
6710 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6711
56973319
LL
67122013-07-10 Leo Liu <sdl.web@gmail.com>
6713
6714 * files.el (require-final-newline): Allow safe local value.
6715 (Bug#14834)
6716
5550a72c
LL
67172013-07-09 Leo Liu <sdl.web@gmail.com>
6718
6719 * ido.el (ido-read-directory-name): Handle fallback.
6720 (ido-read-file-name): Update DIR to ido-current-directory.
6721 (Bug#1516)
c28b9050 6722 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6723
70c46b28
DG
67242013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6725
6726 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6727 "autoload". Remove "warn lower camel case" section, previously
6728 commented out. Highlight negation char. Do not highlight the
6729 target in singleton method definitions.
6730
0b64b838
SM
67312013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6732
7fd72e2c
SM
6733 * faces.el (tty-setup-hook): Declare the hook.
6734
0b64b838
SM
6735 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6736 and detect when a guard/pred depends on local vars (bug#14773).
6737 (pcase--u1): Adjust caller.
6738
ab49d60b
EZ
67392013-07-08 Eli Zaretskii <eliz@gnu.org>
6740
6741 * simple.el (line-move-partial, line-move): Account for
6742 line-spacing.
701d79aa
EZ
6743 (line-move-partial): Avoid setting vscroll when the last
6744 partially-visible line in window is of default height.
ab49d60b 6745
2d756ae0
LMI
67462013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6747
6748 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6749 been used a while.
6750
ed095bd7
JB
67512013-07-07 Juanma Barranquero <lekktu@gmail.com>
6752
6753 * subr.el (read-quoted-char): Remove unused local variable `char'.
6754
f1e6674b
MK
67552013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6756
584ee3fc
GM
6757 * ediff.el (ediff-version): Version update.
6758 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6759 (ediff-merge-with-ancestor-command, ediff-directories-command)
6760 (ediff-directories3-command, ediff-merge-directories-command)
6761 (ediff-merge-directories-with-ancestor-command): New functions.
6762 All are command-line interfaces to ediff: to facilitate calling
6763 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6764
6765 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6766 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6767
584ee3fc
GM
6768 * viper.el (viper-version): Version update.
6769 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6770
584ee3fc
GM
67712013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6772
6773 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6774 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6775 (viper-intercept-ESC-key): Simplify.
6776 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6777 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6778 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6779 (viper-setup-ESC-to-escape): New functions.
6780 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6781 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6782
9aff9b38
EZ
67832013-07-07 Eli Zaretskii <eliz@gnu.org>
6784
5165d44a
JB
6785 * simple.el (default-font-height, window-screen-lines):
6786 New functions.
9aff9b38
EZ
6787 (line-move, line-move-partial): Use them instead of
6788 frame-char-height and window-text-height. This makes scrolling
6789 text smoother when the buffer's default face uses a font that is
6790 different from the frame's default font.
6791
1afb1d07
JD
67922013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6793
6794 * files.el (write-file): Do not display confirm dialog for NS,
6795 it does its own dialog, which can't be cancelled (Bug#14578).
6796
23de972a
EZ
67972013-07-06 Eli Zaretskii <eliz@gnu.org>
6798
6799 * simple.el (line-move-partial): Adjust the row returned by
6800 posn-at-point for the current window-vscroll. (Bug#14567)
6801
54a42486
MA
68022013-07-06 Michael Albinus <michael.albinus@gmx.de>
6803
6804 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6805 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6806 spaces.
6807
34ada5f4
MR
68082013-07-06 Martin Rudalics <rudalics@gmx.at>
6809
6810 * window.el (window-state-put-stale-windows): New variable.
6811 (window--state-put-2): Save list of windows without matching buffer.
6812 (window-state-put): Remove "bufferless" windows if possible.
6813
11e03d89
JB
68142013-07-06 Juanma Barranquero <lekktu@gmail.com>
6815
6816 * simple.el (alternatives-define): Remove leftover :group keyword.
6817 Tweak docstring.
6818
3504a4be
LL
68192013-07-06 Leo Liu <sdl.web@gmail.com>
6820
6821 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6822 (ido-enable-virtual-buffers): New variable.
6823 (ido-buffer-internal, ido-toggle-virtual-buffers)
6824 (ido-make-buffer-list): Use it.
6825 (ido-exhibit): Support turning on and off virtual buffers
6826 automatically.
6827
61e56e2c
JB
68282013-07-06 Juanma Barranquero <lekktu@gmail.com>
6829
6830 * simple.el (alternatives-define): New macro.
6831
321e1a9c
SM
68322013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * subr.el (read-quoted-char): Use read-key.
6835 (sit-for): Let read-event decode tty input (bug#14782).
6836
d610f6dd
SB
68372013-07-05 Stephen Berman <stephen.berman@gmx.net>
6838
6839 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6840 mode command and externally. Fix various related bugs.
6841 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6842 (todo-delete-file): New command.
6843 (todo-check-file): New function.
6844 (todo-show): Handle external deletion of the file we're trying to
6845 show (bug#14688). Replace called-interactively-p by an optional
6846 prefix argument to avoid problematic interaction with catch form
6847 when byte compiled (bug#14702).
6848 (todo-quit): Handle external deletion of the archive's todo file.
6849 Make sure the buffer that was visiting the archive file is still
6850 live before trying to bury it.
6851 (todo-category-completions): Handle external deletion of any
6852 category completion files.
6853 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6854 of todo files, in case of external deletion.
6855 (todo-add-file): Replace unnecessary setq by let-binding.
6856 (todo-find-archive): Check whether there are any archives.
6857 Replace unnecessary setq by let-binding.
6858 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6859 archive buffer whether or not the archive already exists.
6860 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6861 check if the archive is new; if it is, update list of archives.
6862 (todo-default-todo-file): Allow nil to be a valid value for when
6863 there are no todo files.
6864 (todo-reevaluate-default-file-defcustom): Use corrected definition
6865 of todo-default-todo-file.
6866 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6867 (todo-delete-category, todo-show-categories-table)
6868 (todo-category-number): Clarify comment.
6869 (todo-filter-items): Clarify documentation string.
6870 (todo-show-current-file, todo-display-as-todo-file)
6871 (todo-reset-and-enable-done-separator): Tweak documentation string.
6872 (todo-done-separator): Make separator length window-width, since
6873 bug#2749 is now fixed.
6874
ddbdfd6f
MA
68752013-07-05 Michael Albinus <michael.albinus@gmx.de>
6876
321e1a9c
SM
6877 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6878 Support both "gvfs-monitor-dir" and "inotifywait".
6879 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6880 `tramp-sh-file-notify-process-filter'.
6881 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6882 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6883
96eb829a
LL
68842013-07-05 Leo Liu <sdl.web@gmail.com>
6885
6886 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6887
cf13177e
YM
68882013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6889
6890 * frame.el (display-pixel-height, display-pixel-width)
6891 (display-mm-height, display-mm-width): Mention behavior on
6892 multi-monitor setups in docstrings.
6893 (w32-display-monitor-attributes-list): Declare function.
6894 (display-monitor-attributes-list): Use it.
6895
864c58ca
MA
68962013-07-04 Michael Albinus <michael.albinus@gmx.de>
6897
6898 * filenotify.el: New package.
6899
6900 * autorevert.el (top): Require filenotify.el.
6901 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6902 instead.
6903 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6904 (auto-revert-notify-handler): Use `file-notify-*' functions.
6905
6906 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6907
321e1a9c
SM
6908 * net/tramp.el (tramp-file-name-for-operation):
6909 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6910
6911 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6912 for `file-notify-add-watch' and `file-notify-rm-watch'.
6913 (tramp-process-sentinel): Improve trace.
6914 (tramp-sh-handle-file-notify-add-watch)
6915 (tramp-sh-file-notify-process-filter)
6916 (tramp-sh-handle-file-notify-rm-watch)
6917 (tramp-get-remote-inotifywait): New defuns.
6918
96673afe
JL
69192013-07-03 Juri Linkov <juri@jurta.org>
6920
6921 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6922 call of `occur-read-primary-args' to interactive spec.
6923
6924 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6925 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6926
924494f4
MM
69272013-07-03 Matthias Meulien <orontee@gmail.com>
6928
6929 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6930 `Buffer-menu-multi-occur'. Add it to the menu.
6931 (Buffer-menu-mode): Document it in docstring.
6932 (Buffer-menu-multi-occur): New command. (Bug#14673)
6933
56f75efc
DG
69342013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6935
6936 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6937 keywords and built-ins.
6938
9b057d61
GM
69392013-07-03 Glenn Morris <rgm@gnu.org>
6940
208dee4d
GM
6941 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6942
9b057d61
GM
6943 Make info-xref checks case-sensitive by default
6944 * info.el (Info-find-node, Info-find-in-tag-table)
6945 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6946 Add option for exact case matching of nodes.
6947 * info-xref.el (info-xref): New custom group.
6948 (info-xref-case-fold): New option.
6949 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6950
e01aa29c
LL
69512013-07-03 Leo Liu <sdl.web@gmail.com>
6952
6953 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6954
3086ca2e
DG
69552013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6956
6957 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6958 middle of block statement initially, lower the depth. Remove
6959 FIXME comment, not longer valid. Remove middle of block statement
6960 detection, no need to do that anymore since we've been using
6961 `ruby-parse-region' here.
6962
a3b49114
JD
69632013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6964
6965 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6966
08e5c823 69672013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6968
6969 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6970
2addf922
JB
69712013-07-01 Juanma Barranquero <lekktu@gmail.com>
6972
6973 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6974 (desktop-restore-in-current-display): New customization option.
6975 (desktop--excluded-frame-parameters): Add `font'.
6976 (desktop--save-frames): Rename from desktop--save-windows.
6977 (desktop--restore-in-this-display-p): New function.
6978 (desktop--make-full-frame): Remove unwanted width/height from
6979 full(width|height) frames.
6980 (desktop--restore-frames): Rename from desktop--restore-windows.
6981 Obey desktop-restore-current-display. Do not delete old frames or
6982 select a new frame unless we were able to restore at least one frame.
6983
ef099a94
MN
69842013-06-30 Michal Nazarewicz <mina86@mina86.com>
6985
6986 * files.el (find-file-noselect): Simplify conditional expression.
6987
6988 * remember.el (remember-append-to-file):
6989 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6990
6991 Add `remember-notes' function to store random notes across Emacs
6992 restarts.
6993 * remember.el (remember-data-file): Add :set callback to affect
6994 notes buffer (if any).
6995 (remember-notes): New command.
6996 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6997 New defcustoms for the `remember-notes' function.
6998 (remember-notes-save-and-bury-buffer): New command.
6999 (remember-notes-mode-map): New variable.
7000 (remember-mode): New minor mode.
7001 (remember-notes--kill-buffer-query): New function.
7002 * startup.el (initial-buffer-choice): Add notes to custom type.
7003
0865d506
EZ
70042013-06-30 Eli Zaretskii <eliz@gnu.org>
7005
0ba54312
EZ
7006 * bindings.el (right-char, left-char): Don't call sit-for, this is
7007 no longer needed. Use arithmetic comparison only for numerical
7008 arguments.
7009
ef099a94
MN
7010 * international/mule-cmds.el (select-safe-coding-system):
7011 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7012
2fae38e5
LMI
70132013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7014
7015 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7016 progression on degenerate tables.
ef099a94 7017 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7018
a47cbd64
JB
70192013-06-30 Juanma Barranquero <lekktu@gmail.com>
7020
7021 Some fixes and improvements for desktop frame restoration.
7022 It is still experimental and disabled by default.
7023 * desktop.el (desktop--save-windows): Put the selected frame at
7024 the head of the list.
7025 (desktop--make-full-frame): New function.
7026 (desktop--restore-windows): Try to re-select the frame that was
7027 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7028 just show an error message and continue. Set up maximized frames
7029 so they have default non-maximized dimensions.
a47cbd64 7030
6dbafa30
DG
70312013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7032
ef099a94
MN
7033 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7034 Don't start heredoc inside a string or comment.
6dbafa30 7035
4c672a0f
EZ
70362013-06-29 Eli Zaretskii <eliz@gnu.org>
7037
7038 * bindings.el (visual-order-cursor-movement): New defcustom.
7039 (right-char, left-char): Provide visual-order cursor motion by
7040 calling move-point-visually. Update the doc strings.
7041
50960f36
KH
70422013-06-28 Kenichi Handa <handa@gnu.org>
7043
7044 * international/mule.el (define-coding-system): New coding system
7045 properties :inhibit-null-byte-detection,
7046 :inhibit-iso-escape-detection, and :prefer-utf-8.
7047 (set-buffer-file-coding-system): If :charset-list property of
7048 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7049 appropriate for setting.
7050
c1ea3abf
JB
7051 * international/mule-cmds.el (select-safe-coding-system):
7052 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7053 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7054
7055 * international/mule-conf.el (prefer-utf-8): New coding system.
7056 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7057 files.
7058
75dbaf9d
IK
70592013-06-28 Ivan Kanis <ivan@kanis.fr>
7060
eadb6068
IK
7061 * net/shr.el (shr-render-region): New function.
7062
75dbaf9d
IK
7063 * net/eww.el: Autoload `eww-browse-url'.
7064
9ea5cf9f
DG
70652013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7066
c1ea3abf
JB
7067 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7068 Adapt to `package-desc-version' being a list.
7069 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7070 archive element.
7071
39c0e36f
JB
70722013-06-27 Juanma Barranquero <lekktu@gmail.com>
7073
7074 New experimental feature to save&restore window and frame setup.
7075 * desktop.el (desktop-save-windows): New defcustom.
7076 (desktop--saved-states): New var.
7077 (desktop--excluded-frame-parameters): New defconst.
7078 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7079 (desktop--restore-windows, desktop--save-windows): New functions.
7080 (desktop-save): Call `desktop--save-windows'.
7081 (desktop-read): Call `desktop--restore-windows'.
7082
7f13406b
LMI
70832013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7084
ef099a94 7085 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7086
1e072639
SB
70872013-06-27 Stephen Berman <stephen.berman@gmx.net>
7088
7089 * info.el (Info-try-follow-nearest-node): Move search for footnote
7090 above search for node name to prevent missing a footnote (bug#14717).
7091
f3e2cbde
SB
70922013-06-27 Stephen Berman <stephen.berman@gmx.net>
7093
7094 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7095
99906aa0
LL
70962013-06-27 Leo Liu <sdl.web@gmail.com>
7097
7098 * net/eww.el (eww-read-bookmarks): Check file size.
7099
539f75f4
SM
71002013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7101
7102 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7103 advice--pending if newdef is nil or an autoload (bug#13820).
7104 (advice-mapc): New function.
7105
843571cb
LMI
71062013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7107
7108 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7109 probably.
23a75d7f 7110 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7111 (eww-add-bookmark): New command.
7112 (eww-bookmark-mode): New mode and commands.
a285ce99 7113 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7114 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7115
f2136e1e
GM
71162013-06-26 Glenn Morris <rgm@gnu.org>
7117
eab35f39
GM
7118 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7119 (hfy-size): Handle ttys. (Bug#14668)
7120
f2136e1e
GM
7121 * info-xref.el: Update for Texinfo 5 change in *note format.
7122 (info-xref-node-re, info-xref-note-re): New constants.
7123 (info-xref-check-buffer): Use info-xref-note-re.
7124
a49ff80c
SM
71252013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7126
a343d218
SM
7127 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7128
a49ff80c
SM
7129 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7130 nil terminate the loop (bug#14718).
7131
8308f184
LMI
71322013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7133
7134 * net/eww.el: Rework history traversal. When going forward/back,
7135 put these actions into the history, too, so that they can be
7136 replayed.
26bf2b82 7137 (eww-render): Move the history reset to the correct buffer.
8308f184 7138
ec64c273
JL
71392013-06-25 Juri Linkov <juri@jurta.org>
7140
7141 * files-x.el (modify-dir-local-variable): Change the header comment
7142 in the file with directory local variables. (Bug#14692)
7143
e080a9d7
JL
7144 * files-x.el (read-file-local-variable-value): Add `default'.
7145 (Bug#14710)
7146
bfbc93a1
IK
71472013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7148
7149 * net/eww.el (eww-make-unique-file-name): Create a unique file
7150 name before saving to entering `y' accidentally asynchronously.
7151
71522013-06-25 Ivan Kanis <ivan@kanis.fr>
7153
7154 * net/eww.el (eww-download): New command and keystroke.
7155
16f74f10
LMI
71562013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7157
a49ff80c 7158 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7159
7160 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7161 be more consistent with Info and dired.
7162
7163 * net/eww.el (eww-mode-map): Ditto.
7164
12059709
SM
71652013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7166
7167 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7168 packages from archives.
7169 (package-archive-contents): Change format; include obsolete packages.
7170 (package-desc): Use `dir' to mark builtin packages.
7171 (package--from-builtin): Set the `dir' field to `builtin'.
7172 (generated-autoload-file, version-control): Declare.
7173 (package-compute-transaction): Change first arg and return value to be
7174 lists of package-descs. Adjust to new package-archive-contents format.
7175 (package--add-to-archive-contents): Adjust to new
7176 package-archive-contents format.
7177 (package-download-transaction): Arg is now a list of package-descs.
7178 (package-install): If `pkg' is a package name, pass it as
7179 a requirement, so it is subject to the usual (e.g. disabled) checks.
7180 (describe-package): Accept package-desc as well.
7181 (describe-package-1): Describe a specific package-desc. Add links to
7182 other package-descs for the same package name.
7183 (package-menu-describe-package): Pass the actual package-desc.
7184 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7185 works correctly.
7186 (package-desc-status): New function.
7187 (package-menu--refresh): New function, extracted
7188 from package-menu--generate.
7189 (package-menu--generate): Use it.
7190 (package-delete): Update package-alist.
7191 (package-menu-execute): Don't call package-initialize.
7192
7193 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7194 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7195 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7196 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7197 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7198 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7199
8bbdea0f
MR
72002013-06-25 Martin Rudalics <rudalics@gmx.at>
7201
7202 * window.el (window--state-get-1): Workaround for bug#14527.
7203 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7204
e82b0991
LMI
72052013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7206
7207 * net/eww.el (eww-back-url): Implement the history by stashing all
7208 the data into a list.
d3f0f918 7209 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7210
c763842b
SM
72112013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7214 for values and use read--expression for expressions (bug#14710).
7215 (read-file-local-variable): Avoid setq.
7216 (read-file-local-variable-mode): Use minor-mode-list.
7217
bceff189
RW
72182013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7219
864c58ca 7220 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7221 for DOI URLs.
7222
45f431c6
RW
72232013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7224
864c58ca 7225 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7226 Update imenu-support when dialect changes.
7227
f42d8237
LL
72282013-06-25 Leo Liu <sdl.web@gmail.com>
7229
7230 * ido.el (ido-read-internal): Allow forward slash on windows.
7231
be549ce6
LMI
72322013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7233
7234 * net/eww.el (eww): Start of strings is \\`, not ^.
7235
71d4c19d
IK
72362013-06-24 Ivan Kanis <ivan@kanis.fr>
7237
5196f88a
IK
7238 * net/shr.el (shr-browse-url): Fix interactive spec.
7239
71d4c19d
IK
7240 * net/eww.el (eww): Add a trailing slash to domain names.
7241
ae36ca55
JB
72422013-06-24 Juanma Barranquero <lekktu@gmail.com>
7243
7244 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7245
0ebd92a3
LMI
72462013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7247
bdaa086b
LMI
7248 * net/shr.el (shr-browse-url): Use an external browser if given a
7249 prefix.
7250
c763842b 7251 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7252
b89fc156
IK
72532013-06-24 Ivan Kanis <ivan@kanis.fr>
7254
7255 * net/eww.el (eww): Work more correctly for file: URLs.
7256 (eww-detect-charset): Allow quoted charsets.
7257 (eww-yank-page-url): New command and keystroke.
7258
18eb4bca
DU
72592013-06-24 Daiki Ueno <ueno@gnu.org>
7260
7261 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7262 file name of gpg executable.
7263 (epg-context-program): New function.
7264 (epg-context-home-directory): New function.
7265 (epg-context-set-program): New function.
7266 (epg-context-set-home-directory): New function.
7267 (epg--start): Use `epg-context-program' instead of
7268 'epg-gpg-program'.
7269 (epg--list-keys-1): Likewise.
7270
6c6268c8
LL
72712013-06-24 Leo Liu <sdl.web@gmail.com>
7272
7273 * ido.el (ido-read-internal): Fix bug#14620.
7274
5e400cb3
JB
72752013-06-23 Juanma Barranquero <lekktu@gmail.com>
7276
7277 * faces.el (face-documentation): Simplify.
7278 (read-face-attribute, tty-find-type, x-resolve-font-name):
7279 Use `string-match-p'.
7280 (list-faces-display): Use `string-match-p'. Simplify.
7281 (face-spec-recalc): Check face to avoid face alias loops.
7282 (read-color): Use `string-match-p' and non-capturing parenthesis.
7283
f3f9606c
LMI
72842013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7285
7286 * net/shr.el (shr-rescale-image): Use the new
7287 :max-width/:max-height functionality.
7288
a3ca09b9
IK
72892013-06-23 Ivan Kanis <ivan@kanis.fr>
7290
7291 * net/eww.el (eww-search-prefix): New variable.
7292 (eww): Use it.
f865b474
IK
7293 (eww-external-browser): New variable.
7294 (eww-mode-map): New keystroke.
7295 (eww-browse-with-external-browser): New command.
a3ca09b9 7296
e854cfc7
IK
7297 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7298
18bb9e21
JB
72992013-06-23 Juanma Barranquero <lekktu@gmail.com>
7300
7301 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7302 Don't skip aligning the next header field when padding is 0;
7303 otherwise, field width is not respected unless the title is as
7304 wide as the field.
7305
5b165ade
SM
73062013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7307
7308 * emacs-lisp/package.el (package-el-version): Remove.
7309 (package-process-define-package): Fix inf-loop.
7310 (package-install): Allow symbols as arguments again.
7311
12adebe9
DG
73122013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7313
7314 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7315 add some more keyword-like methods.
7316 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7317
388573ee
JB
73182013-06-22 Juanma Barranquero <lekktu@gmail.com>
7319
7320 * bs.el (bs-buffer-show-mark): Make defvar-local.
7321 (bs-mode): Use setq-local.
7322
7323 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7324 (emacs-lock--try-unlocking): Make defvar-local.
7325
4582a01c 73262013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7327
2663dd23
GM
7328 * play/cookie1.el (cookie-apropos): Minor simplification.
7329
3d94f3ad
GM
7330 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7331
f72e2fdb
DG
73322013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7333
7334 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7335 `regexp-opt', it breaks the build during dumping.
7336
73eab938
DG
73372013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7338
c763842b
SM
7339 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7340 Highlight keyword-like methods on Kernel and Module with
73eab938 7341 font-lock-builtin-face.
5cf8176d
DG
7342 (auto-mode-alist): Consolidate different entries into one regexp
7343 and add more *file-s.
73eab938 7344
d26255f6
SB
73452013-06-21 Stephen Berman <stephen.berman@gmx.net>
7346
7347 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7348
7349 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7350 (diary-entry): Use it in the action of this button type instead of
7351 diary-goto-entry.
7352
7353 * calendar/todo-mode.el: New version.
7354 (todo-add-category): Append new category to end of file and give
7355 it the highest number, instead of putting it at the beginning and
7356 giving it 0. Incorporate noninteractive functionality.
7357 (todo-forward-category): Adapt to 1-based category numbering.
7358 Allow skipping over archived categories.
7359 (todo-backward-category): Derive from todo-forward-category.
7360 (todo-backward-item, todo-forward-item): Make noninteractive and
7361 delegate interactive part to new commands. Make sensitive to done items.
7362 (todo-categories): Make value an alist of category names and
7363 vectors of item counts.
7364 (todo-category-beg): Make a defconst.
7365 (todo-category-number): Use 1 instead of 0 as initial value.
7366 (todo-category-select): Make sensitive to overlays, optional item
7367 highlighting and done items.
7368 (todo-delete-item): Make sensitive to overlays and marked and done items.
7369 (todo-edit-item): Make sensitive to overlays and editing of
7370 date/time header optional. Add format checks.
7371 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7372 no-op if point is not on an item. Advertise using todo-edit-quit.
7373 (todo-edit-mode): Make sensitive to new format, font-locking, and
7374 multiple todo files.
7375 (todo-insert-item, todo-insert-item-here): Derive from
7376 todo-basic-insert-item and extend functionality.
7377 (todo-item-end, todo-item-start): Make sensitive to done items.
7378 (todo-item-string): Don't return text properties. Restore point.
7379 (todo-jump-to-category): Make sensitive to multiple todo files and
7380 todo archives. Use extended category completion.
7381 (todo-lower-item, todo-raise-item): Rename to *-priority and
7382 derive from todo-set-item-priority.
7383 (todo-mode): Derive from special-mode. Make sensitive to new
7384 format, font-locking and multiple todo files. Make read-only.
7385 (todo-mode-map): Don't suppress digit keys, so they can supply
7386 prefix arguments. Add many new key bindings.
7387 (todo-prefix): Insert as an overlay instead of file text.
7388 Change semantics from diary date expression to purely visual mark.
7389 (todo-print): Rename to todo-print-buffer. Make buffer display
7390 features printable. Remove option to restrict number of items
7391 printed. Add option to print to file.
7392 (todo-print-function): Rename to todo-print-buffer-function.
7393 (todo-quit): Extend to handle exiting new todo modes.
7394 (todo-remove-item): Make sensitive to overlays.
7395 (todo-save): Extend to buffers of filtered items.
7396 (todo-show): Make sensitive to done items, multiple todo files and
7397 new todo modes. Offer to convert legacy todo file before creating
7398 first new todo file.
7399 (todo-show-priorities): Rename to todo-top-priorities.
7400 Change semantics of value 0.
7401 (todo-top-priorities): Rename to todo-filter-top-priorities,
7402 derive from todo-filter-items and extend functionality.
7403 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7404 and extend functionality to other types of filtered items.
7405 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7406 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7407 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7408 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7409 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7410 (todo-edit-mode-hook, todo-entry-prefix-function)
7411 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7412 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7413 (todo-initials, todo-insert-threshold, todo-item-string-start)
7414 (todo-line-string, todo-menu, todo-mode-hook)
7415 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7416 (todo-print-priorities, todo-remove-separator)
7417 (todo-save-top-priorities-too, todo-string-count-lines)
7418 (todo-string-multiline-p, todo-time-string-format)
7419 (todo-tmp-buffer-name): Remove.
7420 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7421 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7422 (todo-edit-category-diary-inclusion)
7423 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7424 (todo-edit-file, todo-edit-item-date-day)
7425 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7426 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7427 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7428 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7429 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7430 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7431 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7432 (todo-filter-top-priorities-multifile, todo-find-archive)
7433 (todo-find-filtered-items-file, todo-go-to-source-item)
7434 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7435 (todo-jump-to-archive-category, todo-lower-category)
7436 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7437 (todo-move-category, todo-move-item, todo-next-button)
7438 (todo-next-item, todo-padded-string, todo-powerset)
7439 (todo-previous-button, todo-previous-item)
7440 (todo-print-buffer-to-file, todo-raise-category)
7441 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7442 (todo-set-category-number, todo-set-item-priority)
7443 (todo-set-top-priorities-in-category)
7444 (todo-set-top-priorities-in-file, todo-show-categories-table)
7445 (todo-sort-categories-alphabetically-or-numerically)
7446 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7447 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7448 (todo-toggle-item-header, todo-toggle-item-highlighting)
7449 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7450 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7451 (todo-unarchive-items, todo-unmark-category): New commands.
7452 (todo-absolute-file-name, todo-add-to-buffer-list)
7453 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7454 (todo-basic-insert-item, todo-category-completions)
7455 (todo-category-number, todo-category-string-matcher-1)
7456 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7457 (todo-check-format, todo-clear-matches)
7458 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7459 (todo-current-category, todo-date-string-matcher)
7460 (todo-define-insertion-command, todo-diary-expired-matcher)
7461 (todo-diary-goto-entry, todo-diary-item-p)
7462 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7463 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7464 (todo-done-item-section-p, todo-done-separator)
7465 (todo-done-string-matcher, todo-files, todo-filter-items)
7466 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7467 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7468 (todo-insert-category-line, todo-insert-item-from-calendar)
7469 (todo-insert-sort-button, todo-insert-with-overlays)
7470 (todo-insertion-command-name, todo-insertion-key-bindings)
7471 (todo-label-to-key, todo-longest-category-name-length)
7472 (todo-make-categories-list, todo-mode-external-set)
7473 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7474 (todo-modes-set-3, todo-multiple-filter-files)
7475 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7476 (todo-read-category, todo-read-date, todo-read-dayname)
7477 (todo-read-file-name, todo-read-time)
7478 (todo-reevaluate-category-completions-files-defcustom)
7479 (todo-reevaluate-default-file-defcustom)
7480 (todo-reevaluate-filelist-defcustoms)
7481 (todo-reevaluate-filter-files-defcustom)
7482 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7483 (todo-reset-done-separator, todo-reset-done-separator-string)
7484 (todo-reset-done-string, todo-reset-global-current-todo-file)
7485 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7486 (todo-reset-prefix, todo-set-categories)
7487 (todo-set-date-from-calendar, todo-set-show-current-file)
7488 (todo-set-top-priorities, todo-short-file-name)
7489 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7490 (todo-total-item-counts, todo-update-buffer-list)
7491 (todo-update-categories-display, todo-update-categories-sexp)
7492 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7493 New functions.
7494 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7495 New major modes.
7496 (todo-categories, todo-display, todo-edit, todo-faces)
7497 (todo-filtered): New defgroups.
7498 (todo-archived-only, todo-button, todo-category-string, todo-date)
7499 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7500 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7501 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7502 (todo-add-item-if-new-category, todo-always-add-time-string)
7503 (todo-categories-align, todo-categories-archived-label)
7504 (todo-categories-category-label, todo-categories-diary-label)
7505 (todo-categories-done-label, todo-categories-number-separator)
7506 (todo-categories-todo-label, todo-categories-totals-label)
7507 (todo-category-completions-files, todo-completion-ignore-case)
7508 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7509 (todo-done-separator-string, todo-done-string)
7510 (todo-files-function, todo-filter-done-items, todo-filter-files)
7511 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7512 (todo-initial-category, todo-initial-file, todo-item-mark)
7513 (todo-legacy-date-time-regexp, todo-mode-line-function)
7514 (todo-nondiary-marker, todo-number-prefix)
7515 (todo-print-buffer-function, todo-show-current-file)
7516 (todo-show-done-only, todo-show-first, todo-show-with-done)
7517 (todo-skip-archived-categories, todo-top-priorities-overrides)
7518 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7519 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7520 New defcustoms.
7521 (todo-category-done, todo-date-pattern, todo-date-string-start)
7522 (todo-diary-items-buffer, todo-done-string-start)
7523 (todo-filtered-items-buffer, todo-item-start)
7524 (todo-month-abbrev-array, todo-month-name-array)
7525 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7526 (todo-top-priorities-buffer): New defconsts.
7527 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7528 (todo-categories-with-marks, todo-category-string-face)
7529 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7530 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7531 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7532 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7533 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7534 (todo-font-lock-keywords, todo-global-current-todo-file)
7535 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7536 (todo-insertion-commands-args)
7537 (todo-insertion-commands-args-genlist)
7538 (todo-insertion-commands-names, todo-insertion-map)
7539 (todo-key-bindings-t, todo-key-bindings-t+a)
7540 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7541 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7542 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7543 (todo-visited): New variables.
7544
cad5d1cb
GM
75452013-06-21 Glenn Morris <rgm@gnu.org>
7546
7547 * play/cookie1.el (cookie-apropos): Add optional display argument.
7548 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7549 (psychoanalyze-pinhead): Use cookie-doctor.
7550
9e277302
JB
75512013-06-21 Juanma Barranquero <lekktu@gmail.com>
7552
7553 * emacs-lisp/package.el (tar-get-file-descriptor)
7554 (tar--extract): Declare.
7555
c5b0993e
EW
75562013-06-21 Eduard Wiebe <usenet@pusto.de>
7557
7558 Extend flymake's warning predicate to be a function (bug#14217).
7559 * progmodes/flymake.el (flymake-warning-predicate): New.
7560 (flymake-parse-line): Use it.
7561 (flymake-warning-re): Make obsolete alias to
7562 `flymake-warning-predicate'.
7563
a7d2d465
SM
75642013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7565
7566 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7567 (package-obsolete-list): Remove.
7568 (package-activate): Remove min-version argument. Add `force' argument.
7569 Adjust to new package-alist format.
7570 (package-mark-obsolete): Remove.
7571 (package-unpack): Force reload of the package's autoloads.
7572 (package-installed-p): Check builtins if the installed package is not
7573 recent enough.
7574 (package-initialize): Don't reset package-obsolete-list.
7575 Don't specify which package version to activate.
7576 (package-process-define-package, describe-package-1)
7577 (package-menu--generate): Adjust to new package-alist format.
7578
cedf5c9d
JB
75792013-06-21 Juanma Barranquero <lekktu@gmail.com>
7580
7581 * allout-widgets.el (allout-widgets-mode-off)
7582 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7583 (allout-widgets-post-command-business)
7584 (allout-widgets-after-copy-or-kill-function)
7585 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7586 (allout-decorate-item-and-context)
7587 (allout-graphics-modification-handler): Fix typos in docstrings.
7588 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7589
7590 * cmuscheme.el (scheme-start-file): Doc fix.
7591 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7592 (scheme-input-filter): Use `string-match-p'.
7593
7594 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7595
7596 * dired-x.el: Use Dired consistently in docstrings.
7597
7598 * dired.el: Use Dired consistently in docstrings.
7599 (dired-readin, dired-mode): Use `setq-local'.
7600 (dired-switches-alist): Make defvar-local.
7601 (dired-buffers-for-dir): Use `zerop'.
7602 (dired-safe-switches-p, dired-switches-escape-p)
7603 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7604 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7605 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7606 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7607 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7608 (dired-toggle-marks, dired-mark-files-containing-regexp)
7609 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7610 (dired-flag-auto-save-files, dired-flag-backup-files):
7611 Use `looking-at-p'.
7612 (dired-mark-files-regexp, dired-build-subdir-alist):
7613 Use `string-match-p', `looking-at-p'.
7614
7615 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7616 (direct-print-region-helper): Use `string-match-p'.
7617
aed838b5
LL
76182013-06-21 Leo Liu <sdl.web@gmail.com>
7619
cedf5c9d
JB
7620 * comint.el (comint-redirect-results-list-from-process):
7621 Fix infinite loop.
aed838b5 7622
d80a808f
LMI
76232013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7624
7625 * net/eww.el (eww-update-header-line-format): Quote % characters.
7626
e7a526e3
GM
76272013-06-21 Glenn Morris <rgm@gnu.org>
7628
7629 * play/cookie1.el (cookie): New custom group.
7630 (cookie-file): New option.
7631 (cookie-check-file): New function.
7632 (cookie): Make it interactive. Make start and end messages optional.
7633 Interactively, display the result. Default to cookie-file.
7634 (cookie-insert): Default to cookie-file.
7635 (cookie-snarf): Make start and end messages optional.
7636 Default to cookie-file. Use with-temp-buffer.
7637 (cookie-read): Rename from read-cookie.
7638 Make start and end messages optional. Default to cookie-file.
7639 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7640 Do not autoload it.
e7a526e3
GM
7641 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7642 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7643
62efb35e
LL
76442013-06-21 Leo Liu <sdl.web@gmail.com>
7645
7646 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7647
21e3f963
GM
76482013-06-21 Glenn Morris <rgm@gnu.org>
7649
7650 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7651
fd846ab4
SM
76522013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7653 Daniel Hackney <dan@haxney.org>
7654
7655 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7656 Consolidate the single-file vs tarball code.
7657 (package-desc-suffix): New function.
7658 (package-desc-full-name): Don't bother inlining it.
7659 (package-load-descriptor): Return the new package-desc.
7660 (package-mark-obsolete): Remove unused arg `package'.
7661 (package-unpack): Make it work for single files as well.
7662 Make it update package-alist.
7663 (package--make-autoloads-and-stuff): Rename from
7664 package--make-autoloads-and-compile. Don't compile any more.
7665 (package--compile): New function.
7666 (package-generate-description-file): New function, extracted from
7667 package-unpack-single.
7668 (package-unpack-single): Remove.
7669 (package--with-work-buffer): Add indentation and debugging info.
7670 (package-download-single): Remove.
7671 (package-install-from-archive): Rename from package-download-tar, make
7672 it take a pkg-desc, and make it work for single files as well.
7673 (package-download-transaction): Simplify.
7674 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7675 external tar program.
7676 (package-install-from-buffer): Remove `pkg-desc' argument.
7677 Use package-tar-file-info for tar-mode buffers.
7678 (package-install-file): Simplify accordingly.
7679 (package-archive-base): Change to take a pkg-desc.
7680 * tar-mode.el (tar--check-descriptor): New function, extracted from
7681 tar-get-descriptor.
7682 (tar-get-descriptor): Use it.
7683 (tar-get-file-descriptor): New function.
7684 (tar--extract): New function, extracted from tar-extract.
7685 (tar--extract): Use it.
7686 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7687 case the summary uses non-ascii. Adjust to new calling convention of
7688 package-tar-file-info.
7689
b7deae5e
LL
76902013-06-21 Leo Liu <sdl.web@gmail.com>
7691
fd846ab4
SM
7692 * comint.el (comint-redirect-results-list-from-process):
7693 Fix random delay. (Bug#14681)
b7deae5e 7694
7a65a0b2
JB
76952013-06-21 Juanma Barranquero <lekktu@gmail.com>
7696
7697 * profiler.el (profiler-format-number): Use log, not log10.
7698
1493c2af
JB
76992013-06-20 Juanma Barranquero <lekktu@gmail.com>
7700
7701 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7702
aff6371e
SM
77032013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7704
7705 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7706 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7707 yet available.
7708 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7709 (AUTOGENEL): ... here.
7710 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7711 (cl--defsubst-expand): Use it.
7712
89561f72
PE
77132013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7714
7715 * subr.el (log10): Move here from C code, and declare as obsolete.
7716 All uses of (log10 X) replaced with (log X 10).
7717
47199123
JB
77182013-06-20 Juanma Barranquero <lekktu@gmail.com>
7719
7720 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7721 Declare with `defvar-local'.
7722 (tabulated-list-use-header-line, tabulated-list-entries)
7723 (tabulated-list-padding, tabulated-list-printer)
7724 (tabulated-list-sort-key): Declare with `defvar-local'.
7725 (tabulated-list-init-header, tabulated-list-print-fake-header):
7726 Use `setq-local'.
7727
4a172eab
MA
77282013-06-20 Michael Albinus <michael.albinus@gmx.de>
7729
47199123
JB
7730 * arc-mode.el (archive-mode): Add `archive-write-file' to
7731 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7732
5fc0acc0
JB
77332013-06-20 Juanma Barranquero <lekktu@gmail.com>
7734
d5b27848
JB
7735 * cus-edit.el (custom-commands): Fix typos.
7736 (custom-display): Fix tooltip text.
7737 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7738 Fix typos in docstrings.
7739 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7740 (custom-unlispify-menu-entry, custom-magic-value-create)
7741 (custom-add-see-also, custom-group-value-create): Use ?\s.
7742 (custom-guess-type, customize-apropos, editable-field)
7743 (custom-face-value-create): Use `string-match-p'.
7744 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7745
7746 * custom.el (custom-load-symbol): Use `string-match-p'.
7747
a5c581d8
JB
7748 * ansi-color.el: Convert to lexical binding.
7749 (ansi-colors): Fix URL.
7750 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7751 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7752 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7753
970ad972
G
77542013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7755
7756 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7757
7758 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7759
77602013-06-19 Tom Tromey <tromey@redhat.com>
7761
7762 * net/eww.el (eww-top-url): Remove.
7763 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7764 (eww-render): Set new variables. Don't set eww-top-url.
7765 (eww-handle-link): Handle "prev", "home", and "contents".
7766 Downcase the rel text.
7767 (eww-top-url): Choose best top URL.
7768
77692013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7770
7771 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7772 relying in widget.el. Using widget.el leads to too many
7773 user interface inconsistencies.
7774 (eww-self-insert): Implement entering commands in text fields.
7775 (eww-process-text-input): New function to make text input field editing
7776 work.
7777 (eww-submit): Rewrite to use the new-style form methods.
7778 (eww-select-display): Display the correct selected item.
7779 (eww-change-select): Implement changing the select value.
7780 (eww-toggle-checkbox): Implement radio/checkboxes.
7781 (eww-update-field): Fix compilation error.
7782 (eww-tag-textarea): Implement <textarea>.
7783
7784 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7785 we don't shadow mode-specific bindings.
7786
7787 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7788 nothing to push.
7789
7790 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7791
4582a01c 77922013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7793
7794 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7795
15b263dc
MA
77962013-06-19 Michael Albinus <michael.albinus@gmx.de>
7797
7798 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7799 not needed.
7800
7801 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7802
8f5297f7
LMI
78032013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7804
7805 * net/browse-url.el (browse-url-browser-function):
7806 `eww-browse-url' has the right calling signature, `eww' does not.
7807
011c4552
GM
78082013-06-19 Glenn Morris <rgm@gnu.org>
7809
2285bd27
GM
7810 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7811 Only eval autoloaded macros.
7812 (byte-compile-autoload): Only give the macro warning for macros.
7813
1d653303
GM
7814 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7815 (ps-underlined-faces): Declare.
7816
bdd779ec
GM
7817 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7818 (speedbar-add-supported-extension): Declare.
7819
011c4552
GM
7820 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7821 Don't include a date stamp in the header of the generated file;
7822 it leads to needless differences between output files.
7823
e59dfb0e
MA
78242013-06-19 Michael Albinus <michael.albinus@gmx.de>
7825
c763842b
SM
7826 * net/secrets.el (secrets-struct-secret-content-type):
7827 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7828 Some servers do not offer introspection.
e59dfb0e 7829
102626e2
SM
78302013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7831
7832 * electric.el (electric-pair-mode): Improve interaction with
7833 electric-layout-mode.
7834 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7835 (electric-pair-syntax): Use text-mode-syntax-table in comments
7836 and strings.
7837 (electric-pair--insert): New function.
7838 (electric-pair-post-self-insert-function): Use it and
7839 electric--after-char-pos.
7840
ad528125
LL
78412013-06-19 Leo Liu <sdl.web@gmail.com>
7842
7843 * progmodes/octave.el (octave-help): Fix regexp.
7844
924d6997
G
78452013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7846
7847 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7848 (shr-table-horizontal-line): Allow nil as a value, and change the
7849 default.
7850 (shr-insert-table-ruler): Respect the nil value.
7851
78522013-06-18 Tom Tromey <tromey@barimba>
7853
7854 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7855 New defvars.
7856 (eww-open-file): New defun.
7857 (eww-render): Initialize new variables.
7858 (eww-display-html): Handle "link" and "a".
7859 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7860 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7861 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7862 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7863 New defuns.
924d6997 7864
d1bbba4f
DG
78652013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7866
7867 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7868 Distinguish ternary operator tokens from slash symbol and slash
7869 char literal.
7870
14dd22d2
JB
78712013-06-18 Juanma Barranquero <lekktu@gmail.com>
7872
7873 Convert symbol prettification into minor mode and global minor mode.
7874
7875 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7876 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7877 (prettify-symbols--keywords): Rename from
7878 `prog-prettify-symbols-alist' and make a local defvar.
7879 (prettify-symbols--compose-symbol): Rename from
7880 `prog--prettify-font-lock-compose-symbol'.
7881 (prettify-symbols--make-keywords): Rename from
7882 `prog-prettify-font-lock-symbols-keywords' and simplify.
7883 (prog-prettify-install): Remove.
7884 (prettify-symbols-mode): New minor mode, based on
7885 `prog-prettify-install'.
7886 (turn-on-prettify-symbols-mode): New function.
7887 (global-prettify-symbols-mode): New globalized minor mode.
7888
7889 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7890 * progmodes/cfengine.el (cfengine3-mode):
7891 * progmodes/perl-mode.el (perl-mode): Don't call
7892 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7893
292c880c
JL
78942013-06-18 Juri Linkov <juri@jurta.org>
7895
7896 * files-x.el (modify-file-local-variable-message): New function.
7897 (modify-file-local-variable)
7898 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7899 and call `modify-file-local-variable-message' when it's non-nil.
7900 (add-file-local-variable, delete-file-local-variable)
7901 (add-file-local-variable-prop-line)
7902 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7903 and use it. (Bug#9820)
7904
0950aa27
JL
79052013-06-18 Juri Linkov <juri@jurta.org>
7906
7907 * emulation/vi.el (vi-shell-op):
7908 * emulation/vip.el (vip-execute-com, ex-command):
7909 * emulation/viper-cmd.el (viper-exec-bang):
7910 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7911 the call of `shell-command-on-region'. (Bug#14637)
7912
7913 * simple.el (shell-command-on-region): Doc fix.
7914
8fbcca16
SM
79152013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7916
7917 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7918 (bug#14633).
7919
dd7426ea
GM
79202013-06-18 Glenn Morris <rgm@gnu.org>
7921
4ba54f7d
GM
7922 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7923
dd7426ea
GM
7924 * newcomment.el (comment-search-forward, comment-search-backward):
7925 Doc fix. (Bug#14376)
7926
58aa805b
JB
79272013-06-18 Juanma Barranquero <lekktu@gmail.com>
7928
7929 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7930 (buffer-face-mode-invoke): Doc fix.
7931
9a08a617
MM
79322013-06-18 Matthias Meulien <orontee@gmail.com>
7933
7934 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7935 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7936
f2f426ca
GM
79372013-06-18 Glenn Morris <rgm@gnu.org>
7938
9445f99b
GM
7939 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7940 Replace obsolete function generic-make-keywords with its expansion.
7941
e0df2d14
GM
7942 * progmodes/python.el (ffap-alist): Declare.
7943
f2f426ca
GM
7944 * textmodes/reftex.el (bibtex-mode-map): Declare.
7945
f7f9a720
SM
79462013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7947
7948 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7949 (package-unpack, package-unpack-single): Return the pkg-dir.
7950 (package-download-transaction): Use it to update package-alist.
7951
57ff04e0
LMI
79522013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7953
7954 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7955 possible choice.
7956
c048c022
JL
79572013-06-17 Juri Linkov <juri@jurta.org>
7958
7959 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7960
b5bcaee5
DG
79612013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7962
a020afb9
JB
7963 * emacs-lisp/package.el (package-load-descriptor):
7964 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7965 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7966
551e07e5
JB
79672013-06-17 Juanma Barranquero <lekktu@gmail.com>
7968
7969 * startup.el (command-line): Expand package name returned by
7970 `package--description-file' (bug#14639).
7971
d363bffb
DG
79722013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7973
7974 * emacs-lisp/package.el (package-load-descriptor): Do not call
7975 `emacs-lisp-mode', just use its syntax table.
7976
f612933b
JB
79772013-06-17 Juanma Barranquero <lekktu@gmail.com>
7978
7979 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7980 `font-lock-extra-managed-props' if any prettifying keyword is added.
7981 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7982 (prog-mode): Use `setq-local'.
7983
db3b7db5
SM
79842013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7985
7986 * international/characters.el (standard-case-table): Set syntax of ?»
7987 and ?« to punctuation.
7988
f3d674df
JB
79892013-06-16 Juanma Barranquero <lekktu@gmail.com>
7990
7991 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7992 Save relevant match data before calling `syntax-ppss' (bug#14595).
7993
31489a32
JL
79942013-06-15 Juri Linkov <juri@jurta.org>
7995
7996 * files-x.el (modify-file-local-variable-prop-line): Add local
7997 variables to the end of the existing comment on the first line.
7998 Use `file-auto-mode-skip' to skip interpreter magic line,
7999 and also skip XML declaration.
8000
66bd25ab
SM
80012013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * startup.el (package--builtin-versions): New var.
8004 (package-subdirectory-regexp): Remove.
8005 (package--description-file): Hard code its value instead.
8006
8007 * emacs-lisp/package.el: Don't activate packages older than builtin.
8008 (package-obsolete-list): Rename from package-obsolete-alist, and make
8009 it into a simple list of package-desc.
8010 (package-strip-version): Remove.
8011 (package-built-in-p): Use package--builtin-versions.
8012 (package-mark-obsolete): Simplify.
8013 (package-process-define-package): Mark it obsolete if older than the
8014 builtin version.
8015 (package-handle-response): Use line-end-position.
8016 (package-read-archive-contents, package--download-one-archive):
8017 Simplify.
8018 (package--add-to-archive-contents): Skip if older than the builtin or
8019 installed version.
8020 (package-menu-describe-package): Fix last change.
8021 (package-list-unversioned): New var.
8022 (package-menu--generate): Use it.
8023
8024 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8025 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8026 (autoload-builtin-package-versions): New variable.
8027 (autoload-generate-file-autoloads): Use them.
8028 Remove the list of autoloaded functions/macros from the
8029 (autoload...) comments.
8030
8031 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8032
9583ec36
EZ
80332013-06-15 Eli Zaretskii <eliz@gnu.org>
8034
8035 * simple.el (line-move-partial): Don't jump to the next screen
8036 line as soon as it becomes visible. Instead, continue enlarging
8037 the vscroll until the portion of a tall screen line that's left on
8038 display is about the height of the frame's default font.
8039 (Bug#14567)
8040
f0100d8a
GM
80412013-06-15 Glenn Morris <rgm@gnu.org>
8042
b86a85ca
GM
8043 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8044 compilation-error-regexp-alist void, or local while let-bound.
8045
f0100d8a
GM
8046 * progmodes/make-mode.el (makefile-mode-syntax-table):
8047 Treat "=" as punctuation. (Bug#14614)
8048
05e7ce90
JB
80492013-06-15 Juanma Barranquero <lekktu@gmail.com>
8050
8051 * help-fns.el (describe-variable):
8052 Add extra line for permanent-local variables.
8053
12e5e86e
SH
80542013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8055
8056 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8057 Add export, import, library. (Bug#9164)
8058 (library): Set indent function.
8059
230dcbaf
GM
80602013-06-14 Glenn Morris <rgm@gnu.org>
8061
8062 * term/xterm.el (xterm--query):
8063 Stop after first matching handler. (Bug#14615)
8064
e36b2d20 80652013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8066
8067 Add support for dired in saveplace.
8068 * dired.el (dired-initial-position-hook): New variable.
8069 (dired-initial-position): Call hook to place cursor position.
8070 * saveplace.el (save-place-to-alist): Add dired position.
8071 (save-place-dired-hook): New function.
8072
0b31660d
SM
80732013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8074
bf1e6ae8
SM
8075 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8076 through a symbol rather than letrec.
8077
1b8dff23
SM
8078 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8079 (package-desc): Add `dir' field.
8080 (package-desc-full-name): New function.
8081 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8082 (package-maybe-load-descriptor): Remove.
8083 (package-load-all-descriptors): Just call package-load-descriptor.
8084 (package--disabled-p): New function.
8085 (package-desc-vers, package-desc-doc): Remove aliases.
8086 (package--dir): Remove function.
8087 (package-activate): Check if a package is disabled.
8088 (package-process-define-package): New function, extracted from
8089 define-package.
8090 (define-package): Turn into a place holder.
8091 (package-unpack-single, package-tar-file-info):
8092 Use package--description-file.
8093 (package-compute-transaction): Use package--disabled-p.
8094 (package-download-transaction): Don't call
8095 package-maybe-load-descriptor since they're all loaded anyway.
8096 (package-install): Change argument to be a pkg-desc.
8097 (package-delete): Use a single pkg-desc argument.
8098 (describe-package-1): Use package-desc-dir instead of package--dir.
8099 Use package-desc property instead of package-symbol.
8100 (package-install-button-action): Adjust accordingly.
8101 (package--push): Rewrite.
8102 (package-menu--print-info): Adjust accordingly. Change the ID format
8103 to be a pkg-desc.
8104 (package-menu-describe-package, package-menu-get-status)
8105 (package-menu--find-upgrades, package-menu-mark-upgrades)
8106 (package-menu-execute, package-menu--name-predicate):
8107 Adjust accordingly.
8108 * startup.el (package--description-file): New function.
8109 (command-line): Use it.
8110 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8111 Use package-desc-version.
8112
0b31660d
SM
8113 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8114 (byte-compile-preprocess): Use it.
8115 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8116 can't quite recognize.
8117 (byte-compile-add-to-list): Remove.
8118 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8119 (cconv-closure-convert): Add assertion.
8120
8121 * emacs-lisp/map-ynp.el: Use lexical-binding.
8122 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8123 Factor out some repeated code.
8124
de0503df
SM
81252013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8126
8127 * subr.el (with-eval-after-load): New macro.
8128 (eval-after-load): Allow form to be a function.
8129 take advantage of lexical-binding.
8130 (do-after-load-evaluation): Use dolist and adjust to new format.
8131 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8132
bc5c8c5a
JL
81332013-06-13 Juri Linkov <juri@jurta.org>
8134
8135 * replace.el (perform-replace): Display "symbol " and other search
8136 modes from `isearch-message-prefix' in the *Help* buffer.
8137
8138 * isearch.el (isearch-query-replace): Add " symbol" and other
8139 possible search modes from `isearch-message-prefix' to the prompt.
8140 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8141 when reading a regexp to collect.
8142
a22289f7
JL
81432013-06-13 Juri Linkov <juri@jurta.org>
8144
8145 * isearch.el (word-search-regexp): Match whitespace if the search
8146 string begins or ends in whitespace. The LAX arg is applied to
8147 both ends of the search string. Use `regexp-quote' and explicit
8148 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8149 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8150 boundaries are replaced with symbol boundaries, and characters
8151 between symbols match non-word non-symbol syntax. (Bug#14602)
8152
cb89acab
JL
81532013-06-13 Juri Linkov <juri@jurta.org>
8154
8155 * isearch.el (isearch-del-char): Don't exceed the length of
8156 `isearch-string' by the prefix arg. (Bug#14563)
8157
6e8cfc81
JL
81582013-06-13 Juri Linkov <juri@jurta.org>
8159
8160 * isearch.el (isearch-yank-word, isearch-yank-line)
8161 (isearch-char-by-name, isearch-quote-char)
8162 (isearch-printing-char, isearch-process-search-char):
8163 Add optional count prefix arg. (Bug#14563)
8164
8165 * international/isearch-x.el
8166 (isearch-process-search-multibyte-characters):
8167 Add optional count prefix arg.
8168
c23d55f4
VS
81692013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8170
8171 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8172 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8173 lexical-binding.
8174
81752013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8176
8177 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8178
ba947bc4
GM
81792013-06-13 Glenn Morris <rgm@gnu.org>
8180
8baeb37a
GM
8181 * startup.el (tty-handle-args):
8182 Don't just discard "--" and anything after. (Bug#14608)
8183
ba947bc4
GM
8184 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8185
9abefce4
MA
81862013-06-13 Michael Albinus <michael.albinus@gmx.de>
8187
8188 Implement changes in Secret Service API. Make it backward compatible.
8189 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8190 (secrets-create-item): Use it. Prefix properties with interface.
8191
5755011f
MH
81922013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8193
8194 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8195 (term-emulate-terminal): Respect term-suppress-hard-newline.
8196
1261d2da
S
81972013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8198
8199 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8200 Only remove a `thumb-file' overlay. (Bug#14548)
8201
868490bb
GJ
82022013-06-12 Grégoire Jadi <daimrod@gmail.com>
8203
8204 * mail/reporter.el (reporter-submit-bug-report):
8205 Handle missing package-name. (Bug#14600)
8206
79d7167f
TH
82072013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8208
8209 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8210 (reftex-citation-prompt, reftex-default-bibliography)
8211 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8212 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8213 (reftex-bib-sort-author, reftex-bib-sort-year)
8214 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8215 (reftex-extract-bib-entries-from-thebibliography)
8216 (reftex-get-bibkey-default, reftex-get-bib-names)
8217 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8218 (reftex-format-bib-entry, reftex-parse-bibitem)
8219 (reftex-format-bibitem, reftex-do-citation)
8220 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8221 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8222 (reftex-insert-bib-matches, reftex-format-citation)
8223 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8224 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8225 existing comments into docstrings.
8226
5f9dbd7a
XF
82272013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8228
8229 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8230
94df41ab
AS
82312013-06-12 Andreas Schwab <schwab@suse.de>
8232
8233 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8234 for auto-save files.
8235
a7f3fecc
GM
82362013-06-12 Glenn Morris <rgm@gnu.org>
8237
001809f6
GM
8238 * ido.el (ido-delete-ignored-files): Remove.
8239 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8240 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8241
834b5ded
EL
82422013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8243
08c73ed2
EL
8244 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8245
834b5ded
EL
8246 * ido.el (ido-delete-ignored-files): New function,
8247 split from ido-make-file-list-1.
8248 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8249 (ido-make-file-list-1): Use ido-delete-ignored-files.
8250
daabf15a
LL
82512013-06-12 Leo Liu <sdl.web@gmail.com>
8252
8253 * progmodes/octave.el (inferior-octave-startup)
8254 (inferior-octave-completion-table)
8255 (inferior-octave-track-window-width-change)
8256 (octave-eldoc-function-signatures, octave-help)
8257 (octave-find-definition): Use single quoted strings.
8258 (inferior-octave-startup-args): Change default value.
8259 (inferior-octave-startup): Do not hard code "-i" and
8260 "--no-line-editing".
8261 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8262 (inferior-octave-directory-tracker): Use it.
8263 (octave-goto-function-definition): Robustify.
8264 (octave-help): Support highlighting operators in 'See also'.
8265 (octave-find-definition): Find subfunctions only in Octave mode.
8266
cf4e5178
SM
82672013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * help-fns.el (help-fns--compiler-macro): If the handler function is
8270 named, then put a link to it.
8271 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8272 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8273 (cl-typep): Use it.
8274 (cl-eval-when): Simplify debug spec.
8275 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8276 compiler-macro function instead of setting `compiler-macro-file'.
8277
99c81280 82782013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8279
8280 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8281 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8282
f56be016
SM
82832013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8284 Daniel Hackney <dan@haxney.org>
8285
8286 First part of Daniel Hackney's patch to package.el.
8287 * emacs-lisp/package.el: Use defstruct.
8288 (package-desc): New, main struct.
8289 (package--bi-desc, package--ac-desc): New structs, used to describe the
8290 format in external files.
8291 (package-desc-vers): Replace with package-desc-version accessor.
8292 (package-desc-doc): Replace with package-desc-summary accessor.
8293 (package-activate-1): Remove `package' arg since the pkg-vec now
8294 includes the name.
8295 (define-package): Use package-desc-from-define.
8296 (package-unpack-single): Change file-name arg to be a symbol.
8297 (package--add-to-archive-contents): Use package-desc-create and new
8298 accessor functions to package--ac-desc.
8299 (package-buffer-info, package-tar-file-info): Return a package-desc.
8300 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8301 arg to be a package-desc.
8302 (package-install-file): Adjust accordingly. Use \' to match EOS.
8303 (package--from-builtin): New function.
8304 (describe-package-1, package-menu--generate): Use it.
8305 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8306 (package-generate-autoloads): Idem and return the name of the file.
8307 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8308 Change pkg-info arg to be a package-desc.
8309 Use package-make-ac-desc.
8310 (package-upload-file): Use \' to match EOS.
8311 * finder.el (finder-compile-keywords): Use package-make-builtin.
8312
31119d63
SM
83132013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8314
931a2762
SM
8315 * vc/vc.el (vc-deduce-fileset): Change error message.
8316 (vc-read-backend): New function.
8317 (vc-next-action): Use it.
8318
5a3eb0c6
SM
8319 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8320
e3eb1bb7
SM
8321 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8322 (prolog-font-lock-keywords): Use regexp-opt instead.
8323 Don't manually highlight strings.
8324 (prolog-mode-variables): Simplify comment-start-skip.
8325 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8326
31119d63
SM
8327 * emacs-lisp/generic.el (generic--normalise-comments)
8328 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8329 (generic-mode-set-comments): Use them.
8330 (generic-bracket-support): Use setq-local.
8331 (generic-make-keywords-list): Declare obsolete.
8332
7de135d0
GM
83332013-06-11 Glenn Morris <rgm@gnu.org>
8334
8335 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8336 Prettify after setting font-lock-defaults. (Bug#14574)
8337
fa6bc6fd
JB
83382013-06-11 Juanma Barranquero <lekktu@gmail.com>
8339
8340 * replace.el (query-replace, occur-read-regexp-defaults-function)
8341 (replace-search):
8342 * subr.el (declare-function, number-sequence, local-set-key)
8343 (substitute-key-definition, locate-user-emacs-file)
8344 (with-silent-modifications, split-string, eval-after-load):
8345 Fix typos, remove unneeded backslashes and reflow some docstrings.
8346
cf1f9b9a
SM
83472013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8350 default for Elisp files.
8351
56602a4b
GM
83522013-06-11 Glenn Morris <rgm@gnu.org>
8353
8354 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8355 although define-derived-mode was doing this anyway. (Bug#14583)
8356
30ae0b2c
JB
83572013-06-10 Juanma Barranquero <lekktu@gmail.com>
8358
8359 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8360 Fix make-variable-buffer-local call to refer to the correct variable.
8361
fa472906
AG
83622013-06-10 Aidan Gauland <aidalgol@amuri.net>
8363
8364 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8365 (eshell-visual-subcommands, eshell-visual-options):
8366 Add summary line to docstrings. Add cross-references.
fa472906 8367
ff4871b9
GM
83682013-06-10 Glenn Morris <rgm@gnu.org>
8369
8370 * epa.el (epa-read-file-name): New function. (Bug#14510)
8371 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8372
04fcf1b0
AG
83732013-06-09 Aidan Gauland <aidalgol@amuri.net>
8374
8375 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8376 output redirection to be ignored with visual commands.
8377
88b00caa
AG
83782013-06-09 Aidan Gauland <aidalgol@amuri.net>
8379
8380 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8381 (eshell-term-initialize): Move long lambda to separate function
8382 eshell-visual-command-p.
e7b41c4c
JB
8383 * eshell/em-dirs.el (eshell-dirs-initialise):
8384 * eshell/em-script.el (eshell-script-initialize):
8385 Add missing #' to lambda.
88b00caa 8386
fda74125
LL
83872013-06-08 Leo Liu <sdl.web@gmail.com>
8388
8389 * progmodes/octave.el (octave-add-log-current-defun): New function.
8390 (octave-mode): Set add-log-current-defun-function.
8391 (octave-goto-function-definition): Do not move point if not found.
8392 (octave-find-definition): Enhance to try subfunctions first.
8393
467f3b33
GM
83942013-06-08 Glenn Morris <rgm@gnu.org>
8395
8396 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8397 (byte-compile-backward-char, byte-compile-backward-word):
8398 Improve previous change, to handle non-explicit nil.
8399
544badc3
SM
84002013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8401
8402 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8403 (smie--opener/closer-at-point): New function.
8404 (smie--matching-block-data): Use it. Don't match from right after an
8405 opener or right before a closer. Obey smie-blink-matching-inners.
8406 Don't signal a mismatch for repeated inners like "switch..case..case".
8407
a175bf33
LL
84082013-06-07 Leo Liu <sdl.web@gmail.com>
8409
8410 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8411 to t. (Bug#14303)
ce8209d4
LL
8412 (octave-function-header-regexp): Fix. (Bug#14570)
8413 (octave-help-mode-finish-hook, octave-help-mode-finish):
8414 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8415
8416 * newcomment.el (comment-search-backward): Revert last change.
8417 (Bug#14434)
8418
8419 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8420
a822acff
EZ
84212013-06-07 Eli Zaretskii <eliz@gnu.org>
8422
8423 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8424 through xargs, to avoid failure due to MS-Windows limitations on
8425 command-line length.
8426
961166f5
GM
84272013-06-06 Glenn Morris <rgm@gnu.org>
8428
d0341459
GM
8429 * font-lock.el (lisp-font-lock-keywords-2):
8430 Treat user-error like error.
8431
961166f5
GM
8432 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8433 (byte-compile-backward-char, byte-compile-backward-word):
8434 Handle explicit nil arguments. (Bug#14565)
8435
80fa505f
AM
84362013-06-05 Alan Mackenzie <acm@muc.de>
8437
8438 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8439 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8440 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8441 (Bug#9706)
80fa505f 8442
fccdc796
SM
84432013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8444
8445 * autorevert.el (auto-revert-notify-handler): Use memq.
8446 Hide assertion failure.
8447
8448 * skeleton.el: Use cl-lib.
8449 (skeleton-further-elements): Use defvar-local.
8450 (skeleton-insert): Use cl-progv.
8451
9bfff84b
TZ
84522013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8453
8454 * progmodes/prog-mode.el (prog-prettify-symbols)
8455 (prog-prettify-install): Update docstrings.
8456
55577e7c
SM
84572013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * simple.el: Move all the prog-mode code to prog-mode.el.
8460 * progmodes/prog-mode.el: New file.
8461 * loadup.el: Add prog-mode.el.
8462
8fc57765
TZ
84632013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8464
8465 * simple.el (prog-prettify-symbols): Add version.
8466 (prog-prettify-install): Add convenience function to prettify symbols.
8467
8468 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8469 (perl--augmented-font-lock-keywords-1)
8470 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8471 variables and use it.
8472
8473 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8474 (cfengine3-mode): Remove unneeded variable and use it.
8475
8476 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8477 (lisp--augmented-font-lock-keywords-1)
8478 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8479 Remove unneeded variables and use it.
8480
650645d5 84812013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8482
8483 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8484 to point when opening the connection. (Bug#14380)
28f5da6d 8485
781b4af6
SM
84862013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * subr.el (load-history-regexp, load-history-filename-element)
8489 (eval-after-load, after-load-functions, do-after-load-evaluation)
8490 (eval-next-after-load, display-delayed-warnings)
8491 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8492 definition of save-match-data.
8493 (overriding-local-map): Remove accidental obsolescence declaration.
8494
8495 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8496
3ca0d0b4
TZ
84972013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8498
8499 Generalize symbol prettify support to prog-mode and implement it
8500 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8501 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8502 (prog--prettify-font-lock-compose-symbol)
8503 (prog-prettify-font-lock-symbols-keywords): New variables and
8504 functions to support symbol prettification.
8505 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8506 (lisp--augmented-font-lock-keywords-1)
8507 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8508 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8509 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8510 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8511 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8512 * progmodes/perl-mode.el (perl-prettify-symbols)
8513 (perl--font-lock-compose-symbol)
8514 (perl--font-lock-symbols-keywords): Move to prog-mode.
8515 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8516 (perl-font-lock-keywords-1)
8517 (perl-font-lock-keywords-2): Remove explicit prettify support.
8518 (perl--augmented-font-lock-keywords)
8519 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8520 (perl--augmented-font-lock-keywords-2, perl-mode):
8521 Implement prettify support.
3ca0d0b4 8522
976cb066
LL
85232013-06-05 Leo Liu <sdl.web@gmail.com>
8524
8525 Re-implement smie matching block highlight using
8526 show-paren-data-function. (Bug#14395)
8527 * emacs-lisp/smie.el (smie-matching-block-highlight)
8528 (smie--highlight-matching-block-overlay)
8529 (smie--highlight-matching-block-lastpos)
8530 (smie-highlight-matching-block)
8531 (smie-highlight-matching-block-mode): Remove.
8532 (smie--matching-block-data-cache): New variable.
8533 (smie--matching-block-data): New function.
8534 (smie-setup): Use smie--matching-block-data for
8535 show-paren-data-function.
8536
8537 * progmodes/octave.el (octave-mode-menu): Fix.
8538 (octave-find-definition): Skip garbage lines.
8539
208d0342
SM
85402013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8541
8542 Fix compilation error with simultaneous dynamic+lexical scoping.
8543 Add warning when a defvar appears after the first let-binding.
8544 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8545 (byte-compile-close-variables): Initialize it.
8546 (byte-compile--declare-var): New function.
8547 (byte-compile-file-form-defvar)
8548 (byte-compile-file-form-define-abbrev-table)
8549 (byte-compile-file-form-custom-declare-variable): Use it.
8550 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8551 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8552 (byte-compile-bind): Handle dynamic bindings that shadow
8553 lexical bindings.
8554 (byte-compile-unbind): Make arg non-optional.
8555 (byte-compile-let): Simplify.
8556 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8557 (cconv--analyse-function, cconv-analyse-form): Populate it.
8558 Protect byte-compile-bound-variables to limit the scope of defvars.
8559 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8560 Remove unneeded rule for `declare'.
8561
8562 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8563 so as to avoid depending on cl-adjoin at run-time.
8564 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8565
8566 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8567 (macroexp--warn-and-return): Use it.
8568
1ac2891e
GM
85692013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8570
8571 * lisp/subr.el: Convert to lexical binding.
8572 (overriding-local-map): Make obsolete.
8573 (add-to-list): Doc fix. Add compiler macro.
8574 (read-key): Swap values of local maps.
8575
2587b005
LL
85762013-06-05 Leo Liu <sdl.web@gmail.com>
8577
8578 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8579
f1da3c88
LL
85802013-06-04 Leo Liu <sdl.web@gmail.com>
8581
8582 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8583 (compilation-auto-jump): Suppress the "Mark set" message to give
8584 way to exit message.
8585
3caa391f
AM
85862013-06-04 Alan Mackenzie <acm@muc.de>
8587
8588 Remove faulty optimisation from indentation calculation.
8589 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8590 search limit based on 2000 characters back from indent-point.
8591
068922a2
TH
85922013-06-03 Tassilo Horn <tsdh@gnu.org>
8593
8594 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8595
1f8fdd53
SM
85962013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8597
bbcc4d97
SM
8598 * emacs-lisp/lisp.el: Use lexical-binding.
8599 (lisp--local-variables-1, lisp--local-variables): New functions.
8600 (lisp--local-variables-completion-table): New var.
208d0342 8601 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8602
1f8fdd53
SM
8603 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8604 eagerly (bug#14422).
8605
c9628c79
MA
86062013-06-03 Michael Albinus <michael.albinus@gmx.de>
8607
8608 * autorevert.el (auto-revert-notify-enabled)
8609 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8610 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8611 (auto-revert-notify-handler): Handle also gfilenotify.
8612
e7b41c4c 8613 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8614 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8615 Remove.
c9628c79 8616
e5e4a942
JL
86172013-06-03 Juri Linkov <juri@jurta.org>
8618
8619 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8620 `M-s h .'. (Bug#14427)
8621
8622 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8623 command `hi-lock-face-symbol-at-point'.
8624 (hi-lock-face-symbol-at-point): New command.
8625 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8626 (hi-lock-menu): Add `highlight-symbol-at-point'.
8627 (hi-lock-mode): Doc fix.
8628
8629 * isearch.el (isearch-forward-symbol-at-point): New command.
8630 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8631 (isearch-highlight-regexp): Add a regexp which matches
8632 words/symbols for word/symbol mode.
8633
8634 * subr.el (find-tag-default-bounds): New function with the body
8635 mostly moved from `find-tag-default'.
8636 (find-tag-default): Move most code to `find-tag-default-bounds',
8637 call it and apply `buffer-substring-no-properties' afterwards.
8638
26b3353a
TH
86392013-06-03 Tassilo Horn <tsdh@gnu.org>
8640
781b4af6
SM
8641 * eshell/em-term.el (eshell-term-initialize):
8642 Use `cl-intersection' rather than `intersection'.
26b3353a 8643
51b60f53
XF
86442013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8645
fe054b63 8646 * vc/log-view.el: Doc fix.
d3ffe17c 8647 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8648
a0eb10b3 86492013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8650
8651 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8652 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8653 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8654 (eieio-unbound, eieio-default-superclass)
8655 (eieio--define-field-accessors, method-static, method-before)
8656 (method-primary, method-after, method-num-lists)
8657 (method-generic-before, method-generic-primary)
8658 (method-generic-after, method-num-slots)
8659 (eieio-specialized-key-to-generic-key)
8660 (eieio--check-type, class-v, class-p)
8661 (eieio-class-name, define-obsolete-function-alias)
8662 (eieio-class-parents-fast, eieio-class-children-fast)
8663 (same-class-fast-p, class-constructor, generic-p)
8664 (generic-primary-only-p, generic-primary-only-one-p)
8665 (class-option-assoc, class-option, eieio-object-p)
8666 (class-abstract-p, class-method-invocation-order)
8667 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8668 (eieio-class-un-autoload, eieio-defclass)
8669 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8670 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8671 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8672 (eieio-defgeneric-reset-generic-form)
8673 (eieio-defgeneric-form-primary-only)
8674 (eieio-defgeneric-reset-generic-form-primary-only)
8675 (eieio-defgeneric-form-primary-only-one)
8676 (eieio-defgeneric-reset-generic-form-primary-only-one)
8677 (eieio-unbind-method-implementations)
8678 (eieio--defmethod, eieio--typep)
8679 (eieio-perform-slot-validation, eieio-validate-slot-value)
8680 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8681 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8682 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8683 (eieio-slot-name-index, eieio-class-slot-name-index)
8684 (eieio-set-defaults, eieio-initarg-to-attribute)
8685 (eieio-attribute-to-initarg, eieio-c3-candidate)
8686 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8687 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8688 (eieio-class-precedence-list, eieio-generic-call-methodname)
8689 (eieio-generic-call-arglst, eieio-generic-call-key)
8690 (eieio-generic-call-next-method-list)
8691 (eieio-pre-method-execution-functions, eieio-generic-call)
8692 (eieio-generic-call-primary-only, eieiomt-method-list)
8693 (eieiomt-optimizing-obarray, eieiomt-install)
8694 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8695 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8696 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8697 (defclass): Remove `eval-and-compile' from macro.
8698 (call-next-method, shared-initialize): Instead of using
8699 `scoped-class' variable, use new eieio--scoped-class, and
8700 eieio--with-scoped-class.
8701 (initialize-instance): Rename local variable 'scoped-class' to
8702 'this-class' to remove ambiguitity from old global.
8703
8704 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8705 eieio.el.
4f405069
JB
8706 (eieio--scoped-class-stack): New variable.
8707 (eieio--scoped-class): New fcn.
890f7890
DE
8708 (eieio--with-scoped-class): New scoping macro.
8709 (eieio-defclass): Use pushnew instead of add-to-list.
8710 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8711 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8712 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8713 `scoped-class' variable, use new eieio--scoped-class, and
8714 eieio--with-scoped-class.
8715
8716 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8717
d105b0e2
TH
87182013-06-02 Tassilo Horn <tsdh@gnu.org>
8719
8720 * eshell/esh-ext.el (eshell-external-command): Pass args to
8721 `eshell-find-interpreter'.
8722 (eshell-find-interpreter): Add new second parameter ARGS.
8723
8724 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8725 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8726
8727 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8728 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8729
8730 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8731 (eshell-visual-options): New defcustom.
8732 (eshell-escape-control-x): Adapt docstring.
8733 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8734 `eshell-visual-options' in addition to `eshell-visual-commands'.
8735 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8736
f46305c8 87372013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8738
8739 * progmodes/python.el (python-indent-block-enders): Add break,
8740 continue and raise keywords.
8741
d870df21
GM
87422013-06-01 Glenn Morris <rgm@gnu.org>
8743
9133b82e
GM
8744 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8745
02c992ec 8746 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8747 * progmodes/cc-cmds.el (delete-forward-p):
8748 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8749 * progmodes/cc-engine.el (buffer-syntactic-context):
8750 * progmodes/cc-fonts.el (face-property-instance):
8751 * progmodes/cc-mode.el (set-keymap-parents):
8752 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8753 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8754 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8755 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8756 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8757
31e7b090
GM
8758 * progmodes/cc-vars.el (other): Emacs has this widget since
8759 at least 21.1, so don't (re)define it.
8760
d870df21
GM
8761 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8762 Replace the obsolete alias pcomplete-arg-quote-list.
8763
c75c93c7
LL
87642013-06-01 Leo Liu <sdl.web@gmail.com>
8765
8766 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8767 punctuation syntax.
8768 (inferior-octave-minimal-columns)
8769 (inferior-octave-last-column-width): New variables.
8770 (inferior-octave-track-window-width-change): New function.
8771 (inferior-octave-mode): Adjust column width so that Octave output,
8772 for example from 'ls', can fit into the window nicely.
8773
973d1e12
DG
87742013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8775
8776 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8777 Highlight expansions inside regexp literals.
8778
0888c286
GM
87792013-05-31 Glenn Morris <rgm@gnu.org>
8780
e26aac1f
GM
8781 * obsolete/sym-comp.el (symbol-complete):
8782 Replace obsolete completion-annotate-function.
8783
0888c286
GM
8784 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8785
19bb8e62
DG
87862013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8787
781b4af6
SM
8788 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8789 New function, checks if point is inside a literal that allows
19bb8e62
DG
8790 expression expansion.
8791 (ruby-syntax-propertize-expansion): Use it.
8792 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8793 around the body.
8794
01dea85f
JL
87952013-05-30 Juri Linkov <juri@jurta.org>
8796
8797 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8798 to "\M-si".
8799 (isearch-invisible): New variable.
8800 (isearch-forward): Doc fix.
8801 (isearch-mode): Set `isearch-invisible'
8802 to the value of `search-invisible'.
8803 (isearch-toggle-case-fold): Doc fix.
8804 (isearch-toggle-invisible): New command.
8805 (isearch-query-replace): Let-bind `search-invisible'
8806 to the value of `isearch-invisible'.
8807 (isearch-search): Use `isearch-invisible' instead of
8808 `search-invisible'. Let-bind `search-invisible'
8809 to the value of `isearch-invisible'. (Bug#11378)
8810
ab1bdce5
JL
88112013-05-30 Juri Linkov <juri@jurta.org>
8812
8813 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8814 call when `query-flag' is nil and `search-invisible' is non-nil.
8815 (Bug#11746)
8816
d6d236e2
GM
88172013-05-30 Glenn Morris <rgm@gnu.org>
8818
8accd027
GM
8819 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8820
2a8bed1c
GM
8821 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8822 (cc-require): Suppress spurious "noruntime" warnings.
8823 (cc-require-when-compile): Use fboundp, for sake of compiler.
8824
d6d236e2
GM
8825 * progmodes/cc-mode.el: Move load of cc-vars before that of
8826 cc-langs (which in turn loads cc-vars), to quieten compiler.
8827
9190b35b
SM
88282013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * paren.el: Simplify the code.
8831 (show-paren-mode): Always start the timer.
8832 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8833 (show-paren--overlay, show-paren--overlay-1): Rename from
8834 show-paren-overlay and show-paren-overlay-1, and initialize to an
8835 overlay rather than to nil.
8836 (show-paren-function): Misc cleanup and simplifications.
8837
4f8d1cf6
SM
88382013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * paren.el (show-paren-data-function): New hook.
8841 (show-paren--default): New function, extracted from show-paren-function.
8842 (show-paren-function): Use show-paren-data-function.
8843
02d844b5
GM
88442013-05-30 Glenn Morris <rgm@gnu.org>
8845
d209d4a9
GM
8846 * ielm.el (ielm-map, ielm-complete-symbol):
8847 Use completion-at-point rather than obsolete functions.
8848 (inferior-emacs-lisp-mode): Doc fix.
8849 Set completion-at-point-functions, rather than
8850 comint-dynamic-complete-functions.
8851
2082faa6
GM
8852 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8853 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8854 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8855
dd8620de
GM
8856 * image.el (image-animated-p): Tweak definition.
8857
ceca95b1
GM
8858 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8859 (rlogin-process-connection-type): Tweak default. Add set-after.
8860 (rlogin-host): Doc fix.
8861 (rlogin): Tweak prompt.
8862 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8863
ee9f1acc
GM
8864 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8865 * progmodes/tcl.el (inferior-tcl-mode-map):
8866 Use completion-at-point rather than obsolete alias.
8867
45ce222e
GM
8868 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8869
02d844b5
GM
8870 * minibuffer.el (read-file-name-completion-ignore-case):
8871 Move before completion--in-region, for eager macro expansion.
8872
ac44d6c1
JL
88732013-05-29 Juri Linkov <juri@jurta.org>
8874
8875 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8876 for total count of matching lines. Add `global-matches' for total
8877 count of matches. Rename `matches' to `lines' for count of
8878 matching lines. Add `matches' for count of matches.
8879 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8880 to `prev-line' for line number of prev match endpt.
8881 Increment `matches' for every match. Print the number of
8882 matching lines in the header.
8883 (occur-context-lines): Rename `lines' to `curr-line'.
8884 Rename `prev-lines' to `prev-line'. (Bug#14017)
8885
3c9c9d38
JL
88862013-05-29 Juri Linkov <juri@jurta.org>
8887
8888 * replace.el (perform-replace): Add `skip-read-only-count',
8889 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8890 Increment them for corresponding conditions and report the number
8891 of skipped occurrences in the final message. (Bug#11746)
8892 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8893 (replace-string, replace-regexp): Doc fix.
8894
33e249a2
SM
88952013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8e399682
SM
8897 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8898
33e249a2 8899 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8900 prog-mode-map (bug#14504).
33e249a2 8901
f236dd84
LL
89022013-05-29 Leo Liu <sdl.web@gmail.com>
8903
8904 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8905 (octave-help): Small simplification.
8906
8907 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8908 off the highlight first.
8909
3694d13f
GM
89102013-05-29 Glenn Morris <rgm@gnu.org>
8911
03983bdc
GM
8912 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8913 Handle idlwave-last-system-routine-info-cons-cell being nil.
8914
bc74a74a
GM
8915 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8916 (idlwave-write-paths): Simplify via with-temp-buffer.
8917
8b394200
GM
8918 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8919 * emulation/cua-rect.el: Also load cua-base at run time.
8920
3694d13f
GM
8921 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8922 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8923 (cperl-imenu-on-info): Require imenu.
8924
336d7284
AM
89252013-05-28 Alan Mackenzie <acm@muc.de>
8926
8927 Handle "capitalised keywords" correctly.
33e249a2 8928 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8929
cb29c582
AG
89302013-05-28 Aidan Gauland <aidalgol@amuri.net>
8931
781b4af6 8932 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8933
690e44b2
GM
89342013-05-28 Glenn Morris <rgm@gnu.org>
8935
e658d75c
GM
8936 * vc/vc-arch.el (vc-exec-after): Declare.
8937 (vc-switches): Autoload.
8938 * vc/vc-bzr.el: No need to require vc when compiling.
8939 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8940 (vc-resynch-buffer, vc-dir-refresh): Declare.
8941 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8942 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8943 (vc-resynch-buffer): Declare.
8944 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8945 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8946 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8947 (grep-read-regexp, grep-read-files, grep-expand-template)
8948 (vc-dir-refresh): Declare.
8949 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8950 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8951 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8952 * vc/vc-mtn.el (vc-exec-after): Declare.
8953 (vc-switches): Autoload.
8954 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8955 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8956 (vc-file-tree-walk): Declare.
712b9732
GM
8957 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8958 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8959 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8960 * vc/vc-svn.el (vc-exec-after): Declare.
8961 (vc-switches, vc-setup-buffer): Autoload.
8962 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8963 Autoload.
8964 (vc-resynch-buffer): Declare.
8965
98e87fb3
GM
8966 * obsolete/fast-lock.el (byte-compile-warnings):
8967 Don't warn about obsolete features in this obsolete file.
8968
f5379553
GM
8969 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8970 Move definition before use.
8971
7a20ef83
GM
8972 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8973 (dun-unix-verbs): Remove dun-zippy.
8974 (dun-zippy): Remove function.
8975
690e44b2
GM
8976 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8977
3a52ccf7
JL
89782013-05-27 Juri Linkov <juri@jurta.org>
8979
8980 * replace.el (replace-search): New function with code moved out
8981 from `perform-replace'.
8982 (replace-highlight, replace-dehighlight): Move function definitions
8983 up closer to `replace-search'. (Bug#11746)
8984
d289938a
JL
89852013-05-27 Juri Linkov <juri@jurta.org>
8986
8987 * replace.el (perform-replace): Ignore invisible matches.
8988 In addition to checking `query-replace-skip-read-only', also
8989 filter out matches by calling `run-hook-with-args-until-failure'
8990 on `isearch-filter-predicates', and also check `search-invisible'
8991 for t or call `isearch-range-invisible'.
8992 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8993
66fc57e3
JL
89942013-05-27 Juri Linkov <juri@jurta.org>
8995
8996 * isearch.el (isearch-filter-predicates): Rename from
8997 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8998 (isearch-message-prefix): Display text from the property
8999 `isearch-message-prefix' of the currently active filters.
9000 (isearch-search): Don't compare `isearch-filter-predicate' with
9001 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9002 on `isearch-filter-predicates'. Also check `search-invisible' for t
9003 or call `isearch-range-invisible'.
9004 (isearch-filter-visible): Make obsolete.
9005 (isearch-lazy-highlight-search):
9006 Call `run-hook-with-args-until-failure' on
9007 `isearch-filter-predicates' and use `isearch-range-invisible'.
9008
9009 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9010 `isearch-filter-predicates' instead of `funcall'ing
9011 `isearch-filter-predicate'.
9012 (Info-mode): Set `Info-isearch-filter' to
9013 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9014
9015 * dired-aux.el (dired-isearch-filter-predicate-orig):
9016 Remove variable.
9017 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9018 (dired-isearch-filenames-end): Add and remove
9019 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9020 instead of changing the value of `isearch-filter-predicate'.
9021 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9022 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9023 Put property `isearch-message-prefix' to "filename " on
9024 `dired-isearch-filter-filenames'.
9025
9026 * wdired.el (wdired-change-to-wdired-mode):
9027 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9028 locally instead of changing `isearch-filter-predicate'.
9029 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9030
f1a60a0f
DG
90312013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9032
9033 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9034 return the commit hash (Bug#14459). Also set the
9035 `vc-git-detached' property.
9036 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9037 (vc-git-mode-line-string): Use the same help-echo format whether
9038 in detached mode or not, because we know the actual revision now.
9039 When in detached mode, shorten the revision to 7 chars.
9040
7f17cc40
SM
90412013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * emacs-lisp/easy-mmode.el (define-minor-mode):
9044 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9045 mode hook and provide a docstring.
9046
25c8401c
AM
90472013-05-27 Alan Mackenzie <acm@muc.de>
9048
9049 Remove spurious syntax-table text properties inserted by C-y.
9050 * progmodes/cc-mode.el (c-after-change): Also clear hard
9051 syntax-table property with value nil.
9052
dde84790
MA
90532013-05-27 Michael Albinus <michael.albinus@gmx.de>
9054
9055 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9056 when reading the events; the buffer layout shall not be changed.
9057
837fd9af
LL
90582013-05-27 Leo Liu <sdl.web@gmail.com>
9059
9060 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9061 New variable.
9062 (inferior-octave-directory-tracker): Automatically re-sync
9063 default-directory.
9064 (octave-help): Improve handling of 'See also'.
9065
4fd996b3
SM
90662013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9067
416f1802
SM
9068 * doc-view.el: Minor naming convention tweaks.
9069 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9070
4fd996b3
SM
9071 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9072 even if there's no `display' property yet (bug#14435).
9073
a052ef3b
EZ
90742013-05-25 Eli Zaretskii <eliz@gnu.org>
9075
4fd996b3 9076 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9077
9078 * Makefile.in (custom-deps, finder-data, autoloads)
9079 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9080 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9081 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9082
c9023370
SM
90832013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9084
9085 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9086 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9087 Don't burp at EOB.
c9023370 9088
24d699fa
LL
90892013-05-25 Leo Liu <sdl.web@gmail.com>
9090
9091 * comint.el (comint-previous-matching-input): Do not flood the
9092 *Messages* buffer with trivial messages.
9093
17e5c0cc
SM
90942013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9095
9096 * progmodes/flymake.el (flymake-nop): Don't return a string.
9097 (flymake-set-at): Fix typo.
9098
9099 * simple.el (read--expression): New function, extracted from
9100 eval-expression. Set completion-at-point-functions (bug#14465).
9101 (eval-expression, eval-minibuffer): Use it.
9102
5d028165
XF
91032013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9104
9105 * progmodes/flymake.el (flymake-save-buffer-in-file)
9106 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9107 (flymake-selected-frame, flymake-log, flymake-ins-after)
9108 (flymake-set-at, flymake-get-buildfile-from-cache)
9109 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9110 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9111 Refine the doc string.
9112 (flymake-get-file-name-mode-and-masks): Reformat.
9113 (flymake-get-real-file-name-function): Fix a minor bug.
9114
7a1d7ba7
JL
91152013-05-24 Juri Linkov <juri@jurta.org>
9116
9117 * progmodes/grep.el (grep-mode-font-lock-keywords):
9118 Support =linenumber= format used by git-grep for lines with
9119 function names. (Bug#13549)
9120
650cff3d
SM
91212013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9124 0 after a semi-colon; it works better for smie-auto-fill.
9125 (octave--indent-new-comment-line): New function.
9126 (octave-indent-new-comment-line): Use it (indirectly).
9127 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9128 modify comment-line-break-function.
9129
9130 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9131 (smie-setup): Use add-function to set it.
9132
9631677d
SS
91332013-05-24 Sam Steingold <sds@gnu.org>
9134
9135 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9136 argument (before the `interactive' argument).
9137
50105835
SM
91382013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9139
9140 * image-mode.el (image-mode-winprops): Add winprops to
9141 image-mode-winprops-alist before running
9142 image-mode-new-window-functions.
9143 * doc-view.el (doc-view-new-window-function): Don't delay
9144 doc-view-goto-page via timers (bug#14435).
9145
57b9823e
TH
91462013-05-24 Tassilo Horn <tsdh@gnu.org>
9147
9148 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9149 (doc-view-desktop-save-buffer): New function.
9150 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9151 (desktop-buffer-mode-handlers):
9152 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9153 handler.
9154 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9155 `desktop-save-buffer' function.
9156
91aafa16
MA
91572013-05-24 Michael Albinus <michael.albinus@gmx.de>
9158
9159 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9160 (tramp-gvfs-file-name-handler): Raise a user error when
9161 `tramp-gvfs-enabled' is nil.
9162 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9163 Do not raise a user error when loading package. (Bug#14447)
9164
ec076379
MA
9165 * net/xesam.el: Move to obsolete/.
9166
db785726
GM
91672013-05-24 Glenn Morris <rgm@gnu.org>
9168
af5c7606
GM
9169 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9170
e5d1916a
GM
9171 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9172
ded62b08
GM
9173 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9174 (Info-find-node, Man-getpage-in-background): Declare.
9175
9e614a3f
GM
9176 * mail/unrmail.el (unrmail):
9177 Replace obsolete detect-coding-with-priority.
9178
892f8ca3
GM
9179 * net/socks.el (socks-split-string): Use this rather than split-string.
9180 (socks-nslookup-host): Update for above change.
9181 (dynamic-choice, s5-dynamic-choice-match)
9182 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9183 Comment out unused code.
9184
3c291973
GM
9185 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9186 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9187 (gud-tooltip-echo-area): Make obsolete.
9188 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9189
43cc956b
GM
9190 * progmodes/js.el (js--optimize-arglist): Declare.
9191
dab49a3b
GM
9192 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9193
36b9d085
GM
9194 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9195 (ediff-window-C): Declare.
9196
e354ae76
GM
9197 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9198 Tweak requires to silence compiler.
9199
b8e57bf4
GM
9200 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9201 (he-search-string, he-tried-table, he-expand-list)
9202 (he-init-string, he-string-member, he-substitute-string)
9203 (he-reset-string): Declare.
9204
db785726
GM
9205 * obsolete/options.el (list-options): Use custom-variable-p,
9206 rather than obsolete alias.
9207
b3531901
SS
92082013-05-23 Sam Steingold <sds@gnu.org>
9209
9210 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9211 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9212 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9213
bdda4c66
SM
92142013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9215
9216 * emacs-lisp/smie.el (smie-indent-forward-token)
9217 (smie-indent-backward-token): Handle string tokens (bug#14381).
9218
c43d45f9
TH
92192013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9220
fe1eb856
RS
9221 * ielm.el (ielm-menu): New menu.
9222 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9223
fe1eb856
RS
92242013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9225
9226 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9227 Fix deactivate action.
9228
9229 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9230 Add cleveref macros.
074dd971 9231
c43d45f9
TH
9232 * lisp/textmodes/reftex-parse.el
9233 (reftex-locate-bibliography-files): Accept options for
9234 bibliography commands.
9235 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9236 Add addbibresource. Basic Biblatex support.
9237
7764286e
MA
92382013-05-23 Michael Albinus <michael.albinus@gmx.de>
9239
9240 * net/tramp-gvfs.el (top):
9241 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9242 when loading package. (Bug#14447)
9243
d361bc10
GM
92442013-05-23 Glenn Morris <rgm@gnu.org>
9245
8fa23984
GM
9246 * progmodes/js.el: No need to load comint when compiling.
9247 (ring-insert, comint-send-string, comint-send-input)
9248 (comint-last-input-end, ido-chop): Declare.
9249
a5c7df1a
GM
9250 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9251 * vc/ediff-mult.el: Adjust requires.
9252 (ediff-directories-internal, ediff-directory-revisions-internal)
9253 (ediff-patch-file-internal): Declare.
9254 * vc/ediff-ptch.el: Adjust requires.
9255 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9256 (ediff-find-file): Autoload.
9257 * vc/ediff-util.el: No need to load ediff when compiling.
9258 (ediff-regions-internal): Declare.
9259 * vc/ediff-wind.el: Adjust requires.
9260 (ediff-compute-toolbar-width): Define when compiling.
9261 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9262 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9263 (dired-get-filename, dired-get-marked-files)
9264 (ediff-last-dir-patch, ediff-patch-default-directory)
9265 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9266 (ediff-patch-buffer-internal): Declare.
9267
e2aec513
GM
9268 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9269 (ispell-process, ispell-buffer-local-words, lm-summary)
9270 (lm-section-start, lm-section-end): Declare.
9271 (checkdoc-ispell-init): Simplify.
9272
e68bbd7c
GM
9273 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9274 (he-string-member, he-reset-string, he-substitute-string): Declare.
9275
7efe0991
GM
9276 * eshell/em-ls.el: Adjust requires.
9277 (eshell-glob-regexp): Declare.
f87b1284
GM
9278 * eshell/em-tramp.el: Adjust requires.
9279 (eshell-parse-command): Autoload.
9280 * eshell/em-xtra.el: Adjust requires.
9281 (eshell-parse-command): Autoload.
9282 * eshell/esh-ext.el: Adjust requires.
9283 (eshell-parse-command, eshell-close-handles): Autoload.
9284 * eshell/esh-io.el: Adjust requires.
9285 (eshell-output-filter): Autoload.
9286 * eshell/esh-util.el: No need to load tramp when compiling.
9287 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9288 Declare.
9289 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9290 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9291 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9292 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9293 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9294 * eshell/esh-opt.el, eshell/esh-proc.el:
9295 * eshell/esh-var.el: Adjust requires.
9296 * eshell/eshell.el: Do not require esh-util twice.
9297 (eshell-add-input-to-history): Declare.
9298 (eshell-command): Check history module is active before using it.
9299
d361bc10
GM
9300 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9301
85d090a9
LL
93022013-05-22 Leo Liu <sdl.web@gmail.com>
9303
9304 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9305
5d0acd9d
MA
93062013-05-22 Michael Albinus <michael.albinus@gmx.de>
9307
9308 * autorevert.el (auto-revert-notify-add-watch)
9309 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9310 it indicates changes in file modification time.
9311
0cdffd7d
GM
93122013-05-22 Glenn Morris <rgm@gnu.org>
9313
ca5995ec
GM
9314 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9315 Always delete the autoloaded function from the noruntime and
9316 unresolved functions lists.
9317
6450907e
GM
9318 * allout.el: No need to load epa, epg, overlay when compiling.
9319 (epg-context-set-passphrase-callback, epg-list-keys)
9320 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9321 (epg-key-user-id-list): Declare.
9322
9c6906f6
GM
9323 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9324 (viper-set-parsing-style-toggling-macro)
9325 (viper-set-emacs-state-searchstyle-macros):
9326 Use called-interactively-p on Emacs.
9327 (viper-looking-back): Make it an obsolete alias. Update callers.
9328 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9329 Use looking-back rather than viper-looking-back.
9330 (viper-tmp-insert-at-eob, viper-enlarge-region)
9331 (viper-read-string-with-history, viper-register-to-point)
9332 (viper-append-to-register, viper-change-state-to-vi)
9333 (viper-backward-char-carefully, viper-forward-char-carefully)
9334 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9335 (viper-change-state-to-emacs): Declare.
9336 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9337 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9338 * emulation/viper-mous.el: Do not load viper-cmd.
9339 (viper-backward-char-carefully, viper-forward-char-carefully)
9340 (viper-forward-word, viper-adjust-window): Declare.
9341
5f70c169
GM
9342 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9343
b1b7f300
GM
9344 * progmodes/idlw-help.el (idlwave-help-fontify):
9345 Use called-interactively-p.
9346
f6ebbb46
GM
9347 * term/w32console.el (w32-get-console-codepage)
9348 (w32-get-console-output-codepage): Declare.
9349
0cdffd7d
GM
9350 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9351 Remove unnecessary declarations.
9352 (dframe-message): Doc fix.
9353
9354 * info.el (dframe-select-attached-frame, dframe-current-frame):
9355 Declare.
9356
9357 * speedbar.el (speedbar-message): Make it an obsolete alias.
9358 Update all callers.
9359 (speedbar-with-attached-buffer)
9360 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9361 (speedbar-with-writable): Use backquote.
9362 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9363 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9364 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9365 rather than speedbar- aliases.
9366 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9367 (speedbar-make-specialized-keymap, speedbar-insert-button)
9368 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9369 (speedbar-do-function-pointer): Declare.
9370 (rmail-speedbar-button, rmail-speedbar-find-file)
9371 (rmail-speedbar-move-message):
9372 Use dframe-with-attached-buffer rather than speedbar- alias.
9373 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9374 (dframe-message, speedbar-make-specialized-keymap)
9375 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9376 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9377 (speedbar-insert-button, dframe-select-attached-frame)
9378 (dframe-maybee-jump-to-attached-frame)
9379 (speedbar-change-initial-expansion-list)
9380 (speedbar-previously-used-expansion-list-name): Declare.
9381 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9382 Use dframe-message, dframe-with-attached-buffer rather than
9383 speedbar- aliases.
9384 (gud-sentinel): Silence compiler.
9385 * progmodes/vhdl-mode.el (speedbar-refresh)
9386 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9387 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9388 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9389 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9390 (speedbar-file-lists, speedbar-make-tag-line)
9391 (speedbar-line-directory, speedbar-goto-this-file)
9392 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9393 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9394 (speedbar-make-button, speedbar-reset-scanners)
9395 (speedbar-files-item-info, speedbar-line-text)
9396 (speedbar-find-file-in-frame, speedbar-set-timer)
9397 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9398 (speedbar-with-writable): Do not (re)define it.
9399 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9400 rather than speedbar- alias.
9401
ee44b62a
LL
94022013-05-21 Leo Liu <sdl.web@gmail.com>
9403
9404 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9405 menu items.
9406 (octave-mode): Tweak fill-nobreak-predicate.
9407 (inferior-octave-startup): Check process to avoid infinite loop.
9408 (inferior-octave): Pop to buffer first to show abornmal process
9409 exit information.
9410
640f050f
GM
94112013-05-21 Glenn Morris <rgm@gnu.org>
9412
79458038
GM
9413 * printing.el (pr-menu-bar): Define when compiling.
9414
9cc3e83f
LL
94152013-05-21 Leo Liu <sdl.web@gmail.com>
9416
9417 * progmodes/octave.el (octave-auto-fill): Remove.
9418 (octave-indent-new-comment-line): Improve.
9419 (octave-mode): Use auto fill mode through
4f405069 9420 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9421 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9422 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9423 (octave-help): Show parent directory.
9424
f440830d
GM
94252013-05-21 Glenn Morris <rgm@gnu.org>
9426
9427 * files.el (dired-unmark):
9428 * progmodes/gud.el (gdb-input): Update declarations.
9429
9430 * calculator.el (electric, ehelp): No need to load when compiling.
9431 (Electric-command-loop, electric-describe-mode): Declare.
9432
9433 * doc-view.el (doc-view-current-converter-processes): Move before use.
9434
9435 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9436 Move MODE-set-explicitly definition before use.
9437
9438 * international/mule-diag.el (mule-diag):
9439 Don't use obsolete window-system-version.
9440
9441 * mail/feedmail.el (smtpmail): No need to load when compiling.
9442 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9443
9444 * mail/mail-utils.el (rfc822): No need to load when compiling.
9445 (rfc822-addresses): Autoload it.
9446 (mail-strip-quoted-names): Trivial simplification.
9447
9448 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9449 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9450
9451 * net/snmp-mode.el (tempo): Don't duplicate requires.
9452
9453 * progmodes/prolog.el (info): No need to load when compiling.
9454 (comint): Require before shell requires it.
9455 (Info-goto-node): Autoload it.
9456 (Info-follow-nearest-node): Declare.
9457 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9458
9459 * textmodes/artist.el (picture-mode-exit): Declare.
9460
9461 * textmodes/reftex-parse.el (reftex-parse-from-file):
9462 Trivial rewrite so the compiler can parse it better.
9463
b4da2cbb
LL
94642013-05-20 Leo Liu <sdl.web@gmail.com>
9465
9466 * progmodes/octave.el (octave-help-mode-map)
9467 (octave-help-mode-finish-hook): New variables.
9468 (octave-help-mode, octave-help-mode-finish): New functions.
9469 (octave-help): Use octave-help-mode.
9470
33c0f65b
GM
94712013-05-20 Glenn Morris <rgm@gnu.org>
9472
9473 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9474
1a0a0a8a
DG
94752013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9476
9477 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9478 start at point, so that expansion starting right after opening
9479 slash in a regexp is recognized.
9480 (ruby-syntax-before-regexp-re): New defvar, extracted from
9481 ruby-syntax-propertize-function. Since the value of this regexp
9482 is looked up at runtime now, we should be able to turn
9483 `ruby-syntax-methods-before-regexp' into a defcustom later.
9484 (ruby-syntax-propertize-function): Split regexp matching into two
9485 parts, for opening and closing slashes. That allows us to skip
9486 over string interpolations and support multiline regexps.
9487 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9488 for them, which calls `ruby-syntax-propertize-expansion'.
9489 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9490 call to `ruby-syntax-propertize-function'.
9491 (ruby-syntax-propertize-expansion): Extracted from
9492 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9493 (ruby-syntax-propertize-percent-literal): Leave point right after
9494 the percent symbol, so that the expression expansion rule can
9495 propertize the contents.
462388b6
DG
9496 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9497 heredoc openers.
9498 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9499
c1a6c0a4
JL
95002013-05-18 Juri Linkov <juri@jurta.org>
9501
9502 * man.el (Man-default-man-entry): Remove `-' from the end
9503 of the default value. (Bug#14400)
9504
8051fccd
GM
95052013-05-18 Glenn Morris <rgm@gnu.org>
9506
9507 * comint.el (comint-password-prompt-regexp):
9508 Allow "password for XXX" where XXX contains colons (eg https://...).
9509
5e80b74f
LL
95102013-05-18 Leo Liu <sdl.web@gmail.com>
9511
9512 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9513 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9514 (octave-source-directories): Don't check process.
9515 (octave-source-directories, octave-find-definition): Doc fix.
9516
521a54c5
GM
95172013-05-18 Glenn Morris <rgm@gnu.org>
9518
86a94b05
GM
9519 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9520 Remove backspace/delete bindings. (Bug#14392)
9521
521a54c5
GM
9522 * cus-dep.el (custom-make-dependencies): Sort the output.
9523 (custom-versions-load-alist): Convert comment to doc.
9524
42caeb89
LL
95252013-05-17 Leo Liu <sdl.web@gmail.com>
9526
9527 * newcomment.el (comment-search-backward): Stricter in finding
9528 comment start. (Bug#14303)
9529
9530 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9531 (octave-comment-start-skip): Properly anchored.
9532
e219dd97
LL
95332013-05-17 Leo Liu <sdl.web@gmail.com>
9534
fe1eb856
RS
9535 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9536 Clean up when turned off. (Bug#14395)
e219dd97
LL
9537 (smie--highlight-matching-block-overlay): No longer buffer-local.
9538 (smie-highlight-matching-block): Adjust.
9539
dc5dcb4b
PE
95402013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9541
9542 Doc string fix for "nanoseconds" (Bug#14406).
9543 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9544 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9545
1db165f0
JB
95462013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9547
9548 * calc/calc-units.el (math-extract-units): Preserve powers
9549 of units.
9550
c7a8fcac
LL
95512013-05-17 Leo Liu <sdl.web@gmail.com>
9552
9553 * subr.el (delete-consecutive-dups): New function.
9554 * ido.el (ido-set-matches-1): Use it.
9555 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9556 * ido.el (ido-remove-consecutive-dups): Remove.
9557
f678b18a
SM
95582013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9561 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9562 regexp-opt's `words'.
9563
ebfe68e8
LL
95642013-05-16 Leo Liu <sdl.web@gmail.com>
9565
9566 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9567 (smie--highlight-matching-block-overlay)
9568 (smie--highlight-matching-block-lastpos)
9569 (smie--highlight-matching-block-timer): New variables.
9570 (smie-highlight-matching-block): New function.
9571 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9572 (smie-setup): Conditionally enable smie-blink-matching-open.
9573
bc8bc17d
WS
95742013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9575
9576 Sync with upstream verilog-mode r840.
9577 * progmodes/verilog-mode.el (verilog-mode-version)
9578 (verilog-mode-release-date): Update.
9579 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9580 (verilog-sig-tieoff): Fix string error on
9581 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9582 (verilog-read-decls): Fix parameters confusing
9583 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9584
df065a0b
EZ
95852013-05-16 Eli Zaretskii <eliz@gnu.org>
9586
9587 * subr.el (reveal-filename): New function.
9588
9589 * loadup.el: Compute Emacs executable versions on MS-Windows,
9590 where executables have the .exe extension. Add a hard link
9591 emacs-XX.YY.ZZ.exe on MS-Windows.
9592
9593 * Makefile.in (XARGS_LIMIT): New variable.
9594 (custom-deps, finder-data, autoloads)
9595 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9596 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9597 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9598 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9599
2d4bf34b
LL
96002013-05-16 Leo Liu <sdl.web@gmail.com>
9601
9602 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9603 (octave-mode-menu, octave-mode-map): Remove its uses.
9604
6b9c2d85
RZ
96052013-05-16 Reto Zimmermann <reto@gnu.org>
9606
9607 Sync with upstream vhdl mode v3.34.2.
9608 * progmodes/vhdl-mode.el: Use `push' throughout.
9609 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9610 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9611 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9612 (vhdl-actual-generic-name): New option to derive actual generic name.
9613 (vhdl-port-paste-signals): Replace formal by actual generics.
9614 (vhdl-beautify): New name for old group vhdl-align. Update users.
9615 (vhdl-beautify-options): New option.
9616 (vhdl-last-input-event): New compat alias. Use throughout.
9617 (vhdl-goto-line): Replace user level function `goto-line'.
9618 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9619 vhdl-fix-statement-buffer.
9620 (vhdl-create-mode-menu): Add some entries.
9621 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9622 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9623 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9624 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9625 to force statements on one line.
9626 (vhdl-remove-trailing-spaces-region):
9627 New, split from vhdl-remove-trailing-spaces.
9628 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9629 Respect vhdl-beautify-options.
9630 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9631 (vhdl-update-sensitivity-list): Not add with index if exists without.
9632 Not include array index with signal. Ignore keywords in comments.
9633 (vhdl-get-visible-signals): Regexp tweaks.
9634 (vhdl-template-component-inst): Handle empty library.
9635 (vhdl-template-type): Add template for 'enum' type.
9636 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9637 Use vhdl-replace-string.
9638 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9639 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9640 (vhdl-speedbar-initialize): Update for above name change.
9641 (vhdl-compose-wire-components): Fix in handling of constants.
9642 (vhdl-error-regexp-emacs-alist): New variable.
9643 (vhdl-error-regexp-add-emacs): New function;
9644 adds support for new compile.el (Emacs 22+)
9645 (vhdl-generate-makefile-1): Change target order for single lib. units.
9646 Allow use of absolute file names.
9647
9df4ec5e
LL
96482013-05-16 Leo Liu <sdl.web@gmail.com>
9649
9650 * simple.el (prog-indent-sexp): Indent enclosing defun.
9651
f5ba00a6
GM
96522013-05-15 Glenn Morris <rgm@gnu.org>
9653
ed8be7ff
GM
9654 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9655 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9656 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9657 (whitespace-highlight): Move to whitespace group.
9658
9659 * comint.el (comint-source):
9660 * pcmpl-linux.el (pcmpl-linux):
9661 * shell.el (shell-faces):
9662 * eshell/esh-opt.el (eshell-opt):
9663 * international/ccl.el (ccl): Remove empty custom groups.
9664
9665 * completion.el (dynamic-completion-mode):
9666 * jit-lock.el (jit-lock-debug-mode):
9667 * minibuffer.el (completion-in-region-mode):
9668 * type-break.el (type-break-mode-line-message-mode)
9669 (type-break-query-mode):
9670 * emulation/tpu-edt.el (tpu-edt-mode):
9671 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9672 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9673 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9674
9675 * term/xterm.el (xterm): Change parent group to terminals.
9676
9677 * master.el (master): Remove empty custom group.
9678 (master-mode): Remove unused :group argument.
9679 * textmodes/refill.el (refill): Remove empty custom group.
9680 (refill-mode): Remove unused :group argument.
9681
9682 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9683
82a7c41b
GM
9684 * cus-dep.el: Provide a feature.
9685 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9686 Don't mistakenly ignore files whose basenames match a basename
9687 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9688 Add a fallback method for getting :group.
f5ba00a6 9689
6d65486d
JL
96902013-05-15 Juri Linkov <juri@jurta.org>
9691
da547b32
JL
9692 * isearch.el (isearch-char-by-name): Rename from
9693 `isearch-insert-char-by-name'. Doc fix.
9694 (isearch-forward): Mention `isearch-char-by-name' in
9695 the docstring. (Bug#13348)
9696
6d65486d
JL
9697 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9698 `exit-minibuffer' instead of
9699 `isearch-nonincremental-exit-minibuffer'.
9700 (isearch-edit-string): Remove mention of
9701 `isearch-nonincremental-exit-minibuffer' from docstring.
9702 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9703 (isearch-forward-exit-minibuffer)
9704 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9705
c9990474
SM
97062013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9707
6e911150
SM
9708 * loadup.el: Just use unversioned DOC.
9709
c9990474
SM
9710 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9711 literals as extending to EOB.
9712 (nxml-last-fontify-end): Remove unused variable.
9713 (nxml-after-change1): Use with-silent-modifications.
9714 (nxml-extend-after-change-region): Simplify.
9715 (nxml-extend-after-change-region1): Remove function.
9716 (nxml-after-change1): Don't adjust for dependent regions.
9717 (nxml-fontify-matcher): Simplify.
9718 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9719 (xmltok-add-dependent): Remove function.
9720 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9721 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9722 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9723 unclosed <[[, <?, comment, and other literals as extending to EOB.
9724 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9725 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9726 Remove functions.
9727 (rng-do-some-validation-1): Don't mark dependent regions.
9728 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9729 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9730 (nxml-clear-dependent-regions): Remove functions.
9731 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9732 (nxml-ensure-scan-up-to-date):
9733 Don't clear&mark dependent regions.
9734
e3772e98
LL
97352013-05-15 Leo Liu <sdl.web@gmail.com>
9736
c9990474
SM
9737 * progmodes/octave.el (octave-goto-function-definition):
9738 Improve and fix callers.
e3772e98 9739
5ac2eb34
SM
97402013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9741
c46c57b0
SM
9742 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9743 the setter (bug#14387).
9744
5ac2eb34
SM
9745 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9746 surrounding group (bug#14402).
9747
180ed218
JL
97482013-05-14 Juri Linkov <juri@jurta.org>
9749
9750 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9751 (Bug#14390)
9752
0ac0fecb
GM
97532013-05-14 Glenn Morris <rgm@gnu.org>
9754
9755 * progmodes/f90.el (f90-imenu-generic-expression):
9756 Fix typo in 2013-05-08 change. (Bug#14402)
9757
2e78e6a7
JPG
97582013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9759
5ac2eb34
SM
9760 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9761 Remove signals for which replies are never received.
2e78e6a7 9762
53267cca
JPG
97632013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9764
9765 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9766 (gdb-handler-alist, gdb-handler-number): Remove variables.
9767 (gdb-handler-list): New variable.
9768 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9769 (gdb-pending-handler-p, gdb-handle-reply)
9770 (gdb-remove-all-pending-triggers): New functions.
9771 (gdb-discard-unordered-replies): New defcustom.
9772 (gdb-handler): New defstruct.
9773 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9774 instead of gdb-pending-triggers. Update docstring.
9775 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9776 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9777 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9778 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9779 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9780 (gdb-frame-handler): Pending triggers are now automatically managed.
9781 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9782 Remove argument.
9783 (gdb-input): Automatically handles pending triggers. Update docstring.
9784 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9785 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9786 Update comments.
9787 (gdb-done-or-error): Now use gdb-handle-reply.
9788
d04ce803
JPG
97892013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9790
9791 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9792 gdb-debug-log.
9793
0114073a
GM
97942013-05-14 Glenn Morris <rgm@gnu.org>
9795
9796 * subr.el (user-emacs-directory-warning): New option.
9797 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9798
4d25fd7e
LL
97992013-05-14 Leo Liu <sdl.web@gmail.com>
9800
9801 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9802 during redisplay.
9803 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9804 (octave-font-lock-texinfo-comment): Fix invalid search bound
9805 error: wrong side of point.
4d25fd7e 9806
27c8b6eb
GM
98072013-05-14 Glenn Morris <rgm@gnu.org>
9808
61aaeb01
GM
9809 * progmodes/flymake.el (flymake-xml-program): New option.
9810 (flymake-xml-init): Use it.
9811
5bf90bc5
GM
9812 * term/xterm.el: Provide a feature.
9813
9814 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9815
f4c7dfd2
GM
98162013-05-13 Glenn Morris <rgm@gnu.org>
9817
9818 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9819 Add compat aliases as a hack workaround. (Bug#14384)
9820
2aeb3a1d
LL
98212013-05-13 Leo Liu <sdl.web@gmail.com>
9822
b0e069c2
LL
9823 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9824 ###, and %!.
f5a9432f
LL
9825 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9826 C-M-q.
b0e069c2
LL
9827 (octave-comment-start-skip): Include %!.
9828 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9829
30ea8374
LL
98302013-05-12 Leo Liu <sdl.web@gmail.com>
9831
9832 * progmodes/octave.el (inferior-octave-startup): Store the value
9833 of __octave_srcdir__ for octave-source-directories.
9834 (inferior-octave-check-process): New function refactored out of
9835 inferior-octave-send-list-and-digest.
9836 (octave-source-directories)
9837 (octave-find-definition-filename-function): New variables.
9838 (octave-source-directories)
9839 (octave-find-definition-default-filename): New functions.
9840 (octave-find-definition): Improve to find functions implemented in C++.
9841
472a3834
GM
98422013-05-12 Glenn Morris <rgm@gnu.org>
9843
9844 * calendar/diary-lib.el (diary-outlook-format-1):
9845 Don't include dayname in the output. (Bug#14349)
9846
3191b52f
GM
98472013-05-11 Glenn Morris <rgm@gnu.org>
9848
0060ac73
GM
9849 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9850
3191b52f
GM
9851 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9852 Treat cc-provide like provide.
9853
e065ba74
KR
98542013-05-11 Kevin Ryde <user42@zip.com.au>
9855
9856 * cus-dep.el (custom-make-dependencies):
9857 Use generated-autoload-load-name for the sake of files such
9858 such cedet/semantic/bovine/c.el, where the base file name
9859 is not in load-path. (Bug#5277)
9860
36f84c37
GM
98612013-05-11 Glenn Morris <rgm@gnu.org>
9862
9863 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9864 Provide features.
9865
c8730c3a
LL
98662013-05-11 Leo Liu <sdl.web@gmail.com>
9867
9868 * progmodes/octave.el (octave-indent-comment): Improve.
9869 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9870 (octave-eldoc-function-signatures, octave-eldoc-function):
9871 New functions.
c8730c3a
LL
9872 (octave-mode, inferior-octave-mode): Add eldoc support.
9873
212e29f2
RS
98742013-05-11 Richard Stallman <rms@gnu.org>
9875
9876 * epa.el (epa-decrypt-file): Take output file name as argument
9877 and read it using `interactive'.
9878
083fe0d7
LL
98792013-05-11 Leo Liu <sdl.web@gmail.com>
9880
9881 * progmodes/octave.el (octave-beginning-of-line)
9882 (octave-end-of-line): Check before using up-list because it jumps
9883 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9884 (octave-indent-comment): New function.
9885 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9886 (octave-begin-keywords, octave-end-keywords)
9887 (octave-reserved-words, octave-smie-bnf-table)
9888 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9889
8582e4c4
GM
98902013-05-11 Glenn Morris <rgm@gnu.org>
9891
f20def1f
GM
9892 * faces.el (internal-face-x-get-resource):
9893 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9894 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9895 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9896 Fix declarations.
f20def1f 9897
445f95e2
GM
9898 * calc/calc-menu.el: Make it loadable in isolation.
9899
9900 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9901 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9902 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9903 (eudc-bbdb-query-internal): Require 'bbdb.
9904
99fb2756
GM
9905 * lpr.el (lpr-headers-switches):
9906 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9907
9908 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9909
0da7ad96
GM
9910 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9911
8582e4c4
GM
9912 * term.el (term-set-escape-char): Make it idempotent.
9913
f71c50d0
LL
99142013-05-10 Leo Liu <sdl.web@gmail.com>
9915
5ac2eb34
SM
9916 * progmodes/octave.el (inferior-octave-completion-table):
9917 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9918 completion due to bug#11906.
9919 (octave-beginning-of-defun): Re-write to be more general.
9920
d5837773
GM
99212013-05-10 Glenn Morris <rgm@gnu.org>
9922
9923 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9924
027c0f75
SM
99252013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9926
9927 * comint.el (comint-redirect-send-command-to-process): Use :around
9928 rather than :override for comint-redirect-filter.
9929 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9930 Call it instead of comint-redirect-original-filter-function (which
9931 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9932
4465bfb4
JD
99332013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9934
9935 * frame.el (display-monitor-attributes-list): Add NS case.
9936 (ns-display-monitor-attributes-list): Declare.
9937
2d809ffa 99382013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9939
9940 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9941
e54eeb9b
GM
99422013-05-09 Glenn Morris <rgm@gnu.org>
9943
56cd351d
GM
9944 * international/fontset.el (vertical-centering-font-regexp):
9945 Set standard-value.
9946
d84b6108
GM
9947 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9948
a931698a
GM
9949 * bookmark.el (bookmark-search-delay):
9950 * cus-start.el (vertical-centering-font-regexp):
9951 * ps-mule.el (ps-mule-font-info-database-default):
9952 * ps-print.el (ps-default-fg, ps-default-bg):
9953 * type-break.el (type-break-good-break-interval):
9954 * whitespace.el (whitespace-indentation-regexp)
9955 (whitespace-space-after-tab-regexp):
9956 * emacs-lisp/testcover.el (testcover-1value-functions)
9957 (testcover-noreturn-functions, testcover-progn-functions)
9958 (testcover-prog1-functions):
9959 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9960 * eshell/em-glob.el (eshell-glob-translate-alist):
9961 * play/tetris.el (tetris-tty-colors):
9962 * progmodes/cpp.el (cpp-face-default-list):
9963 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9964 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9965 (idlwave-help-browser-generic-args):
9966 * progmodes/make-mode.el (makefile-special-targets-list):
9967 * progmodes/python.el (python-shell-virtualenv-path):
9968 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9969 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9970 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9971 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9972 * textmodes/reftex-vars.el (reftex-format-label-function):
9973 * textmodes/remember.el (remember-diary-file): Fix custom types.
9974
e54eeb9b
GM
9975 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9976 Add :version.
9977
455851dd
LL
99782013-05-09 Leo Liu <sdl.web@gmail.com>
9979
9980 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9981 Restore file completion. (Bug#14300)
455851dd
LL
9982 (inferior-octave-startup): Fix incorrect highlighting for the
9983 first prompt.
9984
a9e4425b
SM
99852013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9986
9987 * progmodes/ruby-mode.el: First cut at SMIE support.
9988 (ruby-use-smie): New var.
9989 (ruby-smie-grammar): New constant.
9990 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9991 (ruby-smie--forward-token, ruby-smie--backward-token)
9992 (ruby-smie-rules): New functions.
9993 (ruby-mode-variables): Setup SMIE if applicable.
9994
060ca408
EZ
99952013-05-08 Eli Zaretskii <eliz@gnu.org>
9996
9997 * simple.el (line-move-visual): Signal beginning/end of buffer
9998 only if vertical-motion moved less than it was requested. Avoids
9999 silly incorrect error messages when there are display strings with
10000 multiple newlines at EOL.
10001
1d5963cc
SM
100022013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10003
10004 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10005 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10006 (prolog-char-quote-workaround):
10007 * progmodes/cperl-mode.el (cperl-under-as-char):
10008 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10009 Mark as obsolete.
10010 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10011 their declaration.
10012 (vhdl-mode-syntax-table-init): Remove.
10013
c9990474
SM
10014 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10015 last change.
1d5963cc
SM
10016
10017 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10018 syntax for "_".
10019 (ld-script-font-lock-keywords):
10020 Change regexps to use things like \_< and \_>.
10021
10022 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10023 Change all regexps to use things like \_< and \_>.
10024
10025 * progmodes/autoconf.el (autoconf-definition-regexp)
10026 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10027 Handle a _ with symbol syntax.
10028 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10029
c9990474
SM
10030 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10031 Consolidate declaration.
1d5963cc
SM
10032 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10033 the declaration.
10034 (ada-create-syntax-table): Remove.
10035 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10036 already has the right syntax nowadays.
10037 (ada-goto-next-word): Don't change the syntax of "_".
10038
10039 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10040 with-wrapper-hook.
10041
72d3cfca
SS
100422013-05-08 Sam Steingold <sds@gnu.org>
10043
10044 * thingatpt.el (thing-at-point): Accept optional second argument
10045 NO-PROPERTIES to strip the text properties from the return value.
10046 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10047 to `thing-at-point' instead of stripping the properties ourselves.
10048 Also, when `thing-at-point' fails to find a url, prepend "http://"
10049 to the filename at point on the assumption that the user is
10050 pointing at something like gnu.org/gnu.
10051
5cb15713
JB
100522013-05-08 Juanma Barranquero <lekktu@gmail.com>
10053
10054 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10055 * faces.el (crm-separator):
10056 Silence byte-compiler.
10057
10058 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10059 (tool-bar-map): Remove unneeded defvars.
10060
ea78b95b
LL
100612013-05-08 Leo Liu <sdl.web@gmail.com>
10062
10063 Re-work a fix for bug#10994 based on Le Wang's patch.
10064 * ido.el (ido-remove-consecutive-dups): New helper.
10065 (ido-completing-read): Use it.
10066 (ido-chop): Revert fix for bug#10994.
10067
dc7466df
AS
100682013-05-08 Adam Spiers <emacs@adamspiers.org>
10069
10070 * cus-edit.el (custom-save-variables):
10071 Pretty-print long values. (Bug#14187)
10072
9ecf672a
GM
100732013-05-08 Glenn Morris <rgm@gnu.org>
10074
10075 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10076 (m4-mode-syntax-table): Init in the defvar.
10077 (m4-mode-abbrev-table): Let define-derived-mode define it.
10078
3f555be8
TT
100792013-05-08 Tom Tromey <tromey@redhat.com>
10080
10081 * progmodes/m4-mode.el (m4-mode-syntax-table):
10082 Do not treat "_" as word constituent. (Bug#14167)
10083
7cc8ae06
GM
100842013-05-07 Glenn Morris <rgm@gnu.org>
10085
4f58bc06
GM
10086 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10087 Remove explicit eshell-isearch-cancel-map.
10088
7cc8ae06
GM
10089 * progmodes/f90.el (f90-smart-end-names): New option.
10090 (f90-smart-end): Doc fix.
10091 (f90-end-block-optional-name): New constant.
10092 (f90-block-match): Respect f90-smart-end-names.
10093
ceb57e59
SM
100942013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10095
10096 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10097 about implicit semi-colons (bug#14218).
10098
4e3f9230
YM
100992013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10100
10101 * frame.el (display-monitor-attributes-list)
10102 (frame-monitor-attributes): New functions.
10103
203a5572
LL
101042013-05-06 Leo Liu <sdl.web@gmail.com>
10105
10106 * progmodes/octave.el (octave-syntax-propertize-function): Change
10107 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10108 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10109 (octave-completion-at-point): Rename from
203a5572
LL
10110 octave-completion-at-point-function.
10111 (inferior-octave-directory-tracker): Robustify.
10112 (octave-text-functions): Remove and fix its uses. No such things
10113 any more.
10114
ee6cff99
SM
101152013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10116
10117 * emacs-lisp/trace.el (trace--display-buffer): New function.
10118 (trace-make-advice): Use it.
10119
32985194
JL
101202013-05-06 Juri Linkov <juri@jurta.org>
10121
10122 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10123 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10124 Doc fix.
10125 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10126 in the help string. (Bug#12985)
10127
a1c700de
KD
101282013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10129
10130 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10131
c67c0839
SM
101322013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10133
323885fd
SM
10134 * progmodes/perl-mode.el: Add support for here documents.
10135 (perl-syntax-propertize-function): Match here-doc markers.
10136 (perl-syntax-propertize-special-constructs): Find their end.
10137 (perl-imenu-generic-expression): Use [:alnum:].
10138
c67c0839
SM
10139 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10140 (advice--add-function): Refresh the advice if already present
10141 (bug#14317).
10142
d491e7a8
IA
101432013-05-06 Ivan Andrus <darthandrus@gmail.com>
10144
10145 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10146
ddf9925e
GM
101472013-05-06 Glenn Morris <rgm@gnu.org>
10148
7cc3af27
GM
10149 * w32-fns.el (w32-charset-info-alist): Declare.
10150
16e343d6
GM
10151 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10152 of its defcustom properties.
10153 (eshell-cmpl-initialize): No need to load pcomplete.
10154
7d889a47
GM
10155 * generic-x.el: No need to require comint when compiling.
10156
ddf9925e
GM
10157 * net/eudc-export.el: Make it loadable without bbdb.
10158 (top-level): Use require rather than load-library.
10159 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10160 (eudc-batch-export-records-to-bbdb)
10161 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10162 Require bbdb.
10163
1e2c18df
SM
101642013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10165
10166 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10167 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10168 some tweaks, instead.
10169
02502a5f
LL
101702013-05-05 Leo Liu <sdl.web@gmail.com>
10171
10172 * progmodes/octave.el (octave-font-lock-keywords)
10173 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10174 (inferior-octave-send-list-and-digest): Improve error message.
10175 (octave-mode, inferior-octave-mode): Use setq-local.
10176 (octave-help): Set info-lookup-mode.
10177
0dc04f42
RS
101782013-05-05 Richard Stallman <rms@gnu.org>
10179
6c54491c
RS
10180 * vc/compare-w.el (compare-windows-whitespace):
10181 Treat no-break space as whitespace.
10182
0dc04f42
RS
10183 * mail/rmailsum.el (rmail-summary-rmail-update):
10184 Detect empty summary and don't change selected message.
10185 (rmail-summary-goto-msg): Likewise.
10186
df8f35df
RS
10187 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10188 Doc fixes, rename args.
10189
5356e1a3
AM
101902013-05-05 Alan Mackenzie <acm@muc.de>
10191
10192 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10193
d44014cb
JL
101942013-05-05 Juri Linkov <juri@jurta.org>
10195
10196 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10197 to not add the length of the summary segment to the return value.
10198 (Bug#14125)
10199
c129b51f
LL
102002013-05-05 Leo Liu <sdl.web@gmail.com>
10201
10202 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10203 (inferior-octave-output-filter): Remove.
10204 (octave-send-region, inferior-octave-startup): Fix callers.
10205 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10206 (octave-binary-file-extensions): New user variable.
10207 (octave-find-definition): Confirm if opening binary files.
10208 (octave-help-file): Use octave-find-definition to get the binary
10209 confirmation.
10210 (octave-help): Adjust for octave-help-file change.
10211
aa7dab97
SM
102122013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10213
10214 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10215 Merge the two entries that handle function definitions.
10216 (pascal--syntax-propertize): New const.
10217 (pascal-mode): Use it. Use setq-local.
10218
fd3a9a6b
GM
102192013-05-04 Glenn Morris <rgm@gnu.org>
10220
10221 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10222 (diary-from-outlook): Respect diary-from-outlook-function.
10223
30c7e542
SM
102242013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10227 Move the declaration from C.
10228 (read-minibuffer, eval-minibuffer): Move from C.
10229 (completion-setup-function): Avoid minibuffer-completion-contents.
10230
b54f978b
LL
102312013-05-03 Leo Liu <sdl.web@gmail.com>
10232
10233 * progmodes/octave.el (octave-font-lock-keywords): Do not
10234 dehighlight 'end' in comments or strings.
30c7e542
SM
10235 (octave-completing-read, octave-goto-function-definition):
10236 New helpers.
d4d0f9b3
LL
10237 (octave-help-buffer): New user variable.
10238 (octave-help-file, octave-help-function): New button types.
10239 (octave-help): New command and bind it to C-h ;.
10240 (octave-find-definition): New command and bind it to M-.
d74a1581 10241 (user-error): Alias to error if not defined.
b54f978b 10242
27135018
LL
102432013-05-02 Leo Liu <sdl.web@gmail.com>
10244
10245 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10246 for \. (bug#14332)
10247 (octave-font-lock-keywords): Include [ and {.
10248
0d634d3a
LL
102492013-05-02 Leo Liu <sdl.web@gmail.com>
10250
10251 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10252 (inferior-octave): Remove calling comint-mode and return the buffer.
10253 (inferior-octave-startup): Cosmetic changes.
10254
b4c8295e
LL
102552013-05-02 Leo Liu <sdl.web@gmail.com>
10256
30c7e542
SM
10257 * progmodes/octave.el (octave-syntax-propertize-function):
10258 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10259
f12ad6ec
GM
102602013-05-02 Glenn Morris <rgm@gnu.org>
10261
10262 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10263 * desktop.el (vc-dir-mode): Just autoload it here.
10264
30cac1e0
AM
102652013-05-02 Alan Mackenzie <acm@muc.de>
10266
10267 Eliminate variable c-standard-font-lock-fontify-region-function.
10268 * progmodes/cc-mode.el
10269 (c-standard-font-lock-fontify-region-function): Remove.
10270 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10271
d8ef28b1
LL
102722013-05-01 Leo Liu <sdl.web@gmail.com>
10273
2640d52e 10274 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10275 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10276 variables were removed from Octave in 2007.
d8ef28b1
LL
10277 (inferior-octave-startup): Fix uses.
10278 (comint-line-beginning-position): Remove compatibility code for
10279 emacs 21.
10280
ac63ec89
JL
102812013-05-01 Juri Linkov <juri@jurta.org>
10282
10283 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10284
9e9be37c
JL
102852013-05-01 Juri Linkov <juri@jurta.org>
10286
10287 * comint.el (comint-previous-matching-input): Don't print message
10288 "History item: %d" when `isearch-mode' is active.
10289 (comint-history-isearch-message): Print message "History item: %d"
10290 when `comint-input-ring-index' is not empty and this function is
10291 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10292
9b92c13b
LL
102932013-05-01 Leo Liu <sdl.web@gmail.com>
10294
10295 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10296 definitions. Use completion-at-point to insert keywords.
10297 (octave-abbrev-start): Remove.
10298 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10299
b12d33d7
LL
103002013-04-30 Leo Liu <sdl.web@gmail.com>
10301
10302 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10303 change.
10304
3d1c39fa
AM
103052013-04-30 Alan Mackenzie <acm@muc.de>
10306
10307 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10308 * progmodes/cc-engine.el (c-back-over-member-initializers):
10309 new function.
3d1c39fa
AM
10310 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10311 (most) member init lists.
10312
5147fc17
RS
103132013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10314
10315 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10316 variable.
10317
5b78d7fc
LL
103182013-04-30 Leo Liu <sdl.web@gmail.com>
10319
10320 * progmodes/octave.el (octave-variables): Remove. No builtin
10321 variables any more. All converted to functions.
10322 (octave-font-lock-keywords, octave-completion-at-point-function):
10323 Fix uses.
10324 (octave-font-lock-texinfo-comment): New user variable.
10325 (octave-texinfo-font-lock-keywords): New variable for texinfo
10326 comment block.
10327 (octave-function-comment-block): New face.
10328 (octave-font-lock-texinfo-comment): New function.
10329 (octave-mode): Font lock texinfo comment block.
10330
38d8527b
LL
103312013-04-29 Leo Liu <sdl.web@gmail.com>
10332
10333 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10334 indexing expression.
10335 (octave-continuation-string): Do not use \.
10336 (inferior-octave-complete-impossible): Remove.
10337 (inferior-octave-completion-table)
10338 (inferior-octave-completion-at-point): Remove its uses.
10339 (inferior-octave-startup): completion_matches was introduced to
10340 Octave in 1996 so safe to assume it.
10341 (octave-function-file-comment): Improve to follow how Octave does it.
10342 (octave-update-function-file-comment): Tweak.
10343
2ec12cb0
LL
103442013-04-29 Leo Liu <sdl.web@gmail.com>
10345
10346 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10347 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10348 (octave-function-file-comment): Fix typo.
10349 (octave-sync-function-file-names): Use read-char-choice.
10350
6eaed048
JB
103512013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10352
10353 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10354 to t for the less important warnings.
10355
3ffa2d4f
DH
103562013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10357
10358 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10359
685c9501
GM
103602013-04-27 Glenn Morris <rgm@gnu.org>
10361
10362 * vc/log-view.el (log-view-current-entry):
10363 Treat "---" separator lines as part of the following rev. (Bug#14169)
10364
0208ede7
JL
103652013-04-27 Juri Linkov <juri@jurta.org>
10366
10367 * subr.el (read-number): Doc fix about using it by interactive
10368 code letter `n'. (Bug#14254)
10369
5db9dace
JL
103702013-04-27 Juri Linkov <juri@jurta.org>
10371
10372 * desktop.el (desktop-auto-save-timeout): New option.
10373 (desktop-file-checksum): New variable.
10374 (desktop-save): Add optional arg `auto-save' and don't auto-save
10375 if nothing changed.
10376 (desktop-auto-save-timer): New variable.
10377 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10378 (after-init-hook): Call `desktop-auto-save-set-timer'.
10379 Suggested by Reuben Thomas <rrt@sc3d.org> in
10380 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10381
b7260dd4
LL
103822013-04-27 Leo Liu <sdl.web@gmail.com>
10383
10384 * progmodes/octave.el (octave-function-file-p)
10385 (octave-skip-comment-forward, octave-function-file-comment)
10386 (octave-update-function-file-comment): New functions.
10387 (octave-mode-map): Bind C-c ; to
10388 octave-update-function-file-comment.
10389 (octave-mode-menu): Add octave-update-function-file-comment.
10390 (octave-mode, inferior-octave-mode): Fix doc-string.
10391 (octave-insert-defun): Conform to Octave's coding convention.
10392 (Bug#14285)
10393
10394 * files.el (basic-save-buffer): Don't let errors in
10395 before-save-hook prevent saving buffer.
10396
c46da669
RW
103972013-04-20 Roland Winkler <winkler@gnu.org>
10398
10399 * faces.el (read-face-name): Use completing-read if arg multiple
10400 is nil.
10401
a81ee1eb
IL
104022013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10403
10404 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10405 displayed, move point to after the totals line.
10406 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10407 for the details.
10408
4fac34ce
SM
104092013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10410
10411 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10412 Add current dir to the load-path.
10413 (package-generate-autoloads): Don't rely on
10414 autoload-ensure-default-file.
10415
f6bfc063
RT
104162013-04-26 Reuben Thomas <rrt@sc3d.org>
10417
d40ab5cf
BG
10418 * textmodes/remember.el (remember-store-in-files): Document that
10419 the file name format is passed to `format-time-string'.
f6bfc063 10420
e55d3b04
LL
104212013-04-26 Leo Liu <sdl.web@gmail.com>
10422
10423 * progmodes/octave.el (octave-sync-function-file-names): New function.
10424 (octave-mode): Use it in before-save-hook.
10425
e53052d3
SM
104262013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10427
140ef50c
SM
10428 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10429 (bug#14274).
10430
e53052d3
SM
10431 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10432 \n and comment, even if it's not an implicit ; (bug#14218).
10433
af80458d 104342013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10435
10436 * subr.el (read-number): Once more use `read' rather than
10437 `string-to-number', to trap non-numeric input. (Bug#14254)
10438
af80458d 104392013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10440
10441 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10442 Use `syntax-multiline' text property consistently instead of
8a621d53 10443 `font-lock-multiline'. (Bug#14237)
70203c2e 10444
e6ea1f6c
GM
104452013-04-26 Glenn Morris <rgm@gnu.org>
10446
10447 * emacs-lisp/shadow.el (list-load-path-shadows):
10448 No longer necessary to check for duplicate simple.el, since
10449 2012-07-07 change to init_lread to not include installation lisp
10450 directories in load-path when running uninstalled. (Bug#14270)
10451
070ccca4
LL
104522013-04-26 Leo Liu <sdl.web@gmail.com>
10453
10454 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10455 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10456 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10457 octave-in-string-or-comment-p.
10458 (octave-in-comment-p, octave-in-string-p)
10459 (octave-in-string-or-comment-p): Replace defsubst with defun.
10460
9d1c5fb6
PE
104612013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10462
10463 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10464
c034abda
BG
104652013-04-25 Bastien Guerry <bzg@gnu.org>
10466
10467 * textmodes/remember.el (remember-data-directory)
10468 (remember-directory-file-name-format): Fix custom types.
10469
584ea277
LL
104702013-04-25 Leo Liu <sdl.web@gmail.com>
10471
e53052d3
SM
10472 * progmodes/octave.el (octave-completion-at-point-function):
10473 Make use of inferior octave process.
584ea277
LL
10474 (octave-initialize-completions): Remove.
10475 (inferior-octave-completion-table): New function.
10476 (inferior-octave-completion-at-point): Use it.
10477 (octave-completion-alist): Remove.
10478
1693b06a
SM
104792013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10480
10481 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10482 (opascal-mode-syntax-table): New var.
10483 (opascal-literal-kind, opascal-is-literal-end)
10484 (opascal-literal-token-at): Rewrite.
10485 (opascal--literal-start-re, opascal-font-lock-keywords)
10486 (opascal--syntax-propertize): New constants.
10487 (opascal-font-lock-defaults): Adjust.
10488 (opascal-mode): Use them. Set comment-<foo> variables as well.
10489 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10490 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10491 (delphi-other-face, opascal-other-face): Remove face variables.
10492 (opascal-save-state): Remove macro.
10493 (opascal-fontifying-progress-step): Remove constant.
10494 (opascal--ignore-changes): Remove var.
10495 (opascal-set-token-property, opascal-parse-next-literal)
10496 (opascal-is-stable-literal, opascal-complete-literal)
10497 (opascal-is-literal-start, opascal-face-of)
10498 (opascal-parse-region, opascal-parse-region-until-stable)
10499 (opascal-fontify-region, opascal-after-change)
10500 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10501 (opascal-debug-parse-region, opascal-debug-parse-window)
10502 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10503 (opascal-debug-fontify-buffer): Remove.
10504 (opascal-debug-mode-map): Adjust accordingly.
10505
be64c05d
LL
105062013-04-25 Leo Liu <sdl.web@gmail.com>
10507
10508 Merge octave-mod.el and octave-inf.el into octave.el with some
10509 cleanups.
10510 * progmodes/octave.el: New file renamed from octave-mod.el.
10511 * progmodes/octave-inf.el: Merged into octave.el.
10512 * progmodes/octave-mod.el: Renamed to octave.el.
10513
d79d37bd
TH
105142013-04-25 Tassilo Horn <tsdh@gnu.org>
10515
10516 * textmodes/reftex-vars.el
10517 (reftex-label-ignored-macros-and-environments): New defcustom.
10518
10519 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10520
ced3fc5d
SM
105212013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10522
10523 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10524 (smie-indent-keyword): Improve the check to ensure that the next
10525 comment is really on the same line.
10526 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10527
10528 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10529 semi-colons if the line is not otherwise empty (bug#14218).
10530
1c141dad
GM
105312013-04-25 Glenn Morris <rgm@gnu.org>
10532
10533 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10534
5058062a
SM
105352013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * progmodes/opascal.el (opascal-set-token-property): Rename from
10538 opascal-set-text-properties and only set `token' (bug#14134).
10539 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10540 (opascal-literal-text-properties): Remove.
10541 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10542 Adjust callers.
10543
5db9dace 105442013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10545
10546 * textmodes/remember.el (remember-handler-functions): Add an
10547 option for a new handler `remember-store-in-files'.
10548 (remember-data-directory, remember-directory-file-name-format):
10549 New options.
10550 (remember-store-in-files): New function to store remember notes
10551 as separate files within a directory.
10552
4391916c
MH
105532013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10554
10555 * progmodes/compile.el (compilation-next-error-function):
10556 Pass "formats" to compilation-find-file (bug#11777).
10557
bb7cdf58
GM
105582013-04-24 Glenn Morris <rgm@gnu.org>
10559
3b8fe752 10560 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10561 * vc/vc-hg.el (vc-hg-print-log):
10562 * vc/vc-svn.el (vc-svn-print-log):
10563 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10564
bb7cdf58
GM
10565 * vc/vc-bzr.el (vc-bzr-print-log):
10566 * vc/vc-cvs.el (vc-cvs-print-log):
10567 * vc/vc-git.el (vc-git-print-log):
10568 * vc/vc-hg.el (vc-hg-print-log):
10569 * vc/vc-mtn.el (vc-mtn-print-log):
10570 * vc/vc-rcs.el (vc-rcs-print-log):
10571 * vc/vc-sccs.el (vc-sccs-print-log):
10572 * vc/vc-svn.el (vc-svn-print-log):
10573 * vc/vc.el (vc-print-log-internal): Doc fixes.
10574
b46a056e
GM
105752013-04-23 Glenn Morris <rgm@gnu.org>
10576
10577 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10578 Remove venerable code attempting to avoid substitute-command-keys.
10579
0aecf718
TH
105802013-04-23 Tassilo Horn <tsdh@gnu.org>
10581
4391916c
MH
10582 * textmodes/reftex-vars.el (reftex-label-regexps):
10583 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10584
117f94cf
SM
105852013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10586
4391916c 10587 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10588 Use lexical-binding.
10589 (jit-lock-force-redisplay): Use markers, check buffer's continued
10590 existence and beware narrowed buffers.
10591 (jit-lock-fontify-now): Adjust call accordingly.
10592
1d829c64
SM
105932013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10594
10595 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10596 to avoid misleading the user.
10597
72d548a9
LL
105982013-04-22 Leo Liu <sdl.web@gmail.com>
10599
10600 * info-look.el: Prefer latex2e.info. (Bug#14240)
10601
d0853629
MA
106022013-04-22 Michael Albinus <michael.albinus@gmx.de>
10603
10604 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10605
10606 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10607 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10608 (tramp-set-completion-function, tramp-parse-putty):
10609 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10610 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10611 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10612 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10613 (tramp-call-local-coding-command): Use `tramp-call-process'
10614 instead of `tramp-compat-call-process'.
10615
10616 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10617 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10618 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10619 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10620 (tramp-maybe-send-script): Check for Perl binary.
10621 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10622
38cc0210
DU
106232013-04-22 Daiki Ueno <ueno@gnu.org>
10624
10625 * epg.el (epg-context-pinentry-mode): New function.
10626 (epg-context-set-pinentry-mode): New function.
10627 (epg--start): Pass --pinentry-mode option to gpg command.
10628
cc641ee1
XF
106292013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10630
02d844b5 10631 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10632 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10633 `completion-at-point'. (Bug#13774)
5d4e5c31 10634
cc641ee1
XF
10635 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10636 default key binding for `describe-distribution' has been moved to
10637 `C-h C-o'. (Bug#13970)
10638
1b42ee43
GM
106392013-04-21 Glenn Morris <rgm@gnu.org>
10640
10641 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10642 Add doc strings.
10643 (vc-print-log): Clarify interactive prompt.
10644
a6d63d97
GM
106452013-04-20 Glenn Morris <rgm@gnu.org>
10646
10647 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10648 No longer include timestamp etc information.
10649
d7f5c16f
RW
106502013-04-20 Roland Winkler <winkler@gnu.org>
10651
10652 * faces.el (read-face-name): Bug fix, return just one face if arg
10653 multiple is nil. (Bug#14209)
10654
bcd7a0a4
SM
106552013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10656
10657 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10658 (remove-function): Autoload.
10659
10660 * comint.el (comint-redirect-original-filter-function): Remove.
10661 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10662 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10663 (vc-cvs-annotate-command):
bcd7a0a4
SM
10664 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10665 * progmodes/prolog.el (prolog-consult-compile):
10666 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10667 Use add/remove-function instead.
10668 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10669 (gud-tooltip-process-output, gud-tooltip-tips):
10670 Use add/remove-function instead.
10671 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10672 (scheme-interaction-mode, exit-scheme-interaction-mode):
10673 Use add/remove-function instead.
10674
10675 * vc/vc-dispatcher.el: Use lexical-binding.
10676 (vc--process-sentinel): Rename from vc-process-sentinel.
10677 Change last arg to be the code to run. Don't use vc-previous-sentinel
10678 and vc-sentinel-commands any more.
10679 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10680 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10681
e36b2d20 106822013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10683
bcd7a0a4 10684 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10685 Handle function names with a single character. (Bug#14111)
4d3268ba 10686
781b4af6 106872013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10688
10689 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10690 for subroutines defined in an eval (bug#14182).
10691
7d688336
TV
106922013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10693
10694 * bookmark.el (bookmark-completing-read): Improve handling of empty
10695 string (bug#14176).
10696
31dcede0
SM
106972013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10698
10699 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10700
adc31213
FEG
107012013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10702
10703 New faster Imenu implementation (bug#14058).
10704 * progmodes/python.el:
10705 (python-imenu-prev-index-position):
10706 (python-imenu-format-item-label-function)
10707 (python-imenu-format-parent-item-label-function)
10708 (python-imenu-format-parent-item-jump-label-function):
10709 New vars.
10710 (python-imenu-format-item-label)
10711 (python-imenu-format-parent-item-label)
10712 (python-imenu-format-parent-item-jump-label)
10713 (python-imenu--put-parent, python-imenu--build-tree)
10714 (python-imenu-create-index, python-imenu-create-flat-index)
10715 (python-util-popn): New functions.
10716 (python-mode): Set imenu-create-index-function to
10717 python-imenu-create-index.
10718
cdca8255
SM
107192013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10720
10721 * winner.el (winner-active-region): Use region-active-p, activate-mark
10722 and deactivate-mark (bug#14225).
10723
10724 * simple.el (deactivate-mark): Don't inline it.
10725
beb42340
MA
107262013-04-18 Michael Albinus <michael.albinus@gmx.de>
10727
10728 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10729
fc7f4d7e
TH
107302013-04-18 Tassilo Horn <tsdh@gnu.org>
10731
10732 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10733 file extensions from the archive-mode entry in order to prefer
10734 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10735
29f47822
LL
107362013-04-18 Leo Liu <sdl.web@gmail.com>
10737
10738 * bindings.el (help-event-list): Add ?\?.
10739
d36ed1c8
SM
107402013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10741
10742 * subr.el (with-wrapper-hook): Declare obsolete.
10743 * simple.el (filter-buffer-substring-function): New hook.
10744 (filter-buffer-substring): Use it.
10745 (filter-buffer-substring-functions): Mark obsolete.
10746 * minibuffer.el (completion-in-region-function): New hook.
10747 (completion-in-region): Use it.
10748 (completion-in-region-functions): Mark obsolete.
10749 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10750 * abbrev.el (abbrev-expand-function): New hook.
10751 (expand-abbrev): Use it.
10752 (abbrev-expand-functions): Mark obsolete.
10753 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10754 and :filter-return.
10755
04754d36
FEG
107562013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10757
10758 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10759 and do not care about match data.
10760
dd8791e9
SM
107612013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10762
10763 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10764 completion tables when completing error conditions and
10765 `declare' arguments.
10766 (lisp-complete-symbol, field-complete): Mark as obsolete.
10767 (check-parens): Unmatched parens are user errors.
10768 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10769
ffe54a13
AM
107702013-04-17 Michal Nazarewicz <mina86@mina86.com>
10771
dd8791e9
SM
10772 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10773 command changed buffer (ie. `flyspell-pre-buffer' is not current
10774 buffer), which prevents making decisions based on invalid value of
10775 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10776 cause an error when `flyspell-pre-point' was nil after switching
10777 buffers.
10778 (flyspell-post-command-hook): No longer needs to change buffers when
10779 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10780
ec7e39f2
AM
107812013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10782
10783 * textmodes/ispell.el (ispell-add-per-file-word-list):
10784 Fix `flyspell-correct-word-before-point' error when accepting
10785 words and `coment-padding' is an integer by using
10786 `comment-normalize-vars' (Bug #14214).
10787
083850a6
FEG
107882013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10789
10790 New defun movement commands.
10791 * progmodes/python.el (python-nav--syntactically)
10792 (python-nav--forward-defun, python-nav-backward-defun)
10793 (python-nav-forward-defun): New functions.
10794
619ed6e1
FEG
107952013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10796
10797 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10798 (python-syntax-context): Use named compiler-macro for backwards
10799 compatibility with Emacs 24.x.
10800
7a1beb6c
LL
108012013-04-17 Leo Liu <sdl.web@gmail.com>
10802
10803 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10804 octave-hide-process-buffer.
10805
2d3fa3e5
SM
108062013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10807
10808 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10809 (bug#14216).
10810
7ce5be54
JPG
108112013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10812
10813 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10814 Fix adjustment of offset when receiving incomplete responses from GDB
10815 (bug#14129).
10816
351edece
SM
108172013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10818
10819 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10820 python-mode-abbrev-table.
10821 (python-skeleton-define): Adjust accordingly.
10822 (python-mode-abbrev-table): New table that inherits from it so that
10823 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10824
10825 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10826 (abbrev-symbol): Use it.
10827 (abbrev--before-point): Use it since we already handle inheritance.
10828
613f9481
LL
108292013-04-16 Leo Liu <sdl.web@gmail.com>
10830
10831 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10832 binding to info-lookup-symbol.
10833
51646b62
JB
108342013-04-16 Juanma Barranquero <lekktu@gmail.com>
10835
10836 * minibuffer.el (completion--twq-all):
10837 * term/ns-win.el (ns-initialize-window-system):
10838 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10839
efb3f01d
SM
108402013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10841
36c0a301
SM
10842 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10843 global bindings.
10844
efb3f01d
SM
10845 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10846
fb549d64
DG
108472013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10848
10849 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10850 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10851 to nil.
10852 (ruby-end-of-defun): Remove the unused arg, change the docstring
10853 to reflect that this function is only used as the value of
10854 `end-of-defun-function'.
10855 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10856 to reflect an earlier change that beginning/end-of-defun functions
10857 jump between methods in a class definition, as well as top-level
10858 functions.
10859
21e8fe2f
SM
108602013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10861
10862 * minibuffer.el (minibuffer-complete): Don't just scroll
10863 a *Completions* that's been iconified.
10864 (minibuffer-force-complete): Make sure repetitions do cycle when going
10865 through completion-in-region -> minibuffer-complete.
10866
20e527d0
AM
108672013-04-15 Alan Mackenzie <acm@muc.de>
10868
10869 Correct the placement of c-cpp-delimiters when there're #s not at
10870 col 0.
10871
10872 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10873 place a submatch around the #.
21e8fe2f
SM
10874 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10875 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10876 on the #, not BOL.
10877
dabefae5
SM
108782013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10879
10880 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10881 (advice--member-p): New arg `name'.
10882 (advice--add-function, advice-member-p): Use it (bug#14202).
10883
85c9ab64
AM
108842013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10885
10886 Reformulate java imenu-generic-expression.
10887 The old expression contained ill formed regexps.
10888
10889 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10890 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10891 (cc-imenu-java-method-arg-regexp): New defconsts.
10892 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10893 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10894 handling of spaces in the regexp.
10895
0f821d99
AM
108962013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10897
10898 * textmodes/ispell.el (ispell-command-loop): Remove
10899 flyspell highlight of a word when ispell accepts it (bug #14178).
10900
eb922adf
MA
109012013-04-15 Michael Albinus <michael.albinus@gmx.de>
10902
10903 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10904 uses code from the previous `ange-ftp-run-real-handler'.
10905 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10906 only in case that function exist. This is needed for proper
10907 unloading of Tramp.
10908
4d9a0979
TH
109092013-04-15 Tassilo Horn <tsdh@gnu.org>
10910
10911 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10912
10913 * textmodes/reftex.el (reftex-compile-variables): Use it.
10914
a829b0dc
SM
109152013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10916
91e8293c
SM
10917 * files.el (normal-mode): Only use default major-mode if no other mode
10918 was specified.
10919
830aed4d
SM
10920 * emacs-lisp/trace.el (trace-values): New function.
10921
a829b0dc
SM
10922 * files.el: Allow : in local variables (bug#14089).
10923 (hack-local-variable-regexp): New var.
10924 (hack-local-variables-prop-line, hack-local-variables): Use it.
10925
7ae9f0fb
RW
109262013-04-13 Roland Winkler <winkler@gnu.org>
10927
10928 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10929 data before it gets modified by bibtex-beginning-of-entry.
10930
6646e848
RW
109312013-04-13 Roland Winkler <winkler@gnu.org>
10932
10933 * textmodes/bibtex.el (bibtex-url): Doc fix.
10934
109352013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10936
10937 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10938 does not visit a BibTeX file, exclude it from the list of buffers
10939 returned by bibtex-initialize.
10940
0aa3616e
SB
109412013-04-13 Stephen Berman <stephen.berman@gmx.net>
10942
10943 * window.el (split-window): Remove interactive form, since as a
10944 command this function is a special case of split-window-below.
10945 Correct doc string.
10946
011cddd6
RW
109472013-04-12 Roland Winkler <winkler@gnu.org>
10948
10949 * faces.el (read-face-name): Do not override value of arg default.
10950 Allow single faces and strings as default values. Remove those
10951 elements from return value that are not faces.
10952 (describe-face): Simplify.
10953 (face-at-point): New optional args thing and multiple so that this
10954 function can provide the same functionality previously provided by
10955 read-face-name.
10956 (make-face-bold, make-face-unbold, make-face-italic)
10957 (make-face-unitalic, make-face-bold-italic, invert-face)
10958 (modify-face, read-face-and-attribute): Use face-at-point.
10959
10960 * cus-edit.el (customize-face, customize-face-other-window)
10961 * cus-theme.el (custom-theme-add-face)
10962 * face-remap.el (buffer-face-set)
10963 * facemenu.el (facemenu-set-face): Use face-at-point.
10964
f24e0036
MA
109652013-04-12 Michael Albinus <michael.albinus@gmx.de>
10966
10967 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10968
da3cda2d
TH
109692013-04-10 Tassilo Horn <tsdh@gnu.org>
10970
10971 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10972 off leading { and trailing } from field values.
10973
15e54145
SM
109742013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10975
78ce603d
SM
10976 * emacs-lisp/timer.el (timer--check): New function.
10977 (timer--time, timer-set-function, timer-event-handler): Use it.
10978 (timer-set-idle-time): Simplify.
10979 (timer--activate): CSE.
10980 (timer-event-handler): Give more info in error message.
10981 (internal-timer-start-idle): New function, moved from C.
10982
15e54145
SM
10983 * mpc.el (mpc-proc): Add `restart' argument.
10984 (mpc-proc-cmd): Use it.
10985 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10986 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10987 less often.
10988
7144c627
MY
109892013-04-10 Masatake YAMATO <yamato@redhat.com>
10990
10991 * progmodes/sh-script.el: Implement `sh-mode' own
10992 `add-log-current-defun-function' (bug#14112).
10993 (sh-current-defun-name): New function.
10994 (sh-mode): Use the function.
10995
b39792eb
BG
109962013-04-09 Bastien Guerry <bzg@gnu.org>
10997
10998 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10999
8acdeb71
SM
110002013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11001
6fcdab68
SM
11002 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11003
8acdeb71
SM
11004 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11005 timer (bug#14156).
11006
e3e7b504
NF
110072013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11008
11009 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11010 declaration.
11011
201bb296
LL
110122013-04-07 Leo Liu <sdl.web@gmail.com>
11013
11014 * pcmpl-x.el: New file.
11015
ebb19708
DA
110162013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11017
11018 Do not set x-display-name until X connection is established.
11019 This is needed to prevent from weird situation described at
11020 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11021 * frame.el (make-frame): Set x-display-name after call to
11022 window system initialization function, not before.
11023 * term/x-win.el (x-initialize-window-system): Add optional
11024 display argument and use it.
11025 * term/w32-win.el (w32-initialize-window-system):
11026 * term/ns-win.el (ns-initialize-window-system):
11027 * term/pc-win.el (msdos-initialize-window-system):
11028 Add compatible optional display argument.
11029
33bb237a
EZ
110302013-04-06 Eli Zaretskii <eliz@gnu.org>
11031
11032 * files.el (normal-backup-enable-predicate): On MS-Windows and
11033 MS-DOS compare truenames of temporary-file-directory and of the
11034 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11035 don't fail comparison by compare-strings. Also, compare file
11036 names case-insensitively on MS-Windows and MS-DOS.
11037
134abf1f
SM
110382013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11039
11040 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11041 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11042
d695cb94
DG
110432013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11044
e3e7b504
NF
11045 * whitespace.el (whitespace-color-on, whitespace-color-off):
11046 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11047
f4ad7ea1 110482013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11049
11050 * ispell.el (ispell-set-spellchecker-params):
11051 Really set `ispell-args' for all equivs.
11052
632556e4
SM
110532013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11054
11055 * ido.el (ido-completions): Use extra elements of ido-decorations
11056 (bug#14143).
11057 (ido-decorations): Update docstring.
11058
2a417372
MA
110592013-04-05 Michael Albinus <michael.albinus@gmx.de>
11060
11061 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11062 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11063 nil during initialization, in order not to miss changes since the
11064 file was opened. (Bug#14140)
11065
fc164b0c
LL
110662013-04-05 Leo Liu <sdl.web@gmail.com>
11067
11068 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11069
0ccecc08
JB
110702013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11071
11072 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11073
51af1aa2
GM
110742013-04-04 Glenn Morris <rgm@gnu.org>
11075
11076 * electric.el (electric-pair-inhibit-predicate): Add :version.
11077
b208ebc6
SM
110782013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11081 when a package is required several times (bug#14082).
11082
f3d3eaf0
RW
110832013-04-04 Roland Winkler <winkler@gnu.org>
11084
11085 * faces.el (read-face-name): Behave as promised by the docstring.
11086 Assume that arg default is a list of faces.
11087 (describe-face): Call read-face-name with list of default faces.
11088
2575da50
TV
110892013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11090
11091 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11092 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11093 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11094 the header.
11095 (bookmark-exit-hook-internal): Save even if list is empty.
11096
397703b4
YH
110972013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11098
11099 * emacs-lisp/package.el (package-pinned-packages): New var.
11100 (package--add-to-archive-contents): Obey it (bug#14118).
11101
691e26ae
AM
111022013-04-03 Alan Mackenzie <acm@muc.de>
11103
8a621d53
JB
11104 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11105 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11106
11107 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11108 parameter `not-in-delimiter'. Handle being inside comment opener.
11109 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11110 character in case we're typing a '*' after a '/'.
11111 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11112 instead by passing the parameter to c-state-pp-to-literal.
11113
11114 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11115 for elt. 7 of a parse state.
11116
4b725a70
PE
111172013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11118
11119 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11120 * international/latin1-disp.el, international/mule-util.el:
11121 * language/cyril-util.el, language/european.el, language/ind-util.el:
11122 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11123 * language/tibetan.el, language/viet-util.el:
11124 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11125
15c579f0
SM
111262013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11129 (electric-pair-post-self-insert-function): Use it.
11130 (electric-pair-default-inhibit): New function, extracted from
11131 electric-pair-post-self-insert-function.
11132
a77e2924
RW
111332013-03-31 Roland Winkler <winkler@gnu.org>
11134
11135 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11136
2bd8a4a8
SM
111372013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11138
11139 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11140
8d3655be 111412013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11142
11143 Un-indent after "pass" and "return" statements (Bug#13888)
11144 * progmodes/python.el (python-indent-block-enders): New var.
11145 (python-indent-calculate-indentation): Use it.
11146
8d3655be 111472013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11148
11149 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11150 defun. Defining it as defalias could introduce too eager
11151 byte-compiler optimization. (Bug#14030)
11152
8d3655be 111532013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11154
11155 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11156
0b1619da
LL
111572013-03-30 Leo Liu <sdl.web@gmail.com>
11158
11159 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11160 (kmacro-execute-from-register): Pass the keyboard macro to
11161 kmacro-call-macro or repeating won't work correctly.
11162
0b938190
TZ
111632013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11164
11165 * progmodes/subword.el: Back to using `forward-symbol'.
11166
11167 * subr.el (forward-whitespace, forward-symbol)
11168 (forward-same-syntax): Move from thingatpt.el.
11169
35710234
LL
111702013-03-29 Leo Liu <sdl.web@gmail.com>
11171
11172 * kmacro.el (kmacro-to-register): New command.
11173 (kmacro-execute-from-register): New function.
11174 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11175
efc0bb73
SM
111762013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * mpc.el: Use defvar-local and setq-local.
11179 (mpc--proc-connect): Connection failures are not bugs.
11180 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11181 (mpc-volume-map): Bind to the up-events.
11182
75a2f981
TZ
111832013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11184
11185 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11186 instead of `forward-symbol'.
11187
17c781d1
SM
111882013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11189
11190 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11191 (edebug--recursive-edit): Use it.
11192 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11193 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11194
f67bfbcf
LL
111952013-03-28 Leo Liu <sdl.web@gmail.com>
11196
11197 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11198
b59f639d
EZ
111992013-03-27 Eli Zaretskii <eliz@gnu.org>
11200
11201 * facemenu.el (list-colors-callback): New defvar.
11202 (list-colors-redisplay): New function.
11203 (list-colors-display): Install list-colors-redisplay as the
11204 revert-buffer-function. (Bug#14063)
11205
f557c1b1
SM
112062013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11207
b1da2957
SM
11208 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11209 and suffixes don't overlap (bug#14061).
11210
f557c1b1
SM
11211 * case-table.el: Use lexical-binding.
11212 (case-table-get-table): New function.
11213 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11214
002668e1
TZ
112152013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11216
11217 * progmodes/subword.el: Add `superword-mode' to do word motion
11218 over symbol_words (parallels and leverages `subword-mode' which
11219 does word motion inside MixedCaseWords).
11220
73572c72
AG
112212013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11222
78b8f320 11223 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11224 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11225
69b2c07e
SM
112262013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11227
11228 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11229 Change return value to be a sexp. Delay `get-buffer' to after
11230 restoring the desktop (bug#13951).
11231
08bb5ee2
LL
112322013-03-26 Leo Liu <sdl.web@gmail.com>
11233
11234 * register.el: Move semantic tag handling back to
11235 cedet/semantic/senator.el. (Bug#14052)
11236
8d4c974e
SM
112372013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11238
11239 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11240 into the prompt either (bug#13963).
11241
b234d92c
SM
112422013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11243
11244 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11245 part of "(error-foo)".
11246
ddfa3cb4
JL
112472013-03-24 Juri Linkov <juri@jurta.org>
11248
11249 * replace.el (list-matching-lines-prefix-face): New defcustom.
11250 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11251 `occur-engine' if `face-differs-from-default-p' returns t.
11252 (occur-engine): Add `,' inside backquote construct to evaluate
11253 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11254 Pass `prefix-face' to the functions `occur-context-lines' and
11255 `occur-engine-add-prefix'.
11256 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11257 `prefix-face' and propertize the prefix with `prefix-face'.
11258 (Bug#14017)
11259
7b0e2f85
LL
112602013-03-24 Leo Liu <sdl.web@gmail.com>
11261
11262 * nxml/rng-valid.el (rng-validate-while-idle)
11263 (rng-validate-quick-while-idle): Guard against deleted buffer.
11264 (Bug#13999)
11265
11266 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11267 is the last entry in kill-buffer-hook.
11268
11269 * files.el (kill-buffer-hook): Doc fix.
11270
b3082f49
DG
112712013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11272
b234d92c
SM
11273 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11274 Make it safe-local.
bde73d27 11275
b3082f49
DG
11276 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11277
a320a2db
LL
112782013-03-23 Leo Liu <sdl.web@gmail.com>
11279
7e74b0fb
LL
11280 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11281 Remove.
11282
11283 * nxml/rng-valid.el (rng-validate-mode)
11284 (rng-after-change-function, rng-do-some-validation):
11285 * nxml/rng-maint.el (rng-validate-buffer):
11286 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11287 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11288 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11289 (nxml-extend-after-change-region): Use with-silent-modifications.
11290
a320a2db
LL
11291 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11292 timer-idle-list.
11293
11294 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11295 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11296 timer-idle-list. (Bug#13999)
11297
e38e6780
JL
112982013-03-23 Juri Linkov <juri@jurta.org>
11299
11300 * info.el (info-index-match): New face.
11301 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11302 main pattern and add text properties with the new face to matches
11303 in index entries relative to the beginning of the index entry.
11304 (Bug#14015)
11305
e8cc7880
DE
113062013-03-21 Eric Ludlam <zappo@gnu.org>
11307
11308 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11309 Inhibit read only while inserting objects.
11310
9bb0d822
TZ
113112013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11312
11313 * progmodes/cfengine.el: Update docs to mention
11314 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11315 symbol motion. Remove "_" from the word syntax.
11316
aa703640
TZ
113172013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11318
11319 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11320 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11321
afff09d0
JL
113222013-03-20 Juri Linkov <juri@jurta.org>
11323
11324 * info.el (Info-next-reference-or-link)
11325 (Info-prev-reference-or-link): New functions.
11326 (Info-next-reference, Info-prev-reference): Use them.
11327 (Info-try-follow-nearest-node): Handle footnote navigation.
11328 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11329
9a1ff164
SM
113302013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11331
11332 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11333 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11334
2667d15d
PE
113352013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11336
11337 Suppress unnecessary non-ASCII chatter during build process.
11338 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11339 (batch-skkdic-convert): Suppress most of the chatter.
11340 It's not needed so much now that machines are faster,
11341 and its non-ASCII component was confusing; see Dmitry Gutov in
11342 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11343
438b0579
LL
113442013-03-20 Leo Liu <sdl.web@gmail.com>
11345
11346 * ido.el (ido-chop): Fix bug#10994.
11347
c128ab07
DG
113482013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11349
11350 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11351 Remove vars.
9a1ff164
SM
11352 (whitespace-color-on, whitespace-color-off):
11353 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11354
0e6008c5
SM
113552013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11356
11357 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11358 remapping in mode-line.
11359 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11360
627b52b0
DG
113612013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11362
11363 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11364 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11365 (whitespace-font-lock-keywords): Change description.
11366 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11367 the constructed keywords instead.
11368 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11369
50c3a20b
LL
113702013-03-19 Leo Liu <sdl.web@gmail.com>
11371
11372 * progmodes/compile.el (compilation-display-error): New command.
11373 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11374 C-o. (Bug#13992)
11375
2aa2157b
PE
113762013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11377
11378 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11379
e477dbfa
JD
113802013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11381
11382 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11383
64ab82d1
MA
113842013-03-18 Michael Albinus <michael.albinus@gmx.de>
11385
11386 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11387
11388 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11389 * net/tramp-gvfs.el (top):
11390 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11391 (tramp-handle-shell-command): Use it.
11392 (tramp-dissect-file-name): Raise an error when hostname is a
11393 method name, and neither method nor user is specified.
11394
11395 * net/trampver.el: Update release number.
11396
33cef733
LL
113972013-03-18 Leo Liu <sdl.web@gmail.com>
11398
11399 Make sure eldoc can be turned off properly.
11400 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11401 eldoc-mode.
11402 (eldoc-display-message-p): Revert last change.
11403 (eldoc-display-message-no-interference-p)
11404 (eldoc-print-current-symbol-info): Tweak.
11405
2167b7b2
TH
114062013-03-18 Tassilo Horn <tsdh@gnu.org>
11407
11408 * doc-view.el (doc-view-new-window-function): Check the new window
11409 overlay's display property instead the char property of the
11410 buffer's first char. Use `with-selected-window' instead of
11411 `save-window-excursion' with `select-window'.
11412 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11413 display property instead the char property of the buffer's first char.
2167b7b2 11414
982efbcd
PE
114152013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11416
11417 Automate the build of ja-dic.el (Bug#13984).
11418 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11419 from the input, rather than assume that it's been done for us by the
11420 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11421 the current date into a ja-dic.el comment, as that complicates
11422 regression testing.
11423
2fcc7665
SM
114242013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11425
11426 * whitespace.el: Fix double evaluation.
11427 (whitespace-space, whitespace-hspace, whitespace-tab)
11428 (whitespace-newline, whitespace-trailing, whitespace-line)
11429 (whitespace-space-before-tab, whitespace-indentation)
11430 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11431 obsolete defvars.
11432 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11433 (whitespace-color-on): Use a single font-lock-add-keywords call.
11434 Fix double-evaluation of face variables.
11435
67c0a6e6
MA
114362013-03-17 Michael Albinus <michael.albinus@gmx.de>
11437
2fcc7665
SM
11438 * net/tramp-adb.el (tramp-adb-parse-device-names):
11439 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11440 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11441
69489f1d
LL
114422013-03-17 Leo Liu <sdl.web@gmail.com>
11443
11444 Extend eldoc to display info in the mode-line. (Bug#13978)
11445 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11446 (eldoc-mode-line-string): New variable.
11447 (eldoc-minibuffer-message): New function.
11448 (eldoc-message-function): New variable.
11449 (eldoc-message): Use it.
11450 (eldoc-display-message-p)
2fcc7665
SM
11451 (eldoc-display-message-no-interference-p):
11452 Support eldoc-post-insert-mode.
69489f1d
LL
11453
11454 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11455 (eval-expression): Run it.
11456
9c44569e
RW
114572013-03-17 Roland Winkler <winkler@gnu.org>
11458
11459 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11460 strings in the list of return values.
11461
327f1f6f
JB
114622013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11463
11464 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11465 radix before checking for HMS forms.
11466
67ed8fcd
LL
114672013-03-16 Leo Liu <sdl.web@gmail.com>
11468
11469 * progmodes/scheme.el: Add indentation and font-locking for λ.
11470 (Bug#13975)
11471
78be8b64 114722013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11473
11474 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11475 token before point (bug#13942).
11476
78be8b64 114772013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11478
95b43468 11479 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11480
98e775e6
EZ
114812013-03-16 Eli Zaretskii <eliz@gnu.org>
11482
11483 * startup.el (command-line-normalize-file-name): Fix handling of
11484 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11485 <xfq.free@gmail.com> in
11486 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11487
2edd6029
MA
114882013-03-15 Michael Albinus <michael.albinus@gmx.de>
11489
11490 Sync with Tramp 2.2.7.
11491
11492 * net/trampver.el: Update release number.
11493
d35f5864
TH
114942013-03-14 Tassilo Horn <tsdh@gnu.org>
11495
e903c210 11496 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11497 (doc-view-insert-image): Don't modify overlay associated to
11498 non-live windows, and implement horizontal centering of image in
11499 case it's smaller than the window.
11500 (doc-view-new-window-function): Force redisplay of new windows on
11501 doc-view buffers.
d35f5864 11502
1c4a85ed
KF
115032013-03-13 Karl Fogel <kfogel@red-bean.com>
11504
11505 * saveplace.el (save-place-alist-to-file): Don't sort
11506 `save-place-alist', just pretty-print it (bug#13882).
11507
85b66a21
MA
115082013-03-13 Michael Albinus <michael.albinus@gmx.de>
11509
a020afb9
JB
11510 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11511 Check whether `default-file-name-coding-system' is bound.
11512 It isn't in XEmacs.
85b66a21 11513
175600da
SM
115142013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11515
e7f7cb1a
SM
11516 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11517 backquotes for `obsolete' (bug#13929).
11518
175600da
SM
11519 * international/mule.el (find-auto-coding): Include file name in
11520 obsolescence warning (bug#13922).
11521
ca68a22e
TZ
115222013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11523
11524 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11525 for CFEngine 3-specific indentation.
11526 (cfengine3-indent-line): Use it. Fix up category regex.
11527 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11528
940e5099
SM
115292013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11530
11531 * type-break.el (type-break-file-name):
11532 * textmodes/remember.el (remember-data-file):
11533 * strokes.el (strokes-file):
11534 * shadowfile.el (shadow-initialize):
11535 * saveplace.el (save-place-file):
11536 * ps-bdf.el (bdf-cache-file):
11537 * progmodes/idlwave.el (idlwave-config-directory):
11538 * net/quickurl.el (quickurl-url-file):
11539 * international/kkc.el (kkc-init-file-name):
11540 * ido.el (ido-save-directory-list-file):
11541 * emulation/viper.el (viper-custom-file-name):
11542 * emulation/vip.el (vip-startup-file):
11543 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11544 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11545
cc725808
PE
115462013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11547
11548 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11549 * language/thai-word.el: Switch to UTF-8.
11550
a020afb9 11551See ChangeLog.16 for earlier changes.
e3d51b27
MR
11552
11553;; Local Variables:
11554;; coding: utf-8
e3d51b27
MR
11555;; End:
11556
ab422c4d 11557 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11558
11559 This file is part of GNU Emacs.
11560
11561 GNU Emacs is free software: you can redistribute it and/or modify
11562 it under the terms of the GNU General Public License as published by
11563 the Free Software Foundation, either version 3 of the License, or
11564 (at your option) any later version.
11565
11566 GNU Emacs is distributed in the hope that it will be useful,
11567 but WITHOUT ANY WARRANTY; without even the implied warranty of
11568 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11569 GNU General Public License for more details.
11570
11571 You should have received a copy of the GNU General Public License
11572 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.