eww: support disabled and readonly text
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d49fbfd6
TZ
12013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2
3 * net/eww.el (eww-list-histories, eww-list-histories)
4 (eww-history-browse, eww-history-quit, eww-history-kill)
5 (eww-history-mode-map, eww-history-mode): New command and
6 functions to list browser histories.
5edcc2dc
KN
7 (eww-form-text): Support text form with disabled
8 and readonly attributes.
d49fbfd6 9
5e1901c1
RS
102013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11
12 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
13 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
15 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
16 Use `user-error'.
17 (eww-bookmark-mode-map): Add menu.
18 (eww-render, eww-mode): Use `setq-local'.
19 (eww-tool-bar-map): New variable.
20 (eww-mode): Set `tool-bar-map'.
21 (eww-view-source): Check for `html-mode' with `fboundp'.
22
073d5cfd
LMI
232013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
24
25 * net/shr.el (shr--extract-best-source): Don't bug out on audio
26 elements with text inside. Also remove debugging.
27
41cf3d11
JD
282013-12-21 Jan Djärv <jan.h.d@swipnet.se>
29
30 * cus-start.el (all): Add ns-use-srgb-colorspace.
31
aac2b673
CY
322013-12-21 Chong Yidong <cyd@gnu.org>
33
34 * custom.el (custom-theme-recalc-face): Do nothing if the face is
35 undefined. Thus, theme settings for undefined faces do not take
36 effect until the faces are defined with defface, the same as with
37 theme variables.
38
39 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
40 (face-spec-reset-face): Don't assign extra properties in temacs.
41 (face-spec-recalc): Apply X resources too.
42
bacb0e77
CY
432013-12-21 Chong Yidong <cyd@gnu.org>
44
45 * faces.el (face-spec-set):
46 * cus-face.el (custom-theme-set-faces, custom-set-faces):
47 * custom.el (defface): Doc fixes (Bug#16203).
48
77221051
CY
49 * indent.el (indent-rigidly-map): Add docstring, and move commands
50 into named functions.
51 (indent-rigidly-left, indent-rigidly-right)
52 (indent-rigidly-left-to-tab-stop)
53 (indent-rigidly-right-to-tab-stop): New functions. Decide on
54 indentation direction based on bidi direction, and accumulate
55 sequential commands in a single undo boundary.
56 (indent-rigidly--pop-undo): New utility function.
57
e0eb0550
JB
582013-12-20 Juanma Barranquero <lekktu@gmail.com>
59
60 * faces.el (read-face-name): Require crm.el when using crm-separator.
61
3282bd2e
DC
622013-12-20 Daniel Colascione <dancol@dancol.org>
63
64 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
65 so that we don't reflow comments into the shebang line.
66
1d42e5b6
JL
672013-12-20 Juri Linkov <juri@jurta.org>
68
69 * saveplace.el (save-place-to-alist): Add `dired-filename' as
70 a position when `dired-directory' is non-nil. Check integer
71 positions with `integerp'.
72 (toggle-save-place, save-places-to-alist): Add check for
73 `dired-directory'.
74 (save-place-find-file-hook): Check integer positions with
75 `integerp'.
76 (save-place-dired-hook): Use `dired-goto-file' when
77 `dired-filename' is found in the assoc list. Check integer
78 positions with `integerp'.
79 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
80
81 * dired.el (dired-initial-position-hook): Rename back from
82 `dired-initial-point-hook'.
83 (dired-initial-position): Rename `dired-initial-point-hook' to
84 `dired-initial-position-hook'.
85 (dired-file-name-at-point): Doc fix. (Bug#15329)
86
24da7273
JL
872013-12-20 Juri Linkov <juri@jurta.org>
88
89 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
90 (read-regexp-suggestions): New function.
91 (read-regexp): Use `read-regexp-defaults-function' to get default values.
92 Use `read-regexp-suggestions'. Add non-empty default to history
93 for empty input.
94 (occur-read-regexp-defaults-function): Remove function.
95 (occur-read-primary-args): Use `regexp-history-last' instead of
96 `occur-read-regexp-defaults-function'.
97
98 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
99 (hi-lock-line-face-buffer, hi-lock-face-buffer)
100 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
101 `hi-lock-read-regexp-defaults-function'. Doc fix.
102 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
103 with `find-tag-default-as-symbol-regexp'. Doc fix.
104 (hi-lock-read-regexp-defaults): Remove function.
105 (hi-lock-regexp-okay): Add check for null.
106
107 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
108 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
109
110 * subr.el (find-tag-default-as-symbol-regexp): New function.
111 (find-tag-default-as-regexp): Move symbol regexp formatting to
112 `find-tag-default-as-symbol-regexp'.
113
137f57c8
S
1142013-12-20 E Sabof <esabof@gmail.com> (tiny change)
115
116 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
117 (Bug#14179)
118
f3a66082
SB
1192013-12-20 Stephen Berman <stephen.berman@gmx.net>
120
121 * calendar/todo-mode.el: New implementation of item insertion
122 commands and key bindings.
123 (todo-key-prompt): New face.
124 (todo-insert-item): New command.
125 (todo-insert-item--parameters): New defconst, replacing defvar
126 todo-insertion-commands-args-genlist.
127 (todo-insert-item--param-key-alist): New defconst, replacing
128 defvar todo-insertion-commands-arg-key-list.
129 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
130 (todo-insert-item--argsleft, todo-insert-item--apply-args)
131 (todo-insert-item--next-param): New functions.
132 (todo-insert-item--args, todo-insert-item--argleft)
133 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
134 New variables.
135 (todo-key-bindings-t): Change binding of "i" from
136 todo-insertion-map to todo-insert-item.
137 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
138 (todo-insertion-command-name, todo-insertion-commands-names)
139 (todo-define-insertion-command, todo-insertion-commands)
140 (todo-insertion-key-bindings, todo-insertion-map): Remove.
141
2f99433b
SB
1422013-12-20 Stephen Berman <stephen.berman@gmx.net>
143
144 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
145 (todo-toggle-item-highlighting): Use eval-and-compile instead of
146 eval-when-compile.
147 (todo-move-category): Allow choosing a non-existing todo file to
148 move the category to, and create that file.
149 (todo-default-priority): New user option.
150 (todo-set-item-priority): Use it.
151 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
152 (desktop-restore-file-buffer): Declare.
153 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
154 (todo-modes-set-2): Locally set desktop-save-buffer to
155 todo-desktop-save-buffer.
156 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
157 (auto-mode-alist): Add autoload cookie.
158
131e4695
BB
1592013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
160
161 * emacs-lisp/subr-x.el: Renamed from helpers.el.
162 helpers.el was a poor choice of name.
3cbfb935
BB
163 (string-remove-prefix): New function.
164 (string-remove-suffix): New function.
131e4695 165
c44de18d
MR
1662013-12-20 Martin Rudalics <rudalics@gmx.at>
167
168 Fix assignment for new window total sizes.
169 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
170 (window--pixel-to-total-1, window--pixel-to-total):
171 Fix calculation of new total sizes.
c44de18d 172
ca65efcc
VS
1732013-12-20 Vitalie Spinu <spinuvit@gmail.com>
174
175 * comint.el (comint-output-filter): Fix rear-nonsticky property
176 placement (Bug#16010).
177
a9574eb7
CY
1782013-12-20 Chong Yidong <cyd@gnu.org>
179
180 * faces.el (read-color): Minor fix for completion function.
181
b520f210
DG
1822013-12-20 Dmitry Gutov <dgutov@yandex.ru>
183
e0eb0550
JB
184 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
185 New option. (Bug#16182)
b520f210
DG
186 (ruby-smie--indent-to-stmt-p): Use it.
187 (ruby-smie-rules): Revert the logic in the handling of `when'.
188 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
189 (ruby-deep-arglist, ruby-deep-indent-paren)
190 (ruby-deep-indent-paren-style): Update docstrings to note that the
191 vars don't have any effect with SMIE.
192
26b75b45
JB
1932013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
194
195 * calc/calc.el (calc-enter, calc-pop): Use the variable
196 `calc-context-sensitive-enter'.
197
cf91cee7
LMI
1982013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
199
200 * net/shr.el (shr-insert): Protect against infloops in degenerate
201 tables.
202
51d971b4
RS
2032013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
204
205 * progmodes/octave.el (octave): Add link to manual and octave
206 homepage.
207 (octave-mode-menu): Link to octave-mode manual.
208
8c2e462a
LL
2092013-12-20 Leo Liu <sdl.web@gmail.com>
210
211 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
212 insertion using skeleton-end-newline. (Bug#16138)
213
501158bc
JL
2142013-12-20 Juri Linkov <juri@jurta.org>
215
216 * replace.el (occur-engine): Use `add-face-text-property'
217 to add the face property to matches and titles. (Bug#14645)
218
219 * hi-lock.el (hi-green): Use lighter color "light green" closer to
220 the palette of other hi-lock colors.
221 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
222
50ab1da6
JL
2232013-12-19 Juri Linkov <juri@jurta.org>
224
225 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
226 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
227 (minibuffer-history-symbol): Move variable declaration closer to
228 its usage.
229
230 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
231 (Bug#14785)
232
3d6e95e7
JL
2332013-12-19 Juri Linkov <juri@jurta.org>
234
235 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
236 New function.
237 (log-edit-hook): Add it to :options. (Bug#16170)
238
b41594fd
JL
2392013-12-19 Juri Linkov <juri@jurta.org>
240
241 * simple.el (eval-expression-print-format): Don't check for
242 command names and the last command. Always display additional
243 formats of the integer result in the echo area, and insert them
244 to the current buffer only with a zero prefix arg.
245 Display character when char-displayable-p is non-nil.
246 (eval-expression): With a zero prefix arg, set `print-length' and
247 `print-level' to nil, and insert the integer values from
248 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
249
250 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
251 `eval-last-sexp-arg-internal'. Doc fix.
252 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
253 `eval-last-sexp-print-value'. Doc fix.
254 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
255 Set `print-length' and `print-level' to nil when arg is zero.
256 (eval-last-sexp): Doc fix.
257 (eval-defun-2): Print the integer values from
258 `eval-expression-print-format' at the end.
259
260 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
261 values from `eval-expression-print-format' at the end.
262
263 * ielm.el (ielm-eval-input): Print the integer
264 values from `eval-expression-print-format' at the end.
265
8f2be364
TZ
2662013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
267
268 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
269 2013-12-11T19:01:44Z!tzz@lifelogs.com.
270
2230a6e3
SM
2712013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
274 (hl-line-highlight, global-hl-line-highlight): Use it.
275 (hl-line-overlay): Use defvar-local.
276
1269a680
JD
2772013-12-19 Jan Djärv <jan.h.d@swipnet.se>
278
279 * term/ns-win.el: Require dnd.
280 (global-map): Remove drag items.
281 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
282 (ns-set-background-at-mouse):
283 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
284 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
285 New functions.
1269a680 286
049638ad
GM
2872013-12-19 Glenn Morris <rgm@gnu.org>
288
289 * emacs-lisp/ert.el (ert-select-tests):
290 Fix string/symbol mixup. (Bug#16121)
291
ce41edb4
DG
2922013-12-19 Dmitry Gutov <dgutov@yandex.ru>
293
294 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
295 keywords to their parent.
296
7e1549c9
DG
2972013-12-19 Dmitry Gutov <dgutov@yandex.ru>
298
299 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
300 first arg to be a string (fixed dead code), or an operator symbol.
301 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
302 operator symbols.
303 (ruby-smie-rules): Remove parent token check in the `.' clause, it
304 did nothing. Don't respond to `(:after ".")', it will be called
305 with :before anyway. Remove the ` @ ' rule, it didn't seem to
306 change anything. Only return indentation for binary operators
307 when they are hanging. De-dent opening paren when its parent is
308 `.', otherwise it looks bad when the dot is not at bol or eol
309 (bug#16182).
310
3ee4cd64
JL
3112013-12-19 Juri Linkov <juri@jurta.org>
312
313 * replace.el (query-replace-read-args): Split a non-negative arg
314 and a negative arg into separate elements.
315 (query-replace, query-replace-regexp, replace-string)
316 (replace-regexp): Add arg `backward'. Doc fix.
317 (replace-match-maybe-edit): When new arg `backward' is non-nil,
318 move point to the beginning of the match.
319 (replace-search, replace-highlight): Use new arg `backward'
320 to set the value of `isearch-forward'.
321 (perform-replace): Add arg `backward' and use it to perform
322 replacement backward. (Bug#14979)
323
324 * isearch.el (isearch-query-replace): Use a negative prefix arg
325 to call `perform-replace' with a non-nil arg `backward'.
326
0cda6b7b
JL
3272013-12-18 Juri Linkov <juri@jurta.org>
328
329 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
330 to the default list. Move `log-edit-show-files' to the end.
331 Add more available functions to options.
332 (log-edit): Move default specific settings to
333 `log-edit-insert-message-template'. Don't move point.
334 (log-edit-insert-message-template): New function.
335 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
336 (Bug#16170)
337
b216f0a6
JL
3382013-12-18 Juri Linkov <juri@jurta.org>
339
340 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
341 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
342
1d1c55dc
LL
3432013-12-18 Leo Liu <sdl.web@gmail.com>
344
345 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
346
64e4c76e
EZ
3472013-12-18 Eli Zaretskii <eliz@gnu.org>
348
349 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
350 formats for displaying file sizes when the -s switch is given.
351 Instead, compute a separate format for displaying the size in
352 blocks, which is displayed in addition to the "regular" size.
353 When -h is given in addition to -s, produce size in blocks in
354 human-readable form as well. (Bug#16179)
355
b2984e39
TH
3562013-12-18 Tassilo Horn <tsdh@gnu.org>
357
2230a6e3
SM
358 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
359 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 360
50ff2e06
CY
3612013-12-18 Chong Yidong <cyd@gnu.org>
362
0081bc84
CY
363 * cus-edit.el (custom-magic-alist): Fix "themed" description
364 (Bug#14348).
365
a7ee9424
CY
366 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
367 is non-nil, do not create a new entry in the symbol's theme-value
368 or theme-face property; update theme-settings only (Bug#14664).
18874304 369 (custom-available-themes): Doc fix.
a7ee9424 370
8f942537
CY
371 * cus-theme.el (custom-new-theme-mode-map): Add bindings
372 (Bug#15674).
373
50ff2e06
CY
374 * replace.el (occur-engine): Avoid infloop (Bug#7593).
375
83c60f60
KI
3762013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
377
378 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
379 (Bug#13914).
380
e0eb0550 3812013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
382
383 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
384
1f41ee56
GM
3852013-12-18 Glenn Morris <rgm@gnu.org>
386
387 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 388 * cus-start.el (load-prefer-newer): New option.
1f41ee56 389
e82134b1
LW
3902013-12-18 Le Wang <l26wang@gmail.com>
391
2230a6e3
SM
392 * comint.el (comint-previous-matching-input-from-input):
393 Retain point (Bug#13404).
e82134b1 394
33f5d4c1
CY
3952013-12-18 Chong Yidong <cyd@gnu.org>
396
397 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
398
ccc9f6dc
GM
3992013-12-18 Glenn Morris <rgm@gnu.org>
400
401 * mail/emacsbug.el (report-emacs-bug):
402 Only mention enable-multibyte-characters if non-standard.
403
33dd8e95
JL
4042013-12-17 Juri Linkov <juri@jurta.org>
405
406 * arc-mode.el (archive-extract-by-file): Check if directory exists
407 before deletion to not show irrelevant errors if it doesn't exist.
408
7a409b30
JL
4092013-12-17 Juri Linkov <juri@jurta.org>
410
411 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
412 (Bug#14751)
413
414 * net/eww.el (browse-web): Add alias to `eww'.
415 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
416 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
417
418 * net/browse-url.el (browse-url-browser-function): Move `eww'
419 closer to similar functions.
420
421 * startup.el (fancy-startup-screen, fancy-about-screen):
422 Set browse-url-browser-function to eww-browse-url locally.
423 (Bug#14751)
424
2d6b6005
SM
4252013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * window.el (window--pixel-to-total): Remove unused `mini' var.
428 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
429 (split-window): Remove unused `new' var.
430 (window--display-buffer): Remove unused `frame' and `delta' vars.
431 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
432 and display-width'.
433
cf2b7efc
MR
4342013-12-17 Martin Rudalics <rudalics@gmx.at>
435
436 * dired.el (dired-mark-pop-up):
437 * register.el (register-preview): Don't bind
438 split-height-threshold here since it's now done in
439 display-buffer-below-selected.
440
ed3af8a7 4412013-12-17 oblique <psyberbits@gmail.com> (tiny change)
442
443 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
444 xterm-rgb-convert-to-16bit.
445 (rxvt-register-default-colors): Standardize with
446 xterm-register-default-colors (Bug#14078).
447
76da3455
DK
4482013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
449
450 * simple.el (kill-region): Pass mark first, then point, so that
451 kill-append works right (Bug#12819).
452 (copy-region-as-kill, kill-ring-save): Likewise.
453
2b84d763
LL
4542013-12-17 Leo Liu <sdl.web@gmail.com>
455
456 * net/rcirc.el (rcirc-add-face):
457 * eshell/em-prompt.el (eshell-emit-prompt):
458 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
459 (Bug#16167)
460
e2f6a0bc
CY
4612013-12-17 Chong Yidong <cyd@gnu.org>
462
463 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
464 Suggested by Xue Fuqiao.
465
35b249a6
DG
4662013-12-17 Dmitry Gutov <dgutov@yandex.ru>
467
468 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
469
e9145444
SM
4702013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
471
472 * net/shr.el (shr-insert-document): Remove unused var
473 `shr-preliminary-table-render'.
474 (shr-rescale-image): Remove unused arg `force'.
475 (shr-put-image): Update calls accordingly.
476 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
477
5556c0ce
DG
4782013-12-17 Dmitry Gutov <dgutov@yandex.ru>
479
480 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
481 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
482 :close-all, to see which indentation method to use (Bug#16116).
483 (smie-rules-function): Document the method :close-all.
484
11bade0a
LMI
4852013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
486
1c4b1e61
LMI
487 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
488
11bade0a
LMI
489 * net/eww.el (eww-display-html): If we can't find the anchor we're
490 looking for, then go to point-min.
491
8fb8c4f3
PE
4922013-12-16 Paul Eggert <eggert@cs.ucla.edu>
493
494 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
495 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
496 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
497 Expand dir too, in case it's relative.
498
6c8e0ae6
JL
4992013-12-16 Juri Linkov <juri@jurta.org>
500
501 * desktop.el (desktop-auto-save-timeout): Change default to
502 `auto-save-timeout'. Doc fix.
503 (desktop-save): Skip the timestamp in desktop-saved-frameset
504 when checking for auto-save changes.
505 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
506 `desktop-auto-save' is called repeatedly by the idle timer.
507 (desktop-auto-save-set-timer): Replace `run-with-timer' with
508 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
509 (Bug#15331)
510
2178e858
JL
5112013-12-16 Juri Linkov <juri@jurta.org>
512
513 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
514 (Bug#16035)
515 (isearch-pre-command-hook): Check `this-command' for symbolp.
516
39cb42c6
SM
5172013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
520
5b9b750a
TZ
5212013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
522
523 * progmodes/cfengine.el (cfengine3--current-word): Remove.
524 (cfengine3--current-function): Bring in the current-function
525 functionality from `cfengine3--current-word'.
526 (cfengine3-completion-function): Bring in the
527 bounds-of-current-word functionality from
528 `cfengine3--current-word'.
529
d144ef06
MR
5302013-12-16 Martin Rudalics <rudalics@gmx.at>
531
39cb42c6
SM
532 * window.el (display-buffer-below-selected):
533 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 534
a8bbe298
LL
5352013-12-16 Leo Liu <sdl.web@gmail.com>
536
537 * progmodes/compile.el (compile-goto-error): Do not push-mark.
538 Remove NOMSG arg and all uses changed.
539
2013a2f9
SM
5402013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
541
542 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
543 (cua--deactivate-rectangle): Don't deactivate the mark.
544 (cua-set-rectangle-mark): Don't set mark-active since
545 cua--activate-rectangle already does it for us.
546 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
547 non-rectangular region.
548
549 * emulation/cua-base.el (cua-repeat-replace-region):
550 Use with-current-buffer.
551
552 * net/gnutls.el: Use cl-lib.
553 (gnutls-negotiate): `mapcan' -> cl-mapcan.
554
5ae811dd
TZ
5552013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
556
557 * emacs-lisp/package.el (package-built-in-p): Support both
558 built-in and the package.el converted package descriptions.
559 (package-show-package-list): Allow keywords.
560 (package-keyword-button-action): Use it instead of
561 `finder-list-matches'.
562 (package-menu-filter-interactive): Interactive filtering (by
563 keyword) function.
564 (package-menu--generate): Support keywords and change keymappings
565 and headers when they are given.
566 (package--has-keyword-p): Helper function.
567 (package-menu--refresh): Use it.
568 (package--mapc): Helper function.
569 (package-all-keywords): Use it.
570 (package-menu-mode-map): Set up menu items and keybindings to
571 provide a filtering UI.
572
31b4827e
TZ
5732013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
574
575 * net/gnutls.el (gnutls-verify-error): New defcustom to control
576 the behavior when a certificate fails validation. Defaults to
577 old behavior: never abort, just warn.
578 (gnutls-negotiate): Use it.
579
f93cc74f
MR
5802013-12-14 Martin Rudalics <rudalics@gmx.at>
581
582 * window.el (display-buffer-below-selected): Never split window
583 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
584
f77d7d17
TW
5852013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
586
587 * emacs-lisp/package.el (package--prepare-dependencies): New function.
588 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
589
590 * icomplete.el (icomplete-completions): Make sure the prefix is already
591 displayed elsewhere before hiding it.
592
276bc333
DG
5932013-12-14 Dmitry Gutov <dgutov@yandex.ru>
594
595 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
596 open-paren tokens when preceded by a open-paren, too.
597 (ruby-smie-rules): Handle virtual indentation after open-paren
598 tokens specially. If there is code between it and eol, return the
599 column where is starts (Bug#16118).
600
d43957f3
TZ
6012013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
602
a5c1ac0c 603 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 604 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
605 (cfengine3--current-word): Fix parameters.
606 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
607 (cfengine3-completion-function, cfengine3--current-function):
608 Use `assq' for symbols.
d43957f3
TZ
609 (cfengine3--current-function): Fix `cfengine3--current-word' call.
610
06a4f110
GM
6112013-12-13 Glenn Morris <rgm@gnu.org>
612
613 * loadup.el (load-path): Warn if site-load or site-init changes it.
614 No more need to reset it when bootstrapping.
615
978a5fda
TZ
6162013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
617
618 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
619 locations for cf-promises.
620 (cfengine-mode-syntax-functions-regex): New caching variable.
621 (cfengine3-fallback-syntax): Fallback syntax for cases where
622 cf-promises doesn't run.
623 (cfengine3--current-word): Reimplement using
624 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
625 (cfengine3-completion-function, cfengine3--current-function):
626 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
627 (cfengine3-clear-syntax-cache): New function.
628 (cfengine3-make-syntax-cache): Simplify and create
629 `cfengine-mode-syntax-functions-regex' on demand.
630 (cfengine3-format-function-docstring): Don't call
631 `cfengine3-make-syntax-cache' explicitly.
632
71e6691e
MR
6332013-12-13 Martin Rudalics <rudalics@gmx.at>
634
635 Fix windmove-find-other-window broken after pixelwise resizing
636 (Bug#16017).
637 * windmove.el (windmove-other-window-loc): Revert change from
638 2013-12-04.
639 (windmove-find-other-window): Call window-in-direction.
640 * window.el (window-in-direction): New arguments SIGN, WRAP and
641 MINI to emulate original windmove-find-other-window behavior.
642
84c73ba0
DG
6432013-12-13 Dmitry Gutov <dgutov@yandex.ru>
644
645 * simple.el (blink-matching--overlay): New variable.
646 (blink-matching-open): Instead of moving point, highlight the
647 matching paren with an overlay
648 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
649
650 * faces.el (paren-showing-faces, show-paren-match)
651 (show-paren-mismatch): Move from paren.el.
652
b9e20952
LL
6532013-12-13 Leo Liu <sdl.web@gmail.com>
654
655 * indent.el (indent-region): Disable progress reporter in
656 minibuffer. (Bug#16108)
657
658 * bindings.el (visual-order-cursor-movement): Fix version.
659
ce030451
FEG
6602013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
661
662 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
663 Also match after beginning of line.
664 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
665 files. Thanks to Russell Sim. (Bug#15378)
666
4a9c6865
JL
6672013-12-13 Juri Linkov <juri@jurta.org>
668
669 * simple.el <Keypad support>: Remove key bindings duplicated
670 with bindings.el. (Bug#14397)
671
2bc170c3
JL
6722013-12-13 Juri Linkov <juri@jurta.org>
673
674 * comint.el (comint-mode-map): Replace `delete-char' with
675 `delete-forward-char'. (Bug#16109)
676
bc9222c9
FEG
6772013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
678
aa2bddd7
SM
679 * progmodes/python.el (python-indent-calculate-indentation):
680 Fix de-denters cornercase. (Bug#15731)
bc9222c9 681
cb3a1380
SM
6822013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
685 (advice--make): Pay attention to `depth'.
686 (advice--make-1): Don't autoload commands eagerly.
687 * emacs-lisp/elp.el (elp-instrument-function):
688 * emacs-lisp/trace.el (trace-function-internal):
689 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
690
691 * iswitchb.el (iswitchb-mode): Don't belittle ido.
692
01633a17
EZ
6932013-12-12 Eli Zaretskii <eliz@gnu.org>
694
695 * term/w32-win.el (w32-handle-dropped-file):
696 * startup.el (normal-top-level):
697 * net/browse-url.el (browse-url-file-url):
698 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
699 decode file names using 'utf-8' rather than
700 file-name-coding-system.
701
09faee72
FEG
7022013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
703
704 * progmodes/python.el (python-indent-context)
705 (python-indent-calculate-indentation): Fix auto-identation
706 behavior for comment blocks. (Bug#15916)
707
f4f84024 7082013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 709
cb3a1380
SM
710 * progmodes/python.el (python-indent-calculate-indentation):
711 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
712 operators when they are just string constituents. (Bug#15812)
713
d5ccb7be
JL
7142013-12-12 Juri Linkov <juri@jurta.org>
715
716 * uniquify.el (uniquify-buffer-name-style): Change default to
717 `post-forward-angle-brackets'.
718
719 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
720 `uniquify'. Change default to `post-forward-angle-brackets'.
721
7b3f5679
GM
7222013-12-11 Glenn Morris <rgm@gnu.org>
723
724 * emacs-lisp/package.el (finder-list-matches):
725 Autoload rather than falsely declaring.
726
f4fe8fdd
TZ
7272013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
728
729 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
730 (eww-mode-map): Use them.
731
3c29190f
MR
7322013-12-11 Martin Rudalics <rudalics@gmx.at>
733
734 * window.el (display-buffer-in-side-window): Fix doc-string
735 (Bug#16115).
736
0cd616a2
JB
7372013-12-11 Juanma Barranquero <lekktu@gmail.com>
738
739 * vc/vc-git.el: Silence byte-compiler warnings.
740 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
741 (log-edit-set-header): Declare.
742
3ef8e0d1
EZ
7432013-12-11 Eli Zaretskii <eliz@gnu.org>
744
745 * Makefile.in (custom-deps, finder-data): Run output file names
746 through unmsys--file-name. (Bug#16099)
747
afdadaf7
SM
7482013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
749
7ae3ae39 750 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 751 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 752
5b4f37ab
SM
753 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
754 instead of deleting the selection "by hand" (bug#16098).
755 Rely on insert-for-yank to yank rectangles.
756 (cua-highlight-region-shift-only): Mark obsolete.
757 (cua-mode): Don't enable/disable transient-mark-mode,
758 shift-select-mode (cua-mode works both with and without them), and
759 pc-selection-mode (obsolete).
760 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
761 (cua--deactivate-rectangle): Deactivate it.
762
4b72c12b
SM
763 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
764 (delete-selection-helper): Make sure yank starts at the top of the
765 deleted region.
766 (minibuffer-keyboard-quit): Use region-active-p.
767
e82af72d
SM
768 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
769
afdadaf7
SM
770 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
771 to `delete' (bug#16109).
772
ed4bc201
RS
7732013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
774
775 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
776 info manual and show keybindings and set `:group' keyword.
777
bb8097b9
JL
7782013-12-11 Juri Linkov <juri@jurta.org>
779
780 * delsel.el (delete-active-region): Let-bind `this-command'
781 to prevent `kill-region' from changing its original value.
782 (delete-selection-helper): Handle `overwrite-mode' for the type
783 `kill' exactly the same way as for the type `t'.
784 (insert-char, quoted-insert, reindent-then-newline-and-indent):
785 Support more commands. (Bug#13312)
786
c1916ff5
JL
7872013-12-11 Juri Linkov <juri@jurta.org>
788
789 * bindings.el: Map kp keys to non-kp keys systematically
790 with basic modifiers control, meta and shift. (Bug#14397)
791
e0eb0550 7922013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
b68cf43c
KN
793
794 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
795 "Close browser" menu items. Fix wrong function of "List
796 bookmarks".
797
4cc51eaf
JL
7982013-12-11 Juri Linkov <juri@jurta.org>
799
800 * misearch.el (multi-isearch-buffers): Set the value of
801 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
802 arg of isearch-forward to t.
803 (multi-isearch-buffers-regexp): Set the value of
804 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
805 arg of isearch-forward-regexp to t.
806 (multi-isearch-files): Set the value of
807 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
808 arg of isearch-forward to t.
809 (multi-isearch-files-regexp): Set the value of
810 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
811 arg of isearch-forward-regexp to t. (Bug#16035)
812
813 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
814 arg of isearch-forward to t.
815 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
816 arg of isearch-forward-regexp to t.
817 (dired-isearch-filter-filenames): Remove unnecessary check for
818 `dired-isearch-filenames'.
819
820 * comint.el (comint-history-isearch-backward):
821 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
822 (comint-history-isearch-backward-regexp):
823 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
824
ceac12b7
EZ
8252013-12-10 Eli Zaretskii <eliz@gnu.org>
826
827 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
828 unmsys--file-name. (Bug#16099)
829
5a565782
TZ
8302013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
831
cb3a1380
SM
832 * emacs-lisp/package.el (package-keyword-button-action):
833 Remove finder.el require dependency.
5a565782 834
a81fc7ba
TZ
8352013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
836
837 * emacs-lisp/package.el: Require finder.el.
838 (describe-package-1): Add keyword buttons.
839 (package-make-button): New convenience function.
840 (package-keyword-button-action): Keyword button action using
e0eb0550 841 `finder-list-matches'.
a81fc7ba 842
6aaca951
EZ
8432013-12-09 Eli Zaretskii <eliz@gnu.org>
844
845 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
846 last commit.
847
a1099a91
MA
8482013-12-09 Michael Albinus <michael.albinus@gmx.de>
849
850 * autorevert.el (auto-revert-notify-add-watch): Do not handle
851 symlinked files.
852
8212d9c0
DG
8532013-12-09 Dmitry Gutov <dgutov@yandex.ru>
854
855 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
856 after the end of a percent literal.
857
8f48d131
CD
8582013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
859
cb3a1380
SM
860 * progmodes/ruby-mode.el (ruby-forward-string): Document.
861 Handle caret-delimited strings (Bug#16079).
8f48d131 862
ff8c9764
DG
8632013-12-09 Dmitry Gutov <dgutov@yandex.ru>
864
cb3a1380
SM
865 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
866 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
867 `ruby-parse-partial' (Bug#16078).
868
d64643b4
LL
8692013-12-09 Leo Liu <sdl.web@gmail.com>
870
871 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
872
47e59c66
DG
8732013-12-08 Dmitry Gutov <dgutov@yandex.ru>
874
875 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
876 (js-switch-indent-offset): New option.
877 (js--proper-indentation): Use it. And handle the case when
878 "default" is actually a key in an object literal.
879 (js--same-line): New function.
880 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
881 (js--indent-in-array-comp, js--array-comp-indentation):
882 New functions.
47e59c66
DG
883 (js--proper-indentation): Use them, to handle array comprehension
884 continuations.
885
974ebc9c
LL
8862013-12-08 Leo Liu <sdl.web@gmail.com>
887
888 * progmodes/flymake.el (flymake-highlight-line): Re-write.
889 (flymake-make-overlay): Remove arg MOUSE-FACE.
890 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
891
27262e39
SM
8922013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
893
894 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
895 New function.
896 (redisplay-highlight-region-function): Use it.
897
898 * emulation/cua-base.el (cua--explicit-region-start)
899 (cua--last-region-shifted): Remove.
900 (cua--deactivate): Use deactivate-mark.
901 (cua--pre-command-handler-1): Don't handle shift-selection.
902 (cua--post-command-handler-1): Don't change transient-mark-mode.
903 (cua--select-keymaps): Use region-active-p rather than
904 cua--explicit-region-start or cua--last-region-shifted.
905 (cua-mode): Enable shift-select-mode.
906
6407822c
LL
9072013-12-08 Leo Liu <sdl.web@gmail.com>
908
27262e39
SM
909 * progmodes/flymake.el (flymake-popup-current-error-menu):
910 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
911 (flymake-posn-at-point-as-event, flymake-popup-menu)
912 (flymake-make-emacs-menu): Remove. (Bug#16077)
913
00a2b823
SM
9142013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
915
02033d49
SM
916 * rect.el (rectangle-mark-mode): Activate mark even if
917 transient-mark-mode is off (bug#16066).
918 (rectangle--highlight-for-redisplay): Fix boundary condition when point
919 is > mark and at bolp.
920
6f8dfccf
SM
921 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
922 (region-extract-function): Use it.
923 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
924 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
925 Delete functions.
926 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
927 kill-ring-save, kill-region, delete-char, delete-forward-char.
928 Ignore self-insert-iso.
929
930 * emulation/cua-gmrk.el (cua--init-global-mark):
931 Ignore `self-insert-iso'.
932
933 * emulation/cua-base.el (cua--prefix-copy-handler)
934 (cua--prefix-cut-handler): Rely on region-extract-function rather than
935 checking cua--rectangle.
936 (cua-delete-region): Use region-extract-function.
937 (cua-replace-region): Delete function.
938 (cua-copy-region, cua-cut-region): Obey region-extract-function.
939 (cua--pre-command-handler-1): Don't do the delete-selection thing.
940 (cua--self-insert-char-p): Ignore `self-insert-iso'.
941 (cua--init-keymaps): Don't remap delete-selection commands.
942 (cua-mode): Use delete-selection-mode instead of rolling our own
943 (bug#16085).
944
945 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
946 Obey region-extract-function.
947
00a2b823
SM
948 Make registers and delete-selection-mode work on rectangles.
949 * register.el (describe-register-1): Don't modify the register's value.
950 (copy-to-register): Obey region-extract-function.
951 * delsel.el (delete-active-region): Obey region-extract-function.
952
a92fa5f1
LL
9532013-12-08 Leo Liu <sdl.web@gmail.com>
954
955 * progmodes/flymake.el (flymake, flymake-error-bitmap)
956 (flymake-warning-bitmap, flymake-fringe-indicator-position)
957 (flymake-compilation-prevents-syntax-check)
958 (flymake-start-syntax-check-on-newline)
959 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
960 (flymake-start-syntax-check-on-find-file, flymake-log-level)
961 (flymake-xml-program, flymake-master-file-dirs)
962 (flymake-master-file-count-limit)
963 (flymake-allowed-file-name-masks): Relocate.
964 (flymake-makehash, flymake-float-time)
965 (flymake-replace-regexp-in-string, flymake-split-string)
966 (flymake-get-temp-dir): Remove.
967 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
968 (flymake-current-row, flymake-selected-frame)
969 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
970 related functions. (Bug#16077)
971
73c8ceea
BB
9722013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
973
974 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
975
faec28d9
TH
9762013-12-07 Tassilo Horn <tsdh@gnu.org>
977
978 * help-fns.el (describe-function-1): Use new advice-* functions
979 rather than old ad-* functions. Fix function type description and
980 source links for advised functions and subrs.
981
e330b646
LMI
9822013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
983
00a2b823 984 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 985
4803595d
MA
9862013-12-06 Michael Albinus <michael.albinus@gmx.de>
987
988 * progmodes/compile.el (compilation-start):
989 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
990
991 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
992 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
993
fa834a93
DG
9942013-12-06 Dmitry Gutov <dgutov@yandex.ru>
995
00a2b823
SM
996 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
997 Touch up the last change.
fa834a93 998
b2856a6f
LL
9992013-12-06 Leo Liu <sdl.web@gmail.com>
1000
1001 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1002 (inferior-octave-startup): Always use "octave> " for prompt.
1003 (octave-goto-function-definition)
1004 (octave-sync-function-file-names)
1005 (octave-find-definition-default-filename): Remove redundant backquotes.
1006
af67e79a
DG
10072013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1008
1009 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1010 syntax for `?'.
1011 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1012 where appropriate already.
1013 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1014 end of method names (Bug#15874).
1015
bf093209
JL
10162013-12-06 Juri Linkov <juri@jurta.org>
1017
1018 * isearch.el (isearch--saved-overriding-local-map):
1019 New internal variable.
1020 (isearch-mode): Set it to the initial value of
1021 `overriding-terminal-local-map'.
1022 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1023 with `isearch--saved-overriding-local-map'. (Bug#16035)
1024
16588fad
DG
10252013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1026
00a2b823
SM
1027 * progmodes/octave.el (inferior-octave-completion-table):
1028 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1029 (Bug#11906). Update all references.
1030
1031 * minibuffer.el (completion-table-with-cache): New function.
1032
bf4906d7
CD
10332013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1034
1035 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1036
ff69c18f
TZ
10372013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1038
1039 * net/eww.el (eww-current-source): New variable to store page
1040 source.
1041 (eww-display-html, eww-mode, eww-save-history)
1042 (eww-restore-history): Use it.
1043 (eww-view-source): New command to view page source.
1044 Opportunistically uses `html-mode' to highlight the buffer.
1045 (eww-mode-map): Install it.
1046
b85eff45
MA
10472013-12-05 Michael Albinus <michael.albinus@gmx.de>
1048
1049 * net/dbus.el (dbus-unregister-service)
1050 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1051 Fix docstring.
1052 (dbus-unregister-service): Skip :serial entries in
1053 `dbus-registered-objects-table'.
1054 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1055
39eb0899
TZ
10562013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1057
1058 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1059 around keywords with extra `split-string' argument.
1060
456760a5
MR
10612013-12-04 Martin Rudalics <rudalics@gmx.at>
1062
1063 * windmove.el (windmove-other-window-loc): Handle navigation
1064 between windows (excluding the minibuffer window - Bug#16017).
1065
81961e4c
MA
10662013-12-04 Michael Albinus <michael.albinus@gmx.de>
1067
1068 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1069 in D-Bus type syntax.
1070 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1071 preserve unibyte strings. (Bug#16048)
1072
8497f938
SM
10732013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1074
1075 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1076 Call force-mode-line-update is the proper buffer (bug#16042).
1077
dda61916
DG
10782013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1079
1080 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1081 `log-edit-remember-comment', make argument optional. Adjust all
1082 callers.
1083 (log-edit-mode): Add `log-edit-remember-comment' to
1084 `kill-buffer-hook' locally.
1085 (log-edit-kill-buffer): Don't remember comment explicitly since
1086 the buffer is killed anyway.
1087
c085e5b9
JL
10882013-12-04 Juri Linkov <juri@jurta.org>
1089
1090 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1091 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1092
e0eb0550 10932013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1094
1095 * notifications.el (notifications-close-notification): Call the
81961e4c 1096 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1097
39fa32d6
KY
10982013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1099
1100 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1101
9139632a
JL
11022013-12-03 Juri Linkov <juri@jurta.org>
1103
1104 * progmodes/compile.el (compilation-start): Rename window alist
1105 entry `no-display-ok' to `allow-no-window'.
1106
1107 * simple.el (shell-command): Add window alist entry
1108 `allow-no-window' to `display-buffer'.
1109 (async-shell-command): Doc fix.
1110
1111 * window.el (display-buffer-no-window): New action function.
1112 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1113
0f457a37
DG
11142013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1115
1116 * vc/log-edit.el (log-edit-set-header): Extract from
1117 `log-edit-toggle-header'.
1118 (log-edit-extract-headers): Separate the summary, when extracted
1119 from header, from the rest of the message with an empty line.
1120
1121 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1122 line, if present, to the Summary header.
1123
0962f376
SM
11242013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1125
1126 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1127 in current-buffer (bug#16029).
1128
f345395c
HE
11292013-12-02 Helmut Eller <eller.helmut@gmail.com>
1130
1131 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1132 (debugger-mode-map): Bind it.
1133 (debugger--backtrace-base): New function.
1134 (debugger-eval-expression): Use it.
1135 (debugger-frame-number): Skip local vars when present.
1136 (debugger--locals-visible-p, debugger--insert-locals)
1137 (debugger--show-locals, debugger--hide-locals): New functions.
1138
a8a15d9d
MA
11392013-12-02 Michael Albinus <michael.albinus@gmx.de>
1140
1141 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1142 "LC_ALL".
1143 (tramp-get-remote-locale): New defun.
1144 (tramp-open-connection-setup-interactive-shell): Use it.
1145
0518b057
LL
11462013-12-02 Leo Liu <sdl.web@gmail.com>
1147
1148 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1149
1150 * progmodes/sh-script.el (sh-shell-process):
1151 * progmodes/octave.el (inferior-octave-process-live-p):
1152 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1153 (gdb-inferior-io-sentinel):
1154 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1155
3adc9c6d
DG
11562013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1157
1158 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1159 `save-selected-window' to `log-edit-hide-buf'. This makes
1160 `log-edit-show-files' idempotent.
1161 (log-edit-show-files): Mark the new window as dedicated.
1162
47e8b74e
DG
11632013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1164
1165 * vc/log-edit.el (log-edit-mode-map): Add binding for
1166 `log-edit-kill-biffer'.
1167 (log-edit-hide-buf): Add a FIXME comment.
1168 (log-edit-add-new-comment): New function, extracted from
1169 `log-edit-done'.
1170 (log-edit-done, log-edit-add-to-changelog): Use it.
1171 (log-edit-kill-buffer): New command.
1172
1f6e1bb0
LMI
11732013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1174
1175 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1176 instead of killing the buffer.
1177
fb651d15
SM
11782013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1181
8feacce0
RS
11822013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1183
fb651d15 1184 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1185 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1186 (eww-form-checkbox, eww-toggle-checkbox):
1187 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1188
e0eb0550 1189 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1190 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1191 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1192 no :src tag was specified.
1193
fb651d15 1194 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1195 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1196 Use \\` to match beginning of string instead of ^.
1197 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1198 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1199
177948a5
RS
1200 * net/shr.el (shr-tag-video): Display content for video if no
1201 poster is available.
eb2dd24d 1202 (shr-tag-audio): Add support for <audio> tag.
177948a5 1203
e0eb0550 1204 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1205 (eww-process-text-input): Treat input types in
1206 `eww-text-input-types' as text.
1207
8feacce0
RS
1208 * net/shr.el (shr-tag-table): Fix comment typo.
1209
513562a1
LMI
12102013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1211
1212 * net/eww.el (eww-follow-link): New command to avoid reloading
1213 pages when we follow #target links (bug#15243).
de8a5633 1214 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1215
9dd99753
KN
12162013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1217
1218 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1219 forms.
1220
3e9876de
LMI
12212013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1222
1223 * net/eww.el (eww-restore-history): Update the window title after
1224 moving in the history.
ab6dea82 1225 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1226
52789f7f
DG
12272013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1228
1229 * vc/log-edit.el (log-edit-mode-map): Add binding for
1230 `log-edit-beginning-of-line'.
1231 (log-edit-setup-add-author): New user option.
1232 (log-edit-beginning-of-line): New command.
1233 (log-edit): Move major mode call above the contents setup so that
1234 the local variable values are already applied.
1235 (log-edit): Only insert "Author: " when
1236 `log-edit-setup-add-author' is non-nil.
1237 (log-edit): When SETUP is non-nil, position point after ": "
1238 instead of point-min.
1239
2e6710c3
GM
12402013-12-01 Glenn Morris <rgm@gnu.org>
1241
1242 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1243
fadec31f
EZ
12442013-11-30 Eli Zaretskii <eliz@gnu.org>
1245
1246 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1247 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1248 visible. (Bug#16014)
1249
10634b40 12502013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1251
1252 Support resizing frames and windows pixelwise.
1253 * cus-start.el (frame-resize-pixelwise)
1254 (window-resize-pixelwise): New entries.
1255 * emacs-lisp/debug.el (debug): Use window-total-height instead
1256 of window-total-size.
1257 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1258 * help.el (describe-bindings-internal): Call help-buffer
1259 (temp-buffer-max-width): New option.
1260 (resize-temp-buffer-window, help-window-setup)
1261 (with-help-window): Rewrite.
1262 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1263 dragging dividers.
1264 * window.el (frame-char-size, window-min-pixel-height)
1265 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1266 (window-min-pixel-width, window-safe-min-pixel-size)
1267 (window-combination-p, window-safe-min-size)
1268 (window-resizable-p, window--size-to-pixel)
1269 (window--pixel-to-size, window--resize-apply-p): New functions.
1270 (window-safe-min-height): Fix doc-string.
1271 (window-size, window-min-size, window--min-size-1)
1272 (window-sizable, window-sizable-p, window--min-delta-1)
1273 (window-min-delta, window--max-delta-1, window-max-delta)
1274 (window--resizable, window--resizable-p, window-resizable)
1275 (window-full-height-p, window-full-width-p, window-at-side-p)
1276 (window--in-direction-2, window-in-direction)
1277 (window--resize-reset-1, window--resize-mini-window)
1278 (window-resize, window-resize-no-error)
1279 (window--resize-child-windows-normal)
1280 (window--resize-child-windows, window--resize-siblings)
1281 (window--resize-this-window, window--resize-root-window)
1282 (window--resize-root-window-vertically)
1283 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1284 (maximize-window, minimize-window, delete-window)
1285 (quit-restore-window, window-split-min-size, split-window)
1286 (balance-windows-2, balance-windows)
1287 (balance-windows-area-adjust, balance-windows-area)
1288 (window--state-get-1, window-state-get, window--state-put-1)
1289 (window--state-put-2, window-state-put)
fb651d15
SM
1290 (display-buffer-record-window, window--display-buffer):
1291 Make functions handle pixelwise sizing of windows.
880e6158 1292 (display-buffer--action-function-custom-type)
fb651d15
SM
1293 (display-buffer-fallback-action):
1294 Add display-buffer-in-previous-window.
880e6158
MR
1295 (display-buffer-use-some-window): Resize window to height it had
1296 before.
1297 (fit-window-to-buffer-horizontally): New option.
1298 (fit-frame-to-buffer): Describe new values.
1299 (fit-frame-to-buffer-bottom-margin): Replace with
1300 fit-frame-to-buffer-margins.
1301 (window--sanitize-margin): New function.
1302 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1303 using window-text-pixel-size.
1304
f9b697dd
GM
13052013-11-30 Glenn Morris <rgm@gnu.org>
1306
3e2fb4db
GM
1307 * emacs-lisp/bytecomp.el (byte-compile-form):
1308 Make the `interactive-only' warning like the `obsolete' one.
1309 * comint.el (comint-run):
1310 * files.el (insert-file-literally, insert-file):
1311 * replace.el (replace-string, replace-regexp):
1312 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1313 (goto-line, insert-buffer, next-line, previous-line):
1314 Tweak `interactive-only' spec.
1315
f9b697dd
GM
1316 Stop keeping (most) generated cedet grammar files in the repository.
1317 * Makefile.in (semantic): New.
1318 (compile-main): Depend on semantic.
1319
da048127
SM
13202013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1321
7784b779
SM
1322 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1323 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1324
4e36a6a6
SM
1325 * uniquify.el (uniquify-buffer-name-style): Change default.
1326
1327 * loadup.el: Preload "uniquify".
1328
e0ba1308
SM
1329 * time.el (display-time-update): Update all mode lines (bug#15999).
1330
da048127
SM
1331 * electric.el (electric-indent-mode): Enable by default.
1332 * loadup.el: Preload "electric".
1333
015b3b3e
BB
13342013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1335
1336 * emacs-lisp/helpers.el (string-empty-p): New function.
1337 (string-blank-p): New function.
1338
7efb806d
AP
13392013-11-29 Andreas Politz <politza@hochschule-trier.de>
1340
1341 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1342 (Bug#14029).
1343
c8f0efc2
AP
13442013-11-29 Andreas Politz <politza@fh-trier.de>
1345 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1346 allow non-lambda lists as functions.
1347 (imenu--in-alist): Don't recurse into non-subalists.
1348 (imenu): Don't pass function itself as an argument (Bug#14029).
1349
bd15d9d1
SM
13502013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1351
1352 * progmodes/python.el (python-mode-map): Remove binding for ":".
1353 (python-indent-electric-colon): Remove command.
1354 (python-indent-post-self-insert-function): Integrate the previous code
1355 of python-indent-electric-colon. Make it conditional on
1356 electric-indent-mode.
1357 (python-mode): Add ?: to electric-indent-chars.
1358 Move python-indent-post-self-insert-function to the end of
1359 post-self-insert-hook.
1360
1b10adb6
SM
13612013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1362
655ab9a3
SM
1363 * doc-view.el (doc-view-goto-page): Update mode-line.
1364
1b10adb6
SM
1365 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1366
7e3bf78c
GM
13672013-11-27 Glenn Morris <rgm@gnu.org>
1368
1369 * international/charprop.el, international/uni-bidi.el:
1370 * international/uni-category.el, international/uni-combining.el:
1371 * international/uni-comment.el, international/uni-decimal.el:
1372 * international/uni-decomposition.el, international/uni-digit.el:
1373 * international/uni-lowercase.el, international/uni-mirrored.el:
1374 * international/uni-name.el, international/uni-numeric.el:
1375 * international/uni-old-name.el, international/uni-titlecase.el:
1376 * international/uni-uppercase.el:
1377 Remove generated files from VCS repository.
1378
fb6a5d68
EZ
13792013-11-27 Eli Zaretskii <eliz@gnu.org>
1380
1381 * filenotify.el (file-notify-add-watch): Don't special-case
1382 w32notify when computing the directory to watch.
1383
cb6c95a3
GM
13842013-11-27 Glenn Morris <rgm@gnu.org>
1385
20372d0c
GM
1386 Make bootstrap without generated uni-*.el files possible again.
1387 * loadup.el: Update command-line-args checking for unidata-gen.
1388 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1389 * composite.el, international/characters.el:
1390 Handle unicode tables being undefined.
1391
52d6635f 1392 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1393 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1394 (compile-main): Depend on leim rule.
1395 (leim): New rule.
1396 * loadup.el: Move leim-list.el to leim/ subdirectory.
1397 * startup.el (normal-top-level): No more leim directory.
1398 * international/ja-dic-cnv.el (skkdic-convert):
1399 Disable version-control and autoloads in output files.
1400 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1401 Disable version-control and autoloads in output files.
1402 * leim/quail: Move here from ../leim.
1403 * leim/quail/hangul.el (hangul-input-method-activate):
1404 Add autoload cookie.
1405 (generated-autoload-load-name): Set file-local value.
1406 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1407 (generated-autoload-load-name): Set file-local value.
1408
0449d6cd 14092013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee 1410
e0eb0550
JB
1411 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1412 (eww-add-bookmark): Ask confirmation when add to bookmarks
1413 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1414
0e2c793f
EZ
14152013-11-26 Eli Zaretskii <eliz@gnu.org>
1416
1417 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1418 reading output from Diff on MS-Windows and MS-DOS.
1419
447bdcb8
BB
14202013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1421
1422 * emacs-lisp/helpers.el (string-reverse): New function.
1423
5fbf6856
MA
14242013-11-26 Michael Albinus <michael.albinus@gmx.de>
1425
1426 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1427 names on MS Windows, like "/[::1]:".
1428
1429 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1430 SWITCHES.
1431
624780f0
GM
14322013-11-26 Glenn Morris <rgm@gnu.org>
1433
0bf3f0fa
GM
1434 * progmodes/python.el (python-indent-guess-indent-offset):
1435 Avoid corner-case error. (Bug#15975)
1436
624780f0
GM
1437 Preload leim-list.el. (Bug#4789)
1438 * loadup.el: Load leim-list.el when found.
1439 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1440
4301875e 14412013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1442
1443 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1444
4301875e
BB
1445 * emacs-lisp/helpers.el (string-join): New function.
1446
1633a815 14472013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1448
1449 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1450 Mark as obsolete and replace it with a symbol property.
1451 (byte-compile-form): Use new 'interactive-only property.
1452 * comint.el, files.el, replace.el, simple.el:
1453 Apply new 'interactive-only properly.
1454
00139435
MR
14552013-11-25 Martin Rudalics <rudalics@gmx.at>
1456
1457 * window.el (display-buffer-at-bottom): Make sure that
1458 split-window-sensibly creates the new window on bottom
1459 (Bug#15961).
1460
5f5b128d
DK
14612013-11-23 David Kastrup <dak@gnu.org>
1462
1463 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1464 on the conflict markers when available.
1465 (smerge--get-marker): New function.
1466 (smerge-end-re, smerge-base-re): Add subgroup.
1467
623891e5
SM
14682013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 * frame.el (handle-focus-in, handle-focus-out): Add missing
1471 interactive spec.
1472
05ca27d8
MA
14732013-11-25 Michael Albinus <michael.albinus@gmx.de>
1474
1475 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1476 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1477
511fa0d3
SM
14782013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1479
e82ad66c
SM
1480 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1481 (gomoku--last-pos): New var.
1482 (gomoku--intangible-chars): New const.
1483 (gomoku--intangible): New function.
1484 (gomoku-mode): Use it. Derive from special-mode.
1485 (gomoku-move-up): Adjust line count.
1486 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1487 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1488 Simplify accordingly.
1489
511fa0d3
SM
1490 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1491 Remove blink-cursor code.
1492 (blink-cursor-timer-function, blink-cursor-suspend):
1493 Don't special-case GUIs.
1494 (blink-cursor-mode): Use focus-in/out-hook.
1495
6f20dd03
DG
14962013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1497
1498 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1499 work when annotation is invisible (Bug#13886).
1500
431dec31 15012013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1502
1503 * json.el (json-alist-p): Only return non-nil if the alist has
1504 simple keys (Bug#13518).
1505
431dec31 15062013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1507
1508 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1509 when control-statement is the first statement in a buffer (Bug#15956).
1510
ee4f0261
DG
15112013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1512
1513 * imenu.el (imenu-generic-skip-comments-and-strings):
1514 New option (Bug#15560).
1515 (imenu--generic-function): Use it.
1516
c484f866
JS
15172013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1518
1519 * minibuffer.el (completion--in-region-1): Scroll the correct
1520 window. (Bug#13898)
1521
41ce6f70
BB
15222013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1523
b55aea38
BB
1524 * emacs-lisp/helpers.el: Add some string helpers.
1525 (string-trim-left): Removes leading whitespace.
1526 (string-trim-right): Removes trailing whitespace.
1527 (string-trim): Removes leading and trailing whitespace.
1528
41ce6f70
BB
1529 * subr.el (string-suffix-p): New function.
1530
3cfb6af3
GM
15312013-11-23 Glenn Morris <rgm@gnu.org>
1532
1533 * progmodes/python.el (python-shell-send-file):
1534 Add option to delete file when done. (Bug#15647)
1535 (python-shell-send-string, python-shell-send-region): Use it.
1536
c27924b7
IS
15372013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1538
e1b01c7f
IS
1539 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1540 to set buffer-read-only to t, never to nil. (Bug#15938)
1541
c27924b7
IS
1542 * textmodes/tex-mode.el (latex-noindent-environments):
1543 Add safe-local-variable property. (Bug#15936)
1544
17e0445b
GM
15452013-11-23 Glenn Morris <rgm@gnu.org>
1546
92f78ea3
GM
1547 * textmodes/enriched.el (enriched-mode): Doc fix.
1548 * emacs-lisp/authors.el (authors-renamed-files-alist):
1549 Add enriched.doc -> enriched.txt.
1550
17e0445b
GM
1551 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1552
965bb23a
LL
15532013-11-22 Leo Liu <sdl.web@gmail.com>
1554
1555 * progmodes/octave.el (inferior-octave-startup): Spit out error
1556 message.
1557
d19ffd64
BB
15582013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1559
1560 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1561 Improve docstring.
15ba2182
BB
1562 Add :version.
1563 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1564
7a7567d2
LL
15652013-11-22 Leo Liu <sdl.web@gmail.com>
1566
1567 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1568 (Bug#15076)
8c09f64b
LL
1569 (octave-help-mode): Adapt to change to help-mode-finish to use
1570 derived-mode-p on 2013-09-17.
1571 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1572 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1573
724bc265
LL
15742013-11-22 Leo Liu <sdl.web@gmail.com>
1575
1576 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1577 (inferior-octave-startup, inferior-octave-check-process)
1578 (inferior-octave-track-window-width-change)
1579 (octave-completion-at-point, octave-eldoc-function): Use it.
1580 (octave-kill-process): Provide confirmation. (Bug#10564)
1581
38637cca
LL
15822013-11-21 Leo Liu <sdl.web@gmail.com>
1583
511fa0d3
SM
1584 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1585 Fix obsolete variable comment-use-global-state.
38637cca 1586
06e752b4
RS
15872013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1588
511fa0d3
SM
1589 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1590 Add `octave-source-file'.
06e752b4
RS
1591 (octave-source-file): New function. (Bug#15935)
1592
0449d6cd 15932013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1594
1595 * net/eww.el (eww-local-regex): New variable.
1596 (eww): Use it to detect localhost and similar.
1597
b6ffa04a
LL
15982013-11-21 Leo Liu <sdl.web@gmail.com>
1599
1600 Add completion for command `ag'.
2021a200
LL
1601 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1602 (pcomplete/ag): New function.
1603 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1604
d1a6bccc
SM
16052013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1608 (bug#14646).
1609 (make-obsolete): Remove interactive spec.
1610
2df10228
GM
16112013-11-21 Glenn Morris <rgm@gnu.org>
1612
1613 * startup.el (command-line-1): Use path-separator with -L.
1614
86fd16b6
TZ
16152013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1616
1617 * emacs-lisp/package.el (describe-package-1): Add package archive
1618 to shown fields.
1619
0449d6cd 16202013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1621
1622 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1623 Change default to "# encoding: %s" to differentiate it from the
1624 default Ruby encoding comment template.
1625
dc7e8c17 16262013-11-20 era eriksson <era+emacsbugs@iki.fi>
1627
1628 * ses.el (ses-mode): Doc fix. (Bug#14748)
1629
f0cfa5fe
LL
16302013-11-20 Leo Liu <sdl.web@gmail.com>
1631
1632 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1633
826dc7b6
DN
16342013-11-19 Dan Nicolaescu <dann@gnu.org>
1635
1636 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1637 when rebase or bisect are in progress.
1638
a6e3a5d5
XF
16392013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1640
1641 * filenotify.el (file-notify-add-watch): Doc fix.
1642
f130cb76
LL
16432013-11-19 Leo Liu <sdl.web@gmail.com>
1644
e0855d7d
LL
1645 * obsolete/rcompile.el: Mark obsolete.
1646
f130cb76 1647 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1648 (compilation-goto-locus, compilation-find-file):
1649 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1650 (Bug#13594)
1651
1652 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1653 new parameter no-display-ok. Return either a window or nil
1654 but never a non-window value.
f130cb76 1655
1f35d401
SM
16562013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1657
25158c76
SM
1658 * electric.el (electric-indent-mode-map): Remove.
1659 (electric-indent-mode): Change the global-map instead (bug#15915).
1660
1661 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1662 Use add-function.
1f35d401 1663
9bc67baa
SM
16642013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1665
986545b5
SM
1666 * emacs-lisp/nadvice.el (remove-function): Align with
1667 add-function's behavior.
1668
9bc67baa
SM
1669 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1670 (gdb--string-regexp): New constant.
1671 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1672 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1673 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1674 submatch 1.
1675 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1676 Adjust use accordingly.
1677 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1678
56cd894e
AS
16792013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1680
1681 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1682 interpolation curlies (Bug#15914).
1683
014690de
JB
16842013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1685
1686 * calc/calc.el (calc-context-sensitive-enter): New variable.
1687 (calc-enter): Use `calc-context-sensitive-enter'.
1688
7e26a6c3
TZ
16892013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1690
1691 * progmodes/cfengine.el: Version bump.
1692 (cfengine-cf-promises): New defcustom to locate cf-promises.
1693 (cfengine3-vartypes): Add new "data" type.
1694 (cfengine3--current-word): New function to get current name-like
1695 word or its bounds.
1696 (cfengine3--current-function): New function to look up a CFEngine
1697 function's definition.
1698 (cfengine3-format-function-docstring): New function.
1699 (cfengine3-make-syntax-cache): New function.
1700 (cfengine3-documentation-function): New function: ElDoc glue.
1701 (cfengine3-completion-function): New function: completion glue.
1702 (cfengine3-mode): Set `compile-command',
1703 `eldoc-documentation-function', and add to
1704 `completion-at-point-functions'.
1705
355204dd
MA
17062013-11-16 Michael Albinus <michael.albinus@gmx.de>
1707
1708 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1709 `tramp-current-connection'.
1710
43cebc23
DG
17112013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1712
1713 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1714 nil/self/true/false with "end of symbol".
1715
a3fed6ff
BB
17162013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1717
1718 * subr.el (version-regexp-alist): Fix a typo.
1719
e675b3e4
MA
17202013-11-15 Michael Albinus <michael.albinus@gmx.de>
1721
1722 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1723 "en_US.utf8" and "LC_CTYPE" to "".
1724 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1725 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1726
a1f03e89
LL
17272013-11-15 Leo Liu <sdl.web@gmail.com>
1728
1729 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1730
5d9d9451
SM
17312013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1732
58362662
CS
1733 * progmodes/gud.el (ctl-x-map):
1734 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1735 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1736
6c1bf086
BB
17372013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1738
0d5363c4
BB
1739 * subr.el (version-regexp-alist):
1740 Recognize hg, svn and darcs versions as snapshot versions.
1741
4e9fc48c
BB
1742 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1743 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1744 (ruby--encoding-comment-required-p): Extract from
1745 `ruby-mode-set-encoding'.
1746 (ruby-mode-set-encoding): Add the ability to always insert an
1747 utf-8 encoding comment. Fix and simplify coding comment update
1748 logic.
6c1bf086 1749
2f7e72f8
MA
17502013-11-14 Michael Albinus <michael.albinus@gmx.de>
1751
1752 * net/tramp-gvfs.el (top): Run init code only when
1753 `tramp-gvfs-enabled' is not nil.
1754 (tramp-gvfs-enabled): Check also :system bus.
1755
0f137a73
SM
17562013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1757
1758 Sync with upstream verilog-mode revision 78e66ba.
1759 * progmodes/verilog-mode.el (verilog-end-of-defun)
1760 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1761 (verilog-get-end-of-defun): Remove unused argument.
1762 (verilog-comment-depth): Remove unused local `e'.
1763 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1764 Don't pass arg to verilog-get-end-of-defun.
1765
1c276bdd
GM
17662013-11-14 Glenn Morris <rgm@gnu.org>
1767
1768 * obsolete/assoc.el (aget): Prefix dynamic variable.
1769
1770 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1771
ff6ec81d
SM
17722013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1773
1774 * widget.el, hfy-cmap.el: Remove bogus package version number.
1775
75f777b6
GM
17762013-11-13 Glenn Morris <rgm@gnu.org>
1777
1d43dba1
GM
1778 * replace.el (replace-eval-replacement):
1779 Try to give more helpful error message. (Bug#15836)
1780
ff4b7bd5
GM
1781 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1782 (archive-7z-update): Avoid custom type mismatches.
1783
75f777b6
GM
1784 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1785
11151a06
MA
17862013-11-13 Michael Albinus <michael.albinus@gmx.de>
1787
e675b3e4 1788 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1789 address can be empty.
1790
1791 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1792 Accept nil SWITCHES.
1793 (tramp-gvfs-handle-write-region): Implement APPEND.
1794
7b08f97e
DG
17952013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1796
1797 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1798 binary "|" operator and closing block args delimiter.
1799 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1800 (ruby-smie--implicit-semi-p): Not after "|" operator.
1801 (ruby-smie--closing-pipe-p): New function.
1802 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1803 (ruby-smie-rules): Indent after "|".
1804
f201cf3a
GM
18052013-11-12 Glenn Morris <rgm@gnu.org>
1806
1807 * ps-print.el (ps-face-attribute-list):
1808 Handle anonymous faces. (Bug#15827)
1809
e6f759f9
MR
18102013-11-12 Martin Rudalics <rudalics@gmx.at>
1811
1812 * window.el (display-buffer-other-frame): Fix doc-string.
1813 (Bug#15868)
1814
ecda65d4
SM
18152013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1816
1817 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1818
7ce8fcc3
MA
18192013-11-11 Michael Albinus <michael.albinus@gmx.de>
1820
1821 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1822 (tramp-sh-handle-file-local-copy): Don't write a message when
1823 saving temporary files.
1824
1825 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1826 both directories are remote.
1827 (tramp-smb-handle-directory-files): Do not return double entries.
1828 Do not expand full file names.
1829 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1830 (tramp-smb-handle-write-region): Implement APPEND.
1831 (tramp-smb-get-stat-capability): Fix a stupid bug.
1832
7818df11
SM
18332013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1836
608c2085
NT
18372013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1838
1839 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1840 throwing error over malformed let/let* (bug#15814).
1841
122a7e46
SM
18422013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 * iswitchb.el (iswitchb-mode): Mark obsolete.
1845
766284d9
GM
18462013-11-11 Glenn Morris <rgm@gnu.org>
1847
1848 * international/uni-bidi.el, international/uni-category.el:
1849 * international/uni-name.el, international/uni-numeric.el:
1850 Regenerate for Unicode 6.3.0.
1851
7072a4e9
MA
18522013-11-10 Michael Albinus <michael.albinus@gmx.de>
1853
1854 * net/tramp.el (tramp-methods):
1855 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1856 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1857
c9df215b
AS
18582013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1859
608c2085
NT
1860 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1861 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1862
fa47d796
DG
18632013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1864
1865 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1866 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1867 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1868 (ispell-complete-word): Call `ispell-lookup-words' with the value
1869 independent of `ispell-look-p'.
1870
1629a329
DG
18712013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1872
1873 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1874 Not after "||".
1875 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1876 their parent.
1877
ad16897c
SM
18782013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1881 (ruby-font-lock-keywords): Use backquote.
1882
ffa2df72
DG
18832013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1884
1885 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1886 (ruby-smie--backward-token): Only consider full-string matches.
1887
5b97b4c0
JD
18882013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1889
1890 * faces.el (describe-face): Add distant-foreground.
1891
71731c03
BB
18922013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1893
4e9fc48c
BB
1894 * progmodes/ruby-mode.el: Improve encoding comment handling.
1895 (ruby-encoding-magic-comment-style): New option.
1896 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1897 (ruby--insert-coding-comment, ruby--detect-encoding):
1898 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1899 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1900 to control the style of the auto-inserted encoding comment.
71731c03 1901
da3b328d
DG
19022013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1903
ad16897c
SM
1904 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1905 Use `smie-backward-sexp' with token argument.
da3b328d 1906
1606c2d3
MA
19072013-11-08 Michael Albinus <michael.albinus@gmx.de>
1908
1909 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1910 Remove instrumentation code.
1911
b0f4c320
GM
19122013-11-08 Glenn Morris <rgm@gnu.org>
1913
1914 * progmodes/autoconf.el (autoconf-mode):
1915 Tweak comment-start-skip. (Bug#15822)
1916
43668fb1
SM
19172013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1920 at bobp (bug#15826).
1921 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1922
daddb3fd
DH
19232013-11-08 Darren Hoo <darren.hoo@gmail.com>
1924
1925 * man.el (Man-start-calling): New macro, extracted from
1926 Man-getpage-in-background.
1927 (Man-getpage-in-background): Use it.
1928 (Man-update-manpage): New command.
1929 (Man-mode-map): Bind it.
1930
1f923923
DG
19312013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1932
1933 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1934 of "and", "or", "&&" and "||".
1935 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1936 argument. Prohibit opening curly brace because it could only be a
1937 block opener in that position.
daddb3fd
DH
1938 (ruby-smie--forward-token, ruby-smie--backward-token):
1939 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1940 arguments.
1941 (ruby-smie--indent-to-stmt): New function, seeks the end of
1942 previous statement or beginning of buffer.
1943 (ruby-smie-rules): Use it.
1944 (ruby-smie-rules): Check if there's a ":" before a curly block
1945 opener candidate; if there is, it's a hash.
1946
3220d527
SM
19472013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1950 (cl--block-wrapper): Fix last accidental change.
1951
1eb1f9e0
MA
19522013-11-07 Michael Albinus <michael.albinus@gmx.de>
1953
1954 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1955 Instrument, in order to hunt failure on hydra.
1956
e6e4db3c
NT
19572013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1958
1959 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1960 malformed bindings form (bug#15814).
1961
b420ccfc
DG
19622013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1963
1964 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1965 "." compared to " @ ". This incidentally fixes some indentation
1966 examples with "do".
e6e4db3c 1967 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1968 (ruby-smie-grammar): New tokens: "and" and "or".
1969 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1970 Exclude "and" and "or". Remove "do" in order to work around token
1971 priorities.
1972 (ruby-smie-rules): Add all infix tokens. Handle the case of
1973 beginning-of-buffer.
b420ccfc 1974
6b4ac03e
GM
19752013-11-06 Glenn Morris <rgm@gnu.org>
1976
1977 * Makefile.in (setwins_almost, setwins_for_subdirs):
1978 Avoid accidental matches.
1979
5ca114d1
SM
19802013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * menu-bar.el (popup-menu): Use key-binding.
1983
f72552bd
EZ
19842013-11-06 Eli Zaretskii <eliz@gnu.org>
1985
1986 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1987 menus, support also the menus produced by minor modes.
1988 (Bug#15817)
1989
5d5c701e
LL
19902013-11-06 Leo Liu <sdl.web@gmail.com>
1991
1992 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1993 DISTANCE to bound the search. All uses changed. (Bug#15808)
1994
0a8b75e2
GM
19952013-11-06 Glenn Morris <rgm@gnu.org>
1996
1997 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1998 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1999 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2000
a35287ea
SM
20012013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2002
feca4e2d
SM
2003 * electric.el (electric-indent-just-newline): New command.
2004 (electric-indent-mode-map): New keymap.
2005 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2006 Re-add :group which weren't redundant.
2007
a35287ea
SM
2008 * electric.el (electric-indent-local-mode): New minor mode.
2009 (electric-indent-functions-without-reindent): New var.
2010 (electric-indent-post-self-insert-function): Use it.
2011 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2012
375761b2
EZ
20132013-11-05 Eli Zaretskii <eliz@gnu.org>
2014
9a6ad735
EZ
2015 * international/quail.el (quail-help): Be more explicit about the
2016 meaning of the labels shown on the keys. (Bug#15800)
2017
375761b2
EZ
2018 * startup.el (normal-top-level): Load the subdirs.el files before
2019 setting the locale environment. (Bug#15805)
2020
520a6e4a
SM
20212013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2022
0acfafef
SM
2023 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2024 via arguments so as to get the right ones (bug#15418).
2025
520a6e4a
SM
2026 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2027
15826261
MA
20282013-11-05 Michael Albinus <michael.albinus@gmx.de>
2029
2030 Fix problems found while writing a test suite.
2031
2032 * net/tramp-compat.el (tramp-compat-load): New defun.
2033 * net/tramp.el (tramp-handle-load): Use it.
2034
2035 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2036 "(numberp ok-if-already-exists)" correctly.
2037
d35f31a4
XF
20382013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2039
2040 * international/characters.el (glyphless-char-display-control):
2041 Add usage note.
2042
ae93bc74
BB
20432013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2044
520a6e4a
SM
2045 * progmodes/python.el (python-mode):
2046 * progmodes/scheme.el (scheme-mode):
2047 * progmodes/prolog.el (prolog-mode):
2048 * progmodes/ruby-mode.el (ruby-mode):
2049 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2050 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2051
0ade65b5
SM
20522013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2053
a0d5f7a4
SM
2054 * rect.el (rectangle--highlight-for-redisplay):
2055 * emacs-lisp/smie.el (smie--next-indent-change):
2056 Use buffer-chars-modified-tick.
2057
c93f3f5c
SM
2058 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2059
0ade65b5
SM
2060 * electric.el (electric-indent-post-self-insert-function):
2061 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2062
ef9dd188
HE
20632013-11-04 Helmut Eller <eller.helmut@gmail.com>
2064
2065 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2066
306e7308
NT
20672013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2068
2069 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2070 (bug#15786).
2071
e5afbcac
SM
20722013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2073
1d01ad41
SM
2074 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2075
e5afbcac
SM
2076 * progmodes/python.el: Fix up last change.
2077 (python-shell--save-temp-file): New function.
2078 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2079 `string' comes from the current buffer.
2080 (python-shell-send-string-no-output): Remove `msg' arg.
2081 (python--use-fake-loc): New var.
2082 (python-shell-buffer-substring): Obey it. Try to compensate for the
2083 extra coding line added by python-shell--save-temp-file.
2084 (python-shell-send-region): Use python-shell--save-temp-file and
2085 python-shell-send-file directly. Add `nomain' argument.
2086 (python-shell-send-buffer): Use python-shell-send-region.
2087 (python-electric-pair-string-delimiter): New function.
2088 (python-mode): Use it.
2089
d0065ff1
EZ
20902013-11-04 Eli Zaretskii <eliz@gnu.org>
2091
2092 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2093 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2094 environment and decoding all of the default-directory's to here
2095 from command-line.
2096 (command-line): Decode also argv[0].
2097
2098 * loadup.el: Error out if default-directory is a multibyte string
2099 when we are dumping.
2100
2101 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2102
7397c587
TZ
21032013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2104
2105 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2106 (package-menu--print-info, package-menu--archive-predicate):
2107 Add Archive column to package list.
7397c587 2108
b27cc9fc
MA
21092013-11-04 Michael Albinus <michael.albinus@gmx.de>
2110
2111 Fix problems found while writing a test suite.
2112
2113 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2114 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2115 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2116 to nil when running original file name handler. Otherwise,
2117 there are problems with constructs like "$$FOO".
2118
2119 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2120 for `localname'.
2121
d8c4f18a
BB
21222013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2123
7b530552
BB
2124 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2125
2126 * subr.el (version<, version<=, version=):
2127 Update docstrings with information for snapshot versions.
2128
d8c4f18a
BB
2129 * helpers.el: New library for misc helper functions.
2130 (hash-table-keys): New function returning a list of hash keys.
2131 (hash-table-values): New function returning a list of hash values.
2132
dca01b09
DG
21332013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2134
2135 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2136 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2137
0a749fa0
MN
21382013-11-04 Michal Nazarewicz <mina86@mina86.com>
2139
2140 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2141 checking whether point is after a 1-letter word.
2142
21432013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2144
2145 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2146 Don't infloop when expanding region over `multiline' syntax-type that
2147 begins a line (bug#15778).
2148
4aca7145
SM
21492013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2152 Make it into a proper minor mode.
2153 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2154 (rectangle-mark-mode-map): New keymap.
2155 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2156
a0833f62
GM
21572013-11-04 Glenn Morris <rgm@gnu.org>
2158
2159 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2160
e61845c1
SM
21612013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2162
2163 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2164 (ruby-smie-rules): Use smie-rule-parent instead.
2165
2166 * emacs-lisp/smie.el (smie-rule-parent): Always call
2167 smie-indent-virtual rather than only for hanging tokens.
2168 (smie--next-indent-change): New helper command.
2169
62942f89
GM
21702013-11-03 Glenn Morris <rgm@gnu.org>
2171
2172 * Makefile.in (abs_srcdir): Remove.
2173 (emacs): Unset EMACSLOADPATH.
2174
b0b9e592
GM
21752013-11-02 Glenn Morris <rgm@gnu.org>
2176
18ba6a33 2177 * Makefile.in (EMACS): Use a relative filename.
8061810d 2178 (abs_top_builddir): Remove.
18ba6a33
GM
2179 (custom-deps, finder-data, autoloads): Use --chdir.
2180
6a8b929e
GM
2181 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2182
c617f3d0
GM
2183 Use relative filenames in TAGS files.
2184 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2185 (lisptagsfiles4, TAGS): Use relative file names.
2186 (TAGS-LISP): Remove.
2187 (maintainer-clean): No more TAGS-LISP file.
2188
b0b9e592
GM
2189 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2190 (lisptagsfiles4): Use absolute filenames again.
2191 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2192 Remove all *loaddefs files, not just the first. Remove esh-groups.
2193 (maintainer-clean): Delete TAGS, TAGS-LISP.
2194
d1c0ea6a
BB
21952013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2196
e61845c1
SM
2197 * emacs-lisp/package.el (package-version-join):
2198 Recognize snapshot versions.
d1c0ea6a 2199
684d71c6
BB
22002013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2201
2202 * subr.el (version-regexp-alist): Add support for snapshot versions.
2203
3d42b968
DG
22042013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2205
e61845c1
SM
2206 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2207 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2208 skip over our direct parent if it's an assignment token..
2209 (ruby-smie-rules): Use it.
2210
7ffd3721
DG
22112013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2212
2213 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2214 unconditionally. Remove now unnecessary forward declarations.
2215 Remove XEmacs-specific setup.
2216 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2217 (ruby-font-lock-syntactic-keywords)
2218 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2219 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2220 (ruby-here-doc-end-syntax): Remove.
2221 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2222 defined as function.
2223
a3996a2e
BB
22242013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2225
2226 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2227
6f9260e8
BB
22282013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2229
2230 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2231 table and abbrev table, `define-derived-mode' does that for us
2232 anyway.
2233
6014de84
GM
22342013-11-01 Glenn Morris <rgm@gnu.org>
2235
2236 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2237 files is atomic for some time, so no parallel compilation issues).
2238
3c334c14
JD
22392013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2240
2241 * faces.el (face-x-resources): Add :distant-foreground.
2242 (region): Use :distant-foreground for gtk and ns.
2243
9bc236c8
TH
22442013-11-01 Tassilo Horn <tsdh@gnu.org>
2245
5246583b 2246 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2247 BibTeX.
2248 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2249 (reftex-locate-bibliography-files): Us it.
2250
d14c81ee
CB
22512013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2252
0e7690de
CB
2253 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2254 allow comments in pbm files.
2255
d14c81ee
CB
2256 * term/w32-win.el (dynamic-library-alist): Support newer versions
2257 of libjpeg starting with v7: look only for the DLL from the
2258 version against which Emacs was built.
ac1bf374 2259 Support versions of libpng beyond 1.4.x.
019c8218 2260 Support libtiff v4.x.
d14c81ee 2261
983d0df5
BB
22622013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2263
2264 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2265 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2266 Add property :safe.
2267 (ruby-deep-arglist): Add property :type.
2268
47f58d85
GM
22692013-10-31 Glenn Morris <rgm@gnu.org>
2270
2271 * Makefile.in (custom-deps, finder-data): No need to setq the target
2272 variables, we are in the right directory and the defaults work fine.
2273
4f85b479
GM
22742013-10-30 Glenn Morris <rgm@gnu.org>
2275
ca7dd4cd
GM
2276 * Makefile.in (autoloads): Do not use abs_lisp.
2277
4f85b479
GM
2278 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2279 `newline' does not respect `standard-output', so use `princ'.
2280
cf59e41c
AA
22812013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2282
2283 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2284 * buff-menu.el (Buffer-menu--unmark): New function.
2285 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2286
74cf04fb
GM
22872013-10-30 Glenn Morris <rgm@gnu.org>
2288
b040b60e
GM
2289 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2290
f53d3815
GM
2291 * emacs-lisp/package.el (lm-homepage): Declare.
2292
5413d873
GM
2293 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2294 Fix doc typos.
2295
cecedb36
GM
2296 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2297
74cf04fb
GM
2298 * Makefile.in (finder-data, autoloads, update-subdirs)
2299 (compile-main, compile-clean, compile-always, bootstrap-clean):
2300 Check return value of cd.
2301 (compile-calc): Remove.
2302
195ee2f0
SM
23032013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2304
ae4002ce
SM
2305 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2306
2307 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2308 (byte-compile-and-folded): New function.
2309 (=, <, >, <=, >=): Use it.
2310
2311 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2312 (path-separator, null-device, buffer-file-coding-system)
2313 (lpr-headers-switches): Check system-type before modifying them.
2314 (find-buffer-file-type-coding-system): Mark obsolete.
2315 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2316 find-file-not-found-set-buffer-file-coding-system.
2317 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2318 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2319 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2320 (w32-direct-print-region-helper, w32-direct-print-region-function)
2321 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2322 * startup.el (normal-top-level-add-subdirs-to-load-path):
2323 * ps-print.el (ps-print-region-function):
2324 * lpr.el (print-region-function): Use new name.
2325
53b39e89
SM
2326 * subr.el (custom-declare-variable-early): Remove function.
2327 (custom-declare-variable-list): Remove var.
2328 (error, user-error): Remove `while' loop.
2329 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2330 (user-emacs-directory-warning, locate-user-emacs-file):
2331 Move to files.el.
2332 * simple.el (read-quoted-char-radix, read-quoted-char):
2333 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2334 Move from subr.el.
2335 * custom.el (custom-declare-variable-list): Don't process
2336 custom-declare-variable-list.
2337
195ee2f0
SM
2338 * progmodes/python.el (python-shell-get-buffer): New function.
2339 (python-shell-get-process): Use it.
2340 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2341 Python which encoding was used. Don't split-string since we only care
2342 about the first line. Return the temp-file, if applicable.
2343 (python-shell-send-region): Tell compile.el how to turn locations in
2344 the temp-file into locations in the source buffer.
2345
7e3561ee
SM
23462013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2347
4c9797cb
SM
2348 * subr.el (undefined): Add missing behavior from the C code for
2349 unbound keys.
2350
3472b6c6
SM
2351 * rect.el: Use lexical-binding. Add new rectangular region support.
2352 (rectangle-mark): New command.
2353 (rectangle--region): New var.
2354 (deactivate-mark-hook): Reset rectangle--region.
2355 (rectangle--extract-region, rectangle--insert-for-yank)
2356 (rectangle--highlight-for-redisplay)
2357 (rectangle--unhighlight-for-redisplay): New functions.
2358 (region-extract-function, redisplay-unhighlight-region-function)
2359 (redisplay-highlight-region-function): Use them to handle
2360 rectangular region.
2361 * simple.el (region-extract-function): New var.
2362 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2363 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2364 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2365 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2366 (redisplay-unhighlight-region-function)
2367 (redisplay-highlight-region-function): New vars.
2368 (redisplay--update-region-highlight): New function.
2369 (pre-redisplay-function): Use it.
2370 (exchange-point-and-mark): Don't deactivate the mark before
2371 reactivate-it anyway.
2372 * comint.el (comint-kill-region): Remove yank-handler argument.
2373 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2374 (delete-char): Remove property, since it's now part of their
2375 default behavior.
2376 (self-insert-iso): Remove property since this command doesn't exist.
2377
7e3561ee
SM
2378 * emacs-lisp/package.el (package--download-one-archive)
2379 (describe-package-1): Don't query the user about final newline.
2380
b9bef71f
DC
23812013-10-29 Daniel Colascione <dancol@dancol.org>
2382
2383 * net/tramp.el (tramp-methods): Document new functionality.
2384 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2385 tramp-hostname-checker if method provides one instead of scanning
2386 argument list for "%h" to decide hostname acceptability.
2387
4efc33f0
MA
23882013-10-28 Michael Albinus <michael.albinus@gmx.de>
2389
2390 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2391 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2392 Handle COPY-CONTENTS. (Bug#15737)
2393
ed42a877
DU
23942013-10-28 Daiki Ueno <ueno@gnu.org>
2395
2396 * epa-file.el
7e3561ee
SM
2397 (epa-file-cache-passphrase-for-symmetric-encryption):
2398 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2399
18c9f8a2
XF
24002013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2401
7a4bc7be
XF
2402 * image.el (defimage):
2403 (image-load-path): Doc fixes.
18c9f8a2 2404
b1e8e010
AM
24052013-10-27 Alan Mackenzie <acm@muc.de>
2406
2407 Indent statements in macros following "##" correctly.
7e3561ee
SM
2408 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2409 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2410
73d40d1e 24112013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2412
2413 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2414
c8c605ac
DG
24152013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2416
2417 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2418 after `=' is probably a new expression.
2419
ca7e59d4
RS
24202013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2421
2422 * man.el (man-imenu-title): New option.
2423 (Man-mode-map): Add menu. (Bug#15722)
2424 (Man-mode): Add imenu to menu.
2425
bae91342
DG
24262013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2427
2428 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2429 specific in what the first arg can be: a non-keyword word,
2430 string/regexp/percent literal opener, opening paren, or unary
2431 operator followed directly by word.
2432
eb89dc14
SM
24332013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2434
2435 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2436 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2437 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2438 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2439 Remove vars, they do not apply any more.
2440 (prolog-mode-abbrev-table): Remove redundant declaration.
2441 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2442 (prolog-use-smie): Remove.
2443 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2444 supported by prolog-electric-if-then-else-flag.
2445 (prolog-mode-variables, prolog-menu): Use setq-local.
2446 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2447 Remove binding to `Backspace' since this key doesn't exist anyway.
2448 Remove bindings for electric self-inserting keys.
2449 (prog-mode): Assume it's defined.
2450 (prolog-post-self-insert): New function.
2451 (prolog-mode): Use it.
2452 (prolog-indent-line, prolog-indent-level)
2453 (prolog-find-indent-of-matching-paren)
2454 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2455 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2456 (prolog-goto-next-paren, prolog-in-string-or-comment)
2457 (prolog-tokenize, prolog-inside-mline-comment)
2458 (prolog-find-start-of-mline-comment): Remove functions.
2459 (prolog-find-unmatched-paren, prolog-clause-end)
2460 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2461 (prolog-electric--if-then-else): Rename from
2462 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2463 (prolog-tokenize-searchkey): Remove const.
2464 (prolog-clause-info): Use forward-sexp.
2465 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2466 (prolog-electric-if-then-else): Remove commands.
2467 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2468 for use in post-self-insert-hook.
2469 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2470 for use in post-self-insert-hook.
2471 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2472 for use in post-self-insert-hook.
2473 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2474 adapt it for use in post-self-insert-hook.
2475
3dab0a83
MA
24762013-10-25 Michael Albinus <michael.albinus@gmx.de>
2477
2478 * emacs-lisp/ert.el (ert-run-tests-interactively):
2479 Use `completing-read'. (Bug#9756)
2480
fbfd0e1d
EZ
24812013-10-25 Eli Zaretskii <eliz@gnu.org>
2482
2483 * simple.el (line-move): Call line-move-1 instead of
2484 line-move-visual when the current window hscroll is zero, but
2485 temporary-goal-column indicates we will need to hscroll as result
2486 of the movement. (Bug#15712)
2487
963ce636
DG
24882013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2489
2490 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2491 capitalization. Use :visible instead of :active.
2492 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2493 commands that are used with SMIE.
2494 (ruby-do-end-to-brace): Insert space after `{'.
2495
a0be396a
JA
24962013-10-25 John Anthony <john@jo.hnanthony.com>
2497
f73754c9
JA
2498 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2499
2500 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2501
f5bf77df
GM
25022013-10-25 Glenn Morris <rgm@gnu.org>
2503
2504 * vc/vc.el (vc-print-log): Don't use a working revision unless
2505 one was explicitly specified. (Bug#15322)
2506
37241f62
SM
25072013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2508
2509 * subr.el (add-to-list): Preserve return value in compiler-macro
2510 (bug#15692).
2511
6408a65d
RS
25122013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2513
2514 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2515 result. Ask user to retry using '-all' flag. (Bug#15701)
2516
71e3276b
SM
25172013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2518
2519 * emacs-lisp/smie.el: New smie-config system.
2520 (smie-config): New defcustom.
2521 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2522 (smie-config-guess, smie-config-save): New commands.
2523 (smie-config--mode-local, smie-config--buffer-local)
2524 (smie-config--trace, smie-config--modefuns): New vars.
2525 (smie-config--advice, smie-config--mode-hook)
2526 (smie-config--setter, smie-config-local, smie-config--get-trace)
2527 (smie-config--guess-value, smie-config--guess): New functions.
2528 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2529 text properties. Treat "string fence" syntax like string syntax.
2530
2531 * progmodes/sh-script.el (sh-use-smie): Change default.
2532 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2533 (sh-var-value): Simplify by CSE.
2534 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2535 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2536 is used.
2537 (sh-guess-basic-offset): Use cl-incf.
2538 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2539
60db713e
HE
25402013-10-24 Helmut Eller <eller.helmut@gmail.com>
2541
2542 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2543 (bug#15699).
2544
8b251df6
GM
25452013-10-24 Glenn Morris <rgm@gnu.org>
2546
2547 * Makefile.in (abs_top_srcdir): Remove.
2548 (update-subdirs): Use relative path to update-subdirs.
2549
6be0e22b
EZ
25502013-10-24 Eli Zaretskii <eliz@gnu.org>
2551
2552 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2553 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2554 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2555 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2556
50b5b857
MA
25572013-10-24 Michael Albinus <michael.albinus@gmx.de>
2558
2559 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2560 (ert-test-skipped): New error.
2561 (ert-skip, ert-stats-skipped): New defuns.
2562 (ert--skip-unless): New macro.
2563 (ert-test-skipped): New struct.
2564 (ert--run-test-debugger, ert-test-result-type-p)
2565 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2566 (ert--stats-set-test-and-result, ert-char-for-test-result)
2567 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2568 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2569 Handle skipped tests. (Bug#9803)
50b5b857 2570
6f317c2f
GM
25712013-10-24 Glenn Morris <rgm@gnu.org>
2572
e43817c1
GM
2573 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2574
6f317c2f
GM
2575 * Makefile.in (abs_top_srcdir): New, set by configure.
2576 (update-subdirs): Correct build-aux location.
2577
369bbf71
DG
25782013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2579
8297b2cf
DG
2580 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2581 value, whether we could auto-deduce `backend', or not.
2582
369bbf71
DG
2583 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2584 with parameters" example. Simplify the "is it block or is it
2585 hash" check, but also make it more thorough.
2586
d5f1282f
MF
25872013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2588
2589 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2590
bc4aaa31
SM
25912013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2592
03d44565
SM
2593 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2594 { if it is hanging.
2595
bc4aaa31
SM
2596 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2597 :before ";".
2598
f493ff19
JB
25992013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2600
2601 * progmodes/compile.el (compilation-directory-matcher)
2602 (compilation-page-delimiter):
2603 Support GNU Make-4.0 directory quoting. (Bug#15678)
2604
c744a3b9
LL
26052013-10-23 Leo Liu <sdl.web@gmail.com>
2606
2607 * ido.el (ido-tidy): Handle read-only text.
2608
b8e3b0a9
GM
26092013-10-23 Glenn Morris <rgm@gnu.org>
2610
2611 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2612 (emacs, compile, compile-always):
2613 Quote entities that might contain whitespace.
2614 (custom-deps, finder-data, autoloads): Use abs_lisp.
2615 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2616 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2617 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2618
ee4282cd
DG
26192013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2620
bc4aaa31
SM
2621 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2622 Use `following-char'.
7790a270 2623
ee4282cd 26242013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2625
2626 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2627 * progmodes/ruby-mode.el (ruby-smie-rules):
2628 Remove corresponding workaround. Fix indentation rule of ";" so it
2629 also applies when ";" is the parent.
2630
d40a46d7
XF
26312013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2632
2633 * frame.el (display-screens, display-pixel-height)
2634 (display-pixel-width, display-mm-width, display-backing-store)
2635 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2636 (display-visual-class, display-monitor-attributes-list):
2637 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2638
a0f143c9
MG
26392013-10-22 Michael Gauland <mikelygee@amuri.net>
2640
2641 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2642 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2643
18cacc39
DG
26442013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2645
2646 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2647 TODO. Add "." after " @ ".
2648 (ruby-smie--at-dot-call): New function. Checks if point at method
2649 call with explicit target.
2650 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2651 to the method name tokens when it precedes them.
2652 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2653 (ruby-smie-rules): Add rule for indentation before and after "."
2654 token.
2655
df74c4be
SM
26562013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2657
c6dab55f
SM
2658 * textmodes/remember.el (remember-diary-extract-entries):
2659 Avoid add-to-list.
2660
df74c4be
SM
2661 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2662 an instruction.
2663
8c1ae481
DG
26642013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2665
cfef16c0
DG
2666 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2667 (ruby-smie--implicit-semi-p): Add new operator chars.
2668
8c1ae481
DG
2669 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2670 `smie-down-list'.
2671 (ruby-smie--args-separator-p): Check that there's no newline
2672 between method call and its arguments.
2673
87756ca9
AM
26742013-10-20 Alan Mackenzie <acm@muc.de>
2675
2676 Allow comma separated lists after Java "implements".
2677
df74c4be
SM
2678 * progmodes/cc-engine.el (c-backward-over-enum-header):
2679 Parse commas.
87756ca9
AM
2680 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2681 from a "disallowed" list in enum fontification.
2682
c25f8957
JB
26832013-10-20 Johan Bockgård <bojohan@gnu.org>
2684
df74c4be 2685 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2686
c25f8957
JB
2687 * progmodes/verilog-mode.el (verilog-mode): Don't set
2688 comment-indent-function globally.
2689
aca5fcdc
JD
26902013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2691
5f161884
JD
2692 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2693 Move Info menu item creation to ns-win.el.
2694
2695 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2696 in menu bar.
2697
aca5fcdc
JD
2698 * menu-bar.el: Move GNUStep specific menus...
2699
2700 * term/ns-win.el (ns-initialize-window-system): ... to here.
2701
914b7f98
SM
27022013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * simple.el (newline): Only run post-self-insert-hook when
2705 called interactively.
2706
846ffe77
JB
27072013-10-19 Johan Bockgård <bojohan@gnu.org>
2708
2709 * icomplete.el (icomplete-with-completion-tables): Add :version.
2710
033f22dd
AM
27112013-10-19 Alan Mackenzie <acm@muc.de>
2712
2713 Fix fontification bugs with constructors and const.
2714
2715 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2716 CASE 2) Remove the check for the absence of a suffix construct
2717 after a function declaration with only types (no identifiers) in
2718 the parentheses. Also, accept a function declaration with just a
2719 type inside the parentheses, if this type can be positively
2720 recognised as such, or if a prefix keyword like "explicit" nails
2721 down the construct as a declaration.
2722
58ce0cfc
EZ
27232013-10-19 Eli Zaretskii <eliz@gnu.org>
2724
2725 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2726 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2727 the problem whereby selecting a menu item that leads to a
2728 minibuffer prompt moves the cursor out of the minibuffer window,
2729 making it hard to type at the prompt. Suggested by Stefan Monnier
2730 <monnier@iro.umontreal.ca>.
2731
50e28e7d
JD
27322013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2733
2734 * menu-bar.el: Don't make Services menu.
2735
7deed4bf
RS
27362013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2737
2738 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2739 (ffap-alist): Use ffap-c++-mode for c++-mode.
2740 (ffap-c++-path): New variable.
2741 (ffap-c++-mode): New function.
2742
7bcb455b
JVJ
27432013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2744
2745 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2746
f0ff1cd5
MA
27472013-10-18 Michael Albinus <michael.albinus@gmx.de>
2748
2749 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2750 introduced on 2013-09-08, which results in an infinite loop
2751 requesting a password.
2752
d64da4b7
GM
27532013-10-18 Glenn Morris <rgm@gnu.org>
2754
2755 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2756
ea89ff08
WS
27572013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2758
2759 Sync with upstream verilog-mode revision 1a6ecec7.
2760 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2761 (verilog-mode-release-date): Remove.
2762 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2763 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2764 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2765 (verilog-auto-tieoff-ignore-regexp)
2766 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2767 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2768 (verilog-signals-with, verilog-dir-cache-preserving)
2769 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2770 Doc fixes.
2771 (verilog-case-fold): New option, to control case folding in
2772 regexp searches, bug597.
2773 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2774 (verilog-string-match-fold, verilog-in-paren-count)
2775 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2776 (verilog-at-close-struct-p): New functions.
2777 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2778 (verilog-forward-sexp, verilog-set-auto-endcomments):
2779 (verilog-leap-to-case-head): Handle "unique0" case.
2780 (verilog-in-constraint-re): New constant.
2781 (verilog-keywords, verilog-type-font-keywords):
2782 Add some SystemVerilog 1800-2012 keywords.
2783 (verilog-label-be): Remove unimplemented argument, bug669.
2784 (verilog-batch-execute-func): When batch expanding clear
2785 create-lockfiles to prevent spurious user locks when a file ends
2786 up not changing.
2787 (verilog-calculate-indent, verilog-calc-1)
2788 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2789 (verilog-do-indent): Fix indentation of nested constraints
2790 and structures.
2791 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2792 (verilog-auto-inst-param): Use verilog-string-match-fold.
2793 (verilog-read-inst-module-matcher):
2794 Fix AUTOINST on gate primitives with #1.
2795 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2796 Reads all user-defined typed variables.
2797 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2798 (verilog-signals-matching-regexp)
2799 (verilog-signals-not-matching-regexp, verilog-auto):
2800 Respect verilog-case-fold.
2801 (verilog-diff-report): Fix line count.
2802 (verilog-auto-assign-modport): Remove unused local `modi'.
2803 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2804 better handle multidimensional arrays.
2805 Fix packed array ports misadding bit index in AUTOINST, bug637.
2806 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2807 to not double-declare existing outputs and inputs, respectively.
2808 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2809 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2810 (verilog-sk-uvm-component): New skeleton.
2811 (verilog-submit-bug-report): Add verilog-case-fold,
2812 remove verilog-mode-release-date.
2813
ef566920
BR
28142013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2815
2816 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2817 as before.
2818
29df8a0b
RT
28192013-10-18 Reuben Thomas <rrt@sc3d.org>
2820
e0eb0550 2821 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
2822 remember buffers (bug#13566).
2823
04a19a79
DC
28242013-10-18 Daniel Colascione <dancol@dancol.org>
2825
2826 When evaluating forms in ielm, direct standard output to ielm
2827 buffer. Add new ielm-return-for-effect command. Remove trailing
2828 whitespace throughout.
2829
2830 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2831 (ielm-return-for-effect): New command.
2832 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2833 (ielm-eval-input): Accept optional `for-effect' parameter.
2834 Bind `standard-output' to stream we create using
04a19a79
DC
2835 `ielm-standard-output-impl'. Suppress printing result when
2836 `for-effect'.
2837 (ielm-standard-output-impl): New function.
2838 (inferior-emacs-lisp-mode): Explain new features in documentation.
2839
4c1f03ef
MA
28402013-10-17 Michael Albinus <michael.albinus@gmx.de>
2841
2842 Code cleanup.
2843
2844 * net/tramp.el (tramp-debug-message): Do not check for connection
2845 buffer.
2846 (tramp-message): Use "vector" connection property.
2847
2848 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2849 (tramp-equal-remote, tramp-eshell-directory-change)
2850 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2851 (tramp-adb-handle-rename-file)
2852 * net/tramp-cmds.el (tramp-list-remote-buffers)
2853 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2854 * net/tramp-compat.el (tramp-compat-process-running-p)
2855 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2856 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2857 (tramp-gvfs-handle-rename-file)
2858 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2859 (tramp-set-file-uid-gid)
2860 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2861 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2862 of `file-remote-p'.
2863
2864 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2865 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2866 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2867 (tramp-gw-open-network-stream): Suppress unrelated traces.
2868
2869 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2870 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2871 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2872 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2873 connection property.
2874
2875 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2876 persistency file.
4c1f03ef
MA
2877
2878 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2879 Refactor common code. Improve debug message.
2880 (tramp-maybe-open-connection)
2881 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2882 connection buffer too early.
2883
2884 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2885 from `tramp-smb-actions-with-acl'.
2886 (tramp-smb-actions-set-acl): New defconst.
2887 (tramp-smb-handle-copy-directory)
2888 (tramp-smb-action-get-acl): New defun, renamed from
2889 `tramp-smb-action-with-acl'.
2890 (tramp-smb-action-set-acl): New defun.
2891 (tramp-smb-handle-set-file-acl): Rewrite.
2892
642eb8b6
GM
28932013-10-17 Glenn Morris <rgm@gnu.org>
2894
2895 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2896
85527ff3
SM
28972013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2898
921c1d62
SM
2899 * skeleton.el (skeleton-newline): Remove.
2900 (skeleton-internal-1): Use (insert "\n") instead.
2901
e333fb10
SM
2902 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2903 let-bindings.
2904
85527ff3
SM
2905 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2906 forward-sexp-function while we redo its job (bug#15613).
2907
c8722a97
JB
29082013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2909
2910 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2911 represented by lists.
2912
7a550bbb
GM
29132013-10-16 Glenn Morris <rgm@gnu.org>
2914
2915 * tmm.el (tmm--history): New dynamic variable.
2916 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2917
f19da8ad
MA
29182013-10-16 Michael Albinus <michael.albinus@gmx.de>
2919
2920 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2921 (tramp-smb-errors): Add error messages.
2922 (tramp-smb-actions-with-acl): New defconst.
2923 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2924 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2925 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2926 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2927 (tramp-smb-get-stat-capability): Fix tests.
2928
a24b9961
DK
29292013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2930
2931 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2932 (bug#15580).
2933
62ad85e6
GM
29342013-10-16 Glenn Morris <rgm@gnu.org>
2935
0283d6b0
GM
2936 * ansi-color.el (ansi-color-drop-regexp):
2937 Add 1J, 1K, 2K. (Bug#15617)
2938
012e2f9f
GM
2939 * files.el (hack-local-variables--warned-lexical): New.
2940 (hack-local-variables):
2941 Warn about misplaced lexical-binding. (Bug#15616)
2942
62ad85e6
GM
2943 * net/eww.el (eww-render): Always set eww-current-url,
2944 and update header line. (Bug#15622)
2945 (eww-display-html): ... Rather than just doing it here.
2946
6456c0ea
EZ
29472013-10-15 Eli Zaretskii <eliz@gnu.org>
2948
2949 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2950 menu navigations commands.
2951
c2de5588
DK
29522013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2953
2954 * progmodes/subword.el (subword-capitalize): Be careful when
2955 the search for [[:alpha:]] fails (bug#15580).
2956
ccd4a783
EZ
29572013-10-14 Eli Zaretskii <eliz@gnu.org>
2958
2959 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2960 to commands that scroll the menu.
2961
1eda1d8d
DG
29622013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2963
c2de5588
DK
2964 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2965 Handle methods ending with `?' and `!'.
1eda1d8d 2966
e70181b8
AM
29672013-10-14 Akinori MUSHA <knu@iDaemons.org>
2968
2969 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2970 `japanese-cp932' to `cp932' to fix the problem where saving a
2971 source file written in Shift_JIS twice would end up having
2972 `coding: japanese-cp932' which Ruby could not recognize.
2973 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2974 in `ruby-encoding-map'.
2975 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2976 doesn't need to be explicitly declared in magic comment.
2977 (ruby-encoding-map): Add type declaration for better customize UI.
2978
9148ee92
GM
29792013-10-13 Glenn Morris <rgm@gnu.org>
2980
a5d38e34
GM
2981 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2982 Occur buffers are read-only. http://bugs.debian.org/720775
2983
9148ee92
GM
2984 * emacs-lisp/authors.el (authors-fixed-entries):
2985 Comment out old alpha stuff.
2986
a9ba094b
DG
29872013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2988
2989 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2990 to `after-save-hook' instead of `before-save-hook'.
2991 (ruby-mode-set-encoding): Use the value of coding system used to
2992 write the file. Call `basic-save-buffer-1' after modifying the
2993 buffer.
2994
7a068717
AM
29952013-10-13 Alan Mackenzie <acm@muc.de>
2996
2997 Fix indentation/fontification of Java enum with
2998 "implements"/generic.
2999
c2de5588
DK
3000 * progmodes/cc-engine.el (c-backward-over-enum-header):
3001 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3002 (c-inside-bracelist-p): Uses new function above.
3003 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3004 function above.
3005 (c-font-lock-enum-tail): Uses new function above.
3006
85b64f02
KH
30072013-10-13 Kenichi Handa <handa@gnu.org>
3008
3009 * international/mule-cmds.el (select-safe-coding-system): Remove a
3010 superfluous condition in chekcing whether a coding system is safe
3011 or not.
3012
fc7f501b
OK
30132013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3014
3015 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3016
fdcb2049
AP
30172013-10-13 Andreas Politz <politza@hochschule-trier.de>
3018
3019 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3020
8c106d17
GM
30212013-10-13 Glenn Morris <rgm@gnu.org>
3022
feab892d
GM
3023 * menu-bar.el (menu-bar-update-buffers):
3024 Unify Buffers menu prompt string. (Bug#15576)
3025
b22d0686
GM
3026 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3027
8c106d17
GM
3028 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3029 Add some entries.
3030 (authors-fixed-entries): Use accented form of name.
3031
1b12c797
SM
30322013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3033
650fa7bf 3034 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3035 method calls (bug#15594).
650fa7bf
SM
3036 (ruby-smie--args-separator-p): New function.
3037 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3038 recognize paren-free method calls.
3039
1b12c797
SM
3040 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3041 internals of universal-argument.
3042
029619c8
EZ
30432013-10-11 Eli Zaretskii <eliz@gnu.org>
3044
3045 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3046 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3047 dropped menu on second mouse click on the menu bar.
029619c8 3048
dd070019
SM
30492013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3052 (explicit-shell-file-name): Declare.
3053 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3054 (sh-completion-at-point-function): New function.
3055 (sh-mode): Use it.
3056 (sh-smie--keyword-p): Remove unused argument.
3057 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3058 vars.
3059 (sh-set-shell): Always setup SMIE, even if we use the
3060 old indentation code.
3061
0922b826
DG
30622013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3063
b68e2926
DG
3064 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3065 cases of ? and =.
3066 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3067 predicate would return nil are almost non-existent.
3068 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3069
0922b826
DG
3070 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3071 cache also after commands that modify the buffer but don't move
3072 point.
3073
ee041f2d
SM
30742013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3075
3076 * env.el (substitute-env-in-file-name): New function.
3077 (substitute-env-vars): Extend the meaning of the optional arg.
3078
a5dab159
EZ
30792013-10-10 Eli Zaretskii <eliz@gnu.org>
3080
3081 * term/w32-win.el (dynamic-library-alist): Define separate lists
3082 of GIF DLLs for versions before and after 5.0.0 of giflib.
3083 (Bug#15531)
3084
0449d6cd 30852013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3086
3087 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3088 not locked, use last revision and current source as
3089 defaults. (Bug#15569)
3090
2f6e161e
MY
30912013-10-10 Masatake YAMATO <yamato@redhat.com>
3092
3093 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3094 menu-bar is hidden.
3095
6c8413fc
MR
30962013-10-10 Martin Rudalics <rudalics@gmx.at>
3097
3098 * window.el (pop-to-buffer-same-window): Fix doc-string.
3099 (Bug#15492)
3100
20832de0
SM
31012013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3102
3103 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3104
c6e8ae77
AC
31052013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3106
3107 * calendar/icalendar.el (icalendar-import-file):
3108 Fix interactive spec. (Bug#15482)
3109
9db13baf
GM
31102013-10-10 Glenn Morris <rgm@gnu.org>
3111
9271e90e
GM
3112 * desktop.el (desktop-save): Default to saving in .emacs.d,
3113 since PWD is no longer in desktop-path by default. (Bug#15319)
3114
9db13baf
GM
3115 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3116 now that text mode has a menu with the same entry.
3117 (menu-bar-text-mode-auto-fill): Remove now unused func.
3118 * textmodes/text-mode.el (text-mode-map):
3119 Use auto-fill help text from menu-bar.el.
3120
a0be396a 31212013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3122
3123 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3124
2edcd3c7
JL
31252013-10-09 Juri Linkov <juri@jurta.org>
3126
3127 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3128 instead of this-command-keys. Add universal-argument-more and
3129 universal-argument-minus to the list of prefix commands. (Bug#15568)
3130
574411d0
GM
31312013-10-09 Glenn Morris <rgm@gnu.org>
3132
14afa541
GM
3133 * vc/vc-svn.el (vc-svn-create-repo):
3134 Expand paths in file://... url. (Bug#15446)
3135
574411d0
GM
3136 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3137 Add some entries.
3138 (authors): Remove unused local variables.
3139
79804536
SM
31402013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * profiler.el: Create a more coherent calltree from partial backtraces.
3143 (profiler-format): Hide the tail with `invisible' so that C-s can still
3144 find the hidden elements.
3145 (profiler-calltree-depth): Don't recurse so enthusiastically.
3146 (profiler-function-equal): New hash-table-test.
3147 (profiler-calltree-build-unified): New function.
3148 (profiler-calltree-build): Use it.
3149 (profiler-report-make-name-part): Indent the calltree less.
3150 (profiler-report-mode): Add visibility specs for profiler-format.
3151 (profiler-report-expand-entry, profiler-report-toggle-entry):
3152 Expand the whole subtree when provided with a prefix arg.
3153
238150c8
DG
31542013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3155
3156 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3157 iuwu-mod token.
3158 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3159 hanging iuwu-mod token.
3160 (ruby-smie--forward-token): Do not include a dot after a token in
3161 that token.
3162 (ruby-smie--backward-token): Likewise.
3163
b0949cc4
JL
31642013-10-08 Juri Linkov <juri@jurta.org>
3165
3166 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3167 to isearch-other-control-char.
3168 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3169 and isearch-post-command-hook to post-command-hook.
3170 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3171 and isearch-post-command-hook from post-command-hook.
3172 (isearch-unread-key-sequence)
3173 (isearch-reread-key-sequence-naturally)
3174 (isearch-lookup-scroll-key, isearch-other-control-char)
3175 (isearch-other-meta-char): Remove functions.
3176 (isearch-pre-command-hook, isearch-post-command-hook):
3177 New functions based on isearch-other-meta-char rewritten
3178 relying on the new behavior of overriding-terminal-local-map
3179 that does not replace the local keymaps any more. (Bug#15200)
3180
4ed77415
EZ
31812013-10-08 Eli Zaretskii <eliz@gnu.org>
3182
3183 Support menus on text-mode terminals.
3184 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3185 functionality.
3186
3187 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3188
c2de5588
DK
3189 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3190 Move here from mouse.el.
4ed77415
EZ
3191 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3192 and arrow keys.
3193 (tty-menu-navigation-map): New map for TTY menu navigation.
3194
3195 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3196
3197 * frame.el (display-mouse-p): Report text-mode mouse as available
3198 on w32.
3199 (display-popup-menus-p): Report availability if mouse is
3200 available; don't condition on window-system.
3201
3202 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3203 (tty-menu-selected-face): New faces.
3204
b7d5bd82
TL
32052013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3206
06286513
SM
3207 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3208 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3209 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3210 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3211 New constants.
3212 (lisp-mode-variables): New `elisp' argument.
3213 (emacs-lisp-mode): Use it.
3214 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3215 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3216
b7d5bd82
TL
3217 * indent.el: Use lexical-binding.
3218 (indent-region): Add progress reporter.
3219 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3220 last step.
3221 (indent--next-tab-stop): New function to implement this behavior.
3222 (tab-to-tab-stop, move-to-tab-stop): Use it.
3223
32242013-10-08 Teemu Likonen <tlikonen@iki.fi>
3225
3226 * indent.el (indent-rigidly--current-indentation): New function.
3227 (indent-rigidly-map): New var.
3228 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3229
5ea75d23
BG
32302013-10-08 Bastien Guerry <bzg@gnu.org>
3231
3232 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3233
cc5da1ec
SM
32342013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3235
8ffa1a0b
SM
3236 * progmodes/perl-mode.el: Use lexical-binding.
3237 Remove redundant :group args.
3238 (perl-nochange): Change default to be closer to other major modes's
3239 standard behavior.
3240 (perl-indent-line): Don't consider text on current line as a
3241 valid beginning of function from which to indent.
3242
f2223371
SM
3243 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3244 with more than one argument (bug#15538).
3245
44256060
SM
3246 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3247
cc5da1ec
SM
3248 * vc/pcvs.el: Use lexical-binding.
3249 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3250 environment of `eval'.
3251 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3252 than a list of expressions. Adjust callers.
3253 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3254
0ea1599d
DG
32552013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3256
3257 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3258 case of the dot in a chained method call being on the following line.
0ea1599d 3259
da3e5ebb
SM
32602013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3261
2abb4e65
SM
3262 * electric.el (electric-indent-inhibit): New var.
3263 (electric-indent-post-self-insert-function): Use it.
3264 * progmodes/python.el (python-mode): Set it.
3265
d2e0e795
SM
3266 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3267 open braces.
3268
3269 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3270
bdc6b4c8
SM
3271 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3272 (css-mode): Use electric-indent-chars.
3273
da3e5ebb
SM
3274 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3275 (font-lock-beg, font-lock-end): Move before first use.
3276 (nxml-mode): Use syntax-propertize-function.
3277 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3278 (nxml-extend-after-change-region): Remove.
3279 * nxml/xmltok.el: Use lexical-binding.
3280 (xmltok-save): Use `declare'.
3281 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3282 * nxml/nxml-util.el: Use lexical-binding.
3283 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3284 Use `declare'.
3285 * nxml/nxml-ns.el: Use lexical-binding.
3286 (nxml-ns-save): Use `declare'.
3287 (nxml-ns-prefixes-for): Avoid add-to-list.
3288 * nxml/rng-match.el: Use lexical-binding.
3289 (rng--ipattern): Use cl-defstruct.
3290 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3291 (rng-cons-group-after, rng-subst-group-after)
3292 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3293 Use closures instead of `(lambda...).
3294
f8f91d5d
MA
32952013-10-07 Michael Albinus <michael.albinus@gmx.de>
3296
3297 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3298 of BEG and END.
3299
da3e5ebb
SM
3300 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3301 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3302 (tramp-gvfs-handle-insert-file-contents): Remove function.
3303
da3e5ebb
SM
3304 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3305 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3306
3307 * net/trampver.el: Update release number.
3308
7ccae3b1
SM
33092013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3310
55ca2c0d
SM
3311 * progmodes/compile.el (compilation-parse-errors):
3312 Use compilation--put-prop.
3313 (compilation--ensure-parse): Check compilation-multiline.
3314
731fc3ae
SM
3315 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3316
da3e5ebb
SM
3317 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3318 lexical-binding.
a5833280 3319
2e7ba2c2
SM
3320 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3321
7ccae3b1
SM
3322 * progmodes/ruby-mode.el: Fix recently added tests.
3323 (ruby-smie-grammar): Add - and +.
3324 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3325 (ruby-smie--backward-id): New functions.
3326 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3327 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3328 any more.
3329
85698d63
LL
33302013-10-07 Leo Liu <sdl.web@gmail.com>
3331
3332 * register.el (register-preview-delay)
3333 (register-preview-functions): New variables.
3334 (register-read-with-preview, register-preview)
3335 (register-describe-oneline): New functions.
3336 (point-to-register, window-configuration-to-register)
3337 (frame-configuration-to-register, jump-to-register)
3338 (number-to-register, view-register, insert-register)
3339 (copy-to-register, append-to-register, prepend-to-register)
3340 (copy-rectangle-to-register): Use register-read-with-preview to
3341 read register. (Bug#15525)
3342
3986af6c
DS
33432013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3344
3345 * net/network-stream.el (network-stream-open-starttls): Don't add
3346 --insecure if it's already present, because that gnutls-cli
3347 rejects getting that parameter twice.
3348
5cd9cda9
DG
33492013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3350
3351 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3352 keyword, too.
3353
da9ea6d9
DG
33542013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3355
3356 * newcomment.el (comment-use-global-state): Change default value
3357 to t, mark obsolete (Bug#15251).
3358 (comment-beginning): In addition to `comment-to-syntax', check the
3359 value of `comment-use-global-state'.
3360
34d1a133
SM
33612013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3362
3363 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3364 (ruby-comment-column): Follow the global default, by default.
3365 (ruby-smie-grammar): Add assignment syntax.
3366 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3367 open-paren, a comma, or a \.
3368 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3369 and line continuations.
3370 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3371 followed by implicit semi-colons. Add rule for string concatenation
3372 and for indentation at BOB.
3373 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3374
3375 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3376 calling next-sexp, since next-token may have skipped chars which
3377 next-sexp doesn't know should be skipped!
3378
6f6ab820
LL
33792013-10-05 Leo Liu <sdl.web@gmail.com>
3380
34d1a133
SM
3381 * progmodes/octave.el (octave-send-region):
3382 Call compilation-forget-errors.
6f6ab820 3383
34ca0f4c
XF
33842013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3385
3386 * vc/vc-svn.el (vc-svn-find-admin-dir):
3387 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3388 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3389 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3390 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3391
a27c1b72
SM
33922013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3393
3394 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3395
258ab3bc
SM
33962013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * subr.el (read-passwd): Hide chars even when called within a context
3399 where after-change-functions is disabled (bug#15501).
3400 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3401 until we removed ourself from overriding-terminal-local-map.
3402
939fb29c
LL
34032013-10-04 Leo Liu <sdl.web@gmail.com>
3404
258ab3bc
SM
3405 * progmodes/octave.el (inferior-octave-mode):
3406 Call compilation-forget-errors.
939fb29c 3407
63bd7f35
XF
34082013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3409
3410 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3411
9e6229fa
MA
34122013-10-04 Michael Albinus <michael.albinus@gmx.de>
3413
3414 * net/secrets.el (secrets-create-collection): Add optional
3415 argument ALIAS. Use proper Label keyword. Append ALIAS as
3416 dbus-call-method argument. (Bug#15516)
3417
1dab32a3
LL
34182013-10-04 Leo Liu <sdl.web@gmail.com>
3419
3420 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3421 (inferior-octave-compilation-font-lock-keywords): New variables.
3422 (compilation-error-regexp-alist)
3423 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3424 (inferior-octave-mode): Use compilation-shell-minor-mode.
3425
6cad7ba3
JS
34262013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3427
3428 * minibuffer.el (completion--replace): Be careful that `end' might be
3429 a marker.
3430
acbadd00
DU
34312013-10-03 Daiki Ueno <ueno@gnu.org>
3432
3433 Add support for package signature checking.
3434 * emacs-lisp/package.el (url-http-file-exists-p)
3435 (epg-make-context, epg-context-set-home-directory)
3436 (epg-verify-string, epg-context-result-for)
3437 (epg-signature-status, epg-signature-to-string)
3438 (epg-check-configuration, epg-configuration)
3439 (epg-import-keys-from-file): Declare.
3440 (package-check-signature): New user option.
3441 (package-unsigned-archives): New user option.
3442 (package-desc): Add `signed' field.
3443 (package-load-descriptor): Set `signed' field if .signed file exists.
3444 (package--archive-file-exists-p): New function.
3445 (package--check-signature): New function.
3446 (package-install-from-archive): Check package signature.
3447 (package--download-one-archive): Check archive signature.
3448 (package-delete): Remove .signed file.
3449 (package-import-keyring): New command.
3450 (package-refresh-contents): Import default keyring.
3451 (package-desc-status): Add "unsigned" status.
3452 (describe-package-1, package-menu--print-info)
3453 (package-menu-mark-delete, package-menu--find-upgrades)
3454 (package-menu--status-predicate): Support "unsigned" status.
3455
adf2aa61
SM
34562013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3459 the new compilation scheme using the new byte-codes.
3460
3461 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3462 (byte-pophandler): New byte codes.
3463 (byte-goto-ops): Adjust accordingly.
3464 (byte-compile--use-old-handlers): New var.
3465 (byte-compile-catch): Use new byte codes depending on
3466 byte-compile--use-old-handlers.
3467 (byte-compile-condition-case--old): Rename from
3468 byte-compile-condition-case.
3469 (byte-compile-condition-case--new): New function.
3470 (byte-compile-condition-case): New function that dispatches depending
3471 on byte-compile--use-old-handlers.
3472 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3473 when we can.
3474
3475 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3476 Optimize under `condition-case' and `catch' if
3477 byte-compile--use-old-handlers is nil.
3478 (disassemble-offset): Handle new bytecodes.
3479
328a8179
SM
34802013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3481
3482 * subr.el (error): Use `declare'.
3483 (decode-char, encode-char): Use advertised-calling-convention instead
3484 of the docstring to discourage use of the `restriction' arg.
3485
15a1e936
DU
34862013-10-03 Daiki Ueno <ueno@gnu.org>
3487
3488 * epg.el (epg-verify-file): Add a comment saying that it does not
3489 notify verification error as a return value nor a signal.
3490 (epg-verify-string): Ditto.
3491
376f862a
KR
34922013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3493
3494 * progmodes/compile.el (compilation-start): Try globbing the arg to
3495 `cd' (bug#15417).
3496
a2f93a5f
MA
34972013-10-02 Michael Albinus <michael.albinus@gmx.de>
3498
3499 Sync with Tramp 2.2.8.
3500
3501 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3502 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3503 * net/trampver.el: Update release number.
3504
0daa0804
JD
35052013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3506
3507 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3508 and default-process-coding-system for darwin only.
3509
abd1ae34
SM
35102013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3511
3512 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3513
be4e325d
MH
35142013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3515
3516 * vc/vc-git.el (vc-git-grep): Disable pager.
3517
e9155c4a
DG
35182013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3519
494e898b
DG
3520 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3521 Use :url instead of :homepage, as per
3522 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3523
e9155c4a
DG
3524 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3525 non-nil, use `syntax-ppss' (Bug#15251).
3526
481a8e0f
RS
35272013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3528
be4e325d
MH
3529 * progmodes/octave.el (inferior-octave-startup-file):
3530 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3531
056453c6
DG
35322013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3533
be4e325d
MH
3534 * emacs-lisp/package.el (package-desc-from-define):
3535 Accept additional arguments as plist, convert them to an alist and store
3536 them in the `extras' slot.
056453c6
DG
3537 (package-generate-description-file): Convert extras alist back to
3538 plist and append to the `define-package' form arguments.
3539 (package--alist-to-plist): New function.
3540 (package--ac-desc): Add `extras' slot.
3541 (package--add-to-archive-contents): Check if the archive-contents
3542 vector is long enough, and if it is, pass its `extras' slot value
3543 to `package-desc-create'.
3544 (package-buffer-info): Call `lm-homepage', pass the returned value
3545 to `package-desc-from-define'.
3546 (describe-package-1): Render the homepage button (Bug#13291).
3547
be4e325d
MH
3548 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3549 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3550
832966e5
JD
35512013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3552
3553 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3554 and default-process-coding-system to utf-8-unix (Bug#15402).
3555
6cfe977d
XF
35562013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3557
3558 * subr.el (looking-back): Do not recommend using looking-back.
3559
38de11bd
AM
35602013-09-28 Alan Mackenzie <acm@muc.de>
3561
3562 Fix indentation/fontification of Java enum with "implements".
3563
3564 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3565 regexp which matches "implements", etc., in Java.
3566 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3567 specifier clauses coming after "enum".
3568 * progmodes/cc-fonts.el (c-font-lock-declarations)
3569 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3570 after "enum".
3571
1610938f
JD
35722013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3573
3574 * faces.el (region): Change ns_selection_color to
3575 ns_selection_fg_color, add ns_selection_bg_color.
3576
e090f499
LL
35772013-09-28 Leo Liu <sdl.web@gmail.com>
3578
4d2e94d1
LL
3579 * progmodes/octave.el (inferior-octave-completion-table)
3580 (inferior-octave-completion-at-point): Minor tweaks.
3581
e090f499
LL
3582 * textmodes/ispell.el (ispell-lookup-words): Rename from
3583 lookup-words. (Bug#15460)
3584 (lookup-words): Obsolete.
3585 (ispell-complete-word, ispell-command-loop): All uses changed.
3586
7e138a62
RS
35872013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3588
3589 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3590 (octave-mode-menu): Add octave-send-buffer.
3591 (octave-send-buffer): New function.
3592
5af5ed08
RS
35932013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3594
3595 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3596 octave-lookfor.
3597 (octave-mode-menu): Add octave-lookfor.
3598 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3599 octave-lookfor.
3600 (octave-lookfor): New function.
3601
3b7b2692
SM
36022013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3603
3604 * emacs-lisp/cl-macs.el:
3605 (cl--loop-destr-temps): Remove.
3606 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3607 its convention.
3608 (cl--loop-set-iterator-function): New function.
3609 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3610 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3611 Bind `it' with `let' instead of substituting it with `cl-subst'.
3612 (cl--unused-var-p): New function.
3613 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3614 Eliminate some unused variable warnings (bug#15326).
3615
529fb53f
TH
36162013-09-27 Tassilo Horn <tsdh@gnu.org>
3617
3618 * doc-view.el (doc-view-scale-reset): Rename from
3619 `doc-view-reset-zoom-level'.
3620 (doc-view-scale-adjust): New command.
3621 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3622 `doc-view-scale-adjust'.
3623
0550c95a
TH
36242013-09-26 Tassilo Horn <tsdh@gnu.org>
3625
3626 * doc-view.el (doc-view-reset-zoom-level): New command.
3627 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3628 zoom commands (bug#15466).
3629
6950f152
KH
36302013-09-26 Kenichi Handa <handa@gnu.org>
3631
3632 * international/quail.el (quail-help): Make it not a command.
3633
39587580
LL
36342013-09-26 Leo Liu <sdl.web@gmail.com>
3635
3636 * minibuffer.el (completion-all-sorted-completions): Make args
3637 optional as they are.
3638
00578659
DC
36392013-09-25 Daniel Colascione <dancol@dancol.org>
3640
3641 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3642 specs are and that they're not evaluated.
3643
0c173878
SS
36442013-09-24 Sam Steingold <sds@gnu.org>
3645
3646 * midnight.el (clean-buffer-list-kill-regexps)
3647 (clean-buffer-list-kill-buffer-names): Update for the new Man
3648 buffer naming which includes the object name.
3649
84998447
SM
36502013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3651
3652 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3653 (eshell-parse-command, eshell-parse-pipeline): Use it since
3654 eshell-separate-commands requires a dynamic scoped var.
3655 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3656
33215353
LL
36572013-09-23 Leo Liu <sdl.web@gmail.com>
3658
3659 * autoinsert.el (auto-insert-alist): Make the value of
3660 lexical-binding match its file setting.
3661
57b16162
JB
36622013-09-23 Juanma Barranquero <lekktu@gmail.com>
3663
c8af4e67
JB
3664 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3665
57b16162
JB
3666 * autoarg.el (autoarg-kp-digit-argument):
3667 * electric.el (Electric-command-loop):
3668 * kmacro.el (kmacro-step-edit-insert):
3669 Do not set universal-argument-num-events.
3670
7186ba60
LL
36712013-09-22 Leo Liu <sdl.web@gmail.com>
3672
3673 * files.el (interpreter-mode-alist): Add octave.
3674
ece15004
AM
36752013-09-21 Alan Mackenzie <acm@muc.de>
3676
3677 C++: fontify identifier in declaration following "public:" correctly.
3678 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3679 to match "public", etc.
3680 (c-decl-prefix-re): Add ":" into the C++ value.
3681 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3682 bit. Add a check for a ":" preceded by "public", etc.
3683
75d83e22
EZ
36842013-09-21 Eli Zaretskii <eliz@gnu.org>
3685
3686 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3687 recognized by GDB 7.5 and later.
3688
d052d3bd
XF
36892013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3690
3691 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3692
31dca772
R
36932013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * subr.el (internal--call-interactively): New const.
3696 (called-interactively-p): Use it (bug#3984).
3697
98ccf24e
XF
36982013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3699
3700 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3701 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3702 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3703
c39cc7d1
SM
37042013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3707 (eshell-ls-orig-insert-directory): Remove.
3708 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3709 (eshell-ls-use-in-dired): Use advice-add/remove.
3710 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3711 Add `orig-fun' arg for use in :around advice.
3712 Make it check (redundantly) eshell-ls-use-in-dired.
3713
9a0289a2
GM
37142013-09-19 Glenn Morris <rgm@gnu.org>
3715
a2c501b8
GM
3716 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3717
c440407a
GM
3718 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3719
9a0289a2
GM
3720 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3721
85e05915
MA
37222013-09-19 Michael Albinus <michael.albinus@gmx.de>
3723
3724 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3725 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3726 (tramp-get-remote-python): New defuns.
3727 (tramp-get-remote-uid-with-perl)
3728 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3729 contributed by yary <not.com@gmail.com> (tiny change).
3730 (tramp-get-remote-uid-with-python)
3731 (tramp-get-remote-gid-with-python): New defuns. Python code
3732 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3733 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3734
ce503312
GM
37352013-09-19 Glenn Morris <rgm@gnu.org>
3736
f7544773
GM
3737 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3738
72fd2877
GM
3739 * eshell/em-unix.el (eshell-remove-entries):
3740 Rename argument to avoid name-clash with global `top-level'.
3741
336b5a56
GM
3742 * eshell/esh-proc.el (eshell-kill-process-function):
3743 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3744 (eshell-reset-after-proc): Remove unused arg `proc'.
3745
57a3a53d
GM
3746 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3747 (directory-files-and-attributes): Mark unused arg.
3748
3261d4af
GM
3749 * eshell/em-unix.el (eshell-remove-entries):
3750 Remove unused arg `path'. Update callers.
3751
8e51b5d0
GM
3752 * eshell/em-hist.el (eshell-hist-parse-arguments):
3753 Remove unused arg `silent'. Update callers.
3754
ce503312
GM
3755 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3756 Fix (f)boundp mix-up.
3757
3758 * eshell/em-smart.el (eshell-smart-scroll-window)
3759 (eshell-disable-after-change):
336b5a56 3760 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3761
ee3ce8a7
AM
37622013-09-18 Alan Mackenzie <acm@muc.de>
3763
3764 Fix fontification of type when followed by "const".
3765 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3766 "known" types from fontification.
3767
ec9177ba
GM
37682013-09-18 Glenn Morris <rgm@gnu.org>
3769
7bb3e768
GM
3770 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3771 (chart-face-list): Drop Emacsen without display-color-p.
3772
5148da15
GM
3773 * net/eww.el (libxml-parse-html-region): Declare.
3774 (eww-display-html): Explicit error if no libxml2 support.
3775
2f68e157
GM
3776 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3777
9019d095
GM
3778 * image.el (image-type-from-buffer, image-multi-frame-p):
3779 Remove --without-x warning/error.
67645389 3780
5f30349b 3781 * mouse.el (mouse-yank-primary):
45069b2e 3782 * term.el (term-mouse-paste):
5f30349b
GM
3783 Reorder to silence --without-x compilation.
3784
cd8edbbe
GM
3785 * mpc.el (doc-view-mode): Silence --without-x compilation.
3786
8a78544e
GM
3787 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3788 Silence --without-x compilation.
3789
12679bfd
GM
3790 * progmodes/gud.el (gud-find-file, gud-mode):
3791 Silence --without-x compilation.
3792 (tooltip-mode): Declare.
30810a05 3793
f0047cb9
GM
3794 * wdired.el (dired-backup-overwrite): Remove declaration.
3795 (wdired-mode-map): Add doc string.
3796
e740f9d2
GM
3797 * custom.el (x-get-resource): Declare.
3798
92d77c89
GM
3799 * eshell/em-glob.el (ange-cache):
3800 * eshell/em-unix.el (ange-cache): Declare.
3801
76e69577
GM
3802 * faces.el (x-display-list, x-open-connection, x-get-resource):
3803 Declare.
7e58af4b
GM
3804
3805 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3806 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3807 Declare.
76e69577 3808
4bd4c0af 3809 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3810
ffb82dbd
GM
3811 * net/gnutls.el (gnutls-log-level): Declare.
3812
986ed135
GM
3813 * net/shr.el (image-size, image-animate): Declare.
3814
e740f9d2
GM
3815 * simple.el (font-info): Declare.
3816
d2f3e9f8
GM
3817 * subr.el (x-popup-dialog): Declare.
3818
047a1a4c
GM
3819 * term/common-win.el (x-select-enable-primary)
3820 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3821 Declare.
3822
f4a1d572
GM
3823 * term/ns-win.el (x-handle-args): Declare.
3824
e843de77
GM
3825 * term/x-win.el (x-select-enable-clipboard): Declare.
3826
5fa89513
GM
3827 * term/w32-win.el (create-default-fontset): Declare.
3828
38702b5b
GM
3829 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3830 Declare.
3831
e740f9d2
GM
3832 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3833 (fit-frame-to-buffer): Explicit error if --without-x.
3834 (mouse-autoselect-window-select): Silence compiler.
3835
49a053fc
GM
3836 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3837
3838 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3839 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3840 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3841 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3842 Remove unused local variables.
3843
3844 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3845
ec9177ba
GM
3846 * textmodes/two-column.el: Make 2C-split work for --without-x.
3847 (scroll-bar-columns): Autoload.
3848 (top-level): Require fringe when compiling.
3849
9f25cb77
LL
38502013-09-18 Leo Liu <sdl.web@gmail.com>
3851
3852 * subr.el (add-hook): Robustify to handle closure as well.
3853
2b42da98
GM
38542013-09-17 Glenn Morris <rgm@gnu.org>
3855
3856 * simple.el (messages-buffer-mode-map): Unbind "g".
3857
e8b66a6a
SM
38582013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3859
9c0ad4f7
SM
3860 * help-mode.el (help-mode-finish): Use derived-mode-p.
3861 Remove obsolete highlighting.
3862
7a806dfb
SM
3863 * play/life.el (life-mode): Use define-derived-mode. Derive from
3864 special-mode.
3865 (life): Let-bind inhibit-read-only.
3866 (life-setup): Avoid `setq'. Use `life-mode'.
3867
96dbf5a8
SM
3868 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3869 which should not be needed any more.
3870 (package-menu-refresh, package-menu-describe-package): Use user-error.
3871
e8b66a6a
SM
3872 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3873 (eshell-post-rewrite-command-hook): Make obsolete.
3874 (eshell-parse-command): Simplify.
3875 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3876 (eshell--cmd): Declare.
3877 (eshell-parse-pipeline): Remove unused var `final-p'.
3878 Pass a dynvar to eshell-post-rewrite-command-hook.
3879 Implement the new eshell-post-rewrite-command-function.
3880 (eshell-invoke-directly): Remove unused arg `input'.
3881 * eshell/esh-io.el (eshell-io-initialize):
3882 Use eshell-post-rewrite-command-function (bug#15399).
3883 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3884 adjust to new calling convention.
3885 (eshell-create-handles): Rename args to avoid clashing with dynvar
3886 `standard-output'.
3887
90582f05
GM
38882013-09-17 Glenn Morris <rgm@gnu.org>
3889
3890 * simple.el (messages-buffer-mode): New major mode.
3891 (messages-buffer): New function.
3892 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3893 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3894 (ert-run-test): Use `messages-buffer' function.
90582f05 3895 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3896 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3897 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3898
39eb0cb5 38992013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3900
3901 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3902
1d42e5b6 3903 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 3904
70568a90
SM
39052013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3906
504a0381
SM
3907 * icomplete.el (icomplete-in-buffer): New var.
3908 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3909 vars and replace them with functions.
3910 (icomplete-minibuffer-setup): Adjust accordingly.
3911 (icomplete--completion-table, icomplete--completion-predicate)
3912 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3913 New functions.
3914 (icomplete-forward-completions, icomplete-backward-completions)
3915 (icomplete-simple-completing-p, icomplete-exhibit)
3916 (icomplete-completions): Use them.
3917 (icomplete--in-region-buffer): New var.
3918 (icomplete--in-region-setup): New function.
3919 (icomplete-mode): Use it.
3920
70568a90
SM
3921 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3922 (bug#15379).
3923 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3924 return args and options.
3925 (eshell-eval-using-options): Use the new return value of
3926 eshell--do-opts to set the options's vars in their scope.
3927 (eshell--set-option): Rename from eshell-set-option.
3928 Add arg `opt-vals'.
3929 (eshell--process-option): Rename from eshell-process-option.
3930 Add arg `opt-vals'.
3931 (eshell--process-args): Use an `opt-vals' alist to store the options's
3932 values during their processing and return them additionally to the
3933 remaining args.
3934
578c21bc
DG
39352013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3936
3937 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3938 continuation character an operator, as far as indentation is
3939 concerned (Bug#15369).
3940
c089653d
MR
39412013-09-15 Martin Rudalics <rudalics@gmx.at>
3942
3943 * window.el (window--state-put-2): Don't process buffer state
3944 when buffer doesn't exist any more (Bug#15382).
3945
1e53bb4b
GM
39462013-09-15 Glenn Morris <rgm@gnu.org>
3947
30753242
GM
3948 * eshell/em-unix.el (eshell/rm):
3949 Make -f ignore missing files. (Bug#15373)
3950
1e53bb4b
GM
3951 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3952 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3953 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3954
0d8863b3
GM
39552013-09-14 Glenn Morris <rgm@gnu.org>
3956
3957 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3958
d3fc6549
GM
39592013-09-13 Glenn Morris <rgm@gnu.org>
3960
3961 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3962 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3963
fcd42c11
DA
39642013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3965
3966 * frame.el (x-focus-frame): Mark as declared in frame.c.
3967
7830899f
SM
39682013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3969
3970 * ls-lisp.el: Use advice-add.
3971 (original-insert-directory): Remove.
3972 (ls-lisp--insert-directory): Rename from insert-directory; add
3973 `orig-fun' argument.
3974 (insert-directory): Advise.
3975
84387cd2
EZ
39762013-09-13 Eli Zaretskii <eliz@gnu.org>
3977
3978 * term.el (term-emulate-terminal): Decode the command string
3979 before passing it to term-command-hook. (Bug#15337)
3980
35ffc6ba
GM
39812013-09-13 Glenn Morris <rgm@gnu.org>
3982
5c3f9bcc
GM
3983 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3984
2ada368a
GM
3985 * eshell/esh-ext.el (eshell-search-path): Declare.
3986
fcef2e13
GM
3987 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3988 Otherwise an error occurs if eshell-dirs module not loaded.
3989
35ffc6ba
GM
3990 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3991
35c3d36e
MA
39922013-09-13 Michael Albinus <michael.albinus@gmx.de>
3993
3994 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3995 `tramp-check-proper-host'. Check for a valid method name.
3996
3997 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3998 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3999 * net/tramp-sh.el (tramp-maybe-open-connection):
4000 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4001
4002 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4003 also for hash values.
4004
ae5e4c48
SM
40052013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4006
379add74
SM
4007 * term/ns-win.el (parameters): Don't declare as dynamic.
4008 (before-make-frame-hook): Don't add ineffective function.
4009
ae5e4c48
SM
4010 * eshell/*.el: Use lexical-binding (bug#15231).
4011
b5623270
KH
40122013-09-12 Kenichi Handa <handa@gnu.org>
4013
ae5e4c48 4014 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4015
30213927
GM
40162013-09-12 Glenn Morris <rgm@gnu.org>
4017
be94d713 4018 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4019 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4020
44915370
GM
4021 * subr.el (do-after-load-evaluation): Also give compiler warnings
4022 when obsolete files are used (except by obsolete files).
4023
a6ae021f
GM
4024 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4025 in the status output, assume `filename' is the first. (Bug#15322)
4026
40e64f0c
GM
4027 * vc/vc.el (vc-deduce-fileset): Doc fix.
4028
16d9f896
GM
4029 * calc/calc-help.el (Info-goto-node):
4030 * progmodes/cperl-mode.el (Info-find-node):
4031 * vc/ediff.el (Info-goto-node): Update declarations.
4032
dea01c6e
GM
4033 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4034
759880bf 4035 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4036 (vc-bzr-pull): Require vc-dispatcher.
4037 * vc/vc-git.el (vc-compilation-mode): Declare.
4038 (vc-git-pull): Require vc-dispatcher.
4039
08d66420
GM
4040 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4041
30b626e9
GM
4042 * progmodes/octave.el (help-button-action): Declare.
4043
8c05cb10
GM
4044 * shell.el (shell-directory-tracker): Output error as a message
4045 rather than just returning it as a string.
4046 (shell-process-pushd): Remove useless use of message.
4047
30213927
GM
4048 * dframe.el (dframe-timer-fn):
4049 * files.el (dir-locals-read-from-file):
4050 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4051 (mpc-format):
4052 * reveal.el (reveal-post-command):
4053 * saveplace.el (load-save-place-alist-from-file):
4054 * shell.el (shell-resync-dirs):
4055 * w32-common-fns.el (x-get-selection-value):
4056 * emacs-lisp/copyright.el (copyright-find-copyright):
4057 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4058 * emulation/tpu-edt.el (tpu-copy-keyfile):
4059 * play/bubbles.el (bubbles--mark-neighbourhood):
4060 * progmodes/executable.el
4061 (executable-make-buffer-file-executable-if-script-p):
4062 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4063
d3b049e6
SM
40642013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4065
170266d0
SM
4066 Cleanup Eshell to rely less on dynamic scoping.
4067 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4068 last-value, and ext-command here. Bind `args' closer to `body'.
4069 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4070 (eshell--args): Declare new dynamic var.
4071 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4072 last-value, and ext-command. Pass `args' to `body'.
4073 (eshell-process-args): Bind eshell--args.
4074 (eshell-set-option): Use eshell--args.
4075 * eshell/eshell.el (eshell): Use derived-mode-p.
4076 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4077 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4078 (eshell-glob-function): Declare.
4079 * eshell/esh-util.el: Require cl-lib.
4080 (eshell-read-hosts-file): Avoid add-to-list.
4081 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4082 `err'.
4083 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4084 Declare.
4085 (eshell/diff): Remove unused var `err'.
4086 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4087 `killflag'.
4088 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4089 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4090 first use.
4091 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4092 Move declaration before first use.
4093 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4094 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4095 rely on cl-return.
4096
56834f3b
GM
40972013-09-12 Glenn Morris <rgm@gnu.org>
4098
4099 * term/ns-win.el (global-map): Remove binding for ispell-next,
4100 deleted 1999-05-29. (Bug#15357)
4101
5c91a2b8
GM
41022013-09-11 Glenn Morris <rgm@gnu.org>
4103
da712f22
GM
4104 * echistory.el (electric-command-history): Remove call to deleted func.
4105
512e4cdc
GM
4106 * play/landmark.el (landmark-mode): Fix typos.
4107
d3506ca5
GM
4108 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4109 Check cvs-sort-ignore-file is bound.
4110
5c91a2b8
GM
4111 * savehist.el: No need for cl when compiling on Emacs.
4112
feeff482
SM
41132013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4114
656bd483
SM
4115 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4116 (bug#15338).
d3b049e6
SM
4117 (eshell-self-insert-command, eshell-send-invisible):
4118 Remove unused argument.
656bd483
SM
4119 (eshell-handle-control-codes): Remove unused var `orig'.
4120 Avoid delete-backward-char.
4121
feeff482
SM
4122 * files.el (set-auto-mode): Simplify a bit further.
4123
2a08047a
GM
41242013-09-11 Glenn Morris <rgm@gnu.org>
4125
4126 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4127 (set-auto-mode): Don't regexp-quote elements.
4128 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4129 * progmodes/cc-mode.el (interpreter-mode-alist):
4130 * progmodes/ruby-mode.el (interpreter-mode-alist):
4131 Revert previous change.
4132
34675540
SM
41332013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4134
1b3b87df
SM
4135 * play/snake.el (snake-mode):
4136 * play/mpuz.el (mpuz-mode):
4137 * play/landmark.el (lm-mode):
4138 * play/blackbox.el (blackbox-mode):
4139 * play/5x5.el (5x5-mode):
4140 * obsolete/options.el (Edit-options-mode):
4141 * net/quickurl.el (quickurl-list-mode):
4142 * net/newst-treeview.el (newsticker-treeview-mode):
4143 * mail/rmailsum.el (rmail-summary-mode):
4144 * mail/mspools.el (mspools-mode):
4145 * locate.el (locate-mode):
4146 * ibuffer.el (ibuffer-mode):
4147 * emulation/ws-mode.el (wordstar-mode):
4148 * emacs-lisp/debug.el (debugger-mode):
4149 * array.el (array-mode):
4150 * net/eudc.el (eudc-mode): Use define-derived-mode.
4151 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4152 Move initialization into declaration.
4153 (mairix-searches-mode): Use define-derived-mode.
4154 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4155 (eudc-edit-hotlist): Use dolist.
4156 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4157 (Man-mode): Use define-derived-mode.
4158 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4159 (Info-edit-mode): Use define-derived-mode.
4160 (Info-cease-edit): Use Info-mode.
4161 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4162 into declaration.
4163 (eshell-mode): Use define-derived-mode.
4164 * chistory.el (command-history-mode-map): Rename from
4165 command-history-map.
4166 (command-history-mode): Use define-derived-mode.
da712f22 4167 (Command-history-setup): Remove function.
1b3b87df
SM
4168 * calc/calc.el (calc-trail-mode-map): New var.
4169 (calc-trail-mode): Use define-derived-mode.
4170 (calc-trail-buffer): Set calc-main-buffer manually.
4171 * bookmark.el (bookmark-insert-annotation): New function.
4172 (bookmark-edit-annotation): Use it.
4173 (bookmark-edit-annotation-mode): Make it a proper major mode.
4174 (bookmark-send-edited-annotation): Use derived-mode-p.
4175 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4176 closer to its ideal place. Use \' to match EOS.
4177
34675540
SM
4178 * profiler.el (profiler-calltree-find): Use function-equal.
4179
6a5c15d9
GM
41802013-09-10 Glenn Morris <rgm@gnu.org>
4181
1af4c220
GM
4182 * files.el (interpreter-mode-alist): Convert to regexps.
4183 (set-auto-mode): Adapt for this. (Bug#15306)
4184 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4185 Comment out unused variable.
4186 * progmodes/cc-mode.el (interpreter-mode-alist):
4187 * progmodes/python.el (interpreter-mode-alist):
4188 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4189 * progmodes/sh-script.el (sh-set-shell):
4190 No longer use interpreter-mode-alist to get list of shells.
4191
6a5c15d9
GM
4192 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4193
8c27f5ff
SM
41942013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4195
02ef6c1a 4196 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4197 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4198 Bind switch-frame explicitly. Replace universal-argument-minus with
4199 a conditional binding.
4200 (universal-argument-num-events, saved-overriding-map): Remove.
4201 (restore-overriding-map): Remove.
4202 (universal-argument--mode): Rename from save&set-overriding-map,
4203 and rewrite.
4204 (universal-argument, universal-argument-more, negative-argument)
4205 (digit-argument): Adjust accordingly.
4206 (universal-argument-minus): Remove.
4207 (universal-argument-other-key): Remove.
4208
8c27f5ff
SM
4209 * subr.el (with-demoted-errors): Add `format' argument.
4210
6480194c
MA
42112013-09-10 Michael Albinus <michael.albinus@gmx.de>
4212
4213 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4214 `tramp-cleanup-connection'.
4215
4216 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4217 parameters KEEP-DEBUG and KEEP-PASSWORD.
4218
4219 * net/tramp.el (tramp-file-name-handler):
4220 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4221 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4222 (tramp-maybe-open-connection):
8c27f5ff
SM
4223 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4224 Use `tramp-cleanup-connection'.
6480194c 4225
8c27f5ff
SM
4226 * net/tramp-sh.el (tramp-maybe-open-connection):
4227 Catch 'uname-changed inside the progress reporter.
6480194c 4228
e5e916d8
GM
42292013-09-10 Glenn Morris <rgm@gnu.org>
4230
9a2c9b47
GM
4231 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4232
e5e916d8
GM
4233 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4234 returns "alternate access method" in mode (eg "-rw-r--r--.").
4235
144e38fe
GM
42362013-09-08 Glenn Morris <rgm@gnu.org>
4237
4238 * saveplace.el (load-save-place-alist-from-file):
4239 Demote errors. (Bug#15305)
4240
af9ff9e8
MA
42412013-09-08 Michael Albinus <michael.albinus@gmx.de>
4242
4243 Improve compatibility with older Emacsen, and XEmacs.
4244
4245 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4246 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4247 (with-tramp-progress-reporter): Do not let-bind `result'.
4248 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4249 (tramp-handle-make-auto-save-file-name): New function, moved from
4250 tramp-sh.el.
4251
4252 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4253 for `make-auto-save-file-name'.
8c27f5ff
SM
4254 (tramp-adb--gnu-switches-to-ash):
4255 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4256
4257 * net/tramp-cache.el (tramp-cache-print): Call
4258 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4259
4260 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4261 bound. It isn't for XEmacs.
4262
8c27f5ff
SM
4263 * net/tramp-compat.el (tramp-compat-copy-file):
4264 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4265 (tramp-compat-replace-regexp-in-string): New defun.
4266
4267 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4268 for `make-auto-save-file-name'.
4269 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4270 `copy-file'.
4271 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4272 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4273 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4274
8c27f5ff
SM
4275 * net/tramp-gw.el (tramp-gw-open-network-stream):
4276 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4277
8c27f5ff
SM
4278 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4279 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4280 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4281 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4282 (tramp-sh-file-inotifywait-process-filter):
4283 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4284 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4285
4286 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4287 for `make-auto-save-file-name'.
8c27f5ff
SM
4288 (tramp-smb-handle-copy-directory):
4289 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4290 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4291 (tramp-smb-handle-copy-file): Improve error message.
4292 (tramp-smb-handle-rename-file): Rename directly only in case
4293 `newname' does not exist yet. This is a restriction of smbclient.
4294 (tramp-smb-maybe-open-connection): Rerun the function only when
4295 `auth-sources' is non-nil.
4296
0ca754d0
KH
42972013-09-08 Kenichi Handa <handa@gnu.org>
4298
e0eb0550 4299 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4300 more characters.
4301
e8dd0787
AM
43022013-09-07 Alan Mackenzie <acm@muc.de>
4303
4304 Correctly fontify Java class constructors.
4305 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4306 in Java Mode.
4307 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4308 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4309 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4310 "typeless" declaration there.
4311
f2f248e7
RW
43122013-09-07 Roland Winkler <winkler@gnu.org>
4313
4314 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4315 field subtitle for entry type book.
4316
67982e2b
SM
43172013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4318
4319 * minibuffer.el: Make minibuffer-complete call completion-in-region
4320 rather than other way around.
4321 (completion--some, completion-pcm--find-all-completions):
4322 Don't delay signals when debugging.
4323 (minibuffer-completion-contents): Beware fields within the
4324 minibuffer contents.
4325 (completion-all-sorted-completions): Use defvar-local.
4326 (completion--do-completion, completion--cache-all-sorted-completions)
4327 (completion-all-sorted-completions, minibuffer-force-complete):
4328 Add args `beg' and `end'.
4329 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4330 (minibuffer-complete): Use completion-in-region.
4331 (completion-complete-and-exit): New fun, extracted from
4332 minibuffer-complete-and-exit.
4333 (minibuffer-complete-and-exit): Use it.
4334 (completion--complete-and-exit): Rename from
4335 minibuffer--complete-and-exit.
4336 (completion-in-region--single-word): New function, extracted from
4337 minibuffer-complete-word.
4338 (minibuffer-complete-word): Use it.
4339 (display-completion-list): Make `common-substring' argument obsolete.
4340 (completion--in-region): Call completion--in-region-1 instead of
4341 minibuffer-complete.
4342 (completion-help-at-point): Pass boundaries to
4343 minibuffer-completion-help as args rather than via an overlay.
4344 (completion-pcm--string->pattern): Use `any-delim'.
4345 (completion-pcm--optimize-pattern): New function.
4346 (completion-pcm--pattern->regex): Handle `any-delim'.
4347 * icomplete.el (icomplete-forward-completions)
4348 (icomplete-backward-completions, icomplete-completions):
4349 Adjust calls to completion-all-sorted-completions and
4350 completion--cache-all-sorted-completions.
4351 (icomplete-with-completion-tables): Default to t.
4352 * emacs-lisp/crm.el (crm--current-element): Rename from
4353 crm--select-current-element. Don't put an overlay but return the
4354 boundaries instead.
4355 (crm--completion-command): Take two new args to bind to the boundaries.
4356 (crm-completion-help): Adjust accordingly.
4357 (crm-complete): Use completion-in-region.
4358 (crm-complete-word): Use completion-in-region--single-word.
4359 (crm-complete-and-exit): Use completion-complete-and-exit.
4360
e17d94a5
SM
43612013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4362
4363 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4364 than dynamically.
4365
96727100
JL
43662013-09-06 Juri Linkov <juri@jurta.org>
4367
4368 * info.el (Info-display-images-node): When image file doesn't exist
4369 display text version of the image if it's provided in the Info file.
4370 Otherwise, display the location of missing image from SRC attribute.
4371 Add help-echo text property from ALT attribute. (Bug#15279)
4372
86cf7329
SM
43732013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4376 (edit-abbrevs-mode): Use define-derived-mode.
4377
4378 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4379 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4380 that it's defined.
4381 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4382 Use define-derived-mode.
4383
4384 * epg.el (epg-start-encrypt): Minor CSE simplification.
4385
816244a2
WX
43862013-09-06 William Xu <william.xwl@gmail.com>
4387
4388 * arc-mode.el: Add support for 7za (bug#15264).
4389 (archive-7z-program): New var.
4390 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4391 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4392 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4393
1486fa31
MA
43942013-09-06 Michael Albinus <michael.albinus@gmx.de>
4395
4396 Remove URL syntax.
4397
4398 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4399 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4400 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4401 (tramp-postfix-host-format, tramp-file-name-regexp)
4402 (tramp-completion-file-name-regexp)
4403 (tramp-completion-dissect-file-name)
4404 (tramp-handle-substitute-in-file-name): Remove 'url case.
4405 (tramp-file-name-regexp-url)
4406 (tramp-completion-file-name-regexp-url): Remove constants.
4407
39785324
GM
44082013-09-06 Glenn Morris <rgm@gnu.org>
4409
4410 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4411
1f896cb7
DG
44122013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4413
4414 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4415 keywords" below "here-doc beginnings" (Bug#15270).
4416
c0458e0b
SM
44172013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 * subr.el (pop): Use `car-safe'.
4420 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4421 to detect unused `pop' return value.
4422
4423 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4424 var `block-regexp'.
4425 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4426 (python-fill-string): Remove unused var `marker'.
4427 (python-skeleton-add-menu-items): Remove unused var `items'.
4428
4429 * international/mule-cmds.el: Require CL.
4430 (find-coding-systems-for-charsets): Avoid add-to-list.
4431 (sanitize-coding-system-list): New function, extracted from
4432 select-safe-coding-system-interactively.
4433 (select-safe-coding-system-interactively): Use it.
4434 (read-input-method-name): Accept symbols for `default'.
4435
4436 * emacs-lisp/advice.el (defadvice): Add indent rule.
4437
6c42fc3e
DH
44382013-09-05 Daniel Hackney <dan@haxney.org>
4439
4440 * dired-x.el:
4441 * net/ange-ftp.el:
4442 * net/browse-url.el:
4443 * net/dbus.el:
4444 * net/eudc.el:
4445 * net/eudcb-ldap.el:
4446 * net/eww.el:
4447 * net/imap.el:
4448 * printing.el:
4449 * vc/ediff-diff.el:
4450 * vc/ediff-init.el:
4451 * vc/ediff-merg.el:
4452 * vc/ediff-mult.el:
4453 * vc/ediff-util.el:
4454 * vc/ediff-wind.el:
4455 * vc/ediff.el:
4456 * vc/emerge.el:
4457 * vc/pcvs.el:
4458 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4459 byte compiler. Remove some unused let-bound variables.
4460
4c528aab
SM
44612013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4464 a "ref-cell", since it gets better optimized (bug#14883).
4465
bd15c390
GM
44662013-09-05 Glenn Morris <rgm@gnu.org>
4467
4468 * progmodes/cc-awk.el (c-forward-sws): Declare.
4469
1c3ac2e5
GM
44702013-09-04 Glenn Morris <rgm@gnu.org>
4471
4472 * generic-x.el [rul-generic-mode]: Require cc-mode.
4473 (c++-mode-syntax-table): Declare.
4474 (rul-generic-mode-syntax-table): Init in the defvar.
4475
52b1cc79
SM
44762013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4477
c828af56
SM
4478 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4479 (vc-do-command, vc-set-async-update):
4480 * vc/vc-mtn.el (vc-mtn-dir-status):
4481 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4482 (vc-hg-pull, vc-hg-merge-branch):
4483 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4484 (vc-git-merge-branch):
4485 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4486 (vc-cvs-dir-status-files):
4487 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4488 (vc-bzr-dir-status-files):
4489 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4490 * vc/vc-annotate.el: Use lexical-binding.
4491 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4492 (vc-sentinel-movepoint): Declare.
4493 (vc-annotate): Don't use `goto-line'.
4494 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4495 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4496 (vc-sentinel-movepoint): Declare.
4497 * vc/vc-svn.el: Use lexical-binding.
4498 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4499 * vc/vc-sccs.el:
4500 * vc/vc-rcs.el: Use lexical-binding.
4501
abae272c
SM
4502 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4503 `deleted'. Don't drop errors silently.
4504
52b1cc79
SM
4505 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4506
63191d9f
XF
45072013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4508
4509 * vc/vc.el (vc-ignore): Rewrite.
4510 (vc-default-ignore): New function.
4511 (vc-default-ignore-completion-table): Use find-ignore-file.
4512
4513 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4514 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4515 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4516 Remove. Most code moved to vc.el.
4517
9d3f707c
SM
45182013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4519
abae272c 4520 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4521 * net/tramp-smb.el (tramp-smb-get-file-entries):
4522 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4523 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4524
fde38d49
SM
4525 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4526 Update call to it.
4527 (eww-change-select): Remove unused var `properties'.
4528 (eww-make-unique-file-name): Remove unused var `base'.
4529
4530 * finder.el (finder-compile-keywords): Don't mess with windows.
4531
84032db7
SM
4532 * calculator.el (calculator-funcall): Fix typo in last change.
4533
724f5e41
SM
4534 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4535
14b511d4
SM
4536 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4537 <pkg>-autoloads.el file stop us.
4538
9d3f707c 4539 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4540 warnings, and factor out common code.
9d3f707c 4541
88527bc0
DG
45422013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4543
4544 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4545 two-character operators and whether the character preceding them
4546 changes their meaning (Bug#15208).
4547
96edb677
FEG
45482013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4549
4550 Format code sent to Python shell for robustness.
9d3f707c
SM
4551 * progmodes/python.el (python-shell-buffer-substring):
4552 New function.
96edb677
FEG
4553 (python-shell-send-region, python-shell-send-buffer): Use it.
4554
95beaef3
MA
45552013-09-02 Michael Albinus <michael.albinus@gmx.de>
4556
4557 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4558 * net/tramp.el (tramp-user-error): ... here.
4559 (tramp-find-method, tramp-check-proper-host)
4560 (tramp-dissect-file-name, tramp-debug-message)
4561 (tramp-handle-shell-command):
4562 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4563 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4564
4565 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4566
f167c27b
MR
45672013-09-02 Martin Rudalics <rudalics@gmx.at>
4568
4569 * avoid.el (mouse-avoidance-point-position)
4570 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4571 returns nil.
4572
cd16c5f1
FEG
45732013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4574
4575 * progmodes/python.el (python-shell-completion-get-completions):
4576 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4577 (python-nav-if-name-main): New command.
cd16c5f1 4578
e73c3a0d
GM
45792013-09-01 Glenn Morris <rgm@gnu.org>
4580
f8ccce03
GM
4581 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4582 Avoid leading space in $wins. Otherwise the sed command used by
4583 eg compile-main ends up containing "/*.el". (Bug#15170)
4584
e73c3a0d
GM
4585 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4586
415f808e
GM
45872013-08-30 Glenn Morris <rgm@gnu.org>
4588
4589 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4590 Fix is-this-a-directory logic. (Bug#15220)
4591
f069bba8
SM
45922013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4593
112798c1
SM
4594 * textmodes/css-mode.el: Use SMIE.
4595 (css-smie-grammar): New var.
4596 (css-smie--forward-token, css-smie--backward-token)
4597 (css-smie-rules): New functions.
4598 (css-mode): Use them.
4599 (css-navigation-syntax-table): Remove var.
4600 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4601 (css-indent-calculate, css-indent-line): Remove functions.
4602
4603 Misc changes to reduce use of `(lambda...); and other cleanups.
4604 * cus-edit.el: Use lexical-binding.
4605 (customize-push-and-save, customize-apropos)
4606 (custom-buffer-create-internal): Use closures.
4607 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4608 * progmodes/ada-xref.el: Use setq.
4609 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4610 * dframe.el: Use lexical-binding.
4611 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4612 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4613 * descr-text.el: Use lexical-binding.
4614 (describe-text-widget, describe-text-sexp, describe-property-list):
4615 Use closures.
4616 * comint.el (comint-history-isearch-push-state): Use a closure.
4617 * calculator.el: Use lexical-binding.
4618 (calculator-number-to-string): Make it work with lexical-binding.
4619 (calculator-funcall): Same and use cl-letf.
4620
2da4c3ab
SM
4621 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4622 (lisp--company-doc-string, lisp--company-location): New functions.
4623 (lisp-completion-at-point): Use them to improve Company support.
4624
f069bba8
SM
4625 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4626 params of lambda expressions.
4627 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4628 (ruby-smie--opening-pipe-p): New function.
4629 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4630 symbols and matched |...| for formal params.
4631 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4632 from being treated as hanging. Handle "rescue".
4633
6758b6a8
GM
46342013-08-29 Glenn Morris <rgm@gnu.org>
4635
4636 * progmodes/cc-engine.el (c-pull-open-brace):
4637 Move definition before use.
4638
e8dfd197
SM
46392013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4642 are immutable. Don't use `unsafe' any more.
4643 (cl--defsubst-expand): Don't substitute at the same time as keeping
4644 a residual unused let-binding. Don't use `unsafe' any more.
4645
cc585c96
GM
46462013-08-29 Glenn Morris <rgm@gnu.org>
4647
ba579ea6
GM
4648 * calendar/cal-china.el (calendar-chinese-year-cache):
4649 Recenter on 2015.
4650
8201a87e
GM
4651 * nxml/nxml-util.el (nxml-debug-clear-inside):
4652 Use cl-loop rather than loop.
4653
6ee877c7
GM
4654 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4655
cc585c96
GM
4656 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4657
27be8d39
GM
46582013-08-28 Glenn Morris <rgm@gnu.org>
4659
397440a1
GM
4660 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4661
2bb762d4
GM
4662 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4663
27be8d39
GM
4664 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4665
2d69b99e
SM
46662013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4667
f663baa7
SM
4668 * simple.el (repeat-complex-command--called-interactively-skip):
4669 New function.
4670 (repeat-complex-command): Use it (bug#14136).
4671
dd4f8b74
SM
4672 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4673 (c-define-abbrev-table): Add `doc' argument.
4674 (c-mode-abbrev-table, c++-mode-abbrev-table)
4675 (objc-mode-abbrev-table, java-mode-abbrev-table)
4676 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4677 (awk-mode-abbrev-table): Use it.
4678 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4679 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4680 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4681 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4682 Move initialization into the declaration; and remove any
4683 autoload cookie.
4684
b58969f7
SM
4685 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4686 and dynamic let binding.
4687
4021d6a6
SM
4688 * vc/smerge-mode.el: Remove redundant :group args.
4689
2d69b99e
SM
4690 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4691 to load-path.
4692
274919fd
JL
46932013-08-28 Juri Linkov <juri@jurta.org>
4694
4695 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4696 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4697 (isearch-other-meta-char): Handle an undefined shifted printing
4698 character by downshifting it. (Bug#15200)
4699
121f8c95
JL
47002013-08-28 Juri Linkov <juri@jurta.org>
4701
4702 * isearch.el (isearch-search): Change regexp error message for
4703 non-regexp searches. (Bug#15166)
4704
50b13cde
PE
47052013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4706
4707 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4708 for portability to hosts where /bin/sh has problems.
4709
95888bca
SM
47102013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4713
bbe558f1
JL
47142013-08-27 Juri Linkov <juri@jurta.org>
4715
4716 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4717 in the keyboard macro. (Bug#15126)
4718
26f98a7d
JL
47192013-08-27 Juri Linkov <juri@jurta.org>
4720
4721 * isearch.el (isearch-quote-char): Comment out converting unibyte
4722 to multibyte, thus syncing with its `quoted-insert' counterpart.
4723 (Bug#15166)
4724
7c97d35e
MR
47252013-08-27 Martin Rudalics <rudalics@gmx.at>
4726
4727 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4728 argument in call of get-largest-window (Bug#15185).
4729 Reported by Stephen Leake.
7c97d35e 4730
a0b5606e 47312013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4732
4733 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4734
9e89d835
SM
47352013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4738 from a matcher-function unless there's no more matches (bug#15161).
4739
78fc2530
MA
47402013-08-26 Michael Albinus <michael.albinus@gmx.de>
4741
4742 * minibuffer.el: Revert change from 2013-08-20.
4743
4744 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4745 with text property `tramp-default', if appropriate.
4746 (tramp-check-proper-host): New defun.
4747 (tramp-dissect-file-name): Do not check hostname. Revert change
4748 of 2013-03-18.
4749 (tramp-backtrace): Make VEC-OR-PROC optional.
4750
4751 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4752 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4753 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4754 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4755 Apply `tramp-check-proper-host'.
78fc2530 4756
edca97cd
TH
47572013-08-26 Tassilo Horn <tsdh@gnu.org>
4758
4759 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4760 lambda expression in order to have `describe-variable' display it.
4761
df54bcbd
MA
47622013-08-26 Michael Albinus <michael.albinus@gmx.de>
4763
4764 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4765 BUF can be optional. (Bug#15186)
4766
eed99101
XF
47672013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4768
4769 * progmodes/flymake.el (flymake-get-real-file-name-function):
4770 Fix broken customization. (Bug#15184)
4771
b5eb9035
AM
47722013-08-25 Alan Mackenzie <acm@muc.de>
4773
8a51e842
AM
4774 Improve indentation of bracelists defined by macros (without "=").
4775
4776 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4777 expansion begins with "{", regard it as bracelist when it doesn't
4778 contain a ";".
4779
869455d4
AM
4780 Parse C++ inher-intro when there's a template split over 2 lines.
4781
4782 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4783 rigorously the search for "class" etc. followed by ":".
4784
4785 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4786 random languages a regexp which never matches rather than nil.
4787
b5eb9035
AM
4788 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4789
4790 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4791 (c-awk-regexp-one-line-possibly-open-char-list-re)
4792 (c-awk-one-line-possibly-open-regexp-re)
4793 (c-awk-one-line-non-syn-ws*-re): Remove.
4794 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4795 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4796 (c-awk-space*-unclosed-regexp-/-re): New constants.
4797 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4798 aren't regexp delimiters.
4799
4800 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4801 handling for a rare situation in AWK Mode involving unterminated
4802 strings/regexps.
4803
61611d54
GM
48042013-08-23 Glenn Morris <rgm@gnu.org>
4805
2d85dc34
GM
4806 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4807
cb8d2612
GM
4808 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4809
bb35f42f
GM
4810 * files.el (create-file-buffer): If the result would begin with
4811 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4812
b9808e77
SM
48132013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4814
e3a66363
SM
4815 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4816 text-properties (bug#15155).
4817
b9808e77
SM
4818 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4819 exist any more.
4820 (calc-keypad-redraw): Remove unused var `pad'.
4821 (calc-keypad-press): Remove unused var `menu'.
4822
7fd5f65e
MR
48232013-08-23 Martin Rudalics <rudalics@gmx.at>
4824
b9808e77
SM
4825 * window.el (display-buffer-pop-up-frame):
4826 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4827 use it as the new frame's buffer (Bug#15133).
4828
8352b530
SM
48292013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * calendar/timeclock.el: Minor cleanups.
4832 (timeclock-ask-before-exiting, timeclock-use-display-time):
4833 Use `symbol'.
4834 (timeclock-modeline-display): Define as alias before the
4835 actual definition.
4836 (timeclock-mode-line-display): Use define-minor-mode.
4837 (timeclock-day-list-template): Make it a function, add an argument.
4838 (timeclock-day-list-required, timeclock-day-list-length)
4839 (timeclock-day-list-debt, timeclock-day-list-span)
4840 (timeclock-day-list-break): Adjust calls accordingly.
4841
9f7b1925
SM
48422013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4843
4844 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4845 Use read--expression so that completion works again.
4846
6e50e983
SS
48472013-08-21 Sam Steingold <sds@gnu.org>
4848
4849 Add rudimentary inferior shell interaction
4850 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4851 (sh-set-shell): Reset it.
9f7b1925
SM
4852 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4853 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4854
dbb0d350
SM
48552013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 * align.el: Use lexical-binding.
4858 (align-region): Simplify accordingly.
4859
c88586a9
MA
48602013-08-20 Michael Albinus <michael.albinus@gmx.de>
4861
4862 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4863
4864 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4865 `non-essential' up.
4866
f95527c8
MA
48672013-08-17 Michael Albinus <michael.albinus@gmx.de>
4868
4869 * net/tramp.el:
4870 * net/tramp-adb.el:
4871 * net/tramp-cmds.el:
4872 * net/tramp-ftp.el:
4873 * net/tramp-gvfs.el:
4874 * net/tramp-gw.el:
4875 * net/tramp-sh.el: Don't wrap external variable declarations by
4876 `eval-when-compile'.
4877
4b5fe4ee
LMI
48782013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4879
4880 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4881 now that Emacs supports ImageMagick animations.
4882
13c366c9
MA
48832013-08-16 Michael Albinus <michael.albinus@gmx.de>
4884
4885 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4886 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4887
3dfc5cd6
MR
48882013-08-16 Martin Rudalics <rudalics@gmx.at>
4889
4890 * window.el (mouse-autoselect-window-select): Do autoselect when
4891 mouse pointer is on margin.
4892
4bbb4381
WP
48932013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4894
4895 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4896
3a2ddc2d
GM
48972013-08-16 Glenn Morris <rgm@gnu.org>
4898
e8bedf5a
GM
4899 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4900 Handle "Remote Directory" response of some clients. (Bug#15058)
4901
58c4682f
GM
4902 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4903 Tweak warning. (Bug#14926)
4904
57953f49
GM
4905 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4906 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4907
3a2ddc2d
GM
4908 * image-mode.el (image-mode-map): Add menu items to reverse,
4909 increase, decrease, reset animation speed.
4910 (image--set-speed, image-increase-speed, image-decrease-speed)
4911 (image-reverse-speed, image-reset-speed): New functions.
4912 (image-mode-map): Add bindings for speed commands.
4913
4914 * image.el (image-animate-get-speed, image-animate-set-speed):
4915 New functions.
4916 (image-animate-timeout): Respect image :speed property.
4917
10fa0ed3
SM
49182013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4921 previous line (bug#15101).
4922 (debugger-eval-expression, debugger-record-expression):
4923 Use read--expression (bug#15102).
4924
5d89d9d2
MA
49252013-08-15 Michael Albinus <michael.albinus@gmx.de>
4926
4927 Remove byte compiler warnings, visible when compiling with
4928 `byte-compile-force-lexical-warnings' set to t.
4929
4930 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4931 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4932 (tramp-handle-unhandled-file-name-directory)
4933 (tramp-handle-file-notify-add-watch, tramp-action-login)
4934 (tramp-action-succeed, tramp-action-permission-denied)
4935 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4936 arguments with "_".
4937
4938 * net/tramp-adb.el (tramp-adb-parse-device-names)
4939 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4940 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4941 (tramp-adb-handle-file-truename): Remove unused arguments.
4942
4943 * net/tramp-cache.el (tramp-flush-directory-property)
4944 (tramp-flush-connection-property, tramp-list-connections)
4945 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4946
10fa0ed3
SM
4947 * net/tramp-compat.el (tramp-compat-make-temp-file):
4948 Rename FILENAME to F.
5d89d9d2
MA
4949
4950 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4951 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4952 (tramp-zeroconf-parse-workstation-device-names)
4953 (tramp-zeroconf-parse-webdav-device-names)
4954 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4955
4956 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4957 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4958
4959 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4960 arguments.
4961 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4962 (tramp-sh-handle-insert-file-contents-literally)
4963 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4964 with "_".
4965 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4966 Remove unused variables.
4967
4968 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4969 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4970 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4971
4972 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4973 Make them a defconst.
4974 (tramp-uuencode-region): Remove unused variable.
4975
62f33bae
JB
49762013-08-14 Juanma Barranquero <lekktu@gmail.com>
4977
4978 * frameset.el (frameset--prop-setter): New function.
4979 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4980 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4981 parameter was already set in FILTERED. Doc fix.
4982 (frameset--record-minibuffer-relationships): Allow saving a
4983 minibufferless frame without its corresponding minibuffer frame.
4984 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4985 frame, if the frame id matches.
4986 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4987 frames before orphaned ones.
4988 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4989
c660a885
MR
49902013-08-14 Martin Rudalics <rudalics@gmx.at>
4991
4992 * window.el (window-make-atom): Don't overwrite parameter
4993 already present.
4994 (display-buffer-in-atom-window): Handle special case where we
4995 split an already atomic window.
4996 (window--major-non-side-window, display-buffer-in-side-window)
4997 (window--side-check): Ignore minibuffer window when walking
4998 window tree.
4999 (window-deletable-p): Return 'frame only if no other frame uses
5000 our minibuffer window.
5001 (record-window-buffer): Run buffer-list-update-hook.
5002 (split-window): Make sure window--check-frame won't destroy an
5003 existing atomic window in case the new window gets nested
5004 inside.
5005 (display-buffer-at-bottom): Ignore minibuffer window when
5006 walking window tree. Don't split a side window.
5007 (pop-to-buffer): Don't set-buffer here, the select-window call
5008 should do that.
5009 (mouse-autoselect-window-select): Autoselect only if we are in the
5010 text portion of the window.
5011
8259030d
LMI
50122013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5013
21c58ae2
LMI
5014 * net/shr.el (shr-parse-image-data): New function to grab both the
5015 data itself and the Content-Type.
5016 (shr-put-image): Use it.
5017
5018 * net/eww.el (eww-display-image): Ditto.
5019
8259030d
LMI
5020 * image.el (image-content-type-suffixes): New variable.
5021
ad756449
FEG
50222013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5023
5024 * progmodes/python.el (python-imenu--build-tree)
5025 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5026
f73f4ce6
XF
50272013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5028
5029 * simple.el (backward-word): Mention the optional argument.
5030
1f585e65
SM
50312013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5032
5033 * frameset.el (frameset--make): Rename constructor from make-frameset.
5034 (frameset-p, frameset-valid-p): Don't autoload.
5035 (frameset-valid-p): Use normal accessors.
5036
af1c6c84
GM
50372013-08-13 Glenn Morris <rgm@gnu.org>
5038
55e47f95
GM
5039 * progmodes/compile.el (compile-command): Tweak example in doc.
5040 * obsolete/scribe.el (scribe-mode):
5041 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5042
f0024d8c
GM
5043 * mail/feedmail.el (feedmail-confirm-outgoing)
5044 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5045
5046 * cus-start.el (truncate-partial-width-windows): Fix type.
5047
5048 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5049
af1c6c84
GM
5050 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5051
5514cc4c
SM
50522013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5053
5054 * emacs-lisp/timer.el (timer--time-setter): New function.
5055 (timer--time): Use it as gv-setter.
5056
5057 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5058 setter is not a symbol.
5059
7997a2f1
GJ
50602013-08-12 Grégoire Jadi <daimrod@gmail.com>
5061
5062 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5063 if sending fails. This makes debugging easier.
5064
01f1a9ab
JB
50652013-08-12 Juanma Barranquero <lekktu@gmail.com>
5066
5067 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5068 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5069 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5070
594a4307
EZ
50712013-08-12 Eli Zaretskii <eliz@gnu.org>
5072
5073 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5074
7a22490f 50752013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5076
5077 * format.el (format-annotate-function):
5078 Handle read-only text properties in the source. (Bug#14887)
5079
3e41a054
LMI
50802013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5081
5514cc4c
SM
5082 * net/eww.el (eww-display-html): Ignore coding system errors.
5083 One web site uses "utf-8lias" as the coding system.
3e41a054 5084
7ec326db
JB
50852013-08-11 Juanma Barranquero <lekktu@gmail.com>
5086
5087 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5088
5660113b
JB
50892013-08-10 Juanma Barranquero <lekktu@gmail.com>
5090
9a4ebc74
JB
5091 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5092 (tutorial--detailed-help): Remove unused local variables.
5093 (tutorial--save-tutorial-to): Use ignore-errors.
5094 (help-with-tutorial): Use looking-at-p.
5095
5096 * view.el (view-buffer-other-window, view-buffer-other-frame):
5097 Mark unused arguments.
5098
5099 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5100 (woman-select-symbol-fonts, woman, woman-find-file)
5101 (woman-insert-file-contents, woman-non-underline-faces):
5102 Use string-match-p.
5103 (woman1-unquote): Move declaration.
5104
5105 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5106 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5107 argument. Remove unused local variable.
5108 (xml-parse-elem-type): Use string-match-p.
5109 (xml-substitute-numeric-entities): Use ignore-errors.
5110
45fdb482
JB
5111 * calculator.el (calculator): Mark unused argument.
5112 (calculator-paste, calculator-quit, calculator-integer-p):
5113 Use ignore-errors.
5114 (calculator-string-to-number, calculator-decimal, calculator-exp)
5115 (calculator-op-or-exp): Use string-match-p.
5116
5117 * dired.el (dired-buffer-more-recently-used-p): Declare.
5118 (dired-insert-set-properties, dired-insert-old-subdirs):
5119 Use ignore-errors.
5120
5121 * dired-aux.el (dired-compress): Use ignore-errors.
5122 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5123 (dired-do-async-shell-command, dired-do-shell-command)
5124 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5125 (dired-insert-subdir-validate): Use string-match-p.
5126 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5127 (dired-add-entry): Use string-match-p, looking-at-p.
5128 (dired-insert-subdir-newpos): Remove unused local variable.
5129
5130 * filenotify.el (file-notify-callback): Remove unused local variable.
5131
5132 * filesets.el (filesets-error): Mark unused argument.
5133 (filesets-which-command-p, filesets-filter-dir-names)
5134 (filesets-directory-files, filesets-get-external-viewer)
5135 (filesets-ingroup-get-data): Use string-match-p.
5136
5137 * find-file.el (ff-other-file-name, ff-other-file-name)
5138 (ff-find-the-other-file, ff-cc-hh-converter):
5139 Remove unused local variables.
5140 (ff-get-file-name): Use string-match-p.
5141 (ff-all-dirs-under): Use ignore-errors.
5142
5143 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5144 (follow-select-if-visible): Remove unused local variable.
5145
5146 * forms.el (read-file-filter): Move declaration.
5147 (forms--make-format, forms--make-parser, forms-insert-record):
5148 Quote function with #'.
5149 (forms--update): Use string-match-p. Quote function with #'.
5150
5151 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5152 (help-make-xrefs): Use looking-at-p.
5153 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5154
5155 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5156 (ibuffer-confirm-operation-on): Use string-match-p.
5157
5158 * msb.el (msb-item-handler, msb-dired-item-handler):
5159 Mark unused arguments.
5160
5161 * ses.el (ses-decode-cell-symbol)
5162 (ses-kill-override): Remove unused local variable.
5163 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5164 (ses-load): Use ignore-errors, looking-at-p.
5165 (ses-jump-safe): Use ignore-errors.
5166 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5167
5168 * tabify.el (untabify, tabify): Mark unused arguments.
5169
5170 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5171 Mark unused argument.
5172 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5173 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5174
c880af52
JB
5175 * emacs-lisp/timer.el (timer--time): Define setter with
5176 gv-define-setter to avoid deprecation warning.
5177
5660113b 5178 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5179 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5180 (cmpl-statistics-block): Remove (body was commented out).
5181 All callers changed.
5182 (add-completions-from-buffer, load-completions-from-file):
5183 Remove unused variables.
5184
156aab80
JB
51852013-08-09 Juanma Barranquero <lekktu@gmail.com>
5186
5c5dee78
JB
5187 * filecache.el (file-cache-delete-file-list):
5188 Print message only when told so.
5189 (file-cache-files-matching): Use #' in mapconcat argument.
5190
156aab80
JB
5191 * ffap.el (ffap-url-at-point): Fix reference to variable
5192 thing-at-point-default-mail-uri-scheme.
5193
ad9dcd70
SM
51942013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5195
54bd972f
SM
5196 * subr.el (define-error): New function.
5197 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5198 error-file-not-found and define with define-error.
5199 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5200 and define with define-error.
5201 * userlock.el (file-locked, file-supersession):
5202 * simple.el (mark-inactive):
5203 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5204 * progmodes/ada-mode.el (ada-mode-errors):
5205 * play/life.el (life-extinct):
5206 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5207 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5208 * nxml/rng-util.el (rng-error):
5209 * nxml/rng-uri.el (rng-uri-error):
5210 * nxml/rng-match.el (rng-compile-error):
5211 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5212 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5213 * nxml/nxml-rap.el (nxml-scan-error):
5214 * nxml/nxml-outln.el (nxml-outline-error):
5215 * net/soap-client.el (soap-error):
5216 * net/gnutls.el (gnutls-error):
5217 * net/ange-ftp.el (ftp-error):
5218 * mpc.el (mpc-proc-error):
5219 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5220 (json-number-format, json-string-escape, json-string-format)
5221 (json-key-format, json-object-format):
5222 * jka-compr.el (compression-error):
5223 * international/quail.el (quail-error):
5224 * international/kkc.el (kkc-error):
5225 * emacs-lisp/ert.el (ert-test-failed):
5226 * calc/calc.el (calc-error, inexact-result, math-overflow)
5227 (math-underflow):
5228 * bookmark.el (bookmark-error-no-filename):
5229 * epg.el (epg-error): Define with define-error.
5230
0ea9e53a
SM
5231 * time.el (display-time-event-handler)
5232 (display-time-next-load-average): Don't call sit-for since it seems
5233 unnecessary (bug#15045).
5234
b0429158
SM
5235 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5236 Use #' instead of ' to quote functions.
5237 (checkdoc-output-mode): Use setq-local.
5238 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5239 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5240 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5241 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5242 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5243 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5244 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5245 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5246
ad9dcd70
SM
5247 * ido.el (ido-completion-help): Fix up compiler warning.
5248
77187e6f
JB
52492013-08-09 Juanma Barranquero <lekktu@gmail.com>
5250
5251 * frameset.el (frameset-p): Add autoload cookie.
5252 (frameset--jump-to-register): New function, based on code moved from
5253 register.el.
5254 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5255
5256 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5257 (frameset-restore, frameset-save, frameset-session-filter-alist):
5258 Remove declarations.
5259 (register-alist): Doc fix.
5260 (frameset-to-register): Move to frameset.el.
5261 (jump-to-register, describe-register-1): Remove frameset-specific code.
5262
9d3aa82c
JB
52632013-08-08 Juanma Barranquero <lekktu@gmail.com>
5264
5265 * allout-widgets.el (allout-widgets-pre-command-business)
5266 (allout-widgets-post-command-business)
5267 (allout-widgets-after-change-handler)
5268 (allout-decorate-item-and-context, allout-set-boundary-marker)
5269 (allout-body-modification-handler)
5270 (allout-graphics-modification-handler): Mark ignored arguments.
5271 (allout-widgets-post-command-business)
5272 (allout-widgets-exposure-change-processor)
5273 (allout-widgets-exposure-undo-processor)
5274 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5275 (allout-parse-item-at-point, allout-decorate-item-guides)
5276 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5277 * allout.el (epa-passphrase-callback-function): Declare.
5278 (allout-overlay-insert-in-front-handler)
5279 (allout-overlay-interior-modification-handler)
5280 (allout-isearch-end-handler, allout-chart-siblings)
5281 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5282 (allout-yank-processing, allout-process-exposed)
5283 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5284 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5285 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5286 (lisp-indent-defform): Mark ignored arguments.
5287 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5288 (calculate-lisp-indent): Remove unused variables.
5289 * international/characters.el (indian-2-column, arabic-2-column)
5290 (tibetan): Mark ignored arguments.
5291 (use-cjk-char-width-table): Mark ignored arguments.
5292 Remove unused variables.
5293 * international/fontset.el (build-default-fontset-data)
5294 (x-compose-font-name, create-fontset-from-fontset-spec):
5295 Mark ignored arguments.
5296 (fontset-plain-name): Remove unused variables.
5297 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5298 (keyboard-coding-system): Mark ignored arguments.
5299 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5300 * help.el (resize-temp-buffer-window):
5301 * window.el (display-buffer-in-major-side-window)
5302 (display-buffer-in-side-window, display-buffer-in-previous-window):
5303 Remove unused variables.
5304 * isearch.el (isearch-forward-symbol):
5305 * version.el (emacs-bzr-version-bzr):
5306 * international/mule-cmds.el (current-language-environment):
5307 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5308 (x-handle-display):
5309 * term/pc-win.el (x-list-fonts, x-display-planes)
5310 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5311 (x-server-version, x-display-screens, x-display-mm-height)
5312 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5313 (x-selection-owner-p, x-own-selection-internal)
5314 (x-disown-selection-internal, x-get-selection-internal)
5315 (msdos-initialize-window-system):
5316 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5317 * term/x-win.el (x-handle-no-bitmap-icon):
5318 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5319 (vc-default-find-file-hook, vc-default-extra-menu):
5320 Mark ignored arguments.
5321
0ca3f70e
SM
53222013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5323
5324 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5325 break-condition in the context of the debugged code (bug#12685).
5326
74c5d24c
CS
53272013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5328
5329 * comint.el:
5330 Do not use an overlay to highlight the last prompt. (Bug#14744)
5331 (comint-mode): Make comint-last-prompt buffer local.
5332 (comint-last-prompt): New variable.
5333 (comint-last-prompt-overlay): Remove. Superseded by
5334 comint-last-prompt.
0ca3f70e
SM
5335 (comint-snapshot-last-prompt, comint-output-filter):
5336 Use comint-last-prompt.
74c5d24c 5337
c03c02ee
JB
53382013-08-08 Juanma Barranquero <lekktu@gmail.com>
5339
a3738d20 5340 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5341 (frameset-save): Check validity of the resulting frameset.
5342
04263d23
XF
53432013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5344
5345 * ido.el (ido-record-command): Add doc string.
5346
76c5e5ab
JB
53472013-08-08 Juanma Barranquero <lekktu@gmail.com>
5348
5349 * frameset.el (frameset): Do not disable creation of the default
5350 frameset-p predicate. Doc fix.
5351 (frameset-valid-p): New function, copied from the old predicate-p.
5352 Add additional checks.
5353 (frameset-restore): Check with frameset-valid-p.
5354 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5355 (frameset-name, frameset-description, frameset-properties)
5356 (frameset-states): Add docstring.
f9dbf1cb
JB
5357 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5358 (frameset-filter-alist): Doc fixes.
76c5e5ab 5359
bd0c3c0b
JB
53602013-08-08 Juanma Barranquero <lekktu@gmail.com>
5361
5362 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5363
c735544c
SM
53642013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5367 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5368 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5369 (byte-compile-normal-call): Remove obsolescence check.
5370
2805a651
JB
53712013-08-08 Juanma Barranquero <lekktu@gmail.com>
5372
3677ffeb
JB
5373 * frameset.el (frameset-restore): Doc fix.
5374
2805a651
JB
5375 * register.el (frameset-frame-id, frameset-frame-with-id)
5376 (frameset-p, frameset-restore, frameset-save): Declare.
5377 (register-alist): Document framesets.
5378 (frameset-session-filter-alist): Declare.
5379 (frameset-to-register): New function.
5380 (jump-to-register): Implement jumping to framesets. Doc fix.
5381 (describe-register-1): Describe framesets.
5382
5383 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5384
a912c016
JB
53852013-08-07 Juanma Barranquero <lekktu@gmail.com>
5386
5387 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5388 Use lexical-binding.
5389
5390 * frameset.el (frameset): Use type vector, not list (incompatible
5391 change). Do not declare a new constructor, use the default one.
5392 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5393 `name' and `description', respectively, and add read-only slot
5394 `timestamp'. Doc fixes.
5395 (frameset-copy, frameset-persistent-filter-alist)
5396 (frameset-filter-alist, frameset-switch-to-gui-p)
5397 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5398 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5399 (frameset-filter-iconified, frameset-keep-original-display-p):
5400 Doc fixes.
5401 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5402 Rename from frameset-filter-(save|restore)-param. All callers changed.
5403 Doc fix.
5404 (frameset-p): Adapt to change to vector and be more thorough.
5405 Change arg name to OBJECT. Doc fix.
5406 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5407 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5408 All callers changed.
5409 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5410 All callers changed.
5411 (frameset--record-minibuffer-relationships): Rename from
5412 frameset--process-minibuffer-frames. All callers changed.
5413 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5414 Use new default constructor (again). Doc fix.
5415 (frameset--find-frame-if): Rename from `frameset--find-frame.
5416 All callers changed.
5417 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5418 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5419 Doc fix.
5420 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5421 PARAMETERS and WINDOW-STATE, respectively.
5422 (frameset-restore): Add new keyword argument PREDICATE.
5423 Reset frameset--target-display to nil. Doc fix.
5424
bb41480a
SM
54252013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5426
f001e98e
SM
5427 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5428 (bat-mode): Use it.
5429 (bat-mode-syntax-table): Mark \n as end-of-comment.
5430 (bat-font-lock-keywords): Remove comment rule.
5431
7679edb1
SM
5432 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5433 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5434
bb41480a
SM
5435 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5436 (byte-compile-callargs-warn): Use `push'.
5437 (byte-compile-arglist-warn): Ignore higher-order "calls".
5438 (byte-compile-file-form-autoload): Use `pcase'.
5439 (byte-compile-function-form): If quoting a symbol, check that it exists.
5440
cdc1ebb9
EZ
54412013-08-07 Eli Zaretskii <eliz@gnu.org>
5442
5443 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5444 and add a few popular commands found in batch files.
5445 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5446 (dos-mode): Doc fixes.
5447
312b1740
SM
54482013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5449
5450 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5451 (dos-mode): Use setq-local. Add space after "rem".
5452 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5453 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5454
400a3178
AM
54552013-08-07 Arni Magnusson <arnima@hafro.is>
5456
5457 * progmodes/dos.el: New file.
5458 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5459 dos-mode.
5460
3b5c03d3
GM
54612013-08-06 Glenn Morris <rgm@gnu.org>
5462
5463 * calendar/calendar.el: Add new faces, and day-header-array.
5464 (calendar-weekday-header, calendar-weekend-header)
5465 (calendar-month-header): New faces.
5466 (calendar-day-header-construct): New function.
5467 (calendar-day-header-width): Also :set calendar-day-header-array.
5468 (calendar-american-month-header, calendar-european-month-header)
5469 (calendar-iso-month-header): Use calendar- faces.
5470 (calendar-generate-month):
5471 Use calendar-day-header-array for day headers; apply faces to them.
5472 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5473 (calendar-abbrev-construct): Add optional maxlen argument.
5474 (calendar-day-name-array): Doc fix.
5475 (calendar-day-name-array, calendar-abbrev-length)
5476 (calendar-day-abbrev-array):
5477 Also :set calendar-day-header-array, and maybe redraw.
5478 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5479 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5480 (calendar-day-name): Add option to use header array.
5481
ec6a2d7a
LMI
54822013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5483
5484 * net/shr.el (shr-render-td): Remove debugging.
5485 (shr-render-td): Make width computation consistent by defaulting
5486 all zero-width columns to 10 characters. This may not be optimal,
5487 but it's at least consistent.
2122cb6d
LMI
5488 (shr-make-table-1): Redo last change to fix the real problem in
5489 colspan handling.
ec6a2d7a 5490
ed4fd9c5
DA
54912013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5492
0ca3f70e
SM
5493 * files.el (cache-long-line-scans):
5494 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5495
64e22afe
JB
54962013-08-06 Juanma Barranquero <lekktu@gmail.com>
5497
024b38fc
JB
5498 * frameset.el (frameset, frameset-filter-alist)
5499 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5500 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5501 (frameset-compute-pos): Rename from frameset--compute-pos,
5502 and add docstring.
5503 (frameset-move-onscreen): Use frameset-compute-pos.
5504 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5505
64e22afe
JB
5506 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5507 Fix typos in docstrings.
5508
c8c2aca8
DA
55092013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5510
5511 * frame.el (get-other-frame): Tiny cleanup.
5512
1d237bba
JB
55132013-08-06 Juanma Barranquero <lekktu@gmail.com>
5514
8951efef
JB
5515 * vc/vc.el (vc-default-ignore-completion-table):
5516 Silence byte-compiler warning.
5517
307764cc
JB
5518 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5519 slot , which can indeed be nil.
5520 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5521 Move entry for `left' from persistent to live filter alist.
5522 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5523 Doc fixes.
5524 (frameset-filter-params): When restoring a frame, copy items added to
5525 `filtered', to avoid unwittingly modifying the original parameters.
5526 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5527 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5528
1d237bba
JB
5529 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5530 to use looking-at-p instead of looking-at. (Bug#15028)
5531
dc6c0eda
SM
55322013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5533
5534 Revert introduction of isearch-filter-predicates (bug#14714).
5535 Rely on add-function instead.
5536 * isearch.el (isearch-filter-predicates): Rename it back to
5537 isearch-filter-predicate.
5538 (isearch-message-prefix): Use advice-function-mapc and advice
5539 properties to get the isearch-message-prefix.
5540 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5541 instead of run-hook-with-args-until-failure.
5542 (isearch-filter-visible): Not obsolete any more.
5543 * loadup.el: Preload nadvice.
5544 * replace.el (perform-replace): Revert to funcall
5545 instead of run-hook-with-args-until-failure.
5546 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5547 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5548 dired-isearch-filenames-toggle; make it into a proper minor mode.
5549 Use add/remove-function.
5550 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5551 Call the minor-mode rather than add/remove-hook.
5552 (dired-isearch-filter-filenames):
5553 Remove isearch-message-prefix property.
5554 * info.el (Info--search-loop): New function, extracted from Info-search.
5555 Funcall isearch-filter-predicate instead of
5556 run-hook-with-args-until-failure isearch-filter-predicates.
5557 (Info-search): Use it.
5558 (Info-mode): Use isearch-filter-predicate instead of
5559 isearch-filter-predicates.
5560
290d5b58
DA
55612013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5562
5563 Do not call to `selected-window' where it is assumed by default.
5564 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5565 `window-hscroll', `window-width', `window-height', `window-buffer',
5566 `window-frame', `window-start', `window-point', `next-window'
5567 and `window-display-table'.
5568 * abbrev.el (abbrev--default-expand):
5569 * bs.el (bs--show-with-configuration):
5570 * buff-menu.el (Buffer-menu-mouse-select):
5571 * calc/calc.el (calc):
5572 * calendar/calendar.el (calendar-generate-window):
5573 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5574 (diary-make-entry):
5575 * comint.el (send-invisible, comint-dynamic-complete-filename)
5576 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5577 * completion.el (complete):
5578 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5579 * disp-table.el (describe-current-display-table):
5580 * doc-view.el (doc-view-insert-image):
5581 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5582 * ehelp.el (with-electric-help):
5583 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5584 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5585 * emacs-lisp/helper.el (Helper-help-scroller):
5586 * emulation/cua-base.el (cua--post-command-handler-1):
5587 * eshell/esh-mode.el (eshell-output-filter):
5588 * ffap.el (ffap-gnus-wrapper):
5589 * help-macro.el (make-help-screen):
5590 * hilit-chg.el (highlight-compare-buffers):
5591 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5592 * hl-line.el (global-hl-line-highlight):
5593 * icomplete.el (icomplete-simple-completing-p):
5594 * isearch.el (isearch-done):
5595 * jit-lock.el (jit-lock-stealth-fontify):
5596 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5597 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5598 * mpc.el (mpc-tagbrowser, mpc):
5599 * net/rcirc.el (rcirc-any-buffer):
5600 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5601 * play/landmark.el (landmark-max-width, landmark-max-height):
5602 * play/zone.el (zone):
5603 * progmodes/compile.el (compilation-goto-locus):
5604 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5605 * progmodes/etags.el (find-tag-other-window):
5606 * progmodes/fortran.el (fortran-column-ruler):
5607 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5608 * progmodes/verilog-mode.el (verilog-point-text):
5609 * reposition.el (reposition-window):
5610 * rot13.el (toggle-rot13-mode):
5611 * server.el (server-switch-buffer):
5612 * shell.el (shell-dynamic-complete-command)
5613 (shell-dynamic-complete-environment-variable):
5614 * simple.el (insert-buffer, set-selective-display)
5615 (delete-completion-window):
5616 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5617 (speedbar-recenter):
5618 * startup.el (fancy-splash-head):
5619 * textmodes/ispell.el (ispell-command-loop):
5620 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5621 * tutorial.el (help-with-tutorial):
5622 * vc/add-log.el (add-change-log-entry):
5623 * vc/compare-w.el (compare-windows):
5624 * vc/ediff-help.el (ediff-indent-help-message):
5625 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5626 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5627 (ediff-setup-control-frame):
5628 * vc/emerge.el (emerge-position-region):
5629 * vc/pcvs-util.el (cvs-bury-buffer):
5630 * window.el (walk-windows, mouse-autoselect-window-select):
5631 * winner.el (winner-set-conf, winner-undo): Related users changed.
5632
38276e01
JB
56332013-08-05 Juanma Barranquero <lekktu@gmail.com>
5634
5635 * frameset.el (frameset--set-id): Doc fix.
5636 (frameset-frame-id, frameset-frame-id-equal-p)
5637 (frameset-locate-frame-id): New functions.
5638 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5639 (frameset-restore): Use them.
5640
12b4c0ea
DA
56412013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5642
5643 Do not call to `selected-frame' where it is assumed by default.
5644 Affected functions are `raise-frame', `redraw-frame',
5645 `frame-first-window', `frame-terminal' and `delete-frame'.
5646 * calendar/appt.el (appt-disp-window):
5647 * epg.el (epg-wait-for-completion):
5648 * follow.el (follow-delete-other-windows-and-split)
5649 (follow-avoid-tail-recenter):
5650 * international/mule.el (set-terminal-coding-system):
5651 * mail/rmail.el (rmail-mail-return):
5652 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5653 * progmodes/f90.el (f90-add-imenu-menu):
5654 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5655 * server.el (server-switch-buffer):
5656 * simple.el (delete-completion-window):
5657 * talk.el (talk):
5658 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5659 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5660 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5661 * vc/ediff.el (ediff-documentation): Related users changed.
5662 * frame.el (selected-terminal): Remove the leftover.
5663
17f25e76
GM
56642013-08-05 Glenn Morris <rgm@gnu.org>
5665
5666 * calendar/calendar.el (calendar-generate-month):
5667 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5668 (calendar-generate-month, calendar-font-lock-keywords):
5669 Fix for calendar-day-header-width > length of any day name.
17f25e76 5670
063233c3
JB
56712013-08-05 Juanma Barranquero <lekktu@gmail.com>
5672
5673 * desktop.el (desktop-clear): Use new name of sort predicate.
5674
5675 * frameset.el (frameset): Add docstring. Move :version property to its
5676 own `version' slot.
5677 (frameset-copy): Rename from copy-frameset.
5678 (frameset-p): Check more thoroughly.
5679 (frameset-prop): Do not check for :version, which is no longer a prop.
5680 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5681 Use new :never value instead of t.
5682 (frameset-filter-alist): Expand and clarify docstring.
5683 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5684 (frameset-filter-minibuffer, frameset-filter-save-param)
5685 (frameset-filter-restore-param, frameset-filter-iconified):
5686 Add pointer to docstring of frameset-filter-alist.
5687 (frameset-filter-params): Rename filter values to be more meaningful:
5688 :never instead of t, and reverse the meanings of :save and :restore.
5689 (frameset--process-minibuffer-frames): Clarify error message.
5690 (frameset-save): Avoid unnecessary and confusing call to framep.
5691 Use new BOA constructor for framesets.
5692 (frameset--reuse-list): Doc fix.
5693 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5694 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5695 (frameset-minibufferless-first-p): Doc fix.
5696 Rename from frameset-sort-frames-for-deletion.
5697 (frameset-restore): Doc fixes. Use new function names.
5698 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5699
d5671a82
JB
57002013-08-04 Juanma Barranquero <lekktu@gmail.com>
5701
5702 * desktop.el (desktop-restore-forces-onscreen)
5703 (desktop-restore-reuses-frames): Document :keyword constant values.
5704 (desktop-filter-parameters-alist): Remove, now identical to
5705 frameset-filter-alist.
5706 (desktop--filter-tty*): Remove, moved to frameset.el.
5707 (desktop-save-frameset, desktop-restore-frameset):
5708 Do not pass :filters argument.
5709
5710 * frameset.el (frameset-live-filter-alist)
5711 (frameset-persistent-filter-alist): New variables.
5712 (frameset-filter-alist): Use them. Add autoload cookie.
5713 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5714 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5715 `frameset--id' (it's supposed to be internal to frameset.el).
5716 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5717 (frameset--initial-params): New function.
5718 (frameset--get-frame): Use it. Doc fix.
5719 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5720 Accept :all, not 'all.
5721 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5722 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5723 with fbound symbols. Fix frame id matching, and remove matching ids if
5724 the frame being restored is deleted. Obey :delete.
5725
671d5c16
SM
57262013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * subr.el (macrop): New function.
5729 (text-clone--maintaining): New var.
5730 (text-clone--maintain): Rename from text-clone-maintain. Use it
5731 instead of inhibit-modification-hooks.
5732
5733 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5734 a proxy, so as handle autoloads and redefinitions of the target.
5735 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5736
5737 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5738 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5739 (pcase--mutually-exclusive-p): New function.
5740 (pcase--split-consp): Use it.
5741 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5742 mutually exclusive with the current predicate.
5743
5744 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5745 (edebug-macrop): Remove. Use `macrop' instead.
5746 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5747 (ad-macro-p):
5748 * eshell/esh-cmd.el (eshell-macrop):
5749 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5750
1d44e9dc
SM
57512013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5754 (advice-mapc): New function, using it.
5755 (advice-function-member-p): New function.
5756 (advice--normalize): Store the cdr in advice--saved-rewrite since
5757 that's the part that will be changed.
5758 (advice--symbol-function): New function.
5759 (advice-remove): Handle removal before the function is defined.
5760 Adjust to new advice--saved-rewrite.
5761 (advice-member-p): Use advice-function-member-p and
5762 advice--symbol-function.
5763
5414a283
JB
57642013-08-04 Juanma Barranquero <lekktu@gmail.com>
5765
51d30f2c
JB
5766 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5767 (frameset-filter-minibuffer): Doc fix.
5768 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5769 (frameset--set-id, frameset--process-minibuffer-frames)
5770 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5771 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5772
5414a283
JB
5773 * desktop.el (desktop-clear): Only delete frames when called
5774 interactively and desktop-restore-frames is non-nil. Doc fix.
5775 (desktop-read): Set desktop-saved-frameset to nil.
5776
ab419665
XF
57772013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5778
5779 * vc/vc.el (vc-ignore): Rewrite.
5780 (vc-default-ignore-completion-table):
5781 (vc--read-lines):
5782 (vc--add-line, vc--remove-regexp): New functions.
5783
5784 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5785 (vc-svn-ignore-completion-table): New function.
5786
5787 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5788 (vc-hg-ignore-completion-table):
5789 (vc-hg-find-ignore-file): New functions.
5790
5791 * vc/vc-git.el (vc-git-ignore): Rewrite.
5792 (vc-git-ignore-completion-table):
5793 (vc-git-find-ignore-file): New functions.
5794
5795 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5796
5797 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5798 (vc-bzr-ignore-completion-table):
5799 (vc-bzr-find-ignore-file): New functions.
5800
2613dea2
JB
58012013-08-03 Juanma Barranquero <lekktu@gmail.com>
5802
5803 * frameset.el (frameset-prop): New function and setter.
5804 (frameset-save): Do not modify frame list passed by the caller.
5805
9c959872
SM
58062013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5809
a104f656
SM
58102013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5811
70122acf
SM
5812 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5813 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5814
a104f656
SM
5815 * custom.el (custom-initialize-default, custom-initialize-set)
5816 (custom-initialize-reset, custom-initialize-changed): Affect the
5817 toplevel-default-value (bug#6275, bug#14586).
5818 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5819 for bug#6275.
5820
f078d570
JB
58212013-08-02 Juanma Barranquero <lekktu@gmail.com>
5822
185e3b5a
JB
5823 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5824 Add cl-def* expressions.
5825
f078d570
JB
5826 * frameset.el (frameset-filter-params): Fix order of arguments.
5827
9421876d
JB
58282013-08-02 Juanma Barranquero <lekktu@gmail.com>
5829
5830 Move code related to saving frames to frameset.el.
5831 * desktop.el: Require frameset.
5832 (desktop-restore-frames): Doc fix.
5833 (desktop-restore-reuses-frames): Rename from
5834 desktop-restoring-reuses-frames.
5835 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5836 (desktop-clear): Clear frames too.
5837 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5838 (desktop--filter-tty*, desktop-save, desktop-read):
5839 Use frameset functions.
5840 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5841 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5842 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5843 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5844 (desktop--process-minibuffer-frames, desktop-save-frames)
5845 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5846 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5847 (desktop--sort-states, desktop-restoring-frames-p)
5848 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5849 (desktop-restoring-frameset-p, desktop-restore-frameset)
5850 (desktop--check-dont-save, desktop-save-frameset): New functions.
5851 (desktop--app-id): New constant.
5852 (desktop-first-buffer, desktop-buffer-ok-count)
5853 (desktop-buffer-fail-count): Move before first use.
5854 * frameset.el: New file.
5855
76dc5996
SM
58562013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * files.el: Use lexical-binding.
5859 (dir-locals-read-from-file): Remove unused `err' variable.
5860 (hack-dir-local-variables--warned-coding): New var.
5861 (hack-dir-local-variables): Use it to avoid repeated warnings.
5862 (make-backup-file-name--default-function): New function.
5863 (make-backup-file-name-function): Use it as default.
5864 (buffer-stale--default-function): New function.
5865 (buffer-stale-function): Use it as default.
5866 (revert-buffer-insert-file-contents--default-function): New function.
5867 (revert-buffer-insert-file-contents-function): Use it as default.
5868 (insert-directory): Avoid add-to-list.
5869
5870 * autorevert.el (auto-revert-handler): Simplify.
5871 Use buffer-stale--default-function.
5872
06d36e2b
TH
58732013-08-01 Tassilo Horn <tsdh@gnu.org>
5874
5f648ab4
TH
5875 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5876
06d36e2b
TH
5877 * whitespace.el (whitespace-ensure-local-variables): New function.
5878 (whitespace-cleanup-region): Call it.
5879 (whitespace-turn-on): Call it.
5880
a43dc424
MA
58812013-08-01 Michael Albinus <michael.albinus@gmx.de>
5882
5883 Complete file name handlers.
5884
5885 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5886 (tramp-handle-verify-visited-file-modtime)
5887 (tramp-handle-file-notify-rm-watch): New functions.
5888 (tramp-call-process): Do not bind `default-directory'.
5889
44e18199
JB
5890 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5891 Order alphabetically.
a43dc424
MA
5892 [access-file, add-name-to-file, dired-call-process]:
5893 [dired-compress-file, file-acl, file-notify-rm-watch]:
5894 [file-ownership-preserved-p, file-selinux-context]:
5895 [make-directory-internal, make-symbolic-link, set-file-acl]:
5896 [set-file-selinux-context, set-visited-file-modtime]:
5897 [verify-visited-file-modtime]: Add handler.
5898 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5899
5900 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5901 [file-notify-add-watch, file-notify-rm-watch]:
5902 [set-file-times, set-visited-file-modtime]:
5903 [verify-visited-file-modtime]: Add handler.
5904 (with-tramp-gvfs-error-message)
5905 (tramp-gvfs-handle-set-visited-file-modtime)
5906 (tramp-gvfs-fuse-file-name): Remove.
5907 (tramp-gvfs-handle-file-notify-add-watch)
5908 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5909 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5910
44e18199
JB
5911 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5912 Order alphabetically.
a43dc424
MA
5913 [file-notify-rm-watch ]: Use default Tramp handler.
5914 [executable-find]: Remove private handler.
5915 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5916 `default-directory'.
5917 (tramp-sh-handle-executable-find)
5918 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5919 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5920 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5921 Do not use `format' in `tramp-message'.
5922
5923 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5924 [file-notify-rm-watch, set-visited-file-modtime]:
5925 [verify-visited-file-modtime]: Add handler.
5926 (tramp-smb-call-winexe): Do not bind `default-directory'.
5927
7188b515
XF
59282013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5929
5930 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5931
2412ee1a
DG
59322013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5933
5934 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5935 use it.
5936 (log-view-diff-changeset): Same.
5937 (log-view-diff-common): Call backend command `previous-revision'
5938 to find out the previous revision, in both cases. Swap the
5939 variables `to' and `fr', so that `fr' usually refers to the
5940 earlier revision (Bug#14989).
5941
5002a754
KRC
59422013-07-31 Kan-Ru Chen <kanru@kanru.info>
5943
5944 * ibuf-ext.el (ibuffer-filter-by-filename):
5945 Make it work with dired buffers too.
5946
44e18199 59472013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5948
5949 * emacs-lisp/re-builder.el (reb-color-display-p):
5950 * files.el (save-buffers-kill-terminal):
5951 * net/browse-url.el (browse-url):
5952 * server.el (server-save-buffers-kill-terminal):
5953 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5954 Prefer nil to selected-frame for the first arg of frame-parameter.
5955
aeca3fbb
XF
59562013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5957
5958 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5959
158bc55c
SB
59602013-07-30 Stephen Berman <stephen.berman@gmx.net>
5961
5962 * minibuffer.el (completion--twq-all): Try and preserve each
5963 completion's case choice (bug#14907).
5964
d50fceab
LMI
59652013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5966
ac38e731
LMI
5967 * net/network-stream.el (open-network-stream): Mention the new
5968 :nogreeting parameter.
5969 (network-stream-open-starttls): Use the :nogreeting parameter
5970 (bug#14938).
5971
1211de50
LMI
5972 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5973
997798bf
LMI
5974 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5975 more natural than popping.
5976
d50fceab 5977 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5978 (shr-urlify): Highlight under mouse.
d50fceab 5979
5c09de04
XF
59802013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5981
207d1d04
XF
5982 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5983
5984 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5985
5c09de04
XF
5986 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5987 buffer for output.
5988
3cd51eaa
XF
5989 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5990 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5991
44e18199 5992 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5993 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5994
5995 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5996
5997 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5998 buffer for output.
5999
35a89bdd
EZ
60002013-07-29 Eli Zaretskii <eliz@gnu.org>
6001
6002 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6003 initial frame is minibuffer-less. (Bug#14841)
6004
78822e94
MA
60052013-07-29 Michael Albinus <michael.albinus@gmx.de>
6006
6007 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6008 option.
6009
6010 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6011 (tramp-maybe-open-connection): Use it.
6012
9503c190
JB
60132013-07-28 Juanma Barranquero <lekktu@gmail.com>
6014
6015 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6016 minimal set of parameters passed when creating a frame, because
6017 the minibuffer status of a frame cannot be changed later.
6018
d5a845b4
SB
60192013-07-28 Stephen Berman <stephen.berman@gmx.net>
6020
6021 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6022 replace-regexp-in-string and inadvertent omissions in previous change.
6023 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6024 name of filtered items buffer.
d5a845b4 6025
ddeffb17
JB
60262013-07-28 Juanma Barranquero <lekktu@gmail.com>
6027
6028 * desktop.el: Optionally force offscreen frames back onscreen.
6029 (desktop-restoring-reuses-frames): New option.
6030 (desktop--compute-pos, desktop--move-onscreen): New functions.
6031 (desktop--make-frame): Use desktop--move-onscreen.
6032
f5950f7a
AM
60332013-07-27 Alan Mackenzie <acm@muc.de>
6034
6035 Fontify a Java generic method as a function.
6036 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6037 value to t.
6038
ae43b66a
SB
60392013-07-27 Stephen Berman <stephen.berman@gmx.net>
6040
6041 * calendar/todo-mode.el: Add command to rename todo files.
6042 (todo-rename-file): New command.
6043 (todo-key-bindings-t): Add key binding for it. Change the
6044 bindings of todo-filter-regexp-items(-multifile) to use `x'
6045 instead of `r', since the latter is better suited to the new
6046 renaming command.
6047
5ab78d3d
AM
60482013-07-27 Alan Mackenzie <acm@muc.de>
6049
6050 Make Java try-with-resources statement parse properly.
6051 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6052 (c-block-stmt-1-2-key): New language constants/variables.
6053 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6054 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6055 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6056 with c-block-stmt-1-2-key.
5ab78d3d 6057
d85c4d50
JB
60582013-07-27 Juanma Barranquero <lekktu@gmail.com>
6059
6060 * desktop.el (desktop--make-frame): Apply most frame parameters after
6061 creating the frame to force (partially or totally) offscreen frames to
6062 be restored as such.
6063
e4c467f9
XF
60642013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6065
6066 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6067 (Bug#14948)
e4c467f9 6068
7ced0d04
SM
60692013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6070
6071 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6072 `base' arg of backtrace-frame.
6073
fec92060
EZ
60742013-07-26 Eli Zaretskii <eliz@gnu.org>
6075
6076 * simple.el (list-processes): Doc fix.
6077
d58d31fb
JB
60782013-07-26 Juanma Barranquero <lekktu@gmail.com>
6079
6080 * desktop.el (desktop--select-frame):
d85c4d50 6081 Try harder to reuse existing frames.
d58d31fb 6082
53ff3e77
SM
60832013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6084
6085 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6086 (edebug-eval): Use backtrace-eval.
6087 (edebug--display, edebug--recursive-edit): Don't let-bind the
6088 edebug-outer-* vars that keep track of variables we locally let-bind.
6089 (edebug-outside-excursion): Don't restore outside values of locally
6090 let-bound vars.
6091 (edebug--display): Use user-error.
6092 (cl-lexical-debug, cl-debug-env): Remove.
6093
045f7a53
JB
60942013-07-26 Juanma Barranquero <lekktu@gmail.com>
6095
6096 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6097 are restored to be sure that they are visible before deleting any
6098 remaining ones.
6099
59070b32
MM
61002013-07-26 Matthias Meulien <orontee@gmail.com>
6101
742a3501
XF
6102 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6103 vc-print-root-log. (Bug#14948)
59070b32 6104
b1fb3596
RS
61052013-07-26 Richard Stallman <rms@gnu.org>
6106
6107 Add aliases for encrypting mail.
6108 * epa.el (epa-mail-aliases): New option.
6109 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6110 Bind inhibit-read-only so read-only text doesn't ruin everything.
6111 (epa-mail-default-recipients): New subroutine broken out.
6112 Handle epa-mail-aliases.
6113
56ea7291
SM
61142013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6115
6116 Add support for lexical variables to the debugger's `e' command.
6117 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6118 vars, except for debugger-outer-match-data.
6119 (debugger-frame-number): Move check for "on a function call" from
6120 callers into it. Add `skip-base' argument.
6121 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6122 (debugger-env-macro): Only reset the state stored in non-variables,
6123 i.e. current-buffer and match-data.
6124 (debugger-eval-expression): Rewrite using backtrace-eval.
6125 * subr.el (internal--called-interactively-p--get-frame): Remove.
6126 (called-interactively-p):
6127 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6128 `base' arg of backtrace-frame instead.
6129
15ac32d5
GM
61302013-07-26 Glenn Morris <rgm@gnu.org>
6131
8358a09d
GM
6132 * align.el (align-regexp): Doc fix. (Bug#14857)
6133 (align-region): Explicit error if subexpression missing/does not match.
6134
15ac32d5
GM
6135 * simple.el (global-visual-line-mode):
6136 Do not duplicate the mode lighter. (Bug#14858)
6137
f47ad11b
MR
61382013-07-25 Martin Rudalics <rudalics@gmx.at>
6139
6140 * window.el (display-buffer): In display-buffer bind
6141 split-window-keep-point to t, bug#14829.
6142
02530987
JB
61432013-07-25 Juanma Barranquero <lekktu@gmail.com>
6144
6145 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6146 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6147 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6148 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6149 Change accordingly.
f63ebeb5
JB
6150 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6151 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6152
6ccb9cab 61532013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6154
6ccb9cab 6155 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6156
cb3a56d2
JB
61572013-07-25 Juanma Barranquero <lekktu@gmail.com>
6158
6159 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6160 parameter to modify-frame-parameters if the value has not changed;
6161 this is a workaround for bug#14949.
6162 (desktop--make-frame): On cl-delete-if call, check parameter name,
6163 not full parameter.
6164
7aa7fff0
XF
61652013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6166
6167 * vc/vc.el (vc-ignore): New function.
6168
6169 * vc/vc-svn.el (vc-svn-ignore): New function.
6170
6171 * vc/vc-hg.el (vc-hg-ignore): New function.
6172
6173 * vc/vc-git.el (vc-git-ignore): New function.
6174
6175 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6176 (vc-dir-ignore): New function.
6177
6178 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6179 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6180
6181 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6182
6183 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6184
889acc5c
JB
61852013-07-24 Juanma Barranquero <lekktu@gmail.com>
6186
6187 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6188 (desktop-restore-frames): Warn when deleting an existing frame failed.
6189
86c40970
GM
61902013-07-24 Glenn Morris <rgm@gnu.org>
6191
6192 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6193
d5d3c58a
MA
61942013-07-24 Michael Albinus <michael.albinus@gmx.de>
6195
6196 * filenotify.el (file-notify-supported-p):
6197 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6198 Remove functions.
6199
6200 * autorevert.el (auto-revert-use-notify):
6201 (auto-revert-notify-add-watch):
6202 * net/tramp.el (tramp-file-name-for-operation):
6203 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6204 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6205 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6206 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6207 Remove `file-notify-supported-p' entry.
6208
d100084b
GM
62092013-07-24 Glenn Morris <rgm@gnu.org>
6210
6211 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6212 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6213
ac93e56b
SM
62142013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6215
249eea30
SM
6216 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6217 checked with memq (bug#14935).
6218
ac93e56b
SM
6219 * files.el (revert-buffer-function): Use a non-nil default.
6220 (revert-buffer-preserve-modes): Declare var to
6221 provide access to the `preserve-modes' argument.
6222 (revert-buffer): Let-bind it.
6223 (revert-buffer--default): New function, extracted from revert-buffer.
6224
2cdeb903
SM
62252013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * lpr.el: Signal print errors more prominently.
6228 (print-region-function): Don't default to nil.
6229 (lpr-print-region): New function, extracted from print-region-1.
6230 Check lpr's return value and signal an error in case of problem.
6231 (print-region-1): Use it.
6232 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6233 versions instead.
6234 (ps-printer-name): Default to nil.
6235 (ps-printer-name-option): Default to lpr-printer-switch.
6236 (ps-print-region-function): Don't default to nil.
6237 (ps-postscript-code-directory): Simplify default.
6238 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6239 (ps-string-list, ps-eval-switch, ps-flatten-list)
6240 (ps-flatten-list-1): Remove.
6241 (ps-multibyte-buffer): Avoid setq.
6242 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6243 (print-region-function, ps-print-region-function): Don't set them here.
6244
73600831
XF
62452013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6246
0e55c076
XF
6247 * ido.el (ido-fractionp):
6248 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6249 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6250 (ido-max-directory-size, ido-max-dir-file-cache)
6251 (ido-decorations): Doc fix.
6252
73600831
XF
6253 * ansi-color.el: Fix old URL.
6254
3d012865
MM
62552013-07-23 Michael R. Mauger <michael@mauger.com>
6256
e903c210 6257 * progmodes/sql.el: Version 3.3
3d012865
MM
6258 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6259 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6260 (sql-interactive-remove-continuation-prompt): Rewrite, use
6261 functions above. Fix continuation prompt and complete output line
6262 handling.
6263 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6264 redirected output buffer.
6265 (sql-mode): Restore deleted code (Bug#13591).
6266
da77a2e2
JB
62672013-07-23 Juanma Barranquero <lekktu@gmail.com>
6268
6269 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6270
80ff0c71
MA
62712013-07-23 Michael Albinus <michael.albinus@gmx.de>
6272
6273 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6274
6275 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6276 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6277 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6278
b61d71e4
JB
62792013-07-23 Juanma Barranquero <lekktu@gmail.com>
6280
6281 * desktop.el (desktop-clear): Simplify; remove useless checks
6282 against invalid buffer names.
6283 (desktop-list*): Use cl-list*.
6284 (desktop-buffer-info, desktop-create-buffer): Simplify.
6285
c3512092
LL
62862013-07-23 Leo Liu <sdl.web@gmail.com>
6287
6288 * bookmark.el (bookmark-make-record): Restore NAME as a default
6289 value. (Bug#14933)
6290
0ac26976
SM
62912013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6292
7d22ce18
SM
6293 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6294 extracted from autoload--insert-text.
6295 (autoload--insert-text): Remove.
6296 (autoload--print-cookie-text): New function, extracted from
6297 autoload--insert-cookie-text.
6298 (autoload--insert-cookie-text): Remove.
6299 (autoload-generate-file-autoloads): Adjust calls accordingly.
6300
9b2607e8
SM
6301 * winner.el (winner-hook-installed-p): Remove.
6302 (winner-mode): Simplify accordingly.
6303
c43a8618
SM
6304 * subr.el (add-to-list): Fix compiler-macro when `append' is
6305 not constant. Don't use `cl-member' for the base case.
6306
0ac26976
SM
6307 * progmodes/subword.el: Fix boundary case (bug#13758).
6308 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6309 own group.
6310 (subword-backward-regexp): Make it a constant.
6311 (subword-forward-internal): Don't treat a trailing capital as the
6312 beginning of a word.
6313
6874724a
AR
63142013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6315
6316 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6317 global value of tabulated-list-revert-hook (bug#14930).
6318
70f1b5e8
JB
63192013-07-22 Juanma Barranquero <lekktu@gmail.com>
6320
a1c80d9d
JB
6321 * desktop.el: Require 'cl-lib.
6322 (desktop-before-saving-frames-functions): New hook.
6323 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6324 for frames being saved. Rename from desktop--save-minibuffer-frames.
6325 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6326 Do not save frames with non-nil `desktop-dont-save' parameter.
6327 Filter out deleted frames.
a1c80d9d
JB
6328 (desktop--find-frame): Use cl-find-if.
6329 (desktop--select-frame): Use cl-(first|second|third) to access values
6330 of desktop-mini.
6331 (desktop--make-frame): Use cl-delete-if.
6332 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6333 (desktop-restore-frames): Use cl-(first|second|third) to access values
6334 of desktop-mini. Look for visible frame at the end, not while
6335 restoring frames.
6336
70f1b5e8
JB
6337 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6338 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6339 Use string-match-p, looking-at-p (bug#14927).
6340
728dc3cc
JB
63412013-07-21 Juanma Barranquero <lekktu@gmail.com>
6342
56bc453c
JB
6343 * desktop.el (desktop-saved-frame-states):
6344 Rename from desktop--saved-states; all users changed.
6345 (desktop-save-frames): Rename from desktop--save-frames.
6346 Do not save state to desktop file.
6347 (desktop-save): Save desktop-saved-frame-states to desktop file
6348 and reset to nil.
6349 (desktop-restoring-frames-p): New function.
6350 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6351 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6352 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6353
728dc3cc
JB
6354 * desktop.el: Correctly restore iconified frames.
6355 (desktop--filter-iconified-position): New function.
6356 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6357
862f1c9c
GM
63582013-07-20 Glenn Morris <rgm@gnu.org>
6359
c4074c9f
GM
6360 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6361 Let `message' do the formatting.
6362 (def-gdb-preempt-display-buffer): Add explicit format.
6363
d828e5f9
GM
6364 * image-dired.el (image-dired-track-original-file):
6365 Use with-current-buffer.
6366 (image-dired-track-thumbnail): Use with-current-buffer.
6367 Avoid changing point of wrong window.
6368
862f1c9c
GM
6369 * image-dired.el (image-dired-track-original-file):
6370 Avoid changing point of wrong window. (Bug#14909)
6371
f0398ec1 63722013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6373
6374 * progmodes/gdb-mi.el (gdb-done-or-error):
6375 Guard against "%" in gdb output. (Bug#14127)
6376
1451928f
AS
63772013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6378
763a086d
JB
6379 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6380 (Bug#14826)
f7a03897 6381
1451928f
AS
6382 * international/mule.el (coding-system-iso-2022-flags): Fix last
6383 change.
6384
99107004
KH
63852013-07-20 Kenichi Handa <handa@gnu.org>
6386
763a086d
JB
6387 * international/mule.el (coding-system-iso-2022-flags):
6388 Add `8-bit-level-4'. (Bug#8522)
99107004 6389
48494e06
LMI
63902013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6391
8ba8eec5
LMI
6392 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6393 (bug#14815).
6394
dfbc66e3
LMI
6395 * net/eww.el (eww-process-text-input): Allow inputting when the
6396 point is at the start of the line, as the properties aren't
6397 front-sticky.
6398
48494e06
LMI
6399 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6400 degenerate widths.
6401
77c92cb9
RS
64022013-07-19 Richard Stallman <rms@gnu.org>
6403
aec7da77
RS
6404 * epa.el (epa-popup-info-window): Doc fix.
6405
77c92cb9
RS
6406 * subr.el (split-string): New arg TRIM.
6407
945c5bb1
JB
64082013-07-18 Juanma Barranquero <lekktu@gmail.com>
6409
6410 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6411 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6412
e06ec67f
MA
64132013-07-18 Michael Albinus <michael.albinus@gmx.de>
6414
c7064f05 6415 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6416 `file-notify-support'. Do not autoload. Adapt all uses.
6417 (file-notify-supported-p): New defun.
6418
c7064f05
JB
6419 * autorevert.el (auto-revert-use-notify):
6420 Use `file-notify-supported-p' instead of `file-notify-support'.
6421 Adapt docstring.
e06ec67f
MA
6422 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6423
6424 * net/tramp.el (tramp-file-name-for-operation):
6425 Add `file-notify-supported-p'.
6426
6427 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6428 New defun.
6429 (tramp-sh-file-name-handler-alist): Add it as handler for
6430 `file-notify-supported-p '.
6431
6432 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6433 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6434 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6435 Add `ignore' as handler for `file-notify-*' functions.
6436
5dc8a629
EZ
64372013-07-17 Eli Zaretskii <eliz@gnu.org>
6438
6439 * simple.el (line-move-partial, line-move): Don't start vscroll or
6440 scroll-up if the current line is not taller than the window.
6441 (Bug#14881)
6442
77aea2fb
DG
64432013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6444
6445 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6446 highlight question marks in the method names as strings.
ac72c08d
DG
6447 (ruby-block-beg-keywords): Inline.
6448 (ruby-font-lock-keyword-beg-re): Extract from
6449 `ruby-font-lock-keywords'.
77aea2fb 6450
18c26d81
JD
64512013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6452
6453 * frame.el (blink-cursor-blinks): New defcustom.
6454 (blink-cursor-blinks-done): New defvar.
6455 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6456 (blink-cursor-timer-function): Check if number of blinks has been
6457 done on X and NS.
6458 (blink-cursor-suspend, blink-cursor-check): New defuns.
6459
da48522e
GM
64602013-07-15 Glenn Morris <rgm@gnu.org>
6461
6462 * edmacro.el (edmacro-format-keys): Fix previous change.
6463
0463c1ef
PE
64642013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6465
6466 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6467 The hack didn't work outside English locales anyway.
6468
b43f6451
JB
64692013-07-15 Juanma Barranquero <lekktu@gmail.com>
6470
6471 * simple.el (define-alternatives): Rename from alternatives-define,
6472 per RMS' suggestion.
6473
b958c0ad
JB
64742013-07-14 Juanma Barranquero <lekktu@gmail.com>
6475
6476 * desktop.el (desktop-restore-frames): Change default to t.
6477 (desktop-restore-in-current-display): Now offer more options.
6478 (desktop-restoring-reuses-frames): New customization option.
6479 (desktop--saved-states): Doc fix.
6480 (desktop-filter-parameters-alist): New variable, renamed and expanded
6481 from desktop--excluded-frame-parameters.
6482 (desktop--target-display): New variable.
6483 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6484 (desktop--filter-tty*, desktop--filter-*-color)
6485 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6486 (desktop--filter-save-desktop-parm)
6487 (desktop-restore-in-original-display-p): New functions.
6488 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6489 (desktop--save-minibuffer-frames): New function, inspired by a similar
6490 function from Martin Rudalics.
6491 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6492 (desktop--restore-in-this-display-p): Remove.
6493 (desktop--find-frame): Rename from desktop--find-frame-in-display
6494 and add predicate argument.
6495 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6496 (desktop--reuse-list): New variable.
6497 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6498 New functions.
6499 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6500
f6dd8b36
MA
65012013-07-14 Michael Albinus <michael.albinus@gmx.de>
6502
6503 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6504
2ce3c565
DG
65052013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6506
763a086d
JB
6507 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6508 Highlight conversion methods on Kernel.
2ce3c565 6509
2cdb7698
AM
65102013-07-13 Alan Mackenzie <acm@muc.de>
6511
6512 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6513 and comment it out. This out-commenting enables certain C++
6514 declarations to be parsed correctly.
6515
1a67b811
EZ
65162013-07-13 Eli Zaretskii <eliz@gnu.org>
6517
1b796d6b
EZ
6518 * international/mule.el (define-coding-system): Doc fix.
6519
1a67b811
EZ
6520 * simple.el (default-font-height): Don't call font-info if the
6521 frame's default font didn't change since the frame was created.
6522 (Bug#14838)
6523
58fbe886
LL
65242013-07-13 Leo Liu <sdl.web@gmail.com>
6525
6526 * ido.el (ido-read-file-name): Guard against non-symbol value.
6527
1f0480d4
FEG
65282013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6529
6530 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6531 in nested defuns.
6532
97ead0e5
LL
65332013-07-13 Leo Liu <sdl.web@gmail.com>
6534
6535 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6536 ido-set-matches call. (Bug#6852)
6537
0880a952
DG
65382013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6539
6540 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6541 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6542 Ruby 2.0.
6543 (ruby-font-lock-keywords): Distinguish calls to functions with
6544 module-like names from module references. Highlight character
6545 literals.
6546
a7d8babb
SDJ
65472013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6548
6549 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6550 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6551
acfcc8c5
JB
65522013-07-12 Juanma Barranquero <lekktu@gmail.com>
6553
6554 * desktop.el (desktop--v2s): Remove unused local variable.
6555 (desktop-save-buffer): Make defvar-local; adjust docstring.
6556 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6557 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6558
051f2775
AS
65592013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6560
6561 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6562
f24e7572
GM
65632013-07-12 Eli Zaretskii <eliz@gnu.org>
6564
6565 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6566 (Bug#14842)
6567
539a920c
GM
65682013-07-12 Glenn Morris <rgm@gnu.org>
6569
6570 * doc-view.el: Require cl-lib at runtime too.
6571 (doc-view-remove-if): Remove.
6572 (doc-view-search-next-match, doc-view-search-previous-match):
6573 Use cl-remove-if.
6574
6575 * edmacro.el: Require cl-lib at runtime too.
6576 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6577 (edmacro-mismatch, edmacro-subseq): Remove.
6578
6579 * shadowfile.el: Require cl-lib.
6580 (shadow-remove-if): Remove.
6581 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6582 Use cl-remove-if.
6583
6584 * wid-edit.el: Require cl-lib.
6585 (widget-choose): Use cl-remove-if.
6586 (widget-remove-if): Remove.
6587
6588 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6589 (ebrowse-delete-if-not): Remove.
6590 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6591 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6592 Use cl-delete-if-not.
6593
1048af7c
JB
65942013-07-12 Juanma Barranquero <lekktu@gmail.com>
6595
6596 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6597 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6598
6c0674ee
LL
65992013-07-12 Leo Liu <sdl.web@gmail.com>
6600
6601 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6602
a19b3c2d
GM
66032013-07-11 Glenn Morris <rgm@gnu.org>
6604
4582a01c
GM
6605 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6606 (edebug-gensym-index, edebug-gensym):
6607 Remove reimplementation of cl-gensym.
6608 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6609
6610 * thumbs.el: Require cl-lib at run-time too.
6611 (thumbs-gensym-counter, thumbs-gensym):
6612 Remove reimplementation of cl-gensym.
6613 (thumbs-temp-file): Use cl-gensym.
6614
a19b3c2d
GM
6615 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6616 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6617 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6618 (ert--union, ert--gensym-counter, ert--gensym-counter)
6619 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6620 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6621 (ert-make-test-unbound, ert--expand-should-1)
6622 (ert--expand-should, ert--should-error-handle-error)
6623 (should-error, ert--explain-equal-rec)
6624 (ert--plist-difference-explanation, ert-select-tests)
6625 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6626 Use cl-lib functions rather than reimplementations.
6627
88f6a933
MA
66282013-07-11 Michael Albinus <michael.albinus@gmx.de>
6629
6630 * net/tramp.el (tramp-methods): Extend docstring.
6631 (tramp-connection-timeout): New defcustom.
6632 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6633 (with-tramp-progress-reporter): Simplify.
6634 (tramp-process-actions): Improve messages.
6635
6636 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6637 * net/tramp-sh.el (tramp-maybe-open-connection):
6638 Use `tramp-connection-timeout'.
6639 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6640 (Bug#14808)
6641
a43d577e
LL
66422013-07-11 Leo Liu <sdl.web@gmail.com>
6643
6644 * ido.el (ido-read-file-name): Conform to the requirements of
6645 read-file-name. (Bug#11861)
6646 (ido-read-directory-name): Conform to the requirements of
6647 read-directory-name.
6648
d77974bf
JB
66492013-07-11 Juanma Barranquero <lekktu@gmail.com>
6650
6651 * subr.el (delay-warning): New function.
6652
35cb8a3e
EZ
66532013-07-10 Eli Zaretskii <eliz@gnu.org>
6654
6655 * simple.el (default-line-height): New function.
6656 (line-move-partial, line-move): Use it instead of computing the
6657 line height inline.
6658 (line-move-partial): Always compute ROWH. If the last line is
6659 partially-visible, but its text is completely visible, allow
6660 cursor to enter such a partially-visible line.
6661
525c5c77
MA
66622013-07-10 Michael Albinus <michael.albinus@gmx.de>
6663
6664 Improve error messages. (Bug#14808)
6665
6666 * net/tramp.el (tramp-current-connection): New defvar, moved from
6667 tramp-sh.el.
0ac26976 6668 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6669 needed anymore.
0ac26976
SM
6670 (tramp-error-with-buffer): Show message in minibuffer.
6671 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6672 (with-tramp-progress-reporter): Improve messages.
6673 (tramp-process-actions): Use progress reporter. Delete process in
6674 case of error. Improve messages.
6675
763a086d
JB
6676 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6677 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6678 (tramp-current-connection): Remove.
525c5c77
MA
6679 (tramp-maybe-open-connection): The car of
6680 `tramp-current-connection' are the first 3 slots of the vector.
6681
c7a4d368
TZ
66822013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6683
6684 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6685 inside continued strings.
6686
954b166e
PE
66872013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6688
6689 Timestamp fixes for undo (Bug#14824).
6690 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6691
56973319
LL
66922013-07-10 Leo Liu <sdl.web@gmail.com>
6693
6694 * files.el (require-final-newline): Allow safe local value.
6695 (Bug#14834)
6696
5550a72c
LL
66972013-07-09 Leo Liu <sdl.web@gmail.com>
6698
6699 * ido.el (ido-read-directory-name): Handle fallback.
6700 (ido-read-file-name): Update DIR to ido-current-directory.
6701 (Bug#1516)
c28b9050 6702 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6703
70c46b28
DG
67042013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6705
6706 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6707 "autoload". Remove "warn lower camel case" section, previously
6708 commented out. Highlight negation char. Do not highlight the
6709 target in singleton method definitions.
6710
0b64b838
SM
67112013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6712
7fd72e2c
SM
6713 * faces.el (tty-setup-hook): Declare the hook.
6714
0b64b838
SM
6715 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6716 and detect when a guard/pred depends on local vars (bug#14773).
6717 (pcase--u1): Adjust caller.
6718
ab49d60b
EZ
67192013-07-08 Eli Zaretskii <eliz@gnu.org>
6720
6721 * simple.el (line-move-partial, line-move): Account for
6722 line-spacing.
701d79aa
EZ
6723 (line-move-partial): Avoid setting vscroll when the last
6724 partially-visible line in window is of default height.
ab49d60b 6725
2d756ae0
LMI
67262013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6727
6728 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6729 been used a while.
6730
ed095bd7
JB
67312013-07-07 Juanma Barranquero <lekktu@gmail.com>
6732
6733 * subr.el (read-quoted-char): Remove unused local variable `char'.
6734
f1e6674b
MK
67352013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6736
584ee3fc
GM
6737 * ediff.el (ediff-version): Version update.
6738 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6739 (ediff-merge-with-ancestor-command, ediff-directories-command)
6740 (ediff-directories3-command, ediff-merge-directories-command)
6741 (ediff-merge-directories-with-ancestor-command): New functions.
6742 All are command-line interfaces to ediff: to facilitate calling
6743 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6744
6745 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6746 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6747
584ee3fc
GM
6748 * viper.el (viper-version): Version update.
6749 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6750
584ee3fc
GM
67512013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6754 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6755 (viper-intercept-ESC-key): Simplify.
6756 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6757 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6758 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6759 (viper-setup-ESC-to-escape): New functions.
6760 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6761 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6762
9aff9b38
EZ
67632013-07-07 Eli Zaretskii <eliz@gnu.org>
6764
5165d44a
JB
6765 * simple.el (default-font-height, window-screen-lines):
6766 New functions.
9aff9b38
EZ
6767 (line-move, line-move-partial): Use them instead of
6768 frame-char-height and window-text-height. This makes scrolling
6769 text smoother when the buffer's default face uses a font that is
6770 different from the frame's default font.
6771
1afb1d07
JD
67722013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6773
6774 * files.el (write-file): Do not display confirm dialog for NS,
6775 it does its own dialog, which can't be cancelled (Bug#14578).
6776
23de972a
EZ
67772013-07-06 Eli Zaretskii <eliz@gnu.org>
6778
6779 * simple.el (line-move-partial): Adjust the row returned by
6780 posn-at-point for the current window-vscroll. (Bug#14567)
6781
54a42486
MA
67822013-07-06 Michael Albinus <michael.albinus@gmx.de>
6783
6784 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6785 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6786 spaces.
6787
34ada5f4
MR
67882013-07-06 Martin Rudalics <rudalics@gmx.at>
6789
6790 * window.el (window-state-put-stale-windows): New variable.
6791 (window--state-put-2): Save list of windows without matching buffer.
6792 (window-state-put): Remove "bufferless" windows if possible.
6793
11e03d89
JB
67942013-07-06 Juanma Barranquero <lekktu@gmail.com>
6795
6796 * simple.el (alternatives-define): Remove leftover :group keyword.
6797 Tweak docstring.
6798
3504a4be
LL
67992013-07-06 Leo Liu <sdl.web@gmail.com>
6800
6801 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6802 (ido-enable-virtual-buffers): New variable.
6803 (ido-buffer-internal, ido-toggle-virtual-buffers)
6804 (ido-make-buffer-list): Use it.
6805 (ido-exhibit): Support turning on and off virtual buffers
6806 automatically.
6807
61e56e2c
JB
68082013-07-06 Juanma Barranquero <lekktu@gmail.com>
6809
6810 * simple.el (alternatives-define): New macro.
6811
321e1a9c
SM
68122013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * subr.el (read-quoted-char): Use read-key.
6815 (sit-for): Let read-event decode tty input (bug#14782).
6816
d610f6dd
SB
68172013-07-05 Stephen Berman <stephen.berman@gmx.net>
6818
6819 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6820 mode command and externally. Fix various related bugs.
6821 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6822 (todo-delete-file): New command.
6823 (todo-check-file): New function.
6824 (todo-show): Handle external deletion of the file we're trying to
6825 show (bug#14688). Replace called-interactively-p by an optional
6826 prefix argument to avoid problematic interaction with catch form
6827 when byte compiled (bug#14702).
6828 (todo-quit): Handle external deletion of the archive's todo file.
6829 Make sure the buffer that was visiting the archive file is still
6830 live before trying to bury it.
6831 (todo-category-completions): Handle external deletion of any
6832 category completion files.
6833 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6834 of todo files, in case of external deletion.
6835 (todo-add-file): Replace unnecessary setq by let-binding.
6836 (todo-find-archive): Check whether there are any archives.
6837 Replace unnecessary setq by let-binding.
6838 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6839 archive buffer whether or not the archive already exists.
6840 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6841 check if the archive is new; if it is, update list of archives.
6842 (todo-default-todo-file): Allow nil to be a valid value for when
6843 there are no todo files.
6844 (todo-reevaluate-default-file-defcustom): Use corrected definition
6845 of todo-default-todo-file.
6846 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6847 (todo-delete-category, todo-show-categories-table)
6848 (todo-category-number): Clarify comment.
6849 (todo-filter-items): Clarify documentation string.
6850 (todo-show-current-file, todo-display-as-todo-file)
6851 (todo-reset-and-enable-done-separator): Tweak documentation string.
6852 (todo-done-separator): Make separator length window-width, since
6853 bug#2749 is now fixed.
6854
ddbdfd6f
MA
68552013-07-05 Michael Albinus <michael.albinus@gmx.de>
6856
321e1a9c
SM
6857 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6858 Support both "gvfs-monitor-dir" and "inotifywait".
6859 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6860 `tramp-sh-file-notify-process-filter'.
6861 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6862 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6863
96eb829a
LL
68642013-07-05 Leo Liu <sdl.web@gmail.com>
6865
6866 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6867
cf13177e
YM
68682013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6869
6870 * frame.el (display-pixel-height, display-pixel-width)
6871 (display-mm-height, display-mm-width): Mention behavior on
6872 multi-monitor setups in docstrings.
6873 (w32-display-monitor-attributes-list): Declare function.
6874 (display-monitor-attributes-list): Use it.
6875
864c58ca
MA
68762013-07-04 Michael Albinus <michael.albinus@gmx.de>
6877
6878 * filenotify.el: New package.
6879
6880 * autorevert.el (top): Require filenotify.el.
6881 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6882 instead.
6883 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6884 (auto-revert-notify-handler): Use `file-notify-*' functions.
6885
6886 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6887
321e1a9c
SM
6888 * net/tramp.el (tramp-file-name-for-operation):
6889 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6890
6891 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6892 for `file-notify-add-watch' and `file-notify-rm-watch'.
6893 (tramp-process-sentinel): Improve trace.
6894 (tramp-sh-handle-file-notify-add-watch)
6895 (tramp-sh-file-notify-process-filter)
6896 (tramp-sh-handle-file-notify-rm-watch)
6897 (tramp-get-remote-inotifywait): New defuns.
6898
96673afe
JL
68992013-07-03 Juri Linkov <juri@jurta.org>
6900
6901 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6902 call of `occur-read-primary-args' to interactive spec.
6903
6904 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6905 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6906
924494f4
MM
69072013-07-03 Matthias Meulien <orontee@gmail.com>
6908
6909 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6910 `Buffer-menu-multi-occur'. Add it to the menu.
6911 (Buffer-menu-mode): Document it in docstring.
6912 (Buffer-menu-multi-occur): New command. (Bug#14673)
6913
56f75efc
DG
69142013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6915
6916 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6917 keywords and built-ins.
6918
9b057d61
GM
69192013-07-03 Glenn Morris <rgm@gnu.org>
6920
208dee4d
GM
6921 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6922
9b057d61
GM
6923 Make info-xref checks case-sensitive by default
6924 * info.el (Info-find-node, Info-find-in-tag-table)
6925 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6926 Add option for exact case matching of nodes.
6927 * info-xref.el (info-xref): New custom group.
6928 (info-xref-case-fold): New option.
6929 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6930
e01aa29c
LL
69312013-07-03 Leo Liu <sdl.web@gmail.com>
6932
6933 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6934
3086ca2e
DG
69352013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6936
6937 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6938 middle of block statement initially, lower the depth. Remove
6939 FIXME comment, not longer valid. Remove middle of block statement
6940 detection, no need to do that anymore since we've been using
6941 `ruby-parse-region' here.
6942
a3b49114
JD
69432013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6944
6945 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6946
08e5c823 69472013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6948
6949 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6950
2addf922
JB
69512013-07-01 Juanma Barranquero <lekktu@gmail.com>
6952
6953 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6954 (desktop-restore-in-current-display): New customization option.
6955 (desktop--excluded-frame-parameters): Add `font'.
6956 (desktop--save-frames): Rename from desktop--save-windows.
6957 (desktop--restore-in-this-display-p): New function.
6958 (desktop--make-full-frame): Remove unwanted width/height from
6959 full(width|height) frames.
6960 (desktop--restore-frames): Rename from desktop--restore-windows.
6961 Obey desktop-restore-current-display. Do not delete old frames or
6962 select a new frame unless we were able to restore at least one frame.
6963
ef099a94
MN
69642013-06-30 Michal Nazarewicz <mina86@mina86.com>
6965
6966 * files.el (find-file-noselect): Simplify conditional expression.
6967
6968 * remember.el (remember-append-to-file):
6969 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6970
6971 Add `remember-notes' function to store random notes across Emacs
6972 restarts.
6973 * remember.el (remember-data-file): Add :set callback to affect
6974 notes buffer (if any).
6975 (remember-notes): New command.
6976 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6977 New defcustoms for the `remember-notes' function.
6978 (remember-notes-save-and-bury-buffer): New command.
6979 (remember-notes-mode-map): New variable.
6980 (remember-mode): New minor mode.
6981 (remember-notes--kill-buffer-query): New function.
6982 * startup.el (initial-buffer-choice): Add notes to custom type.
6983
0865d506
EZ
69842013-06-30 Eli Zaretskii <eliz@gnu.org>
6985
0ba54312
EZ
6986 * bindings.el (right-char, left-char): Don't call sit-for, this is
6987 no longer needed. Use arithmetic comparison only for numerical
6988 arguments.
6989
ef099a94
MN
6990 * international/mule-cmds.el (select-safe-coding-system):
6991 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6992
2fae38e5
LMI
69932013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6994
6995 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6996 progression on degenerate tables.
ef099a94 6997 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6998
a47cbd64
JB
69992013-06-30 Juanma Barranquero <lekktu@gmail.com>
7000
7001 Some fixes and improvements for desktop frame restoration.
7002 It is still experimental and disabled by default.
7003 * desktop.el (desktop--save-windows): Put the selected frame at
7004 the head of the list.
7005 (desktop--make-full-frame): New function.
7006 (desktop--restore-windows): Try to re-select the frame that was
7007 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7008 just show an error message and continue. Set up maximized frames
7009 so they have default non-maximized dimensions.
a47cbd64 7010
6dbafa30
DG
70112013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7012
ef099a94
MN
7013 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7014 Don't start heredoc inside a string or comment.
6dbafa30 7015
4c672a0f
EZ
70162013-06-29 Eli Zaretskii <eliz@gnu.org>
7017
7018 * bindings.el (visual-order-cursor-movement): New defcustom.
7019 (right-char, left-char): Provide visual-order cursor motion by
7020 calling move-point-visually. Update the doc strings.
7021
50960f36
KH
70222013-06-28 Kenichi Handa <handa@gnu.org>
7023
7024 * international/mule.el (define-coding-system): New coding system
7025 properties :inhibit-null-byte-detection,
7026 :inhibit-iso-escape-detection, and :prefer-utf-8.
7027 (set-buffer-file-coding-system): If :charset-list property of
7028 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7029 appropriate for setting.
7030
c1ea3abf
JB
7031 * international/mule-cmds.el (select-safe-coding-system):
7032 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7033 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7034
7035 * international/mule-conf.el (prefer-utf-8): New coding system.
7036 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7037 files.
7038
75dbaf9d
IK
70392013-06-28 Ivan Kanis <ivan@kanis.fr>
7040
eadb6068
IK
7041 * net/shr.el (shr-render-region): New function.
7042
75dbaf9d
IK
7043 * net/eww.el: Autoload `eww-browse-url'.
7044
9ea5cf9f
DG
70452013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7046
c1ea3abf
JB
7047 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7048 Adapt to `package-desc-version' being a list.
7049 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7050 archive element.
7051
39c0e36f
JB
70522013-06-27 Juanma Barranquero <lekktu@gmail.com>
7053
7054 New experimental feature to save&restore window and frame setup.
7055 * desktop.el (desktop-save-windows): New defcustom.
7056 (desktop--saved-states): New var.
7057 (desktop--excluded-frame-parameters): New defconst.
7058 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7059 (desktop--restore-windows, desktop--save-windows): New functions.
7060 (desktop-save): Call `desktop--save-windows'.
7061 (desktop-read): Call `desktop--restore-windows'.
7062
7f13406b
LMI
70632013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7064
ef099a94 7065 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7066
1e072639
SB
70672013-06-27 Stephen Berman <stephen.berman@gmx.net>
7068
7069 * info.el (Info-try-follow-nearest-node): Move search for footnote
7070 above search for node name to prevent missing a footnote (bug#14717).
7071
f3e2cbde
SB
70722013-06-27 Stephen Berman <stephen.berman@gmx.net>
7073
7074 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7075
99906aa0
LL
70762013-06-27 Leo Liu <sdl.web@gmail.com>
7077
7078 * net/eww.el (eww-read-bookmarks): Check file size.
7079
539f75f4
SM
70802013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7081
7082 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7083 advice--pending if newdef is nil or an autoload (bug#13820).
7084 (advice-mapc): New function.
7085
843571cb
LMI
70862013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7087
7088 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7089 probably.
23a75d7f 7090 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7091 (eww-add-bookmark): New command.
7092 (eww-bookmark-mode): New mode and commands.
a285ce99 7093 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7094 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7095
f2136e1e
GM
70962013-06-26 Glenn Morris <rgm@gnu.org>
7097
eab35f39
GM
7098 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7099 (hfy-size): Handle ttys. (Bug#14668)
7100
f2136e1e
GM
7101 * info-xref.el: Update for Texinfo 5 change in *note format.
7102 (info-xref-node-re, info-xref-note-re): New constants.
7103 (info-xref-check-buffer): Use info-xref-note-re.
7104
a49ff80c
SM
71052013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7106
a343d218
SM
7107 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7108
a49ff80c
SM
7109 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7110 nil terminate the loop (bug#14718).
7111
8308f184
LMI
71122013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7113
7114 * net/eww.el: Rework history traversal. When going forward/back,
7115 put these actions into the history, too, so that they can be
7116 replayed.
26bf2b82 7117 (eww-render): Move the history reset to the correct buffer.
8308f184 7118
ec64c273
JL
71192013-06-25 Juri Linkov <juri@jurta.org>
7120
7121 * files-x.el (modify-dir-local-variable): Change the header comment
7122 in the file with directory local variables. (Bug#14692)
7123
e080a9d7
JL
7124 * files-x.el (read-file-local-variable-value): Add `default'.
7125 (Bug#14710)
7126
bfbc93a1
IK
71272013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7128
7129 * net/eww.el (eww-make-unique-file-name): Create a unique file
7130 name before saving to entering `y' accidentally asynchronously.
7131
71322013-06-25 Ivan Kanis <ivan@kanis.fr>
7133
7134 * net/eww.el (eww-download): New command and keystroke.
7135
16f74f10
LMI
71362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7137
a49ff80c 7138 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7139
7140 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7141 be more consistent with Info and dired.
7142
7143 * net/eww.el (eww-mode-map): Ditto.
7144
12059709
SM
71452013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7148 packages from archives.
7149 (package-archive-contents): Change format; include obsolete packages.
7150 (package-desc): Use `dir' to mark builtin packages.
7151 (package--from-builtin): Set the `dir' field to `builtin'.
7152 (generated-autoload-file, version-control): Declare.
7153 (package-compute-transaction): Change first arg and return value to be
7154 lists of package-descs. Adjust to new package-archive-contents format.
7155 (package--add-to-archive-contents): Adjust to new
7156 package-archive-contents format.
7157 (package-download-transaction): Arg is now a list of package-descs.
7158 (package-install): If `pkg' is a package name, pass it as
7159 a requirement, so it is subject to the usual (e.g. disabled) checks.
7160 (describe-package): Accept package-desc as well.
7161 (describe-package-1): Describe a specific package-desc. Add links to
7162 other package-descs for the same package name.
7163 (package-menu-describe-package): Pass the actual package-desc.
7164 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7165 works correctly.
7166 (package-desc-status): New function.
7167 (package-menu--refresh): New function, extracted
7168 from package-menu--generate.
7169 (package-menu--generate): Use it.
7170 (package-delete): Update package-alist.
7171 (package-menu-execute): Don't call package-initialize.
7172
7173 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7174 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7175 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7176 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7177 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7178 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7179
8bbdea0f
MR
71802013-06-25 Martin Rudalics <rudalics@gmx.at>
7181
7182 * window.el (window--state-get-1): Workaround for bug#14527.
7183 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7184
e82b0991
LMI
71852013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7186
7187 * net/eww.el (eww-back-url): Implement the history by stashing all
7188 the data into a list.
d3f0f918 7189 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7190
c763842b
SM
71912013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7194 for values and use read--expression for expressions (bug#14710).
7195 (read-file-local-variable): Avoid setq.
7196 (read-file-local-variable-mode): Use minor-mode-list.
7197
bceff189
RW
71982013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7199
864c58ca 7200 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7201 for DOI URLs.
7202
45f431c6
RW
72032013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7204
864c58ca 7205 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7206 Update imenu-support when dialect changes.
7207
f42d8237
LL
72082013-06-25 Leo Liu <sdl.web@gmail.com>
7209
7210 * ido.el (ido-read-internal): Allow forward slash on windows.
7211
be549ce6
LMI
72122013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7213
7214 * net/eww.el (eww): Start of strings is \\`, not ^.
7215
71d4c19d
IK
72162013-06-24 Ivan Kanis <ivan@kanis.fr>
7217
5196f88a
IK
7218 * net/shr.el (shr-browse-url): Fix interactive spec.
7219
71d4c19d
IK
7220 * net/eww.el (eww): Add a trailing slash to domain names.
7221
ae36ca55
JB
72222013-06-24 Juanma Barranquero <lekktu@gmail.com>
7223
7224 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7225
0ebd92a3
LMI
72262013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7227
bdaa086b
LMI
7228 * net/shr.el (shr-browse-url): Use an external browser if given a
7229 prefix.
7230
c763842b 7231 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7232
b89fc156
IK
72332013-06-24 Ivan Kanis <ivan@kanis.fr>
7234
7235 * net/eww.el (eww): Work more correctly for file: URLs.
7236 (eww-detect-charset): Allow quoted charsets.
7237 (eww-yank-page-url): New command and keystroke.
7238
18eb4bca
DU
72392013-06-24 Daiki Ueno <ueno@gnu.org>
7240
7241 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7242 file name of gpg executable.
7243 (epg-context-program): New function.
7244 (epg-context-home-directory): New function.
7245 (epg-context-set-program): New function.
7246 (epg-context-set-home-directory): New function.
7247 (epg--start): Use `epg-context-program' instead of
7248 'epg-gpg-program'.
7249 (epg--list-keys-1): Likewise.
7250
6c6268c8
LL
72512013-06-24 Leo Liu <sdl.web@gmail.com>
7252
7253 * ido.el (ido-read-internal): Fix bug#14620.
7254
5e400cb3
JB
72552013-06-23 Juanma Barranquero <lekktu@gmail.com>
7256
7257 * faces.el (face-documentation): Simplify.
7258 (read-face-attribute, tty-find-type, x-resolve-font-name):
7259 Use `string-match-p'.
7260 (list-faces-display): Use `string-match-p'. Simplify.
7261 (face-spec-recalc): Check face to avoid face alias loops.
7262 (read-color): Use `string-match-p' and non-capturing parenthesis.
7263
f3f9606c
LMI
72642013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7265
7266 * net/shr.el (shr-rescale-image): Use the new
7267 :max-width/:max-height functionality.
7268
a3ca09b9
IK
72692013-06-23 Ivan Kanis <ivan@kanis.fr>
7270
7271 * net/eww.el (eww-search-prefix): New variable.
7272 (eww): Use it.
f865b474
IK
7273 (eww-external-browser): New variable.
7274 (eww-mode-map): New keystroke.
7275 (eww-browse-with-external-browser): New command.
a3ca09b9 7276
e854cfc7
IK
7277 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7278
18bb9e21
JB
72792013-06-23 Juanma Barranquero <lekktu@gmail.com>
7280
7281 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7282 Don't skip aligning the next header field when padding is 0;
7283 otherwise, field width is not respected unless the title is as
7284 wide as the field.
7285
5b165ade
SM
72862013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7287
7288 * emacs-lisp/package.el (package-el-version): Remove.
7289 (package-process-define-package): Fix inf-loop.
7290 (package-install): Allow symbols as arguments again.
7291
12adebe9
DG
72922013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7293
7294 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7295 add some more keyword-like methods.
7296 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7297
388573ee
JB
72982013-06-22 Juanma Barranquero <lekktu@gmail.com>
7299
7300 * bs.el (bs-buffer-show-mark): Make defvar-local.
7301 (bs-mode): Use setq-local.
7302
7303 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7304 (emacs-lock--try-unlocking): Make defvar-local.
7305
4582a01c 73062013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7307
2663dd23
GM
7308 * play/cookie1.el (cookie-apropos): Minor simplification.
7309
3d94f3ad
GM
7310 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7311
f72e2fdb
DG
73122013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7313
7314 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7315 `regexp-opt', it breaks the build during dumping.
7316
73eab938
DG
73172013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7318
c763842b
SM
7319 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7320 Highlight keyword-like methods on Kernel and Module with
73eab938 7321 font-lock-builtin-face.
5cf8176d
DG
7322 (auto-mode-alist): Consolidate different entries into one regexp
7323 and add more *file-s.
73eab938 7324
d26255f6
SB
73252013-06-21 Stephen Berman <stephen.berman@gmx.net>
7326
7327 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7328
7329 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7330 (diary-entry): Use it in the action of this button type instead of
7331 diary-goto-entry.
7332
7333 * calendar/todo-mode.el: New version.
7334 (todo-add-category): Append new category to end of file and give
7335 it the highest number, instead of putting it at the beginning and
7336 giving it 0. Incorporate noninteractive functionality.
7337 (todo-forward-category): Adapt to 1-based category numbering.
7338 Allow skipping over archived categories.
7339 (todo-backward-category): Derive from todo-forward-category.
7340 (todo-backward-item, todo-forward-item): Make noninteractive and
7341 delegate interactive part to new commands. Make sensitive to done items.
7342 (todo-categories): Make value an alist of category names and
7343 vectors of item counts.
7344 (todo-category-beg): Make a defconst.
7345 (todo-category-number): Use 1 instead of 0 as initial value.
7346 (todo-category-select): Make sensitive to overlays, optional item
7347 highlighting and done items.
7348 (todo-delete-item): Make sensitive to overlays and marked and done items.
7349 (todo-edit-item): Make sensitive to overlays and editing of
7350 date/time header optional. Add format checks.
7351 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7352 no-op if point is not on an item. Advertise using todo-edit-quit.
7353 (todo-edit-mode): Make sensitive to new format, font-locking, and
7354 multiple todo files.
7355 (todo-insert-item, todo-insert-item-here): Derive from
7356 todo-basic-insert-item and extend functionality.
7357 (todo-item-end, todo-item-start): Make sensitive to done items.
7358 (todo-item-string): Don't return text properties. Restore point.
7359 (todo-jump-to-category): Make sensitive to multiple todo files and
7360 todo archives. Use extended category completion.
7361 (todo-lower-item, todo-raise-item): Rename to *-priority and
7362 derive from todo-set-item-priority.
7363 (todo-mode): Derive from special-mode. Make sensitive to new
7364 format, font-locking and multiple todo files. Make read-only.
7365 (todo-mode-map): Don't suppress digit keys, so they can supply
7366 prefix arguments. Add many new key bindings.
7367 (todo-prefix): Insert as an overlay instead of file text.
7368 Change semantics from diary date expression to purely visual mark.
7369 (todo-print): Rename to todo-print-buffer. Make buffer display
7370 features printable. Remove option to restrict number of items
7371 printed. Add option to print to file.
7372 (todo-print-function): Rename to todo-print-buffer-function.
7373 (todo-quit): Extend to handle exiting new todo modes.
7374 (todo-remove-item): Make sensitive to overlays.
7375 (todo-save): Extend to buffers of filtered items.
7376 (todo-show): Make sensitive to done items, multiple todo files and
7377 new todo modes. Offer to convert legacy todo file before creating
7378 first new todo file.
7379 (todo-show-priorities): Rename to todo-top-priorities.
7380 Change semantics of value 0.
7381 (todo-top-priorities): Rename to todo-filter-top-priorities,
7382 derive from todo-filter-items and extend functionality.
7383 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7384 and extend functionality to other types of filtered items.
7385 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7386 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7387 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7388 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7389 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7390 (todo-edit-mode-hook, todo-entry-prefix-function)
7391 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7392 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7393 (todo-initials, todo-insert-threshold, todo-item-string-start)
7394 (todo-line-string, todo-menu, todo-mode-hook)
7395 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7396 (todo-print-priorities, todo-remove-separator)
7397 (todo-save-top-priorities-too, todo-string-count-lines)
7398 (todo-string-multiline-p, todo-time-string-format)
7399 (todo-tmp-buffer-name): Remove.
7400 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7401 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7402 (todo-edit-category-diary-inclusion)
7403 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7404 (todo-edit-file, todo-edit-item-date-day)
7405 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7406 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7407 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7408 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7409 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7410 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7411 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7412 (todo-filter-top-priorities-multifile, todo-find-archive)
7413 (todo-find-filtered-items-file, todo-go-to-source-item)
7414 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7415 (todo-jump-to-archive-category, todo-lower-category)
7416 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7417 (todo-move-category, todo-move-item, todo-next-button)
7418 (todo-next-item, todo-padded-string, todo-powerset)
7419 (todo-previous-button, todo-previous-item)
7420 (todo-print-buffer-to-file, todo-raise-category)
7421 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7422 (todo-set-category-number, todo-set-item-priority)
7423 (todo-set-top-priorities-in-category)
7424 (todo-set-top-priorities-in-file, todo-show-categories-table)
7425 (todo-sort-categories-alphabetically-or-numerically)
7426 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7427 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7428 (todo-toggle-item-header, todo-toggle-item-highlighting)
7429 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7430 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7431 (todo-unarchive-items, todo-unmark-category): New commands.
7432 (todo-absolute-file-name, todo-add-to-buffer-list)
7433 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7434 (todo-basic-insert-item, todo-category-completions)
7435 (todo-category-number, todo-category-string-matcher-1)
7436 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7437 (todo-check-format, todo-clear-matches)
7438 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7439 (todo-current-category, todo-date-string-matcher)
7440 (todo-define-insertion-command, todo-diary-expired-matcher)
7441 (todo-diary-goto-entry, todo-diary-item-p)
7442 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7443 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7444 (todo-done-item-section-p, todo-done-separator)
7445 (todo-done-string-matcher, todo-files, todo-filter-items)
7446 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7447 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7448 (todo-insert-category-line, todo-insert-item-from-calendar)
7449 (todo-insert-sort-button, todo-insert-with-overlays)
7450 (todo-insertion-command-name, todo-insertion-key-bindings)
7451 (todo-label-to-key, todo-longest-category-name-length)
7452 (todo-make-categories-list, todo-mode-external-set)
7453 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7454 (todo-modes-set-3, todo-multiple-filter-files)
7455 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7456 (todo-read-category, todo-read-date, todo-read-dayname)
7457 (todo-read-file-name, todo-read-time)
7458 (todo-reevaluate-category-completions-files-defcustom)
7459 (todo-reevaluate-default-file-defcustom)
7460 (todo-reevaluate-filelist-defcustoms)
7461 (todo-reevaluate-filter-files-defcustom)
7462 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7463 (todo-reset-done-separator, todo-reset-done-separator-string)
7464 (todo-reset-done-string, todo-reset-global-current-todo-file)
7465 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7466 (todo-reset-prefix, todo-set-categories)
7467 (todo-set-date-from-calendar, todo-set-show-current-file)
7468 (todo-set-top-priorities, todo-short-file-name)
7469 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7470 (todo-total-item-counts, todo-update-buffer-list)
7471 (todo-update-categories-display, todo-update-categories-sexp)
7472 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7473 New functions.
7474 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7475 New major modes.
7476 (todo-categories, todo-display, todo-edit, todo-faces)
7477 (todo-filtered): New defgroups.
7478 (todo-archived-only, todo-button, todo-category-string, todo-date)
7479 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7480 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7481 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7482 (todo-add-item-if-new-category, todo-always-add-time-string)
7483 (todo-categories-align, todo-categories-archived-label)
7484 (todo-categories-category-label, todo-categories-diary-label)
7485 (todo-categories-done-label, todo-categories-number-separator)
7486 (todo-categories-todo-label, todo-categories-totals-label)
7487 (todo-category-completions-files, todo-completion-ignore-case)
7488 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7489 (todo-done-separator-string, todo-done-string)
7490 (todo-files-function, todo-filter-done-items, todo-filter-files)
7491 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7492 (todo-initial-category, todo-initial-file, todo-item-mark)
7493 (todo-legacy-date-time-regexp, todo-mode-line-function)
7494 (todo-nondiary-marker, todo-number-prefix)
7495 (todo-print-buffer-function, todo-show-current-file)
7496 (todo-show-done-only, todo-show-first, todo-show-with-done)
7497 (todo-skip-archived-categories, todo-top-priorities-overrides)
7498 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7499 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7500 New defcustoms.
7501 (todo-category-done, todo-date-pattern, todo-date-string-start)
7502 (todo-diary-items-buffer, todo-done-string-start)
7503 (todo-filtered-items-buffer, todo-item-start)
7504 (todo-month-abbrev-array, todo-month-name-array)
7505 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7506 (todo-top-priorities-buffer): New defconsts.
7507 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7508 (todo-categories-with-marks, todo-category-string-face)
7509 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7510 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7511 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7512 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7513 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7514 (todo-font-lock-keywords, todo-global-current-todo-file)
7515 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7516 (todo-insertion-commands-args)
7517 (todo-insertion-commands-args-genlist)
7518 (todo-insertion-commands-names, todo-insertion-map)
7519 (todo-key-bindings-t, todo-key-bindings-t+a)
7520 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7521 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7522 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7523 (todo-visited): New variables.
7524
cad5d1cb
GM
75252013-06-21 Glenn Morris <rgm@gnu.org>
7526
7527 * play/cookie1.el (cookie-apropos): Add optional display argument.
7528 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7529 (psychoanalyze-pinhead): Use cookie-doctor.
7530
9e277302
JB
75312013-06-21 Juanma Barranquero <lekktu@gmail.com>
7532
7533 * emacs-lisp/package.el (tar-get-file-descriptor)
7534 (tar--extract): Declare.
7535
c5b0993e
EW
75362013-06-21 Eduard Wiebe <usenet@pusto.de>
7537
7538 Extend flymake's warning predicate to be a function (bug#14217).
7539 * progmodes/flymake.el (flymake-warning-predicate): New.
7540 (flymake-parse-line): Use it.
7541 (flymake-warning-re): Make obsolete alias to
7542 `flymake-warning-predicate'.
7543
a7d2d465
SM
75442013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7545
7546 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7547 (package-obsolete-list): Remove.
7548 (package-activate): Remove min-version argument. Add `force' argument.
7549 Adjust to new package-alist format.
7550 (package-mark-obsolete): Remove.
7551 (package-unpack): Force reload of the package's autoloads.
7552 (package-installed-p): Check builtins if the installed package is not
7553 recent enough.
7554 (package-initialize): Don't reset package-obsolete-list.
7555 Don't specify which package version to activate.
7556 (package-process-define-package, describe-package-1)
7557 (package-menu--generate): Adjust to new package-alist format.
7558
cedf5c9d
JB
75592013-06-21 Juanma Barranquero <lekktu@gmail.com>
7560
7561 * allout-widgets.el (allout-widgets-mode-off)
7562 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7563 (allout-widgets-post-command-business)
7564 (allout-widgets-after-copy-or-kill-function)
7565 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7566 (allout-decorate-item-and-context)
7567 (allout-graphics-modification-handler): Fix typos in docstrings.
7568 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7569
7570 * cmuscheme.el (scheme-start-file): Doc fix.
7571 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7572 (scheme-input-filter): Use `string-match-p'.
7573
7574 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7575
7576 * dired-x.el: Use Dired consistently in docstrings.
7577
7578 * dired.el: Use Dired consistently in docstrings.
7579 (dired-readin, dired-mode): Use `setq-local'.
7580 (dired-switches-alist): Make defvar-local.
7581 (dired-buffers-for-dir): Use `zerop'.
7582 (dired-safe-switches-p, dired-switches-escape-p)
7583 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7584 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7585 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7586 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7587 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7588 (dired-toggle-marks, dired-mark-files-containing-regexp)
7589 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7590 (dired-flag-auto-save-files, dired-flag-backup-files):
7591 Use `looking-at-p'.
7592 (dired-mark-files-regexp, dired-build-subdir-alist):
7593 Use `string-match-p', `looking-at-p'.
7594
7595 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7596 (direct-print-region-helper): Use `string-match-p'.
7597
aed838b5
LL
75982013-06-21 Leo Liu <sdl.web@gmail.com>
7599
cedf5c9d
JB
7600 * comint.el (comint-redirect-results-list-from-process):
7601 Fix infinite loop.
aed838b5 7602
d80a808f
LMI
76032013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7604
7605 * net/eww.el (eww-update-header-line-format): Quote % characters.
7606
e7a526e3
GM
76072013-06-21 Glenn Morris <rgm@gnu.org>
7608
7609 * play/cookie1.el (cookie): New custom group.
7610 (cookie-file): New option.
7611 (cookie-check-file): New function.
7612 (cookie): Make it interactive. Make start and end messages optional.
7613 Interactively, display the result. Default to cookie-file.
7614 (cookie-insert): Default to cookie-file.
7615 (cookie-snarf): Make start and end messages optional.
7616 Default to cookie-file. Use with-temp-buffer.
7617 (cookie-read): Rename from read-cookie.
7618 Make start and end messages optional. Default to cookie-file.
7619 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7620 Do not autoload it.
e7a526e3
GM
7621 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7622 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7623
62efb35e
LL
76242013-06-21 Leo Liu <sdl.web@gmail.com>
7625
7626 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7627
21e3f963
GM
76282013-06-21 Glenn Morris <rgm@gnu.org>
7629
7630 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7631
fd846ab4
SM
76322013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7633 Daniel Hackney <dan@haxney.org>
7634
7635 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7636 Consolidate the single-file vs tarball code.
7637 (package-desc-suffix): New function.
7638 (package-desc-full-name): Don't bother inlining it.
7639 (package-load-descriptor): Return the new package-desc.
7640 (package-mark-obsolete): Remove unused arg `package'.
7641 (package-unpack): Make it work for single files as well.
7642 Make it update package-alist.
7643 (package--make-autoloads-and-stuff): Rename from
7644 package--make-autoloads-and-compile. Don't compile any more.
7645 (package--compile): New function.
7646 (package-generate-description-file): New function, extracted from
7647 package-unpack-single.
7648 (package-unpack-single): Remove.
7649 (package--with-work-buffer): Add indentation and debugging info.
7650 (package-download-single): Remove.
7651 (package-install-from-archive): Rename from package-download-tar, make
7652 it take a pkg-desc, and make it work for single files as well.
7653 (package-download-transaction): Simplify.
7654 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7655 external tar program.
7656 (package-install-from-buffer): Remove `pkg-desc' argument.
7657 Use package-tar-file-info for tar-mode buffers.
7658 (package-install-file): Simplify accordingly.
7659 (package-archive-base): Change to take a pkg-desc.
7660 * tar-mode.el (tar--check-descriptor): New function, extracted from
7661 tar-get-descriptor.
7662 (tar-get-descriptor): Use it.
7663 (tar-get-file-descriptor): New function.
7664 (tar--extract): New function, extracted from tar-extract.
7665 (tar--extract): Use it.
7666 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7667 case the summary uses non-ascii. Adjust to new calling convention of
7668 package-tar-file-info.
7669
b7deae5e
LL
76702013-06-21 Leo Liu <sdl.web@gmail.com>
7671
fd846ab4
SM
7672 * comint.el (comint-redirect-results-list-from-process):
7673 Fix random delay. (Bug#14681)
b7deae5e 7674
7a65a0b2
JB
76752013-06-21 Juanma Barranquero <lekktu@gmail.com>
7676
7677 * profiler.el (profiler-format-number): Use log, not log10.
7678
1493c2af
JB
76792013-06-20 Juanma Barranquero <lekktu@gmail.com>
7680
7681 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7682
aff6371e
SM
76832013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7684
7685 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7686 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7687 yet available.
7688 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7689 (AUTOGENEL): ... here.
7690 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7691 (cl--defsubst-expand): Use it.
7692
89561f72
PE
76932013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7694
7695 * subr.el (log10): Move here from C code, and declare as obsolete.
7696 All uses of (log10 X) replaced with (log X 10).
7697
47199123
JB
76982013-06-20 Juanma Barranquero <lekktu@gmail.com>
7699
7700 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7701 Declare with `defvar-local'.
7702 (tabulated-list-use-header-line, tabulated-list-entries)
7703 (tabulated-list-padding, tabulated-list-printer)
7704 (tabulated-list-sort-key): Declare with `defvar-local'.
7705 (tabulated-list-init-header, tabulated-list-print-fake-header):
7706 Use `setq-local'.
7707
4a172eab
MA
77082013-06-20 Michael Albinus <michael.albinus@gmx.de>
7709
47199123
JB
7710 * arc-mode.el (archive-mode): Add `archive-write-file' to
7711 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7712
5fc0acc0
JB
77132013-06-20 Juanma Barranquero <lekktu@gmail.com>
7714
d5b27848
JB
7715 * cus-edit.el (custom-commands): Fix typos.
7716 (custom-display): Fix tooltip text.
7717 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7718 Fix typos in docstrings.
7719 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7720 (custom-unlispify-menu-entry, custom-magic-value-create)
7721 (custom-add-see-also, custom-group-value-create): Use ?\s.
7722 (custom-guess-type, customize-apropos, editable-field)
7723 (custom-face-value-create): Use `string-match-p'.
7724 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7725
7726 * custom.el (custom-load-symbol): Use `string-match-p'.
7727
a5c581d8
JB
7728 * ansi-color.el: Convert to lexical binding.
7729 (ansi-colors): Fix URL.
7730 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7731 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7732 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7733
970ad972
G
77342013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7735
7736 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7737
7738 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7739
77402013-06-19 Tom Tromey <tromey@redhat.com>
7741
7742 * net/eww.el (eww-top-url): Remove.
7743 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7744 (eww-render): Set new variables. Don't set eww-top-url.
7745 (eww-handle-link): Handle "prev", "home", and "contents".
7746 Downcase the rel text.
7747 (eww-top-url): Choose best top URL.
7748
77492013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7750
7751 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7752 relying in widget.el. Using widget.el leads to too many
7753 user interface inconsistencies.
7754 (eww-self-insert): Implement entering commands in text fields.
7755 (eww-process-text-input): New function to make text input field editing
7756 work.
7757 (eww-submit): Rewrite to use the new-style form methods.
7758 (eww-select-display): Display the correct selected item.
7759 (eww-change-select): Implement changing the select value.
7760 (eww-toggle-checkbox): Implement radio/checkboxes.
7761 (eww-update-field): Fix compilation error.
7762 (eww-tag-textarea): Implement <textarea>.
7763
7764 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7765 we don't shadow mode-specific bindings.
7766
7767 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7768 nothing to push.
7769
7770 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7771
4582a01c 77722013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7773
7774 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7775
15b263dc
MA
77762013-06-19 Michael Albinus <michael.albinus@gmx.de>
7777
7778 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7779 not needed.
7780
7781 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7782
8f5297f7
LMI
77832013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7784
7785 * net/browse-url.el (browse-url-browser-function):
7786 `eww-browse-url' has the right calling signature, `eww' does not.
7787
011c4552
GM
77882013-06-19 Glenn Morris <rgm@gnu.org>
7789
2285bd27
GM
7790 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7791 Only eval autoloaded macros.
7792 (byte-compile-autoload): Only give the macro warning for macros.
7793
1d653303
GM
7794 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7795 (ps-underlined-faces): Declare.
7796
bdd779ec
GM
7797 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7798 (speedbar-add-supported-extension): Declare.
7799
011c4552
GM
7800 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7801 Don't include a date stamp in the header of the generated file;
7802 it leads to needless differences between output files.
7803
e59dfb0e
MA
78042013-06-19 Michael Albinus <michael.albinus@gmx.de>
7805
c763842b
SM
7806 * net/secrets.el (secrets-struct-secret-content-type):
7807 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7808 Some servers do not offer introspection.
e59dfb0e 7809
102626e2
SM
78102013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 * electric.el (electric-pair-mode): Improve interaction with
7813 electric-layout-mode.
7814 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7815 (electric-pair-syntax): Use text-mode-syntax-table in comments
7816 and strings.
7817 (electric-pair--insert): New function.
7818 (electric-pair-post-self-insert-function): Use it and
7819 electric--after-char-pos.
7820
ad528125
LL
78212013-06-19 Leo Liu <sdl.web@gmail.com>
7822
7823 * progmodes/octave.el (octave-help): Fix regexp.
7824
924d6997
G
78252013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7826
7827 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7828 (shr-table-horizontal-line): Allow nil as a value, and change the
7829 default.
7830 (shr-insert-table-ruler): Respect the nil value.
7831
78322013-06-18 Tom Tromey <tromey@barimba>
7833
7834 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7835 New defvars.
7836 (eww-open-file): New defun.
7837 (eww-render): Initialize new variables.
7838 (eww-display-html): Handle "link" and "a".
7839 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7840 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7841 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7842 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7843 New defuns.
924d6997 7844
d1bbba4f
DG
78452013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7846
7847 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7848 Distinguish ternary operator tokens from slash symbol and slash
7849 char literal.
7850
14dd22d2
JB
78512013-06-18 Juanma Barranquero <lekktu@gmail.com>
7852
7853 Convert symbol prettification into minor mode and global minor mode.
7854
7855 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7856 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7857 (prettify-symbols--keywords): Rename from
7858 `prog-prettify-symbols-alist' and make a local defvar.
7859 (prettify-symbols--compose-symbol): Rename from
7860 `prog--prettify-font-lock-compose-symbol'.
7861 (prettify-symbols--make-keywords): Rename from
7862 `prog-prettify-font-lock-symbols-keywords' and simplify.
7863 (prog-prettify-install): Remove.
7864 (prettify-symbols-mode): New minor mode, based on
7865 `prog-prettify-install'.
7866 (turn-on-prettify-symbols-mode): New function.
7867 (global-prettify-symbols-mode): New globalized minor mode.
7868
7869 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7870 * progmodes/cfengine.el (cfengine3-mode):
7871 * progmodes/perl-mode.el (perl-mode): Don't call
7872 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7873
292c880c
JL
78742013-06-18 Juri Linkov <juri@jurta.org>
7875
7876 * files-x.el (modify-file-local-variable-message): New function.
7877 (modify-file-local-variable)
7878 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7879 and call `modify-file-local-variable-message' when it's non-nil.
7880 (add-file-local-variable, delete-file-local-variable)
7881 (add-file-local-variable-prop-line)
7882 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7883 and use it. (Bug#9820)
7884
0950aa27
JL
78852013-06-18 Juri Linkov <juri@jurta.org>
7886
7887 * emulation/vi.el (vi-shell-op):
7888 * emulation/vip.el (vip-execute-com, ex-command):
7889 * emulation/viper-cmd.el (viper-exec-bang):
7890 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7891 the call of `shell-command-on-region'. (Bug#14637)
7892
7893 * simple.el (shell-command-on-region): Doc fix.
7894
8fbcca16
SM
78952013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7898 (bug#14633).
7899
dd7426ea
GM
79002013-06-18 Glenn Morris <rgm@gnu.org>
7901
4ba54f7d
GM
7902 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7903
dd7426ea
GM
7904 * newcomment.el (comment-search-forward, comment-search-backward):
7905 Doc fix. (Bug#14376)
7906
58aa805b
JB
79072013-06-18 Juanma Barranquero <lekktu@gmail.com>
7908
7909 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7910 (buffer-face-mode-invoke): Doc fix.
7911
9a08a617
MM
79122013-06-18 Matthias Meulien <orontee@gmail.com>
7913
7914 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7915 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7916
f2f426ca
GM
79172013-06-18 Glenn Morris <rgm@gnu.org>
7918
9445f99b
GM
7919 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7920 Replace obsolete function generic-make-keywords with its expansion.
7921
e0df2d14
GM
7922 * progmodes/python.el (ffap-alist): Declare.
7923
f2f426ca
GM
7924 * textmodes/reftex.el (bibtex-mode-map): Declare.
7925
f7f9a720
SM
79262013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7927
7928 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7929 (package-unpack, package-unpack-single): Return the pkg-dir.
7930 (package-download-transaction): Use it to update package-alist.
7931
57ff04e0
LMI
79322013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7933
7934 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7935 possible choice.
7936
c048c022
JL
79372013-06-17 Juri Linkov <juri@jurta.org>
7938
7939 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7940
b5bcaee5
DG
79412013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7942
a020afb9
JB
7943 * emacs-lisp/package.el (package-load-descriptor):
7944 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7945 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7946
551e07e5
JB
79472013-06-17 Juanma Barranquero <lekktu@gmail.com>
7948
7949 * startup.el (command-line): Expand package name returned by
7950 `package--description-file' (bug#14639).
7951
d363bffb
DG
79522013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7953
7954 * emacs-lisp/package.el (package-load-descriptor): Do not call
7955 `emacs-lisp-mode', just use its syntax table.
7956
f612933b
JB
79572013-06-17 Juanma Barranquero <lekktu@gmail.com>
7958
7959 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7960 `font-lock-extra-managed-props' if any prettifying keyword is added.
7961 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7962 (prog-mode): Use `setq-local'.
7963
db3b7db5
SM
79642013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 * international/characters.el (standard-case-table): Set syntax of ?»
7967 and ?« to punctuation.
7968
f3d674df
JB
79692013-06-16 Juanma Barranquero <lekktu@gmail.com>
7970
7971 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7972 Save relevant match data before calling `syntax-ppss' (bug#14595).
7973
31489a32
JL
79742013-06-15 Juri Linkov <juri@jurta.org>
7975
7976 * files-x.el (modify-file-local-variable-prop-line): Add local
7977 variables to the end of the existing comment on the first line.
7978 Use `file-auto-mode-skip' to skip interpreter magic line,
7979 and also skip XML declaration.
7980
66bd25ab
SM
79812013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * startup.el (package--builtin-versions): New var.
7984 (package-subdirectory-regexp): Remove.
7985 (package--description-file): Hard code its value instead.
7986
7987 * emacs-lisp/package.el: Don't activate packages older than builtin.
7988 (package-obsolete-list): Rename from package-obsolete-alist, and make
7989 it into a simple list of package-desc.
7990 (package-strip-version): Remove.
7991 (package-built-in-p): Use package--builtin-versions.
7992 (package-mark-obsolete): Simplify.
7993 (package-process-define-package): Mark it obsolete if older than the
7994 builtin version.
7995 (package-handle-response): Use line-end-position.
7996 (package-read-archive-contents, package--download-one-archive):
7997 Simplify.
7998 (package--add-to-archive-contents): Skip if older than the builtin or
7999 installed version.
8000 (package-menu-describe-package): Fix last change.
8001 (package-list-unversioned): New var.
8002 (package-menu--generate): Use it.
8003
8004 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8005 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8006 (autoload-builtin-package-versions): New variable.
8007 (autoload-generate-file-autoloads): Use them.
8008 Remove the list of autoloaded functions/macros from the
8009 (autoload...) comments.
8010
8011 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8012
9583ec36
EZ
80132013-06-15 Eli Zaretskii <eliz@gnu.org>
8014
8015 * simple.el (line-move-partial): Don't jump to the next screen
8016 line as soon as it becomes visible. Instead, continue enlarging
8017 the vscroll until the portion of a tall screen line that's left on
8018 display is about the height of the frame's default font.
8019 (Bug#14567)
8020
f0100d8a
GM
80212013-06-15 Glenn Morris <rgm@gnu.org>
8022
b86a85ca
GM
8023 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8024 compilation-error-regexp-alist void, or local while let-bound.
8025
f0100d8a
GM
8026 * progmodes/make-mode.el (makefile-mode-syntax-table):
8027 Treat "=" as punctuation. (Bug#14614)
8028
05e7ce90
JB
80292013-06-15 Juanma Barranquero <lekktu@gmail.com>
8030
8031 * help-fns.el (describe-variable):
8032 Add extra line for permanent-local variables.
8033
12e5e86e
SH
80342013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8035
8036 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8037 Add export, import, library. (Bug#9164)
8038 (library): Set indent function.
8039
230dcbaf
GM
80402013-06-14 Glenn Morris <rgm@gnu.org>
8041
8042 * term/xterm.el (xterm--query):
8043 Stop after first matching handler. (Bug#14615)
8044
e36b2d20 80452013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8046
8047 Add support for dired in saveplace.
8048 * dired.el (dired-initial-position-hook): New variable.
8049 (dired-initial-position): Call hook to place cursor position.
8050 * saveplace.el (save-place-to-alist): Add dired position.
8051 (save-place-dired-hook): New function.
8052
0b31660d
SM
80532013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8054
bf1e6ae8
SM
8055 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8056 through a symbol rather than letrec.
8057
1b8dff23
SM
8058 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8059 (package-desc): Add `dir' field.
8060 (package-desc-full-name): New function.
8061 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8062 (package-maybe-load-descriptor): Remove.
8063 (package-load-all-descriptors): Just call package-load-descriptor.
8064 (package--disabled-p): New function.
8065 (package-desc-vers, package-desc-doc): Remove aliases.
8066 (package--dir): Remove function.
8067 (package-activate): Check if a package is disabled.
8068 (package-process-define-package): New function, extracted from
8069 define-package.
8070 (define-package): Turn into a place holder.
8071 (package-unpack-single, package-tar-file-info):
8072 Use package--description-file.
8073 (package-compute-transaction): Use package--disabled-p.
8074 (package-download-transaction): Don't call
8075 package-maybe-load-descriptor since they're all loaded anyway.
8076 (package-install): Change argument to be a pkg-desc.
8077 (package-delete): Use a single pkg-desc argument.
8078 (describe-package-1): Use package-desc-dir instead of package--dir.
8079 Use package-desc property instead of package-symbol.
8080 (package-install-button-action): Adjust accordingly.
8081 (package--push): Rewrite.
8082 (package-menu--print-info): Adjust accordingly. Change the ID format
8083 to be a pkg-desc.
8084 (package-menu-describe-package, package-menu-get-status)
8085 (package-menu--find-upgrades, package-menu-mark-upgrades)
8086 (package-menu-execute, package-menu--name-predicate):
8087 Adjust accordingly.
8088 * startup.el (package--description-file): New function.
8089 (command-line): Use it.
8090 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8091 Use package-desc-version.
8092
0b31660d
SM
8093 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8094 (byte-compile-preprocess): Use it.
8095 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8096 can't quite recognize.
8097 (byte-compile-add-to-list): Remove.
8098 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8099 (cconv-closure-convert): Add assertion.
8100
8101 * emacs-lisp/map-ynp.el: Use lexical-binding.
8102 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8103 Factor out some repeated code.
8104
de0503df
SM
81052013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 * subr.el (with-eval-after-load): New macro.
8108 (eval-after-load): Allow form to be a function.
8109 take advantage of lexical-binding.
8110 (do-after-load-evaluation): Use dolist and adjust to new format.
8111 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8112
bc5c8c5a
JL
81132013-06-13 Juri Linkov <juri@jurta.org>
8114
8115 * replace.el (perform-replace): Display "symbol " and other search
8116 modes from `isearch-message-prefix' in the *Help* buffer.
8117
8118 * isearch.el (isearch-query-replace): Add " symbol" and other
8119 possible search modes from `isearch-message-prefix' to the prompt.
8120 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8121 when reading a regexp to collect.
8122
a22289f7
JL
81232013-06-13 Juri Linkov <juri@jurta.org>
8124
8125 * isearch.el (word-search-regexp): Match whitespace if the search
8126 string begins or ends in whitespace. The LAX arg is applied to
8127 both ends of the search string. Use `regexp-quote' and explicit
8128 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8129 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8130 boundaries are replaced with symbol boundaries, and characters
8131 between symbols match non-word non-symbol syntax. (Bug#14602)
8132
cb89acab
JL
81332013-06-13 Juri Linkov <juri@jurta.org>
8134
8135 * isearch.el (isearch-del-char): Don't exceed the length of
8136 `isearch-string' by the prefix arg. (Bug#14563)
8137
6e8cfc81
JL
81382013-06-13 Juri Linkov <juri@jurta.org>
8139
8140 * isearch.el (isearch-yank-word, isearch-yank-line)
8141 (isearch-char-by-name, isearch-quote-char)
8142 (isearch-printing-char, isearch-process-search-char):
8143 Add optional count prefix arg. (Bug#14563)
8144
8145 * international/isearch-x.el
8146 (isearch-process-search-multibyte-characters):
8147 Add optional count prefix arg.
8148
c23d55f4
VS
81492013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8152 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8153 lexical-binding.
8154
81552013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8156
8157 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8158
ba947bc4
GM
81592013-06-13 Glenn Morris <rgm@gnu.org>
8160
8baeb37a
GM
8161 * startup.el (tty-handle-args):
8162 Don't just discard "--" and anything after. (Bug#14608)
8163
ba947bc4
GM
8164 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8165
9abefce4
MA
81662013-06-13 Michael Albinus <michael.albinus@gmx.de>
8167
8168 Implement changes in Secret Service API. Make it backward compatible.
8169 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8170 (secrets-create-item): Use it. Prefix properties with interface.
8171
5755011f
MH
81722013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8173
8174 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8175 (term-emulate-terminal): Respect term-suppress-hard-newline.
8176
1261d2da
S
81772013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8178
8179 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8180 Only remove a `thumb-file' overlay. (Bug#14548)
8181
868490bb
GJ
81822013-06-12 Grégoire Jadi <daimrod@gmail.com>
8183
8184 * mail/reporter.el (reporter-submit-bug-report):
8185 Handle missing package-name. (Bug#14600)
8186
79d7167f
TH
81872013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8188
8189 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8190 (reftex-citation-prompt, reftex-default-bibliography)
8191 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8192 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8193 (reftex-bib-sort-author, reftex-bib-sort-year)
8194 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8195 (reftex-extract-bib-entries-from-thebibliography)
8196 (reftex-get-bibkey-default, reftex-get-bib-names)
8197 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8198 (reftex-format-bib-entry, reftex-parse-bibitem)
8199 (reftex-format-bibitem, reftex-do-citation)
8200 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8201 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8202 (reftex-insert-bib-matches, reftex-format-citation)
8203 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8204 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8205 existing comments into docstrings.
8206
5f9dbd7a
XF
82072013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8208
8209 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8210
94df41ab
AS
82112013-06-12 Andreas Schwab <schwab@suse.de>
8212
8213 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8214 for auto-save files.
8215
a7f3fecc
GM
82162013-06-12 Glenn Morris <rgm@gnu.org>
8217
001809f6
GM
8218 * ido.el (ido-delete-ignored-files): Remove.
8219 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8220 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8221
834b5ded
EL
82222013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8223
08c73ed2
EL
8224 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8225
834b5ded
EL
8226 * ido.el (ido-delete-ignored-files): New function,
8227 split from ido-make-file-list-1.
8228 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8229 (ido-make-file-list-1): Use ido-delete-ignored-files.
8230
daabf15a
LL
82312013-06-12 Leo Liu <sdl.web@gmail.com>
8232
8233 * progmodes/octave.el (inferior-octave-startup)
8234 (inferior-octave-completion-table)
8235 (inferior-octave-track-window-width-change)
8236 (octave-eldoc-function-signatures, octave-help)
8237 (octave-find-definition): Use single quoted strings.
8238 (inferior-octave-startup-args): Change default value.
8239 (inferior-octave-startup): Do not hard code "-i" and
8240 "--no-line-editing".
8241 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8242 (inferior-octave-directory-tracker): Use it.
8243 (octave-goto-function-definition): Robustify.
8244 (octave-help): Support highlighting operators in 'See also'.
8245 (octave-find-definition): Find subfunctions only in Octave mode.
8246
cf4e5178
SM
82472013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8248
8249 * help-fns.el (help-fns--compiler-macro): If the handler function is
8250 named, then put a link to it.
8251 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8252 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8253 (cl-typep): Use it.
8254 (cl-eval-when): Simplify debug spec.
8255 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8256 compiler-macro function instead of setting `compiler-macro-file'.
8257
99c81280 82582013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8259
8260 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8261 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8262
f56be016
SM
82632013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8264 Daniel Hackney <dan@haxney.org>
8265
8266 First part of Daniel Hackney's patch to package.el.
8267 * emacs-lisp/package.el: Use defstruct.
8268 (package-desc): New, main struct.
8269 (package--bi-desc, package--ac-desc): New structs, used to describe the
8270 format in external files.
8271 (package-desc-vers): Replace with package-desc-version accessor.
8272 (package-desc-doc): Replace with package-desc-summary accessor.
8273 (package-activate-1): Remove `package' arg since the pkg-vec now
8274 includes the name.
8275 (define-package): Use package-desc-from-define.
8276 (package-unpack-single): Change file-name arg to be a symbol.
8277 (package--add-to-archive-contents): Use package-desc-create and new
8278 accessor functions to package--ac-desc.
8279 (package-buffer-info, package-tar-file-info): Return a package-desc.
8280 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8281 arg to be a package-desc.
8282 (package-install-file): Adjust accordingly. Use \' to match EOS.
8283 (package--from-builtin): New function.
8284 (describe-package-1, package-menu--generate): Use it.
8285 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8286 (package-generate-autoloads): Idem and return the name of the file.
8287 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8288 Change pkg-info arg to be a package-desc.
8289 Use package-make-ac-desc.
8290 (package-upload-file): Use \' to match EOS.
8291 * finder.el (finder-compile-keywords): Use package-make-builtin.
8292
31119d63
SM
82932013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8294
931a2762
SM
8295 * vc/vc.el (vc-deduce-fileset): Change error message.
8296 (vc-read-backend): New function.
8297 (vc-next-action): Use it.
8298
5a3eb0c6
SM
8299 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8300
e3eb1bb7
SM
8301 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8302 (prolog-font-lock-keywords): Use regexp-opt instead.
8303 Don't manually highlight strings.
8304 (prolog-mode-variables): Simplify comment-start-skip.
8305 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8306
31119d63
SM
8307 * emacs-lisp/generic.el (generic--normalise-comments)
8308 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8309 (generic-mode-set-comments): Use them.
8310 (generic-bracket-support): Use setq-local.
8311 (generic-make-keywords-list): Declare obsolete.
8312
7de135d0
GM
83132013-06-11 Glenn Morris <rgm@gnu.org>
8314
8315 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8316 Prettify after setting font-lock-defaults. (Bug#14574)
8317
fa6bc6fd
JB
83182013-06-11 Juanma Barranquero <lekktu@gmail.com>
8319
8320 * replace.el (query-replace, occur-read-regexp-defaults-function)
8321 (replace-search):
8322 * subr.el (declare-function, number-sequence, local-set-key)
8323 (substitute-key-definition, locate-user-emacs-file)
8324 (with-silent-modifications, split-string, eval-after-load):
8325 Fix typos, remove unneeded backslashes and reflow some docstrings.
8326
cf1f9b9a
SM
83272013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8328
8329 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8330 default for Elisp files.
8331
56602a4b
GM
83322013-06-11 Glenn Morris <rgm@gnu.org>
8333
8334 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8335 although define-derived-mode was doing this anyway. (Bug#14583)
8336
30ae0b2c
JB
83372013-06-10 Juanma Barranquero <lekktu@gmail.com>
8338
8339 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8340 Fix make-variable-buffer-local call to refer to the correct variable.
8341
fa472906
AG
83422013-06-10 Aidan Gauland <aidalgol@amuri.net>
8343
8344 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8345 (eshell-visual-subcommands, eshell-visual-options):
8346 Add summary line to docstrings. Add cross-references.
fa472906 8347
ff4871b9
GM
83482013-06-10 Glenn Morris <rgm@gnu.org>
8349
8350 * epa.el (epa-read-file-name): New function. (Bug#14510)
8351 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8352
04fcf1b0
AG
83532013-06-09 Aidan Gauland <aidalgol@amuri.net>
8354
8355 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8356 output redirection to be ignored with visual commands.
8357
88b00caa
AG
83582013-06-09 Aidan Gauland <aidalgol@amuri.net>
8359
8360 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8361 (eshell-term-initialize): Move long lambda to separate function
8362 eshell-visual-command-p.
e7b41c4c
JB
8363 * eshell/em-dirs.el (eshell-dirs-initialise):
8364 * eshell/em-script.el (eshell-script-initialize):
8365 Add missing #' to lambda.
88b00caa 8366
fda74125
LL
83672013-06-08 Leo Liu <sdl.web@gmail.com>
8368
8369 * progmodes/octave.el (octave-add-log-current-defun): New function.
8370 (octave-mode): Set add-log-current-defun-function.
8371 (octave-goto-function-definition): Do not move point if not found.
8372 (octave-find-definition): Enhance to try subfunctions first.
8373
467f3b33
GM
83742013-06-08 Glenn Morris <rgm@gnu.org>
8375
8376 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8377 (byte-compile-backward-char, byte-compile-backward-word):
8378 Improve previous change, to handle non-explicit nil.
8379
544badc3
SM
83802013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8383 (smie--opener/closer-at-point): New function.
8384 (smie--matching-block-data): Use it. Don't match from right after an
8385 opener or right before a closer. Obey smie-blink-matching-inners.
8386 Don't signal a mismatch for repeated inners like "switch..case..case".
8387
a175bf33
LL
83882013-06-07 Leo Liu <sdl.web@gmail.com>
8389
8390 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8391 to t. (Bug#14303)
ce8209d4
LL
8392 (octave-function-header-regexp): Fix. (Bug#14570)
8393 (octave-help-mode-finish-hook, octave-help-mode-finish):
8394 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8395
8396 * newcomment.el (comment-search-backward): Revert last change.
8397 (Bug#14434)
8398
8399 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8400
a822acff
EZ
84012013-06-07 Eli Zaretskii <eliz@gnu.org>
8402
8403 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8404 through xargs, to avoid failure due to MS-Windows limitations on
8405 command-line length.
8406
961166f5
GM
84072013-06-06 Glenn Morris <rgm@gnu.org>
8408
d0341459
GM
8409 * font-lock.el (lisp-font-lock-keywords-2):
8410 Treat user-error like error.
8411
961166f5
GM
8412 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8413 (byte-compile-backward-char, byte-compile-backward-word):
8414 Handle explicit nil arguments. (Bug#14565)
8415
80fa505f
AM
84162013-06-05 Alan Mackenzie <acm@muc.de>
8417
8418 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8419 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8420 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8421 (Bug#9706)
80fa505f 8422
fccdc796
SM
84232013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8424
8425 * autorevert.el (auto-revert-notify-handler): Use memq.
8426 Hide assertion failure.
8427
8428 * skeleton.el: Use cl-lib.
8429 (skeleton-further-elements): Use defvar-local.
8430 (skeleton-insert): Use cl-progv.
8431
9bfff84b
TZ
84322013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8433
8434 * progmodes/prog-mode.el (prog-prettify-symbols)
8435 (prog-prettify-install): Update docstrings.
8436
55577e7c
SM
84372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8438
8439 * simple.el: Move all the prog-mode code to prog-mode.el.
8440 * progmodes/prog-mode.el: New file.
8441 * loadup.el: Add prog-mode.el.
8442
8fc57765
TZ
84432013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8444
8445 * simple.el (prog-prettify-symbols): Add version.
8446 (prog-prettify-install): Add convenience function to prettify symbols.
8447
8448 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8449 (perl--augmented-font-lock-keywords-1)
8450 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8451 variables and use it.
8452
8453 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8454 (cfengine3-mode): Remove unneeded variable and use it.
8455
8456 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8457 (lisp--augmented-font-lock-keywords-1)
8458 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8459 Remove unneeded variables and use it.
8460
650645d5 84612013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8462
8463 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8464 to point when opening the connection. (Bug#14380)
28f5da6d 8465
781b4af6
SM
84662013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8467
8468 * subr.el (load-history-regexp, load-history-filename-element)
8469 (eval-after-load, after-load-functions, do-after-load-evaluation)
8470 (eval-next-after-load, display-delayed-warnings)
8471 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8472 definition of save-match-data.
8473 (overriding-local-map): Remove accidental obsolescence declaration.
8474
8475 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8476
3ca0d0b4
TZ
84772013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8478
8479 Generalize symbol prettify support to prog-mode and implement it
8480 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8481 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8482 (prog--prettify-font-lock-compose-symbol)
8483 (prog-prettify-font-lock-symbols-keywords): New variables and
8484 functions to support symbol prettification.
8485 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8486 (lisp--augmented-font-lock-keywords-1)
8487 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8488 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8489 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8490 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8491 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8492 * progmodes/perl-mode.el (perl-prettify-symbols)
8493 (perl--font-lock-compose-symbol)
8494 (perl--font-lock-symbols-keywords): Move to prog-mode.
8495 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8496 (perl-font-lock-keywords-1)
8497 (perl-font-lock-keywords-2): Remove explicit prettify support.
8498 (perl--augmented-font-lock-keywords)
8499 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8500 (perl--augmented-font-lock-keywords-2, perl-mode):
8501 Implement prettify support.
3ca0d0b4 8502
976cb066
LL
85032013-06-05 Leo Liu <sdl.web@gmail.com>
8504
8505 Re-implement smie matching block highlight using
8506 show-paren-data-function. (Bug#14395)
8507 * emacs-lisp/smie.el (smie-matching-block-highlight)
8508 (smie--highlight-matching-block-overlay)
8509 (smie--highlight-matching-block-lastpos)
8510 (smie-highlight-matching-block)
8511 (smie-highlight-matching-block-mode): Remove.
8512 (smie--matching-block-data-cache): New variable.
8513 (smie--matching-block-data): New function.
8514 (smie-setup): Use smie--matching-block-data for
8515 show-paren-data-function.
8516
8517 * progmodes/octave.el (octave-mode-menu): Fix.
8518 (octave-find-definition): Skip garbage lines.
8519
208d0342
SM
85202013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 Fix compilation error with simultaneous dynamic+lexical scoping.
8523 Add warning when a defvar appears after the first let-binding.
8524 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8525 (byte-compile-close-variables): Initialize it.
8526 (byte-compile--declare-var): New function.
8527 (byte-compile-file-form-defvar)
8528 (byte-compile-file-form-define-abbrev-table)
8529 (byte-compile-file-form-custom-declare-variable): Use it.
8530 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8531 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8532 (byte-compile-bind): Handle dynamic bindings that shadow
8533 lexical bindings.
8534 (byte-compile-unbind): Make arg non-optional.
8535 (byte-compile-let): Simplify.
8536 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8537 (cconv--analyse-function, cconv-analyse-form): Populate it.
8538 Protect byte-compile-bound-variables to limit the scope of defvars.
8539 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8540 Remove unneeded rule for `declare'.
8541
8542 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8543 so as to avoid depending on cl-adjoin at run-time.
8544 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8545
8546 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8547 (macroexp--warn-and-return): Use it.
8548
1ac2891e
GM
85492013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8550
8551 * lisp/subr.el: Convert to lexical binding.
8552 (overriding-local-map): Make obsolete.
8553 (add-to-list): Doc fix. Add compiler macro.
8554 (read-key): Swap values of local maps.
8555
2587b005
LL
85562013-06-05 Leo Liu <sdl.web@gmail.com>
8557
8558 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8559
f1da3c88
LL
85602013-06-04 Leo Liu <sdl.web@gmail.com>
8561
8562 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8563 (compilation-auto-jump): Suppress the "Mark set" message to give
8564 way to exit message.
8565
3caa391f
AM
85662013-06-04 Alan Mackenzie <acm@muc.de>
8567
8568 Remove faulty optimisation from indentation calculation.
8569 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8570 search limit based on 2000 characters back from indent-point.
8571
068922a2
TH
85722013-06-03 Tassilo Horn <tsdh@gnu.org>
8573
8574 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8575
1f8fdd53
SM
85762013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8577
bbcc4d97
SM
8578 * emacs-lisp/lisp.el: Use lexical-binding.
8579 (lisp--local-variables-1, lisp--local-variables): New functions.
8580 (lisp--local-variables-completion-table): New var.
208d0342 8581 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8582
1f8fdd53
SM
8583 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8584 eagerly (bug#14422).
8585
c9628c79
MA
85862013-06-03 Michael Albinus <michael.albinus@gmx.de>
8587
8588 * autorevert.el (auto-revert-notify-enabled)
8589 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8590 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8591 (auto-revert-notify-handler): Handle also gfilenotify.
8592
e7b41c4c 8593 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8594 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8595 Remove.
c9628c79 8596
e5e4a942
JL
85972013-06-03 Juri Linkov <juri@jurta.org>
8598
8599 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8600 `M-s h .'. (Bug#14427)
8601
8602 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8603 command `hi-lock-face-symbol-at-point'.
8604 (hi-lock-face-symbol-at-point): New command.
8605 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8606 (hi-lock-menu): Add `highlight-symbol-at-point'.
8607 (hi-lock-mode): Doc fix.
8608
8609 * isearch.el (isearch-forward-symbol-at-point): New command.
8610 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8611 (isearch-highlight-regexp): Add a regexp which matches
8612 words/symbols for word/symbol mode.
8613
8614 * subr.el (find-tag-default-bounds): New function with the body
8615 mostly moved from `find-tag-default'.
8616 (find-tag-default): Move most code to `find-tag-default-bounds',
8617 call it and apply `buffer-substring-no-properties' afterwards.
8618
26b3353a
TH
86192013-06-03 Tassilo Horn <tsdh@gnu.org>
8620
781b4af6
SM
8621 * eshell/em-term.el (eshell-term-initialize):
8622 Use `cl-intersection' rather than `intersection'.
26b3353a 8623
51b60f53
XF
86242013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8625
fe054b63 8626 * vc/log-view.el: Doc fix.
d3ffe17c 8627 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8628
a0eb10b3 86292013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8630
8631 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8632 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8633 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8634 (eieio-unbound, eieio-default-superclass)
8635 (eieio--define-field-accessors, method-static, method-before)
8636 (method-primary, method-after, method-num-lists)
8637 (method-generic-before, method-generic-primary)
8638 (method-generic-after, method-num-slots)
8639 (eieio-specialized-key-to-generic-key)
8640 (eieio--check-type, class-v, class-p)
8641 (eieio-class-name, define-obsolete-function-alias)
8642 (eieio-class-parents-fast, eieio-class-children-fast)
8643 (same-class-fast-p, class-constructor, generic-p)
8644 (generic-primary-only-p, generic-primary-only-one-p)
8645 (class-option-assoc, class-option, eieio-object-p)
8646 (class-abstract-p, class-method-invocation-order)
8647 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8648 (eieio-class-un-autoload, eieio-defclass)
8649 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8650 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8651 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8652 (eieio-defgeneric-reset-generic-form)
8653 (eieio-defgeneric-form-primary-only)
8654 (eieio-defgeneric-reset-generic-form-primary-only)
8655 (eieio-defgeneric-form-primary-only-one)
8656 (eieio-defgeneric-reset-generic-form-primary-only-one)
8657 (eieio-unbind-method-implementations)
8658 (eieio--defmethod, eieio--typep)
8659 (eieio-perform-slot-validation, eieio-validate-slot-value)
8660 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8661 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8662 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8663 (eieio-slot-name-index, eieio-class-slot-name-index)
8664 (eieio-set-defaults, eieio-initarg-to-attribute)
8665 (eieio-attribute-to-initarg, eieio-c3-candidate)
8666 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8667 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8668 (eieio-class-precedence-list, eieio-generic-call-methodname)
8669 (eieio-generic-call-arglst, eieio-generic-call-key)
8670 (eieio-generic-call-next-method-list)
8671 (eieio-pre-method-execution-functions, eieio-generic-call)
8672 (eieio-generic-call-primary-only, eieiomt-method-list)
8673 (eieiomt-optimizing-obarray, eieiomt-install)
8674 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8675 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8676 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8677 (defclass): Remove `eval-and-compile' from macro.
8678 (call-next-method, shared-initialize): Instead of using
8679 `scoped-class' variable, use new eieio--scoped-class, and
8680 eieio--with-scoped-class.
8681 (initialize-instance): Rename local variable 'scoped-class' to
8682 'this-class' to remove ambiguitity from old global.
8683
8684 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8685 eieio.el.
4f405069
JB
8686 (eieio--scoped-class-stack): New variable.
8687 (eieio--scoped-class): New fcn.
890f7890
DE
8688 (eieio--with-scoped-class): New scoping macro.
8689 (eieio-defclass): Use pushnew instead of add-to-list.
8690 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8691 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8692 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8693 `scoped-class' variable, use new eieio--scoped-class, and
8694 eieio--with-scoped-class.
8695
8696 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8697
d105b0e2
TH
86982013-06-02 Tassilo Horn <tsdh@gnu.org>
8699
8700 * eshell/esh-ext.el (eshell-external-command): Pass args to
8701 `eshell-find-interpreter'.
8702 (eshell-find-interpreter): Add new second parameter ARGS.
8703
8704 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8705 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8706
8707 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8708 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8709
8710 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8711 (eshell-visual-options): New defcustom.
8712 (eshell-escape-control-x): Adapt docstring.
8713 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8714 `eshell-visual-options' in addition to `eshell-visual-commands'.
8715 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8716
f46305c8 87172013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8718
8719 * progmodes/python.el (python-indent-block-enders): Add break,
8720 continue and raise keywords.
8721
d870df21
GM
87222013-06-01 Glenn Morris <rgm@gnu.org>
8723
9133b82e
GM
8724 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8725
02c992ec 8726 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8727 * progmodes/cc-cmds.el (delete-forward-p):
8728 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8729 * progmodes/cc-engine.el (buffer-syntactic-context):
8730 * progmodes/cc-fonts.el (face-property-instance):
8731 * progmodes/cc-mode.el (set-keymap-parents):
8732 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8733 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8734 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8735 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8736 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8737
31e7b090
GM
8738 * progmodes/cc-vars.el (other): Emacs has this widget since
8739 at least 21.1, so don't (re)define it.
8740
d870df21
GM
8741 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8742 Replace the obsolete alias pcomplete-arg-quote-list.
8743
c75c93c7
LL
87442013-06-01 Leo Liu <sdl.web@gmail.com>
8745
8746 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8747 punctuation syntax.
8748 (inferior-octave-minimal-columns)
8749 (inferior-octave-last-column-width): New variables.
8750 (inferior-octave-track-window-width-change): New function.
8751 (inferior-octave-mode): Adjust column width so that Octave output,
8752 for example from 'ls', can fit into the window nicely.
8753
973d1e12
DG
87542013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8755
8756 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8757 Highlight expansions inside regexp literals.
8758
0888c286
GM
87592013-05-31 Glenn Morris <rgm@gnu.org>
8760
e26aac1f
GM
8761 * obsolete/sym-comp.el (symbol-complete):
8762 Replace obsolete completion-annotate-function.
8763
0888c286
GM
8764 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8765
19bb8e62
DG
87662013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8767
781b4af6
SM
8768 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8769 New function, checks if point is inside a literal that allows
19bb8e62
DG
8770 expression expansion.
8771 (ruby-syntax-propertize-expansion): Use it.
8772 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8773 around the body.
8774
01dea85f
JL
87752013-05-30 Juri Linkov <juri@jurta.org>
8776
8777 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8778 to "\M-si".
8779 (isearch-invisible): New variable.
8780 (isearch-forward): Doc fix.
8781 (isearch-mode): Set `isearch-invisible'
8782 to the value of `search-invisible'.
8783 (isearch-toggle-case-fold): Doc fix.
8784 (isearch-toggle-invisible): New command.
8785 (isearch-query-replace): Let-bind `search-invisible'
8786 to the value of `isearch-invisible'.
8787 (isearch-search): Use `isearch-invisible' instead of
8788 `search-invisible'. Let-bind `search-invisible'
8789 to the value of `isearch-invisible'. (Bug#11378)
8790
ab1bdce5
JL
87912013-05-30 Juri Linkov <juri@jurta.org>
8792
8793 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8794 call when `query-flag' is nil and `search-invisible' is non-nil.
8795 (Bug#11746)
8796
d6d236e2
GM
87972013-05-30 Glenn Morris <rgm@gnu.org>
8798
8accd027
GM
8799 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8800
2a8bed1c
GM
8801 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8802 (cc-require): Suppress spurious "noruntime" warnings.
8803 (cc-require-when-compile): Use fboundp, for sake of compiler.
8804
d6d236e2
GM
8805 * progmodes/cc-mode.el: Move load of cc-vars before that of
8806 cc-langs (which in turn loads cc-vars), to quieten compiler.
8807
9190b35b
SM
88082013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * paren.el: Simplify the code.
8811 (show-paren-mode): Always start the timer.
8812 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8813 (show-paren--overlay, show-paren--overlay-1): Rename from
8814 show-paren-overlay and show-paren-overlay-1, and initialize to an
8815 overlay rather than to nil.
8816 (show-paren-function): Misc cleanup and simplifications.
8817
4f8d1cf6
SM
88182013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8819
8820 * paren.el (show-paren-data-function): New hook.
8821 (show-paren--default): New function, extracted from show-paren-function.
8822 (show-paren-function): Use show-paren-data-function.
8823
02d844b5
GM
88242013-05-30 Glenn Morris <rgm@gnu.org>
8825
d209d4a9
GM
8826 * ielm.el (ielm-map, ielm-complete-symbol):
8827 Use completion-at-point rather than obsolete functions.
8828 (inferior-emacs-lisp-mode): Doc fix.
8829 Set completion-at-point-functions, rather than
8830 comint-dynamic-complete-functions.
8831
2082faa6
GM
8832 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8833 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8834 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8835
dd8620de
GM
8836 * image.el (image-animated-p): Tweak definition.
8837
ceca95b1
GM
8838 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8839 (rlogin-process-connection-type): Tweak default. Add set-after.
8840 (rlogin-host): Doc fix.
8841 (rlogin): Tweak prompt.
8842 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8843
ee9f1acc
GM
8844 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8845 * progmodes/tcl.el (inferior-tcl-mode-map):
8846 Use completion-at-point rather than obsolete alias.
8847
45ce222e
GM
8848 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8849
02d844b5
GM
8850 * minibuffer.el (read-file-name-completion-ignore-case):
8851 Move before completion--in-region, for eager macro expansion.
8852
ac44d6c1
JL
88532013-05-29 Juri Linkov <juri@jurta.org>
8854
8855 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8856 for total count of matching lines. Add `global-matches' for total
8857 count of matches. Rename `matches' to `lines' for count of
8858 matching lines. Add `matches' for count of matches.
8859 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8860 to `prev-line' for line number of prev match endpt.
8861 Increment `matches' for every match. Print the number of
8862 matching lines in the header.
8863 (occur-context-lines): Rename `lines' to `curr-line'.
8864 Rename `prev-lines' to `prev-line'. (Bug#14017)
8865
3c9c9d38
JL
88662013-05-29 Juri Linkov <juri@jurta.org>
8867
8868 * replace.el (perform-replace): Add `skip-read-only-count',
8869 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8870 Increment them for corresponding conditions and report the number
8871 of skipped occurrences in the final message. (Bug#11746)
8872 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8873 (replace-string, replace-regexp): Doc fix.
8874
33e249a2
SM
88752013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8e399682
SM
8877 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8878
33e249a2 8879 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8880 prog-mode-map (bug#14504).
33e249a2 8881
f236dd84
LL
88822013-05-29 Leo Liu <sdl.web@gmail.com>
8883
8884 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8885 (octave-help): Small simplification.
8886
8887 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8888 off the highlight first.
8889
3694d13f
GM
88902013-05-29 Glenn Morris <rgm@gnu.org>
8891
03983bdc
GM
8892 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8893 Handle idlwave-last-system-routine-info-cons-cell being nil.
8894
bc74a74a
GM
8895 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8896 (idlwave-write-paths): Simplify via with-temp-buffer.
8897
8b394200
GM
8898 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8899 * emulation/cua-rect.el: Also load cua-base at run time.
8900
3694d13f
GM
8901 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8902 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8903 (cperl-imenu-on-info): Require imenu.
8904
336d7284
AM
89052013-05-28 Alan Mackenzie <acm@muc.de>
8906
8907 Handle "capitalised keywords" correctly.
33e249a2 8908 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8909
cb29c582
AG
89102013-05-28 Aidan Gauland <aidalgol@amuri.net>
8911
781b4af6 8912 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8913
690e44b2
GM
89142013-05-28 Glenn Morris <rgm@gnu.org>
8915
e658d75c
GM
8916 * vc/vc-arch.el (vc-exec-after): Declare.
8917 (vc-switches): Autoload.
8918 * vc/vc-bzr.el: No need to require vc when compiling.
8919 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8920 (vc-resynch-buffer, vc-dir-refresh): Declare.
8921 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8922 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8923 (vc-resynch-buffer): Declare.
8924 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8925 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8926 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8927 (grep-read-regexp, grep-read-files, grep-expand-template)
8928 (vc-dir-refresh): Declare.
8929 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8930 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8931 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8932 * vc/vc-mtn.el (vc-exec-after): Declare.
8933 (vc-switches): Autoload.
8934 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8935 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8936 (vc-file-tree-walk): Declare.
712b9732
GM
8937 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8938 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8939 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8940 * vc/vc-svn.el (vc-exec-after): Declare.
8941 (vc-switches, vc-setup-buffer): Autoload.
8942 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8943 Autoload.
8944 (vc-resynch-buffer): Declare.
8945
98e87fb3
GM
8946 * obsolete/fast-lock.el (byte-compile-warnings):
8947 Don't warn about obsolete features in this obsolete file.
8948
f5379553
GM
8949 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8950 Move definition before use.
8951
7a20ef83
GM
8952 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8953 (dun-unix-verbs): Remove dun-zippy.
8954 (dun-zippy): Remove function.
8955
690e44b2
GM
8956 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8957
3a52ccf7
JL
89582013-05-27 Juri Linkov <juri@jurta.org>
8959
8960 * replace.el (replace-search): New function with code moved out
8961 from `perform-replace'.
8962 (replace-highlight, replace-dehighlight): Move function definitions
8963 up closer to `replace-search'. (Bug#11746)
8964
d289938a
JL
89652013-05-27 Juri Linkov <juri@jurta.org>
8966
8967 * replace.el (perform-replace): Ignore invisible matches.
8968 In addition to checking `query-replace-skip-read-only', also
8969 filter out matches by calling `run-hook-with-args-until-failure'
8970 on `isearch-filter-predicates', and also check `search-invisible'
8971 for t or call `isearch-range-invisible'.
8972 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8973
66fc57e3
JL
89742013-05-27 Juri Linkov <juri@jurta.org>
8975
8976 * isearch.el (isearch-filter-predicates): Rename from
8977 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8978 (isearch-message-prefix): Display text from the property
8979 `isearch-message-prefix' of the currently active filters.
8980 (isearch-search): Don't compare `isearch-filter-predicate' with
8981 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8982 on `isearch-filter-predicates'. Also check `search-invisible' for t
8983 or call `isearch-range-invisible'.
8984 (isearch-filter-visible): Make obsolete.
8985 (isearch-lazy-highlight-search):
8986 Call `run-hook-with-args-until-failure' on
8987 `isearch-filter-predicates' and use `isearch-range-invisible'.
8988
8989 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8990 `isearch-filter-predicates' instead of `funcall'ing
8991 `isearch-filter-predicate'.
8992 (Info-mode): Set `Info-isearch-filter' to
8993 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8994
8995 * dired-aux.el (dired-isearch-filter-predicate-orig):
8996 Remove variable.
8997 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8998 (dired-isearch-filenames-end): Add and remove
8999 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9000 instead of changing the value of `isearch-filter-predicate'.
9001 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9002 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9003 Put property `isearch-message-prefix' to "filename " on
9004 `dired-isearch-filter-filenames'.
9005
9006 * wdired.el (wdired-change-to-wdired-mode):
9007 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9008 locally instead of changing `isearch-filter-predicate'.
9009 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9010
f1a60a0f
DG
90112013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9012
9013 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9014 return the commit hash (Bug#14459). Also set the
9015 `vc-git-detached' property.
9016 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9017 (vc-git-mode-line-string): Use the same help-echo format whether
9018 in detached mode or not, because we know the actual revision now.
9019 When in detached mode, shorten the revision to 7 chars.
9020
7f17cc40
SM
90212013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9022
9023 * emacs-lisp/easy-mmode.el (define-minor-mode):
9024 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9025 mode hook and provide a docstring.
9026
25c8401c
AM
90272013-05-27 Alan Mackenzie <acm@muc.de>
9028
9029 Remove spurious syntax-table text properties inserted by C-y.
9030 * progmodes/cc-mode.el (c-after-change): Also clear hard
9031 syntax-table property with value nil.
9032
dde84790
MA
90332013-05-27 Michael Albinus <michael.albinus@gmx.de>
9034
9035 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9036 when reading the events; the buffer layout shall not be changed.
9037
837fd9af
LL
90382013-05-27 Leo Liu <sdl.web@gmail.com>
9039
9040 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9041 New variable.
9042 (inferior-octave-directory-tracker): Automatically re-sync
9043 default-directory.
9044 (octave-help): Improve handling of 'See also'.
9045
4fd996b3
SM
90462013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9047
416f1802
SM
9048 * doc-view.el: Minor naming convention tweaks.
9049 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9050
4fd996b3
SM
9051 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9052 even if there's no `display' property yet (bug#14435).
9053
a052ef3b
EZ
90542013-05-25 Eli Zaretskii <eliz@gnu.org>
9055
4fd996b3 9056 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9057
9058 * Makefile.in (custom-deps, finder-data, autoloads)
9059 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9060 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9061 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9062
c9023370
SM
90632013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9066 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9067 Don't burp at EOB.
c9023370 9068
24d699fa
LL
90692013-05-25 Leo Liu <sdl.web@gmail.com>
9070
9071 * comint.el (comint-previous-matching-input): Do not flood the
9072 *Messages* buffer with trivial messages.
9073
17e5c0cc
SM
90742013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9075
9076 * progmodes/flymake.el (flymake-nop): Don't return a string.
9077 (flymake-set-at): Fix typo.
9078
9079 * simple.el (read--expression): New function, extracted from
9080 eval-expression. Set completion-at-point-functions (bug#14465).
9081 (eval-expression, eval-minibuffer): Use it.
9082
5d028165
XF
90832013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9084
9085 * progmodes/flymake.el (flymake-save-buffer-in-file)
9086 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9087 (flymake-selected-frame, flymake-log, flymake-ins-after)
9088 (flymake-set-at, flymake-get-buildfile-from-cache)
9089 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9090 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9091 Refine the doc string.
9092 (flymake-get-file-name-mode-and-masks): Reformat.
9093 (flymake-get-real-file-name-function): Fix a minor bug.
9094
7a1d7ba7
JL
90952013-05-24 Juri Linkov <juri@jurta.org>
9096
9097 * progmodes/grep.el (grep-mode-font-lock-keywords):
9098 Support =linenumber= format used by git-grep for lines with
9099 function names. (Bug#13549)
9100
650cff3d
SM
91012013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9104 0 after a semi-colon; it works better for smie-auto-fill.
9105 (octave--indent-new-comment-line): New function.
9106 (octave-indent-new-comment-line): Use it (indirectly).
9107 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9108 modify comment-line-break-function.
9109
9110 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9111 (smie-setup): Use add-function to set it.
9112
9631677d
SS
91132013-05-24 Sam Steingold <sds@gnu.org>
9114
9115 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9116 argument (before the `interactive' argument).
9117
50105835
SM
91182013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9119
9120 * image-mode.el (image-mode-winprops): Add winprops to
9121 image-mode-winprops-alist before running
9122 image-mode-new-window-functions.
9123 * doc-view.el (doc-view-new-window-function): Don't delay
9124 doc-view-goto-page via timers (bug#14435).
9125
57b9823e
TH
91262013-05-24 Tassilo Horn <tsdh@gnu.org>
9127
9128 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9129 (doc-view-desktop-save-buffer): New function.
9130 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9131 (desktop-buffer-mode-handlers):
9132 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9133 handler.
9134 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9135 `desktop-save-buffer' function.
9136
91aafa16
MA
91372013-05-24 Michael Albinus <michael.albinus@gmx.de>
9138
9139 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9140 (tramp-gvfs-file-name-handler): Raise a user error when
9141 `tramp-gvfs-enabled' is nil.
9142 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9143 Do not raise a user error when loading package. (Bug#14447)
9144
ec076379
MA
9145 * net/xesam.el: Move to obsolete/.
9146
db785726
GM
91472013-05-24 Glenn Morris <rgm@gnu.org>
9148
af5c7606
GM
9149 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9150
e5d1916a
GM
9151 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9152
ded62b08
GM
9153 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9154 (Info-find-node, Man-getpage-in-background): Declare.
9155
9e614a3f
GM
9156 * mail/unrmail.el (unrmail):
9157 Replace obsolete detect-coding-with-priority.
9158
892f8ca3
GM
9159 * net/socks.el (socks-split-string): Use this rather than split-string.
9160 (socks-nslookup-host): Update for above change.
9161 (dynamic-choice, s5-dynamic-choice-match)
9162 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9163 Comment out unused code.
9164
3c291973
GM
9165 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9166 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9167 (gud-tooltip-echo-area): Make obsolete.
9168 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9169
43cc956b
GM
9170 * progmodes/js.el (js--optimize-arglist): Declare.
9171
dab49a3b
GM
9172 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9173
36b9d085
GM
9174 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9175 (ediff-window-C): Declare.
9176
e354ae76
GM
9177 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9178 Tweak requires to silence compiler.
9179
b8e57bf4
GM
9180 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9181 (he-search-string, he-tried-table, he-expand-list)
9182 (he-init-string, he-string-member, he-substitute-string)
9183 (he-reset-string): Declare.
9184
db785726
GM
9185 * obsolete/options.el (list-options): Use custom-variable-p,
9186 rather than obsolete alias.
9187
b3531901
SS
91882013-05-23 Sam Steingold <sds@gnu.org>
9189
9190 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9191 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9192 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9193
bdda4c66
SM
91942013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * emacs-lisp/smie.el (smie-indent-forward-token)
9197 (smie-indent-backward-token): Handle string tokens (bug#14381).
9198
c43d45f9
TH
91992013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9200
fe1eb856
RS
9201 * ielm.el (ielm-menu): New menu.
9202 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9203
fe1eb856
RS
92042013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9205
9206 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9207 Fix deactivate action.
9208
9209 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9210 Add cleveref macros.
074dd971 9211
c43d45f9
TH
9212 * lisp/textmodes/reftex-parse.el
9213 (reftex-locate-bibliography-files): Accept options for
9214 bibliography commands.
9215 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9216 Add addbibresource. Basic Biblatex support.
9217
7764286e
MA
92182013-05-23 Michael Albinus <michael.albinus@gmx.de>
9219
9220 * net/tramp-gvfs.el (top):
9221 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9222 when loading package. (Bug#14447)
9223
d361bc10
GM
92242013-05-23 Glenn Morris <rgm@gnu.org>
9225
8fa23984
GM
9226 * progmodes/js.el: No need to load comint when compiling.
9227 (ring-insert, comint-send-string, comint-send-input)
9228 (comint-last-input-end, ido-chop): Declare.
9229
a5c7df1a
GM
9230 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9231 * vc/ediff-mult.el: Adjust requires.
9232 (ediff-directories-internal, ediff-directory-revisions-internal)
9233 (ediff-patch-file-internal): Declare.
9234 * vc/ediff-ptch.el: Adjust requires.
9235 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9236 (ediff-find-file): Autoload.
9237 * vc/ediff-util.el: No need to load ediff when compiling.
9238 (ediff-regions-internal): Declare.
9239 * vc/ediff-wind.el: Adjust requires.
9240 (ediff-compute-toolbar-width): Define when compiling.
9241 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9242 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9243 (dired-get-filename, dired-get-marked-files)
9244 (ediff-last-dir-patch, ediff-patch-default-directory)
9245 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9246 (ediff-patch-buffer-internal): Declare.
9247
e2aec513
GM
9248 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9249 (ispell-process, ispell-buffer-local-words, lm-summary)
9250 (lm-section-start, lm-section-end): Declare.
9251 (checkdoc-ispell-init): Simplify.
9252
e68bbd7c
GM
9253 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9254 (he-string-member, he-reset-string, he-substitute-string): Declare.
9255
7efe0991
GM
9256 * eshell/em-ls.el: Adjust requires.
9257 (eshell-glob-regexp): Declare.
f87b1284
GM
9258 * eshell/em-tramp.el: Adjust requires.
9259 (eshell-parse-command): Autoload.
9260 * eshell/em-xtra.el: Adjust requires.
9261 (eshell-parse-command): Autoload.
9262 * eshell/esh-ext.el: Adjust requires.
9263 (eshell-parse-command, eshell-close-handles): Autoload.
9264 * eshell/esh-io.el: Adjust requires.
9265 (eshell-output-filter): Autoload.
9266 * eshell/esh-util.el: No need to load tramp when compiling.
9267 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9268 Declare.
9269 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9270 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9271 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9272 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9273 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9274 * eshell/esh-opt.el, eshell/esh-proc.el:
9275 * eshell/esh-var.el: Adjust requires.
9276 * eshell/eshell.el: Do not require esh-util twice.
9277 (eshell-add-input-to-history): Declare.
9278 (eshell-command): Check history module is active before using it.
9279
d361bc10
GM
9280 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9281
85d090a9
LL
92822013-05-22 Leo Liu <sdl.web@gmail.com>
9283
9284 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9285
5d0acd9d
MA
92862013-05-22 Michael Albinus <michael.albinus@gmx.de>
9287
9288 * autorevert.el (auto-revert-notify-add-watch)
9289 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9290 it indicates changes in file modification time.
9291
0cdffd7d
GM
92922013-05-22 Glenn Morris <rgm@gnu.org>
9293
ca5995ec
GM
9294 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9295 Always delete the autoloaded function from the noruntime and
9296 unresolved functions lists.
9297
6450907e
GM
9298 * allout.el: No need to load epa, epg, overlay when compiling.
9299 (epg-context-set-passphrase-callback, epg-list-keys)
9300 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9301 (epg-key-user-id-list): Declare.
9302
9c6906f6
GM
9303 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9304 (viper-set-parsing-style-toggling-macro)
9305 (viper-set-emacs-state-searchstyle-macros):
9306 Use called-interactively-p on Emacs.
9307 (viper-looking-back): Make it an obsolete alias. Update callers.
9308 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9309 Use looking-back rather than viper-looking-back.
9310 (viper-tmp-insert-at-eob, viper-enlarge-region)
9311 (viper-read-string-with-history, viper-register-to-point)
9312 (viper-append-to-register, viper-change-state-to-vi)
9313 (viper-backward-char-carefully, viper-forward-char-carefully)
9314 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9315 (viper-change-state-to-emacs): Declare.
9316 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9317 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9318 * emulation/viper-mous.el: Do not load viper-cmd.
9319 (viper-backward-char-carefully, viper-forward-char-carefully)
9320 (viper-forward-word, viper-adjust-window): Declare.
9321
5f70c169
GM
9322 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9323
b1b7f300
GM
9324 * progmodes/idlw-help.el (idlwave-help-fontify):
9325 Use called-interactively-p.
9326
f6ebbb46
GM
9327 * term/w32console.el (w32-get-console-codepage)
9328 (w32-get-console-output-codepage): Declare.
9329
0cdffd7d
GM
9330 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9331 Remove unnecessary declarations.
9332 (dframe-message): Doc fix.
9333
9334 * info.el (dframe-select-attached-frame, dframe-current-frame):
9335 Declare.
9336
9337 * speedbar.el (speedbar-message): Make it an obsolete alias.
9338 Update all callers.
9339 (speedbar-with-attached-buffer)
9340 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9341 (speedbar-with-writable): Use backquote.
9342 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9343 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9344 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9345 rather than speedbar- aliases.
9346 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9347 (speedbar-make-specialized-keymap, speedbar-insert-button)
9348 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9349 (speedbar-do-function-pointer): Declare.
9350 (rmail-speedbar-button, rmail-speedbar-find-file)
9351 (rmail-speedbar-move-message):
9352 Use dframe-with-attached-buffer rather than speedbar- alias.
9353 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9354 (dframe-message, speedbar-make-specialized-keymap)
9355 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9356 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9357 (speedbar-insert-button, dframe-select-attached-frame)
9358 (dframe-maybee-jump-to-attached-frame)
9359 (speedbar-change-initial-expansion-list)
9360 (speedbar-previously-used-expansion-list-name): Declare.
9361 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9362 Use dframe-message, dframe-with-attached-buffer rather than
9363 speedbar- aliases.
9364 (gud-sentinel): Silence compiler.
9365 * progmodes/vhdl-mode.el (speedbar-refresh)
9366 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9367 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9368 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9369 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9370 (speedbar-file-lists, speedbar-make-tag-line)
9371 (speedbar-line-directory, speedbar-goto-this-file)
9372 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9373 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9374 (speedbar-make-button, speedbar-reset-scanners)
9375 (speedbar-files-item-info, speedbar-line-text)
9376 (speedbar-find-file-in-frame, speedbar-set-timer)
9377 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9378 (speedbar-with-writable): Do not (re)define it.
9379 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9380 rather than speedbar- alias.
9381
ee44b62a
LL
93822013-05-21 Leo Liu <sdl.web@gmail.com>
9383
9384 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9385 menu items.
9386 (octave-mode): Tweak fill-nobreak-predicate.
9387 (inferior-octave-startup): Check process to avoid infinite loop.
9388 (inferior-octave): Pop to buffer first to show abornmal process
9389 exit information.
9390
640f050f
GM
93912013-05-21 Glenn Morris <rgm@gnu.org>
9392
79458038
GM
9393 * printing.el (pr-menu-bar): Define when compiling.
9394
9cc3e83f
LL
93952013-05-21 Leo Liu <sdl.web@gmail.com>
9396
9397 * progmodes/octave.el (octave-auto-fill): Remove.
9398 (octave-indent-new-comment-line): Improve.
9399 (octave-mode): Use auto fill mode through
4f405069 9400 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9401 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9402 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9403 (octave-help): Show parent directory.
9404
f440830d
GM
94052013-05-21 Glenn Morris <rgm@gnu.org>
9406
9407 * files.el (dired-unmark):
9408 * progmodes/gud.el (gdb-input): Update declarations.
9409
9410 * calculator.el (electric, ehelp): No need to load when compiling.
9411 (Electric-command-loop, electric-describe-mode): Declare.
9412
9413 * doc-view.el (doc-view-current-converter-processes): Move before use.
9414
9415 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9416 Move MODE-set-explicitly definition before use.
9417
9418 * international/mule-diag.el (mule-diag):
9419 Don't use obsolete window-system-version.
9420
9421 * mail/feedmail.el (smtpmail): No need to load when compiling.
9422 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9423
9424 * mail/mail-utils.el (rfc822): No need to load when compiling.
9425 (rfc822-addresses): Autoload it.
9426 (mail-strip-quoted-names): Trivial simplification.
9427
9428 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9429 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9430
9431 * net/snmp-mode.el (tempo): Don't duplicate requires.
9432
9433 * progmodes/prolog.el (info): No need to load when compiling.
9434 (comint): Require before shell requires it.
9435 (Info-goto-node): Autoload it.
9436 (Info-follow-nearest-node): Declare.
9437 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9438
9439 * textmodes/artist.el (picture-mode-exit): Declare.
9440
9441 * textmodes/reftex-parse.el (reftex-parse-from-file):
9442 Trivial rewrite so the compiler can parse it better.
9443
b4da2cbb
LL
94442013-05-20 Leo Liu <sdl.web@gmail.com>
9445
9446 * progmodes/octave.el (octave-help-mode-map)
9447 (octave-help-mode-finish-hook): New variables.
9448 (octave-help-mode, octave-help-mode-finish): New functions.
9449 (octave-help): Use octave-help-mode.
9450
33c0f65b
GM
94512013-05-20 Glenn Morris <rgm@gnu.org>
9452
9453 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9454
1a0a0a8a
DG
94552013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9456
9457 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9458 start at point, so that expansion starting right after opening
9459 slash in a regexp is recognized.
9460 (ruby-syntax-before-regexp-re): New defvar, extracted from
9461 ruby-syntax-propertize-function. Since the value of this regexp
9462 is looked up at runtime now, we should be able to turn
9463 `ruby-syntax-methods-before-regexp' into a defcustom later.
9464 (ruby-syntax-propertize-function): Split regexp matching into two
9465 parts, for opening and closing slashes. That allows us to skip
9466 over string interpolations and support multiline regexps.
9467 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9468 for them, which calls `ruby-syntax-propertize-expansion'.
9469 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9470 call to `ruby-syntax-propertize-function'.
9471 (ruby-syntax-propertize-expansion): Extracted from
9472 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9473 (ruby-syntax-propertize-percent-literal): Leave point right after
9474 the percent symbol, so that the expression expansion rule can
9475 propertize the contents.
462388b6
DG
9476 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9477 heredoc openers.
9478 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9479
c1a6c0a4
JL
94802013-05-18 Juri Linkov <juri@jurta.org>
9481
9482 * man.el (Man-default-man-entry): Remove `-' from the end
9483 of the default value. (Bug#14400)
9484
8051fccd
GM
94852013-05-18 Glenn Morris <rgm@gnu.org>
9486
9487 * comint.el (comint-password-prompt-regexp):
9488 Allow "password for XXX" where XXX contains colons (eg https://...).
9489
5e80b74f
LL
94902013-05-18 Leo Liu <sdl.web@gmail.com>
9491
9492 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9493 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9494 (octave-source-directories): Don't check process.
9495 (octave-source-directories, octave-find-definition): Doc fix.
9496
521a54c5
GM
94972013-05-18 Glenn Morris <rgm@gnu.org>
9498
86a94b05
GM
9499 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9500 Remove backspace/delete bindings. (Bug#14392)
9501
521a54c5
GM
9502 * cus-dep.el (custom-make-dependencies): Sort the output.
9503 (custom-versions-load-alist): Convert comment to doc.
9504
42caeb89
LL
95052013-05-17 Leo Liu <sdl.web@gmail.com>
9506
9507 * newcomment.el (comment-search-backward): Stricter in finding
9508 comment start. (Bug#14303)
9509
9510 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9511 (octave-comment-start-skip): Properly anchored.
9512
e219dd97
LL
95132013-05-17 Leo Liu <sdl.web@gmail.com>
9514
fe1eb856
RS
9515 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9516 Clean up when turned off. (Bug#14395)
e219dd97
LL
9517 (smie--highlight-matching-block-overlay): No longer buffer-local.
9518 (smie-highlight-matching-block): Adjust.
9519
dc5dcb4b
PE
95202013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9521
9522 Doc string fix for "nanoseconds" (Bug#14406).
9523 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9524 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9525
1db165f0
JB
95262013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9527
9528 * calc/calc-units.el (math-extract-units): Preserve powers
9529 of units.
9530
c7a8fcac
LL
95312013-05-17 Leo Liu <sdl.web@gmail.com>
9532
9533 * subr.el (delete-consecutive-dups): New function.
9534 * ido.el (ido-set-matches-1): Use it.
9535 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9536 * ido.el (ido-remove-consecutive-dups): Remove.
9537
f678b18a
SM
95382013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9539
9540 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9541 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9542 regexp-opt's `words'.
9543
ebfe68e8
LL
95442013-05-16 Leo Liu <sdl.web@gmail.com>
9545
9546 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9547 (smie--highlight-matching-block-overlay)
9548 (smie--highlight-matching-block-lastpos)
9549 (smie--highlight-matching-block-timer): New variables.
9550 (smie-highlight-matching-block): New function.
9551 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9552 (smie-setup): Conditionally enable smie-blink-matching-open.
9553
bc8bc17d
WS
95542013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9555
9556 Sync with upstream verilog-mode r840.
9557 * progmodes/verilog-mode.el (verilog-mode-version)
9558 (verilog-mode-release-date): Update.
9559 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9560 (verilog-sig-tieoff): Fix string error on
9561 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9562 (verilog-read-decls): Fix parameters confusing
9563 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9564
df065a0b
EZ
95652013-05-16 Eli Zaretskii <eliz@gnu.org>
9566
9567 * subr.el (reveal-filename): New function.
9568
9569 * loadup.el: Compute Emacs executable versions on MS-Windows,
9570 where executables have the .exe extension. Add a hard link
9571 emacs-XX.YY.ZZ.exe on MS-Windows.
9572
9573 * Makefile.in (XARGS_LIMIT): New variable.
9574 (custom-deps, finder-data, autoloads)
9575 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9576 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9577 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9578 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9579
2d4bf34b
LL
95802013-05-16 Leo Liu <sdl.web@gmail.com>
9581
9582 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9583 (octave-mode-menu, octave-mode-map): Remove its uses.
9584
6b9c2d85
RZ
95852013-05-16 Reto Zimmermann <reto@gnu.org>
9586
9587 Sync with upstream vhdl mode v3.34.2.
9588 * progmodes/vhdl-mode.el: Use `push' throughout.
9589 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9590 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9591 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9592 (vhdl-actual-generic-name): New option to derive actual generic name.
9593 (vhdl-port-paste-signals): Replace formal by actual generics.
9594 (vhdl-beautify): New name for old group vhdl-align. Update users.
9595 (vhdl-beautify-options): New option.
9596 (vhdl-last-input-event): New compat alias. Use throughout.
9597 (vhdl-goto-line): Replace user level function `goto-line'.
9598 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9599 vhdl-fix-statement-buffer.
9600 (vhdl-create-mode-menu): Add some entries.
9601 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9602 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9603 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9604 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9605 to force statements on one line.
9606 (vhdl-remove-trailing-spaces-region):
9607 New, split from vhdl-remove-trailing-spaces.
9608 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9609 Respect vhdl-beautify-options.
9610 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9611 (vhdl-update-sensitivity-list): Not add with index if exists without.
9612 Not include array index with signal. Ignore keywords in comments.
9613 (vhdl-get-visible-signals): Regexp tweaks.
9614 (vhdl-template-component-inst): Handle empty library.
9615 (vhdl-template-type): Add template for 'enum' type.
9616 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9617 Use vhdl-replace-string.
9618 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9619 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9620 (vhdl-speedbar-initialize): Update for above name change.
9621 (vhdl-compose-wire-components): Fix in handling of constants.
9622 (vhdl-error-regexp-emacs-alist): New variable.
9623 (vhdl-error-regexp-add-emacs): New function;
9624 adds support for new compile.el (Emacs 22+)
9625 (vhdl-generate-makefile-1): Change target order for single lib. units.
9626 Allow use of absolute file names.
9627
9df4ec5e
LL
96282013-05-16 Leo Liu <sdl.web@gmail.com>
9629
9630 * simple.el (prog-indent-sexp): Indent enclosing defun.
9631
f5ba00a6
GM
96322013-05-15 Glenn Morris <rgm@gnu.org>
9633
ed8be7ff
GM
9634 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9635 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9636 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9637 (whitespace-highlight): Move to whitespace group.
9638
9639 * comint.el (comint-source):
9640 * pcmpl-linux.el (pcmpl-linux):
9641 * shell.el (shell-faces):
9642 * eshell/esh-opt.el (eshell-opt):
9643 * international/ccl.el (ccl): Remove empty custom groups.
9644
9645 * completion.el (dynamic-completion-mode):
9646 * jit-lock.el (jit-lock-debug-mode):
9647 * minibuffer.el (completion-in-region-mode):
9648 * type-break.el (type-break-mode-line-message-mode)
9649 (type-break-query-mode):
9650 * emulation/tpu-edt.el (tpu-edt-mode):
9651 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9652 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9653 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9654
9655 * term/xterm.el (xterm): Change parent group to terminals.
9656
9657 * master.el (master): Remove empty custom group.
9658 (master-mode): Remove unused :group argument.
9659 * textmodes/refill.el (refill): Remove empty custom group.
9660 (refill-mode): Remove unused :group argument.
9661
9662 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9663
82a7c41b
GM
9664 * cus-dep.el: Provide a feature.
9665 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9666 Don't mistakenly ignore files whose basenames match a basename
9667 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9668 Add a fallback method for getting :group.
f5ba00a6 9669
6d65486d
JL
96702013-05-15 Juri Linkov <juri@jurta.org>
9671
da547b32
JL
9672 * isearch.el (isearch-char-by-name): Rename from
9673 `isearch-insert-char-by-name'. Doc fix.
9674 (isearch-forward): Mention `isearch-char-by-name' in
9675 the docstring. (Bug#13348)
9676
6d65486d
JL
9677 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9678 `exit-minibuffer' instead of
9679 `isearch-nonincremental-exit-minibuffer'.
9680 (isearch-edit-string): Remove mention of
9681 `isearch-nonincremental-exit-minibuffer' from docstring.
9682 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9683 (isearch-forward-exit-minibuffer)
9684 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9685
c9990474
SM
96862013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9687
6e911150
SM
9688 * loadup.el: Just use unversioned DOC.
9689
c9990474
SM
9690 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9691 literals as extending to EOB.
9692 (nxml-last-fontify-end): Remove unused variable.
9693 (nxml-after-change1): Use with-silent-modifications.
9694 (nxml-extend-after-change-region): Simplify.
9695 (nxml-extend-after-change-region1): Remove function.
9696 (nxml-after-change1): Don't adjust for dependent regions.
9697 (nxml-fontify-matcher): Simplify.
9698 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9699 (xmltok-add-dependent): Remove function.
9700 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9701 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9702 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9703 unclosed <[[, <?, comment, and other literals as extending to EOB.
9704 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9705 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9706 Remove functions.
9707 (rng-do-some-validation-1): Don't mark dependent regions.
9708 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9709 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9710 (nxml-clear-dependent-regions): Remove functions.
9711 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9712 (nxml-ensure-scan-up-to-date):
9713 Don't clear&mark dependent regions.
9714
e3772e98
LL
97152013-05-15 Leo Liu <sdl.web@gmail.com>
9716
c9990474
SM
9717 * progmodes/octave.el (octave-goto-function-definition):
9718 Improve and fix callers.
e3772e98 9719
5ac2eb34
SM
97202013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9721
c46c57b0
SM
9722 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9723 the setter (bug#14387).
9724
5ac2eb34
SM
9725 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9726 surrounding group (bug#14402).
9727
180ed218
JL
97282013-05-14 Juri Linkov <juri@jurta.org>
9729
9730 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9731 (Bug#14390)
9732
0ac0fecb
GM
97332013-05-14 Glenn Morris <rgm@gnu.org>
9734
9735 * progmodes/f90.el (f90-imenu-generic-expression):
9736 Fix typo in 2013-05-08 change. (Bug#14402)
9737
2e78e6a7
JPG
97382013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9739
5ac2eb34
SM
9740 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9741 Remove signals for which replies are never received.
2e78e6a7 9742
53267cca
JPG
97432013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9744
9745 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9746 (gdb-handler-alist, gdb-handler-number): Remove variables.
9747 (gdb-handler-list): New variable.
9748 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9749 (gdb-pending-handler-p, gdb-handle-reply)
9750 (gdb-remove-all-pending-triggers): New functions.
9751 (gdb-discard-unordered-replies): New defcustom.
9752 (gdb-handler): New defstruct.
9753 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9754 instead of gdb-pending-triggers. Update docstring.
9755 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9756 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9757 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9758 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9759 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9760 (gdb-frame-handler): Pending triggers are now automatically managed.
9761 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9762 Remove argument.
9763 (gdb-input): Automatically handles pending triggers. Update docstring.
9764 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9765 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9766 Update comments.
9767 (gdb-done-or-error): Now use gdb-handle-reply.
9768
d04ce803
JPG
97692013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9770
9771 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9772 gdb-debug-log.
9773
0114073a
GM
97742013-05-14 Glenn Morris <rgm@gnu.org>
9775
9776 * subr.el (user-emacs-directory-warning): New option.
9777 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9778
4d25fd7e
LL
97792013-05-14 Leo Liu <sdl.web@gmail.com>
9780
9781 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9782 during redisplay.
9783 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9784 (octave-font-lock-texinfo-comment): Fix invalid search bound
9785 error: wrong side of point.
4d25fd7e 9786
27c8b6eb
GM
97872013-05-14 Glenn Morris <rgm@gnu.org>
9788
61aaeb01
GM
9789 * progmodes/flymake.el (flymake-xml-program): New option.
9790 (flymake-xml-init): Use it.
9791
5bf90bc5
GM
9792 * term/xterm.el: Provide a feature.
9793
9794 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9795
f4c7dfd2
GM
97962013-05-13 Glenn Morris <rgm@gnu.org>
9797
9798 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9799 Add compat aliases as a hack workaround. (Bug#14384)
9800
2aeb3a1d
LL
98012013-05-13 Leo Liu <sdl.web@gmail.com>
9802
b0e069c2
LL
9803 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9804 ###, and %!.
f5a9432f
LL
9805 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9806 C-M-q.
b0e069c2
LL
9807 (octave-comment-start-skip): Include %!.
9808 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9809
30ea8374
LL
98102013-05-12 Leo Liu <sdl.web@gmail.com>
9811
9812 * progmodes/octave.el (inferior-octave-startup): Store the value
9813 of __octave_srcdir__ for octave-source-directories.
9814 (inferior-octave-check-process): New function refactored out of
9815 inferior-octave-send-list-and-digest.
9816 (octave-source-directories)
9817 (octave-find-definition-filename-function): New variables.
9818 (octave-source-directories)
9819 (octave-find-definition-default-filename): New functions.
9820 (octave-find-definition): Improve to find functions implemented in C++.
9821
472a3834
GM
98222013-05-12 Glenn Morris <rgm@gnu.org>
9823
9824 * calendar/diary-lib.el (diary-outlook-format-1):
9825 Don't include dayname in the output. (Bug#14349)
9826
3191b52f
GM
98272013-05-11 Glenn Morris <rgm@gnu.org>
9828
0060ac73
GM
9829 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9830
3191b52f
GM
9831 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9832 Treat cc-provide like provide.
9833
e065ba74
KR
98342013-05-11 Kevin Ryde <user42@zip.com.au>
9835
9836 * cus-dep.el (custom-make-dependencies):
9837 Use generated-autoload-load-name for the sake of files such
9838 such cedet/semantic/bovine/c.el, where the base file name
9839 is not in load-path. (Bug#5277)
9840
36f84c37
GM
98412013-05-11 Glenn Morris <rgm@gnu.org>
9842
9843 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9844 Provide features.
9845
c8730c3a
LL
98462013-05-11 Leo Liu <sdl.web@gmail.com>
9847
9848 * progmodes/octave.el (octave-indent-comment): Improve.
9849 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9850 (octave-eldoc-function-signatures, octave-eldoc-function):
9851 New functions.
c8730c3a
LL
9852 (octave-mode, inferior-octave-mode): Add eldoc support.
9853
212e29f2
RS
98542013-05-11 Richard Stallman <rms@gnu.org>
9855
9856 * epa.el (epa-decrypt-file): Take output file name as argument
9857 and read it using `interactive'.
9858
083fe0d7
LL
98592013-05-11 Leo Liu <sdl.web@gmail.com>
9860
9861 * progmodes/octave.el (octave-beginning-of-line)
9862 (octave-end-of-line): Check before using up-list because it jumps
9863 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9864 (octave-indent-comment): New function.
9865 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9866 (octave-begin-keywords, octave-end-keywords)
9867 (octave-reserved-words, octave-smie-bnf-table)
9868 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9869
8582e4c4
GM
98702013-05-11 Glenn Morris <rgm@gnu.org>
9871
f20def1f
GM
9872 * faces.el (internal-face-x-get-resource):
9873 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9874 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9875 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9876 Fix declarations.
f20def1f 9877
445f95e2
GM
9878 * calc/calc-menu.el: Make it loadable in isolation.
9879
9880 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9881 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9882 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9883 (eudc-bbdb-query-internal): Require 'bbdb.
9884
99fb2756
GM
9885 * lpr.el (lpr-headers-switches):
9886 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9887
9888 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9889
0da7ad96
GM
9890 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9891
8582e4c4
GM
9892 * term.el (term-set-escape-char): Make it idempotent.
9893
f71c50d0
LL
98942013-05-10 Leo Liu <sdl.web@gmail.com>
9895
5ac2eb34
SM
9896 * progmodes/octave.el (inferior-octave-completion-table):
9897 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9898 completion due to bug#11906.
9899 (octave-beginning-of-defun): Re-write to be more general.
9900
d5837773
GM
99012013-05-10 Glenn Morris <rgm@gnu.org>
9902
9903 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9904
027c0f75
SM
99052013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9906
9907 * comint.el (comint-redirect-send-command-to-process): Use :around
9908 rather than :override for comint-redirect-filter.
9909 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9910 Call it instead of comint-redirect-original-filter-function (which
9911 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9912
4465bfb4
JD
99132013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9914
9915 * frame.el (display-monitor-attributes-list): Add NS case.
9916 (ns-display-monitor-attributes-list): Declare.
9917
2d809ffa 99182013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9919
9920 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9921
e54eeb9b
GM
99222013-05-09 Glenn Morris <rgm@gnu.org>
9923
56cd351d
GM
9924 * international/fontset.el (vertical-centering-font-regexp):
9925 Set standard-value.
9926
d84b6108
GM
9927 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9928
a931698a
GM
9929 * bookmark.el (bookmark-search-delay):
9930 * cus-start.el (vertical-centering-font-regexp):
9931 * ps-mule.el (ps-mule-font-info-database-default):
9932 * ps-print.el (ps-default-fg, ps-default-bg):
9933 * type-break.el (type-break-good-break-interval):
9934 * whitespace.el (whitespace-indentation-regexp)
9935 (whitespace-space-after-tab-regexp):
9936 * emacs-lisp/testcover.el (testcover-1value-functions)
9937 (testcover-noreturn-functions, testcover-progn-functions)
9938 (testcover-prog1-functions):
9939 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9940 * eshell/em-glob.el (eshell-glob-translate-alist):
9941 * play/tetris.el (tetris-tty-colors):
9942 * progmodes/cpp.el (cpp-face-default-list):
9943 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9944 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9945 (idlwave-help-browser-generic-args):
9946 * progmodes/make-mode.el (makefile-special-targets-list):
9947 * progmodes/python.el (python-shell-virtualenv-path):
9948 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9949 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9950 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9951 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9952 * textmodes/reftex-vars.el (reftex-format-label-function):
9953 * textmodes/remember.el (remember-diary-file): Fix custom types.
9954
e54eeb9b
GM
9955 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9956 Add :version.
9957
455851dd
LL
99582013-05-09 Leo Liu <sdl.web@gmail.com>
9959
9960 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9961 Restore file completion. (Bug#14300)
455851dd
LL
9962 (inferior-octave-startup): Fix incorrect highlighting for the
9963 first prompt.
9964
a9e4425b
SM
99652013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9966
9967 * progmodes/ruby-mode.el: First cut at SMIE support.
9968 (ruby-use-smie): New var.
9969 (ruby-smie-grammar): New constant.
9970 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9971 (ruby-smie--forward-token, ruby-smie--backward-token)
9972 (ruby-smie-rules): New functions.
9973 (ruby-mode-variables): Setup SMIE if applicable.
9974
060ca408
EZ
99752013-05-08 Eli Zaretskii <eliz@gnu.org>
9976
9977 * simple.el (line-move-visual): Signal beginning/end of buffer
9978 only if vertical-motion moved less than it was requested. Avoids
9979 silly incorrect error messages when there are display strings with
9980 multiple newlines at EOL.
9981
1d5963cc
SM
99822013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9985 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9986 (prolog-char-quote-workaround):
9987 * progmodes/cperl-mode.el (cperl-under-as-char):
9988 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9989 Mark as obsolete.
9990 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9991 their declaration.
9992 (vhdl-mode-syntax-table-init): Remove.
9993
c9990474
SM
9994 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9995 last change.
1d5963cc
SM
9996
9997 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9998 syntax for "_".
9999 (ld-script-font-lock-keywords):
10000 Change regexps to use things like \_< and \_>.
10001
10002 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10003 Change all regexps to use things like \_< and \_>.
10004
10005 * progmodes/autoconf.el (autoconf-definition-regexp)
10006 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10007 Handle a _ with symbol syntax.
10008 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10009
c9990474
SM
10010 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10011 Consolidate declaration.
1d5963cc
SM
10012 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10013 the declaration.
10014 (ada-create-syntax-table): Remove.
10015 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10016 already has the right syntax nowadays.
10017 (ada-goto-next-word): Don't change the syntax of "_".
10018
10019 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10020 with-wrapper-hook.
10021
72d3cfca
SS
100222013-05-08 Sam Steingold <sds@gnu.org>
10023
10024 * thingatpt.el (thing-at-point): Accept optional second argument
10025 NO-PROPERTIES to strip the text properties from the return value.
10026 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10027 to `thing-at-point' instead of stripping the properties ourselves.
10028 Also, when `thing-at-point' fails to find a url, prepend "http://"
10029 to the filename at point on the assumption that the user is
10030 pointing at something like gnu.org/gnu.
10031
5cb15713
JB
100322013-05-08 Juanma Barranquero <lekktu@gmail.com>
10033
10034 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10035 * faces.el (crm-separator):
10036 Silence byte-compiler.
10037
10038 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10039 (tool-bar-map): Remove unneeded defvars.
10040
ea78b95b
LL
100412013-05-08 Leo Liu <sdl.web@gmail.com>
10042
10043 Re-work a fix for bug#10994 based on Le Wang's patch.
10044 * ido.el (ido-remove-consecutive-dups): New helper.
10045 (ido-completing-read): Use it.
10046 (ido-chop): Revert fix for bug#10994.
10047
dc7466df
AS
100482013-05-08 Adam Spiers <emacs@adamspiers.org>
10049
10050 * cus-edit.el (custom-save-variables):
10051 Pretty-print long values. (Bug#14187)
10052
9ecf672a
GM
100532013-05-08 Glenn Morris <rgm@gnu.org>
10054
10055 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10056 (m4-mode-syntax-table): Init in the defvar.
10057 (m4-mode-abbrev-table): Let define-derived-mode define it.
10058
3f555be8
TT
100592013-05-08 Tom Tromey <tromey@redhat.com>
10060
10061 * progmodes/m4-mode.el (m4-mode-syntax-table):
10062 Do not treat "_" as word constituent. (Bug#14167)
10063
7cc8ae06
GM
100642013-05-07 Glenn Morris <rgm@gnu.org>
10065
4f58bc06
GM
10066 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10067 Remove explicit eshell-isearch-cancel-map.
10068
7cc8ae06
GM
10069 * progmodes/f90.el (f90-smart-end-names): New option.
10070 (f90-smart-end): Doc fix.
10071 (f90-end-block-optional-name): New constant.
10072 (f90-block-match): Respect f90-smart-end-names.
10073
ceb57e59
SM
100742013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10075
10076 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10077 about implicit semi-colons (bug#14218).
10078
4e3f9230
YM
100792013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10080
10081 * frame.el (display-monitor-attributes-list)
10082 (frame-monitor-attributes): New functions.
10083
203a5572
LL
100842013-05-06 Leo Liu <sdl.web@gmail.com>
10085
10086 * progmodes/octave.el (octave-syntax-propertize-function): Change
10087 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10088 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10089 (octave-completion-at-point): Rename from
203a5572
LL
10090 octave-completion-at-point-function.
10091 (inferior-octave-directory-tracker): Robustify.
10092 (octave-text-functions): Remove and fix its uses. No such things
10093 any more.
10094
ee6cff99
SM
100952013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10096
10097 * emacs-lisp/trace.el (trace--display-buffer): New function.
10098 (trace-make-advice): Use it.
10099
32985194
JL
101002013-05-06 Juri Linkov <juri@jurta.org>
10101
10102 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10103 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10104 Doc fix.
10105 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10106 in the help string. (Bug#12985)
10107
a1c700de
KD
101082013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10109
10110 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10111
c67c0839
SM
101122013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10113
323885fd
SM
10114 * progmodes/perl-mode.el: Add support for here documents.
10115 (perl-syntax-propertize-function): Match here-doc markers.
10116 (perl-syntax-propertize-special-constructs): Find their end.
10117 (perl-imenu-generic-expression): Use [:alnum:].
10118
c67c0839
SM
10119 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10120 (advice--add-function): Refresh the advice if already present
10121 (bug#14317).
10122
d491e7a8
IA
101232013-05-06 Ivan Andrus <darthandrus@gmail.com>
10124
10125 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10126
ddf9925e
GM
101272013-05-06 Glenn Morris <rgm@gnu.org>
10128
7cc3af27
GM
10129 * w32-fns.el (w32-charset-info-alist): Declare.
10130
16e343d6
GM
10131 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10132 of its defcustom properties.
10133 (eshell-cmpl-initialize): No need to load pcomplete.
10134
7d889a47
GM
10135 * generic-x.el: No need to require comint when compiling.
10136
ddf9925e
GM
10137 * net/eudc-export.el: Make it loadable without bbdb.
10138 (top-level): Use require rather than load-library.
10139 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10140 (eudc-batch-export-records-to-bbdb)
10141 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10142 Require bbdb.
10143
1e2c18df
SM
101442013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10147 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10148 some tweaks, instead.
10149
02502a5f
LL
101502013-05-05 Leo Liu <sdl.web@gmail.com>
10151
10152 * progmodes/octave.el (octave-font-lock-keywords)
10153 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10154 (inferior-octave-send-list-and-digest): Improve error message.
10155 (octave-mode, inferior-octave-mode): Use setq-local.
10156 (octave-help): Set info-lookup-mode.
10157
0dc04f42
RS
101582013-05-05 Richard Stallman <rms@gnu.org>
10159
6c54491c
RS
10160 * vc/compare-w.el (compare-windows-whitespace):
10161 Treat no-break space as whitespace.
10162
0dc04f42
RS
10163 * mail/rmailsum.el (rmail-summary-rmail-update):
10164 Detect empty summary and don't change selected message.
10165 (rmail-summary-goto-msg): Likewise.
10166
df8f35df
RS
10167 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10168 Doc fixes, rename args.
10169
5356e1a3
AM
101702013-05-05 Alan Mackenzie <acm@muc.de>
10171
10172 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10173
d44014cb
JL
101742013-05-05 Juri Linkov <juri@jurta.org>
10175
10176 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10177 to not add the length of the summary segment to the return value.
10178 (Bug#14125)
10179
c129b51f
LL
101802013-05-05 Leo Liu <sdl.web@gmail.com>
10181
10182 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10183 (inferior-octave-output-filter): Remove.
10184 (octave-send-region, inferior-octave-startup): Fix callers.
10185 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10186 (octave-binary-file-extensions): New user variable.
10187 (octave-find-definition): Confirm if opening binary files.
10188 (octave-help-file): Use octave-find-definition to get the binary
10189 confirmation.
10190 (octave-help): Adjust for octave-help-file change.
10191
aa7dab97
SM
101922013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10193
10194 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10195 Merge the two entries that handle function definitions.
10196 (pascal--syntax-propertize): New const.
10197 (pascal-mode): Use it. Use setq-local.
10198
fd3a9a6b
GM
101992013-05-04 Glenn Morris <rgm@gnu.org>
10200
10201 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10202 (diary-from-outlook): Respect diary-from-outlook-function.
10203
30c7e542
SM
102042013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10205
10206 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10207 Move the declaration from C.
10208 (read-minibuffer, eval-minibuffer): Move from C.
10209 (completion-setup-function): Avoid minibuffer-completion-contents.
10210
b54f978b
LL
102112013-05-03 Leo Liu <sdl.web@gmail.com>
10212
10213 * progmodes/octave.el (octave-font-lock-keywords): Do not
10214 dehighlight 'end' in comments or strings.
30c7e542
SM
10215 (octave-completing-read, octave-goto-function-definition):
10216 New helpers.
d4d0f9b3
LL
10217 (octave-help-buffer): New user variable.
10218 (octave-help-file, octave-help-function): New button types.
10219 (octave-help): New command and bind it to C-h ;.
10220 (octave-find-definition): New command and bind it to M-.
d74a1581 10221 (user-error): Alias to error if not defined.
b54f978b 10222
27135018
LL
102232013-05-02 Leo Liu <sdl.web@gmail.com>
10224
10225 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10226 for \. (bug#14332)
10227 (octave-font-lock-keywords): Include [ and {.
10228
0d634d3a
LL
102292013-05-02 Leo Liu <sdl.web@gmail.com>
10230
10231 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10232 (inferior-octave): Remove calling comint-mode and return the buffer.
10233 (inferior-octave-startup): Cosmetic changes.
10234
b4c8295e
LL
102352013-05-02 Leo Liu <sdl.web@gmail.com>
10236
30c7e542
SM
10237 * progmodes/octave.el (octave-syntax-propertize-function):
10238 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10239
f12ad6ec
GM
102402013-05-02 Glenn Morris <rgm@gnu.org>
10241
10242 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10243 * desktop.el (vc-dir-mode): Just autoload it here.
10244
30cac1e0
AM
102452013-05-02 Alan Mackenzie <acm@muc.de>
10246
10247 Eliminate variable c-standard-font-lock-fontify-region-function.
10248 * progmodes/cc-mode.el
10249 (c-standard-font-lock-fontify-region-function): Remove.
10250 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10251
d8ef28b1
LL
102522013-05-01 Leo Liu <sdl.web@gmail.com>
10253
2640d52e 10254 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10255 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10256 variables were removed from Octave in 2007.
d8ef28b1
LL
10257 (inferior-octave-startup): Fix uses.
10258 (comint-line-beginning-position): Remove compatibility code for
10259 emacs 21.
10260
ac63ec89
JL
102612013-05-01 Juri Linkov <juri@jurta.org>
10262
10263 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10264
9e9be37c
JL
102652013-05-01 Juri Linkov <juri@jurta.org>
10266
10267 * comint.el (comint-previous-matching-input): Don't print message
10268 "History item: %d" when `isearch-mode' is active.
10269 (comint-history-isearch-message): Print message "History item: %d"
10270 when `comint-input-ring-index' is not empty and this function is
10271 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10272
9b92c13b
LL
102732013-05-01 Leo Liu <sdl.web@gmail.com>
10274
10275 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10276 definitions. Use completion-at-point to insert keywords.
10277 (octave-abbrev-start): Remove.
10278 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10279
b12d33d7
LL
102802013-04-30 Leo Liu <sdl.web@gmail.com>
10281
10282 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10283 change.
10284
3d1c39fa
AM
102852013-04-30 Alan Mackenzie <acm@muc.de>
10286
10287 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10288 * progmodes/cc-engine.el (c-back-over-member-initializers):
10289 new function.
3d1c39fa
AM
10290 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10291 (most) member init lists.
10292
5147fc17
RS
102932013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10294
10295 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10296 variable.
10297
5b78d7fc
LL
102982013-04-30 Leo Liu <sdl.web@gmail.com>
10299
10300 * progmodes/octave.el (octave-variables): Remove. No builtin
10301 variables any more. All converted to functions.
10302 (octave-font-lock-keywords, octave-completion-at-point-function):
10303 Fix uses.
10304 (octave-font-lock-texinfo-comment): New user variable.
10305 (octave-texinfo-font-lock-keywords): New variable for texinfo
10306 comment block.
10307 (octave-function-comment-block): New face.
10308 (octave-font-lock-texinfo-comment): New function.
10309 (octave-mode): Font lock texinfo comment block.
10310
38d8527b
LL
103112013-04-29 Leo Liu <sdl.web@gmail.com>
10312
10313 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10314 indexing expression.
10315 (octave-continuation-string): Do not use \.
10316 (inferior-octave-complete-impossible): Remove.
10317 (inferior-octave-completion-table)
10318 (inferior-octave-completion-at-point): Remove its uses.
10319 (inferior-octave-startup): completion_matches was introduced to
10320 Octave in 1996 so safe to assume it.
10321 (octave-function-file-comment): Improve to follow how Octave does it.
10322 (octave-update-function-file-comment): Tweak.
10323
2ec12cb0
LL
103242013-04-29 Leo Liu <sdl.web@gmail.com>
10325
10326 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10327 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10328 (octave-function-file-comment): Fix typo.
10329 (octave-sync-function-file-names): Use read-char-choice.
10330
6eaed048
JB
103312013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10332
10333 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10334 to t for the less important warnings.
10335
3ffa2d4f
DH
103362013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10337
10338 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10339
685c9501
GM
103402013-04-27 Glenn Morris <rgm@gnu.org>
10341
10342 * vc/log-view.el (log-view-current-entry):
10343 Treat "---" separator lines as part of the following rev. (Bug#14169)
10344
0208ede7
JL
103452013-04-27 Juri Linkov <juri@jurta.org>
10346
10347 * subr.el (read-number): Doc fix about using it by interactive
10348 code letter `n'. (Bug#14254)
10349
5db9dace
JL
103502013-04-27 Juri Linkov <juri@jurta.org>
10351
10352 * desktop.el (desktop-auto-save-timeout): New option.
10353 (desktop-file-checksum): New variable.
10354 (desktop-save): Add optional arg `auto-save' and don't auto-save
10355 if nothing changed.
10356 (desktop-auto-save-timer): New variable.
10357 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10358 (after-init-hook): Call `desktop-auto-save-set-timer'.
10359 Suggested by Reuben Thomas <rrt@sc3d.org> in
10360 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10361
b7260dd4
LL
103622013-04-27 Leo Liu <sdl.web@gmail.com>
10363
10364 * progmodes/octave.el (octave-function-file-p)
10365 (octave-skip-comment-forward, octave-function-file-comment)
10366 (octave-update-function-file-comment): New functions.
10367 (octave-mode-map): Bind C-c ; to
10368 octave-update-function-file-comment.
10369 (octave-mode-menu): Add octave-update-function-file-comment.
10370 (octave-mode, inferior-octave-mode): Fix doc-string.
10371 (octave-insert-defun): Conform to Octave's coding convention.
10372 (Bug#14285)
10373
10374 * files.el (basic-save-buffer): Don't let errors in
10375 before-save-hook prevent saving buffer.
10376
c46da669
RW
103772013-04-20 Roland Winkler <winkler@gnu.org>
10378
10379 * faces.el (read-face-name): Use completing-read if arg multiple
10380 is nil.
10381
a81ee1eb
IL
103822013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10383
10384 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10385 displayed, move point to after the totals line.
10386 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10387 for the details.
10388
4fac34ce
SM
103892013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10390
10391 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10392 Add current dir to the load-path.
10393 (package-generate-autoloads): Don't rely on
10394 autoload-ensure-default-file.
10395
f6bfc063
RT
103962013-04-26 Reuben Thomas <rrt@sc3d.org>
10397
d40ab5cf
BG
10398 * textmodes/remember.el (remember-store-in-files): Document that
10399 the file name format is passed to `format-time-string'.
f6bfc063 10400
e55d3b04
LL
104012013-04-26 Leo Liu <sdl.web@gmail.com>
10402
10403 * progmodes/octave.el (octave-sync-function-file-names): New function.
10404 (octave-mode): Use it in before-save-hook.
10405
e53052d3
SM
104062013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10407
140ef50c
SM
10408 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10409 (bug#14274).
10410
e53052d3
SM
10411 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10412 \n and comment, even if it's not an implicit ; (bug#14218).
10413
af80458d 104142013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10415
10416 * subr.el (read-number): Once more use `read' rather than
10417 `string-to-number', to trap non-numeric input. (Bug#14254)
10418
af80458d 104192013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10420
10421 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10422 Use `syntax-multiline' text property consistently instead of
8a621d53 10423 `font-lock-multiline'. (Bug#14237)
70203c2e 10424
e6ea1f6c
GM
104252013-04-26 Glenn Morris <rgm@gnu.org>
10426
10427 * emacs-lisp/shadow.el (list-load-path-shadows):
10428 No longer necessary to check for duplicate simple.el, since
10429 2012-07-07 change to init_lread to not include installation lisp
10430 directories in load-path when running uninstalled. (Bug#14270)
10431
070ccca4
LL
104322013-04-26 Leo Liu <sdl.web@gmail.com>
10433
10434 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10435 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10436 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10437 octave-in-string-or-comment-p.
10438 (octave-in-comment-p, octave-in-string-p)
10439 (octave-in-string-or-comment-p): Replace defsubst with defun.
10440
9d1c5fb6
PE
104412013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10442
10443 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10444
c034abda
BG
104452013-04-25 Bastien Guerry <bzg@gnu.org>
10446
10447 * textmodes/remember.el (remember-data-directory)
10448 (remember-directory-file-name-format): Fix custom types.
10449
584ea277
LL
104502013-04-25 Leo Liu <sdl.web@gmail.com>
10451
e53052d3
SM
10452 * progmodes/octave.el (octave-completion-at-point-function):
10453 Make use of inferior octave process.
584ea277
LL
10454 (octave-initialize-completions): Remove.
10455 (inferior-octave-completion-table): New function.
10456 (inferior-octave-completion-at-point): Use it.
10457 (octave-completion-alist): Remove.
10458
1693b06a
SM
104592013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10460
10461 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10462 (opascal-mode-syntax-table): New var.
10463 (opascal-literal-kind, opascal-is-literal-end)
10464 (opascal-literal-token-at): Rewrite.
10465 (opascal--literal-start-re, opascal-font-lock-keywords)
10466 (opascal--syntax-propertize): New constants.
10467 (opascal-font-lock-defaults): Adjust.
10468 (opascal-mode): Use them. Set comment-<foo> variables as well.
10469 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10470 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10471 (delphi-other-face, opascal-other-face): Remove face variables.
10472 (opascal-save-state): Remove macro.
10473 (opascal-fontifying-progress-step): Remove constant.
10474 (opascal--ignore-changes): Remove var.
10475 (opascal-set-token-property, opascal-parse-next-literal)
10476 (opascal-is-stable-literal, opascal-complete-literal)
10477 (opascal-is-literal-start, opascal-face-of)
10478 (opascal-parse-region, opascal-parse-region-until-stable)
10479 (opascal-fontify-region, opascal-after-change)
10480 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10481 (opascal-debug-parse-region, opascal-debug-parse-window)
10482 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10483 (opascal-debug-fontify-buffer): Remove.
10484 (opascal-debug-mode-map): Adjust accordingly.
10485
be64c05d
LL
104862013-04-25 Leo Liu <sdl.web@gmail.com>
10487
10488 Merge octave-mod.el and octave-inf.el into octave.el with some
10489 cleanups.
10490 * progmodes/octave.el: New file renamed from octave-mod.el.
10491 * progmodes/octave-inf.el: Merged into octave.el.
10492 * progmodes/octave-mod.el: Renamed to octave.el.
10493
d79d37bd
TH
104942013-04-25 Tassilo Horn <tsdh@gnu.org>
10495
10496 * textmodes/reftex-vars.el
10497 (reftex-label-ignored-macros-and-environments): New defcustom.
10498
10499 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10500
ced3fc5d
SM
105012013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10504 (smie-indent-keyword): Improve the check to ensure that the next
10505 comment is really on the same line.
10506 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10507
10508 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10509 semi-colons if the line is not otherwise empty (bug#14218).
10510
1c141dad
GM
105112013-04-25 Glenn Morris <rgm@gnu.org>
10512
10513 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10514
5058062a
SM
105152013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10516
10517 * progmodes/opascal.el (opascal-set-token-property): Rename from
10518 opascal-set-text-properties and only set `token' (bug#14134).
10519 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10520 (opascal-literal-text-properties): Remove.
10521 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10522 Adjust callers.
10523
5db9dace 105242013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10525
10526 * textmodes/remember.el (remember-handler-functions): Add an
10527 option for a new handler `remember-store-in-files'.
10528 (remember-data-directory, remember-directory-file-name-format):
10529 New options.
10530 (remember-store-in-files): New function to store remember notes
10531 as separate files within a directory.
10532
4391916c
MH
105332013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10534
10535 * progmodes/compile.el (compilation-next-error-function):
10536 Pass "formats" to compilation-find-file (bug#11777).
10537
bb7cdf58
GM
105382013-04-24 Glenn Morris <rgm@gnu.org>
10539
3b8fe752 10540 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10541 * vc/vc-hg.el (vc-hg-print-log):
10542 * vc/vc-svn.el (vc-svn-print-log):
10543 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10544
bb7cdf58
GM
10545 * vc/vc-bzr.el (vc-bzr-print-log):
10546 * vc/vc-cvs.el (vc-cvs-print-log):
10547 * vc/vc-git.el (vc-git-print-log):
10548 * vc/vc-hg.el (vc-hg-print-log):
10549 * vc/vc-mtn.el (vc-mtn-print-log):
10550 * vc/vc-rcs.el (vc-rcs-print-log):
10551 * vc/vc-sccs.el (vc-sccs-print-log):
10552 * vc/vc-svn.el (vc-svn-print-log):
10553 * vc/vc.el (vc-print-log-internal): Doc fixes.
10554
b46a056e
GM
105552013-04-23 Glenn Morris <rgm@gnu.org>
10556
10557 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10558 Remove venerable code attempting to avoid substitute-command-keys.
10559
0aecf718
TH
105602013-04-23 Tassilo Horn <tsdh@gnu.org>
10561
4391916c
MH
10562 * textmodes/reftex-vars.el (reftex-label-regexps):
10563 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10564
117f94cf
SM
105652013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10566
4391916c 10567 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10568 Use lexical-binding.
10569 (jit-lock-force-redisplay): Use markers, check buffer's continued
10570 existence and beware narrowed buffers.
10571 (jit-lock-fontify-now): Adjust call accordingly.
10572
1d829c64
SM
105732013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10574
10575 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10576 to avoid misleading the user.
10577
72d548a9
LL
105782013-04-22 Leo Liu <sdl.web@gmail.com>
10579
10580 * info-look.el: Prefer latex2e.info. (Bug#14240)
10581
d0853629
MA
105822013-04-22 Michael Albinus <michael.albinus@gmx.de>
10583
10584 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10585
10586 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10587 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10588 (tramp-set-completion-function, tramp-parse-putty):
10589 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10590 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10591 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10592 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10593 (tramp-call-local-coding-command): Use `tramp-call-process'
10594 instead of `tramp-compat-call-process'.
10595
10596 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10597 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10598 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10599 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10600 (tramp-maybe-send-script): Check for Perl binary.
10601 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10602
38cc0210
DU
106032013-04-22 Daiki Ueno <ueno@gnu.org>
10604
10605 * epg.el (epg-context-pinentry-mode): New function.
10606 (epg-context-set-pinentry-mode): New function.
10607 (epg--start): Pass --pinentry-mode option to gpg command.
10608
cc641ee1
XF
106092013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10610
02d844b5 10611 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10612 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10613 `completion-at-point'. (Bug#13774)
5d4e5c31 10614
cc641ee1
XF
10615 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10616 default key binding for `describe-distribution' has been moved to
10617 `C-h C-o'. (Bug#13970)
10618
1b42ee43
GM
106192013-04-21 Glenn Morris <rgm@gnu.org>
10620
10621 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10622 Add doc strings.
10623 (vc-print-log): Clarify interactive prompt.
10624
a6d63d97
GM
106252013-04-20 Glenn Morris <rgm@gnu.org>
10626
10627 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10628 No longer include timestamp etc information.
10629
d7f5c16f
RW
106302013-04-20 Roland Winkler <winkler@gnu.org>
10631
10632 * faces.el (read-face-name): Bug fix, return just one face if arg
10633 multiple is nil. (Bug#14209)
10634
bcd7a0a4
SM
106352013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10636
10637 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10638 (remove-function): Autoload.
10639
10640 * comint.el (comint-redirect-original-filter-function): Remove.
10641 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10642 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10643 (vc-cvs-annotate-command):
bcd7a0a4
SM
10644 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10645 * progmodes/prolog.el (prolog-consult-compile):
10646 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10647 Use add/remove-function instead.
10648 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10649 (gud-tooltip-process-output, gud-tooltip-tips):
10650 Use add/remove-function instead.
10651 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10652 (scheme-interaction-mode, exit-scheme-interaction-mode):
10653 Use add/remove-function instead.
10654
10655 * vc/vc-dispatcher.el: Use lexical-binding.
10656 (vc--process-sentinel): Rename from vc-process-sentinel.
10657 Change last arg to be the code to run. Don't use vc-previous-sentinel
10658 and vc-sentinel-commands any more.
10659 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10660 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10661
e36b2d20 106622013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10663
bcd7a0a4 10664 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10665 Handle function names with a single character. (Bug#14111)
4d3268ba 10666
781b4af6 106672013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10668
10669 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10670 for subroutines defined in an eval (bug#14182).
10671
7d688336
TV
106722013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10673
10674 * bookmark.el (bookmark-completing-read): Improve handling of empty
10675 string (bug#14176).
10676
31dcede0
SM
106772013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10678
10679 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10680
adc31213
FEG
106812013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10682
10683 New faster Imenu implementation (bug#14058).
10684 * progmodes/python.el:
10685 (python-imenu-prev-index-position):
10686 (python-imenu-format-item-label-function)
10687 (python-imenu-format-parent-item-label-function)
10688 (python-imenu-format-parent-item-jump-label-function):
10689 New vars.
10690 (python-imenu-format-item-label)
10691 (python-imenu-format-parent-item-label)
10692 (python-imenu-format-parent-item-jump-label)
10693 (python-imenu--put-parent, python-imenu--build-tree)
10694 (python-imenu-create-index, python-imenu-create-flat-index)
10695 (python-util-popn): New functions.
10696 (python-mode): Set imenu-create-index-function to
10697 python-imenu-create-index.
10698
cdca8255
SM
106992013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10700
10701 * winner.el (winner-active-region): Use region-active-p, activate-mark
10702 and deactivate-mark (bug#14225).
10703
10704 * simple.el (deactivate-mark): Don't inline it.
10705
beb42340
MA
107062013-04-18 Michael Albinus <michael.albinus@gmx.de>
10707
10708 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10709
fc7f4d7e
TH
107102013-04-18 Tassilo Horn <tsdh@gnu.org>
10711
10712 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10713 file extensions from the archive-mode entry in order to prefer
10714 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10715
29f47822
LL
107162013-04-18 Leo Liu <sdl.web@gmail.com>
10717
10718 * bindings.el (help-event-list): Add ?\?.
10719
d36ed1c8
SM
107202013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10721
10722 * subr.el (with-wrapper-hook): Declare obsolete.
10723 * simple.el (filter-buffer-substring-function): New hook.
10724 (filter-buffer-substring): Use it.
10725 (filter-buffer-substring-functions): Mark obsolete.
10726 * minibuffer.el (completion-in-region-function): New hook.
10727 (completion-in-region): Use it.
10728 (completion-in-region-functions): Mark obsolete.
10729 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10730 * abbrev.el (abbrev-expand-function): New hook.
10731 (expand-abbrev): Use it.
10732 (abbrev-expand-functions): Mark obsolete.
10733 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10734 and :filter-return.
10735
04754d36
FEG
107362013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10737
10738 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10739 and do not care about match data.
10740
dd8791e9
SM
107412013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10742
10743 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10744 completion tables when completing error conditions and
10745 `declare' arguments.
10746 (lisp-complete-symbol, field-complete): Mark as obsolete.
10747 (check-parens): Unmatched parens are user errors.
10748 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10749
ffe54a13
AM
107502013-04-17 Michal Nazarewicz <mina86@mina86.com>
10751
dd8791e9
SM
10752 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10753 command changed buffer (ie. `flyspell-pre-buffer' is not current
10754 buffer), which prevents making decisions based on invalid value of
10755 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10756 cause an error when `flyspell-pre-point' was nil after switching
10757 buffers.
10758 (flyspell-post-command-hook): No longer needs to change buffers when
10759 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10760
ec7e39f2
AM
107612013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10762
10763 * textmodes/ispell.el (ispell-add-per-file-word-list):
10764 Fix `flyspell-correct-word-before-point' error when accepting
10765 words and `coment-padding' is an integer by using
10766 `comment-normalize-vars' (Bug #14214).
10767
083850a6
FEG
107682013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10769
10770 New defun movement commands.
10771 * progmodes/python.el (python-nav--syntactically)
10772 (python-nav--forward-defun, python-nav-backward-defun)
10773 (python-nav-forward-defun): New functions.
10774
619ed6e1
FEG
107752013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10776
10777 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10778 (python-syntax-context): Use named compiler-macro for backwards
10779 compatibility with Emacs 24.x.
10780
7a1beb6c
LL
107812013-04-17 Leo Liu <sdl.web@gmail.com>
10782
10783 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10784 octave-hide-process-buffer.
10785
2d3fa3e5
SM
107862013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10787
10788 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10789 (bug#14216).
10790
7ce5be54
JPG
107912013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10792
10793 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10794 Fix adjustment of offset when receiving incomplete responses from GDB
10795 (bug#14129).
10796
351edece
SM
107972013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10798
10799 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10800 python-mode-abbrev-table.
10801 (python-skeleton-define): Adjust accordingly.
10802 (python-mode-abbrev-table): New table that inherits from it so that
10803 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10804
10805 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10806 (abbrev-symbol): Use it.
10807 (abbrev--before-point): Use it since we already handle inheritance.
10808
613f9481
LL
108092013-04-16 Leo Liu <sdl.web@gmail.com>
10810
10811 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10812 binding to info-lookup-symbol.
10813
51646b62
JB
108142013-04-16 Juanma Barranquero <lekktu@gmail.com>
10815
10816 * minibuffer.el (completion--twq-all):
10817 * term/ns-win.el (ns-initialize-window-system):
10818 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10819
efb3f01d
SM
108202013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10821
36c0a301
SM
10822 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10823 global bindings.
10824
efb3f01d
SM
10825 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10826
fb549d64
DG
108272013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10828
10829 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10830 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10831 to nil.
10832 (ruby-end-of-defun): Remove the unused arg, change the docstring
10833 to reflect that this function is only used as the value of
10834 `end-of-defun-function'.
10835 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10836 to reflect an earlier change that beginning/end-of-defun functions
10837 jump between methods in a class definition, as well as top-level
10838 functions.
10839
21e8fe2f
SM
108402013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10841
10842 * minibuffer.el (minibuffer-complete): Don't just scroll
10843 a *Completions* that's been iconified.
10844 (minibuffer-force-complete): Make sure repetitions do cycle when going
10845 through completion-in-region -> minibuffer-complete.
10846
20e527d0
AM
108472013-04-15 Alan Mackenzie <acm@muc.de>
10848
10849 Correct the placement of c-cpp-delimiters when there're #s not at
10850 col 0.
10851
10852 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10853 place a submatch around the #.
21e8fe2f
SM
10854 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10855 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10856 on the #, not BOL.
10857
dabefae5
SM
108582013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10859
10860 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10861 (advice--member-p): New arg `name'.
10862 (advice--add-function, advice-member-p): Use it (bug#14202).
10863
85c9ab64
AM
108642013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10865
10866 Reformulate java imenu-generic-expression.
10867 The old expression contained ill formed regexps.
10868
10869 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10870 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10871 (cc-imenu-java-method-arg-regexp): New defconsts.
10872 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10873 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10874 handling of spaces in the regexp.
10875
0f821d99
AM
108762013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10877
10878 * textmodes/ispell.el (ispell-command-loop): Remove
10879 flyspell highlight of a word when ispell accepts it (bug #14178).
10880
eb922adf
MA
108812013-04-15 Michael Albinus <michael.albinus@gmx.de>
10882
10883 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10884 uses code from the previous `ange-ftp-run-real-handler'.
10885 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10886 only in case that function exist. This is needed for proper
10887 unloading of Tramp.
10888
4d9a0979
TH
108892013-04-15 Tassilo Horn <tsdh@gnu.org>
10890
10891 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10892
10893 * textmodes/reftex.el (reftex-compile-variables): Use it.
10894
a829b0dc
SM
108952013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10896
91e8293c
SM
10897 * files.el (normal-mode): Only use default major-mode if no other mode
10898 was specified.
10899
830aed4d
SM
10900 * emacs-lisp/trace.el (trace-values): New function.
10901
a829b0dc
SM
10902 * files.el: Allow : in local variables (bug#14089).
10903 (hack-local-variable-regexp): New var.
10904 (hack-local-variables-prop-line, hack-local-variables): Use it.
10905
7ae9f0fb
RW
109062013-04-13 Roland Winkler <winkler@gnu.org>
10907
10908 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10909 data before it gets modified by bibtex-beginning-of-entry.
10910
6646e848
RW
109112013-04-13 Roland Winkler <winkler@gnu.org>
10912
10913 * textmodes/bibtex.el (bibtex-url): Doc fix.
10914
109152013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10916
10917 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10918 does not visit a BibTeX file, exclude it from the list of buffers
10919 returned by bibtex-initialize.
10920
0aa3616e
SB
109212013-04-13 Stephen Berman <stephen.berman@gmx.net>
10922
10923 * window.el (split-window): Remove interactive form, since as a
10924 command this function is a special case of split-window-below.
10925 Correct doc string.
10926
011cddd6
RW
109272013-04-12 Roland Winkler <winkler@gnu.org>
10928
10929 * faces.el (read-face-name): Do not override value of arg default.
10930 Allow single faces and strings as default values. Remove those
10931 elements from return value that are not faces.
10932 (describe-face): Simplify.
10933 (face-at-point): New optional args thing and multiple so that this
10934 function can provide the same functionality previously provided by
10935 read-face-name.
10936 (make-face-bold, make-face-unbold, make-face-italic)
10937 (make-face-unitalic, make-face-bold-italic, invert-face)
10938 (modify-face, read-face-and-attribute): Use face-at-point.
10939
10940 * cus-edit.el (customize-face, customize-face-other-window)
10941 * cus-theme.el (custom-theme-add-face)
10942 * face-remap.el (buffer-face-set)
10943 * facemenu.el (facemenu-set-face): Use face-at-point.
10944
f24e0036
MA
109452013-04-12 Michael Albinus <michael.albinus@gmx.de>
10946
10947 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10948
da3cda2d
TH
109492013-04-10 Tassilo Horn <tsdh@gnu.org>
10950
10951 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10952 off leading { and trailing } from field values.
10953
15e54145
SM
109542013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10955
78ce603d
SM
10956 * emacs-lisp/timer.el (timer--check): New function.
10957 (timer--time, timer-set-function, timer-event-handler): Use it.
10958 (timer-set-idle-time): Simplify.
10959 (timer--activate): CSE.
10960 (timer-event-handler): Give more info in error message.
10961 (internal-timer-start-idle): New function, moved from C.
10962
15e54145
SM
10963 * mpc.el (mpc-proc): Add `restart' argument.
10964 (mpc-proc-cmd): Use it.
10965 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10966 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10967 less often.
10968
7144c627
MY
109692013-04-10 Masatake YAMATO <yamato@redhat.com>
10970
10971 * progmodes/sh-script.el: Implement `sh-mode' own
10972 `add-log-current-defun-function' (bug#14112).
10973 (sh-current-defun-name): New function.
10974 (sh-mode): Use the function.
10975
b39792eb
BG
109762013-04-09 Bastien Guerry <bzg@gnu.org>
10977
10978 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10979
8acdeb71
SM
109802013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10981
6fcdab68
SM
10982 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10983
8acdeb71
SM
10984 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10985 timer (bug#14156).
10986
e3e7b504
NF
109872013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10988
10989 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10990 declaration.
10991
201bb296
LL
109922013-04-07 Leo Liu <sdl.web@gmail.com>
10993
10994 * pcmpl-x.el: New file.
10995
ebb19708
DA
109962013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10997
10998 Do not set x-display-name until X connection is established.
10999 This is needed to prevent from weird situation described at
11000 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11001 * frame.el (make-frame): Set x-display-name after call to
11002 window system initialization function, not before.
11003 * term/x-win.el (x-initialize-window-system): Add optional
11004 display argument and use it.
11005 * term/w32-win.el (w32-initialize-window-system):
11006 * term/ns-win.el (ns-initialize-window-system):
11007 * term/pc-win.el (msdos-initialize-window-system):
11008 Add compatible optional display argument.
11009
33bb237a
EZ
110102013-04-06 Eli Zaretskii <eliz@gnu.org>
11011
11012 * files.el (normal-backup-enable-predicate): On MS-Windows and
11013 MS-DOS compare truenames of temporary-file-directory and of the
11014 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11015 don't fail comparison by compare-strings. Also, compare file
11016 names case-insensitively on MS-Windows and MS-DOS.
11017
134abf1f
SM
110182013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11019
11020 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11021 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11022
d695cb94
DG
110232013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11024
e3e7b504
NF
11025 * whitespace.el (whitespace-color-on, whitespace-color-off):
11026 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11027
f4ad7ea1 110282013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11029
11030 * ispell.el (ispell-set-spellchecker-params):
11031 Really set `ispell-args' for all equivs.
11032
632556e4
SM
110332013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11034
11035 * ido.el (ido-completions): Use extra elements of ido-decorations
11036 (bug#14143).
11037 (ido-decorations): Update docstring.
11038
2a417372
MA
110392013-04-05 Michael Albinus <michael.albinus@gmx.de>
11040
11041 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11042 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11043 nil during initialization, in order not to miss changes since the
11044 file was opened. (Bug#14140)
11045
fc164b0c
LL
110462013-04-05 Leo Liu <sdl.web@gmail.com>
11047
11048 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11049
0ccecc08
JB
110502013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11051
11052 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11053
51af1aa2
GM
110542013-04-04 Glenn Morris <rgm@gnu.org>
11055
11056 * electric.el (electric-pair-inhibit-predicate): Add :version.
11057
b208ebc6
SM
110582013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11059
11060 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11061 when a package is required several times (bug#14082).
11062
f3d3eaf0
RW
110632013-04-04 Roland Winkler <winkler@gnu.org>
11064
11065 * faces.el (read-face-name): Behave as promised by the docstring.
11066 Assume that arg default is a list of faces.
11067 (describe-face): Call read-face-name with list of default faces.
11068
2575da50
TV
110692013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11070
11071 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11072 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11073 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11074 the header.
11075 (bookmark-exit-hook-internal): Save even if list is empty.
11076
397703b4
YH
110772013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11078
11079 * emacs-lisp/package.el (package-pinned-packages): New var.
11080 (package--add-to-archive-contents): Obey it (bug#14118).
11081
691e26ae
AM
110822013-04-03 Alan Mackenzie <acm@muc.de>
11083
8a621d53
JB
11084 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11085 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11086
11087 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11088 parameter `not-in-delimiter'. Handle being inside comment opener.
11089 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11090 character in case we're typing a '*' after a '/'.
11091 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11092 instead by passing the parameter to c-state-pp-to-literal.
11093
11094 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11095 for elt. 7 of a parse state.
11096
4b725a70
PE
110972013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11098
11099 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11100 * international/latin1-disp.el, international/mule-util.el:
11101 * language/cyril-util.el, language/european.el, language/ind-util.el:
11102 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11103 * language/tibetan.el, language/viet-util.el:
11104 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11105
15c579f0
SM
111062013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11107
11108 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11109 (electric-pair-post-self-insert-function): Use it.
11110 (electric-pair-default-inhibit): New function, extracted from
11111 electric-pair-post-self-insert-function.
11112
a77e2924
RW
111132013-03-31 Roland Winkler <winkler@gnu.org>
11114
11115 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11116
2bd8a4a8
SM
111172013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11120
8d3655be 111212013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11122
11123 Un-indent after "pass" and "return" statements (Bug#13888)
11124 * progmodes/python.el (python-indent-block-enders): New var.
11125 (python-indent-calculate-indentation): Use it.
11126
8d3655be 111272013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11128
11129 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11130 defun. Defining it as defalias could introduce too eager
11131 byte-compiler optimization. (Bug#14030)
11132
8d3655be 111332013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11134
11135 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11136
0b1619da
LL
111372013-03-30 Leo Liu <sdl.web@gmail.com>
11138
11139 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11140 (kmacro-execute-from-register): Pass the keyboard macro to
11141 kmacro-call-macro or repeating won't work correctly.
11142
0b938190
TZ
111432013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11144
11145 * progmodes/subword.el: Back to using `forward-symbol'.
11146
11147 * subr.el (forward-whitespace, forward-symbol)
11148 (forward-same-syntax): Move from thingatpt.el.
11149
35710234
LL
111502013-03-29 Leo Liu <sdl.web@gmail.com>
11151
11152 * kmacro.el (kmacro-to-register): New command.
11153 (kmacro-execute-from-register): New function.
11154 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11155
efc0bb73
SM
111562013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11157
11158 * mpc.el: Use defvar-local and setq-local.
11159 (mpc--proc-connect): Connection failures are not bugs.
11160 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11161 (mpc-volume-map): Bind to the up-events.
11162
75a2f981
TZ
111632013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11164
11165 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11166 instead of `forward-symbol'.
11167
17c781d1
SM
111682013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11169
11170 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11171 (edebug--recursive-edit): Use it.
11172 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11173 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11174
f67bfbcf
LL
111752013-03-28 Leo Liu <sdl.web@gmail.com>
11176
11177 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11178
b59f639d
EZ
111792013-03-27 Eli Zaretskii <eliz@gnu.org>
11180
11181 * facemenu.el (list-colors-callback): New defvar.
11182 (list-colors-redisplay): New function.
11183 (list-colors-display): Install list-colors-redisplay as the
11184 revert-buffer-function. (Bug#14063)
11185
f557c1b1
SM
111862013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11187
b1da2957
SM
11188 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11189 and suffixes don't overlap (bug#14061).
11190
f557c1b1
SM
11191 * case-table.el: Use lexical-binding.
11192 (case-table-get-table): New function.
11193 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11194
002668e1
TZ
111952013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11196
11197 * progmodes/subword.el: Add `superword-mode' to do word motion
11198 over symbol_words (parallels and leverages `subword-mode' which
11199 does word motion inside MixedCaseWords).
11200
73572c72
AG
112012013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11202
78b8f320 11203 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11204 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11205
69b2c07e
SM
112062013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11209 Change return value to be a sexp. Delay `get-buffer' to after
11210 restoring the desktop (bug#13951).
11211
08bb5ee2
LL
112122013-03-26 Leo Liu <sdl.web@gmail.com>
11213
11214 * register.el: Move semantic tag handling back to
11215 cedet/semantic/senator.el. (Bug#14052)
11216
8d4c974e
SM
112172013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11218
11219 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11220 into the prompt either (bug#13963).
11221
b234d92c
SM
112222013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11223
11224 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11225 part of "(error-foo)".
11226
ddfa3cb4
JL
112272013-03-24 Juri Linkov <juri@jurta.org>
11228
11229 * replace.el (list-matching-lines-prefix-face): New defcustom.
11230 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11231 `occur-engine' if `face-differs-from-default-p' returns t.
11232 (occur-engine): Add `,' inside backquote construct to evaluate
11233 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11234 Pass `prefix-face' to the functions `occur-context-lines' and
11235 `occur-engine-add-prefix'.
11236 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11237 `prefix-face' and propertize the prefix with `prefix-face'.
11238 (Bug#14017)
11239
7b0e2f85
LL
112402013-03-24 Leo Liu <sdl.web@gmail.com>
11241
11242 * nxml/rng-valid.el (rng-validate-while-idle)
11243 (rng-validate-quick-while-idle): Guard against deleted buffer.
11244 (Bug#13999)
11245
11246 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11247 is the last entry in kill-buffer-hook.
11248
11249 * files.el (kill-buffer-hook): Doc fix.
11250
b3082f49
DG
112512013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11252
b234d92c
SM
11253 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11254 Make it safe-local.
bde73d27 11255
b3082f49
DG
11256 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11257
a320a2db
LL
112582013-03-23 Leo Liu <sdl.web@gmail.com>
11259
7e74b0fb
LL
11260 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11261 Remove.
11262
11263 * nxml/rng-valid.el (rng-validate-mode)
11264 (rng-after-change-function, rng-do-some-validation):
11265 * nxml/rng-maint.el (rng-validate-buffer):
11266 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11267 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11268 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11269 (nxml-extend-after-change-region): Use with-silent-modifications.
11270
a320a2db
LL
11271 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11272 timer-idle-list.
11273
11274 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11275 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11276 timer-idle-list. (Bug#13999)
11277
e38e6780
JL
112782013-03-23 Juri Linkov <juri@jurta.org>
11279
11280 * info.el (info-index-match): New face.
11281 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11282 main pattern and add text properties with the new face to matches
11283 in index entries relative to the beginning of the index entry.
11284 (Bug#14015)
11285
e8cc7880
DE
112862013-03-21 Eric Ludlam <zappo@gnu.org>
11287
11288 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11289 Inhibit read only while inserting objects.
11290
9bb0d822
TZ
112912013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11292
11293 * progmodes/cfengine.el: Update docs to mention
11294 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11295 symbol motion. Remove "_" from the word syntax.
11296
aa703640
TZ
112972013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11298
11299 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11300 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11301
afff09d0
JL
113022013-03-20 Juri Linkov <juri@jurta.org>
11303
11304 * info.el (Info-next-reference-or-link)
11305 (Info-prev-reference-or-link): New functions.
11306 (Info-next-reference, Info-prev-reference): Use them.
11307 (Info-try-follow-nearest-node): Handle footnote navigation.
11308 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11309
9a1ff164
SM
113102013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11311
11312 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11313 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11314
2667d15d
PE
113152013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11316
11317 Suppress unnecessary non-ASCII chatter during build process.
11318 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11319 (batch-skkdic-convert): Suppress most of the chatter.
11320 It's not needed so much now that machines are faster,
11321 and its non-ASCII component was confusing; see Dmitry Gutov in
11322 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11323
438b0579
LL
113242013-03-20 Leo Liu <sdl.web@gmail.com>
11325
11326 * ido.el (ido-chop): Fix bug#10994.
11327
c128ab07
DG
113282013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11329
11330 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11331 Remove vars.
9a1ff164
SM
11332 (whitespace-color-on, whitespace-color-off):
11333 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11334
0e6008c5
SM
113352013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11336
11337 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11338 remapping in mode-line.
11339 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11340
627b52b0
DG
113412013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11342
11343 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11344 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11345 (whitespace-font-lock-keywords): Change description.
11346 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11347 the constructed keywords instead.
11348 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11349
50c3a20b
LL
113502013-03-19 Leo Liu <sdl.web@gmail.com>
11351
11352 * progmodes/compile.el (compilation-display-error): New command.
11353 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11354 C-o. (Bug#13992)
11355
2aa2157b
PE
113562013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11357
11358 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11359
e477dbfa
JD
113602013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11361
11362 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11363
64ab82d1
MA
113642013-03-18 Michael Albinus <michael.albinus@gmx.de>
11365
11366 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11367
11368 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11369 * net/tramp-gvfs.el (top):
11370 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11371 (tramp-handle-shell-command): Use it.
11372 (tramp-dissect-file-name): Raise an error when hostname is a
11373 method name, and neither method nor user is specified.
11374
11375 * net/trampver.el: Update release number.
11376
33cef733
LL
113772013-03-18 Leo Liu <sdl.web@gmail.com>
11378
11379 Make sure eldoc can be turned off properly.
11380 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11381 eldoc-mode.
11382 (eldoc-display-message-p): Revert last change.
11383 (eldoc-display-message-no-interference-p)
11384 (eldoc-print-current-symbol-info): Tweak.
11385
2167b7b2
TH
113862013-03-18 Tassilo Horn <tsdh@gnu.org>
11387
11388 * doc-view.el (doc-view-new-window-function): Check the new window
11389 overlay's display property instead the char property of the
11390 buffer's first char. Use `with-selected-window' instead of
11391 `save-window-excursion' with `select-window'.
11392 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11393 display property instead the char property of the buffer's first char.
2167b7b2 11394
982efbcd
PE
113952013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11396
11397 Automate the build of ja-dic.el (Bug#13984).
11398 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11399 from the input, rather than assume that it's been done for us by the
11400 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11401 the current date into a ja-dic.el comment, as that complicates
11402 regression testing.
11403
2fcc7665
SM
114042013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11405
11406 * whitespace.el: Fix double evaluation.
11407 (whitespace-space, whitespace-hspace, whitespace-tab)
11408 (whitespace-newline, whitespace-trailing, whitespace-line)
11409 (whitespace-space-before-tab, whitespace-indentation)
11410 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11411 obsolete defvars.
11412 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11413 (whitespace-color-on): Use a single font-lock-add-keywords call.
11414 Fix double-evaluation of face variables.
11415
67c0a6e6
MA
114162013-03-17 Michael Albinus <michael.albinus@gmx.de>
11417
2fcc7665
SM
11418 * net/tramp-adb.el (tramp-adb-parse-device-names):
11419 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11420 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11421
69489f1d
LL
114222013-03-17 Leo Liu <sdl.web@gmail.com>
11423
11424 Extend eldoc to display info in the mode-line. (Bug#13978)
11425 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11426 (eldoc-mode-line-string): New variable.
11427 (eldoc-minibuffer-message): New function.
11428 (eldoc-message-function): New variable.
11429 (eldoc-message): Use it.
11430 (eldoc-display-message-p)
2fcc7665
SM
11431 (eldoc-display-message-no-interference-p):
11432 Support eldoc-post-insert-mode.
69489f1d
LL
11433
11434 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11435 (eval-expression): Run it.
11436
9c44569e
RW
114372013-03-17 Roland Winkler <winkler@gnu.org>
11438
11439 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11440 strings in the list of return values.
11441
327f1f6f
JB
114422013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11443
11444 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11445 radix before checking for HMS forms.
11446
67ed8fcd
LL
114472013-03-16 Leo Liu <sdl.web@gmail.com>
11448
11449 * progmodes/scheme.el: Add indentation and font-locking for λ.
11450 (Bug#13975)
11451
78be8b64 114522013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11453
11454 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11455 token before point (bug#13942).
11456
78be8b64 114572013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11458
95b43468 11459 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11460
98e775e6
EZ
114612013-03-16 Eli Zaretskii <eliz@gnu.org>
11462
11463 * startup.el (command-line-normalize-file-name): Fix handling of
11464 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11465 <xfq.free@gmail.com> in
11466 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11467
2edd6029
MA
114682013-03-15 Michael Albinus <michael.albinus@gmx.de>
11469
11470 Sync with Tramp 2.2.7.
11471
11472 * net/trampver.el: Update release number.
11473
d35f5864
TH
114742013-03-14 Tassilo Horn <tsdh@gnu.org>
11475
e903c210 11476 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11477 (doc-view-insert-image): Don't modify overlay associated to
11478 non-live windows, and implement horizontal centering of image in
11479 case it's smaller than the window.
11480 (doc-view-new-window-function): Force redisplay of new windows on
11481 doc-view buffers.
d35f5864 11482
1c4a85ed
KF
114832013-03-13 Karl Fogel <kfogel@red-bean.com>
11484
11485 * saveplace.el (save-place-alist-to-file): Don't sort
11486 `save-place-alist', just pretty-print it (bug#13882).
11487
85b66a21
MA
114882013-03-13 Michael Albinus <michael.albinus@gmx.de>
11489
a020afb9
JB
11490 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11491 Check whether `default-file-name-coding-system' is bound.
11492 It isn't in XEmacs.
85b66a21 11493
175600da
SM
114942013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11495
e7f7cb1a
SM
11496 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11497 backquotes for `obsolete' (bug#13929).
11498
175600da
SM
11499 * international/mule.el (find-auto-coding): Include file name in
11500 obsolescence warning (bug#13922).
11501
ca68a22e
TZ
115022013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11503
11504 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11505 for CFEngine 3-specific indentation.
11506 (cfengine3-indent-line): Use it. Fix up category regex.
11507 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11508
940e5099
SM
115092013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11510
11511 * type-break.el (type-break-file-name):
11512 * textmodes/remember.el (remember-data-file):
11513 * strokes.el (strokes-file):
11514 * shadowfile.el (shadow-initialize):
11515 * saveplace.el (save-place-file):
11516 * ps-bdf.el (bdf-cache-file):
11517 * progmodes/idlwave.el (idlwave-config-directory):
11518 * net/quickurl.el (quickurl-url-file):
11519 * international/kkc.el (kkc-init-file-name):
11520 * ido.el (ido-save-directory-list-file):
11521 * emulation/viper.el (viper-custom-file-name):
11522 * emulation/vip.el (vip-startup-file):
11523 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11524 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11525
cc725808
PE
115262013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11527
11528 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11529 * language/thai-word.el: Switch to UTF-8.
11530
a020afb9 11531See ChangeLog.16 for earlier changes.
e3d51b27
MR
11532
11533;; Local Variables:
11534;; coding: utf-8
e3d51b27
MR
11535;; End:
11536
ab422c4d 11537 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11538
11539 This file is part of GNU Emacs.
11540
11541 GNU Emacs is free software: you can redistribute it and/or modify
11542 it under the terms of the GNU General Public License as published by
11543 the Free Software Foundation, either version 3 of the License, or
11544 (at your option) any later version.
11545
11546 GNU Emacs is distributed in the hope that it will be useful,
11547 but WITHOUT ANY WARRANTY; without even the implied warranty of
11548 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11549 GNU General Public License for more details.
11550
11551 You should have received a copy of the GNU General Public License
11552 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.