Fix missing arg in pcase example.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
58f2b9a5
LI
12013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * net/eww.el (eww-bookmark-quit): Remove.
4 (eww-bookmark-browse): Restore the window configuration when you
5 choose a bookmark (bug#16144).
6
d64b6308
DC
72013-12-24 Daniel Colascione <dancol@dancol.org>
8
9 * icomplete.el: Remove redundant :group arguments to `defcustom'
10 throughout.
11 (icomplete-show-matches-on-no-input): New customizable variable.
12 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
13 we have something to show.
14 (icomplete-exhibit): Compute completions even if we have no user
15 input.
16
0da54898
DC
172013-12-23 Daniel Colascione <dancol@dancol.org>
18
19 * icomplete.el: Move `provide' to end of file.
20
b90aa4f4
TZ
212013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
22
23 * net/gnutls.el (gnutls-verify-error): Add version tag.
24
8cd22a08
CY
252013-12-23 Chong Yidong <cyd@gnu.org>
26
27 * subr.el (set-transient-map): Rename from
28 set-temporary-overlay-map. Doc fix.
29
30 * face-remap.el (text-scale-adjust):
31 * indent.el (indent-rigidly):
32 * kmacro.el (kmacro-call-macro):
33 * minibuffer.el (minibuffer-force-complete):
34 * repeat.el (repeat):
35 * simple.el (universal-argument--mode):
36 * calendar/todo-mode.el (todo-insert-item--next-param):
37 * progmodes/f90.el (f90-abbrev-start): Callers changed.
38
7510b021
CY
39 * indent.el (indent-rigidly): Use substitute-command-keys.
40
56890ecd
KN
412013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
42
43 * net/eww.el (eww-tag-select): Add text-property to jump to next
44 select field.
45 (eww) : Add non-supported ftp error.
46
1f87a56c
DG
472013-12-22 Dmitry Gutov <dgutov@yandex.ru>
48
49 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
50 comments. Handle electric indent after typing `?' and `!'.
51
dca38cf9
CY
522013-12-22 Chong Yidong <cyd@gnu.org>
53
54 * faces.el (face-spec-recalc): If the theme specs are not
55 applicable to a frame, fall back on the defface spec. This
56 prevents themes from obliterating faces on low-color terminals.
57
f2351498
DG
582013-12-22 Dmitry Gutov <dgutov@yandex.ru>
59
60 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
61 after `{'. We need it after block openers, and it doesn't seem
62 to hurt after hash openers.
63
6cddebc1
DG
642013-12-22 Dmitry Gutov <dgutov@yandex.ru>
65
66 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
67 extracted from `ruby-smie-rules'.
68 (ruby--electric-indent-chars): New variable.
69 (ruby--electric-indent-p): New function.
70 (ruby-mode): Use `electric-indent-functions' instead of
71 `electric-indent-chars'.
72
65a1da00
DG
732013-12-22 Dmitry Gutov <dgutov@yandex.ru>
74
75 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
76 docstring.
77 (ruby-smie-rules): Indent plus one level after `=>'.
78
b51ad4cf
RS
792013-12-21 Richard Stallman <rms@gnu.org>
80
81 * simple.el (newline): Doc fix.
82
d49fbfd6
TZ
832013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
84
85 * net/eww.el (eww-list-histories, eww-list-histories)
86 (eww-history-browse, eww-history-quit, eww-history-kill)
87 (eww-history-mode-map, eww-history-mode): New command and
88 functions to list browser histories.
5edcc2dc
KN
89 (eww-form-text): Support text form with disabled
90 and readonly attributes.
dde4de31 91 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 92
5e1901c1
RS
932013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
94
95 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
96 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
97 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
98 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
99 Use `user-error'.
100 (eww-bookmark-mode-map): Add menu.
101 (eww-render, eww-mode): Use `setq-local'.
102 (eww-tool-bar-map): New variable.
103 (eww-mode): Set `tool-bar-map'.
104 (eww-view-source): Check for `html-mode' with `fboundp'.
105
073d5cfd
LMI
1062013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
107
108 * net/shr.el (shr--extract-best-source): Don't bug out on audio
109 elements with text inside. Also remove debugging.
110
41cf3d11
JD
1112013-12-21 Jan Djärv <jan.h.d@swipnet.se>
112
113 * cus-start.el (all): Add ns-use-srgb-colorspace.
114
aac2b673
CY
1152013-12-21 Chong Yidong <cyd@gnu.org>
116
117 * custom.el (custom-theme-recalc-face): Do nothing if the face is
118 undefined. Thus, theme settings for undefined faces do not take
119 effect until the faces are defined with defface, the same as with
120 theme variables.
121
122 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
123 (face-spec-reset-face): Don't assign extra properties in temacs.
124 (face-spec-recalc): Apply X resources too.
125
bacb0e77
CY
1262013-12-21 Chong Yidong <cyd@gnu.org>
127
128 * faces.el (face-spec-set):
129 * cus-face.el (custom-theme-set-faces, custom-set-faces):
130 * custom.el (defface): Doc fixes (Bug#16203).
131
77221051
CY
132 * indent.el (indent-rigidly-map): Add docstring, and move commands
133 into named functions.
134 (indent-rigidly-left, indent-rigidly-right)
135 (indent-rigidly-left-to-tab-stop)
136 (indent-rigidly-right-to-tab-stop): New functions. Decide on
137 indentation direction based on bidi direction, and accumulate
138 sequential commands in a single undo boundary.
139 (indent-rigidly--pop-undo): New utility function.
140
e0eb0550
JB
1412013-12-20 Juanma Barranquero <lekktu@gmail.com>
142
143 * faces.el (read-face-name): Require crm.el when using crm-separator.
144
3282bd2e
DC
1452013-12-20 Daniel Colascione <dancol@dancol.org>
146
147 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
148 so that we don't reflow comments into the shebang line.
149
1d42e5b6
JL
1502013-12-20 Juri Linkov <juri@jurta.org>
151
152 * saveplace.el (save-place-to-alist): Add `dired-filename' as
153 a position when `dired-directory' is non-nil. Check integer
154 positions with `integerp'.
155 (toggle-save-place, save-places-to-alist): Add check for
156 `dired-directory'.
157 (save-place-find-file-hook): Check integer positions with
158 `integerp'.
159 (save-place-dired-hook): Use `dired-goto-file' when
160 `dired-filename' is found in the assoc list. Check integer
161 positions with `integerp'.
162 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
163
164 * dired.el (dired-initial-position-hook): Rename back from
165 `dired-initial-point-hook'.
166 (dired-initial-position): Rename `dired-initial-point-hook' to
167 `dired-initial-position-hook'.
168 (dired-file-name-at-point): Doc fix. (Bug#15329)
169
24da7273
JL
1702013-12-20 Juri Linkov <juri@jurta.org>
171
172 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
173 (read-regexp-suggestions): New function.
174 (read-regexp): Use `read-regexp-defaults-function' to get default values.
175 Use `read-regexp-suggestions'. Add non-empty default to history
176 for empty input.
177 (occur-read-regexp-defaults-function): Remove function.
178 (occur-read-primary-args): Use `regexp-history-last' instead of
179 `occur-read-regexp-defaults-function'.
180
181 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
182 (hi-lock-line-face-buffer, hi-lock-face-buffer)
183 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
184 `hi-lock-read-regexp-defaults-function'. Doc fix.
185 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
186 with `find-tag-default-as-symbol-regexp'. Doc fix.
187 (hi-lock-read-regexp-defaults): Remove function.
188 (hi-lock-regexp-okay): Add check for null.
189
190 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
191 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
192
193 * subr.el (find-tag-default-as-symbol-regexp): New function.
194 (find-tag-default-as-regexp): Move symbol regexp formatting to
195 `find-tag-default-as-symbol-regexp'.
196
137f57c8
S
1972013-12-20 E Sabof <esabof@gmail.com> (tiny change)
198
199 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
200 (Bug#14179)
201
f3a66082
SB
2022013-12-20 Stephen Berman <stephen.berman@gmx.net>
203
204 * calendar/todo-mode.el: New implementation of item insertion
205 commands and key bindings.
206 (todo-key-prompt): New face.
207 (todo-insert-item): New command.
208 (todo-insert-item--parameters): New defconst, replacing defvar
209 todo-insertion-commands-args-genlist.
210 (todo-insert-item--param-key-alist): New defconst, replacing
211 defvar todo-insertion-commands-arg-key-list.
212 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
213 (todo-insert-item--argsleft, todo-insert-item--apply-args)
214 (todo-insert-item--next-param): New functions.
215 (todo-insert-item--args, todo-insert-item--argleft)
216 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
217 New variables.
218 (todo-key-bindings-t): Change binding of "i" from
219 todo-insertion-map to todo-insert-item.
220 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
221 (todo-insertion-command-name, todo-insertion-commands-names)
222 (todo-define-insertion-command, todo-insertion-commands)
223 (todo-insertion-key-bindings, todo-insertion-map): Remove.
224
2f99433b
SB
2252013-12-20 Stephen Berman <stephen.berman@gmx.net>
226
227 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
228 (todo-toggle-item-highlighting): Use eval-and-compile instead of
229 eval-when-compile.
230 (todo-move-category): Allow choosing a non-existing todo file to
231 move the category to, and create that file.
232 (todo-default-priority): New user option.
233 (todo-set-item-priority): Use it.
234 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
235 (desktop-restore-file-buffer): Declare.
236 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
237 (todo-modes-set-2): Locally set desktop-save-buffer to
238 todo-desktop-save-buffer.
239 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
240 (auto-mode-alist): Add autoload cookie.
241
131e4695
BB
2422013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
243
244 * emacs-lisp/subr-x.el: Renamed from helpers.el.
245 helpers.el was a poor choice of name.
3cbfb935
BB
246 (string-remove-prefix): New function.
247 (string-remove-suffix): New function.
131e4695 248
c44de18d
MR
2492013-12-20 Martin Rudalics <rudalics@gmx.at>
250
251 Fix assignment for new window total sizes.
252 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
253 (window--pixel-to-total-1, window--pixel-to-total):
254 Fix calculation of new total sizes.
c44de18d 255
ca65efcc
VS
2562013-12-20 Vitalie Spinu <spinuvit@gmail.com>
257
258 * comint.el (comint-output-filter): Fix rear-nonsticky property
259 placement (Bug#16010).
260
a9574eb7
CY
2612013-12-20 Chong Yidong <cyd@gnu.org>
262
263 * faces.el (read-color): Minor fix for completion function.
264
b520f210
DG
2652013-12-20 Dmitry Gutov <dgutov@yandex.ru>
266
e0eb0550
JB
267 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
268 New option. (Bug#16182)
b520f210
DG
269 (ruby-smie--indent-to-stmt-p): Use it.
270 (ruby-smie-rules): Revert the logic in the handling of `when'.
271 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
272 (ruby-deep-arglist, ruby-deep-indent-paren)
273 (ruby-deep-indent-paren-style): Update docstrings to note that the
274 vars don't have any effect with SMIE.
275
26b75b45
JB
2762013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
277
278 * calc/calc.el (calc-enter, calc-pop): Use the variable
279 `calc-context-sensitive-enter'.
280
cf91cee7
LMI
2812013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
282
283 * net/shr.el (shr-insert): Protect against infloops in degenerate
284 tables.
285
51d971b4
RS
2862013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
287
288 * progmodes/octave.el (octave): Add link to manual and octave
289 homepage.
290 (octave-mode-menu): Link to octave-mode manual.
291
8c2e462a
LL
2922013-12-20 Leo Liu <sdl.web@gmail.com>
293
294 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
295 insertion using skeleton-end-newline. (Bug#16138)
296
501158bc
JL
2972013-12-20 Juri Linkov <juri@jurta.org>
298
299 * replace.el (occur-engine): Use `add-face-text-property'
300 to add the face property to matches and titles. (Bug#14645)
301
302 * hi-lock.el (hi-green): Use lighter color "light green" closer to
303 the palette of other hi-lock colors.
304 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
305
50ab1da6
JL
3062013-12-19 Juri Linkov <juri@jurta.org>
307
308 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
309 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
310 (minibuffer-history-symbol): Move variable declaration closer to
311 its usage.
312
313 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
314 (Bug#14785)
315
3d6e95e7
JL
3162013-12-19 Juri Linkov <juri@jurta.org>
317
318 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
319 New function.
320 (log-edit-hook): Add it to :options. (Bug#16170)
321
b41594fd
JL
3222013-12-19 Juri Linkov <juri@jurta.org>
323
324 * simple.el (eval-expression-print-format): Don't check for
325 command names and the last command. Always display additional
326 formats of the integer result in the echo area, and insert them
327 to the current buffer only with a zero prefix arg.
328 Display character when char-displayable-p is non-nil.
329 (eval-expression): With a zero prefix arg, set `print-length' and
330 `print-level' to nil, and insert the integer values from
331 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
332
333 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
334 `eval-last-sexp-arg-internal'. Doc fix.
335 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
336 `eval-last-sexp-print-value'. Doc fix.
337 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
338 Set `print-length' and `print-level' to nil when arg is zero.
339 (eval-last-sexp): Doc fix.
340 (eval-defun-2): Print the integer values from
341 `eval-expression-print-format' at the end.
342
343 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
344 values from `eval-expression-print-format' at the end.
345
346 * ielm.el (ielm-eval-input): Print the integer
347 values from `eval-expression-print-format' at the end.
348
8f2be364
TZ
3492013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
350
351 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
352 2013-12-11T19:01:44Z!tzz@lifelogs.com.
353
2230a6e3
SM
3542013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
357 (hl-line-highlight, global-hl-line-highlight): Use it.
358 (hl-line-overlay): Use defvar-local.
359
1269a680
JD
3602013-12-19 Jan Djärv <jan.h.d@swipnet.se>
361
362 * term/ns-win.el: Require dnd.
363 (global-map): Remove drag items.
364 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
365 (ns-set-background-at-mouse):
366 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
367 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
368 New functions.
1269a680 369
049638ad
GM
3702013-12-19 Glenn Morris <rgm@gnu.org>
371
372 * emacs-lisp/ert.el (ert-select-tests):
373 Fix string/symbol mixup. (Bug#16121)
374
ce41edb4
DG
3752013-12-19 Dmitry Gutov <dgutov@yandex.ru>
376
377 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
378 keywords to their parent.
379
7e1549c9
DG
3802013-12-19 Dmitry Gutov <dgutov@yandex.ru>
381
382 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
383 first arg to be a string (fixed dead code), or an operator symbol.
384 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
385 operator symbols.
386 (ruby-smie-rules): Remove parent token check in the `.' clause, it
387 did nothing. Don't respond to `(:after ".")', it will be called
388 with :before anyway. Remove the ` @ ' rule, it didn't seem to
389 change anything. Only return indentation for binary operators
390 when they are hanging. De-dent opening paren when its parent is
391 `.', otherwise it looks bad when the dot is not at bol or eol
392 (bug#16182).
393
3ee4cd64
JL
3942013-12-19 Juri Linkov <juri@jurta.org>
395
396 * replace.el (query-replace-read-args): Split a non-negative arg
397 and a negative arg into separate elements.
398 (query-replace, query-replace-regexp, replace-string)
399 (replace-regexp): Add arg `backward'. Doc fix.
400 (replace-match-maybe-edit): When new arg `backward' is non-nil,
401 move point to the beginning of the match.
402 (replace-search, replace-highlight): Use new arg `backward'
403 to set the value of `isearch-forward'.
404 (perform-replace): Add arg `backward' and use it to perform
405 replacement backward. (Bug#14979)
406
407 * isearch.el (isearch-query-replace): Use a negative prefix arg
408 to call `perform-replace' with a non-nil arg `backward'.
409
0cda6b7b
JL
4102013-12-18 Juri Linkov <juri@jurta.org>
411
412 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
413 to the default list. Move `log-edit-show-files' to the end.
414 Add more available functions to options.
415 (log-edit): Move default specific settings to
416 `log-edit-insert-message-template'. Don't move point.
417 (log-edit-insert-message-template): New function.
418 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
419 (Bug#16170)
420
b216f0a6
JL
4212013-12-18 Juri Linkov <juri@jurta.org>
422
423 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
424 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
425
1d1c55dc
LL
4262013-12-18 Leo Liu <sdl.web@gmail.com>
427
428 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
429
64e4c76e
EZ
4302013-12-18 Eli Zaretskii <eliz@gnu.org>
431
432 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
433 formats for displaying file sizes when the -s switch is given.
434 Instead, compute a separate format for displaying the size in
435 blocks, which is displayed in addition to the "regular" size.
436 When -h is given in addition to -s, produce size in blocks in
437 human-readable form as well. (Bug#16179)
438
b2984e39
TH
4392013-12-18 Tassilo Horn <tsdh@gnu.org>
440
2230a6e3
SM
441 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
442 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 443
50ff2e06
CY
4442013-12-18 Chong Yidong <cyd@gnu.org>
445
0081bc84
CY
446 * cus-edit.el (custom-magic-alist): Fix "themed" description
447 (Bug#14348).
448
a7ee9424
CY
449 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
450 is non-nil, do not create a new entry in the symbol's theme-value
451 or theme-face property; update theme-settings only (Bug#14664).
18874304 452 (custom-available-themes): Doc fix.
a7ee9424 453
8f942537
CY
454 * cus-theme.el (custom-new-theme-mode-map): Add bindings
455 (Bug#15674).
456
50ff2e06
CY
457 * replace.el (occur-engine): Avoid infloop (Bug#7593).
458
83c60f60
KI
4592013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
460
461 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
462 (Bug#13914).
463
e0eb0550 4642013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
465
466 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
467
1f41ee56
GM
4682013-12-18 Glenn Morris <rgm@gnu.org>
469
470 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 471 * cus-start.el (load-prefer-newer): New option.
1f41ee56 472
e82134b1
LW
4732013-12-18 Le Wang <l26wang@gmail.com>
474
2230a6e3
SM
475 * comint.el (comint-previous-matching-input-from-input):
476 Retain point (Bug#13404).
e82134b1 477
33f5d4c1
CY
4782013-12-18 Chong Yidong <cyd@gnu.org>
479
480 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
481
ccc9f6dc
GM
4822013-12-18 Glenn Morris <rgm@gnu.org>
483
484 * mail/emacsbug.el (report-emacs-bug):
485 Only mention enable-multibyte-characters if non-standard.
486
33dd8e95
JL
4872013-12-17 Juri Linkov <juri@jurta.org>
488
489 * arc-mode.el (archive-extract-by-file): Check if directory exists
490 before deletion to not show irrelevant errors if it doesn't exist.
491
7a409b30
JL
4922013-12-17 Juri Linkov <juri@jurta.org>
493
494 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
495 (Bug#14751)
496
497 * net/eww.el (browse-web): Add alias to `eww'.
498 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
499 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
500
501 * net/browse-url.el (browse-url-browser-function): Move `eww'
502 closer to similar functions.
503
504 * startup.el (fancy-startup-screen, fancy-about-screen):
505 Set browse-url-browser-function to eww-browse-url locally.
506 (Bug#14751)
507
2d6b6005
SM
5082013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * window.el (window--pixel-to-total): Remove unused `mini' var.
511 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
512 (split-window): Remove unused `new' var.
513 (window--display-buffer): Remove unused `frame' and `delta' vars.
514 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
515 and display-width'.
516
cf2b7efc
MR
5172013-12-17 Martin Rudalics <rudalics@gmx.at>
518
519 * dired.el (dired-mark-pop-up):
520 * register.el (register-preview): Don't bind
521 split-height-threshold here since it's now done in
522 display-buffer-below-selected.
523
ed3af8a7 5242013-12-17 oblique <psyberbits@gmail.com> (tiny change)
525
526 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
527 xterm-rgb-convert-to-16bit.
528 (rxvt-register-default-colors): Standardize with
529 xterm-register-default-colors (Bug#14078).
530
76da3455
DK
5312013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
532
533 * simple.el (kill-region): Pass mark first, then point, so that
534 kill-append works right (Bug#12819).
535 (copy-region-as-kill, kill-ring-save): Likewise.
536
2b84d763
LL
5372013-12-17 Leo Liu <sdl.web@gmail.com>
538
539 * net/rcirc.el (rcirc-add-face):
540 * eshell/em-prompt.el (eshell-emit-prompt):
541 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
542 (Bug#16167)
543
e2f6a0bc
CY
5442013-12-17 Chong Yidong <cyd@gnu.org>
545
546 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
547 Suggested by Xue Fuqiao.
548
35b249a6
DG
5492013-12-17 Dmitry Gutov <dgutov@yandex.ru>
550
551 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
552
e9145444
SM
5532013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * net/shr.el (shr-insert-document): Remove unused var
556 `shr-preliminary-table-render'.
557 (shr-rescale-image): Remove unused arg `force'.
558 (shr-put-image): Update calls accordingly.
559 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
560
5556c0ce
DG
5612013-12-17 Dmitry Gutov <dgutov@yandex.ru>
562
563 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
564 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
565 :close-all, to see which indentation method to use (Bug#16116).
566 (smie-rules-function): Document the method :close-all.
567
11bade0a
LMI
5682013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
569
1c4b1e61
LMI
570 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
571
11bade0a
LMI
572 * net/eww.el (eww-display-html): If we can't find the anchor we're
573 looking for, then go to point-min.
574
8fb8c4f3
PE
5752013-12-16 Paul Eggert <eggert@cs.ucla.edu>
576
577 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
578 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
579 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
580 Expand dir too, in case it's relative.
581
6c8e0ae6
JL
5822013-12-16 Juri Linkov <juri@jurta.org>
583
584 * desktop.el (desktop-auto-save-timeout): Change default to
585 `auto-save-timeout'. Doc fix.
586 (desktop-save): Skip the timestamp in desktop-saved-frameset
587 when checking for auto-save changes.
588 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
589 `desktop-auto-save' is called repeatedly by the idle timer.
590 (desktop-auto-save-set-timer): Replace `run-with-timer' with
591 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
592 (Bug#15331)
593
2178e858
JL
5942013-12-16 Juri Linkov <juri@jurta.org>
595
596 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
597 (Bug#16035)
598 (isearch-pre-command-hook): Check `this-command' for symbolp.
599
39cb42c6
SM
6002013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
603
5b9b750a
TZ
6042013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
605
606 * progmodes/cfengine.el (cfengine3--current-word): Remove.
607 (cfengine3--current-function): Bring in the current-function
608 functionality from `cfengine3--current-word'.
609 (cfengine3-completion-function): Bring in the
610 bounds-of-current-word functionality from
611 `cfengine3--current-word'.
612
d144ef06
MR
6132013-12-16 Martin Rudalics <rudalics@gmx.at>
614
39cb42c6
SM
615 * window.el (display-buffer-below-selected):
616 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 617
a8bbe298
LL
6182013-12-16 Leo Liu <sdl.web@gmail.com>
619
620 * progmodes/compile.el (compile-goto-error): Do not push-mark.
621 Remove NOMSG arg and all uses changed.
622
2013a2f9
SM
6232013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
624
625 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
626 (cua--deactivate-rectangle): Don't deactivate the mark.
627 (cua-set-rectangle-mark): Don't set mark-active since
628 cua--activate-rectangle already does it for us.
629 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
630 non-rectangular region.
631
632 * emulation/cua-base.el (cua-repeat-replace-region):
633 Use with-current-buffer.
634
635 * net/gnutls.el: Use cl-lib.
636 (gnutls-negotiate): `mapcan' -> cl-mapcan.
637
5ae811dd
TZ
6382013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
639
640 * emacs-lisp/package.el (package-built-in-p): Support both
641 built-in and the package.el converted package descriptions.
642 (package-show-package-list): Allow keywords.
643 (package-keyword-button-action): Use it instead of
644 `finder-list-matches'.
645 (package-menu-filter-interactive): Interactive filtering (by
646 keyword) function.
647 (package-menu--generate): Support keywords and change keymappings
648 and headers when they are given.
649 (package--has-keyword-p): Helper function.
650 (package-menu--refresh): Use it.
651 (package--mapc): Helper function.
652 (package-all-keywords): Use it.
653 (package-menu-mode-map): Set up menu items and keybindings to
654 provide a filtering UI.
655
31b4827e
TZ
6562013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
657
658 * net/gnutls.el (gnutls-verify-error): New defcustom to control
659 the behavior when a certificate fails validation. Defaults to
660 old behavior: never abort, just warn.
661 (gnutls-negotiate): Use it.
662
f93cc74f
MR
6632013-12-14 Martin Rudalics <rudalics@gmx.at>
664
665 * window.el (display-buffer-below-selected): Never split window
666 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
667
f77d7d17
TW
6682013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
669
670 * emacs-lisp/package.el (package--prepare-dependencies): New function.
671 (package-buffer-info): Use it (bug#15108).
aa2bddd7
SM
672
673 * icomplete.el (icomplete-completions): Make sure the prefix is already
674 displayed elsewhere before hiding it.
675
276bc333
DG
6762013-12-14 Dmitry Gutov <dgutov@yandex.ru>
677
678 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
679 open-paren tokens when preceded by a open-paren, too.
680 (ruby-smie-rules): Handle virtual indentation after open-paren
681 tokens specially. If there is code between it and eol, return the
682 column where is starts (Bug#16118).
683
d43957f3
TZ
6842013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
685
a5c1ac0c 686 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 687 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
688 (cfengine3--current-word): Fix parameters.
689 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
690 (cfengine3-completion-function, cfengine3--current-function):
691 Use `assq' for symbols.
d43957f3
TZ
692 (cfengine3--current-function): Fix `cfengine3--current-word' call.
693
06a4f110
GM
6942013-12-13 Glenn Morris <rgm@gnu.org>
695
696 * loadup.el (load-path): Warn if site-load or site-init changes it.
697 No more need to reset it when bootstrapping.
698
978a5fda
TZ
6992013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
700
701 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
702 locations for cf-promises.
703 (cfengine-mode-syntax-functions-regex): New caching variable.
704 (cfengine3-fallback-syntax): Fallback syntax for cases where
705 cf-promises doesn't run.
706 (cfengine3--current-word): Reimplement using
707 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
708 (cfengine3-completion-function, cfengine3--current-function):
709 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
710 (cfengine3-clear-syntax-cache): New function.
711 (cfengine3-make-syntax-cache): Simplify and create
712 `cfengine-mode-syntax-functions-regex' on demand.
713 (cfengine3-format-function-docstring): Don't call
714 `cfengine3-make-syntax-cache' explicitly.
715
71e6691e
MR
7162013-12-13 Martin Rudalics <rudalics@gmx.at>
717
718 Fix windmove-find-other-window broken after pixelwise resizing
719 (Bug#16017).
720 * windmove.el (windmove-other-window-loc): Revert change from
721 2013-12-04.
722 (windmove-find-other-window): Call window-in-direction.
723 * window.el (window-in-direction): New arguments SIGN, WRAP and
724 MINI to emulate original windmove-find-other-window behavior.
725
84c73ba0
DG
7262013-12-13 Dmitry Gutov <dgutov@yandex.ru>
727
728 * simple.el (blink-matching--overlay): New variable.
729 (blink-matching-open): Instead of moving point, highlight the
730 matching paren with an overlay
731 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
732
733 * faces.el (paren-showing-faces, show-paren-match)
734 (show-paren-mismatch): Move from paren.el.
735
b9e20952
LL
7362013-12-13 Leo Liu <sdl.web@gmail.com>
737
738 * indent.el (indent-region): Disable progress reporter in
739 minibuffer. (Bug#16108)
740
741 * bindings.el (visual-order-cursor-movement): Fix version.
742
ce030451
FEG
7432013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
744
745 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
746 Also match after beginning of line.
747 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
748 files. Thanks to Russell Sim. (Bug#15378)
749
4a9c6865
JL
7502013-12-13 Juri Linkov <juri@jurta.org>
751
752 * simple.el <Keypad support>: Remove key bindings duplicated
753 with bindings.el. (Bug#14397)
754
2bc170c3
JL
7552013-12-13 Juri Linkov <juri@jurta.org>
756
757 * comint.el (comint-mode-map): Replace `delete-char' with
758 `delete-forward-char'. (Bug#16109)
759
bc9222c9
FEG
7602013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
761
aa2bddd7
SM
762 * progmodes/python.el (python-indent-calculate-indentation):
763 Fix de-denters cornercase. (Bug#15731)
bc9222c9 764
cb3a1380
SM
7652013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
768 (advice--make): Pay attention to `depth'.
769 (advice--make-1): Don't autoload commands eagerly.
770 * emacs-lisp/elp.el (elp-instrument-function):
771 * emacs-lisp/trace.el (trace-function-internal):
772 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
773
774 * iswitchb.el (iswitchb-mode): Don't belittle ido.
775
01633a17
EZ
7762013-12-12 Eli Zaretskii <eliz@gnu.org>
777
778 * term/w32-win.el (w32-handle-dropped-file):
779 * startup.el (normal-top-level):
780 * net/browse-url.el (browse-url-file-url):
781 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
782 decode file names using 'utf-8' rather than
783 file-name-coding-system.
784
09faee72
FEG
7852013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
786
787 * progmodes/python.el (python-indent-context)
788 (python-indent-calculate-indentation): Fix auto-identation
789 behavior for comment blocks. (Bug#15916)
790
f4f84024 7912013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 792
cb3a1380
SM
793 * progmodes/python.el (python-indent-calculate-indentation):
794 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
795 operators when they are just string constituents. (Bug#15812)
796
d5ccb7be
JL
7972013-12-12 Juri Linkov <juri@jurta.org>
798
799 * uniquify.el (uniquify-buffer-name-style): Change default to
800 `post-forward-angle-brackets'.
801
802 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
803 `uniquify'. Change default to `post-forward-angle-brackets'.
804
7b3f5679
GM
8052013-12-11 Glenn Morris <rgm@gnu.org>
806
807 * emacs-lisp/package.el (finder-list-matches):
808 Autoload rather than falsely declaring.
809
f4fe8fdd
TZ
8102013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
811
812 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
813 (eww-mode-map): Use them.
814
3c29190f
MR
8152013-12-11 Martin Rudalics <rudalics@gmx.at>
816
817 * window.el (display-buffer-in-side-window): Fix doc-string
818 (Bug#16115).
819
0cd616a2
JB
8202013-12-11 Juanma Barranquero <lekktu@gmail.com>
821
822 * vc/vc-git.el: Silence byte-compiler warnings.
823 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
824 (log-edit-set-header): Declare.
825
3ef8e0d1
EZ
8262013-12-11 Eli Zaretskii <eliz@gnu.org>
827
828 * Makefile.in (custom-deps, finder-data): Run output file names
829 through unmsys--file-name. (Bug#16099)
830
afdadaf7
SM
8312013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
832
7ae3ae39 833 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 834 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 835
5b4f37ab
SM
836 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
837 instead of deleting the selection "by hand" (bug#16098).
838 Rely on insert-for-yank to yank rectangles.
839 (cua-highlight-region-shift-only): Mark obsolete.
840 (cua-mode): Don't enable/disable transient-mark-mode,
841 shift-select-mode (cua-mode works both with and without them), and
842 pc-selection-mode (obsolete).
843 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
844 (cua--deactivate-rectangle): Deactivate it.
845
4b72c12b
SM
846 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
847 (delete-selection-helper): Make sure yank starts at the top of the
848 deleted region.
849 (minibuffer-keyboard-quit): Use region-active-p.
850
e82af72d
SM
851 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
852
afdadaf7
SM
853 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
854 to `delete' (bug#16109).
855
ed4bc201
RS
8562013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
857
858 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
859 info manual and show keybindings and set `:group' keyword.
860
bb8097b9
JL
8612013-12-11 Juri Linkov <juri@jurta.org>
862
863 * delsel.el (delete-active-region): Let-bind `this-command'
864 to prevent `kill-region' from changing its original value.
865 (delete-selection-helper): Handle `overwrite-mode' for the type
866 `kill' exactly the same way as for the type `t'.
867 (insert-char, quoted-insert, reindent-then-newline-and-indent):
868 Support more commands. (Bug#13312)
869
c1916ff5
JL
8702013-12-11 Juri Linkov <juri@jurta.org>
871
872 * bindings.el: Map kp keys to non-kp keys systematically
873 with basic modifiers control, meta and shift. (Bug#14397)
874
e0eb0550 8752013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
b68cf43c
KN
876
877 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
878 "Close browser" menu items. Fix wrong function of "List
879 bookmarks".
880
4cc51eaf
JL
8812013-12-11 Juri Linkov <juri@jurta.org>
882
883 * misearch.el (multi-isearch-buffers): Set the value of
884 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
885 arg of isearch-forward to t.
886 (multi-isearch-buffers-regexp): Set the value of
887 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
888 arg of isearch-forward-regexp to t.
889 (multi-isearch-files): Set the value of
890 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
891 arg of isearch-forward to t.
892 (multi-isearch-files-regexp): Set the value of
893 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
894 arg of isearch-forward-regexp to t. (Bug#16035)
895
896 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
897 arg of isearch-forward to t.
898 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
899 arg of isearch-forward-regexp to t.
900 (dired-isearch-filter-filenames): Remove unnecessary check for
901 `dired-isearch-filenames'.
902
903 * comint.el (comint-history-isearch-backward):
904 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
905 (comint-history-isearch-backward-regexp):
906 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
907
ceac12b7
EZ
9082013-12-10 Eli Zaretskii <eliz@gnu.org>
909
910 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
911 unmsys--file-name. (Bug#16099)
912
5a565782
TZ
9132013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
914
cb3a1380
SM
915 * emacs-lisp/package.el (package-keyword-button-action):
916 Remove finder.el require dependency.
5a565782 917
a81fc7ba
TZ
9182013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
919
920 * emacs-lisp/package.el: Require finder.el.
921 (describe-package-1): Add keyword buttons.
922 (package-make-button): New convenience function.
923 (package-keyword-button-action): Keyword button action using
e0eb0550 924 `finder-list-matches'.
a81fc7ba 925
6aaca951
EZ
9262013-12-09 Eli Zaretskii <eliz@gnu.org>
927
928 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
929 last commit.
930
a1099a91
MA
9312013-12-09 Michael Albinus <michael.albinus@gmx.de>
932
933 * autorevert.el (auto-revert-notify-add-watch): Do not handle
934 symlinked files.
935
8212d9c0
DG
9362013-12-09 Dmitry Gutov <dgutov@yandex.ru>
937
938 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
939 after the end of a percent literal.
940
8f48d131
CD
9412013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
942
cb3a1380
SM
943 * progmodes/ruby-mode.el (ruby-forward-string): Document.
944 Handle caret-delimited strings (Bug#16079).
8f48d131 945
ff8c9764
DG
9462013-12-09 Dmitry Gutov <dgutov@yandex.ru>
947
cb3a1380
SM
948 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
949 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
950 `ruby-parse-partial' (Bug#16078).
951
d64643b4
LL
9522013-12-09 Leo Liu <sdl.web@gmail.com>
953
954 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
955
47e59c66
DG
9562013-12-08 Dmitry Gutov <dgutov@yandex.ru>
957
958 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
959 (js-switch-indent-offset): New option.
960 (js--proper-indentation): Use it. And handle the case when
961 "default" is actually a key in an object literal.
962 (js--same-line): New function.
963 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
964 (js--indent-in-array-comp, js--array-comp-indentation):
965 New functions.
47e59c66
DG
966 (js--proper-indentation): Use them, to handle array comprehension
967 continuations.
968
974ebc9c
LL
9692013-12-08 Leo Liu <sdl.web@gmail.com>
970
971 * progmodes/flymake.el (flymake-highlight-line): Re-write.
972 (flymake-make-overlay): Remove arg MOUSE-FACE.
973 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
974
27262e39
SM
9752013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
978 New function.
979 (redisplay-highlight-region-function): Use it.
980
981 * emulation/cua-base.el (cua--explicit-region-start)
982 (cua--last-region-shifted): Remove.
983 (cua--deactivate): Use deactivate-mark.
984 (cua--pre-command-handler-1): Don't handle shift-selection.
985 (cua--post-command-handler-1): Don't change transient-mark-mode.
986 (cua--select-keymaps): Use region-active-p rather than
987 cua--explicit-region-start or cua--last-region-shifted.
988 (cua-mode): Enable shift-select-mode.
989
6407822c
LL
9902013-12-08 Leo Liu <sdl.web@gmail.com>
991
27262e39
SM
992 * progmodes/flymake.el (flymake-popup-current-error-menu):
993 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
994 (flymake-posn-at-point-as-event, flymake-popup-menu)
995 (flymake-make-emacs-menu): Remove. (Bug#16077)
996
00a2b823
SM
9972013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
998
02033d49
SM
999 * rect.el (rectangle-mark-mode): Activate mark even if
1000 transient-mark-mode is off (bug#16066).
1001 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1002 is > mark and at bolp.
1003
6f8dfccf
SM
1004 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1005 (region-extract-function): Use it.
1006 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1007 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1008 Delete functions.
1009 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1010 kill-ring-save, kill-region, delete-char, delete-forward-char.
1011 Ignore self-insert-iso.
1012
1013 * emulation/cua-gmrk.el (cua--init-global-mark):
1014 Ignore `self-insert-iso'.
1015
1016 * emulation/cua-base.el (cua--prefix-copy-handler)
1017 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1018 checking cua--rectangle.
1019 (cua-delete-region): Use region-extract-function.
1020 (cua-replace-region): Delete function.
1021 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1022 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1023 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1024 (cua--init-keymaps): Don't remap delete-selection commands.
1025 (cua-mode): Use delete-selection-mode instead of rolling our own
1026 (bug#16085).
1027
1028 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1029 Obey region-extract-function.
1030
00a2b823
SM
1031 Make registers and delete-selection-mode work on rectangles.
1032 * register.el (describe-register-1): Don't modify the register's value.
1033 (copy-to-register): Obey region-extract-function.
1034 * delsel.el (delete-active-region): Obey region-extract-function.
1035
a92fa5f1
LL
10362013-12-08 Leo Liu <sdl.web@gmail.com>
1037
1038 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1039 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1040 (flymake-compilation-prevents-syntax-check)
1041 (flymake-start-syntax-check-on-newline)
1042 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1043 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1044 (flymake-xml-program, flymake-master-file-dirs)
1045 (flymake-master-file-count-limit)
1046 (flymake-allowed-file-name-masks): Relocate.
1047 (flymake-makehash, flymake-float-time)
1048 (flymake-replace-regexp-in-string, flymake-split-string)
1049 (flymake-get-temp-dir): Remove.
1050 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1051 (flymake-current-row, flymake-selected-frame)
1052 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1053 related functions. (Bug#16077)
1054
73c8ceea
BB
10552013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1056
1057 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1058
faec28d9
TH
10592013-12-07 Tassilo Horn <tsdh@gnu.org>
1060
1061 * help-fns.el (describe-function-1): Use new advice-* functions
1062 rather than old ad-* functions. Fix function type description and
1063 source links for advised functions and subrs.
1064
e330b646
LMI
10652013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1066
00a2b823 1067 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1068
4803595d
MA
10692013-12-06 Michael Albinus <michael.albinus@gmx.de>
1070
1071 * progmodes/compile.el (compilation-start):
1072 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1073
1074 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1075 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1076
fa834a93
DG
10772013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1078
00a2b823
SM
1079 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1080 Touch up the last change.
fa834a93 1081
b2856a6f
LL
10822013-12-06 Leo Liu <sdl.web@gmail.com>
1083
1084 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1085 (inferior-octave-startup): Always use "octave> " for prompt.
1086 (octave-goto-function-definition)
1087 (octave-sync-function-file-names)
1088 (octave-find-definition-default-filename): Remove redundant backquotes.
1089
af67e79a
DG
10902013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1091
1092 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1093 syntax for `?'.
1094 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1095 where appropriate already.
1096 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1097 end of method names (Bug#15874).
1098
bf093209
JL
10992013-12-06 Juri Linkov <juri@jurta.org>
1100
1101 * isearch.el (isearch--saved-overriding-local-map):
1102 New internal variable.
1103 (isearch-mode): Set it to the initial value of
1104 `overriding-terminal-local-map'.
1105 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1106 with `isearch--saved-overriding-local-map'. (Bug#16035)
1107
16588fad
DG
11082013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1109
00a2b823
SM
1110 * progmodes/octave.el (inferior-octave-completion-table):
1111 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1112 (Bug#11906). Update all references.
1113
1114 * minibuffer.el (completion-table-with-cache): New function.
1115
bf4906d7
CD
11162013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1117
1118 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1119
ff69c18f
TZ
11202013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1121
1122 * net/eww.el (eww-current-source): New variable to store page
1123 source.
1124 (eww-display-html, eww-mode, eww-save-history)
1125 (eww-restore-history): Use it.
1126 (eww-view-source): New command to view page source.
1127 Opportunistically uses `html-mode' to highlight the buffer.
1128 (eww-mode-map): Install it.
1129
b85eff45
MA
11302013-12-05 Michael Albinus <michael.albinus@gmx.de>
1131
1132 * net/dbus.el (dbus-unregister-service)
1133 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1134 Fix docstring.
1135 (dbus-unregister-service): Skip :serial entries in
1136 `dbus-registered-objects-table'.
1137 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1138
39eb0899
TZ
11392013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1140
1141 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1142 around keywords with extra `split-string' argument.
1143
456760a5
MR
11442013-12-04 Martin Rudalics <rudalics@gmx.at>
1145
1146 * windmove.el (windmove-other-window-loc): Handle navigation
1147 between windows (excluding the minibuffer window - Bug#16017).
1148
81961e4c
MA
11492013-12-04 Michael Albinus <michael.albinus@gmx.de>
1150
1151 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1152 in D-Bus type syntax.
1153 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1154 preserve unibyte strings. (Bug#16048)
1155
8497f938
SM
11562013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1159 Call force-mode-line-update is the proper buffer (bug#16042).
1160
dda61916
DG
11612013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1162
1163 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1164 `log-edit-remember-comment', make argument optional. Adjust all
1165 callers.
1166 (log-edit-mode): Add `log-edit-remember-comment' to
1167 `kill-buffer-hook' locally.
1168 (log-edit-kill-buffer): Don't remember comment explicitly since
1169 the buffer is killed anyway.
1170
c085e5b9
JL
11712013-12-04 Juri Linkov <juri@jurta.org>
1172
1173 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1174 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1175
e0eb0550 11762013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1177
1178 * notifications.el (notifications-close-notification): Call the
81961e4c 1179 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1180
39fa32d6
KY
11812013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1182
1183 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1184
9139632a
JL
11852013-12-03 Juri Linkov <juri@jurta.org>
1186
1187 * progmodes/compile.el (compilation-start): Rename window alist
1188 entry `no-display-ok' to `allow-no-window'.
1189
1190 * simple.el (shell-command): Add window alist entry
1191 `allow-no-window' to `display-buffer'.
1192 (async-shell-command): Doc fix.
1193
1194 * window.el (display-buffer-no-window): New action function.
1195 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1196
0f457a37
DG
11972013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1198
1199 * vc/log-edit.el (log-edit-set-header): Extract from
1200 `log-edit-toggle-header'.
1201 (log-edit-extract-headers): Separate the summary, when extracted
1202 from header, from the rest of the message with an empty line.
1203
1204 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1205 line, if present, to the Summary header.
1206
0962f376
SM
12072013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1208
1209 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1210 in current-buffer (bug#16029).
1211
f345395c
HE
12122013-12-02 Helmut Eller <eller.helmut@gmail.com>
1213
1214 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1215 (debugger-mode-map): Bind it.
1216 (debugger--backtrace-base): New function.
1217 (debugger-eval-expression): Use it.
1218 (debugger-frame-number): Skip local vars when present.
1219 (debugger--locals-visible-p, debugger--insert-locals)
1220 (debugger--show-locals, debugger--hide-locals): New functions.
1221
a8a15d9d
MA
12222013-12-02 Michael Albinus <michael.albinus@gmx.de>
1223
1224 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1225 "LC_ALL".
1226 (tramp-get-remote-locale): New defun.
1227 (tramp-open-connection-setup-interactive-shell): Use it.
1228
0518b057
LL
12292013-12-02 Leo Liu <sdl.web@gmail.com>
1230
1231 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1232
1233 * progmodes/sh-script.el (sh-shell-process):
1234 * progmodes/octave.el (inferior-octave-process-live-p):
1235 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1236 (gdb-inferior-io-sentinel):
1237 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1238
3adc9c6d
DG
12392013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1240
1241 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1242 `save-selected-window' to `log-edit-hide-buf'. This makes
1243 `log-edit-show-files' idempotent.
1244 (log-edit-show-files): Mark the new window as dedicated.
1245
47e8b74e
DG
12462013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1247
1248 * vc/log-edit.el (log-edit-mode-map): Add binding for
1249 `log-edit-kill-biffer'.
1250 (log-edit-hide-buf): Add a FIXME comment.
1251 (log-edit-add-new-comment): New function, extracted from
1252 `log-edit-done'.
1253 (log-edit-done, log-edit-add-to-changelog): Use it.
1254 (log-edit-kill-buffer): New command.
1255
1f6e1bb0
LMI
12562013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1257
1258 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1259 instead of killing the buffer.
1260
fb651d15
SM
12612013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1264
8feacce0
RS
12652013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1266
fb651d15 1267 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 1268 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
1269 (eww-form-checkbox, eww-toggle-checkbox):
1270 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1271
e0eb0550 1272 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 1273 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 1274 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
1275 no :src tag was specified.
1276
fb651d15 1277 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
1278 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1279 Use \\` to match beginning of string instead of ^.
1280 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 1281 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 1282
177948a5
RS
1283 * net/shr.el (shr-tag-video): Display content for video if no
1284 poster is available.
eb2dd24d 1285 (shr-tag-audio): Add support for <audio> tag.
177948a5 1286
e0eb0550 1287 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
1288 (eww-process-text-input): Treat input types in
1289 `eww-text-input-types' as text.
1290
8feacce0
RS
1291 * net/shr.el (shr-tag-table): Fix comment typo.
1292
513562a1
LMI
12932013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1294
1295 * net/eww.el (eww-follow-link): New command to avoid reloading
1296 pages when we follow #target links (bug#15243).
de8a5633 1297 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 1298
9dd99753
KN
12992013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1300
1301 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1302 forms.
1303
3e9876de
LMI
13042013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1305
1306 * net/eww.el (eww-restore-history): Update the window title after
1307 moving in the history.
ab6dea82 1308 (eww-current-dom): New variable used to save the current DOM.
3e9876de 1309
52789f7f
DG
13102013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1311
1312 * vc/log-edit.el (log-edit-mode-map): Add binding for
1313 `log-edit-beginning-of-line'.
1314 (log-edit-setup-add-author): New user option.
1315 (log-edit-beginning-of-line): New command.
1316 (log-edit): Move major mode call above the contents setup so that
1317 the local variable values are already applied.
1318 (log-edit): Only insert "Author: " when
1319 `log-edit-setup-add-author' is non-nil.
1320 (log-edit): When SETUP is non-nil, position point after ": "
1321 instead of point-min.
1322
2e6710c3
GM
13232013-12-01 Glenn Morris <rgm@gnu.org>
1324
1325 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1326
fadec31f
EZ
13272013-11-30 Eli Zaretskii <eliz@gnu.org>
1328
1329 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 1330 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
1331 visible. (Bug#16014)
1332
10634b40 13332013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
1334
1335 Support resizing frames and windows pixelwise.
1336 * cus-start.el (frame-resize-pixelwise)
1337 (window-resize-pixelwise): New entries.
1338 * emacs-lisp/debug.el (debug): Use window-total-height instead
1339 of window-total-size.
1340 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1341 * help.el (describe-bindings-internal): Call help-buffer
1342 (temp-buffer-max-width): New option.
1343 (resize-temp-buffer-window, help-window-setup)
1344 (with-help-window): Rewrite.
1345 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1346 dragging dividers.
1347 * window.el (frame-char-size, window-min-pixel-height)
1348 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1349 (window-min-pixel-width, window-safe-min-pixel-size)
1350 (window-combination-p, window-safe-min-size)
1351 (window-resizable-p, window--size-to-pixel)
1352 (window--pixel-to-size, window--resize-apply-p): New functions.
1353 (window-safe-min-height): Fix doc-string.
1354 (window-size, window-min-size, window--min-size-1)
1355 (window-sizable, window-sizable-p, window--min-delta-1)
1356 (window-min-delta, window--max-delta-1, window-max-delta)
1357 (window--resizable, window--resizable-p, window-resizable)
1358 (window-full-height-p, window-full-width-p, window-at-side-p)
1359 (window--in-direction-2, window-in-direction)
1360 (window--resize-reset-1, window--resize-mini-window)
1361 (window-resize, window-resize-no-error)
1362 (window--resize-child-windows-normal)
1363 (window--resize-child-windows, window--resize-siblings)
1364 (window--resize-this-window, window--resize-root-window)
1365 (window--resize-root-window-vertically)
1366 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1367 (maximize-window, minimize-window, delete-window)
1368 (quit-restore-window, window-split-min-size, split-window)
1369 (balance-windows-2, balance-windows)
1370 (balance-windows-area-adjust, balance-windows-area)
1371 (window--state-get-1, window-state-get, window--state-put-1)
1372 (window--state-put-2, window-state-put)
fb651d15
SM
1373 (display-buffer-record-window, window--display-buffer):
1374 Make functions handle pixelwise sizing of windows.
880e6158 1375 (display-buffer--action-function-custom-type)
fb651d15
SM
1376 (display-buffer-fallback-action):
1377 Add display-buffer-in-previous-window.
880e6158
MR
1378 (display-buffer-use-some-window): Resize window to height it had
1379 before.
1380 (fit-window-to-buffer-horizontally): New option.
1381 (fit-frame-to-buffer): Describe new values.
1382 (fit-frame-to-buffer-bottom-margin): Replace with
1383 fit-frame-to-buffer-margins.
1384 (window--sanitize-margin): New function.
1385 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1386 using window-text-pixel-size.
1387
f9b697dd
GM
13882013-11-30 Glenn Morris <rgm@gnu.org>
1389
3e2fb4db
GM
1390 * emacs-lisp/bytecomp.el (byte-compile-form):
1391 Make the `interactive-only' warning like the `obsolete' one.
1392 * comint.el (comint-run):
1393 * files.el (insert-file-literally, insert-file):
1394 * replace.el (replace-string, replace-regexp):
1395 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1396 (goto-line, insert-buffer, next-line, previous-line):
1397 Tweak `interactive-only' spec.
1398
f9b697dd
GM
1399 Stop keeping (most) generated cedet grammar files in the repository.
1400 * Makefile.in (semantic): New.
1401 (compile-main): Depend on semantic.
1402
da048127
SM
14032013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1404
7784b779
SM
1405 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1406 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1407
4e36a6a6
SM
1408 * uniquify.el (uniquify-buffer-name-style): Change default.
1409
1410 * loadup.el: Preload "uniquify".
1411
e0ba1308
SM
1412 * time.el (display-time-update): Update all mode lines (bug#15999).
1413
da048127
SM
1414 * electric.el (electric-indent-mode): Enable by default.
1415 * loadup.el: Preload "electric".
1416
015b3b3e
BB
14172013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1418
1419 * emacs-lisp/helpers.el (string-empty-p): New function.
1420 (string-blank-p): New function.
1421
7efb806d
AP
14222013-11-29 Andreas Politz <politza@hochschule-trier.de>
1423
1424 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1425 (Bug#14029).
1426
c8f0efc2
AP
14272013-11-29 Andreas Politz <politza@fh-trier.de>
1428 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1429 allow non-lambda lists as functions.
1430 (imenu--in-alist): Don't recurse into non-subalists.
1431 (imenu): Don't pass function itself as an argument (Bug#14029).
1432
bd15d9d1
SM
14332013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1434
1435 * progmodes/python.el (python-mode-map): Remove binding for ":".
1436 (python-indent-electric-colon): Remove command.
1437 (python-indent-post-self-insert-function): Integrate the previous code
1438 of python-indent-electric-colon. Make it conditional on
1439 electric-indent-mode.
1440 (python-mode): Add ?: to electric-indent-chars.
1441 Move python-indent-post-self-insert-function to the end of
1442 post-self-insert-hook.
1443
1b10adb6
SM
14442013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1445
655ab9a3
SM
1446 * doc-view.el (doc-view-goto-page): Update mode-line.
1447
1b10adb6
SM
1448 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1449
7e3bf78c
GM
14502013-11-27 Glenn Morris <rgm@gnu.org>
1451
1452 * international/charprop.el, international/uni-bidi.el:
1453 * international/uni-category.el, international/uni-combining.el:
1454 * international/uni-comment.el, international/uni-decimal.el:
1455 * international/uni-decomposition.el, international/uni-digit.el:
1456 * international/uni-lowercase.el, international/uni-mirrored.el:
1457 * international/uni-name.el, international/uni-numeric.el:
1458 * international/uni-old-name.el, international/uni-titlecase.el:
1459 * international/uni-uppercase.el:
1460 Remove generated files from VCS repository.
1461
fb6a5d68
EZ
14622013-11-27 Eli Zaretskii <eliz@gnu.org>
1463
1464 * filenotify.el (file-notify-add-watch): Don't special-case
1465 w32notify when computing the directory to watch.
1466
cb6c95a3
GM
14672013-11-27 Glenn Morris <rgm@gnu.org>
1468
20372d0c
GM
1469 Make bootstrap without generated uni-*.el files possible again.
1470 * loadup.el: Update command-line-args checking for unidata-gen.
1471 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1472 * composite.el, international/characters.el:
1473 Handle unicode tables being undefined.
1474
52d6635f 1475 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
1476 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1477 (compile-main): Depend on leim rule.
1478 (leim): New rule.
1479 * loadup.el: Move leim-list.el to leim/ subdirectory.
1480 * startup.el (normal-top-level): No more leim directory.
1481 * international/ja-dic-cnv.el (skkdic-convert):
1482 Disable version-control and autoloads in output files.
1483 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1484 Disable version-control and autoloads in output files.
1485 * leim/quail: Move here from ../leim.
1486 * leim/quail/hangul.el (hangul-input-method-activate):
1487 Add autoload cookie.
1488 (generated-autoload-load-name): Set file-local value.
1489 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1490 (generated-autoload-load-name): Set file-local value.
1491
0449d6cd 14922013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
e47112ee 1493
e0eb0550
JB
1494 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1495 (eww-add-bookmark): Ask confirmation when add to bookmarks
1496 (eww-quit): Ask confirmation before quitting eww.
e47112ee 1497
0e2c793f
EZ
14982013-11-26 Eli Zaretskii <eliz@gnu.org>
1499
1500 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1501 reading output from Diff on MS-Windows and MS-DOS.
1502
447bdcb8
BB
15032013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1504
1505 * emacs-lisp/helpers.el (string-reverse): New function.
1506
5fbf6856
MA
15072013-11-26 Michael Albinus <michael.albinus@gmx.de>
1508
1509 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1510 names on MS Windows, like "/[::1]:".
1511
1512 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1513 SWITCHES.
1514
624780f0
GM
15152013-11-26 Glenn Morris <rgm@gnu.org>
1516
0bf3f0fa
GM
1517 * progmodes/python.el (python-indent-guess-indent-offset):
1518 Avoid corner-case error. (Bug#15975)
1519
624780f0
GM
1520 Preload leim-list.el. (Bug#4789)
1521 * loadup.el: Load leim-list.el when found.
1522 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1523
4301875e 15242013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
1525
1526 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1527
4301875e
BB
1528 * emacs-lisp/helpers.el (string-join): New function.
1529
1633a815 15302013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
1531
1532 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1533 Mark as obsolete and replace it with a symbol property.
1534 (byte-compile-form): Use new 'interactive-only property.
1535 * comint.el, files.el, replace.el, simple.el:
1536 Apply new 'interactive-only properly.
1537
00139435
MR
15382013-11-25 Martin Rudalics <rudalics@gmx.at>
1539
1540 * window.el (display-buffer-at-bottom): Make sure that
1541 split-window-sensibly creates the new window on bottom
1542 (Bug#15961).
1543
5f5b128d
DK
15442013-11-23 David Kastrup <dak@gnu.org>
1545
1546 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1547 on the conflict markers when available.
1548 (smerge--get-marker): New function.
1549 (smerge-end-re, smerge-base-re): Add subgroup.
1550
623891e5
SM
15512013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * frame.el (handle-focus-in, handle-focus-out): Add missing
1554 interactive spec.
1555
05ca27d8
MA
15562013-11-25 Michael Albinus <michael.albinus@gmx.de>
1557
1558 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1559 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1560
511fa0d3
SM
15612013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1562
e82ad66c
SM
1563 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1564 (gomoku--last-pos): New var.
1565 (gomoku--intangible-chars): New const.
1566 (gomoku--intangible): New function.
1567 (gomoku-mode): Use it. Derive from special-mode.
1568 (gomoku-move-up): Adjust line count.
1569 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1570 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1571 Simplify accordingly.
1572
511fa0d3
SM
1573 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1574 Remove blink-cursor code.
1575 (blink-cursor-timer-function, blink-cursor-suspend):
1576 Don't special-case GUIs.
1577 (blink-cursor-mode): Use focus-in/out-hook.
1578
6f20dd03
DG
15792013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1580
1581 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1582 work when annotation is invisible (Bug#13886).
1583
431dec31 15842013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
1585
1586 * json.el (json-alist-p): Only return non-nil if the alist has
1587 simple keys (Bug#13518).
1588
431dec31 15892013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
1590
1591 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1592 when control-statement is the first statement in a buffer (Bug#15956).
1593
ee4f0261
DG
15942013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1595
1596 * imenu.el (imenu-generic-skip-comments-and-strings):
1597 New option (Bug#15560).
1598 (imenu--generic-function): Use it.
1599
c484f866
JS
16002013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1601
1602 * minibuffer.el (completion--in-region-1): Scroll the correct
1603 window. (Bug#13898)
1604
41ce6f70
BB
16052013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1606
b55aea38
BB
1607 * emacs-lisp/helpers.el: Add some string helpers.
1608 (string-trim-left): Removes leading whitespace.
1609 (string-trim-right): Removes trailing whitespace.
1610 (string-trim): Removes leading and trailing whitespace.
1611
41ce6f70
BB
1612 * subr.el (string-suffix-p): New function.
1613
3cfb6af3
GM
16142013-11-23 Glenn Morris <rgm@gnu.org>
1615
1616 * progmodes/python.el (python-shell-send-file):
1617 Add option to delete file when done. (Bug#15647)
1618 (python-shell-send-string, python-shell-send-region): Use it.
1619
c27924b7
IS
16202013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1621
e1b01c7f
IS
1622 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1623 to set buffer-read-only to t, never to nil. (Bug#15938)
1624
c27924b7
IS
1625 * textmodes/tex-mode.el (latex-noindent-environments):
1626 Add safe-local-variable property. (Bug#15936)
1627
17e0445b
GM
16282013-11-23 Glenn Morris <rgm@gnu.org>
1629
92f78ea3
GM
1630 * textmodes/enriched.el (enriched-mode): Doc fix.
1631 * emacs-lisp/authors.el (authors-renamed-files-alist):
1632 Add enriched.doc -> enriched.txt.
1633
17e0445b
GM
1634 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1635
965bb23a
LL
16362013-11-22 Leo Liu <sdl.web@gmail.com>
1637
1638 * progmodes/octave.el (inferior-octave-startup): Spit out error
1639 message.
1640
d19ffd64
BB
16412013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1642
1643 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1644 Improve docstring.
15ba2182
BB
1645 Add :version.
1646 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 1647
7a7567d2
LL
16482013-11-22 Leo Liu <sdl.web@gmail.com>
1649
1650 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1651 (Bug#15076)
8c09f64b
LL
1652 (octave-help-mode): Adapt to change to help-mode-finish to use
1653 derived-mode-p on 2013-09-17.
1654 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 1655 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 1656
724bc265
LL
16572013-11-22 Leo Liu <sdl.web@gmail.com>
1658
1659 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1660 (inferior-octave-startup, inferior-octave-check-process)
1661 (inferior-octave-track-window-width-change)
1662 (octave-completion-at-point, octave-eldoc-function): Use it.
1663 (octave-kill-process): Provide confirmation. (Bug#10564)
1664
38637cca
LL
16652013-11-21 Leo Liu <sdl.web@gmail.com>
1666
511fa0d3
SM
1667 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1668 Fix obsolete variable comment-use-global-state.
38637cca 1669
06e752b4
RS
16702013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1671
511fa0d3
SM
1672 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1673 Add `octave-source-file'.
06e752b4
RS
1674 (octave-source-file): New function. (Bug#15935)
1675
0449d6cd 16762013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
604ede6c
TZ
1677
1678 * net/eww.el (eww-local-regex): New variable.
1679 (eww): Use it to detect localhost and similar.
1680
b6ffa04a
LL
16812013-11-21 Leo Liu <sdl.web@gmail.com>
1682
1683 Add completion for command `ag'.
2021a200
LL
1684 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1685 (pcomplete/ag): New function.
1686 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 1687
d1a6bccc
SM
16882013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1691 (bug#14646).
1692 (make-obsolete): Remove interactive spec.
1693
2df10228
GM
16942013-11-21 Glenn Morris <rgm@gnu.org>
1695
1696 * startup.el (command-line-1): Use path-separator with -L.
1697
86fd16b6
TZ
16982013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1699
1700 * emacs-lisp/package.el (describe-package-1): Add package archive
1701 to shown fields.
1702
0449d6cd 17032013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
1704
1705 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1706 Change default to "# encoding: %s" to differentiate it from the
1707 default Ruby encoding comment template.
1708
dc7e8c17 17092013-11-20 era eriksson <era+emacsbugs@iki.fi>
1710
1711 * ses.el (ses-mode): Doc fix. (Bug#14748)
1712
f0cfa5fe
LL
17132013-11-20 Leo Liu <sdl.web@gmail.com>
1714
1715 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1716
826dc7b6
DN
17172013-11-19 Dan Nicolaescu <dann@gnu.org>
1718
1719 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1720 when rebase or bisect are in progress.
1721
a6e3a5d5
XF
17222013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1723
1724 * filenotify.el (file-notify-add-watch): Doc fix.
1725
f130cb76
LL
17262013-11-19 Leo Liu <sdl.web@gmail.com>
1727
e0855d7d
LL
1728 * obsolete/rcompile.el: Mark obsolete.
1729
f130cb76 1730 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
1731 (compilation-goto-locus, compilation-find-file):
1732 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
1733 (Bug#13594)
1734
1735 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
1736 new parameter no-display-ok. Return either a window or nil
1737 but never a non-window value.
f130cb76 1738
1f35d401
SM
17392013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1740
25158c76
SM
1741 * electric.el (electric-indent-mode-map): Remove.
1742 (electric-indent-mode): Change the global-map instead (bug#15915).
1743
1744 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1745 Use add-function.
1f35d401 1746
9bc67baa
SM
17472013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1748
986545b5
SM
1749 * emacs-lisp/nadvice.el (remove-function): Align with
1750 add-function's behavior.
1751
9bc67baa
SM
1752 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1753 (gdb--string-regexp): New constant.
1754 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1755 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1756 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1757 submatch 1.
1758 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1759 Adjust use accordingly.
1760 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1761
56cd894e
AS
17622013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1763
1764 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1765 interpolation curlies (Bug#15914).
1766
014690de
JB
17672013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1768
1769 * calc/calc.el (calc-context-sensitive-enter): New variable.
1770 (calc-enter): Use `calc-context-sensitive-enter'.
1771
7e26a6c3
TZ
17722013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1773
1774 * progmodes/cfengine.el: Version bump.
1775 (cfengine-cf-promises): New defcustom to locate cf-promises.
1776 (cfengine3-vartypes): Add new "data" type.
1777 (cfengine3--current-word): New function to get current name-like
1778 word or its bounds.
1779 (cfengine3--current-function): New function to look up a CFEngine
1780 function's definition.
1781 (cfengine3-format-function-docstring): New function.
1782 (cfengine3-make-syntax-cache): New function.
1783 (cfengine3-documentation-function): New function: ElDoc glue.
1784 (cfengine3-completion-function): New function: completion glue.
1785 (cfengine3-mode): Set `compile-command',
1786 `eldoc-documentation-function', and add to
1787 `completion-at-point-functions'.
1788
355204dd
MA
17892013-11-16 Michael Albinus <michael.albinus@gmx.de>
1790
1791 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1792 `tramp-current-connection'.
1793
43cebc23
DG
17942013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1795
1796 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1797 nil/self/true/false with "end of symbol".
1798
a3fed6ff
BB
17992013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1800
1801 * subr.el (version-regexp-alist): Fix a typo.
1802
e675b3e4
MA
18032013-11-15 Michael Albinus <michael.albinus@gmx.de>
1804
1805 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1806 "en_US.utf8" and "LC_CTYPE" to "".
1807 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1808 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1809
a1f03e89
LL
18102013-11-15 Leo Liu <sdl.web@gmail.com>
1811
1812 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1813
5d9d9451
SM
18142013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1815
58362662
CS
1816 * progmodes/gud.el (ctl-x-map):
1817 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
1818 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1819
6c1bf086
BB
18202013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1821
0d5363c4
BB
1822 * subr.el (version-regexp-alist):
1823 Recognize hg, svn and darcs versions as snapshot versions.
1824
4e9fc48c
BB
1825 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1826 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1827 (ruby--encoding-comment-required-p): Extract from
1828 `ruby-mode-set-encoding'.
1829 (ruby-mode-set-encoding): Add the ability to always insert an
1830 utf-8 encoding comment. Fix and simplify coding comment update
1831 logic.
6c1bf086 1832
2f7e72f8
MA
18332013-11-14 Michael Albinus <michael.albinus@gmx.de>
1834
1835 * net/tramp-gvfs.el (top): Run init code only when
1836 `tramp-gvfs-enabled' is not nil.
1837 (tramp-gvfs-enabled): Check also :system bus.
1838
0f137a73
SM
18392013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 Sync with upstream verilog-mode revision 78e66ba.
1842 * progmodes/verilog-mode.el (verilog-end-of-defun)
1843 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1844 (verilog-get-end-of-defun): Remove unused argument.
1845 (verilog-comment-depth): Remove unused local `e'.
1846 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1847 Don't pass arg to verilog-get-end-of-defun.
1848
1c276bdd
GM
18492013-11-14 Glenn Morris <rgm@gnu.org>
1850
1851 * obsolete/assoc.el (aget): Prefix dynamic variable.
1852
1853 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1854
ff6ec81d
SM
18552013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1856
1857 * widget.el, hfy-cmap.el: Remove bogus package version number.
1858
75f777b6
GM
18592013-11-13 Glenn Morris <rgm@gnu.org>
1860
1d43dba1
GM
1861 * replace.el (replace-eval-replacement):
1862 Try to give more helpful error message. (Bug#15836)
1863
ff4b7bd5
GM
1864 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1865 (archive-7z-update): Avoid custom type mismatches.
1866
75f777b6
GM
1867 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1868
11151a06
MA
18692013-11-13 Michael Albinus <michael.albinus@gmx.de>
1870
e675b3e4 1871 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
1872 address can be empty.
1873
1874 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1875 Accept nil SWITCHES.
1876 (tramp-gvfs-handle-write-region): Implement APPEND.
1877
7b08f97e
DG
18782013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1879
1880 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
1881 binary "|" operator and closing block args delimiter.
1882 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
1883 (ruby-smie--implicit-semi-p): Not after "|" operator.
1884 (ruby-smie--closing-pipe-p): New function.
1885 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1886 (ruby-smie-rules): Indent after "|".
1887
f201cf3a
GM
18882013-11-12 Glenn Morris <rgm@gnu.org>
1889
1890 * ps-print.el (ps-face-attribute-list):
1891 Handle anonymous faces. (Bug#15827)
1892
e6f759f9
MR
18932013-11-12 Martin Rudalics <rudalics@gmx.at>
1894
1895 * window.el (display-buffer-other-frame): Fix doc-string.
1896 (Bug#15868)
1897
ecda65d4
SM
18982013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1899
1900 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1901
7ce8fcc3
MA
19022013-11-11 Michael Albinus <michael.albinus@gmx.de>
1903
1904 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1905 (tramp-sh-handle-file-local-copy): Don't write a message when
1906 saving temporary files.
1907
1908 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1909 both directories are remote.
1910 (tramp-smb-handle-directory-files): Do not return double entries.
1911 Do not expand full file names.
1912 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1913 (tramp-smb-handle-write-region): Implement APPEND.
1914 (tramp-smb-get-stat-capability): Fix a stupid bug.
1915
7818df11
SM
19162013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1919
608c2085
NT
19202013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1921
1922 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1923 throwing error over malformed let/let* (bug#15814).
1924
122a7e46
SM
19252013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1926
1927 * iswitchb.el (iswitchb-mode): Mark obsolete.
1928
766284d9
GM
19292013-11-11 Glenn Morris <rgm@gnu.org>
1930
1931 * international/uni-bidi.el, international/uni-category.el:
1932 * international/uni-name.el, international/uni-numeric.el:
1933 Regenerate for Unicode 6.3.0.
1934
7072a4e9
MA
19352013-11-10 Michael Albinus <michael.albinus@gmx.de>
1936
1937 * net/tramp.el (tramp-methods):
1938 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1939 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1940
c9df215b
AS
19412013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1942
608c2085
NT
1943 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1944 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 1945
fa47d796
DG
19462013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1947
1948 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 1949 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
1950 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1951 (ispell-complete-word): Call `ispell-lookup-words' with the value
1952 independent of `ispell-look-p'.
1953
1629a329
DG
19542013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1955
1956 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1957 Not after "||".
1958 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1959 their parent.
1960
ad16897c
SM
19612013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1964 (ruby-font-lock-keywords): Use backquote.
1965
ffa2df72
DG
19662013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1967
1968 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1969 (ruby-smie--backward-token): Only consider full-string matches.
1970
5b97b4c0
JD
19712013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1972
1973 * faces.el (describe-face): Add distant-foreground.
1974
71731c03
BB
19752013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1976
4e9fc48c
BB
1977 * progmodes/ruby-mode.el: Improve encoding comment handling.
1978 (ruby-encoding-magic-comment-style): New option.
1979 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
1980 (ruby--insert-coding-comment, ruby--detect-encoding):
1981 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
1982 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1983 to control the style of the auto-inserted encoding comment.
71731c03 1984
da3b328d
DG
19852013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1986
ad16897c
SM
1987 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1988 Use `smie-backward-sexp' with token argument.
da3b328d 1989
1606c2d3
MA
19902013-11-08 Michael Albinus <michael.albinus@gmx.de>
1991
1992 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1993 Remove instrumentation code.
1994
b0f4c320
GM
19952013-11-08 Glenn Morris <rgm@gnu.org>
1996
1997 * progmodes/autoconf.el (autoconf-mode):
1998 Tweak comment-start-skip. (Bug#15822)
1999
43668fb1
SM
20002013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2003 at bobp (bug#15826).
2004 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2005
daddb3fd
DH
20062013-11-08 Darren Hoo <darren.hoo@gmail.com>
2007
2008 * man.el (Man-start-calling): New macro, extracted from
2009 Man-getpage-in-background.
2010 (Man-getpage-in-background): Use it.
2011 (Man-update-manpage): New command.
2012 (Man-mode-map): Bind it.
2013
1f923923
DG
20142013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2015
2016 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2017 of "and", "or", "&&" and "||".
2018 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2019 argument. Prohibit opening curly brace because it could only be a
2020 block opener in that position.
daddb3fd
DH
2021 (ruby-smie--forward-token, ruby-smie--backward-token):
2022 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2023 arguments.
2024 (ruby-smie--indent-to-stmt): New function, seeks the end of
2025 previous statement or beginning of buffer.
2026 (ruby-smie-rules): Use it.
2027 (ruby-smie-rules): Check if there's a ":" before a curly block
2028 opener candidate; if there is, it's a hash.
2029
3220d527
SM
20302013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2031
2032 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2033 (cl--block-wrapper): Fix last accidental change.
2034
1eb1f9e0
MA
20352013-11-07 Michael Albinus <michael.albinus@gmx.de>
2036
2037 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2038 Instrument, in order to hunt failure on hydra.
2039
e6e4db3c
NT
20402013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2041
2042 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2043 malformed bindings form (bug#15814).
2044
b420ccfc
DG
20452013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2046
2047 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2048 "." compared to " @ ". This incidentally fixes some indentation
2049 examples with "do".
e6e4db3c 2050 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2051 (ruby-smie-grammar): New tokens: "and" and "or".
2052 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2053 Exclude "and" and "or". Remove "do" in order to work around token
2054 priorities.
2055 (ruby-smie-rules): Add all infix tokens. Handle the case of
2056 beginning-of-buffer.
b420ccfc 2057
6b4ac03e
GM
20582013-11-06 Glenn Morris <rgm@gnu.org>
2059
2060 * Makefile.in (setwins_almost, setwins_for_subdirs):
2061 Avoid accidental matches.
2062
5ca114d1
SM
20632013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * menu-bar.el (popup-menu): Use key-binding.
2066
f72552bd
EZ
20672013-11-06 Eli Zaretskii <eliz@gnu.org>
2068
2069 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2070 menus, support also the menus produced by minor modes.
2071 (Bug#15817)
2072
5d5c701e
LL
20732013-11-06 Leo Liu <sdl.web@gmail.com>
2074
2075 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2076 DISTANCE to bound the search. All uses changed. (Bug#15808)
2077
0a8b75e2
GM
20782013-11-06 Glenn Morris <rgm@gnu.org>
2079
2080 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2081 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2082 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2083
a35287ea
SM
20842013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2085
feca4e2d
SM
2086 * electric.el (electric-indent-just-newline): New command.
2087 (electric-indent-mode-map): New keymap.
2088 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2089 Re-add :group which weren't redundant.
2090
a35287ea
SM
2091 * electric.el (electric-indent-local-mode): New minor mode.
2092 (electric-indent-functions-without-reindent): New var.
2093 (electric-indent-post-self-insert-function): Use it.
2094 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2095
375761b2
EZ
20962013-11-05 Eli Zaretskii <eliz@gnu.org>
2097
9a6ad735
EZ
2098 * international/quail.el (quail-help): Be more explicit about the
2099 meaning of the labels shown on the keys. (Bug#15800)
2100
375761b2
EZ
2101 * startup.el (normal-top-level): Load the subdirs.el files before
2102 setting the locale environment. (Bug#15805)
2103
520a6e4a
SM
21042013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2105
0acfafef
SM
2106 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2107 via arguments so as to get the right ones (bug#15418).
2108
520a6e4a
SM
2109 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2110
15826261
MA
21112013-11-05 Michael Albinus <michael.albinus@gmx.de>
2112
2113 Fix problems found while writing a test suite.
2114
2115 * net/tramp-compat.el (tramp-compat-load): New defun.
2116 * net/tramp.el (tramp-handle-load): Use it.
2117
2118 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2119 "(numberp ok-if-already-exists)" correctly.
2120
d35f31a4
XF
21212013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2122
2123 * international/characters.el (glyphless-char-display-control):
2124 Add usage note.
2125
ae93bc74
BB
21262013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2127
520a6e4a
SM
2128 * progmodes/python.el (python-mode):
2129 * progmodes/scheme.el (scheme-mode):
2130 * progmodes/prolog.el (prolog-mode):
2131 * progmodes/ruby-mode.el (ruby-mode):
2132 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2133 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2134
0ade65b5
SM
21352013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2136
a0d5f7a4
SM
2137 * rect.el (rectangle--highlight-for-redisplay):
2138 * emacs-lisp/smie.el (smie--next-indent-change):
2139 Use buffer-chars-modified-tick.
2140
c93f3f5c
SM
2141 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2142
0ade65b5
SM
2143 * electric.el (electric-indent-post-self-insert-function):
2144 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2145
ef9dd188
HE
21462013-11-04 Helmut Eller <eller.helmut@gmail.com>
2147
2148 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2149
306e7308
NT
21502013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2151
2152 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2153 (bug#15786).
2154
e5afbcac
SM
21552013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2156
1d01ad41
SM
2157 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2158
e5afbcac
SM
2159 * progmodes/python.el: Fix up last change.
2160 (python-shell--save-temp-file): New function.
2161 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2162 `string' comes from the current buffer.
2163 (python-shell-send-string-no-output): Remove `msg' arg.
2164 (python--use-fake-loc): New var.
2165 (python-shell-buffer-substring): Obey it. Try to compensate for the
2166 extra coding line added by python-shell--save-temp-file.
2167 (python-shell-send-region): Use python-shell--save-temp-file and
2168 python-shell-send-file directly. Add `nomain' argument.
2169 (python-shell-send-buffer): Use python-shell-send-region.
2170 (python-electric-pair-string-delimiter): New function.
2171 (python-mode): Use it.
2172
d0065ff1
EZ
21732013-11-04 Eli Zaretskii <eliz@gnu.org>
2174
2175 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2176 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2177 environment and decoding all of the default-directory's to here
2178 from command-line.
2179 (command-line): Decode also argv[0].
2180
2181 * loadup.el: Error out if default-directory is a multibyte string
2182 when we are dumping.
2183
2184 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2185
7397c587
TZ
21862013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2187
2188 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2189 (package-menu--print-info, package-menu--archive-predicate):
2190 Add Archive column to package list.
7397c587 2191
b27cc9fc
MA
21922013-11-04 Michael Albinus <michael.albinus@gmx.de>
2193
2194 Fix problems found while writing a test suite.
2195
2196 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2197 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2198 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2199 to nil when running original file name handler. Otherwise,
2200 there are problems with constructs like "$$FOO".
2201
2202 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2203 for `localname'.
2204
d8c4f18a
BB
22052013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2206
7b530552
BB
2207 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2208
2209 * subr.el (version<, version<=, version=):
2210 Update docstrings with information for snapshot versions.
2211
d8c4f18a
BB
2212 * helpers.el: New library for misc helper functions.
2213 (hash-table-keys): New function returning a list of hash keys.
2214 (hash-table-values): New function returning a list of hash values.
2215
dca01b09
DG
22162013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2217
2218 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2219 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2220
0a749fa0
MN
22212013-11-04 Michal Nazarewicz <mina86@mina86.com>
2222
2223 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2224 checking whether point is after a 1-letter word.
2225
22262013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
2227
2228 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2229 Don't infloop when expanding region over `multiline' syntax-type that
2230 begins a line (bug#15778).
2231
4aca7145
SM
22322013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2233
2234 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2235 Make it into a proper minor mode.
2236 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2237 (rectangle-mark-mode-map): New keymap.
2238 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2239
a0833f62
GM
22402013-11-04 Glenn Morris <rgm@gnu.org>
2241
2242 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2243
e61845c1
SM
22442013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2247 (ruby-smie-rules): Use smie-rule-parent instead.
2248
2249 * emacs-lisp/smie.el (smie-rule-parent): Always call
2250 smie-indent-virtual rather than only for hanging tokens.
2251 (smie--next-indent-change): New helper command.
2252
62942f89
GM
22532013-11-03 Glenn Morris <rgm@gnu.org>
2254
2255 * Makefile.in (abs_srcdir): Remove.
2256 (emacs): Unset EMACSLOADPATH.
2257
b0b9e592
GM
22582013-11-02 Glenn Morris <rgm@gnu.org>
2259
18ba6a33 2260 * Makefile.in (EMACS): Use a relative filename.
8061810d 2261 (abs_top_builddir): Remove.
18ba6a33
GM
2262 (custom-deps, finder-data, autoloads): Use --chdir.
2263
6a8b929e
GM
2264 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2265
c617f3d0
GM
2266 Use relative filenames in TAGS files.
2267 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2268 (lisptagsfiles4, TAGS): Use relative file names.
2269 (TAGS-LISP): Remove.
2270 (maintainer-clean): No more TAGS-LISP file.
2271
b0b9e592
GM
2272 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2273 (lisptagsfiles4): Use absolute filenames again.
2274 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2275 Remove all *loaddefs files, not just the first. Remove esh-groups.
2276 (maintainer-clean): Delete TAGS, TAGS-LISP.
2277
d1c0ea6a
BB
22782013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2279
e61845c1
SM
2280 * emacs-lisp/package.el (package-version-join):
2281 Recognize snapshot versions.
d1c0ea6a 2282
684d71c6
BB
22832013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2284
2285 * subr.el (version-regexp-alist): Add support for snapshot versions.
2286
3d42b968
DG
22872013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2288
e61845c1
SM
2289 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2290 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
2291 skip over our direct parent if it's an assignment token..
2292 (ruby-smie-rules): Use it.
2293
7ffd3721
DG
22942013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2295
2296 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2297 unconditionally. Remove now unnecessary forward declarations.
2298 Remove XEmacs-specific setup.
2299 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2300 (ruby-font-lock-syntactic-keywords)
2301 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2302 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2303 (ruby-here-doc-end-syntax): Remove.
2304 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2305 defined as function.
2306
a3996a2e
BB
23072013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2308
2309 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2310
6f9260e8
BB
23112013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2312
2313 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2314 table and abbrev table, `define-derived-mode' does that for us
2315 anyway.
2316
6014de84
GM
23172013-11-01 Glenn Morris <rgm@gnu.org>
2318
2319 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2320 files is atomic for some time, so no parallel compilation issues).
2321
3c334c14
JD
23222013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2323
2324 * faces.el (face-x-resources): Add :distant-foreground.
2325 (region): Use :distant-foreground for gtk and ns.
2326
9bc236c8
TH
23272013-11-01 Tassilo Horn <tsdh@gnu.org>
2328
5246583b 2329 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
2330 BibTeX.
2331 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2332 (reftex-locate-bibliography-files): Us it.
2333
d14c81ee
CB
23342013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2335
0e7690de
CB
2336 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2337 allow comments in pbm files.
2338
d14c81ee
CB
2339 * term/w32-win.el (dynamic-library-alist): Support newer versions
2340 of libjpeg starting with v7: look only for the DLL from the
2341 version against which Emacs was built.
ac1bf374 2342 Support versions of libpng beyond 1.4.x.
019c8218 2343 Support libtiff v4.x.
d14c81ee 2344
983d0df5
BB
23452013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2346
2347 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2348 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2349 Add property :safe.
2350 (ruby-deep-arglist): Add property :type.
2351
47f58d85
GM
23522013-10-31 Glenn Morris <rgm@gnu.org>
2353
2354 * Makefile.in (custom-deps, finder-data): No need to setq the target
2355 variables, we are in the right directory and the defaults work fine.
2356
4f85b479
GM
23572013-10-30 Glenn Morris <rgm@gnu.org>
2358
ca7dd4cd
GM
2359 * Makefile.in (autoloads): Do not use abs_lisp.
2360
4f85b479
GM
2361 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2362 `newline' does not respect `standard-output', so use `princ'.
2363
cf59e41c
AA
23642013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2365
2366 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2367 * buff-menu.el (Buffer-menu--unmark): New function.
2368 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2369
74cf04fb
GM
23702013-10-30 Glenn Morris <rgm@gnu.org>
2371
b040b60e
GM
2372 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2373
f53d3815
GM
2374 * emacs-lisp/package.el (lm-homepage): Declare.
2375
5413d873
GM
2376 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2377 Fix doc typos.
2378
cecedb36
GM
2379 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2380
74cf04fb
GM
2381 * Makefile.in (finder-data, autoloads, update-subdirs)
2382 (compile-main, compile-clean, compile-always, bootstrap-clean):
2383 Check return value of cd.
2384 (compile-calc): Remove.
2385
195ee2f0
SM
23862013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2387
ae4002ce
SM
2388 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2389
2390 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2391 (byte-compile-and-folded): New function.
2392 (=, <, >, <=, >=): Use it.
2393
2394 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2395 (path-separator, null-device, buffer-file-coding-system)
2396 (lpr-headers-switches): Check system-type before modifying them.
2397 (find-buffer-file-type-coding-system): Mark obsolete.
2398 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2399 find-file-not-found-set-buffer-file-coding-system.
2400 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2401 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2402 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2403 (w32-direct-print-region-helper, w32-direct-print-region-function)
2404 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2405 * startup.el (normal-top-level-add-subdirs-to-load-path):
2406 * ps-print.el (ps-print-region-function):
2407 * lpr.el (print-region-function): Use new name.
2408
53b39e89
SM
2409 * subr.el (custom-declare-variable-early): Remove function.
2410 (custom-declare-variable-list): Remove var.
2411 (error, user-error): Remove `while' loop.
2412 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2413 (user-emacs-directory-warning, locate-user-emacs-file):
2414 Move to files.el.
2415 * simple.el (read-quoted-char-radix, read-quoted-char):
2416 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2417 Move from subr.el.
2418 * custom.el (custom-declare-variable-list): Don't process
2419 custom-declare-variable-list.
2420
195ee2f0
SM
2421 * progmodes/python.el (python-shell-get-buffer): New function.
2422 (python-shell-get-process): Use it.
2423 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2424 Python which encoding was used. Don't split-string since we only care
2425 about the first line. Return the temp-file, if applicable.
2426 (python-shell-send-region): Tell compile.el how to turn locations in
2427 the temp-file into locations in the source buffer.
2428
7e3561ee
SM
24292013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2430
4c9797cb
SM
2431 * subr.el (undefined): Add missing behavior from the C code for
2432 unbound keys.
2433
3472b6c6
SM
2434 * rect.el: Use lexical-binding. Add new rectangular region support.
2435 (rectangle-mark): New command.
2436 (rectangle--region): New var.
2437 (deactivate-mark-hook): Reset rectangle--region.
2438 (rectangle--extract-region, rectangle--insert-for-yank)
2439 (rectangle--highlight-for-redisplay)
2440 (rectangle--unhighlight-for-redisplay): New functions.
2441 (region-extract-function, redisplay-unhighlight-region-function)
2442 (redisplay-highlight-region-function): Use them to handle
2443 rectangular region.
2444 * simple.el (region-extract-function): New var.
2445 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2446 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2447 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2448 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2449 (redisplay-unhighlight-region-function)
2450 (redisplay-highlight-region-function): New vars.
2451 (redisplay--update-region-highlight): New function.
2452 (pre-redisplay-function): Use it.
2453 (exchange-point-and-mark): Don't deactivate the mark before
2454 reactivate-it anyway.
2455 * comint.el (comint-kill-region): Remove yank-handler argument.
2456 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2457 (delete-char): Remove property, since it's now part of their
2458 default behavior.
2459 (self-insert-iso): Remove property since this command doesn't exist.
2460
7e3561ee
SM
2461 * emacs-lisp/package.el (package--download-one-archive)
2462 (describe-package-1): Don't query the user about final newline.
2463
b9bef71f
DC
24642013-10-29 Daniel Colascione <dancol@dancol.org>
2465
2466 * net/tramp.el (tramp-methods): Document new functionality.
2467 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2468 tramp-hostname-checker if method provides one instead of scanning
2469 argument list for "%h" to decide hostname acceptability.
2470
4efc33f0
MA
24712013-10-28 Michael Albinus <michael.albinus@gmx.de>
2472
2473 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2474 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2475 Handle COPY-CONTENTS. (Bug#15737)
2476
ed42a877
DU
24772013-10-28 Daiki Ueno <ueno@gnu.org>
2478
2479 * epa-file.el
7e3561ee
SM
2480 (epa-file-cache-passphrase-for-symmetric-encryption):
2481 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 2482
18c9f8a2
XF
24832013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2484
7a4bc7be
XF
2485 * image.el (defimage):
2486 (image-load-path): Doc fixes.
18c9f8a2 2487
b1e8e010
AM
24882013-10-27 Alan Mackenzie <acm@muc.de>
2489
2490 Indent statements in macros following "##" correctly.
7e3561ee
SM
2491 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2492 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 2493
73d40d1e 24942013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
2495
2496 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2497
c8c605ac
DG
24982013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2499
2500 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2501 after `=' is probably a new expression.
2502
ca7e59d4
RS
25032013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2504
2505 * man.el (man-imenu-title): New option.
2506 (Man-mode-map): Add menu. (Bug#15722)
2507 (Man-mode): Add imenu to menu.
2508
bae91342
DG
25092013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2510
2511 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2512 specific in what the first arg can be: a non-keyword word,
2513 string/regexp/percent literal opener, opening paren, or unary
2514 operator followed directly by word.
2515
eb89dc14
SM
25162013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2519 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2520 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2521 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2522 Remove vars, they do not apply any more.
2523 (prolog-mode-abbrev-table): Remove redundant declaration.
2524 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2525 (prolog-use-smie): Remove.
2526 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2527 supported by prolog-electric-if-then-else-flag.
2528 (prolog-mode-variables, prolog-menu): Use setq-local.
2529 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2530 Remove binding to `Backspace' since this key doesn't exist anyway.
2531 Remove bindings for electric self-inserting keys.
2532 (prog-mode): Assume it's defined.
2533 (prolog-post-self-insert): New function.
2534 (prolog-mode): Use it.
2535 (prolog-indent-line, prolog-indent-level)
2536 (prolog-find-indent-of-matching-paren)
2537 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2538 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2539 (prolog-goto-next-paren, prolog-in-string-or-comment)
2540 (prolog-tokenize, prolog-inside-mline-comment)
2541 (prolog-find-start-of-mline-comment): Remove functions.
2542 (prolog-find-unmatched-paren, prolog-clause-end)
2543 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2544 (prolog-electric--if-then-else): Rename from
2545 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2546 (prolog-tokenize-searchkey): Remove const.
2547 (prolog-clause-info): Use forward-sexp.
2548 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2549 (prolog-electric-if-then-else): Remove commands.
2550 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2551 for use in post-self-insert-hook.
2552 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2553 for use in post-self-insert-hook.
2554 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2555 for use in post-self-insert-hook.
2556 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2557 adapt it for use in post-self-insert-hook.
2558
3dab0a83
MA
25592013-10-25 Michael Albinus <michael.albinus@gmx.de>
2560
2561 * emacs-lisp/ert.el (ert-run-tests-interactively):
2562 Use `completing-read'. (Bug#9756)
2563
fbfd0e1d
EZ
25642013-10-25 Eli Zaretskii <eliz@gnu.org>
2565
2566 * simple.el (line-move): Call line-move-1 instead of
2567 line-move-visual when the current window hscroll is zero, but
2568 temporary-goal-column indicates we will need to hscroll as result
2569 of the movement. (Bug#15712)
2570
963ce636
DG
25712013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2572
2573 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
2574 capitalization. Use :visible instead of :active.
2575 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
2576 commands that are used with SMIE.
2577 (ruby-do-end-to-brace): Insert space after `{'.
2578
a0be396a
JA
25792013-10-25 John Anthony <john@jo.hnanthony.com>
2580
f73754c9
JA
2581 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2582
2583 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 2584
f5bf77df
GM
25852013-10-25 Glenn Morris <rgm@gnu.org>
2586
2587 * vc/vc.el (vc-print-log): Don't use a working revision unless
2588 one was explicitly specified. (Bug#15322)
2589
37241f62
SM
25902013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * subr.el (add-to-list): Preserve return value in compiler-macro
2593 (bug#15692).
2594
6408a65d
RS
25952013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2596
2597 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2598 result. Ask user to retry using '-all' flag. (Bug#15701)
2599
71e3276b
SM
26002013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2601
2602 * emacs-lisp/smie.el: New smie-config system.
2603 (smie-config): New defcustom.
2604 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2605 (smie-config-guess, smie-config-save): New commands.
2606 (smie-config--mode-local, smie-config--buffer-local)
2607 (smie-config--trace, smie-config--modefuns): New vars.
2608 (smie-config--advice, smie-config--mode-hook)
2609 (smie-config--setter, smie-config-local, smie-config--get-trace)
2610 (smie-config--guess-value, smie-config--guess): New functions.
2611 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2612 text properties. Treat "string fence" syntax like string syntax.
2613
2614 * progmodes/sh-script.el (sh-use-smie): Change default.
2615 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2616 (sh-var-value): Simplify by CSE.
2617 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2618 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2619 is used.
2620 (sh-guess-basic-offset): Use cl-incf.
2621 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2622
60db713e
HE
26232013-10-24 Helmut Eller <eller.helmut@gmail.com>
2624
2625 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2626 (bug#15699).
2627
8b251df6
GM
26282013-10-24 Glenn Morris <rgm@gnu.org>
2629
2630 * Makefile.in (abs_top_srcdir): Remove.
2631 (update-subdirs): Use relative path to update-subdirs.
2632
6be0e22b
EZ
26332013-10-24 Eli Zaretskii <eliz@gnu.org>
2634
2635 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2636 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
2637 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2638 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 2639
50b5b857
MA
26402013-10-24 Michael Albinus <michael.albinus@gmx.de>
2641
2642 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2643 (ert-test-skipped): New error.
2644 (ert-skip, ert-stats-skipped): New defuns.
2645 (ert--skip-unless): New macro.
2646 (ert-test-skipped): New struct.
2647 (ert--run-test-debugger, ert-test-result-type-p)
2648 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2649 (ert--stats-set-test-and-result, ert-char-for-test-result)
2650 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 2651 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 2652 Handle skipped tests. (Bug#9803)
50b5b857 2653
6f317c2f
GM
26542013-10-24 Glenn Morris <rgm@gnu.org>
2655
e43817c1
GM
2656 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2657
6f317c2f
GM
2658 * Makefile.in (abs_top_srcdir): New, set by configure.
2659 (update-subdirs): Correct build-aux location.
2660
369bbf71
DG
26612013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2662
8297b2cf
DG
2663 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2664 value, whether we could auto-deduce `backend', or not.
2665
369bbf71
DG
2666 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2667 with parameters" example. Simplify the "is it block or is it
2668 hash" check, but also make it more thorough.
2669
d5f1282f
MF
26702013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2671
2672 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2673
bc4aaa31
SM
26742013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2675
03d44565
SM
2676 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2677 { if it is hanging.
2678
bc4aaa31
SM
2679 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2680 :before ";".
2681
f493ff19
JB
26822013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2683
2684 * progmodes/compile.el (compilation-directory-matcher)
2685 (compilation-page-delimiter):
2686 Support GNU Make-4.0 directory quoting. (Bug#15678)
2687
c744a3b9
LL
26882013-10-23 Leo Liu <sdl.web@gmail.com>
2689
2690 * ido.el (ido-tidy): Handle read-only text.
2691
b8e3b0a9
GM
26922013-10-23 Glenn Morris <rgm@gnu.org>
2693
2694 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2695 (emacs, compile, compile-always):
2696 Quote entities that might contain whitespace.
2697 (custom-deps, finder-data, autoloads): Use abs_lisp.
2698 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2699 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2700 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2701
ee4282cd
DG
27022013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2703
bc4aaa31
SM
2704 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2705 Use `following-char'.
7790a270 2706
ee4282cd 27072013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
2708
2709 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2710 * progmodes/ruby-mode.el (ruby-smie-rules):
2711 Remove corresponding workaround. Fix indentation rule of ";" so it
2712 also applies when ";" is the parent.
2713
d40a46d7
XF
27142013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2715
2716 * frame.el (display-screens, display-pixel-height)
2717 (display-pixel-width, display-mm-width, display-backing-store)
2718 (display-save-under, display-planes, display-color-cells)
7790a270
SM
2719 (display-visual-class, display-monitor-attributes-list):
2720 Mention the optional ‘display’ argument in doc strings.
d40a46d7 2721
a0f143c9
MG
27222013-10-22 Michael Gauland <mikelygee@amuri.net>
2723
2724 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2725 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2726
18cacc39
DG
27272013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2728
2729 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2730 TODO. Add "." after " @ ".
2731 (ruby-smie--at-dot-call): New function. Checks if point at method
2732 call with explicit target.
2733 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2734 to the method name tokens when it precedes them.
2735 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2736 (ruby-smie-rules): Add rule for indentation before and after "."
2737 token.
2738
df74c4be
SM
27392013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2740
c6dab55f
SM
2741 * textmodes/remember.el (remember-diary-extract-entries):
2742 Avoid add-to-list.
2743
df74c4be
SM
2744 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2745 an instruction.
2746
8c1ae481
DG
27472013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2748
cfef16c0
DG
2749 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2750 (ruby-smie--implicit-semi-p): Add new operator chars.
2751
8c1ae481
DG
2752 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2753 `smie-down-list'.
2754 (ruby-smie--args-separator-p): Check that there's no newline
2755 between method call and its arguments.
2756
87756ca9
AM
27572013-10-20 Alan Mackenzie <acm@muc.de>
2758
2759 Allow comma separated lists after Java "implements".
2760
df74c4be
SM
2761 * progmodes/cc-engine.el (c-backward-over-enum-header):
2762 Parse commas.
87756ca9
AM
2763 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2764 from a "disallowed" list in enum fontification.
2765
c25f8957
JB
27662013-10-20 Johan Bockgård <bojohan@gnu.org>
2767
df74c4be 2768 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 2769
c25f8957
JB
2770 * progmodes/verilog-mode.el (verilog-mode): Don't set
2771 comment-indent-function globally.
2772
aca5fcdc
JD
27732013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2774
5f161884
JD
2775 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2776 Move Info menu item creation to ns-win.el.
2777
2778 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2779 in menu bar.
2780
aca5fcdc
JD
2781 * menu-bar.el: Move GNUStep specific menus...
2782
2783 * term/ns-win.el (ns-initialize-window-system): ... to here.
2784
914b7f98
SM
27852013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * simple.el (newline): Only run post-self-insert-hook when
2788 called interactively.
2789
846ffe77
JB
27902013-10-19 Johan Bockgård <bojohan@gnu.org>
2791
2792 * icomplete.el (icomplete-with-completion-tables): Add :version.
2793
033f22dd
AM
27942013-10-19 Alan Mackenzie <acm@muc.de>
2795
2796 Fix fontification bugs with constructors and const.
2797
2798 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2799 CASE 2) Remove the check for the absence of a suffix construct
2800 after a function declaration with only types (no identifiers) in
2801 the parentheses. Also, accept a function declaration with just a
2802 type inside the parentheses, if this type can be positively
2803 recognised as such, or if a prefix keyword like "explicit" nails
2804 down the construct as a declaration.
2805
58ce0cfc
EZ
28062013-10-19 Eli Zaretskii <eliz@gnu.org>
2807
2808 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2809 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2810 the problem whereby selecting a menu item that leads to a
2811 minibuffer prompt moves the cursor out of the minibuffer window,
2812 making it hard to type at the prompt. Suggested by Stefan Monnier
2813 <monnier@iro.umontreal.ca>.
2814
50e28e7d
JD
28152013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2816
2817 * menu-bar.el: Don't make Services menu.
2818
7deed4bf
RS
28192013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2820
2821 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2822 (ffap-alist): Use ffap-c++-mode for c++-mode.
2823 (ffap-c++-path): New variable.
2824 (ffap-c++-mode): New function.
2825
7bcb455b
JVJ
28262013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2827
2828 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2829
f0ff1cd5
MA
28302013-10-18 Michael Albinus <michael.albinus@gmx.de>
2831
2832 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2833 introduced on 2013-09-08, which results in an infinite loop
2834 requesting a password.
2835
d64da4b7
GM
28362013-10-18 Glenn Morris <rgm@gnu.org>
2837
2838 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2839
ea89ff08
WS
28402013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2841
2842 Sync with upstream verilog-mode revision 1a6ecec7.
2843 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2844 (verilog-mode-release-date): Remove.
2845 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2846 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2847 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2848 (verilog-auto-tieoff-ignore-regexp)
2849 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2850 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2851 (verilog-signals-with, verilog-dir-cache-preserving)
2852 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2853 Doc fixes.
2854 (verilog-case-fold): New option, to control case folding in
2855 regexp searches, bug597.
2856 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2857 (verilog-string-match-fold, verilog-in-paren-count)
2858 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2859 (verilog-at-close-struct-p): New functions.
2860 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2861 (verilog-forward-sexp, verilog-set-auto-endcomments):
2862 (verilog-leap-to-case-head): Handle "unique0" case.
2863 (verilog-in-constraint-re): New constant.
2864 (verilog-keywords, verilog-type-font-keywords):
2865 Add some SystemVerilog 1800-2012 keywords.
2866 (verilog-label-be): Remove unimplemented argument, bug669.
2867 (verilog-batch-execute-func): When batch expanding clear
2868 create-lockfiles to prevent spurious user locks when a file ends
2869 up not changing.
2870 (verilog-calculate-indent, verilog-calc-1)
2871 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2872 (verilog-do-indent): Fix indentation of nested constraints
2873 and structures.
2874 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2875 (verilog-auto-inst-param): Use verilog-string-match-fold.
2876 (verilog-read-inst-module-matcher):
2877 Fix AUTOINST on gate primitives with #1.
2878 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2879 Reads all user-defined typed variables.
2880 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2881 (verilog-signals-matching-regexp)
2882 (verilog-signals-not-matching-regexp, verilog-auto):
2883 Respect verilog-case-fold.
2884 (verilog-diff-report): Fix line count.
2885 (verilog-auto-assign-modport): Remove unused local `modi'.
2886 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2887 better handle multidimensional arrays.
2888 Fix packed array ports misadding bit index in AUTOINST, bug637.
2889 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2890 to not double-declare existing outputs and inputs, respectively.
2891 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2892 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2893 (verilog-sk-uvm-component): New skeleton.
2894 (verilog-submit-bug-report): Add verilog-case-fold,
2895 remove verilog-mode-release-date.
2896
ef566920
BR
28972013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2898
2899 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2900 as before.
2901
29df8a0b
RT
29022013-10-18 Reuben Thomas <rrt@sc3d.org>
2903
e0eb0550 2904 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
2905 remember buffers (bug#13566).
2906
04a19a79
DC
29072013-10-18 Daniel Colascione <dancol@dancol.org>
2908
2909 When evaluating forms in ielm, direct standard output to ielm
2910 buffer. Add new ielm-return-for-effect command. Remove trailing
2911 whitespace throughout.
2912
2913 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2914 (ielm-return-for-effect): New command.
2915 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
2916 (ielm-eval-input): Accept optional `for-effect' parameter.
2917 Bind `standard-output' to stream we create using
04a19a79
DC
2918 `ielm-standard-output-impl'. Suppress printing result when
2919 `for-effect'.
2920 (ielm-standard-output-impl): New function.
2921 (inferior-emacs-lisp-mode): Explain new features in documentation.
2922
4c1f03ef
MA
29232013-10-17 Michael Albinus <michael.albinus@gmx.de>
2924
2925 Code cleanup.
2926
2927 * net/tramp.el (tramp-debug-message): Do not check for connection
2928 buffer.
2929 (tramp-message): Use "vector" connection property.
2930
2931 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2932 (tramp-equal-remote, tramp-eshell-directory-change)
2933 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2934 (tramp-adb-handle-rename-file)
2935 * net/tramp-cmds.el (tramp-list-remote-buffers)
2936 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2937 * net/tramp-compat.el (tramp-compat-process-running-p)
2938 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2939 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2940 (tramp-gvfs-handle-rename-file)
2941 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2942 (tramp-set-file-uid-gid)
2943 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2944 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2945 of `file-remote-p'.
2946
2947 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2948 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2949 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2950 (tramp-gw-open-network-stream): Suppress unrelated traces.
2951
2952 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2953 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2954 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2955 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2956 connection property.
2957
2958 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 2959 persistency file.
4c1f03ef
MA
2960
2961 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2962 Refactor common code. Improve debug message.
2963 (tramp-maybe-open-connection)
2964 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2965 connection buffer too early.
2966
2967 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2968 from `tramp-smb-actions-with-acl'.
2969 (tramp-smb-actions-set-acl): New defconst.
2970 (tramp-smb-handle-copy-directory)
2971 (tramp-smb-action-get-acl): New defun, renamed from
2972 `tramp-smb-action-with-acl'.
2973 (tramp-smb-action-set-acl): New defun.
2974 (tramp-smb-handle-set-file-acl): Rewrite.
2975
642eb8b6
GM
29762013-10-17 Glenn Morris <rgm@gnu.org>
2977
2978 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2979
85527ff3
SM
29802013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2981
921c1d62
SM
2982 * skeleton.el (skeleton-newline): Remove.
2983 (skeleton-internal-1): Use (insert "\n") instead.
2984
e333fb10
SM
2985 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2986 let-bindings.
2987
85527ff3
SM
2988 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2989 forward-sexp-function while we redo its job (bug#15613).
2990
c8722a97
JB
29912013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2992
2993 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2994 represented by lists.
2995
7a550bbb
GM
29962013-10-16 Glenn Morris <rgm@gnu.org>
2997
2998 * tmm.el (tmm--history): New dynamic variable.
2999 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3000
f19da8ad
MA
30012013-10-16 Michael Albinus <michael.albinus@gmx.de>
3002
3003 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3004 (tramp-smb-errors): Add error messages.
3005 (tramp-smb-actions-with-acl): New defconst.
3006 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3007 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3008 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3009 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3010 (tramp-smb-get-stat-capability): Fix tests.
3011
a24b9961
DK
30122013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3013
3014 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3015 (bug#15580).
3016
62ad85e6
GM
30172013-10-16 Glenn Morris <rgm@gnu.org>
3018
0283d6b0
GM
3019 * ansi-color.el (ansi-color-drop-regexp):
3020 Add 1J, 1K, 2K. (Bug#15617)
3021
012e2f9f
GM
3022 * files.el (hack-local-variables--warned-lexical): New.
3023 (hack-local-variables):
3024 Warn about misplaced lexical-binding. (Bug#15616)
3025
62ad85e6
GM
3026 * net/eww.el (eww-render): Always set eww-current-url,
3027 and update header line. (Bug#15622)
3028 (eww-display-html): ... Rather than just doing it here.
3029
6456c0ea
EZ
30302013-10-15 Eli Zaretskii <eliz@gnu.org>
3031
3032 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3033 menu navigations commands.
3034
c2de5588
DK
30352013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3036
3037 * progmodes/subword.el (subword-capitalize): Be careful when
3038 the search for [[:alpha:]] fails (bug#15580).
3039
ccd4a783
EZ
30402013-10-14 Eli Zaretskii <eliz@gnu.org>
3041
3042 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3043 to commands that scroll the menu.
3044
1eda1d8d
DG
30452013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3046
c2de5588
DK
3047 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3048 Handle methods ending with `?' and `!'.
1eda1d8d 3049
e70181b8
AM
30502013-10-14 Akinori MUSHA <knu@iDaemons.org>
3051
3052 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3053 `japanese-cp932' to `cp932' to fix the problem where saving a
3054 source file written in Shift_JIS twice would end up having
3055 `coding: japanese-cp932' which Ruby could not recognize.
3056 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3057 in `ruby-encoding-map'.
3058 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3059 doesn't need to be explicitly declared in magic comment.
3060 (ruby-encoding-map): Add type declaration for better customize UI.
3061
9148ee92
GM
30622013-10-13 Glenn Morris <rgm@gnu.org>
3063
a5d38e34
GM
3064 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3065 Occur buffers are read-only. http://bugs.debian.org/720775
3066
9148ee92
GM
3067 * emacs-lisp/authors.el (authors-fixed-entries):
3068 Comment out old alpha stuff.
3069
a9ba094b
DG
30702013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3071
3072 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3073 to `after-save-hook' instead of `before-save-hook'.
3074 (ruby-mode-set-encoding): Use the value of coding system used to
3075 write the file. Call `basic-save-buffer-1' after modifying the
3076 buffer.
3077
7a068717
AM
30782013-10-13 Alan Mackenzie <acm@muc.de>
3079
3080 Fix indentation/fontification of Java enum with
3081 "implements"/generic.
3082
c2de5588
DK
3083 * progmodes/cc-engine.el (c-backward-over-enum-header):
3084 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3085 (c-inside-bracelist-p): Uses new function above.
3086 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3087 function above.
3088 (c-font-lock-enum-tail): Uses new function above.
3089
85b64f02
KH
30902013-10-13 Kenichi Handa <handa@gnu.org>
3091
3092 * international/mule-cmds.el (select-safe-coding-system): Remove a
3093 superfluous condition in chekcing whether a coding system is safe
3094 or not.
3095
fc7f501b
OK
30962013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3097
3098 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3099
fdcb2049
AP
31002013-10-13 Andreas Politz <politza@hochschule-trier.de>
3101
3102 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3103
8c106d17
GM
31042013-10-13 Glenn Morris <rgm@gnu.org>
3105
feab892d
GM
3106 * menu-bar.el (menu-bar-update-buffers):
3107 Unify Buffers menu prompt string. (Bug#15576)
3108
b22d0686
GM
3109 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3110
8c106d17
GM
3111 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3112 Add some entries.
3113 (authors-fixed-entries): Use accented form of name.
3114
1b12c797
SM
31152013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3116
650fa7bf 3117 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3118 method calls (bug#15594).
650fa7bf
SM
3119 (ruby-smie--args-separator-p): New function.
3120 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3121 recognize paren-free method calls.
3122
1b12c797
SM
3123 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3124 internals of universal-argument.
3125
029619c8
EZ
31262013-10-11 Eli Zaretskii <eliz@gnu.org>
3127
3128 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3129 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3130 dropped menu on second mouse click on the menu bar.
029619c8 3131
dd070019
SM
31322013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3135 (explicit-shell-file-name): Declare.
3136 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3137 (sh-completion-at-point-function): New function.
3138 (sh-mode): Use it.
3139 (sh-smie--keyword-p): Remove unused argument.
3140 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3141 vars.
3142 (sh-set-shell): Always setup SMIE, even if we use the
3143 old indentation code.
3144
0922b826
DG
31452013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3146
b68e2926
DG
3147 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3148 cases of ? and =.
3149 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3150 predicate would return nil are almost non-existent.
3151 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3152
0922b826
DG
3153 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3154 cache also after commands that modify the buffer but don't move
3155 point.
3156
ee041f2d
SM
31572013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3158
3159 * env.el (substitute-env-in-file-name): New function.
3160 (substitute-env-vars): Extend the meaning of the optional arg.
3161
a5dab159
EZ
31622013-10-10 Eli Zaretskii <eliz@gnu.org>
3163
3164 * term/w32-win.el (dynamic-library-alist): Define separate lists
3165 of GIF DLLs for versions before and after 5.0.0 of giflib.
3166 (Bug#15531)
3167
0449d6cd 31682013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3169
3170 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3171 not locked, use last revision and current source as
3172 defaults. (Bug#15569)
3173
2f6e161e
MY
31742013-10-10 Masatake YAMATO <yamato@redhat.com>
3175
3176 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3177 menu-bar is hidden.
3178
6c8413fc
MR
31792013-10-10 Martin Rudalics <rudalics@gmx.at>
3180
3181 * window.el (pop-to-buffer-same-window): Fix doc-string.
3182 (Bug#15492)
3183
20832de0
SM
31842013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3187
c6e8ae77
AC
31882013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3189
3190 * calendar/icalendar.el (icalendar-import-file):
3191 Fix interactive spec. (Bug#15482)
3192
9db13baf
GM
31932013-10-10 Glenn Morris <rgm@gnu.org>
3194
9271e90e
GM
3195 * desktop.el (desktop-save): Default to saving in .emacs.d,
3196 since PWD is no longer in desktop-path by default. (Bug#15319)
3197
9db13baf
GM
3198 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3199 now that text mode has a menu with the same entry.
3200 (menu-bar-text-mode-auto-fill): Remove now unused func.
3201 * textmodes/text-mode.el (text-mode-map):
3202 Use auto-fill help text from menu-bar.el.
3203
a0be396a 32042013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
3205
3206 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3207
2edcd3c7
JL
32082013-10-09 Juri Linkov <juri@jurta.org>
3209
3210 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3211 instead of this-command-keys. Add universal-argument-more and
3212 universal-argument-minus to the list of prefix commands. (Bug#15568)
3213
574411d0
GM
32142013-10-09 Glenn Morris <rgm@gnu.org>
3215
14afa541
GM
3216 * vc/vc-svn.el (vc-svn-create-repo):
3217 Expand paths in file://... url. (Bug#15446)
3218
574411d0
GM
3219 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3220 Add some entries.
3221 (authors): Remove unused local variables.
3222
79804536
SM
32232013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * profiler.el: Create a more coherent calltree from partial backtraces.
3226 (profiler-format): Hide the tail with `invisible' so that C-s can still
3227 find the hidden elements.
3228 (profiler-calltree-depth): Don't recurse so enthusiastically.
3229 (profiler-function-equal): New hash-table-test.
3230 (profiler-calltree-build-unified): New function.
3231 (profiler-calltree-build): Use it.
3232 (profiler-report-make-name-part): Indent the calltree less.
3233 (profiler-report-mode): Add visibility specs for profiler-format.
3234 (profiler-report-expand-entry, profiler-report-toggle-entry):
3235 Expand the whole subtree when provided with a prefix arg.
3236
238150c8
DG
32372013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3238
3239 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3240 iuwu-mod token.
3241 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3242 hanging iuwu-mod token.
3243 (ruby-smie--forward-token): Do not include a dot after a token in
3244 that token.
3245 (ruby-smie--backward-token): Likewise.
3246
b0949cc4
JL
32472013-10-08 Juri Linkov <juri@jurta.org>
3248
3249 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3250 to isearch-other-control-char.
3251 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3252 and isearch-post-command-hook to post-command-hook.
3253 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3254 and isearch-post-command-hook from post-command-hook.
3255 (isearch-unread-key-sequence)
3256 (isearch-reread-key-sequence-naturally)
3257 (isearch-lookup-scroll-key, isearch-other-control-char)
3258 (isearch-other-meta-char): Remove functions.
3259 (isearch-pre-command-hook, isearch-post-command-hook):
3260 New functions based on isearch-other-meta-char rewritten
3261 relying on the new behavior of overriding-terminal-local-map
3262 that does not replace the local keymaps any more. (Bug#15200)
3263
4ed77415
EZ
32642013-10-08 Eli Zaretskii <eliz@gnu.org>
3265
3266 Support menus on text-mode terminals.
3267 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3268 functionality.
3269
3270 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3271
c2de5588
DK
3272 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3273 Move here from mouse.el.
4ed77415
EZ
3274 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3275 and arrow keys.
3276 (tty-menu-navigation-map): New map for TTY menu navigation.
3277
3278 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3279
3280 * frame.el (display-mouse-p): Report text-mode mouse as available
3281 on w32.
3282 (display-popup-menus-p): Report availability if mouse is
3283 available; don't condition on window-system.
3284
3285 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3286 (tty-menu-selected-face): New faces.
3287
b7d5bd82
TL
32882013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3289
06286513
SM
3290 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3291 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3292 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3293 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3294 New constants.
3295 (lisp-mode-variables): New `elisp' argument.
3296 (emacs-lisp-mode): Use it.
3297 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3298 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3299
b7d5bd82
TL
3300 * indent.el: Use lexical-binding.
3301 (indent-region): Add progress reporter.
3302 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3303 last step.
3304 (indent--next-tab-stop): New function to implement this behavior.
3305 (tab-to-tab-stop, move-to-tab-stop): Use it.
3306
33072013-10-08 Teemu Likonen <tlikonen@iki.fi>
3308
3309 * indent.el (indent-rigidly--current-indentation): New function.
3310 (indent-rigidly-map): New var.
3311 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3312
5ea75d23
BG
33132013-10-08 Bastien Guerry <bzg@gnu.org>
3314
3315 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3316
cc5da1ec
SM
33172013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3318
8ffa1a0b
SM
3319 * progmodes/perl-mode.el: Use lexical-binding.
3320 Remove redundant :group args.
3321 (perl-nochange): Change default to be closer to other major modes's
3322 standard behavior.
3323 (perl-indent-line): Don't consider text on current line as a
3324 valid beginning of function from which to indent.
3325
f2223371
SM
3326 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3327 with more than one argument (bug#15538).
3328
44256060
SM
3329 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3330
cc5da1ec
SM
3331 * vc/pcvs.el: Use lexical-binding.
3332 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3333 environment of `eval'.
3334 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3335 than a list of expressions. Adjust callers.
3336 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3337
0ea1599d
DG
33382013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3339
3340 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 3341 case of the dot in a chained method call being on the following line.
0ea1599d 3342
da3e5ebb
SM
33432013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3344
2abb4e65
SM
3345 * electric.el (electric-indent-inhibit): New var.
3346 (electric-indent-post-self-insert-function): Use it.
3347 * progmodes/python.el (python-mode): Set it.
3348
d2e0e795
SM
3349 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3350 open braces.
3351
3352 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3353
bdc6b4c8
SM
3354 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3355 (css-mode): Use electric-indent-chars.
3356
da3e5ebb
SM
3357 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3358 (font-lock-beg, font-lock-end): Move before first use.
3359 (nxml-mode): Use syntax-propertize-function.
3360 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3361 (nxml-extend-after-change-region): Remove.
3362 * nxml/xmltok.el: Use lexical-binding.
3363 (xmltok-save): Use `declare'.
3364 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3365 * nxml/nxml-util.el: Use lexical-binding.
3366 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3367 Use `declare'.
3368 * nxml/nxml-ns.el: Use lexical-binding.
3369 (nxml-ns-save): Use `declare'.
3370 (nxml-ns-prefixes-for): Avoid add-to-list.
3371 * nxml/rng-match.el: Use lexical-binding.
3372 (rng--ipattern): Use cl-defstruct.
3373 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3374 (rng-cons-group-after, rng-subst-group-after)
3375 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3376 Use closures instead of `(lambda...).
3377
f8f91d5d
MA
33782013-10-07 Michael Albinus <michael.albinus@gmx.de>
3379
3380 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3381 of BEG and END.
3382
da3e5ebb
SM
3383 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3384 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
3385 (tramp-gvfs-handle-insert-file-contents): Remove function.
3386
da3e5ebb
SM
3387 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3388 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
3389
3390 * net/trampver.el: Update release number.
3391
7ccae3b1
SM
33922013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3393
55ca2c0d
SM
3394 * progmodes/compile.el (compilation-parse-errors):
3395 Use compilation--put-prop.
3396 (compilation--ensure-parse): Check compilation-multiline.
3397
731fc3ae
SM
3398 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3399
da3e5ebb
SM
3400 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3401 lexical-binding.
a5833280 3402
2e7ba2c2
SM
3403 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3404
7ccae3b1
SM
3405 * progmodes/ruby-mode.el: Fix recently added tests.
3406 (ruby-smie-grammar): Add - and +.
3407 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3408 (ruby-smie--backward-id): New functions.
3409 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3410 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3411 any more.
3412
85698d63
LL
34132013-10-07 Leo Liu <sdl.web@gmail.com>
3414
3415 * register.el (register-preview-delay)
3416 (register-preview-functions): New variables.
3417 (register-read-with-preview, register-preview)
3418 (register-describe-oneline): New functions.
3419 (point-to-register, window-configuration-to-register)
3420 (frame-configuration-to-register, jump-to-register)
3421 (number-to-register, view-register, insert-register)
3422 (copy-to-register, append-to-register, prepend-to-register)
3423 (copy-rectangle-to-register): Use register-read-with-preview to
3424 read register. (Bug#15525)
3425
3986af6c
DS
34262013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3427
3428 * net/network-stream.el (network-stream-open-starttls): Don't add
3429 --insecure if it's already present, because that gnutls-cli
3430 rejects getting that parameter twice.
3431
5cd9cda9
DG
34322013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3433
3434 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3435 keyword, too.
3436
da9ea6d9
DG
34372013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3438
3439 * newcomment.el (comment-use-global-state): Change default value
3440 to t, mark obsolete (Bug#15251).
3441 (comment-beginning): In addition to `comment-to-syntax', check the
3442 value of `comment-use-global-state'.
3443
34d1a133
SM
34442013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3447 (ruby-comment-column): Follow the global default, by default.
3448 (ruby-smie-grammar): Add assignment syntax.
3449 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3450 open-paren, a comma, or a \.
3451 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3452 and line continuations.
3453 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3454 followed by implicit semi-colons. Add rule for string concatenation
3455 and for indentation at BOB.
3456 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3457
3458 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3459 calling next-sexp, since next-token may have skipped chars which
3460 next-sexp doesn't know should be skipped!
3461
6f6ab820
LL
34622013-10-05 Leo Liu <sdl.web@gmail.com>
3463
34d1a133
SM
3464 * progmodes/octave.el (octave-send-region):
3465 Call compilation-forget-errors.
6f6ab820 3466
34ca0f4c
XF
34672013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3468
3469 * vc/vc-svn.el (vc-svn-find-admin-dir):
3470 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3471 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3472 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3473 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3474
a27c1b72
SM
34752013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3476
3477 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3478
258ab3bc
SM
34792013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * subr.el (read-passwd): Hide chars even when called within a context
3482 where after-change-functions is disabled (bug#15501).
3483 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3484 until we removed ourself from overriding-terminal-local-map.
3485
939fb29c
LL
34862013-10-04 Leo Liu <sdl.web@gmail.com>
3487
258ab3bc
SM
3488 * progmodes/octave.el (inferior-octave-mode):
3489 Call compilation-forget-errors.
939fb29c 3490
63bd7f35
XF
34912013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3492
3493 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3494
9e6229fa
MA
34952013-10-04 Michael Albinus <michael.albinus@gmx.de>
3496
3497 * net/secrets.el (secrets-create-collection): Add optional
3498 argument ALIAS. Use proper Label keyword. Append ALIAS as
3499 dbus-call-method argument. (Bug#15516)
3500
1dab32a3
LL
35012013-10-04 Leo Liu <sdl.web@gmail.com>
3502
3503 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3504 (inferior-octave-compilation-font-lock-keywords): New variables.
3505 (compilation-error-regexp-alist)
3506 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3507 (inferior-octave-mode): Use compilation-shell-minor-mode.
3508
6cad7ba3
JS
35092013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3510
3511 * minibuffer.el (completion--replace): Be careful that `end' might be
3512 a marker.
3513
acbadd00
DU
35142013-10-03 Daiki Ueno <ueno@gnu.org>
3515
3516 Add support for package signature checking.
3517 * emacs-lisp/package.el (url-http-file-exists-p)
3518 (epg-make-context, epg-context-set-home-directory)
3519 (epg-verify-string, epg-context-result-for)
3520 (epg-signature-status, epg-signature-to-string)
3521 (epg-check-configuration, epg-configuration)
3522 (epg-import-keys-from-file): Declare.
3523 (package-check-signature): New user option.
3524 (package-unsigned-archives): New user option.
3525 (package-desc): Add `signed' field.
3526 (package-load-descriptor): Set `signed' field if .signed file exists.
3527 (package--archive-file-exists-p): New function.
3528 (package--check-signature): New function.
3529 (package-install-from-archive): Check package signature.
3530 (package--download-one-archive): Check archive signature.
3531 (package-delete): Remove .signed file.
3532 (package-import-keyring): New command.
3533 (package-refresh-contents): Import default keyring.
3534 (package-desc-status): Add "unsigned" status.
3535 (describe-package-1, package-menu--print-info)
3536 (package-menu-mark-delete, package-menu--find-upgrades)
3537 (package-menu--status-predicate): Support "unsigned" status.
3538
adf2aa61
SM
35392013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3542 the new compilation scheme using the new byte-codes.
3543
3544 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3545 (byte-pophandler): New byte codes.
3546 (byte-goto-ops): Adjust accordingly.
3547 (byte-compile--use-old-handlers): New var.
3548 (byte-compile-catch): Use new byte codes depending on
3549 byte-compile--use-old-handlers.
3550 (byte-compile-condition-case--old): Rename from
3551 byte-compile-condition-case.
3552 (byte-compile-condition-case--new): New function.
3553 (byte-compile-condition-case): New function that dispatches depending
3554 on byte-compile--use-old-handlers.
3555 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3556 when we can.
3557
3558 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3559 Optimize under `condition-case' and `catch' if
3560 byte-compile--use-old-handlers is nil.
3561 (disassemble-offset): Handle new bytecodes.
3562
328a8179
SM
35632013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 * subr.el (error): Use `declare'.
3566 (decode-char, encode-char): Use advertised-calling-convention instead
3567 of the docstring to discourage use of the `restriction' arg.
3568
15a1e936
DU
35692013-10-03 Daiki Ueno <ueno@gnu.org>
3570
3571 * epg.el (epg-verify-file): Add a comment saying that it does not
3572 notify verification error as a return value nor a signal.
3573 (epg-verify-string): Ditto.
3574
376f862a
KR
35752013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3576
3577 * progmodes/compile.el (compilation-start): Try globbing the arg to
3578 `cd' (bug#15417).
3579
a2f93a5f
MA
35802013-10-02 Michael Albinus <michael.albinus@gmx.de>
3581
3582 Sync with Tramp 2.2.8.
3583
3584 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3585 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3586 * net/trampver.el: Update release number.
3587
0daa0804
JD
35882013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3589
3590 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3591 and default-process-coding-system for darwin only.
3592
abd1ae34
SM
35932013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3596
be4e325d
MH
35972013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3598
3599 * vc/vc-git.el (vc-git-grep): Disable pager.
3600
e9155c4a
DG
36012013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3602
494e898b
DG
3603 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3604 Use :url instead of :homepage, as per
3605 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3606
e9155c4a
DG
3607 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3608 non-nil, use `syntax-ppss' (Bug#15251).
3609
481a8e0f
RS
36102013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3611
be4e325d
MH
3612 * progmodes/octave.el (inferior-octave-startup-file):
3613 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 3614
056453c6
DG
36152013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3616
be4e325d
MH
3617 * emacs-lisp/package.el (package-desc-from-define):
3618 Accept additional arguments as plist, convert them to an alist and store
3619 them in the `extras' slot.
056453c6
DG
3620 (package-generate-description-file): Convert extras alist back to
3621 plist and append to the `define-package' form arguments.
3622 (package--alist-to-plist): New function.
3623 (package--ac-desc): Add `extras' slot.
3624 (package--add-to-archive-contents): Check if the archive-contents
3625 vector is long enough, and if it is, pass its `extras' slot value
3626 to `package-desc-create'.
3627 (package-buffer-info): Call `lm-homepage', pass the returned value
3628 to `package-desc-from-define'.
3629 (describe-package-1): Render the homepage button (Bug#13291).
3630
be4e325d
MH
3631 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3632 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 3633
832966e5
JD
36342013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3635
3636 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3637 and default-process-coding-system to utf-8-unix (Bug#15402).
3638
6cfe977d
XF
36392013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3640
3641 * subr.el (looking-back): Do not recommend using looking-back.
3642
38de11bd
AM
36432013-09-28 Alan Mackenzie <acm@muc.de>
3644
3645 Fix indentation/fontification of Java enum with "implements".
3646
3647 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3648 regexp which matches "implements", etc., in Java.
3649 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3650 specifier clauses coming after "enum".
3651 * progmodes/cc-fonts.el (c-font-lock-declarations)
3652 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3653 after "enum".
3654
1610938f
JD
36552013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3656
3657 * faces.el (region): Change ns_selection_color to
3658 ns_selection_fg_color, add ns_selection_bg_color.
3659
e090f499
LL
36602013-09-28 Leo Liu <sdl.web@gmail.com>
3661
4d2e94d1
LL
3662 * progmodes/octave.el (inferior-octave-completion-table)
3663 (inferior-octave-completion-at-point): Minor tweaks.
3664
e090f499
LL
3665 * textmodes/ispell.el (ispell-lookup-words): Rename from
3666 lookup-words. (Bug#15460)
3667 (lookup-words): Obsolete.
3668 (ispell-complete-word, ispell-command-loop): All uses changed.
3669
7e138a62
RS
36702013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3671
3672 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3673 (octave-mode-menu): Add octave-send-buffer.
3674 (octave-send-buffer): New function.
3675
5af5ed08
RS
36762013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3677
3678 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3679 octave-lookfor.
3680 (octave-mode-menu): Add octave-lookfor.
3681 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3682 octave-lookfor.
3683 (octave-lookfor): New function.
3684
3b7b2692
SM
36852013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * emacs-lisp/cl-macs.el:
3688 (cl--loop-destr-temps): Remove.
3689 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3690 its convention.
3691 (cl--loop-set-iterator-function): New function.
3692 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3693 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3694 Bind `it' with `let' instead of substituting it with `cl-subst'.
3695 (cl--unused-var-p): New function.
3696 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3697 Eliminate some unused variable warnings (bug#15326).
3698
529fb53f
TH
36992013-09-27 Tassilo Horn <tsdh@gnu.org>
3700
3701 * doc-view.el (doc-view-scale-reset): Rename from
3702 `doc-view-reset-zoom-level'.
3703 (doc-view-scale-adjust): New command.
3704 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3705 `doc-view-scale-adjust'.
3706
0550c95a
TH
37072013-09-26 Tassilo Horn <tsdh@gnu.org>
3708
3709 * doc-view.el (doc-view-reset-zoom-level): New command.
3710 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3711 zoom commands (bug#15466).
3712
6950f152
KH
37132013-09-26 Kenichi Handa <handa@gnu.org>
3714
3715 * international/quail.el (quail-help): Make it not a command.
3716
39587580
LL
37172013-09-26 Leo Liu <sdl.web@gmail.com>
3718
3719 * minibuffer.el (completion-all-sorted-completions): Make args
3720 optional as they are.
3721
00578659
DC
37222013-09-25 Daniel Colascione <dancol@dancol.org>
3723
3724 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3725 specs are and that they're not evaluated.
3726
0c173878
SS
37272013-09-24 Sam Steingold <sds@gnu.org>
3728
3729 * midnight.el (clean-buffer-list-kill-regexps)
3730 (clean-buffer-list-kill-buffer-names): Update for the new Man
3731 buffer naming which includes the object name.
3732
84998447
SM
37332013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3736 (eshell-parse-command, eshell-parse-pipeline): Use it since
3737 eshell-separate-commands requires a dynamic scoped var.
3738 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3739
33215353
LL
37402013-09-23 Leo Liu <sdl.web@gmail.com>
3741
3742 * autoinsert.el (auto-insert-alist): Make the value of
3743 lexical-binding match its file setting.
3744
57b16162
JB
37452013-09-23 Juanma Barranquero <lekktu@gmail.com>
3746
c8af4e67
JB
3747 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3748
57b16162
JB
3749 * autoarg.el (autoarg-kp-digit-argument):
3750 * electric.el (Electric-command-loop):
3751 * kmacro.el (kmacro-step-edit-insert):
3752 Do not set universal-argument-num-events.
3753
7186ba60
LL
37542013-09-22 Leo Liu <sdl.web@gmail.com>
3755
3756 * files.el (interpreter-mode-alist): Add octave.
3757
ece15004
AM
37582013-09-21 Alan Mackenzie <acm@muc.de>
3759
3760 C++: fontify identifier in declaration following "public:" correctly.
3761 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3762 to match "public", etc.
3763 (c-decl-prefix-re): Add ":" into the C++ value.
3764 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3765 bit. Add a check for a ":" preceded by "public", etc.
3766
75d83e22
EZ
37672013-09-21 Eli Zaretskii <eliz@gnu.org>
3768
3769 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3770 recognized by GDB 7.5 and later.
3771
d052d3bd
XF
37722013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3773
3774 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3775
31dca772
R
37762013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3777
3778 * subr.el (internal--call-interactively): New const.
3779 (called-interactively-p): Use it (bug#3984).
3780
98ccf24e
XF
37812013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3782
3783 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
3784 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3785 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 3786
c39cc7d1
SM
37872013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3790 (eshell-ls-orig-insert-directory): Remove.
3791 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3792 (eshell-ls-use-in-dired): Use advice-add/remove.
3793 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3794 Add `orig-fun' arg for use in :around advice.
3795 Make it check (redundantly) eshell-ls-use-in-dired.
3796
9a0289a2
GM
37972013-09-19 Glenn Morris <rgm@gnu.org>
3798
a2c501b8
GM
3799 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3800
c440407a
GM
3801 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3802
9a0289a2
GM
3803 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3804
85e05915
MA
38052013-09-19 Michael Albinus <michael.albinus@gmx.de>
3806
3807 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3808 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3809 (tramp-get-remote-python): New defuns.
3810 (tramp-get-remote-uid-with-perl)
3811 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3812 contributed by yary <not.com@gmail.com> (tiny change).
3813 (tramp-get-remote-uid-with-python)
3814 (tramp-get-remote-gid-with-python): New defuns. Python code
3815 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3816 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3817
ce503312
GM
38182013-09-19 Glenn Morris <rgm@gnu.org>
3819
f7544773
GM
3820 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3821
72fd2877
GM
3822 * eshell/em-unix.el (eshell-remove-entries):
3823 Rename argument to avoid name-clash with global `top-level'.
3824
336b5a56
GM
3825 * eshell/esh-proc.el (eshell-kill-process-function):
3826 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3827 (eshell-reset-after-proc): Remove unused arg `proc'.
3828
57a3a53d
GM
3829 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3830 (directory-files-and-attributes): Mark unused arg.
3831
3261d4af
GM
3832 * eshell/em-unix.el (eshell-remove-entries):
3833 Remove unused arg `path'. Update callers.
3834
8e51b5d0
GM
3835 * eshell/em-hist.el (eshell-hist-parse-arguments):
3836 Remove unused arg `silent'. Update callers.
3837
ce503312
GM
3838 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3839 Fix (f)boundp mix-up.
3840
3841 * eshell/em-smart.el (eshell-smart-scroll-window)
3842 (eshell-disable-after-change):
336b5a56 3843 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 3844
ee3ce8a7
AM
38452013-09-18 Alan Mackenzie <acm@muc.de>
3846
3847 Fix fontification of type when followed by "const".
3848 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3849 "known" types from fontification.
3850
ec9177ba
GM
38512013-09-18 Glenn Morris <rgm@gnu.org>
3852
7bb3e768
GM
3853 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3854 (chart-face-list): Drop Emacsen without display-color-p.
3855
5148da15
GM
3856 * net/eww.el (libxml-parse-html-region): Declare.
3857 (eww-display-html): Explicit error if no libxml2 support.
3858
2f68e157
GM
3859 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3860
9019d095
GM
3861 * image.el (image-type-from-buffer, image-multi-frame-p):
3862 Remove --without-x warning/error.
67645389 3863
5f30349b 3864 * mouse.el (mouse-yank-primary):
45069b2e 3865 * term.el (term-mouse-paste):
5f30349b
GM
3866 Reorder to silence --without-x compilation.
3867
cd8edbbe
GM
3868 * mpc.el (doc-view-mode): Silence --without-x compilation.
3869
8a78544e
GM
3870 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3871 Silence --without-x compilation.
3872
12679bfd
GM
3873 * progmodes/gud.el (gud-find-file, gud-mode):
3874 Silence --without-x compilation.
3875 (tooltip-mode): Declare.
30810a05 3876
f0047cb9
GM
3877 * wdired.el (dired-backup-overwrite): Remove declaration.
3878 (wdired-mode-map): Add doc string.
3879
e740f9d2
GM
3880 * custom.el (x-get-resource): Declare.
3881
92d77c89
GM
3882 * eshell/em-glob.el (ange-cache):
3883 * eshell/em-unix.el (ange-cache): Declare.
3884
76e69577
GM
3885 * faces.el (x-display-list, x-open-connection, x-get-resource):
3886 Declare.
7e58af4b
GM
3887
3888 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3889 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3890 Declare.
76e69577 3891
4bd4c0af 3892 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 3893
ffb82dbd
GM
3894 * net/gnutls.el (gnutls-log-level): Declare.
3895
986ed135
GM
3896 * net/shr.el (image-size, image-animate): Declare.
3897
e740f9d2
GM
3898 * simple.el (font-info): Declare.
3899
d2f3e9f8
GM
3900 * subr.el (x-popup-dialog): Declare.
3901
047a1a4c
GM
3902 * term/common-win.el (x-select-enable-primary)
3903 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3904 Declare.
3905
f4a1d572
GM
3906 * term/ns-win.el (x-handle-args): Declare.
3907
e843de77
GM
3908 * term/x-win.el (x-select-enable-clipboard): Declare.
3909
5fa89513
GM
3910 * term/w32-win.el (create-default-fontset): Declare.
3911
38702b5b
GM
3912 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3913 Declare.
3914
e740f9d2
GM
3915 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3916 (fit-frame-to-buffer): Explicit error if --without-x.
3917 (mouse-autoselect-window-select): Silence compiler.
3918
49a053fc
GM
3919 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3920
3921 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3922 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3923 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 3924 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
3925 Remove unused local variables.
3926
3927 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3928
ec9177ba
GM
3929 * textmodes/two-column.el: Make 2C-split work for --without-x.
3930 (scroll-bar-columns): Autoload.
3931 (top-level): Require fringe when compiling.
3932
9f25cb77
LL
39332013-09-18 Leo Liu <sdl.web@gmail.com>
3934
3935 * subr.el (add-hook): Robustify to handle closure as well.
3936
2b42da98
GM
39372013-09-17 Glenn Morris <rgm@gnu.org>
3938
3939 * simple.el (messages-buffer-mode-map): Unbind "g".
3940
e8b66a6a
SM
39412013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3942
9c0ad4f7
SM
3943 * help-mode.el (help-mode-finish): Use derived-mode-p.
3944 Remove obsolete highlighting.
3945
7a806dfb
SM
3946 * play/life.el (life-mode): Use define-derived-mode. Derive from
3947 special-mode.
3948 (life): Let-bind inhibit-read-only.
3949 (life-setup): Avoid `setq'. Use `life-mode'.
3950
96dbf5a8
SM
3951 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3952 which should not be needed any more.
3953 (package-menu-refresh, package-menu-describe-package): Use user-error.
3954
e8b66a6a
SM
3955 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3956 (eshell-post-rewrite-command-hook): Make obsolete.
3957 (eshell-parse-command): Simplify.
3958 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3959 (eshell--cmd): Declare.
3960 (eshell-parse-pipeline): Remove unused var `final-p'.
3961 Pass a dynvar to eshell-post-rewrite-command-hook.
3962 Implement the new eshell-post-rewrite-command-function.
3963 (eshell-invoke-directly): Remove unused arg `input'.
3964 * eshell/esh-io.el (eshell-io-initialize):
3965 Use eshell-post-rewrite-command-function (bug#15399).
3966 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3967 adjust to new calling convention.
3968 (eshell-create-handles): Rename args to avoid clashing with dynvar
3969 `standard-output'.
3970
90582f05
GM
39712013-09-17 Glenn Morris <rgm@gnu.org>
3972
3973 * simple.el (messages-buffer-mode): New major mode.
3974 (messages-buffer): New function.
3975 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3976 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 3977 (ert-run-test): Use `messages-buffer' function.
90582f05 3978 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
3979 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3980 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 3981
39eb0cb5 39822013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
3983
3984 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3985
1d42e5b6 3986 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 3987
70568a90
SM
39882013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3989
504a0381
SM
3990 * icomplete.el (icomplete-in-buffer): New var.
3991 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3992 vars and replace them with functions.
3993 (icomplete-minibuffer-setup): Adjust accordingly.
3994 (icomplete--completion-table, icomplete--completion-predicate)
3995 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3996 New functions.
3997 (icomplete-forward-completions, icomplete-backward-completions)
3998 (icomplete-simple-completing-p, icomplete-exhibit)
3999 (icomplete-completions): Use them.
4000 (icomplete--in-region-buffer): New var.
4001 (icomplete--in-region-setup): New function.
4002 (icomplete-mode): Use it.
4003
70568a90
SM
4004 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4005 (bug#15379).
4006 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4007 return args and options.
4008 (eshell-eval-using-options): Use the new return value of
4009 eshell--do-opts to set the options's vars in their scope.
4010 (eshell--set-option): Rename from eshell-set-option.
4011 Add arg `opt-vals'.
4012 (eshell--process-option): Rename from eshell-process-option.
4013 Add arg `opt-vals'.
4014 (eshell--process-args): Use an `opt-vals' alist to store the options's
4015 values during their processing and return them additionally to the
4016 remaining args.
4017
578c21bc
DG
40182013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4019
4020 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4021 continuation character an operator, as far as indentation is
4022 concerned (Bug#15369).
4023
c089653d
MR
40242013-09-15 Martin Rudalics <rudalics@gmx.at>
4025
4026 * window.el (window--state-put-2): Don't process buffer state
4027 when buffer doesn't exist any more (Bug#15382).
4028
1e53bb4b
GM
40292013-09-15 Glenn Morris <rgm@gnu.org>
4030
30753242
GM
4031 * eshell/em-unix.el (eshell/rm):
4032 Make -f ignore missing files. (Bug#15373)
4033
1e53bb4b
GM
4034 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4035 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4036 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4037
0d8863b3
GM
40382013-09-14 Glenn Morris <rgm@gnu.org>
4039
4040 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4041
d3fc6549
GM
40422013-09-13 Glenn Morris <rgm@gnu.org>
4043
4044 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4045 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4046
fcd42c11
DA
40472013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4048
4049 * frame.el (x-focus-frame): Mark as declared in frame.c.
4050
7830899f
SM
40512013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * ls-lisp.el: Use advice-add.
4054 (original-insert-directory): Remove.
4055 (ls-lisp--insert-directory): Rename from insert-directory; add
4056 `orig-fun' argument.
4057 (insert-directory): Advise.
4058
84387cd2
EZ
40592013-09-13 Eli Zaretskii <eliz@gnu.org>
4060
4061 * term.el (term-emulate-terminal): Decode the command string
4062 before passing it to term-command-hook. (Bug#15337)
4063
35ffc6ba
GM
40642013-09-13 Glenn Morris <rgm@gnu.org>
4065
5c3f9bcc
GM
4066 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4067
2ada368a
GM
4068 * eshell/esh-ext.el (eshell-search-path): Declare.
4069
fcef2e13
GM
4070 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4071 Otherwise an error occurs if eshell-dirs module not loaded.
4072
35ffc6ba
GM
4073 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4074
35c3d36e
MA
40752013-09-13 Michael Albinus <michael.albinus@gmx.de>
4076
4077 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4078 `tramp-check-proper-host'. Check for a valid method name.
4079
4080 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4081 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4082 * net/tramp-sh.el (tramp-maybe-open-connection):
4083 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4084
4085 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4086 also for hash values.
4087
ae5e4c48
SM
40882013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4089
379add74
SM
4090 * term/ns-win.el (parameters): Don't declare as dynamic.
4091 (before-make-frame-hook): Don't add ineffective function.
4092
ae5e4c48
SM
4093 * eshell/*.el: Use lexical-binding (bug#15231).
4094
b5623270
KH
40952013-09-12 Kenichi Handa <handa@gnu.org>
4096
ae5e4c48 4097 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4098
30213927
GM
40992013-09-12 Glenn Morris <rgm@gnu.org>
4100
be94d713 4101 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4102 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4103
44915370
GM
4104 * subr.el (do-after-load-evaluation): Also give compiler warnings
4105 when obsolete files are used (except by obsolete files).
4106
a6ae021f
GM
4107 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4108 in the status output, assume `filename' is the first. (Bug#15322)
4109
40e64f0c
GM
4110 * vc/vc.el (vc-deduce-fileset): Doc fix.
4111
16d9f896
GM
4112 * calc/calc-help.el (Info-goto-node):
4113 * progmodes/cperl-mode.el (Info-find-node):
4114 * vc/ediff.el (Info-goto-node): Update declarations.
4115
dea01c6e
GM
4116 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4117
759880bf 4118 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4119 (vc-bzr-pull): Require vc-dispatcher.
4120 * vc/vc-git.el (vc-compilation-mode): Declare.
4121 (vc-git-pull): Require vc-dispatcher.
4122
08d66420
GM
4123 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4124
30b626e9
GM
4125 * progmodes/octave.el (help-button-action): Declare.
4126
8c05cb10
GM
4127 * shell.el (shell-directory-tracker): Output error as a message
4128 rather than just returning it as a string.
4129 (shell-process-pushd): Remove useless use of message.
4130
30213927
GM
4131 * dframe.el (dframe-timer-fn):
4132 * files.el (dir-locals-read-from-file):
4133 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4134 (mpc-format):
4135 * reveal.el (reveal-post-command):
4136 * saveplace.el (load-save-place-alist-from-file):
4137 * shell.el (shell-resync-dirs):
4138 * w32-common-fns.el (x-get-selection-value):
4139 * emacs-lisp/copyright.el (copyright-find-copyright):
4140 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4141 * emulation/tpu-edt.el (tpu-copy-keyfile):
4142 * play/bubbles.el (bubbles--mark-neighbourhood):
4143 * progmodes/executable.el
4144 (executable-make-buffer-file-executable-if-script-p):
4145 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4146
d3b049e6
SM
41472013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4148
170266d0
SM
4149 Cleanup Eshell to rely less on dynamic scoping.
4150 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4151 last-value, and ext-command here. Bind `args' closer to `body'.
4152 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4153 (eshell--args): Declare new dynamic var.
4154 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4155 last-value, and ext-command. Pass `args' to `body'.
4156 (eshell-process-args): Bind eshell--args.
4157 (eshell-set-option): Use eshell--args.
4158 * eshell/eshell.el (eshell): Use derived-mode-p.
4159 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4160 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4161 (eshell-glob-function): Declare.
4162 * eshell/esh-util.el: Require cl-lib.
4163 (eshell-read-hosts-file): Avoid add-to-list.
4164 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4165 `err'.
4166 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4167 Declare.
4168 (eshell/diff): Remove unused var `err'.
4169 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4170 `killflag'.
4171 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4172 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4173 first use.
4174 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4175 Move declaration before first use.
4176 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4177 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4178 rely on cl-return.
4179
56834f3b
GM
41802013-09-12 Glenn Morris <rgm@gnu.org>
4181
4182 * term/ns-win.el (global-map): Remove binding for ispell-next,
4183 deleted 1999-05-29. (Bug#15357)
4184
5c91a2b8
GM
41852013-09-11 Glenn Morris <rgm@gnu.org>
4186
da712f22
GM
4187 * echistory.el (electric-command-history): Remove call to deleted func.
4188
512e4cdc
GM
4189 * play/landmark.el (landmark-mode): Fix typos.
4190
d3506ca5
GM
4191 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4192 Check cvs-sort-ignore-file is bound.
4193
5c91a2b8
GM
4194 * savehist.el: No need for cl when compiling on Emacs.
4195
feeff482
SM
41962013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4197
656bd483
SM
4198 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4199 (bug#15338).
d3b049e6
SM
4200 (eshell-self-insert-command, eshell-send-invisible):
4201 Remove unused argument.
656bd483
SM
4202 (eshell-handle-control-codes): Remove unused var `orig'.
4203 Avoid delete-backward-char.
4204
feeff482
SM
4205 * files.el (set-auto-mode): Simplify a bit further.
4206
2a08047a
GM
42072013-09-11 Glenn Morris <rgm@gnu.org>
4208
4209 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4210 (set-auto-mode): Don't regexp-quote elements.
4211 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4212 * progmodes/cc-mode.el (interpreter-mode-alist):
4213 * progmodes/ruby-mode.el (interpreter-mode-alist):
4214 Revert previous change.
4215
34675540
SM
42162013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4217
1b3b87df
SM
4218 * play/snake.el (snake-mode):
4219 * play/mpuz.el (mpuz-mode):
4220 * play/landmark.el (lm-mode):
4221 * play/blackbox.el (blackbox-mode):
4222 * play/5x5.el (5x5-mode):
4223 * obsolete/options.el (Edit-options-mode):
4224 * net/quickurl.el (quickurl-list-mode):
4225 * net/newst-treeview.el (newsticker-treeview-mode):
4226 * mail/rmailsum.el (rmail-summary-mode):
4227 * mail/mspools.el (mspools-mode):
4228 * locate.el (locate-mode):
4229 * ibuffer.el (ibuffer-mode):
4230 * emulation/ws-mode.el (wordstar-mode):
4231 * emacs-lisp/debug.el (debugger-mode):
4232 * array.el (array-mode):
4233 * net/eudc.el (eudc-mode): Use define-derived-mode.
4234 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4235 Move initialization into declaration.
4236 (mairix-searches-mode): Use define-derived-mode.
4237 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4238 (eudc-edit-hotlist): Use dolist.
4239 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4240 (Man-mode): Use define-derived-mode.
4241 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4242 (Info-edit-mode): Use define-derived-mode.
4243 (Info-cease-edit): Use Info-mode.
4244 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4245 into declaration.
4246 (eshell-mode): Use define-derived-mode.
4247 * chistory.el (command-history-mode-map): Rename from
4248 command-history-map.
4249 (command-history-mode): Use define-derived-mode.
da712f22 4250 (Command-history-setup): Remove function.
1b3b87df
SM
4251 * calc/calc.el (calc-trail-mode-map): New var.
4252 (calc-trail-mode): Use define-derived-mode.
4253 (calc-trail-buffer): Set calc-main-buffer manually.
4254 * bookmark.el (bookmark-insert-annotation): New function.
4255 (bookmark-edit-annotation): Use it.
4256 (bookmark-edit-annotation-mode): Make it a proper major mode.
4257 (bookmark-send-edited-annotation): Use derived-mode-p.
4258 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4259 closer to its ideal place. Use \' to match EOS.
4260
34675540
SM
4261 * profiler.el (profiler-calltree-find): Use function-equal.
4262
6a5c15d9
GM
42632013-09-10 Glenn Morris <rgm@gnu.org>
4264
1af4c220
GM
4265 * files.el (interpreter-mode-alist): Convert to regexps.
4266 (set-auto-mode): Adapt for this. (Bug#15306)
4267 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4268 Comment out unused variable.
4269 * progmodes/cc-mode.el (interpreter-mode-alist):
4270 * progmodes/python.el (interpreter-mode-alist):
4271 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4272 * progmodes/sh-script.el (sh-set-shell):
4273 No longer use interpreter-mode-alist to get list of shells.
4274
6a5c15d9
GM
4275 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4276
8c27f5ff
SM
42772013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4278
02ef6c1a 4279 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 4280 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
4281 Bind switch-frame explicitly. Replace universal-argument-minus with
4282 a conditional binding.
4283 (universal-argument-num-events, saved-overriding-map): Remove.
4284 (restore-overriding-map): Remove.
4285 (universal-argument--mode): Rename from save&set-overriding-map,
4286 and rewrite.
4287 (universal-argument, universal-argument-more, negative-argument)
4288 (digit-argument): Adjust accordingly.
4289 (universal-argument-minus): Remove.
4290 (universal-argument-other-key): Remove.
4291
8c27f5ff
SM
4292 * subr.el (with-demoted-errors): Add `format' argument.
4293
6480194c
MA
42942013-09-10 Michael Albinus <michael.albinus@gmx.de>
4295
4296 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4297 `tramp-cleanup-connection'.
4298
4299 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4300 parameters KEEP-DEBUG and KEEP-PASSWORD.
4301
4302 * net/tramp.el (tramp-file-name-handler):
4303 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4304 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4305 (tramp-maybe-open-connection):
8c27f5ff
SM
4306 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4307 Use `tramp-cleanup-connection'.
6480194c 4308
8c27f5ff
SM
4309 * net/tramp-sh.el (tramp-maybe-open-connection):
4310 Catch 'uname-changed inside the progress reporter.
6480194c 4311
e5e916d8
GM
43122013-09-10 Glenn Morris <rgm@gnu.org>
4313
9a2c9b47
GM
4314 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4315
e5e916d8
GM
4316 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4317 returns "alternate access method" in mode (eg "-rw-r--r--.").
4318
144e38fe
GM
43192013-09-08 Glenn Morris <rgm@gnu.org>
4320
4321 * saveplace.el (load-save-place-alist-from-file):
4322 Demote errors. (Bug#15305)
4323
af9ff9e8
MA
43242013-09-08 Michael Albinus <michael.albinus@gmx.de>
4325
4326 Improve compatibility with older Emacsen, and XEmacs.
4327
4328 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4329 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
4330 (with-tramp-progress-reporter): Do not let-bind `result'.
4331 This yields to scoping errors in XEmacs.
af9ff9e8
MA
4332 (tramp-handle-make-auto-save-file-name): New function, moved from
4333 tramp-sh.el.
4334
4335 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4336 for `make-auto-save-file-name'.
8c27f5ff
SM
4337 (tramp-adb--gnu-switches-to-ash):
4338 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4339
4340 * net/tramp-cache.el (tramp-cache-print): Call
4341 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4342
4343 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4344 bound. It isn't for XEmacs.
4345
8c27f5ff
SM
4346 * net/tramp-compat.el (tramp-compat-copy-file):
4347 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
4348 (tramp-compat-replace-regexp-in-string): New defun.
4349
4350 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4351 for `make-auto-save-file-name'.
4352 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4353 `copy-file'.
4354 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4355 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4356 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4357
8c27f5ff
SM
4358 * net/tramp-gw.el (tramp-gw-open-network-stream):
4359 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 4360
8c27f5ff
SM
4361 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4362 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
4363 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4364 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
4365 (tramp-sh-file-inotifywait-process-filter):
4366 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4367 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4368
4369 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4370 for `make-auto-save-file-name'.
8c27f5ff
SM
4371 (tramp-smb-handle-copy-directory):
4372 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
4373 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4374 (tramp-smb-handle-copy-file): Improve error message.
4375 (tramp-smb-handle-rename-file): Rename directly only in case
4376 `newname' does not exist yet. This is a restriction of smbclient.
4377 (tramp-smb-maybe-open-connection): Rerun the function only when
4378 `auth-sources' is non-nil.
4379
0ca754d0
KH
43802013-09-08 Kenichi Handa <handa@gnu.org>
4381
e0eb0550 4382 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
4383 more characters.
4384
e8dd0787
AM
43852013-09-07 Alan Mackenzie <acm@muc.de>
4386
4387 Correctly fontify Java class constructors.
4388 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4389 in Java Mode.
4390 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
4391 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4392 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
4393 "typeless" declaration there.
4394
f2f248e7
RW
43952013-09-07 Roland Winkler <winkler@gnu.org>
4396
4397 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4398 field subtitle for entry type book.
4399
67982e2b
SM
44002013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * minibuffer.el: Make minibuffer-complete call completion-in-region
4403 rather than other way around.
4404 (completion--some, completion-pcm--find-all-completions):
4405 Don't delay signals when debugging.
4406 (minibuffer-completion-contents): Beware fields within the
4407 minibuffer contents.
4408 (completion-all-sorted-completions): Use defvar-local.
4409 (completion--do-completion, completion--cache-all-sorted-completions)
4410 (completion-all-sorted-completions, minibuffer-force-complete):
4411 Add args `beg' and `end'.
4412 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4413 (minibuffer-complete): Use completion-in-region.
4414 (completion-complete-and-exit): New fun, extracted from
4415 minibuffer-complete-and-exit.
4416 (minibuffer-complete-and-exit): Use it.
4417 (completion--complete-and-exit): Rename from
4418 minibuffer--complete-and-exit.
4419 (completion-in-region--single-word): New function, extracted from
4420 minibuffer-complete-word.
4421 (minibuffer-complete-word): Use it.
4422 (display-completion-list): Make `common-substring' argument obsolete.
4423 (completion--in-region): Call completion--in-region-1 instead of
4424 minibuffer-complete.
4425 (completion-help-at-point): Pass boundaries to
4426 minibuffer-completion-help as args rather than via an overlay.
4427 (completion-pcm--string->pattern): Use `any-delim'.
4428 (completion-pcm--optimize-pattern): New function.
4429 (completion-pcm--pattern->regex): Handle `any-delim'.
4430 * icomplete.el (icomplete-forward-completions)
4431 (icomplete-backward-completions, icomplete-completions):
4432 Adjust calls to completion-all-sorted-completions and
4433 completion--cache-all-sorted-completions.
4434 (icomplete-with-completion-tables): Default to t.
4435 * emacs-lisp/crm.el (crm--current-element): Rename from
4436 crm--select-current-element. Don't put an overlay but return the
4437 boundaries instead.
4438 (crm--completion-command): Take two new args to bind to the boundaries.
4439 (crm-completion-help): Adjust accordingly.
4440 (crm-complete): Use completion-in-region.
4441 (crm-complete-word): Use completion-in-region--single-word.
4442 (crm-complete-and-exit): Use completion-complete-and-exit.
4443
e17d94a5
SM
44442013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4447 than dynamically.
4448
96727100
JL
44492013-09-06 Juri Linkov <juri@jurta.org>
4450
4451 * info.el (Info-display-images-node): When image file doesn't exist
4452 display text version of the image if it's provided in the Info file.
4453 Otherwise, display the location of missing image from SRC attribute.
4454 Add help-echo text property from ALT attribute. (Bug#15279)
4455
86cf7329
SM
44562013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4457
4458 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4459 (edit-abbrevs-mode): Use define-derived-mode.
4460
4461 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4462 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4463 that it's defined.
4464 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4465 Use define-derived-mode.
4466
4467 * epg.el (epg-start-encrypt): Minor CSE simplification.
4468
816244a2
WX
44692013-09-06 William Xu <william.xwl@gmail.com>
4470
4471 * arc-mode.el: Add support for 7za (bug#15264).
4472 (archive-7z-program): New var.
4473 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4474 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4475 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4476
1486fa31
MA
44772013-09-06 Michael Albinus <michael.albinus@gmx.de>
4478
4479 Remove URL syntax.
4480
4481 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4482 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4483 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4484 (tramp-postfix-host-format, tramp-file-name-regexp)
4485 (tramp-completion-file-name-regexp)
4486 (tramp-completion-dissect-file-name)
4487 (tramp-handle-substitute-in-file-name): Remove 'url case.
4488 (tramp-file-name-regexp-url)
4489 (tramp-completion-file-name-regexp-url): Remove constants.
4490
39785324
GM
44912013-09-06 Glenn Morris <rgm@gnu.org>
4492
4493 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4494
1f896cb7
DG
44952013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4496
4497 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4498 keywords" below "here-doc beginnings" (Bug#15270).
4499
c0458e0b
SM
45002013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * subr.el (pop): Use `car-safe'.
4503 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4504 to detect unused `pop' return value.
4505
4506 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4507 var `block-regexp'.
4508 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4509 (python-fill-string): Remove unused var `marker'.
4510 (python-skeleton-add-menu-items): Remove unused var `items'.
4511
4512 * international/mule-cmds.el: Require CL.
4513 (find-coding-systems-for-charsets): Avoid add-to-list.
4514 (sanitize-coding-system-list): New function, extracted from
4515 select-safe-coding-system-interactively.
4516 (select-safe-coding-system-interactively): Use it.
4517 (read-input-method-name): Accept symbols for `default'.
4518
4519 * emacs-lisp/advice.el (defadvice): Add indent rule.
4520
6c42fc3e
DH
45212013-09-05 Daniel Hackney <dan@haxney.org>
4522
4523 * dired-x.el:
4524 * net/ange-ftp.el:
4525 * net/browse-url.el:
4526 * net/dbus.el:
4527 * net/eudc.el:
4528 * net/eudcb-ldap.el:
4529 * net/eww.el:
4530 * net/imap.el:
4531 * printing.el:
4532 * vc/ediff-diff.el:
4533 * vc/ediff-init.el:
4534 * vc/ediff-merg.el:
4535 * vc/ediff-mult.el:
4536 * vc/ediff-util.el:
4537 * vc/ediff-wind.el:
4538 * vc/ediff.el:
4539 * vc/emerge.el:
4540 * vc/pcvs.el:
4541 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4542 byte compiler. Remove some unused let-bound variables.
4543
4c528aab
SM
45442013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4545
4546 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4547 a "ref-cell", since it gets better optimized (bug#14883).
4548
bd15c390
GM
45492013-09-05 Glenn Morris <rgm@gnu.org>
4550
4551 * progmodes/cc-awk.el (c-forward-sws): Declare.
4552
1c3ac2e5
GM
45532013-09-04 Glenn Morris <rgm@gnu.org>
4554
4555 * generic-x.el [rul-generic-mode]: Require cc-mode.
4556 (c++-mode-syntax-table): Declare.
4557 (rul-generic-mode-syntax-table): Init in the defvar.
4558
52b1cc79
SM
45592013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4560
c828af56
SM
4561 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4562 (vc-do-command, vc-set-async-update):
4563 * vc/vc-mtn.el (vc-mtn-dir-status):
4564 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4565 (vc-hg-pull, vc-hg-merge-branch):
4566 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4567 (vc-git-merge-branch):
4568 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4569 (vc-cvs-dir-status-files):
4570 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4571 (vc-bzr-dir-status-files):
4572 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4573 * vc/vc-annotate.el: Use lexical-binding.
4574 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4575 (vc-sentinel-movepoint): Declare.
4576 (vc-annotate): Don't use `goto-line'.
4577 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4578 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4579 (vc-sentinel-movepoint): Declare.
4580 * vc/vc-svn.el: Use lexical-binding.
4581 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4582 * vc/vc-sccs.el:
4583 * vc/vc-rcs.el: Use lexical-binding.
4584
abae272c
SM
4585 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4586 `deleted'. Don't drop errors silently.
4587
52b1cc79
SM
4588 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4589
63191d9f
XF
45902013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4591
4592 * vc/vc.el (vc-ignore): Rewrite.
4593 (vc-default-ignore): New function.
4594 (vc-default-ignore-completion-table): Use find-ignore-file.
4595
4596 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4597 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4598 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4599 Remove. Most code moved to vc.el.
4600
9d3f707c
SM
46012013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4602
abae272c 4603 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
4604 * net/tramp-smb.el (tramp-smb-get-file-entries):
4605 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4606 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4607
fde38d49
SM
4608 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4609 Update call to it.
4610 (eww-change-select): Remove unused var `properties'.
4611 (eww-make-unique-file-name): Remove unused var `base'.
4612
4613 * finder.el (finder-compile-keywords): Don't mess with windows.
4614
84032db7
SM
4615 * calculator.el (calculator-funcall): Fix typo in last change.
4616
724f5e41
SM
4617 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4618
14b511d4
SM
4619 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4620 <pkg>-autoloads.el file stop us.
4621
9d3f707c 4622 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 4623 warnings, and factor out common code.
9d3f707c 4624
88527bc0
DG
46252013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4626
4627 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4628 two-character operators and whether the character preceding them
4629 changes their meaning (Bug#15208).
4630
96edb677
FEG
46312013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4632
4633 Format code sent to Python shell for robustness.
9d3f707c
SM
4634 * progmodes/python.el (python-shell-buffer-substring):
4635 New function.
96edb677
FEG
4636 (python-shell-send-region, python-shell-send-buffer): Use it.
4637
95beaef3
MA
46382013-09-02 Michael Albinus <michael.albinus@gmx.de>
4639
4640 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4641 * net/tramp.el (tramp-user-error): ... here.
4642 (tramp-find-method, tramp-check-proper-host)
4643 (tramp-dissect-file-name, tramp-debug-message)
4644 (tramp-handle-shell-command):
4645 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4646 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4647
4648 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4649
f167c27b
MR
46502013-09-02 Martin Rudalics <rudalics@gmx.at>
4651
4652 * avoid.el (mouse-avoidance-point-position)
4653 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4654 returns nil.
4655
cd16c5f1
FEG
46562013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4657
4658 * progmodes/python.el (python-shell-completion-get-completions):
4659 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 4660 (python-nav-if-name-main): New command.
cd16c5f1 4661
e73c3a0d
GM
46622013-09-01 Glenn Morris <rgm@gnu.org>
4663
f8ccce03
GM
4664 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4665 Avoid leading space in $wins. Otherwise the sed command used by
4666 eg compile-main ends up containing "/*.el". (Bug#15170)
4667
e73c3a0d
GM
4668 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4669
415f808e
GM
46702013-08-30 Glenn Morris <rgm@gnu.org>
4671
4672 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4673 Fix is-this-a-directory logic. (Bug#15220)
4674
f069bba8
SM
46752013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4676
112798c1
SM
4677 * textmodes/css-mode.el: Use SMIE.
4678 (css-smie-grammar): New var.
4679 (css-smie--forward-token, css-smie--backward-token)
4680 (css-smie-rules): New functions.
4681 (css-mode): Use them.
4682 (css-navigation-syntax-table): Remove var.
4683 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4684 (css-indent-calculate, css-indent-line): Remove functions.
4685
4686 Misc changes to reduce use of `(lambda...); and other cleanups.
4687 * cus-edit.el: Use lexical-binding.
4688 (customize-push-and-save, customize-apropos)
4689 (custom-buffer-create-internal): Use closures.
4690 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4691 * progmodes/ada-xref.el: Use setq.
4692 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4693 * dframe.el: Use lexical-binding.
4694 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4695 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4696 * descr-text.el: Use lexical-binding.
4697 (describe-text-widget, describe-text-sexp, describe-property-list):
4698 Use closures.
4699 * comint.el (comint-history-isearch-push-state): Use a closure.
4700 * calculator.el: Use lexical-binding.
4701 (calculator-number-to-string): Make it work with lexical-binding.
4702 (calculator-funcall): Same and use cl-letf.
4703
2da4c3ab
SM
4704 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4705 (lisp--company-doc-string, lisp--company-location): New functions.
4706 (lisp-completion-at-point): Use them to improve Company support.
4707
f069bba8
SM
4708 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4709 params of lambda expressions.
4710 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4711 (ruby-smie--opening-pipe-p): New function.
4712 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4713 symbols and matched |...| for formal params.
4714 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4715 from being treated as hanging. Handle "rescue".
4716
6758b6a8
GM
47172013-08-29 Glenn Morris <rgm@gnu.org>
4718
4719 * progmodes/cc-engine.el (c-pull-open-brace):
4720 Move definition before use.
4721
e8dfd197
SM
47222013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4725 are immutable. Don't use `unsafe' any more.
4726 (cl--defsubst-expand): Don't substitute at the same time as keeping
4727 a residual unused let-binding. Don't use `unsafe' any more.
4728
cc585c96
GM
47292013-08-29 Glenn Morris <rgm@gnu.org>
4730
ba579ea6
GM
4731 * calendar/cal-china.el (calendar-chinese-year-cache):
4732 Recenter on 2015.
4733
8201a87e
GM
4734 * nxml/nxml-util.el (nxml-debug-clear-inside):
4735 Use cl-loop rather than loop.
4736
6ee877c7
GM
4737 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4738
cc585c96
GM
4739 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4740
27be8d39
GM
47412013-08-28 Glenn Morris <rgm@gnu.org>
4742
397440a1
GM
4743 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4744
2bb762d4
GM
4745 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4746
27be8d39
GM
4747 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4748
2d69b99e
SM
47492013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4750
f663baa7
SM
4751 * simple.el (repeat-complex-command--called-interactively-skip):
4752 New function.
4753 (repeat-complex-command): Use it (bug#14136).
4754
dd4f8b74
SM
4755 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4756 (c-define-abbrev-table): Add `doc' argument.
4757 (c-mode-abbrev-table, c++-mode-abbrev-table)
4758 (objc-mode-abbrev-table, java-mode-abbrev-table)
4759 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4760 (awk-mode-abbrev-table): Use it.
4761 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4762 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4763 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4764 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4765 Move initialization into the declaration; and remove any
4766 autoload cookie.
4767
b58969f7
SM
4768 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4769 and dynamic let binding.
4770
4021d6a6
SM
4771 * vc/smerge-mode.el: Remove redundant :group args.
4772
2d69b99e
SM
4773 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4774 to load-path.
4775
274919fd
JL
47762013-08-28 Juri Linkov <juri@jurta.org>
4777
4778 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4779 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4780 (isearch-other-meta-char): Handle an undefined shifted printing
4781 character by downshifting it. (Bug#15200)
4782
121f8c95
JL
47832013-08-28 Juri Linkov <juri@jurta.org>
4784
4785 * isearch.el (isearch-search): Change regexp error message for
4786 non-regexp searches. (Bug#15166)
4787
50b13cde
PE
47882013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4789
4790 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4791 for portability to hosts where /bin/sh has problems.
4792
95888bca
SM
47932013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4796
bbe558f1
JL
47972013-08-27 Juri Linkov <juri@jurta.org>
4798
4799 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4800 in the keyboard macro. (Bug#15126)
4801
26f98a7d
JL
48022013-08-27 Juri Linkov <juri@jurta.org>
4803
4804 * isearch.el (isearch-quote-char): Comment out converting unibyte
4805 to multibyte, thus syncing with its `quoted-insert' counterpart.
4806 (Bug#15166)
4807
7c97d35e
MR
48082013-08-27 Martin Rudalics <rudalics@gmx.at>
4809
4810 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
4811 argument in call of get-largest-window (Bug#15185).
4812 Reported by Stephen Leake.
7c97d35e 4813
a0b5606e 48142013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
4815
4816 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4817
9e89d835
SM
48182013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4819
4820 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4821 from a matcher-function unless there's no more matches (bug#15161).
4822
78fc2530
MA
48232013-08-26 Michael Albinus <michael.albinus@gmx.de>
4824
4825 * minibuffer.el: Revert change from 2013-08-20.
4826
4827 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4828 with text property `tramp-default', if appropriate.
4829 (tramp-check-proper-host): New defun.
4830 (tramp-dissect-file-name): Do not check hostname. Revert change
4831 of 2013-03-18.
4832 (tramp-backtrace): Make VEC-OR-PROC optional.
4833
4834 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4835 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4836 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
4837 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4838 Apply `tramp-check-proper-host'.
78fc2530 4839
edca97cd
TH
48402013-08-26 Tassilo Horn <tsdh@gnu.org>
4841
4842 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4843 lambda expression in order to have `describe-variable' display it.
4844
df54bcbd
MA
48452013-08-26 Michael Albinus <michael.albinus@gmx.de>
4846
4847 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4848 BUF can be optional. (Bug#15186)
4849
eed99101
XF
48502013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4851
4852 * progmodes/flymake.el (flymake-get-real-file-name-function):
4853 Fix broken customization. (Bug#15184)
4854
b5eb9035
AM
48552013-08-25 Alan Mackenzie <acm@muc.de>
4856
8a51e842
AM
4857 Improve indentation of bracelists defined by macros (without "=").
4858
4859 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4860 expansion begins with "{", regard it as bracelist when it doesn't
4861 contain a ";".
4862
869455d4
AM
4863 Parse C++ inher-intro when there's a template split over 2 lines.
4864
4865 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4866 rigorously the search for "class" etc. followed by ":".
4867
4868 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4869 random languages a regexp which never matches rather than nil.
4870
b5eb9035
AM
4871 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4872
4873 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4874 (c-awk-regexp-one-line-possibly-open-char-list-re)
4875 (c-awk-one-line-possibly-open-regexp-re)
4876 (c-awk-one-line-non-syn-ws*-re): Remove.
4877 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4878 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4879 (c-awk-space*-unclosed-regexp-/-re): New constants.
4880 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4881 aren't regexp delimiters.
4882
4883 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4884 handling for a rare situation in AWK Mode involving unterminated
4885 strings/regexps.
4886
61611d54
GM
48872013-08-23 Glenn Morris <rgm@gnu.org>
4888
2d85dc34
GM
4889 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4890
cb8d2612
GM
4891 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4892
bb35f42f
GM
4893 * files.el (create-file-buffer): If the result would begin with
4894 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 4895
b9808e77
SM
48962013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4897
e3a66363
SM
4898 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4899 text-properties (bug#15155).
4900
b9808e77
SM
4901 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4902 exist any more.
4903 (calc-keypad-redraw): Remove unused var `pad'.
4904 (calc-keypad-press): Remove unused var `menu'.
4905
7fd5f65e
MR
49062013-08-23 Martin Rudalics <rudalics@gmx.at>
4907
b9808e77
SM
4908 * window.el (display-buffer-pop-up-frame):
4909 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
4910 use it as the new frame's buffer (Bug#15133).
4911
8352b530
SM
49122013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * calendar/timeclock.el: Minor cleanups.
4915 (timeclock-ask-before-exiting, timeclock-use-display-time):
4916 Use `symbol'.
4917 (timeclock-modeline-display): Define as alias before the
4918 actual definition.
4919 (timeclock-mode-line-display): Use define-minor-mode.
4920 (timeclock-day-list-template): Make it a function, add an argument.
4921 (timeclock-day-list-required, timeclock-day-list-length)
4922 (timeclock-day-list-debt, timeclock-day-list-span)
4923 (timeclock-day-list-break): Adjust calls accordingly.
4924
9f7b1925
SM
49252013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4928 Use read--expression so that completion works again.
4929
6e50e983
SS
49302013-08-21 Sam Steingold <sds@gnu.org>
4931
4932 Add rudimentary inferior shell interaction
4933 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4934 (sh-set-shell): Reset it.
9f7b1925
SM
4935 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4936 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 4937
dbb0d350
SM
49382013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * align.el: Use lexical-binding.
4941 (align-region): Simplify accordingly.
4942
c88586a9
MA
49432013-08-20 Michael Albinus <michael.albinus@gmx.de>
4944
4945 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4946
4947 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4948 `non-essential' up.
4949
f95527c8
MA
49502013-08-17 Michael Albinus <michael.albinus@gmx.de>
4951
4952 * net/tramp.el:
4953 * net/tramp-adb.el:
4954 * net/tramp-cmds.el:
4955 * net/tramp-ftp.el:
4956 * net/tramp-gvfs.el:
4957 * net/tramp-gw.el:
4958 * net/tramp-sh.el: Don't wrap external variable declarations by
4959 `eval-when-compile'.
4960
4b5fe4ee
LMI
49612013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4962
4963 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4964 now that Emacs supports ImageMagick animations.
4965
13c366c9
MA
49662013-08-16 Michael Albinus <michael.albinus@gmx.de>
4967
4968 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4969 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4970
3dfc5cd6
MR
49712013-08-16 Martin Rudalics <rudalics@gmx.at>
4972
4973 * window.el (mouse-autoselect-window-select): Do autoselect when
4974 mouse pointer is on margin.
4975
4bbb4381
WP
49762013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4977
4978 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4979
3a2ddc2d
GM
49802013-08-16 Glenn Morris <rgm@gnu.org>
4981
e8bedf5a
GM
4982 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4983 Handle "Remote Directory" response of some clients. (Bug#15058)
4984
58c4682f
GM
4985 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4986 Tweak warning. (Bug#14926)
4987
57953f49
GM
4988 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4989 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4990
3a2ddc2d
GM
4991 * image-mode.el (image-mode-map): Add menu items to reverse,
4992 increase, decrease, reset animation speed.
4993 (image--set-speed, image-increase-speed, image-decrease-speed)
4994 (image-reverse-speed, image-reset-speed): New functions.
4995 (image-mode-map): Add bindings for speed commands.
4996
4997 * image.el (image-animate-get-speed, image-animate-set-speed):
4998 New functions.
4999 (image-animate-timeout): Respect image :speed property.
5000
10fa0ed3
SM
50012013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5002
5003 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5004 previous line (bug#15101).
5005 (debugger-eval-expression, debugger-record-expression):
5006 Use read--expression (bug#15102).
5007
5d89d9d2
MA
50082013-08-15 Michael Albinus <michael.albinus@gmx.de>
5009
5010 Remove byte compiler warnings, visible when compiling with
5011 `byte-compile-force-lexical-warnings' set to t.
5012
5013 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5014 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5015 (tramp-handle-unhandled-file-name-directory)
5016 (tramp-handle-file-notify-add-watch, tramp-action-login)
5017 (tramp-action-succeed, tramp-action-permission-denied)
5018 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5019 arguments with "_".
5020
5021 * net/tramp-adb.el (tramp-adb-parse-device-names)
5022 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5023 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5024 (tramp-adb-handle-file-truename): Remove unused arguments.
5025
5026 * net/tramp-cache.el (tramp-flush-directory-property)
5027 (tramp-flush-connection-property, tramp-list-connections)
5028 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5029
10fa0ed3
SM
5030 * net/tramp-compat.el (tramp-compat-make-temp-file):
5031 Rename FILENAME to F.
5d89d9d2
MA
5032
5033 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5034 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5035 (tramp-zeroconf-parse-workstation-device-names)
5036 (tramp-zeroconf-parse-webdav-device-names)
5037 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5038
5039 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5040 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5041
5042 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5043 arguments.
5044 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5045 (tramp-sh-handle-insert-file-contents-literally)
5046 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5047 with "_".
5048 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5049 Remove unused variables.
5050
5051 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5052 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5053 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5054
5055 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5056 Make them a defconst.
5057 (tramp-uuencode-region): Remove unused variable.
5058
62f33bae
JB
50592013-08-14 Juanma Barranquero <lekktu@gmail.com>
5060
5061 * frameset.el (frameset--prop-setter): New function.
5062 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5063 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5064 parameter was already set in FILTERED. Doc fix.
5065 (frameset--record-minibuffer-relationships): Allow saving a
5066 minibufferless frame without its corresponding minibuffer frame.
5067 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5068 frame, if the frame id matches.
5069 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5070 frames before orphaned ones.
5071 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5072
c660a885
MR
50732013-08-14 Martin Rudalics <rudalics@gmx.at>
5074
5075 * window.el (window-make-atom): Don't overwrite parameter
5076 already present.
5077 (display-buffer-in-atom-window): Handle special case where we
5078 split an already atomic window.
5079 (window--major-non-side-window, display-buffer-in-side-window)
5080 (window--side-check): Ignore minibuffer window when walking
5081 window tree.
5082 (window-deletable-p): Return 'frame only if no other frame uses
5083 our minibuffer window.
5084 (record-window-buffer): Run buffer-list-update-hook.
5085 (split-window): Make sure window--check-frame won't destroy an
5086 existing atomic window in case the new window gets nested
5087 inside.
5088 (display-buffer-at-bottom): Ignore minibuffer window when
5089 walking window tree. Don't split a side window.
5090 (pop-to-buffer): Don't set-buffer here, the select-window call
5091 should do that.
5092 (mouse-autoselect-window-select): Autoselect only if we are in the
5093 text portion of the window.
5094
8259030d
LMI
50952013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5096
21c58ae2
LMI
5097 * net/shr.el (shr-parse-image-data): New function to grab both the
5098 data itself and the Content-Type.
5099 (shr-put-image): Use it.
5100
5101 * net/eww.el (eww-display-image): Ditto.
5102
8259030d
LMI
5103 * image.el (image-content-type-suffixes): New variable.
5104
ad756449
FEG
51052013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5106
5107 * progmodes/python.el (python-imenu--build-tree)
5108 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5109
f73f4ce6
XF
51102013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5111
5112 * simple.el (backward-word): Mention the optional argument.
5113
1f585e65
SM
51142013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * frameset.el (frameset--make): Rename constructor from make-frameset.
5117 (frameset-p, frameset-valid-p): Don't autoload.
5118 (frameset-valid-p): Use normal accessors.
5119
af1c6c84
GM
51202013-08-13 Glenn Morris <rgm@gnu.org>
5121
55e47f95
GM
5122 * progmodes/compile.el (compile-command): Tweak example in doc.
5123 * obsolete/scribe.el (scribe-mode):
5124 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5125
f0024d8c
GM
5126 * mail/feedmail.el (feedmail-confirm-outgoing)
5127 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5128
5129 * cus-start.el (truncate-partial-width-windows): Fix type.
5130
5131 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5132
af1c6c84
GM
5133 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5134
5514cc4c
SM
51352013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * emacs-lisp/timer.el (timer--time-setter): New function.
5138 (timer--time): Use it as gv-setter.
5139
5140 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5141 setter is not a symbol.
5142
7997a2f1
GJ
51432013-08-12 Grégoire Jadi <daimrod@gmail.com>
5144
5145 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5146 if sending fails. This makes debugging easier.
5147
01f1a9ab
JB
51482013-08-12 Juanma Barranquero <lekktu@gmail.com>
5149
5150 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5151 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5152 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5153
594a4307
EZ
51542013-08-12 Eli Zaretskii <eliz@gnu.org>
5155
5156 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5157
7a22490f 51582013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5159
5160 * format.el (format-annotate-function):
5161 Handle read-only text properties in the source. (Bug#14887)
5162
3e41a054
LMI
51632013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5164
5514cc4c
SM
5165 * net/eww.el (eww-display-html): Ignore coding system errors.
5166 One web site uses "utf-8lias" as the coding system.
3e41a054 5167
7ec326db
JB
51682013-08-11 Juanma Barranquero <lekktu@gmail.com>
5169
5170 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5171
5660113b
JB
51722013-08-10 Juanma Barranquero <lekktu@gmail.com>
5173
9a4ebc74
JB
5174 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5175 (tutorial--detailed-help): Remove unused local variables.
5176 (tutorial--save-tutorial-to): Use ignore-errors.
5177 (help-with-tutorial): Use looking-at-p.
5178
5179 * view.el (view-buffer-other-window, view-buffer-other-frame):
5180 Mark unused arguments.
5181
5182 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5183 (woman-select-symbol-fonts, woman, woman-find-file)
5184 (woman-insert-file-contents, woman-non-underline-faces):
5185 Use string-match-p.
5186 (woman1-unquote): Move declaration.
5187
5188 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5189 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5190 argument. Remove unused local variable.
5191 (xml-parse-elem-type): Use string-match-p.
5192 (xml-substitute-numeric-entities): Use ignore-errors.
5193
45fdb482
JB
5194 * calculator.el (calculator): Mark unused argument.
5195 (calculator-paste, calculator-quit, calculator-integer-p):
5196 Use ignore-errors.
5197 (calculator-string-to-number, calculator-decimal, calculator-exp)
5198 (calculator-op-or-exp): Use string-match-p.
5199
5200 * dired.el (dired-buffer-more-recently-used-p): Declare.
5201 (dired-insert-set-properties, dired-insert-old-subdirs):
5202 Use ignore-errors.
5203
5204 * dired-aux.el (dired-compress): Use ignore-errors.
5205 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5206 (dired-do-async-shell-command, dired-do-shell-command)
5207 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5208 (dired-insert-subdir-validate): Use string-match-p.
5209 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5210 (dired-add-entry): Use string-match-p, looking-at-p.
5211 (dired-insert-subdir-newpos): Remove unused local variable.
5212
5213 * filenotify.el (file-notify-callback): Remove unused local variable.
5214
5215 * filesets.el (filesets-error): Mark unused argument.
5216 (filesets-which-command-p, filesets-filter-dir-names)
5217 (filesets-directory-files, filesets-get-external-viewer)
5218 (filesets-ingroup-get-data): Use string-match-p.
5219
5220 * find-file.el (ff-other-file-name, ff-other-file-name)
5221 (ff-find-the-other-file, ff-cc-hh-converter):
5222 Remove unused local variables.
5223 (ff-get-file-name): Use string-match-p.
5224 (ff-all-dirs-under): Use ignore-errors.
5225
5226 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5227 (follow-select-if-visible): Remove unused local variable.
5228
5229 * forms.el (read-file-filter): Move declaration.
5230 (forms--make-format, forms--make-parser, forms-insert-record):
5231 Quote function with #'.
5232 (forms--update): Use string-match-p. Quote function with #'.
5233
5234 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5235 (help-make-xrefs): Use looking-at-p.
5236 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5237
5238 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5239 (ibuffer-confirm-operation-on): Use string-match-p.
5240
5241 * msb.el (msb-item-handler, msb-dired-item-handler):
5242 Mark unused arguments.
5243
5244 * ses.el (ses-decode-cell-symbol)
5245 (ses-kill-override): Remove unused local variable.
5246 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5247 (ses-load): Use ignore-errors, looking-at-p.
5248 (ses-jump-safe): Use ignore-errors.
5249 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5250
5251 * tabify.el (untabify, tabify): Mark unused arguments.
5252
5253 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5254 Mark unused argument.
5255 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5256 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5257
c880af52
JB
5258 * emacs-lisp/timer.el (timer--time): Define setter with
5259 gv-define-setter to avoid deprecation warning.
5260
5660113b 5261 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 5262 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
5263 (cmpl-statistics-block): Remove (body was commented out).
5264 All callers changed.
5265 (add-completions-from-buffer, load-completions-from-file):
5266 Remove unused variables.
5267
156aab80
JB
52682013-08-09 Juanma Barranquero <lekktu@gmail.com>
5269
5c5dee78
JB
5270 * filecache.el (file-cache-delete-file-list):
5271 Print message only when told so.
5272 (file-cache-files-matching): Use #' in mapconcat argument.
5273
156aab80
JB
5274 * ffap.el (ffap-url-at-point): Fix reference to variable
5275 thing-at-point-default-mail-uri-scheme.
5276
ad9dcd70
SM
52772013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5278
54bd972f
SM
5279 * subr.el (define-error): New function.
5280 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5281 error-file-not-found and define with define-error.
5282 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5283 and define with define-error.
5284 * userlock.el (file-locked, file-supersession):
5285 * simple.el (mark-inactive):
5286 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5287 * progmodes/ada-mode.el (ada-mode-errors):
5288 * play/life.el (life-extinct):
5289 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5290 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5291 * nxml/rng-util.el (rng-error):
5292 * nxml/rng-uri.el (rng-uri-error):
5293 * nxml/rng-match.el (rng-compile-error):
5294 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5295 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5296 * nxml/nxml-rap.el (nxml-scan-error):
5297 * nxml/nxml-outln.el (nxml-outline-error):
5298 * net/soap-client.el (soap-error):
5299 * net/gnutls.el (gnutls-error):
5300 * net/ange-ftp.el (ftp-error):
5301 * mpc.el (mpc-proc-error):
5302 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5303 (json-number-format, json-string-escape, json-string-format)
5304 (json-key-format, json-object-format):
5305 * jka-compr.el (compression-error):
5306 * international/quail.el (quail-error):
5307 * international/kkc.el (kkc-error):
5308 * emacs-lisp/ert.el (ert-test-failed):
5309 * calc/calc.el (calc-error, inexact-result, math-overflow)
5310 (math-underflow):
5311 * bookmark.el (bookmark-error-no-filename):
5312 * epg.el (epg-error): Define with define-error.
5313
0ea9e53a
SM
5314 * time.el (display-time-event-handler)
5315 (display-time-next-load-average): Don't call sit-for since it seems
5316 unnecessary (bug#15045).
5317
b0429158
SM
5318 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5319 Use #' instead of ' to quote functions.
5320 (checkdoc-output-mode): Use setq-local.
5321 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5322 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5323 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5324 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5325 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5326 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5327 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5328 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5329
ad9dcd70
SM
5330 * ido.el (ido-completion-help): Fix up compiler warning.
5331
77187e6f
JB
53322013-08-09 Juanma Barranquero <lekktu@gmail.com>
5333
5334 * frameset.el (frameset-p): Add autoload cookie.
5335 (frameset--jump-to-register): New function, based on code moved from
5336 register.el.
5337 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5338
5339 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5340 (frameset-restore, frameset-save, frameset-session-filter-alist):
5341 Remove declarations.
5342 (register-alist): Doc fix.
5343 (frameset-to-register): Move to frameset.el.
5344 (jump-to-register, describe-register-1): Remove frameset-specific code.
5345
9d3aa82c
JB
53462013-08-08 Juanma Barranquero <lekktu@gmail.com>
5347
5348 * allout-widgets.el (allout-widgets-pre-command-business)
5349 (allout-widgets-post-command-business)
5350 (allout-widgets-after-change-handler)
5351 (allout-decorate-item-and-context, allout-set-boundary-marker)
5352 (allout-body-modification-handler)
5353 (allout-graphics-modification-handler): Mark ignored arguments.
5354 (allout-widgets-post-command-business)
5355 (allout-widgets-exposure-change-processor)
5356 (allout-widgets-exposure-undo-processor)
5357 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5358 (allout-parse-item-at-point, allout-decorate-item-guides)
5359 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5360 * allout.el (epa-passphrase-callback-function): Declare.
5361 (allout-overlay-insert-in-front-handler)
5362 (allout-overlay-interior-modification-handler)
5363 (allout-isearch-end-handler, allout-chart-siblings)
5364 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5365 (allout-yank-processing, allout-process-exposed)
5366 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 5367 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
5368 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5369 (lisp-indent-defform): Mark ignored arguments.
5370 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5371 (calculate-lisp-indent): Remove unused variables.
5372 * international/characters.el (indian-2-column, arabic-2-column)
5373 (tibetan): Mark ignored arguments.
5374 (use-cjk-char-width-table): Mark ignored arguments.
5375 Remove unused variables.
5376 * international/fontset.el (build-default-fontset-data)
5377 (x-compose-font-name, create-fontset-from-fontset-spec):
5378 Mark ignored arguments.
5379 (fontset-plain-name): Remove unused variables.
5380 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5381 (keyboard-coding-system): Mark ignored arguments.
5382 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5383 * help.el (resize-temp-buffer-window):
5384 * window.el (display-buffer-in-major-side-window)
5385 (display-buffer-in-side-window, display-buffer-in-previous-window):
5386 Remove unused variables.
5387 * isearch.el (isearch-forward-symbol):
5388 * version.el (emacs-bzr-version-bzr):
5389 * international/mule-cmds.el (current-language-environment):
5390 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5391 (x-handle-display):
5392 * term/pc-win.el (x-list-fonts, x-display-planes)
5393 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5394 (x-server-version, x-display-screens, x-display-mm-height)
5395 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5396 (x-selection-owner-p, x-own-selection-internal)
5397 (x-disown-selection-internal, x-get-selection-internal)
5398 (msdos-initialize-window-system):
5399 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5400 * term/x-win.el (x-handle-no-bitmap-icon):
5401 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5402 (vc-default-find-file-hook, vc-default-extra-menu):
5403 Mark ignored arguments.
5404
0ca3f70e
SM
54052013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5406
5407 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5408 break-condition in the context of the debugged code (bug#12685).
5409
74c5d24c
CS
54102013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5411
5412 * comint.el:
5413 Do not use an overlay to highlight the last prompt. (Bug#14744)
5414 (comint-mode): Make comint-last-prompt buffer local.
5415 (comint-last-prompt): New variable.
5416 (comint-last-prompt-overlay): Remove. Superseded by
5417 comint-last-prompt.
0ca3f70e
SM
5418 (comint-snapshot-last-prompt, comint-output-filter):
5419 Use comint-last-prompt.
74c5d24c 5420
c03c02ee
JB
54212013-08-08 Juanma Barranquero <lekktu@gmail.com>
5422
a3738d20 5423 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
5424 (frameset-save): Check validity of the resulting frameset.
5425
04263d23
XF
54262013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5427
5428 * ido.el (ido-record-command): Add doc string.
5429
76c5e5ab
JB
54302013-08-08 Juanma Barranquero <lekktu@gmail.com>
5431
5432 * frameset.el (frameset): Do not disable creation of the default
5433 frameset-p predicate. Doc fix.
5434 (frameset-valid-p): New function, copied from the old predicate-p.
5435 Add additional checks.
5436 (frameset-restore): Check with frameset-valid-p.
5437 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5438 (frameset-name, frameset-description, frameset-properties)
5439 (frameset-states): Add docstring.
f9dbf1cb
JB
5440 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5441 (frameset-filter-alist): Doc fixes.
76c5e5ab 5442
bd0c3c0b
JB
54432013-08-08 Juanma Barranquero <lekktu@gmail.com>
5444
5445 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5446
c735544c
SM
54472013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5448
5449 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5450 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5451 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5452 (byte-compile-normal-call): Remove obsolescence check.
5453
2805a651
JB
54542013-08-08 Juanma Barranquero <lekktu@gmail.com>
5455
3677ffeb
JB
5456 * frameset.el (frameset-restore): Doc fix.
5457
2805a651
JB
5458 * register.el (frameset-frame-id, frameset-frame-with-id)
5459 (frameset-p, frameset-restore, frameset-save): Declare.
5460 (register-alist): Document framesets.
5461 (frameset-session-filter-alist): Declare.
5462 (frameset-to-register): New function.
5463 (jump-to-register): Implement jumping to framesets. Doc fix.
5464 (describe-register-1): Describe framesets.
5465
5466 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5467
a912c016
JB
54682013-08-07 Juanma Barranquero <lekktu@gmail.com>
5469
5470 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5471 Use lexical-binding.
5472
5473 * frameset.el (frameset): Use type vector, not list (incompatible
5474 change). Do not declare a new constructor, use the default one.
5475 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5476 `name' and `description', respectively, and add read-only slot
5477 `timestamp'. Doc fixes.
5478 (frameset-copy, frameset-persistent-filter-alist)
5479 (frameset-filter-alist, frameset-switch-to-gui-p)
5480 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5481 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5482 (frameset-filter-iconified, frameset-keep-original-display-p):
5483 Doc fixes.
5484 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5485 Rename from frameset-filter-(save|restore)-param. All callers changed.
5486 Doc fix.
5487 (frameset-p): Adapt to change to vector and be more thorough.
5488 Change arg name to OBJECT. Doc fix.
5489 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5490 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5491 All callers changed.
5492 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5493 All callers changed.
5494 (frameset--record-minibuffer-relationships): Rename from
5495 frameset--process-minibuffer-frames. All callers changed.
5496 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5497 Use new default constructor (again). Doc fix.
5498 (frameset--find-frame-if): Rename from `frameset--find-frame.
5499 All callers changed.
5500 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5501 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5502 Doc fix.
5503 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5504 PARAMETERS and WINDOW-STATE, respectively.
5505 (frameset-restore): Add new keyword argument PREDICATE.
5506 Reset frameset--target-display to nil. Doc fix.
5507
bb41480a
SM
55082013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5509
f001e98e
SM
5510 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5511 (bat-mode): Use it.
5512 (bat-mode-syntax-table): Mark \n as end-of-comment.
5513 (bat-font-lock-keywords): Remove comment rule.
5514
7679edb1
SM
5515 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5516 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5517
bb41480a
SM
5518 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5519 (byte-compile-callargs-warn): Use `push'.
5520 (byte-compile-arglist-warn): Ignore higher-order "calls".
5521 (byte-compile-file-form-autoload): Use `pcase'.
5522 (byte-compile-function-form): If quoting a symbol, check that it exists.
5523
cdc1ebb9
EZ
55242013-08-07 Eli Zaretskii <eliz@gnu.org>
5525
5526 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5527 and add a few popular commands found in batch files.
5528 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5529 (dos-mode): Doc fixes.
5530
312b1740
SM
55312013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5534 (dos-mode): Use setq-local. Add space after "rem".
5535 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5536 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5537
400a3178
AM
55382013-08-07 Arni Magnusson <arnima@hafro.is>
5539
5540 * progmodes/dos.el: New file.
5541 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5542 dos-mode.
5543
3b5c03d3
GM
55442013-08-06 Glenn Morris <rgm@gnu.org>
5545
5546 * calendar/calendar.el: Add new faces, and day-header-array.
5547 (calendar-weekday-header, calendar-weekend-header)
5548 (calendar-month-header): New faces.
5549 (calendar-day-header-construct): New function.
5550 (calendar-day-header-width): Also :set calendar-day-header-array.
5551 (calendar-american-month-header, calendar-european-month-header)
5552 (calendar-iso-month-header): Use calendar- faces.
5553 (calendar-generate-month):
5554 Use calendar-day-header-array for day headers; apply faces to them.
5555 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5556 (calendar-abbrev-construct): Add optional maxlen argument.
5557 (calendar-day-name-array): Doc fix.
5558 (calendar-day-name-array, calendar-abbrev-length)
5559 (calendar-day-abbrev-array):
5560 Also :set calendar-day-header-array, and maybe redraw.
5561 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 5562 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
5563 (calendar-day-name): Add option to use header array.
5564
ec6a2d7a
LMI
55652013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5566
5567 * net/shr.el (shr-render-td): Remove debugging.
5568 (shr-render-td): Make width computation consistent by defaulting
5569 all zero-width columns to 10 characters. This may not be optimal,
5570 but it's at least consistent.
2122cb6d
LMI
5571 (shr-make-table-1): Redo last change to fix the real problem in
5572 colspan handling.
ec6a2d7a 5573
ed4fd9c5
DA
55742013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5575
0ca3f70e
SM
5576 * files.el (cache-long-line-scans):
5577 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 5578
64e22afe
JB
55792013-08-06 Juanma Barranquero <lekktu@gmail.com>
5580
024b38fc
JB
5581 * frameset.el (frameset, frameset-filter-alist)
5582 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5583 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5584 (frameset-compute-pos): Rename from frameset--compute-pos,
5585 and add docstring.
5586 (frameset-move-onscreen): Use frameset-compute-pos.
5587 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5588
64e22afe
JB
5589 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5590 Fix typos in docstrings.
5591
c8c2aca8
DA
55922013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5593
5594 * frame.el (get-other-frame): Tiny cleanup.
5595
1d237bba
JB
55962013-08-06 Juanma Barranquero <lekktu@gmail.com>
5597
8951efef
JB
5598 * vc/vc.el (vc-default-ignore-completion-table):
5599 Silence byte-compiler warning.
5600
307764cc
JB
5601 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5602 slot , which can indeed be nil.
5603 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5604 Move entry for `left' from persistent to live filter alist.
5605 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5606 Doc fixes.
5607 (frameset-filter-params): When restoring a frame, copy items added to
5608 `filtered', to avoid unwittingly modifying the original parameters.
5609 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5610 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5611
1d237bba
JB
5612 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5613 to use looking-at-p instead of looking-at. (Bug#15028)
5614
dc6c0eda
SM
56152013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5616
5617 Revert introduction of isearch-filter-predicates (bug#14714).
5618 Rely on add-function instead.
5619 * isearch.el (isearch-filter-predicates): Rename it back to
5620 isearch-filter-predicate.
5621 (isearch-message-prefix): Use advice-function-mapc and advice
5622 properties to get the isearch-message-prefix.
5623 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5624 instead of run-hook-with-args-until-failure.
5625 (isearch-filter-visible): Not obsolete any more.
5626 * loadup.el: Preload nadvice.
5627 * replace.el (perform-replace): Revert to funcall
5628 instead of run-hook-with-args-until-failure.
5629 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5630 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5631 dired-isearch-filenames-toggle; make it into a proper minor mode.
5632 Use add/remove-function.
5633 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5634 Call the minor-mode rather than add/remove-hook.
5635 (dired-isearch-filter-filenames):
5636 Remove isearch-message-prefix property.
5637 * info.el (Info--search-loop): New function, extracted from Info-search.
5638 Funcall isearch-filter-predicate instead of
5639 run-hook-with-args-until-failure isearch-filter-predicates.
5640 (Info-search): Use it.
5641 (Info-mode): Use isearch-filter-predicate instead of
5642 isearch-filter-predicates.
5643
290d5b58
DA
56442013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5645
5646 Do not call to `selected-window' where it is assumed by default.
5647 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5648 `window-hscroll', `window-width', `window-height', `window-buffer',
5649 `window-frame', `window-start', `window-point', `next-window'
5650 and `window-display-table'.
5651 * abbrev.el (abbrev--default-expand):
5652 * bs.el (bs--show-with-configuration):
5653 * buff-menu.el (Buffer-menu-mouse-select):
5654 * calc/calc.el (calc):
5655 * calendar/calendar.el (calendar-generate-window):
5656 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5657 (diary-make-entry):
5658 * comint.el (send-invisible, comint-dynamic-complete-filename)
5659 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5660 * completion.el (complete):
5661 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5662 * disp-table.el (describe-current-display-table):
5663 * doc-view.el (doc-view-insert-image):
5664 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5665 * ehelp.el (with-electric-help):
5666 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5667 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5668 * emacs-lisp/helper.el (Helper-help-scroller):
5669 * emulation/cua-base.el (cua--post-command-handler-1):
5670 * eshell/esh-mode.el (eshell-output-filter):
5671 * ffap.el (ffap-gnus-wrapper):
5672 * help-macro.el (make-help-screen):
5673 * hilit-chg.el (highlight-compare-buffers):
5674 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5675 * hl-line.el (global-hl-line-highlight):
5676 * icomplete.el (icomplete-simple-completing-p):
5677 * isearch.el (isearch-done):
5678 * jit-lock.el (jit-lock-stealth-fontify):
5679 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5680 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5681 * mpc.el (mpc-tagbrowser, mpc):
5682 * net/rcirc.el (rcirc-any-buffer):
5683 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5684 * play/landmark.el (landmark-max-width, landmark-max-height):
5685 * play/zone.el (zone):
5686 * progmodes/compile.el (compilation-goto-locus):
5687 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5688 * progmodes/etags.el (find-tag-other-window):
5689 * progmodes/fortran.el (fortran-column-ruler):
5690 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5691 * progmodes/verilog-mode.el (verilog-point-text):
5692 * reposition.el (reposition-window):
5693 * rot13.el (toggle-rot13-mode):
5694 * server.el (server-switch-buffer):
5695 * shell.el (shell-dynamic-complete-command)
5696 (shell-dynamic-complete-environment-variable):
5697 * simple.el (insert-buffer, set-selective-display)
5698 (delete-completion-window):
5699 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5700 (speedbar-recenter):
5701 * startup.el (fancy-splash-head):
5702 * textmodes/ispell.el (ispell-command-loop):
5703 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5704 * tutorial.el (help-with-tutorial):
5705 * vc/add-log.el (add-change-log-entry):
5706 * vc/compare-w.el (compare-windows):
5707 * vc/ediff-help.el (ediff-indent-help-message):
5708 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5709 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5710 (ediff-setup-control-frame):
5711 * vc/emerge.el (emerge-position-region):
5712 * vc/pcvs-util.el (cvs-bury-buffer):
5713 * window.el (walk-windows, mouse-autoselect-window-select):
5714 * winner.el (winner-set-conf, winner-undo): Related users changed.
5715
38276e01
JB
57162013-08-05 Juanma Barranquero <lekktu@gmail.com>
5717
5718 * frameset.el (frameset--set-id): Doc fix.
5719 (frameset-frame-id, frameset-frame-id-equal-p)
5720 (frameset-locate-frame-id): New functions.
5721 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5722 (frameset-restore): Use them.
5723
12b4c0ea
DA
57242013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5725
5726 Do not call to `selected-frame' where it is assumed by default.
5727 Affected functions are `raise-frame', `redraw-frame',
5728 `frame-first-window', `frame-terminal' and `delete-frame'.
5729 * calendar/appt.el (appt-disp-window):
5730 * epg.el (epg-wait-for-completion):
5731 * follow.el (follow-delete-other-windows-and-split)
5732 (follow-avoid-tail-recenter):
5733 * international/mule.el (set-terminal-coding-system):
5734 * mail/rmail.el (rmail-mail-return):
5735 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5736 * progmodes/f90.el (f90-add-imenu-menu):
5737 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5738 * server.el (server-switch-buffer):
5739 * simple.el (delete-completion-window):
5740 * talk.el (talk):
5741 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5742 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5743 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5744 * vc/ediff.el (ediff-documentation): Related users changed.
5745 * frame.el (selected-terminal): Remove the leftover.
5746
17f25e76
GM
57472013-08-05 Glenn Morris <rgm@gnu.org>
5748
5749 * calendar/calendar.el (calendar-generate-month):
5750 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
5751 (calendar-generate-month, calendar-font-lock-keywords):
5752 Fix for calendar-day-header-width > length of any day name.
17f25e76 5753
063233c3
JB
57542013-08-05 Juanma Barranquero <lekktu@gmail.com>
5755
5756 * desktop.el (desktop-clear): Use new name of sort predicate.
5757
5758 * frameset.el (frameset): Add docstring. Move :version property to its
5759 own `version' slot.
5760 (frameset-copy): Rename from copy-frameset.
5761 (frameset-p): Check more thoroughly.
5762 (frameset-prop): Do not check for :version, which is no longer a prop.
5763 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5764 Use new :never value instead of t.
5765 (frameset-filter-alist): Expand and clarify docstring.
5766 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5767 (frameset-filter-minibuffer, frameset-filter-save-param)
5768 (frameset-filter-restore-param, frameset-filter-iconified):
5769 Add pointer to docstring of frameset-filter-alist.
5770 (frameset-filter-params): Rename filter values to be more meaningful:
5771 :never instead of t, and reverse the meanings of :save and :restore.
5772 (frameset--process-minibuffer-frames): Clarify error message.
5773 (frameset-save): Avoid unnecessary and confusing call to framep.
5774 Use new BOA constructor for framesets.
5775 (frameset--reuse-list): Doc fix.
5776 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5777 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5778 (frameset-minibufferless-first-p): Doc fix.
5779 Rename from frameset-sort-frames-for-deletion.
5780 (frameset-restore): Doc fixes. Use new function names.
5781 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5782
d5671a82
JB
57832013-08-04 Juanma Barranquero <lekktu@gmail.com>
5784
5785 * desktop.el (desktop-restore-forces-onscreen)
5786 (desktop-restore-reuses-frames): Document :keyword constant values.
5787 (desktop-filter-parameters-alist): Remove, now identical to
5788 frameset-filter-alist.
5789 (desktop--filter-tty*): Remove, moved to frameset.el.
5790 (desktop-save-frameset, desktop-restore-frameset):
5791 Do not pass :filters argument.
5792
5793 * frameset.el (frameset-live-filter-alist)
5794 (frameset-persistent-filter-alist): New variables.
5795 (frameset-filter-alist): Use them. Add autoload cookie.
5796 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5797 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5798 `frameset--id' (it's supposed to be internal to frameset.el).
5799 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5800 (frameset--initial-params): New function.
5801 (frameset--get-frame): Use it. Doc fix.
5802 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5803 Accept :all, not 'all.
5804 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5805 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5806 with fbound symbols. Fix frame id matching, and remove matching ids if
5807 the frame being restored is deleted. Obey :delete.
5808
671d5c16
SM
58092013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * subr.el (macrop): New function.
5812 (text-clone--maintaining): New var.
5813 (text-clone--maintain): Rename from text-clone-maintain. Use it
5814 instead of inhibit-modification-hooks.
5815
5816 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5817 a proxy, so as handle autoloads and redefinitions of the target.
5818 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5819
5820 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5821 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5822 (pcase--mutually-exclusive-p): New function.
5823 (pcase--split-consp): Use it.
5824 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5825 mutually exclusive with the current predicate.
5826
5827 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5828 (edebug-macrop): Remove. Use `macrop' instead.
5829 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5830 (ad-macro-p):
5831 * eshell/esh-cmd.el (eshell-macrop):
5832 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5833
1d44e9dc
SM
58342013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5837 (advice-mapc): New function, using it.
5838 (advice-function-member-p): New function.
5839 (advice--normalize): Store the cdr in advice--saved-rewrite since
5840 that's the part that will be changed.
5841 (advice--symbol-function): New function.
5842 (advice-remove): Handle removal before the function is defined.
5843 Adjust to new advice--saved-rewrite.
5844 (advice-member-p): Use advice-function-member-p and
5845 advice--symbol-function.
5846
5414a283
JB
58472013-08-04 Juanma Barranquero <lekktu@gmail.com>
5848
51d30f2c
JB
5849 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5850 (frameset-filter-minibuffer): Doc fix.
5851 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
5852 (frameset--set-id, frameset--process-minibuffer-frames)
5853 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5854 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 5855
5414a283
JB
5856 * desktop.el (desktop-clear): Only delete frames when called
5857 interactively and desktop-restore-frames is non-nil. Doc fix.
5858 (desktop-read): Set desktop-saved-frameset to nil.
5859
ab419665
XF
58602013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5861
5862 * vc/vc.el (vc-ignore): Rewrite.
5863 (vc-default-ignore-completion-table):
5864 (vc--read-lines):
5865 (vc--add-line, vc--remove-regexp): New functions.
5866
5867 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5868 (vc-svn-ignore-completion-table): New function.
5869
5870 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5871 (vc-hg-ignore-completion-table):
5872 (vc-hg-find-ignore-file): New functions.
5873
5874 * vc/vc-git.el (vc-git-ignore): Rewrite.
5875 (vc-git-ignore-completion-table):
5876 (vc-git-find-ignore-file): New functions.
5877
5878 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5879
5880 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5881 (vc-bzr-ignore-completion-table):
5882 (vc-bzr-find-ignore-file): New functions.
5883
2613dea2
JB
58842013-08-03 Juanma Barranquero <lekktu@gmail.com>
5885
5886 * frameset.el (frameset-prop): New function and setter.
5887 (frameset-save): Do not modify frame list passed by the caller.
5888
9c959872
SM
58892013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5890
5891 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5892
a104f656
SM
58932013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5894
70122acf
SM
5895 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5896 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5897
a104f656
SM
5898 * custom.el (custom-initialize-default, custom-initialize-set)
5899 (custom-initialize-reset, custom-initialize-changed): Affect the
5900 toplevel-default-value (bug#6275, bug#14586).
5901 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5902 for bug#6275.
5903
f078d570
JB
59042013-08-02 Juanma Barranquero <lekktu@gmail.com>
5905
185e3b5a
JB
5906 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5907 Add cl-def* expressions.
5908
f078d570
JB
5909 * frameset.el (frameset-filter-params): Fix order of arguments.
5910
9421876d
JB
59112013-08-02 Juanma Barranquero <lekktu@gmail.com>
5912
5913 Move code related to saving frames to frameset.el.
5914 * desktop.el: Require frameset.
5915 (desktop-restore-frames): Doc fix.
5916 (desktop-restore-reuses-frames): Rename from
5917 desktop-restoring-reuses-frames.
5918 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5919 (desktop-clear): Clear frames too.
5920 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5921 (desktop--filter-tty*, desktop-save, desktop-read):
5922 Use frameset functions.
5923 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5924 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5925 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5926 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5927 (desktop--process-minibuffer-frames, desktop-save-frames)
5928 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5929 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5930 (desktop--sort-states, desktop-restoring-frames-p)
5931 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5932 (desktop-restoring-frameset-p, desktop-restore-frameset)
5933 (desktop--check-dont-save, desktop-save-frameset): New functions.
5934 (desktop--app-id): New constant.
5935 (desktop-first-buffer, desktop-buffer-ok-count)
5936 (desktop-buffer-fail-count): Move before first use.
5937 * frameset.el: New file.
5938
76dc5996
SM
59392013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * files.el: Use lexical-binding.
5942 (dir-locals-read-from-file): Remove unused `err' variable.
5943 (hack-dir-local-variables--warned-coding): New var.
5944 (hack-dir-local-variables): Use it to avoid repeated warnings.
5945 (make-backup-file-name--default-function): New function.
5946 (make-backup-file-name-function): Use it as default.
5947 (buffer-stale--default-function): New function.
5948 (buffer-stale-function): Use it as default.
5949 (revert-buffer-insert-file-contents--default-function): New function.
5950 (revert-buffer-insert-file-contents-function): Use it as default.
5951 (insert-directory): Avoid add-to-list.
5952
5953 * autorevert.el (auto-revert-handler): Simplify.
5954 Use buffer-stale--default-function.
5955
06d36e2b
TH
59562013-08-01 Tassilo Horn <tsdh@gnu.org>
5957
5f648ab4
TH
5958 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5959
06d36e2b
TH
5960 * whitespace.el (whitespace-ensure-local-variables): New function.
5961 (whitespace-cleanup-region): Call it.
5962 (whitespace-turn-on): Call it.
5963
a43dc424
MA
59642013-08-01 Michael Albinus <michael.albinus@gmx.de>
5965
5966 Complete file name handlers.
5967
5968 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5969 (tramp-handle-verify-visited-file-modtime)
5970 (tramp-handle-file-notify-rm-watch): New functions.
5971 (tramp-call-process): Do not bind `default-directory'.
5972
44e18199
JB
5973 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5974 Order alphabetically.
a43dc424
MA
5975 [access-file, add-name-to-file, dired-call-process]:
5976 [dired-compress-file, file-acl, file-notify-rm-watch]:
5977 [file-ownership-preserved-p, file-selinux-context]:
5978 [make-directory-internal, make-symbolic-link, set-file-acl]:
5979 [set-file-selinux-context, set-visited-file-modtime]:
5980 [verify-visited-file-modtime]: Add handler.
5981 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5982
5983 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5984 [file-notify-add-watch, file-notify-rm-watch]:
5985 [set-file-times, set-visited-file-modtime]:
5986 [verify-visited-file-modtime]: Add handler.
5987 (with-tramp-gvfs-error-message)
5988 (tramp-gvfs-handle-set-visited-file-modtime)
5989 (tramp-gvfs-fuse-file-name): Remove.
5990 (tramp-gvfs-handle-file-notify-add-watch)
5991 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5992 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5993
44e18199
JB
5994 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5995 Order alphabetically.
a43dc424
MA
5996 [file-notify-rm-watch ]: Use default Tramp handler.
5997 [executable-find]: Remove private handler.
5998 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5999 `default-directory'.
6000 (tramp-sh-handle-executable-find)
6001 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6002 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6003 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6004 Do not use `format' in `tramp-message'.
6005
6006 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6007 [file-notify-rm-watch, set-visited-file-modtime]:
6008 [verify-visited-file-modtime]: Add handler.
6009 (tramp-smb-call-winexe): Do not bind `default-directory'.
6010
7188b515
XF
60112013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6012
6013 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6014
2412ee1a
DG
60152013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6016
6017 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6018 use it.
6019 (log-view-diff-changeset): Same.
6020 (log-view-diff-common): Call backend command `previous-revision'
6021 to find out the previous revision, in both cases. Swap the
6022 variables `to' and `fr', so that `fr' usually refers to the
6023 earlier revision (Bug#14989).
6024
5002a754
KRC
60252013-07-31 Kan-Ru Chen <kanru@kanru.info>
6026
6027 * ibuf-ext.el (ibuffer-filter-by-filename):
6028 Make it work with dired buffers too.
6029
44e18199 60302013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6031
6032 * emacs-lisp/re-builder.el (reb-color-display-p):
6033 * files.el (save-buffers-kill-terminal):
6034 * net/browse-url.el (browse-url):
6035 * server.el (server-save-buffers-kill-terminal):
6036 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6037 Prefer nil to selected-frame for the first arg of frame-parameter.
6038
aeca3fbb
XF
60392013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6040
6041 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6042
158bc55c
SB
60432013-07-30 Stephen Berman <stephen.berman@gmx.net>
6044
6045 * minibuffer.el (completion--twq-all): Try and preserve each
6046 completion's case choice (bug#14907).
6047
d50fceab
LMI
60482013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6049
ac38e731
LMI
6050 * net/network-stream.el (open-network-stream): Mention the new
6051 :nogreeting parameter.
6052 (network-stream-open-starttls): Use the :nogreeting parameter
6053 (bug#14938).
6054
1211de50
LMI
6055 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6056
997798bf
LMI
6057 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6058 more natural than popping.
6059
d50fceab 6060 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6061 (shr-urlify): Highlight under mouse.
d50fceab 6062
5c09de04
XF
60632013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6064
207d1d04
XF
6065 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6066
6067 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6068
5c09de04
XF
6069 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6070 buffer for output.
6071
3cd51eaa
XF
6072 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6073 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6074
44e18199 6075 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6076 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6077
6078 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6079
6080 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6081 buffer for output.
6082
35a89bdd
EZ
60832013-07-29 Eli Zaretskii <eliz@gnu.org>
6084
6085 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6086 initial frame is minibuffer-less. (Bug#14841)
6087
78822e94
MA
60882013-07-29 Michael Albinus <michael.albinus@gmx.de>
6089
6090 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6091 option.
6092
6093 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6094 (tramp-maybe-open-connection): Use it.
6095
9503c190
JB
60962013-07-28 Juanma Barranquero <lekktu@gmail.com>
6097
6098 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6099 minimal set of parameters passed when creating a frame, because
6100 the minibuffer status of a frame cannot be changed later.
6101
d5a845b4
SB
61022013-07-28 Stephen Berman <stephen.berman@gmx.net>
6103
6104 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6105 replace-regexp-in-string and inadvertent omissions in previous change.
6106 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6107 name of filtered items buffer.
d5a845b4 6108
ddeffb17
JB
61092013-07-28 Juanma Barranquero <lekktu@gmail.com>
6110
6111 * desktop.el: Optionally force offscreen frames back onscreen.
6112 (desktop-restoring-reuses-frames): New option.
6113 (desktop--compute-pos, desktop--move-onscreen): New functions.
6114 (desktop--make-frame): Use desktop--move-onscreen.
6115
f5950f7a
AM
61162013-07-27 Alan Mackenzie <acm@muc.de>
6117
6118 Fontify a Java generic method as a function.
6119 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6120 value to t.
6121
ae43b66a
SB
61222013-07-27 Stephen Berman <stephen.berman@gmx.net>
6123
6124 * calendar/todo-mode.el: Add command to rename todo files.
6125 (todo-rename-file): New command.
6126 (todo-key-bindings-t): Add key binding for it. Change the
6127 bindings of todo-filter-regexp-items(-multifile) to use `x'
6128 instead of `r', since the latter is better suited to the new
6129 renaming command.
6130
5ab78d3d
AM
61312013-07-27 Alan Mackenzie <acm@muc.de>
6132
6133 Make Java try-with-resources statement parse properly.
6134 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6135 (c-block-stmt-1-2-key): New language constants/variables.
6136 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6137 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6138 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6139 with c-block-stmt-1-2-key.
5ab78d3d 6140
d85c4d50
JB
61412013-07-27 Juanma Barranquero <lekktu@gmail.com>
6142
6143 * desktop.el (desktop--make-frame): Apply most frame parameters after
6144 creating the frame to force (partially or totally) offscreen frames to
6145 be restored as such.
6146
e4c467f9
XF
61472013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6148
6149 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6150 (Bug#14948)
e4c467f9 6151
7ced0d04
SM
61522013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6155 `base' arg of backtrace-frame.
6156
fec92060
EZ
61572013-07-26 Eli Zaretskii <eliz@gnu.org>
6158
6159 * simple.el (list-processes): Doc fix.
6160
d58d31fb
JB
61612013-07-26 Juanma Barranquero <lekktu@gmail.com>
6162
6163 * desktop.el (desktop--select-frame):
d85c4d50 6164 Try harder to reuse existing frames.
d58d31fb 6165
53ff3e77
SM
61662013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6169 (edebug-eval): Use backtrace-eval.
6170 (edebug--display, edebug--recursive-edit): Don't let-bind the
6171 edebug-outer-* vars that keep track of variables we locally let-bind.
6172 (edebug-outside-excursion): Don't restore outside values of locally
6173 let-bound vars.
6174 (edebug--display): Use user-error.
6175 (cl-lexical-debug, cl-debug-env): Remove.
6176
045f7a53
JB
61772013-07-26 Juanma Barranquero <lekktu@gmail.com>
6178
6179 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6180 are restored to be sure that they are visible before deleting any
6181 remaining ones.
6182
59070b32
MM
61832013-07-26 Matthias Meulien <orontee@gmail.com>
6184
742a3501
XF
6185 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6186 vc-print-root-log. (Bug#14948)
59070b32 6187
b1fb3596
RS
61882013-07-26 Richard Stallman <rms@gnu.org>
6189
6190 Add aliases for encrypting mail.
6191 * epa.el (epa-mail-aliases): New option.
6192 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6193 Bind inhibit-read-only so read-only text doesn't ruin everything.
6194 (epa-mail-default-recipients): New subroutine broken out.
6195 Handle epa-mail-aliases.
6196
56ea7291
SM
61972013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 Add support for lexical variables to the debugger's `e' command.
6200 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6201 vars, except for debugger-outer-match-data.
6202 (debugger-frame-number): Move check for "on a function call" from
6203 callers into it. Add `skip-base' argument.
6204 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6205 (debugger-env-macro): Only reset the state stored in non-variables,
6206 i.e. current-buffer and match-data.
6207 (debugger-eval-expression): Rewrite using backtrace-eval.
6208 * subr.el (internal--called-interactively-p--get-frame): Remove.
6209 (called-interactively-p):
6210 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6211 `base' arg of backtrace-frame instead.
6212
15ac32d5
GM
62132013-07-26 Glenn Morris <rgm@gnu.org>
6214
8358a09d
GM
6215 * align.el (align-regexp): Doc fix. (Bug#14857)
6216 (align-region): Explicit error if subexpression missing/does not match.
6217
15ac32d5
GM
6218 * simple.el (global-visual-line-mode):
6219 Do not duplicate the mode lighter. (Bug#14858)
6220
f47ad11b
MR
62212013-07-25 Martin Rudalics <rudalics@gmx.at>
6222
6223 * window.el (display-buffer): In display-buffer bind
6224 split-window-keep-point to t, bug#14829.
6225
02530987
JB
62262013-07-25 Juanma Barranquero <lekktu@gmail.com>
6227
6228 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6229 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6230 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6231 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6232 Change accordingly.
f63ebeb5
JB
6233 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6234 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 6235
6ccb9cab 62362013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 6237
6ccb9cab 6238 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 6239
cb3a56d2
JB
62402013-07-25 Juanma Barranquero <lekktu@gmail.com>
6241
6242 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6243 parameter to modify-frame-parameters if the value has not changed;
6244 this is a workaround for bug#14949.
6245 (desktop--make-frame): On cl-delete-if call, check parameter name,
6246 not full parameter.
6247
7aa7fff0
XF
62482013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6249
6250 * vc/vc.el (vc-ignore): New function.
6251
6252 * vc/vc-svn.el (vc-svn-ignore): New function.
6253
6254 * vc/vc-hg.el (vc-hg-ignore): New function.
6255
6256 * vc/vc-git.el (vc-git-ignore): New function.
6257
6258 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6259 (vc-dir-ignore): New function.
6260
6261 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 6262 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
6263
6264 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6265
6266 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6267
889acc5c
JB
62682013-07-24 Juanma Barranquero <lekktu@gmail.com>
6269
6270 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6271 (desktop-restore-frames): Warn when deleting an existing frame failed.
6272
86c40970
GM
62732013-07-24 Glenn Morris <rgm@gnu.org>
6274
6275 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6276
d5d3c58a
MA
62772013-07-24 Michael Albinus <michael.albinus@gmx.de>
6278
6279 * filenotify.el (file-notify-supported-p):
6280 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6281 Remove functions.
6282
6283 * autorevert.el (auto-revert-use-notify):
6284 (auto-revert-notify-add-watch):
6285 * net/tramp.el (tramp-file-name-for-operation):
6286 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6287 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6288 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6289 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6290 Remove `file-notify-supported-p' entry.
6291
d100084b
GM
62922013-07-24 Glenn Morris <rgm@gnu.org>
6293
6294 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 6295 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 6296
ac93e56b
SM
62972013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6298
249eea30
SM
6299 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6300 checked with memq (bug#14935).
6301
ac93e56b
SM
6302 * files.el (revert-buffer-function): Use a non-nil default.
6303 (revert-buffer-preserve-modes): Declare var to
6304 provide access to the `preserve-modes' argument.
6305 (revert-buffer): Let-bind it.
6306 (revert-buffer--default): New function, extracted from revert-buffer.
6307
2cdeb903
SM
63082013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * lpr.el: Signal print errors more prominently.
6311 (print-region-function): Don't default to nil.
6312 (lpr-print-region): New function, extracted from print-region-1.
6313 Check lpr's return value and signal an error in case of problem.
6314 (print-region-1): Use it.
6315 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6316 versions instead.
6317 (ps-printer-name): Default to nil.
6318 (ps-printer-name-option): Default to lpr-printer-switch.
6319 (ps-print-region-function): Don't default to nil.
6320 (ps-postscript-code-directory): Simplify default.
6321 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6322 (ps-string-list, ps-eval-switch, ps-flatten-list)
6323 (ps-flatten-list-1): Remove.
6324 (ps-multibyte-buffer): Avoid setq.
6325 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6326 (print-region-function, ps-print-region-function): Don't set them here.
6327
73600831
XF
63282013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6329
0e55c076
XF
6330 * ido.el (ido-fractionp):
6331 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6332 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6333 (ido-max-directory-size, ido-max-dir-file-cache)
6334 (ido-decorations): Doc fix.
6335
73600831
XF
6336 * ansi-color.el: Fix old URL.
6337
3d012865
MM
63382013-07-23 Michael R. Mauger <michael@mauger.com>
6339
e903c210 6340 * progmodes/sql.el: Version 3.3
3d012865
MM
6341 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6342 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6343 (sql-interactive-remove-continuation-prompt): Rewrite, use
6344 functions above. Fix continuation prompt and complete output line
6345 handling.
6346 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6347 redirected output buffer.
6348 (sql-mode): Restore deleted code (Bug#13591).
6349
da77a2e2
JB
63502013-07-23 Juanma Barranquero <lekktu@gmail.com>
6351
6352 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6353
80ff0c71
MA
63542013-07-23 Michael Albinus <michael.albinus@gmx.de>
6355
6356 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6357
6358 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6359 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6360 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6361
b61d71e4
JB
63622013-07-23 Juanma Barranquero <lekktu@gmail.com>
6363
6364 * desktop.el (desktop-clear): Simplify; remove useless checks
6365 against invalid buffer names.
6366 (desktop-list*): Use cl-list*.
6367 (desktop-buffer-info, desktop-create-buffer): Simplify.
6368
c3512092
LL
63692013-07-23 Leo Liu <sdl.web@gmail.com>
6370
6371 * bookmark.el (bookmark-make-record): Restore NAME as a default
6372 value. (Bug#14933)
6373
0ac26976
SM
63742013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6375
7d22ce18
SM
6376 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6377 extracted from autoload--insert-text.
6378 (autoload--insert-text): Remove.
6379 (autoload--print-cookie-text): New function, extracted from
6380 autoload--insert-cookie-text.
6381 (autoload--insert-cookie-text): Remove.
6382 (autoload-generate-file-autoloads): Adjust calls accordingly.
6383
9b2607e8
SM
6384 * winner.el (winner-hook-installed-p): Remove.
6385 (winner-mode): Simplify accordingly.
6386
c43a8618
SM
6387 * subr.el (add-to-list): Fix compiler-macro when `append' is
6388 not constant. Don't use `cl-member' for the base case.
6389
0ac26976
SM
6390 * progmodes/subword.el: Fix boundary case (bug#13758).
6391 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6392 own group.
6393 (subword-backward-regexp): Make it a constant.
6394 (subword-forward-internal): Don't treat a trailing capital as the
6395 beginning of a word.
6396
6874724a
AR
63972013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6398
6399 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6400 global value of tabulated-list-revert-hook (bug#14930).
6401
70f1b5e8
JB
64022013-07-22 Juanma Barranquero <lekktu@gmail.com>
6403
a1c80d9d
JB
6404 * desktop.el: Require 'cl-lib.
6405 (desktop-before-saving-frames-functions): New hook.
6406 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6407 for frames being saved. Rename from desktop--save-minibuffer-frames.
6408 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
6409 Do not save frames with non-nil `desktop-dont-save' parameter.
6410 Filter out deleted frames.
a1c80d9d
JB
6411 (desktop--find-frame): Use cl-find-if.
6412 (desktop--select-frame): Use cl-(first|second|third) to access values
6413 of desktop-mini.
6414 (desktop--make-frame): Use cl-delete-if.
6415 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6416 (desktop-restore-frames): Use cl-(first|second|third) to access values
6417 of desktop-mini. Look for visible frame at the end, not while
6418 restoring frames.
6419
70f1b5e8
JB
6420 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6421 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6422 Use string-match-p, looking-at-p (bug#14927).
6423
728dc3cc
JB
64242013-07-21 Juanma Barranquero <lekktu@gmail.com>
6425
56bc453c
JB
6426 * desktop.el (desktop-saved-frame-states):
6427 Rename from desktop--saved-states; all users changed.
6428 (desktop-save-frames): Rename from desktop--save-frames.
6429 Do not save state to desktop file.
6430 (desktop-save): Save desktop-saved-frame-states to desktop file
6431 and reset to nil.
6432 (desktop-restoring-frames-p): New function.
6433 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6434 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6435 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6436
728dc3cc
JB
6437 * desktop.el: Correctly restore iconified frames.
6438 (desktop--filter-iconified-position): New function.
6439 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6440
862f1c9c
GM
64412013-07-20 Glenn Morris <rgm@gnu.org>
6442
c4074c9f
GM
6443 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6444 Let `message' do the formatting.
6445 (def-gdb-preempt-display-buffer): Add explicit format.
6446
d828e5f9
GM
6447 * image-dired.el (image-dired-track-original-file):
6448 Use with-current-buffer.
6449 (image-dired-track-thumbnail): Use with-current-buffer.
6450 Avoid changing point of wrong window.
6451
862f1c9c
GM
6452 * image-dired.el (image-dired-track-original-file):
6453 Avoid changing point of wrong window. (Bug#14909)
6454
f0398ec1 64552013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
6456
6457 * progmodes/gdb-mi.el (gdb-done-or-error):
6458 Guard against "%" in gdb output. (Bug#14127)
6459
1451928f
AS
64602013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6461
763a086d
JB
6462 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6463 (Bug#14826)
f7a03897 6464
1451928f
AS
6465 * international/mule.el (coding-system-iso-2022-flags): Fix last
6466 change.
6467
99107004
KH
64682013-07-20 Kenichi Handa <handa@gnu.org>
6469
763a086d
JB
6470 * international/mule.el (coding-system-iso-2022-flags):
6471 Add `8-bit-level-4'. (Bug#8522)
99107004 6472
48494e06
LMI
64732013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6474
8ba8eec5
LMI
6475 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6476 (bug#14815).
6477
dfbc66e3
LMI
6478 * net/eww.el (eww-process-text-input): Allow inputting when the
6479 point is at the start of the line, as the properties aren't
6480 front-sticky.
6481
48494e06
LMI
6482 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6483 degenerate widths.
6484
77c92cb9
RS
64852013-07-19 Richard Stallman <rms@gnu.org>
6486
aec7da77
RS
6487 * epa.el (epa-popup-info-window): Doc fix.
6488
77c92cb9
RS
6489 * subr.el (split-string): New arg TRIM.
6490
945c5bb1
JB
64912013-07-18 Juanma Barranquero <lekktu@gmail.com>
6492
6493 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6494 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6495
e06ec67f
MA
64962013-07-18 Michael Albinus <michael.albinus@gmx.de>
6497
c7064f05 6498 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
6499 `file-notify-support'. Do not autoload. Adapt all uses.
6500 (file-notify-supported-p): New defun.
6501
c7064f05
JB
6502 * autorevert.el (auto-revert-use-notify):
6503 Use `file-notify-supported-p' instead of `file-notify-support'.
6504 Adapt docstring.
e06ec67f
MA
6505 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6506
6507 * net/tramp.el (tramp-file-name-for-operation):
6508 Add `file-notify-supported-p'.
6509
6510 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6511 New defun.
6512 (tramp-sh-file-name-handler-alist): Add it as handler for
6513 `file-notify-supported-p '.
6514
6515 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6516 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6517 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6518 Add `ignore' as handler for `file-notify-*' functions.
6519
5dc8a629
EZ
65202013-07-17 Eli Zaretskii <eliz@gnu.org>
6521
6522 * simple.el (line-move-partial, line-move): Don't start vscroll or
6523 scroll-up if the current line is not taller than the window.
6524 (Bug#14881)
6525
77aea2fb
DG
65262013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6527
6528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6529 highlight question marks in the method names as strings.
ac72c08d
DG
6530 (ruby-block-beg-keywords): Inline.
6531 (ruby-font-lock-keyword-beg-re): Extract from
6532 `ruby-font-lock-keywords'.
77aea2fb 6533
18c26d81
JD
65342013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6535
6536 * frame.el (blink-cursor-blinks): New defcustom.
6537 (blink-cursor-blinks-done): New defvar.
6538 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6539 (blink-cursor-timer-function): Check if number of blinks has been
6540 done on X and NS.
6541 (blink-cursor-suspend, blink-cursor-check): New defuns.
6542
da48522e
GM
65432013-07-15 Glenn Morris <rgm@gnu.org>
6544
6545 * edmacro.el (edmacro-format-keys): Fix previous change.
6546
0463c1ef
PE
65472013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6548
6549 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6550 The hack didn't work outside English locales anyway.
6551
b43f6451
JB
65522013-07-15 Juanma Barranquero <lekktu@gmail.com>
6553
6554 * simple.el (define-alternatives): Rename from alternatives-define,
6555 per RMS' suggestion.
6556
b958c0ad
JB
65572013-07-14 Juanma Barranquero <lekktu@gmail.com>
6558
6559 * desktop.el (desktop-restore-frames): Change default to t.
6560 (desktop-restore-in-current-display): Now offer more options.
6561 (desktop-restoring-reuses-frames): New customization option.
6562 (desktop--saved-states): Doc fix.
6563 (desktop-filter-parameters-alist): New variable, renamed and expanded
6564 from desktop--excluded-frame-parameters.
6565 (desktop--target-display): New variable.
6566 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6567 (desktop--filter-tty*, desktop--filter-*-color)
6568 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6569 (desktop--filter-save-desktop-parm)
6570 (desktop-restore-in-original-display-p): New functions.
6571 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6572 (desktop--save-minibuffer-frames): New function, inspired by a similar
6573 function from Martin Rudalics.
6574 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6575 (desktop--restore-in-this-display-p): Remove.
6576 (desktop--find-frame): Rename from desktop--find-frame-in-display
6577 and add predicate argument.
6578 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6579 (desktop--reuse-list): New variable.
6580 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6581 New functions.
6582 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6583
f6dd8b36
MA
65842013-07-14 Michael Albinus <michael.albinus@gmx.de>
6585
6586 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6587
2ce3c565
DG
65882013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6589
763a086d
JB
6590 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6591 Highlight conversion methods on Kernel.
2ce3c565 6592
2cdb7698
AM
65932013-07-13 Alan Mackenzie <acm@muc.de>
6594
6595 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6596 and comment it out. This out-commenting enables certain C++
6597 declarations to be parsed correctly.
6598
1a67b811
EZ
65992013-07-13 Eli Zaretskii <eliz@gnu.org>
6600
1b796d6b
EZ
6601 * international/mule.el (define-coding-system): Doc fix.
6602
1a67b811
EZ
6603 * simple.el (default-font-height): Don't call font-info if the
6604 frame's default font didn't change since the frame was created.
6605 (Bug#14838)
6606
58fbe886
LL
66072013-07-13 Leo Liu <sdl.web@gmail.com>
6608
6609 * ido.el (ido-read-file-name): Guard against non-symbol value.
6610
1f0480d4
FEG
66112013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6612
6613 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6614 in nested defuns.
6615
97ead0e5
LL
66162013-07-13 Leo Liu <sdl.web@gmail.com>
6617
6618 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6619 ido-set-matches call. (Bug#6852)
6620
0880a952
DG
66212013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6622
6623 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6624 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6625 Ruby 2.0.
6626 (ruby-font-lock-keywords): Distinguish calls to functions with
6627 module-like names from module references. Highlight character
6628 literals.
6629
a7d8babb
SDJ
66302013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6631
6632 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 6633 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 6634
acfcc8c5
JB
66352013-07-12 Juanma Barranquero <lekktu@gmail.com>
6636
6637 * desktop.el (desktop--v2s): Remove unused local variable.
6638 (desktop-save-buffer): Make defvar-local; adjust docstring.
6639 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6640 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6641
051f2775
AS
66422013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6643
6644 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6645
f24e7572
GM
66462013-07-12 Eli Zaretskii <eliz@gnu.org>
6647
6648 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6649 (Bug#14842)
6650
539a920c
GM
66512013-07-12 Glenn Morris <rgm@gnu.org>
6652
6653 * doc-view.el: Require cl-lib at runtime too.
6654 (doc-view-remove-if): Remove.
6655 (doc-view-search-next-match, doc-view-search-previous-match):
6656 Use cl-remove-if.
6657
6658 * edmacro.el: Require cl-lib at runtime too.
6659 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6660 (edmacro-mismatch, edmacro-subseq): Remove.
6661
6662 * shadowfile.el: Require cl-lib.
6663 (shadow-remove-if): Remove.
6664 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6665 Use cl-remove-if.
6666
6667 * wid-edit.el: Require cl-lib.
6668 (widget-choose): Use cl-remove-if.
6669 (widget-remove-if): Remove.
6670
6671 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6672 (ebrowse-delete-if-not): Remove.
6673 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6674 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6675 Use cl-delete-if-not.
6676
1048af7c
JB
66772013-07-12 Juanma Barranquero <lekktu@gmail.com>
6678
6679 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6680 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6681
6c0674ee
LL
66822013-07-12 Leo Liu <sdl.web@gmail.com>
6683
6684 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6685
a19b3c2d
GM
66862013-07-11 Glenn Morris <rgm@gnu.org>
6687
4582a01c
GM
6688 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6689 (edebug-gensym-index, edebug-gensym):
6690 Remove reimplementation of cl-gensym.
6691 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6692
6693 * thumbs.el: Require cl-lib at run-time too.
6694 (thumbs-gensym-counter, thumbs-gensym):
6695 Remove reimplementation of cl-gensym.
6696 (thumbs-temp-file): Use cl-gensym.
6697
a19b3c2d
GM
6698 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6699 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6700 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6701 (ert--union, ert--gensym-counter, ert--gensym-counter)
6702 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6703 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6704 (ert-make-test-unbound, ert--expand-should-1)
6705 (ert--expand-should, ert--should-error-handle-error)
6706 (should-error, ert--explain-equal-rec)
6707 (ert--plist-difference-explanation, ert-select-tests)
6708 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6709 Use cl-lib functions rather than reimplementations.
6710
88f6a933
MA
67112013-07-11 Michael Albinus <michael.albinus@gmx.de>
6712
6713 * net/tramp.el (tramp-methods): Extend docstring.
6714 (tramp-connection-timeout): New defcustom.
6715 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6716 (with-tramp-progress-reporter): Simplify.
6717 (tramp-process-actions): Improve messages.
6718
6719 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6720 * net/tramp-sh.el (tramp-maybe-open-connection):
6721 Use `tramp-connection-timeout'.
6722 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6723 (Bug#14808)
6724
a43d577e
LL
67252013-07-11 Leo Liu <sdl.web@gmail.com>
6726
6727 * ido.el (ido-read-file-name): Conform to the requirements of
6728 read-file-name. (Bug#11861)
6729 (ido-read-directory-name): Conform to the requirements of
6730 read-directory-name.
6731
d77974bf
JB
67322013-07-11 Juanma Barranquero <lekktu@gmail.com>
6733
6734 * subr.el (delay-warning): New function.
6735
35cb8a3e
EZ
67362013-07-10 Eli Zaretskii <eliz@gnu.org>
6737
6738 * simple.el (default-line-height): New function.
6739 (line-move-partial, line-move): Use it instead of computing the
6740 line height inline.
6741 (line-move-partial): Always compute ROWH. If the last line is
6742 partially-visible, but its text is completely visible, allow
6743 cursor to enter such a partially-visible line.
6744
525c5c77
MA
67452013-07-10 Michael Albinus <michael.albinus@gmx.de>
6746
6747 Improve error messages. (Bug#14808)
6748
6749 * net/tramp.el (tramp-current-connection): New defvar, moved from
6750 tramp-sh.el.
0ac26976 6751 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 6752 needed anymore.
0ac26976
SM
6753 (tramp-error-with-buffer): Show message in minibuffer.
6754 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
6755 (with-tramp-progress-reporter): Improve messages.
6756 (tramp-process-actions): Use progress reporter. Delete process in
6757 case of error. Improve messages.
6758
763a086d
JB
6759 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6760 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 6761 (tramp-current-connection): Remove.
525c5c77
MA
6762 (tramp-maybe-open-connection): The car of
6763 `tramp-current-connection' are the first 3 slots of the vector.
6764
c7a4d368
TZ
67652013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6766
6767 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6768 inside continued strings.
6769
954b166e
PE
67702013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6771
6772 Timestamp fixes for undo (Bug#14824).
6773 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6774
56973319
LL
67752013-07-10 Leo Liu <sdl.web@gmail.com>
6776
6777 * files.el (require-final-newline): Allow safe local value.
6778 (Bug#14834)
6779
5550a72c
LL
67802013-07-09 Leo Liu <sdl.web@gmail.com>
6781
6782 * ido.el (ido-read-directory-name): Handle fallback.
6783 (ido-read-file-name): Update DIR to ido-current-directory.
6784 (Bug#1516)
c28b9050 6785 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 6786
70c46b28
DG
67872013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6788
6789 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6790 "autoload". Remove "warn lower camel case" section, previously
6791 commented out. Highlight negation char. Do not highlight the
6792 target in singleton method definitions.
6793
0b64b838
SM
67942013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6795
7fd72e2c
SM
6796 * faces.el (tty-setup-hook): Declare the hook.
6797
0b64b838
SM
6798 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6799 and detect when a guard/pred depends on local vars (bug#14773).
6800 (pcase--u1): Adjust caller.
6801
ab49d60b
EZ
68022013-07-08 Eli Zaretskii <eliz@gnu.org>
6803
6804 * simple.el (line-move-partial, line-move): Account for
6805 line-spacing.
701d79aa
EZ
6806 (line-move-partial): Avoid setting vscroll when the last
6807 partially-visible line in window is of default height.
ab49d60b 6808
2d756ae0
LMI
68092013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6810
6811 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6812 been used a while.
6813
ed095bd7
JB
68142013-07-07 Juanma Barranquero <lekktu@gmail.com>
6815
6816 * subr.el (read-quoted-char): Remove unused local variable `char'.
6817
f1e6674b
MK
68182013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6819
584ee3fc
GM
6820 * ediff.el (ediff-version): Version update.
6821 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6822 (ediff-merge-with-ancestor-command, ediff-directories-command)
6823 (ediff-directories3-command, ediff-merge-directories-command)
6824 (ediff-merge-directories-with-ancestor-command): New functions.
6825 All are command-line interfaces to ediff: to facilitate calling
6826 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
6827
6828 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6829 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 6830
584ee3fc
GM
6831 * viper.el (viper-version): Version update.
6832 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 6833
584ee3fc
GM
68342013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6837 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6838 (viper-intercept-ESC-key): Simplify.
6839 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6840 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6841 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6842 (viper-setup-ESC-to-escape): New functions.
6843 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6844 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 6845
9aff9b38
EZ
68462013-07-07 Eli Zaretskii <eliz@gnu.org>
6847
5165d44a
JB
6848 * simple.el (default-font-height, window-screen-lines):
6849 New functions.
9aff9b38
EZ
6850 (line-move, line-move-partial): Use them instead of
6851 frame-char-height and window-text-height. This makes scrolling
6852 text smoother when the buffer's default face uses a font that is
6853 different from the frame's default font.
6854
1afb1d07
JD
68552013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6856
6857 * files.el (write-file): Do not display confirm dialog for NS,
6858 it does its own dialog, which can't be cancelled (Bug#14578).
6859
23de972a
EZ
68602013-07-06 Eli Zaretskii <eliz@gnu.org>
6861
6862 * simple.el (line-move-partial): Adjust the row returned by
6863 posn-at-point for the current window-vscroll. (Bug#14567)
6864
54a42486
MA
68652013-07-06 Michael Albinus <michael.albinus@gmx.de>
6866
6867 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6868 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6869 spaces.
6870
34ada5f4
MR
68712013-07-06 Martin Rudalics <rudalics@gmx.at>
6872
6873 * window.el (window-state-put-stale-windows): New variable.
6874 (window--state-put-2): Save list of windows without matching buffer.
6875 (window-state-put): Remove "bufferless" windows if possible.
6876
11e03d89
JB
68772013-07-06 Juanma Barranquero <lekktu@gmail.com>
6878
6879 * simple.el (alternatives-define): Remove leftover :group keyword.
6880 Tweak docstring.
6881
3504a4be
LL
68822013-07-06 Leo Liu <sdl.web@gmail.com>
6883
6884 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6885 (ido-enable-virtual-buffers): New variable.
6886 (ido-buffer-internal, ido-toggle-virtual-buffers)
6887 (ido-make-buffer-list): Use it.
6888 (ido-exhibit): Support turning on and off virtual buffers
6889 automatically.
6890
61e56e2c
JB
68912013-07-06 Juanma Barranquero <lekktu@gmail.com>
6892
6893 * simple.el (alternatives-define): New macro.
6894
321e1a9c
SM
68952013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * subr.el (read-quoted-char): Use read-key.
6898 (sit-for): Let read-event decode tty input (bug#14782).
6899
d610f6dd
SB
69002013-07-05 Stephen Berman <stephen.berman@gmx.net>
6901
6902 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
6903 mode command and externally. Fix various related bugs.
6904 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
6905 (todo-delete-file): New command.
6906 (todo-check-file): New function.
6907 (todo-show): Handle external deletion of the file we're trying to
6908 show (bug#14688). Replace called-interactively-p by an optional
6909 prefix argument to avoid problematic interaction with catch form
6910 when byte compiled (bug#14702).
6911 (todo-quit): Handle external deletion of the archive's todo file.
6912 Make sure the buffer that was visiting the archive file is still
6913 live before trying to bury it.
6914 (todo-category-completions): Handle external deletion of any
6915 category completion files.
6916 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6917 of todo files, in case of external deletion.
6918 (todo-add-file): Replace unnecessary setq by let-binding.
6919 (todo-find-archive): Check whether there are any archives.
6920 Replace unnecessary setq by let-binding.
6921 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
6922 archive buffer whether or not the archive already exists.
6923 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
6924 check if the archive is new; if it is, update list of archives.
6925 (todo-default-todo-file): Allow nil to be a valid value for when
6926 there are no todo files.
6927 (todo-reevaluate-default-file-defcustom): Use corrected definition
6928 of todo-default-todo-file.
6929 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6930 (todo-delete-category, todo-show-categories-table)
6931 (todo-category-number): Clarify comment.
6932 (todo-filter-items): Clarify documentation string.
6933 (todo-show-current-file, todo-display-as-todo-file)
6934 (todo-reset-and-enable-done-separator): Tweak documentation string.
6935 (todo-done-separator): Make separator length window-width, since
6936 bug#2749 is now fixed.
6937
ddbdfd6f
MA
69382013-07-05 Michael Albinus <michael.albinus@gmx.de>
6939
321e1a9c
SM
6940 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6941 Support both "gvfs-monitor-dir" and "inotifywait".
6942 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
6943 `tramp-sh-file-notify-process-filter'.
6944 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6945 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6946
96eb829a
LL
69472013-07-05 Leo Liu <sdl.web@gmail.com>
6948
6949 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6950
cf13177e
YM
69512013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6952
6953 * frame.el (display-pixel-height, display-pixel-width)
6954 (display-mm-height, display-mm-width): Mention behavior on
6955 multi-monitor setups in docstrings.
6956 (w32-display-monitor-attributes-list): Declare function.
6957 (display-monitor-attributes-list): Use it.
6958
864c58ca
MA
69592013-07-04 Michael Albinus <michael.albinus@gmx.de>
6960
6961 * filenotify.el: New package.
6962
6963 * autorevert.el (top): Require filenotify.el.
6964 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6965 instead.
6966 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6967 (auto-revert-notify-handler): Use `file-notify-*' functions.
6968
6969 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6970
321e1a9c
SM
6971 * net/tramp.el (tramp-file-name-for-operation):
6972 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
6973
6974 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6975 for `file-notify-add-watch' and `file-notify-rm-watch'.
6976 (tramp-process-sentinel): Improve trace.
6977 (tramp-sh-handle-file-notify-add-watch)
6978 (tramp-sh-file-notify-process-filter)
6979 (tramp-sh-handle-file-notify-rm-watch)
6980 (tramp-get-remote-inotifywait): New defuns.
6981
96673afe
JL
69822013-07-03 Juri Linkov <juri@jurta.org>
6983
6984 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6985 call of `occur-read-primary-args' to interactive spec.
6986
6987 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6988 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6989
924494f4
MM
69902013-07-03 Matthias Meulien <orontee@gmail.com>
6991
6992 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6993 `Buffer-menu-multi-occur'. Add it to the menu.
6994 (Buffer-menu-mode): Document it in docstring.
6995 (Buffer-menu-multi-occur): New command. (Bug#14673)
6996
56f75efc
DG
69972013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6998
6999 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7000 keywords and built-ins.
7001
9b057d61
GM
70022013-07-03 Glenn Morris <rgm@gnu.org>
7003
208dee4d
GM
7004 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7005
9b057d61
GM
7006 Make info-xref checks case-sensitive by default
7007 * info.el (Info-find-node, Info-find-in-tag-table)
7008 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7009 Add option for exact case matching of nodes.
7010 * info-xref.el (info-xref): New custom group.
7011 (info-xref-case-fold): New option.
7012 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7013
e01aa29c
LL
70142013-07-03 Leo Liu <sdl.web@gmail.com>
7015
7016 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7017
3086ca2e
DG
70182013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7019
7020 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7021 middle of block statement initially, lower the depth. Remove
7022 FIXME comment, not longer valid. Remove middle of block statement
7023 detection, no need to do that anymore since we've been using
7024 `ruby-parse-region' here.
7025
a3b49114
JD
70262013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7027
7028 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7029
08e5c823 70302013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7031
7032 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7033
2addf922
JB
70342013-07-01 Juanma Barranquero <lekktu@gmail.com>
7035
7036 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7037 (desktop-restore-in-current-display): New customization option.
7038 (desktop--excluded-frame-parameters): Add `font'.
7039 (desktop--save-frames): Rename from desktop--save-windows.
7040 (desktop--restore-in-this-display-p): New function.
7041 (desktop--make-full-frame): Remove unwanted width/height from
7042 full(width|height) frames.
7043 (desktop--restore-frames): Rename from desktop--restore-windows.
7044 Obey desktop-restore-current-display. Do not delete old frames or
7045 select a new frame unless we were able to restore at least one frame.
7046
ef099a94
MN
70472013-06-30 Michal Nazarewicz <mina86@mina86.com>
7048
7049 * files.el (find-file-noselect): Simplify conditional expression.
7050
7051 * remember.el (remember-append-to-file):
7052 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7053
7054 Add `remember-notes' function to store random notes across Emacs
7055 restarts.
7056 * remember.el (remember-data-file): Add :set callback to affect
7057 notes buffer (if any).
7058 (remember-notes): New command.
7059 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7060 New defcustoms for the `remember-notes' function.
7061 (remember-notes-save-and-bury-buffer): New command.
7062 (remember-notes-mode-map): New variable.
7063 (remember-mode): New minor mode.
7064 (remember-notes--kill-buffer-query): New function.
7065 * startup.el (initial-buffer-choice): Add notes to custom type.
7066
0865d506
EZ
70672013-06-30 Eli Zaretskii <eliz@gnu.org>
7068
0ba54312
EZ
7069 * bindings.el (right-char, left-char): Don't call sit-for, this is
7070 no longer needed. Use arithmetic comparison only for numerical
7071 arguments.
7072
ef099a94
MN
7073 * international/mule-cmds.el (select-safe-coding-system):
7074 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7075
2fae38e5
LMI
70762013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7077
7078 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7079 progression on degenerate tables.
ef099a94 7080 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7081
a47cbd64
JB
70822013-06-30 Juanma Barranquero <lekktu@gmail.com>
7083
7084 Some fixes and improvements for desktop frame restoration.
7085 It is still experimental and disabled by default.
7086 * desktop.el (desktop--save-windows): Put the selected frame at
7087 the head of the list.
7088 (desktop--make-full-frame): New function.
7089 (desktop--restore-windows): Try to re-select the frame that was
7090 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7091 just show an error message and continue. Set up maximized frames
7092 so they have default non-maximized dimensions.
a47cbd64 7093
6dbafa30
DG
70942013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7095
ef099a94
MN
7096 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7097 Don't start heredoc inside a string or comment.
6dbafa30 7098
4c672a0f
EZ
70992013-06-29 Eli Zaretskii <eliz@gnu.org>
7100
7101 * bindings.el (visual-order-cursor-movement): New defcustom.
7102 (right-char, left-char): Provide visual-order cursor motion by
7103 calling move-point-visually. Update the doc strings.
7104
50960f36
KH
71052013-06-28 Kenichi Handa <handa@gnu.org>
7106
7107 * international/mule.el (define-coding-system): New coding system
7108 properties :inhibit-null-byte-detection,
7109 :inhibit-iso-escape-detection, and :prefer-utf-8.
7110 (set-buffer-file-coding-system): If :charset-list property of
7111 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7112 appropriate for setting.
7113
c1ea3abf
JB
7114 * international/mule-cmds.el (select-safe-coding-system):
7115 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7116 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7117
7118 * international/mule-conf.el (prefer-utf-8): New coding system.
7119 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7120 files.
7121
75dbaf9d
IK
71222013-06-28 Ivan Kanis <ivan@kanis.fr>
7123
eadb6068
IK
7124 * net/shr.el (shr-render-region): New function.
7125
75dbaf9d
IK
7126 * net/eww.el: Autoload `eww-browse-url'.
7127
9ea5cf9f
DG
71282013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7129
c1ea3abf
JB
7130 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7131 Adapt to `package-desc-version' being a list.
7132 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7133 archive element.
7134
39c0e36f
JB
71352013-06-27 Juanma Barranquero <lekktu@gmail.com>
7136
7137 New experimental feature to save&restore window and frame setup.
7138 * desktop.el (desktop-save-windows): New defcustom.
7139 (desktop--saved-states): New var.
7140 (desktop--excluded-frame-parameters): New defconst.
7141 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7142 (desktop--restore-windows, desktop--save-windows): New functions.
7143 (desktop-save): Call `desktop--save-windows'.
7144 (desktop-read): Call `desktop--restore-windows'.
7145
7f13406b
LMI
71462013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7147
ef099a94 7148 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7149
1e072639
SB
71502013-06-27 Stephen Berman <stephen.berman@gmx.net>
7151
7152 * info.el (Info-try-follow-nearest-node): Move search for footnote
7153 above search for node name to prevent missing a footnote (bug#14717).
7154
f3e2cbde
SB
71552013-06-27 Stephen Berman <stephen.berman@gmx.net>
7156
7157 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7158
99906aa0
LL
71592013-06-27 Leo Liu <sdl.web@gmail.com>
7160
7161 * net/eww.el (eww-read-bookmarks): Check file size.
7162
539f75f4
SM
71632013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7164
7165 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7166 advice--pending if newdef is nil or an autoload (bug#13820).
7167 (advice-mapc): New function.
7168
843571cb
LMI
71692013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7170
7171 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7172 probably.
23a75d7f 7173 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7174 (eww-add-bookmark): New command.
7175 (eww-bookmark-mode): New mode and commands.
a285ce99 7176 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7177 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7178
f2136e1e
GM
71792013-06-26 Glenn Morris <rgm@gnu.org>
7180
eab35f39
GM
7181 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7182 (hfy-size): Handle ttys. (Bug#14668)
7183
f2136e1e
GM
7184 * info-xref.el: Update for Texinfo 5 change in *note format.
7185 (info-xref-node-re, info-xref-note-re): New constants.
7186 (info-xref-check-buffer): Use info-xref-note-re.
7187
a49ff80c
SM
71882013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7189
a343d218
SM
7190 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7191
a49ff80c
SM
7192 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7193 nil terminate the loop (bug#14718).
7194
8308f184
LMI
71952013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7196
7197 * net/eww.el: Rework history traversal. When going forward/back,
7198 put these actions into the history, too, so that they can be
7199 replayed.
26bf2b82 7200 (eww-render): Move the history reset to the correct buffer.
8308f184 7201
ec64c273
JL
72022013-06-25 Juri Linkov <juri@jurta.org>
7203
7204 * files-x.el (modify-dir-local-variable): Change the header comment
7205 in the file with directory local variables. (Bug#14692)
7206
e080a9d7
JL
7207 * files-x.el (read-file-local-variable-value): Add `default'.
7208 (Bug#14710)
7209
bfbc93a1
IK
72102013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7211
7212 * net/eww.el (eww-make-unique-file-name): Create a unique file
7213 name before saving to entering `y' accidentally asynchronously.
7214
72152013-06-25 Ivan Kanis <ivan@kanis.fr>
7216
7217 * net/eww.el (eww-download): New command and keystroke.
7218
16f74f10
LMI
72192013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7220
a49ff80c 7221 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
7222
7223 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7224 be more consistent with Info and dired.
7225
7226 * net/eww.el (eww-mode-map): Ditto.
7227
12059709
SM
72282013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7231 packages from archives.
7232 (package-archive-contents): Change format; include obsolete packages.
7233 (package-desc): Use `dir' to mark builtin packages.
7234 (package--from-builtin): Set the `dir' field to `builtin'.
7235 (generated-autoload-file, version-control): Declare.
7236 (package-compute-transaction): Change first arg and return value to be
7237 lists of package-descs. Adjust to new package-archive-contents format.
7238 (package--add-to-archive-contents): Adjust to new
7239 package-archive-contents format.
7240 (package-download-transaction): Arg is now a list of package-descs.
7241 (package-install): If `pkg' is a package name, pass it as
7242 a requirement, so it is subject to the usual (e.g. disabled) checks.
7243 (describe-package): Accept package-desc as well.
7244 (describe-package-1): Describe a specific package-desc. Add links to
7245 other package-descs for the same package name.
7246 (package-menu-describe-package): Pass the actual package-desc.
7247 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7248 works correctly.
7249 (package-desc-status): New function.
7250 (package-menu--refresh): New function, extracted
7251 from package-menu--generate.
7252 (package-menu--generate): Use it.
7253 (package-delete): Update package-alist.
7254 (package-menu-execute): Don't call package-initialize.
7255
7256 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7257 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7258 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7259 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7260 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7261 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7262
8bbdea0f
MR
72632013-06-25 Martin Rudalics <rudalics@gmx.at>
7264
7265 * window.el (window--state-get-1): Workaround for bug#14527.
7266 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7267
e82b0991
LMI
72682013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7269
7270 * net/eww.el (eww-back-url): Implement the history by stashing all
7271 the data into a list.
d3f0f918 7272 (eww-forward-url): Allow going forward in the history, too.
e82b0991 7273
c763842b
SM
72742013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7277 for values and use read--expression for expressions (bug#14710).
7278 (read-file-local-variable): Avoid setq.
7279 (read-file-local-variable-mode): Use minor-mode-list.
7280
bceff189
RW
72812013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7282
864c58ca 7283 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
7284 for DOI URLs.
7285
45f431c6
RW
72862013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7287
864c58ca 7288 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
7289 Update imenu-support when dialect changes.
7290
f42d8237
LL
72912013-06-25 Leo Liu <sdl.web@gmail.com>
7292
7293 * ido.el (ido-read-internal): Allow forward slash on windows.
7294
be549ce6
LMI
72952013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7296
7297 * net/eww.el (eww): Start of strings is \\`, not ^.
7298
71d4c19d
IK
72992013-06-24 Ivan Kanis <ivan@kanis.fr>
7300
5196f88a
IK
7301 * net/shr.el (shr-browse-url): Fix interactive spec.
7302
71d4c19d
IK
7303 * net/eww.el (eww): Add a trailing slash to domain names.
7304
ae36ca55
JB
73052013-06-24 Juanma Barranquero <lekktu@gmail.com>
7306
7307 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7308
0ebd92a3
LMI
73092013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7310
bdaa086b
LMI
7311 * net/shr.el (shr-browse-url): Use an external browser if given a
7312 prefix.
7313
c763842b 7314 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 7315
b89fc156
IK
73162013-06-24 Ivan Kanis <ivan@kanis.fr>
7317
7318 * net/eww.el (eww): Work more correctly for file: URLs.
7319 (eww-detect-charset): Allow quoted charsets.
7320 (eww-yank-page-url): New command and keystroke.
7321
18eb4bca
DU
73222013-06-24 Daiki Ueno <ueno@gnu.org>
7323
7324 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7325 file name of gpg executable.
7326 (epg-context-program): New function.
7327 (epg-context-home-directory): New function.
7328 (epg-context-set-program): New function.
7329 (epg-context-set-home-directory): New function.
7330 (epg--start): Use `epg-context-program' instead of
7331 'epg-gpg-program'.
7332 (epg--list-keys-1): Likewise.
7333
6c6268c8
LL
73342013-06-24 Leo Liu <sdl.web@gmail.com>
7335
7336 * ido.el (ido-read-internal): Fix bug#14620.
7337
5e400cb3
JB
73382013-06-23 Juanma Barranquero <lekktu@gmail.com>
7339
7340 * faces.el (face-documentation): Simplify.
7341 (read-face-attribute, tty-find-type, x-resolve-font-name):
7342 Use `string-match-p'.
7343 (list-faces-display): Use `string-match-p'. Simplify.
7344 (face-spec-recalc): Check face to avoid face alias loops.
7345 (read-color): Use `string-match-p' and non-capturing parenthesis.
7346
f3f9606c
LMI
73472013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7348
7349 * net/shr.el (shr-rescale-image): Use the new
7350 :max-width/:max-height functionality.
7351
a3ca09b9
IK
73522013-06-23 Ivan Kanis <ivan@kanis.fr>
7353
7354 * net/eww.el (eww-search-prefix): New variable.
7355 (eww): Use it.
f865b474
IK
7356 (eww-external-browser): New variable.
7357 (eww-mode-map): New keystroke.
7358 (eww-browse-with-external-browser): New command.
a3ca09b9 7359
e854cfc7
IK
7360 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7361
18bb9e21
JB
73622013-06-23 Juanma Barranquero <lekktu@gmail.com>
7363
7364 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7365 Don't skip aligning the next header field when padding is 0;
7366 otherwise, field width is not respected unless the title is as
7367 wide as the field.
7368
5b165ade
SM
73692013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * emacs-lisp/package.el (package-el-version): Remove.
7372 (package-process-define-package): Fix inf-loop.
7373 (package-install): Allow symbols as arguments again.
7374
12adebe9
DG
73752013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7376
7377 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7378 add some more keyword-like methods.
7379 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7380
388573ee
JB
73812013-06-22 Juanma Barranquero <lekktu@gmail.com>
7382
7383 * bs.el (bs-buffer-show-mark): Make defvar-local.
7384 (bs-mode): Use setq-local.
7385
7386 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7387 (emacs-lock--try-unlocking): Make defvar-local.
7388
4582a01c 73892013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 7390
2663dd23
GM
7391 * play/cookie1.el (cookie-apropos): Minor simplification.
7392
3d94f3ad
GM
7393 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7394
f72e2fdb
DG
73952013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7396
7397 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7398 `regexp-opt', it breaks the build during dumping.
7399
73eab938
DG
74002013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7401
c763842b
SM
7402 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7403 Highlight keyword-like methods on Kernel and Module with
73eab938 7404 font-lock-builtin-face.
5cf8176d
DG
7405 (auto-mode-alist): Consolidate different entries into one regexp
7406 and add more *file-s.
73eab938 7407
d26255f6
SB
74082013-06-21 Stephen Berman <stephen.berman@gmx.net>
7409
7410 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7411
7412 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7413 (diary-entry): Use it in the action of this button type instead of
7414 diary-goto-entry.
7415
7416 * calendar/todo-mode.el: New version.
7417 (todo-add-category): Append new category to end of file and give
7418 it the highest number, instead of putting it at the beginning and
7419 giving it 0. Incorporate noninteractive functionality.
7420 (todo-forward-category): Adapt to 1-based category numbering.
7421 Allow skipping over archived categories.
7422 (todo-backward-category): Derive from todo-forward-category.
7423 (todo-backward-item, todo-forward-item): Make noninteractive and
7424 delegate interactive part to new commands. Make sensitive to done items.
7425 (todo-categories): Make value an alist of category names and
7426 vectors of item counts.
7427 (todo-category-beg): Make a defconst.
7428 (todo-category-number): Use 1 instead of 0 as initial value.
7429 (todo-category-select): Make sensitive to overlays, optional item
7430 highlighting and done items.
7431 (todo-delete-item): Make sensitive to overlays and marked and done items.
7432 (todo-edit-item): Make sensitive to overlays and editing of
7433 date/time header optional. Add format checks.
7434 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7435 no-op if point is not on an item. Advertise using todo-edit-quit.
7436 (todo-edit-mode): Make sensitive to new format, font-locking, and
7437 multiple todo files.
7438 (todo-insert-item, todo-insert-item-here): Derive from
7439 todo-basic-insert-item and extend functionality.
7440 (todo-item-end, todo-item-start): Make sensitive to done items.
7441 (todo-item-string): Don't return text properties. Restore point.
7442 (todo-jump-to-category): Make sensitive to multiple todo files and
7443 todo archives. Use extended category completion.
7444 (todo-lower-item, todo-raise-item): Rename to *-priority and
7445 derive from todo-set-item-priority.
7446 (todo-mode): Derive from special-mode. Make sensitive to new
7447 format, font-locking and multiple todo files. Make read-only.
7448 (todo-mode-map): Don't suppress digit keys, so they can supply
7449 prefix arguments. Add many new key bindings.
7450 (todo-prefix): Insert as an overlay instead of file text.
7451 Change semantics from diary date expression to purely visual mark.
7452 (todo-print): Rename to todo-print-buffer. Make buffer display
7453 features printable. Remove option to restrict number of items
7454 printed. Add option to print to file.
7455 (todo-print-function): Rename to todo-print-buffer-function.
7456 (todo-quit): Extend to handle exiting new todo modes.
7457 (todo-remove-item): Make sensitive to overlays.
7458 (todo-save): Extend to buffers of filtered items.
7459 (todo-show): Make sensitive to done items, multiple todo files and
7460 new todo modes. Offer to convert legacy todo file before creating
7461 first new todo file.
7462 (todo-show-priorities): Rename to todo-top-priorities.
7463 Change semantics of value 0.
7464 (todo-top-priorities): Rename to todo-filter-top-priorities,
7465 derive from todo-filter-items and extend functionality.
7466 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7467 and extend functionality to other types of filtered items.
7468 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7469 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7470 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7471 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7472 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7473 (todo-edit-mode-hook, todo-entry-prefix-function)
7474 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7475 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7476 (todo-initials, todo-insert-threshold, todo-item-string-start)
7477 (todo-line-string, todo-menu, todo-mode-hook)
7478 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7479 (todo-print-priorities, todo-remove-separator)
7480 (todo-save-top-priorities-too, todo-string-count-lines)
7481 (todo-string-multiline-p, todo-time-string-format)
7482 (todo-tmp-buffer-name): Remove.
7483 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7484 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7485 (todo-edit-category-diary-inclusion)
7486 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7487 (todo-edit-file, todo-edit-item-date-day)
7488 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7489 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7490 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7491 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7492 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7493 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7494 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7495 (todo-filter-top-priorities-multifile, todo-find-archive)
7496 (todo-find-filtered-items-file, todo-go-to-source-item)
7497 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7498 (todo-jump-to-archive-category, todo-lower-category)
7499 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7500 (todo-move-category, todo-move-item, todo-next-button)
7501 (todo-next-item, todo-padded-string, todo-powerset)
7502 (todo-previous-button, todo-previous-item)
7503 (todo-print-buffer-to-file, todo-raise-category)
7504 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7505 (todo-set-category-number, todo-set-item-priority)
7506 (todo-set-top-priorities-in-category)
7507 (todo-set-top-priorities-in-file, todo-show-categories-table)
7508 (todo-sort-categories-alphabetically-or-numerically)
7509 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7510 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7511 (todo-toggle-item-header, todo-toggle-item-highlighting)
7512 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7513 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7514 (todo-unarchive-items, todo-unmark-category): New commands.
7515 (todo-absolute-file-name, todo-add-to-buffer-list)
7516 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7517 (todo-basic-insert-item, todo-category-completions)
7518 (todo-category-number, todo-category-string-matcher-1)
7519 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7520 (todo-check-format, todo-clear-matches)
7521 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7522 (todo-current-category, todo-date-string-matcher)
7523 (todo-define-insertion-command, todo-diary-expired-matcher)
7524 (todo-diary-goto-entry, todo-diary-item-p)
7525 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7526 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7527 (todo-done-item-section-p, todo-done-separator)
7528 (todo-done-string-matcher, todo-files, todo-filter-items)
7529 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7530 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7531 (todo-insert-category-line, todo-insert-item-from-calendar)
7532 (todo-insert-sort-button, todo-insert-with-overlays)
7533 (todo-insertion-command-name, todo-insertion-key-bindings)
7534 (todo-label-to-key, todo-longest-category-name-length)
7535 (todo-make-categories-list, todo-mode-external-set)
7536 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7537 (todo-modes-set-3, todo-multiple-filter-files)
7538 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7539 (todo-read-category, todo-read-date, todo-read-dayname)
7540 (todo-read-file-name, todo-read-time)
7541 (todo-reevaluate-category-completions-files-defcustom)
7542 (todo-reevaluate-default-file-defcustom)
7543 (todo-reevaluate-filelist-defcustoms)
7544 (todo-reevaluate-filter-files-defcustom)
7545 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7546 (todo-reset-done-separator, todo-reset-done-separator-string)
7547 (todo-reset-done-string, todo-reset-global-current-todo-file)
7548 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7549 (todo-reset-prefix, todo-set-categories)
7550 (todo-set-date-from-calendar, todo-set-show-current-file)
7551 (todo-set-top-priorities, todo-short-file-name)
7552 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7553 (todo-total-item-counts, todo-update-buffer-list)
7554 (todo-update-categories-display, todo-update-categories-sexp)
7555 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7556 New functions.
7557 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7558 New major modes.
7559 (todo-categories, todo-display, todo-edit, todo-faces)
7560 (todo-filtered): New defgroups.
7561 (todo-archived-only, todo-button, todo-category-string, todo-date)
7562 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7563 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7564 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7565 (todo-add-item-if-new-category, todo-always-add-time-string)
7566 (todo-categories-align, todo-categories-archived-label)
7567 (todo-categories-category-label, todo-categories-diary-label)
7568 (todo-categories-done-label, todo-categories-number-separator)
7569 (todo-categories-todo-label, todo-categories-totals-label)
7570 (todo-category-completions-files, todo-completion-ignore-case)
7571 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7572 (todo-done-separator-string, todo-done-string)
7573 (todo-files-function, todo-filter-done-items, todo-filter-files)
7574 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7575 (todo-initial-category, todo-initial-file, todo-item-mark)
7576 (todo-legacy-date-time-regexp, todo-mode-line-function)
7577 (todo-nondiary-marker, todo-number-prefix)
7578 (todo-print-buffer-function, todo-show-current-file)
7579 (todo-show-done-only, todo-show-first, todo-show-with-done)
7580 (todo-skip-archived-categories, todo-top-priorities-overrides)
7581 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7582 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7583 New defcustoms.
7584 (todo-category-done, todo-date-pattern, todo-date-string-start)
7585 (todo-diary-items-buffer, todo-done-string-start)
7586 (todo-filtered-items-buffer, todo-item-start)
7587 (todo-month-abbrev-array, todo-month-name-array)
7588 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7589 (todo-top-priorities-buffer): New defconsts.
7590 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7591 (todo-categories-with-marks, todo-category-string-face)
7592 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7593 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7594 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7595 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7596 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7597 (todo-font-lock-keywords, todo-global-current-todo-file)
7598 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7599 (todo-insertion-commands-args)
7600 (todo-insertion-commands-args-genlist)
7601 (todo-insertion-commands-names, todo-insertion-map)
7602 (todo-key-bindings-t, todo-key-bindings-t+a)
7603 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7604 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7605 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7606 (todo-visited): New variables.
7607
cad5d1cb
GM
76082013-06-21 Glenn Morris <rgm@gnu.org>
7609
7610 * play/cookie1.el (cookie-apropos): Add optional display argument.
7611 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7612 (psychoanalyze-pinhead): Use cookie-doctor.
7613
9e277302
JB
76142013-06-21 Juanma Barranquero <lekktu@gmail.com>
7615
7616 * emacs-lisp/package.el (tar-get-file-descriptor)
7617 (tar--extract): Declare.
7618
c5b0993e
EW
76192013-06-21 Eduard Wiebe <usenet@pusto.de>
7620
7621 Extend flymake's warning predicate to be a function (bug#14217).
7622 * progmodes/flymake.el (flymake-warning-predicate): New.
7623 (flymake-parse-line): Use it.
7624 (flymake-warning-re): Make obsolete alias to
7625 `flymake-warning-predicate'.
7626
a7d2d465
SM
76272013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7630 (package-obsolete-list): Remove.
7631 (package-activate): Remove min-version argument. Add `force' argument.
7632 Adjust to new package-alist format.
7633 (package-mark-obsolete): Remove.
7634 (package-unpack): Force reload of the package's autoloads.
7635 (package-installed-p): Check builtins if the installed package is not
7636 recent enough.
7637 (package-initialize): Don't reset package-obsolete-list.
7638 Don't specify which package version to activate.
7639 (package-process-define-package, describe-package-1)
7640 (package-menu--generate): Adjust to new package-alist format.
7641
cedf5c9d
JB
76422013-06-21 Juanma Barranquero <lekktu@gmail.com>
7643
7644 * allout-widgets.el (allout-widgets-mode-off)
7645 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7646 (allout-widgets-post-command-business)
7647 (allout-widgets-after-copy-or-kill-function)
7648 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7649 (allout-decorate-item-and-context)
7650 (allout-graphics-modification-handler): Fix typos in docstrings.
7651 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7652
7653 * cmuscheme.el (scheme-start-file): Doc fix.
7654 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7655 (scheme-input-filter): Use `string-match-p'.
7656
7657 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7658
7659 * dired-x.el: Use Dired consistently in docstrings.
7660
7661 * dired.el: Use Dired consistently in docstrings.
7662 (dired-readin, dired-mode): Use `setq-local'.
7663 (dired-switches-alist): Make defvar-local.
7664 (dired-buffers-for-dir): Use `zerop'.
7665 (dired-safe-switches-p, dired-switches-escape-p)
7666 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7667 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7668 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7669 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7670 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7671 (dired-toggle-marks, dired-mark-files-containing-regexp)
7672 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7673 (dired-flag-auto-save-files, dired-flag-backup-files):
7674 Use `looking-at-p'.
7675 (dired-mark-files-regexp, dired-build-subdir-alist):
7676 Use `string-match-p', `looking-at-p'.
7677
7678 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7679 (direct-print-region-helper): Use `string-match-p'.
7680
aed838b5
LL
76812013-06-21 Leo Liu <sdl.web@gmail.com>
7682
cedf5c9d
JB
7683 * comint.el (comint-redirect-results-list-from-process):
7684 Fix infinite loop.
aed838b5 7685
d80a808f
LMI
76862013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7687
7688 * net/eww.el (eww-update-header-line-format): Quote % characters.
7689
e7a526e3
GM
76902013-06-21 Glenn Morris <rgm@gnu.org>
7691
7692 * play/cookie1.el (cookie): New custom group.
7693 (cookie-file): New option.
7694 (cookie-check-file): New function.
7695 (cookie): Make it interactive. Make start and end messages optional.
7696 Interactively, display the result. Default to cookie-file.
7697 (cookie-insert): Default to cookie-file.
7698 (cookie-snarf): Make start and end messages optional.
7699 Default to cookie-file. Use with-temp-buffer.
7700 (cookie-read): Rename from read-cookie.
7701 Make start and end messages optional. Default to cookie-file.
7702 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 7703 Do not autoload it.
e7a526e3
GM
7704 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7705 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7706
62efb35e
LL
77072013-06-21 Leo Liu <sdl.web@gmail.com>
7708
7709 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7710
21e3f963
GM
77112013-06-21 Glenn Morris <rgm@gnu.org>
7712
7713 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7714
fd846ab4
SM
77152013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7716 Daniel Hackney <dan@haxney.org>
7717
7718 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7719 Consolidate the single-file vs tarball code.
7720 (package-desc-suffix): New function.
7721 (package-desc-full-name): Don't bother inlining it.
7722 (package-load-descriptor): Return the new package-desc.
7723 (package-mark-obsolete): Remove unused arg `package'.
7724 (package-unpack): Make it work for single files as well.
7725 Make it update package-alist.
7726 (package--make-autoloads-and-stuff): Rename from
7727 package--make-autoloads-and-compile. Don't compile any more.
7728 (package--compile): New function.
7729 (package-generate-description-file): New function, extracted from
7730 package-unpack-single.
7731 (package-unpack-single): Remove.
7732 (package--with-work-buffer): Add indentation and debugging info.
7733 (package-download-single): Remove.
7734 (package-install-from-archive): Rename from package-download-tar, make
7735 it take a pkg-desc, and make it work for single files as well.
7736 (package-download-transaction): Simplify.
7737 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7738 external tar program.
7739 (package-install-from-buffer): Remove `pkg-desc' argument.
7740 Use package-tar-file-info for tar-mode buffers.
7741 (package-install-file): Simplify accordingly.
7742 (package-archive-base): Change to take a pkg-desc.
7743 * tar-mode.el (tar--check-descriptor): New function, extracted from
7744 tar-get-descriptor.
7745 (tar-get-descriptor): Use it.
7746 (tar-get-file-descriptor): New function.
7747 (tar--extract): New function, extracted from tar-extract.
7748 (tar--extract): Use it.
7749 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7750 case the summary uses non-ascii. Adjust to new calling convention of
7751 package-tar-file-info.
7752
b7deae5e
LL
77532013-06-21 Leo Liu <sdl.web@gmail.com>
7754
fd846ab4
SM
7755 * comint.el (comint-redirect-results-list-from-process):
7756 Fix random delay. (Bug#14681)
b7deae5e 7757
7a65a0b2
JB
77582013-06-21 Juanma Barranquero <lekktu@gmail.com>
7759
7760 * profiler.el (profiler-format-number): Use log, not log10.
7761
1493c2af
JB
77622013-06-20 Juanma Barranquero <lekktu@gmail.com>
7763
7764 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7765
aff6371e
SM
77662013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7767
7768 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7769 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7770 yet available.
7771 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7772 (AUTOGENEL): ... here.
7773 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7774 (cl--defsubst-expand): Use it.
7775
89561f72
PE
77762013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7777
7778 * subr.el (log10): Move here from C code, and declare as obsolete.
7779 All uses of (log10 X) replaced with (log X 10).
7780
47199123
JB
77812013-06-20 Juanma Barranquero <lekktu@gmail.com>
7782
7783 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7784 Declare with `defvar-local'.
7785 (tabulated-list-use-header-line, tabulated-list-entries)
7786 (tabulated-list-padding, tabulated-list-printer)
7787 (tabulated-list-sort-key): Declare with `defvar-local'.
7788 (tabulated-list-init-header, tabulated-list-print-fake-header):
7789 Use `setq-local'.
7790
4a172eab
MA
77912013-06-20 Michael Albinus <michael.albinus@gmx.de>
7792
47199123
JB
7793 * arc-mode.el (archive-mode): Add `archive-write-file' to
7794 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 7795
5fc0acc0
JB
77962013-06-20 Juanma Barranquero <lekktu@gmail.com>
7797
d5b27848
JB
7798 * cus-edit.el (custom-commands): Fix typos.
7799 (custom-display): Fix tooltip text.
7800 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7801 Fix typos in docstrings.
7802 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7803 (custom-unlispify-menu-entry, custom-magic-value-create)
7804 (custom-add-see-also, custom-group-value-create): Use ?\s.
7805 (custom-guess-type, customize-apropos, editable-field)
7806 (custom-face-value-create): Use `string-match-p'.
7807 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7808
7809 * custom.el (custom-load-symbol): Use `string-match-p'.
7810
a5c581d8
JB
7811 * ansi-color.el: Convert to lexical binding.
7812 (ansi-colors): Fix URL.
7813 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7814 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7815 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7816
970ad972
G
78172013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7818
7819 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7820
7821 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7822
78232013-06-19 Tom Tromey <tromey@redhat.com>
7824
7825 * net/eww.el (eww-top-url): Remove.
7826 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7827 (eww-render): Set new variables. Don't set eww-top-url.
7828 (eww-handle-link): Handle "prev", "home", and "contents".
7829 Downcase the rel text.
7830 (eww-top-url): Choose best top URL.
7831
78322013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833
7834 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7835 relying in widget.el. Using widget.el leads to too many
7836 user interface inconsistencies.
7837 (eww-self-insert): Implement entering commands in text fields.
7838 (eww-process-text-input): New function to make text input field editing
7839 work.
7840 (eww-submit): Rewrite to use the new-style form methods.
7841 (eww-select-display): Display the correct selected item.
7842 (eww-change-select): Implement changing the select value.
7843 (eww-toggle-checkbox): Implement radio/checkboxes.
7844 (eww-update-field): Fix compilation error.
7845 (eww-tag-textarea): Implement <textarea>.
7846
7847 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7848 we don't shadow mode-specific bindings.
7849
7850 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7851 nothing to push.
7852
7853 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7854
4582a01c 78552013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
7856
7857 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7858
15b263dc
MA
78592013-06-19 Michael Albinus <michael.albinus@gmx.de>
7860
7861 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7862 not needed.
7863
7864 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7865
8f5297f7
LMI
78662013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7867
7868 * net/browse-url.el (browse-url-browser-function):
7869 `eww-browse-url' has the right calling signature, `eww' does not.
7870
011c4552
GM
78712013-06-19 Glenn Morris <rgm@gnu.org>
7872
2285bd27
GM
7873 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7874 Only eval autoloaded macros.
7875 (byte-compile-autoload): Only give the macro warning for macros.
7876
1d653303
GM
7877 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7878 (ps-underlined-faces): Declare.
7879
bdd779ec
GM
7880 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7881 (speedbar-add-supported-extension): Declare.
7882
011c4552
GM
7883 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7884 Don't include a date stamp in the header of the generated file;
7885 it leads to needless differences between output files.
7886
e59dfb0e
MA
78872013-06-19 Michael Albinus <michael.albinus@gmx.de>
7888
c763842b
SM
7889 * net/secrets.el (secrets-struct-secret-content-type):
7890 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 7891 Some servers do not offer introspection.
e59dfb0e 7892
102626e2
SM
78932013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 * electric.el (electric-pair-mode): Improve interaction with
7896 electric-layout-mode.
7897 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7898 (electric-pair-syntax): Use text-mode-syntax-table in comments
7899 and strings.
7900 (electric-pair--insert): New function.
7901 (electric-pair-post-self-insert-function): Use it and
7902 electric--after-char-pos.
7903
ad528125
LL
79042013-06-19 Leo Liu <sdl.web@gmail.com>
7905
7906 * progmodes/octave.el (octave-help): Fix regexp.
7907
924d6997
G
79082013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7909
7910 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7911 (shr-table-horizontal-line): Allow nil as a value, and change the
7912 default.
7913 (shr-insert-table-ruler): Respect the nil value.
7914
79152013-06-18 Tom Tromey <tromey@barimba>
7916
7917 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7918 New defvars.
7919 (eww-open-file): New defun.
7920 (eww-render): Initialize new variables.
7921 (eww-display-html): Handle "link" and "a".
7922 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7923 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7924 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
7925 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7926 New defuns.
924d6997 7927
d1bbba4f
DG
79282013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7929
7930 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7931 Distinguish ternary operator tokens from slash symbol and slash
7932 char literal.
7933
14dd22d2
JB
79342013-06-18 Juanma Barranquero <lekktu@gmail.com>
7935
7936 Convert symbol prettification into minor mode and global minor mode.
7937
7938 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7939 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7940 (prettify-symbols--keywords): Rename from
7941 `prog-prettify-symbols-alist' and make a local defvar.
7942 (prettify-symbols--compose-symbol): Rename from
7943 `prog--prettify-font-lock-compose-symbol'.
7944 (prettify-symbols--make-keywords): Rename from
7945 `prog-prettify-font-lock-symbols-keywords' and simplify.
7946 (prog-prettify-install): Remove.
7947 (prettify-symbols-mode): New minor mode, based on
7948 `prog-prettify-install'.
7949 (turn-on-prettify-symbols-mode): New function.
7950 (global-prettify-symbols-mode): New globalized minor mode.
7951
7952 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7953 * progmodes/cfengine.el (cfengine3-mode):
7954 * progmodes/perl-mode.el (perl-mode): Don't call
7955 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7956
292c880c
JL
79572013-06-18 Juri Linkov <juri@jurta.org>
7958
7959 * files-x.el (modify-file-local-variable-message): New function.
7960 (modify-file-local-variable)
7961 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7962 and call `modify-file-local-variable-message' when it's non-nil.
7963 (add-file-local-variable, delete-file-local-variable)
7964 (add-file-local-variable-prop-line)
7965 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7966 and use it. (Bug#9820)
7967
0950aa27
JL
79682013-06-18 Juri Linkov <juri@jurta.org>
7969
7970 * emulation/vi.el (vi-shell-op):
7971 * emulation/vip.el (vip-execute-com, ex-command):
7972 * emulation/viper-cmd.el (viper-exec-bang):
7973 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7974 the call of `shell-command-on-region'. (Bug#14637)
7975
7976 * simple.el (shell-command-on-region): Doc fix.
7977
8fbcca16
SM
79782013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7981 (bug#14633).
7982
dd7426ea
GM
79832013-06-18 Glenn Morris <rgm@gnu.org>
7984
4ba54f7d
GM
7985 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7986
dd7426ea
GM
7987 * newcomment.el (comment-search-forward, comment-search-backward):
7988 Doc fix. (Bug#14376)
7989
58aa805b
JB
79902013-06-18 Juanma Barranquero <lekktu@gmail.com>
7991
7992 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7993 (buffer-face-mode-invoke): Doc fix.
7994
9a08a617
MM
79952013-06-18 Matthias Meulien <orontee@gmail.com>
7996
7997 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 7998 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 7999
f2f426ca
GM
80002013-06-18 Glenn Morris <rgm@gnu.org>
8001
9445f99b
GM
8002 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8003 Replace obsolete function generic-make-keywords with its expansion.
8004
e0df2d14
GM
8005 * progmodes/python.el (ffap-alist): Declare.
8006
f2f426ca
GM
8007 * textmodes/reftex.el (bibtex-mode-map): Declare.
8008
f7f9a720
SM
80092013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8012 (package-unpack, package-unpack-single): Return the pkg-dir.
8013 (package-download-transaction): Use it to update package-alist.
8014
57ff04e0
LMI
80152013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8016
8017 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8018 possible choice.
8019
c048c022
JL
80202013-06-17 Juri Linkov <juri@jurta.org>
8021
8022 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8023
b5bcaee5
DG
80242013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8025
a020afb9
JB
8026 * emacs-lisp/package.el (package-load-descriptor):
8027 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8028 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8029
551e07e5
JB
80302013-06-17 Juanma Barranquero <lekktu@gmail.com>
8031
8032 * startup.el (command-line): Expand package name returned by
8033 `package--description-file' (bug#14639).
8034
d363bffb
DG
80352013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8036
8037 * emacs-lisp/package.el (package-load-descriptor): Do not call
8038 `emacs-lisp-mode', just use its syntax table.
8039
f612933b
JB
80402013-06-17 Juanma Barranquero <lekktu@gmail.com>
8041
8042 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8043 `font-lock-extra-managed-props' if any prettifying keyword is added.
8044 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8045 (prog-mode): Use `setq-local'.
8046
db3b7db5
SM
80472013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8048
8049 * international/characters.el (standard-case-table): Set syntax of ?»
8050 and ?« to punctuation.
8051
f3d674df
JB
80522013-06-16 Juanma Barranquero <lekktu@gmail.com>
8053
8054 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8055 Save relevant match data before calling `syntax-ppss' (bug#14595).
8056
31489a32
JL
80572013-06-15 Juri Linkov <juri@jurta.org>
8058
8059 * files-x.el (modify-file-local-variable-prop-line): Add local
8060 variables to the end of the existing comment on the first line.
8061 Use `file-auto-mode-skip' to skip interpreter magic line,
8062 and also skip XML declaration.
8063
66bd25ab
SM
80642013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8065
8066 * startup.el (package--builtin-versions): New var.
8067 (package-subdirectory-regexp): Remove.
8068 (package--description-file): Hard code its value instead.
8069
8070 * emacs-lisp/package.el: Don't activate packages older than builtin.
8071 (package-obsolete-list): Rename from package-obsolete-alist, and make
8072 it into a simple list of package-desc.
8073 (package-strip-version): Remove.
8074 (package-built-in-p): Use package--builtin-versions.
8075 (package-mark-obsolete): Simplify.
8076 (package-process-define-package): Mark it obsolete if older than the
8077 builtin version.
8078 (package-handle-response): Use line-end-position.
8079 (package-read-archive-contents, package--download-one-archive):
8080 Simplify.
8081 (package--add-to-archive-contents): Skip if older than the builtin or
8082 installed version.
8083 (package-menu-describe-package): Fix last change.
8084 (package-list-unversioned): New var.
8085 (package-menu--generate): Use it.
8086
8087 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8088 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8089 (autoload-builtin-package-versions): New variable.
8090 (autoload-generate-file-autoloads): Use them.
8091 Remove the list of autoloaded functions/macros from the
8092 (autoload...) comments.
8093
8094 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8095
9583ec36
EZ
80962013-06-15 Eli Zaretskii <eliz@gnu.org>
8097
8098 * simple.el (line-move-partial): Don't jump to the next screen
8099 line as soon as it becomes visible. Instead, continue enlarging
8100 the vscroll until the portion of a tall screen line that's left on
8101 display is about the height of the frame's default font.
8102 (Bug#14567)
8103
f0100d8a
GM
81042013-06-15 Glenn Morris <rgm@gnu.org>
8105
b86a85ca
GM
8106 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8107 compilation-error-regexp-alist void, or local while let-bound.
8108
f0100d8a
GM
8109 * progmodes/make-mode.el (makefile-mode-syntax-table):
8110 Treat "=" as punctuation. (Bug#14614)
8111
05e7ce90
JB
81122013-06-15 Juanma Barranquero <lekktu@gmail.com>
8113
8114 * help-fns.el (describe-variable):
8115 Add extra line for permanent-local variables.
8116
12e5e86e
SH
81172013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8118
8119 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8120 Add export, import, library. (Bug#9164)
8121 (library): Set indent function.
8122
230dcbaf
GM
81232013-06-14 Glenn Morris <rgm@gnu.org>
8124
8125 * term/xterm.el (xterm--query):
8126 Stop after first matching handler. (Bug#14615)
8127
e36b2d20 81282013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8129
8130 Add support for dired in saveplace.
8131 * dired.el (dired-initial-position-hook): New variable.
8132 (dired-initial-position): Call hook to place cursor position.
8133 * saveplace.el (save-place-to-alist): Add dired position.
8134 (save-place-dired-hook): New function.
8135
0b31660d
SM
81362013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8137
bf1e6ae8
SM
8138 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8139 through a symbol rather than letrec.
8140
1b8dff23
SM
8141 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8142 (package-desc): Add `dir' field.
8143 (package-desc-full-name): New function.
8144 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8145 (package-maybe-load-descriptor): Remove.
8146 (package-load-all-descriptors): Just call package-load-descriptor.
8147 (package--disabled-p): New function.
8148 (package-desc-vers, package-desc-doc): Remove aliases.
8149 (package--dir): Remove function.
8150 (package-activate): Check if a package is disabled.
8151 (package-process-define-package): New function, extracted from
8152 define-package.
8153 (define-package): Turn into a place holder.
8154 (package-unpack-single, package-tar-file-info):
8155 Use package--description-file.
8156 (package-compute-transaction): Use package--disabled-p.
8157 (package-download-transaction): Don't call
8158 package-maybe-load-descriptor since they're all loaded anyway.
8159 (package-install): Change argument to be a pkg-desc.
8160 (package-delete): Use a single pkg-desc argument.
8161 (describe-package-1): Use package-desc-dir instead of package--dir.
8162 Use package-desc property instead of package-symbol.
8163 (package-install-button-action): Adjust accordingly.
8164 (package--push): Rewrite.
8165 (package-menu--print-info): Adjust accordingly. Change the ID format
8166 to be a pkg-desc.
8167 (package-menu-describe-package, package-menu-get-status)
8168 (package-menu--find-upgrades, package-menu-mark-upgrades)
8169 (package-menu-execute, package-menu--name-predicate):
8170 Adjust accordingly.
8171 * startup.el (package--description-file): New function.
8172 (command-line): Use it.
8173 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8174 Use package-desc-version.
8175
0b31660d
SM
8176 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8177 (byte-compile-preprocess): Use it.
8178 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8179 can't quite recognize.
8180 (byte-compile-add-to-list): Remove.
8181 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8182 (cconv-closure-convert): Add assertion.
8183
8184 * emacs-lisp/map-ynp.el: Use lexical-binding.
8185 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8186 Factor out some repeated code.
8187
de0503df
SM
81882013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * subr.el (with-eval-after-load): New macro.
8191 (eval-after-load): Allow form to be a function.
8192 take advantage of lexical-binding.
8193 (do-after-load-evaluation): Use dolist and adjust to new format.
8194 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8195
bc5c8c5a
JL
81962013-06-13 Juri Linkov <juri@jurta.org>
8197
8198 * replace.el (perform-replace): Display "symbol " and other search
8199 modes from `isearch-message-prefix' in the *Help* buffer.
8200
8201 * isearch.el (isearch-query-replace): Add " symbol" and other
8202 possible search modes from `isearch-message-prefix' to the prompt.
8203 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8204 when reading a regexp to collect.
8205
a22289f7
JL
82062013-06-13 Juri Linkov <juri@jurta.org>
8207
8208 * isearch.el (word-search-regexp): Match whitespace if the search
8209 string begins or ends in whitespace. The LAX arg is applied to
8210 both ends of the search string. Use `regexp-quote' and explicit
8211 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8212 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8213 boundaries are replaced with symbol boundaries, and characters
8214 between symbols match non-word non-symbol syntax. (Bug#14602)
8215
cb89acab
JL
82162013-06-13 Juri Linkov <juri@jurta.org>
8217
8218 * isearch.el (isearch-del-char): Don't exceed the length of
8219 `isearch-string' by the prefix arg. (Bug#14563)
8220
6e8cfc81
JL
82212013-06-13 Juri Linkov <juri@jurta.org>
8222
8223 * isearch.el (isearch-yank-word, isearch-yank-line)
8224 (isearch-char-by-name, isearch-quote-char)
8225 (isearch-printing-char, isearch-process-search-char):
8226 Add optional count prefix arg. (Bug#14563)
8227
8228 * international/isearch-x.el
8229 (isearch-process-search-multibyte-characters):
8230 Add optional count prefix arg.
8231
c23d55f4
VS
82322013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8233
8234 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8235 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8236 lexical-binding.
8237
82382013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8239
8240 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8241
ba947bc4
GM
82422013-06-13 Glenn Morris <rgm@gnu.org>
8243
8baeb37a
GM
8244 * startup.el (tty-handle-args):
8245 Don't just discard "--" and anything after. (Bug#14608)
8246
ba947bc4
GM
8247 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8248
9abefce4
MA
82492013-06-13 Michael Albinus <michael.albinus@gmx.de>
8250
8251 Implement changes in Secret Service API. Make it backward compatible.
8252 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8253 (secrets-create-item): Use it. Prefix properties with interface.
8254
5755011f
MH
82552013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8256
8257 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8258 (term-emulate-terminal): Respect term-suppress-hard-newline.
8259
1261d2da
S
82602013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8261
8262 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8263 Only remove a `thumb-file' overlay. (Bug#14548)
8264
868490bb
GJ
82652013-06-12 Grégoire Jadi <daimrod@gmail.com>
8266
8267 * mail/reporter.el (reporter-submit-bug-report):
8268 Handle missing package-name. (Bug#14600)
8269
79d7167f
TH
82702013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8271
8272 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8273 (reftex-citation-prompt, reftex-default-bibliography)
8274 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8275 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8276 (reftex-bib-sort-author, reftex-bib-sort-year)
8277 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8278 (reftex-extract-bib-entries-from-thebibliography)
8279 (reftex-get-bibkey-default, reftex-get-bib-names)
8280 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8281 (reftex-format-bib-entry, reftex-parse-bibitem)
8282 (reftex-format-bibitem, reftex-do-citation)
8283 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8284 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8285 (reftex-insert-bib-matches, reftex-format-citation)
8286 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8287 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8288 existing comments into docstrings.
8289
5f9dbd7a
XF
82902013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8291
8292 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8293
94df41ab
AS
82942013-06-12 Andreas Schwab <schwab@suse.de>
8295
8296 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8297 for auto-save files.
8298
a7f3fecc
GM
82992013-06-12 Glenn Morris <rgm@gnu.org>
8300
001809f6
GM
8301 * ido.el (ido-delete-ignored-files): Remove.
8302 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8303 Go back to calling ido-ignore-item-p directly.
a7f3fecc 8304
834b5ded
EL
83052013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8306
08c73ed2
EL
8307 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8308
834b5ded
EL
8309 * ido.el (ido-delete-ignored-files): New function,
8310 split from ido-make-file-list-1.
8311 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8312 (ido-make-file-list-1): Use ido-delete-ignored-files.
8313
daabf15a
LL
83142013-06-12 Leo Liu <sdl.web@gmail.com>
8315
8316 * progmodes/octave.el (inferior-octave-startup)
8317 (inferior-octave-completion-table)
8318 (inferior-octave-track-window-width-change)
8319 (octave-eldoc-function-signatures, octave-help)
8320 (octave-find-definition): Use single quoted strings.
8321 (inferior-octave-startup-args): Change default value.
8322 (inferior-octave-startup): Do not hard code "-i" and
8323 "--no-line-editing".
8324 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8325 (inferior-octave-directory-tracker): Use it.
8326 (octave-goto-function-definition): Robustify.
8327 (octave-help): Support highlighting operators in 'See also'.
8328 (octave-find-definition): Find subfunctions only in Octave mode.
8329
cf4e5178
SM
83302013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8331
8332 * help-fns.el (help-fns--compiler-macro): If the handler function is
8333 named, then put a link to it.
8334 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8335 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8336 (cl-typep): Use it.
8337 (cl-eval-when): Simplify debug spec.
8338 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8339 compiler-macro function instead of setting `compiler-macro-file'.
8340
99c81280 83412013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
8342
8343 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8344 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8345
f56be016
SM
83462013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8347 Daniel Hackney <dan@haxney.org>
8348
8349 First part of Daniel Hackney's patch to package.el.
8350 * emacs-lisp/package.el: Use defstruct.
8351 (package-desc): New, main struct.
8352 (package--bi-desc, package--ac-desc): New structs, used to describe the
8353 format in external files.
8354 (package-desc-vers): Replace with package-desc-version accessor.
8355 (package-desc-doc): Replace with package-desc-summary accessor.
8356 (package-activate-1): Remove `package' arg since the pkg-vec now
8357 includes the name.
8358 (define-package): Use package-desc-from-define.
8359 (package-unpack-single): Change file-name arg to be a symbol.
8360 (package--add-to-archive-contents): Use package-desc-create and new
8361 accessor functions to package--ac-desc.
8362 (package-buffer-info, package-tar-file-info): Return a package-desc.
8363 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8364 arg to be a package-desc.
8365 (package-install-file): Adjust accordingly. Use \' to match EOS.
8366 (package--from-builtin): New function.
8367 (describe-package-1, package-menu--generate): Use it.
8368 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8369 (package-generate-autoloads): Idem and return the name of the file.
8370 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8371 Change pkg-info arg to be a package-desc.
8372 Use package-make-ac-desc.
8373 (package-upload-file): Use \' to match EOS.
8374 * finder.el (finder-compile-keywords): Use package-make-builtin.
8375
31119d63
SM
83762013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8377
931a2762
SM
8378 * vc/vc.el (vc-deduce-fileset): Change error message.
8379 (vc-read-backend): New function.
8380 (vc-next-action): Use it.
8381
5a3eb0c6
SM
8382 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8383
e3eb1bb7
SM
8384 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8385 (prolog-font-lock-keywords): Use regexp-opt instead.
8386 Don't manually highlight strings.
8387 (prolog-mode-variables): Simplify comment-start-skip.
8388 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8389
31119d63
SM
8390 * emacs-lisp/generic.el (generic--normalise-comments)
8391 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8392 (generic-mode-set-comments): Use them.
8393 (generic-bracket-support): Use setq-local.
8394 (generic-make-keywords-list): Declare obsolete.
8395
7de135d0
GM
83962013-06-11 Glenn Morris <rgm@gnu.org>
8397
8398 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8399 Prettify after setting font-lock-defaults. (Bug#14574)
8400
fa6bc6fd
JB
84012013-06-11 Juanma Barranquero <lekktu@gmail.com>
8402
8403 * replace.el (query-replace, occur-read-regexp-defaults-function)
8404 (replace-search):
8405 * subr.el (declare-function, number-sequence, local-set-key)
8406 (substitute-key-definition, locate-user-emacs-file)
8407 (with-silent-modifications, split-string, eval-after-load):
8408 Fix typos, remove unneeded backslashes and reflow some docstrings.
8409
cf1f9b9a
SM
84102013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8411
8412 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8413 default for Elisp files.
8414
56602a4b
GM
84152013-06-11 Glenn Morris <rgm@gnu.org>
8416
8417 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8418 although define-derived-mode was doing this anyway. (Bug#14583)
8419
30ae0b2c
JB
84202013-06-10 Juanma Barranquero <lekktu@gmail.com>
8421
8422 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8423 Fix make-variable-buffer-local call to refer to the correct variable.
8424
fa472906
AG
84252013-06-10 Aidan Gauland <aidalgol@amuri.net>
8426
8427 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
8428 (eshell-visual-subcommands, eshell-visual-options):
8429 Add summary line to docstrings. Add cross-references.
fa472906 8430
ff4871b9
GM
84312013-06-10 Glenn Morris <rgm@gnu.org>
8432
8433 * epa.el (epa-read-file-name): New function. (Bug#14510)
8434 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8435
04fcf1b0
AG
84362013-06-09 Aidan Gauland <aidalgol@amuri.net>
8437
8438 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8439 output redirection to be ignored with visual commands.
8440
88b00caa
AG
84412013-06-09 Aidan Gauland <aidalgol@amuri.net>
8442
8443 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
8444 (eshell-term-initialize): Move long lambda to separate function
8445 eshell-visual-command-p.
e7b41c4c
JB
8446 * eshell/em-dirs.el (eshell-dirs-initialise):
8447 * eshell/em-script.el (eshell-script-initialize):
8448 Add missing #' to lambda.
88b00caa 8449
fda74125
LL
84502013-06-08 Leo Liu <sdl.web@gmail.com>
8451
8452 * progmodes/octave.el (octave-add-log-current-defun): New function.
8453 (octave-mode): Set add-log-current-defun-function.
8454 (octave-goto-function-definition): Do not move point if not found.
8455 (octave-find-definition): Enhance to try subfunctions first.
8456
467f3b33
GM
84572013-06-08 Glenn Morris <rgm@gnu.org>
8458
8459 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8460 (byte-compile-backward-char, byte-compile-backward-word):
8461 Improve previous change, to handle non-explicit nil.
8462
544badc3
SM
84632013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8464
8465 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8466 (smie--opener/closer-at-point): New function.
8467 (smie--matching-block-data): Use it. Don't match from right after an
8468 opener or right before a closer. Obey smie-blink-matching-inners.
8469 Don't signal a mismatch for repeated inners like "switch..case..case".
8470
a175bf33
LL
84712013-06-07 Leo Liu <sdl.web@gmail.com>
8472
8473 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8474 to t. (Bug#14303)
ce8209d4
LL
8475 (octave-function-header-regexp): Fix. (Bug#14570)
8476 (octave-help-mode-finish-hook, octave-help-mode-finish):
8477 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
8478
8479 * newcomment.el (comment-search-backward): Revert last change.
8480 (Bug#14434)
8481
8482 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8483
a822acff
EZ
84842013-06-07 Eli Zaretskii <eliz@gnu.org>
8485
8486 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8487 through xargs, to avoid failure due to MS-Windows limitations on
8488 command-line length.
8489
961166f5
GM
84902013-06-06 Glenn Morris <rgm@gnu.org>
8491
d0341459
GM
8492 * font-lock.el (lisp-font-lock-keywords-2):
8493 Treat user-error like error.
8494
961166f5
GM
8495 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8496 (byte-compile-backward-char, byte-compile-backward-word):
8497 Handle explicit nil arguments. (Bug#14565)
8498
80fa505f
AM
84992013-06-05 Alan Mackenzie <acm@muc.de>
8500
8501 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 8502 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 8503 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 8504 (Bug#9706)
80fa505f 8505
fccdc796
SM
85062013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * autorevert.el (auto-revert-notify-handler): Use memq.
8509 Hide assertion failure.
8510
8511 * skeleton.el: Use cl-lib.
8512 (skeleton-further-elements): Use defvar-local.
8513 (skeleton-insert): Use cl-progv.
8514
9bfff84b
TZ
85152013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8516
8517 * progmodes/prog-mode.el (prog-prettify-symbols)
8518 (prog-prettify-install): Update docstrings.
8519
55577e7c
SM
85202013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * simple.el: Move all the prog-mode code to prog-mode.el.
8523 * progmodes/prog-mode.el: New file.
8524 * loadup.el: Add prog-mode.el.
8525
8fc57765
TZ
85262013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8527
8528 * simple.el (prog-prettify-symbols): Add version.
8529 (prog-prettify-install): Add convenience function to prettify symbols.
8530
8531 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8532 (perl--augmented-font-lock-keywords-1)
8533 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8534 variables and use it.
8535
8536 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8537 (cfengine3-mode): Remove unneeded variable and use it.
8538
8539 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8540 (lisp--augmented-font-lock-keywords-1)
8541 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8542 Remove unneeded variables and use it.
8543
650645d5 85442013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
8545
8546 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 8547 to point when opening the connection. (Bug#14380)
28f5da6d 8548
781b4af6
SM
85492013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8550
8551 * subr.el (load-history-regexp, load-history-filename-element)
8552 (eval-after-load, after-load-functions, do-after-load-evaluation)
8553 (eval-next-after-load, display-delayed-warnings)
8554 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8555 definition of save-match-data.
8556 (overriding-local-map): Remove accidental obsolescence declaration.
8557
8558 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8559
3ca0d0b4
TZ
85602013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8561
8562 Generalize symbol prettify support to prog-mode and implement it
8563 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8564 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8565 (prog--prettify-font-lock-compose-symbol)
8566 (prog-prettify-font-lock-symbols-keywords): New variables and
8567 functions to support symbol prettification.
8568 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8569 (lisp--augmented-font-lock-keywords-1)
8570 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8571 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8572 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
8573 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8574 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
8575 * progmodes/perl-mode.el (perl-prettify-symbols)
8576 (perl--font-lock-compose-symbol)
8577 (perl--font-lock-symbols-keywords): Move to prog-mode.
8578 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8579 (perl-font-lock-keywords-1)
8580 (perl-font-lock-keywords-2): Remove explicit prettify support.
8581 (perl--augmented-font-lock-keywords)
8582 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
8583 (perl--augmented-font-lock-keywords-2, perl-mode):
8584 Implement prettify support.
3ca0d0b4 8585
976cb066
LL
85862013-06-05 Leo Liu <sdl.web@gmail.com>
8587
8588 Re-implement smie matching block highlight using
8589 show-paren-data-function. (Bug#14395)
8590 * emacs-lisp/smie.el (smie-matching-block-highlight)
8591 (smie--highlight-matching-block-overlay)
8592 (smie--highlight-matching-block-lastpos)
8593 (smie-highlight-matching-block)
8594 (smie-highlight-matching-block-mode): Remove.
8595 (smie--matching-block-data-cache): New variable.
8596 (smie--matching-block-data): New function.
8597 (smie-setup): Use smie--matching-block-data for
8598 show-paren-data-function.
8599
8600 * progmodes/octave.el (octave-mode-menu): Fix.
8601 (octave-find-definition): Skip garbage lines.
8602
208d0342
SM
86032013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 Fix compilation error with simultaneous dynamic+lexical scoping.
8606 Add warning when a defvar appears after the first let-binding.
8607 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8608 (byte-compile-close-variables): Initialize it.
8609 (byte-compile--declare-var): New function.
8610 (byte-compile-file-form-defvar)
8611 (byte-compile-file-form-define-abbrev-table)
8612 (byte-compile-file-form-custom-declare-variable): Use it.
8613 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8614 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8615 (byte-compile-bind): Handle dynamic bindings that shadow
8616 lexical bindings.
8617 (byte-compile-unbind): Make arg non-optional.
8618 (byte-compile-let): Simplify.
8619 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8620 (cconv--analyse-function, cconv-analyse-form): Populate it.
8621 Protect byte-compile-bound-variables to limit the scope of defvars.
8622 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8623 Remove unneeded rule for `declare'.
8624
8625 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8626 so as to avoid depending on cl-adjoin at run-time.
8627 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8628
8629 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8630 (macroexp--warn-and-return): Use it.
8631
1ac2891e
GM
86322013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * lisp/subr.el: Convert to lexical binding.
8635 (overriding-local-map): Make obsolete.
8636 (add-to-list): Doc fix. Add compiler macro.
8637 (read-key): Swap values of local maps.
8638
2587b005
LL
86392013-06-05 Leo Liu <sdl.web@gmail.com>
8640
8641 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8642
f1da3c88
LL
86432013-06-04 Leo Liu <sdl.web@gmail.com>
8644
8645 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8646 (compilation-auto-jump): Suppress the "Mark set" message to give
8647 way to exit message.
8648
3caa391f
AM
86492013-06-04 Alan Mackenzie <acm@muc.de>
8650
8651 Remove faulty optimisation from indentation calculation.
8652 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8653 search limit based on 2000 characters back from indent-point.
8654
068922a2
TH
86552013-06-03 Tassilo Horn <tsdh@gnu.org>
8656
8657 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8658
1f8fdd53
SM
86592013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8660
bbcc4d97
SM
8661 * emacs-lisp/lisp.el: Use lexical-binding.
8662 (lisp--local-variables-1, lisp--local-variables): New functions.
8663 (lisp--local-variables-completion-table): New var.
208d0342 8664 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 8665
1f8fdd53
SM
8666 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8667 eagerly (bug#14422).
8668
c9628c79
MA
86692013-06-03 Michael Albinus <michael.albinus@gmx.de>
8670
8671 * autorevert.el (auto-revert-notify-enabled)
8672 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8673 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8674 (auto-revert-notify-handler): Handle also gfilenotify.
8675
e7b41c4c 8676 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 8677 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 8678 Remove.
c9628c79 8679
e5e4a942
JL
86802013-06-03 Juri Linkov <juri@jurta.org>
8681
8682 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8683 `M-s h .'. (Bug#14427)
8684
8685 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8686 command `hi-lock-face-symbol-at-point'.
8687 (hi-lock-face-symbol-at-point): New command.
8688 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8689 (hi-lock-menu): Add `highlight-symbol-at-point'.
8690 (hi-lock-mode): Doc fix.
8691
8692 * isearch.el (isearch-forward-symbol-at-point): New command.
8693 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8694 (isearch-highlight-regexp): Add a regexp which matches
8695 words/symbols for word/symbol mode.
8696
8697 * subr.el (find-tag-default-bounds): New function with the body
8698 mostly moved from `find-tag-default'.
8699 (find-tag-default): Move most code to `find-tag-default-bounds',
8700 call it and apply `buffer-substring-no-properties' afterwards.
8701
26b3353a
TH
87022013-06-03 Tassilo Horn <tsdh@gnu.org>
8703
781b4af6
SM
8704 * eshell/em-term.el (eshell-term-initialize):
8705 Use `cl-intersection' rather than `intersection'.
26b3353a 8706
51b60f53
XF
87072013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8708
fe054b63 8709 * vc/log-view.el: Doc fix.
d3ffe17c 8710 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 8711
a0eb10b3 87122013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
8713
8714 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8715 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8716 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8717 (eieio-unbound, eieio-default-superclass)
8718 (eieio--define-field-accessors, method-static, method-before)
8719 (method-primary, method-after, method-num-lists)
8720 (method-generic-before, method-generic-primary)
8721 (method-generic-after, method-num-slots)
8722 (eieio-specialized-key-to-generic-key)
8723 (eieio--check-type, class-v, class-p)
8724 (eieio-class-name, define-obsolete-function-alias)
8725 (eieio-class-parents-fast, eieio-class-children-fast)
8726 (same-class-fast-p, class-constructor, generic-p)
8727 (generic-primary-only-p, generic-primary-only-one-p)
8728 (class-option-assoc, class-option, eieio-object-p)
8729 (class-abstract-p, class-method-invocation-order)
8730 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8731 (eieio-class-un-autoload, eieio-defclass)
8732 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8733 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8734 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8735 (eieio-defgeneric-reset-generic-form)
8736 (eieio-defgeneric-form-primary-only)
8737 (eieio-defgeneric-reset-generic-form-primary-only)
8738 (eieio-defgeneric-form-primary-only-one)
8739 (eieio-defgeneric-reset-generic-form-primary-only-one)
8740 (eieio-unbind-method-implementations)
8741 (eieio--defmethod, eieio--typep)
8742 (eieio-perform-slot-validation, eieio-validate-slot-value)
8743 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8744 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8745 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8746 (eieio-slot-name-index, eieio-class-slot-name-index)
8747 (eieio-set-defaults, eieio-initarg-to-attribute)
8748 (eieio-attribute-to-initarg, eieio-c3-candidate)
8749 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8750 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8751 (eieio-class-precedence-list, eieio-generic-call-methodname)
8752 (eieio-generic-call-arglst, eieio-generic-call-key)
8753 (eieio-generic-call-next-method-list)
8754 (eieio-pre-method-execution-functions, eieio-generic-call)
8755 (eieio-generic-call-primary-only, eieiomt-method-list)
8756 (eieiomt-optimizing-obarray, eieiomt-install)
8757 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8758 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 8759 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
8760 (defclass): Remove `eval-and-compile' from macro.
8761 (call-next-method, shared-initialize): Instead of using
8762 `scoped-class' variable, use new eieio--scoped-class, and
8763 eieio--with-scoped-class.
8764 (initialize-instance): Rename local variable 'scoped-class' to
8765 'this-class' to remove ambiguitity from old global.
8766
8767 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8768 eieio.el.
4f405069
JB
8769 (eieio--scoped-class-stack): New variable.
8770 (eieio--scoped-class): New fcn.
890f7890
DE
8771 (eieio--with-scoped-class): New scoping macro.
8772 (eieio-defclass): Use pushnew instead of add-to-list.
8773 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8774 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8775 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8776 `scoped-class' variable, use new eieio--scoped-class, and
8777 eieio--with-scoped-class.
8778
8779 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8780
d105b0e2
TH
87812013-06-02 Tassilo Horn <tsdh@gnu.org>
8782
8783 * eshell/esh-ext.el (eshell-external-command): Pass args to
8784 `eshell-find-interpreter'.
8785 (eshell-find-interpreter): Add new second parameter ARGS.
8786
8787 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 8788 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8789
8790 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 8791 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
8792
8793 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8794 (eshell-visual-options): New defcustom.
8795 (eshell-escape-control-x): Adapt docstring.
8796 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8797 `eshell-visual-options' in addition to `eshell-visual-commands'.
8798 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8799
f46305c8 88002013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
8801
8802 * progmodes/python.el (python-indent-block-enders): Add break,
8803 continue and raise keywords.
8804
d870df21
GM
88052013-06-01 Glenn Morris <rgm@gnu.org>
8806
9133b82e
GM
8807 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8808
02c992ec 8809 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
8810 * progmodes/cc-cmds.el (delete-forward-p):
8811 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8812 * progmodes/cc-engine.el (buffer-syntactic-context):
8813 * progmodes/cc-fonts.el (face-property-instance):
8814 * progmodes/cc-mode.el (set-keymap-parents):
8815 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8816 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8817 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
8818 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8819 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 8820
31e7b090
GM
8821 * progmodes/cc-vars.el (other): Emacs has this widget since
8822 at least 21.1, so don't (re)define it.
8823
d870df21
GM
8824 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8825 Replace the obsolete alias pcomplete-arg-quote-list.
8826
c75c93c7
LL
88272013-06-01 Leo Liu <sdl.web@gmail.com>
8828
8829 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8830 punctuation syntax.
8831 (inferior-octave-minimal-columns)
8832 (inferior-octave-last-column-width): New variables.
8833 (inferior-octave-track-window-width-change): New function.
8834 (inferior-octave-mode): Adjust column width so that Octave output,
8835 for example from 'ls', can fit into the window nicely.
8836
973d1e12
DG
88372013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8838
8839 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8840 Highlight expansions inside regexp literals.
8841
0888c286
GM
88422013-05-31 Glenn Morris <rgm@gnu.org>
8843
e26aac1f
GM
8844 * obsolete/sym-comp.el (symbol-complete):
8845 Replace obsolete completion-annotate-function.
8846
0888c286
GM
8847 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8848
19bb8e62
DG
88492013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8850
781b4af6
SM
8851 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8852 New function, checks if point is inside a literal that allows
19bb8e62
DG
8853 expression expansion.
8854 (ruby-syntax-propertize-expansion): Use it.
8855 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8856 around the body.
8857
01dea85f
JL
88582013-05-30 Juri Linkov <juri@jurta.org>
8859
8860 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8861 to "\M-si".
8862 (isearch-invisible): New variable.
8863 (isearch-forward): Doc fix.
8864 (isearch-mode): Set `isearch-invisible'
8865 to the value of `search-invisible'.
8866 (isearch-toggle-case-fold): Doc fix.
8867 (isearch-toggle-invisible): New command.
8868 (isearch-query-replace): Let-bind `search-invisible'
8869 to the value of `isearch-invisible'.
8870 (isearch-search): Use `isearch-invisible' instead of
8871 `search-invisible'. Let-bind `search-invisible'
8872 to the value of `isearch-invisible'. (Bug#11378)
8873
ab1bdce5
JL
88742013-05-30 Juri Linkov <juri@jurta.org>
8875
8876 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8877 call when `query-flag' is nil and `search-invisible' is non-nil.
8878 (Bug#11746)
8879
d6d236e2
GM
88802013-05-30 Glenn Morris <rgm@gnu.org>
8881
8accd027
GM
8882 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8883
2a8bed1c
GM
8884 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8885 (cc-require): Suppress spurious "noruntime" warnings.
8886 (cc-require-when-compile): Use fboundp, for sake of compiler.
8887
d6d236e2
GM
8888 * progmodes/cc-mode.el: Move load of cc-vars before that of
8889 cc-langs (which in turn loads cc-vars), to quieten compiler.
8890
9190b35b
SM
88912013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * paren.el: Simplify the code.
8894 (show-paren-mode): Always start the timer.
8895 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8896 (show-paren--overlay, show-paren--overlay-1): Rename from
8897 show-paren-overlay and show-paren-overlay-1, and initialize to an
8898 overlay rather than to nil.
8899 (show-paren-function): Misc cleanup and simplifications.
8900
4f8d1cf6
SM
89012013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8902
8903 * paren.el (show-paren-data-function): New hook.
8904 (show-paren--default): New function, extracted from show-paren-function.
8905 (show-paren-function): Use show-paren-data-function.
8906
02d844b5
GM
89072013-05-30 Glenn Morris <rgm@gnu.org>
8908
d209d4a9
GM
8909 * ielm.el (ielm-map, ielm-complete-symbol):
8910 Use completion-at-point rather than obsolete functions.
8911 (inferior-emacs-lisp-mode): Doc fix.
8912 Set completion-at-point-functions, rather than
8913 comint-dynamic-complete-functions.
8914
2082faa6
GM
8915 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8916 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8917 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8918
dd8620de
GM
8919 * image.el (image-animated-p): Tweak definition.
8920
ceca95b1
GM
8921 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8922 (rlogin-process-connection-type): Tweak default. Add set-after.
8923 (rlogin-host): Doc fix.
8924 (rlogin): Tweak prompt.
8925 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8926
ee9f1acc
GM
8927 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8928 * progmodes/tcl.el (inferior-tcl-mode-map):
8929 Use completion-at-point rather than obsolete alias.
8930
45ce222e
GM
8931 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8932
02d844b5
GM
8933 * minibuffer.el (read-file-name-completion-ignore-case):
8934 Move before completion--in-region, for eager macro expansion.
8935
ac44d6c1
JL
89362013-05-29 Juri Linkov <juri@jurta.org>
8937
8938 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8939 for total count of matching lines. Add `global-matches' for total
8940 count of matches. Rename `matches' to `lines' for count of
8941 matching lines. Add `matches' for count of matches.
8942 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8943 to `prev-line' for line number of prev match endpt.
8944 Increment `matches' for every match. Print the number of
8945 matching lines in the header.
8946 (occur-context-lines): Rename `lines' to `curr-line'.
8947 Rename `prev-lines' to `prev-line'. (Bug#14017)
8948
3c9c9d38
JL
89492013-05-29 Juri Linkov <juri@jurta.org>
8950
8951 * replace.el (perform-replace): Add `skip-read-only-count',
8952 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8953 Increment them for corresponding conditions and report the number
8954 of skipped occurrences in the final message. (Bug#11746)
8955 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8956 (replace-string, replace-regexp): Doc fix.
8957
33e249a2
SM
89582013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8e399682
SM
8960 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8961
33e249a2 8962 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 8963 prog-mode-map (bug#14504).
33e249a2 8964
f236dd84
LL
89652013-05-29 Leo Liu <sdl.web@gmail.com>
8966
8967 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8968 (octave-help): Small simplification.
8969
8970 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8971 off the highlight first.
8972
3694d13f
GM
89732013-05-29 Glenn Morris <rgm@gnu.org>
8974
03983bdc
GM
8975 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8976 Handle idlwave-last-system-routine-info-cons-cell being nil.
8977
bc74a74a
GM
8978 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8979 (idlwave-write-paths): Simplify via with-temp-buffer.
8980
8b394200
GM
8981 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8982 * emulation/cua-rect.el: Also load cua-base at run time.
8983
3694d13f
GM
8984 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8985 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8986 (cperl-imenu-on-info): Require imenu.
8987
336d7284
AM
89882013-05-28 Alan Mackenzie <acm@muc.de>
8989
8990 Handle "capitalised keywords" correctly.
33e249a2 8991 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 8992
cb29c582
AG
89932013-05-28 Aidan Gauland <aidalgol@amuri.net>
8994
781b4af6 8995 * eshell/em-unix.el: Add -r option to cp.
cb29c582 8996
690e44b2
GM
89972013-05-28 Glenn Morris <rgm@gnu.org>
8998
e658d75c
GM
8999 * vc/vc-arch.el (vc-exec-after): Declare.
9000 (vc-switches): Autoload.
9001 * vc/vc-bzr.el: No need to require vc when compiling.
9002 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9003 (vc-resynch-buffer, vc-dir-refresh): Declare.
9004 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9005 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9006 (vc-resynch-buffer): Declare.
9007 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9008 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9009 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9010 (grep-read-regexp, grep-read-files, grep-expand-template)
9011 (vc-dir-refresh): Declare.
9012 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9013 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9014 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9015 * vc/vc-mtn.el (vc-exec-after): Declare.
9016 (vc-switches): Autoload.
9017 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9018 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9019 (vc-file-tree-walk): Declare.
712b9732
GM
9020 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9021 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9022 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9023 * vc/vc-svn.el (vc-exec-after): Declare.
9024 (vc-switches, vc-setup-buffer): Autoload.
9025 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9026 Autoload.
9027 (vc-resynch-buffer): Declare.
9028
98e87fb3
GM
9029 * obsolete/fast-lock.el (byte-compile-warnings):
9030 Don't warn about obsolete features in this obsolete file.
9031
f5379553
GM
9032 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9033 Move definition before use.
9034
7a20ef83
GM
9035 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9036 (dun-unix-verbs): Remove dun-zippy.
9037 (dun-zippy): Remove function.
9038
690e44b2
GM
9039 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9040
3a52ccf7
JL
90412013-05-27 Juri Linkov <juri@jurta.org>
9042
9043 * replace.el (replace-search): New function with code moved out
9044 from `perform-replace'.
9045 (replace-highlight, replace-dehighlight): Move function definitions
9046 up closer to `replace-search'. (Bug#11746)
9047
d289938a
JL
90482013-05-27 Juri Linkov <juri@jurta.org>
9049
9050 * replace.el (perform-replace): Ignore invisible matches.
9051 In addition to checking `query-replace-skip-read-only', also
9052 filter out matches by calling `run-hook-with-args-until-failure'
9053 on `isearch-filter-predicates', and also check `search-invisible'
9054 for t or call `isearch-range-invisible'.
9055 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9056
66fc57e3
JL
90572013-05-27 Juri Linkov <juri@jurta.org>
9058
9059 * isearch.el (isearch-filter-predicates): Rename from
9060 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9061 (isearch-message-prefix): Display text from the property
9062 `isearch-message-prefix' of the currently active filters.
9063 (isearch-search): Don't compare `isearch-filter-predicate' with
9064 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9065 on `isearch-filter-predicates'. Also check `search-invisible' for t
9066 or call `isearch-range-invisible'.
9067 (isearch-filter-visible): Make obsolete.
9068 (isearch-lazy-highlight-search):
9069 Call `run-hook-with-args-until-failure' on
9070 `isearch-filter-predicates' and use `isearch-range-invisible'.
9071
9072 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9073 `isearch-filter-predicates' instead of `funcall'ing
9074 `isearch-filter-predicate'.
9075 (Info-mode): Set `Info-isearch-filter' to
9076 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9077
9078 * dired-aux.el (dired-isearch-filter-predicate-orig):
9079 Remove variable.
9080 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9081 (dired-isearch-filenames-end): Add and remove
9082 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9083 instead of changing the value of `isearch-filter-predicate'.
9084 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9085 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9086 Put property `isearch-message-prefix' to "filename " on
9087 `dired-isearch-filter-filenames'.
9088
9089 * wdired.el (wdired-change-to-wdired-mode):
9090 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9091 locally instead of changing `isearch-filter-predicate'.
9092 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9093
f1a60a0f
DG
90942013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9095
9096 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9097 return the commit hash (Bug#14459). Also set the
9098 `vc-git-detached' property.
9099 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9100 (vc-git-mode-line-string): Use the same help-echo format whether
9101 in detached mode or not, because we know the actual revision now.
9102 When in detached mode, shorten the revision to 7 chars.
9103
7f17cc40
SM
91042013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * emacs-lisp/easy-mmode.el (define-minor-mode):
9107 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9108 mode hook and provide a docstring.
9109
25c8401c
AM
91102013-05-27 Alan Mackenzie <acm@muc.de>
9111
9112 Remove spurious syntax-table text properties inserted by C-y.
9113 * progmodes/cc-mode.el (c-after-change): Also clear hard
9114 syntax-table property with value nil.
9115
dde84790
MA
91162013-05-27 Michael Albinus <michael.albinus@gmx.de>
9117
9118 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9119 when reading the events; the buffer layout shall not be changed.
9120
837fd9af
LL
91212013-05-27 Leo Liu <sdl.web@gmail.com>
9122
9123 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9124 New variable.
9125 (inferior-octave-directory-tracker): Automatically re-sync
9126 default-directory.
9127 (octave-help): Improve handling of 'See also'.
9128
4fd996b3
SM
91292013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9130
416f1802
SM
9131 * doc-view.el: Minor naming convention tweaks.
9132 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9133
4fd996b3
SM
9134 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9135 even if there's no `display' property yet (bug#14435).
9136
a052ef3b
EZ
91372013-05-25 Eli Zaretskii <eliz@gnu.org>
9138
4fd996b3 9139 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9140
9141 * Makefile.in (custom-deps, finder-data, autoloads)
9142 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9143 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9144 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9145
c9023370
SM
91462013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9149 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9150 Don't burp at EOB.
c9023370 9151
24d699fa
LL
91522013-05-25 Leo Liu <sdl.web@gmail.com>
9153
9154 * comint.el (comint-previous-matching-input): Do not flood the
9155 *Messages* buffer with trivial messages.
9156
17e5c0cc
SM
91572013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * progmodes/flymake.el (flymake-nop): Don't return a string.
9160 (flymake-set-at): Fix typo.
9161
9162 * simple.el (read--expression): New function, extracted from
9163 eval-expression. Set completion-at-point-functions (bug#14465).
9164 (eval-expression, eval-minibuffer): Use it.
9165
5d028165
XF
91662013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9167
9168 * progmodes/flymake.el (flymake-save-buffer-in-file)
9169 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9170 (flymake-selected-frame, flymake-log, flymake-ins-after)
9171 (flymake-set-at, flymake-get-buildfile-from-cache)
9172 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9173 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9174 Refine the doc string.
9175 (flymake-get-file-name-mode-and-masks): Reformat.
9176 (flymake-get-real-file-name-function): Fix a minor bug.
9177
7a1d7ba7
JL
91782013-05-24 Juri Linkov <juri@jurta.org>
9179
9180 * progmodes/grep.el (grep-mode-font-lock-keywords):
9181 Support =linenumber= format used by git-grep for lines with
9182 function names. (Bug#13549)
9183
650cff3d
SM
91842013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9185
9186 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9187 0 after a semi-colon; it works better for smie-auto-fill.
9188 (octave--indent-new-comment-line): New function.
9189 (octave-indent-new-comment-line): Use it (indirectly).
9190 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9191 modify comment-line-break-function.
9192
9193 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9194 (smie-setup): Use add-function to set it.
9195
9631677d
SS
91962013-05-24 Sam Steingold <sds@gnu.org>
9197
9198 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9199 argument (before the `interactive' argument).
9200
50105835
SM
92012013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9202
9203 * image-mode.el (image-mode-winprops): Add winprops to
9204 image-mode-winprops-alist before running
9205 image-mode-new-window-functions.
9206 * doc-view.el (doc-view-new-window-function): Don't delay
9207 doc-view-goto-page via timers (bug#14435).
9208
57b9823e
TH
92092013-05-24 Tassilo Horn <tsdh@gnu.org>
9210
9211 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9212 (doc-view-desktop-save-buffer): New function.
9213 (doc-view-restore-desktop-buffer): New function.
50105835
SM
9214 (desktop-buffer-mode-handlers):
9215 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
9216 handler.
9217 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9218 `desktop-save-buffer' function.
9219
91aafa16
MA
92202013-05-24 Michael Albinus <michael.albinus@gmx.de>
9221
9222 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9223 (tramp-gvfs-file-name-handler): Raise a user error when
9224 `tramp-gvfs-enabled' is nil.
9225 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9226 Do not raise a user error when loading package. (Bug#14447)
9227
ec076379
MA
9228 * net/xesam.el: Move to obsolete/.
9229
db785726
GM
92302013-05-24 Glenn Morris <rgm@gnu.org>
9231
af5c7606
GM
9232 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9233
e5d1916a
GM
9234 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9235
ded62b08
GM
9236 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9237 (Info-find-node, Man-getpage-in-background): Declare.
9238
9e614a3f
GM
9239 * mail/unrmail.el (unrmail):
9240 Replace obsolete detect-coding-with-priority.
9241
892f8ca3
GM
9242 * net/socks.el (socks-split-string): Use this rather than split-string.
9243 (socks-nslookup-host): Update for above change.
9244 (dynamic-choice, s5-dynamic-choice-match)
9245 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9246 Comment out unused code.
9247
3c291973
GM
9248 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9249 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9250 (gud-tooltip-echo-area): Make obsolete.
9251 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9252
43cc956b
GM
9253 * progmodes/js.el (js--optimize-arglist): Declare.
9254
dab49a3b
GM
9255 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9256
36b9d085
GM
9257 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9258 (ediff-window-C): Declare.
9259
e354ae76
GM
9260 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9261 Tweak requires to silence compiler.
9262
b8e57bf4
GM
9263 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9264 (he-search-string, he-tried-table, he-expand-list)
9265 (he-init-string, he-string-member, he-substitute-string)
9266 (he-reset-string): Declare.
9267
db785726
GM
9268 * obsolete/options.el (list-options): Use custom-variable-p,
9269 rather than obsolete alias.
9270
b3531901
SS
92712013-05-23 Sam Steingold <sds@gnu.org>
9272
9273 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 9274 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
9275 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9276
bdda4c66
SM
92772013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9278
9279 * emacs-lisp/smie.el (smie-indent-forward-token)
9280 (smie-indent-backward-token): Handle string tokens (bug#14381).
9281
c43d45f9
TH
92822013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9283
fe1eb856
RS
9284 * ielm.el (ielm-menu): New menu.
9285 (inferior-emacs-lisp-mode): Set comment-start.
96172128 9286
fe1eb856
RS
92872013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9288
9289 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9290 Fix deactivate action.
9291
9292 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9293 Add cleveref macros.
074dd971 9294
c43d45f9
TH
9295 * lisp/textmodes/reftex-parse.el
9296 (reftex-locate-bibliography-files): Accept options for
9297 bibliography commands.
9298 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9299 Add addbibresource. Basic Biblatex support.
9300
7764286e
MA
93012013-05-23 Michael Albinus <michael.albinus@gmx.de>
9302
9303 * net/tramp-gvfs.el (top):
9304 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9305 when loading package. (Bug#14447)
9306
d361bc10
GM
93072013-05-23 Glenn Morris <rgm@gnu.org>
9308
8fa23984
GM
9309 * progmodes/js.el: No need to load comint when compiling.
9310 (ring-insert, comint-send-string, comint-send-input)
9311 (comint-last-input-end, ido-chop): Declare.
9312
a5c7df1a
GM
9313 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9314 * vc/ediff-mult.el: Adjust requires.
9315 (ediff-directories-internal, ediff-directory-revisions-internal)
9316 (ediff-patch-file-internal): Declare.
9317 * vc/ediff-ptch.el: Adjust requires.
9318 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9319 (ediff-find-file): Autoload.
9320 * vc/ediff-util.el: No need to load ediff when compiling.
9321 (ediff-regions-internal): Declare.
9322 * vc/ediff-wind.el: Adjust requires.
9323 (ediff-compute-toolbar-width): Define when compiling.
9324 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9325 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9326 (dired-get-filename, dired-get-marked-files)
9327 (ediff-last-dir-patch, ediff-patch-default-directory)
9328 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9329 (ediff-patch-buffer-internal): Declare.
9330
e2aec513
GM
9331 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9332 (ispell-process, ispell-buffer-local-words, lm-summary)
9333 (lm-section-start, lm-section-end): Declare.
9334 (checkdoc-ispell-init): Simplify.
9335
e68bbd7c
GM
9336 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9337 (he-string-member, he-reset-string, he-substitute-string): Declare.
9338
7efe0991
GM
9339 * eshell/em-ls.el: Adjust requires.
9340 (eshell-glob-regexp): Declare.
f87b1284
GM
9341 * eshell/em-tramp.el: Adjust requires.
9342 (eshell-parse-command): Autoload.
9343 * eshell/em-xtra.el: Adjust requires.
9344 (eshell-parse-command): Autoload.
9345 * eshell/esh-ext.el: Adjust requires.
9346 (eshell-parse-command, eshell-close-handles): Autoload.
9347 * eshell/esh-io.el: Adjust requires.
9348 (eshell-output-filter): Autoload.
9349 * eshell/esh-util.el: No need to load tramp when compiling.
9350 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9351 Declare.
9352 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9353 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9354 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9355 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9356 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9357 * eshell/esh-opt.el, eshell/esh-proc.el:
9358 * eshell/esh-var.el: Adjust requires.
9359 * eshell/eshell.el: Do not require esh-util twice.
9360 (eshell-add-input-to-history): Declare.
9361 (eshell-command): Check history module is active before using it.
9362
d361bc10
GM
9363 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9364
85d090a9
LL
93652013-05-22 Leo Liu <sdl.web@gmail.com>
9366
9367 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9368
5d0acd9d
MA
93692013-05-22 Michael Albinus <michael.albinus@gmx.de>
9370
9371 * autorevert.el (auto-revert-notify-add-watch)
9372 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9373 it indicates changes in file modification time.
9374
0cdffd7d
GM
93752013-05-22 Glenn Morris <rgm@gnu.org>
9376
ca5995ec
GM
9377 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9378 Always delete the autoloaded function from the noruntime and
9379 unresolved functions lists.
9380
6450907e
GM
9381 * allout.el: No need to load epa, epg, overlay when compiling.
9382 (epg-context-set-passphrase-callback, epg-list-keys)
9383 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9384 (epg-key-user-id-list): Declare.
9385
9c6906f6
GM
9386 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9387 (viper-set-parsing-style-toggling-macro)
9388 (viper-set-emacs-state-searchstyle-macros):
9389 Use called-interactively-p on Emacs.
9390 (viper-looking-back): Make it an obsolete alias. Update callers.
9391 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9392 Use looking-back rather than viper-looking-back.
9393 (viper-tmp-insert-at-eob, viper-enlarge-region)
9394 (viper-read-string-with-history, viper-register-to-point)
9395 (viper-append-to-register, viper-change-state-to-vi)
9396 (viper-backward-char-carefully, viper-forward-char-carefully)
9397 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9398 (viper-change-state-to-emacs): Declare.
9399 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9400 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9401 * emulation/viper-mous.el: Do not load viper-cmd.
9402 (viper-backward-char-carefully, viper-forward-char-carefully)
9403 (viper-forward-word, viper-adjust-window): Declare.
9404
5f70c169
GM
9405 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9406
b1b7f300
GM
9407 * progmodes/idlw-help.el (idlwave-help-fontify):
9408 Use called-interactively-p.
9409
f6ebbb46
GM
9410 * term/w32console.el (w32-get-console-codepage)
9411 (w32-get-console-output-codepage): Declare.
9412
0cdffd7d
GM
9413 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9414 Remove unnecessary declarations.
9415 (dframe-message): Doc fix.
9416
9417 * info.el (dframe-select-attached-frame, dframe-current-frame):
9418 Declare.
9419
9420 * speedbar.el (speedbar-message): Make it an obsolete alias.
9421 Update all callers.
9422 (speedbar-with-attached-buffer)
9423 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9424 (speedbar-with-writable): Use backquote.
9425 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9426 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9427 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9428 rather than speedbar- aliases.
9429 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9430 (speedbar-make-specialized-keymap, speedbar-insert-button)
9431 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9432 (speedbar-do-function-pointer): Declare.
9433 (rmail-speedbar-button, rmail-speedbar-find-file)
9434 (rmail-speedbar-move-message):
9435 Use dframe-with-attached-buffer rather than speedbar- alias.
9436 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9437 (dframe-message, speedbar-make-specialized-keymap)
9438 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9439 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9440 (speedbar-insert-button, dframe-select-attached-frame)
9441 (dframe-maybee-jump-to-attached-frame)
9442 (speedbar-change-initial-expansion-list)
9443 (speedbar-previously-used-expansion-list-name): Declare.
9444 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9445 Use dframe-message, dframe-with-attached-buffer rather than
9446 speedbar- aliases.
9447 (gud-sentinel): Silence compiler.
9448 * progmodes/vhdl-mode.el (speedbar-refresh)
9449 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9450 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9451 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9452 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9453 (speedbar-file-lists, speedbar-make-tag-line)
9454 (speedbar-line-directory, speedbar-goto-this-file)
9455 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9456 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9457 (speedbar-make-button, speedbar-reset-scanners)
9458 (speedbar-files-item-info, speedbar-line-text)
9459 (speedbar-find-file-in-frame, speedbar-set-timer)
9460 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9461 (speedbar-with-writable): Do not (re)define it.
9462 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9463 rather than speedbar- alias.
9464
ee44b62a
LL
94652013-05-21 Leo Liu <sdl.web@gmail.com>
9466
9467 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9468 menu items.
9469 (octave-mode): Tweak fill-nobreak-predicate.
9470 (inferior-octave-startup): Check process to avoid infinite loop.
9471 (inferior-octave): Pop to buffer first to show abornmal process
9472 exit information.
9473
640f050f
GM
94742013-05-21 Glenn Morris <rgm@gnu.org>
9475
79458038
GM
9476 * printing.el (pr-menu-bar): Define when compiling.
9477
9cc3e83f
LL
94782013-05-21 Leo Liu <sdl.web@gmail.com>
9479
9480 * progmodes/octave.el (octave-auto-fill): Remove.
9481 (octave-indent-new-comment-line): Improve.
9482 (octave-mode): Use auto fill mode through
4f405069 9483 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 9484 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 9485 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
9486 (octave-help): Show parent directory.
9487
f440830d
GM
94882013-05-21 Glenn Morris <rgm@gnu.org>
9489
9490 * files.el (dired-unmark):
9491 * progmodes/gud.el (gdb-input): Update declarations.
9492
9493 * calculator.el (electric, ehelp): No need to load when compiling.
9494 (Electric-command-loop, electric-describe-mode): Declare.
9495
9496 * doc-view.el (doc-view-current-converter-processes): Move before use.
9497
9498 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9499 Move MODE-set-explicitly definition before use.
9500
9501 * international/mule-diag.el (mule-diag):
9502 Don't use obsolete window-system-version.
9503
9504 * mail/feedmail.el (smtpmail): No need to load when compiling.
9505 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9506
9507 * mail/mail-utils.el (rfc822): No need to load when compiling.
9508 (rfc822-addresses): Autoload it.
9509 (mail-strip-quoted-names): Trivial simplification.
9510
9511 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9512 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9513
9514 * net/snmp-mode.el (tempo): Don't duplicate requires.
9515
9516 * progmodes/prolog.el (info): No need to load when compiling.
9517 (comint): Require before shell requires it.
9518 (Info-goto-node): Autoload it.
9519 (Info-follow-nearest-node): Declare.
9520 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9521
9522 * textmodes/artist.el (picture-mode-exit): Declare.
9523
9524 * textmodes/reftex-parse.el (reftex-parse-from-file):
9525 Trivial rewrite so the compiler can parse it better.
9526
b4da2cbb
LL
95272013-05-20 Leo Liu <sdl.web@gmail.com>
9528
9529 * progmodes/octave.el (octave-help-mode-map)
9530 (octave-help-mode-finish-hook): New variables.
9531 (octave-help-mode, octave-help-mode-finish): New functions.
9532 (octave-help): Use octave-help-mode.
9533
33c0f65b
GM
95342013-05-20 Glenn Morris <rgm@gnu.org>
9535
9536 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9537
1a0a0a8a
DG
95382013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9539
9540 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9541 start at point, so that expansion starting right after opening
9542 slash in a regexp is recognized.
9543 (ruby-syntax-before-regexp-re): New defvar, extracted from
9544 ruby-syntax-propertize-function. Since the value of this regexp
9545 is looked up at runtime now, we should be able to turn
9546 `ruby-syntax-methods-before-regexp' into a defcustom later.
9547 (ruby-syntax-propertize-function): Split regexp matching into two
9548 parts, for opening and closing slashes. That allows us to skip
9549 over string interpolations and support multiline regexps.
9550 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9551 for them, which calls `ruby-syntax-propertize-expansion'.
9552 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9553 call to `ruby-syntax-propertize-function'.
9554 (ruby-syntax-propertize-expansion): Extracted from
9555 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
9556 (ruby-syntax-propertize-percent-literal): Leave point right after
9557 the percent symbol, so that the expression expansion rule can
9558 propertize the contents.
462388b6
DG
9559 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9560 heredoc openers.
9561 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 9562
c1a6c0a4
JL
95632013-05-18 Juri Linkov <juri@jurta.org>
9564
9565 * man.el (Man-default-man-entry): Remove `-' from the end
9566 of the default value. (Bug#14400)
9567
8051fccd
GM
95682013-05-18 Glenn Morris <rgm@gnu.org>
9569
9570 * comint.el (comint-password-prompt-regexp):
9571 Allow "password for XXX" where XXX contains colons (eg https://...).
9572
5e80b74f
LL
95732013-05-18 Leo Liu <sdl.web@gmail.com>
9574
9575 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 9576 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
9577 (octave-source-directories): Don't check process.
9578 (octave-source-directories, octave-find-definition): Doc fix.
9579
521a54c5
GM
95802013-05-18 Glenn Morris <rgm@gnu.org>
9581
86a94b05
GM
9582 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9583 Remove backspace/delete bindings. (Bug#14392)
9584
521a54c5
GM
9585 * cus-dep.el (custom-make-dependencies): Sort the output.
9586 (custom-versions-load-alist): Convert comment to doc.
9587
42caeb89
LL
95882013-05-17 Leo Liu <sdl.web@gmail.com>
9589
9590 * newcomment.el (comment-search-backward): Stricter in finding
9591 comment start. (Bug#14303)
9592
9593 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9594 (octave-comment-start-skip): Properly anchored.
9595
e219dd97
LL
95962013-05-17 Leo Liu <sdl.web@gmail.com>
9597
fe1eb856
RS
9598 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9599 Clean up when turned off. (Bug#14395)
e219dd97
LL
9600 (smie--highlight-matching-block-overlay): No longer buffer-local.
9601 (smie-highlight-matching-block): Adjust.
9602
dc5dcb4b
PE
96032013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9604
9605 Doc string fix for "nanoseconds" (Bug#14406).
9606 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9607 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9608
1db165f0
JB
96092013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9610
9611 * calc/calc-units.el (math-extract-units): Preserve powers
9612 of units.
9613
c7a8fcac
LL
96142013-05-17 Leo Liu <sdl.web@gmail.com>
9615
9616 * subr.el (delete-consecutive-dups): New function.
9617 * ido.el (ido-set-matches-1): Use it.
9618 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9619 * ido.el (ido-remove-consecutive-dups): Remove.
9620
f678b18a
SM
96212013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9622
9623 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9624 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9625 regexp-opt's `words'.
9626
ebfe68e8
LL
96272013-05-16 Leo Liu <sdl.web@gmail.com>
9628
9629 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9630 (smie--highlight-matching-block-overlay)
9631 (smie--highlight-matching-block-lastpos)
9632 (smie--highlight-matching-block-timer): New variables.
9633 (smie-highlight-matching-block): New function.
9634 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9635 (smie-setup): Conditionally enable smie-blink-matching-open.
9636
bc8bc17d
WS
96372013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9638
9639 Sync with upstream verilog-mode r840.
9640 * progmodes/verilog-mode.el (verilog-mode-version)
9641 (verilog-mode-release-date): Update.
9642 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9643 (verilog-sig-tieoff): Fix string error on
9644 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9645 (verilog-read-decls): Fix parameters confusing
9646 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9647
df065a0b
EZ
96482013-05-16 Eli Zaretskii <eliz@gnu.org>
9649
9650 * subr.el (reveal-filename): New function.
9651
9652 * loadup.el: Compute Emacs executable versions on MS-Windows,
9653 where executables have the .exe extension. Add a hard link
9654 emacs-XX.YY.ZZ.exe on MS-Windows.
9655
9656 * Makefile.in (XARGS_LIMIT): New variable.
9657 (custom-deps, finder-data, autoloads)
9658 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9659 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9660 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9661 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9662
2d4bf34b
LL
96632013-05-16 Leo Liu <sdl.web@gmail.com>
9664
9665 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9666 (octave-mode-menu, octave-mode-map): Remove its uses.
9667
6b9c2d85
RZ
96682013-05-16 Reto Zimmermann <reto@gnu.org>
9669
9670 Sync with upstream vhdl mode v3.34.2.
9671 * progmodes/vhdl-mode.el: Use `push' throughout.
9672 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9673 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9674 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9675 (vhdl-actual-generic-name): New option to derive actual generic name.
9676 (vhdl-port-paste-signals): Replace formal by actual generics.
9677 (vhdl-beautify): New name for old group vhdl-align. Update users.
9678 (vhdl-beautify-options): New option.
9679 (vhdl-last-input-event): New compat alias. Use throughout.
9680 (vhdl-goto-line): Replace user level function `goto-line'.
9681 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9682 vhdl-fix-statement-buffer.
9683 (vhdl-create-mode-menu): Add some entries.
9684 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9685 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9686 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9687 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9688 to force statements on one line.
9689 (vhdl-remove-trailing-spaces-region):
9690 New, split from vhdl-remove-trailing-spaces.
9691 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9692 Respect vhdl-beautify-options.
9693 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9694 (vhdl-update-sensitivity-list): Not add with index if exists without.
9695 Not include array index with signal. Ignore keywords in comments.
9696 (vhdl-get-visible-signals): Regexp tweaks.
9697 (vhdl-template-component-inst): Handle empty library.
9698 (vhdl-template-type): Add template for 'enum' type.
9699 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9700 Use vhdl-replace-string.
9701 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9702 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9703 (vhdl-speedbar-initialize): Update for above name change.
9704 (vhdl-compose-wire-components): Fix in handling of constants.
9705 (vhdl-error-regexp-emacs-alist): New variable.
9706 (vhdl-error-regexp-add-emacs): New function;
9707 adds support for new compile.el (Emacs 22+)
9708 (vhdl-generate-makefile-1): Change target order for single lib. units.
9709 Allow use of absolute file names.
9710
9df4ec5e
LL
97112013-05-16 Leo Liu <sdl.web@gmail.com>
9712
9713 * simple.el (prog-indent-sexp): Indent enclosing defun.
9714
f5ba00a6
GM
97152013-05-15 Glenn Morris <rgm@gnu.org>
9716
ed8be7ff
GM
9717 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9718 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9719 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9720 (whitespace-highlight): Move to whitespace group.
9721
9722 * comint.el (comint-source):
9723 * pcmpl-linux.el (pcmpl-linux):
9724 * shell.el (shell-faces):
9725 * eshell/esh-opt.el (eshell-opt):
9726 * international/ccl.el (ccl): Remove empty custom groups.
9727
9728 * completion.el (dynamic-completion-mode):
9729 * jit-lock.el (jit-lock-debug-mode):
9730 * minibuffer.el (completion-in-region-mode):
9731 * type-break.el (type-break-mode-line-message-mode)
9732 (type-break-query-mode):
9733 * emulation/tpu-edt.el (tpu-edt-mode):
9734 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9735 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9736 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9737
9738 * term/xterm.el (xterm): Change parent group to terminals.
9739
9740 * master.el (master): Remove empty custom group.
9741 (master-mode): Remove unused :group argument.
9742 * textmodes/refill.el (refill): Remove empty custom group.
9743 (refill-mode): Remove unused :group argument.
9744
9745 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9746
82a7c41b
GM
9747 * cus-dep.el: Provide a feature.
9748 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
9749 Don't mistakenly ignore files whose basenames match a basename
9750 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 9751 Add a fallback method for getting :group.
f5ba00a6 9752
6d65486d
JL
97532013-05-15 Juri Linkov <juri@jurta.org>
9754
da547b32
JL
9755 * isearch.el (isearch-char-by-name): Rename from
9756 `isearch-insert-char-by-name'. Doc fix.
9757 (isearch-forward): Mention `isearch-char-by-name' in
9758 the docstring. (Bug#13348)
9759
6d65486d
JL
9760 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9761 `exit-minibuffer' instead of
9762 `isearch-nonincremental-exit-minibuffer'.
9763 (isearch-edit-string): Remove mention of
9764 `isearch-nonincremental-exit-minibuffer' from docstring.
9765 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9766 (isearch-forward-exit-minibuffer)
9767 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9768
c9990474
SM
97692013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9770
6e911150
SM
9771 * loadup.el: Just use unversioned DOC.
9772
c9990474
SM
9773 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9774 literals as extending to EOB.
9775 (nxml-last-fontify-end): Remove unused variable.
9776 (nxml-after-change1): Use with-silent-modifications.
9777 (nxml-extend-after-change-region): Simplify.
9778 (nxml-extend-after-change-region1): Remove function.
9779 (nxml-after-change1): Don't adjust for dependent regions.
9780 (nxml-fontify-matcher): Simplify.
9781 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9782 (xmltok-add-dependent): Remove function.
9783 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9784 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9785 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9786 unclosed <[[, <?, comment, and other literals as extending to EOB.
9787 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9788 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9789 Remove functions.
9790 (rng-do-some-validation-1): Don't mark dependent regions.
9791 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9792 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9793 (nxml-clear-dependent-regions): Remove functions.
9794 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9795 (nxml-ensure-scan-up-to-date):
9796 Don't clear&mark dependent regions.
9797
e3772e98
LL
97982013-05-15 Leo Liu <sdl.web@gmail.com>
9799
c9990474
SM
9800 * progmodes/octave.el (octave-goto-function-definition):
9801 Improve and fix callers.
e3772e98 9802
5ac2eb34
SM
98032013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9804
c46c57b0
SM
9805 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9806 the setter (bug#14387).
9807
5ac2eb34
SM
9808 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9809 surrounding group (bug#14402).
9810
180ed218
JL
98112013-05-14 Juri Linkov <juri@jurta.org>
9812
9813 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9814 (Bug#14390)
9815
0ac0fecb
GM
98162013-05-14 Glenn Morris <rgm@gnu.org>
9817
9818 * progmodes/f90.el (f90-imenu-generic-expression):
9819 Fix typo in 2013-05-08 change. (Bug#14402)
9820
2e78e6a7
JPG
98212013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9822
5ac2eb34
SM
9823 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9824 Remove signals for which replies are never received.
2e78e6a7 9825
53267cca
JPG
98262013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9827
9828 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9829 (gdb-handler-alist, gdb-handler-number): Remove variables.
9830 (gdb-handler-list): New variable.
9831 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9832 (gdb-pending-handler-p, gdb-handle-reply)
9833 (gdb-remove-all-pending-triggers): New functions.
9834 (gdb-discard-unordered-replies): New defcustom.
9835 (gdb-handler): New defstruct.
9836 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9837 instead of gdb-pending-triggers. Update docstring.
9838 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9839 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9840 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9841 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9842 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9843 (gdb-frame-handler): Pending triggers are now automatically managed.
9844 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9845 Remove argument.
9846 (gdb-input): Automatically handles pending triggers. Update docstring.
9847 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9848 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9849 Update comments.
9850 (gdb-done-or-error): Now use gdb-handle-reply.
9851
d04ce803
JPG
98522013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9853
9854 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9855 gdb-debug-log.
9856
0114073a
GM
98572013-05-14 Glenn Morris <rgm@gnu.org>
9858
9859 * subr.el (user-emacs-directory-warning): New option.
9860 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9861
4d25fd7e
LL
98622013-05-14 Leo Liu <sdl.web@gmail.com>
9863
9864 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9865 during redisplay.
9866 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
9867 (octave-font-lock-texinfo-comment): Fix invalid search bound
9868 error: wrong side of point.
4d25fd7e 9869
27c8b6eb
GM
98702013-05-14 Glenn Morris <rgm@gnu.org>
9871
61aaeb01
GM
9872 * progmodes/flymake.el (flymake-xml-program): New option.
9873 (flymake-xml-init): Use it.
9874
5bf90bc5
GM
9875 * term/xterm.el: Provide a feature.
9876
9877 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 9878
f4c7dfd2
GM
98792013-05-13 Glenn Morris <rgm@gnu.org>
9880
9881 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9882 Add compat aliases as a hack workaround. (Bug#14384)
9883
2aeb3a1d
LL
98842013-05-13 Leo Liu <sdl.web@gmail.com>
9885
b0e069c2
LL
9886 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9887 ###, and %!.
f5a9432f
LL
9888 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9889 C-M-q.
b0e069c2
LL
9890 (octave-comment-start-skip): Include %!.
9891 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 9892
30ea8374
LL
98932013-05-12 Leo Liu <sdl.web@gmail.com>
9894
9895 * progmodes/octave.el (inferior-octave-startup): Store the value
9896 of __octave_srcdir__ for octave-source-directories.
9897 (inferior-octave-check-process): New function refactored out of
9898 inferior-octave-send-list-and-digest.
9899 (octave-source-directories)
9900 (octave-find-definition-filename-function): New variables.
9901 (octave-source-directories)
9902 (octave-find-definition-default-filename): New functions.
9903 (octave-find-definition): Improve to find functions implemented in C++.
9904
472a3834
GM
99052013-05-12 Glenn Morris <rgm@gnu.org>
9906
9907 * calendar/diary-lib.el (diary-outlook-format-1):
9908 Don't include dayname in the output. (Bug#14349)
9909
3191b52f
GM
99102013-05-11 Glenn Morris <rgm@gnu.org>
9911
0060ac73
GM
9912 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9913
3191b52f
GM
9914 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9915 Treat cc-provide like provide.
9916
e065ba74
KR
99172013-05-11 Kevin Ryde <user42@zip.com.au>
9918
9919 * cus-dep.el (custom-make-dependencies):
9920 Use generated-autoload-load-name for the sake of files such
9921 such cedet/semantic/bovine/c.el, where the base file name
9922 is not in load-path. (Bug#5277)
9923
36f84c37
GM
99242013-05-11 Glenn Morris <rgm@gnu.org>
9925
9926 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9927 Provide features.
9928
c8730c3a
LL
99292013-05-11 Leo Liu <sdl.web@gmail.com>
9930
9931 * progmodes/octave.el (octave-indent-comment): Improve.
9932 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
9933 (octave-eldoc-function-signatures, octave-eldoc-function):
9934 New functions.
c8730c3a
LL
9935 (octave-mode, inferior-octave-mode): Add eldoc support.
9936
212e29f2
RS
99372013-05-11 Richard Stallman <rms@gnu.org>
9938
9939 * epa.el (epa-decrypt-file): Take output file name as argument
9940 and read it using `interactive'.
9941
083fe0d7
LL
99422013-05-11 Leo Liu <sdl.web@gmail.com>
9943
9944 * progmodes/octave.el (octave-beginning-of-line)
9945 (octave-end-of-line): Check before using up-list because it jumps
9946 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
9947 (octave-indent-comment): New function.
9948 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
9949 (octave-begin-keywords, octave-end-keywords)
9950 (octave-reserved-words, octave-smie-bnf-table)
9951 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 9952
8582e4c4
GM
99532013-05-11 Glenn Morris <rgm@gnu.org>
9954
f20def1f
GM
9955 * faces.el (internal-face-x-get-resource):
9956 * frame.el (ns-display-monitor-attributes-list):
d78abe37 9957 * calc/calc-aent.el (math-to-radians-2):
f20def1f 9958 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 9959 Fix declarations.
f20def1f 9960
445f95e2
GM
9961 * calc/calc-menu.el: Make it loadable in isolation.
9962
9963 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9964 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9965 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9966 (eudc-bbdb-query-internal): Require 'bbdb.
9967
99fb2756
GM
9968 * lpr.el (lpr-headers-switches):
9969 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9970
9971 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9972
0da7ad96
GM
9973 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9974
8582e4c4
GM
9975 * term.el (term-set-escape-char): Make it idempotent.
9976
f71c50d0
LL
99772013-05-10 Leo Liu <sdl.web@gmail.com>
9978
5ac2eb34
SM
9979 * progmodes/octave.el (inferior-octave-completion-table):
9980 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
9981 completion due to bug#11906.
9982 (octave-beginning-of-defun): Re-write to be more general.
9983
d5837773
GM
99842013-05-10 Glenn Morris <rgm@gnu.org>
9985
9986 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9987
027c0f75
SM
99882013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * comint.el (comint-redirect-send-command-to-process): Use :around
9991 rather than :override for comint-redirect-filter.
9992 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9993 Call it instead of comint-redirect-original-filter-function (which
9994 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9995
4465bfb4
JD
99962013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9997
9998 * frame.el (display-monitor-attributes-list): Add NS case.
9999 (ns-display-monitor-attributes-list): Declare.
10000
2d809ffa 100012013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10002
10003 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10004
e54eeb9b
GM
100052013-05-09 Glenn Morris <rgm@gnu.org>
10006
56cd351d
GM
10007 * international/fontset.el (vertical-centering-font-regexp):
10008 Set standard-value.
10009
d84b6108
GM
10010 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10011
a931698a
GM
10012 * bookmark.el (bookmark-search-delay):
10013 * cus-start.el (vertical-centering-font-regexp):
10014 * ps-mule.el (ps-mule-font-info-database-default):
10015 * ps-print.el (ps-default-fg, ps-default-bg):
10016 * type-break.el (type-break-good-break-interval):
10017 * whitespace.el (whitespace-indentation-regexp)
10018 (whitespace-space-after-tab-regexp):
10019 * emacs-lisp/testcover.el (testcover-1value-functions)
10020 (testcover-noreturn-functions, testcover-progn-functions)
10021 (testcover-prog1-functions):
10022 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10023 * eshell/em-glob.el (eshell-glob-translate-alist):
10024 * play/tetris.el (tetris-tty-colors):
10025 * progmodes/cpp.el (cpp-face-default-list):
10026 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10027 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10028 (idlwave-help-browser-generic-args):
10029 * progmodes/make-mode.el (makefile-special-targets-list):
10030 * progmodes/python.el (python-shell-virtualenv-path):
10031 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10032 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10033 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10034 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10035 * textmodes/reftex-vars.el (reftex-format-label-function):
10036 * textmodes/remember.el (remember-diary-file): Fix custom types.
10037
e54eeb9b
GM
10038 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10039 Add :version.
10040
455851dd
LL
100412013-05-09 Leo Liu <sdl.web@gmail.com>
10042
10043 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10044 Restore file completion. (Bug#14300)
455851dd
LL
10045 (inferior-octave-startup): Fix incorrect highlighting for the
10046 first prompt.
10047
a9e4425b
SM
100482013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10049
10050 * progmodes/ruby-mode.el: First cut at SMIE support.
10051 (ruby-use-smie): New var.
10052 (ruby-smie-grammar): New constant.
10053 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10054 (ruby-smie--forward-token, ruby-smie--backward-token)
10055 (ruby-smie-rules): New functions.
10056 (ruby-mode-variables): Setup SMIE if applicable.
10057
060ca408
EZ
100582013-05-08 Eli Zaretskii <eliz@gnu.org>
10059
10060 * simple.el (line-move-visual): Signal beginning/end of buffer
10061 only if vertical-motion moved less than it was requested. Avoids
10062 silly incorrect error messages when there are display strings with
10063 multiple newlines at EOL.
10064
1d5963cc
SM
100652013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10066
10067 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10068 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10069 (prolog-char-quote-workaround):
10070 * progmodes/cperl-mode.el (cperl-under-as-char):
10071 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10072 Mark as obsolete.
10073 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10074 their declaration.
10075 (vhdl-mode-syntax-table-init): Remove.
10076
c9990474
SM
10077 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10078 last change.
1d5963cc
SM
10079
10080 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10081 syntax for "_".
10082 (ld-script-font-lock-keywords):
10083 Change regexps to use things like \_< and \_>.
10084
10085 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10086 Change all regexps to use things like \_< and \_>.
10087
10088 * progmodes/autoconf.el (autoconf-definition-regexp)
10089 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10090 Handle a _ with symbol syntax.
10091 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10092
c9990474
SM
10093 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10094 Consolidate declaration.
1d5963cc
SM
10095 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10096 the declaration.
10097 (ada-create-syntax-table): Remove.
10098 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10099 already has the right syntax nowadays.
10100 (ada-goto-next-word): Don't change the syntax of "_".
10101
10102 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10103 with-wrapper-hook.
10104
72d3cfca
SS
101052013-05-08 Sam Steingold <sds@gnu.org>
10106
10107 * thingatpt.el (thing-at-point): Accept optional second argument
10108 NO-PROPERTIES to strip the text properties from the return value.
10109 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10110 to `thing-at-point' instead of stripping the properties ourselves.
10111 Also, when `thing-at-point' fails to find a url, prepend "http://"
10112 to the filename at point on the assumption that the user is
10113 pointing at something like gnu.org/gnu.
10114
5cb15713
JB
101152013-05-08 Juanma Barranquero <lekktu@gmail.com>
10116
10117 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10118 * faces.el (crm-separator):
10119 Silence byte-compiler.
10120
10121 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10122 (tool-bar-map): Remove unneeded defvars.
10123
ea78b95b
LL
101242013-05-08 Leo Liu <sdl.web@gmail.com>
10125
10126 Re-work a fix for bug#10994 based on Le Wang's patch.
10127 * ido.el (ido-remove-consecutive-dups): New helper.
10128 (ido-completing-read): Use it.
10129 (ido-chop): Revert fix for bug#10994.
10130
dc7466df
AS
101312013-05-08 Adam Spiers <emacs@adamspiers.org>
10132
10133 * cus-edit.el (custom-save-variables):
10134 Pretty-print long values. (Bug#14187)
10135
9ecf672a
GM
101362013-05-08 Glenn Morris <rgm@gnu.org>
10137
10138 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10139 (m4-mode-syntax-table): Init in the defvar.
10140 (m4-mode-abbrev-table): Let define-derived-mode define it.
10141
3f555be8
TT
101422013-05-08 Tom Tromey <tromey@redhat.com>
10143
10144 * progmodes/m4-mode.el (m4-mode-syntax-table):
10145 Do not treat "_" as word constituent. (Bug#14167)
10146
7cc8ae06
GM
101472013-05-07 Glenn Morris <rgm@gnu.org>
10148
4f58bc06
GM
10149 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10150 Remove explicit eshell-isearch-cancel-map.
10151
7cc8ae06
GM
10152 * progmodes/f90.el (f90-smart-end-names): New option.
10153 (f90-smart-end): Doc fix.
10154 (f90-end-block-optional-name): New constant.
10155 (f90-block-match): Respect f90-smart-end-names.
10156
ceb57e59
SM
101572013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10160 about implicit semi-colons (bug#14218).
10161
4e3f9230
YM
101622013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10163
10164 * frame.el (display-monitor-attributes-list)
10165 (frame-monitor-attributes): New functions.
10166
203a5572
LL
101672013-05-06 Leo Liu <sdl.web@gmail.com>
10168
10169 * progmodes/octave.el (octave-syntax-propertize-function): Change
10170 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10171 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10172 (octave-completion-at-point): Rename from
203a5572
LL
10173 octave-completion-at-point-function.
10174 (inferior-octave-directory-tracker): Robustify.
10175 (octave-text-functions): Remove and fix its uses. No such things
10176 any more.
10177
ee6cff99
SM
101782013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10179
10180 * emacs-lisp/trace.el (trace--display-buffer): New function.
10181 (trace-make-advice): Use it.
10182
32985194
JL
101832013-05-06 Juri Linkov <juri@jurta.org>
10184
10185 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10186 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10187 Doc fix.
10188 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10189 in the help string. (Bug#12985)
10190
a1c700de
KD
101912013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10192
10193 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10194
c67c0839
SM
101952013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10196
323885fd
SM
10197 * progmodes/perl-mode.el: Add support for here documents.
10198 (perl-syntax-propertize-function): Match here-doc markers.
10199 (perl-syntax-propertize-special-constructs): Find their end.
10200 (perl-imenu-generic-expression): Use [:alnum:].
10201
c67c0839
SM
10202 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10203 (advice--add-function): Refresh the advice if already present
10204 (bug#14317).
10205
d491e7a8
IA
102062013-05-06 Ivan Andrus <darthandrus@gmail.com>
10207
10208 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10209
ddf9925e
GM
102102013-05-06 Glenn Morris <rgm@gnu.org>
10211
7cc3af27
GM
10212 * w32-fns.el (w32-charset-info-alist): Declare.
10213
16e343d6
GM
10214 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10215 of its defcustom properties.
10216 (eshell-cmpl-initialize): No need to load pcomplete.
10217
7d889a47
GM
10218 * generic-x.el: No need to require comint when compiling.
10219
ddf9925e
GM
10220 * net/eudc-export.el: Make it loadable without bbdb.
10221 (top-level): Use require rather than load-library.
10222 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10223 (eudc-batch-export-records-to-bbdb)
10224 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10225 Require bbdb.
10226
1e2c18df
SM
102272013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10228
10229 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10230 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10231 some tweaks, instead.
10232
02502a5f
LL
102332013-05-05 Leo Liu <sdl.web@gmail.com>
10234
10235 * progmodes/octave.el (octave-font-lock-keywords)
10236 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10237 (inferior-octave-send-list-and-digest): Improve error message.
10238 (octave-mode, inferior-octave-mode): Use setq-local.
10239 (octave-help): Set info-lookup-mode.
10240
0dc04f42
RS
102412013-05-05 Richard Stallman <rms@gnu.org>
10242
6c54491c
RS
10243 * vc/compare-w.el (compare-windows-whitespace):
10244 Treat no-break space as whitespace.
10245
0dc04f42
RS
10246 * mail/rmailsum.el (rmail-summary-rmail-update):
10247 Detect empty summary and don't change selected message.
10248 (rmail-summary-goto-msg): Likewise.
10249
df8f35df
RS
10250 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10251 Doc fixes, rename args.
10252
5356e1a3
AM
102532013-05-05 Alan Mackenzie <acm@muc.de>
10254
10255 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10256
d44014cb
JL
102572013-05-05 Juri Linkov <juri@jurta.org>
10258
10259 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10260 to not add the length of the summary segment to the return value.
10261 (Bug#14125)
10262
c129b51f
LL
102632013-05-05 Leo Liu <sdl.web@gmail.com>
10264
10265 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10266 (inferior-octave-output-filter): Remove.
10267 (octave-send-region, inferior-octave-startup): Fix callers.
10268 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10269 (octave-binary-file-extensions): New user variable.
10270 (octave-find-definition): Confirm if opening binary files.
10271 (octave-help-file): Use octave-find-definition to get the binary
10272 confirmation.
10273 (octave-help): Adjust for octave-help-file change.
10274
aa7dab97
SM
102752013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10276
10277 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10278 Merge the two entries that handle function definitions.
10279 (pascal--syntax-propertize): New const.
10280 (pascal-mode): Use it. Use setq-local.
10281
fd3a9a6b
GM
102822013-05-04 Glenn Morris <rgm@gnu.org>
10283
10284 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10285 (diary-from-outlook): Respect diary-from-outlook-function.
10286
30c7e542
SM
102872013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10290 Move the declaration from C.
10291 (read-minibuffer, eval-minibuffer): Move from C.
10292 (completion-setup-function): Avoid minibuffer-completion-contents.
10293
b54f978b
LL
102942013-05-03 Leo Liu <sdl.web@gmail.com>
10295
10296 * progmodes/octave.el (octave-font-lock-keywords): Do not
10297 dehighlight 'end' in comments or strings.
30c7e542
SM
10298 (octave-completing-read, octave-goto-function-definition):
10299 New helpers.
d4d0f9b3
LL
10300 (octave-help-buffer): New user variable.
10301 (octave-help-file, octave-help-function): New button types.
10302 (octave-help): New command and bind it to C-h ;.
10303 (octave-find-definition): New command and bind it to M-.
d74a1581 10304 (user-error): Alias to error if not defined.
b54f978b 10305
27135018
LL
103062013-05-02 Leo Liu <sdl.web@gmail.com>
10307
10308 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10309 for \. (bug#14332)
10310 (octave-font-lock-keywords): Include [ and {.
10311
0d634d3a
LL
103122013-05-02 Leo Liu <sdl.web@gmail.com>
10313
10314 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10315 (inferior-octave): Remove calling comint-mode and return the buffer.
10316 (inferior-octave-startup): Cosmetic changes.
10317
b4c8295e
LL
103182013-05-02 Leo Liu <sdl.web@gmail.com>
10319
30c7e542
SM
10320 * progmodes/octave.el (octave-syntax-propertize-function):
10321 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 10322
f12ad6ec
GM
103232013-05-02 Glenn Morris <rgm@gnu.org>
10324
10325 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10326 * desktop.el (vc-dir-mode): Just autoload it here.
10327
30cac1e0
AM
103282013-05-02 Alan Mackenzie <acm@muc.de>
10329
10330 Eliminate variable c-standard-font-lock-fontify-region-function.
10331 * progmodes/cc-mode.el
10332 (c-standard-font-lock-fontify-region-function): Remove.
10333 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10334
d8ef28b1
LL
103352013-05-01 Leo Liu <sdl.web@gmail.com>
10336
2640d52e 10337 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 10338 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 10339 variables were removed from Octave in 2007.
d8ef28b1
LL
10340 (inferior-octave-startup): Fix uses.
10341 (comint-line-beginning-position): Remove compatibility code for
10342 emacs 21.
10343
ac63ec89
JL
103442013-05-01 Juri Linkov <juri@jurta.org>
10345
10346 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10347
9e9be37c
JL
103482013-05-01 Juri Linkov <juri@jurta.org>
10349
10350 * comint.el (comint-previous-matching-input): Don't print message
10351 "History item: %d" when `isearch-mode' is active.
10352 (comint-history-isearch-message): Print message "History item: %d"
10353 when `comint-input-ring-index' is not empty and this function is
10354 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10355
9b92c13b
LL
103562013-05-01 Leo Liu <sdl.web@gmail.com>
10357
10358 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10359 definitions. Use completion-at-point to insert keywords.
10360 (octave-abbrev-start): Remove.
10361 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10362
b12d33d7
LL
103632013-04-30 Leo Liu <sdl.web@gmail.com>
10364
10365 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10366 change.
10367
3d1c39fa
AM
103682013-04-30 Alan Mackenzie <acm@muc.de>
10369
10370 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
10371 * progmodes/cc-engine.el (c-back-over-member-initializers):
10372 new function.
3d1c39fa
AM
10373 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10374 (most) member init lists.
10375
5147fc17
RS
103762013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10377
10378 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10379 variable.
10380
5b78d7fc
LL
103812013-04-30 Leo Liu <sdl.web@gmail.com>
10382
10383 * progmodes/octave.el (octave-variables): Remove. No builtin
10384 variables any more. All converted to functions.
10385 (octave-font-lock-keywords, octave-completion-at-point-function):
10386 Fix uses.
10387 (octave-font-lock-texinfo-comment): New user variable.
10388 (octave-texinfo-font-lock-keywords): New variable for texinfo
10389 comment block.
10390 (octave-function-comment-block): New face.
10391 (octave-font-lock-texinfo-comment): New function.
10392 (octave-mode): Font lock texinfo comment block.
10393
38d8527b
LL
103942013-04-29 Leo Liu <sdl.web@gmail.com>
10395
10396 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10397 indexing expression.
10398 (octave-continuation-string): Do not use \.
10399 (inferior-octave-complete-impossible): Remove.
10400 (inferior-octave-completion-table)
10401 (inferior-octave-completion-at-point): Remove its uses.
10402 (inferior-octave-startup): completion_matches was introduced to
10403 Octave in 1996 so safe to assume it.
10404 (octave-function-file-comment): Improve to follow how Octave does it.
10405 (octave-update-function-file-comment): Tweak.
10406
2ec12cb0
LL
104072013-04-29 Leo Liu <sdl.web@gmail.com>
10408
10409 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10410 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10411 (octave-function-file-comment): Fix typo.
10412 (octave-sync-function-file-names): Use read-char-choice.
10413
6eaed048
JB
104142013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10415
10416 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10417 to t for the less important warnings.
10418
3ffa2d4f
DH
104192013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10420
10421 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10422
685c9501
GM
104232013-04-27 Glenn Morris <rgm@gnu.org>
10424
10425 * vc/log-view.el (log-view-current-entry):
10426 Treat "---" separator lines as part of the following rev. (Bug#14169)
10427
0208ede7
JL
104282013-04-27 Juri Linkov <juri@jurta.org>
10429
10430 * subr.el (read-number): Doc fix about using it by interactive
10431 code letter `n'. (Bug#14254)
10432
5db9dace
JL
104332013-04-27 Juri Linkov <juri@jurta.org>
10434
10435 * desktop.el (desktop-auto-save-timeout): New option.
10436 (desktop-file-checksum): New variable.
10437 (desktop-save): Add optional arg `auto-save' and don't auto-save
10438 if nothing changed.
10439 (desktop-auto-save-timer): New variable.
10440 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10441 (after-init-hook): Call `desktop-auto-save-set-timer'.
10442 Suggested by Reuben Thomas <rrt@sc3d.org> in
10443 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10444
b7260dd4
LL
104452013-04-27 Leo Liu <sdl.web@gmail.com>
10446
10447 * progmodes/octave.el (octave-function-file-p)
10448 (octave-skip-comment-forward, octave-function-file-comment)
10449 (octave-update-function-file-comment): New functions.
10450 (octave-mode-map): Bind C-c ; to
10451 octave-update-function-file-comment.
10452 (octave-mode-menu): Add octave-update-function-file-comment.
10453 (octave-mode, inferior-octave-mode): Fix doc-string.
10454 (octave-insert-defun): Conform to Octave's coding convention.
10455 (Bug#14285)
10456
10457 * files.el (basic-save-buffer): Don't let errors in
10458 before-save-hook prevent saving buffer.
10459
c46da669
RW
104602013-04-20 Roland Winkler <winkler@gnu.org>
10461
10462 * faces.el (read-face-name): Use completing-read if arg multiple
10463 is nil.
10464
a81ee1eb
IL
104652013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10466
10467 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
10468 displayed, move point to after the totals line.
10469 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
10470 for the details.
10471
4fac34ce
SM
104722013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10473
10474 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10475 Add current dir to the load-path.
10476 (package-generate-autoloads): Don't rely on
10477 autoload-ensure-default-file.
10478
f6bfc063
RT
104792013-04-26 Reuben Thomas <rrt@sc3d.org>
10480
d40ab5cf
BG
10481 * textmodes/remember.el (remember-store-in-files): Document that
10482 the file name format is passed to `format-time-string'.
f6bfc063 10483
e55d3b04
LL
104842013-04-26 Leo Liu <sdl.web@gmail.com>
10485
10486 * progmodes/octave.el (octave-sync-function-file-names): New function.
10487 (octave-mode): Use it in before-save-hook.
10488
e53052d3
SM
104892013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10490
140ef50c
SM
10491 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10492 (bug#14274).
10493
e53052d3
SM
10494 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10495 \n and comment, even if it's not an implicit ; (bug#14218).
10496
af80458d 104972013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
10498
10499 * subr.el (read-number): Once more use `read' rather than
10500 `string-to-number', to trap non-numeric input. (Bug#14254)
10501
af80458d 105022013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
10503
10504 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10505 Use `syntax-multiline' text property consistently instead of
8a621d53 10506 `font-lock-multiline'. (Bug#14237)
70203c2e 10507
e6ea1f6c
GM
105082013-04-26 Glenn Morris <rgm@gnu.org>
10509
10510 * emacs-lisp/shadow.el (list-load-path-shadows):
10511 No longer necessary to check for duplicate simple.el, since
10512 2012-07-07 change to init_lread to not include installation lisp
10513 directories in load-path when running uninstalled. (Bug#14270)
10514
070ccca4
LL
105152013-04-26 Leo Liu <sdl.web@gmail.com>
10516
10517 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10518 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 10519 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
10520 octave-in-string-or-comment-p.
10521 (octave-in-comment-p, octave-in-string-p)
10522 (octave-in-string-or-comment-p): Replace defsubst with defun.
10523
9d1c5fb6
PE
105242013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10525
10526 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10527
c034abda
BG
105282013-04-25 Bastien Guerry <bzg@gnu.org>
10529
10530 * textmodes/remember.el (remember-data-directory)
10531 (remember-directory-file-name-format): Fix custom types.
10532
584ea277
LL
105332013-04-25 Leo Liu <sdl.web@gmail.com>
10534
e53052d3
SM
10535 * progmodes/octave.el (octave-completion-at-point-function):
10536 Make use of inferior octave process.
584ea277
LL
10537 (octave-initialize-completions): Remove.
10538 (inferior-octave-completion-table): New function.
10539 (inferior-octave-completion-at-point): Use it.
10540 (octave-completion-alist): Remove.
10541
1693b06a
SM
105422013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10543
10544 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10545 (opascal-mode-syntax-table): New var.
10546 (opascal-literal-kind, opascal-is-literal-end)
10547 (opascal-literal-token-at): Rewrite.
10548 (opascal--literal-start-re, opascal-font-lock-keywords)
10549 (opascal--syntax-propertize): New constants.
10550 (opascal-font-lock-defaults): Adjust.
10551 (opascal-mode): Use them. Set comment-<foo> variables as well.
10552 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10553 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10554 (delphi-other-face, opascal-other-face): Remove face variables.
10555 (opascal-save-state): Remove macro.
10556 (opascal-fontifying-progress-step): Remove constant.
10557 (opascal--ignore-changes): Remove var.
10558 (opascal-set-token-property, opascal-parse-next-literal)
10559 (opascal-is-stable-literal, opascal-complete-literal)
10560 (opascal-is-literal-start, opascal-face-of)
10561 (opascal-parse-region, opascal-parse-region-until-stable)
10562 (opascal-fontify-region, opascal-after-change)
10563 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10564 (opascal-debug-parse-region, opascal-debug-parse-window)
10565 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10566 (opascal-debug-fontify-buffer): Remove.
10567 (opascal-debug-mode-map): Adjust accordingly.
10568
be64c05d
LL
105692013-04-25 Leo Liu <sdl.web@gmail.com>
10570
10571 Merge octave-mod.el and octave-inf.el into octave.el with some
10572 cleanups.
10573 * progmodes/octave.el: New file renamed from octave-mod.el.
10574 * progmodes/octave-inf.el: Merged into octave.el.
10575 * progmodes/octave-mod.el: Renamed to octave.el.
10576
d79d37bd
TH
105772013-04-25 Tassilo Horn <tsdh@gnu.org>
10578
10579 * textmodes/reftex-vars.el
10580 (reftex-label-ignored-macros-and-environments): New defcustom.
10581
10582 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10583
ced3fc5d
SM
105842013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10585
10586 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10587 (smie-indent-keyword): Improve the check to ensure that the next
10588 comment is really on the same line.
10589 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10590
10591 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10592 semi-colons if the line is not otherwise empty (bug#14218).
10593
1c141dad
GM
105942013-04-25 Glenn Morris <rgm@gnu.org>
10595
10596 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10597
5058062a
SM
105982013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * progmodes/opascal.el (opascal-set-token-property): Rename from
10601 opascal-set-text-properties and only set `token' (bug#14134).
10602 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10603 (opascal-literal-text-properties): Remove.
10604 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10605 Adjust callers.
10606
5db9dace 106072013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
10608
10609 * textmodes/remember.el (remember-handler-functions): Add an
10610 option for a new handler `remember-store-in-files'.
10611 (remember-data-directory, remember-directory-file-name-format):
10612 New options.
10613 (remember-store-in-files): New function to store remember notes
10614 as separate files within a directory.
10615
4391916c
MH
106162013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10617
10618 * progmodes/compile.el (compilation-next-error-function):
10619 Pass "formats" to compilation-find-file (bug#11777).
10620
bb7cdf58
GM
106212013-04-24 Glenn Morris <rgm@gnu.org>
10622
3b8fe752 10623 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
10624 * vc/vc-hg.el (vc-hg-print-log):
10625 * vc/vc-svn.el (vc-svn-print-log):
10626 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10627
bb7cdf58
GM
10628 * vc/vc-bzr.el (vc-bzr-print-log):
10629 * vc/vc-cvs.el (vc-cvs-print-log):
10630 * vc/vc-git.el (vc-git-print-log):
10631 * vc/vc-hg.el (vc-hg-print-log):
10632 * vc/vc-mtn.el (vc-mtn-print-log):
10633 * vc/vc-rcs.el (vc-rcs-print-log):
10634 * vc/vc-sccs.el (vc-sccs-print-log):
10635 * vc/vc-svn.el (vc-svn-print-log):
10636 * vc/vc.el (vc-print-log-internal): Doc fixes.
10637
b46a056e
GM
106382013-04-23 Glenn Morris <rgm@gnu.org>
10639
10640 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10641 Remove venerable code attempting to avoid substitute-command-keys.
10642
0aecf718
TH
106432013-04-23 Tassilo Horn <tsdh@gnu.org>
10644
4391916c
MH
10645 * textmodes/reftex-vars.el (reftex-label-regexps):
10646 Call `reftex-compile-variables' after changes to this variable.
0aecf718 10647
117f94cf
SM
106482013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10649
4391916c 10650 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
10651 Use lexical-binding.
10652 (jit-lock-force-redisplay): Use markers, check buffer's continued
10653 existence and beware narrowed buffers.
10654 (jit-lock-fontify-now): Adjust call accordingly.
10655
1d829c64
SM
106562013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10657
10658 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10659 to avoid misleading the user.
10660
72d548a9
LL
106612013-04-22 Leo Liu <sdl.web@gmail.com>
10662
10663 * info-look.el: Prefer latex2e.info. (Bug#14240)
10664
d0853629
MA
106652013-04-22 Michael Albinus <michael.albinus@gmx.de>
10666
10667 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10668
10669 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 10670 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
10671 (tramp-set-completion-function, tramp-parse-putty):
10672 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10673 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10674 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10675 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10676 (tramp-call-local-coding-command): Use `tramp-call-process'
10677 instead of `tramp-compat-call-process'.
10678
10679 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10680 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10681 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 10682 (tramp-find-inline-compress): Improve traces.
d0853629
MA
10683 (tramp-maybe-send-script): Check for Perl binary.
10684 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10685
38cc0210
DU
106862013-04-22 Daiki Ueno <ueno@gnu.org>
10687
10688 * epg.el (epg-context-pinentry-mode): New function.
10689 (epg-context-set-pinentry-mode): New function.
10690 (epg--start): Pass --pinentry-mode option to gpg command.
10691
cc641ee1
XF
106922013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10693
02d844b5 10694 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 10695 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 10696 `completion-at-point'. (Bug#13774)
5d4e5c31 10697
cc641ee1
XF
10698 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10699 default key binding for `describe-distribution' has been moved to
10700 `C-h C-o'. (Bug#13970)
10701
1b42ee43
GM
107022013-04-21 Glenn Morris <rgm@gnu.org>
10703
10704 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10705 Add doc strings.
10706 (vc-print-log): Clarify interactive prompt.
10707
a6d63d97
GM
107082013-04-20 Glenn Morris <rgm@gnu.org>
10709
10710 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10711 No longer include timestamp etc information.
10712
d7f5c16f
RW
107132013-04-20 Roland Winkler <winkler@gnu.org>
10714
10715 * faces.el (read-face-name): Bug fix, return just one face if arg
10716 multiple is nil. (Bug#14209)
10717
bcd7a0a4
SM
107182013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10719
10720 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10721 (remove-function): Autoload.
10722
10723 * comint.el (comint-redirect-original-filter-function): Remove.
10724 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
10725 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10726 (vc-cvs-annotate-command):
bcd7a0a4
SM
10727 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10728 * progmodes/prolog.el (prolog-consult-compile):
10729 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10730 Use add/remove-function instead.
10731 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10732 (gud-tooltip-process-output, gud-tooltip-tips):
10733 Use add/remove-function instead.
10734 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10735 (scheme-interaction-mode, exit-scheme-interaction-mode):
10736 Use add/remove-function instead.
10737
10738 * vc/vc-dispatcher.el: Use lexical-binding.
10739 (vc--process-sentinel): Rename from vc-process-sentinel.
10740 Change last arg to be the code to run. Don't use vc-previous-sentinel
10741 and vc-sentinel-commands any more.
10742 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10743 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10744
e36b2d20 107452013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 10746
bcd7a0a4 10747 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 10748 Handle function names with a single character. (Bug#14111)
4d3268ba 10749
781b4af6 107502013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
10751
10752 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10753 for subroutines defined in an eval (bug#14182).
10754
7d688336
TV
107552013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10756
10757 * bookmark.el (bookmark-completing-read): Improve handling of empty
10758 string (bug#14176).
10759
31dcede0
SM
107602013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10763
adc31213
FEG
107642013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10765
10766 New faster Imenu implementation (bug#14058).
10767 * progmodes/python.el:
10768 (python-imenu-prev-index-position):
10769 (python-imenu-format-item-label-function)
10770 (python-imenu-format-parent-item-label-function)
10771 (python-imenu-format-parent-item-jump-label-function):
10772 New vars.
10773 (python-imenu-format-item-label)
10774 (python-imenu-format-parent-item-label)
10775 (python-imenu-format-parent-item-jump-label)
10776 (python-imenu--put-parent, python-imenu--build-tree)
10777 (python-imenu-create-index, python-imenu-create-flat-index)
10778 (python-util-popn): New functions.
10779 (python-mode): Set imenu-create-index-function to
10780 python-imenu-create-index.
10781
cdca8255
SM
107822013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 * winner.el (winner-active-region): Use region-active-p, activate-mark
10785 and deactivate-mark (bug#14225).
10786
10787 * simple.el (deactivate-mark): Don't inline it.
10788
beb42340
MA
107892013-04-18 Michael Albinus <michael.albinus@gmx.de>
10790
10791 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10792
fc7f4d7e
TH
107932013-04-18 Tassilo Horn <tsdh@gnu.org>
10794
10795 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10796 file extensions from the archive-mode entry in order to prefer
10797 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10798
29f47822
LL
107992013-04-18 Leo Liu <sdl.web@gmail.com>
10800
10801 * bindings.el (help-event-list): Add ?\?.
10802
d36ed1c8
SM
108032013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * subr.el (with-wrapper-hook): Declare obsolete.
10806 * simple.el (filter-buffer-substring-function): New hook.
10807 (filter-buffer-substring): Use it.
10808 (filter-buffer-substring-functions): Mark obsolete.
10809 * minibuffer.el (completion-in-region-function): New hook.
10810 (completion-in-region): Use it.
10811 (completion-in-region-functions): Mark obsolete.
10812 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10813 * abbrev.el (abbrev-expand-function): New hook.
10814 (expand-abbrev): Use it.
10815 (abbrev-expand-functions): Mark obsolete.
10816 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10817 and :filter-return.
10818
04754d36
FEG
108192013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10820
10821 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10822 and do not care about match data.
10823
dd8791e9
SM
108242013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10827 completion tables when completing error conditions and
10828 `declare' arguments.
10829 (lisp-complete-symbol, field-complete): Mark as obsolete.
10830 (check-parens): Unmatched parens are user errors.
10831 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10832
ffe54a13
AM
108332013-04-17 Michal Nazarewicz <mina86@mina86.com>
10834
dd8791e9
SM
10835 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10836 command changed buffer (ie. `flyspell-pre-buffer' is not current
10837 buffer), which prevents making decisions based on invalid value of
10838 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10839 cause an error when `flyspell-pre-point' was nil after switching
10840 buffers.
10841 (flyspell-post-command-hook): No longer needs to change buffers when
10842 checking pre-word. While at it remove unnecessary progn.
ffe54a13 10843
ec7e39f2
AM
108442013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10845
10846 * textmodes/ispell.el (ispell-add-per-file-word-list):
10847 Fix `flyspell-correct-word-before-point' error when accepting
10848 words and `coment-padding' is an integer by using
10849 `comment-normalize-vars' (Bug #14214).
10850
083850a6
FEG
108512013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10852
10853 New defun movement commands.
10854 * progmodes/python.el (python-nav--syntactically)
10855 (python-nav--forward-defun, python-nav-backward-defun)
10856 (python-nav-forward-defun): New functions.
10857
619ed6e1
FEG
108582013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10859
10860 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10861 (python-syntax-context): Use named compiler-macro for backwards
10862 compatibility with Emacs 24.x.
10863
7a1beb6c
LL
108642013-04-17 Leo Liu <sdl.web@gmail.com>
10865
10866 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10867 octave-hide-process-buffer.
10868
2d3fa3e5
SM
108692013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10870
10871 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10872 (bug#14216).
10873
7ce5be54
JPG
108742013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10875
10876 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10877 Fix adjustment of offset when receiving incomplete responses from GDB
10878 (bug#14129).
10879
351edece
SM
108802013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10883 python-mode-abbrev-table.
10884 (python-skeleton-define): Adjust accordingly.
10885 (python-mode-abbrev-table): New table that inherits from it so that
10886 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10887
10888 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10889 (abbrev-symbol): Use it.
10890 (abbrev--before-point): Use it since we already handle inheritance.
10891
613f9481
LL
108922013-04-16 Leo Liu <sdl.web@gmail.com>
10893
10894 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10895 binding to info-lookup-symbol.
10896
51646b62
JB
108972013-04-16 Juanma Barranquero <lekktu@gmail.com>
10898
10899 * minibuffer.el (completion--twq-all):
10900 * term/ns-win.el (ns-initialize-window-system):
10901 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10902
efb3f01d
SM
109032013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10904
36c0a301
SM
10905 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10906 global bindings.
10907
efb3f01d
SM
10908 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10909
fb549d64
DG
109102013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10911
10912 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10913 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10914 to nil.
10915 (ruby-end-of-defun): Remove the unused arg, change the docstring
10916 to reflect that this function is only used as the value of
10917 `end-of-defun-function'.
10918 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10919 to reflect an earlier change that beginning/end-of-defun functions
10920 jump between methods in a class definition, as well as top-level
10921 functions.
10922
21e8fe2f
SM
109232013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10924
10925 * minibuffer.el (minibuffer-complete): Don't just scroll
10926 a *Completions* that's been iconified.
10927 (minibuffer-force-complete): Make sure repetitions do cycle when going
10928 through completion-in-region -> minibuffer-complete.
10929
20e527d0
AM
109302013-04-15 Alan Mackenzie <acm@muc.de>
10931
10932 Correct the placement of c-cpp-delimiters when there're #s not at
10933 col 0.
10934
10935 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10936 place a submatch around the #.
21e8fe2f
SM
10937 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10938 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
10939 on the #, not BOL.
10940
dabefae5
SM
109412013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10944 (advice--member-p): New arg `name'.
10945 (advice--add-function, advice-member-p): Use it (bug#14202).
10946
85c9ab64
AM
109472013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10948
10949 Reformulate java imenu-generic-expression.
10950 The old expression contained ill formed regexps.
10951
10952 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10953 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10954 (cc-imenu-java-method-arg-regexp): New defconsts.
10955 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 10956 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
10957 handling of spaces in the regexp.
10958
0f821d99
AM
109592013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10960
10961 * textmodes/ispell.el (ispell-command-loop): Remove
10962 flyspell highlight of a word when ispell accepts it (bug #14178).
10963
eb922adf
MA
109642013-04-15 Michael Albinus <michael.albinus@gmx.de>
10965
10966 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10967 uses code from the previous `ange-ftp-run-real-handler'.
10968 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10969 only in case that function exist. This is needed for proper
10970 unloading of Tramp.
10971
4d9a0979
TH
109722013-04-15 Tassilo Horn <tsdh@gnu.org>
10973
10974 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10975
10976 * textmodes/reftex.el (reftex-compile-variables): Use it.
10977
a829b0dc
SM
109782013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10979
91e8293c
SM
10980 * files.el (normal-mode): Only use default major-mode if no other mode
10981 was specified.
10982
830aed4d
SM
10983 * emacs-lisp/trace.el (trace-values): New function.
10984
a829b0dc
SM
10985 * files.el: Allow : in local variables (bug#14089).
10986 (hack-local-variable-regexp): New var.
10987 (hack-local-variables-prop-line, hack-local-variables): Use it.
10988
7ae9f0fb
RW
109892013-04-13 Roland Winkler <winkler@gnu.org>
10990
10991 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10992 data before it gets modified by bibtex-beginning-of-entry.
10993
6646e848
RW
109942013-04-13 Roland Winkler <winkler@gnu.org>
10995
10996 * textmodes/bibtex.el (bibtex-url): Doc fix.
10997
109982013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
10999
11000 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11001 does not visit a BibTeX file, exclude it from the list of buffers
11002 returned by bibtex-initialize.
11003
0aa3616e
SB
110042013-04-13 Stephen Berman <stephen.berman@gmx.net>
11005
11006 * window.el (split-window): Remove interactive form, since as a
11007 command this function is a special case of split-window-below.
11008 Correct doc string.
11009
011cddd6
RW
110102013-04-12 Roland Winkler <winkler@gnu.org>
11011
11012 * faces.el (read-face-name): Do not override value of arg default.
11013 Allow single faces and strings as default values. Remove those
11014 elements from return value that are not faces.
11015 (describe-face): Simplify.
11016 (face-at-point): New optional args thing and multiple so that this
11017 function can provide the same functionality previously provided by
11018 read-face-name.
11019 (make-face-bold, make-face-unbold, make-face-italic)
11020 (make-face-unitalic, make-face-bold-italic, invert-face)
11021 (modify-face, read-face-and-attribute): Use face-at-point.
11022
11023 * cus-edit.el (customize-face, customize-face-other-window)
11024 * cus-theme.el (custom-theme-add-face)
11025 * face-remap.el (buffer-face-set)
11026 * facemenu.el (facemenu-set-face): Use face-at-point.
11027
f24e0036
MA
110282013-04-12 Michael Albinus <michael.albinus@gmx.de>
11029
11030 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11031
da3cda2d
TH
110322013-04-10 Tassilo Horn <tsdh@gnu.org>
11033
11034 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11035 off leading { and trailing } from field values.
11036
15e54145
SM
110372013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11038
78ce603d
SM
11039 * emacs-lisp/timer.el (timer--check): New function.
11040 (timer--time, timer-set-function, timer-event-handler): Use it.
11041 (timer-set-idle-time): Simplify.
11042 (timer--activate): CSE.
11043 (timer-event-handler): Give more info in error message.
11044 (internal-timer-start-idle): New function, moved from C.
11045
15e54145
SM
11046 * mpc.el (mpc-proc): Add `restart' argument.
11047 (mpc-proc-cmd): Use it.
11048 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11049 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11050 less often.
11051
7144c627
MY
110522013-04-10 Masatake YAMATO <yamato@redhat.com>
11053
11054 * progmodes/sh-script.el: Implement `sh-mode' own
11055 `add-log-current-defun-function' (bug#14112).
11056 (sh-current-defun-name): New function.
11057 (sh-mode): Use the function.
11058
b39792eb
BG
110592013-04-09 Bastien Guerry <bzg@gnu.org>
11060
11061 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11062
8acdeb71
SM
110632013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11064
6fcdab68
SM
11065 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11066
8acdeb71
SM
11067 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11068 timer (bug#14156).
11069
e3e7b504
NF
110702013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11071
11072 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11073 declaration.
11074
201bb296
LL
110752013-04-07 Leo Liu <sdl.web@gmail.com>
11076
11077 * pcmpl-x.el: New file.
11078
ebb19708
DA
110792013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11080
11081 Do not set x-display-name until X connection is established.
11082 This is needed to prevent from weird situation described at
11083 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11084 * frame.el (make-frame): Set x-display-name after call to
11085 window system initialization function, not before.
11086 * term/x-win.el (x-initialize-window-system): Add optional
11087 display argument and use it.
11088 * term/w32-win.el (w32-initialize-window-system):
11089 * term/ns-win.el (ns-initialize-window-system):
11090 * term/pc-win.el (msdos-initialize-window-system):
11091 Add compatible optional display argument.
11092
33bb237a
EZ
110932013-04-06 Eli Zaretskii <eliz@gnu.org>
11094
11095 * files.el (normal-backup-enable-predicate): On MS-Windows and
11096 MS-DOS compare truenames of temporary-file-directory and of the
11097 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11098 don't fail comparison by compare-strings. Also, compare file
11099 names case-insensitively on MS-Windows and MS-DOS.
11100
134abf1f
SM
111012013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11102
11103 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11104 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11105
d695cb94
DG
111062013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11107
e3e7b504
NF
11108 * whitespace.el (whitespace-color-on, whitespace-color-off):
11109 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11110
f4ad7ea1 111112013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11112
11113 * ispell.el (ispell-set-spellchecker-params):
11114 Really set `ispell-args' for all equivs.
11115
632556e4
SM
111162013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11117
11118 * ido.el (ido-completions): Use extra elements of ido-decorations
11119 (bug#14143).
11120 (ido-decorations): Update docstring.
11121
2a417372
MA
111222013-04-05 Michael Albinus <michael.albinus@gmx.de>
11123
11124 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11125 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11126 nil during initialization, in order not to miss changes since the
11127 file was opened. (Bug#14140)
11128
fc164b0c
LL
111292013-04-05 Leo Liu <sdl.web@gmail.com>
11130
11131 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11132
0ccecc08
JB
111332013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11134
11135 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11136
51af1aa2
GM
111372013-04-04 Glenn Morris <rgm@gnu.org>
11138
11139 * electric.el (electric-pair-inhibit-predicate): Add :version.
11140
b208ebc6
SM
111412013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11144 when a package is required several times (bug#14082).
11145
f3d3eaf0
RW
111462013-04-04 Roland Winkler <winkler@gnu.org>
11147
11148 * faces.el (read-face-name): Behave as promised by the docstring.
11149 Assume that arg default is a list of faces.
11150 (describe-face): Call read-face-name with list of default faces.
11151
2575da50
TV
111522013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11153
11154 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11155 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11156 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11157 the header.
11158 (bookmark-exit-hook-internal): Save even if list is empty.
11159
397703b4
YH
111602013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11161
11162 * emacs-lisp/package.el (package-pinned-packages): New var.
11163 (package--add-to-archive-contents): Obey it (bug#14118).
11164
691e26ae
AM
111652013-04-03 Alan Mackenzie <acm@muc.de>
11166
8a621d53
JB
11167 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11168 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11169
11170 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11171 parameter `not-in-delimiter'. Handle being inside comment opener.
11172 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11173 character in case we're typing a '*' after a '/'.
11174 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11175 instead by passing the parameter to c-state-pp-to-literal.
11176
11177 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11178 for elt. 7 of a parse state.
11179
4b725a70
PE
111802013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11181
11182 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11183 * international/latin1-disp.el, international/mule-util.el:
11184 * language/cyril-util.el, language/european.el, language/ind-util.el:
11185 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11186 * language/tibetan.el, language/viet-util.el:
11187 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11188
15c579f0
SM
111892013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11190
11191 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11192 (electric-pair-post-self-insert-function): Use it.
11193 (electric-pair-default-inhibit): New function, extracted from
11194 electric-pair-post-self-insert-function.
11195
a77e2924
RW
111962013-03-31 Roland Winkler <winkler@gnu.org>
11197
11198 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11199
2bd8a4a8
SM
112002013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11201
11202 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11203
8d3655be 112042013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
11205
11206 Un-indent after "pass" and "return" statements (Bug#13888)
11207 * progmodes/python.el (python-indent-block-enders): New var.
11208 (python-indent-calculate-indentation): Use it.
11209
8d3655be 112102013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
11211
11212 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11213 defun. Defining it as defalias could introduce too eager
11214 byte-compiler optimization. (Bug#14030)
11215
8d3655be 112162013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
11217
11218 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11219
0b1619da
LL
112202013-03-30 Leo Liu <sdl.web@gmail.com>
11221
11222 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11223 (kmacro-execute-from-register): Pass the keyboard macro to
11224 kmacro-call-macro or repeating won't work correctly.
11225
0b938190
TZ
112262013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11227
11228 * progmodes/subword.el: Back to using `forward-symbol'.
11229
11230 * subr.el (forward-whitespace, forward-symbol)
11231 (forward-same-syntax): Move from thingatpt.el.
11232
35710234
LL
112332013-03-29 Leo Liu <sdl.web@gmail.com>
11234
11235 * kmacro.el (kmacro-to-register): New command.
11236 (kmacro-execute-from-register): New function.
11237 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11238
efc0bb73
SM
112392013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11240
11241 * mpc.el: Use defvar-local and setq-local.
11242 (mpc--proc-connect): Connection failures are not bugs.
11243 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11244 (mpc-volume-map): Bind to the up-events.
11245
75a2f981
TZ
112462013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11247
11248 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11249 instead of `forward-symbol'.
11250
17c781d1
SM
112512013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11252
11253 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11254 (edebug--recursive-edit): Use it.
11255 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11256 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11257
f67bfbcf
LL
112582013-03-28 Leo Liu <sdl.web@gmail.com>
11259
11260 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11261
b59f639d
EZ
112622013-03-27 Eli Zaretskii <eliz@gnu.org>
11263
11264 * facemenu.el (list-colors-callback): New defvar.
11265 (list-colors-redisplay): New function.
11266 (list-colors-display): Install list-colors-redisplay as the
11267 revert-buffer-function. (Bug#14063)
11268
f557c1b1
SM
112692013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11270
b1da2957
SM
11271 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11272 and suffixes don't overlap (bug#14061).
11273
f557c1b1
SM
11274 * case-table.el: Use lexical-binding.
11275 (case-table-get-table): New function.
11276 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11277
002668e1
TZ
112782013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11279
11280 * progmodes/subword.el: Add `superword-mode' to do word motion
11281 over symbol_words (parallels and leverages `subword-mode' which
11282 does word motion inside MixedCaseWords).
11283
73572c72
AG
112842013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11285
78b8f320 11286 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 11287 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 11288
69b2c07e
SM
112892013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11290
11291 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11292 Change return value to be a sexp. Delay `get-buffer' to after
11293 restoring the desktop (bug#13951).
11294
08bb5ee2
LL
112952013-03-26 Leo Liu <sdl.web@gmail.com>
11296
11297 * register.el: Move semantic tag handling back to
11298 cedet/semantic/senator.el. (Bug#14052)
11299
8d4c974e
SM
113002013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11303 into the prompt either (bug#13963).
11304
b234d92c
SM
113052013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11306
11307 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11308 part of "(error-foo)".
11309
ddfa3cb4
JL
113102013-03-24 Juri Linkov <juri@jurta.org>
11311
11312 * replace.el (list-matching-lines-prefix-face): New defcustom.
11313 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11314 `occur-engine' if `face-differs-from-default-p' returns t.
11315 (occur-engine): Add `,' inside backquote construct to evaluate
11316 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11317 Pass `prefix-face' to the functions `occur-context-lines' and
11318 `occur-engine-add-prefix'.
11319 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11320 `prefix-face' and propertize the prefix with `prefix-face'.
11321 (Bug#14017)
11322
7b0e2f85
LL
113232013-03-24 Leo Liu <sdl.web@gmail.com>
11324
11325 * nxml/rng-valid.el (rng-validate-while-idle)
11326 (rng-validate-quick-while-idle): Guard against deleted buffer.
11327 (Bug#13999)
11328
11329 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11330 is the last entry in kill-buffer-hook.
11331
11332 * files.el (kill-buffer-hook): Doc fix.
11333
b3082f49
DG
113342013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11335
b234d92c
SM
11336 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11337 Make it safe-local.
bde73d27 11338
b3082f49
DG
11339 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11340
a320a2db
LL
113412013-03-23 Leo Liu <sdl.web@gmail.com>
11342
7e74b0fb
LL
11343 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11344 Remove.
11345
11346 * nxml/rng-valid.el (rng-validate-mode)
11347 (rng-after-change-function, rng-do-some-validation):
11348 * nxml/rng-maint.el (rng-validate-buffer):
11349 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11350 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11351 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11352 (nxml-extend-after-change-region): Use with-silent-modifications.
11353
a320a2db
LL
11354 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11355 timer-idle-list.
11356
11357 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11358 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11359 timer-idle-list. (Bug#13999)
11360
e38e6780
JL
113612013-03-23 Juri Linkov <juri@jurta.org>
11362
11363 * info.el (info-index-match): New face.
11364 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11365 main pattern and add text properties with the new face to matches
11366 in index entries relative to the beginning of the index entry.
11367 (Bug#14015)
11368
e8cc7880
DE
113692013-03-21 Eric Ludlam <zappo@gnu.org>
11370
11371 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11372 Inhibit read only while inserting objects.
11373
9bb0d822
TZ
113742013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11375
11376 * progmodes/cfengine.el: Update docs to mention
11377 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11378 symbol motion. Remove "_" from the word syntax.
11379
aa703640
TZ
113802013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11381
11382 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11383 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11384
afff09d0
JL
113852013-03-20 Juri Linkov <juri@jurta.org>
11386
11387 * info.el (Info-next-reference-or-link)
11388 (Info-prev-reference-or-link): New functions.
11389 (Info-next-reference, Info-prev-reference): Use them.
11390 (Info-try-follow-nearest-node): Handle footnote navigation.
11391 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11392
9a1ff164
SM
113932013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11394
11395 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11396 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11397
2667d15d
PE
113982013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11399
11400 Suppress unnecessary non-ASCII chatter during build process.
11401 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11402 (batch-skkdic-convert): Suppress most of the chatter.
11403 It's not needed so much now that machines are faster,
11404 and its non-ASCII component was confusing; see Dmitry Gutov in
11405 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11406
438b0579
LL
114072013-03-20 Leo Liu <sdl.web@gmail.com>
11408
11409 * ido.el (ido-chop): Fix bug#10994.
11410
c128ab07
DG
114112013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11412
11413 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11414 Remove vars.
9a1ff164
SM
11415 (whitespace-color-on, whitespace-color-off):
11416 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 11417
0e6008c5
SM
114182013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11419
11420 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11421 remapping in mode-line.
11422 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11423
627b52b0
DG
114242013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11425
11426 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11427 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
11428 (whitespace-font-lock-keywords): Change description.
11429 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11430 the constructed keywords instead.
11431 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 11432
50c3a20b
LL
114332013-03-19 Leo Liu <sdl.web@gmail.com>
11434
11435 * progmodes/compile.el (compilation-display-error): New command.
11436 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11437 C-o. (Bug#13992)
11438
2aa2157b
PE
114392013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11440
11441 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11442
e477dbfa
JD
114432013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11444
11445 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11446
64ab82d1
MA
114472013-03-18 Michael Albinus <michael.albinus@gmx.de>
11448
11449 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11450
11451 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11452 * net/tramp-gvfs.el (top):
11453 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11454 (tramp-handle-shell-command): Use it.
11455 (tramp-dissect-file-name): Raise an error when hostname is a
11456 method name, and neither method nor user is specified.
11457
11458 * net/trampver.el: Update release number.
11459
33cef733
LL
114602013-03-18 Leo Liu <sdl.web@gmail.com>
11461
11462 Make sure eldoc can be turned off properly.
11463 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11464 eldoc-mode.
11465 (eldoc-display-message-p): Revert last change.
11466 (eldoc-display-message-no-interference-p)
11467 (eldoc-print-current-symbol-info): Tweak.
11468
2167b7b2
TH
114692013-03-18 Tassilo Horn <tsdh@gnu.org>
11470
11471 * doc-view.el (doc-view-new-window-function): Check the new window
11472 overlay's display property instead the char property of the
11473 buffer's first char. Use `with-selected-window' instead of
11474 `save-window-excursion' with `select-window'.
11475 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 11476 display property instead the char property of the buffer's first char.
2167b7b2 11477
982efbcd
PE
114782013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11479
11480 Automate the build of ja-dic.el (Bug#13984).
11481 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11482 from the input, rather than assume that it's been done for us by the
11483 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11484 the current date into a ja-dic.el comment, as that complicates
11485 regression testing.
11486
2fcc7665
SM
114872013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11488
11489 * whitespace.el: Fix double evaluation.
11490 (whitespace-space, whitespace-hspace, whitespace-tab)
11491 (whitespace-newline, whitespace-trailing, whitespace-line)
11492 (whitespace-space-before-tab, whitespace-indentation)
11493 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11494 obsolete defvars.
11495 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11496 (whitespace-color-on): Use a single font-lock-add-keywords call.
11497 Fix double-evaluation of face variables.
11498
67c0a6e6
MA
114992013-03-17 Michael Albinus <michael.albinus@gmx.de>
11500
2fcc7665
SM
11501 * net/tramp-adb.el (tramp-adb-parse-device-names):
11502 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 11503 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 11504
69489f1d
LL
115052013-03-17 Leo Liu <sdl.web@gmail.com>
11506
11507 Extend eldoc to display info in the mode-line. (Bug#13978)
11508 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11509 (eldoc-mode-line-string): New variable.
11510 (eldoc-minibuffer-message): New function.
11511 (eldoc-message-function): New variable.
11512 (eldoc-message): Use it.
11513 (eldoc-display-message-p)
2fcc7665
SM
11514 (eldoc-display-message-no-interference-p):
11515 Support eldoc-post-insert-mode.
69489f1d
LL
11516
11517 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11518 (eval-expression): Run it.
11519
9c44569e
RW
115202013-03-17 Roland Winkler <winkler@gnu.org>
11521
11522 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11523 strings in the list of return values.
11524
327f1f6f
JB
115252013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11526
11527 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11528 radix before checking for HMS forms.
11529
67ed8fcd
LL
115302013-03-16 Leo Liu <sdl.web@gmail.com>
11531
11532 * progmodes/scheme.el: Add indentation and font-locking for λ.
11533 (Bug#13975)
11534
78be8b64 115352013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
11536
11537 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11538 token before point (bug#13942).
11539
78be8b64 115402013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 11541
95b43468 11542 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 11543
98e775e6
EZ
115442013-03-16 Eli Zaretskii <eliz@gnu.org>
11545
11546 * startup.el (command-line-normalize-file-name): Fix handling of
11547 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11548 <xfq.free@gmail.com> in
11549 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11550
2edd6029
MA
115512013-03-15 Michael Albinus <michael.albinus@gmx.de>
11552
11553 Sync with Tramp 2.2.7.
11554
11555 * net/trampver.el: Update release number.
11556
d35f5864
TH
115572013-03-14 Tassilo Horn <tsdh@gnu.org>
11558
e903c210 11559 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
11560 (doc-view-insert-image): Don't modify overlay associated to
11561 non-live windows, and implement horizontal centering of image in
11562 case it's smaller than the window.
11563 (doc-view-new-window-function): Force redisplay of new windows on
11564 doc-view buffers.
d35f5864 11565
1c4a85ed
KF
115662013-03-13 Karl Fogel <kfogel@red-bean.com>
11567
11568 * saveplace.el (save-place-alist-to-file): Don't sort
11569 `save-place-alist', just pretty-print it (bug#13882).
11570
85b66a21
MA
115712013-03-13 Michael Albinus <michael.albinus@gmx.de>
11572
a020afb9
JB
11573 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11574 Check whether `default-file-name-coding-system' is bound.
11575 It isn't in XEmacs.
85b66a21 11576
175600da
SM
115772013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11578
e7f7cb1a
SM
11579 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11580 backquotes for `obsolete' (bug#13929).
11581
175600da
SM
11582 * international/mule.el (find-auto-coding): Include file name in
11583 obsolescence warning (bug#13922).
11584
ca68a22e
TZ
115852013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11586
11587 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11588 for CFEngine 3-specific indentation.
11589 (cfengine3-indent-line): Use it. Fix up category regex.
11590 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11591
940e5099
SM
115922013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11593
11594 * type-break.el (type-break-file-name):
11595 * textmodes/remember.el (remember-data-file):
11596 * strokes.el (strokes-file):
11597 * shadowfile.el (shadow-initialize):
11598 * saveplace.el (save-place-file):
11599 * ps-bdf.el (bdf-cache-file):
11600 * progmodes/idlwave.el (idlwave-config-directory):
11601 * net/quickurl.el (quickurl-url-file):
11602 * international/kkc.el (kkc-init-file-name):
11603 * ido.el (ido-save-directory-list-file):
11604 * emulation/viper.el (viper-custom-file-name):
11605 * emulation/vip.el (vip-startup-file):
11606 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11607 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11608
cc725808
PE
116092013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11610
11611 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11612 * language/thai-word.el: Switch to UTF-8.
11613
a020afb9 11614See ChangeLog.16 for earlier changes.
e3d51b27
MR
11615
11616;; Local Variables:
11617;; coding: utf-8
e3d51b27
MR
11618;; End:
11619
ab422c4d 11620 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
11621
11622 This file is part of GNU Emacs.
11623
11624 GNU Emacs is free software: you can redistribute it and/or modify
11625 it under the terms of the GNU General Public License as published by
11626 the Free Software Foundation, either version 3 of the License, or
11627 (at your option) any later version.
11628
11629 GNU Emacs is distributed in the hope that it will be useful,
11630 but WITHOUT ANY WARRANTY; without even the implied warranty of
11631 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11632 GNU General Public License for more details.
11633
11634 You should have received a copy of the GNU General Public License
11635 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.