Changelog for previous checkin, missed to mark.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
41cf3d11
JD
12013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2
3 * cus-start.el (all): Add ns-use-srgb-colorspace.
4
aac2b673
CY
52013-12-21 Chong Yidong <cyd@gnu.org>
6
7 * custom.el (custom-theme-recalc-face): Do nothing if the face is
8 undefined. Thus, theme settings for undefined faces do not take
9 effect until the faces are defined with defface, the same as with
10 theme variables.
11
12 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
13 (face-spec-reset-face): Don't assign extra properties in temacs.
14 (face-spec-recalc): Apply X resources too.
15
bacb0e77
CY
162013-12-21 Chong Yidong <cyd@gnu.org>
17
18 * faces.el (face-spec-set):
19 * cus-face.el (custom-theme-set-faces, custom-set-faces):
20 * custom.el (defface): Doc fixes (Bug#16203).
21
77221051
CY
22 * indent.el (indent-rigidly-map): Add docstring, and move commands
23 into named functions.
24 (indent-rigidly-left, indent-rigidly-right)
25 (indent-rigidly-left-to-tab-stop)
26 (indent-rigidly-right-to-tab-stop): New functions. Decide on
27 indentation direction based on bidi direction, and accumulate
28 sequential commands in a single undo boundary.
29 (indent-rigidly--pop-undo): New utility function.
30
e0eb0550
JB
312013-12-20 Juanma Barranquero <lekktu@gmail.com>
32
33 * faces.el (read-face-name): Require crm.el when using crm-separator.
34
3282bd2e
DC
352013-12-20 Daniel Colascione <dancol@dancol.org>
36
37 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
38 so that we don't reflow comments into the shebang line.
39
1d42e5b6
JL
402013-12-20 Juri Linkov <juri@jurta.org>
41
42 * saveplace.el (save-place-to-alist): Add `dired-filename' as
43 a position when `dired-directory' is non-nil. Check integer
44 positions with `integerp'.
45 (toggle-save-place, save-places-to-alist): Add check for
46 `dired-directory'.
47 (save-place-find-file-hook): Check integer positions with
48 `integerp'.
49 (save-place-dired-hook): Use `dired-goto-file' when
50 `dired-filename' is found in the assoc list. Check integer
51 positions with `integerp'.
52 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
53
54 * dired.el (dired-initial-position-hook): Rename back from
55 `dired-initial-point-hook'.
56 (dired-initial-position): Rename `dired-initial-point-hook' to
57 `dired-initial-position-hook'.
58 (dired-file-name-at-point): Doc fix. (Bug#15329)
59
24da7273
JL
602013-12-20 Juri Linkov <juri@jurta.org>
61
62 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
63 (read-regexp-suggestions): New function.
64 (read-regexp): Use `read-regexp-defaults-function' to get default values.
65 Use `read-regexp-suggestions'. Add non-empty default to history
66 for empty input.
67 (occur-read-regexp-defaults-function): Remove function.
68 (occur-read-primary-args): Use `regexp-history-last' instead of
69 `occur-read-regexp-defaults-function'.
70
71 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
72 (hi-lock-line-face-buffer, hi-lock-face-buffer)
73 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
74 `hi-lock-read-regexp-defaults-function'. Doc fix.
75 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
76 with `find-tag-default-as-symbol-regexp'. Doc fix.
77 (hi-lock-read-regexp-defaults): Remove function.
78 (hi-lock-regexp-okay): Add check for null.
79
80 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
81 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
82
83 * subr.el (find-tag-default-as-symbol-regexp): New function.
84 (find-tag-default-as-regexp): Move symbol regexp formatting to
85 `find-tag-default-as-symbol-regexp'.
86
137f57c8
S
872013-12-20 E Sabof <esabof@gmail.com> (tiny change)
88
89 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
90 (Bug#14179)
91
f3a66082
SB
922013-12-20 Stephen Berman <stephen.berman@gmx.net>
93
94 * calendar/todo-mode.el: New implementation of item insertion
95 commands and key bindings.
96 (todo-key-prompt): New face.
97 (todo-insert-item): New command.
98 (todo-insert-item--parameters): New defconst, replacing defvar
99 todo-insertion-commands-args-genlist.
100 (todo-insert-item--param-key-alist): New defconst, replacing
101 defvar todo-insertion-commands-arg-key-list.
102 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
103 (todo-insert-item--argsleft, todo-insert-item--apply-args)
104 (todo-insert-item--next-param): New functions.
105 (todo-insert-item--args, todo-insert-item--argleft)
106 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
107 New variables.
108 (todo-key-bindings-t): Change binding of "i" from
109 todo-insertion-map to todo-insert-item.
110 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
111 (todo-insertion-command-name, todo-insertion-commands-names)
112 (todo-define-insertion-command, todo-insertion-commands)
113 (todo-insertion-key-bindings, todo-insertion-map): Remove.
114
2f99433b
SB
1152013-12-20 Stephen Berman <stephen.berman@gmx.net>
116
117 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
118 (todo-toggle-item-highlighting): Use eval-and-compile instead of
119 eval-when-compile.
120 (todo-move-category): Allow choosing a non-existing todo file to
121 move the category to, and create that file.
122 (todo-default-priority): New user option.
123 (todo-set-item-priority): Use it.
124 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
125 (desktop-restore-file-buffer): Declare.
126 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
127 (todo-modes-set-2): Locally set desktop-save-buffer to
128 todo-desktop-save-buffer.
129 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
130 (auto-mode-alist): Add autoload cookie.
131
131e4695
BB
1322013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
133
134 * emacs-lisp/subr-x.el: Renamed from helpers.el.
135 helpers.el was a poor choice of name.
3cbfb935
BB
136 (string-remove-prefix): New function.
137 (string-remove-suffix): New function.
131e4695 138
c44de18d
MR
1392013-12-20 Martin Rudalics <rudalics@gmx.at>
140
141 Fix assignment for new window total sizes.
142 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
143 (window--pixel-to-total-1, window--pixel-to-total):
144 Fix calculation of new total sizes.
c44de18d 145
ca65efcc
VS
1462013-12-20 Vitalie Spinu <spinuvit@gmail.com>
147
148 * comint.el (comint-output-filter): Fix rear-nonsticky property
149 placement (Bug#16010).
150
a9574eb7
CY
1512013-12-20 Chong Yidong <cyd@gnu.org>
152
153 * faces.el (read-color): Minor fix for completion function.
154
b520f210
DG
1552013-12-20 Dmitry Gutov <dgutov@yandex.ru>
156
e0eb0550
JB
157 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
158 New option. (Bug#16182)
b520f210
DG
159 (ruby-smie--indent-to-stmt-p): Use it.
160 (ruby-smie-rules): Revert the logic in the handling of `when'.
161 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
162 (ruby-deep-arglist, ruby-deep-indent-paren)
163 (ruby-deep-indent-paren-style): Update docstrings to note that the
164 vars don't have any effect with SMIE.
165
26b75b45
JB
1662013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
167
168 * calc/calc.el (calc-enter, calc-pop): Use the variable
169 `calc-context-sensitive-enter'.
170
cf91cee7
LMI
1712013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
172
173 * net/shr.el (shr-insert): Protect against infloops in degenerate
174 tables.
175
51d971b4
RS
1762013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
177
178 * progmodes/octave.el (octave): Add link to manual and octave
179 homepage.
180 (octave-mode-menu): Link to octave-mode manual.
181
8c2e462a
LL
1822013-12-20 Leo Liu <sdl.web@gmail.com>
183
184 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
185 insertion using skeleton-end-newline. (Bug#16138)
186
501158bc
JL
1872013-12-20 Juri Linkov <juri@jurta.org>
188
189 * replace.el (occur-engine): Use `add-face-text-property'
190 to add the face property to matches and titles. (Bug#14645)
191
192 * hi-lock.el (hi-green): Use lighter color "light green" closer to
193 the palette of other hi-lock colors.
194 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
195
50ab1da6
JL
1962013-12-19 Juri Linkov <juri@jurta.org>
197
198 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
199 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
200 (minibuffer-history-symbol): Move variable declaration closer to
201 its usage.
202
203 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
204 (Bug#14785)
205
3d6e95e7
JL
2062013-12-19 Juri Linkov <juri@jurta.org>
207
208 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
209 New function.
210 (log-edit-hook): Add it to :options. (Bug#16170)
211
b41594fd
JL
2122013-12-19 Juri Linkov <juri@jurta.org>
213
214 * simple.el (eval-expression-print-format): Don't check for
215 command names and the last command. Always display additional
216 formats of the integer result in the echo area, and insert them
217 to the current buffer only with a zero prefix arg.
218 Display character when char-displayable-p is non-nil.
219 (eval-expression): With a zero prefix arg, set `print-length' and
220 `print-level' to nil, and insert the integer values from
221 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
222
223 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
224 `eval-last-sexp-arg-internal'. Doc fix.
225 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
226 `eval-last-sexp-print-value'. Doc fix.
227 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
228 Set `print-length' and `print-level' to nil when arg is zero.
229 (eval-last-sexp): Doc fix.
230 (eval-defun-2): Print the integer values from
231 `eval-expression-print-format' at the end.
232
233 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
234 values from `eval-expression-print-format' at the end.
235
236 * ielm.el (ielm-eval-input): Print the integer
237 values from `eval-expression-print-format' at the end.
238
8f2be364
TZ
2392013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
240
241 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
242 2013-12-11T19:01:44Z!tzz@lifelogs.com.
243
2230a6e3
SM
2442013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
247 (hl-line-highlight, global-hl-line-highlight): Use it.
248 (hl-line-overlay): Use defvar-local.
249
1269a680
JD
2502013-12-19 Jan Djärv <jan.h.d@swipnet.se>
251
252 * term/ns-win.el: Require dnd.
253 (global-map): Remove drag items.
254 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
255 (ns-set-background-at-mouse):
256 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
257 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
258 New functions.
1269a680 259
049638ad
GM
2602013-12-19 Glenn Morris <rgm@gnu.org>
261
262 * emacs-lisp/ert.el (ert-select-tests):
263 Fix string/symbol mixup. (Bug#16121)
264
ce41edb4
DG
2652013-12-19 Dmitry Gutov <dgutov@yandex.ru>
266
267 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
268 keywords to their parent.
269
7e1549c9
DG
2702013-12-19 Dmitry Gutov <dgutov@yandex.ru>
271
272 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
273 first arg to be a string (fixed dead code), or an operator symbol.
274 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
275 operator symbols.
276 (ruby-smie-rules): Remove parent token check in the `.' clause, it
277 did nothing. Don't respond to `(:after ".")', it will be called
278 with :before anyway. Remove the ` @ ' rule, it didn't seem to
279 change anything. Only return indentation for binary operators
280 when they are hanging. De-dent opening paren when its parent is
281 `.', otherwise it looks bad when the dot is not at bol or eol
282 (bug#16182).
283
3ee4cd64
JL
2842013-12-19 Juri Linkov <juri@jurta.org>
285
286 * replace.el (query-replace-read-args): Split a non-negative arg
287 and a negative arg into separate elements.
288 (query-replace, query-replace-regexp, replace-string)
289 (replace-regexp): Add arg `backward'. Doc fix.
290 (replace-match-maybe-edit): When new arg `backward' is non-nil,
291 move point to the beginning of the match.
292 (replace-search, replace-highlight): Use new arg `backward'
293 to set the value of `isearch-forward'.
294 (perform-replace): Add arg `backward' and use it to perform
295 replacement backward. (Bug#14979)
296
297 * isearch.el (isearch-query-replace): Use a negative prefix arg
298 to call `perform-replace' with a non-nil arg `backward'.
299
0cda6b7b
JL
3002013-12-18 Juri Linkov <juri@jurta.org>
301
302 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
303 to the default list. Move `log-edit-show-files' to the end.
304 Add more available functions to options.
305 (log-edit): Move default specific settings to
306 `log-edit-insert-message-template'. Don't move point.
307 (log-edit-insert-message-template): New function.
308 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
309 (Bug#16170)
310
b216f0a6
JL
3112013-12-18 Juri Linkov <juri@jurta.org>
312
313 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
314 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
315
1d1c55dc
LL
3162013-12-18 Leo Liu <sdl.web@gmail.com>
317
318 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
319
64e4c76e
EZ
3202013-12-18 Eli Zaretskii <eliz@gnu.org>
321
322 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
323 formats for displaying file sizes when the -s switch is given.
324 Instead, compute a separate format for displaying the size in
325 blocks, which is displayed in addition to the "regular" size.
326 When -h is given in addition to -s, produce size in blocks in
327 human-readable form as well. (Bug#16179)
328
b2984e39
TH
3292013-12-18 Tassilo Horn <tsdh@gnu.org>
330
2230a6e3
SM
331 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
332 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 333
50ff2e06
CY
3342013-12-18 Chong Yidong <cyd@gnu.org>
335
0081bc84
CY
336 * cus-edit.el (custom-magic-alist): Fix "themed" description
337 (Bug#14348).
338
a7ee9424
CY
339 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
340 is non-nil, do not create a new entry in the symbol's theme-value
341 or theme-face property; update theme-settings only (Bug#14664).
18874304 342 (custom-available-themes): Doc fix.
a7ee9424 343
8f942537
CY
344 * cus-theme.el (custom-new-theme-mode-map): Add bindings
345 (Bug#15674).
346
50ff2e06
CY
347 * replace.el (occur-engine): Avoid infloop (Bug#7593).
348
83c60f60
KI
3492013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
350
351 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
352 (Bug#13914).
353
e0eb0550 3542013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
355
356 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
357
1f41ee56
GM
3582013-12-18 Glenn Morris <rgm@gnu.org>
359
360 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 361 * cus-start.el (load-prefer-newer): New option.
1f41ee56 362
e82134b1
LW
3632013-12-18 Le Wang <l26wang@gmail.com>
364
2230a6e3
SM
365 * comint.el (comint-previous-matching-input-from-input):
366 Retain point (Bug#13404).
e82134b1 367
33f5d4c1
CY
3682013-12-18 Chong Yidong <cyd@gnu.org>
369
370 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
371
ccc9f6dc
GM
3722013-12-18 Glenn Morris <rgm@gnu.org>
373
374 * mail/emacsbug.el (report-emacs-bug):
375 Only mention enable-multibyte-characters if non-standard.
376
33dd8e95
JL
3772013-12-17 Juri Linkov <juri@jurta.org>
378
379 * arc-mode.el (archive-extract-by-file): Check if directory exists
380 before deletion to not show irrelevant errors if it doesn't exist.
381
7a409b30
JL
3822013-12-17 Juri Linkov <juri@jurta.org>
383
384 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
385 (Bug#14751)
386
387 * net/eww.el (browse-web): Add alias to `eww'.
388 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
389 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
390
391 * net/browse-url.el (browse-url-browser-function): Move `eww'
392 closer to similar functions.
393
394 * startup.el (fancy-startup-screen, fancy-about-screen):
395 Set browse-url-browser-function to eww-browse-url locally.
396 (Bug#14751)
397
2d6b6005
SM
3982013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * window.el (window--pixel-to-total): Remove unused `mini' var.
401 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
402 (split-window): Remove unused `new' var.
403 (window--display-buffer): Remove unused `frame' and `delta' vars.
404 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
405 and display-width'.
406
cf2b7efc
MR
4072013-12-17 Martin Rudalics <rudalics@gmx.at>
408
409 * dired.el (dired-mark-pop-up):
410 * register.el (register-preview): Don't bind
411 split-height-threshold here since it's now done in
412 display-buffer-below-selected.
413
ed3af8a7 4142013-12-17 oblique <psyberbits@gmail.com> (tiny change)
415
416 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
417 xterm-rgb-convert-to-16bit.
418 (rxvt-register-default-colors): Standardize with
419 xterm-register-default-colors (Bug#14078).
420
76da3455
DK
4212013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
422
423 * simple.el (kill-region): Pass mark first, then point, so that
424 kill-append works right (Bug#12819).
425 (copy-region-as-kill, kill-ring-save): Likewise.
426
2b84d763
LL
4272013-12-17 Leo Liu <sdl.web@gmail.com>
428
429 * net/rcirc.el (rcirc-add-face):
430 * eshell/em-prompt.el (eshell-emit-prompt):
431 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
432 (Bug#16167)
433
e2f6a0bc
CY
4342013-12-17 Chong Yidong <cyd@gnu.org>
435
436 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
437 Suggested by Xue Fuqiao.
438
35b249a6
DG
4392013-12-17 Dmitry Gutov <dgutov@yandex.ru>
440
441 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
442
e9145444
SM
4432013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * net/shr.el (shr-insert-document): Remove unused var
446 `shr-preliminary-table-render'.
447 (shr-rescale-image): Remove unused arg `force'.
448 (shr-put-image): Update calls accordingly.
449 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
450
5556c0ce
DG
4512013-12-17 Dmitry Gutov <dgutov@yandex.ru>
452
453 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
454 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
455 :close-all, to see which indentation method to use (Bug#16116).
456 (smie-rules-function): Document the method :close-all.
457
11bade0a
LMI
4582013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
459
1c4b1e61
LMI
460 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
461
11bade0a
LMI
462 * net/eww.el (eww-display-html): If we can't find the anchor we're
463 looking for, then go to point-min.
464
8fb8c4f3
PE
4652013-12-16 Paul Eggert <eggert@cs.ucla.edu>
466
467 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
468 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
469 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
470 Expand dir too, in case it's relative.
471
6c8e0ae6
JL
4722013-12-16 Juri Linkov <juri@jurta.org>
473
474 * desktop.el (desktop-auto-save-timeout): Change default to
475 `auto-save-timeout'. Doc fix.
476 (desktop-save): Skip the timestamp in desktop-saved-frameset
477 when checking for auto-save changes.
478 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
479 `desktop-auto-save' is called repeatedly by the idle timer.
480 (desktop-auto-save-set-timer): Replace `run-with-timer' with
481 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
482 (Bug#15331)
483
2178e858
JL
4842013-12-16 Juri Linkov <juri@jurta.org>
485
486 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
487 (Bug#16035)
488 (isearch-pre-command-hook): Check `this-command' for symbolp.
489
39cb42c6
SM
4902013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
491
492 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
493
5b9b750a
TZ
4942013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
495
496 * progmodes/cfengine.el (cfengine3--current-word): Remove.
497 (cfengine3--current-function): Bring in the current-function
498 functionality from `cfengine3--current-word'.
499 (cfengine3-completion-function): Bring in the
500 bounds-of-current-word functionality from
501 `cfengine3--current-word'.
502
d144ef06
MR
5032013-12-16 Martin Rudalics <rudalics@gmx.at>
504
39cb42c6
SM
505 * window.el (display-buffer-below-selected):
506 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 507
a8bbe298
LL
5082013-12-16 Leo Liu <sdl.web@gmail.com>
509
510 * progmodes/compile.el (compile-goto-error): Do not push-mark.
511 Remove NOMSG arg and all uses changed.
512
2013a2f9
SM
5132013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
516 (cua--deactivate-rectangle): Don't deactivate the mark.
517 (cua-set-rectangle-mark): Don't set mark-active since
518 cua--activate-rectangle already does it for us.
519 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
520 non-rectangular region.
521
522 * emulation/cua-base.el (cua-repeat-replace-region):
523 Use with-current-buffer.
524
525 * net/gnutls.el: Use cl-lib.
526 (gnutls-negotiate): `mapcan' -> cl-mapcan.
527
5ae811dd
TZ
5282013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
529
530 * emacs-lisp/package.el (package-built-in-p): Support both
531 built-in and the package.el converted package descriptions.
532 (package-show-package-list): Allow keywords.
533 (package-keyword-button-action): Use it instead of
534 `finder-list-matches'.
535 (package-menu-filter-interactive): Interactive filtering (by
536 keyword) function.
537 (package-menu--generate): Support keywords and change keymappings
538 and headers when they are given.
539 (package--has-keyword-p): Helper function.
540 (package-menu--refresh): Use it.
541 (package--mapc): Helper function.
542 (package-all-keywords): Use it.
543 (package-menu-mode-map): Set up menu items and keybindings to
544 provide a filtering UI.
545
31b4827e
TZ
5462013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
547
548 * net/gnutls.el (gnutls-verify-error): New defcustom to control
549 the behavior when a certificate fails validation. Defaults to
550 old behavior: never abort, just warn.
551 (gnutls-negotiate): Use it.
552
f93cc74f
MR
5532013-12-14 Martin Rudalics <rudalics@gmx.at>
554
555 * window.el (display-buffer-below-selected): Never split window
556 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
557
f77d7d17
TW
5582013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
559
560 * emacs-lisp/package.el (package--prepare-dependencies): New function.
561 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
562
563 * icomplete.el (icomplete-completions): Make sure the prefix is already
564 displayed elsewhere before hiding it.
565
276bc333
DG
5662013-12-14 Dmitry Gutov <dgutov@yandex.ru>
567
568 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
569 open-paren tokens when preceded by a open-paren, too.
570 (ruby-smie-rules): Handle virtual indentation after open-paren
571 tokens specially. If there is code between it and eol, return the
572 column where is starts (Bug#16118).
573
d43957f3
TZ
5742013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
575
a5c1ac0c 576 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 577 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
578 (cfengine3--current-word): Fix parameters.
579 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
580 (cfengine3-completion-function, cfengine3--current-function):
581 Use `assq' for symbols.
d43957f3
TZ
582 (cfengine3--current-function): Fix `cfengine3--current-word' call.
583
06a4f110
GM
5842013-12-13 Glenn Morris <rgm@gnu.org>
585
586 * loadup.el (load-path): Warn if site-load or site-init changes it.
587 No more need to reset it when bootstrapping.
588
978a5fda
TZ
5892013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
590
591 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
592 locations for cf-promises.
593 (cfengine-mode-syntax-functions-regex): New caching variable.
594 (cfengine3-fallback-syntax): Fallback syntax for cases where
595 cf-promises doesn't run.
596 (cfengine3--current-word): Reimplement using
597 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
598 (cfengine3-completion-function, cfengine3--current-function):
599 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
600 (cfengine3-clear-syntax-cache): New function.
601 (cfengine3-make-syntax-cache): Simplify and create
602 `cfengine-mode-syntax-functions-regex' on demand.
603 (cfengine3-format-function-docstring): Don't call
604 `cfengine3-make-syntax-cache' explicitly.
605
71e6691e
MR
6062013-12-13 Martin Rudalics <rudalics@gmx.at>
607
608 Fix windmove-find-other-window broken after pixelwise resizing
609 (Bug#16017).
610 * windmove.el (windmove-other-window-loc): Revert change from
611 2013-12-04.
612 (windmove-find-other-window): Call window-in-direction.
613 * window.el (window-in-direction): New arguments SIGN, WRAP and
614 MINI to emulate original windmove-find-other-window behavior.
615
84c73ba0
DG
6162013-12-13 Dmitry Gutov <dgutov@yandex.ru>
617
618 * simple.el (blink-matching--overlay): New variable.
619 (blink-matching-open): Instead of moving point, highlight the
620 matching paren with an overlay
621 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
622
623 * faces.el (paren-showing-faces, show-paren-match)
624 (show-paren-mismatch): Move from paren.el.
625
b9e20952
LL
6262013-12-13 Leo Liu <sdl.web@gmail.com>
627
628 * indent.el (indent-region): Disable progress reporter in
629 minibuffer. (Bug#16108)
630
631 * bindings.el (visual-order-cursor-movement): Fix version.
632
ce030451
FEG
6332013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
634
635 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
636 Also match after beginning of line.
637 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
638 files. Thanks to Russell Sim. (Bug#15378)
639
4a9c6865
JL
6402013-12-13 Juri Linkov <juri@jurta.org>
641
642 * simple.el <Keypad support>: Remove key bindings duplicated
643 with bindings.el. (Bug#14397)
644
2bc170c3
JL
6452013-12-13 Juri Linkov <juri@jurta.org>
646
647 * comint.el (comint-mode-map): Replace `delete-char' with
648 `delete-forward-char'. (Bug#16109)
649
bc9222c9
FEG
6502013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
651
aa2bddd7
SM
652 * progmodes/python.el (python-indent-calculate-indentation):
653 Fix de-denters cornercase. (Bug#15731)
bc9222c9 654
cb3a1380
SM
6552013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
658 (advice--make): Pay attention to `depth'.
659 (advice--make-1): Don't autoload commands eagerly.
660 * emacs-lisp/elp.el (elp-instrument-function):
661 * emacs-lisp/trace.el (trace-function-internal):
662 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
663
664 * iswitchb.el (iswitchb-mode): Don't belittle ido.
665
01633a17
EZ
6662013-12-12 Eli Zaretskii <eliz@gnu.org>
667
668 * term/w32-win.el (w32-handle-dropped-file):
669 * startup.el (normal-top-level):
670 * net/browse-url.el (browse-url-file-url):
671 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
672 decode file names using 'utf-8' rather than
673 file-name-coding-system.
674
09faee72
FEG
6752013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
676
677 * progmodes/python.el (python-indent-context)
678 (python-indent-calculate-indentation): Fix auto-identation
679 behavior for comment blocks. (Bug#15916)
680
f4f84024 6812013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 682
cb3a1380
SM
683 * progmodes/python.el (python-indent-calculate-indentation):
684 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
685 operators when they are just string constituents. (Bug#15812)
686
d5ccb7be
JL
6872013-12-12 Juri Linkov <juri@jurta.org>
688
689 * uniquify.el (uniquify-buffer-name-style): Change default to
690 `post-forward-angle-brackets'.
691
692 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
693 `uniquify'. Change default to `post-forward-angle-brackets'.
694
7b3f5679
GM
6952013-12-11 Glenn Morris <rgm@gnu.org>
696
697 * emacs-lisp/package.el (finder-list-matches):
698 Autoload rather than falsely declaring.
699
f4fe8fdd
TZ
7002013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
701
702 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
703 (eww-mode-map): Use them.
704
3c29190f
MR
7052013-12-11 Martin Rudalics <rudalics@gmx.at>
706
707 * window.el (display-buffer-in-side-window): Fix doc-string
708 (Bug#16115).
709
0cd616a2
JB
7102013-12-11 Juanma Barranquero <lekktu@gmail.com>
711
712 * vc/vc-git.el: Silence byte-compiler warnings.
713 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
714 (log-edit-set-header): Declare.
715
3ef8e0d1
EZ
7162013-12-11 Eli Zaretskii <eliz@gnu.org>
717
718 * Makefile.in (custom-deps, finder-data): Run output file names
719 through unmsys--file-name. (Bug#16099)
720
afdadaf7
SM
7212013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
722
7ae3ae39 723 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 724 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 725
5b4f37ab
SM
726 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
727 instead of deleting the selection "by hand" (bug#16098).
728 Rely on insert-for-yank to yank rectangles.
729 (cua-highlight-region-shift-only): Mark obsolete.
730 (cua-mode): Don't enable/disable transient-mark-mode,
731 shift-select-mode (cua-mode works both with and without them), and
732 pc-selection-mode (obsolete).
733 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
734 (cua--deactivate-rectangle): Deactivate it.
735
4b72c12b
SM
736 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
737 (delete-selection-helper): Make sure yank starts at the top of the
738 deleted region.
739 (minibuffer-keyboard-quit): Use region-active-p.
740
e82af72d
SM
741 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
742
afdadaf7
SM
743 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
744 to `delete' (bug#16109).
745
ed4bc201
RS
7462013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
747
748 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
749 info manual and show keybindings and set `:group' keyword.
750
bb8097b9
JL
7512013-12-11 Juri Linkov <juri@jurta.org>
752
753 * delsel.el (delete-active-region): Let-bind `this-command'
754 to prevent `kill-region' from changing its original value.
755 (delete-selection-helper): Handle `overwrite-mode' for the type
756 `kill' exactly the same way as for the type `t'.
757 (insert-char, quoted-insert, reindent-then-newline-and-indent):
758 Support more commands. (Bug#13312)
759
c1916ff5
JL
7602013-12-11 Juri Linkov <juri@jurta.org>
761
762 * bindings.el: Map kp keys to non-kp keys systematically
763 with basic modifiers control, meta and shift. (Bug#14397)
764
e0eb0550 7652013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
b68cf43c
KN
766
767 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
768 "Close browser" menu items. Fix wrong function of "List
769 bookmarks".
770
4cc51eaf
JL
7712013-12-11 Juri Linkov <juri@jurta.org>
772
773 * misearch.el (multi-isearch-buffers): Set the value of
774 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
775 arg of isearch-forward to t.
776 (multi-isearch-buffers-regexp): Set the value of
777 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
778 arg of isearch-forward-regexp to t.
779 (multi-isearch-files): Set the value of
780 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
781 arg of isearch-forward to t.
782 (multi-isearch-files-regexp): Set the value of
783 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
784 arg of isearch-forward-regexp to t. (Bug#16035)
785
786 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
787 arg of isearch-forward to t.
788 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
789 arg of isearch-forward-regexp to t.
790 (dired-isearch-filter-filenames): Remove unnecessary check for
791 `dired-isearch-filenames'.
792
793 * comint.el (comint-history-isearch-backward):
794 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
795 (comint-history-isearch-backward-regexp):
796 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
797
ceac12b7
EZ
7982013-12-10 Eli Zaretskii <eliz@gnu.org>
799
800 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
801 unmsys--file-name. (Bug#16099)
802
5a565782
TZ
8032013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
804
cb3a1380
SM
805 * emacs-lisp/package.el (package-keyword-button-action):
806 Remove finder.el require dependency.
5a565782 807
a81fc7ba
TZ
8082013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
809
810 * emacs-lisp/package.el: Require finder.el.
811 (describe-package-1): Add keyword buttons.
812 (package-make-button): New convenience function.
813 (package-keyword-button-action): Keyword button action using
e0eb0550 814 `finder-list-matches'.
a81fc7ba 815
6aaca951
EZ
8162013-12-09 Eli Zaretskii <eliz@gnu.org>
817
818 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
819 last commit.
820
a1099a91
MA
8212013-12-09 Michael Albinus <michael.albinus@gmx.de>
822
823 * autorevert.el (auto-revert-notify-add-watch): Do not handle
824 symlinked files.
825
8212d9c0
DG
8262013-12-09 Dmitry Gutov <dgutov@yandex.ru>
827
828 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
829 after the end of a percent literal.
830
8f48d131
CD
8312013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
832
cb3a1380
SM
833 * progmodes/ruby-mode.el (ruby-forward-string): Document.
834 Handle caret-delimited strings (Bug#16079).
8f48d131 835
ff8c9764
DG
8362013-12-09 Dmitry Gutov <dgutov@yandex.ru>
837
cb3a1380
SM
838 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
839 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
840 `ruby-parse-partial' (Bug#16078).
841
d64643b4
LL
8422013-12-09 Leo Liu <sdl.web@gmail.com>
843
844 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
845
47e59c66
DG
8462013-12-08 Dmitry Gutov <dgutov@yandex.ru>
847
848 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
849 (js-switch-indent-offset): New option.
850 (js--proper-indentation): Use it. And handle the case when
851 "default" is actually a key in an object literal.
852 (js--same-line): New function.
853 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
854 (js--indent-in-array-comp, js--array-comp-indentation):
855 New functions.
47e59c66
DG
856 (js--proper-indentation): Use them, to handle array comprehension
857 continuations.
858
974ebc9c
LL
8592013-12-08 Leo Liu <sdl.web@gmail.com>
860
861 * progmodes/flymake.el (flymake-highlight-line): Re-write.
862 (flymake-make-overlay): Remove arg MOUSE-FACE.
863 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
864
27262e39
SM
8652013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
868 New function.
869 (redisplay-highlight-region-function): Use it.
870
871 * emulation/cua-base.el (cua--explicit-region-start)
872 (cua--last-region-shifted): Remove.
873 (cua--deactivate): Use deactivate-mark.
874 (cua--pre-command-handler-1): Don't handle shift-selection.
875 (cua--post-command-handler-1): Don't change transient-mark-mode.
876 (cua--select-keymaps): Use region-active-p rather than
877 cua--explicit-region-start or cua--last-region-shifted.
878 (cua-mode): Enable shift-select-mode.
879
6407822c
LL
8802013-12-08 Leo Liu <sdl.web@gmail.com>
881
27262e39
SM
882 * progmodes/flymake.el (flymake-popup-current-error-menu):
883 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
884 (flymake-posn-at-point-as-event, flymake-popup-menu)
885 (flymake-make-emacs-menu): Remove. (Bug#16077)
886
00a2b823
SM
8872013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
888
02033d49
SM
889 * rect.el (rectangle-mark-mode): Activate mark even if
890 transient-mark-mode is off (bug#16066).
891 (rectangle--highlight-for-redisplay): Fix boundary condition when point
892 is > mark and at bolp.
893
6f8dfccf
SM
894 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
895 (region-extract-function): Use it.
896 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
897 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
898 Delete functions.
899 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
900 kill-ring-save, kill-region, delete-char, delete-forward-char.
901 Ignore self-insert-iso.
902
903 * emulation/cua-gmrk.el (cua--init-global-mark):
904 Ignore `self-insert-iso'.
905
906 * emulation/cua-base.el (cua--prefix-copy-handler)
907 (cua--prefix-cut-handler): Rely on region-extract-function rather than
908 checking cua--rectangle.
909 (cua-delete-region): Use region-extract-function.
910 (cua-replace-region): Delete function.
911 (cua-copy-region, cua-cut-region): Obey region-extract-function.
912 (cua--pre-command-handler-1): Don't do the delete-selection thing.
913 (cua--self-insert-char-p): Ignore `self-insert-iso'.
914 (cua--init-keymaps): Don't remap delete-selection commands.
915 (cua-mode): Use delete-selection-mode instead of rolling our own
916 (bug#16085).
917
918 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
919 Obey region-extract-function.
920
00a2b823
SM
921 Make registers and delete-selection-mode work on rectangles.
922 * register.el (describe-register-1): Don't modify the register's value.
923 (copy-to-register): Obey region-extract-function.
924 * delsel.el (delete-active-region): Obey region-extract-function.
925
a92fa5f1
LL
9262013-12-08 Leo Liu <sdl.web@gmail.com>
927
928 * progmodes/flymake.el (flymake, flymake-error-bitmap)
929 (flymake-warning-bitmap, flymake-fringe-indicator-position)
930 (flymake-compilation-prevents-syntax-check)
931 (flymake-start-syntax-check-on-newline)
932 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
933 (flymake-start-syntax-check-on-find-file, flymake-log-level)
934 (flymake-xml-program, flymake-master-file-dirs)
935 (flymake-master-file-count-limit)
936 (flymake-allowed-file-name-masks): Relocate.
937 (flymake-makehash, flymake-float-time)
938 (flymake-replace-regexp-in-string, flymake-split-string)
939 (flymake-get-temp-dir): Remove.
940 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
941 (flymake-current-row, flymake-selected-frame)
942 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
943 related functions. (Bug#16077)
944
73c8ceea
BB
9452013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
946
947 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
948
faec28d9
TH
9492013-12-07 Tassilo Horn <tsdh@gnu.org>
950
951 * help-fns.el (describe-function-1): Use new advice-* functions
952 rather than old ad-* functions. Fix function type description and
953 source links for advised functions and subrs.
954
e330b646
LMI
9552013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
956
00a2b823 957 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 958
4803595d
MA
9592013-12-06 Michael Albinus <michael.albinus@gmx.de>
960
961 * progmodes/compile.el (compilation-start):
962 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
963
964 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
965 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
966
fa834a93
DG
9672013-12-06 Dmitry Gutov <dgutov@yandex.ru>
968
00a2b823
SM
969 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
970 Touch up the last change.
fa834a93 971
b2856a6f
LL
9722013-12-06 Leo Liu <sdl.web@gmail.com>
973
974 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
975 (inferior-octave-startup): Always use "octave> " for prompt.
976 (octave-goto-function-definition)
977 (octave-sync-function-file-names)
978 (octave-find-definition-default-filename): Remove redundant backquotes.
979
af67e79a
DG
9802013-12-06 Dmitry Gutov <dgutov@yandex.ru>
981
982 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
983 syntax for `?'.
984 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
985 where appropriate already.
986 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
987 end of method names (Bug#15874).
988
bf093209
JL
9892013-12-06 Juri Linkov <juri@jurta.org>
990
991 * isearch.el (isearch--saved-overriding-local-map):
992 New internal variable.
993 (isearch-mode): Set it to the initial value of
994 `overriding-terminal-local-map'.
995 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
996 with `isearch--saved-overriding-local-map'. (Bug#16035)
997
16588fad
DG
9982013-12-06 Dmitry Gutov <dgutov@yandex.ru>
999
00a2b823
SM
1000 * progmodes/octave.el (inferior-octave-completion-table):
1001 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1002 (Bug#11906). Update all references.
1003
1004 * minibuffer.el (completion-table-with-cache): New function.
1005
bf4906d7
CD
10062013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1007
1008 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1009
ff69c18f
TZ
10102013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1011
1012 * net/eww.el (eww-current-source): New variable to store page
1013 source.
1014 (eww-display-html, eww-mode, eww-save-history)
1015 (eww-restore-history): Use it.
1016 (eww-view-source): New command to view page source.
1017 Opportunistically uses `html-mode' to highlight the buffer.
1018 (eww-mode-map): Install it.
1019
b85eff45
MA
10202013-12-05 Michael Albinus <michael.albinus@gmx.de>
1021
1022 * net/dbus.el (dbus-unregister-service)
1023 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1024 Fix docstring.
1025 (dbus-unregister-service): Skip :serial entries in
1026 `dbus-registered-objects-table'.
1027 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1028
39eb0899
TZ
10292013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1030
1031 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1032 around keywords with extra `split-string' argument.
1033
456760a5
MR
10342013-12-04 Martin Rudalics <rudalics@gmx.at>
1035
1036 * windmove.el (windmove-other-window-loc): Handle navigation
1037 between windows (excluding the minibuffer window - Bug#16017).
1038
81961e4c
MA
10392013-12-04 Michael Albinus <michael.albinus@gmx.de>
1040
1041 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1042 in D-Bus type syntax.
1043 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1044 preserve unibyte strings. (Bug#16048)
1045
8497f938
SM
10462013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1049 Call force-mode-line-update is the proper buffer (bug#16042).
1050
dda61916
DG
10512013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1052
1053 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1054 `log-edit-remember-comment', make argument optional. Adjust all
1055 callers.
1056 (log-edit-mode): Add `log-edit-remember-comment' to
1057 `kill-buffer-hook' locally.
1058 (log-edit-kill-buffer): Don't remember comment explicitly since
1059 the buffer is killed anyway.
1060
c085e5b9
JL
10612013-12-04 Juri Linkov <juri@jurta.org>
1062
1063 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1064 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1065
e0eb0550 10662013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1067
1068 * notifications.el (notifications-close-notification): Call the
81961e4c 1069 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1070
39fa32d6
KY
10712013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1072
1073 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1074
9139632a
JL
10752013-12-03 Juri Linkov <juri@jurta.org>
1076
1077 * progmodes/compile.el (compilation-start): Rename window alist
1078 entry `no-display-ok' to `allow-no-window'.
1079
1080 * simple.el (shell-command): Add window alist entry
1081 `allow-no-window' to `display-buffer'.
1082 (async-shell-command): Doc fix.
1083
1084 * window.el (display-buffer-no-window): New action function.
1085 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1086
0f457a37
DG
10872013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1088
1089 * vc/log-edit.el (log-edit-set-header): Extract from
1090 `log-edit-toggle-header'.
1091 (log-edit-extract-headers): Separate the summary, when extracted
1092 from header, from the rest of the message with an empty line.
1093
1094 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1095 line, if present, to the Summary header.
1096
0962f376
SM
10972013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1100 in current-buffer (bug#16029).
1101
f345395c
HE
11022013-12-02 Helmut Eller <eller.helmut@gmail.com>
1103
1104 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1105 (debugger-mode-map): Bind it.
1106 (debugger--backtrace-base): New function.
1107 (debugger-eval-expression): Use it.
1108 (debugger-frame-number): Skip local vars when present.
1109 (debugger--locals-visible-p, debugger--insert-locals)
1110 (debugger--show-locals, debugger--hide-locals): New functions.
1111
a8a15d9d
MA
11122013-12-02 Michael Albinus <michael.albinus@gmx.de>
1113
1114 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1115 "LC_ALL".
1116 (tramp-get-remote-locale): New defun.
1117 (tramp-open-connection-setup-interactive-shell): Use it.
1118
0518b057
LL
11192013-12-02 Leo Liu <sdl.web@gmail.com>
1120
1121 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1122
1123 * progmodes/sh-script.el (sh-shell-process):
1124 * progmodes/octave.el (inferior-octave-process-live-p):
1125 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1126 (gdb-inferior-io-sentinel):
1127 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1128
3adc9c6d
DG
11292013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1130
1131 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1132 `save-selected-window' to `log-edit-hide-buf'. This makes
1133 `log-edit-show-files' idempotent.
1134 (log-edit-show-files): Mark the new window as dedicated.
1135
47e8b74e
DG
11362013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1137
1138 * vc/log-edit.el (log-edit-mode-map): Add binding for
1139 `log-edit-kill-biffer'.
1140 (log-edit-hide-buf): Add a FIXME comment.
1141 (log-edit-add-new-comment): New function, extracted from
1142 `log-edit-done'.
1143 (log-edit-done, log-edit-add-to-changelog): Use it.
1144 (log-edit-kill-buffer): New command.
1145
1f6e1bb0
LMI
11462013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1147
1148 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1149 instead of killing the buffer.
1150
fb651d15
SM
11512013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1154
8feacce0
RS
11552013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1156
fb651d15 1157 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1158 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1159 (eww-form-checkbox, eww-toggle-checkbox):
1160 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1161
e0eb0550 1162 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1163 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1164 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1165 no :src tag was specified.
1166
fb651d15 1167 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1168 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1169 Use \\` to match beginning of string instead of ^.
1170 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1171 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1172
177948a5
RS
1173 * net/shr.el (shr-tag-video): Display content for video if no
1174 poster is available.
eb2dd24d 1175 (shr-tag-audio): Add support for <audio> tag.
177948a5 1176
e0eb0550 1177 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1178 (eww-process-text-input): Treat input types in
1179 `eww-text-input-types' as text.
1180
8feacce0
RS
1181 * net/shr.el (shr-tag-table): Fix comment typo.
1182
513562a1
LMI
11832013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1184
1185 * net/eww.el (eww-follow-link): New command to avoid reloading
1186 pages when we follow #target links (bug#15243).
de8a5633 1187 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1188
9dd99753
KN
11892013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1190
1191 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1192 forms.
1193
3e9876de
LMI
11942013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1195
1196 * net/eww.el (eww-restore-history): Update the window title after
1197 moving in the history.
ab6dea82 1198 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1199
52789f7f
DG
12002013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1201
1202 * vc/log-edit.el (log-edit-mode-map): Add binding for
1203 `log-edit-beginning-of-line'.
1204 (log-edit-setup-add-author): New user option.
1205 (log-edit-beginning-of-line): New command.
1206 (log-edit): Move major mode call above the contents setup so that
1207 the local variable values are already applied.
1208 (log-edit): Only insert "Author: " when
1209 `log-edit-setup-add-author' is non-nil.
1210 (log-edit): When SETUP is non-nil, position point after ": "
1211 instead of point-min.
1212
2e6710c3
GM
12132013-12-01 Glenn Morris <rgm@gnu.org>
1214
1215 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1216
fadec31f
EZ
12172013-11-30 Eli Zaretskii <eliz@gnu.org>
1218
1219 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1220 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1221 visible. (Bug#16014)
1222
10634b40 12232013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1224
1225 Support resizing frames and windows pixelwise.
1226 * cus-start.el (frame-resize-pixelwise)
1227 (window-resize-pixelwise): New entries.
1228 * emacs-lisp/debug.el (debug): Use window-total-height instead
1229 of window-total-size.
1230 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1231 * help.el (describe-bindings-internal): Call help-buffer
1232 (temp-buffer-max-width): New option.
1233 (resize-temp-buffer-window, help-window-setup)
1234 (with-help-window): Rewrite.
1235 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1236 dragging dividers.
1237 * window.el (frame-char-size, window-min-pixel-height)
1238 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1239 (window-min-pixel-width, window-safe-min-pixel-size)
1240 (window-combination-p, window-safe-min-size)
1241 (window-resizable-p, window--size-to-pixel)
1242 (window--pixel-to-size, window--resize-apply-p): New functions.
1243 (window-safe-min-height): Fix doc-string.
1244 (window-size, window-min-size, window--min-size-1)
1245 (window-sizable, window-sizable-p, window--min-delta-1)
1246 (window-min-delta, window--max-delta-1, window-max-delta)
1247 (window--resizable, window--resizable-p, window-resizable)
1248 (window-full-height-p, window-full-width-p, window-at-side-p)
1249 (window--in-direction-2, window-in-direction)
1250 (window--resize-reset-1, window--resize-mini-window)
1251 (window-resize, window-resize-no-error)
1252 (window--resize-child-windows-normal)
1253 (window--resize-child-windows, window--resize-siblings)
1254 (window--resize-this-window, window--resize-root-window)
1255 (window--resize-root-window-vertically)
1256 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1257 (maximize-window, minimize-window, delete-window)
1258 (quit-restore-window, window-split-min-size, split-window)
1259 (balance-windows-2, balance-windows)
1260 (balance-windows-area-adjust, balance-windows-area)
1261 (window--state-get-1, window-state-get, window--state-put-1)
1262 (window--state-put-2, window-state-put)
fb651d15
SM
1263 (display-buffer-record-window, window--display-buffer):
1264 Make functions handle pixelwise sizing of windows.
880e6158 1265 (display-buffer--action-function-custom-type)
fb651d15
SM
1266 (display-buffer-fallback-action):
1267 Add display-buffer-in-previous-window.
880e6158
MR
1268 (display-buffer-use-some-window): Resize window to height it had
1269 before.
1270 (fit-window-to-buffer-horizontally): New option.
1271 (fit-frame-to-buffer): Describe new values.
1272 (fit-frame-to-buffer-bottom-margin): Replace with
1273 fit-frame-to-buffer-margins.
1274 (window--sanitize-margin): New function.
1275 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1276 using window-text-pixel-size.
1277
f9b697dd
GM
12782013-11-30 Glenn Morris <rgm@gnu.org>
1279
3e2fb4db
GM
1280 * emacs-lisp/bytecomp.el (byte-compile-form):
1281 Make the `interactive-only' warning like the `obsolete' one.
1282 * comint.el (comint-run):
1283 * files.el (insert-file-literally, insert-file):
1284 * replace.el (replace-string, replace-regexp):
1285 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1286 (goto-line, insert-buffer, next-line, previous-line):
1287 Tweak `interactive-only' spec.
1288
f9b697dd
GM
1289 Stop keeping (most) generated cedet grammar files in the repository.
1290 * Makefile.in (semantic): New.
1291 (compile-main): Depend on semantic.
1292
da048127
SM
12932013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1294
7784b779
SM
1295 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1296 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1297
4e36a6a6
SM
1298 * uniquify.el (uniquify-buffer-name-style): Change default.
1299
1300 * loadup.el: Preload "uniquify".
1301
e0ba1308
SM
1302 * time.el (display-time-update): Update all mode lines (bug#15999).
1303
da048127
SM
1304 * electric.el (electric-indent-mode): Enable by default.
1305 * loadup.el: Preload "electric".
1306
015b3b3e
BB
13072013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1308
1309 * emacs-lisp/helpers.el (string-empty-p): New function.
1310 (string-blank-p): New function.
1311
7efb806d
AP
13122013-11-29 Andreas Politz <politza@hochschule-trier.de>
1313
1314 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1315 (Bug#14029).
1316
c8f0efc2
AP
13172013-11-29 Andreas Politz <politza@fh-trier.de>
1318 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1319 allow non-lambda lists as functions.
1320 (imenu--in-alist): Don't recurse into non-subalists.
1321 (imenu): Don't pass function itself as an argument (Bug#14029).
1322
bd15d9d1
SM
13232013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * progmodes/python.el (python-mode-map): Remove binding for ":".
1326 (python-indent-electric-colon): Remove command.
1327 (python-indent-post-self-insert-function): Integrate the previous code
1328 of python-indent-electric-colon. Make it conditional on
1329 electric-indent-mode.
1330 (python-mode): Add ?: to electric-indent-chars.
1331 Move python-indent-post-self-insert-function to the end of
1332 post-self-insert-hook.
1333
1b10adb6
SM
13342013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1335
655ab9a3
SM
1336 * doc-view.el (doc-view-goto-page): Update mode-line.
1337
1b10adb6
SM
1338 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1339
7e3bf78c
GM
13402013-11-27 Glenn Morris <rgm@gnu.org>
1341
1342 * international/charprop.el, international/uni-bidi.el:
1343 * international/uni-category.el, international/uni-combining.el:
1344 * international/uni-comment.el, international/uni-decimal.el:
1345 * international/uni-decomposition.el, international/uni-digit.el:
1346 * international/uni-lowercase.el, international/uni-mirrored.el:
1347 * international/uni-name.el, international/uni-numeric.el:
1348 * international/uni-old-name.el, international/uni-titlecase.el:
1349 * international/uni-uppercase.el:
1350 Remove generated files from VCS repository.
1351
fb6a5d68
EZ
13522013-11-27 Eli Zaretskii <eliz@gnu.org>
1353
1354 * filenotify.el (file-notify-add-watch): Don't special-case
1355 w32notify when computing the directory to watch.
1356
cb6c95a3
GM
13572013-11-27 Glenn Morris <rgm@gnu.org>
1358
20372d0c
GM
1359 Make bootstrap without generated uni-*.el files possible again.
1360 * loadup.el: Update command-line-args checking for unidata-gen.
1361 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1362 * composite.el, international/characters.el:
1363 Handle unicode tables being undefined.
1364
52d6635f 1365 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1366 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1367 (compile-main): Depend on leim rule.
1368 (leim): New rule.
1369 * loadup.el: Move leim-list.el to leim/ subdirectory.
1370 * startup.el (normal-top-level): No more leim directory.
1371 * international/ja-dic-cnv.el (skkdic-convert):
1372 Disable version-control and autoloads in output files.
1373 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1374 Disable version-control and autoloads in output files.
1375 * leim/quail: Move here from ../leim.
1376 * leim/quail/hangul.el (hangul-input-method-activate):
1377 Add autoload cookie.
1378 (generated-autoload-load-name): Set file-local value.
1379 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1380 (generated-autoload-load-name): Set file-local value.
1381
0449d6cd 13822013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee 1383
e0eb0550
JB
1384 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1385 (eww-add-bookmark): Ask confirmation when add to bookmarks
1386 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1387
0e2c793f
EZ
13882013-11-26 Eli Zaretskii <eliz@gnu.org>
1389
1390 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1391 reading output from Diff on MS-Windows and MS-DOS.
1392
447bdcb8
BB
13932013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1394
1395 * emacs-lisp/helpers.el (string-reverse): New function.
1396
5fbf6856
MA
13972013-11-26 Michael Albinus <michael.albinus@gmx.de>
1398
1399 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1400 names on MS Windows, like "/[::1]:".
1401
1402 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1403 SWITCHES.
1404
624780f0
GM
14052013-11-26 Glenn Morris <rgm@gnu.org>
1406
0bf3f0fa
GM
1407 * progmodes/python.el (python-indent-guess-indent-offset):
1408 Avoid corner-case error. (Bug#15975)
1409
624780f0
GM
1410 Preload leim-list.el. (Bug#4789)
1411 * loadup.el: Load leim-list.el when found.
1412 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1413
4301875e 14142013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1415
1416 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1417
4301875e
BB
1418 * emacs-lisp/helpers.el (string-join): New function.
1419
1633a815 14202013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1421
1422 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1423 Mark as obsolete and replace it with a symbol property.
1424 (byte-compile-form): Use new 'interactive-only property.
1425 * comint.el, files.el, replace.el, simple.el:
1426 Apply new 'interactive-only properly.
1427
00139435
MR
14282013-11-25 Martin Rudalics <rudalics@gmx.at>
1429
1430 * window.el (display-buffer-at-bottom): Make sure that
1431 split-window-sensibly creates the new window on bottom
1432 (Bug#15961).
1433
5f5b128d
DK
14342013-11-23 David Kastrup <dak@gnu.org>
1435
1436 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1437 on the conflict markers when available.
1438 (smerge--get-marker): New function.
1439 (smerge-end-re, smerge-base-re): Add subgroup.
1440
623891e5
SM
14412013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * frame.el (handle-focus-in, handle-focus-out): Add missing
1444 interactive spec.
1445
05ca27d8
MA
14462013-11-25 Michael Albinus <michael.albinus@gmx.de>
1447
1448 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1449 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1450
511fa0d3
SM
14512013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1452
e82ad66c
SM
1453 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1454 (gomoku--last-pos): New var.
1455 (gomoku--intangible-chars): New const.
1456 (gomoku--intangible): New function.
1457 (gomoku-mode): Use it. Derive from special-mode.
1458 (gomoku-move-up): Adjust line count.
1459 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1460 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1461 Simplify accordingly.
1462
511fa0d3
SM
1463 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1464 Remove blink-cursor code.
1465 (blink-cursor-timer-function, blink-cursor-suspend):
1466 Don't special-case GUIs.
1467 (blink-cursor-mode): Use focus-in/out-hook.
1468
6f20dd03
DG
14692013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1470
1471 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1472 work when annotation is invisible (Bug#13886).
1473
431dec31 14742013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1475
1476 * json.el (json-alist-p): Only return non-nil if the alist has
1477 simple keys (Bug#13518).
1478
431dec31 14792013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1480
1481 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1482 when control-statement is the first statement in a buffer (Bug#15956).
1483
ee4f0261
DG
14842013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1485
1486 * imenu.el (imenu-generic-skip-comments-and-strings):
1487 New option (Bug#15560).
1488 (imenu--generic-function): Use it.
1489
c484f866
JS
14902013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1491
1492 * minibuffer.el (completion--in-region-1): Scroll the correct
1493 window. (Bug#13898)
1494
41ce6f70
BB
14952013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1496
b55aea38
BB
1497 * emacs-lisp/helpers.el: Add some string helpers.
1498 (string-trim-left): Removes leading whitespace.
1499 (string-trim-right): Removes trailing whitespace.
1500 (string-trim): Removes leading and trailing whitespace.
1501
41ce6f70
BB
1502 * subr.el (string-suffix-p): New function.
1503
3cfb6af3
GM
15042013-11-23 Glenn Morris <rgm@gnu.org>
1505
1506 * progmodes/python.el (python-shell-send-file):
1507 Add option to delete file when done. (Bug#15647)
1508 (python-shell-send-string, python-shell-send-region): Use it.
1509
c27924b7
IS
15102013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1511
e1b01c7f
IS
1512 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1513 to set buffer-read-only to t, never to nil. (Bug#15938)
1514
c27924b7
IS
1515 * textmodes/tex-mode.el (latex-noindent-environments):
1516 Add safe-local-variable property. (Bug#15936)
1517
17e0445b
GM
15182013-11-23 Glenn Morris <rgm@gnu.org>
1519
92f78ea3
GM
1520 * textmodes/enriched.el (enriched-mode): Doc fix.
1521 * emacs-lisp/authors.el (authors-renamed-files-alist):
1522 Add enriched.doc -> enriched.txt.
1523
17e0445b
GM
1524 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1525
965bb23a
LL
15262013-11-22 Leo Liu <sdl.web@gmail.com>
1527
1528 * progmodes/octave.el (inferior-octave-startup): Spit out error
1529 message.
1530
d19ffd64
BB
15312013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1532
1533 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1534 Improve docstring.
15ba2182
BB
1535 Add :version.
1536 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1537
7a7567d2
LL
15382013-11-22 Leo Liu <sdl.web@gmail.com>
1539
1540 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1541 (Bug#15076)
8c09f64b
LL
1542 (octave-help-mode): Adapt to change to help-mode-finish to use
1543 derived-mode-p on 2013-09-17.
1544 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1545 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1546
724bc265
LL
15472013-11-22 Leo Liu <sdl.web@gmail.com>
1548
1549 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1550 (inferior-octave-startup, inferior-octave-check-process)
1551 (inferior-octave-track-window-width-change)
1552 (octave-completion-at-point, octave-eldoc-function): Use it.
1553 (octave-kill-process): Provide confirmation. (Bug#10564)
1554
38637cca
LL
15552013-11-21 Leo Liu <sdl.web@gmail.com>
1556
511fa0d3
SM
1557 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1558 Fix obsolete variable comment-use-global-state.
38637cca 1559
06e752b4
RS
15602013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1561
511fa0d3
SM
1562 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1563 Add `octave-source-file'.
06e752b4
RS
1564 (octave-source-file): New function. (Bug#15935)
1565
0449d6cd 15662013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1567
1568 * net/eww.el (eww-local-regex): New variable.
1569 (eww): Use it to detect localhost and similar.
1570
b6ffa04a
LL
15712013-11-21 Leo Liu <sdl.web@gmail.com>
1572
1573 Add completion for command `ag'.
2021a200
LL
1574 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1575 (pcomplete/ag): New function.
1576 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1577
d1a6bccc
SM
15782013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1581 (bug#14646).
1582 (make-obsolete): Remove interactive spec.
1583
2df10228
GM
15842013-11-21 Glenn Morris <rgm@gnu.org>
1585
1586 * startup.el (command-line-1): Use path-separator with -L.
1587
86fd16b6
TZ
15882013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1589
1590 * emacs-lisp/package.el (describe-package-1): Add package archive
1591 to shown fields.
1592
0449d6cd 15932013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1594
1595 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1596 Change default to "# encoding: %s" to differentiate it from the
1597 default Ruby encoding comment template.
1598
dc7e8c17 15992013-11-20 era eriksson <era+emacsbugs@iki.fi>
1600
1601 * ses.el (ses-mode): Doc fix. (Bug#14748)
1602
f0cfa5fe
LL
16032013-11-20 Leo Liu <sdl.web@gmail.com>
1604
1605 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1606
826dc7b6
DN
16072013-11-19 Dan Nicolaescu <dann@gnu.org>
1608
1609 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1610 when rebase or bisect are in progress.
1611
a6e3a5d5
XF
16122013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1613
1614 * filenotify.el (file-notify-add-watch): Doc fix.
1615
f130cb76
LL
16162013-11-19 Leo Liu <sdl.web@gmail.com>
1617
e0855d7d
LL
1618 * obsolete/rcompile.el: Mark obsolete.
1619
f130cb76 1620 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1621 (compilation-goto-locus, compilation-find-file):
1622 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1623 (Bug#13594)
1624
1625 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1626 new parameter no-display-ok. Return either a window or nil
1627 but never a non-window value.
f130cb76 1628
1f35d401
SM
16292013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1630
25158c76
SM
1631 * electric.el (electric-indent-mode-map): Remove.
1632 (electric-indent-mode): Change the global-map instead (bug#15915).
1633
1634 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1635 Use add-function.
1f35d401 1636
9bc67baa
SM
16372013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1638
986545b5
SM
1639 * emacs-lisp/nadvice.el (remove-function): Align with
1640 add-function's behavior.
1641
9bc67baa
SM
1642 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1643 (gdb--string-regexp): New constant.
1644 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1645 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1646 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1647 submatch 1.
1648 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1649 Adjust use accordingly.
1650 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1651
56cd894e
AS
16522013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1653
1654 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1655 interpolation curlies (Bug#15914).
1656
014690de
JB
16572013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1658
1659 * calc/calc.el (calc-context-sensitive-enter): New variable.
1660 (calc-enter): Use `calc-context-sensitive-enter'.
1661
7e26a6c3
TZ
16622013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1663
1664 * progmodes/cfengine.el: Version bump.
1665 (cfengine-cf-promises): New defcustom to locate cf-promises.
1666 (cfengine3-vartypes): Add new "data" type.
1667 (cfengine3--current-word): New function to get current name-like
1668 word or its bounds.
1669 (cfengine3--current-function): New function to look up a CFEngine
1670 function's definition.
1671 (cfengine3-format-function-docstring): New function.
1672 (cfengine3-make-syntax-cache): New function.
1673 (cfengine3-documentation-function): New function: ElDoc glue.
1674 (cfengine3-completion-function): New function: completion glue.
1675 (cfengine3-mode): Set `compile-command',
1676 `eldoc-documentation-function', and add to
1677 `completion-at-point-functions'.
1678
355204dd
MA
16792013-11-16 Michael Albinus <michael.albinus@gmx.de>
1680
1681 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1682 `tramp-current-connection'.
1683
43cebc23
DG
16842013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1685
1686 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1687 nil/self/true/false with "end of symbol".
1688
a3fed6ff
BB
16892013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1690
1691 * subr.el (version-regexp-alist): Fix a typo.
1692
e675b3e4
MA
16932013-11-15 Michael Albinus <michael.albinus@gmx.de>
1694
1695 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1696 "en_US.utf8" and "LC_CTYPE" to "".
1697 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1698 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1699
a1f03e89
LL
17002013-11-15 Leo Liu <sdl.web@gmail.com>
1701
1702 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1703
5d9d9451
SM
17042013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1705
58362662
CS
1706 * progmodes/gud.el (ctl-x-map):
1707 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1708 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1709
6c1bf086
BB
17102013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1711
0d5363c4
BB
1712 * subr.el (version-regexp-alist):
1713 Recognize hg, svn and darcs versions as snapshot versions.
1714
4e9fc48c
BB
1715 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1716 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1717 (ruby--encoding-comment-required-p): Extract from
1718 `ruby-mode-set-encoding'.
1719 (ruby-mode-set-encoding): Add the ability to always insert an
1720 utf-8 encoding comment. Fix and simplify coding comment update
1721 logic.
6c1bf086 1722
2f7e72f8
MA
17232013-11-14 Michael Albinus <michael.albinus@gmx.de>
1724
1725 * net/tramp-gvfs.el (top): Run init code only when
1726 `tramp-gvfs-enabled' is not nil.
1727 (tramp-gvfs-enabled): Check also :system bus.
1728
0f137a73
SM
17292013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 Sync with upstream verilog-mode revision 78e66ba.
1732 * progmodes/verilog-mode.el (verilog-end-of-defun)
1733 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1734 (verilog-get-end-of-defun): Remove unused argument.
1735 (verilog-comment-depth): Remove unused local `e'.
1736 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1737 Don't pass arg to verilog-get-end-of-defun.
1738
1c276bdd
GM
17392013-11-14 Glenn Morris <rgm@gnu.org>
1740
1741 * obsolete/assoc.el (aget): Prefix dynamic variable.
1742
1743 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1744
ff6ec81d
SM
17452013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * widget.el, hfy-cmap.el: Remove bogus package version number.
1748
75f777b6
GM
17492013-11-13 Glenn Morris <rgm@gnu.org>
1750
1d43dba1
GM
1751 * replace.el (replace-eval-replacement):
1752 Try to give more helpful error message. (Bug#15836)
1753
ff4b7bd5
GM
1754 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1755 (archive-7z-update): Avoid custom type mismatches.
1756
75f777b6
GM
1757 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1758
11151a06
MA
17592013-11-13 Michael Albinus <michael.albinus@gmx.de>
1760
e675b3e4 1761 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1762 address can be empty.
1763
1764 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1765 Accept nil SWITCHES.
1766 (tramp-gvfs-handle-write-region): Implement APPEND.
1767
7b08f97e
DG
17682013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1769
1770 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1771 binary "|" operator and closing block args delimiter.
1772 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1773 (ruby-smie--implicit-semi-p): Not after "|" operator.
1774 (ruby-smie--closing-pipe-p): New function.
1775 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1776 (ruby-smie-rules): Indent after "|".
1777
f201cf3a
GM
17782013-11-12 Glenn Morris <rgm@gnu.org>
1779
1780 * ps-print.el (ps-face-attribute-list):
1781 Handle anonymous faces. (Bug#15827)
1782
e6f759f9
MR
17832013-11-12 Martin Rudalics <rudalics@gmx.at>
1784
1785 * window.el (display-buffer-other-frame): Fix doc-string.
1786 (Bug#15868)
1787
ecda65d4
SM
17882013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1789
1790 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1791
7ce8fcc3
MA
17922013-11-11 Michael Albinus <michael.albinus@gmx.de>
1793
1794 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1795 (tramp-sh-handle-file-local-copy): Don't write a message when
1796 saving temporary files.
1797
1798 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1799 both directories are remote.
1800 (tramp-smb-handle-directory-files): Do not return double entries.
1801 Do not expand full file names.
1802 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1803 (tramp-smb-handle-write-region): Implement APPEND.
1804 (tramp-smb-get-stat-capability): Fix a stupid bug.
1805
7818df11
SM
18062013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1807
1808 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1809
608c2085
NT
18102013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1811
1812 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1813 throwing error over malformed let/let* (bug#15814).
1814
122a7e46
SM
18152013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * iswitchb.el (iswitchb-mode): Mark obsolete.
1818
766284d9
GM
18192013-11-11 Glenn Morris <rgm@gnu.org>
1820
1821 * international/uni-bidi.el, international/uni-category.el:
1822 * international/uni-name.el, international/uni-numeric.el:
1823 Regenerate for Unicode 6.3.0.
1824
7072a4e9
MA
18252013-11-10 Michael Albinus <michael.albinus@gmx.de>
1826
1827 * net/tramp.el (tramp-methods):
1828 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1829 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1830
c9df215b
AS
18312013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1832
608c2085
NT
1833 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1834 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1835
fa47d796
DG
18362013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1837
1838 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1839 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1840 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1841 (ispell-complete-word): Call `ispell-lookup-words' with the value
1842 independent of `ispell-look-p'.
1843
1629a329
DG
18442013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1845
1846 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1847 Not after "||".
1848 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1849 their parent.
1850
ad16897c
SM
18512013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1854 (ruby-font-lock-keywords): Use backquote.
1855
ffa2df72
DG
18562013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1857
1858 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1859 (ruby-smie--backward-token): Only consider full-string matches.
1860
5b97b4c0
JD
18612013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1862
1863 * faces.el (describe-face): Add distant-foreground.
1864
71731c03
BB
18652013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1866
4e9fc48c
BB
1867 * progmodes/ruby-mode.el: Improve encoding comment handling.
1868 (ruby-encoding-magic-comment-style): New option.
1869 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1870 (ruby--insert-coding-comment, ruby--detect-encoding):
1871 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1872 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1873 to control the style of the auto-inserted encoding comment.
71731c03 1874
da3b328d
DG
18752013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1876
ad16897c
SM
1877 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1878 Use `smie-backward-sexp' with token argument.
da3b328d 1879
1606c2d3
MA
18802013-11-08 Michael Albinus <michael.albinus@gmx.de>
1881
1882 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1883 Remove instrumentation code.
1884
b0f4c320
GM
18852013-11-08 Glenn Morris <rgm@gnu.org>
1886
1887 * progmodes/autoconf.el (autoconf-mode):
1888 Tweak comment-start-skip. (Bug#15822)
1889
43668fb1
SM
18902013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1893 at bobp (bug#15826).
1894 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1895
daddb3fd
DH
18962013-11-08 Darren Hoo <darren.hoo@gmail.com>
1897
1898 * man.el (Man-start-calling): New macro, extracted from
1899 Man-getpage-in-background.
1900 (Man-getpage-in-background): Use it.
1901 (Man-update-manpage): New command.
1902 (Man-mode-map): Bind it.
1903
1f923923
DG
19042013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1905
1906 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1907 of "and", "or", "&&" and "||".
1908 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1909 argument. Prohibit opening curly brace because it could only be a
1910 block opener in that position.
daddb3fd
DH
1911 (ruby-smie--forward-token, ruby-smie--backward-token):
1912 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1913 arguments.
1914 (ruby-smie--indent-to-stmt): New function, seeks the end of
1915 previous statement or beginning of buffer.
1916 (ruby-smie-rules): Use it.
1917 (ruby-smie-rules): Check if there's a ":" before a curly block
1918 opener candidate; if there is, it's a hash.
1919
3220d527
SM
19202013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1923 (cl--block-wrapper): Fix last accidental change.
1924
1eb1f9e0
MA
19252013-11-07 Michael Albinus <michael.albinus@gmx.de>
1926
1927 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1928 Instrument, in order to hunt failure on hydra.
1929
e6e4db3c
NT
19302013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1931
1932 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1933 malformed bindings form (bug#15814).
1934
b420ccfc
DG
19352013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1936
1937 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1938 "." compared to " @ ". This incidentally fixes some indentation
1939 examples with "do".
e6e4db3c 1940 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1941 (ruby-smie-grammar): New tokens: "and" and "or".
1942 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1943 Exclude "and" and "or". Remove "do" in order to work around token
1944 priorities.
1945 (ruby-smie-rules): Add all infix tokens. Handle the case of
1946 beginning-of-buffer.
b420ccfc 1947
6b4ac03e
GM
19482013-11-06 Glenn Morris <rgm@gnu.org>
1949
1950 * Makefile.in (setwins_almost, setwins_for_subdirs):
1951 Avoid accidental matches.
1952
5ca114d1
SM
19532013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1954
1955 * menu-bar.el (popup-menu): Use key-binding.
1956
f72552bd
EZ
19572013-11-06 Eli Zaretskii <eliz@gnu.org>
1958
1959 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1960 menus, support also the menus produced by minor modes.
1961 (Bug#15817)
1962
5d5c701e
LL
19632013-11-06 Leo Liu <sdl.web@gmail.com>
1964
1965 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1966 DISTANCE to bound the search. All uses changed. (Bug#15808)
1967
0a8b75e2
GM
19682013-11-06 Glenn Morris <rgm@gnu.org>
1969
1970 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1971 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1972 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 1973
a35287ea
SM
19742013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1975
feca4e2d
SM
1976 * electric.el (electric-indent-just-newline): New command.
1977 (electric-indent-mode-map): New keymap.
1978 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1979 Re-add :group which weren't redundant.
1980
a35287ea
SM
1981 * electric.el (electric-indent-local-mode): New minor mode.
1982 (electric-indent-functions-without-reindent): New var.
1983 (electric-indent-post-self-insert-function): Use it.
1984 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1985
375761b2
EZ
19862013-11-05 Eli Zaretskii <eliz@gnu.org>
1987
9a6ad735
EZ
1988 * international/quail.el (quail-help): Be more explicit about the
1989 meaning of the labels shown on the keys. (Bug#15800)
1990
375761b2
EZ
1991 * startup.el (normal-top-level): Load the subdirs.el files before
1992 setting the locale environment. (Bug#15805)
1993
520a6e4a
SM
19942013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1995
0acfafef
SM
1996 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1997 via arguments so as to get the right ones (bug#15418).
1998
520a6e4a
SM
1999 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2000
15826261
MA
20012013-11-05 Michael Albinus <michael.albinus@gmx.de>
2002
2003 Fix problems found while writing a test suite.
2004
2005 * net/tramp-compat.el (tramp-compat-load): New defun.
2006 * net/tramp.el (tramp-handle-load): Use it.
2007
2008 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2009 "(numberp ok-if-already-exists)" correctly.
2010
d35f31a4
XF
20112013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2012
2013 * international/characters.el (glyphless-char-display-control):
2014 Add usage note.
2015
ae93bc74
BB
20162013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2017
520a6e4a
SM
2018 * progmodes/python.el (python-mode):
2019 * progmodes/scheme.el (scheme-mode):
2020 * progmodes/prolog.el (prolog-mode):
2021 * progmodes/ruby-mode.el (ruby-mode):
2022 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2023 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2024
0ade65b5
SM
20252013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2026
a0d5f7a4
SM
2027 * rect.el (rectangle--highlight-for-redisplay):
2028 * emacs-lisp/smie.el (smie--next-indent-change):
2029 Use buffer-chars-modified-tick.
2030
c93f3f5c
SM
2031 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2032
0ade65b5
SM
2033 * electric.el (electric-indent-post-self-insert-function):
2034 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2035
ef9dd188
HE
20362013-11-04 Helmut Eller <eller.helmut@gmail.com>
2037
2038 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2039
306e7308
NT
20402013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2041
2042 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2043 (bug#15786).
2044
e5afbcac
SM
20452013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2046
1d01ad41
SM
2047 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2048
e5afbcac
SM
2049 * progmodes/python.el: Fix up last change.
2050 (python-shell--save-temp-file): New function.
2051 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2052 `string' comes from the current buffer.
2053 (python-shell-send-string-no-output): Remove `msg' arg.
2054 (python--use-fake-loc): New var.
2055 (python-shell-buffer-substring): Obey it. Try to compensate for the
2056 extra coding line added by python-shell--save-temp-file.
2057 (python-shell-send-region): Use python-shell--save-temp-file and
2058 python-shell-send-file directly. Add `nomain' argument.
2059 (python-shell-send-buffer): Use python-shell-send-region.
2060 (python-electric-pair-string-delimiter): New function.
2061 (python-mode): Use it.
2062
d0065ff1
EZ
20632013-11-04 Eli Zaretskii <eliz@gnu.org>
2064
2065 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2066 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2067 environment and decoding all of the default-directory's to here
2068 from command-line.
2069 (command-line): Decode also argv[0].
2070
2071 * loadup.el: Error out if default-directory is a multibyte string
2072 when we are dumping.
2073
2074 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2075
7397c587
TZ
20762013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2077
2078 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2079 (package-menu--print-info, package-menu--archive-predicate):
2080 Add Archive column to package list.
7397c587 2081
b27cc9fc
MA
20822013-11-04 Michael Albinus <michael.albinus@gmx.de>
2083
2084 Fix problems found while writing a test suite.
2085
2086 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2087 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2088 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2089 to nil when running original file name handler. Otherwise,
2090 there are problems with constructs like "$$FOO".
2091
2092 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2093 for `localname'.
2094
d8c4f18a
BB
20952013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2096
7b530552
BB
2097 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2098
2099 * subr.el (version<, version<=, version=):
2100 Update docstrings with information for snapshot versions.
2101
d8c4f18a
BB
2102 * helpers.el: New library for misc helper functions.
2103 (hash-table-keys): New function returning a list of hash keys.
2104 (hash-table-values): New function returning a list of hash values.
2105
dca01b09
DG
21062013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2107
2108 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2109 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2110
0a749fa0
MN
21112013-11-04 Michal Nazarewicz <mina86@mina86.com>
2112
2113 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2114 checking whether point is after a 1-letter word.
2115
21162013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2117
2118 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2119 Don't infloop when expanding region over `multiline' syntax-type that
2120 begins a line (bug#15778).
2121
4aca7145
SM
21222013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2125 Make it into a proper minor mode.
2126 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2127 (rectangle-mark-mode-map): New keymap.
2128 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2129
a0833f62
GM
21302013-11-04 Glenn Morris <rgm@gnu.org>
2131
2132 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2133
e61845c1
SM
21342013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2135
2136 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2137 (ruby-smie-rules): Use smie-rule-parent instead.
2138
2139 * emacs-lisp/smie.el (smie-rule-parent): Always call
2140 smie-indent-virtual rather than only for hanging tokens.
2141 (smie--next-indent-change): New helper command.
2142
62942f89
GM
21432013-11-03 Glenn Morris <rgm@gnu.org>
2144
2145 * Makefile.in (abs_srcdir): Remove.
2146 (emacs): Unset EMACSLOADPATH.
2147
b0b9e592
GM
21482013-11-02 Glenn Morris <rgm@gnu.org>
2149
18ba6a33 2150 * Makefile.in (EMACS): Use a relative filename.
8061810d 2151 (abs_top_builddir): Remove.
18ba6a33
GM
2152 (custom-deps, finder-data, autoloads): Use --chdir.
2153
6a8b929e
GM
2154 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2155
c617f3d0
GM
2156 Use relative filenames in TAGS files.
2157 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2158 (lisptagsfiles4, TAGS): Use relative file names.
2159 (TAGS-LISP): Remove.
2160 (maintainer-clean): No more TAGS-LISP file.
2161
b0b9e592
GM
2162 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2163 (lisptagsfiles4): Use absolute filenames again.
2164 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2165 Remove all *loaddefs files, not just the first. Remove esh-groups.
2166 (maintainer-clean): Delete TAGS, TAGS-LISP.
2167
d1c0ea6a
BB
21682013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2169
e61845c1
SM
2170 * emacs-lisp/package.el (package-version-join):
2171 Recognize snapshot versions.
d1c0ea6a 2172
684d71c6
BB
21732013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2174
2175 * subr.el (version-regexp-alist): Add support for snapshot versions.
2176
3d42b968
DG
21772013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2178
e61845c1
SM
2179 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2180 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2181 skip over our direct parent if it's an assignment token..
2182 (ruby-smie-rules): Use it.
2183
7ffd3721
DG
21842013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2185
2186 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2187 unconditionally. Remove now unnecessary forward declarations.
2188 Remove XEmacs-specific setup.
2189 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2190 (ruby-font-lock-syntactic-keywords)
2191 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2192 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2193 (ruby-here-doc-end-syntax): Remove.
2194 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2195 defined as function.
2196
a3996a2e
BB
21972013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2198
2199 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2200
6f9260e8
BB
22012013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2202
2203 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2204 table and abbrev table, `define-derived-mode' does that for us
2205 anyway.
2206
6014de84
GM
22072013-11-01 Glenn Morris <rgm@gnu.org>
2208
2209 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2210 files is atomic for some time, so no parallel compilation issues).
2211
3c334c14
JD
22122013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2213
2214 * faces.el (face-x-resources): Add :distant-foreground.
2215 (region): Use :distant-foreground for gtk and ns.
2216
9bc236c8
TH
22172013-11-01 Tassilo Horn <tsdh@gnu.org>
2218
5246583b 2219 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2220 BibTeX.
2221 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2222 (reftex-locate-bibliography-files): Us it.
2223
d14c81ee
CB
22242013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2225
0e7690de
CB
2226 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2227 allow comments in pbm files.
2228
d14c81ee
CB
2229 * term/w32-win.el (dynamic-library-alist): Support newer versions
2230 of libjpeg starting with v7: look only for the DLL from the
2231 version against which Emacs was built.
ac1bf374 2232 Support versions of libpng beyond 1.4.x.
019c8218 2233 Support libtiff v4.x.
d14c81ee 2234
983d0df5
BB
22352013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2236
2237 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2238 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2239 Add property :safe.
2240 (ruby-deep-arglist): Add property :type.
2241
47f58d85
GM
22422013-10-31 Glenn Morris <rgm@gnu.org>
2243
2244 * Makefile.in (custom-deps, finder-data): No need to setq the target
2245 variables, we are in the right directory and the defaults work fine.
2246
4f85b479
GM
22472013-10-30 Glenn Morris <rgm@gnu.org>
2248
ca7dd4cd
GM
2249 * Makefile.in (autoloads): Do not use abs_lisp.
2250
4f85b479
GM
2251 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2252 `newline' does not respect `standard-output', so use `princ'.
2253
cf59e41c
AA
22542013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2255
2256 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2257 * buff-menu.el (Buffer-menu--unmark): New function.
2258 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2259
74cf04fb
GM
22602013-10-30 Glenn Morris <rgm@gnu.org>
2261
b040b60e
GM
2262 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2263
f53d3815
GM
2264 * emacs-lisp/package.el (lm-homepage): Declare.
2265
5413d873
GM
2266 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2267 Fix doc typos.
2268
cecedb36
GM
2269 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2270
74cf04fb
GM
2271 * Makefile.in (finder-data, autoloads, update-subdirs)
2272 (compile-main, compile-clean, compile-always, bootstrap-clean):
2273 Check return value of cd.
2274 (compile-calc): Remove.
2275
195ee2f0
SM
22762013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2277
ae4002ce
SM
2278 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2279
2280 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2281 (byte-compile-and-folded): New function.
2282 (=, <, >, <=, >=): Use it.
2283
2284 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2285 (path-separator, null-device, buffer-file-coding-system)
2286 (lpr-headers-switches): Check system-type before modifying them.
2287 (find-buffer-file-type-coding-system): Mark obsolete.
2288 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2289 find-file-not-found-set-buffer-file-coding-system.
2290 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2291 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2292 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2293 (w32-direct-print-region-helper, w32-direct-print-region-function)
2294 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2295 * startup.el (normal-top-level-add-subdirs-to-load-path):
2296 * ps-print.el (ps-print-region-function):
2297 * lpr.el (print-region-function): Use new name.
2298
53b39e89
SM
2299 * subr.el (custom-declare-variable-early): Remove function.
2300 (custom-declare-variable-list): Remove var.
2301 (error, user-error): Remove `while' loop.
2302 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2303 (user-emacs-directory-warning, locate-user-emacs-file):
2304 Move to files.el.
2305 * simple.el (read-quoted-char-radix, read-quoted-char):
2306 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2307 Move from subr.el.
2308 * custom.el (custom-declare-variable-list): Don't process
2309 custom-declare-variable-list.
2310
195ee2f0
SM
2311 * progmodes/python.el (python-shell-get-buffer): New function.
2312 (python-shell-get-process): Use it.
2313 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2314 Python which encoding was used. Don't split-string since we only care
2315 about the first line. Return the temp-file, if applicable.
2316 (python-shell-send-region): Tell compile.el how to turn locations in
2317 the temp-file into locations in the source buffer.
2318
7e3561ee
SM
23192013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2320
4c9797cb
SM
2321 * subr.el (undefined): Add missing behavior from the C code for
2322 unbound keys.
2323
3472b6c6
SM
2324 * rect.el: Use lexical-binding. Add new rectangular region support.
2325 (rectangle-mark): New command.
2326 (rectangle--region): New var.
2327 (deactivate-mark-hook): Reset rectangle--region.
2328 (rectangle--extract-region, rectangle--insert-for-yank)
2329 (rectangle--highlight-for-redisplay)
2330 (rectangle--unhighlight-for-redisplay): New functions.
2331 (region-extract-function, redisplay-unhighlight-region-function)
2332 (redisplay-highlight-region-function): Use them to handle
2333 rectangular region.
2334 * simple.el (region-extract-function): New var.
2335 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2336 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2337 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2338 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2339 (redisplay-unhighlight-region-function)
2340 (redisplay-highlight-region-function): New vars.
2341 (redisplay--update-region-highlight): New function.
2342 (pre-redisplay-function): Use it.
2343 (exchange-point-and-mark): Don't deactivate the mark before
2344 reactivate-it anyway.
2345 * comint.el (comint-kill-region): Remove yank-handler argument.
2346 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2347 (delete-char): Remove property, since it's now part of their
2348 default behavior.
2349 (self-insert-iso): Remove property since this command doesn't exist.
2350
7e3561ee
SM
2351 * emacs-lisp/package.el (package--download-one-archive)
2352 (describe-package-1): Don't query the user about final newline.
2353
b9bef71f
DC
23542013-10-29 Daniel Colascione <dancol@dancol.org>
2355
2356 * net/tramp.el (tramp-methods): Document new functionality.
2357 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2358 tramp-hostname-checker if method provides one instead of scanning
2359 argument list for "%h" to decide hostname acceptability.
2360
4efc33f0
MA
23612013-10-28 Michael Albinus <michael.albinus@gmx.de>
2362
2363 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2364 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2365 Handle COPY-CONTENTS. (Bug#15737)
2366
ed42a877
DU
23672013-10-28 Daiki Ueno <ueno@gnu.org>
2368
2369 * epa-file.el
7e3561ee
SM
2370 (epa-file-cache-passphrase-for-symmetric-encryption):
2371 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2372
18c9f8a2
XF
23732013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2374
7a4bc7be
XF
2375 * image.el (defimage):
2376 (image-load-path): Doc fixes.
18c9f8a2 2377
b1e8e010
AM
23782013-10-27 Alan Mackenzie <acm@muc.de>
2379
2380 Indent statements in macros following "##" correctly.
7e3561ee
SM
2381 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2382 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2383
73d40d1e 23842013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2385
2386 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2387
c8c605ac
DG
23882013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2389
2390 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2391 after `=' is probably a new expression.
2392
ca7e59d4
RS
23932013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2394
2395 * man.el (man-imenu-title): New option.
2396 (Man-mode-map): Add menu. (Bug#15722)
2397 (Man-mode): Add imenu to menu.
2398
bae91342
DG
23992013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2400
2401 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2402 specific in what the first arg can be: a non-keyword word,
2403 string/regexp/percent literal opener, opening paren, or unary
2404 operator followed directly by word.
2405
eb89dc14
SM
24062013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2407
2408 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2409 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2410 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2411 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2412 Remove vars, they do not apply any more.
2413 (prolog-mode-abbrev-table): Remove redundant declaration.
2414 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2415 (prolog-use-smie): Remove.
2416 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2417 supported by prolog-electric-if-then-else-flag.
2418 (prolog-mode-variables, prolog-menu): Use setq-local.
2419 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2420 Remove binding to `Backspace' since this key doesn't exist anyway.
2421 Remove bindings for electric self-inserting keys.
2422 (prog-mode): Assume it's defined.
2423 (prolog-post-self-insert): New function.
2424 (prolog-mode): Use it.
2425 (prolog-indent-line, prolog-indent-level)
2426 (prolog-find-indent-of-matching-paren)
2427 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2428 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2429 (prolog-goto-next-paren, prolog-in-string-or-comment)
2430 (prolog-tokenize, prolog-inside-mline-comment)
2431 (prolog-find-start-of-mline-comment): Remove functions.
2432 (prolog-find-unmatched-paren, prolog-clause-end)
2433 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2434 (prolog-electric--if-then-else): Rename from
2435 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2436 (prolog-tokenize-searchkey): Remove const.
2437 (prolog-clause-info): Use forward-sexp.
2438 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2439 (prolog-electric-if-then-else): Remove commands.
2440 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2441 for use in post-self-insert-hook.
2442 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2443 for use in post-self-insert-hook.
2444 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2445 for use in post-self-insert-hook.
2446 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2447 adapt it for use in post-self-insert-hook.
2448
3dab0a83
MA
24492013-10-25 Michael Albinus <michael.albinus@gmx.de>
2450
2451 * emacs-lisp/ert.el (ert-run-tests-interactively):
2452 Use `completing-read'. (Bug#9756)
2453
fbfd0e1d
EZ
24542013-10-25 Eli Zaretskii <eliz@gnu.org>
2455
2456 * simple.el (line-move): Call line-move-1 instead of
2457 line-move-visual when the current window hscroll is zero, but
2458 temporary-goal-column indicates we will need to hscroll as result
2459 of the movement. (Bug#15712)
2460
963ce636
DG
24612013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2462
2463 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2464 capitalization. Use :visible instead of :active.
2465 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2466 commands that are used with SMIE.
2467 (ruby-do-end-to-brace): Insert space after `{'.
2468
a0be396a
JA
24692013-10-25 John Anthony <john@jo.hnanthony.com>
2470
f73754c9
JA
2471 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2472
2473 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2474
f5bf77df
GM
24752013-10-25 Glenn Morris <rgm@gnu.org>
2476
2477 * vc/vc.el (vc-print-log): Don't use a working revision unless
2478 one was explicitly specified. (Bug#15322)
2479
37241f62
SM
24802013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2481
2482 * subr.el (add-to-list): Preserve return value in compiler-macro
2483 (bug#15692).
2484
6408a65d
RS
24852013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2486
2487 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2488 result. Ask user to retry using '-all' flag. (Bug#15701)
2489
71e3276b
SM
24902013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * emacs-lisp/smie.el: New smie-config system.
2493 (smie-config): New defcustom.
2494 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2495 (smie-config-guess, smie-config-save): New commands.
2496 (smie-config--mode-local, smie-config--buffer-local)
2497 (smie-config--trace, smie-config--modefuns): New vars.
2498 (smie-config--advice, smie-config--mode-hook)
2499 (smie-config--setter, smie-config-local, smie-config--get-trace)
2500 (smie-config--guess-value, smie-config--guess): New functions.
2501 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2502 text properties. Treat "string fence" syntax like string syntax.
2503
2504 * progmodes/sh-script.el (sh-use-smie): Change default.
2505 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2506 (sh-var-value): Simplify by CSE.
2507 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2508 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2509 is used.
2510 (sh-guess-basic-offset): Use cl-incf.
2511 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2512
60db713e
HE
25132013-10-24 Helmut Eller <eller.helmut@gmail.com>
2514
2515 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2516 (bug#15699).
2517
8b251df6
GM
25182013-10-24 Glenn Morris <rgm@gnu.org>
2519
2520 * Makefile.in (abs_top_srcdir): Remove.
2521 (update-subdirs): Use relative path to update-subdirs.
2522
6be0e22b
EZ
25232013-10-24 Eli Zaretskii <eliz@gnu.org>
2524
2525 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2526 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2527 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2528 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2529
50b5b857
MA
25302013-10-24 Michael Albinus <michael.albinus@gmx.de>
2531
2532 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2533 (ert-test-skipped): New error.
2534 (ert-skip, ert-stats-skipped): New defuns.
2535 (ert--skip-unless): New macro.
2536 (ert-test-skipped): New struct.
2537 (ert--run-test-debugger, ert-test-result-type-p)
2538 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2539 (ert--stats-set-test-and-result, ert-char-for-test-result)
2540 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2541 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2542 Handle skipped tests. (Bug#9803)
50b5b857 2543
6f317c2f
GM
25442013-10-24 Glenn Morris <rgm@gnu.org>
2545
e43817c1
GM
2546 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2547
6f317c2f
GM
2548 * Makefile.in (abs_top_srcdir): New, set by configure.
2549 (update-subdirs): Correct build-aux location.
2550
369bbf71
DG
25512013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2552
8297b2cf
DG
2553 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2554 value, whether we could auto-deduce `backend', or not.
2555
369bbf71
DG
2556 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2557 with parameters" example. Simplify the "is it block or is it
2558 hash" check, but also make it more thorough.
2559
d5f1282f
MF
25602013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2561
2562 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2563
bc4aaa31
SM
25642013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2565
03d44565
SM
2566 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2567 { if it is hanging.
2568
bc4aaa31
SM
2569 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2570 :before ";".
2571
f493ff19
JB
25722013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2573
2574 * progmodes/compile.el (compilation-directory-matcher)
2575 (compilation-page-delimiter):
2576 Support GNU Make-4.0 directory quoting. (Bug#15678)
2577
c744a3b9
LL
25782013-10-23 Leo Liu <sdl.web@gmail.com>
2579
2580 * ido.el (ido-tidy): Handle read-only text.
2581
b8e3b0a9
GM
25822013-10-23 Glenn Morris <rgm@gnu.org>
2583
2584 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2585 (emacs, compile, compile-always):
2586 Quote entities that might contain whitespace.
2587 (custom-deps, finder-data, autoloads): Use abs_lisp.
2588 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2589 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2590 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2591
ee4282cd
DG
25922013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2593
bc4aaa31
SM
2594 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2595 Use `following-char'.
7790a270 2596
ee4282cd 25972013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2598
2599 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2600 * progmodes/ruby-mode.el (ruby-smie-rules):
2601 Remove corresponding workaround. Fix indentation rule of ";" so it
2602 also applies when ";" is the parent.
2603
d40a46d7
XF
26042013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2605
2606 * frame.el (display-screens, display-pixel-height)
2607 (display-pixel-width, display-mm-width, display-backing-store)
2608 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2609 (display-visual-class, display-monitor-attributes-list):
2610 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2611
a0f143c9
MG
26122013-10-22 Michael Gauland <mikelygee@amuri.net>
2613
2614 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2615 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2616
18cacc39
DG
26172013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2618
2619 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2620 TODO. Add "." after " @ ".
2621 (ruby-smie--at-dot-call): New function. Checks if point at method
2622 call with explicit target.
2623 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2624 to the method name tokens when it precedes them.
2625 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2626 (ruby-smie-rules): Add rule for indentation before and after "."
2627 token.
2628
df74c4be
SM
26292013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2630
c6dab55f
SM
2631 * textmodes/remember.el (remember-diary-extract-entries):
2632 Avoid add-to-list.
2633
df74c4be
SM
2634 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2635 an instruction.
2636
8c1ae481
DG
26372013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2638
cfef16c0
DG
2639 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2640 (ruby-smie--implicit-semi-p): Add new operator chars.
2641
8c1ae481
DG
2642 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2643 `smie-down-list'.
2644 (ruby-smie--args-separator-p): Check that there's no newline
2645 between method call and its arguments.
2646
87756ca9
AM
26472013-10-20 Alan Mackenzie <acm@muc.de>
2648
2649 Allow comma separated lists after Java "implements".
2650
df74c4be
SM
2651 * progmodes/cc-engine.el (c-backward-over-enum-header):
2652 Parse commas.
87756ca9
AM
2653 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2654 from a "disallowed" list in enum fontification.
2655
c25f8957
JB
26562013-10-20 Johan Bockgård <bojohan@gnu.org>
2657
df74c4be 2658 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2659
c25f8957
JB
2660 * progmodes/verilog-mode.el (verilog-mode): Don't set
2661 comment-indent-function globally.
2662
aca5fcdc
JD
26632013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2664
5f161884
JD
2665 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2666 Move Info menu item creation to ns-win.el.
2667
2668 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2669 in menu bar.
2670
aca5fcdc
JD
2671 * menu-bar.el: Move GNUStep specific menus...
2672
2673 * term/ns-win.el (ns-initialize-window-system): ... to here.
2674
914b7f98
SM
26752013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * simple.el (newline): Only run post-self-insert-hook when
2678 called interactively.
2679
846ffe77
JB
26802013-10-19 Johan Bockgård <bojohan@gnu.org>
2681
2682 * icomplete.el (icomplete-with-completion-tables): Add :version.
2683
033f22dd
AM
26842013-10-19 Alan Mackenzie <acm@muc.de>
2685
2686 Fix fontification bugs with constructors and const.
2687
2688 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2689 CASE 2) Remove the check for the absence of a suffix construct
2690 after a function declaration with only types (no identifiers) in
2691 the parentheses. Also, accept a function declaration with just a
2692 type inside the parentheses, if this type can be positively
2693 recognised as such, or if a prefix keyword like "explicit" nails
2694 down the construct as a declaration.
2695
58ce0cfc
EZ
26962013-10-19 Eli Zaretskii <eliz@gnu.org>
2697
2698 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2699 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2700 the problem whereby selecting a menu item that leads to a
2701 minibuffer prompt moves the cursor out of the minibuffer window,
2702 making it hard to type at the prompt. Suggested by Stefan Monnier
2703 <monnier@iro.umontreal.ca>.
2704
50e28e7d
JD
27052013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2706
2707 * menu-bar.el: Don't make Services menu.
2708
7deed4bf
RS
27092013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2710
2711 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2712 (ffap-alist): Use ffap-c++-mode for c++-mode.
2713 (ffap-c++-path): New variable.
2714 (ffap-c++-mode): New function.
2715
7bcb455b
JVJ
27162013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2717
2718 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2719
f0ff1cd5
MA
27202013-10-18 Michael Albinus <michael.albinus@gmx.de>
2721
2722 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2723 introduced on 2013-09-08, which results in an infinite loop
2724 requesting a password.
2725
d64da4b7
GM
27262013-10-18 Glenn Morris <rgm@gnu.org>
2727
2728 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2729
ea89ff08
WS
27302013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2731
2732 Sync with upstream verilog-mode revision 1a6ecec7.
2733 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2734 (verilog-mode-release-date): Remove.
2735 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2736 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2737 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2738 (verilog-auto-tieoff-ignore-regexp)
2739 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2740 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2741 (verilog-signals-with, verilog-dir-cache-preserving)
2742 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2743 Doc fixes.
2744 (verilog-case-fold): New option, to control case folding in
2745 regexp searches, bug597.
2746 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2747 (verilog-string-match-fold, verilog-in-paren-count)
2748 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2749 (verilog-at-close-struct-p): New functions.
2750 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2751 (verilog-forward-sexp, verilog-set-auto-endcomments):
2752 (verilog-leap-to-case-head): Handle "unique0" case.
2753 (verilog-in-constraint-re): New constant.
2754 (verilog-keywords, verilog-type-font-keywords):
2755 Add some SystemVerilog 1800-2012 keywords.
2756 (verilog-label-be): Remove unimplemented argument, bug669.
2757 (verilog-batch-execute-func): When batch expanding clear
2758 create-lockfiles to prevent spurious user locks when a file ends
2759 up not changing.
2760 (verilog-calculate-indent, verilog-calc-1)
2761 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2762 (verilog-do-indent): Fix indentation of nested constraints
2763 and structures.
2764 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2765 (verilog-auto-inst-param): Use verilog-string-match-fold.
2766 (verilog-read-inst-module-matcher):
2767 Fix AUTOINST on gate primitives with #1.
2768 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2769 Reads all user-defined typed variables.
2770 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2771 (verilog-signals-matching-regexp)
2772 (verilog-signals-not-matching-regexp, verilog-auto):
2773 Respect verilog-case-fold.
2774 (verilog-diff-report): Fix line count.
2775 (verilog-auto-assign-modport): Remove unused local `modi'.
2776 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2777 better handle multidimensional arrays.
2778 Fix packed array ports misadding bit index in AUTOINST, bug637.
2779 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2780 to not double-declare existing outputs and inputs, respectively.
2781 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2782 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2783 (verilog-sk-uvm-component): New skeleton.
2784 (verilog-submit-bug-report): Add verilog-case-fold,
2785 remove verilog-mode-release-date.
2786
ef566920
BR
27872013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2788
2789 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2790 as before.
2791
29df8a0b
RT
27922013-10-18 Reuben Thomas <rrt@sc3d.org>
2793
e0eb0550 2794 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
2795 remember buffers (bug#13566).
2796
04a19a79
DC
27972013-10-18 Daniel Colascione <dancol@dancol.org>
2798
2799 When evaluating forms in ielm, direct standard output to ielm
2800 buffer. Add new ielm-return-for-effect command. Remove trailing
2801 whitespace throughout.
2802
2803 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2804 (ielm-return-for-effect): New command.
2805 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2806 (ielm-eval-input): Accept optional `for-effect' parameter.
2807 Bind `standard-output' to stream we create using
04a19a79
DC
2808 `ielm-standard-output-impl'. Suppress printing result when
2809 `for-effect'.
2810 (ielm-standard-output-impl): New function.
2811 (inferior-emacs-lisp-mode): Explain new features in documentation.
2812
4c1f03ef
MA
28132013-10-17 Michael Albinus <michael.albinus@gmx.de>
2814
2815 Code cleanup.
2816
2817 * net/tramp.el (tramp-debug-message): Do not check for connection
2818 buffer.
2819 (tramp-message): Use "vector" connection property.
2820
2821 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2822 (tramp-equal-remote, tramp-eshell-directory-change)
2823 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2824 (tramp-adb-handle-rename-file)
2825 * net/tramp-cmds.el (tramp-list-remote-buffers)
2826 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2827 * net/tramp-compat.el (tramp-compat-process-running-p)
2828 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2829 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2830 (tramp-gvfs-handle-rename-file)
2831 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2832 (tramp-set-file-uid-gid)
2833 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2834 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2835 of `file-remote-p'.
2836
2837 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2838 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2839 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2840 (tramp-gw-open-network-stream): Suppress unrelated traces.
2841
2842 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2843 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2844 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2845 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2846 connection property.
2847
2848 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2849 persistency file.
4c1f03ef
MA
2850
2851 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2852 Refactor common code. Improve debug message.
2853 (tramp-maybe-open-connection)
2854 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2855 connection buffer too early.
2856
2857 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2858 from `tramp-smb-actions-with-acl'.
2859 (tramp-smb-actions-set-acl): New defconst.
2860 (tramp-smb-handle-copy-directory)
2861 (tramp-smb-action-get-acl): New defun, renamed from
2862 `tramp-smb-action-with-acl'.
2863 (tramp-smb-action-set-acl): New defun.
2864 (tramp-smb-handle-set-file-acl): Rewrite.
2865
642eb8b6
GM
28662013-10-17 Glenn Morris <rgm@gnu.org>
2867
2868 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2869
85527ff3
SM
28702013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2871
921c1d62
SM
2872 * skeleton.el (skeleton-newline): Remove.
2873 (skeleton-internal-1): Use (insert "\n") instead.
2874
e333fb10
SM
2875 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2876 let-bindings.
2877
85527ff3
SM
2878 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2879 forward-sexp-function while we redo its job (bug#15613).
2880
c8722a97
JB
28812013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2882
2883 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2884 represented by lists.
2885
7a550bbb
GM
28862013-10-16 Glenn Morris <rgm@gnu.org>
2887
2888 * tmm.el (tmm--history): New dynamic variable.
2889 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2890
f19da8ad
MA
28912013-10-16 Michael Albinus <michael.albinus@gmx.de>
2892
2893 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2894 (tramp-smb-errors): Add error messages.
2895 (tramp-smb-actions-with-acl): New defconst.
2896 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2897 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2898 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2899 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2900 (tramp-smb-get-stat-capability): Fix tests.
2901
a24b9961
DK
29022013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2903
2904 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2905 (bug#15580).
2906
62ad85e6
GM
29072013-10-16 Glenn Morris <rgm@gnu.org>
2908
0283d6b0
GM
2909 * ansi-color.el (ansi-color-drop-regexp):
2910 Add 1J, 1K, 2K. (Bug#15617)
2911
012e2f9f
GM
2912 * files.el (hack-local-variables--warned-lexical): New.
2913 (hack-local-variables):
2914 Warn about misplaced lexical-binding. (Bug#15616)
2915
62ad85e6
GM
2916 * net/eww.el (eww-render): Always set eww-current-url,
2917 and update header line. (Bug#15622)
2918 (eww-display-html): ... Rather than just doing it here.
2919
6456c0ea
EZ
29202013-10-15 Eli Zaretskii <eliz@gnu.org>
2921
2922 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2923 menu navigations commands.
2924
c2de5588
DK
29252013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2926
2927 * progmodes/subword.el (subword-capitalize): Be careful when
2928 the search for [[:alpha:]] fails (bug#15580).
2929
ccd4a783
EZ
29302013-10-14 Eli Zaretskii <eliz@gnu.org>
2931
2932 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2933 to commands that scroll the menu.
2934
1eda1d8d
DG
29352013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2936
c2de5588
DK
2937 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2938 Handle methods ending with `?' and `!'.
1eda1d8d 2939
e70181b8
AM
29402013-10-14 Akinori MUSHA <knu@iDaemons.org>
2941
2942 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2943 `japanese-cp932' to `cp932' to fix the problem where saving a
2944 source file written in Shift_JIS twice would end up having
2945 `coding: japanese-cp932' which Ruby could not recognize.
2946 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2947 in `ruby-encoding-map'.
2948 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2949 doesn't need to be explicitly declared in magic comment.
2950 (ruby-encoding-map): Add type declaration for better customize UI.
2951
9148ee92
GM
29522013-10-13 Glenn Morris <rgm@gnu.org>
2953
a5d38e34
GM
2954 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2955 Occur buffers are read-only. http://bugs.debian.org/720775
2956
9148ee92
GM
2957 * emacs-lisp/authors.el (authors-fixed-entries):
2958 Comment out old alpha stuff.
2959
a9ba094b
DG
29602013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2961
2962 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2963 to `after-save-hook' instead of `before-save-hook'.
2964 (ruby-mode-set-encoding): Use the value of coding system used to
2965 write the file. Call `basic-save-buffer-1' after modifying the
2966 buffer.
2967
7a068717
AM
29682013-10-13 Alan Mackenzie <acm@muc.de>
2969
2970 Fix indentation/fontification of Java enum with
2971 "implements"/generic.
2972
c2de5588
DK
2973 * progmodes/cc-engine.el (c-backward-over-enum-header):
2974 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
2975 (c-inside-bracelist-p): Uses new function above.
2976 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2977 function above.
2978 (c-font-lock-enum-tail): Uses new function above.
2979
85b64f02
KH
29802013-10-13 Kenichi Handa <handa@gnu.org>
2981
2982 * international/mule-cmds.el (select-safe-coding-system): Remove a
2983 superfluous condition in chekcing whether a coding system is safe
2984 or not.
2985
fc7f501b
OK
29862013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2987
2988 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2989
fdcb2049
AP
29902013-10-13 Andreas Politz <politza@hochschule-trier.de>
2991
2992 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2993
8c106d17
GM
29942013-10-13 Glenn Morris <rgm@gnu.org>
2995
feab892d
GM
2996 * menu-bar.el (menu-bar-update-buffers):
2997 Unify Buffers menu prompt string. (Bug#15576)
2998
b22d0686
GM
2999 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3000
8c106d17
GM
3001 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3002 Add some entries.
3003 (authors-fixed-entries): Use accented form of name.
3004
1b12c797
SM
30052013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3006
650fa7bf 3007 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3008 method calls (bug#15594).
650fa7bf
SM
3009 (ruby-smie--args-separator-p): New function.
3010 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3011 recognize paren-free method calls.
3012
1b12c797
SM
3013 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3014 internals of universal-argument.
3015
029619c8
EZ
30162013-10-11 Eli Zaretskii <eliz@gnu.org>
3017
3018 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3019 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3020 dropped menu on second mouse click on the menu bar.
029619c8 3021
dd070019
SM
30222013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3023
3024 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3025 (explicit-shell-file-name): Declare.
3026 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3027 (sh-completion-at-point-function): New function.
3028 (sh-mode): Use it.
3029 (sh-smie--keyword-p): Remove unused argument.
3030 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3031 vars.
3032 (sh-set-shell): Always setup SMIE, even if we use the
3033 old indentation code.
3034
0922b826
DG
30352013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3036
b68e2926
DG
3037 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3038 cases of ? and =.
3039 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3040 predicate would return nil are almost non-existent.
3041 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3042
0922b826
DG
3043 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3044 cache also after commands that modify the buffer but don't move
3045 point.
3046
ee041f2d
SM
30472013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3048
3049 * env.el (substitute-env-in-file-name): New function.
3050 (substitute-env-vars): Extend the meaning of the optional arg.
3051
a5dab159
EZ
30522013-10-10 Eli Zaretskii <eliz@gnu.org>
3053
3054 * term/w32-win.el (dynamic-library-alist): Define separate lists
3055 of GIF DLLs for versions before and after 5.0.0 of giflib.
3056 (Bug#15531)
3057
0449d6cd 30582013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3059
3060 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3061 not locked, use last revision and current source as
3062 defaults. (Bug#15569)
3063
2f6e161e
MY
30642013-10-10 Masatake YAMATO <yamato@redhat.com>
3065
3066 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3067 menu-bar is hidden.
3068
6c8413fc
MR
30692013-10-10 Martin Rudalics <rudalics@gmx.at>
3070
3071 * window.el (pop-to-buffer-same-window): Fix doc-string.
3072 (Bug#15492)
3073
20832de0
SM
30742013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3075
3076 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3077
c6e8ae77
AC
30782013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3079
3080 * calendar/icalendar.el (icalendar-import-file):
3081 Fix interactive spec. (Bug#15482)
3082
9db13baf
GM
30832013-10-10 Glenn Morris <rgm@gnu.org>
3084
9271e90e
GM
3085 * desktop.el (desktop-save): Default to saving in .emacs.d,
3086 since PWD is no longer in desktop-path by default. (Bug#15319)
3087
9db13baf
GM
3088 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3089 now that text mode has a menu with the same entry.
3090 (menu-bar-text-mode-auto-fill): Remove now unused func.
3091 * textmodes/text-mode.el (text-mode-map):
3092 Use auto-fill help text from menu-bar.el.
3093
a0be396a 30942013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3095
3096 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3097
2edcd3c7
JL
30982013-10-09 Juri Linkov <juri@jurta.org>
3099
3100 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3101 instead of this-command-keys. Add universal-argument-more and
3102 universal-argument-minus to the list of prefix commands. (Bug#15568)
3103
574411d0
GM
31042013-10-09 Glenn Morris <rgm@gnu.org>
3105
14afa541
GM
3106 * vc/vc-svn.el (vc-svn-create-repo):
3107 Expand paths in file://... url. (Bug#15446)
3108
574411d0
GM
3109 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3110 Add some entries.
3111 (authors): Remove unused local variables.
3112
79804536
SM
31132013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 * profiler.el: Create a more coherent calltree from partial backtraces.
3116 (profiler-format): Hide the tail with `invisible' so that C-s can still
3117 find the hidden elements.
3118 (profiler-calltree-depth): Don't recurse so enthusiastically.
3119 (profiler-function-equal): New hash-table-test.
3120 (profiler-calltree-build-unified): New function.
3121 (profiler-calltree-build): Use it.
3122 (profiler-report-make-name-part): Indent the calltree less.
3123 (profiler-report-mode): Add visibility specs for profiler-format.
3124 (profiler-report-expand-entry, profiler-report-toggle-entry):
3125 Expand the whole subtree when provided with a prefix arg.
3126
238150c8
DG
31272013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3128
3129 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3130 iuwu-mod token.
3131 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3132 hanging iuwu-mod token.
3133 (ruby-smie--forward-token): Do not include a dot after a token in
3134 that token.
3135 (ruby-smie--backward-token): Likewise.
3136
b0949cc4
JL
31372013-10-08 Juri Linkov <juri@jurta.org>
3138
3139 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3140 to isearch-other-control-char.
3141 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3142 and isearch-post-command-hook to post-command-hook.
3143 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3144 and isearch-post-command-hook from post-command-hook.
3145 (isearch-unread-key-sequence)
3146 (isearch-reread-key-sequence-naturally)
3147 (isearch-lookup-scroll-key, isearch-other-control-char)
3148 (isearch-other-meta-char): Remove functions.
3149 (isearch-pre-command-hook, isearch-post-command-hook):
3150 New functions based on isearch-other-meta-char rewritten
3151 relying on the new behavior of overriding-terminal-local-map
3152 that does not replace the local keymaps any more. (Bug#15200)
3153
4ed77415
EZ
31542013-10-08 Eli Zaretskii <eliz@gnu.org>
3155
3156 Support menus on text-mode terminals.
3157 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3158 functionality.
3159
3160 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3161
c2de5588
DK
3162 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3163 Move here from mouse.el.
4ed77415
EZ
3164 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3165 and arrow keys.
3166 (tty-menu-navigation-map): New map for TTY menu navigation.
3167
3168 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3169
3170 * frame.el (display-mouse-p): Report text-mode mouse as available
3171 on w32.
3172 (display-popup-menus-p): Report availability if mouse is
3173 available; don't condition on window-system.
3174
3175 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3176 (tty-menu-selected-face): New faces.
3177
b7d5bd82
TL
31782013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3179
06286513
SM
3180 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3181 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3182 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3183 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3184 New constants.
3185 (lisp-mode-variables): New `elisp' argument.
3186 (emacs-lisp-mode): Use it.
3187 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3188 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3189
b7d5bd82
TL
3190 * indent.el: Use lexical-binding.
3191 (indent-region): Add progress reporter.
3192 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3193 last step.
3194 (indent--next-tab-stop): New function to implement this behavior.
3195 (tab-to-tab-stop, move-to-tab-stop): Use it.
3196
31972013-10-08 Teemu Likonen <tlikonen@iki.fi>
3198
3199 * indent.el (indent-rigidly--current-indentation): New function.
3200 (indent-rigidly-map): New var.
3201 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3202
5ea75d23
BG
32032013-10-08 Bastien Guerry <bzg@gnu.org>
3204
3205 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3206
cc5da1ec
SM
32072013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3208
8ffa1a0b
SM
3209 * progmodes/perl-mode.el: Use lexical-binding.
3210 Remove redundant :group args.
3211 (perl-nochange): Change default to be closer to other major modes's
3212 standard behavior.
3213 (perl-indent-line): Don't consider text on current line as a
3214 valid beginning of function from which to indent.
3215
f2223371
SM
3216 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3217 with more than one argument (bug#15538).
3218
44256060
SM
3219 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3220
cc5da1ec
SM
3221 * vc/pcvs.el: Use lexical-binding.
3222 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3223 environment of `eval'.
3224 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3225 than a list of expressions. Adjust callers.
3226 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3227
0ea1599d
DG
32282013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3229
3230 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3231 case of the dot in a chained method call being on the following line.
0ea1599d 3232
da3e5ebb
SM
32332013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3234
2abb4e65
SM
3235 * electric.el (electric-indent-inhibit): New var.
3236 (electric-indent-post-self-insert-function): Use it.
3237 * progmodes/python.el (python-mode): Set it.
3238
d2e0e795
SM
3239 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3240 open braces.
3241
3242 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3243
bdc6b4c8
SM
3244 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3245 (css-mode): Use electric-indent-chars.
3246
da3e5ebb
SM
3247 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3248 (font-lock-beg, font-lock-end): Move before first use.
3249 (nxml-mode): Use syntax-propertize-function.
3250 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3251 (nxml-extend-after-change-region): Remove.
3252 * nxml/xmltok.el: Use lexical-binding.
3253 (xmltok-save): Use `declare'.
3254 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3255 * nxml/nxml-util.el: Use lexical-binding.
3256 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3257 Use `declare'.
3258 * nxml/nxml-ns.el: Use lexical-binding.
3259 (nxml-ns-save): Use `declare'.
3260 (nxml-ns-prefixes-for): Avoid add-to-list.
3261 * nxml/rng-match.el: Use lexical-binding.
3262 (rng--ipattern): Use cl-defstruct.
3263 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3264 (rng-cons-group-after, rng-subst-group-after)
3265 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3266 Use closures instead of `(lambda...).
3267
f8f91d5d
MA
32682013-10-07 Michael Albinus <michael.albinus@gmx.de>
3269
3270 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3271 of BEG and END.
3272
da3e5ebb
SM
3273 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3274 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3275 (tramp-gvfs-handle-insert-file-contents): Remove function.
3276
da3e5ebb
SM
3277 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3278 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3279
3280 * net/trampver.el: Update release number.
3281
7ccae3b1
SM
32822013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3283
55ca2c0d
SM
3284 * progmodes/compile.el (compilation-parse-errors):
3285 Use compilation--put-prop.
3286 (compilation--ensure-parse): Check compilation-multiline.
3287
731fc3ae
SM
3288 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3289
da3e5ebb
SM
3290 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3291 lexical-binding.
a5833280 3292
2e7ba2c2
SM
3293 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3294
7ccae3b1
SM
3295 * progmodes/ruby-mode.el: Fix recently added tests.
3296 (ruby-smie-grammar): Add - and +.
3297 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3298 (ruby-smie--backward-id): New functions.
3299 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3300 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3301 any more.
3302
85698d63
LL
33032013-10-07 Leo Liu <sdl.web@gmail.com>
3304
3305 * register.el (register-preview-delay)
3306 (register-preview-functions): New variables.
3307 (register-read-with-preview, register-preview)
3308 (register-describe-oneline): New functions.
3309 (point-to-register, window-configuration-to-register)
3310 (frame-configuration-to-register, jump-to-register)
3311 (number-to-register, view-register, insert-register)
3312 (copy-to-register, append-to-register, prepend-to-register)
3313 (copy-rectangle-to-register): Use register-read-with-preview to
3314 read register. (Bug#15525)
3315
3986af6c
DS
33162013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3317
3318 * net/network-stream.el (network-stream-open-starttls): Don't add
3319 --insecure if it's already present, because that gnutls-cli
3320 rejects getting that parameter twice.
3321
5cd9cda9
DG
33222013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3323
3324 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3325 keyword, too.
3326
da9ea6d9
DG
33272013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3328
3329 * newcomment.el (comment-use-global-state): Change default value
3330 to t, mark obsolete (Bug#15251).
3331 (comment-beginning): In addition to `comment-to-syntax', check the
3332 value of `comment-use-global-state'.
3333
34d1a133
SM
33342013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3337 (ruby-comment-column): Follow the global default, by default.
3338 (ruby-smie-grammar): Add assignment syntax.
3339 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3340 open-paren, a comma, or a \.
3341 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3342 and line continuations.
3343 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3344 followed by implicit semi-colons. Add rule for string concatenation
3345 and for indentation at BOB.
3346 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3347
3348 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3349 calling next-sexp, since next-token may have skipped chars which
3350 next-sexp doesn't know should be skipped!
3351
6f6ab820
LL
33522013-10-05 Leo Liu <sdl.web@gmail.com>
3353
34d1a133
SM
3354 * progmodes/octave.el (octave-send-region):
3355 Call compilation-forget-errors.
6f6ab820 3356
34ca0f4c
XF
33572013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3358
3359 * vc/vc-svn.el (vc-svn-find-admin-dir):
3360 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3361 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3362 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3363 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3364
a27c1b72
SM
33652013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3366
3367 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3368
258ab3bc
SM
33692013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 * subr.el (read-passwd): Hide chars even when called within a context
3372 where after-change-functions is disabled (bug#15501).
3373 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3374 until we removed ourself from overriding-terminal-local-map.
3375
939fb29c
LL
33762013-10-04 Leo Liu <sdl.web@gmail.com>
3377
258ab3bc
SM
3378 * progmodes/octave.el (inferior-octave-mode):
3379 Call compilation-forget-errors.
939fb29c 3380
63bd7f35
XF
33812013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3382
3383 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3384
9e6229fa
MA
33852013-10-04 Michael Albinus <michael.albinus@gmx.de>
3386
3387 * net/secrets.el (secrets-create-collection): Add optional
3388 argument ALIAS. Use proper Label keyword. Append ALIAS as
3389 dbus-call-method argument. (Bug#15516)
3390
1dab32a3
LL
33912013-10-04 Leo Liu <sdl.web@gmail.com>
3392
3393 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3394 (inferior-octave-compilation-font-lock-keywords): New variables.
3395 (compilation-error-regexp-alist)
3396 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3397 (inferior-octave-mode): Use compilation-shell-minor-mode.
3398
6cad7ba3
JS
33992013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3400
3401 * minibuffer.el (completion--replace): Be careful that `end' might be
3402 a marker.
3403
acbadd00
DU
34042013-10-03 Daiki Ueno <ueno@gnu.org>
3405
3406 Add support for package signature checking.
3407 * emacs-lisp/package.el (url-http-file-exists-p)
3408 (epg-make-context, epg-context-set-home-directory)
3409 (epg-verify-string, epg-context-result-for)
3410 (epg-signature-status, epg-signature-to-string)
3411 (epg-check-configuration, epg-configuration)
3412 (epg-import-keys-from-file): Declare.
3413 (package-check-signature): New user option.
3414 (package-unsigned-archives): New user option.
3415 (package-desc): Add `signed' field.
3416 (package-load-descriptor): Set `signed' field if .signed file exists.
3417 (package--archive-file-exists-p): New function.
3418 (package--check-signature): New function.
3419 (package-install-from-archive): Check package signature.
3420 (package--download-one-archive): Check archive signature.
3421 (package-delete): Remove .signed file.
3422 (package-import-keyring): New command.
3423 (package-refresh-contents): Import default keyring.
3424 (package-desc-status): Add "unsigned" status.
3425 (describe-package-1, package-menu--print-info)
3426 (package-menu-mark-delete, package-menu--find-upgrades)
3427 (package-menu--status-predicate): Support "unsigned" status.
3428
adf2aa61
SM
34292013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3430
3431 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3432 the new compilation scheme using the new byte-codes.
3433
3434 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3435 (byte-pophandler): New byte codes.
3436 (byte-goto-ops): Adjust accordingly.
3437 (byte-compile--use-old-handlers): New var.
3438 (byte-compile-catch): Use new byte codes depending on
3439 byte-compile--use-old-handlers.
3440 (byte-compile-condition-case--old): Rename from
3441 byte-compile-condition-case.
3442 (byte-compile-condition-case--new): New function.
3443 (byte-compile-condition-case): New function that dispatches depending
3444 on byte-compile--use-old-handlers.
3445 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3446 when we can.
3447
3448 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3449 Optimize under `condition-case' and `catch' if
3450 byte-compile--use-old-handlers is nil.
3451 (disassemble-offset): Handle new bytecodes.
3452
328a8179
SM
34532013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * subr.el (error): Use `declare'.
3456 (decode-char, encode-char): Use advertised-calling-convention instead
3457 of the docstring to discourage use of the `restriction' arg.
3458
15a1e936
DU
34592013-10-03 Daiki Ueno <ueno@gnu.org>
3460
3461 * epg.el (epg-verify-file): Add a comment saying that it does not
3462 notify verification error as a return value nor a signal.
3463 (epg-verify-string): Ditto.
3464
376f862a
KR
34652013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3466
3467 * progmodes/compile.el (compilation-start): Try globbing the arg to
3468 `cd' (bug#15417).
3469
a2f93a5f
MA
34702013-10-02 Michael Albinus <michael.albinus@gmx.de>
3471
3472 Sync with Tramp 2.2.8.
3473
3474 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3475 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3476 * net/trampver.el: Update release number.
3477
0daa0804
JD
34782013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3479
3480 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3481 and default-process-coding-system for darwin only.
3482
abd1ae34
SM
34832013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3486
be4e325d
MH
34872013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3488
3489 * vc/vc-git.el (vc-git-grep): Disable pager.
3490
e9155c4a
DG
34912013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3492
494e898b
DG
3493 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3494 Use :url instead of :homepage, as per
3495 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3496
e9155c4a
DG
3497 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3498 non-nil, use `syntax-ppss' (Bug#15251).
3499
481a8e0f
RS
35002013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3501
be4e325d
MH
3502 * progmodes/octave.el (inferior-octave-startup-file):
3503 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3504
056453c6
DG
35052013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3506
be4e325d
MH
3507 * emacs-lisp/package.el (package-desc-from-define):
3508 Accept additional arguments as plist, convert them to an alist and store
3509 them in the `extras' slot.
056453c6
DG
3510 (package-generate-description-file): Convert extras alist back to
3511 plist and append to the `define-package' form arguments.
3512 (package--alist-to-plist): New function.
3513 (package--ac-desc): Add `extras' slot.
3514 (package--add-to-archive-contents): Check if the archive-contents
3515 vector is long enough, and if it is, pass its `extras' slot value
3516 to `package-desc-create'.
3517 (package-buffer-info): Call `lm-homepage', pass the returned value
3518 to `package-desc-from-define'.
3519 (describe-package-1): Render the homepage button (Bug#13291).
3520
be4e325d
MH
3521 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3522 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3523
832966e5
JD
35242013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3525
3526 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3527 and default-process-coding-system to utf-8-unix (Bug#15402).
3528
6cfe977d
XF
35292013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3530
3531 * subr.el (looking-back): Do not recommend using looking-back.
3532
38de11bd
AM
35332013-09-28 Alan Mackenzie <acm@muc.de>
3534
3535 Fix indentation/fontification of Java enum with "implements".
3536
3537 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3538 regexp which matches "implements", etc., in Java.
3539 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3540 specifier clauses coming after "enum".
3541 * progmodes/cc-fonts.el (c-font-lock-declarations)
3542 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3543 after "enum".
3544
1610938f
JD
35452013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3546
3547 * faces.el (region): Change ns_selection_color to
3548 ns_selection_fg_color, add ns_selection_bg_color.
3549
e090f499
LL
35502013-09-28 Leo Liu <sdl.web@gmail.com>
3551
4d2e94d1
LL
3552 * progmodes/octave.el (inferior-octave-completion-table)
3553 (inferior-octave-completion-at-point): Minor tweaks.
3554
e090f499
LL
3555 * textmodes/ispell.el (ispell-lookup-words): Rename from
3556 lookup-words. (Bug#15460)
3557 (lookup-words): Obsolete.
3558 (ispell-complete-word, ispell-command-loop): All uses changed.
3559
7e138a62
RS
35602013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3561
3562 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3563 (octave-mode-menu): Add octave-send-buffer.
3564 (octave-send-buffer): New function.
3565
5af5ed08
RS
35662013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3567
3568 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3569 octave-lookfor.
3570 (octave-mode-menu): Add octave-lookfor.
3571 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3572 octave-lookfor.
3573 (octave-lookfor): New function.
3574
3b7b2692
SM
35752013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * emacs-lisp/cl-macs.el:
3578 (cl--loop-destr-temps): Remove.
3579 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3580 its convention.
3581 (cl--loop-set-iterator-function): New function.
3582 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3583 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3584 Bind `it' with `let' instead of substituting it with `cl-subst'.
3585 (cl--unused-var-p): New function.
3586 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3587 Eliminate some unused variable warnings (bug#15326).
3588
529fb53f
TH
35892013-09-27 Tassilo Horn <tsdh@gnu.org>
3590
3591 * doc-view.el (doc-view-scale-reset): Rename from
3592 `doc-view-reset-zoom-level'.
3593 (doc-view-scale-adjust): New command.
3594 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3595 `doc-view-scale-adjust'.
3596
0550c95a
TH
35972013-09-26 Tassilo Horn <tsdh@gnu.org>
3598
3599 * doc-view.el (doc-view-reset-zoom-level): New command.
3600 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3601 zoom commands (bug#15466).
3602
6950f152
KH
36032013-09-26 Kenichi Handa <handa@gnu.org>
3604
3605 * international/quail.el (quail-help): Make it not a command.
3606
39587580
LL
36072013-09-26 Leo Liu <sdl.web@gmail.com>
3608
3609 * minibuffer.el (completion-all-sorted-completions): Make args
3610 optional as they are.
3611
00578659
DC
36122013-09-25 Daniel Colascione <dancol@dancol.org>
3613
3614 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3615 specs are and that they're not evaluated.
3616
0c173878
SS
36172013-09-24 Sam Steingold <sds@gnu.org>
3618
3619 * midnight.el (clean-buffer-list-kill-regexps)
3620 (clean-buffer-list-kill-buffer-names): Update for the new Man
3621 buffer naming which includes the object name.
3622
84998447
SM
36232013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3626 (eshell-parse-command, eshell-parse-pipeline): Use it since
3627 eshell-separate-commands requires a dynamic scoped var.
3628 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3629
33215353
LL
36302013-09-23 Leo Liu <sdl.web@gmail.com>
3631
3632 * autoinsert.el (auto-insert-alist): Make the value of
3633 lexical-binding match its file setting.
3634
57b16162
JB
36352013-09-23 Juanma Barranquero <lekktu@gmail.com>
3636
c8af4e67
JB
3637 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3638
57b16162
JB
3639 * autoarg.el (autoarg-kp-digit-argument):
3640 * electric.el (Electric-command-loop):
3641 * kmacro.el (kmacro-step-edit-insert):
3642 Do not set universal-argument-num-events.
3643
7186ba60
LL
36442013-09-22 Leo Liu <sdl.web@gmail.com>
3645
3646 * files.el (interpreter-mode-alist): Add octave.
3647
ece15004
AM
36482013-09-21 Alan Mackenzie <acm@muc.de>
3649
3650 C++: fontify identifier in declaration following "public:" correctly.
3651 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3652 to match "public", etc.
3653 (c-decl-prefix-re): Add ":" into the C++ value.
3654 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3655 bit. Add a check for a ":" preceded by "public", etc.
3656
75d83e22
EZ
36572013-09-21 Eli Zaretskii <eliz@gnu.org>
3658
3659 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3660 recognized by GDB 7.5 and later.
3661
d052d3bd
XF
36622013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3663
3664 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3665
31dca772
R
36662013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * subr.el (internal--call-interactively): New const.
3669 (called-interactively-p): Use it (bug#3984).
3670
98ccf24e
XF
36712013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3672
3673 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3674 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3675 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3676
c39cc7d1
SM
36772013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3680 (eshell-ls-orig-insert-directory): Remove.
3681 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3682 (eshell-ls-use-in-dired): Use advice-add/remove.
3683 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3684 Add `orig-fun' arg for use in :around advice.
3685 Make it check (redundantly) eshell-ls-use-in-dired.
3686
9a0289a2
GM
36872013-09-19 Glenn Morris <rgm@gnu.org>
3688
a2c501b8
GM
3689 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3690
c440407a
GM
3691 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3692
9a0289a2
GM
3693 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3694
85e05915
MA
36952013-09-19 Michael Albinus <michael.albinus@gmx.de>
3696
3697 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3698 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3699 (tramp-get-remote-python): New defuns.
3700 (tramp-get-remote-uid-with-perl)
3701 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3702 contributed by yary <not.com@gmail.com> (tiny change).
3703 (tramp-get-remote-uid-with-python)
3704 (tramp-get-remote-gid-with-python): New defuns. Python code
3705 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3706 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3707
ce503312
GM
37082013-09-19 Glenn Morris <rgm@gnu.org>
3709
f7544773
GM
3710 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3711
72fd2877
GM
3712 * eshell/em-unix.el (eshell-remove-entries):
3713 Rename argument to avoid name-clash with global `top-level'.
3714
336b5a56
GM
3715 * eshell/esh-proc.el (eshell-kill-process-function):
3716 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3717 (eshell-reset-after-proc): Remove unused arg `proc'.
3718
57a3a53d
GM
3719 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3720 (directory-files-and-attributes): Mark unused arg.
3721
3261d4af
GM
3722 * eshell/em-unix.el (eshell-remove-entries):
3723 Remove unused arg `path'. Update callers.
3724
8e51b5d0
GM
3725 * eshell/em-hist.el (eshell-hist-parse-arguments):
3726 Remove unused arg `silent'. Update callers.
3727
ce503312
GM
3728 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3729 Fix (f)boundp mix-up.
3730
3731 * eshell/em-smart.el (eshell-smart-scroll-window)
3732 (eshell-disable-after-change):
336b5a56 3733 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3734
ee3ce8a7
AM
37352013-09-18 Alan Mackenzie <acm@muc.de>
3736
3737 Fix fontification of type when followed by "const".
3738 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3739 "known" types from fontification.
3740
ec9177ba
GM
37412013-09-18 Glenn Morris <rgm@gnu.org>
3742
7bb3e768
GM
3743 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3744 (chart-face-list): Drop Emacsen without display-color-p.
3745
5148da15
GM
3746 * net/eww.el (libxml-parse-html-region): Declare.
3747 (eww-display-html): Explicit error if no libxml2 support.
3748
2f68e157
GM
3749 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3750
9019d095
GM
3751 * image.el (image-type-from-buffer, image-multi-frame-p):
3752 Remove --without-x warning/error.
67645389 3753
5f30349b 3754 * mouse.el (mouse-yank-primary):
45069b2e 3755 * term.el (term-mouse-paste):
5f30349b
GM
3756 Reorder to silence --without-x compilation.
3757
cd8edbbe
GM
3758 * mpc.el (doc-view-mode): Silence --without-x compilation.
3759
8a78544e
GM
3760 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3761 Silence --without-x compilation.
3762
12679bfd
GM
3763 * progmodes/gud.el (gud-find-file, gud-mode):
3764 Silence --without-x compilation.
3765 (tooltip-mode): Declare.
30810a05 3766
f0047cb9
GM
3767 * wdired.el (dired-backup-overwrite): Remove declaration.
3768 (wdired-mode-map): Add doc string.
3769
e740f9d2
GM
3770 * custom.el (x-get-resource): Declare.
3771
92d77c89
GM
3772 * eshell/em-glob.el (ange-cache):
3773 * eshell/em-unix.el (ange-cache): Declare.
3774
76e69577
GM
3775 * faces.el (x-display-list, x-open-connection, x-get-resource):
3776 Declare.
7e58af4b
GM
3777
3778 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3779 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3780 Declare.
76e69577 3781
4bd4c0af 3782 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3783
ffb82dbd
GM
3784 * net/gnutls.el (gnutls-log-level): Declare.
3785
986ed135
GM
3786 * net/shr.el (image-size, image-animate): Declare.
3787
e740f9d2
GM
3788 * simple.el (font-info): Declare.
3789
d2f3e9f8
GM
3790 * subr.el (x-popup-dialog): Declare.
3791
047a1a4c
GM
3792 * term/common-win.el (x-select-enable-primary)
3793 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3794 Declare.
3795
f4a1d572
GM
3796 * term/ns-win.el (x-handle-args): Declare.
3797
e843de77
GM
3798 * term/x-win.el (x-select-enable-clipboard): Declare.
3799
5fa89513
GM
3800 * term/w32-win.el (create-default-fontset): Declare.
3801
38702b5b
GM
3802 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3803 Declare.
3804
e740f9d2
GM
3805 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3806 (fit-frame-to-buffer): Explicit error if --without-x.
3807 (mouse-autoselect-window-select): Silence compiler.
3808
49a053fc
GM
3809 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3810
3811 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3812 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3813 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3814 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3815 Remove unused local variables.
3816
3817 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3818
ec9177ba
GM
3819 * textmodes/two-column.el: Make 2C-split work for --without-x.
3820 (scroll-bar-columns): Autoload.
3821 (top-level): Require fringe when compiling.
3822
9f25cb77
LL
38232013-09-18 Leo Liu <sdl.web@gmail.com>
3824
3825 * subr.el (add-hook): Robustify to handle closure as well.
3826
2b42da98
GM
38272013-09-17 Glenn Morris <rgm@gnu.org>
3828
3829 * simple.el (messages-buffer-mode-map): Unbind "g".
3830
e8b66a6a
SM
38312013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3832
9c0ad4f7
SM
3833 * help-mode.el (help-mode-finish): Use derived-mode-p.
3834 Remove obsolete highlighting.
3835
7a806dfb
SM
3836 * play/life.el (life-mode): Use define-derived-mode. Derive from
3837 special-mode.
3838 (life): Let-bind inhibit-read-only.
3839 (life-setup): Avoid `setq'. Use `life-mode'.
3840
96dbf5a8
SM
3841 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3842 which should not be needed any more.
3843 (package-menu-refresh, package-menu-describe-package): Use user-error.
3844
e8b66a6a
SM
3845 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3846 (eshell-post-rewrite-command-hook): Make obsolete.
3847 (eshell-parse-command): Simplify.
3848 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3849 (eshell--cmd): Declare.
3850 (eshell-parse-pipeline): Remove unused var `final-p'.
3851 Pass a dynvar to eshell-post-rewrite-command-hook.
3852 Implement the new eshell-post-rewrite-command-function.
3853 (eshell-invoke-directly): Remove unused arg `input'.
3854 * eshell/esh-io.el (eshell-io-initialize):
3855 Use eshell-post-rewrite-command-function (bug#15399).
3856 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3857 adjust to new calling convention.
3858 (eshell-create-handles): Rename args to avoid clashing with dynvar
3859 `standard-output'.
3860
90582f05
GM
38612013-09-17 Glenn Morris <rgm@gnu.org>
3862
3863 * simple.el (messages-buffer-mode): New major mode.
3864 (messages-buffer): New function.
3865 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3866 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3867 (ert-run-test): Use `messages-buffer' function.
90582f05 3868 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3869 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3870 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3871
39eb0cb5 38722013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3873
3874 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3875
1d42e5b6 3876 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 3877
70568a90
SM
38782013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3879
504a0381
SM
3880 * icomplete.el (icomplete-in-buffer): New var.
3881 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3882 vars and replace them with functions.
3883 (icomplete-minibuffer-setup): Adjust accordingly.
3884 (icomplete--completion-table, icomplete--completion-predicate)
3885 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3886 New functions.
3887 (icomplete-forward-completions, icomplete-backward-completions)
3888 (icomplete-simple-completing-p, icomplete-exhibit)
3889 (icomplete-completions): Use them.
3890 (icomplete--in-region-buffer): New var.
3891 (icomplete--in-region-setup): New function.
3892 (icomplete-mode): Use it.
3893
70568a90
SM
3894 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3895 (bug#15379).
3896 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3897 return args and options.
3898 (eshell-eval-using-options): Use the new return value of
3899 eshell--do-opts to set the options's vars in their scope.
3900 (eshell--set-option): Rename from eshell-set-option.
3901 Add arg `opt-vals'.
3902 (eshell--process-option): Rename from eshell-process-option.
3903 Add arg `opt-vals'.
3904 (eshell--process-args): Use an `opt-vals' alist to store the options's
3905 values during their processing and return them additionally to the
3906 remaining args.
3907
578c21bc
DG
39082013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3909
3910 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3911 continuation character an operator, as far as indentation is
3912 concerned (Bug#15369).
3913
c089653d
MR
39142013-09-15 Martin Rudalics <rudalics@gmx.at>
3915
3916 * window.el (window--state-put-2): Don't process buffer state
3917 when buffer doesn't exist any more (Bug#15382).
3918
1e53bb4b
GM
39192013-09-15 Glenn Morris <rgm@gnu.org>
3920
30753242
GM
3921 * eshell/em-unix.el (eshell/rm):
3922 Make -f ignore missing files. (Bug#15373)
3923
1e53bb4b
GM
3924 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3925 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3926 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3927
0d8863b3
GM
39282013-09-14 Glenn Morris <rgm@gnu.org>
3929
3930 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3931
d3fc6549
GM
39322013-09-13 Glenn Morris <rgm@gnu.org>
3933
3934 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3935 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3936
fcd42c11
DA
39372013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3938
3939 * frame.el (x-focus-frame): Mark as declared in frame.c.
3940
7830899f
SM
39412013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3942
3943 * ls-lisp.el: Use advice-add.
3944 (original-insert-directory): Remove.
3945 (ls-lisp--insert-directory): Rename from insert-directory; add
3946 `orig-fun' argument.
3947 (insert-directory): Advise.
3948
84387cd2
EZ
39492013-09-13 Eli Zaretskii <eliz@gnu.org>
3950
3951 * term.el (term-emulate-terminal): Decode the command string
3952 before passing it to term-command-hook. (Bug#15337)
3953
35ffc6ba
GM
39542013-09-13 Glenn Morris <rgm@gnu.org>
3955
5c3f9bcc
GM
3956 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3957
2ada368a
GM
3958 * eshell/esh-ext.el (eshell-search-path): Declare.
3959
fcef2e13
GM
3960 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3961 Otherwise an error occurs if eshell-dirs module not loaded.
3962
35ffc6ba
GM
3963 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3964
35c3d36e
MA
39652013-09-13 Michael Albinus <michael.albinus@gmx.de>
3966
3967 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3968 `tramp-check-proper-host'. Check for a valid method name.
3969
3970 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3971 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3972 * net/tramp-sh.el (tramp-maybe-open-connection):
3973 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3974
3975 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3976 also for hash values.
3977
ae5e4c48
SM
39782013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3979
379add74
SM
3980 * term/ns-win.el (parameters): Don't declare as dynamic.
3981 (before-make-frame-hook): Don't add ineffective function.
3982
ae5e4c48
SM
3983 * eshell/*.el: Use lexical-binding (bug#15231).
3984
b5623270
KH
39852013-09-12 Kenichi Handa <handa@gnu.org>
3986
ae5e4c48 3987 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 3988
30213927
GM
39892013-09-12 Glenn Morris <rgm@gnu.org>
3990
be94d713 3991 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 3992 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 3993
44915370
GM
3994 * subr.el (do-after-load-evaluation): Also give compiler warnings
3995 when obsolete files are used (except by obsolete files).
3996
a6ae021f
GM
3997 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3998 in the status output, assume `filename' is the first. (Bug#15322)
3999
40e64f0c
GM
4000 * vc/vc.el (vc-deduce-fileset): Doc fix.
4001
16d9f896
GM
4002 * calc/calc-help.el (Info-goto-node):
4003 * progmodes/cperl-mode.el (Info-find-node):
4004 * vc/ediff.el (Info-goto-node): Update declarations.
4005
dea01c6e
GM
4006 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4007
759880bf 4008 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4009 (vc-bzr-pull): Require vc-dispatcher.
4010 * vc/vc-git.el (vc-compilation-mode): Declare.
4011 (vc-git-pull): Require vc-dispatcher.
4012
08d66420
GM
4013 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4014
30b626e9
GM
4015 * progmodes/octave.el (help-button-action): Declare.
4016
8c05cb10
GM
4017 * shell.el (shell-directory-tracker): Output error as a message
4018 rather than just returning it as a string.
4019 (shell-process-pushd): Remove useless use of message.
4020
30213927
GM
4021 * dframe.el (dframe-timer-fn):
4022 * files.el (dir-locals-read-from-file):
4023 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4024 (mpc-format):
4025 * reveal.el (reveal-post-command):
4026 * saveplace.el (load-save-place-alist-from-file):
4027 * shell.el (shell-resync-dirs):
4028 * w32-common-fns.el (x-get-selection-value):
4029 * emacs-lisp/copyright.el (copyright-find-copyright):
4030 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4031 * emulation/tpu-edt.el (tpu-copy-keyfile):
4032 * play/bubbles.el (bubbles--mark-neighbourhood):
4033 * progmodes/executable.el
4034 (executable-make-buffer-file-executable-if-script-p):
4035 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4036
d3b049e6
SM
40372013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4038
170266d0
SM
4039 Cleanup Eshell to rely less on dynamic scoping.
4040 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4041 last-value, and ext-command here. Bind `args' closer to `body'.
4042 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4043 (eshell--args): Declare new dynamic var.
4044 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4045 last-value, and ext-command. Pass `args' to `body'.
4046 (eshell-process-args): Bind eshell--args.
4047 (eshell-set-option): Use eshell--args.
4048 * eshell/eshell.el (eshell): Use derived-mode-p.
4049 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4050 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4051 (eshell-glob-function): Declare.
4052 * eshell/esh-util.el: Require cl-lib.
4053 (eshell-read-hosts-file): Avoid add-to-list.
4054 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4055 `err'.
4056 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4057 Declare.
4058 (eshell/diff): Remove unused var `err'.
4059 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4060 `killflag'.
4061 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4062 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4063 first use.
4064 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4065 Move declaration before first use.
4066 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4067 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4068 rely on cl-return.
4069
56834f3b
GM
40702013-09-12 Glenn Morris <rgm@gnu.org>
4071
4072 * term/ns-win.el (global-map): Remove binding for ispell-next,
4073 deleted 1999-05-29. (Bug#15357)
4074
5c91a2b8
GM
40752013-09-11 Glenn Morris <rgm@gnu.org>
4076
da712f22
GM
4077 * echistory.el (electric-command-history): Remove call to deleted func.
4078
512e4cdc
GM
4079 * play/landmark.el (landmark-mode): Fix typos.
4080
d3506ca5
GM
4081 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4082 Check cvs-sort-ignore-file is bound.
4083
5c91a2b8
GM
4084 * savehist.el: No need for cl when compiling on Emacs.
4085
feeff482
SM
40862013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4087
656bd483
SM
4088 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4089 (bug#15338).
d3b049e6
SM
4090 (eshell-self-insert-command, eshell-send-invisible):
4091 Remove unused argument.
656bd483
SM
4092 (eshell-handle-control-codes): Remove unused var `orig'.
4093 Avoid delete-backward-char.
4094
feeff482
SM
4095 * files.el (set-auto-mode): Simplify a bit further.
4096
2a08047a
GM
40972013-09-11 Glenn Morris <rgm@gnu.org>
4098
4099 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4100 (set-auto-mode): Don't regexp-quote elements.
4101 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4102 * progmodes/cc-mode.el (interpreter-mode-alist):
4103 * progmodes/ruby-mode.el (interpreter-mode-alist):
4104 Revert previous change.
4105
34675540
SM
41062013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4107
1b3b87df
SM
4108 * play/snake.el (snake-mode):
4109 * play/mpuz.el (mpuz-mode):
4110 * play/landmark.el (lm-mode):
4111 * play/blackbox.el (blackbox-mode):
4112 * play/5x5.el (5x5-mode):
4113 * obsolete/options.el (Edit-options-mode):
4114 * net/quickurl.el (quickurl-list-mode):
4115 * net/newst-treeview.el (newsticker-treeview-mode):
4116 * mail/rmailsum.el (rmail-summary-mode):
4117 * mail/mspools.el (mspools-mode):
4118 * locate.el (locate-mode):
4119 * ibuffer.el (ibuffer-mode):
4120 * emulation/ws-mode.el (wordstar-mode):
4121 * emacs-lisp/debug.el (debugger-mode):
4122 * array.el (array-mode):
4123 * net/eudc.el (eudc-mode): Use define-derived-mode.
4124 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4125 Move initialization into declaration.
4126 (mairix-searches-mode): Use define-derived-mode.
4127 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4128 (eudc-edit-hotlist): Use dolist.
4129 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4130 (Man-mode): Use define-derived-mode.
4131 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4132 (Info-edit-mode): Use define-derived-mode.
4133 (Info-cease-edit): Use Info-mode.
4134 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4135 into declaration.
4136 (eshell-mode): Use define-derived-mode.
4137 * chistory.el (command-history-mode-map): Rename from
4138 command-history-map.
4139 (command-history-mode): Use define-derived-mode.
da712f22 4140 (Command-history-setup): Remove function.
1b3b87df
SM
4141 * calc/calc.el (calc-trail-mode-map): New var.
4142 (calc-trail-mode): Use define-derived-mode.
4143 (calc-trail-buffer): Set calc-main-buffer manually.
4144 * bookmark.el (bookmark-insert-annotation): New function.
4145 (bookmark-edit-annotation): Use it.
4146 (bookmark-edit-annotation-mode): Make it a proper major mode.
4147 (bookmark-send-edited-annotation): Use derived-mode-p.
4148 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4149 closer to its ideal place. Use \' to match EOS.
4150
34675540
SM
4151 * profiler.el (profiler-calltree-find): Use function-equal.
4152
6a5c15d9
GM
41532013-09-10 Glenn Morris <rgm@gnu.org>
4154
1af4c220
GM
4155 * files.el (interpreter-mode-alist): Convert to regexps.
4156 (set-auto-mode): Adapt for this. (Bug#15306)
4157 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4158 Comment out unused variable.
4159 * progmodes/cc-mode.el (interpreter-mode-alist):
4160 * progmodes/python.el (interpreter-mode-alist):
4161 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4162 * progmodes/sh-script.el (sh-set-shell):
4163 No longer use interpreter-mode-alist to get list of shells.
4164
6a5c15d9
GM
4165 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4166
8c27f5ff
SM
41672013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4168
02ef6c1a 4169 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4170 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4171 Bind switch-frame explicitly. Replace universal-argument-minus with
4172 a conditional binding.
4173 (universal-argument-num-events, saved-overriding-map): Remove.
4174 (restore-overriding-map): Remove.
4175 (universal-argument--mode): Rename from save&set-overriding-map,
4176 and rewrite.
4177 (universal-argument, universal-argument-more, negative-argument)
4178 (digit-argument): Adjust accordingly.
4179 (universal-argument-minus): Remove.
4180 (universal-argument-other-key): Remove.
4181
8c27f5ff
SM
4182 * subr.el (with-demoted-errors): Add `format' argument.
4183
6480194c
MA
41842013-09-10 Michael Albinus <michael.albinus@gmx.de>
4185
4186 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4187 `tramp-cleanup-connection'.
4188
4189 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4190 parameters KEEP-DEBUG and KEEP-PASSWORD.
4191
4192 * net/tramp.el (tramp-file-name-handler):
4193 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4194 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4195 (tramp-maybe-open-connection):
8c27f5ff
SM
4196 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4197 Use `tramp-cleanup-connection'.
6480194c 4198
8c27f5ff
SM
4199 * net/tramp-sh.el (tramp-maybe-open-connection):
4200 Catch 'uname-changed inside the progress reporter.
6480194c 4201
e5e916d8
GM
42022013-09-10 Glenn Morris <rgm@gnu.org>
4203
9a2c9b47
GM
4204 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4205
e5e916d8
GM
4206 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4207 returns "alternate access method" in mode (eg "-rw-r--r--.").
4208
144e38fe
GM
42092013-09-08 Glenn Morris <rgm@gnu.org>
4210
4211 * saveplace.el (load-save-place-alist-from-file):
4212 Demote errors. (Bug#15305)
4213
af9ff9e8
MA
42142013-09-08 Michael Albinus <michael.albinus@gmx.de>
4215
4216 Improve compatibility with older Emacsen, and XEmacs.
4217
4218 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4219 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4220 (with-tramp-progress-reporter): Do not let-bind `result'.
4221 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4222 (tramp-handle-make-auto-save-file-name): New function, moved from
4223 tramp-sh.el.
4224
4225 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4226 for `make-auto-save-file-name'.
8c27f5ff
SM
4227 (tramp-adb--gnu-switches-to-ash):
4228 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4229
4230 * net/tramp-cache.el (tramp-cache-print): Call
4231 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4232
4233 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4234 bound. It isn't for XEmacs.
4235
8c27f5ff
SM
4236 * net/tramp-compat.el (tramp-compat-copy-file):
4237 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4238 (tramp-compat-replace-regexp-in-string): New defun.
4239
4240 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4241 for `make-auto-save-file-name'.
4242 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4243 `copy-file'.
4244 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4245 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4246 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4247
8c27f5ff
SM
4248 * net/tramp-gw.el (tramp-gw-open-network-stream):
4249 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4250
8c27f5ff
SM
4251 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4252 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4253 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4254 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4255 (tramp-sh-file-inotifywait-process-filter):
4256 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4257 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4258
4259 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4260 for `make-auto-save-file-name'.
8c27f5ff
SM
4261 (tramp-smb-handle-copy-directory):
4262 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4263 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4264 (tramp-smb-handle-copy-file): Improve error message.
4265 (tramp-smb-handle-rename-file): Rename directly only in case
4266 `newname' does not exist yet. This is a restriction of smbclient.
4267 (tramp-smb-maybe-open-connection): Rerun the function only when
4268 `auth-sources' is non-nil.
4269
0ca754d0
KH
42702013-09-08 Kenichi Handa <handa@gnu.org>
4271
e0eb0550 4272 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4273 more characters.
4274
e8dd0787
AM
42752013-09-07 Alan Mackenzie <acm@muc.de>
4276
4277 Correctly fontify Java class constructors.
4278 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4279 in Java Mode.
4280 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4281 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4282 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4283 "typeless" declaration there.
4284
f2f248e7
RW
42852013-09-07 Roland Winkler <winkler@gnu.org>
4286
4287 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4288 field subtitle for entry type book.
4289
67982e2b
SM
42902013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4291
4292 * minibuffer.el: Make minibuffer-complete call completion-in-region
4293 rather than other way around.
4294 (completion--some, completion-pcm--find-all-completions):
4295 Don't delay signals when debugging.
4296 (minibuffer-completion-contents): Beware fields within the
4297 minibuffer contents.
4298 (completion-all-sorted-completions): Use defvar-local.
4299 (completion--do-completion, completion--cache-all-sorted-completions)
4300 (completion-all-sorted-completions, minibuffer-force-complete):
4301 Add args `beg' and `end'.
4302 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4303 (minibuffer-complete): Use completion-in-region.
4304 (completion-complete-and-exit): New fun, extracted from
4305 minibuffer-complete-and-exit.
4306 (minibuffer-complete-and-exit): Use it.
4307 (completion--complete-and-exit): Rename from
4308 minibuffer--complete-and-exit.
4309 (completion-in-region--single-word): New function, extracted from
4310 minibuffer-complete-word.
4311 (minibuffer-complete-word): Use it.
4312 (display-completion-list): Make `common-substring' argument obsolete.
4313 (completion--in-region): Call completion--in-region-1 instead of
4314 minibuffer-complete.
4315 (completion-help-at-point): Pass boundaries to
4316 minibuffer-completion-help as args rather than via an overlay.
4317 (completion-pcm--string->pattern): Use `any-delim'.
4318 (completion-pcm--optimize-pattern): New function.
4319 (completion-pcm--pattern->regex): Handle `any-delim'.
4320 * icomplete.el (icomplete-forward-completions)
4321 (icomplete-backward-completions, icomplete-completions):
4322 Adjust calls to completion-all-sorted-completions and
4323 completion--cache-all-sorted-completions.
4324 (icomplete-with-completion-tables): Default to t.
4325 * emacs-lisp/crm.el (crm--current-element): Rename from
4326 crm--select-current-element. Don't put an overlay but return the
4327 boundaries instead.
4328 (crm--completion-command): Take two new args to bind to the boundaries.
4329 (crm-completion-help): Adjust accordingly.
4330 (crm-complete): Use completion-in-region.
4331 (crm-complete-word): Use completion-in-region--single-word.
4332 (crm-complete-and-exit): Use completion-complete-and-exit.
4333
e17d94a5
SM
43342013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4337 than dynamically.
4338
96727100
JL
43392013-09-06 Juri Linkov <juri@jurta.org>
4340
4341 * info.el (Info-display-images-node): When image file doesn't exist
4342 display text version of the image if it's provided in the Info file.
4343 Otherwise, display the location of missing image from SRC attribute.
4344 Add help-echo text property from ALT attribute. (Bug#15279)
4345
86cf7329
SM
43462013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4347
4348 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4349 (edit-abbrevs-mode): Use define-derived-mode.
4350
4351 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4352 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4353 that it's defined.
4354 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4355 Use define-derived-mode.
4356
4357 * epg.el (epg-start-encrypt): Minor CSE simplification.
4358
816244a2
WX
43592013-09-06 William Xu <william.xwl@gmail.com>
4360
4361 * arc-mode.el: Add support for 7za (bug#15264).
4362 (archive-7z-program): New var.
4363 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4364 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4365 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4366
1486fa31
MA
43672013-09-06 Michael Albinus <michael.albinus@gmx.de>
4368
4369 Remove URL syntax.
4370
4371 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4372 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4373 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4374 (tramp-postfix-host-format, tramp-file-name-regexp)
4375 (tramp-completion-file-name-regexp)
4376 (tramp-completion-dissect-file-name)
4377 (tramp-handle-substitute-in-file-name): Remove 'url case.
4378 (tramp-file-name-regexp-url)
4379 (tramp-completion-file-name-regexp-url): Remove constants.
4380
39785324
GM
43812013-09-06 Glenn Morris <rgm@gnu.org>
4382
4383 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4384
1f896cb7
DG
43852013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4386
4387 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4388 keywords" below "here-doc beginnings" (Bug#15270).
4389
c0458e0b
SM
43902013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4391
4392 * subr.el (pop): Use `car-safe'.
4393 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4394 to detect unused `pop' return value.
4395
4396 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4397 var `block-regexp'.
4398 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4399 (python-fill-string): Remove unused var `marker'.
4400 (python-skeleton-add-menu-items): Remove unused var `items'.
4401
4402 * international/mule-cmds.el: Require CL.
4403 (find-coding-systems-for-charsets): Avoid add-to-list.
4404 (sanitize-coding-system-list): New function, extracted from
4405 select-safe-coding-system-interactively.
4406 (select-safe-coding-system-interactively): Use it.
4407 (read-input-method-name): Accept symbols for `default'.
4408
4409 * emacs-lisp/advice.el (defadvice): Add indent rule.
4410
6c42fc3e
DH
44112013-09-05 Daniel Hackney <dan@haxney.org>
4412
4413 * dired-x.el:
4414 * net/ange-ftp.el:
4415 * net/browse-url.el:
4416 * net/dbus.el:
4417 * net/eudc.el:
4418 * net/eudcb-ldap.el:
4419 * net/eww.el:
4420 * net/imap.el:
4421 * printing.el:
4422 * vc/ediff-diff.el:
4423 * vc/ediff-init.el:
4424 * vc/ediff-merg.el:
4425 * vc/ediff-mult.el:
4426 * vc/ediff-util.el:
4427 * vc/ediff-wind.el:
4428 * vc/ediff.el:
4429 * vc/emerge.el:
4430 * vc/pcvs.el:
4431 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4432 byte compiler. Remove some unused let-bound variables.
4433
4c528aab
SM
44342013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4435
4436 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4437 a "ref-cell", since it gets better optimized (bug#14883).
4438
bd15c390
GM
44392013-09-05 Glenn Morris <rgm@gnu.org>
4440
4441 * progmodes/cc-awk.el (c-forward-sws): Declare.
4442
1c3ac2e5
GM
44432013-09-04 Glenn Morris <rgm@gnu.org>
4444
4445 * generic-x.el [rul-generic-mode]: Require cc-mode.
4446 (c++-mode-syntax-table): Declare.
4447 (rul-generic-mode-syntax-table): Init in the defvar.
4448
52b1cc79
SM
44492013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4450
c828af56
SM
4451 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4452 (vc-do-command, vc-set-async-update):
4453 * vc/vc-mtn.el (vc-mtn-dir-status):
4454 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4455 (vc-hg-pull, vc-hg-merge-branch):
4456 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4457 (vc-git-merge-branch):
4458 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4459 (vc-cvs-dir-status-files):
4460 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4461 (vc-bzr-dir-status-files):
4462 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4463 * vc/vc-annotate.el: Use lexical-binding.
4464 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4465 (vc-sentinel-movepoint): Declare.
4466 (vc-annotate): Don't use `goto-line'.
4467 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4468 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4469 (vc-sentinel-movepoint): Declare.
4470 * vc/vc-svn.el: Use lexical-binding.
4471 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4472 * vc/vc-sccs.el:
4473 * vc/vc-rcs.el: Use lexical-binding.
4474
abae272c
SM
4475 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4476 `deleted'. Don't drop errors silently.
4477
52b1cc79
SM
4478 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4479
63191d9f
XF
44802013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4481
4482 * vc/vc.el (vc-ignore): Rewrite.
4483 (vc-default-ignore): New function.
4484 (vc-default-ignore-completion-table): Use find-ignore-file.
4485
4486 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4487 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4488 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4489 Remove. Most code moved to vc.el.
4490
9d3f707c
SM
44912013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4492
abae272c 4493 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4494 * net/tramp-smb.el (tramp-smb-get-file-entries):
4495 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4496 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4497
fde38d49
SM
4498 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4499 Update call to it.
4500 (eww-change-select): Remove unused var `properties'.
4501 (eww-make-unique-file-name): Remove unused var `base'.
4502
4503 * finder.el (finder-compile-keywords): Don't mess with windows.
4504
84032db7
SM
4505 * calculator.el (calculator-funcall): Fix typo in last change.
4506
724f5e41
SM
4507 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4508
14b511d4
SM
4509 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4510 <pkg>-autoloads.el file stop us.
4511
9d3f707c 4512 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4513 warnings, and factor out common code.
9d3f707c 4514
88527bc0
DG
45152013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4516
4517 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4518 two-character operators and whether the character preceding them
4519 changes their meaning (Bug#15208).
4520
96edb677
FEG
45212013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4522
4523 Format code sent to Python shell for robustness.
9d3f707c
SM
4524 * progmodes/python.el (python-shell-buffer-substring):
4525 New function.
96edb677
FEG
4526 (python-shell-send-region, python-shell-send-buffer): Use it.
4527
95beaef3
MA
45282013-09-02 Michael Albinus <michael.albinus@gmx.de>
4529
4530 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4531 * net/tramp.el (tramp-user-error): ... here.
4532 (tramp-find-method, tramp-check-proper-host)
4533 (tramp-dissect-file-name, tramp-debug-message)
4534 (tramp-handle-shell-command):
4535 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4536 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4537
4538 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4539
f167c27b
MR
45402013-09-02 Martin Rudalics <rudalics@gmx.at>
4541
4542 * avoid.el (mouse-avoidance-point-position)
4543 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4544 returns nil.
4545
cd16c5f1
FEG
45462013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4547
4548 * progmodes/python.el (python-shell-completion-get-completions):
4549 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4550 (python-nav-if-name-main): New command.
cd16c5f1 4551
e73c3a0d
GM
45522013-09-01 Glenn Morris <rgm@gnu.org>
4553
f8ccce03
GM
4554 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4555 Avoid leading space in $wins. Otherwise the sed command used by
4556 eg compile-main ends up containing "/*.el". (Bug#15170)
4557
e73c3a0d
GM
4558 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4559
415f808e
GM
45602013-08-30 Glenn Morris <rgm@gnu.org>
4561
4562 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4563 Fix is-this-a-directory logic. (Bug#15220)
4564
f069bba8
SM
45652013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4566
112798c1
SM
4567 * textmodes/css-mode.el: Use SMIE.
4568 (css-smie-grammar): New var.
4569 (css-smie--forward-token, css-smie--backward-token)
4570 (css-smie-rules): New functions.
4571 (css-mode): Use them.
4572 (css-navigation-syntax-table): Remove var.
4573 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4574 (css-indent-calculate, css-indent-line): Remove functions.
4575
4576 Misc changes to reduce use of `(lambda...); and other cleanups.
4577 * cus-edit.el: Use lexical-binding.
4578 (customize-push-and-save, customize-apropos)
4579 (custom-buffer-create-internal): Use closures.
4580 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4581 * progmodes/ada-xref.el: Use setq.
4582 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4583 * dframe.el: Use lexical-binding.
4584 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4585 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4586 * descr-text.el: Use lexical-binding.
4587 (describe-text-widget, describe-text-sexp, describe-property-list):
4588 Use closures.
4589 * comint.el (comint-history-isearch-push-state): Use a closure.
4590 * calculator.el: Use lexical-binding.
4591 (calculator-number-to-string): Make it work with lexical-binding.
4592 (calculator-funcall): Same and use cl-letf.
4593
2da4c3ab
SM
4594 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4595 (lisp--company-doc-string, lisp--company-location): New functions.
4596 (lisp-completion-at-point): Use them to improve Company support.
4597
f069bba8
SM
4598 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4599 params of lambda expressions.
4600 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4601 (ruby-smie--opening-pipe-p): New function.
4602 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4603 symbols and matched |...| for formal params.
4604 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4605 from being treated as hanging. Handle "rescue".
4606
6758b6a8
GM
46072013-08-29 Glenn Morris <rgm@gnu.org>
4608
4609 * progmodes/cc-engine.el (c-pull-open-brace):
4610 Move definition before use.
4611
e8dfd197
SM
46122013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4615 are immutable. Don't use `unsafe' any more.
4616 (cl--defsubst-expand): Don't substitute at the same time as keeping
4617 a residual unused let-binding. Don't use `unsafe' any more.
4618
cc585c96
GM
46192013-08-29 Glenn Morris <rgm@gnu.org>
4620
ba579ea6
GM
4621 * calendar/cal-china.el (calendar-chinese-year-cache):
4622 Recenter on 2015.
4623
8201a87e
GM
4624 * nxml/nxml-util.el (nxml-debug-clear-inside):
4625 Use cl-loop rather than loop.
4626
6ee877c7
GM
4627 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4628
cc585c96
GM
4629 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4630
27be8d39
GM
46312013-08-28 Glenn Morris <rgm@gnu.org>
4632
397440a1
GM
4633 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4634
2bb762d4
GM
4635 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4636
27be8d39
GM
4637 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4638
2d69b99e
SM
46392013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4640
f663baa7
SM
4641 * simple.el (repeat-complex-command--called-interactively-skip):
4642 New function.
4643 (repeat-complex-command): Use it (bug#14136).
4644
dd4f8b74
SM
4645 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4646 (c-define-abbrev-table): Add `doc' argument.
4647 (c-mode-abbrev-table, c++-mode-abbrev-table)
4648 (objc-mode-abbrev-table, java-mode-abbrev-table)
4649 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4650 (awk-mode-abbrev-table): Use it.
4651 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4652 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4653 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4654 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4655 Move initialization into the declaration; and remove any
4656 autoload cookie.
4657
b58969f7
SM
4658 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4659 and dynamic let binding.
4660
4021d6a6
SM
4661 * vc/smerge-mode.el: Remove redundant :group args.
4662
2d69b99e
SM
4663 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4664 to load-path.
4665
274919fd
JL
46662013-08-28 Juri Linkov <juri@jurta.org>
4667
4668 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4669 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4670 (isearch-other-meta-char): Handle an undefined shifted printing
4671 character by downshifting it. (Bug#15200)
4672
121f8c95
JL
46732013-08-28 Juri Linkov <juri@jurta.org>
4674
4675 * isearch.el (isearch-search): Change regexp error message for
4676 non-regexp searches. (Bug#15166)
4677
50b13cde
PE
46782013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4679
4680 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4681 for portability to hosts where /bin/sh has problems.
4682
95888bca
SM
46832013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4686
bbe558f1
JL
46872013-08-27 Juri Linkov <juri@jurta.org>
4688
4689 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4690 in the keyboard macro. (Bug#15126)
4691
26f98a7d
JL
46922013-08-27 Juri Linkov <juri@jurta.org>
4693
4694 * isearch.el (isearch-quote-char): Comment out converting unibyte
4695 to multibyte, thus syncing with its `quoted-insert' counterpart.
4696 (Bug#15166)
4697
7c97d35e
MR
46982013-08-27 Martin Rudalics <rudalics@gmx.at>
4699
4700 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4701 argument in call of get-largest-window (Bug#15185).
4702 Reported by Stephen Leake.
7c97d35e 4703
a0b5606e 47042013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4705
4706 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4707
9e89d835
SM
47082013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4711 from a matcher-function unless there's no more matches (bug#15161).
4712
78fc2530
MA
47132013-08-26 Michael Albinus <michael.albinus@gmx.de>
4714
4715 * minibuffer.el: Revert change from 2013-08-20.
4716
4717 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4718 with text property `tramp-default', if appropriate.
4719 (tramp-check-proper-host): New defun.
4720 (tramp-dissect-file-name): Do not check hostname. Revert change
4721 of 2013-03-18.
4722 (tramp-backtrace): Make VEC-OR-PROC optional.
4723
4724 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4725 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4726 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4727 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4728 Apply `tramp-check-proper-host'.
78fc2530 4729
edca97cd
TH
47302013-08-26 Tassilo Horn <tsdh@gnu.org>
4731
4732 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4733 lambda expression in order to have `describe-variable' display it.
4734
df54bcbd
MA
47352013-08-26 Michael Albinus <michael.albinus@gmx.de>
4736
4737 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4738 BUF can be optional. (Bug#15186)
4739
eed99101
XF
47402013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4741
4742 * progmodes/flymake.el (flymake-get-real-file-name-function):
4743 Fix broken customization. (Bug#15184)
4744
b5eb9035
AM
47452013-08-25 Alan Mackenzie <acm@muc.de>
4746
8a51e842
AM
4747 Improve indentation of bracelists defined by macros (without "=").
4748
4749 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4750 expansion begins with "{", regard it as bracelist when it doesn't
4751 contain a ";".
4752
869455d4
AM
4753 Parse C++ inher-intro when there's a template split over 2 lines.
4754
4755 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4756 rigorously the search for "class" etc. followed by ":".
4757
4758 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4759 random languages a regexp which never matches rather than nil.
4760
b5eb9035
AM
4761 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4762
4763 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4764 (c-awk-regexp-one-line-possibly-open-char-list-re)
4765 (c-awk-one-line-possibly-open-regexp-re)
4766 (c-awk-one-line-non-syn-ws*-re): Remove.
4767 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4768 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4769 (c-awk-space*-unclosed-regexp-/-re): New constants.
4770 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4771 aren't regexp delimiters.
4772
4773 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4774 handling for a rare situation in AWK Mode involving unterminated
4775 strings/regexps.
4776
61611d54
GM
47772013-08-23 Glenn Morris <rgm@gnu.org>
4778
2d85dc34
GM
4779 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4780
cb8d2612
GM
4781 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4782
bb35f42f
GM
4783 * files.el (create-file-buffer): If the result would begin with
4784 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4785
b9808e77
SM
47862013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4787
e3a66363
SM
4788 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4789 text-properties (bug#15155).
4790
b9808e77
SM
4791 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4792 exist any more.
4793 (calc-keypad-redraw): Remove unused var `pad'.
4794 (calc-keypad-press): Remove unused var `menu'.
4795
7fd5f65e
MR
47962013-08-23 Martin Rudalics <rudalics@gmx.at>
4797
b9808e77
SM
4798 * window.el (display-buffer-pop-up-frame):
4799 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4800 use it as the new frame's buffer (Bug#15133).
4801
8352b530
SM
48022013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4803
4804 * calendar/timeclock.el: Minor cleanups.
4805 (timeclock-ask-before-exiting, timeclock-use-display-time):
4806 Use `symbol'.
4807 (timeclock-modeline-display): Define as alias before the
4808 actual definition.
4809 (timeclock-mode-line-display): Use define-minor-mode.
4810 (timeclock-day-list-template): Make it a function, add an argument.
4811 (timeclock-day-list-required, timeclock-day-list-length)
4812 (timeclock-day-list-debt, timeclock-day-list-span)
4813 (timeclock-day-list-break): Adjust calls accordingly.
4814
9f7b1925
SM
48152013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4816
4817 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4818 Use read--expression so that completion works again.
4819
6e50e983
SS
48202013-08-21 Sam Steingold <sds@gnu.org>
4821
4822 Add rudimentary inferior shell interaction
4823 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4824 (sh-set-shell): Reset it.
9f7b1925
SM
4825 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4826 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4827
dbb0d350
SM
48282013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4829
4830 * align.el: Use lexical-binding.
4831 (align-region): Simplify accordingly.
4832
c88586a9
MA
48332013-08-20 Michael Albinus <michael.albinus@gmx.de>
4834
4835 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4836
4837 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4838 `non-essential' up.
4839
f95527c8
MA
48402013-08-17 Michael Albinus <michael.albinus@gmx.de>
4841
4842 * net/tramp.el:
4843 * net/tramp-adb.el:
4844 * net/tramp-cmds.el:
4845 * net/tramp-ftp.el:
4846 * net/tramp-gvfs.el:
4847 * net/tramp-gw.el:
4848 * net/tramp-sh.el: Don't wrap external variable declarations by
4849 `eval-when-compile'.
4850
4b5fe4ee
LMI
48512013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4852
4853 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4854 now that Emacs supports ImageMagick animations.
4855
13c366c9
MA
48562013-08-16 Michael Albinus <michael.albinus@gmx.de>
4857
4858 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4859 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4860
3dfc5cd6
MR
48612013-08-16 Martin Rudalics <rudalics@gmx.at>
4862
4863 * window.el (mouse-autoselect-window-select): Do autoselect when
4864 mouse pointer is on margin.
4865
4bbb4381
WP
48662013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4867
4868 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4869
3a2ddc2d
GM
48702013-08-16 Glenn Morris <rgm@gnu.org>
4871
e8bedf5a
GM
4872 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4873 Handle "Remote Directory" response of some clients. (Bug#15058)
4874
58c4682f
GM
4875 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4876 Tweak warning. (Bug#14926)
4877
57953f49
GM
4878 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4879 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4880
3a2ddc2d
GM
4881 * image-mode.el (image-mode-map): Add menu items to reverse,
4882 increase, decrease, reset animation speed.
4883 (image--set-speed, image-increase-speed, image-decrease-speed)
4884 (image-reverse-speed, image-reset-speed): New functions.
4885 (image-mode-map): Add bindings for speed commands.
4886
4887 * image.el (image-animate-get-speed, image-animate-set-speed):
4888 New functions.
4889 (image-animate-timeout): Respect image :speed property.
4890
10fa0ed3
SM
48912013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4892
4893 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4894 previous line (bug#15101).
4895 (debugger-eval-expression, debugger-record-expression):
4896 Use read--expression (bug#15102).
4897
5d89d9d2
MA
48982013-08-15 Michael Albinus <michael.albinus@gmx.de>
4899
4900 Remove byte compiler warnings, visible when compiling with
4901 `byte-compile-force-lexical-warnings' set to t.
4902
4903 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4904 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4905 (tramp-handle-unhandled-file-name-directory)
4906 (tramp-handle-file-notify-add-watch, tramp-action-login)
4907 (tramp-action-succeed, tramp-action-permission-denied)
4908 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4909 arguments with "_".
4910
4911 * net/tramp-adb.el (tramp-adb-parse-device-names)
4912 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4913 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4914 (tramp-adb-handle-file-truename): Remove unused arguments.
4915
4916 * net/tramp-cache.el (tramp-flush-directory-property)
4917 (tramp-flush-connection-property, tramp-list-connections)
4918 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4919
10fa0ed3
SM
4920 * net/tramp-compat.el (tramp-compat-make-temp-file):
4921 Rename FILENAME to F.
5d89d9d2
MA
4922
4923 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4924 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4925 (tramp-zeroconf-parse-workstation-device-names)
4926 (tramp-zeroconf-parse-webdav-device-names)
4927 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4928
4929 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4930 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4931
4932 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4933 arguments.
4934 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4935 (tramp-sh-handle-insert-file-contents-literally)
4936 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4937 with "_".
4938 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4939 Remove unused variables.
4940
4941 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4942 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4943 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4944
4945 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4946 Make them a defconst.
4947 (tramp-uuencode-region): Remove unused variable.
4948
62f33bae
JB
49492013-08-14 Juanma Barranquero <lekktu@gmail.com>
4950
4951 * frameset.el (frameset--prop-setter): New function.
4952 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4953 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4954 parameter was already set in FILTERED. Doc fix.
4955 (frameset--record-minibuffer-relationships): Allow saving a
4956 minibufferless frame without its corresponding minibuffer frame.
4957 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4958 frame, if the frame id matches.
4959 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4960 frames before orphaned ones.
4961 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4962
c660a885
MR
49632013-08-14 Martin Rudalics <rudalics@gmx.at>
4964
4965 * window.el (window-make-atom): Don't overwrite parameter
4966 already present.
4967 (display-buffer-in-atom-window): Handle special case where we
4968 split an already atomic window.
4969 (window--major-non-side-window, display-buffer-in-side-window)
4970 (window--side-check): Ignore minibuffer window when walking
4971 window tree.
4972 (window-deletable-p): Return 'frame only if no other frame uses
4973 our minibuffer window.
4974 (record-window-buffer): Run buffer-list-update-hook.
4975 (split-window): Make sure window--check-frame won't destroy an
4976 existing atomic window in case the new window gets nested
4977 inside.
4978 (display-buffer-at-bottom): Ignore minibuffer window when
4979 walking window tree. Don't split a side window.
4980 (pop-to-buffer): Don't set-buffer here, the select-window call
4981 should do that.
4982 (mouse-autoselect-window-select): Autoselect only if we are in the
4983 text portion of the window.
4984
8259030d
LMI
49852013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4986
21c58ae2
LMI
4987 * net/shr.el (shr-parse-image-data): New function to grab both the
4988 data itself and the Content-Type.
4989 (shr-put-image): Use it.
4990
4991 * net/eww.el (eww-display-image): Ditto.
4992
8259030d
LMI
4993 * image.el (image-content-type-suffixes): New variable.
4994
ad756449
FEG
49952013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4996
4997 * progmodes/python.el (python-imenu--build-tree)
4998 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4999
f73f4ce6
XF
50002013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5001
5002 * simple.el (backward-word): Mention the optional argument.
5003
1f585e65
SM
50042013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5005
5006 * frameset.el (frameset--make): Rename constructor from make-frameset.
5007 (frameset-p, frameset-valid-p): Don't autoload.
5008 (frameset-valid-p): Use normal accessors.
5009
af1c6c84
GM
50102013-08-13 Glenn Morris <rgm@gnu.org>
5011
55e47f95
GM
5012 * progmodes/compile.el (compile-command): Tweak example in doc.
5013 * obsolete/scribe.el (scribe-mode):
5014 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5015
f0024d8c
GM
5016 * mail/feedmail.el (feedmail-confirm-outgoing)
5017 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5018
5019 * cus-start.el (truncate-partial-width-windows): Fix type.
5020
5021 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5022
af1c6c84
GM
5023 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5024
5514cc4c
SM
50252013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * emacs-lisp/timer.el (timer--time-setter): New function.
5028 (timer--time): Use it as gv-setter.
5029
5030 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5031 setter is not a symbol.
5032
7997a2f1
GJ
50332013-08-12 Grégoire Jadi <daimrod@gmail.com>
5034
5035 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5036 if sending fails. This makes debugging easier.
5037
01f1a9ab
JB
50382013-08-12 Juanma Barranquero <lekktu@gmail.com>
5039
5040 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5041 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5042 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5043
594a4307
EZ
50442013-08-12 Eli Zaretskii <eliz@gnu.org>
5045
5046 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5047
7a22490f 50482013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5049
5050 * format.el (format-annotate-function):
5051 Handle read-only text properties in the source. (Bug#14887)
5052
3e41a054
LMI
50532013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5054
5514cc4c
SM
5055 * net/eww.el (eww-display-html): Ignore coding system errors.
5056 One web site uses "utf-8lias" as the coding system.
3e41a054 5057
7ec326db
JB
50582013-08-11 Juanma Barranquero <lekktu@gmail.com>
5059
5060 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5061
5660113b
JB
50622013-08-10 Juanma Barranquero <lekktu@gmail.com>
5063
9a4ebc74
JB
5064 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5065 (tutorial--detailed-help): Remove unused local variables.
5066 (tutorial--save-tutorial-to): Use ignore-errors.
5067 (help-with-tutorial): Use looking-at-p.
5068
5069 * view.el (view-buffer-other-window, view-buffer-other-frame):
5070 Mark unused arguments.
5071
5072 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5073 (woman-select-symbol-fonts, woman, woman-find-file)
5074 (woman-insert-file-contents, woman-non-underline-faces):
5075 Use string-match-p.
5076 (woman1-unquote): Move declaration.
5077
5078 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5079 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5080 argument. Remove unused local variable.
5081 (xml-parse-elem-type): Use string-match-p.
5082 (xml-substitute-numeric-entities): Use ignore-errors.
5083
45fdb482
JB
5084 * calculator.el (calculator): Mark unused argument.
5085 (calculator-paste, calculator-quit, calculator-integer-p):
5086 Use ignore-errors.
5087 (calculator-string-to-number, calculator-decimal, calculator-exp)
5088 (calculator-op-or-exp): Use string-match-p.
5089
5090 * dired.el (dired-buffer-more-recently-used-p): Declare.
5091 (dired-insert-set-properties, dired-insert-old-subdirs):
5092 Use ignore-errors.
5093
5094 * dired-aux.el (dired-compress): Use ignore-errors.
5095 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5096 (dired-do-async-shell-command, dired-do-shell-command)
5097 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5098 (dired-insert-subdir-validate): Use string-match-p.
5099 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5100 (dired-add-entry): Use string-match-p, looking-at-p.
5101 (dired-insert-subdir-newpos): Remove unused local variable.
5102
5103 * filenotify.el (file-notify-callback): Remove unused local variable.
5104
5105 * filesets.el (filesets-error): Mark unused argument.
5106 (filesets-which-command-p, filesets-filter-dir-names)
5107 (filesets-directory-files, filesets-get-external-viewer)
5108 (filesets-ingroup-get-data): Use string-match-p.
5109
5110 * find-file.el (ff-other-file-name, ff-other-file-name)
5111 (ff-find-the-other-file, ff-cc-hh-converter):
5112 Remove unused local variables.
5113 (ff-get-file-name): Use string-match-p.
5114 (ff-all-dirs-under): Use ignore-errors.
5115
5116 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5117 (follow-select-if-visible): Remove unused local variable.
5118
5119 * forms.el (read-file-filter): Move declaration.
5120 (forms--make-format, forms--make-parser, forms-insert-record):
5121 Quote function with #'.
5122 (forms--update): Use string-match-p. Quote function with #'.
5123
5124 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5125 (help-make-xrefs): Use looking-at-p.
5126 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5127
5128 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5129 (ibuffer-confirm-operation-on): Use string-match-p.
5130
5131 * msb.el (msb-item-handler, msb-dired-item-handler):
5132 Mark unused arguments.
5133
5134 * ses.el (ses-decode-cell-symbol)
5135 (ses-kill-override): Remove unused local variable.
5136 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5137 (ses-load): Use ignore-errors, looking-at-p.
5138 (ses-jump-safe): Use ignore-errors.
5139 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5140
5141 * tabify.el (untabify, tabify): Mark unused arguments.
5142
5143 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5144 Mark unused argument.
5145 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5146 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5147
c880af52
JB
5148 * emacs-lisp/timer.el (timer--time): Define setter with
5149 gv-define-setter to avoid deprecation warning.
5150
5660113b 5151 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5152 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5153 (cmpl-statistics-block): Remove (body was commented out).
5154 All callers changed.
5155 (add-completions-from-buffer, load-completions-from-file):
5156 Remove unused variables.
5157
156aab80
JB
51582013-08-09 Juanma Barranquero <lekktu@gmail.com>
5159
5c5dee78
JB
5160 * filecache.el (file-cache-delete-file-list):
5161 Print message only when told so.
5162 (file-cache-files-matching): Use #' in mapconcat argument.
5163
156aab80
JB
5164 * ffap.el (ffap-url-at-point): Fix reference to variable
5165 thing-at-point-default-mail-uri-scheme.
5166
ad9dcd70
SM
51672013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5168
54bd972f
SM
5169 * subr.el (define-error): New function.
5170 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5171 error-file-not-found and define with define-error.
5172 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5173 and define with define-error.
5174 * userlock.el (file-locked, file-supersession):
5175 * simple.el (mark-inactive):
5176 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5177 * progmodes/ada-mode.el (ada-mode-errors):
5178 * play/life.el (life-extinct):
5179 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5180 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5181 * nxml/rng-util.el (rng-error):
5182 * nxml/rng-uri.el (rng-uri-error):
5183 * nxml/rng-match.el (rng-compile-error):
5184 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5185 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5186 * nxml/nxml-rap.el (nxml-scan-error):
5187 * nxml/nxml-outln.el (nxml-outline-error):
5188 * net/soap-client.el (soap-error):
5189 * net/gnutls.el (gnutls-error):
5190 * net/ange-ftp.el (ftp-error):
5191 * mpc.el (mpc-proc-error):
5192 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5193 (json-number-format, json-string-escape, json-string-format)
5194 (json-key-format, json-object-format):
5195 * jka-compr.el (compression-error):
5196 * international/quail.el (quail-error):
5197 * international/kkc.el (kkc-error):
5198 * emacs-lisp/ert.el (ert-test-failed):
5199 * calc/calc.el (calc-error, inexact-result, math-overflow)
5200 (math-underflow):
5201 * bookmark.el (bookmark-error-no-filename):
5202 * epg.el (epg-error): Define with define-error.
5203
0ea9e53a
SM
5204 * time.el (display-time-event-handler)
5205 (display-time-next-load-average): Don't call sit-for since it seems
5206 unnecessary (bug#15045).
5207
b0429158
SM
5208 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5209 Use #' instead of ' to quote functions.
5210 (checkdoc-output-mode): Use setq-local.
5211 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5212 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5213 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5214 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5215 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5216 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5217 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5218 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5219
ad9dcd70
SM
5220 * ido.el (ido-completion-help): Fix up compiler warning.
5221
77187e6f
JB
52222013-08-09 Juanma Barranquero <lekktu@gmail.com>
5223
5224 * frameset.el (frameset-p): Add autoload cookie.
5225 (frameset--jump-to-register): New function, based on code moved from
5226 register.el.
5227 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5228
5229 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5230 (frameset-restore, frameset-save, frameset-session-filter-alist):
5231 Remove declarations.
5232 (register-alist): Doc fix.
5233 (frameset-to-register): Move to frameset.el.
5234 (jump-to-register, describe-register-1): Remove frameset-specific code.
5235
9d3aa82c
JB
52362013-08-08 Juanma Barranquero <lekktu@gmail.com>
5237
5238 * allout-widgets.el (allout-widgets-pre-command-business)
5239 (allout-widgets-post-command-business)
5240 (allout-widgets-after-change-handler)
5241 (allout-decorate-item-and-context, allout-set-boundary-marker)
5242 (allout-body-modification-handler)
5243 (allout-graphics-modification-handler): Mark ignored arguments.
5244 (allout-widgets-post-command-business)
5245 (allout-widgets-exposure-change-processor)
5246 (allout-widgets-exposure-undo-processor)
5247 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5248 (allout-parse-item-at-point, allout-decorate-item-guides)
5249 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5250 * allout.el (epa-passphrase-callback-function): Declare.
5251 (allout-overlay-insert-in-front-handler)
5252 (allout-overlay-interior-modification-handler)
5253 (allout-isearch-end-handler, allout-chart-siblings)
5254 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5255 (allout-yank-processing, allout-process-exposed)
5256 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5257 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5258 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5259 (lisp-indent-defform): Mark ignored arguments.
5260 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5261 (calculate-lisp-indent): Remove unused variables.
5262 * international/characters.el (indian-2-column, arabic-2-column)
5263 (tibetan): Mark ignored arguments.
5264 (use-cjk-char-width-table): Mark ignored arguments.
5265 Remove unused variables.
5266 * international/fontset.el (build-default-fontset-data)
5267 (x-compose-font-name, create-fontset-from-fontset-spec):
5268 Mark ignored arguments.
5269 (fontset-plain-name): Remove unused variables.
5270 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5271 (keyboard-coding-system): Mark ignored arguments.
5272 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5273 * help.el (resize-temp-buffer-window):
5274 * window.el (display-buffer-in-major-side-window)
5275 (display-buffer-in-side-window, display-buffer-in-previous-window):
5276 Remove unused variables.
5277 * isearch.el (isearch-forward-symbol):
5278 * version.el (emacs-bzr-version-bzr):
5279 * international/mule-cmds.el (current-language-environment):
5280 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5281 (x-handle-display):
5282 * term/pc-win.el (x-list-fonts, x-display-planes)
5283 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5284 (x-server-version, x-display-screens, x-display-mm-height)
5285 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5286 (x-selection-owner-p, x-own-selection-internal)
5287 (x-disown-selection-internal, x-get-selection-internal)
5288 (msdos-initialize-window-system):
5289 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5290 * term/x-win.el (x-handle-no-bitmap-icon):
5291 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5292 (vc-default-find-file-hook, vc-default-extra-menu):
5293 Mark ignored arguments.
5294
0ca3f70e
SM
52952013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5296
5297 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5298 break-condition in the context of the debugged code (bug#12685).
5299
74c5d24c
CS
53002013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5301
5302 * comint.el:
5303 Do not use an overlay to highlight the last prompt. (Bug#14744)
5304 (comint-mode): Make comint-last-prompt buffer local.
5305 (comint-last-prompt): New variable.
5306 (comint-last-prompt-overlay): Remove. Superseded by
5307 comint-last-prompt.
0ca3f70e
SM
5308 (comint-snapshot-last-prompt, comint-output-filter):
5309 Use comint-last-prompt.
74c5d24c 5310
c03c02ee
JB
53112013-08-08 Juanma Barranquero <lekktu@gmail.com>
5312
a3738d20 5313 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5314 (frameset-save): Check validity of the resulting frameset.
5315
04263d23
XF
53162013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5317
5318 * ido.el (ido-record-command): Add doc string.
5319
76c5e5ab
JB
53202013-08-08 Juanma Barranquero <lekktu@gmail.com>
5321
5322 * frameset.el (frameset): Do not disable creation of the default
5323 frameset-p predicate. Doc fix.
5324 (frameset-valid-p): New function, copied from the old predicate-p.
5325 Add additional checks.
5326 (frameset-restore): Check with frameset-valid-p.
5327 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5328 (frameset-name, frameset-description, frameset-properties)
5329 (frameset-states): Add docstring.
f9dbf1cb
JB
5330 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5331 (frameset-filter-alist): Doc fixes.
76c5e5ab 5332
bd0c3c0b
JB
53332013-08-08 Juanma Barranquero <lekktu@gmail.com>
5334
5335 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5336
c735544c
SM
53372013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5340 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5341 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5342 (byte-compile-normal-call): Remove obsolescence check.
5343
2805a651
JB
53442013-08-08 Juanma Barranquero <lekktu@gmail.com>
5345
3677ffeb
JB
5346 * frameset.el (frameset-restore): Doc fix.
5347
2805a651
JB
5348 * register.el (frameset-frame-id, frameset-frame-with-id)
5349 (frameset-p, frameset-restore, frameset-save): Declare.
5350 (register-alist): Document framesets.
5351 (frameset-session-filter-alist): Declare.
5352 (frameset-to-register): New function.
5353 (jump-to-register): Implement jumping to framesets. Doc fix.
5354 (describe-register-1): Describe framesets.
5355
5356 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5357
a912c016
JB
53582013-08-07 Juanma Barranquero <lekktu@gmail.com>
5359
5360 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5361 Use lexical-binding.
5362
5363 * frameset.el (frameset): Use type vector, not list (incompatible
5364 change). Do not declare a new constructor, use the default one.
5365 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5366 `name' and `description', respectively, and add read-only slot
5367 `timestamp'. Doc fixes.
5368 (frameset-copy, frameset-persistent-filter-alist)
5369 (frameset-filter-alist, frameset-switch-to-gui-p)
5370 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5371 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5372 (frameset-filter-iconified, frameset-keep-original-display-p):
5373 Doc fixes.
5374 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5375 Rename from frameset-filter-(save|restore)-param. All callers changed.
5376 Doc fix.
5377 (frameset-p): Adapt to change to vector and be more thorough.
5378 Change arg name to OBJECT. Doc fix.
5379 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5380 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5381 All callers changed.
5382 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5383 All callers changed.
5384 (frameset--record-minibuffer-relationships): Rename from
5385 frameset--process-minibuffer-frames. All callers changed.
5386 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5387 Use new default constructor (again). Doc fix.
5388 (frameset--find-frame-if): Rename from `frameset--find-frame.
5389 All callers changed.
5390 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5391 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5392 Doc fix.
5393 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5394 PARAMETERS and WINDOW-STATE, respectively.
5395 (frameset-restore): Add new keyword argument PREDICATE.
5396 Reset frameset--target-display to nil. Doc fix.
5397
bb41480a
SM
53982013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5399
f001e98e
SM
5400 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5401 (bat-mode): Use it.
5402 (bat-mode-syntax-table): Mark \n as end-of-comment.
5403 (bat-font-lock-keywords): Remove comment rule.
5404
7679edb1
SM
5405 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5406 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5407
bb41480a
SM
5408 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5409 (byte-compile-callargs-warn): Use `push'.
5410 (byte-compile-arglist-warn): Ignore higher-order "calls".
5411 (byte-compile-file-form-autoload): Use `pcase'.
5412 (byte-compile-function-form): If quoting a symbol, check that it exists.
5413
cdc1ebb9
EZ
54142013-08-07 Eli Zaretskii <eliz@gnu.org>
5415
5416 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5417 and add a few popular commands found in batch files.
5418 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5419 (dos-mode): Doc fixes.
5420
312b1740
SM
54212013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5422
5423 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5424 (dos-mode): Use setq-local. Add space after "rem".
5425 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5426 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5427
400a3178
AM
54282013-08-07 Arni Magnusson <arnima@hafro.is>
5429
5430 * progmodes/dos.el: New file.
5431 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5432 dos-mode.
5433
3b5c03d3
GM
54342013-08-06 Glenn Morris <rgm@gnu.org>
5435
5436 * calendar/calendar.el: Add new faces, and day-header-array.
5437 (calendar-weekday-header, calendar-weekend-header)
5438 (calendar-month-header): New faces.
5439 (calendar-day-header-construct): New function.
5440 (calendar-day-header-width): Also :set calendar-day-header-array.
5441 (calendar-american-month-header, calendar-european-month-header)
5442 (calendar-iso-month-header): Use calendar- faces.
5443 (calendar-generate-month):
5444 Use calendar-day-header-array for day headers; apply faces to them.
5445 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5446 (calendar-abbrev-construct): Add optional maxlen argument.
5447 (calendar-day-name-array): Doc fix.
5448 (calendar-day-name-array, calendar-abbrev-length)
5449 (calendar-day-abbrev-array):
5450 Also :set calendar-day-header-array, and maybe redraw.
5451 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5452 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5453 (calendar-day-name): Add option to use header array.
5454
ec6a2d7a
LMI
54552013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5456
5457 * net/shr.el (shr-render-td): Remove debugging.
5458 (shr-render-td): Make width computation consistent by defaulting
5459 all zero-width columns to 10 characters. This may not be optimal,
5460 but it's at least consistent.
2122cb6d
LMI
5461 (shr-make-table-1): Redo last change to fix the real problem in
5462 colspan handling.
ec6a2d7a 5463
ed4fd9c5
DA
54642013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5465
0ca3f70e
SM
5466 * files.el (cache-long-line-scans):
5467 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5468
64e22afe
JB
54692013-08-06 Juanma Barranquero <lekktu@gmail.com>
5470
024b38fc
JB
5471 * frameset.el (frameset, frameset-filter-alist)
5472 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5473 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5474 (frameset-compute-pos): Rename from frameset--compute-pos,
5475 and add docstring.
5476 (frameset-move-onscreen): Use frameset-compute-pos.
5477 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5478
64e22afe
JB
5479 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5480 Fix typos in docstrings.
5481
c8c2aca8
DA
54822013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5483
5484 * frame.el (get-other-frame): Tiny cleanup.
5485
1d237bba
JB
54862013-08-06 Juanma Barranquero <lekktu@gmail.com>
5487
8951efef
JB
5488 * vc/vc.el (vc-default-ignore-completion-table):
5489 Silence byte-compiler warning.
5490
307764cc
JB
5491 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5492 slot , which can indeed be nil.
5493 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5494 Move entry for `left' from persistent to live filter alist.
5495 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5496 Doc fixes.
5497 (frameset-filter-params): When restoring a frame, copy items added to
5498 `filtered', to avoid unwittingly modifying the original parameters.
5499 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5500 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5501
1d237bba
JB
5502 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5503 to use looking-at-p instead of looking-at. (Bug#15028)
5504
dc6c0eda
SM
55052013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 Revert introduction of isearch-filter-predicates (bug#14714).
5508 Rely on add-function instead.
5509 * isearch.el (isearch-filter-predicates): Rename it back to
5510 isearch-filter-predicate.
5511 (isearch-message-prefix): Use advice-function-mapc and advice
5512 properties to get the isearch-message-prefix.
5513 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5514 instead of run-hook-with-args-until-failure.
5515 (isearch-filter-visible): Not obsolete any more.
5516 * loadup.el: Preload nadvice.
5517 * replace.el (perform-replace): Revert to funcall
5518 instead of run-hook-with-args-until-failure.
5519 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5520 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5521 dired-isearch-filenames-toggle; make it into a proper minor mode.
5522 Use add/remove-function.
5523 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5524 Call the minor-mode rather than add/remove-hook.
5525 (dired-isearch-filter-filenames):
5526 Remove isearch-message-prefix property.
5527 * info.el (Info--search-loop): New function, extracted from Info-search.
5528 Funcall isearch-filter-predicate instead of
5529 run-hook-with-args-until-failure isearch-filter-predicates.
5530 (Info-search): Use it.
5531 (Info-mode): Use isearch-filter-predicate instead of
5532 isearch-filter-predicates.
5533
290d5b58
DA
55342013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5535
5536 Do not call to `selected-window' where it is assumed by default.
5537 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5538 `window-hscroll', `window-width', `window-height', `window-buffer',
5539 `window-frame', `window-start', `window-point', `next-window'
5540 and `window-display-table'.
5541 * abbrev.el (abbrev--default-expand):
5542 * bs.el (bs--show-with-configuration):
5543 * buff-menu.el (Buffer-menu-mouse-select):
5544 * calc/calc.el (calc):
5545 * calendar/calendar.el (calendar-generate-window):
5546 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5547 (diary-make-entry):
5548 * comint.el (send-invisible, comint-dynamic-complete-filename)
5549 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5550 * completion.el (complete):
5551 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5552 * disp-table.el (describe-current-display-table):
5553 * doc-view.el (doc-view-insert-image):
5554 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5555 * ehelp.el (with-electric-help):
5556 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5557 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5558 * emacs-lisp/helper.el (Helper-help-scroller):
5559 * emulation/cua-base.el (cua--post-command-handler-1):
5560 * eshell/esh-mode.el (eshell-output-filter):
5561 * ffap.el (ffap-gnus-wrapper):
5562 * help-macro.el (make-help-screen):
5563 * hilit-chg.el (highlight-compare-buffers):
5564 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5565 * hl-line.el (global-hl-line-highlight):
5566 * icomplete.el (icomplete-simple-completing-p):
5567 * isearch.el (isearch-done):
5568 * jit-lock.el (jit-lock-stealth-fontify):
5569 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5570 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5571 * mpc.el (mpc-tagbrowser, mpc):
5572 * net/rcirc.el (rcirc-any-buffer):
5573 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5574 * play/landmark.el (landmark-max-width, landmark-max-height):
5575 * play/zone.el (zone):
5576 * progmodes/compile.el (compilation-goto-locus):
5577 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5578 * progmodes/etags.el (find-tag-other-window):
5579 * progmodes/fortran.el (fortran-column-ruler):
5580 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5581 * progmodes/verilog-mode.el (verilog-point-text):
5582 * reposition.el (reposition-window):
5583 * rot13.el (toggle-rot13-mode):
5584 * server.el (server-switch-buffer):
5585 * shell.el (shell-dynamic-complete-command)
5586 (shell-dynamic-complete-environment-variable):
5587 * simple.el (insert-buffer, set-selective-display)
5588 (delete-completion-window):
5589 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5590 (speedbar-recenter):
5591 * startup.el (fancy-splash-head):
5592 * textmodes/ispell.el (ispell-command-loop):
5593 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5594 * tutorial.el (help-with-tutorial):
5595 * vc/add-log.el (add-change-log-entry):
5596 * vc/compare-w.el (compare-windows):
5597 * vc/ediff-help.el (ediff-indent-help-message):
5598 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5599 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5600 (ediff-setup-control-frame):
5601 * vc/emerge.el (emerge-position-region):
5602 * vc/pcvs-util.el (cvs-bury-buffer):
5603 * window.el (walk-windows, mouse-autoselect-window-select):
5604 * winner.el (winner-set-conf, winner-undo): Related users changed.
5605
38276e01
JB
56062013-08-05 Juanma Barranquero <lekktu@gmail.com>
5607
5608 * frameset.el (frameset--set-id): Doc fix.
5609 (frameset-frame-id, frameset-frame-id-equal-p)
5610 (frameset-locate-frame-id): New functions.
5611 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5612 (frameset-restore): Use them.
5613
12b4c0ea
DA
56142013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5615
5616 Do not call to `selected-frame' where it is assumed by default.
5617 Affected functions are `raise-frame', `redraw-frame',
5618 `frame-first-window', `frame-terminal' and `delete-frame'.
5619 * calendar/appt.el (appt-disp-window):
5620 * epg.el (epg-wait-for-completion):
5621 * follow.el (follow-delete-other-windows-and-split)
5622 (follow-avoid-tail-recenter):
5623 * international/mule.el (set-terminal-coding-system):
5624 * mail/rmail.el (rmail-mail-return):
5625 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5626 * progmodes/f90.el (f90-add-imenu-menu):
5627 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5628 * server.el (server-switch-buffer):
5629 * simple.el (delete-completion-window):
5630 * talk.el (talk):
5631 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5632 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5633 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5634 * vc/ediff.el (ediff-documentation): Related users changed.
5635 * frame.el (selected-terminal): Remove the leftover.
5636
17f25e76
GM
56372013-08-05 Glenn Morris <rgm@gnu.org>
5638
5639 * calendar/calendar.el (calendar-generate-month):
5640 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5641 (calendar-generate-month, calendar-font-lock-keywords):
5642 Fix for calendar-day-header-width > length of any day name.
17f25e76 5643
063233c3
JB
56442013-08-05 Juanma Barranquero <lekktu@gmail.com>
5645
5646 * desktop.el (desktop-clear): Use new name of sort predicate.
5647
5648 * frameset.el (frameset): Add docstring. Move :version property to its
5649 own `version' slot.
5650 (frameset-copy): Rename from copy-frameset.
5651 (frameset-p): Check more thoroughly.
5652 (frameset-prop): Do not check for :version, which is no longer a prop.
5653 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5654 Use new :never value instead of t.
5655 (frameset-filter-alist): Expand and clarify docstring.
5656 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5657 (frameset-filter-minibuffer, frameset-filter-save-param)
5658 (frameset-filter-restore-param, frameset-filter-iconified):
5659 Add pointer to docstring of frameset-filter-alist.
5660 (frameset-filter-params): Rename filter values to be more meaningful:
5661 :never instead of t, and reverse the meanings of :save and :restore.
5662 (frameset--process-minibuffer-frames): Clarify error message.
5663 (frameset-save): Avoid unnecessary and confusing call to framep.
5664 Use new BOA constructor for framesets.
5665 (frameset--reuse-list): Doc fix.
5666 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5667 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5668 (frameset-minibufferless-first-p): Doc fix.
5669 Rename from frameset-sort-frames-for-deletion.
5670 (frameset-restore): Doc fixes. Use new function names.
5671 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5672
d5671a82
JB
56732013-08-04 Juanma Barranquero <lekktu@gmail.com>
5674
5675 * desktop.el (desktop-restore-forces-onscreen)
5676 (desktop-restore-reuses-frames): Document :keyword constant values.
5677 (desktop-filter-parameters-alist): Remove, now identical to
5678 frameset-filter-alist.
5679 (desktop--filter-tty*): Remove, moved to frameset.el.
5680 (desktop-save-frameset, desktop-restore-frameset):
5681 Do not pass :filters argument.
5682
5683 * frameset.el (frameset-live-filter-alist)
5684 (frameset-persistent-filter-alist): New variables.
5685 (frameset-filter-alist): Use them. Add autoload cookie.
5686 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5687 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5688 `frameset--id' (it's supposed to be internal to frameset.el).
5689 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5690 (frameset--initial-params): New function.
5691 (frameset--get-frame): Use it. Doc fix.
5692 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5693 Accept :all, not 'all.
5694 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5695 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5696 with fbound symbols. Fix frame id matching, and remove matching ids if
5697 the frame being restored is deleted. Obey :delete.
5698
671d5c16
SM
56992013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 * subr.el (macrop): New function.
5702 (text-clone--maintaining): New var.
5703 (text-clone--maintain): Rename from text-clone-maintain. Use it
5704 instead of inhibit-modification-hooks.
5705
5706 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5707 a proxy, so as handle autoloads and redefinitions of the target.
5708 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5709
5710 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5711 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5712 (pcase--mutually-exclusive-p): New function.
5713 (pcase--split-consp): Use it.
5714 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5715 mutually exclusive with the current predicate.
5716
5717 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5718 (edebug-macrop): Remove. Use `macrop' instead.
5719 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5720 (ad-macro-p):
5721 * eshell/esh-cmd.el (eshell-macrop):
5722 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5723
1d44e9dc
SM
57242013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5727 (advice-mapc): New function, using it.
5728 (advice-function-member-p): New function.
5729 (advice--normalize): Store the cdr in advice--saved-rewrite since
5730 that's the part that will be changed.
5731 (advice--symbol-function): New function.
5732 (advice-remove): Handle removal before the function is defined.
5733 Adjust to new advice--saved-rewrite.
5734 (advice-member-p): Use advice-function-member-p and
5735 advice--symbol-function.
5736
5414a283
JB
57372013-08-04 Juanma Barranquero <lekktu@gmail.com>
5738
51d30f2c
JB
5739 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5740 (frameset-filter-minibuffer): Doc fix.
5741 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5742 (frameset--set-id, frameset--process-minibuffer-frames)
5743 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5744 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5745
5414a283
JB
5746 * desktop.el (desktop-clear): Only delete frames when called
5747 interactively and desktop-restore-frames is non-nil. Doc fix.
5748 (desktop-read): Set desktop-saved-frameset to nil.
5749
ab419665
XF
57502013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5751
5752 * vc/vc.el (vc-ignore): Rewrite.
5753 (vc-default-ignore-completion-table):
5754 (vc--read-lines):
5755 (vc--add-line, vc--remove-regexp): New functions.
5756
5757 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5758 (vc-svn-ignore-completion-table): New function.
5759
5760 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5761 (vc-hg-ignore-completion-table):
5762 (vc-hg-find-ignore-file): New functions.
5763
5764 * vc/vc-git.el (vc-git-ignore): Rewrite.
5765 (vc-git-ignore-completion-table):
5766 (vc-git-find-ignore-file): New functions.
5767
5768 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5769
5770 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5771 (vc-bzr-ignore-completion-table):
5772 (vc-bzr-find-ignore-file): New functions.
5773
2613dea2
JB
57742013-08-03 Juanma Barranquero <lekktu@gmail.com>
5775
5776 * frameset.el (frameset-prop): New function and setter.
5777 (frameset-save): Do not modify frame list passed by the caller.
5778
9c959872
SM
57792013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5782
a104f656
SM
57832013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5784
70122acf
SM
5785 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5786 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5787
a104f656
SM
5788 * custom.el (custom-initialize-default, custom-initialize-set)
5789 (custom-initialize-reset, custom-initialize-changed): Affect the
5790 toplevel-default-value (bug#6275, bug#14586).
5791 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5792 for bug#6275.
5793
f078d570
JB
57942013-08-02 Juanma Barranquero <lekktu@gmail.com>
5795
185e3b5a
JB
5796 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5797 Add cl-def* expressions.
5798
f078d570
JB
5799 * frameset.el (frameset-filter-params): Fix order of arguments.
5800
9421876d
JB
58012013-08-02 Juanma Barranquero <lekktu@gmail.com>
5802
5803 Move code related to saving frames to frameset.el.
5804 * desktop.el: Require frameset.
5805 (desktop-restore-frames): Doc fix.
5806 (desktop-restore-reuses-frames): Rename from
5807 desktop-restoring-reuses-frames.
5808 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5809 (desktop-clear): Clear frames too.
5810 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5811 (desktop--filter-tty*, desktop-save, desktop-read):
5812 Use frameset functions.
5813 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5814 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5815 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5816 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5817 (desktop--process-minibuffer-frames, desktop-save-frames)
5818 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5819 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5820 (desktop--sort-states, desktop-restoring-frames-p)
5821 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5822 (desktop-restoring-frameset-p, desktop-restore-frameset)
5823 (desktop--check-dont-save, desktop-save-frameset): New functions.
5824 (desktop--app-id): New constant.
5825 (desktop-first-buffer, desktop-buffer-ok-count)
5826 (desktop-buffer-fail-count): Move before first use.
5827 * frameset.el: New file.
5828
76dc5996
SM
58292013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5830
5831 * files.el: Use lexical-binding.
5832 (dir-locals-read-from-file): Remove unused `err' variable.
5833 (hack-dir-local-variables--warned-coding): New var.
5834 (hack-dir-local-variables): Use it to avoid repeated warnings.
5835 (make-backup-file-name--default-function): New function.
5836 (make-backup-file-name-function): Use it as default.
5837 (buffer-stale--default-function): New function.
5838 (buffer-stale-function): Use it as default.
5839 (revert-buffer-insert-file-contents--default-function): New function.
5840 (revert-buffer-insert-file-contents-function): Use it as default.
5841 (insert-directory): Avoid add-to-list.
5842
5843 * autorevert.el (auto-revert-handler): Simplify.
5844 Use buffer-stale--default-function.
5845
06d36e2b
TH
58462013-08-01 Tassilo Horn <tsdh@gnu.org>
5847
5f648ab4
TH
5848 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5849
06d36e2b
TH
5850 * whitespace.el (whitespace-ensure-local-variables): New function.
5851 (whitespace-cleanup-region): Call it.
5852 (whitespace-turn-on): Call it.
5853
a43dc424
MA
58542013-08-01 Michael Albinus <michael.albinus@gmx.de>
5855
5856 Complete file name handlers.
5857
5858 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5859 (tramp-handle-verify-visited-file-modtime)
5860 (tramp-handle-file-notify-rm-watch): New functions.
5861 (tramp-call-process): Do not bind `default-directory'.
5862
44e18199
JB
5863 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5864 Order alphabetically.
a43dc424
MA
5865 [access-file, add-name-to-file, dired-call-process]:
5866 [dired-compress-file, file-acl, file-notify-rm-watch]:
5867 [file-ownership-preserved-p, file-selinux-context]:
5868 [make-directory-internal, make-symbolic-link, set-file-acl]:
5869 [set-file-selinux-context, set-visited-file-modtime]:
5870 [verify-visited-file-modtime]: Add handler.
5871 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5872
5873 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5874 [file-notify-add-watch, file-notify-rm-watch]:
5875 [set-file-times, set-visited-file-modtime]:
5876 [verify-visited-file-modtime]: Add handler.
5877 (with-tramp-gvfs-error-message)
5878 (tramp-gvfs-handle-set-visited-file-modtime)
5879 (tramp-gvfs-fuse-file-name): Remove.
5880 (tramp-gvfs-handle-file-notify-add-watch)
5881 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5882 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5883
44e18199
JB
5884 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5885 Order alphabetically.
a43dc424
MA
5886 [file-notify-rm-watch ]: Use default Tramp handler.
5887 [executable-find]: Remove private handler.
5888 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5889 `default-directory'.
5890 (tramp-sh-handle-executable-find)
5891 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5892 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5893 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5894 Do not use `format' in `tramp-message'.
5895
5896 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5897 [file-notify-rm-watch, set-visited-file-modtime]:
5898 [verify-visited-file-modtime]: Add handler.
5899 (tramp-smb-call-winexe): Do not bind `default-directory'.
5900
7188b515
XF
59012013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5902
5903 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5904
2412ee1a
DG
59052013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5906
5907 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5908 use it.
5909 (log-view-diff-changeset): Same.
5910 (log-view-diff-common): Call backend command `previous-revision'
5911 to find out the previous revision, in both cases. Swap the
5912 variables `to' and `fr', so that `fr' usually refers to the
5913 earlier revision (Bug#14989).
5914
5002a754
KRC
59152013-07-31 Kan-Ru Chen <kanru@kanru.info>
5916
5917 * ibuf-ext.el (ibuffer-filter-by-filename):
5918 Make it work with dired buffers too.
5919
44e18199 59202013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5921
5922 * emacs-lisp/re-builder.el (reb-color-display-p):
5923 * files.el (save-buffers-kill-terminal):
5924 * net/browse-url.el (browse-url):
5925 * server.el (server-save-buffers-kill-terminal):
5926 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5927 Prefer nil to selected-frame for the first arg of frame-parameter.
5928
aeca3fbb
XF
59292013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5930
5931 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5932
158bc55c
SB
59332013-07-30 Stephen Berman <stephen.berman@gmx.net>
5934
5935 * minibuffer.el (completion--twq-all): Try and preserve each
5936 completion's case choice (bug#14907).
5937
d50fceab
LMI
59382013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5939
ac38e731
LMI
5940 * net/network-stream.el (open-network-stream): Mention the new
5941 :nogreeting parameter.
5942 (network-stream-open-starttls): Use the :nogreeting parameter
5943 (bug#14938).
5944
1211de50
LMI
5945 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5946
997798bf
LMI
5947 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5948 more natural than popping.
5949
d50fceab 5950 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5951 (shr-urlify): Highlight under mouse.
d50fceab 5952
5c09de04
XF
59532013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5954
207d1d04
XF
5955 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5956
5957 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5958
5c09de04
XF
5959 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5960 buffer for output.
5961
3cd51eaa
XF
5962 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5963 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5964
44e18199 5965 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5966 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5967
5968 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5969
5970 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5971 buffer for output.
5972
35a89bdd
EZ
59732013-07-29 Eli Zaretskii <eliz@gnu.org>
5974
5975 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5976 initial frame is minibuffer-less. (Bug#14841)
5977
78822e94
MA
59782013-07-29 Michael Albinus <michael.albinus@gmx.de>
5979
5980 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5981 option.
5982
5983 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5984 (tramp-maybe-open-connection): Use it.
5985
9503c190
JB
59862013-07-28 Juanma Barranquero <lekktu@gmail.com>
5987
5988 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5989 minimal set of parameters passed when creating a frame, because
5990 the minibuffer status of a frame cannot be changed later.
5991
d5a845b4
SB
59922013-07-28 Stephen Berman <stephen.berman@gmx.net>
5993
5994 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5995 replace-regexp-in-string and inadvertent omissions in previous change.
5996 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 5997 name of filtered items buffer.
d5a845b4 5998
ddeffb17
JB
59992013-07-28 Juanma Barranquero <lekktu@gmail.com>
6000
6001 * desktop.el: Optionally force offscreen frames back onscreen.
6002 (desktop-restoring-reuses-frames): New option.
6003 (desktop--compute-pos, desktop--move-onscreen): New functions.
6004 (desktop--make-frame): Use desktop--move-onscreen.
6005
f5950f7a
AM
60062013-07-27 Alan Mackenzie <acm@muc.de>
6007
6008 Fontify a Java generic method as a function.
6009 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6010 value to t.
6011
ae43b66a
SB
60122013-07-27 Stephen Berman <stephen.berman@gmx.net>
6013
6014 * calendar/todo-mode.el: Add command to rename todo files.
6015 (todo-rename-file): New command.
6016 (todo-key-bindings-t): Add key binding for it. Change the
6017 bindings of todo-filter-regexp-items(-multifile) to use `x'
6018 instead of `r', since the latter is better suited to the new
6019 renaming command.
6020
5ab78d3d
AM
60212013-07-27 Alan Mackenzie <acm@muc.de>
6022
6023 Make Java try-with-resources statement parse properly.
6024 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6025 (c-block-stmt-1-2-key): New language constants/variables.
6026 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6027 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6028 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6029 with c-block-stmt-1-2-key.
5ab78d3d 6030
d85c4d50
JB
60312013-07-27 Juanma Barranquero <lekktu@gmail.com>
6032
6033 * desktop.el (desktop--make-frame): Apply most frame parameters after
6034 creating the frame to force (partially or totally) offscreen frames to
6035 be restored as such.
6036
e4c467f9
XF
60372013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6038
6039 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6040 (Bug#14948)
e4c467f9 6041
7ced0d04
SM
60422013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6045 `base' arg of backtrace-frame.
6046
fec92060
EZ
60472013-07-26 Eli Zaretskii <eliz@gnu.org>
6048
6049 * simple.el (list-processes): Doc fix.
6050
d58d31fb
JB
60512013-07-26 Juanma Barranquero <lekktu@gmail.com>
6052
6053 * desktop.el (desktop--select-frame):
d85c4d50 6054 Try harder to reuse existing frames.
d58d31fb 6055
53ff3e77
SM
60562013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6057
6058 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6059 (edebug-eval): Use backtrace-eval.
6060 (edebug--display, edebug--recursive-edit): Don't let-bind the
6061 edebug-outer-* vars that keep track of variables we locally let-bind.
6062 (edebug-outside-excursion): Don't restore outside values of locally
6063 let-bound vars.
6064 (edebug--display): Use user-error.
6065 (cl-lexical-debug, cl-debug-env): Remove.
6066
045f7a53
JB
60672013-07-26 Juanma Barranquero <lekktu@gmail.com>
6068
6069 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6070 are restored to be sure that they are visible before deleting any
6071 remaining ones.
6072
59070b32
MM
60732013-07-26 Matthias Meulien <orontee@gmail.com>
6074
742a3501
XF
6075 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6076 vc-print-root-log. (Bug#14948)
59070b32 6077
b1fb3596
RS
60782013-07-26 Richard Stallman <rms@gnu.org>
6079
6080 Add aliases for encrypting mail.
6081 * epa.el (epa-mail-aliases): New option.
6082 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6083 Bind inhibit-read-only so read-only text doesn't ruin everything.
6084 (epa-mail-default-recipients): New subroutine broken out.
6085 Handle epa-mail-aliases.
6086
56ea7291
SM
60872013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 Add support for lexical variables to the debugger's `e' command.
6090 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6091 vars, except for debugger-outer-match-data.
6092 (debugger-frame-number): Move check for "on a function call" from
6093 callers into it. Add `skip-base' argument.
6094 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6095 (debugger-env-macro): Only reset the state stored in non-variables,
6096 i.e. current-buffer and match-data.
6097 (debugger-eval-expression): Rewrite using backtrace-eval.
6098 * subr.el (internal--called-interactively-p--get-frame): Remove.
6099 (called-interactively-p):
6100 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6101 `base' arg of backtrace-frame instead.
6102
15ac32d5
GM
61032013-07-26 Glenn Morris <rgm@gnu.org>
6104
8358a09d
GM
6105 * align.el (align-regexp): Doc fix. (Bug#14857)
6106 (align-region): Explicit error if subexpression missing/does not match.
6107
15ac32d5
GM
6108 * simple.el (global-visual-line-mode):
6109 Do not duplicate the mode lighter. (Bug#14858)
6110
f47ad11b
MR
61112013-07-25 Martin Rudalics <rudalics@gmx.at>
6112
6113 * window.el (display-buffer): In display-buffer bind
6114 split-window-keep-point to t, bug#14829.
6115
02530987
JB
61162013-07-25 Juanma Barranquero <lekktu@gmail.com>
6117
6118 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6119 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6120 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6121 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6122 Change accordingly.
f63ebeb5
JB
6123 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6124 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6125
6ccb9cab 61262013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6127
6ccb9cab 6128 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6129
cb3a56d2
JB
61302013-07-25 Juanma Barranquero <lekktu@gmail.com>
6131
6132 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6133 parameter to modify-frame-parameters if the value has not changed;
6134 this is a workaround for bug#14949.
6135 (desktop--make-frame): On cl-delete-if call, check parameter name,
6136 not full parameter.
6137
7aa7fff0
XF
61382013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6139
6140 * vc/vc.el (vc-ignore): New function.
6141
6142 * vc/vc-svn.el (vc-svn-ignore): New function.
6143
6144 * vc/vc-hg.el (vc-hg-ignore): New function.
6145
6146 * vc/vc-git.el (vc-git-ignore): New function.
6147
6148 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6149 (vc-dir-ignore): New function.
6150
6151 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6152 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6153
6154 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6155
6156 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6157
889acc5c
JB
61582013-07-24 Juanma Barranquero <lekktu@gmail.com>
6159
6160 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6161 (desktop-restore-frames): Warn when deleting an existing frame failed.
6162
86c40970
GM
61632013-07-24 Glenn Morris <rgm@gnu.org>
6164
6165 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6166
d5d3c58a
MA
61672013-07-24 Michael Albinus <michael.albinus@gmx.de>
6168
6169 * filenotify.el (file-notify-supported-p):
6170 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6171 Remove functions.
6172
6173 * autorevert.el (auto-revert-use-notify):
6174 (auto-revert-notify-add-watch):
6175 * net/tramp.el (tramp-file-name-for-operation):
6176 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6177 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6178 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6179 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6180 Remove `file-notify-supported-p' entry.
6181
d100084b
GM
61822013-07-24 Glenn Morris <rgm@gnu.org>
6183
6184 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6185 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6186
ac93e56b
SM
61872013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6188
249eea30
SM
6189 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6190 checked with memq (bug#14935).
6191
ac93e56b
SM
6192 * files.el (revert-buffer-function): Use a non-nil default.
6193 (revert-buffer-preserve-modes): Declare var to
6194 provide access to the `preserve-modes' argument.
6195 (revert-buffer): Let-bind it.
6196 (revert-buffer--default): New function, extracted from revert-buffer.
6197
2cdeb903
SM
61982013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * lpr.el: Signal print errors more prominently.
6201 (print-region-function): Don't default to nil.
6202 (lpr-print-region): New function, extracted from print-region-1.
6203 Check lpr's return value and signal an error in case of problem.
6204 (print-region-1): Use it.
6205 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6206 versions instead.
6207 (ps-printer-name): Default to nil.
6208 (ps-printer-name-option): Default to lpr-printer-switch.
6209 (ps-print-region-function): Don't default to nil.
6210 (ps-postscript-code-directory): Simplify default.
6211 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6212 (ps-string-list, ps-eval-switch, ps-flatten-list)
6213 (ps-flatten-list-1): Remove.
6214 (ps-multibyte-buffer): Avoid setq.
6215 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6216 (print-region-function, ps-print-region-function): Don't set them here.
6217
73600831
XF
62182013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6219
0e55c076
XF
6220 * ido.el (ido-fractionp):
6221 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6222 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6223 (ido-max-directory-size, ido-max-dir-file-cache)
6224 (ido-decorations): Doc fix.
6225
73600831
XF
6226 * ansi-color.el: Fix old URL.
6227
3d012865
MM
62282013-07-23 Michael R. Mauger <michael@mauger.com>
6229
e903c210 6230 * progmodes/sql.el: Version 3.3
3d012865
MM
6231 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6232 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6233 (sql-interactive-remove-continuation-prompt): Rewrite, use
6234 functions above. Fix continuation prompt and complete output line
6235 handling.
6236 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6237 redirected output buffer.
6238 (sql-mode): Restore deleted code (Bug#13591).
6239
da77a2e2
JB
62402013-07-23 Juanma Barranquero <lekktu@gmail.com>
6241
6242 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6243
80ff0c71
MA
62442013-07-23 Michael Albinus <michael.albinus@gmx.de>
6245
6246 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6247
6248 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6249 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6250 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6251
b61d71e4
JB
62522013-07-23 Juanma Barranquero <lekktu@gmail.com>
6253
6254 * desktop.el (desktop-clear): Simplify; remove useless checks
6255 against invalid buffer names.
6256 (desktop-list*): Use cl-list*.
6257 (desktop-buffer-info, desktop-create-buffer): Simplify.
6258
c3512092
LL
62592013-07-23 Leo Liu <sdl.web@gmail.com>
6260
6261 * bookmark.el (bookmark-make-record): Restore NAME as a default
6262 value. (Bug#14933)
6263
0ac26976
SM
62642013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6265
7d22ce18
SM
6266 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6267 extracted from autoload--insert-text.
6268 (autoload--insert-text): Remove.
6269 (autoload--print-cookie-text): New function, extracted from
6270 autoload--insert-cookie-text.
6271 (autoload--insert-cookie-text): Remove.
6272 (autoload-generate-file-autoloads): Adjust calls accordingly.
6273
9b2607e8
SM
6274 * winner.el (winner-hook-installed-p): Remove.
6275 (winner-mode): Simplify accordingly.
6276
c43a8618
SM
6277 * subr.el (add-to-list): Fix compiler-macro when `append' is
6278 not constant. Don't use `cl-member' for the base case.
6279
0ac26976
SM
6280 * progmodes/subword.el: Fix boundary case (bug#13758).
6281 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6282 own group.
6283 (subword-backward-regexp): Make it a constant.
6284 (subword-forward-internal): Don't treat a trailing capital as the
6285 beginning of a word.
6286
6874724a
AR
62872013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6288
6289 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6290 global value of tabulated-list-revert-hook (bug#14930).
6291
70f1b5e8
JB
62922013-07-22 Juanma Barranquero <lekktu@gmail.com>
6293
a1c80d9d
JB
6294 * desktop.el: Require 'cl-lib.
6295 (desktop-before-saving-frames-functions): New hook.
6296 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6297 for frames being saved. Rename from desktop--save-minibuffer-frames.
6298 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6299 Do not save frames with non-nil `desktop-dont-save' parameter.
6300 Filter out deleted frames.
a1c80d9d
JB
6301 (desktop--find-frame): Use cl-find-if.
6302 (desktop--select-frame): Use cl-(first|second|third) to access values
6303 of desktop-mini.
6304 (desktop--make-frame): Use cl-delete-if.
6305 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6306 (desktop-restore-frames): Use cl-(first|second|third) to access values
6307 of desktop-mini. Look for visible frame at the end, not while
6308 restoring frames.
6309
70f1b5e8
JB
6310 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6311 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6312 Use string-match-p, looking-at-p (bug#14927).
6313
728dc3cc
JB
63142013-07-21 Juanma Barranquero <lekktu@gmail.com>
6315
56bc453c
JB
6316 * desktop.el (desktop-saved-frame-states):
6317 Rename from desktop--saved-states; all users changed.
6318 (desktop-save-frames): Rename from desktop--save-frames.
6319 Do not save state to desktop file.
6320 (desktop-save): Save desktop-saved-frame-states to desktop file
6321 and reset to nil.
6322 (desktop-restoring-frames-p): New function.
6323 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6324 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6325 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6326
728dc3cc
JB
6327 * desktop.el: Correctly restore iconified frames.
6328 (desktop--filter-iconified-position): New function.
6329 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6330
862f1c9c
GM
63312013-07-20 Glenn Morris <rgm@gnu.org>
6332
c4074c9f
GM
6333 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6334 Let `message' do the formatting.
6335 (def-gdb-preempt-display-buffer): Add explicit format.
6336
d828e5f9
GM
6337 * image-dired.el (image-dired-track-original-file):
6338 Use with-current-buffer.
6339 (image-dired-track-thumbnail): Use with-current-buffer.
6340 Avoid changing point of wrong window.
6341
862f1c9c
GM
6342 * image-dired.el (image-dired-track-original-file):
6343 Avoid changing point of wrong window. (Bug#14909)
6344
f0398ec1 63452013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6346
6347 * progmodes/gdb-mi.el (gdb-done-or-error):
6348 Guard against "%" in gdb output. (Bug#14127)
6349
1451928f
AS
63502013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6351
763a086d
JB
6352 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6353 (Bug#14826)
f7a03897 6354
1451928f
AS
6355 * international/mule.el (coding-system-iso-2022-flags): Fix last
6356 change.
6357
99107004
KH
63582013-07-20 Kenichi Handa <handa@gnu.org>
6359
763a086d
JB
6360 * international/mule.el (coding-system-iso-2022-flags):
6361 Add `8-bit-level-4'. (Bug#8522)
99107004 6362
48494e06
LMI
63632013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6364
8ba8eec5
LMI
6365 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6366 (bug#14815).
6367
dfbc66e3
LMI
6368 * net/eww.el (eww-process-text-input): Allow inputting when the
6369 point is at the start of the line, as the properties aren't
6370 front-sticky.
6371
48494e06
LMI
6372 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6373 degenerate widths.
6374
77c92cb9
RS
63752013-07-19 Richard Stallman <rms@gnu.org>
6376
aec7da77
RS
6377 * epa.el (epa-popup-info-window): Doc fix.
6378
77c92cb9
RS
6379 * subr.el (split-string): New arg TRIM.
6380
945c5bb1
JB
63812013-07-18 Juanma Barranquero <lekktu@gmail.com>
6382
6383 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6384 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6385
e06ec67f
MA
63862013-07-18 Michael Albinus <michael.albinus@gmx.de>
6387
c7064f05 6388 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6389 `file-notify-support'. Do not autoload. Adapt all uses.
6390 (file-notify-supported-p): New defun.
6391
c7064f05
JB
6392 * autorevert.el (auto-revert-use-notify):
6393 Use `file-notify-supported-p' instead of `file-notify-support'.
6394 Adapt docstring.
e06ec67f
MA
6395 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6396
6397 * net/tramp.el (tramp-file-name-for-operation):
6398 Add `file-notify-supported-p'.
6399
6400 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6401 New defun.
6402 (tramp-sh-file-name-handler-alist): Add it as handler for
6403 `file-notify-supported-p '.
6404
6405 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6406 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6407 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6408 Add `ignore' as handler for `file-notify-*' functions.
6409
5dc8a629
EZ
64102013-07-17 Eli Zaretskii <eliz@gnu.org>
6411
6412 * simple.el (line-move-partial, line-move): Don't start vscroll or
6413 scroll-up if the current line is not taller than the window.
6414 (Bug#14881)
6415
77aea2fb
DG
64162013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6417
6418 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6419 highlight question marks in the method names as strings.
ac72c08d
DG
6420 (ruby-block-beg-keywords): Inline.
6421 (ruby-font-lock-keyword-beg-re): Extract from
6422 `ruby-font-lock-keywords'.
77aea2fb 6423
18c26d81
JD
64242013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6425
6426 * frame.el (blink-cursor-blinks): New defcustom.
6427 (blink-cursor-blinks-done): New defvar.
6428 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6429 (blink-cursor-timer-function): Check if number of blinks has been
6430 done on X and NS.
6431 (blink-cursor-suspend, blink-cursor-check): New defuns.
6432
da48522e
GM
64332013-07-15 Glenn Morris <rgm@gnu.org>
6434
6435 * edmacro.el (edmacro-format-keys): Fix previous change.
6436
0463c1ef
PE
64372013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6438
6439 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6440 The hack didn't work outside English locales anyway.
6441
b43f6451
JB
64422013-07-15 Juanma Barranquero <lekktu@gmail.com>
6443
6444 * simple.el (define-alternatives): Rename from alternatives-define,
6445 per RMS' suggestion.
6446
b958c0ad
JB
64472013-07-14 Juanma Barranquero <lekktu@gmail.com>
6448
6449 * desktop.el (desktop-restore-frames): Change default to t.
6450 (desktop-restore-in-current-display): Now offer more options.
6451 (desktop-restoring-reuses-frames): New customization option.
6452 (desktop--saved-states): Doc fix.
6453 (desktop-filter-parameters-alist): New variable, renamed and expanded
6454 from desktop--excluded-frame-parameters.
6455 (desktop--target-display): New variable.
6456 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6457 (desktop--filter-tty*, desktop--filter-*-color)
6458 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6459 (desktop--filter-save-desktop-parm)
6460 (desktop-restore-in-original-display-p): New functions.
6461 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6462 (desktop--save-minibuffer-frames): New function, inspired by a similar
6463 function from Martin Rudalics.
6464 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6465 (desktop--restore-in-this-display-p): Remove.
6466 (desktop--find-frame): Rename from desktop--find-frame-in-display
6467 and add predicate argument.
6468 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6469 (desktop--reuse-list): New variable.
6470 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6471 New functions.
6472 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6473
f6dd8b36
MA
64742013-07-14 Michael Albinus <michael.albinus@gmx.de>
6475
6476 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6477
2ce3c565
DG
64782013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6479
763a086d
JB
6480 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6481 Highlight conversion methods on Kernel.
2ce3c565 6482
2cdb7698
AM
64832013-07-13 Alan Mackenzie <acm@muc.de>
6484
6485 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6486 and comment it out. This out-commenting enables certain C++
6487 declarations to be parsed correctly.
6488
1a67b811
EZ
64892013-07-13 Eli Zaretskii <eliz@gnu.org>
6490
1b796d6b
EZ
6491 * international/mule.el (define-coding-system): Doc fix.
6492
1a67b811
EZ
6493 * simple.el (default-font-height): Don't call font-info if the
6494 frame's default font didn't change since the frame was created.
6495 (Bug#14838)
6496
58fbe886
LL
64972013-07-13 Leo Liu <sdl.web@gmail.com>
6498
6499 * ido.el (ido-read-file-name): Guard against non-symbol value.
6500
1f0480d4
FEG
65012013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6502
6503 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6504 in nested defuns.
6505
97ead0e5
LL
65062013-07-13 Leo Liu <sdl.web@gmail.com>
6507
6508 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6509 ido-set-matches call. (Bug#6852)
6510
0880a952
DG
65112013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6512
6513 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6514 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6515 Ruby 2.0.
6516 (ruby-font-lock-keywords): Distinguish calls to functions with
6517 module-like names from module references. Highlight character
6518 literals.
6519
a7d8babb
SDJ
65202013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6521
6522 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6523 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6524
acfcc8c5
JB
65252013-07-12 Juanma Barranquero <lekktu@gmail.com>
6526
6527 * desktop.el (desktop--v2s): Remove unused local variable.
6528 (desktop-save-buffer): Make defvar-local; adjust docstring.
6529 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6530 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6531
051f2775
AS
65322013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6533
6534 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6535
f24e7572
GM
65362013-07-12 Eli Zaretskii <eliz@gnu.org>
6537
6538 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6539 (Bug#14842)
6540
539a920c
GM
65412013-07-12 Glenn Morris <rgm@gnu.org>
6542
6543 * doc-view.el: Require cl-lib at runtime too.
6544 (doc-view-remove-if): Remove.
6545 (doc-view-search-next-match, doc-view-search-previous-match):
6546 Use cl-remove-if.
6547
6548 * edmacro.el: Require cl-lib at runtime too.
6549 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6550 (edmacro-mismatch, edmacro-subseq): Remove.
6551
6552 * shadowfile.el: Require cl-lib.
6553 (shadow-remove-if): Remove.
6554 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6555 Use cl-remove-if.
6556
6557 * wid-edit.el: Require cl-lib.
6558 (widget-choose): Use cl-remove-if.
6559 (widget-remove-if): Remove.
6560
6561 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6562 (ebrowse-delete-if-not): Remove.
6563 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6564 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6565 Use cl-delete-if-not.
6566
1048af7c
JB
65672013-07-12 Juanma Barranquero <lekktu@gmail.com>
6568
6569 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6570 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6571
6c0674ee
LL
65722013-07-12 Leo Liu <sdl.web@gmail.com>
6573
6574 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6575
a19b3c2d
GM
65762013-07-11 Glenn Morris <rgm@gnu.org>
6577
4582a01c
GM
6578 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6579 (edebug-gensym-index, edebug-gensym):
6580 Remove reimplementation of cl-gensym.
6581 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6582
6583 * thumbs.el: Require cl-lib at run-time too.
6584 (thumbs-gensym-counter, thumbs-gensym):
6585 Remove reimplementation of cl-gensym.
6586 (thumbs-temp-file): Use cl-gensym.
6587
a19b3c2d
GM
6588 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6589 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6590 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6591 (ert--union, ert--gensym-counter, ert--gensym-counter)
6592 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6593 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6594 (ert-make-test-unbound, ert--expand-should-1)
6595 (ert--expand-should, ert--should-error-handle-error)
6596 (should-error, ert--explain-equal-rec)
6597 (ert--plist-difference-explanation, ert-select-tests)
6598 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6599 Use cl-lib functions rather than reimplementations.
6600
88f6a933
MA
66012013-07-11 Michael Albinus <michael.albinus@gmx.de>
6602
6603 * net/tramp.el (tramp-methods): Extend docstring.
6604 (tramp-connection-timeout): New defcustom.
6605 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6606 (with-tramp-progress-reporter): Simplify.
6607 (tramp-process-actions): Improve messages.
6608
6609 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6610 * net/tramp-sh.el (tramp-maybe-open-connection):
6611 Use `tramp-connection-timeout'.
6612 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6613 (Bug#14808)
6614
a43d577e
LL
66152013-07-11 Leo Liu <sdl.web@gmail.com>
6616
6617 * ido.el (ido-read-file-name): Conform to the requirements of
6618 read-file-name. (Bug#11861)
6619 (ido-read-directory-name): Conform to the requirements of
6620 read-directory-name.
6621
d77974bf
JB
66222013-07-11 Juanma Barranquero <lekktu@gmail.com>
6623
6624 * subr.el (delay-warning): New function.
6625
35cb8a3e
EZ
66262013-07-10 Eli Zaretskii <eliz@gnu.org>
6627
6628 * simple.el (default-line-height): New function.
6629 (line-move-partial, line-move): Use it instead of computing the
6630 line height inline.
6631 (line-move-partial): Always compute ROWH. If the last line is
6632 partially-visible, but its text is completely visible, allow
6633 cursor to enter such a partially-visible line.
6634
525c5c77
MA
66352013-07-10 Michael Albinus <michael.albinus@gmx.de>
6636
6637 Improve error messages. (Bug#14808)
6638
6639 * net/tramp.el (tramp-current-connection): New defvar, moved from
6640 tramp-sh.el.
0ac26976 6641 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6642 needed anymore.
0ac26976
SM
6643 (tramp-error-with-buffer): Show message in minibuffer.
6644 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6645 (with-tramp-progress-reporter): Improve messages.
6646 (tramp-process-actions): Use progress reporter. Delete process in
6647 case of error. Improve messages.
6648
763a086d
JB
6649 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6650 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6651 (tramp-current-connection): Remove.
525c5c77
MA
6652 (tramp-maybe-open-connection): The car of
6653 `tramp-current-connection' are the first 3 slots of the vector.
6654
c7a4d368
TZ
66552013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6656
6657 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6658 inside continued strings.
6659
954b166e
PE
66602013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6661
6662 Timestamp fixes for undo (Bug#14824).
6663 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6664
56973319
LL
66652013-07-10 Leo Liu <sdl.web@gmail.com>
6666
6667 * files.el (require-final-newline): Allow safe local value.
6668 (Bug#14834)
6669
5550a72c
LL
66702013-07-09 Leo Liu <sdl.web@gmail.com>
6671
6672 * ido.el (ido-read-directory-name): Handle fallback.
6673 (ido-read-file-name): Update DIR to ido-current-directory.
6674 (Bug#1516)
c28b9050 6675 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6676
70c46b28
DG
66772013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6678
6679 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6680 "autoload". Remove "warn lower camel case" section, previously
6681 commented out. Highlight negation char. Do not highlight the
6682 target in singleton method definitions.
6683
0b64b838
SM
66842013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6685
7fd72e2c
SM
6686 * faces.el (tty-setup-hook): Declare the hook.
6687
0b64b838
SM
6688 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6689 and detect when a guard/pred depends on local vars (bug#14773).
6690 (pcase--u1): Adjust caller.
6691
ab49d60b
EZ
66922013-07-08 Eli Zaretskii <eliz@gnu.org>
6693
6694 * simple.el (line-move-partial, line-move): Account for
6695 line-spacing.
701d79aa
EZ
6696 (line-move-partial): Avoid setting vscroll when the last
6697 partially-visible line in window is of default height.
ab49d60b 6698
2d756ae0
LMI
66992013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6700
6701 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6702 been used a while.
6703
ed095bd7
JB
67042013-07-07 Juanma Barranquero <lekktu@gmail.com>
6705
6706 * subr.el (read-quoted-char): Remove unused local variable `char'.
6707
f1e6674b
MK
67082013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6709
584ee3fc
GM
6710 * ediff.el (ediff-version): Version update.
6711 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6712 (ediff-merge-with-ancestor-command, ediff-directories-command)
6713 (ediff-directories3-command, ediff-merge-directories-command)
6714 (ediff-merge-directories-with-ancestor-command): New functions.
6715 All are command-line interfaces to ediff: to facilitate calling
6716 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6717
6718 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6719 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6720
584ee3fc
GM
6721 * viper.el (viper-version): Version update.
6722 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6723
584ee3fc
GM
67242013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6727 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6728 (viper-intercept-ESC-key): Simplify.
6729 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6730 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6731 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6732 (viper-setup-ESC-to-escape): New functions.
6733 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6734 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6735
9aff9b38
EZ
67362013-07-07 Eli Zaretskii <eliz@gnu.org>
6737
5165d44a
JB
6738 * simple.el (default-font-height, window-screen-lines):
6739 New functions.
9aff9b38
EZ
6740 (line-move, line-move-partial): Use them instead of
6741 frame-char-height and window-text-height. This makes scrolling
6742 text smoother when the buffer's default face uses a font that is
6743 different from the frame's default font.
6744
1afb1d07
JD
67452013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6746
6747 * files.el (write-file): Do not display confirm dialog for NS,
6748 it does its own dialog, which can't be cancelled (Bug#14578).
6749
23de972a
EZ
67502013-07-06 Eli Zaretskii <eliz@gnu.org>
6751
6752 * simple.el (line-move-partial): Adjust the row returned by
6753 posn-at-point for the current window-vscroll. (Bug#14567)
6754
54a42486
MA
67552013-07-06 Michael Albinus <michael.albinus@gmx.de>
6756
6757 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6758 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6759 spaces.
6760
34ada5f4
MR
67612013-07-06 Martin Rudalics <rudalics@gmx.at>
6762
6763 * window.el (window-state-put-stale-windows): New variable.
6764 (window--state-put-2): Save list of windows without matching buffer.
6765 (window-state-put): Remove "bufferless" windows if possible.
6766
11e03d89
JB
67672013-07-06 Juanma Barranquero <lekktu@gmail.com>
6768
6769 * simple.el (alternatives-define): Remove leftover :group keyword.
6770 Tweak docstring.
6771
3504a4be
LL
67722013-07-06 Leo Liu <sdl.web@gmail.com>
6773
6774 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6775 (ido-enable-virtual-buffers): New variable.
6776 (ido-buffer-internal, ido-toggle-virtual-buffers)
6777 (ido-make-buffer-list): Use it.
6778 (ido-exhibit): Support turning on and off virtual buffers
6779 automatically.
6780
61e56e2c
JB
67812013-07-06 Juanma Barranquero <lekktu@gmail.com>
6782
6783 * simple.el (alternatives-define): New macro.
6784
321e1a9c
SM
67852013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6786
6787 * subr.el (read-quoted-char): Use read-key.
6788 (sit-for): Let read-event decode tty input (bug#14782).
6789
d610f6dd
SB
67902013-07-05 Stephen Berman <stephen.berman@gmx.net>
6791
6792 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6793 mode command and externally. Fix various related bugs.
6794 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6795 (todo-delete-file): New command.
6796 (todo-check-file): New function.
6797 (todo-show): Handle external deletion of the file we're trying to
6798 show (bug#14688). Replace called-interactively-p by an optional
6799 prefix argument to avoid problematic interaction with catch form
6800 when byte compiled (bug#14702).
6801 (todo-quit): Handle external deletion of the archive's todo file.
6802 Make sure the buffer that was visiting the archive file is still
6803 live before trying to bury it.
6804 (todo-category-completions): Handle external deletion of any
6805 category completion files.
6806 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6807 of todo files, in case of external deletion.
6808 (todo-add-file): Replace unnecessary setq by let-binding.
6809 (todo-find-archive): Check whether there are any archives.
6810 Replace unnecessary setq by let-binding.
6811 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6812 archive buffer whether or not the archive already exists.
6813 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6814 check if the archive is new; if it is, update list of archives.
6815 (todo-default-todo-file): Allow nil to be a valid value for when
6816 there are no todo files.
6817 (todo-reevaluate-default-file-defcustom): Use corrected definition
6818 of todo-default-todo-file.
6819 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6820 (todo-delete-category, todo-show-categories-table)
6821 (todo-category-number): Clarify comment.
6822 (todo-filter-items): Clarify documentation string.
6823 (todo-show-current-file, todo-display-as-todo-file)
6824 (todo-reset-and-enable-done-separator): Tweak documentation string.
6825 (todo-done-separator): Make separator length window-width, since
6826 bug#2749 is now fixed.
6827
ddbdfd6f
MA
68282013-07-05 Michael Albinus <michael.albinus@gmx.de>
6829
321e1a9c
SM
6830 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6831 Support both "gvfs-monitor-dir" and "inotifywait".
6832 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6833 `tramp-sh-file-notify-process-filter'.
6834 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6835 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6836
96eb829a
LL
68372013-07-05 Leo Liu <sdl.web@gmail.com>
6838
6839 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6840
cf13177e
YM
68412013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6842
6843 * frame.el (display-pixel-height, display-pixel-width)
6844 (display-mm-height, display-mm-width): Mention behavior on
6845 multi-monitor setups in docstrings.
6846 (w32-display-monitor-attributes-list): Declare function.
6847 (display-monitor-attributes-list): Use it.
6848
864c58ca
MA
68492013-07-04 Michael Albinus <michael.albinus@gmx.de>
6850
6851 * filenotify.el: New package.
6852
6853 * autorevert.el (top): Require filenotify.el.
6854 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6855 instead.
6856 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6857 (auto-revert-notify-handler): Use `file-notify-*' functions.
6858
6859 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6860
321e1a9c
SM
6861 * net/tramp.el (tramp-file-name-for-operation):
6862 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6863
6864 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6865 for `file-notify-add-watch' and `file-notify-rm-watch'.
6866 (tramp-process-sentinel): Improve trace.
6867 (tramp-sh-handle-file-notify-add-watch)
6868 (tramp-sh-file-notify-process-filter)
6869 (tramp-sh-handle-file-notify-rm-watch)
6870 (tramp-get-remote-inotifywait): New defuns.
6871
96673afe
JL
68722013-07-03 Juri Linkov <juri@jurta.org>
6873
6874 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6875 call of `occur-read-primary-args' to interactive spec.
6876
6877 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6878 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6879
924494f4
MM
68802013-07-03 Matthias Meulien <orontee@gmail.com>
6881
6882 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6883 `Buffer-menu-multi-occur'. Add it to the menu.
6884 (Buffer-menu-mode): Document it in docstring.
6885 (Buffer-menu-multi-occur): New command. (Bug#14673)
6886
56f75efc
DG
68872013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6888
6889 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6890 keywords and built-ins.
6891
9b057d61
GM
68922013-07-03 Glenn Morris <rgm@gnu.org>
6893
208dee4d
GM
6894 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6895
9b057d61
GM
6896 Make info-xref checks case-sensitive by default
6897 * info.el (Info-find-node, Info-find-in-tag-table)
6898 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6899 Add option for exact case matching of nodes.
6900 * info-xref.el (info-xref): New custom group.
6901 (info-xref-case-fold): New option.
6902 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6903
e01aa29c
LL
69042013-07-03 Leo Liu <sdl.web@gmail.com>
6905
6906 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6907
3086ca2e
DG
69082013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6909
6910 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6911 middle of block statement initially, lower the depth. Remove
6912 FIXME comment, not longer valid. Remove middle of block statement
6913 detection, no need to do that anymore since we've been using
6914 `ruby-parse-region' here.
6915
a3b49114
JD
69162013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6917
6918 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6919
08e5c823 69202013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6921
6922 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6923
2addf922
JB
69242013-07-01 Juanma Barranquero <lekktu@gmail.com>
6925
6926 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6927 (desktop-restore-in-current-display): New customization option.
6928 (desktop--excluded-frame-parameters): Add `font'.
6929 (desktop--save-frames): Rename from desktop--save-windows.
6930 (desktop--restore-in-this-display-p): New function.
6931 (desktop--make-full-frame): Remove unwanted width/height from
6932 full(width|height) frames.
6933 (desktop--restore-frames): Rename from desktop--restore-windows.
6934 Obey desktop-restore-current-display. Do not delete old frames or
6935 select a new frame unless we were able to restore at least one frame.
6936
ef099a94
MN
69372013-06-30 Michal Nazarewicz <mina86@mina86.com>
6938
6939 * files.el (find-file-noselect): Simplify conditional expression.
6940
6941 * remember.el (remember-append-to-file):
6942 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6943
6944 Add `remember-notes' function to store random notes across Emacs
6945 restarts.
6946 * remember.el (remember-data-file): Add :set callback to affect
6947 notes buffer (if any).
6948 (remember-notes): New command.
6949 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6950 New defcustoms for the `remember-notes' function.
6951 (remember-notes-save-and-bury-buffer): New command.
6952 (remember-notes-mode-map): New variable.
6953 (remember-mode): New minor mode.
6954 (remember-notes--kill-buffer-query): New function.
6955 * startup.el (initial-buffer-choice): Add notes to custom type.
6956
0865d506
EZ
69572013-06-30 Eli Zaretskii <eliz@gnu.org>
6958
0ba54312
EZ
6959 * bindings.el (right-char, left-char): Don't call sit-for, this is
6960 no longer needed. Use arithmetic comparison only for numerical
6961 arguments.
6962
ef099a94
MN
6963 * international/mule-cmds.el (select-safe-coding-system):
6964 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6965
2fae38e5
LMI
69662013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6967
6968 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6969 progression on degenerate tables.
ef099a94 6970 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6971
a47cbd64
JB
69722013-06-30 Juanma Barranquero <lekktu@gmail.com>
6973
6974 Some fixes and improvements for desktop frame restoration.
6975 It is still experimental and disabled by default.
6976 * desktop.el (desktop--save-windows): Put the selected frame at
6977 the head of the list.
6978 (desktop--make-full-frame): New function.
6979 (desktop--restore-windows): Try to re-select the frame that was
6980 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
6981 just show an error message and continue. Set up maximized frames
6982 so they have default non-maximized dimensions.
a47cbd64 6983
6dbafa30
DG
69842013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6985
ef099a94
MN
6986 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6987 Don't start heredoc inside a string or comment.
6dbafa30 6988
4c672a0f
EZ
69892013-06-29 Eli Zaretskii <eliz@gnu.org>
6990
6991 * bindings.el (visual-order-cursor-movement): New defcustom.
6992 (right-char, left-char): Provide visual-order cursor motion by
6993 calling move-point-visually. Update the doc strings.
6994
50960f36
KH
69952013-06-28 Kenichi Handa <handa@gnu.org>
6996
6997 * international/mule.el (define-coding-system): New coding system
6998 properties :inhibit-null-byte-detection,
6999 :inhibit-iso-escape-detection, and :prefer-utf-8.
7000 (set-buffer-file-coding-system): If :charset-list property of
7001 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7002 appropriate for setting.
7003
c1ea3abf
JB
7004 * international/mule-cmds.el (select-safe-coding-system):
7005 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7006 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7007
7008 * international/mule-conf.el (prefer-utf-8): New coding system.
7009 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7010 files.
7011
75dbaf9d
IK
70122013-06-28 Ivan Kanis <ivan@kanis.fr>
7013
eadb6068
IK
7014 * net/shr.el (shr-render-region): New function.
7015
75dbaf9d
IK
7016 * net/eww.el: Autoload `eww-browse-url'.
7017
9ea5cf9f
DG
70182013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7019
c1ea3abf
JB
7020 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7021 Adapt to `package-desc-version' being a list.
7022 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7023 archive element.
7024
39c0e36f
JB
70252013-06-27 Juanma Barranquero <lekktu@gmail.com>
7026
7027 New experimental feature to save&restore window and frame setup.
7028 * desktop.el (desktop-save-windows): New defcustom.
7029 (desktop--saved-states): New var.
7030 (desktop--excluded-frame-parameters): New defconst.
7031 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7032 (desktop--restore-windows, desktop--save-windows): New functions.
7033 (desktop-save): Call `desktop--save-windows'.
7034 (desktop-read): Call `desktop--restore-windows'.
7035
7f13406b
LMI
70362013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7037
ef099a94 7038 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7039
1e072639
SB
70402013-06-27 Stephen Berman <stephen.berman@gmx.net>
7041
7042 * info.el (Info-try-follow-nearest-node): Move search for footnote
7043 above search for node name to prevent missing a footnote (bug#14717).
7044
f3e2cbde
SB
70452013-06-27 Stephen Berman <stephen.berman@gmx.net>
7046
7047 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7048
99906aa0
LL
70492013-06-27 Leo Liu <sdl.web@gmail.com>
7050
7051 * net/eww.el (eww-read-bookmarks): Check file size.
7052
539f75f4
SM
70532013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7056 advice--pending if newdef is nil or an autoload (bug#13820).
7057 (advice-mapc): New function.
7058
843571cb
LMI
70592013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7060
7061 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7062 probably.
23a75d7f 7063 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7064 (eww-add-bookmark): New command.
7065 (eww-bookmark-mode): New mode and commands.
a285ce99 7066 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7067 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7068
f2136e1e
GM
70692013-06-26 Glenn Morris <rgm@gnu.org>
7070
eab35f39
GM
7071 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7072 (hfy-size): Handle ttys. (Bug#14668)
7073
f2136e1e
GM
7074 * info-xref.el: Update for Texinfo 5 change in *note format.
7075 (info-xref-node-re, info-xref-note-re): New constants.
7076 (info-xref-check-buffer): Use info-xref-note-re.
7077
a49ff80c
SM
70782013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7079
a343d218
SM
7080 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7081
a49ff80c
SM
7082 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7083 nil terminate the loop (bug#14718).
7084
8308f184
LMI
70852013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7086
7087 * net/eww.el: Rework history traversal. When going forward/back,
7088 put these actions into the history, too, so that they can be
7089 replayed.
26bf2b82 7090 (eww-render): Move the history reset to the correct buffer.
8308f184 7091
ec64c273
JL
70922013-06-25 Juri Linkov <juri@jurta.org>
7093
7094 * files-x.el (modify-dir-local-variable): Change the header comment
7095 in the file with directory local variables. (Bug#14692)
7096
e080a9d7
JL
7097 * files-x.el (read-file-local-variable-value): Add `default'.
7098 (Bug#14710)
7099
bfbc93a1
IK
71002013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7101
7102 * net/eww.el (eww-make-unique-file-name): Create a unique file
7103 name before saving to entering `y' accidentally asynchronously.
7104
71052013-06-25 Ivan Kanis <ivan@kanis.fr>
7106
7107 * net/eww.el (eww-download): New command and keystroke.
7108
16f74f10
LMI
71092013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7110
a49ff80c 7111 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7112
7113 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7114 be more consistent with Info and dired.
7115
7116 * net/eww.el (eww-mode-map): Ditto.
7117
12059709
SM
71182013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7121 packages from archives.
7122 (package-archive-contents): Change format; include obsolete packages.
7123 (package-desc): Use `dir' to mark builtin packages.
7124 (package--from-builtin): Set the `dir' field to `builtin'.
7125 (generated-autoload-file, version-control): Declare.
7126 (package-compute-transaction): Change first arg and return value to be
7127 lists of package-descs. Adjust to new package-archive-contents format.
7128 (package--add-to-archive-contents): Adjust to new
7129 package-archive-contents format.
7130 (package-download-transaction): Arg is now a list of package-descs.
7131 (package-install): If `pkg' is a package name, pass it as
7132 a requirement, so it is subject to the usual (e.g. disabled) checks.
7133 (describe-package): Accept package-desc as well.
7134 (describe-package-1): Describe a specific package-desc. Add links to
7135 other package-descs for the same package name.
7136 (package-menu-describe-package): Pass the actual package-desc.
7137 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7138 works correctly.
7139 (package-desc-status): New function.
7140 (package-menu--refresh): New function, extracted
7141 from package-menu--generate.
7142 (package-menu--generate): Use it.
7143 (package-delete): Update package-alist.
7144 (package-menu-execute): Don't call package-initialize.
7145
7146 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7147 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7148 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7149 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7150 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7151 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7152
8bbdea0f
MR
71532013-06-25 Martin Rudalics <rudalics@gmx.at>
7154
7155 * window.el (window--state-get-1): Workaround for bug#14527.
7156 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7157
e82b0991
LMI
71582013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7159
7160 * net/eww.el (eww-back-url): Implement the history by stashing all
7161 the data into a list.
d3f0f918 7162 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7163
c763842b
SM
71642013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7167 for values and use read--expression for expressions (bug#14710).
7168 (read-file-local-variable): Avoid setq.
7169 (read-file-local-variable-mode): Use minor-mode-list.
7170
bceff189
RW
71712013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7172
864c58ca 7173 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7174 for DOI URLs.
7175
45f431c6
RW
71762013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7177
864c58ca 7178 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7179 Update imenu-support when dialect changes.
7180
f42d8237
LL
71812013-06-25 Leo Liu <sdl.web@gmail.com>
7182
7183 * ido.el (ido-read-internal): Allow forward slash on windows.
7184
be549ce6
LMI
71852013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7186
7187 * net/eww.el (eww): Start of strings is \\`, not ^.
7188
71d4c19d
IK
71892013-06-24 Ivan Kanis <ivan@kanis.fr>
7190
5196f88a
IK
7191 * net/shr.el (shr-browse-url): Fix interactive spec.
7192
71d4c19d
IK
7193 * net/eww.el (eww): Add a trailing slash to domain names.
7194
ae36ca55
JB
71952013-06-24 Juanma Barranquero <lekktu@gmail.com>
7196
7197 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7198
0ebd92a3
LMI
71992013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7200
bdaa086b
LMI
7201 * net/shr.el (shr-browse-url): Use an external browser if given a
7202 prefix.
7203
c763842b 7204 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7205
b89fc156
IK
72062013-06-24 Ivan Kanis <ivan@kanis.fr>
7207
7208 * net/eww.el (eww): Work more correctly for file: URLs.
7209 (eww-detect-charset): Allow quoted charsets.
7210 (eww-yank-page-url): New command and keystroke.
7211
18eb4bca
DU
72122013-06-24 Daiki Ueno <ueno@gnu.org>
7213
7214 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7215 file name of gpg executable.
7216 (epg-context-program): New function.
7217 (epg-context-home-directory): New function.
7218 (epg-context-set-program): New function.
7219 (epg-context-set-home-directory): New function.
7220 (epg--start): Use `epg-context-program' instead of
7221 'epg-gpg-program'.
7222 (epg--list-keys-1): Likewise.
7223
6c6268c8
LL
72242013-06-24 Leo Liu <sdl.web@gmail.com>
7225
7226 * ido.el (ido-read-internal): Fix bug#14620.
7227
5e400cb3
JB
72282013-06-23 Juanma Barranquero <lekktu@gmail.com>
7229
7230 * faces.el (face-documentation): Simplify.
7231 (read-face-attribute, tty-find-type, x-resolve-font-name):
7232 Use `string-match-p'.
7233 (list-faces-display): Use `string-match-p'. Simplify.
7234 (face-spec-recalc): Check face to avoid face alias loops.
7235 (read-color): Use `string-match-p' and non-capturing parenthesis.
7236
f3f9606c
LMI
72372013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7238
7239 * net/shr.el (shr-rescale-image): Use the new
7240 :max-width/:max-height functionality.
7241
a3ca09b9
IK
72422013-06-23 Ivan Kanis <ivan@kanis.fr>
7243
7244 * net/eww.el (eww-search-prefix): New variable.
7245 (eww): Use it.
f865b474
IK
7246 (eww-external-browser): New variable.
7247 (eww-mode-map): New keystroke.
7248 (eww-browse-with-external-browser): New command.
a3ca09b9 7249
e854cfc7
IK
7250 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7251
18bb9e21
JB
72522013-06-23 Juanma Barranquero <lekktu@gmail.com>
7253
7254 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7255 Don't skip aligning the next header field when padding is 0;
7256 otherwise, field width is not respected unless the title is as
7257 wide as the field.
7258
5b165ade
SM
72592013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * emacs-lisp/package.el (package-el-version): Remove.
7262 (package-process-define-package): Fix inf-loop.
7263 (package-install): Allow symbols as arguments again.
7264
12adebe9
DG
72652013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7266
7267 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7268 add some more keyword-like methods.
7269 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7270
388573ee
JB
72712013-06-22 Juanma Barranquero <lekktu@gmail.com>
7272
7273 * bs.el (bs-buffer-show-mark): Make defvar-local.
7274 (bs-mode): Use setq-local.
7275
7276 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7277 (emacs-lock--try-unlocking): Make defvar-local.
7278
4582a01c 72792013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7280
2663dd23
GM
7281 * play/cookie1.el (cookie-apropos): Minor simplification.
7282
3d94f3ad
GM
7283 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7284
f72e2fdb
DG
72852013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7286
7287 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7288 `regexp-opt', it breaks the build during dumping.
7289
73eab938
DG
72902013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7291
c763842b
SM
7292 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7293 Highlight keyword-like methods on Kernel and Module with
73eab938 7294 font-lock-builtin-face.
5cf8176d
DG
7295 (auto-mode-alist): Consolidate different entries into one regexp
7296 and add more *file-s.
73eab938 7297
d26255f6
SB
72982013-06-21 Stephen Berman <stephen.berman@gmx.net>
7299
7300 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7301
7302 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7303 (diary-entry): Use it in the action of this button type instead of
7304 diary-goto-entry.
7305
7306 * calendar/todo-mode.el: New version.
7307 (todo-add-category): Append new category to end of file and give
7308 it the highest number, instead of putting it at the beginning and
7309 giving it 0. Incorporate noninteractive functionality.
7310 (todo-forward-category): Adapt to 1-based category numbering.
7311 Allow skipping over archived categories.
7312 (todo-backward-category): Derive from todo-forward-category.
7313 (todo-backward-item, todo-forward-item): Make noninteractive and
7314 delegate interactive part to new commands. Make sensitive to done items.
7315 (todo-categories): Make value an alist of category names and
7316 vectors of item counts.
7317 (todo-category-beg): Make a defconst.
7318 (todo-category-number): Use 1 instead of 0 as initial value.
7319 (todo-category-select): Make sensitive to overlays, optional item
7320 highlighting and done items.
7321 (todo-delete-item): Make sensitive to overlays and marked and done items.
7322 (todo-edit-item): Make sensitive to overlays and editing of
7323 date/time header optional. Add format checks.
7324 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7325 no-op if point is not on an item. Advertise using todo-edit-quit.
7326 (todo-edit-mode): Make sensitive to new format, font-locking, and
7327 multiple todo files.
7328 (todo-insert-item, todo-insert-item-here): Derive from
7329 todo-basic-insert-item and extend functionality.
7330 (todo-item-end, todo-item-start): Make sensitive to done items.
7331 (todo-item-string): Don't return text properties. Restore point.
7332 (todo-jump-to-category): Make sensitive to multiple todo files and
7333 todo archives. Use extended category completion.
7334 (todo-lower-item, todo-raise-item): Rename to *-priority and
7335 derive from todo-set-item-priority.
7336 (todo-mode): Derive from special-mode. Make sensitive to new
7337 format, font-locking and multiple todo files. Make read-only.
7338 (todo-mode-map): Don't suppress digit keys, so they can supply
7339 prefix arguments. Add many new key bindings.
7340 (todo-prefix): Insert as an overlay instead of file text.
7341 Change semantics from diary date expression to purely visual mark.
7342 (todo-print): Rename to todo-print-buffer. Make buffer display
7343 features printable. Remove option to restrict number of items
7344 printed. Add option to print to file.
7345 (todo-print-function): Rename to todo-print-buffer-function.
7346 (todo-quit): Extend to handle exiting new todo modes.
7347 (todo-remove-item): Make sensitive to overlays.
7348 (todo-save): Extend to buffers of filtered items.
7349 (todo-show): Make sensitive to done items, multiple todo files and
7350 new todo modes. Offer to convert legacy todo file before creating
7351 first new todo file.
7352 (todo-show-priorities): Rename to todo-top-priorities.
7353 Change semantics of value 0.
7354 (todo-top-priorities): Rename to todo-filter-top-priorities,
7355 derive from todo-filter-items and extend functionality.
7356 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7357 and extend functionality to other types of filtered items.
7358 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7359 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7360 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7361 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7362 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7363 (todo-edit-mode-hook, todo-entry-prefix-function)
7364 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7365 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7366 (todo-initials, todo-insert-threshold, todo-item-string-start)
7367 (todo-line-string, todo-menu, todo-mode-hook)
7368 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7369 (todo-print-priorities, todo-remove-separator)
7370 (todo-save-top-priorities-too, todo-string-count-lines)
7371 (todo-string-multiline-p, todo-time-string-format)
7372 (todo-tmp-buffer-name): Remove.
7373 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7374 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7375 (todo-edit-category-diary-inclusion)
7376 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7377 (todo-edit-file, todo-edit-item-date-day)
7378 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7379 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7380 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7381 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7382 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7383 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7384 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7385 (todo-filter-top-priorities-multifile, todo-find-archive)
7386 (todo-find-filtered-items-file, todo-go-to-source-item)
7387 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7388 (todo-jump-to-archive-category, todo-lower-category)
7389 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7390 (todo-move-category, todo-move-item, todo-next-button)
7391 (todo-next-item, todo-padded-string, todo-powerset)
7392 (todo-previous-button, todo-previous-item)
7393 (todo-print-buffer-to-file, todo-raise-category)
7394 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7395 (todo-set-category-number, todo-set-item-priority)
7396 (todo-set-top-priorities-in-category)
7397 (todo-set-top-priorities-in-file, todo-show-categories-table)
7398 (todo-sort-categories-alphabetically-or-numerically)
7399 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7400 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7401 (todo-toggle-item-header, todo-toggle-item-highlighting)
7402 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7403 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7404 (todo-unarchive-items, todo-unmark-category): New commands.
7405 (todo-absolute-file-name, todo-add-to-buffer-list)
7406 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7407 (todo-basic-insert-item, todo-category-completions)
7408 (todo-category-number, todo-category-string-matcher-1)
7409 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7410 (todo-check-format, todo-clear-matches)
7411 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7412 (todo-current-category, todo-date-string-matcher)
7413 (todo-define-insertion-command, todo-diary-expired-matcher)
7414 (todo-diary-goto-entry, todo-diary-item-p)
7415 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7416 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7417 (todo-done-item-section-p, todo-done-separator)
7418 (todo-done-string-matcher, todo-files, todo-filter-items)
7419 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7420 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7421 (todo-insert-category-line, todo-insert-item-from-calendar)
7422 (todo-insert-sort-button, todo-insert-with-overlays)
7423 (todo-insertion-command-name, todo-insertion-key-bindings)
7424 (todo-label-to-key, todo-longest-category-name-length)
7425 (todo-make-categories-list, todo-mode-external-set)
7426 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7427 (todo-modes-set-3, todo-multiple-filter-files)
7428 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7429 (todo-read-category, todo-read-date, todo-read-dayname)
7430 (todo-read-file-name, todo-read-time)
7431 (todo-reevaluate-category-completions-files-defcustom)
7432 (todo-reevaluate-default-file-defcustom)
7433 (todo-reevaluate-filelist-defcustoms)
7434 (todo-reevaluate-filter-files-defcustom)
7435 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7436 (todo-reset-done-separator, todo-reset-done-separator-string)
7437 (todo-reset-done-string, todo-reset-global-current-todo-file)
7438 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7439 (todo-reset-prefix, todo-set-categories)
7440 (todo-set-date-from-calendar, todo-set-show-current-file)
7441 (todo-set-top-priorities, todo-short-file-name)
7442 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7443 (todo-total-item-counts, todo-update-buffer-list)
7444 (todo-update-categories-display, todo-update-categories-sexp)
7445 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7446 New functions.
7447 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7448 New major modes.
7449 (todo-categories, todo-display, todo-edit, todo-faces)
7450 (todo-filtered): New defgroups.
7451 (todo-archived-only, todo-button, todo-category-string, todo-date)
7452 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7453 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7454 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7455 (todo-add-item-if-new-category, todo-always-add-time-string)
7456 (todo-categories-align, todo-categories-archived-label)
7457 (todo-categories-category-label, todo-categories-diary-label)
7458 (todo-categories-done-label, todo-categories-number-separator)
7459 (todo-categories-todo-label, todo-categories-totals-label)
7460 (todo-category-completions-files, todo-completion-ignore-case)
7461 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7462 (todo-done-separator-string, todo-done-string)
7463 (todo-files-function, todo-filter-done-items, todo-filter-files)
7464 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7465 (todo-initial-category, todo-initial-file, todo-item-mark)
7466 (todo-legacy-date-time-regexp, todo-mode-line-function)
7467 (todo-nondiary-marker, todo-number-prefix)
7468 (todo-print-buffer-function, todo-show-current-file)
7469 (todo-show-done-only, todo-show-first, todo-show-with-done)
7470 (todo-skip-archived-categories, todo-top-priorities-overrides)
7471 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7472 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7473 New defcustoms.
7474 (todo-category-done, todo-date-pattern, todo-date-string-start)
7475 (todo-diary-items-buffer, todo-done-string-start)
7476 (todo-filtered-items-buffer, todo-item-start)
7477 (todo-month-abbrev-array, todo-month-name-array)
7478 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7479 (todo-top-priorities-buffer): New defconsts.
7480 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7481 (todo-categories-with-marks, todo-category-string-face)
7482 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7483 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7484 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7485 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7486 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7487 (todo-font-lock-keywords, todo-global-current-todo-file)
7488 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7489 (todo-insertion-commands-args)
7490 (todo-insertion-commands-args-genlist)
7491 (todo-insertion-commands-names, todo-insertion-map)
7492 (todo-key-bindings-t, todo-key-bindings-t+a)
7493 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7494 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7495 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7496 (todo-visited): New variables.
7497
cad5d1cb
GM
74982013-06-21 Glenn Morris <rgm@gnu.org>
7499
7500 * play/cookie1.el (cookie-apropos): Add optional display argument.
7501 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7502 (psychoanalyze-pinhead): Use cookie-doctor.
7503
9e277302
JB
75042013-06-21 Juanma Barranquero <lekktu@gmail.com>
7505
7506 * emacs-lisp/package.el (tar-get-file-descriptor)
7507 (tar--extract): Declare.
7508
c5b0993e
EW
75092013-06-21 Eduard Wiebe <usenet@pusto.de>
7510
7511 Extend flymake's warning predicate to be a function (bug#14217).
7512 * progmodes/flymake.el (flymake-warning-predicate): New.
7513 (flymake-parse-line): Use it.
7514 (flymake-warning-re): Make obsolete alias to
7515 `flymake-warning-predicate'.
7516
a7d2d465
SM
75172013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7518
7519 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7520 (package-obsolete-list): Remove.
7521 (package-activate): Remove min-version argument. Add `force' argument.
7522 Adjust to new package-alist format.
7523 (package-mark-obsolete): Remove.
7524 (package-unpack): Force reload of the package's autoloads.
7525 (package-installed-p): Check builtins if the installed package is not
7526 recent enough.
7527 (package-initialize): Don't reset package-obsolete-list.
7528 Don't specify which package version to activate.
7529 (package-process-define-package, describe-package-1)
7530 (package-menu--generate): Adjust to new package-alist format.
7531
cedf5c9d
JB
75322013-06-21 Juanma Barranquero <lekktu@gmail.com>
7533
7534 * allout-widgets.el (allout-widgets-mode-off)
7535 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7536 (allout-widgets-post-command-business)
7537 (allout-widgets-after-copy-or-kill-function)
7538 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7539 (allout-decorate-item-and-context)
7540 (allout-graphics-modification-handler): Fix typos in docstrings.
7541 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7542
7543 * cmuscheme.el (scheme-start-file): Doc fix.
7544 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7545 (scheme-input-filter): Use `string-match-p'.
7546
7547 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7548
7549 * dired-x.el: Use Dired consistently in docstrings.
7550
7551 * dired.el: Use Dired consistently in docstrings.
7552 (dired-readin, dired-mode): Use `setq-local'.
7553 (dired-switches-alist): Make defvar-local.
7554 (dired-buffers-for-dir): Use `zerop'.
7555 (dired-safe-switches-p, dired-switches-escape-p)
7556 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7557 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7558 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7559 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7560 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7561 (dired-toggle-marks, dired-mark-files-containing-regexp)
7562 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7563 (dired-flag-auto-save-files, dired-flag-backup-files):
7564 Use `looking-at-p'.
7565 (dired-mark-files-regexp, dired-build-subdir-alist):
7566 Use `string-match-p', `looking-at-p'.
7567
7568 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7569 (direct-print-region-helper): Use `string-match-p'.
7570
aed838b5
LL
75712013-06-21 Leo Liu <sdl.web@gmail.com>
7572
cedf5c9d
JB
7573 * comint.el (comint-redirect-results-list-from-process):
7574 Fix infinite loop.
aed838b5 7575
d80a808f
LMI
75762013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7577
7578 * net/eww.el (eww-update-header-line-format): Quote % characters.
7579
e7a526e3
GM
75802013-06-21 Glenn Morris <rgm@gnu.org>
7581
7582 * play/cookie1.el (cookie): New custom group.
7583 (cookie-file): New option.
7584 (cookie-check-file): New function.
7585 (cookie): Make it interactive. Make start and end messages optional.
7586 Interactively, display the result. Default to cookie-file.
7587 (cookie-insert): Default to cookie-file.
7588 (cookie-snarf): Make start and end messages optional.
7589 Default to cookie-file. Use with-temp-buffer.
7590 (cookie-read): Rename from read-cookie.
7591 Make start and end messages optional. Default to cookie-file.
7592 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7593 Do not autoload it.
e7a526e3
GM
7594 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7595 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7596
62efb35e
LL
75972013-06-21 Leo Liu <sdl.web@gmail.com>
7598
7599 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7600
21e3f963
GM
76012013-06-21 Glenn Morris <rgm@gnu.org>
7602
7603 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7604
fd846ab4
SM
76052013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7606 Daniel Hackney <dan@haxney.org>
7607
7608 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7609 Consolidate the single-file vs tarball code.
7610 (package-desc-suffix): New function.
7611 (package-desc-full-name): Don't bother inlining it.
7612 (package-load-descriptor): Return the new package-desc.
7613 (package-mark-obsolete): Remove unused arg `package'.
7614 (package-unpack): Make it work for single files as well.
7615 Make it update package-alist.
7616 (package--make-autoloads-and-stuff): Rename from
7617 package--make-autoloads-and-compile. Don't compile any more.
7618 (package--compile): New function.
7619 (package-generate-description-file): New function, extracted from
7620 package-unpack-single.
7621 (package-unpack-single): Remove.
7622 (package--with-work-buffer): Add indentation and debugging info.
7623 (package-download-single): Remove.
7624 (package-install-from-archive): Rename from package-download-tar, make
7625 it take a pkg-desc, and make it work for single files as well.
7626 (package-download-transaction): Simplify.
7627 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7628 external tar program.
7629 (package-install-from-buffer): Remove `pkg-desc' argument.
7630 Use package-tar-file-info for tar-mode buffers.
7631 (package-install-file): Simplify accordingly.
7632 (package-archive-base): Change to take a pkg-desc.
7633 * tar-mode.el (tar--check-descriptor): New function, extracted from
7634 tar-get-descriptor.
7635 (tar-get-descriptor): Use it.
7636 (tar-get-file-descriptor): New function.
7637 (tar--extract): New function, extracted from tar-extract.
7638 (tar--extract): Use it.
7639 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7640 case the summary uses non-ascii. Adjust to new calling convention of
7641 package-tar-file-info.
7642
b7deae5e
LL
76432013-06-21 Leo Liu <sdl.web@gmail.com>
7644
fd846ab4
SM
7645 * comint.el (comint-redirect-results-list-from-process):
7646 Fix random delay. (Bug#14681)
b7deae5e 7647
7a65a0b2
JB
76482013-06-21 Juanma Barranquero <lekktu@gmail.com>
7649
7650 * profiler.el (profiler-format-number): Use log, not log10.
7651
1493c2af
JB
76522013-06-20 Juanma Barranquero <lekktu@gmail.com>
7653
7654 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7655
aff6371e
SM
76562013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7657
7658 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7659 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7660 yet available.
7661 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7662 (AUTOGENEL): ... here.
7663 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7664 (cl--defsubst-expand): Use it.
7665
89561f72
PE
76662013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7667
7668 * subr.el (log10): Move here from C code, and declare as obsolete.
7669 All uses of (log10 X) replaced with (log X 10).
7670
47199123
JB
76712013-06-20 Juanma Barranquero <lekktu@gmail.com>
7672
7673 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7674 Declare with `defvar-local'.
7675 (tabulated-list-use-header-line, tabulated-list-entries)
7676 (tabulated-list-padding, tabulated-list-printer)
7677 (tabulated-list-sort-key): Declare with `defvar-local'.
7678 (tabulated-list-init-header, tabulated-list-print-fake-header):
7679 Use `setq-local'.
7680
4a172eab
MA
76812013-06-20 Michael Albinus <michael.albinus@gmx.de>
7682
47199123
JB
7683 * arc-mode.el (archive-mode): Add `archive-write-file' to
7684 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7685
5fc0acc0
JB
76862013-06-20 Juanma Barranquero <lekktu@gmail.com>
7687
d5b27848
JB
7688 * cus-edit.el (custom-commands): Fix typos.
7689 (custom-display): Fix tooltip text.
7690 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7691 Fix typos in docstrings.
7692 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7693 (custom-unlispify-menu-entry, custom-magic-value-create)
7694 (custom-add-see-also, custom-group-value-create): Use ?\s.
7695 (custom-guess-type, customize-apropos, editable-field)
7696 (custom-face-value-create): Use `string-match-p'.
7697 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7698
7699 * custom.el (custom-load-symbol): Use `string-match-p'.
7700
a5c581d8
JB
7701 * ansi-color.el: Convert to lexical binding.
7702 (ansi-colors): Fix URL.
7703 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7704 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7705 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7706
970ad972
G
77072013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7708
7709 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7710
7711 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7712
77132013-06-19 Tom Tromey <tromey@redhat.com>
7714
7715 * net/eww.el (eww-top-url): Remove.
7716 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7717 (eww-render): Set new variables. Don't set eww-top-url.
7718 (eww-handle-link): Handle "prev", "home", and "contents".
7719 Downcase the rel text.
7720 (eww-top-url): Choose best top URL.
7721
77222013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7723
7724 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7725 relying in widget.el. Using widget.el leads to too many
7726 user interface inconsistencies.
7727 (eww-self-insert): Implement entering commands in text fields.
7728 (eww-process-text-input): New function to make text input field editing
7729 work.
7730 (eww-submit): Rewrite to use the new-style form methods.
7731 (eww-select-display): Display the correct selected item.
7732 (eww-change-select): Implement changing the select value.
7733 (eww-toggle-checkbox): Implement radio/checkboxes.
7734 (eww-update-field): Fix compilation error.
7735 (eww-tag-textarea): Implement <textarea>.
7736
7737 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7738 we don't shadow mode-specific bindings.
7739
7740 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7741 nothing to push.
7742
7743 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7744
4582a01c 77452013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7746
7747 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7748
15b263dc
MA
77492013-06-19 Michael Albinus <michael.albinus@gmx.de>
7750
7751 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7752 not needed.
7753
7754 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7755
8f5297f7
LMI
77562013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7757
7758 * net/browse-url.el (browse-url-browser-function):
7759 `eww-browse-url' has the right calling signature, `eww' does not.
7760
011c4552
GM
77612013-06-19 Glenn Morris <rgm@gnu.org>
7762
2285bd27
GM
7763 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7764 Only eval autoloaded macros.
7765 (byte-compile-autoload): Only give the macro warning for macros.
7766
1d653303
GM
7767 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7768 (ps-underlined-faces): Declare.
7769
bdd779ec
GM
7770 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7771 (speedbar-add-supported-extension): Declare.
7772
011c4552
GM
7773 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7774 Don't include a date stamp in the header of the generated file;
7775 it leads to needless differences between output files.
7776
e59dfb0e
MA
77772013-06-19 Michael Albinus <michael.albinus@gmx.de>
7778
c763842b
SM
7779 * net/secrets.el (secrets-struct-secret-content-type):
7780 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7781 Some servers do not offer introspection.
e59dfb0e 7782
102626e2
SM
77832013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7784
7785 * electric.el (electric-pair-mode): Improve interaction with
7786 electric-layout-mode.
7787 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7788 (electric-pair-syntax): Use text-mode-syntax-table in comments
7789 and strings.
7790 (electric-pair--insert): New function.
7791 (electric-pair-post-self-insert-function): Use it and
7792 electric--after-char-pos.
7793
ad528125
LL
77942013-06-19 Leo Liu <sdl.web@gmail.com>
7795
7796 * progmodes/octave.el (octave-help): Fix regexp.
7797
924d6997
G
77982013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7799
7800 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7801 (shr-table-horizontal-line): Allow nil as a value, and change the
7802 default.
7803 (shr-insert-table-ruler): Respect the nil value.
7804
78052013-06-18 Tom Tromey <tromey@barimba>
7806
7807 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7808 New defvars.
7809 (eww-open-file): New defun.
7810 (eww-render): Initialize new variables.
7811 (eww-display-html): Handle "link" and "a".
7812 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7813 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7814 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7815 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7816 New defuns.
924d6997 7817
d1bbba4f
DG
78182013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7819
7820 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7821 Distinguish ternary operator tokens from slash symbol and slash
7822 char literal.
7823
14dd22d2
JB
78242013-06-18 Juanma Barranquero <lekktu@gmail.com>
7825
7826 Convert symbol prettification into minor mode and global minor mode.
7827
7828 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7829 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7830 (prettify-symbols--keywords): Rename from
7831 `prog-prettify-symbols-alist' and make a local defvar.
7832 (prettify-symbols--compose-symbol): Rename from
7833 `prog--prettify-font-lock-compose-symbol'.
7834 (prettify-symbols--make-keywords): Rename from
7835 `prog-prettify-font-lock-symbols-keywords' and simplify.
7836 (prog-prettify-install): Remove.
7837 (prettify-symbols-mode): New minor mode, based on
7838 `prog-prettify-install'.
7839 (turn-on-prettify-symbols-mode): New function.
7840 (global-prettify-symbols-mode): New globalized minor mode.
7841
7842 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7843 * progmodes/cfengine.el (cfengine3-mode):
7844 * progmodes/perl-mode.el (perl-mode): Don't call
7845 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7846
292c880c
JL
78472013-06-18 Juri Linkov <juri@jurta.org>
7848
7849 * files-x.el (modify-file-local-variable-message): New function.
7850 (modify-file-local-variable)
7851 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7852 and call `modify-file-local-variable-message' when it's non-nil.
7853 (add-file-local-variable, delete-file-local-variable)
7854 (add-file-local-variable-prop-line)
7855 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7856 and use it. (Bug#9820)
7857
0950aa27
JL
78582013-06-18 Juri Linkov <juri@jurta.org>
7859
7860 * emulation/vi.el (vi-shell-op):
7861 * emulation/vip.el (vip-execute-com, ex-command):
7862 * emulation/viper-cmd.el (viper-exec-bang):
7863 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7864 the call of `shell-command-on-region'. (Bug#14637)
7865
7866 * simple.el (shell-command-on-region): Doc fix.
7867
8fbcca16
SM
78682013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7869
7870 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7871 (bug#14633).
7872
dd7426ea
GM
78732013-06-18 Glenn Morris <rgm@gnu.org>
7874
4ba54f7d
GM
7875 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7876
dd7426ea
GM
7877 * newcomment.el (comment-search-forward, comment-search-backward):
7878 Doc fix. (Bug#14376)
7879
58aa805b
JB
78802013-06-18 Juanma Barranquero <lekktu@gmail.com>
7881
7882 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7883 (buffer-face-mode-invoke): Doc fix.
7884
9a08a617
MM
78852013-06-18 Matthias Meulien <orontee@gmail.com>
7886
7887 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7888 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7889
f2f426ca
GM
78902013-06-18 Glenn Morris <rgm@gnu.org>
7891
9445f99b
GM
7892 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7893 Replace obsolete function generic-make-keywords with its expansion.
7894
e0df2d14
GM
7895 * progmodes/python.el (ffap-alist): Declare.
7896
f2f426ca
GM
7897 * textmodes/reftex.el (bibtex-mode-map): Declare.
7898
f7f9a720
SM
78992013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7900
7901 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7902 (package-unpack, package-unpack-single): Return the pkg-dir.
7903 (package-download-transaction): Use it to update package-alist.
7904
57ff04e0
LMI
79052013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7906
7907 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7908 possible choice.
7909
c048c022
JL
79102013-06-17 Juri Linkov <juri@jurta.org>
7911
7912 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7913
b5bcaee5
DG
79142013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7915
a020afb9
JB
7916 * emacs-lisp/package.el (package-load-descriptor):
7917 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7918 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7919
551e07e5
JB
79202013-06-17 Juanma Barranquero <lekktu@gmail.com>
7921
7922 * startup.el (command-line): Expand package name returned by
7923 `package--description-file' (bug#14639).
7924
d363bffb
DG
79252013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7926
7927 * emacs-lisp/package.el (package-load-descriptor): Do not call
7928 `emacs-lisp-mode', just use its syntax table.
7929
f612933b
JB
79302013-06-17 Juanma Barranquero <lekktu@gmail.com>
7931
7932 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7933 `font-lock-extra-managed-props' if any prettifying keyword is added.
7934 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7935 (prog-mode): Use `setq-local'.
7936
db3b7db5
SM
79372013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7938
7939 * international/characters.el (standard-case-table): Set syntax of ?»
7940 and ?« to punctuation.
7941
f3d674df
JB
79422013-06-16 Juanma Barranquero <lekktu@gmail.com>
7943
7944 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7945 Save relevant match data before calling `syntax-ppss' (bug#14595).
7946
31489a32
JL
79472013-06-15 Juri Linkov <juri@jurta.org>
7948
7949 * files-x.el (modify-file-local-variable-prop-line): Add local
7950 variables to the end of the existing comment on the first line.
7951 Use `file-auto-mode-skip' to skip interpreter magic line,
7952 and also skip XML declaration.
7953
66bd25ab
SM
79542013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * startup.el (package--builtin-versions): New var.
7957 (package-subdirectory-regexp): Remove.
7958 (package--description-file): Hard code its value instead.
7959
7960 * emacs-lisp/package.el: Don't activate packages older than builtin.
7961 (package-obsolete-list): Rename from package-obsolete-alist, and make
7962 it into a simple list of package-desc.
7963 (package-strip-version): Remove.
7964 (package-built-in-p): Use package--builtin-versions.
7965 (package-mark-obsolete): Simplify.
7966 (package-process-define-package): Mark it obsolete if older than the
7967 builtin version.
7968 (package-handle-response): Use line-end-position.
7969 (package-read-archive-contents, package--download-one-archive):
7970 Simplify.
7971 (package--add-to-archive-contents): Skip if older than the builtin or
7972 installed version.
7973 (package-menu-describe-package): Fix last change.
7974 (package-list-unversioned): New var.
7975 (package-menu--generate): Use it.
7976
7977 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7978 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7979 (autoload-builtin-package-versions): New variable.
7980 (autoload-generate-file-autoloads): Use them.
7981 Remove the list of autoloaded functions/macros from the
7982 (autoload...) comments.
7983
7984 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7985
9583ec36
EZ
79862013-06-15 Eli Zaretskii <eliz@gnu.org>
7987
7988 * simple.el (line-move-partial): Don't jump to the next screen
7989 line as soon as it becomes visible. Instead, continue enlarging
7990 the vscroll until the portion of a tall screen line that's left on
7991 display is about the height of the frame's default font.
7992 (Bug#14567)
7993
f0100d8a
GM
79942013-06-15 Glenn Morris <rgm@gnu.org>
7995
b86a85ca
GM
7996 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7997 compilation-error-regexp-alist void, or local while let-bound.
7998
f0100d8a
GM
7999 * progmodes/make-mode.el (makefile-mode-syntax-table):
8000 Treat "=" as punctuation. (Bug#14614)
8001
05e7ce90
JB
80022013-06-15 Juanma Barranquero <lekktu@gmail.com>
8003
8004 * help-fns.el (describe-variable):
8005 Add extra line for permanent-local variables.
8006
12e5e86e
SH
80072013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8008
8009 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8010 Add export, import, library. (Bug#9164)
8011 (library): Set indent function.
8012
230dcbaf
GM
80132013-06-14 Glenn Morris <rgm@gnu.org>
8014
8015 * term/xterm.el (xterm--query):
8016 Stop after first matching handler. (Bug#14615)
8017
e36b2d20 80182013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8019
8020 Add support for dired in saveplace.
8021 * dired.el (dired-initial-position-hook): New variable.
8022 (dired-initial-position): Call hook to place cursor position.
8023 * saveplace.el (save-place-to-alist): Add dired position.
8024 (save-place-dired-hook): New function.
8025
0b31660d
SM
80262013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8027
bf1e6ae8
SM
8028 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8029 through a symbol rather than letrec.
8030
1b8dff23
SM
8031 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8032 (package-desc): Add `dir' field.
8033 (package-desc-full-name): New function.
8034 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8035 (package-maybe-load-descriptor): Remove.
8036 (package-load-all-descriptors): Just call package-load-descriptor.
8037 (package--disabled-p): New function.
8038 (package-desc-vers, package-desc-doc): Remove aliases.
8039 (package--dir): Remove function.
8040 (package-activate): Check if a package is disabled.
8041 (package-process-define-package): New function, extracted from
8042 define-package.
8043 (define-package): Turn into a place holder.
8044 (package-unpack-single, package-tar-file-info):
8045 Use package--description-file.
8046 (package-compute-transaction): Use package--disabled-p.
8047 (package-download-transaction): Don't call
8048 package-maybe-load-descriptor since they're all loaded anyway.
8049 (package-install): Change argument to be a pkg-desc.
8050 (package-delete): Use a single pkg-desc argument.
8051 (describe-package-1): Use package-desc-dir instead of package--dir.
8052 Use package-desc property instead of package-symbol.
8053 (package-install-button-action): Adjust accordingly.
8054 (package--push): Rewrite.
8055 (package-menu--print-info): Adjust accordingly. Change the ID format
8056 to be a pkg-desc.
8057 (package-menu-describe-package, package-menu-get-status)
8058 (package-menu--find-upgrades, package-menu-mark-upgrades)
8059 (package-menu-execute, package-menu--name-predicate):
8060 Adjust accordingly.
8061 * startup.el (package--description-file): New function.
8062 (command-line): Use it.
8063 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8064 Use package-desc-version.
8065
0b31660d
SM
8066 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8067 (byte-compile-preprocess): Use it.
8068 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8069 can't quite recognize.
8070 (byte-compile-add-to-list): Remove.
8071 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8072 (cconv-closure-convert): Add assertion.
8073
8074 * emacs-lisp/map-ynp.el: Use lexical-binding.
8075 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8076 Factor out some repeated code.
8077
de0503df
SM
80782013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * subr.el (with-eval-after-load): New macro.
8081 (eval-after-load): Allow form to be a function.
8082 take advantage of lexical-binding.
8083 (do-after-load-evaluation): Use dolist and adjust to new format.
8084 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8085
bc5c8c5a
JL
80862013-06-13 Juri Linkov <juri@jurta.org>
8087
8088 * replace.el (perform-replace): Display "symbol " and other search
8089 modes from `isearch-message-prefix' in the *Help* buffer.
8090
8091 * isearch.el (isearch-query-replace): Add " symbol" and other
8092 possible search modes from `isearch-message-prefix' to the prompt.
8093 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8094 when reading a regexp to collect.
8095
a22289f7
JL
80962013-06-13 Juri Linkov <juri@jurta.org>
8097
8098 * isearch.el (word-search-regexp): Match whitespace if the search
8099 string begins or ends in whitespace. The LAX arg is applied to
8100 both ends of the search string. Use `regexp-quote' and explicit
8101 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8102 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8103 boundaries are replaced with symbol boundaries, and characters
8104 between symbols match non-word non-symbol syntax. (Bug#14602)
8105
cb89acab
JL
81062013-06-13 Juri Linkov <juri@jurta.org>
8107
8108 * isearch.el (isearch-del-char): Don't exceed the length of
8109 `isearch-string' by the prefix arg. (Bug#14563)
8110
6e8cfc81
JL
81112013-06-13 Juri Linkov <juri@jurta.org>
8112
8113 * isearch.el (isearch-yank-word, isearch-yank-line)
8114 (isearch-char-by-name, isearch-quote-char)
8115 (isearch-printing-char, isearch-process-search-char):
8116 Add optional count prefix arg. (Bug#14563)
8117
8118 * international/isearch-x.el
8119 (isearch-process-search-multibyte-characters):
8120 Add optional count prefix arg.
8121
c23d55f4
VS
81222013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8125 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8126 lexical-binding.
8127
81282013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8129
8130 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8131
ba947bc4
GM
81322013-06-13 Glenn Morris <rgm@gnu.org>
8133
8baeb37a
GM
8134 * startup.el (tty-handle-args):
8135 Don't just discard "--" and anything after. (Bug#14608)
8136
ba947bc4
GM
8137 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8138
9abefce4
MA
81392013-06-13 Michael Albinus <michael.albinus@gmx.de>
8140
8141 Implement changes in Secret Service API. Make it backward compatible.
8142 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8143 (secrets-create-item): Use it. Prefix properties with interface.
8144
5755011f
MH
81452013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8146
8147 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8148 (term-emulate-terminal): Respect term-suppress-hard-newline.
8149
1261d2da
S
81502013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8151
8152 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8153 Only remove a `thumb-file' overlay. (Bug#14548)
8154
868490bb
GJ
81552013-06-12 Grégoire Jadi <daimrod@gmail.com>
8156
8157 * mail/reporter.el (reporter-submit-bug-report):
8158 Handle missing package-name. (Bug#14600)
8159
79d7167f
TH
81602013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8161
8162 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8163 (reftex-citation-prompt, reftex-default-bibliography)
8164 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8165 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8166 (reftex-bib-sort-author, reftex-bib-sort-year)
8167 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8168 (reftex-extract-bib-entries-from-thebibliography)
8169 (reftex-get-bibkey-default, reftex-get-bib-names)
8170 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8171 (reftex-format-bib-entry, reftex-parse-bibitem)
8172 (reftex-format-bibitem, reftex-do-citation)
8173 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8174 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8175 (reftex-insert-bib-matches, reftex-format-citation)
8176 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8177 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8178 existing comments into docstrings.
8179
5f9dbd7a
XF
81802013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8181
8182 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8183
94df41ab
AS
81842013-06-12 Andreas Schwab <schwab@suse.de>
8185
8186 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8187 for auto-save files.
8188
a7f3fecc
GM
81892013-06-12 Glenn Morris <rgm@gnu.org>
8190
001809f6
GM
8191 * ido.el (ido-delete-ignored-files): Remove.
8192 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8193 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8194
834b5ded
EL
81952013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8196
08c73ed2
EL
8197 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8198
834b5ded
EL
8199 * ido.el (ido-delete-ignored-files): New function,
8200 split from ido-make-file-list-1.
8201 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8202 (ido-make-file-list-1): Use ido-delete-ignored-files.
8203
daabf15a
LL
82042013-06-12 Leo Liu <sdl.web@gmail.com>
8205
8206 * progmodes/octave.el (inferior-octave-startup)
8207 (inferior-octave-completion-table)
8208 (inferior-octave-track-window-width-change)
8209 (octave-eldoc-function-signatures, octave-help)
8210 (octave-find-definition): Use single quoted strings.
8211 (inferior-octave-startup-args): Change default value.
8212 (inferior-octave-startup): Do not hard code "-i" and
8213 "--no-line-editing".
8214 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8215 (inferior-octave-directory-tracker): Use it.
8216 (octave-goto-function-definition): Robustify.
8217 (octave-help): Support highlighting operators in 'See also'.
8218 (octave-find-definition): Find subfunctions only in Octave mode.
8219
cf4e5178
SM
82202013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8221
8222 * help-fns.el (help-fns--compiler-macro): If the handler function is
8223 named, then put a link to it.
8224 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8225 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8226 (cl-typep): Use it.
8227 (cl-eval-when): Simplify debug spec.
8228 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8229 compiler-macro function instead of setting `compiler-macro-file'.
8230
99c81280 82312013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8232
8233 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8234 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8235
f56be016
SM
82362013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8237 Daniel Hackney <dan@haxney.org>
8238
8239 First part of Daniel Hackney's patch to package.el.
8240 * emacs-lisp/package.el: Use defstruct.
8241 (package-desc): New, main struct.
8242 (package--bi-desc, package--ac-desc): New structs, used to describe the
8243 format in external files.
8244 (package-desc-vers): Replace with package-desc-version accessor.
8245 (package-desc-doc): Replace with package-desc-summary accessor.
8246 (package-activate-1): Remove `package' arg since the pkg-vec now
8247 includes the name.
8248 (define-package): Use package-desc-from-define.
8249 (package-unpack-single): Change file-name arg to be a symbol.
8250 (package--add-to-archive-contents): Use package-desc-create and new
8251 accessor functions to package--ac-desc.
8252 (package-buffer-info, package-tar-file-info): Return a package-desc.
8253 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8254 arg to be a package-desc.
8255 (package-install-file): Adjust accordingly. Use \' to match EOS.
8256 (package--from-builtin): New function.
8257 (describe-package-1, package-menu--generate): Use it.
8258 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8259 (package-generate-autoloads): Idem and return the name of the file.
8260 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8261 Change pkg-info arg to be a package-desc.
8262 Use package-make-ac-desc.
8263 (package-upload-file): Use \' to match EOS.
8264 * finder.el (finder-compile-keywords): Use package-make-builtin.
8265
31119d63
SM
82662013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8267
931a2762
SM
8268 * vc/vc.el (vc-deduce-fileset): Change error message.
8269 (vc-read-backend): New function.
8270 (vc-next-action): Use it.
8271
5a3eb0c6
SM
8272 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8273
e3eb1bb7
SM
8274 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8275 (prolog-font-lock-keywords): Use regexp-opt instead.
8276 Don't manually highlight strings.
8277 (prolog-mode-variables): Simplify comment-start-skip.
8278 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8279
31119d63
SM
8280 * emacs-lisp/generic.el (generic--normalise-comments)
8281 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8282 (generic-mode-set-comments): Use them.
8283 (generic-bracket-support): Use setq-local.
8284 (generic-make-keywords-list): Declare obsolete.
8285
7de135d0
GM
82862013-06-11 Glenn Morris <rgm@gnu.org>
8287
8288 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8289 Prettify after setting font-lock-defaults. (Bug#14574)
8290
fa6bc6fd
JB
82912013-06-11 Juanma Barranquero <lekktu@gmail.com>
8292
8293 * replace.el (query-replace, occur-read-regexp-defaults-function)
8294 (replace-search):
8295 * subr.el (declare-function, number-sequence, local-set-key)
8296 (substitute-key-definition, locate-user-emacs-file)
8297 (with-silent-modifications, split-string, eval-after-load):
8298 Fix typos, remove unneeded backslashes and reflow some docstrings.
8299
cf1f9b9a
SM
83002013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8301
8302 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8303 default for Elisp files.
8304
56602a4b
GM
83052013-06-11 Glenn Morris <rgm@gnu.org>
8306
8307 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8308 although define-derived-mode was doing this anyway. (Bug#14583)
8309
30ae0b2c
JB
83102013-06-10 Juanma Barranquero <lekktu@gmail.com>
8311
8312 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8313 Fix make-variable-buffer-local call to refer to the correct variable.
8314
fa472906
AG
83152013-06-10 Aidan Gauland <aidalgol@amuri.net>
8316
8317 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8318 (eshell-visual-subcommands, eshell-visual-options):
8319 Add summary line to docstrings. Add cross-references.
fa472906 8320
ff4871b9
GM
83212013-06-10 Glenn Morris <rgm@gnu.org>
8322
8323 * epa.el (epa-read-file-name): New function. (Bug#14510)
8324 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8325
04fcf1b0
AG
83262013-06-09 Aidan Gauland <aidalgol@amuri.net>
8327
8328 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8329 output redirection to be ignored with visual commands.
8330
88b00caa
AG
83312013-06-09 Aidan Gauland <aidalgol@amuri.net>
8332
8333 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8334 (eshell-term-initialize): Move long lambda to separate function
8335 eshell-visual-command-p.
e7b41c4c
JB
8336 * eshell/em-dirs.el (eshell-dirs-initialise):
8337 * eshell/em-script.el (eshell-script-initialize):
8338 Add missing #' to lambda.
88b00caa 8339
fda74125
LL
83402013-06-08 Leo Liu <sdl.web@gmail.com>
8341
8342 * progmodes/octave.el (octave-add-log-current-defun): New function.
8343 (octave-mode): Set add-log-current-defun-function.
8344 (octave-goto-function-definition): Do not move point if not found.
8345 (octave-find-definition): Enhance to try subfunctions first.
8346
467f3b33
GM
83472013-06-08 Glenn Morris <rgm@gnu.org>
8348
8349 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8350 (byte-compile-backward-char, byte-compile-backward-word):
8351 Improve previous change, to handle non-explicit nil.
8352
544badc3
SM
83532013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8356 (smie--opener/closer-at-point): New function.
8357 (smie--matching-block-data): Use it. Don't match from right after an
8358 opener or right before a closer. Obey smie-blink-matching-inners.
8359 Don't signal a mismatch for repeated inners like "switch..case..case".
8360
a175bf33
LL
83612013-06-07 Leo Liu <sdl.web@gmail.com>
8362
8363 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8364 to t. (Bug#14303)
ce8209d4
LL
8365 (octave-function-header-regexp): Fix. (Bug#14570)
8366 (octave-help-mode-finish-hook, octave-help-mode-finish):
8367 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8368
8369 * newcomment.el (comment-search-backward): Revert last change.
8370 (Bug#14434)
8371
8372 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8373
a822acff
EZ
83742013-06-07 Eli Zaretskii <eliz@gnu.org>
8375
8376 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8377 through xargs, to avoid failure due to MS-Windows limitations on
8378 command-line length.
8379
961166f5
GM
83802013-06-06 Glenn Morris <rgm@gnu.org>
8381
d0341459
GM
8382 * font-lock.el (lisp-font-lock-keywords-2):
8383 Treat user-error like error.
8384
961166f5
GM
8385 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8386 (byte-compile-backward-char, byte-compile-backward-word):
8387 Handle explicit nil arguments. (Bug#14565)
8388
80fa505f
AM
83892013-06-05 Alan Mackenzie <acm@muc.de>
8390
8391 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8392 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8393 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8394 (Bug#9706)
80fa505f 8395
fccdc796
SM
83962013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8397
8398 * autorevert.el (auto-revert-notify-handler): Use memq.
8399 Hide assertion failure.
8400
8401 * skeleton.el: Use cl-lib.
8402 (skeleton-further-elements): Use defvar-local.
8403 (skeleton-insert): Use cl-progv.
8404
9bfff84b
TZ
84052013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8406
8407 * progmodes/prog-mode.el (prog-prettify-symbols)
8408 (prog-prettify-install): Update docstrings.
8409
55577e7c
SM
84102013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8411
8412 * simple.el: Move all the prog-mode code to prog-mode.el.
8413 * progmodes/prog-mode.el: New file.
8414 * loadup.el: Add prog-mode.el.
8415
8fc57765
TZ
84162013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8417
8418 * simple.el (prog-prettify-symbols): Add version.
8419 (prog-prettify-install): Add convenience function to prettify symbols.
8420
8421 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8422 (perl--augmented-font-lock-keywords-1)
8423 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8424 variables and use it.
8425
8426 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8427 (cfengine3-mode): Remove unneeded variable and use it.
8428
8429 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8430 (lisp--augmented-font-lock-keywords-1)
8431 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8432 Remove unneeded variables and use it.
8433
650645d5 84342013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8435
8436 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8437 to point when opening the connection. (Bug#14380)
28f5da6d 8438
781b4af6
SM
84392013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8440
8441 * subr.el (load-history-regexp, load-history-filename-element)
8442 (eval-after-load, after-load-functions, do-after-load-evaluation)
8443 (eval-next-after-load, display-delayed-warnings)
8444 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8445 definition of save-match-data.
8446 (overriding-local-map): Remove accidental obsolescence declaration.
8447
8448 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8449
3ca0d0b4
TZ
84502013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8451
8452 Generalize symbol prettify support to prog-mode and implement it
8453 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8454 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8455 (prog--prettify-font-lock-compose-symbol)
8456 (prog-prettify-font-lock-symbols-keywords): New variables and
8457 functions to support symbol prettification.
8458 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8459 (lisp--augmented-font-lock-keywords-1)
8460 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8461 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8462 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8463 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8464 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8465 * progmodes/perl-mode.el (perl-prettify-symbols)
8466 (perl--font-lock-compose-symbol)
8467 (perl--font-lock-symbols-keywords): Move to prog-mode.
8468 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8469 (perl-font-lock-keywords-1)
8470 (perl-font-lock-keywords-2): Remove explicit prettify support.
8471 (perl--augmented-font-lock-keywords)
8472 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8473 (perl--augmented-font-lock-keywords-2, perl-mode):
8474 Implement prettify support.
3ca0d0b4 8475
976cb066
LL
84762013-06-05 Leo Liu <sdl.web@gmail.com>
8477
8478 Re-implement smie matching block highlight using
8479 show-paren-data-function. (Bug#14395)
8480 * emacs-lisp/smie.el (smie-matching-block-highlight)
8481 (smie--highlight-matching-block-overlay)
8482 (smie--highlight-matching-block-lastpos)
8483 (smie-highlight-matching-block)
8484 (smie-highlight-matching-block-mode): Remove.
8485 (smie--matching-block-data-cache): New variable.
8486 (smie--matching-block-data): New function.
8487 (smie-setup): Use smie--matching-block-data for
8488 show-paren-data-function.
8489
8490 * progmodes/octave.el (octave-mode-menu): Fix.
8491 (octave-find-definition): Skip garbage lines.
8492
208d0342
SM
84932013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8494
8495 Fix compilation error with simultaneous dynamic+lexical scoping.
8496 Add warning when a defvar appears after the first let-binding.
8497 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8498 (byte-compile-close-variables): Initialize it.
8499 (byte-compile--declare-var): New function.
8500 (byte-compile-file-form-defvar)
8501 (byte-compile-file-form-define-abbrev-table)
8502 (byte-compile-file-form-custom-declare-variable): Use it.
8503 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8504 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8505 (byte-compile-bind): Handle dynamic bindings that shadow
8506 lexical bindings.
8507 (byte-compile-unbind): Make arg non-optional.
8508 (byte-compile-let): Simplify.
8509 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8510 (cconv--analyse-function, cconv-analyse-form): Populate it.
8511 Protect byte-compile-bound-variables to limit the scope of defvars.
8512 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8513 Remove unneeded rule for `declare'.
8514
8515 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8516 so as to avoid depending on cl-adjoin at run-time.
8517 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8518
8519 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8520 (macroexp--warn-and-return): Use it.
8521
1ac2891e
GM
85222013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * lisp/subr.el: Convert to lexical binding.
8525 (overriding-local-map): Make obsolete.
8526 (add-to-list): Doc fix. Add compiler macro.
8527 (read-key): Swap values of local maps.
8528
2587b005
LL
85292013-06-05 Leo Liu <sdl.web@gmail.com>
8530
8531 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8532
f1da3c88
LL
85332013-06-04 Leo Liu <sdl.web@gmail.com>
8534
8535 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8536 (compilation-auto-jump): Suppress the "Mark set" message to give
8537 way to exit message.
8538
3caa391f
AM
85392013-06-04 Alan Mackenzie <acm@muc.de>
8540
8541 Remove faulty optimisation from indentation calculation.
8542 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8543 search limit based on 2000 characters back from indent-point.
8544
068922a2
TH
85452013-06-03 Tassilo Horn <tsdh@gnu.org>
8546
8547 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8548
1f8fdd53
SM
85492013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8550
bbcc4d97
SM
8551 * emacs-lisp/lisp.el: Use lexical-binding.
8552 (lisp--local-variables-1, lisp--local-variables): New functions.
8553 (lisp--local-variables-completion-table): New var.
208d0342 8554 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8555
1f8fdd53
SM
8556 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8557 eagerly (bug#14422).
8558
c9628c79
MA
85592013-06-03 Michael Albinus <michael.albinus@gmx.de>
8560
8561 * autorevert.el (auto-revert-notify-enabled)
8562 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8563 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8564 (auto-revert-notify-handler): Handle also gfilenotify.
8565
e7b41c4c 8566 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8567 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8568 Remove.
c9628c79 8569
e5e4a942
JL
85702013-06-03 Juri Linkov <juri@jurta.org>
8571
8572 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8573 `M-s h .'. (Bug#14427)
8574
8575 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8576 command `hi-lock-face-symbol-at-point'.
8577 (hi-lock-face-symbol-at-point): New command.
8578 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8579 (hi-lock-menu): Add `highlight-symbol-at-point'.
8580 (hi-lock-mode): Doc fix.
8581
8582 * isearch.el (isearch-forward-symbol-at-point): New command.
8583 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8584 (isearch-highlight-regexp): Add a regexp which matches
8585 words/symbols for word/symbol mode.
8586
8587 * subr.el (find-tag-default-bounds): New function with the body
8588 mostly moved from `find-tag-default'.
8589 (find-tag-default): Move most code to `find-tag-default-bounds',
8590 call it and apply `buffer-substring-no-properties' afterwards.
8591
26b3353a
TH
85922013-06-03 Tassilo Horn <tsdh@gnu.org>
8593
781b4af6
SM
8594 * eshell/em-term.el (eshell-term-initialize):
8595 Use `cl-intersection' rather than `intersection'.
26b3353a 8596
51b60f53
XF
85972013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8598
fe054b63 8599 * vc/log-view.el: Doc fix.
d3ffe17c 8600 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8601
a0eb10b3 86022013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8603
8604 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8605 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8606 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8607 (eieio-unbound, eieio-default-superclass)
8608 (eieio--define-field-accessors, method-static, method-before)
8609 (method-primary, method-after, method-num-lists)
8610 (method-generic-before, method-generic-primary)
8611 (method-generic-after, method-num-slots)
8612 (eieio-specialized-key-to-generic-key)
8613 (eieio--check-type, class-v, class-p)
8614 (eieio-class-name, define-obsolete-function-alias)
8615 (eieio-class-parents-fast, eieio-class-children-fast)
8616 (same-class-fast-p, class-constructor, generic-p)
8617 (generic-primary-only-p, generic-primary-only-one-p)
8618 (class-option-assoc, class-option, eieio-object-p)
8619 (class-abstract-p, class-method-invocation-order)
8620 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8621 (eieio-class-un-autoload, eieio-defclass)
8622 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8623 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8624 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8625 (eieio-defgeneric-reset-generic-form)
8626 (eieio-defgeneric-form-primary-only)
8627 (eieio-defgeneric-reset-generic-form-primary-only)
8628 (eieio-defgeneric-form-primary-only-one)
8629 (eieio-defgeneric-reset-generic-form-primary-only-one)
8630 (eieio-unbind-method-implementations)
8631 (eieio--defmethod, eieio--typep)
8632 (eieio-perform-slot-validation, eieio-validate-slot-value)
8633 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8634 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8635 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8636 (eieio-slot-name-index, eieio-class-slot-name-index)
8637 (eieio-set-defaults, eieio-initarg-to-attribute)
8638 (eieio-attribute-to-initarg, eieio-c3-candidate)
8639 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8640 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8641 (eieio-class-precedence-list, eieio-generic-call-methodname)
8642 (eieio-generic-call-arglst, eieio-generic-call-key)
8643 (eieio-generic-call-next-method-list)
8644 (eieio-pre-method-execution-functions, eieio-generic-call)
8645 (eieio-generic-call-primary-only, eieiomt-method-list)
8646 (eieiomt-optimizing-obarray, eieiomt-install)
8647 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8648 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8649 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8650 (defclass): Remove `eval-and-compile' from macro.
8651 (call-next-method, shared-initialize): Instead of using
8652 `scoped-class' variable, use new eieio--scoped-class, and
8653 eieio--with-scoped-class.
8654 (initialize-instance): Rename local variable 'scoped-class' to
8655 'this-class' to remove ambiguitity from old global.
8656
8657 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8658 eieio.el.
4f405069
JB
8659 (eieio--scoped-class-stack): New variable.
8660 (eieio--scoped-class): New fcn.
890f7890
DE
8661 (eieio--with-scoped-class): New scoping macro.
8662 (eieio-defclass): Use pushnew instead of add-to-list.
8663 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8664 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8665 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8666 `scoped-class' variable, use new eieio--scoped-class, and
8667 eieio--with-scoped-class.
8668
8669 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8670
d105b0e2
TH
86712013-06-02 Tassilo Horn <tsdh@gnu.org>
8672
8673 * eshell/esh-ext.el (eshell-external-command): Pass args to
8674 `eshell-find-interpreter'.
8675 (eshell-find-interpreter): Add new second parameter ARGS.
8676
8677 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8678 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8679
8680 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8681 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8682
8683 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8684 (eshell-visual-options): New defcustom.
8685 (eshell-escape-control-x): Adapt docstring.
8686 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8687 `eshell-visual-options' in addition to `eshell-visual-commands'.
8688 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8689
f46305c8 86902013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8691
8692 * progmodes/python.el (python-indent-block-enders): Add break,
8693 continue and raise keywords.
8694
d870df21
GM
86952013-06-01 Glenn Morris <rgm@gnu.org>
8696
9133b82e
GM
8697 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8698
02c992ec 8699 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8700 * progmodes/cc-cmds.el (delete-forward-p):
8701 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8702 * progmodes/cc-engine.el (buffer-syntactic-context):
8703 * progmodes/cc-fonts.el (face-property-instance):
8704 * progmodes/cc-mode.el (set-keymap-parents):
8705 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8706 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8707 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8708 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8709 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8710
31e7b090
GM
8711 * progmodes/cc-vars.el (other): Emacs has this widget since
8712 at least 21.1, so don't (re)define it.
8713
d870df21
GM
8714 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8715 Replace the obsolete alias pcomplete-arg-quote-list.
8716
c75c93c7
LL
87172013-06-01 Leo Liu <sdl.web@gmail.com>
8718
8719 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8720 punctuation syntax.
8721 (inferior-octave-minimal-columns)
8722 (inferior-octave-last-column-width): New variables.
8723 (inferior-octave-track-window-width-change): New function.
8724 (inferior-octave-mode): Adjust column width so that Octave output,
8725 for example from 'ls', can fit into the window nicely.
8726
973d1e12
DG
87272013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8728
8729 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8730 Highlight expansions inside regexp literals.
8731
0888c286
GM
87322013-05-31 Glenn Morris <rgm@gnu.org>
8733
e26aac1f
GM
8734 * obsolete/sym-comp.el (symbol-complete):
8735 Replace obsolete completion-annotate-function.
8736
0888c286
GM
8737 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8738
19bb8e62
DG
87392013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8740
781b4af6
SM
8741 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8742 New function, checks if point is inside a literal that allows
19bb8e62
DG
8743 expression expansion.
8744 (ruby-syntax-propertize-expansion): Use it.
8745 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8746 around the body.
8747
01dea85f
JL
87482013-05-30 Juri Linkov <juri@jurta.org>
8749
8750 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8751 to "\M-si".
8752 (isearch-invisible): New variable.
8753 (isearch-forward): Doc fix.
8754 (isearch-mode): Set `isearch-invisible'
8755 to the value of `search-invisible'.
8756 (isearch-toggle-case-fold): Doc fix.
8757 (isearch-toggle-invisible): New command.
8758 (isearch-query-replace): Let-bind `search-invisible'
8759 to the value of `isearch-invisible'.
8760 (isearch-search): Use `isearch-invisible' instead of
8761 `search-invisible'. Let-bind `search-invisible'
8762 to the value of `isearch-invisible'. (Bug#11378)
8763
ab1bdce5
JL
87642013-05-30 Juri Linkov <juri@jurta.org>
8765
8766 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8767 call when `query-flag' is nil and `search-invisible' is non-nil.
8768 (Bug#11746)
8769
d6d236e2
GM
87702013-05-30 Glenn Morris <rgm@gnu.org>
8771
8accd027
GM
8772 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8773
2a8bed1c
GM
8774 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8775 (cc-require): Suppress spurious "noruntime" warnings.
8776 (cc-require-when-compile): Use fboundp, for sake of compiler.
8777
d6d236e2
GM
8778 * progmodes/cc-mode.el: Move load of cc-vars before that of
8779 cc-langs (which in turn loads cc-vars), to quieten compiler.
8780
9190b35b
SM
87812013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8782
8783 * paren.el: Simplify the code.
8784 (show-paren-mode): Always start the timer.
8785 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8786 (show-paren--overlay, show-paren--overlay-1): Rename from
8787 show-paren-overlay and show-paren-overlay-1, and initialize to an
8788 overlay rather than to nil.
8789 (show-paren-function): Misc cleanup and simplifications.
8790
4f8d1cf6
SM
87912013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * paren.el (show-paren-data-function): New hook.
8794 (show-paren--default): New function, extracted from show-paren-function.
8795 (show-paren-function): Use show-paren-data-function.
8796
02d844b5
GM
87972013-05-30 Glenn Morris <rgm@gnu.org>
8798
d209d4a9
GM
8799 * ielm.el (ielm-map, ielm-complete-symbol):
8800 Use completion-at-point rather than obsolete functions.
8801 (inferior-emacs-lisp-mode): Doc fix.
8802 Set completion-at-point-functions, rather than
8803 comint-dynamic-complete-functions.
8804
2082faa6
GM
8805 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8806 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8807 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8808
dd8620de
GM
8809 * image.el (image-animated-p): Tweak definition.
8810
ceca95b1
GM
8811 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8812 (rlogin-process-connection-type): Tweak default. Add set-after.
8813 (rlogin-host): Doc fix.
8814 (rlogin): Tweak prompt.
8815 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8816
ee9f1acc
GM
8817 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8818 * progmodes/tcl.el (inferior-tcl-mode-map):
8819 Use completion-at-point rather than obsolete alias.
8820
45ce222e
GM
8821 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8822
02d844b5
GM
8823 * minibuffer.el (read-file-name-completion-ignore-case):
8824 Move before completion--in-region, for eager macro expansion.
8825
ac44d6c1
JL
88262013-05-29 Juri Linkov <juri@jurta.org>
8827
8828 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8829 for total count of matching lines. Add `global-matches' for total
8830 count of matches. Rename `matches' to `lines' for count of
8831 matching lines. Add `matches' for count of matches.
8832 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8833 to `prev-line' for line number of prev match endpt.
8834 Increment `matches' for every match. Print the number of
8835 matching lines in the header.
8836 (occur-context-lines): Rename `lines' to `curr-line'.
8837 Rename `prev-lines' to `prev-line'. (Bug#14017)
8838
3c9c9d38
JL
88392013-05-29 Juri Linkov <juri@jurta.org>
8840
8841 * replace.el (perform-replace): Add `skip-read-only-count',
8842 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8843 Increment them for corresponding conditions and report the number
8844 of skipped occurrences in the final message. (Bug#11746)
8845 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8846 (replace-string, replace-regexp): Doc fix.
8847
33e249a2
SM
88482013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8e399682
SM
8850 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8851
33e249a2 8852 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8853 prog-mode-map (bug#14504).
33e249a2 8854
f236dd84
LL
88552013-05-29 Leo Liu <sdl.web@gmail.com>
8856
8857 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8858 (octave-help): Small simplification.
8859
8860 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8861 off the highlight first.
8862
3694d13f
GM
88632013-05-29 Glenn Morris <rgm@gnu.org>
8864
03983bdc
GM
8865 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8866 Handle idlwave-last-system-routine-info-cons-cell being nil.
8867
bc74a74a
GM
8868 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8869 (idlwave-write-paths): Simplify via with-temp-buffer.
8870
8b394200
GM
8871 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8872 * emulation/cua-rect.el: Also load cua-base at run time.
8873
3694d13f
GM
8874 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8875 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8876 (cperl-imenu-on-info): Require imenu.
8877
336d7284
AM
88782013-05-28 Alan Mackenzie <acm@muc.de>
8879
8880 Handle "capitalised keywords" correctly.
33e249a2 8881 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8882
cb29c582
AG
88832013-05-28 Aidan Gauland <aidalgol@amuri.net>
8884
781b4af6 8885 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8886
690e44b2
GM
88872013-05-28 Glenn Morris <rgm@gnu.org>
8888
e658d75c
GM
8889 * vc/vc-arch.el (vc-exec-after): Declare.
8890 (vc-switches): Autoload.
8891 * vc/vc-bzr.el: No need to require vc when compiling.
8892 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8893 (vc-resynch-buffer, vc-dir-refresh): Declare.
8894 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8895 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8896 (vc-resynch-buffer): Declare.
8897 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8898 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8899 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8900 (grep-read-regexp, grep-read-files, grep-expand-template)
8901 (vc-dir-refresh): Declare.
8902 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8903 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8904 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8905 * vc/vc-mtn.el (vc-exec-after): Declare.
8906 (vc-switches): Autoload.
8907 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8908 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8909 (vc-file-tree-walk): Declare.
712b9732
GM
8910 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8911 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8912 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8913 * vc/vc-svn.el (vc-exec-after): Declare.
8914 (vc-switches, vc-setup-buffer): Autoload.
8915 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8916 Autoload.
8917 (vc-resynch-buffer): Declare.
8918
98e87fb3
GM
8919 * obsolete/fast-lock.el (byte-compile-warnings):
8920 Don't warn about obsolete features in this obsolete file.
8921
f5379553
GM
8922 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8923 Move definition before use.
8924
7a20ef83
GM
8925 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8926 (dun-unix-verbs): Remove dun-zippy.
8927 (dun-zippy): Remove function.
8928
690e44b2
GM
8929 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8930
3a52ccf7
JL
89312013-05-27 Juri Linkov <juri@jurta.org>
8932
8933 * replace.el (replace-search): New function with code moved out
8934 from `perform-replace'.
8935 (replace-highlight, replace-dehighlight): Move function definitions
8936 up closer to `replace-search'. (Bug#11746)
8937
d289938a
JL
89382013-05-27 Juri Linkov <juri@jurta.org>
8939
8940 * replace.el (perform-replace): Ignore invisible matches.
8941 In addition to checking `query-replace-skip-read-only', also
8942 filter out matches by calling `run-hook-with-args-until-failure'
8943 on `isearch-filter-predicates', and also check `search-invisible'
8944 for t or call `isearch-range-invisible'.
8945 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8946
66fc57e3
JL
89472013-05-27 Juri Linkov <juri@jurta.org>
8948
8949 * isearch.el (isearch-filter-predicates): Rename from
8950 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8951 (isearch-message-prefix): Display text from the property
8952 `isearch-message-prefix' of the currently active filters.
8953 (isearch-search): Don't compare `isearch-filter-predicate' with
8954 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8955 on `isearch-filter-predicates'. Also check `search-invisible' for t
8956 or call `isearch-range-invisible'.
8957 (isearch-filter-visible): Make obsolete.
8958 (isearch-lazy-highlight-search):
8959 Call `run-hook-with-args-until-failure' on
8960 `isearch-filter-predicates' and use `isearch-range-invisible'.
8961
8962 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8963 `isearch-filter-predicates' instead of `funcall'ing
8964 `isearch-filter-predicate'.
8965 (Info-mode): Set `Info-isearch-filter' to
8966 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8967
8968 * dired-aux.el (dired-isearch-filter-predicate-orig):
8969 Remove variable.
8970 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8971 (dired-isearch-filenames-end): Add and remove
8972 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8973 instead of changing the value of `isearch-filter-predicate'.
8974 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8975 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8976 Put property `isearch-message-prefix' to "filename " on
8977 `dired-isearch-filter-filenames'.
8978
8979 * wdired.el (wdired-change-to-wdired-mode):
8980 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8981 locally instead of changing `isearch-filter-predicate'.
8982 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8983
f1a60a0f
DG
89842013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8985
8986 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8987 return the commit hash (Bug#14459). Also set the
8988 `vc-git-detached' property.
8989 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8990 (vc-git-mode-line-string): Use the same help-echo format whether
8991 in detached mode or not, because we know the actual revision now.
8992 When in detached mode, shorten the revision to 7 chars.
8993
7f17cc40
SM
89942013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8995
8996 * emacs-lisp/easy-mmode.el (define-minor-mode):
8997 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8998 mode hook and provide a docstring.
8999
25c8401c
AM
90002013-05-27 Alan Mackenzie <acm@muc.de>
9001
9002 Remove spurious syntax-table text properties inserted by C-y.
9003 * progmodes/cc-mode.el (c-after-change): Also clear hard
9004 syntax-table property with value nil.
9005
dde84790
MA
90062013-05-27 Michael Albinus <michael.albinus@gmx.de>
9007
9008 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9009 when reading the events; the buffer layout shall not be changed.
9010
837fd9af
LL
90112013-05-27 Leo Liu <sdl.web@gmail.com>
9012
9013 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9014 New variable.
9015 (inferior-octave-directory-tracker): Automatically re-sync
9016 default-directory.
9017 (octave-help): Improve handling of 'See also'.
9018
4fd996b3
SM
90192013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9020
416f1802
SM
9021 * doc-view.el: Minor naming convention tweaks.
9022 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9023
4fd996b3
SM
9024 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9025 even if there's no `display' property yet (bug#14435).
9026
a052ef3b
EZ
90272013-05-25 Eli Zaretskii <eliz@gnu.org>
9028
4fd996b3 9029 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9030
9031 * Makefile.in (custom-deps, finder-data, autoloads)
9032 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9033 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9034 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9035
c9023370
SM
90362013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9039 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9040 Don't burp at EOB.
c9023370 9041
24d699fa
LL
90422013-05-25 Leo Liu <sdl.web@gmail.com>
9043
9044 * comint.el (comint-previous-matching-input): Do not flood the
9045 *Messages* buffer with trivial messages.
9046
17e5c0cc
SM
90472013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * progmodes/flymake.el (flymake-nop): Don't return a string.
9050 (flymake-set-at): Fix typo.
9051
9052 * simple.el (read--expression): New function, extracted from
9053 eval-expression. Set completion-at-point-functions (bug#14465).
9054 (eval-expression, eval-minibuffer): Use it.
9055
5d028165
XF
90562013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9057
9058 * progmodes/flymake.el (flymake-save-buffer-in-file)
9059 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9060 (flymake-selected-frame, flymake-log, flymake-ins-after)
9061 (flymake-set-at, flymake-get-buildfile-from-cache)
9062 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9063 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9064 Refine the doc string.
9065 (flymake-get-file-name-mode-and-masks): Reformat.
9066 (flymake-get-real-file-name-function): Fix a minor bug.
9067
7a1d7ba7
JL
90682013-05-24 Juri Linkov <juri@jurta.org>
9069
9070 * progmodes/grep.el (grep-mode-font-lock-keywords):
9071 Support =linenumber= format used by git-grep for lines with
9072 function names. (Bug#13549)
9073
650cff3d
SM
90742013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9075
9076 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9077 0 after a semi-colon; it works better for smie-auto-fill.
9078 (octave--indent-new-comment-line): New function.
9079 (octave-indent-new-comment-line): Use it (indirectly).
9080 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9081 modify comment-line-break-function.
9082
9083 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9084 (smie-setup): Use add-function to set it.
9085
9631677d
SS
90862013-05-24 Sam Steingold <sds@gnu.org>
9087
9088 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9089 argument (before the `interactive' argument).
9090
50105835
SM
90912013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9092
9093 * image-mode.el (image-mode-winprops): Add winprops to
9094 image-mode-winprops-alist before running
9095 image-mode-new-window-functions.
9096 * doc-view.el (doc-view-new-window-function): Don't delay
9097 doc-view-goto-page via timers (bug#14435).
9098
57b9823e
TH
90992013-05-24 Tassilo Horn <tsdh@gnu.org>
9100
9101 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9102 (doc-view-desktop-save-buffer): New function.
9103 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9104 (desktop-buffer-mode-handlers):
9105 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9106 handler.
9107 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9108 `desktop-save-buffer' function.
9109
91aafa16
MA
91102013-05-24 Michael Albinus <michael.albinus@gmx.de>
9111
9112 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9113 (tramp-gvfs-file-name-handler): Raise a user error when
9114 `tramp-gvfs-enabled' is nil.
9115 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9116 Do not raise a user error when loading package. (Bug#14447)
9117
ec076379
MA
9118 * net/xesam.el: Move to obsolete/.
9119
db785726
GM
91202013-05-24 Glenn Morris <rgm@gnu.org>
9121
af5c7606
GM
9122 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9123
e5d1916a
GM
9124 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9125
ded62b08
GM
9126 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9127 (Info-find-node, Man-getpage-in-background): Declare.
9128
9e614a3f
GM
9129 * mail/unrmail.el (unrmail):
9130 Replace obsolete detect-coding-with-priority.
9131
892f8ca3
GM
9132 * net/socks.el (socks-split-string): Use this rather than split-string.
9133 (socks-nslookup-host): Update for above change.
9134 (dynamic-choice, s5-dynamic-choice-match)
9135 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9136 Comment out unused code.
9137
3c291973
GM
9138 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9139 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9140 (gud-tooltip-echo-area): Make obsolete.
9141 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9142
43cc956b
GM
9143 * progmodes/js.el (js--optimize-arglist): Declare.
9144
dab49a3b
GM
9145 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9146
36b9d085
GM
9147 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9148 (ediff-window-C): Declare.
9149
e354ae76
GM
9150 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9151 Tweak requires to silence compiler.
9152
b8e57bf4
GM
9153 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9154 (he-search-string, he-tried-table, he-expand-list)
9155 (he-init-string, he-string-member, he-substitute-string)
9156 (he-reset-string): Declare.
9157
db785726
GM
9158 * obsolete/options.el (list-options): Use custom-variable-p,
9159 rather than obsolete alias.
9160
b3531901
SS
91612013-05-23 Sam Steingold <sds@gnu.org>
9162
9163 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9164 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9165 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9166
bdda4c66
SM
91672013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * emacs-lisp/smie.el (smie-indent-forward-token)
9170 (smie-indent-backward-token): Handle string tokens (bug#14381).
9171
c43d45f9
TH
91722013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9173
fe1eb856
RS
9174 * ielm.el (ielm-menu): New menu.
9175 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9176
fe1eb856
RS
91772013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9178
9179 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9180 Fix deactivate action.
9181
9182 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9183 Add cleveref macros.
074dd971 9184
c43d45f9
TH
9185 * lisp/textmodes/reftex-parse.el
9186 (reftex-locate-bibliography-files): Accept options for
9187 bibliography commands.
9188 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9189 Add addbibresource. Basic Biblatex support.
9190
7764286e
MA
91912013-05-23 Michael Albinus <michael.albinus@gmx.de>
9192
9193 * net/tramp-gvfs.el (top):
9194 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9195 when loading package. (Bug#14447)
9196
d361bc10
GM
91972013-05-23 Glenn Morris <rgm@gnu.org>
9198
8fa23984
GM
9199 * progmodes/js.el: No need to load comint when compiling.
9200 (ring-insert, comint-send-string, comint-send-input)
9201 (comint-last-input-end, ido-chop): Declare.
9202
a5c7df1a
GM
9203 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9204 * vc/ediff-mult.el: Adjust requires.
9205 (ediff-directories-internal, ediff-directory-revisions-internal)
9206 (ediff-patch-file-internal): Declare.
9207 * vc/ediff-ptch.el: Adjust requires.
9208 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9209 (ediff-find-file): Autoload.
9210 * vc/ediff-util.el: No need to load ediff when compiling.
9211 (ediff-regions-internal): Declare.
9212 * vc/ediff-wind.el: Adjust requires.
9213 (ediff-compute-toolbar-width): Define when compiling.
9214 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9215 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9216 (dired-get-filename, dired-get-marked-files)
9217 (ediff-last-dir-patch, ediff-patch-default-directory)
9218 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9219 (ediff-patch-buffer-internal): Declare.
9220
e2aec513
GM
9221 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9222 (ispell-process, ispell-buffer-local-words, lm-summary)
9223 (lm-section-start, lm-section-end): Declare.
9224 (checkdoc-ispell-init): Simplify.
9225
e68bbd7c
GM
9226 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9227 (he-string-member, he-reset-string, he-substitute-string): Declare.
9228
7efe0991
GM
9229 * eshell/em-ls.el: Adjust requires.
9230 (eshell-glob-regexp): Declare.
f87b1284
GM
9231 * eshell/em-tramp.el: Adjust requires.
9232 (eshell-parse-command): Autoload.
9233 * eshell/em-xtra.el: Adjust requires.
9234 (eshell-parse-command): Autoload.
9235 * eshell/esh-ext.el: Adjust requires.
9236 (eshell-parse-command, eshell-close-handles): Autoload.
9237 * eshell/esh-io.el: Adjust requires.
9238 (eshell-output-filter): Autoload.
9239 * eshell/esh-util.el: No need to load tramp when compiling.
9240 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9241 Declare.
9242 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9243 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9244 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9245 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9246 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9247 * eshell/esh-opt.el, eshell/esh-proc.el:
9248 * eshell/esh-var.el: Adjust requires.
9249 * eshell/eshell.el: Do not require esh-util twice.
9250 (eshell-add-input-to-history): Declare.
9251 (eshell-command): Check history module is active before using it.
9252
d361bc10
GM
9253 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9254
85d090a9
LL
92552013-05-22 Leo Liu <sdl.web@gmail.com>
9256
9257 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9258
5d0acd9d
MA
92592013-05-22 Michael Albinus <michael.albinus@gmx.de>
9260
9261 * autorevert.el (auto-revert-notify-add-watch)
9262 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9263 it indicates changes in file modification time.
9264
0cdffd7d
GM
92652013-05-22 Glenn Morris <rgm@gnu.org>
9266
ca5995ec
GM
9267 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9268 Always delete the autoloaded function from the noruntime and
9269 unresolved functions lists.
9270
6450907e
GM
9271 * allout.el: No need to load epa, epg, overlay when compiling.
9272 (epg-context-set-passphrase-callback, epg-list-keys)
9273 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9274 (epg-key-user-id-list): Declare.
9275
9c6906f6
GM
9276 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9277 (viper-set-parsing-style-toggling-macro)
9278 (viper-set-emacs-state-searchstyle-macros):
9279 Use called-interactively-p on Emacs.
9280 (viper-looking-back): Make it an obsolete alias. Update callers.
9281 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9282 Use looking-back rather than viper-looking-back.
9283 (viper-tmp-insert-at-eob, viper-enlarge-region)
9284 (viper-read-string-with-history, viper-register-to-point)
9285 (viper-append-to-register, viper-change-state-to-vi)
9286 (viper-backward-char-carefully, viper-forward-char-carefully)
9287 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9288 (viper-change-state-to-emacs): Declare.
9289 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9290 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9291 * emulation/viper-mous.el: Do not load viper-cmd.
9292 (viper-backward-char-carefully, viper-forward-char-carefully)
9293 (viper-forward-word, viper-adjust-window): Declare.
9294
5f70c169
GM
9295 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9296
b1b7f300
GM
9297 * progmodes/idlw-help.el (idlwave-help-fontify):
9298 Use called-interactively-p.
9299
f6ebbb46
GM
9300 * term/w32console.el (w32-get-console-codepage)
9301 (w32-get-console-output-codepage): Declare.
9302
0cdffd7d
GM
9303 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9304 Remove unnecessary declarations.
9305 (dframe-message): Doc fix.
9306
9307 * info.el (dframe-select-attached-frame, dframe-current-frame):
9308 Declare.
9309
9310 * speedbar.el (speedbar-message): Make it an obsolete alias.
9311 Update all callers.
9312 (speedbar-with-attached-buffer)
9313 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9314 (speedbar-with-writable): Use backquote.
9315 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9316 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9317 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9318 rather than speedbar- aliases.
9319 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9320 (speedbar-make-specialized-keymap, speedbar-insert-button)
9321 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9322 (speedbar-do-function-pointer): Declare.
9323 (rmail-speedbar-button, rmail-speedbar-find-file)
9324 (rmail-speedbar-move-message):
9325 Use dframe-with-attached-buffer rather than speedbar- alias.
9326 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9327 (dframe-message, speedbar-make-specialized-keymap)
9328 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9329 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9330 (speedbar-insert-button, dframe-select-attached-frame)
9331 (dframe-maybee-jump-to-attached-frame)
9332 (speedbar-change-initial-expansion-list)
9333 (speedbar-previously-used-expansion-list-name): Declare.
9334 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9335 Use dframe-message, dframe-with-attached-buffer rather than
9336 speedbar- aliases.
9337 (gud-sentinel): Silence compiler.
9338 * progmodes/vhdl-mode.el (speedbar-refresh)
9339 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9340 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9341 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9342 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9343 (speedbar-file-lists, speedbar-make-tag-line)
9344 (speedbar-line-directory, speedbar-goto-this-file)
9345 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9346 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9347 (speedbar-make-button, speedbar-reset-scanners)
9348 (speedbar-files-item-info, speedbar-line-text)
9349 (speedbar-find-file-in-frame, speedbar-set-timer)
9350 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9351 (speedbar-with-writable): Do not (re)define it.
9352 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9353 rather than speedbar- alias.
9354
ee44b62a
LL
93552013-05-21 Leo Liu <sdl.web@gmail.com>
9356
9357 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9358 menu items.
9359 (octave-mode): Tweak fill-nobreak-predicate.
9360 (inferior-octave-startup): Check process to avoid infinite loop.
9361 (inferior-octave): Pop to buffer first to show abornmal process
9362 exit information.
9363
640f050f
GM
93642013-05-21 Glenn Morris <rgm@gnu.org>
9365
79458038
GM
9366 * printing.el (pr-menu-bar): Define when compiling.
9367
9cc3e83f
LL
93682013-05-21 Leo Liu <sdl.web@gmail.com>
9369
9370 * progmodes/octave.el (octave-auto-fill): Remove.
9371 (octave-indent-new-comment-line): Improve.
9372 (octave-mode): Use auto fill mode through
4f405069 9373 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9374 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9375 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9376 (octave-help): Show parent directory.
9377
f440830d
GM
93782013-05-21 Glenn Morris <rgm@gnu.org>
9379
9380 * files.el (dired-unmark):
9381 * progmodes/gud.el (gdb-input): Update declarations.
9382
9383 * calculator.el (electric, ehelp): No need to load when compiling.
9384 (Electric-command-loop, electric-describe-mode): Declare.
9385
9386 * doc-view.el (doc-view-current-converter-processes): Move before use.
9387
9388 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9389 Move MODE-set-explicitly definition before use.
9390
9391 * international/mule-diag.el (mule-diag):
9392 Don't use obsolete window-system-version.
9393
9394 * mail/feedmail.el (smtpmail): No need to load when compiling.
9395 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9396
9397 * mail/mail-utils.el (rfc822): No need to load when compiling.
9398 (rfc822-addresses): Autoload it.
9399 (mail-strip-quoted-names): Trivial simplification.
9400
9401 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9402 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9403
9404 * net/snmp-mode.el (tempo): Don't duplicate requires.
9405
9406 * progmodes/prolog.el (info): No need to load when compiling.
9407 (comint): Require before shell requires it.
9408 (Info-goto-node): Autoload it.
9409 (Info-follow-nearest-node): Declare.
9410 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9411
9412 * textmodes/artist.el (picture-mode-exit): Declare.
9413
9414 * textmodes/reftex-parse.el (reftex-parse-from-file):
9415 Trivial rewrite so the compiler can parse it better.
9416
b4da2cbb
LL
94172013-05-20 Leo Liu <sdl.web@gmail.com>
9418
9419 * progmodes/octave.el (octave-help-mode-map)
9420 (octave-help-mode-finish-hook): New variables.
9421 (octave-help-mode, octave-help-mode-finish): New functions.
9422 (octave-help): Use octave-help-mode.
9423
33c0f65b
GM
94242013-05-20 Glenn Morris <rgm@gnu.org>
9425
9426 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9427
1a0a0a8a
DG
94282013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9429
9430 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9431 start at point, so that expansion starting right after opening
9432 slash in a regexp is recognized.
9433 (ruby-syntax-before-regexp-re): New defvar, extracted from
9434 ruby-syntax-propertize-function. Since the value of this regexp
9435 is looked up at runtime now, we should be able to turn
9436 `ruby-syntax-methods-before-regexp' into a defcustom later.
9437 (ruby-syntax-propertize-function): Split regexp matching into two
9438 parts, for opening and closing slashes. That allows us to skip
9439 over string interpolations and support multiline regexps.
9440 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9441 for them, which calls `ruby-syntax-propertize-expansion'.
9442 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9443 call to `ruby-syntax-propertize-function'.
9444 (ruby-syntax-propertize-expansion): Extracted from
9445 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9446 (ruby-syntax-propertize-percent-literal): Leave point right after
9447 the percent symbol, so that the expression expansion rule can
9448 propertize the contents.
462388b6
DG
9449 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9450 heredoc openers.
9451 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9452
c1a6c0a4
JL
94532013-05-18 Juri Linkov <juri@jurta.org>
9454
9455 * man.el (Man-default-man-entry): Remove `-' from the end
9456 of the default value. (Bug#14400)
9457
8051fccd
GM
94582013-05-18 Glenn Morris <rgm@gnu.org>
9459
9460 * comint.el (comint-password-prompt-regexp):
9461 Allow "password for XXX" where XXX contains colons (eg https://...).
9462
5e80b74f
LL
94632013-05-18 Leo Liu <sdl.web@gmail.com>
9464
9465 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9466 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9467 (octave-source-directories): Don't check process.
9468 (octave-source-directories, octave-find-definition): Doc fix.
9469
521a54c5
GM
94702013-05-18 Glenn Morris <rgm@gnu.org>
9471
86a94b05
GM
9472 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9473 Remove backspace/delete bindings. (Bug#14392)
9474
521a54c5
GM
9475 * cus-dep.el (custom-make-dependencies): Sort the output.
9476 (custom-versions-load-alist): Convert comment to doc.
9477
42caeb89
LL
94782013-05-17 Leo Liu <sdl.web@gmail.com>
9479
9480 * newcomment.el (comment-search-backward): Stricter in finding
9481 comment start. (Bug#14303)
9482
9483 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9484 (octave-comment-start-skip): Properly anchored.
9485
e219dd97
LL
94862013-05-17 Leo Liu <sdl.web@gmail.com>
9487
fe1eb856
RS
9488 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9489 Clean up when turned off. (Bug#14395)
e219dd97
LL
9490 (smie--highlight-matching-block-overlay): No longer buffer-local.
9491 (smie-highlight-matching-block): Adjust.
9492
dc5dcb4b
PE
94932013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9494
9495 Doc string fix for "nanoseconds" (Bug#14406).
9496 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9497 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9498
1db165f0
JB
94992013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9500
9501 * calc/calc-units.el (math-extract-units): Preserve powers
9502 of units.
9503
c7a8fcac
LL
95042013-05-17 Leo Liu <sdl.web@gmail.com>
9505
9506 * subr.el (delete-consecutive-dups): New function.
9507 * ido.el (ido-set-matches-1): Use it.
9508 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9509 * ido.el (ido-remove-consecutive-dups): Remove.
9510
f678b18a
SM
95112013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9514 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9515 regexp-opt's `words'.
9516
ebfe68e8
LL
95172013-05-16 Leo Liu <sdl.web@gmail.com>
9518
9519 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9520 (smie--highlight-matching-block-overlay)
9521 (smie--highlight-matching-block-lastpos)
9522 (smie--highlight-matching-block-timer): New variables.
9523 (smie-highlight-matching-block): New function.
9524 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9525 (smie-setup): Conditionally enable smie-blink-matching-open.
9526
bc8bc17d
WS
95272013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9528
9529 Sync with upstream verilog-mode r840.
9530 * progmodes/verilog-mode.el (verilog-mode-version)
9531 (verilog-mode-release-date): Update.
9532 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9533 (verilog-sig-tieoff): Fix string error on
9534 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9535 (verilog-read-decls): Fix parameters confusing
9536 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9537
df065a0b
EZ
95382013-05-16 Eli Zaretskii <eliz@gnu.org>
9539
9540 * subr.el (reveal-filename): New function.
9541
9542 * loadup.el: Compute Emacs executable versions on MS-Windows,
9543 where executables have the .exe extension. Add a hard link
9544 emacs-XX.YY.ZZ.exe on MS-Windows.
9545
9546 * Makefile.in (XARGS_LIMIT): New variable.
9547 (custom-deps, finder-data, autoloads)
9548 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9549 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9550 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9551 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9552
2d4bf34b
LL
95532013-05-16 Leo Liu <sdl.web@gmail.com>
9554
9555 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9556 (octave-mode-menu, octave-mode-map): Remove its uses.
9557
6b9c2d85
RZ
95582013-05-16 Reto Zimmermann <reto@gnu.org>
9559
9560 Sync with upstream vhdl mode v3.34.2.
9561 * progmodes/vhdl-mode.el: Use `push' throughout.
9562 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9563 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9564 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9565 (vhdl-actual-generic-name): New option to derive actual generic name.
9566 (vhdl-port-paste-signals): Replace formal by actual generics.
9567 (vhdl-beautify): New name for old group vhdl-align. Update users.
9568 (vhdl-beautify-options): New option.
9569 (vhdl-last-input-event): New compat alias. Use throughout.
9570 (vhdl-goto-line): Replace user level function `goto-line'.
9571 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9572 vhdl-fix-statement-buffer.
9573 (vhdl-create-mode-menu): Add some entries.
9574 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9575 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9576 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9577 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9578 to force statements on one line.
9579 (vhdl-remove-trailing-spaces-region):
9580 New, split from vhdl-remove-trailing-spaces.
9581 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9582 Respect vhdl-beautify-options.
9583 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9584 (vhdl-update-sensitivity-list): Not add with index if exists without.
9585 Not include array index with signal. Ignore keywords in comments.
9586 (vhdl-get-visible-signals): Regexp tweaks.
9587 (vhdl-template-component-inst): Handle empty library.
9588 (vhdl-template-type): Add template for 'enum' type.
9589 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9590 Use vhdl-replace-string.
9591 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9592 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9593 (vhdl-speedbar-initialize): Update for above name change.
9594 (vhdl-compose-wire-components): Fix in handling of constants.
9595 (vhdl-error-regexp-emacs-alist): New variable.
9596 (vhdl-error-regexp-add-emacs): New function;
9597 adds support for new compile.el (Emacs 22+)
9598 (vhdl-generate-makefile-1): Change target order for single lib. units.
9599 Allow use of absolute file names.
9600
9df4ec5e
LL
96012013-05-16 Leo Liu <sdl.web@gmail.com>
9602
9603 * simple.el (prog-indent-sexp): Indent enclosing defun.
9604
f5ba00a6
GM
96052013-05-15 Glenn Morris <rgm@gnu.org>
9606
ed8be7ff
GM
9607 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9608 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9609 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9610 (whitespace-highlight): Move to whitespace group.
9611
9612 * comint.el (comint-source):
9613 * pcmpl-linux.el (pcmpl-linux):
9614 * shell.el (shell-faces):
9615 * eshell/esh-opt.el (eshell-opt):
9616 * international/ccl.el (ccl): Remove empty custom groups.
9617
9618 * completion.el (dynamic-completion-mode):
9619 * jit-lock.el (jit-lock-debug-mode):
9620 * minibuffer.el (completion-in-region-mode):
9621 * type-break.el (type-break-mode-line-message-mode)
9622 (type-break-query-mode):
9623 * emulation/tpu-edt.el (tpu-edt-mode):
9624 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9625 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9626 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9627
9628 * term/xterm.el (xterm): Change parent group to terminals.
9629
9630 * master.el (master): Remove empty custom group.
9631 (master-mode): Remove unused :group argument.
9632 * textmodes/refill.el (refill): Remove empty custom group.
9633 (refill-mode): Remove unused :group argument.
9634
9635 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9636
82a7c41b
GM
9637 * cus-dep.el: Provide a feature.
9638 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9639 Don't mistakenly ignore files whose basenames match a basename
9640 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9641 Add a fallback method for getting :group.
f5ba00a6 9642
6d65486d
JL
96432013-05-15 Juri Linkov <juri@jurta.org>
9644
da547b32
JL
9645 * isearch.el (isearch-char-by-name): Rename from
9646 `isearch-insert-char-by-name'. Doc fix.
9647 (isearch-forward): Mention `isearch-char-by-name' in
9648 the docstring. (Bug#13348)
9649
6d65486d
JL
9650 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9651 `exit-minibuffer' instead of
9652 `isearch-nonincremental-exit-minibuffer'.
9653 (isearch-edit-string): Remove mention of
9654 `isearch-nonincremental-exit-minibuffer' from docstring.
9655 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9656 (isearch-forward-exit-minibuffer)
9657 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9658
c9990474
SM
96592013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9660
6e911150
SM
9661 * loadup.el: Just use unversioned DOC.
9662
c9990474
SM
9663 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9664 literals as extending to EOB.
9665 (nxml-last-fontify-end): Remove unused variable.
9666 (nxml-after-change1): Use with-silent-modifications.
9667 (nxml-extend-after-change-region): Simplify.
9668 (nxml-extend-after-change-region1): Remove function.
9669 (nxml-after-change1): Don't adjust for dependent regions.
9670 (nxml-fontify-matcher): Simplify.
9671 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9672 (xmltok-add-dependent): Remove function.
9673 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9674 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9675 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9676 unclosed <[[, <?, comment, and other literals as extending to EOB.
9677 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9678 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9679 Remove functions.
9680 (rng-do-some-validation-1): Don't mark dependent regions.
9681 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9682 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9683 (nxml-clear-dependent-regions): Remove functions.
9684 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9685 (nxml-ensure-scan-up-to-date):
9686 Don't clear&mark dependent regions.
9687
e3772e98
LL
96882013-05-15 Leo Liu <sdl.web@gmail.com>
9689
c9990474
SM
9690 * progmodes/octave.el (octave-goto-function-definition):
9691 Improve and fix callers.
e3772e98 9692
5ac2eb34
SM
96932013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9694
c46c57b0
SM
9695 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9696 the setter (bug#14387).
9697
5ac2eb34
SM
9698 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9699 surrounding group (bug#14402).
9700
180ed218
JL
97012013-05-14 Juri Linkov <juri@jurta.org>
9702
9703 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9704 (Bug#14390)
9705
0ac0fecb
GM
97062013-05-14 Glenn Morris <rgm@gnu.org>
9707
9708 * progmodes/f90.el (f90-imenu-generic-expression):
9709 Fix typo in 2013-05-08 change. (Bug#14402)
9710
2e78e6a7
JPG
97112013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9712
5ac2eb34
SM
9713 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9714 Remove signals for which replies are never received.
2e78e6a7 9715
53267cca
JPG
97162013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9717
9718 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9719 (gdb-handler-alist, gdb-handler-number): Remove variables.
9720 (gdb-handler-list): New variable.
9721 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9722 (gdb-pending-handler-p, gdb-handle-reply)
9723 (gdb-remove-all-pending-triggers): New functions.
9724 (gdb-discard-unordered-replies): New defcustom.
9725 (gdb-handler): New defstruct.
9726 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9727 instead of gdb-pending-triggers. Update docstring.
9728 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9729 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9730 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9731 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9732 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9733 (gdb-frame-handler): Pending triggers are now automatically managed.
9734 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9735 Remove argument.
9736 (gdb-input): Automatically handles pending triggers. Update docstring.
9737 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9738 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9739 Update comments.
9740 (gdb-done-or-error): Now use gdb-handle-reply.
9741
d04ce803
JPG
97422013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9743
9744 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9745 gdb-debug-log.
9746
0114073a
GM
97472013-05-14 Glenn Morris <rgm@gnu.org>
9748
9749 * subr.el (user-emacs-directory-warning): New option.
9750 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9751
4d25fd7e
LL
97522013-05-14 Leo Liu <sdl.web@gmail.com>
9753
9754 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9755 during redisplay.
9756 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9757 (octave-font-lock-texinfo-comment): Fix invalid search bound
9758 error: wrong side of point.
4d25fd7e 9759
27c8b6eb
GM
97602013-05-14 Glenn Morris <rgm@gnu.org>
9761
61aaeb01
GM
9762 * progmodes/flymake.el (flymake-xml-program): New option.
9763 (flymake-xml-init): Use it.
9764
5bf90bc5
GM
9765 * term/xterm.el: Provide a feature.
9766
9767 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9768
f4c7dfd2
GM
97692013-05-13 Glenn Morris <rgm@gnu.org>
9770
9771 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9772 Add compat aliases as a hack workaround. (Bug#14384)
9773
2aeb3a1d
LL
97742013-05-13 Leo Liu <sdl.web@gmail.com>
9775
b0e069c2
LL
9776 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9777 ###, and %!.
f5a9432f
LL
9778 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9779 C-M-q.
b0e069c2
LL
9780 (octave-comment-start-skip): Include %!.
9781 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9782
30ea8374
LL
97832013-05-12 Leo Liu <sdl.web@gmail.com>
9784
9785 * progmodes/octave.el (inferior-octave-startup): Store the value
9786 of __octave_srcdir__ for octave-source-directories.
9787 (inferior-octave-check-process): New function refactored out of
9788 inferior-octave-send-list-and-digest.
9789 (octave-source-directories)
9790 (octave-find-definition-filename-function): New variables.
9791 (octave-source-directories)
9792 (octave-find-definition-default-filename): New functions.
9793 (octave-find-definition): Improve to find functions implemented in C++.
9794
472a3834
GM
97952013-05-12 Glenn Morris <rgm@gnu.org>
9796
9797 * calendar/diary-lib.el (diary-outlook-format-1):
9798 Don't include dayname in the output. (Bug#14349)
9799
3191b52f
GM
98002013-05-11 Glenn Morris <rgm@gnu.org>
9801
0060ac73
GM
9802 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9803
3191b52f
GM
9804 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9805 Treat cc-provide like provide.
9806
e065ba74
KR
98072013-05-11 Kevin Ryde <user42@zip.com.au>
9808
9809 * cus-dep.el (custom-make-dependencies):
9810 Use generated-autoload-load-name for the sake of files such
9811 such cedet/semantic/bovine/c.el, where the base file name
9812 is not in load-path. (Bug#5277)
9813
36f84c37
GM
98142013-05-11 Glenn Morris <rgm@gnu.org>
9815
9816 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9817 Provide features.
9818
c8730c3a
LL
98192013-05-11 Leo Liu <sdl.web@gmail.com>
9820
9821 * progmodes/octave.el (octave-indent-comment): Improve.
9822 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9823 (octave-eldoc-function-signatures, octave-eldoc-function):
9824 New functions.
c8730c3a
LL
9825 (octave-mode, inferior-octave-mode): Add eldoc support.
9826
212e29f2
RS
98272013-05-11 Richard Stallman <rms@gnu.org>
9828
9829 * epa.el (epa-decrypt-file): Take output file name as argument
9830 and read it using `interactive'.
9831
083fe0d7
LL
98322013-05-11 Leo Liu <sdl.web@gmail.com>
9833
9834 * progmodes/octave.el (octave-beginning-of-line)
9835 (octave-end-of-line): Check before using up-list because it jumps
9836 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9837 (octave-indent-comment): New function.
9838 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9839 (octave-begin-keywords, octave-end-keywords)
9840 (octave-reserved-words, octave-smie-bnf-table)
9841 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9842
8582e4c4
GM
98432013-05-11 Glenn Morris <rgm@gnu.org>
9844
f20def1f
GM
9845 * faces.el (internal-face-x-get-resource):
9846 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9847 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9848 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9849 Fix declarations.
f20def1f 9850
445f95e2
GM
9851 * calc/calc-menu.el: Make it loadable in isolation.
9852
9853 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9854 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9855 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9856 (eudc-bbdb-query-internal): Require 'bbdb.
9857
99fb2756
GM
9858 * lpr.el (lpr-headers-switches):
9859 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9860
9861 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9862
0da7ad96
GM
9863 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9864
8582e4c4
GM
9865 * term.el (term-set-escape-char): Make it idempotent.
9866
f71c50d0
LL
98672013-05-10 Leo Liu <sdl.web@gmail.com>
9868
5ac2eb34
SM
9869 * progmodes/octave.el (inferior-octave-completion-table):
9870 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9871 completion due to bug#11906.
9872 (octave-beginning-of-defun): Re-write to be more general.
9873
d5837773
GM
98742013-05-10 Glenn Morris <rgm@gnu.org>
9875
9876 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9877
027c0f75
SM
98782013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * comint.el (comint-redirect-send-command-to-process): Use :around
9881 rather than :override for comint-redirect-filter.
9882 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9883 Call it instead of comint-redirect-original-filter-function (which
9884 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9885
4465bfb4
JD
98862013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9887
9888 * frame.el (display-monitor-attributes-list): Add NS case.
9889 (ns-display-monitor-attributes-list): Declare.
9890
2d809ffa 98912013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9892
9893 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9894
e54eeb9b
GM
98952013-05-09 Glenn Morris <rgm@gnu.org>
9896
56cd351d
GM
9897 * international/fontset.el (vertical-centering-font-regexp):
9898 Set standard-value.
9899
d84b6108
GM
9900 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9901
a931698a
GM
9902 * bookmark.el (bookmark-search-delay):
9903 * cus-start.el (vertical-centering-font-regexp):
9904 * ps-mule.el (ps-mule-font-info-database-default):
9905 * ps-print.el (ps-default-fg, ps-default-bg):
9906 * type-break.el (type-break-good-break-interval):
9907 * whitespace.el (whitespace-indentation-regexp)
9908 (whitespace-space-after-tab-regexp):
9909 * emacs-lisp/testcover.el (testcover-1value-functions)
9910 (testcover-noreturn-functions, testcover-progn-functions)
9911 (testcover-prog1-functions):
9912 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9913 * eshell/em-glob.el (eshell-glob-translate-alist):
9914 * play/tetris.el (tetris-tty-colors):
9915 * progmodes/cpp.el (cpp-face-default-list):
9916 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9917 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9918 (idlwave-help-browser-generic-args):
9919 * progmodes/make-mode.el (makefile-special-targets-list):
9920 * progmodes/python.el (python-shell-virtualenv-path):
9921 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9922 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9923 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9924 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9925 * textmodes/reftex-vars.el (reftex-format-label-function):
9926 * textmodes/remember.el (remember-diary-file): Fix custom types.
9927
e54eeb9b
GM
9928 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9929 Add :version.
9930
455851dd
LL
99312013-05-09 Leo Liu <sdl.web@gmail.com>
9932
9933 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9934 Restore file completion. (Bug#14300)
455851dd
LL
9935 (inferior-octave-startup): Fix incorrect highlighting for the
9936 first prompt.
9937
a9e4425b
SM
99382013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9939
9940 * progmodes/ruby-mode.el: First cut at SMIE support.
9941 (ruby-use-smie): New var.
9942 (ruby-smie-grammar): New constant.
9943 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9944 (ruby-smie--forward-token, ruby-smie--backward-token)
9945 (ruby-smie-rules): New functions.
9946 (ruby-mode-variables): Setup SMIE if applicable.
9947
060ca408
EZ
99482013-05-08 Eli Zaretskii <eliz@gnu.org>
9949
9950 * simple.el (line-move-visual): Signal beginning/end of buffer
9951 only if vertical-motion moved less than it was requested. Avoids
9952 silly incorrect error messages when there are display strings with
9953 multiple newlines at EOL.
9954
1d5963cc
SM
99552013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9958 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9959 (prolog-char-quote-workaround):
9960 * progmodes/cperl-mode.el (cperl-under-as-char):
9961 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9962 Mark as obsolete.
9963 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9964 their declaration.
9965 (vhdl-mode-syntax-table-init): Remove.
9966
c9990474
SM
9967 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9968 last change.
1d5963cc
SM
9969
9970 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9971 syntax for "_".
9972 (ld-script-font-lock-keywords):
9973 Change regexps to use things like \_< and \_>.
9974
9975 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9976 Change all regexps to use things like \_< and \_>.
9977
9978 * progmodes/autoconf.el (autoconf-definition-regexp)
9979 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9980 Handle a _ with symbol syntax.
9981 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9982
c9990474
SM
9983 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9984 Consolidate declaration.
1d5963cc
SM
9985 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9986 the declaration.
9987 (ada-create-syntax-table): Remove.
9988 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9989 already has the right syntax nowadays.
9990 (ada-goto-next-word): Don't change the syntax of "_".
9991
9992 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9993 with-wrapper-hook.
9994
72d3cfca
SS
99952013-05-08 Sam Steingold <sds@gnu.org>
9996
9997 * thingatpt.el (thing-at-point): Accept optional second argument
9998 NO-PROPERTIES to strip the text properties from the return value.
9999 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10000 to `thing-at-point' instead of stripping the properties ourselves.
10001 Also, when `thing-at-point' fails to find a url, prepend "http://"
10002 to the filename at point on the assumption that the user is
10003 pointing at something like gnu.org/gnu.
10004
5cb15713
JB
100052013-05-08 Juanma Barranquero <lekktu@gmail.com>
10006
10007 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10008 * faces.el (crm-separator):
10009 Silence byte-compiler.
10010
10011 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10012 (tool-bar-map): Remove unneeded defvars.
10013
ea78b95b
LL
100142013-05-08 Leo Liu <sdl.web@gmail.com>
10015
10016 Re-work a fix for bug#10994 based on Le Wang's patch.
10017 * ido.el (ido-remove-consecutive-dups): New helper.
10018 (ido-completing-read): Use it.
10019 (ido-chop): Revert fix for bug#10994.
10020
dc7466df
AS
100212013-05-08 Adam Spiers <emacs@adamspiers.org>
10022
10023 * cus-edit.el (custom-save-variables):
10024 Pretty-print long values. (Bug#14187)
10025
9ecf672a
GM
100262013-05-08 Glenn Morris <rgm@gnu.org>
10027
10028 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10029 (m4-mode-syntax-table): Init in the defvar.
10030 (m4-mode-abbrev-table): Let define-derived-mode define it.
10031
3f555be8
TT
100322013-05-08 Tom Tromey <tromey@redhat.com>
10033
10034 * progmodes/m4-mode.el (m4-mode-syntax-table):
10035 Do not treat "_" as word constituent. (Bug#14167)
10036
7cc8ae06
GM
100372013-05-07 Glenn Morris <rgm@gnu.org>
10038
4f58bc06
GM
10039 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10040 Remove explicit eshell-isearch-cancel-map.
10041
7cc8ae06
GM
10042 * progmodes/f90.el (f90-smart-end-names): New option.
10043 (f90-smart-end): Doc fix.
10044 (f90-end-block-optional-name): New constant.
10045 (f90-block-match): Respect f90-smart-end-names.
10046
ceb57e59
SM
100472013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10048
10049 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10050 about implicit semi-colons (bug#14218).
10051
4e3f9230
YM
100522013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10053
10054 * frame.el (display-monitor-attributes-list)
10055 (frame-monitor-attributes): New functions.
10056
203a5572
LL
100572013-05-06 Leo Liu <sdl.web@gmail.com>
10058
10059 * progmodes/octave.el (octave-syntax-propertize-function): Change
10060 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10061 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10062 (octave-completion-at-point): Rename from
203a5572
LL
10063 octave-completion-at-point-function.
10064 (inferior-octave-directory-tracker): Robustify.
10065 (octave-text-functions): Remove and fix its uses. No such things
10066 any more.
10067
ee6cff99
SM
100682013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10069
10070 * emacs-lisp/trace.el (trace--display-buffer): New function.
10071 (trace-make-advice): Use it.
10072
32985194
JL
100732013-05-06 Juri Linkov <juri@jurta.org>
10074
10075 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10076 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10077 Doc fix.
10078 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10079 in the help string. (Bug#12985)
10080
a1c700de
KD
100812013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10082
10083 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10084
c67c0839
SM
100852013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10086
323885fd
SM
10087 * progmodes/perl-mode.el: Add support for here documents.
10088 (perl-syntax-propertize-function): Match here-doc markers.
10089 (perl-syntax-propertize-special-constructs): Find their end.
10090 (perl-imenu-generic-expression): Use [:alnum:].
10091
c67c0839
SM
10092 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10093 (advice--add-function): Refresh the advice if already present
10094 (bug#14317).
10095
d491e7a8
IA
100962013-05-06 Ivan Andrus <darthandrus@gmail.com>
10097
10098 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10099
ddf9925e
GM
101002013-05-06 Glenn Morris <rgm@gnu.org>
10101
7cc3af27
GM
10102 * w32-fns.el (w32-charset-info-alist): Declare.
10103
16e343d6
GM
10104 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10105 of its defcustom properties.
10106 (eshell-cmpl-initialize): No need to load pcomplete.
10107
7d889a47
GM
10108 * generic-x.el: No need to require comint when compiling.
10109
ddf9925e
GM
10110 * net/eudc-export.el: Make it loadable without bbdb.
10111 (top-level): Use require rather than load-library.
10112 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10113 (eudc-batch-export-records-to-bbdb)
10114 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10115 Require bbdb.
10116
1e2c18df
SM
101172013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10120 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10121 some tweaks, instead.
10122
02502a5f
LL
101232013-05-05 Leo Liu <sdl.web@gmail.com>
10124
10125 * progmodes/octave.el (octave-font-lock-keywords)
10126 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10127 (inferior-octave-send-list-and-digest): Improve error message.
10128 (octave-mode, inferior-octave-mode): Use setq-local.
10129 (octave-help): Set info-lookup-mode.
10130
0dc04f42
RS
101312013-05-05 Richard Stallman <rms@gnu.org>
10132
6c54491c
RS
10133 * vc/compare-w.el (compare-windows-whitespace):
10134 Treat no-break space as whitespace.
10135
0dc04f42
RS
10136 * mail/rmailsum.el (rmail-summary-rmail-update):
10137 Detect empty summary and don't change selected message.
10138 (rmail-summary-goto-msg): Likewise.
10139
df8f35df
RS
10140 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10141 Doc fixes, rename args.
10142
5356e1a3
AM
101432013-05-05 Alan Mackenzie <acm@muc.de>
10144
10145 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10146
d44014cb
JL
101472013-05-05 Juri Linkov <juri@jurta.org>
10148
10149 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10150 to not add the length of the summary segment to the return value.
10151 (Bug#14125)
10152
c129b51f
LL
101532013-05-05 Leo Liu <sdl.web@gmail.com>
10154
10155 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10156 (inferior-octave-output-filter): Remove.
10157 (octave-send-region, inferior-octave-startup): Fix callers.
10158 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10159 (octave-binary-file-extensions): New user variable.
10160 (octave-find-definition): Confirm if opening binary files.
10161 (octave-help-file): Use octave-find-definition to get the binary
10162 confirmation.
10163 (octave-help): Adjust for octave-help-file change.
10164
aa7dab97
SM
101652013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10166
10167 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10168 Merge the two entries that handle function definitions.
10169 (pascal--syntax-propertize): New const.
10170 (pascal-mode): Use it. Use setq-local.
10171
fd3a9a6b
GM
101722013-05-04 Glenn Morris <rgm@gnu.org>
10173
10174 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10175 (diary-from-outlook): Respect diary-from-outlook-function.
10176
30c7e542
SM
101772013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10180 Move the declaration from C.
10181 (read-minibuffer, eval-minibuffer): Move from C.
10182 (completion-setup-function): Avoid minibuffer-completion-contents.
10183
b54f978b
LL
101842013-05-03 Leo Liu <sdl.web@gmail.com>
10185
10186 * progmodes/octave.el (octave-font-lock-keywords): Do not
10187 dehighlight 'end' in comments or strings.
30c7e542
SM
10188 (octave-completing-read, octave-goto-function-definition):
10189 New helpers.
d4d0f9b3
LL
10190 (octave-help-buffer): New user variable.
10191 (octave-help-file, octave-help-function): New button types.
10192 (octave-help): New command and bind it to C-h ;.
10193 (octave-find-definition): New command and bind it to M-.
d74a1581 10194 (user-error): Alias to error if not defined.
b54f978b 10195
27135018
LL
101962013-05-02 Leo Liu <sdl.web@gmail.com>
10197
10198 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10199 for \. (bug#14332)
10200 (octave-font-lock-keywords): Include [ and {.
10201
0d634d3a
LL
102022013-05-02 Leo Liu <sdl.web@gmail.com>
10203
10204 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10205 (inferior-octave): Remove calling comint-mode and return the buffer.
10206 (inferior-octave-startup): Cosmetic changes.
10207
b4c8295e
LL
102082013-05-02 Leo Liu <sdl.web@gmail.com>
10209
30c7e542
SM
10210 * progmodes/octave.el (octave-syntax-propertize-function):
10211 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10212
f12ad6ec
GM
102132013-05-02 Glenn Morris <rgm@gnu.org>
10214
10215 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10216 * desktop.el (vc-dir-mode): Just autoload it here.
10217
30cac1e0
AM
102182013-05-02 Alan Mackenzie <acm@muc.de>
10219
10220 Eliminate variable c-standard-font-lock-fontify-region-function.
10221 * progmodes/cc-mode.el
10222 (c-standard-font-lock-fontify-region-function): Remove.
10223 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10224
d8ef28b1
LL
102252013-05-01 Leo Liu <sdl.web@gmail.com>
10226
2640d52e 10227 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10228 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10229 variables were removed from Octave in 2007.
d8ef28b1
LL
10230 (inferior-octave-startup): Fix uses.
10231 (comint-line-beginning-position): Remove compatibility code for
10232 emacs 21.
10233
ac63ec89
JL
102342013-05-01 Juri Linkov <juri@jurta.org>
10235
10236 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10237
9e9be37c
JL
102382013-05-01 Juri Linkov <juri@jurta.org>
10239
10240 * comint.el (comint-previous-matching-input): Don't print message
10241 "History item: %d" when `isearch-mode' is active.
10242 (comint-history-isearch-message): Print message "History item: %d"
10243 when `comint-input-ring-index' is not empty and this function is
10244 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10245
9b92c13b
LL
102462013-05-01 Leo Liu <sdl.web@gmail.com>
10247
10248 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10249 definitions. Use completion-at-point to insert keywords.
10250 (octave-abbrev-start): Remove.
10251 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10252
b12d33d7
LL
102532013-04-30 Leo Liu <sdl.web@gmail.com>
10254
10255 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10256 change.
10257
3d1c39fa
AM
102582013-04-30 Alan Mackenzie <acm@muc.de>
10259
10260 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10261 * progmodes/cc-engine.el (c-back-over-member-initializers):
10262 new function.
3d1c39fa
AM
10263 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10264 (most) member init lists.
10265
5147fc17
RS
102662013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10267
10268 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10269 variable.
10270
5b78d7fc
LL
102712013-04-30 Leo Liu <sdl.web@gmail.com>
10272
10273 * progmodes/octave.el (octave-variables): Remove. No builtin
10274 variables any more. All converted to functions.
10275 (octave-font-lock-keywords, octave-completion-at-point-function):
10276 Fix uses.
10277 (octave-font-lock-texinfo-comment): New user variable.
10278 (octave-texinfo-font-lock-keywords): New variable for texinfo
10279 comment block.
10280 (octave-function-comment-block): New face.
10281 (octave-font-lock-texinfo-comment): New function.
10282 (octave-mode): Font lock texinfo comment block.
10283
38d8527b
LL
102842013-04-29 Leo Liu <sdl.web@gmail.com>
10285
10286 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10287 indexing expression.
10288 (octave-continuation-string): Do not use \.
10289 (inferior-octave-complete-impossible): Remove.
10290 (inferior-octave-completion-table)
10291 (inferior-octave-completion-at-point): Remove its uses.
10292 (inferior-octave-startup): completion_matches was introduced to
10293 Octave in 1996 so safe to assume it.
10294 (octave-function-file-comment): Improve to follow how Octave does it.
10295 (octave-update-function-file-comment): Tweak.
10296
2ec12cb0
LL
102972013-04-29 Leo Liu <sdl.web@gmail.com>
10298
10299 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10300 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10301 (octave-function-file-comment): Fix typo.
10302 (octave-sync-function-file-names): Use read-char-choice.
10303
6eaed048
JB
103042013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10305
10306 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10307 to t for the less important warnings.
10308
3ffa2d4f
DH
103092013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10310
10311 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10312
685c9501
GM
103132013-04-27 Glenn Morris <rgm@gnu.org>
10314
10315 * vc/log-view.el (log-view-current-entry):
10316 Treat "---" separator lines as part of the following rev. (Bug#14169)
10317
0208ede7
JL
103182013-04-27 Juri Linkov <juri@jurta.org>
10319
10320 * subr.el (read-number): Doc fix about using it by interactive
10321 code letter `n'. (Bug#14254)
10322
5db9dace
JL
103232013-04-27 Juri Linkov <juri@jurta.org>
10324
10325 * desktop.el (desktop-auto-save-timeout): New option.
10326 (desktop-file-checksum): New variable.
10327 (desktop-save): Add optional arg `auto-save' and don't auto-save
10328 if nothing changed.
10329 (desktop-auto-save-timer): New variable.
10330 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10331 (after-init-hook): Call `desktop-auto-save-set-timer'.
10332 Suggested by Reuben Thomas <rrt@sc3d.org> in
10333 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10334
b7260dd4
LL
103352013-04-27 Leo Liu <sdl.web@gmail.com>
10336
10337 * progmodes/octave.el (octave-function-file-p)
10338 (octave-skip-comment-forward, octave-function-file-comment)
10339 (octave-update-function-file-comment): New functions.
10340 (octave-mode-map): Bind C-c ; to
10341 octave-update-function-file-comment.
10342 (octave-mode-menu): Add octave-update-function-file-comment.
10343 (octave-mode, inferior-octave-mode): Fix doc-string.
10344 (octave-insert-defun): Conform to Octave's coding convention.
10345 (Bug#14285)
10346
10347 * files.el (basic-save-buffer): Don't let errors in
10348 before-save-hook prevent saving buffer.
10349
c46da669
RW
103502013-04-20 Roland Winkler <winkler@gnu.org>
10351
10352 * faces.el (read-face-name): Use completing-read if arg multiple
10353 is nil.
10354
a81ee1eb
IL
103552013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10356
10357 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10358 displayed, move point to after the totals line.
10359 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10360 for the details.
10361
4fac34ce
SM
103622013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10363
10364 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10365 Add current dir to the load-path.
10366 (package-generate-autoloads): Don't rely on
10367 autoload-ensure-default-file.
10368
f6bfc063
RT
103692013-04-26 Reuben Thomas <rrt@sc3d.org>
10370
d40ab5cf
BG
10371 * textmodes/remember.el (remember-store-in-files): Document that
10372 the file name format is passed to `format-time-string'.
f6bfc063 10373
e55d3b04
LL
103742013-04-26 Leo Liu <sdl.web@gmail.com>
10375
10376 * progmodes/octave.el (octave-sync-function-file-names): New function.
10377 (octave-mode): Use it in before-save-hook.
10378
e53052d3
SM
103792013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10380
140ef50c
SM
10381 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10382 (bug#14274).
10383
e53052d3
SM
10384 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10385 \n and comment, even if it's not an implicit ; (bug#14218).
10386
af80458d 103872013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10388
10389 * subr.el (read-number): Once more use `read' rather than
10390 `string-to-number', to trap non-numeric input. (Bug#14254)
10391
af80458d 103922013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10393
10394 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10395 Use `syntax-multiline' text property consistently instead of
8a621d53 10396 `font-lock-multiline'. (Bug#14237)
70203c2e 10397
e6ea1f6c
GM
103982013-04-26 Glenn Morris <rgm@gnu.org>
10399
10400 * emacs-lisp/shadow.el (list-load-path-shadows):
10401 No longer necessary to check for duplicate simple.el, since
10402 2012-07-07 change to init_lread to not include installation lisp
10403 directories in load-path when running uninstalled. (Bug#14270)
10404
070ccca4
LL
104052013-04-26 Leo Liu <sdl.web@gmail.com>
10406
10407 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10408 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10409 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10410 octave-in-string-or-comment-p.
10411 (octave-in-comment-p, octave-in-string-p)
10412 (octave-in-string-or-comment-p): Replace defsubst with defun.
10413
9d1c5fb6
PE
104142013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10415
10416 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10417
c034abda
BG
104182013-04-25 Bastien Guerry <bzg@gnu.org>
10419
10420 * textmodes/remember.el (remember-data-directory)
10421 (remember-directory-file-name-format): Fix custom types.
10422
584ea277
LL
104232013-04-25 Leo Liu <sdl.web@gmail.com>
10424
e53052d3
SM
10425 * progmodes/octave.el (octave-completion-at-point-function):
10426 Make use of inferior octave process.
584ea277
LL
10427 (octave-initialize-completions): Remove.
10428 (inferior-octave-completion-table): New function.
10429 (inferior-octave-completion-at-point): Use it.
10430 (octave-completion-alist): Remove.
10431
1693b06a
SM
104322013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10435 (opascal-mode-syntax-table): New var.
10436 (opascal-literal-kind, opascal-is-literal-end)
10437 (opascal-literal-token-at): Rewrite.
10438 (opascal--literal-start-re, opascal-font-lock-keywords)
10439 (opascal--syntax-propertize): New constants.
10440 (opascal-font-lock-defaults): Adjust.
10441 (opascal-mode): Use them. Set comment-<foo> variables as well.
10442 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10443 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10444 (delphi-other-face, opascal-other-face): Remove face variables.
10445 (opascal-save-state): Remove macro.
10446 (opascal-fontifying-progress-step): Remove constant.
10447 (opascal--ignore-changes): Remove var.
10448 (opascal-set-token-property, opascal-parse-next-literal)
10449 (opascal-is-stable-literal, opascal-complete-literal)
10450 (opascal-is-literal-start, opascal-face-of)
10451 (opascal-parse-region, opascal-parse-region-until-stable)
10452 (opascal-fontify-region, opascal-after-change)
10453 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10454 (opascal-debug-parse-region, opascal-debug-parse-window)
10455 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10456 (opascal-debug-fontify-buffer): Remove.
10457 (opascal-debug-mode-map): Adjust accordingly.
10458
be64c05d
LL
104592013-04-25 Leo Liu <sdl.web@gmail.com>
10460
10461 Merge octave-mod.el and octave-inf.el into octave.el with some
10462 cleanups.
10463 * progmodes/octave.el: New file renamed from octave-mod.el.
10464 * progmodes/octave-inf.el: Merged into octave.el.
10465 * progmodes/octave-mod.el: Renamed to octave.el.
10466
d79d37bd
TH
104672013-04-25 Tassilo Horn <tsdh@gnu.org>
10468
10469 * textmodes/reftex-vars.el
10470 (reftex-label-ignored-macros-and-environments): New defcustom.
10471
10472 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10473
ced3fc5d
SM
104742013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10475
10476 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10477 (smie-indent-keyword): Improve the check to ensure that the next
10478 comment is really on the same line.
10479 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10480
10481 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10482 semi-colons if the line is not otherwise empty (bug#14218).
10483
1c141dad
GM
104842013-04-25 Glenn Morris <rgm@gnu.org>
10485
10486 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10487
5058062a
SM
104882013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10489
10490 * progmodes/opascal.el (opascal-set-token-property): Rename from
10491 opascal-set-text-properties and only set `token' (bug#14134).
10492 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10493 (opascal-literal-text-properties): Remove.
10494 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10495 Adjust callers.
10496
5db9dace 104972013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10498
10499 * textmodes/remember.el (remember-handler-functions): Add an
10500 option for a new handler `remember-store-in-files'.
10501 (remember-data-directory, remember-directory-file-name-format):
10502 New options.
10503 (remember-store-in-files): New function to store remember notes
10504 as separate files within a directory.
10505
4391916c
MH
105062013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10507
10508 * progmodes/compile.el (compilation-next-error-function):
10509 Pass "formats" to compilation-find-file (bug#11777).
10510
bb7cdf58
GM
105112013-04-24 Glenn Morris <rgm@gnu.org>
10512
3b8fe752 10513 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10514 * vc/vc-hg.el (vc-hg-print-log):
10515 * vc/vc-svn.el (vc-svn-print-log):
10516 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10517
bb7cdf58
GM
10518 * vc/vc-bzr.el (vc-bzr-print-log):
10519 * vc/vc-cvs.el (vc-cvs-print-log):
10520 * vc/vc-git.el (vc-git-print-log):
10521 * vc/vc-hg.el (vc-hg-print-log):
10522 * vc/vc-mtn.el (vc-mtn-print-log):
10523 * vc/vc-rcs.el (vc-rcs-print-log):
10524 * vc/vc-sccs.el (vc-sccs-print-log):
10525 * vc/vc-svn.el (vc-svn-print-log):
10526 * vc/vc.el (vc-print-log-internal): Doc fixes.
10527
b46a056e
GM
105282013-04-23 Glenn Morris <rgm@gnu.org>
10529
10530 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10531 Remove venerable code attempting to avoid substitute-command-keys.
10532
0aecf718
TH
105332013-04-23 Tassilo Horn <tsdh@gnu.org>
10534
4391916c
MH
10535 * textmodes/reftex-vars.el (reftex-label-regexps):
10536 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10537
117f94cf
SM
105382013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10539
4391916c 10540 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10541 Use lexical-binding.
10542 (jit-lock-force-redisplay): Use markers, check buffer's continued
10543 existence and beware narrowed buffers.
10544 (jit-lock-fontify-now): Adjust call accordingly.
10545
1d829c64
SM
105462013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10547
10548 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10549 to avoid misleading the user.
10550
72d548a9
LL
105512013-04-22 Leo Liu <sdl.web@gmail.com>
10552
10553 * info-look.el: Prefer latex2e.info. (Bug#14240)
10554
d0853629
MA
105552013-04-22 Michael Albinus <michael.albinus@gmx.de>
10556
10557 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10558
10559 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10560 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10561 (tramp-set-completion-function, tramp-parse-putty):
10562 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10563 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10564 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10565 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10566 (tramp-call-local-coding-command): Use `tramp-call-process'
10567 instead of `tramp-compat-call-process'.
10568
10569 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10570 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10571 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10572 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10573 (tramp-maybe-send-script): Check for Perl binary.
10574 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10575
38cc0210
DU
105762013-04-22 Daiki Ueno <ueno@gnu.org>
10577
10578 * epg.el (epg-context-pinentry-mode): New function.
10579 (epg-context-set-pinentry-mode): New function.
10580 (epg--start): Pass --pinentry-mode option to gpg command.
10581
cc641ee1
XF
105822013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10583
02d844b5 10584 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10585 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10586 `completion-at-point'. (Bug#13774)
5d4e5c31 10587
cc641ee1
XF
10588 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10589 default key binding for `describe-distribution' has been moved to
10590 `C-h C-o'. (Bug#13970)
10591
1b42ee43
GM
105922013-04-21 Glenn Morris <rgm@gnu.org>
10593
10594 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10595 Add doc strings.
10596 (vc-print-log): Clarify interactive prompt.
10597
a6d63d97
GM
105982013-04-20 Glenn Morris <rgm@gnu.org>
10599
10600 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10601 No longer include timestamp etc information.
10602
d7f5c16f
RW
106032013-04-20 Roland Winkler <winkler@gnu.org>
10604
10605 * faces.el (read-face-name): Bug fix, return just one face if arg
10606 multiple is nil. (Bug#14209)
10607
bcd7a0a4
SM
106082013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10609
10610 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10611 (remove-function): Autoload.
10612
10613 * comint.el (comint-redirect-original-filter-function): Remove.
10614 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10615 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10616 (vc-cvs-annotate-command):
bcd7a0a4
SM
10617 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10618 * progmodes/prolog.el (prolog-consult-compile):
10619 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10620 Use add/remove-function instead.
10621 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10622 (gud-tooltip-process-output, gud-tooltip-tips):
10623 Use add/remove-function instead.
10624 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10625 (scheme-interaction-mode, exit-scheme-interaction-mode):
10626 Use add/remove-function instead.
10627
10628 * vc/vc-dispatcher.el: Use lexical-binding.
10629 (vc--process-sentinel): Rename from vc-process-sentinel.
10630 Change last arg to be the code to run. Don't use vc-previous-sentinel
10631 and vc-sentinel-commands any more.
10632 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10633 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10634
e36b2d20 106352013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10636
bcd7a0a4 10637 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10638 Handle function names with a single character. (Bug#14111)
4d3268ba 10639
781b4af6 106402013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10641
10642 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10643 for subroutines defined in an eval (bug#14182).
10644
7d688336
TV
106452013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10646
10647 * bookmark.el (bookmark-completing-read): Improve handling of empty
10648 string (bug#14176).
10649
31dcede0
SM
106502013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10653
adc31213
FEG
106542013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10655
10656 New faster Imenu implementation (bug#14058).
10657 * progmodes/python.el:
10658 (python-imenu-prev-index-position):
10659 (python-imenu-format-item-label-function)
10660 (python-imenu-format-parent-item-label-function)
10661 (python-imenu-format-parent-item-jump-label-function):
10662 New vars.
10663 (python-imenu-format-item-label)
10664 (python-imenu-format-parent-item-label)
10665 (python-imenu-format-parent-item-jump-label)
10666 (python-imenu--put-parent, python-imenu--build-tree)
10667 (python-imenu-create-index, python-imenu-create-flat-index)
10668 (python-util-popn): New functions.
10669 (python-mode): Set imenu-create-index-function to
10670 python-imenu-create-index.
10671
cdca8255
SM
106722013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10673
10674 * winner.el (winner-active-region): Use region-active-p, activate-mark
10675 and deactivate-mark (bug#14225).
10676
10677 * simple.el (deactivate-mark): Don't inline it.
10678
beb42340
MA
106792013-04-18 Michael Albinus <michael.albinus@gmx.de>
10680
10681 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10682
fc7f4d7e
TH
106832013-04-18 Tassilo Horn <tsdh@gnu.org>
10684
10685 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10686 file extensions from the archive-mode entry in order to prefer
10687 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10688
29f47822
LL
106892013-04-18 Leo Liu <sdl.web@gmail.com>
10690
10691 * bindings.el (help-event-list): Add ?\?.
10692
d36ed1c8
SM
106932013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10694
10695 * subr.el (with-wrapper-hook): Declare obsolete.
10696 * simple.el (filter-buffer-substring-function): New hook.
10697 (filter-buffer-substring): Use it.
10698 (filter-buffer-substring-functions): Mark obsolete.
10699 * minibuffer.el (completion-in-region-function): New hook.
10700 (completion-in-region): Use it.
10701 (completion-in-region-functions): Mark obsolete.
10702 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10703 * abbrev.el (abbrev-expand-function): New hook.
10704 (expand-abbrev): Use it.
10705 (abbrev-expand-functions): Mark obsolete.
10706 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10707 and :filter-return.
10708
04754d36
FEG
107092013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10710
10711 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10712 and do not care about match data.
10713
dd8791e9
SM
107142013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10715
10716 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10717 completion tables when completing error conditions and
10718 `declare' arguments.
10719 (lisp-complete-symbol, field-complete): Mark as obsolete.
10720 (check-parens): Unmatched parens are user errors.
10721 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10722
ffe54a13
AM
107232013-04-17 Michal Nazarewicz <mina86@mina86.com>
10724
dd8791e9
SM
10725 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10726 command changed buffer (ie. `flyspell-pre-buffer' is not current
10727 buffer), which prevents making decisions based on invalid value of
10728 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10729 cause an error when `flyspell-pre-point' was nil after switching
10730 buffers.
10731 (flyspell-post-command-hook): No longer needs to change buffers when
10732 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10733
ec7e39f2
AM
107342013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10735
10736 * textmodes/ispell.el (ispell-add-per-file-word-list):
10737 Fix `flyspell-correct-word-before-point' error when accepting
10738 words and `coment-padding' is an integer by using
10739 `comment-normalize-vars' (Bug #14214).
10740
083850a6
FEG
107412013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10742
10743 New defun movement commands.
10744 * progmodes/python.el (python-nav--syntactically)
10745 (python-nav--forward-defun, python-nav-backward-defun)
10746 (python-nav-forward-defun): New functions.
10747
619ed6e1
FEG
107482013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10749
10750 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10751 (python-syntax-context): Use named compiler-macro for backwards
10752 compatibility with Emacs 24.x.
10753
7a1beb6c
LL
107542013-04-17 Leo Liu <sdl.web@gmail.com>
10755
10756 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10757 octave-hide-process-buffer.
10758
2d3fa3e5
SM
107592013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10760
10761 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10762 (bug#14216).
10763
7ce5be54
JPG
107642013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10765
10766 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10767 Fix adjustment of offset when receiving incomplete responses from GDB
10768 (bug#14129).
10769
351edece
SM
107702013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10771
10772 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10773 python-mode-abbrev-table.
10774 (python-skeleton-define): Adjust accordingly.
10775 (python-mode-abbrev-table): New table that inherits from it so that
10776 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10777
10778 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10779 (abbrev-symbol): Use it.
10780 (abbrev--before-point): Use it since we already handle inheritance.
10781
613f9481
LL
107822013-04-16 Leo Liu <sdl.web@gmail.com>
10783
10784 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10785 binding to info-lookup-symbol.
10786
51646b62
JB
107872013-04-16 Juanma Barranquero <lekktu@gmail.com>
10788
10789 * minibuffer.el (completion--twq-all):
10790 * term/ns-win.el (ns-initialize-window-system):
10791 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10792
efb3f01d
SM
107932013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10794
36c0a301
SM
10795 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10796 global bindings.
10797
efb3f01d
SM
10798 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10799
fb549d64
DG
108002013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10801
10802 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10803 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10804 to nil.
10805 (ruby-end-of-defun): Remove the unused arg, change the docstring
10806 to reflect that this function is only used as the value of
10807 `end-of-defun-function'.
10808 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10809 to reflect an earlier change that beginning/end-of-defun functions
10810 jump between methods in a class definition, as well as top-level
10811 functions.
10812
21e8fe2f
SM
108132013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10814
10815 * minibuffer.el (minibuffer-complete): Don't just scroll
10816 a *Completions* that's been iconified.
10817 (minibuffer-force-complete): Make sure repetitions do cycle when going
10818 through completion-in-region -> minibuffer-complete.
10819
20e527d0
AM
108202013-04-15 Alan Mackenzie <acm@muc.de>
10821
10822 Correct the placement of c-cpp-delimiters when there're #s not at
10823 col 0.
10824
10825 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10826 place a submatch around the #.
21e8fe2f
SM
10827 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10828 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10829 on the #, not BOL.
10830
dabefae5
SM
108312013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10834 (advice--member-p): New arg `name'.
10835 (advice--add-function, advice-member-p): Use it (bug#14202).
10836
85c9ab64
AM
108372013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10838
10839 Reformulate java imenu-generic-expression.
10840 The old expression contained ill formed regexps.
10841
10842 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10843 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10844 (cc-imenu-java-method-arg-regexp): New defconsts.
10845 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10846 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10847 handling of spaces in the regexp.
10848
0f821d99
AM
108492013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10850
10851 * textmodes/ispell.el (ispell-command-loop): Remove
10852 flyspell highlight of a word when ispell accepts it (bug #14178).
10853
eb922adf
MA
108542013-04-15 Michael Albinus <michael.albinus@gmx.de>
10855
10856 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10857 uses code from the previous `ange-ftp-run-real-handler'.
10858 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10859 only in case that function exist. This is needed for proper
10860 unloading of Tramp.
10861
4d9a0979
TH
108622013-04-15 Tassilo Horn <tsdh@gnu.org>
10863
10864 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10865
10866 * textmodes/reftex.el (reftex-compile-variables): Use it.
10867
a829b0dc
SM
108682013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10869
91e8293c
SM
10870 * files.el (normal-mode): Only use default major-mode if no other mode
10871 was specified.
10872
830aed4d
SM
10873 * emacs-lisp/trace.el (trace-values): New function.
10874
a829b0dc
SM
10875 * files.el: Allow : in local variables (bug#14089).
10876 (hack-local-variable-regexp): New var.
10877 (hack-local-variables-prop-line, hack-local-variables): Use it.
10878
7ae9f0fb
RW
108792013-04-13 Roland Winkler <winkler@gnu.org>
10880
10881 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10882 data before it gets modified by bibtex-beginning-of-entry.
10883
6646e848
RW
108842013-04-13 Roland Winkler <winkler@gnu.org>
10885
10886 * textmodes/bibtex.el (bibtex-url): Doc fix.
10887
108882013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10889
10890 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10891 does not visit a BibTeX file, exclude it from the list of buffers
10892 returned by bibtex-initialize.
10893
0aa3616e
SB
108942013-04-13 Stephen Berman <stephen.berman@gmx.net>
10895
10896 * window.el (split-window): Remove interactive form, since as a
10897 command this function is a special case of split-window-below.
10898 Correct doc string.
10899
011cddd6
RW
109002013-04-12 Roland Winkler <winkler@gnu.org>
10901
10902 * faces.el (read-face-name): Do not override value of arg default.
10903 Allow single faces and strings as default values. Remove those
10904 elements from return value that are not faces.
10905 (describe-face): Simplify.
10906 (face-at-point): New optional args thing and multiple so that this
10907 function can provide the same functionality previously provided by
10908 read-face-name.
10909 (make-face-bold, make-face-unbold, make-face-italic)
10910 (make-face-unitalic, make-face-bold-italic, invert-face)
10911 (modify-face, read-face-and-attribute): Use face-at-point.
10912
10913 * cus-edit.el (customize-face, customize-face-other-window)
10914 * cus-theme.el (custom-theme-add-face)
10915 * face-remap.el (buffer-face-set)
10916 * facemenu.el (facemenu-set-face): Use face-at-point.
10917
f24e0036
MA
109182013-04-12 Michael Albinus <michael.albinus@gmx.de>
10919
10920 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10921
da3cda2d
TH
109222013-04-10 Tassilo Horn <tsdh@gnu.org>
10923
10924 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10925 off leading { and trailing } from field values.
10926
15e54145
SM
109272013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10928
78ce603d
SM
10929 * emacs-lisp/timer.el (timer--check): New function.
10930 (timer--time, timer-set-function, timer-event-handler): Use it.
10931 (timer-set-idle-time): Simplify.
10932 (timer--activate): CSE.
10933 (timer-event-handler): Give more info in error message.
10934 (internal-timer-start-idle): New function, moved from C.
10935
15e54145
SM
10936 * mpc.el (mpc-proc): Add `restart' argument.
10937 (mpc-proc-cmd): Use it.
10938 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10939 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10940 less often.
10941
7144c627
MY
109422013-04-10 Masatake YAMATO <yamato@redhat.com>
10943
10944 * progmodes/sh-script.el: Implement `sh-mode' own
10945 `add-log-current-defun-function' (bug#14112).
10946 (sh-current-defun-name): New function.
10947 (sh-mode): Use the function.
10948
b39792eb
BG
109492013-04-09 Bastien Guerry <bzg@gnu.org>
10950
10951 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10952
8acdeb71
SM
109532013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10954
6fcdab68
SM
10955 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10956
8acdeb71
SM
10957 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10958 timer (bug#14156).
10959
e3e7b504
NF
109602013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10961
10962 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10963 declaration.
10964
201bb296
LL
109652013-04-07 Leo Liu <sdl.web@gmail.com>
10966
10967 * pcmpl-x.el: New file.
10968
ebb19708
DA
109692013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10970
10971 Do not set x-display-name until X connection is established.
10972 This is needed to prevent from weird situation described at
10973 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10974 * frame.el (make-frame): Set x-display-name after call to
10975 window system initialization function, not before.
10976 * term/x-win.el (x-initialize-window-system): Add optional
10977 display argument and use it.
10978 * term/w32-win.el (w32-initialize-window-system):
10979 * term/ns-win.el (ns-initialize-window-system):
10980 * term/pc-win.el (msdos-initialize-window-system):
10981 Add compatible optional display argument.
10982
33bb237a
EZ
109832013-04-06 Eli Zaretskii <eliz@gnu.org>
10984
10985 * files.el (normal-backup-enable-predicate): On MS-Windows and
10986 MS-DOS compare truenames of temporary-file-directory and of the
10987 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10988 don't fail comparison by compare-strings. Also, compare file
10989 names case-insensitively on MS-Windows and MS-DOS.
10990
134abf1f
SM
109912013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10994 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10995
d695cb94
DG
109962013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10997
e3e7b504
NF
10998 * whitespace.el (whitespace-color-on, whitespace-color-off):
10999 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11000
f4ad7ea1 110012013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11002
11003 * ispell.el (ispell-set-spellchecker-params):
11004 Really set `ispell-args' for all equivs.
11005
632556e4
SM
110062013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11007
11008 * ido.el (ido-completions): Use extra elements of ido-decorations
11009 (bug#14143).
11010 (ido-decorations): Update docstring.
11011
2a417372
MA
110122013-04-05 Michael Albinus <michael.albinus@gmx.de>
11013
11014 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11015 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11016 nil during initialization, in order not to miss changes since the
11017 file was opened. (Bug#14140)
11018
fc164b0c
LL
110192013-04-05 Leo Liu <sdl.web@gmail.com>
11020
11021 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11022
0ccecc08
JB
110232013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11024
11025 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11026
51af1aa2
GM
110272013-04-04 Glenn Morris <rgm@gnu.org>
11028
11029 * electric.el (electric-pair-inhibit-predicate): Add :version.
11030
b208ebc6
SM
110312013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11034 when a package is required several times (bug#14082).
11035
f3d3eaf0
RW
110362013-04-04 Roland Winkler <winkler@gnu.org>
11037
11038 * faces.el (read-face-name): Behave as promised by the docstring.
11039 Assume that arg default is a list of faces.
11040 (describe-face): Call read-face-name with list of default faces.
11041
2575da50
TV
110422013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11043
11044 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11045 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11046 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11047 the header.
11048 (bookmark-exit-hook-internal): Save even if list is empty.
11049
397703b4
YH
110502013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11051
11052 * emacs-lisp/package.el (package-pinned-packages): New var.
11053 (package--add-to-archive-contents): Obey it (bug#14118).
11054
691e26ae
AM
110552013-04-03 Alan Mackenzie <acm@muc.de>
11056
8a621d53
JB
11057 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11058 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11059
11060 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11061 parameter `not-in-delimiter'. Handle being inside comment opener.
11062 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11063 character in case we're typing a '*' after a '/'.
11064 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11065 instead by passing the parameter to c-state-pp-to-literal.
11066
11067 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11068 for elt. 7 of a parse state.
11069
4b725a70
PE
110702013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11071
11072 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11073 * international/latin1-disp.el, international/mule-util.el:
11074 * language/cyril-util.el, language/european.el, language/ind-util.el:
11075 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11076 * language/tibetan.el, language/viet-util.el:
11077 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11078
15c579f0
SM
110792013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11080
11081 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11082 (electric-pair-post-self-insert-function): Use it.
11083 (electric-pair-default-inhibit): New function, extracted from
11084 electric-pair-post-self-insert-function.
11085
a77e2924
RW
110862013-03-31 Roland Winkler <winkler@gnu.org>
11087
11088 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11089
2bd8a4a8
SM
110902013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11091
11092 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11093
8d3655be 110942013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11095
11096 Un-indent after "pass" and "return" statements (Bug#13888)
11097 * progmodes/python.el (python-indent-block-enders): New var.
11098 (python-indent-calculate-indentation): Use it.
11099
8d3655be 111002013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11101
11102 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11103 defun. Defining it as defalias could introduce too eager
11104 byte-compiler optimization. (Bug#14030)
11105
8d3655be 111062013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11107
11108 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11109
0b1619da
LL
111102013-03-30 Leo Liu <sdl.web@gmail.com>
11111
11112 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11113 (kmacro-execute-from-register): Pass the keyboard macro to
11114 kmacro-call-macro or repeating won't work correctly.
11115
0b938190
TZ
111162013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11117
11118 * progmodes/subword.el: Back to using `forward-symbol'.
11119
11120 * subr.el (forward-whitespace, forward-symbol)
11121 (forward-same-syntax): Move from thingatpt.el.
11122
35710234
LL
111232013-03-29 Leo Liu <sdl.web@gmail.com>
11124
11125 * kmacro.el (kmacro-to-register): New command.
11126 (kmacro-execute-from-register): New function.
11127 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11128
efc0bb73
SM
111292013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11130
11131 * mpc.el: Use defvar-local and setq-local.
11132 (mpc--proc-connect): Connection failures are not bugs.
11133 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11134 (mpc-volume-map): Bind to the up-events.
11135
75a2f981
TZ
111362013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11137
11138 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11139 instead of `forward-symbol'.
11140
17c781d1
SM
111412013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11144 (edebug--recursive-edit): Use it.
11145 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11146 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11147
f67bfbcf
LL
111482013-03-28 Leo Liu <sdl.web@gmail.com>
11149
11150 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11151
b59f639d
EZ
111522013-03-27 Eli Zaretskii <eliz@gnu.org>
11153
11154 * facemenu.el (list-colors-callback): New defvar.
11155 (list-colors-redisplay): New function.
11156 (list-colors-display): Install list-colors-redisplay as the
11157 revert-buffer-function. (Bug#14063)
11158
f557c1b1
SM
111592013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11160
b1da2957
SM
11161 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11162 and suffixes don't overlap (bug#14061).
11163
f557c1b1
SM
11164 * case-table.el: Use lexical-binding.
11165 (case-table-get-table): New function.
11166 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11167
002668e1
TZ
111682013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11169
11170 * progmodes/subword.el: Add `superword-mode' to do word motion
11171 over symbol_words (parallels and leverages `subword-mode' which
11172 does word motion inside MixedCaseWords).
11173
73572c72
AG
111742013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11175
78b8f320 11176 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11177 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11178
69b2c07e
SM
111792013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11180
11181 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11182 Change return value to be a sexp. Delay `get-buffer' to after
11183 restoring the desktop (bug#13951).
11184
08bb5ee2
LL
111852013-03-26 Leo Liu <sdl.web@gmail.com>
11186
11187 * register.el: Move semantic tag handling back to
11188 cedet/semantic/senator.el. (Bug#14052)
11189
8d4c974e
SM
111902013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11191
11192 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11193 into the prompt either (bug#13963).
11194
b234d92c
SM
111952013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11196
11197 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11198 part of "(error-foo)".
11199
ddfa3cb4
JL
112002013-03-24 Juri Linkov <juri@jurta.org>
11201
11202 * replace.el (list-matching-lines-prefix-face): New defcustom.
11203 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11204 `occur-engine' if `face-differs-from-default-p' returns t.
11205 (occur-engine): Add `,' inside backquote construct to evaluate
11206 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11207 Pass `prefix-face' to the functions `occur-context-lines' and
11208 `occur-engine-add-prefix'.
11209 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11210 `prefix-face' and propertize the prefix with `prefix-face'.
11211 (Bug#14017)
11212
7b0e2f85
LL
112132013-03-24 Leo Liu <sdl.web@gmail.com>
11214
11215 * nxml/rng-valid.el (rng-validate-while-idle)
11216 (rng-validate-quick-while-idle): Guard against deleted buffer.
11217 (Bug#13999)
11218
11219 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11220 is the last entry in kill-buffer-hook.
11221
11222 * files.el (kill-buffer-hook): Doc fix.
11223
b3082f49
DG
112242013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11225
b234d92c
SM
11226 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11227 Make it safe-local.
bde73d27 11228
b3082f49
DG
11229 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11230
a320a2db
LL
112312013-03-23 Leo Liu <sdl.web@gmail.com>
11232
7e74b0fb
LL
11233 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11234 Remove.
11235
11236 * nxml/rng-valid.el (rng-validate-mode)
11237 (rng-after-change-function, rng-do-some-validation):
11238 * nxml/rng-maint.el (rng-validate-buffer):
11239 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11240 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11241 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11242 (nxml-extend-after-change-region): Use with-silent-modifications.
11243
a320a2db
LL
11244 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11245 timer-idle-list.
11246
11247 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11248 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11249 timer-idle-list. (Bug#13999)
11250
e38e6780
JL
112512013-03-23 Juri Linkov <juri@jurta.org>
11252
11253 * info.el (info-index-match): New face.
11254 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11255 main pattern and add text properties with the new face to matches
11256 in index entries relative to the beginning of the index entry.
11257 (Bug#14015)
11258
e8cc7880
DE
112592013-03-21 Eric Ludlam <zappo@gnu.org>
11260
11261 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11262 Inhibit read only while inserting objects.
11263
9bb0d822
TZ
112642013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11265
11266 * progmodes/cfengine.el: Update docs to mention
11267 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11268 symbol motion. Remove "_" from the word syntax.
11269
aa703640
TZ
112702013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11271
11272 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11273 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11274
afff09d0
JL
112752013-03-20 Juri Linkov <juri@jurta.org>
11276
11277 * info.el (Info-next-reference-or-link)
11278 (Info-prev-reference-or-link): New functions.
11279 (Info-next-reference, Info-prev-reference): Use them.
11280 (Info-try-follow-nearest-node): Handle footnote navigation.
11281 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11282
9a1ff164
SM
112832013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11284
11285 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11286 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11287
2667d15d
PE
112882013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11289
11290 Suppress unnecessary non-ASCII chatter during build process.
11291 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11292 (batch-skkdic-convert): Suppress most of the chatter.
11293 It's not needed so much now that machines are faster,
11294 and its non-ASCII component was confusing; see Dmitry Gutov in
11295 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11296
438b0579
LL
112972013-03-20 Leo Liu <sdl.web@gmail.com>
11298
11299 * ido.el (ido-chop): Fix bug#10994.
11300
c128ab07
DG
113012013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11302
11303 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11304 Remove vars.
9a1ff164
SM
11305 (whitespace-color-on, whitespace-color-off):
11306 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11307
0e6008c5
SM
113082013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11311 remapping in mode-line.
11312 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11313
627b52b0
DG
113142013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11315
11316 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11317 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11318 (whitespace-font-lock-keywords): Change description.
11319 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11320 the constructed keywords instead.
11321 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11322
50c3a20b
LL
113232013-03-19 Leo Liu <sdl.web@gmail.com>
11324
11325 * progmodes/compile.el (compilation-display-error): New command.
11326 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11327 C-o. (Bug#13992)
11328
2aa2157b
PE
113292013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11330
11331 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11332
e477dbfa
JD
113332013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11334
11335 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11336
64ab82d1
MA
113372013-03-18 Michael Albinus <michael.albinus@gmx.de>
11338
11339 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11340
11341 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11342 * net/tramp-gvfs.el (top):
11343 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11344 (tramp-handle-shell-command): Use it.
11345 (tramp-dissect-file-name): Raise an error when hostname is a
11346 method name, and neither method nor user is specified.
11347
11348 * net/trampver.el: Update release number.
11349
33cef733
LL
113502013-03-18 Leo Liu <sdl.web@gmail.com>
11351
11352 Make sure eldoc can be turned off properly.
11353 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11354 eldoc-mode.
11355 (eldoc-display-message-p): Revert last change.
11356 (eldoc-display-message-no-interference-p)
11357 (eldoc-print-current-symbol-info): Tweak.
11358
2167b7b2
TH
113592013-03-18 Tassilo Horn <tsdh@gnu.org>
11360
11361 * doc-view.el (doc-view-new-window-function): Check the new window
11362 overlay's display property instead the char property of the
11363 buffer's first char. Use `with-selected-window' instead of
11364 `save-window-excursion' with `select-window'.
11365 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11366 display property instead the char property of the buffer's first char.
2167b7b2 11367
982efbcd
PE
113682013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11369
11370 Automate the build of ja-dic.el (Bug#13984).
11371 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11372 from the input, rather than assume that it's been done for us by the
11373 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11374 the current date into a ja-dic.el comment, as that complicates
11375 regression testing.
11376
2fcc7665
SM
113772013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * whitespace.el: Fix double evaluation.
11380 (whitespace-space, whitespace-hspace, whitespace-tab)
11381 (whitespace-newline, whitespace-trailing, whitespace-line)
11382 (whitespace-space-before-tab, whitespace-indentation)
11383 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11384 obsolete defvars.
11385 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11386 (whitespace-color-on): Use a single font-lock-add-keywords call.
11387 Fix double-evaluation of face variables.
11388
67c0a6e6
MA
113892013-03-17 Michael Albinus <michael.albinus@gmx.de>
11390
2fcc7665
SM
11391 * net/tramp-adb.el (tramp-adb-parse-device-names):
11392 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11393 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11394
69489f1d
LL
113952013-03-17 Leo Liu <sdl.web@gmail.com>
11396
11397 Extend eldoc to display info in the mode-line. (Bug#13978)
11398 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11399 (eldoc-mode-line-string): New variable.
11400 (eldoc-minibuffer-message): New function.
11401 (eldoc-message-function): New variable.
11402 (eldoc-message): Use it.
11403 (eldoc-display-message-p)
2fcc7665
SM
11404 (eldoc-display-message-no-interference-p):
11405 Support eldoc-post-insert-mode.
69489f1d
LL
11406
11407 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11408 (eval-expression): Run it.
11409
9c44569e
RW
114102013-03-17 Roland Winkler <winkler@gnu.org>
11411
11412 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11413 strings in the list of return values.
11414
327f1f6f
JB
114152013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11416
11417 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11418 radix before checking for HMS forms.
11419
67ed8fcd
LL
114202013-03-16 Leo Liu <sdl.web@gmail.com>
11421
11422 * progmodes/scheme.el: Add indentation and font-locking for λ.
11423 (Bug#13975)
11424
78be8b64 114252013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11426
11427 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11428 token before point (bug#13942).
11429
78be8b64 114302013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11431
95b43468 11432 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11433
98e775e6
EZ
114342013-03-16 Eli Zaretskii <eliz@gnu.org>
11435
11436 * startup.el (command-line-normalize-file-name): Fix handling of
11437 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11438 <xfq.free@gmail.com> in
11439 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11440
2edd6029
MA
114412013-03-15 Michael Albinus <michael.albinus@gmx.de>
11442
11443 Sync with Tramp 2.2.7.
11444
11445 * net/trampver.el: Update release number.
11446
d35f5864
TH
114472013-03-14 Tassilo Horn <tsdh@gnu.org>
11448
e903c210 11449 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11450 (doc-view-insert-image): Don't modify overlay associated to
11451 non-live windows, and implement horizontal centering of image in
11452 case it's smaller than the window.
11453 (doc-view-new-window-function): Force redisplay of new windows on
11454 doc-view buffers.
d35f5864 11455
1c4a85ed
KF
114562013-03-13 Karl Fogel <kfogel@red-bean.com>
11457
11458 * saveplace.el (save-place-alist-to-file): Don't sort
11459 `save-place-alist', just pretty-print it (bug#13882).
11460
85b66a21
MA
114612013-03-13 Michael Albinus <michael.albinus@gmx.de>
11462
a020afb9
JB
11463 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11464 Check whether `default-file-name-coding-system' is bound.
11465 It isn't in XEmacs.
85b66a21 11466
175600da
SM
114672013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11468
e7f7cb1a
SM
11469 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11470 backquotes for `obsolete' (bug#13929).
11471
175600da
SM
11472 * international/mule.el (find-auto-coding): Include file name in
11473 obsolescence warning (bug#13922).
11474
ca68a22e
TZ
114752013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11476
11477 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11478 for CFEngine 3-specific indentation.
11479 (cfengine3-indent-line): Use it. Fix up category regex.
11480 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11481
940e5099
SM
114822013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11483
11484 * type-break.el (type-break-file-name):
11485 * textmodes/remember.el (remember-data-file):
11486 * strokes.el (strokes-file):
11487 * shadowfile.el (shadow-initialize):
11488 * saveplace.el (save-place-file):
11489 * ps-bdf.el (bdf-cache-file):
11490 * progmodes/idlwave.el (idlwave-config-directory):
11491 * net/quickurl.el (quickurl-url-file):
11492 * international/kkc.el (kkc-init-file-name):
11493 * ido.el (ido-save-directory-list-file):
11494 * emulation/viper.el (viper-custom-file-name):
11495 * emulation/vip.el (vip-startup-file):
11496 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11497 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11498
cc725808
PE
114992013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11500
11501 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11502 * language/thai-word.el: Switch to UTF-8.
11503
a020afb9 11504See ChangeLog.16 for earlier changes.
e3d51b27
MR
11505
11506;; Local Variables:
11507;; coding: utf-8
e3d51b27
MR
11508;; End:
11509
ab422c4d 11510 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11511
11512 This file is part of GNU Emacs.
11513
11514 GNU Emacs is free software: you can redistribute it and/or modify
11515 it under the terms of the GNU General Public License as published by
11516 the Free Software Foundation, either version 3 of the License, or
11517 (at your option) any later version.
11518
11519 GNU Emacs is distributed in the hope that it will be useful,
11520 but WITHOUT ANY WARRANTY; without even the implied warranty of
11521 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11522 GNU General Public License for more details.
11523
11524 You should have received a copy of the GNU General Public License
11525 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.