Fix my previous change.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d64b6308
DC
12013-12-24 Daniel Colascione <dancol@dancol.org>
2
3 * icomplete.el: Remove redundant :group arguments to `defcustom'
4 throughout.
5 (icomplete-show-matches-on-no-input): New customizable variable.
6 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
7 we have something to show.
8 (icomplete-exhibit): Compute completions even if we have no user
9 input.
10
0da54898
DC
112013-12-23 Daniel Colascione <dancol@dancol.org>
12
13 * icomplete.el: Move `provide' to end of file.
14
b90aa4f4
TZ
152013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
16
17 * net/gnutls.el (gnutls-verify-error): Add version tag.
18
8cd22a08
CY
192013-12-23 Chong Yidong <cyd@gnu.org>
20
21 * subr.el (set-transient-map): Rename from
22 set-temporary-overlay-map. Doc fix.
23
24 * face-remap.el (text-scale-adjust):
25 * indent.el (indent-rigidly):
26 * kmacro.el (kmacro-call-macro):
27 * minibuffer.el (minibuffer-force-complete):
28 * repeat.el (repeat):
29 * simple.el (universal-argument--mode):
30 * calendar/todo-mode.el (todo-insert-item--next-param):
31 * progmodes/f90.el (f90-abbrev-start): Callers changed.
32
7510b021
CY
33 * indent.el (indent-rigidly): Use substitute-command-keys.
34
56890ecd
KN
352013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
36
37 * net/eww.el (eww-tag-select): Add text-property to jump to next
38 select field.
39 (eww) : Add non-supported ftp error.
40
1f87a56c
DG
412013-12-22 Dmitry Gutov <dgutov@yandex.ru>
42
43 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
44 comments. Handle electric indent after typing `?' and `!'.
45
dca38cf9
CY
462013-12-22 Chong Yidong <cyd@gnu.org>
47
48 * faces.el (face-spec-recalc): If the theme specs are not
49 applicable to a frame, fall back on the defface spec. This
50 prevents themes from obliterating faces on low-color terminals.
51
f2351498
DG
522013-12-22 Dmitry Gutov <dgutov@yandex.ru>
53
54 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
55 after `{'. We need it after block openers, and it doesn't seem
56 to hurt after hash openers.
57
6cddebc1
DG
582013-12-22 Dmitry Gutov <dgutov@yandex.ru>
59
60 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
61 extracted from `ruby-smie-rules'.
62 (ruby--electric-indent-chars): New variable.
63 (ruby--electric-indent-p): New function.
64 (ruby-mode): Use `electric-indent-functions' instead of
65 `electric-indent-chars'.
66
65a1da00
DG
672013-12-22 Dmitry Gutov <dgutov@yandex.ru>
68
69 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
70 docstring.
71 (ruby-smie-rules): Indent plus one level after `=>'.
72
b51ad4cf
RS
732013-12-21 Richard Stallman <rms@gnu.org>
74
75 * simple.el (newline): Doc fix.
76
d49fbfd6
TZ
772013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
78
79 * net/eww.el (eww-list-histories, eww-list-histories)
80 (eww-history-browse, eww-history-quit, eww-history-kill)
81 (eww-history-mode-map, eww-history-mode): New command and
82 functions to list browser histories.
5edcc2dc
KN
83 (eww-form-text): Support text form with disabled
84 and readonly attributes.
dde4de31 85 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 86
5e1901c1
RS
872013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
88
89 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
90 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
91 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
92 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
93 Use `user-error'.
94 (eww-bookmark-mode-map): Add menu.
95 (eww-render, eww-mode): Use `setq-local'.
96 (eww-tool-bar-map): New variable.
97 (eww-mode): Set `tool-bar-map'.
98 (eww-view-source): Check for `html-mode' with `fboundp'.
99
073d5cfd
LMI
1002013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
101
102 * net/shr.el (shr--extract-best-source): Don't bug out on audio
103 elements with text inside. Also remove debugging.
104
41cf3d11
JD
1052013-12-21 Jan Djärv <jan.h.d@swipnet.se>
106
107 * cus-start.el (all): Add ns-use-srgb-colorspace.
108
aac2b673
CY
1092013-12-21 Chong Yidong <cyd@gnu.org>
110
111 * custom.el (custom-theme-recalc-face): Do nothing if the face is
112 undefined. Thus, theme settings for undefined faces do not take
113 effect until the faces are defined with defface, the same as with
114 theme variables.
115
116 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
117 (face-spec-reset-face): Don't assign extra properties in temacs.
118 (face-spec-recalc): Apply X resources too.
119
bacb0e77
CY
1202013-12-21 Chong Yidong <cyd@gnu.org>
121
122 * faces.el (face-spec-set):
123 * cus-face.el (custom-theme-set-faces, custom-set-faces):
124 * custom.el (defface): Doc fixes (Bug#16203).
125
77221051
CY
126 * indent.el (indent-rigidly-map): Add docstring, and move commands
127 into named functions.
128 (indent-rigidly-left, indent-rigidly-right)
129 (indent-rigidly-left-to-tab-stop)
130 (indent-rigidly-right-to-tab-stop): New functions. Decide on
131 indentation direction based on bidi direction, and accumulate
132 sequential commands in a single undo boundary.
133 (indent-rigidly--pop-undo): New utility function.
134
e0eb0550
JB
1352013-12-20 Juanma Barranquero <lekktu@gmail.com>
136
137 * faces.el (read-face-name): Require crm.el when using crm-separator.
138
3282bd2e
DC
1392013-12-20 Daniel Colascione <dancol@dancol.org>
140
141 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
142 so that we don't reflow comments into the shebang line.
143
1d42e5b6
JL
1442013-12-20 Juri Linkov <juri@jurta.org>
145
146 * saveplace.el (save-place-to-alist): Add `dired-filename' as
147 a position when `dired-directory' is non-nil. Check integer
148 positions with `integerp'.
149 (toggle-save-place, save-places-to-alist): Add check for
150 `dired-directory'.
151 (save-place-find-file-hook): Check integer positions with
152 `integerp'.
153 (save-place-dired-hook): Use `dired-goto-file' when
154 `dired-filename' is found in the assoc list. Check integer
155 positions with `integerp'.
156 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
157
158 * dired.el (dired-initial-position-hook): Rename back from
159 `dired-initial-point-hook'.
160 (dired-initial-position): Rename `dired-initial-point-hook' to
161 `dired-initial-position-hook'.
162 (dired-file-name-at-point): Doc fix. (Bug#15329)
163
24da7273
JL
1642013-12-20 Juri Linkov <juri@jurta.org>
165
166 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
167 (read-regexp-suggestions): New function.
168 (read-regexp): Use `read-regexp-defaults-function' to get default values.
169 Use `read-regexp-suggestions'. Add non-empty default to history
170 for empty input.
171 (occur-read-regexp-defaults-function): Remove function.
172 (occur-read-primary-args): Use `regexp-history-last' instead of
173 `occur-read-regexp-defaults-function'.
174
175 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
176 (hi-lock-line-face-buffer, hi-lock-face-buffer)
177 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
178 `hi-lock-read-regexp-defaults-function'. Doc fix.
179 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
180 with `find-tag-default-as-symbol-regexp'. Doc fix.
181 (hi-lock-read-regexp-defaults): Remove function.
182 (hi-lock-regexp-okay): Add check for null.
183
184 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
185 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
186
187 * subr.el (find-tag-default-as-symbol-regexp): New function.
188 (find-tag-default-as-regexp): Move symbol regexp formatting to
189 `find-tag-default-as-symbol-regexp'.
190
137f57c8
S
1912013-12-20 E Sabof <esabof@gmail.com> (tiny change)
192
193 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
194 (Bug#14179)
195
f3a66082
SB
1962013-12-20 Stephen Berman <stephen.berman@gmx.net>
197
198 * calendar/todo-mode.el: New implementation of item insertion
199 commands and key bindings.
200 (todo-key-prompt): New face.
201 (todo-insert-item): New command.
202 (todo-insert-item--parameters): New defconst, replacing defvar
203 todo-insertion-commands-args-genlist.
204 (todo-insert-item--param-key-alist): New defconst, replacing
205 defvar todo-insertion-commands-arg-key-list.
206 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
207 (todo-insert-item--argsleft, todo-insert-item--apply-args)
208 (todo-insert-item--next-param): New functions.
209 (todo-insert-item--args, todo-insert-item--argleft)
210 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
211 New variables.
212 (todo-key-bindings-t): Change binding of "i" from
213 todo-insertion-map to todo-insert-item.
214 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
215 (todo-insertion-command-name, todo-insertion-commands-names)
216 (todo-define-insertion-command, todo-insertion-commands)
217 (todo-insertion-key-bindings, todo-insertion-map): Remove.
218
2f99433b
SB
2192013-12-20 Stephen Berman <stephen.berman@gmx.net>
220
221 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
222 (todo-toggle-item-highlighting): Use eval-and-compile instead of
223 eval-when-compile.
224 (todo-move-category): Allow choosing a non-existing todo file to
225 move the category to, and create that file.
226 (todo-default-priority): New user option.
227 (todo-set-item-priority): Use it.
228 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
229 (desktop-restore-file-buffer): Declare.
230 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
231 (todo-modes-set-2): Locally set desktop-save-buffer to
232 todo-desktop-save-buffer.
233 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
234 (auto-mode-alist): Add autoload cookie.
235
131e4695
BB
2362013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
237
238 * emacs-lisp/subr-x.el: Renamed from helpers.el.
239 helpers.el was a poor choice of name.
3cbfb935
BB
240 (string-remove-prefix): New function.
241 (string-remove-suffix): New function.
131e4695 242
c44de18d
MR
2432013-12-20 Martin Rudalics <rudalics@gmx.at>
244
245 Fix assignment for new window total sizes.
246 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
247 (window--pixel-to-total-1, window--pixel-to-total):
248 Fix calculation of new total sizes.
c44de18d 249
ca65efcc
VS
2502013-12-20 Vitalie Spinu <spinuvit@gmail.com>
251
252 * comint.el (comint-output-filter): Fix rear-nonsticky property
253 placement (Bug#16010).
254
a9574eb7
CY
2552013-12-20 Chong Yidong <cyd@gnu.org>
256
257 * faces.el (read-color): Minor fix for completion function.
258
b520f210
DG
2592013-12-20 Dmitry Gutov <dgutov@yandex.ru>
260
e0eb0550
JB
261 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
262 New option. (Bug#16182)
b520f210
DG
263 (ruby-smie--indent-to-stmt-p): Use it.
264 (ruby-smie-rules): Revert the logic in the handling of `when'.
265 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
266 (ruby-deep-arglist, ruby-deep-indent-paren)
267 (ruby-deep-indent-paren-style): Update docstrings to note that the
268 vars don't have any effect with SMIE.
269
26b75b45
JB
2702013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
271
272 * calc/calc.el (calc-enter, calc-pop): Use the variable
273 `calc-context-sensitive-enter'.
274
cf91cee7
LMI
2752013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
276
277 * net/shr.el (shr-insert): Protect against infloops in degenerate
278 tables.
279
51d971b4
RS
2802013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
281
282 * progmodes/octave.el (octave): Add link to manual and octave
283 homepage.
284 (octave-mode-menu): Link to octave-mode manual.
285
8c2e462a
LL
2862013-12-20 Leo Liu <sdl.web@gmail.com>
287
288 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
289 insertion using skeleton-end-newline. (Bug#16138)
290
501158bc
JL
2912013-12-20 Juri Linkov <juri@jurta.org>
292
293 * replace.el (occur-engine): Use `add-face-text-property'
294 to add the face property to matches and titles. (Bug#14645)
295
296 * hi-lock.el (hi-green): Use lighter color "light green" closer to
297 the palette of other hi-lock colors.
298 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
299
50ab1da6
JL
3002013-12-19 Juri Linkov <juri@jurta.org>
301
302 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
303 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
304 (minibuffer-history-symbol): Move variable declaration closer to
305 its usage.
306
307 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
308 (Bug#14785)
309
3d6e95e7
JL
3102013-12-19 Juri Linkov <juri@jurta.org>
311
312 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
313 New function.
314 (log-edit-hook): Add it to :options. (Bug#16170)
315
b41594fd
JL
3162013-12-19 Juri Linkov <juri@jurta.org>
317
318 * simple.el (eval-expression-print-format): Don't check for
319 command names and the last command. Always display additional
320 formats of the integer result in the echo area, and insert them
321 to the current buffer only with a zero prefix arg.
322 Display character when char-displayable-p is non-nil.
323 (eval-expression): With a zero prefix arg, set `print-length' and
324 `print-level' to nil, and insert the integer values from
325 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
326
327 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
328 `eval-last-sexp-arg-internal'. Doc fix.
329 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
330 `eval-last-sexp-print-value'. Doc fix.
331 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
332 Set `print-length' and `print-level' to nil when arg is zero.
333 (eval-last-sexp): Doc fix.
334 (eval-defun-2): Print the integer values from
335 `eval-expression-print-format' at the end.
336
337 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
338 values from `eval-expression-print-format' at the end.
339
340 * ielm.el (ielm-eval-input): Print the integer
341 values from `eval-expression-print-format' at the end.
342
8f2be364
TZ
3432013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
344
345 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
346 2013-12-11T19:01:44Z!tzz@lifelogs.com.
347
2230a6e3
SM
3482013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
351 (hl-line-highlight, global-hl-line-highlight): Use it.
352 (hl-line-overlay): Use defvar-local.
353
1269a680
JD
3542013-12-19 Jan Djärv <jan.h.d@swipnet.se>
355
356 * term/ns-win.el: Require dnd.
357 (global-map): Remove drag items.
358 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
359 (ns-set-background-at-mouse):
360 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
361 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
362 New functions.
1269a680 363
049638ad
GM
3642013-12-19 Glenn Morris <rgm@gnu.org>
365
366 * emacs-lisp/ert.el (ert-select-tests):
367 Fix string/symbol mixup. (Bug#16121)
368
ce41edb4
DG
3692013-12-19 Dmitry Gutov <dgutov@yandex.ru>
370
371 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
372 keywords to their parent.
373
7e1549c9
DG
3742013-12-19 Dmitry Gutov <dgutov@yandex.ru>
375
376 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
377 first arg to be a string (fixed dead code), or an operator symbol.
378 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
379 operator symbols.
380 (ruby-smie-rules): Remove parent token check in the `.' clause, it
381 did nothing. Don't respond to `(:after ".")', it will be called
382 with :before anyway. Remove the ` @ ' rule, it didn't seem to
383 change anything. Only return indentation for binary operators
384 when they are hanging. De-dent opening paren when its parent is
385 `.', otherwise it looks bad when the dot is not at bol or eol
386 (bug#16182).
387
3ee4cd64
JL
3882013-12-19 Juri Linkov <juri@jurta.org>
389
390 * replace.el (query-replace-read-args): Split a non-negative arg
391 and a negative arg into separate elements.
392 (query-replace, query-replace-regexp, replace-string)
393 (replace-regexp): Add arg `backward'. Doc fix.
394 (replace-match-maybe-edit): When new arg `backward' is non-nil,
395 move point to the beginning of the match.
396 (replace-search, replace-highlight): Use new arg `backward'
397 to set the value of `isearch-forward'.
398 (perform-replace): Add arg `backward' and use it to perform
399 replacement backward. (Bug#14979)
400
401 * isearch.el (isearch-query-replace): Use a negative prefix arg
402 to call `perform-replace' with a non-nil arg `backward'.
403
0cda6b7b
JL
4042013-12-18 Juri Linkov <juri@jurta.org>
405
406 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
407 to the default list. Move `log-edit-show-files' to the end.
408 Add more available functions to options.
409 (log-edit): Move default specific settings to
410 `log-edit-insert-message-template'. Don't move point.
411 (log-edit-insert-message-template): New function.
412 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
413 (Bug#16170)
414
b216f0a6
JL
4152013-12-18 Juri Linkov <juri@jurta.org>
416
417 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
418 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
419
1d1c55dc
LL
4202013-12-18 Leo Liu <sdl.web@gmail.com>
421
422 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
423
64e4c76e
EZ
4242013-12-18 Eli Zaretskii <eliz@gnu.org>
425
426 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
427 formats for displaying file sizes when the -s switch is given.
428 Instead, compute a separate format for displaying the size in
429 blocks, which is displayed in addition to the "regular" size.
430 When -h is given in addition to -s, produce size in blocks in
431 human-readable form as well. (Bug#16179)
432
b2984e39
TH
4332013-12-18 Tassilo Horn <tsdh@gnu.org>
434
2230a6e3
SM
435 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
436 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 437
50ff2e06
CY
4382013-12-18 Chong Yidong <cyd@gnu.org>
439
0081bc84
CY
440 * cus-edit.el (custom-magic-alist): Fix "themed" description
441 (Bug#14348).
442
a7ee9424
CY
443 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
444 is non-nil, do not create a new entry in the symbol's theme-value
445 or theme-face property; update theme-settings only (Bug#14664).
18874304 446 (custom-available-themes): Doc fix.
a7ee9424 447
8f942537
CY
448 * cus-theme.el (custom-new-theme-mode-map): Add bindings
449 (Bug#15674).
450
50ff2e06
CY
451 * replace.el (occur-engine): Avoid infloop (Bug#7593).
452
83c60f60
KI
4532013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
454
455 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
456 (Bug#13914).
457
e0eb0550 4582013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
459
460 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
461
1f41ee56
GM
4622013-12-18 Glenn Morris <rgm@gnu.org>
463
464 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 465 * cus-start.el (load-prefer-newer): New option.
1f41ee56 466
e82134b1
LW
4672013-12-18 Le Wang <l26wang@gmail.com>
468
2230a6e3
SM
469 * comint.el (comint-previous-matching-input-from-input):
470 Retain point (Bug#13404).
e82134b1 471
33f5d4c1
CY
4722013-12-18 Chong Yidong <cyd@gnu.org>
473
474 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
475
ccc9f6dc
GM
4762013-12-18 Glenn Morris <rgm@gnu.org>
477
478 * mail/emacsbug.el (report-emacs-bug):
479 Only mention enable-multibyte-characters if non-standard.
480
33dd8e95
JL
4812013-12-17 Juri Linkov <juri@jurta.org>
482
483 * arc-mode.el (archive-extract-by-file): Check if directory exists
484 before deletion to not show irrelevant errors if it doesn't exist.
485
7a409b30
JL
4862013-12-17 Juri Linkov <juri@jurta.org>
487
488 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
489 (Bug#14751)
490
491 * net/eww.el (browse-web): Add alias to `eww'.
492 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
493 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
494
495 * net/browse-url.el (browse-url-browser-function): Move `eww'
496 closer to similar functions.
497
498 * startup.el (fancy-startup-screen, fancy-about-screen):
499 Set browse-url-browser-function to eww-browse-url locally.
500 (Bug#14751)
501
2d6b6005
SM
5022013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
503
504 * window.el (window--pixel-to-total): Remove unused `mini' var.
505 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
506 (split-window): Remove unused `new' var.
507 (window--display-buffer): Remove unused `frame' and `delta' vars.
508 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
509 and display-width'.
510
cf2b7efc
MR
5112013-12-17 Martin Rudalics <rudalics@gmx.at>
512
513 * dired.el (dired-mark-pop-up):
514 * register.el (register-preview): Don't bind
515 split-height-threshold here since it's now done in
516 display-buffer-below-selected.
517
ed3af8a7 5182013-12-17 oblique <psyberbits@gmail.com> (tiny change)
519
520 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
521 xterm-rgb-convert-to-16bit.
522 (rxvt-register-default-colors): Standardize with
523 xterm-register-default-colors (Bug#14078).
524
76da3455
DK
5252013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
526
527 * simple.el (kill-region): Pass mark first, then point, so that
528 kill-append works right (Bug#12819).
529 (copy-region-as-kill, kill-ring-save): Likewise.
530
2b84d763
LL
5312013-12-17 Leo Liu <sdl.web@gmail.com>
532
533 * net/rcirc.el (rcirc-add-face):
534 * eshell/em-prompt.el (eshell-emit-prompt):
535 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
536 (Bug#16167)
537
e2f6a0bc
CY
5382013-12-17 Chong Yidong <cyd@gnu.org>
539
540 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
541 Suggested by Xue Fuqiao.
542
35b249a6
DG
5432013-12-17 Dmitry Gutov <dgutov@yandex.ru>
544
545 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
546
e9145444
SM
5472013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * net/shr.el (shr-insert-document): Remove unused var
550 `shr-preliminary-table-render'.
551 (shr-rescale-image): Remove unused arg `force'.
552 (shr-put-image): Update calls accordingly.
553 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
554
5556c0ce
DG
5552013-12-17 Dmitry Gutov <dgutov@yandex.ru>
556
557 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
558 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
559 :close-all, to see which indentation method to use (Bug#16116).
560 (smie-rules-function): Document the method :close-all.
561
11bade0a
LMI
5622013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
563
1c4b1e61
LMI
564 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
565
11bade0a
LMI
566 * net/eww.el (eww-display-html): If we can't find the anchor we're
567 looking for, then go to point-min.
568
8fb8c4f3
PE
5692013-12-16 Paul Eggert <eggert@cs.ucla.edu>
570
571 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
572 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
573 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
574 Expand dir too, in case it's relative.
575
6c8e0ae6
JL
5762013-12-16 Juri Linkov <juri@jurta.org>
577
578 * desktop.el (desktop-auto-save-timeout): Change default to
579 `auto-save-timeout'. Doc fix.
580 (desktop-save): Skip the timestamp in desktop-saved-frameset
581 when checking for auto-save changes.
582 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
583 `desktop-auto-save' is called repeatedly by the idle timer.
584 (desktop-auto-save-set-timer): Replace `run-with-timer' with
585 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
586 (Bug#15331)
587
2178e858
JL
5882013-12-16 Juri Linkov <juri@jurta.org>
589
590 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
591 (Bug#16035)
592 (isearch-pre-command-hook): Check `this-command' for symbolp.
593
39cb42c6
SM
5942013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
597
5b9b750a
TZ
5982013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
599
600 * progmodes/cfengine.el (cfengine3--current-word): Remove.
601 (cfengine3--current-function): Bring in the current-function
602 functionality from `cfengine3--current-word'.
603 (cfengine3-completion-function): Bring in the
604 bounds-of-current-word functionality from
605 `cfengine3--current-word'.
606
d144ef06
MR
6072013-12-16 Martin Rudalics <rudalics@gmx.at>
608
39cb42c6
SM
609 * window.el (display-buffer-below-selected):
610 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 611
a8bbe298
LL
6122013-12-16 Leo Liu <sdl.web@gmail.com>
613
614 * progmodes/compile.el (compile-goto-error): Do not push-mark.
615 Remove NOMSG arg and all uses changed.
616
2013a2f9
SM
6172013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
618
619 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
620 (cua--deactivate-rectangle): Don't deactivate the mark.
621 (cua-set-rectangle-mark): Don't set mark-active since
622 cua--activate-rectangle already does it for us.
623 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
624 non-rectangular region.
625
626 * emulation/cua-base.el (cua-repeat-replace-region):
627 Use with-current-buffer.
628
629 * net/gnutls.el: Use cl-lib.
630 (gnutls-negotiate): `mapcan' -> cl-mapcan.
631
5ae811dd
TZ
6322013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
633
634 * emacs-lisp/package.el (package-built-in-p): Support both
635 built-in and the package.el converted package descriptions.
636 (package-show-package-list): Allow keywords.
637 (package-keyword-button-action): Use it instead of
638 `finder-list-matches'.
639 (package-menu-filter-interactive): Interactive filtering (by
640 keyword) function.
641 (package-menu--generate): Support keywords and change keymappings
642 and headers when they are given.
643 (package--has-keyword-p): Helper function.
644 (package-menu--refresh): Use it.
645 (package--mapc): Helper function.
646 (package-all-keywords): Use it.
647 (package-menu-mode-map): Set up menu items and keybindings to
648 provide a filtering UI.
649
31b4827e
TZ
6502013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
651
652 * net/gnutls.el (gnutls-verify-error): New defcustom to control
653 the behavior when a certificate fails validation. Defaults to
654 old behavior: never abort, just warn.
655 (gnutls-negotiate): Use it.
656
f93cc74f
MR
6572013-12-14 Martin Rudalics <rudalics@gmx.at>
658
659 * window.el (display-buffer-below-selected): Never split window
660 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
661
f77d7d17
TW
6622013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
663
664 * emacs-lisp/package.el (package--prepare-dependencies): New function.
665 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
666
667 * icomplete.el (icomplete-completions): Make sure the prefix is already
668 displayed elsewhere before hiding it.
669
276bc333
DG
6702013-12-14 Dmitry Gutov <dgutov@yandex.ru>
671
672 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
673 open-paren tokens when preceded by a open-paren, too.
674 (ruby-smie-rules): Handle virtual indentation after open-paren
675 tokens specially. If there is code between it and eol, return the
676 column where is starts (Bug#16118).
677
d43957f3
TZ
6782013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
679
a5c1ac0c 680 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 681 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
682 (cfengine3--current-word): Fix parameters.
683 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
684 (cfengine3-completion-function, cfengine3--current-function):
685 Use `assq' for symbols.
d43957f3
TZ
686 (cfengine3--current-function): Fix `cfengine3--current-word' call.
687
06a4f110
GM
6882013-12-13 Glenn Morris <rgm@gnu.org>
689
690 * loadup.el (load-path): Warn if site-load or site-init changes it.
691 No more need to reset it when bootstrapping.
692
978a5fda
TZ
6932013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
694
695 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
696 locations for cf-promises.
697 (cfengine-mode-syntax-functions-regex): New caching variable.
698 (cfengine3-fallback-syntax): Fallback syntax for cases where
699 cf-promises doesn't run.
700 (cfengine3--current-word): Reimplement using
701 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
702 (cfengine3-completion-function, cfengine3--current-function):
703 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
704 (cfengine3-clear-syntax-cache): New function.
705 (cfengine3-make-syntax-cache): Simplify and create
706 `cfengine-mode-syntax-functions-regex' on demand.
707 (cfengine3-format-function-docstring): Don't call
708 `cfengine3-make-syntax-cache' explicitly.
709
71e6691e
MR
7102013-12-13 Martin Rudalics <rudalics@gmx.at>
711
712 Fix windmove-find-other-window broken after pixelwise resizing
713 (Bug#16017).
714 * windmove.el (windmove-other-window-loc): Revert change from
715 2013-12-04.
716 (windmove-find-other-window): Call window-in-direction.
717 * window.el (window-in-direction): New arguments SIGN, WRAP and
718 MINI to emulate original windmove-find-other-window behavior.
719
84c73ba0
DG
7202013-12-13 Dmitry Gutov <dgutov@yandex.ru>
721
722 * simple.el (blink-matching--overlay): New variable.
723 (blink-matching-open): Instead of moving point, highlight the
724 matching paren with an overlay
725 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
726
727 * faces.el (paren-showing-faces, show-paren-match)
728 (show-paren-mismatch): Move from paren.el.
729
b9e20952
LL
7302013-12-13 Leo Liu <sdl.web@gmail.com>
731
732 * indent.el (indent-region): Disable progress reporter in
733 minibuffer. (Bug#16108)
734
735 * bindings.el (visual-order-cursor-movement): Fix version.
736
ce030451
FEG
7372013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
738
739 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
740 Also match after beginning of line.
741 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
742 files. Thanks to Russell Sim. (Bug#15378)
743
4a9c6865
JL
7442013-12-13 Juri Linkov <juri@jurta.org>
745
746 * simple.el <Keypad support>: Remove key bindings duplicated
747 with bindings.el. (Bug#14397)
748
2bc170c3
JL
7492013-12-13 Juri Linkov <juri@jurta.org>
750
751 * comint.el (comint-mode-map): Replace `delete-char' with
752 `delete-forward-char'. (Bug#16109)
753
bc9222c9
FEG
7542013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
755
aa2bddd7
SM
756 * progmodes/python.el (python-indent-calculate-indentation):
757 Fix de-denters cornercase. (Bug#15731)
bc9222c9 758
cb3a1380
SM
7592013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
762 (advice--make): Pay attention to `depth'.
763 (advice--make-1): Don't autoload commands eagerly.
764 * emacs-lisp/elp.el (elp-instrument-function):
765 * emacs-lisp/trace.el (trace-function-internal):
766 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
767
768 * iswitchb.el (iswitchb-mode): Don't belittle ido.
769
01633a17
EZ
7702013-12-12 Eli Zaretskii <eliz@gnu.org>
771
772 * term/w32-win.el (w32-handle-dropped-file):
773 * startup.el (normal-top-level):
774 * net/browse-url.el (browse-url-file-url):
775 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
776 decode file names using 'utf-8' rather than
777 file-name-coding-system.
778
09faee72
FEG
7792013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
780
781 * progmodes/python.el (python-indent-context)
782 (python-indent-calculate-indentation): Fix auto-identation
783 behavior for comment blocks. (Bug#15916)
784
f4f84024 7852013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 786
cb3a1380
SM
787 * progmodes/python.el (python-indent-calculate-indentation):
788 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
789 operators when they are just string constituents. (Bug#15812)
790
d5ccb7be
JL
7912013-12-12 Juri Linkov <juri@jurta.org>
792
793 * uniquify.el (uniquify-buffer-name-style): Change default to
794 `post-forward-angle-brackets'.
795
796 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
797 `uniquify'. Change default to `post-forward-angle-brackets'.
798
7b3f5679
GM
7992013-12-11 Glenn Morris <rgm@gnu.org>
800
801 * emacs-lisp/package.el (finder-list-matches):
802 Autoload rather than falsely declaring.
803
f4fe8fdd
TZ
8042013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
805
806 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
807 (eww-mode-map): Use them.
808
3c29190f
MR
8092013-12-11 Martin Rudalics <rudalics@gmx.at>
810
811 * window.el (display-buffer-in-side-window): Fix doc-string
812 (Bug#16115).
813
0cd616a2
JB
8142013-12-11 Juanma Barranquero <lekktu@gmail.com>
815
816 * vc/vc-git.el: Silence byte-compiler warnings.
817 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
818 (log-edit-set-header): Declare.
819
3ef8e0d1
EZ
8202013-12-11 Eli Zaretskii <eliz@gnu.org>
821
822 * Makefile.in (custom-deps, finder-data): Run output file names
823 through unmsys--file-name. (Bug#16099)
824
afdadaf7
SM
8252013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
826
7ae3ae39 827 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 828 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 829
5b4f37ab
SM
830 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
831 instead of deleting the selection "by hand" (bug#16098).
832 Rely on insert-for-yank to yank rectangles.
833 (cua-highlight-region-shift-only): Mark obsolete.
834 (cua-mode): Don't enable/disable transient-mark-mode,
835 shift-select-mode (cua-mode works both with and without them), and
836 pc-selection-mode (obsolete).
837 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
838 (cua--deactivate-rectangle): Deactivate it.
839
4b72c12b
SM
840 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
841 (delete-selection-helper): Make sure yank starts at the top of the
842 deleted region.
843 (minibuffer-keyboard-quit): Use region-active-p.
844
e82af72d
SM
845 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
846
afdadaf7
SM
847 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
848 to `delete' (bug#16109).
849
ed4bc201
RS
8502013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
851
852 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
853 info manual and show keybindings and set `:group' keyword.
854
bb8097b9
JL
8552013-12-11 Juri Linkov <juri@jurta.org>
856
857 * delsel.el (delete-active-region): Let-bind `this-command'
858 to prevent `kill-region' from changing its original value.
859 (delete-selection-helper): Handle `overwrite-mode' for the type
860 `kill' exactly the same way as for the type `t'.
861 (insert-char, quoted-insert, reindent-then-newline-and-indent):
862 Support more commands. (Bug#13312)
863
c1916ff5
JL
8642013-12-11 Juri Linkov <juri@jurta.org>
865
866 * bindings.el: Map kp keys to non-kp keys systematically
867 with basic modifiers control, meta and shift. (Bug#14397)
868
e0eb0550 8692013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
b68cf43c
KN
870
871 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
872 "Close browser" menu items. Fix wrong function of "List
873 bookmarks".
874
4cc51eaf
JL
8752013-12-11 Juri Linkov <juri@jurta.org>
876
877 * misearch.el (multi-isearch-buffers): Set the value of
878 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
879 arg of isearch-forward to t.
880 (multi-isearch-buffers-regexp): Set the value of
881 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
882 arg of isearch-forward-regexp to t.
883 (multi-isearch-files): Set the value of
884 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
885 arg of isearch-forward to t.
886 (multi-isearch-files-regexp): Set the value of
887 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
888 arg of isearch-forward-regexp to t. (Bug#16035)
889
890 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
891 arg of isearch-forward to t.
892 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
893 arg of isearch-forward-regexp to t.
894 (dired-isearch-filter-filenames): Remove unnecessary check for
895 `dired-isearch-filenames'.
896
897 * comint.el (comint-history-isearch-backward):
898 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
899 (comint-history-isearch-backward-regexp):
900 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
901
ceac12b7
EZ
9022013-12-10 Eli Zaretskii <eliz@gnu.org>
903
904 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
905 unmsys--file-name. (Bug#16099)
906
5a565782
TZ
9072013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
908
cb3a1380
SM
909 * emacs-lisp/package.el (package-keyword-button-action):
910 Remove finder.el require dependency.
5a565782 911
a81fc7ba
TZ
9122013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
913
914 * emacs-lisp/package.el: Require finder.el.
915 (describe-package-1): Add keyword buttons.
916 (package-make-button): New convenience function.
917 (package-keyword-button-action): Keyword button action using
e0eb0550 918 `finder-list-matches'.
a81fc7ba 919
6aaca951
EZ
9202013-12-09 Eli Zaretskii <eliz@gnu.org>
921
922 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
923 last commit.
924
a1099a91
MA
9252013-12-09 Michael Albinus <michael.albinus@gmx.de>
926
927 * autorevert.el (auto-revert-notify-add-watch): Do not handle
928 symlinked files.
929
8212d9c0
DG
9302013-12-09 Dmitry Gutov <dgutov@yandex.ru>
931
932 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
933 after the end of a percent literal.
934
8f48d131
CD
9352013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
936
cb3a1380
SM
937 * progmodes/ruby-mode.el (ruby-forward-string): Document.
938 Handle caret-delimited strings (Bug#16079).
8f48d131 939
ff8c9764
DG
9402013-12-09 Dmitry Gutov <dgutov@yandex.ru>
941
cb3a1380
SM
942 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
943 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
944 `ruby-parse-partial' (Bug#16078).
945
d64643b4
LL
9462013-12-09 Leo Liu <sdl.web@gmail.com>
947
948 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
949
47e59c66
DG
9502013-12-08 Dmitry Gutov <dgutov@yandex.ru>
951
952 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
953 (js-switch-indent-offset): New option.
954 (js--proper-indentation): Use it. And handle the case when
955 "default" is actually a key in an object literal.
956 (js--same-line): New function.
957 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
958 (js--indent-in-array-comp, js--array-comp-indentation):
959 New functions.
47e59c66
DG
960 (js--proper-indentation): Use them, to handle array comprehension
961 continuations.
962
974ebc9c
LL
9632013-12-08 Leo Liu <sdl.web@gmail.com>
964
965 * progmodes/flymake.el (flymake-highlight-line): Re-write.
966 (flymake-make-overlay): Remove arg MOUSE-FACE.
967 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
968
27262e39
SM
9692013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
970
971 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
972 New function.
973 (redisplay-highlight-region-function): Use it.
974
975 * emulation/cua-base.el (cua--explicit-region-start)
976 (cua--last-region-shifted): Remove.
977 (cua--deactivate): Use deactivate-mark.
978 (cua--pre-command-handler-1): Don't handle shift-selection.
979 (cua--post-command-handler-1): Don't change transient-mark-mode.
980 (cua--select-keymaps): Use region-active-p rather than
981 cua--explicit-region-start or cua--last-region-shifted.
982 (cua-mode): Enable shift-select-mode.
983
6407822c
LL
9842013-12-08 Leo Liu <sdl.web@gmail.com>
985
27262e39
SM
986 * progmodes/flymake.el (flymake-popup-current-error-menu):
987 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
988 (flymake-posn-at-point-as-event, flymake-popup-menu)
989 (flymake-make-emacs-menu): Remove. (Bug#16077)
990
00a2b823
SM
9912013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
992
02033d49
SM
993 * rect.el (rectangle-mark-mode): Activate mark even if
994 transient-mark-mode is off (bug#16066).
995 (rectangle--highlight-for-redisplay): Fix boundary condition when point
996 is > mark and at bolp.
997
6f8dfccf
SM
998 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
999 (region-extract-function): Use it.
1000 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1001 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1002 Delete functions.
1003 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1004 kill-ring-save, kill-region, delete-char, delete-forward-char.
1005 Ignore self-insert-iso.
1006
1007 * emulation/cua-gmrk.el (cua--init-global-mark):
1008 Ignore `self-insert-iso'.
1009
1010 * emulation/cua-base.el (cua--prefix-copy-handler)
1011 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1012 checking cua--rectangle.
1013 (cua-delete-region): Use region-extract-function.
1014 (cua-replace-region): Delete function.
1015 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1016 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1017 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1018 (cua--init-keymaps): Don't remap delete-selection commands.
1019 (cua-mode): Use delete-selection-mode instead of rolling our own
1020 (bug#16085).
1021
1022 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1023 Obey region-extract-function.
1024
00a2b823
SM
1025 Make registers and delete-selection-mode work on rectangles.
1026 * register.el (describe-register-1): Don't modify the register's value.
1027 (copy-to-register): Obey region-extract-function.
1028 * delsel.el (delete-active-region): Obey region-extract-function.
1029
a92fa5f1
LL
10302013-12-08 Leo Liu <sdl.web@gmail.com>
1031
1032 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1033 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1034 (flymake-compilation-prevents-syntax-check)
1035 (flymake-start-syntax-check-on-newline)
1036 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1037 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1038 (flymake-xml-program, flymake-master-file-dirs)
1039 (flymake-master-file-count-limit)
1040 (flymake-allowed-file-name-masks): Relocate.
1041 (flymake-makehash, flymake-float-time)
1042 (flymake-replace-regexp-in-string, flymake-split-string)
1043 (flymake-get-temp-dir): Remove.
1044 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1045 (flymake-current-row, flymake-selected-frame)
1046 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1047 related functions. (Bug#16077)
1048
73c8ceea
BB
10492013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1050
1051 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1052
faec28d9
TH
10532013-12-07 Tassilo Horn <tsdh@gnu.org>
1054
1055 * help-fns.el (describe-function-1): Use new advice-* functions
1056 rather than old ad-* functions. Fix function type description and
1057 source links for advised functions and subrs.
1058
e330b646
LMI
10592013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1060
00a2b823 1061 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1062
4803595d
MA
10632013-12-06 Michael Albinus <michael.albinus@gmx.de>
1064
1065 * progmodes/compile.el (compilation-start):
1066 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1067
1068 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1069 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1070
fa834a93
DG
10712013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1072
00a2b823
SM
1073 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1074 Touch up the last change.
fa834a93 1075
b2856a6f
LL
10762013-12-06 Leo Liu <sdl.web@gmail.com>
1077
1078 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1079 (inferior-octave-startup): Always use "octave> " for prompt.
1080 (octave-goto-function-definition)
1081 (octave-sync-function-file-names)
1082 (octave-find-definition-default-filename): Remove redundant backquotes.
1083
af67e79a
DG
10842013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1085
1086 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1087 syntax for `?'.
1088 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1089 where appropriate already.
1090 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1091 end of method names (Bug#15874).
1092
bf093209
JL
10932013-12-06 Juri Linkov <juri@jurta.org>
1094
1095 * isearch.el (isearch--saved-overriding-local-map):
1096 New internal variable.
1097 (isearch-mode): Set it to the initial value of
1098 `overriding-terminal-local-map'.
1099 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1100 with `isearch--saved-overriding-local-map'. (Bug#16035)
1101
16588fad
DG
11022013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1103
00a2b823
SM
1104 * progmodes/octave.el (inferior-octave-completion-table):
1105 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1106 (Bug#11906). Update all references.
1107
1108 * minibuffer.el (completion-table-with-cache): New function.
1109
bf4906d7
CD
11102013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1111
1112 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1113
ff69c18f
TZ
11142013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1115
1116 * net/eww.el (eww-current-source): New variable to store page
1117 source.
1118 (eww-display-html, eww-mode, eww-save-history)
1119 (eww-restore-history): Use it.
1120 (eww-view-source): New command to view page source.
1121 Opportunistically uses `html-mode' to highlight the buffer.
1122 (eww-mode-map): Install it.
1123
b85eff45
MA
11242013-12-05 Michael Albinus <michael.albinus@gmx.de>
1125
1126 * net/dbus.el (dbus-unregister-service)
1127 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1128 Fix docstring.
1129 (dbus-unregister-service): Skip :serial entries in
1130 `dbus-registered-objects-table'.
1131 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1132
39eb0899
TZ
11332013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1134
1135 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1136 around keywords with extra `split-string' argument.
1137
456760a5
MR
11382013-12-04 Martin Rudalics <rudalics@gmx.at>
1139
1140 * windmove.el (windmove-other-window-loc): Handle navigation
1141 between windows (excluding the minibuffer window - Bug#16017).
1142
81961e4c
MA
11432013-12-04 Michael Albinus <michael.albinus@gmx.de>
1144
1145 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1146 in D-Bus type syntax.
1147 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1148 preserve unibyte strings. (Bug#16048)
1149
8497f938
SM
11502013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1151
1152 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1153 Call force-mode-line-update is the proper buffer (bug#16042).
1154
dda61916
DG
11552013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1156
1157 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1158 `log-edit-remember-comment', make argument optional. Adjust all
1159 callers.
1160 (log-edit-mode): Add `log-edit-remember-comment' to
1161 `kill-buffer-hook' locally.
1162 (log-edit-kill-buffer): Don't remember comment explicitly since
1163 the buffer is killed anyway.
1164
c085e5b9
JL
11652013-12-04 Juri Linkov <juri@jurta.org>
1166
1167 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1168 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1169
e0eb0550 11702013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1171
1172 * notifications.el (notifications-close-notification): Call the
81961e4c 1173 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1174
39fa32d6
KY
11752013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1176
1177 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1178
9139632a
JL
11792013-12-03 Juri Linkov <juri@jurta.org>
1180
1181 * progmodes/compile.el (compilation-start): Rename window alist
1182 entry `no-display-ok' to `allow-no-window'.
1183
1184 * simple.el (shell-command): Add window alist entry
1185 `allow-no-window' to `display-buffer'.
1186 (async-shell-command): Doc fix.
1187
1188 * window.el (display-buffer-no-window): New action function.
1189 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1190
0f457a37
DG
11912013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1192
1193 * vc/log-edit.el (log-edit-set-header): Extract from
1194 `log-edit-toggle-header'.
1195 (log-edit-extract-headers): Separate the summary, when extracted
1196 from header, from the rest of the message with an empty line.
1197
1198 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1199 line, if present, to the Summary header.
1200
0962f376
SM
12012013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1204 in current-buffer (bug#16029).
1205
f345395c
HE
12062013-12-02 Helmut Eller <eller.helmut@gmail.com>
1207
1208 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1209 (debugger-mode-map): Bind it.
1210 (debugger--backtrace-base): New function.
1211 (debugger-eval-expression): Use it.
1212 (debugger-frame-number): Skip local vars when present.
1213 (debugger--locals-visible-p, debugger--insert-locals)
1214 (debugger--show-locals, debugger--hide-locals): New functions.
1215
a8a15d9d
MA
12162013-12-02 Michael Albinus <michael.albinus@gmx.de>
1217
1218 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1219 "LC_ALL".
1220 (tramp-get-remote-locale): New defun.
1221 (tramp-open-connection-setup-interactive-shell): Use it.
1222
0518b057
LL
12232013-12-02 Leo Liu <sdl.web@gmail.com>
1224
1225 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1226
1227 * progmodes/sh-script.el (sh-shell-process):
1228 * progmodes/octave.el (inferior-octave-process-live-p):
1229 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1230 (gdb-inferior-io-sentinel):
1231 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1232
3adc9c6d
DG
12332013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1234
1235 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1236 `save-selected-window' to `log-edit-hide-buf'. This makes
1237 `log-edit-show-files' idempotent.
1238 (log-edit-show-files): Mark the new window as dedicated.
1239
47e8b74e
DG
12402013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1241
1242 * vc/log-edit.el (log-edit-mode-map): Add binding for
1243 `log-edit-kill-biffer'.
1244 (log-edit-hide-buf): Add a FIXME comment.
1245 (log-edit-add-new-comment): New function, extracted from
1246 `log-edit-done'.
1247 (log-edit-done, log-edit-add-to-changelog): Use it.
1248 (log-edit-kill-buffer): New command.
1249
1f6e1bb0
LMI
12502013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1251
1252 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1253 instead of killing the buffer.
1254
fb651d15
SM
12552013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1258
8feacce0
RS
12592013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1260
fb651d15 1261 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1262 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1263 (eww-form-checkbox, eww-toggle-checkbox):
1264 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1265
e0eb0550 1266 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1267 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1268 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1269 no :src tag was specified.
1270
fb651d15 1271 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1272 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1273 Use \\` to match beginning of string instead of ^.
1274 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1275 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1276
177948a5
RS
1277 * net/shr.el (shr-tag-video): Display content for video if no
1278 poster is available.
eb2dd24d 1279 (shr-tag-audio): Add support for <audio> tag.
177948a5 1280
e0eb0550 1281 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1282 (eww-process-text-input): Treat input types in
1283 `eww-text-input-types' as text.
1284
8feacce0
RS
1285 * net/shr.el (shr-tag-table): Fix comment typo.
1286
513562a1
LMI
12872013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1288
1289 * net/eww.el (eww-follow-link): New command to avoid reloading
1290 pages when we follow #target links (bug#15243).
de8a5633 1291 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1292
9dd99753
KN
12932013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1294
1295 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1296 forms.
1297
3e9876de
LMI
12982013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1299
1300 * net/eww.el (eww-restore-history): Update the window title after
1301 moving in the history.
ab6dea82 1302 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1303
52789f7f
DG
13042013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1305
1306 * vc/log-edit.el (log-edit-mode-map): Add binding for
1307 `log-edit-beginning-of-line'.
1308 (log-edit-setup-add-author): New user option.
1309 (log-edit-beginning-of-line): New command.
1310 (log-edit): Move major mode call above the contents setup so that
1311 the local variable values are already applied.
1312 (log-edit): Only insert "Author: " when
1313 `log-edit-setup-add-author' is non-nil.
1314 (log-edit): When SETUP is non-nil, position point after ": "
1315 instead of point-min.
1316
2e6710c3
GM
13172013-12-01 Glenn Morris <rgm@gnu.org>
1318
1319 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1320
fadec31f
EZ
13212013-11-30 Eli Zaretskii <eliz@gnu.org>
1322
1323 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1324 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1325 visible. (Bug#16014)
1326
10634b40 13272013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1328
1329 Support resizing frames and windows pixelwise.
1330 * cus-start.el (frame-resize-pixelwise)
1331 (window-resize-pixelwise): New entries.
1332 * emacs-lisp/debug.el (debug): Use window-total-height instead
1333 of window-total-size.
1334 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1335 * help.el (describe-bindings-internal): Call help-buffer
1336 (temp-buffer-max-width): New option.
1337 (resize-temp-buffer-window, help-window-setup)
1338 (with-help-window): Rewrite.
1339 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1340 dragging dividers.
1341 * window.el (frame-char-size, window-min-pixel-height)
1342 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1343 (window-min-pixel-width, window-safe-min-pixel-size)
1344 (window-combination-p, window-safe-min-size)
1345 (window-resizable-p, window--size-to-pixel)
1346 (window--pixel-to-size, window--resize-apply-p): New functions.
1347 (window-safe-min-height): Fix doc-string.
1348 (window-size, window-min-size, window--min-size-1)
1349 (window-sizable, window-sizable-p, window--min-delta-1)
1350 (window-min-delta, window--max-delta-1, window-max-delta)
1351 (window--resizable, window--resizable-p, window-resizable)
1352 (window-full-height-p, window-full-width-p, window-at-side-p)
1353 (window--in-direction-2, window-in-direction)
1354 (window--resize-reset-1, window--resize-mini-window)
1355 (window-resize, window-resize-no-error)
1356 (window--resize-child-windows-normal)
1357 (window--resize-child-windows, window--resize-siblings)
1358 (window--resize-this-window, window--resize-root-window)
1359 (window--resize-root-window-vertically)
1360 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1361 (maximize-window, minimize-window, delete-window)
1362 (quit-restore-window, window-split-min-size, split-window)
1363 (balance-windows-2, balance-windows)
1364 (balance-windows-area-adjust, balance-windows-area)
1365 (window--state-get-1, window-state-get, window--state-put-1)
1366 (window--state-put-2, window-state-put)
fb651d15
SM
1367 (display-buffer-record-window, window--display-buffer):
1368 Make functions handle pixelwise sizing of windows.
880e6158 1369 (display-buffer--action-function-custom-type)
fb651d15
SM
1370 (display-buffer-fallback-action):
1371 Add display-buffer-in-previous-window.
880e6158
MR
1372 (display-buffer-use-some-window): Resize window to height it had
1373 before.
1374 (fit-window-to-buffer-horizontally): New option.
1375 (fit-frame-to-buffer): Describe new values.
1376 (fit-frame-to-buffer-bottom-margin): Replace with
1377 fit-frame-to-buffer-margins.
1378 (window--sanitize-margin): New function.
1379 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1380 using window-text-pixel-size.
1381
f9b697dd
GM
13822013-11-30 Glenn Morris <rgm@gnu.org>
1383
3e2fb4db
GM
1384 * emacs-lisp/bytecomp.el (byte-compile-form):
1385 Make the `interactive-only' warning like the `obsolete' one.
1386 * comint.el (comint-run):
1387 * files.el (insert-file-literally, insert-file):
1388 * replace.el (replace-string, replace-regexp):
1389 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1390 (goto-line, insert-buffer, next-line, previous-line):
1391 Tweak `interactive-only' spec.
1392
f9b697dd
GM
1393 Stop keeping (most) generated cedet grammar files in the repository.
1394 * Makefile.in (semantic): New.
1395 (compile-main): Depend on semantic.
1396
da048127
SM
13972013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1398
7784b779
SM
1399 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1400 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1401
4e36a6a6
SM
1402 * uniquify.el (uniquify-buffer-name-style): Change default.
1403
1404 * loadup.el: Preload "uniquify".
1405
e0ba1308
SM
1406 * time.el (display-time-update): Update all mode lines (bug#15999).
1407
da048127
SM
1408 * electric.el (electric-indent-mode): Enable by default.
1409 * loadup.el: Preload "electric".
1410
015b3b3e
BB
14112013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1412
1413 * emacs-lisp/helpers.el (string-empty-p): New function.
1414 (string-blank-p): New function.
1415
7efb806d
AP
14162013-11-29 Andreas Politz <politza@hochschule-trier.de>
1417
1418 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1419 (Bug#14029).
1420
c8f0efc2
AP
14212013-11-29 Andreas Politz <politza@fh-trier.de>
1422 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1423 allow non-lambda lists as functions.
1424 (imenu--in-alist): Don't recurse into non-subalists.
1425 (imenu): Don't pass function itself as an argument (Bug#14029).
1426
bd15d9d1
SM
14272013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * progmodes/python.el (python-mode-map): Remove binding for ":".
1430 (python-indent-electric-colon): Remove command.
1431 (python-indent-post-self-insert-function): Integrate the previous code
1432 of python-indent-electric-colon. Make it conditional on
1433 electric-indent-mode.
1434 (python-mode): Add ?: to electric-indent-chars.
1435 Move python-indent-post-self-insert-function to the end of
1436 post-self-insert-hook.
1437
1b10adb6
SM
14382013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1439
655ab9a3
SM
1440 * doc-view.el (doc-view-goto-page): Update mode-line.
1441
1b10adb6
SM
1442 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1443
7e3bf78c
GM
14442013-11-27 Glenn Morris <rgm@gnu.org>
1445
1446 * international/charprop.el, international/uni-bidi.el:
1447 * international/uni-category.el, international/uni-combining.el:
1448 * international/uni-comment.el, international/uni-decimal.el:
1449 * international/uni-decomposition.el, international/uni-digit.el:
1450 * international/uni-lowercase.el, international/uni-mirrored.el:
1451 * international/uni-name.el, international/uni-numeric.el:
1452 * international/uni-old-name.el, international/uni-titlecase.el:
1453 * international/uni-uppercase.el:
1454 Remove generated files from VCS repository.
1455
fb6a5d68
EZ
14562013-11-27 Eli Zaretskii <eliz@gnu.org>
1457
1458 * filenotify.el (file-notify-add-watch): Don't special-case
1459 w32notify when computing the directory to watch.
1460
cb6c95a3
GM
14612013-11-27 Glenn Morris <rgm@gnu.org>
1462
20372d0c
GM
1463 Make bootstrap without generated uni-*.el files possible again.
1464 * loadup.el: Update command-line-args checking for unidata-gen.
1465 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1466 * composite.el, international/characters.el:
1467 Handle unicode tables being undefined.
1468
52d6635f 1469 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1470 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1471 (compile-main): Depend on leim rule.
1472 (leim): New rule.
1473 * loadup.el: Move leim-list.el to leim/ subdirectory.
1474 * startup.el (normal-top-level): No more leim directory.
1475 * international/ja-dic-cnv.el (skkdic-convert):
1476 Disable version-control and autoloads in output files.
1477 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1478 Disable version-control and autoloads in output files.
1479 * leim/quail: Move here from ../leim.
1480 * leim/quail/hangul.el (hangul-input-method-activate):
1481 Add autoload cookie.
1482 (generated-autoload-load-name): Set file-local value.
1483 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1484 (generated-autoload-load-name): Set file-local value.
1485
0449d6cd 14862013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee 1487
e0eb0550
JB
1488 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1489 (eww-add-bookmark): Ask confirmation when add to bookmarks
1490 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1491
0e2c793f
EZ
14922013-11-26 Eli Zaretskii <eliz@gnu.org>
1493
1494 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1495 reading output from Diff on MS-Windows and MS-DOS.
1496
447bdcb8
BB
14972013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1498
1499 * emacs-lisp/helpers.el (string-reverse): New function.
1500
5fbf6856
MA
15012013-11-26 Michael Albinus <michael.albinus@gmx.de>
1502
1503 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1504 names on MS Windows, like "/[::1]:".
1505
1506 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1507 SWITCHES.
1508
624780f0
GM
15092013-11-26 Glenn Morris <rgm@gnu.org>
1510
0bf3f0fa
GM
1511 * progmodes/python.el (python-indent-guess-indent-offset):
1512 Avoid corner-case error. (Bug#15975)
1513
624780f0
GM
1514 Preload leim-list.el. (Bug#4789)
1515 * loadup.el: Load leim-list.el when found.
1516 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1517
4301875e 15182013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1519
1520 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1521
4301875e
BB
1522 * emacs-lisp/helpers.el (string-join): New function.
1523
1633a815 15242013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1525
1526 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1527 Mark as obsolete and replace it with a symbol property.
1528 (byte-compile-form): Use new 'interactive-only property.
1529 * comint.el, files.el, replace.el, simple.el:
1530 Apply new 'interactive-only properly.
1531
00139435
MR
15322013-11-25 Martin Rudalics <rudalics@gmx.at>
1533
1534 * window.el (display-buffer-at-bottom): Make sure that
1535 split-window-sensibly creates the new window on bottom
1536 (Bug#15961).
1537
5f5b128d
DK
15382013-11-23 David Kastrup <dak@gnu.org>
1539
1540 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1541 on the conflict markers when available.
1542 (smerge--get-marker): New function.
1543 (smerge-end-re, smerge-base-re): Add subgroup.
1544
623891e5
SM
15452013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1546
1547 * frame.el (handle-focus-in, handle-focus-out): Add missing
1548 interactive spec.
1549
05ca27d8
MA
15502013-11-25 Michael Albinus <michael.albinus@gmx.de>
1551
1552 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1553 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1554
511fa0d3
SM
15552013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1556
e82ad66c
SM
1557 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1558 (gomoku--last-pos): New var.
1559 (gomoku--intangible-chars): New const.
1560 (gomoku--intangible): New function.
1561 (gomoku-mode): Use it. Derive from special-mode.
1562 (gomoku-move-up): Adjust line count.
1563 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1564 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1565 Simplify accordingly.
1566
511fa0d3
SM
1567 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1568 Remove blink-cursor code.
1569 (blink-cursor-timer-function, blink-cursor-suspend):
1570 Don't special-case GUIs.
1571 (blink-cursor-mode): Use focus-in/out-hook.
1572
6f20dd03
DG
15732013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1574
1575 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1576 work when annotation is invisible (Bug#13886).
1577
431dec31 15782013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1579
1580 * json.el (json-alist-p): Only return non-nil if the alist has
1581 simple keys (Bug#13518).
1582
431dec31 15832013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1584
1585 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1586 when control-statement is the first statement in a buffer (Bug#15956).
1587
ee4f0261
DG
15882013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1589
1590 * imenu.el (imenu-generic-skip-comments-and-strings):
1591 New option (Bug#15560).
1592 (imenu--generic-function): Use it.
1593
c484f866
JS
15942013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1595
1596 * minibuffer.el (completion--in-region-1): Scroll the correct
1597 window. (Bug#13898)
1598
41ce6f70
BB
15992013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1600
b55aea38
BB
1601 * emacs-lisp/helpers.el: Add some string helpers.
1602 (string-trim-left): Removes leading whitespace.
1603 (string-trim-right): Removes trailing whitespace.
1604 (string-trim): Removes leading and trailing whitespace.
1605
41ce6f70
BB
1606 * subr.el (string-suffix-p): New function.
1607
3cfb6af3
GM
16082013-11-23 Glenn Morris <rgm@gnu.org>
1609
1610 * progmodes/python.el (python-shell-send-file):
1611 Add option to delete file when done. (Bug#15647)
1612 (python-shell-send-string, python-shell-send-region): Use it.
1613
c27924b7
IS
16142013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1615
e1b01c7f
IS
1616 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1617 to set buffer-read-only to t, never to nil. (Bug#15938)
1618
c27924b7
IS
1619 * textmodes/tex-mode.el (latex-noindent-environments):
1620 Add safe-local-variable property. (Bug#15936)
1621
17e0445b
GM
16222013-11-23 Glenn Morris <rgm@gnu.org>
1623
92f78ea3
GM
1624 * textmodes/enriched.el (enriched-mode): Doc fix.
1625 * emacs-lisp/authors.el (authors-renamed-files-alist):
1626 Add enriched.doc -> enriched.txt.
1627
17e0445b
GM
1628 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1629
965bb23a
LL
16302013-11-22 Leo Liu <sdl.web@gmail.com>
1631
1632 * progmodes/octave.el (inferior-octave-startup): Spit out error
1633 message.
1634
d19ffd64
BB
16352013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1636
1637 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1638 Improve docstring.
15ba2182
BB
1639 Add :version.
1640 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1641
7a7567d2
LL
16422013-11-22 Leo Liu <sdl.web@gmail.com>
1643
1644 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1645 (Bug#15076)
8c09f64b
LL
1646 (octave-help-mode): Adapt to change to help-mode-finish to use
1647 derived-mode-p on 2013-09-17.
1648 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1649 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1650
724bc265
LL
16512013-11-22 Leo Liu <sdl.web@gmail.com>
1652
1653 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1654 (inferior-octave-startup, inferior-octave-check-process)
1655 (inferior-octave-track-window-width-change)
1656 (octave-completion-at-point, octave-eldoc-function): Use it.
1657 (octave-kill-process): Provide confirmation. (Bug#10564)
1658
38637cca
LL
16592013-11-21 Leo Liu <sdl.web@gmail.com>
1660
511fa0d3
SM
1661 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1662 Fix obsolete variable comment-use-global-state.
38637cca 1663
06e752b4
RS
16642013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1665
511fa0d3
SM
1666 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1667 Add `octave-source-file'.
06e752b4
RS
1668 (octave-source-file): New function. (Bug#15935)
1669
0449d6cd 16702013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1671
1672 * net/eww.el (eww-local-regex): New variable.
1673 (eww): Use it to detect localhost and similar.
1674
b6ffa04a
LL
16752013-11-21 Leo Liu <sdl.web@gmail.com>
1676
1677 Add completion for command `ag'.
2021a200
LL
1678 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1679 (pcomplete/ag): New function.
1680 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1681
d1a6bccc
SM
16822013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1685 (bug#14646).
1686 (make-obsolete): Remove interactive spec.
1687
2df10228
GM
16882013-11-21 Glenn Morris <rgm@gnu.org>
1689
1690 * startup.el (command-line-1): Use path-separator with -L.
1691
86fd16b6
TZ
16922013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1693
1694 * emacs-lisp/package.el (describe-package-1): Add package archive
1695 to shown fields.
1696
0449d6cd 16972013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1698
1699 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1700 Change default to "# encoding: %s" to differentiate it from the
1701 default Ruby encoding comment template.
1702
dc7e8c17 17032013-11-20 era eriksson <era+emacsbugs@iki.fi>
1704
1705 * ses.el (ses-mode): Doc fix. (Bug#14748)
1706
f0cfa5fe
LL
17072013-11-20 Leo Liu <sdl.web@gmail.com>
1708
1709 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1710
826dc7b6
DN
17112013-11-19 Dan Nicolaescu <dann@gnu.org>
1712
1713 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1714 when rebase or bisect are in progress.
1715
a6e3a5d5
XF
17162013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1717
1718 * filenotify.el (file-notify-add-watch): Doc fix.
1719
f130cb76
LL
17202013-11-19 Leo Liu <sdl.web@gmail.com>
1721
e0855d7d
LL
1722 * obsolete/rcompile.el: Mark obsolete.
1723
f130cb76 1724 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1725 (compilation-goto-locus, compilation-find-file):
1726 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1727 (Bug#13594)
1728
1729 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1730 new parameter no-display-ok. Return either a window or nil
1731 but never a non-window value.
f130cb76 1732
1f35d401
SM
17332013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1734
25158c76
SM
1735 * electric.el (electric-indent-mode-map): Remove.
1736 (electric-indent-mode): Change the global-map instead (bug#15915).
1737
1738 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1739 Use add-function.
1f35d401 1740
9bc67baa
SM
17412013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1742
986545b5
SM
1743 * emacs-lisp/nadvice.el (remove-function): Align with
1744 add-function's behavior.
1745
9bc67baa
SM
1746 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1747 (gdb--string-regexp): New constant.
1748 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1749 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1750 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1751 submatch 1.
1752 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1753 Adjust use accordingly.
1754 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1755
56cd894e
AS
17562013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1757
1758 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1759 interpolation curlies (Bug#15914).
1760
014690de
JB
17612013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1762
1763 * calc/calc.el (calc-context-sensitive-enter): New variable.
1764 (calc-enter): Use `calc-context-sensitive-enter'.
1765
7e26a6c3
TZ
17662013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1767
1768 * progmodes/cfengine.el: Version bump.
1769 (cfengine-cf-promises): New defcustom to locate cf-promises.
1770 (cfengine3-vartypes): Add new "data" type.
1771 (cfengine3--current-word): New function to get current name-like
1772 word or its bounds.
1773 (cfengine3--current-function): New function to look up a CFEngine
1774 function's definition.
1775 (cfengine3-format-function-docstring): New function.
1776 (cfengine3-make-syntax-cache): New function.
1777 (cfengine3-documentation-function): New function: ElDoc glue.
1778 (cfengine3-completion-function): New function: completion glue.
1779 (cfengine3-mode): Set `compile-command',
1780 `eldoc-documentation-function', and add to
1781 `completion-at-point-functions'.
1782
355204dd
MA
17832013-11-16 Michael Albinus <michael.albinus@gmx.de>
1784
1785 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1786 `tramp-current-connection'.
1787
43cebc23
DG
17882013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1789
1790 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1791 nil/self/true/false with "end of symbol".
1792
a3fed6ff
BB
17932013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1794
1795 * subr.el (version-regexp-alist): Fix a typo.
1796
e675b3e4
MA
17972013-11-15 Michael Albinus <michael.albinus@gmx.de>
1798
1799 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1800 "en_US.utf8" and "LC_CTYPE" to "".
1801 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1802 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1803
a1f03e89
LL
18042013-11-15 Leo Liu <sdl.web@gmail.com>
1805
1806 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1807
5d9d9451
SM
18082013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1809
58362662
CS
1810 * progmodes/gud.el (ctl-x-map):
1811 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1812 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1813
6c1bf086
BB
18142013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1815
0d5363c4
BB
1816 * subr.el (version-regexp-alist):
1817 Recognize hg, svn and darcs versions as snapshot versions.
1818
4e9fc48c
BB
1819 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1820 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1821 (ruby--encoding-comment-required-p): Extract from
1822 `ruby-mode-set-encoding'.
1823 (ruby-mode-set-encoding): Add the ability to always insert an
1824 utf-8 encoding comment. Fix and simplify coding comment update
1825 logic.
6c1bf086 1826
2f7e72f8
MA
18272013-11-14 Michael Albinus <michael.albinus@gmx.de>
1828
1829 * net/tramp-gvfs.el (top): Run init code only when
1830 `tramp-gvfs-enabled' is not nil.
1831 (tramp-gvfs-enabled): Check also :system bus.
1832
0f137a73
SM
18332013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 Sync with upstream verilog-mode revision 78e66ba.
1836 * progmodes/verilog-mode.el (verilog-end-of-defun)
1837 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1838 (verilog-get-end-of-defun): Remove unused argument.
1839 (verilog-comment-depth): Remove unused local `e'.
1840 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1841 Don't pass arg to verilog-get-end-of-defun.
1842
1c276bdd
GM
18432013-11-14 Glenn Morris <rgm@gnu.org>
1844
1845 * obsolete/assoc.el (aget): Prefix dynamic variable.
1846
1847 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1848
ff6ec81d
SM
18492013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * widget.el, hfy-cmap.el: Remove bogus package version number.
1852
75f777b6
GM
18532013-11-13 Glenn Morris <rgm@gnu.org>
1854
1d43dba1
GM
1855 * replace.el (replace-eval-replacement):
1856 Try to give more helpful error message. (Bug#15836)
1857
ff4b7bd5
GM
1858 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1859 (archive-7z-update): Avoid custom type mismatches.
1860
75f777b6
GM
1861 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1862
11151a06
MA
18632013-11-13 Michael Albinus <michael.albinus@gmx.de>
1864
e675b3e4 1865 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1866 address can be empty.
1867
1868 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1869 Accept nil SWITCHES.
1870 (tramp-gvfs-handle-write-region): Implement APPEND.
1871
7b08f97e
DG
18722013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1873
1874 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1875 binary "|" operator and closing block args delimiter.
1876 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1877 (ruby-smie--implicit-semi-p): Not after "|" operator.
1878 (ruby-smie--closing-pipe-p): New function.
1879 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1880 (ruby-smie-rules): Indent after "|".
1881
f201cf3a
GM
18822013-11-12 Glenn Morris <rgm@gnu.org>
1883
1884 * ps-print.el (ps-face-attribute-list):
1885 Handle anonymous faces. (Bug#15827)
1886
e6f759f9
MR
18872013-11-12 Martin Rudalics <rudalics@gmx.at>
1888
1889 * window.el (display-buffer-other-frame): Fix doc-string.
1890 (Bug#15868)
1891
ecda65d4
SM
18922013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1893
1894 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1895
7ce8fcc3
MA
18962013-11-11 Michael Albinus <michael.albinus@gmx.de>
1897
1898 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1899 (tramp-sh-handle-file-local-copy): Don't write a message when
1900 saving temporary files.
1901
1902 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1903 both directories are remote.
1904 (tramp-smb-handle-directory-files): Do not return double entries.
1905 Do not expand full file names.
1906 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1907 (tramp-smb-handle-write-region): Implement APPEND.
1908 (tramp-smb-get-stat-capability): Fix a stupid bug.
1909
7818df11
SM
19102013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1913
608c2085
NT
19142013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1915
1916 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1917 throwing error over malformed let/let* (bug#15814).
1918
122a7e46
SM
19192013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * iswitchb.el (iswitchb-mode): Mark obsolete.
1922
766284d9
GM
19232013-11-11 Glenn Morris <rgm@gnu.org>
1924
1925 * international/uni-bidi.el, international/uni-category.el:
1926 * international/uni-name.el, international/uni-numeric.el:
1927 Regenerate for Unicode 6.3.0.
1928
7072a4e9
MA
19292013-11-10 Michael Albinus <michael.albinus@gmx.de>
1930
1931 * net/tramp.el (tramp-methods):
1932 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1933 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1934
c9df215b
AS
19352013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1936
608c2085
NT
1937 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1938 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1939
fa47d796
DG
19402013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1941
1942 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1943 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1944 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1945 (ispell-complete-word): Call `ispell-lookup-words' with the value
1946 independent of `ispell-look-p'.
1947
1629a329
DG
19482013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1949
1950 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1951 Not after "||".
1952 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1953 their parent.
1954
ad16897c
SM
19552013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1958 (ruby-font-lock-keywords): Use backquote.
1959
ffa2df72
DG
19602013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1961
1962 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1963 (ruby-smie--backward-token): Only consider full-string matches.
1964
5b97b4c0
JD
19652013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1966
1967 * faces.el (describe-face): Add distant-foreground.
1968
71731c03
BB
19692013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1970
4e9fc48c
BB
1971 * progmodes/ruby-mode.el: Improve encoding comment handling.
1972 (ruby-encoding-magic-comment-style): New option.
1973 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1974 (ruby--insert-coding-comment, ruby--detect-encoding):
1975 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1976 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1977 to control the style of the auto-inserted encoding comment.
71731c03 1978
da3b328d
DG
19792013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1980
ad16897c
SM
1981 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1982 Use `smie-backward-sexp' with token argument.
da3b328d 1983
1606c2d3
MA
19842013-11-08 Michael Albinus <michael.albinus@gmx.de>
1985
1986 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1987 Remove instrumentation code.
1988
b0f4c320
GM
19892013-11-08 Glenn Morris <rgm@gnu.org>
1990
1991 * progmodes/autoconf.el (autoconf-mode):
1992 Tweak comment-start-skip. (Bug#15822)
1993
43668fb1
SM
19942013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1997 at bobp (bug#15826).
1998 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1999
daddb3fd
DH
20002013-11-08 Darren Hoo <darren.hoo@gmail.com>
2001
2002 * man.el (Man-start-calling): New macro, extracted from
2003 Man-getpage-in-background.
2004 (Man-getpage-in-background): Use it.
2005 (Man-update-manpage): New command.
2006 (Man-mode-map): Bind it.
2007
1f923923
DG
20082013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2009
2010 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2011 of "and", "or", "&&" and "||".
2012 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2013 argument. Prohibit opening curly brace because it could only be a
2014 block opener in that position.
daddb3fd
DH
2015 (ruby-smie--forward-token, ruby-smie--backward-token):
2016 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2017 arguments.
2018 (ruby-smie--indent-to-stmt): New function, seeks the end of
2019 previous statement or beginning of buffer.
2020 (ruby-smie-rules): Use it.
2021 (ruby-smie-rules): Check if there's a ":" before a curly block
2022 opener candidate; if there is, it's a hash.
2023
3220d527
SM
20242013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2027 (cl--block-wrapper): Fix last accidental change.
2028
1eb1f9e0
MA
20292013-11-07 Michael Albinus <michael.albinus@gmx.de>
2030
2031 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2032 Instrument, in order to hunt failure on hydra.
2033
e6e4db3c
NT
20342013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2035
2036 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2037 malformed bindings form (bug#15814).
2038
b420ccfc
DG
20392013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2040
2041 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2042 "." compared to " @ ". This incidentally fixes some indentation
2043 examples with "do".
e6e4db3c 2044 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2045 (ruby-smie-grammar): New tokens: "and" and "or".
2046 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2047 Exclude "and" and "or". Remove "do" in order to work around token
2048 priorities.
2049 (ruby-smie-rules): Add all infix tokens. Handle the case of
2050 beginning-of-buffer.
b420ccfc 2051
6b4ac03e
GM
20522013-11-06 Glenn Morris <rgm@gnu.org>
2053
2054 * Makefile.in (setwins_almost, setwins_for_subdirs):
2055 Avoid accidental matches.
2056
5ca114d1
SM
20572013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 * menu-bar.el (popup-menu): Use key-binding.
2060
f72552bd
EZ
20612013-11-06 Eli Zaretskii <eliz@gnu.org>
2062
2063 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2064 menus, support also the menus produced by minor modes.
2065 (Bug#15817)
2066
5d5c701e
LL
20672013-11-06 Leo Liu <sdl.web@gmail.com>
2068
2069 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2070 DISTANCE to bound the search. All uses changed. (Bug#15808)
2071
0a8b75e2
GM
20722013-11-06 Glenn Morris <rgm@gnu.org>
2073
2074 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2075 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2076 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2077
a35287ea
SM
20782013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2079
feca4e2d
SM
2080 * electric.el (electric-indent-just-newline): New command.
2081 (electric-indent-mode-map): New keymap.
2082 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2083 Re-add :group which weren't redundant.
2084
a35287ea
SM
2085 * electric.el (electric-indent-local-mode): New minor mode.
2086 (electric-indent-functions-without-reindent): New var.
2087 (electric-indent-post-self-insert-function): Use it.
2088 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2089
375761b2
EZ
20902013-11-05 Eli Zaretskii <eliz@gnu.org>
2091
9a6ad735
EZ
2092 * international/quail.el (quail-help): Be more explicit about the
2093 meaning of the labels shown on the keys. (Bug#15800)
2094
375761b2
EZ
2095 * startup.el (normal-top-level): Load the subdirs.el files before
2096 setting the locale environment. (Bug#15805)
2097
520a6e4a
SM
20982013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2099
0acfafef
SM
2100 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2101 via arguments so as to get the right ones (bug#15418).
2102
520a6e4a
SM
2103 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2104
15826261
MA
21052013-11-05 Michael Albinus <michael.albinus@gmx.de>
2106
2107 Fix problems found while writing a test suite.
2108
2109 * net/tramp-compat.el (tramp-compat-load): New defun.
2110 * net/tramp.el (tramp-handle-load): Use it.
2111
2112 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2113 "(numberp ok-if-already-exists)" correctly.
2114
d35f31a4
XF
21152013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2116
2117 * international/characters.el (glyphless-char-display-control):
2118 Add usage note.
2119
ae93bc74
BB
21202013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2121
520a6e4a
SM
2122 * progmodes/python.el (python-mode):
2123 * progmodes/scheme.el (scheme-mode):
2124 * progmodes/prolog.el (prolog-mode):
2125 * progmodes/ruby-mode.el (ruby-mode):
2126 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2127 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2128
0ade65b5
SM
21292013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2130
a0d5f7a4
SM
2131 * rect.el (rectangle--highlight-for-redisplay):
2132 * emacs-lisp/smie.el (smie--next-indent-change):
2133 Use buffer-chars-modified-tick.
2134
c93f3f5c
SM
2135 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2136
0ade65b5
SM
2137 * electric.el (electric-indent-post-self-insert-function):
2138 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2139
ef9dd188
HE
21402013-11-04 Helmut Eller <eller.helmut@gmail.com>
2141
2142 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2143
306e7308
NT
21442013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2145
2146 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2147 (bug#15786).
2148
e5afbcac
SM
21492013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2150
1d01ad41
SM
2151 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2152
e5afbcac
SM
2153 * progmodes/python.el: Fix up last change.
2154 (python-shell--save-temp-file): New function.
2155 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2156 `string' comes from the current buffer.
2157 (python-shell-send-string-no-output): Remove `msg' arg.
2158 (python--use-fake-loc): New var.
2159 (python-shell-buffer-substring): Obey it. Try to compensate for the
2160 extra coding line added by python-shell--save-temp-file.
2161 (python-shell-send-region): Use python-shell--save-temp-file and
2162 python-shell-send-file directly. Add `nomain' argument.
2163 (python-shell-send-buffer): Use python-shell-send-region.
2164 (python-electric-pair-string-delimiter): New function.
2165 (python-mode): Use it.
2166
d0065ff1
EZ
21672013-11-04 Eli Zaretskii <eliz@gnu.org>
2168
2169 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2170 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2171 environment and decoding all of the default-directory's to here
2172 from command-line.
2173 (command-line): Decode also argv[0].
2174
2175 * loadup.el: Error out if default-directory is a multibyte string
2176 when we are dumping.
2177
2178 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2179
7397c587
TZ
21802013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2181
2182 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2183 (package-menu--print-info, package-menu--archive-predicate):
2184 Add Archive column to package list.
7397c587 2185
b27cc9fc
MA
21862013-11-04 Michael Albinus <michael.albinus@gmx.de>
2187
2188 Fix problems found while writing a test suite.
2189
2190 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2191 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2192 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2193 to nil when running original file name handler. Otherwise,
2194 there are problems with constructs like "$$FOO".
2195
2196 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2197 for `localname'.
2198
d8c4f18a
BB
21992013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2200
7b530552
BB
2201 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2202
2203 * subr.el (version<, version<=, version=):
2204 Update docstrings with information for snapshot versions.
2205
d8c4f18a
BB
2206 * helpers.el: New library for misc helper functions.
2207 (hash-table-keys): New function returning a list of hash keys.
2208 (hash-table-values): New function returning a list of hash values.
2209
dca01b09
DG
22102013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2211
2212 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2213 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2214
0a749fa0
MN
22152013-11-04 Michal Nazarewicz <mina86@mina86.com>
2216
2217 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2218 checking whether point is after a 1-letter word.
2219
22202013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2221
2222 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2223 Don't infloop when expanding region over `multiline' syntax-type that
2224 begins a line (bug#15778).
2225
4aca7145
SM
22262013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2229 Make it into a proper minor mode.
2230 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2231 (rectangle-mark-mode-map): New keymap.
2232 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2233
a0833f62
GM
22342013-11-04 Glenn Morris <rgm@gnu.org>
2235
2236 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2237
e61845c1
SM
22382013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2241 (ruby-smie-rules): Use smie-rule-parent instead.
2242
2243 * emacs-lisp/smie.el (smie-rule-parent): Always call
2244 smie-indent-virtual rather than only for hanging tokens.
2245 (smie--next-indent-change): New helper command.
2246
62942f89
GM
22472013-11-03 Glenn Morris <rgm@gnu.org>
2248
2249 * Makefile.in (abs_srcdir): Remove.
2250 (emacs): Unset EMACSLOADPATH.
2251
b0b9e592
GM
22522013-11-02 Glenn Morris <rgm@gnu.org>
2253
18ba6a33 2254 * Makefile.in (EMACS): Use a relative filename.
8061810d 2255 (abs_top_builddir): Remove.
18ba6a33
GM
2256 (custom-deps, finder-data, autoloads): Use --chdir.
2257
6a8b929e
GM
2258 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2259
c617f3d0
GM
2260 Use relative filenames in TAGS files.
2261 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2262 (lisptagsfiles4, TAGS): Use relative file names.
2263 (TAGS-LISP): Remove.
2264 (maintainer-clean): No more TAGS-LISP file.
2265
b0b9e592
GM
2266 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2267 (lisptagsfiles4): Use absolute filenames again.
2268 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2269 Remove all *loaddefs files, not just the first. Remove esh-groups.
2270 (maintainer-clean): Delete TAGS, TAGS-LISP.
2271
d1c0ea6a
BB
22722013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2273
e61845c1
SM
2274 * emacs-lisp/package.el (package-version-join):
2275 Recognize snapshot versions.
d1c0ea6a 2276
684d71c6
BB
22772013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2278
2279 * subr.el (version-regexp-alist): Add support for snapshot versions.
2280
3d42b968
DG
22812013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2282
e61845c1
SM
2283 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2284 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2285 skip over our direct parent if it's an assignment token..
2286 (ruby-smie-rules): Use it.
2287
7ffd3721
DG
22882013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2289
2290 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2291 unconditionally. Remove now unnecessary forward declarations.
2292 Remove XEmacs-specific setup.
2293 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2294 (ruby-font-lock-syntactic-keywords)
2295 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2296 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2297 (ruby-here-doc-end-syntax): Remove.
2298 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2299 defined as function.
2300
a3996a2e
BB
23012013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2302
2303 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2304
6f9260e8
BB
23052013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2306
2307 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2308 table and abbrev table, `define-derived-mode' does that for us
2309 anyway.
2310
6014de84
GM
23112013-11-01 Glenn Morris <rgm@gnu.org>
2312
2313 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2314 files is atomic for some time, so no parallel compilation issues).
2315
3c334c14
JD
23162013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2317
2318 * faces.el (face-x-resources): Add :distant-foreground.
2319 (region): Use :distant-foreground for gtk and ns.
2320
9bc236c8
TH
23212013-11-01 Tassilo Horn <tsdh@gnu.org>
2322
5246583b 2323 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2324 BibTeX.
2325 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2326 (reftex-locate-bibliography-files): Us it.
2327
d14c81ee
CB
23282013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2329
0e7690de
CB
2330 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2331 allow comments in pbm files.
2332
d14c81ee
CB
2333 * term/w32-win.el (dynamic-library-alist): Support newer versions
2334 of libjpeg starting with v7: look only for the DLL from the
2335 version against which Emacs was built.
ac1bf374 2336 Support versions of libpng beyond 1.4.x.
019c8218 2337 Support libtiff v4.x.
d14c81ee 2338
983d0df5
BB
23392013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2340
2341 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2342 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2343 Add property :safe.
2344 (ruby-deep-arglist): Add property :type.
2345
47f58d85
GM
23462013-10-31 Glenn Morris <rgm@gnu.org>
2347
2348 * Makefile.in (custom-deps, finder-data): No need to setq the target
2349 variables, we are in the right directory and the defaults work fine.
2350
4f85b479
GM
23512013-10-30 Glenn Morris <rgm@gnu.org>
2352
ca7dd4cd
GM
2353 * Makefile.in (autoloads): Do not use abs_lisp.
2354
4f85b479
GM
2355 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2356 `newline' does not respect `standard-output', so use `princ'.
2357
cf59e41c
AA
23582013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2359
2360 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2361 * buff-menu.el (Buffer-menu--unmark): New function.
2362 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2363
74cf04fb
GM
23642013-10-30 Glenn Morris <rgm@gnu.org>
2365
b040b60e
GM
2366 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2367
f53d3815
GM
2368 * emacs-lisp/package.el (lm-homepage): Declare.
2369
5413d873
GM
2370 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2371 Fix doc typos.
2372
cecedb36
GM
2373 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2374
74cf04fb
GM
2375 * Makefile.in (finder-data, autoloads, update-subdirs)
2376 (compile-main, compile-clean, compile-always, bootstrap-clean):
2377 Check return value of cd.
2378 (compile-calc): Remove.
2379
195ee2f0
SM
23802013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2381
ae4002ce
SM
2382 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2383
2384 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2385 (byte-compile-and-folded): New function.
2386 (=, <, >, <=, >=): Use it.
2387
2388 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2389 (path-separator, null-device, buffer-file-coding-system)
2390 (lpr-headers-switches): Check system-type before modifying them.
2391 (find-buffer-file-type-coding-system): Mark obsolete.
2392 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2393 find-file-not-found-set-buffer-file-coding-system.
2394 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2395 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2396 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2397 (w32-direct-print-region-helper, w32-direct-print-region-function)
2398 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2399 * startup.el (normal-top-level-add-subdirs-to-load-path):
2400 * ps-print.el (ps-print-region-function):
2401 * lpr.el (print-region-function): Use new name.
2402
53b39e89
SM
2403 * subr.el (custom-declare-variable-early): Remove function.
2404 (custom-declare-variable-list): Remove var.
2405 (error, user-error): Remove `while' loop.
2406 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2407 (user-emacs-directory-warning, locate-user-emacs-file):
2408 Move to files.el.
2409 * simple.el (read-quoted-char-radix, read-quoted-char):
2410 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2411 Move from subr.el.
2412 * custom.el (custom-declare-variable-list): Don't process
2413 custom-declare-variable-list.
2414
195ee2f0
SM
2415 * progmodes/python.el (python-shell-get-buffer): New function.
2416 (python-shell-get-process): Use it.
2417 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2418 Python which encoding was used. Don't split-string since we only care
2419 about the first line. Return the temp-file, if applicable.
2420 (python-shell-send-region): Tell compile.el how to turn locations in
2421 the temp-file into locations in the source buffer.
2422
7e3561ee
SM
24232013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2424
4c9797cb
SM
2425 * subr.el (undefined): Add missing behavior from the C code for
2426 unbound keys.
2427
3472b6c6
SM
2428 * rect.el: Use lexical-binding. Add new rectangular region support.
2429 (rectangle-mark): New command.
2430 (rectangle--region): New var.
2431 (deactivate-mark-hook): Reset rectangle--region.
2432 (rectangle--extract-region, rectangle--insert-for-yank)
2433 (rectangle--highlight-for-redisplay)
2434 (rectangle--unhighlight-for-redisplay): New functions.
2435 (region-extract-function, redisplay-unhighlight-region-function)
2436 (redisplay-highlight-region-function): Use them to handle
2437 rectangular region.
2438 * simple.el (region-extract-function): New var.
2439 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2440 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2441 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2442 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2443 (redisplay-unhighlight-region-function)
2444 (redisplay-highlight-region-function): New vars.
2445 (redisplay--update-region-highlight): New function.
2446 (pre-redisplay-function): Use it.
2447 (exchange-point-and-mark): Don't deactivate the mark before
2448 reactivate-it anyway.
2449 * comint.el (comint-kill-region): Remove yank-handler argument.
2450 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2451 (delete-char): Remove property, since it's now part of their
2452 default behavior.
2453 (self-insert-iso): Remove property since this command doesn't exist.
2454
7e3561ee
SM
2455 * emacs-lisp/package.el (package--download-one-archive)
2456 (describe-package-1): Don't query the user about final newline.
2457
b9bef71f
DC
24582013-10-29 Daniel Colascione <dancol@dancol.org>
2459
2460 * net/tramp.el (tramp-methods): Document new functionality.
2461 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2462 tramp-hostname-checker if method provides one instead of scanning
2463 argument list for "%h" to decide hostname acceptability.
2464
4efc33f0
MA
24652013-10-28 Michael Albinus <michael.albinus@gmx.de>
2466
2467 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2468 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2469 Handle COPY-CONTENTS. (Bug#15737)
2470
ed42a877
DU
24712013-10-28 Daiki Ueno <ueno@gnu.org>
2472
2473 * epa-file.el
7e3561ee
SM
2474 (epa-file-cache-passphrase-for-symmetric-encryption):
2475 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2476
18c9f8a2
XF
24772013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2478
7a4bc7be
XF
2479 * image.el (defimage):
2480 (image-load-path): Doc fixes.
18c9f8a2 2481
b1e8e010
AM
24822013-10-27 Alan Mackenzie <acm@muc.de>
2483
2484 Indent statements in macros following "##" correctly.
7e3561ee
SM
2485 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2486 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2487
73d40d1e 24882013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2489
2490 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2491
c8c605ac
DG
24922013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2493
2494 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2495 after `=' is probably a new expression.
2496
ca7e59d4
RS
24972013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2498
2499 * man.el (man-imenu-title): New option.
2500 (Man-mode-map): Add menu. (Bug#15722)
2501 (Man-mode): Add imenu to menu.
2502
bae91342
DG
25032013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2504
2505 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2506 specific in what the first arg can be: a non-keyword word,
2507 string/regexp/percent literal opener, opening paren, or unary
2508 operator followed directly by word.
2509
eb89dc14
SM
25102013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2511
2512 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2513 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2514 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2515 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2516 Remove vars, they do not apply any more.
2517 (prolog-mode-abbrev-table): Remove redundant declaration.
2518 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2519 (prolog-use-smie): Remove.
2520 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2521 supported by prolog-electric-if-then-else-flag.
2522 (prolog-mode-variables, prolog-menu): Use setq-local.
2523 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2524 Remove binding to `Backspace' since this key doesn't exist anyway.
2525 Remove bindings for electric self-inserting keys.
2526 (prog-mode): Assume it's defined.
2527 (prolog-post-self-insert): New function.
2528 (prolog-mode): Use it.
2529 (prolog-indent-line, prolog-indent-level)
2530 (prolog-find-indent-of-matching-paren)
2531 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2532 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2533 (prolog-goto-next-paren, prolog-in-string-or-comment)
2534 (prolog-tokenize, prolog-inside-mline-comment)
2535 (prolog-find-start-of-mline-comment): Remove functions.
2536 (prolog-find-unmatched-paren, prolog-clause-end)
2537 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2538 (prolog-electric--if-then-else): Rename from
2539 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2540 (prolog-tokenize-searchkey): Remove const.
2541 (prolog-clause-info): Use forward-sexp.
2542 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2543 (prolog-electric-if-then-else): Remove commands.
2544 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2545 for use in post-self-insert-hook.
2546 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2547 for use in post-self-insert-hook.
2548 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2549 for use in post-self-insert-hook.
2550 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2551 adapt it for use in post-self-insert-hook.
2552
3dab0a83
MA
25532013-10-25 Michael Albinus <michael.albinus@gmx.de>
2554
2555 * emacs-lisp/ert.el (ert-run-tests-interactively):
2556 Use `completing-read'. (Bug#9756)
2557
fbfd0e1d
EZ
25582013-10-25 Eli Zaretskii <eliz@gnu.org>
2559
2560 * simple.el (line-move): Call line-move-1 instead of
2561 line-move-visual when the current window hscroll is zero, but
2562 temporary-goal-column indicates we will need to hscroll as result
2563 of the movement. (Bug#15712)
2564
963ce636
DG
25652013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2566
2567 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2568 capitalization. Use :visible instead of :active.
2569 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2570 commands that are used with SMIE.
2571 (ruby-do-end-to-brace): Insert space after `{'.
2572
a0be396a
JA
25732013-10-25 John Anthony <john@jo.hnanthony.com>
2574
f73754c9
JA
2575 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2576
2577 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2578
f5bf77df
GM
25792013-10-25 Glenn Morris <rgm@gnu.org>
2580
2581 * vc/vc.el (vc-print-log): Don't use a working revision unless
2582 one was explicitly specified. (Bug#15322)
2583
37241f62
SM
25842013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * subr.el (add-to-list): Preserve return value in compiler-macro
2587 (bug#15692).
2588
6408a65d
RS
25892013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2590
2591 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2592 result. Ask user to retry using '-all' flag. (Bug#15701)
2593
71e3276b
SM
25942013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * emacs-lisp/smie.el: New smie-config system.
2597 (smie-config): New defcustom.
2598 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2599 (smie-config-guess, smie-config-save): New commands.
2600 (smie-config--mode-local, smie-config--buffer-local)
2601 (smie-config--trace, smie-config--modefuns): New vars.
2602 (smie-config--advice, smie-config--mode-hook)
2603 (smie-config--setter, smie-config-local, smie-config--get-trace)
2604 (smie-config--guess-value, smie-config--guess): New functions.
2605 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2606 text properties. Treat "string fence" syntax like string syntax.
2607
2608 * progmodes/sh-script.el (sh-use-smie): Change default.
2609 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2610 (sh-var-value): Simplify by CSE.
2611 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2612 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2613 is used.
2614 (sh-guess-basic-offset): Use cl-incf.
2615 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2616
60db713e
HE
26172013-10-24 Helmut Eller <eller.helmut@gmail.com>
2618
2619 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2620 (bug#15699).
2621
8b251df6
GM
26222013-10-24 Glenn Morris <rgm@gnu.org>
2623
2624 * Makefile.in (abs_top_srcdir): Remove.
2625 (update-subdirs): Use relative path to update-subdirs.
2626
6be0e22b
EZ
26272013-10-24 Eli Zaretskii <eliz@gnu.org>
2628
2629 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2630 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2631 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2632 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2633
50b5b857
MA
26342013-10-24 Michael Albinus <michael.albinus@gmx.de>
2635
2636 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2637 (ert-test-skipped): New error.
2638 (ert-skip, ert-stats-skipped): New defuns.
2639 (ert--skip-unless): New macro.
2640 (ert-test-skipped): New struct.
2641 (ert--run-test-debugger, ert-test-result-type-p)
2642 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2643 (ert--stats-set-test-and-result, ert-char-for-test-result)
2644 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2645 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2646 Handle skipped tests. (Bug#9803)
50b5b857 2647
6f317c2f
GM
26482013-10-24 Glenn Morris <rgm@gnu.org>
2649
e43817c1
GM
2650 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2651
6f317c2f
GM
2652 * Makefile.in (abs_top_srcdir): New, set by configure.
2653 (update-subdirs): Correct build-aux location.
2654
369bbf71
DG
26552013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2656
8297b2cf
DG
2657 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2658 value, whether we could auto-deduce `backend', or not.
2659
369bbf71
DG
2660 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2661 with parameters" example. Simplify the "is it block or is it
2662 hash" check, but also make it more thorough.
2663
d5f1282f
MF
26642013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2665
2666 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2667
bc4aaa31
SM
26682013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2669
03d44565
SM
2670 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2671 { if it is hanging.
2672
bc4aaa31
SM
2673 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2674 :before ";".
2675
f493ff19
JB
26762013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2677
2678 * progmodes/compile.el (compilation-directory-matcher)
2679 (compilation-page-delimiter):
2680 Support GNU Make-4.0 directory quoting. (Bug#15678)
2681
c744a3b9
LL
26822013-10-23 Leo Liu <sdl.web@gmail.com>
2683
2684 * ido.el (ido-tidy): Handle read-only text.
2685
b8e3b0a9
GM
26862013-10-23 Glenn Morris <rgm@gnu.org>
2687
2688 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2689 (emacs, compile, compile-always):
2690 Quote entities that might contain whitespace.
2691 (custom-deps, finder-data, autoloads): Use abs_lisp.
2692 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2693 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2694 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2695
ee4282cd
DG
26962013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2697
bc4aaa31
SM
2698 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2699 Use `following-char'.
7790a270 2700
ee4282cd 27012013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2702
2703 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2704 * progmodes/ruby-mode.el (ruby-smie-rules):
2705 Remove corresponding workaround. Fix indentation rule of ";" so it
2706 also applies when ";" is the parent.
2707
d40a46d7
XF
27082013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2709
2710 * frame.el (display-screens, display-pixel-height)
2711 (display-pixel-width, display-mm-width, display-backing-store)
2712 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2713 (display-visual-class, display-monitor-attributes-list):
2714 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2715
a0f143c9
MG
27162013-10-22 Michael Gauland <mikelygee@amuri.net>
2717
2718 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2719 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2720
18cacc39
DG
27212013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2722
2723 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2724 TODO. Add "." after " @ ".
2725 (ruby-smie--at-dot-call): New function. Checks if point at method
2726 call with explicit target.
2727 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2728 to the method name tokens when it precedes them.
2729 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2730 (ruby-smie-rules): Add rule for indentation before and after "."
2731 token.
2732
df74c4be
SM
27332013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2734
c6dab55f
SM
2735 * textmodes/remember.el (remember-diary-extract-entries):
2736 Avoid add-to-list.
2737
df74c4be
SM
2738 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2739 an instruction.
2740
8c1ae481
DG
27412013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2742
cfef16c0
DG
2743 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2744 (ruby-smie--implicit-semi-p): Add new operator chars.
2745
8c1ae481
DG
2746 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2747 `smie-down-list'.
2748 (ruby-smie--args-separator-p): Check that there's no newline
2749 between method call and its arguments.
2750
87756ca9
AM
27512013-10-20 Alan Mackenzie <acm@muc.de>
2752
2753 Allow comma separated lists after Java "implements".
2754
df74c4be
SM
2755 * progmodes/cc-engine.el (c-backward-over-enum-header):
2756 Parse commas.
87756ca9
AM
2757 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2758 from a "disallowed" list in enum fontification.
2759
c25f8957
JB
27602013-10-20 Johan Bockgård <bojohan@gnu.org>
2761
df74c4be 2762 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2763
c25f8957
JB
2764 * progmodes/verilog-mode.el (verilog-mode): Don't set
2765 comment-indent-function globally.
2766
aca5fcdc
JD
27672013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2768
5f161884
JD
2769 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2770 Move Info menu item creation to ns-win.el.
2771
2772 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2773 in menu bar.
2774
aca5fcdc
JD
2775 * menu-bar.el: Move GNUStep specific menus...
2776
2777 * term/ns-win.el (ns-initialize-window-system): ... to here.
2778
914b7f98
SM
27792013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 * simple.el (newline): Only run post-self-insert-hook when
2782 called interactively.
2783
846ffe77
JB
27842013-10-19 Johan Bockgård <bojohan@gnu.org>
2785
2786 * icomplete.el (icomplete-with-completion-tables): Add :version.
2787
033f22dd
AM
27882013-10-19 Alan Mackenzie <acm@muc.de>
2789
2790 Fix fontification bugs with constructors and const.
2791
2792 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2793 CASE 2) Remove the check for the absence of a suffix construct
2794 after a function declaration with only types (no identifiers) in
2795 the parentheses. Also, accept a function declaration with just a
2796 type inside the parentheses, if this type can be positively
2797 recognised as such, or if a prefix keyword like "explicit" nails
2798 down the construct as a declaration.
2799
58ce0cfc
EZ
28002013-10-19 Eli Zaretskii <eliz@gnu.org>
2801
2802 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2803 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2804 the problem whereby selecting a menu item that leads to a
2805 minibuffer prompt moves the cursor out of the minibuffer window,
2806 making it hard to type at the prompt. Suggested by Stefan Monnier
2807 <monnier@iro.umontreal.ca>.
2808
50e28e7d
JD
28092013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2810
2811 * menu-bar.el: Don't make Services menu.
2812
7deed4bf
RS
28132013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2814
2815 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2816 (ffap-alist): Use ffap-c++-mode for c++-mode.
2817 (ffap-c++-path): New variable.
2818 (ffap-c++-mode): New function.
2819
7bcb455b
JVJ
28202013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2821
2822 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2823
f0ff1cd5
MA
28242013-10-18 Michael Albinus <michael.albinus@gmx.de>
2825
2826 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2827 introduced on 2013-09-08, which results in an infinite loop
2828 requesting a password.
2829
d64da4b7
GM
28302013-10-18 Glenn Morris <rgm@gnu.org>
2831
2832 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2833
ea89ff08
WS
28342013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2835
2836 Sync with upstream verilog-mode revision 1a6ecec7.
2837 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2838 (verilog-mode-release-date): Remove.
2839 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2840 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2841 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2842 (verilog-auto-tieoff-ignore-regexp)
2843 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2844 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2845 (verilog-signals-with, verilog-dir-cache-preserving)
2846 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2847 Doc fixes.
2848 (verilog-case-fold): New option, to control case folding in
2849 regexp searches, bug597.
2850 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2851 (verilog-string-match-fold, verilog-in-paren-count)
2852 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2853 (verilog-at-close-struct-p): New functions.
2854 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2855 (verilog-forward-sexp, verilog-set-auto-endcomments):
2856 (verilog-leap-to-case-head): Handle "unique0" case.
2857 (verilog-in-constraint-re): New constant.
2858 (verilog-keywords, verilog-type-font-keywords):
2859 Add some SystemVerilog 1800-2012 keywords.
2860 (verilog-label-be): Remove unimplemented argument, bug669.
2861 (verilog-batch-execute-func): When batch expanding clear
2862 create-lockfiles to prevent spurious user locks when a file ends
2863 up not changing.
2864 (verilog-calculate-indent, verilog-calc-1)
2865 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2866 (verilog-do-indent): Fix indentation of nested constraints
2867 and structures.
2868 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2869 (verilog-auto-inst-param): Use verilog-string-match-fold.
2870 (verilog-read-inst-module-matcher):
2871 Fix AUTOINST on gate primitives with #1.
2872 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2873 Reads all user-defined typed variables.
2874 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2875 (verilog-signals-matching-regexp)
2876 (verilog-signals-not-matching-regexp, verilog-auto):
2877 Respect verilog-case-fold.
2878 (verilog-diff-report): Fix line count.
2879 (verilog-auto-assign-modport): Remove unused local `modi'.
2880 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2881 better handle multidimensional arrays.
2882 Fix packed array ports misadding bit index in AUTOINST, bug637.
2883 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2884 to not double-declare existing outputs and inputs, respectively.
2885 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2886 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2887 (verilog-sk-uvm-component): New skeleton.
2888 (verilog-submit-bug-report): Add verilog-case-fold,
2889 remove verilog-mode-release-date.
2890
ef566920
BR
28912013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2892
2893 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2894 as before.
2895
29df8a0b
RT
28962013-10-18 Reuben Thomas <rrt@sc3d.org>
2897
e0eb0550 2898 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
2899 remember buffers (bug#13566).
2900
04a19a79
DC
29012013-10-18 Daniel Colascione <dancol@dancol.org>
2902
2903 When evaluating forms in ielm, direct standard output to ielm
2904 buffer. Add new ielm-return-for-effect command. Remove trailing
2905 whitespace throughout.
2906
2907 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2908 (ielm-return-for-effect): New command.
2909 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2910 (ielm-eval-input): Accept optional `for-effect' parameter.
2911 Bind `standard-output' to stream we create using
04a19a79
DC
2912 `ielm-standard-output-impl'. Suppress printing result when
2913 `for-effect'.
2914 (ielm-standard-output-impl): New function.
2915 (inferior-emacs-lisp-mode): Explain new features in documentation.
2916
4c1f03ef
MA
29172013-10-17 Michael Albinus <michael.albinus@gmx.de>
2918
2919 Code cleanup.
2920
2921 * net/tramp.el (tramp-debug-message): Do not check for connection
2922 buffer.
2923 (tramp-message): Use "vector" connection property.
2924
2925 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2926 (tramp-equal-remote, tramp-eshell-directory-change)
2927 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2928 (tramp-adb-handle-rename-file)
2929 * net/tramp-cmds.el (tramp-list-remote-buffers)
2930 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2931 * net/tramp-compat.el (tramp-compat-process-running-p)
2932 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2933 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2934 (tramp-gvfs-handle-rename-file)
2935 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2936 (tramp-set-file-uid-gid)
2937 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2938 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2939 of `file-remote-p'.
2940
2941 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2942 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2943 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2944 (tramp-gw-open-network-stream): Suppress unrelated traces.
2945
2946 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2947 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2948 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2949 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2950 connection property.
2951
2952 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2953 persistency file.
4c1f03ef
MA
2954
2955 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2956 Refactor common code. Improve debug message.
2957 (tramp-maybe-open-connection)
2958 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2959 connection buffer too early.
2960
2961 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2962 from `tramp-smb-actions-with-acl'.
2963 (tramp-smb-actions-set-acl): New defconst.
2964 (tramp-smb-handle-copy-directory)
2965 (tramp-smb-action-get-acl): New defun, renamed from
2966 `tramp-smb-action-with-acl'.
2967 (tramp-smb-action-set-acl): New defun.
2968 (tramp-smb-handle-set-file-acl): Rewrite.
2969
642eb8b6
GM
29702013-10-17 Glenn Morris <rgm@gnu.org>
2971
2972 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2973
85527ff3
SM
29742013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2975
921c1d62
SM
2976 * skeleton.el (skeleton-newline): Remove.
2977 (skeleton-internal-1): Use (insert "\n") instead.
2978
e333fb10
SM
2979 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2980 let-bindings.
2981
85527ff3
SM
2982 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2983 forward-sexp-function while we redo its job (bug#15613).
2984
c8722a97
JB
29852013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2986
2987 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2988 represented by lists.
2989
7a550bbb
GM
29902013-10-16 Glenn Morris <rgm@gnu.org>
2991
2992 * tmm.el (tmm--history): New dynamic variable.
2993 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2994
f19da8ad
MA
29952013-10-16 Michael Albinus <michael.albinus@gmx.de>
2996
2997 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2998 (tramp-smb-errors): Add error messages.
2999 (tramp-smb-actions-with-acl): New defconst.
3000 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3001 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3002 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3003 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3004 (tramp-smb-get-stat-capability): Fix tests.
3005
a24b9961
DK
30062013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3007
3008 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3009 (bug#15580).
3010
62ad85e6
GM
30112013-10-16 Glenn Morris <rgm@gnu.org>
3012
0283d6b0
GM
3013 * ansi-color.el (ansi-color-drop-regexp):
3014 Add 1J, 1K, 2K. (Bug#15617)
3015
012e2f9f
GM
3016 * files.el (hack-local-variables--warned-lexical): New.
3017 (hack-local-variables):
3018 Warn about misplaced lexical-binding. (Bug#15616)
3019
62ad85e6
GM
3020 * net/eww.el (eww-render): Always set eww-current-url,
3021 and update header line. (Bug#15622)
3022 (eww-display-html): ... Rather than just doing it here.
3023
6456c0ea
EZ
30242013-10-15 Eli Zaretskii <eliz@gnu.org>
3025
3026 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3027 menu navigations commands.
3028
c2de5588
DK
30292013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3030
3031 * progmodes/subword.el (subword-capitalize): Be careful when
3032 the search for [[:alpha:]] fails (bug#15580).
3033
ccd4a783
EZ
30342013-10-14 Eli Zaretskii <eliz@gnu.org>
3035
3036 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3037 to commands that scroll the menu.
3038
1eda1d8d
DG
30392013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3040
c2de5588
DK
3041 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3042 Handle methods ending with `?' and `!'.
1eda1d8d 3043
e70181b8
AM
30442013-10-14 Akinori MUSHA <knu@iDaemons.org>
3045
3046 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3047 `japanese-cp932' to `cp932' to fix the problem where saving a
3048 source file written in Shift_JIS twice would end up having
3049 `coding: japanese-cp932' which Ruby could not recognize.
3050 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3051 in `ruby-encoding-map'.
3052 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3053 doesn't need to be explicitly declared in magic comment.
3054 (ruby-encoding-map): Add type declaration for better customize UI.
3055
9148ee92
GM
30562013-10-13 Glenn Morris <rgm@gnu.org>
3057
a5d38e34
GM
3058 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3059 Occur buffers are read-only. http://bugs.debian.org/720775
3060
9148ee92
GM
3061 * emacs-lisp/authors.el (authors-fixed-entries):
3062 Comment out old alpha stuff.
3063
a9ba094b
DG
30642013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3065
3066 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3067 to `after-save-hook' instead of `before-save-hook'.
3068 (ruby-mode-set-encoding): Use the value of coding system used to
3069 write the file. Call `basic-save-buffer-1' after modifying the
3070 buffer.
3071
7a068717
AM
30722013-10-13 Alan Mackenzie <acm@muc.de>
3073
3074 Fix indentation/fontification of Java enum with
3075 "implements"/generic.
3076
c2de5588
DK
3077 * progmodes/cc-engine.el (c-backward-over-enum-header):
3078 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3079 (c-inside-bracelist-p): Uses new function above.
3080 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3081 function above.
3082 (c-font-lock-enum-tail): Uses new function above.
3083
85b64f02
KH
30842013-10-13 Kenichi Handa <handa@gnu.org>
3085
3086 * international/mule-cmds.el (select-safe-coding-system): Remove a
3087 superfluous condition in chekcing whether a coding system is safe
3088 or not.
3089
fc7f501b
OK
30902013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3091
3092 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3093
fdcb2049
AP
30942013-10-13 Andreas Politz <politza@hochschule-trier.de>
3095
3096 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3097
8c106d17
GM
30982013-10-13 Glenn Morris <rgm@gnu.org>
3099
feab892d
GM
3100 * menu-bar.el (menu-bar-update-buffers):
3101 Unify Buffers menu prompt string. (Bug#15576)
3102
b22d0686
GM
3103 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3104
8c106d17
GM
3105 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3106 Add some entries.
3107 (authors-fixed-entries): Use accented form of name.
3108
1b12c797
SM
31092013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3110
650fa7bf 3111 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3112 method calls (bug#15594).
650fa7bf
SM
3113 (ruby-smie--args-separator-p): New function.
3114 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3115 recognize paren-free method calls.
3116
1b12c797
SM
3117 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3118 internals of universal-argument.
3119
029619c8
EZ
31202013-10-11 Eli Zaretskii <eliz@gnu.org>
3121
3122 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3123 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3124 dropped menu on second mouse click on the menu bar.
029619c8 3125
dd070019
SM
31262013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3127
3128 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3129 (explicit-shell-file-name): Declare.
3130 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3131 (sh-completion-at-point-function): New function.
3132 (sh-mode): Use it.
3133 (sh-smie--keyword-p): Remove unused argument.
3134 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3135 vars.
3136 (sh-set-shell): Always setup SMIE, even if we use the
3137 old indentation code.
3138
0922b826
DG
31392013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3140
b68e2926
DG
3141 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3142 cases of ? and =.
3143 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3144 predicate would return nil are almost non-existent.
3145 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3146
0922b826
DG
3147 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3148 cache also after commands that modify the buffer but don't move
3149 point.
3150
ee041f2d
SM
31512013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3152
3153 * env.el (substitute-env-in-file-name): New function.
3154 (substitute-env-vars): Extend the meaning of the optional arg.
3155
a5dab159
EZ
31562013-10-10 Eli Zaretskii <eliz@gnu.org>
3157
3158 * term/w32-win.el (dynamic-library-alist): Define separate lists
3159 of GIF DLLs for versions before and after 5.0.0 of giflib.
3160 (Bug#15531)
3161
0449d6cd 31622013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3163
3164 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3165 not locked, use last revision and current source as
3166 defaults. (Bug#15569)
3167
2f6e161e
MY
31682013-10-10 Masatake YAMATO <yamato@redhat.com>
3169
3170 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3171 menu-bar is hidden.
3172
6c8413fc
MR
31732013-10-10 Martin Rudalics <rudalics@gmx.at>
3174
3175 * window.el (pop-to-buffer-same-window): Fix doc-string.
3176 (Bug#15492)
3177
20832de0
SM
31782013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3181
c6e8ae77
AC
31822013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3183
3184 * calendar/icalendar.el (icalendar-import-file):
3185 Fix interactive spec. (Bug#15482)
3186
9db13baf
GM
31872013-10-10 Glenn Morris <rgm@gnu.org>
3188
9271e90e
GM
3189 * desktop.el (desktop-save): Default to saving in .emacs.d,
3190 since PWD is no longer in desktop-path by default. (Bug#15319)
3191
9db13baf
GM
3192 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3193 now that text mode has a menu with the same entry.
3194 (menu-bar-text-mode-auto-fill): Remove now unused func.
3195 * textmodes/text-mode.el (text-mode-map):
3196 Use auto-fill help text from menu-bar.el.
3197
a0be396a 31982013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3199
3200 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3201
2edcd3c7
JL
32022013-10-09 Juri Linkov <juri@jurta.org>
3203
3204 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3205 instead of this-command-keys. Add universal-argument-more and
3206 universal-argument-minus to the list of prefix commands. (Bug#15568)
3207
574411d0
GM
32082013-10-09 Glenn Morris <rgm@gnu.org>
3209
14afa541
GM
3210 * vc/vc-svn.el (vc-svn-create-repo):
3211 Expand paths in file://... url. (Bug#15446)
3212
574411d0
GM
3213 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3214 Add some entries.
3215 (authors): Remove unused local variables.
3216
79804536
SM
32172013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * profiler.el: Create a more coherent calltree from partial backtraces.
3220 (profiler-format): Hide the tail with `invisible' so that C-s can still
3221 find the hidden elements.
3222 (profiler-calltree-depth): Don't recurse so enthusiastically.
3223 (profiler-function-equal): New hash-table-test.
3224 (profiler-calltree-build-unified): New function.
3225 (profiler-calltree-build): Use it.
3226 (profiler-report-make-name-part): Indent the calltree less.
3227 (profiler-report-mode): Add visibility specs for profiler-format.
3228 (profiler-report-expand-entry, profiler-report-toggle-entry):
3229 Expand the whole subtree when provided with a prefix arg.
3230
238150c8
DG
32312013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3232
3233 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3234 iuwu-mod token.
3235 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3236 hanging iuwu-mod token.
3237 (ruby-smie--forward-token): Do not include a dot after a token in
3238 that token.
3239 (ruby-smie--backward-token): Likewise.
3240
b0949cc4
JL
32412013-10-08 Juri Linkov <juri@jurta.org>
3242
3243 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3244 to isearch-other-control-char.
3245 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3246 and isearch-post-command-hook to post-command-hook.
3247 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3248 and isearch-post-command-hook from post-command-hook.
3249 (isearch-unread-key-sequence)
3250 (isearch-reread-key-sequence-naturally)
3251 (isearch-lookup-scroll-key, isearch-other-control-char)
3252 (isearch-other-meta-char): Remove functions.
3253 (isearch-pre-command-hook, isearch-post-command-hook):
3254 New functions based on isearch-other-meta-char rewritten
3255 relying on the new behavior of overriding-terminal-local-map
3256 that does not replace the local keymaps any more. (Bug#15200)
3257
4ed77415
EZ
32582013-10-08 Eli Zaretskii <eliz@gnu.org>
3259
3260 Support menus on text-mode terminals.
3261 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3262 functionality.
3263
3264 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3265
c2de5588
DK
3266 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3267 Move here from mouse.el.
4ed77415
EZ
3268 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3269 and arrow keys.
3270 (tty-menu-navigation-map): New map for TTY menu navigation.
3271
3272 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3273
3274 * frame.el (display-mouse-p): Report text-mode mouse as available
3275 on w32.
3276 (display-popup-menus-p): Report availability if mouse is
3277 available; don't condition on window-system.
3278
3279 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3280 (tty-menu-selected-face): New faces.
3281
b7d5bd82
TL
32822013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3283
06286513
SM
3284 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3285 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3286 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3287 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3288 New constants.
3289 (lisp-mode-variables): New `elisp' argument.
3290 (emacs-lisp-mode): Use it.
3291 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3292 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3293
b7d5bd82
TL
3294 * indent.el: Use lexical-binding.
3295 (indent-region): Add progress reporter.
3296 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3297 last step.
3298 (indent--next-tab-stop): New function to implement this behavior.
3299 (tab-to-tab-stop, move-to-tab-stop): Use it.
3300
33012013-10-08 Teemu Likonen <tlikonen@iki.fi>
3302
3303 * indent.el (indent-rigidly--current-indentation): New function.
3304 (indent-rigidly-map): New var.
3305 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3306
5ea75d23
BG
33072013-10-08 Bastien Guerry <bzg@gnu.org>
3308
3309 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3310
cc5da1ec
SM
33112013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3312
8ffa1a0b
SM
3313 * progmodes/perl-mode.el: Use lexical-binding.
3314 Remove redundant :group args.
3315 (perl-nochange): Change default to be closer to other major modes's
3316 standard behavior.
3317 (perl-indent-line): Don't consider text on current line as a
3318 valid beginning of function from which to indent.
3319
f2223371
SM
3320 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3321 with more than one argument (bug#15538).
3322
44256060
SM
3323 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3324
cc5da1ec
SM
3325 * vc/pcvs.el: Use lexical-binding.
3326 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3327 environment of `eval'.
3328 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3329 than a list of expressions. Adjust callers.
3330 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3331
0ea1599d
DG
33322013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3333
3334 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3335 case of the dot in a chained method call being on the following line.
0ea1599d 3336
da3e5ebb
SM
33372013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3338
2abb4e65
SM
3339 * electric.el (electric-indent-inhibit): New var.
3340 (electric-indent-post-self-insert-function): Use it.
3341 * progmodes/python.el (python-mode): Set it.
3342
d2e0e795
SM
3343 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3344 open braces.
3345
3346 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3347
bdc6b4c8
SM
3348 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3349 (css-mode): Use electric-indent-chars.
3350
da3e5ebb
SM
3351 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3352 (font-lock-beg, font-lock-end): Move before first use.
3353 (nxml-mode): Use syntax-propertize-function.
3354 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3355 (nxml-extend-after-change-region): Remove.
3356 * nxml/xmltok.el: Use lexical-binding.
3357 (xmltok-save): Use `declare'.
3358 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3359 * nxml/nxml-util.el: Use lexical-binding.
3360 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3361 Use `declare'.
3362 * nxml/nxml-ns.el: Use lexical-binding.
3363 (nxml-ns-save): Use `declare'.
3364 (nxml-ns-prefixes-for): Avoid add-to-list.
3365 * nxml/rng-match.el: Use lexical-binding.
3366 (rng--ipattern): Use cl-defstruct.
3367 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3368 (rng-cons-group-after, rng-subst-group-after)
3369 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3370 Use closures instead of `(lambda...).
3371
f8f91d5d
MA
33722013-10-07 Michael Albinus <michael.albinus@gmx.de>
3373
3374 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3375 of BEG and END.
3376
da3e5ebb
SM
3377 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3378 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3379 (tramp-gvfs-handle-insert-file-contents): Remove function.
3380
da3e5ebb
SM
3381 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3382 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3383
3384 * net/trampver.el: Update release number.
3385
7ccae3b1
SM
33862013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3387
55ca2c0d
SM
3388 * progmodes/compile.el (compilation-parse-errors):
3389 Use compilation--put-prop.
3390 (compilation--ensure-parse): Check compilation-multiline.
3391
731fc3ae
SM
3392 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3393
da3e5ebb
SM
3394 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3395 lexical-binding.
a5833280 3396
2e7ba2c2
SM
3397 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3398
7ccae3b1
SM
3399 * progmodes/ruby-mode.el: Fix recently added tests.
3400 (ruby-smie-grammar): Add - and +.
3401 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3402 (ruby-smie--backward-id): New functions.
3403 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3404 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3405 any more.
3406
85698d63
LL
34072013-10-07 Leo Liu <sdl.web@gmail.com>
3408
3409 * register.el (register-preview-delay)
3410 (register-preview-functions): New variables.
3411 (register-read-with-preview, register-preview)
3412 (register-describe-oneline): New functions.
3413 (point-to-register, window-configuration-to-register)
3414 (frame-configuration-to-register, jump-to-register)
3415 (number-to-register, view-register, insert-register)
3416 (copy-to-register, append-to-register, prepend-to-register)
3417 (copy-rectangle-to-register): Use register-read-with-preview to
3418 read register. (Bug#15525)
3419
3986af6c
DS
34202013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3421
3422 * net/network-stream.el (network-stream-open-starttls): Don't add
3423 --insecure if it's already present, because that gnutls-cli
3424 rejects getting that parameter twice.
3425
5cd9cda9
DG
34262013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3427
3428 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3429 keyword, too.
3430
da9ea6d9
DG
34312013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3432
3433 * newcomment.el (comment-use-global-state): Change default value
3434 to t, mark obsolete (Bug#15251).
3435 (comment-beginning): In addition to `comment-to-syntax', check the
3436 value of `comment-use-global-state'.
3437
34d1a133
SM
34382013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3439
3440 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3441 (ruby-comment-column): Follow the global default, by default.
3442 (ruby-smie-grammar): Add assignment syntax.
3443 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3444 open-paren, a comma, or a \.
3445 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3446 and line continuations.
3447 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3448 followed by implicit semi-colons. Add rule for string concatenation
3449 and for indentation at BOB.
3450 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3451
3452 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3453 calling next-sexp, since next-token may have skipped chars which
3454 next-sexp doesn't know should be skipped!
3455
6f6ab820
LL
34562013-10-05 Leo Liu <sdl.web@gmail.com>
3457
34d1a133
SM
3458 * progmodes/octave.el (octave-send-region):
3459 Call compilation-forget-errors.
6f6ab820 3460
34ca0f4c
XF
34612013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3462
3463 * vc/vc-svn.el (vc-svn-find-admin-dir):
3464 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3465 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3466 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3467 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3468
a27c1b72
SM
34692013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3472
258ab3bc
SM
34732013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3474
3475 * subr.el (read-passwd): Hide chars even when called within a context
3476 where after-change-functions is disabled (bug#15501).
3477 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3478 until we removed ourself from overriding-terminal-local-map.
3479
939fb29c
LL
34802013-10-04 Leo Liu <sdl.web@gmail.com>
3481
258ab3bc
SM
3482 * progmodes/octave.el (inferior-octave-mode):
3483 Call compilation-forget-errors.
939fb29c 3484
63bd7f35
XF
34852013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3486
3487 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3488
9e6229fa
MA
34892013-10-04 Michael Albinus <michael.albinus@gmx.de>
3490
3491 * net/secrets.el (secrets-create-collection): Add optional
3492 argument ALIAS. Use proper Label keyword. Append ALIAS as
3493 dbus-call-method argument. (Bug#15516)
3494
1dab32a3
LL
34952013-10-04 Leo Liu <sdl.web@gmail.com>
3496
3497 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3498 (inferior-octave-compilation-font-lock-keywords): New variables.
3499 (compilation-error-regexp-alist)
3500 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3501 (inferior-octave-mode): Use compilation-shell-minor-mode.
3502
6cad7ba3
JS
35032013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3504
3505 * minibuffer.el (completion--replace): Be careful that `end' might be
3506 a marker.
3507
acbadd00
DU
35082013-10-03 Daiki Ueno <ueno@gnu.org>
3509
3510 Add support for package signature checking.
3511 * emacs-lisp/package.el (url-http-file-exists-p)
3512 (epg-make-context, epg-context-set-home-directory)
3513 (epg-verify-string, epg-context-result-for)
3514 (epg-signature-status, epg-signature-to-string)
3515 (epg-check-configuration, epg-configuration)
3516 (epg-import-keys-from-file): Declare.
3517 (package-check-signature): New user option.
3518 (package-unsigned-archives): New user option.
3519 (package-desc): Add `signed' field.
3520 (package-load-descriptor): Set `signed' field if .signed file exists.
3521 (package--archive-file-exists-p): New function.
3522 (package--check-signature): New function.
3523 (package-install-from-archive): Check package signature.
3524 (package--download-one-archive): Check archive signature.
3525 (package-delete): Remove .signed file.
3526 (package-import-keyring): New command.
3527 (package-refresh-contents): Import default keyring.
3528 (package-desc-status): Add "unsigned" status.
3529 (describe-package-1, package-menu--print-info)
3530 (package-menu-mark-delete, package-menu--find-upgrades)
3531 (package-menu--status-predicate): Support "unsigned" status.
3532
adf2aa61
SM
35332013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3536 the new compilation scheme using the new byte-codes.
3537
3538 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3539 (byte-pophandler): New byte codes.
3540 (byte-goto-ops): Adjust accordingly.
3541 (byte-compile--use-old-handlers): New var.
3542 (byte-compile-catch): Use new byte codes depending on
3543 byte-compile--use-old-handlers.
3544 (byte-compile-condition-case--old): Rename from
3545 byte-compile-condition-case.
3546 (byte-compile-condition-case--new): New function.
3547 (byte-compile-condition-case): New function that dispatches depending
3548 on byte-compile--use-old-handlers.
3549 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3550 when we can.
3551
3552 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3553 Optimize under `condition-case' and `catch' if
3554 byte-compile--use-old-handlers is nil.
3555 (disassemble-offset): Handle new bytecodes.
3556
328a8179
SM
35572013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * subr.el (error): Use `declare'.
3560 (decode-char, encode-char): Use advertised-calling-convention instead
3561 of the docstring to discourage use of the `restriction' arg.
3562
15a1e936
DU
35632013-10-03 Daiki Ueno <ueno@gnu.org>
3564
3565 * epg.el (epg-verify-file): Add a comment saying that it does not
3566 notify verification error as a return value nor a signal.
3567 (epg-verify-string): Ditto.
3568
376f862a
KR
35692013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3570
3571 * progmodes/compile.el (compilation-start): Try globbing the arg to
3572 `cd' (bug#15417).
3573
a2f93a5f
MA
35742013-10-02 Michael Albinus <michael.albinus@gmx.de>
3575
3576 Sync with Tramp 2.2.8.
3577
3578 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3579 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3580 * net/trampver.el: Update release number.
3581
0daa0804
JD
35822013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3583
3584 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3585 and default-process-coding-system for darwin only.
3586
abd1ae34
SM
35872013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3588
3589 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3590
be4e325d
MH
35912013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3592
3593 * vc/vc-git.el (vc-git-grep): Disable pager.
3594
e9155c4a
DG
35952013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3596
494e898b
DG
3597 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3598 Use :url instead of :homepage, as per
3599 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3600
e9155c4a
DG
3601 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3602 non-nil, use `syntax-ppss' (Bug#15251).
3603
481a8e0f
RS
36042013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3605
be4e325d
MH
3606 * progmodes/octave.el (inferior-octave-startup-file):
3607 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3608
056453c6
DG
36092013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3610
be4e325d
MH
3611 * emacs-lisp/package.el (package-desc-from-define):
3612 Accept additional arguments as plist, convert them to an alist and store
3613 them in the `extras' slot.
056453c6
DG
3614 (package-generate-description-file): Convert extras alist back to
3615 plist and append to the `define-package' form arguments.
3616 (package--alist-to-plist): New function.
3617 (package--ac-desc): Add `extras' slot.
3618 (package--add-to-archive-contents): Check if the archive-contents
3619 vector is long enough, and if it is, pass its `extras' slot value
3620 to `package-desc-create'.
3621 (package-buffer-info): Call `lm-homepage', pass the returned value
3622 to `package-desc-from-define'.
3623 (describe-package-1): Render the homepage button (Bug#13291).
3624
be4e325d
MH
3625 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3626 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3627
832966e5
JD
36282013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3629
3630 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3631 and default-process-coding-system to utf-8-unix (Bug#15402).
3632
6cfe977d
XF
36332013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3634
3635 * subr.el (looking-back): Do not recommend using looking-back.
3636
38de11bd
AM
36372013-09-28 Alan Mackenzie <acm@muc.de>
3638
3639 Fix indentation/fontification of Java enum with "implements".
3640
3641 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3642 regexp which matches "implements", etc., in Java.
3643 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3644 specifier clauses coming after "enum".
3645 * progmodes/cc-fonts.el (c-font-lock-declarations)
3646 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3647 after "enum".
3648
1610938f
JD
36492013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3650
3651 * faces.el (region): Change ns_selection_color to
3652 ns_selection_fg_color, add ns_selection_bg_color.
3653
e090f499
LL
36542013-09-28 Leo Liu <sdl.web@gmail.com>
3655
4d2e94d1
LL
3656 * progmodes/octave.el (inferior-octave-completion-table)
3657 (inferior-octave-completion-at-point): Minor tweaks.
3658
e090f499
LL
3659 * textmodes/ispell.el (ispell-lookup-words): Rename from
3660 lookup-words. (Bug#15460)
3661 (lookup-words): Obsolete.
3662 (ispell-complete-word, ispell-command-loop): All uses changed.
3663
7e138a62
RS
36642013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3665
3666 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3667 (octave-mode-menu): Add octave-send-buffer.
3668 (octave-send-buffer): New function.
3669
5af5ed08
RS
36702013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3671
3672 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3673 octave-lookfor.
3674 (octave-mode-menu): Add octave-lookfor.
3675 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3676 octave-lookfor.
3677 (octave-lookfor): New function.
3678
3b7b2692
SM
36792013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * emacs-lisp/cl-macs.el:
3682 (cl--loop-destr-temps): Remove.
3683 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3684 its convention.
3685 (cl--loop-set-iterator-function): New function.
3686 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3687 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3688 Bind `it' with `let' instead of substituting it with `cl-subst'.
3689 (cl--unused-var-p): New function.
3690 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3691 Eliminate some unused variable warnings (bug#15326).
3692
529fb53f
TH
36932013-09-27 Tassilo Horn <tsdh@gnu.org>
3694
3695 * doc-view.el (doc-view-scale-reset): Rename from
3696 `doc-view-reset-zoom-level'.
3697 (doc-view-scale-adjust): New command.
3698 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3699 `doc-view-scale-adjust'.
3700
0550c95a
TH
37012013-09-26 Tassilo Horn <tsdh@gnu.org>
3702
3703 * doc-view.el (doc-view-reset-zoom-level): New command.
3704 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3705 zoom commands (bug#15466).
3706
6950f152
KH
37072013-09-26 Kenichi Handa <handa@gnu.org>
3708
3709 * international/quail.el (quail-help): Make it not a command.
3710
39587580
LL
37112013-09-26 Leo Liu <sdl.web@gmail.com>
3712
3713 * minibuffer.el (completion-all-sorted-completions): Make args
3714 optional as they are.
3715
00578659
DC
37162013-09-25 Daniel Colascione <dancol@dancol.org>
3717
3718 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3719 specs are and that they're not evaluated.
3720
0c173878
SS
37212013-09-24 Sam Steingold <sds@gnu.org>
3722
3723 * midnight.el (clean-buffer-list-kill-regexps)
3724 (clean-buffer-list-kill-buffer-names): Update for the new Man
3725 buffer naming which includes the object name.
3726
84998447
SM
37272013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3730 (eshell-parse-command, eshell-parse-pipeline): Use it since
3731 eshell-separate-commands requires a dynamic scoped var.
3732 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3733
33215353
LL
37342013-09-23 Leo Liu <sdl.web@gmail.com>
3735
3736 * autoinsert.el (auto-insert-alist): Make the value of
3737 lexical-binding match its file setting.
3738
57b16162
JB
37392013-09-23 Juanma Barranquero <lekktu@gmail.com>
3740
c8af4e67
JB
3741 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3742
57b16162
JB
3743 * autoarg.el (autoarg-kp-digit-argument):
3744 * electric.el (Electric-command-loop):
3745 * kmacro.el (kmacro-step-edit-insert):
3746 Do not set universal-argument-num-events.
3747
7186ba60
LL
37482013-09-22 Leo Liu <sdl.web@gmail.com>
3749
3750 * files.el (interpreter-mode-alist): Add octave.
3751
ece15004
AM
37522013-09-21 Alan Mackenzie <acm@muc.de>
3753
3754 C++: fontify identifier in declaration following "public:" correctly.
3755 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3756 to match "public", etc.
3757 (c-decl-prefix-re): Add ":" into the C++ value.
3758 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3759 bit. Add a check for a ":" preceded by "public", etc.
3760
75d83e22
EZ
37612013-09-21 Eli Zaretskii <eliz@gnu.org>
3762
3763 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3764 recognized by GDB 7.5 and later.
3765
d052d3bd
XF
37662013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3767
3768 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3769
31dca772
R
37702013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3771
3772 * subr.el (internal--call-interactively): New const.
3773 (called-interactively-p): Use it (bug#3984).
3774
98ccf24e
XF
37752013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3776
3777 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3778 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3779 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3780
c39cc7d1
SM
37812013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3784 (eshell-ls-orig-insert-directory): Remove.
3785 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3786 (eshell-ls-use-in-dired): Use advice-add/remove.
3787 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3788 Add `orig-fun' arg for use in :around advice.
3789 Make it check (redundantly) eshell-ls-use-in-dired.
3790
9a0289a2
GM
37912013-09-19 Glenn Morris <rgm@gnu.org>
3792
a2c501b8
GM
3793 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3794
c440407a
GM
3795 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3796
9a0289a2
GM
3797 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3798
85e05915
MA
37992013-09-19 Michael Albinus <michael.albinus@gmx.de>
3800
3801 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3802 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3803 (tramp-get-remote-python): New defuns.
3804 (tramp-get-remote-uid-with-perl)
3805 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3806 contributed by yary <not.com@gmail.com> (tiny change).
3807 (tramp-get-remote-uid-with-python)
3808 (tramp-get-remote-gid-with-python): New defuns. Python code
3809 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3810 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3811
ce503312
GM
38122013-09-19 Glenn Morris <rgm@gnu.org>
3813
f7544773
GM
3814 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3815
72fd2877
GM
3816 * eshell/em-unix.el (eshell-remove-entries):
3817 Rename argument to avoid name-clash with global `top-level'.
3818
336b5a56
GM
3819 * eshell/esh-proc.el (eshell-kill-process-function):
3820 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3821 (eshell-reset-after-proc): Remove unused arg `proc'.
3822
57a3a53d
GM
3823 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3824 (directory-files-and-attributes): Mark unused arg.
3825
3261d4af
GM
3826 * eshell/em-unix.el (eshell-remove-entries):
3827 Remove unused arg `path'. Update callers.
3828
8e51b5d0
GM
3829 * eshell/em-hist.el (eshell-hist-parse-arguments):
3830 Remove unused arg `silent'. Update callers.
3831
ce503312
GM
3832 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3833 Fix (f)boundp mix-up.
3834
3835 * eshell/em-smart.el (eshell-smart-scroll-window)
3836 (eshell-disable-after-change):
336b5a56 3837 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3838
ee3ce8a7
AM
38392013-09-18 Alan Mackenzie <acm@muc.de>
3840
3841 Fix fontification of type when followed by "const".
3842 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3843 "known" types from fontification.
3844
ec9177ba
GM
38452013-09-18 Glenn Morris <rgm@gnu.org>
3846
7bb3e768
GM
3847 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3848 (chart-face-list): Drop Emacsen without display-color-p.
3849
5148da15
GM
3850 * net/eww.el (libxml-parse-html-region): Declare.
3851 (eww-display-html): Explicit error if no libxml2 support.
3852
2f68e157
GM
3853 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3854
9019d095
GM
3855 * image.el (image-type-from-buffer, image-multi-frame-p):
3856 Remove --without-x warning/error.
67645389 3857
5f30349b 3858 * mouse.el (mouse-yank-primary):
45069b2e 3859 * term.el (term-mouse-paste):
5f30349b
GM
3860 Reorder to silence --without-x compilation.
3861
cd8edbbe
GM
3862 * mpc.el (doc-view-mode): Silence --without-x compilation.
3863
8a78544e
GM
3864 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3865 Silence --without-x compilation.
3866
12679bfd
GM
3867 * progmodes/gud.el (gud-find-file, gud-mode):
3868 Silence --without-x compilation.
3869 (tooltip-mode): Declare.
30810a05 3870
f0047cb9
GM
3871 * wdired.el (dired-backup-overwrite): Remove declaration.
3872 (wdired-mode-map): Add doc string.
3873
e740f9d2
GM
3874 * custom.el (x-get-resource): Declare.
3875
92d77c89
GM
3876 * eshell/em-glob.el (ange-cache):
3877 * eshell/em-unix.el (ange-cache): Declare.
3878
76e69577
GM
3879 * faces.el (x-display-list, x-open-connection, x-get-resource):
3880 Declare.
7e58af4b
GM
3881
3882 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3883 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3884 Declare.
76e69577 3885
4bd4c0af 3886 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3887
ffb82dbd
GM
3888 * net/gnutls.el (gnutls-log-level): Declare.
3889
986ed135
GM
3890 * net/shr.el (image-size, image-animate): Declare.
3891
e740f9d2
GM
3892 * simple.el (font-info): Declare.
3893
d2f3e9f8
GM
3894 * subr.el (x-popup-dialog): Declare.
3895
047a1a4c
GM
3896 * term/common-win.el (x-select-enable-primary)
3897 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3898 Declare.
3899
f4a1d572
GM
3900 * term/ns-win.el (x-handle-args): Declare.
3901
e843de77
GM
3902 * term/x-win.el (x-select-enable-clipboard): Declare.
3903
5fa89513
GM
3904 * term/w32-win.el (create-default-fontset): Declare.
3905
38702b5b
GM
3906 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3907 Declare.
3908
e740f9d2
GM
3909 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3910 (fit-frame-to-buffer): Explicit error if --without-x.
3911 (mouse-autoselect-window-select): Silence compiler.
3912
49a053fc
GM
3913 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3914
3915 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3916 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3917 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3918 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3919 Remove unused local variables.
3920
3921 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3922
ec9177ba
GM
3923 * textmodes/two-column.el: Make 2C-split work for --without-x.
3924 (scroll-bar-columns): Autoload.
3925 (top-level): Require fringe when compiling.
3926
9f25cb77
LL
39272013-09-18 Leo Liu <sdl.web@gmail.com>
3928
3929 * subr.el (add-hook): Robustify to handle closure as well.
3930
2b42da98
GM
39312013-09-17 Glenn Morris <rgm@gnu.org>
3932
3933 * simple.el (messages-buffer-mode-map): Unbind "g".
3934
e8b66a6a
SM
39352013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3936
9c0ad4f7
SM
3937 * help-mode.el (help-mode-finish): Use derived-mode-p.
3938 Remove obsolete highlighting.
3939
7a806dfb
SM
3940 * play/life.el (life-mode): Use define-derived-mode. Derive from
3941 special-mode.
3942 (life): Let-bind inhibit-read-only.
3943 (life-setup): Avoid `setq'. Use `life-mode'.
3944
96dbf5a8
SM
3945 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3946 which should not be needed any more.
3947 (package-menu-refresh, package-menu-describe-package): Use user-error.
3948
e8b66a6a
SM
3949 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3950 (eshell-post-rewrite-command-hook): Make obsolete.
3951 (eshell-parse-command): Simplify.
3952 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3953 (eshell--cmd): Declare.
3954 (eshell-parse-pipeline): Remove unused var `final-p'.
3955 Pass a dynvar to eshell-post-rewrite-command-hook.
3956 Implement the new eshell-post-rewrite-command-function.
3957 (eshell-invoke-directly): Remove unused arg `input'.
3958 * eshell/esh-io.el (eshell-io-initialize):
3959 Use eshell-post-rewrite-command-function (bug#15399).
3960 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3961 adjust to new calling convention.
3962 (eshell-create-handles): Rename args to avoid clashing with dynvar
3963 `standard-output'.
3964
90582f05
GM
39652013-09-17 Glenn Morris <rgm@gnu.org>
3966
3967 * simple.el (messages-buffer-mode): New major mode.
3968 (messages-buffer): New function.
3969 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3970 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3971 (ert-run-test): Use `messages-buffer' function.
90582f05 3972 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3973 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3974 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3975
39eb0cb5 39762013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3977
3978 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3979
1d42e5b6 3980 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 3981
70568a90
SM
39822013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3983
504a0381
SM
3984 * icomplete.el (icomplete-in-buffer): New var.
3985 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3986 vars and replace them with functions.
3987 (icomplete-minibuffer-setup): Adjust accordingly.
3988 (icomplete--completion-table, icomplete--completion-predicate)
3989 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3990 New functions.
3991 (icomplete-forward-completions, icomplete-backward-completions)
3992 (icomplete-simple-completing-p, icomplete-exhibit)
3993 (icomplete-completions): Use them.
3994 (icomplete--in-region-buffer): New var.
3995 (icomplete--in-region-setup): New function.
3996 (icomplete-mode): Use it.
3997
70568a90
SM
3998 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3999 (bug#15379).
4000 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4001 return args and options.
4002 (eshell-eval-using-options): Use the new return value of
4003 eshell--do-opts to set the options's vars in their scope.
4004 (eshell--set-option): Rename from eshell-set-option.
4005 Add arg `opt-vals'.
4006 (eshell--process-option): Rename from eshell-process-option.
4007 Add arg `opt-vals'.
4008 (eshell--process-args): Use an `opt-vals' alist to store the options's
4009 values during their processing and return them additionally to the
4010 remaining args.
4011
578c21bc
DG
40122013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4013
4014 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4015 continuation character an operator, as far as indentation is
4016 concerned (Bug#15369).
4017
c089653d
MR
40182013-09-15 Martin Rudalics <rudalics@gmx.at>
4019
4020 * window.el (window--state-put-2): Don't process buffer state
4021 when buffer doesn't exist any more (Bug#15382).
4022
1e53bb4b
GM
40232013-09-15 Glenn Morris <rgm@gnu.org>
4024
30753242
GM
4025 * eshell/em-unix.el (eshell/rm):
4026 Make -f ignore missing files. (Bug#15373)
4027
1e53bb4b
GM
4028 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4029 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4030 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4031
0d8863b3
GM
40322013-09-14 Glenn Morris <rgm@gnu.org>
4033
4034 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4035
d3fc6549
GM
40362013-09-13 Glenn Morris <rgm@gnu.org>
4037
4038 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4039 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4040
fcd42c11
DA
40412013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4042
4043 * frame.el (x-focus-frame): Mark as declared in frame.c.
4044
7830899f
SM
40452013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * ls-lisp.el: Use advice-add.
4048 (original-insert-directory): Remove.
4049 (ls-lisp--insert-directory): Rename from insert-directory; add
4050 `orig-fun' argument.
4051 (insert-directory): Advise.
4052
84387cd2
EZ
40532013-09-13 Eli Zaretskii <eliz@gnu.org>
4054
4055 * term.el (term-emulate-terminal): Decode the command string
4056 before passing it to term-command-hook. (Bug#15337)
4057
35ffc6ba
GM
40582013-09-13 Glenn Morris <rgm@gnu.org>
4059
5c3f9bcc
GM
4060 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4061
2ada368a
GM
4062 * eshell/esh-ext.el (eshell-search-path): Declare.
4063
fcef2e13
GM
4064 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4065 Otherwise an error occurs if eshell-dirs module not loaded.
4066
35ffc6ba
GM
4067 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4068
35c3d36e
MA
40692013-09-13 Michael Albinus <michael.albinus@gmx.de>
4070
4071 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4072 `tramp-check-proper-host'. Check for a valid method name.
4073
4074 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4075 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4076 * net/tramp-sh.el (tramp-maybe-open-connection):
4077 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4078
4079 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4080 also for hash values.
4081
ae5e4c48
SM
40822013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4083
379add74
SM
4084 * term/ns-win.el (parameters): Don't declare as dynamic.
4085 (before-make-frame-hook): Don't add ineffective function.
4086
ae5e4c48
SM
4087 * eshell/*.el: Use lexical-binding (bug#15231).
4088
b5623270
KH
40892013-09-12 Kenichi Handa <handa@gnu.org>
4090
ae5e4c48 4091 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4092
30213927
GM
40932013-09-12 Glenn Morris <rgm@gnu.org>
4094
be94d713 4095 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4096 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4097
44915370
GM
4098 * subr.el (do-after-load-evaluation): Also give compiler warnings
4099 when obsolete files are used (except by obsolete files).
4100
a6ae021f
GM
4101 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4102 in the status output, assume `filename' is the first. (Bug#15322)
4103
40e64f0c
GM
4104 * vc/vc.el (vc-deduce-fileset): Doc fix.
4105
16d9f896
GM
4106 * calc/calc-help.el (Info-goto-node):
4107 * progmodes/cperl-mode.el (Info-find-node):
4108 * vc/ediff.el (Info-goto-node): Update declarations.
4109
dea01c6e
GM
4110 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4111
759880bf 4112 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4113 (vc-bzr-pull): Require vc-dispatcher.
4114 * vc/vc-git.el (vc-compilation-mode): Declare.
4115 (vc-git-pull): Require vc-dispatcher.
4116
08d66420
GM
4117 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4118
30b626e9
GM
4119 * progmodes/octave.el (help-button-action): Declare.
4120
8c05cb10
GM
4121 * shell.el (shell-directory-tracker): Output error as a message
4122 rather than just returning it as a string.
4123 (shell-process-pushd): Remove useless use of message.
4124
30213927
GM
4125 * dframe.el (dframe-timer-fn):
4126 * files.el (dir-locals-read-from-file):
4127 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4128 (mpc-format):
4129 * reveal.el (reveal-post-command):
4130 * saveplace.el (load-save-place-alist-from-file):
4131 * shell.el (shell-resync-dirs):
4132 * w32-common-fns.el (x-get-selection-value):
4133 * emacs-lisp/copyright.el (copyright-find-copyright):
4134 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4135 * emulation/tpu-edt.el (tpu-copy-keyfile):
4136 * play/bubbles.el (bubbles--mark-neighbourhood):
4137 * progmodes/executable.el
4138 (executable-make-buffer-file-executable-if-script-p):
4139 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4140
d3b049e6
SM
41412013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4142
170266d0
SM
4143 Cleanup Eshell to rely less on dynamic scoping.
4144 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4145 last-value, and ext-command here. Bind `args' closer to `body'.
4146 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4147 (eshell--args): Declare new dynamic var.
4148 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4149 last-value, and ext-command. Pass `args' to `body'.
4150 (eshell-process-args): Bind eshell--args.
4151 (eshell-set-option): Use eshell--args.
4152 * eshell/eshell.el (eshell): Use derived-mode-p.
4153 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4154 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4155 (eshell-glob-function): Declare.
4156 * eshell/esh-util.el: Require cl-lib.
4157 (eshell-read-hosts-file): Avoid add-to-list.
4158 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4159 `err'.
4160 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4161 Declare.
4162 (eshell/diff): Remove unused var `err'.
4163 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4164 `killflag'.
4165 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4166 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4167 first use.
4168 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4169 Move declaration before first use.
4170 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4171 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4172 rely on cl-return.
4173
56834f3b
GM
41742013-09-12 Glenn Morris <rgm@gnu.org>
4175
4176 * term/ns-win.el (global-map): Remove binding for ispell-next,
4177 deleted 1999-05-29. (Bug#15357)
4178
5c91a2b8
GM
41792013-09-11 Glenn Morris <rgm@gnu.org>
4180
da712f22
GM
4181 * echistory.el (electric-command-history): Remove call to deleted func.
4182
512e4cdc
GM
4183 * play/landmark.el (landmark-mode): Fix typos.
4184
d3506ca5
GM
4185 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4186 Check cvs-sort-ignore-file is bound.
4187
5c91a2b8
GM
4188 * savehist.el: No need for cl when compiling on Emacs.
4189
feeff482
SM
41902013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4191
656bd483
SM
4192 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4193 (bug#15338).
d3b049e6
SM
4194 (eshell-self-insert-command, eshell-send-invisible):
4195 Remove unused argument.
656bd483
SM
4196 (eshell-handle-control-codes): Remove unused var `orig'.
4197 Avoid delete-backward-char.
4198
feeff482
SM
4199 * files.el (set-auto-mode): Simplify a bit further.
4200
2a08047a
GM
42012013-09-11 Glenn Morris <rgm@gnu.org>
4202
4203 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4204 (set-auto-mode): Don't regexp-quote elements.
4205 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4206 * progmodes/cc-mode.el (interpreter-mode-alist):
4207 * progmodes/ruby-mode.el (interpreter-mode-alist):
4208 Revert previous change.
4209
34675540
SM
42102013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4211
1b3b87df
SM
4212 * play/snake.el (snake-mode):
4213 * play/mpuz.el (mpuz-mode):
4214 * play/landmark.el (lm-mode):
4215 * play/blackbox.el (blackbox-mode):
4216 * play/5x5.el (5x5-mode):
4217 * obsolete/options.el (Edit-options-mode):
4218 * net/quickurl.el (quickurl-list-mode):
4219 * net/newst-treeview.el (newsticker-treeview-mode):
4220 * mail/rmailsum.el (rmail-summary-mode):
4221 * mail/mspools.el (mspools-mode):
4222 * locate.el (locate-mode):
4223 * ibuffer.el (ibuffer-mode):
4224 * emulation/ws-mode.el (wordstar-mode):
4225 * emacs-lisp/debug.el (debugger-mode):
4226 * array.el (array-mode):
4227 * net/eudc.el (eudc-mode): Use define-derived-mode.
4228 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4229 Move initialization into declaration.
4230 (mairix-searches-mode): Use define-derived-mode.
4231 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4232 (eudc-edit-hotlist): Use dolist.
4233 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4234 (Man-mode): Use define-derived-mode.
4235 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4236 (Info-edit-mode): Use define-derived-mode.
4237 (Info-cease-edit): Use Info-mode.
4238 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4239 into declaration.
4240 (eshell-mode): Use define-derived-mode.
4241 * chistory.el (command-history-mode-map): Rename from
4242 command-history-map.
4243 (command-history-mode): Use define-derived-mode.
da712f22 4244 (Command-history-setup): Remove function.
1b3b87df
SM
4245 * calc/calc.el (calc-trail-mode-map): New var.
4246 (calc-trail-mode): Use define-derived-mode.
4247 (calc-trail-buffer): Set calc-main-buffer manually.
4248 * bookmark.el (bookmark-insert-annotation): New function.
4249 (bookmark-edit-annotation): Use it.
4250 (bookmark-edit-annotation-mode): Make it a proper major mode.
4251 (bookmark-send-edited-annotation): Use derived-mode-p.
4252 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4253 closer to its ideal place. Use \' to match EOS.
4254
34675540
SM
4255 * profiler.el (profiler-calltree-find): Use function-equal.
4256
6a5c15d9
GM
42572013-09-10 Glenn Morris <rgm@gnu.org>
4258
1af4c220
GM
4259 * files.el (interpreter-mode-alist): Convert to regexps.
4260 (set-auto-mode): Adapt for this. (Bug#15306)
4261 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4262 Comment out unused variable.
4263 * progmodes/cc-mode.el (interpreter-mode-alist):
4264 * progmodes/python.el (interpreter-mode-alist):
4265 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4266 * progmodes/sh-script.el (sh-set-shell):
4267 No longer use interpreter-mode-alist to get list of shells.
4268
6a5c15d9
GM
4269 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4270
8c27f5ff
SM
42712013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4272
02ef6c1a 4273 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4274 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4275 Bind switch-frame explicitly. Replace universal-argument-minus with
4276 a conditional binding.
4277 (universal-argument-num-events, saved-overriding-map): Remove.
4278 (restore-overriding-map): Remove.
4279 (universal-argument--mode): Rename from save&set-overriding-map,
4280 and rewrite.
4281 (universal-argument, universal-argument-more, negative-argument)
4282 (digit-argument): Adjust accordingly.
4283 (universal-argument-minus): Remove.
4284 (universal-argument-other-key): Remove.
4285
8c27f5ff
SM
4286 * subr.el (with-demoted-errors): Add `format' argument.
4287
6480194c
MA
42882013-09-10 Michael Albinus <michael.albinus@gmx.de>
4289
4290 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4291 `tramp-cleanup-connection'.
4292
4293 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4294 parameters KEEP-DEBUG and KEEP-PASSWORD.
4295
4296 * net/tramp.el (tramp-file-name-handler):
4297 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4298 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4299 (tramp-maybe-open-connection):
8c27f5ff
SM
4300 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4301 Use `tramp-cleanup-connection'.
6480194c 4302
8c27f5ff
SM
4303 * net/tramp-sh.el (tramp-maybe-open-connection):
4304 Catch 'uname-changed inside the progress reporter.
6480194c 4305
e5e916d8
GM
43062013-09-10 Glenn Morris <rgm@gnu.org>
4307
9a2c9b47
GM
4308 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4309
e5e916d8
GM
4310 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4311 returns "alternate access method" in mode (eg "-rw-r--r--.").
4312
144e38fe
GM
43132013-09-08 Glenn Morris <rgm@gnu.org>
4314
4315 * saveplace.el (load-save-place-alist-from-file):
4316 Demote errors. (Bug#15305)
4317
af9ff9e8
MA
43182013-09-08 Michael Albinus <michael.albinus@gmx.de>
4319
4320 Improve compatibility with older Emacsen, and XEmacs.
4321
4322 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4323 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4324 (with-tramp-progress-reporter): Do not let-bind `result'.
4325 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4326 (tramp-handle-make-auto-save-file-name): New function, moved from
4327 tramp-sh.el.
4328
4329 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4330 for `make-auto-save-file-name'.
8c27f5ff
SM
4331 (tramp-adb--gnu-switches-to-ash):
4332 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4333
4334 * net/tramp-cache.el (tramp-cache-print): Call
4335 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4336
4337 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4338 bound. It isn't for XEmacs.
4339
8c27f5ff
SM
4340 * net/tramp-compat.el (tramp-compat-copy-file):
4341 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4342 (tramp-compat-replace-regexp-in-string): New defun.
4343
4344 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4345 for `make-auto-save-file-name'.
4346 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4347 `copy-file'.
4348 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4349 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4350 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4351
8c27f5ff
SM
4352 * net/tramp-gw.el (tramp-gw-open-network-stream):
4353 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4354
8c27f5ff
SM
4355 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4356 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4357 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4358 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4359 (tramp-sh-file-inotifywait-process-filter):
4360 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4361 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4362
4363 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4364 for `make-auto-save-file-name'.
8c27f5ff
SM
4365 (tramp-smb-handle-copy-directory):
4366 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4367 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4368 (tramp-smb-handle-copy-file): Improve error message.
4369 (tramp-smb-handle-rename-file): Rename directly only in case
4370 `newname' does not exist yet. This is a restriction of smbclient.
4371 (tramp-smb-maybe-open-connection): Rerun the function only when
4372 `auth-sources' is non-nil.
4373
0ca754d0
KH
43742013-09-08 Kenichi Handa <handa@gnu.org>
4375
e0eb0550 4376 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4377 more characters.
4378
e8dd0787
AM
43792013-09-07 Alan Mackenzie <acm@muc.de>
4380
4381 Correctly fontify Java class constructors.
4382 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4383 in Java Mode.
4384 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4385 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4386 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4387 "typeless" declaration there.
4388
f2f248e7
RW
43892013-09-07 Roland Winkler <winkler@gnu.org>
4390
4391 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4392 field subtitle for entry type book.
4393
67982e2b
SM
43942013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * minibuffer.el: Make minibuffer-complete call completion-in-region
4397 rather than other way around.
4398 (completion--some, completion-pcm--find-all-completions):
4399 Don't delay signals when debugging.
4400 (minibuffer-completion-contents): Beware fields within the
4401 minibuffer contents.
4402 (completion-all-sorted-completions): Use defvar-local.
4403 (completion--do-completion, completion--cache-all-sorted-completions)
4404 (completion-all-sorted-completions, minibuffer-force-complete):
4405 Add args `beg' and `end'.
4406 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4407 (minibuffer-complete): Use completion-in-region.
4408 (completion-complete-and-exit): New fun, extracted from
4409 minibuffer-complete-and-exit.
4410 (minibuffer-complete-and-exit): Use it.
4411 (completion--complete-and-exit): Rename from
4412 minibuffer--complete-and-exit.
4413 (completion-in-region--single-word): New function, extracted from
4414 minibuffer-complete-word.
4415 (minibuffer-complete-word): Use it.
4416 (display-completion-list): Make `common-substring' argument obsolete.
4417 (completion--in-region): Call completion--in-region-1 instead of
4418 minibuffer-complete.
4419 (completion-help-at-point): Pass boundaries to
4420 minibuffer-completion-help as args rather than via an overlay.
4421 (completion-pcm--string->pattern): Use `any-delim'.
4422 (completion-pcm--optimize-pattern): New function.
4423 (completion-pcm--pattern->regex): Handle `any-delim'.
4424 * icomplete.el (icomplete-forward-completions)
4425 (icomplete-backward-completions, icomplete-completions):
4426 Adjust calls to completion-all-sorted-completions and
4427 completion--cache-all-sorted-completions.
4428 (icomplete-with-completion-tables): Default to t.
4429 * emacs-lisp/crm.el (crm--current-element): Rename from
4430 crm--select-current-element. Don't put an overlay but return the
4431 boundaries instead.
4432 (crm--completion-command): Take two new args to bind to the boundaries.
4433 (crm-completion-help): Adjust accordingly.
4434 (crm-complete): Use completion-in-region.
4435 (crm-complete-word): Use completion-in-region--single-word.
4436 (crm-complete-and-exit): Use completion-complete-and-exit.
4437
e17d94a5
SM
44382013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4439
4440 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4441 than dynamically.
4442
96727100
JL
44432013-09-06 Juri Linkov <juri@jurta.org>
4444
4445 * info.el (Info-display-images-node): When image file doesn't exist
4446 display text version of the image if it's provided in the Info file.
4447 Otherwise, display the location of missing image from SRC attribute.
4448 Add help-echo text property from ALT attribute. (Bug#15279)
4449
86cf7329
SM
44502013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4453 (edit-abbrevs-mode): Use define-derived-mode.
4454
4455 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4456 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4457 that it's defined.
4458 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4459 Use define-derived-mode.
4460
4461 * epg.el (epg-start-encrypt): Minor CSE simplification.
4462
816244a2
WX
44632013-09-06 William Xu <william.xwl@gmail.com>
4464
4465 * arc-mode.el: Add support for 7za (bug#15264).
4466 (archive-7z-program): New var.
4467 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4468 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4469 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4470
1486fa31
MA
44712013-09-06 Michael Albinus <michael.albinus@gmx.de>
4472
4473 Remove URL syntax.
4474
4475 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4476 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4477 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4478 (tramp-postfix-host-format, tramp-file-name-regexp)
4479 (tramp-completion-file-name-regexp)
4480 (tramp-completion-dissect-file-name)
4481 (tramp-handle-substitute-in-file-name): Remove 'url case.
4482 (tramp-file-name-regexp-url)
4483 (tramp-completion-file-name-regexp-url): Remove constants.
4484
39785324
GM
44852013-09-06 Glenn Morris <rgm@gnu.org>
4486
4487 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4488
1f896cb7
DG
44892013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4490
4491 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4492 keywords" below "here-doc beginnings" (Bug#15270).
4493
c0458e0b
SM
44942013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * subr.el (pop): Use `car-safe'.
4497 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4498 to detect unused `pop' return value.
4499
4500 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4501 var `block-regexp'.
4502 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4503 (python-fill-string): Remove unused var `marker'.
4504 (python-skeleton-add-menu-items): Remove unused var `items'.
4505
4506 * international/mule-cmds.el: Require CL.
4507 (find-coding-systems-for-charsets): Avoid add-to-list.
4508 (sanitize-coding-system-list): New function, extracted from
4509 select-safe-coding-system-interactively.
4510 (select-safe-coding-system-interactively): Use it.
4511 (read-input-method-name): Accept symbols for `default'.
4512
4513 * emacs-lisp/advice.el (defadvice): Add indent rule.
4514
6c42fc3e
DH
45152013-09-05 Daniel Hackney <dan@haxney.org>
4516
4517 * dired-x.el:
4518 * net/ange-ftp.el:
4519 * net/browse-url.el:
4520 * net/dbus.el:
4521 * net/eudc.el:
4522 * net/eudcb-ldap.el:
4523 * net/eww.el:
4524 * net/imap.el:
4525 * printing.el:
4526 * vc/ediff-diff.el:
4527 * vc/ediff-init.el:
4528 * vc/ediff-merg.el:
4529 * vc/ediff-mult.el:
4530 * vc/ediff-util.el:
4531 * vc/ediff-wind.el:
4532 * vc/ediff.el:
4533 * vc/emerge.el:
4534 * vc/pcvs.el:
4535 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4536 byte compiler. Remove some unused let-bound variables.
4537
4c528aab
SM
45382013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4539
4540 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4541 a "ref-cell", since it gets better optimized (bug#14883).
4542
bd15c390
GM
45432013-09-05 Glenn Morris <rgm@gnu.org>
4544
4545 * progmodes/cc-awk.el (c-forward-sws): Declare.
4546
1c3ac2e5
GM
45472013-09-04 Glenn Morris <rgm@gnu.org>
4548
4549 * generic-x.el [rul-generic-mode]: Require cc-mode.
4550 (c++-mode-syntax-table): Declare.
4551 (rul-generic-mode-syntax-table): Init in the defvar.
4552
52b1cc79
SM
45532013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4554
c828af56
SM
4555 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4556 (vc-do-command, vc-set-async-update):
4557 * vc/vc-mtn.el (vc-mtn-dir-status):
4558 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4559 (vc-hg-pull, vc-hg-merge-branch):
4560 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4561 (vc-git-merge-branch):
4562 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4563 (vc-cvs-dir-status-files):
4564 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4565 (vc-bzr-dir-status-files):
4566 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4567 * vc/vc-annotate.el: Use lexical-binding.
4568 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4569 (vc-sentinel-movepoint): Declare.
4570 (vc-annotate): Don't use `goto-line'.
4571 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4572 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4573 (vc-sentinel-movepoint): Declare.
4574 * vc/vc-svn.el: Use lexical-binding.
4575 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4576 * vc/vc-sccs.el:
4577 * vc/vc-rcs.el: Use lexical-binding.
4578
abae272c
SM
4579 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4580 `deleted'. Don't drop errors silently.
4581
52b1cc79
SM
4582 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4583
63191d9f
XF
45842013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4585
4586 * vc/vc.el (vc-ignore): Rewrite.
4587 (vc-default-ignore): New function.
4588 (vc-default-ignore-completion-table): Use find-ignore-file.
4589
4590 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4591 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4592 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4593 Remove. Most code moved to vc.el.
4594
9d3f707c
SM
45952013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4596
abae272c 4597 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4598 * net/tramp-smb.el (tramp-smb-get-file-entries):
4599 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4600 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4601
fde38d49
SM
4602 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4603 Update call to it.
4604 (eww-change-select): Remove unused var `properties'.
4605 (eww-make-unique-file-name): Remove unused var `base'.
4606
4607 * finder.el (finder-compile-keywords): Don't mess with windows.
4608
84032db7
SM
4609 * calculator.el (calculator-funcall): Fix typo in last change.
4610
724f5e41
SM
4611 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4612
14b511d4
SM
4613 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4614 <pkg>-autoloads.el file stop us.
4615
9d3f707c 4616 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4617 warnings, and factor out common code.
9d3f707c 4618
88527bc0
DG
46192013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4620
4621 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4622 two-character operators and whether the character preceding them
4623 changes their meaning (Bug#15208).
4624
96edb677
FEG
46252013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4626
4627 Format code sent to Python shell for robustness.
9d3f707c
SM
4628 * progmodes/python.el (python-shell-buffer-substring):
4629 New function.
96edb677
FEG
4630 (python-shell-send-region, python-shell-send-buffer): Use it.
4631
95beaef3
MA
46322013-09-02 Michael Albinus <michael.albinus@gmx.de>
4633
4634 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4635 * net/tramp.el (tramp-user-error): ... here.
4636 (tramp-find-method, tramp-check-proper-host)
4637 (tramp-dissect-file-name, tramp-debug-message)
4638 (tramp-handle-shell-command):
4639 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4640 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4641
4642 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4643
f167c27b
MR
46442013-09-02 Martin Rudalics <rudalics@gmx.at>
4645
4646 * avoid.el (mouse-avoidance-point-position)
4647 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4648 returns nil.
4649
cd16c5f1
FEG
46502013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4651
4652 * progmodes/python.el (python-shell-completion-get-completions):
4653 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4654 (python-nav-if-name-main): New command.
cd16c5f1 4655
e73c3a0d
GM
46562013-09-01 Glenn Morris <rgm@gnu.org>
4657
f8ccce03
GM
4658 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4659 Avoid leading space in $wins. Otherwise the sed command used by
4660 eg compile-main ends up containing "/*.el". (Bug#15170)
4661
e73c3a0d
GM
4662 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4663
415f808e
GM
46642013-08-30 Glenn Morris <rgm@gnu.org>
4665
4666 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4667 Fix is-this-a-directory logic. (Bug#15220)
4668
f069bba8
SM
46692013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4670
112798c1
SM
4671 * textmodes/css-mode.el: Use SMIE.
4672 (css-smie-grammar): New var.
4673 (css-smie--forward-token, css-smie--backward-token)
4674 (css-smie-rules): New functions.
4675 (css-mode): Use them.
4676 (css-navigation-syntax-table): Remove var.
4677 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4678 (css-indent-calculate, css-indent-line): Remove functions.
4679
4680 Misc changes to reduce use of `(lambda...); and other cleanups.
4681 * cus-edit.el: Use lexical-binding.
4682 (customize-push-and-save, customize-apropos)
4683 (custom-buffer-create-internal): Use closures.
4684 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4685 * progmodes/ada-xref.el: Use setq.
4686 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4687 * dframe.el: Use lexical-binding.
4688 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4689 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4690 * descr-text.el: Use lexical-binding.
4691 (describe-text-widget, describe-text-sexp, describe-property-list):
4692 Use closures.
4693 * comint.el (comint-history-isearch-push-state): Use a closure.
4694 * calculator.el: Use lexical-binding.
4695 (calculator-number-to-string): Make it work with lexical-binding.
4696 (calculator-funcall): Same and use cl-letf.
4697
2da4c3ab
SM
4698 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4699 (lisp--company-doc-string, lisp--company-location): New functions.
4700 (lisp-completion-at-point): Use them to improve Company support.
4701
f069bba8
SM
4702 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4703 params of lambda expressions.
4704 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4705 (ruby-smie--opening-pipe-p): New function.
4706 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4707 symbols and matched |...| for formal params.
4708 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4709 from being treated as hanging. Handle "rescue".
4710
6758b6a8
GM
47112013-08-29 Glenn Morris <rgm@gnu.org>
4712
4713 * progmodes/cc-engine.el (c-pull-open-brace):
4714 Move definition before use.
4715
e8dfd197
SM
47162013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4719 are immutable. Don't use `unsafe' any more.
4720 (cl--defsubst-expand): Don't substitute at the same time as keeping
4721 a residual unused let-binding. Don't use `unsafe' any more.
4722
cc585c96
GM
47232013-08-29 Glenn Morris <rgm@gnu.org>
4724
ba579ea6
GM
4725 * calendar/cal-china.el (calendar-chinese-year-cache):
4726 Recenter on 2015.
4727
8201a87e
GM
4728 * nxml/nxml-util.el (nxml-debug-clear-inside):
4729 Use cl-loop rather than loop.
4730
6ee877c7
GM
4731 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4732
cc585c96
GM
4733 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4734
27be8d39
GM
47352013-08-28 Glenn Morris <rgm@gnu.org>
4736
397440a1
GM
4737 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4738
2bb762d4
GM
4739 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4740
27be8d39
GM
4741 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4742
2d69b99e
SM
47432013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4744
f663baa7
SM
4745 * simple.el (repeat-complex-command--called-interactively-skip):
4746 New function.
4747 (repeat-complex-command): Use it (bug#14136).
4748
dd4f8b74
SM
4749 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4750 (c-define-abbrev-table): Add `doc' argument.
4751 (c-mode-abbrev-table, c++-mode-abbrev-table)
4752 (objc-mode-abbrev-table, java-mode-abbrev-table)
4753 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4754 (awk-mode-abbrev-table): Use it.
4755 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4756 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4757 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4758 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4759 Move initialization into the declaration; and remove any
4760 autoload cookie.
4761
b58969f7
SM
4762 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4763 and dynamic let binding.
4764
4021d6a6
SM
4765 * vc/smerge-mode.el: Remove redundant :group args.
4766
2d69b99e
SM
4767 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4768 to load-path.
4769
274919fd
JL
47702013-08-28 Juri Linkov <juri@jurta.org>
4771
4772 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4773 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4774 (isearch-other-meta-char): Handle an undefined shifted printing
4775 character by downshifting it. (Bug#15200)
4776
121f8c95
JL
47772013-08-28 Juri Linkov <juri@jurta.org>
4778
4779 * isearch.el (isearch-search): Change regexp error message for
4780 non-regexp searches. (Bug#15166)
4781
50b13cde
PE
47822013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4783
4784 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4785 for portability to hosts where /bin/sh has problems.
4786
95888bca
SM
47872013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4788
4789 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4790
bbe558f1
JL
47912013-08-27 Juri Linkov <juri@jurta.org>
4792
4793 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4794 in the keyboard macro. (Bug#15126)
4795
26f98a7d
JL
47962013-08-27 Juri Linkov <juri@jurta.org>
4797
4798 * isearch.el (isearch-quote-char): Comment out converting unibyte
4799 to multibyte, thus syncing with its `quoted-insert' counterpart.
4800 (Bug#15166)
4801
7c97d35e
MR
48022013-08-27 Martin Rudalics <rudalics@gmx.at>
4803
4804 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4805 argument in call of get-largest-window (Bug#15185).
4806 Reported by Stephen Leake.
7c97d35e 4807
a0b5606e 48082013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4809
4810 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4811
9e89d835
SM
48122013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4815 from a matcher-function unless there's no more matches (bug#15161).
4816
78fc2530
MA
48172013-08-26 Michael Albinus <michael.albinus@gmx.de>
4818
4819 * minibuffer.el: Revert change from 2013-08-20.
4820
4821 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4822 with text property `tramp-default', if appropriate.
4823 (tramp-check-proper-host): New defun.
4824 (tramp-dissect-file-name): Do not check hostname. Revert change
4825 of 2013-03-18.
4826 (tramp-backtrace): Make VEC-OR-PROC optional.
4827
4828 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4829 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4830 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4831 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4832 Apply `tramp-check-proper-host'.
78fc2530 4833
edca97cd
TH
48342013-08-26 Tassilo Horn <tsdh@gnu.org>
4835
4836 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4837 lambda expression in order to have `describe-variable' display it.
4838
df54bcbd
MA
48392013-08-26 Michael Albinus <michael.albinus@gmx.de>
4840
4841 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4842 BUF can be optional. (Bug#15186)
4843
eed99101
XF
48442013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4845
4846 * progmodes/flymake.el (flymake-get-real-file-name-function):
4847 Fix broken customization. (Bug#15184)
4848
b5eb9035
AM
48492013-08-25 Alan Mackenzie <acm@muc.de>
4850
8a51e842
AM
4851 Improve indentation of bracelists defined by macros (without "=").
4852
4853 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4854 expansion begins with "{", regard it as bracelist when it doesn't
4855 contain a ";".
4856
869455d4
AM
4857 Parse C++ inher-intro when there's a template split over 2 lines.
4858
4859 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4860 rigorously the search for "class" etc. followed by ":".
4861
4862 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4863 random languages a regexp which never matches rather than nil.
4864
b5eb9035
AM
4865 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4866
4867 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4868 (c-awk-regexp-one-line-possibly-open-char-list-re)
4869 (c-awk-one-line-possibly-open-regexp-re)
4870 (c-awk-one-line-non-syn-ws*-re): Remove.
4871 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4872 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4873 (c-awk-space*-unclosed-regexp-/-re): New constants.
4874 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4875 aren't regexp delimiters.
4876
4877 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4878 handling for a rare situation in AWK Mode involving unterminated
4879 strings/regexps.
4880
61611d54
GM
48812013-08-23 Glenn Morris <rgm@gnu.org>
4882
2d85dc34
GM
4883 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4884
cb8d2612
GM
4885 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4886
bb35f42f
GM
4887 * files.el (create-file-buffer): If the result would begin with
4888 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4889
b9808e77
SM
48902013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4891
e3a66363
SM
4892 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4893 text-properties (bug#15155).
4894
b9808e77
SM
4895 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4896 exist any more.
4897 (calc-keypad-redraw): Remove unused var `pad'.
4898 (calc-keypad-press): Remove unused var `menu'.
4899
7fd5f65e
MR
49002013-08-23 Martin Rudalics <rudalics@gmx.at>
4901
b9808e77
SM
4902 * window.el (display-buffer-pop-up-frame):
4903 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4904 use it as the new frame's buffer (Bug#15133).
4905
8352b530
SM
49062013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * calendar/timeclock.el: Minor cleanups.
4909 (timeclock-ask-before-exiting, timeclock-use-display-time):
4910 Use `symbol'.
4911 (timeclock-modeline-display): Define as alias before the
4912 actual definition.
4913 (timeclock-mode-line-display): Use define-minor-mode.
4914 (timeclock-day-list-template): Make it a function, add an argument.
4915 (timeclock-day-list-required, timeclock-day-list-length)
4916 (timeclock-day-list-debt, timeclock-day-list-span)
4917 (timeclock-day-list-break): Adjust calls accordingly.
4918
9f7b1925
SM
49192013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4920
4921 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4922 Use read--expression so that completion works again.
4923
6e50e983
SS
49242013-08-21 Sam Steingold <sds@gnu.org>
4925
4926 Add rudimentary inferior shell interaction
4927 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4928 (sh-set-shell): Reset it.
9f7b1925
SM
4929 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4930 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4931
dbb0d350
SM
49322013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4933
4934 * align.el: Use lexical-binding.
4935 (align-region): Simplify accordingly.
4936
c88586a9
MA
49372013-08-20 Michael Albinus <michael.albinus@gmx.de>
4938
4939 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4940
4941 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4942 `non-essential' up.
4943
f95527c8
MA
49442013-08-17 Michael Albinus <michael.albinus@gmx.de>
4945
4946 * net/tramp.el:
4947 * net/tramp-adb.el:
4948 * net/tramp-cmds.el:
4949 * net/tramp-ftp.el:
4950 * net/tramp-gvfs.el:
4951 * net/tramp-gw.el:
4952 * net/tramp-sh.el: Don't wrap external variable declarations by
4953 `eval-when-compile'.
4954
4b5fe4ee
LMI
49552013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4956
4957 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4958 now that Emacs supports ImageMagick animations.
4959
13c366c9
MA
49602013-08-16 Michael Albinus <michael.albinus@gmx.de>
4961
4962 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4963 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4964
3dfc5cd6
MR
49652013-08-16 Martin Rudalics <rudalics@gmx.at>
4966
4967 * window.el (mouse-autoselect-window-select): Do autoselect when
4968 mouse pointer is on margin.
4969
4bbb4381
WP
49702013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4971
4972 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4973
3a2ddc2d
GM
49742013-08-16 Glenn Morris <rgm@gnu.org>
4975
e8bedf5a
GM
4976 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4977 Handle "Remote Directory" response of some clients. (Bug#15058)
4978
58c4682f
GM
4979 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4980 Tweak warning. (Bug#14926)
4981
57953f49
GM
4982 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4983 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4984
3a2ddc2d
GM
4985 * image-mode.el (image-mode-map): Add menu items to reverse,
4986 increase, decrease, reset animation speed.
4987 (image--set-speed, image-increase-speed, image-decrease-speed)
4988 (image-reverse-speed, image-reset-speed): New functions.
4989 (image-mode-map): Add bindings for speed commands.
4990
4991 * image.el (image-animate-get-speed, image-animate-set-speed):
4992 New functions.
4993 (image-animate-timeout): Respect image :speed property.
4994
10fa0ed3
SM
49952013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4996
4997 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4998 previous line (bug#15101).
4999 (debugger-eval-expression, debugger-record-expression):
5000 Use read--expression (bug#15102).
5001
5d89d9d2
MA
50022013-08-15 Michael Albinus <michael.albinus@gmx.de>
5003
5004 Remove byte compiler warnings, visible when compiling with
5005 `byte-compile-force-lexical-warnings' set to t.
5006
5007 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5008 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5009 (tramp-handle-unhandled-file-name-directory)
5010 (tramp-handle-file-notify-add-watch, tramp-action-login)
5011 (tramp-action-succeed, tramp-action-permission-denied)
5012 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5013 arguments with "_".
5014
5015 * net/tramp-adb.el (tramp-adb-parse-device-names)
5016 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5017 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5018 (tramp-adb-handle-file-truename): Remove unused arguments.
5019
5020 * net/tramp-cache.el (tramp-flush-directory-property)
5021 (tramp-flush-connection-property, tramp-list-connections)
5022 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5023
10fa0ed3
SM
5024 * net/tramp-compat.el (tramp-compat-make-temp-file):
5025 Rename FILENAME to F.
5d89d9d2
MA
5026
5027 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5028 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5029 (tramp-zeroconf-parse-workstation-device-names)
5030 (tramp-zeroconf-parse-webdav-device-names)
5031 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5032
5033 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5034 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5035
5036 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5037 arguments.
5038 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5039 (tramp-sh-handle-insert-file-contents-literally)
5040 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5041 with "_".
5042 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5043 Remove unused variables.
5044
5045 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5046 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5047 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5048
5049 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5050 Make them a defconst.
5051 (tramp-uuencode-region): Remove unused variable.
5052
62f33bae
JB
50532013-08-14 Juanma Barranquero <lekktu@gmail.com>
5054
5055 * frameset.el (frameset--prop-setter): New function.
5056 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5057 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5058 parameter was already set in FILTERED. Doc fix.
5059 (frameset--record-minibuffer-relationships): Allow saving a
5060 minibufferless frame without its corresponding minibuffer frame.
5061 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5062 frame, if the frame id matches.
5063 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5064 frames before orphaned ones.
5065 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5066
c660a885
MR
50672013-08-14 Martin Rudalics <rudalics@gmx.at>
5068
5069 * window.el (window-make-atom): Don't overwrite parameter
5070 already present.
5071 (display-buffer-in-atom-window): Handle special case where we
5072 split an already atomic window.
5073 (window--major-non-side-window, display-buffer-in-side-window)
5074 (window--side-check): Ignore minibuffer window when walking
5075 window tree.
5076 (window-deletable-p): Return 'frame only if no other frame uses
5077 our minibuffer window.
5078 (record-window-buffer): Run buffer-list-update-hook.
5079 (split-window): Make sure window--check-frame won't destroy an
5080 existing atomic window in case the new window gets nested
5081 inside.
5082 (display-buffer-at-bottom): Ignore minibuffer window when
5083 walking window tree. Don't split a side window.
5084 (pop-to-buffer): Don't set-buffer here, the select-window call
5085 should do that.
5086 (mouse-autoselect-window-select): Autoselect only if we are in the
5087 text portion of the window.
5088
8259030d
LMI
50892013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5090
21c58ae2
LMI
5091 * net/shr.el (shr-parse-image-data): New function to grab both the
5092 data itself and the Content-Type.
5093 (shr-put-image): Use it.
5094
5095 * net/eww.el (eww-display-image): Ditto.
5096
8259030d
LMI
5097 * image.el (image-content-type-suffixes): New variable.
5098
ad756449
FEG
50992013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5100
5101 * progmodes/python.el (python-imenu--build-tree)
5102 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5103
f73f4ce6
XF
51042013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5105
5106 * simple.el (backward-word): Mention the optional argument.
5107
1f585e65
SM
51082013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * frameset.el (frameset--make): Rename constructor from make-frameset.
5111 (frameset-p, frameset-valid-p): Don't autoload.
5112 (frameset-valid-p): Use normal accessors.
5113
af1c6c84
GM
51142013-08-13 Glenn Morris <rgm@gnu.org>
5115
55e47f95
GM
5116 * progmodes/compile.el (compile-command): Tweak example in doc.
5117 * obsolete/scribe.el (scribe-mode):
5118 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5119
f0024d8c
GM
5120 * mail/feedmail.el (feedmail-confirm-outgoing)
5121 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5122
5123 * cus-start.el (truncate-partial-width-windows): Fix type.
5124
5125 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5126
af1c6c84
GM
5127 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5128
5514cc4c
SM
51292013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5130
5131 * emacs-lisp/timer.el (timer--time-setter): New function.
5132 (timer--time): Use it as gv-setter.
5133
5134 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5135 setter is not a symbol.
5136
7997a2f1
GJ
51372013-08-12 Grégoire Jadi <daimrod@gmail.com>
5138
5139 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5140 if sending fails. This makes debugging easier.
5141
01f1a9ab
JB
51422013-08-12 Juanma Barranquero <lekktu@gmail.com>
5143
5144 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5145 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5146 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5147
594a4307
EZ
51482013-08-12 Eli Zaretskii <eliz@gnu.org>
5149
5150 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5151
7a22490f 51522013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5153
5154 * format.el (format-annotate-function):
5155 Handle read-only text properties in the source. (Bug#14887)
5156
3e41a054
LMI
51572013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5158
5514cc4c
SM
5159 * net/eww.el (eww-display-html): Ignore coding system errors.
5160 One web site uses "utf-8lias" as the coding system.
3e41a054 5161
7ec326db
JB
51622013-08-11 Juanma Barranquero <lekktu@gmail.com>
5163
5164 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5165
5660113b
JB
51662013-08-10 Juanma Barranquero <lekktu@gmail.com>
5167
9a4ebc74
JB
5168 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5169 (tutorial--detailed-help): Remove unused local variables.
5170 (tutorial--save-tutorial-to): Use ignore-errors.
5171 (help-with-tutorial): Use looking-at-p.
5172
5173 * view.el (view-buffer-other-window, view-buffer-other-frame):
5174 Mark unused arguments.
5175
5176 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5177 (woman-select-symbol-fonts, woman, woman-find-file)
5178 (woman-insert-file-contents, woman-non-underline-faces):
5179 Use string-match-p.
5180 (woman1-unquote): Move declaration.
5181
5182 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5183 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5184 argument. Remove unused local variable.
5185 (xml-parse-elem-type): Use string-match-p.
5186 (xml-substitute-numeric-entities): Use ignore-errors.
5187
45fdb482
JB
5188 * calculator.el (calculator): Mark unused argument.
5189 (calculator-paste, calculator-quit, calculator-integer-p):
5190 Use ignore-errors.
5191 (calculator-string-to-number, calculator-decimal, calculator-exp)
5192 (calculator-op-or-exp): Use string-match-p.
5193
5194 * dired.el (dired-buffer-more-recently-used-p): Declare.
5195 (dired-insert-set-properties, dired-insert-old-subdirs):
5196 Use ignore-errors.
5197
5198 * dired-aux.el (dired-compress): Use ignore-errors.
5199 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5200 (dired-do-async-shell-command, dired-do-shell-command)
5201 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5202 (dired-insert-subdir-validate): Use string-match-p.
5203 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5204 (dired-add-entry): Use string-match-p, looking-at-p.
5205 (dired-insert-subdir-newpos): Remove unused local variable.
5206
5207 * filenotify.el (file-notify-callback): Remove unused local variable.
5208
5209 * filesets.el (filesets-error): Mark unused argument.
5210 (filesets-which-command-p, filesets-filter-dir-names)
5211 (filesets-directory-files, filesets-get-external-viewer)
5212 (filesets-ingroup-get-data): Use string-match-p.
5213
5214 * find-file.el (ff-other-file-name, ff-other-file-name)
5215 (ff-find-the-other-file, ff-cc-hh-converter):
5216 Remove unused local variables.
5217 (ff-get-file-name): Use string-match-p.
5218 (ff-all-dirs-under): Use ignore-errors.
5219
5220 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5221 (follow-select-if-visible): Remove unused local variable.
5222
5223 * forms.el (read-file-filter): Move declaration.
5224 (forms--make-format, forms--make-parser, forms-insert-record):
5225 Quote function with #'.
5226 (forms--update): Use string-match-p. Quote function with #'.
5227
5228 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5229 (help-make-xrefs): Use looking-at-p.
5230 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5231
5232 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5233 (ibuffer-confirm-operation-on): Use string-match-p.
5234
5235 * msb.el (msb-item-handler, msb-dired-item-handler):
5236 Mark unused arguments.
5237
5238 * ses.el (ses-decode-cell-symbol)
5239 (ses-kill-override): Remove unused local variable.
5240 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5241 (ses-load): Use ignore-errors, looking-at-p.
5242 (ses-jump-safe): Use ignore-errors.
5243 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5244
5245 * tabify.el (untabify, tabify): Mark unused arguments.
5246
5247 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5248 Mark unused argument.
5249 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5250 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5251
c880af52
JB
5252 * emacs-lisp/timer.el (timer--time): Define setter with
5253 gv-define-setter to avoid deprecation warning.
5254
5660113b 5255 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5256 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5257 (cmpl-statistics-block): Remove (body was commented out).
5258 All callers changed.
5259 (add-completions-from-buffer, load-completions-from-file):
5260 Remove unused variables.
5261
156aab80
JB
52622013-08-09 Juanma Barranquero <lekktu@gmail.com>
5263
5c5dee78
JB
5264 * filecache.el (file-cache-delete-file-list):
5265 Print message only when told so.
5266 (file-cache-files-matching): Use #' in mapconcat argument.
5267
156aab80
JB
5268 * ffap.el (ffap-url-at-point): Fix reference to variable
5269 thing-at-point-default-mail-uri-scheme.
5270
ad9dcd70
SM
52712013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5272
54bd972f
SM
5273 * subr.el (define-error): New function.
5274 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5275 error-file-not-found and define with define-error.
5276 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5277 and define with define-error.
5278 * userlock.el (file-locked, file-supersession):
5279 * simple.el (mark-inactive):
5280 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5281 * progmodes/ada-mode.el (ada-mode-errors):
5282 * play/life.el (life-extinct):
5283 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5284 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5285 * nxml/rng-util.el (rng-error):
5286 * nxml/rng-uri.el (rng-uri-error):
5287 * nxml/rng-match.el (rng-compile-error):
5288 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5289 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5290 * nxml/nxml-rap.el (nxml-scan-error):
5291 * nxml/nxml-outln.el (nxml-outline-error):
5292 * net/soap-client.el (soap-error):
5293 * net/gnutls.el (gnutls-error):
5294 * net/ange-ftp.el (ftp-error):
5295 * mpc.el (mpc-proc-error):
5296 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5297 (json-number-format, json-string-escape, json-string-format)
5298 (json-key-format, json-object-format):
5299 * jka-compr.el (compression-error):
5300 * international/quail.el (quail-error):
5301 * international/kkc.el (kkc-error):
5302 * emacs-lisp/ert.el (ert-test-failed):
5303 * calc/calc.el (calc-error, inexact-result, math-overflow)
5304 (math-underflow):
5305 * bookmark.el (bookmark-error-no-filename):
5306 * epg.el (epg-error): Define with define-error.
5307
0ea9e53a
SM
5308 * time.el (display-time-event-handler)
5309 (display-time-next-load-average): Don't call sit-for since it seems
5310 unnecessary (bug#15045).
5311
b0429158
SM
5312 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5313 Use #' instead of ' to quote functions.
5314 (checkdoc-output-mode): Use setq-local.
5315 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5316 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5317 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5318 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5319 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5320 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5321 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5322 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5323
ad9dcd70
SM
5324 * ido.el (ido-completion-help): Fix up compiler warning.
5325
77187e6f
JB
53262013-08-09 Juanma Barranquero <lekktu@gmail.com>
5327
5328 * frameset.el (frameset-p): Add autoload cookie.
5329 (frameset--jump-to-register): New function, based on code moved from
5330 register.el.
5331 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5332
5333 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5334 (frameset-restore, frameset-save, frameset-session-filter-alist):
5335 Remove declarations.
5336 (register-alist): Doc fix.
5337 (frameset-to-register): Move to frameset.el.
5338 (jump-to-register, describe-register-1): Remove frameset-specific code.
5339
9d3aa82c
JB
53402013-08-08 Juanma Barranquero <lekktu@gmail.com>
5341
5342 * allout-widgets.el (allout-widgets-pre-command-business)
5343 (allout-widgets-post-command-business)
5344 (allout-widgets-after-change-handler)
5345 (allout-decorate-item-and-context, allout-set-boundary-marker)
5346 (allout-body-modification-handler)
5347 (allout-graphics-modification-handler): Mark ignored arguments.
5348 (allout-widgets-post-command-business)
5349 (allout-widgets-exposure-change-processor)
5350 (allout-widgets-exposure-undo-processor)
5351 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5352 (allout-parse-item-at-point, allout-decorate-item-guides)
5353 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5354 * allout.el (epa-passphrase-callback-function): Declare.
5355 (allout-overlay-insert-in-front-handler)
5356 (allout-overlay-interior-modification-handler)
5357 (allout-isearch-end-handler, allout-chart-siblings)
5358 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5359 (allout-yank-processing, allout-process-exposed)
5360 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5361 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5362 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5363 (lisp-indent-defform): Mark ignored arguments.
5364 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5365 (calculate-lisp-indent): Remove unused variables.
5366 * international/characters.el (indian-2-column, arabic-2-column)
5367 (tibetan): Mark ignored arguments.
5368 (use-cjk-char-width-table): Mark ignored arguments.
5369 Remove unused variables.
5370 * international/fontset.el (build-default-fontset-data)
5371 (x-compose-font-name, create-fontset-from-fontset-spec):
5372 Mark ignored arguments.
5373 (fontset-plain-name): Remove unused variables.
5374 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5375 (keyboard-coding-system): Mark ignored arguments.
5376 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5377 * help.el (resize-temp-buffer-window):
5378 * window.el (display-buffer-in-major-side-window)
5379 (display-buffer-in-side-window, display-buffer-in-previous-window):
5380 Remove unused variables.
5381 * isearch.el (isearch-forward-symbol):
5382 * version.el (emacs-bzr-version-bzr):
5383 * international/mule-cmds.el (current-language-environment):
5384 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5385 (x-handle-display):
5386 * term/pc-win.el (x-list-fonts, x-display-planes)
5387 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5388 (x-server-version, x-display-screens, x-display-mm-height)
5389 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5390 (x-selection-owner-p, x-own-selection-internal)
5391 (x-disown-selection-internal, x-get-selection-internal)
5392 (msdos-initialize-window-system):
5393 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5394 * term/x-win.el (x-handle-no-bitmap-icon):
5395 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5396 (vc-default-find-file-hook, vc-default-extra-menu):
5397 Mark ignored arguments.
5398
0ca3f70e
SM
53992013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5402 break-condition in the context of the debugged code (bug#12685).
5403
74c5d24c
CS
54042013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5405
5406 * comint.el:
5407 Do not use an overlay to highlight the last prompt. (Bug#14744)
5408 (comint-mode): Make comint-last-prompt buffer local.
5409 (comint-last-prompt): New variable.
5410 (comint-last-prompt-overlay): Remove. Superseded by
5411 comint-last-prompt.
0ca3f70e
SM
5412 (comint-snapshot-last-prompt, comint-output-filter):
5413 Use comint-last-prompt.
74c5d24c 5414
c03c02ee
JB
54152013-08-08 Juanma Barranquero <lekktu@gmail.com>
5416
a3738d20 5417 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5418 (frameset-save): Check validity of the resulting frameset.
5419
04263d23
XF
54202013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5421
5422 * ido.el (ido-record-command): Add doc string.
5423
76c5e5ab
JB
54242013-08-08 Juanma Barranquero <lekktu@gmail.com>
5425
5426 * frameset.el (frameset): Do not disable creation of the default
5427 frameset-p predicate. Doc fix.
5428 (frameset-valid-p): New function, copied from the old predicate-p.
5429 Add additional checks.
5430 (frameset-restore): Check with frameset-valid-p.
5431 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5432 (frameset-name, frameset-description, frameset-properties)
5433 (frameset-states): Add docstring.
f9dbf1cb
JB
5434 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5435 (frameset-filter-alist): Doc fixes.
76c5e5ab 5436
bd0c3c0b
JB
54372013-08-08 Juanma Barranquero <lekktu@gmail.com>
5438
5439 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5440
c735544c
SM
54412013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5444 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5445 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5446 (byte-compile-normal-call): Remove obsolescence check.
5447
2805a651
JB
54482013-08-08 Juanma Barranquero <lekktu@gmail.com>
5449
3677ffeb
JB
5450 * frameset.el (frameset-restore): Doc fix.
5451
2805a651
JB
5452 * register.el (frameset-frame-id, frameset-frame-with-id)
5453 (frameset-p, frameset-restore, frameset-save): Declare.
5454 (register-alist): Document framesets.
5455 (frameset-session-filter-alist): Declare.
5456 (frameset-to-register): New function.
5457 (jump-to-register): Implement jumping to framesets. Doc fix.
5458 (describe-register-1): Describe framesets.
5459
5460 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5461
a912c016
JB
54622013-08-07 Juanma Barranquero <lekktu@gmail.com>
5463
5464 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5465 Use lexical-binding.
5466
5467 * frameset.el (frameset): Use type vector, not list (incompatible
5468 change). Do not declare a new constructor, use the default one.
5469 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5470 `name' and `description', respectively, and add read-only slot
5471 `timestamp'. Doc fixes.
5472 (frameset-copy, frameset-persistent-filter-alist)
5473 (frameset-filter-alist, frameset-switch-to-gui-p)
5474 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5475 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5476 (frameset-filter-iconified, frameset-keep-original-display-p):
5477 Doc fixes.
5478 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5479 Rename from frameset-filter-(save|restore)-param. All callers changed.
5480 Doc fix.
5481 (frameset-p): Adapt to change to vector and be more thorough.
5482 Change arg name to OBJECT. Doc fix.
5483 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5484 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5485 All callers changed.
5486 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5487 All callers changed.
5488 (frameset--record-minibuffer-relationships): Rename from
5489 frameset--process-minibuffer-frames. All callers changed.
5490 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5491 Use new default constructor (again). Doc fix.
5492 (frameset--find-frame-if): Rename from `frameset--find-frame.
5493 All callers changed.
5494 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5495 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5496 Doc fix.
5497 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5498 PARAMETERS and WINDOW-STATE, respectively.
5499 (frameset-restore): Add new keyword argument PREDICATE.
5500 Reset frameset--target-display to nil. Doc fix.
5501
bb41480a
SM
55022013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5503
f001e98e
SM
5504 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5505 (bat-mode): Use it.
5506 (bat-mode-syntax-table): Mark \n as end-of-comment.
5507 (bat-font-lock-keywords): Remove comment rule.
5508
7679edb1
SM
5509 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5510 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5511
bb41480a
SM
5512 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5513 (byte-compile-callargs-warn): Use `push'.
5514 (byte-compile-arglist-warn): Ignore higher-order "calls".
5515 (byte-compile-file-form-autoload): Use `pcase'.
5516 (byte-compile-function-form): If quoting a symbol, check that it exists.
5517
cdc1ebb9
EZ
55182013-08-07 Eli Zaretskii <eliz@gnu.org>
5519
5520 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5521 and add a few popular commands found in batch files.
5522 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5523 (dos-mode): Doc fixes.
5524
312b1740
SM
55252013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5526
5527 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5528 (dos-mode): Use setq-local. Add space after "rem".
5529 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5530 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5531
400a3178
AM
55322013-08-07 Arni Magnusson <arnima@hafro.is>
5533
5534 * progmodes/dos.el: New file.
5535 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5536 dos-mode.
5537
3b5c03d3
GM
55382013-08-06 Glenn Morris <rgm@gnu.org>
5539
5540 * calendar/calendar.el: Add new faces, and day-header-array.
5541 (calendar-weekday-header, calendar-weekend-header)
5542 (calendar-month-header): New faces.
5543 (calendar-day-header-construct): New function.
5544 (calendar-day-header-width): Also :set calendar-day-header-array.
5545 (calendar-american-month-header, calendar-european-month-header)
5546 (calendar-iso-month-header): Use calendar- faces.
5547 (calendar-generate-month):
5548 Use calendar-day-header-array for day headers; apply faces to them.
5549 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5550 (calendar-abbrev-construct): Add optional maxlen argument.
5551 (calendar-day-name-array): Doc fix.
5552 (calendar-day-name-array, calendar-abbrev-length)
5553 (calendar-day-abbrev-array):
5554 Also :set calendar-day-header-array, and maybe redraw.
5555 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5556 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5557 (calendar-day-name): Add option to use header array.
5558
ec6a2d7a
LMI
55592013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5560
5561 * net/shr.el (shr-render-td): Remove debugging.
5562 (shr-render-td): Make width computation consistent by defaulting
5563 all zero-width columns to 10 characters. This may not be optimal,
5564 but it's at least consistent.
2122cb6d
LMI
5565 (shr-make-table-1): Redo last change to fix the real problem in
5566 colspan handling.
ec6a2d7a 5567
ed4fd9c5
DA
55682013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5569
0ca3f70e
SM
5570 * files.el (cache-long-line-scans):
5571 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5572
64e22afe
JB
55732013-08-06 Juanma Barranquero <lekktu@gmail.com>
5574
024b38fc
JB
5575 * frameset.el (frameset, frameset-filter-alist)
5576 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5577 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5578 (frameset-compute-pos): Rename from frameset--compute-pos,
5579 and add docstring.
5580 (frameset-move-onscreen): Use frameset-compute-pos.
5581 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5582
64e22afe
JB
5583 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5584 Fix typos in docstrings.
5585
c8c2aca8
DA
55862013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5587
5588 * frame.el (get-other-frame): Tiny cleanup.
5589
1d237bba
JB
55902013-08-06 Juanma Barranquero <lekktu@gmail.com>
5591
8951efef
JB
5592 * vc/vc.el (vc-default-ignore-completion-table):
5593 Silence byte-compiler warning.
5594
307764cc
JB
5595 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5596 slot , which can indeed be nil.
5597 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5598 Move entry for `left' from persistent to live filter alist.
5599 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5600 Doc fixes.
5601 (frameset-filter-params): When restoring a frame, copy items added to
5602 `filtered', to avoid unwittingly modifying the original parameters.
5603 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5604 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5605
1d237bba
JB
5606 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5607 to use looking-at-p instead of looking-at. (Bug#15028)
5608
dc6c0eda
SM
56092013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 Revert introduction of isearch-filter-predicates (bug#14714).
5612 Rely on add-function instead.
5613 * isearch.el (isearch-filter-predicates): Rename it back to
5614 isearch-filter-predicate.
5615 (isearch-message-prefix): Use advice-function-mapc and advice
5616 properties to get the isearch-message-prefix.
5617 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5618 instead of run-hook-with-args-until-failure.
5619 (isearch-filter-visible): Not obsolete any more.
5620 * loadup.el: Preload nadvice.
5621 * replace.el (perform-replace): Revert to funcall
5622 instead of run-hook-with-args-until-failure.
5623 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5624 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5625 dired-isearch-filenames-toggle; make it into a proper minor mode.
5626 Use add/remove-function.
5627 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5628 Call the minor-mode rather than add/remove-hook.
5629 (dired-isearch-filter-filenames):
5630 Remove isearch-message-prefix property.
5631 * info.el (Info--search-loop): New function, extracted from Info-search.
5632 Funcall isearch-filter-predicate instead of
5633 run-hook-with-args-until-failure isearch-filter-predicates.
5634 (Info-search): Use it.
5635 (Info-mode): Use isearch-filter-predicate instead of
5636 isearch-filter-predicates.
5637
290d5b58
DA
56382013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5639
5640 Do not call to `selected-window' where it is assumed by default.
5641 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5642 `window-hscroll', `window-width', `window-height', `window-buffer',
5643 `window-frame', `window-start', `window-point', `next-window'
5644 and `window-display-table'.
5645 * abbrev.el (abbrev--default-expand):
5646 * bs.el (bs--show-with-configuration):
5647 * buff-menu.el (Buffer-menu-mouse-select):
5648 * calc/calc.el (calc):
5649 * calendar/calendar.el (calendar-generate-window):
5650 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5651 (diary-make-entry):
5652 * comint.el (send-invisible, comint-dynamic-complete-filename)
5653 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5654 * completion.el (complete):
5655 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5656 * disp-table.el (describe-current-display-table):
5657 * doc-view.el (doc-view-insert-image):
5658 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5659 * ehelp.el (with-electric-help):
5660 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5661 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5662 * emacs-lisp/helper.el (Helper-help-scroller):
5663 * emulation/cua-base.el (cua--post-command-handler-1):
5664 * eshell/esh-mode.el (eshell-output-filter):
5665 * ffap.el (ffap-gnus-wrapper):
5666 * help-macro.el (make-help-screen):
5667 * hilit-chg.el (highlight-compare-buffers):
5668 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5669 * hl-line.el (global-hl-line-highlight):
5670 * icomplete.el (icomplete-simple-completing-p):
5671 * isearch.el (isearch-done):
5672 * jit-lock.el (jit-lock-stealth-fontify):
5673 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5674 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5675 * mpc.el (mpc-tagbrowser, mpc):
5676 * net/rcirc.el (rcirc-any-buffer):
5677 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5678 * play/landmark.el (landmark-max-width, landmark-max-height):
5679 * play/zone.el (zone):
5680 * progmodes/compile.el (compilation-goto-locus):
5681 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5682 * progmodes/etags.el (find-tag-other-window):
5683 * progmodes/fortran.el (fortran-column-ruler):
5684 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5685 * progmodes/verilog-mode.el (verilog-point-text):
5686 * reposition.el (reposition-window):
5687 * rot13.el (toggle-rot13-mode):
5688 * server.el (server-switch-buffer):
5689 * shell.el (shell-dynamic-complete-command)
5690 (shell-dynamic-complete-environment-variable):
5691 * simple.el (insert-buffer, set-selective-display)
5692 (delete-completion-window):
5693 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5694 (speedbar-recenter):
5695 * startup.el (fancy-splash-head):
5696 * textmodes/ispell.el (ispell-command-loop):
5697 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5698 * tutorial.el (help-with-tutorial):
5699 * vc/add-log.el (add-change-log-entry):
5700 * vc/compare-w.el (compare-windows):
5701 * vc/ediff-help.el (ediff-indent-help-message):
5702 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5703 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5704 (ediff-setup-control-frame):
5705 * vc/emerge.el (emerge-position-region):
5706 * vc/pcvs-util.el (cvs-bury-buffer):
5707 * window.el (walk-windows, mouse-autoselect-window-select):
5708 * winner.el (winner-set-conf, winner-undo): Related users changed.
5709
38276e01
JB
57102013-08-05 Juanma Barranquero <lekktu@gmail.com>
5711
5712 * frameset.el (frameset--set-id): Doc fix.
5713 (frameset-frame-id, frameset-frame-id-equal-p)
5714 (frameset-locate-frame-id): New functions.
5715 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5716 (frameset-restore): Use them.
5717
12b4c0ea
DA
57182013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5719
5720 Do not call to `selected-frame' where it is assumed by default.
5721 Affected functions are `raise-frame', `redraw-frame',
5722 `frame-first-window', `frame-terminal' and `delete-frame'.
5723 * calendar/appt.el (appt-disp-window):
5724 * epg.el (epg-wait-for-completion):
5725 * follow.el (follow-delete-other-windows-and-split)
5726 (follow-avoid-tail-recenter):
5727 * international/mule.el (set-terminal-coding-system):
5728 * mail/rmail.el (rmail-mail-return):
5729 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5730 * progmodes/f90.el (f90-add-imenu-menu):
5731 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5732 * server.el (server-switch-buffer):
5733 * simple.el (delete-completion-window):
5734 * talk.el (talk):
5735 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5736 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5737 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5738 * vc/ediff.el (ediff-documentation): Related users changed.
5739 * frame.el (selected-terminal): Remove the leftover.
5740
17f25e76
GM
57412013-08-05 Glenn Morris <rgm@gnu.org>
5742
5743 * calendar/calendar.el (calendar-generate-month):
5744 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5745 (calendar-generate-month, calendar-font-lock-keywords):
5746 Fix for calendar-day-header-width > length of any day name.
17f25e76 5747
063233c3
JB
57482013-08-05 Juanma Barranquero <lekktu@gmail.com>
5749
5750 * desktop.el (desktop-clear): Use new name of sort predicate.
5751
5752 * frameset.el (frameset): Add docstring. Move :version property to its
5753 own `version' slot.
5754 (frameset-copy): Rename from copy-frameset.
5755 (frameset-p): Check more thoroughly.
5756 (frameset-prop): Do not check for :version, which is no longer a prop.
5757 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5758 Use new :never value instead of t.
5759 (frameset-filter-alist): Expand and clarify docstring.
5760 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5761 (frameset-filter-minibuffer, frameset-filter-save-param)
5762 (frameset-filter-restore-param, frameset-filter-iconified):
5763 Add pointer to docstring of frameset-filter-alist.
5764 (frameset-filter-params): Rename filter values to be more meaningful:
5765 :never instead of t, and reverse the meanings of :save and :restore.
5766 (frameset--process-minibuffer-frames): Clarify error message.
5767 (frameset-save): Avoid unnecessary and confusing call to framep.
5768 Use new BOA constructor for framesets.
5769 (frameset--reuse-list): Doc fix.
5770 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5771 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5772 (frameset-minibufferless-first-p): Doc fix.
5773 Rename from frameset-sort-frames-for-deletion.
5774 (frameset-restore): Doc fixes. Use new function names.
5775 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5776
d5671a82
JB
57772013-08-04 Juanma Barranquero <lekktu@gmail.com>
5778
5779 * desktop.el (desktop-restore-forces-onscreen)
5780 (desktop-restore-reuses-frames): Document :keyword constant values.
5781 (desktop-filter-parameters-alist): Remove, now identical to
5782 frameset-filter-alist.
5783 (desktop--filter-tty*): Remove, moved to frameset.el.
5784 (desktop-save-frameset, desktop-restore-frameset):
5785 Do not pass :filters argument.
5786
5787 * frameset.el (frameset-live-filter-alist)
5788 (frameset-persistent-filter-alist): New variables.
5789 (frameset-filter-alist): Use them. Add autoload cookie.
5790 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5791 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5792 `frameset--id' (it's supposed to be internal to frameset.el).
5793 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5794 (frameset--initial-params): New function.
5795 (frameset--get-frame): Use it. Doc fix.
5796 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5797 Accept :all, not 'all.
5798 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5799 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5800 with fbound symbols. Fix frame id matching, and remove matching ids if
5801 the frame being restored is deleted. Obey :delete.
5802
671d5c16
SM
58032013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * subr.el (macrop): New function.
5806 (text-clone--maintaining): New var.
5807 (text-clone--maintain): Rename from text-clone-maintain. Use it
5808 instead of inhibit-modification-hooks.
5809
5810 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5811 a proxy, so as handle autoloads and redefinitions of the target.
5812 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5813
5814 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5815 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5816 (pcase--mutually-exclusive-p): New function.
5817 (pcase--split-consp): Use it.
5818 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5819 mutually exclusive with the current predicate.
5820
5821 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5822 (edebug-macrop): Remove. Use `macrop' instead.
5823 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5824 (ad-macro-p):
5825 * eshell/esh-cmd.el (eshell-macrop):
5826 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5827
1d44e9dc
SM
58282013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5829
5830 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5831 (advice-mapc): New function, using it.
5832 (advice-function-member-p): New function.
5833 (advice--normalize): Store the cdr in advice--saved-rewrite since
5834 that's the part that will be changed.
5835 (advice--symbol-function): New function.
5836 (advice-remove): Handle removal before the function is defined.
5837 Adjust to new advice--saved-rewrite.
5838 (advice-member-p): Use advice-function-member-p and
5839 advice--symbol-function.
5840
5414a283
JB
58412013-08-04 Juanma Barranquero <lekktu@gmail.com>
5842
51d30f2c
JB
5843 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5844 (frameset-filter-minibuffer): Doc fix.
5845 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5846 (frameset--set-id, frameset--process-minibuffer-frames)
5847 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5848 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5849
5414a283
JB
5850 * desktop.el (desktop-clear): Only delete frames when called
5851 interactively and desktop-restore-frames is non-nil. Doc fix.
5852 (desktop-read): Set desktop-saved-frameset to nil.
5853
ab419665
XF
58542013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5855
5856 * vc/vc.el (vc-ignore): Rewrite.
5857 (vc-default-ignore-completion-table):
5858 (vc--read-lines):
5859 (vc--add-line, vc--remove-regexp): New functions.
5860
5861 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5862 (vc-svn-ignore-completion-table): New function.
5863
5864 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5865 (vc-hg-ignore-completion-table):
5866 (vc-hg-find-ignore-file): New functions.
5867
5868 * vc/vc-git.el (vc-git-ignore): Rewrite.
5869 (vc-git-ignore-completion-table):
5870 (vc-git-find-ignore-file): New functions.
5871
5872 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5873
5874 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5875 (vc-bzr-ignore-completion-table):
5876 (vc-bzr-find-ignore-file): New functions.
5877
2613dea2
JB
58782013-08-03 Juanma Barranquero <lekktu@gmail.com>
5879
5880 * frameset.el (frameset-prop): New function and setter.
5881 (frameset-save): Do not modify frame list passed by the caller.
5882
9c959872
SM
58832013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5884
5885 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5886
a104f656
SM
58872013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5888
70122acf
SM
5889 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5890 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5891
a104f656
SM
5892 * custom.el (custom-initialize-default, custom-initialize-set)
5893 (custom-initialize-reset, custom-initialize-changed): Affect the
5894 toplevel-default-value (bug#6275, bug#14586).
5895 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5896 for bug#6275.
5897
f078d570
JB
58982013-08-02 Juanma Barranquero <lekktu@gmail.com>
5899
185e3b5a
JB
5900 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5901 Add cl-def* expressions.
5902
f078d570
JB
5903 * frameset.el (frameset-filter-params): Fix order of arguments.
5904
9421876d
JB
59052013-08-02 Juanma Barranquero <lekktu@gmail.com>
5906
5907 Move code related to saving frames to frameset.el.
5908 * desktop.el: Require frameset.
5909 (desktop-restore-frames): Doc fix.
5910 (desktop-restore-reuses-frames): Rename from
5911 desktop-restoring-reuses-frames.
5912 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5913 (desktop-clear): Clear frames too.
5914 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5915 (desktop--filter-tty*, desktop-save, desktop-read):
5916 Use frameset functions.
5917 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5918 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5919 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5920 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5921 (desktop--process-minibuffer-frames, desktop-save-frames)
5922 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5923 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5924 (desktop--sort-states, desktop-restoring-frames-p)
5925 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5926 (desktop-restoring-frameset-p, desktop-restore-frameset)
5927 (desktop--check-dont-save, desktop-save-frameset): New functions.
5928 (desktop--app-id): New constant.
5929 (desktop-first-buffer, desktop-buffer-ok-count)
5930 (desktop-buffer-fail-count): Move before first use.
5931 * frameset.el: New file.
5932
76dc5996
SM
59332013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * files.el: Use lexical-binding.
5936 (dir-locals-read-from-file): Remove unused `err' variable.
5937 (hack-dir-local-variables--warned-coding): New var.
5938 (hack-dir-local-variables): Use it to avoid repeated warnings.
5939 (make-backup-file-name--default-function): New function.
5940 (make-backup-file-name-function): Use it as default.
5941 (buffer-stale--default-function): New function.
5942 (buffer-stale-function): Use it as default.
5943 (revert-buffer-insert-file-contents--default-function): New function.
5944 (revert-buffer-insert-file-contents-function): Use it as default.
5945 (insert-directory): Avoid add-to-list.
5946
5947 * autorevert.el (auto-revert-handler): Simplify.
5948 Use buffer-stale--default-function.
5949
06d36e2b
TH
59502013-08-01 Tassilo Horn <tsdh@gnu.org>
5951
5f648ab4
TH
5952 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5953
06d36e2b
TH
5954 * whitespace.el (whitespace-ensure-local-variables): New function.
5955 (whitespace-cleanup-region): Call it.
5956 (whitespace-turn-on): Call it.
5957
a43dc424
MA
59582013-08-01 Michael Albinus <michael.albinus@gmx.de>
5959
5960 Complete file name handlers.
5961
5962 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5963 (tramp-handle-verify-visited-file-modtime)
5964 (tramp-handle-file-notify-rm-watch): New functions.
5965 (tramp-call-process): Do not bind `default-directory'.
5966
44e18199
JB
5967 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5968 Order alphabetically.
a43dc424
MA
5969 [access-file, add-name-to-file, dired-call-process]:
5970 [dired-compress-file, file-acl, file-notify-rm-watch]:
5971 [file-ownership-preserved-p, file-selinux-context]:
5972 [make-directory-internal, make-symbolic-link, set-file-acl]:
5973 [set-file-selinux-context, set-visited-file-modtime]:
5974 [verify-visited-file-modtime]: Add handler.
5975 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5976
5977 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5978 [file-notify-add-watch, file-notify-rm-watch]:
5979 [set-file-times, set-visited-file-modtime]:
5980 [verify-visited-file-modtime]: Add handler.
5981 (with-tramp-gvfs-error-message)
5982 (tramp-gvfs-handle-set-visited-file-modtime)
5983 (tramp-gvfs-fuse-file-name): Remove.
5984 (tramp-gvfs-handle-file-notify-add-watch)
5985 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5986 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5987
44e18199
JB
5988 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5989 Order alphabetically.
a43dc424
MA
5990 [file-notify-rm-watch ]: Use default Tramp handler.
5991 [executable-find]: Remove private handler.
5992 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5993 `default-directory'.
5994 (tramp-sh-handle-executable-find)
5995 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5996 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5997 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5998 Do not use `format' in `tramp-message'.
5999
6000 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6001 [file-notify-rm-watch, set-visited-file-modtime]:
6002 [verify-visited-file-modtime]: Add handler.
6003 (tramp-smb-call-winexe): Do not bind `default-directory'.
6004
7188b515
XF
60052013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6006
6007 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6008
2412ee1a
DG
60092013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6010
6011 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6012 use it.
6013 (log-view-diff-changeset): Same.
6014 (log-view-diff-common): Call backend command `previous-revision'
6015 to find out the previous revision, in both cases. Swap the
6016 variables `to' and `fr', so that `fr' usually refers to the
6017 earlier revision (Bug#14989).
6018
5002a754
KRC
60192013-07-31 Kan-Ru Chen <kanru@kanru.info>
6020
6021 * ibuf-ext.el (ibuffer-filter-by-filename):
6022 Make it work with dired buffers too.
6023
44e18199 60242013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6025
6026 * emacs-lisp/re-builder.el (reb-color-display-p):
6027 * files.el (save-buffers-kill-terminal):
6028 * net/browse-url.el (browse-url):
6029 * server.el (server-save-buffers-kill-terminal):
6030 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6031 Prefer nil to selected-frame for the first arg of frame-parameter.
6032
aeca3fbb
XF
60332013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6034
6035 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6036
158bc55c
SB
60372013-07-30 Stephen Berman <stephen.berman@gmx.net>
6038
6039 * minibuffer.el (completion--twq-all): Try and preserve each
6040 completion's case choice (bug#14907).
6041
d50fceab
LMI
60422013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6043
ac38e731
LMI
6044 * net/network-stream.el (open-network-stream): Mention the new
6045 :nogreeting parameter.
6046 (network-stream-open-starttls): Use the :nogreeting parameter
6047 (bug#14938).
6048
1211de50
LMI
6049 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6050
997798bf
LMI
6051 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6052 more natural than popping.
6053
d50fceab 6054 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6055 (shr-urlify): Highlight under mouse.
d50fceab 6056
5c09de04
XF
60572013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6058
207d1d04
XF
6059 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6060
6061 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6062
5c09de04
XF
6063 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6064 buffer for output.
6065
3cd51eaa
XF
6066 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6067 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6068
44e18199 6069 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6070 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6071
6072 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6073
6074 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6075 buffer for output.
6076
35a89bdd
EZ
60772013-07-29 Eli Zaretskii <eliz@gnu.org>
6078
6079 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6080 initial frame is minibuffer-less. (Bug#14841)
6081
78822e94
MA
60822013-07-29 Michael Albinus <michael.albinus@gmx.de>
6083
6084 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6085 option.
6086
6087 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6088 (tramp-maybe-open-connection): Use it.
6089
9503c190
JB
60902013-07-28 Juanma Barranquero <lekktu@gmail.com>
6091
6092 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6093 minimal set of parameters passed when creating a frame, because
6094 the minibuffer status of a frame cannot be changed later.
6095
d5a845b4
SB
60962013-07-28 Stephen Berman <stephen.berman@gmx.net>
6097
6098 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6099 replace-regexp-in-string and inadvertent omissions in previous change.
6100 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6101 name of filtered items buffer.
d5a845b4 6102
ddeffb17
JB
61032013-07-28 Juanma Barranquero <lekktu@gmail.com>
6104
6105 * desktop.el: Optionally force offscreen frames back onscreen.
6106 (desktop-restoring-reuses-frames): New option.
6107 (desktop--compute-pos, desktop--move-onscreen): New functions.
6108 (desktop--make-frame): Use desktop--move-onscreen.
6109
f5950f7a
AM
61102013-07-27 Alan Mackenzie <acm@muc.de>
6111
6112 Fontify a Java generic method as a function.
6113 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6114 value to t.
6115
ae43b66a
SB
61162013-07-27 Stephen Berman <stephen.berman@gmx.net>
6117
6118 * calendar/todo-mode.el: Add command to rename todo files.
6119 (todo-rename-file): New command.
6120 (todo-key-bindings-t): Add key binding for it. Change the
6121 bindings of todo-filter-regexp-items(-multifile) to use `x'
6122 instead of `r', since the latter is better suited to the new
6123 renaming command.
6124
5ab78d3d
AM
61252013-07-27 Alan Mackenzie <acm@muc.de>
6126
6127 Make Java try-with-resources statement parse properly.
6128 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6129 (c-block-stmt-1-2-key): New language constants/variables.
6130 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6131 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6132 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6133 with c-block-stmt-1-2-key.
5ab78d3d 6134
d85c4d50
JB
61352013-07-27 Juanma Barranquero <lekktu@gmail.com>
6136
6137 * desktop.el (desktop--make-frame): Apply most frame parameters after
6138 creating the frame to force (partially or totally) offscreen frames to
6139 be restored as such.
6140
e4c467f9
XF
61412013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6142
6143 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6144 (Bug#14948)
e4c467f9 6145
7ced0d04
SM
61462013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6147
6148 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6149 `base' arg of backtrace-frame.
6150
fec92060
EZ
61512013-07-26 Eli Zaretskii <eliz@gnu.org>
6152
6153 * simple.el (list-processes): Doc fix.
6154
d58d31fb
JB
61552013-07-26 Juanma Barranquero <lekktu@gmail.com>
6156
6157 * desktop.el (desktop--select-frame):
d85c4d50 6158 Try harder to reuse existing frames.
d58d31fb 6159
53ff3e77
SM
61602013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6161
6162 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6163 (edebug-eval): Use backtrace-eval.
6164 (edebug--display, edebug--recursive-edit): Don't let-bind the
6165 edebug-outer-* vars that keep track of variables we locally let-bind.
6166 (edebug-outside-excursion): Don't restore outside values of locally
6167 let-bound vars.
6168 (edebug--display): Use user-error.
6169 (cl-lexical-debug, cl-debug-env): Remove.
6170
045f7a53
JB
61712013-07-26 Juanma Barranquero <lekktu@gmail.com>
6172
6173 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6174 are restored to be sure that they are visible before deleting any
6175 remaining ones.
6176
59070b32
MM
61772013-07-26 Matthias Meulien <orontee@gmail.com>
6178
742a3501
XF
6179 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6180 vc-print-root-log. (Bug#14948)
59070b32 6181
b1fb3596
RS
61822013-07-26 Richard Stallman <rms@gnu.org>
6183
6184 Add aliases for encrypting mail.
6185 * epa.el (epa-mail-aliases): New option.
6186 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6187 Bind inhibit-read-only so read-only text doesn't ruin everything.
6188 (epa-mail-default-recipients): New subroutine broken out.
6189 Handle epa-mail-aliases.
6190
56ea7291
SM
61912013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6192
6193 Add support for lexical variables to the debugger's `e' command.
6194 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6195 vars, except for debugger-outer-match-data.
6196 (debugger-frame-number): Move check for "on a function call" from
6197 callers into it. Add `skip-base' argument.
6198 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6199 (debugger-env-macro): Only reset the state stored in non-variables,
6200 i.e. current-buffer and match-data.
6201 (debugger-eval-expression): Rewrite using backtrace-eval.
6202 * subr.el (internal--called-interactively-p--get-frame): Remove.
6203 (called-interactively-p):
6204 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6205 `base' arg of backtrace-frame instead.
6206
15ac32d5
GM
62072013-07-26 Glenn Morris <rgm@gnu.org>
6208
8358a09d
GM
6209 * align.el (align-regexp): Doc fix. (Bug#14857)
6210 (align-region): Explicit error if subexpression missing/does not match.
6211
15ac32d5
GM
6212 * simple.el (global-visual-line-mode):
6213 Do not duplicate the mode lighter. (Bug#14858)
6214
f47ad11b
MR
62152013-07-25 Martin Rudalics <rudalics@gmx.at>
6216
6217 * window.el (display-buffer): In display-buffer bind
6218 split-window-keep-point to t, bug#14829.
6219
02530987
JB
62202013-07-25 Juanma Barranquero <lekktu@gmail.com>
6221
6222 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6223 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6224 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6225 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6226 Change accordingly.
f63ebeb5
JB
6227 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6228 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6229
6ccb9cab 62302013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6231
6ccb9cab 6232 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6233
cb3a56d2
JB
62342013-07-25 Juanma Barranquero <lekktu@gmail.com>
6235
6236 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6237 parameter to modify-frame-parameters if the value has not changed;
6238 this is a workaround for bug#14949.
6239 (desktop--make-frame): On cl-delete-if call, check parameter name,
6240 not full parameter.
6241
7aa7fff0
XF
62422013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6243
6244 * vc/vc.el (vc-ignore): New function.
6245
6246 * vc/vc-svn.el (vc-svn-ignore): New function.
6247
6248 * vc/vc-hg.el (vc-hg-ignore): New function.
6249
6250 * vc/vc-git.el (vc-git-ignore): New function.
6251
6252 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6253 (vc-dir-ignore): New function.
6254
6255 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6256 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6257
6258 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6259
6260 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6261
889acc5c
JB
62622013-07-24 Juanma Barranquero <lekktu@gmail.com>
6263
6264 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6265 (desktop-restore-frames): Warn when deleting an existing frame failed.
6266
86c40970
GM
62672013-07-24 Glenn Morris <rgm@gnu.org>
6268
6269 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6270
d5d3c58a
MA
62712013-07-24 Michael Albinus <michael.albinus@gmx.de>
6272
6273 * filenotify.el (file-notify-supported-p):
6274 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6275 Remove functions.
6276
6277 * autorevert.el (auto-revert-use-notify):
6278 (auto-revert-notify-add-watch):
6279 * net/tramp.el (tramp-file-name-for-operation):
6280 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6281 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6282 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6283 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6284 Remove `file-notify-supported-p' entry.
6285
d100084b
GM
62862013-07-24 Glenn Morris <rgm@gnu.org>
6287
6288 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6289 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6290
ac93e56b
SM
62912013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6292
249eea30
SM
6293 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6294 checked with memq (bug#14935).
6295
ac93e56b
SM
6296 * files.el (revert-buffer-function): Use a non-nil default.
6297 (revert-buffer-preserve-modes): Declare var to
6298 provide access to the `preserve-modes' argument.
6299 (revert-buffer): Let-bind it.
6300 (revert-buffer--default): New function, extracted from revert-buffer.
6301
2cdeb903
SM
63022013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * lpr.el: Signal print errors more prominently.
6305 (print-region-function): Don't default to nil.
6306 (lpr-print-region): New function, extracted from print-region-1.
6307 Check lpr's return value and signal an error in case of problem.
6308 (print-region-1): Use it.
6309 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6310 versions instead.
6311 (ps-printer-name): Default to nil.
6312 (ps-printer-name-option): Default to lpr-printer-switch.
6313 (ps-print-region-function): Don't default to nil.
6314 (ps-postscript-code-directory): Simplify default.
6315 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6316 (ps-string-list, ps-eval-switch, ps-flatten-list)
6317 (ps-flatten-list-1): Remove.
6318 (ps-multibyte-buffer): Avoid setq.
6319 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6320 (print-region-function, ps-print-region-function): Don't set them here.
6321
73600831
XF
63222013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6323
0e55c076
XF
6324 * ido.el (ido-fractionp):
6325 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6326 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6327 (ido-max-directory-size, ido-max-dir-file-cache)
6328 (ido-decorations): Doc fix.
6329
73600831
XF
6330 * ansi-color.el: Fix old URL.
6331
3d012865
MM
63322013-07-23 Michael R. Mauger <michael@mauger.com>
6333
e903c210 6334 * progmodes/sql.el: Version 3.3
3d012865
MM
6335 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6336 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6337 (sql-interactive-remove-continuation-prompt): Rewrite, use
6338 functions above. Fix continuation prompt and complete output line
6339 handling.
6340 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6341 redirected output buffer.
6342 (sql-mode): Restore deleted code (Bug#13591).
6343
da77a2e2
JB
63442013-07-23 Juanma Barranquero <lekktu@gmail.com>
6345
6346 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6347
80ff0c71
MA
63482013-07-23 Michael Albinus <michael.albinus@gmx.de>
6349
6350 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6351
6352 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6353 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6354 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6355
b61d71e4
JB
63562013-07-23 Juanma Barranquero <lekktu@gmail.com>
6357
6358 * desktop.el (desktop-clear): Simplify; remove useless checks
6359 against invalid buffer names.
6360 (desktop-list*): Use cl-list*.
6361 (desktop-buffer-info, desktop-create-buffer): Simplify.
6362
c3512092
LL
63632013-07-23 Leo Liu <sdl.web@gmail.com>
6364
6365 * bookmark.el (bookmark-make-record): Restore NAME as a default
6366 value. (Bug#14933)
6367
0ac26976
SM
63682013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6369
7d22ce18
SM
6370 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6371 extracted from autoload--insert-text.
6372 (autoload--insert-text): Remove.
6373 (autoload--print-cookie-text): New function, extracted from
6374 autoload--insert-cookie-text.
6375 (autoload--insert-cookie-text): Remove.
6376 (autoload-generate-file-autoloads): Adjust calls accordingly.
6377
9b2607e8
SM
6378 * winner.el (winner-hook-installed-p): Remove.
6379 (winner-mode): Simplify accordingly.
6380
c43a8618
SM
6381 * subr.el (add-to-list): Fix compiler-macro when `append' is
6382 not constant. Don't use `cl-member' for the base case.
6383
0ac26976
SM
6384 * progmodes/subword.el: Fix boundary case (bug#13758).
6385 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6386 own group.
6387 (subword-backward-regexp): Make it a constant.
6388 (subword-forward-internal): Don't treat a trailing capital as the
6389 beginning of a word.
6390
6874724a
AR
63912013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6392
6393 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6394 global value of tabulated-list-revert-hook (bug#14930).
6395
70f1b5e8
JB
63962013-07-22 Juanma Barranquero <lekktu@gmail.com>
6397
a1c80d9d
JB
6398 * desktop.el: Require 'cl-lib.
6399 (desktop-before-saving-frames-functions): New hook.
6400 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6401 for frames being saved. Rename from desktop--save-minibuffer-frames.
6402 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6403 Do not save frames with non-nil `desktop-dont-save' parameter.
6404 Filter out deleted frames.
a1c80d9d
JB
6405 (desktop--find-frame): Use cl-find-if.
6406 (desktop--select-frame): Use cl-(first|second|third) to access values
6407 of desktop-mini.
6408 (desktop--make-frame): Use cl-delete-if.
6409 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6410 (desktop-restore-frames): Use cl-(first|second|third) to access values
6411 of desktop-mini. Look for visible frame at the end, not while
6412 restoring frames.
6413
70f1b5e8
JB
6414 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6415 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6416 Use string-match-p, looking-at-p (bug#14927).
6417
728dc3cc
JB
64182013-07-21 Juanma Barranquero <lekktu@gmail.com>
6419
56bc453c
JB
6420 * desktop.el (desktop-saved-frame-states):
6421 Rename from desktop--saved-states; all users changed.
6422 (desktop-save-frames): Rename from desktop--save-frames.
6423 Do not save state to desktop file.
6424 (desktop-save): Save desktop-saved-frame-states to desktop file
6425 and reset to nil.
6426 (desktop-restoring-frames-p): New function.
6427 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6428 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6429 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6430
728dc3cc
JB
6431 * desktop.el: Correctly restore iconified frames.
6432 (desktop--filter-iconified-position): New function.
6433 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6434
862f1c9c
GM
64352013-07-20 Glenn Morris <rgm@gnu.org>
6436
c4074c9f
GM
6437 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6438 Let `message' do the formatting.
6439 (def-gdb-preempt-display-buffer): Add explicit format.
6440
d828e5f9
GM
6441 * image-dired.el (image-dired-track-original-file):
6442 Use with-current-buffer.
6443 (image-dired-track-thumbnail): Use with-current-buffer.
6444 Avoid changing point of wrong window.
6445
862f1c9c
GM
6446 * image-dired.el (image-dired-track-original-file):
6447 Avoid changing point of wrong window. (Bug#14909)
6448
f0398ec1 64492013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6450
6451 * progmodes/gdb-mi.el (gdb-done-or-error):
6452 Guard against "%" in gdb output. (Bug#14127)
6453
1451928f
AS
64542013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6455
763a086d
JB
6456 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6457 (Bug#14826)
f7a03897 6458
1451928f
AS
6459 * international/mule.el (coding-system-iso-2022-flags): Fix last
6460 change.
6461
99107004
KH
64622013-07-20 Kenichi Handa <handa@gnu.org>
6463
763a086d
JB
6464 * international/mule.el (coding-system-iso-2022-flags):
6465 Add `8-bit-level-4'. (Bug#8522)
99107004 6466
48494e06
LMI
64672013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6468
8ba8eec5
LMI
6469 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6470 (bug#14815).
6471
dfbc66e3
LMI
6472 * net/eww.el (eww-process-text-input): Allow inputting when the
6473 point is at the start of the line, as the properties aren't
6474 front-sticky.
6475
48494e06
LMI
6476 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6477 degenerate widths.
6478
77c92cb9
RS
64792013-07-19 Richard Stallman <rms@gnu.org>
6480
aec7da77
RS
6481 * epa.el (epa-popup-info-window): Doc fix.
6482
77c92cb9
RS
6483 * subr.el (split-string): New arg TRIM.
6484
945c5bb1
JB
64852013-07-18 Juanma Barranquero <lekktu@gmail.com>
6486
6487 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6488 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6489
e06ec67f
MA
64902013-07-18 Michael Albinus <michael.albinus@gmx.de>
6491
c7064f05 6492 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6493 `file-notify-support'. Do not autoload. Adapt all uses.
6494 (file-notify-supported-p): New defun.
6495
c7064f05
JB
6496 * autorevert.el (auto-revert-use-notify):
6497 Use `file-notify-supported-p' instead of `file-notify-support'.
6498 Adapt docstring.
e06ec67f
MA
6499 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6500
6501 * net/tramp.el (tramp-file-name-for-operation):
6502 Add `file-notify-supported-p'.
6503
6504 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6505 New defun.
6506 (tramp-sh-file-name-handler-alist): Add it as handler for
6507 `file-notify-supported-p '.
6508
6509 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6510 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6511 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6512 Add `ignore' as handler for `file-notify-*' functions.
6513
5dc8a629
EZ
65142013-07-17 Eli Zaretskii <eliz@gnu.org>
6515
6516 * simple.el (line-move-partial, line-move): Don't start vscroll or
6517 scroll-up if the current line is not taller than the window.
6518 (Bug#14881)
6519
77aea2fb
DG
65202013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6521
6522 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6523 highlight question marks in the method names as strings.
ac72c08d
DG
6524 (ruby-block-beg-keywords): Inline.
6525 (ruby-font-lock-keyword-beg-re): Extract from
6526 `ruby-font-lock-keywords'.
77aea2fb 6527
18c26d81
JD
65282013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6529
6530 * frame.el (blink-cursor-blinks): New defcustom.
6531 (blink-cursor-blinks-done): New defvar.
6532 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6533 (blink-cursor-timer-function): Check if number of blinks has been
6534 done on X and NS.
6535 (blink-cursor-suspend, blink-cursor-check): New defuns.
6536
da48522e
GM
65372013-07-15 Glenn Morris <rgm@gnu.org>
6538
6539 * edmacro.el (edmacro-format-keys): Fix previous change.
6540
0463c1ef
PE
65412013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6542
6543 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6544 The hack didn't work outside English locales anyway.
6545
b43f6451
JB
65462013-07-15 Juanma Barranquero <lekktu@gmail.com>
6547
6548 * simple.el (define-alternatives): Rename from alternatives-define,
6549 per RMS' suggestion.
6550
b958c0ad
JB
65512013-07-14 Juanma Barranquero <lekktu@gmail.com>
6552
6553 * desktop.el (desktop-restore-frames): Change default to t.
6554 (desktop-restore-in-current-display): Now offer more options.
6555 (desktop-restoring-reuses-frames): New customization option.
6556 (desktop--saved-states): Doc fix.
6557 (desktop-filter-parameters-alist): New variable, renamed and expanded
6558 from desktop--excluded-frame-parameters.
6559 (desktop--target-display): New variable.
6560 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6561 (desktop--filter-tty*, desktop--filter-*-color)
6562 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6563 (desktop--filter-save-desktop-parm)
6564 (desktop-restore-in-original-display-p): New functions.
6565 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6566 (desktop--save-minibuffer-frames): New function, inspired by a similar
6567 function from Martin Rudalics.
6568 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6569 (desktop--restore-in-this-display-p): Remove.
6570 (desktop--find-frame): Rename from desktop--find-frame-in-display
6571 and add predicate argument.
6572 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6573 (desktop--reuse-list): New variable.
6574 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6575 New functions.
6576 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6577
f6dd8b36
MA
65782013-07-14 Michael Albinus <michael.albinus@gmx.de>
6579
6580 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6581
2ce3c565
DG
65822013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6583
763a086d
JB
6584 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6585 Highlight conversion methods on Kernel.
2ce3c565 6586
2cdb7698
AM
65872013-07-13 Alan Mackenzie <acm@muc.de>
6588
6589 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6590 and comment it out. This out-commenting enables certain C++
6591 declarations to be parsed correctly.
6592
1a67b811
EZ
65932013-07-13 Eli Zaretskii <eliz@gnu.org>
6594
1b796d6b
EZ
6595 * international/mule.el (define-coding-system): Doc fix.
6596
1a67b811
EZ
6597 * simple.el (default-font-height): Don't call font-info if the
6598 frame's default font didn't change since the frame was created.
6599 (Bug#14838)
6600
58fbe886
LL
66012013-07-13 Leo Liu <sdl.web@gmail.com>
6602
6603 * ido.el (ido-read-file-name): Guard against non-symbol value.
6604
1f0480d4
FEG
66052013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6606
6607 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6608 in nested defuns.
6609
97ead0e5
LL
66102013-07-13 Leo Liu <sdl.web@gmail.com>
6611
6612 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6613 ido-set-matches call. (Bug#6852)
6614
0880a952
DG
66152013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6616
6617 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6618 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6619 Ruby 2.0.
6620 (ruby-font-lock-keywords): Distinguish calls to functions with
6621 module-like names from module references. Highlight character
6622 literals.
6623
a7d8babb
SDJ
66242013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6625
6626 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6627 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6628
acfcc8c5
JB
66292013-07-12 Juanma Barranquero <lekktu@gmail.com>
6630
6631 * desktop.el (desktop--v2s): Remove unused local variable.
6632 (desktop-save-buffer): Make defvar-local; adjust docstring.
6633 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6634 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6635
051f2775
AS
66362013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6637
6638 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6639
f24e7572
GM
66402013-07-12 Eli Zaretskii <eliz@gnu.org>
6641
6642 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6643 (Bug#14842)
6644
539a920c
GM
66452013-07-12 Glenn Morris <rgm@gnu.org>
6646
6647 * doc-view.el: Require cl-lib at runtime too.
6648 (doc-view-remove-if): Remove.
6649 (doc-view-search-next-match, doc-view-search-previous-match):
6650 Use cl-remove-if.
6651
6652 * edmacro.el: Require cl-lib at runtime too.
6653 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6654 (edmacro-mismatch, edmacro-subseq): Remove.
6655
6656 * shadowfile.el: Require cl-lib.
6657 (shadow-remove-if): Remove.
6658 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6659 Use cl-remove-if.
6660
6661 * wid-edit.el: Require cl-lib.
6662 (widget-choose): Use cl-remove-if.
6663 (widget-remove-if): Remove.
6664
6665 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6666 (ebrowse-delete-if-not): Remove.
6667 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6668 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6669 Use cl-delete-if-not.
6670
1048af7c
JB
66712013-07-12 Juanma Barranquero <lekktu@gmail.com>
6672
6673 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6674 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6675
6c0674ee
LL
66762013-07-12 Leo Liu <sdl.web@gmail.com>
6677
6678 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6679
a19b3c2d
GM
66802013-07-11 Glenn Morris <rgm@gnu.org>
6681
4582a01c
GM
6682 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6683 (edebug-gensym-index, edebug-gensym):
6684 Remove reimplementation of cl-gensym.
6685 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6686
6687 * thumbs.el: Require cl-lib at run-time too.
6688 (thumbs-gensym-counter, thumbs-gensym):
6689 Remove reimplementation of cl-gensym.
6690 (thumbs-temp-file): Use cl-gensym.
6691
a19b3c2d
GM
6692 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6693 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6694 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6695 (ert--union, ert--gensym-counter, ert--gensym-counter)
6696 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6697 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6698 (ert-make-test-unbound, ert--expand-should-1)
6699 (ert--expand-should, ert--should-error-handle-error)
6700 (should-error, ert--explain-equal-rec)
6701 (ert--plist-difference-explanation, ert-select-tests)
6702 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6703 Use cl-lib functions rather than reimplementations.
6704
88f6a933
MA
67052013-07-11 Michael Albinus <michael.albinus@gmx.de>
6706
6707 * net/tramp.el (tramp-methods): Extend docstring.
6708 (tramp-connection-timeout): New defcustom.
6709 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6710 (with-tramp-progress-reporter): Simplify.
6711 (tramp-process-actions): Improve messages.
6712
6713 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6714 * net/tramp-sh.el (tramp-maybe-open-connection):
6715 Use `tramp-connection-timeout'.
6716 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6717 (Bug#14808)
6718
a43d577e
LL
67192013-07-11 Leo Liu <sdl.web@gmail.com>
6720
6721 * ido.el (ido-read-file-name): Conform to the requirements of
6722 read-file-name. (Bug#11861)
6723 (ido-read-directory-name): Conform to the requirements of
6724 read-directory-name.
6725
d77974bf
JB
67262013-07-11 Juanma Barranquero <lekktu@gmail.com>
6727
6728 * subr.el (delay-warning): New function.
6729
35cb8a3e
EZ
67302013-07-10 Eli Zaretskii <eliz@gnu.org>
6731
6732 * simple.el (default-line-height): New function.
6733 (line-move-partial, line-move): Use it instead of computing the
6734 line height inline.
6735 (line-move-partial): Always compute ROWH. If the last line is
6736 partially-visible, but its text is completely visible, allow
6737 cursor to enter such a partially-visible line.
6738
525c5c77
MA
67392013-07-10 Michael Albinus <michael.albinus@gmx.de>
6740
6741 Improve error messages. (Bug#14808)
6742
6743 * net/tramp.el (tramp-current-connection): New defvar, moved from
6744 tramp-sh.el.
0ac26976 6745 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6746 needed anymore.
0ac26976
SM
6747 (tramp-error-with-buffer): Show message in minibuffer.
6748 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6749 (with-tramp-progress-reporter): Improve messages.
6750 (tramp-process-actions): Use progress reporter. Delete process in
6751 case of error. Improve messages.
6752
763a086d
JB
6753 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6754 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6755 (tramp-current-connection): Remove.
525c5c77
MA
6756 (tramp-maybe-open-connection): The car of
6757 `tramp-current-connection' are the first 3 slots of the vector.
6758
c7a4d368
TZ
67592013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6760
6761 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6762 inside continued strings.
6763
954b166e
PE
67642013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6765
6766 Timestamp fixes for undo (Bug#14824).
6767 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6768
56973319
LL
67692013-07-10 Leo Liu <sdl.web@gmail.com>
6770
6771 * files.el (require-final-newline): Allow safe local value.
6772 (Bug#14834)
6773
5550a72c
LL
67742013-07-09 Leo Liu <sdl.web@gmail.com>
6775
6776 * ido.el (ido-read-directory-name): Handle fallback.
6777 (ido-read-file-name): Update DIR to ido-current-directory.
6778 (Bug#1516)
c28b9050 6779 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6780
70c46b28
DG
67812013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6782
6783 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6784 "autoload". Remove "warn lower camel case" section, previously
6785 commented out. Highlight negation char. Do not highlight the
6786 target in singleton method definitions.
6787
0b64b838
SM
67882013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6789
7fd72e2c
SM
6790 * faces.el (tty-setup-hook): Declare the hook.
6791
0b64b838
SM
6792 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6793 and detect when a guard/pred depends on local vars (bug#14773).
6794 (pcase--u1): Adjust caller.
6795
ab49d60b
EZ
67962013-07-08 Eli Zaretskii <eliz@gnu.org>
6797
6798 * simple.el (line-move-partial, line-move): Account for
6799 line-spacing.
701d79aa
EZ
6800 (line-move-partial): Avoid setting vscroll when the last
6801 partially-visible line in window is of default height.
ab49d60b 6802
2d756ae0
LMI
68032013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6804
6805 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6806 been used a while.
6807
ed095bd7
JB
68082013-07-07 Juanma Barranquero <lekktu@gmail.com>
6809
6810 * subr.el (read-quoted-char): Remove unused local variable `char'.
6811
f1e6674b
MK
68122013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6813
584ee3fc
GM
6814 * ediff.el (ediff-version): Version update.
6815 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6816 (ediff-merge-with-ancestor-command, ediff-directories-command)
6817 (ediff-directories3-command, ediff-merge-directories-command)
6818 (ediff-merge-directories-with-ancestor-command): New functions.
6819 All are command-line interfaces to ediff: to facilitate calling
6820 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6821
6822 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6823 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6824
584ee3fc
GM
6825 * viper.el (viper-version): Version update.
6826 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6827
584ee3fc
GM
68282013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6831 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6832 (viper-intercept-ESC-key): Simplify.
6833 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6834 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6835 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6836 (viper-setup-ESC-to-escape): New functions.
6837 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6838 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6839
9aff9b38
EZ
68402013-07-07 Eli Zaretskii <eliz@gnu.org>
6841
5165d44a
JB
6842 * simple.el (default-font-height, window-screen-lines):
6843 New functions.
9aff9b38
EZ
6844 (line-move, line-move-partial): Use them instead of
6845 frame-char-height and window-text-height. This makes scrolling
6846 text smoother when the buffer's default face uses a font that is
6847 different from the frame's default font.
6848
1afb1d07
JD
68492013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6850
6851 * files.el (write-file): Do not display confirm dialog for NS,
6852 it does its own dialog, which can't be cancelled (Bug#14578).
6853
23de972a
EZ
68542013-07-06 Eli Zaretskii <eliz@gnu.org>
6855
6856 * simple.el (line-move-partial): Adjust the row returned by
6857 posn-at-point for the current window-vscroll. (Bug#14567)
6858
54a42486
MA
68592013-07-06 Michael Albinus <michael.albinus@gmx.de>
6860
6861 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6862 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6863 spaces.
6864
34ada5f4
MR
68652013-07-06 Martin Rudalics <rudalics@gmx.at>
6866
6867 * window.el (window-state-put-stale-windows): New variable.
6868 (window--state-put-2): Save list of windows without matching buffer.
6869 (window-state-put): Remove "bufferless" windows if possible.
6870
11e03d89
JB
68712013-07-06 Juanma Barranquero <lekktu@gmail.com>
6872
6873 * simple.el (alternatives-define): Remove leftover :group keyword.
6874 Tweak docstring.
6875
3504a4be
LL
68762013-07-06 Leo Liu <sdl.web@gmail.com>
6877
6878 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6879 (ido-enable-virtual-buffers): New variable.
6880 (ido-buffer-internal, ido-toggle-virtual-buffers)
6881 (ido-make-buffer-list): Use it.
6882 (ido-exhibit): Support turning on and off virtual buffers
6883 automatically.
6884
61e56e2c
JB
68852013-07-06 Juanma Barranquero <lekktu@gmail.com>
6886
6887 * simple.el (alternatives-define): New macro.
6888
321e1a9c
SM
68892013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * subr.el (read-quoted-char): Use read-key.
6892 (sit-for): Let read-event decode tty input (bug#14782).
6893
d610f6dd
SB
68942013-07-05 Stephen Berman <stephen.berman@gmx.net>
6895
6896 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6897 mode command and externally. Fix various related bugs.
6898 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6899 (todo-delete-file): New command.
6900 (todo-check-file): New function.
6901 (todo-show): Handle external deletion of the file we're trying to
6902 show (bug#14688). Replace called-interactively-p by an optional
6903 prefix argument to avoid problematic interaction with catch form
6904 when byte compiled (bug#14702).
6905 (todo-quit): Handle external deletion of the archive's todo file.
6906 Make sure the buffer that was visiting the archive file is still
6907 live before trying to bury it.
6908 (todo-category-completions): Handle external deletion of any
6909 category completion files.
6910 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6911 of todo files, in case of external deletion.
6912 (todo-add-file): Replace unnecessary setq by let-binding.
6913 (todo-find-archive): Check whether there are any archives.
6914 Replace unnecessary setq by let-binding.
6915 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6916 archive buffer whether or not the archive already exists.
6917 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6918 check if the archive is new; if it is, update list of archives.
6919 (todo-default-todo-file): Allow nil to be a valid value for when
6920 there are no todo files.
6921 (todo-reevaluate-default-file-defcustom): Use corrected definition
6922 of todo-default-todo-file.
6923 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6924 (todo-delete-category, todo-show-categories-table)
6925 (todo-category-number): Clarify comment.
6926 (todo-filter-items): Clarify documentation string.
6927 (todo-show-current-file, todo-display-as-todo-file)
6928 (todo-reset-and-enable-done-separator): Tweak documentation string.
6929 (todo-done-separator): Make separator length window-width, since
6930 bug#2749 is now fixed.
6931
ddbdfd6f
MA
69322013-07-05 Michael Albinus <michael.albinus@gmx.de>
6933
321e1a9c
SM
6934 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6935 Support both "gvfs-monitor-dir" and "inotifywait".
6936 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6937 `tramp-sh-file-notify-process-filter'.
6938 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6939 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6940
96eb829a
LL
69412013-07-05 Leo Liu <sdl.web@gmail.com>
6942
6943 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6944
cf13177e
YM
69452013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6946
6947 * frame.el (display-pixel-height, display-pixel-width)
6948 (display-mm-height, display-mm-width): Mention behavior on
6949 multi-monitor setups in docstrings.
6950 (w32-display-monitor-attributes-list): Declare function.
6951 (display-monitor-attributes-list): Use it.
6952
864c58ca
MA
69532013-07-04 Michael Albinus <michael.albinus@gmx.de>
6954
6955 * filenotify.el: New package.
6956
6957 * autorevert.el (top): Require filenotify.el.
6958 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6959 instead.
6960 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6961 (auto-revert-notify-handler): Use `file-notify-*' functions.
6962
6963 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6964
321e1a9c
SM
6965 * net/tramp.el (tramp-file-name-for-operation):
6966 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6967
6968 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6969 for `file-notify-add-watch' and `file-notify-rm-watch'.
6970 (tramp-process-sentinel): Improve trace.
6971 (tramp-sh-handle-file-notify-add-watch)
6972 (tramp-sh-file-notify-process-filter)
6973 (tramp-sh-handle-file-notify-rm-watch)
6974 (tramp-get-remote-inotifywait): New defuns.
6975
96673afe
JL
69762013-07-03 Juri Linkov <juri@jurta.org>
6977
6978 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6979 call of `occur-read-primary-args' to interactive spec.
6980
6981 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6982 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6983
924494f4
MM
69842013-07-03 Matthias Meulien <orontee@gmail.com>
6985
6986 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6987 `Buffer-menu-multi-occur'. Add it to the menu.
6988 (Buffer-menu-mode): Document it in docstring.
6989 (Buffer-menu-multi-occur): New command. (Bug#14673)
6990
56f75efc
DG
69912013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6992
6993 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6994 keywords and built-ins.
6995
9b057d61
GM
69962013-07-03 Glenn Morris <rgm@gnu.org>
6997
208dee4d
GM
6998 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6999
9b057d61
GM
7000 Make info-xref checks case-sensitive by default
7001 * info.el (Info-find-node, Info-find-in-tag-table)
7002 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7003 Add option for exact case matching of nodes.
7004 * info-xref.el (info-xref): New custom group.
7005 (info-xref-case-fold): New option.
7006 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7007
e01aa29c
LL
70082013-07-03 Leo Liu <sdl.web@gmail.com>
7009
7010 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7011
3086ca2e
DG
70122013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7013
7014 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7015 middle of block statement initially, lower the depth. Remove
7016 FIXME comment, not longer valid. Remove middle of block statement
7017 detection, no need to do that anymore since we've been using
7018 `ruby-parse-region' here.
7019
a3b49114
JD
70202013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7021
7022 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7023
08e5c823 70242013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7025
7026 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7027
2addf922
JB
70282013-07-01 Juanma Barranquero <lekktu@gmail.com>
7029
7030 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7031 (desktop-restore-in-current-display): New customization option.
7032 (desktop--excluded-frame-parameters): Add `font'.
7033 (desktop--save-frames): Rename from desktop--save-windows.
7034 (desktop--restore-in-this-display-p): New function.
7035 (desktop--make-full-frame): Remove unwanted width/height from
7036 full(width|height) frames.
7037 (desktop--restore-frames): Rename from desktop--restore-windows.
7038 Obey desktop-restore-current-display. Do not delete old frames or
7039 select a new frame unless we were able to restore at least one frame.
7040
ef099a94
MN
70412013-06-30 Michal Nazarewicz <mina86@mina86.com>
7042
7043 * files.el (find-file-noselect): Simplify conditional expression.
7044
7045 * remember.el (remember-append-to-file):
7046 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7047
7048 Add `remember-notes' function to store random notes across Emacs
7049 restarts.
7050 * remember.el (remember-data-file): Add :set callback to affect
7051 notes buffer (if any).
7052 (remember-notes): New command.
7053 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7054 New defcustoms for the `remember-notes' function.
7055 (remember-notes-save-and-bury-buffer): New command.
7056 (remember-notes-mode-map): New variable.
7057 (remember-mode): New minor mode.
7058 (remember-notes--kill-buffer-query): New function.
7059 * startup.el (initial-buffer-choice): Add notes to custom type.
7060
0865d506
EZ
70612013-06-30 Eli Zaretskii <eliz@gnu.org>
7062
0ba54312
EZ
7063 * bindings.el (right-char, left-char): Don't call sit-for, this is
7064 no longer needed. Use arithmetic comparison only for numerical
7065 arguments.
7066
ef099a94
MN
7067 * international/mule-cmds.el (select-safe-coding-system):
7068 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7069
2fae38e5
LMI
70702013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7071
7072 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7073 progression on degenerate tables.
ef099a94 7074 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7075
a47cbd64
JB
70762013-06-30 Juanma Barranquero <lekktu@gmail.com>
7077
7078 Some fixes and improvements for desktop frame restoration.
7079 It is still experimental and disabled by default.
7080 * desktop.el (desktop--save-windows): Put the selected frame at
7081 the head of the list.
7082 (desktop--make-full-frame): New function.
7083 (desktop--restore-windows): Try to re-select the frame that was
7084 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7085 just show an error message and continue. Set up maximized frames
7086 so they have default non-maximized dimensions.
a47cbd64 7087
6dbafa30
DG
70882013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7089
ef099a94
MN
7090 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7091 Don't start heredoc inside a string or comment.
6dbafa30 7092
4c672a0f
EZ
70932013-06-29 Eli Zaretskii <eliz@gnu.org>
7094
7095 * bindings.el (visual-order-cursor-movement): New defcustom.
7096 (right-char, left-char): Provide visual-order cursor motion by
7097 calling move-point-visually. Update the doc strings.
7098
50960f36
KH
70992013-06-28 Kenichi Handa <handa@gnu.org>
7100
7101 * international/mule.el (define-coding-system): New coding system
7102 properties :inhibit-null-byte-detection,
7103 :inhibit-iso-escape-detection, and :prefer-utf-8.
7104 (set-buffer-file-coding-system): If :charset-list property of
7105 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7106 appropriate for setting.
7107
c1ea3abf
JB
7108 * international/mule-cmds.el (select-safe-coding-system):
7109 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7110 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7111
7112 * international/mule-conf.el (prefer-utf-8): New coding system.
7113 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7114 files.
7115
75dbaf9d
IK
71162013-06-28 Ivan Kanis <ivan@kanis.fr>
7117
eadb6068
IK
7118 * net/shr.el (shr-render-region): New function.
7119
75dbaf9d
IK
7120 * net/eww.el: Autoload `eww-browse-url'.
7121
9ea5cf9f
DG
71222013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7123
c1ea3abf
JB
7124 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7125 Adapt to `package-desc-version' being a list.
7126 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7127 archive element.
7128
39c0e36f
JB
71292013-06-27 Juanma Barranquero <lekktu@gmail.com>
7130
7131 New experimental feature to save&restore window and frame setup.
7132 * desktop.el (desktop-save-windows): New defcustom.
7133 (desktop--saved-states): New var.
7134 (desktop--excluded-frame-parameters): New defconst.
7135 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7136 (desktop--restore-windows, desktop--save-windows): New functions.
7137 (desktop-save): Call `desktop--save-windows'.
7138 (desktop-read): Call `desktop--restore-windows'.
7139
7f13406b
LMI
71402013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7141
ef099a94 7142 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7143
1e072639
SB
71442013-06-27 Stephen Berman <stephen.berman@gmx.net>
7145
7146 * info.el (Info-try-follow-nearest-node): Move search for footnote
7147 above search for node name to prevent missing a footnote (bug#14717).
7148
f3e2cbde
SB
71492013-06-27 Stephen Berman <stephen.berman@gmx.net>
7150
7151 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7152
99906aa0
LL
71532013-06-27 Leo Liu <sdl.web@gmail.com>
7154
7155 * net/eww.el (eww-read-bookmarks): Check file size.
7156
539f75f4
SM
71572013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7158
7159 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7160 advice--pending if newdef is nil or an autoload (bug#13820).
7161 (advice-mapc): New function.
7162
843571cb
LMI
71632013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7164
7165 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7166 probably.
23a75d7f 7167 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7168 (eww-add-bookmark): New command.
7169 (eww-bookmark-mode): New mode and commands.
a285ce99 7170 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7171 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7172
f2136e1e
GM
71732013-06-26 Glenn Morris <rgm@gnu.org>
7174
eab35f39
GM
7175 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7176 (hfy-size): Handle ttys. (Bug#14668)
7177
f2136e1e
GM
7178 * info-xref.el: Update for Texinfo 5 change in *note format.
7179 (info-xref-node-re, info-xref-note-re): New constants.
7180 (info-xref-check-buffer): Use info-xref-note-re.
7181
a49ff80c
SM
71822013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7183
a343d218
SM
7184 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7185
a49ff80c
SM
7186 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7187 nil terminate the loop (bug#14718).
7188
8308f184
LMI
71892013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7190
7191 * net/eww.el: Rework history traversal. When going forward/back,
7192 put these actions into the history, too, so that they can be
7193 replayed.
26bf2b82 7194 (eww-render): Move the history reset to the correct buffer.
8308f184 7195
ec64c273
JL
71962013-06-25 Juri Linkov <juri@jurta.org>
7197
7198 * files-x.el (modify-dir-local-variable): Change the header comment
7199 in the file with directory local variables. (Bug#14692)
7200
e080a9d7
JL
7201 * files-x.el (read-file-local-variable-value): Add `default'.
7202 (Bug#14710)
7203
bfbc93a1
IK
72042013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7205
7206 * net/eww.el (eww-make-unique-file-name): Create a unique file
7207 name before saving to entering `y' accidentally asynchronously.
7208
72092013-06-25 Ivan Kanis <ivan@kanis.fr>
7210
7211 * net/eww.el (eww-download): New command and keystroke.
7212
16f74f10
LMI
72132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7214
a49ff80c 7215 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7216
7217 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7218 be more consistent with Info and dired.
7219
7220 * net/eww.el (eww-mode-map): Ditto.
7221
12059709
SM
72222013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7223
7224 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7225 packages from archives.
7226 (package-archive-contents): Change format; include obsolete packages.
7227 (package-desc): Use `dir' to mark builtin packages.
7228 (package--from-builtin): Set the `dir' field to `builtin'.
7229 (generated-autoload-file, version-control): Declare.
7230 (package-compute-transaction): Change first arg and return value to be
7231 lists of package-descs. Adjust to new package-archive-contents format.
7232 (package--add-to-archive-contents): Adjust to new
7233 package-archive-contents format.
7234 (package-download-transaction): Arg is now a list of package-descs.
7235 (package-install): If `pkg' is a package name, pass it as
7236 a requirement, so it is subject to the usual (e.g. disabled) checks.
7237 (describe-package): Accept package-desc as well.
7238 (describe-package-1): Describe a specific package-desc. Add links to
7239 other package-descs for the same package name.
7240 (package-menu-describe-package): Pass the actual package-desc.
7241 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7242 works correctly.
7243 (package-desc-status): New function.
7244 (package-menu--refresh): New function, extracted
7245 from package-menu--generate.
7246 (package-menu--generate): Use it.
7247 (package-delete): Update package-alist.
7248 (package-menu-execute): Don't call package-initialize.
7249
7250 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7251 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7252 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7253 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7254 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7255 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7256
8bbdea0f
MR
72572013-06-25 Martin Rudalics <rudalics@gmx.at>
7258
7259 * window.el (window--state-get-1): Workaround for bug#14527.
7260 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7261
e82b0991
LMI
72622013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7263
7264 * net/eww.el (eww-back-url): Implement the history by stashing all
7265 the data into a list.
d3f0f918 7266 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7267
c763842b
SM
72682013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7269
7270 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7271 for values and use read--expression for expressions (bug#14710).
7272 (read-file-local-variable): Avoid setq.
7273 (read-file-local-variable-mode): Use minor-mode-list.
7274
bceff189
RW
72752013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7276
864c58ca 7277 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7278 for DOI URLs.
7279
45f431c6
RW
72802013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7281
864c58ca 7282 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7283 Update imenu-support when dialect changes.
7284
f42d8237
LL
72852013-06-25 Leo Liu <sdl.web@gmail.com>
7286
7287 * ido.el (ido-read-internal): Allow forward slash on windows.
7288
be549ce6
LMI
72892013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7290
7291 * net/eww.el (eww): Start of strings is \\`, not ^.
7292
71d4c19d
IK
72932013-06-24 Ivan Kanis <ivan@kanis.fr>
7294
5196f88a
IK
7295 * net/shr.el (shr-browse-url): Fix interactive spec.
7296
71d4c19d
IK
7297 * net/eww.el (eww): Add a trailing slash to domain names.
7298
ae36ca55
JB
72992013-06-24 Juanma Barranquero <lekktu@gmail.com>
7300
7301 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7302
0ebd92a3
LMI
73032013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7304
bdaa086b
LMI
7305 * net/shr.el (shr-browse-url): Use an external browser if given a
7306 prefix.
7307
c763842b 7308 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7309
b89fc156
IK
73102013-06-24 Ivan Kanis <ivan@kanis.fr>
7311
7312 * net/eww.el (eww): Work more correctly for file: URLs.
7313 (eww-detect-charset): Allow quoted charsets.
7314 (eww-yank-page-url): New command and keystroke.
7315
18eb4bca
DU
73162013-06-24 Daiki Ueno <ueno@gnu.org>
7317
7318 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7319 file name of gpg executable.
7320 (epg-context-program): New function.
7321 (epg-context-home-directory): New function.
7322 (epg-context-set-program): New function.
7323 (epg-context-set-home-directory): New function.
7324 (epg--start): Use `epg-context-program' instead of
7325 'epg-gpg-program'.
7326 (epg--list-keys-1): Likewise.
7327
6c6268c8
LL
73282013-06-24 Leo Liu <sdl.web@gmail.com>
7329
7330 * ido.el (ido-read-internal): Fix bug#14620.
7331
5e400cb3
JB
73322013-06-23 Juanma Barranquero <lekktu@gmail.com>
7333
7334 * faces.el (face-documentation): Simplify.
7335 (read-face-attribute, tty-find-type, x-resolve-font-name):
7336 Use `string-match-p'.
7337 (list-faces-display): Use `string-match-p'. Simplify.
7338 (face-spec-recalc): Check face to avoid face alias loops.
7339 (read-color): Use `string-match-p' and non-capturing parenthesis.
7340
f3f9606c
LMI
73412013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7342
7343 * net/shr.el (shr-rescale-image): Use the new
7344 :max-width/:max-height functionality.
7345
a3ca09b9
IK
73462013-06-23 Ivan Kanis <ivan@kanis.fr>
7347
7348 * net/eww.el (eww-search-prefix): New variable.
7349 (eww): Use it.
f865b474
IK
7350 (eww-external-browser): New variable.
7351 (eww-mode-map): New keystroke.
7352 (eww-browse-with-external-browser): New command.
a3ca09b9 7353
e854cfc7
IK
7354 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7355
18bb9e21
JB
73562013-06-23 Juanma Barranquero <lekktu@gmail.com>
7357
7358 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7359 Don't skip aligning the next header field when padding is 0;
7360 otherwise, field width is not respected unless the title is as
7361 wide as the field.
7362
5b165ade
SM
73632013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * emacs-lisp/package.el (package-el-version): Remove.
7366 (package-process-define-package): Fix inf-loop.
7367 (package-install): Allow symbols as arguments again.
7368
12adebe9
DG
73692013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7370
7371 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7372 add some more keyword-like methods.
7373 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7374
388573ee
JB
73752013-06-22 Juanma Barranquero <lekktu@gmail.com>
7376
7377 * bs.el (bs-buffer-show-mark): Make defvar-local.
7378 (bs-mode): Use setq-local.
7379
7380 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7381 (emacs-lock--try-unlocking): Make defvar-local.
7382
4582a01c 73832013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7384
2663dd23
GM
7385 * play/cookie1.el (cookie-apropos): Minor simplification.
7386
3d94f3ad
GM
7387 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7388
f72e2fdb
DG
73892013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7390
7391 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7392 `regexp-opt', it breaks the build during dumping.
7393
73eab938
DG
73942013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7395
c763842b
SM
7396 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7397 Highlight keyword-like methods on Kernel and Module with
73eab938 7398 font-lock-builtin-face.
5cf8176d
DG
7399 (auto-mode-alist): Consolidate different entries into one regexp
7400 and add more *file-s.
73eab938 7401
d26255f6
SB
74022013-06-21 Stephen Berman <stephen.berman@gmx.net>
7403
7404 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7405
7406 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7407 (diary-entry): Use it in the action of this button type instead of
7408 diary-goto-entry.
7409
7410 * calendar/todo-mode.el: New version.
7411 (todo-add-category): Append new category to end of file and give
7412 it the highest number, instead of putting it at the beginning and
7413 giving it 0. Incorporate noninteractive functionality.
7414 (todo-forward-category): Adapt to 1-based category numbering.
7415 Allow skipping over archived categories.
7416 (todo-backward-category): Derive from todo-forward-category.
7417 (todo-backward-item, todo-forward-item): Make noninteractive and
7418 delegate interactive part to new commands. Make sensitive to done items.
7419 (todo-categories): Make value an alist of category names and
7420 vectors of item counts.
7421 (todo-category-beg): Make a defconst.
7422 (todo-category-number): Use 1 instead of 0 as initial value.
7423 (todo-category-select): Make sensitive to overlays, optional item
7424 highlighting and done items.
7425 (todo-delete-item): Make sensitive to overlays and marked and done items.
7426 (todo-edit-item): Make sensitive to overlays and editing of
7427 date/time header optional. Add format checks.
7428 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7429 no-op if point is not on an item. Advertise using todo-edit-quit.
7430 (todo-edit-mode): Make sensitive to new format, font-locking, and
7431 multiple todo files.
7432 (todo-insert-item, todo-insert-item-here): Derive from
7433 todo-basic-insert-item and extend functionality.
7434 (todo-item-end, todo-item-start): Make sensitive to done items.
7435 (todo-item-string): Don't return text properties. Restore point.
7436 (todo-jump-to-category): Make sensitive to multiple todo files and
7437 todo archives. Use extended category completion.
7438 (todo-lower-item, todo-raise-item): Rename to *-priority and
7439 derive from todo-set-item-priority.
7440 (todo-mode): Derive from special-mode. Make sensitive to new
7441 format, font-locking and multiple todo files. Make read-only.
7442 (todo-mode-map): Don't suppress digit keys, so they can supply
7443 prefix arguments. Add many new key bindings.
7444 (todo-prefix): Insert as an overlay instead of file text.
7445 Change semantics from diary date expression to purely visual mark.
7446 (todo-print): Rename to todo-print-buffer. Make buffer display
7447 features printable. Remove option to restrict number of items
7448 printed. Add option to print to file.
7449 (todo-print-function): Rename to todo-print-buffer-function.
7450 (todo-quit): Extend to handle exiting new todo modes.
7451 (todo-remove-item): Make sensitive to overlays.
7452 (todo-save): Extend to buffers of filtered items.
7453 (todo-show): Make sensitive to done items, multiple todo files and
7454 new todo modes. Offer to convert legacy todo file before creating
7455 first new todo file.
7456 (todo-show-priorities): Rename to todo-top-priorities.
7457 Change semantics of value 0.
7458 (todo-top-priorities): Rename to todo-filter-top-priorities,
7459 derive from todo-filter-items and extend functionality.
7460 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7461 and extend functionality to other types of filtered items.
7462 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7463 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7464 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7465 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7466 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7467 (todo-edit-mode-hook, todo-entry-prefix-function)
7468 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7469 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7470 (todo-initials, todo-insert-threshold, todo-item-string-start)
7471 (todo-line-string, todo-menu, todo-mode-hook)
7472 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7473 (todo-print-priorities, todo-remove-separator)
7474 (todo-save-top-priorities-too, todo-string-count-lines)
7475 (todo-string-multiline-p, todo-time-string-format)
7476 (todo-tmp-buffer-name): Remove.
7477 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7478 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7479 (todo-edit-category-diary-inclusion)
7480 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7481 (todo-edit-file, todo-edit-item-date-day)
7482 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7483 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7484 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7485 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7486 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7487 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7488 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7489 (todo-filter-top-priorities-multifile, todo-find-archive)
7490 (todo-find-filtered-items-file, todo-go-to-source-item)
7491 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7492 (todo-jump-to-archive-category, todo-lower-category)
7493 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7494 (todo-move-category, todo-move-item, todo-next-button)
7495 (todo-next-item, todo-padded-string, todo-powerset)
7496 (todo-previous-button, todo-previous-item)
7497 (todo-print-buffer-to-file, todo-raise-category)
7498 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7499 (todo-set-category-number, todo-set-item-priority)
7500 (todo-set-top-priorities-in-category)
7501 (todo-set-top-priorities-in-file, todo-show-categories-table)
7502 (todo-sort-categories-alphabetically-or-numerically)
7503 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7504 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7505 (todo-toggle-item-header, todo-toggle-item-highlighting)
7506 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7507 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7508 (todo-unarchive-items, todo-unmark-category): New commands.
7509 (todo-absolute-file-name, todo-add-to-buffer-list)
7510 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7511 (todo-basic-insert-item, todo-category-completions)
7512 (todo-category-number, todo-category-string-matcher-1)
7513 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7514 (todo-check-format, todo-clear-matches)
7515 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7516 (todo-current-category, todo-date-string-matcher)
7517 (todo-define-insertion-command, todo-diary-expired-matcher)
7518 (todo-diary-goto-entry, todo-diary-item-p)
7519 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7520 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7521 (todo-done-item-section-p, todo-done-separator)
7522 (todo-done-string-matcher, todo-files, todo-filter-items)
7523 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7524 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7525 (todo-insert-category-line, todo-insert-item-from-calendar)
7526 (todo-insert-sort-button, todo-insert-with-overlays)
7527 (todo-insertion-command-name, todo-insertion-key-bindings)
7528 (todo-label-to-key, todo-longest-category-name-length)
7529 (todo-make-categories-list, todo-mode-external-set)
7530 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7531 (todo-modes-set-3, todo-multiple-filter-files)
7532 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7533 (todo-read-category, todo-read-date, todo-read-dayname)
7534 (todo-read-file-name, todo-read-time)
7535 (todo-reevaluate-category-completions-files-defcustom)
7536 (todo-reevaluate-default-file-defcustom)
7537 (todo-reevaluate-filelist-defcustoms)
7538 (todo-reevaluate-filter-files-defcustom)
7539 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7540 (todo-reset-done-separator, todo-reset-done-separator-string)
7541 (todo-reset-done-string, todo-reset-global-current-todo-file)
7542 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7543 (todo-reset-prefix, todo-set-categories)
7544 (todo-set-date-from-calendar, todo-set-show-current-file)
7545 (todo-set-top-priorities, todo-short-file-name)
7546 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7547 (todo-total-item-counts, todo-update-buffer-list)
7548 (todo-update-categories-display, todo-update-categories-sexp)
7549 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7550 New functions.
7551 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7552 New major modes.
7553 (todo-categories, todo-display, todo-edit, todo-faces)
7554 (todo-filtered): New defgroups.
7555 (todo-archived-only, todo-button, todo-category-string, todo-date)
7556 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7557 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7558 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7559 (todo-add-item-if-new-category, todo-always-add-time-string)
7560 (todo-categories-align, todo-categories-archived-label)
7561 (todo-categories-category-label, todo-categories-diary-label)
7562 (todo-categories-done-label, todo-categories-number-separator)
7563 (todo-categories-todo-label, todo-categories-totals-label)
7564 (todo-category-completions-files, todo-completion-ignore-case)
7565 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7566 (todo-done-separator-string, todo-done-string)
7567 (todo-files-function, todo-filter-done-items, todo-filter-files)
7568 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7569 (todo-initial-category, todo-initial-file, todo-item-mark)
7570 (todo-legacy-date-time-regexp, todo-mode-line-function)
7571 (todo-nondiary-marker, todo-number-prefix)
7572 (todo-print-buffer-function, todo-show-current-file)
7573 (todo-show-done-only, todo-show-first, todo-show-with-done)
7574 (todo-skip-archived-categories, todo-top-priorities-overrides)
7575 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7576 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7577 New defcustoms.
7578 (todo-category-done, todo-date-pattern, todo-date-string-start)
7579 (todo-diary-items-buffer, todo-done-string-start)
7580 (todo-filtered-items-buffer, todo-item-start)
7581 (todo-month-abbrev-array, todo-month-name-array)
7582 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7583 (todo-top-priorities-buffer): New defconsts.
7584 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7585 (todo-categories-with-marks, todo-category-string-face)
7586 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7587 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7588 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7589 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7590 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7591 (todo-font-lock-keywords, todo-global-current-todo-file)
7592 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7593 (todo-insertion-commands-args)
7594 (todo-insertion-commands-args-genlist)
7595 (todo-insertion-commands-names, todo-insertion-map)
7596 (todo-key-bindings-t, todo-key-bindings-t+a)
7597 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7598 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7599 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7600 (todo-visited): New variables.
7601
cad5d1cb
GM
76022013-06-21 Glenn Morris <rgm@gnu.org>
7603
7604 * play/cookie1.el (cookie-apropos): Add optional display argument.
7605 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7606 (psychoanalyze-pinhead): Use cookie-doctor.
7607
9e277302
JB
76082013-06-21 Juanma Barranquero <lekktu@gmail.com>
7609
7610 * emacs-lisp/package.el (tar-get-file-descriptor)
7611 (tar--extract): Declare.
7612
c5b0993e
EW
76132013-06-21 Eduard Wiebe <usenet@pusto.de>
7614
7615 Extend flymake's warning predicate to be a function (bug#14217).
7616 * progmodes/flymake.el (flymake-warning-predicate): New.
7617 (flymake-parse-line): Use it.
7618 (flymake-warning-re): Make obsolete alias to
7619 `flymake-warning-predicate'.
7620
a7d2d465
SM
76212013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7624 (package-obsolete-list): Remove.
7625 (package-activate): Remove min-version argument. Add `force' argument.
7626 Adjust to new package-alist format.
7627 (package-mark-obsolete): Remove.
7628 (package-unpack): Force reload of the package's autoloads.
7629 (package-installed-p): Check builtins if the installed package is not
7630 recent enough.
7631 (package-initialize): Don't reset package-obsolete-list.
7632 Don't specify which package version to activate.
7633 (package-process-define-package, describe-package-1)
7634 (package-menu--generate): Adjust to new package-alist format.
7635
cedf5c9d
JB
76362013-06-21 Juanma Barranquero <lekktu@gmail.com>
7637
7638 * allout-widgets.el (allout-widgets-mode-off)
7639 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7640 (allout-widgets-post-command-business)
7641 (allout-widgets-after-copy-or-kill-function)
7642 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7643 (allout-decorate-item-and-context)
7644 (allout-graphics-modification-handler): Fix typos in docstrings.
7645 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7646
7647 * cmuscheme.el (scheme-start-file): Doc fix.
7648 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7649 (scheme-input-filter): Use `string-match-p'.
7650
7651 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7652
7653 * dired-x.el: Use Dired consistently in docstrings.
7654
7655 * dired.el: Use Dired consistently in docstrings.
7656 (dired-readin, dired-mode): Use `setq-local'.
7657 (dired-switches-alist): Make defvar-local.
7658 (dired-buffers-for-dir): Use `zerop'.
7659 (dired-safe-switches-p, dired-switches-escape-p)
7660 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7661 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7662 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7663 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7664 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7665 (dired-toggle-marks, dired-mark-files-containing-regexp)
7666 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7667 (dired-flag-auto-save-files, dired-flag-backup-files):
7668 Use `looking-at-p'.
7669 (dired-mark-files-regexp, dired-build-subdir-alist):
7670 Use `string-match-p', `looking-at-p'.
7671
7672 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7673 (direct-print-region-helper): Use `string-match-p'.
7674
aed838b5
LL
76752013-06-21 Leo Liu <sdl.web@gmail.com>
7676
cedf5c9d
JB
7677 * comint.el (comint-redirect-results-list-from-process):
7678 Fix infinite loop.
aed838b5 7679
d80a808f
LMI
76802013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7681
7682 * net/eww.el (eww-update-header-line-format): Quote % characters.
7683
e7a526e3
GM
76842013-06-21 Glenn Morris <rgm@gnu.org>
7685
7686 * play/cookie1.el (cookie): New custom group.
7687 (cookie-file): New option.
7688 (cookie-check-file): New function.
7689 (cookie): Make it interactive. Make start and end messages optional.
7690 Interactively, display the result. Default to cookie-file.
7691 (cookie-insert): Default to cookie-file.
7692 (cookie-snarf): Make start and end messages optional.
7693 Default to cookie-file. Use with-temp-buffer.
7694 (cookie-read): Rename from read-cookie.
7695 Make start and end messages optional. Default to cookie-file.
7696 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7697 Do not autoload it.
e7a526e3
GM
7698 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7699 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7700
62efb35e
LL
77012013-06-21 Leo Liu <sdl.web@gmail.com>
7702
7703 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7704
21e3f963
GM
77052013-06-21 Glenn Morris <rgm@gnu.org>
7706
7707 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7708
fd846ab4
SM
77092013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7710 Daniel Hackney <dan@haxney.org>
7711
7712 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7713 Consolidate the single-file vs tarball code.
7714 (package-desc-suffix): New function.
7715 (package-desc-full-name): Don't bother inlining it.
7716 (package-load-descriptor): Return the new package-desc.
7717 (package-mark-obsolete): Remove unused arg `package'.
7718 (package-unpack): Make it work for single files as well.
7719 Make it update package-alist.
7720 (package--make-autoloads-and-stuff): Rename from
7721 package--make-autoloads-and-compile. Don't compile any more.
7722 (package--compile): New function.
7723 (package-generate-description-file): New function, extracted from
7724 package-unpack-single.
7725 (package-unpack-single): Remove.
7726 (package--with-work-buffer): Add indentation and debugging info.
7727 (package-download-single): Remove.
7728 (package-install-from-archive): Rename from package-download-tar, make
7729 it take a pkg-desc, and make it work for single files as well.
7730 (package-download-transaction): Simplify.
7731 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7732 external tar program.
7733 (package-install-from-buffer): Remove `pkg-desc' argument.
7734 Use package-tar-file-info for tar-mode buffers.
7735 (package-install-file): Simplify accordingly.
7736 (package-archive-base): Change to take a pkg-desc.
7737 * tar-mode.el (tar--check-descriptor): New function, extracted from
7738 tar-get-descriptor.
7739 (tar-get-descriptor): Use it.
7740 (tar-get-file-descriptor): New function.
7741 (tar--extract): New function, extracted from tar-extract.
7742 (tar--extract): Use it.
7743 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7744 case the summary uses non-ascii. Adjust to new calling convention of
7745 package-tar-file-info.
7746
b7deae5e
LL
77472013-06-21 Leo Liu <sdl.web@gmail.com>
7748
fd846ab4
SM
7749 * comint.el (comint-redirect-results-list-from-process):
7750 Fix random delay. (Bug#14681)
b7deae5e 7751
7a65a0b2
JB
77522013-06-21 Juanma Barranquero <lekktu@gmail.com>
7753
7754 * profiler.el (profiler-format-number): Use log, not log10.
7755
1493c2af
JB
77562013-06-20 Juanma Barranquero <lekktu@gmail.com>
7757
7758 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7759
aff6371e
SM
77602013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7763 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7764 yet available.
7765 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7766 (AUTOGENEL): ... here.
7767 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7768 (cl--defsubst-expand): Use it.
7769
89561f72
PE
77702013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7771
7772 * subr.el (log10): Move here from C code, and declare as obsolete.
7773 All uses of (log10 X) replaced with (log X 10).
7774
47199123
JB
77752013-06-20 Juanma Barranquero <lekktu@gmail.com>
7776
7777 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7778 Declare with `defvar-local'.
7779 (tabulated-list-use-header-line, tabulated-list-entries)
7780 (tabulated-list-padding, tabulated-list-printer)
7781 (tabulated-list-sort-key): Declare with `defvar-local'.
7782 (tabulated-list-init-header, tabulated-list-print-fake-header):
7783 Use `setq-local'.
7784
4a172eab
MA
77852013-06-20 Michael Albinus <michael.albinus@gmx.de>
7786
47199123
JB
7787 * arc-mode.el (archive-mode): Add `archive-write-file' to
7788 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7789
5fc0acc0
JB
77902013-06-20 Juanma Barranquero <lekktu@gmail.com>
7791
d5b27848
JB
7792 * cus-edit.el (custom-commands): Fix typos.
7793 (custom-display): Fix tooltip text.
7794 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7795 Fix typos in docstrings.
7796 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7797 (custom-unlispify-menu-entry, custom-magic-value-create)
7798 (custom-add-see-also, custom-group-value-create): Use ?\s.
7799 (custom-guess-type, customize-apropos, editable-field)
7800 (custom-face-value-create): Use `string-match-p'.
7801 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7802
7803 * custom.el (custom-load-symbol): Use `string-match-p'.
7804
a5c581d8
JB
7805 * ansi-color.el: Convert to lexical binding.
7806 (ansi-colors): Fix URL.
7807 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7808 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7809 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7810
970ad972
G
78112013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7812
7813 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7814
7815 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7816
78172013-06-19 Tom Tromey <tromey@redhat.com>
7818
7819 * net/eww.el (eww-top-url): Remove.
7820 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7821 (eww-render): Set new variables. Don't set eww-top-url.
7822 (eww-handle-link): Handle "prev", "home", and "contents".
7823 Downcase the rel text.
7824 (eww-top-url): Choose best top URL.
7825
78262013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7827
7828 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7829 relying in widget.el. Using widget.el leads to too many
7830 user interface inconsistencies.
7831 (eww-self-insert): Implement entering commands in text fields.
7832 (eww-process-text-input): New function to make text input field editing
7833 work.
7834 (eww-submit): Rewrite to use the new-style form methods.
7835 (eww-select-display): Display the correct selected item.
7836 (eww-change-select): Implement changing the select value.
7837 (eww-toggle-checkbox): Implement radio/checkboxes.
7838 (eww-update-field): Fix compilation error.
7839 (eww-tag-textarea): Implement <textarea>.
7840
7841 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7842 we don't shadow mode-specific bindings.
7843
7844 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7845 nothing to push.
7846
7847 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7848
4582a01c 78492013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7850
7851 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7852
15b263dc
MA
78532013-06-19 Michael Albinus <michael.albinus@gmx.de>
7854
7855 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7856 not needed.
7857
7858 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7859
8f5297f7
LMI
78602013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7861
7862 * net/browse-url.el (browse-url-browser-function):
7863 `eww-browse-url' has the right calling signature, `eww' does not.
7864
011c4552
GM
78652013-06-19 Glenn Morris <rgm@gnu.org>
7866
2285bd27
GM
7867 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7868 Only eval autoloaded macros.
7869 (byte-compile-autoload): Only give the macro warning for macros.
7870
1d653303
GM
7871 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7872 (ps-underlined-faces): Declare.
7873
bdd779ec
GM
7874 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7875 (speedbar-add-supported-extension): Declare.
7876
011c4552
GM
7877 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7878 Don't include a date stamp in the header of the generated file;
7879 it leads to needless differences between output files.
7880
e59dfb0e
MA
78812013-06-19 Michael Albinus <michael.albinus@gmx.de>
7882
c763842b
SM
7883 * net/secrets.el (secrets-struct-secret-content-type):
7884 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7885 Some servers do not offer introspection.
e59dfb0e 7886
102626e2
SM
78872013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * electric.el (electric-pair-mode): Improve interaction with
7890 electric-layout-mode.
7891 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7892 (electric-pair-syntax): Use text-mode-syntax-table in comments
7893 and strings.
7894 (electric-pair--insert): New function.
7895 (electric-pair-post-self-insert-function): Use it and
7896 electric--after-char-pos.
7897
ad528125
LL
78982013-06-19 Leo Liu <sdl.web@gmail.com>
7899
7900 * progmodes/octave.el (octave-help): Fix regexp.
7901
924d6997
G
79022013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7903
7904 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7905 (shr-table-horizontal-line): Allow nil as a value, and change the
7906 default.
7907 (shr-insert-table-ruler): Respect the nil value.
7908
79092013-06-18 Tom Tromey <tromey@barimba>
7910
7911 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7912 New defvars.
7913 (eww-open-file): New defun.
7914 (eww-render): Initialize new variables.
7915 (eww-display-html): Handle "link" and "a".
7916 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7917 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7918 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7919 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7920 New defuns.
924d6997 7921
d1bbba4f
DG
79222013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7923
7924 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7925 Distinguish ternary operator tokens from slash symbol and slash
7926 char literal.
7927
14dd22d2
JB
79282013-06-18 Juanma Barranquero <lekktu@gmail.com>
7929
7930 Convert symbol prettification into minor mode and global minor mode.
7931
7932 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7933 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7934 (prettify-symbols--keywords): Rename from
7935 `prog-prettify-symbols-alist' and make a local defvar.
7936 (prettify-symbols--compose-symbol): Rename from
7937 `prog--prettify-font-lock-compose-symbol'.
7938 (prettify-symbols--make-keywords): Rename from
7939 `prog-prettify-font-lock-symbols-keywords' and simplify.
7940 (prog-prettify-install): Remove.
7941 (prettify-symbols-mode): New minor mode, based on
7942 `prog-prettify-install'.
7943 (turn-on-prettify-symbols-mode): New function.
7944 (global-prettify-symbols-mode): New globalized minor mode.
7945
7946 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7947 * progmodes/cfengine.el (cfengine3-mode):
7948 * progmodes/perl-mode.el (perl-mode): Don't call
7949 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7950
292c880c
JL
79512013-06-18 Juri Linkov <juri@jurta.org>
7952
7953 * files-x.el (modify-file-local-variable-message): New function.
7954 (modify-file-local-variable)
7955 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7956 and call `modify-file-local-variable-message' when it's non-nil.
7957 (add-file-local-variable, delete-file-local-variable)
7958 (add-file-local-variable-prop-line)
7959 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7960 and use it. (Bug#9820)
7961
0950aa27
JL
79622013-06-18 Juri Linkov <juri@jurta.org>
7963
7964 * emulation/vi.el (vi-shell-op):
7965 * emulation/vip.el (vip-execute-com, ex-command):
7966 * emulation/viper-cmd.el (viper-exec-bang):
7967 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7968 the call of `shell-command-on-region'. (Bug#14637)
7969
7970 * simple.el (shell-command-on-region): Doc fix.
7971
8fbcca16
SM
79722013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7973
7974 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7975 (bug#14633).
7976
dd7426ea
GM
79772013-06-18 Glenn Morris <rgm@gnu.org>
7978
4ba54f7d
GM
7979 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7980
dd7426ea
GM
7981 * newcomment.el (comment-search-forward, comment-search-backward):
7982 Doc fix. (Bug#14376)
7983
58aa805b
JB
79842013-06-18 Juanma Barranquero <lekktu@gmail.com>
7985
7986 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7987 (buffer-face-mode-invoke): Doc fix.
7988
9a08a617
MM
79892013-06-18 Matthias Meulien <orontee@gmail.com>
7990
7991 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7992 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7993
f2f426ca
GM
79942013-06-18 Glenn Morris <rgm@gnu.org>
7995
9445f99b
GM
7996 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7997 Replace obsolete function generic-make-keywords with its expansion.
7998
e0df2d14
GM
7999 * progmodes/python.el (ffap-alist): Declare.
8000
f2f426ca
GM
8001 * textmodes/reftex.el (bibtex-mode-map): Declare.
8002
f7f9a720
SM
80032013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8004
8005 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8006 (package-unpack, package-unpack-single): Return the pkg-dir.
8007 (package-download-transaction): Use it to update package-alist.
8008
57ff04e0
LMI
80092013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8010
8011 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8012 possible choice.
8013
c048c022
JL
80142013-06-17 Juri Linkov <juri@jurta.org>
8015
8016 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8017
b5bcaee5
DG
80182013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8019
a020afb9
JB
8020 * emacs-lisp/package.el (package-load-descriptor):
8021 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8022 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8023
551e07e5
JB
80242013-06-17 Juanma Barranquero <lekktu@gmail.com>
8025
8026 * startup.el (command-line): Expand package name returned by
8027 `package--description-file' (bug#14639).
8028
d363bffb
DG
80292013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8030
8031 * emacs-lisp/package.el (package-load-descriptor): Do not call
8032 `emacs-lisp-mode', just use its syntax table.
8033
f612933b
JB
80342013-06-17 Juanma Barranquero <lekktu@gmail.com>
8035
8036 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8037 `font-lock-extra-managed-props' if any prettifying keyword is added.
8038 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8039 (prog-mode): Use `setq-local'.
8040
db3b7db5
SM
80412013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * international/characters.el (standard-case-table): Set syntax of ?»
8044 and ?« to punctuation.
8045
f3d674df
JB
80462013-06-16 Juanma Barranquero <lekktu@gmail.com>
8047
8048 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8049 Save relevant match data before calling `syntax-ppss' (bug#14595).
8050
31489a32
JL
80512013-06-15 Juri Linkov <juri@jurta.org>
8052
8053 * files-x.el (modify-file-local-variable-prop-line): Add local
8054 variables to the end of the existing comment on the first line.
8055 Use `file-auto-mode-skip' to skip interpreter magic line,
8056 and also skip XML declaration.
8057
66bd25ab
SM
80582013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8059
8060 * startup.el (package--builtin-versions): New var.
8061 (package-subdirectory-regexp): Remove.
8062 (package--description-file): Hard code its value instead.
8063
8064 * emacs-lisp/package.el: Don't activate packages older than builtin.
8065 (package-obsolete-list): Rename from package-obsolete-alist, and make
8066 it into a simple list of package-desc.
8067 (package-strip-version): Remove.
8068 (package-built-in-p): Use package--builtin-versions.
8069 (package-mark-obsolete): Simplify.
8070 (package-process-define-package): Mark it obsolete if older than the
8071 builtin version.
8072 (package-handle-response): Use line-end-position.
8073 (package-read-archive-contents, package--download-one-archive):
8074 Simplify.
8075 (package--add-to-archive-contents): Skip if older than the builtin or
8076 installed version.
8077 (package-menu-describe-package): Fix last change.
8078 (package-list-unversioned): New var.
8079 (package-menu--generate): Use it.
8080
8081 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8082 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8083 (autoload-builtin-package-versions): New variable.
8084 (autoload-generate-file-autoloads): Use them.
8085 Remove the list of autoloaded functions/macros from the
8086 (autoload...) comments.
8087
8088 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8089
9583ec36
EZ
80902013-06-15 Eli Zaretskii <eliz@gnu.org>
8091
8092 * simple.el (line-move-partial): Don't jump to the next screen
8093 line as soon as it becomes visible. Instead, continue enlarging
8094 the vscroll until the portion of a tall screen line that's left on
8095 display is about the height of the frame's default font.
8096 (Bug#14567)
8097
f0100d8a
GM
80982013-06-15 Glenn Morris <rgm@gnu.org>
8099
b86a85ca
GM
8100 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8101 compilation-error-regexp-alist void, or local while let-bound.
8102
f0100d8a
GM
8103 * progmodes/make-mode.el (makefile-mode-syntax-table):
8104 Treat "=" as punctuation. (Bug#14614)
8105
05e7ce90
JB
81062013-06-15 Juanma Barranquero <lekktu@gmail.com>
8107
8108 * help-fns.el (describe-variable):
8109 Add extra line for permanent-local variables.
8110
12e5e86e
SH
81112013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8112
8113 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8114 Add export, import, library. (Bug#9164)
8115 (library): Set indent function.
8116
230dcbaf
GM
81172013-06-14 Glenn Morris <rgm@gnu.org>
8118
8119 * term/xterm.el (xterm--query):
8120 Stop after first matching handler. (Bug#14615)
8121
e36b2d20 81222013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8123
8124 Add support for dired in saveplace.
8125 * dired.el (dired-initial-position-hook): New variable.
8126 (dired-initial-position): Call hook to place cursor position.
8127 * saveplace.el (save-place-to-alist): Add dired position.
8128 (save-place-dired-hook): New function.
8129
0b31660d
SM
81302013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8131
bf1e6ae8
SM
8132 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8133 through a symbol rather than letrec.
8134
1b8dff23
SM
8135 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8136 (package-desc): Add `dir' field.
8137 (package-desc-full-name): New function.
8138 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8139 (package-maybe-load-descriptor): Remove.
8140 (package-load-all-descriptors): Just call package-load-descriptor.
8141 (package--disabled-p): New function.
8142 (package-desc-vers, package-desc-doc): Remove aliases.
8143 (package--dir): Remove function.
8144 (package-activate): Check if a package is disabled.
8145 (package-process-define-package): New function, extracted from
8146 define-package.
8147 (define-package): Turn into a place holder.
8148 (package-unpack-single, package-tar-file-info):
8149 Use package--description-file.
8150 (package-compute-transaction): Use package--disabled-p.
8151 (package-download-transaction): Don't call
8152 package-maybe-load-descriptor since they're all loaded anyway.
8153 (package-install): Change argument to be a pkg-desc.
8154 (package-delete): Use a single pkg-desc argument.
8155 (describe-package-1): Use package-desc-dir instead of package--dir.
8156 Use package-desc property instead of package-symbol.
8157 (package-install-button-action): Adjust accordingly.
8158 (package--push): Rewrite.
8159 (package-menu--print-info): Adjust accordingly. Change the ID format
8160 to be a pkg-desc.
8161 (package-menu-describe-package, package-menu-get-status)
8162 (package-menu--find-upgrades, package-menu-mark-upgrades)
8163 (package-menu-execute, package-menu--name-predicate):
8164 Adjust accordingly.
8165 * startup.el (package--description-file): New function.
8166 (command-line): Use it.
8167 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8168 Use package-desc-version.
8169
0b31660d
SM
8170 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8171 (byte-compile-preprocess): Use it.
8172 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8173 can't quite recognize.
8174 (byte-compile-add-to-list): Remove.
8175 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8176 (cconv-closure-convert): Add assertion.
8177
8178 * emacs-lisp/map-ynp.el: Use lexical-binding.
8179 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8180 Factor out some repeated code.
8181
de0503df
SM
81822013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * subr.el (with-eval-after-load): New macro.
8185 (eval-after-load): Allow form to be a function.
8186 take advantage of lexical-binding.
8187 (do-after-load-evaluation): Use dolist and adjust to new format.
8188 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8189
bc5c8c5a
JL
81902013-06-13 Juri Linkov <juri@jurta.org>
8191
8192 * replace.el (perform-replace): Display "symbol " and other search
8193 modes from `isearch-message-prefix' in the *Help* buffer.
8194
8195 * isearch.el (isearch-query-replace): Add " symbol" and other
8196 possible search modes from `isearch-message-prefix' to the prompt.
8197 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8198 when reading a regexp to collect.
8199
a22289f7
JL
82002013-06-13 Juri Linkov <juri@jurta.org>
8201
8202 * isearch.el (word-search-regexp): Match whitespace if the search
8203 string begins or ends in whitespace. The LAX arg is applied to
8204 both ends of the search string. Use `regexp-quote' and explicit
8205 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8206 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8207 boundaries are replaced with symbol boundaries, and characters
8208 between symbols match non-word non-symbol syntax. (Bug#14602)
8209
cb89acab
JL
82102013-06-13 Juri Linkov <juri@jurta.org>
8211
8212 * isearch.el (isearch-del-char): Don't exceed the length of
8213 `isearch-string' by the prefix arg. (Bug#14563)
8214
6e8cfc81
JL
82152013-06-13 Juri Linkov <juri@jurta.org>
8216
8217 * isearch.el (isearch-yank-word, isearch-yank-line)
8218 (isearch-char-by-name, isearch-quote-char)
8219 (isearch-printing-char, isearch-process-search-char):
8220 Add optional count prefix arg. (Bug#14563)
8221
8222 * international/isearch-x.el
8223 (isearch-process-search-multibyte-characters):
8224 Add optional count prefix arg.
8225
c23d55f4
VS
82262013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8229 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8230 lexical-binding.
8231
82322013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8233
8234 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8235
ba947bc4
GM
82362013-06-13 Glenn Morris <rgm@gnu.org>
8237
8baeb37a
GM
8238 * startup.el (tty-handle-args):
8239 Don't just discard "--" and anything after. (Bug#14608)
8240
ba947bc4
GM
8241 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8242
9abefce4
MA
82432013-06-13 Michael Albinus <michael.albinus@gmx.de>
8244
8245 Implement changes in Secret Service API. Make it backward compatible.
8246 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8247 (secrets-create-item): Use it. Prefix properties with interface.
8248
5755011f
MH
82492013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8250
8251 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8252 (term-emulate-terminal): Respect term-suppress-hard-newline.
8253
1261d2da
S
82542013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8255
8256 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8257 Only remove a `thumb-file' overlay. (Bug#14548)
8258
868490bb
GJ
82592013-06-12 Grégoire Jadi <daimrod@gmail.com>
8260
8261 * mail/reporter.el (reporter-submit-bug-report):
8262 Handle missing package-name. (Bug#14600)
8263
79d7167f
TH
82642013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8265
8266 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8267 (reftex-citation-prompt, reftex-default-bibliography)
8268 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8269 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8270 (reftex-bib-sort-author, reftex-bib-sort-year)
8271 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8272 (reftex-extract-bib-entries-from-thebibliography)
8273 (reftex-get-bibkey-default, reftex-get-bib-names)
8274 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8275 (reftex-format-bib-entry, reftex-parse-bibitem)
8276 (reftex-format-bibitem, reftex-do-citation)
8277 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8278 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8279 (reftex-insert-bib-matches, reftex-format-citation)
8280 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8281 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8282 existing comments into docstrings.
8283
5f9dbd7a
XF
82842013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8285
8286 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8287
94df41ab
AS
82882013-06-12 Andreas Schwab <schwab@suse.de>
8289
8290 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8291 for auto-save files.
8292
a7f3fecc
GM
82932013-06-12 Glenn Morris <rgm@gnu.org>
8294
001809f6
GM
8295 * ido.el (ido-delete-ignored-files): Remove.
8296 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8297 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8298
834b5ded
EL
82992013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8300
08c73ed2
EL
8301 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8302
834b5ded
EL
8303 * ido.el (ido-delete-ignored-files): New function,
8304 split from ido-make-file-list-1.
8305 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8306 (ido-make-file-list-1): Use ido-delete-ignored-files.
8307
daabf15a
LL
83082013-06-12 Leo Liu <sdl.web@gmail.com>
8309
8310 * progmodes/octave.el (inferior-octave-startup)
8311 (inferior-octave-completion-table)
8312 (inferior-octave-track-window-width-change)
8313 (octave-eldoc-function-signatures, octave-help)
8314 (octave-find-definition): Use single quoted strings.
8315 (inferior-octave-startup-args): Change default value.
8316 (inferior-octave-startup): Do not hard code "-i" and
8317 "--no-line-editing".
8318 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8319 (inferior-octave-directory-tracker): Use it.
8320 (octave-goto-function-definition): Robustify.
8321 (octave-help): Support highlighting operators in 'See also'.
8322 (octave-find-definition): Find subfunctions only in Octave mode.
8323
cf4e5178
SM
83242013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8325
8326 * help-fns.el (help-fns--compiler-macro): If the handler function is
8327 named, then put a link to it.
8328 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8329 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8330 (cl-typep): Use it.
8331 (cl-eval-when): Simplify debug spec.
8332 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8333 compiler-macro function instead of setting `compiler-macro-file'.
8334
99c81280 83352013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8336
8337 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8338 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8339
f56be016
SM
83402013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8341 Daniel Hackney <dan@haxney.org>
8342
8343 First part of Daniel Hackney's patch to package.el.
8344 * emacs-lisp/package.el: Use defstruct.
8345 (package-desc): New, main struct.
8346 (package--bi-desc, package--ac-desc): New structs, used to describe the
8347 format in external files.
8348 (package-desc-vers): Replace with package-desc-version accessor.
8349 (package-desc-doc): Replace with package-desc-summary accessor.
8350 (package-activate-1): Remove `package' arg since the pkg-vec now
8351 includes the name.
8352 (define-package): Use package-desc-from-define.
8353 (package-unpack-single): Change file-name arg to be a symbol.
8354 (package--add-to-archive-contents): Use package-desc-create and new
8355 accessor functions to package--ac-desc.
8356 (package-buffer-info, package-tar-file-info): Return a package-desc.
8357 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8358 arg to be a package-desc.
8359 (package-install-file): Adjust accordingly. Use \' to match EOS.
8360 (package--from-builtin): New function.
8361 (describe-package-1, package-menu--generate): Use it.
8362 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8363 (package-generate-autoloads): Idem and return the name of the file.
8364 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8365 Change pkg-info arg to be a package-desc.
8366 Use package-make-ac-desc.
8367 (package-upload-file): Use \' to match EOS.
8368 * finder.el (finder-compile-keywords): Use package-make-builtin.
8369
31119d63
SM
83702013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8371
931a2762
SM
8372 * vc/vc.el (vc-deduce-fileset): Change error message.
8373 (vc-read-backend): New function.
8374 (vc-next-action): Use it.
8375
5a3eb0c6
SM
8376 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8377
e3eb1bb7
SM
8378 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8379 (prolog-font-lock-keywords): Use regexp-opt instead.
8380 Don't manually highlight strings.
8381 (prolog-mode-variables): Simplify comment-start-skip.
8382 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8383
31119d63
SM
8384 * emacs-lisp/generic.el (generic--normalise-comments)
8385 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8386 (generic-mode-set-comments): Use them.
8387 (generic-bracket-support): Use setq-local.
8388 (generic-make-keywords-list): Declare obsolete.
8389
7de135d0
GM
83902013-06-11 Glenn Morris <rgm@gnu.org>
8391
8392 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8393 Prettify after setting font-lock-defaults. (Bug#14574)
8394
fa6bc6fd
JB
83952013-06-11 Juanma Barranquero <lekktu@gmail.com>
8396
8397 * replace.el (query-replace, occur-read-regexp-defaults-function)
8398 (replace-search):
8399 * subr.el (declare-function, number-sequence, local-set-key)
8400 (substitute-key-definition, locate-user-emacs-file)
8401 (with-silent-modifications, split-string, eval-after-load):
8402 Fix typos, remove unneeded backslashes and reflow some docstrings.
8403
cf1f9b9a
SM
84042013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8407 default for Elisp files.
8408
56602a4b
GM
84092013-06-11 Glenn Morris <rgm@gnu.org>
8410
8411 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8412 although define-derived-mode was doing this anyway. (Bug#14583)
8413
30ae0b2c
JB
84142013-06-10 Juanma Barranquero <lekktu@gmail.com>
8415
8416 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8417 Fix make-variable-buffer-local call to refer to the correct variable.
8418
fa472906
AG
84192013-06-10 Aidan Gauland <aidalgol@amuri.net>
8420
8421 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8422 (eshell-visual-subcommands, eshell-visual-options):
8423 Add summary line to docstrings. Add cross-references.
fa472906 8424
ff4871b9
GM
84252013-06-10 Glenn Morris <rgm@gnu.org>
8426
8427 * epa.el (epa-read-file-name): New function. (Bug#14510)
8428 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8429
04fcf1b0
AG
84302013-06-09 Aidan Gauland <aidalgol@amuri.net>
8431
8432 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8433 output redirection to be ignored with visual commands.
8434
88b00caa
AG
84352013-06-09 Aidan Gauland <aidalgol@amuri.net>
8436
8437 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8438 (eshell-term-initialize): Move long lambda to separate function
8439 eshell-visual-command-p.
e7b41c4c
JB
8440 * eshell/em-dirs.el (eshell-dirs-initialise):
8441 * eshell/em-script.el (eshell-script-initialize):
8442 Add missing #' to lambda.
88b00caa 8443
fda74125
LL
84442013-06-08 Leo Liu <sdl.web@gmail.com>
8445
8446 * progmodes/octave.el (octave-add-log-current-defun): New function.
8447 (octave-mode): Set add-log-current-defun-function.
8448 (octave-goto-function-definition): Do not move point if not found.
8449 (octave-find-definition): Enhance to try subfunctions first.
8450
467f3b33
GM
84512013-06-08 Glenn Morris <rgm@gnu.org>
8452
8453 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8454 (byte-compile-backward-char, byte-compile-backward-word):
8455 Improve previous change, to handle non-explicit nil.
8456
544badc3
SM
84572013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8460 (smie--opener/closer-at-point): New function.
8461 (smie--matching-block-data): Use it. Don't match from right after an
8462 opener or right before a closer. Obey smie-blink-matching-inners.
8463 Don't signal a mismatch for repeated inners like "switch..case..case".
8464
a175bf33
LL
84652013-06-07 Leo Liu <sdl.web@gmail.com>
8466
8467 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8468 to t. (Bug#14303)
ce8209d4
LL
8469 (octave-function-header-regexp): Fix. (Bug#14570)
8470 (octave-help-mode-finish-hook, octave-help-mode-finish):
8471 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8472
8473 * newcomment.el (comment-search-backward): Revert last change.
8474 (Bug#14434)
8475
8476 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8477
a822acff
EZ
84782013-06-07 Eli Zaretskii <eliz@gnu.org>
8479
8480 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8481 through xargs, to avoid failure due to MS-Windows limitations on
8482 command-line length.
8483
961166f5
GM
84842013-06-06 Glenn Morris <rgm@gnu.org>
8485
d0341459
GM
8486 * font-lock.el (lisp-font-lock-keywords-2):
8487 Treat user-error like error.
8488
961166f5
GM
8489 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8490 (byte-compile-backward-char, byte-compile-backward-word):
8491 Handle explicit nil arguments. (Bug#14565)
8492
80fa505f
AM
84932013-06-05 Alan Mackenzie <acm@muc.de>
8494
8495 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8496 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8497 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8498 (Bug#9706)
80fa505f 8499
fccdc796
SM
85002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8501
8502 * autorevert.el (auto-revert-notify-handler): Use memq.
8503 Hide assertion failure.
8504
8505 * skeleton.el: Use cl-lib.
8506 (skeleton-further-elements): Use defvar-local.
8507 (skeleton-insert): Use cl-progv.
8508
9bfff84b
TZ
85092013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8510
8511 * progmodes/prog-mode.el (prog-prettify-symbols)
8512 (prog-prettify-install): Update docstrings.
8513
55577e7c
SM
85142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * simple.el: Move all the prog-mode code to prog-mode.el.
8517 * progmodes/prog-mode.el: New file.
8518 * loadup.el: Add prog-mode.el.
8519
8fc57765
TZ
85202013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8521
8522 * simple.el (prog-prettify-symbols): Add version.
8523 (prog-prettify-install): Add convenience function to prettify symbols.
8524
8525 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8526 (perl--augmented-font-lock-keywords-1)
8527 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8528 variables and use it.
8529
8530 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8531 (cfengine3-mode): Remove unneeded variable and use it.
8532
8533 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8534 (lisp--augmented-font-lock-keywords-1)
8535 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8536 Remove unneeded variables and use it.
8537
650645d5 85382013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8539
8540 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8541 to point when opening the connection. (Bug#14380)
28f5da6d 8542
781b4af6
SM
85432013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8544
8545 * subr.el (load-history-regexp, load-history-filename-element)
8546 (eval-after-load, after-load-functions, do-after-load-evaluation)
8547 (eval-next-after-load, display-delayed-warnings)
8548 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8549 definition of save-match-data.
8550 (overriding-local-map): Remove accidental obsolescence declaration.
8551
8552 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8553
3ca0d0b4
TZ
85542013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8555
8556 Generalize symbol prettify support to prog-mode and implement it
8557 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8558 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8559 (prog--prettify-font-lock-compose-symbol)
8560 (prog-prettify-font-lock-symbols-keywords): New variables and
8561 functions to support symbol prettification.
8562 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8563 (lisp--augmented-font-lock-keywords-1)
8564 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8565 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8566 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8567 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8568 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8569 * progmodes/perl-mode.el (perl-prettify-symbols)
8570 (perl--font-lock-compose-symbol)
8571 (perl--font-lock-symbols-keywords): Move to prog-mode.
8572 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8573 (perl-font-lock-keywords-1)
8574 (perl-font-lock-keywords-2): Remove explicit prettify support.
8575 (perl--augmented-font-lock-keywords)
8576 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8577 (perl--augmented-font-lock-keywords-2, perl-mode):
8578 Implement prettify support.
3ca0d0b4 8579
976cb066
LL
85802013-06-05 Leo Liu <sdl.web@gmail.com>
8581
8582 Re-implement smie matching block highlight using
8583 show-paren-data-function. (Bug#14395)
8584 * emacs-lisp/smie.el (smie-matching-block-highlight)
8585 (smie--highlight-matching-block-overlay)
8586 (smie--highlight-matching-block-lastpos)
8587 (smie-highlight-matching-block)
8588 (smie-highlight-matching-block-mode): Remove.
8589 (smie--matching-block-data-cache): New variable.
8590 (smie--matching-block-data): New function.
8591 (smie-setup): Use smie--matching-block-data for
8592 show-paren-data-function.
8593
8594 * progmodes/octave.el (octave-mode-menu): Fix.
8595 (octave-find-definition): Skip garbage lines.
8596
208d0342
SM
85972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 Fix compilation error with simultaneous dynamic+lexical scoping.
8600 Add warning when a defvar appears after the first let-binding.
8601 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8602 (byte-compile-close-variables): Initialize it.
8603 (byte-compile--declare-var): New function.
8604 (byte-compile-file-form-defvar)
8605 (byte-compile-file-form-define-abbrev-table)
8606 (byte-compile-file-form-custom-declare-variable): Use it.
8607 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8608 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8609 (byte-compile-bind): Handle dynamic bindings that shadow
8610 lexical bindings.
8611 (byte-compile-unbind): Make arg non-optional.
8612 (byte-compile-let): Simplify.
8613 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8614 (cconv--analyse-function, cconv-analyse-form): Populate it.
8615 Protect byte-compile-bound-variables to limit the scope of defvars.
8616 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8617 Remove unneeded rule for `declare'.
8618
8619 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8620 so as to avoid depending on cl-adjoin at run-time.
8621 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8622
8623 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8624 (macroexp--warn-and-return): Use it.
8625
1ac2891e
GM
86262013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * lisp/subr.el: Convert to lexical binding.
8629 (overriding-local-map): Make obsolete.
8630 (add-to-list): Doc fix. Add compiler macro.
8631 (read-key): Swap values of local maps.
8632
2587b005
LL
86332013-06-05 Leo Liu <sdl.web@gmail.com>
8634
8635 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8636
f1da3c88
LL
86372013-06-04 Leo Liu <sdl.web@gmail.com>
8638
8639 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8640 (compilation-auto-jump): Suppress the "Mark set" message to give
8641 way to exit message.
8642
3caa391f
AM
86432013-06-04 Alan Mackenzie <acm@muc.de>
8644
8645 Remove faulty optimisation from indentation calculation.
8646 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8647 search limit based on 2000 characters back from indent-point.
8648
068922a2
TH
86492013-06-03 Tassilo Horn <tsdh@gnu.org>
8650
8651 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8652
1f8fdd53
SM
86532013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8654
bbcc4d97
SM
8655 * emacs-lisp/lisp.el: Use lexical-binding.
8656 (lisp--local-variables-1, lisp--local-variables): New functions.
8657 (lisp--local-variables-completion-table): New var.
208d0342 8658 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8659
1f8fdd53
SM
8660 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8661 eagerly (bug#14422).
8662
c9628c79
MA
86632013-06-03 Michael Albinus <michael.albinus@gmx.de>
8664
8665 * autorevert.el (auto-revert-notify-enabled)
8666 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8667 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8668 (auto-revert-notify-handler): Handle also gfilenotify.
8669
e7b41c4c 8670 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8671 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8672 Remove.
c9628c79 8673
e5e4a942
JL
86742013-06-03 Juri Linkov <juri@jurta.org>
8675
8676 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8677 `M-s h .'. (Bug#14427)
8678
8679 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8680 command `hi-lock-face-symbol-at-point'.
8681 (hi-lock-face-symbol-at-point): New command.
8682 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8683 (hi-lock-menu): Add `highlight-symbol-at-point'.
8684 (hi-lock-mode): Doc fix.
8685
8686 * isearch.el (isearch-forward-symbol-at-point): New command.
8687 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8688 (isearch-highlight-regexp): Add a regexp which matches
8689 words/symbols for word/symbol mode.
8690
8691 * subr.el (find-tag-default-bounds): New function with the body
8692 mostly moved from `find-tag-default'.
8693 (find-tag-default): Move most code to `find-tag-default-bounds',
8694 call it and apply `buffer-substring-no-properties' afterwards.
8695
26b3353a
TH
86962013-06-03 Tassilo Horn <tsdh@gnu.org>
8697
781b4af6
SM
8698 * eshell/em-term.el (eshell-term-initialize):
8699 Use `cl-intersection' rather than `intersection'.
26b3353a 8700
51b60f53
XF
87012013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8702
fe054b63 8703 * vc/log-view.el: Doc fix.
d3ffe17c 8704 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8705
a0eb10b3 87062013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8707
8708 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8709 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8710 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8711 (eieio-unbound, eieio-default-superclass)
8712 (eieio--define-field-accessors, method-static, method-before)
8713 (method-primary, method-after, method-num-lists)
8714 (method-generic-before, method-generic-primary)
8715 (method-generic-after, method-num-slots)
8716 (eieio-specialized-key-to-generic-key)
8717 (eieio--check-type, class-v, class-p)
8718 (eieio-class-name, define-obsolete-function-alias)
8719 (eieio-class-parents-fast, eieio-class-children-fast)
8720 (same-class-fast-p, class-constructor, generic-p)
8721 (generic-primary-only-p, generic-primary-only-one-p)
8722 (class-option-assoc, class-option, eieio-object-p)
8723 (class-abstract-p, class-method-invocation-order)
8724 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8725 (eieio-class-un-autoload, eieio-defclass)
8726 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8727 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8728 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8729 (eieio-defgeneric-reset-generic-form)
8730 (eieio-defgeneric-form-primary-only)
8731 (eieio-defgeneric-reset-generic-form-primary-only)
8732 (eieio-defgeneric-form-primary-only-one)
8733 (eieio-defgeneric-reset-generic-form-primary-only-one)
8734 (eieio-unbind-method-implementations)
8735 (eieio--defmethod, eieio--typep)
8736 (eieio-perform-slot-validation, eieio-validate-slot-value)
8737 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8738 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8739 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8740 (eieio-slot-name-index, eieio-class-slot-name-index)
8741 (eieio-set-defaults, eieio-initarg-to-attribute)
8742 (eieio-attribute-to-initarg, eieio-c3-candidate)
8743 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8744 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8745 (eieio-class-precedence-list, eieio-generic-call-methodname)
8746 (eieio-generic-call-arglst, eieio-generic-call-key)
8747 (eieio-generic-call-next-method-list)
8748 (eieio-pre-method-execution-functions, eieio-generic-call)
8749 (eieio-generic-call-primary-only, eieiomt-method-list)
8750 (eieiomt-optimizing-obarray, eieiomt-install)
8751 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8752 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8753 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8754 (defclass): Remove `eval-and-compile' from macro.
8755 (call-next-method, shared-initialize): Instead of using
8756 `scoped-class' variable, use new eieio--scoped-class, and
8757 eieio--with-scoped-class.
8758 (initialize-instance): Rename local variable 'scoped-class' to
8759 'this-class' to remove ambiguitity from old global.
8760
8761 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8762 eieio.el.
4f405069
JB
8763 (eieio--scoped-class-stack): New variable.
8764 (eieio--scoped-class): New fcn.
890f7890
DE
8765 (eieio--with-scoped-class): New scoping macro.
8766 (eieio-defclass): Use pushnew instead of add-to-list.
8767 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8768 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8769 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8770 `scoped-class' variable, use new eieio--scoped-class, and
8771 eieio--with-scoped-class.
8772
8773 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8774
d105b0e2
TH
87752013-06-02 Tassilo Horn <tsdh@gnu.org>
8776
8777 * eshell/esh-ext.el (eshell-external-command): Pass args to
8778 `eshell-find-interpreter'.
8779 (eshell-find-interpreter): Add new second parameter ARGS.
8780
8781 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8782 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8783
8784 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8785 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8786
8787 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8788 (eshell-visual-options): New defcustom.
8789 (eshell-escape-control-x): Adapt docstring.
8790 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8791 `eshell-visual-options' in addition to `eshell-visual-commands'.
8792 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8793
f46305c8 87942013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8795
8796 * progmodes/python.el (python-indent-block-enders): Add break,
8797 continue and raise keywords.
8798
d870df21
GM
87992013-06-01 Glenn Morris <rgm@gnu.org>
8800
9133b82e
GM
8801 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8802
02c992ec 8803 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8804 * progmodes/cc-cmds.el (delete-forward-p):
8805 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8806 * progmodes/cc-engine.el (buffer-syntactic-context):
8807 * progmodes/cc-fonts.el (face-property-instance):
8808 * progmodes/cc-mode.el (set-keymap-parents):
8809 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8810 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8811 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8812 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8813 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8814
31e7b090
GM
8815 * progmodes/cc-vars.el (other): Emacs has this widget since
8816 at least 21.1, so don't (re)define it.
8817
d870df21
GM
8818 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8819 Replace the obsolete alias pcomplete-arg-quote-list.
8820
c75c93c7
LL
88212013-06-01 Leo Liu <sdl.web@gmail.com>
8822
8823 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8824 punctuation syntax.
8825 (inferior-octave-minimal-columns)
8826 (inferior-octave-last-column-width): New variables.
8827 (inferior-octave-track-window-width-change): New function.
8828 (inferior-octave-mode): Adjust column width so that Octave output,
8829 for example from 'ls', can fit into the window nicely.
8830
973d1e12
DG
88312013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8832
8833 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8834 Highlight expansions inside regexp literals.
8835
0888c286
GM
88362013-05-31 Glenn Morris <rgm@gnu.org>
8837
e26aac1f
GM
8838 * obsolete/sym-comp.el (symbol-complete):
8839 Replace obsolete completion-annotate-function.
8840
0888c286
GM
8841 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8842
19bb8e62
DG
88432013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8844
781b4af6
SM
8845 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8846 New function, checks if point is inside a literal that allows
19bb8e62
DG
8847 expression expansion.
8848 (ruby-syntax-propertize-expansion): Use it.
8849 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8850 around the body.
8851
01dea85f
JL
88522013-05-30 Juri Linkov <juri@jurta.org>
8853
8854 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8855 to "\M-si".
8856 (isearch-invisible): New variable.
8857 (isearch-forward): Doc fix.
8858 (isearch-mode): Set `isearch-invisible'
8859 to the value of `search-invisible'.
8860 (isearch-toggle-case-fold): Doc fix.
8861 (isearch-toggle-invisible): New command.
8862 (isearch-query-replace): Let-bind `search-invisible'
8863 to the value of `isearch-invisible'.
8864 (isearch-search): Use `isearch-invisible' instead of
8865 `search-invisible'. Let-bind `search-invisible'
8866 to the value of `isearch-invisible'. (Bug#11378)
8867
ab1bdce5
JL
88682013-05-30 Juri Linkov <juri@jurta.org>
8869
8870 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8871 call when `query-flag' is nil and `search-invisible' is non-nil.
8872 (Bug#11746)
8873
d6d236e2
GM
88742013-05-30 Glenn Morris <rgm@gnu.org>
8875
8accd027
GM
8876 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8877
2a8bed1c
GM
8878 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8879 (cc-require): Suppress spurious "noruntime" warnings.
8880 (cc-require-when-compile): Use fboundp, for sake of compiler.
8881
d6d236e2
GM
8882 * progmodes/cc-mode.el: Move load of cc-vars before that of
8883 cc-langs (which in turn loads cc-vars), to quieten compiler.
8884
9190b35b
SM
88852013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8886
8887 * paren.el: Simplify the code.
8888 (show-paren-mode): Always start the timer.
8889 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8890 (show-paren--overlay, show-paren--overlay-1): Rename from
8891 show-paren-overlay and show-paren-overlay-1, and initialize to an
8892 overlay rather than to nil.
8893 (show-paren-function): Misc cleanup and simplifications.
8894
4f8d1cf6
SM
88952013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * paren.el (show-paren-data-function): New hook.
8898 (show-paren--default): New function, extracted from show-paren-function.
8899 (show-paren-function): Use show-paren-data-function.
8900
02d844b5
GM
89012013-05-30 Glenn Morris <rgm@gnu.org>
8902
d209d4a9
GM
8903 * ielm.el (ielm-map, ielm-complete-symbol):
8904 Use completion-at-point rather than obsolete functions.
8905 (inferior-emacs-lisp-mode): Doc fix.
8906 Set completion-at-point-functions, rather than
8907 comint-dynamic-complete-functions.
8908
2082faa6
GM
8909 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8910 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8911 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8912
dd8620de
GM
8913 * image.el (image-animated-p): Tweak definition.
8914
ceca95b1
GM
8915 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8916 (rlogin-process-connection-type): Tweak default. Add set-after.
8917 (rlogin-host): Doc fix.
8918 (rlogin): Tweak prompt.
8919 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8920
ee9f1acc
GM
8921 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8922 * progmodes/tcl.el (inferior-tcl-mode-map):
8923 Use completion-at-point rather than obsolete alias.
8924
45ce222e
GM
8925 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8926
02d844b5
GM
8927 * minibuffer.el (read-file-name-completion-ignore-case):
8928 Move before completion--in-region, for eager macro expansion.
8929
ac44d6c1
JL
89302013-05-29 Juri Linkov <juri@jurta.org>
8931
8932 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8933 for total count of matching lines. Add `global-matches' for total
8934 count of matches. Rename `matches' to `lines' for count of
8935 matching lines. Add `matches' for count of matches.
8936 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8937 to `prev-line' for line number of prev match endpt.
8938 Increment `matches' for every match. Print the number of
8939 matching lines in the header.
8940 (occur-context-lines): Rename `lines' to `curr-line'.
8941 Rename `prev-lines' to `prev-line'. (Bug#14017)
8942
3c9c9d38
JL
89432013-05-29 Juri Linkov <juri@jurta.org>
8944
8945 * replace.el (perform-replace): Add `skip-read-only-count',
8946 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8947 Increment them for corresponding conditions and report the number
8948 of skipped occurrences in the final message. (Bug#11746)
8949 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8950 (replace-string, replace-regexp): Doc fix.
8951
33e249a2
SM
89522013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8e399682
SM
8954 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8955
33e249a2 8956 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8957 prog-mode-map (bug#14504).
33e249a2 8958
f236dd84
LL
89592013-05-29 Leo Liu <sdl.web@gmail.com>
8960
8961 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8962 (octave-help): Small simplification.
8963
8964 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8965 off the highlight first.
8966
3694d13f
GM
89672013-05-29 Glenn Morris <rgm@gnu.org>
8968
03983bdc
GM
8969 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8970 Handle idlwave-last-system-routine-info-cons-cell being nil.
8971
bc74a74a
GM
8972 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8973 (idlwave-write-paths): Simplify via with-temp-buffer.
8974
8b394200
GM
8975 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8976 * emulation/cua-rect.el: Also load cua-base at run time.
8977
3694d13f
GM
8978 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8979 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8980 (cperl-imenu-on-info): Require imenu.
8981
336d7284
AM
89822013-05-28 Alan Mackenzie <acm@muc.de>
8983
8984 Handle "capitalised keywords" correctly.
33e249a2 8985 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8986
cb29c582
AG
89872013-05-28 Aidan Gauland <aidalgol@amuri.net>
8988
781b4af6 8989 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8990
690e44b2
GM
89912013-05-28 Glenn Morris <rgm@gnu.org>
8992
e658d75c
GM
8993 * vc/vc-arch.el (vc-exec-after): Declare.
8994 (vc-switches): Autoload.
8995 * vc/vc-bzr.el: No need to require vc when compiling.
8996 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8997 (vc-resynch-buffer, vc-dir-refresh): Declare.
8998 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
8999 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9000 (vc-resynch-buffer): Declare.
9001 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9002 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9003 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9004 (grep-read-regexp, grep-read-files, grep-expand-template)
9005 (vc-dir-refresh): Declare.
9006 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9007 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9008 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9009 * vc/vc-mtn.el (vc-exec-after): Declare.
9010 (vc-switches): Autoload.
9011 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9012 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9013 (vc-file-tree-walk): Declare.
712b9732
GM
9014 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9015 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9016 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9017 * vc/vc-svn.el (vc-exec-after): Declare.
9018 (vc-switches, vc-setup-buffer): Autoload.
9019 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9020 Autoload.
9021 (vc-resynch-buffer): Declare.
9022
98e87fb3
GM
9023 * obsolete/fast-lock.el (byte-compile-warnings):
9024 Don't warn about obsolete features in this obsolete file.
9025
f5379553
GM
9026 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9027 Move definition before use.
9028
7a20ef83
GM
9029 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9030 (dun-unix-verbs): Remove dun-zippy.
9031 (dun-zippy): Remove function.
9032
690e44b2
GM
9033 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9034
3a52ccf7
JL
90352013-05-27 Juri Linkov <juri@jurta.org>
9036
9037 * replace.el (replace-search): New function with code moved out
9038 from `perform-replace'.
9039 (replace-highlight, replace-dehighlight): Move function definitions
9040 up closer to `replace-search'. (Bug#11746)
9041
d289938a
JL
90422013-05-27 Juri Linkov <juri@jurta.org>
9043
9044 * replace.el (perform-replace): Ignore invisible matches.
9045 In addition to checking `query-replace-skip-read-only', also
9046 filter out matches by calling `run-hook-with-args-until-failure'
9047 on `isearch-filter-predicates', and also check `search-invisible'
9048 for t or call `isearch-range-invisible'.
9049 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9050
66fc57e3
JL
90512013-05-27 Juri Linkov <juri@jurta.org>
9052
9053 * isearch.el (isearch-filter-predicates): Rename from
9054 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9055 (isearch-message-prefix): Display text from the property
9056 `isearch-message-prefix' of the currently active filters.
9057 (isearch-search): Don't compare `isearch-filter-predicate' with
9058 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9059 on `isearch-filter-predicates'. Also check `search-invisible' for t
9060 or call `isearch-range-invisible'.
9061 (isearch-filter-visible): Make obsolete.
9062 (isearch-lazy-highlight-search):
9063 Call `run-hook-with-args-until-failure' on
9064 `isearch-filter-predicates' and use `isearch-range-invisible'.
9065
9066 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9067 `isearch-filter-predicates' instead of `funcall'ing
9068 `isearch-filter-predicate'.
9069 (Info-mode): Set `Info-isearch-filter' to
9070 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9071
9072 * dired-aux.el (dired-isearch-filter-predicate-orig):
9073 Remove variable.
9074 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9075 (dired-isearch-filenames-end): Add and remove
9076 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9077 instead of changing the value of `isearch-filter-predicate'.
9078 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9079 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9080 Put property `isearch-message-prefix' to "filename " on
9081 `dired-isearch-filter-filenames'.
9082
9083 * wdired.el (wdired-change-to-wdired-mode):
9084 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9085 locally instead of changing `isearch-filter-predicate'.
9086 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9087
f1a60a0f
DG
90882013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9089
9090 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9091 return the commit hash (Bug#14459). Also set the
9092 `vc-git-detached' property.
9093 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9094 (vc-git-mode-line-string): Use the same help-echo format whether
9095 in detached mode or not, because we know the actual revision now.
9096 When in detached mode, shorten the revision to 7 chars.
9097
7f17cc40
SM
90982013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * emacs-lisp/easy-mmode.el (define-minor-mode):
9101 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9102 mode hook and provide a docstring.
9103
25c8401c
AM
91042013-05-27 Alan Mackenzie <acm@muc.de>
9105
9106 Remove spurious syntax-table text properties inserted by C-y.
9107 * progmodes/cc-mode.el (c-after-change): Also clear hard
9108 syntax-table property with value nil.
9109
dde84790
MA
91102013-05-27 Michael Albinus <michael.albinus@gmx.de>
9111
9112 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9113 when reading the events; the buffer layout shall not be changed.
9114
837fd9af
LL
91152013-05-27 Leo Liu <sdl.web@gmail.com>
9116
9117 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9118 New variable.
9119 (inferior-octave-directory-tracker): Automatically re-sync
9120 default-directory.
9121 (octave-help): Improve handling of 'See also'.
9122
4fd996b3
SM
91232013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9124
416f1802
SM
9125 * doc-view.el: Minor naming convention tweaks.
9126 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9127
4fd996b3
SM
9128 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9129 even if there's no `display' property yet (bug#14435).
9130
a052ef3b
EZ
91312013-05-25 Eli Zaretskii <eliz@gnu.org>
9132
4fd996b3 9133 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9134
9135 * Makefile.in (custom-deps, finder-data, autoloads)
9136 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9137 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9138 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9139
c9023370
SM
91402013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9141
9142 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9143 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9144 Don't burp at EOB.
c9023370 9145
24d699fa
LL
91462013-05-25 Leo Liu <sdl.web@gmail.com>
9147
9148 * comint.el (comint-previous-matching-input): Do not flood the
9149 *Messages* buffer with trivial messages.
9150
17e5c0cc
SM
91512013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9152
9153 * progmodes/flymake.el (flymake-nop): Don't return a string.
9154 (flymake-set-at): Fix typo.
9155
9156 * simple.el (read--expression): New function, extracted from
9157 eval-expression. Set completion-at-point-functions (bug#14465).
9158 (eval-expression, eval-minibuffer): Use it.
9159
5d028165
XF
91602013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9161
9162 * progmodes/flymake.el (flymake-save-buffer-in-file)
9163 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9164 (flymake-selected-frame, flymake-log, flymake-ins-after)
9165 (flymake-set-at, flymake-get-buildfile-from-cache)
9166 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9167 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9168 Refine the doc string.
9169 (flymake-get-file-name-mode-and-masks): Reformat.
9170 (flymake-get-real-file-name-function): Fix a minor bug.
9171
7a1d7ba7
JL
91722013-05-24 Juri Linkov <juri@jurta.org>
9173
9174 * progmodes/grep.el (grep-mode-font-lock-keywords):
9175 Support =linenumber= format used by git-grep for lines with
9176 function names. (Bug#13549)
9177
650cff3d
SM
91782013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9179
9180 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9181 0 after a semi-colon; it works better for smie-auto-fill.
9182 (octave--indent-new-comment-line): New function.
9183 (octave-indent-new-comment-line): Use it (indirectly).
9184 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9185 modify comment-line-break-function.
9186
9187 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9188 (smie-setup): Use add-function to set it.
9189
9631677d
SS
91902013-05-24 Sam Steingold <sds@gnu.org>
9191
9192 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9193 argument (before the `interactive' argument).
9194
50105835
SM
91952013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * image-mode.el (image-mode-winprops): Add winprops to
9198 image-mode-winprops-alist before running
9199 image-mode-new-window-functions.
9200 * doc-view.el (doc-view-new-window-function): Don't delay
9201 doc-view-goto-page via timers (bug#14435).
9202
57b9823e
TH
92032013-05-24 Tassilo Horn <tsdh@gnu.org>
9204
9205 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9206 (doc-view-desktop-save-buffer): New function.
9207 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9208 (desktop-buffer-mode-handlers):
9209 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9210 handler.
9211 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9212 `desktop-save-buffer' function.
9213
91aafa16
MA
92142013-05-24 Michael Albinus <michael.albinus@gmx.de>
9215
9216 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9217 (tramp-gvfs-file-name-handler): Raise a user error when
9218 `tramp-gvfs-enabled' is nil.
9219 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9220 Do not raise a user error when loading package. (Bug#14447)
9221
ec076379
MA
9222 * net/xesam.el: Move to obsolete/.
9223
db785726
GM
92242013-05-24 Glenn Morris <rgm@gnu.org>
9225
af5c7606
GM
9226 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9227
e5d1916a
GM
9228 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9229
ded62b08
GM
9230 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9231 (Info-find-node, Man-getpage-in-background): Declare.
9232
9e614a3f
GM
9233 * mail/unrmail.el (unrmail):
9234 Replace obsolete detect-coding-with-priority.
9235
892f8ca3
GM
9236 * net/socks.el (socks-split-string): Use this rather than split-string.
9237 (socks-nslookup-host): Update for above change.
9238 (dynamic-choice, s5-dynamic-choice-match)
9239 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9240 Comment out unused code.
9241
3c291973
GM
9242 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9243 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9244 (gud-tooltip-echo-area): Make obsolete.
9245 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9246
43cc956b
GM
9247 * progmodes/js.el (js--optimize-arglist): Declare.
9248
dab49a3b
GM
9249 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9250
36b9d085
GM
9251 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9252 (ediff-window-C): Declare.
9253
e354ae76
GM
9254 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9255 Tweak requires to silence compiler.
9256
b8e57bf4
GM
9257 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9258 (he-search-string, he-tried-table, he-expand-list)
9259 (he-init-string, he-string-member, he-substitute-string)
9260 (he-reset-string): Declare.
9261
db785726
GM
9262 * obsolete/options.el (list-options): Use custom-variable-p,
9263 rather than obsolete alias.
9264
b3531901
SS
92652013-05-23 Sam Steingold <sds@gnu.org>
9266
9267 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9268 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9269 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9270
bdda4c66
SM
92712013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * emacs-lisp/smie.el (smie-indent-forward-token)
9274 (smie-indent-backward-token): Handle string tokens (bug#14381).
9275
c43d45f9
TH
92762013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9277
fe1eb856
RS
9278 * ielm.el (ielm-menu): New menu.
9279 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9280
fe1eb856
RS
92812013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9282
9283 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9284 Fix deactivate action.
9285
9286 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9287 Add cleveref macros.
074dd971 9288
c43d45f9
TH
9289 * lisp/textmodes/reftex-parse.el
9290 (reftex-locate-bibliography-files): Accept options for
9291 bibliography commands.
9292 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9293 Add addbibresource. Basic Biblatex support.
9294
7764286e
MA
92952013-05-23 Michael Albinus <michael.albinus@gmx.de>
9296
9297 * net/tramp-gvfs.el (top):
9298 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9299 when loading package. (Bug#14447)
9300
d361bc10
GM
93012013-05-23 Glenn Morris <rgm@gnu.org>
9302
8fa23984
GM
9303 * progmodes/js.el: No need to load comint when compiling.
9304 (ring-insert, comint-send-string, comint-send-input)
9305 (comint-last-input-end, ido-chop): Declare.
9306
a5c7df1a
GM
9307 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9308 * vc/ediff-mult.el: Adjust requires.
9309 (ediff-directories-internal, ediff-directory-revisions-internal)
9310 (ediff-patch-file-internal): Declare.
9311 * vc/ediff-ptch.el: Adjust requires.
9312 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9313 (ediff-find-file): Autoload.
9314 * vc/ediff-util.el: No need to load ediff when compiling.
9315 (ediff-regions-internal): Declare.
9316 * vc/ediff-wind.el: Adjust requires.
9317 (ediff-compute-toolbar-width): Define when compiling.
9318 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9319 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9320 (dired-get-filename, dired-get-marked-files)
9321 (ediff-last-dir-patch, ediff-patch-default-directory)
9322 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9323 (ediff-patch-buffer-internal): Declare.
9324
e2aec513
GM
9325 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9326 (ispell-process, ispell-buffer-local-words, lm-summary)
9327 (lm-section-start, lm-section-end): Declare.
9328 (checkdoc-ispell-init): Simplify.
9329
e68bbd7c
GM
9330 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9331 (he-string-member, he-reset-string, he-substitute-string): Declare.
9332
7efe0991
GM
9333 * eshell/em-ls.el: Adjust requires.
9334 (eshell-glob-regexp): Declare.
f87b1284
GM
9335 * eshell/em-tramp.el: Adjust requires.
9336 (eshell-parse-command): Autoload.
9337 * eshell/em-xtra.el: Adjust requires.
9338 (eshell-parse-command): Autoload.
9339 * eshell/esh-ext.el: Adjust requires.
9340 (eshell-parse-command, eshell-close-handles): Autoload.
9341 * eshell/esh-io.el: Adjust requires.
9342 (eshell-output-filter): Autoload.
9343 * eshell/esh-util.el: No need to load tramp when compiling.
9344 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9345 Declare.
9346 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9347 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9348 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9349 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9350 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9351 * eshell/esh-opt.el, eshell/esh-proc.el:
9352 * eshell/esh-var.el: Adjust requires.
9353 * eshell/eshell.el: Do not require esh-util twice.
9354 (eshell-add-input-to-history): Declare.
9355 (eshell-command): Check history module is active before using it.
9356
d361bc10
GM
9357 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9358
85d090a9
LL
93592013-05-22 Leo Liu <sdl.web@gmail.com>
9360
9361 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9362
5d0acd9d
MA
93632013-05-22 Michael Albinus <michael.albinus@gmx.de>
9364
9365 * autorevert.el (auto-revert-notify-add-watch)
9366 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9367 it indicates changes in file modification time.
9368
0cdffd7d
GM
93692013-05-22 Glenn Morris <rgm@gnu.org>
9370
ca5995ec
GM
9371 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9372 Always delete the autoloaded function from the noruntime and
9373 unresolved functions lists.
9374
6450907e
GM
9375 * allout.el: No need to load epa, epg, overlay when compiling.
9376 (epg-context-set-passphrase-callback, epg-list-keys)
9377 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9378 (epg-key-user-id-list): Declare.
9379
9c6906f6
GM
9380 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9381 (viper-set-parsing-style-toggling-macro)
9382 (viper-set-emacs-state-searchstyle-macros):
9383 Use called-interactively-p on Emacs.
9384 (viper-looking-back): Make it an obsolete alias. Update callers.
9385 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9386 Use looking-back rather than viper-looking-back.
9387 (viper-tmp-insert-at-eob, viper-enlarge-region)
9388 (viper-read-string-with-history, viper-register-to-point)
9389 (viper-append-to-register, viper-change-state-to-vi)
9390 (viper-backward-char-carefully, viper-forward-char-carefully)
9391 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9392 (viper-change-state-to-emacs): Declare.
9393 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9394 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9395 * emulation/viper-mous.el: Do not load viper-cmd.
9396 (viper-backward-char-carefully, viper-forward-char-carefully)
9397 (viper-forward-word, viper-adjust-window): Declare.
9398
5f70c169
GM
9399 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9400
b1b7f300
GM
9401 * progmodes/idlw-help.el (idlwave-help-fontify):
9402 Use called-interactively-p.
9403
f6ebbb46
GM
9404 * term/w32console.el (w32-get-console-codepage)
9405 (w32-get-console-output-codepage): Declare.
9406
0cdffd7d
GM
9407 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9408 Remove unnecessary declarations.
9409 (dframe-message): Doc fix.
9410
9411 * info.el (dframe-select-attached-frame, dframe-current-frame):
9412 Declare.
9413
9414 * speedbar.el (speedbar-message): Make it an obsolete alias.
9415 Update all callers.
9416 (speedbar-with-attached-buffer)
9417 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9418 (speedbar-with-writable): Use backquote.
9419 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9420 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9421 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9422 rather than speedbar- aliases.
9423 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9424 (speedbar-make-specialized-keymap, speedbar-insert-button)
9425 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9426 (speedbar-do-function-pointer): Declare.
9427 (rmail-speedbar-button, rmail-speedbar-find-file)
9428 (rmail-speedbar-move-message):
9429 Use dframe-with-attached-buffer rather than speedbar- alias.
9430 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9431 (dframe-message, speedbar-make-specialized-keymap)
9432 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9433 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9434 (speedbar-insert-button, dframe-select-attached-frame)
9435 (dframe-maybee-jump-to-attached-frame)
9436 (speedbar-change-initial-expansion-list)
9437 (speedbar-previously-used-expansion-list-name): Declare.
9438 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9439 Use dframe-message, dframe-with-attached-buffer rather than
9440 speedbar- aliases.
9441 (gud-sentinel): Silence compiler.
9442 * progmodes/vhdl-mode.el (speedbar-refresh)
9443 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9444 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9445 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9446 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9447 (speedbar-file-lists, speedbar-make-tag-line)
9448 (speedbar-line-directory, speedbar-goto-this-file)
9449 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9450 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9451 (speedbar-make-button, speedbar-reset-scanners)
9452 (speedbar-files-item-info, speedbar-line-text)
9453 (speedbar-find-file-in-frame, speedbar-set-timer)
9454 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9455 (speedbar-with-writable): Do not (re)define it.
9456 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9457 rather than speedbar- alias.
9458
ee44b62a
LL
94592013-05-21 Leo Liu <sdl.web@gmail.com>
9460
9461 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9462 menu items.
9463 (octave-mode): Tweak fill-nobreak-predicate.
9464 (inferior-octave-startup): Check process to avoid infinite loop.
9465 (inferior-octave): Pop to buffer first to show abornmal process
9466 exit information.
9467
640f050f
GM
94682013-05-21 Glenn Morris <rgm@gnu.org>
9469
79458038
GM
9470 * printing.el (pr-menu-bar): Define when compiling.
9471
9cc3e83f
LL
94722013-05-21 Leo Liu <sdl.web@gmail.com>
9473
9474 * progmodes/octave.el (octave-auto-fill): Remove.
9475 (octave-indent-new-comment-line): Improve.
9476 (octave-mode): Use auto fill mode through
4f405069 9477 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9478 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9479 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9480 (octave-help): Show parent directory.
9481
f440830d
GM
94822013-05-21 Glenn Morris <rgm@gnu.org>
9483
9484 * files.el (dired-unmark):
9485 * progmodes/gud.el (gdb-input): Update declarations.
9486
9487 * calculator.el (electric, ehelp): No need to load when compiling.
9488 (Electric-command-loop, electric-describe-mode): Declare.
9489
9490 * doc-view.el (doc-view-current-converter-processes): Move before use.
9491
9492 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9493 Move MODE-set-explicitly definition before use.
9494
9495 * international/mule-diag.el (mule-diag):
9496 Don't use obsolete window-system-version.
9497
9498 * mail/feedmail.el (smtpmail): No need to load when compiling.
9499 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9500
9501 * mail/mail-utils.el (rfc822): No need to load when compiling.
9502 (rfc822-addresses): Autoload it.
9503 (mail-strip-quoted-names): Trivial simplification.
9504
9505 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9506 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9507
9508 * net/snmp-mode.el (tempo): Don't duplicate requires.
9509
9510 * progmodes/prolog.el (info): No need to load when compiling.
9511 (comint): Require before shell requires it.
9512 (Info-goto-node): Autoload it.
9513 (Info-follow-nearest-node): Declare.
9514 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9515
9516 * textmodes/artist.el (picture-mode-exit): Declare.
9517
9518 * textmodes/reftex-parse.el (reftex-parse-from-file):
9519 Trivial rewrite so the compiler can parse it better.
9520
b4da2cbb
LL
95212013-05-20 Leo Liu <sdl.web@gmail.com>
9522
9523 * progmodes/octave.el (octave-help-mode-map)
9524 (octave-help-mode-finish-hook): New variables.
9525 (octave-help-mode, octave-help-mode-finish): New functions.
9526 (octave-help): Use octave-help-mode.
9527
33c0f65b
GM
95282013-05-20 Glenn Morris <rgm@gnu.org>
9529
9530 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9531
1a0a0a8a
DG
95322013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9533
9534 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9535 start at point, so that expansion starting right after opening
9536 slash in a regexp is recognized.
9537 (ruby-syntax-before-regexp-re): New defvar, extracted from
9538 ruby-syntax-propertize-function. Since the value of this regexp
9539 is looked up at runtime now, we should be able to turn
9540 `ruby-syntax-methods-before-regexp' into a defcustom later.
9541 (ruby-syntax-propertize-function): Split regexp matching into two
9542 parts, for opening and closing slashes. That allows us to skip
9543 over string interpolations and support multiline regexps.
9544 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9545 for them, which calls `ruby-syntax-propertize-expansion'.
9546 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9547 call to `ruby-syntax-propertize-function'.
9548 (ruby-syntax-propertize-expansion): Extracted from
9549 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9550 (ruby-syntax-propertize-percent-literal): Leave point right after
9551 the percent symbol, so that the expression expansion rule can
9552 propertize the contents.
462388b6
DG
9553 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9554 heredoc openers.
9555 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9556
c1a6c0a4
JL
95572013-05-18 Juri Linkov <juri@jurta.org>
9558
9559 * man.el (Man-default-man-entry): Remove `-' from the end
9560 of the default value. (Bug#14400)
9561
8051fccd
GM
95622013-05-18 Glenn Morris <rgm@gnu.org>
9563
9564 * comint.el (comint-password-prompt-regexp):
9565 Allow "password for XXX" where XXX contains colons (eg https://...).
9566
5e80b74f
LL
95672013-05-18 Leo Liu <sdl.web@gmail.com>
9568
9569 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9570 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9571 (octave-source-directories): Don't check process.
9572 (octave-source-directories, octave-find-definition): Doc fix.
9573
521a54c5
GM
95742013-05-18 Glenn Morris <rgm@gnu.org>
9575
86a94b05
GM
9576 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9577 Remove backspace/delete bindings. (Bug#14392)
9578
521a54c5
GM
9579 * cus-dep.el (custom-make-dependencies): Sort the output.
9580 (custom-versions-load-alist): Convert comment to doc.
9581
42caeb89
LL
95822013-05-17 Leo Liu <sdl.web@gmail.com>
9583
9584 * newcomment.el (comment-search-backward): Stricter in finding
9585 comment start. (Bug#14303)
9586
9587 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9588 (octave-comment-start-skip): Properly anchored.
9589
e219dd97
LL
95902013-05-17 Leo Liu <sdl.web@gmail.com>
9591
fe1eb856
RS
9592 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9593 Clean up when turned off. (Bug#14395)
e219dd97
LL
9594 (smie--highlight-matching-block-overlay): No longer buffer-local.
9595 (smie-highlight-matching-block): Adjust.
9596
dc5dcb4b
PE
95972013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9598
9599 Doc string fix for "nanoseconds" (Bug#14406).
9600 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9601 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9602
1db165f0
JB
96032013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9604
9605 * calc/calc-units.el (math-extract-units): Preserve powers
9606 of units.
9607
c7a8fcac
LL
96082013-05-17 Leo Liu <sdl.web@gmail.com>
9609
9610 * subr.el (delete-consecutive-dups): New function.
9611 * ido.el (ido-set-matches-1): Use it.
9612 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9613 * ido.el (ido-remove-consecutive-dups): Remove.
9614
f678b18a
SM
96152013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9616
9617 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9618 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9619 regexp-opt's `words'.
9620
ebfe68e8
LL
96212013-05-16 Leo Liu <sdl.web@gmail.com>
9622
9623 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9624 (smie--highlight-matching-block-overlay)
9625 (smie--highlight-matching-block-lastpos)
9626 (smie--highlight-matching-block-timer): New variables.
9627 (smie-highlight-matching-block): New function.
9628 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9629 (smie-setup): Conditionally enable smie-blink-matching-open.
9630
bc8bc17d
WS
96312013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9632
9633 Sync with upstream verilog-mode r840.
9634 * progmodes/verilog-mode.el (verilog-mode-version)
9635 (verilog-mode-release-date): Update.
9636 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9637 (verilog-sig-tieoff): Fix string error on
9638 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9639 (verilog-read-decls): Fix parameters confusing
9640 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9641
df065a0b
EZ
96422013-05-16 Eli Zaretskii <eliz@gnu.org>
9643
9644 * subr.el (reveal-filename): New function.
9645
9646 * loadup.el: Compute Emacs executable versions on MS-Windows,
9647 where executables have the .exe extension. Add a hard link
9648 emacs-XX.YY.ZZ.exe on MS-Windows.
9649
9650 * Makefile.in (XARGS_LIMIT): New variable.
9651 (custom-deps, finder-data, autoloads)
9652 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9653 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9654 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9655 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9656
2d4bf34b
LL
96572013-05-16 Leo Liu <sdl.web@gmail.com>
9658
9659 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9660 (octave-mode-menu, octave-mode-map): Remove its uses.
9661
6b9c2d85
RZ
96622013-05-16 Reto Zimmermann <reto@gnu.org>
9663
9664 Sync with upstream vhdl mode v3.34.2.
9665 * progmodes/vhdl-mode.el: Use `push' throughout.
9666 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9667 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9668 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9669 (vhdl-actual-generic-name): New option to derive actual generic name.
9670 (vhdl-port-paste-signals): Replace formal by actual generics.
9671 (vhdl-beautify): New name for old group vhdl-align. Update users.
9672 (vhdl-beautify-options): New option.
9673 (vhdl-last-input-event): New compat alias. Use throughout.
9674 (vhdl-goto-line): Replace user level function `goto-line'.
9675 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9676 vhdl-fix-statement-buffer.
9677 (vhdl-create-mode-menu): Add some entries.
9678 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9679 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9680 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9681 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9682 to force statements on one line.
9683 (vhdl-remove-trailing-spaces-region):
9684 New, split from vhdl-remove-trailing-spaces.
9685 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9686 Respect vhdl-beautify-options.
9687 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9688 (vhdl-update-sensitivity-list): Not add with index if exists without.
9689 Not include array index with signal. Ignore keywords in comments.
9690 (vhdl-get-visible-signals): Regexp tweaks.
9691 (vhdl-template-component-inst): Handle empty library.
9692 (vhdl-template-type): Add template for 'enum' type.
9693 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9694 Use vhdl-replace-string.
9695 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9696 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9697 (vhdl-speedbar-initialize): Update for above name change.
9698 (vhdl-compose-wire-components): Fix in handling of constants.
9699 (vhdl-error-regexp-emacs-alist): New variable.
9700 (vhdl-error-regexp-add-emacs): New function;
9701 adds support for new compile.el (Emacs 22+)
9702 (vhdl-generate-makefile-1): Change target order for single lib. units.
9703 Allow use of absolute file names.
9704
9df4ec5e
LL
97052013-05-16 Leo Liu <sdl.web@gmail.com>
9706
9707 * simple.el (prog-indent-sexp): Indent enclosing defun.
9708
f5ba00a6
GM
97092013-05-15 Glenn Morris <rgm@gnu.org>
9710
ed8be7ff
GM
9711 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9712 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9713 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9714 (whitespace-highlight): Move to whitespace group.
9715
9716 * comint.el (comint-source):
9717 * pcmpl-linux.el (pcmpl-linux):
9718 * shell.el (shell-faces):
9719 * eshell/esh-opt.el (eshell-opt):
9720 * international/ccl.el (ccl): Remove empty custom groups.
9721
9722 * completion.el (dynamic-completion-mode):
9723 * jit-lock.el (jit-lock-debug-mode):
9724 * minibuffer.el (completion-in-region-mode):
9725 * type-break.el (type-break-mode-line-message-mode)
9726 (type-break-query-mode):
9727 * emulation/tpu-edt.el (tpu-edt-mode):
9728 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9729 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9730 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9731
9732 * term/xterm.el (xterm): Change parent group to terminals.
9733
9734 * master.el (master): Remove empty custom group.
9735 (master-mode): Remove unused :group argument.
9736 * textmodes/refill.el (refill): Remove empty custom group.
9737 (refill-mode): Remove unused :group argument.
9738
9739 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9740
82a7c41b
GM
9741 * cus-dep.el: Provide a feature.
9742 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9743 Don't mistakenly ignore files whose basenames match a basename
9744 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9745 Add a fallback method for getting :group.
f5ba00a6 9746
6d65486d
JL
97472013-05-15 Juri Linkov <juri@jurta.org>
9748
da547b32
JL
9749 * isearch.el (isearch-char-by-name): Rename from
9750 `isearch-insert-char-by-name'. Doc fix.
9751 (isearch-forward): Mention `isearch-char-by-name' in
9752 the docstring. (Bug#13348)
9753
6d65486d
JL
9754 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9755 `exit-minibuffer' instead of
9756 `isearch-nonincremental-exit-minibuffer'.
9757 (isearch-edit-string): Remove mention of
9758 `isearch-nonincremental-exit-minibuffer' from docstring.
9759 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9760 (isearch-forward-exit-minibuffer)
9761 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9762
c9990474
SM
97632013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9764
6e911150
SM
9765 * loadup.el: Just use unversioned DOC.
9766
c9990474
SM
9767 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9768 literals as extending to EOB.
9769 (nxml-last-fontify-end): Remove unused variable.
9770 (nxml-after-change1): Use with-silent-modifications.
9771 (nxml-extend-after-change-region): Simplify.
9772 (nxml-extend-after-change-region1): Remove function.
9773 (nxml-after-change1): Don't adjust for dependent regions.
9774 (nxml-fontify-matcher): Simplify.
9775 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9776 (xmltok-add-dependent): Remove function.
9777 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9778 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9779 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9780 unclosed <[[, <?, comment, and other literals as extending to EOB.
9781 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9782 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9783 Remove functions.
9784 (rng-do-some-validation-1): Don't mark dependent regions.
9785 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9786 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9787 (nxml-clear-dependent-regions): Remove functions.
9788 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9789 (nxml-ensure-scan-up-to-date):
9790 Don't clear&mark dependent regions.
9791
e3772e98
LL
97922013-05-15 Leo Liu <sdl.web@gmail.com>
9793
c9990474
SM
9794 * progmodes/octave.el (octave-goto-function-definition):
9795 Improve and fix callers.
e3772e98 9796
5ac2eb34
SM
97972013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9798
c46c57b0
SM
9799 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9800 the setter (bug#14387).
9801
5ac2eb34
SM
9802 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9803 surrounding group (bug#14402).
9804
180ed218
JL
98052013-05-14 Juri Linkov <juri@jurta.org>
9806
9807 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9808 (Bug#14390)
9809
0ac0fecb
GM
98102013-05-14 Glenn Morris <rgm@gnu.org>
9811
9812 * progmodes/f90.el (f90-imenu-generic-expression):
9813 Fix typo in 2013-05-08 change. (Bug#14402)
9814
2e78e6a7
JPG
98152013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9816
5ac2eb34
SM
9817 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9818 Remove signals for which replies are never received.
2e78e6a7 9819
53267cca
JPG
98202013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9821
9822 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9823 (gdb-handler-alist, gdb-handler-number): Remove variables.
9824 (gdb-handler-list): New variable.
9825 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9826 (gdb-pending-handler-p, gdb-handle-reply)
9827 (gdb-remove-all-pending-triggers): New functions.
9828 (gdb-discard-unordered-replies): New defcustom.
9829 (gdb-handler): New defstruct.
9830 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9831 instead of gdb-pending-triggers. Update docstring.
9832 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9833 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9834 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9835 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9836 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9837 (gdb-frame-handler): Pending triggers are now automatically managed.
9838 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9839 Remove argument.
9840 (gdb-input): Automatically handles pending triggers. Update docstring.
9841 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9842 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9843 Update comments.
9844 (gdb-done-or-error): Now use gdb-handle-reply.
9845
d04ce803
JPG
98462013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9847
9848 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9849 gdb-debug-log.
9850
0114073a
GM
98512013-05-14 Glenn Morris <rgm@gnu.org>
9852
9853 * subr.el (user-emacs-directory-warning): New option.
9854 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9855
4d25fd7e
LL
98562013-05-14 Leo Liu <sdl.web@gmail.com>
9857
9858 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9859 during redisplay.
9860 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9861 (octave-font-lock-texinfo-comment): Fix invalid search bound
9862 error: wrong side of point.
4d25fd7e 9863
27c8b6eb
GM
98642013-05-14 Glenn Morris <rgm@gnu.org>
9865
61aaeb01
GM
9866 * progmodes/flymake.el (flymake-xml-program): New option.
9867 (flymake-xml-init): Use it.
9868
5bf90bc5
GM
9869 * term/xterm.el: Provide a feature.
9870
9871 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9872
f4c7dfd2
GM
98732013-05-13 Glenn Morris <rgm@gnu.org>
9874
9875 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9876 Add compat aliases as a hack workaround. (Bug#14384)
9877
2aeb3a1d
LL
98782013-05-13 Leo Liu <sdl.web@gmail.com>
9879
b0e069c2
LL
9880 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9881 ###, and %!.
f5a9432f
LL
9882 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9883 C-M-q.
b0e069c2
LL
9884 (octave-comment-start-skip): Include %!.
9885 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9886
30ea8374
LL
98872013-05-12 Leo Liu <sdl.web@gmail.com>
9888
9889 * progmodes/octave.el (inferior-octave-startup): Store the value
9890 of __octave_srcdir__ for octave-source-directories.
9891 (inferior-octave-check-process): New function refactored out of
9892 inferior-octave-send-list-and-digest.
9893 (octave-source-directories)
9894 (octave-find-definition-filename-function): New variables.
9895 (octave-source-directories)
9896 (octave-find-definition-default-filename): New functions.
9897 (octave-find-definition): Improve to find functions implemented in C++.
9898
472a3834
GM
98992013-05-12 Glenn Morris <rgm@gnu.org>
9900
9901 * calendar/diary-lib.el (diary-outlook-format-1):
9902 Don't include dayname in the output. (Bug#14349)
9903
3191b52f
GM
99042013-05-11 Glenn Morris <rgm@gnu.org>
9905
0060ac73
GM
9906 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9907
3191b52f
GM
9908 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9909 Treat cc-provide like provide.
9910
e065ba74
KR
99112013-05-11 Kevin Ryde <user42@zip.com.au>
9912
9913 * cus-dep.el (custom-make-dependencies):
9914 Use generated-autoload-load-name for the sake of files such
9915 such cedet/semantic/bovine/c.el, where the base file name
9916 is not in load-path. (Bug#5277)
9917
36f84c37
GM
99182013-05-11 Glenn Morris <rgm@gnu.org>
9919
9920 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9921 Provide features.
9922
c8730c3a
LL
99232013-05-11 Leo Liu <sdl.web@gmail.com>
9924
9925 * progmodes/octave.el (octave-indent-comment): Improve.
9926 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9927 (octave-eldoc-function-signatures, octave-eldoc-function):
9928 New functions.
c8730c3a
LL
9929 (octave-mode, inferior-octave-mode): Add eldoc support.
9930
212e29f2
RS
99312013-05-11 Richard Stallman <rms@gnu.org>
9932
9933 * epa.el (epa-decrypt-file): Take output file name as argument
9934 and read it using `interactive'.
9935
083fe0d7
LL
99362013-05-11 Leo Liu <sdl.web@gmail.com>
9937
9938 * progmodes/octave.el (octave-beginning-of-line)
9939 (octave-end-of-line): Check before using up-list because it jumps
9940 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9941 (octave-indent-comment): New function.
9942 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9943 (octave-begin-keywords, octave-end-keywords)
9944 (octave-reserved-words, octave-smie-bnf-table)
9945 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9946
8582e4c4
GM
99472013-05-11 Glenn Morris <rgm@gnu.org>
9948
f20def1f
GM
9949 * faces.el (internal-face-x-get-resource):
9950 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9951 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9952 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9953 Fix declarations.
f20def1f 9954
445f95e2
GM
9955 * calc/calc-menu.el: Make it loadable in isolation.
9956
9957 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9958 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9959 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9960 (eudc-bbdb-query-internal): Require 'bbdb.
9961
99fb2756
GM
9962 * lpr.el (lpr-headers-switches):
9963 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9964
9965 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9966
0da7ad96
GM
9967 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9968
8582e4c4
GM
9969 * term.el (term-set-escape-char): Make it idempotent.
9970
f71c50d0
LL
99712013-05-10 Leo Liu <sdl.web@gmail.com>
9972
5ac2eb34
SM
9973 * progmodes/octave.el (inferior-octave-completion-table):
9974 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9975 completion due to bug#11906.
9976 (octave-beginning-of-defun): Re-write to be more general.
9977
d5837773
GM
99782013-05-10 Glenn Morris <rgm@gnu.org>
9979
9980 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9981
027c0f75
SM
99822013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * comint.el (comint-redirect-send-command-to-process): Use :around
9985 rather than :override for comint-redirect-filter.
9986 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9987 Call it instead of comint-redirect-original-filter-function (which
9988 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9989
4465bfb4
JD
99902013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9991
9992 * frame.el (display-monitor-attributes-list): Add NS case.
9993 (ns-display-monitor-attributes-list): Declare.
9994
2d809ffa 99952013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
9996
9997 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9998
e54eeb9b
GM
99992013-05-09 Glenn Morris <rgm@gnu.org>
10000
56cd351d
GM
10001 * international/fontset.el (vertical-centering-font-regexp):
10002 Set standard-value.
10003
d84b6108
GM
10004 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10005
a931698a
GM
10006 * bookmark.el (bookmark-search-delay):
10007 * cus-start.el (vertical-centering-font-regexp):
10008 * ps-mule.el (ps-mule-font-info-database-default):
10009 * ps-print.el (ps-default-fg, ps-default-bg):
10010 * type-break.el (type-break-good-break-interval):
10011 * whitespace.el (whitespace-indentation-regexp)
10012 (whitespace-space-after-tab-regexp):
10013 * emacs-lisp/testcover.el (testcover-1value-functions)
10014 (testcover-noreturn-functions, testcover-progn-functions)
10015 (testcover-prog1-functions):
10016 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10017 * eshell/em-glob.el (eshell-glob-translate-alist):
10018 * play/tetris.el (tetris-tty-colors):
10019 * progmodes/cpp.el (cpp-face-default-list):
10020 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10021 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10022 (idlwave-help-browser-generic-args):
10023 * progmodes/make-mode.el (makefile-special-targets-list):
10024 * progmodes/python.el (python-shell-virtualenv-path):
10025 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10026 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10027 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10028 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10029 * textmodes/reftex-vars.el (reftex-format-label-function):
10030 * textmodes/remember.el (remember-diary-file): Fix custom types.
10031
e54eeb9b
GM
10032 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10033 Add :version.
10034
455851dd
LL
100352013-05-09 Leo Liu <sdl.web@gmail.com>
10036
10037 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10038 Restore file completion. (Bug#14300)
455851dd
LL
10039 (inferior-octave-startup): Fix incorrect highlighting for the
10040 first prompt.
10041
a9e4425b
SM
100422013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10043
10044 * progmodes/ruby-mode.el: First cut at SMIE support.
10045 (ruby-use-smie): New var.
10046 (ruby-smie-grammar): New constant.
10047 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10048 (ruby-smie--forward-token, ruby-smie--backward-token)
10049 (ruby-smie-rules): New functions.
10050 (ruby-mode-variables): Setup SMIE if applicable.
10051
060ca408
EZ
100522013-05-08 Eli Zaretskii <eliz@gnu.org>
10053
10054 * simple.el (line-move-visual): Signal beginning/end of buffer
10055 only if vertical-motion moved less than it was requested. Avoids
10056 silly incorrect error messages when there are display strings with
10057 multiple newlines at EOL.
10058
1d5963cc
SM
100592013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10060
10061 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10062 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10063 (prolog-char-quote-workaround):
10064 * progmodes/cperl-mode.el (cperl-under-as-char):
10065 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10066 Mark as obsolete.
10067 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10068 their declaration.
10069 (vhdl-mode-syntax-table-init): Remove.
10070
c9990474
SM
10071 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10072 last change.
1d5963cc
SM
10073
10074 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10075 syntax for "_".
10076 (ld-script-font-lock-keywords):
10077 Change regexps to use things like \_< and \_>.
10078
10079 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10080 Change all regexps to use things like \_< and \_>.
10081
10082 * progmodes/autoconf.el (autoconf-definition-regexp)
10083 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10084 Handle a _ with symbol syntax.
10085 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10086
c9990474
SM
10087 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10088 Consolidate declaration.
1d5963cc
SM
10089 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10090 the declaration.
10091 (ada-create-syntax-table): Remove.
10092 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10093 already has the right syntax nowadays.
10094 (ada-goto-next-word): Don't change the syntax of "_".
10095
10096 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10097 with-wrapper-hook.
10098
72d3cfca
SS
100992013-05-08 Sam Steingold <sds@gnu.org>
10100
10101 * thingatpt.el (thing-at-point): Accept optional second argument
10102 NO-PROPERTIES to strip the text properties from the return value.
10103 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10104 to `thing-at-point' instead of stripping the properties ourselves.
10105 Also, when `thing-at-point' fails to find a url, prepend "http://"
10106 to the filename at point on the assumption that the user is
10107 pointing at something like gnu.org/gnu.
10108
5cb15713
JB
101092013-05-08 Juanma Barranquero <lekktu@gmail.com>
10110
10111 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10112 * faces.el (crm-separator):
10113 Silence byte-compiler.
10114
10115 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10116 (tool-bar-map): Remove unneeded defvars.
10117
ea78b95b
LL
101182013-05-08 Leo Liu <sdl.web@gmail.com>
10119
10120 Re-work a fix for bug#10994 based on Le Wang's patch.
10121 * ido.el (ido-remove-consecutive-dups): New helper.
10122 (ido-completing-read): Use it.
10123 (ido-chop): Revert fix for bug#10994.
10124
dc7466df
AS
101252013-05-08 Adam Spiers <emacs@adamspiers.org>
10126
10127 * cus-edit.el (custom-save-variables):
10128 Pretty-print long values. (Bug#14187)
10129
9ecf672a
GM
101302013-05-08 Glenn Morris <rgm@gnu.org>
10131
10132 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10133 (m4-mode-syntax-table): Init in the defvar.
10134 (m4-mode-abbrev-table): Let define-derived-mode define it.
10135
3f555be8
TT
101362013-05-08 Tom Tromey <tromey@redhat.com>
10137
10138 * progmodes/m4-mode.el (m4-mode-syntax-table):
10139 Do not treat "_" as word constituent. (Bug#14167)
10140
7cc8ae06
GM
101412013-05-07 Glenn Morris <rgm@gnu.org>
10142
4f58bc06
GM
10143 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10144 Remove explicit eshell-isearch-cancel-map.
10145
7cc8ae06
GM
10146 * progmodes/f90.el (f90-smart-end-names): New option.
10147 (f90-smart-end): Doc fix.
10148 (f90-end-block-optional-name): New constant.
10149 (f90-block-match): Respect f90-smart-end-names.
10150
ceb57e59
SM
101512013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10152
10153 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10154 about implicit semi-colons (bug#14218).
10155
4e3f9230
YM
101562013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10157
10158 * frame.el (display-monitor-attributes-list)
10159 (frame-monitor-attributes): New functions.
10160
203a5572
LL
101612013-05-06 Leo Liu <sdl.web@gmail.com>
10162
10163 * progmodes/octave.el (octave-syntax-propertize-function): Change
10164 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10165 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10166 (octave-completion-at-point): Rename from
203a5572
LL
10167 octave-completion-at-point-function.
10168 (inferior-octave-directory-tracker): Robustify.
10169 (octave-text-functions): Remove and fix its uses. No such things
10170 any more.
10171
ee6cff99
SM
101722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10173
10174 * emacs-lisp/trace.el (trace--display-buffer): New function.
10175 (trace-make-advice): Use it.
10176
32985194
JL
101772013-05-06 Juri Linkov <juri@jurta.org>
10178
10179 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10180 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10181 Doc fix.
10182 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10183 in the help string. (Bug#12985)
10184
a1c700de
KD
101852013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10186
10187 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10188
c67c0839
SM
101892013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10190
323885fd
SM
10191 * progmodes/perl-mode.el: Add support for here documents.
10192 (perl-syntax-propertize-function): Match here-doc markers.
10193 (perl-syntax-propertize-special-constructs): Find their end.
10194 (perl-imenu-generic-expression): Use [:alnum:].
10195
c67c0839
SM
10196 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10197 (advice--add-function): Refresh the advice if already present
10198 (bug#14317).
10199
d491e7a8
IA
102002013-05-06 Ivan Andrus <darthandrus@gmail.com>
10201
10202 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10203
ddf9925e
GM
102042013-05-06 Glenn Morris <rgm@gnu.org>
10205
7cc3af27
GM
10206 * w32-fns.el (w32-charset-info-alist): Declare.
10207
16e343d6
GM
10208 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10209 of its defcustom properties.
10210 (eshell-cmpl-initialize): No need to load pcomplete.
10211
7d889a47
GM
10212 * generic-x.el: No need to require comint when compiling.
10213
ddf9925e
GM
10214 * net/eudc-export.el: Make it loadable without bbdb.
10215 (top-level): Use require rather than load-library.
10216 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10217 (eudc-batch-export-records-to-bbdb)
10218 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10219 Require bbdb.
10220
1e2c18df
SM
102212013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10222
10223 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10224 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10225 some tweaks, instead.
10226
02502a5f
LL
102272013-05-05 Leo Liu <sdl.web@gmail.com>
10228
10229 * progmodes/octave.el (octave-font-lock-keywords)
10230 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10231 (inferior-octave-send-list-and-digest): Improve error message.
10232 (octave-mode, inferior-octave-mode): Use setq-local.
10233 (octave-help): Set info-lookup-mode.
10234
0dc04f42
RS
102352013-05-05 Richard Stallman <rms@gnu.org>
10236
6c54491c
RS
10237 * vc/compare-w.el (compare-windows-whitespace):
10238 Treat no-break space as whitespace.
10239
0dc04f42
RS
10240 * mail/rmailsum.el (rmail-summary-rmail-update):
10241 Detect empty summary and don't change selected message.
10242 (rmail-summary-goto-msg): Likewise.
10243
df8f35df
RS
10244 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10245 Doc fixes, rename args.
10246
5356e1a3
AM
102472013-05-05 Alan Mackenzie <acm@muc.de>
10248
10249 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10250
d44014cb
JL
102512013-05-05 Juri Linkov <juri@jurta.org>
10252
10253 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10254 to not add the length of the summary segment to the return value.
10255 (Bug#14125)
10256
c129b51f
LL
102572013-05-05 Leo Liu <sdl.web@gmail.com>
10258
10259 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10260 (inferior-octave-output-filter): Remove.
10261 (octave-send-region, inferior-octave-startup): Fix callers.
10262 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10263 (octave-binary-file-extensions): New user variable.
10264 (octave-find-definition): Confirm if opening binary files.
10265 (octave-help-file): Use octave-find-definition to get the binary
10266 confirmation.
10267 (octave-help): Adjust for octave-help-file change.
10268
aa7dab97
SM
102692013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10270
10271 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10272 Merge the two entries that handle function definitions.
10273 (pascal--syntax-propertize): New const.
10274 (pascal-mode): Use it. Use setq-local.
10275
fd3a9a6b
GM
102762013-05-04 Glenn Morris <rgm@gnu.org>
10277
10278 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10279 (diary-from-outlook): Respect diary-from-outlook-function.
10280
30c7e542
SM
102812013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10284 Move the declaration from C.
10285 (read-minibuffer, eval-minibuffer): Move from C.
10286 (completion-setup-function): Avoid minibuffer-completion-contents.
10287
b54f978b
LL
102882013-05-03 Leo Liu <sdl.web@gmail.com>
10289
10290 * progmodes/octave.el (octave-font-lock-keywords): Do not
10291 dehighlight 'end' in comments or strings.
30c7e542
SM
10292 (octave-completing-read, octave-goto-function-definition):
10293 New helpers.
d4d0f9b3
LL
10294 (octave-help-buffer): New user variable.
10295 (octave-help-file, octave-help-function): New button types.
10296 (octave-help): New command and bind it to C-h ;.
10297 (octave-find-definition): New command and bind it to M-.
d74a1581 10298 (user-error): Alias to error if not defined.
b54f978b 10299
27135018
LL
103002013-05-02 Leo Liu <sdl.web@gmail.com>
10301
10302 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10303 for \. (bug#14332)
10304 (octave-font-lock-keywords): Include [ and {.
10305
0d634d3a
LL
103062013-05-02 Leo Liu <sdl.web@gmail.com>
10307
10308 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10309 (inferior-octave): Remove calling comint-mode and return the buffer.
10310 (inferior-octave-startup): Cosmetic changes.
10311
b4c8295e
LL
103122013-05-02 Leo Liu <sdl.web@gmail.com>
10313
30c7e542
SM
10314 * progmodes/octave.el (octave-syntax-propertize-function):
10315 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10316
f12ad6ec
GM
103172013-05-02 Glenn Morris <rgm@gnu.org>
10318
10319 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10320 * desktop.el (vc-dir-mode): Just autoload it here.
10321
30cac1e0
AM
103222013-05-02 Alan Mackenzie <acm@muc.de>
10323
10324 Eliminate variable c-standard-font-lock-fontify-region-function.
10325 * progmodes/cc-mode.el
10326 (c-standard-font-lock-fontify-region-function): Remove.
10327 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10328
d8ef28b1
LL
103292013-05-01 Leo Liu <sdl.web@gmail.com>
10330
2640d52e 10331 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10332 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10333 variables were removed from Octave in 2007.
d8ef28b1
LL
10334 (inferior-octave-startup): Fix uses.
10335 (comint-line-beginning-position): Remove compatibility code for
10336 emacs 21.
10337
ac63ec89
JL
103382013-05-01 Juri Linkov <juri@jurta.org>
10339
10340 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10341
9e9be37c
JL
103422013-05-01 Juri Linkov <juri@jurta.org>
10343
10344 * comint.el (comint-previous-matching-input): Don't print message
10345 "History item: %d" when `isearch-mode' is active.
10346 (comint-history-isearch-message): Print message "History item: %d"
10347 when `comint-input-ring-index' is not empty and this function is
10348 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10349
9b92c13b
LL
103502013-05-01 Leo Liu <sdl.web@gmail.com>
10351
10352 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10353 definitions. Use completion-at-point to insert keywords.
10354 (octave-abbrev-start): Remove.
10355 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10356
b12d33d7
LL
103572013-04-30 Leo Liu <sdl.web@gmail.com>
10358
10359 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10360 change.
10361
3d1c39fa
AM
103622013-04-30 Alan Mackenzie <acm@muc.de>
10363
10364 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10365 * progmodes/cc-engine.el (c-back-over-member-initializers):
10366 new function.
3d1c39fa
AM
10367 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10368 (most) member init lists.
10369
5147fc17
RS
103702013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10371
10372 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10373 variable.
10374
5b78d7fc
LL
103752013-04-30 Leo Liu <sdl.web@gmail.com>
10376
10377 * progmodes/octave.el (octave-variables): Remove. No builtin
10378 variables any more. All converted to functions.
10379 (octave-font-lock-keywords, octave-completion-at-point-function):
10380 Fix uses.
10381 (octave-font-lock-texinfo-comment): New user variable.
10382 (octave-texinfo-font-lock-keywords): New variable for texinfo
10383 comment block.
10384 (octave-function-comment-block): New face.
10385 (octave-font-lock-texinfo-comment): New function.
10386 (octave-mode): Font lock texinfo comment block.
10387
38d8527b
LL
103882013-04-29 Leo Liu <sdl.web@gmail.com>
10389
10390 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10391 indexing expression.
10392 (octave-continuation-string): Do not use \.
10393 (inferior-octave-complete-impossible): Remove.
10394 (inferior-octave-completion-table)
10395 (inferior-octave-completion-at-point): Remove its uses.
10396 (inferior-octave-startup): completion_matches was introduced to
10397 Octave in 1996 so safe to assume it.
10398 (octave-function-file-comment): Improve to follow how Octave does it.
10399 (octave-update-function-file-comment): Tweak.
10400
2ec12cb0
LL
104012013-04-29 Leo Liu <sdl.web@gmail.com>
10402
10403 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10404 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10405 (octave-function-file-comment): Fix typo.
10406 (octave-sync-function-file-names): Use read-char-choice.
10407
6eaed048
JB
104082013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10409
10410 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10411 to t for the less important warnings.
10412
3ffa2d4f
DH
104132013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10414
10415 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10416
685c9501
GM
104172013-04-27 Glenn Morris <rgm@gnu.org>
10418
10419 * vc/log-view.el (log-view-current-entry):
10420 Treat "---" separator lines as part of the following rev. (Bug#14169)
10421
0208ede7
JL
104222013-04-27 Juri Linkov <juri@jurta.org>
10423
10424 * subr.el (read-number): Doc fix about using it by interactive
10425 code letter `n'. (Bug#14254)
10426
5db9dace
JL
104272013-04-27 Juri Linkov <juri@jurta.org>
10428
10429 * desktop.el (desktop-auto-save-timeout): New option.
10430 (desktop-file-checksum): New variable.
10431 (desktop-save): Add optional arg `auto-save' and don't auto-save
10432 if nothing changed.
10433 (desktop-auto-save-timer): New variable.
10434 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10435 (after-init-hook): Call `desktop-auto-save-set-timer'.
10436 Suggested by Reuben Thomas <rrt@sc3d.org> in
10437 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10438
b7260dd4
LL
104392013-04-27 Leo Liu <sdl.web@gmail.com>
10440
10441 * progmodes/octave.el (octave-function-file-p)
10442 (octave-skip-comment-forward, octave-function-file-comment)
10443 (octave-update-function-file-comment): New functions.
10444 (octave-mode-map): Bind C-c ; to
10445 octave-update-function-file-comment.
10446 (octave-mode-menu): Add octave-update-function-file-comment.
10447 (octave-mode, inferior-octave-mode): Fix doc-string.
10448 (octave-insert-defun): Conform to Octave's coding convention.
10449 (Bug#14285)
10450
10451 * files.el (basic-save-buffer): Don't let errors in
10452 before-save-hook prevent saving buffer.
10453
c46da669
RW
104542013-04-20 Roland Winkler <winkler@gnu.org>
10455
10456 * faces.el (read-face-name): Use completing-read if arg multiple
10457 is nil.
10458
a81ee1eb
IL
104592013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10460
10461 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10462 displayed, move point to after the totals line.
10463 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10464 for the details.
10465
4fac34ce
SM
104662013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10469 Add current dir to the load-path.
10470 (package-generate-autoloads): Don't rely on
10471 autoload-ensure-default-file.
10472
f6bfc063
RT
104732013-04-26 Reuben Thomas <rrt@sc3d.org>
10474
d40ab5cf
BG
10475 * textmodes/remember.el (remember-store-in-files): Document that
10476 the file name format is passed to `format-time-string'.
f6bfc063 10477
e55d3b04
LL
104782013-04-26 Leo Liu <sdl.web@gmail.com>
10479
10480 * progmodes/octave.el (octave-sync-function-file-names): New function.
10481 (octave-mode): Use it in before-save-hook.
10482
e53052d3
SM
104832013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10484
140ef50c
SM
10485 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10486 (bug#14274).
10487
e53052d3
SM
10488 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10489 \n and comment, even if it's not an implicit ; (bug#14218).
10490
af80458d 104912013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10492
10493 * subr.el (read-number): Once more use `read' rather than
10494 `string-to-number', to trap non-numeric input. (Bug#14254)
10495
af80458d 104962013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10497
10498 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10499 Use `syntax-multiline' text property consistently instead of
8a621d53 10500 `font-lock-multiline'. (Bug#14237)
70203c2e 10501
e6ea1f6c
GM
105022013-04-26 Glenn Morris <rgm@gnu.org>
10503
10504 * emacs-lisp/shadow.el (list-load-path-shadows):
10505 No longer necessary to check for duplicate simple.el, since
10506 2012-07-07 change to init_lread to not include installation lisp
10507 directories in load-path when running uninstalled. (Bug#14270)
10508
070ccca4
LL
105092013-04-26 Leo Liu <sdl.web@gmail.com>
10510
10511 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10512 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10513 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10514 octave-in-string-or-comment-p.
10515 (octave-in-comment-p, octave-in-string-p)
10516 (octave-in-string-or-comment-p): Replace defsubst with defun.
10517
9d1c5fb6
PE
105182013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10519
10520 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10521
c034abda
BG
105222013-04-25 Bastien Guerry <bzg@gnu.org>
10523
10524 * textmodes/remember.el (remember-data-directory)
10525 (remember-directory-file-name-format): Fix custom types.
10526
584ea277
LL
105272013-04-25 Leo Liu <sdl.web@gmail.com>
10528
e53052d3
SM
10529 * progmodes/octave.el (octave-completion-at-point-function):
10530 Make use of inferior octave process.
584ea277
LL
10531 (octave-initialize-completions): Remove.
10532 (inferior-octave-completion-table): New function.
10533 (inferior-octave-completion-at-point): Use it.
10534 (octave-completion-alist): Remove.
10535
1693b06a
SM
105362013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10537
10538 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10539 (opascal-mode-syntax-table): New var.
10540 (opascal-literal-kind, opascal-is-literal-end)
10541 (opascal-literal-token-at): Rewrite.
10542 (opascal--literal-start-re, opascal-font-lock-keywords)
10543 (opascal--syntax-propertize): New constants.
10544 (opascal-font-lock-defaults): Adjust.
10545 (opascal-mode): Use them. Set comment-<foo> variables as well.
10546 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10547 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10548 (delphi-other-face, opascal-other-face): Remove face variables.
10549 (opascal-save-state): Remove macro.
10550 (opascal-fontifying-progress-step): Remove constant.
10551 (opascal--ignore-changes): Remove var.
10552 (opascal-set-token-property, opascal-parse-next-literal)
10553 (opascal-is-stable-literal, opascal-complete-literal)
10554 (opascal-is-literal-start, opascal-face-of)
10555 (opascal-parse-region, opascal-parse-region-until-stable)
10556 (opascal-fontify-region, opascal-after-change)
10557 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10558 (opascal-debug-parse-region, opascal-debug-parse-window)
10559 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10560 (opascal-debug-fontify-buffer): Remove.
10561 (opascal-debug-mode-map): Adjust accordingly.
10562
be64c05d
LL
105632013-04-25 Leo Liu <sdl.web@gmail.com>
10564
10565 Merge octave-mod.el and octave-inf.el into octave.el with some
10566 cleanups.
10567 * progmodes/octave.el: New file renamed from octave-mod.el.
10568 * progmodes/octave-inf.el: Merged into octave.el.
10569 * progmodes/octave-mod.el: Renamed to octave.el.
10570
d79d37bd
TH
105712013-04-25 Tassilo Horn <tsdh@gnu.org>
10572
10573 * textmodes/reftex-vars.el
10574 (reftex-label-ignored-macros-and-environments): New defcustom.
10575
10576 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10577
ced3fc5d
SM
105782013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10581 (smie-indent-keyword): Improve the check to ensure that the next
10582 comment is really on the same line.
10583 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10584
10585 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10586 semi-colons if the line is not otherwise empty (bug#14218).
10587
1c141dad
GM
105882013-04-25 Glenn Morris <rgm@gnu.org>
10589
10590 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10591
5058062a
SM
105922013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * progmodes/opascal.el (opascal-set-token-property): Rename from
10595 opascal-set-text-properties and only set `token' (bug#14134).
10596 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10597 (opascal-literal-text-properties): Remove.
10598 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10599 Adjust callers.
10600
5db9dace 106012013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10602
10603 * textmodes/remember.el (remember-handler-functions): Add an
10604 option for a new handler `remember-store-in-files'.
10605 (remember-data-directory, remember-directory-file-name-format):
10606 New options.
10607 (remember-store-in-files): New function to store remember notes
10608 as separate files within a directory.
10609
4391916c
MH
106102013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10611
10612 * progmodes/compile.el (compilation-next-error-function):
10613 Pass "formats" to compilation-find-file (bug#11777).
10614
bb7cdf58
GM
106152013-04-24 Glenn Morris <rgm@gnu.org>
10616
3b8fe752 10617 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10618 * vc/vc-hg.el (vc-hg-print-log):
10619 * vc/vc-svn.el (vc-svn-print-log):
10620 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10621
bb7cdf58
GM
10622 * vc/vc-bzr.el (vc-bzr-print-log):
10623 * vc/vc-cvs.el (vc-cvs-print-log):
10624 * vc/vc-git.el (vc-git-print-log):
10625 * vc/vc-hg.el (vc-hg-print-log):
10626 * vc/vc-mtn.el (vc-mtn-print-log):
10627 * vc/vc-rcs.el (vc-rcs-print-log):
10628 * vc/vc-sccs.el (vc-sccs-print-log):
10629 * vc/vc-svn.el (vc-svn-print-log):
10630 * vc/vc.el (vc-print-log-internal): Doc fixes.
10631
b46a056e
GM
106322013-04-23 Glenn Morris <rgm@gnu.org>
10633
10634 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10635 Remove venerable code attempting to avoid substitute-command-keys.
10636
0aecf718
TH
106372013-04-23 Tassilo Horn <tsdh@gnu.org>
10638
4391916c
MH
10639 * textmodes/reftex-vars.el (reftex-label-regexps):
10640 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10641
117f94cf
SM
106422013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10643
4391916c 10644 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10645 Use lexical-binding.
10646 (jit-lock-force-redisplay): Use markers, check buffer's continued
10647 existence and beware narrowed buffers.
10648 (jit-lock-fontify-now): Adjust call accordingly.
10649
1d829c64
SM
106502013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10651
10652 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10653 to avoid misleading the user.
10654
72d548a9
LL
106552013-04-22 Leo Liu <sdl.web@gmail.com>
10656
10657 * info-look.el: Prefer latex2e.info. (Bug#14240)
10658
d0853629
MA
106592013-04-22 Michael Albinus <michael.albinus@gmx.de>
10660
10661 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10662
10663 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10664 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10665 (tramp-set-completion-function, tramp-parse-putty):
10666 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10667 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10668 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10669 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10670 (tramp-call-local-coding-command): Use `tramp-call-process'
10671 instead of `tramp-compat-call-process'.
10672
10673 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10674 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10675 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10676 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10677 (tramp-maybe-send-script): Check for Perl binary.
10678 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10679
38cc0210
DU
106802013-04-22 Daiki Ueno <ueno@gnu.org>
10681
10682 * epg.el (epg-context-pinentry-mode): New function.
10683 (epg-context-set-pinentry-mode): New function.
10684 (epg--start): Pass --pinentry-mode option to gpg command.
10685
cc641ee1
XF
106862013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10687
02d844b5 10688 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10689 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10690 `completion-at-point'. (Bug#13774)
5d4e5c31 10691
cc641ee1
XF
10692 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10693 default key binding for `describe-distribution' has been moved to
10694 `C-h C-o'. (Bug#13970)
10695
1b42ee43
GM
106962013-04-21 Glenn Morris <rgm@gnu.org>
10697
10698 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10699 Add doc strings.
10700 (vc-print-log): Clarify interactive prompt.
10701
a6d63d97
GM
107022013-04-20 Glenn Morris <rgm@gnu.org>
10703
10704 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10705 No longer include timestamp etc information.
10706
d7f5c16f
RW
107072013-04-20 Roland Winkler <winkler@gnu.org>
10708
10709 * faces.el (read-face-name): Bug fix, return just one face if arg
10710 multiple is nil. (Bug#14209)
10711
bcd7a0a4
SM
107122013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10713
10714 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10715 (remove-function): Autoload.
10716
10717 * comint.el (comint-redirect-original-filter-function): Remove.
10718 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10719 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10720 (vc-cvs-annotate-command):
bcd7a0a4
SM
10721 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10722 * progmodes/prolog.el (prolog-consult-compile):
10723 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10724 Use add/remove-function instead.
10725 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10726 (gud-tooltip-process-output, gud-tooltip-tips):
10727 Use add/remove-function instead.
10728 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10729 (scheme-interaction-mode, exit-scheme-interaction-mode):
10730 Use add/remove-function instead.
10731
10732 * vc/vc-dispatcher.el: Use lexical-binding.
10733 (vc--process-sentinel): Rename from vc-process-sentinel.
10734 Change last arg to be the code to run. Don't use vc-previous-sentinel
10735 and vc-sentinel-commands any more.
10736 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10737 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10738
e36b2d20 107392013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10740
bcd7a0a4 10741 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10742 Handle function names with a single character. (Bug#14111)
4d3268ba 10743
781b4af6 107442013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10745
10746 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10747 for subroutines defined in an eval (bug#14182).
10748
7d688336
TV
107492013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10750
10751 * bookmark.el (bookmark-completing-read): Improve handling of empty
10752 string (bug#14176).
10753
31dcede0
SM
107542013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10757
adc31213
FEG
107582013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10759
10760 New faster Imenu implementation (bug#14058).
10761 * progmodes/python.el:
10762 (python-imenu-prev-index-position):
10763 (python-imenu-format-item-label-function)
10764 (python-imenu-format-parent-item-label-function)
10765 (python-imenu-format-parent-item-jump-label-function):
10766 New vars.
10767 (python-imenu-format-item-label)
10768 (python-imenu-format-parent-item-label)
10769 (python-imenu-format-parent-item-jump-label)
10770 (python-imenu--put-parent, python-imenu--build-tree)
10771 (python-imenu-create-index, python-imenu-create-flat-index)
10772 (python-util-popn): New functions.
10773 (python-mode): Set imenu-create-index-function to
10774 python-imenu-create-index.
10775
cdca8255
SM
107762013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10777
10778 * winner.el (winner-active-region): Use region-active-p, activate-mark
10779 and deactivate-mark (bug#14225).
10780
10781 * simple.el (deactivate-mark): Don't inline it.
10782
beb42340
MA
107832013-04-18 Michael Albinus <michael.albinus@gmx.de>
10784
10785 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10786
fc7f4d7e
TH
107872013-04-18 Tassilo Horn <tsdh@gnu.org>
10788
10789 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10790 file extensions from the archive-mode entry in order to prefer
10791 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10792
29f47822
LL
107932013-04-18 Leo Liu <sdl.web@gmail.com>
10794
10795 * bindings.el (help-event-list): Add ?\?.
10796
d36ed1c8
SM
107972013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10798
10799 * subr.el (with-wrapper-hook): Declare obsolete.
10800 * simple.el (filter-buffer-substring-function): New hook.
10801 (filter-buffer-substring): Use it.
10802 (filter-buffer-substring-functions): Mark obsolete.
10803 * minibuffer.el (completion-in-region-function): New hook.
10804 (completion-in-region): Use it.
10805 (completion-in-region-functions): Mark obsolete.
10806 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10807 * abbrev.el (abbrev-expand-function): New hook.
10808 (expand-abbrev): Use it.
10809 (abbrev-expand-functions): Mark obsolete.
10810 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10811 and :filter-return.
10812
04754d36
FEG
108132013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10814
10815 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10816 and do not care about match data.
10817
dd8791e9
SM
108182013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10819
10820 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10821 completion tables when completing error conditions and
10822 `declare' arguments.
10823 (lisp-complete-symbol, field-complete): Mark as obsolete.
10824 (check-parens): Unmatched parens are user errors.
10825 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10826
ffe54a13
AM
108272013-04-17 Michal Nazarewicz <mina86@mina86.com>
10828
dd8791e9
SM
10829 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10830 command changed buffer (ie. `flyspell-pre-buffer' is not current
10831 buffer), which prevents making decisions based on invalid value of
10832 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10833 cause an error when `flyspell-pre-point' was nil after switching
10834 buffers.
10835 (flyspell-post-command-hook): No longer needs to change buffers when
10836 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10837
ec7e39f2
AM
108382013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10839
10840 * textmodes/ispell.el (ispell-add-per-file-word-list):
10841 Fix `flyspell-correct-word-before-point' error when accepting
10842 words and `coment-padding' is an integer by using
10843 `comment-normalize-vars' (Bug #14214).
10844
083850a6
FEG
108452013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10846
10847 New defun movement commands.
10848 * progmodes/python.el (python-nav--syntactically)
10849 (python-nav--forward-defun, python-nav-backward-defun)
10850 (python-nav-forward-defun): New functions.
10851
619ed6e1
FEG
108522013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10853
10854 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10855 (python-syntax-context): Use named compiler-macro for backwards
10856 compatibility with Emacs 24.x.
10857
7a1beb6c
LL
108582013-04-17 Leo Liu <sdl.web@gmail.com>
10859
10860 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10861 octave-hide-process-buffer.
10862
2d3fa3e5
SM
108632013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10866 (bug#14216).
10867
7ce5be54
JPG
108682013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10869
10870 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10871 Fix adjustment of offset when receiving incomplete responses from GDB
10872 (bug#14129).
10873
351edece
SM
108742013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10875
10876 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10877 python-mode-abbrev-table.
10878 (python-skeleton-define): Adjust accordingly.
10879 (python-mode-abbrev-table): New table that inherits from it so that
10880 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10881
10882 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10883 (abbrev-symbol): Use it.
10884 (abbrev--before-point): Use it since we already handle inheritance.
10885
613f9481
LL
108862013-04-16 Leo Liu <sdl.web@gmail.com>
10887
10888 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10889 binding to info-lookup-symbol.
10890
51646b62
JB
108912013-04-16 Juanma Barranquero <lekktu@gmail.com>
10892
10893 * minibuffer.el (completion--twq-all):
10894 * term/ns-win.el (ns-initialize-window-system):
10895 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10896
efb3f01d
SM
108972013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10898
36c0a301
SM
10899 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10900 global bindings.
10901
efb3f01d
SM
10902 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10903
fb549d64
DG
109042013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10905
10906 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10907 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10908 to nil.
10909 (ruby-end-of-defun): Remove the unused arg, change the docstring
10910 to reflect that this function is only used as the value of
10911 `end-of-defun-function'.
10912 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10913 to reflect an earlier change that beginning/end-of-defun functions
10914 jump between methods in a class definition, as well as top-level
10915 functions.
10916
21e8fe2f
SM
109172013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10918
10919 * minibuffer.el (minibuffer-complete): Don't just scroll
10920 a *Completions* that's been iconified.
10921 (minibuffer-force-complete): Make sure repetitions do cycle when going
10922 through completion-in-region -> minibuffer-complete.
10923
20e527d0
AM
109242013-04-15 Alan Mackenzie <acm@muc.de>
10925
10926 Correct the placement of c-cpp-delimiters when there're #s not at
10927 col 0.
10928
10929 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10930 place a submatch around the #.
21e8fe2f
SM
10931 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10932 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10933 on the #, not BOL.
10934
dabefae5
SM
109352013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10938 (advice--member-p): New arg `name'.
10939 (advice--add-function, advice-member-p): Use it (bug#14202).
10940
85c9ab64
AM
109412013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10942
10943 Reformulate java imenu-generic-expression.
10944 The old expression contained ill formed regexps.
10945
10946 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10947 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10948 (cc-imenu-java-method-arg-regexp): New defconsts.
10949 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10950 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10951 handling of spaces in the regexp.
10952
0f821d99
AM
109532013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10954
10955 * textmodes/ispell.el (ispell-command-loop): Remove
10956 flyspell highlight of a word when ispell accepts it (bug #14178).
10957
eb922adf
MA
109582013-04-15 Michael Albinus <michael.albinus@gmx.de>
10959
10960 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10961 uses code from the previous `ange-ftp-run-real-handler'.
10962 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10963 only in case that function exist. This is needed for proper
10964 unloading of Tramp.
10965
4d9a0979
TH
109662013-04-15 Tassilo Horn <tsdh@gnu.org>
10967
10968 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10969
10970 * textmodes/reftex.el (reftex-compile-variables): Use it.
10971
a829b0dc
SM
109722013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10973
91e8293c
SM
10974 * files.el (normal-mode): Only use default major-mode if no other mode
10975 was specified.
10976
830aed4d
SM
10977 * emacs-lisp/trace.el (trace-values): New function.
10978
a829b0dc
SM
10979 * files.el: Allow : in local variables (bug#14089).
10980 (hack-local-variable-regexp): New var.
10981 (hack-local-variables-prop-line, hack-local-variables): Use it.
10982
7ae9f0fb
RW
109832013-04-13 Roland Winkler <winkler@gnu.org>
10984
10985 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10986 data before it gets modified by bibtex-beginning-of-entry.
10987
6646e848
RW
109882013-04-13 Roland Winkler <winkler@gnu.org>
10989
10990 * textmodes/bibtex.el (bibtex-url): Doc fix.
10991
109922013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10993
10994 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10995 does not visit a BibTeX file, exclude it from the list of buffers
10996 returned by bibtex-initialize.
10997
0aa3616e
SB
109982013-04-13 Stephen Berman <stephen.berman@gmx.net>
10999
11000 * window.el (split-window): Remove interactive form, since as a
11001 command this function is a special case of split-window-below.
11002 Correct doc string.
11003
011cddd6
RW
110042013-04-12 Roland Winkler <winkler@gnu.org>
11005
11006 * faces.el (read-face-name): Do not override value of arg default.
11007 Allow single faces and strings as default values. Remove those
11008 elements from return value that are not faces.
11009 (describe-face): Simplify.
11010 (face-at-point): New optional args thing and multiple so that this
11011 function can provide the same functionality previously provided by
11012 read-face-name.
11013 (make-face-bold, make-face-unbold, make-face-italic)
11014 (make-face-unitalic, make-face-bold-italic, invert-face)
11015 (modify-face, read-face-and-attribute): Use face-at-point.
11016
11017 * cus-edit.el (customize-face, customize-face-other-window)
11018 * cus-theme.el (custom-theme-add-face)
11019 * face-remap.el (buffer-face-set)
11020 * facemenu.el (facemenu-set-face): Use face-at-point.
11021
f24e0036
MA
110222013-04-12 Michael Albinus <michael.albinus@gmx.de>
11023
11024 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11025
da3cda2d
TH
110262013-04-10 Tassilo Horn <tsdh@gnu.org>
11027
11028 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11029 off leading { and trailing } from field values.
11030
15e54145
SM
110312013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11032
78ce603d
SM
11033 * emacs-lisp/timer.el (timer--check): New function.
11034 (timer--time, timer-set-function, timer-event-handler): Use it.
11035 (timer-set-idle-time): Simplify.
11036 (timer--activate): CSE.
11037 (timer-event-handler): Give more info in error message.
11038 (internal-timer-start-idle): New function, moved from C.
11039
15e54145
SM
11040 * mpc.el (mpc-proc): Add `restart' argument.
11041 (mpc-proc-cmd): Use it.
11042 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11043 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11044 less often.
11045
7144c627
MY
110462013-04-10 Masatake YAMATO <yamato@redhat.com>
11047
11048 * progmodes/sh-script.el: Implement `sh-mode' own
11049 `add-log-current-defun-function' (bug#14112).
11050 (sh-current-defun-name): New function.
11051 (sh-mode): Use the function.
11052
b39792eb
BG
110532013-04-09 Bastien Guerry <bzg@gnu.org>
11054
11055 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11056
8acdeb71
SM
110572013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11058
6fcdab68
SM
11059 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11060
8acdeb71
SM
11061 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11062 timer (bug#14156).
11063
e3e7b504
NF
110642013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11065
11066 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11067 declaration.
11068
201bb296
LL
110692013-04-07 Leo Liu <sdl.web@gmail.com>
11070
11071 * pcmpl-x.el: New file.
11072
ebb19708
DA
110732013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11074
11075 Do not set x-display-name until X connection is established.
11076 This is needed to prevent from weird situation described at
11077 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11078 * frame.el (make-frame): Set x-display-name after call to
11079 window system initialization function, not before.
11080 * term/x-win.el (x-initialize-window-system): Add optional
11081 display argument and use it.
11082 * term/w32-win.el (w32-initialize-window-system):
11083 * term/ns-win.el (ns-initialize-window-system):
11084 * term/pc-win.el (msdos-initialize-window-system):
11085 Add compatible optional display argument.
11086
33bb237a
EZ
110872013-04-06 Eli Zaretskii <eliz@gnu.org>
11088
11089 * files.el (normal-backup-enable-predicate): On MS-Windows and
11090 MS-DOS compare truenames of temporary-file-directory and of the
11091 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11092 don't fail comparison by compare-strings. Also, compare file
11093 names case-insensitively on MS-Windows and MS-DOS.
11094
134abf1f
SM
110952013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11098 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11099
d695cb94
DG
111002013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11101
e3e7b504
NF
11102 * whitespace.el (whitespace-color-on, whitespace-color-off):
11103 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11104
f4ad7ea1 111052013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11106
11107 * ispell.el (ispell-set-spellchecker-params):
11108 Really set `ispell-args' for all equivs.
11109
632556e4
SM
111102013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11111
11112 * ido.el (ido-completions): Use extra elements of ido-decorations
11113 (bug#14143).
11114 (ido-decorations): Update docstring.
11115
2a417372
MA
111162013-04-05 Michael Albinus <michael.albinus@gmx.de>
11117
11118 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11119 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11120 nil during initialization, in order not to miss changes since the
11121 file was opened. (Bug#14140)
11122
fc164b0c
LL
111232013-04-05 Leo Liu <sdl.web@gmail.com>
11124
11125 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11126
0ccecc08
JB
111272013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11128
11129 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11130
51af1aa2
GM
111312013-04-04 Glenn Morris <rgm@gnu.org>
11132
11133 * electric.el (electric-pair-inhibit-predicate): Add :version.
11134
b208ebc6
SM
111352013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11136
11137 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11138 when a package is required several times (bug#14082).
11139
f3d3eaf0
RW
111402013-04-04 Roland Winkler <winkler@gnu.org>
11141
11142 * faces.el (read-face-name): Behave as promised by the docstring.
11143 Assume that arg default is a list of faces.
11144 (describe-face): Call read-face-name with list of default faces.
11145
2575da50
TV
111462013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11147
11148 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11149 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11150 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11151 the header.
11152 (bookmark-exit-hook-internal): Save even if list is empty.
11153
397703b4
YH
111542013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11155
11156 * emacs-lisp/package.el (package-pinned-packages): New var.
11157 (package--add-to-archive-contents): Obey it (bug#14118).
11158
691e26ae
AM
111592013-04-03 Alan Mackenzie <acm@muc.de>
11160
8a621d53
JB
11161 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11162 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11163
11164 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11165 parameter `not-in-delimiter'. Handle being inside comment opener.
11166 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11167 character in case we're typing a '*' after a '/'.
11168 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11169 instead by passing the parameter to c-state-pp-to-literal.
11170
11171 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11172 for elt. 7 of a parse state.
11173
4b725a70
PE
111742013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11175
11176 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11177 * international/latin1-disp.el, international/mule-util.el:
11178 * language/cyril-util.el, language/european.el, language/ind-util.el:
11179 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11180 * language/tibetan.el, language/viet-util.el:
11181 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11182
15c579f0
SM
111832013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11184
11185 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11186 (electric-pair-post-self-insert-function): Use it.
11187 (electric-pair-default-inhibit): New function, extracted from
11188 electric-pair-post-self-insert-function.
11189
a77e2924
RW
111902013-03-31 Roland Winkler <winkler@gnu.org>
11191
11192 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11193
2bd8a4a8
SM
111942013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11195
11196 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11197
8d3655be 111982013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11199
11200 Un-indent after "pass" and "return" statements (Bug#13888)
11201 * progmodes/python.el (python-indent-block-enders): New var.
11202 (python-indent-calculate-indentation): Use it.
11203
8d3655be 112042013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11205
11206 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11207 defun. Defining it as defalias could introduce too eager
11208 byte-compiler optimization. (Bug#14030)
11209
8d3655be 112102013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11211
11212 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11213
0b1619da
LL
112142013-03-30 Leo Liu <sdl.web@gmail.com>
11215
11216 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11217 (kmacro-execute-from-register): Pass the keyboard macro to
11218 kmacro-call-macro or repeating won't work correctly.
11219
0b938190
TZ
112202013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11221
11222 * progmodes/subword.el: Back to using `forward-symbol'.
11223
11224 * subr.el (forward-whitespace, forward-symbol)
11225 (forward-same-syntax): Move from thingatpt.el.
11226
35710234
LL
112272013-03-29 Leo Liu <sdl.web@gmail.com>
11228
11229 * kmacro.el (kmacro-to-register): New command.
11230 (kmacro-execute-from-register): New function.
11231 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11232
efc0bb73
SM
112332013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11234
11235 * mpc.el: Use defvar-local and setq-local.
11236 (mpc--proc-connect): Connection failures are not bugs.
11237 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11238 (mpc-volume-map): Bind to the up-events.
11239
75a2f981
TZ
112402013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11241
11242 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11243 instead of `forward-symbol'.
11244
17c781d1
SM
112452013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11246
11247 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11248 (edebug--recursive-edit): Use it.
11249 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11250 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11251
f67bfbcf
LL
112522013-03-28 Leo Liu <sdl.web@gmail.com>
11253
11254 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11255
b59f639d
EZ
112562013-03-27 Eli Zaretskii <eliz@gnu.org>
11257
11258 * facemenu.el (list-colors-callback): New defvar.
11259 (list-colors-redisplay): New function.
11260 (list-colors-display): Install list-colors-redisplay as the
11261 revert-buffer-function. (Bug#14063)
11262
f557c1b1
SM
112632013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11264
b1da2957
SM
11265 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11266 and suffixes don't overlap (bug#14061).
11267
f557c1b1
SM
11268 * case-table.el: Use lexical-binding.
11269 (case-table-get-table): New function.
11270 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11271
002668e1
TZ
112722013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11273
11274 * progmodes/subword.el: Add `superword-mode' to do word motion
11275 over symbol_words (parallels and leverages `subword-mode' which
11276 does word motion inside MixedCaseWords).
11277
73572c72
AG
112782013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11279
78b8f320 11280 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11281 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11282
69b2c07e
SM
112832013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11284
11285 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11286 Change return value to be a sexp. Delay `get-buffer' to after
11287 restoring the desktop (bug#13951).
11288
08bb5ee2
LL
112892013-03-26 Leo Liu <sdl.web@gmail.com>
11290
11291 * register.el: Move semantic tag handling back to
11292 cedet/semantic/senator.el. (Bug#14052)
11293
8d4c974e
SM
112942013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11295
11296 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11297 into the prompt either (bug#13963).
11298
b234d92c
SM
112992013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11302 part of "(error-foo)".
11303
ddfa3cb4
JL
113042013-03-24 Juri Linkov <juri@jurta.org>
11305
11306 * replace.el (list-matching-lines-prefix-face): New defcustom.
11307 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11308 `occur-engine' if `face-differs-from-default-p' returns t.
11309 (occur-engine): Add `,' inside backquote construct to evaluate
11310 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11311 Pass `prefix-face' to the functions `occur-context-lines' and
11312 `occur-engine-add-prefix'.
11313 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11314 `prefix-face' and propertize the prefix with `prefix-face'.
11315 (Bug#14017)
11316
7b0e2f85
LL
113172013-03-24 Leo Liu <sdl.web@gmail.com>
11318
11319 * nxml/rng-valid.el (rng-validate-while-idle)
11320 (rng-validate-quick-while-idle): Guard against deleted buffer.
11321 (Bug#13999)
11322
11323 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11324 is the last entry in kill-buffer-hook.
11325
11326 * files.el (kill-buffer-hook): Doc fix.
11327
b3082f49
DG
113282013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11329
b234d92c
SM
11330 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11331 Make it safe-local.
bde73d27 11332
b3082f49
DG
11333 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11334
a320a2db
LL
113352013-03-23 Leo Liu <sdl.web@gmail.com>
11336
7e74b0fb
LL
11337 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11338 Remove.
11339
11340 * nxml/rng-valid.el (rng-validate-mode)
11341 (rng-after-change-function, rng-do-some-validation):
11342 * nxml/rng-maint.el (rng-validate-buffer):
11343 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11344 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11345 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11346 (nxml-extend-after-change-region): Use with-silent-modifications.
11347
a320a2db
LL
11348 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11349 timer-idle-list.
11350
11351 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11352 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11353 timer-idle-list. (Bug#13999)
11354
e38e6780
JL
113552013-03-23 Juri Linkov <juri@jurta.org>
11356
11357 * info.el (info-index-match): New face.
11358 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11359 main pattern and add text properties with the new face to matches
11360 in index entries relative to the beginning of the index entry.
11361 (Bug#14015)
11362
e8cc7880
DE
113632013-03-21 Eric Ludlam <zappo@gnu.org>
11364
11365 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11366 Inhibit read only while inserting objects.
11367
9bb0d822
TZ
113682013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11369
11370 * progmodes/cfengine.el: Update docs to mention
11371 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11372 symbol motion. Remove "_" from the word syntax.
11373
aa703640
TZ
113742013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11375
11376 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11377 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11378
afff09d0
JL
113792013-03-20 Juri Linkov <juri@jurta.org>
11380
11381 * info.el (Info-next-reference-or-link)
11382 (Info-prev-reference-or-link): New functions.
11383 (Info-next-reference, Info-prev-reference): Use them.
11384 (Info-try-follow-nearest-node): Handle footnote navigation.
11385 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11386
9a1ff164
SM
113872013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11388
11389 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11390 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11391
2667d15d
PE
113922013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11393
11394 Suppress unnecessary non-ASCII chatter during build process.
11395 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11396 (batch-skkdic-convert): Suppress most of the chatter.
11397 It's not needed so much now that machines are faster,
11398 and its non-ASCII component was confusing; see Dmitry Gutov in
11399 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11400
438b0579
LL
114012013-03-20 Leo Liu <sdl.web@gmail.com>
11402
11403 * ido.el (ido-chop): Fix bug#10994.
11404
c128ab07
DG
114052013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11406
11407 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11408 Remove vars.
9a1ff164
SM
11409 (whitespace-color-on, whitespace-color-off):
11410 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11411
0e6008c5
SM
114122013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11413
11414 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11415 remapping in mode-line.
11416 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11417
627b52b0
DG
114182013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11419
11420 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11421 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11422 (whitespace-font-lock-keywords): Change description.
11423 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11424 the constructed keywords instead.
11425 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11426
50c3a20b
LL
114272013-03-19 Leo Liu <sdl.web@gmail.com>
11428
11429 * progmodes/compile.el (compilation-display-error): New command.
11430 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11431 C-o. (Bug#13992)
11432
2aa2157b
PE
114332013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11434
11435 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11436
e477dbfa
JD
114372013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11438
11439 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11440
64ab82d1
MA
114412013-03-18 Michael Albinus <michael.albinus@gmx.de>
11442
11443 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11444
11445 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11446 * net/tramp-gvfs.el (top):
11447 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11448 (tramp-handle-shell-command): Use it.
11449 (tramp-dissect-file-name): Raise an error when hostname is a
11450 method name, and neither method nor user is specified.
11451
11452 * net/trampver.el: Update release number.
11453
33cef733
LL
114542013-03-18 Leo Liu <sdl.web@gmail.com>
11455
11456 Make sure eldoc can be turned off properly.
11457 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11458 eldoc-mode.
11459 (eldoc-display-message-p): Revert last change.
11460 (eldoc-display-message-no-interference-p)
11461 (eldoc-print-current-symbol-info): Tweak.
11462
2167b7b2
TH
114632013-03-18 Tassilo Horn <tsdh@gnu.org>
11464
11465 * doc-view.el (doc-view-new-window-function): Check the new window
11466 overlay's display property instead the char property of the
11467 buffer's first char. Use `with-selected-window' instead of
11468 `save-window-excursion' with `select-window'.
11469 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11470 display property instead the char property of the buffer's first char.
2167b7b2 11471
982efbcd
PE
114722013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11473
11474 Automate the build of ja-dic.el (Bug#13984).
11475 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11476 from the input, rather than assume that it's been done for us by the
11477 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11478 the current date into a ja-dic.el comment, as that complicates
11479 regression testing.
11480
2fcc7665
SM
114812013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11482
11483 * whitespace.el: Fix double evaluation.
11484 (whitespace-space, whitespace-hspace, whitespace-tab)
11485 (whitespace-newline, whitespace-trailing, whitespace-line)
11486 (whitespace-space-before-tab, whitespace-indentation)
11487 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11488 obsolete defvars.
11489 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11490 (whitespace-color-on): Use a single font-lock-add-keywords call.
11491 Fix double-evaluation of face variables.
11492
67c0a6e6
MA
114932013-03-17 Michael Albinus <michael.albinus@gmx.de>
11494
2fcc7665
SM
11495 * net/tramp-adb.el (tramp-adb-parse-device-names):
11496 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11497 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11498
69489f1d
LL
114992013-03-17 Leo Liu <sdl.web@gmail.com>
11500
11501 Extend eldoc to display info in the mode-line. (Bug#13978)
11502 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11503 (eldoc-mode-line-string): New variable.
11504 (eldoc-minibuffer-message): New function.
11505 (eldoc-message-function): New variable.
11506 (eldoc-message): Use it.
11507 (eldoc-display-message-p)
2fcc7665
SM
11508 (eldoc-display-message-no-interference-p):
11509 Support eldoc-post-insert-mode.
69489f1d
LL
11510
11511 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11512 (eval-expression): Run it.
11513
9c44569e
RW
115142013-03-17 Roland Winkler <winkler@gnu.org>
11515
11516 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11517 strings in the list of return values.
11518
327f1f6f
JB
115192013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11520
11521 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11522 radix before checking for HMS forms.
11523
67ed8fcd
LL
115242013-03-16 Leo Liu <sdl.web@gmail.com>
11525
11526 * progmodes/scheme.el: Add indentation and font-locking for λ.
11527 (Bug#13975)
11528
78be8b64 115292013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11530
11531 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11532 token before point (bug#13942).
11533
78be8b64 115342013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11535
95b43468 11536 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11537
98e775e6
EZ
115382013-03-16 Eli Zaretskii <eliz@gnu.org>
11539
11540 * startup.el (command-line-normalize-file-name): Fix handling of
11541 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11542 <xfq.free@gmail.com> in
11543 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11544
2edd6029
MA
115452013-03-15 Michael Albinus <michael.albinus@gmx.de>
11546
11547 Sync with Tramp 2.2.7.
11548
11549 * net/trampver.el: Update release number.
11550
d35f5864
TH
115512013-03-14 Tassilo Horn <tsdh@gnu.org>
11552
e903c210 11553 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11554 (doc-view-insert-image): Don't modify overlay associated to
11555 non-live windows, and implement horizontal centering of image in
11556 case it's smaller than the window.
11557 (doc-view-new-window-function): Force redisplay of new windows on
11558 doc-view buffers.
d35f5864 11559
1c4a85ed
KF
115602013-03-13 Karl Fogel <kfogel@red-bean.com>
11561
11562 * saveplace.el (save-place-alist-to-file): Don't sort
11563 `save-place-alist', just pretty-print it (bug#13882).
11564
85b66a21
MA
115652013-03-13 Michael Albinus <michael.albinus@gmx.de>
11566
a020afb9
JB
11567 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11568 Check whether `default-file-name-coding-system' is bound.
11569 It isn't in XEmacs.
85b66a21 11570
175600da
SM
115712013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11572
e7f7cb1a
SM
11573 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11574 backquotes for `obsolete' (bug#13929).
11575
175600da
SM
11576 * international/mule.el (find-auto-coding): Include file name in
11577 obsolescence warning (bug#13922).
11578
ca68a22e
TZ
115792013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11580
11581 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11582 for CFEngine 3-specific indentation.
11583 (cfengine3-indent-line): Use it. Fix up category regex.
11584 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11585
940e5099
SM
115862013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11587
11588 * type-break.el (type-break-file-name):
11589 * textmodes/remember.el (remember-data-file):
11590 * strokes.el (strokes-file):
11591 * shadowfile.el (shadow-initialize):
11592 * saveplace.el (save-place-file):
11593 * ps-bdf.el (bdf-cache-file):
11594 * progmodes/idlwave.el (idlwave-config-directory):
11595 * net/quickurl.el (quickurl-url-file):
11596 * international/kkc.el (kkc-init-file-name):
11597 * ido.el (ido-save-directory-list-file):
11598 * emulation/viper.el (viper-custom-file-name):
11599 * emulation/vip.el (vip-startup-file):
11600 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11601 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11602
cc725808
PE
116032013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11604
11605 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11606 * language/thai-word.el: Switch to UTF-8.
11607
a020afb9 11608See ChangeLog.16 for earlier changes.
e3d51b27
MR
11609
11610;; Local Variables:
11611;; coding: utf-8
e3d51b27
MR
11612;; End:
11613
ab422c4d 11614 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11615
11616 This file is part of GNU Emacs.
11617
11618 GNU Emacs is free software: you can redistribute it and/or modify
11619 it under the terms of the GNU General Public License as published by
11620 the Free Software Foundation, either version 3 of the License, or
11621 (at your option) any later version.
11622
11623 GNU Emacs is distributed in the hope that it will be useful,
11624 but WITHOUT ANY WARRANTY; without even the implied warranty of
11625 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11626 GNU General Public License for more details.
11627
11628 You should have received a copy of the GNU General Public License
11629 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.