* doc/emacs/trouble.texi (Understanding Bug Reporting): Minor update.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0da54898
DC
12013-12-23 Daniel Colascione <dancol@dancol.org>
2
3 * icomplete.el: Move `provide' to end of file.
4
b90aa4f4
TZ
52013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
6
7 * net/gnutls.el (gnutls-verify-error): Add version tag.
8
8cd22a08
CY
92013-12-23 Chong Yidong <cyd@gnu.org>
10
11 * subr.el (set-transient-map): Rename from
12 set-temporary-overlay-map. Doc fix.
13
14 * face-remap.el (text-scale-adjust):
15 * indent.el (indent-rigidly):
16 * kmacro.el (kmacro-call-macro):
17 * minibuffer.el (minibuffer-force-complete):
18 * repeat.el (repeat):
19 * simple.el (universal-argument--mode):
20 * calendar/todo-mode.el (todo-insert-item--next-param):
21 * progmodes/f90.el (f90-abbrev-start): Callers changed.
22
7510b021
CY
23 * indent.el (indent-rigidly): Use substitute-command-keys.
24
56890ecd
KN
252013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
26
27 * net/eww.el (eww-tag-select): Add text-property to jump to next
28 select field.
29 (eww) : Add non-supported ftp error.
30
1f87a56c
DG
312013-12-22 Dmitry Gutov <dgutov@yandex.ru>
32
33 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
34 comments. Handle electric indent after typing `?' and `!'.
35
dca38cf9
CY
362013-12-22 Chong Yidong <cyd@gnu.org>
37
38 * faces.el (face-spec-recalc): If the theme specs are not
39 applicable to a frame, fall back on the defface spec. This
40 prevents themes from obliterating faces on low-color terminals.
41
f2351498
DG
422013-12-22 Dmitry Gutov <dgutov@yandex.ru>
43
44 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
45 after `{'. We need it after block openers, and it doesn't seem
46 to hurt after hash openers.
47
6cddebc1
DG
482013-12-22 Dmitry Gutov <dgutov@yandex.ru>
49
50 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
51 extracted from `ruby-smie-rules'.
52 (ruby--electric-indent-chars): New variable.
53 (ruby--electric-indent-p): New function.
54 (ruby-mode): Use `electric-indent-functions' instead of
55 `electric-indent-chars'.
56
65a1da00
DG
572013-12-22 Dmitry Gutov <dgutov@yandex.ru>
58
59 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
60 docstring.
61 (ruby-smie-rules): Indent plus one level after `=>'.
62
b51ad4cf
RS
632013-12-21 Richard Stallman <rms@gnu.org>
64
65 * simple.el (newline): Doc fix.
66
d49fbfd6
TZ
672013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
68
69 * net/eww.el (eww-list-histories, eww-list-histories)
70 (eww-history-browse, eww-history-quit, eww-history-kill)
71 (eww-history-mode-map, eww-history-mode): New command and
72 functions to list browser histories.
5edcc2dc
KN
73 (eww-form-text): Support text form with disabled
74 and readonly attributes.
dde4de31 75 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 76
5e1901c1
RS
772013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
78
79 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
80 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
81 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
82 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
83 Use `user-error'.
84 (eww-bookmark-mode-map): Add menu.
85 (eww-render, eww-mode): Use `setq-local'.
86 (eww-tool-bar-map): New variable.
87 (eww-mode): Set `tool-bar-map'.
88 (eww-view-source): Check for `html-mode' with `fboundp'.
89
073d5cfd
LMI
902013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
91
92 * net/shr.el (shr--extract-best-source): Don't bug out on audio
93 elements with text inside. Also remove debugging.
94
41cf3d11
JD
952013-12-21 Jan Djärv <jan.h.d@swipnet.se>
96
97 * cus-start.el (all): Add ns-use-srgb-colorspace.
98
aac2b673
CY
992013-12-21 Chong Yidong <cyd@gnu.org>
100
101 * custom.el (custom-theme-recalc-face): Do nothing if the face is
102 undefined. Thus, theme settings for undefined faces do not take
103 effect until the faces are defined with defface, the same as with
104 theme variables.
105
106 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
107 (face-spec-reset-face): Don't assign extra properties in temacs.
108 (face-spec-recalc): Apply X resources too.
109
bacb0e77
CY
1102013-12-21 Chong Yidong <cyd@gnu.org>
111
112 * faces.el (face-spec-set):
113 * cus-face.el (custom-theme-set-faces, custom-set-faces):
114 * custom.el (defface): Doc fixes (Bug#16203).
115
77221051
CY
116 * indent.el (indent-rigidly-map): Add docstring, and move commands
117 into named functions.
118 (indent-rigidly-left, indent-rigidly-right)
119 (indent-rigidly-left-to-tab-stop)
120 (indent-rigidly-right-to-tab-stop): New functions. Decide on
121 indentation direction based on bidi direction, and accumulate
122 sequential commands in a single undo boundary.
123 (indent-rigidly--pop-undo): New utility function.
124
e0eb0550
JB
1252013-12-20 Juanma Barranquero <lekktu@gmail.com>
126
127 * faces.el (read-face-name): Require crm.el when using crm-separator.
128
3282bd2e
DC
1292013-12-20 Daniel Colascione <dancol@dancol.org>
130
131 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
132 so that we don't reflow comments into the shebang line.
133
1d42e5b6
JL
1342013-12-20 Juri Linkov <juri@jurta.org>
135
136 * saveplace.el (save-place-to-alist): Add `dired-filename' as
137 a position when `dired-directory' is non-nil. Check integer
138 positions with `integerp'.
139 (toggle-save-place, save-places-to-alist): Add check for
140 `dired-directory'.
141 (save-place-find-file-hook): Check integer positions with
142 `integerp'.
143 (save-place-dired-hook): Use `dired-goto-file' when
144 `dired-filename' is found in the assoc list. Check integer
145 positions with `integerp'.
146 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
147
148 * dired.el (dired-initial-position-hook): Rename back from
149 `dired-initial-point-hook'.
150 (dired-initial-position): Rename `dired-initial-point-hook' to
151 `dired-initial-position-hook'.
152 (dired-file-name-at-point): Doc fix. (Bug#15329)
153
24da7273
JL
1542013-12-20 Juri Linkov <juri@jurta.org>
155
156 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
157 (read-regexp-suggestions): New function.
158 (read-regexp): Use `read-regexp-defaults-function' to get default values.
159 Use `read-regexp-suggestions'. Add non-empty default to history
160 for empty input.
161 (occur-read-regexp-defaults-function): Remove function.
162 (occur-read-primary-args): Use `regexp-history-last' instead of
163 `occur-read-regexp-defaults-function'.
164
165 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
166 (hi-lock-line-face-buffer, hi-lock-face-buffer)
167 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
168 `hi-lock-read-regexp-defaults-function'. Doc fix.
169 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
170 with `find-tag-default-as-symbol-regexp'. Doc fix.
171 (hi-lock-read-regexp-defaults): Remove function.
172 (hi-lock-regexp-okay): Add check for null.
173
174 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
175 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
176
177 * subr.el (find-tag-default-as-symbol-regexp): New function.
178 (find-tag-default-as-regexp): Move symbol regexp formatting to
179 `find-tag-default-as-symbol-regexp'.
180
137f57c8
S
1812013-12-20 E Sabof <esabof@gmail.com> (tiny change)
182
183 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
184 (Bug#14179)
185
f3a66082
SB
1862013-12-20 Stephen Berman <stephen.berman@gmx.net>
187
188 * calendar/todo-mode.el: New implementation of item insertion
189 commands and key bindings.
190 (todo-key-prompt): New face.
191 (todo-insert-item): New command.
192 (todo-insert-item--parameters): New defconst, replacing defvar
193 todo-insertion-commands-args-genlist.
194 (todo-insert-item--param-key-alist): New defconst, replacing
195 defvar todo-insertion-commands-arg-key-list.
196 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
197 (todo-insert-item--argsleft, todo-insert-item--apply-args)
198 (todo-insert-item--next-param): New functions.
199 (todo-insert-item--args, todo-insert-item--argleft)
200 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
201 New variables.
202 (todo-key-bindings-t): Change binding of "i" from
203 todo-insertion-map to todo-insert-item.
204 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
205 (todo-insertion-command-name, todo-insertion-commands-names)
206 (todo-define-insertion-command, todo-insertion-commands)
207 (todo-insertion-key-bindings, todo-insertion-map): Remove.
208
2f99433b
SB
2092013-12-20 Stephen Berman <stephen.berman@gmx.net>
210
211 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
212 (todo-toggle-item-highlighting): Use eval-and-compile instead of
213 eval-when-compile.
214 (todo-move-category): Allow choosing a non-existing todo file to
215 move the category to, and create that file.
216 (todo-default-priority): New user option.
217 (todo-set-item-priority): Use it.
218 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
219 (desktop-restore-file-buffer): Declare.
220 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
221 (todo-modes-set-2): Locally set desktop-save-buffer to
222 todo-desktop-save-buffer.
223 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
224 (auto-mode-alist): Add autoload cookie.
225
131e4695
BB
2262013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
227
228 * emacs-lisp/subr-x.el: Renamed from helpers.el.
229 helpers.el was a poor choice of name.
3cbfb935
BB
230 (string-remove-prefix): New function.
231 (string-remove-suffix): New function.
131e4695 232
c44de18d
MR
2332013-12-20 Martin Rudalics <rudalics@gmx.at>
234
235 Fix assignment for new window total sizes.
236 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
237 (window--pixel-to-total-1, window--pixel-to-total):
238 Fix calculation of new total sizes.
c44de18d 239
ca65efcc
VS
2402013-12-20 Vitalie Spinu <spinuvit@gmail.com>
241
242 * comint.el (comint-output-filter): Fix rear-nonsticky property
243 placement (Bug#16010).
244
a9574eb7
CY
2452013-12-20 Chong Yidong <cyd@gnu.org>
246
247 * faces.el (read-color): Minor fix for completion function.
248
b520f210
DG
2492013-12-20 Dmitry Gutov <dgutov@yandex.ru>
250
e0eb0550
JB
251 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
252 New option. (Bug#16182)
b520f210
DG
253 (ruby-smie--indent-to-stmt-p): Use it.
254 (ruby-smie-rules): Revert the logic in the handling of `when'.
255 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
256 (ruby-deep-arglist, ruby-deep-indent-paren)
257 (ruby-deep-indent-paren-style): Update docstrings to note that the
258 vars don't have any effect with SMIE.
259
26b75b45
JB
2602013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
261
262 * calc/calc.el (calc-enter, calc-pop): Use the variable
263 `calc-context-sensitive-enter'.
264
cf91cee7
LMI
2652013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
266
267 * net/shr.el (shr-insert): Protect against infloops in degenerate
268 tables.
269
51d971b4
RS
2702013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
271
272 * progmodes/octave.el (octave): Add link to manual and octave
273 homepage.
274 (octave-mode-menu): Link to octave-mode manual.
275
8c2e462a
LL
2762013-12-20 Leo Liu <sdl.web@gmail.com>
277
278 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
279 insertion using skeleton-end-newline. (Bug#16138)
280
501158bc
JL
2812013-12-20 Juri Linkov <juri@jurta.org>
282
283 * replace.el (occur-engine): Use `add-face-text-property'
284 to add the face property to matches and titles. (Bug#14645)
285
286 * hi-lock.el (hi-green): Use lighter color "light green" closer to
287 the palette of other hi-lock colors.
288 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
289
50ab1da6
JL
2902013-12-19 Juri Linkov <juri@jurta.org>
291
292 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
293 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
294 (minibuffer-history-symbol): Move variable declaration closer to
295 its usage.
296
297 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
298 (Bug#14785)
299
3d6e95e7
JL
3002013-12-19 Juri Linkov <juri@jurta.org>
301
302 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
303 New function.
304 (log-edit-hook): Add it to :options. (Bug#16170)
305
b41594fd
JL
3062013-12-19 Juri Linkov <juri@jurta.org>
307
308 * simple.el (eval-expression-print-format): Don't check for
309 command names and the last command. Always display additional
310 formats of the integer result in the echo area, and insert them
311 to the current buffer only with a zero prefix arg.
312 Display character when char-displayable-p is non-nil.
313 (eval-expression): With a zero prefix arg, set `print-length' and
314 `print-level' to nil, and insert the integer values from
315 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
316
317 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
318 `eval-last-sexp-arg-internal'. Doc fix.
319 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
320 `eval-last-sexp-print-value'. Doc fix.
321 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
322 Set `print-length' and `print-level' to nil when arg is zero.
323 (eval-last-sexp): Doc fix.
324 (eval-defun-2): Print the integer values from
325 `eval-expression-print-format' at the end.
326
327 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
328 values from `eval-expression-print-format' at the end.
329
330 * ielm.el (ielm-eval-input): Print the integer
331 values from `eval-expression-print-format' at the end.
332
8f2be364
TZ
3332013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
334
335 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
336 2013-12-11T19:01:44Z!tzz@lifelogs.com.
337
2230a6e3
SM
3382013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
341 (hl-line-highlight, global-hl-line-highlight): Use it.
342 (hl-line-overlay): Use defvar-local.
343
1269a680
JD
3442013-12-19 Jan Djärv <jan.h.d@swipnet.se>
345
346 * term/ns-win.el: Require dnd.
347 (global-map): Remove drag items.
348 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
349 (ns-set-background-at-mouse):
350 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
351 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
352 New functions.
1269a680 353
049638ad
GM
3542013-12-19 Glenn Morris <rgm@gnu.org>
355
356 * emacs-lisp/ert.el (ert-select-tests):
357 Fix string/symbol mixup. (Bug#16121)
358
ce41edb4
DG
3592013-12-19 Dmitry Gutov <dgutov@yandex.ru>
360
361 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
362 keywords to their parent.
363
7e1549c9
DG
3642013-12-19 Dmitry Gutov <dgutov@yandex.ru>
365
366 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
367 first arg to be a string (fixed dead code), or an operator symbol.
368 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
369 operator symbols.
370 (ruby-smie-rules): Remove parent token check in the `.' clause, it
371 did nothing. Don't respond to `(:after ".")', it will be called
372 with :before anyway. Remove the ` @ ' rule, it didn't seem to
373 change anything. Only return indentation for binary operators
374 when they are hanging. De-dent opening paren when its parent is
375 `.', otherwise it looks bad when the dot is not at bol or eol
376 (bug#16182).
377
3ee4cd64
JL
3782013-12-19 Juri Linkov <juri@jurta.org>
379
380 * replace.el (query-replace-read-args): Split a non-negative arg
381 and a negative arg into separate elements.
382 (query-replace, query-replace-regexp, replace-string)
383 (replace-regexp): Add arg `backward'. Doc fix.
384 (replace-match-maybe-edit): When new arg `backward' is non-nil,
385 move point to the beginning of the match.
386 (replace-search, replace-highlight): Use new arg `backward'
387 to set the value of `isearch-forward'.
388 (perform-replace): Add arg `backward' and use it to perform
389 replacement backward. (Bug#14979)
390
391 * isearch.el (isearch-query-replace): Use a negative prefix arg
392 to call `perform-replace' with a non-nil arg `backward'.
393
0cda6b7b
JL
3942013-12-18 Juri Linkov <juri@jurta.org>
395
396 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
397 to the default list. Move `log-edit-show-files' to the end.
398 Add more available functions to options.
399 (log-edit): Move default specific settings to
400 `log-edit-insert-message-template'. Don't move point.
401 (log-edit-insert-message-template): New function.
402 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
403 (Bug#16170)
404
b216f0a6
JL
4052013-12-18 Juri Linkov <juri@jurta.org>
406
407 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
408 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
409
1d1c55dc
LL
4102013-12-18 Leo Liu <sdl.web@gmail.com>
411
412 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
413
64e4c76e
EZ
4142013-12-18 Eli Zaretskii <eliz@gnu.org>
415
416 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
417 formats for displaying file sizes when the -s switch is given.
418 Instead, compute a separate format for displaying the size in
419 blocks, which is displayed in addition to the "regular" size.
420 When -h is given in addition to -s, produce size in blocks in
421 human-readable form as well. (Bug#16179)
422
b2984e39
TH
4232013-12-18 Tassilo Horn <tsdh@gnu.org>
424
2230a6e3
SM
425 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
426 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 427
50ff2e06
CY
4282013-12-18 Chong Yidong <cyd@gnu.org>
429
0081bc84
CY
430 * cus-edit.el (custom-magic-alist): Fix "themed" description
431 (Bug#14348).
432
a7ee9424
CY
433 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
434 is non-nil, do not create a new entry in the symbol's theme-value
435 or theme-face property; update theme-settings only (Bug#14664).
18874304 436 (custom-available-themes): Doc fix.
a7ee9424 437
8f942537
CY
438 * cus-theme.el (custom-new-theme-mode-map): Add bindings
439 (Bug#15674).
440
50ff2e06
CY
441 * replace.el (occur-engine): Avoid infloop (Bug#7593).
442
83c60f60
KI
4432013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
444
445 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
446 (Bug#13914).
447
e0eb0550 4482013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
449
450 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
451
1f41ee56
GM
4522013-12-18 Glenn Morris <rgm@gnu.org>
453
454 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 455 * cus-start.el (load-prefer-newer): New option.
1f41ee56 456
e82134b1
LW
4572013-12-18 Le Wang <l26wang@gmail.com>
458
2230a6e3
SM
459 * comint.el (comint-previous-matching-input-from-input):
460 Retain point (Bug#13404).
e82134b1 461
33f5d4c1
CY
4622013-12-18 Chong Yidong <cyd@gnu.org>
463
464 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
465
ccc9f6dc
GM
4662013-12-18 Glenn Morris <rgm@gnu.org>
467
468 * mail/emacsbug.el (report-emacs-bug):
469 Only mention enable-multibyte-characters if non-standard.
470
33dd8e95
JL
4712013-12-17 Juri Linkov <juri@jurta.org>
472
473 * arc-mode.el (archive-extract-by-file): Check if directory exists
474 before deletion to not show irrelevant errors if it doesn't exist.
475
7a409b30
JL
4762013-12-17 Juri Linkov <juri@jurta.org>
477
478 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
479 (Bug#14751)
480
481 * net/eww.el (browse-web): Add alias to `eww'.
482 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
483 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
484
485 * net/browse-url.el (browse-url-browser-function): Move `eww'
486 closer to similar functions.
487
488 * startup.el (fancy-startup-screen, fancy-about-screen):
489 Set browse-url-browser-function to eww-browse-url locally.
490 (Bug#14751)
491
2d6b6005
SM
4922013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * window.el (window--pixel-to-total): Remove unused `mini' var.
495 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
496 (split-window): Remove unused `new' var.
497 (window--display-buffer): Remove unused `frame' and `delta' vars.
498 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
499 and display-width'.
500
cf2b7efc
MR
5012013-12-17 Martin Rudalics <rudalics@gmx.at>
502
503 * dired.el (dired-mark-pop-up):
504 * register.el (register-preview): Don't bind
505 split-height-threshold here since it's now done in
506 display-buffer-below-selected.
507
ed3af8a7 5082013-12-17 oblique <psyberbits@gmail.com> (tiny change)
509
510 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
511 xterm-rgb-convert-to-16bit.
512 (rxvt-register-default-colors): Standardize with
513 xterm-register-default-colors (Bug#14078).
514
76da3455
DK
5152013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
516
517 * simple.el (kill-region): Pass mark first, then point, so that
518 kill-append works right (Bug#12819).
519 (copy-region-as-kill, kill-ring-save): Likewise.
520
2b84d763
LL
5212013-12-17 Leo Liu <sdl.web@gmail.com>
522
523 * net/rcirc.el (rcirc-add-face):
524 * eshell/em-prompt.el (eshell-emit-prompt):
525 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
526 (Bug#16167)
527
e2f6a0bc
CY
5282013-12-17 Chong Yidong <cyd@gnu.org>
529
530 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
531 Suggested by Xue Fuqiao.
532
35b249a6
DG
5332013-12-17 Dmitry Gutov <dgutov@yandex.ru>
534
535 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
536
e9145444
SM
5372013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * net/shr.el (shr-insert-document): Remove unused var
540 `shr-preliminary-table-render'.
541 (shr-rescale-image): Remove unused arg `force'.
542 (shr-put-image): Update calls accordingly.
543 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
544
5556c0ce
DG
5452013-12-17 Dmitry Gutov <dgutov@yandex.ru>
546
547 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
548 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
549 :close-all, to see which indentation method to use (Bug#16116).
550 (smie-rules-function): Document the method :close-all.
551
11bade0a
LMI
5522013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
553
1c4b1e61
LMI
554 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
555
11bade0a
LMI
556 * net/eww.el (eww-display-html): If we can't find the anchor we're
557 looking for, then go to point-min.
558
8fb8c4f3
PE
5592013-12-16 Paul Eggert <eggert@cs.ucla.edu>
560
561 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
562 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
563 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
564 Expand dir too, in case it's relative.
565
6c8e0ae6
JL
5662013-12-16 Juri Linkov <juri@jurta.org>
567
568 * desktop.el (desktop-auto-save-timeout): Change default to
569 `auto-save-timeout'. Doc fix.
570 (desktop-save): Skip the timestamp in desktop-saved-frameset
571 when checking for auto-save changes.
572 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
573 `desktop-auto-save' is called repeatedly by the idle timer.
574 (desktop-auto-save-set-timer): Replace `run-with-timer' with
575 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
576 (Bug#15331)
577
2178e858
JL
5782013-12-16 Juri Linkov <juri@jurta.org>
579
580 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
581 (Bug#16035)
582 (isearch-pre-command-hook): Check `this-command' for symbolp.
583
39cb42c6
SM
5842013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
587
5b9b750a
TZ
5882013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
589
590 * progmodes/cfengine.el (cfengine3--current-word): Remove.
591 (cfengine3--current-function): Bring in the current-function
592 functionality from `cfengine3--current-word'.
593 (cfengine3-completion-function): Bring in the
594 bounds-of-current-word functionality from
595 `cfengine3--current-word'.
596
d144ef06
MR
5972013-12-16 Martin Rudalics <rudalics@gmx.at>
598
39cb42c6
SM
599 * window.el (display-buffer-below-selected):
600 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 601
a8bbe298
LL
6022013-12-16 Leo Liu <sdl.web@gmail.com>
603
604 * progmodes/compile.el (compile-goto-error): Do not push-mark.
605 Remove NOMSG arg and all uses changed.
606
2013a2f9
SM
6072013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
610 (cua--deactivate-rectangle): Don't deactivate the mark.
611 (cua-set-rectangle-mark): Don't set mark-active since
612 cua--activate-rectangle already does it for us.
613 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
614 non-rectangular region.
615
616 * emulation/cua-base.el (cua-repeat-replace-region):
617 Use with-current-buffer.
618
619 * net/gnutls.el: Use cl-lib.
620 (gnutls-negotiate): `mapcan' -> cl-mapcan.
621
5ae811dd
TZ
6222013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
623
624 * emacs-lisp/package.el (package-built-in-p): Support both
625 built-in and the package.el converted package descriptions.
626 (package-show-package-list): Allow keywords.
627 (package-keyword-button-action): Use it instead of
628 `finder-list-matches'.
629 (package-menu-filter-interactive): Interactive filtering (by
630 keyword) function.
631 (package-menu--generate): Support keywords and change keymappings
632 and headers when they are given.
633 (package--has-keyword-p): Helper function.
634 (package-menu--refresh): Use it.
635 (package--mapc): Helper function.
636 (package-all-keywords): Use it.
637 (package-menu-mode-map): Set up menu items and keybindings to
638 provide a filtering UI.
639
31b4827e
TZ
6402013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
641
642 * net/gnutls.el (gnutls-verify-error): New defcustom to control
643 the behavior when a certificate fails validation. Defaults to
644 old behavior: never abort, just warn.
645 (gnutls-negotiate): Use it.
646
f93cc74f
MR
6472013-12-14 Martin Rudalics <rudalics@gmx.at>
648
649 * window.el (display-buffer-below-selected): Never split window
650 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
651
f77d7d17
TW
6522013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
653
654 * emacs-lisp/package.el (package--prepare-dependencies): New function.
655 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
656
657 * icomplete.el (icomplete-completions): Make sure the prefix is already
658 displayed elsewhere before hiding it.
659
276bc333
DG
6602013-12-14 Dmitry Gutov <dgutov@yandex.ru>
661
662 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
663 open-paren tokens when preceded by a open-paren, too.
664 (ruby-smie-rules): Handle virtual indentation after open-paren
665 tokens specially. If there is code between it and eol, return the
666 column where is starts (Bug#16118).
667
d43957f3
TZ
6682013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
669
a5c1ac0c 670 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 671 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
672 (cfengine3--current-word): Fix parameters.
673 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
674 (cfengine3-completion-function, cfengine3--current-function):
675 Use `assq' for symbols.
d43957f3
TZ
676 (cfengine3--current-function): Fix `cfengine3--current-word' call.
677
06a4f110
GM
6782013-12-13 Glenn Morris <rgm@gnu.org>
679
680 * loadup.el (load-path): Warn if site-load or site-init changes it.
681 No more need to reset it when bootstrapping.
682
978a5fda
TZ
6832013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
684
685 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
686 locations for cf-promises.
687 (cfengine-mode-syntax-functions-regex): New caching variable.
688 (cfengine3-fallback-syntax): Fallback syntax for cases where
689 cf-promises doesn't run.
690 (cfengine3--current-word): Reimplement using
691 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
692 (cfengine3-completion-function, cfengine3--current-function):
693 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
694 (cfengine3-clear-syntax-cache): New function.
695 (cfengine3-make-syntax-cache): Simplify and create
696 `cfengine-mode-syntax-functions-regex' on demand.
697 (cfengine3-format-function-docstring): Don't call
698 `cfengine3-make-syntax-cache' explicitly.
699
71e6691e
MR
7002013-12-13 Martin Rudalics <rudalics@gmx.at>
701
702 Fix windmove-find-other-window broken after pixelwise resizing
703 (Bug#16017).
704 * windmove.el (windmove-other-window-loc): Revert change from
705 2013-12-04.
706 (windmove-find-other-window): Call window-in-direction.
707 * window.el (window-in-direction): New arguments SIGN, WRAP and
708 MINI to emulate original windmove-find-other-window behavior.
709
84c73ba0
DG
7102013-12-13 Dmitry Gutov <dgutov@yandex.ru>
711
712 * simple.el (blink-matching--overlay): New variable.
713 (blink-matching-open): Instead of moving point, highlight the
714 matching paren with an overlay
715 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
716
717 * faces.el (paren-showing-faces, show-paren-match)
718 (show-paren-mismatch): Move from paren.el.
719
b9e20952
LL
7202013-12-13 Leo Liu <sdl.web@gmail.com>
721
722 * indent.el (indent-region): Disable progress reporter in
723 minibuffer. (Bug#16108)
724
725 * bindings.el (visual-order-cursor-movement): Fix version.
726
ce030451
FEG
7272013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
728
729 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
730 Also match after beginning of line.
731 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
732 files. Thanks to Russell Sim. (Bug#15378)
733
4a9c6865
JL
7342013-12-13 Juri Linkov <juri@jurta.org>
735
736 * simple.el <Keypad support>: Remove key bindings duplicated
737 with bindings.el. (Bug#14397)
738
2bc170c3
JL
7392013-12-13 Juri Linkov <juri@jurta.org>
740
741 * comint.el (comint-mode-map): Replace `delete-char' with
742 `delete-forward-char'. (Bug#16109)
743
bc9222c9
FEG
7442013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
745
aa2bddd7
SM
746 * progmodes/python.el (python-indent-calculate-indentation):
747 Fix de-denters cornercase. (Bug#15731)
bc9222c9 748
cb3a1380
SM
7492013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
752 (advice--make): Pay attention to `depth'.
753 (advice--make-1): Don't autoload commands eagerly.
754 * emacs-lisp/elp.el (elp-instrument-function):
755 * emacs-lisp/trace.el (trace-function-internal):
756 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
757
758 * iswitchb.el (iswitchb-mode): Don't belittle ido.
759
01633a17
EZ
7602013-12-12 Eli Zaretskii <eliz@gnu.org>
761
762 * term/w32-win.el (w32-handle-dropped-file):
763 * startup.el (normal-top-level):
764 * net/browse-url.el (browse-url-file-url):
765 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
766 decode file names using 'utf-8' rather than
767 file-name-coding-system.
768
09faee72
FEG
7692013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
770
771 * progmodes/python.el (python-indent-context)
772 (python-indent-calculate-indentation): Fix auto-identation
773 behavior for comment blocks. (Bug#15916)
774
f4f84024 7752013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 776
cb3a1380
SM
777 * progmodes/python.el (python-indent-calculate-indentation):
778 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
779 operators when they are just string constituents. (Bug#15812)
780
d5ccb7be
JL
7812013-12-12 Juri Linkov <juri@jurta.org>
782
783 * uniquify.el (uniquify-buffer-name-style): Change default to
784 `post-forward-angle-brackets'.
785
786 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
787 `uniquify'. Change default to `post-forward-angle-brackets'.
788
7b3f5679
GM
7892013-12-11 Glenn Morris <rgm@gnu.org>
790
791 * emacs-lisp/package.el (finder-list-matches):
792 Autoload rather than falsely declaring.
793
f4fe8fdd
TZ
7942013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
795
796 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
797 (eww-mode-map): Use them.
798
3c29190f
MR
7992013-12-11 Martin Rudalics <rudalics@gmx.at>
800
801 * window.el (display-buffer-in-side-window): Fix doc-string
802 (Bug#16115).
803
0cd616a2
JB
8042013-12-11 Juanma Barranquero <lekktu@gmail.com>
805
806 * vc/vc-git.el: Silence byte-compiler warnings.
807 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
808 (log-edit-set-header): Declare.
809
3ef8e0d1
EZ
8102013-12-11 Eli Zaretskii <eliz@gnu.org>
811
812 * Makefile.in (custom-deps, finder-data): Run output file names
813 through unmsys--file-name. (Bug#16099)
814
afdadaf7
SM
8152013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
816
7ae3ae39 817 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 818 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 819
5b4f37ab
SM
820 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
821 instead of deleting the selection "by hand" (bug#16098).
822 Rely on insert-for-yank to yank rectangles.
823 (cua-highlight-region-shift-only): Mark obsolete.
824 (cua-mode): Don't enable/disable transient-mark-mode,
825 shift-select-mode (cua-mode works both with and without them), and
826 pc-selection-mode (obsolete).
827 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
828 (cua--deactivate-rectangle): Deactivate it.
829
4b72c12b
SM
830 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
831 (delete-selection-helper): Make sure yank starts at the top of the
832 deleted region.
833 (minibuffer-keyboard-quit): Use region-active-p.
834
e82af72d
SM
835 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
836
afdadaf7
SM
837 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
838 to `delete' (bug#16109).
839
ed4bc201
RS
8402013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
841
842 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
843 info manual and show keybindings and set `:group' keyword.
844
bb8097b9
JL
8452013-12-11 Juri Linkov <juri@jurta.org>
846
847 * delsel.el (delete-active-region): Let-bind `this-command'
848 to prevent `kill-region' from changing its original value.
849 (delete-selection-helper): Handle `overwrite-mode' for the type
850 `kill' exactly the same way as for the type `t'.
851 (insert-char, quoted-insert, reindent-then-newline-and-indent):
852 Support more commands. (Bug#13312)
853
c1916ff5
JL
8542013-12-11 Juri Linkov <juri@jurta.org>
855
856 * bindings.el: Map kp keys to non-kp keys systematically
857 with basic modifiers control, meta and shift. (Bug#14397)
858
e0eb0550 8592013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
b68cf43c
KN
860
861 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
862 "Close browser" menu items. Fix wrong function of "List
863 bookmarks".
864
4cc51eaf
JL
8652013-12-11 Juri Linkov <juri@jurta.org>
866
867 * misearch.el (multi-isearch-buffers): Set the value of
868 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
869 arg of isearch-forward to t.
870 (multi-isearch-buffers-regexp): Set the value of
871 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
872 arg of isearch-forward-regexp to t.
873 (multi-isearch-files): Set the value of
874 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
875 arg of isearch-forward to t.
876 (multi-isearch-files-regexp): Set the value of
877 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
878 arg of isearch-forward-regexp to t. (Bug#16035)
879
880 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
881 arg of isearch-forward to t.
882 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
883 arg of isearch-forward-regexp to t.
884 (dired-isearch-filter-filenames): Remove unnecessary check for
885 `dired-isearch-filenames'.
886
887 * comint.el (comint-history-isearch-backward):
888 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
889 (comint-history-isearch-backward-regexp):
890 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
891
ceac12b7
EZ
8922013-12-10 Eli Zaretskii <eliz@gnu.org>
893
894 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
895 unmsys--file-name. (Bug#16099)
896
5a565782
TZ
8972013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
898
cb3a1380
SM
899 * emacs-lisp/package.el (package-keyword-button-action):
900 Remove finder.el require dependency.
5a565782 901
a81fc7ba
TZ
9022013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
903
904 * emacs-lisp/package.el: Require finder.el.
905 (describe-package-1): Add keyword buttons.
906 (package-make-button): New convenience function.
907 (package-keyword-button-action): Keyword button action using
e0eb0550 908 `finder-list-matches'.
a81fc7ba 909
6aaca951
EZ
9102013-12-09 Eli Zaretskii <eliz@gnu.org>
911
912 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
913 last commit.
914
a1099a91
MA
9152013-12-09 Michael Albinus <michael.albinus@gmx.de>
916
917 * autorevert.el (auto-revert-notify-add-watch): Do not handle
918 symlinked files.
919
8212d9c0
DG
9202013-12-09 Dmitry Gutov <dgutov@yandex.ru>
921
922 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
923 after the end of a percent literal.
924
8f48d131
CD
9252013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
926
cb3a1380
SM
927 * progmodes/ruby-mode.el (ruby-forward-string): Document.
928 Handle caret-delimited strings (Bug#16079).
8f48d131 929
ff8c9764
DG
9302013-12-09 Dmitry Gutov <dgutov@yandex.ru>
931
cb3a1380
SM
932 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
933 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
934 `ruby-parse-partial' (Bug#16078).
935
d64643b4
LL
9362013-12-09 Leo Liu <sdl.web@gmail.com>
937
938 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
939
47e59c66
DG
9402013-12-08 Dmitry Gutov <dgutov@yandex.ru>
941
942 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
943 (js-switch-indent-offset): New option.
944 (js--proper-indentation): Use it. And handle the case when
945 "default" is actually a key in an object literal.
946 (js--same-line): New function.
947 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
948 (js--indent-in-array-comp, js--array-comp-indentation):
949 New functions.
47e59c66
DG
950 (js--proper-indentation): Use them, to handle array comprehension
951 continuations.
952
974ebc9c
LL
9532013-12-08 Leo Liu <sdl.web@gmail.com>
954
955 * progmodes/flymake.el (flymake-highlight-line): Re-write.
956 (flymake-make-overlay): Remove arg MOUSE-FACE.
957 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
958
27262e39
SM
9592013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
962 New function.
963 (redisplay-highlight-region-function): Use it.
964
965 * emulation/cua-base.el (cua--explicit-region-start)
966 (cua--last-region-shifted): Remove.
967 (cua--deactivate): Use deactivate-mark.
968 (cua--pre-command-handler-1): Don't handle shift-selection.
969 (cua--post-command-handler-1): Don't change transient-mark-mode.
970 (cua--select-keymaps): Use region-active-p rather than
971 cua--explicit-region-start or cua--last-region-shifted.
972 (cua-mode): Enable shift-select-mode.
973
6407822c
LL
9742013-12-08 Leo Liu <sdl.web@gmail.com>
975
27262e39
SM
976 * progmodes/flymake.el (flymake-popup-current-error-menu):
977 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
978 (flymake-posn-at-point-as-event, flymake-popup-menu)
979 (flymake-make-emacs-menu): Remove. (Bug#16077)
980
00a2b823
SM
9812013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
982
02033d49
SM
983 * rect.el (rectangle-mark-mode): Activate mark even if
984 transient-mark-mode is off (bug#16066).
985 (rectangle--highlight-for-redisplay): Fix boundary condition when point
986 is > mark and at bolp.
987
6f8dfccf
SM
988 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
989 (region-extract-function): Use it.
990 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
991 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
992 Delete functions.
993 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
994 kill-ring-save, kill-region, delete-char, delete-forward-char.
995 Ignore self-insert-iso.
996
997 * emulation/cua-gmrk.el (cua--init-global-mark):
998 Ignore `self-insert-iso'.
999
1000 * emulation/cua-base.el (cua--prefix-copy-handler)
1001 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1002 checking cua--rectangle.
1003 (cua-delete-region): Use region-extract-function.
1004 (cua-replace-region): Delete function.
1005 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1006 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1007 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1008 (cua--init-keymaps): Don't remap delete-selection commands.
1009 (cua-mode): Use delete-selection-mode instead of rolling our own
1010 (bug#16085).
1011
1012 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1013 Obey region-extract-function.
1014
00a2b823
SM
1015 Make registers and delete-selection-mode work on rectangles.
1016 * register.el (describe-register-1): Don't modify the register's value.
1017 (copy-to-register): Obey region-extract-function.
1018 * delsel.el (delete-active-region): Obey region-extract-function.
1019
a92fa5f1
LL
10202013-12-08 Leo Liu <sdl.web@gmail.com>
1021
1022 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1023 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1024 (flymake-compilation-prevents-syntax-check)
1025 (flymake-start-syntax-check-on-newline)
1026 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1027 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1028 (flymake-xml-program, flymake-master-file-dirs)
1029 (flymake-master-file-count-limit)
1030 (flymake-allowed-file-name-masks): Relocate.
1031 (flymake-makehash, flymake-float-time)
1032 (flymake-replace-regexp-in-string, flymake-split-string)
1033 (flymake-get-temp-dir): Remove.
1034 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1035 (flymake-current-row, flymake-selected-frame)
1036 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1037 related functions. (Bug#16077)
1038
73c8ceea
BB
10392013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1040
1041 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1042
faec28d9
TH
10432013-12-07 Tassilo Horn <tsdh@gnu.org>
1044
1045 * help-fns.el (describe-function-1): Use new advice-* functions
1046 rather than old ad-* functions. Fix function type description and
1047 source links for advised functions and subrs.
1048
e330b646
LMI
10492013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1050
00a2b823 1051 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1052
4803595d
MA
10532013-12-06 Michael Albinus <michael.albinus@gmx.de>
1054
1055 * progmodes/compile.el (compilation-start):
1056 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1057
1058 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1059 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1060
fa834a93
DG
10612013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1062
00a2b823
SM
1063 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1064 Touch up the last change.
fa834a93 1065
b2856a6f
LL
10662013-12-06 Leo Liu <sdl.web@gmail.com>
1067
1068 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1069 (inferior-octave-startup): Always use "octave> " for prompt.
1070 (octave-goto-function-definition)
1071 (octave-sync-function-file-names)
1072 (octave-find-definition-default-filename): Remove redundant backquotes.
1073
af67e79a
DG
10742013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1075
1076 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1077 syntax for `?'.
1078 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1079 where appropriate already.
1080 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1081 end of method names (Bug#15874).
1082
bf093209
JL
10832013-12-06 Juri Linkov <juri@jurta.org>
1084
1085 * isearch.el (isearch--saved-overriding-local-map):
1086 New internal variable.
1087 (isearch-mode): Set it to the initial value of
1088 `overriding-terminal-local-map'.
1089 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1090 with `isearch--saved-overriding-local-map'. (Bug#16035)
1091
16588fad
DG
10922013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1093
00a2b823
SM
1094 * progmodes/octave.el (inferior-octave-completion-table):
1095 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1096 (Bug#11906). Update all references.
1097
1098 * minibuffer.el (completion-table-with-cache): New function.
1099
bf4906d7
CD
11002013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1101
1102 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1103
ff69c18f
TZ
11042013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1105
1106 * net/eww.el (eww-current-source): New variable to store page
1107 source.
1108 (eww-display-html, eww-mode, eww-save-history)
1109 (eww-restore-history): Use it.
1110 (eww-view-source): New command to view page source.
1111 Opportunistically uses `html-mode' to highlight the buffer.
1112 (eww-mode-map): Install it.
1113
b85eff45
MA
11142013-12-05 Michael Albinus <michael.albinus@gmx.de>
1115
1116 * net/dbus.el (dbus-unregister-service)
1117 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1118 Fix docstring.
1119 (dbus-unregister-service): Skip :serial entries in
1120 `dbus-registered-objects-table'.
1121 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1122
39eb0899
TZ
11232013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1124
1125 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1126 around keywords with extra `split-string' argument.
1127
456760a5
MR
11282013-12-04 Martin Rudalics <rudalics@gmx.at>
1129
1130 * windmove.el (windmove-other-window-loc): Handle navigation
1131 between windows (excluding the minibuffer window - Bug#16017).
1132
81961e4c
MA
11332013-12-04 Michael Albinus <michael.albinus@gmx.de>
1134
1135 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1136 in D-Bus type syntax.
1137 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1138 preserve unibyte strings. (Bug#16048)
1139
8497f938
SM
11402013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1143 Call force-mode-line-update is the proper buffer (bug#16042).
1144
dda61916
DG
11452013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1146
1147 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1148 `log-edit-remember-comment', make argument optional. Adjust all
1149 callers.
1150 (log-edit-mode): Add `log-edit-remember-comment' to
1151 `kill-buffer-hook' locally.
1152 (log-edit-kill-buffer): Don't remember comment explicitly since
1153 the buffer is killed anyway.
1154
c085e5b9
JL
11552013-12-04 Juri Linkov <juri@jurta.org>
1156
1157 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1158 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1159
e0eb0550 11602013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1161
1162 * notifications.el (notifications-close-notification): Call the
81961e4c 1163 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1164
39fa32d6
KY
11652013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1166
1167 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1168
9139632a
JL
11692013-12-03 Juri Linkov <juri@jurta.org>
1170
1171 * progmodes/compile.el (compilation-start): Rename window alist
1172 entry `no-display-ok' to `allow-no-window'.
1173
1174 * simple.el (shell-command): Add window alist entry
1175 `allow-no-window' to `display-buffer'.
1176 (async-shell-command): Doc fix.
1177
1178 * window.el (display-buffer-no-window): New action function.
1179 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1180
0f457a37
DG
11812013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1182
1183 * vc/log-edit.el (log-edit-set-header): Extract from
1184 `log-edit-toggle-header'.
1185 (log-edit-extract-headers): Separate the summary, when extracted
1186 from header, from the rest of the message with an empty line.
1187
1188 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1189 line, if present, to the Summary header.
1190
0962f376
SM
11912013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1192
1193 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1194 in current-buffer (bug#16029).
1195
f345395c
HE
11962013-12-02 Helmut Eller <eller.helmut@gmail.com>
1197
1198 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1199 (debugger-mode-map): Bind it.
1200 (debugger--backtrace-base): New function.
1201 (debugger-eval-expression): Use it.
1202 (debugger-frame-number): Skip local vars when present.
1203 (debugger--locals-visible-p, debugger--insert-locals)
1204 (debugger--show-locals, debugger--hide-locals): New functions.
1205
a8a15d9d
MA
12062013-12-02 Michael Albinus <michael.albinus@gmx.de>
1207
1208 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1209 "LC_ALL".
1210 (tramp-get-remote-locale): New defun.
1211 (tramp-open-connection-setup-interactive-shell): Use it.
1212
0518b057
LL
12132013-12-02 Leo Liu <sdl.web@gmail.com>
1214
1215 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1216
1217 * progmodes/sh-script.el (sh-shell-process):
1218 * progmodes/octave.el (inferior-octave-process-live-p):
1219 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1220 (gdb-inferior-io-sentinel):
1221 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1222
3adc9c6d
DG
12232013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1224
1225 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1226 `save-selected-window' to `log-edit-hide-buf'. This makes
1227 `log-edit-show-files' idempotent.
1228 (log-edit-show-files): Mark the new window as dedicated.
1229
47e8b74e
DG
12302013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1231
1232 * vc/log-edit.el (log-edit-mode-map): Add binding for
1233 `log-edit-kill-biffer'.
1234 (log-edit-hide-buf): Add a FIXME comment.
1235 (log-edit-add-new-comment): New function, extracted from
1236 `log-edit-done'.
1237 (log-edit-done, log-edit-add-to-changelog): Use it.
1238 (log-edit-kill-buffer): New command.
1239
1f6e1bb0
LMI
12402013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1241
1242 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1243 instead of killing the buffer.
1244
fb651d15
SM
12452013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1246
1247 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1248
8feacce0
RS
12492013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1250
fb651d15 1251 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1252 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1253 (eww-form-checkbox, eww-toggle-checkbox):
1254 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1255
e0eb0550 1256 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1257 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1258 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1259 no :src tag was specified.
1260
fb651d15 1261 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1262 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1263 Use \\` to match beginning of string instead of ^.
1264 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1265 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1266
177948a5
RS
1267 * net/shr.el (shr-tag-video): Display content for video if no
1268 poster is available.
eb2dd24d 1269 (shr-tag-audio): Add support for <audio> tag.
177948a5 1270
e0eb0550 1271 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1272 (eww-process-text-input): Treat input types in
1273 `eww-text-input-types' as text.
1274
8feacce0
RS
1275 * net/shr.el (shr-tag-table): Fix comment typo.
1276
513562a1
LMI
12772013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1278
1279 * net/eww.el (eww-follow-link): New command to avoid reloading
1280 pages when we follow #target links (bug#15243).
de8a5633 1281 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1282
9dd99753
KN
12832013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1284
1285 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1286 forms.
1287
3e9876de
LMI
12882013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1289
1290 * net/eww.el (eww-restore-history): Update the window title after
1291 moving in the history.
ab6dea82 1292 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1293
52789f7f
DG
12942013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1295
1296 * vc/log-edit.el (log-edit-mode-map): Add binding for
1297 `log-edit-beginning-of-line'.
1298 (log-edit-setup-add-author): New user option.
1299 (log-edit-beginning-of-line): New command.
1300 (log-edit): Move major mode call above the contents setup so that
1301 the local variable values are already applied.
1302 (log-edit): Only insert "Author: " when
1303 `log-edit-setup-add-author' is non-nil.
1304 (log-edit): When SETUP is non-nil, position point after ": "
1305 instead of point-min.
1306
2e6710c3
GM
13072013-12-01 Glenn Morris <rgm@gnu.org>
1308
1309 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1310
fadec31f
EZ
13112013-11-30 Eli Zaretskii <eliz@gnu.org>
1312
1313 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1314 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1315 visible. (Bug#16014)
1316
10634b40 13172013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1318
1319 Support resizing frames and windows pixelwise.
1320 * cus-start.el (frame-resize-pixelwise)
1321 (window-resize-pixelwise): New entries.
1322 * emacs-lisp/debug.el (debug): Use window-total-height instead
1323 of window-total-size.
1324 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1325 * help.el (describe-bindings-internal): Call help-buffer
1326 (temp-buffer-max-width): New option.
1327 (resize-temp-buffer-window, help-window-setup)
1328 (with-help-window): Rewrite.
1329 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1330 dragging dividers.
1331 * window.el (frame-char-size, window-min-pixel-height)
1332 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1333 (window-min-pixel-width, window-safe-min-pixel-size)
1334 (window-combination-p, window-safe-min-size)
1335 (window-resizable-p, window--size-to-pixel)
1336 (window--pixel-to-size, window--resize-apply-p): New functions.
1337 (window-safe-min-height): Fix doc-string.
1338 (window-size, window-min-size, window--min-size-1)
1339 (window-sizable, window-sizable-p, window--min-delta-1)
1340 (window-min-delta, window--max-delta-1, window-max-delta)
1341 (window--resizable, window--resizable-p, window-resizable)
1342 (window-full-height-p, window-full-width-p, window-at-side-p)
1343 (window--in-direction-2, window-in-direction)
1344 (window--resize-reset-1, window--resize-mini-window)
1345 (window-resize, window-resize-no-error)
1346 (window--resize-child-windows-normal)
1347 (window--resize-child-windows, window--resize-siblings)
1348 (window--resize-this-window, window--resize-root-window)
1349 (window--resize-root-window-vertically)
1350 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1351 (maximize-window, minimize-window, delete-window)
1352 (quit-restore-window, window-split-min-size, split-window)
1353 (balance-windows-2, balance-windows)
1354 (balance-windows-area-adjust, balance-windows-area)
1355 (window--state-get-1, window-state-get, window--state-put-1)
1356 (window--state-put-2, window-state-put)
fb651d15
SM
1357 (display-buffer-record-window, window--display-buffer):
1358 Make functions handle pixelwise sizing of windows.
880e6158 1359 (display-buffer--action-function-custom-type)
fb651d15
SM
1360 (display-buffer-fallback-action):
1361 Add display-buffer-in-previous-window.
880e6158
MR
1362 (display-buffer-use-some-window): Resize window to height it had
1363 before.
1364 (fit-window-to-buffer-horizontally): New option.
1365 (fit-frame-to-buffer): Describe new values.
1366 (fit-frame-to-buffer-bottom-margin): Replace with
1367 fit-frame-to-buffer-margins.
1368 (window--sanitize-margin): New function.
1369 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1370 using window-text-pixel-size.
1371
f9b697dd
GM
13722013-11-30 Glenn Morris <rgm@gnu.org>
1373
3e2fb4db
GM
1374 * emacs-lisp/bytecomp.el (byte-compile-form):
1375 Make the `interactive-only' warning like the `obsolete' one.
1376 * comint.el (comint-run):
1377 * files.el (insert-file-literally, insert-file):
1378 * replace.el (replace-string, replace-regexp):
1379 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1380 (goto-line, insert-buffer, next-line, previous-line):
1381 Tweak `interactive-only' spec.
1382
f9b697dd
GM
1383 Stop keeping (most) generated cedet grammar files in the repository.
1384 * Makefile.in (semantic): New.
1385 (compile-main): Depend on semantic.
1386
da048127
SM
13872013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1388
7784b779
SM
1389 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1390 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1391
4e36a6a6
SM
1392 * uniquify.el (uniquify-buffer-name-style): Change default.
1393
1394 * loadup.el: Preload "uniquify".
1395
e0ba1308
SM
1396 * time.el (display-time-update): Update all mode lines (bug#15999).
1397
da048127
SM
1398 * electric.el (electric-indent-mode): Enable by default.
1399 * loadup.el: Preload "electric".
1400
015b3b3e
BB
14012013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1402
1403 * emacs-lisp/helpers.el (string-empty-p): New function.
1404 (string-blank-p): New function.
1405
7efb806d
AP
14062013-11-29 Andreas Politz <politza@hochschule-trier.de>
1407
1408 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1409 (Bug#14029).
1410
c8f0efc2
AP
14112013-11-29 Andreas Politz <politza@fh-trier.de>
1412 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1413 allow non-lambda lists as functions.
1414 (imenu--in-alist): Don't recurse into non-subalists.
1415 (imenu): Don't pass function itself as an argument (Bug#14029).
1416
bd15d9d1
SM
14172013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1418
1419 * progmodes/python.el (python-mode-map): Remove binding for ":".
1420 (python-indent-electric-colon): Remove command.
1421 (python-indent-post-self-insert-function): Integrate the previous code
1422 of python-indent-electric-colon. Make it conditional on
1423 electric-indent-mode.
1424 (python-mode): Add ?: to electric-indent-chars.
1425 Move python-indent-post-self-insert-function to the end of
1426 post-self-insert-hook.
1427
1b10adb6
SM
14282013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1429
655ab9a3
SM
1430 * doc-view.el (doc-view-goto-page): Update mode-line.
1431
1b10adb6
SM
1432 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1433
7e3bf78c
GM
14342013-11-27 Glenn Morris <rgm@gnu.org>
1435
1436 * international/charprop.el, international/uni-bidi.el:
1437 * international/uni-category.el, international/uni-combining.el:
1438 * international/uni-comment.el, international/uni-decimal.el:
1439 * international/uni-decomposition.el, international/uni-digit.el:
1440 * international/uni-lowercase.el, international/uni-mirrored.el:
1441 * international/uni-name.el, international/uni-numeric.el:
1442 * international/uni-old-name.el, international/uni-titlecase.el:
1443 * international/uni-uppercase.el:
1444 Remove generated files from VCS repository.
1445
fb6a5d68
EZ
14462013-11-27 Eli Zaretskii <eliz@gnu.org>
1447
1448 * filenotify.el (file-notify-add-watch): Don't special-case
1449 w32notify when computing the directory to watch.
1450
cb6c95a3
GM
14512013-11-27 Glenn Morris <rgm@gnu.org>
1452
20372d0c
GM
1453 Make bootstrap without generated uni-*.el files possible again.
1454 * loadup.el: Update command-line-args checking for unidata-gen.
1455 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1456 * composite.el, international/characters.el:
1457 Handle unicode tables being undefined.
1458
52d6635f 1459 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1460 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1461 (compile-main): Depend on leim rule.
1462 (leim): New rule.
1463 * loadup.el: Move leim-list.el to leim/ subdirectory.
1464 * startup.el (normal-top-level): No more leim directory.
1465 * international/ja-dic-cnv.el (skkdic-convert):
1466 Disable version-control and autoloads in output files.
1467 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1468 Disable version-control and autoloads in output files.
1469 * leim/quail: Move here from ../leim.
1470 * leim/quail/hangul.el (hangul-input-method-activate):
1471 Add autoload cookie.
1472 (generated-autoload-load-name): Set file-local value.
1473 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1474 (generated-autoload-load-name): Set file-local value.
1475
0449d6cd 14762013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee 1477
e0eb0550
JB
1478 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1479 (eww-add-bookmark): Ask confirmation when add to bookmarks
1480 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1481
0e2c793f
EZ
14822013-11-26 Eli Zaretskii <eliz@gnu.org>
1483
1484 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1485 reading output from Diff on MS-Windows and MS-DOS.
1486
447bdcb8
BB
14872013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1488
1489 * emacs-lisp/helpers.el (string-reverse): New function.
1490
5fbf6856
MA
14912013-11-26 Michael Albinus <michael.albinus@gmx.de>
1492
1493 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1494 names on MS Windows, like "/[::1]:".
1495
1496 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1497 SWITCHES.
1498
624780f0
GM
14992013-11-26 Glenn Morris <rgm@gnu.org>
1500
0bf3f0fa
GM
1501 * progmodes/python.el (python-indent-guess-indent-offset):
1502 Avoid corner-case error. (Bug#15975)
1503
624780f0
GM
1504 Preload leim-list.el. (Bug#4789)
1505 * loadup.el: Load leim-list.el when found.
1506 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1507
4301875e 15082013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1509
1510 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1511
4301875e
BB
1512 * emacs-lisp/helpers.el (string-join): New function.
1513
1633a815 15142013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1515
1516 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1517 Mark as obsolete and replace it with a symbol property.
1518 (byte-compile-form): Use new 'interactive-only property.
1519 * comint.el, files.el, replace.el, simple.el:
1520 Apply new 'interactive-only properly.
1521
00139435
MR
15222013-11-25 Martin Rudalics <rudalics@gmx.at>
1523
1524 * window.el (display-buffer-at-bottom): Make sure that
1525 split-window-sensibly creates the new window on bottom
1526 (Bug#15961).
1527
5f5b128d
DK
15282013-11-23 David Kastrup <dak@gnu.org>
1529
1530 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1531 on the conflict markers when available.
1532 (smerge--get-marker): New function.
1533 (smerge-end-re, smerge-base-re): Add subgroup.
1534
623891e5
SM
15352013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * frame.el (handle-focus-in, handle-focus-out): Add missing
1538 interactive spec.
1539
05ca27d8
MA
15402013-11-25 Michael Albinus <michael.albinus@gmx.de>
1541
1542 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1543 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1544
511fa0d3
SM
15452013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1546
e82ad66c
SM
1547 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1548 (gomoku--last-pos): New var.
1549 (gomoku--intangible-chars): New const.
1550 (gomoku--intangible): New function.
1551 (gomoku-mode): Use it. Derive from special-mode.
1552 (gomoku-move-up): Adjust line count.
1553 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1554 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1555 Simplify accordingly.
1556
511fa0d3
SM
1557 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1558 Remove blink-cursor code.
1559 (blink-cursor-timer-function, blink-cursor-suspend):
1560 Don't special-case GUIs.
1561 (blink-cursor-mode): Use focus-in/out-hook.
1562
6f20dd03
DG
15632013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1564
1565 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1566 work when annotation is invisible (Bug#13886).
1567
431dec31 15682013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1569
1570 * json.el (json-alist-p): Only return non-nil if the alist has
1571 simple keys (Bug#13518).
1572
431dec31 15732013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1574
1575 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1576 when control-statement is the first statement in a buffer (Bug#15956).
1577
ee4f0261
DG
15782013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1579
1580 * imenu.el (imenu-generic-skip-comments-and-strings):
1581 New option (Bug#15560).
1582 (imenu--generic-function): Use it.
1583
c484f866
JS
15842013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1585
1586 * minibuffer.el (completion--in-region-1): Scroll the correct
1587 window. (Bug#13898)
1588
41ce6f70
BB
15892013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1590
b55aea38
BB
1591 * emacs-lisp/helpers.el: Add some string helpers.
1592 (string-trim-left): Removes leading whitespace.
1593 (string-trim-right): Removes trailing whitespace.
1594 (string-trim): Removes leading and trailing whitespace.
1595
41ce6f70
BB
1596 * subr.el (string-suffix-p): New function.
1597
3cfb6af3
GM
15982013-11-23 Glenn Morris <rgm@gnu.org>
1599
1600 * progmodes/python.el (python-shell-send-file):
1601 Add option to delete file when done. (Bug#15647)
1602 (python-shell-send-string, python-shell-send-region): Use it.
1603
c27924b7
IS
16042013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1605
e1b01c7f
IS
1606 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1607 to set buffer-read-only to t, never to nil. (Bug#15938)
1608
c27924b7
IS
1609 * textmodes/tex-mode.el (latex-noindent-environments):
1610 Add safe-local-variable property. (Bug#15936)
1611
17e0445b
GM
16122013-11-23 Glenn Morris <rgm@gnu.org>
1613
92f78ea3
GM
1614 * textmodes/enriched.el (enriched-mode): Doc fix.
1615 * emacs-lisp/authors.el (authors-renamed-files-alist):
1616 Add enriched.doc -> enriched.txt.
1617
17e0445b
GM
1618 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1619
965bb23a
LL
16202013-11-22 Leo Liu <sdl.web@gmail.com>
1621
1622 * progmodes/octave.el (inferior-octave-startup): Spit out error
1623 message.
1624
d19ffd64
BB
16252013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1626
1627 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1628 Improve docstring.
15ba2182
BB
1629 Add :version.
1630 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1631
7a7567d2
LL
16322013-11-22 Leo Liu <sdl.web@gmail.com>
1633
1634 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1635 (Bug#15076)
8c09f64b
LL
1636 (octave-help-mode): Adapt to change to help-mode-finish to use
1637 derived-mode-p on 2013-09-17.
1638 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1639 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1640
724bc265
LL
16412013-11-22 Leo Liu <sdl.web@gmail.com>
1642
1643 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1644 (inferior-octave-startup, inferior-octave-check-process)
1645 (inferior-octave-track-window-width-change)
1646 (octave-completion-at-point, octave-eldoc-function): Use it.
1647 (octave-kill-process): Provide confirmation. (Bug#10564)
1648
38637cca
LL
16492013-11-21 Leo Liu <sdl.web@gmail.com>
1650
511fa0d3
SM
1651 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1652 Fix obsolete variable comment-use-global-state.
38637cca 1653
06e752b4
RS
16542013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1655
511fa0d3
SM
1656 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1657 Add `octave-source-file'.
06e752b4
RS
1658 (octave-source-file): New function. (Bug#15935)
1659
0449d6cd 16602013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1661
1662 * net/eww.el (eww-local-regex): New variable.
1663 (eww): Use it to detect localhost and similar.
1664
b6ffa04a
LL
16652013-11-21 Leo Liu <sdl.web@gmail.com>
1666
1667 Add completion for command `ag'.
2021a200
LL
1668 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1669 (pcomplete/ag): New function.
1670 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1671
d1a6bccc
SM
16722013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1675 (bug#14646).
1676 (make-obsolete): Remove interactive spec.
1677
2df10228
GM
16782013-11-21 Glenn Morris <rgm@gnu.org>
1679
1680 * startup.el (command-line-1): Use path-separator with -L.
1681
86fd16b6
TZ
16822013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1683
1684 * emacs-lisp/package.el (describe-package-1): Add package archive
1685 to shown fields.
1686
0449d6cd 16872013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1688
1689 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1690 Change default to "# encoding: %s" to differentiate it from the
1691 default Ruby encoding comment template.
1692
dc7e8c17 16932013-11-20 era eriksson <era+emacsbugs@iki.fi>
1694
1695 * ses.el (ses-mode): Doc fix. (Bug#14748)
1696
f0cfa5fe
LL
16972013-11-20 Leo Liu <sdl.web@gmail.com>
1698
1699 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1700
826dc7b6
DN
17012013-11-19 Dan Nicolaescu <dann@gnu.org>
1702
1703 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1704 when rebase or bisect are in progress.
1705
a6e3a5d5
XF
17062013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1707
1708 * filenotify.el (file-notify-add-watch): Doc fix.
1709
f130cb76
LL
17102013-11-19 Leo Liu <sdl.web@gmail.com>
1711
e0855d7d
LL
1712 * obsolete/rcompile.el: Mark obsolete.
1713
f130cb76 1714 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1715 (compilation-goto-locus, compilation-find-file):
1716 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1717 (Bug#13594)
1718
1719 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1720 new parameter no-display-ok. Return either a window or nil
1721 but never a non-window value.
f130cb76 1722
1f35d401
SM
17232013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1724
25158c76
SM
1725 * electric.el (electric-indent-mode-map): Remove.
1726 (electric-indent-mode): Change the global-map instead (bug#15915).
1727
1728 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1729 Use add-function.
1f35d401 1730
9bc67baa
SM
17312013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1732
986545b5
SM
1733 * emacs-lisp/nadvice.el (remove-function): Align with
1734 add-function's behavior.
1735
9bc67baa
SM
1736 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1737 (gdb--string-regexp): New constant.
1738 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1739 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1740 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1741 submatch 1.
1742 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1743 Adjust use accordingly.
1744 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1745
56cd894e
AS
17462013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1747
1748 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1749 interpolation curlies (Bug#15914).
1750
014690de
JB
17512013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1752
1753 * calc/calc.el (calc-context-sensitive-enter): New variable.
1754 (calc-enter): Use `calc-context-sensitive-enter'.
1755
7e26a6c3
TZ
17562013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1757
1758 * progmodes/cfengine.el: Version bump.
1759 (cfengine-cf-promises): New defcustom to locate cf-promises.
1760 (cfengine3-vartypes): Add new "data" type.
1761 (cfengine3--current-word): New function to get current name-like
1762 word or its bounds.
1763 (cfengine3--current-function): New function to look up a CFEngine
1764 function's definition.
1765 (cfengine3-format-function-docstring): New function.
1766 (cfengine3-make-syntax-cache): New function.
1767 (cfengine3-documentation-function): New function: ElDoc glue.
1768 (cfengine3-completion-function): New function: completion glue.
1769 (cfengine3-mode): Set `compile-command',
1770 `eldoc-documentation-function', and add to
1771 `completion-at-point-functions'.
1772
355204dd
MA
17732013-11-16 Michael Albinus <michael.albinus@gmx.de>
1774
1775 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1776 `tramp-current-connection'.
1777
43cebc23
DG
17782013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1779
1780 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1781 nil/self/true/false with "end of symbol".
1782
a3fed6ff
BB
17832013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1784
1785 * subr.el (version-regexp-alist): Fix a typo.
1786
e675b3e4
MA
17872013-11-15 Michael Albinus <michael.albinus@gmx.de>
1788
1789 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1790 "en_US.utf8" and "LC_CTYPE" to "".
1791 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1792 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1793
a1f03e89
LL
17942013-11-15 Leo Liu <sdl.web@gmail.com>
1795
1796 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1797
5d9d9451
SM
17982013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1799
58362662
CS
1800 * progmodes/gud.el (ctl-x-map):
1801 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1802 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1803
6c1bf086
BB
18042013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1805
0d5363c4
BB
1806 * subr.el (version-regexp-alist):
1807 Recognize hg, svn and darcs versions as snapshot versions.
1808
4e9fc48c
BB
1809 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1810 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1811 (ruby--encoding-comment-required-p): Extract from
1812 `ruby-mode-set-encoding'.
1813 (ruby-mode-set-encoding): Add the ability to always insert an
1814 utf-8 encoding comment. Fix and simplify coding comment update
1815 logic.
6c1bf086 1816
2f7e72f8
MA
18172013-11-14 Michael Albinus <michael.albinus@gmx.de>
1818
1819 * net/tramp-gvfs.el (top): Run init code only when
1820 `tramp-gvfs-enabled' is not nil.
1821 (tramp-gvfs-enabled): Check also :system bus.
1822
0f137a73
SM
18232013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 Sync with upstream verilog-mode revision 78e66ba.
1826 * progmodes/verilog-mode.el (verilog-end-of-defun)
1827 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1828 (verilog-get-end-of-defun): Remove unused argument.
1829 (verilog-comment-depth): Remove unused local `e'.
1830 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1831 Don't pass arg to verilog-get-end-of-defun.
1832
1c276bdd
GM
18332013-11-14 Glenn Morris <rgm@gnu.org>
1834
1835 * obsolete/assoc.el (aget): Prefix dynamic variable.
1836
1837 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1838
ff6ec81d
SM
18392013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * widget.el, hfy-cmap.el: Remove bogus package version number.
1842
75f777b6
GM
18432013-11-13 Glenn Morris <rgm@gnu.org>
1844
1d43dba1
GM
1845 * replace.el (replace-eval-replacement):
1846 Try to give more helpful error message. (Bug#15836)
1847
ff4b7bd5
GM
1848 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1849 (archive-7z-update): Avoid custom type mismatches.
1850
75f777b6
GM
1851 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1852
11151a06
MA
18532013-11-13 Michael Albinus <michael.albinus@gmx.de>
1854
e675b3e4 1855 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1856 address can be empty.
1857
1858 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1859 Accept nil SWITCHES.
1860 (tramp-gvfs-handle-write-region): Implement APPEND.
1861
7b08f97e
DG
18622013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1863
1864 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1865 binary "|" operator and closing block args delimiter.
1866 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1867 (ruby-smie--implicit-semi-p): Not after "|" operator.
1868 (ruby-smie--closing-pipe-p): New function.
1869 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1870 (ruby-smie-rules): Indent after "|".
1871
f201cf3a
GM
18722013-11-12 Glenn Morris <rgm@gnu.org>
1873
1874 * ps-print.el (ps-face-attribute-list):
1875 Handle anonymous faces. (Bug#15827)
1876
e6f759f9
MR
18772013-11-12 Martin Rudalics <rudalics@gmx.at>
1878
1879 * window.el (display-buffer-other-frame): Fix doc-string.
1880 (Bug#15868)
1881
ecda65d4
SM
18822013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1883
1884 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1885
7ce8fcc3
MA
18862013-11-11 Michael Albinus <michael.albinus@gmx.de>
1887
1888 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1889 (tramp-sh-handle-file-local-copy): Don't write a message when
1890 saving temporary files.
1891
1892 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1893 both directories are remote.
1894 (tramp-smb-handle-directory-files): Do not return double entries.
1895 Do not expand full file names.
1896 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1897 (tramp-smb-handle-write-region): Implement APPEND.
1898 (tramp-smb-get-stat-capability): Fix a stupid bug.
1899
7818df11
SM
19002013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1903
608c2085
NT
19042013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1905
1906 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1907 throwing error over malformed let/let* (bug#15814).
1908
122a7e46
SM
19092013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * iswitchb.el (iswitchb-mode): Mark obsolete.
1912
766284d9
GM
19132013-11-11 Glenn Morris <rgm@gnu.org>
1914
1915 * international/uni-bidi.el, international/uni-category.el:
1916 * international/uni-name.el, international/uni-numeric.el:
1917 Regenerate for Unicode 6.3.0.
1918
7072a4e9
MA
19192013-11-10 Michael Albinus <michael.albinus@gmx.de>
1920
1921 * net/tramp.el (tramp-methods):
1922 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1923 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1924
c9df215b
AS
19252013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1926
608c2085
NT
1927 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1928 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1929
fa47d796
DG
19302013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1931
1932 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1933 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1934 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1935 (ispell-complete-word): Call `ispell-lookup-words' with the value
1936 independent of `ispell-look-p'.
1937
1629a329
DG
19382013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1939
1940 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1941 Not after "||".
1942 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1943 their parent.
1944
ad16897c
SM
19452013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1948 (ruby-font-lock-keywords): Use backquote.
1949
ffa2df72
DG
19502013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1951
1952 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1953 (ruby-smie--backward-token): Only consider full-string matches.
1954
5b97b4c0
JD
19552013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1956
1957 * faces.el (describe-face): Add distant-foreground.
1958
71731c03
BB
19592013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1960
4e9fc48c
BB
1961 * progmodes/ruby-mode.el: Improve encoding comment handling.
1962 (ruby-encoding-magic-comment-style): New option.
1963 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1964 (ruby--insert-coding-comment, ruby--detect-encoding):
1965 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1966 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1967 to control the style of the auto-inserted encoding comment.
71731c03 1968
da3b328d
DG
19692013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1970
ad16897c
SM
1971 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1972 Use `smie-backward-sexp' with token argument.
da3b328d 1973
1606c2d3
MA
19742013-11-08 Michael Albinus <michael.albinus@gmx.de>
1975
1976 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1977 Remove instrumentation code.
1978
b0f4c320
GM
19792013-11-08 Glenn Morris <rgm@gnu.org>
1980
1981 * progmodes/autoconf.el (autoconf-mode):
1982 Tweak comment-start-skip. (Bug#15822)
1983
43668fb1
SM
19842013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1987 at bobp (bug#15826).
1988 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1989
daddb3fd
DH
19902013-11-08 Darren Hoo <darren.hoo@gmail.com>
1991
1992 * man.el (Man-start-calling): New macro, extracted from
1993 Man-getpage-in-background.
1994 (Man-getpage-in-background): Use it.
1995 (Man-update-manpage): New command.
1996 (Man-mode-map): Bind it.
1997
1f923923
DG
19982013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1999
2000 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2001 of "and", "or", "&&" and "||".
2002 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2003 argument. Prohibit opening curly brace because it could only be a
2004 block opener in that position.
daddb3fd
DH
2005 (ruby-smie--forward-token, ruby-smie--backward-token):
2006 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2007 arguments.
2008 (ruby-smie--indent-to-stmt): New function, seeks the end of
2009 previous statement or beginning of buffer.
2010 (ruby-smie-rules): Use it.
2011 (ruby-smie-rules): Check if there's a ":" before a curly block
2012 opener candidate; if there is, it's a hash.
2013
3220d527
SM
20142013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2015
2016 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2017 (cl--block-wrapper): Fix last accidental change.
2018
1eb1f9e0
MA
20192013-11-07 Michael Albinus <michael.albinus@gmx.de>
2020
2021 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2022 Instrument, in order to hunt failure on hydra.
2023
e6e4db3c
NT
20242013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2025
2026 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2027 malformed bindings form (bug#15814).
2028
b420ccfc
DG
20292013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2030
2031 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2032 "." compared to " @ ". This incidentally fixes some indentation
2033 examples with "do".
e6e4db3c 2034 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2035 (ruby-smie-grammar): New tokens: "and" and "or".
2036 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2037 Exclude "and" and "or". Remove "do" in order to work around token
2038 priorities.
2039 (ruby-smie-rules): Add all infix tokens. Handle the case of
2040 beginning-of-buffer.
b420ccfc 2041
6b4ac03e
GM
20422013-11-06 Glenn Morris <rgm@gnu.org>
2043
2044 * Makefile.in (setwins_almost, setwins_for_subdirs):
2045 Avoid accidental matches.
2046
5ca114d1
SM
20472013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * menu-bar.el (popup-menu): Use key-binding.
2050
f72552bd
EZ
20512013-11-06 Eli Zaretskii <eliz@gnu.org>
2052
2053 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2054 menus, support also the menus produced by minor modes.
2055 (Bug#15817)
2056
5d5c701e
LL
20572013-11-06 Leo Liu <sdl.web@gmail.com>
2058
2059 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2060 DISTANCE to bound the search. All uses changed. (Bug#15808)
2061
0a8b75e2
GM
20622013-11-06 Glenn Morris <rgm@gnu.org>
2063
2064 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2065 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2066 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2067
a35287ea
SM
20682013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2069
feca4e2d
SM
2070 * electric.el (electric-indent-just-newline): New command.
2071 (electric-indent-mode-map): New keymap.
2072 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2073 Re-add :group which weren't redundant.
2074
a35287ea
SM
2075 * electric.el (electric-indent-local-mode): New minor mode.
2076 (electric-indent-functions-without-reindent): New var.
2077 (electric-indent-post-self-insert-function): Use it.
2078 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2079
375761b2
EZ
20802013-11-05 Eli Zaretskii <eliz@gnu.org>
2081
9a6ad735
EZ
2082 * international/quail.el (quail-help): Be more explicit about the
2083 meaning of the labels shown on the keys. (Bug#15800)
2084
375761b2
EZ
2085 * startup.el (normal-top-level): Load the subdirs.el files before
2086 setting the locale environment. (Bug#15805)
2087
520a6e4a
SM
20882013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2089
0acfafef
SM
2090 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2091 via arguments so as to get the right ones (bug#15418).
2092
520a6e4a
SM
2093 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2094
15826261
MA
20952013-11-05 Michael Albinus <michael.albinus@gmx.de>
2096
2097 Fix problems found while writing a test suite.
2098
2099 * net/tramp-compat.el (tramp-compat-load): New defun.
2100 * net/tramp.el (tramp-handle-load): Use it.
2101
2102 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2103 "(numberp ok-if-already-exists)" correctly.
2104
d35f31a4
XF
21052013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2106
2107 * international/characters.el (glyphless-char-display-control):
2108 Add usage note.
2109
ae93bc74
BB
21102013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2111
520a6e4a
SM
2112 * progmodes/python.el (python-mode):
2113 * progmodes/scheme.el (scheme-mode):
2114 * progmodes/prolog.el (prolog-mode):
2115 * progmodes/ruby-mode.el (ruby-mode):
2116 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2117 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2118
0ade65b5
SM
21192013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2120
a0d5f7a4
SM
2121 * rect.el (rectangle--highlight-for-redisplay):
2122 * emacs-lisp/smie.el (smie--next-indent-change):
2123 Use buffer-chars-modified-tick.
2124
c93f3f5c
SM
2125 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2126
0ade65b5
SM
2127 * electric.el (electric-indent-post-self-insert-function):
2128 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2129
ef9dd188
HE
21302013-11-04 Helmut Eller <eller.helmut@gmail.com>
2131
2132 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2133
306e7308
NT
21342013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2135
2136 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2137 (bug#15786).
2138
e5afbcac
SM
21392013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2140
1d01ad41
SM
2141 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2142
e5afbcac
SM
2143 * progmodes/python.el: Fix up last change.
2144 (python-shell--save-temp-file): New function.
2145 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2146 `string' comes from the current buffer.
2147 (python-shell-send-string-no-output): Remove `msg' arg.
2148 (python--use-fake-loc): New var.
2149 (python-shell-buffer-substring): Obey it. Try to compensate for the
2150 extra coding line added by python-shell--save-temp-file.
2151 (python-shell-send-region): Use python-shell--save-temp-file and
2152 python-shell-send-file directly. Add `nomain' argument.
2153 (python-shell-send-buffer): Use python-shell-send-region.
2154 (python-electric-pair-string-delimiter): New function.
2155 (python-mode): Use it.
2156
d0065ff1
EZ
21572013-11-04 Eli Zaretskii <eliz@gnu.org>
2158
2159 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2160 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2161 environment and decoding all of the default-directory's to here
2162 from command-line.
2163 (command-line): Decode also argv[0].
2164
2165 * loadup.el: Error out if default-directory is a multibyte string
2166 when we are dumping.
2167
2168 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2169
7397c587
TZ
21702013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2171
2172 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2173 (package-menu--print-info, package-menu--archive-predicate):
2174 Add Archive column to package list.
7397c587 2175
b27cc9fc
MA
21762013-11-04 Michael Albinus <michael.albinus@gmx.de>
2177
2178 Fix problems found while writing a test suite.
2179
2180 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2181 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2182 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2183 to nil when running original file name handler. Otherwise,
2184 there are problems with constructs like "$$FOO".
2185
2186 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2187 for `localname'.
2188
d8c4f18a
BB
21892013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2190
7b530552
BB
2191 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2192
2193 * subr.el (version<, version<=, version=):
2194 Update docstrings with information for snapshot versions.
2195
d8c4f18a
BB
2196 * helpers.el: New library for misc helper functions.
2197 (hash-table-keys): New function returning a list of hash keys.
2198 (hash-table-values): New function returning a list of hash values.
2199
dca01b09
DG
22002013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2201
2202 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2203 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2204
0a749fa0
MN
22052013-11-04 Michal Nazarewicz <mina86@mina86.com>
2206
2207 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2208 checking whether point is after a 1-letter word.
2209
22102013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2211
2212 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2213 Don't infloop when expanding region over `multiline' syntax-type that
2214 begins a line (bug#15778).
2215
4aca7145
SM
22162013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2217
2218 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2219 Make it into a proper minor mode.
2220 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2221 (rectangle-mark-mode-map): New keymap.
2222 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2223
a0833f62
GM
22242013-11-04 Glenn Morris <rgm@gnu.org>
2225
2226 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2227
e61845c1
SM
22282013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2229
2230 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2231 (ruby-smie-rules): Use smie-rule-parent instead.
2232
2233 * emacs-lisp/smie.el (smie-rule-parent): Always call
2234 smie-indent-virtual rather than only for hanging tokens.
2235 (smie--next-indent-change): New helper command.
2236
62942f89
GM
22372013-11-03 Glenn Morris <rgm@gnu.org>
2238
2239 * Makefile.in (abs_srcdir): Remove.
2240 (emacs): Unset EMACSLOADPATH.
2241
b0b9e592
GM
22422013-11-02 Glenn Morris <rgm@gnu.org>
2243
18ba6a33 2244 * Makefile.in (EMACS): Use a relative filename.
8061810d 2245 (abs_top_builddir): Remove.
18ba6a33
GM
2246 (custom-deps, finder-data, autoloads): Use --chdir.
2247
6a8b929e
GM
2248 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2249
c617f3d0
GM
2250 Use relative filenames in TAGS files.
2251 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2252 (lisptagsfiles4, TAGS): Use relative file names.
2253 (TAGS-LISP): Remove.
2254 (maintainer-clean): No more TAGS-LISP file.
2255
b0b9e592
GM
2256 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2257 (lisptagsfiles4): Use absolute filenames again.
2258 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2259 Remove all *loaddefs files, not just the first. Remove esh-groups.
2260 (maintainer-clean): Delete TAGS, TAGS-LISP.
2261
d1c0ea6a
BB
22622013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2263
e61845c1
SM
2264 * emacs-lisp/package.el (package-version-join):
2265 Recognize snapshot versions.
d1c0ea6a 2266
684d71c6
BB
22672013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2268
2269 * subr.el (version-regexp-alist): Add support for snapshot versions.
2270
3d42b968
DG
22712013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2272
e61845c1
SM
2273 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2274 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2275 skip over our direct parent if it's an assignment token..
2276 (ruby-smie-rules): Use it.
2277
7ffd3721
DG
22782013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2279
2280 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2281 unconditionally. Remove now unnecessary forward declarations.
2282 Remove XEmacs-specific setup.
2283 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2284 (ruby-font-lock-syntactic-keywords)
2285 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2286 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2287 (ruby-here-doc-end-syntax): Remove.
2288 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2289 defined as function.
2290
a3996a2e
BB
22912013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2292
2293 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2294
6f9260e8
BB
22952013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2296
2297 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2298 table and abbrev table, `define-derived-mode' does that for us
2299 anyway.
2300
6014de84
GM
23012013-11-01 Glenn Morris <rgm@gnu.org>
2302
2303 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2304 files is atomic for some time, so no parallel compilation issues).
2305
3c334c14
JD
23062013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2307
2308 * faces.el (face-x-resources): Add :distant-foreground.
2309 (region): Use :distant-foreground for gtk and ns.
2310
9bc236c8
TH
23112013-11-01 Tassilo Horn <tsdh@gnu.org>
2312
5246583b 2313 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2314 BibTeX.
2315 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2316 (reftex-locate-bibliography-files): Us it.
2317
d14c81ee
CB
23182013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2319
0e7690de
CB
2320 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2321 allow comments in pbm files.
2322
d14c81ee
CB
2323 * term/w32-win.el (dynamic-library-alist): Support newer versions
2324 of libjpeg starting with v7: look only for the DLL from the
2325 version against which Emacs was built.
ac1bf374 2326 Support versions of libpng beyond 1.4.x.
019c8218 2327 Support libtiff v4.x.
d14c81ee 2328
983d0df5
BB
23292013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2330
2331 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2332 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2333 Add property :safe.
2334 (ruby-deep-arglist): Add property :type.
2335
47f58d85
GM
23362013-10-31 Glenn Morris <rgm@gnu.org>
2337
2338 * Makefile.in (custom-deps, finder-data): No need to setq the target
2339 variables, we are in the right directory and the defaults work fine.
2340
4f85b479
GM
23412013-10-30 Glenn Morris <rgm@gnu.org>
2342
ca7dd4cd
GM
2343 * Makefile.in (autoloads): Do not use abs_lisp.
2344
4f85b479
GM
2345 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2346 `newline' does not respect `standard-output', so use `princ'.
2347
cf59e41c
AA
23482013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2349
2350 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2351 * buff-menu.el (Buffer-menu--unmark): New function.
2352 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2353
74cf04fb
GM
23542013-10-30 Glenn Morris <rgm@gnu.org>
2355
b040b60e
GM
2356 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2357
f53d3815
GM
2358 * emacs-lisp/package.el (lm-homepage): Declare.
2359
5413d873
GM
2360 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2361 Fix doc typos.
2362
cecedb36
GM
2363 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2364
74cf04fb
GM
2365 * Makefile.in (finder-data, autoloads, update-subdirs)
2366 (compile-main, compile-clean, compile-always, bootstrap-clean):
2367 Check return value of cd.
2368 (compile-calc): Remove.
2369
195ee2f0
SM
23702013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2371
ae4002ce
SM
2372 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2373
2374 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2375 (byte-compile-and-folded): New function.
2376 (=, <, >, <=, >=): Use it.
2377
2378 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2379 (path-separator, null-device, buffer-file-coding-system)
2380 (lpr-headers-switches): Check system-type before modifying them.
2381 (find-buffer-file-type-coding-system): Mark obsolete.
2382 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2383 find-file-not-found-set-buffer-file-coding-system.
2384 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2385 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2386 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2387 (w32-direct-print-region-helper, w32-direct-print-region-function)
2388 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2389 * startup.el (normal-top-level-add-subdirs-to-load-path):
2390 * ps-print.el (ps-print-region-function):
2391 * lpr.el (print-region-function): Use new name.
2392
53b39e89
SM
2393 * subr.el (custom-declare-variable-early): Remove function.
2394 (custom-declare-variable-list): Remove var.
2395 (error, user-error): Remove `while' loop.
2396 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2397 (user-emacs-directory-warning, locate-user-emacs-file):
2398 Move to files.el.
2399 * simple.el (read-quoted-char-radix, read-quoted-char):
2400 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2401 Move from subr.el.
2402 * custom.el (custom-declare-variable-list): Don't process
2403 custom-declare-variable-list.
2404
195ee2f0
SM
2405 * progmodes/python.el (python-shell-get-buffer): New function.
2406 (python-shell-get-process): Use it.
2407 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2408 Python which encoding was used. Don't split-string since we only care
2409 about the first line. Return the temp-file, if applicable.
2410 (python-shell-send-region): Tell compile.el how to turn locations in
2411 the temp-file into locations in the source buffer.
2412
7e3561ee
SM
24132013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2414
4c9797cb
SM
2415 * subr.el (undefined): Add missing behavior from the C code for
2416 unbound keys.
2417
3472b6c6
SM
2418 * rect.el: Use lexical-binding. Add new rectangular region support.
2419 (rectangle-mark): New command.
2420 (rectangle--region): New var.
2421 (deactivate-mark-hook): Reset rectangle--region.
2422 (rectangle--extract-region, rectangle--insert-for-yank)
2423 (rectangle--highlight-for-redisplay)
2424 (rectangle--unhighlight-for-redisplay): New functions.
2425 (region-extract-function, redisplay-unhighlight-region-function)
2426 (redisplay-highlight-region-function): Use them to handle
2427 rectangular region.
2428 * simple.el (region-extract-function): New var.
2429 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2430 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2431 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2432 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2433 (redisplay-unhighlight-region-function)
2434 (redisplay-highlight-region-function): New vars.
2435 (redisplay--update-region-highlight): New function.
2436 (pre-redisplay-function): Use it.
2437 (exchange-point-and-mark): Don't deactivate the mark before
2438 reactivate-it anyway.
2439 * comint.el (comint-kill-region): Remove yank-handler argument.
2440 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2441 (delete-char): Remove property, since it's now part of their
2442 default behavior.
2443 (self-insert-iso): Remove property since this command doesn't exist.
2444
7e3561ee
SM
2445 * emacs-lisp/package.el (package--download-one-archive)
2446 (describe-package-1): Don't query the user about final newline.
2447
b9bef71f
DC
24482013-10-29 Daniel Colascione <dancol@dancol.org>
2449
2450 * net/tramp.el (tramp-methods): Document new functionality.
2451 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2452 tramp-hostname-checker if method provides one instead of scanning
2453 argument list for "%h" to decide hostname acceptability.
2454
4efc33f0
MA
24552013-10-28 Michael Albinus <michael.albinus@gmx.de>
2456
2457 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2458 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2459 Handle COPY-CONTENTS. (Bug#15737)
2460
ed42a877
DU
24612013-10-28 Daiki Ueno <ueno@gnu.org>
2462
2463 * epa-file.el
7e3561ee
SM
2464 (epa-file-cache-passphrase-for-symmetric-encryption):
2465 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2466
18c9f8a2
XF
24672013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2468
7a4bc7be
XF
2469 * image.el (defimage):
2470 (image-load-path): Doc fixes.
18c9f8a2 2471
b1e8e010
AM
24722013-10-27 Alan Mackenzie <acm@muc.de>
2473
2474 Indent statements in macros following "##" correctly.
7e3561ee
SM
2475 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2476 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2477
73d40d1e 24782013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2479
2480 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2481
c8c605ac
DG
24822013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2483
2484 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2485 after `=' is probably a new expression.
2486
ca7e59d4
RS
24872013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2488
2489 * man.el (man-imenu-title): New option.
2490 (Man-mode-map): Add menu. (Bug#15722)
2491 (Man-mode): Add imenu to menu.
2492
bae91342
DG
24932013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2494
2495 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2496 specific in what the first arg can be: a non-keyword word,
2497 string/regexp/percent literal opener, opening paren, or unary
2498 operator followed directly by word.
2499
eb89dc14
SM
25002013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2503 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2504 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2505 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2506 Remove vars, they do not apply any more.
2507 (prolog-mode-abbrev-table): Remove redundant declaration.
2508 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2509 (prolog-use-smie): Remove.
2510 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2511 supported by prolog-electric-if-then-else-flag.
2512 (prolog-mode-variables, prolog-menu): Use setq-local.
2513 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2514 Remove binding to `Backspace' since this key doesn't exist anyway.
2515 Remove bindings for electric self-inserting keys.
2516 (prog-mode): Assume it's defined.
2517 (prolog-post-self-insert): New function.
2518 (prolog-mode): Use it.
2519 (prolog-indent-line, prolog-indent-level)
2520 (prolog-find-indent-of-matching-paren)
2521 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2522 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2523 (prolog-goto-next-paren, prolog-in-string-or-comment)
2524 (prolog-tokenize, prolog-inside-mline-comment)
2525 (prolog-find-start-of-mline-comment): Remove functions.
2526 (prolog-find-unmatched-paren, prolog-clause-end)
2527 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2528 (prolog-electric--if-then-else): Rename from
2529 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2530 (prolog-tokenize-searchkey): Remove const.
2531 (prolog-clause-info): Use forward-sexp.
2532 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2533 (prolog-electric-if-then-else): Remove commands.
2534 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2535 for use in post-self-insert-hook.
2536 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2537 for use in post-self-insert-hook.
2538 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2539 for use in post-self-insert-hook.
2540 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2541 adapt it for use in post-self-insert-hook.
2542
3dab0a83
MA
25432013-10-25 Michael Albinus <michael.albinus@gmx.de>
2544
2545 * emacs-lisp/ert.el (ert-run-tests-interactively):
2546 Use `completing-read'. (Bug#9756)
2547
fbfd0e1d
EZ
25482013-10-25 Eli Zaretskii <eliz@gnu.org>
2549
2550 * simple.el (line-move): Call line-move-1 instead of
2551 line-move-visual when the current window hscroll is zero, but
2552 temporary-goal-column indicates we will need to hscroll as result
2553 of the movement. (Bug#15712)
2554
963ce636
DG
25552013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2556
2557 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2558 capitalization. Use :visible instead of :active.
2559 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2560 commands that are used with SMIE.
2561 (ruby-do-end-to-brace): Insert space after `{'.
2562
a0be396a
JA
25632013-10-25 John Anthony <john@jo.hnanthony.com>
2564
f73754c9
JA
2565 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2566
2567 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2568
f5bf77df
GM
25692013-10-25 Glenn Morris <rgm@gnu.org>
2570
2571 * vc/vc.el (vc-print-log): Don't use a working revision unless
2572 one was explicitly specified. (Bug#15322)
2573
37241f62
SM
25742013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * subr.el (add-to-list): Preserve return value in compiler-macro
2577 (bug#15692).
2578
6408a65d
RS
25792013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2580
2581 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2582 result. Ask user to retry using '-all' flag. (Bug#15701)
2583
71e3276b
SM
25842013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * emacs-lisp/smie.el: New smie-config system.
2587 (smie-config): New defcustom.
2588 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2589 (smie-config-guess, smie-config-save): New commands.
2590 (smie-config--mode-local, smie-config--buffer-local)
2591 (smie-config--trace, smie-config--modefuns): New vars.
2592 (smie-config--advice, smie-config--mode-hook)
2593 (smie-config--setter, smie-config-local, smie-config--get-trace)
2594 (smie-config--guess-value, smie-config--guess): New functions.
2595 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2596 text properties. Treat "string fence" syntax like string syntax.
2597
2598 * progmodes/sh-script.el (sh-use-smie): Change default.
2599 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2600 (sh-var-value): Simplify by CSE.
2601 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2602 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2603 is used.
2604 (sh-guess-basic-offset): Use cl-incf.
2605 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2606
60db713e
HE
26072013-10-24 Helmut Eller <eller.helmut@gmail.com>
2608
2609 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2610 (bug#15699).
2611
8b251df6
GM
26122013-10-24 Glenn Morris <rgm@gnu.org>
2613
2614 * Makefile.in (abs_top_srcdir): Remove.
2615 (update-subdirs): Use relative path to update-subdirs.
2616
6be0e22b
EZ
26172013-10-24 Eli Zaretskii <eliz@gnu.org>
2618
2619 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2620 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2621 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2622 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2623
50b5b857
MA
26242013-10-24 Michael Albinus <michael.albinus@gmx.de>
2625
2626 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2627 (ert-test-skipped): New error.
2628 (ert-skip, ert-stats-skipped): New defuns.
2629 (ert--skip-unless): New macro.
2630 (ert-test-skipped): New struct.
2631 (ert--run-test-debugger, ert-test-result-type-p)
2632 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2633 (ert--stats-set-test-and-result, ert-char-for-test-result)
2634 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2635 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2636 Handle skipped tests. (Bug#9803)
50b5b857 2637
6f317c2f
GM
26382013-10-24 Glenn Morris <rgm@gnu.org>
2639
e43817c1
GM
2640 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2641
6f317c2f
GM
2642 * Makefile.in (abs_top_srcdir): New, set by configure.
2643 (update-subdirs): Correct build-aux location.
2644
369bbf71
DG
26452013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2646
8297b2cf
DG
2647 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2648 value, whether we could auto-deduce `backend', or not.
2649
369bbf71
DG
2650 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2651 with parameters" example. Simplify the "is it block or is it
2652 hash" check, but also make it more thorough.
2653
d5f1282f
MF
26542013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2655
2656 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2657
bc4aaa31
SM
26582013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2659
03d44565
SM
2660 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2661 { if it is hanging.
2662
bc4aaa31
SM
2663 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2664 :before ";".
2665
f493ff19
JB
26662013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2667
2668 * progmodes/compile.el (compilation-directory-matcher)
2669 (compilation-page-delimiter):
2670 Support GNU Make-4.0 directory quoting. (Bug#15678)
2671
c744a3b9
LL
26722013-10-23 Leo Liu <sdl.web@gmail.com>
2673
2674 * ido.el (ido-tidy): Handle read-only text.
2675
b8e3b0a9
GM
26762013-10-23 Glenn Morris <rgm@gnu.org>
2677
2678 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2679 (emacs, compile, compile-always):
2680 Quote entities that might contain whitespace.
2681 (custom-deps, finder-data, autoloads): Use abs_lisp.
2682 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2683 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2684 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2685
ee4282cd
DG
26862013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2687
bc4aaa31
SM
2688 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2689 Use `following-char'.
7790a270 2690
ee4282cd 26912013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2692
2693 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2694 * progmodes/ruby-mode.el (ruby-smie-rules):
2695 Remove corresponding workaround. Fix indentation rule of ";" so it
2696 also applies when ";" is the parent.
2697
d40a46d7
XF
26982013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2699
2700 * frame.el (display-screens, display-pixel-height)
2701 (display-pixel-width, display-mm-width, display-backing-store)
2702 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2703 (display-visual-class, display-monitor-attributes-list):
2704 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2705
a0f143c9
MG
27062013-10-22 Michael Gauland <mikelygee@amuri.net>
2707
2708 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2709 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2710
18cacc39
DG
27112013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2712
2713 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2714 TODO. Add "." after " @ ".
2715 (ruby-smie--at-dot-call): New function. Checks if point at method
2716 call with explicit target.
2717 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2718 to the method name tokens when it precedes them.
2719 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2720 (ruby-smie-rules): Add rule for indentation before and after "."
2721 token.
2722
df74c4be
SM
27232013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2724
c6dab55f
SM
2725 * textmodes/remember.el (remember-diary-extract-entries):
2726 Avoid add-to-list.
2727
df74c4be
SM
2728 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2729 an instruction.
2730
8c1ae481
DG
27312013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2732
cfef16c0
DG
2733 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2734 (ruby-smie--implicit-semi-p): Add new operator chars.
2735
8c1ae481
DG
2736 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2737 `smie-down-list'.
2738 (ruby-smie--args-separator-p): Check that there's no newline
2739 between method call and its arguments.
2740
87756ca9
AM
27412013-10-20 Alan Mackenzie <acm@muc.de>
2742
2743 Allow comma separated lists after Java "implements".
2744
df74c4be
SM
2745 * progmodes/cc-engine.el (c-backward-over-enum-header):
2746 Parse commas.
87756ca9
AM
2747 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2748 from a "disallowed" list in enum fontification.
2749
c25f8957
JB
27502013-10-20 Johan Bockgård <bojohan@gnu.org>
2751
df74c4be 2752 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2753
c25f8957
JB
2754 * progmodes/verilog-mode.el (verilog-mode): Don't set
2755 comment-indent-function globally.
2756
aca5fcdc
JD
27572013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2758
5f161884
JD
2759 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2760 Move Info menu item creation to ns-win.el.
2761
2762 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2763 in menu bar.
2764
aca5fcdc
JD
2765 * menu-bar.el: Move GNUStep specific menus...
2766
2767 * term/ns-win.el (ns-initialize-window-system): ... to here.
2768
914b7f98
SM
27692013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * simple.el (newline): Only run post-self-insert-hook when
2772 called interactively.
2773
846ffe77
JB
27742013-10-19 Johan Bockgård <bojohan@gnu.org>
2775
2776 * icomplete.el (icomplete-with-completion-tables): Add :version.
2777
033f22dd
AM
27782013-10-19 Alan Mackenzie <acm@muc.de>
2779
2780 Fix fontification bugs with constructors and const.
2781
2782 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2783 CASE 2) Remove the check for the absence of a suffix construct
2784 after a function declaration with only types (no identifiers) in
2785 the parentheses. Also, accept a function declaration with just a
2786 type inside the parentheses, if this type can be positively
2787 recognised as such, or if a prefix keyword like "explicit" nails
2788 down the construct as a declaration.
2789
58ce0cfc
EZ
27902013-10-19 Eli Zaretskii <eliz@gnu.org>
2791
2792 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2793 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2794 the problem whereby selecting a menu item that leads to a
2795 minibuffer prompt moves the cursor out of the minibuffer window,
2796 making it hard to type at the prompt. Suggested by Stefan Monnier
2797 <monnier@iro.umontreal.ca>.
2798
50e28e7d
JD
27992013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2800
2801 * menu-bar.el: Don't make Services menu.
2802
7deed4bf
RS
28032013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2804
2805 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2806 (ffap-alist): Use ffap-c++-mode for c++-mode.
2807 (ffap-c++-path): New variable.
2808 (ffap-c++-mode): New function.
2809
7bcb455b
JVJ
28102013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2811
2812 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2813
f0ff1cd5
MA
28142013-10-18 Michael Albinus <michael.albinus@gmx.de>
2815
2816 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2817 introduced on 2013-09-08, which results in an infinite loop
2818 requesting a password.
2819
d64da4b7
GM
28202013-10-18 Glenn Morris <rgm@gnu.org>
2821
2822 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2823
ea89ff08
WS
28242013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2825
2826 Sync with upstream verilog-mode revision 1a6ecec7.
2827 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2828 (verilog-mode-release-date): Remove.
2829 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2830 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2831 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2832 (verilog-auto-tieoff-ignore-regexp)
2833 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2834 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2835 (verilog-signals-with, verilog-dir-cache-preserving)
2836 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2837 Doc fixes.
2838 (verilog-case-fold): New option, to control case folding in
2839 regexp searches, bug597.
2840 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2841 (verilog-string-match-fold, verilog-in-paren-count)
2842 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2843 (verilog-at-close-struct-p): New functions.
2844 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2845 (verilog-forward-sexp, verilog-set-auto-endcomments):
2846 (verilog-leap-to-case-head): Handle "unique0" case.
2847 (verilog-in-constraint-re): New constant.
2848 (verilog-keywords, verilog-type-font-keywords):
2849 Add some SystemVerilog 1800-2012 keywords.
2850 (verilog-label-be): Remove unimplemented argument, bug669.
2851 (verilog-batch-execute-func): When batch expanding clear
2852 create-lockfiles to prevent spurious user locks when a file ends
2853 up not changing.
2854 (verilog-calculate-indent, verilog-calc-1)
2855 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2856 (verilog-do-indent): Fix indentation of nested constraints
2857 and structures.
2858 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2859 (verilog-auto-inst-param): Use verilog-string-match-fold.
2860 (verilog-read-inst-module-matcher):
2861 Fix AUTOINST on gate primitives with #1.
2862 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2863 Reads all user-defined typed variables.
2864 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2865 (verilog-signals-matching-regexp)
2866 (verilog-signals-not-matching-regexp, verilog-auto):
2867 Respect verilog-case-fold.
2868 (verilog-diff-report): Fix line count.
2869 (verilog-auto-assign-modport): Remove unused local `modi'.
2870 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2871 better handle multidimensional arrays.
2872 Fix packed array ports misadding bit index in AUTOINST, bug637.
2873 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2874 to not double-declare existing outputs and inputs, respectively.
2875 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2876 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2877 (verilog-sk-uvm-component): New skeleton.
2878 (verilog-submit-bug-report): Add verilog-case-fold,
2879 remove verilog-mode-release-date.
2880
ef566920
BR
28812013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2882
2883 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2884 as before.
2885
29df8a0b
RT
28862013-10-18 Reuben Thomas <rrt@sc3d.org>
2887
e0eb0550 2888 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
2889 remember buffers (bug#13566).
2890
04a19a79
DC
28912013-10-18 Daniel Colascione <dancol@dancol.org>
2892
2893 When evaluating forms in ielm, direct standard output to ielm
2894 buffer. Add new ielm-return-for-effect command. Remove trailing
2895 whitespace throughout.
2896
2897 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2898 (ielm-return-for-effect): New command.
2899 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2900 (ielm-eval-input): Accept optional `for-effect' parameter.
2901 Bind `standard-output' to stream we create using
04a19a79
DC
2902 `ielm-standard-output-impl'. Suppress printing result when
2903 `for-effect'.
2904 (ielm-standard-output-impl): New function.
2905 (inferior-emacs-lisp-mode): Explain new features in documentation.
2906
4c1f03ef
MA
29072013-10-17 Michael Albinus <michael.albinus@gmx.de>
2908
2909 Code cleanup.
2910
2911 * net/tramp.el (tramp-debug-message): Do not check for connection
2912 buffer.
2913 (tramp-message): Use "vector" connection property.
2914
2915 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2916 (tramp-equal-remote, tramp-eshell-directory-change)
2917 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2918 (tramp-adb-handle-rename-file)
2919 * net/tramp-cmds.el (tramp-list-remote-buffers)
2920 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2921 * net/tramp-compat.el (tramp-compat-process-running-p)
2922 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2923 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2924 (tramp-gvfs-handle-rename-file)
2925 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2926 (tramp-set-file-uid-gid)
2927 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2928 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2929 of `file-remote-p'.
2930
2931 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2932 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2933 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2934 (tramp-gw-open-network-stream): Suppress unrelated traces.
2935
2936 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2937 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2938 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2939 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2940 connection property.
2941
2942 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2943 persistency file.
4c1f03ef
MA
2944
2945 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2946 Refactor common code. Improve debug message.
2947 (tramp-maybe-open-connection)
2948 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2949 connection buffer too early.
2950
2951 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2952 from `tramp-smb-actions-with-acl'.
2953 (tramp-smb-actions-set-acl): New defconst.
2954 (tramp-smb-handle-copy-directory)
2955 (tramp-smb-action-get-acl): New defun, renamed from
2956 `tramp-smb-action-with-acl'.
2957 (tramp-smb-action-set-acl): New defun.
2958 (tramp-smb-handle-set-file-acl): Rewrite.
2959
642eb8b6
GM
29602013-10-17 Glenn Morris <rgm@gnu.org>
2961
2962 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2963
85527ff3
SM
29642013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2965
921c1d62
SM
2966 * skeleton.el (skeleton-newline): Remove.
2967 (skeleton-internal-1): Use (insert "\n") instead.
2968
e333fb10
SM
2969 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2970 let-bindings.
2971
85527ff3
SM
2972 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2973 forward-sexp-function while we redo its job (bug#15613).
2974
c8722a97
JB
29752013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2976
2977 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2978 represented by lists.
2979
7a550bbb
GM
29802013-10-16 Glenn Morris <rgm@gnu.org>
2981
2982 * tmm.el (tmm--history): New dynamic variable.
2983 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2984
f19da8ad
MA
29852013-10-16 Michael Albinus <michael.albinus@gmx.de>
2986
2987 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2988 (tramp-smb-errors): Add error messages.
2989 (tramp-smb-actions-with-acl): New defconst.
2990 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2991 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2992 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2993 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2994 (tramp-smb-get-stat-capability): Fix tests.
2995
a24b9961
DK
29962013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2997
2998 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2999 (bug#15580).
3000
62ad85e6
GM
30012013-10-16 Glenn Morris <rgm@gnu.org>
3002
0283d6b0
GM
3003 * ansi-color.el (ansi-color-drop-regexp):
3004 Add 1J, 1K, 2K. (Bug#15617)
3005
012e2f9f
GM
3006 * files.el (hack-local-variables--warned-lexical): New.
3007 (hack-local-variables):
3008 Warn about misplaced lexical-binding. (Bug#15616)
3009
62ad85e6
GM
3010 * net/eww.el (eww-render): Always set eww-current-url,
3011 and update header line. (Bug#15622)
3012 (eww-display-html): ... Rather than just doing it here.
3013
6456c0ea
EZ
30142013-10-15 Eli Zaretskii <eliz@gnu.org>
3015
3016 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3017 menu navigations commands.
3018
c2de5588
DK
30192013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3020
3021 * progmodes/subword.el (subword-capitalize): Be careful when
3022 the search for [[:alpha:]] fails (bug#15580).
3023
ccd4a783
EZ
30242013-10-14 Eli Zaretskii <eliz@gnu.org>
3025
3026 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3027 to commands that scroll the menu.
3028
1eda1d8d
DG
30292013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3030
c2de5588
DK
3031 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3032 Handle methods ending with `?' and `!'.
1eda1d8d 3033
e70181b8
AM
30342013-10-14 Akinori MUSHA <knu@iDaemons.org>
3035
3036 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3037 `japanese-cp932' to `cp932' to fix the problem where saving a
3038 source file written in Shift_JIS twice would end up having
3039 `coding: japanese-cp932' which Ruby could not recognize.
3040 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3041 in `ruby-encoding-map'.
3042 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3043 doesn't need to be explicitly declared in magic comment.
3044 (ruby-encoding-map): Add type declaration for better customize UI.
3045
9148ee92
GM
30462013-10-13 Glenn Morris <rgm@gnu.org>
3047
a5d38e34
GM
3048 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3049 Occur buffers are read-only. http://bugs.debian.org/720775
3050
9148ee92
GM
3051 * emacs-lisp/authors.el (authors-fixed-entries):
3052 Comment out old alpha stuff.
3053
a9ba094b
DG
30542013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3055
3056 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3057 to `after-save-hook' instead of `before-save-hook'.
3058 (ruby-mode-set-encoding): Use the value of coding system used to
3059 write the file. Call `basic-save-buffer-1' after modifying the
3060 buffer.
3061
7a068717
AM
30622013-10-13 Alan Mackenzie <acm@muc.de>
3063
3064 Fix indentation/fontification of Java enum with
3065 "implements"/generic.
3066
c2de5588
DK
3067 * progmodes/cc-engine.el (c-backward-over-enum-header):
3068 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3069 (c-inside-bracelist-p): Uses new function above.
3070 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3071 function above.
3072 (c-font-lock-enum-tail): Uses new function above.
3073
85b64f02
KH
30742013-10-13 Kenichi Handa <handa@gnu.org>
3075
3076 * international/mule-cmds.el (select-safe-coding-system): Remove a
3077 superfluous condition in chekcing whether a coding system is safe
3078 or not.
3079
fc7f501b
OK
30802013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3081
3082 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3083
fdcb2049
AP
30842013-10-13 Andreas Politz <politza@hochschule-trier.de>
3085
3086 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3087
8c106d17
GM
30882013-10-13 Glenn Morris <rgm@gnu.org>
3089
feab892d
GM
3090 * menu-bar.el (menu-bar-update-buffers):
3091 Unify Buffers menu prompt string. (Bug#15576)
3092
b22d0686
GM
3093 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3094
8c106d17
GM
3095 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3096 Add some entries.
3097 (authors-fixed-entries): Use accented form of name.
3098
1b12c797
SM
30992013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3100
650fa7bf 3101 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3102 method calls (bug#15594).
650fa7bf
SM
3103 (ruby-smie--args-separator-p): New function.
3104 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3105 recognize paren-free method calls.
3106
1b12c797
SM
3107 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3108 internals of universal-argument.
3109
029619c8
EZ
31102013-10-11 Eli Zaretskii <eliz@gnu.org>
3111
3112 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3113 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3114 dropped menu on second mouse click on the menu bar.
029619c8 3115
dd070019
SM
31162013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3117
3118 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3119 (explicit-shell-file-name): Declare.
3120 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3121 (sh-completion-at-point-function): New function.
3122 (sh-mode): Use it.
3123 (sh-smie--keyword-p): Remove unused argument.
3124 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3125 vars.
3126 (sh-set-shell): Always setup SMIE, even if we use the
3127 old indentation code.
3128
0922b826
DG
31292013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3130
b68e2926
DG
3131 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3132 cases of ? and =.
3133 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3134 predicate would return nil are almost non-existent.
3135 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3136
0922b826
DG
3137 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3138 cache also after commands that modify the buffer but don't move
3139 point.
3140
ee041f2d
SM
31412013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3142
3143 * env.el (substitute-env-in-file-name): New function.
3144 (substitute-env-vars): Extend the meaning of the optional arg.
3145
a5dab159
EZ
31462013-10-10 Eli Zaretskii <eliz@gnu.org>
3147
3148 * term/w32-win.el (dynamic-library-alist): Define separate lists
3149 of GIF DLLs for versions before and after 5.0.0 of giflib.
3150 (Bug#15531)
3151
0449d6cd 31522013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3153
3154 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3155 not locked, use last revision and current source as
3156 defaults. (Bug#15569)
3157
2f6e161e
MY
31582013-10-10 Masatake YAMATO <yamato@redhat.com>
3159
3160 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3161 menu-bar is hidden.
3162
6c8413fc
MR
31632013-10-10 Martin Rudalics <rudalics@gmx.at>
3164
3165 * window.el (pop-to-buffer-same-window): Fix doc-string.
3166 (Bug#15492)
3167
20832de0
SM
31682013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3171
c6e8ae77
AC
31722013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3173
3174 * calendar/icalendar.el (icalendar-import-file):
3175 Fix interactive spec. (Bug#15482)
3176
9db13baf
GM
31772013-10-10 Glenn Morris <rgm@gnu.org>
3178
9271e90e
GM
3179 * desktop.el (desktop-save): Default to saving in .emacs.d,
3180 since PWD is no longer in desktop-path by default. (Bug#15319)
3181
9db13baf
GM
3182 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3183 now that text mode has a menu with the same entry.
3184 (menu-bar-text-mode-auto-fill): Remove now unused func.
3185 * textmodes/text-mode.el (text-mode-map):
3186 Use auto-fill help text from menu-bar.el.
3187
a0be396a 31882013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3189
3190 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3191
2edcd3c7
JL
31922013-10-09 Juri Linkov <juri@jurta.org>
3193
3194 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3195 instead of this-command-keys. Add universal-argument-more and
3196 universal-argument-minus to the list of prefix commands. (Bug#15568)
3197
574411d0
GM
31982013-10-09 Glenn Morris <rgm@gnu.org>
3199
14afa541
GM
3200 * vc/vc-svn.el (vc-svn-create-repo):
3201 Expand paths in file://... url. (Bug#15446)
3202
574411d0
GM
3203 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3204 Add some entries.
3205 (authors): Remove unused local variables.
3206
79804536
SM
32072013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * profiler.el: Create a more coherent calltree from partial backtraces.
3210 (profiler-format): Hide the tail with `invisible' so that C-s can still
3211 find the hidden elements.
3212 (profiler-calltree-depth): Don't recurse so enthusiastically.
3213 (profiler-function-equal): New hash-table-test.
3214 (profiler-calltree-build-unified): New function.
3215 (profiler-calltree-build): Use it.
3216 (profiler-report-make-name-part): Indent the calltree less.
3217 (profiler-report-mode): Add visibility specs for profiler-format.
3218 (profiler-report-expand-entry, profiler-report-toggle-entry):
3219 Expand the whole subtree when provided with a prefix arg.
3220
238150c8
DG
32212013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3222
3223 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3224 iuwu-mod token.
3225 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3226 hanging iuwu-mod token.
3227 (ruby-smie--forward-token): Do not include a dot after a token in
3228 that token.
3229 (ruby-smie--backward-token): Likewise.
3230
b0949cc4
JL
32312013-10-08 Juri Linkov <juri@jurta.org>
3232
3233 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3234 to isearch-other-control-char.
3235 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3236 and isearch-post-command-hook to post-command-hook.
3237 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3238 and isearch-post-command-hook from post-command-hook.
3239 (isearch-unread-key-sequence)
3240 (isearch-reread-key-sequence-naturally)
3241 (isearch-lookup-scroll-key, isearch-other-control-char)
3242 (isearch-other-meta-char): Remove functions.
3243 (isearch-pre-command-hook, isearch-post-command-hook):
3244 New functions based on isearch-other-meta-char rewritten
3245 relying on the new behavior of overriding-terminal-local-map
3246 that does not replace the local keymaps any more. (Bug#15200)
3247
4ed77415
EZ
32482013-10-08 Eli Zaretskii <eliz@gnu.org>
3249
3250 Support menus on text-mode terminals.
3251 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3252 functionality.
3253
3254 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3255
c2de5588
DK
3256 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3257 Move here from mouse.el.
4ed77415
EZ
3258 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3259 and arrow keys.
3260 (tty-menu-navigation-map): New map for TTY menu navigation.
3261
3262 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3263
3264 * frame.el (display-mouse-p): Report text-mode mouse as available
3265 on w32.
3266 (display-popup-menus-p): Report availability if mouse is
3267 available; don't condition on window-system.
3268
3269 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3270 (tty-menu-selected-face): New faces.
3271
b7d5bd82
TL
32722013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3273
06286513
SM
3274 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3275 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3276 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3277 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3278 New constants.
3279 (lisp-mode-variables): New `elisp' argument.
3280 (emacs-lisp-mode): Use it.
3281 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3282 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3283
b7d5bd82
TL
3284 * indent.el: Use lexical-binding.
3285 (indent-region): Add progress reporter.
3286 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3287 last step.
3288 (indent--next-tab-stop): New function to implement this behavior.
3289 (tab-to-tab-stop, move-to-tab-stop): Use it.
3290
32912013-10-08 Teemu Likonen <tlikonen@iki.fi>
3292
3293 * indent.el (indent-rigidly--current-indentation): New function.
3294 (indent-rigidly-map): New var.
3295 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3296
5ea75d23
BG
32972013-10-08 Bastien Guerry <bzg@gnu.org>
3298
3299 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3300
cc5da1ec
SM
33012013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3302
8ffa1a0b
SM
3303 * progmodes/perl-mode.el: Use lexical-binding.
3304 Remove redundant :group args.
3305 (perl-nochange): Change default to be closer to other major modes's
3306 standard behavior.
3307 (perl-indent-line): Don't consider text on current line as a
3308 valid beginning of function from which to indent.
3309
f2223371
SM
3310 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3311 with more than one argument (bug#15538).
3312
44256060
SM
3313 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3314
cc5da1ec
SM
3315 * vc/pcvs.el: Use lexical-binding.
3316 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3317 environment of `eval'.
3318 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3319 than a list of expressions. Adjust callers.
3320 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3321
0ea1599d
DG
33222013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3323
3324 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3325 case of the dot in a chained method call being on the following line.
0ea1599d 3326
da3e5ebb
SM
33272013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3328
2abb4e65
SM
3329 * electric.el (electric-indent-inhibit): New var.
3330 (electric-indent-post-self-insert-function): Use it.
3331 * progmodes/python.el (python-mode): Set it.
3332
d2e0e795
SM
3333 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3334 open braces.
3335
3336 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3337
bdc6b4c8
SM
3338 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3339 (css-mode): Use electric-indent-chars.
3340
da3e5ebb
SM
3341 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3342 (font-lock-beg, font-lock-end): Move before first use.
3343 (nxml-mode): Use syntax-propertize-function.
3344 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3345 (nxml-extend-after-change-region): Remove.
3346 * nxml/xmltok.el: Use lexical-binding.
3347 (xmltok-save): Use `declare'.
3348 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3349 * nxml/nxml-util.el: Use lexical-binding.
3350 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3351 Use `declare'.
3352 * nxml/nxml-ns.el: Use lexical-binding.
3353 (nxml-ns-save): Use `declare'.
3354 (nxml-ns-prefixes-for): Avoid add-to-list.
3355 * nxml/rng-match.el: Use lexical-binding.
3356 (rng--ipattern): Use cl-defstruct.
3357 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3358 (rng-cons-group-after, rng-subst-group-after)
3359 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3360 Use closures instead of `(lambda...).
3361
f8f91d5d
MA
33622013-10-07 Michael Albinus <michael.albinus@gmx.de>
3363
3364 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3365 of BEG and END.
3366
da3e5ebb
SM
3367 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3368 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3369 (tramp-gvfs-handle-insert-file-contents): Remove function.
3370
da3e5ebb
SM
3371 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3372 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3373
3374 * net/trampver.el: Update release number.
3375
7ccae3b1
SM
33762013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3377
55ca2c0d
SM
3378 * progmodes/compile.el (compilation-parse-errors):
3379 Use compilation--put-prop.
3380 (compilation--ensure-parse): Check compilation-multiline.
3381
731fc3ae
SM
3382 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3383
da3e5ebb
SM
3384 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3385 lexical-binding.
a5833280 3386
2e7ba2c2
SM
3387 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3388
7ccae3b1
SM
3389 * progmodes/ruby-mode.el: Fix recently added tests.
3390 (ruby-smie-grammar): Add - and +.
3391 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3392 (ruby-smie--backward-id): New functions.
3393 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3394 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3395 any more.
3396
85698d63
LL
33972013-10-07 Leo Liu <sdl.web@gmail.com>
3398
3399 * register.el (register-preview-delay)
3400 (register-preview-functions): New variables.
3401 (register-read-with-preview, register-preview)
3402 (register-describe-oneline): New functions.
3403 (point-to-register, window-configuration-to-register)
3404 (frame-configuration-to-register, jump-to-register)
3405 (number-to-register, view-register, insert-register)
3406 (copy-to-register, append-to-register, prepend-to-register)
3407 (copy-rectangle-to-register): Use register-read-with-preview to
3408 read register. (Bug#15525)
3409
3986af6c
DS
34102013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3411
3412 * net/network-stream.el (network-stream-open-starttls): Don't add
3413 --insecure if it's already present, because that gnutls-cli
3414 rejects getting that parameter twice.
3415
5cd9cda9
DG
34162013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3417
3418 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3419 keyword, too.
3420
da9ea6d9
DG
34212013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3422
3423 * newcomment.el (comment-use-global-state): Change default value
3424 to t, mark obsolete (Bug#15251).
3425 (comment-beginning): In addition to `comment-to-syntax', check the
3426 value of `comment-use-global-state'.
3427
34d1a133
SM
34282013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3431 (ruby-comment-column): Follow the global default, by default.
3432 (ruby-smie-grammar): Add assignment syntax.
3433 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3434 open-paren, a comma, or a \.
3435 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3436 and line continuations.
3437 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3438 followed by implicit semi-colons. Add rule for string concatenation
3439 and for indentation at BOB.
3440 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3441
3442 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3443 calling next-sexp, since next-token may have skipped chars which
3444 next-sexp doesn't know should be skipped!
3445
6f6ab820
LL
34462013-10-05 Leo Liu <sdl.web@gmail.com>
3447
34d1a133
SM
3448 * progmodes/octave.el (octave-send-region):
3449 Call compilation-forget-errors.
6f6ab820 3450
34ca0f4c
XF
34512013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3452
3453 * vc/vc-svn.el (vc-svn-find-admin-dir):
3454 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3455 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3456 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3457 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3458
a27c1b72
SM
34592013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3462
258ab3bc
SM
34632013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * subr.el (read-passwd): Hide chars even when called within a context
3466 where after-change-functions is disabled (bug#15501).
3467 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3468 until we removed ourself from overriding-terminal-local-map.
3469
939fb29c
LL
34702013-10-04 Leo Liu <sdl.web@gmail.com>
3471
258ab3bc
SM
3472 * progmodes/octave.el (inferior-octave-mode):
3473 Call compilation-forget-errors.
939fb29c 3474
63bd7f35
XF
34752013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3476
3477 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3478
9e6229fa
MA
34792013-10-04 Michael Albinus <michael.albinus@gmx.de>
3480
3481 * net/secrets.el (secrets-create-collection): Add optional
3482 argument ALIAS. Use proper Label keyword. Append ALIAS as
3483 dbus-call-method argument. (Bug#15516)
3484
1dab32a3
LL
34852013-10-04 Leo Liu <sdl.web@gmail.com>
3486
3487 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3488 (inferior-octave-compilation-font-lock-keywords): New variables.
3489 (compilation-error-regexp-alist)
3490 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3491 (inferior-octave-mode): Use compilation-shell-minor-mode.
3492
6cad7ba3
JS
34932013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3494
3495 * minibuffer.el (completion--replace): Be careful that `end' might be
3496 a marker.
3497
acbadd00
DU
34982013-10-03 Daiki Ueno <ueno@gnu.org>
3499
3500 Add support for package signature checking.
3501 * emacs-lisp/package.el (url-http-file-exists-p)
3502 (epg-make-context, epg-context-set-home-directory)
3503 (epg-verify-string, epg-context-result-for)
3504 (epg-signature-status, epg-signature-to-string)
3505 (epg-check-configuration, epg-configuration)
3506 (epg-import-keys-from-file): Declare.
3507 (package-check-signature): New user option.
3508 (package-unsigned-archives): New user option.
3509 (package-desc): Add `signed' field.
3510 (package-load-descriptor): Set `signed' field if .signed file exists.
3511 (package--archive-file-exists-p): New function.
3512 (package--check-signature): New function.
3513 (package-install-from-archive): Check package signature.
3514 (package--download-one-archive): Check archive signature.
3515 (package-delete): Remove .signed file.
3516 (package-import-keyring): New command.
3517 (package-refresh-contents): Import default keyring.
3518 (package-desc-status): Add "unsigned" status.
3519 (describe-package-1, package-menu--print-info)
3520 (package-menu-mark-delete, package-menu--find-upgrades)
3521 (package-menu--status-predicate): Support "unsigned" status.
3522
adf2aa61
SM
35232013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3524
3525 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3526 the new compilation scheme using the new byte-codes.
3527
3528 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3529 (byte-pophandler): New byte codes.
3530 (byte-goto-ops): Adjust accordingly.
3531 (byte-compile--use-old-handlers): New var.
3532 (byte-compile-catch): Use new byte codes depending on
3533 byte-compile--use-old-handlers.
3534 (byte-compile-condition-case--old): Rename from
3535 byte-compile-condition-case.
3536 (byte-compile-condition-case--new): New function.
3537 (byte-compile-condition-case): New function that dispatches depending
3538 on byte-compile--use-old-handlers.
3539 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3540 when we can.
3541
3542 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3543 Optimize under `condition-case' and `catch' if
3544 byte-compile--use-old-handlers is nil.
3545 (disassemble-offset): Handle new bytecodes.
3546
328a8179
SM
35472013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * subr.el (error): Use `declare'.
3550 (decode-char, encode-char): Use advertised-calling-convention instead
3551 of the docstring to discourage use of the `restriction' arg.
3552
15a1e936
DU
35532013-10-03 Daiki Ueno <ueno@gnu.org>
3554
3555 * epg.el (epg-verify-file): Add a comment saying that it does not
3556 notify verification error as a return value nor a signal.
3557 (epg-verify-string): Ditto.
3558
376f862a
KR
35592013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3560
3561 * progmodes/compile.el (compilation-start): Try globbing the arg to
3562 `cd' (bug#15417).
3563
a2f93a5f
MA
35642013-10-02 Michael Albinus <michael.albinus@gmx.de>
3565
3566 Sync with Tramp 2.2.8.
3567
3568 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3569 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3570 * net/trampver.el: Update release number.
3571
0daa0804
JD
35722013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3573
3574 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3575 and default-process-coding-system for darwin only.
3576
abd1ae34
SM
35772013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3580
be4e325d
MH
35812013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3582
3583 * vc/vc-git.el (vc-git-grep): Disable pager.
3584
e9155c4a
DG
35852013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3586
494e898b
DG
3587 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3588 Use :url instead of :homepage, as per
3589 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3590
e9155c4a
DG
3591 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3592 non-nil, use `syntax-ppss' (Bug#15251).
3593
481a8e0f
RS
35942013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3595
be4e325d
MH
3596 * progmodes/octave.el (inferior-octave-startup-file):
3597 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3598
056453c6
DG
35992013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3600
be4e325d
MH
3601 * emacs-lisp/package.el (package-desc-from-define):
3602 Accept additional arguments as plist, convert them to an alist and store
3603 them in the `extras' slot.
056453c6
DG
3604 (package-generate-description-file): Convert extras alist back to
3605 plist and append to the `define-package' form arguments.
3606 (package--alist-to-plist): New function.
3607 (package--ac-desc): Add `extras' slot.
3608 (package--add-to-archive-contents): Check if the archive-contents
3609 vector is long enough, and if it is, pass its `extras' slot value
3610 to `package-desc-create'.
3611 (package-buffer-info): Call `lm-homepage', pass the returned value
3612 to `package-desc-from-define'.
3613 (describe-package-1): Render the homepage button (Bug#13291).
3614
be4e325d
MH
3615 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3616 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3617
832966e5
JD
36182013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3619
3620 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3621 and default-process-coding-system to utf-8-unix (Bug#15402).
3622
6cfe977d
XF
36232013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3624
3625 * subr.el (looking-back): Do not recommend using looking-back.
3626
38de11bd
AM
36272013-09-28 Alan Mackenzie <acm@muc.de>
3628
3629 Fix indentation/fontification of Java enum with "implements".
3630
3631 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3632 regexp which matches "implements", etc., in Java.
3633 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3634 specifier clauses coming after "enum".
3635 * progmodes/cc-fonts.el (c-font-lock-declarations)
3636 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3637 after "enum".
3638
1610938f
JD
36392013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3640
3641 * faces.el (region): Change ns_selection_color to
3642 ns_selection_fg_color, add ns_selection_bg_color.
3643
e090f499
LL
36442013-09-28 Leo Liu <sdl.web@gmail.com>
3645
4d2e94d1
LL
3646 * progmodes/octave.el (inferior-octave-completion-table)
3647 (inferior-octave-completion-at-point): Minor tweaks.
3648
e090f499
LL
3649 * textmodes/ispell.el (ispell-lookup-words): Rename from
3650 lookup-words. (Bug#15460)
3651 (lookup-words): Obsolete.
3652 (ispell-complete-word, ispell-command-loop): All uses changed.
3653
7e138a62
RS
36542013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3655
3656 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3657 (octave-mode-menu): Add octave-send-buffer.
3658 (octave-send-buffer): New function.
3659
5af5ed08
RS
36602013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3661
3662 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3663 octave-lookfor.
3664 (octave-mode-menu): Add octave-lookfor.
3665 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3666 octave-lookfor.
3667 (octave-lookfor): New function.
3668
3b7b2692
SM
36692013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * emacs-lisp/cl-macs.el:
3672 (cl--loop-destr-temps): Remove.
3673 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3674 its convention.
3675 (cl--loop-set-iterator-function): New function.
3676 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3677 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3678 Bind `it' with `let' instead of substituting it with `cl-subst'.
3679 (cl--unused-var-p): New function.
3680 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3681 Eliminate some unused variable warnings (bug#15326).
3682
529fb53f
TH
36832013-09-27 Tassilo Horn <tsdh@gnu.org>
3684
3685 * doc-view.el (doc-view-scale-reset): Rename from
3686 `doc-view-reset-zoom-level'.
3687 (doc-view-scale-adjust): New command.
3688 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3689 `doc-view-scale-adjust'.
3690
0550c95a
TH
36912013-09-26 Tassilo Horn <tsdh@gnu.org>
3692
3693 * doc-view.el (doc-view-reset-zoom-level): New command.
3694 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3695 zoom commands (bug#15466).
3696
6950f152
KH
36972013-09-26 Kenichi Handa <handa@gnu.org>
3698
3699 * international/quail.el (quail-help): Make it not a command.
3700
39587580
LL
37012013-09-26 Leo Liu <sdl.web@gmail.com>
3702
3703 * minibuffer.el (completion-all-sorted-completions): Make args
3704 optional as they are.
3705
00578659
DC
37062013-09-25 Daniel Colascione <dancol@dancol.org>
3707
3708 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3709 specs are and that they're not evaluated.
3710
0c173878
SS
37112013-09-24 Sam Steingold <sds@gnu.org>
3712
3713 * midnight.el (clean-buffer-list-kill-regexps)
3714 (clean-buffer-list-kill-buffer-names): Update for the new Man
3715 buffer naming which includes the object name.
3716
84998447
SM
37172013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3720 (eshell-parse-command, eshell-parse-pipeline): Use it since
3721 eshell-separate-commands requires a dynamic scoped var.
3722 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3723
33215353
LL
37242013-09-23 Leo Liu <sdl.web@gmail.com>
3725
3726 * autoinsert.el (auto-insert-alist): Make the value of
3727 lexical-binding match its file setting.
3728
57b16162
JB
37292013-09-23 Juanma Barranquero <lekktu@gmail.com>
3730
c8af4e67
JB
3731 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3732
57b16162
JB
3733 * autoarg.el (autoarg-kp-digit-argument):
3734 * electric.el (Electric-command-loop):
3735 * kmacro.el (kmacro-step-edit-insert):
3736 Do not set universal-argument-num-events.
3737
7186ba60
LL
37382013-09-22 Leo Liu <sdl.web@gmail.com>
3739
3740 * files.el (interpreter-mode-alist): Add octave.
3741
ece15004
AM
37422013-09-21 Alan Mackenzie <acm@muc.de>
3743
3744 C++: fontify identifier in declaration following "public:" correctly.
3745 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3746 to match "public", etc.
3747 (c-decl-prefix-re): Add ":" into the C++ value.
3748 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3749 bit. Add a check for a ":" preceded by "public", etc.
3750
75d83e22
EZ
37512013-09-21 Eli Zaretskii <eliz@gnu.org>
3752
3753 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3754 recognized by GDB 7.5 and later.
3755
d052d3bd
XF
37562013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3757
3758 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3759
31dca772
R
37602013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3761
3762 * subr.el (internal--call-interactively): New const.
3763 (called-interactively-p): Use it (bug#3984).
3764
98ccf24e
XF
37652013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3766
3767 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3768 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3769 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3770
c39cc7d1
SM
37712013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3774 (eshell-ls-orig-insert-directory): Remove.
3775 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3776 (eshell-ls-use-in-dired): Use advice-add/remove.
3777 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3778 Add `orig-fun' arg for use in :around advice.
3779 Make it check (redundantly) eshell-ls-use-in-dired.
3780
9a0289a2
GM
37812013-09-19 Glenn Morris <rgm@gnu.org>
3782
a2c501b8
GM
3783 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3784
c440407a
GM
3785 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3786
9a0289a2
GM
3787 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3788
85e05915
MA
37892013-09-19 Michael Albinus <michael.albinus@gmx.de>
3790
3791 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3792 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3793 (tramp-get-remote-python): New defuns.
3794 (tramp-get-remote-uid-with-perl)
3795 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3796 contributed by yary <not.com@gmail.com> (tiny change).
3797 (tramp-get-remote-uid-with-python)
3798 (tramp-get-remote-gid-with-python): New defuns. Python code
3799 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3800 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3801
ce503312
GM
38022013-09-19 Glenn Morris <rgm@gnu.org>
3803
f7544773
GM
3804 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3805
72fd2877
GM
3806 * eshell/em-unix.el (eshell-remove-entries):
3807 Rename argument to avoid name-clash with global `top-level'.
3808
336b5a56
GM
3809 * eshell/esh-proc.el (eshell-kill-process-function):
3810 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3811 (eshell-reset-after-proc): Remove unused arg `proc'.
3812
57a3a53d
GM
3813 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3814 (directory-files-and-attributes): Mark unused arg.
3815
3261d4af
GM
3816 * eshell/em-unix.el (eshell-remove-entries):
3817 Remove unused arg `path'. Update callers.
3818
8e51b5d0
GM
3819 * eshell/em-hist.el (eshell-hist-parse-arguments):
3820 Remove unused arg `silent'. Update callers.
3821
ce503312
GM
3822 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3823 Fix (f)boundp mix-up.
3824
3825 * eshell/em-smart.el (eshell-smart-scroll-window)
3826 (eshell-disable-after-change):
336b5a56 3827 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3828
ee3ce8a7
AM
38292013-09-18 Alan Mackenzie <acm@muc.de>
3830
3831 Fix fontification of type when followed by "const".
3832 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3833 "known" types from fontification.
3834
ec9177ba
GM
38352013-09-18 Glenn Morris <rgm@gnu.org>
3836
7bb3e768
GM
3837 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3838 (chart-face-list): Drop Emacsen without display-color-p.
3839
5148da15
GM
3840 * net/eww.el (libxml-parse-html-region): Declare.
3841 (eww-display-html): Explicit error if no libxml2 support.
3842
2f68e157
GM
3843 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3844
9019d095
GM
3845 * image.el (image-type-from-buffer, image-multi-frame-p):
3846 Remove --without-x warning/error.
67645389 3847
5f30349b 3848 * mouse.el (mouse-yank-primary):
45069b2e 3849 * term.el (term-mouse-paste):
5f30349b
GM
3850 Reorder to silence --without-x compilation.
3851
cd8edbbe
GM
3852 * mpc.el (doc-view-mode): Silence --without-x compilation.
3853
8a78544e
GM
3854 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3855 Silence --without-x compilation.
3856
12679bfd
GM
3857 * progmodes/gud.el (gud-find-file, gud-mode):
3858 Silence --without-x compilation.
3859 (tooltip-mode): Declare.
30810a05 3860
f0047cb9
GM
3861 * wdired.el (dired-backup-overwrite): Remove declaration.
3862 (wdired-mode-map): Add doc string.
3863
e740f9d2
GM
3864 * custom.el (x-get-resource): Declare.
3865
92d77c89
GM
3866 * eshell/em-glob.el (ange-cache):
3867 * eshell/em-unix.el (ange-cache): Declare.
3868
76e69577
GM
3869 * faces.el (x-display-list, x-open-connection, x-get-resource):
3870 Declare.
7e58af4b
GM
3871
3872 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3873 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3874 Declare.
76e69577 3875
4bd4c0af 3876 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3877
ffb82dbd
GM
3878 * net/gnutls.el (gnutls-log-level): Declare.
3879
986ed135
GM
3880 * net/shr.el (image-size, image-animate): Declare.
3881
e740f9d2
GM
3882 * simple.el (font-info): Declare.
3883
d2f3e9f8
GM
3884 * subr.el (x-popup-dialog): Declare.
3885
047a1a4c
GM
3886 * term/common-win.el (x-select-enable-primary)
3887 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3888 Declare.
3889
f4a1d572
GM
3890 * term/ns-win.el (x-handle-args): Declare.
3891
e843de77
GM
3892 * term/x-win.el (x-select-enable-clipboard): Declare.
3893
5fa89513
GM
3894 * term/w32-win.el (create-default-fontset): Declare.
3895
38702b5b
GM
3896 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3897 Declare.
3898
e740f9d2
GM
3899 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3900 (fit-frame-to-buffer): Explicit error if --without-x.
3901 (mouse-autoselect-window-select): Silence compiler.
3902
49a053fc
GM
3903 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3904
3905 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3906 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3907 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3908 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3909 Remove unused local variables.
3910
3911 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3912
ec9177ba
GM
3913 * textmodes/two-column.el: Make 2C-split work for --without-x.
3914 (scroll-bar-columns): Autoload.
3915 (top-level): Require fringe when compiling.
3916
9f25cb77
LL
39172013-09-18 Leo Liu <sdl.web@gmail.com>
3918
3919 * subr.el (add-hook): Robustify to handle closure as well.
3920
2b42da98
GM
39212013-09-17 Glenn Morris <rgm@gnu.org>
3922
3923 * simple.el (messages-buffer-mode-map): Unbind "g".
3924
e8b66a6a
SM
39252013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3926
9c0ad4f7
SM
3927 * help-mode.el (help-mode-finish): Use derived-mode-p.
3928 Remove obsolete highlighting.
3929
7a806dfb
SM
3930 * play/life.el (life-mode): Use define-derived-mode. Derive from
3931 special-mode.
3932 (life): Let-bind inhibit-read-only.
3933 (life-setup): Avoid `setq'. Use `life-mode'.
3934
96dbf5a8
SM
3935 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3936 which should not be needed any more.
3937 (package-menu-refresh, package-menu-describe-package): Use user-error.
3938
e8b66a6a
SM
3939 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3940 (eshell-post-rewrite-command-hook): Make obsolete.
3941 (eshell-parse-command): Simplify.
3942 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3943 (eshell--cmd): Declare.
3944 (eshell-parse-pipeline): Remove unused var `final-p'.
3945 Pass a dynvar to eshell-post-rewrite-command-hook.
3946 Implement the new eshell-post-rewrite-command-function.
3947 (eshell-invoke-directly): Remove unused arg `input'.
3948 * eshell/esh-io.el (eshell-io-initialize):
3949 Use eshell-post-rewrite-command-function (bug#15399).
3950 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3951 adjust to new calling convention.
3952 (eshell-create-handles): Rename args to avoid clashing with dynvar
3953 `standard-output'.
3954
90582f05
GM
39552013-09-17 Glenn Morris <rgm@gnu.org>
3956
3957 * simple.el (messages-buffer-mode): New major mode.
3958 (messages-buffer): New function.
3959 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3960 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3961 (ert-run-test): Use `messages-buffer' function.
90582f05 3962 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3963 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3964 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3965
39eb0cb5 39662013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3967
3968 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3969
1d42e5b6 3970 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 3971
70568a90
SM
39722013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3973
504a0381
SM
3974 * icomplete.el (icomplete-in-buffer): New var.
3975 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3976 vars and replace them with functions.
3977 (icomplete-minibuffer-setup): Adjust accordingly.
3978 (icomplete--completion-table, icomplete--completion-predicate)
3979 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3980 New functions.
3981 (icomplete-forward-completions, icomplete-backward-completions)
3982 (icomplete-simple-completing-p, icomplete-exhibit)
3983 (icomplete-completions): Use them.
3984 (icomplete--in-region-buffer): New var.
3985 (icomplete--in-region-setup): New function.
3986 (icomplete-mode): Use it.
3987
70568a90
SM
3988 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3989 (bug#15379).
3990 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3991 return args and options.
3992 (eshell-eval-using-options): Use the new return value of
3993 eshell--do-opts to set the options's vars in their scope.
3994 (eshell--set-option): Rename from eshell-set-option.
3995 Add arg `opt-vals'.
3996 (eshell--process-option): Rename from eshell-process-option.
3997 Add arg `opt-vals'.
3998 (eshell--process-args): Use an `opt-vals' alist to store the options's
3999 values during their processing and return them additionally to the
4000 remaining args.
4001
578c21bc
DG
40022013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4003
4004 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4005 continuation character an operator, as far as indentation is
4006 concerned (Bug#15369).
4007
c089653d
MR
40082013-09-15 Martin Rudalics <rudalics@gmx.at>
4009
4010 * window.el (window--state-put-2): Don't process buffer state
4011 when buffer doesn't exist any more (Bug#15382).
4012
1e53bb4b
GM
40132013-09-15 Glenn Morris <rgm@gnu.org>
4014
30753242
GM
4015 * eshell/em-unix.el (eshell/rm):
4016 Make -f ignore missing files. (Bug#15373)
4017
1e53bb4b
GM
4018 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4019 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4020 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4021
0d8863b3
GM
40222013-09-14 Glenn Morris <rgm@gnu.org>
4023
4024 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4025
d3fc6549
GM
40262013-09-13 Glenn Morris <rgm@gnu.org>
4027
4028 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4029 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4030
fcd42c11
DA
40312013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4032
4033 * frame.el (x-focus-frame): Mark as declared in frame.c.
4034
7830899f
SM
40352013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4036
4037 * ls-lisp.el: Use advice-add.
4038 (original-insert-directory): Remove.
4039 (ls-lisp--insert-directory): Rename from insert-directory; add
4040 `orig-fun' argument.
4041 (insert-directory): Advise.
4042
84387cd2
EZ
40432013-09-13 Eli Zaretskii <eliz@gnu.org>
4044
4045 * term.el (term-emulate-terminal): Decode the command string
4046 before passing it to term-command-hook. (Bug#15337)
4047
35ffc6ba
GM
40482013-09-13 Glenn Morris <rgm@gnu.org>
4049
5c3f9bcc
GM
4050 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4051
2ada368a
GM
4052 * eshell/esh-ext.el (eshell-search-path): Declare.
4053
fcef2e13
GM
4054 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4055 Otherwise an error occurs if eshell-dirs module not loaded.
4056
35ffc6ba
GM
4057 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4058
35c3d36e
MA
40592013-09-13 Michael Albinus <michael.albinus@gmx.de>
4060
4061 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4062 `tramp-check-proper-host'. Check for a valid method name.
4063
4064 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4065 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4066 * net/tramp-sh.el (tramp-maybe-open-connection):
4067 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4068
4069 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4070 also for hash values.
4071
ae5e4c48
SM
40722013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4073
379add74
SM
4074 * term/ns-win.el (parameters): Don't declare as dynamic.
4075 (before-make-frame-hook): Don't add ineffective function.
4076
ae5e4c48
SM
4077 * eshell/*.el: Use lexical-binding (bug#15231).
4078
b5623270
KH
40792013-09-12 Kenichi Handa <handa@gnu.org>
4080
ae5e4c48 4081 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4082
30213927
GM
40832013-09-12 Glenn Morris <rgm@gnu.org>
4084
be94d713 4085 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4086 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4087
44915370
GM
4088 * subr.el (do-after-load-evaluation): Also give compiler warnings
4089 when obsolete files are used (except by obsolete files).
4090
a6ae021f
GM
4091 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4092 in the status output, assume `filename' is the first. (Bug#15322)
4093
40e64f0c
GM
4094 * vc/vc.el (vc-deduce-fileset): Doc fix.
4095
16d9f896
GM
4096 * calc/calc-help.el (Info-goto-node):
4097 * progmodes/cperl-mode.el (Info-find-node):
4098 * vc/ediff.el (Info-goto-node): Update declarations.
4099
dea01c6e
GM
4100 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4101
759880bf 4102 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4103 (vc-bzr-pull): Require vc-dispatcher.
4104 * vc/vc-git.el (vc-compilation-mode): Declare.
4105 (vc-git-pull): Require vc-dispatcher.
4106
08d66420
GM
4107 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4108
30b626e9
GM
4109 * progmodes/octave.el (help-button-action): Declare.
4110
8c05cb10
GM
4111 * shell.el (shell-directory-tracker): Output error as a message
4112 rather than just returning it as a string.
4113 (shell-process-pushd): Remove useless use of message.
4114
30213927
GM
4115 * dframe.el (dframe-timer-fn):
4116 * files.el (dir-locals-read-from-file):
4117 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4118 (mpc-format):
4119 * reveal.el (reveal-post-command):
4120 * saveplace.el (load-save-place-alist-from-file):
4121 * shell.el (shell-resync-dirs):
4122 * w32-common-fns.el (x-get-selection-value):
4123 * emacs-lisp/copyright.el (copyright-find-copyright):
4124 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4125 * emulation/tpu-edt.el (tpu-copy-keyfile):
4126 * play/bubbles.el (bubbles--mark-neighbourhood):
4127 * progmodes/executable.el
4128 (executable-make-buffer-file-executable-if-script-p):
4129 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4130
d3b049e6
SM
41312013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4132
170266d0
SM
4133 Cleanup Eshell to rely less on dynamic scoping.
4134 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4135 last-value, and ext-command here. Bind `args' closer to `body'.
4136 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4137 (eshell--args): Declare new dynamic var.
4138 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4139 last-value, and ext-command. Pass `args' to `body'.
4140 (eshell-process-args): Bind eshell--args.
4141 (eshell-set-option): Use eshell--args.
4142 * eshell/eshell.el (eshell): Use derived-mode-p.
4143 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4144 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4145 (eshell-glob-function): Declare.
4146 * eshell/esh-util.el: Require cl-lib.
4147 (eshell-read-hosts-file): Avoid add-to-list.
4148 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4149 `err'.
4150 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4151 Declare.
4152 (eshell/diff): Remove unused var `err'.
4153 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4154 `killflag'.
4155 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4156 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4157 first use.
4158 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4159 Move declaration before first use.
4160 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4161 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4162 rely on cl-return.
4163
56834f3b
GM
41642013-09-12 Glenn Morris <rgm@gnu.org>
4165
4166 * term/ns-win.el (global-map): Remove binding for ispell-next,
4167 deleted 1999-05-29. (Bug#15357)
4168
5c91a2b8
GM
41692013-09-11 Glenn Morris <rgm@gnu.org>
4170
da712f22
GM
4171 * echistory.el (electric-command-history): Remove call to deleted func.
4172
512e4cdc
GM
4173 * play/landmark.el (landmark-mode): Fix typos.
4174
d3506ca5
GM
4175 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4176 Check cvs-sort-ignore-file is bound.
4177
5c91a2b8
GM
4178 * savehist.el: No need for cl when compiling on Emacs.
4179
feeff482
SM
41802013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4181
656bd483
SM
4182 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4183 (bug#15338).
d3b049e6
SM
4184 (eshell-self-insert-command, eshell-send-invisible):
4185 Remove unused argument.
656bd483
SM
4186 (eshell-handle-control-codes): Remove unused var `orig'.
4187 Avoid delete-backward-char.
4188
feeff482
SM
4189 * files.el (set-auto-mode): Simplify a bit further.
4190
2a08047a
GM
41912013-09-11 Glenn Morris <rgm@gnu.org>
4192
4193 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4194 (set-auto-mode): Don't regexp-quote elements.
4195 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4196 * progmodes/cc-mode.el (interpreter-mode-alist):
4197 * progmodes/ruby-mode.el (interpreter-mode-alist):
4198 Revert previous change.
4199
34675540
SM
42002013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4201
1b3b87df
SM
4202 * play/snake.el (snake-mode):
4203 * play/mpuz.el (mpuz-mode):
4204 * play/landmark.el (lm-mode):
4205 * play/blackbox.el (blackbox-mode):
4206 * play/5x5.el (5x5-mode):
4207 * obsolete/options.el (Edit-options-mode):
4208 * net/quickurl.el (quickurl-list-mode):
4209 * net/newst-treeview.el (newsticker-treeview-mode):
4210 * mail/rmailsum.el (rmail-summary-mode):
4211 * mail/mspools.el (mspools-mode):
4212 * locate.el (locate-mode):
4213 * ibuffer.el (ibuffer-mode):
4214 * emulation/ws-mode.el (wordstar-mode):
4215 * emacs-lisp/debug.el (debugger-mode):
4216 * array.el (array-mode):
4217 * net/eudc.el (eudc-mode): Use define-derived-mode.
4218 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4219 Move initialization into declaration.
4220 (mairix-searches-mode): Use define-derived-mode.
4221 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4222 (eudc-edit-hotlist): Use dolist.
4223 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4224 (Man-mode): Use define-derived-mode.
4225 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4226 (Info-edit-mode): Use define-derived-mode.
4227 (Info-cease-edit): Use Info-mode.
4228 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4229 into declaration.
4230 (eshell-mode): Use define-derived-mode.
4231 * chistory.el (command-history-mode-map): Rename from
4232 command-history-map.
4233 (command-history-mode): Use define-derived-mode.
da712f22 4234 (Command-history-setup): Remove function.
1b3b87df
SM
4235 * calc/calc.el (calc-trail-mode-map): New var.
4236 (calc-trail-mode): Use define-derived-mode.
4237 (calc-trail-buffer): Set calc-main-buffer manually.
4238 * bookmark.el (bookmark-insert-annotation): New function.
4239 (bookmark-edit-annotation): Use it.
4240 (bookmark-edit-annotation-mode): Make it a proper major mode.
4241 (bookmark-send-edited-annotation): Use derived-mode-p.
4242 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4243 closer to its ideal place. Use \' to match EOS.
4244
34675540
SM
4245 * profiler.el (profiler-calltree-find): Use function-equal.
4246
6a5c15d9
GM
42472013-09-10 Glenn Morris <rgm@gnu.org>
4248
1af4c220
GM
4249 * files.el (interpreter-mode-alist): Convert to regexps.
4250 (set-auto-mode): Adapt for this. (Bug#15306)
4251 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4252 Comment out unused variable.
4253 * progmodes/cc-mode.el (interpreter-mode-alist):
4254 * progmodes/python.el (interpreter-mode-alist):
4255 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4256 * progmodes/sh-script.el (sh-set-shell):
4257 No longer use interpreter-mode-alist to get list of shells.
4258
6a5c15d9
GM
4259 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4260
8c27f5ff
SM
42612013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4262
02ef6c1a 4263 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4264 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4265 Bind switch-frame explicitly. Replace universal-argument-minus with
4266 a conditional binding.
4267 (universal-argument-num-events, saved-overriding-map): Remove.
4268 (restore-overriding-map): Remove.
4269 (universal-argument--mode): Rename from save&set-overriding-map,
4270 and rewrite.
4271 (universal-argument, universal-argument-more, negative-argument)
4272 (digit-argument): Adjust accordingly.
4273 (universal-argument-minus): Remove.
4274 (universal-argument-other-key): Remove.
4275
8c27f5ff
SM
4276 * subr.el (with-demoted-errors): Add `format' argument.
4277
6480194c
MA
42782013-09-10 Michael Albinus <michael.albinus@gmx.de>
4279
4280 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4281 `tramp-cleanup-connection'.
4282
4283 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4284 parameters KEEP-DEBUG and KEEP-PASSWORD.
4285
4286 * net/tramp.el (tramp-file-name-handler):
4287 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4288 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4289 (tramp-maybe-open-connection):
8c27f5ff
SM
4290 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4291 Use `tramp-cleanup-connection'.
6480194c 4292
8c27f5ff
SM
4293 * net/tramp-sh.el (tramp-maybe-open-connection):
4294 Catch 'uname-changed inside the progress reporter.
6480194c 4295
e5e916d8
GM
42962013-09-10 Glenn Morris <rgm@gnu.org>
4297
9a2c9b47
GM
4298 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4299
e5e916d8
GM
4300 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4301 returns "alternate access method" in mode (eg "-rw-r--r--.").
4302
144e38fe
GM
43032013-09-08 Glenn Morris <rgm@gnu.org>
4304
4305 * saveplace.el (load-save-place-alist-from-file):
4306 Demote errors. (Bug#15305)
4307
af9ff9e8
MA
43082013-09-08 Michael Albinus <michael.albinus@gmx.de>
4309
4310 Improve compatibility with older Emacsen, and XEmacs.
4311
4312 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4313 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4314 (with-tramp-progress-reporter): Do not let-bind `result'.
4315 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4316 (tramp-handle-make-auto-save-file-name): New function, moved from
4317 tramp-sh.el.
4318
4319 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4320 for `make-auto-save-file-name'.
8c27f5ff
SM
4321 (tramp-adb--gnu-switches-to-ash):
4322 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4323
4324 * net/tramp-cache.el (tramp-cache-print): Call
4325 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4326
4327 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4328 bound. It isn't for XEmacs.
4329
8c27f5ff
SM
4330 * net/tramp-compat.el (tramp-compat-copy-file):
4331 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4332 (tramp-compat-replace-regexp-in-string): New defun.
4333
4334 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4335 for `make-auto-save-file-name'.
4336 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4337 `copy-file'.
4338 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4339 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4340 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4341
8c27f5ff
SM
4342 * net/tramp-gw.el (tramp-gw-open-network-stream):
4343 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4344
8c27f5ff
SM
4345 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4346 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4347 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4348 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4349 (tramp-sh-file-inotifywait-process-filter):
4350 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4351 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4352
4353 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4354 for `make-auto-save-file-name'.
8c27f5ff
SM
4355 (tramp-smb-handle-copy-directory):
4356 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4357 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4358 (tramp-smb-handle-copy-file): Improve error message.
4359 (tramp-smb-handle-rename-file): Rename directly only in case
4360 `newname' does not exist yet. This is a restriction of smbclient.
4361 (tramp-smb-maybe-open-connection): Rerun the function only when
4362 `auth-sources' is non-nil.
4363
0ca754d0
KH
43642013-09-08 Kenichi Handa <handa@gnu.org>
4365
e0eb0550 4366 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4367 more characters.
4368
e8dd0787
AM
43692013-09-07 Alan Mackenzie <acm@muc.de>
4370
4371 Correctly fontify Java class constructors.
4372 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4373 in Java Mode.
4374 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4375 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4376 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4377 "typeless" declaration there.
4378
f2f248e7
RW
43792013-09-07 Roland Winkler <winkler@gnu.org>
4380
4381 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4382 field subtitle for entry type book.
4383
67982e2b
SM
43842013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * minibuffer.el: Make minibuffer-complete call completion-in-region
4387 rather than other way around.
4388 (completion--some, completion-pcm--find-all-completions):
4389 Don't delay signals when debugging.
4390 (minibuffer-completion-contents): Beware fields within the
4391 minibuffer contents.
4392 (completion-all-sorted-completions): Use defvar-local.
4393 (completion--do-completion, completion--cache-all-sorted-completions)
4394 (completion-all-sorted-completions, minibuffer-force-complete):
4395 Add args `beg' and `end'.
4396 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4397 (minibuffer-complete): Use completion-in-region.
4398 (completion-complete-and-exit): New fun, extracted from
4399 minibuffer-complete-and-exit.
4400 (minibuffer-complete-and-exit): Use it.
4401 (completion--complete-and-exit): Rename from
4402 minibuffer--complete-and-exit.
4403 (completion-in-region--single-word): New function, extracted from
4404 minibuffer-complete-word.
4405 (minibuffer-complete-word): Use it.
4406 (display-completion-list): Make `common-substring' argument obsolete.
4407 (completion--in-region): Call completion--in-region-1 instead of
4408 minibuffer-complete.
4409 (completion-help-at-point): Pass boundaries to
4410 minibuffer-completion-help as args rather than via an overlay.
4411 (completion-pcm--string->pattern): Use `any-delim'.
4412 (completion-pcm--optimize-pattern): New function.
4413 (completion-pcm--pattern->regex): Handle `any-delim'.
4414 * icomplete.el (icomplete-forward-completions)
4415 (icomplete-backward-completions, icomplete-completions):
4416 Adjust calls to completion-all-sorted-completions and
4417 completion--cache-all-sorted-completions.
4418 (icomplete-with-completion-tables): Default to t.
4419 * emacs-lisp/crm.el (crm--current-element): Rename from
4420 crm--select-current-element. Don't put an overlay but return the
4421 boundaries instead.
4422 (crm--completion-command): Take two new args to bind to the boundaries.
4423 (crm-completion-help): Adjust accordingly.
4424 (crm-complete): Use completion-in-region.
4425 (crm-complete-word): Use completion-in-region--single-word.
4426 (crm-complete-and-exit): Use completion-complete-and-exit.
4427
e17d94a5
SM
44282013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4431 than dynamically.
4432
96727100
JL
44332013-09-06 Juri Linkov <juri@jurta.org>
4434
4435 * info.el (Info-display-images-node): When image file doesn't exist
4436 display text version of the image if it's provided in the Info file.
4437 Otherwise, display the location of missing image from SRC attribute.
4438 Add help-echo text property from ALT attribute. (Bug#15279)
4439
86cf7329
SM
44402013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4443 (edit-abbrevs-mode): Use define-derived-mode.
4444
4445 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4446 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4447 that it's defined.
4448 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4449 Use define-derived-mode.
4450
4451 * epg.el (epg-start-encrypt): Minor CSE simplification.
4452
816244a2
WX
44532013-09-06 William Xu <william.xwl@gmail.com>
4454
4455 * arc-mode.el: Add support for 7za (bug#15264).
4456 (archive-7z-program): New var.
4457 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4458 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4459 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4460
1486fa31
MA
44612013-09-06 Michael Albinus <michael.albinus@gmx.de>
4462
4463 Remove URL syntax.
4464
4465 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4466 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4467 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4468 (tramp-postfix-host-format, tramp-file-name-regexp)
4469 (tramp-completion-file-name-regexp)
4470 (tramp-completion-dissect-file-name)
4471 (tramp-handle-substitute-in-file-name): Remove 'url case.
4472 (tramp-file-name-regexp-url)
4473 (tramp-completion-file-name-regexp-url): Remove constants.
4474
39785324
GM
44752013-09-06 Glenn Morris <rgm@gnu.org>
4476
4477 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4478
1f896cb7
DG
44792013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4480
4481 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4482 keywords" below "here-doc beginnings" (Bug#15270).
4483
c0458e0b
SM
44842013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4485
4486 * subr.el (pop): Use `car-safe'.
4487 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4488 to detect unused `pop' return value.
4489
4490 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4491 var `block-regexp'.
4492 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4493 (python-fill-string): Remove unused var `marker'.
4494 (python-skeleton-add-menu-items): Remove unused var `items'.
4495
4496 * international/mule-cmds.el: Require CL.
4497 (find-coding-systems-for-charsets): Avoid add-to-list.
4498 (sanitize-coding-system-list): New function, extracted from
4499 select-safe-coding-system-interactively.
4500 (select-safe-coding-system-interactively): Use it.
4501 (read-input-method-name): Accept symbols for `default'.
4502
4503 * emacs-lisp/advice.el (defadvice): Add indent rule.
4504
6c42fc3e
DH
45052013-09-05 Daniel Hackney <dan@haxney.org>
4506
4507 * dired-x.el:
4508 * net/ange-ftp.el:
4509 * net/browse-url.el:
4510 * net/dbus.el:
4511 * net/eudc.el:
4512 * net/eudcb-ldap.el:
4513 * net/eww.el:
4514 * net/imap.el:
4515 * printing.el:
4516 * vc/ediff-diff.el:
4517 * vc/ediff-init.el:
4518 * vc/ediff-merg.el:
4519 * vc/ediff-mult.el:
4520 * vc/ediff-util.el:
4521 * vc/ediff-wind.el:
4522 * vc/ediff.el:
4523 * vc/emerge.el:
4524 * vc/pcvs.el:
4525 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4526 byte compiler. Remove some unused let-bound variables.
4527
4c528aab
SM
45282013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4529
4530 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4531 a "ref-cell", since it gets better optimized (bug#14883).
4532
bd15c390
GM
45332013-09-05 Glenn Morris <rgm@gnu.org>
4534
4535 * progmodes/cc-awk.el (c-forward-sws): Declare.
4536
1c3ac2e5
GM
45372013-09-04 Glenn Morris <rgm@gnu.org>
4538
4539 * generic-x.el [rul-generic-mode]: Require cc-mode.
4540 (c++-mode-syntax-table): Declare.
4541 (rul-generic-mode-syntax-table): Init in the defvar.
4542
52b1cc79
SM
45432013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4544
c828af56
SM
4545 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4546 (vc-do-command, vc-set-async-update):
4547 * vc/vc-mtn.el (vc-mtn-dir-status):
4548 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4549 (vc-hg-pull, vc-hg-merge-branch):
4550 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4551 (vc-git-merge-branch):
4552 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4553 (vc-cvs-dir-status-files):
4554 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4555 (vc-bzr-dir-status-files):
4556 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4557 * vc/vc-annotate.el: Use lexical-binding.
4558 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4559 (vc-sentinel-movepoint): Declare.
4560 (vc-annotate): Don't use `goto-line'.
4561 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4562 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4563 (vc-sentinel-movepoint): Declare.
4564 * vc/vc-svn.el: Use lexical-binding.
4565 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4566 * vc/vc-sccs.el:
4567 * vc/vc-rcs.el: Use lexical-binding.
4568
abae272c
SM
4569 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4570 `deleted'. Don't drop errors silently.
4571
52b1cc79
SM
4572 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4573
63191d9f
XF
45742013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4575
4576 * vc/vc.el (vc-ignore): Rewrite.
4577 (vc-default-ignore): New function.
4578 (vc-default-ignore-completion-table): Use find-ignore-file.
4579
4580 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4581 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4582 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4583 Remove. Most code moved to vc.el.
4584
9d3f707c
SM
45852013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4586
abae272c 4587 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4588 * net/tramp-smb.el (tramp-smb-get-file-entries):
4589 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4590 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4591
fde38d49
SM
4592 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4593 Update call to it.
4594 (eww-change-select): Remove unused var `properties'.
4595 (eww-make-unique-file-name): Remove unused var `base'.
4596
4597 * finder.el (finder-compile-keywords): Don't mess with windows.
4598
84032db7
SM
4599 * calculator.el (calculator-funcall): Fix typo in last change.
4600
724f5e41
SM
4601 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4602
14b511d4
SM
4603 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4604 <pkg>-autoloads.el file stop us.
4605
9d3f707c 4606 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4607 warnings, and factor out common code.
9d3f707c 4608
88527bc0
DG
46092013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4610
4611 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4612 two-character operators and whether the character preceding them
4613 changes their meaning (Bug#15208).
4614
96edb677
FEG
46152013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4616
4617 Format code sent to Python shell for robustness.
9d3f707c
SM
4618 * progmodes/python.el (python-shell-buffer-substring):
4619 New function.
96edb677
FEG
4620 (python-shell-send-region, python-shell-send-buffer): Use it.
4621
95beaef3
MA
46222013-09-02 Michael Albinus <michael.albinus@gmx.de>
4623
4624 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4625 * net/tramp.el (tramp-user-error): ... here.
4626 (tramp-find-method, tramp-check-proper-host)
4627 (tramp-dissect-file-name, tramp-debug-message)
4628 (tramp-handle-shell-command):
4629 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4630 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4631
4632 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4633
f167c27b
MR
46342013-09-02 Martin Rudalics <rudalics@gmx.at>
4635
4636 * avoid.el (mouse-avoidance-point-position)
4637 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4638 returns nil.
4639
cd16c5f1
FEG
46402013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4641
4642 * progmodes/python.el (python-shell-completion-get-completions):
4643 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4644 (python-nav-if-name-main): New command.
cd16c5f1 4645
e73c3a0d
GM
46462013-09-01 Glenn Morris <rgm@gnu.org>
4647
f8ccce03
GM
4648 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4649 Avoid leading space in $wins. Otherwise the sed command used by
4650 eg compile-main ends up containing "/*.el". (Bug#15170)
4651
e73c3a0d
GM
4652 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4653
415f808e
GM
46542013-08-30 Glenn Morris <rgm@gnu.org>
4655
4656 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4657 Fix is-this-a-directory logic. (Bug#15220)
4658
f069bba8
SM
46592013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4660
112798c1
SM
4661 * textmodes/css-mode.el: Use SMIE.
4662 (css-smie-grammar): New var.
4663 (css-smie--forward-token, css-smie--backward-token)
4664 (css-smie-rules): New functions.
4665 (css-mode): Use them.
4666 (css-navigation-syntax-table): Remove var.
4667 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4668 (css-indent-calculate, css-indent-line): Remove functions.
4669
4670 Misc changes to reduce use of `(lambda...); and other cleanups.
4671 * cus-edit.el: Use lexical-binding.
4672 (customize-push-and-save, customize-apropos)
4673 (custom-buffer-create-internal): Use closures.
4674 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4675 * progmodes/ada-xref.el: Use setq.
4676 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4677 * dframe.el: Use lexical-binding.
4678 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4679 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4680 * descr-text.el: Use lexical-binding.
4681 (describe-text-widget, describe-text-sexp, describe-property-list):
4682 Use closures.
4683 * comint.el (comint-history-isearch-push-state): Use a closure.
4684 * calculator.el: Use lexical-binding.
4685 (calculator-number-to-string): Make it work with lexical-binding.
4686 (calculator-funcall): Same and use cl-letf.
4687
2da4c3ab
SM
4688 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4689 (lisp--company-doc-string, lisp--company-location): New functions.
4690 (lisp-completion-at-point): Use them to improve Company support.
4691
f069bba8
SM
4692 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4693 params of lambda expressions.
4694 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4695 (ruby-smie--opening-pipe-p): New function.
4696 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4697 symbols and matched |...| for formal params.
4698 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4699 from being treated as hanging. Handle "rescue".
4700
6758b6a8
GM
47012013-08-29 Glenn Morris <rgm@gnu.org>
4702
4703 * progmodes/cc-engine.el (c-pull-open-brace):
4704 Move definition before use.
4705
e8dfd197
SM
47062013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4709 are immutable. Don't use `unsafe' any more.
4710 (cl--defsubst-expand): Don't substitute at the same time as keeping
4711 a residual unused let-binding. Don't use `unsafe' any more.
4712
cc585c96
GM
47132013-08-29 Glenn Morris <rgm@gnu.org>
4714
ba579ea6
GM
4715 * calendar/cal-china.el (calendar-chinese-year-cache):
4716 Recenter on 2015.
4717
8201a87e
GM
4718 * nxml/nxml-util.el (nxml-debug-clear-inside):
4719 Use cl-loop rather than loop.
4720
6ee877c7
GM
4721 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4722
cc585c96
GM
4723 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4724
27be8d39
GM
47252013-08-28 Glenn Morris <rgm@gnu.org>
4726
397440a1
GM
4727 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4728
2bb762d4
GM
4729 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4730
27be8d39
GM
4731 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4732
2d69b99e
SM
47332013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4734
f663baa7
SM
4735 * simple.el (repeat-complex-command--called-interactively-skip):
4736 New function.
4737 (repeat-complex-command): Use it (bug#14136).
4738
dd4f8b74
SM
4739 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4740 (c-define-abbrev-table): Add `doc' argument.
4741 (c-mode-abbrev-table, c++-mode-abbrev-table)
4742 (objc-mode-abbrev-table, java-mode-abbrev-table)
4743 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4744 (awk-mode-abbrev-table): Use it.
4745 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4746 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4747 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4748 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4749 Move initialization into the declaration; and remove any
4750 autoload cookie.
4751
b58969f7
SM
4752 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4753 and dynamic let binding.
4754
4021d6a6
SM
4755 * vc/smerge-mode.el: Remove redundant :group args.
4756
2d69b99e
SM
4757 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4758 to load-path.
4759
274919fd
JL
47602013-08-28 Juri Linkov <juri@jurta.org>
4761
4762 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4763 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4764 (isearch-other-meta-char): Handle an undefined shifted printing
4765 character by downshifting it. (Bug#15200)
4766
121f8c95
JL
47672013-08-28 Juri Linkov <juri@jurta.org>
4768
4769 * isearch.el (isearch-search): Change regexp error message for
4770 non-regexp searches. (Bug#15166)
4771
50b13cde
PE
47722013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4773
4774 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4775 for portability to hosts where /bin/sh has problems.
4776
95888bca
SM
47772013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4778
4779 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4780
bbe558f1
JL
47812013-08-27 Juri Linkov <juri@jurta.org>
4782
4783 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4784 in the keyboard macro. (Bug#15126)
4785
26f98a7d
JL
47862013-08-27 Juri Linkov <juri@jurta.org>
4787
4788 * isearch.el (isearch-quote-char): Comment out converting unibyte
4789 to multibyte, thus syncing with its `quoted-insert' counterpart.
4790 (Bug#15166)
4791
7c97d35e
MR
47922013-08-27 Martin Rudalics <rudalics@gmx.at>
4793
4794 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4795 argument in call of get-largest-window (Bug#15185).
4796 Reported by Stephen Leake.
7c97d35e 4797
a0b5606e 47982013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4799
4800 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4801
9e89d835
SM
48022013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4803
4804 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4805 from a matcher-function unless there's no more matches (bug#15161).
4806
78fc2530
MA
48072013-08-26 Michael Albinus <michael.albinus@gmx.de>
4808
4809 * minibuffer.el: Revert change from 2013-08-20.
4810
4811 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4812 with text property `tramp-default', if appropriate.
4813 (tramp-check-proper-host): New defun.
4814 (tramp-dissect-file-name): Do not check hostname. Revert change
4815 of 2013-03-18.
4816 (tramp-backtrace): Make VEC-OR-PROC optional.
4817
4818 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4819 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4820 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4821 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4822 Apply `tramp-check-proper-host'.
78fc2530 4823
edca97cd
TH
48242013-08-26 Tassilo Horn <tsdh@gnu.org>
4825
4826 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4827 lambda expression in order to have `describe-variable' display it.
4828
df54bcbd
MA
48292013-08-26 Michael Albinus <michael.albinus@gmx.de>
4830
4831 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4832 BUF can be optional. (Bug#15186)
4833
eed99101
XF
48342013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4835
4836 * progmodes/flymake.el (flymake-get-real-file-name-function):
4837 Fix broken customization. (Bug#15184)
4838
b5eb9035
AM
48392013-08-25 Alan Mackenzie <acm@muc.de>
4840
8a51e842
AM
4841 Improve indentation of bracelists defined by macros (without "=").
4842
4843 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4844 expansion begins with "{", regard it as bracelist when it doesn't
4845 contain a ";".
4846
869455d4
AM
4847 Parse C++ inher-intro when there's a template split over 2 lines.
4848
4849 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4850 rigorously the search for "class" etc. followed by ":".
4851
4852 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4853 random languages a regexp which never matches rather than nil.
4854
b5eb9035
AM
4855 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4856
4857 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4858 (c-awk-regexp-one-line-possibly-open-char-list-re)
4859 (c-awk-one-line-possibly-open-regexp-re)
4860 (c-awk-one-line-non-syn-ws*-re): Remove.
4861 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4862 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4863 (c-awk-space*-unclosed-regexp-/-re): New constants.
4864 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4865 aren't regexp delimiters.
4866
4867 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4868 handling for a rare situation in AWK Mode involving unterminated
4869 strings/regexps.
4870
61611d54
GM
48712013-08-23 Glenn Morris <rgm@gnu.org>
4872
2d85dc34
GM
4873 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4874
cb8d2612
GM
4875 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4876
bb35f42f
GM
4877 * files.el (create-file-buffer): If the result would begin with
4878 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4879
b9808e77
SM
48802013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4881
e3a66363
SM
4882 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4883 text-properties (bug#15155).
4884
b9808e77
SM
4885 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4886 exist any more.
4887 (calc-keypad-redraw): Remove unused var `pad'.
4888 (calc-keypad-press): Remove unused var `menu'.
4889
7fd5f65e
MR
48902013-08-23 Martin Rudalics <rudalics@gmx.at>
4891
b9808e77
SM
4892 * window.el (display-buffer-pop-up-frame):
4893 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4894 use it as the new frame's buffer (Bug#15133).
4895
8352b530
SM
48962013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4897
4898 * calendar/timeclock.el: Minor cleanups.
4899 (timeclock-ask-before-exiting, timeclock-use-display-time):
4900 Use `symbol'.
4901 (timeclock-modeline-display): Define as alias before the
4902 actual definition.
4903 (timeclock-mode-line-display): Use define-minor-mode.
4904 (timeclock-day-list-template): Make it a function, add an argument.
4905 (timeclock-day-list-required, timeclock-day-list-length)
4906 (timeclock-day-list-debt, timeclock-day-list-span)
4907 (timeclock-day-list-break): Adjust calls accordingly.
4908
9f7b1925
SM
49092013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4910
4911 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4912 Use read--expression so that completion works again.
4913
6e50e983
SS
49142013-08-21 Sam Steingold <sds@gnu.org>
4915
4916 Add rudimentary inferior shell interaction
4917 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4918 (sh-set-shell): Reset it.
9f7b1925
SM
4919 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4920 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4921
dbb0d350
SM
49222013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * align.el: Use lexical-binding.
4925 (align-region): Simplify accordingly.
4926
c88586a9
MA
49272013-08-20 Michael Albinus <michael.albinus@gmx.de>
4928
4929 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4930
4931 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4932 `non-essential' up.
4933
f95527c8
MA
49342013-08-17 Michael Albinus <michael.albinus@gmx.de>
4935
4936 * net/tramp.el:
4937 * net/tramp-adb.el:
4938 * net/tramp-cmds.el:
4939 * net/tramp-ftp.el:
4940 * net/tramp-gvfs.el:
4941 * net/tramp-gw.el:
4942 * net/tramp-sh.el: Don't wrap external variable declarations by
4943 `eval-when-compile'.
4944
4b5fe4ee
LMI
49452013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4946
4947 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4948 now that Emacs supports ImageMagick animations.
4949
13c366c9
MA
49502013-08-16 Michael Albinus <michael.albinus@gmx.de>
4951
4952 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4953 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4954
3dfc5cd6
MR
49552013-08-16 Martin Rudalics <rudalics@gmx.at>
4956
4957 * window.el (mouse-autoselect-window-select): Do autoselect when
4958 mouse pointer is on margin.
4959
4bbb4381
WP
49602013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4961
4962 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4963
3a2ddc2d
GM
49642013-08-16 Glenn Morris <rgm@gnu.org>
4965
e8bedf5a
GM
4966 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4967 Handle "Remote Directory" response of some clients. (Bug#15058)
4968
58c4682f
GM
4969 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4970 Tweak warning. (Bug#14926)
4971
57953f49
GM
4972 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4973 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4974
3a2ddc2d
GM
4975 * image-mode.el (image-mode-map): Add menu items to reverse,
4976 increase, decrease, reset animation speed.
4977 (image--set-speed, image-increase-speed, image-decrease-speed)
4978 (image-reverse-speed, image-reset-speed): New functions.
4979 (image-mode-map): Add bindings for speed commands.
4980
4981 * image.el (image-animate-get-speed, image-animate-set-speed):
4982 New functions.
4983 (image-animate-timeout): Respect image :speed property.
4984
10fa0ed3
SM
49852013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4988 previous line (bug#15101).
4989 (debugger-eval-expression, debugger-record-expression):
4990 Use read--expression (bug#15102).
4991
5d89d9d2
MA
49922013-08-15 Michael Albinus <michael.albinus@gmx.de>
4993
4994 Remove byte compiler warnings, visible when compiling with
4995 `byte-compile-force-lexical-warnings' set to t.
4996
4997 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4998 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4999 (tramp-handle-unhandled-file-name-directory)
5000 (tramp-handle-file-notify-add-watch, tramp-action-login)
5001 (tramp-action-succeed, tramp-action-permission-denied)
5002 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5003 arguments with "_".
5004
5005 * net/tramp-adb.el (tramp-adb-parse-device-names)
5006 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5007 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5008 (tramp-adb-handle-file-truename): Remove unused arguments.
5009
5010 * net/tramp-cache.el (tramp-flush-directory-property)
5011 (tramp-flush-connection-property, tramp-list-connections)
5012 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5013
10fa0ed3
SM
5014 * net/tramp-compat.el (tramp-compat-make-temp-file):
5015 Rename FILENAME to F.
5d89d9d2
MA
5016
5017 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5018 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5019 (tramp-zeroconf-parse-workstation-device-names)
5020 (tramp-zeroconf-parse-webdav-device-names)
5021 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5022
5023 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5024 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5025
5026 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5027 arguments.
5028 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5029 (tramp-sh-handle-insert-file-contents-literally)
5030 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5031 with "_".
5032 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5033 Remove unused variables.
5034
5035 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5036 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5037 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5038
5039 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5040 Make them a defconst.
5041 (tramp-uuencode-region): Remove unused variable.
5042
62f33bae
JB
50432013-08-14 Juanma Barranquero <lekktu@gmail.com>
5044
5045 * frameset.el (frameset--prop-setter): New function.
5046 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5047 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5048 parameter was already set in FILTERED. Doc fix.
5049 (frameset--record-minibuffer-relationships): Allow saving a
5050 minibufferless frame without its corresponding minibuffer frame.
5051 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5052 frame, if the frame id matches.
5053 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5054 frames before orphaned ones.
5055 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5056
c660a885
MR
50572013-08-14 Martin Rudalics <rudalics@gmx.at>
5058
5059 * window.el (window-make-atom): Don't overwrite parameter
5060 already present.
5061 (display-buffer-in-atom-window): Handle special case where we
5062 split an already atomic window.
5063 (window--major-non-side-window, display-buffer-in-side-window)
5064 (window--side-check): Ignore minibuffer window when walking
5065 window tree.
5066 (window-deletable-p): Return 'frame only if no other frame uses
5067 our minibuffer window.
5068 (record-window-buffer): Run buffer-list-update-hook.
5069 (split-window): Make sure window--check-frame won't destroy an
5070 existing atomic window in case the new window gets nested
5071 inside.
5072 (display-buffer-at-bottom): Ignore minibuffer window when
5073 walking window tree. Don't split a side window.
5074 (pop-to-buffer): Don't set-buffer here, the select-window call
5075 should do that.
5076 (mouse-autoselect-window-select): Autoselect only if we are in the
5077 text portion of the window.
5078
8259030d
LMI
50792013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5080
21c58ae2
LMI
5081 * net/shr.el (shr-parse-image-data): New function to grab both the
5082 data itself and the Content-Type.
5083 (shr-put-image): Use it.
5084
5085 * net/eww.el (eww-display-image): Ditto.
5086
8259030d
LMI
5087 * image.el (image-content-type-suffixes): New variable.
5088
ad756449
FEG
50892013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5090
5091 * progmodes/python.el (python-imenu--build-tree)
5092 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5093
f73f4ce6
XF
50942013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5095
5096 * simple.el (backward-word): Mention the optional argument.
5097
1f585e65
SM
50982013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5099
5100 * frameset.el (frameset--make): Rename constructor from make-frameset.
5101 (frameset-p, frameset-valid-p): Don't autoload.
5102 (frameset-valid-p): Use normal accessors.
5103
af1c6c84
GM
51042013-08-13 Glenn Morris <rgm@gnu.org>
5105
55e47f95
GM
5106 * progmodes/compile.el (compile-command): Tweak example in doc.
5107 * obsolete/scribe.el (scribe-mode):
5108 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5109
f0024d8c
GM
5110 * mail/feedmail.el (feedmail-confirm-outgoing)
5111 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5112
5113 * cus-start.el (truncate-partial-width-windows): Fix type.
5114
5115 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5116
af1c6c84
GM
5117 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5118
5514cc4c
SM
51192013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5120
5121 * emacs-lisp/timer.el (timer--time-setter): New function.
5122 (timer--time): Use it as gv-setter.
5123
5124 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5125 setter is not a symbol.
5126
7997a2f1
GJ
51272013-08-12 Grégoire Jadi <daimrod@gmail.com>
5128
5129 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5130 if sending fails. This makes debugging easier.
5131
01f1a9ab
JB
51322013-08-12 Juanma Barranquero <lekktu@gmail.com>
5133
5134 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5135 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5136 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5137
594a4307
EZ
51382013-08-12 Eli Zaretskii <eliz@gnu.org>
5139
5140 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5141
7a22490f 51422013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5143
5144 * format.el (format-annotate-function):
5145 Handle read-only text properties in the source. (Bug#14887)
5146
3e41a054
LMI
51472013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5148
5514cc4c
SM
5149 * net/eww.el (eww-display-html): Ignore coding system errors.
5150 One web site uses "utf-8lias" as the coding system.
3e41a054 5151
7ec326db
JB
51522013-08-11 Juanma Barranquero <lekktu@gmail.com>
5153
5154 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5155
5660113b
JB
51562013-08-10 Juanma Barranquero <lekktu@gmail.com>
5157
9a4ebc74
JB
5158 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5159 (tutorial--detailed-help): Remove unused local variables.
5160 (tutorial--save-tutorial-to): Use ignore-errors.
5161 (help-with-tutorial): Use looking-at-p.
5162
5163 * view.el (view-buffer-other-window, view-buffer-other-frame):
5164 Mark unused arguments.
5165
5166 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5167 (woman-select-symbol-fonts, woman, woman-find-file)
5168 (woman-insert-file-contents, woman-non-underline-faces):
5169 Use string-match-p.
5170 (woman1-unquote): Move declaration.
5171
5172 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5173 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5174 argument. Remove unused local variable.
5175 (xml-parse-elem-type): Use string-match-p.
5176 (xml-substitute-numeric-entities): Use ignore-errors.
5177
45fdb482
JB
5178 * calculator.el (calculator): Mark unused argument.
5179 (calculator-paste, calculator-quit, calculator-integer-p):
5180 Use ignore-errors.
5181 (calculator-string-to-number, calculator-decimal, calculator-exp)
5182 (calculator-op-or-exp): Use string-match-p.
5183
5184 * dired.el (dired-buffer-more-recently-used-p): Declare.
5185 (dired-insert-set-properties, dired-insert-old-subdirs):
5186 Use ignore-errors.
5187
5188 * dired-aux.el (dired-compress): Use ignore-errors.
5189 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5190 (dired-do-async-shell-command, dired-do-shell-command)
5191 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5192 (dired-insert-subdir-validate): Use string-match-p.
5193 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5194 (dired-add-entry): Use string-match-p, looking-at-p.
5195 (dired-insert-subdir-newpos): Remove unused local variable.
5196
5197 * filenotify.el (file-notify-callback): Remove unused local variable.
5198
5199 * filesets.el (filesets-error): Mark unused argument.
5200 (filesets-which-command-p, filesets-filter-dir-names)
5201 (filesets-directory-files, filesets-get-external-viewer)
5202 (filesets-ingroup-get-data): Use string-match-p.
5203
5204 * find-file.el (ff-other-file-name, ff-other-file-name)
5205 (ff-find-the-other-file, ff-cc-hh-converter):
5206 Remove unused local variables.
5207 (ff-get-file-name): Use string-match-p.
5208 (ff-all-dirs-under): Use ignore-errors.
5209
5210 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5211 (follow-select-if-visible): Remove unused local variable.
5212
5213 * forms.el (read-file-filter): Move declaration.
5214 (forms--make-format, forms--make-parser, forms-insert-record):
5215 Quote function with #'.
5216 (forms--update): Use string-match-p. Quote function with #'.
5217
5218 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5219 (help-make-xrefs): Use looking-at-p.
5220 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5221
5222 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5223 (ibuffer-confirm-operation-on): Use string-match-p.
5224
5225 * msb.el (msb-item-handler, msb-dired-item-handler):
5226 Mark unused arguments.
5227
5228 * ses.el (ses-decode-cell-symbol)
5229 (ses-kill-override): Remove unused local variable.
5230 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5231 (ses-load): Use ignore-errors, looking-at-p.
5232 (ses-jump-safe): Use ignore-errors.
5233 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5234
5235 * tabify.el (untabify, tabify): Mark unused arguments.
5236
5237 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5238 Mark unused argument.
5239 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5240 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5241
c880af52
JB
5242 * emacs-lisp/timer.el (timer--time): Define setter with
5243 gv-define-setter to avoid deprecation warning.
5244
5660113b 5245 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5246 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5247 (cmpl-statistics-block): Remove (body was commented out).
5248 All callers changed.
5249 (add-completions-from-buffer, load-completions-from-file):
5250 Remove unused variables.
5251
156aab80
JB
52522013-08-09 Juanma Barranquero <lekktu@gmail.com>
5253
5c5dee78
JB
5254 * filecache.el (file-cache-delete-file-list):
5255 Print message only when told so.
5256 (file-cache-files-matching): Use #' in mapconcat argument.
5257
156aab80
JB
5258 * ffap.el (ffap-url-at-point): Fix reference to variable
5259 thing-at-point-default-mail-uri-scheme.
5260
ad9dcd70
SM
52612013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5262
54bd972f
SM
5263 * subr.el (define-error): New function.
5264 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5265 error-file-not-found and define with define-error.
5266 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5267 and define with define-error.
5268 * userlock.el (file-locked, file-supersession):
5269 * simple.el (mark-inactive):
5270 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5271 * progmodes/ada-mode.el (ada-mode-errors):
5272 * play/life.el (life-extinct):
5273 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5274 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5275 * nxml/rng-util.el (rng-error):
5276 * nxml/rng-uri.el (rng-uri-error):
5277 * nxml/rng-match.el (rng-compile-error):
5278 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5279 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5280 * nxml/nxml-rap.el (nxml-scan-error):
5281 * nxml/nxml-outln.el (nxml-outline-error):
5282 * net/soap-client.el (soap-error):
5283 * net/gnutls.el (gnutls-error):
5284 * net/ange-ftp.el (ftp-error):
5285 * mpc.el (mpc-proc-error):
5286 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5287 (json-number-format, json-string-escape, json-string-format)
5288 (json-key-format, json-object-format):
5289 * jka-compr.el (compression-error):
5290 * international/quail.el (quail-error):
5291 * international/kkc.el (kkc-error):
5292 * emacs-lisp/ert.el (ert-test-failed):
5293 * calc/calc.el (calc-error, inexact-result, math-overflow)
5294 (math-underflow):
5295 * bookmark.el (bookmark-error-no-filename):
5296 * epg.el (epg-error): Define with define-error.
5297
0ea9e53a
SM
5298 * time.el (display-time-event-handler)
5299 (display-time-next-load-average): Don't call sit-for since it seems
5300 unnecessary (bug#15045).
5301
b0429158
SM
5302 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5303 Use #' instead of ' to quote functions.
5304 (checkdoc-output-mode): Use setq-local.
5305 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5306 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5307 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5308 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5309 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5310 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5311 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5312 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5313
ad9dcd70
SM
5314 * ido.el (ido-completion-help): Fix up compiler warning.
5315
77187e6f
JB
53162013-08-09 Juanma Barranquero <lekktu@gmail.com>
5317
5318 * frameset.el (frameset-p): Add autoload cookie.
5319 (frameset--jump-to-register): New function, based on code moved from
5320 register.el.
5321 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5322
5323 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5324 (frameset-restore, frameset-save, frameset-session-filter-alist):
5325 Remove declarations.
5326 (register-alist): Doc fix.
5327 (frameset-to-register): Move to frameset.el.
5328 (jump-to-register, describe-register-1): Remove frameset-specific code.
5329
9d3aa82c
JB
53302013-08-08 Juanma Barranquero <lekktu@gmail.com>
5331
5332 * allout-widgets.el (allout-widgets-pre-command-business)
5333 (allout-widgets-post-command-business)
5334 (allout-widgets-after-change-handler)
5335 (allout-decorate-item-and-context, allout-set-boundary-marker)
5336 (allout-body-modification-handler)
5337 (allout-graphics-modification-handler): Mark ignored arguments.
5338 (allout-widgets-post-command-business)
5339 (allout-widgets-exposure-change-processor)
5340 (allout-widgets-exposure-undo-processor)
5341 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5342 (allout-parse-item-at-point, allout-decorate-item-guides)
5343 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5344 * allout.el (epa-passphrase-callback-function): Declare.
5345 (allout-overlay-insert-in-front-handler)
5346 (allout-overlay-interior-modification-handler)
5347 (allout-isearch-end-handler, allout-chart-siblings)
5348 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5349 (allout-yank-processing, allout-process-exposed)
5350 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5351 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5352 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5353 (lisp-indent-defform): Mark ignored arguments.
5354 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5355 (calculate-lisp-indent): Remove unused variables.
5356 * international/characters.el (indian-2-column, arabic-2-column)
5357 (tibetan): Mark ignored arguments.
5358 (use-cjk-char-width-table): Mark ignored arguments.
5359 Remove unused variables.
5360 * international/fontset.el (build-default-fontset-data)
5361 (x-compose-font-name, create-fontset-from-fontset-spec):
5362 Mark ignored arguments.
5363 (fontset-plain-name): Remove unused variables.
5364 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5365 (keyboard-coding-system): Mark ignored arguments.
5366 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5367 * help.el (resize-temp-buffer-window):
5368 * window.el (display-buffer-in-major-side-window)
5369 (display-buffer-in-side-window, display-buffer-in-previous-window):
5370 Remove unused variables.
5371 * isearch.el (isearch-forward-symbol):
5372 * version.el (emacs-bzr-version-bzr):
5373 * international/mule-cmds.el (current-language-environment):
5374 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5375 (x-handle-display):
5376 * term/pc-win.el (x-list-fonts, x-display-planes)
5377 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5378 (x-server-version, x-display-screens, x-display-mm-height)
5379 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5380 (x-selection-owner-p, x-own-selection-internal)
5381 (x-disown-selection-internal, x-get-selection-internal)
5382 (msdos-initialize-window-system):
5383 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5384 * term/x-win.el (x-handle-no-bitmap-icon):
5385 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5386 (vc-default-find-file-hook, vc-default-extra-menu):
5387 Mark ignored arguments.
5388
0ca3f70e
SM
53892013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5392 break-condition in the context of the debugged code (bug#12685).
5393
74c5d24c
CS
53942013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5395
5396 * comint.el:
5397 Do not use an overlay to highlight the last prompt. (Bug#14744)
5398 (comint-mode): Make comint-last-prompt buffer local.
5399 (comint-last-prompt): New variable.
5400 (comint-last-prompt-overlay): Remove. Superseded by
5401 comint-last-prompt.
0ca3f70e
SM
5402 (comint-snapshot-last-prompt, comint-output-filter):
5403 Use comint-last-prompt.
74c5d24c 5404
c03c02ee
JB
54052013-08-08 Juanma Barranquero <lekktu@gmail.com>
5406
a3738d20 5407 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5408 (frameset-save): Check validity of the resulting frameset.
5409
04263d23
XF
54102013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5411
5412 * ido.el (ido-record-command): Add doc string.
5413
76c5e5ab
JB
54142013-08-08 Juanma Barranquero <lekktu@gmail.com>
5415
5416 * frameset.el (frameset): Do not disable creation of the default
5417 frameset-p predicate. Doc fix.
5418 (frameset-valid-p): New function, copied from the old predicate-p.
5419 Add additional checks.
5420 (frameset-restore): Check with frameset-valid-p.
5421 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5422 (frameset-name, frameset-description, frameset-properties)
5423 (frameset-states): Add docstring.
f9dbf1cb
JB
5424 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5425 (frameset-filter-alist): Doc fixes.
76c5e5ab 5426
bd0c3c0b
JB
54272013-08-08 Juanma Barranquero <lekktu@gmail.com>
5428
5429 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5430
c735544c
SM
54312013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5432
5433 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5434 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5435 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5436 (byte-compile-normal-call): Remove obsolescence check.
5437
2805a651
JB
54382013-08-08 Juanma Barranquero <lekktu@gmail.com>
5439
3677ffeb
JB
5440 * frameset.el (frameset-restore): Doc fix.
5441
2805a651
JB
5442 * register.el (frameset-frame-id, frameset-frame-with-id)
5443 (frameset-p, frameset-restore, frameset-save): Declare.
5444 (register-alist): Document framesets.
5445 (frameset-session-filter-alist): Declare.
5446 (frameset-to-register): New function.
5447 (jump-to-register): Implement jumping to framesets. Doc fix.
5448 (describe-register-1): Describe framesets.
5449
5450 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5451
a912c016
JB
54522013-08-07 Juanma Barranquero <lekktu@gmail.com>
5453
5454 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5455 Use lexical-binding.
5456
5457 * frameset.el (frameset): Use type vector, not list (incompatible
5458 change). Do not declare a new constructor, use the default one.
5459 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5460 `name' and `description', respectively, and add read-only slot
5461 `timestamp'. Doc fixes.
5462 (frameset-copy, frameset-persistent-filter-alist)
5463 (frameset-filter-alist, frameset-switch-to-gui-p)
5464 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5465 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5466 (frameset-filter-iconified, frameset-keep-original-display-p):
5467 Doc fixes.
5468 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5469 Rename from frameset-filter-(save|restore)-param. All callers changed.
5470 Doc fix.
5471 (frameset-p): Adapt to change to vector and be more thorough.
5472 Change arg name to OBJECT. Doc fix.
5473 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5474 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5475 All callers changed.
5476 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5477 All callers changed.
5478 (frameset--record-minibuffer-relationships): Rename from
5479 frameset--process-minibuffer-frames. All callers changed.
5480 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5481 Use new default constructor (again). Doc fix.
5482 (frameset--find-frame-if): Rename from `frameset--find-frame.
5483 All callers changed.
5484 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5485 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5486 Doc fix.
5487 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5488 PARAMETERS and WINDOW-STATE, respectively.
5489 (frameset-restore): Add new keyword argument PREDICATE.
5490 Reset frameset--target-display to nil. Doc fix.
5491
bb41480a
SM
54922013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5493
f001e98e
SM
5494 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5495 (bat-mode): Use it.
5496 (bat-mode-syntax-table): Mark \n as end-of-comment.
5497 (bat-font-lock-keywords): Remove comment rule.
5498
7679edb1
SM
5499 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5500 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5501
bb41480a
SM
5502 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5503 (byte-compile-callargs-warn): Use `push'.
5504 (byte-compile-arglist-warn): Ignore higher-order "calls".
5505 (byte-compile-file-form-autoload): Use `pcase'.
5506 (byte-compile-function-form): If quoting a symbol, check that it exists.
5507
cdc1ebb9
EZ
55082013-08-07 Eli Zaretskii <eliz@gnu.org>
5509
5510 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5511 and add a few popular commands found in batch files.
5512 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5513 (dos-mode): Doc fixes.
5514
312b1740
SM
55152013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5516
5517 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5518 (dos-mode): Use setq-local. Add space after "rem".
5519 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5520 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5521
400a3178
AM
55222013-08-07 Arni Magnusson <arnima@hafro.is>
5523
5524 * progmodes/dos.el: New file.
5525 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5526 dos-mode.
5527
3b5c03d3
GM
55282013-08-06 Glenn Morris <rgm@gnu.org>
5529
5530 * calendar/calendar.el: Add new faces, and day-header-array.
5531 (calendar-weekday-header, calendar-weekend-header)
5532 (calendar-month-header): New faces.
5533 (calendar-day-header-construct): New function.
5534 (calendar-day-header-width): Also :set calendar-day-header-array.
5535 (calendar-american-month-header, calendar-european-month-header)
5536 (calendar-iso-month-header): Use calendar- faces.
5537 (calendar-generate-month):
5538 Use calendar-day-header-array for day headers; apply faces to them.
5539 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5540 (calendar-abbrev-construct): Add optional maxlen argument.
5541 (calendar-day-name-array): Doc fix.
5542 (calendar-day-name-array, calendar-abbrev-length)
5543 (calendar-day-abbrev-array):
5544 Also :set calendar-day-header-array, and maybe redraw.
5545 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5546 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5547 (calendar-day-name): Add option to use header array.
5548
ec6a2d7a
LMI
55492013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5550
5551 * net/shr.el (shr-render-td): Remove debugging.
5552 (shr-render-td): Make width computation consistent by defaulting
5553 all zero-width columns to 10 characters. This may not be optimal,
5554 but it's at least consistent.
2122cb6d
LMI
5555 (shr-make-table-1): Redo last change to fix the real problem in
5556 colspan handling.
ec6a2d7a 5557
ed4fd9c5
DA
55582013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5559
0ca3f70e
SM
5560 * files.el (cache-long-line-scans):
5561 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5562
64e22afe
JB
55632013-08-06 Juanma Barranquero <lekktu@gmail.com>
5564
024b38fc
JB
5565 * frameset.el (frameset, frameset-filter-alist)
5566 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5567 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5568 (frameset-compute-pos): Rename from frameset--compute-pos,
5569 and add docstring.
5570 (frameset-move-onscreen): Use frameset-compute-pos.
5571 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5572
64e22afe
JB
5573 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5574 Fix typos in docstrings.
5575
c8c2aca8
DA
55762013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5577
5578 * frame.el (get-other-frame): Tiny cleanup.
5579
1d237bba
JB
55802013-08-06 Juanma Barranquero <lekktu@gmail.com>
5581
8951efef
JB
5582 * vc/vc.el (vc-default-ignore-completion-table):
5583 Silence byte-compiler warning.
5584
307764cc
JB
5585 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5586 slot , which can indeed be nil.
5587 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5588 Move entry for `left' from persistent to live filter alist.
5589 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5590 Doc fixes.
5591 (frameset-filter-params): When restoring a frame, copy items added to
5592 `filtered', to avoid unwittingly modifying the original parameters.
5593 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5594 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5595
1d237bba
JB
5596 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5597 to use looking-at-p instead of looking-at. (Bug#15028)
5598
dc6c0eda
SM
55992013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 Revert introduction of isearch-filter-predicates (bug#14714).
5602 Rely on add-function instead.
5603 * isearch.el (isearch-filter-predicates): Rename it back to
5604 isearch-filter-predicate.
5605 (isearch-message-prefix): Use advice-function-mapc and advice
5606 properties to get the isearch-message-prefix.
5607 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5608 instead of run-hook-with-args-until-failure.
5609 (isearch-filter-visible): Not obsolete any more.
5610 * loadup.el: Preload nadvice.
5611 * replace.el (perform-replace): Revert to funcall
5612 instead of run-hook-with-args-until-failure.
5613 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5614 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5615 dired-isearch-filenames-toggle; make it into a proper minor mode.
5616 Use add/remove-function.
5617 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5618 Call the minor-mode rather than add/remove-hook.
5619 (dired-isearch-filter-filenames):
5620 Remove isearch-message-prefix property.
5621 * info.el (Info--search-loop): New function, extracted from Info-search.
5622 Funcall isearch-filter-predicate instead of
5623 run-hook-with-args-until-failure isearch-filter-predicates.
5624 (Info-search): Use it.
5625 (Info-mode): Use isearch-filter-predicate instead of
5626 isearch-filter-predicates.
5627
290d5b58
DA
56282013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5629
5630 Do not call to `selected-window' where it is assumed by default.
5631 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5632 `window-hscroll', `window-width', `window-height', `window-buffer',
5633 `window-frame', `window-start', `window-point', `next-window'
5634 and `window-display-table'.
5635 * abbrev.el (abbrev--default-expand):
5636 * bs.el (bs--show-with-configuration):
5637 * buff-menu.el (Buffer-menu-mouse-select):
5638 * calc/calc.el (calc):
5639 * calendar/calendar.el (calendar-generate-window):
5640 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5641 (diary-make-entry):
5642 * comint.el (send-invisible, comint-dynamic-complete-filename)
5643 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5644 * completion.el (complete):
5645 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5646 * disp-table.el (describe-current-display-table):
5647 * doc-view.el (doc-view-insert-image):
5648 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5649 * ehelp.el (with-electric-help):
5650 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5651 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5652 * emacs-lisp/helper.el (Helper-help-scroller):
5653 * emulation/cua-base.el (cua--post-command-handler-1):
5654 * eshell/esh-mode.el (eshell-output-filter):
5655 * ffap.el (ffap-gnus-wrapper):
5656 * help-macro.el (make-help-screen):
5657 * hilit-chg.el (highlight-compare-buffers):
5658 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5659 * hl-line.el (global-hl-line-highlight):
5660 * icomplete.el (icomplete-simple-completing-p):
5661 * isearch.el (isearch-done):
5662 * jit-lock.el (jit-lock-stealth-fontify):
5663 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5664 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5665 * mpc.el (mpc-tagbrowser, mpc):
5666 * net/rcirc.el (rcirc-any-buffer):
5667 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5668 * play/landmark.el (landmark-max-width, landmark-max-height):
5669 * play/zone.el (zone):
5670 * progmodes/compile.el (compilation-goto-locus):
5671 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5672 * progmodes/etags.el (find-tag-other-window):
5673 * progmodes/fortran.el (fortran-column-ruler):
5674 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5675 * progmodes/verilog-mode.el (verilog-point-text):
5676 * reposition.el (reposition-window):
5677 * rot13.el (toggle-rot13-mode):
5678 * server.el (server-switch-buffer):
5679 * shell.el (shell-dynamic-complete-command)
5680 (shell-dynamic-complete-environment-variable):
5681 * simple.el (insert-buffer, set-selective-display)
5682 (delete-completion-window):
5683 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5684 (speedbar-recenter):
5685 * startup.el (fancy-splash-head):
5686 * textmodes/ispell.el (ispell-command-loop):
5687 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5688 * tutorial.el (help-with-tutorial):
5689 * vc/add-log.el (add-change-log-entry):
5690 * vc/compare-w.el (compare-windows):
5691 * vc/ediff-help.el (ediff-indent-help-message):
5692 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5693 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5694 (ediff-setup-control-frame):
5695 * vc/emerge.el (emerge-position-region):
5696 * vc/pcvs-util.el (cvs-bury-buffer):
5697 * window.el (walk-windows, mouse-autoselect-window-select):
5698 * winner.el (winner-set-conf, winner-undo): Related users changed.
5699
38276e01
JB
57002013-08-05 Juanma Barranquero <lekktu@gmail.com>
5701
5702 * frameset.el (frameset--set-id): Doc fix.
5703 (frameset-frame-id, frameset-frame-id-equal-p)
5704 (frameset-locate-frame-id): New functions.
5705 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5706 (frameset-restore): Use them.
5707
12b4c0ea
DA
57082013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5709
5710 Do not call to `selected-frame' where it is assumed by default.
5711 Affected functions are `raise-frame', `redraw-frame',
5712 `frame-first-window', `frame-terminal' and `delete-frame'.
5713 * calendar/appt.el (appt-disp-window):
5714 * epg.el (epg-wait-for-completion):
5715 * follow.el (follow-delete-other-windows-and-split)
5716 (follow-avoid-tail-recenter):
5717 * international/mule.el (set-terminal-coding-system):
5718 * mail/rmail.el (rmail-mail-return):
5719 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5720 * progmodes/f90.el (f90-add-imenu-menu):
5721 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5722 * server.el (server-switch-buffer):
5723 * simple.el (delete-completion-window):
5724 * talk.el (talk):
5725 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5726 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5727 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5728 * vc/ediff.el (ediff-documentation): Related users changed.
5729 * frame.el (selected-terminal): Remove the leftover.
5730
17f25e76
GM
57312013-08-05 Glenn Morris <rgm@gnu.org>
5732
5733 * calendar/calendar.el (calendar-generate-month):
5734 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5735 (calendar-generate-month, calendar-font-lock-keywords):
5736 Fix for calendar-day-header-width > length of any day name.
17f25e76 5737
063233c3
JB
57382013-08-05 Juanma Barranquero <lekktu@gmail.com>
5739
5740 * desktop.el (desktop-clear): Use new name of sort predicate.
5741
5742 * frameset.el (frameset): Add docstring. Move :version property to its
5743 own `version' slot.
5744 (frameset-copy): Rename from copy-frameset.
5745 (frameset-p): Check more thoroughly.
5746 (frameset-prop): Do not check for :version, which is no longer a prop.
5747 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5748 Use new :never value instead of t.
5749 (frameset-filter-alist): Expand and clarify docstring.
5750 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5751 (frameset-filter-minibuffer, frameset-filter-save-param)
5752 (frameset-filter-restore-param, frameset-filter-iconified):
5753 Add pointer to docstring of frameset-filter-alist.
5754 (frameset-filter-params): Rename filter values to be more meaningful:
5755 :never instead of t, and reverse the meanings of :save and :restore.
5756 (frameset--process-minibuffer-frames): Clarify error message.
5757 (frameset-save): Avoid unnecessary and confusing call to framep.
5758 Use new BOA constructor for framesets.
5759 (frameset--reuse-list): Doc fix.
5760 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5761 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5762 (frameset-minibufferless-first-p): Doc fix.
5763 Rename from frameset-sort-frames-for-deletion.
5764 (frameset-restore): Doc fixes. Use new function names.
5765 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5766
d5671a82
JB
57672013-08-04 Juanma Barranquero <lekktu@gmail.com>
5768
5769 * desktop.el (desktop-restore-forces-onscreen)
5770 (desktop-restore-reuses-frames): Document :keyword constant values.
5771 (desktop-filter-parameters-alist): Remove, now identical to
5772 frameset-filter-alist.
5773 (desktop--filter-tty*): Remove, moved to frameset.el.
5774 (desktop-save-frameset, desktop-restore-frameset):
5775 Do not pass :filters argument.
5776
5777 * frameset.el (frameset-live-filter-alist)
5778 (frameset-persistent-filter-alist): New variables.
5779 (frameset-filter-alist): Use them. Add autoload cookie.
5780 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5781 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5782 `frameset--id' (it's supposed to be internal to frameset.el).
5783 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5784 (frameset--initial-params): New function.
5785 (frameset--get-frame): Use it. Doc fix.
5786 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5787 Accept :all, not 'all.
5788 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5789 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5790 with fbound symbols. Fix frame id matching, and remove matching ids if
5791 the frame being restored is deleted. Obey :delete.
5792
671d5c16
SM
57932013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * subr.el (macrop): New function.
5796 (text-clone--maintaining): New var.
5797 (text-clone--maintain): Rename from text-clone-maintain. Use it
5798 instead of inhibit-modification-hooks.
5799
5800 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5801 a proxy, so as handle autoloads and redefinitions of the target.
5802 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5803
5804 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5805 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5806 (pcase--mutually-exclusive-p): New function.
5807 (pcase--split-consp): Use it.
5808 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5809 mutually exclusive with the current predicate.
5810
5811 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5812 (edebug-macrop): Remove. Use `macrop' instead.
5813 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5814 (ad-macro-p):
5815 * eshell/esh-cmd.el (eshell-macrop):
5816 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5817
1d44e9dc
SM
58182013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5819
5820 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5821 (advice-mapc): New function, using it.
5822 (advice-function-member-p): New function.
5823 (advice--normalize): Store the cdr in advice--saved-rewrite since
5824 that's the part that will be changed.
5825 (advice--symbol-function): New function.
5826 (advice-remove): Handle removal before the function is defined.
5827 Adjust to new advice--saved-rewrite.
5828 (advice-member-p): Use advice-function-member-p and
5829 advice--symbol-function.
5830
5414a283
JB
58312013-08-04 Juanma Barranquero <lekktu@gmail.com>
5832
51d30f2c
JB
5833 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5834 (frameset-filter-minibuffer): Doc fix.
5835 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5836 (frameset--set-id, frameset--process-minibuffer-frames)
5837 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5838 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5839
5414a283
JB
5840 * desktop.el (desktop-clear): Only delete frames when called
5841 interactively and desktop-restore-frames is non-nil. Doc fix.
5842 (desktop-read): Set desktop-saved-frameset to nil.
5843
ab419665
XF
58442013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5845
5846 * vc/vc.el (vc-ignore): Rewrite.
5847 (vc-default-ignore-completion-table):
5848 (vc--read-lines):
5849 (vc--add-line, vc--remove-regexp): New functions.
5850
5851 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5852 (vc-svn-ignore-completion-table): New function.
5853
5854 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5855 (vc-hg-ignore-completion-table):
5856 (vc-hg-find-ignore-file): New functions.
5857
5858 * vc/vc-git.el (vc-git-ignore): Rewrite.
5859 (vc-git-ignore-completion-table):
5860 (vc-git-find-ignore-file): New functions.
5861
5862 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5863
5864 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5865 (vc-bzr-ignore-completion-table):
5866 (vc-bzr-find-ignore-file): New functions.
5867
2613dea2
JB
58682013-08-03 Juanma Barranquero <lekktu@gmail.com>
5869
5870 * frameset.el (frameset-prop): New function and setter.
5871 (frameset-save): Do not modify frame list passed by the caller.
5872
9c959872
SM
58732013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5874
5875 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5876
a104f656
SM
58772013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5878
70122acf
SM
5879 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5880 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5881
a104f656
SM
5882 * custom.el (custom-initialize-default, custom-initialize-set)
5883 (custom-initialize-reset, custom-initialize-changed): Affect the
5884 toplevel-default-value (bug#6275, bug#14586).
5885 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5886 for bug#6275.
5887
f078d570
JB
58882013-08-02 Juanma Barranquero <lekktu@gmail.com>
5889
185e3b5a
JB
5890 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5891 Add cl-def* expressions.
5892
f078d570
JB
5893 * frameset.el (frameset-filter-params): Fix order of arguments.
5894
9421876d
JB
58952013-08-02 Juanma Barranquero <lekktu@gmail.com>
5896
5897 Move code related to saving frames to frameset.el.
5898 * desktop.el: Require frameset.
5899 (desktop-restore-frames): Doc fix.
5900 (desktop-restore-reuses-frames): Rename from
5901 desktop-restoring-reuses-frames.
5902 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5903 (desktop-clear): Clear frames too.
5904 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5905 (desktop--filter-tty*, desktop-save, desktop-read):
5906 Use frameset functions.
5907 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5908 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5909 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5910 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5911 (desktop--process-minibuffer-frames, desktop-save-frames)
5912 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5913 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5914 (desktop--sort-states, desktop-restoring-frames-p)
5915 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5916 (desktop-restoring-frameset-p, desktop-restore-frameset)
5917 (desktop--check-dont-save, desktop-save-frameset): New functions.
5918 (desktop--app-id): New constant.
5919 (desktop-first-buffer, desktop-buffer-ok-count)
5920 (desktop-buffer-fail-count): Move before first use.
5921 * frameset.el: New file.
5922
76dc5996
SM
59232013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5924
5925 * files.el: Use lexical-binding.
5926 (dir-locals-read-from-file): Remove unused `err' variable.
5927 (hack-dir-local-variables--warned-coding): New var.
5928 (hack-dir-local-variables): Use it to avoid repeated warnings.
5929 (make-backup-file-name--default-function): New function.
5930 (make-backup-file-name-function): Use it as default.
5931 (buffer-stale--default-function): New function.
5932 (buffer-stale-function): Use it as default.
5933 (revert-buffer-insert-file-contents--default-function): New function.
5934 (revert-buffer-insert-file-contents-function): Use it as default.
5935 (insert-directory): Avoid add-to-list.
5936
5937 * autorevert.el (auto-revert-handler): Simplify.
5938 Use buffer-stale--default-function.
5939
06d36e2b
TH
59402013-08-01 Tassilo Horn <tsdh@gnu.org>
5941
5f648ab4
TH
5942 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5943
06d36e2b
TH
5944 * whitespace.el (whitespace-ensure-local-variables): New function.
5945 (whitespace-cleanup-region): Call it.
5946 (whitespace-turn-on): Call it.
5947
a43dc424
MA
59482013-08-01 Michael Albinus <michael.albinus@gmx.de>
5949
5950 Complete file name handlers.
5951
5952 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5953 (tramp-handle-verify-visited-file-modtime)
5954 (tramp-handle-file-notify-rm-watch): New functions.
5955 (tramp-call-process): Do not bind `default-directory'.
5956
44e18199
JB
5957 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5958 Order alphabetically.
a43dc424
MA
5959 [access-file, add-name-to-file, dired-call-process]:
5960 [dired-compress-file, file-acl, file-notify-rm-watch]:
5961 [file-ownership-preserved-p, file-selinux-context]:
5962 [make-directory-internal, make-symbolic-link, set-file-acl]:
5963 [set-file-selinux-context, set-visited-file-modtime]:
5964 [verify-visited-file-modtime]: Add handler.
5965 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5966
5967 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5968 [file-notify-add-watch, file-notify-rm-watch]:
5969 [set-file-times, set-visited-file-modtime]:
5970 [verify-visited-file-modtime]: Add handler.
5971 (with-tramp-gvfs-error-message)
5972 (tramp-gvfs-handle-set-visited-file-modtime)
5973 (tramp-gvfs-fuse-file-name): Remove.
5974 (tramp-gvfs-handle-file-notify-add-watch)
5975 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5976 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5977
44e18199
JB
5978 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5979 Order alphabetically.
a43dc424
MA
5980 [file-notify-rm-watch ]: Use default Tramp handler.
5981 [executable-find]: Remove private handler.
5982 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5983 `default-directory'.
5984 (tramp-sh-handle-executable-find)
5985 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5986 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5987 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5988 Do not use `format' in `tramp-message'.
5989
5990 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5991 [file-notify-rm-watch, set-visited-file-modtime]:
5992 [verify-visited-file-modtime]: Add handler.
5993 (tramp-smb-call-winexe): Do not bind `default-directory'.
5994
7188b515
XF
59952013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5996
5997 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5998
2412ee1a
DG
59992013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6000
6001 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6002 use it.
6003 (log-view-diff-changeset): Same.
6004 (log-view-diff-common): Call backend command `previous-revision'
6005 to find out the previous revision, in both cases. Swap the
6006 variables `to' and `fr', so that `fr' usually refers to the
6007 earlier revision (Bug#14989).
6008
5002a754
KRC
60092013-07-31 Kan-Ru Chen <kanru@kanru.info>
6010
6011 * ibuf-ext.el (ibuffer-filter-by-filename):
6012 Make it work with dired buffers too.
6013
44e18199 60142013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6015
6016 * emacs-lisp/re-builder.el (reb-color-display-p):
6017 * files.el (save-buffers-kill-terminal):
6018 * net/browse-url.el (browse-url):
6019 * server.el (server-save-buffers-kill-terminal):
6020 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6021 Prefer nil to selected-frame for the first arg of frame-parameter.
6022
aeca3fbb
XF
60232013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6024
6025 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6026
158bc55c
SB
60272013-07-30 Stephen Berman <stephen.berman@gmx.net>
6028
6029 * minibuffer.el (completion--twq-all): Try and preserve each
6030 completion's case choice (bug#14907).
6031
d50fceab
LMI
60322013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6033
ac38e731
LMI
6034 * net/network-stream.el (open-network-stream): Mention the new
6035 :nogreeting parameter.
6036 (network-stream-open-starttls): Use the :nogreeting parameter
6037 (bug#14938).
6038
1211de50
LMI
6039 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6040
997798bf
LMI
6041 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6042 more natural than popping.
6043
d50fceab 6044 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6045 (shr-urlify): Highlight under mouse.
d50fceab 6046
5c09de04
XF
60472013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6048
207d1d04
XF
6049 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6050
6051 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6052
5c09de04
XF
6053 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6054 buffer for output.
6055
3cd51eaa
XF
6056 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6057 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6058
44e18199 6059 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6060 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6061
6062 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6063
6064 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6065 buffer for output.
6066
35a89bdd
EZ
60672013-07-29 Eli Zaretskii <eliz@gnu.org>
6068
6069 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6070 initial frame is minibuffer-less. (Bug#14841)
6071
78822e94
MA
60722013-07-29 Michael Albinus <michael.albinus@gmx.de>
6073
6074 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6075 option.
6076
6077 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6078 (tramp-maybe-open-connection): Use it.
6079
9503c190
JB
60802013-07-28 Juanma Barranquero <lekktu@gmail.com>
6081
6082 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6083 minimal set of parameters passed when creating a frame, because
6084 the minibuffer status of a frame cannot be changed later.
6085
d5a845b4
SB
60862013-07-28 Stephen Berman <stephen.berman@gmx.net>
6087
6088 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6089 replace-regexp-in-string and inadvertent omissions in previous change.
6090 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6091 name of filtered items buffer.
d5a845b4 6092
ddeffb17
JB
60932013-07-28 Juanma Barranquero <lekktu@gmail.com>
6094
6095 * desktop.el: Optionally force offscreen frames back onscreen.
6096 (desktop-restoring-reuses-frames): New option.
6097 (desktop--compute-pos, desktop--move-onscreen): New functions.
6098 (desktop--make-frame): Use desktop--move-onscreen.
6099
f5950f7a
AM
61002013-07-27 Alan Mackenzie <acm@muc.de>
6101
6102 Fontify a Java generic method as a function.
6103 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6104 value to t.
6105
ae43b66a
SB
61062013-07-27 Stephen Berman <stephen.berman@gmx.net>
6107
6108 * calendar/todo-mode.el: Add command to rename todo files.
6109 (todo-rename-file): New command.
6110 (todo-key-bindings-t): Add key binding for it. Change the
6111 bindings of todo-filter-regexp-items(-multifile) to use `x'
6112 instead of `r', since the latter is better suited to the new
6113 renaming command.
6114
5ab78d3d
AM
61152013-07-27 Alan Mackenzie <acm@muc.de>
6116
6117 Make Java try-with-resources statement parse properly.
6118 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6119 (c-block-stmt-1-2-key): New language constants/variables.
6120 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6121 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6122 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6123 with c-block-stmt-1-2-key.
5ab78d3d 6124
d85c4d50
JB
61252013-07-27 Juanma Barranquero <lekktu@gmail.com>
6126
6127 * desktop.el (desktop--make-frame): Apply most frame parameters after
6128 creating the frame to force (partially or totally) offscreen frames to
6129 be restored as such.
6130
e4c467f9
XF
61312013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6132
6133 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6134 (Bug#14948)
e4c467f9 6135
7ced0d04
SM
61362013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6139 `base' arg of backtrace-frame.
6140
fec92060
EZ
61412013-07-26 Eli Zaretskii <eliz@gnu.org>
6142
6143 * simple.el (list-processes): Doc fix.
6144
d58d31fb
JB
61452013-07-26 Juanma Barranquero <lekktu@gmail.com>
6146
6147 * desktop.el (desktop--select-frame):
d85c4d50 6148 Try harder to reuse existing frames.
d58d31fb 6149
53ff3e77
SM
61502013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6153 (edebug-eval): Use backtrace-eval.
6154 (edebug--display, edebug--recursive-edit): Don't let-bind the
6155 edebug-outer-* vars that keep track of variables we locally let-bind.
6156 (edebug-outside-excursion): Don't restore outside values of locally
6157 let-bound vars.
6158 (edebug--display): Use user-error.
6159 (cl-lexical-debug, cl-debug-env): Remove.
6160
045f7a53
JB
61612013-07-26 Juanma Barranquero <lekktu@gmail.com>
6162
6163 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6164 are restored to be sure that they are visible before deleting any
6165 remaining ones.
6166
59070b32
MM
61672013-07-26 Matthias Meulien <orontee@gmail.com>
6168
742a3501
XF
6169 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6170 vc-print-root-log. (Bug#14948)
59070b32 6171
b1fb3596
RS
61722013-07-26 Richard Stallman <rms@gnu.org>
6173
6174 Add aliases for encrypting mail.
6175 * epa.el (epa-mail-aliases): New option.
6176 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6177 Bind inhibit-read-only so read-only text doesn't ruin everything.
6178 (epa-mail-default-recipients): New subroutine broken out.
6179 Handle epa-mail-aliases.
6180
56ea7291
SM
61812013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 Add support for lexical variables to the debugger's `e' command.
6184 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6185 vars, except for debugger-outer-match-data.
6186 (debugger-frame-number): Move check for "on a function call" from
6187 callers into it. Add `skip-base' argument.
6188 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6189 (debugger-env-macro): Only reset the state stored in non-variables,
6190 i.e. current-buffer and match-data.
6191 (debugger-eval-expression): Rewrite using backtrace-eval.
6192 * subr.el (internal--called-interactively-p--get-frame): Remove.
6193 (called-interactively-p):
6194 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6195 `base' arg of backtrace-frame instead.
6196
15ac32d5
GM
61972013-07-26 Glenn Morris <rgm@gnu.org>
6198
8358a09d
GM
6199 * align.el (align-regexp): Doc fix. (Bug#14857)
6200 (align-region): Explicit error if subexpression missing/does not match.
6201
15ac32d5
GM
6202 * simple.el (global-visual-line-mode):
6203 Do not duplicate the mode lighter. (Bug#14858)
6204
f47ad11b
MR
62052013-07-25 Martin Rudalics <rudalics@gmx.at>
6206
6207 * window.el (display-buffer): In display-buffer bind
6208 split-window-keep-point to t, bug#14829.
6209
02530987
JB
62102013-07-25 Juanma Barranquero <lekktu@gmail.com>
6211
6212 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6213 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6214 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6215 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6216 Change accordingly.
f63ebeb5
JB
6217 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6218 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6219
6ccb9cab 62202013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6221
6ccb9cab 6222 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6223
cb3a56d2
JB
62242013-07-25 Juanma Barranquero <lekktu@gmail.com>
6225
6226 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6227 parameter to modify-frame-parameters if the value has not changed;
6228 this is a workaround for bug#14949.
6229 (desktop--make-frame): On cl-delete-if call, check parameter name,
6230 not full parameter.
6231
7aa7fff0
XF
62322013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6233
6234 * vc/vc.el (vc-ignore): New function.
6235
6236 * vc/vc-svn.el (vc-svn-ignore): New function.
6237
6238 * vc/vc-hg.el (vc-hg-ignore): New function.
6239
6240 * vc/vc-git.el (vc-git-ignore): New function.
6241
6242 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6243 (vc-dir-ignore): New function.
6244
6245 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6246 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6247
6248 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6249
6250 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6251
889acc5c
JB
62522013-07-24 Juanma Barranquero <lekktu@gmail.com>
6253
6254 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6255 (desktop-restore-frames): Warn when deleting an existing frame failed.
6256
86c40970
GM
62572013-07-24 Glenn Morris <rgm@gnu.org>
6258
6259 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6260
d5d3c58a
MA
62612013-07-24 Michael Albinus <michael.albinus@gmx.de>
6262
6263 * filenotify.el (file-notify-supported-p):
6264 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6265 Remove functions.
6266
6267 * autorevert.el (auto-revert-use-notify):
6268 (auto-revert-notify-add-watch):
6269 * net/tramp.el (tramp-file-name-for-operation):
6270 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6271 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6272 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6273 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6274 Remove `file-notify-supported-p' entry.
6275
d100084b
GM
62762013-07-24 Glenn Morris <rgm@gnu.org>
6277
6278 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6279 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6280
ac93e56b
SM
62812013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6282
249eea30
SM
6283 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6284 checked with memq (bug#14935).
6285
ac93e56b
SM
6286 * files.el (revert-buffer-function): Use a non-nil default.
6287 (revert-buffer-preserve-modes): Declare var to
6288 provide access to the `preserve-modes' argument.
6289 (revert-buffer): Let-bind it.
6290 (revert-buffer--default): New function, extracted from revert-buffer.
6291
2cdeb903
SM
62922013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * lpr.el: Signal print errors more prominently.
6295 (print-region-function): Don't default to nil.
6296 (lpr-print-region): New function, extracted from print-region-1.
6297 Check lpr's return value and signal an error in case of problem.
6298 (print-region-1): Use it.
6299 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6300 versions instead.
6301 (ps-printer-name): Default to nil.
6302 (ps-printer-name-option): Default to lpr-printer-switch.
6303 (ps-print-region-function): Don't default to nil.
6304 (ps-postscript-code-directory): Simplify default.
6305 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6306 (ps-string-list, ps-eval-switch, ps-flatten-list)
6307 (ps-flatten-list-1): Remove.
6308 (ps-multibyte-buffer): Avoid setq.
6309 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6310 (print-region-function, ps-print-region-function): Don't set them here.
6311
73600831
XF
63122013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6313
0e55c076
XF
6314 * ido.el (ido-fractionp):
6315 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6316 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6317 (ido-max-directory-size, ido-max-dir-file-cache)
6318 (ido-decorations): Doc fix.
6319
73600831
XF
6320 * ansi-color.el: Fix old URL.
6321
3d012865
MM
63222013-07-23 Michael R. Mauger <michael@mauger.com>
6323
e903c210 6324 * progmodes/sql.el: Version 3.3
3d012865
MM
6325 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6326 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6327 (sql-interactive-remove-continuation-prompt): Rewrite, use
6328 functions above. Fix continuation prompt and complete output line
6329 handling.
6330 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6331 redirected output buffer.
6332 (sql-mode): Restore deleted code (Bug#13591).
6333
da77a2e2
JB
63342013-07-23 Juanma Barranquero <lekktu@gmail.com>
6335
6336 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6337
80ff0c71
MA
63382013-07-23 Michael Albinus <michael.albinus@gmx.de>
6339
6340 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6341
6342 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6343 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6344 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6345
b61d71e4
JB
63462013-07-23 Juanma Barranquero <lekktu@gmail.com>
6347
6348 * desktop.el (desktop-clear): Simplify; remove useless checks
6349 against invalid buffer names.
6350 (desktop-list*): Use cl-list*.
6351 (desktop-buffer-info, desktop-create-buffer): Simplify.
6352
c3512092
LL
63532013-07-23 Leo Liu <sdl.web@gmail.com>
6354
6355 * bookmark.el (bookmark-make-record): Restore NAME as a default
6356 value. (Bug#14933)
6357
0ac26976
SM
63582013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6359
7d22ce18
SM
6360 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6361 extracted from autoload--insert-text.
6362 (autoload--insert-text): Remove.
6363 (autoload--print-cookie-text): New function, extracted from
6364 autoload--insert-cookie-text.
6365 (autoload--insert-cookie-text): Remove.
6366 (autoload-generate-file-autoloads): Adjust calls accordingly.
6367
9b2607e8
SM
6368 * winner.el (winner-hook-installed-p): Remove.
6369 (winner-mode): Simplify accordingly.
6370
c43a8618
SM
6371 * subr.el (add-to-list): Fix compiler-macro when `append' is
6372 not constant. Don't use `cl-member' for the base case.
6373
0ac26976
SM
6374 * progmodes/subword.el: Fix boundary case (bug#13758).
6375 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6376 own group.
6377 (subword-backward-regexp): Make it a constant.
6378 (subword-forward-internal): Don't treat a trailing capital as the
6379 beginning of a word.
6380
6874724a
AR
63812013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6382
6383 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6384 global value of tabulated-list-revert-hook (bug#14930).
6385
70f1b5e8
JB
63862013-07-22 Juanma Barranquero <lekktu@gmail.com>
6387
a1c80d9d
JB
6388 * desktop.el: Require 'cl-lib.
6389 (desktop-before-saving-frames-functions): New hook.
6390 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6391 for frames being saved. Rename from desktop--save-minibuffer-frames.
6392 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6393 Do not save frames with non-nil `desktop-dont-save' parameter.
6394 Filter out deleted frames.
a1c80d9d
JB
6395 (desktop--find-frame): Use cl-find-if.
6396 (desktop--select-frame): Use cl-(first|second|third) to access values
6397 of desktop-mini.
6398 (desktop--make-frame): Use cl-delete-if.
6399 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6400 (desktop-restore-frames): Use cl-(first|second|third) to access values
6401 of desktop-mini. Look for visible frame at the end, not while
6402 restoring frames.
6403
70f1b5e8
JB
6404 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6405 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6406 Use string-match-p, looking-at-p (bug#14927).
6407
728dc3cc
JB
64082013-07-21 Juanma Barranquero <lekktu@gmail.com>
6409
56bc453c
JB
6410 * desktop.el (desktop-saved-frame-states):
6411 Rename from desktop--saved-states; all users changed.
6412 (desktop-save-frames): Rename from desktop--save-frames.
6413 Do not save state to desktop file.
6414 (desktop-save): Save desktop-saved-frame-states to desktop file
6415 and reset to nil.
6416 (desktop-restoring-frames-p): New function.
6417 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6418 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6419 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6420
728dc3cc
JB
6421 * desktop.el: Correctly restore iconified frames.
6422 (desktop--filter-iconified-position): New function.
6423 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6424
862f1c9c
GM
64252013-07-20 Glenn Morris <rgm@gnu.org>
6426
c4074c9f
GM
6427 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6428 Let `message' do the formatting.
6429 (def-gdb-preempt-display-buffer): Add explicit format.
6430
d828e5f9
GM
6431 * image-dired.el (image-dired-track-original-file):
6432 Use with-current-buffer.
6433 (image-dired-track-thumbnail): Use with-current-buffer.
6434 Avoid changing point of wrong window.
6435
862f1c9c
GM
6436 * image-dired.el (image-dired-track-original-file):
6437 Avoid changing point of wrong window. (Bug#14909)
6438
f0398ec1 64392013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6440
6441 * progmodes/gdb-mi.el (gdb-done-or-error):
6442 Guard against "%" in gdb output. (Bug#14127)
6443
1451928f
AS
64442013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6445
763a086d
JB
6446 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6447 (Bug#14826)
f7a03897 6448
1451928f
AS
6449 * international/mule.el (coding-system-iso-2022-flags): Fix last
6450 change.
6451
99107004
KH
64522013-07-20 Kenichi Handa <handa@gnu.org>
6453
763a086d
JB
6454 * international/mule.el (coding-system-iso-2022-flags):
6455 Add `8-bit-level-4'. (Bug#8522)
99107004 6456
48494e06
LMI
64572013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6458
8ba8eec5
LMI
6459 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6460 (bug#14815).
6461
dfbc66e3
LMI
6462 * net/eww.el (eww-process-text-input): Allow inputting when the
6463 point is at the start of the line, as the properties aren't
6464 front-sticky.
6465
48494e06
LMI
6466 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6467 degenerate widths.
6468
77c92cb9
RS
64692013-07-19 Richard Stallman <rms@gnu.org>
6470
aec7da77
RS
6471 * epa.el (epa-popup-info-window): Doc fix.
6472
77c92cb9
RS
6473 * subr.el (split-string): New arg TRIM.
6474
945c5bb1
JB
64752013-07-18 Juanma Barranquero <lekktu@gmail.com>
6476
6477 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6478 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6479
e06ec67f
MA
64802013-07-18 Michael Albinus <michael.albinus@gmx.de>
6481
c7064f05 6482 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6483 `file-notify-support'. Do not autoload. Adapt all uses.
6484 (file-notify-supported-p): New defun.
6485
c7064f05
JB
6486 * autorevert.el (auto-revert-use-notify):
6487 Use `file-notify-supported-p' instead of `file-notify-support'.
6488 Adapt docstring.
e06ec67f
MA
6489 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6490
6491 * net/tramp.el (tramp-file-name-for-operation):
6492 Add `file-notify-supported-p'.
6493
6494 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6495 New defun.
6496 (tramp-sh-file-name-handler-alist): Add it as handler for
6497 `file-notify-supported-p '.
6498
6499 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6500 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6501 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6502 Add `ignore' as handler for `file-notify-*' functions.
6503
5dc8a629
EZ
65042013-07-17 Eli Zaretskii <eliz@gnu.org>
6505
6506 * simple.el (line-move-partial, line-move): Don't start vscroll or
6507 scroll-up if the current line is not taller than the window.
6508 (Bug#14881)
6509
77aea2fb
DG
65102013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6511
6512 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6513 highlight question marks in the method names as strings.
ac72c08d
DG
6514 (ruby-block-beg-keywords): Inline.
6515 (ruby-font-lock-keyword-beg-re): Extract from
6516 `ruby-font-lock-keywords'.
77aea2fb 6517
18c26d81
JD
65182013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6519
6520 * frame.el (blink-cursor-blinks): New defcustom.
6521 (blink-cursor-blinks-done): New defvar.
6522 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6523 (blink-cursor-timer-function): Check if number of blinks has been
6524 done on X and NS.
6525 (blink-cursor-suspend, blink-cursor-check): New defuns.
6526
da48522e
GM
65272013-07-15 Glenn Morris <rgm@gnu.org>
6528
6529 * edmacro.el (edmacro-format-keys): Fix previous change.
6530
0463c1ef
PE
65312013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6532
6533 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6534 The hack didn't work outside English locales anyway.
6535
b43f6451
JB
65362013-07-15 Juanma Barranquero <lekktu@gmail.com>
6537
6538 * simple.el (define-alternatives): Rename from alternatives-define,
6539 per RMS' suggestion.
6540
b958c0ad
JB
65412013-07-14 Juanma Barranquero <lekktu@gmail.com>
6542
6543 * desktop.el (desktop-restore-frames): Change default to t.
6544 (desktop-restore-in-current-display): Now offer more options.
6545 (desktop-restoring-reuses-frames): New customization option.
6546 (desktop--saved-states): Doc fix.
6547 (desktop-filter-parameters-alist): New variable, renamed and expanded
6548 from desktop--excluded-frame-parameters.
6549 (desktop--target-display): New variable.
6550 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6551 (desktop--filter-tty*, desktop--filter-*-color)
6552 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6553 (desktop--filter-save-desktop-parm)
6554 (desktop-restore-in-original-display-p): New functions.
6555 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6556 (desktop--save-minibuffer-frames): New function, inspired by a similar
6557 function from Martin Rudalics.
6558 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6559 (desktop--restore-in-this-display-p): Remove.
6560 (desktop--find-frame): Rename from desktop--find-frame-in-display
6561 and add predicate argument.
6562 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6563 (desktop--reuse-list): New variable.
6564 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6565 New functions.
6566 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6567
f6dd8b36
MA
65682013-07-14 Michael Albinus <michael.albinus@gmx.de>
6569
6570 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6571
2ce3c565
DG
65722013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6573
763a086d
JB
6574 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6575 Highlight conversion methods on Kernel.
2ce3c565 6576
2cdb7698
AM
65772013-07-13 Alan Mackenzie <acm@muc.de>
6578
6579 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6580 and comment it out. This out-commenting enables certain C++
6581 declarations to be parsed correctly.
6582
1a67b811
EZ
65832013-07-13 Eli Zaretskii <eliz@gnu.org>
6584
1b796d6b
EZ
6585 * international/mule.el (define-coding-system): Doc fix.
6586
1a67b811
EZ
6587 * simple.el (default-font-height): Don't call font-info if the
6588 frame's default font didn't change since the frame was created.
6589 (Bug#14838)
6590
58fbe886
LL
65912013-07-13 Leo Liu <sdl.web@gmail.com>
6592
6593 * ido.el (ido-read-file-name): Guard against non-symbol value.
6594
1f0480d4
FEG
65952013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6596
6597 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6598 in nested defuns.
6599
97ead0e5
LL
66002013-07-13 Leo Liu <sdl.web@gmail.com>
6601
6602 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6603 ido-set-matches call. (Bug#6852)
6604
0880a952
DG
66052013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6606
6607 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6608 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6609 Ruby 2.0.
6610 (ruby-font-lock-keywords): Distinguish calls to functions with
6611 module-like names from module references. Highlight character
6612 literals.
6613
a7d8babb
SDJ
66142013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6615
6616 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6617 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6618
acfcc8c5
JB
66192013-07-12 Juanma Barranquero <lekktu@gmail.com>
6620
6621 * desktop.el (desktop--v2s): Remove unused local variable.
6622 (desktop-save-buffer): Make defvar-local; adjust docstring.
6623 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6624 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6625
051f2775
AS
66262013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6627
6628 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6629
f24e7572
GM
66302013-07-12 Eli Zaretskii <eliz@gnu.org>
6631
6632 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6633 (Bug#14842)
6634
539a920c
GM
66352013-07-12 Glenn Morris <rgm@gnu.org>
6636
6637 * doc-view.el: Require cl-lib at runtime too.
6638 (doc-view-remove-if): Remove.
6639 (doc-view-search-next-match, doc-view-search-previous-match):
6640 Use cl-remove-if.
6641
6642 * edmacro.el: Require cl-lib at runtime too.
6643 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6644 (edmacro-mismatch, edmacro-subseq): Remove.
6645
6646 * shadowfile.el: Require cl-lib.
6647 (shadow-remove-if): Remove.
6648 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6649 Use cl-remove-if.
6650
6651 * wid-edit.el: Require cl-lib.
6652 (widget-choose): Use cl-remove-if.
6653 (widget-remove-if): Remove.
6654
6655 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6656 (ebrowse-delete-if-not): Remove.
6657 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6658 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6659 Use cl-delete-if-not.
6660
1048af7c
JB
66612013-07-12 Juanma Barranquero <lekktu@gmail.com>
6662
6663 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6664 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6665
6c0674ee
LL
66662013-07-12 Leo Liu <sdl.web@gmail.com>
6667
6668 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6669
a19b3c2d
GM
66702013-07-11 Glenn Morris <rgm@gnu.org>
6671
4582a01c
GM
6672 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6673 (edebug-gensym-index, edebug-gensym):
6674 Remove reimplementation of cl-gensym.
6675 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6676
6677 * thumbs.el: Require cl-lib at run-time too.
6678 (thumbs-gensym-counter, thumbs-gensym):
6679 Remove reimplementation of cl-gensym.
6680 (thumbs-temp-file): Use cl-gensym.
6681
a19b3c2d
GM
6682 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6683 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6684 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6685 (ert--union, ert--gensym-counter, ert--gensym-counter)
6686 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6687 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6688 (ert-make-test-unbound, ert--expand-should-1)
6689 (ert--expand-should, ert--should-error-handle-error)
6690 (should-error, ert--explain-equal-rec)
6691 (ert--plist-difference-explanation, ert-select-tests)
6692 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6693 Use cl-lib functions rather than reimplementations.
6694
88f6a933
MA
66952013-07-11 Michael Albinus <michael.albinus@gmx.de>
6696
6697 * net/tramp.el (tramp-methods): Extend docstring.
6698 (tramp-connection-timeout): New defcustom.
6699 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6700 (with-tramp-progress-reporter): Simplify.
6701 (tramp-process-actions): Improve messages.
6702
6703 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6704 * net/tramp-sh.el (tramp-maybe-open-connection):
6705 Use `tramp-connection-timeout'.
6706 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6707 (Bug#14808)
6708
a43d577e
LL
67092013-07-11 Leo Liu <sdl.web@gmail.com>
6710
6711 * ido.el (ido-read-file-name): Conform to the requirements of
6712 read-file-name. (Bug#11861)
6713 (ido-read-directory-name): Conform to the requirements of
6714 read-directory-name.
6715
d77974bf
JB
67162013-07-11 Juanma Barranquero <lekktu@gmail.com>
6717
6718 * subr.el (delay-warning): New function.
6719
35cb8a3e
EZ
67202013-07-10 Eli Zaretskii <eliz@gnu.org>
6721
6722 * simple.el (default-line-height): New function.
6723 (line-move-partial, line-move): Use it instead of computing the
6724 line height inline.
6725 (line-move-partial): Always compute ROWH. If the last line is
6726 partially-visible, but its text is completely visible, allow
6727 cursor to enter such a partially-visible line.
6728
525c5c77
MA
67292013-07-10 Michael Albinus <michael.albinus@gmx.de>
6730
6731 Improve error messages. (Bug#14808)
6732
6733 * net/tramp.el (tramp-current-connection): New defvar, moved from
6734 tramp-sh.el.
0ac26976 6735 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6736 needed anymore.
0ac26976
SM
6737 (tramp-error-with-buffer): Show message in minibuffer.
6738 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6739 (with-tramp-progress-reporter): Improve messages.
6740 (tramp-process-actions): Use progress reporter. Delete process in
6741 case of error. Improve messages.
6742
763a086d
JB
6743 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6744 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6745 (tramp-current-connection): Remove.
525c5c77
MA
6746 (tramp-maybe-open-connection): The car of
6747 `tramp-current-connection' are the first 3 slots of the vector.
6748
c7a4d368
TZ
67492013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6750
6751 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6752 inside continued strings.
6753
954b166e
PE
67542013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6755
6756 Timestamp fixes for undo (Bug#14824).
6757 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6758
56973319
LL
67592013-07-10 Leo Liu <sdl.web@gmail.com>
6760
6761 * files.el (require-final-newline): Allow safe local value.
6762 (Bug#14834)
6763
5550a72c
LL
67642013-07-09 Leo Liu <sdl.web@gmail.com>
6765
6766 * ido.el (ido-read-directory-name): Handle fallback.
6767 (ido-read-file-name): Update DIR to ido-current-directory.
6768 (Bug#1516)
c28b9050 6769 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6770
70c46b28
DG
67712013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6772
6773 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6774 "autoload". Remove "warn lower camel case" section, previously
6775 commented out. Highlight negation char. Do not highlight the
6776 target in singleton method definitions.
6777
0b64b838
SM
67782013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6779
7fd72e2c
SM
6780 * faces.el (tty-setup-hook): Declare the hook.
6781
0b64b838
SM
6782 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6783 and detect when a guard/pred depends on local vars (bug#14773).
6784 (pcase--u1): Adjust caller.
6785
ab49d60b
EZ
67862013-07-08 Eli Zaretskii <eliz@gnu.org>
6787
6788 * simple.el (line-move-partial, line-move): Account for
6789 line-spacing.
701d79aa
EZ
6790 (line-move-partial): Avoid setting vscroll when the last
6791 partially-visible line in window is of default height.
ab49d60b 6792
2d756ae0
LMI
67932013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6794
6795 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6796 been used a while.
6797
ed095bd7
JB
67982013-07-07 Juanma Barranquero <lekktu@gmail.com>
6799
6800 * subr.el (read-quoted-char): Remove unused local variable `char'.
6801
f1e6674b
MK
68022013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6803
584ee3fc
GM
6804 * ediff.el (ediff-version): Version update.
6805 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6806 (ediff-merge-with-ancestor-command, ediff-directories-command)
6807 (ediff-directories3-command, ediff-merge-directories-command)
6808 (ediff-merge-directories-with-ancestor-command): New functions.
6809 All are command-line interfaces to ediff: to facilitate calling
6810 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6811
6812 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6813 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6814
584ee3fc
GM
6815 * viper.el (viper-version): Version update.
6816 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6817
584ee3fc
GM
68182013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6819
6820 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6821 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6822 (viper-intercept-ESC-key): Simplify.
6823 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6824 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6825 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6826 (viper-setup-ESC-to-escape): New functions.
6827 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6828 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6829
9aff9b38
EZ
68302013-07-07 Eli Zaretskii <eliz@gnu.org>
6831
5165d44a
JB
6832 * simple.el (default-font-height, window-screen-lines):
6833 New functions.
9aff9b38
EZ
6834 (line-move, line-move-partial): Use them instead of
6835 frame-char-height and window-text-height. This makes scrolling
6836 text smoother when the buffer's default face uses a font that is
6837 different from the frame's default font.
6838
1afb1d07
JD
68392013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6840
6841 * files.el (write-file): Do not display confirm dialog for NS,
6842 it does its own dialog, which can't be cancelled (Bug#14578).
6843
23de972a
EZ
68442013-07-06 Eli Zaretskii <eliz@gnu.org>
6845
6846 * simple.el (line-move-partial): Adjust the row returned by
6847 posn-at-point for the current window-vscroll. (Bug#14567)
6848
54a42486
MA
68492013-07-06 Michael Albinus <michael.albinus@gmx.de>
6850
6851 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6852 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6853 spaces.
6854
34ada5f4
MR
68552013-07-06 Martin Rudalics <rudalics@gmx.at>
6856
6857 * window.el (window-state-put-stale-windows): New variable.
6858 (window--state-put-2): Save list of windows without matching buffer.
6859 (window-state-put): Remove "bufferless" windows if possible.
6860
11e03d89
JB
68612013-07-06 Juanma Barranquero <lekktu@gmail.com>
6862
6863 * simple.el (alternatives-define): Remove leftover :group keyword.
6864 Tweak docstring.
6865
3504a4be
LL
68662013-07-06 Leo Liu <sdl.web@gmail.com>
6867
6868 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6869 (ido-enable-virtual-buffers): New variable.
6870 (ido-buffer-internal, ido-toggle-virtual-buffers)
6871 (ido-make-buffer-list): Use it.
6872 (ido-exhibit): Support turning on and off virtual buffers
6873 automatically.
6874
61e56e2c
JB
68752013-07-06 Juanma Barranquero <lekktu@gmail.com>
6876
6877 * simple.el (alternatives-define): New macro.
6878
321e1a9c
SM
68792013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * subr.el (read-quoted-char): Use read-key.
6882 (sit-for): Let read-event decode tty input (bug#14782).
6883
d610f6dd
SB
68842013-07-05 Stephen Berman <stephen.berman@gmx.net>
6885
6886 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6887 mode command and externally. Fix various related bugs.
6888 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6889 (todo-delete-file): New command.
6890 (todo-check-file): New function.
6891 (todo-show): Handle external deletion of the file we're trying to
6892 show (bug#14688). Replace called-interactively-p by an optional
6893 prefix argument to avoid problematic interaction with catch form
6894 when byte compiled (bug#14702).
6895 (todo-quit): Handle external deletion of the archive's todo file.
6896 Make sure the buffer that was visiting the archive file is still
6897 live before trying to bury it.
6898 (todo-category-completions): Handle external deletion of any
6899 category completion files.
6900 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6901 of todo files, in case of external deletion.
6902 (todo-add-file): Replace unnecessary setq by let-binding.
6903 (todo-find-archive): Check whether there are any archives.
6904 Replace unnecessary setq by let-binding.
6905 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6906 archive buffer whether or not the archive already exists.
6907 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6908 check if the archive is new; if it is, update list of archives.
6909 (todo-default-todo-file): Allow nil to be a valid value for when
6910 there are no todo files.
6911 (todo-reevaluate-default-file-defcustom): Use corrected definition
6912 of todo-default-todo-file.
6913 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6914 (todo-delete-category, todo-show-categories-table)
6915 (todo-category-number): Clarify comment.
6916 (todo-filter-items): Clarify documentation string.
6917 (todo-show-current-file, todo-display-as-todo-file)
6918 (todo-reset-and-enable-done-separator): Tweak documentation string.
6919 (todo-done-separator): Make separator length window-width, since
6920 bug#2749 is now fixed.
6921
ddbdfd6f
MA
69222013-07-05 Michael Albinus <michael.albinus@gmx.de>
6923
321e1a9c
SM
6924 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6925 Support both "gvfs-monitor-dir" and "inotifywait".
6926 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6927 `tramp-sh-file-notify-process-filter'.
6928 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6929 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6930
96eb829a
LL
69312013-07-05 Leo Liu <sdl.web@gmail.com>
6932
6933 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6934
cf13177e
YM
69352013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6936
6937 * frame.el (display-pixel-height, display-pixel-width)
6938 (display-mm-height, display-mm-width): Mention behavior on
6939 multi-monitor setups in docstrings.
6940 (w32-display-monitor-attributes-list): Declare function.
6941 (display-monitor-attributes-list): Use it.
6942
864c58ca
MA
69432013-07-04 Michael Albinus <michael.albinus@gmx.de>
6944
6945 * filenotify.el: New package.
6946
6947 * autorevert.el (top): Require filenotify.el.
6948 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6949 instead.
6950 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6951 (auto-revert-notify-handler): Use `file-notify-*' functions.
6952
6953 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6954
321e1a9c
SM
6955 * net/tramp.el (tramp-file-name-for-operation):
6956 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6957
6958 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6959 for `file-notify-add-watch' and `file-notify-rm-watch'.
6960 (tramp-process-sentinel): Improve trace.
6961 (tramp-sh-handle-file-notify-add-watch)
6962 (tramp-sh-file-notify-process-filter)
6963 (tramp-sh-handle-file-notify-rm-watch)
6964 (tramp-get-remote-inotifywait): New defuns.
6965
96673afe
JL
69662013-07-03 Juri Linkov <juri@jurta.org>
6967
6968 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6969 call of `occur-read-primary-args' to interactive spec.
6970
6971 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6972 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6973
924494f4
MM
69742013-07-03 Matthias Meulien <orontee@gmail.com>
6975
6976 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6977 `Buffer-menu-multi-occur'. Add it to the menu.
6978 (Buffer-menu-mode): Document it in docstring.
6979 (Buffer-menu-multi-occur): New command. (Bug#14673)
6980
56f75efc
DG
69812013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6982
6983 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6984 keywords and built-ins.
6985
9b057d61
GM
69862013-07-03 Glenn Morris <rgm@gnu.org>
6987
208dee4d
GM
6988 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6989
9b057d61
GM
6990 Make info-xref checks case-sensitive by default
6991 * info.el (Info-find-node, Info-find-in-tag-table)
6992 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6993 Add option for exact case matching of nodes.
6994 * info-xref.el (info-xref): New custom group.
6995 (info-xref-case-fold): New option.
6996 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6997
e01aa29c
LL
69982013-07-03 Leo Liu <sdl.web@gmail.com>
6999
7000 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7001
3086ca2e
DG
70022013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7003
7004 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7005 middle of block statement initially, lower the depth. Remove
7006 FIXME comment, not longer valid. Remove middle of block statement
7007 detection, no need to do that anymore since we've been using
7008 `ruby-parse-region' here.
7009
a3b49114
JD
70102013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7011
7012 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7013
08e5c823 70142013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7015
7016 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7017
2addf922
JB
70182013-07-01 Juanma Barranquero <lekktu@gmail.com>
7019
7020 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7021 (desktop-restore-in-current-display): New customization option.
7022 (desktop--excluded-frame-parameters): Add `font'.
7023 (desktop--save-frames): Rename from desktop--save-windows.
7024 (desktop--restore-in-this-display-p): New function.
7025 (desktop--make-full-frame): Remove unwanted width/height from
7026 full(width|height) frames.
7027 (desktop--restore-frames): Rename from desktop--restore-windows.
7028 Obey desktop-restore-current-display. Do not delete old frames or
7029 select a new frame unless we were able to restore at least one frame.
7030
ef099a94
MN
70312013-06-30 Michal Nazarewicz <mina86@mina86.com>
7032
7033 * files.el (find-file-noselect): Simplify conditional expression.
7034
7035 * remember.el (remember-append-to-file):
7036 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7037
7038 Add `remember-notes' function to store random notes across Emacs
7039 restarts.
7040 * remember.el (remember-data-file): Add :set callback to affect
7041 notes buffer (if any).
7042 (remember-notes): New command.
7043 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7044 New defcustoms for the `remember-notes' function.
7045 (remember-notes-save-and-bury-buffer): New command.
7046 (remember-notes-mode-map): New variable.
7047 (remember-mode): New minor mode.
7048 (remember-notes--kill-buffer-query): New function.
7049 * startup.el (initial-buffer-choice): Add notes to custom type.
7050
0865d506
EZ
70512013-06-30 Eli Zaretskii <eliz@gnu.org>
7052
0ba54312
EZ
7053 * bindings.el (right-char, left-char): Don't call sit-for, this is
7054 no longer needed. Use arithmetic comparison only for numerical
7055 arguments.
7056
ef099a94
MN
7057 * international/mule-cmds.el (select-safe-coding-system):
7058 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7059
2fae38e5
LMI
70602013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7061
7062 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7063 progression on degenerate tables.
ef099a94 7064 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7065
a47cbd64
JB
70662013-06-30 Juanma Barranquero <lekktu@gmail.com>
7067
7068 Some fixes and improvements for desktop frame restoration.
7069 It is still experimental and disabled by default.
7070 * desktop.el (desktop--save-windows): Put the selected frame at
7071 the head of the list.
7072 (desktop--make-full-frame): New function.
7073 (desktop--restore-windows): Try to re-select the frame that was
7074 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7075 just show an error message and continue. Set up maximized frames
7076 so they have default non-maximized dimensions.
a47cbd64 7077
6dbafa30
DG
70782013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7079
ef099a94
MN
7080 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7081 Don't start heredoc inside a string or comment.
6dbafa30 7082
4c672a0f
EZ
70832013-06-29 Eli Zaretskii <eliz@gnu.org>
7084
7085 * bindings.el (visual-order-cursor-movement): New defcustom.
7086 (right-char, left-char): Provide visual-order cursor motion by
7087 calling move-point-visually. Update the doc strings.
7088
50960f36
KH
70892013-06-28 Kenichi Handa <handa@gnu.org>
7090
7091 * international/mule.el (define-coding-system): New coding system
7092 properties :inhibit-null-byte-detection,
7093 :inhibit-iso-escape-detection, and :prefer-utf-8.
7094 (set-buffer-file-coding-system): If :charset-list property of
7095 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7096 appropriate for setting.
7097
c1ea3abf
JB
7098 * international/mule-cmds.el (select-safe-coding-system):
7099 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7100 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7101
7102 * international/mule-conf.el (prefer-utf-8): New coding system.
7103 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7104 files.
7105
75dbaf9d
IK
71062013-06-28 Ivan Kanis <ivan@kanis.fr>
7107
eadb6068
IK
7108 * net/shr.el (shr-render-region): New function.
7109
75dbaf9d
IK
7110 * net/eww.el: Autoload `eww-browse-url'.
7111
9ea5cf9f
DG
71122013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7113
c1ea3abf
JB
7114 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7115 Adapt to `package-desc-version' being a list.
7116 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7117 archive element.
7118
39c0e36f
JB
71192013-06-27 Juanma Barranquero <lekktu@gmail.com>
7120
7121 New experimental feature to save&restore window and frame setup.
7122 * desktop.el (desktop-save-windows): New defcustom.
7123 (desktop--saved-states): New var.
7124 (desktop--excluded-frame-parameters): New defconst.
7125 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7126 (desktop--restore-windows, desktop--save-windows): New functions.
7127 (desktop-save): Call `desktop--save-windows'.
7128 (desktop-read): Call `desktop--restore-windows'.
7129
7f13406b
LMI
71302013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7131
ef099a94 7132 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7133
1e072639
SB
71342013-06-27 Stephen Berman <stephen.berman@gmx.net>
7135
7136 * info.el (Info-try-follow-nearest-node): Move search for footnote
7137 above search for node name to prevent missing a footnote (bug#14717).
7138
f3e2cbde
SB
71392013-06-27 Stephen Berman <stephen.berman@gmx.net>
7140
7141 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7142
99906aa0
LL
71432013-06-27 Leo Liu <sdl.web@gmail.com>
7144
7145 * net/eww.el (eww-read-bookmarks): Check file size.
7146
539f75f4
SM
71472013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7150 advice--pending if newdef is nil or an autoload (bug#13820).
7151 (advice-mapc): New function.
7152
843571cb
LMI
71532013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7154
7155 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7156 probably.
23a75d7f 7157 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7158 (eww-add-bookmark): New command.
7159 (eww-bookmark-mode): New mode and commands.
a285ce99 7160 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7161 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7162
f2136e1e
GM
71632013-06-26 Glenn Morris <rgm@gnu.org>
7164
eab35f39
GM
7165 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7166 (hfy-size): Handle ttys. (Bug#14668)
7167
f2136e1e
GM
7168 * info-xref.el: Update for Texinfo 5 change in *note format.
7169 (info-xref-node-re, info-xref-note-re): New constants.
7170 (info-xref-check-buffer): Use info-xref-note-re.
7171
a49ff80c
SM
71722013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7173
a343d218
SM
7174 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7175
a49ff80c
SM
7176 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7177 nil terminate the loop (bug#14718).
7178
8308f184
LMI
71792013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7180
7181 * net/eww.el: Rework history traversal. When going forward/back,
7182 put these actions into the history, too, so that they can be
7183 replayed.
26bf2b82 7184 (eww-render): Move the history reset to the correct buffer.
8308f184 7185
ec64c273
JL
71862013-06-25 Juri Linkov <juri@jurta.org>
7187
7188 * files-x.el (modify-dir-local-variable): Change the header comment
7189 in the file with directory local variables. (Bug#14692)
7190
e080a9d7
JL
7191 * files-x.el (read-file-local-variable-value): Add `default'.
7192 (Bug#14710)
7193
bfbc93a1
IK
71942013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7195
7196 * net/eww.el (eww-make-unique-file-name): Create a unique file
7197 name before saving to entering `y' accidentally asynchronously.
7198
71992013-06-25 Ivan Kanis <ivan@kanis.fr>
7200
7201 * net/eww.el (eww-download): New command and keystroke.
7202
16f74f10
LMI
72032013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7204
a49ff80c 7205 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7206
7207 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7208 be more consistent with Info and dired.
7209
7210 * net/eww.el (eww-mode-map): Ditto.
7211
12059709
SM
72122013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7215 packages from archives.
7216 (package-archive-contents): Change format; include obsolete packages.
7217 (package-desc): Use `dir' to mark builtin packages.
7218 (package--from-builtin): Set the `dir' field to `builtin'.
7219 (generated-autoload-file, version-control): Declare.
7220 (package-compute-transaction): Change first arg and return value to be
7221 lists of package-descs. Adjust to new package-archive-contents format.
7222 (package--add-to-archive-contents): Adjust to new
7223 package-archive-contents format.
7224 (package-download-transaction): Arg is now a list of package-descs.
7225 (package-install): If `pkg' is a package name, pass it as
7226 a requirement, so it is subject to the usual (e.g. disabled) checks.
7227 (describe-package): Accept package-desc as well.
7228 (describe-package-1): Describe a specific package-desc. Add links to
7229 other package-descs for the same package name.
7230 (package-menu-describe-package): Pass the actual package-desc.
7231 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7232 works correctly.
7233 (package-desc-status): New function.
7234 (package-menu--refresh): New function, extracted
7235 from package-menu--generate.
7236 (package-menu--generate): Use it.
7237 (package-delete): Update package-alist.
7238 (package-menu-execute): Don't call package-initialize.
7239
7240 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7241 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7242 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7243 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7244 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7245 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7246
8bbdea0f
MR
72472013-06-25 Martin Rudalics <rudalics@gmx.at>
7248
7249 * window.el (window--state-get-1): Workaround for bug#14527.
7250 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7251
e82b0991
LMI
72522013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7253
7254 * net/eww.el (eww-back-url): Implement the history by stashing all
7255 the data into a list.
d3f0f918 7256 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7257
c763842b
SM
72582013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7261 for values and use read--expression for expressions (bug#14710).
7262 (read-file-local-variable): Avoid setq.
7263 (read-file-local-variable-mode): Use minor-mode-list.
7264
bceff189
RW
72652013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7266
864c58ca 7267 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7268 for DOI URLs.
7269
45f431c6
RW
72702013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7271
864c58ca 7272 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7273 Update imenu-support when dialect changes.
7274
f42d8237
LL
72752013-06-25 Leo Liu <sdl.web@gmail.com>
7276
7277 * ido.el (ido-read-internal): Allow forward slash on windows.
7278
be549ce6
LMI
72792013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7280
7281 * net/eww.el (eww): Start of strings is \\`, not ^.
7282
71d4c19d
IK
72832013-06-24 Ivan Kanis <ivan@kanis.fr>
7284
5196f88a
IK
7285 * net/shr.el (shr-browse-url): Fix interactive spec.
7286
71d4c19d
IK
7287 * net/eww.el (eww): Add a trailing slash to domain names.
7288
ae36ca55
JB
72892013-06-24 Juanma Barranquero <lekktu@gmail.com>
7290
7291 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7292
0ebd92a3
LMI
72932013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7294
bdaa086b
LMI
7295 * net/shr.el (shr-browse-url): Use an external browser if given a
7296 prefix.
7297
c763842b 7298 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7299
b89fc156
IK
73002013-06-24 Ivan Kanis <ivan@kanis.fr>
7301
7302 * net/eww.el (eww): Work more correctly for file: URLs.
7303 (eww-detect-charset): Allow quoted charsets.
7304 (eww-yank-page-url): New command and keystroke.
7305
18eb4bca
DU
73062013-06-24 Daiki Ueno <ueno@gnu.org>
7307
7308 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7309 file name of gpg executable.
7310 (epg-context-program): New function.
7311 (epg-context-home-directory): New function.
7312 (epg-context-set-program): New function.
7313 (epg-context-set-home-directory): New function.
7314 (epg--start): Use `epg-context-program' instead of
7315 'epg-gpg-program'.
7316 (epg--list-keys-1): Likewise.
7317
6c6268c8
LL
73182013-06-24 Leo Liu <sdl.web@gmail.com>
7319
7320 * ido.el (ido-read-internal): Fix bug#14620.
7321
5e400cb3
JB
73222013-06-23 Juanma Barranquero <lekktu@gmail.com>
7323
7324 * faces.el (face-documentation): Simplify.
7325 (read-face-attribute, tty-find-type, x-resolve-font-name):
7326 Use `string-match-p'.
7327 (list-faces-display): Use `string-match-p'. Simplify.
7328 (face-spec-recalc): Check face to avoid face alias loops.
7329 (read-color): Use `string-match-p' and non-capturing parenthesis.
7330
f3f9606c
LMI
73312013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7332
7333 * net/shr.el (shr-rescale-image): Use the new
7334 :max-width/:max-height functionality.
7335
a3ca09b9
IK
73362013-06-23 Ivan Kanis <ivan@kanis.fr>
7337
7338 * net/eww.el (eww-search-prefix): New variable.
7339 (eww): Use it.
f865b474
IK
7340 (eww-external-browser): New variable.
7341 (eww-mode-map): New keystroke.
7342 (eww-browse-with-external-browser): New command.
a3ca09b9 7343
e854cfc7
IK
7344 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7345
18bb9e21
JB
73462013-06-23 Juanma Barranquero <lekktu@gmail.com>
7347
7348 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7349 Don't skip aligning the next header field when padding is 0;
7350 otherwise, field width is not respected unless the title is as
7351 wide as the field.
7352
5b165ade
SM
73532013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * emacs-lisp/package.el (package-el-version): Remove.
7356 (package-process-define-package): Fix inf-loop.
7357 (package-install): Allow symbols as arguments again.
7358
12adebe9
DG
73592013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7360
7361 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7362 add some more keyword-like methods.
7363 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7364
388573ee
JB
73652013-06-22 Juanma Barranquero <lekktu@gmail.com>
7366
7367 * bs.el (bs-buffer-show-mark): Make defvar-local.
7368 (bs-mode): Use setq-local.
7369
7370 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7371 (emacs-lock--try-unlocking): Make defvar-local.
7372
4582a01c 73732013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7374
2663dd23
GM
7375 * play/cookie1.el (cookie-apropos): Minor simplification.
7376
3d94f3ad
GM
7377 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7378
f72e2fdb
DG
73792013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7380
7381 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7382 `regexp-opt', it breaks the build during dumping.
7383
73eab938
DG
73842013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7385
c763842b
SM
7386 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7387 Highlight keyword-like methods on Kernel and Module with
73eab938 7388 font-lock-builtin-face.
5cf8176d
DG
7389 (auto-mode-alist): Consolidate different entries into one regexp
7390 and add more *file-s.
73eab938 7391
d26255f6
SB
73922013-06-21 Stephen Berman <stephen.berman@gmx.net>
7393
7394 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7395
7396 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7397 (diary-entry): Use it in the action of this button type instead of
7398 diary-goto-entry.
7399
7400 * calendar/todo-mode.el: New version.
7401 (todo-add-category): Append new category to end of file and give
7402 it the highest number, instead of putting it at the beginning and
7403 giving it 0. Incorporate noninteractive functionality.
7404 (todo-forward-category): Adapt to 1-based category numbering.
7405 Allow skipping over archived categories.
7406 (todo-backward-category): Derive from todo-forward-category.
7407 (todo-backward-item, todo-forward-item): Make noninteractive and
7408 delegate interactive part to new commands. Make sensitive to done items.
7409 (todo-categories): Make value an alist of category names and
7410 vectors of item counts.
7411 (todo-category-beg): Make a defconst.
7412 (todo-category-number): Use 1 instead of 0 as initial value.
7413 (todo-category-select): Make sensitive to overlays, optional item
7414 highlighting and done items.
7415 (todo-delete-item): Make sensitive to overlays and marked and done items.
7416 (todo-edit-item): Make sensitive to overlays and editing of
7417 date/time header optional. Add format checks.
7418 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7419 no-op if point is not on an item. Advertise using todo-edit-quit.
7420 (todo-edit-mode): Make sensitive to new format, font-locking, and
7421 multiple todo files.
7422 (todo-insert-item, todo-insert-item-here): Derive from
7423 todo-basic-insert-item and extend functionality.
7424 (todo-item-end, todo-item-start): Make sensitive to done items.
7425 (todo-item-string): Don't return text properties. Restore point.
7426 (todo-jump-to-category): Make sensitive to multiple todo files and
7427 todo archives. Use extended category completion.
7428 (todo-lower-item, todo-raise-item): Rename to *-priority and
7429 derive from todo-set-item-priority.
7430 (todo-mode): Derive from special-mode. Make sensitive to new
7431 format, font-locking and multiple todo files. Make read-only.
7432 (todo-mode-map): Don't suppress digit keys, so they can supply
7433 prefix arguments. Add many new key bindings.
7434 (todo-prefix): Insert as an overlay instead of file text.
7435 Change semantics from diary date expression to purely visual mark.
7436 (todo-print): Rename to todo-print-buffer. Make buffer display
7437 features printable. Remove option to restrict number of items
7438 printed. Add option to print to file.
7439 (todo-print-function): Rename to todo-print-buffer-function.
7440 (todo-quit): Extend to handle exiting new todo modes.
7441 (todo-remove-item): Make sensitive to overlays.
7442 (todo-save): Extend to buffers of filtered items.
7443 (todo-show): Make sensitive to done items, multiple todo files and
7444 new todo modes. Offer to convert legacy todo file before creating
7445 first new todo file.
7446 (todo-show-priorities): Rename to todo-top-priorities.
7447 Change semantics of value 0.
7448 (todo-top-priorities): Rename to todo-filter-top-priorities,
7449 derive from todo-filter-items and extend functionality.
7450 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7451 and extend functionality to other types of filtered items.
7452 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7453 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7454 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7455 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7456 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7457 (todo-edit-mode-hook, todo-entry-prefix-function)
7458 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7459 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7460 (todo-initials, todo-insert-threshold, todo-item-string-start)
7461 (todo-line-string, todo-menu, todo-mode-hook)
7462 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7463 (todo-print-priorities, todo-remove-separator)
7464 (todo-save-top-priorities-too, todo-string-count-lines)
7465 (todo-string-multiline-p, todo-time-string-format)
7466 (todo-tmp-buffer-name): Remove.
7467 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7468 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7469 (todo-edit-category-diary-inclusion)
7470 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7471 (todo-edit-file, todo-edit-item-date-day)
7472 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7473 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7474 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7475 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7476 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7477 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7478 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7479 (todo-filter-top-priorities-multifile, todo-find-archive)
7480 (todo-find-filtered-items-file, todo-go-to-source-item)
7481 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7482 (todo-jump-to-archive-category, todo-lower-category)
7483 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7484 (todo-move-category, todo-move-item, todo-next-button)
7485 (todo-next-item, todo-padded-string, todo-powerset)
7486 (todo-previous-button, todo-previous-item)
7487 (todo-print-buffer-to-file, todo-raise-category)
7488 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7489 (todo-set-category-number, todo-set-item-priority)
7490 (todo-set-top-priorities-in-category)
7491 (todo-set-top-priorities-in-file, todo-show-categories-table)
7492 (todo-sort-categories-alphabetically-or-numerically)
7493 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7494 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7495 (todo-toggle-item-header, todo-toggle-item-highlighting)
7496 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7497 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7498 (todo-unarchive-items, todo-unmark-category): New commands.
7499 (todo-absolute-file-name, todo-add-to-buffer-list)
7500 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7501 (todo-basic-insert-item, todo-category-completions)
7502 (todo-category-number, todo-category-string-matcher-1)
7503 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7504 (todo-check-format, todo-clear-matches)
7505 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7506 (todo-current-category, todo-date-string-matcher)
7507 (todo-define-insertion-command, todo-diary-expired-matcher)
7508 (todo-diary-goto-entry, todo-diary-item-p)
7509 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7510 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7511 (todo-done-item-section-p, todo-done-separator)
7512 (todo-done-string-matcher, todo-files, todo-filter-items)
7513 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7514 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7515 (todo-insert-category-line, todo-insert-item-from-calendar)
7516 (todo-insert-sort-button, todo-insert-with-overlays)
7517 (todo-insertion-command-name, todo-insertion-key-bindings)
7518 (todo-label-to-key, todo-longest-category-name-length)
7519 (todo-make-categories-list, todo-mode-external-set)
7520 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7521 (todo-modes-set-3, todo-multiple-filter-files)
7522 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7523 (todo-read-category, todo-read-date, todo-read-dayname)
7524 (todo-read-file-name, todo-read-time)
7525 (todo-reevaluate-category-completions-files-defcustom)
7526 (todo-reevaluate-default-file-defcustom)
7527 (todo-reevaluate-filelist-defcustoms)
7528 (todo-reevaluate-filter-files-defcustom)
7529 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7530 (todo-reset-done-separator, todo-reset-done-separator-string)
7531 (todo-reset-done-string, todo-reset-global-current-todo-file)
7532 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7533 (todo-reset-prefix, todo-set-categories)
7534 (todo-set-date-from-calendar, todo-set-show-current-file)
7535 (todo-set-top-priorities, todo-short-file-name)
7536 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7537 (todo-total-item-counts, todo-update-buffer-list)
7538 (todo-update-categories-display, todo-update-categories-sexp)
7539 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7540 New functions.
7541 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7542 New major modes.
7543 (todo-categories, todo-display, todo-edit, todo-faces)
7544 (todo-filtered): New defgroups.
7545 (todo-archived-only, todo-button, todo-category-string, todo-date)
7546 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7547 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7548 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7549 (todo-add-item-if-new-category, todo-always-add-time-string)
7550 (todo-categories-align, todo-categories-archived-label)
7551 (todo-categories-category-label, todo-categories-diary-label)
7552 (todo-categories-done-label, todo-categories-number-separator)
7553 (todo-categories-todo-label, todo-categories-totals-label)
7554 (todo-category-completions-files, todo-completion-ignore-case)
7555 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7556 (todo-done-separator-string, todo-done-string)
7557 (todo-files-function, todo-filter-done-items, todo-filter-files)
7558 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7559 (todo-initial-category, todo-initial-file, todo-item-mark)
7560 (todo-legacy-date-time-regexp, todo-mode-line-function)
7561 (todo-nondiary-marker, todo-number-prefix)
7562 (todo-print-buffer-function, todo-show-current-file)
7563 (todo-show-done-only, todo-show-first, todo-show-with-done)
7564 (todo-skip-archived-categories, todo-top-priorities-overrides)
7565 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7566 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7567 New defcustoms.
7568 (todo-category-done, todo-date-pattern, todo-date-string-start)
7569 (todo-diary-items-buffer, todo-done-string-start)
7570 (todo-filtered-items-buffer, todo-item-start)
7571 (todo-month-abbrev-array, todo-month-name-array)
7572 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7573 (todo-top-priorities-buffer): New defconsts.
7574 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7575 (todo-categories-with-marks, todo-category-string-face)
7576 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7577 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7578 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7579 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7580 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7581 (todo-font-lock-keywords, todo-global-current-todo-file)
7582 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7583 (todo-insertion-commands-args)
7584 (todo-insertion-commands-args-genlist)
7585 (todo-insertion-commands-names, todo-insertion-map)
7586 (todo-key-bindings-t, todo-key-bindings-t+a)
7587 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7588 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7589 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7590 (todo-visited): New variables.
7591
cad5d1cb
GM
75922013-06-21 Glenn Morris <rgm@gnu.org>
7593
7594 * play/cookie1.el (cookie-apropos): Add optional display argument.
7595 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7596 (psychoanalyze-pinhead): Use cookie-doctor.
7597
9e277302
JB
75982013-06-21 Juanma Barranquero <lekktu@gmail.com>
7599
7600 * emacs-lisp/package.el (tar-get-file-descriptor)
7601 (tar--extract): Declare.
7602
c5b0993e
EW
76032013-06-21 Eduard Wiebe <usenet@pusto.de>
7604
7605 Extend flymake's warning predicate to be a function (bug#14217).
7606 * progmodes/flymake.el (flymake-warning-predicate): New.
7607 (flymake-parse-line): Use it.
7608 (flymake-warning-re): Make obsolete alias to
7609 `flymake-warning-predicate'.
7610
a7d2d465
SM
76112013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7614 (package-obsolete-list): Remove.
7615 (package-activate): Remove min-version argument. Add `force' argument.
7616 Adjust to new package-alist format.
7617 (package-mark-obsolete): Remove.
7618 (package-unpack): Force reload of the package's autoloads.
7619 (package-installed-p): Check builtins if the installed package is not
7620 recent enough.
7621 (package-initialize): Don't reset package-obsolete-list.
7622 Don't specify which package version to activate.
7623 (package-process-define-package, describe-package-1)
7624 (package-menu--generate): Adjust to new package-alist format.
7625
cedf5c9d
JB
76262013-06-21 Juanma Barranquero <lekktu@gmail.com>
7627
7628 * allout-widgets.el (allout-widgets-mode-off)
7629 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7630 (allout-widgets-post-command-business)
7631 (allout-widgets-after-copy-or-kill-function)
7632 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7633 (allout-decorate-item-and-context)
7634 (allout-graphics-modification-handler): Fix typos in docstrings.
7635 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7636
7637 * cmuscheme.el (scheme-start-file): Doc fix.
7638 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7639 (scheme-input-filter): Use `string-match-p'.
7640
7641 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7642
7643 * dired-x.el: Use Dired consistently in docstrings.
7644
7645 * dired.el: Use Dired consistently in docstrings.
7646 (dired-readin, dired-mode): Use `setq-local'.
7647 (dired-switches-alist): Make defvar-local.
7648 (dired-buffers-for-dir): Use `zerop'.
7649 (dired-safe-switches-p, dired-switches-escape-p)
7650 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7651 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7652 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7653 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7654 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7655 (dired-toggle-marks, dired-mark-files-containing-regexp)
7656 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7657 (dired-flag-auto-save-files, dired-flag-backup-files):
7658 Use `looking-at-p'.
7659 (dired-mark-files-regexp, dired-build-subdir-alist):
7660 Use `string-match-p', `looking-at-p'.
7661
7662 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7663 (direct-print-region-helper): Use `string-match-p'.
7664
aed838b5
LL
76652013-06-21 Leo Liu <sdl.web@gmail.com>
7666
cedf5c9d
JB
7667 * comint.el (comint-redirect-results-list-from-process):
7668 Fix infinite loop.
aed838b5 7669
d80a808f
LMI
76702013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7671
7672 * net/eww.el (eww-update-header-line-format): Quote % characters.
7673
e7a526e3
GM
76742013-06-21 Glenn Morris <rgm@gnu.org>
7675
7676 * play/cookie1.el (cookie): New custom group.
7677 (cookie-file): New option.
7678 (cookie-check-file): New function.
7679 (cookie): Make it interactive. Make start and end messages optional.
7680 Interactively, display the result. Default to cookie-file.
7681 (cookie-insert): Default to cookie-file.
7682 (cookie-snarf): Make start and end messages optional.
7683 Default to cookie-file. Use with-temp-buffer.
7684 (cookie-read): Rename from read-cookie.
7685 Make start and end messages optional. Default to cookie-file.
7686 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7687 Do not autoload it.
e7a526e3
GM
7688 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7689 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7690
62efb35e
LL
76912013-06-21 Leo Liu <sdl.web@gmail.com>
7692
7693 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7694
21e3f963
GM
76952013-06-21 Glenn Morris <rgm@gnu.org>
7696
7697 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7698
fd846ab4
SM
76992013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7700 Daniel Hackney <dan@haxney.org>
7701
7702 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7703 Consolidate the single-file vs tarball code.
7704 (package-desc-suffix): New function.
7705 (package-desc-full-name): Don't bother inlining it.
7706 (package-load-descriptor): Return the new package-desc.
7707 (package-mark-obsolete): Remove unused arg `package'.
7708 (package-unpack): Make it work for single files as well.
7709 Make it update package-alist.
7710 (package--make-autoloads-and-stuff): Rename from
7711 package--make-autoloads-and-compile. Don't compile any more.
7712 (package--compile): New function.
7713 (package-generate-description-file): New function, extracted from
7714 package-unpack-single.
7715 (package-unpack-single): Remove.
7716 (package--with-work-buffer): Add indentation and debugging info.
7717 (package-download-single): Remove.
7718 (package-install-from-archive): Rename from package-download-tar, make
7719 it take a pkg-desc, and make it work for single files as well.
7720 (package-download-transaction): Simplify.
7721 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7722 external tar program.
7723 (package-install-from-buffer): Remove `pkg-desc' argument.
7724 Use package-tar-file-info for tar-mode buffers.
7725 (package-install-file): Simplify accordingly.
7726 (package-archive-base): Change to take a pkg-desc.
7727 * tar-mode.el (tar--check-descriptor): New function, extracted from
7728 tar-get-descriptor.
7729 (tar-get-descriptor): Use it.
7730 (tar-get-file-descriptor): New function.
7731 (tar--extract): New function, extracted from tar-extract.
7732 (tar--extract): Use it.
7733 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7734 case the summary uses non-ascii. Adjust to new calling convention of
7735 package-tar-file-info.
7736
b7deae5e
LL
77372013-06-21 Leo Liu <sdl.web@gmail.com>
7738
fd846ab4
SM
7739 * comint.el (comint-redirect-results-list-from-process):
7740 Fix random delay. (Bug#14681)
b7deae5e 7741
7a65a0b2
JB
77422013-06-21 Juanma Barranquero <lekktu@gmail.com>
7743
7744 * profiler.el (profiler-format-number): Use log, not log10.
7745
1493c2af
JB
77462013-06-20 Juanma Barranquero <lekktu@gmail.com>
7747
7748 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7749
aff6371e
SM
77502013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7753 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7754 yet available.
7755 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7756 (AUTOGENEL): ... here.
7757 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7758 (cl--defsubst-expand): Use it.
7759
89561f72
PE
77602013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7761
7762 * subr.el (log10): Move here from C code, and declare as obsolete.
7763 All uses of (log10 X) replaced with (log X 10).
7764
47199123
JB
77652013-06-20 Juanma Barranquero <lekktu@gmail.com>
7766
7767 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7768 Declare with `defvar-local'.
7769 (tabulated-list-use-header-line, tabulated-list-entries)
7770 (tabulated-list-padding, tabulated-list-printer)
7771 (tabulated-list-sort-key): Declare with `defvar-local'.
7772 (tabulated-list-init-header, tabulated-list-print-fake-header):
7773 Use `setq-local'.
7774
4a172eab
MA
77752013-06-20 Michael Albinus <michael.albinus@gmx.de>
7776
47199123
JB
7777 * arc-mode.el (archive-mode): Add `archive-write-file' to
7778 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7779
5fc0acc0
JB
77802013-06-20 Juanma Barranquero <lekktu@gmail.com>
7781
d5b27848
JB
7782 * cus-edit.el (custom-commands): Fix typos.
7783 (custom-display): Fix tooltip text.
7784 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7785 Fix typos in docstrings.
7786 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7787 (custom-unlispify-menu-entry, custom-magic-value-create)
7788 (custom-add-see-also, custom-group-value-create): Use ?\s.
7789 (custom-guess-type, customize-apropos, editable-field)
7790 (custom-face-value-create): Use `string-match-p'.
7791 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7792
7793 * custom.el (custom-load-symbol): Use `string-match-p'.
7794
a5c581d8
JB
7795 * ansi-color.el: Convert to lexical binding.
7796 (ansi-colors): Fix URL.
7797 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7798 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7799 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7800
970ad972
G
78012013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7802
7803 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7804
7805 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7806
78072013-06-19 Tom Tromey <tromey@redhat.com>
7808
7809 * net/eww.el (eww-top-url): Remove.
7810 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7811 (eww-render): Set new variables. Don't set eww-top-url.
7812 (eww-handle-link): Handle "prev", "home", and "contents".
7813 Downcase the rel text.
7814 (eww-top-url): Choose best top URL.
7815
78162013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7817
7818 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7819 relying in widget.el. Using widget.el leads to too many
7820 user interface inconsistencies.
7821 (eww-self-insert): Implement entering commands in text fields.
7822 (eww-process-text-input): New function to make text input field editing
7823 work.
7824 (eww-submit): Rewrite to use the new-style form methods.
7825 (eww-select-display): Display the correct selected item.
7826 (eww-change-select): Implement changing the select value.
7827 (eww-toggle-checkbox): Implement radio/checkboxes.
7828 (eww-update-field): Fix compilation error.
7829 (eww-tag-textarea): Implement <textarea>.
7830
7831 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7832 we don't shadow mode-specific bindings.
7833
7834 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7835 nothing to push.
7836
7837 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7838
4582a01c 78392013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7840
7841 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7842
15b263dc
MA
78432013-06-19 Michael Albinus <michael.albinus@gmx.de>
7844
7845 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7846 not needed.
7847
7848 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7849
8f5297f7
LMI
78502013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7851
7852 * net/browse-url.el (browse-url-browser-function):
7853 `eww-browse-url' has the right calling signature, `eww' does not.
7854
011c4552
GM
78552013-06-19 Glenn Morris <rgm@gnu.org>
7856
2285bd27
GM
7857 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7858 Only eval autoloaded macros.
7859 (byte-compile-autoload): Only give the macro warning for macros.
7860
1d653303
GM
7861 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7862 (ps-underlined-faces): Declare.
7863
bdd779ec
GM
7864 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7865 (speedbar-add-supported-extension): Declare.
7866
011c4552
GM
7867 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7868 Don't include a date stamp in the header of the generated file;
7869 it leads to needless differences between output files.
7870
e59dfb0e
MA
78712013-06-19 Michael Albinus <michael.albinus@gmx.de>
7872
c763842b
SM
7873 * net/secrets.el (secrets-struct-secret-content-type):
7874 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7875 Some servers do not offer introspection.
e59dfb0e 7876
102626e2
SM
78772013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7878
7879 * electric.el (electric-pair-mode): Improve interaction with
7880 electric-layout-mode.
7881 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7882 (electric-pair-syntax): Use text-mode-syntax-table in comments
7883 and strings.
7884 (electric-pair--insert): New function.
7885 (electric-pair-post-self-insert-function): Use it and
7886 electric--after-char-pos.
7887
ad528125
LL
78882013-06-19 Leo Liu <sdl.web@gmail.com>
7889
7890 * progmodes/octave.el (octave-help): Fix regexp.
7891
924d6997
G
78922013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7893
7894 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7895 (shr-table-horizontal-line): Allow nil as a value, and change the
7896 default.
7897 (shr-insert-table-ruler): Respect the nil value.
7898
78992013-06-18 Tom Tromey <tromey@barimba>
7900
7901 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7902 New defvars.
7903 (eww-open-file): New defun.
7904 (eww-render): Initialize new variables.
7905 (eww-display-html): Handle "link" and "a".
7906 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7907 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7908 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7909 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7910 New defuns.
924d6997 7911
d1bbba4f
DG
79122013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7913
7914 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7915 Distinguish ternary operator tokens from slash symbol and slash
7916 char literal.
7917
14dd22d2
JB
79182013-06-18 Juanma Barranquero <lekktu@gmail.com>
7919
7920 Convert symbol prettification into minor mode and global minor mode.
7921
7922 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7923 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7924 (prettify-symbols--keywords): Rename from
7925 `prog-prettify-symbols-alist' and make a local defvar.
7926 (prettify-symbols--compose-symbol): Rename from
7927 `prog--prettify-font-lock-compose-symbol'.
7928 (prettify-symbols--make-keywords): Rename from
7929 `prog-prettify-font-lock-symbols-keywords' and simplify.
7930 (prog-prettify-install): Remove.
7931 (prettify-symbols-mode): New minor mode, based on
7932 `prog-prettify-install'.
7933 (turn-on-prettify-symbols-mode): New function.
7934 (global-prettify-symbols-mode): New globalized minor mode.
7935
7936 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7937 * progmodes/cfengine.el (cfengine3-mode):
7938 * progmodes/perl-mode.el (perl-mode): Don't call
7939 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7940
292c880c
JL
79412013-06-18 Juri Linkov <juri@jurta.org>
7942
7943 * files-x.el (modify-file-local-variable-message): New function.
7944 (modify-file-local-variable)
7945 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7946 and call `modify-file-local-variable-message' when it's non-nil.
7947 (add-file-local-variable, delete-file-local-variable)
7948 (add-file-local-variable-prop-line)
7949 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7950 and use it. (Bug#9820)
7951
0950aa27
JL
79522013-06-18 Juri Linkov <juri@jurta.org>
7953
7954 * emulation/vi.el (vi-shell-op):
7955 * emulation/vip.el (vip-execute-com, ex-command):
7956 * emulation/viper-cmd.el (viper-exec-bang):
7957 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7958 the call of `shell-command-on-region'. (Bug#14637)
7959
7960 * simple.el (shell-command-on-region): Doc fix.
7961
8fbcca16
SM
79622013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7965 (bug#14633).
7966
dd7426ea
GM
79672013-06-18 Glenn Morris <rgm@gnu.org>
7968
4ba54f7d
GM
7969 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7970
dd7426ea
GM
7971 * newcomment.el (comment-search-forward, comment-search-backward):
7972 Doc fix. (Bug#14376)
7973
58aa805b
JB
79742013-06-18 Juanma Barranquero <lekktu@gmail.com>
7975
7976 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7977 (buffer-face-mode-invoke): Doc fix.
7978
9a08a617
MM
79792013-06-18 Matthias Meulien <orontee@gmail.com>
7980
7981 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7982 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7983
f2f426ca
GM
79842013-06-18 Glenn Morris <rgm@gnu.org>
7985
9445f99b
GM
7986 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7987 Replace obsolete function generic-make-keywords with its expansion.
7988
e0df2d14
GM
7989 * progmodes/python.el (ffap-alist): Declare.
7990
f2f426ca
GM
7991 * textmodes/reftex.el (bibtex-mode-map): Declare.
7992
f7f9a720
SM
79932013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7994
7995 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7996 (package-unpack, package-unpack-single): Return the pkg-dir.
7997 (package-download-transaction): Use it to update package-alist.
7998
57ff04e0
LMI
79992013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8000
8001 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8002 possible choice.
8003
c048c022
JL
80042013-06-17 Juri Linkov <juri@jurta.org>
8005
8006 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8007
b5bcaee5
DG
80082013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8009
a020afb9
JB
8010 * emacs-lisp/package.el (package-load-descriptor):
8011 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8012 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8013
551e07e5
JB
80142013-06-17 Juanma Barranquero <lekktu@gmail.com>
8015
8016 * startup.el (command-line): Expand package name returned by
8017 `package--description-file' (bug#14639).
8018
d363bffb
DG
80192013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8020
8021 * emacs-lisp/package.el (package-load-descriptor): Do not call
8022 `emacs-lisp-mode', just use its syntax table.
8023
f612933b
JB
80242013-06-17 Juanma Barranquero <lekktu@gmail.com>
8025
8026 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8027 `font-lock-extra-managed-props' if any prettifying keyword is added.
8028 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8029 (prog-mode): Use `setq-local'.
8030
db3b7db5
SM
80312013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8032
8033 * international/characters.el (standard-case-table): Set syntax of ?»
8034 and ?« to punctuation.
8035
f3d674df
JB
80362013-06-16 Juanma Barranquero <lekktu@gmail.com>
8037
8038 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8039 Save relevant match data before calling `syntax-ppss' (bug#14595).
8040
31489a32
JL
80412013-06-15 Juri Linkov <juri@jurta.org>
8042
8043 * files-x.el (modify-file-local-variable-prop-line): Add local
8044 variables to the end of the existing comment on the first line.
8045 Use `file-auto-mode-skip' to skip interpreter magic line,
8046 and also skip XML declaration.
8047
66bd25ab
SM
80482013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8049
8050 * startup.el (package--builtin-versions): New var.
8051 (package-subdirectory-regexp): Remove.
8052 (package--description-file): Hard code its value instead.
8053
8054 * emacs-lisp/package.el: Don't activate packages older than builtin.
8055 (package-obsolete-list): Rename from package-obsolete-alist, and make
8056 it into a simple list of package-desc.
8057 (package-strip-version): Remove.
8058 (package-built-in-p): Use package--builtin-versions.
8059 (package-mark-obsolete): Simplify.
8060 (package-process-define-package): Mark it obsolete if older than the
8061 builtin version.
8062 (package-handle-response): Use line-end-position.
8063 (package-read-archive-contents, package--download-one-archive):
8064 Simplify.
8065 (package--add-to-archive-contents): Skip if older than the builtin or
8066 installed version.
8067 (package-menu-describe-package): Fix last change.
8068 (package-list-unversioned): New var.
8069 (package-menu--generate): Use it.
8070
8071 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8072 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8073 (autoload-builtin-package-versions): New variable.
8074 (autoload-generate-file-autoloads): Use them.
8075 Remove the list of autoloaded functions/macros from the
8076 (autoload...) comments.
8077
8078 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8079
9583ec36
EZ
80802013-06-15 Eli Zaretskii <eliz@gnu.org>
8081
8082 * simple.el (line-move-partial): Don't jump to the next screen
8083 line as soon as it becomes visible. Instead, continue enlarging
8084 the vscroll until the portion of a tall screen line that's left on
8085 display is about the height of the frame's default font.
8086 (Bug#14567)
8087
f0100d8a
GM
80882013-06-15 Glenn Morris <rgm@gnu.org>
8089
b86a85ca
GM
8090 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8091 compilation-error-regexp-alist void, or local while let-bound.
8092
f0100d8a
GM
8093 * progmodes/make-mode.el (makefile-mode-syntax-table):
8094 Treat "=" as punctuation. (Bug#14614)
8095
05e7ce90
JB
80962013-06-15 Juanma Barranquero <lekktu@gmail.com>
8097
8098 * help-fns.el (describe-variable):
8099 Add extra line for permanent-local variables.
8100
12e5e86e
SH
81012013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8102
8103 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8104 Add export, import, library. (Bug#9164)
8105 (library): Set indent function.
8106
230dcbaf
GM
81072013-06-14 Glenn Morris <rgm@gnu.org>
8108
8109 * term/xterm.el (xterm--query):
8110 Stop after first matching handler. (Bug#14615)
8111
e36b2d20 81122013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8113
8114 Add support for dired in saveplace.
8115 * dired.el (dired-initial-position-hook): New variable.
8116 (dired-initial-position): Call hook to place cursor position.
8117 * saveplace.el (save-place-to-alist): Add dired position.
8118 (save-place-dired-hook): New function.
8119
0b31660d
SM
81202013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8121
bf1e6ae8
SM
8122 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8123 through a symbol rather than letrec.
8124
1b8dff23
SM
8125 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8126 (package-desc): Add `dir' field.
8127 (package-desc-full-name): New function.
8128 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8129 (package-maybe-load-descriptor): Remove.
8130 (package-load-all-descriptors): Just call package-load-descriptor.
8131 (package--disabled-p): New function.
8132 (package-desc-vers, package-desc-doc): Remove aliases.
8133 (package--dir): Remove function.
8134 (package-activate): Check if a package is disabled.
8135 (package-process-define-package): New function, extracted from
8136 define-package.
8137 (define-package): Turn into a place holder.
8138 (package-unpack-single, package-tar-file-info):
8139 Use package--description-file.
8140 (package-compute-transaction): Use package--disabled-p.
8141 (package-download-transaction): Don't call
8142 package-maybe-load-descriptor since they're all loaded anyway.
8143 (package-install): Change argument to be a pkg-desc.
8144 (package-delete): Use a single pkg-desc argument.
8145 (describe-package-1): Use package-desc-dir instead of package--dir.
8146 Use package-desc property instead of package-symbol.
8147 (package-install-button-action): Adjust accordingly.
8148 (package--push): Rewrite.
8149 (package-menu--print-info): Adjust accordingly. Change the ID format
8150 to be a pkg-desc.
8151 (package-menu-describe-package, package-menu-get-status)
8152 (package-menu--find-upgrades, package-menu-mark-upgrades)
8153 (package-menu-execute, package-menu--name-predicate):
8154 Adjust accordingly.
8155 * startup.el (package--description-file): New function.
8156 (command-line): Use it.
8157 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8158 Use package-desc-version.
8159
0b31660d
SM
8160 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8161 (byte-compile-preprocess): Use it.
8162 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8163 can't quite recognize.
8164 (byte-compile-add-to-list): Remove.
8165 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8166 (cconv-closure-convert): Add assertion.
8167
8168 * emacs-lisp/map-ynp.el: Use lexical-binding.
8169 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8170 Factor out some repeated code.
8171
de0503df
SM
81722013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * subr.el (with-eval-after-load): New macro.
8175 (eval-after-load): Allow form to be a function.
8176 take advantage of lexical-binding.
8177 (do-after-load-evaluation): Use dolist and adjust to new format.
8178 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8179
bc5c8c5a
JL
81802013-06-13 Juri Linkov <juri@jurta.org>
8181
8182 * replace.el (perform-replace): Display "symbol " and other search
8183 modes from `isearch-message-prefix' in the *Help* buffer.
8184
8185 * isearch.el (isearch-query-replace): Add " symbol" and other
8186 possible search modes from `isearch-message-prefix' to the prompt.
8187 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8188 when reading a regexp to collect.
8189
a22289f7
JL
81902013-06-13 Juri Linkov <juri@jurta.org>
8191
8192 * isearch.el (word-search-regexp): Match whitespace if the search
8193 string begins or ends in whitespace. The LAX arg is applied to
8194 both ends of the search string. Use `regexp-quote' and explicit
8195 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8196 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8197 boundaries are replaced with symbol boundaries, and characters
8198 between symbols match non-word non-symbol syntax. (Bug#14602)
8199
cb89acab
JL
82002013-06-13 Juri Linkov <juri@jurta.org>
8201
8202 * isearch.el (isearch-del-char): Don't exceed the length of
8203 `isearch-string' by the prefix arg. (Bug#14563)
8204
6e8cfc81
JL
82052013-06-13 Juri Linkov <juri@jurta.org>
8206
8207 * isearch.el (isearch-yank-word, isearch-yank-line)
8208 (isearch-char-by-name, isearch-quote-char)
8209 (isearch-printing-char, isearch-process-search-char):
8210 Add optional count prefix arg. (Bug#14563)
8211
8212 * international/isearch-x.el
8213 (isearch-process-search-multibyte-characters):
8214 Add optional count prefix arg.
8215
c23d55f4
VS
82162013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8219 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8220 lexical-binding.
8221
82222013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8223
8224 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8225
ba947bc4
GM
82262013-06-13 Glenn Morris <rgm@gnu.org>
8227
8baeb37a
GM
8228 * startup.el (tty-handle-args):
8229 Don't just discard "--" and anything after. (Bug#14608)
8230
ba947bc4
GM
8231 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8232
9abefce4
MA
82332013-06-13 Michael Albinus <michael.albinus@gmx.de>
8234
8235 Implement changes in Secret Service API. Make it backward compatible.
8236 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8237 (secrets-create-item): Use it. Prefix properties with interface.
8238
5755011f
MH
82392013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8240
8241 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8242 (term-emulate-terminal): Respect term-suppress-hard-newline.
8243
1261d2da
S
82442013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8245
8246 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8247 Only remove a `thumb-file' overlay. (Bug#14548)
8248
868490bb
GJ
82492013-06-12 Grégoire Jadi <daimrod@gmail.com>
8250
8251 * mail/reporter.el (reporter-submit-bug-report):
8252 Handle missing package-name. (Bug#14600)
8253
79d7167f
TH
82542013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8255
8256 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8257 (reftex-citation-prompt, reftex-default-bibliography)
8258 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8259 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8260 (reftex-bib-sort-author, reftex-bib-sort-year)
8261 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8262 (reftex-extract-bib-entries-from-thebibliography)
8263 (reftex-get-bibkey-default, reftex-get-bib-names)
8264 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8265 (reftex-format-bib-entry, reftex-parse-bibitem)
8266 (reftex-format-bibitem, reftex-do-citation)
8267 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8268 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8269 (reftex-insert-bib-matches, reftex-format-citation)
8270 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8271 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8272 existing comments into docstrings.
8273
5f9dbd7a
XF
82742013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8275
8276 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8277
94df41ab
AS
82782013-06-12 Andreas Schwab <schwab@suse.de>
8279
8280 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8281 for auto-save files.
8282
a7f3fecc
GM
82832013-06-12 Glenn Morris <rgm@gnu.org>
8284
001809f6
GM
8285 * ido.el (ido-delete-ignored-files): Remove.
8286 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8287 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8288
834b5ded
EL
82892013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8290
08c73ed2
EL
8291 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8292
834b5ded
EL
8293 * ido.el (ido-delete-ignored-files): New function,
8294 split from ido-make-file-list-1.
8295 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8296 (ido-make-file-list-1): Use ido-delete-ignored-files.
8297
daabf15a
LL
82982013-06-12 Leo Liu <sdl.web@gmail.com>
8299
8300 * progmodes/octave.el (inferior-octave-startup)
8301 (inferior-octave-completion-table)
8302 (inferior-octave-track-window-width-change)
8303 (octave-eldoc-function-signatures, octave-help)
8304 (octave-find-definition): Use single quoted strings.
8305 (inferior-octave-startup-args): Change default value.
8306 (inferior-octave-startup): Do not hard code "-i" and
8307 "--no-line-editing".
8308 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8309 (inferior-octave-directory-tracker): Use it.
8310 (octave-goto-function-definition): Robustify.
8311 (octave-help): Support highlighting operators in 'See also'.
8312 (octave-find-definition): Find subfunctions only in Octave mode.
8313
cf4e5178
SM
83142013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8315
8316 * help-fns.el (help-fns--compiler-macro): If the handler function is
8317 named, then put a link to it.
8318 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8319 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8320 (cl-typep): Use it.
8321 (cl-eval-when): Simplify debug spec.
8322 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8323 compiler-macro function instead of setting `compiler-macro-file'.
8324
99c81280 83252013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8326
8327 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8328 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8329
f56be016
SM
83302013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8331 Daniel Hackney <dan@haxney.org>
8332
8333 First part of Daniel Hackney's patch to package.el.
8334 * emacs-lisp/package.el: Use defstruct.
8335 (package-desc): New, main struct.
8336 (package--bi-desc, package--ac-desc): New structs, used to describe the
8337 format in external files.
8338 (package-desc-vers): Replace with package-desc-version accessor.
8339 (package-desc-doc): Replace with package-desc-summary accessor.
8340 (package-activate-1): Remove `package' arg since the pkg-vec now
8341 includes the name.
8342 (define-package): Use package-desc-from-define.
8343 (package-unpack-single): Change file-name arg to be a symbol.
8344 (package--add-to-archive-contents): Use package-desc-create and new
8345 accessor functions to package--ac-desc.
8346 (package-buffer-info, package-tar-file-info): Return a package-desc.
8347 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8348 arg to be a package-desc.
8349 (package-install-file): Adjust accordingly. Use \' to match EOS.
8350 (package--from-builtin): New function.
8351 (describe-package-1, package-menu--generate): Use it.
8352 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8353 (package-generate-autoloads): Idem and return the name of the file.
8354 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8355 Change pkg-info arg to be a package-desc.
8356 Use package-make-ac-desc.
8357 (package-upload-file): Use \' to match EOS.
8358 * finder.el (finder-compile-keywords): Use package-make-builtin.
8359
31119d63
SM
83602013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8361
931a2762
SM
8362 * vc/vc.el (vc-deduce-fileset): Change error message.
8363 (vc-read-backend): New function.
8364 (vc-next-action): Use it.
8365
5a3eb0c6
SM
8366 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8367
e3eb1bb7
SM
8368 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8369 (prolog-font-lock-keywords): Use regexp-opt instead.
8370 Don't manually highlight strings.
8371 (prolog-mode-variables): Simplify comment-start-skip.
8372 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8373
31119d63
SM
8374 * emacs-lisp/generic.el (generic--normalise-comments)
8375 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8376 (generic-mode-set-comments): Use them.
8377 (generic-bracket-support): Use setq-local.
8378 (generic-make-keywords-list): Declare obsolete.
8379
7de135d0
GM
83802013-06-11 Glenn Morris <rgm@gnu.org>
8381
8382 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8383 Prettify after setting font-lock-defaults. (Bug#14574)
8384
fa6bc6fd
JB
83852013-06-11 Juanma Barranquero <lekktu@gmail.com>
8386
8387 * replace.el (query-replace, occur-read-regexp-defaults-function)
8388 (replace-search):
8389 * subr.el (declare-function, number-sequence, local-set-key)
8390 (substitute-key-definition, locate-user-emacs-file)
8391 (with-silent-modifications, split-string, eval-after-load):
8392 Fix typos, remove unneeded backslashes and reflow some docstrings.
8393
cf1f9b9a
SM
83942013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8397 default for Elisp files.
8398
56602a4b
GM
83992013-06-11 Glenn Morris <rgm@gnu.org>
8400
8401 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8402 although define-derived-mode was doing this anyway. (Bug#14583)
8403
30ae0b2c
JB
84042013-06-10 Juanma Barranquero <lekktu@gmail.com>
8405
8406 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8407 Fix make-variable-buffer-local call to refer to the correct variable.
8408
fa472906
AG
84092013-06-10 Aidan Gauland <aidalgol@amuri.net>
8410
8411 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8412 (eshell-visual-subcommands, eshell-visual-options):
8413 Add summary line to docstrings. Add cross-references.
fa472906 8414
ff4871b9
GM
84152013-06-10 Glenn Morris <rgm@gnu.org>
8416
8417 * epa.el (epa-read-file-name): New function. (Bug#14510)
8418 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8419
04fcf1b0
AG
84202013-06-09 Aidan Gauland <aidalgol@amuri.net>
8421
8422 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8423 output redirection to be ignored with visual commands.
8424
88b00caa
AG
84252013-06-09 Aidan Gauland <aidalgol@amuri.net>
8426
8427 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8428 (eshell-term-initialize): Move long lambda to separate function
8429 eshell-visual-command-p.
e7b41c4c
JB
8430 * eshell/em-dirs.el (eshell-dirs-initialise):
8431 * eshell/em-script.el (eshell-script-initialize):
8432 Add missing #' to lambda.
88b00caa 8433
fda74125
LL
84342013-06-08 Leo Liu <sdl.web@gmail.com>
8435
8436 * progmodes/octave.el (octave-add-log-current-defun): New function.
8437 (octave-mode): Set add-log-current-defun-function.
8438 (octave-goto-function-definition): Do not move point if not found.
8439 (octave-find-definition): Enhance to try subfunctions first.
8440
467f3b33
GM
84412013-06-08 Glenn Morris <rgm@gnu.org>
8442
8443 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8444 (byte-compile-backward-char, byte-compile-backward-word):
8445 Improve previous change, to handle non-explicit nil.
8446
544badc3
SM
84472013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8448
8449 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8450 (smie--opener/closer-at-point): New function.
8451 (smie--matching-block-data): Use it. Don't match from right after an
8452 opener or right before a closer. Obey smie-blink-matching-inners.
8453 Don't signal a mismatch for repeated inners like "switch..case..case".
8454
a175bf33
LL
84552013-06-07 Leo Liu <sdl.web@gmail.com>
8456
8457 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8458 to t. (Bug#14303)
ce8209d4
LL
8459 (octave-function-header-regexp): Fix. (Bug#14570)
8460 (octave-help-mode-finish-hook, octave-help-mode-finish):
8461 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8462
8463 * newcomment.el (comment-search-backward): Revert last change.
8464 (Bug#14434)
8465
8466 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8467
a822acff
EZ
84682013-06-07 Eli Zaretskii <eliz@gnu.org>
8469
8470 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8471 through xargs, to avoid failure due to MS-Windows limitations on
8472 command-line length.
8473
961166f5
GM
84742013-06-06 Glenn Morris <rgm@gnu.org>
8475
d0341459
GM
8476 * font-lock.el (lisp-font-lock-keywords-2):
8477 Treat user-error like error.
8478
961166f5
GM
8479 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8480 (byte-compile-backward-char, byte-compile-backward-word):
8481 Handle explicit nil arguments. (Bug#14565)
8482
80fa505f
AM
84832013-06-05 Alan Mackenzie <acm@muc.de>
8484
8485 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8486 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8487 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8488 (Bug#9706)
80fa505f 8489
fccdc796
SM
84902013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8491
8492 * autorevert.el (auto-revert-notify-handler): Use memq.
8493 Hide assertion failure.
8494
8495 * skeleton.el: Use cl-lib.
8496 (skeleton-further-elements): Use defvar-local.
8497 (skeleton-insert): Use cl-progv.
8498
9bfff84b
TZ
84992013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8500
8501 * progmodes/prog-mode.el (prog-prettify-symbols)
8502 (prog-prettify-install): Update docstrings.
8503
55577e7c
SM
85042013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8505
8506 * simple.el: Move all the prog-mode code to prog-mode.el.
8507 * progmodes/prog-mode.el: New file.
8508 * loadup.el: Add prog-mode.el.
8509
8fc57765
TZ
85102013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8511
8512 * simple.el (prog-prettify-symbols): Add version.
8513 (prog-prettify-install): Add convenience function to prettify symbols.
8514
8515 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8516 (perl--augmented-font-lock-keywords-1)
8517 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8518 variables and use it.
8519
8520 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8521 (cfengine3-mode): Remove unneeded variable and use it.
8522
8523 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8524 (lisp--augmented-font-lock-keywords-1)
8525 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8526 Remove unneeded variables and use it.
8527
650645d5 85282013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8529
8530 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8531 to point when opening the connection. (Bug#14380)
28f5da6d 8532
781b4af6
SM
85332013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8534
8535 * subr.el (load-history-regexp, load-history-filename-element)
8536 (eval-after-load, after-load-functions, do-after-load-evaluation)
8537 (eval-next-after-load, display-delayed-warnings)
8538 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8539 definition of save-match-data.
8540 (overriding-local-map): Remove accidental obsolescence declaration.
8541
8542 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8543
3ca0d0b4
TZ
85442013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8545
8546 Generalize symbol prettify support to prog-mode and implement it
8547 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8548 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8549 (prog--prettify-font-lock-compose-symbol)
8550 (prog-prettify-font-lock-symbols-keywords): New variables and
8551 functions to support symbol prettification.
8552 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8553 (lisp--augmented-font-lock-keywords-1)
8554 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8555 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8556 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8557 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8558 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8559 * progmodes/perl-mode.el (perl-prettify-symbols)
8560 (perl--font-lock-compose-symbol)
8561 (perl--font-lock-symbols-keywords): Move to prog-mode.
8562 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8563 (perl-font-lock-keywords-1)
8564 (perl-font-lock-keywords-2): Remove explicit prettify support.
8565 (perl--augmented-font-lock-keywords)
8566 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8567 (perl--augmented-font-lock-keywords-2, perl-mode):
8568 Implement prettify support.
3ca0d0b4 8569
976cb066
LL
85702013-06-05 Leo Liu <sdl.web@gmail.com>
8571
8572 Re-implement smie matching block highlight using
8573 show-paren-data-function. (Bug#14395)
8574 * emacs-lisp/smie.el (smie-matching-block-highlight)
8575 (smie--highlight-matching-block-overlay)
8576 (smie--highlight-matching-block-lastpos)
8577 (smie-highlight-matching-block)
8578 (smie-highlight-matching-block-mode): Remove.
8579 (smie--matching-block-data-cache): New variable.
8580 (smie--matching-block-data): New function.
8581 (smie-setup): Use smie--matching-block-data for
8582 show-paren-data-function.
8583
8584 * progmodes/octave.el (octave-mode-menu): Fix.
8585 (octave-find-definition): Skip garbage lines.
8586
208d0342
SM
85872013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8588
8589 Fix compilation error with simultaneous dynamic+lexical scoping.
8590 Add warning when a defvar appears after the first let-binding.
8591 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8592 (byte-compile-close-variables): Initialize it.
8593 (byte-compile--declare-var): New function.
8594 (byte-compile-file-form-defvar)
8595 (byte-compile-file-form-define-abbrev-table)
8596 (byte-compile-file-form-custom-declare-variable): Use it.
8597 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8598 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8599 (byte-compile-bind): Handle dynamic bindings that shadow
8600 lexical bindings.
8601 (byte-compile-unbind): Make arg non-optional.
8602 (byte-compile-let): Simplify.
8603 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8604 (cconv--analyse-function, cconv-analyse-form): Populate it.
8605 Protect byte-compile-bound-variables to limit the scope of defvars.
8606 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8607 Remove unneeded rule for `declare'.
8608
8609 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8610 so as to avoid depending on cl-adjoin at run-time.
8611 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8612
8613 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8614 (macroexp--warn-and-return): Use it.
8615
1ac2891e
GM
86162013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8617
8618 * lisp/subr.el: Convert to lexical binding.
8619 (overriding-local-map): Make obsolete.
8620 (add-to-list): Doc fix. Add compiler macro.
8621 (read-key): Swap values of local maps.
8622
2587b005
LL
86232013-06-05 Leo Liu <sdl.web@gmail.com>
8624
8625 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8626
f1da3c88
LL
86272013-06-04 Leo Liu <sdl.web@gmail.com>
8628
8629 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8630 (compilation-auto-jump): Suppress the "Mark set" message to give
8631 way to exit message.
8632
3caa391f
AM
86332013-06-04 Alan Mackenzie <acm@muc.de>
8634
8635 Remove faulty optimisation from indentation calculation.
8636 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8637 search limit based on 2000 characters back from indent-point.
8638
068922a2
TH
86392013-06-03 Tassilo Horn <tsdh@gnu.org>
8640
8641 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8642
1f8fdd53
SM
86432013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8644
bbcc4d97
SM
8645 * emacs-lisp/lisp.el: Use lexical-binding.
8646 (lisp--local-variables-1, lisp--local-variables): New functions.
8647 (lisp--local-variables-completion-table): New var.
208d0342 8648 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8649
1f8fdd53
SM
8650 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8651 eagerly (bug#14422).
8652
c9628c79
MA
86532013-06-03 Michael Albinus <michael.albinus@gmx.de>
8654
8655 * autorevert.el (auto-revert-notify-enabled)
8656 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8657 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8658 (auto-revert-notify-handler): Handle also gfilenotify.
8659
e7b41c4c 8660 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8661 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8662 Remove.
c9628c79 8663
e5e4a942
JL
86642013-06-03 Juri Linkov <juri@jurta.org>
8665
8666 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8667 `M-s h .'. (Bug#14427)
8668
8669 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8670 command `hi-lock-face-symbol-at-point'.
8671 (hi-lock-face-symbol-at-point): New command.
8672 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8673 (hi-lock-menu): Add `highlight-symbol-at-point'.
8674 (hi-lock-mode): Doc fix.
8675
8676 * isearch.el (isearch-forward-symbol-at-point): New command.
8677 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8678 (isearch-highlight-regexp): Add a regexp which matches
8679 words/symbols for word/symbol mode.
8680
8681 * subr.el (find-tag-default-bounds): New function with the body
8682 mostly moved from `find-tag-default'.
8683 (find-tag-default): Move most code to `find-tag-default-bounds',
8684 call it and apply `buffer-substring-no-properties' afterwards.
8685
26b3353a
TH
86862013-06-03 Tassilo Horn <tsdh@gnu.org>
8687
781b4af6
SM
8688 * eshell/em-term.el (eshell-term-initialize):
8689 Use `cl-intersection' rather than `intersection'.
26b3353a 8690
51b60f53
XF
86912013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8692
fe054b63 8693 * vc/log-view.el: Doc fix.
d3ffe17c 8694 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8695
a0eb10b3 86962013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8697
8698 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8699 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8700 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8701 (eieio-unbound, eieio-default-superclass)
8702 (eieio--define-field-accessors, method-static, method-before)
8703 (method-primary, method-after, method-num-lists)
8704 (method-generic-before, method-generic-primary)
8705 (method-generic-after, method-num-slots)
8706 (eieio-specialized-key-to-generic-key)
8707 (eieio--check-type, class-v, class-p)
8708 (eieio-class-name, define-obsolete-function-alias)
8709 (eieio-class-parents-fast, eieio-class-children-fast)
8710 (same-class-fast-p, class-constructor, generic-p)
8711 (generic-primary-only-p, generic-primary-only-one-p)
8712 (class-option-assoc, class-option, eieio-object-p)
8713 (class-abstract-p, class-method-invocation-order)
8714 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8715 (eieio-class-un-autoload, eieio-defclass)
8716 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8717 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8718 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8719 (eieio-defgeneric-reset-generic-form)
8720 (eieio-defgeneric-form-primary-only)
8721 (eieio-defgeneric-reset-generic-form-primary-only)
8722 (eieio-defgeneric-form-primary-only-one)
8723 (eieio-defgeneric-reset-generic-form-primary-only-one)
8724 (eieio-unbind-method-implementations)
8725 (eieio--defmethod, eieio--typep)
8726 (eieio-perform-slot-validation, eieio-validate-slot-value)
8727 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8728 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8729 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8730 (eieio-slot-name-index, eieio-class-slot-name-index)
8731 (eieio-set-defaults, eieio-initarg-to-attribute)
8732 (eieio-attribute-to-initarg, eieio-c3-candidate)
8733 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8734 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8735 (eieio-class-precedence-list, eieio-generic-call-methodname)
8736 (eieio-generic-call-arglst, eieio-generic-call-key)
8737 (eieio-generic-call-next-method-list)
8738 (eieio-pre-method-execution-functions, eieio-generic-call)
8739 (eieio-generic-call-primary-only, eieiomt-method-list)
8740 (eieiomt-optimizing-obarray, eieiomt-install)
8741 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8742 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8743 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8744 (defclass): Remove `eval-and-compile' from macro.
8745 (call-next-method, shared-initialize): Instead of using
8746 `scoped-class' variable, use new eieio--scoped-class, and
8747 eieio--with-scoped-class.
8748 (initialize-instance): Rename local variable 'scoped-class' to
8749 'this-class' to remove ambiguitity from old global.
8750
8751 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8752 eieio.el.
4f405069
JB
8753 (eieio--scoped-class-stack): New variable.
8754 (eieio--scoped-class): New fcn.
890f7890
DE
8755 (eieio--with-scoped-class): New scoping macro.
8756 (eieio-defclass): Use pushnew instead of add-to-list.
8757 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8758 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8759 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8760 `scoped-class' variable, use new eieio--scoped-class, and
8761 eieio--with-scoped-class.
8762
8763 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8764
d105b0e2
TH
87652013-06-02 Tassilo Horn <tsdh@gnu.org>
8766
8767 * eshell/esh-ext.el (eshell-external-command): Pass args to
8768 `eshell-find-interpreter'.
8769 (eshell-find-interpreter): Add new second parameter ARGS.
8770
8771 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8772 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8773
8774 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8775 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8776
8777 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8778 (eshell-visual-options): New defcustom.
8779 (eshell-escape-control-x): Adapt docstring.
8780 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8781 `eshell-visual-options' in addition to `eshell-visual-commands'.
8782 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8783
f46305c8 87842013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8785
8786 * progmodes/python.el (python-indent-block-enders): Add break,
8787 continue and raise keywords.
8788
d870df21
GM
87892013-06-01 Glenn Morris <rgm@gnu.org>
8790
9133b82e
GM
8791 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8792
02c992ec 8793 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8794 * progmodes/cc-cmds.el (delete-forward-p):
8795 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8796 * progmodes/cc-engine.el (buffer-syntactic-context):
8797 * progmodes/cc-fonts.el (face-property-instance):
8798 * progmodes/cc-mode.el (set-keymap-parents):
8799 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8800 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8801 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8802 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8803 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8804
31e7b090
GM
8805 * progmodes/cc-vars.el (other): Emacs has this widget since
8806 at least 21.1, so don't (re)define it.
8807
d870df21
GM
8808 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8809 Replace the obsolete alias pcomplete-arg-quote-list.
8810
c75c93c7
LL
88112013-06-01 Leo Liu <sdl.web@gmail.com>
8812
8813 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8814 punctuation syntax.
8815 (inferior-octave-minimal-columns)
8816 (inferior-octave-last-column-width): New variables.
8817 (inferior-octave-track-window-width-change): New function.
8818 (inferior-octave-mode): Adjust column width so that Octave output,
8819 for example from 'ls', can fit into the window nicely.
8820
973d1e12
DG
88212013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8822
8823 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8824 Highlight expansions inside regexp literals.
8825
0888c286
GM
88262013-05-31 Glenn Morris <rgm@gnu.org>
8827
e26aac1f
GM
8828 * obsolete/sym-comp.el (symbol-complete):
8829 Replace obsolete completion-annotate-function.
8830
0888c286
GM
8831 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8832
19bb8e62
DG
88332013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8834
781b4af6
SM
8835 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8836 New function, checks if point is inside a literal that allows
19bb8e62
DG
8837 expression expansion.
8838 (ruby-syntax-propertize-expansion): Use it.
8839 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8840 around the body.
8841
01dea85f
JL
88422013-05-30 Juri Linkov <juri@jurta.org>
8843
8844 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8845 to "\M-si".
8846 (isearch-invisible): New variable.
8847 (isearch-forward): Doc fix.
8848 (isearch-mode): Set `isearch-invisible'
8849 to the value of `search-invisible'.
8850 (isearch-toggle-case-fold): Doc fix.
8851 (isearch-toggle-invisible): New command.
8852 (isearch-query-replace): Let-bind `search-invisible'
8853 to the value of `isearch-invisible'.
8854 (isearch-search): Use `isearch-invisible' instead of
8855 `search-invisible'. Let-bind `search-invisible'
8856 to the value of `isearch-invisible'. (Bug#11378)
8857
ab1bdce5
JL
88582013-05-30 Juri Linkov <juri@jurta.org>
8859
8860 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8861 call when `query-flag' is nil and `search-invisible' is non-nil.
8862 (Bug#11746)
8863
d6d236e2
GM
88642013-05-30 Glenn Morris <rgm@gnu.org>
8865
8accd027
GM
8866 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8867
2a8bed1c
GM
8868 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8869 (cc-require): Suppress spurious "noruntime" warnings.
8870 (cc-require-when-compile): Use fboundp, for sake of compiler.
8871
d6d236e2
GM
8872 * progmodes/cc-mode.el: Move load of cc-vars before that of
8873 cc-langs (which in turn loads cc-vars), to quieten compiler.
8874
9190b35b
SM
88752013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * paren.el: Simplify the code.
8878 (show-paren-mode): Always start the timer.
8879 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8880 (show-paren--overlay, show-paren--overlay-1): Rename from
8881 show-paren-overlay and show-paren-overlay-1, and initialize to an
8882 overlay rather than to nil.
8883 (show-paren-function): Misc cleanup and simplifications.
8884
4f8d1cf6
SM
88852013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8886
8887 * paren.el (show-paren-data-function): New hook.
8888 (show-paren--default): New function, extracted from show-paren-function.
8889 (show-paren-function): Use show-paren-data-function.
8890
02d844b5
GM
88912013-05-30 Glenn Morris <rgm@gnu.org>
8892
d209d4a9
GM
8893 * ielm.el (ielm-map, ielm-complete-symbol):
8894 Use completion-at-point rather than obsolete functions.
8895 (inferior-emacs-lisp-mode): Doc fix.
8896 Set completion-at-point-functions, rather than
8897 comint-dynamic-complete-functions.
8898
2082faa6
GM
8899 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8900 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8901 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8902
dd8620de
GM
8903 * image.el (image-animated-p): Tweak definition.
8904
ceca95b1
GM
8905 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8906 (rlogin-process-connection-type): Tweak default. Add set-after.
8907 (rlogin-host): Doc fix.
8908 (rlogin): Tweak prompt.
8909 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8910
ee9f1acc
GM
8911 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8912 * progmodes/tcl.el (inferior-tcl-mode-map):
8913 Use completion-at-point rather than obsolete alias.
8914
45ce222e
GM
8915 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8916
02d844b5
GM
8917 * minibuffer.el (read-file-name-completion-ignore-case):
8918 Move before completion--in-region, for eager macro expansion.
8919
ac44d6c1
JL
89202013-05-29 Juri Linkov <juri@jurta.org>
8921
8922 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8923 for total count of matching lines. Add `global-matches' for total
8924 count of matches. Rename `matches' to `lines' for count of
8925 matching lines. Add `matches' for count of matches.
8926 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8927 to `prev-line' for line number of prev match endpt.
8928 Increment `matches' for every match. Print the number of
8929 matching lines in the header.
8930 (occur-context-lines): Rename `lines' to `curr-line'.
8931 Rename `prev-lines' to `prev-line'. (Bug#14017)
8932
3c9c9d38
JL
89332013-05-29 Juri Linkov <juri@jurta.org>
8934
8935 * replace.el (perform-replace): Add `skip-read-only-count',
8936 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8937 Increment them for corresponding conditions and report the number
8938 of skipped occurrences in the final message. (Bug#11746)
8939 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8940 (replace-string, replace-regexp): Doc fix.
8941
33e249a2
SM
89422013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8e399682
SM
8944 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8945
33e249a2 8946 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8947 prog-mode-map (bug#14504).
33e249a2 8948
f236dd84
LL
89492013-05-29 Leo Liu <sdl.web@gmail.com>
8950
8951 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8952 (octave-help): Small simplification.
8953
8954 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8955 off the highlight first.
8956
3694d13f
GM
89572013-05-29 Glenn Morris <rgm@gnu.org>
8958
03983bdc
GM
8959 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8960 Handle idlwave-last-system-routine-info-cons-cell being nil.
8961
bc74a74a
GM
8962 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8963 (idlwave-write-paths): Simplify via with-temp-buffer.
8964
8b394200
GM
8965 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8966 * emulation/cua-rect.el: Also load cua-base at run time.
8967
3694d13f
GM
8968 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8969 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8970 (cperl-imenu-on-info): Require imenu.
8971
336d7284
AM
89722013-05-28 Alan Mackenzie <acm@muc.de>
8973
8974 Handle "capitalised keywords" correctly.
33e249a2 8975 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8976
cb29c582
AG
89772013-05-28 Aidan Gauland <aidalgol@amuri.net>
8978
781b4af6 8979 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8980
690e44b2
GM
89812013-05-28 Glenn Morris <rgm@gnu.org>
8982
e658d75c
GM
8983 * vc/vc-arch.el (vc-exec-after): Declare.
8984 (vc-switches): Autoload.
8985 * vc/vc-bzr.el: No need to require vc when compiling.
8986 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8987 (vc-resynch-buffer, vc-dir-refresh): Declare.
8988 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8989 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8990 (vc-resynch-buffer): Declare.
8991 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 8992 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
8993 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8994 (grep-read-regexp, grep-read-files, grep-expand-template)
8995 (vc-dir-refresh): Declare.
8996 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8997 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8998 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
8999 * vc/vc-mtn.el (vc-exec-after): Declare.
9000 (vc-switches): Autoload.
9001 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9002 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9003 (vc-file-tree-walk): Declare.
712b9732
GM
9004 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9005 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9006 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9007 * vc/vc-svn.el (vc-exec-after): Declare.
9008 (vc-switches, vc-setup-buffer): Autoload.
9009 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9010 Autoload.
9011 (vc-resynch-buffer): Declare.
9012
98e87fb3
GM
9013 * obsolete/fast-lock.el (byte-compile-warnings):
9014 Don't warn about obsolete features in this obsolete file.
9015
f5379553
GM
9016 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9017 Move definition before use.
9018
7a20ef83
GM
9019 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9020 (dun-unix-verbs): Remove dun-zippy.
9021 (dun-zippy): Remove function.
9022
690e44b2
GM
9023 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9024
3a52ccf7
JL
90252013-05-27 Juri Linkov <juri@jurta.org>
9026
9027 * replace.el (replace-search): New function with code moved out
9028 from `perform-replace'.
9029 (replace-highlight, replace-dehighlight): Move function definitions
9030 up closer to `replace-search'. (Bug#11746)
9031
d289938a
JL
90322013-05-27 Juri Linkov <juri@jurta.org>
9033
9034 * replace.el (perform-replace): Ignore invisible matches.
9035 In addition to checking `query-replace-skip-read-only', also
9036 filter out matches by calling `run-hook-with-args-until-failure'
9037 on `isearch-filter-predicates', and also check `search-invisible'
9038 for t or call `isearch-range-invisible'.
9039 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9040
66fc57e3
JL
90412013-05-27 Juri Linkov <juri@jurta.org>
9042
9043 * isearch.el (isearch-filter-predicates): Rename from
9044 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9045 (isearch-message-prefix): Display text from the property
9046 `isearch-message-prefix' of the currently active filters.
9047 (isearch-search): Don't compare `isearch-filter-predicate' with
9048 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9049 on `isearch-filter-predicates'. Also check `search-invisible' for t
9050 or call `isearch-range-invisible'.
9051 (isearch-filter-visible): Make obsolete.
9052 (isearch-lazy-highlight-search):
9053 Call `run-hook-with-args-until-failure' on
9054 `isearch-filter-predicates' and use `isearch-range-invisible'.
9055
9056 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9057 `isearch-filter-predicates' instead of `funcall'ing
9058 `isearch-filter-predicate'.
9059 (Info-mode): Set `Info-isearch-filter' to
9060 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9061
9062 * dired-aux.el (dired-isearch-filter-predicate-orig):
9063 Remove variable.
9064 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9065 (dired-isearch-filenames-end): Add and remove
9066 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9067 instead of changing the value of `isearch-filter-predicate'.
9068 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9069 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9070 Put property `isearch-message-prefix' to "filename " on
9071 `dired-isearch-filter-filenames'.
9072
9073 * wdired.el (wdired-change-to-wdired-mode):
9074 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9075 locally instead of changing `isearch-filter-predicate'.
9076 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9077
f1a60a0f
DG
90782013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9079
9080 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9081 return the commit hash (Bug#14459). Also set the
9082 `vc-git-detached' property.
9083 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9084 (vc-git-mode-line-string): Use the same help-echo format whether
9085 in detached mode or not, because we know the actual revision now.
9086 When in detached mode, shorten the revision to 7 chars.
9087
7f17cc40
SM
90882013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9089
9090 * emacs-lisp/easy-mmode.el (define-minor-mode):
9091 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9092 mode hook and provide a docstring.
9093
25c8401c
AM
90942013-05-27 Alan Mackenzie <acm@muc.de>
9095
9096 Remove spurious syntax-table text properties inserted by C-y.
9097 * progmodes/cc-mode.el (c-after-change): Also clear hard
9098 syntax-table property with value nil.
9099
dde84790
MA
91002013-05-27 Michael Albinus <michael.albinus@gmx.de>
9101
9102 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9103 when reading the events; the buffer layout shall not be changed.
9104
837fd9af
LL
91052013-05-27 Leo Liu <sdl.web@gmail.com>
9106
9107 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9108 New variable.
9109 (inferior-octave-directory-tracker): Automatically re-sync
9110 default-directory.
9111 (octave-help): Improve handling of 'See also'.
9112
4fd996b3
SM
91132013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9114
416f1802
SM
9115 * doc-view.el: Minor naming convention tweaks.
9116 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9117
4fd996b3
SM
9118 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9119 even if there's no `display' property yet (bug#14435).
9120
a052ef3b
EZ
91212013-05-25 Eli Zaretskii <eliz@gnu.org>
9122
4fd996b3 9123 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9124
9125 * Makefile.in (custom-deps, finder-data, autoloads)
9126 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9127 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9128 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9129
c9023370
SM
91302013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9131
9132 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9133 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9134 Don't burp at EOB.
c9023370 9135
24d699fa
LL
91362013-05-25 Leo Liu <sdl.web@gmail.com>
9137
9138 * comint.el (comint-previous-matching-input): Do not flood the
9139 *Messages* buffer with trivial messages.
9140
17e5c0cc
SM
91412013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 * progmodes/flymake.el (flymake-nop): Don't return a string.
9144 (flymake-set-at): Fix typo.
9145
9146 * simple.el (read--expression): New function, extracted from
9147 eval-expression. Set completion-at-point-functions (bug#14465).
9148 (eval-expression, eval-minibuffer): Use it.
9149
5d028165
XF
91502013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9151
9152 * progmodes/flymake.el (flymake-save-buffer-in-file)
9153 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9154 (flymake-selected-frame, flymake-log, flymake-ins-after)
9155 (flymake-set-at, flymake-get-buildfile-from-cache)
9156 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9157 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9158 Refine the doc string.
9159 (flymake-get-file-name-mode-and-masks): Reformat.
9160 (flymake-get-real-file-name-function): Fix a minor bug.
9161
7a1d7ba7
JL
91622013-05-24 Juri Linkov <juri@jurta.org>
9163
9164 * progmodes/grep.el (grep-mode-font-lock-keywords):
9165 Support =linenumber= format used by git-grep for lines with
9166 function names. (Bug#13549)
9167
650cff3d
SM
91682013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9171 0 after a semi-colon; it works better for smie-auto-fill.
9172 (octave--indent-new-comment-line): New function.
9173 (octave-indent-new-comment-line): Use it (indirectly).
9174 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9175 modify comment-line-break-function.
9176
9177 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9178 (smie-setup): Use add-function to set it.
9179
9631677d
SS
91802013-05-24 Sam Steingold <sds@gnu.org>
9181
9182 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9183 argument (before the `interactive' argument).
9184
50105835
SM
91852013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9186
9187 * image-mode.el (image-mode-winprops): Add winprops to
9188 image-mode-winprops-alist before running
9189 image-mode-new-window-functions.
9190 * doc-view.el (doc-view-new-window-function): Don't delay
9191 doc-view-goto-page via timers (bug#14435).
9192
57b9823e
TH
91932013-05-24 Tassilo Horn <tsdh@gnu.org>
9194
9195 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9196 (doc-view-desktop-save-buffer): New function.
9197 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9198 (desktop-buffer-mode-handlers):
9199 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9200 handler.
9201 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9202 `desktop-save-buffer' function.
9203
91aafa16
MA
92042013-05-24 Michael Albinus <michael.albinus@gmx.de>
9205
9206 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9207 (tramp-gvfs-file-name-handler): Raise a user error when
9208 `tramp-gvfs-enabled' is nil.
9209 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9210 Do not raise a user error when loading package. (Bug#14447)
9211
ec076379
MA
9212 * net/xesam.el: Move to obsolete/.
9213
db785726
GM
92142013-05-24 Glenn Morris <rgm@gnu.org>
9215
af5c7606
GM
9216 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9217
e5d1916a
GM
9218 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9219
ded62b08
GM
9220 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9221 (Info-find-node, Man-getpage-in-background): Declare.
9222
9e614a3f
GM
9223 * mail/unrmail.el (unrmail):
9224 Replace obsolete detect-coding-with-priority.
9225
892f8ca3
GM
9226 * net/socks.el (socks-split-string): Use this rather than split-string.
9227 (socks-nslookup-host): Update for above change.
9228 (dynamic-choice, s5-dynamic-choice-match)
9229 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9230 Comment out unused code.
9231
3c291973
GM
9232 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9233 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9234 (gud-tooltip-echo-area): Make obsolete.
9235 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9236
43cc956b
GM
9237 * progmodes/js.el (js--optimize-arglist): Declare.
9238
dab49a3b
GM
9239 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9240
36b9d085
GM
9241 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9242 (ediff-window-C): Declare.
9243
e354ae76
GM
9244 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9245 Tweak requires to silence compiler.
9246
b8e57bf4
GM
9247 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9248 (he-search-string, he-tried-table, he-expand-list)
9249 (he-init-string, he-string-member, he-substitute-string)
9250 (he-reset-string): Declare.
9251
db785726
GM
9252 * obsolete/options.el (list-options): Use custom-variable-p,
9253 rather than obsolete alias.
9254
b3531901
SS
92552013-05-23 Sam Steingold <sds@gnu.org>
9256
9257 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9258 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9259 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9260
bdda4c66
SM
92612013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * emacs-lisp/smie.el (smie-indent-forward-token)
9264 (smie-indent-backward-token): Handle string tokens (bug#14381).
9265
c43d45f9
TH
92662013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9267
fe1eb856
RS
9268 * ielm.el (ielm-menu): New menu.
9269 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9270
fe1eb856
RS
92712013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9272
9273 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9274 Fix deactivate action.
9275
9276 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9277 Add cleveref macros.
074dd971 9278
c43d45f9
TH
9279 * lisp/textmodes/reftex-parse.el
9280 (reftex-locate-bibliography-files): Accept options for
9281 bibliography commands.
9282 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9283 Add addbibresource. Basic Biblatex support.
9284
7764286e
MA
92852013-05-23 Michael Albinus <michael.albinus@gmx.de>
9286
9287 * net/tramp-gvfs.el (top):
9288 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9289 when loading package. (Bug#14447)
9290
d361bc10
GM
92912013-05-23 Glenn Morris <rgm@gnu.org>
9292
8fa23984
GM
9293 * progmodes/js.el: No need to load comint when compiling.
9294 (ring-insert, comint-send-string, comint-send-input)
9295 (comint-last-input-end, ido-chop): Declare.
9296
a5c7df1a
GM
9297 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9298 * vc/ediff-mult.el: Adjust requires.
9299 (ediff-directories-internal, ediff-directory-revisions-internal)
9300 (ediff-patch-file-internal): Declare.
9301 * vc/ediff-ptch.el: Adjust requires.
9302 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9303 (ediff-find-file): Autoload.
9304 * vc/ediff-util.el: No need to load ediff when compiling.
9305 (ediff-regions-internal): Declare.
9306 * vc/ediff-wind.el: Adjust requires.
9307 (ediff-compute-toolbar-width): Define when compiling.
9308 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9309 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9310 (dired-get-filename, dired-get-marked-files)
9311 (ediff-last-dir-patch, ediff-patch-default-directory)
9312 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9313 (ediff-patch-buffer-internal): Declare.
9314
e2aec513
GM
9315 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9316 (ispell-process, ispell-buffer-local-words, lm-summary)
9317 (lm-section-start, lm-section-end): Declare.
9318 (checkdoc-ispell-init): Simplify.
9319
e68bbd7c
GM
9320 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9321 (he-string-member, he-reset-string, he-substitute-string): Declare.
9322
7efe0991
GM
9323 * eshell/em-ls.el: Adjust requires.
9324 (eshell-glob-regexp): Declare.
f87b1284
GM
9325 * eshell/em-tramp.el: Adjust requires.
9326 (eshell-parse-command): Autoload.
9327 * eshell/em-xtra.el: Adjust requires.
9328 (eshell-parse-command): Autoload.
9329 * eshell/esh-ext.el: Adjust requires.
9330 (eshell-parse-command, eshell-close-handles): Autoload.
9331 * eshell/esh-io.el: Adjust requires.
9332 (eshell-output-filter): Autoload.
9333 * eshell/esh-util.el: No need to load tramp when compiling.
9334 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9335 Declare.
9336 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9337 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9338 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9339 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9340 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9341 * eshell/esh-opt.el, eshell/esh-proc.el:
9342 * eshell/esh-var.el: Adjust requires.
9343 * eshell/eshell.el: Do not require esh-util twice.
9344 (eshell-add-input-to-history): Declare.
9345 (eshell-command): Check history module is active before using it.
9346
d361bc10
GM
9347 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9348
85d090a9
LL
93492013-05-22 Leo Liu <sdl.web@gmail.com>
9350
9351 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9352
5d0acd9d
MA
93532013-05-22 Michael Albinus <michael.albinus@gmx.de>
9354
9355 * autorevert.el (auto-revert-notify-add-watch)
9356 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9357 it indicates changes in file modification time.
9358
0cdffd7d
GM
93592013-05-22 Glenn Morris <rgm@gnu.org>
9360
ca5995ec
GM
9361 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9362 Always delete the autoloaded function from the noruntime and
9363 unresolved functions lists.
9364
6450907e
GM
9365 * allout.el: No need to load epa, epg, overlay when compiling.
9366 (epg-context-set-passphrase-callback, epg-list-keys)
9367 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9368 (epg-key-user-id-list): Declare.
9369
9c6906f6
GM
9370 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9371 (viper-set-parsing-style-toggling-macro)
9372 (viper-set-emacs-state-searchstyle-macros):
9373 Use called-interactively-p on Emacs.
9374 (viper-looking-back): Make it an obsolete alias. Update callers.
9375 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9376 Use looking-back rather than viper-looking-back.
9377 (viper-tmp-insert-at-eob, viper-enlarge-region)
9378 (viper-read-string-with-history, viper-register-to-point)
9379 (viper-append-to-register, viper-change-state-to-vi)
9380 (viper-backward-char-carefully, viper-forward-char-carefully)
9381 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9382 (viper-change-state-to-emacs): Declare.
9383 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9384 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9385 * emulation/viper-mous.el: Do not load viper-cmd.
9386 (viper-backward-char-carefully, viper-forward-char-carefully)
9387 (viper-forward-word, viper-adjust-window): Declare.
9388
5f70c169
GM
9389 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9390
b1b7f300
GM
9391 * progmodes/idlw-help.el (idlwave-help-fontify):
9392 Use called-interactively-p.
9393
f6ebbb46
GM
9394 * term/w32console.el (w32-get-console-codepage)
9395 (w32-get-console-output-codepage): Declare.
9396
0cdffd7d
GM
9397 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9398 Remove unnecessary declarations.
9399 (dframe-message): Doc fix.
9400
9401 * info.el (dframe-select-attached-frame, dframe-current-frame):
9402 Declare.
9403
9404 * speedbar.el (speedbar-message): Make it an obsolete alias.
9405 Update all callers.
9406 (speedbar-with-attached-buffer)
9407 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9408 (speedbar-with-writable): Use backquote.
9409 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9410 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9411 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9412 rather than speedbar- aliases.
9413 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9414 (speedbar-make-specialized-keymap, speedbar-insert-button)
9415 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9416 (speedbar-do-function-pointer): Declare.
9417 (rmail-speedbar-button, rmail-speedbar-find-file)
9418 (rmail-speedbar-move-message):
9419 Use dframe-with-attached-buffer rather than speedbar- alias.
9420 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9421 (dframe-message, speedbar-make-specialized-keymap)
9422 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9423 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9424 (speedbar-insert-button, dframe-select-attached-frame)
9425 (dframe-maybee-jump-to-attached-frame)
9426 (speedbar-change-initial-expansion-list)
9427 (speedbar-previously-used-expansion-list-name): Declare.
9428 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9429 Use dframe-message, dframe-with-attached-buffer rather than
9430 speedbar- aliases.
9431 (gud-sentinel): Silence compiler.
9432 * progmodes/vhdl-mode.el (speedbar-refresh)
9433 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9434 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9435 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9436 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9437 (speedbar-file-lists, speedbar-make-tag-line)
9438 (speedbar-line-directory, speedbar-goto-this-file)
9439 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9440 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9441 (speedbar-make-button, speedbar-reset-scanners)
9442 (speedbar-files-item-info, speedbar-line-text)
9443 (speedbar-find-file-in-frame, speedbar-set-timer)
9444 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9445 (speedbar-with-writable): Do not (re)define it.
9446 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9447 rather than speedbar- alias.
9448
ee44b62a
LL
94492013-05-21 Leo Liu <sdl.web@gmail.com>
9450
9451 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9452 menu items.
9453 (octave-mode): Tweak fill-nobreak-predicate.
9454 (inferior-octave-startup): Check process to avoid infinite loop.
9455 (inferior-octave): Pop to buffer first to show abornmal process
9456 exit information.
9457
640f050f
GM
94582013-05-21 Glenn Morris <rgm@gnu.org>
9459
79458038
GM
9460 * printing.el (pr-menu-bar): Define when compiling.
9461
9cc3e83f
LL
94622013-05-21 Leo Liu <sdl.web@gmail.com>
9463
9464 * progmodes/octave.el (octave-auto-fill): Remove.
9465 (octave-indent-new-comment-line): Improve.
9466 (octave-mode): Use auto fill mode through
4f405069 9467 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9468 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9469 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9470 (octave-help): Show parent directory.
9471
f440830d
GM
94722013-05-21 Glenn Morris <rgm@gnu.org>
9473
9474 * files.el (dired-unmark):
9475 * progmodes/gud.el (gdb-input): Update declarations.
9476
9477 * calculator.el (electric, ehelp): No need to load when compiling.
9478 (Electric-command-loop, electric-describe-mode): Declare.
9479
9480 * doc-view.el (doc-view-current-converter-processes): Move before use.
9481
9482 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9483 Move MODE-set-explicitly definition before use.
9484
9485 * international/mule-diag.el (mule-diag):
9486 Don't use obsolete window-system-version.
9487
9488 * mail/feedmail.el (smtpmail): No need to load when compiling.
9489 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9490
9491 * mail/mail-utils.el (rfc822): No need to load when compiling.
9492 (rfc822-addresses): Autoload it.
9493 (mail-strip-quoted-names): Trivial simplification.
9494
9495 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9496 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9497
9498 * net/snmp-mode.el (tempo): Don't duplicate requires.
9499
9500 * progmodes/prolog.el (info): No need to load when compiling.
9501 (comint): Require before shell requires it.
9502 (Info-goto-node): Autoload it.
9503 (Info-follow-nearest-node): Declare.
9504 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9505
9506 * textmodes/artist.el (picture-mode-exit): Declare.
9507
9508 * textmodes/reftex-parse.el (reftex-parse-from-file):
9509 Trivial rewrite so the compiler can parse it better.
9510
b4da2cbb
LL
95112013-05-20 Leo Liu <sdl.web@gmail.com>
9512
9513 * progmodes/octave.el (octave-help-mode-map)
9514 (octave-help-mode-finish-hook): New variables.
9515 (octave-help-mode, octave-help-mode-finish): New functions.
9516 (octave-help): Use octave-help-mode.
9517
33c0f65b
GM
95182013-05-20 Glenn Morris <rgm@gnu.org>
9519
9520 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9521
1a0a0a8a
DG
95222013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9523
9524 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9525 start at point, so that expansion starting right after opening
9526 slash in a regexp is recognized.
9527 (ruby-syntax-before-regexp-re): New defvar, extracted from
9528 ruby-syntax-propertize-function. Since the value of this regexp
9529 is looked up at runtime now, we should be able to turn
9530 `ruby-syntax-methods-before-regexp' into a defcustom later.
9531 (ruby-syntax-propertize-function): Split regexp matching into two
9532 parts, for opening and closing slashes. That allows us to skip
9533 over string interpolations and support multiline regexps.
9534 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9535 for them, which calls `ruby-syntax-propertize-expansion'.
9536 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9537 call to `ruby-syntax-propertize-function'.
9538 (ruby-syntax-propertize-expansion): Extracted from
9539 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9540 (ruby-syntax-propertize-percent-literal): Leave point right after
9541 the percent symbol, so that the expression expansion rule can
9542 propertize the contents.
462388b6
DG
9543 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9544 heredoc openers.
9545 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9546
c1a6c0a4
JL
95472013-05-18 Juri Linkov <juri@jurta.org>
9548
9549 * man.el (Man-default-man-entry): Remove `-' from the end
9550 of the default value. (Bug#14400)
9551
8051fccd
GM
95522013-05-18 Glenn Morris <rgm@gnu.org>
9553
9554 * comint.el (comint-password-prompt-regexp):
9555 Allow "password for XXX" where XXX contains colons (eg https://...).
9556
5e80b74f
LL
95572013-05-18 Leo Liu <sdl.web@gmail.com>
9558
9559 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9560 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9561 (octave-source-directories): Don't check process.
9562 (octave-source-directories, octave-find-definition): Doc fix.
9563
521a54c5
GM
95642013-05-18 Glenn Morris <rgm@gnu.org>
9565
86a94b05
GM
9566 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9567 Remove backspace/delete bindings. (Bug#14392)
9568
521a54c5
GM
9569 * cus-dep.el (custom-make-dependencies): Sort the output.
9570 (custom-versions-load-alist): Convert comment to doc.
9571
42caeb89
LL
95722013-05-17 Leo Liu <sdl.web@gmail.com>
9573
9574 * newcomment.el (comment-search-backward): Stricter in finding
9575 comment start. (Bug#14303)
9576
9577 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9578 (octave-comment-start-skip): Properly anchored.
9579
e219dd97
LL
95802013-05-17 Leo Liu <sdl.web@gmail.com>
9581
fe1eb856
RS
9582 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9583 Clean up when turned off. (Bug#14395)
e219dd97
LL
9584 (smie--highlight-matching-block-overlay): No longer buffer-local.
9585 (smie-highlight-matching-block): Adjust.
9586
dc5dcb4b
PE
95872013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9588
9589 Doc string fix for "nanoseconds" (Bug#14406).
9590 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9591 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9592
1db165f0
JB
95932013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9594
9595 * calc/calc-units.el (math-extract-units): Preserve powers
9596 of units.
9597
c7a8fcac
LL
95982013-05-17 Leo Liu <sdl.web@gmail.com>
9599
9600 * subr.el (delete-consecutive-dups): New function.
9601 * ido.el (ido-set-matches-1): Use it.
9602 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9603 * ido.el (ido-remove-consecutive-dups): Remove.
9604
f678b18a
SM
96052013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9606
9607 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9608 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9609 regexp-opt's `words'.
9610
ebfe68e8
LL
96112013-05-16 Leo Liu <sdl.web@gmail.com>
9612
9613 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9614 (smie--highlight-matching-block-overlay)
9615 (smie--highlight-matching-block-lastpos)
9616 (smie--highlight-matching-block-timer): New variables.
9617 (smie-highlight-matching-block): New function.
9618 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9619 (smie-setup): Conditionally enable smie-blink-matching-open.
9620
bc8bc17d
WS
96212013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9622
9623 Sync with upstream verilog-mode r840.
9624 * progmodes/verilog-mode.el (verilog-mode-version)
9625 (verilog-mode-release-date): Update.
9626 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9627 (verilog-sig-tieoff): Fix string error on
9628 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9629 (verilog-read-decls): Fix parameters confusing
9630 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9631
df065a0b
EZ
96322013-05-16 Eli Zaretskii <eliz@gnu.org>
9633
9634 * subr.el (reveal-filename): New function.
9635
9636 * loadup.el: Compute Emacs executable versions on MS-Windows,
9637 where executables have the .exe extension. Add a hard link
9638 emacs-XX.YY.ZZ.exe on MS-Windows.
9639
9640 * Makefile.in (XARGS_LIMIT): New variable.
9641 (custom-deps, finder-data, autoloads)
9642 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9643 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9644 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9645 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9646
2d4bf34b
LL
96472013-05-16 Leo Liu <sdl.web@gmail.com>
9648
9649 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9650 (octave-mode-menu, octave-mode-map): Remove its uses.
9651
6b9c2d85
RZ
96522013-05-16 Reto Zimmermann <reto@gnu.org>
9653
9654 Sync with upstream vhdl mode v3.34.2.
9655 * progmodes/vhdl-mode.el: Use `push' throughout.
9656 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9657 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9658 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9659 (vhdl-actual-generic-name): New option to derive actual generic name.
9660 (vhdl-port-paste-signals): Replace formal by actual generics.
9661 (vhdl-beautify): New name for old group vhdl-align. Update users.
9662 (vhdl-beautify-options): New option.
9663 (vhdl-last-input-event): New compat alias. Use throughout.
9664 (vhdl-goto-line): Replace user level function `goto-line'.
9665 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9666 vhdl-fix-statement-buffer.
9667 (vhdl-create-mode-menu): Add some entries.
9668 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9669 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9670 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9671 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9672 to force statements on one line.
9673 (vhdl-remove-trailing-spaces-region):
9674 New, split from vhdl-remove-trailing-spaces.
9675 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9676 Respect vhdl-beautify-options.
9677 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9678 (vhdl-update-sensitivity-list): Not add with index if exists without.
9679 Not include array index with signal. Ignore keywords in comments.
9680 (vhdl-get-visible-signals): Regexp tweaks.
9681 (vhdl-template-component-inst): Handle empty library.
9682 (vhdl-template-type): Add template for 'enum' type.
9683 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9684 Use vhdl-replace-string.
9685 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9686 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9687 (vhdl-speedbar-initialize): Update for above name change.
9688 (vhdl-compose-wire-components): Fix in handling of constants.
9689 (vhdl-error-regexp-emacs-alist): New variable.
9690 (vhdl-error-regexp-add-emacs): New function;
9691 adds support for new compile.el (Emacs 22+)
9692 (vhdl-generate-makefile-1): Change target order for single lib. units.
9693 Allow use of absolute file names.
9694
9df4ec5e
LL
96952013-05-16 Leo Liu <sdl.web@gmail.com>
9696
9697 * simple.el (prog-indent-sexp): Indent enclosing defun.
9698
f5ba00a6
GM
96992013-05-15 Glenn Morris <rgm@gnu.org>
9700
ed8be7ff
GM
9701 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9702 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9703 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9704 (whitespace-highlight): Move to whitespace group.
9705
9706 * comint.el (comint-source):
9707 * pcmpl-linux.el (pcmpl-linux):
9708 * shell.el (shell-faces):
9709 * eshell/esh-opt.el (eshell-opt):
9710 * international/ccl.el (ccl): Remove empty custom groups.
9711
9712 * completion.el (dynamic-completion-mode):
9713 * jit-lock.el (jit-lock-debug-mode):
9714 * minibuffer.el (completion-in-region-mode):
9715 * type-break.el (type-break-mode-line-message-mode)
9716 (type-break-query-mode):
9717 * emulation/tpu-edt.el (tpu-edt-mode):
9718 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9719 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9720 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9721
9722 * term/xterm.el (xterm): Change parent group to terminals.
9723
9724 * master.el (master): Remove empty custom group.
9725 (master-mode): Remove unused :group argument.
9726 * textmodes/refill.el (refill): Remove empty custom group.
9727 (refill-mode): Remove unused :group argument.
9728
9729 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9730
82a7c41b
GM
9731 * cus-dep.el: Provide a feature.
9732 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9733 Don't mistakenly ignore files whose basenames match a basename
9734 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9735 Add a fallback method for getting :group.
f5ba00a6 9736
6d65486d
JL
97372013-05-15 Juri Linkov <juri@jurta.org>
9738
da547b32
JL
9739 * isearch.el (isearch-char-by-name): Rename from
9740 `isearch-insert-char-by-name'. Doc fix.
9741 (isearch-forward): Mention `isearch-char-by-name' in
9742 the docstring. (Bug#13348)
9743
6d65486d
JL
9744 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9745 `exit-minibuffer' instead of
9746 `isearch-nonincremental-exit-minibuffer'.
9747 (isearch-edit-string): Remove mention of
9748 `isearch-nonincremental-exit-minibuffer' from docstring.
9749 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9750 (isearch-forward-exit-minibuffer)
9751 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9752
c9990474
SM
97532013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9754
6e911150
SM
9755 * loadup.el: Just use unversioned DOC.
9756
c9990474
SM
9757 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9758 literals as extending to EOB.
9759 (nxml-last-fontify-end): Remove unused variable.
9760 (nxml-after-change1): Use with-silent-modifications.
9761 (nxml-extend-after-change-region): Simplify.
9762 (nxml-extend-after-change-region1): Remove function.
9763 (nxml-after-change1): Don't adjust for dependent regions.
9764 (nxml-fontify-matcher): Simplify.
9765 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9766 (xmltok-add-dependent): Remove function.
9767 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9768 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9769 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9770 unclosed <[[, <?, comment, and other literals as extending to EOB.
9771 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9772 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9773 Remove functions.
9774 (rng-do-some-validation-1): Don't mark dependent regions.
9775 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9776 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9777 (nxml-clear-dependent-regions): Remove functions.
9778 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9779 (nxml-ensure-scan-up-to-date):
9780 Don't clear&mark dependent regions.
9781
e3772e98
LL
97822013-05-15 Leo Liu <sdl.web@gmail.com>
9783
c9990474
SM
9784 * progmodes/octave.el (octave-goto-function-definition):
9785 Improve and fix callers.
e3772e98 9786
5ac2eb34
SM
97872013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9788
c46c57b0
SM
9789 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9790 the setter (bug#14387).
9791
5ac2eb34
SM
9792 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9793 surrounding group (bug#14402).
9794
180ed218
JL
97952013-05-14 Juri Linkov <juri@jurta.org>
9796
9797 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9798 (Bug#14390)
9799
0ac0fecb
GM
98002013-05-14 Glenn Morris <rgm@gnu.org>
9801
9802 * progmodes/f90.el (f90-imenu-generic-expression):
9803 Fix typo in 2013-05-08 change. (Bug#14402)
9804
2e78e6a7
JPG
98052013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9806
5ac2eb34
SM
9807 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9808 Remove signals for which replies are never received.
2e78e6a7 9809
53267cca
JPG
98102013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9811
9812 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9813 (gdb-handler-alist, gdb-handler-number): Remove variables.
9814 (gdb-handler-list): New variable.
9815 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9816 (gdb-pending-handler-p, gdb-handle-reply)
9817 (gdb-remove-all-pending-triggers): New functions.
9818 (gdb-discard-unordered-replies): New defcustom.
9819 (gdb-handler): New defstruct.
9820 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9821 instead of gdb-pending-triggers. Update docstring.
9822 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9823 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9824 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9825 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9826 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9827 (gdb-frame-handler): Pending triggers are now automatically managed.
9828 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9829 Remove argument.
9830 (gdb-input): Automatically handles pending triggers. Update docstring.
9831 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9832 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9833 Update comments.
9834 (gdb-done-or-error): Now use gdb-handle-reply.
9835
d04ce803
JPG
98362013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9837
9838 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9839 gdb-debug-log.
9840
0114073a
GM
98412013-05-14 Glenn Morris <rgm@gnu.org>
9842
9843 * subr.el (user-emacs-directory-warning): New option.
9844 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9845
4d25fd7e
LL
98462013-05-14 Leo Liu <sdl.web@gmail.com>
9847
9848 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9849 during redisplay.
9850 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9851 (octave-font-lock-texinfo-comment): Fix invalid search bound
9852 error: wrong side of point.
4d25fd7e 9853
27c8b6eb
GM
98542013-05-14 Glenn Morris <rgm@gnu.org>
9855
61aaeb01
GM
9856 * progmodes/flymake.el (flymake-xml-program): New option.
9857 (flymake-xml-init): Use it.
9858
5bf90bc5
GM
9859 * term/xterm.el: Provide a feature.
9860
9861 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9862
f4c7dfd2
GM
98632013-05-13 Glenn Morris <rgm@gnu.org>
9864
9865 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9866 Add compat aliases as a hack workaround. (Bug#14384)
9867
2aeb3a1d
LL
98682013-05-13 Leo Liu <sdl.web@gmail.com>
9869
b0e069c2
LL
9870 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9871 ###, and %!.
f5a9432f
LL
9872 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9873 C-M-q.
b0e069c2
LL
9874 (octave-comment-start-skip): Include %!.
9875 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9876
30ea8374
LL
98772013-05-12 Leo Liu <sdl.web@gmail.com>
9878
9879 * progmodes/octave.el (inferior-octave-startup): Store the value
9880 of __octave_srcdir__ for octave-source-directories.
9881 (inferior-octave-check-process): New function refactored out of
9882 inferior-octave-send-list-and-digest.
9883 (octave-source-directories)
9884 (octave-find-definition-filename-function): New variables.
9885 (octave-source-directories)
9886 (octave-find-definition-default-filename): New functions.
9887 (octave-find-definition): Improve to find functions implemented in C++.
9888
472a3834
GM
98892013-05-12 Glenn Morris <rgm@gnu.org>
9890
9891 * calendar/diary-lib.el (diary-outlook-format-1):
9892 Don't include dayname in the output. (Bug#14349)
9893
3191b52f
GM
98942013-05-11 Glenn Morris <rgm@gnu.org>
9895
0060ac73
GM
9896 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9897
3191b52f
GM
9898 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9899 Treat cc-provide like provide.
9900
e065ba74
KR
99012013-05-11 Kevin Ryde <user42@zip.com.au>
9902
9903 * cus-dep.el (custom-make-dependencies):
9904 Use generated-autoload-load-name for the sake of files such
9905 such cedet/semantic/bovine/c.el, where the base file name
9906 is not in load-path. (Bug#5277)
9907
36f84c37
GM
99082013-05-11 Glenn Morris <rgm@gnu.org>
9909
9910 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9911 Provide features.
9912
c8730c3a
LL
99132013-05-11 Leo Liu <sdl.web@gmail.com>
9914
9915 * progmodes/octave.el (octave-indent-comment): Improve.
9916 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9917 (octave-eldoc-function-signatures, octave-eldoc-function):
9918 New functions.
c8730c3a
LL
9919 (octave-mode, inferior-octave-mode): Add eldoc support.
9920
212e29f2
RS
99212013-05-11 Richard Stallman <rms@gnu.org>
9922
9923 * epa.el (epa-decrypt-file): Take output file name as argument
9924 and read it using `interactive'.
9925
083fe0d7
LL
99262013-05-11 Leo Liu <sdl.web@gmail.com>
9927
9928 * progmodes/octave.el (octave-beginning-of-line)
9929 (octave-end-of-line): Check before using up-list because it jumps
9930 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9931 (octave-indent-comment): New function.
9932 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9933 (octave-begin-keywords, octave-end-keywords)
9934 (octave-reserved-words, octave-smie-bnf-table)
9935 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9936
8582e4c4
GM
99372013-05-11 Glenn Morris <rgm@gnu.org>
9938
f20def1f
GM
9939 * faces.el (internal-face-x-get-resource):
9940 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9941 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9942 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9943 Fix declarations.
f20def1f 9944
445f95e2
GM
9945 * calc/calc-menu.el: Make it loadable in isolation.
9946
9947 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9948 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9949 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9950 (eudc-bbdb-query-internal): Require 'bbdb.
9951
99fb2756
GM
9952 * lpr.el (lpr-headers-switches):
9953 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9954
9955 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9956
0da7ad96
GM
9957 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9958
8582e4c4
GM
9959 * term.el (term-set-escape-char): Make it idempotent.
9960
f71c50d0
LL
99612013-05-10 Leo Liu <sdl.web@gmail.com>
9962
5ac2eb34
SM
9963 * progmodes/octave.el (inferior-octave-completion-table):
9964 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9965 completion due to bug#11906.
9966 (octave-beginning-of-defun): Re-write to be more general.
9967
d5837773
GM
99682013-05-10 Glenn Morris <rgm@gnu.org>
9969
9970 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9971
027c0f75
SM
99722013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9973
9974 * comint.el (comint-redirect-send-command-to-process): Use :around
9975 rather than :override for comint-redirect-filter.
9976 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9977 Call it instead of comint-redirect-original-filter-function (which
9978 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9979
4465bfb4
JD
99802013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9981
9982 * frame.el (display-monitor-attributes-list): Add NS case.
9983 (ns-display-monitor-attributes-list): Declare.
9984
2d809ffa 99852013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9986
9987 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9988
e54eeb9b
GM
99892013-05-09 Glenn Morris <rgm@gnu.org>
9990
56cd351d
GM
9991 * international/fontset.el (vertical-centering-font-regexp):
9992 Set standard-value.
9993
d84b6108
GM
9994 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9995
a931698a
GM
9996 * bookmark.el (bookmark-search-delay):
9997 * cus-start.el (vertical-centering-font-regexp):
9998 * ps-mule.el (ps-mule-font-info-database-default):
9999 * ps-print.el (ps-default-fg, ps-default-bg):
10000 * type-break.el (type-break-good-break-interval):
10001 * whitespace.el (whitespace-indentation-regexp)
10002 (whitespace-space-after-tab-regexp):
10003 * emacs-lisp/testcover.el (testcover-1value-functions)
10004 (testcover-noreturn-functions, testcover-progn-functions)
10005 (testcover-prog1-functions):
10006 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10007 * eshell/em-glob.el (eshell-glob-translate-alist):
10008 * play/tetris.el (tetris-tty-colors):
10009 * progmodes/cpp.el (cpp-face-default-list):
10010 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10011 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10012 (idlwave-help-browser-generic-args):
10013 * progmodes/make-mode.el (makefile-special-targets-list):
10014 * progmodes/python.el (python-shell-virtualenv-path):
10015 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10016 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10017 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10018 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10019 * textmodes/reftex-vars.el (reftex-format-label-function):
10020 * textmodes/remember.el (remember-diary-file): Fix custom types.
10021
e54eeb9b
GM
10022 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10023 Add :version.
10024
455851dd
LL
100252013-05-09 Leo Liu <sdl.web@gmail.com>
10026
10027 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10028 Restore file completion. (Bug#14300)
455851dd
LL
10029 (inferior-octave-startup): Fix incorrect highlighting for the
10030 first prompt.
10031
a9e4425b
SM
100322013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10033
10034 * progmodes/ruby-mode.el: First cut at SMIE support.
10035 (ruby-use-smie): New var.
10036 (ruby-smie-grammar): New constant.
10037 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10038 (ruby-smie--forward-token, ruby-smie--backward-token)
10039 (ruby-smie-rules): New functions.
10040 (ruby-mode-variables): Setup SMIE if applicable.
10041
060ca408
EZ
100422013-05-08 Eli Zaretskii <eliz@gnu.org>
10043
10044 * simple.el (line-move-visual): Signal beginning/end of buffer
10045 only if vertical-motion moved less than it was requested. Avoids
10046 silly incorrect error messages when there are display strings with
10047 multiple newlines at EOL.
10048
1d5963cc
SM
100492013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10050
10051 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10052 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10053 (prolog-char-quote-workaround):
10054 * progmodes/cperl-mode.el (cperl-under-as-char):
10055 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10056 Mark as obsolete.
10057 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10058 their declaration.
10059 (vhdl-mode-syntax-table-init): Remove.
10060
c9990474
SM
10061 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10062 last change.
1d5963cc
SM
10063
10064 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10065 syntax for "_".
10066 (ld-script-font-lock-keywords):
10067 Change regexps to use things like \_< and \_>.
10068
10069 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10070 Change all regexps to use things like \_< and \_>.
10071
10072 * progmodes/autoconf.el (autoconf-definition-regexp)
10073 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10074 Handle a _ with symbol syntax.
10075 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10076
c9990474
SM
10077 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10078 Consolidate declaration.
1d5963cc
SM
10079 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10080 the declaration.
10081 (ada-create-syntax-table): Remove.
10082 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10083 already has the right syntax nowadays.
10084 (ada-goto-next-word): Don't change the syntax of "_".
10085
10086 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10087 with-wrapper-hook.
10088
72d3cfca
SS
100892013-05-08 Sam Steingold <sds@gnu.org>
10090
10091 * thingatpt.el (thing-at-point): Accept optional second argument
10092 NO-PROPERTIES to strip the text properties from the return value.
10093 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10094 to `thing-at-point' instead of stripping the properties ourselves.
10095 Also, when `thing-at-point' fails to find a url, prepend "http://"
10096 to the filename at point on the assumption that the user is
10097 pointing at something like gnu.org/gnu.
10098
5cb15713
JB
100992013-05-08 Juanma Barranquero <lekktu@gmail.com>
10100
10101 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10102 * faces.el (crm-separator):
10103 Silence byte-compiler.
10104
10105 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10106 (tool-bar-map): Remove unneeded defvars.
10107
ea78b95b
LL
101082013-05-08 Leo Liu <sdl.web@gmail.com>
10109
10110 Re-work a fix for bug#10994 based on Le Wang's patch.
10111 * ido.el (ido-remove-consecutive-dups): New helper.
10112 (ido-completing-read): Use it.
10113 (ido-chop): Revert fix for bug#10994.
10114
dc7466df
AS
101152013-05-08 Adam Spiers <emacs@adamspiers.org>
10116
10117 * cus-edit.el (custom-save-variables):
10118 Pretty-print long values. (Bug#14187)
10119
9ecf672a
GM
101202013-05-08 Glenn Morris <rgm@gnu.org>
10121
10122 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10123 (m4-mode-syntax-table): Init in the defvar.
10124 (m4-mode-abbrev-table): Let define-derived-mode define it.
10125
3f555be8
TT
101262013-05-08 Tom Tromey <tromey@redhat.com>
10127
10128 * progmodes/m4-mode.el (m4-mode-syntax-table):
10129 Do not treat "_" as word constituent. (Bug#14167)
10130
7cc8ae06
GM
101312013-05-07 Glenn Morris <rgm@gnu.org>
10132
4f58bc06
GM
10133 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10134 Remove explicit eshell-isearch-cancel-map.
10135
7cc8ae06
GM
10136 * progmodes/f90.el (f90-smart-end-names): New option.
10137 (f90-smart-end): Doc fix.
10138 (f90-end-block-optional-name): New constant.
10139 (f90-block-match): Respect f90-smart-end-names.
10140
ceb57e59
SM
101412013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10142
10143 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10144 about implicit semi-colons (bug#14218).
10145
4e3f9230
YM
101462013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10147
10148 * frame.el (display-monitor-attributes-list)
10149 (frame-monitor-attributes): New functions.
10150
203a5572
LL
101512013-05-06 Leo Liu <sdl.web@gmail.com>
10152
10153 * progmodes/octave.el (octave-syntax-propertize-function): Change
10154 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10155 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10156 (octave-completion-at-point): Rename from
203a5572
LL
10157 octave-completion-at-point-function.
10158 (inferior-octave-directory-tracker): Robustify.
10159 (octave-text-functions): Remove and fix its uses. No such things
10160 any more.
10161
ee6cff99
SM
101622013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10163
10164 * emacs-lisp/trace.el (trace--display-buffer): New function.
10165 (trace-make-advice): Use it.
10166
32985194
JL
101672013-05-06 Juri Linkov <juri@jurta.org>
10168
10169 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10170 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10171 Doc fix.
10172 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10173 in the help string. (Bug#12985)
10174
a1c700de
KD
101752013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10176
10177 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10178
c67c0839
SM
101792013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10180
323885fd
SM
10181 * progmodes/perl-mode.el: Add support for here documents.
10182 (perl-syntax-propertize-function): Match here-doc markers.
10183 (perl-syntax-propertize-special-constructs): Find their end.
10184 (perl-imenu-generic-expression): Use [:alnum:].
10185
c67c0839
SM
10186 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10187 (advice--add-function): Refresh the advice if already present
10188 (bug#14317).
10189
d491e7a8
IA
101902013-05-06 Ivan Andrus <darthandrus@gmail.com>
10191
10192 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10193
ddf9925e
GM
101942013-05-06 Glenn Morris <rgm@gnu.org>
10195
7cc3af27
GM
10196 * w32-fns.el (w32-charset-info-alist): Declare.
10197
16e343d6
GM
10198 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10199 of its defcustom properties.
10200 (eshell-cmpl-initialize): No need to load pcomplete.
10201
7d889a47
GM
10202 * generic-x.el: No need to require comint when compiling.
10203
ddf9925e
GM
10204 * net/eudc-export.el: Make it loadable without bbdb.
10205 (top-level): Use require rather than load-library.
10206 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10207 (eudc-batch-export-records-to-bbdb)
10208 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10209 Require bbdb.
10210
1e2c18df
SM
102112013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10214 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10215 some tweaks, instead.
10216
02502a5f
LL
102172013-05-05 Leo Liu <sdl.web@gmail.com>
10218
10219 * progmodes/octave.el (octave-font-lock-keywords)
10220 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10221 (inferior-octave-send-list-and-digest): Improve error message.
10222 (octave-mode, inferior-octave-mode): Use setq-local.
10223 (octave-help): Set info-lookup-mode.
10224
0dc04f42
RS
102252013-05-05 Richard Stallman <rms@gnu.org>
10226
6c54491c
RS
10227 * vc/compare-w.el (compare-windows-whitespace):
10228 Treat no-break space as whitespace.
10229
0dc04f42
RS
10230 * mail/rmailsum.el (rmail-summary-rmail-update):
10231 Detect empty summary and don't change selected message.
10232 (rmail-summary-goto-msg): Likewise.
10233
df8f35df
RS
10234 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10235 Doc fixes, rename args.
10236
5356e1a3
AM
102372013-05-05 Alan Mackenzie <acm@muc.de>
10238
10239 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10240
d44014cb
JL
102412013-05-05 Juri Linkov <juri@jurta.org>
10242
10243 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10244 to not add the length of the summary segment to the return value.
10245 (Bug#14125)
10246
c129b51f
LL
102472013-05-05 Leo Liu <sdl.web@gmail.com>
10248
10249 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10250 (inferior-octave-output-filter): Remove.
10251 (octave-send-region, inferior-octave-startup): Fix callers.
10252 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10253 (octave-binary-file-extensions): New user variable.
10254 (octave-find-definition): Confirm if opening binary files.
10255 (octave-help-file): Use octave-find-definition to get the binary
10256 confirmation.
10257 (octave-help): Adjust for octave-help-file change.
10258
aa7dab97
SM
102592013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10260
10261 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10262 Merge the two entries that handle function definitions.
10263 (pascal--syntax-propertize): New const.
10264 (pascal-mode): Use it. Use setq-local.
10265
fd3a9a6b
GM
102662013-05-04 Glenn Morris <rgm@gnu.org>
10267
10268 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10269 (diary-from-outlook): Respect diary-from-outlook-function.
10270
30c7e542
SM
102712013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10272
10273 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10274 Move the declaration from C.
10275 (read-minibuffer, eval-minibuffer): Move from C.
10276 (completion-setup-function): Avoid minibuffer-completion-contents.
10277
b54f978b
LL
102782013-05-03 Leo Liu <sdl.web@gmail.com>
10279
10280 * progmodes/octave.el (octave-font-lock-keywords): Do not
10281 dehighlight 'end' in comments or strings.
30c7e542
SM
10282 (octave-completing-read, octave-goto-function-definition):
10283 New helpers.
d4d0f9b3
LL
10284 (octave-help-buffer): New user variable.
10285 (octave-help-file, octave-help-function): New button types.
10286 (octave-help): New command and bind it to C-h ;.
10287 (octave-find-definition): New command and bind it to M-.
d74a1581 10288 (user-error): Alias to error if not defined.
b54f978b 10289
27135018
LL
102902013-05-02 Leo Liu <sdl.web@gmail.com>
10291
10292 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10293 for \. (bug#14332)
10294 (octave-font-lock-keywords): Include [ and {.
10295
0d634d3a
LL
102962013-05-02 Leo Liu <sdl.web@gmail.com>
10297
10298 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10299 (inferior-octave): Remove calling comint-mode and return the buffer.
10300 (inferior-octave-startup): Cosmetic changes.
10301
b4c8295e
LL
103022013-05-02 Leo Liu <sdl.web@gmail.com>
10303
30c7e542
SM
10304 * progmodes/octave.el (octave-syntax-propertize-function):
10305 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10306
f12ad6ec
GM
103072013-05-02 Glenn Morris <rgm@gnu.org>
10308
10309 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10310 * desktop.el (vc-dir-mode): Just autoload it here.
10311
30cac1e0
AM
103122013-05-02 Alan Mackenzie <acm@muc.de>
10313
10314 Eliminate variable c-standard-font-lock-fontify-region-function.
10315 * progmodes/cc-mode.el
10316 (c-standard-font-lock-fontify-region-function): Remove.
10317 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10318
d8ef28b1
LL
103192013-05-01 Leo Liu <sdl.web@gmail.com>
10320
2640d52e 10321 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10322 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10323 variables were removed from Octave in 2007.
d8ef28b1
LL
10324 (inferior-octave-startup): Fix uses.
10325 (comint-line-beginning-position): Remove compatibility code for
10326 emacs 21.
10327
ac63ec89
JL
103282013-05-01 Juri Linkov <juri@jurta.org>
10329
10330 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10331
9e9be37c
JL
103322013-05-01 Juri Linkov <juri@jurta.org>
10333
10334 * comint.el (comint-previous-matching-input): Don't print message
10335 "History item: %d" when `isearch-mode' is active.
10336 (comint-history-isearch-message): Print message "History item: %d"
10337 when `comint-input-ring-index' is not empty and this function is
10338 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10339
9b92c13b
LL
103402013-05-01 Leo Liu <sdl.web@gmail.com>
10341
10342 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10343 definitions. Use completion-at-point to insert keywords.
10344 (octave-abbrev-start): Remove.
10345 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10346
b12d33d7
LL
103472013-04-30 Leo Liu <sdl.web@gmail.com>
10348
10349 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10350 change.
10351
3d1c39fa
AM
103522013-04-30 Alan Mackenzie <acm@muc.de>
10353
10354 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10355 * progmodes/cc-engine.el (c-back-over-member-initializers):
10356 new function.
3d1c39fa
AM
10357 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10358 (most) member init lists.
10359
5147fc17
RS
103602013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10361
10362 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10363 variable.
10364
5b78d7fc
LL
103652013-04-30 Leo Liu <sdl.web@gmail.com>
10366
10367 * progmodes/octave.el (octave-variables): Remove. No builtin
10368 variables any more. All converted to functions.
10369 (octave-font-lock-keywords, octave-completion-at-point-function):
10370 Fix uses.
10371 (octave-font-lock-texinfo-comment): New user variable.
10372 (octave-texinfo-font-lock-keywords): New variable for texinfo
10373 comment block.
10374 (octave-function-comment-block): New face.
10375 (octave-font-lock-texinfo-comment): New function.
10376 (octave-mode): Font lock texinfo comment block.
10377
38d8527b
LL
103782013-04-29 Leo Liu <sdl.web@gmail.com>
10379
10380 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10381 indexing expression.
10382 (octave-continuation-string): Do not use \.
10383 (inferior-octave-complete-impossible): Remove.
10384 (inferior-octave-completion-table)
10385 (inferior-octave-completion-at-point): Remove its uses.
10386 (inferior-octave-startup): completion_matches was introduced to
10387 Octave in 1996 so safe to assume it.
10388 (octave-function-file-comment): Improve to follow how Octave does it.
10389 (octave-update-function-file-comment): Tweak.
10390
2ec12cb0
LL
103912013-04-29 Leo Liu <sdl.web@gmail.com>
10392
10393 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10394 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10395 (octave-function-file-comment): Fix typo.
10396 (octave-sync-function-file-names): Use read-char-choice.
10397
6eaed048
JB
103982013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10399
10400 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10401 to t for the less important warnings.
10402
3ffa2d4f
DH
104032013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10404
10405 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10406
685c9501
GM
104072013-04-27 Glenn Morris <rgm@gnu.org>
10408
10409 * vc/log-view.el (log-view-current-entry):
10410 Treat "---" separator lines as part of the following rev. (Bug#14169)
10411
0208ede7
JL
104122013-04-27 Juri Linkov <juri@jurta.org>
10413
10414 * subr.el (read-number): Doc fix about using it by interactive
10415 code letter `n'. (Bug#14254)
10416
5db9dace
JL
104172013-04-27 Juri Linkov <juri@jurta.org>
10418
10419 * desktop.el (desktop-auto-save-timeout): New option.
10420 (desktop-file-checksum): New variable.
10421 (desktop-save): Add optional arg `auto-save' and don't auto-save
10422 if nothing changed.
10423 (desktop-auto-save-timer): New variable.
10424 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10425 (after-init-hook): Call `desktop-auto-save-set-timer'.
10426 Suggested by Reuben Thomas <rrt@sc3d.org> in
10427 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10428
b7260dd4
LL
104292013-04-27 Leo Liu <sdl.web@gmail.com>
10430
10431 * progmodes/octave.el (octave-function-file-p)
10432 (octave-skip-comment-forward, octave-function-file-comment)
10433 (octave-update-function-file-comment): New functions.
10434 (octave-mode-map): Bind C-c ; to
10435 octave-update-function-file-comment.
10436 (octave-mode-menu): Add octave-update-function-file-comment.
10437 (octave-mode, inferior-octave-mode): Fix doc-string.
10438 (octave-insert-defun): Conform to Octave's coding convention.
10439 (Bug#14285)
10440
10441 * files.el (basic-save-buffer): Don't let errors in
10442 before-save-hook prevent saving buffer.
10443
c46da669
RW
104442013-04-20 Roland Winkler <winkler@gnu.org>
10445
10446 * faces.el (read-face-name): Use completing-read if arg multiple
10447 is nil.
10448
a81ee1eb
IL
104492013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10450
10451 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10452 displayed, move point to after the totals line.
10453 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10454 for the details.
10455
4fac34ce
SM
104562013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10457
10458 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10459 Add current dir to the load-path.
10460 (package-generate-autoloads): Don't rely on
10461 autoload-ensure-default-file.
10462
f6bfc063
RT
104632013-04-26 Reuben Thomas <rrt@sc3d.org>
10464
d40ab5cf
BG
10465 * textmodes/remember.el (remember-store-in-files): Document that
10466 the file name format is passed to `format-time-string'.
f6bfc063 10467
e55d3b04
LL
104682013-04-26 Leo Liu <sdl.web@gmail.com>
10469
10470 * progmodes/octave.el (octave-sync-function-file-names): New function.
10471 (octave-mode): Use it in before-save-hook.
10472
e53052d3
SM
104732013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10474
140ef50c
SM
10475 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10476 (bug#14274).
10477
e53052d3
SM
10478 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10479 \n and comment, even if it's not an implicit ; (bug#14218).
10480
af80458d 104812013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10482
10483 * subr.el (read-number): Once more use `read' rather than
10484 `string-to-number', to trap non-numeric input. (Bug#14254)
10485
af80458d 104862013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10487
10488 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10489 Use `syntax-multiline' text property consistently instead of
8a621d53 10490 `font-lock-multiline'. (Bug#14237)
70203c2e 10491
e6ea1f6c
GM
104922013-04-26 Glenn Morris <rgm@gnu.org>
10493
10494 * emacs-lisp/shadow.el (list-load-path-shadows):
10495 No longer necessary to check for duplicate simple.el, since
10496 2012-07-07 change to init_lread to not include installation lisp
10497 directories in load-path when running uninstalled. (Bug#14270)
10498
070ccca4
LL
104992013-04-26 Leo Liu <sdl.web@gmail.com>
10500
10501 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10502 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10503 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10504 octave-in-string-or-comment-p.
10505 (octave-in-comment-p, octave-in-string-p)
10506 (octave-in-string-or-comment-p): Replace defsubst with defun.
10507
9d1c5fb6
PE
105082013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10509
10510 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10511
c034abda
BG
105122013-04-25 Bastien Guerry <bzg@gnu.org>
10513
10514 * textmodes/remember.el (remember-data-directory)
10515 (remember-directory-file-name-format): Fix custom types.
10516
584ea277
LL
105172013-04-25 Leo Liu <sdl.web@gmail.com>
10518
e53052d3
SM
10519 * progmodes/octave.el (octave-completion-at-point-function):
10520 Make use of inferior octave process.
584ea277
LL
10521 (octave-initialize-completions): Remove.
10522 (inferior-octave-completion-table): New function.
10523 (inferior-octave-completion-at-point): Use it.
10524 (octave-completion-alist): Remove.
10525
1693b06a
SM
105262013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10527
10528 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10529 (opascal-mode-syntax-table): New var.
10530 (opascal-literal-kind, opascal-is-literal-end)
10531 (opascal-literal-token-at): Rewrite.
10532 (opascal--literal-start-re, opascal-font-lock-keywords)
10533 (opascal--syntax-propertize): New constants.
10534 (opascal-font-lock-defaults): Adjust.
10535 (opascal-mode): Use them. Set comment-<foo> variables as well.
10536 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10537 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10538 (delphi-other-face, opascal-other-face): Remove face variables.
10539 (opascal-save-state): Remove macro.
10540 (opascal-fontifying-progress-step): Remove constant.
10541 (opascal--ignore-changes): Remove var.
10542 (opascal-set-token-property, opascal-parse-next-literal)
10543 (opascal-is-stable-literal, opascal-complete-literal)
10544 (opascal-is-literal-start, opascal-face-of)
10545 (opascal-parse-region, opascal-parse-region-until-stable)
10546 (opascal-fontify-region, opascal-after-change)
10547 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10548 (opascal-debug-parse-region, opascal-debug-parse-window)
10549 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10550 (opascal-debug-fontify-buffer): Remove.
10551 (opascal-debug-mode-map): Adjust accordingly.
10552
be64c05d
LL
105532013-04-25 Leo Liu <sdl.web@gmail.com>
10554
10555 Merge octave-mod.el and octave-inf.el into octave.el with some
10556 cleanups.
10557 * progmodes/octave.el: New file renamed from octave-mod.el.
10558 * progmodes/octave-inf.el: Merged into octave.el.
10559 * progmodes/octave-mod.el: Renamed to octave.el.
10560
d79d37bd
TH
105612013-04-25 Tassilo Horn <tsdh@gnu.org>
10562
10563 * textmodes/reftex-vars.el
10564 (reftex-label-ignored-macros-and-environments): New defcustom.
10565
10566 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10567
ced3fc5d
SM
105682013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10569
10570 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10571 (smie-indent-keyword): Improve the check to ensure that the next
10572 comment is really on the same line.
10573 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10574
10575 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10576 semi-colons if the line is not otherwise empty (bug#14218).
10577
1c141dad
GM
105782013-04-25 Glenn Morris <rgm@gnu.org>
10579
10580 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10581
5058062a
SM
105822013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10583
10584 * progmodes/opascal.el (opascal-set-token-property): Rename from
10585 opascal-set-text-properties and only set `token' (bug#14134).
10586 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10587 (opascal-literal-text-properties): Remove.
10588 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10589 Adjust callers.
10590
5db9dace 105912013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10592
10593 * textmodes/remember.el (remember-handler-functions): Add an
10594 option for a new handler `remember-store-in-files'.
10595 (remember-data-directory, remember-directory-file-name-format):
10596 New options.
10597 (remember-store-in-files): New function to store remember notes
10598 as separate files within a directory.
10599
4391916c
MH
106002013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10601
10602 * progmodes/compile.el (compilation-next-error-function):
10603 Pass "formats" to compilation-find-file (bug#11777).
10604
bb7cdf58
GM
106052013-04-24 Glenn Morris <rgm@gnu.org>
10606
3b8fe752 10607 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10608 * vc/vc-hg.el (vc-hg-print-log):
10609 * vc/vc-svn.el (vc-svn-print-log):
10610 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10611
bb7cdf58
GM
10612 * vc/vc-bzr.el (vc-bzr-print-log):
10613 * vc/vc-cvs.el (vc-cvs-print-log):
10614 * vc/vc-git.el (vc-git-print-log):
10615 * vc/vc-hg.el (vc-hg-print-log):
10616 * vc/vc-mtn.el (vc-mtn-print-log):
10617 * vc/vc-rcs.el (vc-rcs-print-log):
10618 * vc/vc-sccs.el (vc-sccs-print-log):
10619 * vc/vc-svn.el (vc-svn-print-log):
10620 * vc/vc.el (vc-print-log-internal): Doc fixes.
10621
b46a056e
GM
106222013-04-23 Glenn Morris <rgm@gnu.org>
10623
10624 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10625 Remove venerable code attempting to avoid substitute-command-keys.
10626
0aecf718
TH
106272013-04-23 Tassilo Horn <tsdh@gnu.org>
10628
4391916c
MH
10629 * textmodes/reftex-vars.el (reftex-label-regexps):
10630 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10631
117f94cf
SM
106322013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10633
4391916c 10634 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10635 Use lexical-binding.
10636 (jit-lock-force-redisplay): Use markers, check buffer's continued
10637 existence and beware narrowed buffers.
10638 (jit-lock-fontify-now): Adjust call accordingly.
10639
1d829c64
SM
106402013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10641
10642 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10643 to avoid misleading the user.
10644
72d548a9
LL
106452013-04-22 Leo Liu <sdl.web@gmail.com>
10646
10647 * info-look.el: Prefer latex2e.info. (Bug#14240)
10648
d0853629
MA
106492013-04-22 Michael Albinus <michael.albinus@gmx.de>
10650
10651 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10652
10653 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10654 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10655 (tramp-set-completion-function, tramp-parse-putty):
10656 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10657 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10658 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10659 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10660 (tramp-call-local-coding-command): Use `tramp-call-process'
10661 instead of `tramp-compat-call-process'.
10662
10663 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10664 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10665 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10666 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10667 (tramp-maybe-send-script): Check for Perl binary.
10668 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10669
38cc0210
DU
106702013-04-22 Daiki Ueno <ueno@gnu.org>
10671
10672 * epg.el (epg-context-pinentry-mode): New function.
10673 (epg-context-set-pinentry-mode): New function.
10674 (epg--start): Pass --pinentry-mode option to gpg command.
10675
cc641ee1
XF
106762013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10677
02d844b5 10678 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10679 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10680 `completion-at-point'. (Bug#13774)
5d4e5c31 10681
cc641ee1
XF
10682 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10683 default key binding for `describe-distribution' has been moved to
10684 `C-h C-o'. (Bug#13970)
10685
1b42ee43
GM
106862013-04-21 Glenn Morris <rgm@gnu.org>
10687
10688 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10689 Add doc strings.
10690 (vc-print-log): Clarify interactive prompt.
10691
a6d63d97
GM
106922013-04-20 Glenn Morris <rgm@gnu.org>
10693
10694 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10695 No longer include timestamp etc information.
10696
d7f5c16f
RW
106972013-04-20 Roland Winkler <winkler@gnu.org>
10698
10699 * faces.el (read-face-name): Bug fix, return just one face if arg
10700 multiple is nil. (Bug#14209)
10701
bcd7a0a4
SM
107022013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10705 (remove-function): Autoload.
10706
10707 * comint.el (comint-redirect-original-filter-function): Remove.
10708 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10709 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10710 (vc-cvs-annotate-command):
bcd7a0a4
SM
10711 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10712 * progmodes/prolog.el (prolog-consult-compile):
10713 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10714 Use add/remove-function instead.
10715 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10716 (gud-tooltip-process-output, gud-tooltip-tips):
10717 Use add/remove-function instead.
10718 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10719 (scheme-interaction-mode, exit-scheme-interaction-mode):
10720 Use add/remove-function instead.
10721
10722 * vc/vc-dispatcher.el: Use lexical-binding.
10723 (vc--process-sentinel): Rename from vc-process-sentinel.
10724 Change last arg to be the code to run. Don't use vc-previous-sentinel
10725 and vc-sentinel-commands any more.
10726 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10727 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10728
e36b2d20 107292013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10730
bcd7a0a4 10731 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10732 Handle function names with a single character. (Bug#14111)
4d3268ba 10733
781b4af6 107342013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10735
10736 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10737 for subroutines defined in an eval (bug#14182).
10738
7d688336
TV
107392013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10740
10741 * bookmark.el (bookmark-completing-read): Improve handling of empty
10742 string (bug#14176).
10743
31dcede0
SM
107442013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10745
10746 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10747
adc31213
FEG
107482013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10749
10750 New faster Imenu implementation (bug#14058).
10751 * progmodes/python.el:
10752 (python-imenu-prev-index-position):
10753 (python-imenu-format-item-label-function)
10754 (python-imenu-format-parent-item-label-function)
10755 (python-imenu-format-parent-item-jump-label-function):
10756 New vars.
10757 (python-imenu-format-item-label)
10758 (python-imenu-format-parent-item-label)
10759 (python-imenu-format-parent-item-jump-label)
10760 (python-imenu--put-parent, python-imenu--build-tree)
10761 (python-imenu-create-index, python-imenu-create-flat-index)
10762 (python-util-popn): New functions.
10763 (python-mode): Set imenu-create-index-function to
10764 python-imenu-create-index.
10765
cdca8255
SM
107662013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10767
10768 * winner.el (winner-active-region): Use region-active-p, activate-mark
10769 and deactivate-mark (bug#14225).
10770
10771 * simple.el (deactivate-mark): Don't inline it.
10772
beb42340
MA
107732013-04-18 Michael Albinus <michael.albinus@gmx.de>
10774
10775 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10776
fc7f4d7e
TH
107772013-04-18 Tassilo Horn <tsdh@gnu.org>
10778
10779 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10780 file extensions from the archive-mode entry in order to prefer
10781 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10782
29f47822
LL
107832013-04-18 Leo Liu <sdl.web@gmail.com>
10784
10785 * bindings.el (help-event-list): Add ?\?.
10786
d36ed1c8
SM
107872013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * subr.el (with-wrapper-hook): Declare obsolete.
10790 * simple.el (filter-buffer-substring-function): New hook.
10791 (filter-buffer-substring): Use it.
10792 (filter-buffer-substring-functions): Mark obsolete.
10793 * minibuffer.el (completion-in-region-function): New hook.
10794 (completion-in-region): Use it.
10795 (completion-in-region-functions): Mark obsolete.
10796 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10797 * abbrev.el (abbrev-expand-function): New hook.
10798 (expand-abbrev): Use it.
10799 (abbrev-expand-functions): Mark obsolete.
10800 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10801 and :filter-return.
10802
04754d36
FEG
108032013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10804
10805 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10806 and do not care about match data.
10807
dd8791e9
SM
108082013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10809
10810 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10811 completion tables when completing error conditions and
10812 `declare' arguments.
10813 (lisp-complete-symbol, field-complete): Mark as obsolete.
10814 (check-parens): Unmatched parens are user errors.
10815 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10816
ffe54a13
AM
108172013-04-17 Michal Nazarewicz <mina86@mina86.com>
10818
dd8791e9
SM
10819 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10820 command changed buffer (ie. `flyspell-pre-buffer' is not current
10821 buffer), which prevents making decisions based on invalid value of
10822 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10823 cause an error when `flyspell-pre-point' was nil after switching
10824 buffers.
10825 (flyspell-post-command-hook): No longer needs to change buffers when
10826 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10827
ec7e39f2
AM
108282013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10829
10830 * textmodes/ispell.el (ispell-add-per-file-word-list):
10831 Fix `flyspell-correct-word-before-point' error when accepting
10832 words and `coment-padding' is an integer by using
10833 `comment-normalize-vars' (Bug #14214).
10834
083850a6
FEG
108352013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10836
10837 New defun movement commands.
10838 * progmodes/python.el (python-nav--syntactically)
10839 (python-nav--forward-defun, python-nav-backward-defun)
10840 (python-nav-forward-defun): New functions.
10841
619ed6e1
FEG
108422013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10843
10844 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10845 (python-syntax-context): Use named compiler-macro for backwards
10846 compatibility with Emacs 24.x.
10847
7a1beb6c
LL
108482013-04-17 Leo Liu <sdl.web@gmail.com>
10849
10850 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10851 octave-hide-process-buffer.
10852
2d3fa3e5
SM
108532013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10854
10855 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10856 (bug#14216).
10857
7ce5be54
JPG
108582013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10859
10860 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10861 Fix adjustment of offset when receiving incomplete responses from GDB
10862 (bug#14129).
10863
351edece
SM
108642013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10865
10866 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10867 python-mode-abbrev-table.
10868 (python-skeleton-define): Adjust accordingly.
10869 (python-mode-abbrev-table): New table that inherits from it so that
10870 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10871
10872 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10873 (abbrev-symbol): Use it.
10874 (abbrev--before-point): Use it since we already handle inheritance.
10875
613f9481
LL
108762013-04-16 Leo Liu <sdl.web@gmail.com>
10877
10878 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10879 binding to info-lookup-symbol.
10880
51646b62
JB
108812013-04-16 Juanma Barranquero <lekktu@gmail.com>
10882
10883 * minibuffer.el (completion--twq-all):
10884 * term/ns-win.el (ns-initialize-window-system):
10885 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10886
efb3f01d
SM
108872013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10888
36c0a301
SM
10889 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10890 global bindings.
10891
efb3f01d
SM
10892 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10893
fb549d64
DG
108942013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10895
10896 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10897 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10898 to nil.
10899 (ruby-end-of-defun): Remove the unused arg, change the docstring
10900 to reflect that this function is only used as the value of
10901 `end-of-defun-function'.
10902 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10903 to reflect an earlier change that beginning/end-of-defun functions
10904 jump between methods in a class definition, as well as top-level
10905 functions.
10906
21e8fe2f
SM
109072013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * minibuffer.el (minibuffer-complete): Don't just scroll
10910 a *Completions* that's been iconified.
10911 (minibuffer-force-complete): Make sure repetitions do cycle when going
10912 through completion-in-region -> minibuffer-complete.
10913
20e527d0
AM
109142013-04-15 Alan Mackenzie <acm@muc.de>
10915
10916 Correct the placement of c-cpp-delimiters when there're #s not at
10917 col 0.
10918
10919 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10920 place a submatch around the #.
21e8fe2f
SM
10921 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10922 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10923 on the #, not BOL.
10924
dabefae5
SM
109252013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10926
10927 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10928 (advice--member-p): New arg `name'.
10929 (advice--add-function, advice-member-p): Use it (bug#14202).
10930
85c9ab64
AM
109312013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10932
10933 Reformulate java imenu-generic-expression.
10934 The old expression contained ill formed regexps.
10935
10936 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10937 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10938 (cc-imenu-java-method-arg-regexp): New defconsts.
10939 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10940 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10941 handling of spaces in the regexp.
10942
0f821d99
AM
109432013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10944
10945 * textmodes/ispell.el (ispell-command-loop): Remove
10946 flyspell highlight of a word when ispell accepts it (bug #14178).
10947
eb922adf
MA
109482013-04-15 Michael Albinus <michael.albinus@gmx.de>
10949
10950 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10951 uses code from the previous `ange-ftp-run-real-handler'.
10952 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10953 only in case that function exist. This is needed for proper
10954 unloading of Tramp.
10955
4d9a0979
TH
109562013-04-15 Tassilo Horn <tsdh@gnu.org>
10957
10958 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10959
10960 * textmodes/reftex.el (reftex-compile-variables): Use it.
10961
a829b0dc
SM
109622013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10963
91e8293c
SM
10964 * files.el (normal-mode): Only use default major-mode if no other mode
10965 was specified.
10966
830aed4d
SM
10967 * emacs-lisp/trace.el (trace-values): New function.
10968
a829b0dc
SM
10969 * files.el: Allow : in local variables (bug#14089).
10970 (hack-local-variable-regexp): New var.
10971 (hack-local-variables-prop-line, hack-local-variables): Use it.
10972
7ae9f0fb
RW
109732013-04-13 Roland Winkler <winkler@gnu.org>
10974
10975 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10976 data before it gets modified by bibtex-beginning-of-entry.
10977
6646e848
RW
109782013-04-13 Roland Winkler <winkler@gnu.org>
10979
10980 * textmodes/bibtex.el (bibtex-url): Doc fix.
10981
109822013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10983
10984 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10985 does not visit a BibTeX file, exclude it from the list of buffers
10986 returned by bibtex-initialize.
10987
0aa3616e
SB
109882013-04-13 Stephen Berman <stephen.berman@gmx.net>
10989
10990 * window.el (split-window): Remove interactive form, since as a
10991 command this function is a special case of split-window-below.
10992 Correct doc string.
10993
011cddd6
RW
109942013-04-12 Roland Winkler <winkler@gnu.org>
10995
10996 * faces.el (read-face-name): Do not override value of arg default.
10997 Allow single faces and strings as default values. Remove those
10998 elements from return value that are not faces.
10999 (describe-face): Simplify.
11000 (face-at-point): New optional args thing and multiple so that this
11001 function can provide the same functionality previously provided by
11002 read-face-name.
11003 (make-face-bold, make-face-unbold, make-face-italic)
11004 (make-face-unitalic, make-face-bold-italic, invert-face)
11005 (modify-face, read-face-and-attribute): Use face-at-point.
11006
11007 * cus-edit.el (customize-face, customize-face-other-window)
11008 * cus-theme.el (custom-theme-add-face)
11009 * face-remap.el (buffer-face-set)
11010 * facemenu.el (facemenu-set-face): Use face-at-point.
11011
f24e0036
MA
110122013-04-12 Michael Albinus <michael.albinus@gmx.de>
11013
11014 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11015
da3cda2d
TH
110162013-04-10 Tassilo Horn <tsdh@gnu.org>
11017
11018 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11019 off leading { and trailing } from field values.
11020
15e54145
SM
110212013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11022
78ce603d
SM
11023 * emacs-lisp/timer.el (timer--check): New function.
11024 (timer--time, timer-set-function, timer-event-handler): Use it.
11025 (timer-set-idle-time): Simplify.
11026 (timer--activate): CSE.
11027 (timer-event-handler): Give more info in error message.
11028 (internal-timer-start-idle): New function, moved from C.
11029
15e54145
SM
11030 * mpc.el (mpc-proc): Add `restart' argument.
11031 (mpc-proc-cmd): Use it.
11032 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11033 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11034 less often.
11035
7144c627
MY
110362013-04-10 Masatake YAMATO <yamato@redhat.com>
11037
11038 * progmodes/sh-script.el: Implement `sh-mode' own
11039 `add-log-current-defun-function' (bug#14112).
11040 (sh-current-defun-name): New function.
11041 (sh-mode): Use the function.
11042
b39792eb
BG
110432013-04-09 Bastien Guerry <bzg@gnu.org>
11044
11045 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11046
8acdeb71
SM
110472013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11048
6fcdab68
SM
11049 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11050
8acdeb71
SM
11051 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11052 timer (bug#14156).
11053
e3e7b504
NF
110542013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11055
11056 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11057 declaration.
11058
201bb296
LL
110592013-04-07 Leo Liu <sdl.web@gmail.com>
11060
11061 * pcmpl-x.el: New file.
11062
ebb19708
DA
110632013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11064
11065 Do not set x-display-name until X connection is established.
11066 This is needed to prevent from weird situation described at
11067 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11068 * frame.el (make-frame): Set x-display-name after call to
11069 window system initialization function, not before.
11070 * term/x-win.el (x-initialize-window-system): Add optional
11071 display argument and use it.
11072 * term/w32-win.el (w32-initialize-window-system):
11073 * term/ns-win.el (ns-initialize-window-system):
11074 * term/pc-win.el (msdos-initialize-window-system):
11075 Add compatible optional display argument.
11076
33bb237a
EZ
110772013-04-06 Eli Zaretskii <eliz@gnu.org>
11078
11079 * files.el (normal-backup-enable-predicate): On MS-Windows and
11080 MS-DOS compare truenames of temporary-file-directory and of the
11081 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11082 don't fail comparison by compare-strings. Also, compare file
11083 names case-insensitively on MS-Windows and MS-DOS.
11084
134abf1f
SM
110852013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11088 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11089
d695cb94
DG
110902013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11091
e3e7b504
NF
11092 * whitespace.el (whitespace-color-on, whitespace-color-off):
11093 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11094
f4ad7ea1 110952013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11096
11097 * ispell.el (ispell-set-spellchecker-params):
11098 Really set `ispell-args' for all equivs.
11099
632556e4
SM
111002013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11101
11102 * ido.el (ido-completions): Use extra elements of ido-decorations
11103 (bug#14143).
11104 (ido-decorations): Update docstring.
11105
2a417372
MA
111062013-04-05 Michael Albinus <michael.albinus@gmx.de>
11107
11108 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11109 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11110 nil during initialization, in order not to miss changes since the
11111 file was opened. (Bug#14140)
11112
fc164b0c
LL
111132013-04-05 Leo Liu <sdl.web@gmail.com>
11114
11115 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11116
0ccecc08
JB
111172013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11118
11119 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11120
51af1aa2
GM
111212013-04-04 Glenn Morris <rgm@gnu.org>
11122
11123 * electric.el (electric-pair-inhibit-predicate): Add :version.
11124
b208ebc6
SM
111252013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11128 when a package is required several times (bug#14082).
11129
f3d3eaf0
RW
111302013-04-04 Roland Winkler <winkler@gnu.org>
11131
11132 * faces.el (read-face-name): Behave as promised by the docstring.
11133 Assume that arg default is a list of faces.
11134 (describe-face): Call read-face-name with list of default faces.
11135
2575da50
TV
111362013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11137
11138 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11139 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11140 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11141 the header.
11142 (bookmark-exit-hook-internal): Save even if list is empty.
11143
397703b4
YH
111442013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11145
11146 * emacs-lisp/package.el (package-pinned-packages): New var.
11147 (package--add-to-archive-contents): Obey it (bug#14118).
11148
691e26ae
AM
111492013-04-03 Alan Mackenzie <acm@muc.de>
11150
8a621d53
JB
11151 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11152 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11153
11154 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11155 parameter `not-in-delimiter'. Handle being inside comment opener.
11156 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11157 character in case we're typing a '*' after a '/'.
11158 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11159 instead by passing the parameter to c-state-pp-to-literal.
11160
11161 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11162 for elt. 7 of a parse state.
11163
4b725a70
PE
111642013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11165
11166 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11167 * international/latin1-disp.el, international/mule-util.el:
11168 * language/cyril-util.el, language/european.el, language/ind-util.el:
11169 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11170 * language/tibetan.el, language/viet-util.el:
11171 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11172
15c579f0
SM
111732013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11174
11175 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11176 (electric-pair-post-self-insert-function): Use it.
11177 (electric-pair-default-inhibit): New function, extracted from
11178 electric-pair-post-self-insert-function.
11179
a77e2924
RW
111802013-03-31 Roland Winkler <winkler@gnu.org>
11181
11182 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11183
2bd8a4a8
SM
111842013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11185
11186 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11187
8d3655be 111882013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11189
11190 Un-indent after "pass" and "return" statements (Bug#13888)
11191 * progmodes/python.el (python-indent-block-enders): New var.
11192 (python-indent-calculate-indentation): Use it.
11193
8d3655be 111942013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11195
11196 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11197 defun. Defining it as defalias could introduce too eager
11198 byte-compiler optimization. (Bug#14030)
11199
8d3655be 112002013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11201
11202 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11203
0b1619da
LL
112042013-03-30 Leo Liu <sdl.web@gmail.com>
11205
11206 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11207 (kmacro-execute-from-register): Pass the keyboard macro to
11208 kmacro-call-macro or repeating won't work correctly.
11209
0b938190
TZ
112102013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11211
11212 * progmodes/subword.el: Back to using `forward-symbol'.
11213
11214 * subr.el (forward-whitespace, forward-symbol)
11215 (forward-same-syntax): Move from thingatpt.el.
11216
35710234
LL
112172013-03-29 Leo Liu <sdl.web@gmail.com>
11218
11219 * kmacro.el (kmacro-to-register): New command.
11220 (kmacro-execute-from-register): New function.
11221 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11222
efc0bb73
SM
112232013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11224
11225 * mpc.el: Use defvar-local and setq-local.
11226 (mpc--proc-connect): Connection failures are not bugs.
11227 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11228 (mpc-volume-map): Bind to the up-events.
11229
75a2f981
TZ
112302013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11231
11232 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11233 instead of `forward-symbol'.
11234
17c781d1
SM
112352013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11238 (edebug--recursive-edit): Use it.
11239 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11240 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11241
f67bfbcf
LL
112422013-03-28 Leo Liu <sdl.web@gmail.com>
11243
11244 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11245
b59f639d
EZ
112462013-03-27 Eli Zaretskii <eliz@gnu.org>
11247
11248 * facemenu.el (list-colors-callback): New defvar.
11249 (list-colors-redisplay): New function.
11250 (list-colors-display): Install list-colors-redisplay as the
11251 revert-buffer-function. (Bug#14063)
11252
f557c1b1
SM
112532013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11254
b1da2957
SM
11255 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11256 and suffixes don't overlap (bug#14061).
11257
f557c1b1
SM
11258 * case-table.el: Use lexical-binding.
11259 (case-table-get-table): New function.
11260 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11261
002668e1
TZ
112622013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11263
11264 * progmodes/subword.el: Add `superword-mode' to do word motion
11265 over symbol_words (parallels and leverages `subword-mode' which
11266 does word motion inside MixedCaseWords).
11267
73572c72
AG
112682013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11269
78b8f320 11270 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11271 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11272
69b2c07e
SM
112732013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11274
11275 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11276 Change return value to be a sexp. Delay `get-buffer' to after
11277 restoring the desktop (bug#13951).
11278
08bb5ee2
LL
112792013-03-26 Leo Liu <sdl.web@gmail.com>
11280
11281 * register.el: Move semantic tag handling back to
11282 cedet/semantic/senator.el. (Bug#14052)
11283
8d4c974e
SM
112842013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11285
11286 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11287 into the prompt either (bug#13963).
11288
b234d92c
SM
112892013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11292 part of "(error-foo)".
11293
ddfa3cb4
JL
112942013-03-24 Juri Linkov <juri@jurta.org>
11295
11296 * replace.el (list-matching-lines-prefix-face): New defcustom.
11297 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11298 `occur-engine' if `face-differs-from-default-p' returns t.
11299 (occur-engine): Add `,' inside backquote construct to evaluate
11300 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11301 Pass `prefix-face' to the functions `occur-context-lines' and
11302 `occur-engine-add-prefix'.
11303 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11304 `prefix-face' and propertize the prefix with `prefix-face'.
11305 (Bug#14017)
11306
7b0e2f85
LL
113072013-03-24 Leo Liu <sdl.web@gmail.com>
11308
11309 * nxml/rng-valid.el (rng-validate-while-idle)
11310 (rng-validate-quick-while-idle): Guard against deleted buffer.
11311 (Bug#13999)
11312
11313 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11314 is the last entry in kill-buffer-hook.
11315
11316 * files.el (kill-buffer-hook): Doc fix.
11317
b3082f49
DG
113182013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11319
b234d92c
SM
11320 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11321 Make it safe-local.
bde73d27 11322
b3082f49
DG
11323 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11324
a320a2db
LL
113252013-03-23 Leo Liu <sdl.web@gmail.com>
11326
7e74b0fb
LL
11327 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11328 Remove.
11329
11330 * nxml/rng-valid.el (rng-validate-mode)
11331 (rng-after-change-function, rng-do-some-validation):
11332 * nxml/rng-maint.el (rng-validate-buffer):
11333 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11334 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11335 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11336 (nxml-extend-after-change-region): Use with-silent-modifications.
11337
a320a2db
LL
11338 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11339 timer-idle-list.
11340
11341 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11342 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11343 timer-idle-list. (Bug#13999)
11344
e38e6780
JL
113452013-03-23 Juri Linkov <juri@jurta.org>
11346
11347 * info.el (info-index-match): New face.
11348 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11349 main pattern and add text properties with the new face to matches
11350 in index entries relative to the beginning of the index entry.
11351 (Bug#14015)
11352
e8cc7880
DE
113532013-03-21 Eric Ludlam <zappo@gnu.org>
11354
11355 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11356 Inhibit read only while inserting objects.
11357
9bb0d822
TZ
113582013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11359
11360 * progmodes/cfengine.el: Update docs to mention
11361 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11362 symbol motion. Remove "_" from the word syntax.
11363
aa703640
TZ
113642013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11365
11366 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11367 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11368
afff09d0
JL
113692013-03-20 Juri Linkov <juri@jurta.org>
11370
11371 * info.el (Info-next-reference-or-link)
11372 (Info-prev-reference-or-link): New functions.
11373 (Info-next-reference, Info-prev-reference): Use them.
11374 (Info-try-follow-nearest-node): Handle footnote navigation.
11375 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11376
9a1ff164
SM
113772013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11380 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11381
2667d15d
PE
113822013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11383
11384 Suppress unnecessary non-ASCII chatter during build process.
11385 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11386 (batch-skkdic-convert): Suppress most of the chatter.
11387 It's not needed so much now that machines are faster,
11388 and its non-ASCII component was confusing; see Dmitry Gutov in
11389 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11390
438b0579
LL
113912013-03-20 Leo Liu <sdl.web@gmail.com>
11392
11393 * ido.el (ido-chop): Fix bug#10994.
11394
c128ab07
DG
113952013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11396
11397 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11398 Remove vars.
9a1ff164
SM
11399 (whitespace-color-on, whitespace-color-off):
11400 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11401
0e6008c5
SM
114022013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11403
11404 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11405 remapping in mode-line.
11406 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11407
627b52b0
DG
114082013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11409
11410 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11411 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11412 (whitespace-font-lock-keywords): Change description.
11413 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11414 the constructed keywords instead.
11415 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11416
50c3a20b
LL
114172013-03-19 Leo Liu <sdl.web@gmail.com>
11418
11419 * progmodes/compile.el (compilation-display-error): New command.
11420 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11421 C-o. (Bug#13992)
11422
2aa2157b
PE
114232013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11424
11425 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11426
e477dbfa
JD
114272013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11428
11429 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11430
64ab82d1
MA
114312013-03-18 Michael Albinus <michael.albinus@gmx.de>
11432
11433 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11434
11435 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11436 * net/tramp-gvfs.el (top):
11437 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11438 (tramp-handle-shell-command): Use it.
11439 (tramp-dissect-file-name): Raise an error when hostname is a
11440 method name, and neither method nor user is specified.
11441
11442 * net/trampver.el: Update release number.
11443
33cef733
LL
114442013-03-18 Leo Liu <sdl.web@gmail.com>
11445
11446 Make sure eldoc can be turned off properly.
11447 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11448 eldoc-mode.
11449 (eldoc-display-message-p): Revert last change.
11450 (eldoc-display-message-no-interference-p)
11451 (eldoc-print-current-symbol-info): Tweak.
11452
2167b7b2
TH
114532013-03-18 Tassilo Horn <tsdh@gnu.org>
11454
11455 * doc-view.el (doc-view-new-window-function): Check the new window
11456 overlay's display property instead the char property of the
11457 buffer's first char. Use `with-selected-window' instead of
11458 `save-window-excursion' with `select-window'.
11459 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11460 display property instead the char property of the buffer's first char.
2167b7b2 11461
982efbcd
PE
114622013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11463
11464 Automate the build of ja-dic.el (Bug#13984).
11465 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11466 from the input, rather than assume that it's been done for us by the
11467 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11468 the current date into a ja-dic.el comment, as that complicates
11469 regression testing.
11470
2fcc7665
SM
114712013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * whitespace.el: Fix double evaluation.
11474 (whitespace-space, whitespace-hspace, whitespace-tab)
11475 (whitespace-newline, whitespace-trailing, whitespace-line)
11476 (whitespace-space-before-tab, whitespace-indentation)
11477 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11478 obsolete defvars.
11479 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11480 (whitespace-color-on): Use a single font-lock-add-keywords call.
11481 Fix double-evaluation of face variables.
11482
67c0a6e6
MA
114832013-03-17 Michael Albinus <michael.albinus@gmx.de>
11484
2fcc7665
SM
11485 * net/tramp-adb.el (tramp-adb-parse-device-names):
11486 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11487 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11488
69489f1d
LL
114892013-03-17 Leo Liu <sdl.web@gmail.com>
11490
11491 Extend eldoc to display info in the mode-line. (Bug#13978)
11492 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11493 (eldoc-mode-line-string): New variable.
11494 (eldoc-minibuffer-message): New function.
11495 (eldoc-message-function): New variable.
11496 (eldoc-message): Use it.
11497 (eldoc-display-message-p)
2fcc7665
SM
11498 (eldoc-display-message-no-interference-p):
11499 Support eldoc-post-insert-mode.
69489f1d
LL
11500
11501 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11502 (eval-expression): Run it.
11503
9c44569e
RW
115042013-03-17 Roland Winkler <winkler@gnu.org>
11505
11506 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11507 strings in the list of return values.
11508
327f1f6f
JB
115092013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11510
11511 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11512 radix before checking for HMS forms.
11513
67ed8fcd
LL
115142013-03-16 Leo Liu <sdl.web@gmail.com>
11515
11516 * progmodes/scheme.el: Add indentation and font-locking for λ.
11517 (Bug#13975)
11518
78be8b64 115192013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11520
11521 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11522 token before point (bug#13942).
11523
78be8b64 115242013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11525
95b43468 11526 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11527
98e775e6
EZ
115282013-03-16 Eli Zaretskii <eliz@gnu.org>
11529
11530 * startup.el (command-line-normalize-file-name): Fix handling of
11531 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11532 <xfq.free@gmail.com> in
11533 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11534
2edd6029
MA
115352013-03-15 Michael Albinus <michael.albinus@gmx.de>
11536
11537 Sync with Tramp 2.2.7.
11538
11539 * net/trampver.el: Update release number.
11540
d35f5864
TH
115412013-03-14 Tassilo Horn <tsdh@gnu.org>
11542
e903c210 11543 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11544 (doc-view-insert-image): Don't modify overlay associated to
11545 non-live windows, and implement horizontal centering of image in
11546 case it's smaller than the window.
11547 (doc-view-new-window-function): Force redisplay of new windows on
11548 doc-view buffers.
d35f5864 11549
1c4a85ed
KF
115502013-03-13 Karl Fogel <kfogel@red-bean.com>
11551
11552 * saveplace.el (save-place-alist-to-file): Don't sort
11553 `save-place-alist', just pretty-print it (bug#13882).
11554
85b66a21
MA
115552013-03-13 Michael Albinus <michael.albinus@gmx.de>
11556
a020afb9
JB
11557 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11558 Check whether `default-file-name-coding-system' is bound.
11559 It isn't in XEmacs.
85b66a21 11560
175600da
SM
115612013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11562
e7f7cb1a
SM
11563 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11564 backquotes for `obsolete' (bug#13929).
11565
175600da
SM
11566 * international/mule.el (find-auto-coding): Include file name in
11567 obsolescence warning (bug#13922).
11568
ca68a22e
TZ
115692013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11570
11571 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11572 for CFEngine 3-specific indentation.
11573 (cfengine3-indent-line): Use it. Fix up category regex.
11574 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11575
940e5099
SM
115762013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * type-break.el (type-break-file-name):
11579 * textmodes/remember.el (remember-data-file):
11580 * strokes.el (strokes-file):
11581 * shadowfile.el (shadow-initialize):
11582 * saveplace.el (save-place-file):
11583 * ps-bdf.el (bdf-cache-file):
11584 * progmodes/idlwave.el (idlwave-config-directory):
11585 * net/quickurl.el (quickurl-url-file):
11586 * international/kkc.el (kkc-init-file-name):
11587 * ido.el (ido-save-directory-list-file):
11588 * emulation/viper.el (viper-custom-file-name):
11589 * emulation/vip.el (vip-startup-file):
11590 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11591 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11592
cc725808
PE
115932013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11594
11595 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11596 * language/thai-word.el: Switch to UTF-8.
11597
a020afb9 11598See ChangeLog.16 for earlier changes.
e3d51b27
MR
11599
11600;; Local Variables:
11601;; coding: utf-8
e3d51b27
MR
11602;; End:
11603
ab422c4d 11604 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11605
11606 This file is part of GNU Emacs.
11607
11608 GNU Emacs is free software: you can redistribute it and/or modify
11609 it under the terms of the GNU General Public License as published by
11610 the Free Software Foundation, either version 3 of the License, or
11611 (at your option) any later version.
11612
11613 GNU Emacs is distributed in the hope that it will be useful,
11614 but WITHOUT ANY WARRANTY; without even the implied warranty of
11615 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11616 GNU General Public License for more details.
11617
11618 You should have received a copy of the GNU General Public License
11619 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.