eww: fix wrong key binding
[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.
dde4de31 9 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 10
5e1901c1
RS
112013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12
13 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
15 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
16 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
17 Use `user-error'.
18 (eww-bookmark-mode-map): Add menu.
19 (eww-render, eww-mode): Use `setq-local'.
20 (eww-tool-bar-map): New variable.
21 (eww-mode): Set `tool-bar-map'.
22 (eww-view-source): Check for `html-mode' with `fboundp'.
23
073d5cfd
LMI
242013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
25
26 * net/shr.el (shr--extract-best-source): Don't bug out on audio
27 elements with text inside. Also remove debugging.
28
41cf3d11
JD
292013-12-21 Jan Djärv <jan.h.d@swipnet.se>
30
31 * cus-start.el (all): Add ns-use-srgb-colorspace.
32
aac2b673
CY
332013-12-21 Chong Yidong <cyd@gnu.org>
34
35 * custom.el (custom-theme-recalc-face): Do nothing if the face is
36 undefined. Thus, theme settings for undefined faces do not take
37 effect until the faces are defined with defface, the same as with
38 theme variables.
39
40 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
41 (face-spec-reset-face): Don't assign extra properties in temacs.
42 (face-spec-recalc): Apply X resources too.
43
bacb0e77
CY
442013-12-21 Chong Yidong <cyd@gnu.org>
45
46 * faces.el (face-spec-set):
47 * cus-face.el (custom-theme-set-faces, custom-set-faces):
48 * custom.el (defface): Doc fixes (Bug#16203).
49
77221051
CY
50 * indent.el (indent-rigidly-map): Add docstring, and move commands
51 into named functions.
52 (indent-rigidly-left, indent-rigidly-right)
53 (indent-rigidly-left-to-tab-stop)
54 (indent-rigidly-right-to-tab-stop): New functions. Decide on
55 indentation direction based on bidi direction, and accumulate
56 sequential commands in a single undo boundary.
57 (indent-rigidly--pop-undo): New utility function.
58
e0eb0550
JB
592013-12-20 Juanma Barranquero <lekktu@gmail.com>
60
61 * faces.el (read-face-name): Require crm.el when using crm-separator.
62
3282bd2e
DC
632013-12-20 Daniel Colascione <dancol@dancol.org>
64
65 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
66 so that we don't reflow comments into the shebang line.
67
1d42e5b6
JL
682013-12-20 Juri Linkov <juri@jurta.org>
69
70 * saveplace.el (save-place-to-alist): Add `dired-filename' as
71 a position when `dired-directory' is non-nil. Check integer
72 positions with `integerp'.
73 (toggle-save-place, save-places-to-alist): Add check for
74 `dired-directory'.
75 (save-place-find-file-hook): Check integer positions with
76 `integerp'.
77 (save-place-dired-hook): Use `dired-goto-file' when
78 `dired-filename' is found in the assoc list. Check integer
79 positions with `integerp'.
80 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
81
82 * dired.el (dired-initial-position-hook): Rename back from
83 `dired-initial-point-hook'.
84 (dired-initial-position): Rename `dired-initial-point-hook' to
85 `dired-initial-position-hook'.
86 (dired-file-name-at-point): Doc fix. (Bug#15329)
87
24da7273
JL
882013-12-20 Juri Linkov <juri@jurta.org>
89
90 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
91 (read-regexp-suggestions): New function.
92 (read-regexp): Use `read-regexp-defaults-function' to get default values.
93 Use `read-regexp-suggestions'. Add non-empty default to history
94 for empty input.
95 (occur-read-regexp-defaults-function): Remove function.
96 (occur-read-primary-args): Use `regexp-history-last' instead of
97 `occur-read-regexp-defaults-function'.
98
99 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
100 (hi-lock-line-face-buffer, hi-lock-face-buffer)
101 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
102 `hi-lock-read-regexp-defaults-function'. Doc fix.
103 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
104 with `find-tag-default-as-symbol-regexp'. Doc fix.
105 (hi-lock-read-regexp-defaults): Remove function.
106 (hi-lock-regexp-okay): Add check for null.
107
108 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
109 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
110
111 * subr.el (find-tag-default-as-symbol-regexp): New function.
112 (find-tag-default-as-regexp): Move symbol regexp formatting to
113 `find-tag-default-as-symbol-regexp'.
114
137f57c8
S
1152013-12-20 E Sabof <esabof@gmail.com> (tiny change)
116
117 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
118 (Bug#14179)
119
f3a66082
SB
1202013-12-20 Stephen Berman <stephen.berman@gmx.net>
121
122 * calendar/todo-mode.el: New implementation of item insertion
123 commands and key bindings.
124 (todo-key-prompt): New face.
125 (todo-insert-item): New command.
126 (todo-insert-item--parameters): New defconst, replacing defvar
127 todo-insertion-commands-args-genlist.
128 (todo-insert-item--param-key-alist): New defconst, replacing
129 defvar todo-insertion-commands-arg-key-list.
130 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
131 (todo-insert-item--argsleft, todo-insert-item--apply-args)
132 (todo-insert-item--next-param): New functions.
133 (todo-insert-item--args, todo-insert-item--argleft)
134 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
135 New variables.
136 (todo-key-bindings-t): Change binding of "i" from
137 todo-insertion-map to todo-insert-item.
138 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
139 (todo-insertion-command-name, todo-insertion-commands-names)
140 (todo-define-insertion-command, todo-insertion-commands)
141 (todo-insertion-key-bindings, todo-insertion-map): Remove.
142
2f99433b
SB
1432013-12-20 Stephen Berman <stephen.berman@gmx.net>
144
145 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
146 (todo-toggle-item-highlighting): Use eval-and-compile instead of
147 eval-when-compile.
148 (todo-move-category): Allow choosing a non-existing todo file to
149 move the category to, and create that file.
150 (todo-default-priority): New user option.
151 (todo-set-item-priority): Use it.
152 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
153 (desktop-restore-file-buffer): Declare.
154 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
155 (todo-modes-set-2): Locally set desktop-save-buffer to
156 todo-desktop-save-buffer.
157 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
158 (auto-mode-alist): Add autoload cookie.
159
131e4695
BB
1602013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
161
162 * emacs-lisp/subr-x.el: Renamed from helpers.el.
163 helpers.el was a poor choice of name.
3cbfb935
BB
164 (string-remove-prefix): New function.
165 (string-remove-suffix): New function.
131e4695 166
c44de18d
MR
1672013-12-20 Martin Rudalics <rudalics@gmx.at>
168
169 Fix assignment for new window total sizes.
170 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
171 (window--pixel-to-total-1, window--pixel-to-total):
172 Fix calculation of new total sizes.
c44de18d 173
ca65efcc
VS
1742013-12-20 Vitalie Spinu <spinuvit@gmail.com>
175
176 * comint.el (comint-output-filter): Fix rear-nonsticky property
177 placement (Bug#16010).
178
a9574eb7
CY
1792013-12-20 Chong Yidong <cyd@gnu.org>
180
181 * faces.el (read-color): Minor fix for completion function.
182
b520f210
DG
1832013-12-20 Dmitry Gutov <dgutov@yandex.ru>
184
e0eb0550
JB
185 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
186 New option. (Bug#16182)
b520f210
DG
187 (ruby-smie--indent-to-stmt-p): Use it.
188 (ruby-smie-rules): Revert the logic in the handling of `when'.
189 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
190 (ruby-deep-arglist, ruby-deep-indent-paren)
191 (ruby-deep-indent-paren-style): Update docstrings to note that the
192 vars don't have any effect with SMIE.
193
26b75b45
JB
1942013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
195
196 * calc/calc.el (calc-enter, calc-pop): Use the variable
197 `calc-context-sensitive-enter'.
198
cf91cee7
LMI
1992013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
200
201 * net/shr.el (shr-insert): Protect against infloops in degenerate
202 tables.
203
51d971b4
RS
2042013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
205
206 * progmodes/octave.el (octave): Add link to manual and octave
207 homepage.
208 (octave-mode-menu): Link to octave-mode manual.
209
8c2e462a
LL
2102013-12-20 Leo Liu <sdl.web@gmail.com>
211
212 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
213 insertion using skeleton-end-newline. (Bug#16138)
214
501158bc
JL
2152013-12-20 Juri Linkov <juri@jurta.org>
216
217 * replace.el (occur-engine): Use `add-face-text-property'
218 to add the face property to matches and titles. (Bug#14645)
219
220 * hi-lock.el (hi-green): Use lighter color "light green" closer to
221 the palette of other hi-lock colors.
222 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
223
50ab1da6
JL
2242013-12-19 Juri Linkov <juri@jurta.org>
225
226 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
227 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
228 (minibuffer-history-symbol): Move variable declaration closer to
229 its usage.
230
231 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
232 (Bug#14785)
233
3d6e95e7
JL
2342013-12-19 Juri Linkov <juri@jurta.org>
235
236 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
237 New function.
238 (log-edit-hook): Add it to :options. (Bug#16170)
239
b41594fd
JL
2402013-12-19 Juri Linkov <juri@jurta.org>
241
242 * simple.el (eval-expression-print-format): Don't check for
243 command names and the last command. Always display additional
244 formats of the integer result in the echo area, and insert them
245 to the current buffer only with a zero prefix arg.
246 Display character when char-displayable-p is non-nil.
247 (eval-expression): With a zero prefix arg, set `print-length' and
248 `print-level' to nil, and insert the integer values from
249 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
250
251 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
252 `eval-last-sexp-arg-internal'. Doc fix.
253 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
254 `eval-last-sexp-print-value'. Doc fix.
255 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
256 Set `print-length' and `print-level' to nil when arg is zero.
257 (eval-last-sexp): Doc fix.
258 (eval-defun-2): Print the integer values from
259 `eval-expression-print-format' at the end.
260
261 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
262 values from `eval-expression-print-format' at the end.
263
264 * ielm.el (ielm-eval-input): Print the integer
265 values from `eval-expression-print-format' at the end.
266
8f2be364
TZ
2672013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
268
269 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
270 2013-12-11T19:01:44Z!tzz@lifelogs.com.
271
2230a6e3
SM
2722013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
275 (hl-line-highlight, global-hl-line-highlight): Use it.
276 (hl-line-overlay): Use defvar-local.
277
1269a680
JD
2782013-12-19 Jan Djärv <jan.h.d@swipnet.se>
279
280 * term/ns-win.el: Require dnd.
281 (global-map): Remove drag items.
282 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
283 (ns-set-background-at-mouse):
284 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
285 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
286 New functions.
1269a680 287
049638ad
GM
2882013-12-19 Glenn Morris <rgm@gnu.org>
289
290 * emacs-lisp/ert.el (ert-select-tests):
291 Fix string/symbol mixup. (Bug#16121)
292
ce41edb4
DG
2932013-12-19 Dmitry Gutov <dgutov@yandex.ru>
294
295 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
296 keywords to their parent.
297
7e1549c9
DG
2982013-12-19 Dmitry Gutov <dgutov@yandex.ru>
299
300 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
301 first arg to be a string (fixed dead code), or an operator symbol.
302 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
303 operator symbols.
304 (ruby-smie-rules): Remove parent token check in the `.' clause, it
305 did nothing. Don't respond to `(:after ".")', it will be called
306 with :before anyway. Remove the ` @ ' rule, it didn't seem to
307 change anything. Only return indentation for binary operators
308 when they are hanging. De-dent opening paren when its parent is
309 `.', otherwise it looks bad when the dot is not at bol or eol
310 (bug#16182).
311
3ee4cd64
JL
3122013-12-19 Juri Linkov <juri@jurta.org>
313
314 * replace.el (query-replace-read-args): Split a non-negative arg
315 and a negative arg into separate elements.
316 (query-replace, query-replace-regexp, replace-string)
317 (replace-regexp): Add arg `backward'. Doc fix.
318 (replace-match-maybe-edit): When new arg `backward' is non-nil,
319 move point to the beginning of the match.
320 (replace-search, replace-highlight): Use new arg `backward'
321 to set the value of `isearch-forward'.
322 (perform-replace): Add arg `backward' and use it to perform
323 replacement backward. (Bug#14979)
324
325 * isearch.el (isearch-query-replace): Use a negative prefix arg
326 to call `perform-replace' with a non-nil arg `backward'.
327
0cda6b7b
JL
3282013-12-18 Juri Linkov <juri@jurta.org>
329
330 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
331 to the default list. Move `log-edit-show-files' to the end.
332 Add more available functions to options.
333 (log-edit): Move default specific settings to
334 `log-edit-insert-message-template'. Don't move point.
335 (log-edit-insert-message-template): New function.
336 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
337 (Bug#16170)
338
b216f0a6
JL
3392013-12-18 Juri Linkov <juri@jurta.org>
340
341 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
342 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
343
1d1c55dc
LL
3442013-12-18 Leo Liu <sdl.web@gmail.com>
345
346 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
347
64e4c76e
EZ
3482013-12-18 Eli Zaretskii <eliz@gnu.org>
349
350 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
351 formats for displaying file sizes when the -s switch is given.
352 Instead, compute a separate format for displaying the size in
353 blocks, which is displayed in addition to the "regular" size.
354 When -h is given in addition to -s, produce size in blocks in
355 human-readable form as well. (Bug#16179)
356
b2984e39
TH
3572013-12-18 Tassilo Horn <tsdh@gnu.org>
358
2230a6e3
SM
359 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
360 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 361
50ff2e06
CY
3622013-12-18 Chong Yidong <cyd@gnu.org>
363
0081bc84
CY
364 * cus-edit.el (custom-magic-alist): Fix "themed" description
365 (Bug#14348).
366
a7ee9424
CY
367 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
368 is non-nil, do not create a new entry in the symbol's theme-value
369 or theme-face property; update theme-settings only (Bug#14664).
18874304 370 (custom-available-themes): Doc fix.
a7ee9424 371
8f942537
CY
372 * cus-theme.el (custom-new-theme-mode-map): Add bindings
373 (Bug#15674).
374
50ff2e06
CY
375 * replace.el (occur-engine): Avoid infloop (Bug#7593).
376
83c60f60
KI
3772013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
378
379 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
380 (Bug#13914).
381
e0eb0550 3822013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
383
384 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
385
1f41ee56
GM
3862013-12-18 Glenn Morris <rgm@gnu.org>
387
388 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 389 * cus-start.el (load-prefer-newer): New option.
1f41ee56 390
e82134b1
LW
3912013-12-18 Le Wang <l26wang@gmail.com>
392
2230a6e3
SM
393 * comint.el (comint-previous-matching-input-from-input):
394 Retain point (Bug#13404).
e82134b1 395
33f5d4c1
CY
3962013-12-18 Chong Yidong <cyd@gnu.org>
397
398 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
399
ccc9f6dc
GM
4002013-12-18 Glenn Morris <rgm@gnu.org>
401
402 * mail/emacsbug.el (report-emacs-bug):
403 Only mention enable-multibyte-characters if non-standard.
404
33dd8e95
JL
4052013-12-17 Juri Linkov <juri@jurta.org>
406
407 * arc-mode.el (archive-extract-by-file): Check if directory exists
408 before deletion to not show irrelevant errors if it doesn't exist.
409
7a409b30
JL
4102013-12-17 Juri Linkov <juri@jurta.org>
411
412 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
413 (Bug#14751)
414
415 * net/eww.el (browse-web): Add alias to `eww'.
416 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
417 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
418
419 * net/browse-url.el (browse-url-browser-function): Move `eww'
420 closer to similar functions.
421
422 * startup.el (fancy-startup-screen, fancy-about-screen):
423 Set browse-url-browser-function to eww-browse-url locally.
424 (Bug#14751)
425
2d6b6005
SM
4262013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * window.el (window--pixel-to-total): Remove unused `mini' var.
429 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
430 (split-window): Remove unused `new' var.
431 (window--display-buffer): Remove unused `frame' and `delta' vars.
432 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
433 and display-width'.
434
cf2b7efc
MR
4352013-12-17 Martin Rudalics <rudalics@gmx.at>
436
437 * dired.el (dired-mark-pop-up):
438 * register.el (register-preview): Don't bind
439 split-height-threshold here since it's now done in
440 display-buffer-below-selected.
441
ed3af8a7 4422013-12-17 oblique <psyberbits@gmail.com> (tiny change)
443
444 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
445 xterm-rgb-convert-to-16bit.
446 (rxvt-register-default-colors): Standardize with
447 xterm-register-default-colors (Bug#14078).
448
76da3455
DK
4492013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
450
451 * simple.el (kill-region): Pass mark first, then point, so that
452 kill-append works right (Bug#12819).
453 (copy-region-as-kill, kill-ring-save): Likewise.
454
2b84d763
LL
4552013-12-17 Leo Liu <sdl.web@gmail.com>
456
457 * net/rcirc.el (rcirc-add-face):
458 * eshell/em-prompt.el (eshell-emit-prompt):
459 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
460 (Bug#16167)
461
e2f6a0bc
CY
4622013-12-17 Chong Yidong <cyd@gnu.org>
463
464 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
465 Suggested by Xue Fuqiao.
466
35b249a6
DG
4672013-12-17 Dmitry Gutov <dgutov@yandex.ru>
468
469 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
470
e9145444
SM
4712013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
472
473 * net/shr.el (shr-insert-document): Remove unused var
474 `shr-preliminary-table-render'.
475 (shr-rescale-image): Remove unused arg `force'.
476 (shr-put-image): Update calls accordingly.
477 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
478
5556c0ce
DG
4792013-12-17 Dmitry Gutov <dgutov@yandex.ru>
480
481 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
482 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
483 :close-all, to see which indentation method to use (Bug#16116).
484 (smie-rules-function): Document the method :close-all.
485
11bade0a
LMI
4862013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
487
1c4b1e61
LMI
488 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
489
11bade0a
LMI
490 * net/eww.el (eww-display-html): If we can't find the anchor we're
491 looking for, then go to point-min.
492
8fb8c4f3
PE
4932013-12-16 Paul Eggert <eggert@cs.ucla.edu>
494
495 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
496 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
497 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
498 Expand dir too, in case it's relative.
499
6c8e0ae6
JL
5002013-12-16 Juri Linkov <juri@jurta.org>
501
502 * desktop.el (desktop-auto-save-timeout): Change default to
503 `auto-save-timeout'. Doc fix.
504 (desktop-save): Skip the timestamp in desktop-saved-frameset
505 when checking for auto-save changes.
506 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
507 `desktop-auto-save' is called repeatedly by the idle timer.
508 (desktop-auto-save-set-timer): Replace `run-with-timer' with
509 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
510 (Bug#15331)
511
2178e858
JL
5122013-12-16 Juri Linkov <juri@jurta.org>
513
514 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
515 (Bug#16035)
516 (isearch-pre-command-hook): Check `this-command' for symbolp.
517
39cb42c6
SM
5182013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
521
5b9b750a
TZ
5222013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
523
524 * progmodes/cfengine.el (cfengine3--current-word): Remove.
525 (cfengine3--current-function): Bring in the current-function
526 functionality from `cfengine3--current-word'.
527 (cfengine3-completion-function): Bring in the
528 bounds-of-current-word functionality from
529 `cfengine3--current-word'.
530
d144ef06
MR
5312013-12-16 Martin Rudalics <rudalics@gmx.at>
532
39cb42c6
SM
533 * window.el (display-buffer-below-selected):
534 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 535
a8bbe298
LL
5362013-12-16 Leo Liu <sdl.web@gmail.com>
537
538 * progmodes/compile.el (compile-goto-error): Do not push-mark.
539 Remove NOMSG arg and all uses changed.
540
2013a2f9
SM
5412013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
544 (cua--deactivate-rectangle): Don't deactivate the mark.
545 (cua-set-rectangle-mark): Don't set mark-active since
546 cua--activate-rectangle already does it for us.
547 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
548 non-rectangular region.
549
550 * emulation/cua-base.el (cua-repeat-replace-region):
551 Use with-current-buffer.
552
553 * net/gnutls.el: Use cl-lib.
554 (gnutls-negotiate): `mapcan' -> cl-mapcan.
555
5ae811dd
TZ
5562013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
557
558 * emacs-lisp/package.el (package-built-in-p): Support both
559 built-in and the package.el converted package descriptions.
560 (package-show-package-list): Allow keywords.
561 (package-keyword-button-action): Use it instead of
562 `finder-list-matches'.
563 (package-menu-filter-interactive): Interactive filtering (by
564 keyword) function.
565 (package-menu--generate): Support keywords and change keymappings
566 and headers when they are given.
567 (package--has-keyword-p): Helper function.
568 (package-menu--refresh): Use it.
569 (package--mapc): Helper function.
570 (package-all-keywords): Use it.
571 (package-menu-mode-map): Set up menu items and keybindings to
572 provide a filtering UI.
573
31b4827e
TZ
5742013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
575
576 * net/gnutls.el (gnutls-verify-error): New defcustom to control
577 the behavior when a certificate fails validation. Defaults to
578 old behavior: never abort, just warn.
579 (gnutls-negotiate): Use it.
580
f93cc74f
MR
5812013-12-14 Martin Rudalics <rudalics@gmx.at>
582
583 * window.el (display-buffer-below-selected): Never split window
584 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
585
f77d7d17
TW
5862013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
587
588 * emacs-lisp/package.el (package--prepare-dependencies): New function.
589 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
590
591 * icomplete.el (icomplete-completions): Make sure the prefix is already
592 displayed elsewhere before hiding it.
593
276bc333
DG
5942013-12-14 Dmitry Gutov <dgutov@yandex.ru>
595
596 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
597 open-paren tokens when preceded by a open-paren, too.
598 (ruby-smie-rules): Handle virtual indentation after open-paren
599 tokens specially. If there is code between it and eol, return the
600 column where is starts (Bug#16118).
601
d43957f3
TZ
6022013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
603
a5c1ac0c 604 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 605 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
606 (cfengine3--current-word): Fix parameters.
607 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
608 (cfengine3-completion-function, cfengine3--current-function):
609 Use `assq' for symbols.
d43957f3
TZ
610 (cfengine3--current-function): Fix `cfengine3--current-word' call.
611
06a4f110
GM
6122013-12-13 Glenn Morris <rgm@gnu.org>
613
614 * loadup.el (load-path): Warn if site-load or site-init changes it.
615 No more need to reset it when bootstrapping.
616
978a5fda
TZ
6172013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
618
619 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
620 locations for cf-promises.
621 (cfengine-mode-syntax-functions-regex): New caching variable.
622 (cfengine3-fallback-syntax): Fallback syntax for cases where
623 cf-promises doesn't run.
624 (cfengine3--current-word): Reimplement using
625 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
626 (cfengine3-completion-function, cfengine3--current-function):
627 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
628 (cfengine3-clear-syntax-cache): New function.
629 (cfengine3-make-syntax-cache): Simplify and create
630 `cfengine-mode-syntax-functions-regex' on demand.
631 (cfengine3-format-function-docstring): Don't call
632 `cfengine3-make-syntax-cache' explicitly.
633
71e6691e
MR
6342013-12-13 Martin Rudalics <rudalics@gmx.at>
635
636 Fix windmove-find-other-window broken after pixelwise resizing
637 (Bug#16017).
638 * windmove.el (windmove-other-window-loc): Revert change from
639 2013-12-04.
640 (windmove-find-other-window): Call window-in-direction.
641 * window.el (window-in-direction): New arguments SIGN, WRAP and
642 MINI to emulate original windmove-find-other-window behavior.
643
84c73ba0
DG
6442013-12-13 Dmitry Gutov <dgutov@yandex.ru>
645
646 * simple.el (blink-matching--overlay): New variable.
647 (blink-matching-open): Instead of moving point, highlight the
648 matching paren with an overlay
649 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
650
651 * faces.el (paren-showing-faces, show-paren-match)
652 (show-paren-mismatch): Move from paren.el.
653
b9e20952
LL
6542013-12-13 Leo Liu <sdl.web@gmail.com>
655
656 * indent.el (indent-region): Disable progress reporter in
657 minibuffer. (Bug#16108)
658
659 * bindings.el (visual-order-cursor-movement): Fix version.
660
ce030451
FEG
6612013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
662
663 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
664 Also match after beginning of line.
665 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
666 files. Thanks to Russell Sim. (Bug#15378)
667
4a9c6865
JL
6682013-12-13 Juri Linkov <juri@jurta.org>
669
670 * simple.el <Keypad support>: Remove key bindings duplicated
671 with bindings.el. (Bug#14397)
672
2bc170c3
JL
6732013-12-13 Juri Linkov <juri@jurta.org>
674
675 * comint.el (comint-mode-map): Replace `delete-char' with
676 `delete-forward-char'. (Bug#16109)
677
bc9222c9
FEG
6782013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
679
aa2bddd7
SM
680 * progmodes/python.el (python-indent-calculate-indentation):
681 Fix de-denters cornercase. (Bug#15731)
bc9222c9 682
cb3a1380
SM
6832013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
686 (advice--make): Pay attention to `depth'.
687 (advice--make-1): Don't autoload commands eagerly.
688 * emacs-lisp/elp.el (elp-instrument-function):
689 * emacs-lisp/trace.el (trace-function-internal):
690 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
691
692 * iswitchb.el (iswitchb-mode): Don't belittle ido.
693
01633a17
EZ
6942013-12-12 Eli Zaretskii <eliz@gnu.org>
695
696 * term/w32-win.el (w32-handle-dropped-file):
697 * startup.el (normal-top-level):
698 * net/browse-url.el (browse-url-file-url):
699 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
700 decode file names using 'utf-8' rather than
701 file-name-coding-system.
702
09faee72
FEG
7032013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
704
705 * progmodes/python.el (python-indent-context)
706 (python-indent-calculate-indentation): Fix auto-identation
707 behavior for comment blocks. (Bug#15916)
708
f4f84024 7092013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 710
cb3a1380
SM
711 * progmodes/python.el (python-indent-calculate-indentation):
712 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
713 operators when they are just string constituents. (Bug#15812)
714
d5ccb7be
JL
7152013-12-12 Juri Linkov <juri@jurta.org>
716
717 * uniquify.el (uniquify-buffer-name-style): Change default to
718 `post-forward-angle-brackets'.
719
720 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
721 `uniquify'. Change default to `post-forward-angle-brackets'.
722
7b3f5679
GM
7232013-12-11 Glenn Morris <rgm@gnu.org>
724
725 * emacs-lisp/package.el (finder-list-matches):
726 Autoload rather than falsely declaring.
727
f4fe8fdd
TZ
7282013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
729
730 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
731 (eww-mode-map): Use them.
732
3c29190f
MR
7332013-12-11 Martin Rudalics <rudalics@gmx.at>
734
735 * window.el (display-buffer-in-side-window): Fix doc-string
736 (Bug#16115).
737
0cd616a2
JB
7382013-12-11 Juanma Barranquero <lekktu@gmail.com>
739
740 * vc/vc-git.el: Silence byte-compiler warnings.
741 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
742 (log-edit-set-header): Declare.
743
3ef8e0d1
EZ
7442013-12-11 Eli Zaretskii <eliz@gnu.org>
745
746 * Makefile.in (custom-deps, finder-data): Run output file names
747 through unmsys--file-name. (Bug#16099)
748
afdadaf7
SM
7492013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
750
7ae3ae39 751 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 752 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 753
5b4f37ab
SM
754 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
755 instead of deleting the selection "by hand" (bug#16098).
756 Rely on insert-for-yank to yank rectangles.
757 (cua-highlight-region-shift-only): Mark obsolete.
758 (cua-mode): Don't enable/disable transient-mark-mode,
759 shift-select-mode (cua-mode works both with and without them), and
760 pc-selection-mode (obsolete).
761 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
762 (cua--deactivate-rectangle): Deactivate it.
763
4b72c12b
SM
764 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
765 (delete-selection-helper): Make sure yank starts at the top of the
766 deleted region.
767 (minibuffer-keyboard-quit): Use region-active-p.
768
e82af72d
SM
769 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
770
afdadaf7
SM
771 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
772 to `delete' (bug#16109).
773
ed4bc201
RS
7742013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
775
776 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
777 info manual and show keybindings and set `:group' keyword.
778
bb8097b9
JL
7792013-12-11 Juri Linkov <juri@jurta.org>
780
781 * delsel.el (delete-active-region): Let-bind `this-command'
782 to prevent `kill-region' from changing its original value.
783 (delete-selection-helper): Handle `overwrite-mode' for the type
784 `kill' exactly the same way as for the type `t'.
785 (insert-char, quoted-insert, reindent-then-newline-and-indent):
786 Support more commands. (Bug#13312)
787
c1916ff5
JL
7882013-12-11 Juri Linkov <juri@jurta.org>
789
790 * bindings.el: Map kp keys to non-kp keys systematically
791 with basic modifiers control, meta and shift. (Bug#14397)
792
e0eb0550 7932013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
b68cf43c
KN
794
795 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
796 "Close browser" menu items. Fix wrong function of "List
797 bookmarks".
798
4cc51eaf
JL
7992013-12-11 Juri Linkov <juri@jurta.org>
800
801 * misearch.el (multi-isearch-buffers): Set the value of
802 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
803 arg of isearch-forward to t.
804 (multi-isearch-buffers-regexp): Set the value of
805 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
806 arg of isearch-forward-regexp to t.
807 (multi-isearch-files): Set the value of
808 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
809 arg of isearch-forward to t.
810 (multi-isearch-files-regexp): Set the value of
811 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
812 arg of isearch-forward-regexp to t. (Bug#16035)
813
814 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
815 arg of isearch-forward to t.
816 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
817 arg of isearch-forward-regexp to t.
818 (dired-isearch-filter-filenames): Remove unnecessary check for
819 `dired-isearch-filenames'.
820
821 * comint.el (comint-history-isearch-backward):
822 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
823 (comint-history-isearch-backward-regexp):
824 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
825
ceac12b7
EZ
8262013-12-10 Eli Zaretskii <eliz@gnu.org>
827
828 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
829 unmsys--file-name. (Bug#16099)
830
5a565782
TZ
8312013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
832
cb3a1380
SM
833 * emacs-lisp/package.el (package-keyword-button-action):
834 Remove finder.el require dependency.
5a565782 835
a81fc7ba
TZ
8362013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
837
838 * emacs-lisp/package.el: Require finder.el.
839 (describe-package-1): Add keyword buttons.
840 (package-make-button): New convenience function.
841 (package-keyword-button-action): Keyword button action using
e0eb0550 842 `finder-list-matches'.
a81fc7ba 843
6aaca951
EZ
8442013-12-09 Eli Zaretskii <eliz@gnu.org>
845
846 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
847 last commit.
848
a1099a91
MA
8492013-12-09 Michael Albinus <michael.albinus@gmx.de>
850
851 * autorevert.el (auto-revert-notify-add-watch): Do not handle
852 symlinked files.
853
8212d9c0
DG
8542013-12-09 Dmitry Gutov <dgutov@yandex.ru>
855
856 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
857 after the end of a percent literal.
858
8f48d131
CD
8592013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
860
cb3a1380
SM
861 * progmodes/ruby-mode.el (ruby-forward-string): Document.
862 Handle caret-delimited strings (Bug#16079).
8f48d131 863
ff8c9764
DG
8642013-12-09 Dmitry Gutov <dgutov@yandex.ru>
865
cb3a1380
SM
866 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
867 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
868 `ruby-parse-partial' (Bug#16078).
869
d64643b4
LL
8702013-12-09 Leo Liu <sdl.web@gmail.com>
871
872 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
873
47e59c66
DG
8742013-12-08 Dmitry Gutov <dgutov@yandex.ru>
875
876 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
877 (js-switch-indent-offset): New option.
878 (js--proper-indentation): Use it. And handle the case when
879 "default" is actually a key in an object literal.
880 (js--same-line): New function.
881 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
882 (js--indent-in-array-comp, js--array-comp-indentation):
883 New functions.
47e59c66
DG
884 (js--proper-indentation): Use them, to handle array comprehension
885 continuations.
886
974ebc9c
LL
8872013-12-08 Leo Liu <sdl.web@gmail.com>
888
889 * progmodes/flymake.el (flymake-highlight-line): Re-write.
890 (flymake-make-overlay): Remove arg MOUSE-FACE.
891 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
892
27262e39
SM
8932013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
894
895 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
896 New function.
897 (redisplay-highlight-region-function): Use it.
898
899 * emulation/cua-base.el (cua--explicit-region-start)
900 (cua--last-region-shifted): Remove.
901 (cua--deactivate): Use deactivate-mark.
902 (cua--pre-command-handler-1): Don't handle shift-selection.
903 (cua--post-command-handler-1): Don't change transient-mark-mode.
904 (cua--select-keymaps): Use region-active-p rather than
905 cua--explicit-region-start or cua--last-region-shifted.
906 (cua-mode): Enable shift-select-mode.
907
6407822c
LL
9082013-12-08 Leo Liu <sdl.web@gmail.com>
909
27262e39
SM
910 * progmodes/flymake.el (flymake-popup-current-error-menu):
911 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
912 (flymake-posn-at-point-as-event, flymake-popup-menu)
913 (flymake-make-emacs-menu): Remove. (Bug#16077)
914
00a2b823
SM
9152013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
916
02033d49
SM
917 * rect.el (rectangle-mark-mode): Activate mark even if
918 transient-mark-mode is off (bug#16066).
919 (rectangle--highlight-for-redisplay): Fix boundary condition when point
920 is > mark and at bolp.
921
6f8dfccf
SM
922 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
923 (region-extract-function): Use it.
924 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
925 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
926 Delete functions.
927 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
928 kill-ring-save, kill-region, delete-char, delete-forward-char.
929 Ignore self-insert-iso.
930
931 * emulation/cua-gmrk.el (cua--init-global-mark):
932 Ignore `self-insert-iso'.
933
934 * emulation/cua-base.el (cua--prefix-copy-handler)
935 (cua--prefix-cut-handler): Rely on region-extract-function rather than
936 checking cua--rectangle.
937 (cua-delete-region): Use region-extract-function.
938 (cua-replace-region): Delete function.
939 (cua-copy-region, cua-cut-region): Obey region-extract-function.
940 (cua--pre-command-handler-1): Don't do the delete-selection thing.
941 (cua--self-insert-char-p): Ignore `self-insert-iso'.
942 (cua--init-keymaps): Don't remap delete-selection commands.
943 (cua-mode): Use delete-selection-mode instead of rolling our own
944 (bug#16085).
945
946 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
947 Obey region-extract-function.
948
00a2b823
SM
949 Make registers and delete-selection-mode work on rectangles.
950 * register.el (describe-register-1): Don't modify the register's value.
951 (copy-to-register): Obey region-extract-function.
952 * delsel.el (delete-active-region): Obey region-extract-function.
953
a92fa5f1
LL
9542013-12-08 Leo Liu <sdl.web@gmail.com>
955
956 * progmodes/flymake.el (flymake, flymake-error-bitmap)
957 (flymake-warning-bitmap, flymake-fringe-indicator-position)
958 (flymake-compilation-prevents-syntax-check)
959 (flymake-start-syntax-check-on-newline)
960 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
961 (flymake-start-syntax-check-on-find-file, flymake-log-level)
962 (flymake-xml-program, flymake-master-file-dirs)
963 (flymake-master-file-count-limit)
964 (flymake-allowed-file-name-masks): Relocate.
965 (flymake-makehash, flymake-float-time)
966 (flymake-replace-regexp-in-string, flymake-split-string)
967 (flymake-get-temp-dir): Remove.
968 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
969 (flymake-current-row, flymake-selected-frame)
970 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
971 related functions. (Bug#16077)
972
73c8ceea
BB
9732013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
974
975 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
976
faec28d9
TH
9772013-12-07 Tassilo Horn <tsdh@gnu.org>
978
979 * help-fns.el (describe-function-1): Use new advice-* functions
980 rather than old ad-* functions. Fix function type description and
981 source links for advised functions and subrs.
982
e330b646
LMI
9832013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
984
00a2b823 985 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 986
4803595d
MA
9872013-12-06 Michael Albinus <michael.albinus@gmx.de>
988
989 * progmodes/compile.el (compilation-start):
990 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
991
992 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
993 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
994
fa834a93
DG
9952013-12-06 Dmitry Gutov <dgutov@yandex.ru>
996
00a2b823
SM
997 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
998 Touch up the last change.
fa834a93 999
b2856a6f
LL
10002013-12-06 Leo Liu <sdl.web@gmail.com>
1001
1002 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1003 (inferior-octave-startup): Always use "octave> " for prompt.
1004 (octave-goto-function-definition)
1005 (octave-sync-function-file-names)
1006 (octave-find-definition-default-filename): Remove redundant backquotes.
1007
af67e79a
DG
10082013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1009
1010 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1011 syntax for `?'.
1012 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1013 where appropriate already.
1014 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1015 end of method names (Bug#15874).
1016
bf093209
JL
10172013-12-06 Juri Linkov <juri@jurta.org>
1018
1019 * isearch.el (isearch--saved-overriding-local-map):
1020 New internal variable.
1021 (isearch-mode): Set it to the initial value of
1022 `overriding-terminal-local-map'.
1023 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1024 with `isearch--saved-overriding-local-map'. (Bug#16035)
1025
16588fad
DG
10262013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1027
00a2b823
SM
1028 * progmodes/octave.el (inferior-octave-completion-table):
1029 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1030 (Bug#11906). Update all references.
1031
1032 * minibuffer.el (completion-table-with-cache): New function.
1033
bf4906d7
CD
10342013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1035
1036 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1037
ff69c18f
TZ
10382013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1039
1040 * net/eww.el (eww-current-source): New variable to store page
1041 source.
1042 (eww-display-html, eww-mode, eww-save-history)
1043 (eww-restore-history): Use it.
1044 (eww-view-source): New command to view page source.
1045 Opportunistically uses `html-mode' to highlight the buffer.
1046 (eww-mode-map): Install it.
1047
b85eff45
MA
10482013-12-05 Michael Albinus <michael.albinus@gmx.de>
1049
1050 * net/dbus.el (dbus-unregister-service)
1051 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1052 Fix docstring.
1053 (dbus-unregister-service): Skip :serial entries in
1054 `dbus-registered-objects-table'.
1055 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1056
39eb0899
TZ
10572013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1058
1059 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1060 around keywords with extra `split-string' argument.
1061
456760a5
MR
10622013-12-04 Martin Rudalics <rudalics@gmx.at>
1063
1064 * windmove.el (windmove-other-window-loc): Handle navigation
1065 between windows (excluding the minibuffer window - Bug#16017).
1066
81961e4c
MA
10672013-12-04 Michael Albinus <michael.albinus@gmx.de>
1068
1069 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1070 in D-Bus type syntax.
1071 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1072 preserve unibyte strings. (Bug#16048)
1073
8497f938
SM
10742013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1077 Call force-mode-line-update is the proper buffer (bug#16042).
1078
dda61916
DG
10792013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1080
1081 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1082 `log-edit-remember-comment', make argument optional. Adjust all
1083 callers.
1084 (log-edit-mode): Add `log-edit-remember-comment' to
1085 `kill-buffer-hook' locally.
1086 (log-edit-kill-buffer): Don't remember comment explicitly since
1087 the buffer is killed anyway.
1088
c085e5b9
JL
10892013-12-04 Juri Linkov <juri@jurta.org>
1090
1091 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1092 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1093
e0eb0550 10942013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1095
1096 * notifications.el (notifications-close-notification): Call the
81961e4c 1097 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1098
39fa32d6
KY
10992013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1100
1101 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1102
9139632a
JL
11032013-12-03 Juri Linkov <juri@jurta.org>
1104
1105 * progmodes/compile.el (compilation-start): Rename window alist
1106 entry `no-display-ok' to `allow-no-window'.
1107
1108 * simple.el (shell-command): Add window alist entry
1109 `allow-no-window' to `display-buffer'.
1110 (async-shell-command): Doc fix.
1111
1112 * window.el (display-buffer-no-window): New action function.
1113 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1114
0f457a37
DG
11152013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1116
1117 * vc/log-edit.el (log-edit-set-header): Extract from
1118 `log-edit-toggle-header'.
1119 (log-edit-extract-headers): Separate the summary, when extracted
1120 from header, from the rest of the message with an empty line.
1121
1122 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1123 line, if present, to the Summary header.
1124
0962f376
SM
11252013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1126
1127 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1128 in current-buffer (bug#16029).
1129
f345395c
HE
11302013-12-02 Helmut Eller <eller.helmut@gmail.com>
1131
1132 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1133 (debugger-mode-map): Bind it.
1134 (debugger--backtrace-base): New function.
1135 (debugger-eval-expression): Use it.
1136 (debugger-frame-number): Skip local vars when present.
1137 (debugger--locals-visible-p, debugger--insert-locals)
1138 (debugger--show-locals, debugger--hide-locals): New functions.
1139
a8a15d9d
MA
11402013-12-02 Michael Albinus <michael.albinus@gmx.de>
1141
1142 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1143 "LC_ALL".
1144 (tramp-get-remote-locale): New defun.
1145 (tramp-open-connection-setup-interactive-shell): Use it.
1146
0518b057
LL
11472013-12-02 Leo Liu <sdl.web@gmail.com>
1148
1149 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1150
1151 * progmodes/sh-script.el (sh-shell-process):
1152 * progmodes/octave.el (inferior-octave-process-live-p):
1153 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1154 (gdb-inferior-io-sentinel):
1155 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1156
3adc9c6d
DG
11572013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1158
1159 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1160 `save-selected-window' to `log-edit-hide-buf'. This makes
1161 `log-edit-show-files' idempotent.
1162 (log-edit-show-files): Mark the new window as dedicated.
1163
47e8b74e
DG
11642013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1165
1166 * vc/log-edit.el (log-edit-mode-map): Add binding for
1167 `log-edit-kill-biffer'.
1168 (log-edit-hide-buf): Add a FIXME comment.
1169 (log-edit-add-new-comment): New function, extracted from
1170 `log-edit-done'.
1171 (log-edit-done, log-edit-add-to-changelog): Use it.
1172 (log-edit-kill-buffer): New command.
1173
1f6e1bb0
LMI
11742013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1175
1176 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1177 instead of killing the buffer.
1178
fb651d15
SM
11792013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1180
1181 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1182
8feacce0
RS
11832013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1184
fb651d15 1185 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1186 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1187 (eww-form-checkbox, eww-toggle-checkbox):
1188 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1189
e0eb0550 1190 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1191 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1192 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1193 no :src tag was specified.
1194
fb651d15 1195 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1196 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1197 Use \\` to match beginning of string instead of ^.
1198 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1199 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1200
177948a5
RS
1201 * net/shr.el (shr-tag-video): Display content for video if no
1202 poster is available.
eb2dd24d 1203 (shr-tag-audio): Add support for <audio> tag.
177948a5 1204
e0eb0550 1205 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1206 (eww-process-text-input): Treat input types in
1207 `eww-text-input-types' as text.
1208
8feacce0
RS
1209 * net/shr.el (shr-tag-table): Fix comment typo.
1210
513562a1
LMI
12112013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1212
1213 * net/eww.el (eww-follow-link): New command to avoid reloading
1214 pages when we follow #target links (bug#15243).
de8a5633 1215 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1216
9dd99753
KN
12172013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1218
1219 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1220 forms.
1221
3e9876de
LMI
12222013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1223
1224 * net/eww.el (eww-restore-history): Update the window title after
1225 moving in the history.
ab6dea82 1226 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1227
52789f7f
DG
12282013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1229
1230 * vc/log-edit.el (log-edit-mode-map): Add binding for
1231 `log-edit-beginning-of-line'.
1232 (log-edit-setup-add-author): New user option.
1233 (log-edit-beginning-of-line): New command.
1234 (log-edit): Move major mode call above the contents setup so that
1235 the local variable values are already applied.
1236 (log-edit): Only insert "Author: " when
1237 `log-edit-setup-add-author' is non-nil.
1238 (log-edit): When SETUP is non-nil, position point after ": "
1239 instead of point-min.
1240
2e6710c3
GM
12412013-12-01 Glenn Morris <rgm@gnu.org>
1242
1243 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1244
fadec31f
EZ
12452013-11-30 Eli Zaretskii <eliz@gnu.org>
1246
1247 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1248 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1249 visible. (Bug#16014)
1250
10634b40 12512013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1252
1253 Support resizing frames and windows pixelwise.
1254 * cus-start.el (frame-resize-pixelwise)
1255 (window-resize-pixelwise): New entries.
1256 * emacs-lisp/debug.el (debug): Use window-total-height instead
1257 of window-total-size.
1258 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1259 * help.el (describe-bindings-internal): Call help-buffer
1260 (temp-buffer-max-width): New option.
1261 (resize-temp-buffer-window, help-window-setup)
1262 (with-help-window): Rewrite.
1263 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1264 dragging dividers.
1265 * window.el (frame-char-size, window-min-pixel-height)
1266 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1267 (window-min-pixel-width, window-safe-min-pixel-size)
1268 (window-combination-p, window-safe-min-size)
1269 (window-resizable-p, window--size-to-pixel)
1270 (window--pixel-to-size, window--resize-apply-p): New functions.
1271 (window-safe-min-height): Fix doc-string.
1272 (window-size, window-min-size, window--min-size-1)
1273 (window-sizable, window-sizable-p, window--min-delta-1)
1274 (window-min-delta, window--max-delta-1, window-max-delta)
1275 (window--resizable, window--resizable-p, window-resizable)
1276 (window-full-height-p, window-full-width-p, window-at-side-p)
1277 (window--in-direction-2, window-in-direction)
1278 (window--resize-reset-1, window--resize-mini-window)
1279 (window-resize, window-resize-no-error)
1280 (window--resize-child-windows-normal)
1281 (window--resize-child-windows, window--resize-siblings)
1282 (window--resize-this-window, window--resize-root-window)
1283 (window--resize-root-window-vertically)
1284 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1285 (maximize-window, minimize-window, delete-window)
1286 (quit-restore-window, window-split-min-size, split-window)
1287 (balance-windows-2, balance-windows)
1288 (balance-windows-area-adjust, balance-windows-area)
1289 (window--state-get-1, window-state-get, window--state-put-1)
1290 (window--state-put-2, window-state-put)
fb651d15
SM
1291 (display-buffer-record-window, window--display-buffer):
1292 Make functions handle pixelwise sizing of windows.
880e6158 1293 (display-buffer--action-function-custom-type)
fb651d15
SM
1294 (display-buffer-fallback-action):
1295 Add display-buffer-in-previous-window.
880e6158
MR
1296 (display-buffer-use-some-window): Resize window to height it had
1297 before.
1298 (fit-window-to-buffer-horizontally): New option.
1299 (fit-frame-to-buffer): Describe new values.
1300 (fit-frame-to-buffer-bottom-margin): Replace with
1301 fit-frame-to-buffer-margins.
1302 (window--sanitize-margin): New function.
1303 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1304 using window-text-pixel-size.
1305
f9b697dd
GM
13062013-11-30 Glenn Morris <rgm@gnu.org>
1307
3e2fb4db
GM
1308 * emacs-lisp/bytecomp.el (byte-compile-form):
1309 Make the `interactive-only' warning like the `obsolete' one.
1310 * comint.el (comint-run):
1311 * files.el (insert-file-literally, insert-file):
1312 * replace.el (replace-string, replace-regexp):
1313 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1314 (goto-line, insert-buffer, next-line, previous-line):
1315 Tweak `interactive-only' spec.
1316
f9b697dd
GM
1317 Stop keeping (most) generated cedet grammar files in the repository.
1318 * Makefile.in (semantic): New.
1319 (compile-main): Depend on semantic.
1320
da048127
SM
13212013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1322
7784b779
SM
1323 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1324 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1325
4e36a6a6
SM
1326 * uniquify.el (uniquify-buffer-name-style): Change default.
1327
1328 * loadup.el: Preload "uniquify".
1329
e0ba1308
SM
1330 * time.el (display-time-update): Update all mode lines (bug#15999).
1331
da048127
SM
1332 * electric.el (electric-indent-mode): Enable by default.
1333 * loadup.el: Preload "electric".
1334
015b3b3e
BB
13352013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1336
1337 * emacs-lisp/helpers.el (string-empty-p): New function.
1338 (string-blank-p): New function.
1339
7efb806d
AP
13402013-11-29 Andreas Politz <politza@hochschule-trier.de>
1341
1342 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1343 (Bug#14029).
1344
c8f0efc2
AP
13452013-11-29 Andreas Politz <politza@fh-trier.de>
1346 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1347 allow non-lambda lists as functions.
1348 (imenu--in-alist): Don't recurse into non-subalists.
1349 (imenu): Don't pass function itself as an argument (Bug#14029).
1350
bd15d9d1
SM
13512013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * progmodes/python.el (python-mode-map): Remove binding for ":".
1354 (python-indent-electric-colon): Remove command.
1355 (python-indent-post-self-insert-function): Integrate the previous code
1356 of python-indent-electric-colon. Make it conditional on
1357 electric-indent-mode.
1358 (python-mode): Add ?: to electric-indent-chars.
1359 Move python-indent-post-self-insert-function to the end of
1360 post-self-insert-hook.
1361
1b10adb6
SM
13622013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1363
655ab9a3
SM
1364 * doc-view.el (doc-view-goto-page): Update mode-line.
1365
1b10adb6
SM
1366 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1367
7e3bf78c
GM
13682013-11-27 Glenn Morris <rgm@gnu.org>
1369
1370 * international/charprop.el, international/uni-bidi.el:
1371 * international/uni-category.el, international/uni-combining.el:
1372 * international/uni-comment.el, international/uni-decimal.el:
1373 * international/uni-decomposition.el, international/uni-digit.el:
1374 * international/uni-lowercase.el, international/uni-mirrored.el:
1375 * international/uni-name.el, international/uni-numeric.el:
1376 * international/uni-old-name.el, international/uni-titlecase.el:
1377 * international/uni-uppercase.el:
1378 Remove generated files from VCS repository.
1379
fb6a5d68
EZ
13802013-11-27 Eli Zaretskii <eliz@gnu.org>
1381
1382 * filenotify.el (file-notify-add-watch): Don't special-case
1383 w32notify when computing the directory to watch.
1384
cb6c95a3
GM
13852013-11-27 Glenn Morris <rgm@gnu.org>
1386
20372d0c
GM
1387 Make bootstrap without generated uni-*.el files possible again.
1388 * loadup.el: Update command-line-args checking for unidata-gen.
1389 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1390 * composite.el, international/characters.el:
1391 Handle unicode tables being undefined.
1392
52d6635f 1393 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1394 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1395 (compile-main): Depend on leim rule.
1396 (leim): New rule.
1397 * loadup.el: Move leim-list.el to leim/ subdirectory.
1398 * startup.el (normal-top-level): No more leim directory.
1399 * international/ja-dic-cnv.el (skkdic-convert):
1400 Disable version-control and autoloads in output files.
1401 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1402 Disable version-control and autoloads in output files.
1403 * leim/quail: Move here from ../leim.
1404 * leim/quail/hangul.el (hangul-input-method-activate):
1405 Add autoload cookie.
1406 (generated-autoload-load-name): Set file-local value.
1407 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1408 (generated-autoload-load-name): Set file-local value.
1409
0449d6cd 14102013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee 1411
e0eb0550
JB
1412 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1413 (eww-add-bookmark): Ask confirmation when add to bookmarks
1414 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1415
0e2c793f
EZ
14162013-11-26 Eli Zaretskii <eliz@gnu.org>
1417
1418 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1419 reading output from Diff on MS-Windows and MS-DOS.
1420
447bdcb8
BB
14212013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1422
1423 * emacs-lisp/helpers.el (string-reverse): New function.
1424
5fbf6856
MA
14252013-11-26 Michael Albinus <michael.albinus@gmx.de>
1426
1427 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1428 names on MS Windows, like "/[::1]:".
1429
1430 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1431 SWITCHES.
1432
624780f0
GM
14332013-11-26 Glenn Morris <rgm@gnu.org>
1434
0bf3f0fa
GM
1435 * progmodes/python.el (python-indent-guess-indent-offset):
1436 Avoid corner-case error. (Bug#15975)
1437
624780f0
GM
1438 Preload leim-list.el. (Bug#4789)
1439 * loadup.el: Load leim-list.el when found.
1440 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1441
4301875e 14422013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1443
1444 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1445
4301875e
BB
1446 * emacs-lisp/helpers.el (string-join): New function.
1447
1633a815 14482013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1449
1450 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1451 Mark as obsolete and replace it with a symbol property.
1452 (byte-compile-form): Use new 'interactive-only property.
1453 * comint.el, files.el, replace.el, simple.el:
1454 Apply new 'interactive-only properly.
1455
00139435
MR
14562013-11-25 Martin Rudalics <rudalics@gmx.at>
1457
1458 * window.el (display-buffer-at-bottom): Make sure that
1459 split-window-sensibly creates the new window on bottom
1460 (Bug#15961).
1461
5f5b128d
DK
14622013-11-23 David Kastrup <dak@gnu.org>
1463
1464 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1465 on the conflict markers when available.
1466 (smerge--get-marker): New function.
1467 (smerge-end-re, smerge-base-re): Add subgroup.
1468
623891e5
SM
14692013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * frame.el (handle-focus-in, handle-focus-out): Add missing
1472 interactive spec.
1473
05ca27d8
MA
14742013-11-25 Michael Albinus <michael.albinus@gmx.de>
1475
1476 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1477 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1478
511fa0d3
SM
14792013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1480
e82ad66c
SM
1481 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1482 (gomoku--last-pos): New var.
1483 (gomoku--intangible-chars): New const.
1484 (gomoku--intangible): New function.
1485 (gomoku-mode): Use it. Derive from special-mode.
1486 (gomoku-move-up): Adjust line count.
1487 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1488 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1489 Simplify accordingly.
1490
511fa0d3
SM
1491 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1492 Remove blink-cursor code.
1493 (blink-cursor-timer-function, blink-cursor-suspend):
1494 Don't special-case GUIs.
1495 (blink-cursor-mode): Use focus-in/out-hook.
1496
6f20dd03
DG
14972013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1498
1499 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1500 work when annotation is invisible (Bug#13886).
1501
431dec31 15022013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1503
1504 * json.el (json-alist-p): Only return non-nil if the alist has
1505 simple keys (Bug#13518).
1506
431dec31 15072013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1508
1509 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1510 when control-statement is the first statement in a buffer (Bug#15956).
1511
ee4f0261
DG
15122013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1513
1514 * imenu.el (imenu-generic-skip-comments-and-strings):
1515 New option (Bug#15560).
1516 (imenu--generic-function): Use it.
1517
c484f866
JS
15182013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1519
1520 * minibuffer.el (completion--in-region-1): Scroll the correct
1521 window. (Bug#13898)
1522
41ce6f70
BB
15232013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1524
b55aea38
BB
1525 * emacs-lisp/helpers.el: Add some string helpers.
1526 (string-trim-left): Removes leading whitespace.
1527 (string-trim-right): Removes trailing whitespace.
1528 (string-trim): Removes leading and trailing whitespace.
1529
41ce6f70
BB
1530 * subr.el (string-suffix-p): New function.
1531
3cfb6af3
GM
15322013-11-23 Glenn Morris <rgm@gnu.org>
1533
1534 * progmodes/python.el (python-shell-send-file):
1535 Add option to delete file when done. (Bug#15647)
1536 (python-shell-send-string, python-shell-send-region): Use it.
1537
c27924b7
IS
15382013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1539
e1b01c7f
IS
1540 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1541 to set buffer-read-only to t, never to nil. (Bug#15938)
1542
c27924b7
IS
1543 * textmodes/tex-mode.el (latex-noindent-environments):
1544 Add safe-local-variable property. (Bug#15936)
1545
17e0445b
GM
15462013-11-23 Glenn Morris <rgm@gnu.org>
1547
92f78ea3
GM
1548 * textmodes/enriched.el (enriched-mode): Doc fix.
1549 * emacs-lisp/authors.el (authors-renamed-files-alist):
1550 Add enriched.doc -> enriched.txt.
1551
17e0445b
GM
1552 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1553
965bb23a
LL
15542013-11-22 Leo Liu <sdl.web@gmail.com>
1555
1556 * progmodes/octave.el (inferior-octave-startup): Spit out error
1557 message.
1558
d19ffd64
BB
15592013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1560
1561 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1562 Improve docstring.
15ba2182
BB
1563 Add :version.
1564 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1565
7a7567d2
LL
15662013-11-22 Leo Liu <sdl.web@gmail.com>
1567
1568 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1569 (Bug#15076)
8c09f64b
LL
1570 (octave-help-mode): Adapt to change to help-mode-finish to use
1571 derived-mode-p on 2013-09-17.
1572 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1573 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1574
724bc265
LL
15752013-11-22 Leo Liu <sdl.web@gmail.com>
1576
1577 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1578 (inferior-octave-startup, inferior-octave-check-process)
1579 (inferior-octave-track-window-width-change)
1580 (octave-completion-at-point, octave-eldoc-function): Use it.
1581 (octave-kill-process): Provide confirmation. (Bug#10564)
1582
38637cca
LL
15832013-11-21 Leo Liu <sdl.web@gmail.com>
1584
511fa0d3
SM
1585 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1586 Fix obsolete variable comment-use-global-state.
38637cca 1587
06e752b4
RS
15882013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1589
511fa0d3
SM
1590 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1591 Add `octave-source-file'.
06e752b4
RS
1592 (octave-source-file): New function. (Bug#15935)
1593
0449d6cd 15942013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1595
1596 * net/eww.el (eww-local-regex): New variable.
1597 (eww): Use it to detect localhost and similar.
1598
b6ffa04a
LL
15992013-11-21 Leo Liu <sdl.web@gmail.com>
1600
1601 Add completion for command `ag'.
2021a200
LL
1602 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1603 (pcomplete/ag): New function.
1604 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1605
d1a6bccc
SM
16062013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1607
1608 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1609 (bug#14646).
1610 (make-obsolete): Remove interactive spec.
1611
2df10228
GM
16122013-11-21 Glenn Morris <rgm@gnu.org>
1613
1614 * startup.el (command-line-1): Use path-separator with -L.
1615
86fd16b6
TZ
16162013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1617
1618 * emacs-lisp/package.el (describe-package-1): Add package archive
1619 to shown fields.
1620
0449d6cd 16212013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1622
1623 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1624 Change default to "# encoding: %s" to differentiate it from the
1625 default Ruby encoding comment template.
1626
dc7e8c17 16272013-11-20 era eriksson <era+emacsbugs@iki.fi>
1628
1629 * ses.el (ses-mode): Doc fix. (Bug#14748)
1630
f0cfa5fe
LL
16312013-11-20 Leo Liu <sdl.web@gmail.com>
1632
1633 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1634
826dc7b6
DN
16352013-11-19 Dan Nicolaescu <dann@gnu.org>
1636
1637 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1638 when rebase or bisect are in progress.
1639
a6e3a5d5
XF
16402013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1641
1642 * filenotify.el (file-notify-add-watch): Doc fix.
1643
f130cb76
LL
16442013-11-19 Leo Liu <sdl.web@gmail.com>
1645
e0855d7d
LL
1646 * obsolete/rcompile.el: Mark obsolete.
1647
f130cb76 1648 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1649 (compilation-goto-locus, compilation-find-file):
1650 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1651 (Bug#13594)
1652
1653 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1654 new parameter no-display-ok. Return either a window or nil
1655 but never a non-window value.
f130cb76 1656
1f35d401
SM
16572013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1658
25158c76
SM
1659 * electric.el (electric-indent-mode-map): Remove.
1660 (electric-indent-mode): Change the global-map instead (bug#15915).
1661
1662 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1663 Use add-function.
1f35d401 1664
9bc67baa
SM
16652013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1666
986545b5
SM
1667 * emacs-lisp/nadvice.el (remove-function): Align with
1668 add-function's behavior.
1669
9bc67baa
SM
1670 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1671 (gdb--string-regexp): New constant.
1672 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1673 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1674 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1675 submatch 1.
1676 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1677 Adjust use accordingly.
1678 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1679
56cd894e
AS
16802013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1681
1682 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1683 interpolation curlies (Bug#15914).
1684
014690de
JB
16852013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1686
1687 * calc/calc.el (calc-context-sensitive-enter): New variable.
1688 (calc-enter): Use `calc-context-sensitive-enter'.
1689
7e26a6c3
TZ
16902013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1691
1692 * progmodes/cfengine.el: Version bump.
1693 (cfengine-cf-promises): New defcustom to locate cf-promises.
1694 (cfengine3-vartypes): Add new "data" type.
1695 (cfengine3--current-word): New function to get current name-like
1696 word or its bounds.
1697 (cfengine3--current-function): New function to look up a CFEngine
1698 function's definition.
1699 (cfengine3-format-function-docstring): New function.
1700 (cfengine3-make-syntax-cache): New function.
1701 (cfengine3-documentation-function): New function: ElDoc glue.
1702 (cfengine3-completion-function): New function: completion glue.
1703 (cfengine3-mode): Set `compile-command',
1704 `eldoc-documentation-function', and add to
1705 `completion-at-point-functions'.
1706
355204dd
MA
17072013-11-16 Michael Albinus <michael.albinus@gmx.de>
1708
1709 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1710 `tramp-current-connection'.
1711
43cebc23
DG
17122013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1713
1714 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1715 nil/self/true/false with "end of symbol".
1716
a3fed6ff
BB
17172013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1718
1719 * subr.el (version-regexp-alist): Fix a typo.
1720
e675b3e4
MA
17212013-11-15 Michael Albinus <michael.albinus@gmx.de>
1722
1723 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1724 "en_US.utf8" and "LC_CTYPE" to "".
1725 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1726 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1727
a1f03e89
LL
17282013-11-15 Leo Liu <sdl.web@gmail.com>
1729
1730 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1731
5d9d9451
SM
17322013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1733
58362662
CS
1734 * progmodes/gud.el (ctl-x-map):
1735 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1736 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1737
6c1bf086
BB
17382013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1739
0d5363c4
BB
1740 * subr.el (version-regexp-alist):
1741 Recognize hg, svn and darcs versions as snapshot versions.
1742
4e9fc48c
BB
1743 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1744 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1745 (ruby--encoding-comment-required-p): Extract from
1746 `ruby-mode-set-encoding'.
1747 (ruby-mode-set-encoding): Add the ability to always insert an
1748 utf-8 encoding comment. Fix and simplify coding comment update
1749 logic.
6c1bf086 1750
2f7e72f8
MA
17512013-11-14 Michael Albinus <michael.albinus@gmx.de>
1752
1753 * net/tramp-gvfs.el (top): Run init code only when
1754 `tramp-gvfs-enabled' is not nil.
1755 (tramp-gvfs-enabled): Check also :system bus.
1756
0f137a73
SM
17572013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 Sync with upstream verilog-mode revision 78e66ba.
1760 * progmodes/verilog-mode.el (verilog-end-of-defun)
1761 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1762 (verilog-get-end-of-defun): Remove unused argument.
1763 (verilog-comment-depth): Remove unused local `e'.
1764 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1765 Don't pass arg to verilog-get-end-of-defun.
1766
1c276bdd
GM
17672013-11-14 Glenn Morris <rgm@gnu.org>
1768
1769 * obsolete/assoc.el (aget): Prefix dynamic variable.
1770
1771 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1772
ff6ec81d
SM
17732013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * widget.el, hfy-cmap.el: Remove bogus package version number.
1776
75f777b6
GM
17772013-11-13 Glenn Morris <rgm@gnu.org>
1778
1d43dba1
GM
1779 * replace.el (replace-eval-replacement):
1780 Try to give more helpful error message. (Bug#15836)
1781
ff4b7bd5
GM
1782 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1783 (archive-7z-update): Avoid custom type mismatches.
1784
75f777b6
GM
1785 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1786
11151a06
MA
17872013-11-13 Michael Albinus <michael.albinus@gmx.de>
1788
e675b3e4 1789 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1790 address can be empty.
1791
1792 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1793 Accept nil SWITCHES.
1794 (tramp-gvfs-handle-write-region): Implement APPEND.
1795
7b08f97e
DG
17962013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1797
1798 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1799 binary "|" operator and closing block args delimiter.
1800 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1801 (ruby-smie--implicit-semi-p): Not after "|" operator.
1802 (ruby-smie--closing-pipe-p): New function.
1803 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1804 (ruby-smie-rules): Indent after "|".
1805
f201cf3a
GM
18062013-11-12 Glenn Morris <rgm@gnu.org>
1807
1808 * ps-print.el (ps-face-attribute-list):
1809 Handle anonymous faces. (Bug#15827)
1810
e6f759f9
MR
18112013-11-12 Martin Rudalics <rudalics@gmx.at>
1812
1813 * window.el (display-buffer-other-frame): Fix doc-string.
1814 (Bug#15868)
1815
ecda65d4
SM
18162013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1817
1818 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1819
7ce8fcc3
MA
18202013-11-11 Michael Albinus <michael.albinus@gmx.de>
1821
1822 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1823 (tramp-sh-handle-file-local-copy): Don't write a message when
1824 saving temporary files.
1825
1826 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1827 both directories are remote.
1828 (tramp-smb-handle-directory-files): Do not return double entries.
1829 Do not expand full file names.
1830 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1831 (tramp-smb-handle-write-region): Implement APPEND.
1832 (tramp-smb-get-stat-capability): Fix a stupid bug.
1833
7818df11
SM
18342013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1835
1836 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1837
608c2085
NT
18382013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1839
1840 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1841 throwing error over malformed let/let* (bug#15814).
1842
122a7e46
SM
18432013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * iswitchb.el (iswitchb-mode): Mark obsolete.
1846
766284d9
GM
18472013-11-11 Glenn Morris <rgm@gnu.org>
1848
1849 * international/uni-bidi.el, international/uni-category.el:
1850 * international/uni-name.el, international/uni-numeric.el:
1851 Regenerate for Unicode 6.3.0.
1852
7072a4e9
MA
18532013-11-10 Michael Albinus <michael.albinus@gmx.de>
1854
1855 * net/tramp.el (tramp-methods):
1856 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1857 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1858
c9df215b
AS
18592013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1860
608c2085
NT
1861 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1862 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1863
fa47d796
DG
18642013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1865
1866 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1867 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1868 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1869 (ispell-complete-word): Call `ispell-lookup-words' with the value
1870 independent of `ispell-look-p'.
1871
1629a329
DG
18722013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1873
1874 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1875 Not after "||".
1876 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1877 their parent.
1878
ad16897c
SM
18792013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1882 (ruby-font-lock-keywords): Use backquote.
1883
ffa2df72
DG
18842013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1885
1886 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1887 (ruby-smie--backward-token): Only consider full-string matches.
1888
5b97b4c0
JD
18892013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1890
1891 * faces.el (describe-face): Add distant-foreground.
1892
71731c03
BB
18932013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1894
4e9fc48c
BB
1895 * progmodes/ruby-mode.el: Improve encoding comment handling.
1896 (ruby-encoding-magic-comment-style): New option.
1897 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1898 (ruby--insert-coding-comment, ruby--detect-encoding):
1899 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1900 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1901 to control the style of the auto-inserted encoding comment.
71731c03 1902
da3b328d
DG
19032013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1904
ad16897c
SM
1905 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1906 Use `smie-backward-sexp' with token argument.
da3b328d 1907
1606c2d3
MA
19082013-11-08 Michael Albinus <michael.albinus@gmx.de>
1909
1910 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1911 Remove instrumentation code.
1912
b0f4c320
GM
19132013-11-08 Glenn Morris <rgm@gnu.org>
1914
1915 * progmodes/autoconf.el (autoconf-mode):
1916 Tweak comment-start-skip. (Bug#15822)
1917
43668fb1
SM
19182013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1921 at bobp (bug#15826).
1922 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1923
daddb3fd
DH
19242013-11-08 Darren Hoo <darren.hoo@gmail.com>
1925
1926 * man.el (Man-start-calling): New macro, extracted from
1927 Man-getpage-in-background.
1928 (Man-getpage-in-background): Use it.
1929 (Man-update-manpage): New command.
1930 (Man-mode-map): Bind it.
1931
1f923923
DG
19322013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1933
1934 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1935 of "and", "or", "&&" and "||".
1936 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1937 argument. Prohibit opening curly brace because it could only be a
1938 block opener in that position.
daddb3fd
DH
1939 (ruby-smie--forward-token, ruby-smie--backward-token):
1940 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
1941 arguments.
1942 (ruby-smie--indent-to-stmt): New function, seeks the end of
1943 previous statement or beginning of buffer.
1944 (ruby-smie-rules): Use it.
1945 (ruby-smie-rules): Check if there's a ":" before a curly block
1946 opener candidate; if there is, it's a hash.
1947
3220d527
SM
19482013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1951 (cl--block-wrapper): Fix last accidental change.
1952
1eb1f9e0
MA
19532013-11-07 Michael Albinus <michael.albinus@gmx.de>
1954
1955 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1956 Instrument, in order to hunt failure on hydra.
1957
e6e4db3c
NT
19582013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1959
1960 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1961 malformed bindings form (bug#15814).
1962
b420ccfc
DG
19632013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1964
1965 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
1966 "." compared to " @ ". This incidentally fixes some indentation
1967 examples with "do".
e6e4db3c 1968 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
1969 (ruby-smie-grammar): New tokens: "and" and "or".
1970 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1971 Exclude "and" and "or". Remove "do" in order to work around token
1972 priorities.
1973 (ruby-smie-rules): Add all infix tokens. Handle the case of
1974 beginning-of-buffer.
b420ccfc 1975
6b4ac03e
GM
19762013-11-06 Glenn Morris <rgm@gnu.org>
1977
1978 * Makefile.in (setwins_almost, setwins_for_subdirs):
1979 Avoid accidental matches.
1980
5ca114d1
SM
19812013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * menu-bar.el (popup-menu): Use key-binding.
1984
f72552bd
EZ
19852013-11-06 Eli Zaretskii <eliz@gnu.org>
1986
1987 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1988 menus, support also the menus produced by minor modes.
1989 (Bug#15817)
1990
5d5c701e
LL
19912013-11-06 Leo Liu <sdl.web@gmail.com>
1992
1993 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1994 DISTANCE to bound the search. All uses changed. (Bug#15808)
1995
0a8b75e2
GM
19962013-11-06 Glenn Morris <rgm@gnu.org>
1997
1998 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
1999 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2000 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2001
a35287ea
SM
20022013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2003
feca4e2d
SM
2004 * electric.el (electric-indent-just-newline): New command.
2005 (electric-indent-mode-map): New keymap.
2006 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2007 Re-add :group which weren't redundant.
2008
a35287ea
SM
2009 * electric.el (electric-indent-local-mode): New minor mode.
2010 (electric-indent-functions-without-reindent): New var.
2011 (electric-indent-post-self-insert-function): Use it.
2012 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2013
375761b2
EZ
20142013-11-05 Eli Zaretskii <eliz@gnu.org>
2015
9a6ad735
EZ
2016 * international/quail.el (quail-help): Be more explicit about the
2017 meaning of the labels shown on the keys. (Bug#15800)
2018
375761b2
EZ
2019 * startup.el (normal-top-level): Load the subdirs.el files before
2020 setting the locale environment. (Bug#15805)
2021
520a6e4a
SM
20222013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2023
0acfafef
SM
2024 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2025 via arguments so as to get the right ones (bug#15418).
2026
520a6e4a
SM
2027 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2028
15826261
MA
20292013-11-05 Michael Albinus <michael.albinus@gmx.de>
2030
2031 Fix problems found while writing a test suite.
2032
2033 * net/tramp-compat.el (tramp-compat-load): New defun.
2034 * net/tramp.el (tramp-handle-load): Use it.
2035
2036 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2037 "(numberp ok-if-already-exists)" correctly.
2038
d35f31a4
XF
20392013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2040
2041 * international/characters.el (glyphless-char-display-control):
2042 Add usage note.
2043
ae93bc74
BB
20442013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2045
520a6e4a
SM
2046 * progmodes/python.el (python-mode):
2047 * progmodes/scheme.el (scheme-mode):
2048 * progmodes/prolog.el (prolog-mode):
2049 * progmodes/ruby-mode.el (ruby-mode):
2050 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2051 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2052
0ade65b5
SM
20532013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2054
a0d5f7a4
SM
2055 * rect.el (rectangle--highlight-for-redisplay):
2056 * emacs-lisp/smie.el (smie--next-indent-change):
2057 Use buffer-chars-modified-tick.
2058
c93f3f5c
SM
2059 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2060
0ade65b5
SM
2061 * electric.el (electric-indent-post-self-insert-function):
2062 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2063
ef9dd188
HE
20642013-11-04 Helmut Eller <eller.helmut@gmail.com>
2065
2066 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2067
306e7308
NT
20682013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2069
2070 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2071 (bug#15786).
2072
e5afbcac
SM
20732013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2074
1d01ad41
SM
2075 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2076
e5afbcac
SM
2077 * progmodes/python.el: Fix up last change.
2078 (python-shell--save-temp-file): New function.
2079 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2080 `string' comes from the current buffer.
2081 (python-shell-send-string-no-output): Remove `msg' arg.
2082 (python--use-fake-loc): New var.
2083 (python-shell-buffer-substring): Obey it. Try to compensate for the
2084 extra coding line added by python-shell--save-temp-file.
2085 (python-shell-send-region): Use python-shell--save-temp-file and
2086 python-shell-send-file directly. Add `nomain' argument.
2087 (python-shell-send-buffer): Use python-shell-send-region.
2088 (python-electric-pair-string-delimiter): New function.
2089 (python-mode): Use it.
2090
d0065ff1
EZ
20912013-11-04 Eli Zaretskii <eliz@gnu.org>
2092
2093 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2094 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2095 environment and decoding all of the default-directory's to here
2096 from command-line.
2097 (command-line): Decode also argv[0].
2098
2099 * loadup.el: Error out if default-directory is a multibyte string
2100 when we are dumping.
2101
2102 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2103
7397c587
TZ
21042013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2105
2106 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2107 (package-menu--print-info, package-menu--archive-predicate):
2108 Add Archive column to package list.
7397c587 2109
b27cc9fc
MA
21102013-11-04 Michael Albinus <michael.albinus@gmx.de>
2111
2112 Fix problems found while writing a test suite.
2113
2114 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2115 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2116 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2117 to nil when running original file name handler. Otherwise,
2118 there are problems with constructs like "$$FOO".
2119
2120 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2121 for `localname'.
2122
d8c4f18a
BB
21232013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2124
7b530552
BB
2125 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2126
2127 * subr.el (version<, version<=, version=):
2128 Update docstrings with information for snapshot versions.
2129
d8c4f18a
BB
2130 * helpers.el: New library for misc helper functions.
2131 (hash-table-keys): New function returning a list of hash keys.
2132 (hash-table-values): New function returning a list of hash values.
2133
dca01b09
DG
21342013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2135
2136 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2137 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2138
0a749fa0
MN
21392013-11-04 Michal Nazarewicz <mina86@mina86.com>
2140
2141 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2142 checking whether point is after a 1-letter word.
2143
21442013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2145
2146 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2147 Don't infloop when expanding region over `multiline' syntax-type that
2148 begins a line (bug#15778).
2149
4aca7145
SM
21502013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2151
2152 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2153 Make it into a proper minor mode.
2154 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2155 (rectangle-mark-mode-map): New keymap.
2156 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2157
a0833f62
GM
21582013-11-04 Glenn Morris <rgm@gnu.org>
2159
2160 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2161
e61845c1
SM
21622013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2165 (ruby-smie-rules): Use smie-rule-parent instead.
2166
2167 * emacs-lisp/smie.el (smie-rule-parent): Always call
2168 smie-indent-virtual rather than only for hanging tokens.
2169 (smie--next-indent-change): New helper command.
2170
62942f89
GM
21712013-11-03 Glenn Morris <rgm@gnu.org>
2172
2173 * Makefile.in (abs_srcdir): Remove.
2174 (emacs): Unset EMACSLOADPATH.
2175
b0b9e592
GM
21762013-11-02 Glenn Morris <rgm@gnu.org>
2177
18ba6a33 2178 * Makefile.in (EMACS): Use a relative filename.
8061810d 2179 (abs_top_builddir): Remove.
18ba6a33
GM
2180 (custom-deps, finder-data, autoloads): Use --chdir.
2181
6a8b929e
GM
2182 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2183
c617f3d0
GM
2184 Use relative filenames in TAGS files.
2185 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2186 (lisptagsfiles4, TAGS): Use relative file names.
2187 (TAGS-LISP): Remove.
2188 (maintainer-clean): No more TAGS-LISP file.
2189
b0b9e592
GM
2190 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2191 (lisptagsfiles4): Use absolute filenames again.
2192 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2193 Remove all *loaddefs files, not just the first. Remove esh-groups.
2194 (maintainer-clean): Delete TAGS, TAGS-LISP.
2195
d1c0ea6a
BB
21962013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2197
e61845c1
SM
2198 * emacs-lisp/package.el (package-version-join):
2199 Recognize snapshot versions.
d1c0ea6a 2200
684d71c6
BB
22012013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2202
2203 * subr.el (version-regexp-alist): Add support for snapshot versions.
2204
3d42b968
DG
22052013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2206
e61845c1
SM
2207 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2208 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2209 skip over our direct parent if it's an assignment token..
2210 (ruby-smie-rules): Use it.
2211
7ffd3721
DG
22122013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2213
2214 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2215 unconditionally. Remove now unnecessary forward declarations.
2216 Remove XEmacs-specific setup.
2217 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2218 (ruby-font-lock-syntactic-keywords)
2219 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2220 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2221 (ruby-here-doc-end-syntax): Remove.
2222 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2223 defined as function.
2224
a3996a2e
BB
22252013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2226
2227 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2228
6f9260e8
BB
22292013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2230
2231 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2232 table and abbrev table, `define-derived-mode' does that for us
2233 anyway.
2234
6014de84
GM
22352013-11-01 Glenn Morris <rgm@gnu.org>
2236
2237 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2238 files is atomic for some time, so no parallel compilation issues).
2239
3c334c14
JD
22402013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2241
2242 * faces.el (face-x-resources): Add :distant-foreground.
2243 (region): Use :distant-foreground for gtk and ns.
2244
9bc236c8
TH
22452013-11-01 Tassilo Horn <tsdh@gnu.org>
2246
5246583b 2247 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2248 BibTeX.
2249 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2250 (reftex-locate-bibliography-files): Us it.
2251
d14c81ee
CB
22522013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2253
0e7690de
CB
2254 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2255 allow comments in pbm files.
2256
d14c81ee
CB
2257 * term/w32-win.el (dynamic-library-alist): Support newer versions
2258 of libjpeg starting with v7: look only for the DLL from the
2259 version against which Emacs was built.
ac1bf374 2260 Support versions of libpng beyond 1.4.x.
019c8218 2261 Support libtiff v4.x.
d14c81ee 2262
983d0df5
BB
22632013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2264
2265 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2266 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2267 Add property :safe.
2268 (ruby-deep-arglist): Add property :type.
2269
47f58d85
GM
22702013-10-31 Glenn Morris <rgm@gnu.org>
2271
2272 * Makefile.in (custom-deps, finder-data): No need to setq the target
2273 variables, we are in the right directory and the defaults work fine.
2274
4f85b479
GM
22752013-10-30 Glenn Morris <rgm@gnu.org>
2276
ca7dd4cd
GM
2277 * Makefile.in (autoloads): Do not use abs_lisp.
2278
4f85b479
GM
2279 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2280 `newline' does not respect `standard-output', so use `princ'.
2281
cf59e41c
AA
22822013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2283
2284 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2285 * buff-menu.el (Buffer-menu--unmark): New function.
2286 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2287
74cf04fb
GM
22882013-10-30 Glenn Morris <rgm@gnu.org>
2289
b040b60e
GM
2290 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2291
f53d3815
GM
2292 * emacs-lisp/package.el (lm-homepage): Declare.
2293
5413d873
GM
2294 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2295 Fix doc typos.
2296
cecedb36
GM
2297 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2298
74cf04fb
GM
2299 * Makefile.in (finder-data, autoloads, update-subdirs)
2300 (compile-main, compile-clean, compile-always, bootstrap-clean):
2301 Check return value of cd.
2302 (compile-calc): Remove.
2303
195ee2f0
SM
23042013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2305
ae4002ce
SM
2306 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2307
2308 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2309 (byte-compile-and-folded): New function.
2310 (=, <, >, <=, >=): Use it.
2311
2312 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2313 (path-separator, null-device, buffer-file-coding-system)
2314 (lpr-headers-switches): Check system-type before modifying them.
2315 (find-buffer-file-type-coding-system): Mark obsolete.
2316 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2317 find-file-not-found-set-buffer-file-coding-system.
2318 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2319 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2320 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2321 (w32-direct-print-region-helper, w32-direct-print-region-function)
2322 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2323 * startup.el (normal-top-level-add-subdirs-to-load-path):
2324 * ps-print.el (ps-print-region-function):
2325 * lpr.el (print-region-function): Use new name.
2326
53b39e89
SM
2327 * subr.el (custom-declare-variable-early): Remove function.
2328 (custom-declare-variable-list): Remove var.
2329 (error, user-error): Remove `while' loop.
2330 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2331 (user-emacs-directory-warning, locate-user-emacs-file):
2332 Move to files.el.
2333 * simple.el (read-quoted-char-radix, read-quoted-char):
2334 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2335 Move from subr.el.
2336 * custom.el (custom-declare-variable-list): Don't process
2337 custom-declare-variable-list.
2338
195ee2f0
SM
2339 * progmodes/python.el (python-shell-get-buffer): New function.
2340 (python-shell-get-process): Use it.
2341 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2342 Python which encoding was used. Don't split-string since we only care
2343 about the first line. Return the temp-file, if applicable.
2344 (python-shell-send-region): Tell compile.el how to turn locations in
2345 the temp-file into locations in the source buffer.
2346
7e3561ee
SM
23472013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2348
4c9797cb
SM
2349 * subr.el (undefined): Add missing behavior from the C code for
2350 unbound keys.
2351
3472b6c6
SM
2352 * rect.el: Use lexical-binding. Add new rectangular region support.
2353 (rectangle-mark): New command.
2354 (rectangle--region): New var.
2355 (deactivate-mark-hook): Reset rectangle--region.
2356 (rectangle--extract-region, rectangle--insert-for-yank)
2357 (rectangle--highlight-for-redisplay)
2358 (rectangle--unhighlight-for-redisplay): New functions.
2359 (region-extract-function, redisplay-unhighlight-region-function)
2360 (redisplay-highlight-region-function): Use them to handle
2361 rectangular region.
2362 * simple.el (region-extract-function): New var.
2363 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2364 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2365 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2366 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2367 (redisplay-unhighlight-region-function)
2368 (redisplay-highlight-region-function): New vars.
2369 (redisplay--update-region-highlight): New function.
2370 (pre-redisplay-function): Use it.
2371 (exchange-point-and-mark): Don't deactivate the mark before
2372 reactivate-it anyway.
2373 * comint.el (comint-kill-region): Remove yank-handler argument.
2374 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2375 (delete-char): Remove property, since it's now part of their
2376 default behavior.
2377 (self-insert-iso): Remove property since this command doesn't exist.
2378
7e3561ee
SM
2379 * emacs-lisp/package.el (package--download-one-archive)
2380 (describe-package-1): Don't query the user about final newline.
2381
b9bef71f
DC
23822013-10-29 Daniel Colascione <dancol@dancol.org>
2383
2384 * net/tramp.el (tramp-methods): Document new functionality.
2385 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2386 tramp-hostname-checker if method provides one instead of scanning
2387 argument list for "%h" to decide hostname acceptability.
2388
4efc33f0
MA
23892013-10-28 Michael Albinus <michael.albinus@gmx.de>
2390
2391 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2392 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2393 Handle COPY-CONTENTS. (Bug#15737)
2394
ed42a877
DU
23952013-10-28 Daiki Ueno <ueno@gnu.org>
2396
2397 * epa-file.el
7e3561ee
SM
2398 (epa-file-cache-passphrase-for-symmetric-encryption):
2399 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2400
18c9f8a2
XF
24012013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2402
7a4bc7be
XF
2403 * image.el (defimage):
2404 (image-load-path): Doc fixes.
18c9f8a2 2405
b1e8e010
AM
24062013-10-27 Alan Mackenzie <acm@muc.de>
2407
2408 Indent statements in macros following "##" correctly.
7e3561ee
SM
2409 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2410 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2411
73d40d1e 24122013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2413
2414 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2415
c8c605ac
DG
24162013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2417
2418 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2419 after `=' is probably a new expression.
2420
ca7e59d4
RS
24212013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2422
2423 * man.el (man-imenu-title): New option.
2424 (Man-mode-map): Add menu. (Bug#15722)
2425 (Man-mode): Add imenu to menu.
2426
bae91342
DG
24272013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2428
2429 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2430 specific in what the first arg can be: a non-keyword word,
2431 string/regexp/percent literal opener, opening paren, or unary
2432 operator followed directly by word.
2433
eb89dc14
SM
24342013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2435
2436 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2437 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2438 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2439 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2440 Remove vars, they do not apply any more.
2441 (prolog-mode-abbrev-table): Remove redundant declaration.
2442 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2443 (prolog-use-smie): Remove.
2444 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2445 supported by prolog-electric-if-then-else-flag.
2446 (prolog-mode-variables, prolog-menu): Use setq-local.
2447 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2448 Remove binding to `Backspace' since this key doesn't exist anyway.
2449 Remove bindings for electric self-inserting keys.
2450 (prog-mode): Assume it's defined.
2451 (prolog-post-self-insert): New function.
2452 (prolog-mode): Use it.
2453 (prolog-indent-line, prolog-indent-level)
2454 (prolog-find-indent-of-matching-paren)
2455 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2456 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2457 (prolog-goto-next-paren, prolog-in-string-or-comment)
2458 (prolog-tokenize, prolog-inside-mline-comment)
2459 (prolog-find-start-of-mline-comment): Remove functions.
2460 (prolog-find-unmatched-paren, prolog-clause-end)
2461 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2462 (prolog-electric--if-then-else): Rename from
2463 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2464 (prolog-tokenize-searchkey): Remove const.
2465 (prolog-clause-info): Use forward-sexp.
2466 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2467 (prolog-electric-if-then-else): Remove commands.
2468 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2469 for use in post-self-insert-hook.
2470 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2471 for use in post-self-insert-hook.
2472 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2473 for use in post-self-insert-hook.
2474 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2475 adapt it for use in post-self-insert-hook.
2476
3dab0a83
MA
24772013-10-25 Michael Albinus <michael.albinus@gmx.de>
2478
2479 * emacs-lisp/ert.el (ert-run-tests-interactively):
2480 Use `completing-read'. (Bug#9756)
2481
fbfd0e1d
EZ
24822013-10-25 Eli Zaretskii <eliz@gnu.org>
2483
2484 * simple.el (line-move): Call line-move-1 instead of
2485 line-move-visual when the current window hscroll is zero, but
2486 temporary-goal-column indicates we will need to hscroll as result
2487 of the movement. (Bug#15712)
2488
963ce636
DG
24892013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2490
2491 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2492 capitalization. Use :visible instead of :active.
2493 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2494 commands that are used with SMIE.
2495 (ruby-do-end-to-brace): Insert space after `{'.
2496
a0be396a
JA
24972013-10-25 John Anthony <john@jo.hnanthony.com>
2498
f73754c9
JA
2499 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2500
2501 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2502
f5bf77df
GM
25032013-10-25 Glenn Morris <rgm@gnu.org>
2504
2505 * vc/vc.el (vc-print-log): Don't use a working revision unless
2506 one was explicitly specified. (Bug#15322)
2507
37241f62
SM
25082013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * subr.el (add-to-list): Preserve return value in compiler-macro
2511 (bug#15692).
2512
6408a65d
RS
25132013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2514
2515 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2516 result. Ask user to retry using '-all' flag. (Bug#15701)
2517
71e3276b
SM
25182013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2519
2520 * emacs-lisp/smie.el: New smie-config system.
2521 (smie-config): New defcustom.
2522 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2523 (smie-config-guess, smie-config-save): New commands.
2524 (smie-config--mode-local, smie-config--buffer-local)
2525 (smie-config--trace, smie-config--modefuns): New vars.
2526 (smie-config--advice, smie-config--mode-hook)
2527 (smie-config--setter, smie-config-local, smie-config--get-trace)
2528 (smie-config--guess-value, smie-config--guess): New functions.
2529 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2530 text properties. Treat "string fence" syntax like string syntax.
2531
2532 * progmodes/sh-script.el (sh-use-smie): Change default.
2533 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2534 (sh-var-value): Simplify by CSE.
2535 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2536 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2537 is used.
2538 (sh-guess-basic-offset): Use cl-incf.
2539 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2540
60db713e
HE
25412013-10-24 Helmut Eller <eller.helmut@gmail.com>
2542
2543 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2544 (bug#15699).
2545
8b251df6
GM
25462013-10-24 Glenn Morris <rgm@gnu.org>
2547
2548 * Makefile.in (abs_top_srcdir): Remove.
2549 (update-subdirs): Use relative path to update-subdirs.
2550
6be0e22b
EZ
25512013-10-24 Eli Zaretskii <eliz@gnu.org>
2552
2553 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2554 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2555 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2556 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2557
50b5b857
MA
25582013-10-24 Michael Albinus <michael.albinus@gmx.de>
2559
2560 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2561 (ert-test-skipped): New error.
2562 (ert-skip, ert-stats-skipped): New defuns.
2563 (ert--skip-unless): New macro.
2564 (ert-test-skipped): New struct.
2565 (ert--run-test-debugger, ert-test-result-type-p)
2566 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2567 (ert--stats-set-test-and-result, ert-char-for-test-result)
2568 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2569 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2570 Handle skipped tests. (Bug#9803)
50b5b857 2571
6f317c2f
GM
25722013-10-24 Glenn Morris <rgm@gnu.org>
2573
e43817c1
GM
2574 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2575
6f317c2f
GM
2576 * Makefile.in (abs_top_srcdir): New, set by configure.
2577 (update-subdirs): Correct build-aux location.
2578
369bbf71
DG
25792013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2580
8297b2cf
DG
2581 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2582 value, whether we could auto-deduce `backend', or not.
2583
369bbf71
DG
2584 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2585 with parameters" example. Simplify the "is it block or is it
2586 hash" check, but also make it more thorough.
2587
d5f1282f
MF
25882013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2589
2590 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2591
bc4aaa31
SM
25922013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2593
03d44565
SM
2594 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2595 { if it is hanging.
2596
bc4aaa31
SM
2597 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2598 :before ";".
2599
f493ff19
JB
26002013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2601
2602 * progmodes/compile.el (compilation-directory-matcher)
2603 (compilation-page-delimiter):
2604 Support GNU Make-4.0 directory quoting. (Bug#15678)
2605
c744a3b9
LL
26062013-10-23 Leo Liu <sdl.web@gmail.com>
2607
2608 * ido.el (ido-tidy): Handle read-only text.
2609
b8e3b0a9
GM
26102013-10-23 Glenn Morris <rgm@gnu.org>
2611
2612 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2613 (emacs, compile, compile-always):
2614 Quote entities that might contain whitespace.
2615 (custom-deps, finder-data, autoloads): Use abs_lisp.
2616 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2617 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2618 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2619
ee4282cd
DG
26202013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2621
bc4aaa31
SM
2622 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2623 Use `following-char'.
7790a270 2624
ee4282cd 26252013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2626
2627 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2628 * progmodes/ruby-mode.el (ruby-smie-rules):
2629 Remove corresponding workaround. Fix indentation rule of ";" so it
2630 also applies when ";" is the parent.
2631
d40a46d7
XF
26322013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2633
2634 * frame.el (display-screens, display-pixel-height)
2635 (display-pixel-width, display-mm-width, display-backing-store)
2636 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2637 (display-visual-class, display-monitor-attributes-list):
2638 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2639
a0f143c9
MG
26402013-10-22 Michael Gauland <mikelygee@amuri.net>
2641
2642 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2643 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2644
18cacc39
DG
26452013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2646
2647 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2648 TODO. Add "." after " @ ".
2649 (ruby-smie--at-dot-call): New function. Checks if point at method
2650 call with explicit target.
2651 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2652 to the method name tokens when it precedes them.
2653 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2654 (ruby-smie-rules): Add rule for indentation before and after "."
2655 token.
2656
df74c4be
SM
26572013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2658
c6dab55f
SM
2659 * textmodes/remember.el (remember-diary-extract-entries):
2660 Avoid add-to-list.
2661
df74c4be
SM
2662 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2663 an instruction.
2664
8c1ae481
DG
26652013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2666
cfef16c0
DG
2667 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2668 (ruby-smie--implicit-semi-p): Add new operator chars.
2669
8c1ae481
DG
2670 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2671 `smie-down-list'.
2672 (ruby-smie--args-separator-p): Check that there's no newline
2673 between method call and its arguments.
2674
87756ca9
AM
26752013-10-20 Alan Mackenzie <acm@muc.de>
2676
2677 Allow comma separated lists after Java "implements".
2678
df74c4be
SM
2679 * progmodes/cc-engine.el (c-backward-over-enum-header):
2680 Parse commas.
87756ca9
AM
2681 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2682 from a "disallowed" list in enum fontification.
2683
c25f8957
JB
26842013-10-20 Johan Bockgård <bojohan@gnu.org>
2685
df74c4be 2686 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2687
c25f8957
JB
2688 * progmodes/verilog-mode.el (verilog-mode): Don't set
2689 comment-indent-function globally.
2690
aca5fcdc
JD
26912013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2692
5f161884
JD
2693 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2694 Move Info menu item creation to ns-win.el.
2695
2696 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2697 in menu bar.
2698
aca5fcdc
JD
2699 * menu-bar.el: Move GNUStep specific menus...
2700
2701 * term/ns-win.el (ns-initialize-window-system): ... to here.
2702
914b7f98
SM
27032013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * simple.el (newline): Only run post-self-insert-hook when
2706 called interactively.
2707
846ffe77
JB
27082013-10-19 Johan Bockgård <bojohan@gnu.org>
2709
2710 * icomplete.el (icomplete-with-completion-tables): Add :version.
2711
033f22dd
AM
27122013-10-19 Alan Mackenzie <acm@muc.de>
2713
2714 Fix fontification bugs with constructors and const.
2715
2716 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2717 CASE 2) Remove the check for the absence of a suffix construct
2718 after a function declaration with only types (no identifiers) in
2719 the parentheses. Also, accept a function declaration with just a
2720 type inside the parentheses, if this type can be positively
2721 recognised as such, or if a prefix keyword like "explicit" nails
2722 down the construct as a declaration.
2723
58ce0cfc
EZ
27242013-10-19 Eli Zaretskii <eliz@gnu.org>
2725
2726 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2727 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2728 the problem whereby selecting a menu item that leads to a
2729 minibuffer prompt moves the cursor out of the minibuffer window,
2730 making it hard to type at the prompt. Suggested by Stefan Monnier
2731 <monnier@iro.umontreal.ca>.
2732
50e28e7d
JD
27332013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2734
2735 * menu-bar.el: Don't make Services menu.
2736
7deed4bf
RS
27372013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2738
2739 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2740 (ffap-alist): Use ffap-c++-mode for c++-mode.
2741 (ffap-c++-path): New variable.
2742 (ffap-c++-mode): New function.
2743
7bcb455b
JVJ
27442013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2745
2746 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2747
f0ff1cd5
MA
27482013-10-18 Michael Albinus <michael.albinus@gmx.de>
2749
2750 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2751 introduced on 2013-09-08, which results in an infinite loop
2752 requesting a password.
2753
d64da4b7
GM
27542013-10-18 Glenn Morris <rgm@gnu.org>
2755
2756 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2757
ea89ff08
WS
27582013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2759
2760 Sync with upstream verilog-mode revision 1a6ecec7.
2761 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2762 (verilog-mode-release-date): Remove.
2763 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2764 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2765 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2766 (verilog-auto-tieoff-ignore-regexp)
2767 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2768 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2769 (verilog-signals-with, verilog-dir-cache-preserving)
2770 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2771 Doc fixes.
2772 (verilog-case-fold): New option, to control case folding in
2773 regexp searches, bug597.
2774 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2775 (verilog-string-match-fold, verilog-in-paren-count)
2776 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2777 (verilog-at-close-struct-p): New functions.
2778 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2779 (verilog-forward-sexp, verilog-set-auto-endcomments):
2780 (verilog-leap-to-case-head): Handle "unique0" case.
2781 (verilog-in-constraint-re): New constant.
2782 (verilog-keywords, verilog-type-font-keywords):
2783 Add some SystemVerilog 1800-2012 keywords.
2784 (verilog-label-be): Remove unimplemented argument, bug669.
2785 (verilog-batch-execute-func): When batch expanding clear
2786 create-lockfiles to prevent spurious user locks when a file ends
2787 up not changing.
2788 (verilog-calculate-indent, verilog-calc-1)
2789 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2790 (verilog-do-indent): Fix indentation of nested constraints
2791 and structures.
2792 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2793 (verilog-auto-inst-param): Use verilog-string-match-fold.
2794 (verilog-read-inst-module-matcher):
2795 Fix AUTOINST on gate primitives with #1.
2796 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2797 Reads all user-defined typed variables.
2798 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2799 (verilog-signals-matching-regexp)
2800 (verilog-signals-not-matching-regexp, verilog-auto):
2801 Respect verilog-case-fold.
2802 (verilog-diff-report): Fix line count.
2803 (verilog-auto-assign-modport): Remove unused local `modi'.
2804 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2805 better handle multidimensional arrays.
2806 Fix packed array ports misadding bit index in AUTOINST, bug637.
2807 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2808 to not double-declare existing outputs and inputs, respectively.
2809 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2810 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2811 (verilog-sk-uvm-component): New skeleton.
2812 (verilog-submit-bug-report): Add verilog-case-fold,
2813 remove verilog-mode-release-date.
2814
ef566920
BR
28152013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2816
2817 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2818 as before.
2819
29df8a0b
RT
28202013-10-18 Reuben Thomas <rrt@sc3d.org>
2821
e0eb0550 2822 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
2823 remember buffers (bug#13566).
2824
04a19a79
DC
28252013-10-18 Daniel Colascione <dancol@dancol.org>
2826
2827 When evaluating forms in ielm, direct standard output to ielm
2828 buffer. Add new ielm-return-for-effect command. Remove trailing
2829 whitespace throughout.
2830
2831 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2832 (ielm-return-for-effect): New command.
2833 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2834 (ielm-eval-input): Accept optional `for-effect' parameter.
2835 Bind `standard-output' to stream we create using
04a19a79
DC
2836 `ielm-standard-output-impl'. Suppress printing result when
2837 `for-effect'.
2838 (ielm-standard-output-impl): New function.
2839 (inferior-emacs-lisp-mode): Explain new features in documentation.
2840
4c1f03ef
MA
28412013-10-17 Michael Albinus <michael.albinus@gmx.de>
2842
2843 Code cleanup.
2844
2845 * net/tramp.el (tramp-debug-message): Do not check for connection
2846 buffer.
2847 (tramp-message): Use "vector" connection property.
2848
2849 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2850 (tramp-equal-remote, tramp-eshell-directory-change)
2851 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2852 (tramp-adb-handle-rename-file)
2853 * net/tramp-cmds.el (tramp-list-remote-buffers)
2854 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2855 * net/tramp-compat.el (tramp-compat-process-running-p)
2856 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2857 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2858 (tramp-gvfs-handle-rename-file)
2859 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2860 (tramp-set-file-uid-gid)
2861 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2862 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2863 of `file-remote-p'.
2864
2865 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2866 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2867 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2868 (tramp-gw-open-network-stream): Suppress unrelated traces.
2869
2870 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2871 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2872 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2873 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2874 connection property.
2875
2876 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2877 persistency file.
4c1f03ef
MA
2878
2879 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2880 Refactor common code. Improve debug message.
2881 (tramp-maybe-open-connection)
2882 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2883 connection buffer too early.
2884
2885 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2886 from `tramp-smb-actions-with-acl'.
2887 (tramp-smb-actions-set-acl): New defconst.
2888 (tramp-smb-handle-copy-directory)
2889 (tramp-smb-action-get-acl): New defun, renamed from
2890 `tramp-smb-action-with-acl'.
2891 (tramp-smb-action-set-acl): New defun.
2892 (tramp-smb-handle-set-file-acl): Rewrite.
2893
642eb8b6
GM
28942013-10-17 Glenn Morris <rgm@gnu.org>
2895
2896 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2897
85527ff3
SM
28982013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2899
921c1d62
SM
2900 * skeleton.el (skeleton-newline): Remove.
2901 (skeleton-internal-1): Use (insert "\n") instead.
2902
e333fb10
SM
2903 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2904 let-bindings.
2905
85527ff3
SM
2906 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2907 forward-sexp-function while we redo its job (bug#15613).
2908
c8722a97
JB
29092013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2910
2911 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2912 represented by lists.
2913
7a550bbb
GM
29142013-10-16 Glenn Morris <rgm@gnu.org>
2915
2916 * tmm.el (tmm--history): New dynamic variable.
2917 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2918
f19da8ad
MA
29192013-10-16 Michael Albinus <michael.albinus@gmx.de>
2920
2921 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2922 (tramp-smb-errors): Add error messages.
2923 (tramp-smb-actions-with-acl): New defconst.
2924 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2925 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2926 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2927 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2928 (tramp-smb-get-stat-capability): Fix tests.
2929
a24b9961
DK
29302013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2931
2932 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2933 (bug#15580).
2934
62ad85e6
GM
29352013-10-16 Glenn Morris <rgm@gnu.org>
2936
0283d6b0
GM
2937 * ansi-color.el (ansi-color-drop-regexp):
2938 Add 1J, 1K, 2K. (Bug#15617)
2939
012e2f9f
GM
2940 * files.el (hack-local-variables--warned-lexical): New.
2941 (hack-local-variables):
2942 Warn about misplaced lexical-binding. (Bug#15616)
2943
62ad85e6
GM
2944 * net/eww.el (eww-render): Always set eww-current-url,
2945 and update header line. (Bug#15622)
2946 (eww-display-html): ... Rather than just doing it here.
2947
6456c0ea
EZ
29482013-10-15 Eli Zaretskii <eliz@gnu.org>
2949
2950 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2951 menu navigations commands.
2952
c2de5588
DK
29532013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2954
2955 * progmodes/subword.el (subword-capitalize): Be careful when
2956 the search for [[:alpha:]] fails (bug#15580).
2957
ccd4a783
EZ
29582013-10-14 Eli Zaretskii <eliz@gnu.org>
2959
2960 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2961 to commands that scroll the menu.
2962
1eda1d8d
DG
29632013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2964
c2de5588
DK
2965 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2966 Handle methods ending with `?' and `!'.
1eda1d8d 2967
e70181b8
AM
29682013-10-14 Akinori MUSHA <knu@iDaemons.org>
2969
2970 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2971 `japanese-cp932' to `cp932' to fix the problem where saving a
2972 source file written in Shift_JIS twice would end up having
2973 `coding: japanese-cp932' which Ruby could not recognize.
2974 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2975 in `ruby-encoding-map'.
2976 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2977 doesn't need to be explicitly declared in magic comment.
2978 (ruby-encoding-map): Add type declaration for better customize UI.
2979
9148ee92
GM
29802013-10-13 Glenn Morris <rgm@gnu.org>
2981
a5d38e34
GM
2982 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2983 Occur buffers are read-only. http://bugs.debian.org/720775
2984
9148ee92
GM
2985 * emacs-lisp/authors.el (authors-fixed-entries):
2986 Comment out old alpha stuff.
2987
a9ba094b
DG
29882013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2989
2990 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2991 to `after-save-hook' instead of `before-save-hook'.
2992 (ruby-mode-set-encoding): Use the value of coding system used to
2993 write the file. Call `basic-save-buffer-1' after modifying the
2994 buffer.
2995
7a068717
AM
29962013-10-13 Alan Mackenzie <acm@muc.de>
2997
2998 Fix indentation/fontification of Java enum with
2999 "implements"/generic.
3000
c2de5588
DK
3001 * progmodes/cc-engine.el (c-backward-over-enum-header):
3002 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3003 (c-inside-bracelist-p): Uses new function above.
3004 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3005 function above.
3006 (c-font-lock-enum-tail): Uses new function above.
3007
85b64f02
KH
30082013-10-13 Kenichi Handa <handa@gnu.org>
3009
3010 * international/mule-cmds.el (select-safe-coding-system): Remove a
3011 superfluous condition in chekcing whether a coding system is safe
3012 or not.
3013
fc7f501b
OK
30142013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3015
3016 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3017
fdcb2049
AP
30182013-10-13 Andreas Politz <politza@hochschule-trier.de>
3019
3020 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3021
8c106d17
GM
30222013-10-13 Glenn Morris <rgm@gnu.org>
3023
feab892d
GM
3024 * menu-bar.el (menu-bar-update-buffers):
3025 Unify Buffers menu prompt string. (Bug#15576)
3026
b22d0686
GM
3027 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3028
8c106d17
GM
3029 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3030 Add some entries.
3031 (authors-fixed-entries): Use accented form of name.
3032
1b12c797
SM
30332013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3034
650fa7bf 3035 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3036 method calls (bug#15594).
650fa7bf
SM
3037 (ruby-smie--args-separator-p): New function.
3038 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3039 recognize paren-free method calls.
3040
1b12c797
SM
3041 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3042 internals of universal-argument.
3043
029619c8
EZ
30442013-10-11 Eli Zaretskii <eliz@gnu.org>
3045
3046 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3047 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3048 dropped menu on second mouse click on the menu bar.
029619c8 3049
dd070019
SM
30502013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3051
3052 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3053 (explicit-shell-file-name): Declare.
3054 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3055 (sh-completion-at-point-function): New function.
3056 (sh-mode): Use it.
3057 (sh-smie--keyword-p): Remove unused argument.
3058 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3059 vars.
3060 (sh-set-shell): Always setup SMIE, even if we use the
3061 old indentation code.
3062
0922b826
DG
30632013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3064
b68e2926
DG
3065 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3066 cases of ? and =.
3067 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3068 predicate would return nil are almost non-existent.
3069 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3070
0922b826
DG
3071 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3072 cache also after commands that modify the buffer but don't move
3073 point.
3074
ee041f2d
SM
30752013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * env.el (substitute-env-in-file-name): New function.
3078 (substitute-env-vars): Extend the meaning of the optional arg.
3079
a5dab159
EZ
30802013-10-10 Eli Zaretskii <eliz@gnu.org>
3081
3082 * term/w32-win.el (dynamic-library-alist): Define separate lists
3083 of GIF DLLs for versions before and after 5.0.0 of giflib.
3084 (Bug#15531)
3085
0449d6cd 30862013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3087
3088 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3089 not locked, use last revision and current source as
3090 defaults. (Bug#15569)
3091
2f6e161e
MY
30922013-10-10 Masatake YAMATO <yamato@redhat.com>
3093
3094 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3095 menu-bar is hidden.
3096
6c8413fc
MR
30972013-10-10 Martin Rudalics <rudalics@gmx.at>
3098
3099 * window.el (pop-to-buffer-same-window): Fix doc-string.
3100 (Bug#15492)
3101
20832de0
SM
31022013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3103
3104 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3105
c6e8ae77
AC
31062013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3107
3108 * calendar/icalendar.el (icalendar-import-file):
3109 Fix interactive spec. (Bug#15482)
3110
9db13baf
GM
31112013-10-10 Glenn Morris <rgm@gnu.org>
3112
9271e90e
GM
3113 * desktop.el (desktop-save): Default to saving in .emacs.d,
3114 since PWD is no longer in desktop-path by default. (Bug#15319)
3115
9db13baf
GM
3116 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3117 now that text mode has a menu with the same entry.
3118 (menu-bar-text-mode-auto-fill): Remove now unused func.
3119 * textmodes/text-mode.el (text-mode-map):
3120 Use auto-fill help text from menu-bar.el.
3121
a0be396a 31222013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3123
3124 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3125
2edcd3c7
JL
31262013-10-09 Juri Linkov <juri@jurta.org>
3127
3128 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3129 instead of this-command-keys. Add universal-argument-more and
3130 universal-argument-minus to the list of prefix commands. (Bug#15568)
3131
574411d0
GM
31322013-10-09 Glenn Morris <rgm@gnu.org>
3133
14afa541
GM
3134 * vc/vc-svn.el (vc-svn-create-repo):
3135 Expand paths in file://... url. (Bug#15446)
3136
574411d0
GM
3137 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3138 Add some entries.
3139 (authors): Remove unused local variables.
3140
79804536
SM
31412013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3142
3143 * profiler.el: Create a more coherent calltree from partial backtraces.
3144 (profiler-format): Hide the tail with `invisible' so that C-s can still
3145 find the hidden elements.
3146 (profiler-calltree-depth): Don't recurse so enthusiastically.
3147 (profiler-function-equal): New hash-table-test.
3148 (profiler-calltree-build-unified): New function.
3149 (profiler-calltree-build): Use it.
3150 (profiler-report-make-name-part): Indent the calltree less.
3151 (profiler-report-mode): Add visibility specs for profiler-format.
3152 (profiler-report-expand-entry, profiler-report-toggle-entry):
3153 Expand the whole subtree when provided with a prefix arg.
3154
238150c8
DG
31552013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3156
3157 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3158 iuwu-mod token.
3159 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3160 hanging iuwu-mod token.
3161 (ruby-smie--forward-token): Do not include a dot after a token in
3162 that token.
3163 (ruby-smie--backward-token): Likewise.
3164
b0949cc4
JL
31652013-10-08 Juri Linkov <juri@jurta.org>
3166
3167 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3168 to isearch-other-control-char.
3169 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3170 and isearch-post-command-hook to post-command-hook.
3171 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3172 and isearch-post-command-hook from post-command-hook.
3173 (isearch-unread-key-sequence)
3174 (isearch-reread-key-sequence-naturally)
3175 (isearch-lookup-scroll-key, isearch-other-control-char)
3176 (isearch-other-meta-char): Remove functions.
3177 (isearch-pre-command-hook, isearch-post-command-hook):
3178 New functions based on isearch-other-meta-char rewritten
3179 relying on the new behavior of overriding-terminal-local-map
3180 that does not replace the local keymaps any more. (Bug#15200)
3181
4ed77415
EZ
31822013-10-08 Eli Zaretskii <eliz@gnu.org>
3183
3184 Support menus on text-mode terminals.
3185 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3186 functionality.
3187
3188 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3189
c2de5588
DK
3190 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3191 Move here from mouse.el.
4ed77415
EZ
3192 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3193 and arrow keys.
3194 (tty-menu-navigation-map): New map for TTY menu navigation.
3195
3196 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3197
3198 * frame.el (display-mouse-p): Report text-mode mouse as available
3199 on w32.
3200 (display-popup-menus-p): Report availability if mouse is
3201 available; don't condition on window-system.
3202
3203 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3204 (tty-menu-selected-face): New faces.
3205
b7d5bd82
TL
32062013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3207
06286513
SM
3208 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3209 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3210 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3211 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3212 New constants.
3213 (lisp-mode-variables): New `elisp' argument.
3214 (emacs-lisp-mode): Use it.
3215 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3216 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3217
b7d5bd82
TL
3218 * indent.el: Use lexical-binding.
3219 (indent-region): Add progress reporter.
3220 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3221 last step.
3222 (indent--next-tab-stop): New function to implement this behavior.
3223 (tab-to-tab-stop, move-to-tab-stop): Use it.
3224
32252013-10-08 Teemu Likonen <tlikonen@iki.fi>
3226
3227 * indent.el (indent-rigidly--current-indentation): New function.
3228 (indent-rigidly-map): New var.
3229 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3230
5ea75d23
BG
32312013-10-08 Bastien Guerry <bzg@gnu.org>
3232
3233 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3234
cc5da1ec
SM
32352013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3236
8ffa1a0b
SM
3237 * progmodes/perl-mode.el: Use lexical-binding.
3238 Remove redundant :group args.
3239 (perl-nochange): Change default to be closer to other major modes's
3240 standard behavior.
3241 (perl-indent-line): Don't consider text on current line as a
3242 valid beginning of function from which to indent.
3243
f2223371
SM
3244 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3245 with more than one argument (bug#15538).
3246
44256060
SM
3247 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3248
cc5da1ec
SM
3249 * vc/pcvs.el: Use lexical-binding.
3250 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3251 environment of `eval'.
3252 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3253 than a list of expressions. Adjust callers.
3254 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3255
0ea1599d
DG
32562013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3257
3258 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3259 case of the dot in a chained method call being on the following line.
0ea1599d 3260
da3e5ebb
SM
32612013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3262
2abb4e65
SM
3263 * electric.el (electric-indent-inhibit): New var.
3264 (electric-indent-post-self-insert-function): Use it.
3265 * progmodes/python.el (python-mode): Set it.
3266
d2e0e795
SM
3267 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3268 open braces.
3269
3270 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3271
bdc6b4c8
SM
3272 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3273 (css-mode): Use electric-indent-chars.
3274
da3e5ebb
SM
3275 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3276 (font-lock-beg, font-lock-end): Move before first use.
3277 (nxml-mode): Use syntax-propertize-function.
3278 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3279 (nxml-extend-after-change-region): Remove.
3280 * nxml/xmltok.el: Use lexical-binding.
3281 (xmltok-save): Use `declare'.
3282 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3283 * nxml/nxml-util.el: Use lexical-binding.
3284 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3285 Use `declare'.
3286 * nxml/nxml-ns.el: Use lexical-binding.
3287 (nxml-ns-save): Use `declare'.
3288 (nxml-ns-prefixes-for): Avoid add-to-list.
3289 * nxml/rng-match.el: Use lexical-binding.
3290 (rng--ipattern): Use cl-defstruct.
3291 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3292 (rng-cons-group-after, rng-subst-group-after)
3293 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3294 Use closures instead of `(lambda...).
3295
f8f91d5d
MA
32962013-10-07 Michael Albinus <michael.albinus@gmx.de>
3297
3298 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3299 of BEG and END.
3300
da3e5ebb
SM
3301 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3302 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3303 (tramp-gvfs-handle-insert-file-contents): Remove function.
3304
da3e5ebb
SM
3305 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3306 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3307
3308 * net/trampver.el: Update release number.
3309
7ccae3b1
SM
33102013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3311
55ca2c0d
SM
3312 * progmodes/compile.el (compilation-parse-errors):
3313 Use compilation--put-prop.
3314 (compilation--ensure-parse): Check compilation-multiline.
3315
731fc3ae
SM
3316 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3317
da3e5ebb
SM
3318 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3319 lexical-binding.
a5833280 3320
2e7ba2c2
SM
3321 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3322
7ccae3b1
SM
3323 * progmodes/ruby-mode.el: Fix recently added tests.
3324 (ruby-smie-grammar): Add - and +.
3325 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3326 (ruby-smie--backward-id): New functions.
3327 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3328 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3329 any more.
3330
85698d63
LL
33312013-10-07 Leo Liu <sdl.web@gmail.com>
3332
3333 * register.el (register-preview-delay)
3334 (register-preview-functions): New variables.
3335 (register-read-with-preview, register-preview)
3336 (register-describe-oneline): New functions.
3337 (point-to-register, window-configuration-to-register)
3338 (frame-configuration-to-register, jump-to-register)
3339 (number-to-register, view-register, insert-register)
3340 (copy-to-register, append-to-register, prepend-to-register)
3341 (copy-rectangle-to-register): Use register-read-with-preview to
3342 read register. (Bug#15525)
3343
3986af6c
DS
33442013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3345
3346 * net/network-stream.el (network-stream-open-starttls): Don't add
3347 --insecure if it's already present, because that gnutls-cli
3348 rejects getting that parameter twice.
3349
5cd9cda9
DG
33502013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3351
3352 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3353 keyword, too.
3354
da9ea6d9
DG
33552013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3356
3357 * newcomment.el (comment-use-global-state): Change default value
3358 to t, mark obsolete (Bug#15251).
3359 (comment-beginning): In addition to `comment-to-syntax', check the
3360 value of `comment-use-global-state'.
3361
34d1a133
SM
33622013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3363
3364 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3365 (ruby-comment-column): Follow the global default, by default.
3366 (ruby-smie-grammar): Add assignment syntax.
3367 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3368 open-paren, a comma, or a \.
3369 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3370 and line continuations.
3371 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3372 followed by implicit semi-colons. Add rule for string concatenation
3373 and for indentation at BOB.
3374 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3375
3376 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3377 calling next-sexp, since next-token may have skipped chars which
3378 next-sexp doesn't know should be skipped!
3379
6f6ab820
LL
33802013-10-05 Leo Liu <sdl.web@gmail.com>
3381
34d1a133
SM
3382 * progmodes/octave.el (octave-send-region):
3383 Call compilation-forget-errors.
6f6ab820 3384
34ca0f4c
XF
33852013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3386
3387 * vc/vc-svn.el (vc-svn-find-admin-dir):
3388 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3389 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3390 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3391 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3392
a27c1b72
SM
33932013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3394
3395 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3396
258ab3bc
SM
33972013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3398
3399 * subr.el (read-passwd): Hide chars even when called within a context
3400 where after-change-functions is disabled (bug#15501).
3401 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3402 until we removed ourself from overriding-terminal-local-map.
3403
939fb29c
LL
34042013-10-04 Leo Liu <sdl.web@gmail.com>
3405
258ab3bc
SM
3406 * progmodes/octave.el (inferior-octave-mode):
3407 Call compilation-forget-errors.
939fb29c 3408
63bd7f35
XF
34092013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3410
3411 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3412
9e6229fa
MA
34132013-10-04 Michael Albinus <michael.albinus@gmx.de>
3414
3415 * net/secrets.el (secrets-create-collection): Add optional
3416 argument ALIAS. Use proper Label keyword. Append ALIAS as
3417 dbus-call-method argument. (Bug#15516)
3418
1dab32a3
LL
34192013-10-04 Leo Liu <sdl.web@gmail.com>
3420
3421 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3422 (inferior-octave-compilation-font-lock-keywords): New variables.
3423 (compilation-error-regexp-alist)
3424 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3425 (inferior-octave-mode): Use compilation-shell-minor-mode.
3426
6cad7ba3
JS
34272013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3428
3429 * minibuffer.el (completion--replace): Be careful that `end' might be
3430 a marker.
3431
acbadd00
DU
34322013-10-03 Daiki Ueno <ueno@gnu.org>
3433
3434 Add support for package signature checking.
3435 * emacs-lisp/package.el (url-http-file-exists-p)
3436 (epg-make-context, epg-context-set-home-directory)
3437 (epg-verify-string, epg-context-result-for)
3438 (epg-signature-status, epg-signature-to-string)
3439 (epg-check-configuration, epg-configuration)
3440 (epg-import-keys-from-file): Declare.
3441 (package-check-signature): New user option.
3442 (package-unsigned-archives): New user option.
3443 (package-desc): Add `signed' field.
3444 (package-load-descriptor): Set `signed' field if .signed file exists.
3445 (package--archive-file-exists-p): New function.
3446 (package--check-signature): New function.
3447 (package-install-from-archive): Check package signature.
3448 (package--download-one-archive): Check archive signature.
3449 (package-delete): Remove .signed file.
3450 (package-import-keyring): New command.
3451 (package-refresh-contents): Import default keyring.
3452 (package-desc-status): Add "unsigned" status.
3453 (describe-package-1, package-menu--print-info)
3454 (package-menu-mark-delete, package-menu--find-upgrades)
3455 (package-menu--status-predicate): Support "unsigned" status.
3456
adf2aa61
SM
34572013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3458
3459 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3460 the new compilation scheme using the new byte-codes.
3461
3462 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3463 (byte-pophandler): New byte codes.
3464 (byte-goto-ops): Adjust accordingly.
3465 (byte-compile--use-old-handlers): New var.
3466 (byte-compile-catch): Use new byte codes depending on
3467 byte-compile--use-old-handlers.
3468 (byte-compile-condition-case--old): Rename from
3469 byte-compile-condition-case.
3470 (byte-compile-condition-case--new): New function.
3471 (byte-compile-condition-case): New function that dispatches depending
3472 on byte-compile--use-old-handlers.
3473 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3474 when we can.
3475
3476 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3477 Optimize under `condition-case' and `catch' if
3478 byte-compile--use-old-handlers is nil.
3479 (disassemble-offset): Handle new bytecodes.
3480
328a8179
SM
34812013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3482
3483 * subr.el (error): Use `declare'.
3484 (decode-char, encode-char): Use advertised-calling-convention instead
3485 of the docstring to discourage use of the `restriction' arg.
3486
15a1e936
DU
34872013-10-03 Daiki Ueno <ueno@gnu.org>
3488
3489 * epg.el (epg-verify-file): Add a comment saying that it does not
3490 notify verification error as a return value nor a signal.
3491 (epg-verify-string): Ditto.
3492
376f862a
KR
34932013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3494
3495 * progmodes/compile.el (compilation-start): Try globbing the arg to
3496 `cd' (bug#15417).
3497
a2f93a5f
MA
34982013-10-02 Michael Albinus <michael.albinus@gmx.de>
3499
3500 Sync with Tramp 2.2.8.
3501
3502 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3503 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3504 * net/trampver.el: Update release number.
3505
0daa0804
JD
35062013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3507
3508 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3509 and default-process-coding-system for darwin only.
3510
abd1ae34
SM
35112013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3514
be4e325d
MH
35152013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3516
3517 * vc/vc-git.el (vc-git-grep): Disable pager.
3518
e9155c4a
DG
35192013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3520
494e898b
DG
3521 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3522 Use :url instead of :homepage, as per
3523 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3524
e9155c4a
DG
3525 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3526 non-nil, use `syntax-ppss' (Bug#15251).
3527
481a8e0f
RS
35282013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3529
be4e325d
MH
3530 * progmodes/octave.el (inferior-octave-startup-file):
3531 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3532
056453c6
DG
35332013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3534
be4e325d
MH
3535 * emacs-lisp/package.el (package-desc-from-define):
3536 Accept additional arguments as plist, convert them to an alist and store
3537 them in the `extras' slot.
056453c6
DG
3538 (package-generate-description-file): Convert extras alist back to
3539 plist and append to the `define-package' form arguments.
3540 (package--alist-to-plist): New function.
3541 (package--ac-desc): Add `extras' slot.
3542 (package--add-to-archive-contents): Check if the archive-contents
3543 vector is long enough, and if it is, pass its `extras' slot value
3544 to `package-desc-create'.
3545 (package-buffer-info): Call `lm-homepage', pass the returned value
3546 to `package-desc-from-define'.
3547 (describe-package-1): Render the homepage button (Bug#13291).
3548
be4e325d
MH
3549 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3550 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3551
832966e5
JD
35522013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3553
3554 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3555 and default-process-coding-system to utf-8-unix (Bug#15402).
3556
6cfe977d
XF
35572013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3558
3559 * subr.el (looking-back): Do not recommend using looking-back.
3560
38de11bd
AM
35612013-09-28 Alan Mackenzie <acm@muc.de>
3562
3563 Fix indentation/fontification of Java enum with "implements".
3564
3565 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3566 regexp which matches "implements", etc., in Java.
3567 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3568 specifier clauses coming after "enum".
3569 * progmodes/cc-fonts.el (c-font-lock-declarations)
3570 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3571 after "enum".
3572
1610938f
JD
35732013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3574
3575 * faces.el (region): Change ns_selection_color to
3576 ns_selection_fg_color, add ns_selection_bg_color.
3577
e090f499
LL
35782013-09-28 Leo Liu <sdl.web@gmail.com>
3579
4d2e94d1
LL
3580 * progmodes/octave.el (inferior-octave-completion-table)
3581 (inferior-octave-completion-at-point): Minor tweaks.
3582
e090f499
LL
3583 * textmodes/ispell.el (ispell-lookup-words): Rename from
3584 lookup-words. (Bug#15460)
3585 (lookup-words): Obsolete.
3586 (ispell-complete-word, ispell-command-loop): All uses changed.
3587
7e138a62
RS
35882013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3589
3590 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3591 (octave-mode-menu): Add octave-send-buffer.
3592 (octave-send-buffer): New function.
3593
5af5ed08
RS
35942013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3595
3596 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3597 octave-lookfor.
3598 (octave-mode-menu): Add octave-lookfor.
3599 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3600 octave-lookfor.
3601 (octave-lookfor): New function.
3602
3b7b2692
SM
36032013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * emacs-lisp/cl-macs.el:
3606 (cl--loop-destr-temps): Remove.
3607 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3608 its convention.
3609 (cl--loop-set-iterator-function): New function.
3610 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3611 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3612 Bind `it' with `let' instead of substituting it with `cl-subst'.
3613 (cl--unused-var-p): New function.
3614 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3615 Eliminate some unused variable warnings (bug#15326).
3616
529fb53f
TH
36172013-09-27 Tassilo Horn <tsdh@gnu.org>
3618
3619 * doc-view.el (doc-view-scale-reset): Rename from
3620 `doc-view-reset-zoom-level'.
3621 (doc-view-scale-adjust): New command.
3622 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3623 `doc-view-scale-adjust'.
3624
0550c95a
TH
36252013-09-26 Tassilo Horn <tsdh@gnu.org>
3626
3627 * doc-view.el (doc-view-reset-zoom-level): New command.
3628 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3629 zoom commands (bug#15466).
3630
6950f152
KH
36312013-09-26 Kenichi Handa <handa@gnu.org>
3632
3633 * international/quail.el (quail-help): Make it not a command.
3634
39587580
LL
36352013-09-26 Leo Liu <sdl.web@gmail.com>
3636
3637 * minibuffer.el (completion-all-sorted-completions): Make args
3638 optional as they are.
3639
00578659
DC
36402013-09-25 Daniel Colascione <dancol@dancol.org>
3641
3642 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3643 specs are and that they're not evaluated.
3644
0c173878
SS
36452013-09-24 Sam Steingold <sds@gnu.org>
3646
3647 * midnight.el (clean-buffer-list-kill-regexps)
3648 (clean-buffer-list-kill-buffer-names): Update for the new Man
3649 buffer naming which includes the object name.
3650
84998447
SM
36512013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3654 (eshell-parse-command, eshell-parse-pipeline): Use it since
3655 eshell-separate-commands requires a dynamic scoped var.
3656 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3657
33215353
LL
36582013-09-23 Leo Liu <sdl.web@gmail.com>
3659
3660 * autoinsert.el (auto-insert-alist): Make the value of
3661 lexical-binding match its file setting.
3662
57b16162
JB
36632013-09-23 Juanma Barranquero <lekktu@gmail.com>
3664
c8af4e67
JB
3665 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3666
57b16162
JB
3667 * autoarg.el (autoarg-kp-digit-argument):
3668 * electric.el (Electric-command-loop):
3669 * kmacro.el (kmacro-step-edit-insert):
3670 Do not set universal-argument-num-events.
3671
7186ba60
LL
36722013-09-22 Leo Liu <sdl.web@gmail.com>
3673
3674 * files.el (interpreter-mode-alist): Add octave.
3675
ece15004
AM
36762013-09-21 Alan Mackenzie <acm@muc.de>
3677
3678 C++: fontify identifier in declaration following "public:" correctly.
3679 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3680 to match "public", etc.
3681 (c-decl-prefix-re): Add ":" into the C++ value.
3682 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3683 bit. Add a check for a ":" preceded by "public", etc.
3684
75d83e22
EZ
36852013-09-21 Eli Zaretskii <eliz@gnu.org>
3686
3687 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3688 recognized by GDB 7.5 and later.
3689
d052d3bd
XF
36902013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3691
3692 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3693
31dca772
R
36942013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 * subr.el (internal--call-interactively): New const.
3697 (called-interactively-p): Use it (bug#3984).
3698
98ccf24e
XF
36992013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3700
3701 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3702 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3703 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3704
c39cc7d1
SM
37052013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3706
3707 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3708 (eshell-ls-orig-insert-directory): Remove.
3709 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3710 (eshell-ls-use-in-dired): Use advice-add/remove.
3711 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3712 Add `orig-fun' arg for use in :around advice.
3713 Make it check (redundantly) eshell-ls-use-in-dired.
3714
9a0289a2
GM
37152013-09-19 Glenn Morris <rgm@gnu.org>
3716
a2c501b8
GM
3717 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3718
c440407a
GM
3719 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3720
9a0289a2
GM
3721 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3722
85e05915
MA
37232013-09-19 Michael Albinus <michael.albinus@gmx.de>
3724
3725 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3726 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3727 (tramp-get-remote-python): New defuns.
3728 (tramp-get-remote-uid-with-perl)
3729 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3730 contributed by yary <not.com@gmail.com> (tiny change).
3731 (tramp-get-remote-uid-with-python)
3732 (tramp-get-remote-gid-with-python): New defuns. Python code
3733 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3734 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3735
ce503312
GM
37362013-09-19 Glenn Morris <rgm@gnu.org>
3737
f7544773
GM
3738 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3739
72fd2877
GM
3740 * eshell/em-unix.el (eshell-remove-entries):
3741 Rename argument to avoid name-clash with global `top-level'.
3742
336b5a56
GM
3743 * eshell/esh-proc.el (eshell-kill-process-function):
3744 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3745 (eshell-reset-after-proc): Remove unused arg `proc'.
3746
57a3a53d
GM
3747 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3748 (directory-files-and-attributes): Mark unused arg.
3749
3261d4af
GM
3750 * eshell/em-unix.el (eshell-remove-entries):
3751 Remove unused arg `path'. Update callers.
3752
8e51b5d0
GM
3753 * eshell/em-hist.el (eshell-hist-parse-arguments):
3754 Remove unused arg `silent'. Update callers.
3755
ce503312
GM
3756 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3757 Fix (f)boundp mix-up.
3758
3759 * eshell/em-smart.el (eshell-smart-scroll-window)
3760 (eshell-disable-after-change):
336b5a56 3761 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3762
ee3ce8a7
AM
37632013-09-18 Alan Mackenzie <acm@muc.de>
3764
3765 Fix fontification of type when followed by "const".
3766 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3767 "known" types from fontification.
3768
ec9177ba
GM
37692013-09-18 Glenn Morris <rgm@gnu.org>
3770
7bb3e768
GM
3771 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3772 (chart-face-list): Drop Emacsen without display-color-p.
3773
5148da15
GM
3774 * net/eww.el (libxml-parse-html-region): Declare.
3775 (eww-display-html): Explicit error if no libxml2 support.
3776
2f68e157
GM
3777 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3778
9019d095
GM
3779 * image.el (image-type-from-buffer, image-multi-frame-p):
3780 Remove --without-x warning/error.
67645389 3781
5f30349b 3782 * mouse.el (mouse-yank-primary):
45069b2e 3783 * term.el (term-mouse-paste):
5f30349b
GM
3784 Reorder to silence --without-x compilation.
3785
cd8edbbe
GM
3786 * mpc.el (doc-view-mode): Silence --without-x compilation.
3787
8a78544e
GM
3788 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3789 Silence --without-x compilation.
3790
12679bfd
GM
3791 * progmodes/gud.el (gud-find-file, gud-mode):
3792 Silence --without-x compilation.
3793 (tooltip-mode): Declare.
30810a05 3794
f0047cb9
GM
3795 * wdired.el (dired-backup-overwrite): Remove declaration.
3796 (wdired-mode-map): Add doc string.
3797
e740f9d2
GM
3798 * custom.el (x-get-resource): Declare.
3799
92d77c89
GM
3800 * eshell/em-glob.el (ange-cache):
3801 * eshell/em-unix.el (ange-cache): Declare.
3802
76e69577
GM
3803 * faces.el (x-display-list, x-open-connection, x-get-resource):
3804 Declare.
7e58af4b
GM
3805
3806 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3807 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3808 Declare.
76e69577 3809
4bd4c0af 3810 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3811
ffb82dbd
GM
3812 * net/gnutls.el (gnutls-log-level): Declare.
3813
986ed135
GM
3814 * net/shr.el (image-size, image-animate): Declare.
3815
e740f9d2
GM
3816 * simple.el (font-info): Declare.
3817
d2f3e9f8
GM
3818 * subr.el (x-popup-dialog): Declare.
3819
047a1a4c
GM
3820 * term/common-win.el (x-select-enable-primary)
3821 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3822 Declare.
3823
f4a1d572
GM
3824 * term/ns-win.el (x-handle-args): Declare.
3825
e843de77
GM
3826 * term/x-win.el (x-select-enable-clipboard): Declare.
3827
5fa89513
GM
3828 * term/w32-win.el (create-default-fontset): Declare.
3829
38702b5b
GM
3830 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3831 Declare.
3832
e740f9d2
GM
3833 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3834 (fit-frame-to-buffer): Explicit error if --without-x.
3835 (mouse-autoselect-window-select): Silence compiler.
3836
49a053fc
GM
3837 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3838
3839 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3840 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3841 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3842 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3843 Remove unused local variables.
3844
3845 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3846
ec9177ba
GM
3847 * textmodes/two-column.el: Make 2C-split work for --without-x.
3848 (scroll-bar-columns): Autoload.
3849 (top-level): Require fringe when compiling.
3850
9f25cb77
LL
38512013-09-18 Leo Liu <sdl.web@gmail.com>
3852
3853 * subr.el (add-hook): Robustify to handle closure as well.
3854
2b42da98
GM
38552013-09-17 Glenn Morris <rgm@gnu.org>
3856
3857 * simple.el (messages-buffer-mode-map): Unbind "g".
3858
e8b66a6a
SM
38592013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3860
9c0ad4f7
SM
3861 * help-mode.el (help-mode-finish): Use derived-mode-p.
3862 Remove obsolete highlighting.
3863
7a806dfb
SM
3864 * play/life.el (life-mode): Use define-derived-mode. Derive from
3865 special-mode.
3866 (life): Let-bind inhibit-read-only.
3867 (life-setup): Avoid `setq'. Use `life-mode'.
3868
96dbf5a8
SM
3869 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3870 which should not be needed any more.
3871 (package-menu-refresh, package-menu-describe-package): Use user-error.
3872
e8b66a6a
SM
3873 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3874 (eshell-post-rewrite-command-hook): Make obsolete.
3875 (eshell-parse-command): Simplify.
3876 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3877 (eshell--cmd): Declare.
3878 (eshell-parse-pipeline): Remove unused var `final-p'.
3879 Pass a dynvar to eshell-post-rewrite-command-hook.
3880 Implement the new eshell-post-rewrite-command-function.
3881 (eshell-invoke-directly): Remove unused arg `input'.
3882 * eshell/esh-io.el (eshell-io-initialize):
3883 Use eshell-post-rewrite-command-function (bug#15399).
3884 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3885 adjust to new calling convention.
3886 (eshell-create-handles): Rename args to avoid clashing with dynvar
3887 `standard-output'.
3888
90582f05
GM
38892013-09-17 Glenn Morris <rgm@gnu.org>
3890
3891 * simple.el (messages-buffer-mode): New major mode.
3892 (messages-buffer): New function.
3893 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3894 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3895 (ert-run-test): Use `messages-buffer' function.
90582f05 3896 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3897 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3898 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3899
39eb0cb5 39002013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3901
3902 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3903
1d42e5b6 3904 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 3905
70568a90
SM
39062013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3907
504a0381
SM
3908 * icomplete.el (icomplete-in-buffer): New var.
3909 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3910 vars and replace them with functions.
3911 (icomplete-minibuffer-setup): Adjust accordingly.
3912 (icomplete--completion-table, icomplete--completion-predicate)
3913 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3914 New functions.
3915 (icomplete-forward-completions, icomplete-backward-completions)
3916 (icomplete-simple-completing-p, icomplete-exhibit)
3917 (icomplete-completions): Use them.
3918 (icomplete--in-region-buffer): New var.
3919 (icomplete--in-region-setup): New function.
3920 (icomplete-mode): Use it.
3921
70568a90
SM
3922 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3923 (bug#15379).
3924 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3925 return args and options.
3926 (eshell-eval-using-options): Use the new return value of
3927 eshell--do-opts to set the options's vars in their scope.
3928 (eshell--set-option): Rename from eshell-set-option.
3929 Add arg `opt-vals'.
3930 (eshell--process-option): Rename from eshell-process-option.
3931 Add arg `opt-vals'.
3932 (eshell--process-args): Use an `opt-vals' alist to store the options's
3933 values during their processing and return them additionally to the
3934 remaining args.
3935
578c21bc
DG
39362013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3937
3938 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3939 continuation character an operator, as far as indentation is
3940 concerned (Bug#15369).
3941
c089653d
MR
39422013-09-15 Martin Rudalics <rudalics@gmx.at>
3943
3944 * window.el (window--state-put-2): Don't process buffer state
3945 when buffer doesn't exist any more (Bug#15382).
3946
1e53bb4b
GM
39472013-09-15 Glenn Morris <rgm@gnu.org>
3948
30753242
GM
3949 * eshell/em-unix.el (eshell/rm):
3950 Make -f ignore missing files. (Bug#15373)
3951
1e53bb4b
GM
3952 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3953 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3954 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3955
0d8863b3
GM
39562013-09-14 Glenn Morris <rgm@gnu.org>
3957
3958 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3959
d3fc6549
GM
39602013-09-13 Glenn Morris <rgm@gnu.org>
3961
3962 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3963 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3964
fcd42c11
DA
39652013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3966
3967 * frame.el (x-focus-frame): Mark as declared in frame.c.
3968
7830899f
SM
39692013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 * ls-lisp.el: Use advice-add.
3972 (original-insert-directory): Remove.
3973 (ls-lisp--insert-directory): Rename from insert-directory; add
3974 `orig-fun' argument.
3975 (insert-directory): Advise.
3976
84387cd2
EZ
39772013-09-13 Eli Zaretskii <eliz@gnu.org>
3978
3979 * term.el (term-emulate-terminal): Decode the command string
3980 before passing it to term-command-hook. (Bug#15337)
3981
35ffc6ba
GM
39822013-09-13 Glenn Morris <rgm@gnu.org>
3983
5c3f9bcc
GM
3984 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3985
2ada368a
GM
3986 * eshell/esh-ext.el (eshell-search-path): Declare.
3987
fcef2e13
GM
3988 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3989 Otherwise an error occurs if eshell-dirs module not loaded.
3990
35ffc6ba
GM
3991 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3992
35c3d36e
MA
39932013-09-13 Michael Albinus <michael.albinus@gmx.de>
3994
3995 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3996 `tramp-check-proper-host'. Check for a valid method name.
3997
3998 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3999 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4000 * net/tramp-sh.el (tramp-maybe-open-connection):
4001 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4002
4003 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4004 also for hash values.
4005
ae5e4c48
SM
40062013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4007
379add74
SM
4008 * term/ns-win.el (parameters): Don't declare as dynamic.
4009 (before-make-frame-hook): Don't add ineffective function.
4010
ae5e4c48
SM
4011 * eshell/*.el: Use lexical-binding (bug#15231).
4012
b5623270
KH
40132013-09-12 Kenichi Handa <handa@gnu.org>
4014
ae5e4c48 4015 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4016
30213927
GM
40172013-09-12 Glenn Morris <rgm@gnu.org>
4018
be94d713 4019 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4020 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4021
44915370
GM
4022 * subr.el (do-after-load-evaluation): Also give compiler warnings
4023 when obsolete files are used (except by obsolete files).
4024
a6ae021f
GM
4025 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4026 in the status output, assume `filename' is the first. (Bug#15322)
4027
40e64f0c
GM
4028 * vc/vc.el (vc-deduce-fileset): Doc fix.
4029
16d9f896
GM
4030 * calc/calc-help.el (Info-goto-node):
4031 * progmodes/cperl-mode.el (Info-find-node):
4032 * vc/ediff.el (Info-goto-node): Update declarations.
4033
dea01c6e
GM
4034 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4035
759880bf 4036 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4037 (vc-bzr-pull): Require vc-dispatcher.
4038 * vc/vc-git.el (vc-compilation-mode): Declare.
4039 (vc-git-pull): Require vc-dispatcher.
4040
08d66420
GM
4041 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4042
30b626e9
GM
4043 * progmodes/octave.el (help-button-action): Declare.
4044
8c05cb10
GM
4045 * shell.el (shell-directory-tracker): Output error as a message
4046 rather than just returning it as a string.
4047 (shell-process-pushd): Remove useless use of message.
4048
30213927
GM
4049 * dframe.el (dframe-timer-fn):
4050 * files.el (dir-locals-read-from-file):
4051 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4052 (mpc-format):
4053 * reveal.el (reveal-post-command):
4054 * saveplace.el (load-save-place-alist-from-file):
4055 * shell.el (shell-resync-dirs):
4056 * w32-common-fns.el (x-get-selection-value):
4057 * emacs-lisp/copyright.el (copyright-find-copyright):
4058 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4059 * emulation/tpu-edt.el (tpu-copy-keyfile):
4060 * play/bubbles.el (bubbles--mark-neighbourhood):
4061 * progmodes/executable.el
4062 (executable-make-buffer-file-executable-if-script-p):
4063 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4064
d3b049e6
SM
40652013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4066
170266d0
SM
4067 Cleanup Eshell to rely less on dynamic scoping.
4068 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4069 last-value, and ext-command here. Bind `args' closer to `body'.
4070 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4071 (eshell--args): Declare new dynamic var.
4072 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4073 last-value, and ext-command. Pass `args' to `body'.
4074 (eshell-process-args): Bind eshell--args.
4075 (eshell-set-option): Use eshell--args.
4076 * eshell/eshell.el (eshell): Use derived-mode-p.
4077 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4078 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4079 (eshell-glob-function): Declare.
4080 * eshell/esh-util.el: Require cl-lib.
4081 (eshell-read-hosts-file): Avoid add-to-list.
4082 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4083 `err'.
4084 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4085 Declare.
4086 (eshell/diff): Remove unused var `err'.
4087 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4088 `killflag'.
4089 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4090 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4091 first use.
4092 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4093 Move declaration before first use.
4094 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4095 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4096 rely on cl-return.
4097
56834f3b
GM
40982013-09-12 Glenn Morris <rgm@gnu.org>
4099
4100 * term/ns-win.el (global-map): Remove binding for ispell-next,
4101 deleted 1999-05-29. (Bug#15357)
4102
5c91a2b8
GM
41032013-09-11 Glenn Morris <rgm@gnu.org>
4104
da712f22
GM
4105 * echistory.el (electric-command-history): Remove call to deleted func.
4106
512e4cdc
GM
4107 * play/landmark.el (landmark-mode): Fix typos.
4108
d3506ca5
GM
4109 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4110 Check cvs-sort-ignore-file is bound.
4111
5c91a2b8
GM
4112 * savehist.el: No need for cl when compiling on Emacs.
4113
feeff482
SM
41142013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4115
656bd483
SM
4116 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4117 (bug#15338).
d3b049e6
SM
4118 (eshell-self-insert-command, eshell-send-invisible):
4119 Remove unused argument.
656bd483
SM
4120 (eshell-handle-control-codes): Remove unused var `orig'.
4121 Avoid delete-backward-char.
4122
feeff482
SM
4123 * files.el (set-auto-mode): Simplify a bit further.
4124
2a08047a
GM
41252013-09-11 Glenn Morris <rgm@gnu.org>
4126
4127 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4128 (set-auto-mode): Don't regexp-quote elements.
4129 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4130 * progmodes/cc-mode.el (interpreter-mode-alist):
4131 * progmodes/ruby-mode.el (interpreter-mode-alist):
4132 Revert previous change.
4133
34675540
SM
41342013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4135
1b3b87df
SM
4136 * play/snake.el (snake-mode):
4137 * play/mpuz.el (mpuz-mode):
4138 * play/landmark.el (lm-mode):
4139 * play/blackbox.el (blackbox-mode):
4140 * play/5x5.el (5x5-mode):
4141 * obsolete/options.el (Edit-options-mode):
4142 * net/quickurl.el (quickurl-list-mode):
4143 * net/newst-treeview.el (newsticker-treeview-mode):
4144 * mail/rmailsum.el (rmail-summary-mode):
4145 * mail/mspools.el (mspools-mode):
4146 * locate.el (locate-mode):
4147 * ibuffer.el (ibuffer-mode):
4148 * emulation/ws-mode.el (wordstar-mode):
4149 * emacs-lisp/debug.el (debugger-mode):
4150 * array.el (array-mode):
4151 * net/eudc.el (eudc-mode): Use define-derived-mode.
4152 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4153 Move initialization into declaration.
4154 (mairix-searches-mode): Use define-derived-mode.
4155 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4156 (eudc-edit-hotlist): Use dolist.
4157 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4158 (Man-mode): Use define-derived-mode.
4159 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4160 (Info-edit-mode): Use define-derived-mode.
4161 (Info-cease-edit): Use Info-mode.
4162 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4163 into declaration.
4164 (eshell-mode): Use define-derived-mode.
4165 * chistory.el (command-history-mode-map): Rename from
4166 command-history-map.
4167 (command-history-mode): Use define-derived-mode.
da712f22 4168 (Command-history-setup): Remove function.
1b3b87df
SM
4169 * calc/calc.el (calc-trail-mode-map): New var.
4170 (calc-trail-mode): Use define-derived-mode.
4171 (calc-trail-buffer): Set calc-main-buffer manually.
4172 * bookmark.el (bookmark-insert-annotation): New function.
4173 (bookmark-edit-annotation): Use it.
4174 (bookmark-edit-annotation-mode): Make it a proper major mode.
4175 (bookmark-send-edited-annotation): Use derived-mode-p.
4176 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4177 closer to its ideal place. Use \' to match EOS.
4178
34675540
SM
4179 * profiler.el (profiler-calltree-find): Use function-equal.
4180
6a5c15d9
GM
41812013-09-10 Glenn Morris <rgm@gnu.org>
4182
1af4c220
GM
4183 * files.el (interpreter-mode-alist): Convert to regexps.
4184 (set-auto-mode): Adapt for this. (Bug#15306)
4185 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4186 Comment out unused variable.
4187 * progmodes/cc-mode.el (interpreter-mode-alist):
4188 * progmodes/python.el (interpreter-mode-alist):
4189 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4190 * progmodes/sh-script.el (sh-set-shell):
4191 No longer use interpreter-mode-alist to get list of shells.
4192
6a5c15d9
GM
4193 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4194
8c27f5ff
SM
41952013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4196
02ef6c1a 4197 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4198 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4199 Bind switch-frame explicitly. Replace universal-argument-minus with
4200 a conditional binding.
4201 (universal-argument-num-events, saved-overriding-map): Remove.
4202 (restore-overriding-map): Remove.
4203 (universal-argument--mode): Rename from save&set-overriding-map,
4204 and rewrite.
4205 (universal-argument, universal-argument-more, negative-argument)
4206 (digit-argument): Adjust accordingly.
4207 (universal-argument-minus): Remove.
4208 (universal-argument-other-key): Remove.
4209
8c27f5ff
SM
4210 * subr.el (with-demoted-errors): Add `format' argument.
4211
6480194c
MA
42122013-09-10 Michael Albinus <michael.albinus@gmx.de>
4213
4214 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4215 `tramp-cleanup-connection'.
4216
4217 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4218 parameters KEEP-DEBUG and KEEP-PASSWORD.
4219
4220 * net/tramp.el (tramp-file-name-handler):
4221 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4222 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4223 (tramp-maybe-open-connection):
8c27f5ff
SM
4224 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4225 Use `tramp-cleanup-connection'.
6480194c 4226
8c27f5ff
SM
4227 * net/tramp-sh.el (tramp-maybe-open-connection):
4228 Catch 'uname-changed inside the progress reporter.
6480194c 4229
e5e916d8
GM
42302013-09-10 Glenn Morris <rgm@gnu.org>
4231
9a2c9b47
GM
4232 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4233
e5e916d8
GM
4234 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4235 returns "alternate access method" in mode (eg "-rw-r--r--.").
4236
144e38fe
GM
42372013-09-08 Glenn Morris <rgm@gnu.org>
4238
4239 * saveplace.el (load-save-place-alist-from-file):
4240 Demote errors. (Bug#15305)
4241
af9ff9e8
MA
42422013-09-08 Michael Albinus <michael.albinus@gmx.de>
4243
4244 Improve compatibility with older Emacsen, and XEmacs.
4245
4246 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4247 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4248 (with-tramp-progress-reporter): Do not let-bind `result'.
4249 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4250 (tramp-handle-make-auto-save-file-name): New function, moved from
4251 tramp-sh.el.
4252
4253 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4254 for `make-auto-save-file-name'.
8c27f5ff
SM
4255 (tramp-adb--gnu-switches-to-ash):
4256 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4257
4258 * net/tramp-cache.el (tramp-cache-print): Call
4259 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4260
4261 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4262 bound. It isn't for XEmacs.
4263
8c27f5ff
SM
4264 * net/tramp-compat.el (tramp-compat-copy-file):
4265 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4266 (tramp-compat-replace-regexp-in-string): New defun.
4267
4268 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4269 for `make-auto-save-file-name'.
4270 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4271 `copy-file'.
4272 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4273 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4274 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4275
8c27f5ff
SM
4276 * net/tramp-gw.el (tramp-gw-open-network-stream):
4277 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4278
8c27f5ff
SM
4279 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4280 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4281 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4282 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4283 (tramp-sh-file-inotifywait-process-filter):
4284 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4285 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4286
4287 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4288 for `make-auto-save-file-name'.
8c27f5ff
SM
4289 (tramp-smb-handle-copy-directory):
4290 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4291 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4292 (tramp-smb-handle-copy-file): Improve error message.
4293 (tramp-smb-handle-rename-file): Rename directly only in case
4294 `newname' does not exist yet. This is a restriction of smbclient.
4295 (tramp-smb-maybe-open-connection): Rerun the function only when
4296 `auth-sources' is non-nil.
4297
0ca754d0
KH
42982013-09-08 Kenichi Handa <handa@gnu.org>
4299
e0eb0550 4300 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4301 more characters.
4302
e8dd0787
AM
43032013-09-07 Alan Mackenzie <acm@muc.de>
4304
4305 Correctly fontify Java class constructors.
4306 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4307 in Java Mode.
4308 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4309 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4310 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4311 "typeless" declaration there.
4312
f2f248e7
RW
43132013-09-07 Roland Winkler <winkler@gnu.org>
4314
4315 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4316 field subtitle for entry type book.
4317
67982e2b
SM
43182013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4319
4320 * minibuffer.el: Make minibuffer-complete call completion-in-region
4321 rather than other way around.
4322 (completion--some, completion-pcm--find-all-completions):
4323 Don't delay signals when debugging.
4324 (minibuffer-completion-contents): Beware fields within the
4325 minibuffer contents.
4326 (completion-all-sorted-completions): Use defvar-local.
4327 (completion--do-completion, completion--cache-all-sorted-completions)
4328 (completion-all-sorted-completions, minibuffer-force-complete):
4329 Add args `beg' and `end'.
4330 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4331 (minibuffer-complete): Use completion-in-region.
4332 (completion-complete-and-exit): New fun, extracted from
4333 minibuffer-complete-and-exit.
4334 (minibuffer-complete-and-exit): Use it.
4335 (completion--complete-and-exit): Rename from
4336 minibuffer--complete-and-exit.
4337 (completion-in-region--single-word): New function, extracted from
4338 minibuffer-complete-word.
4339 (minibuffer-complete-word): Use it.
4340 (display-completion-list): Make `common-substring' argument obsolete.
4341 (completion--in-region): Call completion--in-region-1 instead of
4342 minibuffer-complete.
4343 (completion-help-at-point): Pass boundaries to
4344 minibuffer-completion-help as args rather than via an overlay.
4345 (completion-pcm--string->pattern): Use `any-delim'.
4346 (completion-pcm--optimize-pattern): New function.
4347 (completion-pcm--pattern->regex): Handle `any-delim'.
4348 * icomplete.el (icomplete-forward-completions)
4349 (icomplete-backward-completions, icomplete-completions):
4350 Adjust calls to completion-all-sorted-completions and
4351 completion--cache-all-sorted-completions.
4352 (icomplete-with-completion-tables): Default to t.
4353 * emacs-lisp/crm.el (crm--current-element): Rename from
4354 crm--select-current-element. Don't put an overlay but return the
4355 boundaries instead.
4356 (crm--completion-command): Take two new args to bind to the boundaries.
4357 (crm-completion-help): Adjust accordingly.
4358 (crm-complete): Use completion-in-region.
4359 (crm-complete-word): Use completion-in-region--single-word.
4360 (crm-complete-and-exit): Use completion-complete-and-exit.
4361
e17d94a5
SM
43622013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4365 than dynamically.
4366
96727100
JL
43672013-09-06 Juri Linkov <juri@jurta.org>
4368
4369 * info.el (Info-display-images-node): When image file doesn't exist
4370 display text version of the image if it's provided in the Info file.
4371 Otherwise, display the location of missing image from SRC attribute.
4372 Add help-echo text property from ALT attribute. (Bug#15279)
4373
86cf7329
SM
43742013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4375
4376 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4377 (edit-abbrevs-mode): Use define-derived-mode.
4378
4379 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4380 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4381 that it's defined.
4382 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4383 Use define-derived-mode.
4384
4385 * epg.el (epg-start-encrypt): Minor CSE simplification.
4386
816244a2
WX
43872013-09-06 William Xu <william.xwl@gmail.com>
4388
4389 * arc-mode.el: Add support for 7za (bug#15264).
4390 (archive-7z-program): New var.
4391 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4392 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4393 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4394
1486fa31
MA
43952013-09-06 Michael Albinus <michael.albinus@gmx.de>
4396
4397 Remove URL syntax.
4398
4399 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4400 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4401 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4402 (tramp-postfix-host-format, tramp-file-name-regexp)
4403 (tramp-completion-file-name-regexp)
4404 (tramp-completion-dissect-file-name)
4405 (tramp-handle-substitute-in-file-name): Remove 'url case.
4406 (tramp-file-name-regexp-url)
4407 (tramp-completion-file-name-regexp-url): Remove constants.
4408
39785324
GM
44092013-09-06 Glenn Morris <rgm@gnu.org>
4410
4411 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4412
1f896cb7
DG
44132013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4414
4415 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4416 keywords" below "here-doc beginnings" (Bug#15270).
4417
c0458e0b
SM
44182013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4419
4420 * subr.el (pop): Use `car-safe'.
4421 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4422 to detect unused `pop' return value.
4423
4424 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4425 var `block-regexp'.
4426 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4427 (python-fill-string): Remove unused var `marker'.
4428 (python-skeleton-add-menu-items): Remove unused var `items'.
4429
4430 * international/mule-cmds.el: Require CL.
4431 (find-coding-systems-for-charsets): Avoid add-to-list.
4432 (sanitize-coding-system-list): New function, extracted from
4433 select-safe-coding-system-interactively.
4434 (select-safe-coding-system-interactively): Use it.
4435 (read-input-method-name): Accept symbols for `default'.
4436
4437 * emacs-lisp/advice.el (defadvice): Add indent rule.
4438
6c42fc3e
DH
44392013-09-05 Daniel Hackney <dan@haxney.org>
4440
4441 * dired-x.el:
4442 * net/ange-ftp.el:
4443 * net/browse-url.el:
4444 * net/dbus.el:
4445 * net/eudc.el:
4446 * net/eudcb-ldap.el:
4447 * net/eww.el:
4448 * net/imap.el:
4449 * printing.el:
4450 * vc/ediff-diff.el:
4451 * vc/ediff-init.el:
4452 * vc/ediff-merg.el:
4453 * vc/ediff-mult.el:
4454 * vc/ediff-util.el:
4455 * vc/ediff-wind.el:
4456 * vc/ediff.el:
4457 * vc/emerge.el:
4458 * vc/pcvs.el:
4459 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4460 byte compiler. Remove some unused let-bound variables.
4461
4c528aab
SM
44622013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4465 a "ref-cell", since it gets better optimized (bug#14883).
4466
bd15c390
GM
44672013-09-05 Glenn Morris <rgm@gnu.org>
4468
4469 * progmodes/cc-awk.el (c-forward-sws): Declare.
4470
1c3ac2e5
GM
44712013-09-04 Glenn Morris <rgm@gnu.org>
4472
4473 * generic-x.el [rul-generic-mode]: Require cc-mode.
4474 (c++-mode-syntax-table): Declare.
4475 (rul-generic-mode-syntax-table): Init in the defvar.
4476
52b1cc79
SM
44772013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4478
c828af56
SM
4479 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4480 (vc-do-command, vc-set-async-update):
4481 * vc/vc-mtn.el (vc-mtn-dir-status):
4482 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4483 (vc-hg-pull, vc-hg-merge-branch):
4484 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4485 (vc-git-merge-branch):
4486 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4487 (vc-cvs-dir-status-files):
4488 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4489 (vc-bzr-dir-status-files):
4490 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4491 * vc/vc-annotate.el: Use lexical-binding.
4492 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4493 (vc-sentinel-movepoint): Declare.
4494 (vc-annotate): Don't use `goto-line'.
4495 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4496 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4497 (vc-sentinel-movepoint): Declare.
4498 * vc/vc-svn.el: Use lexical-binding.
4499 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4500 * vc/vc-sccs.el:
4501 * vc/vc-rcs.el: Use lexical-binding.
4502
abae272c
SM
4503 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4504 `deleted'. Don't drop errors silently.
4505
52b1cc79
SM
4506 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4507
63191d9f
XF
45082013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4509
4510 * vc/vc.el (vc-ignore): Rewrite.
4511 (vc-default-ignore): New function.
4512 (vc-default-ignore-completion-table): Use find-ignore-file.
4513
4514 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4515 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4516 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4517 Remove. Most code moved to vc.el.
4518
9d3f707c
SM
45192013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4520
abae272c 4521 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4522 * net/tramp-smb.el (tramp-smb-get-file-entries):
4523 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4524 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4525
fde38d49
SM
4526 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4527 Update call to it.
4528 (eww-change-select): Remove unused var `properties'.
4529 (eww-make-unique-file-name): Remove unused var `base'.
4530
4531 * finder.el (finder-compile-keywords): Don't mess with windows.
4532
84032db7
SM
4533 * calculator.el (calculator-funcall): Fix typo in last change.
4534
724f5e41
SM
4535 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4536
14b511d4
SM
4537 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4538 <pkg>-autoloads.el file stop us.
4539
9d3f707c 4540 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4541 warnings, and factor out common code.
9d3f707c 4542
88527bc0
DG
45432013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4544
4545 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4546 two-character operators and whether the character preceding them
4547 changes their meaning (Bug#15208).
4548
96edb677
FEG
45492013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4550
4551 Format code sent to Python shell for robustness.
9d3f707c
SM
4552 * progmodes/python.el (python-shell-buffer-substring):
4553 New function.
96edb677
FEG
4554 (python-shell-send-region, python-shell-send-buffer): Use it.
4555
95beaef3
MA
45562013-09-02 Michael Albinus <michael.albinus@gmx.de>
4557
4558 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4559 * net/tramp.el (tramp-user-error): ... here.
4560 (tramp-find-method, tramp-check-proper-host)
4561 (tramp-dissect-file-name, tramp-debug-message)
4562 (tramp-handle-shell-command):
4563 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4564 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4565
4566 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4567
f167c27b
MR
45682013-09-02 Martin Rudalics <rudalics@gmx.at>
4569
4570 * avoid.el (mouse-avoidance-point-position)
4571 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4572 returns nil.
4573
cd16c5f1
FEG
45742013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4575
4576 * progmodes/python.el (python-shell-completion-get-completions):
4577 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4578 (python-nav-if-name-main): New command.
cd16c5f1 4579
e73c3a0d
GM
45802013-09-01 Glenn Morris <rgm@gnu.org>
4581
f8ccce03
GM
4582 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4583 Avoid leading space in $wins. Otherwise the sed command used by
4584 eg compile-main ends up containing "/*.el". (Bug#15170)
4585
e73c3a0d
GM
4586 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4587
415f808e
GM
45882013-08-30 Glenn Morris <rgm@gnu.org>
4589
4590 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4591 Fix is-this-a-directory logic. (Bug#15220)
4592
f069bba8
SM
45932013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4594
112798c1
SM
4595 * textmodes/css-mode.el: Use SMIE.
4596 (css-smie-grammar): New var.
4597 (css-smie--forward-token, css-smie--backward-token)
4598 (css-smie-rules): New functions.
4599 (css-mode): Use them.
4600 (css-navigation-syntax-table): Remove var.
4601 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4602 (css-indent-calculate, css-indent-line): Remove functions.
4603
4604 Misc changes to reduce use of `(lambda...); and other cleanups.
4605 * cus-edit.el: Use lexical-binding.
4606 (customize-push-and-save, customize-apropos)
4607 (custom-buffer-create-internal): Use closures.
4608 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4609 * progmodes/ada-xref.el: Use setq.
4610 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4611 * dframe.el: Use lexical-binding.
4612 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4613 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4614 * descr-text.el: Use lexical-binding.
4615 (describe-text-widget, describe-text-sexp, describe-property-list):
4616 Use closures.
4617 * comint.el (comint-history-isearch-push-state): Use a closure.
4618 * calculator.el: Use lexical-binding.
4619 (calculator-number-to-string): Make it work with lexical-binding.
4620 (calculator-funcall): Same and use cl-letf.
4621
2da4c3ab
SM
4622 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4623 (lisp--company-doc-string, lisp--company-location): New functions.
4624 (lisp-completion-at-point): Use them to improve Company support.
4625
f069bba8
SM
4626 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4627 params of lambda expressions.
4628 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4629 (ruby-smie--opening-pipe-p): New function.
4630 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4631 symbols and matched |...| for formal params.
4632 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4633 from being treated as hanging. Handle "rescue".
4634
6758b6a8
GM
46352013-08-29 Glenn Morris <rgm@gnu.org>
4636
4637 * progmodes/cc-engine.el (c-pull-open-brace):
4638 Move definition before use.
4639
e8dfd197
SM
46402013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4643 are immutable. Don't use `unsafe' any more.
4644 (cl--defsubst-expand): Don't substitute at the same time as keeping
4645 a residual unused let-binding. Don't use `unsafe' any more.
4646
cc585c96
GM
46472013-08-29 Glenn Morris <rgm@gnu.org>
4648
ba579ea6
GM
4649 * calendar/cal-china.el (calendar-chinese-year-cache):
4650 Recenter on 2015.
4651
8201a87e
GM
4652 * nxml/nxml-util.el (nxml-debug-clear-inside):
4653 Use cl-loop rather than loop.
4654
6ee877c7
GM
4655 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4656
cc585c96
GM
4657 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4658
27be8d39
GM
46592013-08-28 Glenn Morris <rgm@gnu.org>
4660
397440a1
GM
4661 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4662
2bb762d4
GM
4663 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4664
27be8d39
GM
4665 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4666
2d69b99e
SM
46672013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4668
f663baa7
SM
4669 * simple.el (repeat-complex-command--called-interactively-skip):
4670 New function.
4671 (repeat-complex-command): Use it (bug#14136).
4672
dd4f8b74
SM
4673 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4674 (c-define-abbrev-table): Add `doc' argument.
4675 (c-mode-abbrev-table, c++-mode-abbrev-table)
4676 (objc-mode-abbrev-table, java-mode-abbrev-table)
4677 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4678 (awk-mode-abbrev-table): Use it.
4679 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4680 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4681 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4682 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4683 Move initialization into the declaration; and remove any
4684 autoload cookie.
4685
b58969f7
SM
4686 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4687 and dynamic let binding.
4688
4021d6a6
SM
4689 * vc/smerge-mode.el: Remove redundant :group args.
4690
2d69b99e
SM
4691 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4692 to load-path.
4693
274919fd
JL
46942013-08-28 Juri Linkov <juri@jurta.org>
4695
4696 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4697 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4698 (isearch-other-meta-char): Handle an undefined shifted printing
4699 character by downshifting it. (Bug#15200)
4700
121f8c95
JL
47012013-08-28 Juri Linkov <juri@jurta.org>
4702
4703 * isearch.el (isearch-search): Change regexp error message for
4704 non-regexp searches. (Bug#15166)
4705
50b13cde
PE
47062013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4707
4708 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4709 for portability to hosts where /bin/sh has problems.
4710
95888bca
SM
47112013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4712
4713 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4714
bbe558f1
JL
47152013-08-27 Juri Linkov <juri@jurta.org>
4716
4717 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4718 in the keyboard macro. (Bug#15126)
4719
26f98a7d
JL
47202013-08-27 Juri Linkov <juri@jurta.org>
4721
4722 * isearch.el (isearch-quote-char): Comment out converting unibyte
4723 to multibyte, thus syncing with its `quoted-insert' counterpart.
4724 (Bug#15166)
4725
7c97d35e
MR
47262013-08-27 Martin Rudalics <rudalics@gmx.at>
4727
4728 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4729 argument in call of get-largest-window (Bug#15185).
4730 Reported by Stephen Leake.
7c97d35e 4731
a0b5606e 47322013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4733
4734 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4735
9e89d835
SM
47362013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4737
4738 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4739 from a matcher-function unless there's no more matches (bug#15161).
4740
78fc2530
MA
47412013-08-26 Michael Albinus <michael.albinus@gmx.de>
4742
4743 * minibuffer.el: Revert change from 2013-08-20.
4744
4745 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4746 with text property `tramp-default', if appropriate.
4747 (tramp-check-proper-host): New defun.
4748 (tramp-dissect-file-name): Do not check hostname. Revert change
4749 of 2013-03-18.
4750 (tramp-backtrace): Make VEC-OR-PROC optional.
4751
4752 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4753 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4754 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4755 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4756 Apply `tramp-check-proper-host'.
78fc2530 4757
edca97cd
TH
47582013-08-26 Tassilo Horn <tsdh@gnu.org>
4759
4760 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4761 lambda expression in order to have `describe-variable' display it.
4762
df54bcbd
MA
47632013-08-26 Michael Albinus <michael.albinus@gmx.de>
4764
4765 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4766 BUF can be optional. (Bug#15186)
4767
eed99101
XF
47682013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4769
4770 * progmodes/flymake.el (flymake-get-real-file-name-function):
4771 Fix broken customization. (Bug#15184)
4772
b5eb9035
AM
47732013-08-25 Alan Mackenzie <acm@muc.de>
4774
8a51e842
AM
4775 Improve indentation of bracelists defined by macros (without "=").
4776
4777 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4778 expansion begins with "{", regard it as bracelist when it doesn't
4779 contain a ";".
4780
869455d4
AM
4781 Parse C++ inher-intro when there's a template split over 2 lines.
4782
4783 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4784 rigorously the search for "class" etc. followed by ":".
4785
4786 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4787 random languages a regexp which never matches rather than nil.
4788
b5eb9035
AM
4789 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4790
4791 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4792 (c-awk-regexp-one-line-possibly-open-char-list-re)
4793 (c-awk-one-line-possibly-open-regexp-re)
4794 (c-awk-one-line-non-syn-ws*-re): Remove.
4795 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4796 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4797 (c-awk-space*-unclosed-regexp-/-re): New constants.
4798 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4799 aren't regexp delimiters.
4800
4801 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4802 handling for a rare situation in AWK Mode involving unterminated
4803 strings/regexps.
4804
61611d54
GM
48052013-08-23 Glenn Morris <rgm@gnu.org>
4806
2d85dc34
GM
4807 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4808
cb8d2612
GM
4809 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4810
bb35f42f
GM
4811 * files.el (create-file-buffer): If the result would begin with
4812 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4813
b9808e77
SM
48142013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4815
e3a66363
SM
4816 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4817 text-properties (bug#15155).
4818
b9808e77
SM
4819 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4820 exist any more.
4821 (calc-keypad-redraw): Remove unused var `pad'.
4822 (calc-keypad-press): Remove unused var `menu'.
4823
7fd5f65e
MR
48242013-08-23 Martin Rudalics <rudalics@gmx.at>
4825
b9808e77
SM
4826 * window.el (display-buffer-pop-up-frame):
4827 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4828 use it as the new frame's buffer (Bug#15133).
4829
8352b530
SM
48302013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4831
4832 * calendar/timeclock.el: Minor cleanups.
4833 (timeclock-ask-before-exiting, timeclock-use-display-time):
4834 Use `symbol'.
4835 (timeclock-modeline-display): Define as alias before the
4836 actual definition.
4837 (timeclock-mode-line-display): Use define-minor-mode.
4838 (timeclock-day-list-template): Make it a function, add an argument.
4839 (timeclock-day-list-required, timeclock-day-list-length)
4840 (timeclock-day-list-debt, timeclock-day-list-span)
4841 (timeclock-day-list-break): Adjust calls accordingly.
4842
9f7b1925
SM
48432013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4846 Use read--expression so that completion works again.
4847
6e50e983
SS
48482013-08-21 Sam Steingold <sds@gnu.org>
4849
4850 Add rudimentary inferior shell interaction
4851 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4852 (sh-set-shell): Reset it.
9f7b1925
SM
4853 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4854 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4855
dbb0d350
SM
48562013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4857
4858 * align.el: Use lexical-binding.
4859 (align-region): Simplify accordingly.
4860
c88586a9
MA
48612013-08-20 Michael Albinus <michael.albinus@gmx.de>
4862
4863 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4864
4865 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4866 `non-essential' up.
4867
f95527c8
MA
48682013-08-17 Michael Albinus <michael.albinus@gmx.de>
4869
4870 * net/tramp.el:
4871 * net/tramp-adb.el:
4872 * net/tramp-cmds.el:
4873 * net/tramp-ftp.el:
4874 * net/tramp-gvfs.el:
4875 * net/tramp-gw.el:
4876 * net/tramp-sh.el: Don't wrap external variable declarations by
4877 `eval-when-compile'.
4878
4b5fe4ee
LMI
48792013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4880
4881 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4882 now that Emacs supports ImageMagick animations.
4883
13c366c9
MA
48842013-08-16 Michael Albinus <michael.albinus@gmx.de>
4885
4886 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4887 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4888
3dfc5cd6
MR
48892013-08-16 Martin Rudalics <rudalics@gmx.at>
4890
4891 * window.el (mouse-autoselect-window-select): Do autoselect when
4892 mouse pointer is on margin.
4893
4bbb4381
WP
48942013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4895
4896 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4897
3a2ddc2d
GM
48982013-08-16 Glenn Morris <rgm@gnu.org>
4899
e8bedf5a
GM
4900 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4901 Handle "Remote Directory" response of some clients. (Bug#15058)
4902
58c4682f
GM
4903 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4904 Tweak warning. (Bug#14926)
4905
57953f49
GM
4906 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4907 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4908
3a2ddc2d
GM
4909 * image-mode.el (image-mode-map): Add menu items to reverse,
4910 increase, decrease, reset animation speed.
4911 (image--set-speed, image-increase-speed, image-decrease-speed)
4912 (image-reverse-speed, image-reset-speed): New functions.
4913 (image-mode-map): Add bindings for speed commands.
4914
4915 * image.el (image-animate-get-speed, image-animate-set-speed):
4916 New functions.
4917 (image-animate-timeout): Respect image :speed property.
4918
10fa0ed3
SM
49192013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4922 previous line (bug#15101).
4923 (debugger-eval-expression, debugger-record-expression):
4924 Use read--expression (bug#15102).
4925
5d89d9d2
MA
49262013-08-15 Michael Albinus <michael.albinus@gmx.de>
4927
4928 Remove byte compiler warnings, visible when compiling with
4929 `byte-compile-force-lexical-warnings' set to t.
4930
4931 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4932 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4933 (tramp-handle-unhandled-file-name-directory)
4934 (tramp-handle-file-notify-add-watch, tramp-action-login)
4935 (tramp-action-succeed, tramp-action-permission-denied)
4936 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4937 arguments with "_".
4938
4939 * net/tramp-adb.el (tramp-adb-parse-device-names)
4940 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4941 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4942 (tramp-adb-handle-file-truename): Remove unused arguments.
4943
4944 * net/tramp-cache.el (tramp-flush-directory-property)
4945 (tramp-flush-connection-property, tramp-list-connections)
4946 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4947
10fa0ed3
SM
4948 * net/tramp-compat.el (tramp-compat-make-temp-file):
4949 Rename FILENAME to F.
5d89d9d2
MA
4950
4951 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4952 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4953 (tramp-zeroconf-parse-workstation-device-names)
4954 (tramp-zeroconf-parse-webdav-device-names)
4955 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4956
4957 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4958 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4959
4960 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4961 arguments.
4962 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4963 (tramp-sh-handle-insert-file-contents-literally)
4964 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4965 with "_".
4966 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4967 Remove unused variables.
4968
4969 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4970 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4971 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4972
4973 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4974 Make them a defconst.
4975 (tramp-uuencode-region): Remove unused variable.
4976
62f33bae
JB
49772013-08-14 Juanma Barranquero <lekktu@gmail.com>
4978
4979 * frameset.el (frameset--prop-setter): New function.
4980 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
4981 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4982 parameter was already set in FILTERED. Doc fix.
4983 (frameset--record-minibuffer-relationships): Allow saving a
4984 minibufferless frame without its corresponding minibuffer frame.
4985 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4986 frame, if the frame id matches.
4987 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4988 frames before orphaned ones.
4989 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 4990
c660a885
MR
49912013-08-14 Martin Rudalics <rudalics@gmx.at>
4992
4993 * window.el (window-make-atom): Don't overwrite parameter
4994 already present.
4995 (display-buffer-in-atom-window): Handle special case where we
4996 split an already atomic window.
4997 (window--major-non-side-window, display-buffer-in-side-window)
4998 (window--side-check): Ignore minibuffer window when walking
4999 window tree.
5000 (window-deletable-p): Return 'frame only if no other frame uses
5001 our minibuffer window.
5002 (record-window-buffer): Run buffer-list-update-hook.
5003 (split-window): Make sure window--check-frame won't destroy an
5004 existing atomic window in case the new window gets nested
5005 inside.
5006 (display-buffer-at-bottom): Ignore minibuffer window when
5007 walking window tree. Don't split a side window.
5008 (pop-to-buffer): Don't set-buffer here, the select-window call
5009 should do that.
5010 (mouse-autoselect-window-select): Autoselect only if we are in the
5011 text portion of the window.
5012
8259030d
LMI
50132013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5014
21c58ae2
LMI
5015 * net/shr.el (shr-parse-image-data): New function to grab both the
5016 data itself and the Content-Type.
5017 (shr-put-image): Use it.
5018
5019 * net/eww.el (eww-display-image): Ditto.
5020
8259030d
LMI
5021 * image.el (image-content-type-suffixes): New variable.
5022
ad756449
FEG
50232013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5024
5025 * progmodes/python.el (python-imenu--build-tree)
5026 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5027
f73f4ce6
XF
50282013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5029
5030 * simple.el (backward-word): Mention the optional argument.
5031
1f585e65
SM
50322013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5033
5034 * frameset.el (frameset--make): Rename constructor from make-frameset.
5035 (frameset-p, frameset-valid-p): Don't autoload.
5036 (frameset-valid-p): Use normal accessors.
5037
af1c6c84
GM
50382013-08-13 Glenn Morris <rgm@gnu.org>
5039
55e47f95
GM
5040 * progmodes/compile.el (compile-command): Tweak example in doc.
5041 * obsolete/scribe.el (scribe-mode):
5042 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5043
f0024d8c
GM
5044 * mail/feedmail.el (feedmail-confirm-outgoing)
5045 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5046
5047 * cus-start.el (truncate-partial-width-windows): Fix type.
5048
5049 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5050
af1c6c84
GM
5051 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5052
5514cc4c
SM
50532013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5054
5055 * emacs-lisp/timer.el (timer--time-setter): New function.
5056 (timer--time): Use it as gv-setter.
5057
5058 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5059 setter is not a symbol.
5060
7997a2f1
GJ
50612013-08-12 Grégoire Jadi <daimrod@gmail.com>
5062
5063 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5064 if sending fails. This makes debugging easier.
5065
01f1a9ab
JB
50662013-08-12 Juanma Barranquero <lekktu@gmail.com>
5067
5068 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5069 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5070 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5071
594a4307
EZ
50722013-08-12 Eli Zaretskii <eliz@gnu.org>
5073
5074 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5075
7a22490f 50762013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5077
5078 * format.el (format-annotate-function):
5079 Handle read-only text properties in the source. (Bug#14887)
5080
3e41a054
LMI
50812013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5082
5514cc4c
SM
5083 * net/eww.el (eww-display-html): Ignore coding system errors.
5084 One web site uses "utf-8lias" as the coding system.
3e41a054 5085
7ec326db
JB
50862013-08-11 Juanma Barranquero <lekktu@gmail.com>
5087
5088 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5089
5660113b
JB
50902013-08-10 Juanma Barranquero <lekktu@gmail.com>
5091
9a4ebc74
JB
5092 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5093 (tutorial--detailed-help): Remove unused local variables.
5094 (tutorial--save-tutorial-to): Use ignore-errors.
5095 (help-with-tutorial): Use looking-at-p.
5096
5097 * view.el (view-buffer-other-window, view-buffer-other-frame):
5098 Mark unused arguments.
5099
5100 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5101 (woman-select-symbol-fonts, woman, woman-find-file)
5102 (woman-insert-file-contents, woman-non-underline-faces):
5103 Use string-match-p.
5104 (woman1-unquote): Move declaration.
5105
5106 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5107 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5108 argument. Remove unused local variable.
5109 (xml-parse-elem-type): Use string-match-p.
5110 (xml-substitute-numeric-entities): Use ignore-errors.
5111
45fdb482
JB
5112 * calculator.el (calculator): Mark unused argument.
5113 (calculator-paste, calculator-quit, calculator-integer-p):
5114 Use ignore-errors.
5115 (calculator-string-to-number, calculator-decimal, calculator-exp)
5116 (calculator-op-or-exp): Use string-match-p.
5117
5118 * dired.el (dired-buffer-more-recently-used-p): Declare.
5119 (dired-insert-set-properties, dired-insert-old-subdirs):
5120 Use ignore-errors.
5121
5122 * dired-aux.el (dired-compress): Use ignore-errors.
5123 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5124 (dired-do-async-shell-command, dired-do-shell-command)
5125 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5126 (dired-insert-subdir-validate): Use string-match-p.
5127 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5128 (dired-add-entry): Use string-match-p, looking-at-p.
5129 (dired-insert-subdir-newpos): Remove unused local variable.
5130
5131 * filenotify.el (file-notify-callback): Remove unused local variable.
5132
5133 * filesets.el (filesets-error): Mark unused argument.
5134 (filesets-which-command-p, filesets-filter-dir-names)
5135 (filesets-directory-files, filesets-get-external-viewer)
5136 (filesets-ingroup-get-data): Use string-match-p.
5137
5138 * find-file.el (ff-other-file-name, ff-other-file-name)
5139 (ff-find-the-other-file, ff-cc-hh-converter):
5140 Remove unused local variables.
5141 (ff-get-file-name): Use string-match-p.
5142 (ff-all-dirs-under): Use ignore-errors.
5143
5144 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5145 (follow-select-if-visible): Remove unused local variable.
5146
5147 * forms.el (read-file-filter): Move declaration.
5148 (forms--make-format, forms--make-parser, forms-insert-record):
5149 Quote function with #'.
5150 (forms--update): Use string-match-p. Quote function with #'.
5151
5152 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5153 (help-make-xrefs): Use looking-at-p.
5154 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5155
5156 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5157 (ibuffer-confirm-operation-on): Use string-match-p.
5158
5159 * msb.el (msb-item-handler, msb-dired-item-handler):
5160 Mark unused arguments.
5161
5162 * ses.el (ses-decode-cell-symbol)
5163 (ses-kill-override): Remove unused local variable.
5164 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5165 (ses-load): Use ignore-errors, looking-at-p.
5166 (ses-jump-safe): Use ignore-errors.
5167 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5168
5169 * tabify.el (untabify, tabify): Mark unused arguments.
5170
5171 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5172 Mark unused argument.
5173 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5174 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5175
c880af52
JB
5176 * emacs-lisp/timer.el (timer--time): Define setter with
5177 gv-define-setter to avoid deprecation warning.
5178
5660113b 5179 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5180 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5181 (cmpl-statistics-block): Remove (body was commented out).
5182 All callers changed.
5183 (add-completions-from-buffer, load-completions-from-file):
5184 Remove unused variables.
5185
156aab80
JB
51862013-08-09 Juanma Barranquero <lekktu@gmail.com>
5187
5c5dee78
JB
5188 * filecache.el (file-cache-delete-file-list):
5189 Print message only when told so.
5190 (file-cache-files-matching): Use #' in mapconcat argument.
5191
156aab80
JB
5192 * ffap.el (ffap-url-at-point): Fix reference to variable
5193 thing-at-point-default-mail-uri-scheme.
5194
ad9dcd70
SM
51952013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5196
54bd972f
SM
5197 * subr.el (define-error): New function.
5198 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5199 error-file-not-found and define with define-error.
5200 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5201 and define with define-error.
5202 * userlock.el (file-locked, file-supersession):
5203 * simple.el (mark-inactive):
5204 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5205 * progmodes/ada-mode.el (ada-mode-errors):
5206 * play/life.el (life-extinct):
5207 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5208 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5209 * nxml/rng-util.el (rng-error):
5210 * nxml/rng-uri.el (rng-uri-error):
5211 * nxml/rng-match.el (rng-compile-error):
5212 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5213 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5214 * nxml/nxml-rap.el (nxml-scan-error):
5215 * nxml/nxml-outln.el (nxml-outline-error):
5216 * net/soap-client.el (soap-error):
5217 * net/gnutls.el (gnutls-error):
5218 * net/ange-ftp.el (ftp-error):
5219 * mpc.el (mpc-proc-error):
5220 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5221 (json-number-format, json-string-escape, json-string-format)
5222 (json-key-format, json-object-format):
5223 * jka-compr.el (compression-error):
5224 * international/quail.el (quail-error):
5225 * international/kkc.el (kkc-error):
5226 * emacs-lisp/ert.el (ert-test-failed):
5227 * calc/calc.el (calc-error, inexact-result, math-overflow)
5228 (math-underflow):
5229 * bookmark.el (bookmark-error-no-filename):
5230 * epg.el (epg-error): Define with define-error.
5231
0ea9e53a
SM
5232 * time.el (display-time-event-handler)
5233 (display-time-next-load-average): Don't call sit-for since it seems
5234 unnecessary (bug#15045).
5235
b0429158
SM
5236 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5237 Use #' instead of ' to quote functions.
5238 (checkdoc-output-mode): Use setq-local.
5239 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5240 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5241 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5242 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5243 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5244 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5245 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5246 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5247
ad9dcd70
SM
5248 * ido.el (ido-completion-help): Fix up compiler warning.
5249
77187e6f
JB
52502013-08-09 Juanma Barranquero <lekktu@gmail.com>
5251
5252 * frameset.el (frameset-p): Add autoload cookie.
5253 (frameset--jump-to-register): New function, based on code moved from
5254 register.el.
5255 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5256
5257 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5258 (frameset-restore, frameset-save, frameset-session-filter-alist):
5259 Remove declarations.
5260 (register-alist): Doc fix.
5261 (frameset-to-register): Move to frameset.el.
5262 (jump-to-register, describe-register-1): Remove frameset-specific code.
5263
9d3aa82c
JB
52642013-08-08 Juanma Barranquero <lekktu@gmail.com>
5265
5266 * allout-widgets.el (allout-widgets-pre-command-business)
5267 (allout-widgets-post-command-business)
5268 (allout-widgets-after-change-handler)
5269 (allout-decorate-item-and-context, allout-set-boundary-marker)
5270 (allout-body-modification-handler)
5271 (allout-graphics-modification-handler): Mark ignored arguments.
5272 (allout-widgets-post-command-business)
5273 (allout-widgets-exposure-change-processor)
5274 (allout-widgets-exposure-undo-processor)
5275 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5276 (allout-parse-item-at-point, allout-decorate-item-guides)
5277 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5278 * allout.el (epa-passphrase-callback-function): Declare.
5279 (allout-overlay-insert-in-front-handler)
5280 (allout-overlay-interior-modification-handler)
5281 (allout-isearch-end-handler, allout-chart-siblings)
5282 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5283 (allout-yank-processing, allout-process-exposed)
5284 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5285 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5286 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5287 (lisp-indent-defform): Mark ignored arguments.
5288 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5289 (calculate-lisp-indent): Remove unused variables.
5290 * international/characters.el (indian-2-column, arabic-2-column)
5291 (tibetan): Mark ignored arguments.
5292 (use-cjk-char-width-table): Mark ignored arguments.
5293 Remove unused variables.
5294 * international/fontset.el (build-default-fontset-data)
5295 (x-compose-font-name, create-fontset-from-fontset-spec):
5296 Mark ignored arguments.
5297 (fontset-plain-name): Remove unused variables.
5298 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5299 (keyboard-coding-system): Mark ignored arguments.
5300 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5301 * help.el (resize-temp-buffer-window):
5302 * window.el (display-buffer-in-major-side-window)
5303 (display-buffer-in-side-window, display-buffer-in-previous-window):
5304 Remove unused variables.
5305 * isearch.el (isearch-forward-symbol):
5306 * version.el (emacs-bzr-version-bzr):
5307 * international/mule-cmds.el (current-language-environment):
5308 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5309 (x-handle-display):
5310 * term/pc-win.el (x-list-fonts, x-display-planes)
5311 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5312 (x-server-version, x-display-screens, x-display-mm-height)
5313 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5314 (x-selection-owner-p, x-own-selection-internal)
5315 (x-disown-selection-internal, x-get-selection-internal)
5316 (msdos-initialize-window-system):
5317 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5318 * term/x-win.el (x-handle-no-bitmap-icon):
5319 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5320 (vc-default-find-file-hook, vc-default-extra-menu):
5321 Mark ignored arguments.
5322
0ca3f70e
SM
53232013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5326 break-condition in the context of the debugged code (bug#12685).
5327
74c5d24c
CS
53282013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5329
5330 * comint.el:
5331 Do not use an overlay to highlight the last prompt. (Bug#14744)
5332 (comint-mode): Make comint-last-prompt buffer local.
5333 (comint-last-prompt): New variable.
5334 (comint-last-prompt-overlay): Remove. Superseded by
5335 comint-last-prompt.
0ca3f70e
SM
5336 (comint-snapshot-last-prompt, comint-output-filter):
5337 Use comint-last-prompt.
74c5d24c 5338
c03c02ee
JB
53392013-08-08 Juanma Barranquero <lekktu@gmail.com>
5340
a3738d20 5341 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5342 (frameset-save): Check validity of the resulting frameset.
5343
04263d23
XF
53442013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5345
5346 * ido.el (ido-record-command): Add doc string.
5347
76c5e5ab
JB
53482013-08-08 Juanma Barranquero <lekktu@gmail.com>
5349
5350 * frameset.el (frameset): Do not disable creation of the default
5351 frameset-p predicate. Doc fix.
5352 (frameset-valid-p): New function, copied from the old predicate-p.
5353 Add additional checks.
5354 (frameset-restore): Check with frameset-valid-p.
5355 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5356 (frameset-name, frameset-description, frameset-properties)
5357 (frameset-states): Add docstring.
f9dbf1cb
JB
5358 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5359 (frameset-filter-alist): Doc fixes.
76c5e5ab 5360
bd0c3c0b
JB
53612013-08-08 Juanma Barranquero <lekktu@gmail.com>
5362
5363 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5364
c735544c
SM
53652013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5366
5367 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5368 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5369 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5370 (byte-compile-normal-call): Remove obsolescence check.
5371
2805a651
JB
53722013-08-08 Juanma Barranquero <lekktu@gmail.com>
5373
3677ffeb
JB
5374 * frameset.el (frameset-restore): Doc fix.
5375
2805a651
JB
5376 * register.el (frameset-frame-id, frameset-frame-with-id)
5377 (frameset-p, frameset-restore, frameset-save): Declare.
5378 (register-alist): Document framesets.
5379 (frameset-session-filter-alist): Declare.
5380 (frameset-to-register): New function.
5381 (jump-to-register): Implement jumping to framesets. Doc fix.
5382 (describe-register-1): Describe framesets.
5383
5384 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5385
a912c016
JB
53862013-08-07 Juanma Barranquero <lekktu@gmail.com>
5387
5388 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5389 Use lexical-binding.
5390
5391 * frameset.el (frameset): Use type vector, not list (incompatible
5392 change). Do not declare a new constructor, use the default one.
5393 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5394 `name' and `description', respectively, and add read-only slot
5395 `timestamp'. Doc fixes.
5396 (frameset-copy, frameset-persistent-filter-alist)
5397 (frameset-filter-alist, frameset-switch-to-gui-p)
5398 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5399 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5400 (frameset-filter-iconified, frameset-keep-original-display-p):
5401 Doc fixes.
5402 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5403 Rename from frameset-filter-(save|restore)-param. All callers changed.
5404 Doc fix.
5405 (frameset-p): Adapt to change to vector and be more thorough.
5406 Change arg name to OBJECT. Doc fix.
5407 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5408 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5409 All callers changed.
5410 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5411 All callers changed.
5412 (frameset--record-minibuffer-relationships): Rename from
5413 frameset--process-minibuffer-frames. All callers changed.
5414 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5415 Use new default constructor (again). Doc fix.
5416 (frameset--find-frame-if): Rename from `frameset--find-frame.
5417 All callers changed.
5418 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5419 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5420 Doc fix.
5421 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5422 PARAMETERS and WINDOW-STATE, respectively.
5423 (frameset-restore): Add new keyword argument PREDICATE.
5424 Reset frameset--target-display to nil. Doc fix.
5425
bb41480a
SM
54262013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5427
f001e98e
SM
5428 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5429 (bat-mode): Use it.
5430 (bat-mode-syntax-table): Mark \n as end-of-comment.
5431 (bat-font-lock-keywords): Remove comment rule.
5432
7679edb1
SM
5433 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5434 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5435
bb41480a
SM
5436 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5437 (byte-compile-callargs-warn): Use `push'.
5438 (byte-compile-arglist-warn): Ignore higher-order "calls".
5439 (byte-compile-file-form-autoload): Use `pcase'.
5440 (byte-compile-function-form): If quoting a symbol, check that it exists.
5441
cdc1ebb9
EZ
54422013-08-07 Eli Zaretskii <eliz@gnu.org>
5443
5444 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5445 and add a few popular commands found in batch files.
5446 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5447 (dos-mode): Doc fixes.
5448
312b1740
SM
54492013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5452 (dos-mode): Use setq-local. Add space after "rem".
5453 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5454 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5455
400a3178
AM
54562013-08-07 Arni Magnusson <arnima@hafro.is>
5457
5458 * progmodes/dos.el: New file.
5459 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5460 dos-mode.
5461
3b5c03d3
GM
54622013-08-06 Glenn Morris <rgm@gnu.org>
5463
5464 * calendar/calendar.el: Add new faces, and day-header-array.
5465 (calendar-weekday-header, calendar-weekend-header)
5466 (calendar-month-header): New faces.
5467 (calendar-day-header-construct): New function.
5468 (calendar-day-header-width): Also :set calendar-day-header-array.
5469 (calendar-american-month-header, calendar-european-month-header)
5470 (calendar-iso-month-header): Use calendar- faces.
5471 (calendar-generate-month):
5472 Use calendar-day-header-array for day headers; apply faces to them.
5473 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5474 (calendar-abbrev-construct): Add optional maxlen argument.
5475 (calendar-day-name-array): Doc fix.
5476 (calendar-day-name-array, calendar-abbrev-length)
5477 (calendar-day-abbrev-array):
5478 Also :set calendar-day-header-array, and maybe redraw.
5479 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5480 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5481 (calendar-day-name): Add option to use header array.
5482
ec6a2d7a
LMI
54832013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5484
5485 * net/shr.el (shr-render-td): Remove debugging.
5486 (shr-render-td): Make width computation consistent by defaulting
5487 all zero-width columns to 10 characters. This may not be optimal,
5488 but it's at least consistent.
2122cb6d
LMI
5489 (shr-make-table-1): Redo last change to fix the real problem in
5490 colspan handling.
ec6a2d7a 5491
ed4fd9c5
DA
54922013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5493
0ca3f70e
SM
5494 * files.el (cache-long-line-scans):
5495 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5496
64e22afe
JB
54972013-08-06 Juanma Barranquero <lekktu@gmail.com>
5498
024b38fc
JB
5499 * frameset.el (frameset, frameset-filter-alist)
5500 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5501 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5502 (frameset-compute-pos): Rename from frameset--compute-pos,
5503 and add docstring.
5504 (frameset-move-onscreen): Use frameset-compute-pos.
5505 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5506
64e22afe
JB
5507 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5508 Fix typos in docstrings.
5509
c8c2aca8
DA
55102013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5511
5512 * frame.el (get-other-frame): Tiny cleanup.
5513
1d237bba
JB
55142013-08-06 Juanma Barranquero <lekktu@gmail.com>
5515
8951efef
JB
5516 * vc/vc.el (vc-default-ignore-completion-table):
5517 Silence byte-compiler warning.
5518
307764cc
JB
5519 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5520 slot , which can indeed be nil.
5521 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5522 Move entry for `left' from persistent to live filter alist.
5523 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5524 Doc fixes.
5525 (frameset-filter-params): When restoring a frame, copy items added to
5526 `filtered', to avoid unwittingly modifying the original parameters.
5527 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5528 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5529
1d237bba
JB
5530 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5531 to use looking-at-p instead of looking-at. (Bug#15028)
5532
dc6c0eda
SM
55332013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 Revert introduction of isearch-filter-predicates (bug#14714).
5536 Rely on add-function instead.
5537 * isearch.el (isearch-filter-predicates): Rename it back to
5538 isearch-filter-predicate.
5539 (isearch-message-prefix): Use advice-function-mapc and advice
5540 properties to get the isearch-message-prefix.
5541 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5542 instead of run-hook-with-args-until-failure.
5543 (isearch-filter-visible): Not obsolete any more.
5544 * loadup.el: Preload nadvice.
5545 * replace.el (perform-replace): Revert to funcall
5546 instead of run-hook-with-args-until-failure.
5547 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5548 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5549 dired-isearch-filenames-toggle; make it into a proper minor mode.
5550 Use add/remove-function.
5551 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5552 Call the minor-mode rather than add/remove-hook.
5553 (dired-isearch-filter-filenames):
5554 Remove isearch-message-prefix property.
5555 * info.el (Info--search-loop): New function, extracted from Info-search.
5556 Funcall isearch-filter-predicate instead of
5557 run-hook-with-args-until-failure isearch-filter-predicates.
5558 (Info-search): Use it.
5559 (Info-mode): Use isearch-filter-predicate instead of
5560 isearch-filter-predicates.
5561
290d5b58
DA
55622013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5563
5564 Do not call to `selected-window' where it is assumed by default.
5565 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5566 `window-hscroll', `window-width', `window-height', `window-buffer',
5567 `window-frame', `window-start', `window-point', `next-window'
5568 and `window-display-table'.
5569 * abbrev.el (abbrev--default-expand):
5570 * bs.el (bs--show-with-configuration):
5571 * buff-menu.el (Buffer-menu-mouse-select):
5572 * calc/calc.el (calc):
5573 * calendar/calendar.el (calendar-generate-window):
5574 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5575 (diary-make-entry):
5576 * comint.el (send-invisible, comint-dynamic-complete-filename)
5577 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5578 * completion.el (complete):
5579 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5580 * disp-table.el (describe-current-display-table):
5581 * doc-view.el (doc-view-insert-image):
5582 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5583 * ehelp.el (with-electric-help):
5584 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5585 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5586 * emacs-lisp/helper.el (Helper-help-scroller):
5587 * emulation/cua-base.el (cua--post-command-handler-1):
5588 * eshell/esh-mode.el (eshell-output-filter):
5589 * ffap.el (ffap-gnus-wrapper):
5590 * help-macro.el (make-help-screen):
5591 * hilit-chg.el (highlight-compare-buffers):
5592 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5593 * hl-line.el (global-hl-line-highlight):
5594 * icomplete.el (icomplete-simple-completing-p):
5595 * isearch.el (isearch-done):
5596 * jit-lock.el (jit-lock-stealth-fontify):
5597 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5598 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5599 * mpc.el (mpc-tagbrowser, mpc):
5600 * net/rcirc.el (rcirc-any-buffer):
5601 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5602 * play/landmark.el (landmark-max-width, landmark-max-height):
5603 * play/zone.el (zone):
5604 * progmodes/compile.el (compilation-goto-locus):
5605 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5606 * progmodes/etags.el (find-tag-other-window):
5607 * progmodes/fortran.el (fortran-column-ruler):
5608 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5609 * progmodes/verilog-mode.el (verilog-point-text):
5610 * reposition.el (reposition-window):
5611 * rot13.el (toggle-rot13-mode):
5612 * server.el (server-switch-buffer):
5613 * shell.el (shell-dynamic-complete-command)
5614 (shell-dynamic-complete-environment-variable):
5615 * simple.el (insert-buffer, set-selective-display)
5616 (delete-completion-window):
5617 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5618 (speedbar-recenter):
5619 * startup.el (fancy-splash-head):
5620 * textmodes/ispell.el (ispell-command-loop):
5621 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5622 * tutorial.el (help-with-tutorial):
5623 * vc/add-log.el (add-change-log-entry):
5624 * vc/compare-w.el (compare-windows):
5625 * vc/ediff-help.el (ediff-indent-help-message):
5626 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5627 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5628 (ediff-setup-control-frame):
5629 * vc/emerge.el (emerge-position-region):
5630 * vc/pcvs-util.el (cvs-bury-buffer):
5631 * window.el (walk-windows, mouse-autoselect-window-select):
5632 * winner.el (winner-set-conf, winner-undo): Related users changed.
5633
38276e01
JB
56342013-08-05 Juanma Barranquero <lekktu@gmail.com>
5635
5636 * frameset.el (frameset--set-id): Doc fix.
5637 (frameset-frame-id, frameset-frame-id-equal-p)
5638 (frameset-locate-frame-id): New functions.
5639 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5640 (frameset-restore): Use them.
5641
12b4c0ea
DA
56422013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5643
5644 Do not call to `selected-frame' where it is assumed by default.
5645 Affected functions are `raise-frame', `redraw-frame',
5646 `frame-first-window', `frame-terminal' and `delete-frame'.
5647 * calendar/appt.el (appt-disp-window):
5648 * epg.el (epg-wait-for-completion):
5649 * follow.el (follow-delete-other-windows-and-split)
5650 (follow-avoid-tail-recenter):
5651 * international/mule.el (set-terminal-coding-system):
5652 * mail/rmail.el (rmail-mail-return):
5653 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5654 * progmodes/f90.el (f90-add-imenu-menu):
5655 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5656 * server.el (server-switch-buffer):
5657 * simple.el (delete-completion-window):
5658 * talk.el (talk):
5659 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5660 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5661 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5662 * vc/ediff.el (ediff-documentation): Related users changed.
5663 * frame.el (selected-terminal): Remove the leftover.
5664
17f25e76
GM
56652013-08-05 Glenn Morris <rgm@gnu.org>
5666
5667 * calendar/calendar.el (calendar-generate-month):
5668 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5669 (calendar-generate-month, calendar-font-lock-keywords):
5670 Fix for calendar-day-header-width > length of any day name.
17f25e76 5671
063233c3
JB
56722013-08-05 Juanma Barranquero <lekktu@gmail.com>
5673
5674 * desktop.el (desktop-clear): Use new name of sort predicate.
5675
5676 * frameset.el (frameset): Add docstring. Move :version property to its
5677 own `version' slot.
5678 (frameset-copy): Rename from copy-frameset.
5679 (frameset-p): Check more thoroughly.
5680 (frameset-prop): Do not check for :version, which is no longer a prop.
5681 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5682 Use new :never value instead of t.
5683 (frameset-filter-alist): Expand and clarify docstring.
5684 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5685 (frameset-filter-minibuffer, frameset-filter-save-param)
5686 (frameset-filter-restore-param, frameset-filter-iconified):
5687 Add pointer to docstring of frameset-filter-alist.
5688 (frameset-filter-params): Rename filter values to be more meaningful:
5689 :never instead of t, and reverse the meanings of :save and :restore.
5690 (frameset--process-minibuffer-frames): Clarify error message.
5691 (frameset-save): Avoid unnecessary and confusing call to framep.
5692 Use new BOA constructor for framesets.
5693 (frameset--reuse-list): Doc fix.
5694 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5695 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5696 (frameset-minibufferless-first-p): Doc fix.
5697 Rename from frameset-sort-frames-for-deletion.
5698 (frameset-restore): Doc fixes. Use new function names.
5699 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5700
d5671a82
JB
57012013-08-04 Juanma Barranquero <lekktu@gmail.com>
5702
5703 * desktop.el (desktop-restore-forces-onscreen)
5704 (desktop-restore-reuses-frames): Document :keyword constant values.
5705 (desktop-filter-parameters-alist): Remove, now identical to
5706 frameset-filter-alist.
5707 (desktop--filter-tty*): Remove, moved to frameset.el.
5708 (desktop-save-frameset, desktop-restore-frameset):
5709 Do not pass :filters argument.
5710
5711 * frameset.el (frameset-live-filter-alist)
5712 (frameset-persistent-filter-alist): New variables.
5713 (frameset-filter-alist): Use them. Add autoload cookie.
5714 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5715 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5716 `frameset--id' (it's supposed to be internal to frameset.el).
5717 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5718 (frameset--initial-params): New function.
5719 (frameset--get-frame): Use it. Doc fix.
5720 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5721 Accept :all, not 'all.
5722 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5723 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5724 with fbound symbols. Fix frame id matching, and remove matching ids if
5725 the frame being restored is deleted. Obey :delete.
5726
671d5c16
SM
57272013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5728
5729 * subr.el (macrop): New function.
5730 (text-clone--maintaining): New var.
5731 (text-clone--maintain): Rename from text-clone-maintain. Use it
5732 instead of inhibit-modification-hooks.
5733
5734 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5735 a proxy, so as handle autoloads and redefinitions of the target.
5736 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5737
5738 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5739 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5740 (pcase--mutually-exclusive-p): New function.
5741 (pcase--split-consp): Use it.
5742 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5743 mutually exclusive with the current predicate.
5744
5745 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5746 (edebug-macrop): Remove. Use `macrop' instead.
5747 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5748 (ad-macro-p):
5749 * eshell/esh-cmd.el (eshell-macrop):
5750 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5751
1d44e9dc
SM
57522013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5753
5754 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5755 (advice-mapc): New function, using it.
5756 (advice-function-member-p): New function.
5757 (advice--normalize): Store the cdr in advice--saved-rewrite since
5758 that's the part that will be changed.
5759 (advice--symbol-function): New function.
5760 (advice-remove): Handle removal before the function is defined.
5761 Adjust to new advice--saved-rewrite.
5762 (advice-member-p): Use advice-function-member-p and
5763 advice--symbol-function.
5764
5414a283
JB
57652013-08-04 Juanma Barranquero <lekktu@gmail.com>
5766
51d30f2c
JB
5767 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5768 (frameset-filter-minibuffer): Doc fix.
5769 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5770 (frameset--set-id, frameset--process-minibuffer-frames)
5771 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5772 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5773
5414a283
JB
5774 * desktop.el (desktop-clear): Only delete frames when called
5775 interactively and desktop-restore-frames is non-nil. Doc fix.
5776 (desktop-read): Set desktop-saved-frameset to nil.
5777
ab419665
XF
57782013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5779
5780 * vc/vc.el (vc-ignore): Rewrite.
5781 (vc-default-ignore-completion-table):
5782 (vc--read-lines):
5783 (vc--add-line, vc--remove-regexp): New functions.
5784
5785 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5786 (vc-svn-ignore-completion-table): New function.
5787
5788 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5789 (vc-hg-ignore-completion-table):
5790 (vc-hg-find-ignore-file): New functions.
5791
5792 * vc/vc-git.el (vc-git-ignore): Rewrite.
5793 (vc-git-ignore-completion-table):
5794 (vc-git-find-ignore-file): New functions.
5795
5796 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5797
5798 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5799 (vc-bzr-ignore-completion-table):
5800 (vc-bzr-find-ignore-file): New functions.
5801
2613dea2
JB
58022013-08-03 Juanma Barranquero <lekktu@gmail.com>
5803
5804 * frameset.el (frameset-prop): New function and setter.
5805 (frameset-save): Do not modify frame list passed by the caller.
5806
9c959872
SM
58072013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5810
a104f656
SM
58112013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5812
70122acf
SM
5813 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5814 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5815
a104f656
SM
5816 * custom.el (custom-initialize-default, custom-initialize-set)
5817 (custom-initialize-reset, custom-initialize-changed): Affect the
5818 toplevel-default-value (bug#6275, bug#14586).
5819 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5820 for bug#6275.
5821
f078d570
JB
58222013-08-02 Juanma Barranquero <lekktu@gmail.com>
5823
185e3b5a
JB
5824 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5825 Add cl-def* expressions.
5826
f078d570
JB
5827 * frameset.el (frameset-filter-params): Fix order of arguments.
5828
9421876d
JB
58292013-08-02 Juanma Barranquero <lekktu@gmail.com>
5830
5831 Move code related to saving frames to frameset.el.
5832 * desktop.el: Require frameset.
5833 (desktop-restore-frames): Doc fix.
5834 (desktop-restore-reuses-frames): Rename from
5835 desktop-restoring-reuses-frames.
5836 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5837 (desktop-clear): Clear frames too.
5838 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5839 (desktop--filter-tty*, desktop-save, desktop-read):
5840 Use frameset functions.
5841 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5842 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5843 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5844 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5845 (desktop--process-minibuffer-frames, desktop-save-frames)
5846 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5847 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5848 (desktop--sort-states, desktop-restoring-frames-p)
5849 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5850 (desktop-restoring-frameset-p, desktop-restore-frameset)
5851 (desktop--check-dont-save, desktop-save-frameset): New functions.
5852 (desktop--app-id): New constant.
5853 (desktop-first-buffer, desktop-buffer-ok-count)
5854 (desktop-buffer-fail-count): Move before first use.
5855 * frameset.el: New file.
5856
76dc5996
SM
58572013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * files.el: Use lexical-binding.
5860 (dir-locals-read-from-file): Remove unused `err' variable.
5861 (hack-dir-local-variables--warned-coding): New var.
5862 (hack-dir-local-variables): Use it to avoid repeated warnings.
5863 (make-backup-file-name--default-function): New function.
5864 (make-backup-file-name-function): Use it as default.
5865 (buffer-stale--default-function): New function.
5866 (buffer-stale-function): Use it as default.
5867 (revert-buffer-insert-file-contents--default-function): New function.
5868 (revert-buffer-insert-file-contents-function): Use it as default.
5869 (insert-directory): Avoid add-to-list.
5870
5871 * autorevert.el (auto-revert-handler): Simplify.
5872 Use buffer-stale--default-function.
5873
06d36e2b
TH
58742013-08-01 Tassilo Horn <tsdh@gnu.org>
5875
5f648ab4
TH
5876 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5877
06d36e2b
TH
5878 * whitespace.el (whitespace-ensure-local-variables): New function.
5879 (whitespace-cleanup-region): Call it.
5880 (whitespace-turn-on): Call it.
5881
a43dc424
MA
58822013-08-01 Michael Albinus <michael.albinus@gmx.de>
5883
5884 Complete file name handlers.
5885
5886 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5887 (tramp-handle-verify-visited-file-modtime)
5888 (tramp-handle-file-notify-rm-watch): New functions.
5889 (tramp-call-process): Do not bind `default-directory'.
5890
44e18199
JB
5891 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5892 Order alphabetically.
a43dc424
MA
5893 [access-file, add-name-to-file, dired-call-process]:
5894 [dired-compress-file, file-acl, file-notify-rm-watch]:
5895 [file-ownership-preserved-p, file-selinux-context]:
5896 [make-directory-internal, make-symbolic-link, set-file-acl]:
5897 [set-file-selinux-context, set-visited-file-modtime]:
5898 [verify-visited-file-modtime]: Add handler.
5899 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5900
5901 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5902 [file-notify-add-watch, file-notify-rm-watch]:
5903 [set-file-times, set-visited-file-modtime]:
5904 [verify-visited-file-modtime]: Add handler.
5905 (with-tramp-gvfs-error-message)
5906 (tramp-gvfs-handle-set-visited-file-modtime)
5907 (tramp-gvfs-fuse-file-name): Remove.
5908 (tramp-gvfs-handle-file-notify-add-watch)
5909 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5910 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5911
44e18199
JB
5912 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5913 Order alphabetically.
a43dc424
MA
5914 [file-notify-rm-watch ]: Use default Tramp handler.
5915 [executable-find]: Remove private handler.
5916 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5917 `default-directory'.
5918 (tramp-sh-handle-executable-find)
5919 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5920 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5921 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5922 Do not use `format' in `tramp-message'.
5923
5924 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5925 [file-notify-rm-watch, set-visited-file-modtime]:
5926 [verify-visited-file-modtime]: Add handler.
5927 (tramp-smb-call-winexe): Do not bind `default-directory'.
5928
7188b515
XF
59292013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5930
5931 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5932
2412ee1a
DG
59332013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5934
5935 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5936 use it.
5937 (log-view-diff-changeset): Same.
5938 (log-view-diff-common): Call backend command `previous-revision'
5939 to find out the previous revision, in both cases. Swap the
5940 variables `to' and `fr', so that `fr' usually refers to the
5941 earlier revision (Bug#14989).
5942
5002a754
KRC
59432013-07-31 Kan-Ru Chen <kanru@kanru.info>
5944
5945 * ibuf-ext.el (ibuffer-filter-by-filename):
5946 Make it work with dired buffers too.
5947
44e18199 59482013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
5949
5950 * emacs-lisp/re-builder.el (reb-color-display-p):
5951 * files.el (save-buffers-kill-terminal):
5952 * net/browse-url.el (browse-url):
5953 * server.el (server-save-buffers-kill-terminal):
5954 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5955 Prefer nil to selected-frame for the first arg of frame-parameter.
5956
aeca3fbb
XF
59572013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5958
5959 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5960
158bc55c
SB
59612013-07-30 Stephen Berman <stephen.berman@gmx.net>
5962
5963 * minibuffer.el (completion--twq-all): Try and preserve each
5964 completion's case choice (bug#14907).
5965
d50fceab
LMI
59662013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5967
ac38e731
LMI
5968 * net/network-stream.el (open-network-stream): Mention the new
5969 :nogreeting parameter.
5970 (network-stream-open-starttls): Use the :nogreeting parameter
5971 (bug#14938).
5972
1211de50
LMI
5973 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5974
997798bf
LMI
5975 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5976 more natural than popping.
5977
d50fceab 5978 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 5979 (shr-urlify): Highlight under mouse.
d50fceab 5980
5c09de04
XF
59812013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5982
207d1d04
XF
5983 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5984
5985 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5986
5c09de04
XF
5987 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5988 buffer for output.
5989
3cd51eaa
XF
5990 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5991 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 5992
44e18199 5993 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 5994 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
5995
5996 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5997
5998 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5999 buffer for output.
6000
35a89bdd
EZ
60012013-07-29 Eli Zaretskii <eliz@gnu.org>
6002
6003 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6004 initial frame is minibuffer-less. (Bug#14841)
6005
78822e94
MA
60062013-07-29 Michael Albinus <michael.albinus@gmx.de>
6007
6008 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6009 option.
6010
6011 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6012 (tramp-maybe-open-connection): Use it.
6013
9503c190
JB
60142013-07-28 Juanma Barranquero <lekktu@gmail.com>
6015
6016 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6017 minimal set of parameters passed when creating a frame, because
6018 the minibuffer status of a frame cannot be changed later.
6019
d5a845b4
SB
60202013-07-28 Stephen Berman <stephen.berman@gmx.net>
6021
6022 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6023 replace-regexp-in-string and inadvertent omissions in previous change.
6024 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6025 name of filtered items buffer.
d5a845b4 6026
ddeffb17
JB
60272013-07-28 Juanma Barranquero <lekktu@gmail.com>
6028
6029 * desktop.el: Optionally force offscreen frames back onscreen.
6030 (desktop-restoring-reuses-frames): New option.
6031 (desktop--compute-pos, desktop--move-onscreen): New functions.
6032 (desktop--make-frame): Use desktop--move-onscreen.
6033
f5950f7a
AM
60342013-07-27 Alan Mackenzie <acm@muc.de>
6035
6036 Fontify a Java generic method as a function.
6037 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6038 value to t.
6039
ae43b66a
SB
60402013-07-27 Stephen Berman <stephen.berman@gmx.net>
6041
6042 * calendar/todo-mode.el: Add command to rename todo files.
6043 (todo-rename-file): New command.
6044 (todo-key-bindings-t): Add key binding for it. Change the
6045 bindings of todo-filter-regexp-items(-multifile) to use `x'
6046 instead of `r', since the latter is better suited to the new
6047 renaming command.
6048
5ab78d3d
AM
60492013-07-27 Alan Mackenzie <acm@muc.de>
6050
6051 Make Java try-with-resources statement parse properly.
6052 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6053 (c-block-stmt-1-2-key): New language constants/variables.
6054 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6055 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6056 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6057 with c-block-stmt-1-2-key.
5ab78d3d 6058
d85c4d50
JB
60592013-07-27 Juanma Barranquero <lekktu@gmail.com>
6060
6061 * desktop.el (desktop--make-frame): Apply most frame parameters after
6062 creating the frame to force (partially or totally) offscreen frames to
6063 be restored as such.
6064
e4c467f9
XF
60652013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6066
6067 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6068 (Bug#14948)
e4c467f9 6069
7ced0d04
SM
60702013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6071
6072 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6073 `base' arg of backtrace-frame.
6074
fec92060
EZ
60752013-07-26 Eli Zaretskii <eliz@gnu.org>
6076
6077 * simple.el (list-processes): Doc fix.
6078
d58d31fb
JB
60792013-07-26 Juanma Barranquero <lekktu@gmail.com>
6080
6081 * desktop.el (desktop--select-frame):
d85c4d50 6082 Try harder to reuse existing frames.
d58d31fb 6083
53ff3e77
SM
60842013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6087 (edebug-eval): Use backtrace-eval.
6088 (edebug--display, edebug--recursive-edit): Don't let-bind the
6089 edebug-outer-* vars that keep track of variables we locally let-bind.
6090 (edebug-outside-excursion): Don't restore outside values of locally
6091 let-bound vars.
6092 (edebug--display): Use user-error.
6093 (cl-lexical-debug, cl-debug-env): Remove.
6094
045f7a53
JB
60952013-07-26 Juanma Barranquero <lekktu@gmail.com>
6096
6097 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6098 are restored to be sure that they are visible before deleting any
6099 remaining ones.
6100
59070b32
MM
61012013-07-26 Matthias Meulien <orontee@gmail.com>
6102
742a3501
XF
6103 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6104 vc-print-root-log. (Bug#14948)
59070b32 6105
b1fb3596
RS
61062013-07-26 Richard Stallman <rms@gnu.org>
6107
6108 Add aliases for encrypting mail.
6109 * epa.el (epa-mail-aliases): New option.
6110 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6111 Bind inhibit-read-only so read-only text doesn't ruin everything.
6112 (epa-mail-default-recipients): New subroutine broken out.
6113 Handle epa-mail-aliases.
6114
56ea7291
SM
61152013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 Add support for lexical variables to the debugger's `e' command.
6118 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6119 vars, except for debugger-outer-match-data.
6120 (debugger-frame-number): Move check for "on a function call" from
6121 callers into it. Add `skip-base' argument.
6122 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6123 (debugger-env-macro): Only reset the state stored in non-variables,
6124 i.e. current-buffer and match-data.
6125 (debugger-eval-expression): Rewrite using backtrace-eval.
6126 * subr.el (internal--called-interactively-p--get-frame): Remove.
6127 (called-interactively-p):
6128 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6129 `base' arg of backtrace-frame instead.
6130
15ac32d5
GM
61312013-07-26 Glenn Morris <rgm@gnu.org>
6132
8358a09d
GM
6133 * align.el (align-regexp): Doc fix. (Bug#14857)
6134 (align-region): Explicit error if subexpression missing/does not match.
6135
15ac32d5
GM
6136 * simple.el (global-visual-line-mode):
6137 Do not duplicate the mode lighter. (Bug#14858)
6138
f47ad11b
MR
61392013-07-25 Martin Rudalics <rudalics@gmx.at>
6140
6141 * window.el (display-buffer): In display-buffer bind
6142 split-window-keep-point to t, bug#14829.
6143
02530987
JB
61442013-07-25 Juanma Barranquero <lekktu@gmail.com>
6145
6146 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6147 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6148 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6149 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6150 Change accordingly.
f63ebeb5
JB
6151 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6152 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6153
6ccb9cab 61542013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6155
6ccb9cab 6156 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6157
cb3a56d2
JB
61582013-07-25 Juanma Barranquero <lekktu@gmail.com>
6159
6160 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6161 parameter to modify-frame-parameters if the value has not changed;
6162 this is a workaround for bug#14949.
6163 (desktop--make-frame): On cl-delete-if call, check parameter name,
6164 not full parameter.
6165
7aa7fff0
XF
61662013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6167
6168 * vc/vc.el (vc-ignore): New function.
6169
6170 * vc/vc-svn.el (vc-svn-ignore): New function.
6171
6172 * vc/vc-hg.el (vc-hg-ignore): New function.
6173
6174 * vc/vc-git.el (vc-git-ignore): New function.
6175
6176 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6177 (vc-dir-ignore): New function.
6178
6179 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6180 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6181
6182 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6183
6184 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6185
889acc5c
JB
61862013-07-24 Juanma Barranquero <lekktu@gmail.com>
6187
6188 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6189 (desktop-restore-frames): Warn when deleting an existing frame failed.
6190
86c40970
GM
61912013-07-24 Glenn Morris <rgm@gnu.org>
6192
6193 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6194
d5d3c58a
MA
61952013-07-24 Michael Albinus <michael.albinus@gmx.de>
6196
6197 * filenotify.el (file-notify-supported-p):
6198 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6199 Remove functions.
6200
6201 * autorevert.el (auto-revert-use-notify):
6202 (auto-revert-notify-add-watch):
6203 * net/tramp.el (tramp-file-name-for-operation):
6204 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6205 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6206 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6207 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6208 Remove `file-notify-supported-p' entry.
6209
d100084b
GM
62102013-07-24 Glenn Morris <rgm@gnu.org>
6211
6212 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6213 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6214
ac93e56b
SM
62152013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6216
249eea30
SM
6217 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6218 checked with memq (bug#14935).
6219
ac93e56b
SM
6220 * files.el (revert-buffer-function): Use a non-nil default.
6221 (revert-buffer-preserve-modes): Declare var to
6222 provide access to the `preserve-modes' argument.
6223 (revert-buffer): Let-bind it.
6224 (revert-buffer--default): New function, extracted from revert-buffer.
6225
2cdeb903
SM
62262013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6227
6228 * lpr.el: Signal print errors more prominently.
6229 (print-region-function): Don't default to nil.
6230 (lpr-print-region): New function, extracted from print-region-1.
6231 Check lpr's return value and signal an error in case of problem.
6232 (print-region-1): Use it.
6233 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6234 versions instead.
6235 (ps-printer-name): Default to nil.
6236 (ps-printer-name-option): Default to lpr-printer-switch.
6237 (ps-print-region-function): Don't default to nil.
6238 (ps-postscript-code-directory): Simplify default.
6239 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6240 (ps-string-list, ps-eval-switch, ps-flatten-list)
6241 (ps-flatten-list-1): Remove.
6242 (ps-multibyte-buffer): Avoid setq.
6243 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6244 (print-region-function, ps-print-region-function): Don't set them here.
6245
73600831
XF
62462013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6247
0e55c076
XF
6248 * ido.el (ido-fractionp):
6249 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6250 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6251 (ido-max-directory-size, ido-max-dir-file-cache)
6252 (ido-decorations): Doc fix.
6253
73600831
XF
6254 * ansi-color.el: Fix old URL.
6255
3d012865
MM
62562013-07-23 Michael R. Mauger <michael@mauger.com>
6257
e903c210 6258 * progmodes/sql.el: Version 3.3
3d012865
MM
6259 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6260 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6261 (sql-interactive-remove-continuation-prompt): Rewrite, use
6262 functions above. Fix continuation prompt and complete output line
6263 handling.
6264 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6265 redirected output buffer.
6266 (sql-mode): Restore deleted code (Bug#13591).
6267
da77a2e2
JB
62682013-07-23 Juanma Barranquero <lekktu@gmail.com>
6269
6270 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6271
80ff0c71
MA
62722013-07-23 Michael Albinus <michael.albinus@gmx.de>
6273
6274 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6275
6276 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6277 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6278 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6279
b61d71e4
JB
62802013-07-23 Juanma Barranquero <lekktu@gmail.com>
6281
6282 * desktop.el (desktop-clear): Simplify; remove useless checks
6283 against invalid buffer names.
6284 (desktop-list*): Use cl-list*.
6285 (desktop-buffer-info, desktop-create-buffer): Simplify.
6286
c3512092
LL
62872013-07-23 Leo Liu <sdl.web@gmail.com>
6288
6289 * bookmark.el (bookmark-make-record): Restore NAME as a default
6290 value. (Bug#14933)
6291
0ac26976
SM
62922013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6293
7d22ce18
SM
6294 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6295 extracted from autoload--insert-text.
6296 (autoload--insert-text): Remove.
6297 (autoload--print-cookie-text): New function, extracted from
6298 autoload--insert-cookie-text.
6299 (autoload--insert-cookie-text): Remove.
6300 (autoload-generate-file-autoloads): Adjust calls accordingly.
6301
9b2607e8
SM
6302 * winner.el (winner-hook-installed-p): Remove.
6303 (winner-mode): Simplify accordingly.
6304
c43a8618
SM
6305 * subr.el (add-to-list): Fix compiler-macro when `append' is
6306 not constant. Don't use `cl-member' for the base case.
6307
0ac26976
SM
6308 * progmodes/subword.el: Fix boundary case (bug#13758).
6309 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6310 own group.
6311 (subword-backward-regexp): Make it a constant.
6312 (subword-forward-internal): Don't treat a trailing capital as the
6313 beginning of a word.
6314
6874724a
AR
63152013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6316
6317 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6318 global value of tabulated-list-revert-hook (bug#14930).
6319
70f1b5e8
JB
63202013-07-22 Juanma Barranquero <lekktu@gmail.com>
6321
a1c80d9d
JB
6322 * desktop.el: Require 'cl-lib.
6323 (desktop-before-saving-frames-functions): New hook.
6324 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6325 for frames being saved. Rename from desktop--save-minibuffer-frames.
6326 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6327 Do not save frames with non-nil `desktop-dont-save' parameter.
6328 Filter out deleted frames.
a1c80d9d
JB
6329 (desktop--find-frame): Use cl-find-if.
6330 (desktop--select-frame): Use cl-(first|second|third) to access values
6331 of desktop-mini.
6332 (desktop--make-frame): Use cl-delete-if.
6333 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6334 (desktop-restore-frames): Use cl-(first|second|third) to access values
6335 of desktop-mini. Look for visible frame at the end, not while
6336 restoring frames.
6337
70f1b5e8
JB
6338 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6339 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6340 Use string-match-p, looking-at-p (bug#14927).
6341
728dc3cc
JB
63422013-07-21 Juanma Barranquero <lekktu@gmail.com>
6343
56bc453c
JB
6344 * desktop.el (desktop-saved-frame-states):
6345 Rename from desktop--saved-states; all users changed.
6346 (desktop-save-frames): Rename from desktop--save-frames.
6347 Do not save state to desktop file.
6348 (desktop-save): Save desktop-saved-frame-states to desktop file
6349 and reset to nil.
6350 (desktop-restoring-frames-p): New function.
6351 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6352 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6353 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6354
728dc3cc
JB
6355 * desktop.el: Correctly restore iconified frames.
6356 (desktop--filter-iconified-position): New function.
6357 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6358
862f1c9c
GM
63592013-07-20 Glenn Morris <rgm@gnu.org>
6360
c4074c9f
GM
6361 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6362 Let `message' do the formatting.
6363 (def-gdb-preempt-display-buffer): Add explicit format.
6364
d828e5f9
GM
6365 * image-dired.el (image-dired-track-original-file):
6366 Use with-current-buffer.
6367 (image-dired-track-thumbnail): Use with-current-buffer.
6368 Avoid changing point of wrong window.
6369
862f1c9c
GM
6370 * image-dired.el (image-dired-track-original-file):
6371 Avoid changing point of wrong window. (Bug#14909)
6372
f0398ec1 63732013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6374
6375 * progmodes/gdb-mi.el (gdb-done-or-error):
6376 Guard against "%" in gdb output. (Bug#14127)
6377
1451928f
AS
63782013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6379
763a086d
JB
6380 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6381 (Bug#14826)
f7a03897 6382
1451928f
AS
6383 * international/mule.el (coding-system-iso-2022-flags): Fix last
6384 change.
6385
99107004
KH
63862013-07-20 Kenichi Handa <handa@gnu.org>
6387
763a086d
JB
6388 * international/mule.el (coding-system-iso-2022-flags):
6389 Add `8-bit-level-4'. (Bug#8522)
99107004 6390
48494e06
LMI
63912013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6392
8ba8eec5
LMI
6393 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6394 (bug#14815).
6395
dfbc66e3
LMI
6396 * net/eww.el (eww-process-text-input): Allow inputting when the
6397 point is at the start of the line, as the properties aren't
6398 front-sticky.
6399
48494e06
LMI
6400 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6401 degenerate widths.
6402
77c92cb9
RS
64032013-07-19 Richard Stallman <rms@gnu.org>
6404
aec7da77
RS
6405 * epa.el (epa-popup-info-window): Doc fix.
6406
77c92cb9
RS
6407 * subr.el (split-string): New arg TRIM.
6408
945c5bb1
JB
64092013-07-18 Juanma Barranquero <lekktu@gmail.com>
6410
6411 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6412 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6413
e06ec67f
MA
64142013-07-18 Michael Albinus <michael.albinus@gmx.de>
6415
c7064f05 6416 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6417 `file-notify-support'. Do not autoload. Adapt all uses.
6418 (file-notify-supported-p): New defun.
6419
c7064f05
JB
6420 * autorevert.el (auto-revert-use-notify):
6421 Use `file-notify-supported-p' instead of `file-notify-support'.
6422 Adapt docstring.
e06ec67f
MA
6423 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6424
6425 * net/tramp.el (tramp-file-name-for-operation):
6426 Add `file-notify-supported-p'.
6427
6428 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6429 New defun.
6430 (tramp-sh-file-name-handler-alist): Add it as handler for
6431 `file-notify-supported-p '.
6432
6433 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6434 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6435 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6436 Add `ignore' as handler for `file-notify-*' functions.
6437
5dc8a629
EZ
64382013-07-17 Eli Zaretskii <eliz@gnu.org>
6439
6440 * simple.el (line-move-partial, line-move): Don't start vscroll or
6441 scroll-up if the current line is not taller than the window.
6442 (Bug#14881)
6443
77aea2fb
DG
64442013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6445
6446 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6447 highlight question marks in the method names as strings.
ac72c08d
DG
6448 (ruby-block-beg-keywords): Inline.
6449 (ruby-font-lock-keyword-beg-re): Extract from
6450 `ruby-font-lock-keywords'.
77aea2fb 6451
18c26d81
JD
64522013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6453
6454 * frame.el (blink-cursor-blinks): New defcustom.
6455 (blink-cursor-blinks-done): New defvar.
6456 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6457 (blink-cursor-timer-function): Check if number of blinks has been
6458 done on X and NS.
6459 (blink-cursor-suspend, blink-cursor-check): New defuns.
6460
da48522e
GM
64612013-07-15 Glenn Morris <rgm@gnu.org>
6462
6463 * edmacro.el (edmacro-format-keys): Fix previous change.
6464
0463c1ef
PE
64652013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6466
6467 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6468 The hack didn't work outside English locales anyway.
6469
b43f6451
JB
64702013-07-15 Juanma Barranquero <lekktu@gmail.com>
6471
6472 * simple.el (define-alternatives): Rename from alternatives-define,
6473 per RMS' suggestion.
6474
b958c0ad
JB
64752013-07-14 Juanma Barranquero <lekktu@gmail.com>
6476
6477 * desktop.el (desktop-restore-frames): Change default to t.
6478 (desktop-restore-in-current-display): Now offer more options.
6479 (desktop-restoring-reuses-frames): New customization option.
6480 (desktop--saved-states): Doc fix.
6481 (desktop-filter-parameters-alist): New variable, renamed and expanded
6482 from desktop--excluded-frame-parameters.
6483 (desktop--target-display): New variable.
6484 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6485 (desktop--filter-tty*, desktop--filter-*-color)
6486 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6487 (desktop--filter-save-desktop-parm)
6488 (desktop-restore-in-original-display-p): New functions.
6489 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6490 (desktop--save-minibuffer-frames): New function, inspired by a similar
6491 function from Martin Rudalics.
6492 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6493 (desktop--restore-in-this-display-p): Remove.
6494 (desktop--find-frame): Rename from desktop--find-frame-in-display
6495 and add predicate argument.
6496 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6497 (desktop--reuse-list): New variable.
6498 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6499 New functions.
6500 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6501
f6dd8b36
MA
65022013-07-14 Michael Albinus <michael.albinus@gmx.de>
6503
6504 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6505
2ce3c565
DG
65062013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6507
763a086d
JB
6508 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6509 Highlight conversion methods on Kernel.
2ce3c565 6510
2cdb7698
AM
65112013-07-13 Alan Mackenzie <acm@muc.de>
6512
6513 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6514 and comment it out. This out-commenting enables certain C++
6515 declarations to be parsed correctly.
6516
1a67b811
EZ
65172013-07-13 Eli Zaretskii <eliz@gnu.org>
6518
1b796d6b
EZ
6519 * international/mule.el (define-coding-system): Doc fix.
6520
1a67b811
EZ
6521 * simple.el (default-font-height): Don't call font-info if the
6522 frame's default font didn't change since the frame was created.
6523 (Bug#14838)
6524
58fbe886
LL
65252013-07-13 Leo Liu <sdl.web@gmail.com>
6526
6527 * ido.el (ido-read-file-name): Guard against non-symbol value.
6528
1f0480d4
FEG
65292013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6530
6531 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6532 in nested defuns.
6533
97ead0e5
LL
65342013-07-13 Leo Liu <sdl.web@gmail.com>
6535
6536 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6537 ido-set-matches call. (Bug#6852)
6538
0880a952
DG
65392013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6540
6541 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6542 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6543 Ruby 2.0.
6544 (ruby-font-lock-keywords): Distinguish calls to functions with
6545 module-like names from module references. Highlight character
6546 literals.
6547
a7d8babb
SDJ
65482013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6549
6550 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6551 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6552
acfcc8c5
JB
65532013-07-12 Juanma Barranquero <lekktu@gmail.com>
6554
6555 * desktop.el (desktop--v2s): Remove unused local variable.
6556 (desktop-save-buffer): Make defvar-local; adjust docstring.
6557 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6558 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6559
051f2775
AS
65602013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6561
6562 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6563
f24e7572
GM
65642013-07-12 Eli Zaretskii <eliz@gnu.org>
6565
6566 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6567 (Bug#14842)
6568
539a920c
GM
65692013-07-12 Glenn Morris <rgm@gnu.org>
6570
6571 * doc-view.el: Require cl-lib at runtime too.
6572 (doc-view-remove-if): Remove.
6573 (doc-view-search-next-match, doc-view-search-previous-match):
6574 Use cl-remove-if.
6575
6576 * edmacro.el: Require cl-lib at runtime too.
6577 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6578 (edmacro-mismatch, edmacro-subseq): Remove.
6579
6580 * shadowfile.el: Require cl-lib.
6581 (shadow-remove-if): Remove.
6582 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6583 Use cl-remove-if.
6584
6585 * wid-edit.el: Require cl-lib.
6586 (widget-choose): Use cl-remove-if.
6587 (widget-remove-if): Remove.
6588
6589 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6590 (ebrowse-delete-if-not): Remove.
6591 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6592 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6593 Use cl-delete-if-not.
6594
1048af7c
JB
65952013-07-12 Juanma Barranquero <lekktu@gmail.com>
6596
6597 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6598 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6599
6c0674ee
LL
66002013-07-12 Leo Liu <sdl.web@gmail.com>
6601
6602 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6603
a19b3c2d
GM
66042013-07-11 Glenn Morris <rgm@gnu.org>
6605
4582a01c
GM
6606 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6607 (edebug-gensym-index, edebug-gensym):
6608 Remove reimplementation of cl-gensym.
6609 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6610
6611 * thumbs.el: Require cl-lib at run-time too.
6612 (thumbs-gensym-counter, thumbs-gensym):
6613 Remove reimplementation of cl-gensym.
6614 (thumbs-temp-file): Use cl-gensym.
6615
a19b3c2d
GM
6616 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6617 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6618 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6619 (ert--union, ert--gensym-counter, ert--gensym-counter)
6620 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6621 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6622 (ert-make-test-unbound, ert--expand-should-1)
6623 (ert--expand-should, ert--should-error-handle-error)
6624 (should-error, ert--explain-equal-rec)
6625 (ert--plist-difference-explanation, ert-select-tests)
6626 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6627 Use cl-lib functions rather than reimplementations.
6628
88f6a933
MA
66292013-07-11 Michael Albinus <michael.albinus@gmx.de>
6630
6631 * net/tramp.el (tramp-methods): Extend docstring.
6632 (tramp-connection-timeout): New defcustom.
6633 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6634 (with-tramp-progress-reporter): Simplify.
6635 (tramp-process-actions): Improve messages.
6636
6637 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6638 * net/tramp-sh.el (tramp-maybe-open-connection):
6639 Use `tramp-connection-timeout'.
6640 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6641 (Bug#14808)
6642
a43d577e
LL
66432013-07-11 Leo Liu <sdl.web@gmail.com>
6644
6645 * ido.el (ido-read-file-name): Conform to the requirements of
6646 read-file-name. (Bug#11861)
6647 (ido-read-directory-name): Conform to the requirements of
6648 read-directory-name.
6649
d77974bf
JB
66502013-07-11 Juanma Barranquero <lekktu@gmail.com>
6651
6652 * subr.el (delay-warning): New function.
6653
35cb8a3e
EZ
66542013-07-10 Eli Zaretskii <eliz@gnu.org>
6655
6656 * simple.el (default-line-height): New function.
6657 (line-move-partial, line-move): Use it instead of computing the
6658 line height inline.
6659 (line-move-partial): Always compute ROWH. If the last line is
6660 partially-visible, but its text is completely visible, allow
6661 cursor to enter such a partially-visible line.
6662
525c5c77
MA
66632013-07-10 Michael Albinus <michael.albinus@gmx.de>
6664
6665 Improve error messages. (Bug#14808)
6666
6667 * net/tramp.el (tramp-current-connection): New defvar, moved from
6668 tramp-sh.el.
0ac26976 6669 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6670 needed anymore.
0ac26976
SM
6671 (tramp-error-with-buffer): Show message in minibuffer.
6672 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6673 (with-tramp-progress-reporter): Improve messages.
6674 (tramp-process-actions): Use progress reporter. Delete process in
6675 case of error. Improve messages.
6676
763a086d
JB
6677 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6678 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6679 (tramp-current-connection): Remove.
525c5c77
MA
6680 (tramp-maybe-open-connection): The car of
6681 `tramp-current-connection' are the first 3 slots of the vector.
6682
c7a4d368
TZ
66832013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6684
6685 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6686 inside continued strings.
6687
954b166e
PE
66882013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6689
6690 Timestamp fixes for undo (Bug#14824).
6691 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6692
56973319
LL
66932013-07-10 Leo Liu <sdl.web@gmail.com>
6694
6695 * files.el (require-final-newline): Allow safe local value.
6696 (Bug#14834)
6697
5550a72c
LL
66982013-07-09 Leo Liu <sdl.web@gmail.com>
6699
6700 * ido.el (ido-read-directory-name): Handle fallback.
6701 (ido-read-file-name): Update DIR to ido-current-directory.
6702 (Bug#1516)
c28b9050 6703 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6704
70c46b28
DG
67052013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6706
6707 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6708 "autoload". Remove "warn lower camel case" section, previously
6709 commented out. Highlight negation char. Do not highlight the
6710 target in singleton method definitions.
6711
0b64b838
SM
67122013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6713
7fd72e2c
SM
6714 * faces.el (tty-setup-hook): Declare the hook.
6715
0b64b838
SM
6716 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6717 and detect when a guard/pred depends on local vars (bug#14773).
6718 (pcase--u1): Adjust caller.
6719
ab49d60b
EZ
67202013-07-08 Eli Zaretskii <eliz@gnu.org>
6721
6722 * simple.el (line-move-partial, line-move): Account for
6723 line-spacing.
701d79aa
EZ
6724 (line-move-partial): Avoid setting vscroll when the last
6725 partially-visible line in window is of default height.
ab49d60b 6726
2d756ae0
LMI
67272013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6728
6729 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6730 been used a while.
6731
ed095bd7
JB
67322013-07-07 Juanma Barranquero <lekktu@gmail.com>
6733
6734 * subr.el (read-quoted-char): Remove unused local variable `char'.
6735
f1e6674b
MK
67362013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6737
584ee3fc
GM
6738 * ediff.el (ediff-version): Version update.
6739 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6740 (ediff-merge-with-ancestor-command, ediff-directories-command)
6741 (ediff-directories3-command, ediff-merge-directories-command)
6742 (ediff-merge-directories-with-ancestor-command): New functions.
6743 All are command-line interfaces to ediff: to facilitate calling
6744 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6745
6746 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6747 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6748
584ee3fc
GM
6749 * viper.el (viper-version): Version update.
6750 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6751
584ee3fc
GM
67522013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6755 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6756 (viper-intercept-ESC-key): Simplify.
6757 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6758 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6759 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6760 (viper-setup-ESC-to-escape): New functions.
6761 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6762 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6763
9aff9b38
EZ
67642013-07-07 Eli Zaretskii <eliz@gnu.org>
6765
5165d44a
JB
6766 * simple.el (default-font-height, window-screen-lines):
6767 New functions.
9aff9b38
EZ
6768 (line-move, line-move-partial): Use them instead of
6769 frame-char-height and window-text-height. This makes scrolling
6770 text smoother when the buffer's default face uses a font that is
6771 different from the frame's default font.
6772
1afb1d07
JD
67732013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6774
6775 * files.el (write-file): Do not display confirm dialog for NS,
6776 it does its own dialog, which can't be cancelled (Bug#14578).
6777
23de972a
EZ
67782013-07-06 Eli Zaretskii <eliz@gnu.org>
6779
6780 * simple.el (line-move-partial): Adjust the row returned by
6781 posn-at-point for the current window-vscroll. (Bug#14567)
6782
54a42486
MA
67832013-07-06 Michael Albinus <michael.albinus@gmx.de>
6784
6785 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6786 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6787 spaces.
6788
34ada5f4
MR
67892013-07-06 Martin Rudalics <rudalics@gmx.at>
6790
6791 * window.el (window-state-put-stale-windows): New variable.
6792 (window--state-put-2): Save list of windows without matching buffer.
6793 (window-state-put): Remove "bufferless" windows if possible.
6794
11e03d89
JB
67952013-07-06 Juanma Barranquero <lekktu@gmail.com>
6796
6797 * simple.el (alternatives-define): Remove leftover :group keyword.
6798 Tweak docstring.
6799
3504a4be
LL
68002013-07-06 Leo Liu <sdl.web@gmail.com>
6801
6802 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6803 (ido-enable-virtual-buffers): New variable.
6804 (ido-buffer-internal, ido-toggle-virtual-buffers)
6805 (ido-make-buffer-list): Use it.
6806 (ido-exhibit): Support turning on and off virtual buffers
6807 automatically.
6808
61e56e2c
JB
68092013-07-06 Juanma Barranquero <lekktu@gmail.com>
6810
6811 * simple.el (alternatives-define): New macro.
6812
321e1a9c
SM
68132013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6814
6815 * subr.el (read-quoted-char): Use read-key.
6816 (sit-for): Let read-event decode tty input (bug#14782).
6817
d610f6dd
SB
68182013-07-05 Stephen Berman <stephen.berman@gmx.net>
6819
6820 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6821 mode command and externally. Fix various related bugs.
6822 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6823 (todo-delete-file): New command.
6824 (todo-check-file): New function.
6825 (todo-show): Handle external deletion of the file we're trying to
6826 show (bug#14688). Replace called-interactively-p by an optional
6827 prefix argument to avoid problematic interaction with catch form
6828 when byte compiled (bug#14702).
6829 (todo-quit): Handle external deletion of the archive's todo file.
6830 Make sure the buffer that was visiting the archive file is still
6831 live before trying to bury it.
6832 (todo-category-completions): Handle external deletion of any
6833 category completion files.
6834 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6835 of todo files, in case of external deletion.
6836 (todo-add-file): Replace unnecessary setq by let-binding.
6837 (todo-find-archive): Check whether there are any archives.
6838 Replace unnecessary setq by let-binding.
6839 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6840 archive buffer whether or not the archive already exists.
6841 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6842 check if the archive is new; if it is, update list of archives.
6843 (todo-default-todo-file): Allow nil to be a valid value for when
6844 there are no todo files.
6845 (todo-reevaluate-default-file-defcustom): Use corrected definition
6846 of todo-default-todo-file.
6847 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6848 (todo-delete-category, todo-show-categories-table)
6849 (todo-category-number): Clarify comment.
6850 (todo-filter-items): Clarify documentation string.
6851 (todo-show-current-file, todo-display-as-todo-file)
6852 (todo-reset-and-enable-done-separator): Tweak documentation string.
6853 (todo-done-separator): Make separator length window-width, since
6854 bug#2749 is now fixed.
6855
ddbdfd6f
MA
68562013-07-05 Michael Albinus <michael.albinus@gmx.de>
6857
321e1a9c
SM
6858 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6859 Support both "gvfs-monitor-dir" and "inotifywait".
6860 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6861 `tramp-sh-file-notify-process-filter'.
6862 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6863 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6864
96eb829a
LL
68652013-07-05 Leo Liu <sdl.web@gmail.com>
6866
6867 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6868
cf13177e
YM
68692013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6870
6871 * frame.el (display-pixel-height, display-pixel-width)
6872 (display-mm-height, display-mm-width): Mention behavior on
6873 multi-monitor setups in docstrings.
6874 (w32-display-monitor-attributes-list): Declare function.
6875 (display-monitor-attributes-list): Use it.
6876
864c58ca
MA
68772013-07-04 Michael Albinus <michael.albinus@gmx.de>
6878
6879 * filenotify.el: New package.
6880
6881 * autorevert.el (top): Require filenotify.el.
6882 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6883 instead.
6884 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6885 (auto-revert-notify-handler): Use `file-notify-*' functions.
6886
6887 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6888
321e1a9c
SM
6889 * net/tramp.el (tramp-file-name-for-operation):
6890 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6891
6892 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6893 for `file-notify-add-watch' and `file-notify-rm-watch'.
6894 (tramp-process-sentinel): Improve trace.
6895 (tramp-sh-handle-file-notify-add-watch)
6896 (tramp-sh-file-notify-process-filter)
6897 (tramp-sh-handle-file-notify-rm-watch)
6898 (tramp-get-remote-inotifywait): New defuns.
6899
96673afe
JL
69002013-07-03 Juri Linkov <juri@jurta.org>
6901
6902 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6903 call of `occur-read-primary-args' to interactive spec.
6904
6905 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6906 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6907
924494f4
MM
69082013-07-03 Matthias Meulien <orontee@gmail.com>
6909
6910 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6911 `Buffer-menu-multi-occur'. Add it to the menu.
6912 (Buffer-menu-mode): Document it in docstring.
6913 (Buffer-menu-multi-occur): New command. (Bug#14673)
6914
56f75efc
DG
69152013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6916
6917 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6918 keywords and built-ins.
6919
9b057d61
GM
69202013-07-03 Glenn Morris <rgm@gnu.org>
6921
208dee4d
GM
6922 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6923
9b057d61
GM
6924 Make info-xref checks case-sensitive by default
6925 * info.el (Info-find-node, Info-find-in-tag-table)
6926 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6927 Add option for exact case matching of nodes.
6928 * info-xref.el (info-xref): New custom group.
6929 (info-xref-case-fold): New option.
6930 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6931
e01aa29c
LL
69322013-07-03 Leo Liu <sdl.web@gmail.com>
6933
6934 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6935
3086ca2e
DG
69362013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6937
6938 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6939 middle of block statement initially, lower the depth. Remove
6940 FIXME comment, not longer valid. Remove middle of block statement
6941 detection, no need to do that anymore since we've been using
6942 `ruby-parse-region' here.
6943
a3b49114
JD
69442013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6945
6946 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6947
08e5c823 69482013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
6949
6950 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6951
2addf922
JB
69522013-07-01 Juanma Barranquero <lekktu@gmail.com>
6953
6954 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6955 (desktop-restore-in-current-display): New customization option.
6956 (desktop--excluded-frame-parameters): Add `font'.
6957 (desktop--save-frames): Rename from desktop--save-windows.
6958 (desktop--restore-in-this-display-p): New function.
6959 (desktop--make-full-frame): Remove unwanted width/height from
6960 full(width|height) frames.
6961 (desktop--restore-frames): Rename from desktop--restore-windows.
6962 Obey desktop-restore-current-display. Do not delete old frames or
6963 select a new frame unless we were able to restore at least one frame.
6964
ef099a94
MN
69652013-06-30 Michal Nazarewicz <mina86@mina86.com>
6966
6967 * files.el (find-file-noselect): Simplify conditional expression.
6968
6969 * remember.el (remember-append-to-file):
6970 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6971
6972 Add `remember-notes' function to store random notes across Emacs
6973 restarts.
6974 * remember.el (remember-data-file): Add :set callback to affect
6975 notes buffer (if any).
6976 (remember-notes): New command.
6977 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6978 New defcustoms for the `remember-notes' function.
6979 (remember-notes-save-and-bury-buffer): New command.
6980 (remember-notes-mode-map): New variable.
6981 (remember-mode): New minor mode.
6982 (remember-notes--kill-buffer-query): New function.
6983 * startup.el (initial-buffer-choice): Add notes to custom type.
6984
0865d506
EZ
69852013-06-30 Eli Zaretskii <eliz@gnu.org>
6986
0ba54312
EZ
6987 * bindings.el (right-char, left-char): Don't call sit-for, this is
6988 no longer needed. Use arithmetic comparison only for numerical
6989 arguments.
6990
ef099a94
MN
6991 * international/mule-cmds.el (select-safe-coding-system):
6992 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 6993
2fae38e5
LMI
69942013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6995
6996 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6997 progression on degenerate tables.
ef099a94 6998 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 6999
a47cbd64
JB
70002013-06-30 Juanma Barranquero <lekktu@gmail.com>
7001
7002 Some fixes and improvements for desktop frame restoration.
7003 It is still experimental and disabled by default.
7004 * desktop.el (desktop--save-windows): Put the selected frame at
7005 the head of the list.
7006 (desktop--make-full-frame): New function.
7007 (desktop--restore-windows): Try to re-select the frame that was
7008 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7009 just show an error message and continue. Set up maximized frames
7010 so they have default non-maximized dimensions.
a47cbd64 7011
6dbafa30
DG
70122013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7013
ef099a94
MN
7014 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7015 Don't start heredoc inside a string or comment.
6dbafa30 7016
4c672a0f
EZ
70172013-06-29 Eli Zaretskii <eliz@gnu.org>
7018
7019 * bindings.el (visual-order-cursor-movement): New defcustom.
7020 (right-char, left-char): Provide visual-order cursor motion by
7021 calling move-point-visually. Update the doc strings.
7022
50960f36
KH
70232013-06-28 Kenichi Handa <handa@gnu.org>
7024
7025 * international/mule.el (define-coding-system): New coding system
7026 properties :inhibit-null-byte-detection,
7027 :inhibit-iso-escape-detection, and :prefer-utf-8.
7028 (set-buffer-file-coding-system): If :charset-list property of
7029 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7030 appropriate for setting.
7031
c1ea3abf
JB
7032 * international/mule-cmds.el (select-safe-coding-system):
7033 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7034 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7035
7036 * international/mule-conf.el (prefer-utf-8): New coding system.
7037 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7038 files.
7039
75dbaf9d
IK
70402013-06-28 Ivan Kanis <ivan@kanis.fr>
7041
eadb6068
IK
7042 * net/shr.el (shr-render-region): New function.
7043
75dbaf9d
IK
7044 * net/eww.el: Autoload `eww-browse-url'.
7045
9ea5cf9f
DG
70462013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7047
c1ea3abf
JB
7048 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7049 Adapt to `package-desc-version' being a list.
7050 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7051 archive element.
7052
39c0e36f
JB
70532013-06-27 Juanma Barranquero <lekktu@gmail.com>
7054
7055 New experimental feature to save&restore window and frame setup.
7056 * desktop.el (desktop-save-windows): New defcustom.
7057 (desktop--saved-states): New var.
7058 (desktop--excluded-frame-parameters): New defconst.
7059 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7060 (desktop--restore-windows, desktop--save-windows): New functions.
7061 (desktop-save): Call `desktop--save-windows'.
7062 (desktop-read): Call `desktop--restore-windows'.
7063
7f13406b
LMI
70642013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7065
ef099a94 7066 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7067
1e072639
SB
70682013-06-27 Stephen Berman <stephen.berman@gmx.net>
7069
7070 * info.el (Info-try-follow-nearest-node): Move search for footnote
7071 above search for node name to prevent missing a footnote (bug#14717).
7072
f3e2cbde
SB
70732013-06-27 Stephen Berman <stephen.berman@gmx.net>
7074
7075 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7076
99906aa0
LL
70772013-06-27 Leo Liu <sdl.web@gmail.com>
7078
7079 * net/eww.el (eww-read-bookmarks): Check file size.
7080
539f75f4
SM
70812013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7084 advice--pending if newdef is nil or an autoload (bug#13820).
7085 (advice-mapc): New function.
7086
843571cb
LMI
70872013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7088
7089 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7090 probably.
23a75d7f 7091 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7092 (eww-add-bookmark): New command.
7093 (eww-bookmark-mode): New mode and commands.
a285ce99 7094 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7095 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7096
f2136e1e
GM
70972013-06-26 Glenn Morris <rgm@gnu.org>
7098
eab35f39
GM
7099 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7100 (hfy-size): Handle ttys. (Bug#14668)
7101
f2136e1e
GM
7102 * info-xref.el: Update for Texinfo 5 change in *note format.
7103 (info-xref-node-re, info-xref-note-re): New constants.
7104 (info-xref-check-buffer): Use info-xref-note-re.
7105
a49ff80c
SM
71062013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7107
a343d218
SM
7108 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7109
a49ff80c
SM
7110 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7111 nil terminate the loop (bug#14718).
7112
8308f184
LMI
71132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7114
7115 * net/eww.el: Rework history traversal. When going forward/back,
7116 put these actions into the history, too, so that they can be
7117 replayed.
26bf2b82 7118 (eww-render): Move the history reset to the correct buffer.
8308f184 7119
ec64c273
JL
71202013-06-25 Juri Linkov <juri@jurta.org>
7121
7122 * files-x.el (modify-dir-local-variable): Change the header comment
7123 in the file with directory local variables. (Bug#14692)
7124
e080a9d7
JL
7125 * files-x.el (read-file-local-variable-value): Add `default'.
7126 (Bug#14710)
7127
bfbc93a1
IK
71282013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7129
7130 * net/eww.el (eww-make-unique-file-name): Create a unique file
7131 name before saving to entering `y' accidentally asynchronously.
7132
71332013-06-25 Ivan Kanis <ivan@kanis.fr>
7134
7135 * net/eww.el (eww-download): New command and keystroke.
7136
16f74f10
LMI
71372013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7138
a49ff80c 7139 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7140
7141 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7142 be more consistent with Info and dired.
7143
7144 * net/eww.el (eww-mode-map): Ditto.
7145
12059709
SM
71462013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7149 packages from archives.
7150 (package-archive-contents): Change format; include obsolete packages.
7151 (package-desc): Use `dir' to mark builtin packages.
7152 (package--from-builtin): Set the `dir' field to `builtin'.
7153 (generated-autoload-file, version-control): Declare.
7154 (package-compute-transaction): Change first arg and return value to be
7155 lists of package-descs. Adjust to new package-archive-contents format.
7156 (package--add-to-archive-contents): Adjust to new
7157 package-archive-contents format.
7158 (package-download-transaction): Arg is now a list of package-descs.
7159 (package-install): If `pkg' is a package name, pass it as
7160 a requirement, so it is subject to the usual (e.g. disabled) checks.
7161 (describe-package): Accept package-desc as well.
7162 (describe-package-1): Describe a specific package-desc. Add links to
7163 other package-descs for the same package name.
7164 (package-menu-describe-package): Pass the actual package-desc.
7165 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7166 works correctly.
7167 (package-desc-status): New function.
7168 (package-menu--refresh): New function, extracted
7169 from package-menu--generate.
7170 (package-menu--generate): Use it.
7171 (package-delete): Update package-alist.
7172 (package-menu-execute): Don't call package-initialize.
7173
7174 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7175 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7176 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7177 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7178 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7179 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7180
8bbdea0f
MR
71812013-06-25 Martin Rudalics <rudalics@gmx.at>
7182
7183 * window.el (window--state-get-1): Workaround for bug#14527.
7184 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7185
e82b0991
LMI
71862013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7187
7188 * net/eww.el (eww-back-url): Implement the history by stashing all
7189 the data into a list.
d3f0f918 7190 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7191
c763842b
SM
71922013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7194 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7195 for values and use read--expression for expressions (bug#14710).
7196 (read-file-local-variable): Avoid setq.
7197 (read-file-local-variable-mode): Use minor-mode-list.
7198
bceff189
RW
71992013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7200
864c58ca 7201 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7202 for DOI URLs.
7203
45f431c6
RW
72042013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7205
864c58ca 7206 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7207 Update imenu-support when dialect changes.
7208
f42d8237
LL
72092013-06-25 Leo Liu <sdl.web@gmail.com>
7210
7211 * ido.el (ido-read-internal): Allow forward slash on windows.
7212
be549ce6
LMI
72132013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7214
7215 * net/eww.el (eww): Start of strings is \\`, not ^.
7216
71d4c19d
IK
72172013-06-24 Ivan Kanis <ivan@kanis.fr>
7218
5196f88a
IK
7219 * net/shr.el (shr-browse-url): Fix interactive spec.
7220
71d4c19d
IK
7221 * net/eww.el (eww): Add a trailing slash to domain names.
7222
ae36ca55
JB
72232013-06-24 Juanma Barranquero <lekktu@gmail.com>
7224
7225 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7226
0ebd92a3
LMI
72272013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7228
bdaa086b
LMI
7229 * net/shr.el (shr-browse-url): Use an external browser if given a
7230 prefix.
7231
c763842b 7232 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7233
b89fc156
IK
72342013-06-24 Ivan Kanis <ivan@kanis.fr>
7235
7236 * net/eww.el (eww): Work more correctly for file: URLs.
7237 (eww-detect-charset): Allow quoted charsets.
7238 (eww-yank-page-url): New command and keystroke.
7239
18eb4bca
DU
72402013-06-24 Daiki Ueno <ueno@gnu.org>
7241
7242 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7243 file name of gpg executable.
7244 (epg-context-program): New function.
7245 (epg-context-home-directory): New function.
7246 (epg-context-set-program): New function.
7247 (epg-context-set-home-directory): New function.
7248 (epg--start): Use `epg-context-program' instead of
7249 'epg-gpg-program'.
7250 (epg--list-keys-1): Likewise.
7251
6c6268c8
LL
72522013-06-24 Leo Liu <sdl.web@gmail.com>
7253
7254 * ido.el (ido-read-internal): Fix bug#14620.
7255
5e400cb3
JB
72562013-06-23 Juanma Barranquero <lekktu@gmail.com>
7257
7258 * faces.el (face-documentation): Simplify.
7259 (read-face-attribute, tty-find-type, x-resolve-font-name):
7260 Use `string-match-p'.
7261 (list-faces-display): Use `string-match-p'. Simplify.
7262 (face-spec-recalc): Check face to avoid face alias loops.
7263 (read-color): Use `string-match-p' and non-capturing parenthesis.
7264
f3f9606c
LMI
72652013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7266
7267 * net/shr.el (shr-rescale-image): Use the new
7268 :max-width/:max-height functionality.
7269
a3ca09b9
IK
72702013-06-23 Ivan Kanis <ivan@kanis.fr>
7271
7272 * net/eww.el (eww-search-prefix): New variable.
7273 (eww): Use it.
f865b474
IK
7274 (eww-external-browser): New variable.
7275 (eww-mode-map): New keystroke.
7276 (eww-browse-with-external-browser): New command.
a3ca09b9 7277
e854cfc7
IK
7278 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7279
18bb9e21
JB
72802013-06-23 Juanma Barranquero <lekktu@gmail.com>
7281
7282 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7283 Don't skip aligning the next header field when padding is 0;
7284 otherwise, field width is not respected unless the title is as
7285 wide as the field.
7286
5b165ade
SM
72872013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7288
7289 * emacs-lisp/package.el (package-el-version): Remove.
7290 (package-process-define-package): Fix inf-loop.
7291 (package-install): Allow symbols as arguments again.
7292
12adebe9
DG
72932013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7294
7295 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7296 add some more keyword-like methods.
7297 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7298
388573ee
JB
72992013-06-22 Juanma Barranquero <lekktu@gmail.com>
7300
7301 * bs.el (bs-buffer-show-mark): Make defvar-local.
7302 (bs-mode): Use setq-local.
7303
7304 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7305 (emacs-lock--try-unlocking): Make defvar-local.
7306
4582a01c 73072013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7308
2663dd23
GM
7309 * play/cookie1.el (cookie-apropos): Minor simplification.
7310
3d94f3ad
GM
7311 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7312
f72e2fdb
DG
73132013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7314
7315 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7316 `regexp-opt', it breaks the build during dumping.
7317
73eab938
DG
73182013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7319
c763842b
SM
7320 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7321 Highlight keyword-like methods on Kernel and Module with
73eab938 7322 font-lock-builtin-face.
5cf8176d
DG
7323 (auto-mode-alist): Consolidate different entries into one regexp
7324 and add more *file-s.
73eab938 7325
d26255f6
SB
73262013-06-21 Stephen Berman <stephen.berman@gmx.net>
7327
7328 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7329
7330 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7331 (diary-entry): Use it in the action of this button type instead of
7332 diary-goto-entry.
7333
7334 * calendar/todo-mode.el: New version.
7335 (todo-add-category): Append new category to end of file and give
7336 it the highest number, instead of putting it at the beginning and
7337 giving it 0. Incorporate noninteractive functionality.
7338 (todo-forward-category): Adapt to 1-based category numbering.
7339 Allow skipping over archived categories.
7340 (todo-backward-category): Derive from todo-forward-category.
7341 (todo-backward-item, todo-forward-item): Make noninteractive and
7342 delegate interactive part to new commands. Make sensitive to done items.
7343 (todo-categories): Make value an alist of category names and
7344 vectors of item counts.
7345 (todo-category-beg): Make a defconst.
7346 (todo-category-number): Use 1 instead of 0 as initial value.
7347 (todo-category-select): Make sensitive to overlays, optional item
7348 highlighting and done items.
7349 (todo-delete-item): Make sensitive to overlays and marked and done items.
7350 (todo-edit-item): Make sensitive to overlays and editing of
7351 date/time header optional. Add format checks.
7352 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7353 no-op if point is not on an item. Advertise using todo-edit-quit.
7354 (todo-edit-mode): Make sensitive to new format, font-locking, and
7355 multiple todo files.
7356 (todo-insert-item, todo-insert-item-here): Derive from
7357 todo-basic-insert-item and extend functionality.
7358 (todo-item-end, todo-item-start): Make sensitive to done items.
7359 (todo-item-string): Don't return text properties. Restore point.
7360 (todo-jump-to-category): Make sensitive to multiple todo files and
7361 todo archives. Use extended category completion.
7362 (todo-lower-item, todo-raise-item): Rename to *-priority and
7363 derive from todo-set-item-priority.
7364 (todo-mode): Derive from special-mode. Make sensitive to new
7365 format, font-locking and multiple todo files. Make read-only.
7366 (todo-mode-map): Don't suppress digit keys, so they can supply
7367 prefix arguments. Add many new key bindings.
7368 (todo-prefix): Insert as an overlay instead of file text.
7369 Change semantics from diary date expression to purely visual mark.
7370 (todo-print): Rename to todo-print-buffer. Make buffer display
7371 features printable. Remove option to restrict number of items
7372 printed. Add option to print to file.
7373 (todo-print-function): Rename to todo-print-buffer-function.
7374 (todo-quit): Extend to handle exiting new todo modes.
7375 (todo-remove-item): Make sensitive to overlays.
7376 (todo-save): Extend to buffers of filtered items.
7377 (todo-show): Make sensitive to done items, multiple todo files and
7378 new todo modes. Offer to convert legacy todo file before creating
7379 first new todo file.
7380 (todo-show-priorities): Rename to todo-top-priorities.
7381 Change semantics of value 0.
7382 (todo-top-priorities): Rename to todo-filter-top-priorities,
7383 derive from todo-filter-items and extend functionality.
7384 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7385 and extend functionality to other types of filtered items.
7386 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7387 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7388 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7389 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7390 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7391 (todo-edit-mode-hook, todo-entry-prefix-function)
7392 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7393 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7394 (todo-initials, todo-insert-threshold, todo-item-string-start)
7395 (todo-line-string, todo-menu, todo-mode-hook)
7396 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7397 (todo-print-priorities, todo-remove-separator)
7398 (todo-save-top-priorities-too, todo-string-count-lines)
7399 (todo-string-multiline-p, todo-time-string-format)
7400 (todo-tmp-buffer-name): Remove.
7401 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7402 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7403 (todo-edit-category-diary-inclusion)
7404 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7405 (todo-edit-file, todo-edit-item-date-day)
7406 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7407 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7408 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7409 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7410 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7411 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7412 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7413 (todo-filter-top-priorities-multifile, todo-find-archive)
7414 (todo-find-filtered-items-file, todo-go-to-source-item)
7415 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7416 (todo-jump-to-archive-category, todo-lower-category)
7417 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7418 (todo-move-category, todo-move-item, todo-next-button)
7419 (todo-next-item, todo-padded-string, todo-powerset)
7420 (todo-previous-button, todo-previous-item)
7421 (todo-print-buffer-to-file, todo-raise-category)
7422 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7423 (todo-set-category-number, todo-set-item-priority)
7424 (todo-set-top-priorities-in-category)
7425 (todo-set-top-priorities-in-file, todo-show-categories-table)
7426 (todo-sort-categories-alphabetically-or-numerically)
7427 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7428 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7429 (todo-toggle-item-header, todo-toggle-item-highlighting)
7430 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7431 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7432 (todo-unarchive-items, todo-unmark-category): New commands.
7433 (todo-absolute-file-name, todo-add-to-buffer-list)
7434 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7435 (todo-basic-insert-item, todo-category-completions)
7436 (todo-category-number, todo-category-string-matcher-1)
7437 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7438 (todo-check-format, todo-clear-matches)
7439 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7440 (todo-current-category, todo-date-string-matcher)
7441 (todo-define-insertion-command, todo-diary-expired-matcher)
7442 (todo-diary-goto-entry, todo-diary-item-p)
7443 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7444 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7445 (todo-done-item-section-p, todo-done-separator)
7446 (todo-done-string-matcher, todo-files, todo-filter-items)
7447 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7448 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7449 (todo-insert-category-line, todo-insert-item-from-calendar)
7450 (todo-insert-sort-button, todo-insert-with-overlays)
7451 (todo-insertion-command-name, todo-insertion-key-bindings)
7452 (todo-label-to-key, todo-longest-category-name-length)
7453 (todo-make-categories-list, todo-mode-external-set)
7454 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7455 (todo-modes-set-3, todo-multiple-filter-files)
7456 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7457 (todo-read-category, todo-read-date, todo-read-dayname)
7458 (todo-read-file-name, todo-read-time)
7459 (todo-reevaluate-category-completions-files-defcustom)
7460 (todo-reevaluate-default-file-defcustom)
7461 (todo-reevaluate-filelist-defcustoms)
7462 (todo-reevaluate-filter-files-defcustom)
7463 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7464 (todo-reset-done-separator, todo-reset-done-separator-string)
7465 (todo-reset-done-string, todo-reset-global-current-todo-file)
7466 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7467 (todo-reset-prefix, todo-set-categories)
7468 (todo-set-date-from-calendar, todo-set-show-current-file)
7469 (todo-set-top-priorities, todo-short-file-name)
7470 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7471 (todo-total-item-counts, todo-update-buffer-list)
7472 (todo-update-categories-display, todo-update-categories-sexp)
7473 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7474 New functions.
7475 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7476 New major modes.
7477 (todo-categories, todo-display, todo-edit, todo-faces)
7478 (todo-filtered): New defgroups.
7479 (todo-archived-only, todo-button, todo-category-string, todo-date)
7480 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7481 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7482 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7483 (todo-add-item-if-new-category, todo-always-add-time-string)
7484 (todo-categories-align, todo-categories-archived-label)
7485 (todo-categories-category-label, todo-categories-diary-label)
7486 (todo-categories-done-label, todo-categories-number-separator)
7487 (todo-categories-todo-label, todo-categories-totals-label)
7488 (todo-category-completions-files, todo-completion-ignore-case)
7489 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7490 (todo-done-separator-string, todo-done-string)
7491 (todo-files-function, todo-filter-done-items, todo-filter-files)
7492 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7493 (todo-initial-category, todo-initial-file, todo-item-mark)
7494 (todo-legacy-date-time-regexp, todo-mode-line-function)
7495 (todo-nondiary-marker, todo-number-prefix)
7496 (todo-print-buffer-function, todo-show-current-file)
7497 (todo-show-done-only, todo-show-first, todo-show-with-done)
7498 (todo-skip-archived-categories, todo-top-priorities-overrides)
7499 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7500 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7501 New defcustoms.
7502 (todo-category-done, todo-date-pattern, todo-date-string-start)
7503 (todo-diary-items-buffer, todo-done-string-start)
7504 (todo-filtered-items-buffer, todo-item-start)
7505 (todo-month-abbrev-array, todo-month-name-array)
7506 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7507 (todo-top-priorities-buffer): New defconsts.
7508 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7509 (todo-categories-with-marks, todo-category-string-face)
7510 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7511 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7512 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7513 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7514 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7515 (todo-font-lock-keywords, todo-global-current-todo-file)
7516 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7517 (todo-insertion-commands-args)
7518 (todo-insertion-commands-args-genlist)
7519 (todo-insertion-commands-names, todo-insertion-map)
7520 (todo-key-bindings-t, todo-key-bindings-t+a)
7521 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7522 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7523 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7524 (todo-visited): New variables.
7525
cad5d1cb
GM
75262013-06-21 Glenn Morris <rgm@gnu.org>
7527
7528 * play/cookie1.el (cookie-apropos): Add optional display argument.
7529 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7530 (psychoanalyze-pinhead): Use cookie-doctor.
7531
9e277302
JB
75322013-06-21 Juanma Barranquero <lekktu@gmail.com>
7533
7534 * emacs-lisp/package.el (tar-get-file-descriptor)
7535 (tar--extract): Declare.
7536
c5b0993e
EW
75372013-06-21 Eduard Wiebe <usenet@pusto.de>
7538
7539 Extend flymake's warning predicate to be a function (bug#14217).
7540 * progmodes/flymake.el (flymake-warning-predicate): New.
7541 (flymake-parse-line): Use it.
7542 (flymake-warning-re): Make obsolete alias to
7543 `flymake-warning-predicate'.
7544
a7d2d465
SM
75452013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7546
7547 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7548 (package-obsolete-list): Remove.
7549 (package-activate): Remove min-version argument. Add `force' argument.
7550 Adjust to new package-alist format.
7551 (package-mark-obsolete): Remove.
7552 (package-unpack): Force reload of the package's autoloads.
7553 (package-installed-p): Check builtins if the installed package is not
7554 recent enough.
7555 (package-initialize): Don't reset package-obsolete-list.
7556 Don't specify which package version to activate.
7557 (package-process-define-package, describe-package-1)
7558 (package-menu--generate): Adjust to new package-alist format.
7559
cedf5c9d
JB
75602013-06-21 Juanma Barranquero <lekktu@gmail.com>
7561
7562 * allout-widgets.el (allout-widgets-mode-off)
7563 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7564 (allout-widgets-post-command-business)
7565 (allout-widgets-after-copy-or-kill-function)
7566 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7567 (allout-decorate-item-and-context)
7568 (allout-graphics-modification-handler): Fix typos in docstrings.
7569 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7570
7571 * cmuscheme.el (scheme-start-file): Doc fix.
7572 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7573 (scheme-input-filter): Use `string-match-p'.
7574
7575 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7576
7577 * dired-x.el: Use Dired consistently in docstrings.
7578
7579 * dired.el: Use Dired consistently in docstrings.
7580 (dired-readin, dired-mode): Use `setq-local'.
7581 (dired-switches-alist): Make defvar-local.
7582 (dired-buffers-for-dir): Use `zerop'.
7583 (dired-safe-switches-p, dired-switches-escape-p)
7584 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7585 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7586 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7587 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7588 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7589 (dired-toggle-marks, dired-mark-files-containing-regexp)
7590 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7591 (dired-flag-auto-save-files, dired-flag-backup-files):
7592 Use `looking-at-p'.
7593 (dired-mark-files-regexp, dired-build-subdir-alist):
7594 Use `string-match-p', `looking-at-p'.
7595
7596 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7597 (direct-print-region-helper): Use `string-match-p'.
7598
aed838b5
LL
75992013-06-21 Leo Liu <sdl.web@gmail.com>
7600
cedf5c9d
JB
7601 * comint.el (comint-redirect-results-list-from-process):
7602 Fix infinite loop.
aed838b5 7603
d80a808f
LMI
76042013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7605
7606 * net/eww.el (eww-update-header-line-format): Quote % characters.
7607
e7a526e3
GM
76082013-06-21 Glenn Morris <rgm@gnu.org>
7609
7610 * play/cookie1.el (cookie): New custom group.
7611 (cookie-file): New option.
7612 (cookie-check-file): New function.
7613 (cookie): Make it interactive. Make start and end messages optional.
7614 Interactively, display the result. Default to cookie-file.
7615 (cookie-insert): Default to cookie-file.
7616 (cookie-snarf): Make start and end messages optional.
7617 Default to cookie-file. Use with-temp-buffer.
7618 (cookie-read): Rename from read-cookie.
7619 Make start and end messages optional. Default to cookie-file.
7620 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7621 Do not autoload it.
e7a526e3
GM
7622 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7623 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7624
62efb35e
LL
76252013-06-21 Leo Liu <sdl.web@gmail.com>
7626
7627 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7628
21e3f963
GM
76292013-06-21 Glenn Morris <rgm@gnu.org>
7630
7631 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7632
fd846ab4
SM
76332013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7634 Daniel Hackney <dan@haxney.org>
7635
7636 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7637 Consolidate the single-file vs tarball code.
7638 (package-desc-suffix): New function.
7639 (package-desc-full-name): Don't bother inlining it.
7640 (package-load-descriptor): Return the new package-desc.
7641 (package-mark-obsolete): Remove unused arg `package'.
7642 (package-unpack): Make it work for single files as well.
7643 Make it update package-alist.
7644 (package--make-autoloads-and-stuff): Rename from
7645 package--make-autoloads-and-compile. Don't compile any more.
7646 (package--compile): New function.
7647 (package-generate-description-file): New function, extracted from
7648 package-unpack-single.
7649 (package-unpack-single): Remove.
7650 (package--with-work-buffer): Add indentation and debugging info.
7651 (package-download-single): Remove.
7652 (package-install-from-archive): Rename from package-download-tar, make
7653 it take a pkg-desc, and make it work for single files as well.
7654 (package-download-transaction): Simplify.
7655 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7656 external tar program.
7657 (package-install-from-buffer): Remove `pkg-desc' argument.
7658 Use package-tar-file-info for tar-mode buffers.
7659 (package-install-file): Simplify accordingly.
7660 (package-archive-base): Change to take a pkg-desc.
7661 * tar-mode.el (tar--check-descriptor): New function, extracted from
7662 tar-get-descriptor.
7663 (tar-get-descriptor): Use it.
7664 (tar-get-file-descriptor): New function.
7665 (tar--extract): New function, extracted from tar-extract.
7666 (tar--extract): Use it.
7667 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7668 case the summary uses non-ascii. Adjust to new calling convention of
7669 package-tar-file-info.
7670
b7deae5e
LL
76712013-06-21 Leo Liu <sdl.web@gmail.com>
7672
fd846ab4
SM
7673 * comint.el (comint-redirect-results-list-from-process):
7674 Fix random delay. (Bug#14681)
b7deae5e 7675
7a65a0b2
JB
76762013-06-21 Juanma Barranquero <lekktu@gmail.com>
7677
7678 * profiler.el (profiler-format-number): Use log, not log10.
7679
1493c2af
JB
76802013-06-20 Juanma Barranquero <lekktu@gmail.com>
7681
7682 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7683
aff6371e
SM
76842013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7685
7686 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7687 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7688 yet available.
7689 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7690 (AUTOGENEL): ... here.
7691 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7692 (cl--defsubst-expand): Use it.
7693
89561f72
PE
76942013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7695
7696 * subr.el (log10): Move here from C code, and declare as obsolete.
7697 All uses of (log10 X) replaced with (log X 10).
7698
47199123
JB
76992013-06-20 Juanma Barranquero <lekktu@gmail.com>
7700
7701 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7702 Declare with `defvar-local'.
7703 (tabulated-list-use-header-line, tabulated-list-entries)
7704 (tabulated-list-padding, tabulated-list-printer)
7705 (tabulated-list-sort-key): Declare with `defvar-local'.
7706 (tabulated-list-init-header, tabulated-list-print-fake-header):
7707 Use `setq-local'.
7708
4a172eab
MA
77092013-06-20 Michael Albinus <michael.albinus@gmx.de>
7710
47199123
JB
7711 * arc-mode.el (archive-mode): Add `archive-write-file' to
7712 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7713
5fc0acc0
JB
77142013-06-20 Juanma Barranquero <lekktu@gmail.com>
7715
d5b27848
JB
7716 * cus-edit.el (custom-commands): Fix typos.
7717 (custom-display): Fix tooltip text.
7718 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7719 Fix typos in docstrings.
7720 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7721 (custom-unlispify-menu-entry, custom-magic-value-create)
7722 (custom-add-see-also, custom-group-value-create): Use ?\s.
7723 (custom-guess-type, customize-apropos, editable-field)
7724 (custom-face-value-create): Use `string-match-p'.
7725 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7726
7727 * custom.el (custom-load-symbol): Use `string-match-p'.
7728
a5c581d8
JB
7729 * ansi-color.el: Convert to lexical binding.
7730 (ansi-colors): Fix URL.
7731 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7732 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7733 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7734
970ad972
G
77352013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7736
7737 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7738
7739 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7740
77412013-06-19 Tom Tromey <tromey@redhat.com>
7742
7743 * net/eww.el (eww-top-url): Remove.
7744 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7745 (eww-render): Set new variables. Don't set eww-top-url.
7746 (eww-handle-link): Handle "prev", "home", and "contents".
7747 Downcase the rel text.
7748 (eww-top-url): Choose best top URL.
7749
77502013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7751
7752 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7753 relying in widget.el. Using widget.el leads to too many
7754 user interface inconsistencies.
7755 (eww-self-insert): Implement entering commands in text fields.
7756 (eww-process-text-input): New function to make text input field editing
7757 work.
7758 (eww-submit): Rewrite to use the new-style form methods.
7759 (eww-select-display): Display the correct selected item.
7760 (eww-change-select): Implement changing the select value.
7761 (eww-toggle-checkbox): Implement radio/checkboxes.
7762 (eww-update-field): Fix compilation error.
7763 (eww-tag-textarea): Implement <textarea>.
7764
7765 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7766 we don't shadow mode-specific bindings.
7767
7768 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7769 nothing to push.
7770
7771 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7772
4582a01c 77732013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7774
7775 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7776
15b263dc
MA
77772013-06-19 Michael Albinus <michael.albinus@gmx.de>
7778
7779 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7780 not needed.
7781
7782 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7783
8f5297f7
LMI
77842013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7785
7786 * net/browse-url.el (browse-url-browser-function):
7787 `eww-browse-url' has the right calling signature, `eww' does not.
7788
011c4552
GM
77892013-06-19 Glenn Morris <rgm@gnu.org>
7790
2285bd27
GM
7791 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7792 Only eval autoloaded macros.
7793 (byte-compile-autoload): Only give the macro warning for macros.
7794
1d653303
GM
7795 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7796 (ps-underlined-faces): Declare.
7797
bdd779ec
GM
7798 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7799 (speedbar-add-supported-extension): Declare.
7800
011c4552
GM
7801 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7802 Don't include a date stamp in the header of the generated file;
7803 it leads to needless differences between output files.
7804
e59dfb0e
MA
78052013-06-19 Michael Albinus <michael.albinus@gmx.de>
7806
c763842b
SM
7807 * net/secrets.el (secrets-struct-secret-content-type):
7808 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7809 Some servers do not offer introspection.
e59dfb0e 7810
102626e2
SM
78112013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7812
7813 * electric.el (electric-pair-mode): Improve interaction with
7814 electric-layout-mode.
7815 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7816 (electric-pair-syntax): Use text-mode-syntax-table in comments
7817 and strings.
7818 (electric-pair--insert): New function.
7819 (electric-pair-post-self-insert-function): Use it and
7820 electric--after-char-pos.
7821
ad528125
LL
78222013-06-19 Leo Liu <sdl.web@gmail.com>
7823
7824 * progmodes/octave.el (octave-help): Fix regexp.
7825
924d6997
G
78262013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7827
7828 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7829 (shr-table-horizontal-line): Allow nil as a value, and change the
7830 default.
7831 (shr-insert-table-ruler): Respect the nil value.
7832
78332013-06-18 Tom Tromey <tromey@barimba>
7834
7835 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7836 New defvars.
7837 (eww-open-file): New defun.
7838 (eww-render): Initialize new variables.
7839 (eww-display-html): Handle "link" and "a".
7840 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7841 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7842 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7843 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7844 New defuns.
924d6997 7845
d1bbba4f
DG
78462013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7847
7848 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7849 Distinguish ternary operator tokens from slash symbol and slash
7850 char literal.
7851
14dd22d2
JB
78522013-06-18 Juanma Barranquero <lekktu@gmail.com>
7853
7854 Convert symbol prettification into minor mode and global minor mode.
7855
7856 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7857 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7858 (prettify-symbols--keywords): Rename from
7859 `prog-prettify-symbols-alist' and make a local defvar.
7860 (prettify-symbols--compose-symbol): Rename from
7861 `prog--prettify-font-lock-compose-symbol'.
7862 (prettify-symbols--make-keywords): Rename from
7863 `prog-prettify-font-lock-symbols-keywords' and simplify.
7864 (prog-prettify-install): Remove.
7865 (prettify-symbols-mode): New minor mode, based on
7866 `prog-prettify-install'.
7867 (turn-on-prettify-symbols-mode): New function.
7868 (global-prettify-symbols-mode): New globalized minor mode.
7869
7870 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7871 * progmodes/cfengine.el (cfengine3-mode):
7872 * progmodes/perl-mode.el (perl-mode): Don't call
7873 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7874
292c880c
JL
78752013-06-18 Juri Linkov <juri@jurta.org>
7876
7877 * files-x.el (modify-file-local-variable-message): New function.
7878 (modify-file-local-variable)
7879 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7880 and call `modify-file-local-variable-message' when it's non-nil.
7881 (add-file-local-variable, delete-file-local-variable)
7882 (add-file-local-variable-prop-line)
7883 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7884 and use it. (Bug#9820)
7885
0950aa27
JL
78862013-06-18 Juri Linkov <juri@jurta.org>
7887
7888 * emulation/vi.el (vi-shell-op):
7889 * emulation/vip.el (vip-execute-com, ex-command):
7890 * emulation/viper-cmd.el (viper-exec-bang):
7891 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7892 the call of `shell-command-on-region'. (Bug#14637)
7893
7894 * simple.el (shell-command-on-region): Doc fix.
7895
8fbcca16
SM
78962013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7899 (bug#14633).
7900
dd7426ea
GM
79012013-06-18 Glenn Morris <rgm@gnu.org>
7902
4ba54f7d
GM
7903 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7904
dd7426ea
GM
7905 * newcomment.el (comment-search-forward, comment-search-backward):
7906 Doc fix. (Bug#14376)
7907
58aa805b
JB
79082013-06-18 Juanma Barranquero <lekktu@gmail.com>
7909
7910 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7911 (buffer-face-mode-invoke): Doc fix.
7912
9a08a617
MM
79132013-06-18 Matthias Meulien <orontee@gmail.com>
7914
7915 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7916 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7917
f2f426ca
GM
79182013-06-18 Glenn Morris <rgm@gnu.org>
7919
9445f99b
GM
7920 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7921 Replace obsolete function generic-make-keywords with its expansion.
7922
e0df2d14
GM
7923 * progmodes/python.el (ffap-alist): Declare.
7924
f2f426ca
GM
7925 * textmodes/reftex.el (bibtex-mode-map): Declare.
7926
f7f9a720
SM
79272013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7930 (package-unpack, package-unpack-single): Return the pkg-dir.
7931 (package-download-transaction): Use it to update package-alist.
7932
57ff04e0
LMI
79332013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7934
7935 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7936 possible choice.
7937
c048c022
JL
79382013-06-17 Juri Linkov <juri@jurta.org>
7939
7940 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7941
b5bcaee5
DG
79422013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7943
a020afb9
JB
7944 * emacs-lisp/package.el (package-load-descriptor):
7945 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
7946 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7947
551e07e5
JB
79482013-06-17 Juanma Barranquero <lekktu@gmail.com>
7949
7950 * startup.el (command-line): Expand package name returned by
7951 `package--description-file' (bug#14639).
7952
d363bffb
DG
79532013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7954
7955 * emacs-lisp/package.el (package-load-descriptor): Do not call
7956 `emacs-lisp-mode', just use its syntax table.
7957
f612933b
JB
79582013-06-17 Juanma Barranquero <lekktu@gmail.com>
7959
7960 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7961 `font-lock-extra-managed-props' if any prettifying keyword is added.
7962 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7963 (prog-mode): Use `setq-local'.
7964
db3b7db5
SM
79652013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7966
7967 * international/characters.el (standard-case-table): Set syntax of ?»
7968 and ?« to punctuation.
7969
f3d674df
JB
79702013-06-16 Juanma Barranquero <lekktu@gmail.com>
7971
7972 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7973 Save relevant match data before calling `syntax-ppss' (bug#14595).
7974
31489a32
JL
79752013-06-15 Juri Linkov <juri@jurta.org>
7976
7977 * files-x.el (modify-file-local-variable-prop-line): Add local
7978 variables to the end of the existing comment on the first line.
7979 Use `file-auto-mode-skip' to skip interpreter magic line,
7980 and also skip XML declaration.
7981
66bd25ab
SM
79822013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * startup.el (package--builtin-versions): New var.
7985 (package-subdirectory-regexp): Remove.
7986 (package--description-file): Hard code its value instead.
7987
7988 * emacs-lisp/package.el: Don't activate packages older than builtin.
7989 (package-obsolete-list): Rename from package-obsolete-alist, and make
7990 it into a simple list of package-desc.
7991 (package-strip-version): Remove.
7992 (package-built-in-p): Use package--builtin-versions.
7993 (package-mark-obsolete): Simplify.
7994 (package-process-define-package): Mark it obsolete if older than the
7995 builtin version.
7996 (package-handle-response): Use line-end-position.
7997 (package-read-archive-contents, package--download-one-archive):
7998 Simplify.
7999 (package--add-to-archive-contents): Skip if older than the builtin or
8000 installed version.
8001 (package-menu-describe-package): Fix last change.
8002 (package-list-unversioned): New var.
8003 (package-menu--generate): Use it.
8004
8005 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8006 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8007 (autoload-builtin-package-versions): New variable.
8008 (autoload-generate-file-autoloads): Use them.
8009 Remove the list of autoloaded functions/macros from the
8010 (autoload...) comments.
8011
8012 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8013
9583ec36
EZ
80142013-06-15 Eli Zaretskii <eliz@gnu.org>
8015
8016 * simple.el (line-move-partial): Don't jump to the next screen
8017 line as soon as it becomes visible. Instead, continue enlarging
8018 the vscroll until the portion of a tall screen line that's left on
8019 display is about the height of the frame's default font.
8020 (Bug#14567)
8021
f0100d8a
GM
80222013-06-15 Glenn Morris <rgm@gnu.org>
8023
b86a85ca
GM
8024 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8025 compilation-error-regexp-alist void, or local while let-bound.
8026
f0100d8a
GM
8027 * progmodes/make-mode.el (makefile-mode-syntax-table):
8028 Treat "=" as punctuation. (Bug#14614)
8029
05e7ce90
JB
80302013-06-15 Juanma Barranquero <lekktu@gmail.com>
8031
8032 * help-fns.el (describe-variable):
8033 Add extra line for permanent-local variables.
8034
12e5e86e
SH
80352013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8036
8037 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8038 Add export, import, library. (Bug#9164)
8039 (library): Set indent function.
8040
230dcbaf
GM
80412013-06-14 Glenn Morris <rgm@gnu.org>
8042
8043 * term/xterm.el (xterm--query):
8044 Stop after first matching handler. (Bug#14615)
8045
e36b2d20 80462013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8047
8048 Add support for dired in saveplace.
8049 * dired.el (dired-initial-position-hook): New variable.
8050 (dired-initial-position): Call hook to place cursor position.
8051 * saveplace.el (save-place-to-alist): Add dired position.
8052 (save-place-dired-hook): New function.
8053
0b31660d
SM
80542013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8055
bf1e6ae8
SM
8056 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8057 through a symbol rather than letrec.
8058
1b8dff23
SM
8059 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8060 (package-desc): Add `dir' field.
8061 (package-desc-full-name): New function.
8062 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8063 (package-maybe-load-descriptor): Remove.
8064 (package-load-all-descriptors): Just call package-load-descriptor.
8065 (package--disabled-p): New function.
8066 (package-desc-vers, package-desc-doc): Remove aliases.
8067 (package--dir): Remove function.
8068 (package-activate): Check if a package is disabled.
8069 (package-process-define-package): New function, extracted from
8070 define-package.
8071 (define-package): Turn into a place holder.
8072 (package-unpack-single, package-tar-file-info):
8073 Use package--description-file.
8074 (package-compute-transaction): Use package--disabled-p.
8075 (package-download-transaction): Don't call
8076 package-maybe-load-descriptor since they're all loaded anyway.
8077 (package-install): Change argument to be a pkg-desc.
8078 (package-delete): Use a single pkg-desc argument.
8079 (describe-package-1): Use package-desc-dir instead of package--dir.
8080 Use package-desc property instead of package-symbol.
8081 (package-install-button-action): Adjust accordingly.
8082 (package--push): Rewrite.
8083 (package-menu--print-info): Adjust accordingly. Change the ID format
8084 to be a pkg-desc.
8085 (package-menu-describe-package, package-menu-get-status)
8086 (package-menu--find-upgrades, package-menu-mark-upgrades)
8087 (package-menu-execute, package-menu--name-predicate):
8088 Adjust accordingly.
8089 * startup.el (package--description-file): New function.
8090 (command-line): Use it.
8091 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8092 Use package-desc-version.
8093
0b31660d
SM
8094 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8095 (byte-compile-preprocess): Use it.
8096 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8097 can't quite recognize.
8098 (byte-compile-add-to-list): Remove.
8099 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8100 (cconv-closure-convert): Add assertion.
8101
8102 * emacs-lisp/map-ynp.el: Use lexical-binding.
8103 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8104 Factor out some repeated code.
8105
de0503df
SM
81062013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8107
8108 * subr.el (with-eval-after-load): New macro.
8109 (eval-after-load): Allow form to be a function.
8110 take advantage of lexical-binding.
8111 (do-after-load-evaluation): Use dolist and adjust to new format.
8112 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8113
bc5c8c5a
JL
81142013-06-13 Juri Linkov <juri@jurta.org>
8115
8116 * replace.el (perform-replace): Display "symbol " and other search
8117 modes from `isearch-message-prefix' in the *Help* buffer.
8118
8119 * isearch.el (isearch-query-replace): Add " symbol" and other
8120 possible search modes from `isearch-message-prefix' to the prompt.
8121 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8122 when reading a regexp to collect.
8123
a22289f7
JL
81242013-06-13 Juri Linkov <juri@jurta.org>
8125
8126 * isearch.el (word-search-regexp): Match whitespace if the search
8127 string begins or ends in whitespace. The LAX arg is applied to
8128 both ends of the search string. Use `regexp-quote' and explicit
8129 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8130 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8131 boundaries are replaced with symbol boundaries, and characters
8132 between symbols match non-word non-symbol syntax. (Bug#14602)
8133
cb89acab
JL
81342013-06-13 Juri Linkov <juri@jurta.org>
8135
8136 * isearch.el (isearch-del-char): Don't exceed the length of
8137 `isearch-string' by the prefix arg. (Bug#14563)
8138
6e8cfc81
JL
81392013-06-13 Juri Linkov <juri@jurta.org>
8140
8141 * isearch.el (isearch-yank-word, isearch-yank-line)
8142 (isearch-char-by-name, isearch-quote-char)
8143 (isearch-printing-char, isearch-process-search-char):
8144 Add optional count prefix arg. (Bug#14563)
8145
8146 * international/isearch-x.el
8147 (isearch-process-search-multibyte-characters):
8148 Add optional count prefix arg.
8149
c23d55f4
VS
81502013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8151
8152 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8153 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8154 lexical-binding.
8155
81562013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8157
8158 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8159
ba947bc4
GM
81602013-06-13 Glenn Morris <rgm@gnu.org>
8161
8baeb37a
GM
8162 * startup.el (tty-handle-args):
8163 Don't just discard "--" and anything after. (Bug#14608)
8164
ba947bc4
GM
8165 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8166
9abefce4
MA
81672013-06-13 Michael Albinus <michael.albinus@gmx.de>
8168
8169 Implement changes in Secret Service API. Make it backward compatible.
8170 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8171 (secrets-create-item): Use it. Prefix properties with interface.
8172
5755011f
MH
81732013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8174
8175 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8176 (term-emulate-terminal): Respect term-suppress-hard-newline.
8177
1261d2da
S
81782013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8179
8180 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8181 Only remove a `thumb-file' overlay. (Bug#14548)
8182
868490bb
GJ
81832013-06-12 Grégoire Jadi <daimrod@gmail.com>
8184
8185 * mail/reporter.el (reporter-submit-bug-report):
8186 Handle missing package-name. (Bug#14600)
8187
79d7167f
TH
81882013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8189
8190 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8191 (reftex-citation-prompt, reftex-default-bibliography)
8192 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8193 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8194 (reftex-bib-sort-author, reftex-bib-sort-year)
8195 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8196 (reftex-extract-bib-entries-from-thebibliography)
8197 (reftex-get-bibkey-default, reftex-get-bib-names)
8198 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8199 (reftex-format-bib-entry, reftex-parse-bibitem)
8200 (reftex-format-bibitem, reftex-do-citation)
8201 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8202 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8203 (reftex-insert-bib-matches, reftex-format-citation)
8204 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8205 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8206 existing comments into docstrings.
8207
5f9dbd7a
XF
82082013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8209
8210 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8211
94df41ab
AS
82122013-06-12 Andreas Schwab <schwab@suse.de>
8213
8214 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8215 for auto-save files.
8216
a7f3fecc
GM
82172013-06-12 Glenn Morris <rgm@gnu.org>
8218
001809f6
GM
8219 * ido.el (ido-delete-ignored-files): Remove.
8220 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8221 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8222
834b5ded
EL
82232013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8224
08c73ed2
EL
8225 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8226
834b5ded
EL
8227 * ido.el (ido-delete-ignored-files): New function,
8228 split from ido-make-file-list-1.
8229 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8230 (ido-make-file-list-1): Use ido-delete-ignored-files.
8231
daabf15a
LL
82322013-06-12 Leo Liu <sdl.web@gmail.com>
8233
8234 * progmodes/octave.el (inferior-octave-startup)
8235 (inferior-octave-completion-table)
8236 (inferior-octave-track-window-width-change)
8237 (octave-eldoc-function-signatures, octave-help)
8238 (octave-find-definition): Use single quoted strings.
8239 (inferior-octave-startup-args): Change default value.
8240 (inferior-octave-startup): Do not hard code "-i" and
8241 "--no-line-editing".
8242 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8243 (inferior-octave-directory-tracker): Use it.
8244 (octave-goto-function-definition): Robustify.
8245 (octave-help): Support highlighting operators in 'See also'.
8246 (octave-find-definition): Find subfunctions only in Octave mode.
8247
cf4e5178
SM
82482013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8249
8250 * help-fns.el (help-fns--compiler-macro): If the handler function is
8251 named, then put a link to it.
8252 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8253 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8254 (cl-typep): Use it.
8255 (cl-eval-when): Simplify debug spec.
8256 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8257 compiler-macro function instead of setting `compiler-macro-file'.
8258
99c81280 82592013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8260
8261 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8262 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8263
f56be016
SM
82642013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8265 Daniel Hackney <dan@haxney.org>
8266
8267 First part of Daniel Hackney's patch to package.el.
8268 * emacs-lisp/package.el: Use defstruct.
8269 (package-desc): New, main struct.
8270 (package--bi-desc, package--ac-desc): New structs, used to describe the
8271 format in external files.
8272 (package-desc-vers): Replace with package-desc-version accessor.
8273 (package-desc-doc): Replace with package-desc-summary accessor.
8274 (package-activate-1): Remove `package' arg since the pkg-vec now
8275 includes the name.
8276 (define-package): Use package-desc-from-define.
8277 (package-unpack-single): Change file-name arg to be a symbol.
8278 (package--add-to-archive-contents): Use package-desc-create and new
8279 accessor functions to package--ac-desc.
8280 (package-buffer-info, package-tar-file-info): Return a package-desc.
8281 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8282 arg to be a package-desc.
8283 (package-install-file): Adjust accordingly. Use \' to match EOS.
8284 (package--from-builtin): New function.
8285 (describe-package-1, package-menu--generate): Use it.
8286 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8287 (package-generate-autoloads): Idem and return the name of the file.
8288 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8289 Change pkg-info arg to be a package-desc.
8290 Use package-make-ac-desc.
8291 (package-upload-file): Use \' to match EOS.
8292 * finder.el (finder-compile-keywords): Use package-make-builtin.
8293
31119d63
SM
82942013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8295
931a2762
SM
8296 * vc/vc.el (vc-deduce-fileset): Change error message.
8297 (vc-read-backend): New function.
8298 (vc-next-action): Use it.
8299
5a3eb0c6
SM
8300 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8301
e3eb1bb7
SM
8302 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8303 (prolog-font-lock-keywords): Use regexp-opt instead.
8304 Don't manually highlight strings.
8305 (prolog-mode-variables): Simplify comment-start-skip.
8306 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8307
31119d63
SM
8308 * emacs-lisp/generic.el (generic--normalise-comments)
8309 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8310 (generic-mode-set-comments): Use them.
8311 (generic-bracket-support): Use setq-local.
8312 (generic-make-keywords-list): Declare obsolete.
8313
7de135d0
GM
83142013-06-11 Glenn Morris <rgm@gnu.org>
8315
8316 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8317 Prettify after setting font-lock-defaults. (Bug#14574)
8318
fa6bc6fd
JB
83192013-06-11 Juanma Barranquero <lekktu@gmail.com>
8320
8321 * replace.el (query-replace, occur-read-regexp-defaults-function)
8322 (replace-search):
8323 * subr.el (declare-function, number-sequence, local-set-key)
8324 (substitute-key-definition, locate-user-emacs-file)
8325 (with-silent-modifications, split-string, eval-after-load):
8326 Fix typos, remove unneeded backslashes and reflow some docstrings.
8327
cf1f9b9a
SM
83282013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8331 default for Elisp files.
8332
56602a4b
GM
83332013-06-11 Glenn Morris <rgm@gnu.org>
8334
8335 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8336 although define-derived-mode was doing this anyway. (Bug#14583)
8337
30ae0b2c
JB
83382013-06-10 Juanma Barranquero <lekktu@gmail.com>
8339
8340 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8341 Fix make-variable-buffer-local call to refer to the correct variable.
8342
fa472906
AG
83432013-06-10 Aidan Gauland <aidalgol@amuri.net>
8344
8345 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8346 (eshell-visual-subcommands, eshell-visual-options):
8347 Add summary line to docstrings. Add cross-references.
fa472906 8348
ff4871b9
GM
83492013-06-10 Glenn Morris <rgm@gnu.org>
8350
8351 * epa.el (epa-read-file-name): New function. (Bug#14510)
8352 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8353
04fcf1b0
AG
83542013-06-09 Aidan Gauland <aidalgol@amuri.net>
8355
8356 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8357 output redirection to be ignored with visual commands.
8358
88b00caa
AG
83592013-06-09 Aidan Gauland <aidalgol@amuri.net>
8360
8361 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8362 (eshell-term-initialize): Move long lambda to separate function
8363 eshell-visual-command-p.
e7b41c4c
JB
8364 * eshell/em-dirs.el (eshell-dirs-initialise):
8365 * eshell/em-script.el (eshell-script-initialize):
8366 Add missing #' to lambda.
88b00caa 8367
fda74125
LL
83682013-06-08 Leo Liu <sdl.web@gmail.com>
8369
8370 * progmodes/octave.el (octave-add-log-current-defun): New function.
8371 (octave-mode): Set add-log-current-defun-function.
8372 (octave-goto-function-definition): Do not move point if not found.
8373 (octave-find-definition): Enhance to try subfunctions first.
8374
467f3b33
GM
83752013-06-08 Glenn Morris <rgm@gnu.org>
8376
8377 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8378 (byte-compile-backward-char, byte-compile-backward-word):
8379 Improve previous change, to handle non-explicit nil.
8380
544badc3
SM
83812013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8384 (smie--opener/closer-at-point): New function.
8385 (smie--matching-block-data): Use it. Don't match from right after an
8386 opener or right before a closer. Obey smie-blink-matching-inners.
8387 Don't signal a mismatch for repeated inners like "switch..case..case".
8388
a175bf33
LL
83892013-06-07 Leo Liu <sdl.web@gmail.com>
8390
8391 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8392 to t. (Bug#14303)
ce8209d4
LL
8393 (octave-function-header-regexp): Fix. (Bug#14570)
8394 (octave-help-mode-finish-hook, octave-help-mode-finish):
8395 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8396
8397 * newcomment.el (comment-search-backward): Revert last change.
8398 (Bug#14434)
8399
8400 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8401
a822acff
EZ
84022013-06-07 Eli Zaretskii <eliz@gnu.org>
8403
8404 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8405 through xargs, to avoid failure due to MS-Windows limitations on
8406 command-line length.
8407
961166f5
GM
84082013-06-06 Glenn Morris <rgm@gnu.org>
8409
d0341459
GM
8410 * font-lock.el (lisp-font-lock-keywords-2):
8411 Treat user-error like error.
8412
961166f5
GM
8413 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8414 (byte-compile-backward-char, byte-compile-backward-word):
8415 Handle explicit nil arguments. (Bug#14565)
8416
80fa505f
AM
84172013-06-05 Alan Mackenzie <acm@muc.de>
8418
8419 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8420 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8421 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8422 (Bug#9706)
80fa505f 8423
fccdc796
SM
84242013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8425
8426 * autorevert.el (auto-revert-notify-handler): Use memq.
8427 Hide assertion failure.
8428
8429 * skeleton.el: Use cl-lib.
8430 (skeleton-further-elements): Use defvar-local.
8431 (skeleton-insert): Use cl-progv.
8432
9bfff84b
TZ
84332013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8434
8435 * progmodes/prog-mode.el (prog-prettify-symbols)
8436 (prog-prettify-install): Update docstrings.
8437
55577e7c
SM
84382013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8439
8440 * simple.el: Move all the prog-mode code to prog-mode.el.
8441 * progmodes/prog-mode.el: New file.
8442 * loadup.el: Add prog-mode.el.
8443
8fc57765
TZ
84442013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8445
8446 * simple.el (prog-prettify-symbols): Add version.
8447 (prog-prettify-install): Add convenience function to prettify symbols.
8448
8449 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8450 (perl--augmented-font-lock-keywords-1)
8451 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8452 variables and use it.
8453
8454 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8455 (cfengine3-mode): Remove unneeded variable and use it.
8456
8457 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8458 (lisp--augmented-font-lock-keywords-1)
8459 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8460 Remove unneeded variables and use it.
8461
650645d5 84622013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8463
8464 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8465 to point when opening the connection. (Bug#14380)
28f5da6d 8466
781b4af6
SM
84672013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8468
8469 * subr.el (load-history-regexp, load-history-filename-element)
8470 (eval-after-load, after-load-functions, do-after-load-evaluation)
8471 (eval-next-after-load, display-delayed-warnings)
8472 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8473 definition of save-match-data.
8474 (overriding-local-map): Remove accidental obsolescence declaration.
8475
8476 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8477
3ca0d0b4
TZ
84782013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8479
8480 Generalize symbol prettify support to prog-mode and implement it
8481 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8482 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8483 (prog--prettify-font-lock-compose-symbol)
8484 (prog-prettify-font-lock-symbols-keywords): New variables and
8485 functions to support symbol prettification.
8486 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8487 (lisp--augmented-font-lock-keywords-1)
8488 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8489 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8490 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8491 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8492 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8493 * progmodes/perl-mode.el (perl-prettify-symbols)
8494 (perl--font-lock-compose-symbol)
8495 (perl--font-lock-symbols-keywords): Move to prog-mode.
8496 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8497 (perl-font-lock-keywords-1)
8498 (perl-font-lock-keywords-2): Remove explicit prettify support.
8499 (perl--augmented-font-lock-keywords)
8500 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8501 (perl--augmented-font-lock-keywords-2, perl-mode):
8502 Implement prettify support.
3ca0d0b4 8503
976cb066
LL
85042013-06-05 Leo Liu <sdl.web@gmail.com>
8505
8506 Re-implement smie matching block highlight using
8507 show-paren-data-function. (Bug#14395)
8508 * emacs-lisp/smie.el (smie-matching-block-highlight)
8509 (smie--highlight-matching-block-overlay)
8510 (smie--highlight-matching-block-lastpos)
8511 (smie-highlight-matching-block)
8512 (smie-highlight-matching-block-mode): Remove.
8513 (smie--matching-block-data-cache): New variable.
8514 (smie--matching-block-data): New function.
8515 (smie-setup): Use smie--matching-block-data for
8516 show-paren-data-function.
8517
8518 * progmodes/octave.el (octave-mode-menu): Fix.
8519 (octave-find-definition): Skip garbage lines.
8520
208d0342
SM
85212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 Fix compilation error with simultaneous dynamic+lexical scoping.
8524 Add warning when a defvar appears after the first let-binding.
8525 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8526 (byte-compile-close-variables): Initialize it.
8527 (byte-compile--declare-var): New function.
8528 (byte-compile-file-form-defvar)
8529 (byte-compile-file-form-define-abbrev-table)
8530 (byte-compile-file-form-custom-declare-variable): Use it.
8531 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8532 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8533 (byte-compile-bind): Handle dynamic bindings that shadow
8534 lexical bindings.
8535 (byte-compile-unbind): Make arg non-optional.
8536 (byte-compile-let): Simplify.
8537 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8538 (cconv--analyse-function, cconv-analyse-form): Populate it.
8539 Protect byte-compile-bound-variables to limit the scope of defvars.
8540 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8541 Remove unneeded rule for `declare'.
8542
8543 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8544 so as to avoid depending on cl-adjoin at run-time.
8545 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8546
8547 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8548 (macroexp--warn-and-return): Use it.
8549
1ac2891e
GM
85502013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * lisp/subr.el: Convert to lexical binding.
8553 (overriding-local-map): Make obsolete.
8554 (add-to-list): Doc fix. Add compiler macro.
8555 (read-key): Swap values of local maps.
8556
2587b005
LL
85572013-06-05 Leo Liu <sdl.web@gmail.com>
8558
8559 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8560
f1da3c88
LL
85612013-06-04 Leo Liu <sdl.web@gmail.com>
8562
8563 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8564 (compilation-auto-jump): Suppress the "Mark set" message to give
8565 way to exit message.
8566
3caa391f
AM
85672013-06-04 Alan Mackenzie <acm@muc.de>
8568
8569 Remove faulty optimisation from indentation calculation.
8570 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8571 search limit based on 2000 characters back from indent-point.
8572
068922a2
TH
85732013-06-03 Tassilo Horn <tsdh@gnu.org>
8574
8575 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8576
1f8fdd53
SM
85772013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8578
bbcc4d97
SM
8579 * emacs-lisp/lisp.el: Use lexical-binding.
8580 (lisp--local-variables-1, lisp--local-variables): New functions.
8581 (lisp--local-variables-completion-table): New var.
208d0342 8582 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8583
1f8fdd53
SM
8584 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8585 eagerly (bug#14422).
8586
c9628c79
MA
85872013-06-03 Michael Albinus <michael.albinus@gmx.de>
8588
8589 * autorevert.el (auto-revert-notify-enabled)
8590 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8591 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8592 (auto-revert-notify-handler): Handle also gfilenotify.
8593
e7b41c4c 8594 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8595 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8596 Remove.
c9628c79 8597
e5e4a942
JL
85982013-06-03 Juri Linkov <juri@jurta.org>
8599
8600 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8601 `M-s h .'. (Bug#14427)
8602
8603 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8604 command `hi-lock-face-symbol-at-point'.
8605 (hi-lock-face-symbol-at-point): New command.
8606 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8607 (hi-lock-menu): Add `highlight-symbol-at-point'.
8608 (hi-lock-mode): Doc fix.
8609
8610 * isearch.el (isearch-forward-symbol-at-point): New command.
8611 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8612 (isearch-highlight-regexp): Add a regexp which matches
8613 words/symbols for word/symbol mode.
8614
8615 * subr.el (find-tag-default-bounds): New function with the body
8616 mostly moved from `find-tag-default'.
8617 (find-tag-default): Move most code to `find-tag-default-bounds',
8618 call it and apply `buffer-substring-no-properties' afterwards.
8619
26b3353a
TH
86202013-06-03 Tassilo Horn <tsdh@gnu.org>
8621
781b4af6
SM
8622 * eshell/em-term.el (eshell-term-initialize):
8623 Use `cl-intersection' rather than `intersection'.
26b3353a 8624
51b60f53
XF
86252013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8626
fe054b63 8627 * vc/log-view.el: Doc fix.
d3ffe17c 8628 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8629
a0eb10b3 86302013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8631
8632 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8633 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8634 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8635 (eieio-unbound, eieio-default-superclass)
8636 (eieio--define-field-accessors, method-static, method-before)
8637 (method-primary, method-after, method-num-lists)
8638 (method-generic-before, method-generic-primary)
8639 (method-generic-after, method-num-slots)
8640 (eieio-specialized-key-to-generic-key)
8641 (eieio--check-type, class-v, class-p)
8642 (eieio-class-name, define-obsolete-function-alias)
8643 (eieio-class-parents-fast, eieio-class-children-fast)
8644 (same-class-fast-p, class-constructor, generic-p)
8645 (generic-primary-only-p, generic-primary-only-one-p)
8646 (class-option-assoc, class-option, eieio-object-p)
8647 (class-abstract-p, class-method-invocation-order)
8648 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8649 (eieio-class-un-autoload, eieio-defclass)
8650 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8651 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8652 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8653 (eieio-defgeneric-reset-generic-form)
8654 (eieio-defgeneric-form-primary-only)
8655 (eieio-defgeneric-reset-generic-form-primary-only)
8656 (eieio-defgeneric-form-primary-only-one)
8657 (eieio-defgeneric-reset-generic-form-primary-only-one)
8658 (eieio-unbind-method-implementations)
8659 (eieio--defmethod, eieio--typep)
8660 (eieio-perform-slot-validation, eieio-validate-slot-value)
8661 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8662 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8663 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8664 (eieio-slot-name-index, eieio-class-slot-name-index)
8665 (eieio-set-defaults, eieio-initarg-to-attribute)
8666 (eieio-attribute-to-initarg, eieio-c3-candidate)
8667 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8668 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8669 (eieio-class-precedence-list, eieio-generic-call-methodname)
8670 (eieio-generic-call-arglst, eieio-generic-call-key)
8671 (eieio-generic-call-next-method-list)
8672 (eieio-pre-method-execution-functions, eieio-generic-call)
8673 (eieio-generic-call-primary-only, eieiomt-method-list)
8674 (eieiomt-optimizing-obarray, eieiomt-install)
8675 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8676 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8677 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8678 (defclass): Remove `eval-and-compile' from macro.
8679 (call-next-method, shared-initialize): Instead of using
8680 `scoped-class' variable, use new eieio--scoped-class, and
8681 eieio--with-scoped-class.
8682 (initialize-instance): Rename local variable 'scoped-class' to
8683 'this-class' to remove ambiguitity from old global.
8684
8685 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8686 eieio.el.
4f405069
JB
8687 (eieio--scoped-class-stack): New variable.
8688 (eieio--scoped-class): New fcn.
890f7890
DE
8689 (eieio--with-scoped-class): New scoping macro.
8690 (eieio-defclass): Use pushnew instead of add-to-list.
8691 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8692 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8693 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8694 `scoped-class' variable, use new eieio--scoped-class, and
8695 eieio--with-scoped-class.
8696
8697 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8698
d105b0e2
TH
86992013-06-02 Tassilo Horn <tsdh@gnu.org>
8700
8701 * eshell/esh-ext.el (eshell-external-command): Pass args to
8702 `eshell-find-interpreter'.
8703 (eshell-find-interpreter): Add new second parameter ARGS.
8704
8705 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8706 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8707
8708 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8709 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8710
8711 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8712 (eshell-visual-options): New defcustom.
8713 (eshell-escape-control-x): Adapt docstring.
8714 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8715 `eshell-visual-options' in addition to `eshell-visual-commands'.
8716 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8717
f46305c8 87182013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8719
8720 * progmodes/python.el (python-indent-block-enders): Add break,
8721 continue and raise keywords.
8722
d870df21
GM
87232013-06-01 Glenn Morris <rgm@gnu.org>
8724
9133b82e
GM
8725 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8726
02c992ec 8727 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8728 * progmodes/cc-cmds.el (delete-forward-p):
8729 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8730 * progmodes/cc-engine.el (buffer-syntactic-context):
8731 * progmodes/cc-fonts.el (face-property-instance):
8732 * progmodes/cc-mode.el (set-keymap-parents):
8733 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8734 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8735 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8736 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8737 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8738
31e7b090
GM
8739 * progmodes/cc-vars.el (other): Emacs has this widget since
8740 at least 21.1, so don't (re)define it.
8741
d870df21
GM
8742 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8743 Replace the obsolete alias pcomplete-arg-quote-list.
8744
c75c93c7
LL
87452013-06-01 Leo Liu <sdl.web@gmail.com>
8746
8747 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8748 punctuation syntax.
8749 (inferior-octave-minimal-columns)
8750 (inferior-octave-last-column-width): New variables.
8751 (inferior-octave-track-window-width-change): New function.
8752 (inferior-octave-mode): Adjust column width so that Octave output,
8753 for example from 'ls', can fit into the window nicely.
8754
973d1e12
DG
87552013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8756
8757 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8758 Highlight expansions inside regexp literals.
8759
0888c286
GM
87602013-05-31 Glenn Morris <rgm@gnu.org>
8761
e26aac1f
GM
8762 * obsolete/sym-comp.el (symbol-complete):
8763 Replace obsolete completion-annotate-function.
8764
0888c286
GM
8765 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8766
19bb8e62
DG
87672013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8768
781b4af6
SM
8769 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8770 New function, checks if point is inside a literal that allows
19bb8e62
DG
8771 expression expansion.
8772 (ruby-syntax-propertize-expansion): Use it.
8773 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8774 around the body.
8775
01dea85f
JL
87762013-05-30 Juri Linkov <juri@jurta.org>
8777
8778 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8779 to "\M-si".
8780 (isearch-invisible): New variable.
8781 (isearch-forward): Doc fix.
8782 (isearch-mode): Set `isearch-invisible'
8783 to the value of `search-invisible'.
8784 (isearch-toggle-case-fold): Doc fix.
8785 (isearch-toggle-invisible): New command.
8786 (isearch-query-replace): Let-bind `search-invisible'
8787 to the value of `isearch-invisible'.
8788 (isearch-search): Use `isearch-invisible' instead of
8789 `search-invisible'. Let-bind `search-invisible'
8790 to the value of `isearch-invisible'. (Bug#11378)
8791
ab1bdce5
JL
87922013-05-30 Juri Linkov <juri@jurta.org>
8793
8794 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8795 call when `query-flag' is nil and `search-invisible' is non-nil.
8796 (Bug#11746)
8797
d6d236e2
GM
87982013-05-30 Glenn Morris <rgm@gnu.org>
8799
8accd027
GM
8800 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8801
2a8bed1c
GM
8802 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8803 (cc-require): Suppress spurious "noruntime" warnings.
8804 (cc-require-when-compile): Use fboundp, for sake of compiler.
8805
d6d236e2
GM
8806 * progmodes/cc-mode.el: Move load of cc-vars before that of
8807 cc-langs (which in turn loads cc-vars), to quieten compiler.
8808
9190b35b
SM
88092013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * paren.el: Simplify the code.
8812 (show-paren-mode): Always start the timer.
8813 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8814 (show-paren--overlay, show-paren--overlay-1): Rename from
8815 show-paren-overlay and show-paren-overlay-1, and initialize to an
8816 overlay rather than to nil.
8817 (show-paren-function): Misc cleanup and simplifications.
8818
4f8d1cf6
SM
88192013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * paren.el (show-paren-data-function): New hook.
8822 (show-paren--default): New function, extracted from show-paren-function.
8823 (show-paren-function): Use show-paren-data-function.
8824
02d844b5
GM
88252013-05-30 Glenn Morris <rgm@gnu.org>
8826
d209d4a9
GM
8827 * ielm.el (ielm-map, ielm-complete-symbol):
8828 Use completion-at-point rather than obsolete functions.
8829 (inferior-emacs-lisp-mode): Doc fix.
8830 Set completion-at-point-functions, rather than
8831 comint-dynamic-complete-functions.
8832
2082faa6
GM
8833 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8834 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8835 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8836
dd8620de
GM
8837 * image.el (image-animated-p): Tweak definition.
8838
ceca95b1
GM
8839 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8840 (rlogin-process-connection-type): Tweak default. Add set-after.
8841 (rlogin-host): Doc fix.
8842 (rlogin): Tweak prompt.
8843 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8844
ee9f1acc
GM
8845 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8846 * progmodes/tcl.el (inferior-tcl-mode-map):
8847 Use completion-at-point rather than obsolete alias.
8848
45ce222e
GM
8849 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8850
02d844b5
GM
8851 * minibuffer.el (read-file-name-completion-ignore-case):
8852 Move before completion--in-region, for eager macro expansion.
8853
ac44d6c1
JL
88542013-05-29 Juri Linkov <juri@jurta.org>
8855
8856 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8857 for total count of matching lines. Add `global-matches' for total
8858 count of matches. Rename `matches' to `lines' for count of
8859 matching lines. Add `matches' for count of matches.
8860 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8861 to `prev-line' for line number of prev match endpt.
8862 Increment `matches' for every match. Print the number of
8863 matching lines in the header.
8864 (occur-context-lines): Rename `lines' to `curr-line'.
8865 Rename `prev-lines' to `prev-line'. (Bug#14017)
8866
3c9c9d38
JL
88672013-05-29 Juri Linkov <juri@jurta.org>
8868
8869 * replace.el (perform-replace): Add `skip-read-only-count',
8870 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8871 Increment them for corresponding conditions and report the number
8872 of skipped occurrences in the final message. (Bug#11746)
8873 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8874 (replace-string, replace-regexp): Doc fix.
8875
33e249a2
SM
88762013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8877
8e399682
SM
8878 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8879
33e249a2 8880 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8881 prog-mode-map (bug#14504).
33e249a2 8882
f236dd84
LL
88832013-05-29 Leo Liu <sdl.web@gmail.com>
8884
8885 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8886 (octave-help): Small simplification.
8887
8888 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8889 off the highlight first.
8890
3694d13f
GM
88912013-05-29 Glenn Morris <rgm@gnu.org>
8892
03983bdc
GM
8893 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8894 Handle idlwave-last-system-routine-info-cons-cell being nil.
8895
bc74a74a
GM
8896 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8897 (idlwave-write-paths): Simplify via with-temp-buffer.
8898
8b394200
GM
8899 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8900 * emulation/cua-rect.el: Also load cua-base at run time.
8901
3694d13f
GM
8902 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8903 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8904 (cperl-imenu-on-info): Require imenu.
8905
336d7284
AM
89062013-05-28 Alan Mackenzie <acm@muc.de>
8907
8908 Handle "capitalised keywords" correctly.
33e249a2 8909 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8910
cb29c582
AG
89112013-05-28 Aidan Gauland <aidalgol@amuri.net>
8912
781b4af6 8913 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8914
690e44b2
GM
89152013-05-28 Glenn Morris <rgm@gnu.org>
8916
e658d75c
GM
8917 * vc/vc-arch.el (vc-exec-after): Declare.
8918 (vc-switches): Autoload.
8919 * vc/vc-bzr.el: No need to require vc when compiling.
8920 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8921 (vc-resynch-buffer, vc-dir-refresh): Declare.
8922 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8923 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8924 (vc-resynch-buffer): Declare.
8925 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8926 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8927 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8928 (grep-read-regexp, grep-read-files, grep-expand-template)
8929 (vc-dir-refresh): Declare.
8930 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8931 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8932 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8933 * vc/vc-mtn.el (vc-exec-after): Declare.
8934 (vc-switches): Autoload.
8935 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8936 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8937 (vc-file-tree-walk): Declare.
712b9732
GM
8938 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8939 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8940 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
8941 * vc/vc-svn.el (vc-exec-after): Declare.
8942 (vc-switches, vc-setup-buffer): Autoload.
8943 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8944 Autoload.
8945 (vc-resynch-buffer): Declare.
8946
98e87fb3
GM
8947 * obsolete/fast-lock.el (byte-compile-warnings):
8948 Don't warn about obsolete features in this obsolete file.
8949
f5379553
GM
8950 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8951 Move definition before use.
8952
7a20ef83
GM
8953 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8954 (dun-unix-verbs): Remove dun-zippy.
8955 (dun-zippy): Remove function.
8956
690e44b2
GM
8957 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8958
3a52ccf7
JL
89592013-05-27 Juri Linkov <juri@jurta.org>
8960
8961 * replace.el (replace-search): New function with code moved out
8962 from `perform-replace'.
8963 (replace-highlight, replace-dehighlight): Move function definitions
8964 up closer to `replace-search'. (Bug#11746)
8965
d289938a
JL
89662013-05-27 Juri Linkov <juri@jurta.org>
8967
8968 * replace.el (perform-replace): Ignore invisible matches.
8969 In addition to checking `query-replace-skip-read-only', also
8970 filter out matches by calling `run-hook-with-args-until-failure'
8971 on `isearch-filter-predicates', and also check `search-invisible'
8972 for t or call `isearch-range-invisible'.
8973 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8974
66fc57e3
JL
89752013-05-27 Juri Linkov <juri@jurta.org>
8976
8977 * isearch.el (isearch-filter-predicates): Rename from
8978 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8979 (isearch-message-prefix): Display text from the property
8980 `isearch-message-prefix' of the currently active filters.
8981 (isearch-search): Don't compare `isearch-filter-predicate' with
8982 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8983 on `isearch-filter-predicates'. Also check `search-invisible' for t
8984 or call `isearch-range-invisible'.
8985 (isearch-filter-visible): Make obsolete.
8986 (isearch-lazy-highlight-search):
8987 Call `run-hook-with-args-until-failure' on
8988 `isearch-filter-predicates' and use `isearch-range-invisible'.
8989
8990 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8991 `isearch-filter-predicates' instead of `funcall'ing
8992 `isearch-filter-predicate'.
8993 (Info-mode): Set `Info-isearch-filter' to
8994 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8995
8996 * dired-aux.el (dired-isearch-filter-predicate-orig):
8997 Remove variable.
8998 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8999 (dired-isearch-filenames-end): Add and remove
9000 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9001 instead of changing the value of `isearch-filter-predicate'.
9002 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9003 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9004 Put property `isearch-message-prefix' to "filename " on
9005 `dired-isearch-filter-filenames'.
9006
9007 * wdired.el (wdired-change-to-wdired-mode):
9008 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9009 locally instead of changing `isearch-filter-predicate'.
9010 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9011
f1a60a0f
DG
90122013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9013
9014 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9015 return the commit hash (Bug#14459). Also set the
9016 `vc-git-detached' property.
9017 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9018 (vc-git-mode-line-string): Use the same help-echo format whether
9019 in detached mode or not, because we know the actual revision now.
9020 When in detached mode, shorten the revision to 7 chars.
9021
7f17cc40
SM
90222013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9023
9024 * emacs-lisp/easy-mmode.el (define-minor-mode):
9025 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9026 mode hook and provide a docstring.
9027
25c8401c
AM
90282013-05-27 Alan Mackenzie <acm@muc.de>
9029
9030 Remove spurious syntax-table text properties inserted by C-y.
9031 * progmodes/cc-mode.el (c-after-change): Also clear hard
9032 syntax-table property with value nil.
9033
dde84790
MA
90342013-05-27 Michael Albinus <michael.albinus@gmx.de>
9035
9036 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9037 when reading the events; the buffer layout shall not be changed.
9038
837fd9af
LL
90392013-05-27 Leo Liu <sdl.web@gmail.com>
9040
9041 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9042 New variable.
9043 (inferior-octave-directory-tracker): Automatically re-sync
9044 default-directory.
9045 (octave-help): Improve handling of 'See also'.
9046
4fd996b3
SM
90472013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9048
416f1802
SM
9049 * doc-view.el: Minor naming convention tweaks.
9050 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9051
4fd996b3
SM
9052 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9053 even if there's no `display' property yet (bug#14435).
9054
a052ef3b
EZ
90552013-05-25 Eli Zaretskii <eliz@gnu.org>
9056
4fd996b3 9057 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9058
9059 * Makefile.in (custom-deps, finder-data, autoloads)
9060 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9061 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9062 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9063
c9023370
SM
90642013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9065
9066 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9067 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9068 Don't burp at EOB.
c9023370 9069
24d699fa
LL
90702013-05-25 Leo Liu <sdl.web@gmail.com>
9071
9072 * comint.el (comint-previous-matching-input): Do not flood the
9073 *Messages* buffer with trivial messages.
9074
17e5c0cc
SM
90752013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * progmodes/flymake.el (flymake-nop): Don't return a string.
9078 (flymake-set-at): Fix typo.
9079
9080 * simple.el (read--expression): New function, extracted from
9081 eval-expression. Set completion-at-point-functions (bug#14465).
9082 (eval-expression, eval-minibuffer): Use it.
9083
5d028165
XF
90842013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9085
9086 * progmodes/flymake.el (flymake-save-buffer-in-file)
9087 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9088 (flymake-selected-frame, flymake-log, flymake-ins-after)
9089 (flymake-set-at, flymake-get-buildfile-from-cache)
9090 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9091 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9092 Refine the doc string.
9093 (flymake-get-file-name-mode-and-masks): Reformat.
9094 (flymake-get-real-file-name-function): Fix a minor bug.
9095
7a1d7ba7
JL
90962013-05-24 Juri Linkov <juri@jurta.org>
9097
9098 * progmodes/grep.el (grep-mode-font-lock-keywords):
9099 Support =linenumber= format used by git-grep for lines with
9100 function names. (Bug#13549)
9101
650cff3d
SM
91022013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9105 0 after a semi-colon; it works better for smie-auto-fill.
9106 (octave--indent-new-comment-line): New function.
9107 (octave-indent-new-comment-line): Use it (indirectly).
9108 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9109 modify comment-line-break-function.
9110
9111 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9112 (smie-setup): Use add-function to set it.
9113
9631677d
SS
91142013-05-24 Sam Steingold <sds@gnu.org>
9115
9116 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9117 argument (before the `interactive' argument).
9118
50105835
SM
91192013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9120
9121 * image-mode.el (image-mode-winprops): Add winprops to
9122 image-mode-winprops-alist before running
9123 image-mode-new-window-functions.
9124 * doc-view.el (doc-view-new-window-function): Don't delay
9125 doc-view-goto-page via timers (bug#14435).
9126
57b9823e
TH
91272013-05-24 Tassilo Horn <tsdh@gnu.org>
9128
9129 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9130 (doc-view-desktop-save-buffer): New function.
9131 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9132 (desktop-buffer-mode-handlers):
9133 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9134 handler.
9135 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9136 `desktop-save-buffer' function.
9137
91aafa16
MA
91382013-05-24 Michael Albinus <michael.albinus@gmx.de>
9139
9140 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9141 (tramp-gvfs-file-name-handler): Raise a user error when
9142 `tramp-gvfs-enabled' is nil.
9143 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9144 Do not raise a user error when loading package. (Bug#14447)
9145
ec076379
MA
9146 * net/xesam.el: Move to obsolete/.
9147
db785726
GM
91482013-05-24 Glenn Morris <rgm@gnu.org>
9149
af5c7606
GM
9150 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9151
e5d1916a
GM
9152 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9153
ded62b08
GM
9154 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9155 (Info-find-node, Man-getpage-in-background): Declare.
9156
9e614a3f
GM
9157 * mail/unrmail.el (unrmail):
9158 Replace obsolete detect-coding-with-priority.
9159
892f8ca3
GM
9160 * net/socks.el (socks-split-string): Use this rather than split-string.
9161 (socks-nslookup-host): Update for above change.
9162 (dynamic-choice, s5-dynamic-choice-match)
9163 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9164 Comment out unused code.
9165
3c291973
GM
9166 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9167 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9168 (gud-tooltip-echo-area): Make obsolete.
9169 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9170
43cc956b
GM
9171 * progmodes/js.el (js--optimize-arglist): Declare.
9172
dab49a3b
GM
9173 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9174
36b9d085
GM
9175 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9176 (ediff-window-C): Declare.
9177
e354ae76
GM
9178 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9179 Tweak requires to silence compiler.
9180
b8e57bf4
GM
9181 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9182 (he-search-string, he-tried-table, he-expand-list)
9183 (he-init-string, he-string-member, he-substitute-string)
9184 (he-reset-string): Declare.
9185
db785726
GM
9186 * obsolete/options.el (list-options): Use custom-variable-p,
9187 rather than obsolete alias.
9188
b3531901
SS
91892013-05-23 Sam Steingold <sds@gnu.org>
9190
9191 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9192 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9193 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9194
bdda4c66
SM
91952013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * emacs-lisp/smie.el (smie-indent-forward-token)
9198 (smie-indent-backward-token): Handle string tokens (bug#14381).
9199
c43d45f9
TH
92002013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9201
fe1eb856
RS
9202 * ielm.el (ielm-menu): New menu.
9203 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9204
fe1eb856
RS
92052013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9206
9207 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9208 Fix deactivate action.
9209
9210 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9211 Add cleveref macros.
074dd971 9212
c43d45f9
TH
9213 * lisp/textmodes/reftex-parse.el
9214 (reftex-locate-bibliography-files): Accept options for
9215 bibliography commands.
9216 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9217 Add addbibresource. Basic Biblatex support.
9218
7764286e
MA
92192013-05-23 Michael Albinus <michael.albinus@gmx.de>
9220
9221 * net/tramp-gvfs.el (top):
9222 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9223 when loading package. (Bug#14447)
9224
d361bc10
GM
92252013-05-23 Glenn Morris <rgm@gnu.org>
9226
8fa23984
GM
9227 * progmodes/js.el: No need to load comint when compiling.
9228 (ring-insert, comint-send-string, comint-send-input)
9229 (comint-last-input-end, ido-chop): Declare.
9230
a5c7df1a
GM
9231 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9232 * vc/ediff-mult.el: Adjust requires.
9233 (ediff-directories-internal, ediff-directory-revisions-internal)
9234 (ediff-patch-file-internal): Declare.
9235 * vc/ediff-ptch.el: Adjust requires.
9236 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9237 (ediff-find-file): Autoload.
9238 * vc/ediff-util.el: No need to load ediff when compiling.
9239 (ediff-regions-internal): Declare.
9240 * vc/ediff-wind.el: Adjust requires.
9241 (ediff-compute-toolbar-width): Define when compiling.
9242 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9243 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9244 (dired-get-filename, dired-get-marked-files)
9245 (ediff-last-dir-patch, ediff-patch-default-directory)
9246 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9247 (ediff-patch-buffer-internal): Declare.
9248
e2aec513
GM
9249 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9250 (ispell-process, ispell-buffer-local-words, lm-summary)
9251 (lm-section-start, lm-section-end): Declare.
9252 (checkdoc-ispell-init): Simplify.
9253
e68bbd7c
GM
9254 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9255 (he-string-member, he-reset-string, he-substitute-string): Declare.
9256
7efe0991
GM
9257 * eshell/em-ls.el: Adjust requires.
9258 (eshell-glob-regexp): Declare.
f87b1284
GM
9259 * eshell/em-tramp.el: Adjust requires.
9260 (eshell-parse-command): Autoload.
9261 * eshell/em-xtra.el: Adjust requires.
9262 (eshell-parse-command): Autoload.
9263 * eshell/esh-ext.el: Adjust requires.
9264 (eshell-parse-command, eshell-close-handles): Autoload.
9265 * eshell/esh-io.el: Adjust requires.
9266 (eshell-output-filter): Autoload.
9267 * eshell/esh-util.el: No need to load tramp when compiling.
9268 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9269 Declare.
9270 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9271 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9272 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9273 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9274 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9275 * eshell/esh-opt.el, eshell/esh-proc.el:
9276 * eshell/esh-var.el: Adjust requires.
9277 * eshell/eshell.el: Do not require esh-util twice.
9278 (eshell-add-input-to-history): Declare.
9279 (eshell-command): Check history module is active before using it.
9280
d361bc10
GM
9281 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9282
85d090a9
LL
92832013-05-22 Leo Liu <sdl.web@gmail.com>
9284
9285 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9286
5d0acd9d
MA
92872013-05-22 Michael Albinus <michael.albinus@gmx.de>
9288
9289 * autorevert.el (auto-revert-notify-add-watch)
9290 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9291 it indicates changes in file modification time.
9292
0cdffd7d
GM
92932013-05-22 Glenn Morris <rgm@gnu.org>
9294
ca5995ec
GM
9295 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9296 Always delete the autoloaded function from the noruntime and
9297 unresolved functions lists.
9298
6450907e
GM
9299 * allout.el: No need to load epa, epg, overlay when compiling.
9300 (epg-context-set-passphrase-callback, epg-list-keys)
9301 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9302 (epg-key-user-id-list): Declare.
9303
9c6906f6
GM
9304 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9305 (viper-set-parsing-style-toggling-macro)
9306 (viper-set-emacs-state-searchstyle-macros):
9307 Use called-interactively-p on Emacs.
9308 (viper-looking-back): Make it an obsolete alias. Update callers.
9309 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9310 Use looking-back rather than viper-looking-back.
9311 (viper-tmp-insert-at-eob, viper-enlarge-region)
9312 (viper-read-string-with-history, viper-register-to-point)
9313 (viper-append-to-register, viper-change-state-to-vi)
9314 (viper-backward-char-carefully, viper-forward-char-carefully)
9315 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9316 (viper-change-state-to-emacs): Declare.
9317 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9318 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9319 * emulation/viper-mous.el: Do not load viper-cmd.
9320 (viper-backward-char-carefully, viper-forward-char-carefully)
9321 (viper-forward-word, viper-adjust-window): Declare.
9322
5f70c169
GM
9323 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9324
b1b7f300
GM
9325 * progmodes/idlw-help.el (idlwave-help-fontify):
9326 Use called-interactively-p.
9327
f6ebbb46
GM
9328 * term/w32console.el (w32-get-console-codepage)
9329 (w32-get-console-output-codepage): Declare.
9330
0cdffd7d
GM
9331 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9332 Remove unnecessary declarations.
9333 (dframe-message): Doc fix.
9334
9335 * info.el (dframe-select-attached-frame, dframe-current-frame):
9336 Declare.
9337
9338 * speedbar.el (speedbar-message): Make it an obsolete alias.
9339 Update all callers.
9340 (speedbar-with-attached-buffer)
9341 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9342 (speedbar-with-writable): Use backquote.
9343 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9344 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9345 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9346 rather than speedbar- aliases.
9347 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9348 (speedbar-make-specialized-keymap, speedbar-insert-button)
9349 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9350 (speedbar-do-function-pointer): Declare.
9351 (rmail-speedbar-button, rmail-speedbar-find-file)
9352 (rmail-speedbar-move-message):
9353 Use dframe-with-attached-buffer rather than speedbar- alias.
9354 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9355 (dframe-message, speedbar-make-specialized-keymap)
9356 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9357 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9358 (speedbar-insert-button, dframe-select-attached-frame)
9359 (dframe-maybee-jump-to-attached-frame)
9360 (speedbar-change-initial-expansion-list)
9361 (speedbar-previously-used-expansion-list-name): Declare.
9362 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9363 Use dframe-message, dframe-with-attached-buffer rather than
9364 speedbar- aliases.
9365 (gud-sentinel): Silence compiler.
9366 * progmodes/vhdl-mode.el (speedbar-refresh)
9367 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9368 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9369 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9370 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9371 (speedbar-file-lists, speedbar-make-tag-line)
9372 (speedbar-line-directory, speedbar-goto-this-file)
9373 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9374 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9375 (speedbar-make-button, speedbar-reset-scanners)
9376 (speedbar-files-item-info, speedbar-line-text)
9377 (speedbar-find-file-in-frame, speedbar-set-timer)
9378 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9379 (speedbar-with-writable): Do not (re)define it.
9380 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9381 rather than speedbar- alias.
9382
ee44b62a
LL
93832013-05-21 Leo Liu <sdl.web@gmail.com>
9384
9385 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9386 menu items.
9387 (octave-mode): Tweak fill-nobreak-predicate.
9388 (inferior-octave-startup): Check process to avoid infinite loop.
9389 (inferior-octave): Pop to buffer first to show abornmal process
9390 exit information.
9391
640f050f
GM
93922013-05-21 Glenn Morris <rgm@gnu.org>
9393
79458038
GM
9394 * printing.el (pr-menu-bar): Define when compiling.
9395
9cc3e83f
LL
93962013-05-21 Leo Liu <sdl.web@gmail.com>
9397
9398 * progmodes/octave.el (octave-auto-fill): Remove.
9399 (octave-indent-new-comment-line): Improve.
9400 (octave-mode): Use auto fill mode through
4f405069 9401 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9402 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9403 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9404 (octave-help): Show parent directory.
9405
f440830d
GM
94062013-05-21 Glenn Morris <rgm@gnu.org>
9407
9408 * files.el (dired-unmark):
9409 * progmodes/gud.el (gdb-input): Update declarations.
9410
9411 * calculator.el (electric, ehelp): No need to load when compiling.
9412 (Electric-command-loop, electric-describe-mode): Declare.
9413
9414 * doc-view.el (doc-view-current-converter-processes): Move before use.
9415
9416 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9417 Move MODE-set-explicitly definition before use.
9418
9419 * international/mule-diag.el (mule-diag):
9420 Don't use obsolete window-system-version.
9421
9422 * mail/feedmail.el (smtpmail): No need to load when compiling.
9423 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9424
9425 * mail/mail-utils.el (rfc822): No need to load when compiling.
9426 (rfc822-addresses): Autoload it.
9427 (mail-strip-quoted-names): Trivial simplification.
9428
9429 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9430 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9431
9432 * net/snmp-mode.el (tempo): Don't duplicate requires.
9433
9434 * progmodes/prolog.el (info): No need to load when compiling.
9435 (comint): Require before shell requires it.
9436 (Info-goto-node): Autoload it.
9437 (Info-follow-nearest-node): Declare.
9438 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9439
9440 * textmodes/artist.el (picture-mode-exit): Declare.
9441
9442 * textmodes/reftex-parse.el (reftex-parse-from-file):
9443 Trivial rewrite so the compiler can parse it better.
9444
b4da2cbb
LL
94452013-05-20 Leo Liu <sdl.web@gmail.com>
9446
9447 * progmodes/octave.el (octave-help-mode-map)
9448 (octave-help-mode-finish-hook): New variables.
9449 (octave-help-mode, octave-help-mode-finish): New functions.
9450 (octave-help): Use octave-help-mode.
9451
33c0f65b
GM
94522013-05-20 Glenn Morris <rgm@gnu.org>
9453
9454 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9455
1a0a0a8a
DG
94562013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9457
9458 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9459 start at point, so that expansion starting right after opening
9460 slash in a regexp is recognized.
9461 (ruby-syntax-before-regexp-re): New defvar, extracted from
9462 ruby-syntax-propertize-function. Since the value of this regexp
9463 is looked up at runtime now, we should be able to turn
9464 `ruby-syntax-methods-before-regexp' into a defcustom later.
9465 (ruby-syntax-propertize-function): Split regexp matching into two
9466 parts, for opening and closing slashes. That allows us to skip
9467 over string interpolations and support multiline regexps.
9468 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9469 for them, which calls `ruby-syntax-propertize-expansion'.
9470 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9471 call to `ruby-syntax-propertize-function'.
9472 (ruby-syntax-propertize-expansion): Extracted from
9473 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9474 (ruby-syntax-propertize-percent-literal): Leave point right after
9475 the percent symbol, so that the expression expansion rule can
9476 propertize the contents.
462388b6
DG
9477 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9478 heredoc openers.
9479 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9480
c1a6c0a4
JL
94812013-05-18 Juri Linkov <juri@jurta.org>
9482
9483 * man.el (Man-default-man-entry): Remove `-' from the end
9484 of the default value. (Bug#14400)
9485
8051fccd
GM
94862013-05-18 Glenn Morris <rgm@gnu.org>
9487
9488 * comint.el (comint-password-prompt-regexp):
9489 Allow "password for XXX" where XXX contains colons (eg https://...).
9490
5e80b74f
LL
94912013-05-18 Leo Liu <sdl.web@gmail.com>
9492
9493 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9494 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9495 (octave-source-directories): Don't check process.
9496 (octave-source-directories, octave-find-definition): Doc fix.
9497
521a54c5
GM
94982013-05-18 Glenn Morris <rgm@gnu.org>
9499
86a94b05
GM
9500 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9501 Remove backspace/delete bindings. (Bug#14392)
9502
521a54c5
GM
9503 * cus-dep.el (custom-make-dependencies): Sort the output.
9504 (custom-versions-load-alist): Convert comment to doc.
9505
42caeb89
LL
95062013-05-17 Leo Liu <sdl.web@gmail.com>
9507
9508 * newcomment.el (comment-search-backward): Stricter in finding
9509 comment start. (Bug#14303)
9510
9511 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9512 (octave-comment-start-skip): Properly anchored.
9513
e219dd97
LL
95142013-05-17 Leo Liu <sdl.web@gmail.com>
9515
fe1eb856
RS
9516 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9517 Clean up when turned off. (Bug#14395)
e219dd97
LL
9518 (smie--highlight-matching-block-overlay): No longer buffer-local.
9519 (smie-highlight-matching-block): Adjust.
9520
dc5dcb4b
PE
95212013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9522
9523 Doc string fix for "nanoseconds" (Bug#14406).
9524 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9525 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9526
1db165f0
JB
95272013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9528
9529 * calc/calc-units.el (math-extract-units): Preserve powers
9530 of units.
9531
c7a8fcac
LL
95322013-05-17 Leo Liu <sdl.web@gmail.com>
9533
9534 * subr.el (delete-consecutive-dups): New function.
9535 * ido.el (ido-set-matches-1): Use it.
9536 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9537 * ido.el (ido-remove-consecutive-dups): Remove.
9538
f678b18a
SM
95392013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9542 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9543 regexp-opt's `words'.
9544
ebfe68e8
LL
95452013-05-16 Leo Liu <sdl.web@gmail.com>
9546
9547 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9548 (smie--highlight-matching-block-overlay)
9549 (smie--highlight-matching-block-lastpos)
9550 (smie--highlight-matching-block-timer): New variables.
9551 (smie-highlight-matching-block): New function.
9552 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9553 (smie-setup): Conditionally enable smie-blink-matching-open.
9554
bc8bc17d
WS
95552013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9556
9557 Sync with upstream verilog-mode r840.
9558 * progmodes/verilog-mode.el (verilog-mode-version)
9559 (verilog-mode-release-date): Update.
9560 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9561 (verilog-sig-tieoff): Fix string error on
9562 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9563 (verilog-read-decls): Fix parameters confusing
9564 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9565
df065a0b
EZ
95662013-05-16 Eli Zaretskii <eliz@gnu.org>
9567
9568 * subr.el (reveal-filename): New function.
9569
9570 * loadup.el: Compute Emacs executable versions on MS-Windows,
9571 where executables have the .exe extension. Add a hard link
9572 emacs-XX.YY.ZZ.exe on MS-Windows.
9573
9574 * Makefile.in (XARGS_LIMIT): New variable.
9575 (custom-deps, finder-data, autoloads)
9576 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9577 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9578 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9579 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9580
2d4bf34b
LL
95812013-05-16 Leo Liu <sdl.web@gmail.com>
9582
9583 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9584 (octave-mode-menu, octave-mode-map): Remove its uses.
9585
6b9c2d85
RZ
95862013-05-16 Reto Zimmermann <reto@gnu.org>
9587
9588 Sync with upstream vhdl mode v3.34.2.
9589 * progmodes/vhdl-mode.el: Use `push' throughout.
9590 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9591 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9592 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9593 (vhdl-actual-generic-name): New option to derive actual generic name.
9594 (vhdl-port-paste-signals): Replace formal by actual generics.
9595 (vhdl-beautify): New name for old group vhdl-align. Update users.
9596 (vhdl-beautify-options): New option.
9597 (vhdl-last-input-event): New compat alias. Use throughout.
9598 (vhdl-goto-line): Replace user level function `goto-line'.
9599 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9600 vhdl-fix-statement-buffer.
9601 (vhdl-create-mode-menu): Add some entries.
9602 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9603 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9604 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9605 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9606 to force statements on one line.
9607 (vhdl-remove-trailing-spaces-region):
9608 New, split from vhdl-remove-trailing-spaces.
9609 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9610 Respect vhdl-beautify-options.
9611 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9612 (vhdl-update-sensitivity-list): Not add with index if exists without.
9613 Not include array index with signal. Ignore keywords in comments.
9614 (vhdl-get-visible-signals): Regexp tweaks.
9615 (vhdl-template-component-inst): Handle empty library.
9616 (vhdl-template-type): Add template for 'enum' type.
9617 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9618 Use vhdl-replace-string.
9619 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9620 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9621 (vhdl-speedbar-initialize): Update for above name change.
9622 (vhdl-compose-wire-components): Fix in handling of constants.
9623 (vhdl-error-regexp-emacs-alist): New variable.
9624 (vhdl-error-regexp-add-emacs): New function;
9625 adds support for new compile.el (Emacs 22+)
9626 (vhdl-generate-makefile-1): Change target order for single lib. units.
9627 Allow use of absolute file names.
9628
9df4ec5e
LL
96292013-05-16 Leo Liu <sdl.web@gmail.com>
9630
9631 * simple.el (prog-indent-sexp): Indent enclosing defun.
9632
f5ba00a6
GM
96332013-05-15 Glenn Morris <rgm@gnu.org>
9634
ed8be7ff
GM
9635 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9636 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9637 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9638 (whitespace-highlight): Move to whitespace group.
9639
9640 * comint.el (comint-source):
9641 * pcmpl-linux.el (pcmpl-linux):
9642 * shell.el (shell-faces):
9643 * eshell/esh-opt.el (eshell-opt):
9644 * international/ccl.el (ccl): Remove empty custom groups.
9645
9646 * completion.el (dynamic-completion-mode):
9647 * jit-lock.el (jit-lock-debug-mode):
9648 * minibuffer.el (completion-in-region-mode):
9649 * type-break.el (type-break-mode-line-message-mode)
9650 (type-break-query-mode):
9651 * emulation/tpu-edt.el (tpu-edt-mode):
9652 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9653 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9654 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9655
9656 * term/xterm.el (xterm): Change parent group to terminals.
9657
9658 * master.el (master): Remove empty custom group.
9659 (master-mode): Remove unused :group argument.
9660 * textmodes/refill.el (refill): Remove empty custom group.
9661 (refill-mode): Remove unused :group argument.
9662
9663 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9664
82a7c41b
GM
9665 * cus-dep.el: Provide a feature.
9666 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9667 Don't mistakenly ignore files whose basenames match a basename
9668 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9669 Add a fallback method for getting :group.
f5ba00a6 9670
6d65486d
JL
96712013-05-15 Juri Linkov <juri@jurta.org>
9672
da547b32
JL
9673 * isearch.el (isearch-char-by-name): Rename from
9674 `isearch-insert-char-by-name'. Doc fix.
9675 (isearch-forward): Mention `isearch-char-by-name' in
9676 the docstring. (Bug#13348)
9677
6d65486d
JL
9678 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9679 `exit-minibuffer' instead of
9680 `isearch-nonincremental-exit-minibuffer'.
9681 (isearch-edit-string): Remove mention of
9682 `isearch-nonincremental-exit-minibuffer' from docstring.
9683 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9684 (isearch-forward-exit-minibuffer)
9685 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9686
c9990474
SM
96872013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9688
6e911150
SM
9689 * loadup.el: Just use unversioned DOC.
9690
c9990474
SM
9691 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9692 literals as extending to EOB.
9693 (nxml-last-fontify-end): Remove unused variable.
9694 (nxml-after-change1): Use with-silent-modifications.
9695 (nxml-extend-after-change-region): Simplify.
9696 (nxml-extend-after-change-region1): Remove function.
9697 (nxml-after-change1): Don't adjust for dependent regions.
9698 (nxml-fontify-matcher): Simplify.
9699 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9700 (xmltok-add-dependent): Remove function.
9701 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9702 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9703 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9704 unclosed <[[, <?, comment, and other literals as extending to EOB.
9705 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9706 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9707 Remove functions.
9708 (rng-do-some-validation-1): Don't mark dependent regions.
9709 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9710 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9711 (nxml-clear-dependent-regions): Remove functions.
9712 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9713 (nxml-ensure-scan-up-to-date):
9714 Don't clear&mark dependent regions.
9715
e3772e98
LL
97162013-05-15 Leo Liu <sdl.web@gmail.com>
9717
c9990474
SM
9718 * progmodes/octave.el (octave-goto-function-definition):
9719 Improve and fix callers.
e3772e98 9720
5ac2eb34
SM
97212013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9722
c46c57b0
SM
9723 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9724 the setter (bug#14387).
9725
5ac2eb34
SM
9726 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9727 surrounding group (bug#14402).
9728
180ed218
JL
97292013-05-14 Juri Linkov <juri@jurta.org>
9730
9731 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9732 (Bug#14390)
9733
0ac0fecb
GM
97342013-05-14 Glenn Morris <rgm@gnu.org>
9735
9736 * progmodes/f90.el (f90-imenu-generic-expression):
9737 Fix typo in 2013-05-08 change. (Bug#14402)
9738
2e78e6a7
JPG
97392013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9740
5ac2eb34
SM
9741 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9742 Remove signals for which replies are never received.
2e78e6a7 9743
53267cca
JPG
97442013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9745
9746 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9747 (gdb-handler-alist, gdb-handler-number): Remove variables.
9748 (gdb-handler-list): New variable.
9749 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9750 (gdb-pending-handler-p, gdb-handle-reply)
9751 (gdb-remove-all-pending-triggers): New functions.
9752 (gdb-discard-unordered-replies): New defcustom.
9753 (gdb-handler): New defstruct.
9754 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9755 instead of gdb-pending-triggers. Update docstring.
9756 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9757 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9758 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9759 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9760 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9761 (gdb-frame-handler): Pending triggers are now automatically managed.
9762 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9763 Remove argument.
9764 (gdb-input): Automatically handles pending triggers. Update docstring.
9765 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9766 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9767 Update comments.
9768 (gdb-done-or-error): Now use gdb-handle-reply.
9769
d04ce803
JPG
97702013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9771
9772 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9773 gdb-debug-log.
9774
0114073a
GM
97752013-05-14 Glenn Morris <rgm@gnu.org>
9776
9777 * subr.el (user-emacs-directory-warning): New option.
9778 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9779
4d25fd7e
LL
97802013-05-14 Leo Liu <sdl.web@gmail.com>
9781
9782 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9783 during redisplay.
9784 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9785 (octave-font-lock-texinfo-comment): Fix invalid search bound
9786 error: wrong side of point.
4d25fd7e 9787
27c8b6eb
GM
97882013-05-14 Glenn Morris <rgm@gnu.org>
9789
61aaeb01
GM
9790 * progmodes/flymake.el (flymake-xml-program): New option.
9791 (flymake-xml-init): Use it.
9792
5bf90bc5
GM
9793 * term/xterm.el: Provide a feature.
9794
9795 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9796
f4c7dfd2
GM
97972013-05-13 Glenn Morris <rgm@gnu.org>
9798
9799 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9800 Add compat aliases as a hack workaround. (Bug#14384)
9801
2aeb3a1d
LL
98022013-05-13 Leo Liu <sdl.web@gmail.com>
9803
b0e069c2
LL
9804 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9805 ###, and %!.
f5a9432f
LL
9806 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9807 C-M-q.
b0e069c2
LL
9808 (octave-comment-start-skip): Include %!.
9809 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9810
30ea8374
LL
98112013-05-12 Leo Liu <sdl.web@gmail.com>
9812
9813 * progmodes/octave.el (inferior-octave-startup): Store the value
9814 of __octave_srcdir__ for octave-source-directories.
9815 (inferior-octave-check-process): New function refactored out of
9816 inferior-octave-send-list-and-digest.
9817 (octave-source-directories)
9818 (octave-find-definition-filename-function): New variables.
9819 (octave-source-directories)
9820 (octave-find-definition-default-filename): New functions.
9821 (octave-find-definition): Improve to find functions implemented in C++.
9822
472a3834
GM
98232013-05-12 Glenn Morris <rgm@gnu.org>
9824
9825 * calendar/diary-lib.el (diary-outlook-format-1):
9826 Don't include dayname in the output. (Bug#14349)
9827
3191b52f
GM
98282013-05-11 Glenn Morris <rgm@gnu.org>
9829
0060ac73
GM
9830 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9831
3191b52f
GM
9832 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9833 Treat cc-provide like provide.
9834
e065ba74
KR
98352013-05-11 Kevin Ryde <user42@zip.com.au>
9836
9837 * cus-dep.el (custom-make-dependencies):
9838 Use generated-autoload-load-name for the sake of files such
9839 such cedet/semantic/bovine/c.el, where the base file name
9840 is not in load-path. (Bug#5277)
9841
36f84c37
GM
98422013-05-11 Glenn Morris <rgm@gnu.org>
9843
9844 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9845 Provide features.
9846
c8730c3a
LL
98472013-05-11 Leo Liu <sdl.web@gmail.com>
9848
9849 * progmodes/octave.el (octave-indent-comment): Improve.
9850 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9851 (octave-eldoc-function-signatures, octave-eldoc-function):
9852 New functions.
c8730c3a
LL
9853 (octave-mode, inferior-octave-mode): Add eldoc support.
9854
212e29f2
RS
98552013-05-11 Richard Stallman <rms@gnu.org>
9856
9857 * epa.el (epa-decrypt-file): Take output file name as argument
9858 and read it using `interactive'.
9859
083fe0d7
LL
98602013-05-11 Leo Liu <sdl.web@gmail.com>
9861
9862 * progmodes/octave.el (octave-beginning-of-line)
9863 (octave-end-of-line): Check before using up-list because it jumps
9864 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9865 (octave-indent-comment): New function.
9866 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9867 (octave-begin-keywords, octave-end-keywords)
9868 (octave-reserved-words, octave-smie-bnf-table)
9869 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9870
8582e4c4
GM
98712013-05-11 Glenn Morris <rgm@gnu.org>
9872
f20def1f
GM
9873 * faces.el (internal-face-x-get-resource):
9874 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9875 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9876 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9877 Fix declarations.
f20def1f 9878
445f95e2
GM
9879 * calc/calc-menu.el: Make it loadable in isolation.
9880
9881 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9882 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9883 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9884 (eudc-bbdb-query-internal): Require 'bbdb.
9885
99fb2756
GM
9886 * lpr.el (lpr-headers-switches):
9887 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9888
9889 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9890
0da7ad96
GM
9891 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9892
8582e4c4
GM
9893 * term.el (term-set-escape-char): Make it idempotent.
9894
f71c50d0
LL
98952013-05-10 Leo Liu <sdl.web@gmail.com>
9896
5ac2eb34
SM
9897 * progmodes/octave.el (inferior-octave-completion-table):
9898 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9899 completion due to bug#11906.
9900 (octave-beginning-of-defun): Re-write to be more general.
9901
d5837773
GM
99022013-05-10 Glenn Morris <rgm@gnu.org>
9903
9904 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9905
027c0f75
SM
99062013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * comint.el (comint-redirect-send-command-to-process): Use :around
9909 rather than :override for comint-redirect-filter.
9910 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9911 Call it instead of comint-redirect-original-filter-function (which
9912 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9913
4465bfb4
JD
99142013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9915
9916 * frame.el (display-monitor-attributes-list): Add NS case.
9917 (ns-display-monitor-attributes-list): Declare.
9918
2d809ffa 99192013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9920
9921 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9922
e54eeb9b
GM
99232013-05-09 Glenn Morris <rgm@gnu.org>
9924
56cd351d
GM
9925 * international/fontset.el (vertical-centering-font-regexp):
9926 Set standard-value.
9927
d84b6108
GM
9928 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9929
a931698a
GM
9930 * bookmark.el (bookmark-search-delay):
9931 * cus-start.el (vertical-centering-font-regexp):
9932 * ps-mule.el (ps-mule-font-info-database-default):
9933 * ps-print.el (ps-default-fg, ps-default-bg):
9934 * type-break.el (type-break-good-break-interval):
9935 * whitespace.el (whitespace-indentation-regexp)
9936 (whitespace-space-after-tab-regexp):
9937 * emacs-lisp/testcover.el (testcover-1value-functions)
9938 (testcover-noreturn-functions, testcover-progn-functions)
9939 (testcover-prog1-functions):
9940 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9941 * eshell/em-glob.el (eshell-glob-translate-alist):
9942 * play/tetris.el (tetris-tty-colors):
9943 * progmodes/cpp.el (cpp-face-default-list):
9944 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9945 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9946 (idlwave-help-browser-generic-args):
9947 * progmodes/make-mode.el (makefile-special-targets-list):
9948 * progmodes/python.el (python-shell-virtualenv-path):
9949 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9950 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9951 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9952 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9953 * textmodes/reftex-vars.el (reftex-format-label-function):
9954 * textmodes/remember.el (remember-diary-file): Fix custom types.
9955
e54eeb9b
GM
9956 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9957 Add :version.
9958
455851dd
LL
99592013-05-09 Leo Liu <sdl.web@gmail.com>
9960
9961 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 9962 Restore file completion. (Bug#14300)
455851dd
LL
9963 (inferior-octave-startup): Fix incorrect highlighting for the
9964 first prompt.
9965
a9e4425b
SM
99662013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * progmodes/ruby-mode.el: First cut at SMIE support.
9969 (ruby-use-smie): New var.
9970 (ruby-smie-grammar): New constant.
9971 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9972 (ruby-smie--forward-token, ruby-smie--backward-token)
9973 (ruby-smie-rules): New functions.
9974 (ruby-mode-variables): Setup SMIE if applicable.
9975
060ca408
EZ
99762013-05-08 Eli Zaretskii <eliz@gnu.org>
9977
9978 * simple.el (line-move-visual): Signal beginning/end of buffer
9979 only if vertical-motion moved less than it was requested. Avoids
9980 silly incorrect error messages when there are display strings with
9981 multiple newlines at EOL.
9982
1d5963cc
SM
99832013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9986 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9987 (prolog-char-quote-workaround):
9988 * progmodes/cperl-mode.el (cperl-under-as-char):
9989 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
9990 Mark as obsolete.
9991 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
9992 their declaration.
9993 (vhdl-mode-syntax-table-init): Remove.
9994
c9990474
SM
9995 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9996 last change.
1d5963cc
SM
9997
9998 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9999 syntax for "_".
10000 (ld-script-font-lock-keywords):
10001 Change regexps to use things like \_< and \_>.
10002
10003 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10004 Change all regexps to use things like \_< and \_>.
10005
10006 * progmodes/autoconf.el (autoconf-definition-regexp)
10007 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10008 Handle a _ with symbol syntax.
10009 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10010
c9990474
SM
10011 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10012 Consolidate declaration.
1d5963cc
SM
10013 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10014 the declaration.
10015 (ada-create-syntax-table): Remove.
10016 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10017 already has the right syntax nowadays.
10018 (ada-goto-next-word): Don't change the syntax of "_".
10019
10020 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10021 with-wrapper-hook.
10022
72d3cfca
SS
100232013-05-08 Sam Steingold <sds@gnu.org>
10024
10025 * thingatpt.el (thing-at-point): Accept optional second argument
10026 NO-PROPERTIES to strip the text properties from the return value.
10027 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10028 to `thing-at-point' instead of stripping the properties ourselves.
10029 Also, when `thing-at-point' fails to find a url, prepend "http://"
10030 to the filename at point on the assumption that the user is
10031 pointing at something like gnu.org/gnu.
10032
5cb15713
JB
100332013-05-08 Juanma Barranquero <lekktu@gmail.com>
10034
10035 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10036 * faces.el (crm-separator):
10037 Silence byte-compiler.
10038
10039 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10040 (tool-bar-map): Remove unneeded defvars.
10041
ea78b95b
LL
100422013-05-08 Leo Liu <sdl.web@gmail.com>
10043
10044 Re-work a fix for bug#10994 based on Le Wang's patch.
10045 * ido.el (ido-remove-consecutive-dups): New helper.
10046 (ido-completing-read): Use it.
10047 (ido-chop): Revert fix for bug#10994.
10048
dc7466df
AS
100492013-05-08 Adam Spiers <emacs@adamspiers.org>
10050
10051 * cus-edit.el (custom-save-variables):
10052 Pretty-print long values. (Bug#14187)
10053
9ecf672a
GM
100542013-05-08 Glenn Morris <rgm@gnu.org>
10055
10056 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10057 (m4-mode-syntax-table): Init in the defvar.
10058 (m4-mode-abbrev-table): Let define-derived-mode define it.
10059
3f555be8
TT
100602013-05-08 Tom Tromey <tromey@redhat.com>
10061
10062 * progmodes/m4-mode.el (m4-mode-syntax-table):
10063 Do not treat "_" as word constituent. (Bug#14167)
10064
7cc8ae06
GM
100652013-05-07 Glenn Morris <rgm@gnu.org>
10066
4f58bc06
GM
10067 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10068 Remove explicit eshell-isearch-cancel-map.
10069
7cc8ae06
GM
10070 * progmodes/f90.el (f90-smart-end-names): New option.
10071 (f90-smart-end): Doc fix.
10072 (f90-end-block-optional-name): New constant.
10073 (f90-block-match): Respect f90-smart-end-names.
10074
ceb57e59
SM
100752013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10076
10077 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10078 about implicit semi-colons (bug#14218).
10079
4e3f9230
YM
100802013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10081
10082 * frame.el (display-monitor-attributes-list)
10083 (frame-monitor-attributes): New functions.
10084
203a5572
LL
100852013-05-06 Leo Liu <sdl.web@gmail.com>
10086
10087 * progmodes/octave.el (octave-syntax-propertize-function): Change
10088 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10089 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10090 (octave-completion-at-point): Rename from
203a5572
LL
10091 octave-completion-at-point-function.
10092 (inferior-octave-directory-tracker): Robustify.
10093 (octave-text-functions): Remove and fix its uses. No such things
10094 any more.
10095
ee6cff99
SM
100962013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10097
10098 * emacs-lisp/trace.el (trace--display-buffer): New function.
10099 (trace-make-advice): Use it.
10100
32985194
JL
101012013-05-06 Juri Linkov <juri@jurta.org>
10102
10103 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10104 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10105 Doc fix.
10106 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10107 in the help string. (Bug#12985)
10108
a1c700de
KD
101092013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10110
10111 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10112
c67c0839
SM
101132013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10114
323885fd
SM
10115 * progmodes/perl-mode.el: Add support for here documents.
10116 (perl-syntax-propertize-function): Match here-doc markers.
10117 (perl-syntax-propertize-special-constructs): Find their end.
10118 (perl-imenu-generic-expression): Use [:alnum:].
10119
c67c0839
SM
10120 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10121 (advice--add-function): Refresh the advice if already present
10122 (bug#14317).
10123
d491e7a8
IA
101242013-05-06 Ivan Andrus <darthandrus@gmail.com>
10125
10126 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10127
ddf9925e
GM
101282013-05-06 Glenn Morris <rgm@gnu.org>
10129
7cc3af27
GM
10130 * w32-fns.el (w32-charset-info-alist): Declare.
10131
16e343d6
GM
10132 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10133 of its defcustom properties.
10134 (eshell-cmpl-initialize): No need to load pcomplete.
10135
7d889a47
GM
10136 * generic-x.el: No need to require comint when compiling.
10137
ddf9925e
GM
10138 * net/eudc-export.el: Make it loadable without bbdb.
10139 (top-level): Use require rather than load-library.
10140 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10141 (eudc-batch-export-records-to-bbdb)
10142 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10143 Require bbdb.
10144
1e2c18df
SM
101452013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10146
10147 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10148 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10149 some tweaks, instead.
10150
02502a5f
LL
101512013-05-05 Leo Liu <sdl.web@gmail.com>
10152
10153 * progmodes/octave.el (octave-font-lock-keywords)
10154 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10155 (inferior-octave-send-list-and-digest): Improve error message.
10156 (octave-mode, inferior-octave-mode): Use setq-local.
10157 (octave-help): Set info-lookup-mode.
10158
0dc04f42
RS
101592013-05-05 Richard Stallman <rms@gnu.org>
10160
6c54491c
RS
10161 * vc/compare-w.el (compare-windows-whitespace):
10162 Treat no-break space as whitespace.
10163
0dc04f42
RS
10164 * mail/rmailsum.el (rmail-summary-rmail-update):
10165 Detect empty summary and don't change selected message.
10166 (rmail-summary-goto-msg): Likewise.
10167
df8f35df
RS
10168 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10169 Doc fixes, rename args.
10170
5356e1a3
AM
101712013-05-05 Alan Mackenzie <acm@muc.de>
10172
10173 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10174
d44014cb
JL
101752013-05-05 Juri Linkov <juri@jurta.org>
10176
10177 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10178 to not add the length of the summary segment to the return value.
10179 (Bug#14125)
10180
c129b51f
LL
101812013-05-05 Leo Liu <sdl.web@gmail.com>
10182
10183 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10184 (inferior-octave-output-filter): Remove.
10185 (octave-send-region, inferior-octave-startup): Fix callers.
10186 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10187 (octave-binary-file-extensions): New user variable.
10188 (octave-find-definition): Confirm if opening binary files.
10189 (octave-help-file): Use octave-find-definition to get the binary
10190 confirmation.
10191 (octave-help): Adjust for octave-help-file change.
10192
aa7dab97
SM
101932013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10194
10195 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10196 Merge the two entries that handle function definitions.
10197 (pascal--syntax-propertize): New const.
10198 (pascal-mode): Use it. Use setq-local.
10199
fd3a9a6b
GM
102002013-05-04 Glenn Morris <rgm@gnu.org>
10201
10202 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10203 (diary-from-outlook): Respect diary-from-outlook-function.
10204
30c7e542
SM
102052013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10208 Move the declaration from C.
10209 (read-minibuffer, eval-minibuffer): Move from C.
10210 (completion-setup-function): Avoid minibuffer-completion-contents.
10211
b54f978b
LL
102122013-05-03 Leo Liu <sdl.web@gmail.com>
10213
10214 * progmodes/octave.el (octave-font-lock-keywords): Do not
10215 dehighlight 'end' in comments or strings.
30c7e542
SM
10216 (octave-completing-read, octave-goto-function-definition):
10217 New helpers.
d4d0f9b3
LL
10218 (octave-help-buffer): New user variable.
10219 (octave-help-file, octave-help-function): New button types.
10220 (octave-help): New command and bind it to C-h ;.
10221 (octave-find-definition): New command and bind it to M-.
d74a1581 10222 (user-error): Alias to error if not defined.
b54f978b 10223
27135018
LL
102242013-05-02 Leo Liu <sdl.web@gmail.com>
10225
10226 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10227 for \. (bug#14332)
10228 (octave-font-lock-keywords): Include [ and {.
10229
0d634d3a
LL
102302013-05-02 Leo Liu <sdl.web@gmail.com>
10231
10232 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10233 (inferior-octave): Remove calling comint-mode and return the buffer.
10234 (inferior-octave-startup): Cosmetic changes.
10235
b4c8295e
LL
102362013-05-02 Leo Liu <sdl.web@gmail.com>
10237
30c7e542
SM
10238 * progmodes/octave.el (octave-syntax-propertize-function):
10239 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10240
f12ad6ec
GM
102412013-05-02 Glenn Morris <rgm@gnu.org>
10242
10243 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10244 * desktop.el (vc-dir-mode): Just autoload it here.
10245
30cac1e0
AM
102462013-05-02 Alan Mackenzie <acm@muc.de>
10247
10248 Eliminate variable c-standard-font-lock-fontify-region-function.
10249 * progmodes/cc-mode.el
10250 (c-standard-font-lock-fontify-region-function): Remove.
10251 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10252
d8ef28b1
LL
102532013-05-01 Leo Liu <sdl.web@gmail.com>
10254
2640d52e 10255 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10256 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10257 variables were removed from Octave in 2007.
d8ef28b1
LL
10258 (inferior-octave-startup): Fix uses.
10259 (comint-line-beginning-position): Remove compatibility code for
10260 emacs 21.
10261
ac63ec89
JL
102622013-05-01 Juri Linkov <juri@jurta.org>
10263
10264 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10265
9e9be37c
JL
102662013-05-01 Juri Linkov <juri@jurta.org>
10267
10268 * comint.el (comint-previous-matching-input): Don't print message
10269 "History item: %d" when `isearch-mode' is active.
10270 (comint-history-isearch-message): Print message "History item: %d"
10271 when `comint-input-ring-index' is not empty and this function is
10272 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10273
9b92c13b
LL
102742013-05-01 Leo Liu <sdl.web@gmail.com>
10275
10276 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10277 definitions. Use completion-at-point to insert keywords.
10278 (octave-abbrev-start): Remove.
10279 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10280
b12d33d7
LL
102812013-04-30 Leo Liu <sdl.web@gmail.com>
10282
10283 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10284 change.
10285
3d1c39fa
AM
102862013-04-30 Alan Mackenzie <acm@muc.de>
10287
10288 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10289 * progmodes/cc-engine.el (c-back-over-member-initializers):
10290 new function.
3d1c39fa
AM
10291 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10292 (most) member init lists.
10293
5147fc17
RS
102942013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10295
10296 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10297 variable.
10298
5b78d7fc
LL
102992013-04-30 Leo Liu <sdl.web@gmail.com>
10300
10301 * progmodes/octave.el (octave-variables): Remove. No builtin
10302 variables any more. All converted to functions.
10303 (octave-font-lock-keywords, octave-completion-at-point-function):
10304 Fix uses.
10305 (octave-font-lock-texinfo-comment): New user variable.
10306 (octave-texinfo-font-lock-keywords): New variable for texinfo
10307 comment block.
10308 (octave-function-comment-block): New face.
10309 (octave-font-lock-texinfo-comment): New function.
10310 (octave-mode): Font lock texinfo comment block.
10311
38d8527b
LL
103122013-04-29 Leo Liu <sdl.web@gmail.com>
10313
10314 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10315 indexing expression.
10316 (octave-continuation-string): Do not use \.
10317 (inferior-octave-complete-impossible): Remove.
10318 (inferior-octave-completion-table)
10319 (inferior-octave-completion-at-point): Remove its uses.
10320 (inferior-octave-startup): completion_matches was introduced to
10321 Octave in 1996 so safe to assume it.
10322 (octave-function-file-comment): Improve to follow how Octave does it.
10323 (octave-update-function-file-comment): Tweak.
10324
2ec12cb0
LL
103252013-04-29 Leo Liu <sdl.web@gmail.com>
10326
10327 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10328 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10329 (octave-function-file-comment): Fix typo.
10330 (octave-sync-function-file-names): Use read-char-choice.
10331
6eaed048
JB
103322013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10333
10334 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10335 to t for the less important warnings.
10336
3ffa2d4f
DH
103372013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10338
10339 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10340
685c9501
GM
103412013-04-27 Glenn Morris <rgm@gnu.org>
10342
10343 * vc/log-view.el (log-view-current-entry):
10344 Treat "---" separator lines as part of the following rev. (Bug#14169)
10345
0208ede7
JL
103462013-04-27 Juri Linkov <juri@jurta.org>
10347
10348 * subr.el (read-number): Doc fix about using it by interactive
10349 code letter `n'. (Bug#14254)
10350
5db9dace
JL
103512013-04-27 Juri Linkov <juri@jurta.org>
10352
10353 * desktop.el (desktop-auto-save-timeout): New option.
10354 (desktop-file-checksum): New variable.
10355 (desktop-save): Add optional arg `auto-save' and don't auto-save
10356 if nothing changed.
10357 (desktop-auto-save-timer): New variable.
10358 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10359 (after-init-hook): Call `desktop-auto-save-set-timer'.
10360 Suggested by Reuben Thomas <rrt@sc3d.org> in
10361 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10362
b7260dd4
LL
103632013-04-27 Leo Liu <sdl.web@gmail.com>
10364
10365 * progmodes/octave.el (octave-function-file-p)
10366 (octave-skip-comment-forward, octave-function-file-comment)
10367 (octave-update-function-file-comment): New functions.
10368 (octave-mode-map): Bind C-c ; to
10369 octave-update-function-file-comment.
10370 (octave-mode-menu): Add octave-update-function-file-comment.
10371 (octave-mode, inferior-octave-mode): Fix doc-string.
10372 (octave-insert-defun): Conform to Octave's coding convention.
10373 (Bug#14285)
10374
10375 * files.el (basic-save-buffer): Don't let errors in
10376 before-save-hook prevent saving buffer.
10377
c46da669
RW
103782013-04-20 Roland Winkler <winkler@gnu.org>
10379
10380 * faces.el (read-face-name): Use completing-read if arg multiple
10381 is nil.
10382
a81ee1eb
IL
103832013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10384
10385 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10386 displayed, move point to after the totals line.
10387 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10388 for the details.
10389
4fac34ce
SM
103902013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10391
10392 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10393 Add current dir to the load-path.
10394 (package-generate-autoloads): Don't rely on
10395 autoload-ensure-default-file.
10396
f6bfc063
RT
103972013-04-26 Reuben Thomas <rrt@sc3d.org>
10398
d40ab5cf
BG
10399 * textmodes/remember.el (remember-store-in-files): Document that
10400 the file name format is passed to `format-time-string'.
f6bfc063 10401
e55d3b04
LL
104022013-04-26 Leo Liu <sdl.web@gmail.com>
10403
10404 * progmodes/octave.el (octave-sync-function-file-names): New function.
10405 (octave-mode): Use it in before-save-hook.
10406
e53052d3
SM
104072013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10408
140ef50c
SM
10409 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10410 (bug#14274).
10411
e53052d3
SM
10412 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10413 \n and comment, even if it's not an implicit ; (bug#14218).
10414
af80458d 104152013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10416
10417 * subr.el (read-number): Once more use `read' rather than
10418 `string-to-number', to trap non-numeric input. (Bug#14254)
10419
af80458d 104202013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10421
10422 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10423 Use `syntax-multiline' text property consistently instead of
8a621d53 10424 `font-lock-multiline'. (Bug#14237)
70203c2e 10425
e6ea1f6c
GM
104262013-04-26 Glenn Morris <rgm@gnu.org>
10427
10428 * emacs-lisp/shadow.el (list-load-path-shadows):
10429 No longer necessary to check for duplicate simple.el, since
10430 2012-07-07 change to init_lread to not include installation lisp
10431 directories in load-path when running uninstalled. (Bug#14270)
10432
070ccca4
LL
104332013-04-26 Leo Liu <sdl.web@gmail.com>
10434
10435 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10436 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10437 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10438 octave-in-string-or-comment-p.
10439 (octave-in-comment-p, octave-in-string-p)
10440 (octave-in-string-or-comment-p): Replace defsubst with defun.
10441
9d1c5fb6
PE
104422013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10443
10444 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10445
c034abda
BG
104462013-04-25 Bastien Guerry <bzg@gnu.org>
10447
10448 * textmodes/remember.el (remember-data-directory)
10449 (remember-directory-file-name-format): Fix custom types.
10450
584ea277
LL
104512013-04-25 Leo Liu <sdl.web@gmail.com>
10452
e53052d3
SM
10453 * progmodes/octave.el (octave-completion-at-point-function):
10454 Make use of inferior octave process.
584ea277
LL
10455 (octave-initialize-completions): Remove.
10456 (inferior-octave-completion-table): New function.
10457 (inferior-octave-completion-at-point): Use it.
10458 (octave-completion-alist): Remove.
10459
1693b06a
SM
104602013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10461
10462 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10463 (opascal-mode-syntax-table): New var.
10464 (opascal-literal-kind, opascal-is-literal-end)
10465 (opascal-literal-token-at): Rewrite.
10466 (opascal--literal-start-re, opascal-font-lock-keywords)
10467 (opascal--syntax-propertize): New constants.
10468 (opascal-font-lock-defaults): Adjust.
10469 (opascal-mode): Use them. Set comment-<foo> variables as well.
10470 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10471 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10472 (delphi-other-face, opascal-other-face): Remove face variables.
10473 (opascal-save-state): Remove macro.
10474 (opascal-fontifying-progress-step): Remove constant.
10475 (opascal--ignore-changes): Remove var.
10476 (opascal-set-token-property, opascal-parse-next-literal)
10477 (opascal-is-stable-literal, opascal-complete-literal)
10478 (opascal-is-literal-start, opascal-face-of)
10479 (opascal-parse-region, opascal-parse-region-until-stable)
10480 (opascal-fontify-region, opascal-after-change)
10481 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10482 (opascal-debug-parse-region, opascal-debug-parse-window)
10483 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10484 (opascal-debug-fontify-buffer): Remove.
10485 (opascal-debug-mode-map): Adjust accordingly.
10486
be64c05d
LL
104872013-04-25 Leo Liu <sdl.web@gmail.com>
10488
10489 Merge octave-mod.el and octave-inf.el into octave.el with some
10490 cleanups.
10491 * progmodes/octave.el: New file renamed from octave-mod.el.
10492 * progmodes/octave-inf.el: Merged into octave.el.
10493 * progmodes/octave-mod.el: Renamed to octave.el.
10494
d79d37bd
TH
104952013-04-25 Tassilo Horn <tsdh@gnu.org>
10496
10497 * textmodes/reftex-vars.el
10498 (reftex-label-ignored-macros-and-environments): New defcustom.
10499
10500 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10501
ced3fc5d
SM
105022013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10503
10504 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10505 (smie-indent-keyword): Improve the check to ensure that the next
10506 comment is really on the same line.
10507 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10508
10509 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10510 semi-colons if the line is not otherwise empty (bug#14218).
10511
1c141dad
GM
105122013-04-25 Glenn Morris <rgm@gnu.org>
10513
10514 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10515
5058062a
SM
105162013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10517
10518 * progmodes/opascal.el (opascal-set-token-property): Rename from
10519 opascal-set-text-properties and only set `token' (bug#14134).
10520 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10521 (opascal-literal-text-properties): Remove.
10522 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10523 Adjust callers.
10524
5db9dace 105252013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10526
10527 * textmodes/remember.el (remember-handler-functions): Add an
10528 option for a new handler `remember-store-in-files'.
10529 (remember-data-directory, remember-directory-file-name-format):
10530 New options.
10531 (remember-store-in-files): New function to store remember notes
10532 as separate files within a directory.
10533
4391916c
MH
105342013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10535
10536 * progmodes/compile.el (compilation-next-error-function):
10537 Pass "formats" to compilation-find-file (bug#11777).
10538
bb7cdf58
GM
105392013-04-24 Glenn Morris <rgm@gnu.org>
10540
3b8fe752 10541 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10542 * vc/vc-hg.el (vc-hg-print-log):
10543 * vc/vc-svn.el (vc-svn-print-log):
10544 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10545
bb7cdf58
GM
10546 * vc/vc-bzr.el (vc-bzr-print-log):
10547 * vc/vc-cvs.el (vc-cvs-print-log):
10548 * vc/vc-git.el (vc-git-print-log):
10549 * vc/vc-hg.el (vc-hg-print-log):
10550 * vc/vc-mtn.el (vc-mtn-print-log):
10551 * vc/vc-rcs.el (vc-rcs-print-log):
10552 * vc/vc-sccs.el (vc-sccs-print-log):
10553 * vc/vc-svn.el (vc-svn-print-log):
10554 * vc/vc.el (vc-print-log-internal): Doc fixes.
10555
b46a056e
GM
105562013-04-23 Glenn Morris <rgm@gnu.org>
10557
10558 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10559 Remove venerable code attempting to avoid substitute-command-keys.
10560
0aecf718
TH
105612013-04-23 Tassilo Horn <tsdh@gnu.org>
10562
4391916c
MH
10563 * textmodes/reftex-vars.el (reftex-label-regexps):
10564 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10565
117f94cf
SM
105662013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10567
4391916c 10568 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10569 Use lexical-binding.
10570 (jit-lock-force-redisplay): Use markers, check buffer's continued
10571 existence and beware narrowed buffers.
10572 (jit-lock-fontify-now): Adjust call accordingly.
10573
1d829c64
SM
105742013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10575
10576 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10577 to avoid misleading the user.
10578
72d548a9
LL
105792013-04-22 Leo Liu <sdl.web@gmail.com>
10580
10581 * info-look.el: Prefer latex2e.info. (Bug#14240)
10582
d0853629
MA
105832013-04-22 Michael Albinus <michael.albinus@gmx.de>
10584
10585 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10586
10587 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10588 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10589 (tramp-set-completion-function, tramp-parse-putty):
10590 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10591 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10592 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10593 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10594 (tramp-call-local-coding-command): Use `tramp-call-process'
10595 instead of `tramp-compat-call-process'.
10596
10597 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10598 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10599 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10600 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10601 (tramp-maybe-send-script): Check for Perl binary.
10602 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10603
38cc0210
DU
106042013-04-22 Daiki Ueno <ueno@gnu.org>
10605
10606 * epg.el (epg-context-pinentry-mode): New function.
10607 (epg-context-set-pinentry-mode): New function.
10608 (epg--start): Pass --pinentry-mode option to gpg command.
10609
cc641ee1
XF
106102013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10611
02d844b5 10612 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10613 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10614 `completion-at-point'. (Bug#13774)
5d4e5c31 10615
cc641ee1
XF
10616 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10617 default key binding for `describe-distribution' has been moved to
10618 `C-h C-o'. (Bug#13970)
10619
1b42ee43
GM
106202013-04-21 Glenn Morris <rgm@gnu.org>
10621
10622 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10623 Add doc strings.
10624 (vc-print-log): Clarify interactive prompt.
10625
a6d63d97
GM
106262013-04-20 Glenn Morris <rgm@gnu.org>
10627
10628 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10629 No longer include timestamp etc information.
10630
d7f5c16f
RW
106312013-04-20 Roland Winkler <winkler@gnu.org>
10632
10633 * faces.el (read-face-name): Bug fix, return just one face if arg
10634 multiple is nil. (Bug#14209)
10635
bcd7a0a4
SM
106362013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10639 (remove-function): Autoload.
10640
10641 * comint.el (comint-redirect-original-filter-function): Remove.
10642 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10643 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10644 (vc-cvs-annotate-command):
bcd7a0a4
SM
10645 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10646 * progmodes/prolog.el (prolog-consult-compile):
10647 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10648 Use add/remove-function instead.
10649 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10650 (gud-tooltip-process-output, gud-tooltip-tips):
10651 Use add/remove-function instead.
10652 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10653 (scheme-interaction-mode, exit-scheme-interaction-mode):
10654 Use add/remove-function instead.
10655
10656 * vc/vc-dispatcher.el: Use lexical-binding.
10657 (vc--process-sentinel): Rename from vc-process-sentinel.
10658 Change last arg to be the code to run. Don't use vc-previous-sentinel
10659 and vc-sentinel-commands any more.
10660 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10661 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10662
e36b2d20 106632013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10664
bcd7a0a4 10665 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10666 Handle function names with a single character. (Bug#14111)
4d3268ba 10667
781b4af6 106682013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10669
10670 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10671 for subroutines defined in an eval (bug#14182).
10672
7d688336
TV
106732013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10674
10675 * bookmark.el (bookmark-completing-read): Improve handling of empty
10676 string (bug#14176).
10677
31dcede0
SM
106782013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10679
10680 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10681
adc31213
FEG
106822013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10683
10684 New faster Imenu implementation (bug#14058).
10685 * progmodes/python.el:
10686 (python-imenu-prev-index-position):
10687 (python-imenu-format-item-label-function)
10688 (python-imenu-format-parent-item-label-function)
10689 (python-imenu-format-parent-item-jump-label-function):
10690 New vars.
10691 (python-imenu-format-item-label)
10692 (python-imenu-format-parent-item-label)
10693 (python-imenu-format-parent-item-jump-label)
10694 (python-imenu--put-parent, python-imenu--build-tree)
10695 (python-imenu-create-index, python-imenu-create-flat-index)
10696 (python-util-popn): New functions.
10697 (python-mode): Set imenu-create-index-function to
10698 python-imenu-create-index.
10699
cdca8255
SM
107002013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10701
10702 * winner.el (winner-active-region): Use region-active-p, activate-mark
10703 and deactivate-mark (bug#14225).
10704
10705 * simple.el (deactivate-mark): Don't inline it.
10706
beb42340
MA
107072013-04-18 Michael Albinus <michael.albinus@gmx.de>
10708
10709 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10710
fc7f4d7e
TH
107112013-04-18 Tassilo Horn <tsdh@gnu.org>
10712
10713 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10714 file extensions from the archive-mode entry in order to prefer
10715 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10716
29f47822
LL
107172013-04-18 Leo Liu <sdl.web@gmail.com>
10718
10719 * bindings.el (help-event-list): Add ?\?.
10720
d36ed1c8
SM
107212013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * subr.el (with-wrapper-hook): Declare obsolete.
10724 * simple.el (filter-buffer-substring-function): New hook.
10725 (filter-buffer-substring): Use it.
10726 (filter-buffer-substring-functions): Mark obsolete.
10727 * minibuffer.el (completion-in-region-function): New hook.
10728 (completion-in-region): Use it.
10729 (completion-in-region-functions): Mark obsolete.
10730 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10731 * abbrev.el (abbrev-expand-function): New hook.
10732 (expand-abbrev): Use it.
10733 (abbrev-expand-functions): Mark obsolete.
10734 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10735 and :filter-return.
10736
04754d36
FEG
107372013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10738
10739 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10740 and do not care about match data.
10741
dd8791e9
SM
107422013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10743
10744 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10745 completion tables when completing error conditions and
10746 `declare' arguments.
10747 (lisp-complete-symbol, field-complete): Mark as obsolete.
10748 (check-parens): Unmatched parens are user errors.
10749 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10750
ffe54a13
AM
107512013-04-17 Michal Nazarewicz <mina86@mina86.com>
10752
dd8791e9
SM
10753 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10754 command changed buffer (ie. `flyspell-pre-buffer' is not current
10755 buffer), which prevents making decisions based on invalid value of
10756 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10757 cause an error when `flyspell-pre-point' was nil after switching
10758 buffers.
10759 (flyspell-post-command-hook): No longer needs to change buffers when
10760 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10761
ec7e39f2
AM
107622013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10763
10764 * textmodes/ispell.el (ispell-add-per-file-word-list):
10765 Fix `flyspell-correct-word-before-point' error when accepting
10766 words and `coment-padding' is an integer by using
10767 `comment-normalize-vars' (Bug #14214).
10768
083850a6
FEG
107692013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10770
10771 New defun movement commands.
10772 * progmodes/python.el (python-nav--syntactically)
10773 (python-nav--forward-defun, python-nav-backward-defun)
10774 (python-nav-forward-defun): New functions.
10775
619ed6e1
FEG
107762013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10777
10778 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10779 (python-syntax-context): Use named compiler-macro for backwards
10780 compatibility with Emacs 24.x.
10781
7a1beb6c
LL
107822013-04-17 Leo Liu <sdl.web@gmail.com>
10783
10784 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10785 octave-hide-process-buffer.
10786
2d3fa3e5
SM
107872013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10790 (bug#14216).
10791
7ce5be54
JPG
107922013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10793
10794 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10795 Fix adjustment of offset when receiving incomplete responses from GDB
10796 (bug#14129).
10797
351edece
SM
107982013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10799
10800 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10801 python-mode-abbrev-table.
10802 (python-skeleton-define): Adjust accordingly.
10803 (python-mode-abbrev-table): New table that inherits from it so that
10804 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10805
10806 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10807 (abbrev-symbol): Use it.
10808 (abbrev--before-point): Use it since we already handle inheritance.
10809
613f9481
LL
108102013-04-16 Leo Liu <sdl.web@gmail.com>
10811
10812 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10813 binding to info-lookup-symbol.
10814
51646b62
JB
108152013-04-16 Juanma Barranquero <lekktu@gmail.com>
10816
10817 * minibuffer.el (completion--twq-all):
10818 * term/ns-win.el (ns-initialize-window-system):
10819 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10820
efb3f01d
SM
108212013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10822
36c0a301
SM
10823 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10824 global bindings.
10825
efb3f01d
SM
10826 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10827
fb549d64
DG
108282013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10829
10830 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10831 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10832 to nil.
10833 (ruby-end-of-defun): Remove the unused arg, change the docstring
10834 to reflect that this function is only used as the value of
10835 `end-of-defun-function'.
10836 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10837 to reflect an earlier change that beginning/end-of-defun functions
10838 jump between methods in a class definition, as well as top-level
10839 functions.
10840
21e8fe2f
SM
108412013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * minibuffer.el (minibuffer-complete): Don't just scroll
10844 a *Completions* that's been iconified.
10845 (minibuffer-force-complete): Make sure repetitions do cycle when going
10846 through completion-in-region -> minibuffer-complete.
10847
20e527d0
AM
108482013-04-15 Alan Mackenzie <acm@muc.de>
10849
10850 Correct the placement of c-cpp-delimiters when there're #s not at
10851 col 0.
10852
10853 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10854 place a submatch around the #.
21e8fe2f
SM
10855 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10856 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10857 on the #, not BOL.
10858
dabefae5
SM
108592013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10860
10861 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10862 (advice--member-p): New arg `name'.
10863 (advice--add-function, advice-member-p): Use it (bug#14202).
10864
85c9ab64
AM
108652013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10866
10867 Reformulate java imenu-generic-expression.
10868 The old expression contained ill formed regexps.
10869
10870 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10871 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10872 (cc-imenu-java-method-arg-regexp): New defconsts.
10873 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10874 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10875 handling of spaces in the regexp.
10876
0f821d99
AM
108772013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10878
10879 * textmodes/ispell.el (ispell-command-loop): Remove
10880 flyspell highlight of a word when ispell accepts it (bug #14178).
10881
eb922adf
MA
108822013-04-15 Michael Albinus <michael.albinus@gmx.de>
10883
10884 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10885 uses code from the previous `ange-ftp-run-real-handler'.
10886 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10887 only in case that function exist. This is needed for proper
10888 unloading of Tramp.
10889
4d9a0979
TH
108902013-04-15 Tassilo Horn <tsdh@gnu.org>
10891
10892 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10893
10894 * textmodes/reftex.el (reftex-compile-variables): Use it.
10895
a829b0dc
SM
108962013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10897
91e8293c
SM
10898 * files.el (normal-mode): Only use default major-mode if no other mode
10899 was specified.
10900
830aed4d
SM
10901 * emacs-lisp/trace.el (trace-values): New function.
10902
a829b0dc
SM
10903 * files.el: Allow : in local variables (bug#14089).
10904 (hack-local-variable-regexp): New var.
10905 (hack-local-variables-prop-line, hack-local-variables): Use it.
10906
7ae9f0fb
RW
109072013-04-13 Roland Winkler <winkler@gnu.org>
10908
10909 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10910 data before it gets modified by bibtex-beginning-of-entry.
10911
6646e848
RW
109122013-04-13 Roland Winkler <winkler@gnu.org>
10913
10914 * textmodes/bibtex.el (bibtex-url): Doc fix.
10915
109162013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10917
10918 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10919 does not visit a BibTeX file, exclude it from the list of buffers
10920 returned by bibtex-initialize.
10921
0aa3616e
SB
109222013-04-13 Stephen Berman <stephen.berman@gmx.net>
10923
10924 * window.el (split-window): Remove interactive form, since as a
10925 command this function is a special case of split-window-below.
10926 Correct doc string.
10927
011cddd6
RW
109282013-04-12 Roland Winkler <winkler@gnu.org>
10929
10930 * faces.el (read-face-name): Do not override value of arg default.
10931 Allow single faces and strings as default values. Remove those
10932 elements from return value that are not faces.
10933 (describe-face): Simplify.
10934 (face-at-point): New optional args thing and multiple so that this
10935 function can provide the same functionality previously provided by
10936 read-face-name.
10937 (make-face-bold, make-face-unbold, make-face-italic)
10938 (make-face-unitalic, make-face-bold-italic, invert-face)
10939 (modify-face, read-face-and-attribute): Use face-at-point.
10940
10941 * cus-edit.el (customize-face, customize-face-other-window)
10942 * cus-theme.el (custom-theme-add-face)
10943 * face-remap.el (buffer-face-set)
10944 * facemenu.el (facemenu-set-face): Use face-at-point.
10945
f24e0036
MA
109462013-04-12 Michael Albinus <michael.albinus@gmx.de>
10947
10948 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10949
da3cda2d
TH
109502013-04-10 Tassilo Horn <tsdh@gnu.org>
10951
10952 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10953 off leading { and trailing } from field values.
10954
15e54145
SM
109552013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10956
78ce603d
SM
10957 * emacs-lisp/timer.el (timer--check): New function.
10958 (timer--time, timer-set-function, timer-event-handler): Use it.
10959 (timer-set-idle-time): Simplify.
10960 (timer--activate): CSE.
10961 (timer-event-handler): Give more info in error message.
10962 (internal-timer-start-idle): New function, moved from C.
10963
15e54145
SM
10964 * mpc.el (mpc-proc): Add `restart' argument.
10965 (mpc-proc-cmd): Use it.
10966 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10967 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10968 less often.
10969
7144c627
MY
109702013-04-10 Masatake YAMATO <yamato@redhat.com>
10971
10972 * progmodes/sh-script.el: Implement `sh-mode' own
10973 `add-log-current-defun-function' (bug#14112).
10974 (sh-current-defun-name): New function.
10975 (sh-mode): Use the function.
10976
b39792eb
BG
109772013-04-09 Bastien Guerry <bzg@gnu.org>
10978
10979 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10980
8acdeb71
SM
109812013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10982
6fcdab68
SM
10983 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10984
8acdeb71
SM
10985 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10986 timer (bug#14156).
10987
e3e7b504
NF
109882013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10989
10990 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10991 declaration.
10992
201bb296
LL
109932013-04-07 Leo Liu <sdl.web@gmail.com>
10994
10995 * pcmpl-x.el: New file.
10996
ebb19708
DA
109972013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10998
10999 Do not set x-display-name until X connection is established.
11000 This is needed to prevent from weird situation described at
11001 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11002 * frame.el (make-frame): Set x-display-name after call to
11003 window system initialization function, not before.
11004 * term/x-win.el (x-initialize-window-system): Add optional
11005 display argument and use it.
11006 * term/w32-win.el (w32-initialize-window-system):
11007 * term/ns-win.el (ns-initialize-window-system):
11008 * term/pc-win.el (msdos-initialize-window-system):
11009 Add compatible optional display argument.
11010
33bb237a
EZ
110112013-04-06 Eli Zaretskii <eliz@gnu.org>
11012
11013 * files.el (normal-backup-enable-predicate): On MS-Windows and
11014 MS-DOS compare truenames of temporary-file-directory and of the
11015 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11016 don't fail comparison by compare-strings. Also, compare file
11017 names case-insensitively on MS-Windows and MS-DOS.
11018
134abf1f
SM
110192013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11020
11021 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11022 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11023
d695cb94
DG
110242013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11025
e3e7b504
NF
11026 * whitespace.el (whitespace-color-on, whitespace-color-off):
11027 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11028
f4ad7ea1 110292013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11030
11031 * ispell.el (ispell-set-spellchecker-params):
11032 Really set `ispell-args' for all equivs.
11033
632556e4
SM
110342013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11035
11036 * ido.el (ido-completions): Use extra elements of ido-decorations
11037 (bug#14143).
11038 (ido-decorations): Update docstring.
11039
2a417372
MA
110402013-04-05 Michael Albinus <michael.albinus@gmx.de>
11041
11042 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11043 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11044 nil during initialization, in order not to miss changes since the
11045 file was opened. (Bug#14140)
11046
fc164b0c
LL
110472013-04-05 Leo Liu <sdl.web@gmail.com>
11048
11049 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11050
0ccecc08
JB
110512013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11052
11053 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11054
51af1aa2
GM
110552013-04-04 Glenn Morris <rgm@gnu.org>
11056
11057 * electric.el (electric-pair-inhibit-predicate): Add :version.
11058
b208ebc6
SM
110592013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11060
11061 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11062 when a package is required several times (bug#14082).
11063
f3d3eaf0
RW
110642013-04-04 Roland Winkler <winkler@gnu.org>
11065
11066 * faces.el (read-face-name): Behave as promised by the docstring.
11067 Assume that arg default is a list of faces.
11068 (describe-face): Call read-face-name with list of default faces.
11069
2575da50
TV
110702013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11071
11072 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11073 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11074 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11075 the header.
11076 (bookmark-exit-hook-internal): Save even if list is empty.
11077
397703b4
YH
110782013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11079
11080 * emacs-lisp/package.el (package-pinned-packages): New var.
11081 (package--add-to-archive-contents): Obey it (bug#14118).
11082
691e26ae
AM
110832013-04-03 Alan Mackenzie <acm@muc.de>
11084
8a621d53
JB
11085 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11086 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11087
11088 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11089 parameter `not-in-delimiter'. Handle being inside comment opener.
11090 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11091 character in case we're typing a '*' after a '/'.
11092 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11093 instead by passing the parameter to c-state-pp-to-literal.
11094
11095 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11096 for elt. 7 of a parse state.
11097
4b725a70
PE
110982013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11099
11100 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11101 * international/latin1-disp.el, international/mule-util.el:
11102 * language/cyril-util.el, language/european.el, language/ind-util.el:
11103 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11104 * language/tibetan.el, language/viet-util.el:
11105 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11106
15c579f0
SM
111072013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11108
11109 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11110 (electric-pair-post-self-insert-function): Use it.
11111 (electric-pair-default-inhibit): New function, extracted from
11112 electric-pair-post-self-insert-function.
11113
a77e2924
RW
111142013-03-31 Roland Winkler <winkler@gnu.org>
11115
11116 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11117
2bd8a4a8
SM
111182013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11119
11120 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11121
8d3655be 111222013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11123
11124 Un-indent after "pass" and "return" statements (Bug#13888)
11125 * progmodes/python.el (python-indent-block-enders): New var.
11126 (python-indent-calculate-indentation): Use it.
11127
8d3655be 111282013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11129
11130 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11131 defun. Defining it as defalias could introduce too eager
11132 byte-compiler optimization. (Bug#14030)
11133
8d3655be 111342013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11135
11136 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11137
0b1619da
LL
111382013-03-30 Leo Liu <sdl.web@gmail.com>
11139
11140 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11141 (kmacro-execute-from-register): Pass the keyboard macro to
11142 kmacro-call-macro or repeating won't work correctly.
11143
0b938190
TZ
111442013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11145
11146 * progmodes/subword.el: Back to using `forward-symbol'.
11147
11148 * subr.el (forward-whitespace, forward-symbol)
11149 (forward-same-syntax): Move from thingatpt.el.
11150
35710234
LL
111512013-03-29 Leo Liu <sdl.web@gmail.com>
11152
11153 * kmacro.el (kmacro-to-register): New command.
11154 (kmacro-execute-from-register): New function.
11155 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11156
efc0bb73
SM
111572013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * mpc.el: Use defvar-local and setq-local.
11160 (mpc--proc-connect): Connection failures are not bugs.
11161 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11162 (mpc-volume-map): Bind to the up-events.
11163
75a2f981
TZ
111642013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11165
11166 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11167 instead of `forward-symbol'.
11168
17c781d1
SM
111692013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11172 (edebug--recursive-edit): Use it.
11173 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11174 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11175
f67bfbcf
LL
111762013-03-28 Leo Liu <sdl.web@gmail.com>
11177
11178 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11179
b59f639d
EZ
111802013-03-27 Eli Zaretskii <eliz@gnu.org>
11181
11182 * facemenu.el (list-colors-callback): New defvar.
11183 (list-colors-redisplay): New function.
11184 (list-colors-display): Install list-colors-redisplay as the
11185 revert-buffer-function. (Bug#14063)
11186
f557c1b1
SM
111872013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11188
b1da2957
SM
11189 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11190 and suffixes don't overlap (bug#14061).
11191
f557c1b1
SM
11192 * case-table.el: Use lexical-binding.
11193 (case-table-get-table): New function.
11194 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11195
002668e1
TZ
111962013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11197
11198 * progmodes/subword.el: Add `superword-mode' to do word motion
11199 over symbol_words (parallels and leverages `subword-mode' which
11200 does word motion inside MixedCaseWords).
11201
73572c72
AG
112022013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11203
78b8f320 11204 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11205 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11206
69b2c07e
SM
112072013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11208
11209 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11210 Change return value to be a sexp. Delay `get-buffer' to after
11211 restoring the desktop (bug#13951).
11212
08bb5ee2
LL
112132013-03-26 Leo Liu <sdl.web@gmail.com>
11214
11215 * register.el: Move semantic tag handling back to
11216 cedet/semantic/senator.el. (Bug#14052)
11217
8d4c974e
SM
112182013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11221 into the prompt either (bug#13963).
11222
b234d92c
SM
112232013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11224
11225 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11226 part of "(error-foo)".
11227
ddfa3cb4
JL
112282013-03-24 Juri Linkov <juri@jurta.org>
11229
11230 * replace.el (list-matching-lines-prefix-face): New defcustom.
11231 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11232 `occur-engine' if `face-differs-from-default-p' returns t.
11233 (occur-engine): Add `,' inside backquote construct to evaluate
11234 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11235 Pass `prefix-face' to the functions `occur-context-lines' and
11236 `occur-engine-add-prefix'.
11237 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11238 `prefix-face' and propertize the prefix with `prefix-face'.
11239 (Bug#14017)
11240
7b0e2f85
LL
112412013-03-24 Leo Liu <sdl.web@gmail.com>
11242
11243 * nxml/rng-valid.el (rng-validate-while-idle)
11244 (rng-validate-quick-while-idle): Guard against deleted buffer.
11245 (Bug#13999)
11246
11247 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11248 is the last entry in kill-buffer-hook.
11249
11250 * files.el (kill-buffer-hook): Doc fix.
11251
b3082f49
DG
112522013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11253
b234d92c
SM
11254 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11255 Make it safe-local.
bde73d27 11256
b3082f49
DG
11257 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11258
a320a2db
LL
112592013-03-23 Leo Liu <sdl.web@gmail.com>
11260
7e74b0fb
LL
11261 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11262 Remove.
11263
11264 * nxml/rng-valid.el (rng-validate-mode)
11265 (rng-after-change-function, rng-do-some-validation):
11266 * nxml/rng-maint.el (rng-validate-buffer):
11267 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11268 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11269 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11270 (nxml-extend-after-change-region): Use with-silent-modifications.
11271
a320a2db
LL
11272 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11273 timer-idle-list.
11274
11275 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11276 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11277 timer-idle-list. (Bug#13999)
11278
e38e6780
JL
112792013-03-23 Juri Linkov <juri@jurta.org>
11280
11281 * info.el (info-index-match): New face.
11282 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11283 main pattern and add text properties with the new face to matches
11284 in index entries relative to the beginning of the index entry.
11285 (Bug#14015)
11286
e8cc7880
DE
112872013-03-21 Eric Ludlam <zappo@gnu.org>
11288
11289 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11290 Inhibit read only while inserting objects.
11291
9bb0d822
TZ
112922013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11293
11294 * progmodes/cfengine.el: Update docs to mention
11295 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11296 symbol motion. Remove "_" from the word syntax.
11297
aa703640
TZ
112982013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11299
11300 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11301 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11302
afff09d0
JL
113032013-03-20 Juri Linkov <juri@jurta.org>
11304
11305 * info.el (Info-next-reference-or-link)
11306 (Info-prev-reference-or-link): New functions.
11307 (Info-next-reference, Info-prev-reference): Use them.
11308 (Info-try-follow-nearest-node): Handle footnote navigation.
11309 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11310
9a1ff164
SM
113112013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11312
11313 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11314 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11315
2667d15d
PE
113162013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11317
11318 Suppress unnecessary non-ASCII chatter during build process.
11319 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11320 (batch-skkdic-convert): Suppress most of the chatter.
11321 It's not needed so much now that machines are faster,
11322 and its non-ASCII component was confusing; see Dmitry Gutov in
11323 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11324
438b0579
LL
113252013-03-20 Leo Liu <sdl.web@gmail.com>
11326
11327 * ido.el (ido-chop): Fix bug#10994.
11328
c128ab07
DG
113292013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11330
11331 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11332 Remove vars.
9a1ff164
SM
11333 (whitespace-color-on, whitespace-color-off):
11334 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11335
0e6008c5
SM
113362013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11337
11338 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11339 remapping in mode-line.
11340 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11341
627b52b0
DG
113422013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11343
11344 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11345 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11346 (whitespace-font-lock-keywords): Change description.
11347 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11348 the constructed keywords instead.
11349 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11350
50c3a20b
LL
113512013-03-19 Leo Liu <sdl.web@gmail.com>
11352
11353 * progmodes/compile.el (compilation-display-error): New command.
11354 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11355 C-o. (Bug#13992)
11356
2aa2157b
PE
113572013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11358
11359 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11360
e477dbfa
JD
113612013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11362
11363 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11364
64ab82d1
MA
113652013-03-18 Michael Albinus <michael.albinus@gmx.de>
11366
11367 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11368
11369 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11370 * net/tramp-gvfs.el (top):
11371 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11372 (tramp-handle-shell-command): Use it.
11373 (tramp-dissect-file-name): Raise an error when hostname is a
11374 method name, and neither method nor user is specified.
11375
11376 * net/trampver.el: Update release number.
11377
33cef733
LL
113782013-03-18 Leo Liu <sdl.web@gmail.com>
11379
11380 Make sure eldoc can be turned off properly.
11381 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11382 eldoc-mode.
11383 (eldoc-display-message-p): Revert last change.
11384 (eldoc-display-message-no-interference-p)
11385 (eldoc-print-current-symbol-info): Tweak.
11386
2167b7b2
TH
113872013-03-18 Tassilo Horn <tsdh@gnu.org>
11388
11389 * doc-view.el (doc-view-new-window-function): Check the new window
11390 overlay's display property instead the char property of the
11391 buffer's first char. Use `with-selected-window' instead of
11392 `save-window-excursion' with `select-window'.
11393 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11394 display property instead the char property of the buffer's first char.
2167b7b2 11395
982efbcd
PE
113962013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11397
11398 Automate the build of ja-dic.el (Bug#13984).
11399 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11400 from the input, rather than assume that it's been done for us by the
11401 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11402 the current date into a ja-dic.el comment, as that complicates
11403 regression testing.
11404
2fcc7665
SM
114052013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * whitespace.el: Fix double evaluation.
11408 (whitespace-space, whitespace-hspace, whitespace-tab)
11409 (whitespace-newline, whitespace-trailing, whitespace-line)
11410 (whitespace-space-before-tab, whitespace-indentation)
11411 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11412 obsolete defvars.
11413 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11414 (whitespace-color-on): Use a single font-lock-add-keywords call.
11415 Fix double-evaluation of face variables.
11416
67c0a6e6
MA
114172013-03-17 Michael Albinus <michael.albinus@gmx.de>
11418
2fcc7665
SM
11419 * net/tramp-adb.el (tramp-adb-parse-device-names):
11420 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11421 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11422
69489f1d
LL
114232013-03-17 Leo Liu <sdl.web@gmail.com>
11424
11425 Extend eldoc to display info in the mode-line. (Bug#13978)
11426 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11427 (eldoc-mode-line-string): New variable.
11428 (eldoc-minibuffer-message): New function.
11429 (eldoc-message-function): New variable.
11430 (eldoc-message): Use it.
11431 (eldoc-display-message-p)
2fcc7665
SM
11432 (eldoc-display-message-no-interference-p):
11433 Support eldoc-post-insert-mode.
69489f1d
LL
11434
11435 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11436 (eval-expression): Run it.
11437
9c44569e
RW
114382013-03-17 Roland Winkler <winkler@gnu.org>
11439
11440 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11441 strings in the list of return values.
11442
327f1f6f
JB
114432013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11444
11445 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11446 radix before checking for HMS forms.
11447
67ed8fcd
LL
114482013-03-16 Leo Liu <sdl.web@gmail.com>
11449
11450 * progmodes/scheme.el: Add indentation and font-locking for λ.
11451 (Bug#13975)
11452
78be8b64 114532013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11454
11455 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11456 token before point (bug#13942).
11457
78be8b64 114582013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11459
95b43468 11460 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11461
98e775e6
EZ
114622013-03-16 Eli Zaretskii <eliz@gnu.org>
11463
11464 * startup.el (command-line-normalize-file-name): Fix handling of
11465 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11466 <xfq.free@gmail.com> in
11467 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11468
2edd6029
MA
114692013-03-15 Michael Albinus <michael.albinus@gmx.de>
11470
11471 Sync with Tramp 2.2.7.
11472
11473 * net/trampver.el: Update release number.
11474
d35f5864
TH
114752013-03-14 Tassilo Horn <tsdh@gnu.org>
11476
e903c210 11477 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11478 (doc-view-insert-image): Don't modify overlay associated to
11479 non-live windows, and implement horizontal centering of image in
11480 case it's smaller than the window.
11481 (doc-view-new-window-function): Force redisplay of new windows on
11482 doc-view buffers.
d35f5864 11483
1c4a85ed
KF
114842013-03-13 Karl Fogel <kfogel@red-bean.com>
11485
11486 * saveplace.el (save-place-alist-to-file): Don't sort
11487 `save-place-alist', just pretty-print it (bug#13882).
11488
85b66a21
MA
114892013-03-13 Michael Albinus <michael.albinus@gmx.de>
11490
a020afb9
JB
11491 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11492 Check whether `default-file-name-coding-system' is bound.
11493 It isn't in XEmacs.
85b66a21 11494
175600da
SM
114952013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11496
e7f7cb1a
SM
11497 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11498 backquotes for `obsolete' (bug#13929).
11499
175600da
SM
11500 * international/mule.el (find-auto-coding): Include file name in
11501 obsolescence warning (bug#13922).
11502
ca68a22e
TZ
115032013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11504
11505 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11506 for CFEngine 3-specific indentation.
11507 (cfengine3-indent-line): Use it. Fix up category regex.
11508 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11509
940e5099
SM
115102013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11511
11512 * type-break.el (type-break-file-name):
11513 * textmodes/remember.el (remember-data-file):
11514 * strokes.el (strokes-file):
11515 * shadowfile.el (shadow-initialize):
11516 * saveplace.el (save-place-file):
11517 * ps-bdf.el (bdf-cache-file):
11518 * progmodes/idlwave.el (idlwave-config-directory):
11519 * net/quickurl.el (quickurl-url-file):
11520 * international/kkc.el (kkc-init-file-name):
11521 * ido.el (ido-save-directory-list-file):
11522 * emulation/viper.el (viper-custom-file-name):
11523 * emulation/vip.el (vip-startup-file):
11524 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11525 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11526
cc725808
PE
115272013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11528
11529 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11530 * language/thai-word.el: Switch to UTF-8.
11531
a020afb9 11532See ChangeLog.16 for earlier changes.
e3d51b27
MR
11533
11534;; Local Variables:
11535;; coding: utf-8
e3d51b27
MR
11536;; End:
11537
ab422c4d 11538 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11539
11540 This file is part of GNU Emacs.
11541
11542 GNU Emacs is free software: you can redistribute it and/or modify
11543 it under the terms of the GNU General Public License as published by
11544 the Free Software Foundation, either version 3 of the License, or
11545 (at your option) any later version.
11546
11547 GNU Emacs is distributed in the hope that it will be useful,
11548 but WITHOUT ANY WARRANTY; without even the implied warranty of
11549 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11550 GNU General Public License for more details.
11551
11552 You should have received a copy of the GNU General Public License
11553 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.